pysnmp-mibs-0.1.3/0000755000014400001440000000000011745076351014113 5ustar ilyausers00000000000000pysnmp-mibs-0.1.3/PKG-INFO0000644000014400001440000000157311745076351015216 0ustar ilyausers00000000000000Metadata-Version: 1.0 Name: pysnmp-mibs Version: 0.1.3 Summary: A collection of IETF & IANA MIBs pre-compiled for PySNMP Home-page: http://sourceforge.net/projects/pysnmp/ Author: Ilya Etingof Author-email: ilya@glas.net License: BSD Description: UNKNOWN Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Information Technology Classifier: Intended Audience :: Telecommunications Industry Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Communications Classifier: Topic :: System :: Monitoring Classifier: Topic :: System :: Networking :: Monitoring Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: License :: OSI Approved :: BSD License pysnmp-mibs-0.1.3/tools/0000755000014400001440000000000011745076351015253 5ustar ilyausers00000000000000pysnmp-mibs-0.1.3/tools/rebuild-pysnmp-mibs0000644000014400001440000000307411655211201021065 0ustar ilyausers00000000000000#!/bin/bash # # Re-build PySNMP MIB/managed objects from MIB text files. # See http://pysnmp.sf.net for more information. # build_pysnmp_mib=build-pysnmp-mib # part of pysnmp distro while getopts s:d: o do case "$o" in s) sourceDirs="$sourceDirs $OPTARG"; ;; d) destDir="$OPTARG";; [?]) echo >&2 "\ Re-build PySNMP MIB/managed objects from MIB text files, http://pysnmp.sf.net. Usage: $0 [ -s mib-text-dir ] -d pysnmp-mib-rebuild-dir\ " exit 1;; esac done shift $((OPTIND-1)) [ -z "$destDir" ] && { echo >&2 "Re-build directory not specified"; exit 1; } [ $# -gt 0 ] && { echo >&2 "Extra arguments given"; exit 1; } [ -z "$sourceDirs" ] && { sourceDirs="/usr/local/share/snmp /usr/local/share/mibs /usr/share/snmp /usr/share/mibs /usr/share/snmp/mibs /usr/local/share/mibs/iana"; } for m in $sourceDirs; do if [ -z "$SMIPATH" ] then SMIPATH="$m" else SMIPATH=$SMIPATH:$m fi done export SMIPATH for origFile in $destDir/*.py; do [ ! -f $origFile ] && { continue; } mibName=$(echo $origFile | sed -e 's/.*\/\(.*\)\.py/\1/g') || { echo >&2 "cant get MIB name from $origFile"; continue; } mibPath=$(find $sourceDirs -name "$mibName" -o -name "$mibName.txt" -o -name "$mibName.mib" 2>/dev/null | head -1) [ -z $mibPath ] && { echo >&2 "Missing MIB source for $origFile"; continue; } pyMibPath=$destDir/$mibName.py $build_pysnmp_mib -o $pyMibPath $mibPath || { echo >&2 "$build_pysnmp_mib failed"; exit 1; } echo "$mibPath --> $pyMibPath" done pysnmp-mibs-0.1.3/MANIFEST.in0000644000014400001440000000007111415434673015646 0ustar ilyausers00000000000000include CHANGES README LICENSE recursive-include tools * pysnmp-mibs-0.1.3/CHANGES0000644000014400001440000000347111745076313015111 0ustar ilyausers00000000000000Release 0.1.3 ------------- - MIB modules re-generated with the latest libsmi2pysnmp to get in-sync with the changed pysnmp core MIB set. - Explicit pyasn1 dependency now obsolete. Release 0.1.2 ------------- - Missing dependency fixed. Release 0.1.1 ------------- - MIB modules re-generated from text source with Python 3 and updated, Py3k-compliant, libsmi2pysnmp tool. - Some new MIBs added. Release 0.0.9a -------------- - Some more IETF MIBs added. Release 0.0.8a -------------- - API versioning mechanics retired (pysnmp_mibs.v4 -> pysnmp_mibs). - Attempt to use setuptools for package management whenever available. Release 0.0.7a -------------- - MIB modules re-generated from latest text source with improved slightly fixed libsmi2pysnmp tool. Release 0.0.6a -------------- - MIB modules re-generated from text source with improved smidump and libsmi2pysnmp tools. Python code now includes huge text fields from MIB text. Release 0.0.5a -------------- - UNSTABLE ALPHA RELEASE - MIB modules re-generated from text source with fixed libsmi2pysnmp tool (0.0.7a) Release 0.0.4a -------------- - UNSTABLE ALPHA RELEASE - tools/rebuild-pysnmp-mibs shell script implemented aimed at pysnmp MIB modules re-build automation - NET-SNMP-* MIBs added - MIB modules re-generated from text source with newer tools Release 0.0.3a -------------- - UNSTABLE ALPHA RELEASE - MIB modules re-generated from text source with newer tools - RFC1213-MIB moved to base MIBs in pysnmp package because smidump does not translate NetworkAddress of SMIv1 into SMIv2 properly. Release 0.0.2a -------------- - UNSTABLE ALPHA RELEASE - MIB modules re-generated from text source with newer tools - SMIv1 modules dropped Release 0.0.1a -------------- - UNSTABLE EARLY ALPHA RELEASE - Some IETF MIBs compiled into pysnmp SMI modules pysnmp-mibs-0.1.3/setup.py0000644000014400001440000000326111745076304015625 0ustar ilyausers00000000000000#!/usr/bin/env python import sys def howto_install_setuptools(): print("""Error: You need setuptools Python package! It's very easy to install it, just type (as root on Linux): wget http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py """) try: from setuptools import setup params = { 'install_requires': [ 'pysnmp>=4.2.2' ], 'zip_safe': True } except ImportError: for arg in sys.argv: if arg.find('egg') != -1: howto_install_setuptools() sys.exit(1) from distutils.core import setup params = {} if sys.version_info[:2] > (2, 4): params['requires'] = [ 'pysnmp(>=4.2.2)' ] params.update( { 'name': 'pysnmp-mibs', 'version': '0.1.3', 'description': 'A collection of IETF & IANA MIBs pre-compiled for PySNMP', 'author': 'Ilya Etingof', 'author_email': 'ilya@glas.net', 'url': 'http://sourceforge.net/projects/pysnmp/', 'classifiers': [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'Intended Audience :: Telecommunications Industry', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Topic :: Communications', 'Topic :: System :: Monitoring', 'Topic :: System :: Networking :: Monitoring', 'Topic :: Software Development :: Libraries :: Python Modules', 'License :: OSI Approved :: BSD License' ], 'license': 'BSD', 'packages': [ 'pysnmp_mibs' ], 'scripts': [ 'tools/rebuild-pysnmp-mibs' ] } ) setup(**params) pysnmp-mibs-0.1.3/pysnmp_mibs/0000755000014400001440000000000011745076351016453 5ustar ilyausers00000000000000pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-FABRIC-CONFIG-SERVER-MIB.py0000644000014400001440000015240611736645140023166 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-FABRIC-CONFIG-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:41 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcAddressIdOrZero, FcDomainIdOrZero, FcNameIdOrZero, FcPortType, fcmInstanceIndex, fcmSwitchIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcAddressIdOrZero", "FcDomainIdOrZero", "FcNameIdOrZero", "FcPortType", "fcmInstanceIndex", "fcmSwitchIndex") ( URLString, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "URLString") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TimeStamp", "TruthValue") ( t11FamLocalSwitchWwn, ) = mibBuilder.importSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn") ( T11NsGs4RejectReasonCode, ) = mibBuilder.importSymbols("T11-FC-NAME-SERVER-MIB", "T11NsGs4RejectReasonCode") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Types class T11FcIeType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,3,2,4,1,) namedValues = NamedValues(("unknown", 1), ("other", 2), ("switch", 3), ("hub", 4), ("bridge", 5), ) class T11FcListIndex(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class T11FcListIndexPointerOrZero(TextualConvention, Unsigned32): displayHint = "d" class T11FcPortState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(6,2,5,1,4,3,) namedValues = NamedValues(("unknown", 1), ("other", 2), ("online", 3), ("offline", 4), ("testing", 5), ("fault", 6), ) class T11FcPortTxType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(8,1,5,13,12,7,2,6,10,4,9,3,11,) namedValues = NamedValues(("unknown", 1), ("tenGbaseLx1300", 10), ("tenGbaseSw850", 11), ("tenGbaseLw1310", 12), ("tenGbaseEw1550", 13), ("other", 2), ("shortwave850nm", 3), ("longwave1550nm", 4), ("longwave1310nm", 5), ("electrical", 6), ("tenGbaseSr850", 7), ("tenGbaseLr1310", 8), ("tenGbaseEr1550", 9), ) class T11FcsRejectReasonExplanation(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(20,21,2,23,24,8,22,5,25,9,18,26,11,1,14,10,17,15,13,3,19,4,6,7,16,12,) namedValues = NamedValues(("noAdditionalExplanation", 1), ("ieInfoListNotAvailable", 10), ("portListNotAvailable", 11), ("portTypeNotAvailable", 12), ("phyPortNumNotAvailable", 13), ("attPortNameListNotAvailable", 14), ("portStateNotAvailable", 15), ("unableToRegIELogName", 16), ("platformNameNoExist", 17), ("platformNameAlreadyExists", 18), ("platformNodeNameNoExists", 19), ("invNameIdForIEOrPort", 2), ("platformNodeNameAlreadyExists", 20), ("resourceUnavailable", 21), ("noEntriesInLunMap", 22), ("invalidDeviceNameLength", 23), ("multipleAttributes", 24), ("invalidAttribBlockLength", 25), ("attributesMissing", 26), ("ieListNotAvailable", 3), ("ieTypeNotAvailable", 4), ("domainIdNotAvailable", 5), ("mgmtIdNotAvailable", 6), ("fabNameNotAvailable", 7), ("ielogNameNotAvailable", 8), ("mgmtAddrListNotAvailable", 9), ) # Objects t11FcFabricConfigServerMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 162)).setRevisions(("2007-06-27 00:00",)) if mibBuilder.loadTexts: t11FcFabricConfigServerMIB.setOrganization("For the initial versions, T11.\nFor later versions, the IETF's IMSS Working Group.") if mibBuilder.loadTexts: t11FcFabricConfigServerMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: cds@cisco.com\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: kzm@cisco.com") if mibBuilder.loadTexts: t11FcFabricConfigServerMIB.setDescription("The MIB module for the management of a Fabric\nConfiguration Server (FCS) in a Fibre Channel (FC)\nnetwork. An FCS is defined by the FC-GS-5 standard. This\n\n\n\nMIB provides the capabilities to trigger a discovery of\nthe configuration of one or more Fabrics, to retrieve the\nresults of such a discovery, as well as to control and\nmonitor the operation of an FCS. The discovered\nconfiguration contains information about:\n\n - Interconnect Elements (IEs), i.e., switches, hubs,\n bridges, etc.,\n - Ports on IEs, and\n - Platforms that consist of one or more FC nodes.\n\nCopyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4935; see the RFC itself for\nfull legal notices.") t11FcsNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 0)) t11FcsMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 1)) t11FcsDiscovery = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 1, 1)) t11FcsFabricDiscoveryTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 1, 1)) if mibBuilder.loadTexts: t11FcsFabricDiscoveryTable.setDescription("This table contains control information for discovery\nof Fabric configuration by switches.\n\nValues written to objects in this table are not\nretained over agent reboots.") t11FcsFabricDiscoveryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex")) if mibBuilder.loadTexts: t11FcsFabricDiscoveryEntry.setDescription("Control information for discovery by the switch\nidentified by fcmInstanceIndex and fcmSwitchIndex.") t11FcsFabricDiscoveryRangeLow = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 1, 1, 1, 1), T11FabricIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsFabricDiscoveryRangeLow.setDescription("The discovery by a particular switch operates\nwithin all existing Fabrics that have a Fabric\nIndex within a specific inclusive range. This\nobject specifies the minimum Fabric Index value\nwithin that range. This value just represents\nthe lower end of the range and does not necessarily\nrepresent any existing Fabric.") t11FcsFabricDiscoveryRangeHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 1, 1, 1, 2), T11FabricIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsFabricDiscoveryRangeHigh.setDescription("The discovery by a particular switch operates\nwithin all existing Fabrics that have a Fabric\n\n\n\nIndex within a specific inclusive range. This\nobject specifies the maximum Fabric Index value\nwithin that range. This value just represents the\nhigher end of the range and does not necessarily\nrepresent any existing Fabric.") t11FcsFabricDiscoveryStart = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("start", 1), ("noOp", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsFabricDiscoveryStart.setDescription("This object provides the capability to trigger the start\nof a discovery by a Fabric Configuration Server. If this\nobject is set to 'start', then the discovery is started on\nthose Fabrics that have their Fabric Index value in the\nrange specified by t11FcsFabricDiscoveryRangeLow and\nt11FcsFabricDiscoveryRangeHigh. It is recommended that\nwhenever an instance of this object is set to 'start',\nthat the desired range be specified at the same time by\nsetting the corresponding instances of\nt11FcsFabricDiscoveryRangeLow and\nt11FcsFabricDiscoveryRangeHigh.\n\nSetting this object to 'start' will be rejected if a\ndiscovery is already/still in progress on any Fabrics in\nthe specified range.\n\nNo action is taken if this object is set to 'noOp'.\nThe value of this object when read is always 'noOp'.") t11FcsFabricDiscoveryTimeOut = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(300, 86400)).clone(900)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsFabricDiscoveryTimeOut.setDescription("The minimum interval of time for which the discovered\nFabric information is cached by a Fabric Configuration\nServer.") t11FcsDiscoveryStateTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 1, 2)) if mibBuilder.loadTexts: t11FcsDiscoveryStateTable.setDescription("This table contains the status of discovery of\nlocally known Fabrics.") t11FcsDiscoveryStateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 1, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricIndex")) if mibBuilder.loadTexts: t11FcsDiscoveryStateEntry.setDescription("The discovery status for a particular Fabric on the\nswitch identified by fcmInstanceIndex and fcmSwitchIndex.") t11FcsFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 1, 2, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsFabricIndex.setDescription("A unique index value that uniquely identifies a\nparticular Fabric.\n\nIn a Fabric conformant to FC-SW-4, multiple Virtual Fabrics\ncan operate within one (or more) physical infrastructures,\nand this index value is used to uniquely identify a\nparticular (physical or virtual) Fabric within a physical\ninfrastructure.\n\nIn a Fabric conformant to versions earlier than FC-SW-4,\nonly a single Fabric could operate within a physical\ninfrastructure, and thus, the value of this Fabric Index\nwas defined to always be 1.") t11FcsDiscoveryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 1, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("inProgress", 1), ("completed", 2), ("localOnly", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsDiscoveryStatus.setDescription("The status of the discovery for the particular Fabric.\n\nInitially when the switch comes up, all instances of this\nobject have the value: 'localOnly', and the database\ncontains only local information, i.e., no information\ndiscovered via the Fabric Configuration Server protocol\nspecified in FC-GS-5.\n\nIf t11FcsFabricDiscoveryStart is set to 'start' for a\nrange of Fabrics that includes this Fabric, then the\nvalue of this object transitions to 'inProgress'. When\nthe discovery completes, this object transitions to\n'completed', and the data is cached for the minimum\ninterval of time specified by\nt11FcsFabricDiscoveryTimeOut. After this interval has\nbeen exceeded, the data may be lost, in which case, the\nvalue of this object changes to 'localOnly'.\n\nThis object cannot be set via SNMP to any value other\nthan 'localOnly'. If this object is set (via SNMP) to\n'localOnly', the cached data for the Fabric is discarded\nimmediately, and if a discovery initiated from this\nswitch was in progress for this Fabric, then that\ndiscovery is aborted.") t11FcsDiscoveryCompleteTime = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 1, 2, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsDiscoveryCompleteTime.setDescription("This object contains the value of sysUpTime at which\ndiscovery was most recently completed or aborted on this\nFabric. This object contains the value of zero before\nthe first discovery on this Fabric.") t11FcsDiscoveredConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 1, 2)) t11FcsIeTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 2, 1)) if mibBuilder.loadTexts: t11FcsIeTable.setDescription("A table of Interconnect Elements. Interconnect\nElements (IEs) are switches, hubs, bridges etc.\n\nBy default, the Fabric Configuration Server will\nmaintain detailed information pertaining only to\nlocal resources. As far as discovered topology is\nconcerned, only the IE name, type, and Domain ID\ninformation will be maintained. If a discovery\ncycle is triggered on a set of Fabrics, this table\nalong with the Port and Platform tables will be\npopulated with the discovered information. The\ndiscovered data will be retained in this table for\nat least t11FcsFabricDiscoveryTimeOut seconds after\nthe completion of its discovery or until the\ndiscovered data is invalidated.") t11FcsIeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeName")) if mibBuilder.loadTexts: t11FcsIeEntry.setDescription("Information about an Interconnect Element that was\ndiscovered on a Fabric (identified by t11FcsFabricIndex),\nby a switch (identified by fcmInstanceIndex and\nfcmSwitchIndex).") t11FcsIeName = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 1), FcNameIdOrZero().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsIeName.setDescription("The WWN of an Interconnect Element. This object\nuniquely identifies an Interconnect Element on a\nFabric. If the IE is a switch, then this object\nis the Switch_Name (WWN) of the switch.") t11FcsIeType = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 2), T11FcIeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsIeType.setDescription("The type of this Interconnect Element.") t11FcsIeDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 3), FcDomainIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsIeDomainId.setDescription("The Domain ID of this Interconnect Element.") t11FcsIeMgmtId = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 4), FcAddressIdOrZero().clone(hexValue='000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsIeMgmtId.setDescription("The management identifier of this Interconnect Element.\nIf the Interconnect Element is a switch, this object will\nbe the Domain Controller identifier of the switch. When\nthe value of the identifier is unknown, this object\ncontains the all-zeros value: x'00 00 00'.") t11FcsIeFabricName = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 5), FcNameIdOrZero().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),)).clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsIeFabricName.setDescription("The Fabric_Name (WWN) of this Interconnect Element.\nWhen the Fabric_Name is unknown, this object contains\nthe all-zeros value: x'00 00 00 00 00 00 00 00'.") t11FcsIeLogicalName = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsIeLogicalName.setDescription("The logical name of this Interconnect Element.\nWhen the logical name is unknown, this object contains\nthe zero-length string.") t11FcsIeMgmtAddrListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 7), T11FcListIndexPointerOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsIeMgmtAddrListIndex.setDescription("The management address list for this Interconnect Element.\nThis object points to an entry in the\nt11FcsMgmtAddrListTable.") t11FcsIeInfoList = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 252))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsIeInfoList.setDescription("The information list for this Interconnect Element.\n\nThe value of this object is formatted as specified in\nFC-GS-5, i.e., it has the following substrings in order:\nvendor name, model name/number, and release code/level,\nfollowed by zero or more substrings of vendor-specific\ninformation. Each substring is terminated with a byte\ncontaining a null value (x'00').") t11FcsMgmtAddrListTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 2, 2)) if mibBuilder.loadTexts: t11FcsMgmtAddrListTable.setDescription("This table contains the set of management address lists\nthat are currently referenced by any instance of the\nt11FcsIeMgmtAddrListIndex or\nt11FcsPlatformMgmtAddrListIndex objects.") t11FcsMgmtAddrListEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 2, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrListIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrIndex")) if mibBuilder.loadTexts: t11FcsMgmtAddrListEntry.setDescription("Information about one management address in a\nmanagement address list, which is known to a\nswitch (identified by fcmInstanceIndex and\nfcmSwitchIndex).") t11FcsMgmtAddrListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 2, 1, 1), T11FcListIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsMgmtAddrListIndex.setDescription("The index value of the management address list.") t11FcsMgmtAddrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsMgmtAddrIndex.setDescription("An integer value to distinguish different\nmanagement addresses in the same list.") t11FcsMgmtAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 2, 1, 3), URLString()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsMgmtAddr.setDescription("The management address of this entry.\n\nThe format of this object is a Uniform Resource\nLocator (URL), e.g., for SNMP, see RFC 4088.") t11FcsPortTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 2, 4)) if mibBuilder.loadTexts: t11FcsPortTable.setDescription("This table contains information about the ports of IEs.") t11FcsPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeName"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortName")) if mibBuilder.loadTexts: t11FcsPortEntry.setDescription("Information about a particular port of an Interconnect\nElement (identified by t11FcsIeName). The port is\nconnected to a Fabric (identified by t11FcsFabricIndex)\nand known to a switch (identified by fcmInstanceIndex\nand fcmSwitchIndex).") t11FcsPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 1), FcNameIdOrZero().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsPortName.setDescription("The Port_Name (WWN) of the port for which this row\ncontains information.") t11FcsPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 2), FcPortType()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortType.setDescription("The Port Type of this port.") t11FcsPortTxType = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 3), T11FcPortTxType()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortTxType.setDescription("The Port TX Type of this port.") t11FcsPortModuleType = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortModuleType.setDescription("The port module type of this port.") t11FcsPortPhyPortNum = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortPhyPortNum.setDescription("The physical number for this port. FC-GS-5 says that\nthe contents of this field, which are carried in a field\nwith a size of 4 bytes, are not to be restricted due to\nvendor-specific methods for numbering physical ports.") t11FcsPortAttachPortNameIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 6), T11FcListIndexPointerOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortAttachPortNameIndex.setDescription("The attached port name list for this port. This object\npoints to an entry in the t11FcsAttachPortNameListTable.") t11FcsPortState = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 7), T11FcPortState()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortState.setDescription("The state of this port.") t11FcsPortSpeedCapab = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortSpeedCapab.setDescription("The port speed capabilities of this port. The two octets\nof the value are formatted as described in FC-GS-5.") t11FcsPortOperSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortOperSpeed.setDescription("The operating speed of this port. The two octets\nof the value are formatted as described in FC-GS-5.") t11FcsPortZoningEnfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 4, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPortZoningEnfStatus.setDescription("The zoning enforcement status of this port. The 12\noctets of the value are formatted as described in FC-GS-5.") t11FcsAttachPortNameListTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 2, 5)) if mibBuilder.loadTexts: t11FcsAttachPortNameListTable.setDescription("This table contains all the lists of attach port\nnames.") t11FcsAttachPortNameListEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 2, 5, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsAttachPortNameListIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsAttachPortName")) if mibBuilder.loadTexts: t11FcsAttachPortNameListEntry.setDescription("Information about the name of a particular attached port,\nwhich is known to a switch (identified by fcmInstanceIndex\nand fcmSwitchIndex).") t11FcsAttachPortNameListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 5, 1, 1), T11FcListIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsAttachPortNameListIndex.setDescription("The index value of the attach port name list.") t11FcsAttachPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 5, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsAttachPortName.setDescription("The attached port name. Zero or more of these names\nmay be associated with a port object.\nThe first 8 bytes of this object contain the WWN of\nthe port followed by 2 reserved bytes. Following\nthis is one byte of Port flags and one byte of\nPort type, as described in FC-GS-5.") t11FcsPlatformTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 2, 6)) if mibBuilder.loadTexts: t11FcsPlatformTable.setDescription("This table contains information on platforms.\n\nBy default, this table only contains local (e.g., for a\nlocal switch) information. If a discovery is triggered,\nthis table will also contain information gathered by the\ndiscovery process. The discovered information is retained\nin this table for at least t11FcsFabricDiscoveryTimeOut\nseconds after the completion of its discovery or until\nthe discovered cache is invalidated.") t11FcsPlatformEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformIndex")) if mibBuilder.loadTexts: t11FcsPlatformEntry.setDescription("Information about a particular platform, which is\nknown to a switch (identified by fcmInstanceIndex and\nfcmSwitchIndex).\n\nA platform can contain multiple nodes. Information on\nnodes is contained in the t11FcsNodeNameListTable. The\nt11FcsPlatformNodeNameListIndex object in this table\n\n\n\npoints to the list of nodes contained in this platform.\nSimilarly, the t11FcsPlatformMgmtAddrListIndex object in\nthis table points to the list of management addresses\nassociated with this platform.") t11FcsPlatformIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsPlatformIndex.setDescription("An integer value to distinguish one platform from\nother platforms in the same Fabric.") t11FcsPlatformName = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformName.setDescription("The name of this platform. The last byte of the value\nindicates the format of the name (even if the name itself\nis the zero-length string) as specified in FC-GS-5.") t11FcsPlatformType = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformType.setDescription("The type(s) of this platform, encoded in 4 bytes as\nspecified in FC-GS-5.") t11FcsPlatformNodeNameListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 4), T11FcListIndexPointerOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformNodeNameListIndex.setDescription("The list of nodes for this platform. This object points\nto an entry in the t11FcsNodeNameListTable.") t11FcsPlatformMgmtAddrListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 5), T11FcListIndexPointerOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformMgmtAddrListIndex.setDescription("The list of management addresses for this platform. This\nobject points to an entry in the t11FcsMgmtAddrListTable.") t11FcsPlatformVendorId = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 6), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(12,12),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformVendorId.setDescription("The identifier of the vendor of this platform, in the\nformat specified in FC-GS-5.") t11FcsPlatformProductId = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 7), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformProductId.setDescription("The vendor's product and/or model identifier for this\nplatform, in the format specified in FC-GS-5.") t11FcsPlatformProductRevLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 8), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,32),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformProductRevLevel.setDescription("The product revision level for this platform, in the\nformat specified in FC-GS-5.") t11FcsPlatformDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 9), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,128),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformDescription.setDescription("The description of this platform, in the\nformat specified in FC-GS-5. This value should\ninclude the full name and version identification of the\nplatform's hardware type and software operating system.") t11FcsPlatformLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 10), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,64),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformLabel.setDescription("An administratively assigned symbolic name for the\nplatform, in the format specified in FC-GS-5.") t11FcsPlatformLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 11), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,128),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformLocation.setDescription("The physical location of the platform, in the format\nspecified in FC-GS-5 (e.g., 'telephone closet, 3rd floor').") t11FcsPlatformSystemID = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 12), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,64),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformSystemID.setDescription("An identifier for a hosting system that this platform is\nassociated with. This identifier is used to associate\nplatforms of logical types (e.g., logical partitions) with\na physical system.") t11FcsPlatformSysMgmtAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 13), T11FcListIndexPointerOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformSysMgmtAddr.setDescription("A list of management addresses for the platform.") t11FcsPlatformClusterId = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 14), SnmpAdminString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,64),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformClusterId.setDescription("An identifier for a cluster that this platform is\nassociated with, where a cluster is a set of independent\nplatforms that are managed together to provide increased\nperformance capabilities, failover, etc.") t11FcsPlatformClusterMgmtAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 15), T11FcListIndexPointerOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformClusterMgmtAddr.setDescription("A list of management addresses for the cluster identified\nin the corresponding instance of t11FcsPlatformClusterId.") t11FcsPlatformFC4Types = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 6, 1, 16), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(32,32),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsPlatformFC4Types.setDescription("The FC-4 types supported by this platform, formatted as\na bit mask as specified in FC-GS-5. If this object\ncontains the zero-length string, the types are unknown.") t11FcsNodeNameListTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 2, 7)) if mibBuilder.loadTexts: t11FcsNodeNameListTable.setDescription("This table contains all the lists of nodes.") t11FcsNodeNameListEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 2, 7, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsNodeNameListIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsNodeName")) if mibBuilder.loadTexts: t11FcsNodeNameListEntry.setDescription("Information about a node, which is known to a\n\n\n\nswitch (identified by fcmInstanceIndex and\nfcmSwitchIndex).") t11FcsNodeNameListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 7, 1, 1), T11FcListIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcsNodeNameListIndex.setDescription("The index value of the node name list.") t11FcsNodeName = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 2, 7, 1, 2), FcNameIdOrZero().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsNodeName.setDescription("The name of this node.") t11FcsStats = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 1, 3)) t11FcsStatsTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 3, 1)) if mibBuilder.loadTexts: t11FcsStatsTable.setDescription("This table contains all the statistics related\nto the Fabric Configuration Server.") t11FcsStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricIndex")) if mibBuilder.loadTexts: t11FcsStatsEntry.setDescription("A set of statistics for a particular Fabric (identified\nby t11FcsFabricIndex) on a switch (identified by\nfcmInstanceIndex and fcmSwitchIndex).") t11FcsInGetReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsInGetReqs.setDescription("The number of Get Requests received by the Fabric\nConfiguration Server on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcsOutGetReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsOutGetReqs.setDescription("The number of Get Requests sent by the Fabric\nConfiguration Server on this Fabric to other\nservers in the Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcsInRegReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsInRegReqs.setDescription("The number of Registration Requests received by the\nFabric Configuration Server on this Fabric.\n\n\n\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcsOutRegReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsOutRegReqs.setDescription("The number of Registration Requests sent by the\nFabric Configuration Server on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcsInDeregReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsInDeregReqs.setDescription("The number of Deregistration Requests received by\nthe Fabric Configuration Server on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcsOutDeregReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsOutDeregReqs.setDescription("The number of Deregistration Requests sent by\nthe Fabric Configuration Server on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcsRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsRejects.setDescription("The total number of requests rejected by the Fabric\nConfiguration Server on this Fabric.\n\n\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcsNotificationInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 1, 4)) t11FcsNotifyControlTable = MibTable((1, 3, 6, 1, 2, 1, 162, 1, 4, 1)) if mibBuilder.loadTexts: t11FcsNotifyControlTable.setDescription("A table of control information for notifications\ngenerated due to Fabric Configuration Server events.\n\nValues written to objects in this table should be\npersistent/retained over agent reboots.") t11FcsNotifyControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricIndex")) if mibBuilder.loadTexts: t11FcsNotifyControlEntry.setDescription("Each entry contains notification control information\nfor a Fabric Configuration Server on a particular Fabric\n(identified by t11FcsFabricIndex) on a particular\nswitch (identified by fcmInstanceIndex and\nfcmSwitchIndex).") t11FcsReqRejectNotifyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsReqRejectNotifyEnable.setDescription("This object specifies if the Fabric Configuration\nServer should generate 't11FcsRqRejectNotification'\nnotifications.\n\nIf the value of this object is 'true', then the\nnotification is issued. If the value of this object\nis 'false', then the notification is not issued.") t11FcsDiscoveryCompNotifyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsDiscoveryCompNotifyEnable.setDescription("This object specifies if the Fabric Configuration\nServer should generate 't11FcsDiscoveryCompleteNotify'\nnotifications.\n\nIf the value of this object is 'true', then the\nnotification is issued. If the value of this object\nis 'false', then the notification is not issued.") t11FcsMgmtAddrChangeNotifyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcsMgmtAddrChangeNotifyEnable.setDescription("This object specifies if the Fabric Configuration\nServer should generate 't11FcsMgmtAddrChangeNotify'\nnotifications.\n\nIf the value of this object is 'true', then the\nnotification is issued. If the value of this object\nis 'false', then the notification is not issued.") t11FcsRejectCtCommandString = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsRejectCtCommandString.setDescription("The binary content of the Fabric Configuration Server\n\n\n\nrequest, formatted as an octet string (in network byte\norder) containing the Common Transport Information Unit\n(CT_IU), as described in Table 2 of FC-GS-5 (including\nthe preamble), which was most recently rejected by the\nFabric Configuration Server for this Fabric.\n\nThis object contains the zero-length string if and when the\nCT-IU's content is unavailable.\n\nWhen the length of this object is 255 octets, it contains\nthe first 255 octets of the CT-IU (in network byte order).") t11FcsRejectRequestSource = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 5), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsRejectRequestSource.setDescription("The WWN that was the source of the CT_IU contained in\nthe corresponding instance of t11FcsRejectCtCommandString.") t11FcsRejectReasonCode = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 6), T11NsGs4RejectReasonCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsRejectReasonCode.setDescription("This object contains the reason code corresponding\nto the latest Fabric Configuration Server request\nrejected by the local system.") t11FcsRejectReasonCodeExp = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 7), T11FcsRejectReasonExplanation()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsRejectReasonCodeExp.setDescription("When the corresponding instance of\nt11FcsRejectReasonCode has the value: 'unable to\nperform command request', this object contains the\ncorresponding reason code explanation.") t11FcsRejectReasonVendorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 162, 1, 4, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcsRejectReasonVendorCode.setDescription("A registration reject vendor-specific code. This\nobject contains the vendor-specific code of the most\nrecently rejected Fabric Configuration Server\nRegistration request for the particular port on\nthe particular Fabric.") t11FcsMgmtAddrChangeFabricIndex = MibScalar((1, 3, 6, 1, 2, 1, 162, 1, 4, 2), T11FabricIndex()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: t11FcsMgmtAddrChangeFabricIndex.setDescription("The index value that identifies the Fabric on which\na management address change has been detected.") t11FcsMgmtAddrChangeIeName = MibScalar((1, 3, 6, 1, 2, 1, 162, 1, 4, 3), FcNameIdOrZero()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: t11FcsMgmtAddrChangeIeName.setDescription("The IE for which a management address change has been\ndetected.") t11FcsMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 2)) t11FcsMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 2, 1)) t11FcsMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 162, 2, 2)) # Augmentions # Notifications t11FcsRqRejectNotification = NotificationType((1, 3, 6, 1, 2, 1, 162, 0, 1)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectReasonCodeExp"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectReasonVendorCode"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectReasonCode"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ) ) if mibBuilder.loadTexts: t11FcsRqRejectNotification.setDescription("This notification is generated whenever the Fabric\nConfiguration Server on a switch (indicated by the\nvalue of t11FamLocalSwitchWwn) rejects a Fabric\nConfiguration Server request.\n\nThe Fabric Configuration Server should update the\nt11FcsRejectReasonCode, t11FcsRejectReasonCodeExp\nand t11FcsRejectReasonVendorCode objects with the\ncorresponding reason code, explanation and vendor\nspecific code before sending the notification.") t11FcsDiscoveryCompleteNotify = NotificationType((1, 3, 6, 1, 2, 1, 162, 0, 2)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricDiscoveryRangeLow"), ) ) if mibBuilder.loadTexts: t11FcsDiscoveryCompleteNotify.setDescription("This notification is generated by the Fabric\nConfiguration Server on the completion of the\ndiscovery of Fabrics in the range that has\nt11FcsFabricDiscoveryRangeLow at its low end.") t11FcsMgmtAddrChangeNotify = NotificationType((1, 3, 6, 1, 2, 1, 162, 0, 3)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrChangeIeName"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrChangeFabricIndex"), ) ) if mibBuilder.loadTexts: t11FcsMgmtAddrChangeNotify.setDescription("This notification is generated by the Fabric\nConfiguration Server whenever the management\naddress of an IE changes, i.e., whenever an\nentry in the t11FcsMgmtAddrListTable changes.") # Groups t11FcsDiscoveryControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 162, 2, 2, 1)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricDiscoveryStart"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricDiscoveryRangeHigh"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricDiscoveryRangeLow"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsFabricDiscoveryTimeOut"), ) ) if mibBuilder.loadTexts: t11FcsDiscoveryControlGroup.setDescription("A collection of objects for requesting a Fabric\nConfiguration Server to discover the configuration\nof one or more Fabrics.") t11FcsDiscoveryStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 162, 2, 2, 2)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsDiscoveryCompleteTime"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsDiscoveryStatus"), ) ) if mibBuilder.loadTexts: t11FcsDiscoveryStatusGroup.setDescription("A collection of objects with which to monitor the\nstatus of discovery (of Fabric configurations) by\nFabric Configuration Servers.") t11FcsDiscoveredConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 162, 2, 2, 3)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeInfoList"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeMgmtId"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeMgmtAddrListIndex"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformVendorId"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsAttachPortName"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformProductRevLevel"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformLocation"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformMgmtAddrListIndex"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortSpeedCapab"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsNodeName"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformType"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformClusterId"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortAttachPortNameIndex"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeLogicalName"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortState"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformFC4Types"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformLabel"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortType"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortModuleType"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddr"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformSysMgmtAddr"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformSystemID"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformName"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeDomainId"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeFabricName"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformProductId"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortTxType"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformClusterMgmtAddr"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortPhyPortNum"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformNodeNameListIndex"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsIeType"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortZoningEnfStatus"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPortOperSpeed"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsPlatformDescription"), ) ) if mibBuilder.loadTexts: t11FcsDiscoveredConfigGroup.setDescription("A collection of objects to contain the Fabric configuration\ninformation discovered by Fabric Configuration Servers.") t11FcsStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 162, 2, 2, 4)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsInDeregReqs"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsOutRegReqs"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsInGetReqs"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsOutDeregReqs"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsOutGetReqs"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejects"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsInRegReqs"), ) ) if mibBuilder.loadTexts: t11FcsStatisticsGroup.setDescription("A collection of objects for Fabric Configuration Server\nstatistics information.") t11FcsNotificationInfoGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 162, 2, 2, 5)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsDiscoveryCompNotifyEnable"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectRequestSource"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectReasonCode"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrChangeNotifyEnable"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectReasonCodeExp"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrChangeFabricIndex"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectReasonVendorCode"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrChangeIeName"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRejectCtCommandString"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsReqRejectNotifyEnable"), ) ) if mibBuilder.loadTexts: t11FcsNotificationInfoGroup.setDescription("A collection of notification control and notification\ninformation objects for monitoring Fabric\nConfiguration Servers.") t11FcsNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 162, 2, 2, 6)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsMgmtAddrChangeNotify"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsDiscoveryCompleteNotify"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsRqRejectNotification"), ) ) if mibBuilder.loadTexts: t11FcsNotificationGroup.setDescription("A collection of notifications for monitoring Fabric\nConfiguration Servers.") # Compliances t11FcsMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 162, 2, 1, 1)).setObjects(*(("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsNotificationGroup"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsDiscoveredConfigGroup"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsNotificationInfoGroup"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsDiscoveryControlGroup"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsDiscoveryStatusGroup"), ("T11-FC-FABRIC-CONFIG-SERVER-MIB", "t11FcsStatisticsGroup"), ) ) if mibBuilder.loadTexts: t11FcsMIBCompliance.setDescription("The compliance statement for entities that\nimplement the Fabric Configuration Server.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-FABRIC-CONFIG-SERVER-MIB", PYSNMP_MODULE_ID=t11FcFabricConfigServerMIB) # Types mibBuilder.exportSymbols("T11-FC-FABRIC-CONFIG-SERVER-MIB", T11FcIeType=T11FcIeType, T11FcListIndex=T11FcListIndex, T11FcListIndexPointerOrZero=T11FcListIndexPointerOrZero, T11FcPortState=T11FcPortState, T11FcPortTxType=T11FcPortTxType, T11FcsRejectReasonExplanation=T11FcsRejectReasonExplanation) # Objects mibBuilder.exportSymbols("T11-FC-FABRIC-CONFIG-SERVER-MIB", t11FcFabricConfigServerMIB=t11FcFabricConfigServerMIB, t11FcsNotifications=t11FcsNotifications, t11FcsMIBObjects=t11FcsMIBObjects, t11FcsDiscovery=t11FcsDiscovery, t11FcsFabricDiscoveryTable=t11FcsFabricDiscoveryTable, t11FcsFabricDiscoveryEntry=t11FcsFabricDiscoveryEntry, t11FcsFabricDiscoveryRangeLow=t11FcsFabricDiscoveryRangeLow, t11FcsFabricDiscoveryRangeHigh=t11FcsFabricDiscoveryRangeHigh, t11FcsFabricDiscoveryStart=t11FcsFabricDiscoveryStart, t11FcsFabricDiscoveryTimeOut=t11FcsFabricDiscoveryTimeOut, t11FcsDiscoveryStateTable=t11FcsDiscoveryStateTable, t11FcsDiscoveryStateEntry=t11FcsDiscoveryStateEntry, t11FcsFabricIndex=t11FcsFabricIndex, t11FcsDiscoveryStatus=t11FcsDiscoveryStatus, t11FcsDiscoveryCompleteTime=t11FcsDiscoveryCompleteTime, t11FcsDiscoveredConfig=t11FcsDiscoveredConfig, t11FcsIeTable=t11FcsIeTable, t11FcsIeEntry=t11FcsIeEntry, t11FcsIeName=t11FcsIeName, t11FcsIeType=t11FcsIeType, t11FcsIeDomainId=t11FcsIeDomainId, t11FcsIeMgmtId=t11FcsIeMgmtId, t11FcsIeFabricName=t11FcsIeFabricName, t11FcsIeLogicalName=t11FcsIeLogicalName, t11FcsIeMgmtAddrListIndex=t11FcsIeMgmtAddrListIndex, t11FcsIeInfoList=t11FcsIeInfoList, t11FcsMgmtAddrListTable=t11FcsMgmtAddrListTable, t11FcsMgmtAddrListEntry=t11FcsMgmtAddrListEntry, t11FcsMgmtAddrListIndex=t11FcsMgmtAddrListIndex, t11FcsMgmtAddrIndex=t11FcsMgmtAddrIndex, t11FcsMgmtAddr=t11FcsMgmtAddr, t11FcsPortTable=t11FcsPortTable, t11FcsPortEntry=t11FcsPortEntry, t11FcsPortName=t11FcsPortName, t11FcsPortType=t11FcsPortType, t11FcsPortTxType=t11FcsPortTxType, t11FcsPortModuleType=t11FcsPortModuleType, t11FcsPortPhyPortNum=t11FcsPortPhyPortNum, t11FcsPortAttachPortNameIndex=t11FcsPortAttachPortNameIndex, t11FcsPortState=t11FcsPortState, t11FcsPortSpeedCapab=t11FcsPortSpeedCapab, t11FcsPortOperSpeed=t11FcsPortOperSpeed, t11FcsPortZoningEnfStatus=t11FcsPortZoningEnfStatus, t11FcsAttachPortNameListTable=t11FcsAttachPortNameListTable, t11FcsAttachPortNameListEntry=t11FcsAttachPortNameListEntry, t11FcsAttachPortNameListIndex=t11FcsAttachPortNameListIndex, t11FcsAttachPortName=t11FcsAttachPortName, t11FcsPlatformTable=t11FcsPlatformTable, t11FcsPlatformEntry=t11FcsPlatformEntry, t11FcsPlatformIndex=t11FcsPlatformIndex, t11FcsPlatformName=t11FcsPlatformName, t11FcsPlatformType=t11FcsPlatformType, t11FcsPlatformNodeNameListIndex=t11FcsPlatformNodeNameListIndex, t11FcsPlatformMgmtAddrListIndex=t11FcsPlatformMgmtAddrListIndex, t11FcsPlatformVendorId=t11FcsPlatformVendorId, t11FcsPlatformProductId=t11FcsPlatformProductId, t11FcsPlatformProductRevLevel=t11FcsPlatformProductRevLevel, t11FcsPlatformDescription=t11FcsPlatformDescription, t11FcsPlatformLabel=t11FcsPlatformLabel, t11FcsPlatformLocation=t11FcsPlatformLocation, t11FcsPlatformSystemID=t11FcsPlatformSystemID, t11FcsPlatformSysMgmtAddr=t11FcsPlatformSysMgmtAddr, t11FcsPlatformClusterId=t11FcsPlatformClusterId, t11FcsPlatformClusterMgmtAddr=t11FcsPlatformClusterMgmtAddr, t11FcsPlatformFC4Types=t11FcsPlatformFC4Types, t11FcsNodeNameListTable=t11FcsNodeNameListTable, t11FcsNodeNameListEntry=t11FcsNodeNameListEntry, t11FcsNodeNameListIndex=t11FcsNodeNameListIndex, t11FcsNodeName=t11FcsNodeName, t11FcsStats=t11FcsStats, t11FcsStatsTable=t11FcsStatsTable, t11FcsStatsEntry=t11FcsStatsEntry, t11FcsInGetReqs=t11FcsInGetReqs, t11FcsOutGetReqs=t11FcsOutGetReqs, t11FcsInRegReqs=t11FcsInRegReqs, t11FcsOutRegReqs=t11FcsOutRegReqs, t11FcsInDeregReqs=t11FcsInDeregReqs, t11FcsOutDeregReqs=t11FcsOutDeregReqs, t11FcsRejects=t11FcsRejects, t11FcsNotificationInfo=t11FcsNotificationInfo, t11FcsNotifyControlTable=t11FcsNotifyControlTable, t11FcsNotifyControlEntry=t11FcsNotifyControlEntry, t11FcsReqRejectNotifyEnable=t11FcsReqRejectNotifyEnable, t11FcsDiscoveryCompNotifyEnable=t11FcsDiscoveryCompNotifyEnable, t11FcsMgmtAddrChangeNotifyEnable=t11FcsMgmtAddrChangeNotifyEnable, t11FcsRejectCtCommandString=t11FcsRejectCtCommandString, t11FcsRejectRequestSource=t11FcsRejectRequestSource, t11FcsRejectReasonCode=t11FcsRejectReasonCode, t11FcsRejectReasonCodeExp=t11FcsRejectReasonCodeExp, t11FcsRejectReasonVendorCode=t11FcsRejectReasonVendorCode, t11FcsMgmtAddrChangeFabricIndex=t11FcsMgmtAddrChangeFabricIndex, t11FcsMgmtAddrChangeIeName=t11FcsMgmtAddrChangeIeName, t11FcsMIBConformance=t11FcsMIBConformance, t11FcsMIBCompliances=t11FcsMIBCompliances, t11FcsMIBGroups=t11FcsMIBGroups) # Notifications mibBuilder.exportSymbols("T11-FC-FABRIC-CONFIG-SERVER-MIB", t11FcsRqRejectNotification=t11FcsRqRejectNotification, t11FcsDiscoveryCompleteNotify=t11FcsDiscoveryCompleteNotify, t11FcsMgmtAddrChangeNotify=t11FcsMgmtAddrChangeNotify) # Groups mibBuilder.exportSymbols("T11-FC-FABRIC-CONFIG-SERVER-MIB", t11FcsDiscoveryControlGroup=t11FcsDiscoveryControlGroup, t11FcsDiscoveryStatusGroup=t11FcsDiscoveryStatusGroup, t11FcsDiscoveredConfigGroup=t11FcsDiscoveredConfigGroup, t11FcsStatisticsGroup=t11FcsStatisticsGroup, t11FcsNotificationInfoGroup=t11FcsNotificationInfoGroup, t11FcsNotificationGroup=t11FcsNotificationGroup) # Compliances mibBuilder.exportSymbols("T11-FC-FABRIC-CONFIG-SERVER-MIB", t11FcsMIBCompliance=t11FcsMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DIFFSERV-MIB.py0000644000014400001440000030247511736645135020657 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DIFFSERV-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Dscp, DscpOrAny, ) = mibBuilder.importSymbols("DIFFSERV-DSCP-TC", "Dscp", "DscpOrAny") ( InterfaceIndexOrZero, ifCounterDiscontinuityGroup, ifCounterDiscontinuityGroup, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifCounterDiscontinuityGroup", "ifCounterDiscontinuityGroup", "ifIndex") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetPortNumber") ( BurstSize, ) = mibBuilder.importSymbols("INTEGRATED-SERVICES-MIB", "BurstSize") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter64, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter64", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( AutonomousType, RowPointer, RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "RowPointer", "RowStatus", "StorageType", "TextualConvention") # Types class IfDirection(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("inbound", 1), ("outbound", 2), ) class IndexInteger(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class IndexIntegerNextFree(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) # Objects diffServMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 97)).setRevisions(("2002-02-07 00:00",)) if mibBuilder.loadTexts: diffServMib.setOrganization("IETF Differentiated Services WG") if mibBuilder.loadTexts: diffServMib.setContactInfo(" Fred Baker\nCisco Systems\n1121 Via Del Rey\nSanta Barbara, CA 93117, USA\nE-mail: fred@cisco.com\n\nKwok Ho Chan\nNortel Networks\n600 Technology Park Drive\nBillerica, MA 01821, USA\nE-mail: khchan@nortelnetworks.com\n\nAndrew Smith\nHarbour Networks\nJiuling Building\n\n\n21 North Xisanhuan Ave.\nBeijing, 100089, PRC\nE-mail: ah_smith@acm.org\n\nDifferentiated Services Working Group:\ndiffserv@ietf.org") if mibBuilder.loadTexts: diffServMib.setDescription("This MIB defines the objects necessary to manage a device that\nuses the Differentiated Services Architecture described in RFC\n2475. The Conceptual Model of a Differentiated Services Router\nprovides supporting information on how such a router is modeled.") diffServMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1)) diffServDataPath = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 1)) diffServDataPathTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 1, 1)) if mibBuilder.loadTexts: diffServDataPathTable.setDescription("The data path table contains RowPointers indicating the start of\nthe functional data path for each interface and traffic direction\nin this device. These may merge, or be separated into parallel\ndata paths.") diffServDataPathEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DIFFSERV-MIB", "diffServDataPathIfDirection")) if mibBuilder.loadTexts: diffServDataPathEntry.setDescription("An entry in the data path table indicates the start of a single\nDifferentiated Services Functional Data Path in this device.\n\nThese are associated with individual interfaces, logical or\nphysical, and therefore are instantiated by ifIndex. Therefore,\nthe interface index must have been assigned, according to the\nprocedures applicable to that, before it can be meaningfully\nused. Generally, this means that the interface must exist.\n\nWhen diffServDataPathStorage is of type nonVolatile, however,\nthis may reflect the configuration for an interface whose ifIndex\nhas been assigned but for which the supporting implementation is\nnot currently present.") diffServDataPathIfDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 1, 1, 1, 1), IfDirection()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServDataPathIfDirection.setDescription("IfDirection specifies whether the reception or transmission path\nfor this interface is in view.") diffServDataPathStart = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 1, 1, 1, 2), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServDataPathStart.setDescription("This selects the first Differentiated Services Functional Data\nPath Element to handle traffic for this data path. This\nRowPointer should point to an instance of one of:\n diffServClfrEntry\n diffServMeterEntry\n diffServActionEntry\n diffServAlgDropEntry\n diffServQEntry\n\nA value of zeroDotZero in this attribute indicates that no\nDifferentiated Services treatment is performed on traffic of this\ndata path. A pointer with the value zeroDotZero normally\nterminates a functional data path.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServDataPathStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 1, 1, 1, 3), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServDataPathStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServDataPathStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 1, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServDataPathStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time.") diffServClassifier = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 2)) diffServClfrNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 2, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServClfrNextFree.setDescription("This object contains an unused value for diffServClfrId, or a\nzero to indicate that none exist.") diffServClfrTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 2, 2)) if mibBuilder.loadTexts: diffServClfrTable.setDescription("This table enumerates all the diffserv classifier functional\ndata path elements of this device. The actual classification\ndefinitions are defined in diffServClfrElementTable entries\nbelonging to each classifier.\n\nAn entry in this table, pointed to by a RowPointer specifying an\ninstance of diffServClfrStatus, is frequently used as the name\nfor a set of classifier elements, which all use the index\ndiffServClfrId. Per the semantics of the classifier element\ntable, these entries constitute one or more unordered sets of\ntests which may be simultaneously applied to a message to\n\n\n\nclassify it.\n\nThe primary function of this table is to ensure that the value of\ndiffServClfrId is unique before attempting to use it in creating\na diffServClfrElementEntry. Therefore, the diffServClfrEntry must\nbe created on the same SET as the diffServClfrElementEntry, or\nbefore the diffServClfrElementEntry is created.") diffServClfrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 2, 2, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServClfrId")) if mibBuilder.loadTexts: diffServClfrEntry.setDescription("An entry in the classifier table describes a single classifier.\nAll classifier elements belonging to the same classifier use the\nclassifier's diffServClfrId as part of their index.") diffServClfrId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 2, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServClfrId.setDescription("An index that enumerates the classifier entries. Managers\nshould obtain new values for row creation in this table by\nreading diffServClfrNextFree.") diffServClfrStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 2, 1, 2), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServClfrStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServClfrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServClfrStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServClfrElementNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 2, 3), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServClfrElementNextFree.setDescription("This object contains an unused value for diffServClfrElementId,\nor a zero to indicate that none exist.") diffServClfrElementTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 2, 4)) if mibBuilder.loadTexts: diffServClfrElementTable.setDescription("The classifier element table enumerates the relationship between\nclassification patterns and subsequent downstream Differentiated\nServices Functional Data Path elements.\ndiffServClfrElementSpecific points to a filter that specifies the\nclassification parameters. A classifier may use filter tables of\ndifferent types together.\n\nOne example of a filter table defined in this MIB is\ndiffServMultiFieldClfrTable, for IP Multi-Field Classifiers\n(MFCs). Such an entry might identify anything from a single\nmicro-flow (an identifiable sub-session packet stream directed\nfrom one sending transport to the receiving transport or\ntransports), or aggregates of those such as the traffic from a\nhost, traffic for an application, or traffic between two hosts\nusing an application and a given DSCP. The standard Behavior\nAggregate used in the Differentiated Services Architecture is\nencoded as a degenerate case of such an aggregate - the traffic\nusing a particular DSCP value.\n\nFilter tables for other filter types may be defined elsewhere.") diffServClfrElementEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 2, 4, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServClfrId"), (0, "DIFFSERV-MIB", "diffServClfrElementId")) if mibBuilder.loadTexts: diffServClfrElementEntry.setDescription("An entry in the classifier element table describes a single\nelement of the classifier.") diffServClfrElementId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 4, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServClfrElementId.setDescription("An index that enumerates the Classifier Element entries.\nManagers obtain new values for row creation in this table by\nreading diffServClfrElementNextFree.") diffServClfrElementPrecedence = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServClfrElementPrecedence.setDescription("The relative order in which classifier elements are applied:\nhigher numbers represent classifier element with higher\nprecedence. Classifier elements with the same order must be\nunambiguous i.e. they must define non-overlapping patterns, and\nare considered to be applied simultaneously to the traffic\nstream. Classifier elements with different order may overlap in\ntheir filters: the classifier element with the highest order\nthat matches is taken.\n\nOn a given interface, there must be a complete classifier in\nplace at all times in the ingress direction. This means one or\nmore filters must match any possible pattern. There is no such\n\n\n\nrequirement in the egress direction.") diffServClfrElementNext = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 4, 1, 3), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServClfrElementNext.setDescription("This attribute provides one branch of the fan-out functionality\nof a classifier described in the Informal Differentiated Services\nModel section 4.1.\n\nThis selects the next Differentiated Services Functional Data\nPath Element to handle traffic for this data path. This\nRowPointer should point to an instance of one of:\n diffServClfrEntry\n diffServMeterEntry\n diffServActionEntry\n diffServAlgDropEntry\n diffServQEntry\n\nA value of zeroDotZero in this attribute indicates no further\nDifferentiated Services treatment is performed on traffic of this\ndata path. The use of zeroDotZero is the normal usage for the\nlast functional data path element of the current data path.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServClfrElementSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 4, 1, 4), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServClfrElementSpecific.setDescription("A pointer to a valid entry in another table, filter table, that\ndescribes the applicable classification parameters, e.g. an entry\nin diffServMultiFieldClfrTable.\n\nThe value zeroDotZero is interpreted to match anything not\nmatched by another classifier element - only one such entry may\nexist for each classifier.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\n\n\n\nbecomes inactive by other means, the element is ignored.") diffServClfrElementStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 4, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServClfrElementStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServClfrElementStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 4, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServClfrElementStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServMultiFieldClfrNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 2, 5), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServMultiFieldClfrNextFree.setDescription("This object contains an unused value for\ndiffServMultiFieldClfrId, or a zero to indicate that none exist.") diffServMultiFieldClfrTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 2, 6)) if mibBuilder.loadTexts: diffServMultiFieldClfrTable.setDescription("A table of IP Multi-field Classifier filter entries that a\n\n\n\nsystem may use to identify IP traffic.") diffServMultiFieldClfrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServMultiFieldClfrId")) if mibBuilder.loadTexts: diffServMultiFieldClfrEntry.setDescription("An IP Multi-field Classifier entry describes a single filter.") diffServMultiFieldClfrId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServMultiFieldClfrId.setDescription("An index that enumerates the MultiField Classifier filter\nentries. Managers obtain new values for row creation in this\ntable by reading diffServMultiFieldClfrNextFree.") diffServMultiFieldClfrAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 2), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrAddrType.setDescription("The type of IP address used by this classifier entry. While\nother types of addresses are defined in the InetAddressType\n\n\n\ntextual convention, and DNS names, a classifier can only look at\npackets on the wire. Therefore, this object is limited to IPv4\nand IPv6 addresses.") diffServMultiFieldClfrDstAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrDstAddr.setDescription("The IP address to match against the packet's destination IP\naddress. This may not be a DNS name, but may be an IPv4 or IPv6\nprefix. diffServMultiFieldClfrDstPrefixLength indicates the\nnumber of bits that are relevant.") diffServMultiFieldClfrDstPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 4), InetAddressPrefixLength().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrDstPrefixLength.setDescription("The length of the CIDR Prefix carried in\ndiffServMultiFieldClfrDstAddr. In IPv4 addresses, a length of 0\nindicates a match of any address; a length of 32 indicates a\nmatch of a single host address, and a length between 0 and 32\nindicates the use of a CIDR Prefix. IPv6 is similar, except that\nprefix lengths range from 0..128.") diffServMultiFieldClfrSrcAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 5), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrSrcAddr.setDescription("The IP address to match against the packet's source IP address.\nThis may not be a DNS name, but may be an IPv4 or IPv6 prefix.\ndiffServMultiFieldClfrSrcPrefixLength indicates the number of\nbits that are relevant.") diffServMultiFieldClfrSrcPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 6), InetAddressPrefixLength().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrSrcPrefixLength.setDescription("The length of the CIDR Prefix carried in\ndiffServMultiFieldClfrSrcAddr. In IPv4 addresses, a length of 0\nindicates a match of any address; a length of 32 indicates a\nmatch of a single host address, and a length between 0 and 32\nindicates the use of a CIDR Prefix. IPv6 is similar, except that\nprefix lengths range from 0..128.") diffServMultiFieldClfrDscp = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 7), DscpOrAny().clone('-1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrDscp.setDescription("The value that the DSCP in the packet must have to match this\nentry. A value of -1 indicates that a specific DSCP value has not\nbeen defined and thus all DSCP values are considered a match.") diffServMultiFieldClfrFlowId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048575))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrFlowId.setDescription("The flow identifier in an IPv6 header.") diffServMultiFieldClfrProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrProtocol.setDescription("The IP protocol to match against the IPv4 protocol number or the\nIPv6 Next- Header number in the packet. A value of 255 means\nmatch all. Note the protocol number of 255 is reserved by IANA,\nand Next-Header number of 0 is used in IPv6.") diffServMultiFieldClfrDstL4PortMin = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 10), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrDstL4PortMin.setDescription("The minimum value that the layer-4 destination port number in\nthe packet must have in order to match this classifier entry.") diffServMultiFieldClfrDstL4PortMax = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 11), InetPortNumber().clone('65535')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrDstL4PortMax.setDescription("The maximum value that the layer-4 destination port number in\nthe packet must have in order to match this classifier entry.\nThis value must be equal to or greater than the value specified\nfor this entry in diffServMultiFieldClfrDstL4PortMin.") diffServMultiFieldClfrSrcL4PortMin = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 12), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrSrcL4PortMin.setDescription("The minimum value that the layer-4 source port number in the\npacket must have in order to match this classifier entry.") diffServMultiFieldClfrSrcL4PortMax = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 13), InetPortNumber().clone('65535')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrSrcL4PortMax.setDescription("The maximum value that the layer-4 source port number in the\npacket must have in order to match this classifier entry. This\nvalue must be equal to or greater than the value specified for\nthis entry in diffServMultiFieldClfrSrcL4PortMin.") diffServMultiFieldClfrStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 14), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServMultiFieldClfrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 2, 6, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMultiFieldClfrStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServMeter = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 3)) diffServMeterNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 3, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServMeterNextFree.setDescription("This object contains an unused value for diffServMeterId, or a\nzero to indicate that none exist.") diffServMeterTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 3, 2)) if mibBuilder.loadTexts: diffServMeterTable.setDescription("This table enumerates specific meters that a system may use to\npolice a stream of traffic. The traffic stream to be metered is\ndetermined by the Differentiated Services Functional Data Path\nElement(s) upstream of the meter i.e. by the object(s) that point\nto each entry in this table. This may include all traffic on an\ninterface.\n\nSpecific meter details are to be found in table entry referenced\nby diffServMeterSpecific.") diffServMeterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 3, 2, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServMeterId")) if mibBuilder.loadTexts: diffServMeterEntry.setDescription("An entry in the meter table describes a single conformance level\nof a meter.") diffServMeterId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 3, 2, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServMeterId.setDescription("An index that enumerates the Meter entries. Managers obtain new\nvalues for row creation in this table by reading\ndiffServMeterNextFree.") diffServMeterSucceedNext = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 3, 2, 1, 2), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMeterSucceedNext.setDescription("If the traffic does conform, this selects the next\nDifferentiated Services Functional Data Path element to handle\ntraffic for this data path. This RowPointer should point to an\ninstance of one of:\n diffServClfrEntry\n diffServMeterEntry\n diffServActionEntry\n diffServAlgDropEntry\n diffServQEntry\n\nA value of zeroDotZero in this attribute indicates that no\nfurther Differentiated Services treatment is performed on traffic\nof this data path. The use of zeroDotZero is the normal usage for\nthe last functional data path element of the current data path.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServMeterFailNext = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 3, 2, 1, 3), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMeterFailNext.setDescription("If the traffic does not conform, this selects the next\nDifferentiated Services Functional Data Path element to handle\ntraffic for this data path. This RowPointer should point to an\ninstance of one of:\n diffServClfrEntry\n diffServMeterEntry\n\n\n\n diffServActionEntry\n diffServAlgDropEntry\n diffServQEntry\n\nA value of zeroDotZero in this attribute indicates no further\nDifferentiated Services treatment is performed on traffic of this\ndata path. The use of zeroDotZero is the normal usage for the\nlast functional data path element of the current data path.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServMeterSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 3, 2, 1, 4), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMeterSpecific.setDescription("This indicates the behavior of the meter by pointing to an entry\ncontaining detailed parameters. Note that entries in that\nspecific table must be managed explicitly.\n\nFor example, diffServMeterSpecific may point to an entry in\ndiffServTBParamTable, which contains an instance of a single set\nof Token Bucket parameters.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the meter always succeeds.") diffServMeterStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 3, 2, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMeterStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServMeterStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 3, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMeterStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServTBParam = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 4)) diffServTBParamNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 4, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServTBParamNextFree.setDescription("This object contains an unused value for diffServTBParamId, or a\nzero to indicate that none exist.") diffServTBParamTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 4, 2)) if mibBuilder.loadTexts: diffServTBParamTable.setDescription("This table enumerates a single set of token bucket meter\nparameters that a system may use to police a stream of traffic.\nSuch meters are modeled here as having a single rate and a single\nburst size. Multiple entries are used when multiple rates/burst\nsizes are needed.") diffServTBParamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServTBParamId")) if mibBuilder.loadTexts: diffServTBParamEntry.setDescription("An entry that describes a single set of token bucket\nparameters.") diffServTBParamId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServTBParamId.setDescription("An index that enumerates the Token Bucket Parameter entries.\nManagers obtain new values for row creation in this table by\nreading diffServTBParamNextFree.") diffServTBParamType = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1, 2), AutonomousType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServTBParamType.setDescription("The Metering algorithm associated with the Token Bucket\nparameters. zeroDotZero indicates this is unknown.\n\nStandard values for generic algorithms:\ndiffServTBParamSimpleTokenBucket, diffServTBParamAvgRate,\ndiffServTBParamSrTCMBlind, diffServTBParamSrTCMAware,\ndiffServTBParamTrTCMBlind, diffServTBParamTrTCMAware, and\ndiffServTBParamTswTCM are specified in this MIB as OBJECT-\nIDENTITYs; additional values may be further specified in other\nMIBs.") diffServTBParamRate = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServTBParamRate.setDescription("The token-bucket rate, in kilobits per second (kbps). This\nattribute is used for:\n1. CIR in RFC 2697 for srTCM\n2. CIR and PIR in RFC 2698 for trTCM\n3. CTR and PTR in RFC 2859 for TSWTCM\n4. AverageRate in RFC 3290.") diffServTBParamBurstSize = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1, 4), BurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServTBParamBurstSize.setDescription("The maximum number of bytes in a single transmission burst. This\nattribute is used for:\n1. CBS and EBS in RFC 2697 for srTCM\n2. CBS and PBS in RFC 2698 for trTCM\n3. Burst Size in RFC 3290.") diffServTBParamInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServTBParamInterval.setDescription("The time interval used with the token bucket. For:\n1. Average Rate Meter, the Informal Differentiated Services Model\n section 5.2.1, - Delta.\n2. Simple Token Bucket Meter, the Informal Differentiated\n Services Model section 5.1, - time interval t.\n3. RFC 2859 TSWTCM, - AVG_INTERVAL.\n4. RFC 2697 srTCM, RFC 2698 trTCM, - token bucket update time\n interval.") diffServTBParamStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServTBParamStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServTBParamStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 4, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServTBParamStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServAction = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 5)) diffServActionNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 5, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServActionNextFree.setDescription("This object contains an unused value for diffServActionId, or a\nzero to indicate that none exist.") diffServActionTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 5, 2)) if mibBuilder.loadTexts: diffServActionTable.setDescription("The Action Table enumerates actions that can be performed to a\nstream of traffic. Multiple actions can be concatenated. For\nexample, traffic exiting from a meter may be counted, marked, and\npotentially dropped before entering a queue.\n\nSpecific actions are indicated by diffServActionSpecific which\npoints to an entry of a specific action type parameterizing the\naction in detail.") diffServActionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 5, 2, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServActionId")) if mibBuilder.loadTexts: diffServActionEntry.setDescription("Each entry in the action table allows description of one\nspecific action to be applied to traffic.") diffServActionId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 2, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServActionId.setDescription("An index that enumerates the Action entries. Managers obtain\nnew values for row creation in this table by reading\ndiffServActionNextFree.") diffServActionInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 2, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServActionInterface.setDescription("The interface index (value of ifIndex) that this action occurs\non. This may be derived from the diffServDataPathStartEntry's\nindex by extension through the various RowPointers. However, as\nthis may be difficult for a network management station, it is\nplaced here as well. If this is indeterminate, the value is\nzero.\n\nThis is of especial relevance when reporting the counters which\nmay apply to traffic crossing an interface:\n diffServCountActOctets,\n diffServCountActPkts,\n diffServAlgDropOctets,\n diffServAlgDropPkts,\n diffServAlgRandomDropOctets, and\n diffServAlgRandomDropPkts.\n\nIt is also especially relevant to the queue and scheduler which\nmay be subsequently applied.") diffServActionNext = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 2, 1, 3), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServActionNext.setDescription("This selects the next Differentiated Services Functional Data\nPath Element to handle traffic for this data path. This\nRowPointer should point to an instance of one of:\n diffServClfrEntry\n diffServMeterEntry\n diffServActionEntry\n diffServAlgDropEntry\n diffServQEntry\n\nA value of zeroDotZero in this attribute indicates no further\nDifferentiated Services treatment is performed on traffic of this\ndata path. The use of zeroDotZero is the normal usage for the\nlast functional data path element of the current data path.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServActionSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 2, 1, 4), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServActionSpecific.setDescription("A pointer to an object instance providing additional information\nfor the type of action indicated by this action table entry.\n\nFor the standard actions defined by this MIB module, this should\npoint to either a diffServDscpMarkActEntry or a\ndiffServCountActEntry. For other actions, it may point to an\nobject instance defined in some other MIB.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the Meter should be treated as\nif it were not present. This may lead to incorrect policy\nbehavior.") diffServActionStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 2, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServActionStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServActionStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServActionStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServDscpMarkActTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 5, 3)) if mibBuilder.loadTexts: diffServDscpMarkActTable.setDescription("This table enumerates specific DSCPs used for marking or\nremarking the DSCP field of IP packets. The entries of this table\nmay be referenced by a diffServActionSpecific attribute.") diffServDscpMarkActEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 5, 3, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServDscpMarkActDscp")) if mibBuilder.loadTexts: diffServDscpMarkActEntry.setDescription("An entry in the DSCP mark action table that describes a single\nDSCP used for marking.") diffServDscpMarkActDscp = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 3, 1, 1), Dscp()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServDscpMarkActDscp.setDescription("The DSCP that this Action will store into the DSCP field of the\nsubject. It is quite possible that the only packets subject to\nthis Action are already marked with this DSCP. Note also that\nDifferentiated Services processing may result in packet being\nmarked on both ingress to a network and on egress from it, and\nthat ingress and egress can occur in the same router.") diffServCountActNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 5, 4), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServCountActNextFree.setDescription("This object contains an unused value for\ndiffServCountActId, or a zero to indicate that none exist.") diffServCountActTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 5, 5)) if mibBuilder.loadTexts: diffServCountActTable.setDescription("This table contains counters for all the traffic passing through\nan action element.") diffServCountActEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 5, 5, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServCountActId")) if mibBuilder.loadTexts: diffServCountActEntry.setDescription("An entry in the count action table describes a single set of\ntraffic counters.") diffServCountActId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 5, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServCountActId.setDescription("An index that enumerates the Count Action entries. Managers\nobtain new values for row creation in this table by reading\n\n\n\ndiffServCountActNextFree.") diffServCountActOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 5, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServCountActOctets.setDescription("The number of octets at the Action data path element.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system and at other times as\nindicated by the value of ifCounterDiscontinuityTime on the\nrelevant interface.") diffServCountActPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 5, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServCountActPkts.setDescription("The number of packets at the Action data path element.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system and at other times as\nindicated by the value of ifCounterDiscontinuityTime on the\nrelevant interface.") diffServCountActStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 5, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServCountActStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServCountActStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 5, 5, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServCountActStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\n\n\n\nto it results in destruction being delayed until the row is no\nlonger used.") diffServAlgDrop = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 6)) diffServAlgDropNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 6, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServAlgDropNextFree.setDescription("This object contains an unused value for diffServAlgDropId, or a\nzero to indicate that none exist.") diffServAlgDropTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 6, 2)) if mibBuilder.loadTexts: diffServAlgDropTable.setDescription("The algorithmic drop table contains entries describing an\nelement that drops packets according to some algorithm.") diffServAlgDropEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServAlgDropId")) if mibBuilder.loadTexts: diffServAlgDropEntry.setDescription("An entry describes a process that drops packets according to\nsome algorithm. Further details of the algorithm type are to be\nfound in diffServAlgDropType and with more detail parameter entry\npointed to by diffServAlgDropSpecific when necessary.") diffServAlgDropId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServAlgDropId.setDescription("An index that enumerates the Algorithmic Dropper entries.\nManagers obtain new values for row creation in this table by\nreading diffServAlgDropNextFree.") diffServAlgDropType = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,5,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("tailDrop", 2), ("headDrop", 3), ("randomDrop", 4), ("alwaysDrop", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServAlgDropType.setDescription("The type of algorithm used by this dropper. The value other(1)\nrequires further specification in some other MIB module.\n\nIn the tailDrop(2) algorithm, diffServAlgDropQThreshold\nrepresents the maximum depth of the queue, pointed to by\ndiffServAlgDropQMeasure, beyond which all newly arriving packets\nwill be dropped.\n\nIn the headDrop(3) algorithm, if a packet arrives when the\ncurrent depth of the queue, pointed to by\ndiffServAlgDropQMeasure, is at diffServAlgDropQThreshold, packets\ncurrently at the head of the queue are dropped to make room for\nthe new packet to be enqueued at the tail of the queue.\n\nIn the randomDrop(4) algorithm, on packet arrival, an Active\nQueue Management algorithm is executed which may randomly drop a\npacket. This algorithm may be proprietary, and it may drop either\nthe arriving packet or another packet in the queue.\ndiffServAlgDropSpecific points to a diffServRandomDropEntry that\ndescribes the algorithm. For this algorithm,\n\n\n\ndiffServAlgDropQThreshold is understood to be the absolute\nmaximum size of the queue and additional parameters are described\nin diffServRandomDropTable.\n\nThe alwaysDrop(5) algorithm is as its name specifies; always\ndrop. In this case, the other configuration values in this Entry\nare not meaningful; There is no useful 'next' processing step,\nthere is no queue, and parameters describing the queue are not\nuseful. Therefore, diffServAlgDropNext, diffServAlgDropMeasure,\nand diffServAlgDropSpecific are all zeroDotZero.") diffServAlgDropNext = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 3), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServAlgDropNext.setDescription("This selects the next Differentiated Services Functional Data\nPath Element to handle traffic for this data path. This\nRowPointer should point to an instance of one of:\n diffServClfrEntry\n diffServMeterEntry\n diffServActionEntry\n diffServQEntry\n\nA value of zeroDotZero in this attribute indicates no further\nDifferentiated Services treatment is performed on traffic of this\ndata path. The use of zeroDotZero is the normal usage for the\nlast functional data path element of the current data path.\n\nWhen diffServAlgDropType is alwaysDrop(5), this object is\nignored.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServAlgDropQMeasure = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 4), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServAlgDropQMeasure.setDescription("Points to an entry in the diffServQTable to indicate the queue\nthat a drop algorithm is to monitor when deciding whether to drop\na packet. If the row pointed to does not exist, the algorithmic\ndropper element is considered inactive.\n\n\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServAlgDropQThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServAlgDropQThreshold.setDescription("A threshold on the depth in bytes of the queue being measured at\nwhich a trigger is generated to the dropping algorithm, unless\ndiffServAlgDropType is alwaysDrop(5) where this object is\nignored.\n\nFor the tailDrop(2) or headDrop(3) algorithms, this represents\nthe depth of the queue, pointed to by diffServAlgDropQMeasure, at\nwhich the drop action will take place. Other algorithms will need\nto define their own semantics for this threshold.") diffServAlgDropSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 6), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServAlgDropSpecific.setDescription("Points to a table entry that provides further detail regarding a\ndrop algorithm.\n\nEntries with diffServAlgDropType equal to other(1) may have this\npoint to a table defined in another MIB module.\n\nEntries with diffServAlgDropType equal to randomDrop(4) must have\nthis point to an entry in diffServRandomDropTable.\n\nFor all other algorithms specified in this MIB, this should take\nthe value zeroDotZero.\n\nThe diffServAlgDropType is authoritative for the type of the drop\nalgorithm and the specific parameters for the drop algorithm\nneeds to be evaluated based on the diffServAlgDropType.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServAlgDropOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServAlgDropOctets.setDescription("The number of octets that have been deterministically dropped by\nthis drop process.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system and at other times as\nindicated by the value of ifCounterDiscontinuityTime on the\nrelevant interface.") diffServAlgDropPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServAlgDropPkts.setDescription("The number of packets that have been deterministically dropped\nby this drop process.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system and at other times as\nindicated by the value of ifCounterDiscontinuityTime on the\nrelevant interface.") diffServAlgRandomDropOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServAlgRandomDropOctets.setDescription("The number of octets that have been randomly dropped by this\ndrop process. This counter applies, therefore, only to random\ndroppers.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system and at other times as\nindicated by the value of ifCounterDiscontinuityTime on the\nrelevant interface.") diffServAlgRandomDropPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServAlgRandomDropPkts.setDescription("The number of packets that have been randomly dropped by this\ndrop process. This counter applies, therefore, only to random\ndroppers.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system and at other times as\nindicated by the value of ifCounterDiscontinuityTime on the\nrelevant interface.") diffServAlgDropStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 11), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServAlgDropStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServAlgDropStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 2, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServAlgDropStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServRandomDropNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 6, 3), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServRandomDropNextFree.setDescription("This object contains an unused value for diffServRandomDropId,\nor a zero to indicate that none exist.") diffServRandomDropTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 6, 4)) if mibBuilder.loadTexts: diffServRandomDropTable.setDescription("The random drop table contains entries describing a process that\ndrops packets randomly. Entries in this table are pointed to by\ndiffServAlgDropSpecific.") diffServRandomDropEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServRandomDropId")) if mibBuilder.loadTexts: diffServRandomDropEntry.setDescription("An entry describes a process that drops packets according to a\nrandom algorithm.") diffServRandomDropId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServRandomDropId.setDescription("An index that enumerates the Random Drop entries. Managers\nobtain new values for row creation in this table by reading\ndiffServRandomDropNextFree.") diffServRandomDropMinThreshBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropMinThreshBytes.setDescription("The average queue depth in bytes, beyond which traffic has a\nnon-zero probability of being dropped. Changes in this variable\nmay or may not be reflected in the reported value of\ndiffServRandomDropMinThreshPkts.") diffServRandomDropMinThreshPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropMinThreshPkts.setDescription("The average queue depth in packets, beyond which traffic has a\nnon-zero probability of being dropped. Changes in this variable\nmay or may not be reflected in the reported value of\ndiffServRandomDropMinThreshBytes.") diffServRandomDropMaxThreshBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropMaxThreshBytes.setDescription("The average queue depth beyond which traffic has a probability\nindicated by diffServRandomDropProbMax of being dropped or\nmarked. Note that this differs from the physical queue limit,\nwhich is stored in diffServAlgDropQThreshold. Changes in this\nvariable may or may not be reflected in the reported value of\ndiffServRandomDropMaxThreshPkts.") diffServRandomDropMaxThreshPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropMaxThreshPkts.setDescription("The average queue depth beyond which traffic has a probability\nindicated by diffServRandomDropProbMax of being dropped or\nmarked. Note that this differs from the physical queue limit,\nwhich is stored in diffServAlgDropQThreshold. Changes in this\nvariable may or may not be reflected in the reported value of\ndiffServRandomDropMaxThreshBytes.") diffServRandomDropProbMax = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropProbMax.setDescription("The worst case random drop probability, expressed in drops per\nthousand packets.\n\nFor example, if in the worst case every arriving packet may be\ndropped (100%) for a period, this has the value 1000.\nAlternatively, if in the worst case only one percent (1%) of\ntraffic may be dropped, it has the value 10.") diffServRandomDropWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropWeight.setDescription("The weighting of past history in affecting the Exponentially\nWeighted Moving Average function that calculates the current\naverage queue depth. The equation uses\ndiffServRandomDropWeight/65536 as the coefficient for the new\nsample in the equation, and (65536 -\ndiffServRandomDropWeight)/65536 as the coefficient of the old\nvalue.\n\nImplementations may limit the values of diffServRandomDropWeight\nto a subset of the possible range of values, such as powers of\ntwo. Doing this would facilitate implementation of the\nExponentially Weighted Moving Average using shift instructions or\nregisters.") diffServRandomDropSamplingRate = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropSamplingRate.setDescription("The number of times per second the queue is sampled for queue\naverage calculation. A value of zero is used to mean that the\nqueue is sampled approximately each time a packet is enqueued (or\ndequeued).") diffServRandomDropStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 9), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServRandomDropStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 6, 4, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServRandomDropStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServQueue = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 7)) diffServQNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 7, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServQNextFree.setDescription("This object contains an unused value for diffServQId, or a zero\nto indicate that none exist.") diffServQTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 7, 2)) if mibBuilder.loadTexts: diffServQTable.setDescription("The Queue Table enumerates the individual queues. Note that the\nMIB models queuing systems as composed of individual queues, one\nper class of traffic, even though they may in fact be structured\nas classes of traffic scheduled using a common calendar queue, or\nin other ways.") diffServQEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 7, 2, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServQId")) if mibBuilder.loadTexts: diffServQEntry.setDescription("An entry in the Queue Table describes a single queue or class of\ntraffic.") diffServQId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 7, 2, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServQId.setDescription("An index that enumerates the Queue entries. Managers obtain new\nvalues for row creation in this table by reading\ndiffServQNextFree.") diffServQNext = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 7, 2, 1, 2), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServQNext.setDescription("This selects the next Differentiated Services Scheduler. The\nRowPointer must point to a diffServSchedulerEntry.\n\nA value of zeroDotZero in this attribute indicates an incomplete\ndiffServQEntry instance. In such a case, the entry has no\noperational effect, since it has no parameters to give it\nmeaning.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServQMinRate = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 7, 2, 1, 3), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServQMinRate.setDescription("This RowPointer indicates the diffServMinRateEntry that the\nscheduler, pointed to by diffServQNext, should use to service\nthis queue.\n\nIf the row pointed to is zeroDotZero, the minimum rate and\npriority is unspecified.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServQMaxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 7, 2, 1, 4), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServQMaxRate.setDescription("This RowPointer indicates the diffServMaxRateEntry that the\nscheduler, pointed to by diffServQNext, should use to service\nthis queue.\n\nIf the row pointed to is zeroDotZero, the maximum rate is the\nline speed of the interface.\n\n\n\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServQStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 7, 2, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServQStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServQStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 7, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServQStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServScheduler = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 1, 8)) diffServSchedulerNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 8, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServSchedulerNextFree.setDescription("This object contains an unused value for diffServSchedulerId, or\na zero to indicate that none exist.") diffServSchedulerTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 8, 2)) if mibBuilder.loadTexts: diffServSchedulerTable.setDescription("The Scheduler Table enumerates packet schedulers. Multiple\nscheduling algorithms can be used on a given data path, with each\nalgorithm described by one diffServSchedulerEntry.") diffServSchedulerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServSchedulerId")) if mibBuilder.loadTexts: diffServSchedulerEntry.setDescription("An entry in the Scheduler Table describing a single instance of\na scheduling algorithm.") diffServSchedulerId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServSchedulerId.setDescription("An index that enumerates the Scheduler entries. Managers obtain\nnew values for row creation in this table by reading\ndiffServSchedulerNextFree.") diffServSchedulerNext = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1, 2), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServSchedulerNext.setDescription("This selects the next Differentiated Services Functional Data\nPath Element to handle traffic for this data path. This normally\nis null (zeroDotZero), or points to a diffServSchedulerEntry or a\ndiffServQEntry.\n\nHowever, this RowPointer may also point to an instance of:\n diffServClfrEntry,\n diffServMeterEntry,\n diffServActionEntry,\n diffServAlgDropEntry.\n\nIt would point another diffServSchedulerEntry when implementing\nmultiple scheduler methods for the same data path, such as having\none set of queues scheduled by WRR and that group participating\nin a priority scheduling system in which other queues compete\nwith it in that way. It might also point to a second scheduler\nin a hierarchical scheduling system.\n\nIf the row pointed to is zeroDotZero, no further Differentiated\nServices treatment is performed on traffic of this data path.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServSchedulerMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1, 3), AutonomousType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServSchedulerMethod.setDescription("The scheduling algorithm used by this Scheduler. zeroDotZero\nindicates that this is unknown. Standard values for generic\nalgorithms: diffServSchedulerPriority, diffServSchedulerWRR, and\ndiffServSchedulerWFQ are specified in this MIB; additional values\n\n\n\nmay be further specified in other MIBs.") diffServSchedulerMinRate = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1, 4), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServSchedulerMinRate.setDescription("This RowPointer indicates the entry in diffServMinRateTable\nwhich indicates the priority or minimum output rate from this\nscheduler. This attribute is used only when there is more than\none level of scheduler.\n\nWhen it has the value zeroDotZero, it indicates that no minimum\nrate or priority is imposed.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServSchedulerMaxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1, 5), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServSchedulerMaxRate.setDescription("This RowPointer indicates the entry in diffServMaxRateTable\nwhich indicates the maximum output rate from this scheduler.\nWhen more than one maximum rate applies (eg, when a multi-rate\nshaper is in view), it points to the first of those rate entries.\nThis attribute is used only when there is more than one level of\nscheduler.\n\nWhen it has the value zeroDotZero, it indicates that no maximum\nrate is imposed.\n\nSetting this to point to a target that does not exist results in\nan inconsistentValue error. If the row pointed to is removed or\nbecomes inactive by other means, the treatment is as if this\nattribute contains a value of zeroDotZero.") diffServSchedulerStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServSchedulerStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServSchedulerStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServSchedulerStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServMinRateNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 8, 3), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServMinRateNextFree.setDescription("This object contains an unused value for diffServMinRateId, or a\nzero to indicate that none exist.") diffServMinRateTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 8, 4)) if mibBuilder.loadTexts: diffServMinRateTable.setDescription("The Minimum Rate Parameters Table enumerates individual sets of\nscheduling parameter that can be used/reused by Queues and\nSchedulers.") diffServMinRateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 8, 4, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServMinRateId")) if mibBuilder.loadTexts: diffServMinRateEntry.setDescription("An entry in the Minimum Rate Parameters Table describes a single\nset of scheduling parameters for use by one or more queues or\nschedulers.") diffServMinRateId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 4, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServMinRateId.setDescription("An index that enumerates the Scheduler Parameter entries.\nManagers obtain new values for row creation in this table by\nreading diffServMinRateNextFree.") diffServMinRatePriority = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMinRatePriority.setDescription("The priority of this input to the associated scheduler, relative\n\n\n\nto the scheduler's other inputs. A queue or scheduler with a\nlarger numeric value will be served before another with a smaller\nnumeric value.") diffServMinRateAbsolute = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMinRateAbsolute.setDescription("The minimum absolute rate, in kilobits/sec, that a downstream\nscheduler element should allocate to this queue. If the value is\nzero, then there is effectively no minimum rate guarantee. If the\nvalue is non-zero, the scheduler will assure the servicing of\nthis queue to at least this rate.\n\nNote that this attribute value and that of\ndiffServMinRateRelative are coupled: changes to one will affect\nthe value of the other. They are linked by the following\nequation, in that setting one will change the other:\n\n diffServMinRateRelative =\n (diffServMinRateAbsolute*1000000)/ifSpeed\n\nor, if appropriate:\n\n diffServMinRateRelative = diffServMinRateAbsolute/ifHighSpeed") diffServMinRateRelative = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 4, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMinRateRelative.setDescription("The minimum rate that a downstream scheduler element should\nallocate to this queue, relative to the maximum rate of the\ninterface as reported by ifSpeed or ifHighSpeed, in units of\n1/1000 of 1. If the value is zero, then there is effectively no\nminimum rate guarantee. If the value is non-zero, the scheduler\nwill assure the servicing of this queue to at least this rate.\n\nNote that this attribute value and that of\ndiffServMinRateAbsolute are coupled: changes to one will affect\nthe value of the other. They are linked by the following\nequation, in that setting one will change the other:\n\n\n\n diffServMinRateRelative =\n (diffServMinRateAbsolute*1000000)/ifSpeed\n\nor, if appropriate:\n\n diffServMinRateRelative = diffServMinRateAbsolute/ifHighSpeed") diffServMinRateStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 4, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMinRateStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServMinRateStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 4, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMinRateStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServMaxRateNextFree = MibScalar((1, 3, 6, 1, 2, 1, 97, 1, 8, 5), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServMaxRateNextFree.setDescription("This object contains an unused value for diffServMaxRateId, or a\nzero to indicate that none exist.") diffServMaxRateTable = MibTable((1, 3, 6, 1, 2, 1, 97, 1, 8, 6)) if mibBuilder.loadTexts: diffServMaxRateTable.setDescription("The Maximum Rate Parameter Table enumerates individual sets of\nscheduling parameter that can be used/reused by Queues and\nSchedulers.") diffServMaxRateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1)).setIndexNames((0, "DIFFSERV-MIB", "diffServMaxRateId"), (0, "DIFFSERV-MIB", "diffServMaxRateLevel")) if mibBuilder.loadTexts: diffServMaxRateEntry.setDescription("An entry in the Maximum Rate Parameter Table describes a single\nset of scheduling parameters for use by one or more queues or\nschedulers.") diffServMaxRateId = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServMaxRateId.setDescription("An index that enumerates the Maximum Rate Parameter entries.\nManagers obtain new values for row creation in this table by\nreading diffServMaxRateNextFree.") diffServMaxRateLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServMaxRateLevel.setDescription("An index that indicates which level of a multi-rate shaper is\nbeing given its parameters. A multi-rate shaper has some number\nof rate levels. Frame Relay's dual rate specification refers to a\n'committed' and an 'excess' rate; ATM's dual rate specification\nrefers to a 'mean' and a 'peak' rate. This table is generalized\nto support an arbitrary number of rates. The committed or mean\nrate is level 1, the peak rate (if any) is the highest level rate\nconfigured, and if there are other rates they are distributed in\nmonotonically increasing order between them.") diffServMaxRateAbsolute = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMaxRateAbsolute.setDescription("The maximum rate in kilobits/sec that a downstream scheduler\nelement should allocate to this queue. If the value is zero, then\nthere is effectively no maximum rate limit and that the scheduler\nshould attempt to be work conserving for this queue. If the value\nis non-zero, the scheduler will limit the servicing of this queue\nto, at most, this rate in a non-work-conserving manner.\n\nNote that this attribute value and that of\ndiffServMaxRateRelative are coupled: changes to one will affect\nthe value of the other. They are linked by the following\n\n\n\nequation, in that setting one will change the other:\n\n diffServMaxRateRelative =\n (diffServMaxRateAbsolute*1000000)/ifSpeed\n\nor, if appropriate:\n\n diffServMaxRateRelative = diffServMaxRateAbsolute/ifHighSpeed") diffServMaxRateRelative = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMaxRateRelative.setDescription("The maximum rate that a downstream scheduler element should\nallocate to this queue, relative to the maximum rate of the\ninterface as reported by ifSpeed or ifHighSpeed, in units of\n1/1000 of 1. If the value is zero, then there is effectively no\nmaximum rate limit and the scheduler should attempt to be work\nconserving for this queue. If the value is non-zero, the\nscheduler will limit the servicing of this queue to, at most,\nthis rate in a non-work-conserving manner.\n\nNote that this attribute value and that of\ndiffServMaxRateAbsolute are coupled: changes to one will affect\nthe value of the other. They are linked by the following\nequation, in that setting one will change the other:\n\n diffServMaxRateRelative =\n (diffServMaxRateAbsolute*1000000)/ifSpeed\n\nor, if appropriate:\n\n diffServMaxRateRelative = diffServMaxRateAbsolute/ifHighSpeed") diffServMaxRateThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1, 5), BurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMaxRateThreshold.setDescription("The number of bytes of queue depth at which the rate of a\n\n\n\nmulti-rate scheduler will increase to the next output rate. In\nthe last conceptual row for such a shaper, this threshold is\nignored and by convention is zero.") diffServMaxRateStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMaxRateStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to any\ncolumnar objects in the row.") diffServMaxRateStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 97, 1, 8, 6, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServMaxRateStatus.setDescription("The status of this conceptual row. All writable objects in this\nrow may be modified at any time. Setting this variable to\n'destroy' when the MIB contains one or more RowPointers pointing\nto it results in destruction being delayed until the row is no\nlonger used.") diffServMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 2)) diffServMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 2, 1)) diffServMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 2, 2)) diffServMIBAdmin = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 3)) diffServTBMeters = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 3, 1)) diffServTBParamSimpleTokenBucket = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 1, 1)) if mibBuilder.loadTexts: diffServTBParamSimpleTokenBucket.setDescription("Two Parameter Token Bucket Meter as described in the Informal\nDifferentiated Services Model section 5.2.3.") diffServTBParamAvgRate = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 1, 2)) if mibBuilder.loadTexts: diffServTBParamAvgRate.setDescription("Average Rate Meter as described in the Informal Differentiated\nServices Model section 5.2.1.") diffServTBParamSrTCMBlind = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 1, 3)) if mibBuilder.loadTexts: diffServTBParamSrTCMBlind.setDescription("Single Rate Three Color Marker Metering as defined by RFC 2697,\nin the `Color Blind' mode as described by the RFC.") diffServTBParamSrTCMAware = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 1, 4)) if mibBuilder.loadTexts: diffServTBParamSrTCMAware.setDescription("Single Rate Three Color Marker Metering as defined by RFC 2697,\nin the `Color Aware' mode as described by the RFC.") diffServTBParamTrTCMBlind = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 1, 5)) if mibBuilder.loadTexts: diffServTBParamTrTCMBlind.setDescription("Two Rate Three Color Marker Metering as defined by RFC 2698, in\nthe `Color Blind' mode as described by the RFC.") diffServTBParamTrTCMAware = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 1, 6)) if mibBuilder.loadTexts: diffServTBParamTrTCMAware.setDescription("Two Rate Three Color Marker Metering as defined by RFC 2698, in\nthe `Color Aware' mode as described by the RFC.") diffServTBParamTswTCM = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 1, 7)) if mibBuilder.loadTexts: diffServTBParamTswTCM.setDescription("Time Sliding Window Three Color Marker Metering as defined by\nRFC 2859.") diffServSchedulers = MibIdentifier((1, 3, 6, 1, 2, 1, 97, 3, 2)) diffServSchedulerPriority = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 2, 1)) if mibBuilder.loadTexts: diffServSchedulerPriority.setDescription("For use with diffServSchedulerMethod to indicate the Priority\nscheduling method. This is defined as an algorithm in which the\npresence of data in a queue or set of queues absolutely precludes\ndequeue from another queue or set of queues of lower priority.\nNote that attributes from diffServMinRateEntry of the\nqueues/schedulers feeding this scheduler are used when\ndetermining the next packet to schedule.") diffServSchedulerWRR = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 2, 2)) if mibBuilder.loadTexts: diffServSchedulerWRR.setDescription("For use with diffServSchedulerMethod to indicate the Weighted\nRound Robin scheduling method, defined as any algorithm in which\na set of queues are visited in a fixed order, and varying amounts\nof traffic are removed from each queue in turn to implement an\naverage output rate by class. Notice attributes from\ndiffServMinRateEntry of the queues/schedulers feeding this\nscheduler are used when determining the next packet to schedule.") diffServSchedulerWFQ = ObjectIdentity((1, 3, 6, 1, 2, 1, 97, 3, 2, 3)) if mibBuilder.loadTexts: diffServSchedulerWFQ.setDescription("For use with diffServSchedulerMethod to indicate the Weighted\nFair Queuing scheduling method, defined as any algorithm in which\na set of queues are conceptually visited in some order, to\nimplement an average output rate by class. Notice attributes from\ndiffServMinRateEntry of the queues/schedulers feeding this\nscheduler are used when determining the next packet to schedule.") # Augmentions # Groups diffServMIBDataPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 1)).setObjects(*(("DIFFSERV-MIB", "diffServDataPathStatus"), ("DIFFSERV-MIB", "diffServDataPathStart"), ("DIFFSERV-MIB", "diffServDataPathStorage"), ) ) if mibBuilder.loadTexts: diffServMIBDataPathGroup.setDescription("The Data Path Group defines the MIB Objects that describe a\nfunctional data path.") diffServMIBClfrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 2)).setObjects(*(("DIFFSERV-MIB", "diffServClfrStorage"), ("DIFFSERV-MIB", "diffServClfrNextFree"), ("DIFFSERV-MIB", "diffServClfrStatus"), ) ) if mibBuilder.loadTexts: diffServMIBClfrGroup.setDescription("The Classifier Group defines the MIB Objects that describe the\n\n\n\nlist the starts of individual classifiers.") diffServMIBClfrElementGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 3)).setObjects(*(("DIFFSERV-MIB", "diffServClfrElementNext"), ("DIFFSERV-MIB", "diffServClfrElementNextFree"), ("DIFFSERV-MIB", "diffServClfrElementStorage"), ("DIFFSERV-MIB", "diffServClfrElementStatus"), ("DIFFSERV-MIB", "diffServClfrElementPrecedence"), ("DIFFSERV-MIB", "diffServClfrElementSpecific"), ) ) if mibBuilder.loadTexts: diffServMIBClfrElementGroup.setDescription("The Classifier Element Group defines the MIB Objects that\ndescribe the classifier elements that make up a generic\nclassifier.") diffServMIBMultiFieldClfrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 4)).setObjects(*(("DIFFSERV-MIB", "diffServMultiFieldClfrDstAddr"), ("DIFFSERV-MIB", "diffServMultiFieldClfrStorage"), ("DIFFSERV-MIB", "diffServMultiFieldClfrSrcAddr"), ("DIFFSERV-MIB", "diffServMultiFieldClfrSrcL4PortMin"), ("DIFFSERV-MIB", "diffServMultiFieldClfrDstL4PortMax"), ("DIFFSERV-MIB", "diffServMultiFieldClfrAddrType"), ("DIFFSERV-MIB", "diffServMultiFieldClfrSrcL4PortMax"), ("DIFFSERV-MIB", "diffServMultiFieldClfrSrcPrefixLength"), ("DIFFSERV-MIB", "diffServMultiFieldClfrNextFree"), ("DIFFSERV-MIB", "diffServMultiFieldClfrFlowId"), ("DIFFSERV-MIB", "diffServMultiFieldClfrDstPrefixLength"), ("DIFFSERV-MIB", "diffServMultiFieldClfrDstL4PortMin"), ("DIFFSERV-MIB", "diffServMultiFieldClfrStatus"), ("DIFFSERV-MIB", "diffServMultiFieldClfrDscp"), ("DIFFSERV-MIB", "diffServMultiFieldClfrProtocol"), ) ) if mibBuilder.loadTexts: diffServMIBMultiFieldClfrGroup.setDescription("The Multi-field Classifier Group defines the MIB Objects that\ndescribe a classifier element for matching on various fields of\nan IP and upper-layer protocol header.") diffServMIBMeterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 5)).setObjects(*(("DIFFSERV-MIB", "diffServMeterSucceedNext"), ("DIFFSERV-MIB", "diffServMeterNextFree"), ("DIFFSERV-MIB", "diffServMeterStorage"), ("DIFFSERV-MIB", "diffServMeterSpecific"), ("DIFFSERV-MIB", "diffServMeterFailNext"), ("DIFFSERV-MIB", "diffServMeterStatus"), ) ) if mibBuilder.loadTexts: diffServMIBMeterGroup.setDescription("The Meter Group defines the objects used in describing a generic\nmeter element.") diffServMIBTBParamGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 6)).setObjects(*(("DIFFSERV-MIB", "diffServTBParamType"), ("DIFFSERV-MIB", "diffServTBParamBurstSize"), ("DIFFSERV-MIB", "diffServTBParamNextFree"), ("DIFFSERV-MIB", "diffServTBParamStatus"), ("DIFFSERV-MIB", "diffServTBParamRate"), ("DIFFSERV-MIB", "diffServTBParamInterval"), ("DIFFSERV-MIB", "diffServTBParamStorage"), ) ) if mibBuilder.loadTexts: diffServMIBTBParamGroup.setDescription("The Token-Bucket Meter Group defines the objects used in\ndescribing a token bucket meter element.") diffServMIBActionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 7)).setObjects(*(("DIFFSERV-MIB", "diffServActionNext"), ("DIFFSERV-MIB", "diffServActionStatus"), ("DIFFSERV-MIB", "diffServActionNextFree"), ("DIFFSERV-MIB", "diffServActionSpecific"), ("DIFFSERV-MIB", "diffServActionStorage"), ("DIFFSERV-MIB", "diffServActionInterface"), ) ) if mibBuilder.loadTexts: diffServMIBActionGroup.setDescription("The Action Group defines the objects used in describing a\ngeneric action element.") diffServMIBDscpMarkActGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 8)).setObjects(*(("DIFFSERV-MIB", "diffServDscpMarkActDscp"), ) ) if mibBuilder.loadTexts: diffServMIBDscpMarkActGroup.setDescription("The DSCP Mark Action Group defines the objects used in\ndescribing a DSCP Marking Action element.") diffServMIBCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 9)).setObjects(*(("DIFFSERV-MIB", "diffServAlgRandomDropPkts"), ("DIFFSERV-MIB", "diffServCountActOctets"), ("DIFFSERV-MIB", "diffServAlgDropPkts"), ("DIFFSERV-MIB", "diffServCountActPkts"), ("DIFFSERV-MIB", "diffServAlgRandomDropOctets"), ("DIFFSERV-MIB", "diffServCountActStatus"), ("DIFFSERV-MIB", "diffServAlgDropOctets"), ("DIFFSERV-MIB", "diffServCountActStorage"), ("DIFFSERV-MIB", "diffServCountActNextFree"), ) ) if mibBuilder.loadTexts: diffServMIBCounterGroup.setDescription("A collection of objects providing information specific to\npacket-oriented network interfaces.") diffServMIBAlgDropGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 10)).setObjects(*(("DIFFSERV-MIB", "diffServAlgDropNext"), ("DIFFSERV-MIB", "diffServAlgDropStatus"), ("DIFFSERV-MIB", "diffServAlgDropNextFree"), ("DIFFSERV-MIB", "diffServAlgDropSpecific"), ("DIFFSERV-MIB", "diffServAlgDropQThreshold"), ("DIFFSERV-MIB", "diffServAlgDropType"), ("DIFFSERV-MIB", "diffServAlgDropQMeasure"), ("DIFFSERV-MIB", "diffServAlgDropStorage"), ) ) if mibBuilder.loadTexts: diffServMIBAlgDropGroup.setDescription("The Algorithmic Drop Group contains the objects that describe\nalgorithmic dropper operation and configuration.") diffServMIBRandomDropGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 11)).setObjects(*(("DIFFSERV-MIB", "diffServRandomDropMinThreshBytes"), ("DIFFSERV-MIB", "diffServRandomDropMaxThreshPkts"), ("DIFFSERV-MIB", "diffServRandomDropStorage"), ("DIFFSERV-MIB", "diffServRandomDropStatus"), ("DIFFSERV-MIB", "diffServRandomDropNextFree"), ("DIFFSERV-MIB", "diffServRandomDropProbMax"), ("DIFFSERV-MIB", "diffServRandomDropMinThreshPkts"), ("DIFFSERV-MIB", "diffServRandomDropWeight"), ("DIFFSERV-MIB", "diffServRandomDropMaxThreshBytes"), ("DIFFSERV-MIB", "diffServRandomDropSamplingRate"), ) ) if mibBuilder.loadTexts: diffServMIBRandomDropGroup.setDescription("The Random Drop Group augments the Algorithmic Drop Group for\nrandom dropper operation and configuration.") diffServMIBQGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 12)).setObjects(*(("DIFFSERV-MIB", "diffServQNext"), ("DIFFSERV-MIB", "diffServQNextFree"), ("DIFFSERV-MIB", "diffServQMaxRate"), ("DIFFSERV-MIB", "diffServQStatus"), ("DIFFSERV-MIB", "diffServQMinRate"), ("DIFFSERV-MIB", "diffServQStorage"), ) ) if mibBuilder.loadTexts: diffServMIBQGroup.setDescription("The Queue Group contains the objects that describe an\n\n\n\ninterface's queues.") diffServMIBSchedulerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 13)).setObjects(*(("DIFFSERV-MIB", "diffServSchedulerNextFree"), ("DIFFSERV-MIB", "diffServSchedulerMethod"), ("DIFFSERV-MIB", "diffServSchedulerNext"), ("DIFFSERV-MIB", "diffServSchedulerStatus"), ("DIFFSERV-MIB", "diffServSchedulerMinRate"), ("DIFFSERV-MIB", "diffServSchedulerMaxRate"), ("DIFFSERV-MIB", "diffServSchedulerStorage"), ) ) if mibBuilder.loadTexts: diffServMIBSchedulerGroup.setDescription("The Scheduler Group contains the objects that describe packet\nschedulers on interfaces.") diffServMIBMinRateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 14)).setObjects(*(("DIFFSERV-MIB", "diffServMinRateStorage"), ("DIFFSERV-MIB", "diffServMinRateAbsolute"), ("DIFFSERV-MIB", "diffServMinRatePriority"), ("DIFFSERV-MIB", "diffServMinRateStatus"), ("DIFFSERV-MIB", "diffServMinRateNextFree"), ("DIFFSERV-MIB", "diffServMinRateRelative"), ) ) if mibBuilder.loadTexts: diffServMIBMinRateGroup.setDescription("The Minimum Rate Parameter Group contains the objects that\ndescribe packet schedulers' minimum rate or priority guarantees.") diffServMIBMaxRateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 97, 2, 2, 15)).setObjects(*(("DIFFSERV-MIB", "diffServMaxRateStatus"), ("DIFFSERV-MIB", "diffServMaxRateAbsolute"), ("DIFFSERV-MIB", "diffServMaxRateThreshold"), ("DIFFSERV-MIB", "diffServMaxRateStorage"), ("DIFFSERV-MIB", "diffServMaxRateNextFree"), ("DIFFSERV-MIB", "diffServMaxRateRelative"), ) ) if mibBuilder.loadTexts: diffServMIBMaxRateGroup.setDescription("The Maximum Rate Parameter Group contains the objects that\ndescribe packet schedulers' maximum rate guarantees.") # Compliances diffServMIBFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 97, 2, 1, 1)).setObjects(*(("DIFFSERV-MIB", "diffServMIBMaxRateGroup"), ("DIFFSERV-MIB", "diffServMIBMultiFieldClfrGroup"), ("DIFFSERV-MIB", "diffServMIBMinRateGroup"), ("DIFFSERV-MIB", "diffServMIBClfrElementGroup"), ("DIFFSERV-MIB", "diffServMIBSchedulerGroup"), ("DIFFSERV-MIB", "diffServMIBMeterGroup"), ("DIFFSERV-MIB", "diffServMIBDscpMarkActGroup"), ("DIFFSERV-MIB", "diffServMIBAlgDropGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("DIFFSERV-MIB", "diffServMIBRandomDropGroup"), ("DIFFSERV-MIB", "diffServMIBClfrGroup"), ("DIFFSERV-MIB", "diffServMIBActionGroup"), ("DIFFSERV-MIB", "diffServMIBTBParamGroup"), ("DIFFSERV-MIB", "diffServMIBCounterGroup"), ("DIFFSERV-MIB", "diffServMIBQGroup"), ("DIFFSERV-MIB", "diffServMIBDataPathGroup"), ) ) if mibBuilder.loadTexts: diffServMIBFullCompliance.setDescription("When this MIB is implemented with support for read-create, then\nsuch an implementation can claim full compliance. Such devices\ncan then be both monitored and configured with this MIB.") diffServMIBReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 97, 2, 1, 2)).setObjects(*(("DIFFSERV-MIB", "diffServMIBMaxRateGroup"), ("DIFFSERV-MIB", "diffServMIBMultiFieldClfrGroup"), ("DIFFSERV-MIB", "diffServMIBMinRateGroup"), ("DIFFSERV-MIB", "diffServMIBClfrElementGroup"), ("DIFFSERV-MIB", "diffServMIBSchedulerGroup"), ("DIFFSERV-MIB", "diffServMIBMeterGroup"), ("DIFFSERV-MIB", "diffServMIBDscpMarkActGroup"), ("DIFFSERV-MIB", "diffServMIBAlgDropGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("DIFFSERV-MIB", "diffServMIBRandomDropGroup"), ("DIFFSERV-MIB", "diffServMIBClfrGroup"), ("DIFFSERV-MIB", "diffServMIBActionGroup"), ("DIFFSERV-MIB", "diffServMIBTBParamGroup"), ("DIFFSERV-MIB", "diffServMIBCounterGroup"), ("DIFFSERV-MIB", "diffServMIBQGroup"), ("DIFFSERV-MIB", "diffServMIBDataPathGroup"), ) ) if mibBuilder.loadTexts: diffServMIBReadOnlyCompliance.setDescription("When this MIB is implemented without support for read-create\n(i.e. in read-only mode), then such an implementation can claim\nread-only compliance. Such a device can then be monitored but can\nnot be configured with this MIB.") # Exports # Module identity mibBuilder.exportSymbols("DIFFSERV-MIB", PYSNMP_MODULE_ID=diffServMib) # Types mibBuilder.exportSymbols("DIFFSERV-MIB", IfDirection=IfDirection, IndexInteger=IndexInteger, IndexIntegerNextFree=IndexIntegerNextFree) # Objects mibBuilder.exportSymbols("DIFFSERV-MIB", diffServMib=diffServMib, diffServMIBObjects=diffServMIBObjects, diffServDataPath=diffServDataPath, diffServDataPathTable=diffServDataPathTable, diffServDataPathEntry=diffServDataPathEntry, diffServDataPathIfDirection=diffServDataPathIfDirection, diffServDataPathStart=diffServDataPathStart, diffServDataPathStorage=diffServDataPathStorage, diffServDataPathStatus=diffServDataPathStatus, diffServClassifier=diffServClassifier, diffServClfrNextFree=diffServClfrNextFree, diffServClfrTable=diffServClfrTable, diffServClfrEntry=diffServClfrEntry, diffServClfrId=diffServClfrId, diffServClfrStorage=diffServClfrStorage, diffServClfrStatus=diffServClfrStatus, diffServClfrElementNextFree=diffServClfrElementNextFree, diffServClfrElementTable=diffServClfrElementTable, diffServClfrElementEntry=diffServClfrElementEntry, diffServClfrElementId=diffServClfrElementId, diffServClfrElementPrecedence=diffServClfrElementPrecedence, diffServClfrElementNext=diffServClfrElementNext, diffServClfrElementSpecific=diffServClfrElementSpecific, diffServClfrElementStorage=diffServClfrElementStorage, diffServClfrElementStatus=diffServClfrElementStatus, diffServMultiFieldClfrNextFree=diffServMultiFieldClfrNextFree, diffServMultiFieldClfrTable=diffServMultiFieldClfrTable, diffServMultiFieldClfrEntry=diffServMultiFieldClfrEntry, diffServMultiFieldClfrId=diffServMultiFieldClfrId, diffServMultiFieldClfrAddrType=diffServMultiFieldClfrAddrType, diffServMultiFieldClfrDstAddr=diffServMultiFieldClfrDstAddr, diffServMultiFieldClfrDstPrefixLength=diffServMultiFieldClfrDstPrefixLength, diffServMultiFieldClfrSrcAddr=diffServMultiFieldClfrSrcAddr, diffServMultiFieldClfrSrcPrefixLength=diffServMultiFieldClfrSrcPrefixLength, diffServMultiFieldClfrDscp=diffServMultiFieldClfrDscp, diffServMultiFieldClfrFlowId=diffServMultiFieldClfrFlowId, diffServMultiFieldClfrProtocol=diffServMultiFieldClfrProtocol, diffServMultiFieldClfrDstL4PortMin=diffServMultiFieldClfrDstL4PortMin, diffServMultiFieldClfrDstL4PortMax=diffServMultiFieldClfrDstL4PortMax, diffServMultiFieldClfrSrcL4PortMin=diffServMultiFieldClfrSrcL4PortMin, diffServMultiFieldClfrSrcL4PortMax=diffServMultiFieldClfrSrcL4PortMax, diffServMultiFieldClfrStorage=diffServMultiFieldClfrStorage, diffServMultiFieldClfrStatus=diffServMultiFieldClfrStatus, diffServMeter=diffServMeter, diffServMeterNextFree=diffServMeterNextFree, diffServMeterTable=diffServMeterTable, diffServMeterEntry=diffServMeterEntry, diffServMeterId=diffServMeterId, diffServMeterSucceedNext=diffServMeterSucceedNext, diffServMeterFailNext=diffServMeterFailNext, diffServMeterSpecific=diffServMeterSpecific, diffServMeterStorage=diffServMeterStorage, diffServMeterStatus=diffServMeterStatus, diffServTBParam=diffServTBParam, diffServTBParamNextFree=diffServTBParamNextFree, diffServTBParamTable=diffServTBParamTable, diffServTBParamEntry=diffServTBParamEntry, diffServTBParamId=diffServTBParamId, diffServTBParamType=diffServTBParamType, diffServTBParamRate=diffServTBParamRate, diffServTBParamBurstSize=diffServTBParamBurstSize, diffServTBParamInterval=diffServTBParamInterval, diffServTBParamStorage=diffServTBParamStorage, diffServTBParamStatus=diffServTBParamStatus, diffServAction=diffServAction, diffServActionNextFree=diffServActionNextFree, diffServActionTable=diffServActionTable, diffServActionEntry=diffServActionEntry, diffServActionId=diffServActionId, diffServActionInterface=diffServActionInterface, diffServActionNext=diffServActionNext, diffServActionSpecific=diffServActionSpecific, diffServActionStorage=diffServActionStorage, diffServActionStatus=diffServActionStatus, diffServDscpMarkActTable=diffServDscpMarkActTable, diffServDscpMarkActEntry=diffServDscpMarkActEntry, diffServDscpMarkActDscp=diffServDscpMarkActDscp, diffServCountActNextFree=diffServCountActNextFree, diffServCountActTable=diffServCountActTable, diffServCountActEntry=diffServCountActEntry, diffServCountActId=diffServCountActId, diffServCountActOctets=diffServCountActOctets, diffServCountActPkts=diffServCountActPkts, diffServCountActStorage=diffServCountActStorage, diffServCountActStatus=diffServCountActStatus, diffServAlgDrop=diffServAlgDrop, diffServAlgDropNextFree=diffServAlgDropNextFree, diffServAlgDropTable=diffServAlgDropTable, diffServAlgDropEntry=diffServAlgDropEntry, diffServAlgDropId=diffServAlgDropId, diffServAlgDropType=diffServAlgDropType, diffServAlgDropNext=diffServAlgDropNext, diffServAlgDropQMeasure=diffServAlgDropQMeasure, diffServAlgDropQThreshold=diffServAlgDropQThreshold, diffServAlgDropSpecific=diffServAlgDropSpecific, diffServAlgDropOctets=diffServAlgDropOctets, diffServAlgDropPkts=diffServAlgDropPkts, diffServAlgRandomDropOctets=diffServAlgRandomDropOctets, diffServAlgRandomDropPkts=diffServAlgRandomDropPkts, diffServAlgDropStorage=diffServAlgDropStorage, diffServAlgDropStatus=diffServAlgDropStatus, diffServRandomDropNextFree=diffServRandomDropNextFree, diffServRandomDropTable=diffServRandomDropTable, diffServRandomDropEntry=diffServRandomDropEntry, diffServRandomDropId=diffServRandomDropId, diffServRandomDropMinThreshBytes=diffServRandomDropMinThreshBytes, diffServRandomDropMinThreshPkts=diffServRandomDropMinThreshPkts, diffServRandomDropMaxThreshBytes=diffServRandomDropMaxThreshBytes, diffServRandomDropMaxThreshPkts=diffServRandomDropMaxThreshPkts, diffServRandomDropProbMax=diffServRandomDropProbMax, diffServRandomDropWeight=diffServRandomDropWeight, diffServRandomDropSamplingRate=diffServRandomDropSamplingRate, diffServRandomDropStorage=diffServRandomDropStorage, diffServRandomDropStatus=diffServRandomDropStatus, diffServQueue=diffServQueue, diffServQNextFree=diffServQNextFree, diffServQTable=diffServQTable, diffServQEntry=diffServQEntry, diffServQId=diffServQId, diffServQNext=diffServQNext, diffServQMinRate=diffServQMinRate, diffServQMaxRate=diffServQMaxRate, diffServQStorage=diffServQStorage, diffServQStatus=diffServQStatus, diffServScheduler=diffServScheduler, diffServSchedulerNextFree=diffServSchedulerNextFree) mibBuilder.exportSymbols("DIFFSERV-MIB", diffServSchedulerTable=diffServSchedulerTable, diffServSchedulerEntry=diffServSchedulerEntry, diffServSchedulerId=diffServSchedulerId, diffServSchedulerNext=diffServSchedulerNext, diffServSchedulerMethod=diffServSchedulerMethod, diffServSchedulerMinRate=diffServSchedulerMinRate, diffServSchedulerMaxRate=diffServSchedulerMaxRate, diffServSchedulerStorage=diffServSchedulerStorage, diffServSchedulerStatus=diffServSchedulerStatus, diffServMinRateNextFree=diffServMinRateNextFree, diffServMinRateTable=diffServMinRateTable, diffServMinRateEntry=diffServMinRateEntry, diffServMinRateId=diffServMinRateId, diffServMinRatePriority=diffServMinRatePriority, diffServMinRateAbsolute=diffServMinRateAbsolute, diffServMinRateRelative=diffServMinRateRelative, diffServMinRateStorage=diffServMinRateStorage, diffServMinRateStatus=diffServMinRateStatus, diffServMaxRateNextFree=diffServMaxRateNextFree, diffServMaxRateTable=diffServMaxRateTable, diffServMaxRateEntry=diffServMaxRateEntry, diffServMaxRateId=diffServMaxRateId, diffServMaxRateLevel=diffServMaxRateLevel, diffServMaxRateAbsolute=diffServMaxRateAbsolute, diffServMaxRateRelative=diffServMaxRateRelative, diffServMaxRateThreshold=diffServMaxRateThreshold, diffServMaxRateStorage=diffServMaxRateStorage, diffServMaxRateStatus=diffServMaxRateStatus, diffServMIBConformance=diffServMIBConformance, diffServMIBCompliances=diffServMIBCompliances, diffServMIBGroups=diffServMIBGroups, diffServMIBAdmin=diffServMIBAdmin, diffServTBMeters=diffServTBMeters, diffServTBParamSimpleTokenBucket=diffServTBParamSimpleTokenBucket, diffServTBParamAvgRate=diffServTBParamAvgRate, diffServTBParamSrTCMBlind=diffServTBParamSrTCMBlind, diffServTBParamSrTCMAware=diffServTBParamSrTCMAware, diffServTBParamTrTCMBlind=diffServTBParamTrTCMBlind, diffServTBParamTrTCMAware=diffServTBParamTrTCMAware, diffServTBParamTswTCM=diffServTBParamTswTCM, diffServSchedulers=diffServSchedulers, diffServSchedulerPriority=diffServSchedulerPriority, diffServSchedulerWRR=diffServSchedulerWRR, diffServSchedulerWFQ=diffServSchedulerWFQ) # Groups mibBuilder.exportSymbols("DIFFSERV-MIB", diffServMIBDataPathGroup=diffServMIBDataPathGroup, diffServMIBClfrGroup=diffServMIBClfrGroup, diffServMIBClfrElementGroup=diffServMIBClfrElementGroup, diffServMIBMultiFieldClfrGroup=diffServMIBMultiFieldClfrGroup, diffServMIBMeterGroup=diffServMIBMeterGroup, diffServMIBTBParamGroup=diffServMIBTBParamGroup, diffServMIBActionGroup=diffServMIBActionGroup, diffServMIBDscpMarkActGroup=diffServMIBDscpMarkActGroup, diffServMIBCounterGroup=diffServMIBCounterGroup, diffServMIBAlgDropGroup=diffServMIBAlgDropGroup, diffServMIBRandomDropGroup=diffServMIBRandomDropGroup, diffServMIBQGroup=diffServMIBQGroup, diffServMIBSchedulerGroup=diffServMIBSchedulerGroup, diffServMIBMinRateGroup=diffServMIBMinRateGroup, diffServMIBMaxRateGroup=diffServMIBMaxRateGroup) # Compliances mibBuilder.exportSymbols("DIFFSERV-MIB", diffServMIBFullCompliance=diffServMIBFullCompliance, diffServMIBReadOnlyCompliance=diffServMIBReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IF-CAP-STACK-MIB.py0000644000014400001440000002323511736645136021204 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IF-CAP-STACK-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:07 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifInvStackGroup, ) = mibBuilder.importSymbols("IF-INVERTED-STACK-MIB", "ifInvStackGroup") ( ifStackGroup2, ifStackHigherLayer, ifStackLowerLayer, ) = mibBuilder.importSymbols("IF-MIB", "ifStackGroup2", "ifStackHigherLayer", "ifStackLowerLayer") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue") # Objects ifCapStackMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 166)).setRevisions(("2007-11-07 00:00",)) if mibBuilder.loadTexts: ifCapStackMIB.setOrganization("IETF Ethernet Interfaces and Hub MIB Working Group") if mibBuilder.loadTexts: ifCapStackMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/OLD/hubmib-charter.html\n\nMailing Lists:\nGeneral Discussion: hubmib@ietf.org\n\n\n\nTo Subscribe: hubmib-request@ietf.org\nIn Body: subscribe your_email_address\n\nChair: Bert Wijnen\nPostal: Alcatel-Lucent\n Schagen 33\n 3461 GL Linschoten\n Netherlands\nPhone: +31-348-407-775\nEMail: bwijnen@alcatel-lucent.com\n\nEditor: Edward Beili\nPostal: Actelis Networks Inc.\n 25 Bazel St., P.O.B. 10173\n Petach-Tikva 10173\n Israel\nPhone: +972-3-924-3491\nEMail: edward.beili@actelis.com") if mibBuilder.loadTexts: ifCapStackMIB.setDescription("The objects in this MIB module are used to describe\ncross-connect capabilities of stacked (layered) interfaces,\ncomplementing ifStackTable and ifInvStackTable defined in\nIF-MIB and IF-INVERTED-STACK-MIB, respectively.\n\nCopyright (C) The IETF Trust (2007). This version\nof this MIB module is part of RFC 5066; see the RFC\nitself for full legal notices.") ifCapStackObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 166, 1)) ifCapStackTable = MibTable((1, 3, 6, 1, 2, 1, 166, 1, 1)) if mibBuilder.loadTexts: ifCapStackTable.setDescription("This table, modeled after ifStackTable from IF-MIB,\ncontains information on the possible 'on-top-of'\nrelationships between the multiple sub-layers of network\ninterfaces (as opposed to actual relationships described in\nifStackTable). In particular, it contains information on\nwhich sub-layers MAY possibly run 'on top of' which other\nsub-layers, as determined by cross-connect capability of the\ndevice, where each sub-layer corresponds to a conceptual row\nin the ifTable. For example, when the sub-layer with ifIndex\nvalue x can be connected to run on top of the sub-layer with\nifIndex value y, then this table contains:\n\n ifCapStackStatus.x.y=true\n\nThe ifCapStackStatus.x.y row does not exist if it is\nimpossible to connect between the sub-layers x and y.\n\nNote that for most stacked interfaces (e.g., 2BASE-TL)\nthere's always at least one higher-level interface (e.g., PCS\nport) for each lower-level interface (e.g., PME) and at\nleast one lower-level interface for each higher-level\ninterface, that is, there is at least a single row with a\n'true' status for any such existing value of x or y.\n\nThis table is read-only as it describes device capabilities.") ifCapStackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 166, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifStackHigherLayer"), (0, "IF-MIB", "ifStackLowerLayer")) if mibBuilder.loadTexts: ifCapStackEntry.setDescription("Information on a particular relationship between two\nsub-layers, specifying that one sub-layer MAY possibly run\non 'top' of the other sub-layer. Each sub-layer corresponds\nto a conceptual row in the ifTable (interface index for\nlower and higher layer, respectively).") ifCapStackStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 166, 1, 1, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifCapStackStatus.setDescription("The status of the 'cross-connect capability' relationship\nbetween two sub-layers. The following values can be returned:\n true(1) - indicates that the sub-layer interface,\n identified by the ifStackLowerLayer MAY\n be connected to run 'below' the sub-layer\n interface, identified by the\n ifStackHigherLayer index.\n false(2) - the sub-layer interfaces cannot be\n connected temporarily due to\n unavailability of the interface(s), e.g.,\n one of the interfaces is located on an\n absent pluggable module.\n\nNote that lower-layer interface availability per higher-layer,\nindicated by the value of 'true', can be constrained by\nother parameters, for example, by the aggregation capacity of\na higher-layer interface or by the lower-layer interface in\nquestion being already connected to another higher-layer\ninterface. In order to ensure that a particular sub-layer can\nbe connected to another sub-layer, all respective objects\n(e.g., ifCapStackTable, ifStackTable, and efmCuPAFCapacity for\nEFMCu interfaces) SHALL be inspected.\n\nThis object is read-only, unlike ifStackStatus, as it\ndescribes a cross-connect capability.") ifInvCapStackTable = MibTable((1, 3, 6, 1, 2, 1, 166, 1, 2)) if mibBuilder.loadTexts: ifInvCapStackTable.setDescription("A table containing information on the possible relationships\nbetween the multiple sub-layers of network interfaces. This\ntable, modeled after ifInvStackTable from\nIF-INVERTED-STACK-MIB, is an inverse of the ifCapStackTable\ndefined in this MIB module.\n\n\n\nIn particular, this table contains information on which\nsub-layers MAY run 'underneath' which other sub-layers, where\neach sub-layer corresponds to a conceptual row in the ifTable.\nFor example, when the sub-layer with ifIndex value x MAY be\nconnected to run underneath the sub-layer with ifIndex value\ny, then this table contains:\n\n ifInvCapStackStatus.x.y=true\n\nThis table contains exactly the same number of rows as the\nifCapStackTable, but the rows appear in a different order.\n\nThis table is read-only as it describes a cross-connect\ncapability.") ifInvCapStackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 166, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifStackLowerLayer"), (0, "IF-MIB", "ifStackHigherLayer")) if mibBuilder.loadTexts: ifInvCapStackEntry.setDescription("Information on a particular relationship between two sub-\nlayers, specifying that one sub-layer MAY run underneath the\nother sub-layer. Each sub-layer corresponds to a conceptual\nrow in the ifTable.") ifInvCapStackStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 166, 1, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInvCapStackStatus.setDescription("The status of the possible 'cross-connect capability'\nrelationship between two sub-layers.\n\nAn instance of this object exists for each instance of the\nifCapStackStatus object, and vice versa. For example, if the\nvariable ifCapStackStatus.H.L exists, then the variable\nifInvCapStackStatus.L.H must also exist, and vice versa. In\naddition, the two variables always have the same value.\n\n\n\n\nThe ifInvCapStackStatus object is read-only, as it describes\na cross-connect capability.") ifCapStackConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 166, 2)) ifCapStackGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 166, 2, 1)) ifCapStackCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 166, 2, 2)) # Augmentions # Groups ifCapStackGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 166, 2, 1, 1)).setObjects(*(("IF-CAP-STACK-MIB", "ifCapStackStatus"), ("IF-CAP-STACK-MIB", "ifInvCapStackStatus"), ) ) if mibBuilder.loadTexts: ifCapStackGroup.setDescription("A collection of objects providing information on the\ncross-connect capability of multi-layer (stacked) network\ninterfaces.") # Compliances ifCapStackCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 166, 2, 2, 1)).setObjects(*(("IF-INVERTED-STACK-MIB", "ifInvStackGroup"), ("IF-CAP-STACK-MIB", "ifCapStackGroup"), ("IF-MIB", "ifStackGroup2"), ) ) if mibBuilder.loadTexts: ifCapStackCompliance.setDescription("The compliance statement for SNMP entities, which provide\ninformation on the cross-connect capability of multi-layer\n(stacked) network interfaces, with flexible cross-connect\nbetween the sub-layers.") # Exports # Module identity mibBuilder.exportSymbols("IF-CAP-STACK-MIB", PYSNMP_MODULE_ID=ifCapStackMIB) # Objects mibBuilder.exportSymbols("IF-CAP-STACK-MIB", ifCapStackMIB=ifCapStackMIB, ifCapStackObjects=ifCapStackObjects, ifCapStackTable=ifCapStackTable, ifCapStackEntry=ifCapStackEntry, ifCapStackStatus=ifCapStackStatus, ifInvCapStackTable=ifInvCapStackTable, ifInvCapStackEntry=ifInvCapStackEntry, ifInvCapStackStatus=ifInvCapStackStatus, ifCapStackConformance=ifCapStackConformance, ifCapStackGroups=ifCapStackGroups, ifCapStackCompliances=ifCapStackCompliances) # Groups mibBuilder.exportSymbols("IF-CAP-STACK-MIB", ifCapStackGroup=ifCapStackGroup) # Compliances mibBuilder.exportSymbols("IF-CAP-STACK-MIB", ifCapStackCompliance=ifCapStackCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PKTC-IETF-MTA-MIB.py0000644000014400001440000020623011736645137021346 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PKTC-IETF-MTA-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:27 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( docsDevSoftwareGroupV2, ) = mibBuilder.importSymbols("DOCS-CABLE-DEVICE-MIB", "docsDevSoftwareGroupV2") ( DocsX509ASN1DEREncodedCertificate, docsBpi2CodeDownloadGroup, ) = mibBuilder.importSymbols("DOCS-IETF-BPI2-MIB", "DocsX509ASN1DEREncodedCertificate", "docsBpi2CodeDownloadGroup") ( ifPhysAddress, ) = mibBuilder.importSymbols("IF-MIB", "ifPhysAddress") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( sysDescr, ) = mibBuilder.importSymbols("SNMPv2-MIB", "sysDescr") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TruthValue") ( LongUtf8String, ) = mibBuilder.importSymbols("SYSAPPL-MIB", "LongUtf8String") # Types class PktcMtaDevProvEncryptAlg(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,3,2,4,) namedValues = NamedValues(("none", 0), ("des64CbcMode", 1), ("t3Des192CbcMode", 2), ("aes128CbcMode", 3), ("aes256CbcMode", 4), ) # Objects pktcIetfMtaMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 140)).setRevisions(("2006-09-18 00:00",)) if mibBuilder.loadTexts: pktcIetfMtaMib.setOrganization("IETF IP over Cable Data Network Working Group") if mibBuilder.loadTexts: pktcIetfMtaMib.setContactInfo("Eugene Nechamkin\nBroadcom Corporation,\n200-13711 International Place,\n\n\n\nRichmond, BC, V6V 2Z8\nCANADA\nPhone: +1 604 233 8500\nEmail: enechamkin@broadcom.com\n\nJean-Francois Mule\nCable Television Laboratories, Inc.\n858 Coal Creek Circle\nLouisville, CO 80027-9750\nU.S.A.\nPhone: +1 303 661 9100\nEmail: jf.mule@cablelabs.com\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-Chair: Jean-Francois Mule, jf.mule@cablelabs.com\nCo-Chair: Richard Woundy, Richard_Woundy@cable.comcast.com") if mibBuilder.loadTexts: pktcIetfMtaMib.setDescription("This MIB module defines the basic management object\nfor the Multimedia Terminal Adapter devices compliant\nwith PacketCable and IPCablecom requirements.\n\nCopyright (C) The IETF Trust (2006). This version of\nthis MIB module is part of RFC 4682; see the RFC itself for\nfull legal notices.") pktcMtaNotification = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 0)) pktcMtaMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 1)) pktcMtaDevBase = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 1, 1)) pktcMtaDevResetNow = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevResetNow.setDescription(" This object controls the MTA software reset.\nReading this object always returns 'false'. Setting this\nobject to 'true' causes the device to reset immediately\nand the following actions to occur:\n 1. All connections (if present) are flushed locally.\n 2. All current actions such as ringing immediately\n terminate.\n 3. Requests for signaling notifications, such as\n notification based on digit map recognition, are\n flushed.\n 4. All endpoints are disabled.\n 5. The provisioning flow is started at step MTA-1.\nIf a value is written into an instance of\npktcMtaDevResetNow, the agent MUST NOT retain the supplied\nvalue across MTA re-initializations or reboots.") pktcMtaDevSerialNumber = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevSerialNumber.setDescription(" This object specifies the manufacturer's serial\nnumber of this MTA. The value of this object MUST be\nidentical to the value specified in DHCP option 43,\nsub-option 4. The list of sub-options for DHCP option\n43 are defined in the PacketCable MTA Device\nProvisioning Specification.") pktcMtaDevSwCurrentVers = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevSwCurrentVers.setDescription(" This object identifies the software version currently\noperating in the MTA.\nThe MTA MUST return a string descriptive of the current\nsoftware load. This object should use the syntax\ndefined by the individual vendor to identify the software\nversion. The data presented in this object MUST be\nidentical to the software version information contained\nin the 'sysDescr' MIB object of the MTA. The value of\nthis object MUST be identical to the value specified in\nDHCP option 43, sub-option 6. The list of sub-options for\nDHCP option 43 are defined in the PacketCable MTA Device\nProvisioning Specification.") pktcMtaDevFQDN = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevFQDN.setDescription(" This object contains the Fully Qualified Domain Name for\nthis MTA. The MTA FQDN is used to uniquely identify the\ndevice to the PacketCable back office elements.") pktcMtaDevEndPntCount = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevEndPntCount.setDescription(" This object contains the number of physical endpoints for\nthis MTA.") pktcMtaDevEnabled = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevEnabled.setDescription(" This object contains the MTA Admin Status of this device.\nIf this object is set to 'true', the MTA is\nadministratively enabled, and the MTA MUST be able to\ninteract with the PacketCable entities, such as CMS,\nProvisioning Server, KDC, and other MTAs and MGs on all\nPacketCable interfaces.\nIf this object is set to 'false', the MTA is\nadministratively disabled, and the MTA MUST perform the\nfollowing actions for all endpoints:\n - Shut down all media sessions, if present.\n - Shut down Network Control Signaling (NCS)\n signaling by following the Restart in\n Progress procedures in the PacketCable NCS\n specification.\nThe MTA must execute all actions required to\nenable or disable the telephony services for all\nendpoints immediately upon receipt of an SNMP SET\noperation.\n\nAdditionally, the MTA MUST maintain the SNMP Interface\nfor management and also the SNMP Key management interface.\nAlso, the MTA MUST NOT continue Kerberized key management\nwith CMSes until this object is set to 'true'.\nNote: MTAs MUST renew the CMS Kerberos tickets according\nto the PacketCable Security or IPCablecom Specification.\nIf a value is written into an instance of\npktcMtaDevEnabled, the agent MUST NOT retain the supplied\nvalue across MTA re-initializations or reboots.") pktcMtaDevTypeIdentifier = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevTypeIdentifier.setDescription(" This object provides the MTA device type identifier. The\nvalue of this object must be a copy of the DHCP option 60\nvalue exchanged between the MTA and the DHCP server. The\nDHCP option 60 value contains an ASCII-encoded string\nidentifying capabilities of the MTA as defined in the\nPacketCable MTA Device Provisioning Specification.") pktcMtaDevProvisioningState = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(6,4,3,7,5,2,1,)).subtype(namedValues=NamedValues(("pass", 1), ("inProgress", 2), ("failConfigFileError", 3), ("passWithWarnings", 4), ("passWithIncompleteParsing", 5), ("failureInternalError", 6), ("failureOtherReason", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevProvisioningState.setDescription(" This object indicates the completion state of the MTA\ndevice provisioning process.\n\npass:\nIf the configuration file could be parsed successfully\nand the MTA is able to reflect the same in its\nMIB, the MTA MUST return the value 'pass'.\n\ninProgress:\nIf the MTA is in the process of being provisioned,\nthe MTA MUST return the value 'inProgress'.\n\nfailConfigFileError:\nIf the configuration file was in error due to incorrect\nvalues in the mandatory parameters, the MTA MUST reject\nthe configuration file, and the MTA MUST return the value\n\n\n\n'failConfigFileError'.\n\npassWithWarnings:\nIf the configuration file had proper values for all the\nmandatory parameters but has errors in any of the optional\nparameters (this includes any vendor-specific Object\nIdentifiers (OIDs) that are incorrect or not known\nto the MTA), the MTA MUST return the value\n'passWithWarnings'.\n\npassWithIncompleteParsing:\nIf the configuration file is valid but the MTA cannot\nreflect the same in its configuration (for example, too\nmany entries caused memory exhaustion), it must accept\nthe CMS configuration entries related, and the MTA MUST\nreturn the value 'passWithIncompleteParsing'.\n\nfailureInternalError:\nIf the configuration file cannot be parsed due to an\nInternal error, the MTA MUST return the value\n'failureInternalError'.\n\nfailureOtherReason:\nIf the MTA cannot accept the configuration file for any\nother reason than the ones stated above, the MTA MUST\nreturn the value 'failureOtherReason'.\n\nWhen a final SNMP INFORM is sent as part of Step 25 of the\nMTA Provisioning process, this parameter is also included\nin the final INFORM message.") pktcMtaDevHttpAccess = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevHttpAccess.setDescription(" This object indicates whether the HTTP protocol is\nsupported for the MTA configuration file transfer.") pktcMtaDevProvisioningTimer = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 30)).clone(10)).setMaxAccess("readwrite").setUnits("minutes") if mibBuilder.loadTexts: pktcMtaDevProvisioningTimer.setDescription(" This object defines the time interval for the provisioning\nflow to complete. The MTA MUST finish all provisioning\noperations starting from the moment when an MTA receives\nits DHCP ACK and ending at the moment when the MTA\ndownloads its configuration file (e.g., MTA5 to MTA23)\nwithin the period of time set by this object.\nFailure to comply with this condition constitutes\na provisioning flow failure. If the object is set to 0,\nthe MTA MUST ignore the provisioning timer condition.\nIf a value is written into an instance of\npktcMtaDevProvisioningTimer, the agent MUST NOT retain the\nsupplied value across MTA re-initializations or reboots.") pktcMtaDevProvisioningCounter = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevProvisioningCounter.setDescription("This object counts the number of times the\nprovisioning cycle has looped through step MTA-1.") pktcMtaDevErrorOidsTable = MibTable((1, 3, 6, 1, 2, 1, 140, 1, 1, 12)) if mibBuilder.loadTexts: pktcMtaDevErrorOidsTable.setDescription(" This table contains the list of configuration errors or\nwarnings the MTA encountered when parsing the\nconfiguration file it received from the Provisioning\nServer.\nFor each error, an entry is created in this table,\ncontaining the configuration parameters the MTA rejected\nand the associated reason (e.g., wrong or unknown OID,\ninappropriate object values). If the MTA\ndid not report a provisioning state of 'pass(1)' in\nthe pktcMtaDevProvisioningState object, this table MUST be\npopulated for each error or warning instance. Even if\ndifferent parameters share the same error type (e.g., all\nrealm name configuration parameters are invalid), all\nobserved errors or warnings must be reported as\ndifferent instances. Errors are placed into the table in\nno particular order. The table MUST be cleared each time\n\n\n\nthe MTA reboots.") pktcMtaDevErrorOidsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 140, 1, 1, 12, 1)).setIndexNames((0, "PKTC-IETF-MTA-MIB", "pktcMtaDevErrorOidIndex")) if mibBuilder.loadTexts: pktcMtaDevErrorOidsEntry.setDescription(" This entry contains the necessary information the MTA MUST\nattempt to provide in case of configuration file errors or\nwarnings.") pktcMtaDevErrorOidIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 1, 12, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcMtaDevErrorOidIndex.setDescription(" This object is the index of the MTA configuration error\ntable. It is an integer value that starts at value '1'\nand is incremented for each encountered configuration\nfile error or warning.\n\nThe maximum number of errors or warnings that can be\nrecorded in the pktcMtaDevErrorOidsTable is set to 1024 as\na configuration file is usually validated by operators\nbefore deployment. Given the possible number of\nconfiguration parameter assignments in the MTA\nconfiguration file, 1024 is perceived as a sufficient\nlimit even with future extensions.\n\nIf the number of the errors in the configuration file\nexceeds 1024, all errors beyond the 1024th one MUST\nbe ignored and not be reflected in the\npktcMtaDevErrorOidsTable.") pktcMtaDevErrorOid = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 1, 12, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevErrorOid.setDescription(" This object contains a human readable representation\n(character string) of the OID corresponding to the\nconfiguration file parameter that caused the particular\nerror.\nFor example, if the value of the pktcMtaDevEnabled object\nin the configuration file caused an error, then this\nobject instance will contain the human-readable string of\n'1.3.6.1.2.1.140.1.1.6.0'.\nIf the MTA generated an error because it was not able\nto recognize a particular OID, then this object\ninstance would contain an empty value (zero-length\nstring).\nFor example, if the value of an OID in the configuration\nfile was interpreted by the MTA as being 1.2.3.4.5, and if\nthe MTA was not able to recognize this OID as a valid one,\nthis object instance will contain a zero-length string.\n\nIf the number of errors in the configuration file exceeds\n1024, then for all subsequent errors, the\npktcMtaDevErrorOid of the table's 1024th entry MUST\ncontain a human-readable representation of the\npktcMtaDevErrorsTooManyErrors object; i.e., the string\n'1.3.6.1.2.1.140.1.1.4.1.0'.\nNote that the syntax of this object is SnmpAdminString\ninstead of OBJECT IDENTIFIER because the object value may\nnot be a valid OID due to human or configuration tool\nencoding errors.") pktcMtaDevErrorValue = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 1, 12, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevErrorValue.setDescription(" This object contains the value of the OID corresponding to\nthe configuration file parameter that caused the error.\nIf the MTA cannot recognize the OID of the\nconfiguration parameter causing the error, then this\nobject instance contains the OID itself as interpreted\nby the MTA in human-readable representation.\nIf the MTA can recognize the OID but generate an error due\nto a wrong value of the parameter, then the object\n\n\n\ninstance contains the erroneous value of the parameter as\nread from the configuration file.\nIn both cases, the value of this object must be\nrepresented in human-readable form as a character string.\nFor example, if the value of the pktcMtaDevEnabled object\nin the configuration file was 3 (invalid value), then the\npktcMtaDevErrorValue object instance will contain the\nhuman-readable (string) representation of value '3'.\nSimilarly, if the OID in the configuration file has been\ninterpreted by the MTA as being 1.2.3.4.5 and the MTA\ncannot recognize this OID as a valid one, then this\npktcMtaDevErrorValue object instance will contain human\nreadable (string) representation of value '1.2.3.4.5'.\n\nIf the number of errors in the configuration file exceeds\n1024, then for all subsequent errors, the\npktcMtaDevErrorValue of the table's 1024th entry MUST\ncontain a human-readable representation of the\npktcMtaDevErrorsTooManyErrors object; i.e., the string\n'1.3.6.1.2.1.140.1.1.4.1.0'.") pktcMtaDevErrorReason = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 1, 12, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevErrorReason.setDescription(" This object indicates the reason for the error or warning,\nas per the MTA's interpretation, in human-readable form.\nFor example:\n'VALUE NOT IN RANGE', 'VALUE DOES NOT MATCH TYPE',\n'UNSUPPORTED VALUE', 'LAST 4 BITS MUST BE SET TO ZERO',\n'OUT OF MEMORY - CANNOT STORE'.\nThis object may also contain vendor specific errors for\nprivate vendor OIDs and any proprietary error codes or\nmessages that can help diagnose configuration errors.\n\nIf the number of errors in the configuration file exceeds\n1024, then for all subsequent errors, the\npktcMtaDevErrorReason of the table's 1024th entry MUST\ncontain a human-readable string indicating the reason\nfor an error; for example,\n'Too many errors in the configuration file'.") pktcMtaDevServer = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 1, 2)) pktcMtaDevDhcpServerAddressType = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 1), InetAddressType().clone('ipv4')).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevDhcpServerAddressType.setDescription(" This object contains the Internet address type for the\nPacketCable DHCP servers specified in MTA MIB.") pktcMtaDevServerDhcp1 = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 2), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevServerDhcp1.setDescription(" This object contains the Internet Address of the primary\nDHCP server the MTA uses during provisioning.\nThe type of this address is determined by the value of\nthe pktcMtaDevDhcpServerAddressType object.\nWhen the latter has the value 'ipv4(1)', this object\ncontains the IP address of the primary DHCP\nserver. It is provided by the CM to the MTA via the DHCP\noption code 122, sub-option 1, as defined in RFC 3495.\n\nThe behavior of this object when the value of\npktcMtaDevDhcpServerAddressType is other than 'ipv4(1)'\nis not presently specified, but it may be specified\nin future versions of this MIB module.\nIf this object is of value\n0.0.0.0, the MTA MUST stop all provisioning\nattempts, as well as all other activities.\nIf this object is of value 255.255.255.255, it means\nthat there was no preference given for the primary\nDHCP server, and, the MTA must follow the logic of\nRFC2131, and the value of DHCP option 122,\nsub-option 2, must be ignored.") pktcMtaDevServerDhcp2 = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevServerDhcp2.setDescription(" This object contains the Internet Address of the secondary\nDHCP server the MTA uses during provisioning.\nThe type of this address is determined by the value of\nthe pktcMtaDevDhcpServerAddressType object.\nWhen the latter has the value 'ipv4(1)', this object\ncontains the IP address of the secondary DHCP\nserver. It is provided by the CM to the MTA via the DHCP\noption code 122, sub-option 2, as defined in RFC 3495.\n\nThe behavior of this object when the value of\npktcMtaDevDhcpServerAddressType is other than 'ipv4(1)'\nis not presently specified, but it may be specified\nin future versions of this MIB module.\nIf there was no secondary DHCP server provided in DHCP\nOption 122, sub-option 2, this object must return the value\n0.0.0.0.") pktcMtaDevDnsServerAddressType = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 4), InetAddressType().clone('ipv4')).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevDnsServerAddressType.setDescription(" This object contains the Internet address type for the\nPacketCable DNS servers specified in MTA MIB.") pktcMtaDevServerDns1 = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 5), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevServerDns1.setDescription(" This object contains the IP Address of the primary\nDNS server to be used by the MTA. The type of this address\nis determined by the value of the\npktcMtaDevDnsServerAddressType object.\nWhen the latter has the value 'ipv4(1)', this object\ncontains the IP address of the primary DNS server.\nAs defined in RFC 2132, PacketCable-compliant MTAs receive\nthe IP addresses of the DNS Servers in DHCP option 6.\nThe behavior of this object when the value of\npktcMtaDevDnsServerAddressType is other than 'ipv4(1)'\n\n\n\nis not presently specified, but it may be specified\nin future versions of this MIB module.\nIf a value is written into an instance of\npktcMtaDevServerDns1, the agent MUST NOT retain the\nsupplied value across MTA re-initializations or reboots.") pktcMtaDevServerDns2 = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 6), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevServerDns2.setDescription(" This object contains the IP Address of the secondary\nDNS server to be used by the MTA. The type of this address\nis determined by the value of the\npktcMtaDevDnsServerAddressType object.\nWhen the latter has the value 'ipv4(1)', this object\ncontains the IP address of the secondary DNS\nserver. As defined in RFC 2132, PacketCable-compliant MTAs\nreceive the IP addresses of the DNS Servers in DHCP\noption 6.\nThe behavior of this object when the value of\npktcMtaDevDnsServerAddressType is other than 'ipv4(1)'\nis not presently specified, but it may be specified\nin future versions of this MIB module.\nIf a value is written into an instance of\npktcMtaDevServerDns2, the agent MUST NOT retain the\nsupplied value across MTA re-initializations or reboots.") pktcMtaDevTimeServerAddressType = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 7), InetAddressType().clone('ipv4')).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevTimeServerAddressType.setDescription(" This object contains the Internet address type for the\nPacketCable Time servers specified in MTA MIB.") pktcMtaDevTimeServer = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 8), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevTimeServer.setDescription(" This object contains the Internet Address of the Time\nServer used by an S-MTA for Time Synchronization. The type\nof this address is determined by the value of the\npktcMtaDevTimeServerAddressType object.\nWhen the latter has the value 'ipv4(1)', this object\ncontains the IP address of the Time Server used for Time\nSynchronization.\nIn the case of an S-MTA, this object must be\npopulated with a value other than 0.0.0.0 as obtained\nfrom DHCP option 4. The protocol by which the time of day\nMUST be retrieved is defined in RFC 868.\nIn the case of an E-MTA, this object must contain a\nvalue of 0.0.0.0 if the address type is 'ipv4(1)' since\nan E-MTA does not use the Time Protocol for time\nsynchronization (an E-MTA uses the time retrieved by the\nDOCSIS cable modem).\nThe behavior of this object when the value of\npktcMtaDevTimeServerAddressType is other than 'ipv4(1)'\nis not presently specified, but it may be specified in\nfuture versions of this MIB module.\nIf a value is written into an instance of\npktcMtaDevTimeServer, the agent MUST NOT retain the\nsupplied value across MTA re-initializations or reboots.") pktcMtaDevConfigFile = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 9), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevConfigFile.setDescription(" This object specifies the MTA device configuration file\ninformation, including the access method, the server name,\nand the configuration file name. The value of this object\nis the Uniform Resource Locator (URL) of the configuration\nfile for TFTP or HTTP download.\nIf this object value is a TFTP URL, it must be formatted\nas defined in RFC 3617.\nIf this object value is an HTTP URL, it must be formatted\nas defined in RFC 2616.\nIf the MTA SNMP Enrollment mechanism is used, then the MTA\nmust download the file provided by the Provisioning Server\n\n\n\nduring provisioning via an SNMP SET on this object.\nIf the MTA SNMP Enrollment mechanism is not used, this\nobject MUST contain the URL value corresponding to the\n'siaddr' and 'file' fields received in the DHCP ACK to\nlocate the configuration file: the 'siaddr' and 'file'\nfields represent the host and file of the TFTP URL,\nrespectively. In this case, the MTA MUST return an\n'inconsistentValue' error in response to SNMP SET\noperations.\nThe MTA MUST return a zero-length string if the server\naddress (host part of the URL) is unknown.\nIf a value is written into an instance of\npktcMtaDevConfigFile, the agent MUST NOT retain the\nsupplied value across MTA re-initializations or reboots.") pktcMtaDevSnmpEntity = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevSnmpEntity.setDescription(" This object contains the FQDN of the SNMP entity of the\nProvisioning Server. When the MTA SNMP Enrollment\nMechanism is used, this object represents the server that\nthe MTA communicates with, that it receives the\nconfiguration file URL from, and that it sends the\nenrollment notification to. The SNMP entity is also the\ndestination entity for all the provisioning\nnotifications. It may be used for post-provisioning\nSNMP operations. During the provisioning phase, this\nSNMP entity FQDN is supplied to the MTA via DHCP option\n122, sub-option 3, as defined in RFC 3495. The MTA must\nresolve the FQDN value before its very first network\ninteraction with the SNMP entity during the provisioning\nphase.") pktcMtaDevProvConfigHash = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevProvConfigHash.setDescription(" This object contains the hash value of the contents of the\nconfiguration file.\nThe authentication algorithm is Secure Hashing Algorithm\n1 (SHA-1), and the length is 160 bits. The hash\ncalculation MUST follow the requirements defined in the\nPacketCable Security Specification. When the MTA SNMP\nEnrollment mechanism is used, this hash value is\ncalculated and sent to the MTA prior to sending the\nconfig file. This object value is then provided by the\nProvisioning server via an SNMP SET operation.\nWhen the MTA SNMP Enrollment mechanism is not in use, the\nhash value is provided in the configuration file itself,\nand it is also calculated by the MTA. This object value\nMUST represent the hash value calculated by the MTA.\nWhen the MTA SNMP Enrollment mechanism is not in use, the\nMTA must reject all SNMP SET operations on this object and\nreturn an 'inconsistentValue' error.\nIf a value is written into an instance of\npktcMtaDevProvConfigHash, the agent MUST NOT retain the\nsupplied value across MTA re-initializations or reboots.") pktcMtaDevProvConfigKey = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevProvConfigKey.setDescription(" This object contains the key used to encrypt/decrypt\nthe configuration file when secure SNMPv3 provisioning\nis used.\nThe value of this object is provided along with the\nconfiguration file information (pktcMtaDevConfigFile)\nand hash (pktcMtaDevProvConfigHash) by the Provisioning\nServer via SNMP SET once the configuration file has been\ncreated, as defined by the PacketCable Security\nspecification.\n\nThe privacy algorithm is defined by the\npktcMtaDevProvConfigEncryptAlg MIB object. The\nMTA requirements related to the privacy algorithm are\ndefined in the PacketCable Security Specification.\n\nIf this object is set at any other provisioning step than\nthat allowed by the PacketCable MTA Device\n\n\n\nProvisioning Specification, the MTA SHOULD return\nan 'inconsistentValue' error.\nThis object must not be used in non secure provisioning\nmode. In non-secure provisioning modes, the MTA SHOULD\nreturn an 'inconsistentValue' in response to SNMP SET\noperations, and the MTA SHOULD return a zero-length\nstring in response to SNMP GET operations.\nIf a value is written into an instance of\npktcMtaDevProvConfigKey, the agent MUST NOT retain the\nsupplied value across MTA re-initializations or reboots.") pktcMtaDevProvConfigEncryptAlg = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 13), PktcMtaDevProvEncryptAlg().clone('des64CbcMode')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevProvConfigEncryptAlg.setDescription(" This object defines the encryption algorithm used for\nprivacy protection of the MTA Configuration File content.") pktcMtaDevProvSolicitedKeyTimeout = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 180)).clone(3)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pktcMtaDevProvSolicitedKeyTimeout.setDescription(" This object defines a Kerberos Key Management timer on the\nMTA. It is the time period during which the MTA saves the\nnonce and Server Kerberos Principal Identifier to match an\nAP Request and its associated AP Reply response from the\nProvisioning Server.\nAfter the timeout has been exceeded, the client discards\nthis (nonce, Server Kerberos Principal Identifier) pair,\nafter which it will no longer accept a matching AP Reply.\nThis timer only applies when the Provisioning Server\ninitiated key management for SNMPv3 (with a\nWake Up message).\nIf this object is set to a zero value, the MTA MUST return\nan 'inconsistentValue' in response to SNMP SET operations.\nThis object should not be used in non-secure provisioning\nmodes. In non-secure provisioning modes, the MTA MUST\nreturn an 'inconsistentValue' in response to SNMP SET\noperations, and the MTA MUST return a zero value in\n\n\n\nresponse to SNMP GET operations.\nIf a value is written into an instance of\npktcMtaDevProvSolicitedKeyTimeout, the agent MUST NOT\nretain the supplied value across MTA re-initializations\nor reboots.") pktcMtaDevProvUnsolicitedKeyMaxTimeout = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 600)).clone(600)).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: pktcMtaDevProvUnsolicitedKeyMaxTimeout.setDescription(" This object defines the timeout value that applies to\nan MTA-initiated AP-REQ/REP key management exchange with\nthe Provisioning Server in SNMPv3 provisioning.\nIt is the maximum timeout value, and it may not be exceeded\nin the exponential back-off algorithm. If the DHCP option\n\n\n\ncode 122, sub-option 5, is provided to the MTA, it\noverwrites this value.\nIn non-secure provisioning modes, the MTA MUST\nreturn a zero value in response to SNMP GET\noperations.") pktcMtaDevProvUnsolicitedKeyNomTimeout = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 600)).clone(3)).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: pktcMtaDevProvUnsolicitedKeyNomTimeout.setDescription(" This object defines the starting value of the timeout\nfor the AP-REQ/REP Backoff and Retry mechanism\nwith exponential timeout in SNMPv3 provisioning.\nIf the DHCP option code 122, sub-option 5, is provided\nthe MTA, it overwrites this value.\nIn non-secure provisioning modes, the MTA MUST\nreturn a zero value in response to SNMP GET\noperations.") pktcMtaDevProvUnsolicitedKeyMaxRetries = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32)).clone(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevProvUnsolicitedKeyMaxRetries.setDescription(" This object contains a retry counter that applies to\nan MTA-initiated AP-REQ/REP key management exchange with\nthe Provisioning Server in secure SNMPv3 provisioning.\nIt is the maximum number of retries before the MTA stops\nattempting to establish a Security Association with\nProvisioning Server.\nIf the DHCP option code 122, sub-option 5, is provided to\nthe MTA, it overwrites this value.\nIf this object is set to a zero value, the MTA MUST return\nan 'inconsistentValue' in response to SNMP SET operations.\nIn non-secure provisioning modes, the MTA MUST\nreturn a zero value in response to SNMP GET\noperations.") pktcMtaDevProvKerbRealmName = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 18), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevProvKerbRealmName.setDescription(" This object contains the name of the associated\nprovisioning Kerberos realm acquired during the MTA4\nprovisioning step (DHCP Ack) for SNMPv3 provisioning.\nThe uppercase ASCII representation of the associated\nKerberos realm name MUST be used by both the Manager (SNMP\nentity) and the MTA.\nThe Kerberos realm name for the Provisioning Server is\nsupplied to the MTA via DHCP option code 122, sub-option 6,\nas defined in RFC 3495. In secure SNMP provisioning mode,\nthe value of the Kerberos realm name for the Provisioning\nServer supplied in the MTA configuration file must match\nthe value supplied in the DHCP option code 122,\nsub-option 6. Otherwise, the value of this object must\ncontain the value supplied in DHCP Option 122,\nsub-option 6.") pktcMtaDevProvState = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 2, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("operational", 1), ("waitingForSnmpSetInfo", 2), ("waitingForTftpAddrResponse", 3), ("waitingForConfigFile", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevProvState.setDescription(" This object defines the MTA provisioning state.\nIf the state is:\n\n 'operational(1)', the device has completed the loading\n and processing of the initialization parameters.\n\n 'waitingForSnmpSetInfo(2)', the device is waiting on\n its configuration file download access information.\n Note that this state is only reported when the MTA\n\n\n\n SNMP enrollment mechanism is used.\n\n 'waitingForTftpAddrResponse(3)', the device has sent a\n DNS request to resolve the server providing the\n configuration file, and it is awaiting for a response.\n Note that this state is only reported when the MTA\n SNMP enrollment mechanism is used.\n\n 'waitingForConfigFile(4)', the device has sent a\n request via TFTP or HTTP for the download of its\n configuration file, and it is awaiting for a response or\n the file download is in progress.") pktcMtaDevSecurity = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 1, 3)) pktcMtaDevManufacturerCertificate = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 3, 1), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevManufacturerCertificate.setDescription(" This object contains the MTA Manufacturer Certificate.\nThe object value must be the ASN.1 DER encoding of the MTA\nmanufacturer's X.509 public key certificate. The MTA\nManufacturer Certificate is issued to each MTA\nmanufacturer and is installed into each MTA at the time of\nmanufacture or with a secure code download. The specific\nrequirements related to this certificate are defined in\nthe PacketCable or IPCablecom Security specifications.") pktcMtaDevCertificate = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 3, 2), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevCertificate.setDescription(" This object contains the MTA Device Certificate.\nThe object value must be the ASN.1 DER encoding of the\nMTA's X.509 public-key certificate issued by the\nmanufacturer and installed into the MTA at the time of\n\n\n\nmanufacture or with a secure code download.\nThis certificate contains the MTA MAC address. The\nspecific requirements related to this certificate are\ndefined in the PacketCable or IPCablecom Security\nspecifications.") pktcMtaDevCorrelationId = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 3, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevCorrelationId.setDescription(" This object contains a correlation ID, an arbitrary value\ngenerated by the MTA that will be exchanged as part of the\ndevice capability data to the Provisioning Application.\nThis random value is used as an identifier to correlate\nrelated events in the MTA provisioning sequence.\nThis value is intended for use only during the MTA\ninitialization and configuration file download.") pktcMtaDevTelephonyRootCertificate = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 3, 4), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevTelephonyRootCertificate.setDescription(" This object contains the telephony Service Provider Root\ncertificate. The object value is the ASN.1 DER encoding of\nthe IP Telephony Service Provider Root X.509 public key\ncertificate. This certification is stored in the MTA\nnon-volatile memory and can be updated with a secure code\ndownload. This certificate is used to validate the initial\nAS Reply received by the MTA from the Key Distribution\nCenter (KDC) during the MTA initialization. The specific\nrequirements related to this certificate are defined in\nthe PacketCable or IPCablecom Security specifications.") pktcMtaDevRealmAvailSlot = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 3, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevRealmAvailSlot.setDescription(" This object contains the index number of the first\navailable entry in the realm table (pktcMtaDevRealmTable).\nIf all the entries in the realm table have been assigned,\nthis object contains the value of zero.\nA management station should create new entries in the\nrealm table, using the following procedure:\n\nFirst, issue a management protocol retrieval operation\nto determine the value of the first available index in the\nrealm table (pktcMtaDevRealmAvailSlot).\n\nSecond, issue a management protocol SET operation\nto create an instance of the pktcMtaDevRealmStatus\nobject by setting its value to 'createAndWait(5)'.\n\nThird, if the SET operation succeeded, continue\nmodifying the object instances corresponding to the newly\ncreated conceptual row, without fear of collision with\nother management stations. When all necessary conceptual\ncolumns of the row are properly populated (via SET\noperations or default values), the management station may\nSET the pktcMtaDevRealmStatus object to 'active(1)'.") pktcMtaDevRealmTable = MibTable((1, 3, 6, 1, 2, 1, 140, 1, 3, 6)) if mibBuilder.loadTexts: pktcMtaDevRealmTable.setDescription(" This object contains the realm table.\nThe CMS table (pktcMtaDevCmsTable) and the realm table\n(pktcMtaDevRealmTable) are used for managing the MTA-CMS\nSecurity Associations. The realm table defines the\nKerberos realms for the Application Servers (CMSes and the\nProvisioning Server).") pktcMtaDevRealmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1)).setIndexNames((0, "PKTC-IETF-MTA-MIB", "pktcMtaDevRealmIndex")) if mibBuilder.loadTexts: pktcMtaDevRealmEntry.setDescription(" This table entry object lists the MTA security parameters\nfor a single Kerberos realm. The conceptual rows MUST NOT\npersist across MTA reboots.") pktcMtaDevRealmIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcMtaDevRealmIndex.setDescription(" This object defines the realm table index.") pktcMtaDevRealmName = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmName.setDescription(" This object identifies the Kerberos realm name in all\ncapitals. The MTA MUST prohibit the instantiation of any\ntwo rows with identical Kerberos realm names. The MTA MUST\nalso verify that any search operation involving Kerberos\nrealm names is done using the uppercase ASCII\nrepresentation of the characters.") pktcMtaDevRealmPkinitGracePeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(15, 600)).clone(15)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmPkinitGracePeriod.setDescription(" This object contains the PKINIT Grace Period. For the\npurpose of key management with Application Servers (CMSes\n\n\n\nor the Provisioning Server), the MTA must utilize the\nPKINIT exchange to obtain Application Server tickets. The\nMTA may utilize the PKINIT exchange to obtain Ticket\nGranting Tickets (TGTs), which are then used to obtain\nApplication Server tickets in a TGS exchange.\nThe PKINIT exchange occurs according to the current Ticket\nExpiration Time (TicketEXP) and on the PKINIT Grace Period\n(PKINITGP). The MTA MUST initiate the PKINIT exchange at\nthe time: TicketEXP - PKINITGP.") pktcMtaDevRealmTgsGracePeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 600)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmTgsGracePeriod.setDescription(" This object contains the Ticket Granting Server Grace\nPeriod (TGSGP). The Ticket Granting Server (TGS)\nRequest/Reply exchange may be performed by the MTA\non demand whenever an Application Server ticket is\nneeded to establish security parameters. If the MTA\npossesses a ticket that corresponds to the Provisioning\nServer or a CMS that currently exists in the CMS table,\nthe MTA MUST initiate the TGS Request/Reply exchange\nat the time: TicketEXP - TGSGP.") pktcMtaDevRealmOrgName = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 5), LongUtf8String()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmOrgName.setDescription(" This object contains the X.500 organization name attribute\nas defined in the subject name of the service provider\ncertificate.") pktcMtaDevRealmUnsolicitedKeyMaxTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 600)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmUnsolicitedKeyMaxTimeout.setDescription(" This object specifies the maximum time the MTA will\nattempt to perform the exponential back-off algorithm.\nThis timer only applies when the MTA initiated key\nmanagement. If the DHCP option code 122, sub-option 4, is\nprovided to the MTA, it overwrites this value.\n\nUnsolicited key updates are retransmitted according to an\nexponential back-off mechanism using two timers and a\nmaximum retry counter for AS replies.\nThe initial retransmission timer value is the nominal\ntimer value (pktcMtaDevRealmUnsolicitedKeyNomTimeout). The\nretransmissions occur with an exponentially increasing\ninterval that caps at the maximum timeout value\n(pktcMtaDevRealmUnsolicitedKeyMaxTimeout).\nRetransmissions stop when the maximum retry counter is\nreached (pktcMatDevRealmUnsolicitedMaxRetries).\n\nFor example, with values of 3 seconds for the nominal\ntimer, 20 seconds for the maximum timeout, and 5 retries\nmax, retransmission intervals will be 3 s, 6 s,\n12 s, 20 s, and 20 s, and retransmissions then stop because\nthe maximum number of retries has been reached.") pktcMtaDevRealmUnsolicitedKeyNomTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 600000)).clone(3000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmUnsolicitedKeyNomTimeout.setDescription(" This object specifies the initial timeout value\nfor the AS-REQ/AS-REP exponential back-off and retry\nmechanism. If the DHCP option code 122, sub-option 4, is\nprovided to the MTA, it overwrites this value.\nThis value should account for the average roundtrip\ntime between the MTA and the KDC, as well as the\nprocessing delay on the KDC.\n\n\n\n\nUnsolicited key updates are retransmitted according to an\nexponential back-off mechanism using two timers and a\nmaximum retry counter for AS replies.\nThe initial retransmission timer value is the nominal\ntimer value (pktcMtaDevRealmUnsolicitedKeyNomTimeout). The\nretransmissions occur with an exponentially increasing\ninterval that caps at the maximum timeout value\n(pktcMtaDevRealmUnsolicitedKeyMaxTimeout).\nRetransmissions stop when the maximum retry counter is\nreached (pktcMatDevRealmUnsolicitedMaxRetries).\n\nFor example, with values of 3 seconds for the nominal\ntimer, 20 seconds for the maximum timeout, and 5 retries\nmax, in retransmission intervals will be 3 s, 6 s,\n12 s, 20 s, and 20 s; retransmissions then stop because\nthe maximum number of retries has been reached.") pktcMtaDevRealmUnsolicitedKeyMaxRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmUnsolicitedKeyMaxRetries.setDescription(" This object specifies the maximum number of retries the\nMTA attempts to obtain a ticket from the KDC.\n\nUnsolicited key updates are retransmitted according to an\nexponential back-off mechanism using two timers and a\nmaximum retry counter for AS replies.\nThe initial retransmission timer value is the nominal\ntimer value (pktcMtaDevRealmUnsolicitedKeyNomTimeout). The\nretransmissions occur with an exponentially increasing\ninterval that caps at the maximum timeout value\n(pktcMtaDevRealmUnsolicitedKeyMaxTimeout).\nRetransmissions stop when the maximum retry counter is\nreached (pktcMatDevRealmUnsolicitedMaxRetries).\n\nFor example, with values of 3 seconds for the nominal\ntimer, 20 seconds for the maximum timeout, and 5 retries\nmax, retransmission intervals will be 3 s, 6 s,\n12 s, 20 s, and 20 s; retransmissions then stop because\nthe maximum number of retries has been reached.") pktcMtaDevRealmStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 6, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevRealmStatus.setDescription(" This object defines the row status of this realm in the\nrealm table (pktcMtaDevRealmTable).\n\nAn entry in this table is not qualified for activation\nuntil the object instances of all corresponding columns\nhave been initialized, either by default values, or via\nexplicit SET operations. Until all object instances in\nthis row are initialized, the status value for this realm\nmust be 'notReady(3)'.\nIn particular, two columnar objects must be explicitly\nSET: the realm name (pktcMtaDevRealmName) and the\norganization name (pktcMtaDevRealmOrgName). Once these 2\nobjects have been set and the row status is SET to\n'active(1)', the MTA MUST NOT allow any modification of\nthese 2 object values.\nThe value of this object has no effect on whether other\ncolumnar objects in this row can be modified.") pktcMtaDevCmsAvailSlot = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 3, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevCmsAvailSlot.setDescription(" This object contains the index number of the first\navailable entry in the CMS table (pktcMtaDevCmsTable).\nIf all the entries in the CMS table have been assigned,\nthis object contains the value of zero.\nA management station should create new entries in the\nCMS table, using the following procedure:\n\nFirst, issue a management protocol retrieval operation\nto determine the value of the first available index in the\nCMS table (pktcMtaDevCmsAvailSlot).\n\nSecond, issue a management protocol SET operation\nto create an instance of the pktcMtaDevCmsStatus\nobject by setting its value to 'createAndWait(5)'.\n\nThird, if the SET operation succeeded, continue\nmodifying the object instances corresponding to the newly\ncreated conceptual row, without fear of collision with\nother management stations. When all necessary conceptual\ncolumns of the row are properly populated (via SET\noperations or default values), the management station may\nSET the pktcMtaDevCmsStatus object to 'active(1)'.") pktcMtaDevCmsTable = MibTable((1, 3, 6, 1, 2, 1, 140, 1, 3, 8)) if mibBuilder.loadTexts: pktcMtaDevCmsTable.setDescription(" This object defines the CMS table.\nThe CMS table (pktcMtaDevCmsTable) and the realm table\n(pktcMtaDevRealmTable) are used for managing security\nbetween the MTA and CMSes. Each CMS table entry defines\na CMS the managed MTA is allowed to communicate with\nand contains security parameters for key management with\nthat CMS.") pktcMtaDevCmsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1)).setIndexNames((0, "PKTC-IETF-MTA-MIB", "pktcMtaDevCmsIndex")) if mibBuilder.loadTexts: pktcMtaDevCmsEntry.setDescription(" This table entry object lists the MTA key management\nparameters used when establishing Security Associations\nwith a CMS. The conceptual rows MUST NOT persist across\nMTA reboots.") pktcMtaDevCmsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcMtaDevCmsIndex.setDescription(" This object defines the CMS table index.") pktcMtaDevCmsFqdn = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsFqdn.setDescription(" This object specifies the CMS FQDN. The MTA must\nprohibit the instantiation of any two rows with identical\nFQDNs. The MTA must also verify that any search and/or\ncomparison operation involving a CMS FQDN is case\ninsensitive. The MTA must resolve the CMS FQDN as required\n by the corresponding PacketCable Specifications.") pktcMtaDevCmsKerbRealmName = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsKerbRealmName.setDescription(" This object identifies the Kerberos realm name in uppercase\ncharacters associated with the CMS defined in this\n\n\n\nconceptual row. The object value is a reference\npoint to the corresponding Kerberos realm name in the\nrealm table (pktcMtaDevRealmTable).") pktcMtaDevCmsMaxClockSkew = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800)).clone(300)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsMaxClockSkew.setDescription(" This object specifies the maximum allowable clock skew\nbetween the MTA and the CMS defined in this row.") pktcMtaDevCmsSolicitedKeyTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 30000)).clone(1000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsSolicitedKeyTimeout.setDescription(" This object defines a Kerberos Key Management timer on the\nMTA. It is the time period during which the MTA saves the\nnonce and Server Kerberos Principal Identifier to match an\nAP Request and its associated AP Reply response from the\nCMS. This timer only applies when the CMS initiated key\nmanagement (with a Wake Up message or a Rekey message).") pktcMtaDevCmsUnsolicitedKeyMaxTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 600)).clone(600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsUnsolicitedKeyMaxTimeout.setDescription(" This object defines the timeout value that only applies\nto an MTA-initiated key management exchange. It is the\nmaximum timeout, and it may not be exceeded in the\nexponential back-off algorithm.") pktcMtaDevCmsUnsolicitedKeyNomTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 30000)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsUnsolicitedKeyNomTimeout.setDescription(" This object defines the starting value of the timeout\nfor an MTA-initiated key management. It should account for\nthe average roundtrip time between the MTA and the CMS and\nthe processing time on the CMS.") pktcMtaDevCmsUnsolicitedKeyMaxRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsUnsolicitedKeyMaxRetries.setDescription(" This object contains the maximum number of retries before\nthe MTA stops attempting to establish a Security\nAssociation with the CMS.") pktcMtaDevCmsIpsecCtrl = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 9), TruthValue().clone('true')).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcMtaDevCmsIpsecCtrl.setDescription(" This object specifies the MTA IPSec control flag.\nIf the object value is 'true', the MTA must use Kerberos\nKey Management and IPsec to communicate with this CMS. If\nit is 'false', IPSec Signaling Security and Kerberos key\nmanagement are disabled for this specific CMS.") pktcMtaDevCmsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 140, 1, 3, 8, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcMtaDevCmsStatus.setDescription(" This object defines the row status associated with this\nparticular CMS in the CMS table (pktcMtaDevCmsTable).\n\nAn entry in this table is not qualified for activation\nuntil the object instances of all corresponding columns\nhave been initialized, either by default values or via\nexplicit SET operations. Until all object instances in\nthis row are initialized, the status value for this realm\nmust be 'notReady(3)'.\nIn particular, two columnar objects must be SET: the\nCMS FQDN (pktcMtaDevCmsFqdn) and the Kerberos realm name\n(pktcMtaDevCmsKerbRealmName). Once these 2 objects have\nbeen set and the row status is SET to 'active(1)', the MTA\nMUST NOT allow any modification of these 2 object values.\n\nThe value of this object has no effect on\nwhether other columnar objects in this row can be\nmodified.") pktcMtaDevResetKrbTickets = MibScalar((1, 3, 6, 1, 2, 1, 140, 1, 3, 9), Bits().subtype(namedValues=NamedValues(("invalidateProvOnReboot", 0), ("invalidateAllCmsOnReboot", 1), )).clone(())).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcMtaDevResetKrbTickets.setDescription(" This object defines a Kerberos Ticket Control Mask that\ninstructs the MTA to invalidate the specific Application\n\n\n\nServer Kerberos ticket(s) that are stored locally in the\nMTA NVRAM (non-volatile or persistent memory).\nIf the MTA does not store Kerberos tickets in NVRAM, it\nMUST ignore setting of this object and MUST report a BITS\nvalue of zero when the object is read.\nIf the MTA supports Kerberos tickets storage in NVRAM, the\nobject value is encoded as follows:\n- Setting the invalidateProvOnReboot bit (bit 0) to 1\n means that the MTA MUST invalidate the Kerberos\n Application Ticket(s) for the Provisioning Application\n at the next MTA reboot if secure SNMP provisioning mode\n is used. In non-secure provisioning modes, the MTA MUST\n return an 'inconsistentValue' in response to SNMP SET\n operations with a bit 0 set to 1.\n- Setting the invalidateAllCmsOnReboot bit (bit 1) to 1\n means that the MTA MUST invalidate the Kerberos\n Application Ticket(s) for all CMSes currently assigned\n to the MTA endpoints.\nIf a value is written into an instance of\npktcMtaDevResetKrbTickets, the agent MUST retain the\nsupplied value across an MTA re-initialization or\nreboot.") pktcMtaDevErrors = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 1, 4)) pktcMtaDevErrorsTooManyErrors = ObjectIdentity((1, 3, 6, 1, 2, 1, 140, 1, 4, 1)) if mibBuilder.loadTexts: pktcMtaDevErrorsTooManyErrors.setDescription("This object defines the OID corresponding to the error\ncondition when too many errors are encountered in the\nMTA configuration file during provisioning.") pktcMtaConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 2)) pktcMtaCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 2, 1)) pktcMtaGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 140, 2, 2)) # Augmentions # Notifications pktcMtaDevProvisioningEnrollment = NotificationType((1, 3, 6, 1, 2, 1, 140, 0, 1)).setObjects(*(("PKTC-IETF-MTA-MIB", "pktcMtaDevTypeIdentifier"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCorrelationId"), ("IF-MIB", "ifPhysAddress"), ("SNMPv2-MIB", "sysDescr"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevSwCurrentVers"), ) ) if mibBuilder.loadTexts: pktcMtaDevProvisioningEnrollment.setDescription(" This INFORM notification is issued by the MTA to initiate\nthe PacketCable provisioning process when the MTA SNMP\nenrollment mechanism is used.\nIt contains the system description, the current software\nversion, the MTA device type identifier, the MTA MAC\naddress (obtained in the MTA ifTable in the ifPhysAddress\nobject that corresponds to the ifIndex 1), and a\ncorrelation ID.") pktcMtaDevProvisioningStatus = NotificationType((1, 3, 6, 1, 2, 1, 140, 0, 2)).setObjects(*(("PKTC-IETF-MTA-MIB", "pktcMtaDevProvisioningState"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCorrelationId"), ("IF-MIB", "ifPhysAddress"), ) ) if mibBuilder.loadTexts: pktcMtaDevProvisioningStatus.setDescription(" This INFORM notification may be issued by the MTA to\nconfirm the completion of the PacketCable provisioning\nprocess, and to report its provisioning completion\nstatus.\nIt contains the MTA MAC address (obtained in the MTA\nifTable in the ifPhysAddress object that corresponds\nto the ifIndex 1), a correlation ID and the MTA\nprovisioning state as defined in\npktcMtaDevProvisioningState.") # Groups pktcMtaGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 140, 2, 2, 1)).setObjects(*(("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmUnsolicitedKeyMaxTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevTimeServerAddressType"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevServerDns2"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevServerDns1"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevSnmpEntity"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvConfigEncryptAlg"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevServerDhcp2"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevServerDhcp1"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevSerialNumber"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsIpsecCtrl"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvUnsolicitedKeyMaxRetries"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsUnsolicitedKeyMaxRetries"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevErrorValue"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmUnsolicitedKeyNomTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvConfigKey"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmPkinitGracePeriod"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevSwCurrentVers"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsSolicitedKeyTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevFQDN"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsAvailSlot"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsUnsolicitedKeyNomTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevErrorOid"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmStatus"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevDhcpServerAddressType"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvSolicitedKeyTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmUnsolicitedKeyMaxRetries"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvisioningTimer"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvisioningState"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCertificate"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsUnsolicitedKeyMaxTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvState"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvKerbRealmName"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevTypeIdentifier"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmAvailSlot"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevConfigFile"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevDnsServerAddressType"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsMaxClockSkew"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsKerbRealmName"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvisioningCounter"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevEnabled"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevTelephonyRootCertificate"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevManufacturerCertificate"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvUnsolicitedKeyNomTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmTgsGracePeriod"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsFqdn"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevTimeServer"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmName"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevResetKrbTickets"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvConfigHash"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCmsStatus"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevCorrelationId"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevResetNow"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvUnsolicitedKeyMaxTimeout"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevHttpAccess"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevErrorReason"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevEndPntCount"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevRealmOrgName"), ) ) if mibBuilder.loadTexts: pktcMtaGroup.setDescription(" A collection of objects for managing PacketCable or\nIPCablecom MTA implementations.") pktcMtaNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 140, 2, 2, 2)).setObjects(*(("PKTC-IETF-MTA-MIB", "pktcMtaDevProvisioningEnrollment"), ("PKTC-IETF-MTA-MIB", "pktcMtaDevProvisioningStatus"), ) ) if mibBuilder.loadTexts: pktcMtaNotificationGroup.setDescription(" A collection of notifications dealing with the change of\nMTA provisioning status.") # Compliances pktcMtaBasicCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 140, 2, 1, 1)).setObjects(*(("PKTC-IETF-MTA-MIB", "pktcMtaGroup"), ("PKTC-IETF-MTA-MIB", "pktcMtaNotificationGroup"), ) ) if mibBuilder.loadTexts: pktcMtaBasicCompliance.setDescription(" The compliance statement for MTA devices that implement\nPacketCable or IPCablecom requirements.\n\nThis compliance statement applies to MTA implementations\nthat support PacketCable 1.0 or IPCablecom requirements,\nwhich are not IPv6-capable at the time of this\n\n\n\nRFC publication.") pktcMtaBasicSmtaCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 140, 2, 1, 2)).setObjects(*(("PKTC-IETF-MTA-MIB", "pktcMtaGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSoftwareGroupV2"), ("PKTC-IETF-MTA-MIB", "pktcMtaNotificationGroup"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeDownloadGroup"), ) ) if mibBuilder.loadTexts: pktcMtaBasicSmtaCompliance.setDescription(" The compliance statement for S-MTA devices\nthat implement PacketCable or IPCablecom requirements.\n\nThis compliance statement applies to S-MTA implementations\nthat support PacketCable or IPCablecom requirements,\nwhich are not IPv6-capable at the time of this\nRFC publication.") # Exports # Module identity mibBuilder.exportSymbols("PKTC-IETF-MTA-MIB", PYSNMP_MODULE_ID=pktcIetfMtaMib) # Types mibBuilder.exportSymbols("PKTC-IETF-MTA-MIB", PktcMtaDevProvEncryptAlg=PktcMtaDevProvEncryptAlg) # Objects mibBuilder.exportSymbols("PKTC-IETF-MTA-MIB", pktcIetfMtaMib=pktcIetfMtaMib, pktcMtaNotification=pktcMtaNotification, pktcMtaMibObjects=pktcMtaMibObjects, pktcMtaDevBase=pktcMtaDevBase, pktcMtaDevResetNow=pktcMtaDevResetNow, pktcMtaDevSerialNumber=pktcMtaDevSerialNumber, pktcMtaDevSwCurrentVers=pktcMtaDevSwCurrentVers, pktcMtaDevFQDN=pktcMtaDevFQDN, pktcMtaDevEndPntCount=pktcMtaDevEndPntCount, pktcMtaDevEnabled=pktcMtaDevEnabled, pktcMtaDevTypeIdentifier=pktcMtaDevTypeIdentifier, pktcMtaDevProvisioningState=pktcMtaDevProvisioningState, pktcMtaDevHttpAccess=pktcMtaDevHttpAccess, pktcMtaDevProvisioningTimer=pktcMtaDevProvisioningTimer, pktcMtaDevProvisioningCounter=pktcMtaDevProvisioningCounter, pktcMtaDevErrorOidsTable=pktcMtaDevErrorOidsTable, pktcMtaDevErrorOidsEntry=pktcMtaDevErrorOidsEntry, pktcMtaDevErrorOidIndex=pktcMtaDevErrorOidIndex, pktcMtaDevErrorOid=pktcMtaDevErrorOid, pktcMtaDevErrorValue=pktcMtaDevErrorValue, pktcMtaDevErrorReason=pktcMtaDevErrorReason, pktcMtaDevServer=pktcMtaDevServer, pktcMtaDevDhcpServerAddressType=pktcMtaDevDhcpServerAddressType, pktcMtaDevServerDhcp1=pktcMtaDevServerDhcp1, pktcMtaDevServerDhcp2=pktcMtaDevServerDhcp2, pktcMtaDevDnsServerAddressType=pktcMtaDevDnsServerAddressType, pktcMtaDevServerDns1=pktcMtaDevServerDns1, pktcMtaDevServerDns2=pktcMtaDevServerDns2, pktcMtaDevTimeServerAddressType=pktcMtaDevTimeServerAddressType, pktcMtaDevTimeServer=pktcMtaDevTimeServer, pktcMtaDevConfigFile=pktcMtaDevConfigFile, pktcMtaDevSnmpEntity=pktcMtaDevSnmpEntity, pktcMtaDevProvConfigHash=pktcMtaDevProvConfigHash, pktcMtaDevProvConfigKey=pktcMtaDevProvConfigKey, pktcMtaDevProvConfigEncryptAlg=pktcMtaDevProvConfigEncryptAlg, pktcMtaDevProvSolicitedKeyTimeout=pktcMtaDevProvSolicitedKeyTimeout, pktcMtaDevProvUnsolicitedKeyMaxTimeout=pktcMtaDevProvUnsolicitedKeyMaxTimeout, pktcMtaDevProvUnsolicitedKeyNomTimeout=pktcMtaDevProvUnsolicitedKeyNomTimeout, pktcMtaDevProvUnsolicitedKeyMaxRetries=pktcMtaDevProvUnsolicitedKeyMaxRetries, pktcMtaDevProvKerbRealmName=pktcMtaDevProvKerbRealmName, pktcMtaDevProvState=pktcMtaDevProvState, pktcMtaDevSecurity=pktcMtaDevSecurity, pktcMtaDevManufacturerCertificate=pktcMtaDevManufacturerCertificate, pktcMtaDevCertificate=pktcMtaDevCertificate, pktcMtaDevCorrelationId=pktcMtaDevCorrelationId, pktcMtaDevTelephonyRootCertificate=pktcMtaDevTelephonyRootCertificate, pktcMtaDevRealmAvailSlot=pktcMtaDevRealmAvailSlot, pktcMtaDevRealmTable=pktcMtaDevRealmTable, pktcMtaDevRealmEntry=pktcMtaDevRealmEntry, pktcMtaDevRealmIndex=pktcMtaDevRealmIndex, pktcMtaDevRealmName=pktcMtaDevRealmName, pktcMtaDevRealmPkinitGracePeriod=pktcMtaDevRealmPkinitGracePeriod, pktcMtaDevRealmTgsGracePeriod=pktcMtaDevRealmTgsGracePeriod, pktcMtaDevRealmOrgName=pktcMtaDevRealmOrgName, pktcMtaDevRealmUnsolicitedKeyMaxTimeout=pktcMtaDevRealmUnsolicitedKeyMaxTimeout, pktcMtaDevRealmUnsolicitedKeyNomTimeout=pktcMtaDevRealmUnsolicitedKeyNomTimeout, pktcMtaDevRealmUnsolicitedKeyMaxRetries=pktcMtaDevRealmUnsolicitedKeyMaxRetries, pktcMtaDevRealmStatus=pktcMtaDevRealmStatus, pktcMtaDevCmsAvailSlot=pktcMtaDevCmsAvailSlot, pktcMtaDevCmsTable=pktcMtaDevCmsTable, pktcMtaDevCmsEntry=pktcMtaDevCmsEntry, pktcMtaDevCmsIndex=pktcMtaDevCmsIndex, pktcMtaDevCmsFqdn=pktcMtaDevCmsFqdn, pktcMtaDevCmsKerbRealmName=pktcMtaDevCmsKerbRealmName, pktcMtaDevCmsMaxClockSkew=pktcMtaDevCmsMaxClockSkew, pktcMtaDevCmsSolicitedKeyTimeout=pktcMtaDevCmsSolicitedKeyTimeout, pktcMtaDevCmsUnsolicitedKeyMaxTimeout=pktcMtaDevCmsUnsolicitedKeyMaxTimeout, pktcMtaDevCmsUnsolicitedKeyNomTimeout=pktcMtaDevCmsUnsolicitedKeyNomTimeout, pktcMtaDevCmsUnsolicitedKeyMaxRetries=pktcMtaDevCmsUnsolicitedKeyMaxRetries, pktcMtaDevCmsIpsecCtrl=pktcMtaDevCmsIpsecCtrl, pktcMtaDevCmsStatus=pktcMtaDevCmsStatus, pktcMtaDevResetKrbTickets=pktcMtaDevResetKrbTickets, pktcMtaDevErrors=pktcMtaDevErrors, pktcMtaDevErrorsTooManyErrors=pktcMtaDevErrorsTooManyErrors, pktcMtaConformance=pktcMtaConformance, pktcMtaCompliances=pktcMtaCompliances, pktcMtaGroups=pktcMtaGroups) # Notifications mibBuilder.exportSymbols("PKTC-IETF-MTA-MIB", pktcMtaDevProvisioningEnrollment=pktcMtaDevProvisioningEnrollment, pktcMtaDevProvisioningStatus=pktcMtaDevProvisioningStatus) # Groups mibBuilder.exportSymbols("PKTC-IETF-MTA-MIB", pktcMtaGroup=pktcMtaGroup, pktcMtaNotificationGroup=pktcMtaNotificationGroup) # Compliances mibBuilder.exportSymbols("PKTC-IETF-MTA-MIB", pktcMtaBasicCompliance=pktcMtaBasicCompliance, pktcMtaBasicSmtaCompliance=pktcMtaBasicSmtaCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MIP-MIB.py0000644000014400001440000020476711736645137020103 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MIP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:18 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeStamp", "TruthValue") # Types class RegistrationFlags(Bits): namedValues = NamedValues(("vjCompression", 0), ("gre", 1), ("minEnc", 2), ("decapsulationbyMN", 3), ("broadcastDatagram", 4), ("simultaneousBindings", 5), ) # Objects mipMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 44)).setRevisions(("1996-06-04 00:00",)) if mibBuilder.loadTexts: mipMIB.setOrganization("IETF Mobile IP Working Group") if mibBuilder.loadTexts: mipMIB.setContactInfo(" David Cong\nPostal: Motorola\n 1301 E. Algonquin Rd.\n Schaumburg, IL 60196\nPhone: +1-847-576-1357\nEmail: cong@comm.mot.com") if mibBuilder.loadTexts: mipMIB.setDescription("The MIB Module for the Mobile IP.") mipMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1)) mipSystem = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 1)) mipEntities = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("mobileNode", 0), ("foreignAgent", 1), ("homeAgent", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mipEntities.setDescription("This object describes which Mobile IP entities are\nsupported by this managed entity. The entity may\nsupport more than one Mobile IP entities. For example,\nthe entity supports both Foreign Agent (FA) and Home\nAgent (HA). Therefore, bit 1 and bit 2 are set to 1\nfor this object.") mipEnable = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mipEnable.setDescription("Indicates whether the Mobile IP protocol should be\nenabled for the managed entity. If it is disabled, the\nentity should disable both agent discovery and\nregistration functions.") mipEncapsulationSupported = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("ipInIp", 0), ("gre", 1), ("minEnc", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mipEncapsulationSupported.setDescription("Encapsulation methods supported by the Mobile IP\nentity. The entity may support multiple encapsulation\nmethods or none of them:\n ipInIp(0), -- IP Encapsulation within IP\n gre(1), -- Generic Routing Encapsulation,\n -- refers to RFC1701\n minEnc(2), -- Minimal Encapsulation within IP.") mipSecurity = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 2)) mipSecAssocTable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 2, 1)) if mibBuilder.loadTexts: mipSecAssocTable.setDescription("A table containing Mobility Security Associations.") mipSecAssocEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 2, 1, 1)).setIndexNames((0, "MIP-MIB", "mipSecPeerAddress"), (0, "MIP-MIB", "mipSecSPI")) if mibBuilder.loadTexts: mipSecAssocEntry.setDescription("One particular Mobility Security Association.") mipSecPeerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 1, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mipSecPeerAddress.setDescription("The IP address of the peer entity with which this\nnode shares the mobility security association.") mipSecSPI = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mipSecSPI.setDescription("The SPI is the 4-byte opaque index within the\nMobility Security Association which selects the\nspecific security parameters to be used to\nauthenticate the peer, i.e. the rest of the variables\nin this MipSecAssocEntry.") mipSecAlgorithmType = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("other", 1), ("md5", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mipSecAlgorithmType.setDescription("Type of security algorithm.") mipSecAlgorithmMode = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("other", 1), ("prefixSuffix", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mipSecAlgorithmMode.setDescription("Security mode used by this algorithm.") mipSecKey = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mipSecKey.setDescription("The shared secret key for the security\nassociations. Reading this object will always return\nzero length value.") mipSecReplayMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("other", 1), ("timestamps", 2), ("nonces", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mipSecReplayMethod.setDescription("The replay-protection method supported for this SPI\nwithin this Mobility Security Association.") mipSecTotalViolations = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mipSecTotalViolations.setDescription("Total number of security violations in the entity") mipSecViolationTable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 2, 3)) if mibBuilder.loadTexts: mipSecViolationTable.setDescription("A table containing information about security\nviolations.") mipSecViolationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1)).setIndexNames((0, "MIP-MIB", "mipSecViolatorAddress")) if mibBuilder.loadTexts: mipSecViolationEntry.setDescription("Information about one particular security violation.") mipSecViolatorAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1, 1), IpAddress()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: mipSecViolatorAddress.setDescription("Violator's IP address. The violator is not necessary\nin the mipSecAssocTable.") mipSecViolationCounter = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mipSecViolationCounter.setDescription("Total number of security violations for this peer.") mipSecRecentViolationSPI = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mipSecRecentViolationSPI.setDescription("SPI of the most recent security violation for this\npeer. If the security violation is due to an\nidentification mismatch, then this is the SPI from the\nMobile-Home Authentication Extension. If the security\nviolation is due to an invalid authenticator, then\nthis is the SPI from the offending authentication\nextension. In all other cases, it should be set to\nzero.") mipSecRecentViolationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mipSecRecentViolationTime.setDescription("Time of the most recent security violation for this\npeer.") mipSecRecentViolationIDLow = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mipSecRecentViolationIDLow.setDescription("Low-order 32 bits of identification used in request or\nreply of the most recent security violation for this\npeer.") mipSecRecentViolationIDHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mipSecRecentViolationIDHigh.setDescription("High-order 32 bits of identification used in request\nor reply of the most recent security violation for\nthis peer.") mipSecRecentViolationReason = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 2, 3, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,3,2,1,4,)).subtype(namedValues=NamedValues(("noMobilitySecurityAssociation", 1), ("badAuthenticator", 2), ("badIdentifier", 3), ("badSPI", 4), ("missingSecurityExtension", 5), ("other", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mipSecRecentViolationReason.setDescription("Reason for the most recent security violation for\nthis peer.") mipMN = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 3)) mnSystem = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 3, 1)) mnState = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(5,2,4,1,3,)).subtype(namedValues=NamedValues(("home", 1), ("registered", 2), ("pending", 3), ("isolated", 4), ("unknown", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mnState.setDescription("Indicates mobile node's state of Mobile IP:\nhome,\n -- MN is connected to home network.\nregistered,\n -- MN has registered on foreign network\npending,\n -- MN has sent registration request and is\n waiting for the reply\nisolated,\n -- MN is isolated from network\nunknown\n -- MN can not determine its state.") mnHomeAddress = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnHomeAddress.setDescription("An IP address that is assigned for an extended period\nof time to the mobile node. It remains unchanged\nregardless of the mobile node's current point of\nattachment.") mnHATable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 3, 1, 3)) if mibBuilder.loadTexts: mnHATable.setDescription("A table containing all of the mobile node's potential\nhome agents.") mnHAEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 3, 1, 3, 1)).setIndexNames((0, "MIP-MIB", "mnHAAddress")) if mibBuilder.loadTexts: mnHAEntry.setDescription("Information for a particular Home Agent.") mnHAAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 1, 3, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mnHAAddress.setDescription("IP address of mobile node's Home Agent.") mnCurrentHA = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 1, 3, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnCurrentHA.setDescription("Whether this home agent is the current home agent for\nthe mobile node. If it is true, the mobile node is\nregistered with that home agent.") mnHAStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 1, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mnHAStatus.setDescription("The row status for this home agent entry. If the\nstatus is set to 'createAndGo' or 'active', then the\nmobile node can use mnHAAddress as a valid candidate\nfor a home agent. If the status is set to 'destroy',\nthen the mobile node should delete this row, and\nderegister from that home agent.") mnDiscovery = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 3, 2)) mnFATable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 1)) if mibBuilder.loadTexts: mnFATable.setDescription("A table containing all foreign agents that the mobile\nnode knows about and their corresponding COA (care-of\naddress). This COA is an address of a foreign agent\nwith which the mobile node is registered. The table is\nupdated when advertisements are received by the mobile\nnode. If an advertisement expires, its entry(s) should\nbe deleted from the table. One foreign agent can\nprovide more than one COA in its advertisements.") mnFAEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 1, 1)).setIndexNames((0, "MIP-MIB", "mnFAAddress"), (0, "MIP-MIB", "mnCOA")) if mibBuilder.loadTexts: mnFAEntry.setDescription("One pair of foreign agent IP address and COA for that\nforeign agent.") mnFAAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 1, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnFAAddress.setDescription("Foreign agent's IP address.") mnCOA = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnCOA.setDescription("A care-of address being offered by this foreign agent\nor a co-located care-of address which the mobile node\nhas associated with one of its own network\ninterfaces.") mnRecentAdvReceived = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 2)) mnAdvSourceAddress = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 2, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAdvSourceAddress.setDescription("The source IP address of the most recently received\nAgent Advertisement. This address could be the address\nof a home agent or a foreign agent.") mnAdvSequence = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAdvSequence.setDescription("The sequence number of the most recently received\nadvertisement. The sequence number ranges from 0 to\n0xffff. After the sequence number attains the value\n0xffff, it will roll over to 256.") mnAdvFlags = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 2, 3), Bits().subtype(namedValues=NamedValues(("vjCompression", 0), ("gre", 1), ("minEnc", 2), ("foreignAgent", 3), ("homeAgent", 4), ("busy", 5), ("regRequired", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAdvFlags.setDescription("The flags are contained in the 7th byte in the\nextension of the most recently received mobility agent\nadvertisement:\n vjCompression\n -- Agent supports Van Jacobson compression\n gre\n -- Agent offers Generice Routing Encapsulation\n minEnc,\n -- Agent offers Minimal Encapsulation\n foreignAgent,\n -- Agent is a Foreign Agent\n homeAgent,\n -- Agent is a Home Agent\n busy,\n -- Foreign Agent is busy\n regRequired,\n -- FA registration is required.") mnAdvMaxRegLifetime = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: mnAdvMaxRegLifetime.setDescription("The longest lifetime in seconds that the agent is\nwilling to accept in any registration request.") mnAdvMaxAdvLifetime = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: mnAdvMaxAdvLifetime.setDescription("The maximum length of time that the Advertisement is\nconsidered valid in the absence of further\nAdvertisements.") mnAdvTimeReceived = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 2, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAdvTimeReceived.setDescription("The time at which the most recently received\nadvertisement was received.") mnSolicitationsSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnSolicitationsSent.setDescription("Total number of Solicitation sent by the mobile\nnode.") mnAdvertisementsReceived = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAdvertisementsReceived.setDescription("Total number of advertisements received by the mobile\nnode.") mnAdvsDroppedInvalidExtension = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAdvsDroppedInvalidExtension.setDescription("Total number of advertisements dropped by the mobile\nnode due to both poorly formed extensions and\nunrecognized extensions with extension number in the\nrange 0-127.") mnAdvsIgnoredUnknownExtension = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAdvsIgnoredUnknownExtension.setDescription("Total number of unrecognized extensions in the range\n128-255 that were ignored by the mobile node.") mnMoveFromHAToFA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnMoveFromHAToFA.setDescription("Number of times that the mobile node has decided to\nmove from its home network to a foreign network.") mnMoveFromFAToFA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnMoveFromFAToFA.setDescription("Number of times that the mobile node has decided to\nmove from one foreign network to another foreign\nnetwork.") mnMoveFromFAToHA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnMoveFromFAToHA.setDescription("Number of times that the mobile node has decided to\nmove from a foreign network to its home network.") mnGratuitousARPsSend = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnGratuitousARPsSend.setDescription("Total number of Gratuitous ARPs sent by mobile node\nin order to clear out any stale ARP entries in the ARP\ncaches of nodes on the home network.") mnAgentRebootsDectected = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 2, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnAgentRebootsDectected.setDescription("Total number of agent reboots detected by the mobile\nnode through sequence number of the advertisement.") mnRegistration = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 3, 3)) mnRegistrationTable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1)) if mibBuilder.loadTexts: mnRegistrationTable.setDescription("A table containing information about the mobile\nnode's attempted registration(s). The mobile node\nupdates this table based upon Registration Requests\nsent and Registration Replies received in response to\nthese requests. Certain variables within this table\nare also updated if when Registration Requests are\nretransmitted.") mnRegistrationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1)).setIndexNames((0, "MIP-MIB", "mnRegAgentAddress"), (0, "MIP-MIB", "mnRegCOA")) if mibBuilder.loadTexts: mnRegistrationEntry.setDescription("Information about one registration attempt.") mnRegAgentAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegAgentAddress.setDescription("IP address of the agent as used in the destination\nIP address of the Registration Request. The agent\nmay be a home agent or a foreign agent.") mnRegCOA = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegCOA.setDescription("Care-of address for the registration.") mnRegFlags = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 3), RegistrationFlags()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegFlags.setDescription("Registration flags sent by the mobile node. It is the\nsecond byte in the Mobile IP Registratation Request\nmessage.") mnRegIDLow = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegIDLow.setDescription("Low-order 32 bits of the Identification used in that\nregistration by the mobile node.") mnRegIDHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegIDHigh.setDescription("High-order 32 bits of the Identification used in that\nregistration by the mobile node.") mnRegTimeRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegTimeRequested.setDescription("If the registration is pending, then this is the\nlifetime requested by the mobile node (in seconds).\nIf the registration has been accepted, then this is\nthe lifetime actually granted by the home agent in the\nreply.") mnRegTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegTimeRemaining.setDescription("The number of seconds remaining until this\nregistration expires. It has the same initial value\nas mnRegTimeRequested and is only valid if\nmnRegIsAccepted is TRUE.") mnRegTimeSent = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegTimeSent.setDescription("The time when the last (re-)transmission occured.") mnRegIsAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegIsAccepted.setDescription("true(1) if the mobile node has received a\nRegistration Reply indicating that service has been\naccepted; false(2) otherwise. false(2) implies that\nthe registration is still pending.") mnCOAIsLocal = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 1, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnCOAIsLocal.setDescription("Whether the COA is local to (dynamically acquired by)\nthe mobile node or not. If it is false(2), the COA is\nan address of the foreign agent.") mnRegRequestsSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegRequestsSent.setDescription("Total number of registration requests sent by the\nmobile node. This does not include deregistrations\n(those with Lifetime equal to zero).") mnDeRegRequestsSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnDeRegRequestsSent.setDescription("Total number of deregistration requests sent by the\nmobile node (those with Lifetime equal to zero).") mnRegRepliesRecieved = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegRepliesRecieved.setDescription("Total number of registration replies received by the\nmobile node in which the Lifetime is greater than\nzero.") mnDeRegRepliesRecieved = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnDeRegRepliesRecieved.setDescription("Total number of (de)registration replies received by\nthe mobile node in which the Lifetime is equal to\nzero.") mnRepliesInvalidHomeAddress = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesInvalidHomeAddress.setDescription("Total number of replies with invalid home address for\nthe mobile node.") mnRepliesUnknownHA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesUnknownHA.setDescription("Total number of replies with unknown home agents\n(not in home agent table).") mnRepliesUnknownFA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesUnknownFA.setDescription("Total number of replies with unknown foreign agents if\nreplies relayed through foreign agent.") mnRepliesInvalidID = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesInvalidID.setDescription("Total number of replies with invalid Identification\nfields.") mnRepliesDroppedInvalidExtension = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesDroppedInvalidExtension.setDescription("Total number of Registration Replies dropped by the\nmobile node due to both poorly formed extensions and\nunrecognized extensions with extension number in the\nrange 0-127.") mnRepliesIgnoredUnknownExtension = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesIgnoredUnknownExtension.setDescription("Total number of Registration Replies that contained\none or more unrecognized extensions in the range\n128-255 that were ignored by the mobile node.") mnRepliesHAAuthenticationFailure = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesHAAuthenticationFailure.setDescription("Total number of replies without a valid Home Agent to\nMobile Node authenticator.") mnRepliesFAAuthenticationFailure = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRepliesFAAuthenticationFailure.setDescription("Total number of replies without a valid Foreign Agent\nto Mobile Node authenticator.") mnRegRequestsAccepted = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegRequestsAccepted.setDescription("Total number of registration requests accepted by the\nmobile node's home agent (Code 0 and Code 1).") mnRegRequestsDeniedByHA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegRequestsDeniedByHA.setDescription("Total number of registration requests denied by\nmobile node's home agent (Sum of Code 128 through\nCode 191).") mnRegRequestsDeniedByFA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegRequestsDeniedByFA.setDescription("Total number of registration requests denied by the\nforeign agent (Sum of Codes 64 through Code 127).") mnRegRequestsDeniedByHADueToID = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegRequestsDeniedByHADueToID.setDescription("Total number of Registration Request denied by home\nagent due to identification mismatch.") mnRegRequestsWithDirectedBroadcast = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 3, 3, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mnRegRequestsWithDirectedBroadcast.setDescription("Total number of Registration Requests sent by mobile\nnode with a directed broadcast address in the home\nagent field.") mipMA = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 4)) maAdvertisement = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 4, 2)) maAdvConfigTable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1)) if mibBuilder.loadTexts: maAdvConfigTable.setDescription("A table containing configurable advertisement\nparameters for all advertisement interfaces in\nthe mobility agent.") maAdvConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1)).setIndexNames((0, "MIP-MIB", "maInterfaceAddress")) if mibBuilder.loadTexts: maAdvConfigEntry.setDescription("Advertisement parameters for one advertisement\ninterface.") maInterfaceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: maInterfaceAddress.setDescription("IP address for advertisement interface.") maAdvMaxRegLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvMaxRegLifetime.setDescription("The longest lifetime in seconds that mobility agent\nis willing to accept in any Registration Request.") maAdvPrefixLengthInclusion = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 3), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvPrefixLengthInclusion.setDescription("Whether the advertisement should include the Prefix-\nLengths Extension. If it is true, all advertisements\nsent over this interface should include the\nPrefix-Lengths Extension.") maAdvAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 4), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvAddress.setDescription("The IP destination address to be used for\nadvertisements sent from the interface. The only\npermissible values are the all-systems multicast\naddress (224.0.0.1) or the limited-broadcast address\n(255.255.255.255).") maAdvMaxInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 1800))).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvMaxInterval.setDescription("The maximum time in seconds between successive\ntransmissions of Agent Advertisements from this\ninterface.") maAdvMinInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 1800))).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvMinInterval.setDescription("The minimum time in seconds between successive\ntransmissions of Agent Advertisements from this\ninterface.") maAdvMaxAdvLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 9000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvMaxAdvLifetime.setDescription("The time (in seconds) to be placed in the Lifetime\nfield of the RFC 1256-portion of the Agent\nAdvertisements sent over this interface.") maAdvResponseSolicitationOnly = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 8), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvResponseSolicitationOnly.setDescription("The flag indicates whether the advertisement from\nthat interface should be sent only in response to an\nAgent Solicitation message.") maAdvStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 1, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: maAdvStatus.setDescription("The row status for the agent advertisement table. If\nthis column status is 'active', the manager should not\nchange any column in the row.") maAdvertisementsSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: maAdvertisementsSent.setDescription("Total number of advertisements sent by the mobility\nagent.") maAdvsSentForSolicitation = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: maAdvsSentForSolicitation.setDescription("Total number of advertisements sent by mobility agent\nin response to mobile node solicitations.") maSolicitationsReceived = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 4, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: maSolicitationsReceived.setDescription("Total number of solicitations received by the\nmobility agent.") mipFA = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 5)) faSystem = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 5, 1)) faCOATable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 5, 1, 1)) if mibBuilder.loadTexts: faCOATable.setDescription("A table containing all of the care-of addresses\n(COAs) supported by the foreign agent. New entries can\nbe added to the table. The order of entries in the\nfaCOATAble is also the order in which the COAs are\nlisted in the Agent Advertisement.") faCOAEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 5, 1, 1, 1)).setIndexNames((0, "MIP-MIB", "faSupportedCOA")) if mibBuilder.loadTexts: faCOAEntry.setDescription("Entry of COA") faSupportedCOA = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 1, 1, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: faSupportedCOA.setDescription("Care-of-address supported by this foreign agent.") faCOAStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 1, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: faCOAStatus.setDescription("The row status for COA entry.") faAdvertisement = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 5, 2)) faIsBusy = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 2, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: faIsBusy.setDescription("Whether or not the foreign agent is too busy to\naccept additional registrations. If true(1), the agent\nis busy and any Agent advertisements sent from this\nagent should have the 'B' bit set to 1.") faRegistrationRequired = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 2, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: faRegistrationRequired.setDescription("Whether or not this foreign agent requires\nregistration even from those mobile nodes that have\nacquired their own, colocated care-of address. If\ntrue(1), registration is required and any Agent\nAdvertisements sent from this agent should have the\n'R' bit set to 1.") faRegistration = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 5, 3)) faVisitorTable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1)) if mibBuilder.loadTexts: faVisitorTable.setDescription("A table containing the foreign agent's visitor list.\nThe foreign agent updates this table in response to\nregistration events from mobile nodes.") faVisitorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1)).setIndexNames((0, "MIP-MIB", "faVisitorIPAddress")) if mibBuilder.loadTexts: faVisitorEntry.setDescription("Information for one visitor.") faVisitorIPAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorIPAddress.setDescription("Source IP address of visitor's Registration Request.") faVisitorHomeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorHomeAddress.setDescription("Home (IP) address of visiting mobile node.") faVisitorHomeAgentAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorHomeAgentAddress.setDescription("Home agent IP address for that visiting mobile node.") faVisitorTimeGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorTimeGranted.setDescription("The lifetime in seconds granted to the mobile node\nfor this registration. Only valid if\nfaVisitorRegIsAccepted is true(1).") faVisitorTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorTimeRemaining.setDescription("The number of seconds remaining until the\nregistration is expired. It has the same initial value\nas faVisitorTimeGranted, and is counted down by the\nforeign agent.") faVisitorRegFlags = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 6), RegistrationFlags()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorRegFlags.setDescription("Registration flags sent by mobile node.") faVisitorRegIDLow = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorRegIDLow.setDescription("Low 32 bits of Identification used in that\nregistration by the mobile node.") faVisitorRegIDHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorRegIDHigh.setDescription("High 32 bits of Identification used in that\nregistration by the mobile node.") faVisitorRegIsAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 1, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVisitorRegIsAccepted.setDescription("Whether the registration has been accepted or not. If\nit is false(2), this registration is still pending for\nreply.") faRegRequestsReceived = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faRegRequestsReceived.setDescription("Total number of valid Registration Requests\nreceived.") faRegRequestsRelayed = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faRegRequestsRelayed.setDescription("Total number of Registration Requests relayed to home\nagent by foreign agent.") faReasonUnspecified = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faReasonUnspecified.setDescription("Total number of Registration Requests denied by\nforeign agent -- reason unspecified (Code 64).") faAdmProhibited = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faAdmProhibited.setDescription("Total number of Registration Requests denied by\nforeign agent -- administratively prohibited (Code\n65).") faInsufficientResource = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faInsufficientResource.setDescription("Total number of Registration Requests denied by\nforeign agent -- insufficient resources (Code 66).") faMNAuthenticationFailure = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faMNAuthenticationFailure.setDescription("Total number of Registration Requests denied by\nforeign agent -- mobile node failed authentication\n(Code 67).") faRegLifetimeTooLong = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faRegLifetimeTooLong.setDescription("Total number of Registration Requests denied by\nforeign agent -- requested lifetime too long (Code\n69).") faPoorlyFormedRequests = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faPoorlyFormedRequests.setDescription("Total number of Registration Requests denied by\nforeign agent -- poorly formed request (Code 70).") faEncapsulationUnavailable = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faEncapsulationUnavailable.setDescription("Total number of Registration Requests denied by\nforeign agent -- requested encapsulation unavailable\n(Code 72).") faVJCompressionUnavailable = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faVJCompressionUnavailable.setDescription("Total number of Registration Requests denied by\nforeign agent -- requested Van Jacobson header\ncompression unavailable (Code 73).") faHAUnreachable = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faHAUnreachable.setDescription("Total number of Registration Requests denied by\nforeign agent -- home agent unreachable (Codes\n80-95).") faRegRepliesRecieved = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faRegRepliesRecieved.setDescription("Total number of well-formed Registration Replies\nreceived by foreign agent.") faRegRepliesRelayed = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faRegRepliesRelayed.setDescription("Total number of valid Registration Replies relayed to\nthe mobile node by foreign agent.") faHAAuthenticationFailure = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faHAAuthenticationFailure.setDescription("Total number of Registration Replies denied by\nforeign agent -- home agent failed authentication\n(Code 68).") faPoorlyFormedReplies = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 5, 3, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: faPoorlyFormedReplies.setDescription("Total number of Registration Replies denied by\nforeign agent -- poorly formed reply (Code 71).") mipHA = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 6)) haRegistration = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 1, 6, 3)) haMobilityBindingTable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1)) if mibBuilder.loadTexts: haMobilityBindingTable.setDescription("A table containing the home agent's mobility binding\nlist. The home agent updates this table in response\nto registration events from mobile nodes.") haMobilityBindingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1)).setIndexNames((0, "MIP-MIB", "haMobilityBindingMN"), (0, "MIP-MIB", "haMobilityBindingCOA")) if mibBuilder.loadTexts: haMobilityBindingEntry.setDescription("An entry on the mobility binding list.") haMobilityBindingMN = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingMN.setDescription("Mobile node's home (IP) address.") haMobilityBindingCOA = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingCOA.setDescription("Mobile node's care-of-address. One mobile node can\nhave multiple bindings with different\ncare-of-addresses.") haMobilityBindingSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingSourceAddress.setDescription("IP source address of the Registration Request as\nreceived by the home agent. Will be either a mobile\nnode's co-located care-of address or an address of the\nforeign agent.") haMobilityBindingRegFlags = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 4), RegistrationFlags()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingRegFlags.setDescription("Registration flags sent by mobile node.") haMobilityBindingRegIDLow = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingRegIDLow.setDescription("Low 32 bits of Identification used in that binding by\nthe mobile node.") haMobilityBindingRegIDHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingRegIDHigh.setDescription("High 32 bits of Identification used in that binding by\nthe mobile node.") haMobilityBindingTimeGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingTimeGranted.setDescription("The lifetime in seconds granted to the mobile node\nfor this registration.") haMobilityBindingTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMobilityBindingTimeRemaining.setDescription("The number of seconds remaining until the\nregistration is expired. It has the same initial value\nas haMobilityBindingTimeGranted, and is counted down\nby the home agent.") haCounterTable = MibTable((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2)) if mibBuilder.loadTexts: haCounterTable.setDescription("A table containing registration statistics for all\nmobile nodes authorized to use this home agent.") haCounterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2, 1)).setIndexNames((0, "MIP-MIB", "haMobilityBindingMN")) if mibBuilder.loadTexts: haCounterEntry.setDescription("Registration statistics for one mobile node.") haServiceRequestsAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haServiceRequestsAccepted.setDescription("Total number of service requests for the mobile node\naccepted by the home agent (Code 0 + Code 1).") haServiceRequestsDenied = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haServiceRequestsDenied.setDescription("Total number of service requests for the mobile node\ndenied by the home agent (sum of all registrations\ndenied with Code 128 through Code 159).") haOverallServiceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haOverallServiceTime.setDescription("Overall service time (in seconds) that has\naccumulated for the mobile node since the home agent\nlast rebooted.") haRecentServiceAcceptedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: haRecentServiceAcceptedTime.setDescription("The time at which the most recent Registration\nRequest was accepted by the home agent for this mobile\nnode.") haRecentServiceDeniedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: haRecentServiceDeniedTime.setDescription("The time at which the most recent Registration\nRequest was denied by the home agent for this mobile\nnode.") haRecentServiceDeniedCode = MibTableColumn((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(128,136,134,133,131,129,132,130,135,)).subtype(namedValues=NamedValues(("reasonUnspecified", 128), ("admProhibited", 129), ("insufficientResource", 130), ("mnAuthenticationFailure", 131), ("faAuthenticationFailure", 132), ("idMismatch", 133), ("poorlyFormedRequest", 134), ("tooManyBindings", 135), ("unknownHA", 136), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: haRecentServiceDeniedCode.setDescription("The Code indicating the reason why the most recent\nRegistration Request for this mobile node was rejected\nby the home agent.") haRegistrationAccepted = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haRegistrationAccepted.setDescription("Total number of Registration Requests accepted by\nhome agent (Code 0).") haMultiBindingUnsupported = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMultiBindingUnsupported.setDescription("Total number of Registration Requests accepted by\nhome agent -- simultaneous mobility bindings\nunsupported (Code 1).") haReasonUnspecified = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haReasonUnspecified.setDescription("Total number of Registration Requests denied by home\nagent -- reason unspecified (Code 128).") haAdmProhibited = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haAdmProhibited.setDescription("Total number of Registration Requests denied by home\nagent -- administratively prohibited (Code 129).") haInsufficientResource = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haInsufficientResource.setDescription("Total number of Registration Requests denied by home\nagent -- insufficient resources (Code 130).") haMNAuthenticationFailure = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haMNAuthenticationFailure.setDescription("Total number of Registration Requests denied by home\nagent -- mobile node failed authentication (Code\n131).") haFAAuthenticationFailure = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haFAAuthenticationFailure.setDescription("Total number of Registration Requests denied by home\nagent -- foreign agent failed authentication (Code\n132).") haIDMismatch = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haIDMismatch.setDescription("Total number of Registration Requests denied by home\nagent -- Identification mismatch (Code 133).") haPoorlyFormedRequest = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haPoorlyFormedRequest.setDescription("Total number of Registration Requests denied by home\nagent -- poorly formed request (Code 134).") haTooManyBindings = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haTooManyBindings.setDescription("Total number of Registration Requests denied by home\nagent -- too many simultaneous mobility bindings (Code\n135).") haUnknownHA = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haUnknownHA.setDescription("Total number of Registration Requests denied by home\nagent -- unknown home agent address (Code 136).") haGratuitiousARPsSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haGratuitiousARPsSent.setDescription("Total number of gratuition ARPs sent by the home\nagent on behalf of mobile nodes.") haProxyARPsSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haProxyARPsSent.setDescription("Total number of proxy ARPs sent by the home agent on\nbehalf of mobile nodes.") haRegRequestsReceived = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haRegRequestsReceived.setDescription("Total number of Registration Requests received by\nhome agent.") haDeRegRequestsReceived = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haDeRegRequestsReceived.setDescription("Total number of Registration Requests received by the\nhome agent with a Lifetime of zero (requests to\nderegister).") haRegRepliesSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haRegRepliesSent.setDescription("Total number of Registration Replies sent by the home\nagent.") haDeRegRepliesSent = MibScalar((1, 3, 6, 1, 2, 1, 44, 1, 6, 3, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: haDeRegRepliesSent.setDescription("Total number of Registration Replies sent by the home\nagent in response to requests to deregister.") mipMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 2)) mipMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 2, 0)) mipMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 3)) mipGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 3, 1)) mipCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 44, 3, 2)) # Augmentions # Notifications mipAuthFailure = NotificationType((1, 3, 6, 1, 2, 1, 44, 2, 0, 1)).setObjects(*(("MIP-MIB", "mipSecRecentViolationIDLow"), ("MIP-MIB", "mipSecRecentViolationReason"), ("MIP-MIB", "mipSecViolatorAddress"), ("MIP-MIB", "mipSecRecentViolationSPI"), ("MIP-MIB", "mipSecRecentViolationIDHigh"), ) ) if mibBuilder.loadTexts: mipAuthFailure.setDescription("The mipAuthFailure indicates that the Mobile IP\nentity has an authentication failure when it validates\nthe mobile Registration Request or Reply.\nImplementation of this trap is optional.") # Groups mipSystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 1)).setObjects(*(("MIP-MIB", "mipEntities"), ("MIP-MIB", "mipEncapsulationSupported"), ("MIP-MIB", "mipEnable"), ) ) if mibBuilder.loadTexts: mipSystemGroup.setDescription("A collection of objects providing the basic Mobile IP\nentity's management information.") mipSecAssociationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 2)).setObjects(*(("MIP-MIB", "mipSecReplayMethod"), ("MIP-MIB", "mipSecKey"), ("MIP-MIB", "mipSecAlgorithmMode"), ("MIP-MIB", "mipSecAlgorithmType"), ) ) if mibBuilder.loadTexts: mipSecAssociationGroup.setDescription("A collection of objects providing the management\ninformation for security associations of Mobile IP\nentities.") mipSecViolationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 3)).setObjects(*(("MIP-MIB", "mipSecRecentViolationSPI"), ("MIP-MIB", "mipSecRecentViolationIDLow"), ("MIP-MIB", "mipSecTotalViolations"), ("MIP-MIB", "mipSecRecentViolationReason"), ("MIP-MIB", "mipSecRecentViolationTime"), ("MIP-MIB", "mipSecViolationCounter"), ("MIP-MIB", "mipSecRecentViolationIDHigh"), ) ) if mibBuilder.loadTexts: mipSecViolationGroup.setDescription("A collection of objects providing the management\ninformation for security violation logging of Mobile\nIP entities.") mnSystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 4)).setObjects(*(("MIP-MIB", "mnState"), ("MIP-MIB", "mnHAStatus"), ("MIP-MIB", "mnHomeAddress"), ("MIP-MIB", "mnCurrentHA"), ) ) if mibBuilder.loadTexts: mnSystemGroup.setDescription("A collection of objects providing the basic\nmanagement information for mobile nodes.") mnDiscoveryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 5)).setObjects(*(("MIP-MIB", "mnMoveFromFAToHA"), ("MIP-MIB", "mnAdvTimeReceived"), ("MIP-MIB", "mnSolicitationsSent"), ("MIP-MIB", "mnAdvSequence"), ("MIP-MIB", "mnAdvSourceAddress"), ("MIP-MIB", "mnAgentRebootsDectected"), ("MIP-MIB", "mnGratuitousARPsSend"), ("MIP-MIB", "mnCOA"), ("MIP-MIB", "mnAdvertisementsReceived"), ("MIP-MIB", "mnAdvFlags"), ("MIP-MIB", "mnFAAddress"), ("MIP-MIB", "mnAdvsDroppedInvalidExtension"), ("MIP-MIB", "mnMoveFromFAToFA"), ("MIP-MIB", "mnMoveFromHAToFA"), ("MIP-MIB", "mnAdvsIgnoredUnknownExtension"), ("MIP-MIB", "mnAdvMaxRegLifetime"), ("MIP-MIB", "mnAdvMaxAdvLifetime"), ) ) if mibBuilder.loadTexts: mnDiscoveryGroup.setDescription("A collection of objects providing management\ninformation for the Agent Discovery function within a\nmobile node.") mnRegistrationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 6)).setObjects(*(("MIP-MIB", "mnRepliesInvalidID"), ("MIP-MIB", "mnRegRequestsDeniedByHA"), ("MIP-MIB", "mnRegIDLow"), ("MIP-MIB", "mnRegRequestsSent"), ("MIP-MIB", "mnRegCOA"), ("MIP-MIB", "mnRegRequestsWithDirectedBroadcast"), ("MIP-MIB", "mnRegIDHigh"), ("MIP-MIB", "mnRegTimeRemaining"), ("MIP-MIB", "mnRegRequestsAccepted"), ("MIP-MIB", "mnRegAgentAddress"), ("MIP-MIB", "mnRepliesIgnoredUnknownExtension"), ("MIP-MIB", "mnRepliesInvalidHomeAddress"), ("MIP-MIB", "mnRepliesHAAuthenticationFailure"), ("MIP-MIB", "mnRegRepliesRecieved"), ("MIP-MIB", "mnRegIsAccepted"), ("MIP-MIB", "mnDeRegRequestsSent"), ("MIP-MIB", "mnRegRequestsDeniedByFA"), ("MIP-MIB", "mnCOAIsLocal"), ("MIP-MIB", "mnRepliesUnknownHA"), ("MIP-MIB", "mnRegFlags"), ("MIP-MIB", "mnRepliesFAAuthenticationFailure"), ("MIP-MIB", "mnDeRegRepliesRecieved"), ("MIP-MIB", "mnRepliesUnknownFA"), ("MIP-MIB", "mnRegRequestsDeniedByHADueToID"), ("MIP-MIB", "mnRegTimeSent"), ("MIP-MIB", "mnRepliesDroppedInvalidExtension"), ("MIP-MIB", "mnRegTimeRequested"), ) ) if mibBuilder.loadTexts: mnRegistrationGroup.setDescription("A collection of objects providing management\ninformation for the registration function within a\nmobile node.") maAdvertisementGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 7)).setObjects(*(("MIP-MIB", "maAdvPrefixLengthInclusion"), ("MIP-MIB", "maAdvMaxInterval"), ("MIP-MIB", "maSolicitationsReceived"), ("MIP-MIB", "maAdvMinInterval"), ("MIP-MIB", "maAdvMaxAdvLifetime"), ("MIP-MIB", "maAdvsSentForSolicitation"), ("MIP-MIB", "maAdvMaxRegLifetime"), ("MIP-MIB", "maAdvertisementsSent"), ("MIP-MIB", "maAdvResponseSolicitationOnly"), ("MIP-MIB", "maAdvAddress"), ("MIP-MIB", "maAdvStatus"), ) ) if mibBuilder.loadTexts: maAdvertisementGroup.setDescription("A collection of objects providing management\ninformation for the Agent Advertisement function\nwithin mobility agents.") faSystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 8)).setObjects(*(("MIP-MIB", "faCOAStatus"), ) ) if mibBuilder.loadTexts: faSystemGroup.setDescription("A collection of objects providing the basic\nmanagement information for foreign agents.") faAdvertisementGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 9)).setObjects(*(("MIP-MIB", "faRegistrationRequired"), ("MIP-MIB", "faIsBusy"), ) ) if mibBuilder.loadTexts: faAdvertisementGroup.setDescription("A collection of objects providing supplemental\nmanagement information for the Agent Advertisement\nfunction within a foreign agent.") faRegistrationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 10)).setObjects(*(("MIP-MIB", "faVisitorRegIsAccepted"), ("MIP-MIB", "faPoorlyFormedReplies"), ("MIP-MIB", "faVisitorHomeAgentAddress"), ("MIP-MIB", "faPoorlyFormedRequests"), ("MIP-MIB", "faVisitorTimeRemaining"), ("MIP-MIB", "faVisitorRegIDLow"), ("MIP-MIB", "faHAAuthenticationFailure"), ("MIP-MIB", "faInsufficientResource"), ("MIP-MIB", "faRegRequestsReceived"), ("MIP-MIB", "faVisitorRegFlags"), ("MIP-MIB", "faVisitorRegIDHigh"), ("MIP-MIB", "faReasonUnspecified"), ("MIP-MIB", "faRegRepliesRecieved"), ("MIP-MIB", "faVJCompressionUnavailable"), ("MIP-MIB", "faVisitorTimeGranted"), ("MIP-MIB", "faRegRepliesRelayed"), ("MIP-MIB", "faHAUnreachable"), ("MIP-MIB", "faMNAuthenticationFailure"), ("MIP-MIB", "faAdmProhibited"), ("MIP-MIB", "faVisitorIPAddress"), ("MIP-MIB", "faVisitorHomeAddress"), ("MIP-MIB", "faRegRequestsRelayed"), ("MIP-MIB", "faEncapsulationUnavailable"), ("MIP-MIB", "faRegLifetimeTooLong"), ) ) if mibBuilder.loadTexts: faRegistrationGroup.setDescription("A collection of objects providing management\ninformation for the registration function within a\nforeign agent.") haRegistrationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 11)).setObjects(*(("MIP-MIB", "haMobilityBindingSourceAddress"), ("MIP-MIB", "haMultiBindingUnsupported"), ("MIP-MIB", "haDeRegRequestsReceived"), ("MIP-MIB", "haMobilityBindingTimeGranted"), ("MIP-MIB", "haFAAuthenticationFailure"), ("MIP-MIB", "haPoorlyFormedRequest"), ("MIP-MIB", "haMobilityBindingRegIDHigh"), ("MIP-MIB", "haUnknownHA"), ("MIP-MIB", "haDeRegRepliesSent"), ("MIP-MIB", "haMobilityBindingCOA"), ("MIP-MIB", "haMobilityBindingMN"), ("MIP-MIB", "haMobilityBindingTimeRemaining"), ("MIP-MIB", "haRegRequestsReceived"), ("MIP-MIB", "haRegistrationAccepted"), ("MIP-MIB", "haTooManyBindings"), ("MIP-MIB", "haMobilityBindingRegIDLow"), ("MIP-MIB", "haInsufficientResource"), ("MIP-MIB", "haProxyARPsSent"), ("MIP-MIB", "haReasonUnspecified"), ("MIP-MIB", "haIDMismatch"), ("MIP-MIB", "haAdmProhibited"), ("MIP-MIB", "haMNAuthenticationFailure"), ("MIP-MIB", "haGratuitiousARPsSent"), ("MIP-MIB", "haRegRepliesSent"), ("MIP-MIB", "haMobilityBindingRegFlags"), ) ) if mibBuilder.loadTexts: haRegistrationGroup.setDescription("A collection of objects providing management\ninformation for the registration function within a\nhome agent.") haRegNodeCountersGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 12)).setObjects(*(("MIP-MIB", "haServiceRequestsDenied"), ("MIP-MIB", "haRecentServiceAcceptedTime"), ("MIP-MIB", "haOverallServiceTime"), ("MIP-MIB", "haRecentServiceDeniedTime"), ("MIP-MIB", "haRecentServiceDeniedCode"), ("MIP-MIB", "haServiceRequestsAccepted"), ) ) if mibBuilder.loadTexts: haRegNodeCountersGroup.setDescription("A collection of objects providing management\ninformation for counters related to the registration\nfunction within a home agent.") mipSecNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 44, 3, 1, 13)).setObjects(*(("MIP-MIB", "mipAuthFailure"), ) ) if mibBuilder.loadTexts: mipSecNotificationsGroup.setDescription("The notification related to security violations.") # Compliances mipCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 44, 3, 2, 1)).setObjects(*(("MIP-MIB", "haRegistrationGroup"), ("MIP-MIB", "faSystemGroup"), ("MIP-MIB", "mipSecNotificationsGroup"), ("MIP-MIB", "mipSecAssociationGroup"), ("MIP-MIB", "mipSystemGroup"), ("MIP-MIB", "haRegNodeCountersGroup"), ("MIP-MIB", "mnDiscoveryGroup"), ("MIP-MIB", "mnRegistrationGroup"), ("MIP-MIB", "faAdvertisementGroup"), ("MIP-MIB", "faRegistrationGroup"), ("MIP-MIB", "mnSystemGroup"), ("MIP-MIB", "maAdvertisementGroup"), ("MIP-MIB", "mipSecViolationGroup"), ) ) if mibBuilder.loadTexts: mipCompliance.setDescription("The compliance statement for SNMPv2 entities which\nimplement the Mobile IP MIB.") # Exports # Module identity mibBuilder.exportSymbols("MIP-MIB", PYSNMP_MODULE_ID=mipMIB) # Types mibBuilder.exportSymbols("MIP-MIB", RegistrationFlags=RegistrationFlags) # Objects mibBuilder.exportSymbols("MIP-MIB", mipMIB=mipMIB, mipMIBObjects=mipMIBObjects, mipSystem=mipSystem, mipEntities=mipEntities, mipEnable=mipEnable, mipEncapsulationSupported=mipEncapsulationSupported, mipSecurity=mipSecurity, mipSecAssocTable=mipSecAssocTable, mipSecAssocEntry=mipSecAssocEntry, mipSecPeerAddress=mipSecPeerAddress, mipSecSPI=mipSecSPI, mipSecAlgorithmType=mipSecAlgorithmType, mipSecAlgorithmMode=mipSecAlgorithmMode, mipSecKey=mipSecKey, mipSecReplayMethod=mipSecReplayMethod, mipSecTotalViolations=mipSecTotalViolations, mipSecViolationTable=mipSecViolationTable, mipSecViolationEntry=mipSecViolationEntry, mipSecViolatorAddress=mipSecViolatorAddress, mipSecViolationCounter=mipSecViolationCounter, mipSecRecentViolationSPI=mipSecRecentViolationSPI, mipSecRecentViolationTime=mipSecRecentViolationTime, mipSecRecentViolationIDLow=mipSecRecentViolationIDLow, mipSecRecentViolationIDHigh=mipSecRecentViolationIDHigh, mipSecRecentViolationReason=mipSecRecentViolationReason, mipMN=mipMN, mnSystem=mnSystem, mnState=mnState, mnHomeAddress=mnHomeAddress, mnHATable=mnHATable, mnHAEntry=mnHAEntry, mnHAAddress=mnHAAddress, mnCurrentHA=mnCurrentHA, mnHAStatus=mnHAStatus, mnDiscovery=mnDiscovery, mnFATable=mnFATable, mnFAEntry=mnFAEntry, mnFAAddress=mnFAAddress, mnCOA=mnCOA, mnRecentAdvReceived=mnRecentAdvReceived, mnAdvSourceAddress=mnAdvSourceAddress, mnAdvSequence=mnAdvSequence, mnAdvFlags=mnAdvFlags, mnAdvMaxRegLifetime=mnAdvMaxRegLifetime, mnAdvMaxAdvLifetime=mnAdvMaxAdvLifetime, mnAdvTimeReceived=mnAdvTimeReceived, mnSolicitationsSent=mnSolicitationsSent, mnAdvertisementsReceived=mnAdvertisementsReceived, mnAdvsDroppedInvalidExtension=mnAdvsDroppedInvalidExtension, mnAdvsIgnoredUnknownExtension=mnAdvsIgnoredUnknownExtension, mnMoveFromHAToFA=mnMoveFromHAToFA, mnMoveFromFAToFA=mnMoveFromFAToFA, mnMoveFromFAToHA=mnMoveFromFAToHA, mnGratuitousARPsSend=mnGratuitousARPsSend, mnAgentRebootsDectected=mnAgentRebootsDectected, mnRegistration=mnRegistration, mnRegistrationTable=mnRegistrationTable, mnRegistrationEntry=mnRegistrationEntry, mnRegAgentAddress=mnRegAgentAddress, mnRegCOA=mnRegCOA, mnRegFlags=mnRegFlags, mnRegIDLow=mnRegIDLow, mnRegIDHigh=mnRegIDHigh, mnRegTimeRequested=mnRegTimeRequested, mnRegTimeRemaining=mnRegTimeRemaining, mnRegTimeSent=mnRegTimeSent, mnRegIsAccepted=mnRegIsAccepted, mnCOAIsLocal=mnCOAIsLocal, mnRegRequestsSent=mnRegRequestsSent, mnDeRegRequestsSent=mnDeRegRequestsSent, mnRegRepliesRecieved=mnRegRepliesRecieved, mnDeRegRepliesRecieved=mnDeRegRepliesRecieved, mnRepliesInvalidHomeAddress=mnRepliesInvalidHomeAddress, mnRepliesUnknownHA=mnRepliesUnknownHA, mnRepliesUnknownFA=mnRepliesUnknownFA, mnRepliesInvalidID=mnRepliesInvalidID, mnRepliesDroppedInvalidExtension=mnRepliesDroppedInvalidExtension, mnRepliesIgnoredUnknownExtension=mnRepliesIgnoredUnknownExtension, mnRepliesHAAuthenticationFailure=mnRepliesHAAuthenticationFailure, mnRepliesFAAuthenticationFailure=mnRepliesFAAuthenticationFailure, mnRegRequestsAccepted=mnRegRequestsAccepted, mnRegRequestsDeniedByHA=mnRegRequestsDeniedByHA, mnRegRequestsDeniedByFA=mnRegRequestsDeniedByFA, mnRegRequestsDeniedByHADueToID=mnRegRequestsDeniedByHADueToID, mnRegRequestsWithDirectedBroadcast=mnRegRequestsWithDirectedBroadcast, mipMA=mipMA, maAdvertisement=maAdvertisement, maAdvConfigTable=maAdvConfigTable, maAdvConfigEntry=maAdvConfigEntry, maInterfaceAddress=maInterfaceAddress, maAdvMaxRegLifetime=maAdvMaxRegLifetime, maAdvPrefixLengthInclusion=maAdvPrefixLengthInclusion, maAdvAddress=maAdvAddress, maAdvMaxInterval=maAdvMaxInterval, maAdvMinInterval=maAdvMinInterval, maAdvMaxAdvLifetime=maAdvMaxAdvLifetime, maAdvResponseSolicitationOnly=maAdvResponseSolicitationOnly, maAdvStatus=maAdvStatus, maAdvertisementsSent=maAdvertisementsSent, maAdvsSentForSolicitation=maAdvsSentForSolicitation, maSolicitationsReceived=maSolicitationsReceived, mipFA=mipFA, faSystem=faSystem, faCOATable=faCOATable, faCOAEntry=faCOAEntry, faSupportedCOA=faSupportedCOA, faCOAStatus=faCOAStatus, faAdvertisement=faAdvertisement, faIsBusy=faIsBusy, faRegistrationRequired=faRegistrationRequired, faRegistration=faRegistration, faVisitorTable=faVisitorTable, faVisitorEntry=faVisitorEntry, faVisitorIPAddress=faVisitorIPAddress, faVisitorHomeAddress=faVisitorHomeAddress, faVisitorHomeAgentAddress=faVisitorHomeAgentAddress, faVisitorTimeGranted=faVisitorTimeGranted, faVisitorTimeRemaining=faVisitorTimeRemaining, faVisitorRegFlags=faVisitorRegFlags, faVisitorRegIDLow=faVisitorRegIDLow, faVisitorRegIDHigh=faVisitorRegIDHigh, faVisitorRegIsAccepted=faVisitorRegIsAccepted, faRegRequestsReceived=faRegRequestsReceived, faRegRequestsRelayed=faRegRequestsRelayed, faReasonUnspecified=faReasonUnspecified, faAdmProhibited=faAdmProhibited) mibBuilder.exportSymbols("MIP-MIB", faInsufficientResource=faInsufficientResource, faMNAuthenticationFailure=faMNAuthenticationFailure, faRegLifetimeTooLong=faRegLifetimeTooLong, faPoorlyFormedRequests=faPoorlyFormedRequests, faEncapsulationUnavailable=faEncapsulationUnavailable, faVJCompressionUnavailable=faVJCompressionUnavailable, faHAUnreachable=faHAUnreachable, faRegRepliesRecieved=faRegRepliesRecieved, faRegRepliesRelayed=faRegRepliesRelayed, faHAAuthenticationFailure=faHAAuthenticationFailure, faPoorlyFormedReplies=faPoorlyFormedReplies, mipHA=mipHA, haRegistration=haRegistration, haMobilityBindingTable=haMobilityBindingTable, haMobilityBindingEntry=haMobilityBindingEntry, haMobilityBindingMN=haMobilityBindingMN, haMobilityBindingCOA=haMobilityBindingCOA, haMobilityBindingSourceAddress=haMobilityBindingSourceAddress, haMobilityBindingRegFlags=haMobilityBindingRegFlags, haMobilityBindingRegIDLow=haMobilityBindingRegIDLow, haMobilityBindingRegIDHigh=haMobilityBindingRegIDHigh, haMobilityBindingTimeGranted=haMobilityBindingTimeGranted, haMobilityBindingTimeRemaining=haMobilityBindingTimeRemaining, haCounterTable=haCounterTable, haCounterEntry=haCounterEntry, haServiceRequestsAccepted=haServiceRequestsAccepted, haServiceRequestsDenied=haServiceRequestsDenied, haOverallServiceTime=haOverallServiceTime, haRecentServiceAcceptedTime=haRecentServiceAcceptedTime, haRecentServiceDeniedTime=haRecentServiceDeniedTime, haRecentServiceDeniedCode=haRecentServiceDeniedCode, haRegistrationAccepted=haRegistrationAccepted, haMultiBindingUnsupported=haMultiBindingUnsupported, haReasonUnspecified=haReasonUnspecified, haAdmProhibited=haAdmProhibited, haInsufficientResource=haInsufficientResource, haMNAuthenticationFailure=haMNAuthenticationFailure, haFAAuthenticationFailure=haFAAuthenticationFailure, haIDMismatch=haIDMismatch, haPoorlyFormedRequest=haPoorlyFormedRequest, haTooManyBindings=haTooManyBindings, haUnknownHA=haUnknownHA, haGratuitiousARPsSent=haGratuitiousARPsSent, haProxyARPsSent=haProxyARPsSent, haRegRequestsReceived=haRegRequestsReceived, haDeRegRequestsReceived=haDeRegRequestsReceived, haRegRepliesSent=haRegRepliesSent, haDeRegRepliesSent=haDeRegRepliesSent, mipMIBNotificationPrefix=mipMIBNotificationPrefix, mipMIBNotifications=mipMIBNotifications, mipMIBConformance=mipMIBConformance, mipGroups=mipGroups, mipCompliances=mipCompliances) # Notifications mibBuilder.exportSymbols("MIP-MIB", mipAuthFailure=mipAuthFailure) # Groups mibBuilder.exportSymbols("MIP-MIB", mipSystemGroup=mipSystemGroup, mipSecAssociationGroup=mipSecAssociationGroup, mipSecViolationGroup=mipSecViolationGroup, mnSystemGroup=mnSystemGroup, mnDiscoveryGroup=mnDiscoveryGroup, mnRegistrationGroup=mnRegistrationGroup, maAdvertisementGroup=maAdvertisementGroup, faSystemGroup=faSystemGroup, faAdvertisementGroup=faAdvertisementGroup, faRegistrationGroup=faRegistrationGroup, haRegistrationGroup=haRegistrationGroup, haRegNodeCountersGroup=haRegNodeCountersGroup, mipSecNotificationsGroup=mipSecNotificationsGroup) # Compliances mibBuilder.exportSymbols("MIP-MIB", mipCompliance=mipCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-LDP-FRAME-RELAY-STD-MIB.py0000644000014400001440000004746711736645137023002 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-LDP-FRAME-RELAY-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:20 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( DLCI, ) = mibBuilder.importSymbols("FRAME-RELAY-DTE-MIB", "DLCI") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( mplsLdpEntityIndex, mplsLdpEntityLdpId, mplsLdpPeerLdpId, ) = mibBuilder.importSymbols("MPLS-LDP-STD-MIB", "mplsLdpEntityIndex", "mplsLdpEntityLdpId", "mplsLdpPeerLdpId") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType") # Objects mplsLdpFrameRelayStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 6)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsLdpFrameRelayStdMIB.setOrganization("Multiprotocol Label Switching (mpls)\nWorking Group") if mibBuilder.loadTexts: mplsLdpFrameRelayStdMIB.setContactInfo("Joan Cucchiara (jcucchiara@mindspring.com)\nMarconi Communications, Inc.\n\nHans Sjostrand (hans@ipunplugged.com)\nipUnplugged\n\nJames V. Luciani (james_luciani@mindspring.com)\nMarconi Communications, Inc.\n\nWorking Group Chairs:\nGeorge Swallow, email: swallow@cisco.com\nLoa Andersson, email: loa@pi.se\n\nMPLS Working Group, email: mpls@uu.net") if mibBuilder.loadTexts: mplsLdpFrameRelayStdMIB.setDescription("Copyright (C) The Internet Society (year). The\ninitial version of this MIB module was published\nin RFC 3815. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html\n\nThis MIB contains managed object definitions for\nconfiguring and monitoring the Multiprotocol Label\nSwitching (MPLS), Label Distribution Protocol (LDP),\nutilizing Frame Relay as the Layer 2 media.") mplsLdpFrameRelayObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 6, 1)) mplsLdpEntityFrameRelayObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1)) mplsLdpEntityFrameRelayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1)) if mibBuilder.loadTexts: mplsLdpEntityFrameRelayTable.setDescription("This table contains Frame Relay specific\ninformation which could be used in the\n'Optional Parameters' and other Frame Relay\nspecific information.\n\nThis table 'sparse augments' the mplsLdpEntityTable\nwhen Frame Relay is the Layer 2 medium.") mplsLdpEntityFrameRelayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex")) if mibBuilder.loadTexts: mplsLdpEntityFrameRelayEntry.setDescription("An entry in this table represents the Frame Relay\noptional parameters associated with the LDP entity.") mplsLdpEntityFrameRelayIfIndexOrZero = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1, 1, 1), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayIfIndexOrZero.setDescription("This value represents either the InterfaceIndex of\nthe 'ifLayer' where the Frame Relay Labels 'owned' by this\nentry were created, or 0 (zero). The value of zero\nmeans that the InterfaceIndex is not known. For example,\nif the InterfaceIndex is created subsequent to the\nFrame Relay Label's creation, then it would not be known.\nHowever, if the InterfaceIndex is known, then it must\nbe represented by this value.\n\nIf an InterfaceIndex becomes known, then the\nnetwork management entity (e.g., SNMP agent) responsible\nfor this object MUST change the value from 0 (zero) to the\nvalue of the InterfaceIndex. If an Frame Relay Label is\nbeing used in forwarding data, then the value of this\nobject MUST be the InterfaceIndex.") mplsLdpEntityFrameRelayMergeCap = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,0,)).subtype(namedValues=NamedValues(("notSupported", 0), ("supported", 1), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayMergeCap.setDescription("This represents whether or not the Frame Relay merge\ncapability is supported. This is the EXACT value for the\nFrame Relay Session Parameter, field M (for Frame Relay\nMerge Capabilities). The Frame Relay Session Parameter\nis an optional parameter in the Initialization Message.\n\n\n\n\nThe description from rfc3036.txt is:\n'M, Frame Relay Merge Capabilities\n Specifies the merge capabilities of a Frame\n Relay switch. The following values are\n supported in this version of the\n specification:\n\n Value Meaning\n\n 0 Merge not supported\n 1 Merge supported\n\n Non-merge and merge Frame Relay LSRs may\n freely interoperate.'\n\n Please refer to the following reference for a\n complete description of this feature.") mplsLdpEntityFrameRelayLRComponents = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLRComponents.setDescription("Number of Label Range Components in the Initialization\nmessage. This also represents the number of entries\nin the mplsLdpEntityFrameRelayLRTable which correspond\nto this entry.\n\nThis is the EXACT value for the Frame Relay Session\nParameter, field N (for Number of label range\ncomponents). The Frame Relay Session Parameter\nis an optional parameter in the Initialization\nMessage.\n\nThe description from rfc3036.txt is:\n\n'N, Number of label range components\n Specifies the number of Frame Relay Label\n Range Components included in the TLV.'\n\n Please refer to the following reference for a\n complete description of this feature.") mplsLdpEntityFrameRelayVcDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(0,1,)).subtype(namedValues=NamedValues(("bidirectional", 0), ("unidirection", 1), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayVcDirectionality.setDescription("If the value of this object is 'bidirectional(0)', then\nthe LSR supports the use of a given DLCI as a label for\nboth directions independently. If the value of\nthis object is 'unidirectional(1)', then the LSR\nuses the given DLCI as a label in only one direction.\n\nThis is the EXACT value for the Frame Relay Session\nParameter, field D (for VC Directionality). The\nFrame Relay Session Parameter is an optional\nparameter in the Initialization Message.\n\nThe description from rfc3036.txt is:\n\n'D, VC Directionality\n A value of 0 specifies bidirectional VC capability,\n meaning the LSR can support the use of a given\n DLCI as a label for both link directions\n independently. A value of 1 specifies\n unidirectional VC capability, meaning a given\n DLCI may appear in a label mapping for one\n direction on the link only. When either or both\n of the peers specifies unidirectional VC\n capability, both LSRs use unidirectional VC\n label assignment for the link as follows. The\n LSRs compare their LDP Identifiers as unsigned\n integers. The LSR with the larger LDP\n Identifier may assign only odd-numbered DLCIs\n in the range as labels. The system with the\n smaller LDP Identifier may assign only\n even-numbered DLCIs in the range as labels.'\n\n Please refer to the following reference for a\n complete description of this feature.") mplsLdpEntityFrameRelayStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLdpEntityFrameRelayRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayRowStatus.setDescription("The status of this conceptual row. All writable\nobjects in this row may be modified at any time,\nhowever, as described in detail in the section\nentitled, 'Changing Values After Session\nEstablishment', and again described in the\nDESCRIPTION clause of the\nmplsLdpEntityAdminStatus object,\nif a session has been initiated with a Peer,\nchanging objects in this table will\nwreak havoc with the session and interrupt\ntraffic. To repeat again:\nthe recommended procedure is to set the\nmplsLdpEntityAdminStatus to\ndown, thereby explicitly causing a\nsession to be torn down. Then,\nchange objects in this entry, then set\nthe mplsLdpEntityAdminStatus\nto enable which enables a new session\nto be initiated.") mplsLdpEntityFrameRelayLRTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 2)) if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLRTable.setDescription("This table contains information about the\n\n\nOptional Parameters for the Frame Relay Session\nin the LDP Initialization Message, specifically\nit contains information about the Frame Relay\nLabel Range Components.\n\nIf the value of the object\n'mplsLdpEntityOptionalParameters' contains the\nvalue of 'frameRelaySessionParameters(3)' then\nthere must be at least one corresponding entry\nin this table.") mplsLdpEntityFrameRelayLREntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 2, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayLRMinDlci")) if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLREntry.setDescription("An entry in this table represents the Frame Relay\nLabel Range Component associated with the LDP entity.") mplsLdpEntityFrameRelayLRMinDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 2, 1, 1), DLCI()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLRMinDlci.setDescription("The lower bound which is supported. This value\nshould be the same as that in the Frame Relay Label\nRange Component's Minimum DLCI field. The value\nof zero is valid for the minimum DLCI field of\nthe label.") mplsLdpEntityFrameRelayLRMaxDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 2, 1, 2), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLRMaxDlci.setDescription("The upper bound which is supported. This value\nshould be the same as that in the Frame Relay Label\nRange Component's Maximum DLCI field.") mplsLdpEntityFrameRelayLRLen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(0,2,)).subtype(namedValues=NamedValues(("tenDlciBits", 0), ("twentyThreeDlciBits", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLRLen.setDescription("This object specifies the length of the DLCI bits.\n\nThis is the EXACT value for the Len field of the\nFrame Relay Label Range Component.\n\nThe description from rfc3036.txt is:\n\n'Len\n This field specifies the number of bits of the DLCI.\n The following values are supported:\n\n Len DLCI bits\n\n 0 10\n 2 23\n\n Len values 1 and 3 are reserved.'\n\n Please refer to the following reference for a complete\n description of this feature.") mplsLdpEntityFrameRelayLRStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 2, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLRStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLdpEntityFrameRelayLRRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 1, 2, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityFrameRelayLRRowStatus.setDescription("The status of this conceptual row. All writable\nobjects in this row may be modified at any time,\nhowever, as described in detail in the section\nentitled, 'Changing Values After Session\nEstablishment', and again described in the\nDESCRIPTION clause of the\nmplsLdpEntityAdminStatus object,\nif a session has been initiated with a Peer,\nchanging objects in this table will\nwreak havoc with the session and interrupt\ntraffic. To repeat again:\nthe recommended procedure is to set the\nmplsLdpEntityAdminStatus to down, thereby\nexplicitly causing a session to be torn down. Then,\nchange objects in this entry, then set the\nmplsLdpEntityAdminStatus to enable which enables\na new session to be initiated.") mplsLdpFrameRelaySessionObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 2)) mplsLdpFrameRelaySessionTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 2, 1)) if mibBuilder.loadTexts: mplsLdpFrameRelaySessionTable.setDescription("A table of Frame Relay label range intersections\nbetween the LDP Entities and LDP Peers.\nEach row represents a single label range intersection.\n\nNOTE: this table cannot use the 'AUGMENTS'\n\n\nclause because there is not necessarily a one-to-one\nmapping between this table and the\nmplsLdpSessionTable.") mplsLdpFrameRelaySessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 2, 1, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId"), (0, "MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpFrameRelaySessionMinDlci")) if mibBuilder.loadTexts: mplsLdpFrameRelaySessionEntry.setDescription("An entry in this table represents information on a\nsingle label range intersection between an\nLDP Entity and LDP Peer.\n\nThe information contained in a row is read-only.") mplsLdpFrameRelaySessionMinDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 2, 1, 1, 1), DLCI()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpFrameRelaySessionMinDlci.setDescription("The lower bound of DLCIs which are supported.\nThe value of zero is a valid value for the\nminimum DLCI field of the label.") mplsLdpFrameRelaySessionMaxDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 2, 1, 1, 2), DLCI()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpFrameRelaySessionMaxDlci.setDescription("The upper bound of DLCIs which are supported.") mplsLdpFrameRelaySessionLen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 6, 1, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(0,2,)).subtype(namedValues=NamedValues(("tenDlciBits", 0), ("twentyThreeDlciBits", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpFrameRelaySessionLen.setDescription("This object specifies the DLCI bits.") mplsLdpFrameRelayConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 6, 2)) mplsLdpFrameRelayGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 6, 2, 1)) mplsLdpFrameRelayCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 6, 2, 2)) # Augmentions # Groups mplsLdpFrameRelayGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 6, 2, 1, 1)).setObjects(*(("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayLRStorageType"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayIfIndexOrZero"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayMergeCap"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayLRLen"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpFrameRelaySessionLen"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayLRRowStatus"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayRowStatus"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayVcDirectionality"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayStorageType"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayLRMaxDlci"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpFrameRelaySessionMaxDlci"), ("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpEntityFrameRelayLRComponents"), ) ) if mibBuilder.loadTexts: mplsLdpFrameRelayGroup.setDescription("Objects that apply to all MPLS LDP implementations\nusing Frame Relay as the Layer 2.") # Compliances mplsLdpFrameRelayModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 6, 2, 2, 1)).setObjects(*(("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpFrameRelayGroup"), ) ) if mibBuilder.loadTexts: mplsLdpFrameRelayModuleFullCompliance.setDescription("The Module is implemented with support for\nread-create and read-write. In other words,\nboth monitoring and configuration\nare available when using this MODULE-COMPLIANCE.") mplsLdpFrameRelayModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 6, 2, 2, 2)).setObjects(*(("MPLS-LDP-FRAME-RELAY-STD-MIB", "mplsLdpFrameRelayGroup"), ) ) if mibBuilder.loadTexts: mplsLdpFrameRelayModuleReadOnlyCompliance.setDescription("The Module is implemented with support for\nread-only. In other words, only monitoring\nis available by implementing this MODULE-COMPLIANCE.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-LDP-FRAME-RELAY-STD-MIB", PYSNMP_MODULE_ID=mplsLdpFrameRelayStdMIB) # Objects mibBuilder.exportSymbols("MPLS-LDP-FRAME-RELAY-STD-MIB", mplsLdpFrameRelayStdMIB=mplsLdpFrameRelayStdMIB, mplsLdpFrameRelayObjects=mplsLdpFrameRelayObjects, mplsLdpEntityFrameRelayObjects=mplsLdpEntityFrameRelayObjects, mplsLdpEntityFrameRelayTable=mplsLdpEntityFrameRelayTable, mplsLdpEntityFrameRelayEntry=mplsLdpEntityFrameRelayEntry, mplsLdpEntityFrameRelayIfIndexOrZero=mplsLdpEntityFrameRelayIfIndexOrZero, mplsLdpEntityFrameRelayMergeCap=mplsLdpEntityFrameRelayMergeCap, mplsLdpEntityFrameRelayLRComponents=mplsLdpEntityFrameRelayLRComponents, mplsLdpEntityFrameRelayVcDirectionality=mplsLdpEntityFrameRelayVcDirectionality, mplsLdpEntityFrameRelayStorageType=mplsLdpEntityFrameRelayStorageType, mplsLdpEntityFrameRelayRowStatus=mplsLdpEntityFrameRelayRowStatus, mplsLdpEntityFrameRelayLRTable=mplsLdpEntityFrameRelayLRTable, mplsLdpEntityFrameRelayLREntry=mplsLdpEntityFrameRelayLREntry, mplsLdpEntityFrameRelayLRMinDlci=mplsLdpEntityFrameRelayLRMinDlci, mplsLdpEntityFrameRelayLRMaxDlci=mplsLdpEntityFrameRelayLRMaxDlci, mplsLdpEntityFrameRelayLRLen=mplsLdpEntityFrameRelayLRLen, mplsLdpEntityFrameRelayLRStorageType=mplsLdpEntityFrameRelayLRStorageType, mplsLdpEntityFrameRelayLRRowStatus=mplsLdpEntityFrameRelayLRRowStatus, mplsLdpFrameRelaySessionObjects=mplsLdpFrameRelaySessionObjects, mplsLdpFrameRelaySessionTable=mplsLdpFrameRelaySessionTable, mplsLdpFrameRelaySessionEntry=mplsLdpFrameRelaySessionEntry, mplsLdpFrameRelaySessionMinDlci=mplsLdpFrameRelaySessionMinDlci, mplsLdpFrameRelaySessionMaxDlci=mplsLdpFrameRelaySessionMaxDlci, mplsLdpFrameRelaySessionLen=mplsLdpFrameRelaySessionLen, mplsLdpFrameRelayConformance=mplsLdpFrameRelayConformance, mplsLdpFrameRelayGroups=mplsLdpFrameRelayGroups, mplsLdpFrameRelayCompliances=mplsLdpFrameRelayCompliances) # Groups mibBuilder.exportSymbols("MPLS-LDP-FRAME-RELAY-STD-MIB", mplsLdpFrameRelayGroup=mplsLdpFrameRelayGroup) # Compliances mibBuilder.exportSymbols("MPLS-LDP-FRAME-RELAY-STD-MIB", mplsLdpFrameRelayModuleFullCompliance=mplsLdpFrameRelayModuleFullCompliance, mplsLdpFrameRelayModuleReadOnlyCompliance=mplsLdpFrameRelayModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/FCIP-MGMT-MIB.py0000644000014400001440000007713011736645136020730 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FCIP-MGMT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:58 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcNameIdOrZero, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcNameIdOrZero") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeStamp", "TruthValue") # Types class FcipDomainIdInOctetForm(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,1) fixedLength = 1 class FcipEntityId(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class FcipEntityMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("ePortMode", 1), ("bPortMode", 2), ) # Objects fcipMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 224)).setRevisions(("2006-02-06 00:00",)) if mibBuilder.loadTexts: fcipMIB.setOrganization("IETF IPFC Working Group") if mibBuilder.loadTexts: fcipMIB.setContactInfo("Anil Rijhsinghani\nAccton Technology Corporation\n5 Mount Royal Ave\nMarlboro, MA 01752 USA.\n\n\n\nRavi Natarajan\nF5 Networks\n2460 North First Street, Suite 100\nSan Jose, CA 95131 USA.") if mibBuilder.loadTexts: fcipMIB.setDescription("The module defines management information specific to\nFCIP devices.\n\nCopyright(C) The Internet Society (2006). This version\nof this MIB module is part of RFC 4404; see the RFC\nitself for full legal notices.") fcipObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 224, 1)) fcipConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 224, 1, 1)) fcipDynIpConfType = MibScalar((1, 3, 6, 1, 2, 1, 224, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("slpv2", 1), ("none", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcipDynIpConfType.setDescription("The type of discovery protocol used to discover remote\nFCIP entities. The value of this object is persistent\nacross system restarts.") fcipDeviceWWN = MibScalar((1, 3, 6, 1, 2, 1, 224, 1, 1, 2), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipDeviceWWN.setDescription("The World Wide Name of this FCIP device.") fcipEntitySACKOption = MibScalar((1, 3, 6, 1, 2, 1, 224, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipEntitySACKOption.setDescription("Indication of whether the TCP Selective Acknowledgement\nOption is enabled at this FCIP device to let the receiver\nacknowledge multiple lost packets in a single ACK for faster\n\n\n\nrecovery.") fcipEntityInstanceTable = MibTable((1, 3, 6, 1, 2, 1, 224, 1, 1, 4)) if mibBuilder.loadTexts: fcipEntityInstanceTable.setDescription("Information about this FCIP device's existing instances of\nFCIP entities.") fcipEntityInstanceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1)).setIndexNames((0, "FCIP-MGMT-MIB", "fcipEntityId")) if mibBuilder.loadTexts: fcipEntityInstanceEntry.setDescription("A conceptual row of the FCIP entity table with information\nabout a particular FCIP entity. Once a row has been\ncreated, it is non-volatile across agent restarts until it\nis deleted.") fcipEntityId = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 1), FcipEntityId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcipEntityId.setDescription("The FCIP entity identifier.") fcipEntityName = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipEntityName.setDescription("An administratively-assigned name for this FCIP entity.") fcipEntityAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 3), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipEntityAddressType.setDescription("The type of Internet address by which the entity is\nreachable. Only address types IPv4 and IPv6 are supported.") fcipEntityAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 4), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipEntityAddress.setDescription("The Internet address for the entity, if configured. The\nformat of this address is determined by the value of the\nfcipEntityAddressType object.") fcipEntityTcpConnPort = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 5), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipEntityTcpConnPort.setDescription("A TCP port other than the FCIP Well-Known port on which the\nFCIP entity listens for new TCP connection requests. It\ncontains the value zero(0) if the FCIP Entity only listens\non the Well-Known port.") fcipEntitySeqNumWrap = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipEntitySeqNumWrap.setDescription("An indication of whether the FCIP Entity supports protection\nagainst sequence number wrap.") fcipEntityPHBSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipEntityPHBSupport.setDescription("An indication of whether the FCIP Entity supports PHB IP\nquality of service (QoS).") fcipEntityStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 4, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipEntityStatus.setDescription("This object specifies the operational status of the row.\n\nWhen a management station sets the status to active(1), then\nthe values for the objects fcipEntityName,\nfcipEntityAddressType, and fcipEntityAddress should be\nsupplied as part of the set request. The values of the\nobjects fcipEntityName, fcipEntityAddressType, and\nfcipEntityAddress can be changed if the row status is in\nactive state. The object fcipEntityTcpConnPort takes the\ndefault value zero(0), if no value is supplied at the time\nof row creation.\n\nSetting the status to destroy(6) deletes the specified FCIP\nentity instance row from the table. It also deletes all the\nrows corresponding to the specified FCIP entity from the\nfcipLinkTable and fcipTcpConnTable tables.") fcipLinkTable = MibTable((1, 3, 6, 1, 2, 1, 224, 1, 1, 5)) if mibBuilder.loadTexts: fcipLinkTable.setDescription("Information about FCIP links that exist on this device.") fcipLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1)).setIndexNames((0, "FCIP-MGMT-MIB", "fcipEntityId"), (0, "FCIP-MGMT-MIB", "fcipLinkIndex")) if mibBuilder.loadTexts: fcipLinkEntry.setDescription("A conceptual row of the FCIP link table containing\ninformation about a particular FCIP link. The values of the\nread-create objects in this table are persistent across\nsystem restarts.") fcipLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcipLinkIndex.setDescription("An arbitrary integer that uniquely identifies one FCIP link\nwithin an FCIP entity.") fcipLinkIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkIfIndex.setDescription("The ifIndex value of the virtual interface corresponding to\nthe FCIP Link running over TCP/IP.") fcipLinkCost = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 3), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkCost.setDescription("The FSPF cost associated with this FCIP Link.") fcipLinkLocalFcipEntityMode = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 4), FcipEntityMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkLocalFcipEntityMode.setDescription("The mode of the local end of the FCIP link.") fcipLinkLocalFcipEntityAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 5), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkLocalFcipEntityAddressType.setDescription("The type of Internet address contained in the corresponding\ninstance of fcipLinkLocalFcipEntityAddress. Only address\ntypes IPv4 and IPv6 are supported.") fcipLinkLocalFcipEntityAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 6), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkLocalFcipEntityAddress.setDescription("The Internet address for the local end of this FCIP Link.\nThe format of this object is determined by the value of the\nfcipLinkLocalFcipEntityAddressType object.") fcipLinkRemFcipEntityWWN = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 7), FcNameIdOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkRemFcipEntityWWN.setDescription("The World Wide Name of the remote FC Fabric Entity.") fcipLinkRemFcipEntityId = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 8), FcipEntityId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkRemFcipEntityId.setDescription("The remote FCIP entity's identifier.") fcipLinkRemFcipEntityAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 9), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkRemFcipEntityAddressType.setDescription("The type of Internet address contained in the corresponding\ninstance of fcipLinkRemFcipEntityAddress. Only address\ntypes IPv4 and IPv6 are supported.") fcipLinkRemFcipEntityAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 10), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkRemFcipEntityAddress.setDescription("The Internet address for the remote end of this FCIP Link.\nThe format of this object is determined by the value of the\nfcipLinkRemFcipEntityAddressType object.") fcipLinkStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipLinkStatus.setDescription("This object specifies the operational status of the row.\n\nThe values of objects fcipLinkLocalFcipEntityAddressType,\nfcipLinkLocalFcipEntityAddress, fcipLinkRemFcipEntityWWN,\nfcipLinkRemFcipEntityId, fcipLinkRemFcipEntityAddressType,\n\n\n\nand fcipLinkRemFcipEntityAddress can be changed if the row\nis in active(1) state. The object fcipLinkCost is set to\nthe value zero(0) if no value is supplied at the time of row\ncreation.\n\nSetting the status to destroy(6) deletes the specified FCIP\nlink from the table. It also deletes all rows corresponding\nto the specified FCIP link from the fcipTcpConnTable table.") fcipLinkCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 5, 1, 12), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkCreateTime.setDescription("The value of sysUpTime when this entry was last created.") fcipTcpConnTable = MibTable((1, 3, 6, 1, 2, 1, 224, 1, 1, 6)) if mibBuilder.loadTexts: fcipTcpConnTable.setDescription("Information about existing TCP connections. Each FCIP link\nwithin an FCIP entity manages one or more TCP connections.\nThe FCIP entity employs a Data Engine for each TCP\nconnection for handling FC frame encapsulation,\nde-encapsulation, and transmission of FCIP frames on the\nconnection.") fcipTcpConnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 224, 1, 1, 6, 1)).setIndexNames((0, "FCIP-MGMT-MIB", "fcipEntityId"), (0, "FCIP-MGMT-MIB", "fcipLinkIndex"), (0, "FCIP-MGMT-MIB", "fcipTcpConnLocalPort"), (0, "FCIP-MGMT-MIB", "fcipTcpConnRemPort")) if mibBuilder.loadTexts: fcipTcpConnEntry.setDescription("A conceptual row of the FCIP TCP Connection table containing\ninformation about a particular TCP connection.") fcipTcpConnLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 6, 1, 1), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcipTcpConnLocalPort.setDescription("The local port number for this TCP connection.") fcipTcpConnRemPort = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 6, 1, 2), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcipTcpConnRemPort.setDescription("The remote port number for this TCP connection.") fcipTcpConnRWSize = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipTcpConnRWSize.setDescription("The default maximum TCP Receiver Window size for this TCP\nconnection.") fcipTcpConnMSS = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 6, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipTcpConnMSS.setDescription("The TCP Maximum Segment Size (MSS) for this TCP connection.") fcipDynamicRouteTable = MibTable((1, 3, 6, 1, 2, 1, 224, 1, 1, 7)) if mibBuilder.loadTexts: fcipDynamicRouteTable.setDescription("Information about dynamically discovered routing\ninformation. The FCIP device may use the SLPv2 protocol in\nconjunction with other protocols (say, FSPF) for dynamically\ndiscovering other FCIP entities and may populate this table\nwith FCIP link information for each Destination Address\nIdentifier.") fcipDynamicRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 224, 1, 1, 7, 1)).setIndexNames((0, "FCIP-MGMT-MIB", "fcipEntityId"), (0, "FCIP-MGMT-MIB", "fcipDynamicRouteDID")) if mibBuilder.loadTexts: fcipDynamicRouteEntry.setDescription("A conceptual row of the FCIP Dynamic Route Table containing\ninformation about a particular FCIP route.") fcipDynamicRouteDID = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 7, 1, 1), FcipDomainIdInOctetForm()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcipDynamicRouteDID.setDescription("8-bit ID of a Fibre Channel Domain that is reachable from\nthis FCIP device.") fcipDynamicRouteLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 7, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipDynamicRouteLinkIndex.setDescription("The FCIP Link used to reach the domain specified by the\n\n\n\ncorresponding instance of fcipDynamicRouteDID. The link\nidentified by a value of this object is the same FCIP link\nas identified by the same value of fcipLinkIndex for the\nsame FCIP entity.") fcipStaticRouteTable = MibTable((1, 3, 6, 1, 2, 1, 224, 1, 1, 8)) if mibBuilder.loadTexts: fcipStaticRouteTable.setDescription("Information about static route entries configured by the\nNetwork Admin. In the absence of dynamic discovery of\nremote FCIP entities, the Network Manager will figure out\nall remote FCIP devices that are reachable from this device\nand populate this table with FCIP link information for each\nDomain ID. At any time, both static and dynamic routing\ncan be active, and an entry in the static route table for a\ngiven DID takes precedence over the entry in the dynamic\nroute table for the same Domain ID.") fcipStaticRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 224, 1, 1, 8, 1)).setIndexNames((0, "FCIP-MGMT-MIB", "fcipEntityId"), (0, "FCIP-MGMT-MIB", "fcipStaticRouteDID")) if mibBuilder.loadTexts: fcipStaticRouteEntry.setDescription("A conceptual row of the FCIP Static Route Table containing\ninformation about a particular FCIP route. The values of\nthe read-create objects in this table are persistent across\nsystem restarts.") fcipStaticRouteDID = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 8, 1, 1), FcipDomainIdInOctetForm()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcipStaticRouteDID.setDescription("8-bit ID of a Fibre Channel Domain that is reachable from\nthis FCIP device.") fcipStaticRouteLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 8, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipStaticRouteLinkIndex.setDescription("The FCIP Link used to reach the domain specified by the\ncorresponding instance of fcipStaticRouteDID. The link\nidentified by a value of this object is the same FCIP link\nas identified by the same value of fcipLinkIndex for the\nsame FCIP entity.") fcipStaticRouteStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 8, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: fcipStaticRouteStatus.setDescription("This object specifies the operational status of the row.\n\nWhen a management station sets the status to active(1),\nthe values for the object fcipStaticRouteLinkIndex should be\nsupplied as part of the set request.\n\nSetting the status to destroy(6) deletes the specified FCIP\nstatic route entry from the table.") fcipDiscoveryDomainTable = MibTable((1, 3, 6, 1, 2, 1, 224, 1, 1, 9)) if mibBuilder.loadTexts: fcipDiscoveryDomainTable.setDescription("Information about FCIP Discovery Domains. Each FCIP\nDiscovery Domain is associated with one or more FCIP\nentities.") fcipDiscoveryDomainEntry = MibTableRow((1, 3, 6, 1, 2, 1, 224, 1, 1, 9, 1)).setIndexNames((0, "FCIP-MGMT-MIB", "fcipEntityId"), (0, "FCIP-MGMT-MIB", "fcipDiscoveryDomainIndex")) if mibBuilder.loadTexts: fcipDiscoveryDomainEntry.setDescription("A conceptual row of the FCIP Discovery Domain Table\ncontaining information about a particular FCIP Discovery\nDomain that is associated with one or more FCIP entities.\nThe values of the read-write object fcipDiscoveryDomainName\nare persistent across system restarts.") fcipDiscoveryDomainIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 9, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcipDiscoveryDomainIndex.setDescription("An integer that uniquely identifies an FCIP Discovery Domain\nassociated with this FCIP entity.") fcipDiscoveryDomainName = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 9, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcipDiscoveryDomainName.setDescription("The name of this FCIP Discovery Domain.") fcipLinkErrorsTable = MibTable((1, 3, 6, 1, 2, 1, 224, 1, 1, 10)) if mibBuilder.loadTexts: fcipLinkErrorsTable.setDescription("A list of error counters for FCIP Links. Each counter\nrecords the number of times a particular error happened that\ncaused a TCP connection to close down.") fcipLinkErrorsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1)).setIndexNames((0, "FCIP-MGMT-MIB", "fcipEntityId"), (0, "FCIP-MGMT-MIB", "fcipLinkIndex")) if mibBuilder.loadTexts: fcipLinkErrorsEntry.setDescription("A conceptual row of the FCIP Link Errors Table containing\nerror counters for an FCIP Link.") fcipLinkFcipLossofFcSynchs = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipLossofFcSynchs.setDescription("The number of times FC synchronization was lost on this FCIP\n\n\n\nLink. The last discontinuity of this counter is indicated\nby fcipLinkCreateTime.") fcipLinkFcipEncapErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipEncapErrors.setDescription("The number of FCIP frames received with encapsulation errors\nsuch as improper header, format, or length. The last\ndiscontinuity of this counter is indicated by\nfcipLinkCreateTime.") fcipLinkFcipNotReceivedSfResps = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipNotReceivedSfResps.setDescription("The number of times an FCIP Special Frame Response was\nexpected but not received on this FCIP Link. The last\ndiscontinuity of this counter is indicated by\nfcipLinkCreateTime.") fcipLinkFcipSfRespMismatches = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipSfRespMismatches.setDescription("The number of times FCIP Special Frame Bytes mismatch\nhappened on this FCIP Link. The last discontinuity of this\ncounter is indicated by fcipLinkCreateTime.") fcipLinkFcipSfInvalidNonces = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipSfInvalidNonces.setDescription("The number of times FCIP Special Frame Invalid Connection\nNonce happened on this FCIP Link. The last discontinuity\nof this counter is indicated by fcipLinkCreateTime.") fcipLinkFcipReceivedSfDuplicates = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipReceivedSfDuplicates.setDescription("The number of times duplicate FCIP Special Frames were\nreceived on this FCIP Link. The last discontinuity of this\ncounter is indicated by fcipLinkCreateTime.") fcipLinkFcipSfInvalidWWNs = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipSfInvalidWWNs.setDescription("The number of times FCIP Special Frames with invalid\ndestination FC Fabric Entity WWN were received on this FCIP\nLink. The last discontinuity of this counter is indicated\nby fcipLinkCreateTime.") fcipLinkFcipBB2LkaTimeOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipBB2LkaTimeOuts.setDescription("The number of FC Keep Alive Time-outs that occurred on\nthis FCIP Link. The last discontinuity of this counter\nis indicated by fcipLinkCreateTime.") fcipLinkFcipSntpExpiredTimeStamps = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkFcipSntpExpiredTimeStamps.setDescription("The number of frames discarded due to an expired Simple\nNetwork Time Protocol (SNTP) timestamp on this FCIP Link.\nThe last discontinuity of this counter is indicated by\nfcipLinkCreateTime.") fcipLinkTcpTooManyErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkTcpTooManyErrors.setDescription("The number of TCP connections that closed down on this\nFCIP Link due to too many errors on the connection. The\nlast discontinuity of this counter is indicated by\n\n\n\nfcipLinkCreateTime.") fcipLinkTcpExcessiveDroppedDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkTcpExcessiveDroppedDatagrams.setDescription("The number of TCP connections that closed down on this\nFCIP Link due to an excessive number of dropped FCIP\npackets. The last discontinuity of this counter is\nindicated by fcipLinkCreateTime.") fcipLinkTcpSaParamMismatches = MibTableColumn((1, 3, 6, 1, 2, 1, 224, 1, 1, 10, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcipLinkTcpSaParamMismatches.setDescription("The number of times TCP connections with Security\nAssociation parameter mismatches were closed down on this\nFCIP Link. The last discontinuity of this counter is\nindicated by fcipLinkCreateTime.") fcipConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 224, 2)) fcipCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 224, 2, 1)) fcipGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 224, 2, 2)) # Augmentions # Groups fcipEntityScalarGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 1)).setObjects(*(("FCIP-MGMT-MIB", "fcipDeviceWWN"), ("FCIP-MGMT-MIB", "fcipEntitySACKOption"), ("FCIP-MGMT-MIB", "fcipDynIpConfType"), ) ) if mibBuilder.loadTexts: fcipEntityScalarGroup.setDescription("Collection of scalar objects applicable to all FCIP\ninstances.") fcipEntityInstanceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 2)).setObjects(*(("FCIP-MGMT-MIB", "fcipEntitySeqNumWrap"), ("FCIP-MGMT-MIB", "fcipEntityAddress"), ("FCIP-MGMT-MIB", "fcipEntityAddressType"), ("FCIP-MGMT-MIB", "fcipEntityPHBSupport"), ("FCIP-MGMT-MIB", "fcipEntityTcpConnPort"), ("FCIP-MGMT-MIB", "fcipEntityName"), ("FCIP-MGMT-MIB", "fcipEntityStatus"), ) ) if mibBuilder.loadTexts: fcipEntityInstanceGroup.setDescription("A collection of objects providing information about FCIP\ninstances.") fcipLinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 3)).setObjects(*(("FCIP-MGMT-MIB", "fcipLinkIfIndex"), ("FCIP-MGMT-MIB", "fcipLinkLocalFcipEntityAddressType"), ("FCIP-MGMT-MIB", "fcipLinkRemFcipEntityAddressType"), ("FCIP-MGMT-MIB", "fcipLinkCost"), ("FCIP-MGMT-MIB", "fcipLinkRemFcipEntityId"), ("FCIP-MGMT-MIB", "fcipLinkLocalFcipEntityAddress"), ("FCIP-MGMT-MIB", "fcipLinkCreateTime"), ("FCIP-MGMT-MIB", "fcipLinkStatus"), ("FCIP-MGMT-MIB", "fcipLinkLocalFcipEntityMode"), ("FCIP-MGMT-MIB", "fcipLinkRemFcipEntityWWN"), ("FCIP-MGMT-MIB", "fcipLinkRemFcipEntityAddress"), ) ) if mibBuilder.loadTexts: fcipLinkGroup.setDescription("A collection of objects providing information about FCIP\nLinks.") fcipTcpConnGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 4)).setObjects(*(("FCIP-MGMT-MIB", "fcipTcpConnMSS"), ("FCIP-MGMT-MIB", "fcipTcpConnRWSize"), ) ) if mibBuilder.loadTexts: fcipTcpConnGroup.setDescription("A collection of objects providing information about FCIP\nTCP connections.") fcipDiscoveryDomainGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 5)).setObjects(*(("FCIP-MGMT-MIB", "fcipDiscoveryDomainName"), ) ) if mibBuilder.loadTexts: fcipDiscoveryDomainGroup.setDescription("A collection of objects providing information about FCIP\nDiscovery Domains.") fcipLinkErrorsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 6)).setObjects(*(("FCIP-MGMT-MIB", "fcipLinkFcipNotReceivedSfResps"), ("FCIP-MGMT-MIB", "fcipLinkFcipSntpExpiredTimeStamps"), ("FCIP-MGMT-MIB", "fcipLinkFcipBB2LkaTimeOuts"), ("FCIP-MGMT-MIB", "fcipLinkFcipLossofFcSynchs"), ("FCIP-MGMT-MIB", "fcipLinkFcipEncapErrors"), ("FCIP-MGMT-MIB", "fcipLinkFcipSfInvalidNonces"), ("FCIP-MGMT-MIB", "fcipLinkFcipSfInvalidWWNs"), ("FCIP-MGMT-MIB", "fcipLinkTcpTooManyErrors"), ("FCIP-MGMT-MIB", "fcipLinkTcpSaParamMismatches"), ("FCIP-MGMT-MIB", "fcipLinkTcpExcessiveDroppedDatagrams"), ("FCIP-MGMT-MIB", "fcipLinkFcipReceivedSfDuplicates"), ("FCIP-MGMT-MIB", "fcipLinkFcipSfRespMismatches"), ) ) if mibBuilder.loadTexts: fcipLinkErrorsGroup.setDescription("A collection of objects providing information about FCIP\nlink errors.") fcipDynamicRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 7)).setObjects(*(("FCIP-MGMT-MIB", "fcipDynamicRouteLinkIndex"), ) ) if mibBuilder.loadTexts: fcipDynamicRouteGroup.setDescription("A collection of objects providing information about FCIP\ndynamic routes.") fcipStaticRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 224, 2, 2, 8)).setObjects(*(("FCIP-MGMT-MIB", "fcipStaticRouteStatus"), ("FCIP-MGMT-MIB", "fcipStaticRouteLinkIndex"), ) ) if mibBuilder.loadTexts: fcipStaticRouteGroup.setDescription("A collection of objects providing information about FCIP\nstatic routes.") # Compliances fcipCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 224, 2, 1, 1)).setObjects(*(("FCIP-MGMT-MIB", "fcipDynamicRouteGroup"), ("FCIP-MGMT-MIB", "fcipDiscoveryDomainGroup"), ("FCIP-MGMT-MIB", "fcipEntityInstanceGroup"), ("FCIP-MGMT-MIB", "fcipEntityScalarGroup"), ("FCIP-MGMT-MIB", "fcipLinkErrorsGroup"), ("FCIP-MGMT-MIB", "fcipStaticRouteGroup"), ("FCIP-MGMT-MIB", "fcipLinkGroup"), ("FCIP-MGMT-MIB", "fcipTcpConnGroup"), ) ) if mibBuilder.loadTexts: fcipCompliance.setDescription("Compliance statement for FCIP MIB.") # Exports # Module identity mibBuilder.exportSymbols("FCIP-MGMT-MIB", PYSNMP_MODULE_ID=fcipMIB) # Types mibBuilder.exportSymbols("FCIP-MGMT-MIB", FcipDomainIdInOctetForm=FcipDomainIdInOctetForm, FcipEntityId=FcipEntityId, FcipEntityMode=FcipEntityMode) # Objects mibBuilder.exportSymbols("FCIP-MGMT-MIB", fcipMIB=fcipMIB, fcipObjects=fcipObjects, fcipConfig=fcipConfig, fcipDynIpConfType=fcipDynIpConfType, fcipDeviceWWN=fcipDeviceWWN, fcipEntitySACKOption=fcipEntitySACKOption, fcipEntityInstanceTable=fcipEntityInstanceTable, fcipEntityInstanceEntry=fcipEntityInstanceEntry, fcipEntityId=fcipEntityId, fcipEntityName=fcipEntityName, fcipEntityAddressType=fcipEntityAddressType, fcipEntityAddress=fcipEntityAddress, fcipEntityTcpConnPort=fcipEntityTcpConnPort, fcipEntitySeqNumWrap=fcipEntitySeqNumWrap, fcipEntityPHBSupport=fcipEntityPHBSupport, fcipEntityStatus=fcipEntityStatus, fcipLinkTable=fcipLinkTable, fcipLinkEntry=fcipLinkEntry, fcipLinkIndex=fcipLinkIndex, fcipLinkIfIndex=fcipLinkIfIndex, fcipLinkCost=fcipLinkCost, fcipLinkLocalFcipEntityMode=fcipLinkLocalFcipEntityMode, fcipLinkLocalFcipEntityAddressType=fcipLinkLocalFcipEntityAddressType, fcipLinkLocalFcipEntityAddress=fcipLinkLocalFcipEntityAddress, fcipLinkRemFcipEntityWWN=fcipLinkRemFcipEntityWWN, fcipLinkRemFcipEntityId=fcipLinkRemFcipEntityId, fcipLinkRemFcipEntityAddressType=fcipLinkRemFcipEntityAddressType, fcipLinkRemFcipEntityAddress=fcipLinkRemFcipEntityAddress, fcipLinkStatus=fcipLinkStatus, fcipLinkCreateTime=fcipLinkCreateTime, fcipTcpConnTable=fcipTcpConnTable, fcipTcpConnEntry=fcipTcpConnEntry, fcipTcpConnLocalPort=fcipTcpConnLocalPort, fcipTcpConnRemPort=fcipTcpConnRemPort, fcipTcpConnRWSize=fcipTcpConnRWSize, fcipTcpConnMSS=fcipTcpConnMSS, fcipDynamicRouteTable=fcipDynamicRouteTable, fcipDynamicRouteEntry=fcipDynamicRouteEntry, fcipDynamicRouteDID=fcipDynamicRouteDID, fcipDynamicRouteLinkIndex=fcipDynamicRouteLinkIndex, fcipStaticRouteTable=fcipStaticRouteTable, fcipStaticRouteEntry=fcipStaticRouteEntry, fcipStaticRouteDID=fcipStaticRouteDID, fcipStaticRouteLinkIndex=fcipStaticRouteLinkIndex, fcipStaticRouteStatus=fcipStaticRouteStatus, fcipDiscoveryDomainTable=fcipDiscoveryDomainTable, fcipDiscoveryDomainEntry=fcipDiscoveryDomainEntry, fcipDiscoveryDomainIndex=fcipDiscoveryDomainIndex, fcipDiscoveryDomainName=fcipDiscoveryDomainName, fcipLinkErrorsTable=fcipLinkErrorsTable, fcipLinkErrorsEntry=fcipLinkErrorsEntry, fcipLinkFcipLossofFcSynchs=fcipLinkFcipLossofFcSynchs, fcipLinkFcipEncapErrors=fcipLinkFcipEncapErrors, fcipLinkFcipNotReceivedSfResps=fcipLinkFcipNotReceivedSfResps, fcipLinkFcipSfRespMismatches=fcipLinkFcipSfRespMismatches, fcipLinkFcipSfInvalidNonces=fcipLinkFcipSfInvalidNonces, fcipLinkFcipReceivedSfDuplicates=fcipLinkFcipReceivedSfDuplicates, fcipLinkFcipSfInvalidWWNs=fcipLinkFcipSfInvalidWWNs, fcipLinkFcipBB2LkaTimeOuts=fcipLinkFcipBB2LkaTimeOuts, fcipLinkFcipSntpExpiredTimeStamps=fcipLinkFcipSntpExpiredTimeStamps, fcipLinkTcpTooManyErrors=fcipLinkTcpTooManyErrors, fcipLinkTcpExcessiveDroppedDatagrams=fcipLinkTcpExcessiveDroppedDatagrams, fcipLinkTcpSaParamMismatches=fcipLinkTcpSaParamMismatches, fcipConformance=fcipConformance, fcipCompliances=fcipCompliances, fcipGroups=fcipGroups) # Groups mibBuilder.exportSymbols("FCIP-MGMT-MIB", fcipEntityScalarGroup=fcipEntityScalarGroup, fcipEntityInstanceGroup=fcipEntityInstanceGroup, fcipLinkGroup=fcipLinkGroup, fcipTcpConnGroup=fcipTcpConnGroup, fcipDiscoveryDomainGroup=fcipDiscoveryDomainGroup, fcipLinkErrorsGroup=fcipLinkErrorsGroup, fcipDynamicRouteGroup=fcipDynamicRouteGroup, fcipStaticRouteGroup=fcipStaticRouteGroup) # Compliances mibBuilder.exportSymbols("FCIP-MGMT-MIB", fcipCompliance=fcipCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/HC-ALARM-MIB.py0000644000014400001440000006362211736645136020572 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HC-ALARM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:02 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( CounterBasedGauge64, ) = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64") ( OwnerString, rmon, rmonEventGroup, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "rmon", "rmonEventGroup") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, TextualConvention, VariablePointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "VariablePointer") # Types class HcValueStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,) namedValues = NamedValues(("valueNotAvailable", 1), ("valuePositive", 2), ("valueNegative", 3), ) # Objects hcAlarmMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 29)).setRevisions(("2002-12-16 00:00",)) if mibBuilder.loadTexts: hcAlarmMIB.setOrganization("IETF RMONMIB Working Group") if mibBuilder.loadTexts: hcAlarmMIB.setContactInfo(" Andy Bierman\nCisco Systems, Inc.\nTel: +1 408 527-3711\n\n\n\nE-mail: abierman@cisco.com\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134\n\nKeith McCloghrie\nCisco Systems, Inc.\nTel: +1 408 526-5260\nE-mail: kzm@cisco.com\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134\n\nSend comments to \nMailing list subscription info:\nhttp://www.ietf.org/mailman/listinfo/rmonmib ") if mibBuilder.loadTexts: hcAlarmMIB.setDescription("This module defines Remote Monitoring MIB extensions for\nHigh Capacity Alarms.\n\nCopyright (C) The Internet Society (2002). This version\nof this MIB module is part of RFC 3434; see the RFC\nitself for full legal notices.") hcAlarmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 1)) hcAlarmControlObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 1, 1)) hcAlarmTable = MibTable((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1)) if mibBuilder.loadTexts: hcAlarmTable.setDescription("A list of entries for the configuration of high capacity\nalarms.") hcAlarmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1)).setIndexNames((0, "HC-ALARM-MIB", "hcAlarmIndex")) if mibBuilder.loadTexts: hcAlarmEntry.setDescription("A conceptual row in the hcAlarmTable. Entries are usually\ncreated in this table by management application action, but\nmay also be created by agent action as well.") hcAlarmIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hcAlarmIndex.setDescription("An arbitrary integer index value used to uniquely identify\nthis high capacity alarm entry.") hcAlarmInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmInterval.setDescription("The interval in seconds over which the data is sampled and\ncompared with the rising and falling thresholds. When\nsetting this variable, care should be taken in the case of\ndeltaValue sampling - the interval should be set short\nenough that the sampled variable is very unlikely to\nincrease or decrease by more than 2^63 - 1 during a single\nsampling interval.\n\n\n\n\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmVariable = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 3), VariablePointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmVariable.setDescription("The object identifier of the particular variable to be\nsampled. Only variables that resolve to an ASN.1 primitive\ntype of INTEGER (INTEGER, Integer32, Counter32, Counter64,\nGauge, or TimeTicks) may be sampled.\n\nBecause SNMP access control is articulated entirely in terms\nof the contents of MIB views, no access control mechanism\nexists that can restrict the value of this object to\nidentify only those objects that exist in a particular MIB\nview. Because there is thus no acceptable means of\nrestricting the read access that could be obtained through\nthe alarm mechanism, the probe must only grant write access\nto this object in those views that have read access to all\nobjects on the probe.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmSampleType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("absoluteValue", 1), ("deltaValue", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmSampleType.setDescription("The method of sampling the selected variable and\ncalculating the value to be compared against the thresholds.\nIf the value of this object is absoluteValue(1), the value\nof the selected variable will be compared directly with the\nthresholds at the end of the sampling interval. If the\nvalue of this object is deltaValue(2), the value of the\nselected variable at the last sample will be subtracted from\nthe current value, and the difference compared with the\nthresholds.\n\nIf the associated hcAlarmVariable instance could not be\nobtained at the previous sample interval, then a delta\n\n\n\nsample is not possible, and the value of the associated\nhcAlarmValueStatus object for this interval will be\nvalueNotAvailable(1).\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmAbsValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 5), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hcAlarmAbsValue.setDescription("The absolute value (i.e., unsigned value) of the\nhcAlarmVariable statistic during the last sampling period.\nThe value during the current sampling period is not made\navailable until the period is completed.\n\nTo obtain the true value for this sampling interval, the\nassociated instance of hcAlarmValueStatus must be checked,\nand the value of this object adjusted as necessary.\n\nIf the MIB instance could not be accessed during the\nsampling interval, then this object will have a value of\nzero and the associated instance of hcAlarmValueStatus will\nbe set to 'valueNotAvailable(1)'.") hcAlarmValueStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 6), HcValueStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: hcAlarmValueStatus.setDescription("This object indicates the validity and sign of the data for\nthe hcAlarmAbsValue object, as described in the\nHcValueStatus textual convention.") hcAlarmStartupAlarm = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("risingAlarm", 1), ("fallingAlarm", 2), ("risingOrFallingAlarm", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmStartupAlarm.setDescription("The alarm that may be sent when this entry is first set to\n\n\n\nactive. If the first sample after this entry becomes active\nis greater than or equal to the rising threshold and this\nobject is equal to risingAlarm(1) or\nrisingOrFallingAlarm(3), then a single rising alarm will be\ngenerated. If the first sample after this entry becomes\nvalid is less than or equal to the falling threshold and\nthis object is equal to fallingAlarm(2) or\nrisingOrFallingAlarm(3), then a single falling alarm will be\ngenerated.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmRisingThreshAbsValueLo = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmRisingThreshAbsValueLo.setDescription("The lower 32 bits of the absolute value for threshold for\nthe sampled statistic. The actual threshold value is\ndetermined by the associated instances of the\nhcAlarmRisingThreshAbsValueHi and\nhcAlarmRisingThresholdValStatus objects, as follows:\n\n ABS(threshold) = hcAlarmRisingThreshAbsValueLo +\n (hcAlarmRisingThreshAbsValueHi * 2^^32)\n\nThe absolute value of the threshold is adjusted as required,\nas described in the HcValueStatus textual convention. These\nthree object instances are conceptually combined to\nrepresent the rising threshold for this entry.\n\nWhen the current sampled value is greater than or equal to\nthis threshold, and the value at the last sampling interval\nwas less than this threshold, a single event will be\ngenerated. A single event will also be generated if the\nfirst sample after this entry becomes valid is greater than\nor equal to this threshold and the associated\nhcAlarmStartupAlarm is equal to risingAlarm(1) or\nrisingOrFallingAlarm(3).\n\nAfter a rising event is generated, another such event will\nnot be generated until the sampled value falls below this\nthreshold and reaches the threshold identified by the\nhcAlarmFallingThreshAbsValueLo,\nhcAlarmFallingThreshAbsValueHi, and\nhcAlarmFallingThresholdValStatus objects.\n\n\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmRisingThreshAbsValueHi = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 9), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmRisingThreshAbsValueHi.setDescription("The upper 32 bits of the absolute value for threshold for\nthe sampled statistic. The actual threshold value is\ndetermined by the associated instances of the\nhcAlarmRisingThreshAbsValueLo and\nhcAlarmRisingThresholdValStatus objects, as follows:\n\n ABS(threshold) = hcAlarmRisingThreshAbsValueLo +\n (hcAlarmRisingThreshAbsValueHi * 2^^32)\n\nThe absolute value of the threshold is adjusted as required,\nas described in the HcValueStatus textual convention. These\nthree object instances are conceptually combined to\nrepresent the rising threshold for this entry.\n\nWhen the current sampled value is greater than or equal to\nthis threshold, and the value at the last sampling interval\nwas less than this threshold, a single event will be\ngenerated. A single event will also be generated if the\nfirst sample after this entry becomes valid is greater than\nor equal to this threshold and the associated\nhcAlarmStartupAlarm is equal to risingAlarm(1) or\nrisingOrFallingAlarm(3).\n\nAfter a rising event is generated, another such event will\nnot be generated until the sampled value falls below this\nthreshold and reaches the threshold identified by the\nhcAlarmFallingThreshAbsValueLo,\nhcAlarmFallingThreshAbsValueHi, and\nhcAlarmFallingThresholdValStatus objects.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmRisingThresholdValStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 10), HcValueStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmRisingThresholdValStatus.setDescription("This object indicates the sign of the data for the rising\nthreshold, as defined by the hcAlarmRisingThresAbsValueLo\nand hcAlarmRisingThresAbsValueHi objects, as described in\nthe HcValueStatus textual convention.\n\nThe enumeration 'valueNotAvailable(1)' is not allowed, and\nthe associated hcAlarmStatus object cannot be equal to\n'active(1)' if this object is set to this value.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmFallingThreshAbsValueLo = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 11), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmFallingThreshAbsValueLo.setDescription("The lower 32 bits of the absolute value for threshold for\nthe sampled statistic. The actual threshold value is\ndetermined by the associated instances of the\nhcAlarmFallingThreshAbsValueHi and\nhcAlarmFallingThresholdValStatus objects, as follows:\n\n ABS(threshold) = hcAlarmFallingThreshAbsValueLo +\n (hcAlarmFallingThreshAbsValueHi * 2^^32)\n\nThe absolute value of the threshold is adjusted as required,\nas described in the HcValueStatus textual convention. These\nthree object instances are conceptually combined to\nrepresent the falling threshold for this entry.\n\nWhen the current sampled value is less than or equal to this\nthreshold, and the value at the last sampling interval was\ngreater than this threshold, a single event will be\ngenerated. A single event will also be generated if the\nfirst sample after this entry becomes valid is less than or\nequal to this threshold and the associated\nhcAlarmStartupAlarm is equal to fallingAlarm(2) or\nrisingOrFallingAlarm(3).\n\nAfter a falling event is generated, another such event will\nnot be generated until the sampled value rises above this\nthreshold and reaches the threshold identified by the\nhcAlarmRisingThreshAbsValueLo,\nhcAlarmRisingThreshAbsValueHi, and\nhcAlarmRisingThresholdValStatus objects.\n\n\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmFallingThreshAbsValueHi = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 12), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmFallingThreshAbsValueHi.setDescription("The upper 32 bits of the absolute value for threshold for\nthe sampled statistic. The actual threshold value is\ndetermined by the associated instances of the\nhcAlarmFallingThreshAbsValueLo and\nhcAlarmFallingThresholdValStatus objects, as follows:\n\n ABS(threshold) = hcAlarmFallingThreshAbsValueLo +\n (hcAlarmFallingThreshAbsValueHi * 2^^32)\n\nThe absolute value of the threshold is adjusted as required,\nas described in the HcValueStatus textual convention. These\nthree object instances are conceptually combined to\nrepresent the falling threshold for this entry.\n\nWhen the current sampled value is less than or equal to this\nthreshold, and the value at the last sampling interval was\ngreater than this threshold, a single event will be\ngenerated. A single event will also be generated if the\nfirst sample after this entry becomes valid is less than or\nequal to this threshold and the associated\nhcAlarmStartupAlarm is equal to fallingAlarm(2) or\nrisingOrFallingAlarm(3).\n\nAfter a falling event is generated, another such event will\nnot be generated until the sampled value rises above this\nthreshold and reaches the threshold identified by the\nhcAlarmRisingThreshAbsValueLo,\nhcAlarmRisingThreshAbsValueHi, and\nhcAlarmRisingThresholdValStatus objects.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmFallingThresholdValStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 13), HcValueStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmFallingThresholdValStatus.setDescription("This object indicates the sign of the data for the falling\nthreshold, as defined by the hcAlarmFallingThreshAbsValueLo\nand hcAlarmFallingThreshAbsValueHi objects, as described in\nthe HcValueStatus textual convention.\n\nThe enumeration 'valueNotAvailable(1)' is not allowed, and\nthe associated hcAlarmStatus object cannot be equal to\n'active(1)' if this object is set to this value.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmRisingEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmRisingEventIndex.setDescription("The index of the eventEntry that is used when a rising\nthreshold is crossed. The eventEntry identified by a\nparticular value of this index is the same as identified by\nthe same value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no association\nexists. In particular, if this value is zero, no associated\nevent will be generated, as zero is not a valid event index.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmFallingEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmFallingEventIndex.setDescription("The index of the eventEntry that is used when a falling\nthreshold is crossed. The eventEntry identified by a\nparticular value of this index is the same as identified by\nthe same value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no association\nexists. In particular, if this value is zero, no associated\nevent will be generated, as zero is not a valid event index.\n\nThis object may not be modified if the associated\nhcAlarmStatus object is equal to active(1).") hcAlarmValueFailedAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hcAlarmValueFailedAttempts.setDescription("The number of times the associated hcAlarmVariable instance\nwas polled on behalf of this hcAlarmEntry, (while in the\nactive state) and the value was not available. This counter\nmay experience a discontinuity if the agent restarts,\nindicated by the value of sysUpTime.") hcAlarmOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 17), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") hcAlarmStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 18), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmStorageType.setDescription("The type of non-volatile storage configured for this entry.\nIf this object is equal to 'permanent(4)', then the\nassociated hcAlarmRisingEventIndex and\nhcAlarmFallingEventIndex objects must be writable.") hcAlarmStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 29, 1, 1, 1, 1, 19), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hcAlarmStatus.setDescription("The status of this row.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value, as described\nin the description clause for each writable object.\n\nThe hcAlarmStatus object may be modified if the associated\ninstance of this object is equal to active(1),\nnotInService(2), or notReady(3). All other writable objects\nmay be modified if the associated instance of this object is\nequal to notInService(2) or notReady(3).") hcAlarmCapabilitiesObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 1, 2)) hcAlarmCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 16, 29, 1, 2, 1), Bits().subtype(namedValues=NamedValues(("hcAlarmCreation", 0), ("hcAlarmNvStorage", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hcAlarmCapabilities.setDescription("An indication of the high capacity alarm capabilities\nsupported by this agent.\n\nIf the 'hcAlarmCreation' BIT is set, then this agent allows\nNMS applications to create entries in the hcAlarmTable.\n\nIf the 'hcAlarmNvStorage' BIT is set, then this agent allows\nentries in the hcAlarmTable which will be recreated after a\nsystem restart, as controlled by the hcAlarmStorageType\nobject.") hcAlarmNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 2)) hcAlarmNotifPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 2, 0)) hcAlarmConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 3)) hcAlarmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 3, 1)) hcAlarmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 29, 3, 2)) # Augmentions # Notifications hcRisingAlarm = NotificationType((1, 3, 6, 1, 2, 1, 16, 29, 2, 0, 1)).setObjects(*(("HC-ALARM-MIB", "hcAlarmRisingEventIndex"), ("HC-ALARM-MIB", "hcAlarmVariable"), ("HC-ALARM-MIB", "hcAlarmRisingThreshAbsValueLo"), ("HC-ALARM-MIB", "hcAlarmValueStatus"), ("HC-ALARM-MIB", "hcAlarmRisingThreshAbsValueHi"), ("HC-ALARM-MIB", "hcAlarmRisingThresholdValStatus"), ("HC-ALARM-MIB", "hcAlarmSampleType"), ("HC-ALARM-MIB", "hcAlarmAbsValue"), ) ) if mibBuilder.loadTexts: hcRisingAlarm.setDescription("The SNMP notification that is generated when a high\ncapacity alarm entry crosses its rising threshold and\ngenerates an event that is configured for sending SNMP\ntraps.\n\nThe hcAlarmEntry object instances identified in the OBJECTS\n\n\n\nclause are from the entry that causes this notification to\nbe generated.") hcFallingAlarm = NotificationType((1, 3, 6, 1, 2, 1, 16, 29, 2, 0, 2)).setObjects(*(("HC-ALARM-MIB", "hcAlarmVariable"), ("HC-ALARM-MIB", "hcAlarmFallingThresholdValStatus"), ("HC-ALARM-MIB", "hcAlarmFallingThreshAbsValueHi"), ("HC-ALARM-MIB", "hcAlarmValueStatus"), ("HC-ALARM-MIB", "hcAlarmFallingThreshAbsValueLo"), ("HC-ALARM-MIB", "hcAlarmSampleType"), ("HC-ALARM-MIB", "hcAlarmAbsValue"), ("HC-ALARM-MIB", "hcAlarmFallingEventIndex"), ) ) if mibBuilder.loadTexts: hcFallingAlarm.setDescription("The SNMP notification that is generated when a high\ncapacity alarm entry crosses its falling threshold and\ngenerates an event that is configured for sending SNMP\ntraps.\n\nThe hcAlarmEntry object instances identified in the OBJECTS\nclause are from the entry that causes this notification to\nbe generated.") # Groups hcAlarmControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 29, 3, 2, 1)).setObjects(*(("HC-ALARM-MIB", "hcAlarmRisingEventIndex"), ("HC-ALARM-MIB", "hcAlarmRisingThreshAbsValueLo"), ("HC-ALARM-MIB", "hcAlarmFallingThreshAbsValueHi"), ("HC-ALARM-MIB", "hcAlarmOwner"), ("HC-ALARM-MIB", "hcAlarmValueStatus"), ("HC-ALARM-MIB", "hcAlarmRisingThreshAbsValueHi"), ("HC-ALARM-MIB", "hcAlarmStorageType"), ("HC-ALARM-MIB", "hcAlarmFallingThreshAbsValueLo"), ("HC-ALARM-MIB", "hcAlarmAbsValue"), ("HC-ALARM-MIB", "hcAlarmFallingThresholdValStatus"), ("HC-ALARM-MIB", "hcAlarmVariable"), ("HC-ALARM-MIB", "hcAlarmStartupAlarm"), ("HC-ALARM-MIB", "hcAlarmValueFailedAttempts"), ("HC-ALARM-MIB", "hcAlarmInterval"), ("HC-ALARM-MIB", "hcAlarmRisingThresholdValStatus"), ("HC-ALARM-MIB", "hcAlarmSampleType"), ("HC-ALARM-MIB", "hcAlarmStatus"), ("HC-ALARM-MIB", "hcAlarmFallingEventIndex"), ) ) if mibBuilder.loadTexts: hcAlarmControlGroup.setDescription("A collection of objects used to configure entries for high\ncapacity alarm threshold monitoring purposes.") hcAlarmCapabilitiesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 29, 3, 2, 2)).setObjects(*(("HC-ALARM-MIB", "hcAlarmCapabilities"), ) ) if mibBuilder.loadTexts: hcAlarmCapabilitiesGroup.setDescription("A collection of objects used to indicate an agent's high\ncapacity alarm threshold monitoring capabilities.") hcAlarmNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 16, 29, 3, 2, 3)).setObjects(*(("HC-ALARM-MIB", "hcRisingAlarm"), ("HC-ALARM-MIB", "hcFallingAlarm"), ) ) if mibBuilder.loadTexts: hcAlarmNotificationsGroup.setDescription("A collection of notifications to deliver information\nrelated to a high capacity rising or falling threshold event\n\n\n\nto a management application.") # Compliances hcAlarmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 29, 3, 1, 1)).setObjects(*(("HC-ALARM-MIB", "hcAlarmCapabilitiesGroup"), ("RMON-MIB", "rmonEventGroup"), ("HC-ALARM-MIB", "hcAlarmControlGroup"), ("HC-ALARM-MIB", "hcAlarmNotificationsGroup"), ) ) if mibBuilder.loadTexts: hcAlarmCompliance.setDescription("Describes the requirements for conformance to the High\nCapacity Alarm MIB.") # Exports # Module identity mibBuilder.exportSymbols("HC-ALARM-MIB", PYSNMP_MODULE_ID=hcAlarmMIB) # Types mibBuilder.exportSymbols("HC-ALARM-MIB", HcValueStatus=HcValueStatus) # Objects mibBuilder.exportSymbols("HC-ALARM-MIB", hcAlarmMIB=hcAlarmMIB, hcAlarmObjects=hcAlarmObjects, hcAlarmControlObjects=hcAlarmControlObjects, hcAlarmTable=hcAlarmTable, hcAlarmEntry=hcAlarmEntry, hcAlarmIndex=hcAlarmIndex, hcAlarmInterval=hcAlarmInterval, hcAlarmVariable=hcAlarmVariable, hcAlarmSampleType=hcAlarmSampleType, hcAlarmAbsValue=hcAlarmAbsValue, hcAlarmValueStatus=hcAlarmValueStatus, hcAlarmStartupAlarm=hcAlarmStartupAlarm, hcAlarmRisingThreshAbsValueLo=hcAlarmRisingThreshAbsValueLo, hcAlarmRisingThreshAbsValueHi=hcAlarmRisingThreshAbsValueHi, hcAlarmRisingThresholdValStatus=hcAlarmRisingThresholdValStatus, hcAlarmFallingThreshAbsValueLo=hcAlarmFallingThreshAbsValueLo, hcAlarmFallingThreshAbsValueHi=hcAlarmFallingThreshAbsValueHi, hcAlarmFallingThresholdValStatus=hcAlarmFallingThresholdValStatus, hcAlarmRisingEventIndex=hcAlarmRisingEventIndex, hcAlarmFallingEventIndex=hcAlarmFallingEventIndex, hcAlarmValueFailedAttempts=hcAlarmValueFailedAttempts, hcAlarmOwner=hcAlarmOwner, hcAlarmStorageType=hcAlarmStorageType, hcAlarmStatus=hcAlarmStatus, hcAlarmCapabilitiesObjects=hcAlarmCapabilitiesObjects, hcAlarmCapabilities=hcAlarmCapabilities, hcAlarmNotifications=hcAlarmNotifications, hcAlarmNotifPrefix=hcAlarmNotifPrefix, hcAlarmConformance=hcAlarmConformance, hcAlarmCompliances=hcAlarmCompliances, hcAlarmGroups=hcAlarmGroups) # Notifications mibBuilder.exportSymbols("HC-ALARM-MIB", hcRisingAlarm=hcRisingAlarm, hcFallingAlarm=hcFallingAlarm) # Groups mibBuilder.exportSymbols("HC-ALARM-MIB", hcAlarmControlGroup=hcAlarmControlGroup, hcAlarmCapabilitiesGroup=hcAlarmCapabilitiesGroup, hcAlarmNotificationsGroup=hcAlarmNotificationsGroup) # Compliances mibBuilder.exportSymbols("HC-ALARM-MIB", hcAlarmCompliance=hcAlarmCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ROHC-RTP-MIB.py0000644000014400001440000005160611736645137020644 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ROHC-RTP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:35 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( rohcChannelID, rohcContextCID, ) = mibBuilder.importSymbols("ROHC-MIB", "rohcChannelID", "rohcContextCID") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue") # Objects rohcRtpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 114)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: rohcRtpMIB.setOrganization("IETF Robust Header Compression Working Group") if mibBuilder.loadTexts: rohcRtpMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/rohc-charter.html\n\nMailing Lists:\nGeneral Discussion: rohc@ietf.org\nTo Subscribe: rohc-request@ietf.org\nIn Body: subscribe your_email_address\n\nEditor:\nJuergen Quittek\nNEC Europe Ltd.\nNetwork Laboratories\nKurfuersten-Anlage 36\n69221 Heidelberg\nGermany\nTel: +49 6221 90511-15\nEMail: quittek@netlab.nec.de") if mibBuilder.loadTexts: rohcRtpMIB.setDescription("This MIB module defines a set of objects for monitoring\nand configuring RObust Header Compression (ROHC).\nThe objects are specific to ROHC RTP (profile 0x0001),\nROHC UDP (profile 0x0002), and ROHC ESP (profile 0x0003)\ndefined in RFC 3095 and for the ROHC LLA profile (profile\n0x0005) defined in RFC 3242.\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3816. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html") rohcRtpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 114, 1)) rohcRtpContextTable = MibTable((1, 3, 6, 1, 2, 1, 114, 1, 1)) if mibBuilder.loadTexts: rohcRtpContextTable.setDescription("This table lists and describes RTP profile specific\nproperties of compressor contexts and decompressor\ncontexts. It extends the rohcContextTable of the\nROHC-MIB module.") rohcRtpContextEntry = MibTableRow((1, 3, 6, 1, 2, 1, 114, 1, 1, 1)).setIndexNames((0, "ROHC-MIB", "rohcChannelID"), (0, "ROHC-MIB", "rohcContextCID")) if mibBuilder.loadTexts: rohcRtpContextEntry.setDescription("An entry describing a particular context.") rohcRtpContextState = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(5,3,4,2,1,6,)).subtype(namedValues=NamedValues(("initAndRefresh", 1), ("firstOrder", 2), ("secondOrder", 3), ("noContext", 4), ("staticContext", 5), ("fullContext", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextState.setDescription("State of the context as defined in RFC 3095. States\ninitAndRefresh(1), firstOrder(2), and secondOrder(3)\nare states of compressor contexts, states noContext(4),\nstaticContext(5) and fullContext(6) are states of\ndecompressor contexts.") rohcRtpContextMode = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("unidirectional", 1), ("optimistic", 2), ("reliable", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextMode.setDescription("Mode of the context.") rohcRtpContextAlwaysPad = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 5), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextAlwaysPad.setDescription("Boolean, only applicable to compressor contexts using the\n\n\nLLA profile. If its value is true, the compressor must\npad every RHP packet with a minimum of one octet ROHC\npadding.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpContextLargePktsAllowed = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 6), TruthValue().clone('true')).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextLargePktsAllowed.setDescription("Boolean, only applicable to compressor contexts using the\nLLA profile. It specifies how to handle packets that do\nnot fit any of the preferred packet sizes specified. If\nits value is true, the compressor must deliver the larger\npacket as-is and must not use segmentation. If it is set\nto false, the ROHC segmentation scheme must be used to\nsplit the packet into two or more segments, and each\nsegment must further be padded to fit one of the preferred\npacket sizes.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpContextVerifyPeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 7), Unsigned32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextVerifyPeriod.setDescription("This object is only applicable to compressor contexts\nusing the LLA profile. It specifies the minimum frequency\nwith which a packet validating the context must be sent.\nThis tells the compressor that a packet containing a CRC\n\n\nfield must be sent at least once every N packets, where N\nis the value of the object. A value of 0 indicates that\nperiodical verifications are disabled.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpContextSizesAllowed = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextSizesAllowed.setDescription("The value of this object is only valid for decompressor\ncontexts, i.e., if rohcInstanceType of the corresponding\nrohcContextEntry has the value decompressor(2). For\ncompressor contexts where rohcInstanceType has the value\ncompressor(1), this object MUST NOT be instantiated.\n\nThis object contains the number of different packet sizes\nthat may be used in the context.") rohcRtpContextSizesUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextSizesUsed.setDescription("The value of this object is only valid for decompressor\ncontexts, i.e., if rohcInstanceType of the corresponding\nrohcContextEntry has the value decompressor(2). For\ncompressor contexts where rohcInstanceType has the value\ncompressor(1), this object MUST NOT be instantiated.\n\nThis object contains the number of different packet sizes\nthat are used in the context.") rohcRtpContextACKs = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextACKs.setDescription("The number of all positive feedbacks (ACK) sent or\nreceived in this context, respectively.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.") rohcRtpContextNACKs = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextNACKs.setDescription("The number of all dynamic negative feedbacks (ACK) sent\nor received in this context, respectively.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.") rohcRtpContextSNACKs = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextSNACKs.setDescription("The number of all static negative feedbacks (ACK) sent\nor received in this context, respectively.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\n\n\n\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.") rohcRtpContextNHPs = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextNHPs.setDescription("This object is only applicable to contexts using the\nLLA profile. It contains the number of all no-header\npackets (NHP) sent or received in this context,\nrespectively.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpContextCSPs = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextCSPs.setDescription("This object is only applicable to contexts using the\nLLA profile. It contains the number of all context\nsynchronization packets (CSP) sent or received in this\ncontext, respectively.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\n\n\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpContextCCPs = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextCCPs.setDescription("This object is only applicable to contexts using the\nLLA profile. It contains the number of all context check\npackets (CCP) sent or received in this context,\nrespectively.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpContextPktsLostPhysical = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextPktsLostPhysical.setDescription("This object is only applicable to decompressor contexts\n\n\nusing the LLA profile. It contains the number of physical\npacket losses on the link between compressor and\ndecompressor, that have been indicated to the decompressor.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpContextPktsLostPreLink = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpContextPktsLostPreLink.setDescription("This object is only applicable to decompressor contexts\nusing the LLA profile. It contains the number of pre-link\npacket losses on the link between compressor and\ndecompressor, that have been indicated to the decompressor.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpPacketSizeTable = MibTable((1, 3, 6, 1, 2, 1, 114, 1, 2)) if mibBuilder.loadTexts: rohcRtpPacketSizeTable.setDescription("This table lists all allowed, preferred, and used packet\nsizes per compressor context and channel.\n\nNote, that the sizes table represents implementation\nparameters that are suggested by RFC 3095 and/or RFC 3242,\nbut that are not mandatory.") rohcRtpPacketSizeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 114, 1, 2, 1)).setIndexNames((0, "ROHC-MIB", "rohcChannelID"), (0, "ROHC-MIB", "rohcContextCID"), (0, "ROHC-RTP-MIB", "rohcRtpPacketSize")) if mibBuilder.loadTexts: rohcRtpPacketSizeEntry.setDescription("An entry of a particular packet size.") rohcRtpPacketSize = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rohcRtpPacketSize.setDescription("A packet size used as index.") rohcRtpPacketSizePreferred = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 2, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpPacketSizePreferred.setDescription("This object is only applicable to compressor contexts\nusing the LLA profile. When retrieved, it will have\nthe value true(1) if the packet size is preferred.\nOtherwise, its value will be false(2).\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpPacketSizeUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 2, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpPacketSizeUsed.setDescription("This object is only applicable to compressor contexts\nusing the UDP, RTP, or ESP profile. When retrieved,\nit will have the value true(1) if the packet size is\nused. Otherwise, its value will be false(2).\n\nThe value of this object is only valid for UDP, RTP,\nand ESP profiles, i.e., if the corresponding rohcProfile\nhas a value of either 0x0001, 0x0002 or 0x0003. If\nthe corresponding rohcProfile has a value other than\n0x0001, 0x0002 or 0x0003, then this object MUST NOT be\ninstantiated.") rohcRtpPacketSizeRestrictedType = MibTableColumn((1, 3, 6, 1, 2, 1, 114, 1, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("nhpOnly", 1), ("rhpOnly", 2), ("noRestrictions", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcRtpPacketSizeRestrictedType.setDescription("This object is only applicable to preferred packet\n\n\nsizes of compressor contexts using the LLA profile.\nWhen retrieved, it will indicate whether the packet\nsize is preferred for NHP only, for RHP only, or\nfor both of them.\n\nThe value of this object is only valid for LLA profiles,\ni.e., if the corresponding rohcProfile has a value of\n0x0005. If the corresponding rohcProfile has a value\nother than 0x0005, then this object MUST NOT be\ninstantiated.") rohcRtpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 114, 2)) rohcRtpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 114, 2, 1)) rohcRtpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 114, 2, 2)) # Augmentions # Groups rohcRtpContextGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 114, 2, 2, 1)).setObjects(*(("ROHC-RTP-MIB", "rohcRtpContextVerifyPeriod"), ("ROHC-RTP-MIB", "rohcRtpContextLargePktsAllowed"), ("ROHC-RTP-MIB", "rohcRtpContextAlwaysPad"), ("ROHC-RTP-MIB", "rohcRtpContextMode"), ("ROHC-RTP-MIB", "rohcRtpContextState"), ) ) if mibBuilder.loadTexts: rohcRtpContextGroup.setDescription("A collection of objects providing information about\nROHC RTP compressors and decompressors.") rohcRtpPacketSizesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 114, 2, 2, 2)).setObjects(*(("ROHC-RTP-MIB", "rohcRtpContextSizesUsed"), ("ROHC-RTP-MIB", "rohcRtpPacketSizeRestrictedType"), ("ROHC-RTP-MIB", "rohcRtpPacketSizePreferred"), ("ROHC-RTP-MIB", "rohcRtpContextSizesAllowed"), ("ROHC-RTP-MIB", "rohcRtpPacketSizeUsed"), ) ) if mibBuilder.loadTexts: rohcRtpPacketSizesGroup.setDescription("A collection of objects providing information about\nallowed and used packet sizes at a ROHC RTP compressor.") rohcRtpStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 114, 2, 2, 3)).setObjects(*(("ROHC-RTP-MIB", "rohcRtpContextSNACKs"), ("ROHC-RTP-MIB", "rohcRtpContextCCPs"), ("ROHC-RTP-MIB", "rohcRtpContextNHPs"), ("ROHC-RTP-MIB", "rohcRtpContextPktsLostPreLink"), ("ROHC-RTP-MIB", "rohcRtpContextNACKs"), ("ROHC-RTP-MIB", "rohcRtpContextCSPs"), ("ROHC-RTP-MIB", "rohcRtpContextACKs"), ("ROHC-RTP-MIB", "rohcRtpContextPktsLostPhysical"), ) ) if mibBuilder.loadTexts: rohcRtpStatisticsGroup.setDescription("A collection of objects providing ROHC compressor and\ndecompressor statistics.") # Compliances rohcRtpCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 114, 2, 1, 1)).setObjects(*(("ROHC-RTP-MIB", "rohcRtpStatisticsGroup"), ("ROHC-RTP-MIB", "rohcRtpPacketSizesGroup"), ("ROHC-RTP-MIB", "rohcRtpContextGroup"), ) ) if mibBuilder.loadTexts: rohcRtpCompliance.setDescription("The compliance statement for SNMP entities that implement\nthe ROHC-RTP-MIB.\n\nNote that compliance with this compliance\nstatement requires compliance with the\nrohcCompliance MODULE-COMPLIANCE statement of the\nROHC-MIB and with the ifCompliance3 MODULE-COMPLIANCE\nstatement of the IF-MIB (RFC2863).") # Exports # Module identity mibBuilder.exportSymbols("ROHC-RTP-MIB", PYSNMP_MODULE_ID=rohcRtpMIB) # Objects mibBuilder.exportSymbols("ROHC-RTP-MIB", rohcRtpMIB=rohcRtpMIB, rohcRtpObjects=rohcRtpObjects, rohcRtpContextTable=rohcRtpContextTable, rohcRtpContextEntry=rohcRtpContextEntry, rohcRtpContextState=rohcRtpContextState, rohcRtpContextMode=rohcRtpContextMode, rohcRtpContextAlwaysPad=rohcRtpContextAlwaysPad, rohcRtpContextLargePktsAllowed=rohcRtpContextLargePktsAllowed, rohcRtpContextVerifyPeriod=rohcRtpContextVerifyPeriod, rohcRtpContextSizesAllowed=rohcRtpContextSizesAllowed, rohcRtpContextSizesUsed=rohcRtpContextSizesUsed, rohcRtpContextACKs=rohcRtpContextACKs, rohcRtpContextNACKs=rohcRtpContextNACKs, rohcRtpContextSNACKs=rohcRtpContextSNACKs, rohcRtpContextNHPs=rohcRtpContextNHPs, rohcRtpContextCSPs=rohcRtpContextCSPs, rohcRtpContextCCPs=rohcRtpContextCCPs, rohcRtpContextPktsLostPhysical=rohcRtpContextPktsLostPhysical, rohcRtpContextPktsLostPreLink=rohcRtpContextPktsLostPreLink, rohcRtpPacketSizeTable=rohcRtpPacketSizeTable, rohcRtpPacketSizeEntry=rohcRtpPacketSizeEntry, rohcRtpPacketSize=rohcRtpPacketSize, rohcRtpPacketSizePreferred=rohcRtpPacketSizePreferred, rohcRtpPacketSizeUsed=rohcRtpPacketSizeUsed, rohcRtpPacketSizeRestrictedType=rohcRtpPacketSizeRestrictedType, rohcRtpConformance=rohcRtpConformance, rohcRtpCompliances=rohcRtpCompliances, rohcRtpGroups=rohcRtpGroups) # Groups mibBuilder.exportSymbols("ROHC-RTP-MIB", rohcRtpContextGroup=rohcRtpContextGroup, rohcRtpPacketSizesGroup=rohcRtpPacketSizesGroup, rohcRtpStatisticsGroup=rohcRtpStatisticsGroup) # Compliances mibBuilder.exportSymbols("ROHC-RTP-MIB", rohcRtpCompliance=rohcRtpCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MIOX25-MIB.py0000644000014400001440000005246011736645137020370 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MIOX25-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:17 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( InstancePointer, ) = mibBuilder.importSymbols("RFC1316-MIB", "InstancePointer") ( PositiveInteger, ) = mibBuilder.importSymbols("RFC1381-MIB", "PositiveInteger") ( X121Address, ) = mibBuilder.importSymbols("RFC1382-MIB", "X121Address") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "transmission") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Objects miox = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 38)) mioxPle = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 38, 1)) mioxPleTable = MibTable((1, 3, 6, 1, 2, 1, 10, 38, 1, 1)) if mibBuilder.loadTexts: mioxPleTable.setDescription("This table contains information relative to\nan interface to an X.25 Packet Level Entity\n(PLE).") mioxPleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: mioxPleEntry.setDescription("These objects manage the encapsulation of\nother protocols within X.25.") mioxPleMaxCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPleMaxCircuits.setDescription("The maximum number of X.25 circuits that\ncan be open at one time for this interface.\nA value of zero indicates the interface will\nnot allow any additional circuits (as it may\nsoon be shutdown). A value of 2147483647\nallows an unlimited number of circuits.") mioxPleRefusedConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleRefusedConnections.setDescription("The number of X.25 calls from a remote\nsystems to this system that were cleared by\nthis system. The interface instance should\nidentify the X.25 interface the call came in\non.") mioxPleEnAddrToX121LkupFlrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleEnAddrToX121LkupFlrs.setDescription("The number of times a translation from an\nEncapsulated Address to an X.121 address\nfailed to find a corresponding X.121\naddress. Encapsulated addresses can be\nlooked up in the mioxPeerTable or translated\nvia an algorithm as for the DDN. Addresses\nthat are successfully recognized do not\nincrement this counter. Addresses that are\nnot recognized (reflecting an abnormal\npacket delivery condition) increment this\ncounter.\n\nIf an address translation fails, it may be\ndifficult to determine which PLE entry\nshould count the failure. In such cases the\nfirst likely entry in this table should be\nselected. Agents should record the failure\neven if they are unsure which PLE should be\nassociated with the failure.") mioxPleLastFailedEnAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleLastFailedEnAddr.setDescription("The last Encapsulated address that failed\nto find a corresponding X.121 address and\ncaused mioxPleEnAddrToX121LkupFlrs to be\nincremented. The first octet of this object\ncontains the encapsulation type, the\nremaining octets contain the address of that\ntype that failed. Thus for an IP address,\nthe length will be five octets, the first\noctet will contain 204 (hex CC), and the\nlast four octets will contain the IP\naddress. For a snap encapsulation, the\nfirst byte would be 128 (hex 80) and the\nrest of the octet string would have the snap\nheader.") mioxPleEnAddrToX121LkupFlrTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleEnAddrToX121LkupFlrTime.setDescription("The most recent value of sysUpTime when the\ntranslation from an Encapsulated Address to\nX.121 address failed to find a corresponding\nX.121 address.") mioxPleX121ToEnAddrLkupFlrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleX121ToEnAddrLkupFlrs.setDescription("The number of times the translation from an\nX.121 address to an Encapsulated Address\nfailed to find a corresponding Encapsulated\nAddress. Addresses successfully recognized\nby an algorithm do not increment this\ncounter. This counter reflects the number\nof times call acceptance encountered the\nabnormal condition of not recognizing the\npeer.") mioxPleLastFailedX121Address = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 7), X121Address()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleLastFailedX121Address.setDescription("The last X.121 address that caused\nmioxPleX121ToEnAddrLkupFlrs to increase.") mioxPleX121ToEnAddrLkupFlrTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleX121ToEnAddrLkupFlrTime.setDescription("The most recent value of sysUpTime when the\ntranslation from an X.121 address to an\nEncapsulated Address failed to find a\ncorresponding Encapsulated Address.") mioxPleQbitFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleQbitFailures.setDescription("The number of times a connection was closed\nbecause of a Q-bit failure.") mioxPleQbitFailureRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 10), X121Address()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleQbitFailureRemoteAddress.setDescription("The remote address of the most recent\n(last) connection that was closed because of\na Q-bit failure.") mioxPleQbitFailureTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPleQbitFailureTime.setDescription("The most recent value of sysUpTime when a\nconnection was closed because of a Q-bit\nfailure. This will also be the last time\nthat mioxPleQbitFailures was incremented.") mioxPleMinimumOpenTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 12), PositiveInteger().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPleMinimumOpenTimer.setDescription("The minimum time in milliseconds this\ninterface will keep a connection open before\nallowing it to be closed. A value of zero\nindicates no timer.") mioxPleInactivityTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 13), PositiveInteger().clone('10000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPleInactivityTimer.setDescription("The amount of time time in milliseconds\nthis interface will keep an idle connection\nopen before closing it. A value of\n2147483647 indicates no timer.") mioxPleHoldDownTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 14), PositiveInteger().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPleHoldDownTimer.setDescription("The hold down timer in milliseconds. This\nis the minimum amount of time to wait before\ntrying another call to a host that was\npreviously unsuccessful. A value of\n2147483647 indicates the host will not be\nretried.") mioxPleCollisionRetryTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 15), PositiveInteger().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPleCollisionRetryTimer.setDescription("The Collision Retry Timer in milliseconds.\nThe time to delay between call attempts when\nthe maximum number of circuits is exceeded\nin a call attempt.") mioxPleDefaultPeerId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 1, 1, 1, 16), InstancePointer()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPleDefaultPeerId.setDescription("This identifies the instance of the index\nin the mioxPeerTable for the default\nparameters to use with this interface.\n\nThe entry identified by this object may have\na zero length Encapsulation address and a\nzero length X.121 address.\n\nThese default parameters are used with\nconnections to hosts that do not have\nentries in the mioxPeerTable. Such\nconnections occur when using ddn-x25 IP-X.25\naddress mapping or when accepting\nconnections from other hosts not in the\nmioxPeerTable.\n\nThe mioxPeerEncTable entry with the same\nindex as the mioxPeerTable entry specifies\nthe call encapsulation types this PLE will\naccept for peers not in the mioxPeerTable.\nIf the mioxPeerEncTable doesn't contain any\nentries, this PLE will not accept calls from\nentries not in the mioxPeerTable.") mioxPeer = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 38, 2)) mioxPeerTable = MibTable((1, 3, 6, 1, 2, 1, 10, 38, 2, 1)) if mibBuilder.loadTexts: mioxPeerTable.setDescription("This table contains information about the\npossible peers this machine may exchange\npackets with.") mioxPeerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1)).setIndexNames((0, "MIOX25-MIB", "mioxPeerIndex")) if mibBuilder.loadTexts: mioxPeerEntry.setDescription("Per peer information.") mioxPeerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 1), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPeerIndex.setDescription("An index value that distinguished one entry\nfrom another. This index is independent of\nany other index.") mioxPeerStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,4,3,2,1,)).subtype(namedValues=NamedValues(("valid", 1), ("createRequest", 2), ("underCreation", 3), ("invalid", 4), ("clearCall", 5), ("makeCall", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerStatus.setDescription("This reports the status of a peer entry.\nA value of valid indicates a normal entry\nthat is in use by the agent. A value of\nunderCreation indicates a newly created\nentry which isn't yet in use because the\ncreating management station is still setting\nvalues.\n\nThe value of invalid indicates the entry is\nno longer in use and the agent is free to\ndelete the entry at any time. A management\nstation is also free to use an entry in the\ninvalid state.\n\nEntries are created by setting a value of\ncreateRequest. Only non-existent or invalid\nentries can be set to createRequest. Upon\nreceiving a valid createRequest, the agent\nwill create an entry in the underCreation\nstate. This object can not be set to a\nvalue of underCreation directly, entries can\nonly be created by setting a value of\ncreateRequest. Entries that exist in other\nthan the invalid state can not be set to\ncreateRequest.\n\nEntries with a value of underCreation are\nnot used by the system and the management\nstation can change the values of other\nobjects in the table entry. Management\nstations should also remember to configure\nvalues in the mioxPeerEncTable with the same\npeer index value as this peer entry.\n\nAn entry in the underCreation state can be\nset to valid or invalid. Entries in the\nunderCreation state will stay in that state\nuntil 1) the agent times them out, 2) they\nare set to valid, 3) they are set to\ninvalid. If an agent notices an entry has\nbeen in the underCreation state for an\nabnormally long time, it may decide the\nmanagement station has failed and invalidate\nthe entry. A prudent agent will understand\nthat the management station may need to wait\nfor human input and will allow for that\npossibility in its determination of this\nabnormally long period.\n\nOnce a management station has completed all\nfields of an entry, it will set a value of\nvalid. This causes the entry to be\nactivated.\n\nEntries in the valid state may also be set\nto makeCall or clearCall to make or clear\nX.25 calls to the peer. After such a set\nrequest the entry will still be in the valid\nstate. Setting a value of makeCall causes\nthe agent to initiate an X.25 call request\nto the peer specified by the entry. Setting\na value of clearCall causes the agent to\ninitiate clearing one X.25 call present to\nthe peer. Each set request will initiate\nanother call or clear request (up to the\nmaximum allowed); this means that management\nstations that fail to get a response to a\nset request should query to see if a call\nwas in fact placed or cleared before\nretrying the request. Entries not in the\nvalid state can not be set to makeCall or\nclearCall.\n\nThe values of makeCall and clearCall provide\nfor circuit control on devices which perform\nEthernet Bridging using static circuit\nassignment without address recognition;\nother devices which dynamically place calls\nbased on destination addresses may reject\nsuch requests.\n\nAn agent that (re)creates a new entry\nbecause of a set with createRequest, should\nalso (re)create a mioxPeerEncTable entry\nwith a mioxPeerEncIndex of 1, and a\nmioxPeerEncType of 204 (hex CC).") mioxPeerMaxCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 3), PositiveInteger().clone('1')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerMaxCircuits.setDescription("The maximum number of X.25 circuits allowed\nto this peer.") mioxPeerIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 4), PositiveInteger().clone('1')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerIfIndex.setDescription("The value of the ifIndex object for the\ninterface to X.25 to use to call the peer.") mioxPeerConnectSeconds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPeerConnectSeconds.setDescription("The number of seconds a call to this peer\nwas active. This counter will be\nincremented by one for every second a\nconnection to a peer was open. If two calls\nare open at the same time, one second of\nelapsed real time will results in two\nseconds of connect time.") mioxPeerX25CallParamId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 6), InstancePointer()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerX25CallParamId.setDescription("The instance of the index object in the\nx25CallParmTable from RFC 1382 for the X.25\ncall parameters used to communicate with the\nremote host. The well known value {0 0}\nindicates no call parameters specified.") mioxPeerEnAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerEnAddr.setDescription("The Encapsulation address of the remote\nhost mapped by this table entry. A length\nof zero indicates the remote IP address is\nunknown or unspecified for use as a PLE\ndefault.\n\nThe first octet of this object contains the\nencapsulation type, the remaining octets\ncontain an address of that type. Thus for\nan IP address, the length will be five\noctets, the first octet will contain 204\n(hex CC), and the last four octets will\ncontain the IP address. For a snap\nencapsulation, the first byte would be 128\n(hex 80) and the rest of the octet string\nwould have the snap header.") mioxPeerX121Address = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 8), X121Address().clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerX121Address.setDescription("The X.25 address of the remote host mapped\nby this table entry. A zero length string\nindicates the X.25 address is unspecified\nfor use as the PLE default.") mioxPeerX25CircuitId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 9), InstancePointer()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerX25CircuitId.setDescription("This object identifies the instance of the\nindex for the X.25 circuit open to the peer\nmapped by this table entry. The well known\nvalue {0 0} indicates no connection\ncurrently active. For multiple connections,\nthis identifies the index of a multiplexing\ntable entry for the connections. This can\nonly be written to configure use of PVCs\nwhich means the identified circuit table\nentry for a write must be a PVC.") mioxPeerDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 1, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerDescr.setDescription("This object returns any identification\ninformation about the peer. An agent may\nsupply the comment information found in the\nconfiguration file entry for this peer. A\nzero length string indicates no information\navailable.") mioxPeerEncTable = MibTable((1, 3, 6, 1, 2, 1, 10, 38, 2, 2)) if mibBuilder.loadTexts: mioxPeerEncTable.setDescription("This table contains the list of\nencapsulations used to communicate with a\npeer. This table has two indexes, the first\nidentifies the peer, the second\ndistinguishes encapsulation types.\n\nThe first index identifies the corresponding\nentry in the mioxPeerTable. The second\nindex gives the priority of the different\nencapsulations.\n\nThe encapsulation types are ordered in\npriority order. For calling a peer, the\nfirst entry (mioxPeerEncIndex of 1) is tried\nfirst. If the call doesn't succeed because\nthe remote host clears the call due to\nincompatible call user data, the next entry\nin the list is tried. Each entry is tried\nuntil the list is exhausted.\n\nFor answering a call, the encapsulation type\nrequested by the peer must be found the list\nor the call will be refused. If there are\nno entries in this table for a peer, all\ncall requests from the peer will be refused.\n\nObjects in this table can only be set when\nthe mioxPeerStatus object with the same\nindex has a value of underCreation. When\nthat status object is set to invalid and\ndeleted, the entry in this table with that\npeer index must also be deleted.") mioxPeerEncEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 38, 2, 2, 1)).setIndexNames((0, "MIOX25-MIB", "mioxPeerIndex"), (0, "MIOX25-MIB", "mioxPeerEncIndex")) if mibBuilder.loadTexts: mioxPeerEncEntry.setDescription("Per connection information.") mioxPeerEncIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 2, 1, 1), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: mioxPeerEncIndex.setDescription("The second index in the table which\ndistinguishes different encapsulation\ntypes.") mioxPeerEncType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 38, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mioxPeerEncType.setDescription("The value of the encapsulation type. For\nIP encapsulation this will have a value of\n204 (hex CC). For SNAP encapsulated\npackets, this will have a value of 128 (hex\n80). For CLNP, ISO 8473, this will have a\nvalue of 129 (hex 81). For ES-ES, ISO 9542,\nthis will have a value of 130 (hex 82). A\nvalue of 197 (hex C5) identifies the Blacker\nX.25 encapsulation. A value of 0,\nidentifies the Null encapsulation.\n\nThis value can only be written when the\nmioxPeerStatus object with the same\nmioxPeerIndex has a value of underCreation.\nSetting this object to a value of 256\ndeletes the entry. When deleting an entry,\nall other entries in the mioxPeerEncTable\nwith the same mioxPeerIndex and with an\nmioxPeerEncIndex higher then the deleted\nentry, will all have their mioxPeerEncIndex\nvalues decremented by one.") # Augmentions # Exports # Objects mibBuilder.exportSymbols("MIOX25-MIB", miox=miox, mioxPle=mioxPle, mioxPleTable=mioxPleTable, mioxPleEntry=mioxPleEntry, mioxPleMaxCircuits=mioxPleMaxCircuits, mioxPleRefusedConnections=mioxPleRefusedConnections, mioxPleEnAddrToX121LkupFlrs=mioxPleEnAddrToX121LkupFlrs, mioxPleLastFailedEnAddr=mioxPleLastFailedEnAddr, mioxPleEnAddrToX121LkupFlrTime=mioxPleEnAddrToX121LkupFlrTime, mioxPleX121ToEnAddrLkupFlrs=mioxPleX121ToEnAddrLkupFlrs, mioxPleLastFailedX121Address=mioxPleLastFailedX121Address, mioxPleX121ToEnAddrLkupFlrTime=mioxPleX121ToEnAddrLkupFlrTime, mioxPleQbitFailures=mioxPleQbitFailures, mioxPleQbitFailureRemoteAddress=mioxPleQbitFailureRemoteAddress, mioxPleQbitFailureTime=mioxPleQbitFailureTime, mioxPleMinimumOpenTimer=mioxPleMinimumOpenTimer, mioxPleInactivityTimer=mioxPleInactivityTimer, mioxPleHoldDownTimer=mioxPleHoldDownTimer, mioxPleCollisionRetryTimer=mioxPleCollisionRetryTimer, mioxPleDefaultPeerId=mioxPleDefaultPeerId, mioxPeer=mioxPeer, mioxPeerTable=mioxPeerTable, mioxPeerEntry=mioxPeerEntry, mioxPeerIndex=mioxPeerIndex, mioxPeerStatus=mioxPeerStatus, mioxPeerMaxCircuits=mioxPeerMaxCircuits, mioxPeerIfIndex=mioxPeerIfIndex, mioxPeerConnectSeconds=mioxPeerConnectSeconds, mioxPeerX25CallParamId=mioxPeerX25CallParamId, mioxPeerEnAddr=mioxPeerEnAddr, mioxPeerX121Address=mioxPeerX121Address, mioxPeerX25CircuitId=mioxPeerX25CircuitId, mioxPeerDescr=mioxPeerDescr, mioxPeerEncTable=mioxPeerEncTable, mioxPeerEncEntry=mioxPeerEncEntry, mioxPeerEncIndex=mioxPeerEncIndex, mioxPeerEncType=mioxPeerEncType) pysnmp-mibs-0.1.3/pysnmp_mibs/ALARM-MIB.py0000644000014400001440000011457111736645134020300 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ALARM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:39 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ZeroBasedCounter32, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Opaque, TimeTicks, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Opaque", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( DateAndTime, RowPointer, RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowPointer", "RowStatus", "TextualConvention") # Types class LocalSnmpEngineOrZeroLenStr(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,32),) class ResourceId(ObjectIdentifier): pass # Objects alarmMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 118)).setRevisions(("2004-09-09 00:00",)) if mibBuilder.loadTexts: alarmMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: alarmMIB.setContactInfo("WG EMail: disman@ietf.org\nSubscribe: disman-request@ietf.org\nhttp://www.ietf.org/html.charters/disman-charter.html\n\n\n\nChair: Randy Presuhn\n randy_presuhn@mindspring.com\n\nEditors: Sharon Chisholm\n Nortel Networks\n PO Box 3511 Station C\n Ottawa, Ont. K1Y 4H7\n Canada\n schishol@nortelnetworks.com\n\n Dan Romascanu\n Avaya\n Atidim Technology Park, Bldg. #3\n Tel Aviv, 61131\n Israel\n Tel: +972-3-645-8414\n Email: dromasca@avaya.com") if mibBuilder.loadTexts: alarmMIB.setDescription("The MIB module describes a generic solution\nto model alarms and to store the current list\nof active alarms.\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3877. For full legal notices see the RFC\nitself. Supplementary information may be available on:\nhttp://www.ietf.org/copyrights/ianamib.html") alarmNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 0)) alarmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 1)) alarmModel = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 1, 1)) alarmModelLastChanged = MibScalar((1, 3, 6, 1, 2, 1, 118, 1, 1, 1), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmModelLastChanged.setDescription("The value of sysUpTime at the time of the last\ncreation, deletion or modification of an entry in\nthe alarmModelTable.\n\nIf the number and content of entries has been unchanged\nsince the last re-initialization of the local network\nmanagement subsystem, then the value of this object\nMUST be zero.") alarmModelTable = MibTable((1, 3, 6, 1, 2, 1, 118, 1, 1, 2)) if mibBuilder.loadTexts: alarmModelTable.setDescription("A table of information about possible alarms on the system,\nand how they have been modelled.") alarmModelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName"), (0, "ALARM-MIB", "alarmModelIndex"), (0, "ALARM-MIB", "alarmModelState")) if mibBuilder.loadTexts: alarmModelEntry.setDescription("Entries appear in this table for each possible alarm state.\nThis table MUST be persistent across system reboots.") alarmModelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmModelIndex.setDescription("An integer that acts as an alarm Id\nto uniquely identify each alarm\nwithin the named alarm list. ") alarmModelState = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmModelState.setDescription("A value of 1 MUST indicate a clear alarm state.\nThe value of this object MUST be less than the\nalarmModelState of more severe alarm states for\nthis alarm. The value of this object MUST be more\nthan the alarmModelState of less severe alarm states\nfor this alarm.") alarmModelNotificationId = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 3), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelNotificationId.setDescription("The NOTIFICATION-TYPE object identifier of this alarm\nstate transition. If there is no notification associated\nwith this alarm state, the value of this object MUST be\n'0.0'") alarmModelVarbindIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 4), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelVarbindIndex.setDescription("The index into the varbind listing of the notification\nindicated by alarmModelNotificationId which helps\nsignal that the given alarm has changed state.\nIf there is no applicable varbind, the value of this\nobject MUST be zero.\n\nNote that the value of alarmModelVarbindIndex acknowledges\nthe existence of the first two obligatory varbinds in\nthe InformRequest-PDU and SNMPv2-Trap-PDU (sysUpTime.0\nand snmpTrapOID.0). That is, a value of 2 refers to\nthe snmpTrapOID.0.\n\nIf the incoming notification is instead an SNMPv1 Trap-PDU,\nthen an appropriate value for sysUpTime.0 or snmpTrapOID.0\nshall be determined by using the rules in section 3.1 of\n[RFC3584]") alarmModelVarbindValue = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 5), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelVarbindValue.setDescription("The value that the varbind indicated by\nalarmModelVarbindIndex takes to indicate\nthat the alarm has entered this state.\n\nIf alarmModelVarbindIndex has a value of 0, so\nMUST alarmModelVarbindValue.") alarmModelDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 6), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelDescription.setDescription("A brief description of this alarm and state suitable\nto display to operators.") alarmModelSpecificPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 7), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelSpecificPointer.setDescription("If no additional, model-specific Alarm MIB is supported by\nthe system the value of this object is `0.0'and attempts\nto set it to any other value MUST be rejected appropriately.\n\nWhen a model-specific Alarm MIB is supported, this object\nMUST refer to the first accessible object in a corresponding\nrow of the model definition in one of these model-specific\nMIB and attempts to set this object to { 0 0 } or any other\nvalue MUST be rejected appropriately.") alarmModelVarbindSubtree = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 8), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelVarbindSubtree.setDescription("The name portion of each VarBind in the notification,\nin order, is compared to the value of this object.\nIf the name is equal to or a subtree of the value\nof this object, for purposes of computing the value\n\n\n\nof AlarmActiveResourceID the 'prefix' will be the\nmatching portion, and the 'indexes' will be any\nremainder. The examination of varbinds ends with\nthe first match. If the value of this object is 0.0,\nthen the first varbind, or in the case of v2, the\nfirst varbind after the timestamp and the trap\nOID, will always be matched.") alarmModelResourcePrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 9), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelResourcePrefix.setDescription("The value of AlarmActiveResourceId is computed\nby appending any indexes extracted in accordance\nwith the description of alarmModelVarbindSubtree\nonto the value of this object. If this object's\nvalue is 0.0, then the 'prefix' extracted is used\ninstead.") alarmModelRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 1, 2, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmModelRowStatus.setDescription("Control for creating and deleting entries. Entries may be\nmodified while active. Alarms whose alarmModelRowStatus is\nnot active will not appear in either the alarmActiveTable\nor the alarmClearTable. Setting this object to notInService\ncannot be used as an alarm suppression mechanism. Entries\nthat are notInService will disappear as described in RFC2579.\n\nThis row can not be modified while it is being\nreferenced by a value of alarmActiveModelPointer. In these\ncases, an error of `inconsistentValue' will be returned to\nthe manager.\n\nThis entry may be deleted while it is being\nreferenced by a value of alarmActiveModelPointer. This results\nin the deletion of this entry and entries in the active alarms\nreferencing this entry via an alarmActiveModelPointer.\n\n\n\n\nAs all read-create objects in this table have a DEFVAL clause,\nthere is no requirement that any object be explicitly set\nbefore this row can become active. Note that a row consisting\nonly of default values is not very meaningful.") alarmActive = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 1, 2)) alarmActiveLastChanged = MibScalar((1, 3, 6, 1, 2, 1, 118, 1, 2, 1), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveLastChanged.setDescription("The value of sysUpTime at the time of the last\ncreation or deletion of an entry in the alarmActiveTable.\nIf the number of entries has been unchanged since the\nlast re-initialization of the local network management\nsubsystem, then this object contains a zero value.") alarmActiveTable = MibTable((1, 3, 6, 1, 2, 1, 118, 1, 2, 2)) if mibBuilder.loadTexts: alarmActiveTable.setDescription("A table of Active Alarms entries.") alarmActiveEntry = MibTableRow((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName"), (0, "ALARM-MIB", "alarmActiveDateAndTime"), (0, "ALARM-MIB", "alarmActiveIndex")) if mibBuilder.loadTexts: alarmActiveEntry.setDescription("Entries appear in this table when alarms are raised. They\nare removed when the alarm is cleared.\n\nIf under extreme resource constraint the system is unable to\n\n\n\nadd any more entries into this table, then the\nalarmActiveOverflow statistic will be increased by one.") alarmListName = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmListName.setDescription("The name of the list of alarms. This SHOULD be the same as\nnlmLogName if the Notification Log MIB [RFC3014] is supported.\nThis SHOULD be the same as, or contain as a prefix, the\napplicable snmpNotifyFilterProfileName if the\nSNMP-NOTIFICATION-MIB DEFINITIONS [RFC3413] is supported.\n\nAn implementation may allow multiple named alarm lists, up to\nsome implementation-specific limit (which may be none). A\nzero-length list name is reserved for creation and deletion\nby the managed system, and MUST be used as the default log\nname by systems that do not support named alarm lists.") alarmActiveDateAndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 2), DateAndTime()).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmActiveDateAndTime.setDescription("The local date and time when the error occurred.\n\nThis object facilitates retrieving all instances of\n\n\n\nalarms that have been raised or have changed state\nsince a given point in time.\n\nImplementations MUST include the offset from UTC,\nif available. Implementation in environments in which\nthe UTC offset is not available is NOT RECOMMENDED.") alarmActiveIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmActiveIndex.setDescription("A strictly monotonically increasing integer which\nacts as the index of entries within the named alarm\nlist. It wraps back to 1 after it reaches its\nmaximum value.") alarmActiveEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 4), LocalSnmpEngineOrZeroLenStr()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveEngineID.setDescription("The identification of the SNMP engine at which the alarm\noriginated. If the alarm is from an SNMPv1 system this\nobject is a zero length string.") alarmActiveEngineAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveEngineAddressType.setDescription("This object indicates what type of address is stored in\nthe alarmActiveEngineAddress object - IPv4, IPv6, DNS, etc.") alarmActiveEngineAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 6), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveEngineAddress.setDescription("The address of the SNMP engine on which the alarm is\noccurring.\n\nThis object MUST always be instantiated, even if the list\ncan contain alarms from only one engine.") alarmActiveContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 7), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveContextName.setDescription("The name of the SNMP MIB context from which the alarm came.\nFor SNMPv1 alarms this is the community string from the Trap.\nNote that care MUST be taken when selecting community\nstrings to ensure that these can be represented as a\nwell-formed SnmpAdminString. Community or Context names\nthat are not well-formed SnmpAdminStrings will be mapped\nto zero length strings.\n\nIf the alarm's source SNMP engine is known not to support\nmultiple contexts, this object is a zero length string.") alarmActiveVariables = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariables.setDescription("The number of variables in alarmActiveVariableTable for this\nalarm.") alarmActiveNotificationID = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 9), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveNotificationID.setDescription("The NOTIFICATION-TYPE object identifier of the alarm\nstate transition that is occurring.") alarmActiveResourceId = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 10), ResourceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveResourceId.setDescription("This object identifies the resource under alarm.\n\nIf there is no corresponding resource, then\nthe value of this object MUST be 0.0.") alarmActiveDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 11), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveDescription.setDescription("This object provides a textual description of the\nactive alarm. This text is generated dynamically by the\nnotification generator to provide useful information\nto the human operator. This information SHOULD\nprovide information allowing the operator to locate\nthe resource for which this alarm is being generated.\nThis information is not intended for consumption by\nautomated tools.") alarmActiveLogPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 12), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveLogPointer.setDescription("A pointer to the corresponding row in a\nnotification logging MIB where the state change\nnotification for this active alarm is logged.\nIf no log entry applies to this active alarm,\nthen this object MUST have the value of 0.0") alarmActiveModelPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 13), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveModelPointer.setDescription("A pointer to the corresponding row in the\nalarmModelTable for this active alarm. This\npoints not only to the alarm model being\ninstantiated, but also to the specific alarm\nstate that is active.") alarmActiveSpecificPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 2, 1, 14), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveSpecificPointer.setDescription("If no additional, model-specific, Alarm MIB is supported by\nthe system this object is `0.0'. When a model-specific Alarm\nMIB is supported, this object is the instance pointer to the\nspecific model-specific active alarm list.") alarmActiveVariableTable = MibTable((1, 3, 6, 1, 2, 1, 118, 1, 2, 3)) if mibBuilder.loadTexts: alarmActiveVariableTable.setDescription("A table of variables to go with active alarm entries.") alarmActiveVariableEntry = MibTableRow((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName"), (0, "ALARM-MIB", "alarmActiveIndex"), (0, "ALARM-MIB", "alarmActiveVariableIndex")) if mibBuilder.loadTexts: alarmActiveVariableEntry.setDescription("Entries appear in this table when there are variables in\nthe varbind list of a corresponding alarm in\nalarmActiveTable.\n\nEntries appear in this table as though\nthe trap/notification had been transported using a\nSNMPv2-Trap-PDU, as defined in [RFC3416] - i.e., the\nalarmActiveVariableIndex 1 will always be sysUpTime\nand alarmActiveVariableIndex 2 will always be\nsnmpTrapOID.\n\nIf the incoming notification is instead an SNMPv1 Trap-PDU and\nthe value of alarmModelVarbindIndex is 1 or 2, an appropriate\nvalue for sysUpTime.0 or snmpTrapOID.0 shall be determined\nby using the rules in section 3.1 of [RFC3584].") alarmActiveVariableIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmActiveVariableIndex.setDescription("A strictly monotonically increasing integer, starting at\n1 for a given alarmActiveIndex, for indexing variables\nwithin the active alarm variable list. ") alarmActiveVariableID = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableID.setDescription("The alarm variable's object identifier.") alarmActiveVariableValueType = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,7,5,3,8,2,9,1,)).subtype(namedValues=NamedValues(("counter32", 1), ("unsigned32", 2), ("timeTicks", 3), ("integer32", 4), ("ipAddress", 5), ("octetString", 6), ("objectId", 7), ("counter64", 8), ("opaque", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableValueType.setDescription("The type of the value. One and only one of the value\nobjects that follow is used for a given row in this table,\nbased on this type.") alarmActiveVariableCounter32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableCounter32Val.setDescription("The value when alarmActiveVariableType is 'counter32'.") alarmActiveVariableUnsigned32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableUnsigned32Val.setDescription("The value when alarmActiveVariableType is 'unsigned32'.") alarmActiveVariableTimeTicksVal = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableTimeTicksVal.setDescription("The value when alarmActiveVariableType is 'timeTicks'.") alarmActiveVariableInteger32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableInteger32Val.setDescription("The value when alarmActiveVariableType is 'integer32'.") alarmActiveVariableOctetStringVal = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableOctetStringVal.setDescription("The value when alarmActiveVariableType is 'octetString'.") alarmActiveVariableIpAddressVal = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 9), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableIpAddressVal.setDescription("The value when alarmActiveVariableType is 'ipAddress'.") alarmActiveVariableOidVal = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 10), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableOidVal.setDescription("The value when alarmActiveVariableType is 'objectId'.") alarmActiveVariableCounter64Val = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableCounter64Val.setDescription("The value when alarmActiveVariableType is 'counter64'.") alarmActiveVariableOpaqueVal = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 3, 1, 12), Opaque().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveVariableOpaqueVal.setDescription("The value when alarmActiveVariableType is 'opaque'.\n\nNote that although RFC2578 [RFC2578] forbids the use\nof Opaque in 'standard' MIB modules, this particular\nusage is driven by the need to be able to accurately\nrepresent any well-formed notification, and justified\nby the need for backward compatibility.") alarmActiveStatsTable = MibTable((1, 3, 6, 1, 2, 1, 118, 1, 2, 4)) if mibBuilder.loadTexts: alarmActiveStatsTable.setDescription("This table represents the alarm statistics\ninformation.") alarmActiveStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 118, 1, 2, 4, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName")) if mibBuilder.loadTexts: alarmActiveStatsEntry.setDescription("Statistics on the current active alarms.") alarmActiveStatsActiveCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 4, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveStatsActiveCurrent.setDescription("The total number of currently active alarms on the system.") alarmActiveStatsActives = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 4, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveStatsActives.setDescription("The total number of active alarms since system restarted.") alarmActiveStatsLastRaise = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 4, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveStatsLastRaise.setDescription("The value of sysUpTime at the time of the last\nalarm raise for this alarm list.\nIf no alarm raises have occurred since the\nlast re-initialization of the local network management\nsubsystem, then this object contains a zero value.") alarmActiveStatsLastClear = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 2, 4, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmActiveStatsLastClear.setDescription("The value of sysUpTime at the time of the last\nalarm clear for this alarm list.\nIf no alarm clears have occurred since the\nlast re-initialization of the local network management\nsubsystem, then this object contains a zero value.") alarmActiveOverflow = MibScalar((1, 3, 6, 1, 2, 1, 118, 1, 2, 5), Counter32()).setMaxAccess("readonly").setUnits("active alarms") if mibBuilder.loadTexts: alarmActiveOverflow.setDescription("The number of active alarms that have not been put into\nthe alarmActiveTable since system restart as a result\nof extreme resource constraints.") alarmClear = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 1, 3)) alarmClearMaximum = MibScalar((1, 3, 6, 1, 2, 1, 118, 1, 3, 1), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmClearMaximum.setDescription("This object specifies the maximum number of cleared\nalarms to store in the alarmClearTable. When this\nnumber is reached, the cleared alarms with the\nearliest clear time will be removed from the table.") alarmClearTable = MibTable((1, 3, 6, 1, 2, 1, 118, 1, 3, 2)) if mibBuilder.loadTexts: alarmClearTable.setDescription("This table contains information on\ncleared alarms.") alarmClearEntry = MibTableRow((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName"), (0, "ALARM-MIB", "alarmClearDateAndTime"), (0, "ALARM-MIB", "alarmClearIndex")) if mibBuilder.loadTexts: alarmClearEntry.setDescription("Information on a cleared alarm.") alarmClearIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmClearIndex.setDescription("An integer which acts as the index of entries within\n\n\n\nthe named alarm list. It wraps back to 1 after it\nreaches its maximum value.\n\nThis object has the same value as the alarmActiveIndex that\nthis alarm instance had when it was active.") alarmClearDateAndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 2), DateAndTime()).setMaxAccess("noaccess") if mibBuilder.loadTexts: alarmClearDateAndTime.setDescription("The local date and time when the alarm cleared.\n\nThis object facilitates retrieving all instances of\nalarms that have been cleared since a given point in time.\n\nImplementations MUST include the offset from UTC,\nif available. Implementation in environments in which\nthe UTC offset is not available is NOT RECOMMENDED.") alarmClearEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 3), LocalSnmpEngineOrZeroLenStr()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearEngineID.setDescription("The identification of the SNMP engine at which the alarm\noriginated. If the alarm is from an SNMPv1 system this\nobject is a zero length string.") alarmClearEngineAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearEngineAddressType.setDescription("This object indicates what type of address is stored in\nthe alarmActiveEngineAddress object - IPv4, IPv6, DNS, etc.") alarmClearEngineAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearEngineAddress.setDescription("The Address of the SNMP engine on which the alarm was\noccurring. This is used to identify the source of an SNMPv1\n\n\n\ntrap, since an alarmActiveEngineId cannot be extracted from the\nSNMPv1 trap PDU.\n\nThis object MUST always be instantiated, even if the list\ncan contain alarms from only one engine.") alarmClearContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearContextName.setDescription("The name of the SNMP MIB context from which the alarm came.\nFor SNMPv1 traps this is the community string from the Trap.\nNote that care needs to be taken when selecting community\nstrings to ensure that these can be represented as a\nwell-formed SnmpAdminString. Community or Context names\nthat are not well-formed SnmpAdminStrings will be mapped\nto zero length strings.\n\nIf the alarm's source SNMP engine is known not to support\nmultiple contexts, this object is a zero length string.") alarmClearNotificationID = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 7), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearNotificationID.setDescription("The NOTIFICATION-TYPE object identifier of the alarm\nclear.") alarmClearResourceId = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 8), ResourceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearResourceId.setDescription("This object identifies the resource that was under alarm.\n\nIf there is no corresponding resource, then\nthe value of this object MUST be 0.0.") alarmClearLogIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearLogIndex.setDescription("This number MUST be the same as the log index of the\napplicable row in the notification log MIB, if it exists.\nIf no log index applies to the trap, then this object\nMUST have the value of 0.") alarmClearModelPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 118, 1, 3, 2, 1, 10), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmClearModelPointer.setDescription("A pointer to the corresponding row in the\nalarmModelTable for this cleared alarm.") alarmConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 2)) alarmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 2, 1)) alarmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 118, 2, 2)) # Augmentions # Notifications alarmActiveState = NotificationType((1, 3, 6, 1, 2, 1, 118, 0, 2)).setObjects(*(("ALARM-MIB", "alarmActiveModelPointer"), ("ALARM-MIB", "alarmActiveResourceId"), ) ) if mibBuilder.loadTexts: alarmActiveState.setDescription("An instance of the alarm indicated by\nalarmActiveModelPointer has been raised\nagainst the entity indicated by\nalarmActiveResourceId.\n\nThe agent must throttle the generation of\nconsecutive alarmActiveState traps so that there is at\nleast a two-second gap between traps of this\ntype against the same alarmActiveModelPointer and\nalarmActiveResourceId. When traps are throttled,\nthey are dropped, not queued for sending at a future time.\n\nA management application should periodically check\nthe value of alarmActiveLastChanged to detect any\nmissed alarmActiveState notification-events, e.g.,\ndue to throttling or transmission loss.") alarmClearState = NotificationType((1, 3, 6, 1, 2, 1, 118, 0, 3)).setObjects(*(("ALARM-MIB", "alarmActiveModelPointer"), ("ALARM-MIB", "alarmActiveResourceId"), ) ) if mibBuilder.loadTexts: alarmClearState.setDescription("An instance of the alarm indicated by\nalarmActiveModelPointer has been cleared against\n\n\n\nthe entity indicated by alarmActiveResourceId.\n\nThe agent must throttle the generation of\nconsecutive alarmActiveClear traps so that there is at\nleast a two-second gap between traps of this\ntype against the same alarmActiveModelPointer and\nalarmActiveResourceId. When traps are throttled,\nthey are dropped, not queued for sending at a future time.\n\nA management application should periodically check\nthe value of alarmActiveLastChanged to detect any\nmissed alarmClearState notification-events, e.g.,\ndue to throttling or transmission loss.") # Groups alarmModelGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 118, 2, 2, 1)).setObjects(*(("ALARM-MIB", "alarmModelSpecificPointer"), ("ALARM-MIB", "alarmModelResourcePrefix"), ("ALARM-MIB", "alarmModelLastChanged"), ("ALARM-MIB", "alarmModelNotificationId"), ("ALARM-MIB", "alarmModelVarbindValue"), ("ALARM-MIB", "alarmModelDescription"), ("ALARM-MIB", "alarmModelVarbindIndex"), ("ALARM-MIB", "alarmModelRowStatus"), ("ALARM-MIB", "alarmModelVarbindSubtree"), ) ) if mibBuilder.loadTexts: alarmModelGroup.setDescription("Alarm model group.") alarmActiveGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 118, 2, 2, 2)).setObjects(*(("ALARM-MIB", "alarmActiveEngineAddress"), ("ALARM-MIB", "alarmActiveVariableID"), ("ALARM-MIB", "alarmActiveVariableOidVal"), ("ALARM-MIB", "alarmActiveDescription"), ("ALARM-MIB", "alarmActiveEngineAddressType"), ("ALARM-MIB", "alarmActiveResourceId"), ("ALARM-MIB", "alarmActiveVariableOpaqueVal"), ("ALARM-MIB", "alarmActiveOverflow"), ("ALARM-MIB", "alarmActiveVariableValueType"), ("ALARM-MIB", "alarmActiveVariableCounter64Val"), ("ALARM-MIB", "alarmActiveNotificationID"), ("ALARM-MIB", "alarmActiveVariableCounter32Val"), ("ALARM-MIB", "alarmActiveVariableOctetStringVal"), ("ALARM-MIB", "alarmActiveContextName"), ("ALARM-MIB", "alarmActiveVariableTimeTicksVal"), ("ALARM-MIB", "alarmActiveVariableInteger32Val"), ("ALARM-MIB", "alarmActiveEngineID"), ("ALARM-MIB", "alarmActiveVariableIpAddressVal"), ("ALARM-MIB", "alarmActiveModelPointer"), ("ALARM-MIB", "alarmActiveLogPointer"), ("ALARM-MIB", "alarmActiveVariables"), ("ALARM-MIB", "alarmActiveVariableUnsigned32Val"), ("ALARM-MIB", "alarmActiveLastChanged"), ("ALARM-MIB", "alarmActiveSpecificPointer"), ) ) if mibBuilder.loadTexts: alarmActiveGroup.setDescription("Active Alarm list group.") alarmActiveStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 118, 2, 2, 3)).setObjects(*(("ALARM-MIB", "alarmActiveStatsActives"), ("ALARM-MIB", "alarmActiveStatsLastClear"), ("ALARM-MIB", "alarmActiveStatsActiveCurrent"), ("ALARM-MIB", "alarmActiveStatsLastRaise"), ) ) if mibBuilder.loadTexts: alarmActiveStatsGroup.setDescription("Active alarm summary group.") alarmClearGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 118, 2, 2, 4)).setObjects(*(("ALARM-MIB", "alarmClearResourceId"), ("ALARM-MIB", "alarmClearEngineAddressType"), ("ALARM-MIB", "alarmClearMaximum"), ("ALARM-MIB", "alarmClearLogIndex"), ("ALARM-MIB", "alarmClearEngineAddress"), ("ALARM-MIB", "alarmClearModelPointer"), ("ALARM-MIB", "alarmClearContextName"), ("ALARM-MIB", "alarmClearNotificationID"), ("ALARM-MIB", "alarmClearEngineID"), ) ) if mibBuilder.loadTexts: alarmClearGroup.setDescription("Cleared alarm group.") alarmNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 118, 2, 2, 6)).setObjects(*(("ALARM-MIB", "alarmActiveState"), ("ALARM-MIB", "alarmClearState"), ) ) if mibBuilder.loadTexts: alarmNotificationsGroup.setDescription("The collection of notifications that can be used to\nmodel alarms for faults lacking pre-existing\nnotification definitions.") # Compliances alarmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 118, 2, 1, 1)).setObjects(*(("ALARM-MIB", "alarmModelGroup"), ("ALARM-MIB", "alarmClearGroup"), ("ALARM-MIB", "alarmActiveGroup"), ("ALARM-MIB", "alarmActiveStatsGroup"), ("ALARM-MIB", "alarmNotificationsGroup"), ) ) if mibBuilder.loadTexts: alarmCompliance.setDescription("The compliance statement for systems supporting\nthe Alarm MIB.") # Exports # Module identity mibBuilder.exportSymbols("ALARM-MIB", PYSNMP_MODULE_ID=alarmMIB) # Types mibBuilder.exportSymbols("ALARM-MIB", LocalSnmpEngineOrZeroLenStr=LocalSnmpEngineOrZeroLenStr, ResourceId=ResourceId) # Objects mibBuilder.exportSymbols("ALARM-MIB", alarmMIB=alarmMIB, alarmNotifications=alarmNotifications, alarmObjects=alarmObjects, alarmModel=alarmModel, alarmModelLastChanged=alarmModelLastChanged, alarmModelTable=alarmModelTable, alarmModelEntry=alarmModelEntry, alarmModelIndex=alarmModelIndex, alarmModelState=alarmModelState, alarmModelNotificationId=alarmModelNotificationId, alarmModelVarbindIndex=alarmModelVarbindIndex, alarmModelVarbindValue=alarmModelVarbindValue, alarmModelDescription=alarmModelDescription, alarmModelSpecificPointer=alarmModelSpecificPointer, alarmModelVarbindSubtree=alarmModelVarbindSubtree, alarmModelResourcePrefix=alarmModelResourcePrefix, alarmModelRowStatus=alarmModelRowStatus, alarmActive=alarmActive, alarmActiveLastChanged=alarmActiveLastChanged, alarmActiveTable=alarmActiveTable, alarmActiveEntry=alarmActiveEntry, alarmListName=alarmListName, alarmActiveDateAndTime=alarmActiveDateAndTime, alarmActiveIndex=alarmActiveIndex, alarmActiveEngineID=alarmActiveEngineID, alarmActiveEngineAddressType=alarmActiveEngineAddressType, alarmActiveEngineAddress=alarmActiveEngineAddress, alarmActiveContextName=alarmActiveContextName, alarmActiveVariables=alarmActiveVariables, alarmActiveNotificationID=alarmActiveNotificationID, alarmActiveResourceId=alarmActiveResourceId, alarmActiveDescription=alarmActiveDescription, alarmActiveLogPointer=alarmActiveLogPointer, alarmActiveModelPointer=alarmActiveModelPointer, alarmActiveSpecificPointer=alarmActiveSpecificPointer, alarmActiveVariableTable=alarmActiveVariableTable, alarmActiveVariableEntry=alarmActiveVariableEntry, alarmActiveVariableIndex=alarmActiveVariableIndex, alarmActiveVariableID=alarmActiveVariableID, alarmActiveVariableValueType=alarmActiveVariableValueType, alarmActiveVariableCounter32Val=alarmActiveVariableCounter32Val, alarmActiveVariableUnsigned32Val=alarmActiveVariableUnsigned32Val, alarmActiveVariableTimeTicksVal=alarmActiveVariableTimeTicksVal, alarmActiveVariableInteger32Val=alarmActiveVariableInteger32Val, alarmActiveVariableOctetStringVal=alarmActiveVariableOctetStringVal, alarmActiveVariableIpAddressVal=alarmActiveVariableIpAddressVal, alarmActiveVariableOidVal=alarmActiveVariableOidVal, alarmActiveVariableCounter64Val=alarmActiveVariableCounter64Val, alarmActiveVariableOpaqueVal=alarmActiveVariableOpaqueVal, alarmActiveStatsTable=alarmActiveStatsTable, alarmActiveStatsEntry=alarmActiveStatsEntry, alarmActiveStatsActiveCurrent=alarmActiveStatsActiveCurrent, alarmActiveStatsActives=alarmActiveStatsActives, alarmActiveStatsLastRaise=alarmActiveStatsLastRaise, alarmActiveStatsLastClear=alarmActiveStatsLastClear, alarmActiveOverflow=alarmActiveOverflow, alarmClear=alarmClear, alarmClearMaximum=alarmClearMaximum, alarmClearTable=alarmClearTable, alarmClearEntry=alarmClearEntry, alarmClearIndex=alarmClearIndex, alarmClearDateAndTime=alarmClearDateAndTime, alarmClearEngineID=alarmClearEngineID, alarmClearEngineAddressType=alarmClearEngineAddressType, alarmClearEngineAddress=alarmClearEngineAddress, alarmClearContextName=alarmClearContextName, alarmClearNotificationID=alarmClearNotificationID, alarmClearResourceId=alarmClearResourceId, alarmClearLogIndex=alarmClearLogIndex, alarmClearModelPointer=alarmClearModelPointer, alarmConformance=alarmConformance, alarmCompliances=alarmCompliances, alarmGroups=alarmGroups) # Notifications mibBuilder.exportSymbols("ALARM-MIB", alarmActiveState=alarmActiveState, alarmClearState=alarmClearState) # Groups mibBuilder.exportSymbols("ALARM-MIB", alarmModelGroup=alarmModelGroup, alarmActiveGroup=alarmActiveGroup, alarmActiveStatsGroup=alarmActiveStatsGroup, alarmClearGroup=alarmClearGroup, alarmNotificationsGroup=alarmNotificationsGroup) # Compliances mibBuilder.exportSymbols("ALARM-MIB", alarmCompliance=alarmCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/URI-TC-MIB.py0000644000014400001440000000404611736645141020400 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python URI-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class Uri(TextualConvention, OctetString): displayHint = "1a" class Uri1024(TextualConvention, OctetString): displayHint = "1024a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,1024) class Uri255(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) # Objects uriTcMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 164)).setRevisions(("2007-09-10 00:00",)) if mibBuilder.loadTexts: uriTcMIB.setOrganization("IETF Operations and Management (OPS) Area") if mibBuilder.loadTexts: uriTcMIB.setContactInfo("EMail: ops-area@ietf.org\nHome page: http://www.ops.ietf.org/") if mibBuilder.loadTexts: uriTcMIB.setDescription("This MIB module defines textual conventions for\nrepresenting URIs, as defined by RFC 3986 STD 66.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("URI-TC-MIB", PYSNMP_MODULE_ID=uriTcMIB) # Types mibBuilder.exportSymbols("URI-TC-MIB", Uri=Uri, Uri1024=Uri1024, Uri255=Uri255) # Objects mibBuilder.exportSymbols("URI-TC-MIB", uriTcMIB=uriTcMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/NAT-MIB.py0000644000014400001440000020525111736645137020065 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NAT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:22 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifCounterDiscontinuityGroup, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifCounterDiscontinuityGroup", "ifIndex") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention") # Types class NatAddrMapId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class NatAssociationType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("static", 1), ("dynamic", 2), ) class NatBindId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class NatBindIdOrZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class NatBindMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("addressBind", 1), ("addressPortBind", 2), ) class NatProtocolMap(Bits): namedValues = NamedValues(("other", 0), ("icmp", 1), ("udp", 2), ("tcp", 3), ) class NatProtocolType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,4,5,) namedValues = NamedValues(("none", 1), ("other", 2), ("icmp", 3), ("udp", 4), ("tcp", 5), ) class NatSessionId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class NatTranslationEntity(Bits): namedValues = NamedValues(("inboundSrcEndPoint", 0), ("outboundDstEndPoint", 1), ("inboundDstEndPoint", 2), ("outboundSrcEndPoint", 3), ) # Objects natMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 123)).setRevisions(("2005-03-21 00:00",)) if mibBuilder.loadTexts: natMIB.setOrganization("IETF Transport Area") if mibBuilder.loadTexts: natMIB.setContactInfo("\nRohit\nMascon Global Limited\n#59/2 100 ft Ring Road\nBanashankari II Stage\nBangalore 560 070\nIndia\nPhone: +91 80 2679 6227\nEmail: rrohit74@hotmail.com\n\nP. Srisuresh\nCaymas Systems, Inc.\n1179-A North McDowell Blvd.\nPetaluma, CA 94954\nTel: (707) 283-5063\nEmail: srisuresh@yahoo.com\n\nRajiv Raghunarayan\nCisco Systems Inc.\n170 West Tasman Drive\nSan Jose, CA 95134\nPhone: +1 408 853 9612\nEmail: raraghun@cisco.com\n\nNalinaksh Pai\nCisco Systems, Inc.\nPrestige Waterford\nNo. 9, Brunton Road\nBangalore - 560 025\n\n\n\nIndia\nPhone: +91 80 532 1300\nEmail: npai@cisco.com\n\nCliff Wang\nInformation Security\nBank One Corp\n1111 Polaris Pkwy\nColumbus, OH 43240\nPhone: +1 614 213 6117\nEmail: cliffwang2000@yahoo.com") if mibBuilder.loadTexts: natMIB.setDescription("This MIB module defines the generic managed objects\nfor NAT.\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is part of RFC 4008; see the RFC\nitself for full legal notices.") natMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 123, 0)) natMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 123, 1)) natDefTimeouts = MibIdentifier((1, 3, 6, 1, 2, 1, 123, 1, 1)) natBindDefIdleTimeout = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(0)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: natBindDefIdleTimeout.setDescription("The default Bind (Address Bind or Port Bind) idle\ntimeout parameter.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.") natUdpDefIdleTimeout = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(300)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: natUdpDefIdleTimeout.setDescription("The default UDP idle timeout parameter.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.") natIcmpDefIdleTimeout = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(300)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: natIcmpDefIdleTimeout.setDescription("The default ICMP idle timeout parameter.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.") natOtherDefIdleTimeout = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(60)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: natOtherDefIdleTimeout.setDescription("The default idle timeout parameter for protocols\nrepresented by the value other (2) in\nNatProtocolType.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.") natTcpDefIdleTimeout = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(86400)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: natTcpDefIdleTimeout.setDescription("The default time interval that a NAT session for an\nestablished TCP connection is allowed to remain\nvalid without any activity on the TCP connection.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.") natTcpDefNegTimeout = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(60)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: natTcpDefNegTimeout.setDescription("The default time interval that a NAT session for a TCP\nconnection that is not in the established state\nis allowed to remain valid without any activity on\nthe TCP connection.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.") natNotifCtrl = MibIdentifier((1, 3, 6, 1, 2, 1, 123, 1, 2)) natNotifThrottlingInterval = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(5,3600),)).clone(0)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: natNotifThrottlingInterval.setDescription("This object controls the generation of the\nnatPacketDiscard notification.\n\nIf this object has a value of zero, then no\nnatPacketDiscard notifications will be transmitted by the\nagent.\n\nIf this object has a non-zero value, then the agent must\nnot generate more than one natPacketDiscard\n'notification-event' in the indicated period, where a\n'notification-event' is the generation of a single\nnotification PDU type to a list of notification\ndestinations. If additional NAT packets are discarded\nwithin the throttling period, then notification-events\nfor these changes must be suppressed by the agent until\nthe current throttling period expires.\n\nIf natNotifThrottlingInterval notification generation\nis enabled, the suggested default throttling period is\n60 seconds, but generation of the natPacketDiscard\nnotification should be disabled by default.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.\n\nThe actual transmission of notifications is controlled\nvia the MIB modules in RFC 3413.") natInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 123, 1, 3)) if mibBuilder.loadTexts: natInterfaceTable.setDescription("This table specifies the attributes for interfaces on a\ndevice supporting NAT function.") natInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 123, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: natInterfaceEntry.setDescription("Each entry in the natInterfaceTable holds a set of\nparameters for an interface, instantiated by\nifIndex. Therefore, the interface index must have been\nassigned, according to the applicable procedures,\nbefore it can be meaningfully used.\nGenerally, this means that the interface must exist.\n\nWhen natStorageType is of type nonVolatile, however,\nthis may reflect the configuration for an interface whose\nifIndex has been assigned but for which the supporting\nimplementation is not currently present.") natInterfaceRealm = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 3, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("private", 1), ("public", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: natInterfaceRealm.setDescription("This object identifies whether this interface is\nconnected to the private or the public realm.") natInterfaceServiceType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 3, 1, 2), Bits().subtype(namedValues=NamedValues(("basicNat", 0), ("napt", 1), ("bidirectionalNat", 2), ("twiceNat", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: natInterfaceServiceType.setDescription("An indication of the direction in which new sessions\nare permitted and the extent of translation done within\nthe IP and transport headers.") natInterfaceInTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 3, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natInterfaceInTranslates.setDescription("Number of packets received on this interface that\nwere translated.\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natInterfaceOutTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 3, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natInterfaceOutTranslates.setDescription("Number of translated packets that were sent out this\ninterface.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes as indicated by the value of\n\n\n\nifCounterDiscontinuityTime on the relevant interface.") natInterfaceDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 3, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natInterfaceDiscards.setDescription("Number of packets that had to be rejected/dropped due to\na lack of resources for this interface.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natInterfaceStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 3, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: natInterfaceStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent'\nneed not allow write-access to any columnar objects\nin the row.") natInterfaceRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 3, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natInterfaceRowStatus.setDescription("The status of this conceptual row.\n\nUntil instances of all corresponding columns are\nappropriately configured, the value of the\ncorresponding instance of the natInterfaceRowStatus\ncolumn is 'notReady'.\n\n\nIn particular, a newly created row cannot be made\nactive until the corresponding instance of\nnatInterfaceServiceType has been set.\n\n\n\n\nNone of the objects in this row may be modified\nwhile the value of this object is active(1).") natAddrMapTable = MibTable((1, 3, 6, 1, 2, 1, 123, 1, 4)) if mibBuilder.loadTexts: natAddrMapTable.setDescription("This table lists address map parameters for NAT.") natAddrMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 123, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NAT-MIB", "natAddrMapIndex")) if mibBuilder.loadTexts: natAddrMapEntry.setDescription("This entry represents an address map to be used for\nNAT and contributes to the dynamic and/or static\naddress mapping tables of the NAT device.") natAddrMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 1), NatAddrMapId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natAddrMapIndex.setDescription("Along with ifIndex, this object uniquely\nidentifies an entry in the natAddrMapTable.\nAddress map entries are applied in the order\nspecified by natAddrMapIndex.") natAddrMapName = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapName.setDescription("Name identifying all map entries in the table associated\nwith the same interface. All map entries with the same\nifIndex MUST have the same map name.") natAddrMapEntryType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 3), NatAssociationType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapEntryType.setDescription("This parameter can be used to set up static\nor dynamic address maps.") natAddrMapTranslationEntity = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 4), NatTranslationEntity()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapTranslationEntity.setDescription("The end-point entity (source or destination) in\ninbound or outbound sessions (i.e., first packets) that\nmay be translated by an address map entry.\n\nSession direction (inbound or outbound) is\nderived from the direction of the first packet\nof a session traversing a NAT interface.\nNAT address (and Transport-ID) maps may be defined\n\n\n\nto effect inbound or outbound sessions.\n\nTraditionally, address maps for Basic NAT and NAPT are\nconfigured on a public interface for outbound sessions,\neffecting translation of source end-point. The value of\nthis object must be set to outboundSrcEndPoint for\nthose interfaces.\n\nAlternately, if address maps for Basic NAT and NAPT were\nto be configured on a private interface, the desired\nvalue for this object for the map entries\nwould be inboundSrcEndPoint (i.e., effecting translation\nof source end-point for inbound sessions).\n\nIf TwiceNAT were to be configured on a private interface,\nthe desired value for this object for the map entries\nwould be a bitmask of inboundSrcEndPoint and\ninboundDstEndPoint.") natAddrMapLocalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 5), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapLocalAddrType.setDescription("This object specifies the address type used for\nnatAddrMapLocalAddrFrom and natAddrMapLocalAddrTo.") natAddrMapLocalAddrFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 6), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapLocalAddrFrom.setDescription("This object specifies the first IP address of the range\nof IP addresses mapped by this translation entry. The\nvalue of this object must be less than or equal to the\nvalue of the natAddrMapLocalAddrTo object.\n\nThe type of this address is determined by the value of\nthe natAddrMapLocalAddrType object.") natAddrMapLocalAddrTo = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 7), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapLocalAddrTo.setDescription("This object specifies the last IP address of the range of\nIP addresses mapped by this translation entry. If only\na single address is being mapped, the value of this object\nis equal to the value of natAddrMapLocalAddrFrom. For a\nstatic NAT, the number of addresses in the range defined\nby natAddrMapLocalAddrFrom and natAddrMapLocalAddrTo must\nbe equal to the number of addresses in the range defined by\nnatAddrMapGlobalAddrFrom and natAddrMapGlobalAddrTo.\nThe value of this object must be greater than or equal to\nthe value of the natAddrMapLocalAddrFrom object.\n\nThe type of this address is determined by the value of\nthe natAddrMapLocalAddrType object.") natAddrMapLocalPortFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 8), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapLocalPortFrom.setDescription("If this conceptual row describes a Basic NAT address\nmapping, then the value of this object must be zero. If\nthis conceptual row describes NAPT, then the value of\nthis object specifies the first port number in the range\nof ports being mapped.\n\nThe value of this object must be less than or equal to the\nvalue of the natAddrMapLocalPortTo object. If the\ntranslation specifies a single port, then the value of this\nobject is equal to the value of natAddrMapLocalPortTo.") natAddrMapLocalPortTo = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 9), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapLocalPortTo.setDescription("If this conceptual row describes a Basic NAT address\nmapping, then the value of this object must be zero. If\nthis conceptual row describes NAPT, then the value of\nthis object specifies the last port number in the range\nof ports being mapped.\n\nThe value of this object must be greater than or equal to\nthe value of the natAddrMapLocalPortFrom object. If the\ntranslation specifies a single port, then the value of this\nobject is equal to the value of natAddrMapLocalPortFrom.") natAddrMapGlobalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 10), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapGlobalAddrType.setDescription("This object specifies the address type used for\nnatAddrMapGlobalAddrFrom and natAddrMapGlobalAddrTo.") natAddrMapGlobalAddrFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 11), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapGlobalAddrFrom.setDescription("This object specifies the first IP address of the range of\nIP addresses being mapped to. The value of this object\nmust be less than or equal to the value of the\nnatAddrMapGlobalAddrTo object.\n\nThe type of this address is determined by the value of\nthe natAddrMapGlobalAddrType object.") natAddrMapGlobalAddrTo = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 12), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapGlobalAddrTo.setDescription("This object specifies the last IP address of the range of\nIP addresses being mapped to. If only a single address is\nbeing mapped to, the value of this object is equal to the\nvalue of natAddrMapGlobalAddrFrom. For a static NAT, the\nnumber of addresses in the range defined by\nnatAddrMapGlobalAddrFrom and natAddrMapGlobalAddrTo must be\nequal to the number of addresses in the range defined by\nnatAddrMapLocalAddrFrom and natAddrMapLocalAddrTo.\nThe value of this object must be greater than or equal to\nthe value of the natAddrMapGlobalAddrFrom object.\n\nThe type of this address is determined by the value of\nthe natAddrMapGlobalAddrType object.") natAddrMapGlobalPortFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 13), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapGlobalPortFrom.setDescription("If this conceptual row describes a Basic NAT address\nmapping, then the value of this object must be zero. If\nthis conceptual row describes NAPT, then the value of\nthis object specifies the first port number in the range\nof ports being mapped to.\n\n\nThe value of this object must be less than or equal to the\nvalue of the natAddrMapGlobalPortTo object. If the\ntranslation specifies a single port, then the value of this\nobject is equal to the value natAddrMapGlobalPortTo.") natAddrMapGlobalPortTo = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 14), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapGlobalPortTo.setDescription("If this conceptual row describes a Basic NAT address\nmapping, then the value of this object must be zero. If\nthis conceptual row describes NAPT, then the value of this\nobject specifies the last port number in the range of\nports being mapped to.\n\nThe value of this object must be greater than or equal to\nthe value of the natAddrMapGlobalPortFrom object. If the\ntranslation specifies a single port, then the value of this\nobject is equal to the value of natAddrMapGlobalPortFrom.") natAddrMapProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 15), NatProtocolMap()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapProtocol.setDescription("This object specifies a bitmap of protocol identifiers.") natAddrMapInTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrMapInTranslates.setDescription("The number of inbound packets pertaining to this address\nmap entry that were translated.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natAddrMapOutTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrMapOutTranslates.setDescription("The number of outbound packets pertaining to this\naddress map entry that were translated.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natAddrMapDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrMapDiscards.setDescription("The number of packets pertaining to this address map\nentry that were dropped due to lack of addresses in the\naddress pool identified by this address map. The value of\nthis object must always be zero in case of static\naddress map.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natAddrMapAddrUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrMapAddrUsed.setDescription("The number of addresses pertaining to this address map\nthat are currently being used from the NAT pool.\nThe value of this object must always be zero in the case\n\n\n\nof a static address map.") natAddrMapStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 20), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent'\nneed not allow write-access to any columnar objects\nin the row.") natAddrMapRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 4, 1, 21), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: natAddrMapRowStatus.setDescription("The status of this conceptual row.\n\nUntil instances of all corresponding columns are\nappropriately configured, the value of the\ncorresponding instance of the natAddrMapRowStatus\ncolumn is 'notReady'.\n\nNone of the objects in this row may be modified\nwhile the value of this object is active(1).") natAddrBindNumberOfEntries = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindNumberOfEntries.setDescription("This object maintains a count of the number of entries\nthat currently exist in the natAddrBindTable.") natAddrBindTable = MibTable((1, 3, 6, 1, 2, 1, 123, 1, 6)) if mibBuilder.loadTexts: natAddrBindTable.setDescription("This table holds information about the currently\nactive NAT BINDs.") natAddrBindEntry = MibTableRow((1, 3, 6, 1, 2, 1, 123, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NAT-MIB", "natAddrBindLocalAddrType"), (0, "NAT-MIB", "natAddrBindLocalAddr")) if mibBuilder.loadTexts: natAddrBindEntry.setDescription("Each entry in this table holds information about\nan active address BIND. These entries are lost\nupon agent restart.\n\nThis row has indexing which may create variables with\nmore than 128 subidentifiers. Implementers of this table\nmust be careful not to create entries that would result\nin OIDs which exceed the 128 subidentifier limit.\nOtherwise, the information cannot be accessed using\nSNMPv1, SNMPv2c or SNMPv3.") natAddrBindLocalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natAddrBindLocalAddrType.setDescription("This object specifies the address type used for\nnatAddrBindLocalAddr.") natAddrBindLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natAddrBindLocalAddr.setDescription("This object represents the private-realm specific network\nlayer address, which maps to the public-realm address\nrepresented by natAddrBindGlobalAddr.\n\nThe type of this address is determined by the value of\nthe natAddrBindLocalAddrType object.") natAddrBindGlobalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindGlobalAddrType.setDescription("This object specifies the address type used for\nnatAddrBindGlobalAddr.") natAddrBindGlobalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindGlobalAddr.setDescription("This object represents the public-realm network layer\naddress that maps to the private-realm network layer\naddress represented by natAddrBindLocalAddr.\n\nThe type of this address is determined by the value of\nthe natAddrBindGlobalAddrType object.") natAddrBindId = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 5), NatBindId()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindId.setDescription("This object represents a bind id that is dynamically\nassigned to each bind by a NAT enabled device. Each\nbind is represented by a bind id that is\nunique across both, the natAddrBindTable and the\nnatAddrPortBindTable.") natAddrBindTranslationEntity = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 6), NatTranslationEntity()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindTranslationEntity.setDescription("This object represents the direction of sessions\nfor which this bind is applicable and the endpoint entity\n(source or destination) within the sessions that is\nsubject to translation using the BIND.\n\nOrientation of the bind can be a superset of\ntranslationEntity of the address map entry which\nforms the basis for this bind.\n\nFor example, if the translationEntity of an\naddress map entry is outboundSrcEndPoint, the\ntranslationEntity of a bind derived from this\nmap entry may either be outboundSrcEndPoint or\nit may be bidirectional (a bitmask of\noutboundSrcEndPoint and inboundDstEndPoint).") natAddrBindType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 7), NatAssociationType()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindType.setDescription("This object indicates whether the bind is static or\ndynamic.") natAddrBindMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 8), NatAddrMapId()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindMapIndex.setDescription("This object is a pointer to the natAddrMapTable entry\n(and the parameters of that entry) which was used in\ncreating this BIND. This object, in conjunction with the\nifIndex (which identifies a unique addrMapName) points to\n\n\n\na unique entry in the natAddrMapTable.") natAddrBindSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindSessions.setDescription("Number of sessions currently using this BIND.") natAddrBindMaxIdleTime = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindMaxIdleTime.setDescription("This object indicates the maximum time for\nwhich this bind can be idle with no sessions\nattached to it.\n\nThe value of this object is of relevance only for\ndynamic NAT.") natAddrBindCurrentIdleTime = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindCurrentIdleTime.setDescription("At any given instance, this object indicates the\ntime that this bind has been idle without any sessions\nattached to it.\n\nThe value of this object is of relevance only for\ndynamic NAT.") natAddrBindInTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindInTranslates.setDescription("The number of inbound packets that were successfully\ntranslated by using this bind entry.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\n\n\n\nifCounterDiscontinuityTime on the relevant interface.") natAddrBindOutTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 6, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrBindOutTranslates.setDescription("The number of outbound packets that were successfully\ntranslated using this bind entry.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natAddrPortBindNumberOfEntries = MibScalar((1, 3, 6, 1, 2, 1, 123, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindNumberOfEntries.setDescription("This object maintains a count of the number of entries\nthat currently exist in the natAddrPortBindTable.") natAddrPortBindTable = MibTable((1, 3, 6, 1, 2, 1, 123, 1, 8)) if mibBuilder.loadTexts: natAddrPortBindTable.setDescription("This table holds information about the currently\nactive NAPT BINDs.") natAddrPortBindEntry = MibTableRow((1, 3, 6, 1, 2, 1, 123, 1, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NAT-MIB", "natAddrPortBindLocalAddrType"), (0, "NAT-MIB", "natAddrPortBindLocalAddr"), (0, "NAT-MIB", "natAddrPortBindLocalPort"), (0, "NAT-MIB", "natAddrPortBindProtocol")) if mibBuilder.loadTexts: natAddrPortBindEntry.setDescription("Each entry in the this table holds information\nabout a NAPT bind that is currently active.\nThese entries are lost upon agent restart.\n\nThis row has indexing which may create variables with\nmore than 128 subidentifiers. Implementers of this table\nmust be careful not to create entries which would result\nin OIDs that exceed the 128 subidentifier limit.\nOtherwise, the information cannot be accessed using\nSNMPv1, SNMPv2c or SNMPv3.") natAddrPortBindLocalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natAddrPortBindLocalAddrType.setDescription("This object specifies the address type used for\nnatAddrPortBindLocalAddr.") natAddrPortBindLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natAddrPortBindLocalAddr.setDescription("This object represents the private-realm specific network\nlayer address which, in conjunction with\nnatAddrPortBindLocalPort, maps to the public-realm\nnetwork layer address and transport id represented by\nnatAddrPortBindGlobalAddr and natAddrPortBindGlobalPort\nrespectively.\n\n\nThe type of this address is determined by the value of\nthe natAddrPortBindLocalAddrType object.") natAddrPortBindLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 3), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natAddrPortBindLocalPort.setDescription("For a protocol value TCP or UDP, this object represents\nthe private-realm specific port number. On the other\nhand, for ICMP a bind is created only for query/response\ntype ICMP messages such as ICMP echo, Timestamp, and\nInformation request messages, and this object represents\nthe private-realm specific identifier in the ICMP\nmessage, as defined in RFC 792 for ICMPv4 and in RFC\n2463 for ICMPv6.\n\nThis object, together with natAddrPortBindProtocol,\nnatAddrPortBindLocalAddrType, and natAddrPortBindLocalAddr,\nconstitutes a session endpoint in the private realm. A\nbind entry binds a private realm specific endpoint to a\npublic realm specific endpoint, as represented by the\ntuple of (natAddrPortBindGlobalPort,\nnatAddrPortBindProtocol, natAddrPortBindGlobalAddrType,\nand natAddrPortBindGlobalAddr).") natAddrPortBindProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 4), NatProtocolType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natAddrPortBindProtocol.setDescription("This object specifies a protocol identifier. If the\nvalue of this object is none(1), then this bind entry\napplies to all IP traffic. Any other value of this object\nspecifies the class of IP traffic to which this BIND\napplies.") natAddrPortBindGlobalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindGlobalAddrType.setDescription("This object specifies the address type used for\nnatAddrPortBindGlobalAddr.") natAddrPortBindGlobalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 6), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindGlobalAddr.setDescription("This object represents the public-realm specific network\nlayer address that, in conjunction with\nnatAddrPortBindGlobalPort, maps to the private-realm\n\nnetwork layer address and transport id represented by\nnatAddrPortBindLocalAddr and natAddrPortBindLocalPort,\nrespectively.\n\nThe type of this address is determined by the value of\nthe natAddrPortBindGlobalAddrType object.") natAddrPortBindGlobalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 7), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindGlobalPort.setDescription("For a protocol value TCP or UDP, this object represents\nthe public-realm specific port number. On the other\nhand, for ICMP a bind is created only for query/response\ntype ICMP messages such as ICMP echo, Timestamp, and\nInformation request messages, and this object represents\nthe public-realm specific identifier in the ICMP message,\nas defined in RFC 792 for ICMPv4 and in RFC 2463 for\nICMPv6.\n\nThis object, together with natAddrPortBindProtocol,\nnatAddrPortBindGlobalAddrType, and\nnatAddrPortBindGlobalAddr, constitutes a session endpoint\nin the public realm. A bind entry binds a public realm\nspecific endpoint to a private realm specific endpoint,\nas represented by the tuple of\n (natAddrPortBindLocalPort, natAddrPortBindProtocol,\n natAddrPortBindLocalAddrType, and\n\n\n\n natAddrPortBindLocalAddr).") natAddrPortBindId = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 8), NatBindId()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindId.setDescription("This object represents a bind id that is dynamically\nassigned to each bind by a NAT enabled device. Each\nbind is represented by a unique bind id across both\nthe natAddrBindTable and the natAddrPortBindTable.") natAddrPortBindTranslationEntity = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 9), NatTranslationEntity()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindTranslationEntity.setDescription("This object represents the direction of sessions\nfor which this bind is applicable and the entity\n(source or destination) within the sessions that is\nsubject to translation with the BIND.\n\nOrientation of the bind can be a superset of the\ntranslationEntity of the address map entry that\nforms the basis for this bind.\n\nFor example, if the translationEntity of an\naddress map entry is outboundSrcEndPoint, the\ntranslationEntity of a bind derived from this\nmap entry may either be outboundSrcEndPoint or\nmay be bidirectional (a bitmask of\noutboundSrcEndPoint and inboundDstEndPoint).") natAddrPortBindType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 10), NatAssociationType()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindType.setDescription("This object indicates whether the bind is static or\ndynamic.") natAddrPortBindMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 11), NatAddrMapId()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindMapIndex.setDescription("This object is a pointer to the natAddrMapTable entry\n(and the parameters of that entry) used in\ncreating this BIND. This object, in conjunction with the\nifIndex (which identifies a unique addrMapName), points\nto a unique entry in the natAddrMapTable.") natAddrPortBindSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindSessions.setDescription("Number of sessions currently using this BIND.") natAddrPortBindMaxIdleTime = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 13), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindMaxIdleTime.setDescription("This object indicates the maximum time for\nwhich this bind can be idle without any sessions\nattached to it.\nThe value of this object is of relevance\nonly for dynamic NAT.") natAddrPortBindCurrentIdleTime = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 14), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindCurrentIdleTime.setDescription("At any given instance, this object indicates the\ntime that this bind has been idle without any sessions\nattached to it.\n\nThe value of this object is of relevance\nonly for dynamic NAT.") natAddrPortBindInTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindInTranslates.setDescription("The number of inbound packets that were translated as per\nthis bind entry.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natAddrPortBindOutTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 8, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natAddrPortBindOutTranslates.setDescription("The number of outbound packets that were translated as per\nthis bind entry.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natSessionTable = MibTable((1, 3, 6, 1, 2, 1, 123, 1, 9)) if mibBuilder.loadTexts: natSessionTable.setDescription("The (conceptual) table containing one entry for each\nNAT session currently active on this NAT device.") natSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 123, 1, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "NAT-MIB", "natSessionIndex")) if mibBuilder.loadTexts: natSessionEntry.setDescription("An entry (conceptual row) containing information\nabout an active NAT session on this NAT device.\nThese entries are lost upon agent restart.") natSessionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 1), NatSessionId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natSessionIndex.setDescription("The session ID for this NAT session.") natSessionPrivateSrcEPBindId = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 2), NatBindIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateSrcEPBindId.setDescription("The bind id associated between private and public\nsource end points. In the case of Symmetric-NAT,\nthis should be set to zero.") natSessionPrivateSrcEPBindMode = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 3), NatBindMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateSrcEPBindMode.setDescription("This object indicates whether the bind indicated\nby the object natSessionPrivateSrcEPBindId\nis an address bind or an address port bind.") natSessionPrivateDstEPBindId = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 4), NatBindIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateDstEPBindId.setDescription("The bind id associated between private and public\ndestination end points.") natSessionPrivateDstEPBindMode = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 5), NatBindMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateDstEPBindMode.setDescription("This object indicates whether the bind indicated\nby the object natSessionPrivateDstEPBindId\nis an address bind or an address port bind.") natSessionDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("inbound", 1), ("outbound", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionDirection.setDescription("The direction of this session with respect to the\nlocal network. 'inbound' indicates that this session\nwas initiated from the public network into the private\nnetwork. 'outbound' indicates that this session was\ninitiated from the private network into the public\nnetwork.") natSessionUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionUpTime.setDescription("The up time of this session in one-hundredths of a\nsecond.") natSessionAddrMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 8), NatAddrMapId()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionAddrMapIndex.setDescription("This object is a pointer to the natAddrMapTable entry\n(and the parameters of that entry) used in\ncreating this session. This object, in conjunction with\nthe ifIndex (which identifies a unique addrMapName), points\nto a unique entry in the natAddrMapTable.") natSessionProtocolType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 9), NatProtocolType()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionProtocolType.setDescription("The protocol type of this session.") natSessionPrivateAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 10), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateAddrType.setDescription("This object specifies the address type used for\nnatSessionPrivateSrcAddr and natSessionPrivateDstAddr.") natSessionPrivateSrcAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 11), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateSrcAddr.setDescription("The source IP address of the session endpoint that\nlies in the private network.\n\nThe value of this object must be zero only when the\nnatSessionPrivateSrcEPBindId object has a zero value.\nWhen the value of this object is zero, the NAT session\nlookup will match any IP address to this field.\n\nThe type of this address is determined by the value of\nthe natSessionPrivateAddrType object.") natSessionPrivateSrcPort = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 12), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateSrcPort.setDescription("When the value of protocol is TCP or UDP, this object\nrepresents the source port in the first packet of session\nwhile in private-realm. On the other hand, when the\nprotocol is ICMP, a NAT session is created only for\nquery/response type ICMP messages such as ICMP echo,\nTimestamp, and Information request messages, and this\nobject represents the private-realm specific identifier\nin the ICMP message, as defined in RFC 792 for ICMPv4\nand in RFC 2463 for ICMPv6.\n\nThe value of this object must be zero when the\nnatSessionPrivateSrcEPBindId object has zero value\nand value of natSessionPrivateSrcEPBindMode is\naddressPortBind(2). In such a case, the NAT session\nlookup will match any port number to this field.\n\nThe value of this object must be zero when the object\nis not a representative field (SrcPort, DstPort, or\nICMP identifier) of the session tuple in either the\npublic realm or the private realm.") natSessionPrivateDstAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 13), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateDstAddr.setDescription("The destination IP address of the session endpoint that\nlies in the private network.\n\nThe value of this object must be zero when the\nnatSessionPrivateDstEPBindId object has a zero value.\nIn such a scenario, the NAT session lookup will match\nany IP address to this field.\n\nThe type of this address is determined by the value of\nthe natSessionPrivateAddrType object.") natSessionPrivateDstPort = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 14), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPrivateDstPort.setDescription("When the value of protocol is TCP or UDP, this object\nrepresents the destination port in the first packet\nof session while in private-realm. On the other hand,\nwhen the protocol is ICMP, this object is not relevant\nand should be set to zero.\n\nThe value of this object must be zero when the\nnatSessionPrivateDstEPBindId object has a zero\nvalue and natSessionPrivateDstEPBindMode is set to\naddressPortBind(2). In such a case, the NAT session\nlookup will match any port number to this field.\n\nThe value of this object must be zero when the object\nis not a representative field (SrcPort, DstPort, or\nICMP identifier) of the session tuple in either the\npublic realm or the private realm.") natSessionPublicAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 15), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPublicAddrType.setDescription("This object specifies the address type used for\nnatSessionPublicSrcAddr and natSessionPublicDstAddr.") natSessionPublicSrcAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 16), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPublicSrcAddr.setDescription("The source IP address of the session endpoint that\nlies in the public network.\n\nThe value of this object must be zero when the\nnatSessionPrivateSrcEPBindId object has a zero value.\nIn such a scenario, the NAT session lookup will match\nany IP address to this field.\n\nThe type of this address is determined by the value of\nthe natSessionPublicAddrType object.") natSessionPublicSrcPort = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 17), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPublicSrcPort.setDescription("When the value of protocol is TCP or UDP, this object\nrepresents the source port in the first packet of\nsession while in public-realm. On the other hand, when\nprotocol is ICMP, a NAT session is created only for\nquery/response type ICMP messages such as ICMP echo,\nTimestamp, and Information request messages, and this\nobject represents the public-realm specific identifier\nin the ICMP message, as defined in RFC 792 for ICMPv4\nand in RFC 2463 for ICMPv6.\n\nThe value of this object must be zero when the\nnatSessionPrivateSrcEPBindId object has a zero value\nand natSessionPrivateSrcEPBindMode is set to\naddressPortBind(2). In such a scenario, the NAT\nsession lookup will match any port number to this\nfield.\n\nThe value of this object must be zero when the object\nis not a representative field (SrcPort, DstPort or\nICMP identifier) of the session tuple in either the\npublic realm or the private realm.") natSessionPublicDstAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 18), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPublicDstAddr.setDescription("The destination IP address of the session endpoint that\nlies in the public network.\n\nThe value of this object must be non-zero when the\nnatSessionPrivateDstEPBindId object has a non-zero\nvalue. If the value of this object and the\ncorresponding natSessionPrivateDstEPBindId object value\nis zero, then the NAT session lookup will match any IP\naddress to this field.\n\nThe type of this address is determined by the value of\nthe natSessionPublicAddrType object.") natSessionPublicDstPort = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 19), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionPublicDstPort.setDescription("When the value of protocol is TCP or UDP, this object\nrepresents the destination port in the first packet of\nsession while in public-realm. On the other hand, when\nthe protocol is ICMP, this object is not relevant for\ntranslation and should be zero.\n\nThe value of this object must be zero when the\nnatSessionPrivateDstEPBindId object has a zero value\nand natSessionPrivateDstEPBindMode is\naddressPortBind(2). In such a scenario, the NAT\nsession lookup will match any port number to this\nfield.\n\nThe value of this object must be zero when the object\nis not a representative field (SrcPort, DstPort, or\nICMP identifier) of the session tuple in either the\npublic realm or the private realm.") natSessionMaxIdleTime = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 20), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionMaxIdleTime.setDescription("The max time for which this session can be idle\nwithout detecting a packet.") natSessionCurrentIdleTime = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 21), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionCurrentIdleTime.setDescription("The time since a packet belonging to this session was\nlast detected.") natSessionInTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionInTranslates.setDescription("The number of inbound packets that were translated for\nthis session.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\n\n\n\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natSessionOutTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 9, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natSessionOutTranslates.setDescription("The number of outbound packets that were translated for\nthis session.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natProtocolTable = MibTable((1, 3, 6, 1, 2, 1, 123, 1, 10)) if mibBuilder.loadTexts: natProtocolTable.setDescription("The (conceptual) table containing per protocol NAT\nstatistics.") natProtocolEntry = MibTableRow((1, 3, 6, 1, 2, 1, 123, 1, 10, 1)).setIndexNames((0, "NAT-MIB", "natProtocol")) if mibBuilder.loadTexts: natProtocolEntry.setDescription("An entry (conceptual row) containing NAT statistics\npertaining to a particular protocol.") natProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 10, 1, 1), NatProtocolType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: natProtocol.setDescription("This object represents the protocol pertaining to which\nparameters are reported.") natProtocolInTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 10, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natProtocolInTranslates.setDescription("The number of inbound packets pertaining to the protocol\nidentified by natProtocol that underwent NAT.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natProtocolOutTranslates = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 10, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natProtocolOutTranslates.setDescription("The number of outbound packets pertaining to the protocol\nidentified by natProtocol that underwent NAT.\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natProtocolDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 123, 1, 10, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: natProtocolDiscards.setDescription("The number of packets pertaining to the protocol\nidentified by natProtocol that had to be\nrejected/dropped due to lack of resources. These\nrejections could be due to session timeout, resource\nunavailability, lack of address space, etc.\n\n\n\n\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system and at other\ntimes, as indicated by the value of\nifCounterDiscontinuityTime on the relevant interface.") natMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 123, 2)) natMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 123, 2, 1)) natMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 123, 2, 2)) # Augmentions # Notifications natPacketDiscard = NotificationType((1, 3, 6, 1, 2, 1, 123, 0, 1)).setObjects(*(("IF-MIB", "ifIndex"), ) ) if mibBuilder.loadTexts: natPacketDiscard.setDescription("This notification is generated when IP packets are\ndiscarded by the NAT function; e.g., due to lack of\nmapping space when NAT is out of addresses or ports.\n\nNote that the generation of natPacketDiscard\nnotifications is throttled by the agent, as specified\nby the 'natNotifThrottlingInterval' object.") # Groups natConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 123, 2, 1, 1)).setObjects(*(("NAT-MIB", "natInterfaceRowStatus"), ("NAT-MIB", "natAddrMapLocalAddrFrom"), ("NAT-MIB", "natInterfaceStorageType"), ("NAT-MIB", "natUdpDefIdleTimeout"), ("NAT-MIB", "natAddrMapGlobalAddrTo"), ("NAT-MIB", "natOtherDefIdleTimeout"), ("NAT-MIB", "natAddrMapEntryType"), ("NAT-MIB", "natInterfaceRealm"), ("NAT-MIB", "natTcpDefNegTimeout"), ("NAT-MIB", "natAddrMapLocalPortFrom"), ("NAT-MIB", "natAddrMapName"), ("NAT-MIB", "natTcpDefIdleTimeout"), ("NAT-MIB", "natAddrMapLocalAddrType"), ("NAT-MIB", "natAddrMapGlobalPortFrom"), ("NAT-MIB", "natAddrMapLocalAddrTo"), ("NAT-MIB", "natAddrMapStorageType"), ("NAT-MIB", "natAddrMapRowStatus"), ("NAT-MIB", "natInterfaceServiceType"), ("NAT-MIB", "natAddrMapGlobalAddrFrom"), ("NAT-MIB", "natNotifThrottlingInterval"), ("NAT-MIB", "natAddrMapGlobalPortTo"), ("NAT-MIB", "natAddrMapGlobalAddrType"), ("NAT-MIB", "natAddrMapLocalPortTo"), ("NAT-MIB", "natAddrMapProtocol"), ("NAT-MIB", "natBindDefIdleTimeout"), ("NAT-MIB", "natAddrMapTranslationEntity"), ("NAT-MIB", "natIcmpDefIdleTimeout"), ) ) if mibBuilder.loadTexts: natConfigGroup.setDescription("A collection of configuration-related information\nrequired to support management of devices supporting\nNAT.") natTranslationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 123, 2, 1, 2)).setObjects(*(("NAT-MIB", "natSessionPrivateDstEPBindId"), ("NAT-MIB", "natAddrPortBindGlobalAddr"), ("NAT-MIB", "natSessionPrivateSrcEPBindId"), ("NAT-MIB", "natAddrPortBindTranslationEntity"), ("NAT-MIB", "natSessionCurrentIdleTime"), ("NAT-MIB", "natAddrBindNumberOfEntries"), ("NAT-MIB", "natAddrBindMaxIdleTime"), ("NAT-MIB", "natSessionDirection"), ("NAT-MIB", "natAddrPortBindSessions"), ("NAT-MIB", "natAddrBindInTranslates"), ("NAT-MIB", "natSessionPrivateSrcEPBindMode"), ("NAT-MIB", "natAddrBindId"), ("NAT-MIB", "natAddrPortBindId"), ("NAT-MIB", "natSessionUpTime"), ("NAT-MIB", "natAddrPortBindGlobalAddrType"), ("NAT-MIB", "natAddrBindSessions"), ("NAT-MIB", "natAddrBindOutTranslates"), ("NAT-MIB", "natSessionPrivateDstPort"), ("NAT-MIB", "natSessionOutTranslates"), ("NAT-MIB", "natSessionPublicAddrType"), ("NAT-MIB", "natAddrBindGlobalAddr"), ("NAT-MIB", "natSessionPrivateSrcPort"), ("NAT-MIB", "natSessionProtocolType"), ("NAT-MIB", "natAddrPortBindInTranslates"), ("NAT-MIB", "natSessionPublicSrcAddr"), ("NAT-MIB", "natSessionPrivateSrcAddr"), ("NAT-MIB", "natAddrBindGlobalAddrType"), ("NAT-MIB", "natAddrPortBindMapIndex"), ("NAT-MIB", "natSessionPrivateDstAddr"), ("NAT-MIB", "natAddrBindCurrentIdleTime"), ("NAT-MIB", "natSessionPrivateAddrType"), ("NAT-MIB", "natSessionAddrMapIndex"), ("NAT-MIB", "natAddrBindMapIndex"), ("NAT-MIB", "natAddrPortBindMaxIdleTime"), ("NAT-MIB", "natSessionPrivateDstEPBindMode"), ("NAT-MIB", "natSessionMaxIdleTime"), ("NAT-MIB", "natSessionPublicDstAddr"), ("NAT-MIB", "natSessionPublicSrcPort"), ("NAT-MIB", "natAddrPortBindGlobalPort"), ("NAT-MIB", "natAddrBindType"), ("NAT-MIB", "natSessionPublicDstPort"), ("NAT-MIB", "natAddrPortBindNumberOfEntries"), ("NAT-MIB", "natAddrPortBindCurrentIdleTime"), ("NAT-MIB", "natAddrPortBindOutTranslates"), ("NAT-MIB", "natAddrBindTranslationEntity"), ("NAT-MIB", "natSessionInTranslates"), ("NAT-MIB", "natAddrPortBindType"), ) ) if mibBuilder.loadTexts: natTranslationGroup.setDescription("A collection of BIND-related objects required to support\nmanagement of devices supporting NAT.") natStatsInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 123, 2, 1, 3)).setObjects(*(("NAT-MIB", "natInterfaceInTranslates"), ("NAT-MIB", "natInterfaceOutTranslates"), ("NAT-MIB", "natInterfaceDiscards"), ) ) if mibBuilder.loadTexts: natStatsInterfaceGroup.setDescription("A collection of NAT statistics associated with the\ninterface on which NAT is configured, to aid\ntroubleshooting/monitoring of the NAT operation.") natStatsProtocolGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 123, 2, 1, 4)).setObjects(*(("NAT-MIB", "natProtocolInTranslates"), ("NAT-MIB", "natProtocolOutTranslates"), ("NAT-MIB", "natProtocolDiscards"), ) ) if mibBuilder.loadTexts: natStatsProtocolGroup.setDescription("A collection of protocol specific NAT statistics,\nto aid troubleshooting/monitoring of NAT operation.") natStatsAddrMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 123, 2, 1, 5)).setObjects(*(("NAT-MIB", "natAddrMapOutTranslates"), ("NAT-MIB", "natAddrMapAddrUsed"), ("NAT-MIB", "natAddrMapInTranslates"), ("NAT-MIB", "natAddrMapDiscards"), ) ) if mibBuilder.loadTexts: natStatsAddrMapGroup.setDescription("A collection of address map specific NAT statistics,\nto aid troubleshooting/monitoring of NAT operation.") natMIBNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 123, 2, 1, 6)).setObjects(*(("NAT-MIB", "natPacketDiscard"), ) ) if mibBuilder.loadTexts: natMIBNotificationGroup.setDescription("A collection of notifications generated by\ndevices supporting this MIB.") # Compliances natMIBFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 123, 2, 2, 1)).setObjects(*(("NAT-MIB", "natTranslationGroup"), ("NAT-MIB", "natConfigGroup"), ("NAT-MIB", "natStatsAddrMapGroup"), ("NAT-MIB", "natMIBNotificationGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("NAT-MIB", "natStatsProtocolGroup"), ("NAT-MIB", "natStatsInterfaceGroup"), ) ) if mibBuilder.loadTexts: natMIBFullCompliance.setDescription("When this MIB is implemented with support for\nread-create, then such an implementation can claim\nfull compliance. Such devices can then be both\nmonitored and configured with this MIB.\n\nThe following index objects cannot be added as OBJECT\nclauses but nevertheless have the compliance\nrequirements:\n ") natMIBReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 123, 2, 2, 2)).setObjects(*(("NAT-MIB", "natTranslationGroup"), ("NAT-MIB", "natConfigGroup"), ("NAT-MIB", "natStatsAddrMapGroup"), ("NAT-MIB", "natMIBNotificationGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("NAT-MIB", "natStatsProtocolGroup"), ("NAT-MIB", "natStatsInterfaceGroup"), ) ) if mibBuilder.loadTexts: natMIBReadOnlyCompliance.setDescription("When this MIB is implemented without support for\nread-create (i.e., in read-only mode), then such an\nimplementation can claim read-only compliance.\nSuch a device can then be monitored but cannot be\nconfigured with this MIB.\n\nThe following index objects cannot be added as OBJECT\nclauses but nevertheless have the compliance\nrequirements:") # Exports # Module identity mibBuilder.exportSymbols("NAT-MIB", PYSNMP_MODULE_ID=natMIB) # Types mibBuilder.exportSymbols("NAT-MIB", NatAddrMapId=NatAddrMapId, NatAssociationType=NatAssociationType, NatBindId=NatBindId, NatBindIdOrZero=NatBindIdOrZero, NatBindMode=NatBindMode, NatProtocolMap=NatProtocolMap, NatProtocolType=NatProtocolType, NatSessionId=NatSessionId, NatTranslationEntity=NatTranslationEntity) # Objects mibBuilder.exportSymbols("NAT-MIB", natMIB=natMIB, natMIBNotifications=natMIBNotifications, natMIBObjects=natMIBObjects, natDefTimeouts=natDefTimeouts, natBindDefIdleTimeout=natBindDefIdleTimeout, natUdpDefIdleTimeout=natUdpDefIdleTimeout, natIcmpDefIdleTimeout=natIcmpDefIdleTimeout, natOtherDefIdleTimeout=natOtherDefIdleTimeout, natTcpDefIdleTimeout=natTcpDefIdleTimeout, natTcpDefNegTimeout=natTcpDefNegTimeout, natNotifCtrl=natNotifCtrl, natNotifThrottlingInterval=natNotifThrottlingInterval, natInterfaceTable=natInterfaceTable, natInterfaceEntry=natInterfaceEntry, natInterfaceRealm=natInterfaceRealm, natInterfaceServiceType=natInterfaceServiceType, natInterfaceInTranslates=natInterfaceInTranslates, natInterfaceOutTranslates=natInterfaceOutTranslates, natInterfaceDiscards=natInterfaceDiscards, natInterfaceStorageType=natInterfaceStorageType, natInterfaceRowStatus=natInterfaceRowStatus, natAddrMapTable=natAddrMapTable, natAddrMapEntry=natAddrMapEntry, natAddrMapIndex=natAddrMapIndex, natAddrMapName=natAddrMapName, natAddrMapEntryType=natAddrMapEntryType, natAddrMapTranslationEntity=natAddrMapTranslationEntity, natAddrMapLocalAddrType=natAddrMapLocalAddrType, natAddrMapLocalAddrFrom=natAddrMapLocalAddrFrom, natAddrMapLocalAddrTo=natAddrMapLocalAddrTo, natAddrMapLocalPortFrom=natAddrMapLocalPortFrom, natAddrMapLocalPortTo=natAddrMapLocalPortTo, natAddrMapGlobalAddrType=natAddrMapGlobalAddrType, natAddrMapGlobalAddrFrom=natAddrMapGlobalAddrFrom, natAddrMapGlobalAddrTo=natAddrMapGlobalAddrTo, natAddrMapGlobalPortFrom=natAddrMapGlobalPortFrom, natAddrMapGlobalPortTo=natAddrMapGlobalPortTo, natAddrMapProtocol=natAddrMapProtocol, natAddrMapInTranslates=natAddrMapInTranslates, natAddrMapOutTranslates=natAddrMapOutTranslates, natAddrMapDiscards=natAddrMapDiscards, natAddrMapAddrUsed=natAddrMapAddrUsed, natAddrMapStorageType=natAddrMapStorageType, natAddrMapRowStatus=natAddrMapRowStatus, natAddrBindNumberOfEntries=natAddrBindNumberOfEntries, natAddrBindTable=natAddrBindTable, natAddrBindEntry=natAddrBindEntry, natAddrBindLocalAddrType=natAddrBindLocalAddrType, natAddrBindLocalAddr=natAddrBindLocalAddr, natAddrBindGlobalAddrType=natAddrBindGlobalAddrType, natAddrBindGlobalAddr=natAddrBindGlobalAddr, natAddrBindId=natAddrBindId, natAddrBindTranslationEntity=natAddrBindTranslationEntity, natAddrBindType=natAddrBindType, natAddrBindMapIndex=natAddrBindMapIndex, natAddrBindSessions=natAddrBindSessions, natAddrBindMaxIdleTime=natAddrBindMaxIdleTime, natAddrBindCurrentIdleTime=natAddrBindCurrentIdleTime, natAddrBindInTranslates=natAddrBindInTranslates, natAddrBindOutTranslates=natAddrBindOutTranslates, natAddrPortBindNumberOfEntries=natAddrPortBindNumberOfEntries, natAddrPortBindTable=natAddrPortBindTable, natAddrPortBindEntry=natAddrPortBindEntry, natAddrPortBindLocalAddrType=natAddrPortBindLocalAddrType, natAddrPortBindLocalAddr=natAddrPortBindLocalAddr, natAddrPortBindLocalPort=natAddrPortBindLocalPort, natAddrPortBindProtocol=natAddrPortBindProtocol, natAddrPortBindGlobalAddrType=natAddrPortBindGlobalAddrType, natAddrPortBindGlobalAddr=natAddrPortBindGlobalAddr, natAddrPortBindGlobalPort=natAddrPortBindGlobalPort, natAddrPortBindId=natAddrPortBindId, natAddrPortBindTranslationEntity=natAddrPortBindTranslationEntity, natAddrPortBindType=natAddrPortBindType, natAddrPortBindMapIndex=natAddrPortBindMapIndex, natAddrPortBindSessions=natAddrPortBindSessions, natAddrPortBindMaxIdleTime=natAddrPortBindMaxIdleTime, natAddrPortBindCurrentIdleTime=natAddrPortBindCurrentIdleTime, natAddrPortBindInTranslates=natAddrPortBindInTranslates, natAddrPortBindOutTranslates=natAddrPortBindOutTranslates, natSessionTable=natSessionTable, natSessionEntry=natSessionEntry, natSessionIndex=natSessionIndex, natSessionPrivateSrcEPBindId=natSessionPrivateSrcEPBindId, natSessionPrivateSrcEPBindMode=natSessionPrivateSrcEPBindMode, natSessionPrivateDstEPBindId=natSessionPrivateDstEPBindId, natSessionPrivateDstEPBindMode=natSessionPrivateDstEPBindMode, natSessionDirection=natSessionDirection, natSessionUpTime=natSessionUpTime, natSessionAddrMapIndex=natSessionAddrMapIndex, natSessionProtocolType=natSessionProtocolType, natSessionPrivateAddrType=natSessionPrivateAddrType, natSessionPrivateSrcAddr=natSessionPrivateSrcAddr, natSessionPrivateSrcPort=natSessionPrivateSrcPort, natSessionPrivateDstAddr=natSessionPrivateDstAddr, natSessionPrivateDstPort=natSessionPrivateDstPort, natSessionPublicAddrType=natSessionPublicAddrType, natSessionPublicSrcAddr=natSessionPublicSrcAddr, natSessionPublicSrcPort=natSessionPublicSrcPort, natSessionPublicDstAddr=natSessionPublicDstAddr, natSessionPublicDstPort=natSessionPublicDstPort, natSessionMaxIdleTime=natSessionMaxIdleTime, natSessionCurrentIdleTime=natSessionCurrentIdleTime, natSessionInTranslates=natSessionInTranslates, natSessionOutTranslates=natSessionOutTranslates, natProtocolTable=natProtocolTable, natProtocolEntry=natProtocolEntry, natProtocol=natProtocol, natProtocolInTranslates=natProtocolInTranslates, natProtocolOutTranslates=natProtocolOutTranslates, natProtocolDiscards=natProtocolDiscards, natMIBConformance=natMIBConformance, natMIBGroups=natMIBGroups, natMIBCompliances=natMIBCompliances) # Notifications mibBuilder.exportSymbols("NAT-MIB", natPacketDiscard=natPacketDiscard) # Groups mibBuilder.exportSymbols("NAT-MIB", natConfigGroup=natConfigGroup, natTranslationGroup=natTranslationGroup, natStatsInterfaceGroup=natStatsInterfaceGroup, natStatsProtocolGroup=natStatsProtocolGroup, natStatsAddrMapGroup=natStatsAddrMapGroup, natMIBNotificationGroup=natMIBNotificationGroup) # Compliances mibBuilder.exportSymbols("NAT-MIB", natMIBFullCompliance=natMIBFullCompliance, natMIBReadOnlyCompliance=natMIBReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/HPR-MIB.py0000644000014400001440000012067011736645136020074 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HPR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:04 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( SnaControlPointName, ) = mibBuilder.importSymbols("APPN-MIB", "SnaControlPointName") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( snanauMIB, ) = mibBuilder.importSymbols("SNA-NAU-MIB", "snanauMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32") ( DateAndTime, DisplayString, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "TextualConvention", "TimeStamp") # Types class HprNceTypes(Bits): namedValues = NamedValues(("controlPoint", 0), ("logicalUnit", 1), ("boundaryFunction", 2), ("routeSetup", 3), ) class HprRtpCounter(Counter32): pass # Objects hprMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 6)).setRevisions(("1997-05-14 00:00",)) if mibBuilder.loadTexts: hprMIB.setOrganization("AIW APPN / HPR MIB SIG") if mibBuilder.loadTexts: hprMIB.setContactInfo("\n\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\n800 Park Offices Drive\nRHJA/664\nP.O. Box 12195\nResearch Triangle Park, NC 27709, USA\nTel: 1 919 254 4436\nE-mail: remoore@ralvm6.vnet.ibm.com") if mibBuilder.loadTexts: hprMIB.setDescription("This is the MIB module for objects used to\nmanage network devices with HPR capabilities.") hprObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 1)) hprGlobal = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 1, 1)) hprNodeCpName = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 1, 1), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprNodeCpName.setDescription("Administratively assigned network name for the APPN node\nwhere this HPR implementation resides. If this object has\nthe same value as the appnNodeCpName object in the APPN MIB,\nthen the two objects are referring to the same APPN node.") hprOperatorPathSwitchSupport = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("notSupported", 1), ("switchTriggerSupported", 2), ("switchToPathSupported", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprOperatorPathSwitchSupport.setDescription("This object indicates an implementation's level of support\nfor an operator-requested path switch.\n\n notSupported(1) - the agent does not support\n operator-requested path switches\n switchTriggerSupported(2) - the agent supports a 'switch\n path now' command from an\n operator, but not a command to\n switch to a specified path\n switchToPathSupported(3) - the agent supports both a\n 'switch path now' command and a\n command to switch to a specified\n path. Note that the latter\n command is not available via\n this MIB; a system that supports\n it must do so via other means,\n such as a local operator\n interface.") hprAnrRouting = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 1, 2)) hprAnrsAssigned = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 1), Counter32()).setMaxAccess("readonly").setUnits("ANR labels") if mibBuilder.loadTexts: hprAnrsAssigned.setDescription("The count of ANR labels assigned by this node since it was\nlast re-initialized. A Management Station can detect\ndiscontinuities in this counter by monitoring the\nappnNodeCounterDisconTime object in the APPN MIB.") hprAnrCounterState = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hprAnrCounterState.setDescription("This object is used for a network management station to turn\non/off the counting of ANR packets in the hprAnrRoutingTable.\nThe initial value of this object is an implementation choice.\n\n notActive(1) - the counter hprAnrPacketsReceived\n returns no meaningful value\n active(2) - the counter hprAnrPacketsReceived is\n being incremented and is returning\n meaningful values") hprAnrCounterStateTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprAnrCounterStateTime.setDescription("The time when the hprAnrCounterState object last changed its\nvalue. The initial value returned by this object is the time\nat which the APPN node instrumented with this MIB was last\nbrought up.") hprAnrRoutingTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4)) if mibBuilder.loadTexts: hprAnrRoutingTable.setDescription("The ANR Routing table provides a means of correlating an\nincoming ANR label (i.e., one assigned by this node) with the\nTG over which a packet containing the label will be forwarded.\nWhen the ANR label identifies a local NCE, the hprAnrOutTgDest\nand hprAnrOutTgNum objects have no meaning. The table also\ncontains an object to count the number of packets received\nwith a given ANR label.") hprAnrRoutingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4, 1)).setIndexNames((0, "HPR-MIB", "hprAnrLabel")) if mibBuilder.loadTexts: hprAnrRoutingEntry.setDescription("The ANR label is used to index this table.") hprAnrLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprAnrLabel.setDescription("The first ANR label in an incoming packet.") hprAnrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("nce", 1), ("tg", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprAnrType.setDescription("An object indicating whether an ANR label assigned by this\nnode identifies a local NCE or a TG on which outgoing packets\nare forwarded.\n\n nce(1) - the ANR label identifies a local NCE. In this\n case the hprAnrOutTgDest and hprAnrOutTgNum\n objects have no meaning.\n tg(2) - the ANR label identifies a TG.") hprAnrOutTgDest = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4, 1, 3), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprAnrOutTgDest.setDescription("Destination node for the TG over which packets with this ANR\nlabel are forwarded. This is the fully qualified name of an\nAPPN network node or end node, formatted according to the\nSnaControlPointName textual convention. If the ANR label\nidentifies a local NCE, then this object returns a zero-length\nstring.\n\nThis object corresponds to the appnLocalTgDest object in the\nAPPN MIB.") hprAnrOutTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprAnrOutTgNum.setDescription("Number of the TG over which packets with this ANR label are\nforwarded. If the ANR label identifies a local NCE, then this\nobject returns the value 0, since 0 is not a valid TG number\nfor a TG that supports HPR.\n\nThis object corresponds to the appnLocalTgNum object in the\nAPPN MIB.") hprAnrPacketsReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprAnrPacketsReceived.setDescription("The count of packets received with this ANR label as their\nfirst label.\n\nA Management Station can detect discontinuities in this\ncounter by monitoring the hprAnrCounterDisconTime object in\nthe same row.") hprAnrCounterDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 2, 4, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprAnrCounterDisconTime.setDescription("The value of the sysUpTime object when the\nhprAnrPacketsReceived counter for this ANR label last\nexperienced a discontinuity. This will be the more recent of\ntwo times: the time at which the ANR label was associated with\neither an outgoing TG or a local NCE, or the time at which the\nANR counters were last turned on or off.") hprTransportUser = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 1, 3)) hprNceTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 3, 1)) if mibBuilder.loadTexts: hprNceTable.setDescription("The Network Connection Endpoint (NCE) table.") hprNceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 3, 1, 1)).setIndexNames((0, "HPR-MIB", "hprNceId")) if mibBuilder.loadTexts: hprNceEntry.setDescription("The NCE ID is used to index this table.") hprNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 3, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprNceId.setDescription("The Network Connection Endpoint (NCE) ID. NCEs identify\nControl Points (Cp), Logical Units (Lu), HPR Boundary\nFunctions (Bf) and Route Setup (Rs) Functions. A value for\nthis object can be retrieved from any of the following\nobjects in the APPN MIB:\n\n - appnLsCpCpNceId\n - appnLsRouteNceId\n - appnLsBfNceId\n - appnIsInRtpNceId\n - appnIsRtpNceId\n\nIn each case this value identifies a row in this table\ncontaining information related to that in the APPN MIB.") hprNceType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 3, 1, 1, 2), HprNceTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprNceType.setDescription("A bit string identifying the function types provided by this\nNetwork Connection Endpoint (NCE).") hprNceDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 3, 1, 1, 3), HprNceTypes()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprNceDefault.setDescription("A bit string identifying the function types for which this\nNetwork Connection Endpoint (NCE) is the default NCE. While\ndefault NCEs are not explicitly defined in the architecture,\nsome implementations provide them; for such implementations,\nit is useful to make this information available to a\nManagement Station.") hprNceInstanceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 3, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: hprNceInstanceId.setDescription("The NCE instance identifier (NCEII) identifying the current\ninstance of this NCE. An NCEII is used to denote different\ninstances (IPLs) of an NCE component. Each time an NCE is\nactivated (IPL'd), it acquires a different, unique NCEII.") hprRtp = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 1, 4)) hprRtpGlobe = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 1)) hprRtpGlobeConnSetups = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 1, 1), Counter32()).setMaxAccess("readonly").setUnits("RTP connection setups") if mibBuilder.loadTexts: hprRtpGlobeConnSetups.setDescription("The count of RTP connection setups in which this node has\nparticipated, as either sender or receiver, since it was last\nre-initialized. Retries of a setup attempt do not cause the\ncounter to be incremented.\n\nA Management Station can detect discontinuities in this\ncounter by monitoring the appnNodeCounterDisconTime object\nin the APPN MIB.") hprRtpGlobeCtrState = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hprRtpGlobeCtrState.setDescription("This object allows a network management station to turn the\ncounters in the hprRtpTable on and off. The initial value of\nthis object is an implementation choice.\n\n notActive(1) - the counters in the hprRtpTable are\n returning no meaningful values\n active(2) - the counters in the hprRtpTable are\n being incremented and are returning\n meaningful values") hprRtpGlobeCtrStateTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpGlobeCtrStateTime.setDescription("The time when the value of the hprRtpGlobeCtrState object\nlast changed. The initial value returned by this object is\nthe time at which the APPN node instrumented with this MIB\nwas last brought up.") hprRtpTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2)) if mibBuilder.loadTexts: hprRtpTable.setDescription("The RTP Connection table") hprRtpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1)).setIndexNames((0, "HPR-MIB", "hprRtpLocNceId"), (0, "HPR-MIB", "hprRtpLocTcid")) if mibBuilder.loadTexts: hprRtpEntry.setDescription("The local NCE ID and local TCID are used to index this\ntable.") hprRtpLocNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprRtpLocNceId.setDescription("The local Network Connection Endpoint (NCE) ID of this RTP\nconnection. NCEs identify CPs, LUs, Boundary Functions (BFs),\nand Route Setup (RS) components. A value for this object can\nbe retrieved from any of the following objects in the APPN\nMIB:\n\n - appnLsCpCpNceId\n - appnLsRouteNceId\n - appnLsBfNceId\n - appnIsInRtpNceId\n - appnIsRtpNceId\n\nIn each case this value identifies a row in this table\ncontaining information related to that in the APPN MIB.") hprRtpLocTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprRtpLocTcid.setDescription("The local TCID of this RTP connection. A value for this\nobject can be retrieved from either the appnIsInRtpTcid object\nor the appnIsRtpTcid object the APPN MIB; in each case this\nvalue identifies a row in this table containing information\nrelated to that in the APPN MIB.") hprRtpRemCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 3), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRemCpName.setDescription("Administratively assigned network name for the remote node of\nthis RTP connection.") hprRtpRemNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRemNceId.setDescription("The remote Network Connection Endpoint (NCE) of this RTP\nconnection. NCEs identify CPs, LUs, Boundary Functions (BFs),\nand Route Setup (RS) components.") hprRtpRemTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRemTcid.setDescription("The remote TCID of this RTP connection.") hprRtpPathSwitchTrigger = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ready", 1), ("switchPathNow", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hprRtpPathSwitchTrigger.setDescription("Object by which a Management Station can trigger an operator-\nrequested path switch, by setting the value to\nswitchPathNow(2). Setting this object to switchPathNow(2)\ntriggers a path switch even if its previous value was already\nswitchPathNow(2).\nThe value ready(1) is returned on GET operations until a SET\nhas been processed; after that the value received on the most\nrecent SET is returned.\n\nThis MIB module provides no support for an operator-requested\nswitch to a specified path.") hprRtpRscv = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRscv.setDescription("The forward Route Selection Control Vector for this RTP\nconnection. The format of this vector is described in SNA\nFormats.\n\nThe value returned in this object during a path switch is\nimplementation-dependent: it may be the old path, the new\npath, a zero-length string, or some other valid RSCV string.") hprRtpTopic = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpTopic.setDescription("The topic for this RTP connection. This is used to indicate\nthe Class of Service.") hprRtpState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,99,2,5,)).subtype(namedValues=NamedValues(("rtpListening", 1), ("rtpCalling", 2), ("rtpConnected", 3), ("rtpPathSwitching", 4), ("rtpDisconnecting", 5), ("other", 99), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpState.setDescription("The state of the RTP connection, from the perspective of the\nlocal RTP protocol machine:\n rtpListening - connection open; waiting for other end\n to call in\n rtpCalling - connection opened, attempting to call\n out, have not yet received any data\n from other end\n rtpConnected - connection is active; responded to a\n call-in or received other end's TCID\n from a call-out attempt\n rtpPathSwitching - the path switch timer is running;\n attempting to find a new path for this\n connection.\n rtpDisconnecting - no sessions are using this connection;\n in process of bringing it down\n other - the connection is not in any of the\n states listed above.") hprRtpUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpUpTime.setDescription("The length of time the RTP connection has been up, measured\nin 1/100ths of a second.") hprRtpLivenessTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpLivenessTimer.setDescription("The value of the liveness (ALIVE) timer of this RTP\nconnection, in units of 1/100th of a second. When this timer\nexpires and no packet has arrived from the partner since it\nwas last set, packets with Status Request indicators will be\nsent to see if the RTP connection is still alive.") hprRtpShortReqTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpShortReqTimer.setDescription("The value of the RTP SHORT_REQ timer, in units of 1/100 of a\nsecond. This timer represents the maximum time that a sender\nwaits for a reply from a receiver.") hprRtpPathSwTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpPathSwTimer.setDescription("The length of time that RTP should attempt a path switch\nfor a connection, in units of 1/100th of a second.") hprRtpLivenessTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 14), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpLivenessTimeouts.setDescription("The count of liveness timeouts for this RTP connection.") hprRtpShortReqTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 15), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpShortReqTimeouts.setDescription("The count of short request timeouts for this RTP connection.") hprRtpMaxSendRate = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpMaxSendRate.setDescription("The high-water mark for this RTP connection's send rate, in\nunits of bytes per second. This is the high-water mark for\nthe entire life of the connection, not just the high-water\nmark for the connection's current path.\nFor more details on this and other parameters related to HPR,\nsee the High Performance Routing Architecture Reference.") hprRtpMinSendRate = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpMinSendRate.setDescription("The low-water mark for this RTP connection's send rate, in\nunits of bytes per second. This is the low-water mark for the\nentire life of the connection, not just the low-water mark for\nthe connection's current path.\n\nFor more details on this and other parameters related to HPR,\nsee the High Performance Routing Architecture Reference.") hprRtpCurSendRate = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpCurSendRate.setDescription("The current send rate for this RTP connection, in units of\nbytes per second.\n\nFor more details on this and other parameters related to HPR,\nsee the High Performance Routing Architecture Reference.") hprRtpSmRdTripDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpSmRdTripDelay.setDescription("The smoothed round trip delay for this RTP connection, in\nunits of 1/1000th of a second (ms).\n\nFor more details on this and other parameters related to HPR,\nsee the High Performance Routing Architecture Reference.") hprRtpSendPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 20), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpSendPackets.setDescription("The count of packets successfully sent on this RTP\nconnection.") hprRtpRecvPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 21), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRecvPackets.setDescription("The count of packets received on this RTP connection. The\ncounter is incremented only once if duplicate copies of a\npacket are received.") hprRtpSendBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 22), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpSendBytes.setDescription("The count of bytes sent on this RTP connection. Both RTP\nTransport Header (THDR) bytes and data bytes are included in\nthis count.") hprRtpRecvBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 23), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRecvBytes.setDescription("The count of bytes received on this RTP connection. Both RTP\nTransport Header (THDR) bytes and data bytes are included in\nthis count.") hprRtpRetrPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 24), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRetrPackets.setDescription("The count of packets retransmitted on this RTP connection.") hprRtpPacketsDiscarded = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 25), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpPacketsDiscarded.setDescription("The count of packets received on this RTP connection and then\ndiscarded. A packet may be discarded because it is determined\nto be a duplicate, or for other reasons.") hprRtpDetectGaps = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 26), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpDetectGaps.setDescription("The count of gaps detected on this RTP connection.") hprRtpRateReqSends = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 27), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpRateReqSends.setDescription("The count of Rate Requests sent on this RTP connection.") hprRtpOkErrPathSws = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 28), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpOkErrPathSws.setDescription("The count of successful path switch attempts for this RTP\nconnection due to errors.") hprRtpBadErrPathSws = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 29), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpBadErrPathSws.setDescription("The count of unsuccessful path switches for this RTP\nconnection due to errors.") hprRtpOkOpPathSws = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 30), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpOkOpPathSws.setDescription("The count of successful path switches for this RTP connection\ndue to operator requests.") hprRtpBadOpPathSws = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 31), HprRtpCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpBadOpPathSws.setDescription("The count of unsuccessful path switches for this RTP\nconnection due to operator requests. This counter is not\nincremented by an implementation that does not support\noperator-requested path switches, even if a Management Station\nrequests such a path switch by setting the\nhprRtpPathSwitchTrigger object.") hprRtpCounterDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 2, 1, 32), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpCounterDisconTime.setDescription("The value of the sysUpTime object when the counters for this\nRTP connection last experienced a discontinuity. This will be\nthe more recent of two times: the time at which the\nconnection was established or the time at which the HPR\ncounters were last turned on or off.") hprRtpStatusTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3)) if mibBuilder.loadTexts: hprRtpStatusTable.setDescription("RTP Connection Status Table: This table contains historical\ninformation on RTP connections. An entry is created in this\ntable when a path switch is completed, either successfully or\nunsuccessfully.") hprRtpStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1)).setIndexNames((0, "HPR-MIB", "hprRtpStatusLocNceId"), (0, "HPR-MIB", "hprRtpStatusLocTcid"), (0, "HPR-MIB", "hprRtpStatusIndex")) if mibBuilder.loadTexts: hprRtpStatusEntry.setDescription("This table is indexed by local NCE ID, local TCID, and an\ninteger hprRtpStatusIndex. Thus the primary grouping of table\nrows is by RTP connection, with the multiple entries for a\ngiven RTP connection ordered by time.") hprRtpStatusLocNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprRtpStatusLocNceId.setDescription("The local Network Connection Endpoint (NCE) of this RTP\nconnection. NCEs identify CPs, LUs, Boundary Functions (BFs),\nand Route Setup (RS) components.") hprRtpStatusLocTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprRtpStatusLocTcid.setDescription("The local TCID of this RTP connection.") hprRtpStatusIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprRtpStatusIndex.setDescription("Table index. This value begins at one and is incremented\nwhen a new entry is added to the table. It is an\nimplementation choice whether to run a single counter for\nall entries in the table, or to run a separate counter for\nthe entries for each RTP connection. In the unlikely event\nof a wrap, it is assumed that Management Stations will have\nthe ability to order table entries correctly.") hprRtpStatusStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusStartTime.setDescription("The time when the path switch began.") hprRtpStatusEndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusEndTime.setDescription("The time when the path switch was ended, either successfully\nor unsuccessfully.") hprRtpStatusRemCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 6), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusRemCpName.setDescription("Administratively assigned network name for the remote node of\nthis RTP connection.") hprRtpStatusRemNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusRemNceId.setDescription("The remote Network Connection Endpoint (NCE) of this RTP\nconnection. NCEs identify CPs, LUs, Boundary Functions (BFs),\nand Route Setup (RS) components.") hprRtpStatusRemTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusRemTcid.setDescription("The remote TCID of this RTP connection.") hprRtpStatusNewRscv = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusNewRscv.setDescription("The new Route Selection Control Vector for this RTP\nconnection. A zero-length string indicates that no value is\navailable, perhaps because the implementation does not save\nRSCVs.") hprRtpStatusOldRscv = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusOldRscv.setDescription("The old Route Selection Control Vector for this RTP\nconnection. A zero-length string indicates that no value is\navailable, perhaps because the implementation does not save\nRSCVs.") hprRtpStatusCause = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,3,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("rtpConnFail", 2), ("locLinkFail", 3), ("remLinkFail", 4), ("operRequest", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusCause.setDescription("The reason for the path switch:\n\nother(1) - Reason other than those listed below,\nrtpConnFail(2) - RTP connection failure detected,\nlocLinkFail(3) - Local link failure,\nremLinkFail(4) - Remote link failure (learned from TDUs),\noperRequest(5) - Operator requested path switch. ") hprRtpStatusLastAttemptResult = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 4, 3, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(4,8,2,1,7,3,5,6,)).subtype(namedValues=NamedValues(("successful", 1), ("initiatorMoving", 2), ("directorySearchFailed", 3), ("rscvCalculationFailed", 4), ("negativeRouteSetupReply", 5), ("backoutRouteSetupReply", 6), ("timeoutDuringFirstAttempt", 7), ("otherUnsuccessful", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hprRtpStatusLastAttemptResult.setDescription("The result of the last completed path switch attempt. If the\npath switch is aborted in the middle of a path switch attempt\nbecause the path switch timer expires, the result of the\nprevious path switch attempt is reported.\n\nThe values are defined as follows:\n\n successful(1) - The final path switch\n attempt was successful.\n initiatorMoving(2) - The final path switch\n attempt failed because the\n initiator is mobile, and\n there was no active link\n out of this node.\n directorySearchFailed(3) - The final path switch\n attempt failed because a\n directory search for the\n destination node's CP name\n failed.\n rscvCalculationFailed(4) - The final path switch\n attempt failed because an\n RSCV to the node containing\n the remote RTP endpoint\n could not be calculated.\n negativeRouteSetupReply(5) - The final path switch\n attempt failed because route\n setup failed for the new\n path.\n backoutRouteSetupReply(6) - The final path switch\n attempt failed because the\n remote RTP endpoint refused\n to continue the RTP\n connection.\n timeoutDuringFirstAttempt(7) - The path switch timer\n expired during the first\n path switch attempt.\n otherUnsuccessful(8) - The final path switch\n attempt failed for a reason\n other than those listed\n above.") hprConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 2)) hprCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 2, 1)) hprGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 6, 2, 2)) # Augmentions # Groups hprGlobalConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 6, 2, 2, 1)).setObjects(*(("HPR-MIB", "hprOperatorPathSwitchSupport"), ("HPR-MIB", "hprNodeCpName"), ) ) if mibBuilder.loadTexts: hprGlobalConfGroup.setDescription("A collection of objects providing the instrumentation of HPR\ngeneral information and capabilities.") hprAnrRoutingConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 6, 2, 2, 2)).setObjects(*(("HPR-MIB", "hprAnrCounterState"), ("HPR-MIB", "hprAnrsAssigned"), ("HPR-MIB", "hprAnrType"), ("HPR-MIB", "hprAnrCounterDisconTime"), ("HPR-MIB", "hprAnrOutTgNum"), ("HPR-MIB", "hprAnrOutTgDest"), ("HPR-MIB", "hprAnrPacketsReceived"), ("HPR-MIB", "hprAnrCounterStateTime"), ) ) if mibBuilder.loadTexts: hprAnrRoutingConfGroup.setDescription("A collection of objects providing instrumentation for the\nnode's ANR routing.") hprTransportUserConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 6, 2, 2, 3)).setObjects(*(("HPR-MIB", "hprNceInstanceId"), ("HPR-MIB", "hprNceDefault"), ("HPR-MIB", "hprNceType"), ) ) if mibBuilder.loadTexts: hprTransportUserConfGroup.setDescription("A collection of objects providing information on the users of\nthe HPR transport known to the node.") hprRtpConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 6, 2, 2, 4)).setObjects(*(("HPR-MIB", "hprRtpStatusRemTcid"), ("HPR-MIB", "hprRtpStatusEndTime"), ("HPR-MIB", "hprRtpLivenessTimer"), ("HPR-MIB", "hprRtpUpTime"), ("HPR-MIB", "hprRtpRateReqSends"), ("HPR-MIB", "hprRtpSmRdTripDelay"), ("HPR-MIB", "hprRtpStatusStartTime"), ("HPR-MIB", "hprRtpStatusNewRscv"), ("HPR-MIB", "hprRtpRecvBytes"), ("HPR-MIB", "hprRtpStatusOldRscv"), ("HPR-MIB", "hprRtpRecvPackets"), ("HPR-MIB", "hprRtpGlobeCtrStateTime"), ("HPR-MIB", "hprRtpCounterDisconTime"), ("HPR-MIB", "hprRtpStatusLastAttemptResult"), ("HPR-MIB", "hprRtpCurSendRate"), ("HPR-MIB", "hprRtpRscv"), ("HPR-MIB", "hprRtpRetrPackets"), ("HPR-MIB", "hprRtpShortReqTimer"), ("HPR-MIB", "hprRtpStatusCause"), ("HPR-MIB", "hprRtpGlobeConnSetups"), ("HPR-MIB", "hprRtpRemTcid"), ("HPR-MIB", "hprRtpRemCpName"), ("HPR-MIB", "hprRtpPathSwitchTrigger"), ("HPR-MIB", "hprRtpMinSendRate"), ("HPR-MIB", "hprRtpShortReqTimeouts"), ("HPR-MIB", "hprRtpState"), ("HPR-MIB", "hprRtpOkOpPathSws"), ("HPR-MIB", "hprRtpPathSwTimer"), ("HPR-MIB", "hprRtpBadOpPathSws"), ("HPR-MIB", "hprRtpDetectGaps"), ("HPR-MIB", "hprRtpStatusRemNceId"), ("HPR-MIB", "hprRtpLivenessTimeouts"), ("HPR-MIB", "hprRtpPacketsDiscarded"), ("HPR-MIB", "hprRtpMaxSendRate"), ("HPR-MIB", "hprRtpSendPackets"), ("HPR-MIB", "hprRtpTopic"), ("HPR-MIB", "hprRtpBadErrPathSws"), ("HPR-MIB", "hprRtpOkErrPathSws"), ("HPR-MIB", "hprRtpSendBytes"), ("HPR-MIB", "hprRtpStatusRemCpName"), ("HPR-MIB", "hprRtpGlobeCtrState"), ("HPR-MIB", "hprRtpRemNceId"), ) ) if mibBuilder.loadTexts: hprRtpConfGroup.setDescription("A collection of objects providing the instrumentation for RTP\nconnection end points.") # Compliances hprCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 6, 2, 1, 1)).setObjects(*(("HPR-MIB", "hprRtpConfGroup"), ("HPR-MIB", "hprAnrRoutingConfGroup"), ("HPR-MIB", "hprTransportUserConfGroup"), ("HPR-MIB", "hprGlobalConfGroup"), ) ) if mibBuilder.loadTexts: hprCompliance.setDescription("The compliance statement for the SNMPv2 entities that\nimplement the HPR MIB.") # Exports # Module identity mibBuilder.exportSymbols("HPR-MIB", PYSNMP_MODULE_ID=hprMIB) # Types mibBuilder.exportSymbols("HPR-MIB", HprNceTypes=HprNceTypes, HprRtpCounter=HprRtpCounter) # Objects mibBuilder.exportSymbols("HPR-MIB", hprMIB=hprMIB, hprObjects=hprObjects, hprGlobal=hprGlobal, hprNodeCpName=hprNodeCpName, hprOperatorPathSwitchSupport=hprOperatorPathSwitchSupport, hprAnrRouting=hprAnrRouting, hprAnrsAssigned=hprAnrsAssigned, hprAnrCounterState=hprAnrCounterState, hprAnrCounterStateTime=hprAnrCounterStateTime, hprAnrRoutingTable=hprAnrRoutingTable, hprAnrRoutingEntry=hprAnrRoutingEntry, hprAnrLabel=hprAnrLabel, hprAnrType=hprAnrType, hprAnrOutTgDest=hprAnrOutTgDest, hprAnrOutTgNum=hprAnrOutTgNum, hprAnrPacketsReceived=hprAnrPacketsReceived, hprAnrCounterDisconTime=hprAnrCounterDisconTime, hprTransportUser=hprTransportUser, hprNceTable=hprNceTable, hprNceEntry=hprNceEntry, hprNceId=hprNceId, hprNceType=hprNceType, hprNceDefault=hprNceDefault, hprNceInstanceId=hprNceInstanceId, hprRtp=hprRtp, hprRtpGlobe=hprRtpGlobe, hprRtpGlobeConnSetups=hprRtpGlobeConnSetups, hprRtpGlobeCtrState=hprRtpGlobeCtrState, hprRtpGlobeCtrStateTime=hprRtpGlobeCtrStateTime, hprRtpTable=hprRtpTable, hprRtpEntry=hprRtpEntry, hprRtpLocNceId=hprRtpLocNceId, hprRtpLocTcid=hprRtpLocTcid, hprRtpRemCpName=hprRtpRemCpName, hprRtpRemNceId=hprRtpRemNceId, hprRtpRemTcid=hprRtpRemTcid, hprRtpPathSwitchTrigger=hprRtpPathSwitchTrigger, hprRtpRscv=hprRtpRscv, hprRtpTopic=hprRtpTopic, hprRtpState=hprRtpState, hprRtpUpTime=hprRtpUpTime, hprRtpLivenessTimer=hprRtpLivenessTimer, hprRtpShortReqTimer=hprRtpShortReqTimer, hprRtpPathSwTimer=hprRtpPathSwTimer, hprRtpLivenessTimeouts=hprRtpLivenessTimeouts, hprRtpShortReqTimeouts=hprRtpShortReqTimeouts, hprRtpMaxSendRate=hprRtpMaxSendRate, hprRtpMinSendRate=hprRtpMinSendRate, hprRtpCurSendRate=hprRtpCurSendRate, hprRtpSmRdTripDelay=hprRtpSmRdTripDelay, hprRtpSendPackets=hprRtpSendPackets, hprRtpRecvPackets=hprRtpRecvPackets, hprRtpSendBytes=hprRtpSendBytes, hprRtpRecvBytes=hprRtpRecvBytes, hprRtpRetrPackets=hprRtpRetrPackets, hprRtpPacketsDiscarded=hprRtpPacketsDiscarded, hprRtpDetectGaps=hprRtpDetectGaps, hprRtpRateReqSends=hprRtpRateReqSends, hprRtpOkErrPathSws=hprRtpOkErrPathSws, hprRtpBadErrPathSws=hprRtpBadErrPathSws, hprRtpOkOpPathSws=hprRtpOkOpPathSws, hprRtpBadOpPathSws=hprRtpBadOpPathSws, hprRtpCounterDisconTime=hprRtpCounterDisconTime, hprRtpStatusTable=hprRtpStatusTable, hprRtpStatusEntry=hprRtpStatusEntry, hprRtpStatusLocNceId=hprRtpStatusLocNceId, hprRtpStatusLocTcid=hprRtpStatusLocTcid, hprRtpStatusIndex=hprRtpStatusIndex, hprRtpStatusStartTime=hprRtpStatusStartTime, hprRtpStatusEndTime=hprRtpStatusEndTime, hprRtpStatusRemCpName=hprRtpStatusRemCpName, hprRtpStatusRemNceId=hprRtpStatusRemNceId, hprRtpStatusRemTcid=hprRtpStatusRemTcid, hprRtpStatusNewRscv=hprRtpStatusNewRscv, hprRtpStatusOldRscv=hprRtpStatusOldRscv, hprRtpStatusCause=hprRtpStatusCause, hprRtpStatusLastAttemptResult=hprRtpStatusLastAttemptResult, hprConformance=hprConformance, hprCompliances=hprCompliances, hprGroups=hprGroups) # Groups mibBuilder.exportSymbols("HPR-MIB", hprGlobalConfGroup=hprGlobalConfGroup, hprAnrRoutingConfGroup=hprAnrRoutingConfGroup, hprTransportUserConfGroup=hprTransportUserConfGroup, hprRtpConfGroup=hprRtpConfGroup) # Compliances mibBuilder.exportSymbols("HPR-MIB", hprCompliance=hprCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/OPT-IF-MIB.py0000644000014400001440000065566711736645137020425 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python OPT-IF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:24 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowPointer, RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "RowStatus", "TextualConvention", "TruthValue") # Types class OptIfAcTI(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(64,64) fixedLength = 64 class OptIfBitRateK(Integer32): pass class OptIfDEGM(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(2,10) class OptIfDEGThr(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,100) class OptIfDirectionality(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,3,) namedValues = NamedValues(("sink", 1), ("source", 2), ("bidirectional", 3), ) class OptIfExDAPI(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(16,16) fixedLength = 16 class OptIfExSAPI(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(16,16) fixedLength = 16 class OptIfIntervalNumber(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,96) class OptIfSinkOrSource(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("sink", 1), ("source", 2), ) class OptIfTIMDetMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,1,3,2,) namedValues = NamedValues(("off", 1), ("dapi", 2), ("sapi", 3), ("both", 4), ) class OptIfTxTI(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(64,64) fixedLength = 64 # Objects optIfMibModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 133)).setRevisions(("2003-08-13 00:00",)) if mibBuilder.loadTexts: optIfMibModule.setOrganization("IETF AToM MIB Working Group") if mibBuilder.loadTexts: optIfMibModule.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/atommib-charter.html\n\nMailing Lists:\n General Discussion: atommib@research.telcordia.com\n To Subscribe: atommib-request@research.telcordia.com\n\n\n\n\n\nEditor: Hing-Kam Lam\nPostal: Lucent Technologies, Room 4C-616\n 101 Crawfords Corner Road\n Holmdel, NJ 07733\n Tel: +1 732 949 8338\nEmail: hklam@lucent.com") if mibBuilder.loadTexts: optIfMibModule.setDescription("The MIB module to describe pre-OTN and OTN interfaces.\n\nCopyright (C) The Internet Society (2003). This version\nof this MIB module is part of RFC 3591; see the RFC\nitself for full legal notices.") optIfObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1)) optIfOTMn = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 1)) optIfOTMnTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1)) if mibBuilder.loadTexts: optIfOTMnTable.setDescription("A table of OTMn structure information.") optIfOTMnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTMnEntry.setDescription("A conceptual row that contains the OTMn structure\ninformation of an optical interface.") optIfOTMnOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 900))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTMnOrder.setDescription("This object indicates the order of the OTM, which\nrepresents the maximum number of wavelengths that can be\nsupported at the bit rate(s) supported on the interface.") optIfOTMnReduced = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTMnReduced.setDescription("This object indicates whether a reduced or full\nfunctionality is supported at the interface. A value of\ntrue means reduced. A value of false means full.") optIfOTMnBitRates = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("bitRateK1", 0), ("bitRateK2", 1), ("bitRateK3", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTMnBitRates.setDescription("This attribute is a bit map representing the bit\nrate or set of bit rates supported on the interface.\nThe meaning of each bit position is as follows:\n bitRateK1(0) is set if the 2.5 Gbit/s rate is supported\n bitRateK2(1) is set if the 10 Gbit/s rate is supported\n bitRateK3(2) is set if the 40 Gbit/s rate is supported\nNote that each bit position corresponds to one possible\nvalue of the type OptIfBitRateK.\nThe default value of this attribute is system specific.") optIfOTMnInterfaceType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTMnInterfaceType.setDescription("This object identifies the type of interface. The value of\nthis attribute will affect the behavior of the OTM with\nrespect to presence/absence of OTM Overhead Signal (OOS)\nprocessing and TCM activation. For an IrDI interface,\nthere is no OOS processing and TCM activation is limited\nto n levels as specified by a TCM level threshold.\n\nThis object contains two fields that are separated by\nwhitespace. The possible values are:\n field 1: one of the 4-character ASCII strings\n 'IrDI' or 'IaDI'\n field 2: free-form text consisting of printable\n UTF-8 encoded characters\n\nNote that field 2 is optional. If it is not present then there\nis no requirement for trailing whitespace after field 1.\n\nThe default values are as follows:\n field 1: 'IaDI'\n field 2: an empty string.") optIfOTMnTcmMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 6))).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTMnTcmMax.setDescription("This object identifies the maximum number of TCM\nlevels allowed for any Optical Channel contained\nin this OTM. A new TCM activation will be rejected\nif the requested level is greater than the threshold.\nIf InterfaceType object specifies a type of 'IaDI'\nfor this OTM, then this attribute is irrelevant.\n\nPossible values: unsigned integers in the range\n from 0 to 6 inclusive.\nDefault value: 3.") optIfOTMnOpticalReach = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,3,1,5,)).subtype(namedValues=NamedValues(("intraOffice", 1), ("shortHaul", 2), ("longHaul", 3), ("veryLongHaul", 4), ("ultraLongHaul", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTMnOpticalReach.setDescription("This object indicates the length the optical signal\nmay travel before requiring termination or regeneration.\nThe meaning of the enumeration are:\n intraOffice(1) - intra-office (as defined in ITU-T G.957)\n shortHaul(2) - short haul (as defined in ITU-T G.957)\n longHaul(3) - long haul (as defined in ITU-T G.957)\n veryLongHaul(4) - very long haul (as defined in ITU-T G.691)\n ultraLongHaul(5)- ultra long haul (as defined in ITU-T G.691)") optIfPerfMon = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 2)) optIfPerfMonIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1)) if mibBuilder.loadTexts: optIfPerfMonIntervalTable.setDescription("A table of 15-minute performance monitoring interval\ninformation.") optIfPerfMonIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfPerfMonIntervalEntry.setDescription("A conceptual row that contains 15-minute performance\nmonitoring interval information of an interface.") optIfPerfMonCurrentTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfPerfMonCurrentTimeElapsed.setDescription("Number of seconds elapsed in the current 15-minute\nperformance monitoring interval.\nIf, for some reason, such as an adjustment in the NE's\ntime-of-day clock, the number of seconds elapsed exceeds\nthe maximum value, then the maximum value will be returned.") optIfPerfMonCurDayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfPerfMonCurDayTimeElapsed.setDescription("Number of seconds elapsed in the current 24-hour interval\nperformance monitoring period.\nIf, for some reason, such as an adjustment in the NE's\ntime-of-day clock, the number of seconds elapsed exceeds\nthe maximum value, then the maximum value will be returned.") optIfPerfMonIntervalNumIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfPerfMonIntervalNumIntervals.setDescription("The number of 15-minute intervals for which performance\nmonitoring data is available. The number is the same for all\nthe associated sub layers of the interface.\n\n\n\nAn optical interface must be capable of supporting at least\nn intervals, where n is defined as follows:\n The minimum value of n is 4.\n The default of n is 32.\n The maximum value of n is 96.\n\nThe value of this object will be n unless performance\nmonitoring was (re-)started for the interface within the last\n(n*15) minutes, in which case the value will be the number of\ncomplete 15-minute intervals since measurement was\n(re-)started.") optIfPerfMonIntervalNumInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 2, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfPerfMonIntervalNumInvalidIntervals.setDescription("The number of intervals in the range from 0 to\noptIfPerfMonIntervalNumIntervals for which no performance\nmonitoring data is available and/or the data is invalid.") optIfOTSn = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 3)) optIfOTSnConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1)) if mibBuilder.loadTexts: optIfOTSnConfigTable.setDescription("A table of OTSn configuration information.") optIfOTSnConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTSnConfigEntry.setDescription("A conceptual row that contains OTSn configuration\ninformation of an interface.") optIfOTSnDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnDirectionality.setDescription("Indicates the directionality of the entity.") optIfOTSnAprStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnAprStatus.setDescription("This attribute indicates the status of the Automatic\nPower Reduction (APR) function of the entity. Valid\nvalues are 'on' and 'off'.") optIfOTSnAprControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 3), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnAprControl.setDescription("This object is a UTF-8 encoded string that specifies Automatic\nPower Reduction (APR) control actions requested of this entity\n(when written) and that returns the current APR control state\nof this entity (when read). The values are implementation-defined.\nAny implementation that instantiates this object must document the\nset of values that it allows to be written, the set of values\nthat it will return, and what each of those values means.") optIfOTSnTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 4), OptIfTxTI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnTraceIdentifierTransmitted.setDescription("The trace identifier transmitted.\nThis object is applicable when optIfOTSnDirectionality has the\nvalue source(2) or bidirectional(3).\nThis object does not apply to reduced-capability systems (i.e.,\nthose for which optIfOTMnReduced has the value true(1)) or\nat IrDI interfaces (i.e., when optIfOTMnInterfaceType field 1\nhas the value 'IrDI').\nIf no value is ever set by a management entity for the object\noptIfOTSnTraceIdentifierTransmitted, system-specific default\nvalue will be used. Any implementation that instantiates this\nobject must document the system-specific default value or how it\nis derived.") optIfOTSnDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 5), OptIfExDAPI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnDAPIExpected.setDescription("The DAPI expected by the receiver.\nThis object is applicable when optIfOTSnDirectionality has the\nvalue sink(1) or bidirectional(3). It has no effect if\noptIfOTSnTIMDetMode has the value off(1) or sapi(3).\nThis object does not apply to reduced-capability systems (i.e.,\nthose for which optIfOTMnReduced has the value true(1)) or\nat IrDI interfaces (i.e., when optIfOTMnInterfaceType field 1\nhas the value 'IrDI').") optIfOTSnSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 6), OptIfExSAPI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSAPIExpected.setDescription("The SAPI expected by the receiver.\nThis object is applicable when optIfOTSnDirectionality has the\nvalue sink(1) or bidirectional(3). It has no effect if\noptIfOTSnTIMDetMode has the value off(1) or dapi(2).\nThis object does not apply to reduced-capability systems (i.e.,\nthose for which optIfOTMnReduced has the value true(1)) or\nat IrDI interfaces (i.e., when optIfOTMnInterfaceType field 1\nhas the value 'IrDI').") optIfOTSnTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 7), OptIfAcTI()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnTraceIdentifierAccepted.setDescription("The actual trace identifier received.\nThis object is applicable when optIfOTSnDirectionality has the\nvalue sink(1) or bidirectional(3). Its value is unspecified\nif optIfOTSnCurrentStatus has either or both of the\nlosO(5) and los(6) bits set.\nThis object does not apply to reduced-capability systems (i.e.,\nthose for which optIfOTMnReduced has the value true(1)) or\nat IrDI interfaces (i.e., when optIfOTMnInterfaceType field 1\nhas the value 'IrDI').") optIfOTSnTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 8), OptIfTIMDetMode()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnTIMDetMode.setDescription("Indicates the mode of the Trace Identifier Mismatch (TIM)\nDetection function. This object is applicable\nwhen optIfOTSnDirectionality has the value sink(1)\nor bidirectional(3). The default value is off(1).\nThis object does not apply to reduced-capability systems (i.e.,\nthose for which optIfOTMnReduced has the value true(1)) or\nat IrDI interfaces (i.e., when optIfOTMnInterfaceType field 1\nhas the value 'IrDI').\nThe default value of this object is off(1).") optIfOTSnTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnTIMActEnabled.setDescription("Indicates whether the Trace Identifier Mismatch (TIM)\nConsequent Action function is enabled. This object\nis applicable when optIfOTSnDirectionality has the\nvalue sink(1) or bidirectional(3). It has no effect\nwhen the value of optIfOTSnTIMDetMode is off(1).\nThis object does not apply to reduced-capability systems (i.e.,\nthose for which optIfOTMnReduced has the value true(1)) or\nat IrDI interfaces (i.e., when optIfOTMnInterfaceType field 1\nhas the value 'IrDI').\nThe default value of this object is false(2).") optIfOTSnCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 1, 1, 10), Bits().subtype(namedValues=NamedValues(("bdiP", 0), ("bdiO", 1), ("bdi", 2), ("tim", 3), ("losP", 4), ("losO", 5), ("los", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnCurrentStatus.setDescription("Indicates the defect condition of the entity, if any.\nThis object is applicable when optIfOTSnDirectionality\nhas the value sink(1) or bidirectional(3). In\nreduced-capability systems or at IrDI interfaces\nthe only bit position that may be set is los(6).") optIfOTSnSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2)) if mibBuilder.loadTexts: optIfOTSnSinkCurrentTable.setDescription("A table of OTSn sink performance monitoring information for\nthe current 15-minute interval.") optIfOTSnSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTSnSinkCurrentEntry.setDescription("A conceptual row that contains OTSn sink performance\nmonitoring information of an interface for the current\n15-minute interval.") optIfOTSnSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSinkCurrentInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurrentInputPower.setDescription("The optical power monitored at the input.") optIfOTSnSinkCurrentLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowInputPower.setDescription("The lowest optical power monitored at the input during the\ncurrent 15-minute interval.") optIfOTSnSinkCurrentHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurrentHighInputPower.setDescription("The highest optical power monitored at the input during the\ncurrent 15-minute interval.") optIfOTSnSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowerInputPowerThreshold.setDescription("The lower limit threshold on input power. If\noptIfOTSnSinkCurrentInputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSinkCurrentUpperInputPowerThreshold.setDescription("The upper limit threshold on input power. If\noptIfOTSnSinkCurrentInputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSinkCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurrentOutputPower.setDescription("The optical power monitored at the output.") optIfOTSnSinkCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOTSnSinkCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurrentHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOTSnSinkCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSinkCurrentLowerOutputPowerThreshold.setDescription("The lower limit threshold on output power. If\noptIfOTSnSinkCurrentOutputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSinkCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 2, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSinkCurrentUpperOutputPowerThreshold.setDescription("The upper limit threshold on output power. If\noptIfOTSnSinkCurrentOutputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3)) if mibBuilder.loadTexts: optIfOTSnSinkIntervalTable.setDescription("A table of historical OTSn sink performance monitoring\ninformation.") optIfOTSnSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOTSnSinkIntervalNumber")) if mibBuilder.loadTexts: optIfOTSnSinkIntervalEntry.setDescription("A conceptual row that contains OTSn sink performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOTSnSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOTSnSinkIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOTSnSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSinkIntervalLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkIntervalLastInputPower.setDescription("The last optical power monitored at the input during the\ninterval.") optIfOTSnSinkIntervalLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkIntervalLowInputPower.setDescription("The lowest optical power monitored at the input during the\ninterval.") optIfOTSnSinkIntervalHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkIntervalHighInputPower.setDescription("The highest optical power monitored at the input during the\ninterval.") optIfOTSnSinkIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkIntervalLastOutputPower.setDescription("The last optical power monitored at the output during the\ninterval.") optIfOTSnSinkIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkIntervalLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ninterval.") optIfOTSnSinkIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 3, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkIntervalHighOutputPower.setDescription("The highest optical power monitored at the output during the\ninterval.") optIfOTSnSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4)) if mibBuilder.loadTexts: optIfOTSnSinkCurDayTable.setDescription("A table of OTSn sink performance monitoring information for\nthe current 24-hour interval.") optIfOTSnSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTSnSinkCurDayEntry.setDescription("A conceptual row that contains OTSn sink performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOTSnSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSinkCurDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurDayLowInputPower.setDescription("The lowest optical power monitored at the input during the\ncurrent 24-hour interval.") optIfOTSnSinkCurDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurDayHighInputPower.setDescription("The highest optical power monitored at the input during the\ncurrent 24-hour interval.") optIfOTSnSinkCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOTSnSinkCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 4, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkCurDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOTSnSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5)) if mibBuilder.loadTexts: optIfOTSnSinkPrevDayTable.setDescription("A table of OTSn sink performance monitoring information for\nthe previous 24-hour interval.") optIfOTSnSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTSnSinkPrevDayEntry.setDescription("A conceptual row that contains OTSn sink performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOTSnSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSinkPrevDayLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLastInputPower.setDescription("The last optical power monitored at the input during the\nprevious 24-hour interval.") optIfOTSnSinkPrevDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLowInputPower.setDescription("The lowest optical power monitored at the input during the\nprevious 24-hour interval.") optIfOTSnSinkPrevDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkPrevDayHighInputPower.setDescription("The highest optical power monitored at the input during the\nprevious 24-hour interval.") optIfOTSnSinkPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLastOutputPower.setDescription("The last optical power monitored at the output during the\nprevious 24-hour interval.") optIfOTSnSinkPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkPrevDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOTSnSinkPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSinkPrevDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOTSnSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6)) if mibBuilder.loadTexts: optIfOTSnSrcCurrentTable.setDescription("A table of OTSn source performance monitoring information for\nthe current 15-minute interval.") optIfOTSnSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTSnSrcCurrentEntry.setDescription("A conceptual row that contains OTSn source performance\nmonitoring information of an interface for the current\n15-minute interval.") optIfOTSnSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurrentOutputPower.setDescription("The optical power monitored at the output.") optIfOTSnSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOTSnSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurrentHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOTSnSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowerOutputPowerThreshold.setDescription("The lower limit threshold on output power. If\noptIfOTSnSrcCurrentOutputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSrcCurrentUpperOutputPowerThreshold.setDescription("The upper limit threshold on output power. If\noptIfOTSnSrcCurrentOutputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSrcCurrentInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurrentInputPower.setDescription("The optical power monitored at the input.") optIfOTSnSrcCurrentLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowInputPower.setDescription("The lowest optical power monitored at the input during the\ncurrent 15-minute interval.") optIfOTSnSrcCurrentHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurrentHighInputPower.setDescription("The highest optical power monitored at the input during the\ncurrent 15-minute interval.") optIfOTSnSrcCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSrcCurrentLowerInputPowerThreshold.setDescription("The lower limit threshold on input power. If\noptIfOTSnSrcCurrentInputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSrcCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 6, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTSnSrcCurrentUpperInputPowerThreshold.setDescription("The upper limit threshold on input power. If\noptIfOTSnSrcCurrentInputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOTSnSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7)) if mibBuilder.loadTexts: optIfOTSnSrcIntervalTable.setDescription("A table of historical OTSn source performance monitoring\ninformation.") optIfOTSnSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOTSnSrcIntervalNumber")) if mibBuilder.loadTexts: optIfOTSnSrcIntervalEntry.setDescription("A conceptual row that contains OTSn source performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOTSnSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOTSnSrcIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOTSnSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcIntervalLastOutputPower.setDescription("The last optical power monitored at the output during the\ninterval.") optIfOTSnSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcIntervalLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ninterval.") optIfOTSnSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcIntervalHighOutputPower.setDescription("The highest optical power monitored at the output during the\ninterval.") optIfOTSnSrcIntervalLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcIntervalLastInputPower.setDescription("The last optical power monitored at the input during the\ninterval.") optIfOTSnSrcIntervalLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcIntervalLowInputPower.setDescription("The lowest optical power monitored at the input during the\ninterval.") optIfOTSnSrcIntervalHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 7, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcIntervalHighInputPower.setDescription("The highest optical power monitored at the input during the\ninterval.") optIfOTSnSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8)) if mibBuilder.loadTexts: optIfOTSnSrcCurDayTable.setDescription("A table of OTSn source performance monitoring information for\nthe current 24-hour interval.") optIfOTSnSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTSnSrcCurDayEntry.setDescription("A conceptual row that contains OTSn source performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOTSnSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOTSnSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOTSnSrcCurDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurDayLowInputPower.setDescription("The lowest optical power monitored at the input during the\ncurrent 24-hour interval.") optIfOTSnSrcCurDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 8, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcCurDayHighInputPower.setDescription("The highest optical power monitored at the input during the\ncurrent 24-hour interval.") optIfOTSnSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9)) if mibBuilder.loadTexts: optIfOTSnSrcPrevDayTable.setDescription("A table of OTSn source performance monitoring information for\nthe previous 24-hour interval.") optIfOTSnSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTSnSrcPrevDayEntry.setDescription("A conceptual row that contains OTSn source performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOTSnSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOTSnSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLastOutputPower.setDescription("The last optical power monitored at the output during the\nprevious 24-hour interval.") optIfOTSnSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOTSnSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcPrevDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOTSnSrcPrevDayLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLastInputPower.setDescription("The last optical power monitored at the input during the\nprevious 24-hour interval.") optIfOTSnSrcPrevDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcPrevDayLowInputPower.setDescription("The lowest optical power monitored at the input during the\nprevious 24-hour interval.") optIfOTSnSrcPrevDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 3, 9, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTSnSrcPrevDayHighInputPower.setDescription("The highest optical power monitored at the input during the\nprevious 24-hour interval.") optIfOMSn = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 4)) optIfOMSnConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1)) if mibBuilder.loadTexts: optIfOMSnConfigTable.setDescription("A table of OMSn configuration information.") optIfOMSnConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOMSnConfigEntry.setDescription("A conceptual row that contains OMSn configuration\ninformation of an interface.") optIfOMSnDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnDirectionality.setDescription("Indicates the directionality of the entity.") optIfOMSnCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 1, 1, 2), Bits().subtype(namedValues=NamedValues(("ssfP", 0), ("ssfO", 1), ("ssf", 2), ("bdiP", 3), ("bdiO", 4), ("bdi", 5), ("losP", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnCurrentStatus.setDescription("Indicates the defect condition of the entity, if any.\nThis object is applicable only to full capability\nsystems whose interface type is IaDI and for which\n\n\n\noptIfOMSnDirectionality has the value sink(1) or\nbidirectional(3).") optIfOMSnSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2)) if mibBuilder.loadTexts: optIfOMSnSinkCurrentTable.setDescription("A table of OMSn sink performance monitoring information for\nthe current 15-minute interval.") optIfOMSnSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOMSnSinkCurrentEntry.setDescription("A conceptual row that contains OMSn sink performance\nmonitoring information of an interface for the current\n15-minute interval.") optIfOMSnSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSinkCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurrentAggregatedInputPower.setDescription("The aggregated optical power of all the DWDM input\nchannels.") optIfOMSnSinkCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels during the current 15-minute interval.") optIfOMSnSinkCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurrentHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels during the current 15-minute interval.") optIfOMSnSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowerInputPowerThreshold.setDescription("The lower limit threshold on aggregated input power. If\noptIfOMSnSinkCurrentAggregatedInputPower drops to this value\nor below, a Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSinkCurrentUpperInputPowerThreshold.setDescription("The upper limit threshold on aggregated input power. If\noptIfOMSnSinkCurrentAggregatedInputPower reaches or exceeds\nthis value, a Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSinkCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurrentOutputPower.setDescription("The optical power monitored at the output.") optIfOMSnSinkCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowOutputPower.setDescription("The lowest optical power monitored at the output\nduring the current 15-minute interval.") optIfOMSnSinkCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurrentHighOutputPower.setDescription("The highest optical power monitored at the output\nduring the current 15-minute interval.") optIfOMSnSinkCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSinkCurrentLowerOutputPowerThreshold.setDescription("The lower limit threshold on output power. If\noptIfOMSnSinkCurrentOutputPower drops to this value\nor below, a Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSinkCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 2, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSinkCurrentUpperOutputPowerThreshold.setDescription("The upper limit threshold on output power. If\noptIfOMSnSinkCurrentOutputPower reaches or exceeds\nthis value, a Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3)) if mibBuilder.loadTexts: optIfOMSnSinkIntervalTable.setDescription("A table of historical OMSn sink performance monitoring\ninformation.") optIfOMSnSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOMSnSinkIntervalNumber")) if mibBuilder.loadTexts: optIfOMSnSinkIntervalEntry.setDescription("A conceptual row that contains OMSn sink performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOMSnSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOMSnSinkIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOMSnSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSinkIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkIntervalLastAggregatedInputPower.setDescription("The last aggregated optical power of all the DWDM input\nchannels during the interval.") optIfOMSnSinkIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkIntervalLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels during the interval.") optIfOMSnSinkIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkIntervalHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels during the interval.") optIfOMSnSinkIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkIntervalLastOutputPower.setDescription("The last optical power at the output\nduring the interval.") optIfOMSnSinkIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkIntervalLowOutputPower.setDescription("The lowest optical power at the output\nduring the interval.") optIfOMSnSinkIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 3, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkIntervalHighOutputPower.setDescription("The highest optical power at the output\nduring the interval.") optIfOMSnSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4)) if mibBuilder.loadTexts: optIfOMSnSinkCurDayTable.setDescription("A table of OMSn sink performance monitoring information for\nthe current 24-hour interval.") optIfOMSnSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOMSnSinkCurDayEntry.setDescription("A conceptual row that contains OMSn sink performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOMSnSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSinkCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels during the current 24-hour interval.") optIfOMSnSinkCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurDayHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels during the current 24-hour interval.") optIfOMSnSinkCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurDayLowOutputPower.setDescription("The lowest optical power at the output\nduring the current 24-hour interval.") optIfOMSnSinkCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 4, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkCurDayHighOutputPower.setDescription("The highest optical power at the output\nduring the current 24-hour interval.") optIfOMSnSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5)) if mibBuilder.loadTexts: optIfOMSnSinkPrevDayTable.setDescription("A table of OMSn sink performance monitoring information for\nthe previous 24-hour interval.") optIfOMSnSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOMSnSinkPrevDayEntry.setDescription("A conceptual row that contains OMSn sink performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOMSnSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSinkPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLastAggregatedInputPower.setDescription("The last aggregated optical power of all the DWDM input\nchannels during the previous 24-hour interval.") optIfOMSnSinkPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels during the previous 24-hour interval.") optIfOMSnSinkPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkPrevDayHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels during the previous 24-hour interval.") optIfOMSnSinkPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLastOutputPower.setDescription("The last optical power at the output\nduring the previous 24-hour interval.") optIfOMSnSinkPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkPrevDayLowOutputPower.setDescription("The lowest optical power at the output\nduring the previous 24-hour interval.") optIfOMSnSinkPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSinkPrevDayHighOutputPower.setDescription("The highest optical power at the output\nduring the previous 24-hour interval.") optIfOMSnSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6)) if mibBuilder.loadTexts: optIfOMSnSrcCurrentTable.setDescription("A table of OMSn source performance monitoring information for\nthe current 15-minute interval.") optIfOMSnSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOMSnSrcCurrentEntry.setDescription("A conceptual row that contains OMSn source performance\nmonitoring information of an interface for the current\n15-minute interval.") optIfOMSnSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurrentOutputPower.setDescription("The optical power monitored at the output.") optIfOMSnSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOMSnSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurrentHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOMSnSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowerOutputPowerThreshold.setDescription("The lower limit threshold on output power. If\noptIfOMSnSrcCurrentOutputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSrcCurrentUpperOutputPowerThreshold.setDescription("The upper limit threshold on output power. If\noptIfOMSnSrcCurrentOutputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSrcCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurrentAggregatedInputPower.setDescription("The aggregated optical power at the input.") optIfOMSnSrcCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowAggregatedInputPower.setDescription("The lowest aggregated optical power at the input\nduring the current 15-minute interval.") optIfOMSnSrcCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurrentHighAggregatedInputPower.setDescription("The highest aggregated optical power at the input\nduring the current 15-minute interval.") optIfOMSnSrcCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSrcCurrentLowerInputPowerThreshold.setDescription("The lower limit threshold on aggregated input power. If\noptIfOMSnSrcCurrentAggregatedInputPower drops to this value\nor below, a Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSrcCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 6, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOMSnSrcCurrentUpperInputPowerThreshold.setDescription("The upper limit threshold on aggregated input power. If\noptIfOMSnSrcCurrentAggregatedInputPower reaches or exceeds\nthis value, a Threshold Crossing Alert (TCA) should be sent.") optIfOMSnSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7)) if mibBuilder.loadTexts: optIfOMSnSrcIntervalTable.setDescription("A table of historical OMSn source performance monitoring\ninformation.") optIfOMSnSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOMSnSrcIntervalNumber")) if mibBuilder.loadTexts: optIfOMSnSrcIntervalEntry.setDescription("A conceptual row that contains OMSn source performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOMSnSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOMSnSrcIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOMSnSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcIntervalLastOutputPower.setDescription("The last optical power monitored at the output during the\ninterval.") optIfOMSnSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcIntervalLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ninterval.") optIfOMSnSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcIntervalHighOutputPower.setDescription("The highest optical power monitored at the output during the\ninterval.") optIfOMSnSrcIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcIntervalLastAggregatedInputPower.setDescription("The last aggregated optical power at the input\nduring the interval.") optIfOMSnSrcIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcIntervalLowAggregatedInputPower.setDescription("The lowest aggregated optical power at the input\nduring the interval.") optIfOMSnSrcIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 7, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcIntervalHighAggregatedInputPower.setDescription("The highest aggregated optical power at the input\nduring the interval.") optIfOMSnSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8)) if mibBuilder.loadTexts: optIfOMSnSrcCurDayTable.setDescription("A table of OMSn source performance monitoring information for\nthe current 24-hour interval.") optIfOMSnSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOMSnSrcCurDayEntry.setDescription("A conceptual row that contains OMSn source performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOMSnSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOMSnSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOMSnSrcCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power at the input\nduring the current 24-hour interval.") optIfOMSnSrcCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 8, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcCurDayHighAggregatedInputPower.setDescription("The highest aggregated optical power at the input\nduring the current 24-hour interval.") optIfOMSnSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9)) if mibBuilder.loadTexts: optIfOMSnSrcPrevDayTable.setDescription("A table of OMSn source performance monitoring information for\nthe previous 24-hour interval.") optIfOMSnSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOMSnSrcPrevDayEntry.setDescription("A conceptual row that contains OMSn source performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOMSnSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOMSnSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLastOutputPower.setDescription("The last optical power monitored at the output during the\nprevious 24-hour interval.") optIfOMSnSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOMSnSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcPrevDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOMSnSrcPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLastAggregatedInputPower.setDescription("The last aggregated optical power at the input during the\nprevious 24-hour interval.") optIfOMSnSrcPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcPrevDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power at the input during the\nprevious 24-hour interval.") optIfOMSnSrcPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 4, 9, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOMSnSrcPrevDayHighAggregatedInputPower.setDescription("The highest aggregated optical power at the input during the\nprevious 24-hour interval.") optIfOChGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 5)) optIfOChGroupConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1)) if mibBuilder.loadTexts: optIfOChGroupConfigTable.setDescription("A table of OChGroup configuration information.") optIfOChGroupConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChGroupConfigEntry.setDescription("A conceptual row that contains OChGroup configuration\ninformation of an interface.") optIfOChGroupDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupDirectionality.setDescription("Indicates the directionality of the entity.") optIfOChGroupSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2)) if mibBuilder.loadTexts: optIfOChGroupSinkCurrentTable.setDescription("A table of OChGroup sink performance monitoring information for\nthe current 15-minute interval.") optIfOChGroupSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChGroupSinkCurrentEntry.setDescription("A conceptual row that contains OChGroup sink performance\nmonitoring information of an interface for the current\n15-minute interval.") optIfOChGroupSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSinkCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentAggregatedInputPower.setDescription("The aggregated optical power of all the DWDM input\nchannels in the OChGroup.") optIfOChGroupSinkCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the current 15-minute interval.") optIfOChGroupSinkCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the current 15-minute interval.") optIfOChGroupSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowerInputPowerThreshold.setDescription("The lower limit threshold on aggregated input power. If\noptIfOChGroupSinkCurrentAggregatedInputPower drops to this value\nor below, a Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentUpperInputPowerThreshold.setDescription("The upper limit threshold on aggregated input power. If\noptIfOChGroupSinkCurrentAggregatedInputPower reaches or exceeds\nthis value, a Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSinkCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentOutputPower.setDescription("The optical power monitored at the output\nin the OChGroup.") optIfOChGroupSinkCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowOutputPower.setDescription("The lowest optical power monitored at the output\nin the OChGroup during the current 15-minute interval.") optIfOChGroupSinkCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentHighOutputPower.setDescription("The highest optical power monitored at the output\nin the OChGroup during the current 15-minute interval.") optIfOChGroupSinkCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentLowerOutputPowerThreshold.setDescription("The lower limit threshold on the output power. If\noptIfOChGroupSinkCurrentOutputPower drops to this value\nor below, a Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSinkCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 2, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSinkCurrentUpperOutputPowerThreshold.setDescription("The upper limit threshold on the output power. If\noptIfOChGroupSinkCurrentOutputPower reaches or exceeds\nthis value, a Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3)) if mibBuilder.loadTexts: optIfOChGroupSinkIntervalTable.setDescription("A table of historical OChGroup sink performance monitoring\ninformation.") optIfOChGroupSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChGroupSinkIntervalNumber")) if mibBuilder.loadTexts: optIfOChGroupSinkIntervalEntry.setDescription("A conceptual row that contains OChGroup sink performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOChGroupSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOChGroupSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSinkIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLastAggregatedInputPower.setDescription("The last aggregated optical power of all the DWDM input\nchannels in the OChGroup during the interval.") optIfOChGroupSinkIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the interval.") optIfOChGroupSinkIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the interval.") optIfOChGroupSinkIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLastOutputPower.setDescription("The last optical power monitored at the output\nin the OChGroup during the interval.") optIfOChGroupSinkIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalLowOutputPower.setDescription("The lowest optical power monitored at the output\nin the OChGroup during the interval.") optIfOChGroupSinkIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 3, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkIntervalHighOutputPower.setDescription("The highest optical power monitored at the output\nin the OChGroup during the interval.") optIfOChGroupSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4)) if mibBuilder.loadTexts: optIfOChGroupSinkCurDayTable.setDescription("A table of OChGroup sink performance monitoring information for\nthe current 24-hour interval.") optIfOChGroupSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChGroupSinkCurDayEntry.setDescription("A conceptual row that contains OChGroup sink performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOChGroupSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSinkCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the current 24-hour interval.") optIfOChGroupSinkCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurDayHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the current 24-hour interval.") optIfOChGroupSinkCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurDayLowOutputPower.setDescription("The lowest optical power monitored at the output\nin the OChGroup during the current 24-hour interval.") optIfOChGroupSinkCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 4, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkCurDayHighOutputPower.setDescription("The highest optical power monitored at the output\nin the OChGroup during the current 24-hour interval.") optIfOChGroupSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5)) if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayTable.setDescription("A table of OChGroup sink performance monitoring information for\nthe previous 24-hour interval.") optIfOChGroupSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayEntry.setDescription("A conceptual row that contains OChGroup sink performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOChGroupSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSinkPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLastAggregatedInputPower.setDescription("The last aggregated optical power of all the DWDM input\nchannels in the OChGroup during the previous 24-hour interval.") optIfOChGroupSinkPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the previous 24-hour interval.") optIfOChGroupSinkPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayHighAggregatedInputPower.setDescription("The highest aggregated optical power of all the DWDM input\nchannels in the OChGroup during the previous 24-hour interval.") optIfOChGroupSinkPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLastOutputPower.setDescription("The last optical power monitored at the output\nin the OChGroup during the previous 24-hour interval.") optIfOChGroupSinkPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayLowOutputPower.setDescription("The lowest optical power monitored at the output\nin the OChGroup during the previous 24-hour interval.") optIfOChGroupSinkPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSinkPrevDayHighOutputPower.setDescription("The highest optical power monitored at the output\nin the OChGroup during the previous 24-hour interval.") optIfOChGroupSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6)) if mibBuilder.loadTexts: optIfOChGroupSrcCurrentTable.setDescription("A table of OChGroup source performance monitoring information for\nthe current 15-minute interval.") optIfOChGroupSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChGroupSrcCurrentEntry.setDescription("A conceptual row that contains OChGroup source performance\nmonitoring information of an interface for the current\n15-minute interval.") optIfOChGroupSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentOutputPower.setDescription("The optical power monitored at the output.") optIfOChGroupSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOChGroupSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOChGroupSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowerOutputPowerThreshold.setDescription("The lower limit threshold on output power. If\noptIfOChGroupSrcCurrentOutputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentUpperOutputPowerThreshold.setDescription("The upper limit threshold on output power. If\noptIfOChGroupSrcCurrentOutputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSrcCurrentAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentAggregatedInputPower.setDescription("The aggregated optical power monitored at the input.") optIfOChGroupSrcCurrentLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowAggregatedInputPower.setDescription("The lowest aggregated optical power monitored at the input\nduring the current 15-minute interval.") optIfOChGroupSrcCurrentHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentHighAggregatedInputPower.setDescription("The highest aggregated optical power monitored at the input\nduring the current 15-minute interval.") optIfOChGroupSrcCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentLowerInputPowerThreshold.setDescription("The lower limit threshold on input power. If\noptIfOChGroupSrcCurrentAggregatedInputPower drops to this value\nor below, a Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSrcCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 6, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChGroupSrcCurrentUpperInputPowerThreshold.setDescription("The upper limit threshold on input power. If\noptIfOChGroupSrcCurrentAggregatedInputPower reaches or exceeds\nthis value, a Threshold Crossing Alert (TCA) should be sent.") optIfOChGroupSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7)) if mibBuilder.loadTexts: optIfOChGroupSrcIntervalTable.setDescription("A table of historical OChGroup source performance monitoring\ninformation.") optIfOChGroupSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChGroupSrcIntervalNumber")) if mibBuilder.loadTexts: optIfOChGroupSrcIntervalEntry.setDescription("A conceptual row that contains OChGroup source performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOChGroupSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOChGroupSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLastOutputPower.setDescription("The last optical power monitored at the output during the\ninterval.") optIfOChGroupSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ninterval.") optIfOChGroupSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalHighOutputPower.setDescription("The highest optical power monitored at the output during the\ninterval.") optIfOChGroupSrcIntervalLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLastAggregatedInputPower.setDescription("The last aggregated optical power monitored at the input\nduring the interval.") optIfOChGroupSrcIntervalLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalLowAggregatedInputPower.setDescription("The lowest aggregated optical power monitored at the input\nduring the interval.") optIfOChGroupSrcIntervalHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 7, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcIntervalHighAggregatedInputPower.setDescription("The highest aggregated optical power monitored at the input\nduring the interval.") optIfOChGroupSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8)) if mibBuilder.loadTexts: optIfOChGroupSrcCurDayTable.setDescription("A table of OChGroup source performance monitoring information for\nthe current 24-hour interval.") optIfOChGroupSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChGroupSrcCurDayEntry.setDescription("A conceptual row that contains OChGroup source performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOChGroupSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOChGroupSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOChGroupSrcCurDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power monitored at the input\nduring the current 24-hour interval.") optIfOChGroupSrcCurDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 8, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcCurDayHighAggregatedInputPower.setDescription("The highest aggregated optical power monitored at the input\nduring the current 24-hour interval.") optIfOChGroupSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9)) if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayTable.setDescription("A table of OChGroup source performance monitoring information for\nthe previous 24-hour interval.") optIfOChGroupSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayEntry.setDescription("A conceptual row that contains OChGroup source performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOChGroupSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChGroupSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLastOutputPower.setDescription("The last optical power monitored at the output during the\nprevious 24-hour interval.") optIfOChGroupSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOChGroupSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOChGroupSrcPrevDayLastAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLastAggregatedInputPower.setDescription("The last aggregated optical power monitored at the input\nduring the previous 24-hour interval.") optIfOChGroupSrcPrevDayLowAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayLowAggregatedInputPower.setDescription("The lowest aggregated optical power monitored at the input\nduring the previous 24-hour interval.") optIfOChGroupSrcPrevDayHighAggregatedInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 5, 9, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChGroupSrcPrevDayHighAggregatedInputPower.setDescription("The highest aggregated optical power monitored at the input\nduring the previous 24-hour interval.") optIfOCh = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 6)) optIfOChConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1)) if mibBuilder.loadTexts: optIfOChConfigTable.setDescription("A table of OCh configuration information.") optIfOChConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChConfigEntry.setDescription("A conceptual row that contains OCh configuration\ninformation of an interface.") optIfOChDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChDirectionality.setDescription("Indicates the directionality of the entity.") optIfOChCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 1, 1, 2), Bits().subtype(namedValues=NamedValues(("losP", 0), ("los", 1), ("oci", 2), ("ssfP", 3), ("ssfO", 4), ("ssf", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChCurrentStatus.setDescription("Indicates the defect condition of the entity, if any.\nThis object is applicable when optIfOChDirectionality\nhas the value sink(1) or bidirectional(3).\nIn full-capability systems the bit position los(1) is not used.\nIn reduced-capability systems or at IrDI interfaces only\nthe bit positions los(1) and ssfP(3) are used.") optIfOChSinkCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2)) if mibBuilder.loadTexts: optIfOChSinkCurrentTable.setDescription("A table of OCh sink performance monitoring information for\nthe current 15-minute interval.") optIfOChSinkCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChSinkCurrentEntry.setDescription("A conceptual row that contains OCh sink performance\nmonitoring information for an interface for the current\n15-minute interval.") optIfOChSinkCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSinkCurrentInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkCurrentInputPower.setDescription("The optical power monitored at the input.") optIfOChSinkCurrentLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkCurrentLowInputPower.setDescription("The lowest optical power monitored at the input during the\ncurrent 15-minute interval.") optIfOChSinkCurrentHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkCurrentHighInputPower.setDescription("The highest optical power monitored at the input during the\ncurrent 15-minute interval.") optIfOChSinkCurrentLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChSinkCurrentLowerInputPowerThreshold.setDescription("The lower limit threshold on input power. If\noptIfOChSinkCurrentInputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOChSinkCurrentUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 2, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChSinkCurrentUpperInputPowerThreshold.setDescription("The upper limit threshold on input power. If\noptIfOChSinkCurrentInputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOChSinkIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3)) if mibBuilder.loadTexts: optIfOChSinkIntervalTable.setDescription("A table of historical OCh sink performance monitoring\ninformation.") optIfOChSinkIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChSinkIntervalNumber")) if mibBuilder.loadTexts: optIfOChSinkIntervalEntry.setDescription("A conceptual row that contains OCh sink performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOChSinkIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOChSinkIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOChSinkIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSinkIntervalLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkIntervalLastInputPower.setDescription("The last optical power monitored at the input during the\ninterval.") optIfOChSinkIntervalLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkIntervalLowInputPower.setDescription("The lowest optical power monitored at the input during the\ninterval.") optIfOChSinkIntervalHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 3, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkIntervalHighInputPower.setDescription("The highest optical power monitored at the input during the\ninterval.") optIfOChSinkCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4)) if mibBuilder.loadTexts: optIfOChSinkCurDayTable.setDescription("A table of OCh sink performance monitoring information for\nthe current 24-hour interval.") optIfOChSinkCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChSinkCurDayEntry.setDescription("A conceptual row that contains OCh sink performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOChSinkCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSinkCurDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkCurDayLowInputPower.setDescription("The lowest optical power monitored at the input during the\ncurrent 24-hour interval.") optIfOChSinkCurDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkCurDayHighInputPower.setDescription("The highest optical power monitored at the input during the\ncurrent 24-hour interval.") optIfOChSinkPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5)) if mibBuilder.loadTexts: optIfOChSinkPrevDayTable.setDescription("A table of OCh sink performance monitoring information for\nthe previous 24-hour interval.") optIfOChSinkPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChSinkPrevDayEntry.setDescription("A conceptual row that contains OCh sink performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOChSinkPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSinkPrevDayLastInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkPrevDayLastInputPower.setDescription("The last optical power monitored at the input during the\nprevious 24-hour interval.") optIfOChSinkPrevDayLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkPrevDayLowInputPower.setDescription("The lowest optical power monitored at the input during the\nprevious 24-hour interval.") optIfOChSinkPrevDayHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSinkPrevDayHighInputPower.setDescription("The highest optical power monitored at the input during the\nprevious 24-hour interval.") optIfOChSrcCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6)) if mibBuilder.loadTexts: optIfOChSrcCurrentTable.setDescription("A table of OCh source performance monitoring information for\nthe current 15-minute interval.") optIfOChSrcCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChSrcCurrentEntry.setDescription("A conceptual row that contains OCh source performance\nmonitoring information of an interface for the current\n15-minute interval.") optIfOChSrcCurrentSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcCurrentSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSrcCurrentOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcCurrentOutputPower.setDescription("The optical power monitored at the output.") optIfOChSrcCurrentLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcCurrentLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOChSrcCurrentHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcCurrentHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 15-minute interval.") optIfOChSrcCurrentLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChSrcCurrentLowerOutputPowerThreshold.setDescription("The lower limit threshold on output power. If\noptIfOChSrcCurrentOutputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.") optIfOChSrcCurrentUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 6, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOChSrcCurrentUpperOutputPowerThreshold.setDescription("The upper limit threshold on output power. If\noptIfOChSrcCurrentOutputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.") optIfOChSrcIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7)) if mibBuilder.loadTexts: optIfOChSrcIntervalTable.setDescription("A table of historical OCh source performance monitoring\ninformation.") optIfOChSrcIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfOChSrcIntervalNumber")) if mibBuilder.loadTexts: optIfOChSrcIntervalEntry.setDescription("A conceptual row that contains OCh source performance\nmonitoring information of an interface during a particular\nhistorical interval.") optIfOChSrcIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 1), OptIfIntervalNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfOChSrcIntervalNumber.setDescription("Uniquely identifies the interval.") optIfOChSrcIntervalSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcIntervalSuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSrcIntervalLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcIntervalLastOutputPower.setDescription("The last optical power monitored at the output during the\ninterval.") optIfOChSrcIntervalLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcIntervalLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ninterval.") optIfOChSrcIntervalHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 7, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcIntervalHighOutputPower.setDescription("The highest optical power monitored at the output during the\ninterval.") optIfOChSrcCurDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8)) if mibBuilder.loadTexts: optIfOChSrcCurDayTable.setDescription("A table of OCh source performance monitoring information for\nthe current 24-hour interval.") optIfOChSrcCurDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChSrcCurDayEntry.setDescription("A conceptual row that contains OCh source performance\nmonitoring information of an interface for the current\n24-hour interval.") optIfOChSrcCurDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcCurDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSrcCurDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcCurDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\n\n\n\ncurrent 24-hour interval.") optIfOChSrcCurDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 8, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcCurDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 24-hour interval.") optIfOChSrcPrevDayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9)) if mibBuilder.loadTexts: optIfOChSrcPrevDayTable.setDescription("A table of OCh source performance monitoring information for\nthe previous 24-hour interval.") optIfOChSrcPrevDayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOChSrcPrevDayEntry.setDescription("A conceptual row that contains OCh source performance\nmonitoring information of an interface for the previous\n24-hour interval.") optIfOChSrcPrevDaySuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcPrevDaySuspectedFlag.setDescription("If true, the data in this entry may be unreliable.") optIfOChSrcPrevDayLastOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcPrevDayLastOutputPower.setDescription("The last optical power monitored at the output during the\nprevious 24-hour interval.") optIfOChSrcPrevDayLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcPrevDayLowOutputPower.setDescription("The lowest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOChSrcPrevDayHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 6, 9, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOChSrcPrevDayHighOutputPower.setDescription("The highest optical power monitored at the output during the\nprevious 24-hour interval.") optIfOTUk = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 7)) optIfOTUkConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1)) if mibBuilder.loadTexts: optIfOTUkConfigTable.setDescription("A table of OTUk configuration information.") optIfOTUkConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfOTUkConfigEntry.setDescription("A conceptual row that contains OTUk configuration\ninformation of an interface.") optIfOTUkDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTUkDirectionality.setDescription("Indicates the directionality of the entity.") optIfOTUkBitRateK = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 2), OptIfBitRateK()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTUkBitRateK.setDescription("Indicates the bit rate of the entity.") optIfOTUkTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 3), OptIfTxTI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkTraceIdentifierTransmitted.setDescription("The trace identifier transmitted.\nThis object is applicable when optIfOTUkDirectionality\nhas the value source(2) or bidirectional(3). It must not\nbe instantiated in rows where optIfOTUkDirectionality\nhas the value sink(1).\nIf no value is ever set by a management entity for this\nobject, system-specific default value will be used.\nAny implementation that instantiates this object must\ndocument the system-specific default value or how it\nis derived.") optIfOTUkDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 4), OptIfExDAPI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkDAPIExpected.setDescription("The DAPI expected by the receiver.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThis object has no effect when optIfOTUkTIMDetMode has\nthe value off(1).") optIfOTUkSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 5), OptIfExSAPI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkSAPIExpected.setDescription("The SAPI expected by the receiver.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThis object has no effect when optIfOTUkTIMDetMode has\nthe value off(1).") optIfOTUkTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 6), OptIfAcTI()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTUkTraceIdentifierAccepted.setDescription("The actual trace identifier accepted.\nThis object is only applicable to the sink function, i.e.,\n\n\n\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThe value of this object is unspecified when\noptIfOTUkCurrentStatus indicates a near-end defect\n(i.e., ssf(3), lof(4), ais(5), lom(6)) that prevents\nextraction of the trace message.") optIfOTUkTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 7), OptIfTIMDetMode()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkTIMDetMode.setDescription("Indicates the mode of the Trace Identifier Mismatch (TIM)\nDetection function.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThe default value of this object is off(1).") optIfOTUkTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkTIMActEnabled.setDescription("Indicates whether the Trace Identifier Mismatch (TIM)\nConsequent Action function is enabled.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThis object has no effect when optIfOTUkTIMDetMode has\nthe value off(1).\nThe default value of this object is false(2).") optIfOTUkDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 9), OptIfDEGThr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkDEGThr.setDescription("Indicates the threshold level for declaring a performance\nmonitoring (PM) Second to be bad. A PM Second is declared bad if\nthe percentage of detected errored blocks in that second is\n\n\n\ngreater than or equal to optIfOTUkDEGThr.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThe default value of this object is Severely Errored Second\n(SES) Estimator (See ITU-T G.7710).") optIfOTUkDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 10), OptIfDEGM()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkDEGM.setDescription("Indicates the threshold level for declaring a Degraded Signal\ndefect (dDEG). A dDEG shall be declared if optIfOTUkDEGM\nconsecutive bad PM Seconds are detected.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThe default value of this object is 7 (See ITU-T G.7710).") optIfOTUkSinkAdaptActive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 11), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkSinkAdaptActive.setDescription("Indicates whether the sink adaptation function is activated or\nnot.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThe default value of this object is false(2).") optIfOTUkSourceAdaptActive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 12), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkSourceAdaptActive.setDescription("Indicates whether the source adaptation function is activated or\nnot.\nThis object is only applicable to the source function, i.e.,\nonly when optIfOTUkDirectionality has the value source(2)\nor bidirectional(3). It must not be instantiated in rows\n\n\n\nwhere optIfOTUkDirectionality has the value sink(1).\nThe default value of this object is false(2).") optIfOTUkSinkFECEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 13), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfOTUkSinkFECEnabled.setDescription("If Forward Error Correction (FEC) is supported, this object\nindicates whether FEC at the OTUk sink adaptation function is\nenabled or not.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).\nThe default value of this object is true(1).") optIfOTUkCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 1, 1, 14), Bits().subtype(namedValues=NamedValues(("tim", 0), ("deg", 1), ("bdi", 2), ("ssf", 3), ("lof", 4), ("ais", 5), ("lom", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfOTUkCurrentStatus.setDescription("Indicates the defect condition of the entity, if any.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfOTUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfOTUkDirectionality has the value source(2).") optIfGCC0ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2)) if mibBuilder.loadTexts: optIfGCC0ConfigTable.setDescription("A table of GCC0 configuration information.") optIfGCC0ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfGCC0Directionality")) if mibBuilder.loadTexts: optIfGCC0ConfigEntry.setDescription("A conceptual row that contains GCC0 configuration\ninformation of an interface. Each instance must\ncorrespond to an instance of optIfOTUkConfigEntry.\nSeparate source and/or sink instances may exist\nfor a given ifIndex value, or a single bidirectional\ninstance may exist, but a bidirectional instance may\nnot coexist with a source or sink instance.\nInstances of this conceptual row persist across\nagent restarts.") optIfGCC0Directionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 1), OptIfDirectionality()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfGCC0Directionality.setDescription("Indicates the directionality of the entity.\nThe values source(2) and bidirectional(3) are\nnot allowed if the corresponding instance of\noptIfOTUkDirectionality has the value sink(1).\nThe values sink(1) and bidirectional(3) are\nnot allowed if the corresponding instance of\noptIfOTUkDirectionality has the value source(2).") optIfGCC0Application = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfGCC0Application.setDescription("Indicates the application transported by the GCC0 entity.\nExample applications are ECC, User data channel.\n\nThe value of this object may not be changed when\noptIfGCC0RowStatus has the value active(1).") optIfGCC0RowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 7, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfGCC0RowStatus.setDescription("This columnar object is used for creating and deleting a\nconceptual row of the optIfGCC0 config table.\nIt is used to model the addGCC0Access and removeGCC0Access\noperations of an OTUk_TTP for GCC0 access control as defined\nin G.874.1. Setting RowStatus to createAndGo or createAndWait\nimplies addGCC0Access. Setting RowStatus to destroy implies\nremoveGCC0Access.") optIfODUk = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 8)) optIfODUkConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1)) if mibBuilder.loadTexts: optIfODUkConfigTable.setDescription("A table of ODUk configuration information.") optIfODUkConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfODUkConfigEntry.setDescription("A conceptual row that contains ODUk configuration\ninformation of an interface.") optIfODUkDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 1), OptIfDirectionality()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkDirectionality.setDescription("Indicates the directionality of the entity.") optIfODUkBitRateK = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 2), OptIfBitRateK()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkBitRateK.setDescription("Indicates the bit rate of the entity.") optIfODUkTcmFieldsInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("tcmField1", 0), ("tcmField2", 1), ("tcmField3", 2), ("tcmField4", 3), ("tcmField5", 4), ("tcmField6", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTcmFieldsInUse.setDescription("Indicates the TCM field(s) that are currently in use.\nThe positions of the bits correspond to the TCM fields.\nA bit that is set to 1 means that the corresponding TCM\nfield is used. This object will be updated when rows are\ncreated in or deleted from the optIfODUkTConfigTable, or\nthe optIfODUkTNimConfigTable.") optIfODUkPositionSeqCurrentSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkPositionSeqCurrentSize.setDescription("This variable indicates the current size of the position\nsequence (i.e., number of TCM function and/or GCC12\naccess that have been created in the ODUk interface).\nWhen the value of this variable is greater than zero,\nit means that one or more TCM function and/or GCC12\naccess have been created in the ODUk interface. In this\ncase, there will be as many rows in the\n\n\n\noptIfODUkPositionSeqTable as the value of\noptIfODUkPositionSeqCurrentSize corresponding to this\nODUk interface, one row for each TCM function or GCC12\naccess. The position of the TCM function and/or\nGCC12 access within the sequence is indicated by the\noptIfODUkPositionSeqPosition variable in\noptIfODUkPositionSeqTable.\nThe optIfODUkPositionSeqTable also provides pointers\nto the corresponding TCM function (optIfODUkT) and\nGCC12 access (optIfGCC12) entities.") optIfODUkTtpPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 1, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTtpPresent.setDescription("This object has the value true(1) if the ifEntry under which\nit is instantiated contains an ODUk Trail Termination Point,\ni.e., is the endpoint of an ODUk path. In that case there\nwill be a corresponding row in the ODUk TTP config table and\nit will not be possible to create corresponding rows in the\nODUk NIM config table. This object has the value false(2)\nif the ifEntry under which it is instantiated contains an\nintermediate ODUk Connection Termination Point. In that case\nthere is no corresponding row in the ODUk TTP config table,\nbut it will be possible to create corresponding rows in the\nODUk NIM config table. This object also affects the allowable\noptions in rows created in the GCC12 config table and in the\nODUkT config table, as specified in the DESCRIPTION clauses\nof the columns in those tables.") optIfODUkTtpConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2)) if mibBuilder.loadTexts: optIfODUkTtpConfigTable.setDescription("A table of ODUk TTP configuration information.") optIfODUkTtpConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: optIfODUkTtpConfigEntry.setDescription("A conceptual row that contains ODUk TTP configuration\ninformation of an interface.") optIfODUkTtpTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 1), OptIfTxTI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfODUkTtpTraceIdentifierTransmitted.setDescription("The trace identifier transmitted.\nThis object is applicable when optIfODUkDirectionality\nhas the value source(2) or bidirectional(3). It must not\nbe instantiated in rows where optIfODUkDirectionality\nhas the value sink(1).\nIf no value is ever set by a management entity for this\nobject, system-specific default value will be used.\nAny implementation that instantiates this object must\ndocument the system-specific default value or how it\nis derived.") optIfODUkTtpDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 2), OptIfExDAPI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfODUkTtpDAPIExpected.setDescription("The DAPI expected by the receiver.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).\nThis object has no effect when optIfODUkTtpTIMDetMode has\nthe value off(1).") optIfODUkTtpSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 3), OptIfExSAPI()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfODUkTtpSAPIExpected.setDescription("The SAPI expected by the receiver.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).\nThis object has no effect when optIfODUkTtpTIMDetMode has\nthe value off(1).") optIfODUkTtpTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 4), OptIfAcTI()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTtpTraceIdentifierAccepted.setDescription("The actual trace identifier accepted.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).\nThe value of this object is unspecified when\noptIfODUkTtpCurrentStatus indicates a near-end defect\n(i.e., oci(0), lck(1), ssf(5)) that prevents extraction\nof the trace message.") optIfODUkTtpTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 5), OptIfTIMDetMode()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfODUkTtpTIMDetMode.setDescription("Indicates the mode of the Trace Identifier Mismatch (TIM)\nDetection function.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).\nThe default value of this object is off(1).") optIfODUkTtpTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfODUkTtpTIMActEnabled.setDescription("Indicates whether the Trace Identifier Mismatch (TIM)\nConsequent Action function is enabled.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).\nThis object has no effect when optIfODUkTtpTIMDetMode has\nthe value off(1).\nThe default value of this object is false(2).") optIfODUkTtpDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 7), OptIfDEGThr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfODUkTtpDEGThr.setDescription("Indicates the threshold level for declaring a performance\nmonitoring (PM) Second to be bad. A PM Second is declared bad if\nthe percentage of detected errored blocks in that second is\ngreater than or equal to optIfODUkDEGThr.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).\nThe default value of this object is Severely Errored Second\n(SES) Estimator (See ITU-T G.7710).") optIfODUkTtpDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 8), OptIfDEGM()).setMaxAccess("readwrite") if mibBuilder.loadTexts: optIfODUkTtpDEGM.setDescription("Indicates the threshold level for declaring a Degraded Signal\ndefect (dDEG). A dDEG shall be declared if optIfODUkDEGM\nconsecutive bad PM Seconds are detected.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).\nThe default value of this object is 7 (See ITU-T G.7710).") optIfODUkTtpCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 2, 1, 9), Bits().subtype(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTtpCurrentStatus.setDescription("Indicates the defect condition of the entity, if any.\nThis object is only applicable to the sink function, i.e.,\nonly when optIfODUkDirectionality has the value sink(1)\nor bidirectional(3). It must not be instantiated in rows\nwhere optIfODUkDirectionality has the value source(2).") optIfODUkPositionSeqTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3)) if mibBuilder.loadTexts: optIfODUkPositionSeqTable.setDescription("A table of ODUk Position Sequence information.") optIfODUkPositionSeqEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkPositionSeqIndex")) if mibBuilder.loadTexts: optIfODUkPositionSeqEntry.setDescription("A conceptual row that contains ODUk position sequence\ninformation of an ODUk interface. The ODUk interface\nis identified by the ifIndex. Associated with each\nODUk interface there may be one of more conceptual\nrows in the optIfODUkPositionSeqTable. Each row\nrepresents a TCM or GCC12 access function within the\nassociated ODUk interface. Rows of the\noptIfODUkPositionSeqTable table are created/deleted\nas the result of the creation/deletion of the optIfODUkT\nor optIfGCC12 entities.") optIfODUkPositionSeqIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfODUkPositionSeqIndex.setDescription("This variable identifies a row in the\noptIfODUkPositionSeqTable Table.\nEach row of the optIfODUkPositionSeqTable Table\nrepresents a TCM or GCC12 access function within the\nassociated ODUk interface.") optIfODUkPositionSeqPosition = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkPositionSeqPosition.setDescription("This variable indicates the position of the TCM or\nGCC12 access function within the sequence of TCMs &\nGCC12 access functions of the associated ODUk\ninterface. The TCM or GCC12 presented by this row is\nreferenced by the optIfODUkPositionSeqPointer variable.") optIfODUkPositionSeqPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 3, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkPositionSeqPointer.setDescription("This variable identifies the TCM or GCC12 access function\nby pointing to the corresponding optIfODUkT or optIfGCC12\nentity.") optIfODUkNimConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4)) if mibBuilder.loadTexts: optIfODUkNimConfigTable.setDescription("A table of ODUkNim configuration information.") optIfODUkNimConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkNimDirectionality")) if mibBuilder.loadTexts: optIfODUkNimConfigEntry.setDescription("A conceptual row that contains ODUkNim configuration\ninformation of an interface. Each instance must\ncorrespond to an instance of optIfODUkConfigEntry\nfor which optIfODUkTtpPresent has the value false(2).\n\nInstances of this conceptual row persist across\nagent restarts, and read-create columns other\nthan the status column may be modified while the\nrow is active.") optIfODUkNimDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 1), OptIfSinkOrSource()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfODUkNimDirectionality.setDescription("Specifies the monitor point for the ODUk Path non-intrusive\nmonitoring function. The value source(2) is not allowed\nif the corresponding instance of optIfODUkDirectionality\nhas the value sink(1), and the value sink(1) is not allowed\nif the corresponding instance of optIfODUkDirectionality\nhas the value source(2). Either the value sink(1) or\nsource(2) is allowed if the corresponding instance of\noptIfODUkDirectionality has the value bidirectional(3).\n\nThe value sink(1) means monitoring at the sink direction\npath signal of the ODUk CTP.\n\nThe value source(2) means monitoring at the source direction\n\n\n\npath signal of the ODUk CTP. Monitoring the source direction\nof an ODUk CTP is necessary in those cases where the ODUk CTP\nis at an SNCP (Subnetwork Connection Protection) end (e.g., see\nFigure I.1.2/G.874.1). If one would like to get the performance\nof the protected connection, one cannot use the NIM function\nat both ODUk CTP sinks (before the matrix), instead one should\nmonitor the signal at the source ODUk CTP after the matrix.") optIfODUkNimDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 2), OptIfExDAPI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkNimDAPIExpected.setDescription("The DAPI expected by the receiver.\nThis object has no effect if optIfODUkNimTIMDetMode has\nthe value off(1) or sapi(3).") optIfODUkNimSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 3), OptIfExSAPI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkNimSAPIExpected.setDescription("The SAPI expected by the receiver.\nThis object has no effect if optIfODUkNimTIMDetMode has\nthe value off(1) or dapi(2).") optIfODUkNimTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 4), OptIfAcTI()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkNimTraceIdentifierAccepted.setDescription("The actual trace identifier accepted. The value of\nthis object is unspecified if optIfODUkNimCurrentStatus\nhas any of the bit positions oci(0), lck(1), or ssf(5)\nset or if optIfODUkNimRowStatus has any value other\nthan active(1).") optIfODUkNimTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 5), OptIfTIMDetMode()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkNimTIMDetMode.setDescription("Indicates the mode of the Trace Identifier Mismatch (TIM)\nDetection function.") optIfODUkNimTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 6), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkNimTIMActEnabled.setDescription("Indicates whether the Trace Identifier Mismatch (TIM)\nConsequent Action function is enabled.") optIfODUkNimDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 7), OptIfDEGThr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkNimDEGThr.setDescription("Indicates the threshold level for declaring a performance\nmonitoring (PM) Second to be bad. A PM Second is declared bad\nif the percentage of detected errored blocks in that second is\ngreater than or equal to optIfODUkNimDEGThr.") optIfODUkNimDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 8), OptIfDEGM()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkNimDEGM.setDescription("Indicates the threshold level for declaring a Degraded Signal\ndefect (dDEG). A dDEG shall be declared if optIfODUkNimDEGM\nconsecutive bad PM Seconds are detected.") optIfODUkNimCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 9), Bits().subtype(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkNimCurrentStatus.setDescription("Indicates the defect condition of the entity, if\nany. The value of this object is unspecified if\noptIfODUkNimRowStatus has any value other than\n\n\n\nactive(1).") optIfODUkNimRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 4, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkNimRowStatus.setDescription("This columnar object is used for creating and deleting\na conceptual row of the optIfODUkNim config table.\nIt is used to model the activateNim and deactivateNim\noperations of an OTUk_CTP for non-intrusive monitoring\ncontrol as defined in G.874.1. Setting RowStatus to\ncreateAndGo or createAndWait implies activateNim.\nSetting RowStatus to destroy implies deactivateNim.") optIfGCC12ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5)) if mibBuilder.loadTexts: optIfGCC12ConfigTable.setDescription("A table of GCC12 configuration information.\nThe GCC function processes the GCC overhead bytes passing\nthrough them but leave the remainder of the ODUk overhead\nand payload data alone.") optIfGCC12ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfGCC12Codirectional"), (0, "OPT-IF-MIB", "optIfGCC12GCCAccess")) if mibBuilder.loadTexts: optIfGCC12ConfigEntry.setDescription("A conceptual row that contains GCC12 configuration\ninformation of an interface. Each instance must\ncorrespond to an instance of optIfODUkConfigEntry.\nSeparate instances providing GCC1-only access and\nGCC2-only access may exist for a given ifIndex value,\nor a single instance providing GCC1 + GCC2 may exist,\nbut a GCC1 + GCC2 instance may not coexist with a\nGCC1-only or GCC2-only instance.\n\nInstances of this conceptual row persist across agent\nrestarts.") optIfGCC12Codirectional = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 1), TruthValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfGCC12Codirectional.setDescription("Indicates the directionality of the GCC12 termination with\nrespect to the associated ODUk CTP. The value true(1) means\nthat the sink part of the GCC12 extracts COMMS data from the\nsignal at the input to the ODUk CTP sink and the source part\nof the GCC12 inserts COMMS data into the signal at the output\nof the ODUk CTP source. The value false(2) means that the\nsink part of the GCC12 extracts COMMS data from the signal at\nthe output of the ODUk CTP source and the source part of the\nGCC12 inserts COMMS data into the signal at the input of the\nODUk CTP sink. This attribute may assume either value when\nthe corresponding instance of optIfODUkTtpPresent has the\nvalue false(2). When the value of the corresponding instance\nof optIfODUkTtpPresent is true(1) then the only value allowed\nfor this attribute is true(1).") optIfGCC12GCCAccess = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("gcc1", 1), ("gcc2", 2), ("gcc1and2", 3), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfGCC12GCCAccess.setDescription("Indicates the GCC access represented by the entity.") optIfGCC12GCCPassThrough = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 3), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfGCC12GCCPassThrough.setDescription("Controls whether the selected GCC overhead bytes are passed\n\n\n\nthrough or modified. The value true(1) means that the selected\nGCC overhead bytes are passed through unmodified from the ODUk\nCTP input to the ODUk CTP output. The value false(2) means that\nthe selected GCC overhead bytes are set to zero at the ODUk CTP\noutput after the extraction of the COMMS data. This object has\nno effect if the corresponding instance of optIfODUkTtpPresent\nhas the value true(1).\n\nThe value of this object may not be changed when\noptIfGCC12RowStatus has the value active(1).") optIfGCC12Application = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 4), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfGCC12Application.setDescription("Indicates the application transported by the GCC12 entity.\nExample applications are ECC, User data channel.\n\nThe value of this object may not be changed when\noptIfGCC12RowStatus has the value active(1).") optIfGCC12RowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 8, 5, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfGCC12RowStatus.setDescription("This columnar object is used for creating and deleting\na conceptual row of the optIfGCC12 config table. It is\nused to model the addGCC12Access and removeGCC12Access\noperations of an ODUk_CTP or ODUk_TTP for GCC12 access\ncontrol as defined in G.874.1. Setting RowStatus to\ncreateAndGo or createAndWait implies addGCC12Access.\nSetting RowStatus to destroy implies removeGCC12Access.\nSuccessful addition/removal of the GCC12 access function\nwill result in updating the\noptIfODUkPositionSeqCurrentSize variable and the\noptIfODUkPositionSeqTable table of the associated\nODUk entry in the optIfODUkConfigTable.") optIfODUkT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 1, 9)) optIfODUkTConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1)) if mibBuilder.loadTexts: optIfODUkTConfigTable.setDescription("A table of ODUkT configuration information.") optIfODUkTConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkTTcmField"), (0, "OPT-IF-MIB", "optIfODUkTCodirectional")) if mibBuilder.loadTexts: optIfODUkTConfigEntry.setDescription("A conceptual row that contains ODUkT configuration\ninformation of an interface. Each instance must\ncorrespond to an instance of optIfODUkConfigEntry.\nRows in this table are mutually exclusive with rows\nin the ODUkT NIM config table -- in other words, this\nrow object may not be instantiated for a given pair\nof ifIndex and TCM field values if a corresponding\ninstance of optIfODUkTNimConfigEntry already exists.\n\nInstances of this conceptual row persist across agent\nrestarts. Except where noted otherwise, read-create\ncolumns other than the status column may be modified\nwhile the row is active.") optIfODUkTTcmField = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfODUkTTcmField.setDescription("Indicates the tandem connection monitoring\nfield of the ODUk OH. Valid values are\nintegers from 1 to 6.") optIfODUkTCodirectional = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 2), TruthValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfODUkTCodirectional.setDescription("Indicates the directionality of the ODUkT termination point with\nrespect to the associated ODUk CTP. The value true(1) means\nthat the sink part of the ODUkT TP extracts TCM data from the\nsignal at the input to the ODUk CTP sink and the source part\nof the ODUkT TP inserts TCM data into the signal at the output\nof the ODUk CTP source. The value false(2) means that the\nsink part of the ODUkT TP extracts TCM data from the signal at\nthe output of the ODUk CTP source and the source part of the\nODUkT TP inserts TCM data into the signal at the input of the\nODUk CTP sink. This attribute may assume either value when\nthe corresponding instance of optIfODUkTtpPresent has the\nvalue false(2). When the value of the corresponding instance\nof optIfODUkTtpPresent is true(1) then the only value allowed\nfor this attribute is true(1).") optIfODUkTTraceIdentifierTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 3), OptIfTxTI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTTraceIdentifierTransmitted.setDescription("The trace identifier transmitted.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value false(2), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value true(1).\nIt must not be instantiated in rows for all other cases.") optIfODUkTDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 4), OptIfExDAPI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTDAPIExpected.setDescription("The DAPI expected by the receiver.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.\nThis object has no effect when optIfODUkTTIMDetMode has\nthe value off(1).") optIfODUkTSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 5), OptIfExSAPI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTSAPIExpected.setDescription("The SAPI expected by the receiver.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.\nThis object has no effect when optIfODUkTTIMDetMode has\nthe value off(1).") optIfODUkTTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 6), OptIfAcTI()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTTraceIdentifierAccepted.setDescription("The actual trace identifier accepted.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.\nThe value of this object is unspecified when\noptIfODUkTCurrentStatus indicates a near-end defect\n(i.e., oci(0), lck(1), ssf(5)) that prevents extraction\n\n\n\nof the trace message.") optIfODUkTTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 7), OptIfTIMDetMode()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTTIMDetMode.setDescription("Indicates the mode of the Trace Identifier Mismatch (TIM)\nDetection function.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.\nThe default value of this object is off(1).") optIfODUkTTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 8), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTTIMActEnabled.setDescription("Indicates whether the Trace Identifier Mismatch (TIM)\nConsequent Action function is enabled.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.\nThis object has no effect when optIfODUkTTIMDetMode has\nthe value off(1).\nThe default value of this object is false(2).") optIfODUkTDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 9), OptIfDEGThr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTDEGThr.setDescription("Indicates the threshold level for declaring a performance\nmonitoring (PM) Second to be bad. A PM Second is declared bad if\nthe percentage of detected errored blocks in that second is\n\n\n\ngreater than or equal to optIfODUkTDEGThr.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.\nThe default value of this object is Severely Errored Second\n(SES) Estimator (See ITU-T G.7710).") optIfODUkTDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 10), OptIfDEGM()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTDEGM.setDescription("Indicates the threshold level for declaring a Degraded Signal\ndefect (dDEG). A dDEG shall be declared if optIfODUkTDEGM\nconsecutive bad PM Seconds are detected.\nThis object is applicable only to the following three cases.\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.\nThe default value of this object is 7 (See ITU-T G.7710).") optIfODUkTSinkMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("operational", 1), ("monitor", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTSinkMode.setDescription("This variable specifies the TCM mode at the entity.\nThe value operational(1) means that TCM Overhead (TCMOH)\nprocesses (see ITU-T G.798) shall be\nperformed and consequent actions for AIS, Trail\nSignal Fail (TSF), Trail Signal Degraded (TSD) shall be\ninitiated in case of defects.\nThe value monitor(2) means that TCMOH processes shall be\nperformed but consequent actions for AIS, Trail\nServer Failure (TSF), Trail Server Degraded (TSD) shall _not_ be\ninitiated in case of defects.\n\n\n\nThis object is applicable only when the value of\noptIfODUkTtpPresent is false(2) and also either one of the\nfollowing three cases holds:\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.") optIfODUkTSinkLockSignalAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("locked", 1), ("normal", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTSinkLockSignalAdminState.setDescription("Provides the capability to provision the LOCK signal, which\nis one of the ODUk maintenance signals, at the ODUKT sink. When\na Tandem Connection endpoint is set to admin state locked,\nit inserts the ODUk-LCK signal in the sink direction.\n\nThis object is applicable only when the value of\noptIfODUkTtpPresent is false(2) and also either one of the\nfollowing three cases holds:\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.") optIfODUkTSourceLockSignalAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("locked", 1), ("normal", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTSourceLockSignalAdminState.setDescription("Provides the capability to provision the LOCK signal, which\nis one of the ODUk maintenance signals, at the source.\nWhen a Tandem Connection endpoint is set to admin state\nlocked, it inserts the ODUk-LCK signal in the source\ndirection.\n\n\n\nThis object is applicable only when either one of the\nfollowing three cases holds:\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value false(2), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value true(1).\nIt must not be instantiated in rows for all other cases.") optIfODUkTCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 14), Bits().subtype(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTCurrentStatus.setDescription("Indicates the defect condition of the entity, if any.\nThis object is applicable only when either one of the\nfollowing three cases holds:\n (i) optIfODUkDirectionality has the value bidirectional(3), or\n (ii) optIfODUkDirectionality has the value sink(1) and\n optIfODUkTCodirectional has the value true(1), or\n (iii) optIfODUkDirectionality has the value source(3) and\n optIfODUkTCodirectional has the value false(2).\nIt must not be instantiated in rows for all other cases.") optIfODUkTRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 1, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTRowStatus.setDescription("This columnar object is used for creating and deleting a\nconceptual row of the optIfODUkT config table.\nIt is used to model the addTCM and removeTCM operations of an\nODUk_CTP or ODUk_TTP for Tandem connection monitoring as defined\nin ITU-T G.874.1.\nSetting RowStatus to createAndGo or createAndWait implies addTCM.\nSetting RowStatus to destroy implies removeTCM.\nSuccessful addition/removal of TCM will result in updating the\noptIfODUkTcmFieldsInUse and optIfODUkPositionSeqCurrentSize\nvariables and the optIfODUkPositionSeqTable table of the\n\n\n\nassociated ODUk entry in the optIfODUkConfigTable.") optIfODUkTNimConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2)) if mibBuilder.loadTexts: optIfODUkTNimConfigTable.setDescription("A table of ODUkTNim configuration information.") optIfODUkTNimConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "OPT-IF-MIB", "optIfODUkTNimTcmField"), (0, "OPT-IF-MIB", "optIfODUkTNimDirectionality")) if mibBuilder.loadTexts: optIfODUkTNimConfigEntry.setDescription("A conceptual row that contains ODUkTNim configuration\ninformation of an interface. Each instance must\ncorrespond to an instance of optIfODUkConfigEntry.\nRows in this table are mutually exclusive with rows\nin the ODUkT config table -- in other words, this\nrow object may not be instantiated for a given pair\nof ifIndex and TCM field values if a corresponding\ninstance of optIfODUkTConfigEntry already exists.\n\nInstances of this conceptual row persist across\nagent restarts, and read-create columns other\nthan the status column may be modified while the\nrow is active.") optIfODUkTNimTcmField = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfODUkTNimTcmField.setDescription("Indicates the tandem connection monitoring\nfield of the ODUk OH on which non-intrusive monitoring\nis performed. Valid values are\nintegers from 1 to 6.") optIfODUkTNimDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 2), OptIfSinkOrSource()).setMaxAccess("noaccess") if mibBuilder.loadTexts: optIfODUkTNimDirectionality.setDescription("Specifies the monitor point for the ODUk TCM non-intrusive\nmonitoring function. The value source(2) is not allowed\nif the corresponding instance of optIfODUkDirectionality\nhas the value sink(1), and the value sink(1) is not allowed\nif the corresponding instance of optIfODUkDirectionality\nhas the value source(2). Either the value sink(1) or\nsource(2) is allowed if the corresponding instance of\noptIfODUkDirectionality has the value bidirectional(3).\nThe value sink(1) means monitoring at the sink direction\nTCM signal of the ODUk CTP.\nThe value source(2) means monitoring at the source direction\npath signal of the ODUk CTP.") optIfODUkTNimDAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 3), OptIfExDAPI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTNimDAPIExpected.setDescription("The DAPI expected by the receiver.\nThis object has no effect if optIfODUkTNimTIMDetMode has\nthe value off(1) or sapi(3).") optIfODUkTNimSAPIExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 4), OptIfExSAPI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTNimSAPIExpected.setDescription("The SAPI expected by the receiver.\nThis object has no effect if optIfODUkTNimTIMDetMode has\nthe value off(1) or dapi(2).") optIfODUkTNimTraceIdentifierAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 5), OptIfAcTI()).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTNimTraceIdentifierAccepted.setDescription("The actual trace identifier accepted. The value of\nthis object is unspecified if optIfODUkTNimCurrentStatus\nhas any of the bit positions oci(0), lck(1), or ssf(5)\nset or if optIfODUkTNimRowStatus has any value other\nthan active(1).") optIfODUkTNimTIMDetMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 6), OptIfTIMDetMode()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTNimTIMDetMode.setDescription("Indicates the mode of the Trace Identifier Mismatch (TIM)\nDetection function.") optIfODUkTNimTIMActEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 7), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTNimTIMActEnabled.setDescription("Indicates whether the Trace Identifier Mismatch (TIM)\nConsequent Action function is enabled.") optIfODUkTNimDEGThr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 8), OptIfDEGThr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTNimDEGThr.setDescription("Indicates the threshold level for declaring a performance\nmonitoring (PM) Second to be bad. A PM Second is declared bad if\nthe percentage of detected errored blocks in that second is\ngreater than or equal to optIfODUkTNimDEGThr.") optIfODUkTNimDEGM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 9), OptIfDEGM()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTNimDEGM.setDescription("Indicates the threshold level for declaring a Degraded Signal\ndefect (dDEG). A dDEG shall be declared if optIfODUkTNimDEGM\nconsecutive bad PM Seconds are detected.") optIfODUkTNimCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 10), Bits().subtype(namedValues=NamedValues(("oci", 0), ("lck", 1), ("tim", 2), ("deg", 3), ("bdi", 4), ("ssf", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: optIfODUkTNimCurrentStatus.setDescription("Indicates the defect condition of the entity, if any.\nThe value of this object is unspecified if\noptIfODUkTNimRowStatus has any value other than\nactive(1).") optIfODUkTNimRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 133, 1, 9, 2, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: optIfODUkTNimRowStatus.setDescription("This columnar object is used for creating and deleting a\nconceptual row of the optIfODUkTNim config table.\nIt is used to model the addTCM and removeTCM operations of an\nODUk_CTP or ODUk_TTP for non-intrusive Tandem connection\nmonitoring as defined in ITU-T G.874.1.\nSetting RowStatus to createAndGo or createAndWait implies addTCM.\nSetting RowStatus to destroy implies removeTCM.\nSuccessful addition/removal of Nim TCM will result in updating\nthe optIfODUkPositionSeqCurrentSize variable and the\noptIfODUkPositionSeqTable table of the associated ODUk entry\nin the optIfODUkConfigTable.") optIfConfs = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 2)) optIfGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 2, 1)) optIfCompl = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 133, 2, 2)) # Augmentions # Groups optIfOTMnGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 1)).setObjects(*(("OPT-IF-MIB", "optIfOTMnBitRates"), ("OPT-IF-MIB", "optIfOTMnTcmMax"), ("OPT-IF-MIB", "optIfOTMnInterfaceType"), ("OPT-IF-MIB", "optIfOTMnOpticalReach"), ("OPT-IF-MIB", "optIfOTMnOrder"), ("OPT-IF-MIB", "optIfOTMnReduced"), ) ) if mibBuilder.loadTexts: optIfOTMnGroup.setDescription("A collection of OTMn structure information objects.") optIfPerfMonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 2)).setObjects(*(("OPT-IF-MIB", "optIfPerfMonCurrentTimeElapsed"), ("OPT-IF-MIB", "optIfPerfMonIntervalNumInvalidIntervals"), ("OPT-IF-MIB", "optIfPerfMonCurDayTimeElapsed"), ("OPT-IF-MIB", "optIfPerfMonIntervalNumIntervals"), ) ) if mibBuilder.loadTexts: optIfPerfMonGroup.setDescription("A collection of performance monitoring interval objects.") optIfOTSnCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 3)).setObjects(*(("OPT-IF-MIB", "optIfOTSnDirectionality"), ) ) if mibBuilder.loadTexts: optIfOTSnCommonGroup.setDescription("A collection of configuration objects\napplicable to all OTSn interfaces.") optIfOTSnSourceGroupFull = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 4)).setObjects(*(("OPT-IF-MIB", "optIfOTSnTraceIdentifierTransmitted"), ) ) if mibBuilder.loadTexts: optIfOTSnSourceGroupFull.setDescription("A collection of configuration objects\napplicable to full-functionality/IaDI OTSn\ninterfaces that support source functions.") optIfOTSnAPRStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 5)).setObjects(*(("OPT-IF-MIB", "optIfOTSnAprStatus"), ) ) if mibBuilder.loadTexts: optIfOTSnAPRStatusGroup.setDescription("A collection of objects applicable to\nOTSn interfaces that support Automatic\nPower Reduction functions.") optIfOTSnAPRControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 6)).setObjects(*(("OPT-IF-MIB", "optIfOTSnAprControl"), ) ) if mibBuilder.loadTexts: optIfOTSnAPRControlGroup.setDescription("A collection of objects applicable to\nOTSn interfaces that provide Automatic\nPower Reduction control functions.") optIfOTSnSinkGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 7)).setObjects(*(("OPT-IF-MIB", "optIfOTSnCurrentStatus"), ) ) if mibBuilder.loadTexts: optIfOTSnSinkGroupBasic.setDescription("A collection of configuration objects\napplicable to all OTSn interfaces that\nsupport sink functions.") optIfOTSnSinkGroupFull = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 8)).setObjects(*(("OPT-IF-MIB", "optIfOTSnDAPIExpected"), ("OPT-IF-MIB", "optIfOTSnTIMDetMode"), ("OPT-IF-MIB", "optIfOTSnSAPIExpected"), ("OPT-IF-MIB", "optIfOTSnTIMActEnabled"), ("OPT-IF-MIB", "optIfOTSnTraceIdentifierAccepted"), ) ) if mibBuilder.loadTexts: optIfOTSnSinkGroupFull.setDescription("A collection of configuration objects\napplicable to full-functionality/IaDI OTSn\ninterfaces that support sink functions.") optIfOTSnSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 9)).setObjects(*(("OPT-IF-MIB", "optIfOTSnSinkCurrentLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkCurDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSinkIntervalLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSinkPrevDayLastOutputPower"), ) ) if mibBuilder.loadTexts: optIfOTSnSinkPreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OTSn interfaces that\nsupport sink functions.") optIfOTSnSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 10)).setObjects(*(("OPT-IF-MIB", "optIfOTSnSinkCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentUpperInputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSinkCurrentUpperOutputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOTSnSinkPreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OTSn interfaces\nthat support sink functions.") optIfOTSnSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 11)).setObjects(*(("OPT-IF-MIB", "optIfOTSnSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentLowInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurDayHighInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDayLastInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentInputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOTSnSrcIntervalHighInputPower"), ) ) if mibBuilder.loadTexts: optIfOTSnSourcePreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OTSn interfaces that\nsupport source functions.") optIfOTSnSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 12)).setObjects(*(("OPT-IF-MIB", "optIfOTSnSrcCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentUpperInputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOTSnSrcCurrentLowerInputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOTSnSourcePreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OTSn interfaces\nthat support source functions.") optIfOMSnCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 13)).setObjects(*(("OPT-IF-MIB", "optIfOMSnDirectionality"), ) ) if mibBuilder.loadTexts: optIfOMSnCommonGroup.setDescription("A collection of configuration objects\napplicable to all OMSn interfaces.") optIfOMSnSinkGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 14)).setObjects(*(("OPT-IF-MIB", "optIfOMSnCurrentStatus"), ) ) if mibBuilder.loadTexts: optIfOMSnSinkGroupBasic.setDescription("A collection of configuration objects\napplicable to all OMSn interfaces that\nsupport sink functions.") optIfOMSnSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 15)).setObjects(*(("OPT-IF-MIB", "optIfOMSnSinkCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSinkIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSinkCurDaySuspectedFlag"), ) ) if mibBuilder.loadTexts: optIfOMSnSinkPreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OMSn interfaces that\nsupport sink functions.") optIfOMSnSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 16)).setObjects(*(("OPT-IF-MIB", "optIfOMSnSinkCurrentUpperInputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSinkCurrentLowerInputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOMSnSinkPreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OMSn interfaces\nthat support sink functions.") optIfOMSnSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 17)).setObjects(*(("OPT-IF-MIB", "optIfOMSnSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOMSnSrcCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOMSnSrcIntervalLowAggregatedInputPower"), ) ) if mibBuilder.loadTexts: optIfOMSnSourcePreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OMSn interfaces that\nsupport source functions.") optIfOMSnSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 18)).setObjects(*(("OPT-IF-MIB", "optIfOMSnSrcCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOMSnSrcCurrentUpperInputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOMSnSourcePreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OMSn interfaces that\nthat support source functions.") optIfOChGroupCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 19)).setObjects(*(("OPT-IF-MIB", "optIfOChGroupDirectionality"), ) ) if mibBuilder.loadTexts: optIfOChGroupCommonGroup.setDescription("A collection of configuration objects\napplicable to all OChGroup interfaces.") optIfOChGroupSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 20)).setObjects(*(("OPT-IF-MIB", "optIfOChGroupSinkCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSinkPrevDaySuspectedFlag"), ) ) if mibBuilder.loadTexts: optIfOChGroupSinkPreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OChGroup interfaces that\nsupport sink functions.") optIfOChGroupSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 21)).setObjects(*(("OPT-IF-MIB", "optIfOChGroupSinkCurrentUpperInputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSinkCurrentLowerInputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOChGroupSinkPreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OChGroup interfaces\nthat support sink functions.") optIfOChGroupSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 22)).setObjects(*(("OPT-IF-MIB", "optIfOChGroupSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLastAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChGroupSrcCurDayLowAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayHighAggregatedInputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOChGroupSrcPrevDaySuspectedFlag"), ) ) if mibBuilder.loadTexts: optIfOChGroupSourcePreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OChGroup interfaces that\nsupport source functions.") optIfOChGroupSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 23)).setObjects(*(("OPT-IF-MIB", "optIfOChGroupSrcCurrentUpperOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOChGroupSrcCurrentUpperInputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOChGroupSourcePreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OChGroup interfaces that\nthat support source functions.") optIfOChCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 24)).setObjects(*(("OPT-IF-MIB", "optIfOChDirectionality"), ) ) if mibBuilder.loadTexts: optIfOChCommonGroup.setDescription("A collection of configuration objects\napplicable to all OCh interfaces.") optIfOChSinkGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 25)).setObjects(*(("OPT-IF-MIB", "optIfOChCurrentStatus"), ) ) if mibBuilder.loadTexts: optIfOChSinkGroupBasic.setDescription("A collection of configuration objects\napplicable to all OCh interfaces that\nsupport sink functions.") optIfOChSinkPreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 26)).setObjects(*(("OPT-IF-MIB", "optIfOChSinkCurrentInputPower"), ("OPT-IF-MIB", "optIfOChSinkPrevDayLastInputPower"), ("OPT-IF-MIB", "optIfOChSinkIntervalLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSinkIntervalLastInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurrentHighInputPower"), ("OPT-IF-MIB", "optIfOChSinkIntervalHighInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurDayLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurDayHighInputPower"), ("OPT-IF-MIB", "optIfOChSinkPrevDayHighInputPower"), ("OPT-IF-MIB", "optIfOChSinkPrevDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChSinkCurrentLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSinkPrevDayLowInputPower"), ("OPT-IF-MIB", "optIfOChSinkCurDaySuspectedFlag"), ) ) if mibBuilder.loadTexts: optIfOChSinkPreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OCh interfaces that\nsupport sink functions.") optIfOChSinkPreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 27)).setObjects(*(("OPT-IF-MIB", "optIfOChSinkCurrentLowerInputPowerThreshold"), ("OPT-IF-MIB", "optIfOChSinkCurrentUpperInputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOChSinkPreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OCh interfaces\nthat support sink functions.") optIfOChSourcePreOtnPMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 28)).setObjects(*(("OPT-IF-MIB", "optIfOChSrcIntervalLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcIntervalHighOutputPower"), ("OPT-IF-MIB", "optIfOChSrcIntervalSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSrcCurrentLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurrentOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChSrcPrevDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurrentHighOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurrentSuspectedFlag"), ("OPT-IF-MIB", "optIfOChSrcCurDayLowOutputPower"), ("OPT-IF-MIB", "optIfOChSrcPrevDayHighOutputPower"), ("OPT-IF-MIB", "optIfOChSrcIntervalLastOutputPower"), ("OPT-IF-MIB", "optIfOChSrcCurDaySuspectedFlag"), ("OPT-IF-MIB", "optIfOChSrcPrevDayLastOutputPower"), ("OPT-IF-MIB", "optIfOChSrcPrevDaySuspectedFlag"), ) ) if mibBuilder.loadTexts: optIfOChSourcePreOtnPMGroup.setDescription("A collection of pre-OTN performance monitoring\nobjects applicable to OCh interfaces that\nsupport source functions.") optIfOChSourcePreOtnPMThresholdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 29)).setObjects(*(("OPT-IF-MIB", "optIfOChSrcCurrentLowerOutputPowerThreshold"), ("OPT-IF-MIB", "optIfOChSrcCurrentUpperOutputPowerThreshold"), ) ) if mibBuilder.loadTexts: optIfOChSourcePreOtnPMThresholdGroup.setDescription("A collection of pre-OTN performance monitoring\nthreshold objects applicable to OCh interfaces\nthat support source functions.") optIfOTUkCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 30)).setObjects(*(("OPT-IF-MIB", "optIfOTUkBitRateK"), ("OPT-IF-MIB", "optIfOTUkDirectionality"), ) ) if mibBuilder.loadTexts: optIfOTUkCommonGroup.setDescription("A collection of configuration objects\napplicable to all OTUk interfaces.") optIfOTUkSourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 31)).setObjects(*(("OPT-IF-MIB", "optIfOTUkTraceIdentifierTransmitted"), ("OPT-IF-MIB", "optIfOTUkSourceAdaptActive"), ) ) if mibBuilder.loadTexts: optIfOTUkSourceGroup.setDescription("A collection of configuration objects\napplicable to OTUk interfaces that\nsupport source functions.") optIfOTUkSinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 32)).setObjects(*(("OPT-IF-MIB", "optIfOTUkTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfOTUkSinkAdaptActive"), ("OPT-IF-MIB", "optIfOTUkDAPIExpected"), ("OPT-IF-MIB", "optIfOTUkTIMDetMode"), ("OPT-IF-MIB", "optIfOTUkCurrentStatus"), ("OPT-IF-MIB", "optIfOTUkDEGM"), ("OPT-IF-MIB", "optIfOTUkSAPIExpected"), ("OPT-IF-MIB", "optIfOTUkSinkFECEnabled"), ("OPT-IF-MIB", "optIfOTUkTIMActEnabled"), ("OPT-IF-MIB", "optIfOTUkDEGThr"), ) ) if mibBuilder.loadTexts: optIfOTUkSinkGroup.setDescription("A collection of configuration objects\napplicable to OTUk interfaces that\nsupport sink functions.") optIfGCC0Group = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 33)).setObjects(*(("OPT-IF-MIB", "optIfGCC0Application"), ("OPT-IF-MIB", "optIfGCC0RowStatus"), ) ) if mibBuilder.loadTexts: optIfGCC0Group.setDescription("A collection of GCC0 configuration objects.") optIfODUkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 34)).setObjects(*(("OPT-IF-MIB", "optIfODUkPositionSeqCurrentSize"), ("OPT-IF-MIB", "optIfODUkPositionSeqPosition"), ("OPT-IF-MIB", "optIfODUkPositionSeqPointer"), ("OPT-IF-MIB", "optIfODUkDirectionality"), ("OPT-IF-MIB", "optIfODUkBitRateK"), ("OPT-IF-MIB", "optIfODUkTcmFieldsInUse"), ("OPT-IF-MIB", "optIfODUkTtpPresent"), ) ) if mibBuilder.loadTexts: optIfODUkGroup.setDescription("A collection of configuration objects\napplicable to all ODUk interfaces.") optIfODUkTtpSourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 35)).setObjects(*(("OPT-IF-MIB", "optIfODUkTtpTraceIdentifierTransmitted"), ) ) if mibBuilder.loadTexts: optIfODUkTtpSourceGroup.setDescription("A collection of configuration objects\napplicable to all interfaces that support\nODUk trail termination source functions.") optIfODUkTtpSinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 36)).setObjects(*(("OPT-IF-MIB", "optIfODUkTtpDAPIExpected"), ("OPT-IF-MIB", "optIfODUkTtpTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkTtpDEGM"), ("OPT-IF-MIB", "optIfODUkTtpTIMDetMode"), ("OPT-IF-MIB", "optIfODUkTtpCurrentStatus"), ("OPT-IF-MIB", "optIfODUkTtpSAPIExpected"), ("OPT-IF-MIB", "optIfODUkTtpTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkTtpDEGThr"), ) ) if mibBuilder.loadTexts: optIfODUkTtpSinkGroup.setDescription("A collection of ODUk configuration objects\napplicable to all interfaces that support\nODUk trail termination sink functions.") optIfODUkNimGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 37)).setObjects(*(("OPT-IF-MIB", "optIfODUkNimRowStatus"), ("OPT-IF-MIB", "optIfODUkNimDAPIExpected"), ("OPT-IF-MIB", "optIfODUkNimTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkNimDEGM"), ("OPT-IF-MIB", "optIfODUkNimTIMDetMode"), ("OPT-IF-MIB", "optIfODUkNimCurrentStatus"), ("OPT-IF-MIB", "optIfODUkNimSAPIExpected"), ("OPT-IF-MIB", "optIfODUkNimTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkNimDEGThr"), ) ) if mibBuilder.loadTexts: optIfODUkNimGroup.setDescription("A collection of ODUk Nim configuration objects.") optIfGCC12Group = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 38)).setObjects(*(("OPT-IF-MIB", "optIfGCC12RowStatus"), ("OPT-IF-MIB", "optIfGCC12GCCPassThrough"), ("OPT-IF-MIB", "optIfGCC12Application"), ) ) if mibBuilder.loadTexts: optIfGCC12Group.setDescription("A collection of GCC12 configuration objects.") optIfODUkTCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 39)).setObjects(*(("OPT-IF-MIB", "optIfODUkTRowStatus"), ) ) if mibBuilder.loadTexts: optIfODUkTCommonGroup.setDescription("A collection of configuration objects\napplicable to all ODUkT instances.") optIfODUkTSourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 40)).setObjects(*(("OPT-IF-MIB", "optIfODUkTTraceIdentifierTransmitted"), ("OPT-IF-MIB", "optIfODUkTSourceLockSignalAdminState"), ) ) if mibBuilder.loadTexts: optIfODUkTSourceGroup.setDescription("A collection of configuration objects\napplicable to all ODUkT instances\nthat provide source functions.") optIfODUkTSinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 41)).setObjects(*(("OPT-IF-MIB", "optIfODUkTTIMDetMode"), ("OPT-IF-MIB", "optIfODUkTDAPIExpected"), ("OPT-IF-MIB", "optIfODUkTDEGM"), ("OPT-IF-MIB", "optIfODUkTTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkTTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkTCurrentStatus"), ("OPT-IF-MIB", "optIfODUkTSAPIExpected"), ("OPT-IF-MIB", "optIfODUkTDEGThr"), ) ) if mibBuilder.loadTexts: optIfODUkTSinkGroup.setDescription("A collection of configuration objects\napplicable to all ODUkT instances\nthat provide sink functions.") optIfODUkTSinkGroupCtp = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 42)).setObjects(*(("OPT-IF-MIB", "optIfODUkTSinkLockSignalAdminState"), ("OPT-IF-MIB", "optIfODUkTSinkMode"), ) ) if mibBuilder.loadTexts: optIfODUkTSinkGroupCtp.setDescription("A collection of configuration objects\napplicable to ODUkT instances not\ncolocated with an ODUk TTP that\nprovide sink functions.") optIfODUkTNimGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 133, 2, 1, 43)).setObjects(*(("OPT-IF-MIB", "optIfODUkTNimTIMDetMode"), ("OPT-IF-MIB", "optIfODUkTNimRowStatus"), ("OPT-IF-MIB", "optIfODUkTNimDEGThr"), ("OPT-IF-MIB", "optIfODUkTNimTraceIdentifierAccepted"), ("OPT-IF-MIB", "optIfODUkTNimTIMActEnabled"), ("OPT-IF-MIB", "optIfODUkTNimSAPIExpected"), ("OPT-IF-MIB", "optIfODUkTNimCurrentStatus"), ("OPT-IF-MIB", "optIfODUkTNimDEGM"), ("OPT-IF-MIB", "optIfODUkTNimDAPIExpected"), ) ) if mibBuilder.loadTexts: optIfODUkTNimGroup.setDescription("A collection of ODUkT Nim configuration objects.") # Compliances optIfOtnConfigCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 133, 2, 2, 1)).setObjects(*(("OPT-IF-MIB", "optIfOMSnSinkGroupBasic"), ("OPT-IF-MIB", "optIfODUkTtpSinkGroup"), ("OPT-IF-MIB", "optIfOTSnCommonGroup"), ("OPT-IF-MIB", "optIfODUkTNimGroup"), ("OPT-IF-MIB", "optIfOTSnSinkGroupFull"), ("OPT-IF-MIB", "optIfOMSnCommonGroup"), ("OPT-IF-MIB", "optIfGCC0Group"), ("OPT-IF-MIB", "optIfODUkTSinkGroupCtp"), ("OPT-IF-MIB", "optIfOTSnSourceGroupFull"), ("OPT-IF-MIB", "optIfOTSnAPRStatusGroup"), ("OPT-IF-MIB", "optIfGCC12Group"), ("OPT-IF-MIB", "optIfOChSinkGroupBasic"), ("OPT-IF-MIB", "optIfODUkTCommonGroup"), ("OPT-IF-MIB", "optIfOTUkSinkGroup"), ("OPT-IF-MIB", "optIfODUkGroup"), ("OPT-IF-MIB", "optIfOChCommonGroup"), ("OPT-IF-MIB", "optIfOTUkCommonGroup"), ("OPT-IF-MIB", "optIfOTUkSourceGroup"), ("OPT-IF-MIB", "optIfODUkTtpSourceGroup"), ("OPT-IF-MIB", "optIfODUkNimGroup"), ("OPT-IF-MIB", "optIfOTSnAPRControlGroup"), ("OPT-IF-MIB", "optIfOTSnSinkGroupBasic"), ("OPT-IF-MIB", "optIfODUkTSinkGroup"), ("OPT-IF-MIB", "optIfOChGroupCommonGroup"), ("OPT-IF-MIB", "optIfOTMnGroup"), ("OPT-IF-MIB", "optIfODUkTSourceGroup"), ) ) if mibBuilder.loadTexts: optIfOtnConfigCompl.setDescription("Implementation requirements for the OTN configuration\nfunctions defined in this MIB module.") optIfPreOtnPMCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 133, 2, 2, 2)).setObjects(*(("OPT-IF-MIB", "optIfOChSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfOChGroupSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfOTSnSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOMSnSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfPerfMonGroup"), ("OPT-IF-MIB", "optIfOChGroupSourcePreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOTSnSourcePreOtnPMGroup"), ("OPT-IF-MIB", "optIfOMSnSinkPreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOChGroupSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOChSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOChSourcePreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOTSnSourcePreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOMSnSinkPreOtnPMGroup"), ("OPT-IF-MIB", "optIfOTSnSinkPreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOChGroupSinkPreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOMSnSourcePreOtnPMThresholdGroup"), ("OPT-IF-MIB", "optIfOChSinkPreOtnPMThresholdGroup"), ) ) if mibBuilder.loadTexts: optIfPreOtnPMCompl.setDescription("Implementation requirements for Pre-OTN performance\nmonitoring functions defined in this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("OPT-IF-MIB", PYSNMP_MODULE_ID=optIfMibModule) # Types mibBuilder.exportSymbols("OPT-IF-MIB", OptIfAcTI=OptIfAcTI, OptIfBitRateK=OptIfBitRateK, OptIfDEGM=OptIfDEGM, OptIfDEGThr=OptIfDEGThr, OptIfDirectionality=OptIfDirectionality, OptIfExDAPI=OptIfExDAPI, OptIfExSAPI=OptIfExSAPI, OptIfIntervalNumber=OptIfIntervalNumber, OptIfSinkOrSource=OptIfSinkOrSource, OptIfTIMDetMode=OptIfTIMDetMode, OptIfTxTI=OptIfTxTI) # Objects mibBuilder.exportSymbols("OPT-IF-MIB", optIfMibModule=optIfMibModule, optIfObjects=optIfObjects, optIfOTMn=optIfOTMn, optIfOTMnTable=optIfOTMnTable, optIfOTMnEntry=optIfOTMnEntry, optIfOTMnOrder=optIfOTMnOrder, optIfOTMnReduced=optIfOTMnReduced, optIfOTMnBitRates=optIfOTMnBitRates, optIfOTMnInterfaceType=optIfOTMnInterfaceType, optIfOTMnTcmMax=optIfOTMnTcmMax, optIfOTMnOpticalReach=optIfOTMnOpticalReach, optIfPerfMon=optIfPerfMon, optIfPerfMonIntervalTable=optIfPerfMonIntervalTable, optIfPerfMonIntervalEntry=optIfPerfMonIntervalEntry, optIfPerfMonCurrentTimeElapsed=optIfPerfMonCurrentTimeElapsed, optIfPerfMonCurDayTimeElapsed=optIfPerfMonCurDayTimeElapsed, optIfPerfMonIntervalNumIntervals=optIfPerfMonIntervalNumIntervals, optIfPerfMonIntervalNumInvalidIntervals=optIfPerfMonIntervalNumInvalidIntervals, optIfOTSn=optIfOTSn, optIfOTSnConfigTable=optIfOTSnConfigTable, optIfOTSnConfigEntry=optIfOTSnConfigEntry, optIfOTSnDirectionality=optIfOTSnDirectionality, optIfOTSnAprStatus=optIfOTSnAprStatus, optIfOTSnAprControl=optIfOTSnAprControl, optIfOTSnTraceIdentifierTransmitted=optIfOTSnTraceIdentifierTransmitted, optIfOTSnDAPIExpected=optIfOTSnDAPIExpected, optIfOTSnSAPIExpected=optIfOTSnSAPIExpected, optIfOTSnTraceIdentifierAccepted=optIfOTSnTraceIdentifierAccepted, optIfOTSnTIMDetMode=optIfOTSnTIMDetMode, optIfOTSnTIMActEnabled=optIfOTSnTIMActEnabled, optIfOTSnCurrentStatus=optIfOTSnCurrentStatus, optIfOTSnSinkCurrentTable=optIfOTSnSinkCurrentTable, optIfOTSnSinkCurrentEntry=optIfOTSnSinkCurrentEntry, optIfOTSnSinkCurrentSuspectedFlag=optIfOTSnSinkCurrentSuspectedFlag, optIfOTSnSinkCurrentInputPower=optIfOTSnSinkCurrentInputPower, optIfOTSnSinkCurrentLowInputPower=optIfOTSnSinkCurrentLowInputPower, optIfOTSnSinkCurrentHighInputPower=optIfOTSnSinkCurrentHighInputPower, optIfOTSnSinkCurrentLowerInputPowerThreshold=optIfOTSnSinkCurrentLowerInputPowerThreshold, optIfOTSnSinkCurrentUpperInputPowerThreshold=optIfOTSnSinkCurrentUpperInputPowerThreshold, optIfOTSnSinkCurrentOutputPower=optIfOTSnSinkCurrentOutputPower, optIfOTSnSinkCurrentLowOutputPower=optIfOTSnSinkCurrentLowOutputPower, optIfOTSnSinkCurrentHighOutputPower=optIfOTSnSinkCurrentHighOutputPower, optIfOTSnSinkCurrentLowerOutputPowerThreshold=optIfOTSnSinkCurrentLowerOutputPowerThreshold, optIfOTSnSinkCurrentUpperOutputPowerThreshold=optIfOTSnSinkCurrentUpperOutputPowerThreshold, optIfOTSnSinkIntervalTable=optIfOTSnSinkIntervalTable, optIfOTSnSinkIntervalEntry=optIfOTSnSinkIntervalEntry, optIfOTSnSinkIntervalNumber=optIfOTSnSinkIntervalNumber, optIfOTSnSinkIntervalSuspectedFlag=optIfOTSnSinkIntervalSuspectedFlag, optIfOTSnSinkIntervalLastInputPower=optIfOTSnSinkIntervalLastInputPower, optIfOTSnSinkIntervalLowInputPower=optIfOTSnSinkIntervalLowInputPower, optIfOTSnSinkIntervalHighInputPower=optIfOTSnSinkIntervalHighInputPower, optIfOTSnSinkIntervalLastOutputPower=optIfOTSnSinkIntervalLastOutputPower, optIfOTSnSinkIntervalLowOutputPower=optIfOTSnSinkIntervalLowOutputPower, optIfOTSnSinkIntervalHighOutputPower=optIfOTSnSinkIntervalHighOutputPower, optIfOTSnSinkCurDayTable=optIfOTSnSinkCurDayTable, optIfOTSnSinkCurDayEntry=optIfOTSnSinkCurDayEntry, optIfOTSnSinkCurDaySuspectedFlag=optIfOTSnSinkCurDaySuspectedFlag, optIfOTSnSinkCurDayLowInputPower=optIfOTSnSinkCurDayLowInputPower, optIfOTSnSinkCurDayHighInputPower=optIfOTSnSinkCurDayHighInputPower, optIfOTSnSinkCurDayLowOutputPower=optIfOTSnSinkCurDayLowOutputPower, optIfOTSnSinkCurDayHighOutputPower=optIfOTSnSinkCurDayHighOutputPower, optIfOTSnSinkPrevDayTable=optIfOTSnSinkPrevDayTable, optIfOTSnSinkPrevDayEntry=optIfOTSnSinkPrevDayEntry, optIfOTSnSinkPrevDaySuspectedFlag=optIfOTSnSinkPrevDaySuspectedFlag, optIfOTSnSinkPrevDayLastInputPower=optIfOTSnSinkPrevDayLastInputPower, optIfOTSnSinkPrevDayLowInputPower=optIfOTSnSinkPrevDayLowInputPower, optIfOTSnSinkPrevDayHighInputPower=optIfOTSnSinkPrevDayHighInputPower, optIfOTSnSinkPrevDayLastOutputPower=optIfOTSnSinkPrevDayLastOutputPower, optIfOTSnSinkPrevDayLowOutputPower=optIfOTSnSinkPrevDayLowOutputPower, optIfOTSnSinkPrevDayHighOutputPower=optIfOTSnSinkPrevDayHighOutputPower, optIfOTSnSrcCurrentTable=optIfOTSnSrcCurrentTable, optIfOTSnSrcCurrentEntry=optIfOTSnSrcCurrentEntry, optIfOTSnSrcCurrentSuspectedFlag=optIfOTSnSrcCurrentSuspectedFlag, optIfOTSnSrcCurrentOutputPower=optIfOTSnSrcCurrentOutputPower, optIfOTSnSrcCurrentLowOutputPower=optIfOTSnSrcCurrentLowOutputPower, optIfOTSnSrcCurrentHighOutputPower=optIfOTSnSrcCurrentHighOutputPower, optIfOTSnSrcCurrentLowerOutputPowerThreshold=optIfOTSnSrcCurrentLowerOutputPowerThreshold, optIfOTSnSrcCurrentUpperOutputPowerThreshold=optIfOTSnSrcCurrentUpperOutputPowerThreshold, optIfOTSnSrcCurrentInputPower=optIfOTSnSrcCurrentInputPower, optIfOTSnSrcCurrentLowInputPower=optIfOTSnSrcCurrentLowInputPower, optIfOTSnSrcCurrentHighInputPower=optIfOTSnSrcCurrentHighInputPower, optIfOTSnSrcCurrentLowerInputPowerThreshold=optIfOTSnSrcCurrentLowerInputPowerThreshold, optIfOTSnSrcCurrentUpperInputPowerThreshold=optIfOTSnSrcCurrentUpperInputPowerThreshold, optIfOTSnSrcIntervalTable=optIfOTSnSrcIntervalTable, optIfOTSnSrcIntervalEntry=optIfOTSnSrcIntervalEntry, optIfOTSnSrcIntervalNumber=optIfOTSnSrcIntervalNumber, optIfOTSnSrcIntervalSuspectedFlag=optIfOTSnSrcIntervalSuspectedFlag, optIfOTSnSrcIntervalLastOutputPower=optIfOTSnSrcIntervalLastOutputPower, optIfOTSnSrcIntervalLowOutputPower=optIfOTSnSrcIntervalLowOutputPower, optIfOTSnSrcIntervalHighOutputPower=optIfOTSnSrcIntervalHighOutputPower, optIfOTSnSrcIntervalLastInputPower=optIfOTSnSrcIntervalLastInputPower, optIfOTSnSrcIntervalLowInputPower=optIfOTSnSrcIntervalLowInputPower, optIfOTSnSrcIntervalHighInputPower=optIfOTSnSrcIntervalHighInputPower, optIfOTSnSrcCurDayTable=optIfOTSnSrcCurDayTable, optIfOTSnSrcCurDayEntry=optIfOTSnSrcCurDayEntry, optIfOTSnSrcCurDaySuspectedFlag=optIfOTSnSrcCurDaySuspectedFlag, optIfOTSnSrcCurDayLowOutputPower=optIfOTSnSrcCurDayLowOutputPower, optIfOTSnSrcCurDayHighOutputPower=optIfOTSnSrcCurDayHighOutputPower, optIfOTSnSrcCurDayLowInputPower=optIfOTSnSrcCurDayLowInputPower, optIfOTSnSrcCurDayHighInputPower=optIfOTSnSrcCurDayHighInputPower, optIfOTSnSrcPrevDayTable=optIfOTSnSrcPrevDayTable, optIfOTSnSrcPrevDayEntry=optIfOTSnSrcPrevDayEntry, optIfOTSnSrcPrevDaySuspectedFlag=optIfOTSnSrcPrevDaySuspectedFlag, optIfOTSnSrcPrevDayLastOutputPower=optIfOTSnSrcPrevDayLastOutputPower, optIfOTSnSrcPrevDayLowOutputPower=optIfOTSnSrcPrevDayLowOutputPower, optIfOTSnSrcPrevDayHighOutputPower=optIfOTSnSrcPrevDayHighOutputPower, optIfOTSnSrcPrevDayLastInputPower=optIfOTSnSrcPrevDayLastInputPower, optIfOTSnSrcPrevDayLowInputPower=optIfOTSnSrcPrevDayLowInputPower, optIfOTSnSrcPrevDayHighInputPower=optIfOTSnSrcPrevDayHighInputPower, optIfOMSn=optIfOMSn, optIfOMSnConfigTable=optIfOMSnConfigTable, optIfOMSnConfigEntry=optIfOMSnConfigEntry, optIfOMSnDirectionality=optIfOMSnDirectionality, optIfOMSnCurrentStatus=optIfOMSnCurrentStatus, optIfOMSnSinkCurrentTable=optIfOMSnSinkCurrentTable, optIfOMSnSinkCurrentEntry=optIfOMSnSinkCurrentEntry, optIfOMSnSinkCurrentSuspectedFlag=optIfOMSnSinkCurrentSuspectedFlag, optIfOMSnSinkCurrentAggregatedInputPower=optIfOMSnSinkCurrentAggregatedInputPower, optIfOMSnSinkCurrentLowAggregatedInputPower=optIfOMSnSinkCurrentLowAggregatedInputPower, optIfOMSnSinkCurrentHighAggregatedInputPower=optIfOMSnSinkCurrentHighAggregatedInputPower, optIfOMSnSinkCurrentLowerInputPowerThreshold=optIfOMSnSinkCurrentLowerInputPowerThreshold, optIfOMSnSinkCurrentUpperInputPowerThreshold=optIfOMSnSinkCurrentUpperInputPowerThreshold, optIfOMSnSinkCurrentOutputPower=optIfOMSnSinkCurrentOutputPower, optIfOMSnSinkCurrentLowOutputPower=optIfOMSnSinkCurrentLowOutputPower, optIfOMSnSinkCurrentHighOutputPower=optIfOMSnSinkCurrentHighOutputPower, optIfOMSnSinkCurrentLowerOutputPowerThreshold=optIfOMSnSinkCurrentLowerOutputPowerThreshold) mibBuilder.exportSymbols("OPT-IF-MIB", optIfOMSnSinkCurrentUpperOutputPowerThreshold=optIfOMSnSinkCurrentUpperOutputPowerThreshold, optIfOMSnSinkIntervalTable=optIfOMSnSinkIntervalTable, optIfOMSnSinkIntervalEntry=optIfOMSnSinkIntervalEntry, optIfOMSnSinkIntervalNumber=optIfOMSnSinkIntervalNumber, optIfOMSnSinkIntervalSuspectedFlag=optIfOMSnSinkIntervalSuspectedFlag, optIfOMSnSinkIntervalLastAggregatedInputPower=optIfOMSnSinkIntervalLastAggregatedInputPower, optIfOMSnSinkIntervalLowAggregatedInputPower=optIfOMSnSinkIntervalLowAggregatedInputPower, optIfOMSnSinkIntervalHighAggregatedInputPower=optIfOMSnSinkIntervalHighAggregatedInputPower, optIfOMSnSinkIntervalLastOutputPower=optIfOMSnSinkIntervalLastOutputPower, optIfOMSnSinkIntervalLowOutputPower=optIfOMSnSinkIntervalLowOutputPower, optIfOMSnSinkIntervalHighOutputPower=optIfOMSnSinkIntervalHighOutputPower, optIfOMSnSinkCurDayTable=optIfOMSnSinkCurDayTable, optIfOMSnSinkCurDayEntry=optIfOMSnSinkCurDayEntry, optIfOMSnSinkCurDaySuspectedFlag=optIfOMSnSinkCurDaySuspectedFlag, optIfOMSnSinkCurDayLowAggregatedInputPower=optIfOMSnSinkCurDayLowAggregatedInputPower, optIfOMSnSinkCurDayHighAggregatedInputPower=optIfOMSnSinkCurDayHighAggregatedInputPower, optIfOMSnSinkCurDayLowOutputPower=optIfOMSnSinkCurDayLowOutputPower, optIfOMSnSinkCurDayHighOutputPower=optIfOMSnSinkCurDayHighOutputPower, optIfOMSnSinkPrevDayTable=optIfOMSnSinkPrevDayTable, optIfOMSnSinkPrevDayEntry=optIfOMSnSinkPrevDayEntry, optIfOMSnSinkPrevDaySuspectedFlag=optIfOMSnSinkPrevDaySuspectedFlag, optIfOMSnSinkPrevDayLastAggregatedInputPower=optIfOMSnSinkPrevDayLastAggregatedInputPower, optIfOMSnSinkPrevDayLowAggregatedInputPower=optIfOMSnSinkPrevDayLowAggregatedInputPower, optIfOMSnSinkPrevDayHighAggregatedInputPower=optIfOMSnSinkPrevDayHighAggregatedInputPower, optIfOMSnSinkPrevDayLastOutputPower=optIfOMSnSinkPrevDayLastOutputPower, optIfOMSnSinkPrevDayLowOutputPower=optIfOMSnSinkPrevDayLowOutputPower, optIfOMSnSinkPrevDayHighOutputPower=optIfOMSnSinkPrevDayHighOutputPower, optIfOMSnSrcCurrentTable=optIfOMSnSrcCurrentTable, optIfOMSnSrcCurrentEntry=optIfOMSnSrcCurrentEntry, optIfOMSnSrcCurrentSuspectedFlag=optIfOMSnSrcCurrentSuspectedFlag, optIfOMSnSrcCurrentOutputPower=optIfOMSnSrcCurrentOutputPower, optIfOMSnSrcCurrentLowOutputPower=optIfOMSnSrcCurrentLowOutputPower, optIfOMSnSrcCurrentHighOutputPower=optIfOMSnSrcCurrentHighOutputPower, optIfOMSnSrcCurrentLowerOutputPowerThreshold=optIfOMSnSrcCurrentLowerOutputPowerThreshold, optIfOMSnSrcCurrentUpperOutputPowerThreshold=optIfOMSnSrcCurrentUpperOutputPowerThreshold, optIfOMSnSrcCurrentAggregatedInputPower=optIfOMSnSrcCurrentAggregatedInputPower, optIfOMSnSrcCurrentLowAggregatedInputPower=optIfOMSnSrcCurrentLowAggregatedInputPower, optIfOMSnSrcCurrentHighAggregatedInputPower=optIfOMSnSrcCurrentHighAggregatedInputPower, optIfOMSnSrcCurrentLowerInputPowerThreshold=optIfOMSnSrcCurrentLowerInputPowerThreshold, optIfOMSnSrcCurrentUpperInputPowerThreshold=optIfOMSnSrcCurrentUpperInputPowerThreshold, optIfOMSnSrcIntervalTable=optIfOMSnSrcIntervalTable, optIfOMSnSrcIntervalEntry=optIfOMSnSrcIntervalEntry, optIfOMSnSrcIntervalNumber=optIfOMSnSrcIntervalNumber, optIfOMSnSrcIntervalSuspectedFlag=optIfOMSnSrcIntervalSuspectedFlag, optIfOMSnSrcIntervalLastOutputPower=optIfOMSnSrcIntervalLastOutputPower, optIfOMSnSrcIntervalLowOutputPower=optIfOMSnSrcIntervalLowOutputPower, optIfOMSnSrcIntervalHighOutputPower=optIfOMSnSrcIntervalHighOutputPower, optIfOMSnSrcIntervalLastAggregatedInputPower=optIfOMSnSrcIntervalLastAggregatedInputPower, optIfOMSnSrcIntervalLowAggregatedInputPower=optIfOMSnSrcIntervalLowAggregatedInputPower, optIfOMSnSrcIntervalHighAggregatedInputPower=optIfOMSnSrcIntervalHighAggregatedInputPower, optIfOMSnSrcCurDayTable=optIfOMSnSrcCurDayTable, optIfOMSnSrcCurDayEntry=optIfOMSnSrcCurDayEntry, optIfOMSnSrcCurDaySuspectedFlag=optIfOMSnSrcCurDaySuspectedFlag, optIfOMSnSrcCurDayLowOutputPower=optIfOMSnSrcCurDayLowOutputPower, optIfOMSnSrcCurDayHighOutputPower=optIfOMSnSrcCurDayHighOutputPower, optIfOMSnSrcCurDayLowAggregatedInputPower=optIfOMSnSrcCurDayLowAggregatedInputPower, optIfOMSnSrcCurDayHighAggregatedInputPower=optIfOMSnSrcCurDayHighAggregatedInputPower, optIfOMSnSrcPrevDayTable=optIfOMSnSrcPrevDayTable, optIfOMSnSrcPrevDayEntry=optIfOMSnSrcPrevDayEntry, optIfOMSnSrcPrevDaySuspectedFlag=optIfOMSnSrcPrevDaySuspectedFlag, optIfOMSnSrcPrevDayLastOutputPower=optIfOMSnSrcPrevDayLastOutputPower, optIfOMSnSrcPrevDayLowOutputPower=optIfOMSnSrcPrevDayLowOutputPower, optIfOMSnSrcPrevDayHighOutputPower=optIfOMSnSrcPrevDayHighOutputPower, optIfOMSnSrcPrevDayLastAggregatedInputPower=optIfOMSnSrcPrevDayLastAggregatedInputPower, optIfOMSnSrcPrevDayLowAggregatedInputPower=optIfOMSnSrcPrevDayLowAggregatedInputPower, optIfOMSnSrcPrevDayHighAggregatedInputPower=optIfOMSnSrcPrevDayHighAggregatedInputPower, optIfOChGroup=optIfOChGroup, optIfOChGroupConfigTable=optIfOChGroupConfigTable, optIfOChGroupConfigEntry=optIfOChGroupConfigEntry, optIfOChGroupDirectionality=optIfOChGroupDirectionality, optIfOChGroupSinkCurrentTable=optIfOChGroupSinkCurrentTable, optIfOChGroupSinkCurrentEntry=optIfOChGroupSinkCurrentEntry, optIfOChGroupSinkCurrentSuspectedFlag=optIfOChGroupSinkCurrentSuspectedFlag, optIfOChGroupSinkCurrentAggregatedInputPower=optIfOChGroupSinkCurrentAggregatedInputPower, optIfOChGroupSinkCurrentLowAggregatedInputPower=optIfOChGroupSinkCurrentLowAggregatedInputPower, optIfOChGroupSinkCurrentHighAggregatedInputPower=optIfOChGroupSinkCurrentHighAggregatedInputPower, optIfOChGroupSinkCurrentLowerInputPowerThreshold=optIfOChGroupSinkCurrentLowerInputPowerThreshold, optIfOChGroupSinkCurrentUpperInputPowerThreshold=optIfOChGroupSinkCurrentUpperInputPowerThreshold, optIfOChGroupSinkCurrentOutputPower=optIfOChGroupSinkCurrentOutputPower, optIfOChGroupSinkCurrentLowOutputPower=optIfOChGroupSinkCurrentLowOutputPower, optIfOChGroupSinkCurrentHighOutputPower=optIfOChGroupSinkCurrentHighOutputPower, optIfOChGroupSinkCurrentLowerOutputPowerThreshold=optIfOChGroupSinkCurrentLowerOutputPowerThreshold, optIfOChGroupSinkCurrentUpperOutputPowerThreshold=optIfOChGroupSinkCurrentUpperOutputPowerThreshold, optIfOChGroupSinkIntervalTable=optIfOChGroupSinkIntervalTable, optIfOChGroupSinkIntervalEntry=optIfOChGroupSinkIntervalEntry, optIfOChGroupSinkIntervalNumber=optIfOChGroupSinkIntervalNumber, optIfOChGroupSinkIntervalSuspectedFlag=optIfOChGroupSinkIntervalSuspectedFlag, optIfOChGroupSinkIntervalLastAggregatedInputPower=optIfOChGroupSinkIntervalLastAggregatedInputPower, optIfOChGroupSinkIntervalLowAggregatedInputPower=optIfOChGroupSinkIntervalLowAggregatedInputPower, optIfOChGroupSinkIntervalHighAggregatedInputPower=optIfOChGroupSinkIntervalHighAggregatedInputPower, optIfOChGroupSinkIntervalLastOutputPower=optIfOChGroupSinkIntervalLastOutputPower, optIfOChGroupSinkIntervalLowOutputPower=optIfOChGroupSinkIntervalLowOutputPower, optIfOChGroupSinkIntervalHighOutputPower=optIfOChGroupSinkIntervalHighOutputPower, optIfOChGroupSinkCurDayTable=optIfOChGroupSinkCurDayTable, optIfOChGroupSinkCurDayEntry=optIfOChGroupSinkCurDayEntry, optIfOChGroupSinkCurDaySuspectedFlag=optIfOChGroupSinkCurDaySuspectedFlag, optIfOChGroupSinkCurDayLowAggregatedInputPower=optIfOChGroupSinkCurDayLowAggregatedInputPower, optIfOChGroupSinkCurDayHighAggregatedInputPower=optIfOChGroupSinkCurDayHighAggregatedInputPower, optIfOChGroupSinkCurDayLowOutputPower=optIfOChGroupSinkCurDayLowOutputPower, optIfOChGroupSinkCurDayHighOutputPower=optIfOChGroupSinkCurDayHighOutputPower, optIfOChGroupSinkPrevDayTable=optIfOChGroupSinkPrevDayTable, optIfOChGroupSinkPrevDayEntry=optIfOChGroupSinkPrevDayEntry, optIfOChGroupSinkPrevDaySuspectedFlag=optIfOChGroupSinkPrevDaySuspectedFlag, optIfOChGroupSinkPrevDayLastAggregatedInputPower=optIfOChGroupSinkPrevDayLastAggregatedInputPower, optIfOChGroupSinkPrevDayLowAggregatedInputPower=optIfOChGroupSinkPrevDayLowAggregatedInputPower, optIfOChGroupSinkPrevDayHighAggregatedInputPower=optIfOChGroupSinkPrevDayHighAggregatedInputPower, optIfOChGroupSinkPrevDayLastOutputPower=optIfOChGroupSinkPrevDayLastOutputPower, optIfOChGroupSinkPrevDayLowOutputPower=optIfOChGroupSinkPrevDayLowOutputPower, optIfOChGroupSinkPrevDayHighOutputPower=optIfOChGroupSinkPrevDayHighOutputPower, optIfOChGroupSrcCurrentTable=optIfOChGroupSrcCurrentTable, optIfOChGroupSrcCurrentEntry=optIfOChGroupSrcCurrentEntry, optIfOChGroupSrcCurrentSuspectedFlag=optIfOChGroupSrcCurrentSuspectedFlag, optIfOChGroupSrcCurrentOutputPower=optIfOChGroupSrcCurrentOutputPower, optIfOChGroupSrcCurrentLowOutputPower=optIfOChGroupSrcCurrentLowOutputPower, optIfOChGroupSrcCurrentHighOutputPower=optIfOChGroupSrcCurrentHighOutputPower, optIfOChGroupSrcCurrentLowerOutputPowerThreshold=optIfOChGroupSrcCurrentLowerOutputPowerThreshold, optIfOChGroupSrcCurrentUpperOutputPowerThreshold=optIfOChGroupSrcCurrentUpperOutputPowerThreshold, optIfOChGroupSrcCurrentAggregatedInputPower=optIfOChGroupSrcCurrentAggregatedInputPower, optIfOChGroupSrcCurrentLowAggregatedInputPower=optIfOChGroupSrcCurrentLowAggregatedInputPower, optIfOChGroupSrcCurrentHighAggregatedInputPower=optIfOChGroupSrcCurrentHighAggregatedInputPower, optIfOChGroupSrcCurrentLowerInputPowerThreshold=optIfOChGroupSrcCurrentLowerInputPowerThreshold, optIfOChGroupSrcCurrentUpperInputPowerThreshold=optIfOChGroupSrcCurrentUpperInputPowerThreshold, optIfOChGroupSrcIntervalTable=optIfOChGroupSrcIntervalTable, optIfOChGroupSrcIntervalEntry=optIfOChGroupSrcIntervalEntry, optIfOChGroupSrcIntervalNumber=optIfOChGroupSrcIntervalNumber, optIfOChGroupSrcIntervalSuspectedFlag=optIfOChGroupSrcIntervalSuspectedFlag, optIfOChGroupSrcIntervalLastOutputPower=optIfOChGroupSrcIntervalLastOutputPower) mibBuilder.exportSymbols("OPT-IF-MIB", optIfOChGroupSrcIntervalLowOutputPower=optIfOChGroupSrcIntervalLowOutputPower, optIfOChGroupSrcIntervalHighOutputPower=optIfOChGroupSrcIntervalHighOutputPower, optIfOChGroupSrcIntervalLastAggregatedInputPower=optIfOChGroupSrcIntervalLastAggregatedInputPower, optIfOChGroupSrcIntervalLowAggregatedInputPower=optIfOChGroupSrcIntervalLowAggregatedInputPower, optIfOChGroupSrcIntervalHighAggregatedInputPower=optIfOChGroupSrcIntervalHighAggregatedInputPower, optIfOChGroupSrcCurDayTable=optIfOChGroupSrcCurDayTable, optIfOChGroupSrcCurDayEntry=optIfOChGroupSrcCurDayEntry, optIfOChGroupSrcCurDaySuspectedFlag=optIfOChGroupSrcCurDaySuspectedFlag, optIfOChGroupSrcCurDayLowOutputPower=optIfOChGroupSrcCurDayLowOutputPower, optIfOChGroupSrcCurDayHighOutputPower=optIfOChGroupSrcCurDayHighOutputPower, optIfOChGroupSrcCurDayLowAggregatedInputPower=optIfOChGroupSrcCurDayLowAggregatedInputPower, optIfOChGroupSrcCurDayHighAggregatedInputPower=optIfOChGroupSrcCurDayHighAggregatedInputPower, optIfOChGroupSrcPrevDayTable=optIfOChGroupSrcPrevDayTable, optIfOChGroupSrcPrevDayEntry=optIfOChGroupSrcPrevDayEntry, optIfOChGroupSrcPrevDaySuspectedFlag=optIfOChGroupSrcPrevDaySuspectedFlag, optIfOChGroupSrcPrevDayLastOutputPower=optIfOChGroupSrcPrevDayLastOutputPower, optIfOChGroupSrcPrevDayLowOutputPower=optIfOChGroupSrcPrevDayLowOutputPower, optIfOChGroupSrcPrevDayHighOutputPower=optIfOChGroupSrcPrevDayHighOutputPower, optIfOChGroupSrcPrevDayLastAggregatedInputPower=optIfOChGroupSrcPrevDayLastAggregatedInputPower, optIfOChGroupSrcPrevDayLowAggregatedInputPower=optIfOChGroupSrcPrevDayLowAggregatedInputPower, optIfOChGroupSrcPrevDayHighAggregatedInputPower=optIfOChGroupSrcPrevDayHighAggregatedInputPower, optIfOCh=optIfOCh, optIfOChConfigTable=optIfOChConfigTable, optIfOChConfigEntry=optIfOChConfigEntry, optIfOChDirectionality=optIfOChDirectionality, optIfOChCurrentStatus=optIfOChCurrentStatus, optIfOChSinkCurrentTable=optIfOChSinkCurrentTable, optIfOChSinkCurrentEntry=optIfOChSinkCurrentEntry, optIfOChSinkCurrentSuspectedFlag=optIfOChSinkCurrentSuspectedFlag, optIfOChSinkCurrentInputPower=optIfOChSinkCurrentInputPower, optIfOChSinkCurrentLowInputPower=optIfOChSinkCurrentLowInputPower, optIfOChSinkCurrentHighInputPower=optIfOChSinkCurrentHighInputPower, optIfOChSinkCurrentLowerInputPowerThreshold=optIfOChSinkCurrentLowerInputPowerThreshold, optIfOChSinkCurrentUpperInputPowerThreshold=optIfOChSinkCurrentUpperInputPowerThreshold, optIfOChSinkIntervalTable=optIfOChSinkIntervalTable, optIfOChSinkIntervalEntry=optIfOChSinkIntervalEntry, optIfOChSinkIntervalNumber=optIfOChSinkIntervalNumber, optIfOChSinkIntervalSuspectedFlag=optIfOChSinkIntervalSuspectedFlag, optIfOChSinkIntervalLastInputPower=optIfOChSinkIntervalLastInputPower, optIfOChSinkIntervalLowInputPower=optIfOChSinkIntervalLowInputPower, optIfOChSinkIntervalHighInputPower=optIfOChSinkIntervalHighInputPower, optIfOChSinkCurDayTable=optIfOChSinkCurDayTable, optIfOChSinkCurDayEntry=optIfOChSinkCurDayEntry, optIfOChSinkCurDaySuspectedFlag=optIfOChSinkCurDaySuspectedFlag, optIfOChSinkCurDayLowInputPower=optIfOChSinkCurDayLowInputPower, optIfOChSinkCurDayHighInputPower=optIfOChSinkCurDayHighInputPower, optIfOChSinkPrevDayTable=optIfOChSinkPrevDayTable, optIfOChSinkPrevDayEntry=optIfOChSinkPrevDayEntry, optIfOChSinkPrevDaySuspectedFlag=optIfOChSinkPrevDaySuspectedFlag, optIfOChSinkPrevDayLastInputPower=optIfOChSinkPrevDayLastInputPower, optIfOChSinkPrevDayLowInputPower=optIfOChSinkPrevDayLowInputPower, optIfOChSinkPrevDayHighInputPower=optIfOChSinkPrevDayHighInputPower, optIfOChSrcCurrentTable=optIfOChSrcCurrentTable, optIfOChSrcCurrentEntry=optIfOChSrcCurrentEntry, optIfOChSrcCurrentSuspectedFlag=optIfOChSrcCurrentSuspectedFlag, optIfOChSrcCurrentOutputPower=optIfOChSrcCurrentOutputPower, optIfOChSrcCurrentLowOutputPower=optIfOChSrcCurrentLowOutputPower, optIfOChSrcCurrentHighOutputPower=optIfOChSrcCurrentHighOutputPower, optIfOChSrcCurrentLowerOutputPowerThreshold=optIfOChSrcCurrentLowerOutputPowerThreshold, optIfOChSrcCurrentUpperOutputPowerThreshold=optIfOChSrcCurrentUpperOutputPowerThreshold, optIfOChSrcIntervalTable=optIfOChSrcIntervalTable, optIfOChSrcIntervalEntry=optIfOChSrcIntervalEntry, optIfOChSrcIntervalNumber=optIfOChSrcIntervalNumber, optIfOChSrcIntervalSuspectedFlag=optIfOChSrcIntervalSuspectedFlag, optIfOChSrcIntervalLastOutputPower=optIfOChSrcIntervalLastOutputPower, optIfOChSrcIntervalLowOutputPower=optIfOChSrcIntervalLowOutputPower, optIfOChSrcIntervalHighOutputPower=optIfOChSrcIntervalHighOutputPower, optIfOChSrcCurDayTable=optIfOChSrcCurDayTable, optIfOChSrcCurDayEntry=optIfOChSrcCurDayEntry, optIfOChSrcCurDaySuspectedFlag=optIfOChSrcCurDaySuspectedFlag, optIfOChSrcCurDayLowOutputPower=optIfOChSrcCurDayLowOutputPower, optIfOChSrcCurDayHighOutputPower=optIfOChSrcCurDayHighOutputPower, optIfOChSrcPrevDayTable=optIfOChSrcPrevDayTable, optIfOChSrcPrevDayEntry=optIfOChSrcPrevDayEntry, optIfOChSrcPrevDaySuspectedFlag=optIfOChSrcPrevDaySuspectedFlag, optIfOChSrcPrevDayLastOutputPower=optIfOChSrcPrevDayLastOutputPower, optIfOChSrcPrevDayLowOutputPower=optIfOChSrcPrevDayLowOutputPower, optIfOChSrcPrevDayHighOutputPower=optIfOChSrcPrevDayHighOutputPower, optIfOTUk=optIfOTUk, optIfOTUkConfigTable=optIfOTUkConfigTable, optIfOTUkConfigEntry=optIfOTUkConfigEntry, optIfOTUkDirectionality=optIfOTUkDirectionality, optIfOTUkBitRateK=optIfOTUkBitRateK, optIfOTUkTraceIdentifierTransmitted=optIfOTUkTraceIdentifierTransmitted, optIfOTUkDAPIExpected=optIfOTUkDAPIExpected, optIfOTUkSAPIExpected=optIfOTUkSAPIExpected, optIfOTUkTraceIdentifierAccepted=optIfOTUkTraceIdentifierAccepted, optIfOTUkTIMDetMode=optIfOTUkTIMDetMode, optIfOTUkTIMActEnabled=optIfOTUkTIMActEnabled, optIfOTUkDEGThr=optIfOTUkDEGThr, optIfOTUkDEGM=optIfOTUkDEGM, optIfOTUkSinkAdaptActive=optIfOTUkSinkAdaptActive, optIfOTUkSourceAdaptActive=optIfOTUkSourceAdaptActive, optIfOTUkSinkFECEnabled=optIfOTUkSinkFECEnabled, optIfOTUkCurrentStatus=optIfOTUkCurrentStatus, optIfGCC0ConfigTable=optIfGCC0ConfigTable, optIfGCC0ConfigEntry=optIfGCC0ConfigEntry, optIfGCC0Directionality=optIfGCC0Directionality, optIfGCC0Application=optIfGCC0Application, optIfGCC0RowStatus=optIfGCC0RowStatus, optIfODUk=optIfODUk, optIfODUkConfigTable=optIfODUkConfigTable, optIfODUkConfigEntry=optIfODUkConfigEntry, optIfODUkDirectionality=optIfODUkDirectionality, optIfODUkBitRateK=optIfODUkBitRateK, optIfODUkTcmFieldsInUse=optIfODUkTcmFieldsInUse, optIfODUkPositionSeqCurrentSize=optIfODUkPositionSeqCurrentSize, optIfODUkTtpPresent=optIfODUkTtpPresent, optIfODUkTtpConfigTable=optIfODUkTtpConfigTable, optIfODUkTtpConfigEntry=optIfODUkTtpConfigEntry, optIfODUkTtpTraceIdentifierTransmitted=optIfODUkTtpTraceIdentifierTransmitted, optIfODUkTtpDAPIExpected=optIfODUkTtpDAPIExpected, optIfODUkTtpSAPIExpected=optIfODUkTtpSAPIExpected, optIfODUkTtpTraceIdentifierAccepted=optIfODUkTtpTraceIdentifierAccepted, optIfODUkTtpTIMDetMode=optIfODUkTtpTIMDetMode, optIfODUkTtpTIMActEnabled=optIfODUkTtpTIMActEnabled, optIfODUkTtpDEGThr=optIfODUkTtpDEGThr, optIfODUkTtpDEGM=optIfODUkTtpDEGM, optIfODUkTtpCurrentStatus=optIfODUkTtpCurrentStatus, optIfODUkPositionSeqTable=optIfODUkPositionSeqTable, optIfODUkPositionSeqEntry=optIfODUkPositionSeqEntry, optIfODUkPositionSeqIndex=optIfODUkPositionSeqIndex, optIfODUkPositionSeqPosition=optIfODUkPositionSeqPosition, optIfODUkPositionSeqPointer=optIfODUkPositionSeqPointer, optIfODUkNimConfigTable=optIfODUkNimConfigTable, optIfODUkNimConfigEntry=optIfODUkNimConfigEntry, optIfODUkNimDirectionality=optIfODUkNimDirectionality) mibBuilder.exportSymbols("OPT-IF-MIB", optIfODUkNimDAPIExpected=optIfODUkNimDAPIExpected, optIfODUkNimSAPIExpected=optIfODUkNimSAPIExpected, optIfODUkNimTraceIdentifierAccepted=optIfODUkNimTraceIdentifierAccepted, optIfODUkNimTIMDetMode=optIfODUkNimTIMDetMode, optIfODUkNimTIMActEnabled=optIfODUkNimTIMActEnabled, optIfODUkNimDEGThr=optIfODUkNimDEGThr, optIfODUkNimDEGM=optIfODUkNimDEGM, optIfODUkNimCurrentStatus=optIfODUkNimCurrentStatus, optIfODUkNimRowStatus=optIfODUkNimRowStatus, optIfGCC12ConfigTable=optIfGCC12ConfigTable, optIfGCC12ConfigEntry=optIfGCC12ConfigEntry, optIfGCC12Codirectional=optIfGCC12Codirectional, optIfGCC12GCCAccess=optIfGCC12GCCAccess, optIfGCC12GCCPassThrough=optIfGCC12GCCPassThrough, optIfGCC12Application=optIfGCC12Application, optIfGCC12RowStatus=optIfGCC12RowStatus, optIfODUkT=optIfODUkT, optIfODUkTConfigTable=optIfODUkTConfigTable, optIfODUkTConfigEntry=optIfODUkTConfigEntry, optIfODUkTTcmField=optIfODUkTTcmField, optIfODUkTCodirectional=optIfODUkTCodirectional, optIfODUkTTraceIdentifierTransmitted=optIfODUkTTraceIdentifierTransmitted, optIfODUkTDAPIExpected=optIfODUkTDAPIExpected, optIfODUkTSAPIExpected=optIfODUkTSAPIExpected, optIfODUkTTraceIdentifierAccepted=optIfODUkTTraceIdentifierAccepted, optIfODUkTTIMDetMode=optIfODUkTTIMDetMode, optIfODUkTTIMActEnabled=optIfODUkTTIMActEnabled, optIfODUkTDEGThr=optIfODUkTDEGThr, optIfODUkTDEGM=optIfODUkTDEGM, optIfODUkTSinkMode=optIfODUkTSinkMode, optIfODUkTSinkLockSignalAdminState=optIfODUkTSinkLockSignalAdminState, optIfODUkTSourceLockSignalAdminState=optIfODUkTSourceLockSignalAdminState, optIfODUkTCurrentStatus=optIfODUkTCurrentStatus, optIfODUkTRowStatus=optIfODUkTRowStatus, optIfODUkTNimConfigTable=optIfODUkTNimConfigTable, optIfODUkTNimConfigEntry=optIfODUkTNimConfigEntry, optIfODUkTNimTcmField=optIfODUkTNimTcmField, optIfODUkTNimDirectionality=optIfODUkTNimDirectionality, optIfODUkTNimDAPIExpected=optIfODUkTNimDAPIExpected, optIfODUkTNimSAPIExpected=optIfODUkTNimSAPIExpected, optIfODUkTNimTraceIdentifierAccepted=optIfODUkTNimTraceIdentifierAccepted, optIfODUkTNimTIMDetMode=optIfODUkTNimTIMDetMode, optIfODUkTNimTIMActEnabled=optIfODUkTNimTIMActEnabled, optIfODUkTNimDEGThr=optIfODUkTNimDEGThr, optIfODUkTNimDEGM=optIfODUkTNimDEGM, optIfODUkTNimCurrentStatus=optIfODUkTNimCurrentStatus, optIfODUkTNimRowStatus=optIfODUkTNimRowStatus, optIfConfs=optIfConfs, optIfGroups=optIfGroups, optIfCompl=optIfCompl) # Groups mibBuilder.exportSymbols("OPT-IF-MIB", optIfOTMnGroup=optIfOTMnGroup, optIfPerfMonGroup=optIfPerfMonGroup, optIfOTSnCommonGroup=optIfOTSnCommonGroup, optIfOTSnSourceGroupFull=optIfOTSnSourceGroupFull, optIfOTSnAPRStatusGroup=optIfOTSnAPRStatusGroup, optIfOTSnAPRControlGroup=optIfOTSnAPRControlGroup, optIfOTSnSinkGroupBasic=optIfOTSnSinkGroupBasic, optIfOTSnSinkGroupFull=optIfOTSnSinkGroupFull, optIfOTSnSinkPreOtnPMGroup=optIfOTSnSinkPreOtnPMGroup, optIfOTSnSinkPreOtnPMThresholdGroup=optIfOTSnSinkPreOtnPMThresholdGroup, optIfOTSnSourcePreOtnPMGroup=optIfOTSnSourcePreOtnPMGroup, optIfOTSnSourcePreOtnPMThresholdGroup=optIfOTSnSourcePreOtnPMThresholdGroup, optIfOMSnCommonGroup=optIfOMSnCommonGroup, optIfOMSnSinkGroupBasic=optIfOMSnSinkGroupBasic, optIfOMSnSinkPreOtnPMGroup=optIfOMSnSinkPreOtnPMGroup, optIfOMSnSinkPreOtnPMThresholdGroup=optIfOMSnSinkPreOtnPMThresholdGroup, optIfOMSnSourcePreOtnPMGroup=optIfOMSnSourcePreOtnPMGroup, optIfOMSnSourcePreOtnPMThresholdGroup=optIfOMSnSourcePreOtnPMThresholdGroup, optIfOChGroupCommonGroup=optIfOChGroupCommonGroup, optIfOChGroupSinkPreOtnPMGroup=optIfOChGroupSinkPreOtnPMGroup, optIfOChGroupSinkPreOtnPMThresholdGroup=optIfOChGroupSinkPreOtnPMThresholdGroup, optIfOChGroupSourcePreOtnPMGroup=optIfOChGroupSourcePreOtnPMGroup, optIfOChGroupSourcePreOtnPMThresholdGroup=optIfOChGroupSourcePreOtnPMThresholdGroup, optIfOChCommonGroup=optIfOChCommonGroup, optIfOChSinkGroupBasic=optIfOChSinkGroupBasic, optIfOChSinkPreOtnPMGroup=optIfOChSinkPreOtnPMGroup, optIfOChSinkPreOtnPMThresholdGroup=optIfOChSinkPreOtnPMThresholdGroup, optIfOChSourcePreOtnPMGroup=optIfOChSourcePreOtnPMGroup, optIfOChSourcePreOtnPMThresholdGroup=optIfOChSourcePreOtnPMThresholdGroup, optIfOTUkCommonGroup=optIfOTUkCommonGroup, optIfOTUkSourceGroup=optIfOTUkSourceGroup, optIfOTUkSinkGroup=optIfOTUkSinkGroup, optIfGCC0Group=optIfGCC0Group, optIfODUkGroup=optIfODUkGroup, optIfODUkTtpSourceGroup=optIfODUkTtpSourceGroup, optIfODUkTtpSinkGroup=optIfODUkTtpSinkGroup, optIfODUkNimGroup=optIfODUkNimGroup, optIfGCC12Group=optIfGCC12Group, optIfODUkTCommonGroup=optIfODUkTCommonGroup, optIfODUkTSourceGroup=optIfODUkTSourceGroup, optIfODUkTSinkGroup=optIfODUkTSinkGroup, optIfODUkTSinkGroupCtp=optIfODUkTSinkGroupCtp, optIfODUkTNimGroup=optIfODUkTNimGroup) # Compliances mibBuilder.exportSymbols("OPT-IF-MIB", optIfOtnConfigCompl=optIfOtnConfigCompl, optIfPreOtnPMCompl=optIfPreOtnPMCompl) pysnmp-mibs-0.1.3/pysnmp_mibs/ENTITY-STATE-MIB.py0000644000014400001440000003027211736645136021333 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ENTITY-STATE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:56 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( entPhysicalIndex, ) = mibBuilder.importSymbols("ENTITY-MIB", "entPhysicalIndex") ( EntityAdminState, EntityAlarmStatus, EntityOperState, EntityStandbyStatus, EntityUsageState, ) = mibBuilder.importSymbols("ENTITY-STATE-TC-MIB", "EntityAdminState", "EntityAlarmStatus", "EntityOperState", "EntityStandbyStatus", "EntityUsageState") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DateAndTime, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime") # Objects entityStateMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 131)).setRevisions(("2005-11-22 00:00",)) if mibBuilder.loadTexts: entityStateMIB.setOrganization("IETF Entity MIB Working Group") if mibBuilder.loadTexts: entityStateMIB.setContactInfo(" General Discussion: entmib@ietf.org\nTo Subscribe:\nhttp://www.ietf.org/mailman/listinfo/entmib\n\nhttp://www.ietf.org/html.charters/entmib-charter.html\n\nSharon Chisholm\nNortel Networks\nPO Box 3511 Station C\nOttawa, Ont. K1Y 4H7\nCanada\nschishol@nortel.com\n\nDavid T. Perkins\n548 Qualbrook Ct\nSan Jose, CA 95110\nUSA\nPhone: 408 394-8702\ndperkins@snmpinfo.com") if mibBuilder.loadTexts: entityStateMIB.setDescription("This MIB defines a state extension to the Entity MIB.\n\nCopyright (C) The Internet Society 2005. This version\nof this MIB module is part of RFC 4268; see the RFC\nitself for full legal notices.") entStateNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 131, 0)) entStateObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 131, 1)) entStateTable = MibTable((1, 3, 6, 1, 2, 1, 131, 1, 1)) if mibBuilder.loadTexts: entStateTable.setDescription("A table of information about state/status of entities.\nThis is a sparse augment of the entPhysicalTable. Entries\nappear in this table for values of\nentPhysicalClass [RFC4133] that in this implementation\nare able to report any of the state or status stored in\nthis table.") entStateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 131, 1, 1, 1)).setIndexNames((0, "ENTITY-MIB", "entPhysicalIndex")) if mibBuilder.loadTexts: entStateEntry.setDescription("State information about this physical entity.") entStateLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 131, 1, 1, 1, 1), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: entStateLastChanged.setDescription("The value of this object is the date and\ntime when the value of any of entStateAdmin,\nentStateOper, entStateUsage, entStateAlarm,\nor entStateStandby changed for this entity.\n\nIf there has been no change since\nthe last re-initialization of the local system,\nthis object contains the date and time of\nlocal system initialization. If there has been\nno change since the entity was added to the\nlocal system, this object contains the date and\ntime of the insertion.") entStateAdmin = MibTableColumn((1, 3, 6, 1, 2, 1, 131, 1, 1, 1, 2), EntityAdminState()).setMaxAccess("readwrite") if mibBuilder.loadTexts: entStateAdmin.setDescription("The administrative state for this entity.\n\n\n\nThis object refers to an entities administrative\npermission to service both other entities within\nits containment hierarchy as well other users of\nits services defined by means outside the scope\nof this MIB.\n\nSetting this object to 'notSupported' will result\nin an 'inconsistentValue' error. For entities that\ndo not support administrative state, all set\noperations will result in an 'inconsistentValue'\nerror.\n\nSome physical entities exhibit only a subset of the\nremaining administrative state values. Some entities\ncannot be locked, and hence this object exhibits only\nthe 'unlocked' state. Other entities cannot be shutdown\ngracefully, and hence this object does not exhibit the\n'shuttingDown' state. A value of 'inconsistentValue'\nwill be returned if attempts are made to set this\nobject to values not supported by its administrative\nmodel.") entStateOper = MibTableColumn((1, 3, 6, 1, 2, 1, 131, 1, 1, 1, 3), EntityOperState()).setMaxAccess("readonly") if mibBuilder.loadTexts: entStateOper.setDescription("The operational state for this entity.\n\nNote that unlike the state model used within the\nInterfaces MIB [RFC2863], this object does not follow\nthe administrative state. An administrative state of\ndown does not predict an operational state\nof disabled.\n\nA value of 'testing' means that entity currently being\ntested and cannot therefore report whether it is\noperational or not.\n\nA value of 'disabled' means that an entity is totally\ninoperable and unable to provide service both to entities\nwithin its containment hierarchy, or to other receivers\nof its service as defined in ways outside the scope of\nthis MIB.\n\nA value of 'enabled' means that an entity is fully or\npartially operable and able to provide service both to\n\n\nentities within its containment hierarchy, or to other\nreceivers of its service as defined in ways outside the\nscope of this MIB.\n\nNote that some implementations may not be able to\naccurately report entStateOper while the\nentStateAdmin object has a value other than 'unlocked'.\nIn these cases, this object MUST have a value\nof 'unknown'.") entStateUsage = MibTableColumn((1, 3, 6, 1, 2, 1, 131, 1, 1, 1, 4), EntityUsageState()).setMaxAccess("readonly") if mibBuilder.loadTexts: entStateUsage.setDescription("The usage state for this entity.\n\nThis object refers to an entity's ability to service more\nphysical entities in a containment hierarchy. A value\nof 'idle' means this entity is able to contain other\nentities but that no other entity is currently\ncontained within this entity.\n\nA value of 'active' means that at least one entity is\ncontained within this entity, but that it could handle\nmore. A value of 'busy' means that the entity is unable\nto handle any additional entities being contained in it.\n\nSome entities will exhibit only a subset of the\nusage state values. Entities that are unable to ever\nservice any entities within a containment hierarchy will\nalways have a usage state of 'busy'. Some entities will\nonly ever be able to support one entity within its\ncontainment hierarchy and will therefore only exhibit\nvalues of 'idle' and 'busy'.") entStateAlarm = MibTableColumn((1, 3, 6, 1, 2, 1, 131, 1, 1, 1, 5), EntityAlarmStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: entStateAlarm.setDescription("The alarm status for this entity. It does not include\nthe alarms raised on child components within its\ncontainment hierarchy.\n\nA value of 'unknown' means that this entity is\n\n\n\nunable to report alarm state. Note that this differs\nfrom 'indeterminate', which means that alarm state\nis supported and there are alarms against this entity,\nbut the severity of some of the alarms is not known.\n\nIf no bits are set, then this entity supports reporting\nof alarms, but there are currently no active alarms\nagainst this entity.") entStateStandby = MibTableColumn((1, 3, 6, 1, 2, 1, 131, 1, 1, 1, 6), EntityStandbyStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: entStateStandby.setDescription("The standby status for this entity.\n\nSome entities will exhibit only a subset of the\nremaining standby state values. If this entity\ncannot operate in a standby role, the value of this\nobject will always be 'providingService'.") entStateConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 131, 2)) entStateCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 131, 2, 1)) entStateGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 131, 2, 2)) # Augmentions # Notifications entStateOperEnabled = NotificationType((1, 3, 6, 1, 2, 1, 131, 0, 1)).setObjects(*(("ENTITY-STATE-MIB", "entStateAdmin"), ("ENTITY-STATE-MIB", "entStateAlarm"), ) ) if mibBuilder.loadTexts: entStateOperEnabled.setDescription("An entStateOperEnabled notification signifies that the\nSNMP entity, acting in an agent role, has detected that\nthe entStateOper object for one of its entities has\ntransitioned into the 'enabled' state.\n\nThe entity this notification refers can be identified by\nextracting the entPhysicalIndex from one of the\nvariable bindings. The entStateAdmin and entStateAlarm\nvarbinds may be examined to find out additional\ninformation on the administrative state at the time of\nthe operation state change as well as to find out whether\nthere were any known alarms against the entity at that\ntime that may explain why the physical entity has become\noperationally disabled.") entStateOperDisabled = NotificationType((1, 3, 6, 1, 2, 1, 131, 0, 2)).setObjects(*(("ENTITY-STATE-MIB", "entStateAdmin"), ("ENTITY-STATE-MIB", "entStateAlarm"), ) ) if mibBuilder.loadTexts: entStateOperDisabled.setDescription("An entStateOperDisabled notification signifies that the\nSNMP entity, acting in an agent role, has detected that\nthe entStateOper object for one of its entities has\ntransitioned into the 'disabled' state.\n\nThe entity this notification refers can be identified by\nextracting the entPhysicalIndex from one of the\nvariable bindings. The entStateAdmin and entStateAlarm\nvarbinds may be examined to find out additional\ninformation on the administrative state at the time of\nthe operation state change as well as to find out whether\nthere were any known alarms against the entity at that\ntime that may affect the physical entity's\nability to stay operationally enabled.") # Groups entStateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 131, 2, 2, 1)).setObjects(*(("ENTITY-STATE-MIB", "entStateOper"), ("ENTITY-STATE-MIB", "entStateAdmin"), ("ENTITY-STATE-MIB", "entStateAlarm"), ("ENTITY-STATE-MIB", "entStateUsage"), ("ENTITY-STATE-MIB", "entStateLastChanged"), ("ENTITY-STATE-MIB", "entStateStandby"), ) ) if mibBuilder.loadTexts: entStateGroup.setDescription("Standard Entity State group.") entStateNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 131, 2, 2, 2)).setObjects(*(("ENTITY-STATE-MIB", "entStateOperDisabled"), ("ENTITY-STATE-MIB", "entStateOperEnabled"), ) ) if mibBuilder.loadTexts: entStateNotificationsGroup.setDescription("Standard Entity State Notification group.") # Compliances entStateCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 131, 2, 1, 1)).setObjects(*(("ENTITY-STATE-MIB", "entStateNotificationsGroup"), ("ENTITY-STATE-MIB", "entStateGroup"), ) ) if mibBuilder.loadTexts: entStateCompliance.setDescription("The compliance statement for systems supporting\nthe Entity State MIB.") # Exports # Module identity mibBuilder.exportSymbols("ENTITY-STATE-MIB", PYSNMP_MODULE_ID=entityStateMIB) # Objects mibBuilder.exportSymbols("ENTITY-STATE-MIB", entityStateMIB=entityStateMIB, entStateNotifications=entStateNotifications, entStateObjects=entStateObjects, entStateTable=entStateTable, entStateEntry=entStateEntry, entStateLastChanged=entStateLastChanged, entStateAdmin=entStateAdmin, entStateOper=entStateOper, entStateUsage=entStateUsage, entStateAlarm=entStateAlarm, entStateStandby=entStateStandby, entStateConformance=entStateConformance, entStateCompliances=entStateCompliances, entStateGroups=entStateGroups) # Notifications mibBuilder.exportSymbols("ENTITY-STATE-MIB", entStateOperEnabled=entStateOperEnabled, entStateOperDisabled=entStateOperDisabled) # Groups mibBuilder.exportSymbols("ENTITY-STATE-MIB", entStateGroup=entStateGroup, entStateNotificationsGroup=entStateNotificationsGroup) # Compliances mibBuilder.exportSymbols("ENTITY-STATE-MIB", entStateCompliance=entStateCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RSTP-MIB.py0000644000014400001440000002450511736645137020234 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RSTP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:35 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( dot1dStp, dot1dStpPortEntry, ) = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dStp", "dot1dStpPortEntry") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue") # Objects dot1dStpVersion = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(0,2,)).subtype(namedValues=NamedValues(("stpCompatible", 0), ("rstp", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpVersion.setDescription("The version of Spanning Tree Protocol the bridge is\ncurrently running. The value 'stpCompatible(0)'\nindicates the Spanning Tree Protocol specified in\nIEEE 802.1D-1998 and 'rstp(2)' indicates the Rapid\nSpanning Tree Protocol specified in IEEE 802.1w and\nclause 17 of 802.1D-2004. The values are directly from\nthe IEEE standard. New values may be defined as future\nversions of the protocol become available.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dStpTxHoldCount = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpTxHoldCount.setDescription("The value used by the Port Transmit state machine to limit\nthe maximum transmission rate.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dStpExtPortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 2, 19)) if mibBuilder.loadTexts: dot1dStpExtPortTable.setDescription("A table that contains port-specific Rapid Spanning Tree\ninformation.") dot1dStpExtPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 2, 19, 1)) if mibBuilder.loadTexts: dot1dStpExtPortEntry.setDescription("A list of Rapid Spanning Tree information maintained by\neach port.") dot1dStpPortProtocolMigration = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 19, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortProtocolMigration.setDescription("When operating in RSTP (version 2) mode, writing true(1)\nto this object forces this port to transmit RSTP BPDUs.\nAny other operation on this object has no effect and\nit always returns false(2) when read.") dot1dStpPortAdminEdgePort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 19, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortAdminEdgePort.setDescription("The administrative value of the Edge Port parameter. A\nvalue of true(1) indicates that this port should be\nassumed as an edge-port, and a value of false(2) indicates\nthat this port should be assumed as a non-edge-port.\n\n\n\nSetting this object will also cause the corresponding\ninstance of dot1dStpPortOperEdgePort to change to the\nsame value. Note that even when this object's value\nis true, the value of the corresponding instance of\ndot1dStpPortOperEdgePort can be false if a BPDU has\nbeen received.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dStpPortOperEdgePort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 19, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortOperEdgePort.setDescription("The operational value of the Edge Port parameter. The\nobject is initialized to the value of the corresponding\ninstance of dot1dStpPortAdminEdgePort. When the\ncorresponding instance of dot1dStpPortAdminEdgePort is\nset, this object will be changed as well. This object\nwill also be changed to false on reception of a BPDU.") dot1dStpPortAdminPointToPoint = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 19, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,0,2,)).subtype(namedValues=NamedValues(("forceTrue", 0), ("forceFalse", 1), ("auto", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortAdminPointToPoint.setDescription("The administrative point-to-point status of the LAN segment\nattached to this port, using the enumeration values of the\nIEEE 802.1w clause. A value of forceTrue(0) indicates\nthat this port should always be treated as if it is\nconnected to a point-to-point link. A value of\nforceFalse(1) indicates that this port should be treated as\nhaving a shared media connection. A value of auto(2)\nindicates that this port is considered to have a\npoint-to-point link if it is an Aggregator and all of its\n\n\n\nmembers are aggregatable, or if the MAC entity\nis configured for full duplex operation, either through\nauto-negotiation or by management means. Manipulating this\nobject changes the underlying adminPortToPortMAC.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dStpPortOperPointToPoint = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 19, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortOperPointToPoint.setDescription("The operational point-to-point status of the LAN segment\nattached to this port. It indicates whether a port is\nconsidered to have a point-to-point connection.\nIf adminPointToPointMAC is set to auto(2), then the value\nof operPointToPointMAC is determined in accordance with the\nspecific procedures defined for the MAC entity concerned,\nas defined in IEEE 802.1w, clause 6.5. The value is\ndetermined dynamically; that is, it is re-evaluated whenever\nthe value of adminPointToPointMAC changes, and whenever\nthe specific procedures defined for the MAC entity evaluate\na change in its point-to-point status.") dot1dStpPortAdminPathCost = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 19, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortAdminPathCost.setDescription("The administratively assigned value for the contribution\nof this port to the path cost of paths toward the spanning\ntree root.\n\nWriting a value of '0' assigns the automatically calculated\ndefault Path Cost value to the port. If the default Path\nCost is being used, this object returns '0' when read.\n\nThis complements the object dot1dStpPortPathCost or\ndot1dStpPortPathCost32, which returns the operational value\nof the path cost.\n\n\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") rstpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 134)).setRevisions(("2005-12-07 00:00",)) if mibBuilder.loadTexts: rstpMIB.setOrganization("IETF Bridge MIB Working Group") if mibBuilder.loadTexts: rstpMIB.setContactInfo("Email: Bridge-mib@ietf.org") if mibBuilder.loadTexts: rstpMIB.setDescription("The Bridge MIB Extension module for managing devices\nthat support the Rapid Spanning Tree Protocol defined\nby IEEE 802.1w.\n\nCopyright (C) The Internet Society (2005). This version of\nthis MIB module is part of RFC 4318; See the RFC itself for\nfull legal notices.") rstpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 134, 0)) rstpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 134, 1)) rstpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 134, 2)) rstpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 134, 2, 1)) rstpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 134, 2, 2)) # Augmentions dot1dStpPortEntry, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dStpPortEntry") dot1dStpPortEntry.registerAugmentions(("RSTP-MIB", "dot1dStpExtPortEntry")) dot1dStpExtPortEntry.setIndexNames(*dot1dStpPortEntry.getIndexNames()) # Groups rstpBridgeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 134, 2, 1, 1)).setObjects(*(("RSTP-MIB", "dot1dStpTxHoldCount"), ("RSTP-MIB", "dot1dStpVersion"), ) ) if mibBuilder.loadTexts: rstpBridgeGroup.setDescription("Rapid Spanning Tree information for the bridge.") rstpPortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 134, 2, 1, 2)).setObjects(*(("RSTP-MIB", "dot1dStpPortOperPointToPoint"), ("RSTP-MIB", "dot1dStpPortOperEdgePort"), ("RSTP-MIB", "dot1dStpPortProtocolMigration"), ("RSTP-MIB", "dot1dStpPortAdminEdgePort"), ("RSTP-MIB", "dot1dStpPortAdminPointToPoint"), ("RSTP-MIB", "dot1dStpPortAdminPathCost"), ) ) if mibBuilder.loadTexts: rstpPortGroup.setDescription("Rapid Spanning Tree information for individual ports.") # Compliances rstpCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 134, 2, 2, 1)).setObjects(*(("RSTP-MIB", "rstpBridgeGroup"), ("RSTP-MIB", "rstpPortGroup"), ) ) if mibBuilder.loadTexts: rstpCompliance.setDescription("The compliance statement for device support of Rapid\nSpanning Tree Protocol (RSTP) bridging services.") # Exports # Module identity mibBuilder.exportSymbols("RSTP-MIB", PYSNMP_MODULE_ID=rstpMIB) # Objects mibBuilder.exportSymbols("RSTP-MIB", dot1dStpVersion=dot1dStpVersion, dot1dStpTxHoldCount=dot1dStpTxHoldCount, dot1dStpExtPortTable=dot1dStpExtPortTable, dot1dStpExtPortEntry=dot1dStpExtPortEntry, dot1dStpPortProtocolMigration=dot1dStpPortProtocolMigration, dot1dStpPortAdminEdgePort=dot1dStpPortAdminEdgePort, dot1dStpPortOperEdgePort=dot1dStpPortOperEdgePort, dot1dStpPortAdminPointToPoint=dot1dStpPortAdminPointToPoint, dot1dStpPortOperPointToPoint=dot1dStpPortOperPointToPoint, dot1dStpPortAdminPathCost=dot1dStpPortAdminPathCost, rstpMIB=rstpMIB, rstpNotifications=rstpNotifications, rstpObjects=rstpObjects, rstpConformance=rstpConformance, rstpGroups=rstpGroups, rstpCompliances=rstpCompliances) # Groups mibBuilder.exportSymbols("RSTP-MIB", rstpBridgeGroup=rstpBridgeGroup, rstpPortGroup=rstpPortGroup) # Compliances mibBuilder.exportSymbols("RSTP-MIB", rstpCompliance=rstpCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RMON-MIB.py0000644000014400001440000036143711736645137020227 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RMON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:34 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") # Types class EntryStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,3,2,1,) namedValues = NamedValues(("valid", 1), ("createRequest", 2), ("underCreation", 3), ("invalid", 4), ) class OwnerString(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,127) # Objects rmon = MibIdentifier((1, 3, 6, 1, 2, 1, 16)) rmonEventsV2 = ObjectIdentity((1, 3, 6, 1, 2, 1, 16, 0)) if mibBuilder.loadTexts: rmonEventsV2.setDescription("Definition point for RMON notifications.") statistics = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 1)) etherStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 1)) if mibBuilder.loadTexts: etherStatsTable.setDescription("A list of Ethernet statistics entries.") etherStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 1, 1)).setIndexNames((0, "RMON-MIB", "etherStatsIndex")) if mibBuilder.loadTexts: etherStatsEntry.setDescription("A collection of statistics kept for a particular\nEthernet interface. As an example, an instance of the\netherStatsPkts object might be named etherStatsPkts.1") etherStatsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsIndex.setDescription("The value of this object uniquely identifies this\netherStats entry.") etherStatsDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etherStatsDataSource.setDescription("This object identifies the source of the data that\nthis etherStats entry is configured to analyze. This\nsource can be any ethernet interface on this device.\nIn order to identify a particular interface, this object\nshall identify the instance of the ifIndex object,\ndefined in RFC 2233 [17], for the desired interface.\nFor example, if an entry were to receive data from\ninterface #1, this object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the identified\ninterface.\n\nAn agent may or may not be able to tell if fundamental\nchanges to the media of the interface have occurred and\nnecessitate an invalidation of this entry. For example, a\nhot-pluggable ethernet card could be pulled out and replaced\nby a token-ring card. In such a case, if the agent has such\nknowledge of the change, it is recommended that it\ninvalidate this entry.\n\nThis object may not be modified if the associated\netherStatsStatus object is equal to valid(1).") etherStatsDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsDropEvents.setDescription("The total number of events in which packets\nwere dropped by the probe due to lack of resources.\nNote that this number is not necessarily the number of\npackets dropped; it is just the number of times this\ncondition has been detected.") etherStatsOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsOctets.setDescription("The total number of octets of data (including\nthose in bad packets) received on the\nnetwork (excluding framing bits but including\nFCS octets).\nThis object can be used as a reasonable estimate of\n10-Megabit ethernet utilization. If greater precision is\ndesired, the etherStatsPkts and etherStatsOctets objects\nshould be sampled before and after a common interval. The\ndifferences in the sampled values are Pkts and Octets,\nrespectively, and the number of seconds in the interval is\nInterval. These values are used to calculate the Utilization\nas follows:\n\n Pkts * (9.6 + 6.4) + (Octets * .8)\n Utilization = -------------------------------------\n Interval * 10,000\n\nThe result of this equation is the value Utilization which\nis the percent utilization of the ethernet segment on a\nscale of 0 to 100 percent.") etherStatsPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts.setDescription("The total number of packets (including bad packets,\nbroadcast packets, and multicast packets) received.") etherStatsBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsBroadcastPkts.setDescription("The total number of good packets received that were\ndirected to the broadcast address. Note that this\ndoes not include multicast packets.") etherStatsMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsMulticastPkts.setDescription("The total number of good packets received that were\ndirected to a multicast address. Note that this number\ndoes not include packets directed to the broadcast\naddress.") etherStatsCRCAlignErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsCRCAlignErrors.setDescription("The total number of packets received that\nhad a length (excluding framing bits, but\nincluding FCS octets) of between 64 and 1518\noctets, inclusive, but had either a bad\nFrame Check Sequence (FCS) with an integral\nnumber of octets (FCS Error) or a bad FCS with\na non-integral number of octets (Alignment Error).") etherStatsUndersizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsUndersizePkts.setDescription("The total number of packets received that were\nless than 64 octets long (excluding framing bits,\nbut including FCS octets) and were otherwise well\nformed.") etherStatsOversizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsOversizePkts.setDescription("The total number of packets received that were\nlonger than 1518 octets (excluding framing bits,\nbut including FCS octets) and were otherwise\nwell formed.") etherStatsFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsFragments.setDescription("The total number of packets received that were less than\n64 octets in length (excluding framing bits but including\nFCS octets) and had either a bad Frame Check Sequence\n(FCS) with an integral number of octets (FCS Error) or a\nbad FCS with a non-integral number of octets (Alignment\nError).\n\nNote that it is entirely normal for etherStatsFragments to\nincrement. This is because it counts both runts (which are\nnormal occurrences due to collisions) and noise hits.") etherStatsJabbers = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsJabbers.setDescription("The total number of packets received that were\nlonger than 1518 octets (excluding framing bits,\nbut including FCS octets), and had either a bad\nFrame Check Sequence (FCS) with an integral number\nof octets (FCS Error) or a bad FCS with a non-integral\nnumber of octets (Alignment Error).\n\nNote that this definition of jabber is different\nthan the definition in IEEE-802.3 section 8.2.1.5\n(10BASE5) and section 10.3.1.4 (10BASE2). These\ndocuments define jabber as the condition where any\npacket exceeds 20 ms. The allowed range to detect\njabber is between 20 ms and 150 ms.") etherStatsCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsCollisions.setDescription("The best estimate of the total number of collisions\non this Ethernet segment.\n\nThe value returned will depend on the location of the\nRMON probe. Section 8.2.1.3 (10BASE-5) and section\n10.3.1.3 (10BASE-2) of IEEE standard 802.3 states that a\nstation must detect a collision, in the receive mode, if\nthree or more stations are transmitting simultaneously. A\nrepeater port must detect a collision when two or more\nstations are transmitting simultaneously. Thus a probe\nplaced on a repeater port could record more collisions\nthan a probe connected to a station on the same segment\nwould.\n\nProbe location plays a much smaller role when considering\n10BASE-T. 14.2.1.4 (10BASE-T) of IEEE standard 802.3\ndefines a collision as the simultaneous presence of signals\non the DO and RD circuits (transmitting and receiving\nat the same time). A 10BASE-T station can only detect\ncollisions when it is transmitting. Thus probes placed on\na station and a repeater, should report the same number of\ncollisions.\n\nNote also that an RMON probe inside a repeater should\nideally report collisions between the repeater and one or\nmore other hosts (transmit collisions as defined by IEEE\n802.3k) plus receiver collisions observed on any coax\nsegments to which the repeater is connected.") etherStatsPkts64Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts64Octets.setDescription("The total number of packets (including bad\npackets) received that were 64 octets in length\n(excluding framing bits but including FCS octets).") etherStatsPkts65to127Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts65to127Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n65 and 127 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts128to255Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts128to255Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n128 and 255 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts256to511Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts256to511Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n256 and 511 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts512to1023Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts512to1023Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n512 and 1023 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts1024to1518Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts1024to1518Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n1024 and 1518 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 20), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etherStatsOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") etherStatsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 21), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: etherStatsStatus.setDescription("The status of this etherStats entry.") history = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 2)) historyControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 1)) if mibBuilder.loadTexts: historyControlTable.setDescription("A list of history control entries.") historyControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 1, 1)).setIndexNames((0, "RMON-MIB", "historyControlIndex")) if mibBuilder.loadTexts: historyControlEntry.setDescription("A list of parameters that set up a periodic sampling of\nstatistics. As an example, an instance of the\nhistoryControlInterval object might be named\nhistoryControlInterval.2") historyControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: historyControlIndex.setDescription("An index that uniquely identifies an entry in the\nhistoryControl table. Each such entry defines a\nset of samples at a particular interval for an\ninterface on the device.") historyControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: historyControlDataSource.setDescription("This object identifies the source of the data for\nwhich historical data was collected and\nplaced in a media-specific table on behalf of this\nhistoryControlEntry. This source can be any\ninterface on this device. In order to identify\na particular interface, this object shall identify\nthe instance of the ifIndex object, defined\nin RFC 2233 [17], for the desired interface.\nFor example, if an entry were to receive data from\ninterface #1, this object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the identified\ninterface.\n\nAn agent may or may not be able to tell if fundamental\nchanges to the media of the interface have occurred and\nnecessitate an invalidation of this entry. For example, a\nhot-pluggable ethernet card could be pulled out and replaced\nby a token-ring card. In such a case, if the agent has such\nknowledge of the change, it is recommended that it\ninvalidate this entry.\n\nThis object may not be modified if the associated\nhistoryControlStatus object is equal to valid(1).") historyControlBucketsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(50)).setMaxAccess("readcreate") if mibBuilder.loadTexts: historyControlBucketsRequested.setDescription("The requested number of discrete time intervals\nover which data is to be saved in the part of the\nmedia-specific table associated with this\nhistoryControlEntry.\n\nWhen this object is created or modified, the probe\nshould set historyControlBucketsGranted as closely to\nthis object as is possible for the particular probe\nimplementation and available resources.") historyControlBucketsGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: historyControlBucketsGranted.setDescription("The number of discrete sampling intervals\nover which data shall be saved in the part of\nthe media-specific table associated with this\nhistoryControlEntry.\nWhen the associated historyControlBucketsRequested\nobject is created or modified, the probe\nshould set this object as closely to the requested\nvalue as is possible for the particular\nprobe implementation and available resources. The\nprobe must not lower this value except as a result\nof a modification to the associated\nhistoryControlBucketsRequested object.\n\nThere will be times when the actual number of\nbuckets associated with this entry is less than\nthe value of this object. In this case, at the\nend of each sampling interval, a new bucket will\nbe added to the media-specific table.\n\nWhen the number of buckets reaches the value of\nthis object and a new bucket is to be added to the\nmedia-specific table, the oldest bucket associated\nwith this historyControlEntry shall be deleted by\nthe agent so that the new bucket can be added.\n\nWhen the value of this object changes to a value less\nthan the current value, entries are deleted\nfrom the media-specific table associated with this\nhistoryControlEntry. Enough of the oldest of these\nentries shall be deleted by the agent so that their\nnumber remains less than or equal to the new value of\nthis object.\n\nWhen the value of this object changes to a value greater\nthan the current value, the number of associated media-\nspecific entries may be allowed to grow.") historyControlInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(1800)).setMaxAccess("readcreate") if mibBuilder.loadTexts: historyControlInterval.setDescription("The interval in seconds over which the data is\nsampled for each bucket in the part of the\nmedia-specific table associated with this\nhistoryControlEntry. This interval can\nbe set to any number of seconds between 1 and\n3600 (1 hour).\n\nBecause the counters in a bucket may overflow at their\nmaximum value with no indication, a prudent manager will\ntake into account the possibility of overflow in any of\nthe associated counters. It is important to consider the\nminimum time in which any counter could overflow on a\nparticular media type and set the historyControlInterval\nobject to a value less than this interval. This is\ntypically most important for the 'octets' counter in any\nmedia-specific table. For example, on an Ethernet\nnetwork, the etherHistoryOctets counter could overflow\nin about one hour at the Ethernet's maximum\nutilization.\n\nThis object may not be modified if the associated\nhistoryControlStatus object is equal to valid(1).") historyControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 6), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: historyControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") historyControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 7), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: historyControlStatus.setDescription("The status of this historyControl entry.\n\nEach instance of the media-specific table associated\nwith this historyControlEntry will be deleted by the agent\nif this historyControlEntry is not equal to valid(1).") etherHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 2)) if mibBuilder.loadTexts: etherHistoryTable.setDescription("A list of Ethernet history entries.") etherHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 2, 1)).setIndexNames((0, "RMON-MIB", "etherHistoryIndex"), (0, "RMON-MIB", "etherHistorySampleIndex")) if mibBuilder.loadTexts: etherHistoryEntry.setDescription("An historical sample of Ethernet statistics on a particular\nEthernet interface. This sample is associated with the\nhistoryControlEntry which set up the parameters for\na regular collection of these samples. As an example, an\ninstance of the etherHistoryPkts object might be named\netherHistoryPkts.2.89") etherHistoryIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryIndex.setDescription("The history of which this entry is a part. The\nhistory identified by a particular value of this\nindex is the same history as identified\nby the same value of historyControlIndex.") etherHistorySampleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistorySampleIndex.setDescription("An index that uniquely identifies the particular\nsample this entry represents among all samples\nassociated with the same historyControlEntry.\nThis index starts at 1 and increases by one\nas each new sample is taken.") etherHistoryIntervalStart = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryIntervalStart.setDescription("The value of sysUpTime at the start of the interval\nover which this sample was measured. If the probe\nkeeps track of the time of day, it should start\nthe first sample of the history at a time such that\nwhen the next hour of the day begins, a sample is\nstarted at that instant. Note that following this\nrule may require the probe to delay collecting the\nfirst sample of the history, as each sample must be\nof the same interval. Also note that the sample which\nis currently being collected is not accessible in this\ntable until the end of its interval.") etherHistoryDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryDropEvents.setDescription("The total number of events in which packets\nwere dropped by the probe due to lack of resources\nduring this sampling interval. Note that this number\nis not necessarily the number of packets dropped, it\nis just the number of times this condition has been\ndetected.") etherHistoryOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryOctets.setDescription("The total number of octets of data (including\nthose in bad packets) received on the\nnetwork (excluding framing bits but including\nFCS octets).") etherHistoryPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryPkts.setDescription("The number of packets (including bad packets)\nreceived during this sampling interval.") etherHistoryBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryBroadcastPkts.setDescription("The number of good packets received during this\nsampling interval that were directed to the\nbroadcast address.") etherHistoryMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryMulticastPkts.setDescription("The number of good packets received during this\nsampling interval that were directed to a\nmulticast address. Note that this number does not\ninclude packets addressed to the broadcast address.") etherHistoryCRCAlignErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryCRCAlignErrors.setDescription("The number of packets received during this\nsampling interval that had a length (excluding\nframing bits but including FCS octets) between\n64 and 1518 octets, inclusive, but had either a bad Frame\nCheck Sequence (FCS) with an integral number of octets\n(FCS Error) or a bad FCS with a non-integral number\nof octets (Alignment Error).") etherHistoryUndersizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryUndersizePkts.setDescription("The number of packets received during this\nsampling interval that were less than 64 octets\nlong (excluding framing bits but including FCS\noctets) and were otherwise well formed.") etherHistoryOversizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryOversizePkts.setDescription("The number of packets received during this\nsampling interval that were longer than 1518\noctets (excluding framing bits but including\nFCS octets) but were otherwise well formed.") etherHistoryFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryFragments.setDescription("The total number of packets received during this\nsampling interval that were less than 64 octets in\nlength (excluding framing bits but including FCS\noctets) had either a bad Frame Check Sequence (FCS)\nwith an integral number of octets (FCS Error) or a bad\nFCS with a non-integral number of octets (Alignment\nError).\n\nNote that it is entirely normal for etherHistoryFragments to\nincrement. This is because it counts both runts (which are\nnormal occurrences due to collisions) and noise hits.") etherHistoryJabbers = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryJabbers.setDescription("The number of packets received during this\nsampling interval that were longer than 1518 octets\n(excluding framing bits but including FCS octets),\nand had either a bad Frame Check Sequence (FCS)\nwith an integral number of octets (FCS Error) or\na bad FCS with a non-integral number of octets\n(Alignment Error).\n\nNote that this definition of jabber is different\nthan the definition in IEEE-802.3 section 8.2.1.5\n(10BASE5) and section 10.3.1.4 (10BASE2). These\ndocuments define jabber as the condition where any\npacket exceeds 20 ms. The allowed range to detect\njabber is between 20 ms and 150 ms.") etherHistoryCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryCollisions.setDescription("The best estimate of the total number of collisions\non this Ethernet segment during this sampling\ninterval.\n\nThe value returned will depend on the location of the\nRMON probe. Section 8.2.1.3 (10BASE-5) and section\n10.3.1.3 (10BASE-2) of IEEE standard 802.3 states that a\nstation must detect a collision, in the receive mode, if\nthree or more stations are transmitting simultaneously. A\nrepeater port must detect a collision when two or more\nstations are transmitting simultaneously. Thus a probe\nplaced on a repeater port could record more collisions\nthan a probe connected to a station on the same segment\nwould.\n\nProbe location plays a much smaller role when considering\n10BASE-T. 14.2.1.4 (10BASE-T) of IEEE standard 802.3\ndefines a collision as the simultaneous presence of signals\non the DO and RD circuits (transmitting and receiving\nat the same time). A 10BASE-T station can only detect\ncollisions when it is transmitting. Thus probes placed on\na station and a repeater, should report the same number of\ncollisions.\n\nNote also that an RMON probe inside a repeater should\nideally report collisions between the repeater and one or\nmore other hosts (transmit collisions as defined by IEEE\n802.3k) plus receiver collisions observed on any coax\nsegments to which the repeater is connected.") etherHistoryUtilization = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryUtilization.setDescription("The best estimate of the mean physical layer\nnetwork utilization on this interface during this\nsampling interval, in hundredths of a percent.") alarm = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 3)) alarmTable = MibTable((1, 3, 6, 1, 2, 1, 16, 3, 1)) if mibBuilder.loadTexts: alarmTable.setDescription("A list of alarm entries.") alarmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 3, 1, 1)).setIndexNames((0, "RMON-MIB", "alarmIndex")) if mibBuilder.loadTexts: alarmEntry.setDescription("A list of parameters that set up a periodic checking\nfor alarm conditions. For example, an instance of the\nalarmValue object might be named alarmValue.8") alarmIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmIndex.setDescription("An index that uniquely identifies an entry in the\nalarm table. Each such entry defines a\ndiagnostic sample at a particular interval\nfor an object on the device.") alarmInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmInterval.setDescription("The interval in seconds over which the data is\nsampled and compared with the rising and falling\nthresholds. When setting this variable, care\nshould be taken in the case of deltaValue\nsampling - the interval should be set short enough\nthat the sampled variable is very unlikely to\nincrease or decrease by more than 2^31 - 1 during\na single sampling interval.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmVariable = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 3), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmVariable.setDescription("The object identifier of the particular variable to be\nsampled. Only variables that resolve to an ASN.1 primitive\ntype of INTEGER (INTEGER, Integer32, Counter32, Counter64,\nGauge, or TimeTicks) may be sampled.\n\nBecause SNMP access control is articulated entirely\nin terms of the contents of MIB views, no access\ncontrol mechanism exists that can restrict the value of\nthis object to identify only those objects that exist\nin a particular MIB view. Because there is thus no\nacceptable means of restricting the read access that\ncould be obtained through the alarm mechanism, the\nprobe must only grant write access to this object in\nthose views that have read access to all objects on\nthe probe.\n\nDuring a set operation, if the supplied variable name is\nnot available in the selected MIB view, a badValue error\nmust be returned. If at any time the variable name of\nan established alarmEntry is no longer available in the\nselected MIB view, the probe must change the status of\nthis alarmEntry to invalid(4).\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmSampleType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("absoluteValue", 1), ("deltaValue", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmSampleType.setDescription("The method of sampling the selected variable and\ncalculating the value to be compared against the\nthresholds. If the value of this object is\nabsoluteValue(1), the value of the selected variable\nwill be compared directly with the thresholds at the\nend of the sampling interval. If the value of this\nobject is deltaValue(2), the value of the selected\nvariable at the last sample will be subtracted from\nthe current value, and the difference compared with\nthe thresholds.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmValue.setDescription("The value of the statistic during the last sampling\nperiod. For example, if the sample type is deltaValue,\nthis value will be the difference between the samples\nat the beginning and end of the period. If the sample\ntype is absoluteValue, this value will be the sampled\nvalue at the end of the period.\nThis is the value that is compared with the rising and\nfalling thresholds.\n\nThe value during the current sampling period is not\nmade available until the period is completed and will\nremain available until the next period completes.") alarmStartupAlarm = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("risingAlarm", 1), ("fallingAlarm", 2), ("risingOrFallingAlarm", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmStartupAlarm.setDescription("The alarm that may be sent when this entry is first\nset to valid. If the first sample after this entry\nbecomes valid is greater than or equal to the\nrisingThreshold and alarmStartupAlarm is equal to\nrisingAlarm(1) or risingOrFallingAlarm(3), then a single\nrising alarm will be generated. If the first sample\nafter this entry becomes valid is less than or equal\nto the fallingThreshold and alarmStartupAlarm is equal\nto fallingAlarm(2) or risingOrFallingAlarm(3), then a\nsingle falling alarm will be generated.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmRisingThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 7), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmRisingThreshold.setDescription("A threshold for the sampled statistic. When the current\nsampled value is greater than or equal to this threshold,\nand the value at the last sampling interval was less than\nthis threshold, a single event will be generated.\nA single event will also be generated if the first\nsample after this entry becomes valid is greater than or\nequal to this threshold and the associated\nalarmStartupAlarm is equal to risingAlarm(1) or\nrisingOrFallingAlarm(3).\n\nAfter a rising event is generated, another such event\nwill not be generated until the sampled value\nfalls below this threshold and reaches the\nalarmFallingThreshold.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmFallingThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 8), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmFallingThreshold.setDescription("A threshold for the sampled statistic. When the current\nsampled value is less than or equal to this threshold,\nand the value at the last sampling interval was greater than\nthis threshold, a single event will be generated.\nA single event will also be generated if the first\nsample after this entry becomes valid is less than or\nequal to this threshold and the associated\nalarmStartupAlarm is equal to fallingAlarm(2) or\nrisingOrFallingAlarm(3).\n\nAfter a falling event is generated, another such event\nwill not be generated until the sampled value\nrises above this threshold and reaches the\nalarmRisingThreshold.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmRisingEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmRisingEventIndex.setDescription("The index of the eventEntry that is\nused when a rising threshold is crossed. The\neventEntry identified by a particular value of\nthis index is the same as identified by the same value\nof the eventIndex object. If there is no\ncorresponding entry in the eventTable, then\nno association exists. In particular, if this value\nis zero, no associated event will be generated, as\nzero is not a valid event index.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmFallingEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmFallingEventIndex.setDescription("The index of the eventEntry that is\nused when a falling threshold is crossed. The\neventEntry identified by a particular value of\nthis index is the same as identified by the same value\nof the eventIndex object. If there is no\ncorresponding entry in the eventTable, then\nno association exists. In particular, if this value\nis zero, no associated event will be generated, as\nzero is not a valid event index.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 11), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") alarmStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 12), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alarmStatus.setDescription("The status of this alarm entry.") hosts = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 4)) hostControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 1)) if mibBuilder.loadTexts: hostControlTable.setDescription("A list of host table control entries.") hostControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 1, 1)).setIndexNames((0, "RMON-MIB", "hostControlIndex")) if mibBuilder.loadTexts: hostControlEntry.setDescription("A list of parameters that set up the discovery of hosts\non a particular interface and the collection of statistics\nabout these hosts. For example, an instance of the\nhostControlTableSize object might be named\nhostControlTableSize.1") hostControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlIndex.setDescription("An index that uniquely identifies an entry in the\nhostControl table. Each such entry defines\na function that discovers hosts on a particular interface\nand places statistics about them in the hostTable and\nthe hostTimeTable on behalf of this hostControlEntry.") hostControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostControlDataSource.setDescription("This object identifies the source of the data for\nthis instance of the host function. This source\ncan be any interface on this device. In order\nto identify a particular interface, this object shall\nidentify the instance of the ifIndex object, defined\nin RFC 2233 [17], for the desired interface.\nFor example, if an entry were to receive data from\ninterface #1, this object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the identified\ninterface.\n\nAn agent may or may not be able to tell if fundamental\nchanges to the media of the interface have occurred and\nnecessitate an invalidation of this entry. For example, a\nhot-pluggable ethernet card could be pulled out and replaced\nby a token-ring card. In such a case, if the agent has such\nknowledge of the change, it is recommended that it\ninvalidate this entry.\n\nThis object may not be modified if the associated\nhostControlStatus object is equal to valid(1).") hostControlTableSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlTableSize.setDescription("The number of hostEntries in the hostTable and the\nhostTimeTable associated with this hostControlEntry.") hostControlLastDeleteTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlLastDeleteTime.setDescription("The value of sysUpTime when the last entry\nwas deleted from the portion of the hostTable\nassociated with this hostControlEntry. If no\ndeletions have occurred, this value shall be zero.") hostControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 5), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") hostControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 6), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostControlStatus.setDescription("The status of this hostControl entry.\n\nIf this object is not equal to valid(1), all associated\nentries in the hostTable, hostTimeTable, and the\nhostTopNTable shall be deleted by the agent.") hostTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 2)) if mibBuilder.loadTexts: hostTable.setDescription("A list of host entries.") hostEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 2, 1)).setIndexNames((0, "RMON-MIB", "hostIndex"), (0, "RMON-MIB", "hostAddress")) if mibBuilder.loadTexts: hostEntry.setDescription("A collection of statistics for a particular host that has\nbeen discovered on an interface of this device. For example,\nan instance of the hostOutBroadcastPkts object might be\nnamed hostOutBroadcastPkts.1.6.8.0.32.27.3.176") hostAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostAddress.setDescription("The physical address of this host.") hostCreationOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostCreationOrder.setDescription("An index that defines the relative ordering of\nthe creation time of hosts captured for a\nparticular hostControlEntry. This index shall\nbe between 1 and N, where N is the value of\nthe associated hostControlTableSize. The ordering\nof the indexes is based on the order of each entry's\ninsertion into the table, in which entries added earlier\nhave a lower index value than entries added later.\n\nIt is important to note that the order for a\nparticular entry may change as an (earlier) entry\nis deleted from the table. Because this order may\nchange, management stations should make use of the\nhostControlLastDeleteTime variable in the\nhostControlEntry associated with the relevant\nportion of the hostTable. By observing\nthis variable, the management station may detect\nthe circumstances where a previous association\nbetween a value of hostCreationOrder\nand a hostEntry may no longer hold.") hostIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostIndex.setDescription("The set of collected host statistics of which\nthis entry is a part. The set of hosts\nidentified by a particular value of this\nindex is associated with the hostControlEntry\nas identified by the same value of hostControlIndex.") hostInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostInPkts.setDescription("The number of good packets transmitted to this\naddress since it was added to the hostTable.") hostOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutPkts.setDescription("The number of packets, including bad packets, transmitted\nby this address since it was added to the hostTable.") hostInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostInOctets.setDescription("The number of octets transmitted to this address since\nit was added to the hostTable (excluding framing\nbits but including FCS octets), except for those\noctets in bad packets.") hostOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutOctets.setDescription("The number of octets transmitted by this address since\nit was added to the hostTable (excluding framing\nbits but including FCS octets), including those\noctets in bad packets.") hostOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutErrors.setDescription("The number of bad packets transmitted by this address\nsince this host was added to the hostTable.") hostOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutBroadcastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to the broadcast address\nsince this host was added to the hostTable.") hostOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutMulticastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to a multicast address\nsince this host was added to the hostTable.\nNote that this number does not include packets\ndirected to the broadcast address.") hostTimeTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 3)) if mibBuilder.loadTexts: hostTimeTable.setDescription("A list of time-ordered host table entries.") hostTimeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 3, 1)).setIndexNames((0, "RMON-MIB", "hostTimeIndex"), (0, "RMON-MIB", "hostTimeCreationOrder")) if mibBuilder.loadTexts: hostTimeEntry.setDescription("A collection of statistics for a particular host that has\nbeen discovered on an interface of this device. This\ncollection includes the relative ordering of the creation\ntime of this object. For example, an instance of the\nhostTimeOutBroadcastPkts object might be named\nhostTimeOutBroadcastPkts.1.687") hostTimeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeAddress.setDescription("The physical address of this host.") hostTimeCreationOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeCreationOrder.setDescription("An index that uniquely identifies an entry in\nthe hostTime table among those entries associated\nwith the same hostControlEntry. This index shall\nbe between 1 and N, where N is the value of\nthe associated hostControlTableSize. The ordering\nof the indexes is based on the order of each entry's\ninsertion into the table, in which entries added earlier\nhave a lower index value than entries added later.\nThus the management station has the ability to\nlearn of new entries added to this table without\ndownloading the entire table.\n\nIt is important to note that the index for a\nparticular entry may change as an (earlier) entry\nis deleted from the table. Because this order may\nchange, management stations should make use of the\nhostControlLastDeleteTime variable in the\nhostControlEntry associated with the relevant\nportion of the hostTimeTable. By observing\nthis variable, the management station may detect\nthe circumstances where a download of the table\nmay have missed entries, and where a previous\nassociation between a value of hostTimeCreationOrder\nand a hostTimeEntry may no longer hold.") hostTimeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeIndex.setDescription("The set of collected host statistics of which\nthis entry is a part. The set of hosts\nidentified by a particular value of this\nindex is associated with the hostControlEntry\nas identified by the same value of hostControlIndex.") hostTimeInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeInPkts.setDescription("The number of good packets transmitted to this\naddress since it was added to the hostTimeTable.") hostTimeOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutPkts.setDescription("The number of packets, including bad packets, transmitted\nby this address since it was added to the hostTimeTable.") hostTimeInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeInOctets.setDescription("The number of octets transmitted to this address since\nit was added to the hostTimeTable (excluding framing\nbits but including FCS octets), except for those\noctets in bad packets.") hostTimeOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutOctets.setDescription("The number of octets transmitted by this address since\nit was added to the hostTimeTable (excluding framing\nbits but including FCS octets), including those\noctets in bad packets.") hostTimeOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutErrors.setDescription("The number of bad packets transmitted by this address\nsince this host was added to the hostTimeTable.") hostTimeOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutBroadcastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to the broadcast address\nsince this host was added to the hostTimeTable.") hostTimeOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutMulticastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to a multicast address\nsince this host was added to the hostTimeTable.\nNote that this number does not include packets directed\nto the broadcast address.") hostTopN = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 5)) hostTopNControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 5, 1)) if mibBuilder.loadTexts: hostTopNControlTable.setDescription("A list of top N host control entries.") hostTopNControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 5, 1, 1)).setIndexNames((0, "RMON-MIB", "hostTopNControlIndex")) if mibBuilder.loadTexts: hostTopNControlEntry.setDescription("A set of parameters that control the creation of a report\nof the top N hosts according to several metrics. For\nexample, an instance of the hostTopNDuration object might\nbe named hostTopNDuration.3") hostTopNControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNControlIndex.setDescription("An index that uniquely identifies an entry\nin the hostTopNControl table. Each such\nentry defines one top N report prepared for\none interface.") hostTopNHostIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostTopNHostIndex.setDescription("The host table for which a top N report will be prepared\non behalf of this entry. The host table identified by a\nparticular value of this index is associated with the same\nhost table as identified by the same value of\nhostIndex.\n\nThis object may not be modified if the associated\nhostTopNStatus object is equal to valid(1).") hostTopNRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(5,2,1,4,3,6,7,)).subtype(namedValues=NamedValues(("hostTopNInPkts", 1), ("hostTopNOutPkts", 2), ("hostTopNInOctets", 3), ("hostTopNOutOctets", 4), ("hostTopNOutErrors", 5), ("hostTopNOutBroadcastPkts", 6), ("hostTopNOutMulticastPkts", 7), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostTopNRateBase.setDescription("The variable for each host that the hostTopNRate\nvariable is based upon.\n\nThis object may not be modified if the associated\nhostTopNStatus object is equal to valid(1).") hostTopNTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 4), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostTopNTimeRemaining.setDescription("The number of seconds left in the report currently being\ncollected. When this object is modified by the management\nstation, a new collection is started, possibly aborting\na currently running report. The new value is used\nas the requested duration of this report, which is\nloaded into the associated hostTopNDuration object.\n\nWhen this object is set to a non-zero value, any\nassociated hostTopNEntries shall be made\ninaccessible by the monitor. While the value of this\nobject is non-zero, it decrements by one per second until\nit reaches zero. During this time, all associated\nhostTopNEntries shall remain inaccessible. At the time\nthat this object decrements to zero, the report is made\naccessible in the hostTopNTable. Thus, the hostTopN\ntable needs to be created only at the end of the collection\ninterval.") hostTopNDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 5), Integer32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNDuration.setDescription("The number of seconds that this report has collected\nduring the last sampling interval, or if this\nreport is currently being collected, the number\nof seconds that this report is being collected\nduring this sampling interval.\n\nWhen the associated hostTopNTimeRemaining object is set,\nthis object shall be set by the probe to the same value\nand shall not be modified until the next time\nthe hostTopNTimeRemaining is set.\n\nThis value shall be zero if no reports have been\nrequested for this hostTopNControlEntry.") hostTopNRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 6), Integer32().clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostTopNRequestedSize.setDescription("The maximum number of hosts requested for the top N\ntable.\n\nWhen this object is created or modified, the probe\nshould set hostTopNGrantedSize as closely to this\nobject as is possible for the particular probe\nimplementation and available resources.") hostTopNGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNGrantedSize.setDescription("The maximum number of hosts in the top N table.\n\nWhen the associated hostTopNRequestedSize object is\ncreated or modified, the probe should set this\nobject as closely to the requested value as is possible\nfor the particular implementation and available\nresources. The probe must not lower this value except\nas a result of a set to the associated\nhostTopNRequestedSize object.\n\nHosts with the highest value of hostTopNRate shall be\nplaced in this table in decreasing order of this rate\nuntil there is no more room or until there are no more\nhosts.") hostTopNStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNStartTime.setDescription("The value of sysUpTime when this top N report was\nlast started. In other words, this is the time that\nthe associated hostTopNTimeRemaining object was\nmodified to start the requested report.") hostTopNOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 9), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostTopNOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") hostTopNStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 10), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hostTopNStatus.setDescription("The status of this hostTopNControl entry.\n\nIf this object is not equal to valid(1), all associated\nhostTopNEntries shall be deleted by the agent.") hostTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 5, 2)) if mibBuilder.loadTexts: hostTopNTable.setDescription("A list of top N host entries.") hostTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 5, 2, 1)).setIndexNames((0, "RMON-MIB", "hostTopNReport"), (0, "RMON-MIB", "hostTopNIndex")) if mibBuilder.loadTexts: hostTopNEntry.setDescription("A set of statistics for a host that is part of a top N\nreport. For example, an instance of the hostTopNRate\nobject might be named hostTopNRate.3.10") hostTopNReport = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNReport.setDescription("This object identifies the top N report of which\nthis entry is a part. The set of hosts\nidentified by a particular value of this\nobject is part of the same report as identified\nby the same value of the hostTopNControlIndex object.") hostTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNIndex.setDescription("An index that uniquely identifies an entry in\nthe hostTopN table among those in the same report.\nThis index is between 1 and N, where N is the\nnumber of entries in this table. Increasing values\nof hostTopNIndex shall be assigned to entries with\ndecreasing values of hostTopNRate until index N\nis assigned to the entry with the lowest value of\nhostTopNRate or there are no more hostTopNEntries.") hostTopNAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNAddress.setDescription("The physical address of this host.") hostTopNRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNRate.setDescription("The amount of change in the selected variable\nduring this sampling interval. The selected\nvariable is this host's instance of the object\nselected by hostTopNRateBase.") matrix = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 6)) matrixControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 1)) if mibBuilder.loadTexts: matrixControlTable.setDescription("A list of information entries for the\ntraffic matrix on each interface.") matrixControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 1, 1)).setIndexNames((0, "RMON-MIB", "matrixControlIndex")) if mibBuilder.loadTexts: matrixControlEntry.setDescription("Information about a traffic matrix on a particular\ninterface. For example, an instance of the\nmatrixControlLastDeleteTime object might be named\nmatrixControlLastDeleteTime.1") matrixControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlIndex.setDescription("An index that uniquely identifies an entry in the\nmatrixControl table. Each such entry defines\na function that discovers conversations on a particular\ninterface and places statistics about them in the\nmatrixSDTable and the matrixDSTable on behalf of this\nmatrixControlEntry.") matrixControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: matrixControlDataSource.setDescription("This object identifies the source of\nthe data from which this entry creates a traffic matrix.\nThis source can be any interface on this device. In\norder to identify a particular interface, this object\nshall identify the instance of the ifIndex object,\ndefined in RFC 2233 [17], for the desired\ninterface. For example, if an entry were to receive data\nfrom interface #1, this object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the identified\ninterface.\n\nAn agent may or may not be able to tell if fundamental\nchanges to the media of the interface have occurred and\nnecessitate an invalidation of this entry. For example, a\nhot-pluggable ethernet card could be pulled out and replaced\nby a token-ring card. In such a case, if the agent has such\nknowledge of the change, it is recommended that it\ninvalidate this entry.\n\nThis object may not be modified if the associated\nmatrixControlStatus object is equal to valid(1).") matrixControlTableSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlTableSize.setDescription("The number of matrixSDEntries in the matrixSDTable\nfor this interface. This must also be the value of\nthe number of entries in the matrixDSTable for this\ninterface.") matrixControlLastDeleteTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlLastDeleteTime.setDescription("The value of sysUpTime when the last entry\nwas deleted from the portion of the matrixSDTable\nor matrixDSTable associated with this matrixControlEntry.\nIf no deletions have occurred, this value shall be\nzero.") matrixControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 5), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: matrixControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") matrixControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 6), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: matrixControlStatus.setDescription("The status of this matrixControl entry.\nIf this object is not equal to valid(1), all associated\nentries in the matrixSDTable and the matrixDSTable\nshall be deleted by the agent.") matrixSDTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 2)) if mibBuilder.loadTexts: matrixSDTable.setDescription("A list of traffic matrix entries indexed by\nsource and destination MAC address.") matrixSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 2, 1)).setIndexNames((0, "RMON-MIB", "matrixSDIndex"), (0, "RMON-MIB", "matrixSDSourceAddress"), (0, "RMON-MIB", "matrixSDDestAddress")) if mibBuilder.loadTexts: matrixSDEntry.setDescription("A collection of statistics for communications between\ntwo addresses on a particular interface. For example,\nan instance of the matrixSDPkts object might be named\nmatrixSDPkts.1.6.8.0.32.27.3.176.6.8.0.32.10.8.113") matrixSDSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDSourceAddress.setDescription("The source physical address.") matrixSDDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDDestAddress.setDescription("The destination physical address.") matrixSDIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDIndex.setDescription("The set of collected matrix statistics of which\nthis entry is a part. The set of matrix statistics\nidentified by a particular value of this index\nis associated with the same matrixControlEntry\nas identified by the same value of matrixControlIndex.") matrixSDPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDPkts.setDescription("The number of packets transmitted from the source\naddress to the destination address (this number includes\nbad packets).") matrixSDOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDOctets.setDescription("The number of octets (excluding framing bits but\nincluding FCS octets) contained in all packets\ntransmitted from the source address to the\ndestination address.") matrixSDErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDErrors.setDescription("The number of bad packets transmitted from\nthe source address to the destination address.") matrixDSTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 3)) if mibBuilder.loadTexts: matrixDSTable.setDescription("A list of traffic matrix entries indexed by\ndestination and source MAC address.") matrixDSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 3, 1)).setIndexNames((0, "RMON-MIB", "matrixDSIndex"), (0, "RMON-MIB", "matrixDSDestAddress"), (0, "RMON-MIB", "matrixDSSourceAddress")) if mibBuilder.loadTexts: matrixDSEntry.setDescription("A collection of statistics for communications between\ntwo addresses on a particular interface. For example,\nan instance of the matrixSDPkts object might be named\nmatrixSDPkts.1.6.8.0.32.10.8.113.6.8.0.32.27.3.176") matrixDSSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSSourceAddress.setDescription("The source physical address.") matrixDSDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSDestAddress.setDescription("The destination physical address.") matrixDSIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSIndex.setDescription("The set of collected matrix statistics of which\nthis entry is a part. The set of matrix statistics\nidentified by a particular value of this index\nis associated with the same matrixControlEntry\nas identified by the same value of matrixControlIndex.") matrixDSPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSPkts.setDescription("The number of packets transmitted from the source\naddress to the destination address (this number includes\nbad packets).") matrixDSOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSOctets.setDescription("The number of octets (excluding framing bits\nbut including FCS octets) contained in all packets\ntransmitted from the source address to the\ndestination address.") matrixDSErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSErrors.setDescription("The number of bad packets transmitted from\nthe source address to the destination address.") filter = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 7)) filterTable = MibTable((1, 3, 6, 1, 2, 1, 16, 7, 1)) if mibBuilder.loadTexts: filterTable.setDescription("A list of packet filter entries.") filterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 7, 1, 1)).setIndexNames((0, "RMON-MIB", "filterIndex")) if mibBuilder.loadTexts: filterEntry.setDescription("A set of parameters for a packet filter applied on a\nparticular interface. As an example, an instance of the\nfilterPktData object might be named filterPktData.12") filterIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: filterIndex.setDescription("An index that uniquely identifies an entry\nin the filter table. Each such entry defines\none filter that is to be applied to every packet\nreceived on an interface.") filterChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterChannelIndex.setDescription("This object identifies the channel of which this filter\nis a part. The filters identified by a particular value\nof this object are associated with the same channel as\nidentified by the same value of the channelIndex object.") filterPktDataOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 3), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterPktDataOffset.setDescription("The offset from the beginning of each packet where\na match of packet data will be attempted. This offset\nis measured from the point in the physical layer\npacket after the framing bits, if any. For example,\nin an Ethernet frame, this point is at the beginning of\nthe destination MAC address.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktData = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 4), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterPktData.setDescription("The data that is to be matched with the input packet.\nFor each packet received, this filter and the accompanying\nfilterPktDataMask and filterPktDataNotMask will be\nadjusted for the offset. The only bits relevant to this\nmatch algorithm are those that have the corresponding\nfilterPktDataMask bit equal to one. The following three\nrules are then applied to every packet:\n\n(1) If the packet is too short and does not have data\n corresponding to part of the filterPktData, the packet\n will fail this data match.\n\n(2) For each relevant bit from the packet with the\n corresponding filterPktDataNotMask bit set to zero, if\n the bit from the packet is not equal to the corresponding\n bit from the filterPktData, then the packet will fail\n this data match.\n\n(3) If for every relevant bit from the packet with the\n corresponding filterPktDataNotMask bit set to one, the\n bit from the packet is equal to the corresponding bit\n from the filterPktData, then the packet will fail this\n data match.\n\nAny packets that have not failed any of the three matches\nabove have passed this data match. In particular, a zero\nlength filter will match any packet.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktDataMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 5), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterPktDataMask.setDescription("The mask that is applied to the match process.\nAfter adjusting this mask for the offset, only those\nbits in the received packet that correspond to bits set\nin this mask are relevant for further processing by the\nmatch algorithm. The offset is applied to filterPktDataMask\nin the same way it is applied to the filter. For the\npurposes of the matching algorithm, if the associated\nfilterPktData object is longer than this mask, this mask is\nconceptually extended with '1' bits until it reaches the\nlength of the filterPktData object.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktDataNotMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 6), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterPktDataNotMask.setDescription("The inversion mask that is applied to the match\nprocess. After adjusting this mask for the offset,\nthose relevant bits in the received packet that correspond\nto bits cleared in this mask must all be equal to their\ncorresponding bits in the filterPktData object for the packet\nto be accepted. In addition, at least one of those relevant\nbits in the received packet that correspond to bits set in\nthis mask must be different to its corresponding bit in the\nfilterPktData object.\n\nFor the purposes of the matching algorithm, if the associated\nfilterPktData object is longer than this mask, this mask is\nconceptually extended with '0' bits until it reaches the\nlength of the filterPktData object.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 7), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterPktStatus.setDescription("The status that is to be matched with the input packet.\nThe only bits relevant to this match algorithm are those that\nhave the corresponding filterPktStatusMask bit equal to one.\nThe following two rules are then applied to every packet:\n\n(1) For each relevant bit from the packet status with the\n corresponding filterPktStatusNotMask bit set to zero, if\n the bit from the packet status is not equal to the\n corresponding bit from the filterPktStatus, then the\n packet will fail this status match.\n\n(2) If for every relevant bit from the packet status with the\n corresponding filterPktStatusNotMask bit set to one, the\n bit from the packet status is equal to the corresponding\n bit from the filterPktStatus, then the packet will fail\n this status match.\n\nAny packets that have not failed either of the two matches\nabove have passed this status match. In particular, a zero\nlength status filter will match any packet's status.\n\nThe value of the packet status is a sum. This sum\ninitially takes the value zero. Then, for each\nerror, E, that has been discovered in this packet,\n2 raised to a value representing E is added to the sum.\nThe errors and the bits that represent them are dependent\non the media type of the interface that this channel\nis receiving packets from.\n\nThe errors defined for a packet captured off of an\nEthernet interface are as follows:\n\n bit # Error\n 0 Packet is longer than 1518 octets\n 1 Packet is shorter than 64 octets\n 2 Packet experienced a CRC or Alignment error\n\nFor example, an Ethernet fragment would have a\nvalue of 6 (2^1 + 2^2).\n\nAs this MIB is expanded to new media types, this object\nwill have other media-specific errors defined.\n\nFor the purposes of this status matching algorithm, if the\npacket status is longer than this filterPktStatus object,\nthis object is conceptually extended with '0' bits until it\nreaches the size of the packet status.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktStatusMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 8), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterPktStatusMask.setDescription("The mask that is applied to the status match process.\nOnly those bits in the received packet that correspond to\nbits set in this mask are relevant for further processing\nby the status match algorithm. For the purposes\nof the matching algorithm, if the associated filterPktStatus\nobject is longer than this mask, this mask is conceptually\nextended with '1' bits until it reaches the size of the\nfilterPktStatus. In addition, if a packet status is longer\nthan this mask, this mask is conceptually extended with '0'\nbits until it reaches the size of the packet status.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktStatusNotMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 9), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterPktStatusNotMask.setDescription("The inversion mask that is applied to the status match\nprocess. Those relevant bits in the received packet status\nthat correspond to bits cleared in this mask must all be\nequal to their corresponding bits in the filterPktStatus\nobject for the packet to be accepted. In addition, at least\none of those relevant bits in the received packet status\nthat correspond to bits set in this mask must be different\nto its corresponding bit in the filterPktStatus object for\nthe packet to be accepted.\n\nFor the purposes of the matching algorithm, if the associated\nfilterPktStatus object or a packet status is longer than this\nmask, this mask is conceptually extended with '0' bits until\nit reaches the longer of the lengths of the filterPktStatus\nobject and the packet status.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 10), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") filterStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 11), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterStatus.setDescription("The status of this filter entry.") channelTable = MibTable((1, 3, 6, 1, 2, 1, 16, 7, 2)) if mibBuilder.loadTexts: channelTable.setDescription("A list of packet channel entries.") channelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 7, 2, 1)).setIndexNames((0, "RMON-MIB", "channelIndex")) if mibBuilder.loadTexts: channelEntry.setDescription("A set of parameters for a packet channel applied on a\nparticular interface. As an example, an instance of the\nchannelMatches object might be named channelMatches.3") channelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: channelIndex.setDescription("An index that uniquely identifies an entry in the channel\ntable. Each such entry defines one channel, a logical\ndata and event stream.\n\nIt is suggested that before creating a channel, an\napplication should scan all instances of the\nfilterChannelIndex object to make sure that there are no\npre-existing filters that would be inadvertently be linked\nto the channel.") channelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device to which\nthe associated filters are applied to allow data into this\nchannel. The interface identified by a particular value\nof this object is the same interface as identified by the\nsame value of the ifIndex object, defined in RFC 2233 [17].\n\nThe filters in this group are applied to all packets on\nthe local network segment attached to the identified\ninterface.\n\nAn agent may or may not be able to tell if fundamental\nchanges to the media of the interface have occurred and\nnecessitate an invalidation of this entry. For example, a\nhot-pluggable ethernet card could be pulled out and replaced\nby a token-ring card. In such a case, if the agent has such\nknowledge of the change, it is recommended that it\ninvalidate this entry.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelAcceptType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("acceptMatched", 1), ("acceptFailed", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelAcceptType.setDescription("This object controls the action of the filters\nassociated with this channel. If this object is equal\nto acceptMatched(1), packets will be accepted to this\nchannel if they are accepted by both the packet data and\npacket status matches of an associated filter. If\nthis object is equal to acceptFailed(2), packets will\nbe accepted to this channel only if they fail either\nthe packet data match or the packet status match of\neach of the associated filters.\n\nIn particular, a channel with no associated filters will\nmatch no packets if set to acceptMatched(1) case and will\nmatch all packets in the acceptFailed(2) case.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelDataControl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelDataControl.setDescription("This object controls the flow of data through this channel.\nIf this object is on(1), data, status and events flow\nthrough this channel. If this object is off(2), data,\nstatus and events will not flow through this channel.") channelTurnOnEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelTurnOnEventIndex.setDescription("The value of this object identifies the event\nthat is configured to turn the associated\nchannelDataControl from off to on when the event is\ngenerated. The event identified by a particular value\nof this object is the same event as identified by the\nsame value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no\nassociation exists. In fact, if no event is intended\nfor this channel, channelTurnOnEventIndex must be\nset to zero, a non-existent event index.\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelTurnOffEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelTurnOffEventIndex.setDescription("The value of this object identifies the event\nthat is configured to turn the associated\nchannelDataControl from on to off when the event is\ngenerated. The event identified by a particular value\nof this object is the same event as identified by the\nsame value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no\nassociation exists. In fact, if no event is intended\nfor this channel, channelTurnOffEventIndex must be\nset to zero, a non-existent event index.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelEventIndex.setDescription("The value of this object identifies the event\nthat is configured to be generated when the\nassociated channelDataControl is on and a packet\nis matched. The event identified by a particular value\nof this object is the same event as identified by the\nsame value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no\nassociation exists. In fact, if no event is intended\nfor this channel, channelEventIndex must be\nset to zero, a non-existent event index.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelEventStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("eventReady", 1), ("eventFired", 2), ("eventAlwaysReady", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelEventStatus.setDescription("The event status of this channel.\n\nIf this channel is configured to generate events\nwhen packets are matched, a means of controlling\nthe flow of those events is often needed. When\nthis object is equal to eventReady(1), a single\nevent may be generated, after which this object\nwill be set by the probe to eventFired(2). While\nin the eventFired(2) state, no events will be\ngenerated until the object is modified to\neventReady(1) (or eventAlwaysReady(3)). The\nmanagement station can thus easily respond to a\nnotification of an event by re-enabling this object.\n\nIf the management station wishes to disable this\nflow control and allow events to be generated\nat will, this object may be set to\neventAlwaysReady(3). Disabling the flow control\nis discouraged as it can result in high network\ntraffic or other performance problems.") channelMatches = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: channelMatches.setDescription("The number of times this channel has matched a packet.\nNote that this object is updated even when\nchannelDataControl is set to off.") channelDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelDescription.setDescription("A comment describing this channel.") channelOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 11), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") channelStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 12), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: channelStatus.setDescription("The status of this channel entry.") capture = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 8)) bufferControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 8, 1)) if mibBuilder.loadTexts: bufferControlTable.setDescription("A list of buffers control entries.") bufferControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 8, 1, 1)).setIndexNames((0, "RMON-MIB", "bufferControlIndex")) if mibBuilder.loadTexts: bufferControlEntry.setDescription("A set of parameters that control the collection of a stream\nof packets that have matched filters. As an example, an\ninstance of the bufferControlCaptureSliceSize object might\nbe named bufferControlCaptureSliceSize.3") bufferControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlIndex.setDescription("An index that uniquely identifies an entry\nin the bufferControl table. The value of this\nindex shall never be zero. Each such\nentry defines one set of packets that is\ncaptured and controlled by one or more filters.") bufferControlChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlChannelIndex.setDescription("An index that identifies the channel that is the\nsource of packets for this bufferControl table.\nThe channel identified by a particular value of this\nindex is the same as identified by the same value of\nthe channelIndex object.\n\nThis object may not be modified if the associated\nbufferControlStatus object is equal to valid(1).") bufferControlFullStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("spaceAvailable", 1), ("full", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlFullStatus.setDescription("This object shows whether the buffer has room to\naccept new packets or if it is full.\n\nIf the status is spaceAvailable(1), the buffer is\naccepting new packets normally. If the status is\nfull(2) and the associated bufferControlFullAction\nobject is wrapWhenFull, the buffer is accepting new\npackets by deleting enough of the oldest packets\nto make room for new ones as they arrive. Otherwise,\nif the status is full(2) and the\nbufferControlFullAction object is lockWhenFull,\nthen the buffer has stopped collecting packets.\n\nWhen this object is set to full(2) the probe must\nnot later set it to spaceAvailable(1) except in the\ncase of a significant gain in resources such as\nan increase of bufferControlOctetsGranted. In\nparticular, the wrap-mode action of deleting old\npackets to make room for newly arrived packets\nmust not affect the value of this object.") bufferControlFullAction = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("lockWhenFull", 1), ("wrapWhenFull", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlFullAction.setDescription("Controls the action of the buffer when it\nreaches the full status. When in the lockWhenFull(1)\nstate and a packet is added to the buffer that\nfills the buffer, the bufferControlFullStatus will\nbe set to full(2) and this buffer will stop capturing\npackets.") bufferControlCaptureSliceSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 5), Integer32().clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlCaptureSliceSize.setDescription("The maximum number of octets of each packet\nthat will be saved in this capture buffer.\nFor example, if a 1500 octet packet is received by\nthe probe and this object is set to 500, then only\n500 octets of the packet will be stored in the\nassociated capture buffer. If this variable is set\nto 0, the capture buffer will save as many octets\nas is possible.\n\nThis object may not be modified if the associated\nbufferControlStatus object is equal to valid(1).") bufferControlDownloadSliceSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 6), Integer32().clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlDownloadSliceSize.setDescription("The maximum number of octets of each packet\nin this capture buffer that will be returned in\nan SNMP retrieval of that packet. For example,\nif 500 octets of a packet have been stored in the\nassociated capture buffer, the associated\nbufferControlDownloadOffset is 0, and this\nobject is set to 100, then the captureBufferPacket\nobject that contains the packet will contain only\nthe first 100 octets of the packet.\n\nA prudent manager will take into account possible\ninteroperability or fragmentation problems that may\noccur if the download slice size is set too large.\nIn particular, conformant SNMP implementations are not\nrequired to accept messages whose length exceeds 484\noctets, although they are encouraged to support larger\ndatagrams whenever feasible.") bufferControlDownloadOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 7), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlDownloadOffset.setDescription("The offset of the first octet of each packet\nin this capture buffer that will be returned in\nan SNMP retrieval of that packet. For example,\nif 500 octets of a packet have been stored in the\nassociated capture buffer and this object is set to\n100, then the captureBufferPacket object that\ncontains the packet will contain bytes starting\n100 octets into the packet.") bufferControlMaxOctetsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 8), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlMaxOctetsRequested.setDescription("The requested maximum number of octets to be\nsaved in this captureBuffer, including any\nimplementation-specific overhead. If this variable\nis set to -1, the capture buffer will save as many\noctets as is possible.\n\nWhen this object is created or modified, the probe\nshould set bufferControlMaxOctetsGranted as closely\nto this object as is possible for the particular probe\nimplementation and available resources. However, if\nthe object has the special value of -1, the probe\nmust set bufferControlMaxOctetsGranted to -1.") bufferControlMaxOctetsGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlMaxOctetsGranted.setDescription("The maximum number of octets that can be\nsaved in this captureBuffer, including overhead.\nIf this variable is -1, the capture buffer will save\nas many octets as possible.\n\nWhen the bufferControlMaxOctetsRequested object is\ncreated or modified, the probe should set this object\nas closely to the requested value as is possible for the\nparticular probe implementation and available resources.\nHowever, if the request object has the special value\nof -1, the probe must set this object to -1.\n\nThe probe must not lower this value except as a result of\na modification to the associated\nbufferControlMaxOctetsRequested object.\n\nWhen this maximum number of octets is reached\nand a new packet is to be added to this\ncapture buffer and the corresponding\nbufferControlFullAction is set to wrapWhenFull(2),\nenough of the oldest packets associated with this\ncapture buffer shall be deleted by the agent so\nthat the new packet can be added. If the corresponding\nbufferControlFullAction is set to lockWhenFull(1),\nthe new packet shall be discarded. In either case,\nthe probe must set bufferControlFullStatus to\nfull(2).\n\nWhen the value of this object changes to a value less\nthan the current value, entries are deleted from\nthe captureBufferTable associated with this\nbufferControlEntry. Enough of the\noldest of these captureBufferEntries shall be\ndeleted by the agent so that the number of octets\nused remains less than or equal to the new value of\nthis object.\n\nWhen the value of this object changes to a value greater\nthan the current value, the number of associated\ncaptureBufferEntries may be allowed to grow.") bufferControlCapturedPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlCapturedPackets.setDescription("The number of packets currently in this captureBuffer.") bufferControlTurnOnTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlTurnOnTime.setDescription("The value of sysUpTime when this capture buffer was\nfirst turned on.") bufferControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 12), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") bufferControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 13), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bufferControlStatus.setDescription("The status of this buffer Control Entry.") captureBufferTable = MibTable((1, 3, 6, 1, 2, 1, 16, 8, 2)) if mibBuilder.loadTexts: captureBufferTable.setDescription("A list of packets captured off of a channel.") captureBufferEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 8, 2, 1)).setIndexNames((0, "RMON-MIB", "captureBufferControlIndex"), (0, "RMON-MIB", "captureBufferIndex")) if mibBuilder.loadTexts: captureBufferEntry.setDescription("A packet captured off of an attached network. As an\nexample, an instance of the captureBufferPacketData\nobject might be named captureBufferPacketData.3.1783") captureBufferControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferControlIndex.setDescription("The index of the bufferControlEntry with which\nthis packet is associated.") captureBufferIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferIndex.setDescription("An index that uniquely identifies an entry\nin the captureBuffer table associated with a\nparticular bufferControlEntry. This index will\nstart at 1 and increase by one for each new packet\nadded with the same captureBufferControlIndex.\n\nShould this value reach 2147483647, the next packet\nadded with the same captureBufferControlIndex shall\ncause this value to wrap around to 1.") captureBufferPacketID = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketID.setDescription("An index that describes the order of packets\nthat are received on a particular interface.\nThe packetID of a packet captured on an\ninterface is defined to be greater than the\npacketID's of all packets captured previously on\nthe same interface. As the captureBufferPacketID\nobject has a maximum positive value of 2^31 - 1,\nany captureBufferPacketID object shall have the\nvalue of the associated packet's packetID mod 2^31.") captureBufferPacketData = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketData.setDescription("The data inside the packet, starting at the beginning\nof the packet plus any offset specified in the\nassociated bufferControlDownloadOffset, including any\nlink level headers. The length of the data in this object\nis the minimum of the length of the captured packet minus\nthe offset, the length of the associated\nbufferControlCaptureSliceSize minus the offset, and the\nassociated bufferControlDownloadSliceSize. If this minimum\nis less than zero, this object shall have a length of zero.") captureBufferPacketLength = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketLength.setDescription("The actual length (off the wire) of the packet stored\nin this entry, including FCS octets.") captureBufferPacketTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketTime.setDescription("The number of milliseconds that had passed since\nthis capture buffer was first turned on when this\npacket was captured.") captureBufferPacketStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketStatus.setDescription("A value which indicates the error status of this packet.\n\nThe value of this object is defined in the same way as\nfilterPktStatus. The value is a sum. This sum\ninitially takes the value zero. Then, for each\nerror, E, that has been discovered in this packet,\n2 raised to a value representing E is added to the sum.\n\nThe errors defined for a packet captured off of an\nEthernet interface are as follows:\n\n bit # Error\n 0 Packet is longer than 1518 octets\n 1 Packet is shorter than 64 octets\n 2 Packet experienced a CRC or Alignment error\n 3 First packet in this capture buffer after\n it was detected that some packets were\n not processed correctly.\n 4 Packet's order in buffer is only approximate\n (May only be set for packets sent from\n the probe)\n\nFor example, an Ethernet fragment would have a\nvalue of 6 (2^1 + 2^2).\n\nAs this MIB is expanded to new media types, this object\nwill have other media-specific errors defined.") event = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 9)) eventTable = MibTable((1, 3, 6, 1, 2, 1, 16, 9, 1)) if mibBuilder.loadTexts: eventTable.setDescription("A list of events to be generated.") eventEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 9, 1, 1)).setIndexNames((0, "RMON-MIB", "eventIndex")) if mibBuilder.loadTexts: eventEntry.setDescription("A set of parameters that describe an event to be generated\nwhen certain conditions are met. As an example, an instance\nof the eventLastTimeSent object might be named\neventLastTimeSent.6") eventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: eventIndex.setDescription("An index that uniquely identifies an entry in the\nevent table. Each such entry defines one event that\nis to be generated when the appropriate conditions\noccur.") eventDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readcreate") if mibBuilder.loadTexts: eventDescription.setDescription("A comment describing this event entry.") eventType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("none", 1), ("log", 2), ("snmptrap", 3), ("logandtrap", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: eventType.setDescription("The type of notification that the probe will make\nabout this event. In the case of log, an entry is\nmade in the log table for each event. In the case of\nsnmp-trap, an SNMP trap is sent to one or more\nmanagement stations.") eventCommunity = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readcreate") if mibBuilder.loadTexts: eventCommunity.setDescription("If an SNMP trap is to be sent, it will be sent to\nthe SNMP community specified by this octet string.") eventLastTimeSent = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: eventLastTimeSent.setDescription("The value of sysUpTime at the time this event\nentry last generated an event. If this entry has\nnot generated any events, this value will be\nzero.") eventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 6), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: eventOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.\n\nIf this object contains a string starting with 'monitor'\nand has associated entries in the log table, all connected\nmanagement stations should retrieve those log entries,\nas they may have significance to all management stations\nconnected to this device") eventStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 7), EntryStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: eventStatus.setDescription("The status of this event entry.\n\nIf this object is not equal to valid(1), all associated\nlog entries shall be deleted by the agent.") logTable = MibTable((1, 3, 6, 1, 2, 1, 16, 9, 2)) if mibBuilder.loadTexts: logTable.setDescription("A list of events that have been logged.") logEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 9, 2, 1)).setIndexNames((0, "RMON-MIB", "logEventIndex"), (0, "RMON-MIB", "logIndex")) if mibBuilder.loadTexts: logEntry.setDescription("A set of data describing an event that has been\nlogged. For example, an instance of the logDescription\nobject might be named logDescription.6.47") logEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: logEventIndex.setDescription("The event entry that generated this log\nentry. The log identified by a particular\nvalue of this index is associated with the same\neventEntry as identified by the same value\nof eventIndex.") logIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: logIndex.setDescription("An index that uniquely identifies an entry\nin the log table amongst those generated by the\nsame eventEntries. These indexes are\nassigned beginning with 1 and increase by one\nwith each new log entry. The association\nbetween values of logIndex and logEntries\nis fixed for the lifetime of each logEntry.\nThe agent may choose to delete the oldest\ninstances of logEntry as required because of\nlack of memory. It is an implementation-specific\nmatter as to when this deletion may occur.") logTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: logTime.setDescription("The value of sysUpTime when this log entry was created.") logDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: logDescription.setDescription("An implementation dependent description of the\nevent that activated this log entry.") rmonConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20)) rmonMibModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 20, 8)).setRevisions(("2000-05-11 00:00","1995-02-01 00:00","1991-11-01 00:00",)) if mibBuilder.loadTexts: rmonMibModule.setOrganization("IETF RMON MIB Working Group") if mibBuilder.loadTexts: rmonMibModule.setContactInfo("Steve Waldbusser\nPhone: +1-650-948-6500\nFax: +1-650-745-0671\nEmail: waldbusser@nextbeacon.com") if mibBuilder.loadTexts: rmonMibModule.setDescription("Remote network monitoring devices, often called\nmonitors or probes, are instruments that exist for\nthe purpose of managing a network. This MIB defines\nobjects for managing remote network monitoring devices.") rmonCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 9)) rmonGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 10)) # Augmentions # Notifications risingAlarm = NotificationType((1, 3, 6, 1, 2, 1, 16, 0, 1)).setObjects(*(("RMON-MIB", "alarmVariable"), ("RMON-MIB", "alarmIndex"), ("RMON-MIB", "alarmValue"), ("RMON-MIB", "alarmSampleType"), ("RMON-MIB", "alarmRisingThreshold"), ) ) if mibBuilder.loadTexts: risingAlarm.setDescription("The SNMP trap that is generated when an alarm\nentry crosses its rising threshold and generates\nan event that is configured for sending SNMP\ntraps.") fallingAlarm = NotificationType((1, 3, 6, 1, 2, 1, 16, 0, 2)).setObjects(*(("RMON-MIB", "alarmFallingThreshold"), ("RMON-MIB", "alarmVariable"), ("RMON-MIB", "alarmIndex"), ("RMON-MIB", "alarmValue"), ("RMON-MIB", "alarmSampleType"), ) ) if mibBuilder.loadTexts: fallingAlarm.setDescription("The SNMP trap that is generated when an alarm\nentry crosses its falling threshold and generates\nan event that is configured for sending SNMP\ntraps.") # Groups rmonEtherStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 1)).setObjects(*(("RMON-MIB", "etherStatsOversizePkts"), ("RMON-MIB", "etherStatsPkts"), ("RMON-MIB", "etherStatsBroadcastPkts"), ("RMON-MIB", "etherStatsDataSource"), ("RMON-MIB", "etherStatsPkts1024to1518Octets"), ("RMON-MIB", "etherStatsOctets"), ("RMON-MIB", "etherStatsOwner"), ("RMON-MIB", "etherStatsPkts128to255Octets"), ("RMON-MIB", "etherStatsJabbers"), ("RMON-MIB", "etherStatsCRCAlignErrors"), ("RMON-MIB", "etherStatsMulticastPkts"), ("RMON-MIB", "etherStatsStatus"), ("RMON-MIB", "etherStatsIndex"), ("RMON-MIB", "etherStatsPkts256to511Octets"), ("RMON-MIB", "etherStatsUndersizePkts"), ("RMON-MIB", "etherStatsPkts65to127Octets"), ("RMON-MIB", "etherStatsDropEvents"), ("RMON-MIB", "etherStatsCollisions"), ("RMON-MIB", "etherStatsFragments"), ("RMON-MIB", "etherStatsPkts512to1023Octets"), ("RMON-MIB", "etherStatsPkts64Octets"), ) ) if mibBuilder.loadTexts: rmonEtherStatsGroup.setDescription("The RMON Ethernet Statistics Group.") rmonHistoryControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 2)).setObjects(*(("RMON-MIB", "historyControlIndex"), ("RMON-MIB", "historyControlBucketsGranted"), ("RMON-MIB", "historyControlDataSource"), ("RMON-MIB", "historyControlBucketsRequested"), ("RMON-MIB", "historyControlInterval"), ("RMON-MIB", "historyControlOwner"), ("RMON-MIB", "historyControlStatus"), ) ) if mibBuilder.loadTexts: rmonHistoryControlGroup.setDescription("The RMON History Control Group.") rmonEthernetHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 3)).setObjects(*(("RMON-MIB", "etherHistoryUndersizePkts"), ("RMON-MIB", "etherHistoryCRCAlignErrors"), ("RMON-MIB", "etherHistoryIntervalStart"), ("RMON-MIB", "etherHistorySampleIndex"), ("RMON-MIB", "etherHistoryOctets"), ("RMON-MIB", "etherHistoryOversizePkts"), ("RMON-MIB", "etherHistoryBroadcastPkts"), ("RMON-MIB", "etherHistoryFragments"), ("RMON-MIB", "etherHistoryPkts"), ("RMON-MIB", "etherHistoryCollisions"), ("RMON-MIB", "etherHistoryJabbers"), ("RMON-MIB", "etherHistoryDropEvents"), ("RMON-MIB", "etherHistoryIndex"), ("RMON-MIB", "etherHistoryUtilization"), ("RMON-MIB", "etherHistoryMulticastPkts"), ) ) if mibBuilder.loadTexts: rmonEthernetHistoryGroup.setDescription("The RMON Ethernet History Group.") rmonAlarmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 4)).setObjects(*(("RMON-MIB", "alarmStatus"), ("RMON-MIB", "alarmInterval"), ("RMON-MIB", "alarmOwner"), ("RMON-MIB", "alarmVariable"), ("RMON-MIB", "alarmFallingEventIndex"), ("RMON-MIB", "alarmIndex"), ("RMON-MIB", "alarmRisingThreshold"), ("RMON-MIB", "alarmStartupAlarm"), ("RMON-MIB", "alarmRisingEventIndex"), ("RMON-MIB", "alarmValue"), ("RMON-MIB", "alarmSampleType"), ("RMON-MIB", "alarmFallingThreshold"), ) ) if mibBuilder.loadTexts: rmonAlarmGroup.setDescription("The RMON Alarm Group.") rmonHostGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 5)).setObjects(*(("RMON-MIB", "hostTimeInPkts"), ("RMON-MIB", "hostTimeOutBroadcastPkts"), ("RMON-MIB", "hostIndex"), ("RMON-MIB", "hostControlTableSize"), ("RMON-MIB", "hostTimeOutOctets"), ("RMON-MIB", "hostTimeOutPkts"), ("RMON-MIB", "hostOutPkts"), ("RMON-MIB", "hostOutBroadcastPkts"), ("RMON-MIB", "hostTimeInOctets"), ("RMON-MIB", "hostAddress"), ("RMON-MIB", "hostControlDataSource"), ("RMON-MIB", "hostTimeIndex"), ("RMON-MIB", "hostTimeOutErrors"), ("RMON-MIB", "hostControlOwner"), ("RMON-MIB", "hostOutMulticastPkts"), ("RMON-MIB", "hostOutOctets"), ("RMON-MIB", "hostTimeAddress"), ("RMON-MIB", "hostCreationOrder"), ("RMON-MIB", "hostInPkts"), ("RMON-MIB", "hostControlStatus"), ("RMON-MIB", "hostInOctets"), ("RMON-MIB", "hostTimeCreationOrder"), ("RMON-MIB", "hostControlLastDeleteTime"), ("RMON-MIB", "hostTimeOutMulticastPkts"), ("RMON-MIB", "hostOutErrors"), ("RMON-MIB", "hostControlIndex"), ) ) if mibBuilder.loadTexts: rmonHostGroup.setDescription("The RMON Host Group.") rmonHostTopNGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 6)).setObjects(*(("RMON-MIB", "hostTopNAddress"), ("RMON-MIB", "hostTopNRate"), ("RMON-MIB", "hostTopNTimeRemaining"), ("RMON-MIB", "hostTopNReport"), ("RMON-MIB", "hostTopNIndex"), ("RMON-MIB", "hostTopNOwner"), ("RMON-MIB", "hostTopNGrantedSize"), ("RMON-MIB", "hostTopNHostIndex"), ("RMON-MIB", "hostTopNRateBase"), ("RMON-MIB", "hostTopNStatus"), ("RMON-MIB", "hostTopNControlIndex"), ("RMON-MIB", "hostTopNStartTime"), ("RMON-MIB", "hostTopNDuration"), ("RMON-MIB", "hostTopNRequestedSize"), ) ) if mibBuilder.loadTexts: rmonHostTopNGroup.setDescription("The RMON Host Top 'N' Group.") rmonMatrixGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 7)).setObjects(*(("RMON-MIB", "matrixSDOctets"), ("RMON-MIB", "matrixDSOctets"), ("RMON-MIB", "matrixControlLastDeleteTime"), ("RMON-MIB", "matrixSDErrors"), ("RMON-MIB", "matrixControlStatus"), ("RMON-MIB", "matrixDSSourceAddress"), ("RMON-MIB", "matrixSDIndex"), ("RMON-MIB", "matrixDSErrors"), ("RMON-MIB", "matrixControlIndex"), ("RMON-MIB", "matrixControlDataSource"), ("RMON-MIB", "matrixDSPkts"), ("RMON-MIB", "matrixDSDestAddress"), ("RMON-MIB", "matrixSDDestAddress"), ("RMON-MIB", "matrixSDPkts"), ("RMON-MIB", "matrixControlTableSize"), ("RMON-MIB", "matrixControlOwner"), ("RMON-MIB", "matrixSDSourceAddress"), ("RMON-MIB", "matrixDSIndex"), ) ) if mibBuilder.loadTexts: rmonMatrixGroup.setDescription("The RMON Matrix Group.") rmonFilterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 8)).setObjects(*(("RMON-MIB", "filterPktStatusNotMask"), ("RMON-MIB", "channelEventIndex"), ("RMON-MIB", "filterPktStatus"), ("RMON-MIB", "channelIndex"), ("RMON-MIB", "channelIfIndex"), ("RMON-MIB", "channelDataControl"), ("RMON-MIB", "filterPktData"), ("RMON-MIB", "channelStatus"), ("RMON-MIB", "filterChannelIndex"), ("RMON-MIB", "filterPktDataMask"), ("RMON-MIB", "channelOwner"), ("RMON-MIB", "channelAcceptType"), ("RMON-MIB", "channelDescription"), ("RMON-MIB", "channelTurnOnEventIndex"), ("RMON-MIB", "filterPktDataOffset"), ("RMON-MIB", "filterOwner"), ("RMON-MIB", "channelMatches"), ("RMON-MIB", "filterIndex"), ("RMON-MIB", "filterPktDataNotMask"), ("RMON-MIB", "filterPktStatusMask"), ("RMON-MIB", "filterStatus"), ("RMON-MIB", "channelEventStatus"), ("RMON-MIB", "channelTurnOffEventIndex"), ) ) if mibBuilder.loadTexts: rmonFilterGroup.setDescription("The RMON Filter Group.") rmonPacketCaptureGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 9)).setObjects(*(("RMON-MIB", "bufferControlStatus"), ("RMON-MIB", "captureBufferPacketData"), ("RMON-MIB", "captureBufferControlIndex"), ("RMON-MIB", "bufferControlIndex"), ("RMON-MIB", "captureBufferPacketID"), ("RMON-MIB", "bufferControlMaxOctetsGranted"), ("RMON-MIB", "bufferControlDownloadSliceSize"), ("RMON-MIB", "bufferControlCapturedPackets"), ("RMON-MIB", "bufferControlTurnOnTime"), ("RMON-MIB", "bufferControlMaxOctetsRequested"), ("RMON-MIB", "bufferControlChannelIndex"), ("RMON-MIB", "captureBufferPacketTime"), ("RMON-MIB", "captureBufferPacketLength"), ("RMON-MIB", "bufferControlFullAction"), ("RMON-MIB", "bufferControlDownloadOffset"), ("RMON-MIB", "captureBufferPacketStatus"), ("RMON-MIB", "bufferControlCaptureSliceSize"), ("RMON-MIB", "captureBufferIndex"), ("RMON-MIB", "bufferControlFullStatus"), ("RMON-MIB", "bufferControlOwner"), ) ) if mibBuilder.loadTexts: rmonPacketCaptureGroup.setDescription("The RMON Packet Capture Group.") rmonEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 10)).setObjects(*(("RMON-MIB", "logDescription"), ("RMON-MIB", "logTime"), ("RMON-MIB", "eventDescription"), ("RMON-MIB", "eventType"), ("RMON-MIB", "eventOwner"), ("RMON-MIB", "eventIndex"), ("RMON-MIB", "logIndex"), ("RMON-MIB", "eventCommunity"), ("RMON-MIB", "eventLastTimeSent"), ("RMON-MIB", "eventStatus"), ("RMON-MIB", "logEventIndex"), ) ) if mibBuilder.loadTexts: rmonEventGroup.setDescription("The RMON Event Group.") rmonNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 16, 20, 10, 11)).setObjects(*(("RMON-MIB", "fallingAlarm"), ("RMON-MIB", "risingAlarm"), ) ) if mibBuilder.loadTexts: rmonNotificationGroup.setDescription("The RMON Notification Group.") # Compliances rmonCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 9, 1)).setObjects(*(("RMON-MIB", "rmonEthernetHistoryGroup"), ("RMON-MIB", "rmonEtherStatsGroup"), ("RMON-MIB", "rmonPacketCaptureGroup"), ("RMON-MIB", "rmonHostTopNGroup"), ("RMON-MIB", "rmonFilterGroup"), ("RMON-MIB", "rmonHostGroup"), ("RMON-MIB", "rmonAlarmGroup"), ("RMON-MIB", "rmonMatrixGroup"), ("RMON-MIB", "rmonEventGroup"), ("RMON-MIB", "rmonHistoryControlGroup"), ) ) if mibBuilder.loadTexts: rmonCompliance.setDescription("The requirements for conformance to the RMON MIB. At least\none of the groups in this module must be implemented to\nconform to the RMON MIB. Implementations of this MIB\nmust also implement the system group of MIB-II [16] and the\nIF-MIB [17].") # Exports # Module identity mibBuilder.exportSymbols("RMON-MIB", PYSNMP_MODULE_ID=rmonMibModule) # Types mibBuilder.exportSymbols("RMON-MIB", EntryStatus=EntryStatus, OwnerString=OwnerString) # Objects mibBuilder.exportSymbols("RMON-MIB", rmon=rmon, rmonEventsV2=rmonEventsV2, statistics=statistics, etherStatsTable=etherStatsTable, etherStatsEntry=etherStatsEntry, etherStatsIndex=etherStatsIndex, etherStatsDataSource=etherStatsDataSource, etherStatsDropEvents=etherStatsDropEvents, etherStatsOctets=etherStatsOctets, etherStatsPkts=etherStatsPkts, etherStatsBroadcastPkts=etherStatsBroadcastPkts, etherStatsMulticastPkts=etherStatsMulticastPkts, etherStatsCRCAlignErrors=etherStatsCRCAlignErrors, etherStatsUndersizePkts=etherStatsUndersizePkts, etherStatsOversizePkts=etherStatsOversizePkts, etherStatsFragments=etherStatsFragments, etherStatsJabbers=etherStatsJabbers, etherStatsCollisions=etherStatsCollisions, etherStatsPkts64Octets=etherStatsPkts64Octets, etherStatsPkts65to127Octets=etherStatsPkts65to127Octets, etherStatsPkts128to255Octets=etherStatsPkts128to255Octets, etherStatsPkts256to511Octets=etherStatsPkts256to511Octets, etherStatsPkts512to1023Octets=etherStatsPkts512to1023Octets, etherStatsPkts1024to1518Octets=etherStatsPkts1024to1518Octets, etherStatsOwner=etherStatsOwner, etherStatsStatus=etherStatsStatus, history=history, historyControlTable=historyControlTable, historyControlEntry=historyControlEntry, historyControlIndex=historyControlIndex, historyControlDataSource=historyControlDataSource, historyControlBucketsRequested=historyControlBucketsRequested, historyControlBucketsGranted=historyControlBucketsGranted, historyControlInterval=historyControlInterval, historyControlOwner=historyControlOwner, historyControlStatus=historyControlStatus, etherHistoryTable=etherHistoryTable, etherHistoryEntry=etherHistoryEntry, etherHistoryIndex=etherHistoryIndex, etherHistorySampleIndex=etherHistorySampleIndex, etherHistoryIntervalStart=etherHistoryIntervalStart, etherHistoryDropEvents=etherHistoryDropEvents, etherHistoryOctets=etherHistoryOctets, etherHistoryPkts=etherHistoryPkts, etherHistoryBroadcastPkts=etherHistoryBroadcastPkts, etherHistoryMulticastPkts=etherHistoryMulticastPkts, etherHistoryCRCAlignErrors=etherHistoryCRCAlignErrors, etherHistoryUndersizePkts=etherHistoryUndersizePkts, etherHistoryOversizePkts=etherHistoryOversizePkts, etherHistoryFragments=etherHistoryFragments, etherHistoryJabbers=etherHistoryJabbers, etherHistoryCollisions=etherHistoryCollisions, etherHistoryUtilization=etherHistoryUtilization, alarm=alarm, alarmTable=alarmTable, alarmEntry=alarmEntry, alarmIndex=alarmIndex, alarmInterval=alarmInterval, alarmVariable=alarmVariable, alarmSampleType=alarmSampleType, alarmValue=alarmValue, alarmStartupAlarm=alarmStartupAlarm, alarmRisingThreshold=alarmRisingThreshold, alarmFallingThreshold=alarmFallingThreshold, alarmRisingEventIndex=alarmRisingEventIndex, alarmFallingEventIndex=alarmFallingEventIndex, alarmOwner=alarmOwner, alarmStatus=alarmStatus, hosts=hosts, hostControlTable=hostControlTable, hostControlEntry=hostControlEntry, hostControlIndex=hostControlIndex, hostControlDataSource=hostControlDataSource, hostControlTableSize=hostControlTableSize, hostControlLastDeleteTime=hostControlLastDeleteTime, hostControlOwner=hostControlOwner, hostControlStatus=hostControlStatus, hostTable=hostTable, hostEntry=hostEntry, hostAddress=hostAddress, hostCreationOrder=hostCreationOrder, hostIndex=hostIndex, hostInPkts=hostInPkts, hostOutPkts=hostOutPkts, hostInOctets=hostInOctets, hostOutOctets=hostOutOctets, hostOutErrors=hostOutErrors, hostOutBroadcastPkts=hostOutBroadcastPkts, hostOutMulticastPkts=hostOutMulticastPkts, hostTimeTable=hostTimeTable, hostTimeEntry=hostTimeEntry, hostTimeAddress=hostTimeAddress, hostTimeCreationOrder=hostTimeCreationOrder, hostTimeIndex=hostTimeIndex, hostTimeInPkts=hostTimeInPkts, hostTimeOutPkts=hostTimeOutPkts, hostTimeInOctets=hostTimeInOctets, hostTimeOutOctets=hostTimeOutOctets, hostTimeOutErrors=hostTimeOutErrors, hostTimeOutBroadcastPkts=hostTimeOutBroadcastPkts, hostTimeOutMulticastPkts=hostTimeOutMulticastPkts, hostTopN=hostTopN, hostTopNControlTable=hostTopNControlTable, hostTopNControlEntry=hostTopNControlEntry, hostTopNControlIndex=hostTopNControlIndex, hostTopNHostIndex=hostTopNHostIndex, hostTopNRateBase=hostTopNRateBase, hostTopNTimeRemaining=hostTopNTimeRemaining, hostTopNDuration=hostTopNDuration, hostTopNRequestedSize=hostTopNRequestedSize, hostTopNGrantedSize=hostTopNGrantedSize, hostTopNStartTime=hostTopNStartTime, hostTopNOwner=hostTopNOwner, hostTopNStatus=hostTopNStatus, hostTopNTable=hostTopNTable, hostTopNEntry=hostTopNEntry, hostTopNReport=hostTopNReport, hostTopNIndex=hostTopNIndex, hostTopNAddress=hostTopNAddress, hostTopNRate=hostTopNRate, matrix=matrix, matrixControlTable=matrixControlTable, matrixControlEntry=matrixControlEntry, matrixControlIndex=matrixControlIndex, matrixControlDataSource=matrixControlDataSource, matrixControlTableSize=matrixControlTableSize) mibBuilder.exportSymbols("RMON-MIB", matrixControlLastDeleteTime=matrixControlLastDeleteTime, matrixControlOwner=matrixControlOwner, matrixControlStatus=matrixControlStatus, matrixSDTable=matrixSDTable, matrixSDEntry=matrixSDEntry, matrixSDSourceAddress=matrixSDSourceAddress, matrixSDDestAddress=matrixSDDestAddress, matrixSDIndex=matrixSDIndex, matrixSDPkts=matrixSDPkts, matrixSDOctets=matrixSDOctets, matrixSDErrors=matrixSDErrors, matrixDSTable=matrixDSTable, matrixDSEntry=matrixDSEntry, matrixDSSourceAddress=matrixDSSourceAddress, matrixDSDestAddress=matrixDSDestAddress, matrixDSIndex=matrixDSIndex, matrixDSPkts=matrixDSPkts, matrixDSOctets=matrixDSOctets, matrixDSErrors=matrixDSErrors, filter=filter, filterTable=filterTable, filterEntry=filterEntry, filterIndex=filterIndex, filterChannelIndex=filterChannelIndex, filterPktDataOffset=filterPktDataOffset, filterPktData=filterPktData, filterPktDataMask=filterPktDataMask, filterPktDataNotMask=filterPktDataNotMask, filterPktStatus=filterPktStatus, filterPktStatusMask=filterPktStatusMask, filterPktStatusNotMask=filterPktStatusNotMask, filterOwner=filterOwner, filterStatus=filterStatus, channelTable=channelTable, channelEntry=channelEntry, channelIndex=channelIndex, channelIfIndex=channelIfIndex, channelAcceptType=channelAcceptType, channelDataControl=channelDataControl, channelTurnOnEventIndex=channelTurnOnEventIndex, channelTurnOffEventIndex=channelTurnOffEventIndex, channelEventIndex=channelEventIndex, channelEventStatus=channelEventStatus, channelMatches=channelMatches, channelDescription=channelDescription, channelOwner=channelOwner, channelStatus=channelStatus, capture=capture, bufferControlTable=bufferControlTable, bufferControlEntry=bufferControlEntry, bufferControlIndex=bufferControlIndex, bufferControlChannelIndex=bufferControlChannelIndex, bufferControlFullStatus=bufferControlFullStatus, bufferControlFullAction=bufferControlFullAction, bufferControlCaptureSliceSize=bufferControlCaptureSliceSize, bufferControlDownloadSliceSize=bufferControlDownloadSliceSize, bufferControlDownloadOffset=bufferControlDownloadOffset, bufferControlMaxOctetsRequested=bufferControlMaxOctetsRequested, bufferControlMaxOctetsGranted=bufferControlMaxOctetsGranted, bufferControlCapturedPackets=bufferControlCapturedPackets, bufferControlTurnOnTime=bufferControlTurnOnTime, bufferControlOwner=bufferControlOwner, bufferControlStatus=bufferControlStatus, captureBufferTable=captureBufferTable, captureBufferEntry=captureBufferEntry, captureBufferControlIndex=captureBufferControlIndex, captureBufferIndex=captureBufferIndex, captureBufferPacketID=captureBufferPacketID, captureBufferPacketData=captureBufferPacketData, captureBufferPacketLength=captureBufferPacketLength, captureBufferPacketTime=captureBufferPacketTime, captureBufferPacketStatus=captureBufferPacketStatus, event=event, eventTable=eventTable, eventEntry=eventEntry, eventIndex=eventIndex, eventDescription=eventDescription, eventType=eventType, eventCommunity=eventCommunity, eventLastTimeSent=eventLastTimeSent, eventOwner=eventOwner, eventStatus=eventStatus, logTable=logTable, logEntry=logEntry, logEventIndex=logEventIndex, logIndex=logIndex, logTime=logTime, logDescription=logDescription, rmonConformance=rmonConformance, rmonMibModule=rmonMibModule, rmonCompliances=rmonCompliances, rmonGroups=rmonGroups) # Notifications mibBuilder.exportSymbols("RMON-MIB", risingAlarm=risingAlarm, fallingAlarm=fallingAlarm) # Groups mibBuilder.exportSymbols("RMON-MIB", rmonEtherStatsGroup=rmonEtherStatsGroup, rmonHistoryControlGroup=rmonHistoryControlGroup, rmonEthernetHistoryGroup=rmonEthernetHistoryGroup, rmonAlarmGroup=rmonAlarmGroup, rmonHostGroup=rmonHostGroup, rmonHostTopNGroup=rmonHostTopNGroup, rmonMatrixGroup=rmonMatrixGroup, rmonFilterGroup=rmonFilterGroup, rmonPacketCaptureGroup=rmonPacketCaptureGroup, rmonEventGroup=rmonEventGroup, rmonNotificationGroup=rmonNotificationGroup) # Compliances mibBuilder.exportSymbols("RMON-MIB", rmonCompliance=rmonCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DISMAN-SCRIPT-MIB.py0000644000014400001440000016454311736645135021426 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DISMAN-SCRIPT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:49 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, DisplayString, RowStatus, StorageType, TimeInterval, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "RowStatus", "StorageType", "TimeInterval") # Objects scriptMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 64)).setRevisions(("2001-08-21 00:00","1999-02-22 18:00",)) if mibBuilder.loadTexts: scriptMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: scriptMIB.setContactInfo("WG EMail: disman@dorothy.bmc.com\nSubscribe: disman-request@dorothy.bmc.com\n\nChair: Randy Presuhn\n BMC Software, Inc.\n\n\nPostal: Office 1-3141\n 2141 North First Street\n San Jose, California 95131\n USA\nEMail: rpresuhn@bmc.com\nPhone: +1 408 546-1006\n\nEditor: David B. Levi\n Nortel Networks\nPostal: 4401 Great America Parkway\n Santa Clara, CA 95052-8185\n USA\nEMail: dlevi@nortelnetworks.com\nPhone: +1 423 686 0432\n\nEditor: Juergen Schoenwaelder\n TU Braunschweig\nPostal: Bueltenweg 74/75\n 38106 Braunschweig\n Germany\nEMail: schoenw@ibr.cs.tu-bs.de\nPhone: +49 531 391-3283") if mibBuilder.loadTexts: scriptMIB.setDescription("This MIB module defines a set of objects that allow to\ndelegate management scripts to distributed managers.") smObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 1)) smLangTable = MibTable((1, 3, 6, 1, 2, 1, 64, 1, 1)) if mibBuilder.loadTexts: smLangTable.setDescription("This table lists supported script languages.") smLangEntry = MibTableRow((1, 3, 6, 1, 2, 1, 64, 1, 1, 1)).setIndexNames((0, "DISMAN-SCRIPT-MIB", "smLangIndex")) if mibBuilder.loadTexts: smLangEntry.setDescription("An entry describing a particular language.") smLangIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smLangIndex.setDescription("The locally arbitrary, but unique identifier associated\nwith this language entry.\n\nThe value is expected to remain constant at least from one\nre-initialization of the entity's network management system\nto the next re-initialization.\n\nNote that the data type and the range of this object must\nbe consistent with the definition of smScriptLanguage.") smLangLanguage = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: smLangLanguage.setDescription("The globally unique identification of the language.") smLangVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: smLangVersion.setDescription("The version number of the language. The zero-length string\nshall be used if the language does not have a version\nnumber.\n\nIt is suggested that the version number consist of one or\nmore decimal numbers separated by dots, where the first\nnumber is called the major version number.") smLangVendor = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 1, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: smLangVendor.setDescription("An object identifier which identifies the vendor who\nprovides the implementation of the language. This object\nidentifier SHALL point to the object identifier directly\nbelow the enterprise object identifier {1 3 6 1 4 1}\nallocated for the vendor. The value must be the object\nidentifier {0 0} if the vendor is not known.") smLangRevision = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 1, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: smLangRevision.setDescription("The version number of the language implementation.\nThe value of this object must be an empty string if\nversion number of the implementation is unknown.\n\nIt is suggested that the value consist of one or more\ndecimal numbers separated by dots, where the first\nnumber is called the major version number.") smLangDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: smLangDescr.setDescription("A textual description of the language.") smExtsnTable = MibTable((1, 3, 6, 1, 2, 1, 64, 1, 2)) if mibBuilder.loadTexts: smExtsnTable.setDescription("This table lists supported language extensions.") smExtsnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 64, 1, 2, 1)).setIndexNames((0, "DISMAN-SCRIPT-MIB", "smLangIndex"), (0, "DISMAN-SCRIPT-MIB", "smExtsnIndex")) if mibBuilder.loadTexts: smExtsnEntry.setDescription("An entry describing a particular language extension.") smExtsnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smExtsnIndex.setDescription("The locally arbitrary, but unique identifier associated\nwith this language extension entry.\n\nThe value is expected to remain constant at least from one\nre-initialization of the entity's network management system\nto the next re-initialization.") smExtsnExtension = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: smExtsnExtension.setDescription("The globally unique identification of the language\nextension.") smExtsnVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: smExtsnVersion.setDescription("The version number of the language extension.\nIt is suggested that the version number consist of one or\nmore decimal numbers separated by dots, where the first\nnumber is called the major version number.") smExtsnVendor = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 2, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: smExtsnVendor.setDescription("An object identifier which identifies the vendor who\nprovides the implementation of the extension. The\nobject identifier value should point to the OID node\ndirectly below the enterprise OID {1 3 6 1 4 1}\nallocated for the vendor. The value must by the object\nidentifier {0 0} if the vendor is not known.") smExtsnRevision = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 2, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: smExtsnRevision.setDescription("The version number of the extension implementation.\nThe value of this object must be an empty string if\nversion number of the implementation is unknown.\n\nIt is suggested that the value consist of one or more\ndecimal numbers separated by dots, where the first\nnumber is called the major version number.") smExtsnDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 2, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: smExtsnDescr.setDescription("A textual description of the language extension.") smScriptObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 1, 3)) smScriptTable = MibTable((1, 3, 6, 1, 2, 1, 64, 1, 3, 1)) if mibBuilder.loadTexts: smScriptTable.setDescription("This table lists and describes locally known scripts.") smScriptEntry = MibTableRow((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1)).setIndexNames((0, "DISMAN-SCRIPT-MIB", "smScriptOwner"), (0, "DISMAN-SCRIPT-MIB", "smScriptName")) if mibBuilder.loadTexts: smScriptEntry.setDescription("An entry describing a particular script. Every script that\nis stored in non-volatile memory is required to appear in\nthis script table.") smScriptOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smScriptOwner.setDescription("The manager who owns this row in the smScriptTable.") smScriptName = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smScriptName.setDescription("The locally-unique, administratively assigned name for this\nscript. This object allows an smScriptOwner to have multiple\nentries in the smScriptTable.\n\nThis value of this object may be used to derive the name\n(e.g. a file name) which is used by the Script MIB\nimplementation to access the script in non-volatile\nstorage. The details of this mapping are implementation\nspecific. However, the mapping needs to ensure that scripts\ncreated by different owners with the same script name do not\nmap to the same name in non-volatile storage.") smScriptDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 3), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smScriptDescr.setDescription("A description of the purpose of the script.") smScriptLanguage = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: smScriptLanguage.setDescription("The value of this object type identifies an entry in the\nsmLangTable which is used to execute this script.\nThe special value 0 may be used by hard-wired scripts\nthat can not be modified and that are executed by\ninternal functions.\n\nSet requests to change this object are invalid if the\nvalue of smScriptOperStatus is `enabled' or `compiling'\nand will result in an inconsistentValue error.\n\nNote that the data type and the range of this object must\nbe consistent with the definition of smLangIndex.") smScriptSource = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 5), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smScriptSource.setDescription("This object either contains a reference to the script\nsource or an empty string. A reference must be given\nin the form of a Uniform Resource Locator (URL) as\ndefined in RFC 2396. The allowed character sets and the\nencoding rules defined in RFC 2396 section 2 apply.\n\nWhen the smScriptAdminStatus object is set to `enabled',\nthe Script MIB implementation will `pull' the script\nsource from the URL contained in this object if the URL\nis not empty.\n\nAn empty URL indicates that the script source is loaded\nfrom local storage. The script is read from the smCodeTable\nif the value of smScriptStorageType is volatile. Otherwise,\nthe script is read from non-volatile storage.\n\nNote: This document does not mandate implementation of any\nspecific URL scheme. An attempt to load a script from a\nnonsupported URL scheme will cause the smScriptOperStatus\nto report an `unknownProtocol' error.\n\n\n\nSet requests to change this object are invalid if the\nvalue of smScriptOperStatus is `enabled', `editing',\n`retrieving' or `compiling' and will result in an\ninconsistentValue error.") smScriptAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("editing", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: smScriptAdminStatus.setDescription("The value of this object indicates the desired status of\nthe script. See the definition of smScriptOperStatus for\na description of the values.\n\nWhen the smScriptAdminStatus object is set to `enabled' and\nthe smScriptOperStatus is `disabled' or one of the error\nstates, the Script MIB implementation will `pull' the script\nsource from the URL contained in the smScriptSource object\nif the URL is not empty.") smScriptOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(10,2,9,3,14,8,13,4,1,12,5,6,11,7,)).subtype(namedValues=NamedValues(("enabled", 1), ("compilationFailed", 10), ("noResourcesLeft", 11), ("unknownProtocol", 12), ("protocolFailure", 13), ("genericError", 14), ("disabled", 2), ("editing", 3), ("retrieving", 4), ("compiling", 5), ("noSuchScript", 6), ("accessDenied", 7), ("wrongLanguage", 8), ("wrongVersion", 9), )).clone(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: smScriptOperStatus.setDescription("The actual status of the script in the runtime system. The\nvalue of this object is only meaningful when the value of\nthe smScriptRowStatus object is `active'.\n\nThe smScriptOperStatus object may have the following values:\n\n- `enabled' indicates that the script is available and can\n be started by a launch table entry.\n\n- `disabled' indicates that the script can not be used.\n\n- `editing' indicates that the script can be modified in the\n smCodeTable.\n\n- `retrieving' indicates that the script is currently being\n loaded from non-volatile storage or a remote system.\n\n- `compiling' indicates that the script is currently being\n compiled by the runtime system.\n\n- `noSuchScript' indicates that the script does not exist\n at the smScriptSource.\n\n- `accessDenied' indicates that the script can not be loaded\n from the smScriptSource due to a lack of permissions.\n\n- `wrongLanguage' indicates that the script can not be\n loaded from the smScriptSource because of a language\n mismatch.\n\n- `wrongVersion' indicates that the script can not be loaded\n from the smScriptSource because of a language version\n mismatch.\n\n- `compilationFailed' indicates that the compilation failed.\n\n- `noResourcesLeft' indicates that the runtime system does\n not have enough resources to load the script.\n\n- `unknownProtocol' indicates that the script could not be\n loaded from the smScriptSource because the requested\n protocol is not supported.\n\n- `protocolFailure' indicates that the script could not be\n loaded from the smScriptSource because of a protocol\n failure.\n\n- `genericError' indicates that the script could not be\n\n\n loaded due to an error condition not listed above.\n\nThe `retrieving' and `compiling' states are transient states\nwhich will either lead to one of the error states or the\n`enabled' state. The `disabled' and `editing' states are\nadministrative states which are only reached by explicit\nmanagement operations.\n\nAll launch table entries that refer to this script table\nentry shall have an smLaunchOperStatus value of `disabled'\nwhen the value of this object is not `enabled'.") smScriptStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 8), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smScriptStorageType.setDescription("This object defines whether this row and the script\ncontrolled by this row are kept in volatile storage and\nlost upon reboot or if this row is backed up by\nnon-volatile or permanent storage.\n\nThe storage type of this row always complies with the value\nof this entry if the value of the corresponding RowStatus\nobject is `active'.\n\nHowever, the storage type of the script controlled by this\nrow may be different, if the value of this entry is\n`non-volatile'. The script controlled by this row is written\ninto local non-volatile storage if the following condition\nbecomes true:\n\n(a) the URL contained in the smScriptSource object is empty\n and\n(b) the smScriptStorageType is `nonVolatile'\n and\n(c) the smScriptOperStatus is `enabled'\n\nSetting this object to `volatile' removes a script from\nnon-volatile storage if the script controlled by this row\nhas been in non-volatile storage before. Attempts to set\nthis object to permanent will always fail with an\ninconsistentValue error.\n\nThe value of smScriptStorageType is only meaningful if the\nvalue of the corresponding RowStatus object is `active'.\n\n\nIf smScriptStorageType has the value permanent(4), then all\nobjects whose MAX-ACCESS value is read-create must be\nwritable, with the exception of the smScriptStorageType and\nsmScriptRowStatus objects, which shall be read-only.") smScriptRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smScriptRowStatus.setDescription("A control that allows entries to be added and removed from\nthis table.\n\nChanging the smScriptRowStatus from `active' to\n`notInService' will remove the associated script from the\nruntime system.\n\nDeleting conceptual rows from this table may affect the\ndeletion of other resources associated with this row. For\nexample, a script stored in non-volatile storage may be\nremoved from non-volatile storage.\n\nAn entry may not exist in the `active' state unless all\nrequired objects in the entry have appropriate values. Rows\nthat are not complete or not in service are not known by the\nscript runtime system.\n\nAttempts to `destroy' a row or to set a row `notInService'\nwhile the smScriptOperStatus is `enabled' will result in an\ninconsistentValue error.\n\nAttempts to `destroy' a row or to set a row `notInService'\nwhere the value of the smScriptStorageType object is\n`permanent' or `readOnly' will result in an\ninconsistentValue error.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.") smScriptError = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 10), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: smScriptError.setDescription("This object contains a descriptive error message if the\n\n\ntransition into the operational status `enabled' failed.\nImplementations must reset the error message to a\nzero-length string when a new attempt to change the\nscript status to `enabled' is started.") smScriptLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 1, 1, 11), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: smScriptLastChange.setDescription("The date and time when this script table entry was last\nmodified. The value '0000000000000000'H is returned if\nthe script table entry has not yet been modified.\n\nNote that the resetting of smScriptError is not considered\na change of the script table entry.") smCodeTable = MibTable((1, 3, 6, 1, 2, 1, 64, 1, 3, 2)) if mibBuilder.loadTexts: smCodeTable.setDescription("This table contains the script code for scripts that are\nwritten via SNMP write operations.") smCodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 64, 1, 3, 2, 1)).setIndexNames((0, "DISMAN-SCRIPT-MIB", "smScriptOwner"), (0, "DISMAN-SCRIPT-MIB", "smScriptName"), (0, "DISMAN-SCRIPT-MIB", "smCodeIndex")) if mibBuilder.loadTexts: smCodeEntry.setDescription("An entry describing a particular fragment of a script.") smCodeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smCodeIndex.setDescription("The index value identifying this code fragment.") smCodeText = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1024))).setMaxAccess("readcreate") if mibBuilder.loadTexts: smCodeText.setDescription("The code that makes up a fragment of a script. The format\nof this code fragment depends on the script language which\nis identified by the associated smScriptLanguage object.") smCodeRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 3, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smCodeRowStatus.setDescription("A control that allows entries to be added and removed from\nthis table.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.") smRunObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 1, 4)) smLaunchTable = MibTable((1, 3, 6, 1, 2, 1, 64, 1, 4, 1)) if mibBuilder.loadTexts: smLaunchTable.setDescription("This table lists and describes scripts that are ready\nto be executed together with their parameters.") smLaunchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1)).setIndexNames((0, "DISMAN-SCRIPT-MIB", "smLaunchOwner"), (0, "DISMAN-SCRIPT-MIB", "smLaunchName")) if mibBuilder.loadTexts: smLaunchEntry.setDescription("An entry describing a particular executable script.") smLaunchOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smLaunchOwner.setDescription("The manager who owns this row in the smLaunchTable. Every\ninstance of a running script started from a particular entry\nin the smLaunchTable (i.e. entries in the smRunTable) will\nbe owned by the same smLaunchOwner used to index the entry\nin the smLaunchTable. This owner is not necessarily the same\nas the owner of the script itself (smLaunchScriptOwner).") smLaunchName = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smLaunchName.setDescription("The locally-unique, administratively assigned name for this\nlaunch table entry. This object allows an smLaunchOwner to\nhave multiple entries in the smLaunchTable. The smLaunchName\nis an arbitrary name that must be different from any other\nsmLaunchTable entries with the same smLaunchOwner but can be\nthe same as other entries in the smLaunchTable with\ndifferent smLaunchOwner values. Note that the value of\nsmLaunchName is not related in any way to the name of the\nscript being launched.") smLaunchScriptOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchScriptOwner.setDescription("The value of this object in combination with the value of\nsmLaunchScriptName identifies the script that can be\nlaunched from this smLaunchTable entry. Attempts to write\nthis object will fail with an inconsistentValue error if\nthe value of smLaunchOperStatus is `enabled'.") smLaunchScriptName = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchScriptName.setDescription("The value of this object in combination with the value of\nthe smLaunchScriptOwner identifies the script that can be\nlaunched from this smLaunchTable entry. The zero-length\nstring may be used to point to a non-existing script.\n\nAttempts to write this object will fail with an\ninconsistentValue error if the value of smLaunchOperStatus\nis `enabled'.") smLaunchArgument = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 5), OctetString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchArgument.setDescription("The argument supplied to the script. When a script is\ninvoked, the value of this object is used to initialize\nthe smRunArgument object.") smLaunchMaxRunning = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchMaxRunning.setDescription("The maximum number of concurrently running scripts that may\nbe invoked from this entry in the smLaunchTable. Lowering\nthe current value of this object does not affect any scripts\nthat are already executing.") smLaunchMaxCompleted = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchMaxCompleted.setDescription("The maximum number of finished scripts invoked from this\nentry in the smLaunchTable allowed to be retained in the\nsmRunTable. Whenever the value of this object is changed\nand whenever a script terminates, entries in the smRunTable\nare deleted if necessary until the number of completed\nscripts is smaller than the value of this object. Scripts\nwhose smRunEndTime value indicates the oldest completion\ntime are deleted first.") smLaunchLifeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 8), TimeInterval().clone('360000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchLifeTime.setDescription("The default maximum amount of time a script launched\nfrom this entry may run. The value of this object is used\nto initialize the smRunLifeTime object when a script is\nlaunched. Changing the value of an smLaunchLifeTime\ninstance does not affect scripts previously launched from\n\n\nthis entry.") smLaunchExpireTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 9), TimeInterval().clone('360000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchExpireTime.setDescription("The default maximum amount of time information about a\nscript launched from this entry is kept in the smRunTable\nafter the script has completed execution. The value of\nthis object is used to initialize the smRunExpireTime\nobject when a script is launched. Changing the value of an\nsmLaunchExpireTime instance does not affect scripts\npreviously launched from this entry.") smLaunchStart = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchStart.setDescription("This object is used to start the execution of scripts.\nWhen retrieved, the value will be the value of smRunIndex\nfor the last script that started execution by manipulating\nthis object. The value will be zero if no script started\nexecution yet.\n\nA script is started by setting this object to an unused\nsmRunIndex value. A new row in the smRunTable will be\ncreated which is indexed by the value supplied by the\nset-request in addition to the value of smLaunchOwner and\nsmLaunchName. An unused value can be obtained by reading\nthe smLaunchRunIndexNext object.\n\nSetting this object to the special value 0 will start\nthe script with a self-generated smRunIndex value. The\nconsequence is that the script invoker has no reliable\nway to determine the smRunIndex value for this script\ninvocation and that the invoker has therefore no way\nto obtain the results from this script invocation. The\nspecial value 0 is however useful for scheduled script\ninvocations.\n\nIf this object is set, the following checks must be\n\n\nperformed:\n\n1) The value of the smLaunchOperStatus object in this\n entry of the smLaunchTable must be `enabled'.\n2) The values of smLaunchScriptOwner and\n smLaunchScriptName of this row must identify an\n existing entry in the smScriptTable.\n3) The value of smScriptOperStatus of this entry must\n be `enabled'.\n4) The principal performing the set operation must have\n read access to the script. This must be checked by\n calling the isAccessAllowed abstract service interface\n defined in RFC 2271 on the row in the smScriptTable\n identified by smLaunchScriptOwner and smLaunchScriptName.\n The isAccessAllowed abstract service interface must be\n called on all columnar objects in the smScriptTable with\n a MAX-ACCESS value different than `not-accessible'. The\n test fails as soon as a call indicates that access is\n not allowed.\n5) If the value provided by the set operation is not 0,\n a check must be made that the value is currently not\n in use. Otherwise, if the value provided by the set\n operation is 0, a suitable unused value must be\n generated.\n6) The number of currently executing scripts invoked\n from this smLaunchTable entry must be less than\n smLaunchMaxRunning.\n\nAttempts to start a script will fail with an\ninconsistentValue error if one of the checks described\nabove fails.\n\nOtherwise, if all checks have been passed, a new entry\nin the smRunTable will be created indexed by smLaunchOwner,\nsmLaunchName and the new value for smRunIndex. The value\nof smLaunchArgument will be copied into smRunArgument,\nthe value of smLaunchLifeTime will be copied to\nsmRunLifeTime, and the value of smLaunchExpireTime\nwill be copied to smRunExpireTime.\n\nThe smRunStartTime will be set to the current time and\nthe smRunState will be set to `initializing' before the\nscript execution is initiated in the appropriate runtime\nsystem.\n\nNote that the data type and the range of this object must\nbe consistent with the smRunIndex object. Since this\nobject might be written from the scheduling MIB, the\n\n\ndata type Integer32 rather than Unsigned32 is used.") smLaunchControl = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("abort", 1), ("suspend", 2), ("resume", 3), ("nop", 4), )).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchControl.setDescription("This object is used to request a state change for all\nrunning scripts in the smRunTable that were started from\nthis row in the smLaunchTable.\n\nSetting this object to abort(1), suspend(2) or resume(3)\nwill set the smRunControl object of all applicable rows\nin the smRunTable to abort(1), suspend(2) or resume(3)\nrespectively. The phrase `applicable rows' means the set of\nrows which were created from this entry in the smLaunchTable\nand whose value of smRunState allows the corresponding\nstate change as described in the definition of the\nsmRunControl object. Setting this object to nop(4) has no\neffect.\n\nAttempts to set this object lead to an inconsistentValue\nerror only if all implicated sets on all the applicable\nrows lead to inconsistentValue errors. It is not allowed\nto return an inconsistentValue error if at least one state\nchange on one of the applicable rows was successful.") smLaunchAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("autostart", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchAdminStatus.setDescription("The value of this object indicates the desired status of\nthis launch table entry. The values enabled(1) and\nautostart(3) both indicate that the launch table entry\n\n\nshould transition into the operational enabled(1) state as\nsoon as the associated script table entry is enabled(1).\n\nThe value autostart(3) further indicates that the script\nis started automatically by conceptually writing the\nvalue 0 into the associated smLaunchStart object during\nthe transition from the `disabled' into the `enabled'\noperational state. This is useful for scripts that are\nto be launched on system start-up.") smLaunchOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("expired", 3), )).clone(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: smLaunchOperStatus.setDescription("The value of this object indicates the actual status of\nthis launch table entry. The smLaunchOperStatus object\nmay have the following values:\n\n- `enabled' indicates that the launch table entry is\n available and can be used to start scripts.\n\n- `disabled' indicates that the launch table entry can\n not be used to start scripts.\n\n- `expired' indicates that the launch table entry can\n not be used to start scripts and will disappear as\n soon as all smRunTable entries associated with this\n launch table entry have disappeared.\n\nThe value `enabled' requires that the smLaunchRowStatus\nobject is active. The value `disabled' requires that there\nare no entries in the smRunTable associated with this\nsmLaunchTable entry.") smLaunchRunIndexNext = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: smLaunchRunIndexNext.setDescription("This variable is used for creating rows in the smRunTable.\nThe value of this variable is a currently unused value\nfor smRunIndex, which can be written into the smLaunchStart\nobject associated with this row to launch a script.\n\nThe value returned when reading this variable must be unique\nfor the smLaunchOwner and smLaunchName associated with this\nrow. Subsequent attempts to read this variable must return\ndifferent values.\n\nThis variable will return the special value 0 if no new rows\ncan be created.\n\nNote that the data type and the range of this object must be\nconsistent with the definition of smRunIndex.") smLaunchStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 15), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchStorageType.setDescription("This object defines if this row is kept in volatile storage\nand lost upon reboot or if this row is backed up by stable\nstorage.\n\nThe value of smLaunchStorageType is only meaningful if the\nvalue of the corresponding RowStatus object is active.\n\nIf smLaunchStorageType has the value permanent(4), then all\nobjects whose MAX-ACCESS value is read-create must be\nwritable, with the exception of the smLaunchStorageType and\nsmLaunchRowStatus objects, which shall be read-only.") smLaunchRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 16), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchRowStatus.setDescription("A control that allows entries to be added and removed from\nthis table.\n\nAttempts to `destroy' a row or to set a row `notInService'\nwhile the smLaunchOperStatus is `enabled' will result in\nan inconsistentValue error.\n\n\n\nAttempts to `destroy' a row or to set a row `notInService'\nwhere the value of the smLaunchStorageType object is\n`permanent' or `readOnly' will result in an\ninconsistentValue error.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.") smLaunchError = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 17), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: smLaunchError.setDescription("This object contains a descriptive error message if an\nattempt to launch a script fails. Implementations must reset\nthe error message to a zero-length string when a new attempt\nto launch a script is started.") smLaunchLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 18), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: smLaunchLastChange.setDescription("The date and time when this launch table entry was last\nmodified. The value '0000000000000000'H is returned if\nthe launch table entry has not yet been modified.\n\nNote that a change of smLaunchStart, smLaunchControl,\nsmLaunchRunIndexNext, smLaunchRowExpireTime, or the\nresetting of smLaunchError is not considered a change\nof this launch table entry.") smLaunchRowExpireTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 1, 1, 19), TimeInterval().clone('2147483647')).setMaxAccess("readcreate") if mibBuilder.loadTexts: smLaunchRowExpireTime.setDescription("The value of this object specifies how long this row remains\nin the `enabled' or `disabled' operational state. The value\nreported by this object ticks backwards. When the value\nreaches 0, it stops ticking backward and the row is\ndeleted if there are no smRunTable entries associated with\n\n\nthis smLaunchTable entry. Otherwise, the smLaunchOperStatus\nchanges to `expired' and the row deletion is deferred\nuntil there are no smRunTable entries associated with this\nsmLaunchTable entry.\n\nThe smLaunchRowExpireTime will not tick backwards if it is\nset to its maximum value (2147483647). In other words,\nsetting this object to its maximum value turns the timer\noff.\n\nThe value of this object may be set in order to increase\nor reduce the remaining time that the launch table entry\nmay be used. Setting the value to 0 will cause an immediate\nrow deletion or transition into the `expired' operational\nstate.\n\nIt is not possible to set this object while the operational\nstatus is `expired'. Attempts to modify this object while\nthe operational status is `expired' leads to an\ninconsistentValue error.\n\nNote that the timer ticks backwards independent of the\noperational state of the launch table entry.") smRunTable = MibTable((1, 3, 6, 1, 2, 1, 64, 1, 4, 2)) if mibBuilder.loadTexts: smRunTable.setDescription("This table lists and describes scripts that are currently\nrunning or have been running in the past.") smRunEntry = MibTableRow((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1)).setIndexNames((0, "DISMAN-SCRIPT-MIB", "smLaunchOwner"), (0, "DISMAN-SCRIPT-MIB", "smLaunchName"), (0, "DISMAN-SCRIPT-MIB", "smRunIndex")) if mibBuilder.loadTexts: smRunEntry.setDescription("An entry describing a particular running or finished\nscript.") smRunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smRunIndex.setDescription("The locally arbitrary, but unique identifier associated\nwith this running or finished script. This value must be\nunique for all rows in the smRunTable with the same\nsmLaunchOwner and smLaunchName.\n\nNote that the data type and the range of this object must\nbe consistent with the definition of smLaunchRunIndexNext\nand smLaunchStart.") smRunArgument = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 2), OctetString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunArgument.setDescription("The argument supplied to the script when it started.") smRunStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 3), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunStartTime.setDescription("The date and time when the execution started. The value\n'0000000000000000'H is returned if the script has not\nstarted yet.") smRunEndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 4), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunEndTime.setDescription("The date and time when the execution terminated. The value\n'0000000000000000'H is returned if the script has not\nterminated yet.") smRunLifeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 5), TimeInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: smRunLifeTime.setDescription("This object specifies how long the script can execute.\nThis object returns the remaining time that the script\nmay run. The object is initialized with the value of the\nassociated smLaunchLifeTime object and ticks backwards.\nThe script is aborted immediately when the value reaches 0.\n\nThe value of this object may be set in order to increase or\nreduce the remaining time that the script may run. Setting\nthis value to 0 will abort script execution immediately,\nand, if the value of smRunExpireTime is also 0, will remove\nthis entry from the smRunTable once it has terminated.\n\nIf smRunLifeTime is set to its maximum value (2147483647),\neither by a set operation or by its initialization from the\nsmLaunchLifeTime object, then it will not tick backwards.\nA running script with a maximum smRunLifeTime value will\nthus never be terminated with a `lifeTimeExceeded' exit\ncode.\n\nThe value of smRunLifeTime reflects the real-time execution\ntime as seen by the outside world. The value of this object\nwill always be 0 for a script that finished execution, that\nis smRunState has the value `terminated'.\n\nThe value of smRunLifeTime does not change while a script\nis suspended, that is smRunState has the value `suspended'.\nNote that this does not affect set operations. It is legal\nto modify smRunLifeTime via set operations while a script\nis suspended.") smRunExpireTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 6), TimeInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: smRunExpireTime.setDescription("The value of this object specifies how long this row can\nexist in the smRunTable after the script has terminated.\nThis object returns the remaining time that the row may\nexist before it is aged out. The object is initialized with\nthe value of the associated smLaunchExpireTime object and\nticks backwards. The entry in the smRunTable is destroyed\nwhen the value reaches 0 and the smRunState has the value\n`terminated'.\n\nThe value of this object may be set in order to increase or\nreduce the remaining time that the row may exist. Setting\nthe value to 0 will destroy this entry as soon as the\nsmRunState has the value `terminated'.") smRunExitCode = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,5,6,7,4,3,8,9,)).subtype(namedValues=NamedValues(("noError", 1), ("halted", 2), ("lifeTimeExceeded", 3), ("noResourcesLeft", 4), ("languageError", 5), ("runtimeError", 6), ("invalidArgument", 7), ("securityViolation", 8), ("genericError", 9), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunExitCode.setDescription("The value of this object indicates the reason why a\nscript finished execution. The smRunExitCode code may have\none of the following values:\n\n- `noError', which indicates that the script completed\n successfully without errors;\n\n- `halted', which indicates that the script was halted\n by a request from an authorized manager;\n\n- `lifeTimeExceeded', which indicates that the script\n exited because a time limit was exceeded;\n\n\n- `noResourcesLeft', which indicates that the script\n exited because it ran out of resources (e.g. memory);\n\n- `languageError', which indicates that the script exited\n because of a language error (e.g. a syntax error in an\n interpreted language);\n\n- `runtimeError', which indicates that the script exited\n due to a runtime error (e.g. a division by zero);\n\n- `invalidArgument', which indicates that the script could\n not be run because of invalid script arguments;\n\n- `securityViolation', which indicates that the script\n exited due to a security violation;\n\n- `genericError', which indicates that the script exited\n for an unspecified reason.\n\nIf the script has not yet begun running, or is currently\nrunning, the value will be `noError'.") smRunResult = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 8), OctetString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunResult.setDescription("The result value produced by the running script. Note that\nthe result may change while the script is executing.") smRunControl = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("abort", 1), ("suspend", 2), ("resume", 3), ("nop", 4), )).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: smRunControl.setDescription("The value of this object indicates the desired status of the\nscript execution defined by this row.\n\nSetting this object to `abort' will abort execution if the\n\n\nvalue of smRunState is `initializing', `executing',\n`suspending', `suspended' or `resuming'. Setting this object\nto `abort' when the value of smRunState is `aborting' or\n`terminated', or if the implementation can determine that\nthe attempt to abort the execution would fail, will result\nin an inconsistentValue error.\n\nSetting this object to `suspend' will suspend execution\nif the value of smRunState is `executing'. Setting this\nobject to `suspend' will cause an inconsistentValue error\nif the value of smRunState is not `executing' or if the\nimplementation can determine that the attempt to suspend\nthe execution would fail.\n\nSetting this object to `resume' will resume execution\nif the value of smRunState is `suspending' or\n`suspended'. Setting this object to `resume' will cause an\ninconsistentValue error if the value of smRunState is\nnot `suspended' or if the implementation can determine\nthat the attempt to resume the execution would fail.\n\nSetting this object to nop(4) has no effect.") smRunState = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,6,5,4,1,7,3,)).subtype(namedValues=NamedValues(("initializing", 1), ("executing", 2), ("suspending", 3), ("suspended", 4), ("resuming", 5), ("aborting", 6), ("terminated", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunState.setDescription("The value of this object indicates the script's execution\nstate. If the script has been invoked but has not yet\nbegun execution, the value will be `initializing'. If the\nscript is running, the value will be `executing'.\n\nA running script which received a request to suspend\nexecution first transitions into a temporary `suspending'\nstate. The temporary `suspending' state changes to\n`suspended' when the script has actually been suspended. The\ntemporary `suspending' state changes back to `executing' if\n\n\nthe attempt to suspend the running script fails.\n\nA suspended script which received a request to resume\nexecution first transitions into a temporary `resuming'\nstate. The temporary `resuming' state changes to `running'\nwhen the script has actually been resumed. The temporary\n`resuming' state changes back to `suspended' if the attempt\nto resume the suspended script fails.\n\nA script which received a request to abort execution but\nwhich is still running first transitions into a temporary\n`aborting' state.\n\nA script which has finished its execution is `terminated'.") smRunError = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 11), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunError.setDescription("This object contains a descriptive error message if the\nscript startup or execution raised an abnormal condition.\nAn implementation must store a descriptive error message\nin this object if the script exits with the smRunExitCode\n`genericError'.") smRunResultTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 12), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunResultTime.setDescription("The date and time when the smRunResult was last updated.\nThe value '0000000000000000'H is returned if smRunResult\nhas not yet been updated after the creation of this\nsmRunTable entry.") smRunErrorTime = MibTableColumn((1, 3, 6, 1, 2, 1, 64, 1, 4, 2, 1, 13), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: smRunErrorTime.setDescription("The date and time when the smRunError was last updated.\nThe value '0000000000000000'H is returned if smRunError\n\n\nhas not yet been updated after the creation of this\nsmRunTable entry.") smNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 2)) smTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 2, 0)) smConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 3)) smCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 3, 1)) smGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 64, 3, 2)) # Augmentions # Notifications smScriptAbort = NotificationType((1, 3, 6, 1, 2, 1, 64, 2, 0, 1)).setObjects(*(("DISMAN-SCRIPT-MIB", "smRunEndTime"), ("DISMAN-SCRIPT-MIB", "smRunExitCode"), ("DISMAN-SCRIPT-MIB", "smRunError"), ) ) if mibBuilder.loadTexts: smScriptAbort.setDescription("This notification is generated whenever a running script\nterminates with an smRunExitCode unequal to `noError'.") smScriptResult = NotificationType((1, 3, 6, 1, 2, 1, 64, 2, 0, 2)).setObjects(*(("DISMAN-SCRIPT-MIB", "smRunResult"), ) ) if mibBuilder.loadTexts: smScriptResult.setDescription("This notification can be used by scripts to notify other\nmanagement applications about results produced by the\nscript.\n\nThis notification is not automatically generated by the\nScript MIB implementation. It is the responsibility of\nthe executing script to emit this notification where it\nis appropriate to do so.") smScriptException = NotificationType((1, 3, 6, 1, 2, 1, 64, 2, 0, 3)).setObjects(*(("DISMAN-SCRIPT-MIB", "smRunError"), ) ) if mibBuilder.loadTexts: smScriptException.setDescription("This notification can be used by scripts to notify other\nmanagement applications about script errors.\n\nThis notification is not automatically generated by the\nScript MIB implementation. It is the responsibility of\nthe executing script or the runtime system to emit this\nnotification where it is appropriate to do so.") # Groups smLanguageGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 1)).setObjects(*(("DISMAN-SCRIPT-MIB", "smLangLanguage"), ("DISMAN-SCRIPT-MIB", "smExtsnVersion"), ("DISMAN-SCRIPT-MIB", "smExtsnDescr"), ("DISMAN-SCRIPT-MIB", "smExtsnVendor"), ("DISMAN-SCRIPT-MIB", "smExtsnExtension"), ("DISMAN-SCRIPT-MIB", "smLangRevision"), ("DISMAN-SCRIPT-MIB", "smLangDescr"), ("DISMAN-SCRIPT-MIB", "smLangVersion"), ("DISMAN-SCRIPT-MIB", "smExtsnRevision"), ("DISMAN-SCRIPT-MIB", "smLangVendor"), ) ) if mibBuilder.loadTexts: smLanguageGroup.setDescription("A collection of objects providing information about the\ncapabilities of the scripting engine.") smScriptGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 2)).setObjects(*(("DISMAN-SCRIPT-MIB", "smScriptSource"), ("DISMAN-SCRIPT-MIB", "smScriptDescr"), ("DISMAN-SCRIPT-MIB", "smScriptOperStatus"), ("DISMAN-SCRIPT-MIB", "smScriptLanguage"), ("DISMAN-SCRIPT-MIB", "smScriptRowStatus"), ("DISMAN-SCRIPT-MIB", "smScriptAdminStatus"), ("DISMAN-SCRIPT-MIB", "smScriptStorageType"), ) ) if mibBuilder.loadTexts: smScriptGroup.setDescription("A collection of objects providing information about\ninstalled scripts.") smCodeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 3)).setObjects(*(("DISMAN-SCRIPT-MIB", "smCodeRowStatus"), ("DISMAN-SCRIPT-MIB", "smCodeText"), ) ) if mibBuilder.loadTexts: smCodeGroup.setDescription("A collection of objects used to download or modify scripts\nby using SNMP set requests.") smLaunchGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 4)).setObjects(*(("DISMAN-SCRIPT-MIB", "smLaunchLifeTime"), ("DISMAN-SCRIPT-MIB", "smLaunchScriptOwner"), ("DISMAN-SCRIPT-MIB", "smLaunchRowStatus"), ("DISMAN-SCRIPT-MIB", "smLaunchMaxRunning"), ("DISMAN-SCRIPT-MIB", "smLaunchArgument"), ("DISMAN-SCRIPT-MIB", "smLaunchStorageType"), ("DISMAN-SCRIPT-MIB", "smLaunchExpireTime"), ("DISMAN-SCRIPT-MIB", "smLaunchRunIndexNext"), ("DISMAN-SCRIPT-MIB", "smLaunchOperStatus"), ("DISMAN-SCRIPT-MIB", "smLaunchStart"), ("DISMAN-SCRIPT-MIB", "smLaunchScriptName"), ("DISMAN-SCRIPT-MIB", "smLaunchControl"), ("DISMAN-SCRIPT-MIB", "smLaunchAdminStatus"), ("DISMAN-SCRIPT-MIB", "smLaunchMaxCompleted"), ) ) if mibBuilder.loadTexts: smLaunchGroup.setDescription("A collection of objects providing information about scripts\nthat can be launched.") smRunGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 5)).setObjects(*(("DISMAN-SCRIPT-MIB", "smRunEndTime"), ("DISMAN-SCRIPT-MIB", "smRunArgument"), ("DISMAN-SCRIPT-MIB", "smRunResult"), ("DISMAN-SCRIPT-MIB", "smRunError"), ("DISMAN-SCRIPT-MIB", "smRunStartTime"), ("DISMAN-SCRIPT-MIB", "smRunState"), ("DISMAN-SCRIPT-MIB", "smRunExpireTime"), ("DISMAN-SCRIPT-MIB", "smRunLifeTime"), ("DISMAN-SCRIPT-MIB", "smRunExitCode"), ("DISMAN-SCRIPT-MIB", "smRunControl"), ) ) if mibBuilder.loadTexts: smRunGroup.setDescription("A collection of objects providing information about running\nscripts.") smNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 6)).setObjects(*(("DISMAN-SCRIPT-MIB", "smScriptResult"), ("DISMAN-SCRIPT-MIB", "smScriptAbort"), ) ) if mibBuilder.loadTexts: smNotificationsGroup.setDescription("The notifications emitted by the Script MIB.") smScriptGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 7)).setObjects(*(("DISMAN-SCRIPT-MIB", "smScriptError"), ("DISMAN-SCRIPT-MIB", "smScriptOperStatus"), ("DISMAN-SCRIPT-MIB", "smScriptLanguage"), ("DISMAN-SCRIPT-MIB", "smScriptRowStatus"), ("DISMAN-SCRIPT-MIB", "smScriptSource"), ("DISMAN-SCRIPT-MIB", "smScriptAdminStatus"), ("DISMAN-SCRIPT-MIB", "smScriptLastChange"), ("DISMAN-SCRIPT-MIB", "smScriptDescr"), ("DISMAN-SCRIPT-MIB", "smScriptStorageType"), ) ) if mibBuilder.loadTexts: smScriptGroup2.setDescription("A collection of objects providing information about\ninstalled scripts.") smLaunchGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 8)).setObjects(*(("DISMAN-SCRIPT-MIB", "smLaunchExpireTime"), ("DISMAN-SCRIPT-MIB", "smLaunchRunIndexNext"), ("DISMAN-SCRIPT-MIB", "smLaunchLifeTime"), ("DISMAN-SCRIPT-MIB", "smLaunchMaxCompleted"), ("DISMAN-SCRIPT-MIB", "smLaunchScriptOwner"), ("DISMAN-SCRIPT-MIB", "smLaunchError"), ("DISMAN-SCRIPT-MIB", "smLaunchOperStatus"), ("DISMAN-SCRIPT-MIB", "smLaunchStart"), ("DISMAN-SCRIPT-MIB", "smLaunchScriptName"), ("DISMAN-SCRIPT-MIB", "smLaunchRowStatus"), ("DISMAN-SCRIPT-MIB", "smLaunchControl"), ("DISMAN-SCRIPT-MIB", "smLaunchMaxRunning"), ("DISMAN-SCRIPT-MIB", "smLaunchRowExpireTime"), ("DISMAN-SCRIPT-MIB", "smLaunchLastChange"), ("DISMAN-SCRIPT-MIB", "smLaunchAdminStatus"), ("DISMAN-SCRIPT-MIB", "smLaunchArgument"), ("DISMAN-SCRIPT-MIB", "smLaunchStorageType"), ) ) if mibBuilder.loadTexts: smLaunchGroup2.setDescription("A collection of objects providing information about scripts\nthat can be launched.") smRunGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 9)).setObjects(*(("DISMAN-SCRIPT-MIB", "smRunControl"), ("DISMAN-SCRIPT-MIB", "smRunLifeTime"), ("DISMAN-SCRIPT-MIB", "smRunResult"), ("DISMAN-SCRIPT-MIB", "smRunResultTime"), ("DISMAN-SCRIPT-MIB", "smRunStartTime"), ("DISMAN-SCRIPT-MIB", "smRunExpireTime"), ("DISMAN-SCRIPT-MIB", "smRunArgument"), ("DISMAN-SCRIPT-MIB", "smRunEndTime"), ("DISMAN-SCRIPT-MIB", "smRunError"), ("DISMAN-SCRIPT-MIB", "smRunState"), ("DISMAN-SCRIPT-MIB", "smRunErrorTime"), ("DISMAN-SCRIPT-MIB", "smRunExitCode"), ) ) if mibBuilder.loadTexts: smRunGroup2.setDescription("A collection of objects providing information about running\nscripts.") smNotificationsGroup2 = NotificationGroup((1, 3, 6, 1, 2, 1, 64, 3, 2, 10)).setObjects(*(("DISMAN-SCRIPT-MIB", "smScriptResult"), ("DISMAN-SCRIPT-MIB", "smScriptAbort"), ("DISMAN-SCRIPT-MIB", "smScriptException"), ) ) if mibBuilder.loadTexts: smNotificationsGroup2.setDescription("The notifications emitted by the Script MIB.") # Compliances smCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 64, 3, 1, 1)).setObjects(*(("DISMAN-SCRIPT-MIB", "smRunGroup"), ("DISMAN-SCRIPT-MIB", "smLaunchGroup"), ("DISMAN-SCRIPT-MIB", "smLanguageGroup"), ("DISMAN-SCRIPT-MIB", "smCodeGroup"), ("DISMAN-SCRIPT-MIB", "smScriptGroup"), ) ) if mibBuilder.loadTexts: smCompliance.setDescription("The compliance statement for SNMP entities which implement\nthe Script MIB.") smCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 64, 3, 1, 2)).setObjects(*(("DISMAN-SCRIPT-MIB", "smScriptGroup2"), ("DISMAN-SCRIPT-MIB", "smNotificationsGroup2"), ("DISMAN-SCRIPT-MIB", "smCodeGroup"), ("DISMAN-SCRIPT-MIB", "smLaunchGroup2"), ("DISMAN-SCRIPT-MIB", "smRunGroup2"), ("DISMAN-SCRIPT-MIB", "smLanguageGroup"), ) ) if mibBuilder.loadTexts: smCompliance2.setDescription("The compliance statement for SNMP entities which implement\nthe Script MIB.") # Exports # Module identity mibBuilder.exportSymbols("DISMAN-SCRIPT-MIB", PYSNMP_MODULE_ID=scriptMIB) # Objects mibBuilder.exportSymbols("DISMAN-SCRIPT-MIB", scriptMIB=scriptMIB, smObjects=smObjects, smLangTable=smLangTable, smLangEntry=smLangEntry, smLangIndex=smLangIndex, smLangLanguage=smLangLanguage, smLangVersion=smLangVersion, smLangVendor=smLangVendor, smLangRevision=smLangRevision, smLangDescr=smLangDescr, smExtsnTable=smExtsnTable, smExtsnEntry=smExtsnEntry, smExtsnIndex=smExtsnIndex, smExtsnExtension=smExtsnExtension, smExtsnVersion=smExtsnVersion, smExtsnVendor=smExtsnVendor, smExtsnRevision=smExtsnRevision, smExtsnDescr=smExtsnDescr, smScriptObjects=smScriptObjects, smScriptTable=smScriptTable, smScriptEntry=smScriptEntry, smScriptOwner=smScriptOwner, smScriptName=smScriptName, smScriptDescr=smScriptDescr, smScriptLanguage=smScriptLanguage, smScriptSource=smScriptSource, smScriptAdminStatus=smScriptAdminStatus, smScriptOperStatus=smScriptOperStatus, smScriptStorageType=smScriptStorageType, smScriptRowStatus=smScriptRowStatus, smScriptError=smScriptError, smScriptLastChange=smScriptLastChange, smCodeTable=smCodeTable, smCodeEntry=smCodeEntry, smCodeIndex=smCodeIndex, smCodeText=smCodeText, smCodeRowStatus=smCodeRowStatus, smRunObjects=smRunObjects, smLaunchTable=smLaunchTable, smLaunchEntry=smLaunchEntry, smLaunchOwner=smLaunchOwner, smLaunchName=smLaunchName, smLaunchScriptOwner=smLaunchScriptOwner, smLaunchScriptName=smLaunchScriptName, smLaunchArgument=smLaunchArgument, smLaunchMaxRunning=smLaunchMaxRunning, smLaunchMaxCompleted=smLaunchMaxCompleted, smLaunchLifeTime=smLaunchLifeTime, smLaunchExpireTime=smLaunchExpireTime, smLaunchStart=smLaunchStart, smLaunchControl=smLaunchControl, smLaunchAdminStatus=smLaunchAdminStatus, smLaunchOperStatus=smLaunchOperStatus, smLaunchRunIndexNext=smLaunchRunIndexNext, smLaunchStorageType=smLaunchStorageType, smLaunchRowStatus=smLaunchRowStatus, smLaunchError=smLaunchError, smLaunchLastChange=smLaunchLastChange, smLaunchRowExpireTime=smLaunchRowExpireTime, smRunTable=smRunTable, smRunEntry=smRunEntry, smRunIndex=smRunIndex, smRunArgument=smRunArgument, smRunStartTime=smRunStartTime, smRunEndTime=smRunEndTime, smRunLifeTime=smRunLifeTime, smRunExpireTime=smRunExpireTime, smRunExitCode=smRunExitCode, smRunResult=smRunResult, smRunControl=smRunControl, smRunState=smRunState, smRunError=smRunError, smRunResultTime=smRunResultTime, smRunErrorTime=smRunErrorTime, smNotifications=smNotifications, smTraps=smTraps, smConformance=smConformance, smCompliances=smCompliances, smGroups=smGroups) # Notifications mibBuilder.exportSymbols("DISMAN-SCRIPT-MIB", smScriptAbort=smScriptAbort, smScriptResult=smScriptResult, smScriptException=smScriptException) # Groups mibBuilder.exportSymbols("DISMAN-SCRIPT-MIB", smLanguageGroup=smLanguageGroup, smScriptGroup=smScriptGroup, smCodeGroup=smCodeGroup, smLaunchGroup=smLaunchGroup, smRunGroup=smRunGroup, smNotificationsGroup=smNotificationsGroup, smScriptGroup2=smScriptGroup2, smLaunchGroup2=smLaunchGroup2, smRunGroup2=smRunGroup2, smNotificationsGroup2=smNotificationsGroup2) # Compliances mibBuilder.exportSymbols("DISMAN-SCRIPT-MIB", smCompliance=smCompliance, smCompliance2=smCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/RADIUS-AUTH-SERVER-MIB.py0000644000014400001440000006530011736645137022174 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RADIUS-AUTH-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:30 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") # Objects radiusMIB = ObjectIdentity((1, 3, 6, 1, 2, 1, 67)) if mibBuilder.loadTexts: radiusMIB.setDescription("The OID assigned to RADIUS MIB work by the IANA.") radiusAuthentication = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1)) radiusAuthServMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 67, 1, 1)).setRevisions(("2006-08-21 00:00","1999-06-11 00:00",)) if mibBuilder.loadTexts: radiusAuthServMIB.setOrganization("IETF RADIUS Extensions Working Group.") if mibBuilder.loadTexts: radiusAuthServMIB.setContactInfo(" Bernard Aboba\nMicrosoft\nOne Microsoft Way\nRedmond, WA 98052\nUS\nPhone: +1 425 936 6605\n\n\n\nEMail: bernarda@microsoft.com") if mibBuilder.loadTexts: radiusAuthServMIB.setDescription("The MIB module for entities implementing the server\nside of the Remote Authentication Dial-In User\nService (RADIUS) authentication protocol. Copyright\n(C) The Internet Society (2006). This version of this\nMIB module is part of RFC 4669; see the RFC itself for\nfull legal notices.") radiusAuthServMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 1, 1)) radiusAuthServ = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1)) radiusAuthServIdent = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServIdent.setDescription("The implementation identification string for the\nRADIUS authentication server software in use on the\nsystem, for example, 'FNS-2.1'.") radiusAuthServUpTime = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServUpTime.setDescription("If the server has a persistent state (e.g., a\nprocess), this value will be the time elapsed (in\nhundredths of a second) since the server process\nwas started. For software without persistent state,\nthis value will be zero.") radiusAuthServResetTime = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServResetTime.setDescription("If the server has a persistent state (e.g., a process)\nand supports a 'reset' operation (e.g., can be told to\nre-read configuration files), this value will be the\ntime elapsed (in hundredths of a second) since the\nserver was 'reset.' For software that does not\nhave persistence or does not support a 'reset'\noperation, this value will be zero.") radiusAuthServConfigReset = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("other", 1), ("reset", 2), ("initializing", 3), ("running", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusAuthServConfigReset.setDescription("Status/action object to reinitialize any persistent\nserver state. When set to reset(2), any persistent\nserver state (such as a process) is reinitialized as\nif the server had just been started. This value will\nnever be returned by a read operation. When read,\none of the following values will be returned:\n other(1) - server in some unknown state;\n initializing(3) - server (re)initializing;\n running(4) - server currently running.") radiusAuthServTotalAccessRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalAccessRequests.setDescription("The number of packets received on the\n\n\n\nauthentication port.") radiusAuthServTotalInvalidRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalInvalidRequests.setDescription("The number of RADIUS Access-Request packets\nreceived from unknown addresses.") radiusAuthServTotalDupAccessRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalDupAccessRequests.setDescription("The number of duplicate RADIUS Access-Request\npackets received.") radiusAuthServTotalAccessAccepts = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalAccessAccepts.setDescription("The number of RADIUS Access-Accept packets sent.") radiusAuthServTotalAccessRejects = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalAccessRejects.setDescription("The number of RADIUS Access-Reject packets sent.") radiusAuthServTotalAccessChallenges = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalAccessChallenges.setDescription("The number of RADIUS Access-Challenge packets sent.") radiusAuthServTotalMalformedAccessRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalMalformedAccessRequests.setDescription("The number of malformed RADIUS Access-Request\npackets received. Bad authenticators\nand unknown types are not included as\nmalformed Access-Requests.") radiusAuthServTotalBadAuthenticators = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalBadAuthenticators.setDescription("The number of RADIUS Authentication-Request packets\nthat contained invalid Message Authenticator\nattributes received.") radiusAuthServTotalPacketsDropped = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalPacketsDropped.setDescription("The number of incoming packets\nsilently discarded for some reason other\nthan malformed, bad authenticators or\nunknown types.") radiusAuthServTotalUnknownTypes = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthServTotalUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received.") radiusAuthClientTable = MibTable((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15)) if mibBuilder.loadTexts: radiusAuthClientTable.setDescription("The (conceptual) table listing the RADIUS\nauthentication clients with which the server shares\na secret.") radiusAuthClientEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1)).setIndexNames((0, "RADIUS-AUTH-SERVER-MIB", "radiusAuthClientIndex")) if mibBuilder.loadTexts: radiusAuthClientEntry.setDescription("An entry (conceptual row) representing a RADIUS\nauthentication client with which the server shares a\nsecret.") radiusAuthClientIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAuthClientIndex.setDescription("A number uniquely identifying each RADIUS\nauthentication client with which this server\ncommunicates.") radiusAuthClientAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientAddress.setDescription("The NAS-IP-Address of the RADIUS authentication client\nreferred to in this table entry.") radiusAuthClientID = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientID.setDescription("The NAS-Identifier of the RADIUS authentication client\nreferred to in this table entry. This is not\nnecessarily the same as sysName in MIB II.") radiusAuthServAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServAccessRequests.setDescription("The number of packets received on the authentication\n\n\n\nport from this client.") radiusAuthServDupAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServDupAccessRequests.setDescription("The number of duplicate RADIUS Access-Request\npackets received from this client.") radiusAuthServAccessAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServAccessAccepts.setDescription("The number of RADIUS Access-Accept packets\nsent to this client.") radiusAuthServAccessRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServAccessRejects.setDescription("The number of RADIUS Access-Reject packets\nsent to this client.") radiusAuthServAccessChallenges = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServAccessChallenges.setDescription("The number of RADIUS Access-Challenge packets\nsent to this client.") radiusAuthServMalformedAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServMalformedAccessRequests.setDescription("The number of malformed RADIUS Access-Request\npackets received from this client.\nBad authenticators and unknown types are not included\nas malformed Access-Requests.") radiusAuthServBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServBadAuthenticators.setDescription("The number of RADIUS Authentication-Request packets\nthat contained invalid Message Authenticator\nattributes received from this client.") radiusAuthServPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServPacketsDropped.setDescription("The number of incoming packets from this\nclient silently discarded for some reason other\nthan malformed, bad authenticators or\nunknown types.") radiusAuthServUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 15, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this client.") radiusAuthClientExtTable = MibTable((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16)) if mibBuilder.loadTexts: radiusAuthClientExtTable.setDescription("The (conceptual) table listing the RADIUS\nauthentication clients with which the server shares\na secret.") radiusAuthClientExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1)).setIndexNames((0, "RADIUS-AUTH-SERVER-MIB", "radiusAuthClientExtIndex")) if mibBuilder.loadTexts: radiusAuthClientExtEntry.setDescription("An entry (conceptual row) representing a RADIUS\nauthentication client with which the server shares a\nsecret.") radiusAuthClientExtIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAuthClientExtIndex.setDescription("A number uniquely identifying each RADIUS\nauthentication client with which this server\ncommunicates.") radiusAuthClientInetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientInetAddressType.setDescription("The type of address format used for the\nradiusAuthClientInetAddress object.") radiusAuthClientInetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientInetAddress.setDescription("The IP address of the RADIUS authentication\nclient referred to in this table entry, using\nthe version-neutral IP address format.") radiusAuthClientExtID = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtID.setDescription("The NAS-Identifier of the RADIUS authentication client\nreferred to in this table entry. This is not\nnecessarily the same as sysName in MIB II.") radiusAuthServExtAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtAccessRequests.setDescription("The number of packets received on the authentication\nport from this client. This counter may experience a\ndiscontinuity when the RADIUS Server module within the\nmanaged entity is reinitialized, as indicated by the\ncurrent value of radiusAuthServCounterDiscontinuity.") radiusAuthServExtDupAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtDupAccessRequests.setDescription("The number of duplicate RADIUS Access-Request\npackets received from this client. This counter may\nexperience a discontinuity when the RADIUS Server\nmodule within the managed entity is reinitialized, as\nindicated by the current value of\nradiusAuthServCounterDiscontinuity.") radiusAuthServExtAccessAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtAccessAccepts.setDescription("The number of RADIUS Access-Accept packets\nsent to this client. This counter may experience a\ndiscontinuity when the RADIUS Server module within the\nmanaged entity is reinitialized, as indicated by the\ncurrent value of radiusAuthServCounterDiscontinuity.") radiusAuthServExtAccessRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtAccessRejects.setDescription("The number of RADIUS Access-Reject packets\nsent to this client. This counter may experience a\ndiscontinuity when the RADIUS Server module within the\n\n\n\nmanaged entity is reinitialized, as indicated by the\ncurrent value of radiusAuthServCounterDiscontinuity.") radiusAuthServExtAccessChallenges = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtAccessChallenges.setDescription("The number of RADIUS Access-Challenge packets\nsent to this client. This counter may experience a\ndiscontinuity when the RADIUS Server module within the\nmanaged entity is reinitialized, as indicated by the\ncurrent value of radiusAuthServCounterDiscontinuity.") radiusAuthServExtMalformedAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtMalformedAccessRequests.setDescription("The number of malformed RADIUS Access-Request\npackets received from this client. Bad authenticators\nand unknown types are not included as malformed\nAccess-Requests. This counter may experience a\ndiscontinuity when the RADIUS Server module within the\nmanaged entity is reinitialized, as indicated by the\ncurrent value of radiusAuthServCounterDiscontinuity.") radiusAuthServExtBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtBadAuthenticators.setDescription("The number of RADIUS Authentication-Request packets\nthat contained invalid Message Authenticator\nattributes received from this client. This counter\nmay experience a discontinuity when the RADIUS Server\nmodule within the managed entity is reinitialized, as\nindicated by the current value of\nradiusAuthServCounterDiscontinuity.") radiusAuthServExtPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtPacketsDropped.setDescription("The number of incoming packets from this client\nsilently discarded for some reason other than\nmalformed, bad authenticators or unknown types.\nThis counter may experience a discontinuity when the\nRADIUS Server module within the managed entity is\nreinitialized, as indicated by the current value of\nradiusAuthServCounterDiscontinuity.") radiusAuthServExtUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServExtUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this client. This counter may\nexperience a discontinuity when the RADIUS Server\nmodule within the managed entity is reinitialized, as\nindicated by the current value of\nradiusAuthServCounterDiscontinuity.") radiusAuthServCounterDiscontinuity = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 1, 1, 1, 16, 1, 14), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServCounterDiscontinuity.setDescription("The number of centiseconds since the last\ndiscontinuity in the RADIUS Server counters.\nA discontinuity may be the result of a\nreinitialization of the RADIUS Server module\nwithin the managed entity.") radiusAuthServMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 1, 2)) radiusAuthServMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 1, 2, 1)) radiusAuthServMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 1, 2, 2)) # Augmentions # Groups radiusAuthServMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 1, 1, 2, 2, 1)).setObjects(*(("RADIUS-AUTH-SERVER-MIB", "radiusAuthClientID"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthClientAddress"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessRejects"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServBadAuthenticators"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalMalformedAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalUnknownTypes"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServUpTime"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServConfigReset"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServUnknownTypes"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServAccessAccepts"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServAccessChallenges"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalDupAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalBadAuthenticators"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServDupAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessAccepts"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServMalformedAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessChallenges"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalInvalidRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServResetTime"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServPacketsDropped"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalPacketsDropped"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServIdent"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServAccessRejects"), ) ) if mibBuilder.loadTexts: radiusAuthServMIBGroup.setDescription("The collection of objects providing management of\na RADIUS Authentication Server.") radiusAuthServExtMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 1, 1, 2, 2, 2)).setObjects(*(("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtAccessRejects"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtBadAuthenticators"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessRejects"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtMalformedAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalMalformedAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalUnknownTypes"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServUpTime"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServConfigReset"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalDupAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalBadAuthenticators"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtAccessChallenges"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtAccessAccepts"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthClientExtID"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtUnknownTypes"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessAccepts"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtPacketsDropped"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthClientInetAddressType"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalAccessChallenges"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthClientInetAddress"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServCounterDiscontinuity"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalInvalidRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServResetTime"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtDupAccessRequests"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServTotalPacketsDropped"), ("RADIUS-AUTH-SERVER-MIB", "radiusAuthServIdent"), ) ) if mibBuilder.loadTexts: radiusAuthServExtMIBGroup.setDescription("The collection of objects providing management of\na RADIUS Authentication Server.") # Compliances radiusAuthServMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 1, 1, 2, 1, 1)).setObjects(*(("RADIUS-AUTH-SERVER-MIB", "radiusAuthServMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAuthServMIBCompliance.setDescription("The compliance statement for authentication\nservers implementing the RADIUS Authentication\nServer MIB. Implementation of this module is for\nIPv4-only entities, or for backwards compatibility\nuse with entities that support both IPv4 and\nIPv6.") radiusAuthServMIBExtCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 1, 1, 2, 1, 2)).setObjects(*(("RADIUS-AUTH-SERVER-MIB", "radiusAuthServExtMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAuthServMIBExtCompliance.setDescription("The compliance statement for authentication\nservers implementing the RADIUS Authentication\nServer IPv6 Extensions MIB. Implementation of\nthis module is for entities that support IPv6,\nor support IPv4 and IPv6.") # Exports # Module identity mibBuilder.exportSymbols("RADIUS-AUTH-SERVER-MIB", PYSNMP_MODULE_ID=radiusAuthServMIB) # Objects mibBuilder.exportSymbols("RADIUS-AUTH-SERVER-MIB", radiusMIB=radiusMIB, radiusAuthentication=radiusAuthentication, radiusAuthServMIB=radiusAuthServMIB, radiusAuthServMIBObjects=radiusAuthServMIBObjects, radiusAuthServ=radiusAuthServ, radiusAuthServIdent=radiusAuthServIdent, radiusAuthServUpTime=radiusAuthServUpTime, radiusAuthServResetTime=radiusAuthServResetTime, radiusAuthServConfigReset=radiusAuthServConfigReset, radiusAuthServTotalAccessRequests=radiusAuthServTotalAccessRequests, radiusAuthServTotalInvalidRequests=radiusAuthServTotalInvalidRequests, radiusAuthServTotalDupAccessRequests=radiusAuthServTotalDupAccessRequests, radiusAuthServTotalAccessAccepts=radiusAuthServTotalAccessAccepts, radiusAuthServTotalAccessRejects=radiusAuthServTotalAccessRejects, radiusAuthServTotalAccessChallenges=radiusAuthServTotalAccessChallenges, radiusAuthServTotalMalformedAccessRequests=radiusAuthServTotalMalformedAccessRequests, radiusAuthServTotalBadAuthenticators=radiusAuthServTotalBadAuthenticators, radiusAuthServTotalPacketsDropped=radiusAuthServTotalPacketsDropped, radiusAuthServTotalUnknownTypes=radiusAuthServTotalUnknownTypes, radiusAuthClientTable=radiusAuthClientTable, radiusAuthClientEntry=radiusAuthClientEntry, radiusAuthClientIndex=radiusAuthClientIndex, radiusAuthClientAddress=radiusAuthClientAddress, radiusAuthClientID=radiusAuthClientID, radiusAuthServAccessRequests=radiusAuthServAccessRequests, radiusAuthServDupAccessRequests=radiusAuthServDupAccessRequests, radiusAuthServAccessAccepts=radiusAuthServAccessAccepts, radiusAuthServAccessRejects=radiusAuthServAccessRejects, radiusAuthServAccessChallenges=radiusAuthServAccessChallenges, radiusAuthServMalformedAccessRequests=radiusAuthServMalformedAccessRequests, radiusAuthServBadAuthenticators=radiusAuthServBadAuthenticators, radiusAuthServPacketsDropped=radiusAuthServPacketsDropped, radiusAuthServUnknownTypes=radiusAuthServUnknownTypes, radiusAuthClientExtTable=radiusAuthClientExtTable, radiusAuthClientExtEntry=radiusAuthClientExtEntry, radiusAuthClientExtIndex=radiusAuthClientExtIndex, radiusAuthClientInetAddressType=radiusAuthClientInetAddressType, radiusAuthClientInetAddress=radiusAuthClientInetAddress, radiusAuthClientExtID=radiusAuthClientExtID, radiusAuthServExtAccessRequests=radiusAuthServExtAccessRequests, radiusAuthServExtDupAccessRequests=radiusAuthServExtDupAccessRequests, radiusAuthServExtAccessAccepts=radiusAuthServExtAccessAccepts, radiusAuthServExtAccessRejects=radiusAuthServExtAccessRejects, radiusAuthServExtAccessChallenges=radiusAuthServExtAccessChallenges, radiusAuthServExtMalformedAccessRequests=radiusAuthServExtMalformedAccessRequests, radiusAuthServExtBadAuthenticators=radiusAuthServExtBadAuthenticators, radiusAuthServExtPacketsDropped=radiusAuthServExtPacketsDropped, radiusAuthServExtUnknownTypes=radiusAuthServExtUnknownTypes, radiusAuthServCounterDiscontinuity=radiusAuthServCounterDiscontinuity, radiusAuthServMIBConformance=radiusAuthServMIBConformance, radiusAuthServMIBCompliances=radiusAuthServMIBCompliances, radiusAuthServMIBGroups=radiusAuthServMIBGroups) # Groups mibBuilder.exportSymbols("RADIUS-AUTH-SERVER-MIB", radiusAuthServMIBGroup=radiusAuthServMIBGroup, radiusAuthServExtMIBGroup=radiusAuthServExtMIBGroup) # Compliances mibBuilder.exportSymbols("RADIUS-AUTH-SERVER-MIB", radiusAuthServMIBCompliance=radiusAuthServMIBCompliance, radiusAuthServMIBExtCompliance=radiusAuthServMIBExtCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANAifType-MIB.py0000644000014400001440000002152711736645136021335 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANAifType-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:05 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANAifType(Integer): subtypeSpec = Integer.subtypeSpec+ConstraintsUnion(SingleValueConstraint(194,64,24,69,240,154,4,244,12,114,78,43,113,210,47,178,68,5,214,202,90,11,72,177,188,215,201,89,187,222,49,38,46,159,74,117,227,100,242,172,167,221,224,132,33,243,176,104,149,223,237,92,54,52,200,234,61,97,171,232,41,160,116,150,75,108,76,8,14,137,21,13,10,6,131,44,166,71,55,73,29,147,155,80,22,99,126,20,66,36,192,28,107,31,109,53,103,226,211,217,239,105,212,9,197,111,163,112,189,123,169,3,148,27,161,91,98,48,101,199,219,181,62,170,118,235,225,), SingleValueConstraint(175,135,238,102,129,26,165,216,190,143,146,152,88,51,156,35,133,121,86,230,157,124,179,2,84,182,15,173,193,57,85,204,40,196,17,162,141,136,153,185,110,174,95,19,198,106,30,81,18,151,128,241,191,184,180,229,23,32,87,7,79,208,206,82,125,144,228,138,58,60,16,59,77,119,122,34,42,139,145,134,186,205,195,140,168,236,39,67,203,209,45,65,120,183,94,63,218,37,127,1,207,115,70,130,93,50,213,158,96,83,231,56,25,164,142,220,233,)) namedValues = NamedValues(("other", 1), ("iso88026Man", 10), ("voiceEM", 100), ("voiceFXO", 101), ("voiceFXS", 102), ("voiceEncap", 103), ("voiceOverIp", 104), ("atmDxi", 105), ("atmFuni", 106), ("atmIma", 107), ("pppMultilinkBundle", 108), ("ipOverCdlc", 109), ("starLan", 11), ("ipOverClaw", 110), ("stackToStack", 111), ("virtualIpAddress", 112), ("mpc", 113), ("ipOverAtm", 114), ("iso88025Fiber", 115), ("tdlc", 116), ("gigabitEthernet", 117), ("hdlc", 118), ("lapf", 119), ("proteon10Mbit", 12), ("v37", 120), ("x25mlp", 121), ("x25huntGroup", 122), ("trasnpHdlc", 123), ("interleave", 124), ("fast", 125), ("ip", 126), ("docsCableMaclayer", 127), ("docsCableDownstream", 128), ("docsCableUpstream", 129), ("proteon80Mbit", 13), ("a12MppSwitch", 130), ("tunnel", 131), ("coffee", 132), ("ces", 133), ("atmSubInterface", 134), ("l2vlan", 135), ("l3ipvlan", 136), ("l3ipxvlan", 137), ("digitalPowerline", 138), ("mediaMailOverIp", 139), ("hyperchannel", 14), ("dtm", 140), ("dcn", 141), ("ipForward", 142), ("msdsl", 143), ("ieee1394", 144), ("if-gsn", 145), ("dvbRccMacLayer", 146), ("dvbRccDownstream", 147), ("dvbRccUpstream", 148), ("atmVirtual", 149), ("fddi", 15), ("mplsTunnel", 150), ("srp", 151), ("voiceOverAtm", 152), ("voiceOverFrameRelay", 153), ("idsl", 154), ("compositeLink", 155), ("ss7SigLink", 156), ("propWirelessP2P", 157), ("frForward", 158), ("rfc1483", 159), ("lapb", 16), ("usb", 160), ("ieee8023adLag", 161), ("bgppolicyaccounting", 162), ("frf16MfrBundle", 163), ("h323Gatekeeper", 164), ("h323Proxy", 165), ("mpls", 166), ("mfSigLink", 167), ("hdsl2", 168), ("shdsl", 169), ("sdlc", 17), ("ds1FDL", 170), ("pos", 171), ("dvbAsiIn", 172), ("dvbAsiOut", 173), ("plc", 174), ("nfas", 175), ("tr008", 176), ("gr303RDT", 177), ("gr303IDT", 178), ("isup", 179), ("ds1", 18), ("propDocsWirelessMaclayer", 180), ("propDocsWirelessDownstream", 181), ("propDocsWirelessUpstream", 182), ("hiperlan2", 183), ("propBWAp2Mp", 184), ("sonetOverheadChannel", 185), ("digitalWrapperOverheadChannel", 186), ("aal2", 187), ("radioMAC", 188), ("atmRadio", 189), ("e1", 19), ("imt", 190), ("mvl", 191), ("reachDSL", 192), ("frDlciEndPt", 193), ("atmVciEndPt", 194), ("opticalChannel", 195), ("opticalTransport", 196), ("propAtm", 197), ("voiceOverCable", 198), ("infiniband", 199), ("regular1822", 2), ("basicISDN", 20), ("teLink", 200), ("q2931", 201), ("virtualTg", 202), ("sipTg", 203), ("sipSig", 204), ("docsCableUpstreamChannel", 205), ("econet", 206), ("pon155", 207), ("pon622", 208), ("bridge", 209), ("primaryISDN", 21), ("linegroup", 210), ("voiceEMFGD", 211), ("voiceFGDEANA", 212), ) + NamedValues(("voiceDID", 213), ("mpegTransport", 214), ("sixToFour", 215), ("gtp", 216), ("pdnEtherLoop1", 217), ("pdnEtherLoop2", 218), ("opticalChannelGroup", 219), ("propPointToPointSerial", 22), ("homepna", 220), ("gfp", 221), ("ciscoISLvlan", 222), ("actelisMetaLOOP", 223), ("fcipLink", 224), ("rpr", 225), ("qam", 226), ("lmp", 227), ("cblVectaStar", 228), ("docsCableMCmtsDownstream", 229), ("ppp", 23), ("adsl2", 230), ("macSecControlledIF", 231), ("macSecUncontrolledIF", 232), ("aviciOpticalEther", 233), ("atmbond", 234), ("voiceFGDOS", 235), ("mocaVersion1", 236), ("ieee80216WMAN", 237), ("adsl2plus", 238), ("dvbRcsMacLayer", 239), ("softwareLoopback", 24), ("dvbTdm", 240), ("dvbRcsTdma", 241), ("x86Laps", 242), ("wwanPP", 243), ("wwanPP2", 244), ("eon", 25), ("ethernet3Mbit", 26), ("nsip", 27), ("slip", 28), ("ultra", 29), ("hdh1822", 3), ("ds3", 30), ("sip", 31), ("frameRelay", 32), ("rs232", 33), ("para", 34), ("arcnet", 35), ("arcnetPlus", 36), ("atm", 37), ("miox25", 38), ("sonet", 39), ("ddnX25", 4), ("x25ple", 40), ("iso88022llc", 41), ("localTalk", 42), ("smdsDxi", 43), ("frameRelayService", 44), ("v35", 45), ("hssi", 46), ("hippi", 47), ("modem", 48), ("aal5", 49), ("rfc877x25", 5), ("sonetPath", 50), ("sonetVT", 51), ("smdsIcip", 52), ("propVirtual", 53), ("propMultiplexor", 54), ("ieee80212", 55), ("fibreChannel", 56), ("hippiInterface", 57), ("frameRelayInterconnect", 58), ("aflane8023", 59), ("ethernetCsmacd", 6), ("aflane8025", 60), ("cctEmul", 61), ("fastEther", 62), ("isdn", 63), ("v11", 64), ("v36", 65), ("g703at64k", 66), ("g703at2mb", 67), ("qllc", 68), ("fastEtherFX", 69), ("iso88023Csmacd", 7), ("channel", 70), ("ieee80211", 71), ("ibm370parChan", 72), ("escon", 73), ("dlsw", 74), ("isdns", 75), ("isdnu", 76), ("lapd", 77), ("ipSwitch", 78), ("rsrb", 79), ("iso88024TokenBus", 8), ("atmLogical", 80), ("ds0", 81), ("ds0Bundle", 82), ("bsc", 83), ("async", 84), ("cnr", 85), ("iso88025Dtr", 86), ("eplrs", 87), ("arap", 88), ("propCnls", 89), ("iso88025TokenRing", 9), ("hostPad", 90), ("termPad", 91), ("frameRelayMPI", 92), ("x213", 93), ("adsl", 94), ("radsl", 95), ("sdsl", 96), ("vdsl", 97), ("iso88025CRFPInt", 98), ("myrinet", 99), ) class IANAtunnelType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(8,14,13,6,11,7,9,2,12,1,5,10,3,4,) namedValues = NamedValues(("other", 1), ("msdp", 10), ("sixToFour", 11), ("sixOverFour", 12), ("isatap", 13), ("teredo", 14), ("direct", 2), ("gre", 3), ("minimal", 4), ("l2tp", 5), ("pptp", 6), ("l2f", 7), ("udp", 8), ("atmp", 9), ) # Objects ianaifType = ModuleIdentity((1, 3, 6, 1, 2, 1, 30)).setRevisions(("2007-09-13 00:00","2007-05-29 00:00","2007-03-08 00:00","2007-01-23 00:00","2006-10-17 00:00","2006-09-25 00:00","2006-08-17 00:00","2006-08-11 00:00","2006-07-25 00:00","2006-06-14 00:00","2006-03-31 00:00","2006-03-30 00:00","2005-12-22 00:00","2005-10-10 00:00","2005-09-09 00:00","2005-05-27 00:00","2005-03-03 00:00","2004-11-22 00:00","2004-06-17 00:00","2004-05-12 00:00","2004-05-07 00:00","2003-08-25 00:00","2003-08-18 00:00","2003-08-07 00:00","2003-03-18 00:00","2003-01-13 00:00","2002-10-17 00:00","2002-07-16 00:00","2002-07-10 00:00","2002-06-19 00:00","2002-01-04 00:00","2001-12-20 00:00","2001-11-15 00:00","2001-11-06 00:00","2001-11-02 00:00","2001-10-16 00:00","2001-09-19 00:00","2001-05-11 00:00","2001-01-12 00:00","2000-12-19 00:00","2000-12-07 00:00","2000-12-04 00:00","2000-10-17 00:00","2000-10-02 00:00","2000-09-01 00:00","2000-08-24 00:00","2000-08-23 00:00","2000-08-22 00:00","2000-04-25 00:00","2000-03-06 00:00","1999-10-08 14:30","1994-01-31 00:00",)) if mibBuilder.loadTexts: ianaifType.setOrganization("IANA") if mibBuilder.loadTexts: ianaifType.setContactInfo(" Internet Assigned Numbers Authority\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaifType.setDescription("This MIB module defines the IANAifType Textual\nConvention, and thus the enumerated values of\nthe ifType object defined in MIB-II's ifTable.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANAifType-MIB", PYSNMP_MODULE_ID=ianaifType) # Types mibBuilder.exportSymbols("IANAifType-MIB", IANAifType=IANAifType, IANAtunnelType=IANAtunnelType) # Objects mibBuilder.exportSymbols("IANAifType-MIB", ianaifType=ianaifType) pysnmp-mibs-0.1.3/pysnmp_mibs/DECNET-PHIV-MIB.py0000644000014400001440000027756711736645135021172 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DECNET-PHIV-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:46 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Gauge32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Types class InterfaceIndex(Integer32): pass class PhivAddr(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(2,2) fixedLength = 2 class PhivCounter(Integer32): pass # Objects phiv = MibIdentifier((1, 3, 6, 1, 2, 1, 18)) phivSystem = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 1)) phivSystemState = MibScalar((1, 3, 6, 1, 2, 1, 18, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), ("shut", 3), ("restricted", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivSystemState.setDescription("This represents the operational state of the executor\nnode.\nThe possible states are:\nON Allows logical links.\nOFF Allows no new links, terminates existing\n links, and stops routing traffic through.\nSHUT Allows no new logical links, does not\n destroy existing logical links, and goes\n to the OFF state when all logical links are\n gone.\nRESTRICTED Allows no new incoming logical links from\n other nodes.\n\nNOTE: These values are incremented by one compared to\nthe standard DECnet values in order to maintain\ncompliance with RFC 1155).") phivExecIdent = MibScalar((1, 3, 6, 1, 2, 1, 18, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivExecIdent.setDescription("This is a text string that describes the executor node\n(for example, 'Research Lab'). The string is up to 32\ncharacters of any type.") phivManagement = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 2)) phivMgmtMgmtVers = MibScalar((1, 3, 6, 1, 2, 1, 18, 2, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivMgmtMgmtVers.setDescription("This is the read-only Network Management Version,\nconsisting of the version number, the Engineering\nChange Order (ECO) number, and the user ECO number\n(for example, 3.0.0). This parameter applies to the\nexecutor node only.") session = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 3)) phivSessionSystemName = MibScalar((1, 3, 6, 1, 2, 1, 18, 3, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivSessionSystemName.setDescription("Name to be associated with the node identification.\nOnly one name can be assigned to a node address or a\ncircuit identification. No name should be used more than\nonce in a DECnet network. Node-name is one to six upper\ncase alphanumeric characters with at least one alpha\ncharacter. A length of 0 indicates no name.") phivSessionInTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivSessionInTimer.setDescription("This value represents the maximum duration between the\ntime a connect is received for a process at the\nexecutor node and the time that process accepts or\nrejects it. If the connect is not accepted or rejected\nby the user within the number of seconds specified,\nSession Control rejects it for the user. A value of 0\nindicates no timer is running.") phivSessionOutTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivSessionOutTimer.setDescription("This value represents the duration between the time the\nexecutor requests a connect and the time that connect is\nacknowledged by the destination node. If the connect is\nnot acknowledged within the number of seconds\nspecified, Session Control returns an error. A value of 0\nindicates no timer is running.") end = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 4)) phivEndRemoteTable = MibTable((1, 3, 6, 1, 2, 1, 18, 4, 1)) if mibBuilder.loadTexts: phivEndRemoteTable.setDescription("Information about the state of sessions between the\nnode under study and the nodes found in the table.") phivEndRemoteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 4, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivEndRemoteHostNodeID")) if mibBuilder.loadTexts: phivEndRemoteEntry.setDescription("Information about a particular remote node as seen\nfrom the end communication layer.") phivEndRemoteHostNodeID = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 1, 1, 1), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndRemoteHostNodeID.setDescription("This value is the address of the remote node to be\nevaluated.") phivEndRemoteState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), ("shut", 3), ("restricted", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndRemoteState.setDescription("This represents the operational state of the remote node\nbeing evaluated.\nThe possible states are:\n\nON Allows logical links.\nOFF Allows no new links, terminates existing\n links, and stops routing traffic through.\nSHUT Allows no new logical links, does not\n destroy existing logical links, and goes\n to the OFF state when all logical links are\n gone.\nRESTRICTED Allows no new incoming logical links from\n other nodes.\n\nNOTE: These values are incremented by one compared to\nthe standard DECnet values in order to maintain\ncompliance with RFC 1155.") phivEndCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCircuitIndex.setDescription("A unique index value for each known circuit used to\ncommunicate with the remote node. This is the same\nvalue as phivCircuitIndex.") phivEndActiveLinks = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndActiveLinks.setDescription("This read-only parameter represents the number of active\nlogical links from the executor to the destination node.") phivEndDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndDelay.setDescription("This read-only parameter is the average round trip\ndelay in seconds to the destination node. This\nparameter is kept on a remote node basis.") phivEndCountTable = MibTable((1, 3, 6, 1, 2, 1, 18, 4, 2)) if mibBuilder.loadTexts: phivEndCountTable.setDescription("Information about the counters associated with each end\nsystem that is known to the entity. These counters\nreflect totals from the perspective of the executor\nnode.") phivEndCountEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 4, 2, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivEndCountHostNodeID")) if mibBuilder.loadTexts: phivEndCountEntry.setDescription("Information about a particular session between two end\nsystems.") phivEndCountHostNodeID = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 1), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountHostNodeID.setDescription("This value is the address of the remote node to be\nevaluated.") phivEndCountSecsLastZeroed = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 2), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountSecsLastZeroed.setDescription("This value is the number of seconds that have elapsed\nsince the counters for the node in this table row were\nlast set to zero. This counter is located in the\nnetwork management layer, but is returned with the\nend system information which follows.") phivEndCountUsrBytesRec = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 3), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountUsrBytesRec.setDescription("Number of user bytes received from the target host.") phivEndCountUsrBytesSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 4), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountUsrBytesSent.setDescription("Number of user bytes sent to the target host.") phivEndUCountUsrMessRec = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 5), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndUCountUsrMessRec.setDescription("Number of user messages received from the target host.") phivEndCountUsrMessSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 6), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountUsrMessSent.setDescription("Number of user messages sent to the target host.") phivEndCountTotalBytesRec = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 7), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountTotalBytesRec.setDescription("Number of bytes received from the target host.") phivEndCountTotalBytesSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 8), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountTotalBytesSent.setDescription("Number of bytes sent to the target host.") phivEndCountTotalMessRec = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 9), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountTotalMessRec.setDescription("Number of messages received from the target host.") phivEndCountTotalMessSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 10), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountTotalMessSent.setDescription("Number of messages sent to the target host.") phivEndCountConnectsRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 11), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountConnectsRecd.setDescription("Number of connects received from the target host.") phivEndCountConnectsSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 12), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountConnectsSent.setDescription("Number of connects sent to the target host.") phivEndCountReponseTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 13), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountReponseTimeouts.setDescription("Number of response timeouts.") phivEndCountRecdConnectResErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 4, 2, 1, 14), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndCountRecdConnectResErrs.setDescription("Number of received connect resource errors.") phivEndMaxLinks = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndMaxLinks.setDescription("This value represents the maximum active logical\nlink count allowed for the executor.") phivEndNSPVers = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEndNSPVers.setDescription("This read-only parameter represents the version number\nof the node End Communication S/W. The format is\nversion number, ECO, and user ECO, e.g., 4.1.0") phivEndRetransmitFactor = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndRetransmitFactor.setDescription("This value represents the maximum number of times the\nsource End Communication at the executor node will\nrestart the retransmission timer when it expires. If\nthe number is exceeded, Session Control disconnects the\nlogical link for the user.") phivEndDelayFact = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndDelayFact.setDescription("This is the number by which to multiply one sixteenth\nof the estimated round trip delay to a node to set the\nretransmission timer to that node.") phivEndDelayWeight = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndDelayWeight.setDescription("This number represents the weight to apply to a\ncurrent round trip delay estimate to a remote node\nwhen updating the estimated round trip delay to a node.\nOn some systems the number must be 1 less than a power\nof 2 for computational efficiency.") phivEndInactivityTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndInactivityTimer.setDescription("This value represents the maximum duration of inactivity\n(no data in either direction) on a logical link before\nthe node checks to see if the logical link still works.\nIf no activity occurs within the minimum number of\nseconds, End Communication generates artificial\ntraffic to test the link (End Communication\nspecification).") phivEndCountZeroCount = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("other", 1), ("reset", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndCountZeroCount.setDescription("When this value is set to 2, all of the counters in\nthe End System Counter Table are set to zero.") phivEndMaxLinksActive = MibScalar((1, 3, 6, 1, 2, 1, 18, 4, 10), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEndMaxLinksActive.setDescription("This value represents the high water mark for the\nnumber of links that were active at any one time.") routing = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 5)) phivRouteBroadcastRouteTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteBroadcastRouteTimer.setDescription("This value determines the maximum time in seconds\nallowed between Routing updates on Ethernet\ncircuits. When this timer expired before a routing\nupdate occurs, a routing update is forced. With a\nstandard calculation, Routing also uses this timer\nto enforce a minimum delay between routing updates.") phivRouteBuffSize = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteBuffSize.setDescription("This parameter value determines the maximum size of\na Routing message. It therefore determines the maximum\nsize message that can be forwarded. This size includes\nprotocol overhead down to and including the End\nCommunication layer, plus a constant value of 6. (This\nvalue of 6 is included to provide compatibility with\nthe parameter definition in Phase III, which included\nthe Routing overhead.) It does not include Routing or\nData link overhead (except for the constant value of\n6). There is one buffer size for all circuits.\n\nNOTE: The BUFFER SIZE defines the maximum size messages\nthat the Routing layer can forward. The SEGMENT BUFFER\nSIZE (defined below) defines the maximum size messages\nthat the End Communication layer can transmit or\nreceive. The SEGMENT BUFFER SIZE is always less than\nor equal to the BUFFER SIZE. Normally the two\nparameters will be equal. They may be different to\nallow the network manager to alter buffer sizes\non all nodes without interruption of service. They both\ninclude an extra 6 bytes for compatibility with Phase\nIII.") phivRouteRoutingVers = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteRoutingVers.setDescription("This read-only parameter identifies the executor node's\nRouting version number. The format is version number,\nECO, and user ECO, e.g., 4.1.0") phivRouteMaxAddr = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxAddr.setDescription("This value represents the largest node number and,\ntherefore, number of nodes that can be known about\nby the executor node's home area.") phivRouteMaxBdcastNonRouters = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxBdcastNonRouters.setDescription("This value represents the maximum total number of\nnonrouters the executor node can have on its Ethernet\ncircuits.") phivRouteMaxBdcastRouters = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxBdcastRouters.setDescription("This value represents the maximum total number of\nrouters the executor node can have on its Ethernet\ncircuits.") phivRouteMaxBuffs = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxBuffs.setDescription("This value represents the maximum number of transmit\nbuffers that Routing may use for all circuits.") phivRouteMaxCircuits = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxCircuits.setDescription("This value represents the maximum number of Routing\ncircuits that the executor node can know about.") phivRouteMaxCost = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1022))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxCost.setDescription("This value represents the maximum total path cost\nallowed from the executor to any node within an area.\nThe path cost is the sum of the circuit costs along\na path between two nodes. This parameter defines the\npoint where the executor node's Routing routing\ndecision algorithm declares another node unreachable\nbecause the cost of the least costly path to the\nother node is excessive. For correct operation, this\nparameter must not be less than the maximum path cost\nof the network.") phivRouteMaxHops = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxHops.setDescription("This value represents the maximum number of routing hops\nallowable from the executor to any other reachable node\nwithin an area. (A hop is the logical distance over a\ncircuit between two adjacent nodes.) This parameter\ndefines the point where the executor node's Routing\nrouting decision algorithm declares another node\nunreachable because the length of the shortest path\nbetween the two nodes is too long. For correct\noperation, this parameter must not be less than the\nnetwork diameter. (The network diameter is the\nreachability distance between the two nodes of the\nnetwork having the greatest reachability distance,\nwhere reachability distance is the length the shortest\npath between a given pair of nodes.)") phivRouteMaxVisits = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxVisits.setDescription("This value represents the maximum number of nodes a\nmessage coming into the executor node can have visited.\nIf the message is not for this node and the MAXIMUM\nVISITS number is exceeded, the message is discarded.\nThe MAXIMUM VISITS parameter defines the point where\nthe packet lifetime control algorithm discards\na packet that has traversed too many nodes. For correct\noperation, this parameter must not be less than the\nmaximum path length of the network. (The maximum path\nlength is the routing distance between the two nodes of\nthe network having the greatest routing distance, where\nrouting distance is the length of the least costly\npath between a given pair of nodes.)") phivRouteRoutingTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteRoutingTimer.setDescription("This value determines the maximum time in seconds\nallowed between Routing updates on non-Ethernet\ncircuits. When this timer expires before a routing\nupdate occurs, a routing update is forced.") phivRouteSegBuffSize = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteSegBuffSize.setDescription("This parameter value determines the maximum size of an\nend-to-end segment. The size is a decimal integer in\nthe range 1-65535. This size is in bytes. This size\nincludes protocol overhead down to and including the\nEnd Communication layer, plus a constant value of 6.\n(This value of 6 is included to provide compatibility\nwith the BUFFER SIZE parameter definition.) It does not\ninclude Routing or Data link overhead (except for the\nconstant value of 6).") phivRouteType = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,5,2,4,)).subtype(namedValues=NamedValues(("routing-III", 1), ("nonrouting-III", 2), ("area", 3), ("routing-IV", 4), ("nonrouting-IV", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteType.setDescription("This parameter indicates the type of the executor\nnode. The node-type is one of the following:\n\nrouting-III\nnonrouting-III\nrouting-IV\nronrouting-IV\narea\n\nA routing node has full routing capability. A\nnonrouting node contains a subset of the Routing\nrouting modules. The III and IV indicate the DNA\nphase of the node. Nonrouting nodes can deliver\nand receive packets to and from any node, but cannot\nroute packets from other nodes through to other nodes.\nAn area node routes between areas. Refer to the Routing\nspecification for details.\nFor adjacent nodes, this is a read-only parameter that\nindicates the type of the reachable adjacent node.\nNOTE: The ROUTING-III and NONROUTING-III values are\nincremented by one compared to the standard DECnet\nvalues in order to maintain compliance with RFC 1155)") phivRouteCountAgedPktLoss = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 15), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteCountAgedPktLoss.setDescription("Number of aged packet losses.") phivRouteCountNodeUnrPktLoss = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 16), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteCountNodeUnrPktLoss.setDescription("Number of node unreachable packet losses.") phivRouteCountOutRngePktLoss = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 17), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteCountOutRngePktLoss.setDescription("Number of node out-of-range packet losses.") phivRouteCountOverSzePktLoss = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 18), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteCountOverSzePktLoss.setDescription("Number of Oversized packet losses.") phivRouteCountPacketFmtErr = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 19), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteCountPacketFmtErr.setDescription("Number of packet format errors.") phivRouteCountPtlRteUpdtLoss = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 20), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteCountPtlRteUpdtLoss.setDescription("Number of partial routing update losses.") phivRouteCountVerifReject = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 21), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteCountVerifReject.setDescription("Number of verification rejects.") phivLevel1RouteTable = MibTable((1, 3, 6, 1, 2, 1, 18, 5, 22)) if mibBuilder.loadTexts: phivLevel1RouteTable.setDescription("Information about the currently known DECnet Phase\nIV Routes.") phivLevel1RouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 5, 22, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivLevel1RouteNodeAddr")) if mibBuilder.loadTexts: phivLevel1RouteEntry.setDescription("Information about the currently known DECnet Phase\nIV Routes.") phivLevel1RouteNodeAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 5, 22, 1, 1), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLevel1RouteNodeAddr.setDescription("This value is the address of the node about which\nrouting information is contained in this level 1\nrouting table.") phivLevel1RouteCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 5, 22, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLevel1RouteCircuitIndex.setDescription("A unique index value for each known circuit. This is\nthe index to the circuit state table and is the same\nvalue as phivCircuitIndex.") phivLevel1RouteCost = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 5, 22, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLevel1RouteCost.setDescription("This read-only parameter represents the total cost\nover the current path to the destination node. Cost is\na positive integer value associated with using a\ncircuit. Routing routes messages (data) along the path\nbetween two nodes with the smallest cost. COST is kept\non a remote node basis.") phivLevel1RouteHops = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 5, 22, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLevel1RouteHops.setDescription("This read-only parameter represents the number of hops\nover to a destination node. A hop is Routing value\nrepresenting the logical distance between two nodes in\na network. HOPS is kept on a remote node basis.") phivLevel1RouteNextNode = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 5, 22, 1, 5), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLevel1RouteNextNode.setDescription("This read-only value indicates the next node on the\ncircuit used to get to the node under scrutiny\n(next hop).") phivRouteCountZeroCount = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("other", 1), ("reset", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteCountZeroCount.setDescription("When this value is set to 2, the following objects are\nset to Zero: phivRouteCountAgedPktLoss,\nphivRouteCountNodeUnrPktLoss,\nphivRouteCountOutRngePktLoss,\nphivRouteCountOverSzePktLoss,\nphivRouteCountPacketFmtErr,\nphivRouteCountPtlRteUpdtLoss, and\nphivRouteCountVerifReject.") phivRouteSystemAddr = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 24), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivRouteSystemAddr.setDescription("DECnet Phase IV node address.") phivRouteRoutingType = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,5,2,4,)).subtype(namedValues=NamedValues(("routing-III", 1), ("nonrouting-III", 2), ("area", 3), ("routing-IV", 4), ("nonrouting-IV", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteRoutingType.setDescription("This read-write parameter indicates the type of the executor\nnode. The node-type is one of the following:\n\nrouting-III\nnonrouting-III\nrouting-IV\nronrouting-IV\narea\n\nA routing node has full routing capability. A\nnonrouting node contains a subset of the Routing\nrouting modules. The III and IV indicate the DNA\nphase of the node. Nonrouting nodes can deliver\nand receive packets to and from any node, but cannot\nroute packets from other nodes through to other nodes.\nAn area node routes between areas. Refer to the Routing\nspecification for details.\n\nFor adjacent nodes, this is a read-only parameter that\nindicates the type of the reachable adjacent node.\nNOTE: The ROUTING-III and NONROUTING-III values are\nincremented by one compared to the standard DECnet\nvalues in order to maintain compliance with RFC 1155)") phivRouteSystemAddress = MibScalar((1, 3, 6, 1, 2, 1, 18, 5, 26), PhivAddr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteSystemAddress.setDescription("DECnet Phase IV node address.") circuit = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 6)) phivCircuitParametersTable = MibTable((1, 3, 6, 1, 2, 1, 18, 6, 1)) if mibBuilder.loadTexts: phivCircuitParametersTable.setDescription("Information about the parameters associated with all\ncircuits currently known.") phivCircuitParametersEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 6, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivCircuitIndex")) if mibBuilder.loadTexts: phivCircuitParametersEntry.setDescription("Parameters information about all circuits currently\nknown.") phivCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitIndex.setDescription("A unique index value for each known circuit.") phivCircuitLineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitLineIndex.setDescription("The line on which this circuit is active. This is\nthe same as the ifIndex.") phivCircuitCommonState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), ("service", 3), ("cleared", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivCircuitCommonState.setDescription("This value represents the circuit's Network Management\noperational state. NOTE: These values are incremented\nby one compared to the standard DECnet values in order\nto maintain compliance with RFC 1155.") phivCircuitCommonSubState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(5,11,3,13,2,9,4,7,12,10,8,1,6,)).subtype(namedValues=NamedValues(("starting", 1), ("autotriggering", 10), ("synchronizing", 11), ("failed", 12), ("running", 13), ("reflecting", 2), ("looping", 3), ("loading", 4), ("dumping", 5), ("triggering", 6), ("autoservice", 7), ("autoloading", 8), ("autodumping", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCommonSubState.setDescription("This value represents the circuit's Network Management\noperational and service substate. NOTE: These values are\nincremented by one compared to the standard DECnet values\nin order to maintain compliance with RFC 1155.") phivCircuitCommonName = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCommonName.setDescription("The name of the circuit entry in the table, for example,\nSVA-0 or in a level 2 router ASYNC-8 or ETHER-1).") phivCircuitExecRecallTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivCircuitExecRecallTimer.setDescription("This parameter represents the minimum number of\nseconds to wait before restarting the circuit. A\nvalue of 0 indicates not timer is running.") phivCircuitCommonType = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,7,5,1,15,8,3,9,14,4,6,)).subtype(namedValues=NamedValues(("ddcmp-point", 1), ("other", 14), ("fddi", 15), ("ddcmp-control", 2), ("ddcmp-tributary", 3), ("x25", 4), ("ddcmp-dmc", 5), ("ethernet", 6), ("ci", 7), ("qp2-dte20", 8), ("bisync", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCommonType.setDescription("Represents the type of the circuit. For X.25 circuits,\nthe value must be set to X25. For DDCMP and Ethernet\ncircuits it is read only and is the same value as the\nprotocol of the associated line.\nNOTE: Values 1 - 5 are incremented by one compared to the\nstandard DECnet values in order to maintain compliance\nwith RFC 1155.") phivCircuitService = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivCircuitService.setDescription("This value indicates whether or not Network Management\nallows service operations on a circuit. The values for\nservice-control are as follows:\n\nENABLED SERVICE state and/or service functions are\n allowed.\n\nDISABLED SERVICE state and/or service functions are not\n allowed.\n\nNOTE: These values are incremented by one compared to the\nstandard DECnet values in order to maintain compliance\nwith RFC 1155.") phivCircuitExecCost = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 25))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivCircuitExecCost.setDescription("This value represents the routing cost of the circuit.\nRouting sends messages along the path between two nodes\nhaving the smallest cost.") phivCircuitExecHelloTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8191))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivCircuitExecHelloTimer.setDescription("This value determines the frequency of Routing Hello\nmessages sent to the adjacent node on the circuit.") phivCircuitCountTable = MibTable((1, 3, 6, 1, 2, 1, 18, 6, 2)) if mibBuilder.loadTexts: phivCircuitCountTable.setDescription("Information about the counters associated with all\ncircuits currently known.") phivCircuitCountEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 6, 2, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivCircuitIndex")) if mibBuilder.loadTexts: phivCircuitCountEntry.setDescription("Counter information about all circuits currently known") phivCircuitCountSecLastZeroed = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 1), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountSecLastZeroed.setDescription("Number of seconds since the circuit counters for this\ncircuit were last zeroed.") phivCircuitCountTermPacketsRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 2), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountTermPacketsRecd.setDescription("Number of terminating packets received on this circuit.") phivCircuitCountOriginPackSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 3), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountOriginPackSent.setDescription("Number of originating packets sent on this circuit.") phivCircuitCountTermCongLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 4), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountTermCongLoss.setDescription("Number of terminating congestion losses on this\ncircuit.") phivCircuitCountCorruptLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 5), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountCorruptLoss.setDescription("Number of corruption losses on this circuit.") phivCircuitCountTransitPksRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 6), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountTransitPksRecd.setDescription("Number of Transit packets received on this circuit.") phivCircuitCountTransitPkSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 7), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountTransitPkSent.setDescription("Number of transit packets sent on this circuit.") phivCircuitCountTransitCongestLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 8), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountTransitCongestLoss.setDescription("Number of transit congestion losses on this circuit.") phivCircuitCountCircuitDown = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 9), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountCircuitDown.setDescription("Number of circuit downs on this circuit.") phivCircuitCountInitFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 10), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountInitFailure.setDescription("Number of Initialization failures on this circuit.") phivCircuitCountAdjDown = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 11), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountAdjDown.setDescription("This counter indicates the number of adjacency losses\nthat result from any of the following:\n Node listener timeout\n Invalid data received at node listener\n Unexpected control (initialization or verification)\n message received\n Routing message received with a checksum error\n Node identification from a routing message or a\n Hello message that is not the one expected Hello\n message received indicating that connectivity\n became one-way\n Adjacency idled.") phivCircuitCountPeakAdj = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 12), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountPeakAdj.setDescription("This counter indicates the maximum number of nodes\nthat are up on the circuit.") phivCircuitCountBytesRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 13), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountBytesRecd.setDescription("Number of bytes received on this circuit.") phivCircuitCountBytesSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 14), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountBytesSent.setDescription("Number of bytes sent on this circuit.") phivCircuitCountDataBlocksRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 15), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountDataBlocksRecd.setDescription("Number of data blocks received on this circuit.") phivCircuitCountDataBlocksSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 16), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountDataBlocksSent.setDescription("Number of data blocks sent on this circuit.") phivCircuitCountUsrBuffUnav = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 6, 2, 1, 17), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCircuitCountUsrBuffUnav.setDescription("Number of user buffer unavailable errors.") phivCircuitOrigQueueLimit = MibScalar((1, 3, 6, 1, 2, 1, 18, 6, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivCircuitOrigQueueLimit.setDescription("This parameter indicates the maximum number of\noriginating packets that may be outstanding on this\ncircuit. This does not include route-thru traffic.") phivCircuitCountZeroCount = MibScalar((1, 3, 6, 1, 2, 1, 18, 6, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("other", 1), ("reset", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivCircuitCountZeroCount.setDescription("When this value is set to 2, all of the counters in the\nCircuit Counter Table are set to zero.") ddcmp = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 7)) phivDDCMPCircuitParametersTable = MibTable((1, 3, 6, 1, 2, 1, 18, 7, 1)) if mibBuilder.loadTexts: phivDDCMPCircuitParametersTable.setDescription("Information about DDCMP circuit parameters.") phivDDCMPCircuitParametersEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 7, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivDDCMPCircuitIndex")) if mibBuilder.loadTexts: phivDDCMPCircuitParametersEntry.setDescription("Parameters information about DDCMP circuits currently\nknown.") phivDDCMPCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitIndex.setDescription("A unique index value for each known DDCMP circuit.\nThis is the same value as phivCircuitIndex.") phivDDCMPCircuitAdjNodeAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 1, 1, 2), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitAdjNodeAddr.setDescription("The address of the adjacent node.") phivDDCMPCircuitTributary = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitTributary.setDescription("This value represents the Data Link physical tributary\naddress of the circuit.") phivDDCMPCircuitCountTable = MibTable((1, 3, 6, 1, 2, 1, 18, 7, 2)) if mibBuilder.loadTexts: phivDDCMPCircuitCountTable.setDescription("Information about the DDCMP counters associated with all\ncircuits currently known.") phivDDCMPCircuitCountEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 7, 2, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivCircuitIndex")) if mibBuilder.loadTexts: phivDDCMPCircuitCountEntry.setDescription("Counter information about DDCMP circuits now known") phivDDCMPCircuitErrorsInbd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 1), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitErrorsInbd.setDescription("Number of Data errors inbound.") phivDDCMPCircuitErrorsOutbd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 2), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitErrorsOutbd.setDescription("Number of outbound data errors.") phivDDCMPCircuitRmteReplyTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 3), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitRmteReplyTimeouts.setDescription("Number of remote reply timeouts.") phivDDCMPCircuitLocalReplyTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 4), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitLocalReplyTimeouts.setDescription("Number of local Reply timeouts.") phivDDCMPCircuitRmteBuffErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 5), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitRmteBuffErrors.setDescription("Number of remote reply time out errors.") phivDDCMPCircuitLocalBuffErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 6), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitLocalBuffErrors.setDescription("Number of local buffer errors.") phivDDCMPCircuitSelectIntervalsElap = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 7), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitSelectIntervalsElap.setDescription("Selection intervals that have elapsed.") phivDDCMPCircuitSelectTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPCircuitSelectTimeouts.setDescription("Number of selection timeouts.") phivDDCMPLineCountTable = MibTable((1, 3, 6, 1, 2, 1, 18, 7, 3)) if mibBuilder.loadTexts: phivDDCMPLineCountTable.setDescription("The DDCMP Line Count Table.") phivDDCMPLineCountEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 7, 3, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivDDCMPLineCountIndex")) if mibBuilder.loadTexts: phivDDCMPLineCountEntry.setDescription("There is one entry in the table for each line.") phivDDCMPLineCountIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 3, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPLineCountIndex.setDescription("The line on which this entry's equivalence is\neffective. The interface identified by a particular\nvalue of this index is the same interface as\nidentified by the same value of phivLineIndex.\nThis value is the ifIndex.") phivDDCMPLineCountDataErrsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 3, 1, 2), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPLineCountDataErrsIn.setDescription("Number of data errors inbound.") phivDDCMPLineCountRmteStationErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 3, 1, 3), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPLineCountRmteStationErrs.setDescription("Number of remote station errors.") phivDDCMPLineCountLocalStationErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 7, 3, 1, 4), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivDDCMPLineCountLocalStationErrs.setDescription("Number of local station errors.") control = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 8)) phivControlSchedTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 8, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(50, 65535)).clone(200)).setMaxAccess("readonly") if mibBuilder.loadTexts: phivControlSchedTimer.setDescription("This value represents the number of milliseconds\nbetween recalculation of tributary polling priorities.") phivControlDeadTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(10000)).setMaxAccess("readonly") if mibBuilder.loadTexts: phivControlDeadTimer.setDescription("This value represents the number of milliseconds\nbetween polls of one of the set of dead\ntributaries.") phivControlDelayTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 8, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivControlDelayTimer.setDescription("This value represents the minimum number of\nmilliseconds to delay between polls. The delay timer\nlimits the effect of a very fast control station on\nslow tributaries.") phivControlStreamTimer = MibScalar((1, 3, 6, 1, 2, 1, 18, 8, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(6000)).setMaxAccess("readonly") if mibBuilder.loadTexts: phivControlStreamTimer.setDescription("This value represents the number of milliseconds a\ntributary or a half duplex remote station is\nallowed to hold the line.\n\nNOTE: This parameter can also be applied to\nhalf-duplex lines of type DDCMP POINT.") phivControlParametersTable = MibTable((1, 3, 6, 1, 2, 1, 18, 8, 5)) if mibBuilder.loadTexts: phivControlParametersTable.setDescription("Information about control circuit parameters.") phivControlParametersEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 8, 5, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivControlCircuitIndex")) if mibBuilder.loadTexts: phivControlParametersEntry.setDescription("Parameters information about control circuits\ncurrently known.") phivControlCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivControlCircuitIndex.setDescription("A unique index value for each known multipoint\ncontrol circuit.\nThis is the same value as phivCircuitIndex.") phivControlBabbleTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(6000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlBabbleTimer.setDescription("This value represents the number of milliseconds that a\nselected tributary or remote half-duplex station is\nallowed to transmit.") phivControlMaxBuffs = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlMaxBuffs.setDescription("This value represents the maximum number of buffers the\ntributary can use from a common buffer pool. If not\nset, there is no common buffer pool and buffers are\nexplicitly supplied by the higher level. Count is a\ndecimal integer in the range 1-254.") phivControlMaxTransmits = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlMaxTransmits.setDescription("This value represents the maximum number of data\nmessages that can be transmitted at one time. Count\nis a decimal integer in the range 1-255.") phivControlDyingBase = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlDyingBase.setDescription("This value represents the base priority to which a\ntributary is reset each time it has been polled. A\nseparate base can be set for each of the indicated\npolling states. Base is a decimal integer in the range\n0-255. If not set, the defaults are: active, 255;\ninactive, 0; and dying, 0.") phivControlDyingIncrement = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlDyingIncrement.setDescription("This value represents the increment added to the\ntributary priority each time the scheduling timer\nexpires. If not set, the defaults are: active, 0;\ninactive, 64; and dying, 16.") phivControlDeadThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlDeadThreshold.setDescription("This value represents the number of times to poll the\nactive, inactive, or dying tributary before changing\nits polling state to dead because of receive timeouts.\nCount is a decimal integer in the range 0-255.") phivControlDyingThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlDyingThreshold.setDescription("This value represents the number of times to poll the\nactive or inactive tributary before changing its\npolling state to dying because of receive timeouts.\nCount is a decimal integer in the range 0-255.") phivControlInactTreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlInactTreshold.setDescription("This value represents the number of times to poll the\nactive tributary before changing its polling state to\ninactive because of no data response. Count is a\ndecimal integer in the range\n0-255.") phivControlPollingState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(4,5,3,2,1,)).subtype(namedValues=NamedValues(("automatic", 1), ("active", 2), ("inactive", 3), ("dying", 4), ("dead", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlPollingState.setDescription("This value represents the state of the tributary\nrelative to the multipoint polling algorithm. If not\nset the default is AUTOMATIC. The possible states are:\nAUTOMATIC\n\n The tributary's state is allowed to vary according to\n the operation of the polling algorithm.\n\nACTIVE/INACTIVE/DYING/DEAD\n\n The tributary is locked in the specified state.\n\n NOTE: These values are incremented by one compared to\n the standard DECnet values in order to maintain\n compliance with RFC 1155.") phivControlPollingSubState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ("dying", 3), ("dead", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivControlPollingSubState.setDescription("This value represents the tributary's state as\ndetermined by the polling algorithm. This applies\nonly when the polling state is AUTOMATIC and is\nread-only to Network Management. Polling-substate is\none of ACTIVE, INACTIVE, DYING, or DEAD. It is\ndisplayed as a tag on the polling state, for example:\nAUTOMATIC-INACTIVE.") phivControlTransTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 8, 5, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivControlTransTimer.setDescription("This value represents the number of milliseconds to\ndelay between data message transmits. Milliseconds is\na decimal integer in the range 0-65535.") ethernet = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 9)) phivEthLinkParametersTable = MibTable((1, 3, 6, 1, 2, 1, 18, 9, 1)) if mibBuilder.loadTexts: phivEthLinkParametersTable.setDescription("Information about ethernet link parameters.") phivEthLinkParametersEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 9, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivEthLinkIndex")) if mibBuilder.loadTexts: phivEthLinkParametersEntry.setDescription("Parameter information about ethernet links currently\nknown.") phivEthLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 9, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEthLinkIndex.setDescription("The circuit over which this links information is\ncollected. This is the same as phivCircuitIndex.") phivEthDesigRouterNodeAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 9, 1, 1, 2), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEthDesigRouterNodeAddr.setDescription("This value is the address of the designated router.") phivEthMaxRouters = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 9, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEthMaxRouters.setDescription("This parameter is the maximum number of routers (other\nthan the executor itself) allowed on the circuit by\nRouting for circuits that are owned by the executor\nnode.") phivEthRouterPri = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 9, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivEthRouterPri.setDescription("This parameter is the priority that this router is to\nhave in the selection of designated router for the\ncircuit on circuits that are owned by the executor\nnode.") phivEthHardwareAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 9, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: phivEthHardwareAddr.setDescription("This read-only parameter is the address that is\nassociated with the line device hardware as seen by\nthe DECnet Software. This value is not the same as\nifPhysAddress.") counters = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 10)) phivCountersCountTable = MibTable((1, 3, 6, 1, 2, 1, 18, 10, 1)) if mibBuilder.loadTexts: phivCountersCountTable.setDescription("Information about ethernet link counters.") phivCountersCountEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 10, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivCountersIndex")) if mibBuilder.loadTexts: phivCountersCountEntry.setDescription("Counter information about ethernet links currently\nknown.") phivCountersIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersIndex.setDescription("The interface to which these counters apply. This is\nthe same interface as identified by the same value of\nphivLineIndex. This value is the ifIndex.") phivCountersCountBytesRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 2), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountBytesRecd.setDescription("Number of bytes received over this link.") phivCountersCountBytesSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 3), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountBytesSent.setDescription("Number of bytes sent over this link.") phivCountersCountDataBlocksRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 4), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountDataBlocksRecd.setDescription("Number of data blocks received over this link.") phivCountersCountDataBlocksSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 5), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountDataBlocksSent.setDescription("Number of data blocks sent over this link.") phivCountersCountEthUsrBuffUnav = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 6), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountEthUsrBuffUnav.setDescription("Number of user buffer unavailable errors over this\nlink.") phivCountersCountMcastBytesRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 7), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountMcastBytesRecd.setDescription("Number of multicast bytes received over this link.") phivCountersCountDataBlksRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 8), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountDataBlksRecd.setDescription("Number of data blocks received over this link.") phivCountersCountDataBlksSent = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 9), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountDataBlksSent.setDescription("Number of data blocks sent over this link.") phivCountersCountMcastBlksRecd = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 10), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountMcastBlksRecd.setDescription("Number of multicast blocks received over this link.") phivCountersCountBlksSentDef = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 11), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountBlksSentDef.setDescription("Number of blocks sent, initially deferred over this\nlink.") phivCountersCountBlksSentSingleCol = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 12), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountBlksSentSingleCol.setDescription("Number of blocks sent, single collision over this link.") phivCountersCountBlksSentMultCol = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 13), PhivCounter().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountBlksSentMultCol.setDescription("Number of blocks sent, multiple collisions over this\nlink.") phivCountersCountSendFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountSendFailure.setDescription("Number of send failures over this link.") phivCountersCountCollDetectFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountCollDetectFailure.setDescription("Number of collision detect check failures over this\nlink.") phivCountersCountReceiveFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountReceiveFailure.setDescription("Number of receive failures over this link.") phivCountersCountUnrecFrameDest = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountUnrecFrameDest.setDescription("Number of unrecognized frame destinations over this\nlink.") phivCountersCountDataOver = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountDataOver.setDescription("Number of data overruns over this link.") phivCountersCountSysBuffUnav = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountSysBuffUnav.setDescription("Number of system buffer unavailables over this link.") phivCountersCountUsrBuffUnav = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 10, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivCountersCountUsrBuffUnav.setDescription("Number of user buffer unavailables.") adjacency = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 11)) phivAdjTable = MibTable((1, 3, 6, 1, 2, 1, 18, 11, 1)) if mibBuilder.loadTexts: phivAdjTable.setDescription("The Adjacency Table.") phivAdjEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 11, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivAdjCircuitIndex")) if mibBuilder.loadTexts: phivAdjEntry.setDescription("There is one entry in the table for each adjacency.") phivAdjCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjCircuitIndex.setDescription("A unique index value for each known circuit.") phivAdjNodeAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 2), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodeAddr.setDescription("The address of the adjacent node.") phivAdjBlockSize = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjBlockSize.setDescription("This read-only parameter is the block size that was\nnegotiated with the adjacent Routing layer during Routing\ninitialization over a particular circuit. It includes the\nrouting header, but excludes the data link header. This\nparameter is qualified by ADJACENT NODE.") phivAdjListenTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjListenTimer.setDescription("This value determines the maximum number of seconds\nallowed to elapse before Routing receives some message\n(either a Hello message or a user message) from the\nadjacent node on the circuit. It was agreed during\nRouting initialization with the adjacent Routing layer.\nThis parameter is qualified by ADJACENT NODE.") phivAdjCircuitEtherServPhysAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjCircuitEtherServPhysAddr.setDescription("This parameter indicates the Ethernet physical address\nof an adjacent node that is being serviced on this\ncircuit. This parameter is a qualifier for SERVICE\nSUBSTATE.") phivAdjType = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,5,2,4,)).subtype(namedValues=NamedValues(("routing-III", 1), ("nonrouting-III", 2), ("area", 3), ("routing-IV", 4), ("nonrouting-IV", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjType.setDescription("This parameter indicates the type of adjacency.\n\nFor adjacent nodes, this is a read-only parameter that\nindicates the type of the reachable adjacent node.\nNOTE: The routing-III and nonrouting-III values are\nincremented by one compared to the standard DECnet\nvalues in order to maintain compliance with RFC 1155)") phivAdjState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(8,3,10,4,6,9,5,2,1,7,)).subtype(namedValues=NamedValues(("initializing", 1), ("halt", 10), ("up", 2), ("run", 3), ("circuit-rejected", 4), ("data-link-start", 5), ("routing-layer-initialize", 6), ("routing-layer-verify", 7), ("routing-layer-complete", 8), ("off", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjState.setDescription("This value indicates the state of a router adjacency.\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) Ethernet, CI, or FDDI, with an\nadjacent node of type (phivAdjType) ROUTING IV or AREA,\nthis variable is the state of the Ethernet\nInitialization Layer for this adjacency, and can have\nvalues INITIALIZING or UP. (See Section 9.1.1 of\nDECnet Phase IV Routing Layer Functional Specification.)\n\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) Ethernet, CI, or FDDI, with an\nadjacent node of type (phivAdjType) NONROUTING IV,\nthis variable will always take on the value UP.\n\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) DDCMP POINT, DDCMP CONTROL,\nDDCMP TRIBUTARY, DDCMP DMC, or X.25, this variable is\nthe state of the Routing Layer Initialization Circuit\nState. (See section 7.3, ibid.) It can have values\nbetween RUN and HALT.\n\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) OTHER, this variable may be\nused in a manner consistent with the Initialization\nLayer used on that circuit.") phivAdjPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjPriority.setDescription("Priority assigned by the adjacent node for this\ncircuit.") phivAdjExecListenTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjExecListenTimer.setDescription("This read-only value determines the maximum number of\nseconds allowed to elapse before Routing receives some\nmessage (either a Hello message or a user message) from\nthe adjacent node on the circuit. It was agreed during\nRouting initialization with the adjacent Routing layer.") phivAdjNodeTable = MibTable((1, 3, 6, 1, 2, 1, 18, 11, 2)) if mibBuilder.loadTexts: phivAdjNodeTable.setDescription("The Adjacent Node Table.") phivAdjNodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 11, 2, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivAdjNodeCircuitIndex"), (0, "DECNET-PHIV-MIB", "phivAdjAddr")) if mibBuilder.loadTexts: phivAdjNodeEntry.setDescription("There is one entry in the table for each adjacency.") phivAdjNodeCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodeCircuitIndex.setDescription("A unique index value for each known circuit. This\nvalue is the same as phivCircuitIndex and identifies the\ncircuit over which the adjacency is realized.") phivAdjAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 2), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjAddr.setDescription("The address of the adjacent node.") phivAdjNodeBlockSize = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodeBlockSize.setDescription("This read-only parameter is the block size that was\nnegotiated with the adjacent Routing layer during Routing\ninitialization over a particular circuit. It includes the\nrouting header, but excludes the data link header. This\nparameter is qualified by ADJACENT NODE.") phivAdjNodeListenTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodeListenTimer.setDescription("This value determines the maximum number of seconds\nallowed to elapse before Routing receives some message\n(either a Hello message or a user message) from the\nadjacent node on the circuit. It was agreed during\nRouting initialization with the adjacent Routing layer.\nThis parameter is qualified by ADJACENT NODE.") phivAdjNodeCircuitEtherServPhysAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodeCircuitEtherServPhysAddr.setDescription("This parameter indicates the Ethernet physical address\nof an adjacent node that is being serviced on this\ncircuit. This parameter is a qualifier for SERVICE\nSUBSTATE.") phivAdjNodeType = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,5,2,4,)).subtype(namedValues=NamedValues(("routing-III", 1), ("nonrouting-III", 2), ("area", 3), ("routing-IV", 4), ("nonrouting-IV", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodeType.setDescription("This parameter indicates the type of adjacency.\n\nFor adjacent nodes, this is a read-only parameter that\nindicates the type of the reachable adjacent node.\nNOTE: The routing-III and nonrouting-III values are\nincremented by one compared to the standard DECnet\nvalues in order to maintain compliance with RFC 1155)") phivAdjNodeState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(8,3,10,4,6,9,5,2,1,7,)).subtype(namedValues=NamedValues(("initializing", 1), ("halt", 10), ("up", 2), ("run", 3), ("circuit-rejected", 4), ("data-link-start", 5), ("routing-layer-initialize", 6), ("routing-layer-verify", 7), ("routing-layer-complete", 8), ("off", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodeState.setDescription("This value indicates the state of a router adjacency.\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) Ethernet, CI, or FDDI, with an\nadjacent node of type (phivAdjNodeType) ROUTING IV or AREA,\nthis variable is the state of the Ethernet\nInitialization Layer for this adjacency, and can have\nvalues INITIALIZING or UP. (See Section 9.1.1 of\nDECnet Phase IV Routing Layer Functional Specification.)\n\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) Ethernet, CI, or FDDI, with an\nadjacent node of type (phivAdjNodeType) NONROUTING IV,\nthis variable will always take on the value UP.\n\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) DDCMP POINT, DDCMP CONTROL,\nDDCMP TRIBUTARY, DDCMP DMC, or X.25, this variable is\nthe state of the Routing Layer Initialization Circuit\nState. (See section 7.3, ibid.) It can have values\nbetween RUN and HALT.\n\nOn adjacencies over a circuit of type\n(phivCircuitCommonType) OTHER, this variable may be\nused in a manner consistent with the Initialization\nLayer used on that circuit.") phivAdjNodePriority = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 11, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAdjNodePriority.setDescription("Priority assigned by the adjacent node for this\ncircuit.") line = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 12)) phivLineTable = MibTable((1, 3, 6, 1, 2, 1, 18, 12, 1)) if mibBuilder.loadTexts: phivLineTable.setDescription("The Line Table.") phivLineEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 12, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivLineIndex")) if mibBuilder.loadTexts: phivLineEntry.setDescription("There is one entry in the table for each line.") phivLineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineIndex.setDescription("The line on which this entry's equivalence is effective.\nThis is the same as the ifIndex.") phivLineName = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineName.setDescription("The name of the line on this row of the table.") phivLineState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), ("service", 3), ("cleared", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineState.setDescription("This value represents Network Management operational\nstate.\nNOTE that these values are incremented by one compared to\nthe standard DECnet values.") phivLineSubstate = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(10,5,11,3,13,2,8,4,9,12,7,1,6,)).subtype(namedValues=NamedValues(("starting", 1), ("auto-triggering", 10), ("synchronizing", 11), ("failed", 12), ("running", 13), ("reflecting", 2), ("looping", 3), ("loading", 4), ("dumping", 5), ("triggering", 6), ("auto-service", 7), ("auto-loading", 8), ("auto-dumping", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineSubstate.setDescription("This value represents the line's read-only Network\nManagement substate.\nNOTE that these values are incremented by one compared to\nthe standard DECnet values.") phivLineService = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("starting", 1), ("reflecting", 2), ("looping", 3), ("other", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineService.setDescription("This value represents the line's read-only Network\nManagement service.\nNOTE that these values are incremented by one compared to\nthe standard DECnet values and OTHER is a new addition.") phivLineDevice = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineDevice.setDescription("This value represents the Physical Link device to be\nused on the line.") phivLineReceiveBuffs = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineReceiveBuffs.setDescription("This value represents the number of receive buffers\nreserved for the line. It is a decimal number in\nthe range 0-65535. 0 is supported for those vendors\nthat do not reserve buffers on a per line basis and\nuse a pool of buffers that can be used by any line.") phivLineProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,8,4,6,1,9,15,5,3,14,7,)).subtype(namedValues=NamedValues(("ddcmp-point", 1), ("other", 14), ("fddi", 15), ("ddcmp-control", 2), ("ddcmp-tributary", 3), ("reserved", 4), ("ddcmp-dmc", 5), ("olapb", 6), ("ethernet", 7), ("ci", 8), ("qp2", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineProtocol.setDescription("This value represents the protocol used on the line\ndevice. Note that these values are incremented by\none compared to the standard DECnet values.") phivLineServiceTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineServiceTimer.setDescription("This value represents the amount of time in\nmilliseconds allowed to elapse before a Data Link\nreceive request completes while doing service\noperations.") phivLineMaxBlock = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 12, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivLineMaxBlock.setDescription("This value represents the Data Link maximum block\nsize on the line.") nonBroadcastLine = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 14)) phivNonBroadcastTable = MibTable((1, 3, 6, 1, 2, 1, 18, 14, 1)) if mibBuilder.loadTexts: phivNonBroadcastTable.setDescription("The Non Broadcast Table.") phivNonBroadcastEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 14, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivNonBroadcastIndex")) if mibBuilder.loadTexts: phivNonBroadcastEntry.setDescription("There is one entry in the table for each\nNon Broadcast line.") phivNonBroadcastIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 14, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivNonBroadcastIndex.setDescription("The Non Broadcast line on which this entry's\nequivalence is effective. This is the same value\nas the ifIndex.") phivNonBroadcastController = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 14, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("normal", 1), ("loopback", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivNonBroadcastController.setDescription("This value represents the Physical Link hardware\ncontroller mode for the line device. The values\nfor controller-mode are:\n\nNORMAL For normal controller operating mode.\n\nLOOPBACK For software controllable loopback of the\ncontroller. On those devices that can support this\nmode, it causes all transmitted messages to be looped\nback from within the controller itself. This is\naccomplished without any manual intervention other\nthan the setting of this parameter value.\n\nOTHER indicates function is not supported\nNote that these values are incremented by one compared to\nthe standard DECnet values.") phivNonBroadcastDuplex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 14, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("full", 1), ("half", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivNonBroadcastDuplex.setDescription("This value represents the Physical Link hardware\nduplex mode of the line device. The possible modes\nare:\n\nFULL Full-duplex\nHALF Half-duplex\n\nNote that these values are incremented by one compared to\nthe standard DECnet values.") phivNonBroadcastClock = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 14, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("external", 1), ("internal", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivNonBroadcastClock.setDescription("This value represents the Physical Link hardware clock\nmode for the line device. The values for clock-mode are:\nINTERNAL For software controllable loopback use of\nthe clock. On those devices that can support this\nmode, it causes the device to supply a clock signal\nsuch that a transmitted messages can be looped\nback from outside the device. This may require manual\nintervention other than the setting of this parameter\nvalue. For example, the operator may have to connect\na loopback plug in place of the normal line.\n\nEXTERNAL For normal clock operating mode, where the\nclock signal is supplied externally to the controller.\nNote that these values are incremented by one compared to\nthe standard DECnet values.") phivNonBroadcastRetransmitTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 14, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(3000)).setMaxAccess("readonly") if mibBuilder.loadTexts: phivNonBroadcastRetransmitTimer.setDescription("This value represents number of milliseconds before\nthe Data Link retransmits a block on the line. On\nhalf-duplex lines, this parameter is the select timer.") area = MibIdentifier((1, 3, 6, 1, 2, 1, 18, 15)) phivAreaTable = MibTable((1, 3, 6, 1, 2, 1, 18, 15, 1)) if mibBuilder.loadTexts: phivAreaTable.setDescription("Table of information kept on all areas known to\nthis unit.") phivAreaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 18, 15, 1, 1)).setIndexNames((0, "DECNET-PHIV-MIB", "phivAreaNum")) if mibBuilder.loadTexts: phivAreaEntry.setDescription("The area routing information.") phivAreaNum = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 15, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAreaNum.setDescription("This value indicates the area number of this entry.") phivAreaState = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 15, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(5,4,)).subtype(namedValues=NamedValues(("reachable", 4), ("unreachable", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAreaState.setDescription("This value indicates the state of the area") phivAreaCost = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 15, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAreaCost.setDescription("The total cost over the current path to the\ndestination area. Cost is a value associated with\nusing a circuit. Routing routes messages (data)\nalong the path between 2 areas with the smallest\ncost.") phivAreaHops = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 15, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAreaHops.setDescription("The number of hops to a destination area. A hop is\nthe routing value representing the logical distance\nbetween two areas in network.") phivAreaNextNode = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 15, 1, 1, 5), PhivAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAreaNextNode.setDescription("The next node on the circuit used to get to the\narea under scrutiny.") phivAreaCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 18, 15, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: phivAreaCircuitIndex.setDescription("A unique index value for each known circuit.") phivAreaMaxCost = MibScalar((1, 3, 6, 1, 2, 1, 18, 15, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1022))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivAreaMaxCost.setDescription("This value represents the maximum total path cost\nallowed from the executor to any other level 2 routing\nnode. The AREA MAXIMUM COST number is decimal in the\nrange 1-1022. This parameter is only applicable if\nthe executor node is of type AREA.") phivAreaMaxHops = MibScalar((1, 3, 6, 1, 2, 1, 18, 15, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivAreaMaxHops.setDescription("This value represents the maximum number of routing hops\nallowable from the executor to any other level 2\nrouting node. This parameter is only applicable if the\nexecutor node is of type AREA.") phivRouteMaxArea = MibScalar((1, 3, 6, 1, 2, 1, 18, 15, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phivRouteMaxArea.setDescription("This value represents the largest area number and,\ntherefore, number of areas that can be known about\nby the executor node's Routing. This parameter is only\napplicable if the executor node is of type AREA.") # Augmentions # Exports # Types mibBuilder.exportSymbols("DECNET-PHIV-MIB", InterfaceIndex=InterfaceIndex, PhivAddr=PhivAddr, PhivCounter=PhivCounter) # Objects mibBuilder.exportSymbols("DECNET-PHIV-MIB", phiv=phiv, phivSystem=phivSystem, phivSystemState=phivSystemState, phivExecIdent=phivExecIdent, phivManagement=phivManagement, phivMgmtMgmtVers=phivMgmtMgmtVers, session=session, phivSessionSystemName=phivSessionSystemName, phivSessionInTimer=phivSessionInTimer, phivSessionOutTimer=phivSessionOutTimer, end=end, phivEndRemoteTable=phivEndRemoteTable, phivEndRemoteEntry=phivEndRemoteEntry, phivEndRemoteHostNodeID=phivEndRemoteHostNodeID, phivEndRemoteState=phivEndRemoteState, phivEndCircuitIndex=phivEndCircuitIndex, phivEndActiveLinks=phivEndActiveLinks, phivEndDelay=phivEndDelay, phivEndCountTable=phivEndCountTable, phivEndCountEntry=phivEndCountEntry, phivEndCountHostNodeID=phivEndCountHostNodeID, phivEndCountSecsLastZeroed=phivEndCountSecsLastZeroed, phivEndCountUsrBytesRec=phivEndCountUsrBytesRec, phivEndCountUsrBytesSent=phivEndCountUsrBytesSent, phivEndUCountUsrMessRec=phivEndUCountUsrMessRec, phivEndCountUsrMessSent=phivEndCountUsrMessSent, phivEndCountTotalBytesRec=phivEndCountTotalBytesRec, phivEndCountTotalBytesSent=phivEndCountTotalBytesSent, phivEndCountTotalMessRec=phivEndCountTotalMessRec, phivEndCountTotalMessSent=phivEndCountTotalMessSent, phivEndCountConnectsRecd=phivEndCountConnectsRecd, phivEndCountConnectsSent=phivEndCountConnectsSent, phivEndCountReponseTimeouts=phivEndCountReponseTimeouts, phivEndCountRecdConnectResErrs=phivEndCountRecdConnectResErrs, phivEndMaxLinks=phivEndMaxLinks, phivEndNSPVers=phivEndNSPVers, phivEndRetransmitFactor=phivEndRetransmitFactor, phivEndDelayFact=phivEndDelayFact, phivEndDelayWeight=phivEndDelayWeight, phivEndInactivityTimer=phivEndInactivityTimer, phivEndCountZeroCount=phivEndCountZeroCount, phivEndMaxLinksActive=phivEndMaxLinksActive, routing=routing, phivRouteBroadcastRouteTimer=phivRouteBroadcastRouteTimer, phivRouteBuffSize=phivRouteBuffSize, phivRouteRoutingVers=phivRouteRoutingVers, phivRouteMaxAddr=phivRouteMaxAddr, phivRouteMaxBdcastNonRouters=phivRouteMaxBdcastNonRouters, phivRouteMaxBdcastRouters=phivRouteMaxBdcastRouters, phivRouteMaxBuffs=phivRouteMaxBuffs, phivRouteMaxCircuits=phivRouteMaxCircuits, phivRouteMaxCost=phivRouteMaxCost, phivRouteMaxHops=phivRouteMaxHops, phivRouteMaxVisits=phivRouteMaxVisits, phivRouteRoutingTimer=phivRouteRoutingTimer, phivRouteSegBuffSize=phivRouteSegBuffSize, phivRouteType=phivRouteType, phivRouteCountAgedPktLoss=phivRouteCountAgedPktLoss, phivRouteCountNodeUnrPktLoss=phivRouteCountNodeUnrPktLoss, phivRouteCountOutRngePktLoss=phivRouteCountOutRngePktLoss, phivRouteCountOverSzePktLoss=phivRouteCountOverSzePktLoss, phivRouteCountPacketFmtErr=phivRouteCountPacketFmtErr, phivRouteCountPtlRteUpdtLoss=phivRouteCountPtlRteUpdtLoss, phivRouteCountVerifReject=phivRouteCountVerifReject, phivLevel1RouteTable=phivLevel1RouteTable, phivLevel1RouteEntry=phivLevel1RouteEntry, phivLevel1RouteNodeAddr=phivLevel1RouteNodeAddr, phivLevel1RouteCircuitIndex=phivLevel1RouteCircuitIndex, phivLevel1RouteCost=phivLevel1RouteCost, phivLevel1RouteHops=phivLevel1RouteHops, phivLevel1RouteNextNode=phivLevel1RouteNextNode, phivRouteCountZeroCount=phivRouteCountZeroCount, phivRouteSystemAddr=phivRouteSystemAddr, phivRouteRoutingType=phivRouteRoutingType, phivRouteSystemAddress=phivRouteSystemAddress, circuit=circuit, phivCircuitParametersTable=phivCircuitParametersTable, phivCircuitParametersEntry=phivCircuitParametersEntry, phivCircuitIndex=phivCircuitIndex, phivCircuitLineIndex=phivCircuitLineIndex, phivCircuitCommonState=phivCircuitCommonState, phivCircuitCommonSubState=phivCircuitCommonSubState, phivCircuitCommonName=phivCircuitCommonName, phivCircuitExecRecallTimer=phivCircuitExecRecallTimer, phivCircuitCommonType=phivCircuitCommonType, phivCircuitService=phivCircuitService, phivCircuitExecCost=phivCircuitExecCost, phivCircuitExecHelloTimer=phivCircuitExecHelloTimer, phivCircuitCountTable=phivCircuitCountTable, phivCircuitCountEntry=phivCircuitCountEntry, phivCircuitCountSecLastZeroed=phivCircuitCountSecLastZeroed, phivCircuitCountTermPacketsRecd=phivCircuitCountTermPacketsRecd, phivCircuitCountOriginPackSent=phivCircuitCountOriginPackSent, phivCircuitCountTermCongLoss=phivCircuitCountTermCongLoss, phivCircuitCountCorruptLoss=phivCircuitCountCorruptLoss, phivCircuitCountTransitPksRecd=phivCircuitCountTransitPksRecd, phivCircuitCountTransitPkSent=phivCircuitCountTransitPkSent, phivCircuitCountTransitCongestLoss=phivCircuitCountTransitCongestLoss, phivCircuitCountCircuitDown=phivCircuitCountCircuitDown, phivCircuitCountInitFailure=phivCircuitCountInitFailure, phivCircuitCountAdjDown=phivCircuitCountAdjDown, phivCircuitCountPeakAdj=phivCircuitCountPeakAdj, phivCircuitCountBytesRecd=phivCircuitCountBytesRecd, phivCircuitCountBytesSent=phivCircuitCountBytesSent, phivCircuitCountDataBlocksRecd=phivCircuitCountDataBlocksRecd, phivCircuitCountDataBlocksSent=phivCircuitCountDataBlocksSent, phivCircuitCountUsrBuffUnav=phivCircuitCountUsrBuffUnav, phivCircuitOrigQueueLimit=phivCircuitOrigQueueLimit, phivCircuitCountZeroCount=phivCircuitCountZeroCount, ddcmp=ddcmp, phivDDCMPCircuitParametersTable=phivDDCMPCircuitParametersTable, phivDDCMPCircuitParametersEntry=phivDDCMPCircuitParametersEntry, phivDDCMPCircuitIndex=phivDDCMPCircuitIndex, phivDDCMPCircuitAdjNodeAddr=phivDDCMPCircuitAdjNodeAddr, phivDDCMPCircuitTributary=phivDDCMPCircuitTributary, phivDDCMPCircuitCountTable=phivDDCMPCircuitCountTable, phivDDCMPCircuitCountEntry=phivDDCMPCircuitCountEntry, phivDDCMPCircuitErrorsInbd=phivDDCMPCircuitErrorsInbd, phivDDCMPCircuitErrorsOutbd=phivDDCMPCircuitErrorsOutbd, phivDDCMPCircuitRmteReplyTimeouts=phivDDCMPCircuitRmteReplyTimeouts, phivDDCMPCircuitLocalReplyTimeouts=phivDDCMPCircuitLocalReplyTimeouts, phivDDCMPCircuitRmteBuffErrors=phivDDCMPCircuitRmteBuffErrors, phivDDCMPCircuitLocalBuffErrors=phivDDCMPCircuitLocalBuffErrors, phivDDCMPCircuitSelectIntervalsElap=phivDDCMPCircuitSelectIntervalsElap, phivDDCMPCircuitSelectTimeouts=phivDDCMPCircuitSelectTimeouts, phivDDCMPLineCountTable=phivDDCMPLineCountTable) mibBuilder.exportSymbols("DECNET-PHIV-MIB", phivDDCMPLineCountEntry=phivDDCMPLineCountEntry, phivDDCMPLineCountIndex=phivDDCMPLineCountIndex, phivDDCMPLineCountDataErrsIn=phivDDCMPLineCountDataErrsIn, phivDDCMPLineCountRmteStationErrs=phivDDCMPLineCountRmteStationErrs, phivDDCMPLineCountLocalStationErrs=phivDDCMPLineCountLocalStationErrs, control=control, phivControlSchedTimer=phivControlSchedTimer, phivControlDeadTimer=phivControlDeadTimer, phivControlDelayTimer=phivControlDelayTimer, phivControlStreamTimer=phivControlStreamTimer, phivControlParametersTable=phivControlParametersTable, phivControlParametersEntry=phivControlParametersEntry, phivControlCircuitIndex=phivControlCircuitIndex, phivControlBabbleTimer=phivControlBabbleTimer, phivControlMaxBuffs=phivControlMaxBuffs, phivControlMaxTransmits=phivControlMaxTransmits, phivControlDyingBase=phivControlDyingBase, phivControlDyingIncrement=phivControlDyingIncrement, phivControlDeadThreshold=phivControlDeadThreshold, phivControlDyingThreshold=phivControlDyingThreshold, phivControlInactTreshold=phivControlInactTreshold, phivControlPollingState=phivControlPollingState, phivControlPollingSubState=phivControlPollingSubState, phivControlTransTimer=phivControlTransTimer, ethernet=ethernet, phivEthLinkParametersTable=phivEthLinkParametersTable, phivEthLinkParametersEntry=phivEthLinkParametersEntry, phivEthLinkIndex=phivEthLinkIndex, phivEthDesigRouterNodeAddr=phivEthDesigRouterNodeAddr, phivEthMaxRouters=phivEthMaxRouters, phivEthRouterPri=phivEthRouterPri, phivEthHardwareAddr=phivEthHardwareAddr, counters=counters, phivCountersCountTable=phivCountersCountTable, phivCountersCountEntry=phivCountersCountEntry, phivCountersIndex=phivCountersIndex, phivCountersCountBytesRecd=phivCountersCountBytesRecd, phivCountersCountBytesSent=phivCountersCountBytesSent, phivCountersCountDataBlocksRecd=phivCountersCountDataBlocksRecd, phivCountersCountDataBlocksSent=phivCountersCountDataBlocksSent, phivCountersCountEthUsrBuffUnav=phivCountersCountEthUsrBuffUnav, phivCountersCountMcastBytesRecd=phivCountersCountMcastBytesRecd, phivCountersCountDataBlksRecd=phivCountersCountDataBlksRecd, phivCountersCountDataBlksSent=phivCountersCountDataBlksSent, phivCountersCountMcastBlksRecd=phivCountersCountMcastBlksRecd, phivCountersCountBlksSentDef=phivCountersCountBlksSentDef, phivCountersCountBlksSentSingleCol=phivCountersCountBlksSentSingleCol, phivCountersCountBlksSentMultCol=phivCountersCountBlksSentMultCol, phivCountersCountSendFailure=phivCountersCountSendFailure, phivCountersCountCollDetectFailure=phivCountersCountCollDetectFailure, phivCountersCountReceiveFailure=phivCountersCountReceiveFailure, phivCountersCountUnrecFrameDest=phivCountersCountUnrecFrameDest, phivCountersCountDataOver=phivCountersCountDataOver, phivCountersCountSysBuffUnav=phivCountersCountSysBuffUnav, phivCountersCountUsrBuffUnav=phivCountersCountUsrBuffUnav, adjacency=adjacency, phivAdjTable=phivAdjTable, phivAdjEntry=phivAdjEntry, phivAdjCircuitIndex=phivAdjCircuitIndex, phivAdjNodeAddr=phivAdjNodeAddr, phivAdjBlockSize=phivAdjBlockSize, phivAdjListenTimer=phivAdjListenTimer, phivAdjCircuitEtherServPhysAddr=phivAdjCircuitEtherServPhysAddr, phivAdjType=phivAdjType, phivAdjState=phivAdjState, phivAdjPriority=phivAdjPriority, phivAdjExecListenTimer=phivAdjExecListenTimer, phivAdjNodeTable=phivAdjNodeTable, phivAdjNodeEntry=phivAdjNodeEntry, phivAdjNodeCircuitIndex=phivAdjNodeCircuitIndex, phivAdjAddr=phivAdjAddr, phivAdjNodeBlockSize=phivAdjNodeBlockSize, phivAdjNodeListenTimer=phivAdjNodeListenTimer, phivAdjNodeCircuitEtherServPhysAddr=phivAdjNodeCircuitEtherServPhysAddr, phivAdjNodeType=phivAdjNodeType, phivAdjNodeState=phivAdjNodeState, phivAdjNodePriority=phivAdjNodePriority, line=line, phivLineTable=phivLineTable, phivLineEntry=phivLineEntry, phivLineIndex=phivLineIndex, phivLineName=phivLineName, phivLineState=phivLineState, phivLineSubstate=phivLineSubstate, phivLineService=phivLineService, phivLineDevice=phivLineDevice, phivLineReceiveBuffs=phivLineReceiveBuffs, phivLineProtocol=phivLineProtocol, phivLineServiceTimer=phivLineServiceTimer, phivLineMaxBlock=phivLineMaxBlock, nonBroadcastLine=nonBroadcastLine, phivNonBroadcastTable=phivNonBroadcastTable, phivNonBroadcastEntry=phivNonBroadcastEntry, phivNonBroadcastIndex=phivNonBroadcastIndex, phivNonBroadcastController=phivNonBroadcastController, phivNonBroadcastDuplex=phivNonBroadcastDuplex, phivNonBroadcastClock=phivNonBroadcastClock, phivNonBroadcastRetransmitTimer=phivNonBroadcastRetransmitTimer, area=area, phivAreaTable=phivAreaTable, phivAreaEntry=phivAreaEntry, phivAreaNum=phivAreaNum, phivAreaState=phivAreaState, phivAreaCost=phivAreaCost, phivAreaHops=phivAreaHops, phivAreaNextNode=phivAreaNextNode, phivAreaCircuitIndex=phivAreaCircuitIndex, phivAreaMaxCost=phivAreaMaxCost, phivAreaMaxHops=phivAreaMaxHops, phivRouteMaxArea=phivRouteMaxArea) pysnmp-mibs-0.1.3/pysnmp_mibs/RFC1285-MIB.py0000644000014400001440000015246711736645137020407 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RFC1285-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:32 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") # Types class FddiMACLongAddressType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(6,6) fixedLength = 6 class FddiResourceId(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class FddiSMTStationIdType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class FddiTime(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) # Objects fddi = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15)) snmpFddiSMT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 1)) snmpFddiSMTNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTNumber.setDescription("The number of SMT implementations (regardless of\ntheir current state) on this network management\napplication entity. The value for this variable\nmust remain constant at least from one re-\ninitialization of the entity's network management\nsystem to the next re-initialization.") snmpFddiSMTTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 1, 2)) if mibBuilder.loadTexts: snmpFddiSMTTable.setDescription("A list of SMT entries. The number of entries is\ngiven by the value of snmpFddiSMTNumber.") snmpFddiSMTEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1)).setIndexNames((0, "RFC1285-MIB", "snmpFddiSMTIndex")) if mibBuilder.loadTexts: snmpFddiSMTEntry.setDescription("An SMT entry containing information common to a\ngiven SMT.") snmpFddiSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTIndex.setDescription("A unique value for each SMT. Its value ranges\nbetween 1 and the value of snmpFddiSMTNumber. The\nvalue for each SMT must remain constant at least\nfrom one re-initialization of the entity's network\nmanagement system to the next re-initialization.") snmpFddiSMTStationId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 2), FddiSMTStationIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTStationId.setDescription("Uniquely identifies an FDDI station.") snmpFddiSMTOpVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiSMTOpVersionId.setDescription("The version that this station is using for its\noperation (refer to ANSI 7.1.2.2).") snmpFddiSMTHiVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTHiVersionId.setDescription("The highest version of SMT that this station\nsupports (refer to ANSI 7.1.2.2).") snmpFddiSMTLoVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTLoVersionId.setDescription("The lowest version of SMT that this station\nsupports (refer to ANSI 7.1.2.2).") snmpFddiSMTMACCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTMACCt.setDescription("The number of MACs in the station or\nconcentrator.") snmpFddiSMTNonMasterCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTNonMasterCt.setDescription("The number of Non Master PORTs (A, B, or S PORTs)\nin the station or concentrator.") snmpFddiSMTMasterCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTMasterCt.setDescription("The number of Master PORTs in a node. If the\nnode is not a concentrator, the value is zero.") snmpFddiSMTPathsAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTPathsAvailable.setDescription("A value that indicates the PATH types available\nin the station.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each type of PATH that\nthis node has available, 2 raised to a power is\nadded to the sum. The powers are according to the\nfollowing table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2\n\nFor example, a station having Primary and Local\nPATHs available would have a value of 5 (2**0 +\n2**2).") snmpFddiSMTConfigCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTConfigCapabilities.setDescription("A value that indicates capabilities that are\npresent in the node. If 'holdAvailable' is\npresent, this indicates support of the optional\nHold Function (refer to ANSI SMT 9.4.3.2). If\n'CF-Wrap-AB' is present, this indicates that the\nWRAP_AB state is forced.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each of the configuration\npolicies currently enforced on the node, 2 raised\nto a power is added to the sum. The powers are\naccording to the following table:\n\n Policy Power\n holdAvailable 0\n CF-Wrap-AB 1 ") snmpFddiSMTConfigPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiSMTConfigPolicy.setDescription("A value that indicates the configuration policies\ncurrently enforced in the node (refer to ANSI SMT\n9.4.3.2). The 'configurationHold' policy refers\nto the Hold flag, and should not be present only\nif the Hold function is supported. The 'CF-Wrap-\nAB' policy refers to the CF_Wrap_AB flag.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each of the configuration\npolicies currently enforced on the node, 2 raised\nto a power is added to the sum. The powers are\naccording to the following table:\n\n Policy Power\n configurationHold 0\n CF-Wrap-AB 1 ") snmpFddiSMTConnectionPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiSMTConnectionPolicy.setDescription("A value that indicates the connection policies\nenforced at the station. A station sets the\ncorresponding policy for each of the connection\ntypes that it rejects. The letter designations, X\nand Y, in the 'rejectX-Y' names have the following\nsignificance: X represents the PC-Type of the\nlocal PORT and Y represents a PC-Neighbor in the\nevaluation of Connection-Policy (PC-Type, PC-\nNeighbor) that is done to determine the setting of\nT-Val(3) in the PC-Signaling sequence (refer to\nANSI Section 9.6.3).\n\nThe value is a sum. This value initially takes\nthe value zero, then for each of the connection\npolicies currently enforced on the node, 2 raised\nto a power is added to the sum. The powers are\naccording to the following table:\n\n Policy Power\n rejectA-A 0\n rejectA-B 1\n rejectA-S 2\n rejectA-M 3\n rejectB-A 4\n rejectB-B 5\n rejectB-S 6\n rejectB-M 7\n rejectS-A 8\n rejectS-B 9\n rejectS-S 10\n rejectS-M 11\n rejectM-A 12\n rejectM-B 13\n rejectM-S 14\n rejectM-M 15\n\nImplementors should note that the polarity of\nthese bits is different in different places in an\nSMT system. Implementors should take appropriate\ncare.") snmpFddiSMTTNotify = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiSMTTNotify.setDescription("The timer used in the Neighbor Notification\nprotocol, reported in seconds and ranging from 2\nto 30 seconds (refer to ANSI SMT 8.3.1).") snmpFddiSMTStatusReporting = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTStatusReporting.setDescription("Indicates whether the node implements the Status\nReporting Protocol. This object is included for\ncompatibility with products that were designed\nprior to the adoption of this standard.") snmpFddiSMTECMState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(8,7,6,5,4,3,2,1,)).subtype(namedValues=NamedValues(("ec0", 1), ("ec1", 2), ("ec2", 3), ("ec3", 4), ("ec4", 5), ("ec5", 6), ("ec6", 7), ("ec7", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTECMState.setDescription("Indicates the current state of the ECM state\nmachine (refer to ANSI SMT 9.5.2).") snmpFddiSMTCFState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,3,4,1,2,)).subtype(namedValues=NamedValues(("cf0", 1), ("cf1", 2), ("cf2", 3), ("cf3", 4), ("cf4", 5), ("cf5", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTCFState.setDescription("The attachment configuration for the station or\nconcentrator (refer to ANSI SMT 9.7.4.3).") snmpFddiSMTHoldState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("not-implemented", 1), ("not-holding", 2), ("holding-prm", 3), ("holding-sec", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTHoldState.setDescription("This value indicates the current state of the\nHold function. The values are determined as\nfollows: 'holding-prm' is set if the primary ring\nis operational and the Recovery Enable Flag is\nclear (NOT NO_Flag(primary) AND NOT RE_Flag). is\nset if the secondary ring is operational and the\nRecovery Enable Flag is clear (NOT\nNO_Flag(secondary) AND NOT RE_Flag). Ref 9.4.3.\nand 10.3.1. the primary or secondary, i.e., the\nRecovery Enable, RE_Flag, is set.") snmpFddiSMTRemoteDisconnectFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTRemoteDisconnectFlag.setDescription("A flag indicating that the station was remotely\ndisconnected from the network. A station requires\na Connect Action (SM_CM_CONNECT.request (Connect))\nto rejoin and clear the flag (refer to ANSI\n6.4.5.2).") snmpFddiSMTStationAction = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,5,)).subtype(namedValues=NamedValues(("other", 1), ("connect", 2), ("disconnect", 3), ("path-Test", 4), ("self-Test", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiSMTStationAction.setDescription("This object, when read, always returns a value of\nother(1). The behavior of setting this variable\nto each of the acceptable values is as follows:\n\nOther: Results in a badValue error.\n\nConnect: Generates an\nSM_CM_Connect.request(connect) signal to CMT\nindicating that the ECM State machine is to begin\na connection sequence. The\nfddiSMTRemoteDisconnectFlag is cleared on the\nsetting of this variable to 1. See ANSI Ref\n9.3.1.1.\n\nDisconnect: Generates an\nSM_CM_Connect.request(disconnect) signal to ECM\nand sets the fddiSMTRemoteDisconnectFlag. See\nANSI Ref 9.3.1.1.\n\nPath-Test: Initiates a station path test.\nThe Path_Test variable (See ANSI Ref. 9.4.1) is\nset to Testing. The results of this action are\nnot specified in this standard.\n\nSelf-Test: Initiates a station self test.\nThe results of this action are not specified in\nthis standard.\n\nAttempts to set this object to all other values\nresults in a badValue error. Agents may elect to\nreturn a badValue error on attempts to set this\nvariable to path-Test(4) or self-Test(5).") snmpFddiMAC = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 2)) snmpFddiMACNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACNumber.setDescription("The total number of MAC implementations (across\nall SMTs) on this network management application\nentity. The value for this variable must remain\nconstant at least from one re-initialization of\nthe entity's network management system to the next\nre-initialization.") snmpFddiMACTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 2, 2)) if mibBuilder.loadTexts: snmpFddiMACTable.setDescription("A list of MAC entries. The number of entries is\ngiven by the value of snmpFddiMACNumber.") snmpFddiMACEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1)).setIndexNames((0, "RFC1285-MIB", "snmpFddiMACSMTIndex"), (0, "RFC1285-MIB", "snmpFddiMACIndex")) if mibBuilder.loadTexts: snmpFddiMACEntry.setDescription("A MAC entry containing information common to a\ngiven MAC.") snmpFddiMACSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACSMTIndex.setDescription("The value of the SMT index associated with this\nMAC.") snmpFddiMACIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACIndex.setDescription("A unique value for each MAC on the managed\nentity. The MAC identified by a particular value\nof this index is that identified by the same value\nof an ifIndex object instance. That is, if a MAC\nis associated with the interface whose value of\nifIndex in the Internet-Standard MIB is equal to\n5, then the value of snmpFddiMACIndex shall also\nequal 5. The value for each MAC must remain\nconstant at least from one re-initialization of\nthe entity's network management system to the next\nre-initialization.") snmpFddiMACFrameStatusCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1799))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACFrameStatusCapabilities.setDescription("A value that indicates the MAC's bridge and end-\nstation capabilities for operating in a bridged\nFDDI network.\nThe value is a sum. This value initially takes\nthe value zero, then for each capability present,\n2 raised to a power is added to the sum. The\npowers are according to the following table:\n\n\n Capability Power\n FSC-Type0 0\n -- MAC repeats A/C indicators as received on\n -- copying with the intent to forward.\n\n FSC-Type1 1\n -- MAC sets C but not A on copying for\n -- forwarding.\n\n FSC-Type2 2\n -- MAC resets C and sets A on C set and\n -- A reset if the frame is not copied and the\n -- frame was addressed to this MAC\n\n FSC-Type0-programmable 8\n -- Type0 capability is programmable\n\n FSC-Type1-programmable 9\n -- Type1 capability is programmable\n\n FSC-Type2-programmable 10\n -- Type2 capability is programmable") snmpFddiMACTMaxGreatestLowerBound = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 4), FddiTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiMACTMaxGreatestLowerBound.setDescription("The greatest lower bound of T_Max supported for\nthis MAC.") snmpFddiMACTVXGreatestLowerBound = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 5), FddiTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACTVXGreatestLowerBound.setDescription("The greatest lower bound of TVX supported for\nthis MAC.") snmpFddiMACPathsAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACPathsAvailable.setDescription("A value that indicates the PATH types available\nfor this MAC.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each type of PATH that\nthis MAC has available, 2 raised to a power is\nadded to the sum. The powers are according to the\nfollowing table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2 ") snmpFddiMACCurrentPath = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,16,8,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("isolated", 16), ("primary", 2), ("secondary", 4), ("local", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACCurrentPath.setDescription("Indicates the association of the MAC with a\nstation PATH.") snmpFddiMACUpstreamNbr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 8), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACUpstreamNbr.setDescription("The MAC's upstream neighbor's long individual MAC\naddress. It may be determined by the Neighbor\nInformation Frame protocol (refer to ANSI SMT\n7.2.1). The value shall be reported as '00 00 00\n00 00 00' if it is unknown.") snmpFddiMACOldUpstreamNbr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 9), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACOldUpstreamNbr.setDescription("The previous value of the MAC's upstream\nneighbor's long individual MAC address. It may be\ndetermined by the Neighbor Information Frame\nprotocol (refer to ANSI SMT 7.2.1). The value\nshall be reported as '00 00 00 00 00 00' if it is\nunknown.") snmpFddiMACDupAddrTest = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("none", 1), ("pass", 2), ("fail", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACDupAddrTest.setDescription("The Duplicate Address Test flag, Dup_Addr_Test\n(refer to ANSI 8.3.1).") snmpFddiMACPathsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiMACPathsRequested.setDescription("A value that indicates PATH(s) desired for this\nMAC.\n\nThe value is a sum which represents the individual\nPATHs that are desired. This value initially\ntakes the value zero, then for each type of PATH\nthat this node is, 2 raised to a power is added to\nthe sum. The powers are according to the\nfollowing table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2\n Isolated 3\n\nThe precedence order is primary, secondary, local,\nand then isolated if multiple PATHs are desired\nare set.") snmpFddiMACDownstreamPORTType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,5,4,3,)).subtype(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4), ("unknown", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACDownstreamPORTType.setDescription("Indicates the PC-Type of the first port that is\ndownstream of this MAC (the exit port).") snmpFddiMACSMTAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 13), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACSMTAddress.setDescription("The 48 bit individual address of the MAC used for\nSMT frames.") snmpFddiMACTReq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 14), FddiTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiMACTReq.setDescription("The value of T-Req (refer to ANSI MAC 2.2.1 and\nANSI MAC 7.3.5.2).") snmpFddiMACTNeg = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 15), FddiTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACTNeg.setDescription("The value of T-Neg (refer to ANSI MAC 2.2.1 and\nANSI MAC 7.3.5.2).") snmpFddiMACTMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 16), FddiTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACTMax.setDescription("The value of T-Max (refer to ANSI MAC 2.2.1 and\nANSI MAC 7.3.5.2).") snmpFddiMACTvxValue = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 17), FddiTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACTvxValue.setDescription("The value of TvxValue (refer to ANSI MAC 2.2.1\nand ANSI MAC 7.3.5.2).") snmpFddiMACTMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 18), FddiTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACTMin.setDescription("The value of T-Min (refer to ANSI MAC 2.2.1 and\nANSI MAC 7.3.5.2).") snmpFddiMACCurrentFrameStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiMACCurrentFrameStatus.setDescription("A value that indicates the MAC's operational\nframe status setting functionality.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each functionality\npresent, 2 raised to a power is added to the sum.\nThe powers are according to the following table:\n\n Functionality Power\n FSC-Type0 0\n -- MAC repeats A/C indicators as received\n\n FSC-Type1 1\n -- MAC sets C but not A on copying for\n -- forwarding\n\n FSC-Type2 2\n -- MAC resets C and sets A on C set and A\n -- reset if frame is not copied") snmpFddiMACFrameCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACFrameCts.setDescription("Frame_Ct (refer to ANSI MAC 2.2.1).") snmpFddiMACErrorCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACErrorCts.setDescription("Error_Ct (refer to ANSI MAC 2.2.1).") snmpFddiMACLostCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACLostCts.setDescription("Lost_Ct (refer to ANSI MAC 2.2.1).") snmpFddiMACFrameErrorThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACFrameErrorThreshold.setDescription("A threshold for determining when a MAC Condition\nreport should be generated. The condition is true\nwhen the ratio, ((delta snmpFddiMACLostCt + delta\nsnmpFddiMACErrorCt) / (delta snmpFddiMACFrameCt +\ndelta snmpFddiMACLostCt)) x 2**16. exceeds the\nthreshold. It is used to determine when a station\nhas an unacceptable frame error threshold. The\nsampling algorithm is implementation dependent.\nAny attempt to set this variable to a value of\nless than one shall result in a badValue error.\nThose who are familiar with the SNMP management\nframework will recognize that thresholds are not\nin keeping with the SNMP philosophy. However,\nthis variable is supported by underlying SMT\nimplementations already and maintaining this\nthreshold should not pose an undue additional\nburden on SNMP agent implementors.") snmpFddiMACFrameErrorRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACFrameErrorRatio.setDescription("This attribute is the actual ratio, ((delta\nsnmpFddiMACLostCt + delta snmpFddiMACErrorCt) /\n(delta snmpFddiMACFrameCt + delta\nsnmpFddiMACLostCt)) x 2**16.") snmpFddiMACRMTState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,7,8,5,6,)).subtype(namedValues=NamedValues(("rm0", 1), ("rm1", 2), ("rm2", 3), ("rm3", 4), ("rm4", 5), ("rm5", 6), ("rm6", 7), ("rm7", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACRMTState.setDescription("Indicates the current state of the Ring\nManagement state machine (refer to ANSI Section\n10).") snmpFddiMACDaFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 26), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACDaFlag.setDescription("The RMT flag Duplicate Address Flag, DA_Flag\n(refer to ANSI 10.3.1.2).") snmpFddiMACUnaDaFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 27), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACUnaDaFlag.setDescription("A flag set when the upstream neighbor reports a\nduplicate address condition. Reset when the\ncondition clears.") snmpFddiMACFrameCondition = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 28), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACFrameCondition.setDescription("Indicates the MAC Condition is active when set.\nCleared when the condition clears and on power\nup.") snmpFddiMACChipSet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 29), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiMACChipSet.setDescription("This object identifies the hardware chip(s) which\nis (are) principally responsible for the\nimplementation of the MAC function. A few OBJECT\nIDENTIFIERS are identified elsewhere in this memo.\nFor those The assignment of additional OBJECT\nIDENTIFIERs to various types of hardware chip sets\nis managed by the IANA. For example, vendors\nwhose chip sets are not defined in this memo may\nrequest a number from the Internet Assigned\nNumbers Authority (IANA) which indicates the\nassignment of a enterprise specific subtree which,\namong other things, may be used to allocate OBJECT\nIDENTIFIER assignments for that enterprise's chip\nsets. Similarly, in the absence of an\nappropriately assigned OBJECT IDENTIFIER in this\nmemo or in an enterprise specific subtree of a\nchip vendor, a board or system vendor can request\na number for a subtree from the IANA and make an\nappropriate assignment. It is desired that,\nwhenever possible, the same OBJECT IDENTIFIER be\nused for all chips of a given type. Consequently,\nthe assignment made in this memo for a chip, if\nany, should be used in preference to any other\nassignment and the assignment made by the chip\nmanufacturer, if any, should be used in preference\nto assignments made by users of those chips. If\nthe hardware chip set is unknown, the object\nidentifier\n\nunknownChipSet OBJECT IDENTIFIER ::= { 0 0 }\n\nis returned. Note that unknownChipSet is a\nsyntactically valid object identifier, and any\nconformant implementation of ASN.1 and the BER\nmust be able to generate and recognize this\nvalue.") snmpFddiMACAction = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 2, 2, 1, 30), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,1,4,3,)).subtype(namedValues=NamedValues(("other", 1), ("enableLLCService", 2), ("disableLLCService", 3), ("connectMAC", 4), ("disconnectMAC", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiMACAction.setDescription("This object, when read, always returns a value of\nother(1). The behavior of setting this variable\nto each of the acceptable values is as follows:\n\nOther: Results in a badValue\n error.\n\nenableLLCService: enables MAC service to\n higher layers.\n\ndisableLLCService: disables MAC service to\n higher layers.\n\nconnectMAC: connect this MAC in\n station.\n\ndisconnectMAC: disconnect this MAC in\n station.\n\nAttempts to set this object to all other values\nresults in a badValue error.") snmpFddiPATH = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 3)) snmpFddiPORT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 4)) snmpFddiPORTNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTNumber.setDescription("The total number of PORT implementations (across\nall SMTs) on this network management application\nentity. The value for this variable must remain\nconstant at least from one re-initialization of\nthe entity's network management system to the next\nre-initialization.") snmpFddiPORTTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 4, 2)) if mibBuilder.loadTexts: snmpFddiPORTTable.setDescription("A list of PORT entries. The number of entries is\ngiven by the value of snmpFddiPORTNumber.") snmpFddiPORTEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1)).setIndexNames((0, "RFC1285-MIB", "snmpFddiPORTSMTIndex"), (0, "RFC1285-MIB", "snmpFddiPORTIndex")) if mibBuilder.loadTexts: snmpFddiPORTEntry.setDescription("A PORT entry containing information common to a\ngiven PORT.") snmpFddiPORTSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTSMTIndex.setDescription("The value of the SMT index associated with this\nPORT.") snmpFddiPORTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTIndex.setDescription("A unique value for each PORT within a given SMT.\nIts value ranges between 1 and the sum of the\nvalues of snmpFddiSMTNonMasterCt\n{ snmpFddiSMTEntry 6 } and snmpFddiSMTMasterCt\n{ snmpFddiSMTEntry 7 } on the given SMT. The\nvalue for each PORT must remain constant at least\nfrom one re-initialization of the entity's network\nmanagement system to the next re-initialization.") snmpFddiPORTPCType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTPCType.setDescription("PC_Type (refer to ANSI SMT 9.2.2 and ANSI SMT\n9.6.3.2).") snmpFddiPORTPCNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,5,4,3,)).subtype(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4), ("unknown", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTPCNeighbor.setDescription("The type (PC_Neighbor) of the remote PORT that is\ndetermined in PC_Signaling in R_Val (1,2) (refer\nto ANSI SMT 9.6.3.2).") snmpFddiPORTConnectionPolicies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiPORTConnectionPolicies.setDescription("A value that indicates the node's PORT policies.\nPc-MAC-LCT, Pc-MAC-Loop, and Pc-MAC-Placement\nindicate how the respective PC Signaling\nCapability flags should be set (refer to ANSI SMT\n9.4.3.2).\n\nThe value is a sum. This value initially takes\nthe value zero, then for each PORT policy, 2\nraised to a power is added to the sum. The powers\nare according to the following table:\n\n Policy Power\n Pc-MAC-LCT 0\n Pc-MAC-Loop 1\n Pc-MAC-Placement 2 ") snmpFddiPORTRemoteMACIndicated = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTRemoteMACIndicated.setDescription("The indication, in PC-Signaling that the remote\npartner intends to place a MAC in the output token\nPATH of this PORT. Signaled as R_Val (9) (refer\nto ANSI SMT 9.6.3.2).") snmpFddiPORTCEState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(5,4,3,2,1,)).subtype(namedValues=NamedValues(("ce0", 1), ("ce1", 2), ("ce2", 3), ("ce3", 4), ("ce4", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTCEState.setDescription("Indicates the current state of PORT's\nConfiguration Element (CE) (refer to ANSI 9.7.5).\nNote that this value represents the Current Path\ninformation for this PORT.") snmpFddiPORTPathsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiPORTPathsRequested.setDescription("A value that indicates the desired association(s)\nof the port with a station PATH. The 'Primary'\nPath is the default. The value of 'Secondary' is\nonly meaningful for S (slave) or M (master) PORT\nPC-Types. This value effects the setting of the\nCF_Insert_S, and CF_Insert_L flags (refer to ANSI\nSection 9.4.3). If the 'Primary' PATH is present,\nthen the Primary PATH (the default PATH) is\nselected. If the 'Secondary' PATH is present and\nthe 'Primary' PATH is not present, then the\nCF_Insert_S flag is set. If the 'Local' PATH is\nsent and neither the 'Primary' or 'Secondary'\nPATHs are sent, then the CF_Insert_L flag is set.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each type of PATH\ndesired, 2 raised to a power is added to the sum.\nThe powers are according to the following table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2\n Isolated 3 ") snmpFddiPORTMACPlacement = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 9), FddiResourceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTMACPlacement.setDescription("Indicates the upstream MAC, if any, that is\nassociated with the PORT. The value shall be zero\nif there is no MAC associated with the PORT.\nOtherwise, the value shall be equal to the value\nof snmpFddiMACIndex associated with the MAC.") snmpFddiPORTAvailablePaths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTAvailablePaths.setDescription("A value that indicates the PATH types available\nfor M and S PORTs.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each type of PATH that\nthis port has available, 2 raised to a power is\nadded to the sum. The powers are according to the\nfollowing table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2 ") snmpFddiPORTMACLoopTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 11), FddiTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiPORTMACLoopTime.setDescription("Time for the optional MAC Local Loop, T_Next(9),\nwhich is greater-than or equal-to 200 milliseconds\n(refer to ANSI SMT 9.4.4.2.3).") snmpFddiPORTTBMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 12), FddiTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiPORTTBMax.setDescription("TB_Max (refer to ANSI SMT 9.4.4.2.1).") snmpFddiPORTBSFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTBSFlag.setDescription("The Break State, BS_Flag (refer to ANSI SMT\n9.4.3.4).") snmpFddiPORTLCTFailCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTLCTFailCts.setDescription("The count of the consecutive times the link\nconfidence test (LCT) has failed during connection\nmanagement (refer to ANSI 9.4.1).") snmpFddiPORTLerEstimate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTLerEstimate.setDescription("A long term average link error rate. It ranges\nfrom 10**-4 to 10**-15 and is reported as the\nabsolute value of the exponent of the estimate.") snmpFddiPORTLemRejectCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTLemRejectCts.setDescription("A link error monitoring count of the times that a\nlink has been rejected.") snmpFddiPORTLemCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTLemCts.setDescription("The aggregate link error monitor error count, set\nto zero only on station power_up.") snmpFddiPORTLerCutoff = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiPORTLerCutoff.setDescription("The link error rate estimate at which a link\nconnection will be broken. It ranges from 10**-4\nto 10**-15 and is reported as the absolute value\nof the exponent.") snmpFddiPORTLerAlarm = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiPORTLerAlarm.setDescription("The link error rate estimate at which a link\nconnection will generate an alarm. It ranges from\n10**-4 to 10**-15 and is reported as the absolute\nvalue of the exponent of the estimate.") snmpFddiPORTConnectState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("disabled", 1), ("connecting", 2), ("standby", 3), ("active", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTConnectState.setDescription("An indication of the connect state of this PORT.\nBasically, this gives a higher level view of the\nstate of the connection by grouping PCM states and\nthe PC-Withhold flag state. The supported values\nand their corresponding PCM states and PC-Withhold\ncondition, when relevant, are:\n disabled: (PC0:Off, PC9:Maint)\n\nconnecting: (PC1(Break) || PC3 (Connect) || PC4\n(Next) || PC5 (Signal) || PC6\n(Join) || PC7 (Verify)) &&\n(PC_Withhold = None)\n\n standby: (NOT PC_Withhold == None)\n\n active: (PC2:Trace || PC8:Active) ") snmpFddiPORTPCMState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(9,10,3,4,1,2,7,8,5,6,)).subtype(namedValues=NamedValues(("pc0", 1), ("pc9", 10), ("pc1", 2), ("pc2", 3), ("pc3", 4), ("pc4", 5), ("pc5", 6), ("pc6", 7), ("pc7", 8), ("pc8", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTPCMState.setDescription("(refer to SMT 9.6.2).") snmpFddiPORTPCWithhold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("m-m", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTPCWithhold.setDescription("PC_Withhold, (refer to ANSI SMT 9.4.1).") snmpFddiPORTLerCondition = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTLerCondition.setDescription("This variable is set to true whenever LerEstimate\nis less than or equal to LerAlarm.") snmpFddiPORTChipSet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 24), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTChipSet.setDescription("This object identifies the hardware chip(s) which\nis (are) principally responsible for the\nimplementation of the PORT (PHY) function. A few\nOBJECT IDENTIFIERS are identified elsewhere in\nthis memo. For those The assignment of additional\nOBJECT IDENTIFIERs to various types of hardware\nchip sets is managed by the IANA. For example,\nvendors whose chip sets are not defined in this\nmemo may request a number from the Internet\nAssigned Numbers Authority (IANA) which indicates\nthe assignment of a enterprise specific subtree\nwhich, among other things, may be used to allocate\nOBJECT IDENTIFIER assignments for that\nenterprise's chip sets. Similarly, in the absence\nof an appropriately assigned OBJECT IDENTIFIER in\nthis memo or in an enterprise specific subtree of\na chip vendor, a board or system vendor can\nrequest a number for a subtree from the IANA and\nmake an appropriate assignment. It is desired\nthat, whenever possible, the same OBJECT\nIDENTIFIER be used for all chips of a given type.\nConsequently, the assignment made in this memo for\na chip, if any, should be used in preference to\nany other assignment and the assignment made by\nthe chip manufacturer, if any, should be used in\npreference to assignments made by users of those\nchips. If the hardware chip set is unknown, the\nobject identifier\n\nunknownChipSet OBJECT IDENTIFIER ::= { 0 0 }\n\nis returned. Note that unknownChipSet is a\nsyntactically valid object identifier, and any\nconformant implementation of ASN.1 and the BER\nmust be able to generate and recognize this\nvalue.") snmpFddiPORTAction = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(5,4,3,1,2,6,)).subtype(namedValues=NamedValues(("other", 1), ("maintPORT", 2), ("enablePORT", 3), ("disablePORT", 4), ("startPORT", 5), ("stopPORT", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiPORTAction.setDescription("This object, when read, always returns a value of\nother(1). The behavior of setting this variable\nto each of the acceptable values is as follows:\n\nOther: Results in a badValue error.\n\nmaintPORT: Signal PC_Maint\n\nenablePORT: Signal PC_Enable\n\ndisablePORT: Signal PC_Disable\n\nstartPORT: Signal PC_Start\n\nstopPORT: Signal PC_Stop\n\nSignals cause an SM_CM_CONTROL.request service to\nbe generated with a control_action of `Signal' and\nthe `variable' parameter set with the appropriate\nvalue (i.e., PC_Maint, PC_Enable, PC_Disable,\nPC_Start, PC_Stop). Ref. ANSI SMT Section 9.3.2.\n\nAttempts to set this object to all other values\nresults in a badValue error.") snmpFddiATTACHMENT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 5)) snmpFddiATTACHMENTNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTNumber.setDescription("The total number of attachments (across all SMTs)\non this network management application entity.\nThe value for this variable must remain constant\nat least from one re-initialization of the\nentity's network management system to the next\nre-initialization.") snmpFddiATTACHMENTTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 5, 2)) if mibBuilder.loadTexts: snmpFddiATTACHMENTTable.setDescription("A list of ATTACHMENT entries. The number of\nentries is given by the value of\nsnmpFddiATTACHMENTNumber.") snmpFddiATTACHMENTEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1)).setIndexNames((0, "RFC1285-MIB", "snmpFddiATTACHMENTSMTIndex"), (0, "RFC1285-MIB", "snmpFddiATTACHMENTIndex")) if mibBuilder.loadTexts: snmpFddiATTACHMENTEntry.setDescription("An ATTACHMENT entry containing information common\nto a given set of ATTACHMENTs.\n\nThe ATTACHMENT Resource represents a PORT or a\npair of PORTs plus the optional associated optical\nbypass that are managed as a functional unit.\nBecause of its relationship to the PORT Objects,\nthere is a natural association of ATTACHMENT\nResource Indices to the PORT Indices. The\nresource index for the ATTACHMENT is equal to the\nassociated PORT index for 'single-attachment' and\n'concentrator' type snmpFddiATTACHMENTClasses.\nFor 'dual-attachment' Classes, the ATTACHMENT\nIndex is the PORT Index of the A PORT of the A/B\nPORT Pair that represents the ATTACHMENT.") snmpFddiATTACHMENTSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTSMTIndex.setDescription("The value of the SMT index associated with this\nATTACHMENT.") snmpFddiATTACHMENTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTIndex.setDescription("A unique value for each ATTACHMENT on a given\nSMT. Its value ranges between 1 and the sum of\nthe values of snmpFddiSMTNonMasterCt {\nsnmpFddiSMTEntry 6 } and snmpFddiSMTMasterCt {\nsnmpFddiSMTEntry 7 } on the given SMT. The value\nfor each ATTACHMENT must remain constant at least\nfrom one re-initialization of the entity's network\nmanagement system to the next re-initialization.") snmpFddiATTACHMENTClass = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("single-attachment", 1), ("dual-attachment", 2), ("concentrator", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTClass.setDescription("The Attachment class. This represents a PORT or\na pair of PORTs plus the associated optional\noptical bypass that are managed as a functional\nunit. The PORT associations are the following:\n\n single-attachment - S PORTs\n dual-attachment - A/B PORT Pairs\n concentrator - M PORTs ") snmpFddiATTACHMENTOpticalBypassPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTOpticalBypassPresent.setDescription("The value of this value is false for 'single-\nattachment' and { snmpFddiATTACHMENT 11 }.\nCorrect operation of CMT for single-attachment and\nconcentrator attachments requires that a bypass\nfunction must not loopback the network side of the\nMIC, but only the node side.") snmpFddiATTACHMENTIMaxExpiration = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 5), FddiTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTIMaxExpiration.setDescription("I_Max (refer to ANSI SMT 9.4.4.2.1). It is\nrecognized that some currently deployed systems do\nnot implement an optical bypass. Systems which do\nnot implement optical bypass should return a value\nof 0.") snmpFddiATTACHMENTInsertedStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ("unimplemented", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTInsertedStatus.setDescription("Indicates whether the attachment is currently\ninserted in the node.") snmpFddiATTACHMENTInsertPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ("unimplemented", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFddiATTACHMENTInsertPolicy.setDescription("Indicates the Insert Policy for this Attachment.\nInsert: True (1), Don't Insert: False (2),\nUnimplemented (3)") snmpFddiChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 6)) snmpFddiPHYChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 6, 1)) snmpFddiMACChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 6, 2)) snmpFddiPHYMACChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 6, 3)) # Augmentions # Exports # Types mibBuilder.exportSymbols("RFC1285-MIB", FddiMACLongAddressType=FddiMACLongAddressType, FddiResourceId=FddiResourceId, FddiSMTStationIdType=FddiSMTStationIdType, FddiTime=FddiTime) # Objects mibBuilder.exportSymbols("RFC1285-MIB", fddi=fddi, snmpFddiSMT=snmpFddiSMT, snmpFddiSMTNumber=snmpFddiSMTNumber, snmpFddiSMTTable=snmpFddiSMTTable, snmpFddiSMTEntry=snmpFddiSMTEntry, snmpFddiSMTIndex=snmpFddiSMTIndex, snmpFddiSMTStationId=snmpFddiSMTStationId, snmpFddiSMTOpVersionId=snmpFddiSMTOpVersionId, snmpFddiSMTHiVersionId=snmpFddiSMTHiVersionId, snmpFddiSMTLoVersionId=snmpFddiSMTLoVersionId, snmpFddiSMTMACCt=snmpFddiSMTMACCt, snmpFddiSMTNonMasterCt=snmpFddiSMTNonMasterCt, snmpFddiSMTMasterCt=snmpFddiSMTMasterCt, snmpFddiSMTPathsAvailable=snmpFddiSMTPathsAvailable, snmpFddiSMTConfigCapabilities=snmpFddiSMTConfigCapabilities, snmpFddiSMTConfigPolicy=snmpFddiSMTConfigPolicy, snmpFddiSMTConnectionPolicy=snmpFddiSMTConnectionPolicy, snmpFddiSMTTNotify=snmpFddiSMTTNotify, snmpFddiSMTStatusReporting=snmpFddiSMTStatusReporting, snmpFddiSMTECMState=snmpFddiSMTECMState, snmpFddiSMTCFState=snmpFddiSMTCFState, snmpFddiSMTHoldState=snmpFddiSMTHoldState, snmpFddiSMTRemoteDisconnectFlag=snmpFddiSMTRemoteDisconnectFlag, snmpFddiSMTStationAction=snmpFddiSMTStationAction, snmpFddiMAC=snmpFddiMAC, snmpFddiMACNumber=snmpFddiMACNumber, snmpFddiMACTable=snmpFddiMACTable, snmpFddiMACEntry=snmpFddiMACEntry, snmpFddiMACSMTIndex=snmpFddiMACSMTIndex, snmpFddiMACIndex=snmpFddiMACIndex, snmpFddiMACFrameStatusCapabilities=snmpFddiMACFrameStatusCapabilities, snmpFddiMACTMaxGreatestLowerBound=snmpFddiMACTMaxGreatestLowerBound, snmpFddiMACTVXGreatestLowerBound=snmpFddiMACTVXGreatestLowerBound, snmpFddiMACPathsAvailable=snmpFddiMACPathsAvailable, snmpFddiMACCurrentPath=snmpFddiMACCurrentPath, snmpFddiMACUpstreamNbr=snmpFddiMACUpstreamNbr, snmpFddiMACOldUpstreamNbr=snmpFddiMACOldUpstreamNbr, snmpFddiMACDupAddrTest=snmpFddiMACDupAddrTest, snmpFddiMACPathsRequested=snmpFddiMACPathsRequested, snmpFddiMACDownstreamPORTType=snmpFddiMACDownstreamPORTType, snmpFddiMACSMTAddress=snmpFddiMACSMTAddress, snmpFddiMACTReq=snmpFddiMACTReq, snmpFddiMACTNeg=snmpFddiMACTNeg, snmpFddiMACTMax=snmpFddiMACTMax, snmpFddiMACTvxValue=snmpFddiMACTvxValue, snmpFddiMACTMin=snmpFddiMACTMin, snmpFddiMACCurrentFrameStatus=snmpFddiMACCurrentFrameStatus, snmpFddiMACFrameCts=snmpFddiMACFrameCts, snmpFddiMACErrorCts=snmpFddiMACErrorCts, snmpFddiMACLostCts=snmpFddiMACLostCts, snmpFddiMACFrameErrorThreshold=snmpFddiMACFrameErrorThreshold, snmpFddiMACFrameErrorRatio=snmpFddiMACFrameErrorRatio, snmpFddiMACRMTState=snmpFddiMACRMTState, snmpFddiMACDaFlag=snmpFddiMACDaFlag, snmpFddiMACUnaDaFlag=snmpFddiMACUnaDaFlag, snmpFddiMACFrameCondition=snmpFddiMACFrameCondition, snmpFddiMACChipSet=snmpFddiMACChipSet, snmpFddiMACAction=snmpFddiMACAction, snmpFddiPATH=snmpFddiPATH, snmpFddiPORT=snmpFddiPORT, snmpFddiPORTNumber=snmpFddiPORTNumber, snmpFddiPORTTable=snmpFddiPORTTable, snmpFddiPORTEntry=snmpFddiPORTEntry, snmpFddiPORTSMTIndex=snmpFddiPORTSMTIndex, snmpFddiPORTIndex=snmpFddiPORTIndex, snmpFddiPORTPCType=snmpFddiPORTPCType, snmpFddiPORTPCNeighbor=snmpFddiPORTPCNeighbor, snmpFddiPORTConnectionPolicies=snmpFddiPORTConnectionPolicies, snmpFddiPORTRemoteMACIndicated=snmpFddiPORTRemoteMACIndicated, snmpFddiPORTCEState=snmpFddiPORTCEState, snmpFddiPORTPathsRequested=snmpFddiPORTPathsRequested, snmpFddiPORTMACPlacement=snmpFddiPORTMACPlacement, snmpFddiPORTAvailablePaths=snmpFddiPORTAvailablePaths, snmpFddiPORTMACLoopTime=snmpFddiPORTMACLoopTime, snmpFddiPORTTBMax=snmpFddiPORTTBMax, snmpFddiPORTBSFlag=snmpFddiPORTBSFlag, snmpFddiPORTLCTFailCts=snmpFddiPORTLCTFailCts, snmpFddiPORTLerEstimate=snmpFddiPORTLerEstimate, snmpFddiPORTLemRejectCts=snmpFddiPORTLemRejectCts, snmpFddiPORTLemCts=snmpFddiPORTLemCts, snmpFddiPORTLerCutoff=snmpFddiPORTLerCutoff, snmpFddiPORTLerAlarm=snmpFddiPORTLerAlarm, snmpFddiPORTConnectState=snmpFddiPORTConnectState, snmpFddiPORTPCMState=snmpFddiPORTPCMState, snmpFddiPORTPCWithhold=snmpFddiPORTPCWithhold, snmpFddiPORTLerCondition=snmpFddiPORTLerCondition, snmpFddiPORTChipSet=snmpFddiPORTChipSet, snmpFddiPORTAction=snmpFddiPORTAction, snmpFddiATTACHMENT=snmpFddiATTACHMENT, snmpFddiATTACHMENTNumber=snmpFddiATTACHMENTNumber, snmpFddiATTACHMENTTable=snmpFddiATTACHMENTTable, snmpFddiATTACHMENTEntry=snmpFddiATTACHMENTEntry, snmpFddiATTACHMENTSMTIndex=snmpFddiATTACHMENTSMTIndex, snmpFddiATTACHMENTIndex=snmpFddiATTACHMENTIndex, snmpFddiATTACHMENTClass=snmpFddiATTACHMENTClass, snmpFddiATTACHMENTOpticalBypassPresent=snmpFddiATTACHMENTOpticalBypassPresent, snmpFddiATTACHMENTIMaxExpiration=snmpFddiATTACHMENTIMaxExpiration, snmpFddiATTACHMENTInsertedStatus=snmpFddiATTACHMENTInsertedStatus, snmpFddiATTACHMENTInsertPolicy=snmpFddiATTACHMENTInsertPolicy, snmpFddiChipSets=snmpFddiChipSets, snmpFddiPHYChipSets=snmpFddiPHYChipSets, snmpFddiMACChipSets=snmpFddiMACChipSets, snmpFddiPHYMACChipSets=snmpFddiPHYMACChipSets) pysnmp-mibs-0.1.3/pysnmp_mibs/UDPLITE-MIB.py0000644000014400001440000004734311736645141020552 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python UDPLITE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp") # Objects udpliteMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 170)).setRevisions(("2007-12-18 00:00",)) if mibBuilder.loadTexts: udpliteMIB.setOrganization("IETF TSV Working Group (TSVWG)") if mibBuilder.loadTexts: udpliteMIB.setContactInfo("IETF TSV Working Group\nhttp://www.ietf.org/html.charters/tsvwg-charter.html\nMailing List: tsvwg@ietf.org\n\n\n\n\nGerrit Renker, Godred Fairhurst\nElectronics Research Group\nSchool of Engineering, University of Aberdeen\nFraser Noble Building, Aberdeen AB24 3UE, UK") if mibBuilder.loadTexts: udpliteMIB.setDescription("The MIB module for managing UDP-Lite implementations.\nCopyright (C) The IETF Trust (2008). This version of\nthis MIB module is part of RFC 5097; see the RFC\nitself for full legal notices.") udplite = MibIdentifier((1, 3, 6, 1, 2, 1, 170, 1)) udpliteInDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteInDatagrams.setDescription("The total number of UDP-Lite datagrams that were\ndelivered to UDP-Lite users.\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteInPartialCov = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteInPartialCov.setDescription("The total number of UDP-Lite datagrams that were\ndelivered to UDP-Lite users (applications) and whose\nchecksum coverage was strictly less than the datagram\nlength.\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteNoPorts = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteNoPorts.setDescription("The total number of received UDP-Lite datagrams for\nwhich there was no listener at the destination port.\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteInErrors = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteInErrors.setDescription("The number of received UDP-Lite datagrams that could not\nbe delivered for reasons other than the lack of an\napplication at the destination port.\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteInBadChecksum = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteInBadChecksum.setDescription("The number of received UDP-Lite datagrams whose checksum\ncould not be validated. This includes illegal checksum\ncoverage values, as their use would lead to incorrect\nchecksums.\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteOutDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteOutDatagrams.setDescription("The total number of UDP-Lite datagrams sent from this\nentity.\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteOutPartialCov = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteOutPartialCov.setDescription("The total number of udpliteOutDatagrams whose\nchecksum coverage was strictly less than the\ndatagram length.\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteEndpointTable = MibTable((1, 3, 6, 1, 2, 1, 170, 1, 8)) if mibBuilder.loadTexts: udpliteEndpointTable.setDescription("A table containing information about this entity's\nUDP-Lite endpoints on which a local application is\ncurrently accepting or sending datagrams.\n\nThe address type in this table represents the address\ntype used for the communication, irrespective of the\nhigher-layer abstraction. For example, an application\nusing IPv6 'sockets' to communicate via IPv4 between\n::ffff:10.0.0.1 and ::ffff:10.0.0.2 would use\nInetAddressType ipv4(1).\n\nLike the udpTable in RFC 4113, this table also allows\nthe representation of an application that completely\nspecifies both local and remote addresses and ports. A\nlistening application is represented in three possible\nways:\n\n1) An application that is willing to accept both IPv4\n and IPv6 datagrams is represented by a\n udpliteEndpointLocalAddressType of unknown(0) and a\n udpliteEndpointLocalAddress of ''h (a zero-length\n\n\n\n octet-string).\n\n2) An application that is willing to accept only IPv4\n or only IPv6 datagrams is represented by a\n udpliteEndpointLocalAddressType of the appropriate\n address type and a udpliteEndpointLocalAddress of\n '0.0.0.0' or '::' respectively.\n\n3) An application that is listening for datagrams only\n for a specific IP address but from any remote\n system is represented by a\n udpliteEndpointLocalAddressType of the appropriate\n address type, with udpliteEndpointLocalAddress\n specifying the local address.\n\nIn all cases where the remote address is a wildcard,\nthe udpliteEndpointRemoteAddressType is unknown(0),\nthe udpliteEndpointRemoteAddress is ''h (a zero-length\noctet-string), and the udpliteEndpointRemotePort is 0.\n\nIf the operating system is demultiplexing UDP-Lite\npackets by remote address/port, or if the application\nhas 'connected' the socket specifying a default remote\naddress/port, the udpliteEndpointRemote* values should\nbe used to reflect this.") udpliteEndpointEntry = MibTableRow((1, 3, 6, 1, 2, 1, 170, 1, 8, 1)).setIndexNames((0, "UDPLITE-MIB", "udpliteEndpointLocalAddressType"), (0, "UDPLITE-MIB", "udpliteEndpointLocalAddress"), (0, "UDPLITE-MIB", "udpliteEndpointLocalPort"), (0, "UDPLITE-MIB", "udpliteEndpointRemoteAddressType"), (0, "UDPLITE-MIB", "udpliteEndpointRemoteAddress"), (0, "UDPLITE-MIB", "udpliteEndpointRemotePort"), (0, "UDPLITE-MIB", "udpliteEndpointInstance")) if mibBuilder.loadTexts: udpliteEndpointEntry.setDescription("Information about a particular current UDP-Lite endpoint.\nImplementers need to pay attention to the sizes of\nudpliteEndpointLocalAddress/RemoteAddress, as Object\nIdentifiers (OIDs) of column instances in this table must\nhave no more than 128 sub-identifiers in order to remain\n accessible with SNMPv1, SNMPv2c, and SNMPv3.") udpliteEndpointLocalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpliteEndpointLocalAddressType.setDescription("The address type of udpliteEndpointLocalAddress. Only\nIPv4, IPv4z, IPv6, and IPv6z addresses are expected, or\nunknown(0) if datagrams for all local IP addresses are\naccepted.") udpliteEndpointLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpliteEndpointLocalAddress.setDescription("The local IP address for this UDP-Lite endpoint.\n\nThe value of this object can be represented in three\npossible ways, depending on the characteristics of the\nlistening application:\n\n1. For an application that is willing to accept both\n IPv4 and IPv6 datagrams, the value of this object\n must be ''h (a zero-length octet-string), with\n the value of the corresponding instance of the\n EndpointLocalAddressType object being unknown(0).\n\n2. For an application that is willing to accept only\n IPv4 or only IPv6 datagrams, the value of this\n object must be '0.0.0.0' or '::', respectively,\n while the corresponding instance of the\n EndpointLocalAddressType object represents the\n appropriate address type.\n\n3. For an application that is listening for data\n\n\n\n destined only to a specific IP address, the value\n of this object is the specific IP address for\n which this node is receiving packets, with the\n corresponding instance of the\n EndpointLocalAddressType object representing the\n appropriate address type.\n\nAs this object is used in the index for the\nudpliteEndpointTable, implementors should be careful\nnot to create entries that would result in OIDs with\nmore than 128 sub-identifiers; this is because of SNMP\nand SMI limitations.") udpliteEndpointLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 3), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpliteEndpointLocalPort.setDescription("The local port number for this UDP-Lite endpoint.") udpliteEndpointRemoteAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 4), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpliteEndpointRemoteAddressType.setDescription("The address type of udpliteEndpointRemoteAddress. Only\nIPv4, IPv4z, IPv6, and IPv6z addresses are expected, or\nunknown(0) if datagrams for all remote IP addresses are\naccepted. Also, note that some combinations of\nudpliteEndpointLocalAdressType and\nudpliteEndpointRemoteAddressType are not supported. In\nparticular, if the value of this object is not\nunknown(0), it is expected to always refer to the\nsame IP version as udpliteEndpointLocalAddressType.") udpliteEndpointRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 5), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpliteEndpointRemoteAddress.setDescription("The remote IP address for this UDP-Lite endpoint. If\ndatagrams from any remote system are to be accepted,\nthis value is ''h (a zero-length octet-string).\nOtherwise, it has the type described by\nudpliteEndpointRemoteAddressType and is the address of\n\n\n\nthe remote system from which datagrams are to be\naccepted (or to which all datagrams will be sent).\n\nAs this object is used in the index for the\nudpliteEndpointTable, implementors should be careful\nnot to create entries that would result in OIDs with\nmore than 128 sub-identifiers; this is because of SNMP\nand SMI limitations.") udpliteEndpointRemotePort = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 6), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpliteEndpointRemotePort.setDescription("The remote port number for this UDP-Lite endpoint. If\ndatagrams from any remote system are to be accepted,\nthis value is zero.") udpliteEndpointInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpliteEndpointInstance.setDescription("The instance of this tuple. This object is used to\ndistinguish among multiple processes 'connected' to\nthe same UDP-Lite endpoint. For example, on a system\nimplementing the BSD sockets interface, this would be\nused to support the SO_REUSEADDR and SO_REUSEPORT\nsocket options.") udpliteEndpointProcess = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteEndpointProcess.setDescription("A unique value corresponding to a piece of software\nrunning on this endpoint.\n\nIf this endpoint is associated with more than one piece\nof software, the agent should choose one of these. As\nlong as the representative piece of software\nis running and still associated with the endpoint,\nsubsequent reads will consistently return the same\nvalue. The implementation may use any algorithm\nsatisfying these constraints (e.g., choosing the entity\n\n\n\nwith the oldest start time).\n\nThis identifier is platform-specific. Wherever possible,\nit should use the system's native, unique identification\nnumber as the value.\n\nIf the SYSAPPL-MIB module is available, the value should\nbe the same as sysApplElmtRunIndex. If not available, an\nalternative should be used (e.g., the hrSWRunIndex of the\nHOST-RESOURCES-MIB module).\n\nIf it is not possible to uniquely identify the pieces of\nsoftware associated with this endpoint, then the value\nzero should be used. (Note that zero is otherwise a\nvalid value for sysApplElmtRunIndex.)") udpliteEndpointMinCoverage = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteEndpointMinCoverage.setDescription("The minimum checksum coverage expected by this endpoint.\nA value of 0 indicates that only fully covered datagrams\nare accepted.") udpliteEndpointViolCoverage = MibTableColumn((1, 3, 6, 1, 2, 1, 170, 1, 8, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteEndpointViolCoverage.setDescription("The number of datagrams received by this endpoint whose\nchecksum coverage violated the minimum coverage threshold\nset for this connection (i.e., all valid datagrams whose\nchecksum coverage was strictly smaller than the minimum,\nas defined in RFC 3828).\nDiscontinuities in the value of this counter can occur\nat re-initialisation of the management system, and at\nother times as indicated by the value of\nudpliteStatsDiscontinuityTime.") udpliteStatsDiscontinuityTime = MibScalar((1, 3, 6, 1, 2, 1, 170, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpliteStatsDiscontinuityTime.setDescription("The value of sysUpTime at the most recent occasion at\nwhich one or more of the UDP-Lite counters suffered a\ndiscontinuity.\nA value of zero indicates no such discontinuity has\noccurred since the last re-initialisation of the local\nmanagement subsystem.") udpliteMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 170, 2)) udpliteMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 170, 2, 2)) # Augmentions # Groups udpliteBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 170, 2, 2, 1)).setObjects(*(("UDPLITE-MIB", "udpliteNoPorts"), ("UDPLITE-MIB", "udpliteStatsDiscontinuityTime"), ("UDPLITE-MIB", "udpliteInErrors"), ("UDPLITE-MIB", "udpliteInDatagrams"), ("UDPLITE-MIB", "udpliteOutDatagrams"), ) ) if mibBuilder.loadTexts: udpliteBaseGroup.setDescription("The group of objects providing for counters of\nbasic UDP-like statistics.") udplitePartialCsumGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 170, 2, 2, 2)).setObjects(*(("UDPLITE-MIB", "udpliteInBadChecksum"), ("UDPLITE-MIB", "udpliteInPartialCov"), ("UDPLITE-MIB", "udpliteOutPartialCov"), ) ) if mibBuilder.loadTexts: udplitePartialCsumGroup.setDescription("The group of objects providing for counters of\ntransport layer statistics exclusive to UDP-Lite.") udpliteEndpointGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 170, 2, 2, 3)).setObjects(*(("UDPLITE-MIB", "udpliteEndpointProcess"), ("UDPLITE-MIB", "udpliteEndpointMinCoverage"), ) ) if mibBuilder.loadTexts: udpliteEndpointGroup.setDescription("The group of objects providing for the IP version\nindependent management of UDP-Lite 'endpoints'.") udpliteAppGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 170, 2, 2, 4)).setObjects(*(("UDPLITE-MIB", "udpliteEndpointViolCoverage"), ) ) if mibBuilder.loadTexts: udpliteAppGroup.setDescription("The group of objects that provide application-level\ninformation for the configuration management of\nUDP-Lite 'endpoints'.") # Compliances udpliteMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 170, 2, 1)).setObjects(*(("UDPLITE-MIB", "udpliteAppGroup"), ("UDPLITE-MIB", "udpliteEndpointGroup"), ("UDPLITE-MIB", "udplitePartialCsumGroup"), ("UDPLITE-MIB", "udpliteBaseGroup"), ) ) if mibBuilder.loadTexts: udpliteMIBCompliance.setDescription("The compliance statement for systems that implement\nUDP-Lite.\n\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which we have the following compliance\nrequirements, expressed in OBJECT clause form in this\ndescription clause:\n\n-- OBJECT udpliteEndpointLocalAddressType\n-- SYNTAX InetAddressType { unknown(0), ipv4(1),\n-- ipv6(2), ipv4z(3),\n-- ipv6z(4) }\n-- DESCRIPTION\n-- Support for dns(16) is not required.\n-- OBJECT udpliteEndpointLocalAddress\n-- SYNTAX InetAddress (SIZE(0|4|8|16|20))\n-- DESCRIPTION\n-- Support is only required for zero-length\n-- octet-strings, and for scoped and unscoped\n-- IPv4 and IPv6 addresses.\n-- OBJECT udpliteEndpointRemoteAddressType\n-- SYNTAX InetAddressType { unknown(0), ipv4(1),\n-- ipv6(2), ipv4z(3),\n-- ipv6z(4) }\n-- DESCRIPTION\n-- Support for dns(16) is not required.\n-- OBJECT udpliteEndpointRemoteAddress\n\n\n\n-- SYNTAX InetAddress (SIZE(0|4|8|16|20))\n-- DESCRIPTION\n-- Support is only required for zero-length\n-- octet-strings, and for scoped and unscoped\n-- IPv4 and IPv6 addresses.") # Exports # Module identity mibBuilder.exportSymbols("UDPLITE-MIB", PYSNMP_MODULE_ID=udpliteMIB) # Objects mibBuilder.exportSymbols("UDPLITE-MIB", udpliteMIB=udpliteMIB, udplite=udplite, udpliteInDatagrams=udpliteInDatagrams, udpliteInPartialCov=udpliteInPartialCov, udpliteNoPorts=udpliteNoPorts, udpliteInErrors=udpliteInErrors, udpliteInBadChecksum=udpliteInBadChecksum, udpliteOutDatagrams=udpliteOutDatagrams, udpliteOutPartialCov=udpliteOutPartialCov, udpliteEndpointTable=udpliteEndpointTable, udpliteEndpointEntry=udpliteEndpointEntry, udpliteEndpointLocalAddressType=udpliteEndpointLocalAddressType, udpliteEndpointLocalAddress=udpliteEndpointLocalAddress, udpliteEndpointLocalPort=udpliteEndpointLocalPort, udpliteEndpointRemoteAddressType=udpliteEndpointRemoteAddressType, udpliteEndpointRemoteAddress=udpliteEndpointRemoteAddress, udpliteEndpointRemotePort=udpliteEndpointRemotePort, udpliteEndpointInstance=udpliteEndpointInstance, udpliteEndpointProcess=udpliteEndpointProcess, udpliteEndpointMinCoverage=udpliteEndpointMinCoverage, udpliteEndpointViolCoverage=udpliteEndpointViolCoverage, udpliteStatsDiscontinuityTime=udpliteStatsDiscontinuityTime, udpliteMIBConformance=udpliteMIBConformance, udpliteMIBGroups=udpliteMIBGroups) # Groups mibBuilder.exportSymbols("UDPLITE-MIB", udpliteBaseGroup=udpliteBaseGroup, udplitePartialCsumGroup=udplitePartialCsumGroup, udpliteEndpointGroup=udpliteEndpointGroup, udpliteAppGroup=udpliteAppGroup) # Compliances mibBuilder.exportSymbols("UDPLITE-MIB", udpliteMIBCompliance=udpliteMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PKTC-IETF-SIG-MIB.py0000644000014400001440000031502111736645137021346 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PKTC-IETF-SIG-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:27 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Dscp, ) = mibBuilder.importSymbols("DIFFSERV-DSCP-TC", "Dscp") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TruthValue") # Types class DtmfCode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(10,14,13,12,11,15,9,8,3,2,1,0,7,6,5,4,) namedValues = NamedValues(("dtmfcode0", 0), ("dtmfcode1", 1), ("dtmfcodeStar", 10), ("dtmfcodeHash", 11), ("dtmfcodeA", 12), ("dtmfcodeB", 13), ("dtmfcodeC", 14), ("dtmfcodeD", 15), ("dtmfcode2", 2), ("dtmfcode3", 3), ("dtmfcode4", 4), ("dtmfcode5", 5), ("dtmfcode6", 6), ("dtmfcode7", 7), ("dtmfcode8", 8), ("dtmfcode9", 9), ) class PktcCodecType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,7,4,2,11,6,5,8,13,1,12,10,9,14,) namedValues = NamedValues(("other", 1), ("g726at16", 10), ("g726at24", 11), ("g726at40", 12), ("ilbc", 13), ("bv16", 14), ("unknown", 2), ("g729", 3), ("reserved", 4), ("g729E", 5), ("pcmu", 6), ("g726at32", 7), ("g728", 8), ("pcma", 9), ) class PktcRingCadence(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,36) class PktcSigType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("other", 1), ("ncs", 2), ) class PktcSubscriberSideSigProtocol(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("fsk", 1), ("dtmf", 2), ) class TenthdBm(TextualConvention, Integer32): displayHint = "d-1" # Objects pktcIetfSigMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 169)).setRevisions(("2007-12-18 00:00",)) if mibBuilder.loadTexts: pktcIetfSigMib.setOrganization("IETF IPCDN Working Group") if mibBuilder.loadTexts: pktcIetfSigMib.setContactInfo("Sumanth Channabasappa\nCable Television Laboratories, Inc.\n858 Coal Creek Circle,\nLouisville, CO 80027, USA\nPhone: +1 303-661-3307\nEmail: Sumanth@cablelabs.com\n\nGordon Beacham\nMotorola, Inc.\n6450 Sequence Drive, Bldg. 1\nSan Diego, CA 92121, USA\nPhone: +1 858-404-2334\nEmail: gordon.beacham@motorola.com\n\nSatish Kumar Mudugere Eswaraiah\nTexas Instruments India (P) Ltd.,\nGolf view, Wind Tunnel Road\nMurugesh Palya\nBangalore 560 017, INDIA\nPhone: +91 80 5269451\nEmail: satish.kumar@ti.com\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-Chair: Jean-Francois Mule, jf.mule@cablelabs.com\nCo-Chair: Richard Woundy, Richard_Woundy@cable.comcast.com") if mibBuilder.loadTexts: pktcIetfSigMib.setDescription("This MIB module supplies the basic management\nobjects for the PacketCable and IPCablecom Signaling\nprotocols. This version of the MIB includes\ncommon signaling and Network Call Signaling\n\n\n\n(NCS)-related signaling objects.\n\nCopyright (C) The IETF Trust (2008). This version of\nthis MIB module is part of RFC 5098; see the RFC itself for\nfull legal notices.") pktcSigNotification = MibIdentifier((1, 3, 6, 1, 2, 1, 169, 0)) pktcSigMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 169, 1)) pktcSigDevObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 169, 1, 1)) pktcSigDevCodecTable = MibTable((1, 3, 6, 1, 2, 1, 169, 1, 1, 1)) if mibBuilder.loadTexts: pktcSigDevCodecTable.setDescription(" This table describes the MTA-supported codec types. An MTA\nMUST populate this table with all possible combinations of\ncodecs it supports for simultaneous operation. For example,\nan MTA with two endpoints may be designed with a particular\nDigital Signal Processing (DSP) and memory architecture that\nallows it to support the following fixed combinations of\ncodecs for simultaneous operation:\n\nCodec Type Maximum Number of Simultaneous Codecs\nPCMA 3\n\nPCMA 2\nPCMU 1\n\nPCMA 1\n\nPCMU 2\n\nPCMU 3\n\nPCMA 1\nG729 1\n\nG729 2\n\nPCMU 1\nG729 1\n\nBased on this example, the entries in the codec table\nwould be:\n\n pktcSigDev pktcSigDev pktcSigDev\nCodecComboIndex CodecType CodecMax\n 1 pcma 3\n 2 pcma 2\n 2 pcmu 1\n\n\n\n 3 pcma 1\n 3 pcmu 2\n 4 pcmu 3\n 5 pcma 1\n 5 g729 1\n 6 g729 2\n 7 pcmu 1\n 7 g729 1\n\nAn operator querying this table is able to determine all\npossible codec combinations the MTA is capable of\nsimultaneously supporting.\n\nThis table MUST NOT include non-voice codecs.") pktcSigDevCodecEntry = MibTableRow((1, 3, 6, 1, 2, 1, 169, 1, 1, 1, 1)).setIndexNames((0, "PKTC-IETF-SIG-MIB", "pktcSigDevCodecComboIndex"), (0, "PKTC-IETF-SIG-MIB", "pktcSigDevCodecType")) if mibBuilder.loadTexts: pktcSigDevCodecEntry.setDescription("Each entry represents the maximum number of active\nconnections with a particular codec the MTA is capable of\nsupporting. Each row is indexed by a composite key\nconsisting of a number enumerating the particular codec\ncombination and the codec type.") pktcSigDevCodecComboIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigDevCodecComboIndex.setDescription(" The index value that enumerates a particular codec\ncombination in the pktcSigDevCodecTable.") pktcSigDevCodecType = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 1, 1, 2), PktcCodecType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigDevCodecType.setDescription(" A codec type supported by this MTA.") pktcSigDevCodecMax = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevCodecMax.setDescription(" The maximum number of simultaneous sessions of a\nparticular codec that the MTA can support.") pktcSigDevEchoCancellation = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevEchoCancellation.setDescription(" This object specifies if the device is capable of echo\ncancellation. The MTA MUST set this MIB object to a\nvalue of true(1) if it is capable of echo\ncancellation, and a value of false(2) if not.") pktcSigDevSilenceSuppression = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevSilenceSuppression.setDescription(" This object specifies if the device is capable of\nsilence suppression (as a result of Voice Activity\nDetection). The MTA MUST set this MIB object to a\nvalue of true(1) if it is capable of silence\nsuppression, and a value of false(2) if not.") pktcSigDevCidSigProtocol = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 4), PktcSubscriberSideSigProtocol().clone('fsk')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevCidSigProtocol.setDescription("This object is used to configure the subscriber-line\nprotocol used for signaling on-hook caller id information.\n\n\n\nDifferent countries define different caller id signaling\nprotocols to support caller identification.\n\nSetting this object at a value fsk(1) sets the subscriber\nline protocol to be Frequency Shift Keying (FSK).\n\nSetting this object at a value dtmf(2) sets the subscriber\nline protocol to be Dual-Tone Multi-Frequency (DTMF).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR0Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 5), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR0Cadence.setDescription(" This object specifies ring cadence 0 (a user-defined\nfield).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR1Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 6), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR1Cadence.setDescription(" This object specifies ring cadence 1 (a user-defined\nfield).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR2Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 7), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR2Cadence.setDescription(" This object specifies ring cadence 2 (a user-defined\nfield).\n\n\n\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR3Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 8), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR3Cadence.setDescription(" This object specifies ring cadence 3 (a user-defined\nfield).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR4Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 9), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR4Cadence.setDescription(" This object specifies ring cadence 4 (a user-defined\nfield).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR5Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 10), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR5Cadence.setDescription(" This object specifies ring cadence 5 (a user-defined\nfield).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR6Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 11), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR6Cadence.setDescription(" This object specifies ring cadence 6 (a user-defined\nfield).\n\n\n\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevR7Cadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 12), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevR7Cadence.setDescription(" This object specifies ring cadence 7 (a user-defined\nfield).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevRgCadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 13), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevRgCadence.setDescription(" This object specifies ring cadence rg (a user-defined\nfield).\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevRsCadence = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 14), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevRsCadence.setDescription(" This object specifies ring cadence rs (a user-defined\nfield). The MTA MUST reject any attempt to make this object\nrepeatable.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDefCallSigDscp = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 15), Dscp().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDefCallSigDscp.setDescription(" The default value used in the IP header for setting the\nDifferentiated Services Code Point (DSCP) value for call\n\n\n\nsignaling.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDefMediaStreamDscp = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 16), Dscp().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDefMediaStreamDscp.setDescription(" This object contains the default value used in the IP\nheader for setting the Differentiated Services Code Point\n(DSCP) value for media stream packets. The MTA MUST NOT\nupdate this object with the value supplied by the CMS in\nthe NCS messages (if present). Any currently active\nconnections are not affected by updates to this object.\nWhen the value of this object is updated by SNMP, the MTA\nMUST use the new value as a default starting only from\nnew connections.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigCapabilityTable = MibTable((1, 3, 6, 1, 2, 1, 169, 1, 1, 17)) if mibBuilder.loadTexts: pktcSigCapabilityTable.setDescription(" This table describes the signaling types supported by this\nMTA.") pktcSigCapabilityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 169, 1, 1, 17, 1)).setIndexNames((0, "PKTC-IETF-SIG-MIB", "pktcSigCapabilityIndex")) if mibBuilder.loadTexts: pktcSigCapabilityEntry.setDescription(" Entries in pktcMtaDevSigCapabilityTable - list of\nsupported signaling types, versions, and vendor extensions\n\n\n\nfor this MTA. Each entry in the list provides for one\nsignaling type and version combination. If the device\nsupports multiple versions of the same signaling type, it\nwill require multiple entries.") pktcSigCapabilityIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 17, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigCapabilityIndex.setDescription(" The index value that uniquely identifies an entry in the\npktcSigCapabilityTable.") pktcSigCapabilityType = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 17, 1, 2), PktcSigType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigCapabilityType.setDescription(" This object identifies the type of signaling used. This\nvalue has to be associated with a single signaling\nversion.") pktcSigCapabilityVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 17, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigCapabilityVersion.setDescription(" Provides the version of the signaling type - reference\npktcSigCapabilityType. Examples would be 1.0 or 2.33 etc.") pktcSigCapabilityVendorExt = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 17, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigCapabilityVendorExt.setDescription(" The vendor extension allows vendors to provide a list of\n\n\n\nadditional capabilities.\n\nThe syntax for this MIB object in ABNF ([RFC5234]) is\nspecified to be zero or more occurrences of vendor\nextensions, as follows:\n\n pktcSigCapabilityVendorExt = *(vendor-extension)\n vendor-extension = (ext symbol alphanum) DQUOTE ; DQUOTE\n ext = DQUOTE %x58 DQUOTE\n symbol = (DQUOTE %x2D DQUOTE)/(DQUOTE %x2D DQUOTE)\n alphanum = 1*6(ALPHA/DIGIT)") pktcSigDefNcsReceiveUdpPort = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 18), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1025, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDefNcsReceiveUdpPort.setDescription(" This object contains the MTA User Datagram Protocol (UDP)\nreceive port that is being used for NCS call signaling.\nThis object should only be changed by the configuration\nfile.\n\nUnless changed via configuration, this MIB object MUST\nreflect a value of '2427'.") pktcSigPowerRingFrequency = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(6,3,5,7,9,2,1,8,4,)).subtype(namedValues=NamedValues(("f20Hz", 1), ("f25Hz", 2), ("f33Point33Hz", 3), ("f50Hz", 4), ("f15Hz", 5), ("f16Hz", 6), ("f22Hz", 7), ("f23Hz", 8), ("f45Hz", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigPowerRingFrequency.setDescription(" This object must only be provided via the configuration\nfile during the provisioning process. The power ring\n\n\n\nfrequency is the frequency at which the sinusoidal voltage\nmust travel down the twisted pair to make terminal\nequipment ring. Different countries define different\nelectrical characteristics to make terminal equipment\nring.\n\nThe f20Hz setting corresponds to a power ring frequency\nof 20 Hertz. The f25Hz setting corresponds to a power ring\nfrequency of 25 Hertz. The f33Point33Hz setting\ncorresponds to a power ring frequency of 33.33 Hertz. The\nf50Hz setting corresponds to a power ring frequency of 50\nHertz. The f15Hz setting corresponds to a power ring\nfrequency of 15 Hertz. The f16Hz setting corresponds to a\npower ring frequency of 16 Hertz. The f22Hz setting\ncorresponds to a power ring frequency of 22 Hertz. The\nf23Hz setting corresponds to a power ring frequency of 23\nHertz. The f45Hz setting corresponds to a power ring\nfrequency of 45 Hertz.") pktcSigPulseSignalTable = MibTable((1, 3, 6, 1, 2, 1, 169, 1, 1, 20)) if mibBuilder.loadTexts: pktcSigPulseSignalTable.setDescription(" The Pulse signal table defines the pulse signal operation.\nThere are nine types of international pulse signals,\nwith each signal having a set of provisionable parameters.\nThe values of the MIB objects in this table take effect\nonly if these parameters are not defined via signaling, in\nwhich case, the latter determines the values of the\nparameters. The MIB objects in this table do not persist\nacross MTA reboots.") pktcSigPulseSignalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 169, 1, 1, 20, 1)).setIndexNames((0, "PKTC-IETF-SIG-MIB", "pktcSigPulseSignalType")) if mibBuilder.loadTexts: pktcSigPulseSignalEntry.setDescription(" This object defines the set of parameters associated with\neach particular value of pktcSigPulseSignalType. Each\nentry in the pktcSigPulseSignalTable is indexed by the\npktcSigPulseSignalType object.\n\n\n\nThe conceptual rows MUST NOT persist across MTA reboots.") pktcSigPulseSignalType = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 20, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,6,9,8,2,7,5,3,4,)).subtype(namedValues=NamedValues(("initialRing", 1), ("pulseLoopClose", 2), ("pulseLoopOpen", 3), ("enableMeterPulse", 4), ("meterPulseBurst", 5), ("pulseNoBattery", 6), ("pulseNormalPolarity", 7), ("pulseReducedBattery", 8), ("pulseReversePolarity", 9), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigPulseSignalType.setDescription("There are nine types of international pulse signals. These\nsignals are defined as follows:\ninitial ring\npulse loop close\npulse loop open\nenable meter pulse\nmeter pulse burst\npulse no battery\npulse normal polarity\npulse reduced battery\npulse reverse polarity") pktcSigPulseSignalFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 20, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("twentyfive", 1), ("twelvethousand", 2), ("sixteenthousand", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigPulseSignalFrequency.setDescription(" This object is only applicable to the initialRing,\nenableMeterPulse, and meterPulseBurst signal types. This\nobject identifies the frequency of the generated signal.\nThe following table defines the default values for this\nobject depending on signal type:\n\npktcSigPulseSignalType Default\ninitialRing 25\nenableMeterPulse 16000\nmeterPulseBurst 16000\n\nThe value of twentyfive MUST only be used for the\ninitialRing signal type. The values of twelvethousand and\nsixteenthousand MUST only be used for enableMeterPulse and\nmeterPulseBurst signal types. An attempt to set this\nobject while the value of pktcSigPulseSignalType is not\ninitialRing, enableMeterPulse, or meterPulseBurst will\nresult in an 'inconsistentValue' error.") pktcSigPulseSignalDbLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 20, 1, 3), TenthdBm().subtype(subtypeSpec=ValueRangeConstraint(-350, 0)).clone(-135)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigPulseSignalDbLevel.setDescription(" This object is only applicable to the enableMeterPulse and\nmeterPulseBurst signal types. This is the decibel level\nfor each frequency at which tones could be generated at\nthe a and b terminals (TE connection point). An attempt to\nset this object while the value of pktcSigPulseSignalType\nis not enableMeterPulse or meterPulseBurst will result in\nan 'inconsistentValue' error.") pktcSigPulseSignalDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 20, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigPulseSignalDuration.setDescription(" This object specifies the pulse duration for each\nsignal type. In addition, the MTA must accept the values\nin the incremental steps specific for each signal type.\nThe following table defines the default values and the\nincremental steps for this object depending on the signal\ntype:\n\npktcSigPulseSignaltype Default (ms) Increment (ms)\ninitialRing 200 50\npulseLoopClose 200 10\npulseLoopOpen 200 10\nenableMeterPulse 150 10\nmeterPulseBurst 150 10\npulseNoBattery 200 10\npulseNormalPolarity 200 10\npulseReducedBattery 200 10\npulseReversePolarity 200 10\n\nAn attempt to set this object to a value that does not\nfall on one of the increment boundaries, or on the wrong\nincrement boundary for the specific signal type, will\nresult in an 'inconsistentValue' error.") pktcSigPulseSignalPulseInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 20, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigPulseSignalPulseInterval.setDescription(" This object specifies the repeat interval, or the period,\nfor each signal type. In addition, the MTA must accept\nthe values in the incremental steps specific for each\nsignal type. The following table defines the default\nvalues and the incremental steps for this object, depending\non the signal type:\n\npktcSigPulseSignaltype Default (ms) Increment (ms)\ninitialRing 200 50\npulseLoopClose 1000 10\npulseLoopOpen 1000 10\n\n\n\nenableMeterPulse 1000 10\nmeterPulseBurst 1000 10\npulseNoBattery 1000 10\npulseNormalPolarity 1000 10\npulseReducedBattery 1000 10\npulseReversePolarity 1000 10\n\nAn attempt to set this object to a value that does not\nfall on one of the increment boundaries, or on the wrong\nincrement boundary for the specific signal type, will\nresult in an 'inconsistentValue' error.") pktcSigPulseSignalRepeatCount = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 20, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 50))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigPulseSignalRepeatCount.setDescription(" This object specifies how many times to repeat a pulse.\nThis object is not used by the enableMeterPulse signal\ntype, and in that case, the value is irrelevant. The\nfollowing table defines the default values and the valid\nranges for this object, depending on the signal type:\n\npktcSigPulseSignaltype Default Range\n\ninitialRing 1 1-5\npulseLoopClose 1 1-50\npulseLoopOpen 1 1-50\nenableMeterPulse (any value)(but not used)\nmeterPulseBurst 1 1-50\npulseNoBattery 1 1-50\npulseNormalPolarity 1 1-50\npulseReducedBattery 1 1-50\npulseReversePolarity 1 1-50\n\nAn attempt to set this object to a value that does not\nfall within the range for the specific\nsignal type will result in an 'inconsistentValue' error.") pktcSigDevCidMode = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(4,5,3,2,1,)).subtype(namedValues=NamedValues(("duringRingingETS", 1), ("dtAsETS", 2), ("rpAsETS", 3), ("lrAsETS", 4), ("lrETS", 5), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevCidMode.setDescription(" For on-hook caller id, pktcSigDevCidMode selects the method\nfor representing and signaling caller identification. For\nthe duringRingingETS method, the Frequency Shift Keying\n(FSK) or the Dual-Tone Multi-Frequency (DTMF) containing\nthe caller identification information is sent between the\nfirst and second ring pattern.\n\nFor the dtAsETS,rpAsETS, lrAsETS and lrETS\nmethods, the FSK or DTMF containing the caller id\ninformation is sent before the first ring pattern.\n\nFor the dtAsETS method, the FSK or DTMF is sent after the\nDual Tone Alert Signal. For the rpAsETS method, the FSK or\nDTMF is sent after a Ring Pulse.\n\nFor the lrAsETS method, the Line Reversal occurs first,\nthen the Dual Tone Alert Signal, and, finally, the FSK or\nDTMF is sent.\n\nFor the lrETS method, the Line Reversal occurs first,\nthen the FSK or DTMF is sent.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevCidAfterRing = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 22), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(50,2000),)).clone(550)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevCidAfterRing.setDescription(" This object specifies the delay between the end of first\nringing pattern and the start of the transmission of the\nFSK or DTMF containing the caller id information. It is\nonly used when pktcSigDevCidMode is set to a value of\n'duringRingingETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n\n\n\n(pktcSigDevCidMode), and MUST be followed:\n\nValue of pktcSigDevCidMode Default value\n\nduringringingETS 550 ms\ndtAsETS any value (not used)\nrpAsETS any value (not used)\nlrAsETS any value (not used)\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\npktcSigDevCidMode is not duringringingETS will result in\nan 'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevCidAfterDTAS = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 23), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(45,500),)).clone(50)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevCidAfterDTAS.setDescription(" This object specifies the delay between the end of the\nDual Tone Alert Signal (DT-AS) and the start of the\ntransmission of the FSK or DTMF containing the caller id\ninformation. This object is only used when\npktcSigDevCidMode is set to a value of 'dtAsETS' or\n'lrAsETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevCidMode), and MUST be followed:\n\nValue of pktcSigDevCidMode Default value\n\n\nduringringingETS any value (not used)\ndtAsETS 50 ms\nrpAsETS any value (not used)\nlrAsETS 50 ms\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\n\n\n\npktcSigDevCidMode is not 'dtAsETS' or 'lrAsETS' will\nresult in an 'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevCidAfterRPAS = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 24), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(500,800),)).clone(650)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevCidAfterRPAS.setDescription(" This object specifies the delay between the end of the\nRing Pulse Alert Signal (RP-AS) and the start of the\ntransmission of the FSK or DTMF containing the caller id\ninformation. This MIB object is only used when\npktcSigDevCidMode is set to a value of 'rpAsETS'.\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevCidMode), and MUST be followed:\n\nValue of pktcSigDevCidMode Default value\n\nduringringingETS any value (not used)\ndtAsETS any value (not used)\nrpAsETS 650 ms\nlrAsETS any value (not used)\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\npktcSigDevCidMode is not 'rpAsETS' will result in an\n'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevRingAfterCID = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 25), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(50,500),)).clone(250)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevRingAfterCID.setDescription(" This object specifies the delay between the end of the\ncomplete transmission of the FSK or DTMF containing the\ncaller id information and the start of the first ring\npattern. It is only used when pktcSigDevCidMode is\nset to a value of 'dtAsETS', 'rpAsETS', 'lrAsETS' or\n'lrETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevCidMode), and MUST be followed:\n\nValue of pktcSigDevCidMode Default value\n\nduringringingETS any value (not used)\ndtAsETS 250 ms\nrpAsETS 250 ms\nlrAsETS 250 ms\nlrETS 250 ms\n\nAn attempt to set this object while the value of\npktcSigDevCidMode is not 'dtAsETS', 'rpAsETS',\n'lrAsETS', or 'lrETS' will result in an 'inconsistent\nvalue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevCidDTASAfterLR = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 26), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(50, 655)).clone(250)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevCidDTASAfterLR.setDescription(" This object specifies the delay between the end of the\nLine Reversal and the start of the Dual Tone Alert Signal\n(DT-AS). This object is only used when pktcSigDevCidMode\nis set to a value of 'lrAsETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevCidMode), and MUST be followed:\n\n\n\n\nValue of pktcSigDevCidMode Default value\n\nduringringingETS any value (not used)\ndtAsETS any value (not used)\nrpAsETS any value (not used)\nlrAsETS 250 ms\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\npktcSigDevCidMode is not lrAsETS will result in an\n'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiMode = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 27), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,5,2,1,)).subtype(namedValues=NamedValues(("dtAsETS", 1), ("rpAsETS", 2), ("lrAsETS", 3), ("osi", 4), ("lrETS", 5), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevVmwiMode.setDescription(" For visual message waiting indicator (VMWI),\npktcSigDevVmwiMode selects the alerting signal method. For\nthe dtAsETS, rpAsETS, lrAsETS, osi, and lrETS methods,\nthe FSK containing the VMWI information is sent after an\nalerting signal.\n\nFor the dtAsETS method, the FSK, or DTMF\nis sent after the Dual Tone Alert Signal. For the rpAsETS\nmethod, the FSK or DTMF is sent after a Ring Pulse.\n\nFor the lrAsETS method, the Line Reversal occurs first,\nthen the Dual Tone Alert Signal, and, finally, the FSK or\nDTMF is sent.\n\nFor the OSI method, the FSK or DTMF is sent after the Open\nSwitching Interval.\n\n\n\n\nFor the lrETS method, the Line Reversal occurs first,\nthen the FSK or DTMF is sent.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiAfterDTAS = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 28), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(45,500),)).clone(50)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevVmwiAfterDTAS.setDescription(" This object specifies the delay between the end of the\nDual Tone Alert Signal (DT-AS) and the start of the\ntransmission of the FSK or DTMF containing the VMWI\ninformation.\n\nThis object is only used when pktcSigDevVmwiMode is\nset to a value of 'dtAsETS' or 'lrAsETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevVmwiMode), and MUST be followed:\n\nValue of pktcSigDevVmwiMode Default value\n\ndtAsETS 50 ms\nrpAsETS any value (not used)\nlrAsETS 50 ms\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\npktcSigDevVmwiMode is not 'dtAsETS' or 'lrAsETS' will\nresult in an 'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiAfterRPAS = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 29), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(500,800),)).clone(650)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevVmwiAfterRPAS.setDescription(" This object specifies the delay between the end of the\nRing Pulse Alert Signal (RP-AS) and the start of the\ntransmission of the FSK or DTMF containing the VMWI\ninformation.\n\nThis object is only used when pktcSigDevVmwiMode is\nset to a value of 'rpAsETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevVmwiMode), and MUST be followed:\n\nValue of pktcSigDevVmwiMode Default value\n\ndtAsETS any value (not used)\nrpAsETS 650 ms\nlrAsETS any value (not used)\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\npktcSigDevVmwiMode is not 'rpAsETS' will result in an\n'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiDTASAfterLR = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 30), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(50,655),)).clone(250)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevVmwiDTASAfterLR.setDescription(" This object specifies the delay between the end of the\nLine Reversal and the start of the Dual Tone Alert Signal\n(DT-AS) for VMWI information. This object is only used\nwhen pktcSigDevVmwiMode is set to a value of 'lrAsETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevVmwiMode), and MUST be followed:\n\n\n\n\nValue of pktcSigDevVmwiMode Default value\n\ndtAsETS any value (not used)\nrpAsETS any value (not used)\nlrAsETS 250 ms\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\npktcSigDevVmwiMode is not 'lrAsETS' will result in an\n'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevRingCadenceTable = MibTable((1, 3, 6, 1, 2, 1, 169, 1, 1, 31)) if mibBuilder.loadTexts: pktcSigDevRingCadenceTable.setDescription("Cadence rings are defined by the telco governing\nbody for each country. The MTA must be able to support\nvarious ranges of cadence patterns and cadence periods.\nThe MTA will be able to support country-specific\nprovisioning of the cadence and idle period. Each\ncadence pattern will be assigned a unique value ranging\nfrom 0-127 (inclusive) corresponding to the value of x,\nwhere x is the value sent in the cadence ringing (cr)\nsignal cr(x), requested per the appropriate NCS\nmessage, and defined in the E package. The MTA will derive\nthe cadence periods from the ring cadence table entry, as\nprovisioned by the customer. The MTA is allowed to provide\nappropriate default values for each of the ring cadences.\nThis table only needs to be supported when the MTA\nimplements the E package.") pktcSigDevRingCadenceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 169, 1, 1, 31, 1)).setIndexNames((0, "PKTC-IETF-SIG-MIB", "pktcSigDevRingCadenceIndex")) if mibBuilder.loadTexts: pktcSigDevRingCadenceEntry.setDescription(" Each entry in this row corresponds to a ring cadence\nthat is being supported by the device. The conceptual\nrows MUST NOT persist across MTA reboots.") pktcSigDevRingCadenceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 31, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigDevRingCadenceIndex.setDescription(" A unique value ranging from 0 to 127 that corresponds to the\nvalue sent by the LE based on country-specific cadences,\none row per cadence cycle. In any given system\nimplementation for a particular country, it is anticipated\nthat a small number of ring cadences will be in use. Thus,\nthis table most likely will not be populated to its full\nsize.") pktcSigDevRingCadence = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 31, 1, 2), PktcRingCadence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevRingCadence.setDescription("This is the Ring Cadence.") pktcSigDevToneTable = MibTable((1, 3, 6, 1, 2, 1, 169, 1, 1, 32)) if mibBuilder.loadTexts: pktcSigDevToneTable.setDescription(" The Tone Table defines the composition of tones and\nvarious tone operations.\n\nThe definition of the tones callWaiting1 through\ncallWaiting4 in this table MUST only contain the\naudible tone itself; the delay between tones or the value\nof the tone repeat count are not applicable for the call\nwaiting tones.\n\n\n\n\nThe delay between tones or the repeat count is controlled\nby the objects pktcSigEndPntConfigCallWaitingDelay and\npktcSigEndPntConfigCallWaitingMaxRep. If the\npktcSigDevToneType is set to either of the values\ncallWaiting1, callWaiting2, callWaiting3, or callWaiting4,\nthen the value of the pktcSigDevToneWholeToneRepeatCount\nobject indicates that the particular frequency group is\napplicable, as a repeatable part of the tone, based on the\nvalue of the MIB object\npktcSigDevToneWholeToneRepeatCount.\n\nThe MTA MUST make sure that, after the provisioning\ncycle, the table is fully populated (i.e., for each\npossible index, an entry MUST be defined) using\nreasonable defaults for each row that was not defined\nby the provisioning information delivered via MTA\nConfiguration.\n\nThe frequency composition of each tone is defined by the\npktcSigDevMultiFreqToneTable. For each tone type defined\nin pktcSigDevToneTable, the MTA MUST populate at least\none entry in the pktcSigDevMultiFreqToneTable.\n\nFor each particular value of pktcSigDevToneType, the\npktcSigDevToneTable table can define non-repeating and\nrepeating groups of the frequencies defined by the\npktcSigDevMultiFreqToneTable, such that each group is\nrepresented by the set of the consecutive rows\n(frequency group) in the pktcSigDevMultiFreqToneTable.\n\nObjects in this table do not persist across MTA reboots.\nFor tones with multiple frequencies refer to the MIB table\npktcSigDevMultiFreqToneTable.") pktcSigDevToneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 169, 1, 1, 32, 1)).setIndexNames((0, "PKTC-IETF-SIG-MIB", "pktcSigDevToneType"), (0, "PKTC-IETF-SIG-MIB", "pktcSigDevToneFreqGroup")) if mibBuilder.loadTexts: pktcSigDevToneEntry.setDescription(" The different tone types that can be provisioned based on\ncountry-specific needs.\n\nEach entry contains the tone generation parameters for\na specific frequency group of the specific Tone Type.\n\n\n\nThe different parameters can be provisioned via MTA\nconfiguration based on country specific needs.\nAn MTA MUST populate all entries of this table for each\ntone type.") pktcSigDevToneType = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 32, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(13,11,10,9,12,5,7,14,3,1,15,2,17,8,4,6,16,18,19,20,21,)).subtype(namedValues=NamedValues(("busy", 1), ("callWaiting2", 10), ("callWaiting3", 11), ("callWaiting4", 12), ("alertingSignal", 13), ("specialDial", 14), ("specialInfo", 15), ("release", 16), ("congestion", 17), ("userDefined1", 18), ("userDefined2", 19), ("confirmation", 2), ("userDefined3", 20), ("userDefined4", 21), ("dial", 3), ("messageWaiting", 4), ("offHookWarning", 5), ("ringBack", 6), ("reOrder", 7), ("stutterdial", 8), ("callWaiting1", 9), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigDevToneType.setDescription("A unique value that will correspond to the different\ntone types. These tones can be provisioned based on\ncountry-specific needs. This object defines the type\nof tone being accessed.\n\nThe alertingSignal, specialDial, specialInfo, release,\n\n\n\ncongestion, userDefined1, userDefined2, userDefined3,\nand userDefined4 tone types are used in\nthe E line package.") pktcSigDevToneFreqGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 32, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigDevToneFreqGroup.setDescription("This MIB object represents the Tone Sequence reference\nof a multi-sequence tone.") pktcSigDevToneFreqCounter = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 32, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFreqCounter.setDescription("This MIB object represents the number of consecutive\nmulti-frequency tones for the particular tone type in\nthe multi-frequency table (pktcSigDevMultiFreqToneTable).\n\nSuch a sequence of the consecutive multi-frequency tones\nforms the tone group for the particular tone type in the\npktcSigDevToneTable.") pktcSigDevToneWholeToneRepeatCount = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 32, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneWholeToneRepeatCount.setDescription("This is the repeat count, which signifies how many times\nto repeat the entire on-off cadence sequence. Setting this\nobject may result in a cadence duration longer or shorter\nthan the overall signal duration specified by the time out\n(TO) object for a particular signal. If the repeat count\nresults in a longer tone duration than the signal duration\nspecified by the TO, the tone duration defined by the\nTO object for a particular signal always represents\nthe overall signal duration for a tone. In this case, the\ntone duration repeat count will not be fully exercised, and\nthe desired tone duration will be truncated per the TO\nsetting. If the repeat count results in a shorter tone\nduration than the signal duration specified by the TO, the\ntone duration defined by the repeat count takes precedence\nover the TO and will end the signal event. In this case,\n\n\n\nthe TO represents a time not to be exceeded for the signal.\nIt is recommended to ensure proper telephony signaling so that\nthe TO duration setting should always be longer than the\ndesired repeat count-time duration.") pktcSigDevToneSteady = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 32, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneSteady.setDescription("This MIB object represents the steady tone status. A value\nof 'true(1)' indicates that the steady tone is applied, and\na value of 'false(2)' indicates otherwise.\nDevices must play out the on-off cadence sequence for\nthe number of times indicated by the MIB object\n'pktcSigDevToneWholeToneRepeatCount' prior to applying the\nlast tone steadily, indefinitely. If the MIB table\n'pktcSigDevToneTable' contains multiple rows with this\nObject set to a value of 'true(1)', the steady tone is\napplied to the last repeating frequency group of the tone.\n\nSetting this MIB object may result in a tone duration that is\nlonger or shorter than the overall signal duration\nspecified by the time out (TO) MIB object for a particular\nsignal. If the repeat count results in a longer tone\nduration than the signal duration specified by the TO, the\ntone duration defined by the TO object for a particular\nsignal always represents the overall signal duration for a\ntone. In this case, the tone duration repeat count will\nnot be fully exercised, and the desired tone duration will\nbe truncated per the TO setting. If the repeat count\nresults in a shorter tone duration than the signal duration\nspecified by the TO, the tone duration defined by the\nrepeat count takes precedence over the TO and will end the\nsignal event. In this case, the TO represents a time not to\nbe exceeded for the signal.\n\nIt is recommended to ensure proper telephony signaling that\nThe TO duration setting should always be longer than the\ndesired repeat count-time duration, plus the desired maximum\nsteady tone period.") pktcSigDevMultiFreqToneTable = MibTable((1, 3, 6, 1, 2, 1, 169, 1, 1, 33)) if mibBuilder.loadTexts: pktcSigDevMultiFreqToneTable.setDescription(" This MIB table defines the characteristics of tones\nwith multiple frequencies. The constraints imposed\non the tones by the MIB table pktcSigDevToneTable\nneed to be considered for MIB objects in this table\nas well.\n\nThe MTA MUST populate the corresponding row(s)\nof the pktcSigDevMultiFreqToneTable for each tone\ndefined in the pktcSigDevToneTable.\n\nThe contents of the table may be provisioned via\nMTA configuration.") pktcSigDevMultiFreqToneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1)).setIndexNames((0, "PKTC-IETF-SIG-MIB", "pktcSigDevToneType"), (0, "PKTC-IETF-SIG-MIB", "pktcSigDevToneNumber")) if mibBuilder.loadTexts: pktcSigDevMultiFreqToneEntry.setDescription(" The different tone types with multiple frequencies\nthat can be provisioned based on country-specific\nneeds.") pktcSigDevToneNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pktcSigDevToneNumber.setDescription("This MIB object represents the frequency reference\nof a multi-frequency tone.") pktcSigDevToneFirstFreqValue = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFirstFreqValue.setDescription("This MIB object represents the value of the first\nfrequency of a tone type. A value of zero implies\nabsence of the referenced frequency.") pktcSigDevToneSecondFreqValue = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneSecondFreqValue.setDescription("This MIB object represents the value of the second\nfrequency of a tone type. A value of zero implies\nabsence of the referenced frequency.") pktcSigDevToneThirdFreqValue = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneThirdFreqValue.setDescription("This MIB object represents the value of the third\nfrequency of a tone type. A value of zero implies\nabsence of the referenced frequency.") pktcSigDevToneFourthFreqValue = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFourthFreqValue.setDescription("This MIB object represents the value of the fourth\nfrequency of a tone type. A value of zero implies\nabsence of the referenced frequency.") pktcSigDevToneFreqMode = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("firstModulatedBySecond", 1), ("summation", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFreqMode.setDescription("This MIB object provides directive on the\nmodulation or summation of the frequencies\ninvolved in the tone.\n\nIt is to be noted that while summation can\nbe done without any constraint on the number\nof frequencies, the modulation (amplitude)\nholds good only when there are two frequencies\n(first and second).\n\nThus:\n - If the mode is set to a value of\n 'firstModulatedBySecond(1)', the first frequency\n MUST be modulated by the second, and the remaining\n frequencies (third and fourth) ignored. The\n percentage of amplitude modulation to be applied\n is defined by the MIB object\n pktcSigDevToneFreqAmpModePrtg.\n\n - If the mode is set to a value of\n 'summation(2)', all the frequencies MUST be\n summed without any modulation.") pktcSigDevToneFreqAmpModePrtg = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFreqAmpModePrtg.setDescription("This MIB object represents the percentage of amplitude\nmodulation applied to the second frequency\nwhen the MIB object pktcSigDevToneFreqMode is\nset to a value of 'firstModulatedBySecond (1)'.\n\nIf the MIB object pktcSigDevToneFreqMode is set to\nvalue of 'summation (2)', then this MIB object MUST be\nignored.") pktcSigDevToneDbLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 8), TenthdBm().subtype(subtypeSpec=ValueRangeConstraint(-250, -110)).clone(-120)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneDbLevel.setDescription("This MIB object contains the decibel level for each\nanalog signal (tone) that is locally generated\n(versus in-band supervisory tones) and sourced to\nthe a-b terminals (TE connection point). Each tone\nin itself may consist of multiple frequencies, as\ndefined by the MIB table pktcSigDevMultiFreqToneTable.\n\nThis MIB object reflects the desired level at\nthe Telco (POTS) a-b (T/R) terminals, including the\neffect of any MTA receiver gain (loss). This is required\nso that locally generated tones are consistent with\nremotely generated in-band tones at the a-b terminals,\nconsistent with user expectations.\n\nThis MIB object must be set for each tone.\nWhen tones are formed by combining multi-frequencies,\nthe level of each frequency shall be set so as to result\nin the tone level specified in this object at the a-b\n(T/R) terminals.\n\nThe wide range of levels for this Object is required\nto provide signal-generator levels across the wide\nrange of gains (losses) -- but does not imply the entire\nrange is to be achievable given the range of gains (losses)\nin the MTA.") pktcSigDevToneFreqOnDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFreqOnDuration.setDescription("This MIB object represents the duration for which the\nfrequency reference corresponding to the tone type\nis turned on.") pktcSigDevToneFreqOffDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFreqOffDuration.setDescription("This MIB object represents the duration for which the\n\n\n\nfrequency reference corresponding to the tone type\nis turned off.") pktcSigDevToneFreqRepeatCount = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 1, 33, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigDevToneFreqRepeatCount.setDescription("This MIB object indicates the number of times\nto repeat the cadence cycle represented by the\non/off durations (refer to the MIB objects\npktcSigDevToneFreqOnDuration and\npktcSigDevToneFreqOffDuration).\n\nSetting this object may result in a tone duration that is\nlonger or shorter than the overall signal duration\nspecified by the time out (TO) object for the\ncorresponding tone type. If the value of this MIB\nObject indicates a longer duration than that\nspecified by the TO, the latter overrules the former,\nand the desired tone duration will be truncated according\nto the TO.\n\nHowever, if the repeat count results in a shorter\ntone duration than the signal duration specified by\nthe TO, the tone duration defined by the repeat count\ntakes precedence over the TO and will end the signal\nevent. In this case, the TO represents a time not to\nbe exceeded for the signal. It is recommended, to\nensure proper telephony signaling, that the TO\nduration setting should always be longer than the\ndesired repeat count-time duration. A value of zero\nmeans the tone sequence is to be played once but not\nrepeated.") pktcSigDevCidDelayAfterLR = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 34), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(300, 800)).clone(400)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevCidDelayAfterLR.setDescription("This object specifies the delay between the end of the\nLine Reversal and the start of the FSK or DTMF signal.\nThis MIB object is used only when pktcSigDevCidMode is\nset to a value of 'lrETS'. This timing has a range of\n300 to 800 ms.\n\n\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevCidMode), and MUST be followed:\n\nValue of pktcSigDevCidMode Default value\n\nduringringingETS any value (not used)\ndtAsETS any value (not used)\nrpAsETS any value (not used)\nlrAsETS any value (not used)\nlrETS 400\n\nAn attempt to set this object while the value of\npktcSigDevCidMode is not set to a value of 'lrETS' will\nresult in an 'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevCidDtmfStartCode = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 35), DtmfCode().clone('dtmfcodeA')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevCidDtmfStartCode.setDescription("This object identifies optional start codes used when\nthe MIB object pktcSigDevCidSigProtocol is set\nto a value of 'dtmf(2)'.\n\nDifferent countries define different caller id signaling\ncodes to support caller identification. When Dual-Tone\nMulti-Frequency (DTMF) is used, the caller id digits are\npreceded by a 'start code' digit, followed by the digit\ntransmission sequence ... (where Sx represents\nthe digits 0-9), and terminated by the 'end code' digit.\n\nFor example,\n ... ... ... .\nThe start code for calling number delivery may be DTMF\n'A' or 'D'. The start code for redirecting a number may be\nDTMF 'D'. The DTMF code 'B' may be sent by the network\nas a start code for the transfer of information values,\nthrough which special events can be indicated to the\nuser. In some countries, the '*' or '#' may be used\ninstead of 'A', 'B', 'C', or 'D'.\n\nThe value of this MIB object MUST NOT persist across MTA\n\n\n\nreboots.") pktcSigDevCidDtmfEndCode = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 36), DtmfCode().clone('dtmfcodeC')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevCidDtmfEndCode.setDescription("This object identifies optional end codes used when the\npktcSigDevCidSigProtocol is set to a value of\n'dtmf(2)'.\n\nDifferent countries define different caller id signaling\nprotocols to support caller identification. When\nDual-Tone Multi-Frequency (DTMF) is used, the caller id\ndigits are preceded by a 'start code' digit, followed by\nthe digit transmission sequence ... (where Sx\nrepresents the digits 0-9), and terminated by the 'end\ncode' digit.\n\nFor example,\n ... ... ... .\n\nThe DTMF code 'C' may be sent by the network as an\nend code for the transfer of information values, through\nwhich special events can be indicated to the user. In\nsome countries, the '*' or '#' may be used instead of\n'A', 'B', 'C', or 'D'.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiSigProtocol = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 37), PktcSubscriberSideSigProtocol().clone('fsk')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevVmwiSigProtocol.setDescription("This object identifies the subscriber line protocol used\nfor signaling the information on Visual Message Waiting\nIndicator (VMWI). Different countries define different\nVMWI signaling protocols to support VMWI service.\n\n\n\nFrequency shift keying (FSK) is most commonly used.\nDTMF is an alternative.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiDelayAfterLR = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 38), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(300,800),)).clone(400)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevVmwiDelayAfterLR.setDescription("This object specifies the delay between the end of the\nLine Reversal and the start of the FSK or DTMF signal.\nThis object is only used when pktcSigDevVmwiMode is\nset to a value of 'lrETS'.\nThis timing has a range of 300 to 800 ms.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevVmwiMode), and MUST be followed:\n\nValue of pktcSigDevVmwiMode Default value\n\nduringringingETS any value (not used)\ndtAsETS any value (not used)\nrpAsETS any value (not used)\nlrAsETS any value (not used)\nlrETS 400\n\nAn attempt to set this object while the value of\npktcSigDevVmwiMode is not 'lrETS' will result in an\n'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiDtmfStartCode = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 39), DtmfCode().clone('dtmfcodeA')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevVmwiDtmfStartCode.setDescription("This object identifies optional start codes used when\n\n\n\nthe pktcSigDevVmwiSigProtocol is set to a value of\n'dtmf(2)'. Different countries define different On Hook\nData Transmission Protocol signaling codes to support\nVMWI.\n\nWhen Dual-Tone Multi-Frequency (DTMF) is used, the VMWI\ndigits are preceded by a 'start code' digit, followed\nby the digit transmission sequence ... (where\nSx represents the digits 0-9), and terminated by the 'end\ncode' digit.\n\nFor example,\n ... ... ... .\n\nThe start code for redirecting VMWI may be DTMF 'D'\nThe DTMF code 'B' may be sent by the network as a start\ncode for the transfer of information values, through\nwhich special events can be indicated to the user. In\nsome countries, the '*' or '#' may be used instead of\n'A', 'B', 'C', or 'D'.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevVmwiDtmfEndCode = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 40), DtmfCode().clone('dtmfcodeC')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pktcSigDevVmwiDtmfEndCode.setDescription("This object identifies an optional end code used when the\npktcSigDevVmwiSigProtocol is set to a value of\n'dtmf(2)'. Different countries define different on-hook\nData Transmission Protocol signaling codes to support\nVMWI.\n\nWhen Dual-Tone Multi-Frequency (DTMF) is used, the VMWI\ndigits are preceded by a 'start code' digit, followed\nby the digit transmission sequence ... (where\nSx represents the digits 0-9), and terminated by the 'end\ncode' digit.\n\nFor example,\n ... ... ... .\n\n\n\n\nThe DTMF code 'C' may be sent by the network as an end code\nfor the transfer of information values, through which\nspecial events can be indicated to the user. In some\ncountries, the '*' or '#' may be used instead of 'A',\n'B', 'C', or 'D'.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigDevrpAsDtsDuration = MibScalar((1, 3, 6, 1, 2, 1, 169, 1, 1, 41), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(200,500),)).clone(250)).setMaxAccess("readwrite").setUnits("Milliseconds") if mibBuilder.loadTexts: pktcSigDevrpAsDtsDuration.setDescription(" This object specifies the duration of the rpASDTS ring\npulse prior to the start of the transmission of the\nFSK or DTMF containing the caller id information. It is\nonly used when pktcSigDevCidMode is set to a value of\n'rpAsETS'.\n\nThe following table defines the default values\nfor this MIB object, depending on the signal type\n(pktcSigDevCidMode), and MUST be followed:\n\nValue of pktcSigDevCidMode Default value\n\nduringringingETS any value (not used)\ndtAsETS any value (not used)\nrpAsETS 250\nlrAsETS any value (not used)\nlrETS any value (not used)\n\nAn attempt to set this object while the value of\npktcSigDevCidMode is not 'rpAsETS' will result in\nan 'inconsistentValue' error.\n\nThe value of this MIB object MUST NOT persist across MTA\nreboots.") pktcSigEndPntConfigObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 169, 1, 2)) pktcSigEndPntConfigTable = MibTable((1, 3, 6, 1, 2, 1, 169, 1, 2, 1)) if mibBuilder.loadTexts: pktcSigEndPntConfigTable.setDescription(" This table describes the information pertaining to each\nendpoint of the MTA. All entries in this table represent\nthe provisioned endpoints provisioned with the information\nrequired by the MTA to maintain the NCS protocol\ncommunication with the CMS. Each endpoint can be assigned\nto its own CMS. If the specific endpoint does not have\nthe corresponding CMS information in this table, the\nendpoint is considered as not provisioned with voice\nservices. Objects in this table do not persist across\nMTA reboots.") pktcSigEndPntConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pktcSigEndPntConfigEntry.setDescription("Each entry in the pktcSigEndPntConfigTable represents\nrequired signaling parameters for the specific endpoint\nprovisioned with voice services. The conceptual rows MUST\nNOT persist across MTA reboots.") pktcSigEndPntConfigCallAgentId = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(3, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigCallAgentId.setDescription(" This object contains a string indicating the call agent\nname (e.g., ca@example.com). The call agent name, after\nthe character '@', MUST be a fully qualified domain name\n(FQDN) and MUST have a corresponding pktcMtaDevCmsFqdn\nentry in the pktcMtaDevCmsTable. The object\npktcMtaDevCmsFqdn is defined in the PacketCable MIBMTA\nSpecification. For each particular endpoint, the MTA MUST\nuse the current value of this object to communicate with\nthe corresponding CMS. The MTA MUST update this object\nwith the value of the 'Notified Entity' parameter of the\nNCS message. Because of the high importance of this object\nto the ability of the MTA to maintain reliable NCS\ncommunication with the CMS, it is highly recommended not\nto change this object's value using SNMP during normal\noperation.") pktcSigEndPntConfigCallAgentUdpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 2), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1025, 65535)).clone(2727)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigCallAgentUdpPort.setDescription(" This object contains the current value of the User\nDatagram Protocol (UDP) receive port on which the\ncall agent will receive NCS from the endpoint.\nFor each particular endpoint, the MTA MUST use the current\nvalue of this object to communicate with the corresponding\nCMS. The MTA MUST update this object with the value of the\n'Notified Entity' parameter of the NCS message. If the\nNotified Entity parameter does not contain a CallAgent\nport, the MTA MUST update this object with the default\nvalue of 2727. Because of the high importance of this\nobject to the ability of the MTA to maintain reliable NCS\ncommunication with the CMS, it is highly recommended not\nto change this object's value using SNMP during normal\noperation.") pktcSigEndPntConfigPartialDialTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 3), Unsigned32().clone(16)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigPartialDialTO.setDescription("This object contains the value of the partial dial\ntime out.\nThe time out (TO) elements are intended to limit the time a\ntone or frequency is generated. When this MIB object is set\nto a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigCriticalDialTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 4), Unsigned32().clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigCriticalDialTO.setDescription("This object contains the value of the critical\ndial time out.\nThe time out (TO) elements are intended to limit the time a\ntone or frequency is generated. When this MIB object is set\nto a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigBusyToneTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 5), Unsigned32().clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigBusyToneTO.setDescription(" This object contains the default time out value for busy\ntone. The MTA MUST NOT update this object with the\nvalue provided in the NCS message (if present). If\nthe value of the object is modified by the SNMP Management\nStation, the MTA MUST use the new value as a default only\nfor a new signal requested by the NCS message.\nThe time out (TO) elements are intended to limit the time\na tone or frequency is generated. When this MIB object is\nset to a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigDialToneTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 6), Unsigned32().clone(16)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigDialToneTO.setDescription(" This object contains the default time out value for dial\ntone. The MTA MUST NOT update this object with the\nvalue provided in the NCS message (if present). If\n\n\n\nthe value of the object is modified by the SNMP Management\nStation, the MTA MUST use the new value as a default only\nfor a new signal requested by the NCS message.\nThe time out (TO) elements are intended to limit the time\na tone or frequency is generated. When this MIB object is\nset to a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigMessageWaitingTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 7), Unsigned32().clone(16)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigMessageWaitingTO.setDescription(" This object contains the default time out value for message\nwaiting indicator. The MTA MUST NOT update this object\nwith the value provided in the NCS message (if\npresent). If the value of the object is modified by the\nSNMP Manager application, the MTA MUST use the new value\nas a default only for a new signal requested by the NCS\nmessage.\nThe time out (TO) elements are intended to limit the time\na tone or frequency is generated. When this MIB object is\nset to a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigOffHookWarnToneTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 8), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigOffHookWarnToneTO.setDescription(" This object contains the default time out value for the\noff-hook warning tone. The MTA MUST NOT update this object\nwith the value provided in the NCS message (if present). If\nthe value of the object is modified by the SNMP Manager\n\n\n\napplication, the MTA MUST use the new value as a default\nonly for a new signal requested by the NCS message. The\ntime out (TO) elements are intended to limit the time a tone\nor frequency is generated. When this MIB object is set to a\nvalue of '0', the MTA MUST NOT generate the corresponding\nfrequency or tone, regardless of the definitions pertaining\nto frequency, tone duration, or cadence.") pktcSigEndPntConfigRingingTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 9), Unsigned32().clone(180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigRingingTO.setDescription(" This object contains the default time out value for\nringing. The MTA MUST NOT update this object with the\nvalue provided in the NCS message (if present). If\nthe value of the object is modified by the SNMP Management\nStation, the MTA MUST use the new value as a default only\nfor a new signal requested by the NCS message.\nThe time out (TO) elements are intended to limit the time\na tone or frequency is generated. When this MIB object is\nset to a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigRingBackTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 10), Unsigned32().clone(180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigRingBackTO.setDescription(" This object contains the default time out value for ring\nback. The MTA MUST NOT update this object with the\nvalue provided in the NCS message (if present). If\nthe value of the object is modified by the SNMP Management\nStation, the MTA MUST use the new value as a default only\nfor a new signal requested by the NCS message.\nThe time out (TO) elements are intended to limit the time\n\n\n\na tone or frequency is generated. When this MIB object is\nset to a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigReorderToneTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 11), Unsigned32().clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigReorderToneTO.setDescription(" This object contains the default time out value for reorder\ntone. The MTA MUST NOT update this object with the\nvalue provided in the NCS message (if present). If\nthe value of the object is modified by the SNMP Management\nStation, the MTA MUST use the new value as a default only\nfor a new signal requested by the NCS message.\nThe time out (TO) elements are intended to limit the time\na tone or frequency is generated. When this MIB object is\nset to a value of '0', the MTA MUST NOT generate the\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigStutterDialToneTO = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 12), Unsigned32().clone(16)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigStutterDialToneTO.setDescription(" This object contains the default time out value for stutter\ndial tone. The MTA MUST NOT update this object with the\nvalue provided in the NCS message (if present). If\nthe value of the object is modified by the SNMP Management\nStation, the MTA MUST use the new value as a default only\nfor a new signal requested by the NCS message.\nThe time out (TO) elements are intended to limit the time\na tone or frequency is generated. When this MIB object is\nset to a value of '0', the MTA MUST NOT generate the\n\n\n\ncorresponding frequency or tone, regardless of the\ndefinitions pertaining to frequency, tone duration, or\ncadence.") pktcSigEndPntConfigTSMax = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 13), Unsigned32().clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigTSMax.setDescription("This MIB object is used as part of an NCS\nretransmission algorithm. Prior to any retransmission,\nthe MTA must check to make sure that the time elapsed\nsince the sending of the initial datagram does not\nexceed the value specified by this MIB object. If more\nthan Tsmax time has elapsed, then the retransmissions\nMUST cease.\n\nRefer to the MIB object pktcSigEndPntConfigThist for\ninformation on when the endpoint becomes disconnected.") pktcSigEndPntConfigMax1 = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 14), Unsigned32().clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigMax1.setDescription("This object contains the suspicious error threshold for\nsignaling messages. The pktcSigEndPntConfigMax1 object\nindicates the retransmission threshold at which the MTA MAY\nactively query the domain name server (DNS) in order to\ndetect the possible change of call agent interfaces.") pktcSigEndPntConfigMax2 = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 15), Unsigned32().clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigMax2.setDescription("This object contains the disconnect error threshold for\nsignaling messages. The pktcSigEndPntConfigMax2 object\nindicates the retransmission threshold at which the MTA\nSHOULD contact the DNS one more time to see if any other\ninterfaces to the call agent have become available.") pktcSigEndPntConfigMax1QEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 16), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigMax1QEnable.setDescription("This object enables/disables the Max1 domain name server\n(DNS) query operation when the pktcSigEndPntConfigMax1\nthreshold has been reached.\nA value of true(1) indicates enabling, and a value of\nfalse(2) indicates disabling.") pktcSigEndPntConfigMax2QEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 17), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigMax2QEnable.setDescription("This object enables/disables the Max2 domain name server\n(DNS) query operation when the pktcSigEndPntConfigMax2\nthreshold has been reached.\nA value of true(1) indicates enabling, and a value of\nfalse(2) indicates disabling.") pktcSigEndPntConfigMWD = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 18), Unsigned32().clone(600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigMWD.setDescription("Maximum Waiting Delay (MWD) contains the maximum number of\nseconds an MTA waits, after powering on, before initiating\nthe restart procedure with the call agent.") pktcSigEndPntConfigTdinit = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 19), Unsigned32().clone(15)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigTdinit.setDescription("This MIB object represents the 'disconnected' initial\nwaiting delay within the context of an MTA's 'disconnected\nprocedure'. The 'disconnected procedure' is initiated when\nan endpoint becomes 'disconnected' while attempting to\ncommunicate with a call agent.\n\nThe 'disconnected timer' associated with the 'disconnected\nProcedure' is initialized to a random value, uniformly\ndistributed between zero and the value contained in this\nMIB object.\n\nFor more information on the usage of this timer, please\nrefer to the PacketCable NCS Specification.") pktcSigEndPntConfigTdmin = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 20), Unsigned32().clone(15)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigTdmin.setDescription("This MIB object represents the 'disconnected' minimum\nwaiting delay within the context of an MTA's\n'disconnected procedure', specifically when local user\nactivity is detected.\nThe 'disconnected procedure' is initiated when\nan endpoint becomes 'disconnected' while attempting to\ncommunicate with a call agent.\nFor more information on the usage of this timer, please\nrefer to the PacketCable NCS Specification.") pktcSigEndPntConfigTdmax = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 21), Unsigned32().clone(600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigTdmax.setDescription(" This object contains the maximum number of seconds the MTA\nwaits, after a disconnect, before initiating the\ndisconnected procedure with the call agent.\n ") pktcSigEndPntConfigRtoMax = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 22), Unsigned32().clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigRtoMax.setDescription("This object specifies the maximum number of seconds the MTA\nwaits for a response to an NCS message before initiating\na retransmission.") pktcSigEndPntConfigRtoInit = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 23), Unsigned32().clone(200)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigRtoInit.setDescription(" This object contains the initial number of seconds for the\nretransmission timer.") pktcSigEndPntConfigLongDurationKeepAlive = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 24), Unsigned32().clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigLongDurationKeepAlive.setDescription(" Specifies a time out value, in minutes, for sending long\nduration call notification messages.") pktcSigEndPntConfigThist = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 25), Unsigned32().clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigThist.setDescription(" Time out period, in seconds, before no response is declared.") pktcSigEndPntConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 26), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigStatus.setDescription(" This object contains the Row Status associated with the\npktcSigEndPntConfigTable. There are no restrictions or\ndependencies amidst the columnar objects before this\nrow can be activated or for modifications of the\ncolumnar objects when this object is set to a\nvalue of 'active(1).") pktcSigEndPntConfigCallWaitingMaxRep = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 27), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigCallWaitingMaxRep.setDescription(" This object contains the default value of the maximum\nnumber of repetitions of the Call Waiting tone that the\nMTA will play from a single CMS request. The MTA MUST NOT\nupdate this object with the information provided in the\nNCS message (if present). If the value of the object is\nmodified by the SNMP Manager application, the MTA MUST use\nthe new value as a default only for a new signal\nrequested by the NCS message.") pktcSigEndPntConfigCallWaitingDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 28), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pktcSigEndPntConfigCallWaitingDelay.setDescription(" This object contains the delay between repetitions of the\nCall Waiting tone that the MTA will play from a single CMS\nrequest.") pktcSigEndPntStatusCallIpAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 29), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntStatusCallIpAddressType.setDescription(" This object contains the type of Internet address contained\nin the MIB object 'pktcSigEndPntStatusCallIpAddress'.\n\nSince pktcSigEndPntStatusCallIpAddress is expected to\ncontain an IP address, a value of dns(16) is disallowed.") pktcSigEndPntStatusCallIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 30), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntStatusCallIpAddress.setDescription(" This MIB object contains the chosen IP address of the CMS\ncurrently being used for the corresponding endpoint.\n\nThe device determines the IP address by using DNS to\nresolve the IP address of the CMS from the FQDN stored in\nthe MIB object 'pktcSigEndPntConfigCallAgentId'. The\nprocesses are outlined in the PacketCable NCS and Security\nspecifications, and MUST be followed by the MTA.\n\nThe IP address type contained in this MIB object is\nindicated by pktcSigEndPntStatusCallIpAddressType.") pktcSigEndPntStatusError = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 31), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("operational", 1), ("noSecurityAssociation", 2), ("disconnected", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntStatusError.setDescription(" This object contains the error status for this interface.\nThe operational status indicates that all operations\nnecessary to put the line in service have occurred, and the\nCMS has acknowledged the Restart In Progress (RSIP)\nmessage successfully. If pktcMtaDevCmsIpsecCtrl is enabled\nfor the associated call agent, the noSecurityAssociation\nstatus indicates that no Security Association (SA) yet\nexists for this endpoint. If pktcMtaDevCmsIpsecCtrl is\ndisabled for the associated call agent, the\nnoSecurityAssociation status is not applicable and should\nnot be used by the MTA. The disconnected status indicates\none of the following two:\nIf pktcMtaDevCmsIpsecCtrl is disabled, then no security\nassociation is involved with this endpoint. The NCS\nsignaling software is in process of establishing the NCS\nsignaling link via an RSIP exchange.\nOtherwise, when pktcMtaDevCmsIpsecCtrl is enabled,\nsecurity Association has been established, and the NCS\nsignaling software is in process of establishing the NCS\nsignaling link via an RSIP exchange.") pktcSigEndPntConfigMinHookFlash = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 32), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(20, 1550)).clone(300)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntConfigMinHookFlash.setDescription(" This is the minimum time a line needs to be on-hook for a\nvalid hook flash. The value of this object MUST be\ngreater than the value of\npktcSigEndPntConfigPulseDialMaxBreakTime. The value of\npktcSigEndPntConfigMinHookFlash MUST be less than\npktcSigEndPntConfigMaxHookFlash. This object MUST only be\nset via the MTA configuration during the provisioning\nprocess.\n Furthermore, given the possibility for the 'pulse dial'\n and 'hook flash' to overlap, the value of this object\n MUST be greater than the value contained by the MIB\n Object 'pktcSigEndPntConfigPulseDialMaxMakeTime'.") pktcSigEndPntConfigMaxHookFlash = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 33), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(20, 1550)).clone(800)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntConfigMaxHookFlash.setDescription(" This is the maximum time a line needs to be on-hook for a\nvalid hook flash. The value of\npktcSigEndPntConfigMaxHookFlash MUST be greater than\npktcSigEndPntConfigMinHookFlash. This object MUST only be\nset via the MTA configuration during the provisioning\nprocess.") pktcSigEndPntConfigPulseDialInterdigitTime = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 34), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 1500)).clone(100)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntConfigPulseDialInterdigitTime.setDescription(" This is the pulse dial inter-digit time out. This object\nMUST only be set via the MTA configuration during the\nprovisioning process.") pktcSigEndPntConfigPulseDialMinMakeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 35), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(20, 200)).clone(25)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntConfigPulseDialMinMakeTime.setDescription(" This is the minimum make pulse width for the dial pulse.\nThe value of pktcSigEndPntConfigPulseDialMinMakeTime MUST\nbe less than pktcSigEndPntConfigPulseDialMaxMakeTime. This\nobject MUST only be set via the MTA configuration during\nthe provisioning process.") pktcSigEndPntConfigPulseDialMaxMakeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 36), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(20, 200)).clone(55)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntConfigPulseDialMaxMakeTime.setDescription(" This is the maximum make pulse width for the dial pulse.\n\n\n\nThe value of pktcSigEndPntConfigPulseDialMaxMakeTime MUST\nbe greater than pktcSigEndPntConfigPulseDialMinMakeTime.\nThis object MUST only be provided via the configuration\nfile during the provisioning process.\nFurthermore, given the possibility for the 'pulse dial'\nand 'hook flash' to overlap, the value of this object MUST\nbe less than the value contained by the MIB object\npktcSigEndPntConfigMinHookFlash.") pktcSigEndPntConfigPulseDialMinBreakTime = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 37), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(20, 200)).clone(45)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntConfigPulseDialMinBreakTime.setDescription(" This is the minimum break pulse width for the dial pulse.\nThe value of pktcSigEndPntConfigPulseDialMinBreakTime MUST\nbe less than pktcSigEndPntConfigPulseDialMaxBreakTime.\nThis object must only be provided via the configuration\nfile during the provisioning process.") pktcSigEndPntConfigPulseDialMaxBreakTime = MibTableColumn((1, 3, 6, 1, 2, 1, 169, 1, 2, 1, 1, 38), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(20, 200)).clone(75)).setMaxAccess("readonly") if mibBuilder.loadTexts: pktcSigEndPntConfigPulseDialMaxBreakTime.setDescription(" This is the maximum break pulse width for the dial pulse.\nThe value of pktcSigEndPntConfigPulseDialMaxBreakTime MUST\nbe greater than pktcSigEndPntConfigPulseDialMinBreakTime.\nThis object MUST only be provided via the configuration\nfile during the provisioning process.") pktcSigConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 169, 2)) pktcSigCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 169, 2, 1)) pktcSigGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 169, 2, 2)) # Augmentions # Groups pktcSigDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 169, 2, 2, 1)).setObjects(*(("PKTC-IETF-SIG-MIB", "pktcSigCapabilityVersion"), ("PKTC-IETF-SIG-MIB", "pktcSigCapabilityType"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR2Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR3Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevSilenceSuppression"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR5Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevEchoCancellation"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR7Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDefNcsReceiveUdpPort"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRsCadence"), ("PKTC-IETF-SIG-MIB", "pktcSigCapabilityVendorExt"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR0Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR1Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR4Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiMode"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR6Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDefMediaStreamDscp"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRgCadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCodecMax"), ("PKTC-IETF-SIG-MIB", "pktcSigDefCallSigDscp"), ) ) if mibBuilder.loadTexts: pktcSigDeviceGroup.setDescription("Group of MIB objects containing signaling configuration\ninformation that is applicable per-device.") pktcSigEndpointGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 169, 2, 2, 2)).setObjects(*(("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigRingBackTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigTdinit"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigLongDurationKeepAlive"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigOffHookWarnToneTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMax1QEnable"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigBusyToneTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMessageWaitingTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigRtoMax"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMax2QEnable"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMax2"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMax1"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntStatusCallIpAddress"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigThist"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigCriticalDialTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigCallWaitingMaxRep"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigCallAgentUdpPort"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigCallAgentId"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigRtoInit"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMWD"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigStatus"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigTSMax"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigCallWaitingDelay"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigReorderToneTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntStatusError"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigPartialDialTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigRingingTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigTdmax"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntStatusCallIpAddressType"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigDialToneTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigStutterDialToneTO"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigTdmin"), ) ) if mibBuilder.loadTexts: pktcSigEndpointGroup.setDescription("Group of MIB objects containing signaling configuration\ninformation that is applicable per-endpoint.") pktcInternationalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 169, 2, 2, 3)).setObjects(*(("PKTC-IETF-SIG-MIB", "pktcSigDevToneFreqRepeatCount"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidSigProtocol"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneFreqCounter"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigPulseDialMinBreakTime"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalFrequency"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMaxHookFlash"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigPulseDialMinMakeTime"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneFreqOnDuration"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiDtmfEndCode"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidDtmfStartCode"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigMinHookFlash"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneWholeToneRepeatCount"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiMode"), ("PKTC-IETF-SIG-MIB", "pktcSigPowerRingFrequency"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidAfterRPAS"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneFourthFreqValue"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiDelayAfterLR"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneSecondFreqValue"), ("PKTC-IETF-SIG-MIB", "pktcSigDevrpAsDtsDuration"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiDTASAfterLR"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidAfterRing"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneFirstFreqValue"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRingCadence"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigPulseDialInterdigitTime"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneDbLevel"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidMode"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneSteady"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalPulseInterval"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalRepeatCount"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalDuration"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneFreqAmpModePrtg"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiAfterRPAS"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidDelayAfterLR"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalDbLevel"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiAfterDTAS"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneFreqMode"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigPulseDialMaxMakeTime"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneThirdFreqValue"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidDTASAfterLR"), ("PKTC-IETF-SIG-MIB", "pktcSigEndPntConfigPulseDialMaxBreakTime"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidAfterDTAS"), ("PKTC-IETF-SIG-MIB", "pktcSigDevToneFreqOffDuration"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiSigProtocol"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRingAfterCID"), ("PKTC-IETF-SIG-MIB", "pktcSigDevCidDtmfEndCode"), ("PKTC-IETF-SIG-MIB", "pktcSigDevVmwiDtmfStartCode"), ) ) if mibBuilder.loadTexts: pktcInternationalGroup.setDescription(" Group of objects that extend the behavior of existing\nobjects to support operations in the widest possible set\nof international marketplaces. Note that many of these\nobjects represent a superset of behaviors described in\nother objects within this MIB module.") pktcLLinePackageGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 169, 2, 2, 4)).setObjects(*(("PKTC-IETF-SIG-MIB", "pktcSigDevRsCadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR0Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR2Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR1Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR4Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR3Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR6Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR5Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR7Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRgCadence"), ) ) if mibBuilder.loadTexts: pktcLLinePackageGroup.setDescription("Group of Objects to support the L line package.") pktcELinePackageGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 169, 2, 2, 5)).setObjects(*(("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalFrequency"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalDuration"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalDbLevel"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR2Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR3Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRingCadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR5Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR7Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRsCadence"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalPulseInterval"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR0Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR1Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR4Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigPulseSignalRepeatCount"), ("PKTC-IETF-SIG-MIB", "pktcSigDevR6Cadence"), ("PKTC-IETF-SIG-MIB", "pktcSigDevRgCadence"), ) ) if mibBuilder.loadTexts: pktcELinePackageGroup.setDescription("Group of Objects to support the E line package.") # Compliances pktcSigBasicCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 169, 2, 1, 1)).setObjects(*(("PKTC-IETF-SIG-MIB", "pktcSigDeviceGroup"), ("PKTC-IETF-SIG-MIB", "pktcLLinePackageGroup"), ("PKTC-IETF-SIG-MIB", "pktcELinePackageGroup"), ("PKTC-IETF-SIG-MIB", "pktcSigEndpointGroup"), ("PKTC-IETF-SIG-MIB", "pktcInternationalGroup"), ) ) if mibBuilder.loadTexts: pktcSigBasicCompliance.setDescription(" The compliance statement for MTAs that implement\nNCS signaling.") # Exports # Module identity mibBuilder.exportSymbols("PKTC-IETF-SIG-MIB", PYSNMP_MODULE_ID=pktcIetfSigMib) # Types mibBuilder.exportSymbols("PKTC-IETF-SIG-MIB", DtmfCode=DtmfCode, PktcCodecType=PktcCodecType, PktcRingCadence=PktcRingCadence, PktcSigType=PktcSigType, PktcSubscriberSideSigProtocol=PktcSubscriberSideSigProtocol, TenthdBm=TenthdBm) # Objects mibBuilder.exportSymbols("PKTC-IETF-SIG-MIB", pktcIetfSigMib=pktcIetfSigMib, pktcSigNotification=pktcSigNotification, pktcSigMibObjects=pktcSigMibObjects, pktcSigDevObjects=pktcSigDevObjects, pktcSigDevCodecTable=pktcSigDevCodecTable, pktcSigDevCodecEntry=pktcSigDevCodecEntry, pktcSigDevCodecComboIndex=pktcSigDevCodecComboIndex, pktcSigDevCodecType=pktcSigDevCodecType, pktcSigDevCodecMax=pktcSigDevCodecMax, pktcSigDevEchoCancellation=pktcSigDevEchoCancellation, pktcSigDevSilenceSuppression=pktcSigDevSilenceSuppression, pktcSigDevCidSigProtocol=pktcSigDevCidSigProtocol, pktcSigDevR0Cadence=pktcSigDevR0Cadence, pktcSigDevR1Cadence=pktcSigDevR1Cadence, pktcSigDevR2Cadence=pktcSigDevR2Cadence, pktcSigDevR3Cadence=pktcSigDevR3Cadence, pktcSigDevR4Cadence=pktcSigDevR4Cadence, pktcSigDevR5Cadence=pktcSigDevR5Cadence, pktcSigDevR6Cadence=pktcSigDevR6Cadence, pktcSigDevR7Cadence=pktcSigDevR7Cadence, pktcSigDevRgCadence=pktcSigDevRgCadence, pktcSigDevRsCadence=pktcSigDevRsCadence, pktcSigDefCallSigDscp=pktcSigDefCallSigDscp, pktcSigDefMediaStreamDscp=pktcSigDefMediaStreamDscp, pktcSigCapabilityTable=pktcSigCapabilityTable, pktcSigCapabilityEntry=pktcSigCapabilityEntry, pktcSigCapabilityIndex=pktcSigCapabilityIndex, pktcSigCapabilityType=pktcSigCapabilityType, pktcSigCapabilityVersion=pktcSigCapabilityVersion, pktcSigCapabilityVendorExt=pktcSigCapabilityVendorExt, pktcSigDefNcsReceiveUdpPort=pktcSigDefNcsReceiveUdpPort, pktcSigPowerRingFrequency=pktcSigPowerRingFrequency, pktcSigPulseSignalTable=pktcSigPulseSignalTable, pktcSigPulseSignalEntry=pktcSigPulseSignalEntry, pktcSigPulseSignalType=pktcSigPulseSignalType, pktcSigPulseSignalFrequency=pktcSigPulseSignalFrequency, pktcSigPulseSignalDbLevel=pktcSigPulseSignalDbLevel, pktcSigPulseSignalDuration=pktcSigPulseSignalDuration, pktcSigPulseSignalPulseInterval=pktcSigPulseSignalPulseInterval, pktcSigPulseSignalRepeatCount=pktcSigPulseSignalRepeatCount, pktcSigDevCidMode=pktcSigDevCidMode, pktcSigDevCidAfterRing=pktcSigDevCidAfterRing, pktcSigDevCidAfterDTAS=pktcSigDevCidAfterDTAS, pktcSigDevCidAfterRPAS=pktcSigDevCidAfterRPAS, pktcSigDevRingAfterCID=pktcSigDevRingAfterCID, pktcSigDevCidDTASAfterLR=pktcSigDevCidDTASAfterLR, pktcSigDevVmwiMode=pktcSigDevVmwiMode, pktcSigDevVmwiAfterDTAS=pktcSigDevVmwiAfterDTAS, pktcSigDevVmwiAfterRPAS=pktcSigDevVmwiAfterRPAS, pktcSigDevVmwiDTASAfterLR=pktcSigDevVmwiDTASAfterLR, pktcSigDevRingCadenceTable=pktcSigDevRingCadenceTable, pktcSigDevRingCadenceEntry=pktcSigDevRingCadenceEntry, pktcSigDevRingCadenceIndex=pktcSigDevRingCadenceIndex, pktcSigDevRingCadence=pktcSigDevRingCadence, pktcSigDevToneTable=pktcSigDevToneTable, pktcSigDevToneEntry=pktcSigDevToneEntry, pktcSigDevToneType=pktcSigDevToneType, pktcSigDevToneFreqGroup=pktcSigDevToneFreqGroup, pktcSigDevToneFreqCounter=pktcSigDevToneFreqCounter, pktcSigDevToneWholeToneRepeatCount=pktcSigDevToneWholeToneRepeatCount, pktcSigDevToneSteady=pktcSigDevToneSteady, pktcSigDevMultiFreqToneTable=pktcSigDevMultiFreqToneTable, pktcSigDevMultiFreqToneEntry=pktcSigDevMultiFreqToneEntry, pktcSigDevToneNumber=pktcSigDevToneNumber, pktcSigDevToneFirstFreqValue=pktcSigDevToneFirstFreqValue, pktcSigDevToneSecondFreqValue=pktcSigDevToneSecondFreqValue, pktcSigDevToneThirdFreqValue=pktcSigDevToneThirdFreqValue, pktcSigDevToneFourthFreqValue=pktcSigDevToneFourthFreqValue, pktcSigDevToneFreqMode=pktcSigDevToneFreqMode, pktcSigDevToneFreqAmpModePrtg=pktcSigDevToneFreqAmpModePrtg, pktcSigDevToneDbLevel=pktcSigDevToneDbLevel, pktcSigDevToneFreqOnDuration=pktcSigDevToneFreqOnDuration, pktcSigDevToneFreqOffDuration=pktcSigDevToneFreqOffDuration, pktcSigDevToneFreqRepeatCount=pktcSigDevToneFreqRepeatCount, pktcSigDevCidDelayAfterLR=pktcSigDevCidDelayAfterLR, pktcSigDevCidDtmfStartCode=pktcSigDevCidDtmfStartCode, pktcSigDevCidDtmfEndCode=pktcSigDevCidDtmfEndCode, pktcSigDevVmwiSigProtocol=pktcSigDevVmwiSigProtocol, pktcSigDevVmwiDelayAfterLR=pktcSigDevVmwiDelayAfterLR, pktcSigDevVmwiDtmfStartCode=pktcSigDevVmwiDtmfStartCode, pktcSigDevVmwiDtmfEndCode=pktcSigDevVmwiDtmfEndCode, pktcSigDevrpAsDtsDuration=pktcSigDevrpAsDtsDuration, pktcSigEndPntConfigObjects=pktcSigEndPntConfigObjects, pktcSigEndPntConfigTable=pktcSigEndPntConfigTable, pktcSigEndPntConfigEntry=pktcSigEndPntConfigEntry, pktcSigEndPntConfigCallAgentId=pktcSigEndPntConfigCallAgentId, pktcSigEndPntConfigCallAgentUdpPort=pktcSigEndPntConfigCallAgentUdpPort, pktcSigEndPntConfigPartialDialTO=pktcSigEndPntConfigPartialDialTO, pktcSigEndPntConfigCriticalDialTO=pktcSigEndPntConfigCriticalDialTO, pktcSigEndPntConfigBusyToneTO=pktcSigEndPntConfigBusyToneTO, pktcSigEndPntConfigDialToneTO=pktcSigEndPntConfigDialToneTO, pktcSigEndPntConfigMessageWaitingTO=pktcSigEndPntConfigMessageWaitingTO, pktcSigEndPntConfigOffHookWarnToneTO=pktcSigEndPntConfigOffHookWarnToneTO, pktcSigEndPntConfigRingingTO=pktcSigEndPntConfigRingingTO, pktcSigEndPntConfigRingBackTO=pktcSigEndPntConfigRingBackTO, pktcSigEndPntConfigReorderToneTO=pktcSigEndPntConfigReorderToneTO, pktcSigEndPntConfigStutterDialToneTO=pktcSigEndPntConfigStutterDialToneTO, pktcSigEndPntConfigTSMax=pktcSigEndPntConfigTSMax, pktcSigEndPntConfigMax1=pktcSigEndPntConfigMax1, pktcSigEndPntConfigMax2=pktcSigEndPntConfigMax2, pktcSigEndPntConfigMax1QEnable=pktcSigEndPntConfigMax1QEnable, pktcSigEndPntConfigMax2QEnable=pktcSigEndPntConfigMax2QEnable, pktcSigEndPntConfigMWD=pktcSigEndPntConfigMWD, pktcSigEndPntConfigTdinit=pktcSigEndPntConfigTdinit, pktcSigEndPntConfigTdmin=pktcSigEndPntConfigTdmin, pktcSigEndPntConfigTdmax=pktcSigEndPntConfigTdmax, pktcSigEndPntConfigRtoMax=pktcSigEndPntConfigRtoMax, pktcSigEndPntConfigRtoInit=pktcSigEndPntConfigRtoInit, pktcSigEndPntConfigLongDurationKeepAlive=pktcSigEndPntConfigLongDurationKeepAlive, pktcSigEndPntConfigThist=pktcSigEndPntConfigThist, pktcSigEndPntConfigStatus=pktcSigEndPntConfigStatus, pktcSigEndPntConfigCallWaitingMaxRep=pktcSigEndPntConfigCallWaitingMaxRep, pktcSigEndPntConfigCallWaitingDelay=pktcSigEndPntConfigCallWaitingDelay, pktcSigEndPntStatusCallIpAddressType=pktcSigEndPntStatusCallIpAddressType, pktcSigEndPntStatusCallIpAddress=pktcSigEndPntStatusCallIpAddress, pktcSigEndPntStatusError=pktcSigEndPntStatusError, pktcSigEndPntConfigMinHookFlash=pktcSigEndPntConfigMinHookFlash, pktcSigEndPntConfigMaxHookFlash=pktcSigEndPntConfigMaxHookFlash, pktcSigEndPntConfigPulseDialInterdigitTime=pktcSigEndPntConfigPulseDialInterdigitTime, pktcSigEndPntConfigPulseDialMinMakeTime=pktcSigEndPntConfigPulseDialMinMakeTime, pktcSigEndPntConfigPulseDialMaxMakeTime=pktcSigEndPntConfigPulseDialMaxMakeTime, pktcSigEndPntConfigPulseDialMinBreakTime=pktcSigEndPntConfigPulseDialMinBreakTime, pktcSigEndPntConfigPulseDialMaxBreakTime=pktcSigEndPntConfigPulseDialMaxBreakTime, pktcSigConformance=pktcSigConformance, pktcSigCompliances=pktcSigCompliances, pktcSigGroups=pktcSigGroups) # Groups mibBuilder.exportSymbols("PKTC-IETF-SIG-MIB", pktcSigDeviceGroup=pktcSigDeviceGroup, pktcSigEndpointGroup=pktcSigEndpointGroup, pktcInternationalGroup=pktcInternationalGroup, pktcLLinePackageGroup=pktcLLinePackageGroup, pktcELinePackageGroup=pktcELinePackageGroup) # Compliances mibBuilder.exportSymbols("PKTC-IETF-SIG-MIB", pktcSigBasicCompliance=pktcSigBasicCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ISDN-MIB.py0000644000014400001440000010765711736645136020212 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ISDN-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:14 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAifType, ) = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( DisplayString, RowStatus, TextualConvention, TestAndIncr, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "TestAndIncr", "TimeStamp", "TruthValue") # Types class IsdnSignalingProtocol(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(25,6,5,17,16,7,15,14,13,12,10,11,9,20,22,21,19,1,2,24,3,8,4,23,18,) namedValues = NamedValues(("other", 1), ("ni2", 10), ("ni3", 11), ("vn2", 12), ("vn3", 13), ("vn4", 14), ("vn6", 15), ("kdd", 16), ("ins64", 17), ("ins1500", 18), ("itr6", 19), ("dss1", 2), ("cornet", 20), ("ts013", 21), ("ts014", 22), ("qsig", 23), ("swissnet2", 24), ("swissnet3", 25), ("etsi", 3), ("dass2", 4), ("ess4", 5), ("ess5", 6), ("dms100", 7), ("dms250", 8), ("ni1", 9), ) # Objects isdnMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 20)).setRevisions(("1996-09-23 16:42",)) if mibBuilder.loadTexts: isdnMib.setOrganization("IETF ISDN MIB Working Group") if mibBuilder.loadTexts: isdnMib.setContactInfo(" Guenter Roeck\nPostal: cisco Systems\n 170 West Tasman Drive\n San Jose, CA 95134\n U.S.A.\nPhone: +1 408 527 3143\nE-mail: groeck@cisco.com") if mibBuilder.loadTexts: isdnMib.setDescription("The MIB module to describe the\nmanagement of ISDN interfaces.") isdnMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 1)) isdnBasicRateGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 1, 1)) isdnBasicRateTable = MibTable((1, 3, 6, 1, 2, 1, 10, 20, 1, 1, 1)) if mibBuilder.loadTexts: isdnBasicRateTable.setDescription("Table containing configuration and operational\nparameters for all physical Basic Rate\ninterfaces on this managed device.") isdnBasicRateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 20, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: isdnBasicRateEntry.setDescription("An entry in the ISDN Basic Rate Table.") isdnBasicRateIfType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(75,76,)).subtype(namedValues=NamedValues(("isdns", 75), ("isdnu", 76), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnBasicRateIfType.setDescription("The physical interface type. For 'S/T' interfaces,\nalso called 'Four-wire Basic Access Interface',\nthe value of this object is isdns(75).\nFor 'U' interfaces, also called 'Two-wire Basic\nAccess Interface', the value of this object is\nisdnu(76).") isdnBasicRateLineTopology = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("pointToPoint", 1), ("pointToMultipoint", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnBasicRateLineTopology.setDescription("The line topology to be used for this interface.\nNote that setting isdnBasicRateIfType to isdns(75)\ndoes not necessarily mean a line topology of\npoint-to-multipoint.") isdnBasicRateIfMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("te", 1), ("nt", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnBasicRateIfMode.setDescription("The physical interface mode. For TE mode, the value\nof this object is te(1). For NT mode, the value\nof this object is nt(2).") isdnBasicRateSignalMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnBasicRateSignalMode.setDescription("The signaling channel operational mode for this interface.\nIf active(1) there is a signaling channel on this\ninterface. If inactive(2) a signaling channel is\nnot available.") isdnBearerGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 1, 2)) isdnBearerTable = MibTable((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1)) if mibBuilder.loadTexts: isdnBearerTable.setDescription("This table defines port specific operational, statistics\nand active call data for ISDN B channels. Each entry\nin this table describes one B (bearer) channel.") isdnBearerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: isdnBearerEntry.setDescription("Operational and statistics information relating to\none port. A port is a single B channel.") isdnBearerChannelType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("dialup", 1), ("leased", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnBearerChannelType.setDescription("The B channel type. If the B channel is connected\nto a dialup line, this object has a value of\ndialup(1). In this case, it is controlled by\nan associated signaling channel. If the B channel\nis connected to a leased line, this object has\na value of leased(2). For leased line B channels, there\nis no signaling channel control available.") isdnBearerOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("idle", 1), ("connecting", 2), ("connected", 3), ("active", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerOperStatus.setDescription("The current call control state for this port.\nidle(1): The B channel is idle.\n No call or call attempt is going on.\nconnecting(2): A connection attempt (outgoing call)\n is being made on this interface.\nconnected(3): An incoming call is in the process\n of validation.\nactive(4): A call is active on this interface.") isdnBearerChannelNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerChannelNumber.setDescription("The identifier being used by a signaling protocol\nto identify this B channel, also referred to as\nB channel number. If the Agent also supports the DS0 MIB,\nthe values of isdnBearerChannelNumber and dsx0Ds0Number\nmust be identical for a given B channel.") isdnBearerPeerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerPeerAddress.setDescription("The ISDN address the current or last call is or was\nconnected to.\n\nIn some cases, the format of this information can not\nbe predicted, since it largely depends on the type\nof switch or PBX the device is connected to. Therefore,\nthe detailed format of this information is not\nspecified and is implementation dependent.\n\nIf possible, the agent should supply this information\nusing the E.164 format. In this case, the number must\nstart with '+'. Otherwise, IA5 number digits must be used.\nIf the peer ISDN address is not available,\nthis object has a length of zero.") isdnBearerPeerSubAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerPeerSubAddress.setDescription("The ISDN subaddress the current or last call is or was\nconnected to.\n\nThe subaddress is an user supplied string of up to 20\nIA5 characters and is transmitted transparently through\nthe network.\n\nIf the peer subaddress is not available, this object\nhas a length of zero.") isdnBearerCallOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("originate", 2), ("answer", 3), ("callback", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerCallOrigin.setDescription("The call origin for the current or last call. If since\nsystem startup there was no call on this interface,\nthis object has a value of unknown(1).") isdnBearerInfoType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(8,2,3,4,1,7,5,6,9,)).subtype(namedValues=NamedValues(("unknown", 1), ("speech", 2), ("unrestrictedDigital", 3), ("unrestrictedDigital56", 4), ("restrictedDigital", 5), ("audio31", 6), ("audio7", 7), ("video", 8), ("packetSwitched", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerInfoType.setDescription("The Information Transfer Capability for the current\nor last call.\n\nspeech(2) refers to a non-data connection, whereas\naudio31(6) and audio7(7) refer to data mode connections.\n\nNote that Q.931, chapter 4.5.5, originally defined\naudio7(7) as '7 kHz audio' and now defines it as\n'Unrestricted digital information with tones/\nannouncements'.\n\nIf since system startup there has been no call on this\ninterface, this object has a value of unknown(1).") isdnBearerMultirate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerMultirate.setDescription("This flag indicates if the current or last call used\nmultirate. The actual information transfer rate,\nin detail specified in octet 4.1 (rate multiplier),\nis the sum of all B channel ifSpeed values for\nthe hyperchannel.\n\nIf since system startup there was no call on this\ninterface, this object has a value of false(2).") isdnBearerCallSetupTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerCallSetupTime.setDescription("The value of sysUpTime when the ISDN setup message for\nthe current or last call was sent or received. If since\nsystem startup there has been no call on this interface,\nthis object has a value of zero.") isdnBearerCallConnectTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerCallConnectTime.setDescription("The value of sysUpTime when the ISDN connect message for\nthe current or last call was sent or received. If since\nsystem startup there has been no call on this interface,\nthis object has a value of zero.") isdnBearerChargedUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 2, 1, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnBearerChargedUnits.setDescription("The number of charged units for the current or last\nconnection. For incoming calls or if charging information\nis not supplied by the switch, the value of this object\nis zero.") isdnSignalingGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 1, 3)) isdnSignalingGetIndex = MibScalar((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnSignalingGetIndex.setDescription("The recommended procedure for selecting a new index for\nisdnSignalingTable row creation is to GET the value of\nthis object, and then to SET the object with the same\nvalue. If the SET operation succeeds, the manager can use\nthis value as an index to create a new row in this table.") isdnSignalingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2)) if mibBuilder.loadTexts: isdnSignalingTable.setDescription("ISDN signaling table containing configuration and\noperational parameters for all ISDN signaling\nchannels on this managed device.") isdnSignalingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1)).setIndexNames((0, "ISDN-MIB", "isdnSignalingIndex")) if mibBuilder.loadTexts: isdnSignalingEntry.setDescription("An entry in the ISDN Signaling Table. To create a new\nentry, only isdnSignalingProtocol needs to be specified\nbefore isdnSignalingStatus can become active(1).") isdnSignalingIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: isdnSignalingIndex.setDescription("The index value which uniquely identifies an entry\nin the isdnSignalingTable.") isdnSignalingIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnSignalingIfIndex.setDescription("The ifIndex value of the interface associated with this\nsignaling channel.") isdnSignalingProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 3), IsdnSignalingProtocol()).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnSignalingProtocol.setDescription("The particular protocol type supported by the\nswitch providing access to the ISDN network\nto which this signaling channel is connected.") isdnSignalingCallingAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 4), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnSignalingCallingAddress.setDescription("The ISDN Address to be assigned to this signaling\nchannel. More specifically, this is the 'Calling Address\ninformation element' as being passed to the switch\nin outgoing call setup messages.\n\nIt can be an EAZ (1TR6), a calling number (DSS1, ETSI)\nor any other number necessary to identify a signaling\ninterface. If there is no such number defined or required,\nthis is a zero length string. It is represented in\nDisplayString form.\n\nIncoming calls can also be identified by this number.\nIf the Directory Number, i.e. the Called Number in\nincoming calls, is different to this number, the\nisdnDirectoryTable has to be used to specify all\npossible Directory Numbers.\n\nThe format of this information largely depends on the type\nof switch or PBX the device is connected to. Therefore,\nthe detailed format of this information is not\nspecified and is implementation dependent.\n\nIf possible, the agent should implement this information\nusing the E.164 number format. In this case, the number\nmust start with '+'. Otherwise, IA5 number digits must\nbe used.") isdnSignalingSubAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 5), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnSignalingSubAddress.setDescription("Supplementary information to the ISDN address assigned\nto this signaling channel. Usually, this is the\nsubaddress as defined in Q.931.\nIf there is no such number defined or required, this is\na zero length string.\nThe subaddress is used for incoming calls as well as\nfor outgoing calls.\nThe subaddress is an user supplied string of up to 20\nIA5 characters and is transmitted transparently through\nthe network.") isdnSignalingBchannelCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnSignalingBchannelCount.setDescription("The total number of B channels (bearer channels)\nmanaged by this signaling channel. The default value\nof this object depends on the physical interface type\nand is either 2 for Basic Rate interfaces or\n24 (30) for Primary Rate interfaces.") isdnSignalingInfoTrapEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnSignalingInfoTrapEnable.setDescription("Indicates whether isdnMibCallInformation traps\nshould be generated for calls on this signaling\nchannel.") isdnSignalingStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 2, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnSignalingStatus.setDescription("This object is used to create and delete rows in the\nisdnSignalingTable.") isdnSignalingStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 3)) if mibBuilder.loadTexts: isdnSignalingStatsTable.setDescription("ISDN signaling table containing statistics\ninformation for all ISDN signaling channels\non this managed device.\nOnly statistical information which is not already being\ncounted in the ifTable is being defined in this table.") isdnSignalingStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 3, 1)) if mibBuilder.loadTexts: isdnSignalingStatsEntry.setDescription("An entry in the ISDN Signaling statistics Table.") isdnSigStatsInCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnSigStatsInCalls.setDescription("The number of incoming calls on this interface.") isdnSigStatsInConnected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnSigStatsInConnected.setDescription("The number of incoming calls on this interface\nwhich were actually connected.") isdnSigStatsOutCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnSigStatsOutCalls.setDescription("The number of outgoing calls on this interface.") isdnSigStatsOutConnected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnSigStatsOutConnected.setDescription("The number of outgoing calls on this interface\nwhich were actually connected.") isdnSigStatsChargedUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnSigStatsChargedUnits.setDescription("The number of charging units on this interface since\nsystem startup.\nOnly the charging units applying to the local interface,\ni.e. for originated calls or for calls with 'Reverse\ncharging' being active, are counted here.") isdnLapdTable = MibTable((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 4)) if mibBuilder.loadTexts: isdnLapdTable.setDescription("Table containing configuration and statistics\ninformation for all LAPD (D channel Data Link)\ninterfaces on this managed device.\nOnly statistical information which is not already being\ncounted in the ifTable is being defined in this table.") isdnLapdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: isdnLapdEntry.setDescription("An entry in the LAPD Table.") isdnLapdPrimaryChannel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 4, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnLapdPrimaryChannel.setDescription("If set to true(1), this D channel is the designated\nprimary D channel if D channel backup is active.\nThere must be exactly one primary D channel\nconfigured. If D channel backup is not used, this\nobject has a value of true(1).") isdnLapdOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("inactive", 1), ("l1Active", 2), ("l2Active", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnLapdOperStatus.setDescription("The operational status of this interface:\n\ninactive all layers are inactive\nl1Active layer 1 is activated,\n layer 2 datalink not established\nl2Active layer 1 is activated,\n layer 2 datalink established.") isdnLapdPeerSabme = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnLapdPeerSabme.setDescription("The number of peer SABME frames received on this\ninterface. This is the number of peer-initiated\nnew connections on this interface.") isdnLapdRecvdFrmr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 3, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnLapdRecvdFrmr.setDescription("The number of LAPD FRMR response frames received.\nThis is the number of framing errors on this\ninterface.") isdnEndpointGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 1, 4)) isdnEndpointGetIndex = MibScalar((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: isdnEndpointGetIndex.setDescription("The recommended procedure for selecting a new index for\nisdnEndpointTable row creation is to GET the value of\nthis object, and then to SET the object with the same\nvalue. If the SET operation succeeds, the manager can use\nthis value as an index to create a new row in this table.") isdnEndpointTable = MibTable((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2)) if mibBuilder.loadTexts: isdnEndpointTable.setDescription("Table containing configuration for Terminal\nEndpoints.") isdnEndpointEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1)).setIndexNames((0, "ISDN-MIB", "isdnEndpointIndex")) if mibBuilder.loadTexts: isdnEndpointEntry.setDescription("An entry in the Terminal Endpoint Table. The value\nof isdnEndpointIfType must be supplied for a row\nin this table to become active.") isdnEndpointIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: isdnEndpointIndex.setDescription("The index value which uniquely identifies an entry\nin the isdnEndpointTable.") isdnEndpointIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: isdnEndpointIfIndex.setDescription("The ifIndex value of the interface associated with this\nTerminal Endpoint.") isdnEndpointIfType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1, 3), IANAifType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnEndpointIfType.setDescription("The interface type for this Terminal Endpoint.\nInterface types of x25ple(40) and isdn(63) are allowed.\nThe interface type is identical to the value of\nifType in the associated ifEntry.") isdnEndpointTeiType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("dynamic", 1), ("static", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnEndpointTeiType.setDescription("The type of TEI (Terminal Endpoint Identifier)\nused for this Terminal Endpoint. In case of dynamic(1),\nthe TEI value is selected by the switch. In\ncase of static(2), a valid TEI value has to be\nentered in the isdnEndpointTeiValue object.\nThe default value for this object depends on the\ninterface type as well as the Terminal Endpoint type.\nOn Primary Rate interfaces the default value is\nstatic(2). On Basic Rate interfaces the default value\nis dynamic(1) for isdn(63) Terminal Endpoints and\nstatic(2) for x25ple(40) Terminal Endpoints.") isdnEndpointTeiValue = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnEndpointTeiValue.setDescription("The TEI (Terminal Endpoint Identifier) value\nfor this Terminal Endpoint. If isdnEndpointTeiType\nis set to static(2), valid numbers are 0..63,\nwhile otherwise the value is set internally.\nThe default value of this object is 0 for static\nTEI assignment.\nThe default value for dynamic TEI assignment is also\n0 as long as no TEI has been assigned. After TEI\nassignment, the assigned TEI value is returned.") isdnEndpointSpid = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1, 6), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnEndpointSpid.setDescription("The Service profile IDentifier (SPID) information\nfor this Terminal Endpoint.\n\nThe SPID is composed of 9-20 numeric characters.\n\nThis information has to be defined in addition to\nthe local number for some switch protocol types,\ne.g. Bellcore NI-1 and NI-2.\n\nIf this object is not required, it is a\nzero length string.") isdnEndpointStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 4, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnEndpointStatus.setDescription("This object is used to create and delete rows in the\nisdnEndpointTable.") isdnDirectoryGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 1, 5)) isdnDirectoryTable = MibTable((1, 3, 6, 1, 2, 1, 10, 20, 1, 5, 1)) if mibBuilder.loadTexts: isdnDirectoryTable.setDescription("Table containing Directory Numbers.") isdnDirectoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 20, 1, 5, 1, 1)).setIndexNames((0, "ISDN-MIB", "isdnDirectoryIndex")) if mibBuilder.loadTexts: isdnDirectoryEntry.setDescription("An entry in the Directory Number Table. All objects\nin an entry must be set for a new row to become active.") isdnDirectoryIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: isdnDirectoryIndex.setDescription("The index value which uniquely identifies an entry\nin the isdnDirectoryTable.") isdnDirectoryNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 5, 1, 1, 2), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnDirectoryNumber.setDescription("A Directory Number. Directory Numbers are used\nto identify incoming calls on the signaling\nchannel given in isdnDirectorySigIndex.\n\nThe format of this information largely depends on the type\nof switch or PBX the device is connected to. Therefore,\nthe detailed format of this information is not\nspecified and is implementation dependent.\n\nIf possible, the agent should implement this information\nusing the E.164 number format. In this case, the number\nmust start with '+'. Otherwise, IA5 number digits must\nbe used.") isdnDirectorySigIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnDirectorySigIndex.setDescription("An index pointing to an ISDN signaling channel.\nIncoming calls are accepted on this\nsignaling channel if the isdnDirectoryNumber is\npresented as Called Number in the SETUP message.") isdnDirectoryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 20, 1, 5, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: isdnDirectoryStatus.setDescription("This object is used to create and delete rows in the\nisdnDirectoryTable.") isdnMibTrapPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 2)) isdnMibTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 2, 0)) isdnMibCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 2, 1)) isdnMibGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 20, 2, 2)) # Augmentions isdnSignalingEntry.registerAugmentions(("ISDN-MIB", "isdnSignalingStatsEntry")) isdnSignalingStatsEntry.setIndexNames(*isdnSignalingEntry.getIndexNames()) # Notifications isdnMibCallInformation = NotificationType((1, 3, 6, 1, 2, 1, 10, 20, 2, 0, 1)).setObjects(*(("ISDN-MIB", "isdnBearerOperStatus"), ("ISDN-MIB", "isdnBearerPeerSubAddress"), ("ISDN-MIB", "isdnBearerCallSetupTime"), ("ISDN-MIB", "isdnBearerCallOrigin"), ("ISDN-MIB", "isdnBearerPeerAddress"), ("IF-MIB", "ifIndex"), ("ISDN-MIB", "isdnBearerInfoType"), ) ) if mibBuilder.loadTexts: isdnMibCallInformation.setDescription("This trap/inform is sent to the manager under the\nfollowing condidions:\n- on incoming calls for each call which is rejected for\n policy reasons (e.g. unknown neighbor or access\n violation)\n- on outgoing calls whenever a call attempt is determined\n to have ultimately failed. In the event that call retry\n is active, then this will be after all retry attempts\n have failed.\n- whenever a call connects. In this case, the object\n isdnBearerCallConnectTime should be included in the\n trap.\n\nOnly one such trap is sent in between successful or\nunsuccessful call attempts from or to a single neighbor;\nsubsequent call attempts result in no trap.\n\nIf the Dial Control MIB objects dialCtlNbrCfgId and\ndialCtlNbrCfgIndex are known by the entity generating\nthis trap, both objects should be included in the trap\nas well. The receipt of this trap with no dial neighbor\ninformation indicates that the manager must poll the\ncallHistoryTable of the Dial Control MIB to see what\nchanged.") # Groups isdnMibBasicRateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 20, 2, 2, 1)).setObjects(*(("ISDN-MIB", "isdnBasicRateIfType"), ("ISDN-MIB", "isdnBasicRateIfMode"), ("ISDN-MIB", "isdnBasicRateLineTopology"), ("ISDN-MIB", "isdnBasicRateSignalMode"), ) ) if mibBuilder.loadTexts: isdnMibBasicRateGroup.setDescription("A collection of objects required for ISDN Basic Rate\nphysical interface configuration and statistics.") isdnMibBearerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 20, 2, 2, 2)).setObjects(*(("ISDN-MIB", "isdnBearerOperStatus"), ("ISDN-MIB", "isdnBearerPeerSubAddress"), ("ISDN-MIB", "isdnBearerCallSetupTime"), ("ISDN-MIB", "isdnBearerChannelNumber"), ("ISDN-MIB", "isdnBearerCallOrigin"), ("ISDN-MIB", "isdnBearerChannelType"), ("ISDN-MIB", "isdnBearerMultirate"), ("ISDN-MIB", "isdnBearerCallConnectTime"), ("ISDN-MIB", "isdnBearerPeerAddress"), ("ISDN-MIB", "isdnBearerChargedUnits"), ("ISDN-MIB", "isdnBearerInfoType"), ) ) if mibBuilder.loadTexts: isdnMibBearerGroup.setDescription("A collection of objects required for ISDN Bearer channel\ncontrol and statistics.") isdnMibSignalingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 20, 2, 2, 3)).setObjects(*(("ISDN-MIB", "isdnLapdPeerSabme"), ("ISDN-MIB", "isdnLapdOperStatus"), ("ISDN-MIB", "isdnSignalingCallingAddress"), ("ISDN-MIB", "isdnSigStatsOutCalls"), ("ISDN-MIB", "isdnLapdRecvdFrmr"), ("ISDN-MIB", "isdnLapdPrimaryChannel"), ("ISDN-MIB", "isdnSignalingGetIndex"), ("ISDN-MIB", "isdnSignalingStatus"), ("ISDN-MIB", "isdnSigStatsOutConnected"), ("ISDN-MIB", "isdnSigStatsChargedUnits"), ("ISDN-MIB", "isdnSignalingIfIndex"), ("ISDN-MIB", "isdnSigStatsInConnected"), ("ISDN-MIB", "isdnSigStatsInCalls"), ("ISDN-MIB", "isdnSignalingProtocol"), ("ISDN-MIB", "isdnSignalingBchannelCount"), ("ISDN-MIB", "isdnSignalingInfoTrapEnable"), ("ISDN-MIB", "isdnSignalingSubAddress"), ) ) if mibBuilder.loadTexts: isdnMibSignalingGroup.setDescription("A collection of objects required for ISDN D channel\nconfiguration and statistics.") isdnMibEndpointGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 20, 2, 2, 4)).setObjects(*(("ISDN-MIB", "isdnEndpointGetIndex"), ("ISDN-MIB", "isdnEndpointIfType"), ("ISDN-MIB", "isdnEndpointSpid"), ("ISDN-MIB", "isdnEndpointTeiType"), ("ISDN-MIB", "isdnEndpointIfIndex"), ("ISDN-MIB", "isdnEndpointTeiValue"), ("ISDN-MIB", "isdnEndpointStatus"), ) ) if mibBuilder.loadTexts: isdnMibEndpointGroup.setDescription("A collection of objects describing Terminal Endpoints.") isdnMibDirectoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 20, 2, 2, 5)).setObjects(*(("ISDN-MIB", "isdnDirectoryNumber"), ("ISDN-MIB", "isdnDirectoryStatus"), ("ISDN-MIB", "isdnDirectorySigIndex"), ) ) if mibBuilder.loadTexts: isdnMibDirectoryGroup.setDescription("A collection of objects describing directory numbers.") isdnMibNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 20, 2, 2, 6)).setObjects(*(("ISDN-MIB", "isdnMibCallInformation"), ) ) if mibBuilder.loadTexts: isdnMibNotificationsGroup.setDescription("The notifications which a ISDN MIB entity is\nrequired to implement.") # Compliances isdnMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 20, 2, 1, 1)).setObjects(*(("ISDN-MIB", "isdnMibEndpointGroup"), ("ISDN-MIB", "isdnMibNotificationsGroup"), ("ISDN-MIB", "isdnMibBasicRateGroup"), ("ISDN-MIB", "isdnMibDirectoryGroup"), ("ISDN-MIB", "isdnMibSignalingGroup"), ("ISDN-MIB", "isdnMibBearerGroup"), ) ) if mibBuilder.loadTexts: isdnMibCompliance.setDescription("The compliance statement for entities which implement\nthe ISDN MIB.") # Exports # Module identity mibBuilder.exportSymbols("ISDN-MIB", PYSNMP_MODULE_ID=isdnMib) # Types mibBuilder.exportSymbols("ISDN-MIB", IsdnSignalingProtocol=IsdnSignalingProtocol) # Objects mibBuilder.exportSymbols("ISDN-MIB", isdnMib=isdnMib, isdnMibObjects=isdnMibObjects, isdnBasicRateGroup=isdnBasicRateGroup, isdnBasicRateTable=isdnBasicRateTable, isdnBasicRateEntry=isdnBasicRateEntry, isdnBasicRateIfType=isdnBasicRateIfType, isdnBasicRateLineTopology=isdnBasicRateLineTopology, isdnBasicRateIfMode=isdnBasicRateIfMode, isdnBasicRateSignalMode=isdnBasicRateSignalMode, isdnBearerGroup=isdnBearerGroup, isdnBearerTable=isdnBearerTable, isdnBearerEntry=isdnBearerEntry, isdnBearerChannelType=isdnBearerChannelType, isdnBearerOperStatus=isdnBearerOperStatus, isdnBearerChannelNumber=isdnBearerChannelNumber, isdnBearerPeerAddress=isdnBearerPeerAddress, isdnBearerPeerSubAddress=isdnBearerPeerSubAddress, isdnBearerCallOrigin=isdnBearerCallOrigin, isdnBearerInfoType=isdnBearerInfoType, isdnBearerMultirate=isdnBearerMultirate, isdnBearerCallSetupTime=isdnBearerCallSetupTime, isdnBearerCallConnectTime=isdnBearerCallConnectTime, isdnBearerChargedUnits=isdnBearerChargedUnits, isdnSignalingGroup=isdnSignalingGroup, isdnSignalingGetIndex=isdnSignalingGetIndex, isdnSignalingTable=isdnSignalingTable, isdnSignalingEntry=isdnSignalingEntry, isdnSignalingIndex=isdnSignalingIndex, isdnSignalingIfIndex=isdnSignalingIfIndex, isdnSignalingProtocol=isdnSignalingProtocol, isdnSignalingCallingAddress=isdnSignalingCallingAddress, isdnSignalingSubAddress=isdnSignalingSubAddress, isdnSignalingBchannelCount=isdnSignalingBchannelCount, isdnSignalingInfoTrapEnable=isdnSignalingInfoTrapEnable, isdnSignalingStatus=isdnSignalingStatus, isdnSignalingStatsTable=isdnSignalingStatsTable, isdnSignalingStatsEntry=isdnSignalingStatsEntry, isdnSigStatsInCalls=isdnSigStatsInCalls, isdnSigStatsInConnected=isdnSigStatsInConnected, isdnSigStatsOutCalls=isdnSigStatsOutCalls, isdnSigStatsOutConnected=isdnSigStatsOutConnected, isdnSigStatsChargedUnits=isdnSigStatsChargedUnits, isdnLapdTable=isdnLapdTable, isdnLapdEntry=isdnLapdEntry, isdnLapdPrimaryChannel=isdnLapdPrimaryChannel, isdnLapdOperStatus=isdnLapdOperStatus, isdnLapdPeerSabme=isdnLapdPeerSabme, isdnLapdRecvdFrmr=isdnLapdRecvdFrmr, isdnEndpointGroup=isdnEndpointGroup, isdnEndpointGetIndex=isdnEndpointGetIndex, isdnEndpointTable=isdnEndpointTable, isdnEndpointEntry=isdnEndpointEntry, isdnEndpointIndex=isdnEndpointIndex, isdnEndpointIfIndex=isdnEndpointIfIndex, isdnEndpointIfType=isdnEndpointIfType, isdnEndpointTeiType=isdnEndpointTeiType, isdnEndpointTeiValue=isdnEndpointTeiValue, isdnEndpointSpid=isdnEndpointSpid, isdnEndpointStatus=isdnEndpointStatus, isdnDirectoryGroup=isdnDirectoryGroup, isdnDirectoryTable=isdnDirectoryTable, isdnDirectoryEntry=isdnDirectoryEntry, isdnDirectoryIndex=isdnDirectoryIndex, isdnDirectoryNumber=isdnDirectoryNumber, isdnDirectorySigIndex=isdnDirectorySigIndex, isdnDirectoryStatus=isdnDirectoryStatus, isdnMibTrapPrefix=isdnMibTrapPrefix, isdnMibTraps=isdnMibTraps, isdnMibCompliances=isdnMibCompliances, isdnMibGroups=isdnMibGroups) # Notifications mibBuilder.exportSymbols("ISDN-MIB", isdnMibCallInformation=isdnMibCallInformation) # Groups mibBuilder.exportSymbols("ISDN-MIB", isdnMibBasicRateGroup=isdnMibBasicRateGroup, isdnMibBearerGroup=isdnMibBearerGroup, isdnMibSignalingGroup=isdnMibSignalingGroup, isdnMibEndpointGroup=isdnMibEndpointGroup, isdnMibDirectoryGroup=isdnMibDirectoryGroup, isdnMibNotificationsGroup=isdnMibNotificationsGroup) # Compliances mibBuilder.exportSymbols("ISDN-MIB", isdnMibCompliance=isdnMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/FR-ATM-PVC-SERVICE-IWF-MIB.py0000644000014400001440000010101211736645136022525 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FR-ATM-PVC-SERVICE-IWF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:00 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( atmVclEntry, ) = mibBuilder.importSymbols("ATM-MIB", "atmVclEntry") ( AtmVcIdentifier, AtmVpIdentifier, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmVcIdentifier", "AtmVpIdentifier") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowStatus, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TimeStamp") # Objects frAtmIwfMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 86)).setRevisions(("2000-09-28 00:00",)) if mibBuilder.loadTexts: frAtmIwfMIB.setOrganization("IETF Frame Relay Service MIB Working Group") if mibBuilder.loadTexts: frAtmIwfMIB.setContactInfo("WG Charter:\nhttp://www.ietf.org/html.charters/frnetmib-charter\nWG-email:\nfrnetmib@sunroof.eng.sun.com\nSubscribe:\nfrnetmib-request@sunroof.eng.sun.com\nEmail Archive:\nftp://ftp.ietf.org/ietf-mail-archive/frnetmib\n\nChair: Andy Malis\n Vivace Networks, Inc.\nEmail: Andy.Malis@vivacenetworks.com\n\nWG editor: Kenneth Rehbehn\n Megisto Systems, Inc.\nEmail: krehbehn@megisto.com\n\nCo-author: Orly Nicklass\n RAD Data Communications Ltd.\nEMail: orly_n@rad.co.il\n\nCo-author: George Mouradian\n AT&T Labs\nEMail: gvm@att.com") if mibBuilder.loadTexts: frAtmIwfMIB.setDescription("The MIB module for monitoring and controlling the\nFrame Relay/ATM PVC Service Interworking\nFunction.") frAtmIwfMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 86, 1)) frAtmIwfConnIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 86, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnIndexNext.setDescription("This object contains an appropriate value to be\nused for frAtmIwfConnIndex when creating entries\nin the frAtmIwfConnectionTable. The value 0\nindicates that no unassigned entries are\navailable. To obtain the frAtmIwfConnIndexNext\nvalue for a new entry, the manager issues a\nmanagement protocol retrieval operation to obtain\nthe current value of this object. After each\nretrieval, the agent should modify the value to\nthe next unassigned index.") frAtmIwfConnectionTable = MibTable((1, 3, 6, 1, 2, 1, 86, 1, 2)) if mibBuilder.loadTexts: frAtmIwfConnectionTable.setDescription("A table in which each row represents a Frame\nRelay/ATM interworking connection.") frAtmIwfConnectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 86, 1, 2, 1)).setIndexNames((0, "FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnIndex"), (0, "FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnAtmPort"), (0, "FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnVpi"), (0, "FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnVci"), (0, "FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnFrPort"), (0, "FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnDlci")) if mibBuilder.loadTexts: frAtmIwfConnectionEntry.setDescription("The FrAtmIwfConnectionEntry provides an entry for\nan interworking connection between a frame relay\nPVC and one or more ATM PVCs, or an ATM PVC and\none or more frame relay PVCs. A single frame\nrelay PVC connected to a single ATM PVC is\nreferred to as a `point-to-point' connection and\nis represented by a single row in the FR/ATM IWF\nConnection Table. The case of a single frame\nrelay PVC connected to multiple ATM PVCs (or\nsingle ATM PVC connected to multiple frame relay\nPVCs) is referred to as a `point-to-multipoint'\nconnection and is represented by multiple rows in\nthe FR/ATM IWF Connection Table.\n\nThe object frAtmIwfConnIndex uniquely identifies\neach point-to-point or point-to-multipoint\nconnection. The manager obtains the\nfrAtmIwfConnIndex value by reading the\nfrAtmIwfConnIndexNext object.\n\nAfter a frAtmIwfConnIndex is assigned for the\nconnection, the manager creates one or more rows\nin the Cross Connect Table; one for each cross-\nconnection between the frame relay PVC and an ATM\nPVC. In the case of `point-to-multipoint'\nconnections, all rows are indexed by the same\nfrAtmIwfConnIndex value and MUST refer to the same\nframe relay PVC or ATM PVC respectively. An entry\ncan be created only when at least one pair of\nframe relay and ATM PVCs exist.\n\nA row can be established by one-step set-request\nwith all required parameter values and\nfrAtmIwfConnRowStatus set to createAndGo(4). The\n\n\nAgent should perform all error checking as needed.\nA pair of cross-connected PVCs, as identified by a\nparticular value of the indexes, is released by\nsetting frAtmIwfConnRowStatus to destroy(6). The\nAgent may release all associated resources. The\nmanager may remove the related PVCs thereafter.\nIndexes are persistent across reboots of the\nsystem.") frAtmIwfConnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAtmIwfConnIndex.setDescription("A unique value for each point-to-point or point-\nto-multipoint connection. The manager obtains the\nfrAtmIwfConnIndex value by reading the\n\n\nfrAtmIwfConnIndexNext object. A point-to-\nmultipoint connection will be represented in the\nfrAtmIwfConnectionTable with multiple entries that\nshare the same frAtmIwfConnIndex value.") frAtmIwfConnAtmPort = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAtmIwfConnAtmPort.setDescription("The index in the ifTable that identifies the ATM\nport for this interworking connection.") frAtmIwfConnVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 3), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAtmIwfConnVpi.setDescription("The VPI of the ATM PVC end point for this\ninterworking connection.") frAtmIwfConnVci = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 4), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAtmIwfConnVci.setDescription("The VCI of the ATM PVC end point for this\ninterworking\n connection.") frAtmIwfConnFrPort = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 5), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAtmIwfConnFrPort.setDescription("The index in the ifTable that identifies the\nframe relay port for this interworking\nconnection.") frAtmIwfConnDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4194303))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAtmIwfConnDlci.setDescription("The DLCI that identifies the frame relay PVC end\npoint for this interworking connection.") frAtmIwfConnRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnRowStatus.setDescription("The table row may be created with\n'createAndWait(5)' or 'createAndGo(4)'.\nTo activate a connection entry, a valid connection\ndescriptor MUST be established in the\nfrAtmIwfConnectionDescriptor object.\n\nThis object is set to 'destroy(6)' to delete the\ntable row. Before the table row is destroyed, the\nOperStatus/AdminStatus of the corresponding\nendpoints MUST be 'down(2)'. The deactivation of\nthe ATM endpoint MAY occur as a side-effect of\ndeleting the FR/ATM IWF cross-connection table\nrow. Otherwise, 'destroy(6)' operation MUST fail\n(error code 'inconsistentValue').") frAtmIwfConnAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnAdminStatus.setDescription("The desired operational state for this FR/ATM\ninterworked connection.\n\nup(1) = Activate the connection. Before the\n activation can be completed, the\n OperStatus/AdminStatus of the\n corresponding endpoints MUST be\n 'up(1)'. The activation of the\n corresponding endpoints MAY occur as\n a side-effect of activating the\n FR/ATM IWF cross-connection.\n\ndown(2) = Deactivate the connection. Before\n the deactivation can be completed,\n the atmVclAdminStatus of the\n corresponding ATM endpoint MUST be\n 'down(2)'. The deactivation of the\n\n\n ATM endpoint MAY occur as a\n side-effect of deactivating the\n FR/ATM IWF cross-connection.") frAtmIwfConnAtm2FrOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnAtm2FrOperStatus.setDescription("The current operational state of this\ninterworking connection in the ATM to frame\nrelay direction.") frAtmIwfConnAtm2FrLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnAtm2FrLastChange.setDescription("The value of sysUpTime at the time this\ninterworking connection entered its current\noperational state in the ATM to FR direction. If\nthe current state was entered prior to the last\nre-initialization of the local network management\nsubsystem, then this object contains a zero\nvalue.") frAtmIwfConnFr2AtmOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnFr2AtmOperStatus.setDescription("The current operational state of this\ninterworking connection in the frame relay\nto ATM direction.") frAtmIwfConnFr2AtmLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 12), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnFr2AtmLastChange.setDescription("The value of sysUpTime at the time this\ninterworking connection entered its current\noperational state in the FR to ATM direction. If\nthe current state was entered prior to the last\n\n\nre-initialization of the local network management\nsubsystem, then this object contains a zero\nvalue.") frAtmIwfConnectionDescriptor = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 13), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnectionDescriptor.setDescription("The value represents a pointer to the relevant\ndescriptor in the IWF descriptor table. An\nattempt to set this value to an inactive or non-\nexistent row in the Connection Descriptor Table\nMUST fail (error code 'inconsistentValue').") frAtmIwfConnFailedFrameTranslate = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnFailedFrameTranslate.setDescription("This object counts the number of frames discarded\nby the IWF because, while operating in Translation\nMode, the IWF is unable to decode the incoming\nframe payload header according to the mapping\nrules. (i.e., payload header not recognized by the\nIWF).\n\nFrame relay frames are received in the frame relay\nto ATM direction of the PVC.\n\nWhen operating in Transparent Mode, the IWF MUST\nreturn noSuchInstance.") frAtmIwfConnOverSizedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnOverSizedFrames.setDescription("Count of frames discarded by the IWF because the\nframe is too large to be processed by the AAL5\nsegmentation procedure. Specifically, the frame\n\n\ndoes not conform to the size specified in the\natmVccAal5CpcsTransmitSduSize object associated\nwith the atmVclEntry at the ATM endpoint.\nFrame relay frames are received in the frame relay\nto ATM direction of the PVC.") frAtmIwfConnFailedAal5PduTranslate = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnFailedAal5PduTranslate.setDescription("This attribute counts the number of AAL5 PDUs\ndiscarded by the IWF because, while operating in\nTranslation Mode, the IWF is unable to decode the\nincoming AAL5 PDU payload header according to the\nmapping rules. (i.e., payload header not\nrecognized by the IWF).\n\nAAL5 PDUs are received in the ATM to frame relay\ndirection of the PVC.\n\nWhen operating in Transparent Mode, the IWF MUST\nreturn noSuchInstance.") frAtmIwfConnOverSizedSDUs = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnOverSizedSDUs.setDescription("Count of AAL5 SDUs discarded by the IWF because\nthe SDU is too large to be forwarded on the frame\nrelay segment of the connection. Specifically,\nthe frame does not conform to the size specified\nin the frLportFragSize object of the FRS MIB [19].\n\nAAL5 PDUs are received in the ATM to frame relay\ndirection of the PVC.") frAtmIwfConnCrcErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnCrcErrors.setDescription("The number of AAL5 CPCS PDUs received with CRC-32\nerrors on this AAL5 VCC at the IWF.\n\nAAL5 PDUs are received in the ATM to frame relay\ndirection of the PVC.") frAtmIwfConnSarTimeOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnSarTimeOuts.setDescription("The number of partially re-assembled AAL5 CPCS\nPDUs which were discarded on this AAL5 VCC at the\nIWF because they were not fully re-assembled\nwithin the required time period. If the re-\nassembly timer is not supported, then this object\ncontains a zero value.\n\nAAL5 PDUs are received in the ATM to frame relay\ndirection of the PVC.") frAtmIwfConnectionDescriptorIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 86, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfConnectionDescriptorIndexNext.setDescription("This object contains an appropriate value to be\nused for frAtmIwfConnectionDescriptorIndex when\ncreating entries in the\nfrAtmIwfConnectionDescriptorTable. The value 0\nindicates that no unassigned entries are\navailable. To obtain the\nfrAtmIwfConnectionDescriptorIndexNext value for a\nnew entry, the manager issues a management\nprotocol retrieval operation to obtain the current\nvalue of this object. After each retrieval, the\nagent should modify the value to the next\nunassigned index.") frAtmIwfConnectionDescriptorTable = MibTable((1, 3, 6, 1, 2, 1, 86, 1, 4)) if mibBuilder.loadTexts: frAtmIwfConnectionDescriptorTable.setDescription("A table in which each row represents a descriptor\nfor one type of Frame Relay/ATM interworking\nconnection. A descriptor may be assigned to zero\nor more FR/ATM PVC service IWF connections.") frAtmIwfConnectionDescriptorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 86, 1, 4, 1)).setIndexNames((0, "FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnectionDescriptorIndex")) if mibBuilder.loadTexts: frAtmIwfConnectionDescriptorEntry.setDescription("An entry for a descriptor in an interworking\nconnection between a frame relay PVC and an ATM\nPVC.") frAtmIwfConnectionDescriptorIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAtmIwfConnectionDescriptorIndex.setDescription("A unique value to identify a descriptor in the\ntable ") frAtmIwfConnDescriptorRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnDescriptorRowStatus.setDescription("The status of this table row. This object is\nused to create or delete an entry in the\ndescriptor table.\n\nCreation of the row requires a row index (see\nfrAtmIwfConnectionDescriptorIndexNext). If not\nexplicitly set or in existence, all other columns\nof the row will be created and initialized to the\ndefault value. During creation, this object MAY\nbe set to 'createAndGo(4)' or 'createAndWait(5)'.\nThe object MUST contain the value 'active(1)'\nbefore any connection table entry references the\nrow.\n\nTo destroy a row in this table, this object is set\nto the 'destroy(6)' action. Row destruction MUST\nfail (error code 'inconsistentValue') if any\nconnection references the row.") frAtmIwfConnDeToClpMappingMode = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("mode1", 1), ("mode2Const0", 2), ("mode2Const1", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnDeToClpMappingMode.setDescription("This object describes which mode of translation\nis in use for loss priority mapping in the frame\n\n\nrelay to ATM direction.\n\nmode1(1) = the DE field in the Q.922 core\n frame shall be mapped to the ATM\n CLP field of every cell\n generated by the segmentation\n process of the AAL5 PDU\n containing the information of\n that frame.\n\nmode2Contst0(2) = the ATM CLP field of every cell\n generated by the segmentation\n process of the AAL5 PDU\n containing the information of\n that frame shall be set to\n constant 0.\n\nmode2Contst1(3) = the ATM CLP field of every cell\n generated by the segmentation\n process of the AAL5 PDU\n containing the information of\n that frame shall be set to\n constant 1.") frAtmIwfConnClpToDeMappingMode = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("mode1", 1), ("mode2Const0", 2), ("mode2Const1", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnClpToDeMappingMode.setDescription("This object describes which mode of translation\nis in use for loss priority mapping in the ATM to\nframe relay direction.\n\nmode1(1) = if one or more cells in a frame\n has its CLP field set, the DE\n field of the Q.922 core frame\n should be set.\n\nmode2Const0(2) = the DE field of the Q.922 core\n frame should be set to the\n\n\n constant 0.\n\nmode2Const1(3) = the DE field of the Q.922 core\n frame should be set to the\n constant 1.") frAtmIwfConnCongestionMappingMode = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("mode1", 1), ("mode2", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnCongestionMappingMode.setDescription("This object describes which mode of translation\nis in use for forward congestion indication\nmapping in the frame relay to ATM direction.\n\nmode1(1) = The FECN field in the Q.922 core frame\n shall be mapped to the ATM EFCI field\n of every cell generated by the\n segmentation process of the AAL5 PDU\n containing the information of that\n frame.\n\nmode2(2) = The FECN field in the Q.922 core frame\n shall not be mapped to the ATM EFCI\n field of cells generated by the\n segmentation process of the AAL5 PDU\n containing the information of that\n frame. The EFCI field is always set to\n 'congestion not experienced'.\n\nIn both of the modes above, if there is congestion\nin the forward direction in the ATM layer within\nthe IWF, then the IWF can set the EFCI field to\n'congestion experienced'.") frAtmIwfConnEncapsulationMappingMode = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("transparentMode", 1), ("translationMode", 2), ("translationModeAll", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnEncapsulationMappingMode.setDescription("This object indicates whether the mapping of\nupper layer protocol encapsulation is enabled on\nthis interworking connection.\n\ntransparentMode(1) = Forward the encapsulations\n unaltered.\n\ntranslationMode(2) = Perform mapping between the\n two encapsulations due to the\n incompatibilities of the two\n methods. Mapping is provided\n for a subset of the potential\n encapsulations as itemized in\n frAtmIwfConnEncapsulationMapp\n ings.\n\ntranslationModeAll(3) = Perform mapping between\n the two encapsulations due to\n the incompatibilities of the\n two methods. All\n encapsulations are\n translated.") frAtmIwfConnEncapsulationMappings = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 7), Bits().subtype(namedValues=NamedValues(("none", 0), ("bridgedPdus", 1), ("bridged802dot6", 2), ("bPdus", 3), ("routedIp", 4), ("routedOsi", 5), ("otherRouted", 6), ("x25Iso8202", 7), ("q933q2931", 8), )).clone(("none",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnEncapsulationMappings.setDescription("If upper layer protocol encapsulation mapping is\nenabled on this interworking connection, then this\nattribute enumerates which of the encapsulation\nmappings are supported.\n\nnone(0) = Transparent mode operation\nbridgedPdus(1) = PID: 0x00-01,-07,-02 or -08\nbridged802dot6(2) = PID: 0x00-0B\nbPdus(3) = PID: 0x00-0E or -0F\nroutedIp(4) = NLPID: OxCC\nroutedOsi(5) = NLPID: Ox81, 0x82 or 0x83\notherRouted(6) = Other routed protocols\nx25Iso8202(7) = X25\nq933q2931(8) = Q.933 and Q.2931") frAtmIwfConnFragAndReassEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnFragAndReassEnabled.setDescription("The attribute indicates whether fragmentation and\nreassembly is enabled for this connection.") frAtmIwfConnArpTranslationEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 4, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frAtmIwfConnArpTranslationEnabled.setDescription("The attribute indicates whether ARP translation\nis enabled for this connection.") frAtmIwfVclTable = MibTable((1, 3, 6, 1, 2, 1, 86, 1, 5)) if mibBuilder.loadTexts: frAtmIwfVclTable.setDescription("The FR/ATM IWF VCL Table augments the ATM MIB VCL\nEndpoint table.") frAtmIwfVclEntry = MibTableRow((1, 3, 6, 1, 2, 1, 86, 1, 5, 1)) if mibBuilder.loadTexts: frAtmIwfVclEntry.setDescription("Entries in this table are created only by the\nagent. One entry exists for each ATM VCL managed\nby the agent.") frAtmIwfVclCrossConnectIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 86, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: frAtmIwfVclCrossConnectIdentifier.setDescription("This object contains the index value of the\nFR/ATM cross-connect table entry used to link the\nATM VCL with a frame relay PVC.\n\nEach row of the atmVclTable that is not cross-\nconnected with a frame relay PVC MUST return the\nvalue zero when this object is read.\n\nIn the case of (frame relay) point to (ATM)\nmultipoint, multiple ATM VCLs will have the same\nvalue of this object, and all their cross-\nconnections are identified by entries that are\nindexed by the same value of\nfrAtmIwfVclCrossConnectIdentifier in the\nfrAtmIwfConnectionTable of this MIB module.\n\nThe value of this object is initialized by the\nagent after the associated entries in the\nfrAtmIwfConnectionTable have been created.") frAtmIwfTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 86, 2)) frAtmIwfTrapsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 86, 2, 0)) frAtmIwfConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 86, 3)) frAtmIwfGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 86, 3, 1)) frAtmIwfCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 86, 3, 2)) # Augmentions atmVclEntry, = mibBuilder.importSymbols("ATM-MIB", "atmVclEntry") atmVclEntry.registerAugmentions(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfVclEntry")) frAtmIwfVclEntry.setIndexNames(*atmVclEntry.getIndexNames()) # Notifications frAtmIwfConnStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 86, 2, 0, 1)).setObjects(*(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnAdminStatus"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnFr2AtmOperStatus"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnAtm2FrOperStatus"), ) ) if mibBuilder.loadTexts: frAtmIwfConnStatusChange.setDescription("An indication that the status of this\ninterworking connection has changed.") # Groups frAtmIwfBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 86, 3, 1, 1)).setObjects(*(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnCrcErrors"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnOverSizedSDUs"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnAtm2FrLastChange"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnFr2AtmLastChange"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnFailedFrameTranslate"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnSarTimeOuts"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnFailedAal5PduTranslate"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnFr2AtmOperStatus"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnOverSizedFrames"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnectionDescriptor"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnAtm2FrOperStatus"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnRowStatus"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnAdminStatus"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnIndexNext"), ) ) if mibBuilder.loadTexts: frAtmIwfBasicGroup.setDescription("The collection of basic objects for configuration\nand control of FR/ATM interworking connections.") frAtmIwfConnectionDescriptorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 86, 3, 1, 2)).setObjects(*(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnDescriptorRowStatus"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnCongestionMappingMode"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnEncapsulationMappingMode"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnClpToDeMappingMode"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnDeToClpMappingMode"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnEncapsulationMappings"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnectionDescriptorIndexNext"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnArpTranslationEnabled"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnFragAndReassEnabled"), ) ) if mibBuilder.loadTexts: frAtmIwfConnectionDescriptorGroup.setDescription("The collection of basic objects for specification\nof FR/ATM interworking connection descriptors.") frAtmIwfAtmVclTableAugmentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 86, 3, 1, 3)).setObjects(*(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfVclCrossConnectIdentifier"), ) ) if mibBuilder.loadTexts: frAtmIwfAtmVclTableAugmentGroup.setDescription("The ATM MIB VCL Endpoint Table AUGMENT object\ncontained in the FR/ATM PVC Service Interworking\nMIB.") frAtmIwfNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 86, 3, 1, 4)).setObjects(*(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnStatusChange"), ) ) if mibBuilder.loadTexts: frAtmIwfNotificationsGroup.setDescription("The notification for FR/ATM interworking status\nchange.") # Compliances frAtmIwfEquipmentCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 86, 3, 2, 1)).setObjects(*(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnectionDescriptorGroup"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfNotificationsGroup"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfAtmVclTableAugmentGroup"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfBasicGroup"), ) ) if mibBuilder.loadTexts: frAtmIwfEquipmentCompliance.setDescription("The compliance statement for equipment that\nimplements the FR/ATM Interworking MIB.") frAtmIwfServiceCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 86, 3, 2, 2)).setObjects(*(("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfConnectionDescriptorGroup"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfNotificationsGroup"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfAtmVclTableAugmentGroup"), ("FR-ATM-PVC-SERVICE-IWF-MIB", "frAtmIwfBasicGroup"), ) ) if mibBuilder.loadTexts: frAtmIwfServiceCompliance.setDescription("The compliance statement for a CNM interface that\nimplements the FR/ATM Interworking MIB.") # Exports # Module identity mibBuilder.exportSymbols("FR-ATM-PVC-SERVICE-IWF-MIB", PYSNMP_MODULE_ID=frAtmIwfMIB) # Objects mibBuilder.exportSymbols("FR-ATM-PVC-SERVICE-IWF-MIB", frAtmIwfMIB=frAtmIwfMIB, frAtmIwfMIBObjects=frAtmIwfMIBObjects, frAtmIwfConnIndexNext=frAtmIwfConnIndexNext, frAtmIwfConnectionTable=frAtmIwfConnectionTable, frAtmIwfConnectionEntry=frAtmIwfConnectionEntry, frAtmIwfConnIndex=frAtmIwfConnIndex, frAtmIwfConnAtmPort=frAtmIwfConnAtmPort, frAtmIwfConnVpi=frAtmIwfConnVpi, frAtmIwfConnVci=frAtmIwfConnVci, frAtmIwfConnFrPort=frAtmIwfConnFrPort, frAtmIwfConnDlci=frAtmIwfConnDlci, frAtmIwfConnRowStatus=frAtmIwfConnRowStatus, frAtmIwfConnAdminStatus=frAtmIwfConnAdminStatus, frAtmIwfConnAtm2FrOperStatus=frAtmIwfConnAtm2FrOperStatus, frAtmIwfConnAtm2FrLastChange=frAtmIwfConnAtm2FrLastChange, frAtmIwfConnFr2AtmOperStatus=frAtmIwfConnFr2AtmOperStatus, frAtmIwfConnFr2AtmLastChange=frAtmIwfConnFr2AtmLastChange, frAtmIwfConnectionDescriptor=frAtmIwfConnectionDescriptor, frAtmIwfConnFailedFrameTranslate=frAtmIwfConnFailedFrameTranslate, frAtmIwfConnOverSizedFrames=frAtmIwfConnOverSizedFrames, frAtmIwfConnFailedAal5PduTranslate=frAtmIwfConnFailedAal5PduTranslate, frAtmIwfConnOverSizedSDUs=frAtmIwfConnOverSizedSDUs, frAtmIwfConnCrcErrors=frAtmIwfConnCrcErrors, frAtmIwfConnSarTimeOuts=frAtmIwfConnSarTimeOuts, frAtmIwfConnectionDescriptorIndexNext=frAtmIwfConnectionDescriptorIndexNext, frAtmIwfConnectionDescriptorTable=frAtmIwfConnectionDescriptorTable, frAtmIwfConnectionDescriptorEntry=frAtmIwfConnectionDescriptorEntry, frAtmIwfConnectionDescriptorIndex=frAtmIwfConnectionDescriptorIndex, frAtmIwfConnDescriptorRowStatus=frAtmIwfConnDescriptorRowStatus, frAtmIwfConnDeToClpMappingMode=frAtmIwfConnDeToClpMappingMode, frAtmIwfConnClpToDeMappingMode=frAtmIwfConnClpToDeMappingMode, frAtmIwfConnCongestionMappingMode=frAtmIwfConnCongestionMappingMode, frAtmIwfConnEncapsulationMappingMode=frAtmIwfConnEncapsulationMappingMode, frAtmIwfConnEncapsulationMappings=frAtmIwfConnEncapsulationMappings, frAtmIwfConnFragAndReassEnabled=frAtmIwfConnFragAndReassEnabled, frAtmIwfConnArpTranslationEnabled=frAtmIwfConnArpTranslationEnabled, frAtmIwfVclTable=frAtmIwfVclTable, frAtmIwfVclEntry=frAtmIwfVclEntry, frAtmIwfVclCrossConnectIdentifier=frAtmIwfVclCrossConnectIdentifier, frAtmIwfTraps=frAtmIwfTraps, frAtmIwfTrapsPrefix=frAtmIwfTrapsPrefix, frAtmIwfConformance=frAtmIwfConformance, frAtmIwfGroups=frAtmIwfGroups, frAtmIwfCompliances=frAtmIwfCompliances) # Notifications mibBuilder.exportSymbols("FR-ATM-PVC-SERVICE-IWF-MIB", frAtmIwfConnStatusChange=frAtmIwfConnStatusChange) # Groups mibBuilder.exportSymbols("FR-ATM-PVC-SERVICE-IWF-MIB", frAtmIwfBasicGroup=frAtmIwfBasicGroup, frAtmIwfConnectionDescriptorGroup=frAtmIwfConnectionDescriptorGroup, frAtmIwfAtmVclTableAugmentGroup=frAtmIwfAtmVclTableAugmentGroup, frAtmIwfNotificationsGroup=frAtmIwfNotificationsGroup) # Compliances mibBuilder.exportSymbols("FR-ATM-PVC-SERVICE-IWF-MIB", frAtmIwfEquipmentCompliance=frAtmIwfEquipmentCompliance, frAtmIwfServiceCompliance=frAtmIwfServiceCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.py0000644000014400001440000000531411736645136023323 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-ADDRESS-FAMILY-NUMBERS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:04 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class AddressFamilyNumbers(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(65535,4,11,10,17,25,15,23,13,0,8,16,20,19,9,12,1,2,22,14,21,3,24,18,6,5,7,) namedValues = NamedValues(("other", 0), ("ipV4", 1), ("x121", 10), ("ipx", 11), ("appleTalk", 12), ("decnetIV", 13), ("banyanVines", 14), ("e164withNsap", 15), ("dns", 16), ("distinguishedName", 17), ("asNumber", 18), ("xtpOverIpv4", 19), ("ipV6", 2), ("xtpOverIpv6", 20), ("xtpNativeModeXTP", 21), ("fibreChannelWWPN", 22), ("fibreChannelWWNN", 23), ("gwid", 24), ("afi", 25), ("nsap", 3), ("hdlc", 4), ("bbn1822", 5), ("all802", 6), ("reserved", 65535), ("e163", 7), ("e164", 8), ("f69", 9), ) # Objects ianaAddressFamilyNumbers = ModuleIdentity((1, 3, 6, 1, 2, 1, 72)).setRevisions(("2002-03-14 00:00","2000-09-08 00:00","2000-03-01 00:00","2000-02-04 00:00","1999-08-26 00:00",)) if mibBuilder.loadTexts: ianaAddressFamilyNumbers.setOrganization("IANA") if mibBuilder.loadTexts: ianaAddressFamilyNumbers.setContactInfo("Postal: Internet Assigned Numbers Authority\nInternet Corporation for Assigned Names\n and Numbers\n4676 Admiralty Way, Suite 330\nMarina del Rey, CA 90292-6601\nUSA\n\nTel: +1 310-823-9358\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaAddressFamilyNumbers.setDescription("The MIB module defines the AddressFamilyNumbers\ntextual convention.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", PYSNMP_MODULE_ID=ianaAddressFamilyNumbers) # Types mibBuilder.exportSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", AddressFamilyNumbers=AddressFamilyNumbers) # Objects mibBuilder.exportSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", ianaAddressFamilyNumbers=ianaAddressFamilyNumbers) pysnmp-mibs-0.1.3/pysnmp_mibs/ITU-ALARM-TC-MIB.py0000644000014400001440000000572611736645137021247 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ITU-ALARM-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:15 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class ItuPerceivedSeverity(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,3,6,1,2,5,) namedValues = NamedValues(("cleared", 1), ("indeterminate", 2), ("critical", 3), ("major", 4), ("minor", 5), ("warning", 6), ) class ItuTrendIndication(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,) namedValues = NamedValues(("moreSevere", 1), ("noChange", 2), ("lessSevere", 3), ) # Objects ituAlarmTc = ModuleIdentity((1, 3, 6, 1, 2, 1, 120)).setRevisions(("2004-09-09 00:00",)) if mibBuilder.loadTexts: ituAlarmTc.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: ituAlarmTc.setContactInfo(" WG EMail: disman@ietf.org\nSubscribe: disman-request@ietf.org\nhttp://www.ietf.org/html.charters/disman-charter.html\n\nChair: Randy Presuhn\n randy_presuhn@mindspring.com\n\nEditors: Sharon Chisholm\n Nortel Networks\n PO Box 3511 Station C\n Ottawa, Ont. K1Y 4H7\n Canada\n schishol@nortelnetworks.com\n\n Dan Romascanu\n Avaya\n Atidim Technology Park, Bldg. #3\n Tel Aviv, 61131\n Israel\n Tel: +972-3-645-8414\n Email: dromasca@avaya.com") if mibBuilder.loadTexts: ituAlarmTc.setDescription("This MIB module defines the ITU Alarm\ntextual convention for objects not expected to require\nregular extension.\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3877. For full legal notices see the RFC\nitself. Supplementary information may be available on:\nhttp://www.ietf.org/copyrights/ianamib.html") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("ITU-ALARM-TC-MIB", PYSNMP_MODULE_ID=ituAlarmTc) # Types mibBuilder.exportSymbols("ITU-ALARM-TC-MIB", ItuPerceivedSeverity=ItuPerceivedSeverity, ItuTrendIndication=ItuTrendIndication) # Objects mibBuilder.exportSymbols("ITU-ALARM-TC-MIB", ituAlarmTc=ituAlarmTc) pysnmp-mibs-0.1.3/pysnmp_mibs/ADSL-TC-MIB.py0000644000014400001440000000501111736645134020457 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ADSL-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:39 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Gauge32, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "transmission") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class AdslLineCodingType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,2,4,) namedValues = NamedValues(("other", 1), ("dmt", 2), ("cap", 3), ("qam", 4), ) class AdslPerfCurrDayCount(Gauge32): pass class AdslPerfPrevDayCount(Gauge32): pass class AdslPerfTimeElapsed(Gauge32): pass # Objects adsltcmib = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 94, 2)).setRevisions(("1999-08-19 00:00",)) if mibBuilder.loadTexts: adsltcmib.setOrganization("IETF ADSL MIB Working Group") if mibBuilder.loadTexts: adsltcmib.setContactInfo("\nGregory Bathrick\nAG Communication Systems\nA Subsidiary of Lucent Technologies\n2500 W Utopia Rd.\nPhoenix, AZ 85027 USA\nTel: +1 602-582-7679\nFax: +1 602-582-7697\nE-mail: bathricg@agcs.com\n\nFaye Ly\nCopper Mountain Networks\nNorcal Office\n2470 Embarcadero Way\nPalo Alto, CA 94303\nTel: +1 650-858-8500\nFax: +1 650-858-8085\nE-Mail: faye@coppermountain.com\nIETF ADSL MIB Working Group (adsl@xlist.agcs.com)") if mibBuilder.loadTexts: adsltcmib.setDescription("The MIB module which provides a ADSL\nLine Coding Textual Convention to be used\nby ADSL Lines.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("ADSL-TC-MIB", PYSNMP_MODULE_ID=adsltcmib) # Types mibBuilder.exportSymbols("ADSL-TC-MIB", AdslLineCodingType=AdslLineCodingType, AdslPerfCurrDayCount=AdslPerfCurrDayCount, AdslPerfPrevDayCount=AdslPerfPrevDayCount, AdslPerfTimeElapsed=AdslPerfTimeElapsed) # Objects mibBuilder.exportSymbols("ADSL-TC-MIB", adsltcmib=adsltcmib) pysnmp-mibs-0.1.3/pysnmp_mibs/DOCS-IETF-QOS-MIB.py0000644000014400001440000031761611736645135021367 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOCS-IETF-QOS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:52 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( DscpOrAny, ) = mibBuilder.importSymbols("DIFFSERV-DSCP-TC", "DscpOrAny") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( MacAddress, RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") # Types class DocsIetfQosBitRate(TextualConvention, Unsigned32): displayHint = "d" class DocsIetfQosRfMacIfDirection(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("downstream", 1), ("upstream", 2), ) class DocsIetfQosSchedulingType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,5,6,2,4,) namedValues = NamedValues(("undefined", 1), ("bestEffort", 2), ("nonRealTimePollingService", 3), ("realTimePollingService", 4), ("unsolictedGrantServiceWithAD", 5), ("unsolictedGrantService", 6), ) # Objects docsIetfQosMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 127)).setRevisions(("2006-01-23 00:00",)) if mibBuilder.loadTexts: docsIetfQosMIB.setOrganization("IETF IP over Cable Data Network (IPCDN)\nWorking Group") if mibBuilder.loadTexts: docsIetfQosMIB.setContactInfo("\nCo-Author: Michael Patrick\nPostal: Motorola BCS\n 111 Locke Drive\n Marlborough, MA 01752-7214\n U.S.A.\nPhone: +1 508 786 7563\nE-mail: michael.patrick@motorola.com\n\nCo-Author: William Murwin\nPostal: Motorola BCS\n 111 Locke Drive\n Marlborough, MA 01752-7214\n U.S.A.\nPhone: +1 508 786 7594\nE-mail: w.murwin@motorola.com\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-chairs: Richard Woundy, Richard_Woundy@cable.comcast.com\n Jean-Francois Mule, jfm@cablelabs.com") if mibBuilder.loadTexts: docsIetfQosMIB.setDescription("This is the management information for\nQuality Of Service (QOS) for DOCSIS 1.1 and 2.0.\n\n\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4323; see the RFC itself for\nfull legal notices.") docsIetfQosNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 127, 0)) docsIetfQosMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 127, 1)) docsIetfQosPktClassTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 1)) if mibBuilder.loadTexts: docsIetfQosPktClassTable.setDescription("This table describes the packet classification\nconfigured on the CM or CMTS.\nThe model is that a packet either received\nas input from an interface or transmitted\nfor output on an interface may be compared\nagainst an ordered list of rules pertaining to\nthe packet contents. Each rule is a row of this\ntable. A matching rule provides a Service Flow\nID to which the packet is classified.\nAll rules need to match for a packet to match\na classifier.\n\nThe objects in this row correspond to a set of\nClassifier Encoding parameters in a DOCSIS\nMAC management message. The\ndocsIetfQosPktClassBitMap indicates which\nparticular parameters were present in the\nclassifier as signaled in the DOCSIS message.\nIf the referenced parameter was not present\nin the signaled DOCSIS 1.1 and 2.0 Classifier, the\ncorresponding object in this row reports a\nvalue as specified in the DESCRIPTION section.") docsIetfQosPktClassEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowId"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosPktClassId")) if mibBuilder.loadTexts: docsIetfQosPktClassEntry.setDescription("An entry in this table provides a single packet\nclassifier rule. The index ifIndex is an ifType\nof docsCableMaclayer(127).") docsIetfQosPktClassId = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosPktClassId.setDescription("Index assigned to packet classifier entry by\nthe CMTS, which is unique per Service Flow.") docsIetfQosPktClassDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 2), DocsIetfQosRfMacIfDirection()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassDirection.setDescription("Indicates the direction to which the classifier\nis applied.") docsIetfQosPktClassPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassPriority.setDescription("The value specifies the order of evaluation\nof the classifiers.\n\nThe higher the value, the higher the priority.\nThe value of 0 is used as default in\nprovisioned Service Flows Classifiers.\nThe default value of 64 is used for dynamic\nService Flow Classifiers.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the default\nvalue as defined above.") docsIetfQosPktClassIpTosLow = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassIpTosLow.setDescription("The low value of a range of TOS byte values.\nIf the referenced parameter is not present\nin a classifier, this object reports the value\nof 0.\n\nThe IP TOS octet, as originally defined in RFC 791,\nhas been superseded by the 6-bit Differentiated\nServices Field (DSField, RFC 3260) and the 2-bit\nExplicit Congestion Notification Field (ECN field,\nRFC 3168). This object is defined as an 8-bit\noctet as per the DOCSIS Specification\nfor packet classification.") docsIetfQosPktClassIpTosHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassIpTosHigh.setDescription("The 8-bit high value of a range of TOS byte\nvalues.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the\nvalue of 0.\n\nThe IP TOS octet as originally defined in RFC 791\nhas been superseded by the 6-bit Differentiated\nServices Field (DSField, RFC 3260) and the 2-bit\nExplicit Congestion Notification Field (ECN field,\nRFC 3168). This object is defined as an 8-bit\noctet as defined by the DOCSIS Specification\nfor packet classification.") docsIetfQosPktClassIpTosMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassIpTosMask.setDescription("The mask value is bitwise ANDed with TOS byte\nin an IP packet, and this value is used for\nrange checking of TosLow and TosHigh.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value\nof 0.\n\nThe IP TOS octet as originally defined in RFC 791\nhas been superseded by the 6-bit Differentiated\nServices Field (DSField, RFC 3260) and the 2-bit\nExplicit Congestion Notification Field (ECN field,\nRFC 3168). This object is defined as an 8-bit\noctet per the DOCSIS Specification for packet\nclassification.") docsIetfQosPktClassIpProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 258))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassIpProtocol.setDescription("This object indicates the value of the IP\nProtocol field required for IP packets to match\nthis rule.\n\n\n\n\nThe value 256 matches traffic with any IP Protocol\nvalue. The value 257 by convention matches both TCP\nand UDP.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value\nof 258.") docsIetfQosPktClassInetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 8), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassInetAddressType.setDescription("The type of the Internet address for\ndocsIetfQosPktClassInetSourceAddr,\ndocsIetfQosPktClassInetSourceMask,\ndocsIetfQosPktClassInetDestAddr, and\ndocsIetfQosPktClassInetDestMask.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\nipv4(1).") docsIetfQosPktClassInetSourceAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 9), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassInetSourceAddr.setDescription("This object specifies the value of the IP\nSource Address required for packets to match\nthis rule.\n\nAn IP packet matches the rule when the packet\nIP Source Address bitwise ANDed with the\ndocsIetfQosPktClassInetSourceMask value equals the\ndocsIetfQosPktClassInetSourceAddr value.\n\nThe address type of this object is specified by\ndocsIetfQosPktClassInetAddressType.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n'00000000'H.") docsIetfQosPktClassInetSourceMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 10), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassInetSourceMask.setDescription("This object specifies which bits of a packet's\nIP Source Address are compared to match\nthis rule.\n\nAn IP packet matches the rule when the packet\nsource address bitwise ANDed with the\ndocsIetfQosPktClassInetSourceMask value equals the\ndocsIetfQosIpPktClassInetSourceAddr value.\n\nThe address type of this object is specified by\ndocsIetfQosPktClassInetAddressType.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n'FFFFFFFF'H.") docsIetfQosPktClassInetDestAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 11), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassInetDestAddr.setDescription("This object specifies the value of the IP\nDestination Address required for packets to match\nthis rule.\n\nAn IP packet matches the rule when the packet\nIP Destination Address bitwise ANDed with the\ndocsIetfQosPktClassInetDestMask value\nequals the docsIetfQosPktClassInetDestAddr value.\n\nThe address type of this object is specified by\ndocsIetfQosPktClassInetAddressType.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n'00000000'H.") docsIetfQosPktClassInetDestMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 12), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassInetDestMask.setDescription("This object specifies which bits of a packet's\nIP Destination Address are compared to\nmatch this rule.\n\nAn IP packet matches the rule when the packet\ndestination address bitwise ANDed with the\ndocsIetfQosPktClassInetDestMask value equals the\ndocsIetfQosIpPktClassInetDestAddr value.\n\nThe address type of this object is specified by\ndocsIetfQosPktClassInetAddressType.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n'FFFFFFFF'H.") docsIetfQosPktClassSourcePortStart = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 13), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassSourcePortStart.setDescription("This object specifies the low-end inclusive\nrange of TCP/UDP source port numbers to which\na packet is compared. This object is irrelevant\nfor non-TCP/UDP IP packets.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value\nof 0.") docsIetfQosPktClassSourcePortEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 14), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassSourcePortEnd.setDescription("This object specifies the high-end inclusive\nrange of TCP/UDP source port numbers to which\na packet is compared. This object is irrelevant\nfor non-TCP/UDP IP packets.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n65535.") docsIetfQosPktClassDestPortStart = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 15), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassDestPortStart.setDescription("This object specifies the low-end inclusive\nrange of TCP/UDP destination port numbers to\nwhich a packet is compared.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value\nof 0.") docsIetfQosPktClassDestPortEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 16), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassDestPortEnd.setDescription("This object specifies the high-end inclusive\nrange of TCP/UDP destination port numbers to which\na packet is compared.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n65535.") docsIetfQosPktClassDestMacAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 17), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassDestMacAddr.setDescription("An Ethernet packet matches an entry when its\ndestination MAC address bitwise ANDed with\ndocsIetfQosPktClassDestMacMask equals the value of\ndocsIetfQosPktClassDestMacAddr.\n\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n'000000000000'H.") docsIetfQosPktClassDestMacMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 18), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassDestMacMask.setDescription("An Ethernet packet matches an entry when its\ndestination MAC address bitwise ANDed with\ndocsIetfQosPktClassDestMacMask equals the value of\ndocsIetfQosPktClassDestMacAddr.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n'000000000000'H.") docsIetfQosPktClassSourceMacAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 19), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassSourceMacAddr.setDescription("An Ethernet packet matches this entry when its\nsource MAC address equals the value of\nthis object.\n\nIf the referenced parameter is not present\nin a classifier, this object reports the value of\n'FFFFFFFFFFFF'H.") docsIetfQosPktClassEnetProtocolType = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(2,0,1,4,3,)).subtype(namedValues=NamedValues(("none", 0), ("ethertype", 1), ("dsap", 2), ("mac", 3), ("all", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassEnetProtocolType.setDescription("This object indicates the format of the layer 3\nprotocol ID in the Ethernet packet. A value of\nnone(0) means that the rule does not use the\nlayer 3 protocol type as a matching criteria.\n\nA value of ethertype(1) means that the rule\napplies only to frames that contain an\nEtherType value. Ethertype values are contained\nin packets using the Dec-Intel-Xerox (DIX)\nencapsulation or the RFC1042 Sub-Network Access\nProtocol (SNAP) encapsulation formats.\n\nA value of dsap(2) means that the rule applies\n\n\n\nonly to frames using the IEEE802.3\nencapsulation format with a Destination Service\nAccess Point (DSAP) other\nthan 0xAA (which is reserved for SNAP).\n\nA value of mac(3) means that the rule applies\nonly to MAC management messages for MAC management\nmessages.\n\nA value of all(4) means that the rule matches\nall Ethernet packets.\n\nIf the Ethernet frame contains an 802.1P/Q Tag\nheader (i.e., EtherType 0x8100), this object\napplies to the embedded EtherType field within\nthe 802.1P/Q header.\n\nIf the referenced parameter is not present in a\nclassifier, this object reports the value of 0.") docsIetfQosPktClassEnetProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassEnetProtocol.setDescription("If docsIetfQosEthPktClassProtocolType is none(0),\nthis object is ignored when considering whether\na packet matches the current rule.\n\nIf dosQosPktClassEnetProtocolType is ethertype(1),\nthis object gives the 16-bit value of the\nEtherType that the packet must match in order to\nmatch the rule.\n\nIf docsIetfQosPktClassEnetProtocolType is dsap(2),\nthe lower 8 bits of this object's value must match\nthe DSAP byte of the packet in order to match the\nrule.\n\nIf docsIetfQosPktClassEnetProtocolType is mac(3),\nthe lower 8 bits of this object's value represent a\nlower bound (inclusive) of MAC management message\ntype codes matched, and the upper 8 bits represent\nthe upper bound (inclusive) of matched MAC message\ntype codes. Certain message type codes are\nexcluded from matching, as specified in the\nreference.\n\n\n\nIf the Ethernet frame contains an 802.1P/Q Tag\nheader (i.e., EtherType 0x8100), this object applies\nto the embedded EtherType field within the 802.1P/Q\nheader.\n\nIf the referenced parameter is not present in the\nclassifier, the value of this object is reported\nas 0.") docsIetfQosPktClassUserPriLow = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassUserPriLow.setDescription("This object applies only to Ethernet frames\nusing the 802.1P/Q tag header (indicated with\nEtherType 0x8100). Such frames include a 16-bit\nTag that contains a 3-bit Priority field and\na 12-bit VLAN number.\n\nTagged Ethernet packets must have a 3-bit\nPriority field within the range of\ndocsIetfQosPktClassPriLow to\ndocsIetfQosPktClassPriHigh in order to match this\nrule.\n\nIf the referenced parameter is not present in the\nclassifier, the value of this object is reported\nas 0.") docsIetfQosPktClassUserPriHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassUserPriHigh.setDescription("This object applies only to Ethernet frames\nusing the 802.1P/Qtag header (indicated with\nEtherType 0x8100). Such frames include a 16-bit\nTag that contains a 3-bit Priority field and\na 12-bit VLAN number.\n\nTagged Ethernet packets must have a 3-bit\nPriority field within the range of\ndocsIetfQosPktClassPriLow to\ndocsIetfQosPktClassPriHigh in order to match this\nrule.\n\n\n\nIf the referenced parameter is not present in the\nclassifier, the value of this object is reported\nas 7.") docsIetfQosPktClassVlanId = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassVlanId.setDescription("This object applies only to Ethernet frames\nusing the 802.1P/Q tag header.\n\nTagged packets must have a VLAN Identifier that\nmatches the value in order to match the rule.\n\nIf the referenced parameter is not present in the\nclassifier, the value of this object is reported\nas 0.") docsIetfQosPktClassStateActive = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 25), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassStateActive.setDescription("This object indicates whether or not the classifier\nis enabled to classify packets to a Service Flow.\n\nIf the referenced parameter is not present in the\nclassifier, the value of this object is reported\nas true(1).") docsIetfQosPktClassPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassPkts.setDescription("This object counts the number of packets that have\nbeen classified using this entry. This\nincludes all packets delivered to a Service Flow\nmaximum rate policing function, whether or not that\nfunction drops the packets.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosPktClassBitMap = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 1, 1, 27), Bits().subtype(namedValues=NamedValues(("rulePriority", 0), ("activationState", 1), ("destPortStart", 10), ("destPortEnd", 11), ("destMac", 12), ("sourceMac", 13), ("ethertype", 14), ("userPri", 15), ("vlanId", 16), ("ipTos", 2), ("ipProtocol", 3), ("ipSourceAddr", 4), ("ipSourceMask", 5), ("ipDestAddr", 6), ("ipDestMask", 7), ("sourcePortStart", 8), ("sourcePortEnd", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPktClassBitMap.setDescription("This object indicates which parameter encodings\nwere actually present in the DOCSIS packet\nclassifier encoding signaled in the DOCSIS message\nthat created or modified the classifier. Note that\nDynamic Service Change messages have replace\nsemantics, so that all non-default parameters must\nbe present whether the classifier is being created\nor changed.\n\nA bit of this object is set to 1 if the parameter\nindicated by the comment was present in the\nclassifier encoding, and to 0 otherwise.\n\nNote that BITS are encoded most significant bit\nfirst, so that if, for example, bits 6 and 7 are\nset, this object is encoded as the octet string\n'030000'H.") docsIetfQosParamSetTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 2)) if mibBuilder.loadTexts: docsIetfQosParamSetTable.setDescription("This table describes the set of DOCSIS 1.1 and 2.0\nQOS parameters defined in a managed device.\n\nThe ifIndex index specifies a DOCSIS MAC Domain.\nThe docsIetfQosServiceFlowId index specifies a\nparticular Service Flow.\nThe docsIetfQosParamSetType index indicates whether\nthe active, admitted, or provisioned QOS Parameter\nSet is being described by the row.\n\nOnly the QOS Parameter Sets of DOCSIS 1.1 and 2.0\nService Flows are represented in this table.\n\nDOCSIS 1.0 QOS service profiles are not\nrepresented in this table.\n\nEach row corresponds to a DOCSIS QOS Parameter Set\nas signaled via DOCSIS MAC management messages.\nEach object in the row corresponds to one or\npart of one DOCSIS 1.1 Service Flow Encoding.\nThe docsIetfQosParamSetBitMap object in the row\nindicates which particular parameters were signaled\nin the original registration or dynamic service\nrequest message that created the QOS Parameter Set.\n\nIn many cases, even if a QOS Parameter Set parameter\nwas not signaled, the DOCSIS specification calls\nfor a default value to be used. That default value\nis reported as the value of the corresponding object\nin this row.\n\nMany objects are not applicable, depending on\nthe Service Flow direction or upstream scheduling\ntype. The object value reported in this case\nis specified in the DESCRIPTION clause.") docsIetfQosParamSetEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowId"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosParamSetType")) if mibBuilder.loadTexts: docsIetfQosParamSetEntry.setDescription("A unique set of QOS parameters.") docsIetfQosParamSetServiceClassName = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetServiceClassName.setDescription("Refers to the Service Class Name from which the\nparameter set values were derived.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the default\nvalue of this object is a zero-length string.") docsIetfQosParamSetPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetPriority.setDescription("The relative priority of a Service Flow.\nHigher numbers indicate higher priority.\nThis priority should only be used to differentiate\n\n\n\nService Flow from identical parameter sets.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the default\nvalue of this object is 0. If the parameter is\nnot applicable, the reported value is 0.") docsIetfQosParamSetMaxTrafficRate = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 3), DocsIetfQosBitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetMaxTrafficRate.setDescription("Maximum sustained traffic rate allowed for this\nService Flow in bits/sec. Must count all MAC frame\ndata PDU from the bytes following the MAC header\nHCS to the end of the CRC. The number of bytes\nforwarded is limited during any time interval.\nThe value 0 means no maximum traffic rate is\nenforced. This object applies to both upstream and\ndownstream Service Flows.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the default\nvalue of this object is 0. If the parameter is\nnot applicable, it is reported as 0.") docsIetfQosParamSetMaxTrafficBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetMaxTrafficBurst.setDescription("Specifies the token bucket size in bytes\nfor this parameter set. The value is calculated\nfrom the byte following the MAC header HCS to\nthe end of the CRC. This object is applied in\nconjunction with docsIetfQosParamSetMaxTrafficRate\nto calculate maximum sustained traffic rate.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the default\nvalue of this object for scheduling types\nbestEffort (2), nonRealTimePollingService(3),\nand realTimePollingService(4) is 3044.\n\nIf this parameter is not applicable, it is reported\nas 0.") docsIetfQosParamSetMinReservedRate = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 5), DocsIetfQosBitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetMinReservedRate.setDescription("Specifies the guaranteed minimum rate in\nbits/sec for this parameter set. The value is\ncalculated from the byte following the MAC\nheader HCS to the end of the CRC. The default\nvalue of 0 means that no bandwidth is reserved.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the default\nvalue of this object is 0. If the parameter\nis not applicable, it is reported as 0.") docsIetfQosParamSetMinReservedPkt = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetMinReservedPkt.setDescription("Specifies an assumed minimum packet size in\nbytes for which the\ndocsIetfQosParamSetMinReservedRate will be\nprovided. The value is calculated from the byte\nfollowing the MAC header HCS to the end of the\nCRC.\n\nIf the referenced parameter is omitted from a\nDOCSIS QOS parameter set, the default value is\nCMTS implementation dependent. In this case, the\nCMTS reports the default value it is using, and the\nCM reports a value of 0. If the referenced\nparameter is not applicable to the direction or\nscheduling type of the Service Flow, both CMTS and\nCM report this object's value as 0.") docsIetfQosParamSetActiveTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetActiveTimeout.setDescription("Specifies the maximum duration in seconds that\nresources remain unused on an active service\nflow before CMTS signals that both active and\nadmitted parameters set are null. The default\nvalue of 0 signifies an infinite amount of time.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the default\nvalue of this object is 0.") docsIetfQosParamSetAdmittedTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(200)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetAdmittedTimeout.setDescription("Specifies the maximum duration in seconds that\nresources remain in admitted state before\nresources must be released.\n\nThe value of 0 signifies an infinite amount\nof time.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the\ndefault value of this object is 200.") docsIetfQosParamSetMaxConcatBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetMaxConcatBurst.setDescription("Specifies the maximum concatenated burst in\nbytes that an upstream Service Flow is allowed.\nThe value is calculated from the FC byte of the\nConcatenation MAC Header to the last CRC byte in\nof the last concatenated MAC frame, inclusive.\nThe value of 0 specifies no maximum burst.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set, the default\nvalue of this object for scheduling types\nbestEffort(2), nonRealTimePollingService(3), and\n\n\n\nrealTimePollingService(4) is 1522. If the parameter\nis not applicable, this object's value is reported\nas 0.") docsIetfQosParamSetSchedulingType = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 10), DocsIetfQosSchedulingType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetSchedulingType.setDescription("Specifies the upstream scheduling service used for\nupstream Service Flow.\n\nIf the referenced parameter is not present in the\ncorresponding DOCSIS QOS Parameter Set of an\nupstream Service Flow, the default value of this\nobject is bestEffort(2). For QOS parameter sets of\ndownstream Service Flows, this object's value is\nreported as undefined(1).") docsIetfQosParamSetNomPollInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetNomPollInterval.setDescription("Specifies the nominal interval in microseconds\nbetween successive unicast request\nopportunities on an upstream Service Flow.\n\nThis object applies only to upstream Service Flows\nwith DocsIetfQosSchedulingType of value\nnonRealTimePollingService(3),\nrealTimePollingService(4), and\nunsolictedGrantServiceWithAD(5). The parameter is\nmandatory for realTimePollingService(4). If the\nparameter is omitted with\nnonRealTimePollingService(3), the CMTS uses an\nimplementation-dependent value. If the parameter\nis omitted with unsolictedGrantServiceWithAD(5),\nthe CMTS uses as a default value the value of the\nNominal Grant Interval parameter. In all cases,\nthe CMTS reports the value it is using when the\nparameter is applicable. The CM reports the\nsignaled parameter value if it was signaled,\nand 0 otherwise.\n\n\n\nIf the referenced parameter is not applicable to\nthe direction or scheduling type of the\ncorresponding DOCSIS QOS Parameter Set, both\nCMTS and CM report this object's value as 0.") docsIetfQosParamSetTolPollJitter = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetTolPollJitter.setDescription("Specifies the maximum amount of time in\nmicroseconds that the unicast request interval\nmay be delayed from the nominal periodic\nschedule on an upstream Service Flow.\n\nThis parameter is applicable only to upstream\nService Flows with a DocsIetfQosSchedulingType of\nrealTimePollingService(4) or\nunsolictedGrantServiceWithAD(5).\n\nIf the referenced parameter is applicable but not\npresent in the corresponding DOCSIS QOS Parameter\nSet, the CMTS uses an implementation-dependent\nvalue and reports the value it is using.\nThe CM reports a value of 0 in this case.\n\nIf the parameter is not applicable to the\ndirection or upstream scheduling type of the\nService Flow, both CMTS and CM report this\nobject's value as 0.") docsIetfQosParamSetUnsolicitGrantSize = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetUnsolicitGrantSize.setDescription("Specifies the unsolicited grant size in bytes.\nThe grant size includes the entire MAC frame\ndata PDU from the Frame Control byte to the end\nof the MAC frame.\n\nThe referenced parameter is applicable only\nfor upstream flows with a DocsIetfQosSchedulingType\nof unsolicitedGrantServicewithAD(5) or\nunsolicitedGrantService(6), and it is mandatory\n\n\n\nwhen applicable. Both CMTS and CM report\nthe signaled value of the parameter in this\ncase.\n\nIf the referenced parameter is not applicable to\nthe direction or scheduling type of the\ncorresponding DOCSIS QOS Parameter Set, both\nCMTS and CM report this object's value as 0.") docsIetfQosParamSetNomGrantInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 14), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetNomGrantInterval.setDescription("Specifies the nominal interval in microseconds\nbetween successive data grant opportunities\non an upstream Service Flow.\n\nThe referenced parameter is applicable only\nfor upstream flows with a DocsIetfQosSchedulingType\nof unsolicitedGrantServicewithAD(5) or\nunsolicitedGrantService(6), and it is mandatory\nwhen applicable. Both CMTS and CM report the\nsignaled value of the parameter in this case.\n\nIf the referenced parameter is not applicable to\nthe direction or scheduling type of the\ncorresponding DOCSIS QOS Parameter Set, both\nCMTS and CM report this object's value as 0.") docsIetfQosParamSetTolGrantJitter = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 15), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetTolGrantJitter.setDescription("Specifies the maximum amount of time in\nmicroseconds that the transmission opportunities\nmay be delayed from the nominal periodic schedule.\n\nThe referenced parameter is applicable only\nfor upstream flows with a DocsIetfQosSchedulingType\nof unsolicitedGrantServicewithAD(5) or\nunsolicitedGrantService(6), and it is mandatory\nwhen applicable. Both CMTS and CM report the\n\n\n\nsignaled value of the parameter in this case.\n\nIf the referenced parameter is not applicable to\nthe direction or scheduling type of the\ncorresponding DOCSIS QOS Parameter Set, both\nCMTS and CM report this object's value as 0.") docsIetfQosParamSetGrantsPerInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetGrantsPerInterval.setDescription("Specifies the number of data grants per Nominal\nGrant Interval\n(docsIetfQosParamSetNomGrantInterval).\n\nThe referenced parameter is applicable only\nfor upstream flows with a DocsIetfQosSchedulingType\nof unsolicitedGrantServicewithAD(5) or\nunsolicitedGrantService(6), and it is mandatory\nwhen applicable. Both CMTS and CM report the\nsignaled value of the parameter in this case.\n\nIf the referenced parameter is not applicable to\nthe direction or scheduling type of the\ncorresponding DOCSIS QOS Parameter Set, both\nCMTS and CM report this object's value as 0.") docsIetfQosParamSetTosAndMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetTosAndMask.setDescription("Specifies the AND mask for the IP TOS byte for\noverwriting IP packet's TOS value. The IP packet\nTOS byte is bitwise ANDed with\ndocsIetfQosParamSetTosAndMask, and the result is\nbitwise ORed with docsIetfQosParamSetTosORMask and\nthe result is written to the IP packet TOS byte.\nA value of 'FF'H for docsIetfQosParamSetTosAndMask\nand a value of '00'H for\ndocsIetfQosParamSetTosOrMask means that the IP\nPacket TOS byte is not overwritten.\n\nThis combination is reported if the referenced\nparameter is not present in a QOS Parameter Set.\n\n\n\nThe IP TOS octet as originally defined in RFC 791\nhas been superseded by the 6-bit Differentiated\nServices Field (DSField, RFC 3260) and the 2-bit\nExplicit Congestion Notification Field (ECN field,\nRFC 3168). Network operators SHOULD avoid\nspecifying values of docsIetfQosParamSetTosAndMask\nand docsIetfQosParamSetTosORMask that would result\nin the modification of the ECN bits.\n\nIn particular, operators should not use values of\ndocsIetfQosParamSetTosAndMask that have either of\nthe least-significant two bits set to 0. Similarly,\noperators should not use values of\ndocsIetfQosParamSetTosORMask that have either of\nthe least-significant two bits set to 1.\n\nEven though this object is only enforced by the\nCable Modem Termination System (CMTS),\nCable Modems MUST report the value as signaled in\nthe referenced parameter.") docsIetfQosParamSetTosOrMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 18), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetTosOrMask.setDescription("Specifies the OR mask for the IP TOS byte.\n\nSee the description of docsIetfQosParamSetTosAndMask\nfor further details.\n\nThe IP TOS octet as originally defined in RFC 791\nhas been superseded by the 6-bit Differentiated\nServices Field (DSField, RFC 3260) and the 2-bit\nExplicit Congestion Notification Field (ECN field,\nRFC 3168). Network operators SHOULD avoid\nspecifying values of docsIetfQosParamSetTosAndMask\nand docsIetfQosParamSetTosORMask that would result\nin the modification of the ECN bits.") docsIetfQosParamSetMaxLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 19), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetMaxLatency.setDescription("Specifies the maximum latency between the\nreception of a packet by the CMTS on its NSI\nand the forwarding of the packet to the RF\ninterface. A value of 0 signifies no maximum\nlatency is enforced. This object only applies to\ndownstream Service Flows.\n\nIf the referenced parameter is not present in the\ncorresponding downstream DOCSIS QOS Parameter Set,\nthe default value is 0. This parameter is\nnot applicable to upstream DOCSIS QOS Parameter\nSets, and its value is reported as 0 in this case.") docsIetfQosParamSetType = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("active", 1), ("admitted", 2), ("provisioned", 3), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosParamSetType.setDescription("Defines the type of the QOS parameter set defined\nby this row. active(1) indicates the Active QOS\nparameter set, describing the service currently\nbeing provided by the DOCSIS MAC domain to the\nService Flow. admitted(2) indicates the Admitted\nQOS Parameter Set, describing services reserved by\nthe DOCSIS MAC domain for use by the service\nflow. provisioned (3) describes the QOS Parameter\nSet defined in the DOCSIS CM Configuration file for\nthe Service Flow.") docsIetfQosParamSetRequestPolicyOct = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 21), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetRequestPolicyOct.setDescription("Specifies which transmit interval opportunities\nthe CM omits for upstream transmission requests and\npacket transmissions. This object takes its\ndefault value for downstream Service Flows.\n\nUnless otherwise indicated, a bit value of 1 means\nthat a CM must not use that opportunity for\nupstream transmission.\n\nIf bit 0 is the least significant bit of the\nleast significant (4th) octet, and if bit number\nis increased with significance, the bit definitions\nare defined as follows:\n\nbroadcastReqOpp(0):\n all CMs broadcast request opportunities\n\npriorityReqMulticastReq(1):\n priority request multicast request\n opportunities\n\nreqDataForReq(2):\n request/data opportunities for requests\n\nreqDataForData(3):\n request/data opportunities for data\n\npiggybackReqWithData(4):\n piggyback requests with data\n\nconcatenateData(5):\n concatenate data\n\nfragmentData(6):\n fragment data\n\nsuppresspayloadheaders(7):\n suppress payload headers\n\n\n\n\ndropPktsExceedUGSize(8):\n A value of 1 means that the Service Flow must\n drop packets that do not fit in the Unsolicited\n Grant size.\n\nIf the referenced parameter is not present in\na QOS Parameter Set, the value of this object is\nreported as '00000000'H.") docsIetfQosParamSetBitMap = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 2, 1, 22), Bits().subtype(namedValues=NamedValues(("trafficPriority", 0), ("maxTrafficRate", 1), ("nomPollInterval", 10), ("tolPollJitter", 11), ("unsolicitGrantSize", 12), ("nomGrantInterval", 13), ("tolGrantJitter", 14), ("grantsPerInterval", 15), ("tosOverwrite", 16), ("maxLatency", 17), ("maxTrafficBurst", 2), ("minReservedRate", 3), ("minReservedPkt", 4), ("activeTimeout", 5), ("admittedTimeout", 6), ("maxConcatBurst", 7), ("schedulingType", 8), ("requestPolicy", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosParamSetBitMap.setDescription("This object indicates the set of QOS Parameter\nSet parameters actually signaled in the\nDOCSIS registration or dynamic service request\nmessage that created or modified the QOS Parameter\nSet. A bit is set to 1 when the parameter described\nby the indicated reference section is present\nin the original request.\n\nNote that when Service Class names are expanded,\nthe registration or dynamic response message may\ncontain parameters as expanded by the CMTS based\n\n\n\non a stored service class. These expanded\nparameters are not indicated by a 1 bit in this\nobject.\n\nNote that even though some QOS Parameter Set\nparameters may not be signaled in a message\n(so that the paramater's bit in this object is 0),\nthe DOCSIS specification requires that default\nvalues be used. These default values are reported\nas the corresponding object's value in the row.\n\nNote that BITS objects are encoded most\nsignificant bit first. For example, if bits\n1 and 16 are set, the value of this object\nis the octet string '400080'H.") docsIetfQosServiceFlowTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 3)) if mibBuilder.loadTexts: docsIetfQosServiceFlowTable.setDescription("This table describes the set of DOCSIS-QOS\nService Flows in a managed device.") docsIetfQosServiceFlowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowId")) if mibBuilder.loadTexts: docsIetfQosServiceFlowEntry.setDescription("Describes a Service Flow.\nAn entry in the table exists for each\nService Flow ID. The ifIndex is an\nifType of docsCableMaclayer(127).") docsIetfQosServiceFlowId = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosServiceFlowId.setDescription("An index assigned to a Service Flow by CMTS.") docsIetfQosServiceFlowSID = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowSID.setDescription("Service Identifier (SID) assigned to an\nadmitted or active Service Flow. This object\nreports a value of 0 if a Service ID is not\nassociated with the Service Flow. Only active\nor admitted upstream Service Flows will have a\nService ID (SID).") docsIetfQosServiceFlowDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 3, 1, 3), DocsIetfQosRfMacIfDirection()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowDirection.setDescription("The direction of the Service Flow.") docsIetfQosServiceFlowPrimary = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 3, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowPrimary.setDescription("Object reflects whether Service Flow is the primary\nor a secondary Service Flow.\n\nA primary Service Flow is the default Service Flow\nfor otherwise unclassified traffic and all MAC\nmessages.") docsIetfQosServiceFlowStatsTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 4)) if mibBuilder.loadTexts: docsIetfQosServiceFlowStatsTable.setDescription("This table describes statistics associated with the\nService Flows in a managed device.") docsIetfQosServiceFlowStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowId")) if mibBuilder.loadTexts: docsIetfQosServiceFlowStatsEntry.setDescription("Describes a set of Service Flow statistics.\nAn entry in the table exists for each\nService Flow ID. The ifIndex is an\nifType of docsCableMaclayer(127).") docsIetfQosServiceFlowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 4, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowPkts.setDescription("For outgoing Service Flows, this object counts the\nnumber of Packet Data PDUs forwarded to this\nService Flow. For incoming upstream CMTS service\nflows, this object counts the number of Packet\nData PDUs actually received on the Service Flow\nidentified by the SID for which the packet was\nscheduled. CMs not classifying downstream packets\nmay report this object's value as 0 for downstream\nService Flows. This object does not count\nMAC-specific management messages.\n\nParticularly for UGS flows, packets sent on the\nprimary Service Flow in violation of the UGS grant\nsize should be counted only by the instance of this\nobject that is associated with the primary service\n\n\n\nflow.\n\nUnclassified upstream user data packets (i.e., non-\nMAC-management) forwarded to the primary upstream\nService Flow should be counted by the instance of\nthis object that is associated with the primary\nservice flow.\n\nThis object does include packets counted by\ndocsIetfQosServiceFlowPolicedDelayPkts, but does not\ninclude packets counted by\ndocsIetfQosServiceFlowPolicedDropPkts\nand docsIetfQosServiceFlowPHSUnknowns.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosServiceFlowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 4, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowOctets.setDescription("The number of octets from the byte after the MAC\nheader HCS to the end of the CRC for all packets\ncounted in the docsIetfQosServiceFlowPkts object for\nthis row. Note that this counts the octets after\npayload header suppression and before payload\nheader expansion have been applied.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosServiceFlowTimeCreated = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 4, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowTimeCreated.setDescription("The value of sysUpTime when the service flow\nwas created.") docsIetfQosServiceFlowTimeActive = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowTimeActive.setDescription("The number of seconds that the service flow\nhas been active.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosServiceFlowPHSUnknowns = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowPHSUnknowns.setDescription("For incoming upstream CMTS service flows, this\nobject counts the number of packets received\nwith an unknown payload header suppression index.\nThe service flow is identified by the SID for which\nthe packet was scheduled.\n\nOn a CM, only this object's instance for the primary\ndownstream service flow counts packets received with\nan unknown payload header suppression index. All\nother downstream service flows on CM report this\nobjects value as 0.\n\nAll outgoing service flows report this object's\nvalue as 0.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosServiceFlowPolicedDropPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowPolicedDropPkts.setDescription("For outgoing service flows, this object counts the\nnumber of Packet Data PDUs classified to this\nservice flow dropped due to:\n (1) implementation-dependent excessive delay\n while enforcing the Maximum Sustained\n Traffic Rate; or\n (2) UGS packets dropped due to exceeding the\n Unsolicited Grant Size with a\n Request/Transmission policy that requires\n such packets to be dropped.\n\nClassified packets dropped due to other reasons\n\n\n\nmust be counted in ifOutDiscards for the interface\nof this service flow. This object reports 0 for\nincoming service flows.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosServiceFlowPolicedDelayPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowPolicedDelayPkts.setDescription("This object counts only outgoing packets delayed in\norder to maintain the Maximum Sustained Traffic\nRate. This object will always report a value of 0\nfor UGS flows because the Maximum Sustained Traffic\nRate does not apply. This object is 0 for incoming\nservice flows.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosUpstreamStatsTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 5)) if mibBuilder.loadTexts: docsIetfQosUpstreamStatsTable.setDescription("This table describes statistics associated with\nupstream service flows. All counted frames must\nbe received without a Frame Check Sequence (FCS)\nerror.") docsIetfQosUpstreamStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosSID")) if mibBuilder.loadTexts: docsIetfQosUpstreamStatsEntry.setDescription("Describes a set of upstream service flow\nstatistics. An entry in the table exists for each\nupstream Service Flow in a managed device.\nThe ifIndex is an ifType of\ndocsCableMaclayer(127).") docsIetfQosSID = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16383))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosSID.setDescription("Identifies a service ID for an admitted or active\nupstream service flow.") docsIetfQosUpstreamFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosUpstreamFragments.setDescription("The number of fragmentation headers received on an\nupstream service flow, regardless of whether\nthe fragment was correctly reassembled into a\nvalid packet.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosUpstreamFragDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosUpstreamFragDiscards.setDescription("The number of upstream fragments discarded and not\nassembled into a valid upstream packet.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosUpstreamConcatBursts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosUpstreamConcatBursts.setDescription("The number of concatenation headers received on an\nupstream service flow.\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDynamicServiceStatsTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 6)) if mibBuilder.loadTexts: docsIetfQosDynamicServiceStatsTable.setDescription("This table describes statistics associated with the\nDynamic Service Flows in a managed device.") docsIetfQosDynamicServiceStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosIfDirection")) if mibBuilder.loadTexts: docsIetfQosDynamicServiceStatsEntry.setDescription("Describes a set of dynamic service flow statistics.\nTwo entries exist for each DOCSIS MAC layer\ninterface for the upstream and downstream\ndirection. On the CMTS, the downstream direction\nrow indicates messages transmitted or transactions\noriginated by the CMTS. The upstream direction row\nindicates messages received or transaction\noriginated by the CM. On the CM, the downstream\ndirection row indicates messages received or\ntransactions originated by the CMTS. The upstream\ndirection row indicates messages transmitted by\nthe CM or transactions originated by the CM.\nThe ifIndex is an ifType of\ndocsCableMaclayer(127).") docsIetfQosIfDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 1), DocsIetfQosRfMacIfDirection()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosIfDirection.setDescription("The direction of interface.") docsIetfQosDSAReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSAReqs.setDescription("The number of Dynamic Service Addition Requests,\nincluding retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDSARsps = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSARsps.setDescription("The number of Dynamic Service Addition Responses,\nincluding retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\n\n\n\nindexes this object.") docsIetfQosDSAAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSAAcks.setDescription("The number of Dynamic Service Addition\nAcknowledgements, including retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDSCReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSCReqs.setDescription("The number of Dynamic Service Change Requests,\nincluding retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDSCRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSCRsps.setDescription("The number of Dynamic Service Change Responses,\nincluding retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDSCAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSCAcks.setDescription("The number of Dynamic Service Change\nAcknowledgements, including retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\n\n\n\nindexes this object.") docsIetfQosDSDReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSDReqs.setDescription("The number of Dynamic Service Delete Requests,\nincluding retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDSDRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDSDRsps.setDescription("The number of Dynamic Service Delete Responses,\nincluding retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDynamicAdds = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDynamicAdds.setDescription("The number of successful Dynamic Service Addition\ntransactions.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDynamicAddFails = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDynamicAddFails.setDescription("The number of failed Dynamic Service Addition\ntransactions.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\n\n\n\nindexes this object.") docsIetfQosDynamicChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDynamicChanges.setDescription("The number of successful Dynamic Service Change\ntransactions.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDynamicChangeFails = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDynamicChangeFails.setDescription("The number of failed Dynamic Service Change\ntransactions.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDynamicDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDynamicDeletes.setDescription("The number of successful Dynamic Service Delete\ntransactions.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDynamicDeleteFails = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDynamicDeleteFails.setDescription("The number of failed Dynamic Service Delete\ntransactions.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\n\n\n\nindexes this object.") docsIetfQosDCCReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDCCReqs.setDescription("The number of Dynamic Channel Change Request\nmessages traversing an interface. This count\nis nonzero only on downstream direction rows.\nThis count should include the number of retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex\nthat indexes this object.") docsIetfQosDCCRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDCCRsps.setDescription("The number of Dynamic Channel Change Response\nmessages traversing an interface. This count is\nnonzero only on upstream direction rows. This count\nshould include the number of retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDCCAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDCCAcks.setDescription("The number of Dynamic Channel Change Acknowledgement\nmessages traversing an interface. This count\nis nonzero only on downstream direction rows.\nThis count should include the number of retries.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDCCs = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDCCs.setDescription("The number of successful Dynamic Channel Change\ntransactions. This count is nonzero only on\ndownstream direction rows.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosDCCFails = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 6, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosDCCFails.setDescription("The number of failed Dynamic Channel Change\ntransactions. This count is nonzero only on\ndownstream direction rows.\n\nThis counter's last discontinuity is the\nifCounterDiscontinuityTime for the same ifIndex that\nindexes this object.") docsIetfQosServiceFlowLogTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 7)) if mibBuilder.loadTexts: docsIetfQosServiceFlowLogTable.setDescription("This table contains a log of the disconnected\nService Flows in a managed device.") docsIetfQosServiceFlowLogEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 7, 1)).setIndexNames((0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogIndex")) if mibBuilder.loadTexts: docsIetfQosServiceFlowLogEntry.setDescription("The information regarding a single disconnected\nservice flow.") docsIetfQosServiceFlowLogIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogIndex.setDescription("Unique index for a logged service flow.") docsIetfQosServiceFlowLogIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogIfIndex.setDescription("The ifIndex of ifType docsCableMaclayer(127)\non the CMTS where the service flow was present.") docsIetfQosServiceFlowLogSFID = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogSFID.setDescription("The index assigned to the service flow by the CMTS.") docsIetfQosServiceFlowLogCmMac = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogCmMac.setDescription("The MAC address for the cable modem associated with\nthe service flow.") docsIetfQosServiceFlowLogPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogPkts.setDescription("The number of packets counted on this service flow\nafter payload header suppression.") docsIetfQosServiceFlowLogOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogOctets.setDescription("The number of octets counted on this service flow\nafter payload header suppression.") docsIetfQosServiceFlowLogTimeDeleted = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogTimeDeleted.setDescription("The value of sysUpTime when the service flow\nwas deleted.") docsIetfQosServiceFlowLogTimeCreated = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogTimeCreated.setDescription("The value of sysUpTime when the service flow\nwas created.") docsIetfQosServiceFlowLogTimeActive = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogTimeActive.setDescription("The total time that the service flow was active.") docsIetfQosServiceFlowLogDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 10), DocsIetfQosRfMacIfDirection()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogDirection.setDescription("The value of docsIetfQosServiceFlowDirection\nfor the service flow.") docsIetfQosServiceFlowLogPrimary = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogPrimary.setDescription("The value of docsIetfQosServiceFlowPrimary for the\nservice flow.") docsIetfQosServiceFlowLogServiceClassName = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 12), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogServiceClassName.setDescription("The value of docsIetfQosParamSetServiceClassName for\nthe provisioned QOS Parameter Set of the\nservice flow.") docsIetfQosServiceFlowLogPolicedDropPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogPolicedDropPkts.setDescription("The final value of\ndocsIetfQosServiceFlowPolicedDropPkts for the\nservice flow.") docsIetfQosServiceFlowLogPolicedDelayPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogPolicedDelayPkts.setDescription("The final value of\ndocsIetfQosServiceFlowPolicedDelayPkts for the\nservice flow.") docsIetfQosServiceFlowLogControl = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 7, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(1,6,)).subtype(namedValues=NamedValues(("active", 1), ("destroy", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIetfQosServiceFlowLogControl.setDescription("Setting this object to the value destroy(6) removes\nthis entry from the table.\n\nReading this object returns the value active(1).") docsIetfQosServiceClassTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 8)) if mibBuilder.loadTexts: docsIetfQosServiceClassTable.setDescription("This table describes the set of DOCSIS-QOS\nService Classes in a CMTS.") docsIetfQosServiceClassEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 8, 1)).setIndexNames((0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassName")) if mibBuilder.loadTexts: docsIetfQosServiceClassEntry.setDescription("A provisioned service class on a CMTS.\nEach entry defines a template for certain\nDOCSIS QOS Parameter Set values. When a CM\ncreates or modifies an Admitted QOS Parameter Set\nfor a Service Flow, it may reference a Service Class\nName instead of providing explicit QOS Parameter\nSet values. In this case, the CMTS populates\nthe QOS Parameter Set with the applicable\ncorresponding values from the named Service Class.\nSubsequent changes to a Service Class row do not\naffect the QOS Parameter Set values of any service\nflows already admitted.\n\nA service class template applies to only\na single direction, as indicated in the\ndocsIetfQosServiceClassDirection object.") docsIetfQosServiceClassName = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosServiceClassName.setDescription("Service Class Name. DOCSIS specifies that the\nmaximum size is 16 ASCII characters including\na terminating zero. The terminating zero is not\nrepresented in this SnmpAdminString syntax object.") docsIetfQosServiceClassStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassStatus.setDescription("Used to create or delete rows in this table.\nThere is no restriction on the ability to change\nvalues in this row while the row is active.\nInactive rows need not be timed out.") docsIetfQosServiceClassPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassPriority.setDescription("Template for docsIetfQosParamSetPriority.") docsIetfQosServiceClassMaxTrafficRate = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 4), DocsIetfQosBitRate().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassMaxTrafficRate.setDescription("Template for docsIetfQosParamSetMaxTrafficRate.") docsIetfQosServiceClassMaxTrafficBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 5), Unsigned32().clone(3044)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassMaxTrafficBurst.setDescription("Template for docsIetfQosParamSetMaxTrafficBurst.") docsIetfQosServiceClassMinReservedRate = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 6), DocsIetfQosBitRate().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassMinReservedRate.setDescription("Template for docsIetfQosParamSEtMinReservedRate.") docsIetfQosServiceClassMinReservedPkt = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassMinReservedPkt.setDescription("Template for docsIetfQosParamSetMinReservedPkt.") docsIetfQosServiceClassMaxConcatBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(1522)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassMaxConcatBurst.setDescription("Template for docsIetfQosParamSetMaxConcatBurst.") docsIetfQosServiceClassNomPollInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 9), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassNomPollInterval.setDescription("Template for docsIetfQosParamSetNomPollInterval.") docsIetfQosServiceClassTolPollJitter = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 10), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassTolPollJitter.setDescription("Template for docsIetfQosParamSetTolPollJitter.") docsIetfQosServiceClassUnsolicitGrantSize = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassUnsolicitGrantSize.setDescription("Template for docsIetfQosParamSetUnsolicitGrantSize.") docsIetfQosServiceClassNomGrantInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 12), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassNomGrantInterval.setDescription("Template for docsIetfQosParamSetNomGrantInterval.") docsIetfQosServiceClassTolGrantJitter = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 13), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassTolGrantJitter.setDescription("Template for docsIetfQosParamSetTolGrantJitter.") docsIetfQosServiceClassGrantsPerInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassGrantsPerInterval.setDescription("Template for docsIetfQosParamSetGrantsPerInterval.") docsIetfQosServiceClassMaxLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 15), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassMaxLatency.setDescription("Template for docsIetfQosParamSetClassMaxLatency.") docsIetfQosServiceClassActiveTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassActiveTimeout.setDescription("Template for docsIetfQosParamSetActiveTimeout.") docsIetfQosServiceClassAdmittedTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(200)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassAdmittedTimeout.setDescription("Template for docsIetfQosParamSetAdmittedTimeout.") docsIetfQosServiceClassSchedulingType = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 18), DocsIetfQosSchedulingType().clone('bestEffort')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassSchedulingType.setDescription("Template for docsIetfQosParamSetSchedulingType.") docsIetfQosServiceClassRequestPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 19), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4).clone(hexValue='00000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassRequestPolicy.setDescription("Template for docsIetfQosParamSetRequestPolicyOct.") docsIetfQosServiceClassTosAndMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 20), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceClassTosAndMask.setDescription("Template for docsIetfQosParamSetTosAndMask.\nThe IP TOS octet as originally defined in RFC 791\nhas been superseded by the 6-bit Differentiated\nServices Field (DSField, RFC 3260) and the 2-bit\nExplicit Congestion Notification Field (ECN field,\nRFC 3168). Network operators SHOULD avoid\nspecifying values of\ndocsIetfQosServiceClassTosAndMask and\ndocsIetfQosServiceClassTosOrMask that would result\nin the modification of the ECN bits.\n\n\n\nIn particular, operators should not use values of\ndocsIetfQosServiceClassTosAndMask that have either\nof the least-significant two bits set to 0.\nSimilarly,operators should not use values of\ndocsIetfQosServiceClassTosOrMask that have either\nof the least-significant two bits set to 1.") docsIetfQosServiceClassTosOrMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 21), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosServiceClassTosOrMask.setDescription("Template for docsIetfQosParamSetTosOrMask.\nThe IP TOS octet as originally defined in RFC 791\nhas been superseded by the 6-bit Differentiated\nServices Field (DSField, RFC 3260) and the 2-bit\nExplicit Congestion Notification Field (ECN field,\nRFC 3168). Network operators SHOULD avoid\nspecifying values of\ndocsIetfQosServiceClassTosAndMask and\ndocsIetfQosServiceClassTosOrMask that would result\nin the modification of the ECN bits.\n\nIn particular, operators should not use values of\ndocsIetfQosServiceClassTosAndMask that have either\nof the least-significant two bits set to 0.\nSimilarly, operators should not use values of\ndocsIetfQosServiceClassTosOrMask that have either\nof the least-significant two bits set to 1.") docsIetfQosServiceClassDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 22), DocsIetfQosRfMacIfDirection().clone('upstream')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassDirection.setDescription("Specifies whether the service class template\napplies to upstream or downstream service flows.") docsIetfQosServiceClassStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 23), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassStorageType.setDescription("This object defines whether this row is kept in\nvolatile storage and lost upon reboot or whether\nit is backed up by non-volatile or permanent\nstorage. 'permanent' entries need not allow\nwritable access to any object.") docsIetfQosServiceClassDSCPOverwrite = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 8, 1, 24), DscpOrAny().clone('-1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassDSCPOverwrite.setDescription("This object allows the overwrite of the DSCP\nfield per RFC 3260.\n\nIf this object is -1, then the corresponding entry's\ndocsIetfQosServiceClassTosAndMask value MUST be\n'FF'H and docsIetfQosServiceClassTosOrMask MUST be\n'00'H. Otherwise, this object is in the range of\n0..63, and the corresponding entry's\ndocsIetfQosServiceClassTosAndMask value MUST be\n'03'H and the docsIetfQosServiceClassTosOrMask MUST\nbe this object's value shifted left by two bit\npositions.") docsIetfQosServiceClassPolicyTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 9)) if mibBuilder.loadTexts: docsIetfQosServiceClassPolicyTable.setDescription("This table describes the set of DOCSIS-QOS\nService Class Policies.\n\nThis table is an adjunct to the\n\n\n\ndocsDevFilterPolicy table. Entries in the\ndocsDevFilterPolicy table can point to\nspecific rows in this table.\n\nThis table permits mapping a packet to a service\nclass name of an active service flow so long as\na classifier does not exist at a higher\npriority.") docsIetfQosServiceClassPolicyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 9, 1)).setIndexNames((0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassPolicyIndex")) if mibBuilder.loadTexts: docsIetfQosServiceClassPolicyEntry.setDescription("A service class name policy entry.") docsIetfQosServiceClassPolicyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 9, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosServiceClassPolicyIndex.setDescription("Index value to identify an entry in\nthis table uniquely.") docsIetfQosServiceClassPolicyName = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 9, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassPolicyName.setDescription("Service Class Name to identify the name of the\nservice class flow to which the packet should be\ndirected.") docsIetfQosServiceClassPolicyRulePriority = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 9, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassPolicyRulePriority.setDescription("Service Class Policy rule priority for the\nentry.") docsIetfQosServiceClassPolicyStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 9, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassPolicyStatus.setDescription("Used to create or delete rows in this table.\nThis object should not be deleted if it is\nreferenced by an entry in docsDevFilterPolicy.\nThe reference should be deleted first.\nThere is no restriction on the ability\nto change values in this row while the row is\nactive. Inactive rows need not be timed out.") docsIetfQosServiceClassPolicyStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 9, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIetfQosServiceClassPolicyStorageType.setDescription("This object defines whether this row is kept in\nvolatile storage and lost upon reboot or whether\nit is backed up by non-volatile or permanent\nstorage. 'permanent' entries need not allow\nwritable access to any object.") docsIetfQosPHSTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 10)) if mibBuilder.loadTexts: docsIetfQosPHSTable.setDescription("This table describes the set of payload header\nsuppression entries.") docsIetfQosPHSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 10, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowId"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosPktClassId")) if mibBuilder.loadTexts: docsIetfQosPHSEntry.setDescription("A payload header suppression entry.\n\nThe ifIndex is an ifType of docsCableMaclayer(127).\nThe index docsIetfQosServiceFlowId selects one\nservice flow from the cable MAC layer interface.\nThe docsIetfQosPktClassId index matches an\nindex of the docsIetfQosPktClassTable.") docsIetfQosPHSField = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 10, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPHSField.setDescription("Payload header suppression field defines the\nbytes of the header that must be\nsuppressed/restored by the sending/receiving\ndevice.\n\nThe number of octets in this object should be\nthe same as the value of docsIetfQosPHSSize.") docsIetfQosPHSMask = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 10, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPHSMask.setDescription("Payload header suppression mask defines the\nbit mask that is used in combination with the\ndocsIetfQosPHSField. It defines which bytes in\nthe header must be suppressed/restored by the\nsending or receiving device.\n\nEach bit of this bit mask corresponds to a byte\nin the docsIetfQosPHSField, with the least\n\n\n\nsignificant bit corresponding to the first byte\nof the docsIetfQosPHSField.\n\nEach bit of the bit mask specifies whether\nthe corresponding byte should be suppressed\nin the packet. A bit value of '1' indicates that\nthe byte should be suppressed by the sending\ndevice and restored by the receiving device.\nA bit value of '0' indicates that\nthe byte should not be suppressed by the sending\ndevice or restored by the receiving device.\n\nIf the bit mask does not contain a bit for each\nbyte in the docsIetfQosPHSField, then the bit mask\nis extended with bit values of '1' to be the\nnecessary length.") docsIetfQosPHSSize = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPHSSize.setDescription("Payload header suppression size specifies the\nnumber of bytes in the header to be suppressed\nand restored.\n\nThe value of this object must match the number\nof bytes in the docsIetfQosPHSField.") docsIetfQosPHSVerify = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 10, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPHSVerify.setDescription("Payload header suppression verification value. If\n'true', the sender must verify docsIetfQosPHSField\nis the same as what is contained in the packet\nto be suppressed.") docsIetfQosPHSIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 10, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosPHSIndex.setDescription("Payload header suppression index uniquely\n\n\n\nreferences the PHS rule for a given service flow.") docsIetfQosCmtsMacToSrvFlowTable = MibTable((1, 3, 6, 1, 2, 1, 127, 1, 11)) if mibBuilder.loadTexts: docsIetfQosCmtsMacToSrvFlowTable.setDescription("This table provides for referencing the service\nflows associated with a particular cable modem.\nThis allows indexing into other docsIetfQos\ntables that are indexed by docsIetfQosServiceFlowId\nand ifIndex.") docsIetfQosCmtsMacToSrvFlowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 127, 1, 11, 1)).setIndexNames((0, "DOCS-IETF-QOS-MIB", "docsIetfQosCmtsCmMac"), (0, "DOCS-IETF-QOS-MIB", "docsIetfQosCmtsServiceFlowId")) if mibBuilder.loadTexts: docsIetfQosCmtsMacToSrvFlowEntry.setDescription("An entry is created by CMTS for each service flow\nconnected to this CMTS.") docsIetfQosCmtsCmMac = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 11, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosCmtsCmMac.setDescription("The MAC address for the referenced CM.") docsIetfQosCmtsServiceFlowId = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 11, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIetfQosCmtsServiceFlowId.setDescription("An index assigned to a service flow by CMTS.") docsIetfQosCmtsIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 127, 1, 11, 1, 3), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIetfQosCmtsIfIndex.setDescription("The ifIndex of ifType docsCableMacLayer(127)\non the CMTS that is connected to the Cable Modem.") docsIetfQosConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 127, 2)) docsIetfQosGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 127, 2, 1)) docsIetfQosCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 127, 2, 2)) # Augmentions # Groups docsIetfQosBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 127, 2, 1, 1)).setObjects(*(("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassUserPriLow"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassSourcePortStart"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassEnetProtocol"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassIpTosMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassInetDestAddr"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowTimeActive"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowTimeCreated"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassStateActive"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSAReqs"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSCAcks"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassInetDestMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDCCFails"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassDestPortStart"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassInetSourceMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSDRsps"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDCCReqs"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDCCs"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassPriority"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPHSMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPHSVerify"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPHSIndex"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSARsps"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassEnetProtocolType"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassIpTosLow"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassInetSourceAddr"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPHSField"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSCReqs"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDynamicChangeFails"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSDReqs"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassDestPortEnd"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDynamicAdds"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassVlanId"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDynamicDeleteFails"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassPkts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDynamicDeletes"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassIpProtocol"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowSID"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowPHSUnknowns"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowPrimary"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPHSSize"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowPkts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassSourcePortEnd"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSAAcks"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowOctets"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDCCRsps"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassUserPriHigh"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowDirection"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDSCRsps"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowPolicedDelayPkts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowPolicedDropPkts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassIpTosHigh"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassSourceMacAddr"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassDestMacMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassDirection"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassDestMacAddr"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassBitMap"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDynamicAddFails"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDCCAcks"), ("DOCS-IETF-QOS-MIB", "docsIetfQosPktClassInetAddressType"), ("DOCS-IETF-QOS-MIB", "docsIetfQosDynamicChanges"), ) ) if mibBuilder.loadTexts: docsIetfQosBaseGroup.setDescription("Group of objects implemented in both Cable Modems and\nCable Modem Termination Systems.") docsIetfQosParamSetGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 127, 2, 1, 2)).setObjects(*(("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetMaxConcatBurst"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetGrantsPerInterval"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetMaxTrafficRate"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetActiveTimeout"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetMinReservedPkt"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetPriority"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetRequestPolicyOct"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetServiceClassName"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetTosOrMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetMinReservedRate"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetMaxTrafficBurst"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetSchedulingType"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetTolPollJitter"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetTosAndMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetMaxLatency"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetTolGrantJitter"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetNomPollInterval"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetBitMap"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetNomGrantInterval"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetAdmittedTimeout"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetUnsolicitGrantSize"), ) ) if mibBuilder.loadTexts: docsIetfQosParamSetGroup.setDescription("Group of objects implemented in both Cable Modems and\nCable Modem Termination Systems for QOS Parameter Sets.") docsIetfQosCmtsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 127, 2, 1, 3)).setObjects(*(("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogSFID"), ("DOCS-IETF-QOS-MIB", "docsIetfQosUpstreamFragDiscards"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogPolicedDropPkts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogControl"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogTimeCreated"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogOctets"), ("DOCS-IETF-QOS-MIB", "docsIetfQosUpstreamConcatBursts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogCmMac"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogPrimary"), ("DOCS-IETF-QOS-MIB", "docsIetfQosCmtsIfIndex"), ("DOCS-IETF-QOS-MIB", "docsIetfQosUpstreamFragments"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogTimeActive"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogPkts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogIfIndex"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogDirection"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogPolicedDelayPkts"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogServiceClassName"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceFlowLogTimeDeleted"), ) ) if mibBuilder.loadTexts: docsIetfQosCmtsGroup.setDescription("Group of objects implemented only in the CMTS.") docsIetfQosSrvClassPolicyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 127, 2, 1, 4)).setObjects(*(("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassPolicyStorageType"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassPolicyName"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassPolicyRulePriority"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassPolicyStatus"), ) ) if mibBuilder.loadTexts: docsIetfQosSrvClassPolicyGroup.setDescription("Group of objects implemented in both Cable Modems and\nCable Modem Termination Systems when supporting policy-based\nservice flows.") docsIetfQosServiceClassGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 127, 2, 1, 5)).setObjects(*(("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassSchedulingType"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassNomGrantInterval"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassTolGrantJitter"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassDSCPOverwrite"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassGrantsPerInterval"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassDirection"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassMaxTrafficBurst"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassPriority"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassMaxTrafficRate"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassStorageType"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassTolPollJitter"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassTosOrMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassStatus"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassMaxConcatBurst"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassTosAndMask"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassUnsolicitGrantSize"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassNomPollInterval"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassRequestPolicy"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassMinReservedRate"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassActiveTimeout"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassMinReservedPkt"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassAdmittedTimeout"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassMaxLatency"), ) ) if mibBuilder.loadTexts: docsIetfQosServiceClassGroup.setDescription("Group of objects implemented only in Cable Modem\nTermination Systems when supporting expansion of Service\nClass Names in a QOS Parameter Set") # Compliances docsIetfQosCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 127, 2, 2, 1)).setObjects(*(("DOCS-IETF-QOS-MIB", "docsIetfQosCmtsGroup"), ("DOCS-IETF-QOS-MIB", "docsIetfQosServiceClassGroup"), ("DOCS-IETF-QOS-MIB", "docsIetfQosSrvClassPolicyGroup"), ("DOCS-IETF-QOS-MIB", "docsIetfQosBaseGroup"), ("DOCS-IETF-QOS-MIB", "docsIetfQosParamSetGroup"), ) ) if mibBuilder.loadTexts: docsIetfQosCompliance.setDescription("The compliance statement for MCNS Cable Modems and\nCable Modem Termination Systems that implement DOCSIS\nService Flows.") # Exports # Module identity mibBuilder.exportSymbols("DOCS-IETF-QOS-MIB", PYSNMP_MODULE_ID=docsIetfQosMIB) # Types mibBuilder.exportSymbols("DOCS-IETF-QOS-MIB", DocsIetfQosBitRate=DocsIetfQosBitRate, DocsIetfQosRfMacIfDirection=DocsIetfQosRfMacIfDirection, DocsIetfQosSchedulingType=DocsIetfQosSchedulingType) # Objects mibBuilder.exportSymbols("DOCS-IETF-QOS-MIB", docsIetfQosMIB=docsIetfQosMIB, docsIetfQosNotifications=docsIetfQosNotifications, docsIetfQosMIBObjects=docsIetfQosMIBObjects, docsIetfQosPktClassTable=docsIetfQosPktClassTable, docsIetfQosPktClassEntry=docsIetfQosPktClassEntry, docsIetfQosPktClassId=docsIetfQosPktClassId, docsIetfQosPktClassDirection=docsIetfQosPktClassDirection, docsIetfQosPktClassPriority=docsIetfQosPktClassPriority, docsIetfQosPktClassIpTosLow=docsIetfQosPktClassIpTosLow, docsIetfQosPktClassIpTosHigh=docsIetfQosPktClassIpTosHigh, docsIetfQosPktClassIpTosMask=docsIetfQosPktClassIpTosMask, docsIetfQosPktClassIpProtocol=docsIetfQosPktClassIpProtocol, docsIetfQosPktClassInetAddressType=docsIetfQosPktClassInetAddressType, docsIetfQosPktClassInetSourceAddr=docsIetfQosPktClassInetSourceAddr, docsIetfQosPktClassInetSourceMask=docsIetfQosPktClassInetSourceMask, docsIetfQosPktClassInetDestAddr=docsIetfQosPktClassInetDestAddr, docsIetfQosPktClassInetDestMask=docsIetfQosPktClassInetDestMask, docsIetfQosPktClassSourcePortStart=docsIetfQosPktClassSourcePortStart, docsIetfQosPktClassSourcePortEnd=docsIetfQosPktClassSourcePortEnd, docsIetfQosPktClassDestPortStart=docsIetfQosPktClassDestPortStart, docsIetfQosPktClassDestPortEnd=docsIetfQosPktClassDestPortEnd, docsIetfQosPktClassDestMacAddr=docsIetfQosPktClassDestMacAddr, docsIetfQosPktClassDestMacMask=docsIetfQosPktClassDestMacMask, docsIetfQosPktClassSourceMacAddr=docsIetfQosPktClassSourceMacAddr, docsIetfQosPktClassEnetProtocolType=docsIetfQosPktClassEnetProtocolType, docsIetfQosPktClassEnetProtocol=docsIetfQosPktClassEnetProtocol, docsIetfQosPktClassUserPriLow=docsIetfQosPktClassUserPriLow, docsIetfQosPktClassUserPriHigh=docsIetfQosPktClassUserPriHigh, docsIetfQosPktClassVlanId=docsIetfQosPktClassVlanId, docsIetfQosPktClassStateActive=docsIetfQosPktClassStateActive, docsIetfQosPktClassPkts=docsIetfQosPktClassPkts, docsIetfQosPktClassBitMap=docsIetfQosPktClassBitMap, docsIetfQosParamSetTable=docsIetfQosParamSetTable, docsIetfQosParamSetEntry=docsIetfQosParamSetEntry, docsIetfQosParamSetServiceClassName=docsIetfQosParamSetServiceClassName, docsIetfQosParamSetPriority=docsIetfQosParamSetPriority, docsIetfQosParamSetMaxTrafficRate=docsIetfQosParamSetMaxTrafficRate, docsIetfQosParamSetMaxTrafficBurst=docsIetfQosParamSetMaxTrafficBurst, docsIetfQosParamSetMinReservedRate=docsIetfQosParamSetMinReservedRate, docsIetfQosParamSetMinReservedPkt=docsIetfQosParamSetMinReservedPkt, docsIetfQosParamSetActiveTimeout=docsIetfQosParamSetActiveTimeout, docsIetfQosParamSetAdmittedTimeout=docsIetfQosParamSetAdmittedTimeout, docsIetfQosParamSetMaxConcatBurst=docsIetfQosParamSetMaxConcatBurst, docsIetfQosParamSetSchedulingType=docsIetfQosParamSetSchedulingType, docsIetfQosParamSetNomPollInterval=docsIetfQosParamSetNomPollInterval, docsIetfQosParamSetTolPollJitter=docsIetfQosParamSetTolPollJitter, docsIetfQosParamSetUnsolicitGrantSize=docsIetfQosParamSetUnsolicitGrantSize, docsIetfQosParamSetNomGrantInterval=docsIetfQosParamSetNomGrantInterval, docsIetfQosParamSetTolGrantJitter=docsIetfQosParamSetTolGrantJitter, docsIetfQosParamSetGrantsPerInterval=docsIetfQosParamSetGrantsPerInterval, docsIetfQosParamSetTosAndMask=docsIetfQosParamSetTosAndMask, docsIetfQosParamSetTosOrMask=docsIetfQosParamSetTosOrMask, docsIetfQosParamSetMaxLatency=docsIetfQosParamSetMaxLatency, docsIetfQosParamSetType=docsIetfQosParamSetType, docsIetfQosParamSetRequestPolicyOct=docsIetfQosParamSetRequestPolicyOct, docsIetfQosParamSetBitMap=docsIetfQosParamSetBitMap, docsIetfQosServiceFlowTable=docsIetfQosServiceFlowTable, docsIetfQosServiceFlowEntry=docsIetfQosServiceFlowEntry, docsIetfQosServiceFlowId=docsIetfQosServiceFlowId, docsIetfQosServiceFlowSID=docsIetfQosServiceFlowSID, docsIetfQosServiceFlowDirection=docsIetfQosServiceFlowDirection, docsIetfQosServiceFlowPrimary=docsIetfQosServiceFlowPrimary, docsIetfQosServiceFlowStatsTable=docsIetfQosServiceFlowStatsTable, docsIetfQosServiceFlowStatsEntry=docsIetfQosServiceFlowStatsEntry, docsIetfQosServiceFlowPkts=docsIetfQosServiceFlowPkts, docsIetfQosServiceFlowOctets=docsIetfQosServiceFlowOctets, docsIetfQosServiceFlowTimeCreated=docsIetfQosServiceFlowTimeCreated, docsIetfQosServiceFlowTimeActive=docsIetfQosServiceFlowTimeActive, docsIetfQosServiceFlowPHSUnknowns=docsIetfQosServiceFlowPHSUnknowns, docsIetfQosServiceFlowPolicedDropPkts=docsIetfQosServiceFlowPolicedDropPkts, docsIetfQosServiceFlowPolicedDelayPkts=docsIetfQosServiceFlowPolicedDelayPkts, docsIetfQosUpstreamStatsTable=docsIetfQosUpstreamStatsTable, docsIetfQosUpstreamStatsEntry=docsIetfQosUpstreamStatsEntry, docsIetfQosSID=docsIetfQosSID, docsIetfQosUpstreamFragments=docsIetfQosUpstreamFragments, docsIetfQosUpstreamFragDiscards=docsIetfQosUpstreamFragDiscards, docsIetfQosUpstreamConcatBursts=docsIetfQosUpstreamConcatBursts, docsIetfQosDynamicServiceStatsTable=docsIetfQosDynamicServiceStatsTable, docsIetfQosDynamicServiceStatsEntry=docsIetfQosDynamicServiceStatsEntry, docsIetfQosIfDirection=docsIetfQosIfDirection, docsIetfQosDSAReqs=docsIetfQosDSAReqs, docsIetfQosDSARsps=docsIetfQosDSARsps, docsIetfQosDSAAcks=docsIetfQosDSAAcks, docsIetfQosDSCReqs=docsIetfQosDSCReqs, docsIetfQosDSCRsps=docsIetfQosDSCRsps, docsIetfQosDSCAcks=docsIetfQosDSCAcks, docsIetfQosDSDReqs=docsIetfQosDSDReqs, docsIetfQosDSDRsps=docsIetfQosDSDRsps, docsIetfQosDynamicAdds=docsIetfQosDynamicAdds, docsIetfQosDynamicAddFails=docsIetfQosDynamicAddFails, docsIetfQosDynamicChanges=docsIetfQosDynamicChanges, docsIetfQosDynamicChangeFails=docsIetfQosDynamicChangeFails, docsIetfQosDynamicDeletes=docsIetfQosDynamicDeletes, docsIetfQosDynamicDeleteFails=docsIetfQosDynamicDeleteFails, docsIetfQosDCCReqs=docsIetfQosDCCReqs, docsIetfQosDCCRsps=docsIetfQosDCCRsps, docsIetfQosDCCAcks=docsIetfQosDCCAcks, docsIetfQosDCCs=docsIetfQosDCCs, docsIetfQosDCCFails=docsIetfQosDCCFails, docsIetfQosServiceFlowLogTable=docsIetfQosServiceFlowLogTable, docsIetfQosServiceFlowLogEntry=docsIetfQosServiceFlowLogEntry, docsIetfQosServiceFlowLogIndex=docsIetfQosServiceFlowLogIndex, docsIetfQosServiceFlowLogIfIndex=docsIetfQosServiceFlowLogIfIndex, docsIetfQosServiceFlowLogSFID=docsIetfQosServiceFlowLogSFID, docsIetfQosServiceFlowLogCmMac=docsIetfQosServiceFlowLogCmMac, docsIetfQosServiceFlowLogPkts=docsIetfQosServiceFlowLogPkts, docsIetfQosServiceFlowLogOctets=docsIetfQosServiceFlowLogOctets, docsIetfQosServiceFlowLogTimeDeleted=docsIetfQosServiceFlowLogTimeDeleted, docsIetfQosServiceFlowLogTimeCreated=docsIetfQosServiceFlowLogTimeCreated, docsIetfQosServiceFlowLogTimeActive=docsIetfQosServiceFlowLogTimeActive, docsIetfQosServiceFlowLogDirection=docsIetfQosServiceFlowLogDirection, docsIetfQosServiceFlowLogPrimary=docsIetfQosServiceFlowLogPrimary, docsIetfQosServiceFlowLogServiceClassName=docsIetfQosServiceFlowLogServiceClassName, docsIetfQosServiceFlowLogPolicedDropPkts=docsIetfQosServiceFlowLogPolicedDropPkts, docsIetfQosServiceFlowLogPolicedDelayPkts=docsIetfQosServiceFlowLogPolicedDelayPkts, docsIetfQosServiceFlowLogControl=docsIetfQosServiceFlowLogControl, docsIetfQosServiceClassTable=docsIetfQosServiceClassTable, docsIetfQosServiceClassEntry=docsIetfQosServiceClassEntry, docsIetfQosServiceClassName=docsIetfQosServiceClassName, docsIetfQosServiceClassStatus=docsIetfQosServiceClassStatus, docsIetfQosServiceClassPriority=docsIetfQosServiceClassPriority, docsIetfQosServiceClassMaxTrafficRate=docsIetfQosServiceClassMaxTrafficRate, docsIetfQosServiceClassMaxTrafficBurst=docsIetfQosServiceClassMaxTrafficBurst, docsIetfQosServiceClassMinReservedRate=docsIetfQosServiceClassMinReservedRate, docsIetfQosServiceClassMinReservedPkt=docsIetfQosServiceClassMinReservedPkt, docsIetfQosServiceClassMaxConcatBurst=docsIetfQosServiceClassMaxConcatBurst) mibBuilder.exportSymbols("DOCS-IETF-QOS-MIB", docsIetfQosServiceClassNomPollInterval=docsIetfQosServiceClassNomPollInterval, docsIetfQosServiceClassTolPollJitter=docsIetfQosServiceClassTolPollJitter, docsIetfQosServiceClassUnsolicitGrantSize=docsIetfQosServiceClassUnsolicitGrantSize, docsIetfQosServiceClassNomGrantInterval=docsIetfQosServiceClassNomGrantInterval, docsIetfQosServiceClassTolGrantJitter=docsIetfQosServiceClassTolGrantJitter, docsIetfQosServiceClassGrantsPerInterval=docsIetfQosServiceClassGrantsPerInterval, docsIetfQosServiceClassMaxLatency=docsIetfQosServiceClassMaxLatency, docsIetfQosServiceClassActiveTimeout=docsIetfQosServiceClassActiveTimeout, docsIetfQosServiceClassAdmittedTimeout=docsIetfQosServiceClassAdmittedTimeout, docsIetfQosServiceClassSchedulingType=docsIetfQosServiceClassSchedulingType, docsIetfQosServiceClassRequestPolicy=docsIetfQosServiceClassRequestPolicy, docsIetfQosServiceClassTosAndMask=docsIetfQosServiceClassTosAndMask, docsIetfQosServiceClassTosOrMask=docsIetfQosServiceClassTosOrMask, docsIetfQosServiceClassDirection=docsIetfQosServiceClassDirection, docsIetfQosServiceClassStorageType=docsIetfQosServiceClassStorageType, docsIetfQosServiceClassDSCPOverwrite=docsIetfQosServiceClassDSCPOverwrite, docsIetfQosServiceClassPolicyTable=docsIetfQosServiceClassPolicyTable, docsIetfQosServiceClassPolicyEntry=docsIetfQosServiceClassPolicyEntry, docsIetfQosServiceClassPolicyIndex=docsIetfQosServiceClassPolicyIndex, docsIetfQosServiceClassPolicyName=docsIetfQosServiceClassPolicyName, docsIetfQosServiceClassPolicyRulePriority=docsIetfQosServiceClassPolicyRulePriority, docsIetfQosServiceClassPolicyStatus=docsIetfQosServiceClassPolicyStatus, docsIetfQosServiceClassPolicyStorageType=docsIetfQosServiceClassPolicyStorageType, docsIetfQosPHSTable=docsIetfQosPHSTable, docsIetfQosPHSEntry=docsIetfQosPHSEntry, docsIetfQosPHSField=docsIetfQosPHSField, docsIetfQosPHSMask=docsIetfQosPHSMask, docsIetfQosPHSSize=docsIetfQosPHSSize, docsIetfQosPHSVerify=docsIetfQosPHSVerify, docsIetfQosPHSIndex=docsIetfQosPHSIndex, docsIetfQosCmtsMacToSrvFlowTable=docsIetfQosCmtsMacToSrvFlowTable, docsIetfQosCmtsMacToSrvFlowEntry=docsIetfQosCmtsMacToSrvFlowEntry, docsIetfQosCmtsCmMac=docsIetfQosCmtsCmMac, docsIetfQosCmtsServiceFlowId=docsIetfQosCmtsServiceFlowId, docsIetfQosCmtsIfIndex=docsIetfQosCmtsIfIndex, docsIetfQosConformance=docsIetfQosConformance, docsIetfQosGroups=docsIetfQosGroups, docsIetfQosCompliances=docsIetfQosCompliances) # Groups mibBuilder.exportSymbols("DOCS-IETF-QOS-MIB", docsIetfQosBaseGroup=docsIetfQosBaseGroup, docsIetfQosParamSetGroup=docsIetfQosParamSetGroup, docsIetfQosCmtsGroup=docsIetfQosCmtsGroup, docsIetfQosSrvClassPolicyGroup=docsIetfQosSrvClassPolicyGroup, docsIetfQosServiceClassGroup=docsIetfQosServiceClassGroup) # Compliances mibBuilder.exportSymbols("DOCS-IETF-QOS-MIB", docsIetfQosCompliance=docsIetfQosCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPV6-MLD-MIB.py0000644000014400001440000003402211736645136020574 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPV6-MLD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:13 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( InetAddressIPv6, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressIPv6") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue") # Objects mldMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 91)).setRevisions(("2001-01-25 00:00",)) if mibBuilder.loadTexts: mldMIB.setOrganization("IETF IPNGWG Working Group.") if mibBuilder.loadTexts: mldMIB.setContactInfo(" Brian Haberman\nNortel Networks\n4309 Emperor Blvd.\nDurham, NC 27703\nUSA\n\nPhone: +1 919 992 4439\ne-mail: haberman@nortelnetworks.com") if mibBuilder.loadTexts: mldMIB.setDescription("The MIB module for MLD Management.") mldMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 91, 1)) mldInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 91, 1, 1)) if mibBuilder.loadTexts: mldInterfaceTable.setDescription("The (conceptual) table listing the interfaces on which\nMLD is enabled.") mldInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 91, 1, 1, 1)).setIndexNames((0, "IPV6-MLD-MIB", "mldInterfaceIfIndex")) if mibBuilder.loadTexts: mldInterfaceEntry.setDescription("An entry (conceptual row) representing an interface on\nwhich MLD is enabled.") mldInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mldInterfaceIfIndex.setDescription("The internetwork-layer interface value of the interface\nfor which MLD is enabled.") mldInterfaceQueryInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 2), Unsigned32().clone(125)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldInterfaceQueryInterval.setDescription("The frequency at which MLD Host-Query packets are\ntransmitted on this interface.") mldInterfaceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldInterfaceStatus.setDescription("The activation of a row enables MLD on the interface.\nThe destruction of a row disables MLD on the interface.") mldInterfaceVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 4), Unsigned32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldInterfaceVersion.setDescription("The version of MLD which is running on this interface.\nThis object is a place holder to allow for new versions\nof MLD to be introduced. Version 1 of MLD is defined\nin RFC 2710.") mldInterfaceQuerier = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 5), InetAddressIPv6().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: mldInterfaceQuerier.setDescription("The address of the MLD Querier on the IPv6 subnet to\nwhich this interface is attached.") mldInterfaceQueryMaxResponseDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 6), Unsigned32().clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldInterfaceQueryMaxResponseDelay.setDescription("The maximum query response time advertised in MLD\nqueries on this interface.") mldInterfaceJoins = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mldInterfaceJoins.setDescription("The number of times a group membership has been added on\nthis interface; that is, the number of times an entry for\nthis interface has been added to the Cache Table. This\nobject gives an indication of the amount of MLD activity\nover time.") mldInterfaceGroups = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mldInterfaceGroups.setDescription("The current number of entries for this interface in the\nCache Table.") mldInterfaceRobustness = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 9), Unsigned32().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldInterfaceRobustness.setDescription("The Robustness Variable allows tuning for the expected\npacket loss on a subnet. If a subnet is expected to be\nlossy, the Robustness Variable may be increased. MLD is\nrobust to (Robustness Variable-1) packet losses. The\ndiscussion of the Robustness Variable is in Section 7.1\nof RFC 2710.") mldInterfaceLastListenQueryIntvl = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 10), Unsigned32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldInterfaceLastListenQueryIntvl.setDescription("The Last Member Query Interval is the Max Response\nDelay inserted into Group-Specific Queries sent in\nresponse to Leave Group messages, and is also the amount\nof time between Group-Specific Query messages. This\nvalue may be tuned to modify the leave latency of the\nnetwork. A reduced value results in reduced time to\ndetect the loss of the last member of a group.") mldInterfaceProxyIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 11), InterfaceIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldInterfaceProxyIfIndex.setDescription("Some devices implement a form of MLD proxying whereby\nmemberships learned on the interface represented by this\nrow, cause MLD Multicast Listener Reports to be sent on\nthe internetwork-layer interface identified by this\nobject. Such a device would implement mldRouterMIBGroup\nonly on its router interfaces (those interfaces with\nnon-zero mldInterfaceProxyIfIndex). Typically, the\nvalue of this object is 0, indicating that no proxying\nis being done.") mldInterfaceQuerierUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 12), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mldInterfaceQuerierUpTime.setDescription("The time since mldInterfaceQuerier was last changed.") mldInterfaceQuerierExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 1, 1, 13), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mldInterfaceQuerierExpiryTime.setDescription("The time remaining before the Other Querier Present\nTimer expires. If the local system is the querier,\nthe value of this object is zero.") mldCacheTable = MibTable((1, 3, 6, 1, 2, 1, 91, 1, 2)) if mibBuilder.loadTexts: mldCacheTable.setDescription("The (conceptual) table listing the IPv6 multicast\n\n\ngroups for which there are members on a particular\ninterface.") mldCacheEntry = MibTableRow((1, 3, 6, 1, 2, 1, 91, 1, 2, 1)).setIndexNames((0, "IPV6-MLD-MIB", "mldCacheAddress"), (0, "IPV6-MLD-MIB", "mldCacheIfIndex")) if mibBuilder.loadTexts: mldCacheEntry.setDescription("An entry (conceptual row) in the mldCacheTable.") mldCacheAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 2, 1, 1), InetAddressIPv6().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("noaccess") if mibBuilder.loadTexts: mldCacheAddress.setDescription("The IPv6 multicast group address for which this entry\ncontains information.") mldCacheIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 2, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mldCacheIfIndex.setDescription("The internetwork-layer interface for which this entry\ncontains information for an IPv6 multicast group\naddress.") mldCacheSelf = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 2, 1, 3), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldCacheSelf.setDescription("An indication of whether the local system is a member of\n\n\nthis group address on this interface.") mldCacheLastReporter = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 2, 1, 4), InetAddressIPv6().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: mldCacheLastReporter.setDescription("The IPv6 address of the source of the last membership\nreport received for this IPv6 Multicast group address on\nthis interface. If no membership report has been\nreceived, this object has the value 0::0.") mldCacheUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 2, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mldCacheUpTime.setDescription("The time elapsed since this entry was created.") mldCacheExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 2, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mldCacheExpiryTime.setDescription("The minimum amount of time remaining before this entry\nwill be aged out. A value of 0 indicates that the entry\nis only present because mldCacheSelf is true and that if\nthe router left the group, this entry would be aged out\nimmediately. Note that some implementations may process\nMembership Reports from the local system in the same way\nas reports from other hosts, so a value of 0 is not\nrequired.") mldCacheStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 91, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mldCacheStatus.setDescription("The status of this row, by which new entries may be\ncreated, or existing entries deleted from this table.") mldMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 91, 2)) mldMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 91, 2, 1)) mldMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 91, 2, 2)) # Augmentions # Groups mldBaseMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 91, 2, 2, 1)).setObjects(*(("IPV6-MLD-MIB", "mldCacheStatus"), ("IPV6-MLD-MIB", "mldInterfaceStatus"), ("IPV6-MLD-MIB", "mldCacheSelf"), ) ) if mibBuilder.loadTexts: mldBaseMIBGroup.setDescription("The basic collection of objects providing management of\nMLD. The mldBaseMIBGroup is designed to allow for the\nmanager creation and deletion of MLD cache entries.") mldRouterMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 91, 2, 2, 2)).setObjects(*(("IPV6-MLD-MIB", "mldInterfaceQuerierExpiryTime"), ("IPV6-MLD-MIB", "mldInterfaceQueryInterval"), ("IPV6-MLD-MIB", "mldInterfaceVersion"), ("IPV6-MLD-MIB", "mldInterfaceQuerierUpTime"), ("IPV6-MLD-MIB", "mldCacheUpTime"), ("IPV6-MLD-MIB", "mldInterfaceQuerier"), ("IPV6-MLD-MIB", "mldCacheLastReporter"), ("IPV6-MLD-MIB", "mldInterfaceGroups"), ("IPV6-MLD-MIB", "mldInterfaceJoins"), ("IPV6-MLD-MIB", "mldCacheExpiryTime"), ("IPV6-MLD-MIB", "mldInterfaceRobustness"), ("IPV6-MLD-MIB", "mldInterfaceQueryMaxResponseDelay"), ("IPV6-MLD-MIB", "mldInterfaceLastListenQueryIntvl"), ) ) if mibBuilder.loadTexts: mldRouterMIBGroup.setDescription("A collection of additional objects for management of MLD\nin routers.") mldHostMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 91, 2, 2, 3)).setObjects(*(("IPV6-MLD-MIB", "mldInterfaceQuerier"), ) ) if mibBuilder.loadTexts: mldHostMIBGroup.setDescription("A collection of additional objects for management of MLD\nin hosts.") mldProxyMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 91, 2, 2, 4)).setObjects(*(("IPV6-MLD-MIB", "mldInterfaceProxyIfIndex"), ) ) if mibBuilder.loadTexts: mldProxyMIBGroup.setDescription("A collection of additional objects for management of MLD\nproxy devices.") # Compliances mldHostMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 91, 2, 1, 1)).setObjects(*(("IPV6-MLD-MIB", "mldBaseMIBGroup"), ("IPV6-MLD-MIB", "mldHostMIBGroup"), ) ) if mibBuilder.loadTexts: mldHostMIBCompliance.setDescription("The compliance statement for hosts running MLD and\nimplementing the MLD MIB.") mldRouterMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 91, 2, 1, 2)).setObjects(*(("IPV6-MLD-MIB", "mldBaseMIBGroup"), ("IPV6-MLD-MIB", "mldRouterMIBGroup"), ) ) if mibBuilder.loadTexts: mldRouterMIBCompliance.setDescription("The compliance statement for routers running MLD and\nimplementing the MLD MIB.") # Exports # Module identity mibBuilder.exportSymbols("IPV6-MLD-MIB", PYSNMP_MODULE_ID=mldMIB) # Objects mibBuilder.exportSymbols("IPV6-MLD-MIB", mldMIB=mldMIB, mldMIBObjects=mldMIBObjects, mldInterfaceTable=mldInterfaceTable, mldInterfaceEntry=mldInterfaceEntry, mldInterfaceIfIndex=mldInterfaceIfIndex, mldInterfaceQueryInterval=mldInterfaceQueryInterval, mldInterfaceStatus=mldInterfaceStatus, mldInterfaceVersion=mldInterfaceVersion, mldInterfaceQuerier=mldInterfaceQuerier, mldInterfaceQueryMaxResponseDelay=mldInterfaceQueryMaxResponseDelay, mldInterfaceJoins=mldInterfaceJoins, mldInterfaceGroups=mldInterfaceGroups, mldInterfaceRobustness=mldInterfaceRobustness, mldInterfaceLastListenQueryIntvl=mldInterfaceLastListenQueryIntvl, mldInterfaceProxyIfIndex=mldInterfaceProxyIfIndex, mldInterfaceQuerierUpTime=mldInterfaceQuerierUpTime, mldInterfaceQuerierExpiryTime=mldInterfaceQuerierExpiryTime, mldCacheTable=mldCacheTable, mldCacheEntry=mldCacheEntry, mldCacheAddress=mldCacheAddress, mldCacheIfIndex=mldCacheIfIndex, mldCacheSelf=mldCacheSelf, mldCacheLastReporter=mldCacheLastReporter, mldCacheUpTime=mldCacheUpTime, mldCacheExpiryTime=mldCacheExpiryTime, mldCacheStatus=mldCacheStatus, mldMIBConformance=mldMIBConformance, mldMIBCompliances=mldMIBCompliances, mldMIBGroups=mldMIBGroups) # Groups mibBuilder.exportSymbols("IPV6-MLD-MIB", mldBaseMIBGroup=mldBaseMIBGroup, mldRouterMIBGroup=mldRouterMIBGroup, mldHostMIBGroup=mldHostMIBGroup, mldProxyMIBGroup=mldProxyMIBGroup) # Compliances mibBuilder.exportSymbols("IPV6-MLD-MIB", mldHostMIBCompliance=mldHostMIBCompliance, mldRouterMIBCompliance=mldRouterMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IF-MIB.py0000644000014400001440000015712111736645136017742 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:08 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAifType, ) = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( snmpTraps, ) = mibBuilder.importSymbols("SNMPv2-MIB", "snmpTraps") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( AutonomousType, DisplayString, PhysAddress, RowStatus, TextualConvention, TestAndIncr, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "DisplayString", "PhysAddress", "RowStatus", "TextualConvention", "TestAndIncr", "TimeStamp", "TruthValue") # Types class InterfaceIndex(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,2147483647) class InterfaceIndexOrZero(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class OwnerString(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) # Objects interfaces = MibIdentifier((1, 3, 6, 1, 2, 1, 2)) ifNumber = MibScalar((1, 3, 6, 1, 2, 1, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifNumber.setDescription("The number of network interfaces (regardless of their\ncurrent state) present on this system.") ifTable = MibTable((1, 3, 6, 1, 2, 1, 2, 2)) if mibBuilder.loadTexts: ifTable.setDescription("A list of interface entries. The number of entries is\ngiven by the value of ifNumber.") ifEntry = MibTableRow((1, 3, 6, 1, 2, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: ifEntry.setDescription("An entry containing management information applicable to a\nparticular interface.") ifIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifIndex.setDescription("A unique value, greater than zero, for each interface. It\nis recommended that values are assigned contiguously\nstarting from 1. The value for each interface sub-layer\nmust remain constant at least from one re-initialization of\nthe entity's network management system to the next re-\ninitialization.") ifDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifDescr.setDescription("A textual string containing information about the\ninterface. This string should include the name of the\nmanufacturer, the product name and the version of the\ninterface hardware/software.") ifType = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 3), IANAifType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifType.setDescription("The type of interface. Additional values for ifType are\nassigned by the Internet Assigned Numbers Authority (IANA),\nthrough updating the syntax of the IANAifType textual\nconvention.") ifMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMtu.setDescription("The size of the largest packet which can be sent/received\non the interface, specified in octets. For interfaces that\nare used for transmitting network datagrams, this is the\nsize of the largest network datagram that can be sent on the\ninterface.") ifSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifSpeed.setDescription("An estimate of the interface's current bandwidth in bits\nper second. For interfaces which do not vary in bandwidth\nor for those where no accurate estimation can be made, this\nobject should contain the nominal bandwidth. If the\nbandwidth of the interface is greater than the maximum value\nreportable by this object then this object should report its\nmaximum value (4,294,967,295) and ifHighSpeed must be used\nto report the interace's speed. For a sub-layer which has\nno concept of bandwidth, this object should be zero.") ifPhysAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 6), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifPhysAddress.setDescription("The interface's address at its protocol sub-layer. For\nexample, for an 802.x interface, this object normally\ncontains a MAC address. The interface's media-specific MIB\nmust define the bit and byte ordering and the format of the\nvalue of this object. For interfaces which do not have such\nan address (e.g., a serial line), this object should contain\nan octet string of zero length.") ifAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifAdminStatus.setDescription("The desired state of the interface. The testing(3) state\nindicates that no operational packets can be passed. When a\nmanaged system initializes, all interfaces start with\nifAdminStatus in the down(2) state. As a result of either\nexplicit management action or per configuration information\nretained by the managed system, ifAdminStatus is then\nchanged to either the up(1) or testing(3) states (or remains\nin the down(2) state).") ifOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,7,4,6,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ("unknown", 4), ("dormant", 5), ("notPresent", 6), ("lowerLayerDown", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOperStatus.setDescription("The current operational state of the interface. The\ntesting(3) state indicates that no operational packets can\nbe passed. If ifAdminStatus is down(2) then ifOperStatus\nshould be down(2). If ifAdminStatus is changed to up(1)\nthen ifOperStatus should change to up(1) if the interface is\nready to transmit and receive network traffic; it should\nchange to dormant(5) if the interface is waiting for\nexternal actions (such as a serial line waiting for an\nincoming connection); it should remain in the down(2) state\nif and only if there is a fault that prevents it from going\nto the up(1) state; it should remain in the notPresent(6)\nstate if the interface has missing (typically, hardware)\ncomponents.") ifLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 9), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifLastChange.setDescription("The value of sysUpTime at the time the interface entered\nits current operational state. If the current state was\nentered prior to the last re-initialization of the local\nnetwork management subsystem, then this object contains a\nzero value.") ifInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInOctets.setDescription("The total number of octets received on the interface,\n\n\nincluding framing characters.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifInUcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInUcastPkts.setDescription("The number of packets, delivered by this sub-layer to a\nhigher (sub-)layer, which were not addressed to a multicast\nor broadcast address at this sub-layer.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifInNUcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInNUcastPkts.setDescription("The number of packets, delivered by this sub-layer to a\nhigher (sub-)layer, which were addressed to a multicast or\nbroadcast address at this sub-layer.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.\n\nThis object is deprecated in favour of ifInMulticastPkts and\nifInBroadcastPkts.") ifInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInDiscards.setDescription("The number of inbound packets which were chosen to be\ndiscarded even though no errors had been detected to prevent\n\n\ntheir being deliverable to a higher-layer protocol. One\npossible reason for discarding such a packet could be to\nfree up buffer space.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInErrors.setDescription("For packet-oriented interfaces, the number of inbound\npackets that contained errors preventing them from being\ndeliverable to a higher-layer protocol. For character-\noriented or fixed-length interfaces, the number of inbound\ntransmission units that contained errors preventing them\nfrom being deliverable to a higher-layer protocol.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifInUnknownProtos = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInUnknownProtos.setDescription("For packet-oriented interfaces, the number of packets\nreceived via the interface which were discarded because of\nan unknown or unsupported protocol. For character-oriented\nor fixed-length interfaces that support protocol\nmultiplexing the number of transmission units received via\nthe interface which were discarded because of an unknown or\nunsupported protocol. For any interface that does not\nsupport protocol multiplexing, this counter will always be\n0.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutOctets.setDescription("The total number of octets transmitted out of the\ninterface, including framing characters.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifOutUcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutUcastPkts.setDescription("The total number of packets that higher-level protocols\nrequested be transmitted, and which were not addressed to a\nmulticast or broadcast address at this sub-layer, including\nthose that were discarded or not sent.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifOutNUcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutNUcastPkts.setDescription("The total number of packets that higher-level protocols\nrequested be transmitted, and which were addressed to a\nmulticast or broadcast address at this sub-layer, including\nthose that were discarded or not sent.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.\n\nThis object is deprecated in favour of ifOutMulticastPkts\nand ifOutBroadcastPkts.") ifOutDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutDiscards.setDescription("The number of outbound packets which were chosen to be\ndiscarded even though no errors had been detected to prevent\ntheir being transmitted. One possible reason for discarding\nsuch a packet could be to free up buffer space.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutErrors.setDescription("For packet-oriented interfaces, the number of outbound\npackets that could not be transmitted because of errors.\nFor character-oriented or fixed-length interfaces, the\nnumber of outbound transmission units that could not be\ntransmitted because of errors.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifOutQLen = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutQLen.setDescription("The length of the output packet queue (in packets).") ifSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 2, 2, 1, 22), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifSpecific.setDescription("A reference to MIB definitions specific to the particular\nmedia being used to realize the interface. It is\n\n\nrecommended that this value point to an instance of a MIB\nobject in the media-specific MIB, i.e., that this object\nhave the semantics associated with the InstancePointer\ntextual convention defined in RFC 2579. In fact, it is\nrecommended that the media-specific MIB specify what value\nifSpecific should/can take for values of ifType. If no MIB\ndefinitions specific to the particular media are available,\nthe value should be set to the OBJECT IDENTIFIER { 0 0 }.") ifMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 31)).setRevisions(("2000-06-14 00:00","1996-02-28 21:55","1993-11-08 21:55",)) if mibBuilder.loadTexts: ifMIB.setOrganization("IETF Interfaces MIB Working Group") if mibBuilder.loadTexts: ifMIB.setContactInfo(" Keith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134-1706\nUS\n\n408-526-5260\nkzm@cisco.com") if mibBuilder.loadTexts: ifMIB.setDescription("The MIB module to describe generic objects for network\ninterface sub-layers. This MIB is an updated version of\nMIB-II's ifTable, and incorporates the extensions defined in\nRFC 1229.") ifMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 31, 1)) ifXTable = MibTable((1, 3, 6, 1, 2, 1, 31, 1, 1)) if mibBuilder.loadTexts: ifXTable.setDescription("A list of interface entries. The number of entries is\ngiven by the value of ifNumber. This table contains\nadditional objects for the interface table.") ifXEntry = MibTableRow((1, 3, 6, 1, 2, 1, 31, 1, 1, 1)) if mibBuilder.loadTexts: ifXEntry.setDescription("An entry containing additional management information\napplicable to a particular interface.") ifName = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifName.setDescription("The textual name of the interface. The value of this\nobject should be the name of the interface as assigned by\nthe local device and should be suitable for use in commands\nentered at the device's `console'. This might be a text\nname, such as `le0' or a simple port number, such as `1',\ndepending on the interface naming syntax of the device. If\nseveral entries in the ifTable together represent a single\ninterface as named by the device, then each will have the\nsame value of ifName. Note that for an agent which responds\nto SNMP queries concerning an interface on some other\n(proxied) device, then the value of ifName for such an\ninterface is the proxied device's local name for it.\n\nIf there is no local name, or this object is otherwise not\napplicable, then this object contains a zero-length string.") ifInMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInMulticastPkts.setDescription("The number of packets, delivered by this sub-layer to a\nhigher (sub-)layer, which were addressed to a multicast\naddress at this sub-layer. For a MAC layer protocol, this\nincludes both Group and Functional addresses.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\n\n\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifInBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInBroadcastPkts.setDescription("The number of packets, delivered by this sub-layer to a\nhigher (sub-)layer, which were addressed to a broadcast\naddress at this sub-layer.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutMulticastPkts.setDescription("The total number of packets that higher-level protocols\nrequested be transmitted, and which were addressed to a\nmulticast address at this sub-layer, including those that\nwere discarded or not sent. For a MAC layer protocol, this\nincludes both Group and Functional addresses.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifOutBroadcastPkts.setDescription("The total number of packets that higher-level protocols\nrequested be transmitted, and which were addressed to a\nbroadcast address at this sub-layer, including those that\nwere discarded or not sent.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\n\n\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCInOctets.setDescription("The total number of octets received on the interface,\nincluding framing characters. This object is a 64-bit\nversion of ifInOctets.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCInUcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCInUcastPkts.setDescription("The number of packets, delivered by this sub-layer to a\nhigher (sub-)layer, which were not addressed to a multicast\nor broadcast address at this sub-layer. This object is a\n64-bit version of ifInUcastPkts.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCInMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCInMulticastPkts.setDescription("The number of packets, delivered by this sub-layer to a\nhigher (sub-)layer, which were addressed to a multicast\naddress at this sub-layer. For a MAC layer protocol, this\nincludes both Group and Functional addresses. This object\nis a 64-bit version of ifInMulticastPkts.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCInBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCInBroadcastPkts.setDescription("The number of packets, delivered by this sub-layer to a\nhigher (sub-)layer, which were addressed to a broadcast\naddress at this sub-layer. This object is a 64-bit version\nof ifInBroadcastPkts.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCOutOctets.setDescription("The total number of octets transmitted out of the\ninterface, including framing characters. This object is a\n64-bit version of ifOutOctets.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCOutUcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCOutUcastPkts.setDescription("The total number of packets that higher-level protocols\nrequested be transmitted, and which were not addressed to a\nmulticast or broadcast address at this sub-layer, including\nthose that were discarded or not sent. This object is a\n64-bit version of ifOutUcastPkts.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCOutMulticastPkts.setDescription("The total number of packets that higher-level protocols\nrequested be transmitted, and which were addressed to a\nmulticast address at this sub-layer, including those that\nwere discarded or not sent. For a MAC layer protocol, this\nincludes both Group and Functional addresses. This object\nis a 64-bit version of ifOutMulticastPkts.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifHCOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHCOutBroadcastPkts.setDescription("The total number of packets that higher-level protocols\nrequested be transmitted, and which were addressed to a\nbroadcast address at this sub-layer, including those that\nwere discarded or not sent. This object is a 64-bit version\nof ifOutBroadcastPkts.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") ifLinkUpDownTrapEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifLinkUpDownTrapEnable.setDescription("Indicates whether linkUp/linkDown traps should be generated\nfor this interface.\n\nBy default, this object should have the value enabled(1) for\ninterfaces which do not operate on 'top' of any other\ninterface (as defined in the ifStackTable), and disabled(2)\notherwise.") ifHighSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifHighSpeed.setDescription("An estimate of the interface's current bandwidth in units\nof 1,000,000 bits per second. If this object reports a\nvalue of `n' then the speed of the interface is somewhere in\nthe range of `n-500,000' to `n+499,999'. For interfaces\nwhich do not vary in bandwidth or for those where no\naccurate estimation can be made, this object should contain\nthe nominal bandwidth. For a sub-layer which has no concept\nof bandwidth, this object should be zero.") ifPromiscuousMode = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 16), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifPromiscuousMode.setDescription("This object has a value of false(2) if this interface only\naccepts packets/frames that are addressed to this station.\nThis object has a value of true(1) when the station accepts\nall packets/frames transmitted on the media. The value\ntrue(1) is only legal on certain types of media. If legal,\nsetting this object to a value of true(1) may require the\ninterface to be reset before becoming effective.\n\nThe value of ifPromiscuousMode does not affect the reception\nof broadcast and multicast packets/frames by the interface.") ifConnectorPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 17), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifConnectorPresent.setDescription("This object has the value 'true(1)' if the interface\nsublayer has a physical connector and the value 'false(2)'\notherwise.") ifAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifAlias.setDescription("This object is an 'alias' name for the interface as\nspecified by a network manager, and provides a non-volatile\n'handle' for the interface.\n\nOn the first instantiation of an interface, the value of\nifAlias associated with that interface is the zero-length\nstring. As and when a value is written into an instance of\nifAlias through a network management set operation, then the\nagent must retain the supplied value in the ifAlias instance\nassociated with the same interface for as long as that\ninterface remains instantiated, including across all re-\ninitializations/reboots of the network management system,\nincluding those which result in a change of the interface's\nifIndex value.\n\nAn example of the value which a network manager might store\nin this object for a WAN interface is the (Telco's) circuit\nnumber/identifier of the interface.\n\nSome agents may support write-access only for interfaces\nhaving particular values of ifType. An agent which supports\nwrite access to this object is required to keep the value in\nnon-volatile storage, but it may limit the length of new\nvalues depending on how much storage is already occupied by\nthe current values for other interfaces.") ifCounterDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 1, 1, 19), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifCounterDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany one or more of this interface's counters suffered a\ndiscontinuity. The relevant counters are the specific\ninstances associated with this interface of any Counter32 or\n\n\nCounter64 object contained in the ifTable or ifXTable. If\nno such discontinuities have occurred since the last re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") ifStackTable = MibTable((1, 3, 6, 1, 2, 1, 31, 1, 2)) if mibBuilder.loadTexts: ifStackTable.setDescription("The table containing information on the relationships\nbetween the multiple sub-layers of network interfaces. In\nparticular, it contains information on which sub-layers run\n'on top of' which other sub-layers, where each sub-layer\ncorresponds to a conceptual row in the ifTable. For\nexample, when the sub-layer with ifIndex value x runs over\nthe sub-layer with ifIndex value y, then this table\ncontains:\n\n ifStackStatus.x.y=active\n\nFor each ifIndex value, I, which identifies an active\ninterface, there are always at least two instantiated rows\nin this table associated with I. For one of these rows, I\nis the value of ifStackHigherLayer; for the other, I is the\nvalue of ifStackLowerLayer. (If I is not involved in\nmultiplexing, then these are the only two rows associated\nwith I.)\n\nFor example, two rows exist even for an interface which has\nno others stacked on top or below it:\n\n ifStackStatus.0.x=active\n ifStackStatus.x.0=active ") ifStackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 31, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifStackHigherLayer"), (0, "IF-MIB", "ifStackLowerLayer")) if mibBuilder.loadTexts: ifStackEntry.setDescription("Information on a particular relationship between two sub-\nlayers, specifying that one sub-layer runs on 'top' of the\nother sub-layer. Each sub-layer corresponds to a conceptual\nrow in the ifTable.") ifStackHigherLayer = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 2, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ifStackHigherLayer.setDescription("The value of ifIndex corresponding to the higher sub-layer\nof the relationship, i.e., the sub-layer which runs on 'top'\nof the sub-layer identified by the corresponding instance of\nifStackLowerLayer. If there is no higher sub-layer (below\nthe internetwork layer), then this object has the value 0.") ifStackLowerLayer = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 2, 1, 2), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ifStackLowerLayer.setDescription("The value of ifIndex corresponding to the lower sub-layer\nof the relationship, i.e., the sub-layer which runs 'below'\nthe sub-layer identified by the corresponding instance of\nifStackHigherLayer. If there is no lower sub-layer, then\nthis object has the value 0.") ifStackStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ifStackStatus.setDescription("The status of the relationship between two sub-layers.\n\nChanging the value of this object from 'active' to\n'notInService' or 'destroy' will likely have consequences up\nand down the interface stack. Thus, write access to this\nobject is likely to be inappropriate for some types of\ninterfaces, and many implementations will choose not to\nsupport write-access for any type of interface.") ifTestTable = MibTable((1, 3, 6, 1, 2, 1, 31, 1, 3)) if mibBuilder.loadTexts: ifTestTable.setDescription("This table contains one entry per interface. It defines\nobjects which allow a network manager to instruct an agent\nto test an interface for various faults. Tests for an\ninterface are defined in the media-specific MIB for that\ninterface. After invoking a test, the object ifTestResult\ncan be read to determine the outcome. If an agent can not\nperform the test, ifTestResult is set to so indicate. The\nobject ifTestCode can be used to provide further test-\nspecific or interface-specific (or even enterprise-specific)\ninformation concerning the outcome of the test. Only one\ntest can be in progress on each interface at any one time.\nIf one test is in progress when another test is invoked, the\nsecond test is rejected. Some agents may reject a test when\na prior test is active on another interface.\n\nBefore starting a test, a manager-station must first obtain\n'ownership' of the entry in the ifTestTable for the\ninterface to be tested. This is accomplished with the\nifTestId and ifTestStatus objects as follows:\n\ntry_again:\n get (ifTestId, ifTestStatus)\n while (ifTestStatus != notInUse)\n /*\n * Loop while a test is running or some other\n * manager is configuring a test.\n */\n short delay\n get (ifTestId, ifTestStatus)\n }\n\n /*\n * Is not being used right now -- let's compete\n * to see who gets it.\n */\n lock_value = ifTestId\n\n if ( set(ifTestId = lock_value, ifTestStatus = inUse,\n\n\n ifTestOwner = 'my-IP-address') == FAILURE)\n /*\n * Another manager got the ifTestEntry -- go\n * try again\n */\n goto try_again;\n\n /*\n * I have the lock\n */\n set up any test parameters.\n\n /*\n * This starts the test\n */\n set(ifTestType = test_to_run);\n\n wait for test completion by polling ifTestResult\n\n when test completes, agent sets ifTestResult\n agent also sets ifTestStatus = 'notInUse'\n\n retrieve any additional test results, and ifTestId\n\n if (ifTestId == lock_value+1) results are valid\n\nA manager station first retrieves the value of the\nappropriate ifTestId and ifTestStatus objects, periodically\nrepeating the retrieval if necessary, until the value of\nifTestStatus is 'notInUse'. The manager station then tries\nto set the same ifTestId object to the value it just\nretrieved, the same ifTestStatus object to 'inUse', and the\ncorresponding ifTestOwner object to a value indicating\nitself. If the set operation succeeds then the manager has\nobtained ownership of the ifTestEntry, and the value of the\nifTestId object is incremented by the agent (per the\nsemantics of TestAndIncr). Failure of the set operation\nindicates that some other manager has obtained ownership of\nthe ifTestEntry.\n\nOnce ownership is obtained, any test parameters can be\nsetup, and then the test is initiated by setting ifTestType.\nOn completion of the test, the agent sets ifTestStatus to\n'notInUse'. Once this occurs, the manager can retrieve the\nresults. In the (rare) event that the invocation of tests\nby two network managers were to overlap, then there would be\na possibility that the first test's results might be\noverwritten by the second test's results prior to the first\n\n\nresults being read. This unlikely circumstance can be\ndetected by a network manager retrieving ifTestId at the\nsame time as retrieving the test results, and ensuring that\nthe results are for the desired request.\n\nIf ifTestType is not set within an abnormally long period of\ntime after ownership is obtained, the agent should time-out\nthe manager, and reset the value of the ifTestStatus object\nback to 'notInUse'. It is suggested that this time-out\nperiod be 5 minutes.\n\nIn general, a management station must not retransmit a\nrequest to invoke a test for which it does not receive a\nresponse; instead, it properly inspects an agent's MIB to\ndetermine if the invocation was successful. Only if the\ninvocation was unsuccessful, is the invocation request\nretransmitted.\n\nSome tests may require the interface to be taken off-line in\norder to execute them, or may even require the agent to\nreboot after completion of the test. In these\ncircumstances, communication with the management station\ninvoking the test may be lost until after completion of the\ntest. An agent is not required to support such tests.\nHowever, if such tests are supported, then the agent should\nmake every effort to transmit a response to the request\nwhich invoked the test prior to losing communication. When\nthe agent is restored to normal service, the results of the\ntest are properly made available in the appropriate objects.\nNote that this requires that the ifIndex value assigned to\nan interface must be unchanged even if the test causes a\nreboot. An agent must reject any test for which it cannot,\nperhaps due to resource constraints, make available at least\nthe minimum amount of information after that test\ncompletes.") ifTestEntry = MibTableRow((1, 3, 6, 1, 2, 1, 31, 1, 3, 1)) if mibBuilder.loadTexts: ifTestEntry.setDescription("An entry containing objects for invoking tests on an\ninterface.") ifTestId = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 3, 1, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifTestId.setDescription("This object identifies the current invocation of the\ninterface's test.") ifTestStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("notInUse", 1), ("inUse", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifTestStatus.setDescription("This object indicates whether or not some manager currently\nhas the necessary 'ownership' required to invoke a test on\nthis interface. A write to this object is only successful\nwhen it changes its value from 'notInUse(1)' to 'inUse(2)'.\nAfter completion of a test, the agent resets the value back\nto 'notInUse(1)'.") ifTestType = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 3, 1, 3), AutonomousType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifTestType.setDescription("A control variable used to start and stop operator-\ninitiated interface tests. Most OBJECT IDENTIFIER values\nassigned to tests are defined elsewhere, in association with\nspecific types of interface. However, this document assigns\na value for a full-duplex loopback test, and defines the\nspecial meanings of the subject identifier:\n\n noTest OBJECT IDENTIFIER ::= { 0 0 }\n\nWhen the value noTest is written to this object, no action\nis taken unless a test is in progress, in which case the\ntest is aborted. Writing any other value to this object is\n\n\nonly valid when no test is currently in progress, in which\ncase the indicated test is initiated.\n\nWhen read, this object always returns the most recent value\nthat ifTestType was set to. If it has not been set since\nthe last initialization of the network management subsystem\non the agent, a value of noTest is returned.") ifTestResult = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(7,1,6,2,3,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("success", 2), ("inProgress", 3), ("notSupported", 4), ("unAbleToRun", 5), ("aborted", 6), ("failed", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifTestResult.setDescription("This object contains the result of the most recently\nrequested test, or the value none(1) if no tests have been\nrequested since the last reset. Note that this facility\nprovides no provision for saving the results of one test\nwhen starting another, as could be required if used by\nmultiple managers concurrently.") ifTestCode = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 3, 1, 5), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifTestCode.setDescription("This object contains a code which contains more specific\ninformation on the test result, for example an error-code\nafter a failed test. Error codes and other values this\nobject may take are specific to the type of interface and/or\ntest. The value may have the semantics of either the\nAutonomousType or InstancePointer textual conventions as\ndefined in RFC 2579. The identifier:\n\n testCodeUnknown OBJECT IDENTIFIER ::= { 0 0 }\n\nis defined for use if no additional result code is\navailable.") ifTestOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 3, 1, 6), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifTestOwner.setDescription("The entity which currently has the 'ownership' required to\ninvoke a test on this interface.") ifRcvAddressTable = MibTable((1, 3, 6, 1, 2, 1, 31, 1, 4)) if mibBuilder.loadTexts: ifRcvAddressTable.setDescription("This table contains an entry for each address (broadcast,\nmulticast, or uni-cast) for which the system will receive\npackets/frames on a particular interface, except as follows:\n\n- for an interface operating in promiscuous mode, entries\nare only required for those addresses for which the system\nwould receive frames were it not operating in promiscuous\nmode.\n\n\n- for 802.5 functional addresses, only one entry is\nrequired, for the address which has the functional address\nbit ANDed with the bit mask of all functional addresses for\nwhich the interface will accept frames.\n\nA system is normally able to use any unicast address which\ncorresponds to an entry in this table as a source address.") ifRcvAddressEntry = MibTableRow((1, 3, 6, 1, 2, 1, 31, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "IF-MIB", "ifRcvAddressAddress")) if mibBuilder.loadTexts: ifRcvAddressEntry.setDescription("A list of objects identifying an address for which the\nsystem will accept packets/frames on the particular\ninterface identified by the index value ifIndex.") ifRcvAddressAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 4, 1, 1), PhysAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ifRcvAddressAddress.setDescription("An address for which the system will accept packets/frames\non this entry's interface.") ifRcvAddressStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 4, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ifRcvAddressStatus.setDescription("This object is used to create and delete rows in the\nifRcvAddressTable.") ifRcvAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 31, 1, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("volatile", 2), ("nonVolatile", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ifRcvAddressType.setDescription("This object has the value nonVolatile(3) for those entries\nin the table which are valid and will not be deleted by the\nnext restart of the managed system. Entries having the\nvalue volatile(2) are valid and exist, but have not been\nsaved, so that will not exist after the next restart of the\nmanaged system. Entries having the value other(1) are valid\nand exist but are not classified as to whether they will\ncontinue to exist after the next restart.") ifTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 31, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifTableLastChange.setDescription("The value of sysUpTime at the time of the last creation or\ndeletion of an entry in the ifTable. If the number of\nentries has been unchanged since the last re-initialization\nof the local network management subsystem, then this object\ncontains a zero value.") ifStackLastChange = MibScalar((1, 3, 6, 1, 2, 1, 31, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifStackLastChange.setDescription("The value of sysUpTime at the time of the last change of\nthe (whole) interface stack. A change of the interface\nstack is defined to be any creation, deletion, or change in\nvalue of any instance of ifStackStatus. If the interface\nstack has been unchanged since the last re-initialization of\nthe local network management subsystem, then this object\ncontains a zero value.") ifConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 31, 2)) ifGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 31, 2, 1)) ifCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 31, 2, 2)) # Augmentions ifEntry.registerAugmentions(("IF-MIB", "ifTestEntry")) ifTestEntry.setIndexNames(*ifEntry.getIndexNames()) ifEntry.registerAugmentions(("IF-MIB", "ifXEntry")) ifXEntry.setIndexNames(*ifEntry.getIndexNames()) # Notifications linkDown = NotificationType((1, 3, 6, 1, 6, 3, 1, 1, 5, 3)).setObjects(*(("IF-MIB", "ifIndex"), ("IF-MIB", "ifAdminStatus"), ("IF-MIB", "ifOperStatus"), ) ) if mibBuilder.loadTexts: linkDown.setDescription("A linkDown trap signifies that the SNMP entity, acting in\nan agent role, has detected that the ifOperStatus object for\none of its communication links is about to enter the down\nstate from some other state (but not from the notPresent\nstate). This other state is indicated by the included value\nof ifOperStatus.") linkUp = NotificationType((1, 3, 6, 1, 6, 3, 1, 1, 5, 4)).setObjects(*(("IF-MIB", "ifIndex"), ("IF-MIB", "ifAdminStatus"), ("IF-MIB", "ifOperStatus"), ) ) if mibBuilder.loadTexts: linkUp.setDescription("A linkUp trap signifies that the SNMP entity, acting in an\nagent role, has detected that the ifOperStatus object for\none of its communication links left the down state and\ntransitioned into some other state (but not into the\nnotPresent state). This other state is indicated by the\nincluded value of ifOperStatus.") # Groups ifGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 1)).setObjects(*(("IF-MIB", "ifType"), ("IF-MIB", "ifLastChange"), ("IF-MIB", "ifPhysAddress"), ("IF-MIB", "ifConnectorPresent"), ("IF-MIB", "ifName"), ("IF-MIB", "ifSpeed"), ("IF-MIB", "ifHighSpeed"), ("IF-MIB", "ifLinkUpDownTrapEnable"), ("IF-MIB", "ifDescr"), ("IF-MIB", "ifOperStatus"), ("IF-MIB", "ifAdminStatus"), ) ) if mibBuilder.loadTexts: ifGeneralGroup.setDescription("A collection of objects deprecated in favour of\nifGeneralInformationGroup.") ifFixedLengthGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 2)).setObjects(*(("IF-MIB", "ifInErrors"), ("IF-MIB", "ifOutOctets"), ("IF-MIB", "ifInUnknownProtos"), ("IF-MIB", "ifInOctets"), ("IF-MIB", "ifOutErrors"), ) ) if mibBuilder.loadTexts: ifFixedLengthGroup.setDescription("A collection of objects providing information specific to\nnon-high speed (non-high speed interfaces transmit and\nreceive at speeds less than or equal to 20,000,000\nbits/second) character-oriented or fixed-length-transmission\nnetwork interfaces.") ifHCFixedLengthGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 3)).setObjects(*(("IF-MIB", "ifInErrors"), ("IF-MIB", "ifInOctets"), ("IF-MIB", "ifHCInOctets"), ("IF-MIB", "ifHCOutOctets"), ("IF-MIB", "ifOutOctets"), ("IF-MIB", "ifOutErrors"), ("IF-MIB", "ifInUnknownProtos"), ) ) if mibBuilder.loadTexts: ifHCFixedLengthGroup.setDescription("A collection of objects providing information specific to\nhigh speed (greater than 20,000,000 bits/second) character-\noriented or fixed-length-transmission network interfaces.") ifPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 4)).setObjects(*(("IF-MIB", "ifInMulticastPkts"), ("IF-MIB", "ifInOctets"), ("IF-MIB", "ifOutMulticastPkts"), ("IF-MIB", "ifInUcastPkts"), ("IF-MIB", "ifOutUcastPkts"), ("IF-MIB", "ifOutErrors"), ("IF-MIB", "ifMtu"), ("IF-MIB", "ifInDiscards"), ("IF-MIB", "ifInErrors"), ("IF-MIB", "ifOutBroadcastPkts"), ("IF-MIB", "ifInBroadcastPkts"), ("IF-MIB", "ifOutDiscards"), ("IF-MIB", "ifOutOctets"), ("IF-MIB", "ifInUnknownProtos"), ("IF-MIB", "ifPromiscuousMode"), ) ) if mibBuilder.loadTexts: ifPacketGroup.setDescription("A collection of objects providing information specific to\nnon-high speed (non-high speed interfaces transmit and\nreceive at speeds less than or equal to 20,000,000\nbits/second) packet-oriented network interfaces.") ifHCPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 5)).setObjects(*(("IF-MIB", "ifInDiscards"), ("IF-MIB", "ifInErrors"), ("IF-MIB", "ifOutBroadcastPkts"), ("IF-MIB", "ifInOctets"), ("IF-MIB", "ifInMulticastPkts"), ("IF-MIB", "ifOutMulticastPkts"), ("IF-MIB", "ifInUcastPkts"), ("IF-MIB", "ifHCInOctets"), ("IF-MIB", "ifInBroadcastPkts"), ("IF-MIB", "ifHCOutOctets"), ("IF-MIB", "ifOutOctets"), ("IF-MIB", "ifOutErrors"), ("IF-MIB", "ifInUnknownProtos"), ("IF-MIB", "ifOutUcastPkts"), ("IF-MIB", "ifOutDiscards"), ("IF-MIB", "ifPromiscuousMode"), ("IF-MIB", "ifMtu"), ) ) if mibBuilder.loadTexts: ifHCPacketGroup.setDescription("A collection of objects providing information specific to\nhigh speed (greater than 20,000,000 bits/second but less\nthan or equal to 650,000,000 bits/second) packet-oriented\nnetwork interfaces.") ifVHCPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 6)).setObjects(*(("IF-MIB", "ifInMulticastPkts"), ("IF-MIB", "ifOutBroadcastPkts"), ("IF-MIB", "ifOutMulticastPkts"), ("IF-MIB", "ifOutDiscards"), ("IF-MIB", "ifMtu"), ("IF-MIB", "ifInDiscards"), ("IF-MIB", "ifInErrors"), ("IF-MIB", "ifHCInOctets"), ("IF-MIB", "ifHCOutOctets"), ("IF-MIB", "ifHCInMulticastPkts"), ("IF-MIB", "ifPromiscuousMode"), ("IF-MIB", "ifHCInUcastPkts"), ("IF-MIB", "ifHCOutMulticastPkts"), ("IF-MIB", "ifOutUcastPkts"), ("IF-MIB", "ifInOctets"), ("IF-MIB", "ifInUcastPkts"), ("IF-MIB", "ifOutErrors"), ("IF-MIB", "ifHCOutBroadcastPkts"), ("IF-MIB", "ifInBroadcastPkts"), ("IF-MIB", "ifOutOctets"), ("IF-MIB", "ifHCInBroadcastPkts"), ("IF-MIB", "ifInUnknownProtos"), ("IF-MIB", "ifHCOutUcastPkts"), ) ) if mibBuilder.loadTexts: ifVHCPacketGroup.setDescription("A collection of objects providing information specific to\nhigher speed (greater than 650,000,000 bits/second) packet-\noriented network interfaces.") ifRcvAddressGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 7)).setObjects(*(("IF-MIB", "ifRcvAddressStatus"), ("IF-MIB", "ifRcvAddressType"), ) ) if mibBuilder.loadTexts: ifRcvAddressGroup.setDescription("A collection of objects providing information on the\nmultiple addresses which an interface receives.") ifTestGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 8)).setObjects(*(("IF-MIB", "ifTestId"), ("IF-MIB", "ifTestCode"), ("IF-MIB", "ifTestOwner"), ("IF-MIB", "ifTestStatus"), ("IF-MIB", "ifTestResult"), ("IF-MIB", "ifTestType"), ) ) if mibBuilder.loadTexts: ifTestGroup.setDescription("A collection of objects providing the ability to invoke\ntests on an interface.") ifStackGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 9)).setObjects(*(("IF-MIB", "ifStackStatus"), ) ) if mibBuilder.loadTexts: ifStackGroup.setDescription("The previous collection of objects providing information on\nthe layering of MIB-II interfaces.") ifGeneralInformationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 10)).setObjects(*(("IF-MIB", "ifType"), ("IF-MIB", "ifAlias"), ("IF-MIB", "ifNumber"), ("IF-MIB", "ifLastChange"), ("IF-MIB", "ifPhysAddress"), ("IF-MIB", "ifConnectorPresent"), ("IF-MIB", "ifIndex"), ("IF-MIB", "ifName"), ("IF-MIB", "ifSpeed"), ("IF-MIB", "ifTableLastChange"), ("IF-MIB", "ifHighSpeed"), ("IF-MIB", "ifLinkUpDownTrapEnable"), ("IF-MIB", "ifDescr"), ("IF-MIB", "ifOperStatus"), ("IF-MIB", "ifAdminStatus"), ) ) if mibBuilder.loadTexts: ifGeneralInformationGroup.setDescription("A collection of objects providing information applicable to\nall network interfaces.") ifStackGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 11)).setObjects(*(("IF-MIB", "ifStackStatus"), ("IF-MIB", "ifStackLastChange"), ) ) if mibBuilder.loadTexts: ifStackGroup2.setDescription("A collection of objects providing information on the\nlayering of MIB-II interfaces.") ifOldObjectsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 12)).setObjects(*(("IF-MIB", "ifOutQLen"), ("IF-MIB", "ifSpecific"), ("IF-MIB", "ifInNUcastPkts"), ("IF-MIB", "ifOutNUcastPkts"), ) ) if mibBuilder.loadTexts: ifOldObjectsGroup.setDescription("The collection of objects deprecated from the original MIB-\nII interfaces group.") ifCounterDiscontinuityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 13)).setObjects(*(("IF-MIB", "ifCounterDiscontinuityTime"), ) ) if mibBuilder.loadTexts: ifCounterDiscontinuityGroup.setDescription("A collection of objects providing information specific to\ninterface counter discontinuities.") linkUpDownNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 31, 2, 1, 14)).setObjects(*(("IF-MIB", "linkUp"), ("IF-MIB", "linkDown"), ) ) if mibBuilder.loadTexts: linkUpDownNotificationsGroup.setDescription("The notifications which indicate specific changes in the\nvalue of ifOperStatus.") # Compliances ifCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 31, 2, 2, 1)).setObjects(*(("IF-MIB", "ifGeneralGroup"), ("IF-MIB", "ifPacketGroup"), ("IF-MIB", "ifFixedLengthGroup"), ("IF-MIB", "ifTestGroup"), ("IF-MIB", "ifHCPacketGroup"), ("IF-MIB", "ifRcvAddressGroup"), ("IF-MIB", "ifStackGroup"), ("IF-MIB", "ifHCFixedLengthGroup"), ) ) if mibBuilder.loadTexts: ifCompliance.setDescription("A compliance statement defined in a previous version of\nthis MIB module, for SNMP entities which have network\ninterfaces.") ifCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 31, 2, 2, 2)).setObjects(*(("IF-MIB", "ifPacketGroup"), ("IF-MIB", "ifFixedLengthGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("IF-MIB", "ifHCPacketGroup"), ("IF-MIB", "ifRcvAddressGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("IF-MIB", "ifHCFixedLengthGroup"), ("IF-MIB", "ifStackGroup2"), ) ) if mibBuilder.loadTexts: ifCompliance2.setDescription("A compliance statement defined in a previous version of\nthis MIB module, for SNMP entities which have network\ninterfaces.") ifCompliance3 = ModuleCompliance((1, 3, 6, 1, 2, 1, 31, 2, 2, 3)).setObjects(*(("IF-MIB", "ifPacketGroup"), ("IF-MIB", "ifFixedLengthGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("IF-MIB", "linkUpDownNotificationsGroup"), ("IF-MIB", "ifHCPacketGroup"), ("IF-MIB", "ifRcvAddressGroup"), ("IF-MIB", "ifVHCPacketGroup"), ("IF-MIB", "ifHCFixedLengthGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ) ) if mibBuilder.loadTexts: ifCompliance3.setDescription("The compliance statement for SNMP entities which have\nnetwork interfaces.") # Exports # Module identity mibBuilder.exportSymbols("IF-MIB", PYSNMP_MODULE_ID=ifMIB) # Types mibBuilder.exportSymbols("IF-MIB", InterfaceIndex=InterfaceIndex, InterfaceIndexOrZero=InterfaceIndexOrZero, OwnerString=OwnerString) # Objects mibBuilder.exportSymbols("IF-MIB", interfaces=interfaces, ifNumber=ifNumber, ifTable=ifTable, ifEntry=ifEntry, ifIndex=ifIndex, ifDescr=ifDescr, ifType=ifType, ifMtu=ifMtu, ifSpeed=ifSpeed, ifPhysAddress=ifPhysAddress, ifAdminStatus=ifAdminStatus, ifOperStatus=ifOperStatus, ifLastChange=ifLastChange, ifInOctets=ifInOctets, ifInUcastPkts=ifInUcastPkts, ifInNUcastPkts=ifInNUcastPkts, ifInDiscards=ifInDiscards, ifInErrors=ifInErrors, ifInUnknownProtos=ifInUnknownProtos, ifOutOctets=ifOutOctets, ifOutUcastPkts=ifOutUcastPkts, ifOutNUcastPkts=ifOutNUcastPkts, ifOutDiscards=ifOutDiscards, ifOutErrors=ifOutErrors, ifOutQLen=ifOutQLen, ifSpecific=ifSpecific, ifMIB=ifMIB, ifMIBObjects=ifMIBObjects, ifXTable=ifXTable, ifXEntry=ifXEntry, ifName=ifName, ifInMulticastPkts=ifInMulticastPkts, ifInBroadcastPkts=ifInBroadcastPkts, ifOutMulticastPkts=ifOutMulticastPkts, ifOutBroadcastPkts=ifOutBroadcastPkts, ifHCInOctets=ifHCInOctets, ifHCInUcastPkts=ifHCInUcastPkts, ifHCInMulticastPkts=ifHCInMulticastPkts, ifHCInBroadcastPkts=ifHCInBroadcastPkts, ifHCOutOctets=ifHCOutOctets, ifHCOutUcastPkts=ifHCOutUcastPkts, ifHCOutMulticastPkts=ifHCOutMulticastPkts, ifHCOutBroadcastPkts=ifHCOutBroadcastPkts, ifLinkUpDownTrapEnable=ifLinkUpDownTrapEnable, ifHighSpeed=ifHighSpeed, ifPromiscuousMode=ifPromiscuousMode, ifConnectorPresent=ifConnectorPresent, ifAlias=ifAlias, ifCounterDiscontinuityTime=ifCounterDiscontinuityTime, ifStackTable=ifStackTable, ifStackEntry=ifStackEntry, ifStackHigherLayer=ifStackHigherLayer, ifStackLowerLayer=ifStackLowerLayer, ifStackStatus=ifStackStatus, ifTestTable=ifTestTable, ifTestEntry=ifTestEntry, ifTestId=ifTestId, ifTestStatus=ifTestStatus, ifTestType=ifTestType, ifTestResult=ifTestResult, ifTestCode=ifTestCode, ifTestOwner=ifTestOwner, ifRcvAddressTable=ifRcvAddressTable, ifRcvAddressEntry=ifRcvAddressEntry, ifRcvAddressAddress=ifRcvAddressAddress, ifRcvAddressStatus=ifRcvAddressStatus, ifRcvAddressType=ifRcvAddressType, ifTableLastChange=ifTableLastChange, ifStackLastChange=ifStackLastChange, ifConformance=ifConformance, ifGroups=ifGroups, ifCompliances=ifCompliances) # Notifications mibBuilder.exportSymbols("IF-MIB", linkDown=linkDown, linkUp=linkUp) # Groups mibBuilder.exportSymbols("IF-MIB", ifGeneralGroup=ifGeneralGroup, ifFixedLengthGroup=ifFixedLengthGroup, ifHCFixedLengthGroup=ifHCFixedLengthGroup, ifPacketGroup=ifPacketGroup, ifHCPacketGroup=ifHCPacketGroup, ifVHCPacketGroup=ifVHCPacketGroup, ifRcvAddressGroup=ifRcvAddressGroup, ifTestGroup=ifTestGroup, ifStackGroup=ifStackGroup, ifGeneralInformationGroup=ifGeneralInformationGroup, ifStackGroup2=ifStackGroup2, ifOldObjectsGroup=ifOldObjectsGroup, ifCounterDiscontinuityGroup=ifCounterDiscontinuityGroup, linkUpDownNotificationsGroup=linkUpDownNotificationsGroup) # Compliances mibBuilder.exportSymbols("IF-MIB", ifCompliance=ifCompliance, ifCompliance2=ifCompliance2, ifCompliance3=ifCompliance3) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-LC-FR-STD-MIB.py0000644000014400001440000002061411736645137021445 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-LC-FR-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:19 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( DLCI, ) = mibBuilder.importSymbols("FRAME-RELAY-DTE-MIB", "DLCI") ( mplsInterfaceIndex, ) = mibBuilder.importSymbols("MPLS-LSR-STD-MIB", "mplsInterfaceIndex") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType") # Objects mplsLcFrStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 10)).setRevisions(("2006-01-12 00:00",)) if mibBuilder.loadTexts: mplsLcFrStdMIB.setOrganization("Multiprotocol Label Switching (MPLS) Working Group") if mibBuilder.loadTexts: mplsLcFrStdMIB.setContactInfo(" Thomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\n\nSubrahmanya Hegde\nEmail: subrah@cisco.com\n\nGeneral comments should be sent to mpls@uu.net") if mibBuilder.loadTexts: mplsLcFrStdMIB.setDescription("This MIB module contains managed object definitions for\nMPLS Label-Controlled Frame-Relay interfaces as defined\nin (RFC3034).\n\nCopyright (C) The Internet Society (2006). This\nversion of this MIB module is part of RFC 4368; see\nthe RFC itself for full legal notices.") mplsLcFrStdNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 0)) mplsLcFrStdObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 1)) mplsLcFrStdInterfaceConfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1)) if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfTable.setDescription("This table specifies per-interface MPLS LC-FR\ncapability and associated information. In particular,\nthis table sparsely extends the MPLS-LSR-STD-MIB's\nmplsInterfaceConfTable.") mplsLcFrStdInterfaceConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInterfaceIndex")) if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfEntry.setDescription("An entry in this table is created by an LSR for\nevery interface capable of supporting MPLS LC-FR.\nEach entry in this table will exist only if a\ncorresponding entry in ifTable and mplsInterfaceConfTable\nexists. If the associated entries in ifTable and\nmplsInterfaceConfTable are deleted, the corresponding\nentry in this table must also be deleted shortly\nthereafter.") mplsLcFrStdTrafficMinDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 1), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdTrafficMinDlci.setDescription("This is the minimum DLCI value over which this\nLSR is willing to accept traffic on this\ninterface.") mplsLcFrStdTrafficMaxDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 2), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdTrafficMaxDlci.setDescription("This is the max DLCI value over which this\nLSR is willing to accept traffic on this\ninterface.") mplsLcFrStdCtrlMinDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 3), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdCtrlMinDlci.setDescription("This is the min DLCI value over which this\nLSR is willing to accept control traffic\non this interface.") mplsLcFrStdCtrlMaxDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 4), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdCtrlMaxDlci.setDescription("This is the max DLCI value over which this\nLSR is willing to accept control traffic\non this interface.") mplsLcFrStdInterfaceConfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfRowStatus.setDescription("This object is used to create and\ndelete entries in this table. When configuring\nentries in this table, the corresponding ifEntry and\nmplsInterfaceConfEntry MUST exist beforehand. If a manager\nattempts to create an entry for a corresponding\nmplsInterfaceConfEntry that does not support LC-FR,\nthe agent MUST return an inconsistentValue error.\nIf this table is implemented read-only, then the\nagent must set this object to active(1) when this\nrow is made active. If this table is implemented\nwritable, then an agent MUST not allow modification\nto its objects once this value is set to active(1),\nexcept to mplsLcFrStdInterfaceConfRowStatus and\nmplsLcFrStdInterfaceConfStorageType.") mplsLcFrStdInterfaceConfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 10, 1, 1, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcFrStdInterfaceConfStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLcFrStdConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2)) mplsLcFrStdCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1)) mplsLcFrStdGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 2)) # Augmentions # Groups mplsLcFrStdIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 2, 1)).setObjects(*(("MPLS-LC-FR-STD-MIB", "mplsLcFrStdCtrlMaxDlci"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdInterfaceConfRowStatus"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdTrafficMaxDlci"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdInterfaceConfStorageType"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdCtrlMinDlci"), ("MPLS-LC-FR-STD-MIB", "mplsLcFrStdTrafficMinDlci"), ) ) if mibBuilder.loadTexts: mplsLcFrStdIfGroup.setDescription("Collection of objects needed for MPLS LC-FR\ninterface configuration.") # Compliances mplsLcFrStdModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1, 1)).setObjects(*(("MPLS-LC-FR-STD-MIB", "mplsLcFrStdIfGroup"), ) ) if mibBuilder.loadTexts: mplsLcFrStdModuleFullCompliance.setDescription("Compliance statement for agents that provide\nfull support for MPLS-LC-FR-STD-MIB. Such\ndevices can be monitored and also be configured\nusing this MIB module.") mplsLcFrStdModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 10, 2, 1, 2)).setObjects(*(("MPLS-LC-FR-STD-MIB", "mplsLcFrStdIfGroup"), ) ) if mibBuilder.loadTexts: mplsLcFrStdModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only\nprovide read-only support for MPLS-LC-FR-STD-MIB.\nSuch devices can be monitored but cannot be configured\nusing this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-LC-FR-STD-MIB", PYSNMP_MODULE_ID=mplsLcFrStdMIB) # Objects mibBuilder.exportSymbols("MPLS-LC-FR-STD-MIB", mplsLcFrStdMIB=mplsLcFrStdMIB, mplsLcFrStdNotifications=mplsLcFrStdNotifications, mplsLcFrStdObjects=mplsLcFrStdObjects, mplsLcFrStdInterfaceConfTable=mplsLcFrStdInterfaceConfTable, mplsLcFrStdInterfaceConfEntry=mplsLcFrStdInterfaceConfEntry, mplsLcFrStdTrafficMinDlci=mplsLcFrStdTrafficMinDlci, mplsLcFrStdTrafficMaxDlci=mplsLcFrStdTrafficMaxDlci, mplsLcFrStdCtrlMinDlci=mplsLcFrStdCtrlMinDlci, mplsLcFrStdCtrlMaxDlci=mplsLcFrStdCtrlMaxDlci, mplsLcFrStdInterfaceConfRowStatus=mplsLcFrStdInterfaceConfRowStatus, mplsLcFrStdInterfaceConfStorageType=mplsLcFrStdInterfaceConfStorageType, mplsLcFrStdConformance=mplsLcFrStdConformance, mplsLcFrStdCompliances=mplsLcFrStdCompliances, mplsLcFrStdGroups=mplsLcFrStdGroups) # Groups mibBuilder.exportSymbols("MPLS-LC-FR-STD-MIB", mplsLcFrStdIfGroup=mplsLcFrStdIfGroup) # Compliances mibBuilder.exportSymbols("MPLS-LC-FR-STD-MIB", mplsLcFrStdModuleFullCompliance=mplsLcFrStdModuleFullCompliance, mplsLcFrStdModuleReadOnlyCompliance=mplsLcFrStdModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MAU-MIB.py0000644000014400001440000014273111736645137020070 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MAU-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:17 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAifJackType, IANAifMauAutoNegCapBits, IANAifMauMediaAvailable, IANAifMauTypeListBits, ) = mibBuilder.importSymbols("IANA-MAU-MIB", "IANAifJackType", "IANAifMauAutoNegCapBits", "IANAifMauMediaAvailable", "IANAifMauTypeListBits") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( AutonomousType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "TextualConvention", "TruthValue") # Types class JackType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,11,3,7,8,12,4,2,1,13,6,5,10,14,) namedValues = NamedValues(("other", 1), ("fiberST", 10), ("telco", 11), ("mtrj", 12), ("hssdc", 13), ("fiberLC", 14), ("rj45", 2), ("rj45S", 3), ("db9", 4), ("bnc", 5), ("fAUI", 6), ("mAUI", 7), ("fiberSC", 8), ("fiberMIC", 9), ) # Objects snmpDot3MauMgt = MibIdentifier((1, 3, 6, 1, 2, 1, 26)) snmpDot3MauTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 0)) dot3RpMauBasicGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 1)) rpMauTable = MibTable((1, 3, 6, 1, 2, 1, 26, 1, 1)) if mibBuilder.loadTexts: rpMauTable.setDescription("Table of descriptive and status information\nabout the MAU(s) attached to the ports of a\nrepeater.") rpMauEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 1, 1, 1)).setIndexNames((0, "MAU-MIB", "rpMauGroupIndex"), (0, "MAU-MIB", "rpMauPortIndex"), (0, "MAU-MIB", "rpMauIndex")) if mibBuilder.loadTexts: rpMauEntry.setDescription("An entry in the table, containing information\nabout a single MAU.") rpMauGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauGroupIndex.setDescription("This variable uniquely identifies the group\ncontaining the port to which the MAU described\nby this entry is connected.\n\nNote: In practice, a group will generally be\na field-replaceable unit (i.e., module, card,\nor board) that can fit in the physical system\nenclosure, and the group number will correspond\nto a number marked on the physical enclosure.\n\nThe group denoted by a particular value of this\nobject is the same as the group denoted by the\nsame value of rptrGroupIndex.") rpMauPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauPortIndex.setDescription("This variable uniquely identifies the repeater\nport within group rpMauGroupIndex to which the\nMAU described by this entry is connected.") rpMauIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauIndex.setDescription("This variable uniquely identifies the MAU\ndescribed by this entry from among other\nMAUs connected to the same port\n(rpMauPortIndex).") rpMauType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 4), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauType.setDescription("This object identifies the MAU type. Values for\nstandard IEEE 802.3 MAU types are defined in the\nIANA maintained IANA-MAU-MIB module, as\nOBJECT-IDENTITIES of dot3MauType.\nIf the MAU type is unknown, the object identifier\nzeroDotZero is returned.") rpMauStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(6,4,2,3,1,5,)).subtype(namedValues=NamedValues(("other", 1), ("unknown", 2), ("operational", 3), ("standby", 4), ("shutdown", 5), ("reset", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rpMauStatus.setDescription("The current state of the MAU. This object MAY\nbe implemented as a read-only object by those\nagents and MAUs that do not implement software\ncontrol of the MAU state. Some agents may not\nsupport setting the value of this object to some\nof the enumerated values.\n\nThe value other(1) is returned if the MAU is in\na state other than one of the states 2 through\n6.\n\n\n\nThe value unknown(2) is returned when the MAU's\ntrue state is unknown; for example, when it is\nbeing initialized.\n\nA MAU in the operational(3) state is fully\nfunctional; it operates, and passes signals to its\nattached DTE or repeater port in accordance to\nits specification.\n\nA MAU in standby(4) state forces DI and CI to\nidle, and the media transmitter to idle or fault,\nif supported. Standby(4) mode only applies to\nlink type MAUs. The state of\nrpMauMediaAvailable is unaffected.\n\nA MAU in shutdown(5) state assumes the same\ncondition on DI, CI, and the media transmitter,\nas though it were powered down or not connected.\nThe MAU MAY return other(1) value for the\nrpMauJabberState and rpMauMediaAvailable objects\nwhen it is in this state. For an AUI, this\nstate will remove power from the AUI.\n\nSetting this variable to the value reset(6)\nresets the MAU in the same manner as a\npower-off, power-on cycle of at least one-half\nsecond would. The agent is not required to\nreturn the value reset(6).\n\nSetting this variable to the value\noperational(3), standby(4), or shutdown(5)\ncauses the MAU to assume the respective state,\nexcept that setting a mixing-type MAU or an AUI\nto standby(4) will cause the MAU to enter the\nshutdown state.") rpMauMediaAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 6), IANAifMauMediaAvailable()).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauMediaAvailable.setDescription("This object identifies Media Available state of\nthe MAU, complementary to the rpMauStatus. Values\nfor the standard IEEE 802.3 Media Available states\nare defined in the IANA maintained IANA-MAU-MIB\n\n\n\nmodule, as IANAifMauMediaAvailable TC.") rpMauMediaAvailableStateExits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauMediaAvailableStateExits.setDescription("A count of the number of times that\nrpMauMediaAvailable for this MAU instance leaves\nthe state available(3).\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem and at other times, as indicated by the\nvalue of rptrMonitorPortLastChange.") rpMauJabberState = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("other", 1), ("unknown", 2), ("noJabber", 3), ("jabbering", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauJabberState.setDescription("The value other(1) is returned if the jabber\nstate is not 2, 3, or 4. The agent MUST always\nreturn other(1) for MAU type dot3MauTypeAUI.\n\nThe value unknown(2) is returned when the MAU's\ntrue state is unknown; for example, when it is\nbeing initialized.\n\nIf the MAU is not jabbering the agent returns\nnoJabber(3). This is the 'normal' state.\n\nIf the MAU is in jabber state the agent returns\nthe jabbering(4) value.") rpMauJabberingStateEnters = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauJabberingStateEnters.setDescription("A count of the number of times that\nmauJabberState for this MAU instance enters the\nstate jabbering(4). For MAUs of type\ndot3MauTypeAUI, dot3MauType100BaseT4,\ndot3MauType100BaseTX, dot3MauType100BaseFX, and\nall 1000Mbps types, this counter will always\nindicate zero.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem and at other times, as indicated by the\nvalue of rptrMonitorPortLastChange.") rpMauFalseCarriers = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rpMauFalseCarriers.setDescription("A count of the number of false carrier events\nduring IDLE in 100BASE-X links. This counter\ndoes not increment at the symbol rate. It can\nincrement after a valid carrier completion at a\nmaximum rate of once per 100 ms until the next\ncarrier event.\n\nThis counter increments only for MAUs of type\ndot3MauType100BaseT4, dot3MauType100BaseTX,\ndot3MauType100BaseFX, and all 1000Mbps types.\n\nFor all other MAU types, this counter will\nalways indicate zero.\n\nThe approximate minimum time for rollover of\nthis counter is 7.4 hours.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem and at other times, as indicated by the\nvalue of rptrMonitorPortLastChange.") rpJackTable = MibTable((1, 3, 6, 1, 2, 1, 26, 1, 2)) if mibBuilder.loadTexts: rpJackTable.setDescription("Information about the external jacks attached\nto MAUs attached to the ports of a repeater.") rpJackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 1, 2, 1)).setIndexNames((0, "MAU-MIB", "rpMauGroupIndex"), (0, "MAU-MIB", "rpMauPortIndex"), (0, "MAU-MIB", "rpMauIndex"), (0, "MAU-MIB", "rpJackIndex")) if mibBuilder.loadTexts: rpJackEntry.setDescription("An entry in the table, containing information\nabout a particular jack.") rpJackIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rpJackIndex.setDescription("This variable uniquely identifies the jack\ndescribed by this entry from among other jacks\nattached to the same MAU (rpMauIndex).") rpJackType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 1, 2, 1, 2), IANAifJackType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rpJackType.setDescription("The jack connector type, as it appears on the\noutside of the system.") dot3IfMauBasicGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 2)) ifMauTable = MibTable((1, 3, 6, 1, 2, 1, 26, 2, 1)) if mibBuilder.loadTexts: ifMauTable.setDescription("Table of descriptive and status information\nabout MAU(s) attached to an interface.") ifMauEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 2, 1, 1)).setIndexNames((0, "MAU-MIB", "ifMauIfIndex"), (0, "MAU-MIB", "ifMauIndex")) if mibBuilder.loadTexts: ifMauEntry.setDescription("An entry in the table, containing information\nabout a single MAU.") ifMauIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauIfIndex.setDescription("This variable uniquely identifies the interface\nto which the MAU described by this entry is\nconnected.") ifMauIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauIndex.setDescription("This variable uniquely identifies the MAU\ndescribed by this entry from among other MAUs\nconnected to the same interface (ifMauIfIndex).") ifMauType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauType.setDescription("This object identifies the MAU type. Values for\nstandard IEEE 802.3 MAU types are defined in the\nIANA maintained IANA-MAU-MIB module, as\nOBJECT-IDENTITIES of dot3MauType.\nIf the MAU type is unknown, the object identifier\nzeroDotZero is returned.\n\nThis object represents the operational type of\nthe MAU, as determined by either 1) the result\nof the auto-negotiation function or 2) if\nauto-negotiation is not enabled or is not\nimplemented for this MAU, by the value of the\nobject ifMauDefaultType. In case 2), a set to\nthe object ifMauDefaultType will force the MAU\ninto the new operating mode.") ifMauStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(6,4,2,3,1,5,)).subtype(namedValues=NamedValues(("other", 1), ("unknown", 2), ("operational", 3), ("standby", 4), ("shutdown", 5), ("reset", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifMauStatus.setDescription("The current state of the MAU. This object MAY\nbe implemented as a read-only object by those\nagents and MAUs that do not implement software\ncontrol of the MAU state. Some agents may not\n\n\n\nsupport setting the value of this object to some\nof the enumerated values.\n\nThe value other(1) is returned if the MAU is in\na state other than one of the states 2 through\n6.\n\nThe value unknown(2) is returned when the MAU's\ntrue state is unknown; for example, when it is\nbeing initialized.\n\nA MAU in the operational(3) state is fully\nfunctional; it operates, and passes signals to its\nattached DTE or repeater port in accordance to\nits specification.\n\nA MAU in standby(4) state forces DI and CI to\nidle and the media transmitter to idle or fault,\nif supported. Standby(4) mode only applies to\nlink type MAUs. The state of\nifMauMediaAvailable is unaffected.\n\nA MAU in shutdown(5) state assumes the same\ncondition on DI, CI, and the media transmitter,\nas though it were powered down or not connected.\nThe MAU MAY return other(1) value for the\nifMauJabberState and ifMauMediaAvailable objects\nwhen it is in this state. For an AUI, this\nstate will remove power from the AUI.\n\nSetting this variable to the value reset(6)\nresets the MAU in the same manner as a\npower-off, power-on cycle of at least one-half\nsecond would. The agent is not required to\nreturn the value reset(6).\n\nSetting this variable to the value\noperational(3), standby(4), or shutdown(5)\ncauses the MAU to assume the respective state,\nexcept that setting a mixing-type MAU or an AUI\nto standby(4) will cause the MAU to enter the\nshutdown state.") ifMauMediaAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 5), IANAifMauMediaAvailable()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauMediaAvailable.setDescription("This object identifies Media Available state of\nthe MAU, complementary to the ifMauStatus. Values\nfor the standard IEEE 802.3 Media Available states\nare defined in the IANA maintained IANA-MAU-MIB\nmodule, as IANAifMauMediaAvailable TC.") ifMauMediaAvailableStateExits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauMediaAvailableStateExits.setDescription("A count of the number of times that\nifMauMediaAvailable for this MAU instance leaves\nthe state available(3).\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem and at other times, as indicated by the\nvalue of ifCounterDiscontinuityTime.") ifMauJabberState = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("other", 1), ("unknown", 2), ("noJabber", 3), ("jabbering", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauJabberState.setDescription("The value other(1) is returned if the jabber\nstate is not 2, 3, or 4. The agent MUST always\nreturn other(1) for MAU type dot3MauTypeAUI.\n\nThe value unknown(2) is returned when the MAU's\ntrue state is unknown; for example, when it is\nbeing initialized.\n\nIf the MAU is not jabbering the agent returns\nnoJabber(3). This is the 'normal' state.\n\nIf the MAU is in jabber state the agent returns\n\n\n\nthe jabbering(4) value.") ifMauJabberingStateEnters = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauJabberingStateEnters.setDescription("A count of the number of times that\nmauJabberState for this MAU instance enters the\nstate jabbering(4). This counter will always\nindicate zero for MAUs of type dot3MauTypeAUI\nand those of speeds above 10Mbps.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem and at other times, as indicated by the\nvalue of ifCounterDiscontinuityTime.") ifMauFalseCarriers = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauFalseCarriers.setDescription("A count of the number of false carrier events\nduring IDLE in 100BASE-X and 1000BASE-X links.\n\nFor all other MAU types, this counter will\nalways indicate zero. This counter does not\nincrement at the symbol rate.\n\nIt can increment after a valid carrier\ncompletion at a maximum rate of once per 100 ms\nfor 100BASE-X and once per 10us for 1000BASE-X\nuntil the next CarrierEvent.\n\nThis counter can roll over very quickly. A\nmanagement station is advised to poll the\nifMauHCFalseCarriers instead of this counter in\norder to avoid loss of information.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem and at other times, as indicated by the\nvalue of ifCounterDiscontinuityTime.") ifMauTypeList = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauTypeList.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis object has been deprecated in favour of\nifMauTypeListBits.\n\nA value that uniquely identifies the set of\npossible IEEE 802.3 types that the MAU could be.\nThe value is a sum that initially takes the\nvalue zero. Then, for each type capability of\nthis MAU, 2 raised to the power noted below is\nadded to the sum. For example, a MAU that has\nthe capability to be only 10BASE-T would have a\nvalue of 512 (2**9). In contrast, a MAU that\nsupports both 10Base-T (full duplex) and\n100BASE-TX (full duplex) would have a value of\n((2**11) + (2**16)), or 67584.\n\nThe powers of 2 assigned to the capabilities are\nthese:\n\nPower Capability\n 0 other or unknown\n 1 AUI\n 2 10BASE-5\n 3 FOIRL\n 4 10BASE-2\n 5 10BASE-T duplex mode unknown\n 6 10BASE-FP\n 7 10BASE-FB\n 8 10BASE-FL duplex mode unknown\n 9 10BROAD36\n 10 10BASE-T half duplex mode\n 11 10BASE-T full duplex mode\n 12 10BASE-FL half duplex mode\n 13 10BASE-FL full duplex mode\n 14 100BASE-T4\n 15 100BASE-TX half duplex mode\n 16 100BASE-TX full duplex mode\n 17 100BASE-FX half duplex mode\n 18 100BASE-FX full duplex mode\n 19 100BASE-T2 half duplex mode\n\n\n\n 20 100BASE-T2 full duplex mode\n\nIf auto-negotiation is present on this MAU, this\nobject will map to ifMauAutoNegCapability.") ifMauDefaultType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 11), AutonomousType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifMauDefaultType.setDescription("This object identifies the default\nadministrative baseband MAU type to be used in\nconjunction with the operational MAU type\ndenoted by ifMauType.\n\nThe set of possible values for this object is\nthe same as the set defined for the ifMauType\nobject.\n\nThis object represents the\nadministratively-configured type of the MAU. If\nauto-negotiation is not enabled or is not\nimplemented for this MAU, the value of this\nobject determines the operational type of the\nMAU. In this case, a set to this object will\nforce the MAU into the specified operating mode.\n\nIf auto-negotiation is implemented and enabled\nfor this MAU, the operational type of the MAU\nis determined by auto-negotiation, and the value\nof this object denotes the type to which the MAU\nwill automatically revert if/when\nauto-negotiation is later disabled.\n\nNOTE TO IMPLEMENTORS: It may be necessary to\nprovide for underlying hardware implementations\nwhich do not follow the exact behavior specified\nabove. In particular, when\nifMauAutoNegAdminStatus transitions from enabled\nto disabled, the agent implementation MUST\nensure that the operational type of the MAU (as\nreported by ifMauType) correctly transitions to\nthe value specified by this object, rather than\ncontinuing to operate at the value earlier\ndetermined by the auto-negotiation function.") ifMauAutoNegSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegSupported.setDescription("This object indicates whether or not\nauto-negotiation is supported on this MAU.") ifMauTypeListBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 13), IANAifMauTypeListBits()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauTypeListBits.setDescription("A value that uniquely identifies the set of\npossible IEEE 802.3 types that the MAU could be.\nIf auto-negotiation is present on this MAU, this\nobject will map to ifMauAutoNegCapabilityBits.\n\nNote that this MAU may be capable of operating\nas a MAU type that is beyond the scope of this\nMIB. This is indicated by returning the\nbit value bOther in addition to any bit values\nfor standard capabilities that are listed in the\nIANAifMauTypeListBits TC.") ifMauHCFalseCarriers = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 1, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauHCFalseCarriers.setDescription("A count of the number of false carrier events\nduring IDLE in 100BASE-X and 1000BASE-X links.\n\nFor all other MAU types, this counter will\nalways indicate zero. This counter does not\nincrement at the symbol rate.\n\nThis counter is a 64-bit version of\nifMauFalseCarriers. Since the 32-bit version of\nthis counter can roll over very quickly,\nmanagement stations are advised to poll the\n64-bit version instead, in order to avoid loss\nof information.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem and at other times, as indicated by the\nvalue of ifCounterDiscontinuityTime.") ifJackTable = MibTable((1, 3, 6, 1, 2, 1, 26, 2, 2)) if mibBuilder.loadTexts: ifJackTable.setDescription("Information about the external jacks attached\nto MAUs attached to an interface.") ifJackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 2, 2, 1)).setIndexNames((0, "MAU-MIB", "ifMauIfIndex"), (0, "MAU-MIB", "ifMauIndex"), (0, "MAU-MIB", "ifJackIndex")) if mibBuilder.loadTexts: ifJackEntry.setDescription("An entry in the table, containing information\nabout a particular jack.") ifJackIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ifJackIndex.setDescription("This variable uniquely identifies the jack\ndescribed by this entry from among other jacks\nattached to the same MAU.") ifJackType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 2, 2, 1, 2), IANAifJackType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifJackType.setDescription("The jack connector type, as it appears on the\noutside of the system.") dot3BroadMauBasicGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 3)) broadMauBasicTable = MibTable((1, 3, 6, 1, 2, 1, 26, 3, 1)) if mibBuilder.loadTexts: broadMauBasicTable.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis entire table has been deprecated. There\nhave been no reported implementations of this\ntable, and it is unlikely that there ever will\nbe. IEEE recommends that broadband MAU types\nshould not be used for new installations.\n\nTable of descriptive and status information\n\n\n\nabout the broadband MAUs connected to\ninterfaces.") broadMauBasicEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 3, 1, 1)).setIndexNames((0, "MAU-MIB", "broadMauIfIndex"), (0, "MAU-MIB", "broadMauIndex")) if mibBuilder.loadTexts: broadMauBasicEntry.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nAn entry in the table, containing information\nabout a single broadband MAU.") broadMauIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: broadMauIfIndex.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis variable uniquely identifies the interface\nto which the MAU described by this entry is\nconnected.") broadMauIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: broadMauIndex.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis variable uniquely identifies the MAU\nconnected to interface broadMauIfIndex that is\n\n\n\ndescribed by this entry.") broadMauXmtRcvSplitType = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("other", 1), ("single", 2), ("dual", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: broadMauXmtRcvSplitType.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis object indicates the type of frequency\nmultiplexing/cabling system used to separate the\ntransmit and receive paths for the 10BROAD36\nMAU.\n\nThe value other(1) is returned if the split type\nis not either single or dual.\n\nThe value single(2) indicates a single cable\nsystem. The value dual(3) indicates a dual\ncable system, offset normally zero.") broadMauXmtCarrierFreq = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: broadMauXmtCarrierFreq.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis variable indicates the transmit carrier\nfrequency of the 10BROAD36 MAU in MHz/4; that\nis, in units of 250 kHz.") broadMauTranslationFreq = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: broadMauTranslationFreq.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis variable indicates the translation offset\n\n\n\nfrequency of the 10BROAD36 MAU in MHz/4; that\nis, in units of 250 kHz.") dot3IfMauAutoNegGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 5)) ifMauAutoNegTable = MibTable((1, 3, 6, 1, 2, 1, 26, 5, 1)) if mibBuilder.loadTexts: ifMauAutoNegTable.setDescription("Configuration and status objects for the\nauto-negotiation function of MAUs attached to\ninterfaces.\n\nThe ifMauAutoNegTable applies to systems in\nwhich auto-negotiation is supported on one or\nmore MAUs attached to interfaces. Note that if\nauto-negotiation is present and enabled, the\nifMauType object reflects the result of the\nauto-negotiation function.") ifMauAutoNegEntry = MibTableRow((1, 3, 6, 1, 2, 1, 26, 5, 1, 1)).setIndexNames((0, "MAU-MIB", "ifMauIfIndex"), (0, "MAU-MIB", "ifMauIndex")) if mibBuilder.loadTexts: ifMauAutoNegEntry.setDescription("An entry in the table, containing configuration\nand status information for the auto-negotiation\nfunction of a particular MAU.") ifMauAutoNegAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifMauAutoNegAdminStatus.setDescription("Setting this object to enabled(1) will cause\nthe interface that has the auto-negotiation\nsignaling ability to be enabled.\n\nIf the value of this object is disabled(2) then\nthe interface will act as it would if it had no\nauto-negotiation signaling. Under these\nconditions, an IEEE 802.3 MAU will immediately\nbe forced to the state indicated by the value of\nthe object ifMauDefaultType.\n\nNOTE TO IMPLEMENTORS: When\nifMauAutoNegAdminStatus transitions from enabled\nto disabled, the agent implementation MUST\nensure that the operational type of the MAU (as\nreported by ifMauType) correctly transitions to\nthe value specified by the ifMauDefaultType\nobject, rather than continuing to operate at the\nvalue earlier determined by the auto-negotiation\nfunction.") ifMauAutoNegRemoteSignaling = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("detected", 1), ("notdetected", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegRemoteSignaling.setDescription("A value indicating whether the remote end of\nthe link is using auto-negotiation signaling. It\ntakes the value detected(1) if and only if,\nduring the previous link negotiation, FLP Bursts\nwere received.") ifMauAutoNegConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,4,1,5,)).subtype(namedValues=NamedValues(("other", 1), ("configuring", 2), ("complete", 3), ("disabled", 4), ("parallelDetectFail", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegConfig.setDescription("A value indicating the current status of the\nauto-negotiation process. The enumeration\nparallelDetectFail(5) maps to a failure in\nparallel detection as defined in 28.2.3.1 of\n[IEEE802.3].") ifMauAutoNegCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegCapability.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis object has been deprecated in favour of\nifMauAutoNegCapabilityBits.\n\nA value that uniquely identifies the set of\ncapabilities of the local auto-negotiation\nentity. The value is a sum that initially\ntakes the value zero. Then, for each capability\nof this interface, 2 raised to the power noted\nbelow is added to the sum. For example, an\ninterface that has the capability to support\nonly 100Base-TX half duplex would have a value\nof 32768 (2**15). In contrast, an interface\nthat supports both 100Base-TX half duplex and\n100Base-TX full duplex would have a value of\n98304 ((2**15) + (2**16)).\n\nThe powers of 2 assigned to the capabilities are\nthese:\n\nPower Capability\n 0 other or unknown\n (1-9) (reserved)\n 10 10BASE-T half duplex mode\n 11 10BASE-T full duplex mode\n 12 (reserved)\n\n\n\n 13 (reserved)\n 14 100BASE-T4\n 15 100BASE-TX half duplex mode\n 16 100BASE-TX full duplex mode\n 17 (reserved)\n 18 (reserved)\n 19 100BASE-T2 half duplex mode\n 20 100BASE-T2 full duplex mode\n\nNote that interfaces that support this MIB may\nhave capabilities that extend beyond the scope\nof this MIB.") ifMauAutoNegCapAdvertised = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifMauAutoNegCapAdvertised.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis object has been deprecated in favour of\nifMauAutoNegCapAdvertisedBits.\n\nA value that uniquely identifies the set of\ncapabilities advertised by the local\nauto-negotiation entity. Refer to\nifMauAutoNegCapability for a description of the\npossible values of this object.\n\nCapabilities in this object that are not\navailable in ifMauAutoNegCapability cannot be\nenabled.") ifMauAutoNegCapReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegCapReceived.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis object has been deprecated in favour of\nifMauAutoNegCapReceivedBits.\n\nA value that uniquely identifies the set of\n\n\n\ncapabilities received from the remote\nauto-negotiation entity. Refer to\nifMauAutoNegCapability for a description of the\npossible values of this object.\n\nNote that interfaces that support this MIB may\nbe attached to remote auto-negotiation entities\nthat have capabilities beyond the scope of this\nMIB.") ifMauAutoNegRestart = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("restart", 1), ("norestart", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifMauAutoNegRestart.setDescription("If the value of this object is set to\nrestart(1) then this will force auto-negotiation\nto begin link renegotiation. If auto-negotiation\nsignaling is disabled, a write to this object\nhas no effect.\nSetting the value of this object to norestart(2)\nhas no effect.") ifMauAutoNegCapabilityBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 9), IANAifMauAutoNegCapBits()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegCapabilityBits.setDescription("A value that uniquely identifies the set of\ncapabilities of the local auto-negotiation\nentity. Note that interfaces that support this\nMIB may have capabilities that extend beyond the\nscope of this MIB.\n\nNote that the local auto-negotiation entity may\nsupport some capabilities beyond the scope of\nthis MIB. This is indicated by returning the\nbit value bOther in addition to any bit values\nfor standard capabilities that are listed in the\nIANAifMauAutoNegCapBits TC.") ifMauAutoNegCapAdvertisedBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 10), IANAifMauAutoNegCapBits()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifMauAutoNegCapAdvertisedBits.setDescription("A value that uniquely identifies the set of\ncapabilities advertised by the local\nauto-negotiation entity.\n\nCapabilities in this object that are not\navailable in ifMauAutoNegCapabilityBits cannot\nbe enabled.\n\nNote that the local auto-negotiation entity may\nadvertise some capabilities beyond the scope of\nthis MIB. This is indicated by returning the\nbit value bOther in addition to any bit values\nfor standard capabilities that are listed in the\nIANAifMauAutoNegCapBits TC.") ifMauAutoNegCapReceivedBits = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 11), IANAifMauAutoNegCapBits()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegCapReceivedBits.setDescription("A value that uniquely identifies the set of\ncapabilities received from the remote\nauto-negotiation entity.\nNote that interfaces that support this MIB may\nbe attached to remote auto-negotiation entities\nthat have capabilities beyond the scope of this\nMIB. This is indicated by returning the bit\nvalue bOther in addition to any bit values for\nstandard capabilities that are listed in the\nIANAifMauAutoNegCapBits TC.") ifMauAutoNegRemoteFaultAdvertised = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("noError", 1), ("offline", 2), ("linkFailure", 3), ("autoNegError", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifMauAutoNegRemoteFaultAdvertised.setDescription("A value that identifies any local fault\nindications that this MAU has detected and will\nadvertise at the next auto-negotiation\ninteraction for 1000Mbps MAUs.") ifMauAutoNegRemoteFaultReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 26, 5, 1, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("noError", 1), ("offline", 2), ("linkFailure", 3), ("autoNegError", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifMauAutoNegRemoteFaultReceived.setDescription("A value that identifies any fault indications\nreceived from the far end of a link by the\nlocal auto-negotiation entity for 1000Mbps\nMAUs.") mauMod = ModuleIdentity((1, 3, 6, 1, 2, 1, 26, 6)).setRevisions(("2007-04-21 00:00","2003-09-19 00:00","1999-08-24 04:00","1997-10-31 00:00","1993-09-30 00:00",)) if mibBuilder.loadTexts: mauMod.setOrganization("IETF Ethernet Interfaces and Hub MIB Working Group") if mibBuilder.loadTexts: mauMod.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/hubmib-charter.html\n\nMailing Lists:\nGeneral Discussion: hubmib@ietf.org\nTo Subscribe: hubmib-request@ietf.org\nIn Body: subscribe your_email_address\n\n\n\nChair: Bert Wijnen\nPostal: Alcatel-Lucent\n Schagen 33\n 3461 GL Linschoten\n Netherlands\nPhone: +31-348-407-775\nEMail: bwijnen@alcatel-lucent.com\n\nEditor: Edward Beili\nPostal: Actelis Networks Inc.\n 25 Bazel St., P.O.B. 10173\n Petach-Tikva 10173\n Israel\n Tel: +972-3-924-3491\nEMail: edward.beili@actelis.com") if mibBuilder.loadTexts: mauMod.setDescription("Management information for 802.3 MAUs.\n\nThe following reference is used throughout this MIB module:\n\n[IEEE802.3] refers to:\n IEEE Std 802.3, 2005 Edition: 'IEEE Standard for Information\n technology - Telecommunications and information exchange\n between systems - Local and metropolitan area networks -\n Specific requirements - Part 3: Carrier sense multiple\n access with collision detection (CSMA/CD) access method and\n physical layer specifications'.\n\n Of particular interest is Clause 30, 'Management'.\n\nCopyright (C) The IETF Trust (2007).\nThis version of this MIB module is part of RFC 4836;\nsee the RFC itself for full legal notices.") mauModConf = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1)) mauModCompls = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1, 1)) mauModObjGrps = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1, 2)) mauModNotGrps = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 6, 1, 3)) # Augmentions # Notifications rpMauJabberTrap = NotificationType((1, 3, 6, 1, 2, 1, 26, 0, 1)).setObjects(*(("MAU-MIB", "rpMauJabberState"), ) ) if mibBuilder.loadTexts: rpMauJabberTrap.setDescription("This trap is sent whenever a managed repeater\nMAU enters the jabber state.\n\nThe agent MUST throttle the generation of\nconsecutive rpMauJabberTraps so that there is at\nleast a five-second gap between them.") ifMauJabberTrap = NotificationType((1, 3, 6, 1, 2, 1, 26, 0, 2)).setObjects(*(("MAU-MIB", "ifMauJabberState"), ) ) if mibBuilder.loadTexts: ifMauJabberTrap.setDescription("This trap is sent whenever a managed interface\nMAU enters the jabber state.\n\nThe agent MUST throttle the generation of\nconsecutive ifMauJabberTraps so that there is at\nleast a five-second gap between them.") # Groups mauRpGrpBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 1)).setObjects(*(("MAU-MIB", "rpMauType"), ("MAU-MIB", "rpMauJabberingStateEnters"), ("MAU-MIB", "rpMauJabberState"), ("MAU-MIB", "rpMauMediaAvailableStateExits"), ("MAU-MIB", "rpMauGroupIndex"), ("MAU-MIB", "rpMauPortIndex"), ("MAU-MIB", "rpMauIndex"), ("MAU-MIB", "rpMauMediaAvailable"), ("MAU-MIB", "rpMauStatus"), ) ) if mibBuilder.loadTexts: mauRpGrpBasic.setDescription("Basic conformance group for MAUs attached to\nrepeater ports. This group is also the\nconformance specification for RFC 1515\nimplementations.") mauRpGrp100Mbs = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 2)).setObjects(*(("MAU-MIB", "rpMauFalseCarriers"), ) ) if mibBuilder.loadTexts: mauRpGrp100Mbs.setDescription("Conformance group for MAUs attached to\nrepeater ports with 100 Mb/s or greater\ncapability.") mauRpGrpJack = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 3)).setObjects(*(("MAU-MIB", "rpJackType"), ) ) if mibBuilder.loadTexts: mauRpGrpJack.setDescription("Conformance group for MAUs attached to\nrepeater ports with managed jacks.") mauIfGrpBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 4)).setObjects(*(("MAU-MIB", "ifMauJabberingStateEnters"), ("MAU-MIB", "ifMauStatus"), ("MAU-MIB", "ifMauIndex"), ("MAU-MIB", "ifMauMediaAvailable"), ("MAU-MIB", "ifMauType"), ("MAU-MIB", "ifMauIfIndex"), ("MAU-MIB", "ifMauJabberState"), ("MAU-MIB", "ifMauMediaAvailableStateExits"), ) ) if mibBuilder.loadTexts: mauIfGrpBasic.setDescription("Basic conformance group for MAUs attached to\ninterfaces. This group also provides a\nconformance specification for RFC 1515\nimplementations.") mauIfGrp100Mbs = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 5)).setObjects(*(("MAU-MIB", "ifMauFalseCarriers"), ("MAU-MIB", "ifMauAutoNegSupported"), ("MAU-MIB", "ifMauTypeList"), ("MAU-MIB", "ifMauDefaultType"), ) ) if mibBuilder.loadTexts: mauIfGrp100Mbs.setDescription("********* THIS GROUP IS DEPRECATED **********\n\nConformance group for MAUs attached to\ninterfaces with 100 Mb/s capability.\n\nThis object group has been deprecated in favor\nof mauIfGrpHighCapacity.") mauIfGrpJack = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 6)).setObjects(*(("MAU-MIB", "ifJackType"), ) ) if mibBuilder.loadTexts: mauIfGrpJack.setDescription("Conformance group for MAUs attached to\ninterfaces with managed jacks.") mauIfGrpAutoNeg = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 7)).setObjects(*(("MAU-MIB", "ifMauAutoNegRestart"), ("MAU-MIB", "ifMauAutoNegCapReceived"), ("MAU-MIB", "ifMauAutoNegCapAdvertised"), ("MAU-MIB", "ifMauAutoNegConfig"), ("MAU-MIB", "ifMauAutoNegRemoteSignaling"), ("MAU-MIB", "ifMauAutoNegCapability"), ("MAU-MIB", "ifMauAutoNegAdminStatus"), ) ) if mibBuilder.loadTexts: mauIfGrpAutoNeg.setDescription("********* THIS GROUP IS DEPRECATED **********\n\nConformance group for MAUs attached to\ninterfaces with managed auto-negotiation.\n\nThis object group has been deprecated in favor\nof mauIfGrpAutoNeg2.") mauBroadBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 8)).setObjects(*(("MAU-MIB", "broadMauIndex"), ("MAU-MIB", "broadMauTranslationFreq"), ("MAU-MIB", "broadMauXmtCarrierFreq"), ("MAU-MIB", "broadMauIfIndex"), ("MAU-MIB", "broadMauXmtRcvSplitType"), ) ) if mibBuilder.loadTexts: mauBroadBasic.setDescription("********* THIS GROUP IS DEPRECATED **********\nConformance group for broadband MAUs attached\nto interfaces.\n\nThis object group is deprecated. There have\nbeen no reported implementations of this group,\nand it was felt to be unlikely that there will\nbe any future implementations.") mauIfGrpHighCapacity = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 9)).setObjects(*(("MAU-MIB", "ifMauFalseCarriers"), ("MAU-MIB", "ifMauTypeListBits"), ("MAU-MIB", "ifMauAutoNegSupported"), ("MAU-MIB", "ifMauDefaultType"), ) ) if mibBuilder.loadTexts: mauIfGrpHighCapacity.setDescription("Conformance group for MAUs attached to\ninterfaces with 100 Mb/s or greater capability.") mauIfGrpAutoNeg2 = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 10)).setObjects(*(("MAU-MIB", "ifMauAutoNegRestart"), ("MAU-MIB", "ifMauAutoNegCapReceivedBits"), ("MAU-MIB", "ifMauAutoNegCapabilityBits"), ("MAU-MIB", "ifMauAutoNegRemoteSignaling"), ("MAU-MIB", "ifMauAutoNegCapAdvertisedBits"), ("MAU-MIB", "ifMauAutoNegConfig"), ("MAU-MIB", "ifMauAutoNegAdminStatus"), ) ) if mibBuilder.loadTexts: mauIfGrpAutoNeg2.setDescription("Conformance group for MAUs attached to\ninterfaces with managed auto-negotiation.") mauIfGrpAutoNeg1000Mbps = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 11)).setObjects(*(("MAU-MIB", "ifMauAutoNegRemoteFaultAdvertised"), ("MAU-MIB", "ifMauAutoNegRemoteFaultReceived"), ) ) if mibBuilder.loadTexts: mauIfGrpAutoNeg1000Mbps.setDescription("Conformance group for 1000Mbps MAUs attached to\ninterfaces with managed auto-negotiation.") mauIfGrpHCStats = ObjectGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 2, 12)).setObjects(*(("MAU-MIB", "ifMauHCFalseCarriers"), ) ) if mibBuilder.loadTexts: mauIfGrpHCStats.setDescription("Conformance for high capacity statistics for\nMAUs attached to interfaces.") rpMauNotifications = NotificationGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 3, 1)).setObjects(*(("MAU-MIB", "rpMauJabberTrap"), ) ) if mibBuilder.loadTexts: rpMauNotifications.setDescription("Notifications for repeater MAUs.") ifMauNotifications = NotificationGroup((1, 3, 6, 1, 2, 1, 26, 6, 1, 3, 2)).setObjects(*(("MAU-MIB", "ifMauJabberTrap"), ) ) if mibBuilder.loadTexts: ifMauNotifications.setDescription("Notifications for interface MAUs.") # Compliances mauModRpCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 1)).setObjects(*(("MAU-MIB", "rpMauNotifications"), ("MAU-MIB", "mauRpGrpJack"), ("MAU-MIB", "mauRpGrpBasic"), ("MAU-MIB", "mauRpGrp100Mbs"), ) ) if mibBuilder.loadTexts: mauModRpCompl.setDescription("******** THIS COMPLIANCE IS DEPRECATED ********\nCompliance for MAUs attached to repeater\nports.\n\nThis compliance is deprecated and replaced by\nmauModRpCompl2, which corrects an oversight by\nallowing rpMauStatus to be implemented\nread-only.") mauModIfCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 2)).setObjects(*(("MAU-MIB", "ifMauNotifications"), ("MAU-MIB", "mauIfGrpJack"), ("MAU-MIB", "mauIfGrp100Mbs"), ("MAU-MIB", "mauIfGrpBasic"), ("MAU-MIB", "mauBroadBasic"), ("MAU-MIB", "mauIfGrpAutoNeg"), ) ) if mibBuilder.loadTexts: mauModIfCompl.setDescription("******** THIS COMPLIANCE IS DEPRECATED ********\n\nCompliance for MAUs attached to interfaces.\nThis compliance is deprecated and replaced by\nmauModIfCompl2.") mauModIfCompl2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 3)).setObjects(*(("MAU-MIB", "ifMauNotifications"), ("MAU-MIB", "mauIfGrpJack"), ("MAU-MIB", "mauIfGrpAutoNeg1000Mbps"), ("MAU-MIB", "mauIfGrpBasic"), ("MAU-MIB", "mauIfGrpHighCapacity"), ("MAU-MIB", "mauIfGrpAutoNeg2"), ) ) if mibBuilder.loadTexts: mauModIfCompl2.setDescription("******** THIS COMPLIANCE IS DEPRECATED ********\n\nCompliance for MAUs attached to interfaces.\n\nThis compliance is deprecated and replaced by\nmauModIfCompl3.") mauModRpCompl2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 4)).setObjects(*(("MAU-MIB", "rpMauNotifications"), ("MAU-MIB", "mauRpGrpJack"), ("MAU-MIB", "mauRpGrpBasic"), ("MAU-MIB", "mauRpGrp100Mbs"), ) ) if mibBuilder.loadTexts: mauModRpCompl2.setDescription("Compliance for MAUs attached to repeater\nports.\n\nNote that compliance with this compliance\nstatement requires compliance with the\nsnmpRptrModCompl MODULE-COMPLIANCE statement of\nthe SNMP-REPEATER-MIB (RFC 2108).") mauModIfCompl3 = ModuleCompliance((1, 3, 6, 1, 2, 1, 26, 6, 1, 1, 5)).setObjects(*(("MAU-MIB", "ifMauNotifications"), ("MAU-MIB", "mauIfGrpJack"), ("MAU-MIB", "mauIfGrpAutoNeg1000Mbps"), ("MAU-MIB", "mauIfGrpBasic"), ("MAU-MIB", "mauIfGrpHighCapacity"), ("MAU-MIB", "mauIfGrpHCStats"), ("MAU-MIB", "mauIfGrpAutoNeg2"), ) ) if mibBuilder.loadTexts: mauModIfCompl3.setDescription("Compliance for MAUs attached to interfaces.\n\nNote that compliance with this compliance\nstatement requires compliance with the\nifCompliance3 MODULE-COMPLIANCE statement of the\nIF-MIB (RFC 2863) and the dot3Compliance2\nMODULE-COMPLIANCE statement of the\nEtherLike-MIB (RFC3635).") # Exports # Module identity mibBuilder.exportSymbols("MAU-MIB", PYSNMP_MODULE_ID=mauMod) # Types mibBuilder.exportSymbols("MAU-MIB", JackType=JackType) # Objects mibBuilder.exportSymbols("MAU-MIB", snmpDot3MauMgt=snmpDot3MauMgt, snmpDot3MauTraps=snmpDot3MauTraps, dot3RpMauBasicGroup=dot3RpMauBasicGroup, rpMauTable=rpMauTable, rpMauEntry=rpMauEntry, rpMauGroupIndex=rpMauGroupIndex, rpMauPortIndex=rpMauPortIndex, rpMauIndex=rpMauIndex, rpMauType=rpMauType, rpMauStatus=rpMauStatus, rpMauMediaAvailable=rpMauMediaAvailable, rpMauMediaAvailableStateExits=rpMauMediaAvailableStateExits, rpMauJabberState=rpMauJabberState, rpMauJabberingStateEnters=rpMauJabberingStateEnters, rpMauFalseCarriers=rpMauFalseCarriers, rpJackTable=rpJackTable, rpJackEntry=rpJackEntry, rpJackIndex=rpJackIndex, rpJackType=rpJackType, dot3IfMauBasicGroup=dot3IfMauBasicGroup, ifMauTable=ifMauTable, ifMauEntry=ifMauEntry, ifMauIfIndex=ifMauIfIndex, ifMauIndex=ifMauIndex, ifMauType=ifMauType, ifMauStatus=ifMauStatus, ifMauMediaAvailable=ifMauMediaAvailable, ifMauMediaAvailableStateExits=ifMauMediaAvailableStateExits, ifMauJabberState=ifMauJabberState, ifMauJabberingStateEnters=ifMauJabberingStateEnters, ifMauFalseCarriers=ifMauFalseCarriers, ifMauTypeList=ifMauTypeList, ifMauDefaultType=ifMauDefaultType, ifMauAutoNegSupported=ifMauAutoNegSupported, ifMauTypeListBits=ifMauTypeListBits, ifMauHCFalseCarriers=ifMauHCFalseCarriers, ifJackTable=ifJackTable, ifJackEntry=ifJackEntry, ifJackIndex=ifJackIndex, ifJackType=ifJackType, dot3BroadMauBasicGroup=dot3BroadMauBasicGroup, broadMauBasicTable=broadMauBasicTable, broadMauBasicEntry=broadMauBasicEntry, broadMauIfIndex=broadMauIfIndex, broadMauIndex=broadMauIndex, broadMauXmtRcvSplitType=broadMauXmtRcvSplitType, broadMauXmtCarrierFreq=broadMauXmtCarrierFreq, broadMauTranslationFreq=broadMauTranslationFreq, dot3IfMauAutoNegGroup=dot3IfMauAutoNegGroup, ifMauAutoNegTable=ifMauAutoNegTable, ifMauAutoNegEntry=ifMauAutoNegEntry, ifMauAutoNegAdminStatus=ifMauAutoNegAdminStatus, ifMauAutoNegRemoteSignaling=ifMauAutoNegRemoteSignaling, ifMauAutoNegConfig=ifMauAutoNegConfig, ifMauAutoNegCapability=ifMauAutoNegCapability, ifMauAutoNegCapAdvertised=ifMauAutoNegCapAdvertised, ifMauAutoNegCapReceived=ifMauAutoNegCapReceived, ifMauAutoNegRestart=ifMauAutoNegRestart, ifMauAutoNegCapabilityBits=ifMauAutoNegCapabilityBits, ifMauAutoNegCapAdvertisedBits=ifMauAutoNegCapAdvertisedBits, ifMauAutoNegCapReceivedBits=ifMauAutoNegCapReceivedBits, ifMauAutoNegRemoteFaultAdvertised=ifMauAutoNegRemoteFaultAdvertised, ifMauAutoNegRemoteFaultReceived=ifMauAutoNegRemoteFaultReceived, mauMod=mauMod, mauModConf=mauModConf, mauModCompls=mauModCompls, mauModObjGrps=mauModObjGrps, mauModNotGrps=mauModNotGrps) # Notifications mibBuilder.exportSymbols("MAU-MIB", rpMauJabberTrap=rpMauJabberTrap, ifMauJabberTrap=ifMauJabberTrap) # Groups mibBuilder.exportSymbols("MAU-MIB", mauRpGrpBasic=mauRpGrpBasic, mauRpGrp100Mbs=mauRpGrp100Mbs, mauRpGrpJack=mauRpGrpJack, mauIfGrpBasic=mauIfGrpBasic, mauIfGrp100Mbs=mauIfGrp100Mbs, mauIfGrpJack=mauIfGrpJack, mauIfGrpAutoNeg=mauIfGrpAutoNeg, mauBroadBasic=mauBroadBasic, mauIfGrpHighCapacity=mauIfGrpHighCapacity, mauIfGrpAutoNeg2=mauIfGrpAutoNeg2, mauIfGrpAutoNeg1000Mbps=mauIfGrpAutoNeg1000Mbps, mauIfGrpHCStats=mauIfGrpHCStats, rpMauNotifications=rpMauNotifications, ifMauNotifications=ifMauNotifications) # Compliances mibBuilder.exportSymbols("MAU-MIB", mauModRpCompl=mauModRpCompl, mauModIfCompl=mauModIfCompl, mauModIfCompl2=mauModIfCompl2, mauModRpCompl2=mauModRpCompl2, mauModIfCompl3=mauModIfCompl3) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-LSR-STD-MIB.py0000644000014400001440000020137311736645137021305 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-LSR-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:21 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AddressFamilyNumbers, ) = mibBuilder.importSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", "AddressFamilyNumbers") ( InterfaceIndexOrZero, ifCounterDiscontinuityGroup, ifGeneralInformationGroup, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifCounterDiscontinuityGroup", "ifGeneralInformationGroup") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( MplsBitRate, MplsLSPID, MplsLabel, MplsOwner, mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsBitRate", "MplsLSPID", "MplsLabel", "MplsOwner", "mplsStdMIB") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "zeroDotZero") ( RowPointer, RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") # Types class MplsIndexNextType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,24) class MplsIndexType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,24) # Objects mplsLsrStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 2)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsLsrStdMIB.setOrganization("Multiprotocol Label Switching (MPLS) Working Group") if mibBuilder.loadTexts: mplsLsrStdMIB.setContactInfo(" Cheenu Srinivasan\nBloomberg L.P.\nEmail: cheenu@bloomberg.net\n\nArun Viswanathan\nForce10 Networks, Inc.\nEmail: arunv@force10networks.com\n\nThomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\n\nComments about this document should be emailed\ndirectly to the MPLS working group mailing list at\nmpls@uu.net.") if mibBuilder.loadTexts: mplsLsrStdMIB.setDescription("This MIB module contains managed object definitions for\nthe Multiprotocol Label Switching (MPLS) Router as\n\n\n\ndefined in: Rosen, E., Viswanathan, A., and R.\nCallon, Multiprotocol Label Switching Architecture,\nRFC 3031, January 2001.\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3812. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html") mplsLsrNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 2, 0)) mplsLsrObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 2, 1)) mplsInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1)) if mibBuilder.loadTexts: mplsInterfaceTable.setDescription("This table specifies per-interface MPLS capability\nand associated information.") mplsInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInterfaceIndex")) if mibBuilder.loadTexts: mplsInterfaceEntry.setDescription("A conceptual row in this table is created\nautomatically by an LSR for every interface capable\nof supporting MPLS and which is configured to do so.\nA conceptual row in this table will exist if and only if\na corresponding entry in ifTable exists with ifType =\nmpls(166). If this associated entry in ifTable is\noperationally disabled (thus removing MPLS\ncapabilities on that interface), the corresponding\nentry in this table MUST be deleted shortly thereafter.\nAn conceptual row with index 0 is created if the LSR\nsupports per-platform labels. This conceptual row\nrepresents the per-platform label space and contains\nparameters that apply to all interfaces that participate\nin the per-platform label space. Other conceptual rows\nin this table represent MPLS interfaces that may\nparticipate in either the per-platform or per-\ninterface label spaces, or both. Implementations\nthat either only support per-platform labels,\nor have only them configured, may choose to return\njust the mplsInterfaceEntry of 0 and not return\nthe other rows. This will greatly reduce the number\nof objects returned. Further information about label\nspace participation of an interface is provided in\nthe DESCRIPTION clause of\nmplsInterfaceLabelParticipationType.") mplsInterfaceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsInterfaceIndex.setDescription("This is a unique index for an entry in the\nMplsInterfaceTable. A non-zero index for an\nentry indicates the ifIndex for the corresponding\ninterface entry of the MPLS-layer in the ifTable.\nThe entry with index 0 represents the per-platform\nlabel space and contains parameters that apply to all\ninterfaces that participate in the per-platform label\nspace. Other entries defined in this table represent\nadditional MPLS interfaces that may participate in either\nthe per-platform or per-interface label spaces, or both.") mplsInterfaceLabelMinIn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 2), MplsLabel()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfaceLabelMinIn.setDescription("This is the minimum value of an MPLS label that this\nLSR is willing to receive on this interface.") mplsInterfaceLabelMaxIn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 3), MplsLabel()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfaceLabelMaxIn.setDescription("This is the maximum value of an MPLS label that this\nLSR is willing to receive on this interface.") mplsInterfaceLabelMinOut = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 4), MplsLabel()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfaceLabelMinOut.setDescription("This is the minimum value of an MPLS label that this\n\n\n\nLSR is willing to send on this interface.") mplsInterfaceLabelMaxOut = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 5), MplsLabel()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfaceLabelMaxOut.setDescription("This is the maximum value of an MPLS label that this\nLSR is willing to send on this interface.") mplsInterfaceTotalBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 6), MplsBitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfaceTotalBandwidth.setDescription("This value indicates the total amount of usable\nbandwidth on this interface and is specified in\nkilobits per second (Kbps). This variable is not\napplicable when applied to the interface with index\n0. When this value cannot be measured, this value\nshould contain the nominal bandwidth.") mplsInterfaceAvailableBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 7), MplsBitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfaceAvailableBandwidth.setDescription("This value indicates the total amount of available\nbandwidth available on this interface and is\nspecified in kilobits per second (Kbps). This value\nis calculated as the difference between the amount\nof bandwidth currently in use and that specified in\nmplsInterfaceTotalBandwidth. This variable is not\napplicable when applied to the interface with index\n0. When this value cannot be measured, this value\nshould contain the nominal bandwidth.") mplsInterfaceLabelParticipationType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 1, 1, 8), Bits().subtype(namedValues=NamedValues(("perPlatform", 0), ("perInterface", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfaceLabelParticipationType.setDescription("If the value of the mplsInterfaceIndex for this\nentry is zero, then this entry corresponds to the\nper-platform label space for all interfaces configured\nto use that label space. In this case the perPlatform(0)\nbit MUST be set; the perInterface(1) bit is meaningless\nand MUST be ignored.\n\nThe remainder of this description applies to entries\nwith a non-zero value of mplsInterfaceIndex.\n\nIf the perInterface(1) bit is set then the value of\nmplsInterfaceLabelMinIn, mplsInterfaceLabelMaxIn,\nmplsInterfaceLabelMinOut, and\nmplsInterfaceLabelMaxOut for this entry reflect the\nlabel ranges for this interface.\n\nIf only the perPlatform(0) bit is set, then the value of\nmplsInterfaceLabelMinIn, mplsInterfaceLabelMaxIn,\nmplsInterfaceLabelMinOut, and\nmplsInterfaceLabelMaxOut for this entry MUST be\nidentical to the instance of these objects with\nindex 0. These objects may only vary from the entry\nwith index 0 if both the perPlatform(0) and perInterface(1)\nbits are set.\n\nIn all cases, at a minimum one of the perPlatform(0) or\nperInterface(1) bits MUST be set to indicate that\nat least one label space is in use by this interface. In\nall cases, agents MUST ensure that label ranges are\nspecified consistently and MUST return an\ninconsistentValue error when they do not.") mplsInterfacePerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 2)) if mibBuilder.loadTexts: mplsInterfacePerfTable.setDescription("This table provides MPLS performance information on\na per-interface basis.") mplsInterfacePerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 2, 1)) if mibBuilder.loadTexts: mplsInterfacePerfEntry.setDescription("An entry in this table is created by the LSR for\nevery interface capable of supporting MPLS. Its is\nan extension to the mplsInterfaceEntry table.\nNote that the discontinuity behavior of entries in\nthis table MUST be based on the corresponding\nifEntry's ifDiscontinuityTime.") mplsInterfacePerfInLabelsInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 2, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfacePerfInLabelsInUse.setDescription("This object counts the number of labels that are in\nuse at this point in time on this interface in the\nincoming direction. If the interface participates in\nonly the per-platform label space, then the value of\nthe instance of this object MUST be identical to\nthe value of the instance with index 0. If the\ninterface participates in the per-interface label\nspace, then the instance of this object MUST\nrepresent the number of per-interface labels that\nare in use on this interface.") mplsInterfacePerfInLabelLookupFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfacePerfInLabelLookupFailures.setDescription("This object counts the number of labeled packets\nthat have been received on this interface and which\nwere discarded because there was no matching cross-\nconnect entry. This object MUST count on a per-\ninterface basis regardless of which label space the\ninterface participates in.") mplsInterfacePerfOutLabelsInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 2, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfacePerfOutLabelsInUse.setDescription("This object counts the number of top-most labels in\nthe outgoing label stacks that are in use at this\npoint in time on this interface. This object MUST\ncount on a per-interface basis regardless of which\nlabel space the interface participates in.") mplsInterfacePerfOutFragmentedPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInterfacePerfOutFragmentedPkts.setDescription("This object counts the number of outgoing MPLS\npackets that required fragmentation before\ntransmission on this interface. This object MUST\ncount on a per-interface basis regardless of which\nlabel space the interface participates in.") mplsInSegmentIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 3), MplsIndexNextType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentIndexNext.setDescription("This object contains the next available value to\nbe used for mplsInSegmentIndex when creating entries\nin the mplsInSegmentTable. The special value of a\nstring containing the single octet 0x00 indicates\nthat no new entries can be created in this table.\nAgents not allowing managers to create entries\n\n\n\nin this table MUST set this object to this special\nvalue.") mplsInSegmentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4)) if mibBuilder.loadTexts: mplsInSegmentTable.setDescription("This table contains a description of the incoming MPLS\nsegments (labels) to an LSR and their associated parameters.\nThe index for this table is mplsInSegmentIndex.\nThe index structure of this table is specifically designed\nto handle many different MPLS implementations that manage\ntheir labels both in a distributed and centralized manner.\nThe table is also designed to handle existing MPLS labels\nas defined in RFC3031 as well as longer ones that may\nbe necessary in the future.\n\nIn cases where the label cannot fit into the\nmplsInSegmentLabel object, the mplsInSegmentLabelPtr\nwill indicate this by being set to the first accessible\ncolumn in the appropriate extension table's row.\nIn this case an additional table MUST\nbe provided and MUST be indexed by at least the indexes\nused by this table. In all other cases when the label is\nrepresented within the mplsInSegmentLabel object, the\nmplsInSegmentLabelPtr MUST be set to 0.0. Due to the\nfact that MPLS labels may not exceed 24 bits, the\nmplsInSegmentLabelPtr object is only a provision for\nfuture-proofing the MIB module. Thus, the definition\nof any extension tables is beyond the scope of this\nMIB module.") mplsInSegmentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInSegmentIndex")) if mibBuilder.loadTexts: mplsInSegmentEntry.setDescription("An entry in this table represents one incoming\nsegment as is represented in an LSR's LFIB.\nAn entry can be created by a network\nadministrator or an SNMP agent, or an MPLS signaling\nprotocol. The creator of the entry is denoted by\nmplsInSegmentOwner.\n\n\n\n\nThe value of mplsInSegmentRowStatus cannot be active(1)\nunless the ifTable entry corresponding to\nmplsInSegmentInterface exists. An entry in this table\nmust match any incoming packets, and indicates an\ninstance of mplsXCEntry based on which forwarding\nand/or switching actions are taken.") mplsInSegmentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 1), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsInSegmentIndex.setDescription("The index for this in-segment. The\nstring containing the single octet 0x00\nMUST not be used as an index.") mplsInSegmentInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentInterface.setDescription("This object represents the\ninterface index for the incoming MPLS interface. A\nvalue of zero represents all interfaces participating in\nthe per-platform label space. This may only be used\nin cases where the incoming interface and label\nare associated with the same mplsXCEntry. Specifically,\ngiven a label and any incoming interface pair from the\nper-platform label space, the outgoing label/interface\nmapping remains the same. If this is not the case,\nthen individual entries MUST exist that\n\n\n\ncan then be mapped to unique mplsXCEntries.") mplsInSegmentLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 3), MplsLabel()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentLabel.setDescription("If the corresponding instance of mplsInSegmentLabelPtr is\nzeroDotZero then this object MUST contain the incoming label\nassociated with this in-segment. If not this object SHOULD\nbe zero and MUST be ignored.") mplsInSegmentLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 4), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentLabelPtr.setDescription("If the label for this segment cannot be represented\nfully within the mplsInSegmentLabel object,\nthis object MUST point to the first accessible\ncolumn of a conceptual row in an external table containing\nthe label. In this case, the mplsInSegmentTopLabel\nobject SHOULD be set to 0 and ignored. This object MUST\nbe set to zeroDotZero otherwise.") mplsInSegmentNPop = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentNPop.setDescription("The number of labels to pop from the incoming\npacket. Normally only the top label is popped from\nthe packet and used for all switching decisions for\nthat packet. This is indicated by setting this\nobject to the default value of 1. If an LSR supports\npopping of more than one label, this object MUST\nbe set to that number. This object cannot be modified\nif mplsInSegmentRowStatus is active(1).") mplsInSegmentAddrFamily = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 6), AddressFamilyNumbers().clone('other')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentAddrFamily.setDescription("The IANA address family [IANAFamily] of packets\nreceived on this segment, which is used at an egress\nLSR to deliver them to the appropriate layer 3 entity.\nA value of other(0) indicates that the family type is\neither unknown or undefined; this SHOULD NOT be used\nat an egress LSR. This object cannot be\nmodified if mplsInSegmentRowStatus is active(1).") mplsInSegmentXCIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 7), MplsIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentXCIndex.setDescription("Index into mplsXCTable which identifies which cross-\nconnect entry this segment is part of. The string\ncontaining the single octet 0x00 indicates that this\nentry is not referred to by any cross-connect entry.\nWhen a cross-connect entry is created which this\nin-segment is a part of, this object is automatically\nupdated to reflect the value of mplsXCIndex of that\ncross-connect entry.") mplsInSegmentOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 8), MplsOwner()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentOwner.setDescription("Denotes the entity that created and is responsible\nfor managing this segment.") mplsInSegmentTrafficParamPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 9), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentTrafficParamPtr.setDescription("This variable represents a pointer to the traffic\nparameter specification for this in-segment. This\nvalue may point at an entry in the\nmplsTunnelResourceTable in the MPLS-TE-STD-MIB (RFC3812)\nto indicate which traffic parameter settings for this\nsegment if it represents an LSP used for a TE tunnel.\n\nThis value may optionally point at an\nexternally defined traffic parameter specification\ntable. A value of zeroDotZero indicates best-effort\ntreatment. By having the same value of this object,\ntwo or more segments can indicate resource sharing\nof such things as LSP queue space, etc.\n\nThis object cannot be modified if mplsInSegmentRowStatus\nis active(1). For entries in this table that\nare preserved after a re-boot, the agent MUST ensure\nthat their integrity be preserved, or this object should\nbe set to 0.0 if it cannot.") mplsInSegmentRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. When a row in this\ntable has a row in the active(1) state, no\nobjects in this row can be modified except the\nmplsInSegmentRowStatus and mplsInSegmentStorageType.") mplsInSegmentStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 4, 1, 11), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsInSegmentStorageType.setDescription("This variable indicates the storage type for this\nobject. The agent MUST ensure that this object's\nvalue remains consistent with the associated\nmplsXCEntry. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar objects in the row.") mplsInSegmentPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5)) if mibBuilder.loadTexts: mplsInSegmentPerfTable.setDescription("This table contains statistical information for\nincoming MPLS segments to an LSR.") mplsInSegmentPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5, 1)) if mibBuilder.loadTexts: mplsInSegmentPerfEntry.setDescription("An entry in this table contains statistical\ninformation about one incoming segment which is\nconfigured in the mplsInSegmentTable. The counters\nin this entry should behave in a manner similar to\nthat of the interface.\nmplsInSegmentPerfDiscontinuityTime indicates the\ntime of the last discontinuity in all of these\nobjects.") mplsInSegmentPerfOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentPerfOctets.setDescription("This value represents the total number of octets\nreceived by this segment. It MUST be equal to the\nleast significant 32 bits of\nmplsInSegmentPerfHCOctets\nif mplsInSegmentPerfHCOctets is supported according to\nthe rules spelled out in RFC2863.") mplsInSegmentPerfPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentPerfPackets.setDescription("Total number of packets received by this segment.") mplsInSegmentPerfErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentPerfErrors.setDescription("The number of errored packets received on this\nsegment.") mplsInSegmentPerfDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentPerfDiscards.setDescription("The number of labeled packets received on this in-\nsegment, which were chosen to be discarded even\nthough no errors had been detected to prevent their\nbeing transmitted. One possible reason for\ndiscarding such a labeled packet could be to free up\nbuffer space.") mplsInSegmentPerfHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentPerfHCOctets.setDescription("The total number of octets received. This is the 64\nbit version of mplsInSegmentPerfOctets,\nif mplsInSegmentPerfHCOctets is supported according to\nthe rules spelled out in RFC2863.") mplsInSegmentPerfDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 5, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentPerfDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of this segment's Counter32\nor Counter64 suffered a discontinuity. If no such\ndiscontinuities have occurred since the last re-\ninitialization of the local management subsystem,\nthen this object contains a zero value.") mplsOutSegmentIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 6), MplsIndexNextType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentIndexNext.setDescription("This object contains the next available value to\nbe used for mplsOutSegmentIndex when creating entries\nin the mplsOutSegmentTable. The special value of a\nstring containing the single octet 0x00\nindicates that no new entries can be created in this\ntable. Agents not allowing managers to create entries\nin this table MUST set this object to this special\nvalue.") mplsOutSegmentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7)) if mibBuilder.loadTexts: mplsOutSegmentTable.setDescription("This table contains a representation of the outgoing\nsegments from an LSR.") mplsOutSegmentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsOutSegmentIndex")) if mibBuilder.loadTexts: mplsOutSegmentEntry.setDescription("An entry in this table represents one outgoing\n\n\n\nsegment. An entry can be created by a network\nadministrator, an SNMP agent, or an MPLS signaling\nprotocol. The object mplsOutSegmentOwner indicates\nthe creator of this entry. The value of\nmplsOutSegmentRowStatus cannot be active(1) unless\nthe ifTable entry corresponding to\nmplsOutSegmentInterface exists.\n\nNote that the indexing of this table uses a single,\narbitrary index (mplsOutSegmentIndex) to indicate\nwhich out-segment (i.e.: label) is being switched to\nfrom which in-segment (i.e: label) or in-segments.\nThis is necessary because it is possible to have an\nequal-cost multi-path situation where two identical\nout-going labels are assigned to the same\ncross-connect (i.e.: they go to two different neighboring\nLSRs); thus, requiring two out-segments. In order to\npreserve the uniqueness of the references\nby the mplsXCEntry, an arbitrary integer must be used as\nthe index for this table.") mplsOutSegmentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 1), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsOutSegmentIndex.setDescription("This value contains a unique index for this row.\nWhile a value of a string containing the single\noctet 0x00 is not valid as an index for entries\nin this table, it can be supplied as a valid value\nto index the mplsXCTable to represent entries for\n\n\n\nwhich no out-segment has been configured or\nexists.") mplsOutSegmentInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentInterface.setDescription("This value must contain the interface index of the\noutgoing interface. This object cannot be modified\nif mplsOutSegmentRowStatus is active(1). The\nmplsOutSegmentRowStatus cannot be set to active(1)\nuntil this object is set to a value corresponding to\na valid ifEntry.") mplsOutSegmentPushTopLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 3), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentPushTopLabel.setDescription("This value indicates whether or not a top label\nshould be pushed onto the outgoing packet's label\nstack. The value of this variable MUST be set to\ntrue(1) if the outgoing interface does not support\npop-and-go (and no label stack remains). For example,\non ATM interface, or if the segment represents a\ntunnel origination. Note that it is considered\nan error in the case that mplsOutSegmentPushTopLabel\nis set to false, but the cross-connect entry which\nrefers to this out-segment has a non-zero\nmplsLabelStackIndex. The LSR MUST ensure that this\nsituation does not happen. This object cannot be\nmodified if mplsOutSegmentRowStatus is active(1).") mplsOutSegmentTopLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 4), MplsLabel().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentTopLabel.setDescription("If mplsOutSegmentPushTopLabel is true then this\nrepresents the label that should be pushed onto the\ntop of the outgoing packet's label stack. Otherwise\nthis value SHOULD be set to 0 by the management\nstation and MUST be ignored by the agent. This\n\n\n\nobject cannot be modified if mplsOutSegmentRowStatus\nis active(1).") mplsOutSegmentTopLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 5), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentTopLabelPtr.setDescription("If the label for this segment cannot be represented\nfully within the mplsOutSegmentLabel object,\nthis object MUST point to the first accessible\ncolumn of a conceptual row in an external table containing\nthe label. In this case, the mplsOutSegmentTopLabel\nobject SHOULD be set to 0 and ignored. This object\nMUST be set to zeroDotZero otherwise.") mplsOutSegmentNextHopAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 6), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentNextHopAddrType.setDescription("Indicates the next hop Internet address type.\nOnly values unknown(0), ipv4(1) or ipv6(2)\nhave to be supported.\n\nA value of unknown(0) is allowed only when\nthe outgoing interface is of type point-to-point.\nIf any other unsupported values are attempted in a set\noperation, the agent MUST return an inconsistentValue\nerror.") mplsOutSegmentNextHopAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 7), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentNextHopAddr.setDescription("The internet address of the next hop. The type of\nthis address is determined by the value of the\nmplslOutSegmentNextHopAddrType object.\n\nThis object cannot be modified if\n\n\n\nmplsOutSegmentRowStatus is active(1).") mplsOutSegmentXCIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 8), MplsIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentXCIndex.setDescription("Index into mplsXCTable which identifies which cross-\nconnect entry this segment is part of. A value of\nthe string containing the single octet 0x00\nindicates that this entry is not referred\nto by any cross-connect entry. When a cross-connect\nentry is created which this out-segment is a part of,\nthis object MUST be updated by the agent to reflect\nthe value of mplsXCIndex of that cross-connect\nentry.") mplsOutSegmentOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 9), MplsOwner()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentOwner.setDescription("Denotes the entity which created and is responsible\nfor managing this segment.") mplsOutSegmentTrafficParamPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 10), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentTrafficParamPtr.setDescription("This variable represents a pointer to the traffic\nparameter specification for this out-segment. This\nvalue may point at an entry in the\nMplsTunnelResourceEntry in the MPLS-TE-STD-MIB (RFC3812)\n\nRFC Editor: Please fill in RFC number.\n\nto indicate which traffic parameter settings for this\nsegment if it represents an LSP used for a TE tunnel.\n\nThis value may optionally point at an\nexternally defined traffic parameter specification\ntable. A value of zeroDotZero indicates best-effort\ntreatment. By having the same value of this object,\ntwo or more segments can indicate resource sharing\n\n\n\nof such things as LSP queue space, etc.\n\nThis object cannot be modified if\nmplsOutSegmentRowStatus is active(1).\nFor entries in this table that\nare preserved after a re-boot, the agent MUST ensure\nthat their integrity be preserved, or this object should\nbe set to 0.0 if it cannot.") mplsOutSegmentRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentRowStatus.setDescription("For creating, modifying, and deleting this row.\nWhen a row in this table has a row in the active(1)\nstate, no objects in this row can be modified\nexcept the mplsOutSegmentRowStatus or\nmplsOutSegmentStorageType.") mplsOutSegmentStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 7, 1, 12), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsOutSegmentStorageType.setDescription("This variable indicates the storage type for this\nobject. The agent MUST ensure that this object's value\nremains consistent with the associated mplsXCEntry.\nConceptual rows having the value 'permanent'\nneed not allow write-access to any columnar\nobjects in the row.") mplsOutSegmentPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8)) if mibBuilder.loadTexts: mplsOutSegmentPerfTable.setDescription("This table contains statistical information about\n\n\n\noutgoing segments from an LSR. The counters in this\nentry should behave in a manner similar to that of\nthe interface.") mplsOutSegmentPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8, 1)) if mibBuilder.loadTexts: mplsOutSegmentPerfEntry.setDescription("An entry in this table contains statistical\ninformation about one outgoing segment configured in\nmplsOutSegmentTable. The object\nmplsOutSegmentPerfDiscontinuityTime indicates the\ntime of the last discontinuity in these objects. ") mplsOutSegmentPerfOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentPerfOctets.setDescription("This value contains the total number of octets sent\non this segment. It MUST be equal to the least\nsignificant 32 bits of mplsOutSegmentPerfHCOctets\nif mplsOutSegmentPerfHCOctets is supported according to\nthe rules spelled out in RFC2863.") mplsOutSegmentPerfPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentPerfPackets.setDescription("This value contains the total number of packets sent\n\n\n\non this segment.") mplsOutSegmentPerfErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentPerfErrors.setDescription("Number of packets that could not be sent due to\nerrors on this segment.") mplsOutSegmentPerfDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentPerfDiscards.setDescription("The number of labeled packets attempted to be transmitted\non this out-segment, which were chosen to be discarded\neven though no errors had been detected to prevent their\nbeing transmitted. One possible reason for\ndiscarding such a labeled packet could be to free up\nbuffer space.") mplsOutSegmentPerfHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentPerfHCOctets.setDescription("Total number of octets sent. This is the 64 bit\nversion of mplsOutSegmentPerfOctets,\nif mplsOutSegmentPerfHCOctets is supported according to\nthe rules spelled out in RFC2863.") mplsOutSegmentPerfDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 8, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentPerfDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of this segment's Counter32\nor Counter64 suffered a discontinuity. If no such\ndiscontinuities have occurred since the last re-\ninitialization of the local management subsystem,\nthen this object contains a zero value.") mplsXCIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 9), MplsIndexNextType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsXCIndexNext.setDescription("This object contains the next available value to\nbe used for mplsXCIndex when creating entries in\nthe mplsXCTable. A special value of the zero length\nstring indicates that no more new entries can be created\nin the relevant table. Agents not allowing managers\nto create entries in this table MUST set this value\nto the zero length string.") mplsXCTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10)) if mibBuilder.loadTexts: mplsXCTable.setDescription("This table specifies information for switching\nbetween LSP segments. It supports point-to-point,\npoint-to-multipoint and multipoint-to-point\nconnections. mplsLabelStackTable specifies the\nlabel stack information for a cross-connect LSR and\nis referred to from mplsXCTable.") mplsXCEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsXCIndex"), (0, "MPLS-LSR-STD-MIB", "mplsXCInSegmentIndex"), (0, "MPLS-LSR-STD-MIB", "mplsXCOutSegmentIndex")) if mibBuilder.loadTexts: mplsXCEntry.setDescription("A row in this table represents one cross-connect\nentry. It is indexed by the following objects:\n\n- cross-connect index mplsXCIndex that uniquely\n identifies a group of cross-connect entries\n\n- in-segment index, mplsXCInSegmentIndex\n\n- out-segment index, mplsXCOutSegmentIndex\n\n\n\n\nLSPs originating at this LSR:\nThese are represented by using the special\nof value of mplsXCInSegmentIndex set to the\nstring containing a single octet 0x00. In\nthis case the mplsXCOutSegmentIndex\nMUST not be the string containing a single\noctet 0x00.\n\nLSPs terminating at this LSR:\nThese are represented by using the special value\nmplsXCOutSegmentIndex set to the string containing\na single octet 0x00.\n\nSpecial labels:\nEntries indexed by the strings containing the\nreserved MPLS label values as a single octet 0x00\nthrough 0x0f (inclusive) imply LSPs terminating at\nthis LSR. Note that situations where LSPs are\nterminated with incoming label equal to the string\ncontaining a single octet 0x00 can be distinguished\nfrom LSPs originating at this LSR because the\nmplsXCOutSegmentIndex equals the string containing the\nsingle octet 0x00.\n\nAn entry can be created by a network administrator\nor by an SNMP agent as instructed by an MPLS\nsignaling protocol.") mplsXCIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 1), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsXCIndex.setDescription("Primary index for the conceptual row identifying a\ngroup of cross-connect segments. The string\ncontaining a single octet 0x00 is an invalid index.") mplsXCInSegmentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 2), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsXCInSegmentIndex.setDescription("Incoming label index.\nIf this object is set to the string containing\na single octet 0x00, this indicates a special\ncase outlined in the table's description above.\nIn this case no corresponding mplsInSegmentEntry\nshall exist.") mplsXCOutSegmentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 3), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsXCOutSegmentIndex.setDescription("Index of out-segment for LSPs not terminating on\nthis LSR if not set to the string containing the\nsingle octet 0x00. If the segment identified by this\nentry is terminating, then this object MUST be set to\nthe string containing a single octet 0x00 to indicate\nthat no corresponding mplsOutSegmentEntry shall\nexist.") mplsXCLspId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 4), MplsLSPID()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsXCLspId.setDescription("This value identifies the label switched path that\nthis cross-connect entry belongs to. This object\ncannot be modified if mplsXCRowStatus is active(1)\nexcept for this object.") mplsXCLabelStackIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 5), MplsIndexType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsXCLabelStackIndex.setDescription("Primary index into mplsLabelStackTable identifying a\nstack of labels to be pushed beneath the top label.\nNote that the top label identified by the out-\nsegment ensures that all the components of a\nmultipoint-to-point connection have the same\noutgoing label. A value of the string containing the\nsingle octet 0x00 indicates that no labels are to\nbe stacked beneath the top label.\nThis object cannot be modified if mplsXCRowStatus is\nactive(1).") mplsXCOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 6), MplsOwner()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsXCOwner.setDescription("Denotes the entity that created and is responsible\nfor managing this cross-connect.") mplsXCRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsXCRowStatus.setDescription("For creating, modifying, and deleting this row.\nWhen a row in this table has a row in the active(1)\nstate, no objects in this row except this object\nand the mplsXCStorageType can be modified. ") mplsXCStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 8), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsXCStorageType.setDescription("This variable indicates the storage type for this\nobject. The agent MUST ensure that the associated in\nand out segments also have the same StorageType value\nand are restored consistently upon system restart.\nThis value SHOULD be set to permanent(4) if created\nas a result of a static LSP configuration.\n\nConceptual rows having the value 'permanent'\nneed not allow write-access to any columnar\nobjects in the row.") mplsXCAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsXCAdminStatus.setDescription("The desired operational status of this segment.") mplsXCOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 10, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,7,4,6,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ("unknown", 4), ("dormant", 5), ("notPresent", 6), ("lowerLayerDown", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsXCOperStatus.setDescription("The actual operational status of this cross-\nconnect.") mplsMaxLabelStackDepth = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsMaxLabelStackDepth.setDescription("The maximum stack depth supported by this LSR.") mplsLabelStackIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 12), MplsIndexNextType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLabelStackIndexNext.setDescription("This object contains the next available value to\nbe used for mplsLabelStackIndex when creating entries\nin the mplsLabelStackTable. The special string\ncontaining the single octet 0x00\nindicates that no more new entries can be created\nin the relevant table. Agents not allowing managers\nto create entries in this table MUST set this value\nto the string containing the single octet 0x00.") mplsLabelStackTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13)) if mibBuilder.loadTexts: mplsLabelStackTable.setDescription("This table specifies the label stack to be pushed\nonto a packet, beneath the top label. Entries into\nthis table are referred to from mplsXCTable.") mplsLabelStackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsLabelStackIndex"), (0, "MPLS-LSR-STD-MIB", "mplsLabelStackLabelIndex")) if mibBuilder.loadTexts: mplsLabelStackEntry.setDescription("An entry in this table represents one label which is\nto be pushed onto an outgoing packet, beneath the\ntop label. An entry can be created by a network\nadministrator or by an SNMP agent as instructed by\nan MPLS signaling protocol.") mplsLabelStackIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13, 1, 1), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLabelStackIndex.setDescription("Primary index for this row identifying a stack of\nlabels to be pushed on an outgoing packet, beneath\nthe top label. An index containing the string with\na single octet 0x00 MUST not be used.") mplsLabelStackLabelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLabelStackLabelIndex.setDescription("Secondary index for this row identifying one label\nof the stack. Note that an entry with a smaller\nmplsLabelStackLabelIndex would refer to a label\nhigher up the label stack and would be popped at a\ndownstream LSR before a label represented by a\nhigher mplsLabelStackLabelIndex at a downstream\nLSR.") mplsLabelStackLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13, 1, 3), MplsLabel()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLabelStackLabel.setDescription("The label to pushed.") mplsLabelStackLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13, 1, 4), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLabelStackLabelPtr.setDescription("If the label for this segment cannot be represented\nfully within the mplsLabelStackLabel object,\nthis object MUST point to the first accessible\ncolumn of a conceptual row in an external table containing\nthe label. In this case, the mplsLabelStackLabel\nobject SHOULD be set to 0 and ignored. This object\nMUST be set to zeroDotZero otherwise.") mplsLabelStackRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLabelStackRowStatus.setDescription("For creating, modifying, and deleting this row.\nWhen a row in this table has a row in the active(1)\nstate, no objects in this row except this object\nand the mplsLabelStackStorageType can be modified.") mplsLabelStackStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 13, 1, 6), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLabelStackStorageType.setDescription("This variable indicates the storage type for this\nobject. This object cannot be modified if\nmplsLabelStackRowStatus is active(1).\nNo objects are required to be writable for\nrows in this table with this object set to\npermanent(4).\n\nThe agent MUST ensure that all related entries\nin this table retain the same value for this\nobject. Agents MUST ensure that the storage type\nfor all entries related to a particular mplsXCEntry\nretain the same value for this object as the\nmplsXCEntry's StorageType.") mplsInSegmentMapTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 14)) if mibBuilder.loadTexts: mplsInSegmentMapTable.setDescription("This table specifies the mapping from the\nmplsInSegmentIndex to the corresponding\nmplsInSegmentInterface and mplsInSegmentLabel\nobjects. The purpose of this table is to\nprovide the manager with an alternative\nmeans by which to locate in-segments.") mplsInSegmentMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 14, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInSegmentMapInterface"), (0, "MPLS-LSR-STD-MIB", "mplsInSegmentMapLabel"), (0, "MPLS-LSR-STD-MIB", "mplsInSegmentMapLabelPtrIndex")) if mibBuilder.loadTexts: mplsInSegmentMapEntry.setDescription("An entry in this table represents one interface\nand incoming label pair.\n\nIn cases where the label cannot fit into the\nmplsInSegmentLabel object, the mplsInSegmentLabelPtr\nwill indicate this by being set to the first accessible\ncolumn in the appropriate extension table's row,\nand the mplsInSegmentLabel SHOULD be set to 0.\nIn all other cases when the label is\nrepresented within the mplsInSegmentLabel object, the\nmplsInSegmentLabelPtr MUST be 0.0.\n\nImplementors need to be aware that if the value of\nthe mplsInSegmentMapLabelPtrIndex (an OID) has more\nthat 111 sub-identifiers, then OIDs of column\ninstances in this table will have more than 128\nsub-identifiers and cannot be accessed using SNMPv1,\nSNMPv2c, or SNMPv3.") mplsInSegmentMapInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 14, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsInSegmentMapInterface.setDescription("This index contains the same value as the\nmplsInSegmentIndex in the mplsInSegmentTable.") mplsInSegmentMapLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 14, 1, 2), MplsLabel()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsInSegmentMapLabel.setDescription("This index contains the same value as the\nmplsInSegmentLabel in the mplsInSegmentTable.") mplsInSegmentMapLabelPtrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 14, 1, 3), RowPointer()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsInSegmentMapLabelPtrIndex.setDescription("This index contains the same value as the\nmplsInSegmentLabelPtr.\n\nIf the label for the InSegment cannot be represented\nfully within the mplsInSegmentLabel object,\nthis index MUST point to the first accessible\ncolumn of a conceptual row in an external table containing\nthe label. In this case, the mplsInSegmentTopLabel\nobject SHOULD be set to 0 and ignored. This object MUST\nbe set to zeroDotZero otherwise.") mplsInSegmentMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 14, 1, 4), MplsIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentMapIndex.setDescription("The mplsInSegmentIndex that corresponds\nto the mplsInSegmentInterface and\nmplsInSegmentLabel, or the mplsInSegmentInterface\nand mplsInSegmentLabelPtr, if applicable.\nThe string containing the single octet 0x00\nMUST not be returned.") mplsXCNotificationsEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 2, 1, 15), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mplsXCNotificationsEnable.setDescription("If this object is set to true(1), then it enables\nthe emission of mplsXCUp and mplsXCDown\nnotifications; otherwise these notifications are not\n\n\n\nemitted.") mplsLsrConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 2, 2)) mplsLsrGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1)) mplsLsrCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 2)) # Augmentions mplsInSegmentEntry.registerAugmentions(("MPLS-LSR-STD-MIB", "mplsInSegmentPerfEntry")) mplsInSegmentPerfEntry.setIndexNames(*mplsInSegmentEntry.getIndexNames()) mplsOutSegmentEntry.registerAugmentions(("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfEntry")) mplsOutSegmentPerfEntry.setIndexNames(*mplsOutSegmentEntry.getIndexNames()) mplsInterfaceEntry.registerAugmentions(("MPLS-LSR-STD-MIB", "mplsInterfacePerfEntry")) mplsInterfacePerfEntry.setIndexNames(*mplsInterfaceEntry.getIndexNames()) # Notifications mplsXCUp = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 2, 0, 1)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsXCOperStatus"), ) ) if mibBuilder.loadTexts: mplsXCUp.setDescription("This notification is generated when the\nmplsXCOperStatus object for one or more contiguous\nentries in mplsXCTable are about to enter the up(1)\nstate from some other state. The included values of\nmplsXCOperStatus MUST both be set equal to this\nnew state (i.e: up(1)). The two instances of\nmplsXCOperStatus in this notification indicate the range\nof indexes that are affected. Note that all the indexes\nof the two ends of the range can be derived from the\ninstance identifiers of these two objects. For\ncases where a contiguous range of cross-connects\nhave transitioned into the up(1) state at roughly\nthe same time, the device SHOULD issue a single\nnotification for each range of contiguous indexes in\nan effort to minimize the emission of a large number\nof notifications. If a notification has to be\nissued for just a single cross-connect entry, then\nthe instance identifier (and values) of the two\nmplsXCOperStatus objects MUST be the identical.") mplsXCDown = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 2, 0, 2)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsXCOperStatus"), ) ) if mibBuilder.loadTexts: mplsXCDown.setDescription("This notification is generated when the\nmplsXCOperStatus object for one or more contiguous\nentries in mplsXCTable are about to enter the\ndown(2) state from some other state. The included values\n\n\n\nof mplsXCOperStatus MUST both be set equal to this\ndown(2) state. The two instances of mplsXCOperStatus\nin this notification indicate the range of indexes\nthat are affected. Note that all the indexes of the\ntwo ends of the range can be derived from the\ninstance identifiers of these two objects. For\ncases where a contiguous range of cross-connects\nhave transitioned into the down(2) state at roughly\nthe same time, the device SHOULD issue a single\nnotification for each range of contiguous indexes in\nan effort to minimize the emission of a large number\nof notifications. If a notification has to be\nissued for just a single cross-connect entry, then\nthe instance identifier (and values) of the two\nmplsXCOperStatus objects MUST be identical.") # Groups mplsInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 1)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsInterfaceLabelParticipationType"), ("MPLS-LSR-STD-MIB", "mplsInterfaceLabelMaxOut"), ("MPLS-LSR-STD-MIB", "mplsInterfaceLabelMinIn"), ("MPLS-LSR-STD-MIB", "mplsInterfaceAvailableBandwidth"), ("MPLS-LSR-STD-MIB", "mplsInterfaceTotalBandwidth"), ("MPLS-LSR-STD-MIB", "mplsInterfaceLabelMinOut"), ("MPLS-LSR-STD-MIB", "mplsInterfaceLabelMaxIn"), ) ) if mibBuilder.loadTexts: mplsInterfaceGroup.setDescription("Collection of objects needed for MPLS interface\nand interface performance information.") mplsInSegmentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 2)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsInSegmentMapIndex"), ("MPLS-LSR-STD-MIB", "mplsInSegmentRowStatus"), ("MPLS-LSR-STD-MIB", "mplsInSegmentIndexNext"), ("MPLS-LSR-STD-MIB", "mplsInSegmentInterface"), ("MPLS-LSR-STD-MIB", "mplsInSegmentTrafficParamPtr"), ("MPLS-LSR-STD-MIB", "mplsInSegmentLabelPtr"), ("MPLS-LSR-STD-MIB", "mplsInSegmentOwner"), ("MPLS-LSR-STD-MIB", "mplsInSegmentNPop"), ("MPLS-LSR-STD-MIB", "mplsInSegmentLabel"), ("MPLS-LSR-STD-MIB", "mplsInSegmentXCIndex"), ("MPLS-LSR-STD-MIB", "mplsInSegmentStorageType"), ("MPLS-LSR-STD-MIB", "mplsInSegmentAddrFamily"), ) ) if mibBuilder.loadTexts: mplsInSegmentGroup.setDescription("Collection of objects needed to implement an in-\nsegment.") mplsOutSegmentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 3)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsOutSegmentInterface"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentTopLabel"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentXCIndex"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfOctets"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentOwner"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentIndexNext"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentTopLabelPtr"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfDiscards"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentStorageType"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentPushTopLabel"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentNextHopAddrType"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentRowStatus"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentNextHopAddr"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfErrors"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentTrafficParamPtr"), ) ) if mibBuilder.loadTexts: mplsOutSegmentGroup.setDescription("Collection of objects needed to implement an out-\n\n\n\nsegment.") mplsXCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 4)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsXCLspId"), ("MPLS-LSR-STD-MIB", "mplsXCOperStatus"), ("MPLS-LSR-STD-MIB", "mplsXCRowStatus"), ("MPLS-LSR-STD-MIB", "mplsXCIndexNext"), ("MPLS-LSR-STD-MIB", "mplsXCStorageType"), ("MPLS-LSR-STD-MIB", "mplsXCOwner"), ("MPLS-LSR-STD-MIB", "mplsXCNotificationsEnable"), ("MPLS-LSR-STD-MIB", "mplsXCLabelStackIndex"), ("MPLS-LSR-STD-MIB", "mplsXCAdminStatus"), ) ) if mibBuilder.loadTexts: mplsXCGroup.setDescription("Collection of objects needed to implement a\ncross-connect entry.") mplsPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 5)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfDiscontinuityTime"), ("MPLS-LSR-STD-MIB", "mplsInSegmentPerfPackets"), ("MPLS-LSR-STD-MIB", "mplsInSegmentPerfDiscards"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfOctets"), ("MPLS-LSR-STD-MIB", "mplsInSegmentPerfErrors"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfDiscards"), ("MPLS-LSR-STD-MIB", "mplsInSegmentPerfOctets"), ("MPLS-LSR-STD-MIB", "mplsInterfacePerfInLabelLookupFailures"), ("MPLS-LSR-STD-MIB", "mplsInterfacePerfOutLabelsInUse"), ("MPLS-LSR-STD-MIB", "mplsInterfacePerfOutFragmentedPkts"), ("MPLS-LSR-STD-MIB", "mplsInSegmentPerfDiscontinuityTime"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfPackets"), ("MPLS-LSR-STD-MIB", "mplsInterfacePerfInLabelsInUse"), ) ) if mibBuilder.loadTexts: mplsPerfGroup.setDescription("Collection of objects providing performance\ninformation\nabout an LSR.") mplsHCInSegmentPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 6)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsInSegmentPerfHCOctets"), ) ) if mibBuilder.loadTexts: mplsHCInSegmentPerfGroup.setDescription("Object(s) providing performance information\nspecific to out-segments for which the object\nmplsInterfaceInOctets wraps around too quickly.") mplsHCOutSegmentPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 7)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsOutSegmentPerfHCOctets"), ) ) if mibBuilder.loadTexts: mplsHCOutSegmentPerfGroup.setDescription("Object(s) providing performance information\nspecific to out-segments for which the object\nmplsInterfaceOutOctets wraps around too\nquickly.") mplsLabelStackGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 8)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsLabelStackStorageType"), ("MPLS-LSR-STD-MIB", "mplsLabelStackLabelPtr"), ("MPLS-LSR-STD-MIB", "mplsMaxLabelStackDepth"), ("MPLS-LSR-STD-MIB", "mplsLabelStackLabel"), ("MPLS-LSR-STD-MIB", "mplsLabelStackIndexNext"), ("MPLS-LSR-STD-MIB", "mplsLabelStackRowStatus"), ) ) if mibBuilder.loadTexts: mplsLabelStackGroup.setDescription("Objects needed to support label stacking.") mplsLsrNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 1, 9)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsXCDown"), ("MPLS-LSR-STD-MIB", "mplsXCUp"), ) ) if mibBuilder.loadTexts: mplsLsrNotificationGroup.setDescription("Set of notifications implemented in this\nmodule.") # Compliances mplsLsrModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 2, 1)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsLabelStackGroup"), ("MPLS-LSR-STD-MIB", "mplsInSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsInterfaceGroup"), ("MPLS-LSR-STD-MIB", "mplsHCInSegmentPerfGroup"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsHCOutSegmentPerfGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("MPLS-LSR-STD-MIB", "mplsLsrNotificationGroup"), ("MPLS-LSR-STD-MIB", "mplsXCGroup"), ("MPLS-LSR-STD-MIB", "mplsPerfGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ) ) if mibBuilder.loadTexts: mplsLsrModuleFullCompliance.setDescription("Compliance statement for agents that provide full\nsupport for MPLS-LSR-STD-MIB. Such devices can\nthen be monitored and also be configured using\nthis MIB module.") mplsLsrModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 2, 2, 2, 2)).setObjects(*(("MPLS-LSR-STD-MIB", "mplsLabelStackGroup"), ("MPLS-LSR-STD-MIB", "mplsInSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsInterfaceGroup"), ("MPLS-LSR-STD-MIB", "mplsHCInSegmentPerfGroup"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsHCOutSegmentPerfGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("MPLS-LSR-STD-MIB", "mplsLsrNotificationGroup"), ("MPLS-LSR-STD-MIB", "mplsXCGroup"), ("MPLS-LSR-STD-MIB", "mplsPerfGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ) ) if mibBuilder.loadTexts: mplsLsrModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only\nprovide read-only support for MPLS-LSR-STD-MIB. Such\ndevices can then be monitored but cannot be configured\nusing this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-LSR-STD-MIB", PYSNMP_MODULE_ID=mplsLsrStdMIB) # Types mibBuilder.exportSymbols("MPLS-LSR-STD-MIB", MplsIndexNextType=MplsIndexNextType, MplsIndexType=MplsIndexType) # Objects mibBuilder.exportSymbols("MPLS-LSR-STD-MIB", mplsLsrStdMIB=mplsLsrStdMIB, mplsLsrNotifications=mplsLsrNotifications, mplsLsrObjects=mplsLsrObjects, mplsInterfaceTable=mplsInterfaceTable, mplsInterfaceEntry=mplsInterfaceEntry, mplsInterfaceIndex=mplsInterfaceIndex, mplsInterfaceLabelMinIn=mplsInterfaceLabelMinIn, mplsInterfaceLabelMaxIn=mplsInterfaceLabelMaxIn, mplsInterfaceLabelMinOut=mplsInterfaceLabelMinOut, mplsInterfaceLabelMaxOut=mplsInterfaceLabelMaxOut, mplsInterfaceTotalBandwidth=mplsInterfaceTotalBandwidth, mplsInterfaceAvailableBandwidth=mplsInterfaceAvailableBandwidth, mplsInterfaceLabelParticipationType=mplsInterfaceLabelParticipationType, mplsInterfacePerfTable=mplsInterfacePerfTable, mplsInterfacePerfEntry=mplsInterfacePerfEntry, mplsInterfacePerfInLabelsInUse=mplsInterfacePerfInLabelsInUse, mplsInterfacePerfInLabelLookupFailures=mplsInterfacePerfInLabelLookupFailures, mplsInterfacePerfOutLabelsInUse=mplsInterfacePerfOutLabelsInUse, mplsInterfacePerfOutFragmentedPkts=mplsInterfacePerfOutFragmentedPkts, mplsInSegmentIndexNext=mplsInSegmentIndexNext, mplsInSegmentTable=mplsInSegmentTable, mplsInSegmentEntry=mplsInSegmentEntry, mplsInSegmentIndex=mplsInSegmentIndex, mplsInSegmentInterface=mplsInSegmentInterface, mplsInSegmentLabel=mplsInSegmentLabel, mplsInSegmentLabelPtr=mplsInSegmentLabelPtr, mplsInSegmentNPop=mplsInSegmentNPop, mplsInSegmentAddrFamily=mplsInSegmentAddrFamily, mplsInSegmentXCIndex=mplsInSegmentXCIndex, mplsInSegmentOwner=mplsInSegmentOwner, mplsInSegmentTrafficParamPtr=mplsInSegmentTrafficParamPtr, mplsInSegmentRowStatus=mplsInSegmentRowStatus, mplsInSegmentStorageType=mplsInSegmentStorageType, mplsInSegmentPerfTable=mplsInSegmentPerfTable, mplsInSegmentPerfEntry=mplsInSegmentPerfEntry, mplsInSegmentPerfOctets=mplsInSegmentPerfOctets, mplsInSegmentPerfPackets=mplsInSegmentPerfPackets, mplsInSegmentPerfErrors=mplsInSegmentPerfErrors, mplsInSegmentPerfDiscards=mplsInSegmentPerfDiscards, mplsInSegmentPerfHCOctets=mplsInSegmentPerfHCOctets, mplsInSegmentPerfDiscontinuityTime=mplsInSegmentPerfDiscontinuityTime, mplsOutSegmentIndexNext=mplsOutSegmentIndexNext, mplsOutSegmentTable=mplsOutSegmentTable, mplsOutSegmentEntry=mplsOutSegmentEntry, mplsOutSegmentIndex=mplsOutSegmentIndex, mplsOutSegmentInterface=mplsOutSegmentInterface, mplsOutSegmentPushTopLabel=mplsOutSegmentPushTopLabel, mplsOutSegmentTopLabel=mplsOutSegmentTopLabel, mplsOutSegmentTopLabelPtr=mplsOutSegmentTopLabelPtr, mplsOutSegmentNextHopAddrType=mplsOutSegmentNextHopAddrType, mplsOutSegmentNextHopAddr=mplsOutSegmentNextHopAddr, mplsOutSegmentXCIndex=mplsOutSegmentXCIndex, mplsOutSegmentOwner=mplsOutSegmentOwner, mplsOutSegmentTrafficParamPtr=mplsOutSegmentTrafficParamPtr, mplsOutSegmentRowStatus=mplsOutSegmentRowStatus, mplsOutSegmentStorageType=mplsOutSegmentStorageType, mplsOutSegmentPerfTable=mplsOutSegmentPerfTable, mplsOutSegmentPerfEntry=mplsOutSegmentPerfEntry, mplsOutSegmentPerfOctets=mplsOutSegmentPerfOctets, mplsOutSegmentPerfPackets=mplsOutSegmentPerfPackets, mplsOutSegmentPerfErrors=mplsOutSegmentPerfErrors, mplsOutSegmentPerfDiscards=mplsOutSegmentPerfDiscards, mplsOutSegmentPerfHCOctets=mplsOutSegmentPerfHCOctets, mplsOutSegmentPerfDiscontinuityTime=mplsOutSegmentPerfDiscontinuityTime, mplsXCIndexNext=mplsXCIndexNext, mplsXCTable=mplsXCTable, mplsXCEntry=mplsXCEntry, mplsXCIndex=mplsXCIndex, mplsXCInSegmentIndex=mplsXCInSegmentIndex, mplsXCOutSegmentIndex=mplsXCOutSegmentIndex, mplsXCLspId=mplsXCLspId, mplsXCLabelStackIndex=mplsXCLabelStackIndex, mplsXCOwner=mplsXCOwner, mplsXCRowStatus=mplsXCRowStatus, mplsXCStorageType=mplsXCStorageType, mplsXCAdminStatus=mplsXCAdminStatus, mplsXCOperStatus=mplsXCOperStatus, mplsMaxLabelStackDepth=mplsMaxLabelStackDepth, mplsLabelStackIndexNext=mplsLabelStackIndexNext, mplsLabelStackTable=mplsLabelStackTable, mplsLabelStackEntry=mplsLabelStackEntry, mplsLabelStackIndex=mplsLabelStackIndex, mplsLabelStackLabelIndex=mplsLabelStackLabelIndex, mplsLabelStackLabel=mplsLabelStackLabel, mplsLabelStackLabelPtr=mplsLabelStackLabelPtr, mplsLabelStackRowStatus=mplsLabelStackRowStatus, mplsLabelStackStorageType=mplsLabelStackStorageType, mplsInSegmentMapTable=mplsInSegmentMapTable, mplsInSegmentMapEntry=mplsInSegmentMapEntry, mplsInSegmentMapInterface=mplsInSegmentMapInterface, mplsInSegmentMapLabel=mplsInSegmentMapLabel, mplsInSegmentMapLabelPtrIndex=mplsInSegmentMapLabelPtrIndex, mplsInSegmentMapIndex=mplsInSegmentMapIndex, mplsXCNotificationsEnable=mplsXCNotificationsEnable, mplsLsrConformance=mplsLsrConformance, mplsLsrGroups=mplsLsrGroups, mplsLsrCompliances=mplsLsrCompliances) # Notifications mibBuilder.exportSymbols("MPLS-LSR-STD-MIB", mplsXCUp=mplsXCUp, mplsXCDown=mplsXCDown) # Groups mibBuilder.exportSymbols("MPLS-LSR-STD-MIB", mplsInterfaceGroup=mplsInterfaceGroup, mplsInSegmentGroup=mplsInSegmentGroup, mplsOutSegmentGroup=mplsOutSegmentGroup, mplsXCGroup=mplsXCGroup, mplsPerfGroup=mplsPerfGroup, mplsHCInSegmentPerfGroup=mplsHCInSegmentPerfGroup, mplsHCOutSegmentPerfGroup=mplsHCOutSegmentPerfGroup, mplsLabelStackGroup=mplsLabelStackGroup, mplsLsrNotificationGroup=mplsLsrNotificationGroup) # Compliances mibBuilder.exportSymbols("MPLS-LSR-STD-MIB", mplsLsrModuleFullCompliance=mplsLsrModuleFullCompliance, mplsLsrModuleReadOnlyCompliance=mplsLsrModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPOA-MIB.py0000644000014400001440000013001511736645136020165 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPOA-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:11 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( ipAdEntAddr, ipNetToMediaIfIndex, ipNetToMediaNetAddress, ipNetToMediaPhysAddress, ) = mibBuilder.importSymbols("IP-MIB", "ipAdEntAddr", "ipNetToMediaIfIndex", "ipNetToMediaNetAddress", "ipNetToMediaPhysAddress") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention") # Types class IpoaAtmAddr(TextualConvention, OctetString): displayHint = "1x" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,40) class IpoaAtmConnKind(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,2,5,3,) namedValues = NamedValues(("pvc", 1), ("svcIncoming", 2), ("svcOutgoing", 3), ("spvcInitiator", 4), ("spvcTarget", 5), ) class IpoaEncapsType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,2,) namedValues = NamedValues(("llcSnap", 1), ("vcMuxed", 2), ("other", 3), ) class IpoaVciInteger(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class IpoaVpiInteger(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,255) # Objects ipoaMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 46)).setRevisions(("1998-02-09 00:00",)) if mibBuilder.loadTexts: ipoaMIB.setOrganization("IETF Internetworking Over NBMA Working\nGroup (ion)") if mibBuilder.loadTexts: ipoaMIB.setContactInfo("Maria Greene (greene@xedia.com)\nXedia Corp.\n\nJim Luciani (jluciani@BayNetworks.com)\nBay Networks\n\nKenneth White (kennethw@vnet.ibm.com)\nIBM Corp.\n\nTed Kuo (tkuo@eos.ncsu.edu)\nBay Networks") if mibBuilder.loadTexts: ipoaMIB.setDescription("This module defines a portion of the management\ninformation base (MIB) for managing Classical IP and\nARP over ATM entities.") ipoaObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 46, 1)) ipoaLisTrapEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 46, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipoaLisTrapEnable.setDescription("Indicates whether ipoaLisCreate and ipoaLisDelete\ntraps should be generated by this system.\n\nBy default, this object should have the value\nenabled(1) for systems where ATMARP Servers are\npresent and disabled(2) on systems where only\nclients reside.") ipoaLisTable = MibTable((1, 3, 6, 1, 2, 1, 10, 46, 1, 2)) if mibBuilder.loadTexts: ipoaLisTable.setDescription("There is one entry in this table for every Logical IP\nSubnet (LIS) of which this system is a member.\n\nThe bulk of the objects in an ipoaLisEntry exists\nto control ATMARP for a particular LIS. In a PVC only\nenvironment it is implementation dependent as to\nwhether this table should be supported.") ipoaLisEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1)).setIndexNames((0, "IPOA-MIB", "ipoaLisSubnetAddr")) if mibBuilder.loadTexts: ipoaLisEntry.setDescription("Information about a single LIS of which this system\nis a member.\n\nMembership in a LIS is independent of the actual ATM\ninterfaces being used. The ipoaLisTable defines\nall LISs that a system is a member of. The ipAddrTable\nand the ipoaClientTable provides the mapping from local\nIP address to ATM interface. The ipoaLisIfMappingTable\nprovides the mappings between Logical IP Subnets and\ninterfaces.\nThe ipoaLisTable is indexed by ipoaLisSubnetAddr (IP\nsubnet address). An entry in the ipoaLisTable should\nexist for each ipAddrEntry that is associated with an\nATM related interface used for Classical IP and ARP\nover ATM traffic.\n\nIts ipAdEntAddr and ipAdEntNetMask when ANDed together\nshould equal the ipoaLisSubnetAddr of the corresponding\nipoaLisEntry.") ipoaLisSubnetAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaLisSubnetAddr.setDescription("The IP subnet address associated with this LIS.") ipoaLisDefaultMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(9180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisDefaultMtu.setDescription("The default MTU used within this LIS. Note that the\nactual MTU used for a VC between two members of the\nLIS may be negotiated during connection setup and may\nbe different than this value. The ipoaVcNegotiatedMtu\nobject indicates the actual MTU in use for a\nparticular VC.") ipoaLisDefaultEncapsType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 3), IpoaEncapsType().clone('llcSnap')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisDefaultEncapsType.setDescription("The default encapsulation to use on VCs created for\nthis LIS. Note that the actual encapsulation type may\nbe negotiated during connection setup and may be\ndifferent than this value. The\nipoaVcNegotiatedEncapsType object indicates the actual\nencapsulation in use for a particular VC.") ipoaLisInactivityTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 4), Integer32().clone(1200)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisInactivityTimer.setDescription("The time, in seconds, before a call established for an\nipNetToMediaEntry on a client will timeout due to no\ntraffic being passed on the VC. A value of 0 implies\nno time out.") ipoaLisMinHoldingTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisMinHoldingTime.setDescription("The minimum amount of time, in seconds, that a call\nwill remain open. If 0 then ipoaInactivityTimer will\ncompletely determine when a call is terminated.") ipoaLisQDepth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisQDepth.setDescription("The maximum number of outstanding requests that are\nallowed while waiting for ATMARP replies and\nInATMARP replies for this LIS.") ipoaLisMaxCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisMaxCalls.setDescription("The maximum number of SVCs that can be established\nsimultaneously for this LIS.") ipoaLisCacheEntryAge = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 1200)).clone(900)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisCacheEntryAge.setDescription("The time, in seconds, before an ipNetToMediaEntry will\nage out of the table. Note that the default value will\nbe different for a client and a server. An ATMARP\nServer should use a default of 1200 and a client should\nuse 900.") ipoaLisRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisRetries.setDescription("The number of times the ATMARP request will be retried\nwhen no response is received in the timeout interval\nindicated by ipoaLisTimeout.") ipoaLisTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisTimeout.setDescription("The time to wait, in seconds, before retransmission\nof an ARP request.") ipoaLisDefaultPeakCellRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 11), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisDefaultPeakCellRate.setDescription("This object is the signalling parameter that\nshould be used when setting up all best effort\nVCCs (Virtual Channel Connections).\nThis parameter applies to the forward and\nbackward direction on a per best effort VCC basis.\nA value of zero implies that no configured default\nexists and that local policy should be used to\ndetermine the actual default to used during\ncall setup. ATM Signaling Support for IP over ATM\n(RFC 1755) recommends 1/10th of the ATM interface's\nspeed.") ipoaLisActiveVcs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaLisActiveVcs.setDescription("Number of active SVCs for this LIS.") ipoaLisRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 2, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisRowStatus.setDescription("This object allows entries to be created and deleted\nin the ipoaLisTable.\n\nWhen the ipoaLisRowStatus deleted (by setting this\nobject to destroy(6)), this has the side-effect of\nremoving all entries from the ipNetToMediaTable that\nare associated with this LIS (in other words, it\nflushes the entity's ATMARP cache). It also removes\nthe ipoaVcTable entries that were associated with those\nipNetToMediaTable entries. Destroying the row also\nremoves the corresponding entries in the\nipoaArpSrvrTable, ipoaArpClientTable,\nipoaLisIfMappingTable, and ipoaArpRemoteSrvrTable.\n\nEntries in both the ipNetToMediaTable and the\nipoaVcTable that are associated with a\nipoaConfigPvcEntry are not affected by changes to\nipoaLisRowStatus.") ipoaLisIfMappingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 46, 1, 3)) if mibBuilder.loadTexts: ipoaLisIfMappingTable.setDescription("There is one entry in this table for every combination\nof ipoaLisEntry and IP over ATM interface.") ipoaLisIfMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 46, 1, 3, 1)).setIndexNames((0, "IPOA-MIB", "ipoaLisSubnetAddr"), (0, "IPOA-MIB", "ipoaLisIfMappingIfIndex")) if mibBuilder.loadTexts: ipoaLisIfMappingEntry.setDescription("Defines an entry in the ipoaLisIfMappingTable.") ipoaLisIfMappingIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 3, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaLisIfMappingIfIndex.setDescription("The ipAdEntIfIndex object from an ipAddrEntry\nis used as an index to this table when its\nipAdEntAddr is in the subnet implied by\nipoaLisSubnetAddr.") ipoaLisIfMappingRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 3, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaLisIfMappingRowStatus.setDescription("This object allows entries to be created and deleted\nin the ipoaLisIfMappingTable.") ipoaArpClientTable = MibTable((1, 3, 6, 1, 2, 1, 10, 46, 1, 4)) if mibBuilder.loadTexts: ipoaArpClientTable.setDescription("The ATMARP clients running on this system.") ipoaArpClientEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr")) if mibBuilder.loadTexts: ipoaArpClientEntry.setDescription("Information about a single ATMARP Client. Clients\ncan be started and stopped by adding and removing\nentries from this table. An entry in the\nipoaArpClientTable has a corresponding entry in the\nipAddrTable. Both are indexed by ipAdEntAddr.\nThe ifIndex and subnet mask of a client entry are the\nipAddrEntry's ipAdEntIfIndex and ipAdEntNetMask,\nrespectively.\n\nNote that adding and removing entries from this table\nmay have the same effect on the corresponding\nipAddrTable entry. Row creation of an entry in this\ntable requires that either the corresponding ipAddrTable\nentry exists or that ipAdEntIfIndex and ipAdEntNetMask\nbe specified in the creation of an ipoaArpClientEntry\nat a minimum in order to create the corresponding\nipAddrEntry. Specification of ipAdEntBcastAddr and\nipAdEntReasmMaxSize to complete an ipAddrEntry is\nimplementation dependent.\nWhether a corresponding ipAddrEntry is deleted during\nthe deletion of an ipoaArpClientEntry is considered\nimplementation dependent.") ipoaArpClientAtmAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 1), IpoaAtmAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaArpClientAtmAddr.setDescription("The ATM address of the client.") ipoaArpClientSrvrInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 2), IpoaAtmAddr().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientSrvrInUse.setDescription("The ATM address of the ATMARP Server,\nipoaArpRemoteSrvrAtmAddr, in use by this client. A\nzero length octet string implies that communication\nwith a Remote ATMARP Server is not in effect.") ipoaArpClientInArpInReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientInArpInReqs.setDescription("The number of InATMARP requests received by this\nclient.") ipoaArpClientInArpOutReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientInArpOutReqs.setDescription("The number of InATMARP requests sent by this client.") ipoaArpClientInArpInReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientInArpInReplies.setDescription("The number of InATMARP replies received by this\nclient.") ipoaArpClientInArpOutReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientInArpOutReplies.setDescription("Total number of InATMARP replies sent by this client.") ipoaArpClientInArpInvalidInReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientInArpInvalidInReqs.setDescription("The number of times that this client detected an\ninvalid InATMARP request.") ipoaArpClientInArpInvalidOutReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientInArpInvalidOutReqs.setDescription("The number of times that this client did not\nreceive an InATMARP reply.") ipoaArpClientArpInReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpInReqs.setDescription("Total number of ATMARP requests received by this\nclient.") ipoaArpClientArpOutReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpOutReqs.setDescription("Total number of ATMARP requests sent by this client.") ipoaArpClientArpInReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpInReplies.setDescription("Total number of ATMARP replies received by this\nclient.") ipoaArpClientArpOutReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpOutReplies.setDescription("Total number of ATMARP replies sent by this client.") ipoaArpClientArpInNaks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpInNaks.setDescription("Total number of negative ATMARP replies\nreceived by this client.") ipoaArpClientArpOutNaks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpOutNaks.setDescription("Total number of negative ATMARP replies sent by\nthis client.\n\nClassic IP and ARP over ATM does not require an\nATMARP client to transmit an ATMARP_NAK upon\nreceipt of an ATMARP request from another ATMARP\nclient. However, implementation experience has\nshown that this error condition is somewhat easy\nto create inadvertently by configuring one ATMARP\nclient with an ipoaArpRemoteSrvrTable entry\ncontaining an ipoaArpRemoteSrvrAtmAddr value which\nis the ATM address of another ATMARP client-only\nsystem.\n\nIf an ATMARP client supports the transmission of\nATMARP_NAKs, then it should increment\nipoaArpClientArpOutNaks each time it transmits\nan ATMARP_NAK. Otherwise, support of this\nobject is considered optional.") ipoaArpClientArpUnknownOps = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpUnknownOps.setDescription("The number of times that this client received\nan ATMARP message with an operation code for which\nit is not coded to support.") ipoaArpClientArpNoSrvrResps = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpClientArpNoSrvrResps.setDescription("The number of times this client failed to receive\na response from a ATMARP Server within the\nipoaLisTimeout value for ipoaLisRetries times.\nThis may imply that the client will re-elect a\nnew primary ATMARP Server for this LIS from the\nipoaArpRemoteSrvrTable.") ipoaArpClientRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 4, 1, 17), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaArpClientRowStatus.setDescription("This object allows entries to be created and\ndeleted from the ipoaArpClientTable.") ipoaArpSrvrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 46, 1, 5)) if mibBuilder.loadTexts: ipoaArpSrvrTable.setDescription("The ATMARP Servers running on this system.") ipoaArpSrvrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr"), (0, "IPOA-MIB", "ipoaArpSrvrAddr")) if mibBuilder.loadTexts: ipoaArpSrvrEntry.setDescription("Information about an ATMARP Server within a LIS. An\nentry in this table has two indexes: first ipAdEntAddr,\nwhich is the IP address that this system uses as a\nmember of the LIS, and then ipoaArpSrvrAddr, which is\nthe ATM address of the ATMARP Server.\n\nEntries may be created by a management application\nusing the ipoaArpSrvrRowStatus object. Entries in this\ntable may also be created by the system and not by a\nmanagement application, for example via ILMI.\n\nEntries in this table may be deleted by setting the\nipoaArpSrvrRowStatus object to 'destroy(6)'. This\nincludes entries that were added by the system and not\nby a management application.") ipoaArpSrvrAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 1), IpoaAtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaArpSrvrAddr.setDescription("The ATM address of the ATMARP Server.") ipoaArpSrvrLis = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 2), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaArpSrvrLis.setDescription("The subnet address that identifies the LIS with\nwhich this server is associated.") ipoaArpSrvrInArpInReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrInArpInReqs.setDescription("The number of InATMARP requests received by this\nATMARP Server.") ipoaArpSrvrInArpOutReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrInArpOutReqs.setDescription("The number of InATMARP requests sent by this ATMARP\nServer.") ipoaArpSrvrInArpInReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrInArpInReplies.setDescription("The number of InATMARP replies received by this\nATMARP Server.") ipoaArpSrvrInArpOutReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrInArpOutReplies.setDescription("The number of InATMARP replies sent by this ATMARP\nServer.") ipoaArpSrvrInArpInvalidInReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrInArpInvalidInReqs.setDescription("The number of invalid InATMARP requests received by\nthis ATMARP Server.") ipoaArpSrvrInArpInvalidOutReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrInArpInvalidOutReqs.setDescription("The number of times that this server did not receive\nan InATMARP reply.") ipoaArpSrvrArpInReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrArpInReqs.setDescription("Total number of ATMARP requests received by this\nATMARP Server.") ipoaArpSrvrArpOutReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrArpOutReplies.setDescription("Total number of ATMARP replies sent by this ATMARP\nServer.") ipoaArpSrvrArpOutNaks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrArpOutNaks.setDescription("Total number of negative ATMARP replies sent by this\nATMARP Server.") ipoaArpSrvrArpDupIpAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrArpDupIpAddrs.setDescription("The number of times that a duplicate IP address was\ndetected by this ATMARP Server.") ipoaArpSrvrArpUnknownOps = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpSrvrArpUnknownOps.setDescription("The number of times that this ATMARP Server received\nan ATMARP message with an operation code for which it\nis not coded to support.") ipoaArpSrvrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 5, 1, 14), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaArpSrvrRowStatus.setDescription("This object allows entries to be created and deleted\nfrom the ipoaArpSrvrTable.") ipoaArpRemoteSrvrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 46, 1, 6)) if mibBuilder.loadTexts: ipoaArpRemoteSrvrTable.setDescription("A table of non-local ATMARP Servers associated with a\nLIS. An entry in this table has three indexes: first\nthe ipoaLisSubnetAddr of the LIS for which the\ncorresponding ATMARP Server provides ATMARP services,\nthen the ipoaArpRemoteSrvrAtmAddr, which is the ATM\naddress of the remote ATMARP Server, and finally the\nifIndex of the interface on which the VC to the ATMARP\nRemote Server will be opened. An ifIndex value of 0\nshould be used when a single VC is to be shared for\nATMARP purposes by multiple interfaces.") ipoaArpRemoteSrvrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 46, 1, 6, 1)).setIndexNames((0, "IPOA-MIB", "ipoaLisSubnetAddr"), (0, "IPOA-MIB", "ipoaArpRemoteSrvrAtmAddr"), (0, "IPOA-MIB", "ipoaArpRemoteSrvrIfIndex")) if mibBuilder.loadTexts: ipoaArpRemoteSrvrEntry.setDescription("Information about one non-local ATMARP Server.") ipoaArpRemoteSrvrAtmAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 6, 1, 1), IpoaAtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaArpRemoteSrvrAtmAddr.setDescription("The ATM address of the remote ATMARP Server.") ipoaArpRemoteSrvrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 6, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaArpRemoteSrvrRowStatus.setDescription("This object allows entries to be created and deleted\nfrom the ipoaArpRemoteSrvrTable.\n\nDeleting an ipoaArpRemoteSrvrEntry (by setting this\nobject to destroy(6)) may affect ipoaArpClientTable\nentries. The object ipoaArpClientSrvrInUse in an\nipoaArpClientSrvrEntry may contain the ATM address\nof an ATMARP Remote Server whose entry in the\nipoaArpRemoteSrvrTable is being removed. In this\ncase, any corresponding ipoaArpClientSrvrInUse\nobjects should be at a minimum invalidated by\nsetting their values to that of a zero length\nOCTET STRING.\n\nThe value of ipoaArpRemoteSrvrOperStatus should be\nconsistent with that of ipoaArpRemoteSrvrRowStatus.\nFor example, successfully setting the value of\nthis object to notInService(2) after its being in\nthe up(1) state should result in\nipoaArpRemoteSrvrOperStatus being set to down(2)\nif currently up(1).") ipoaArpRemoteSrvrIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 6, 1, 3), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaArpRemoteSrvrIfIndex.setDescription("The ifIndex of the interface that the VC to the\nRemote ATMARP Server is associated with.") ipoaArpRemoteSrvrIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 6, 1, 4), IpAddress().clone("0.0.0.0")).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpRemoteSrvrIpAddr.setDescription("The IP Address of the Remote ATMARP Server. A\nvalue of 0.0.0.0 implies that this address isn't\nknown.") ipoaArpRemoteSrvrAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 6, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaArpRemoteSrvrAdminStatus.setDescription("The desired state for use of the ATMARP Server\nrepresented by an entry in this table.\nipoaArpRemoteSrvrAdminStatus values:\n\nup(1) - Attempt to activate use of the\n ATMARP Server represented by this\n entry in the ipoaArpRemoteSrvrTable.\ndown(2) - Deactivate use of this ATMARP\n Server.\n\nWhen a managed system creates an entry in this\ntable ipoaArpRemoteSrvrAdminStatus and\nipoaArpRemoteSrvrOperStatus are initialized as\ndown(2) by default.") ipoaArpRemoteSrvrOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 6, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), )).clone(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaArpRemoteSrvrOperStatus.setDescription("The current operational state for use of a Remote\nATMARP Server. An up(1) entry has a VC\nestablished to the respective Remote ATMARP\nServer:\n\nup(1) - A VC exists to Remote ATMARP Server\n whose IP Address is stored in\n ipoaArpRemoteSrvrIpAddr. This VC can\n be determined by searching the\n ipoaVcTable using\n ipoaArpRemoteSrvrIfIndex (if not 0,\n otherwise ignore ipNetToMediaIfIndex\n index) and ipoaArpRemoteSrvrIpAddr.\n An ipoaArpClientEntry should exist\n with its ipoaArpClientSrvrInUse\n object having the same value as\n ipoaArpRemoteSrvrAtmAddr.\ndown(2) - Entry exists without an active VC to\n the Remote ATMARP Server.\n\nTransition from up(1) to down(2)\nstatus may affect ipoaArpClientTable entries.\nThe object ipoaArpClientSrvrInUse in an\nipoaArpClientSrvrEntry may contain the ATM address\nof an ATMARP Remote Server whose entry in the\nipoaArpRemoteSrvrTable is being deactivated. In\nthis case, any corresponding ipoaArpClientSrvrInUse\nobjects should be at a minimum invalidated by\nsetting their values to that of a zero length\nOCTET STRING.\n\nIf ipoaArpRemoteSrvrAdminStatus is down(2) then\nipoaArpRemoteSrvrOperStatus should be down(2).\nIf ipoaArpRemoteSrvrAdminStatus is changed to\nup(1) then ipoaArpRemoteSrvrOperStatus should\nchange to up(1) if the Remote ATMARP Server\nentry can be activated.") ipoaVcTable = MibTable((1, 3, 6, 1, 2, 1, 10, 46, 1, 7)) if mibBuilder.loadTexts: ipoaVcTable.setDescription("A system that supports IP over ATM is an IP system and\ntherefore MUST support all of the appropriate tables in\nthe SNMPv2-MIB (RFC 1907), the IF-MIB (RFC 2233),\nthe IP-MIB (RFC 2011), the TCP-MIB (RFC 2012), and\nthe UDP-MIB (RFC 2013). This includes the\nipNetToMediaTable (the ARP cache) that is defined\nwithin the IP-MIB (RFC 2011). The ipoaVcTable\nkeeps a set of VCs for each entry in the ARP cache\nthat was put there by an IP over ATM system acting\nas either a host or server. The ipoaVcTable doesn't\naugment the ipNetToMediaTable (ARP Cache) since the\nthe correspondence between tables is not necessarily\none-to-one.\n\nAn ipNetToMediaPhysAddress object should contain the\ncontent as defined by the IpoaAtmAddr textual\nconvention when used to hold an IPOA-MIB ATM Address.") ipoaVcEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 46, 1, 7, 1)).setIndexNames((0, "IP-MIB", "ipNetToMediaIfIndex"), (0, "IP-MIB", "ipNetToMediaNetAddress"), (0, "IPOA-MIB", "ipoaVcVpi"), (0, "IPOA-MIB", "ipoaVcVci")) if mibBuilder.loadTexts: ipoaVcEntry.setDescription("A VC (permanent or switched) that this host or server\nhas opened with another member of a LIS. Additional\ninformation can be determined about the VC from the\nATM-MIB.\n\nEntries in this table cannot be created by management\napplications.\n\nIn an SVC environment, an entry is automatically added\nby the system as the result of ATMARP processing.\n\nIn a PVC environment, an entry is automatically added\nto this table when an entry is created in the\nipoaConfigPvcTable and the IP Address at the remote\nend of the PVC is discovered using InATMARP. An\nentry also is added to the ipNetToMediaTable.") ipoaVcVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 7, 1, 1), IpoaVpiInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaVcVpi.setDescription("The VPI value for the Virtual Circuit.") ipoaVcVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 7, 1, 2), IpoaVciInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaVcVci.setDescription("The VCI value for the Virtual Circuit.") ipoaVcType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 7, 1, 3), IpoaAtmConnKind()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaVcType.setDescription("The type of the Virtual Circuit.") ipoaVcNegotiatedEncapsType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 7, 1, 4), IpoaEncapsType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaVcNegotiatedEncapsType.setDescription("The encapsulation type used when communicating over\nthis circuit.") ipoaVcNegotiatedMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipoaVcNegotiatedMtu.setDescription("The MTU used when communicating over this circuit.") ipoaConfigPvcTable = MibTable((1, 3, 6, 1, 2, 1, 10, 46, 1, 8)) if mibBuilder.loadTexts: ipoaConfigPvcTable.setDescription("This table MUST be supported when PVCs are intended to\nbe supported in order to enable the setup of PVCs for\nuse by IP.") ipoaConfigPvcEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 46, 1, 8, 1)).setIndexNames((0, "IPOA-MIB", "ipoaConfigPvcIfIndex"), (0, "IPOA-MIB", "ipoaConfigPvcVpi"), (0, "IPOA-MIB", "ipoaConfigPvcVci")) if mibBuilder.loadTexts: ipoaConfigPvcEntry.setDescription("Defines a single PVC that exists at this host for\nuse by IP.") ipoaConfigPvcIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 8, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaConfigPvcIfIndex.setDescription("The ifIndex of the ATM Interface that this PVC\nis associated with.") ipoaConfigPvcVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 8, 1, 2), IpoaVpiInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaConfigPvcVpi.setDescription("The VPI value for the Virtual Circuit.") ipoaConfigPvcVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 8, 1, 3), IpoaVciInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipoaConfigPvcVci.setDescription("The VCI value for the Virtual Circuit.") ipoaConfigPvcDefaultMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 8, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(9180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaConfigPvcDefaultMtu.setDescription("Classical IP and ARP over ATM allows use of\nother MTU values for PVCs but considers how a\nvalue other than 9180 could be selected to be out\nof scope. ipoaConfigPvcDefaultMtu can be used to\nconfigure the MTU to be used for the PVC.\nBoth ends MUST have the same value configured.") ipoaConfigPvcRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 46, 1, 8, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipoaConfigPvcRowStatus.setDescription("This object allows rows to be created and deleted in\nthe ipoaConfigPvcTable. Creation of an entry in this\ntable should eventually result in the creation of an\nipNetToMediaEntry and a corresponding ipoaVcEntry\nafter InATMARP has determined the destination address\nof the remote system that the PVC is connected to.\nSetting this object to destroy(6) should remove the\ncorresponding ipNetToMediaTable and ipoaVcTable\nentries.") ipoaNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 46, 2)) ipoaTrapPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 46, 2, 0)) ipoaConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 46, 3)) ipoaGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 46, 3, 1)) ipoaCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 46, 3, 2)) # Augmentions # Notifications ipoaMtuExceeded = NotificationType((1, 3, 6, 1, 2, 1, 10, 46, 2, 0, 1)).setObjects(*(("IPOA-MIB", "ipoaVcNegotiatedMtu"), ) ) if mibBuilder.loadTexts: ipoaMtuExceeded.setDescription("A frame was received that exceeds the negotiated\nMTU size. The VPI and VCI of the VC for which this\ncondition was detected can be determined from the\nindex values for ipoaVcNegotiatedMtu. In addition,\nthe ifIndex and IP Address can be determined as\nwell (refer to the ipoaVcTable).") ipoaDuplicateIpAddress = NotificationType((1, 3, 6, 1, 2, 1, 10, 46, 2, 0, 2)).setObjects(*(("IP-MIB", "ipNetToMediaPhysAddress"), ("IP-MIB", "ipNetToMediaNetAddress"), ("IP-MIB", "ipNetToMediaIfIndex"), ) ) if mibBuilder.loadTexts: ipoaDuplicateIpAddress.setDescription("The ATMARP Server has detected more than one ATM end\npoint attempting to associate the same IP address with\ndifferent ATM addresses.") ipoaLisCreate = NotificationType((1, 3, 6, 1, 2, 1, 10, 46, 2, 0, 3)).setObjects(*(("IPOA-MIB", "ipoaLisSubnetAddr"), ) ) if mibBuilder.loadTexts: ipoaLisCreate.setDescription("Generation of this trap occurs when an ipoaLisEntry is\ncreated while the ipoaLisTrapEnable.0 object has the\nvalue enabled(1).") ipoaLisDelete = NotificationType((1, 3, 6, 1, 2, 1, 10, 46, 2, 0, 4)).setObjects(*(("IPOA-MIB", "ipoaLisSubnetAddr"), ) ) if mibBuilder.loadTexts: ipoaLisDelete.setDescription("Generation of this trap occurs when an ipoaLisEntry is\ndeleted while the ipoaLisTrapEnable.0 object has the\nvalue enabled(1).") # Groups ipoaGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 46, 3, 1, 1)).setObjects(*(("IPOA-MIB", "ipoaVcNegotiatedMtu"), ("IPOA-MIB", "ipoaVcNegotiatedEncapsType"), ("IPOA-MIB", "ipoaVcType"), ("IPOA-MIB", "ipoaConfigPvcDefaultMtu"), ("IPOA-MIB", "ipoaConfigPvcRowStatus"), ) ) if mibBuilder.loadTexts: ipoaGeneralGroup.setDescription("This group is mandatory for all IP over ATM entities.") ipoaClientGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 46, 3, 1, 2)).setObjects(*(("IPOA-MIB", "ipoaArpClientAtmAddr"), ("IPOA-MIB", "ipoaArpClientArpOutNaks"), ("IPOA-MIB", "ipoaArpClientInArpInvalidInReqs"), ("IPOA-MIB", "ipoaArpClientArpOutReqs"), ("IPOA-MIB", "ipoaArpClientInArpInReplies"), ("IPOA-MIB", "ipoaArpClientArpOutReplies"), ("IPOA-MIB", "ipoaArpClientArpInReqs"), ("IPOA-MIB", "ipoaArpClientInArpInReqs"), ("IPOA-MIB", "ipoaArpClientArpInReplies"), ("IPOA-MIB", "ipoaArpClientArpUnknownOps"), ("IPOA-MIB", "ipoaArpClientInArpOutReplies"), ("IPOA-MIB", "ipoaArpClientSrvrInUse"), ("IPOA-MIB", "ipoaArpClientInArpOutReqs"), ("IPOA-MIB", "ipoaArpClientArpInNaks"), ("IPOA-MIB", "ipoaArpClientInArpInvalidOutReqs"), ("IPOA-MIB", "ipoaArpClientArpNoSrvrResps"), ("IPOA-MIB", "ipoaArpClientRowStatus"), ) ) if mibBuilder.loadTexts: ipoaClientGroup.setDescription("This group is mandatory for all hosts where an IP\nover ATM client is present.") ipoaSrvrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 46, 3, 1, 3)).setObjects(*(("IPOA-MIB", "ipoaArpSrvrArpDupIpAddrs"), ("IPOA-MIB", "ipoaArpSrvrInArpInvalidOutReqs"), ("IPOA-MIB", "ipoaArpSrvrArpOutReplies"), ("IPOA-MIB", "ipoaArpSrvrLis"), ("IPOA-MIB", "ipoaArpSrvrArpUnknownOps"), ("IPOA-MIB", "ipoaArpSrvrInArpInReqs"), ("IPOA-MIB", "ipoaArpSrvrRowStatus"), ("IPOA-MIB", "ipoaArpSrvrArpInReqs"), ("IPOA-MIB", "ipoaArpSrvrInArpInvalidInReqs"), ("IPOA-MIB", "ipoaArpSrvrInArpInReplies"), ("IPOA-MIB", "ipoaArpSrvrInArpOutReqs"), ("IPOA-MIB", "ipoaArpSrvrInArpOutReplies"), ("IPOA-MIB", "ipoaArpSrvrArpOutNaks"), ) ) if mibBuilder.loadTexts: ipoaSrvrGroup.setDescription("This group is mandatory for all hosts where ATMARP\nServers are present.") ipoaBasicNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 46, 3, 1, 4)).setObjects(*(("IPOA-MIB", "ipoaMtuExceeded"), ) ) if mibBuilder.loadTexts: ipoaBasicNotificationsGroup.setDescription("The notification which an IP over ATM entity\nis required to implement.") ipoaSrvrNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 46, 3, 1, 5)).setObjects(*(("IPOA-MIB", "ipoaDuplicateIpAddress"), ) ) if mibBuilder.loadTexts: ipoaSrvrNotificationsGroup.setDescription("The notification which an IP over ATM ATMARP\nServer is required to implement.") ipoaLisNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 46, 3, 1, 6)).setObjects(*(("IPOA-MIB", "ipoaLisCreate"), ("IPOA-MIB", "ipoaLisDelete"), ) ) if mibBuilder.loadTexts: ipoaLisNotificationsGroup.setDescription("The LIS-related notifications which are required\nto be implemented by an IP over ATM ATMARP server,\nas well as by any IP over ATM client which allows\nipoaLisTrapEnable to be set to enabled(1).") ipoaLisTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 46, 3, 1, 7)).setObjects(*(("IPOA-MIB", "ipoaLisInactivityTimer"), ("IPOA-MIB", "ipoaLisQDepth"), ("IPOA-MIB", "ipoaLisDefaultPeakCellRate"), ("IPOA-MIB", "ipoaLisTrapEnable"), ("IPOA-MIB", "ipoaLisSubnetAddr"), ("IPOA-MIB", "ipoaArpRemoteSrvrOperStatus"), ("IPOA-MIB", "ipoaLisTimeout"), ("IPOA-MIB", "ipoaLisIfMappingRowStatus"), ("IPOA-MIB", "ipoaLisMinHoldingTime"), ("IPOA-MIB", "ipoaArpRemoteSrvrRowStatus"), ("IPOA-MIB", "ipoaLisDefaultMtu"), ("IPOA-MIB", "ipoaLisRowStatus"), ("IPOA-MIB", "ipoaArpRemoteSrvrIpAddr"), ("IPOA-MIB", "ipoaLisDefaultEncapsType"), ("IPOA-MIB", "ipoaArpRemoteSrvrAdminStatus"), ("IPOA-MIB", "ipoaLisRetries"), ("IPOA-MIB", "ipoaLisCacheEntryAge"), ("IPOA-MIB", "ipoaLisActiveVcs"), ("IPOA-MIB", "ipoaLisMaxCalls"), ) ) if mibBuilder.loadTexts: ipoaLisTableGroup.setDescription("This group is mandatory for all entities which\nsupport IP over ATM SVCs. Support of objects in\nthis group by IP over ATM clients which only\nsupport IP over ATM PVCs is optional.") # Compliances ipoaCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 46, 3, 2, 1)).setObjects(*(("IPOA-MIB", "ipoaClientGroup"), ("IPOA-MIB", "ipoaSrvrGroup"), ("IPOA-MIB", "ipoaGeneralGroup"), ("IPOA-MIB", "ipoaLisNotificationsGroup"), ("IPOA-MIB", "ipoaLisTableGroup"), ("IPOA-MIB", "ipoaSrvrNotificationsGroup"), ("IPOA-MIB", "ipoaBasicNotificationsGroup"), ) ) if mibBuilder.loadTexts: ipoaCompliance.setDescription("The compliance statement for agents that support the\nIPOA-MIB.") # Exports # Module identity mibBuilder.exportSymbols("IPOA-MIB", PYSNMP_MODULE_ID=ipoaMIB) # Types mibBuilder.exportSymbols("IPOA-MIB", IpoaAtmAddr=IpoaAtmAddr, IpoaAtmConnKind=IpoaAtmConnKind, IpoaEncapsType=IpoaEncapsType, IpoaVciInteger=IpoaVciInteger, IpoaVpiInteger=IpoaVpiInteger) # Objects mibBuilder.exportSymbols("IPOA-MIB", ipoaMIB=ipoaMIB, ipoaObjects=ipoaObjects, ipoaLisTrapEnable=ipoaLisTrapEnable, ipoaLisTable=ipoaLisTable, ipoaLisEntry=ipoaLisEntry, ipoaLisSubnetAddr=ipoaLisSubnetAddr, ipoaLisDefaultMtu=ipoaLisDefaultMtu, ipoaLisDefaultEncapsType=ipoaLisDefaultEncapsType, ipoaLisInactivityTimer=ipoaLisInactivityTimer, ipoaLisMinHoldingTime=ipoaLisMinHoldingTime, ipoaLisQDepth=ipoaLisQDepth, ipoaLisMaxCalls=ipoaLisMaxCalls, ipoaLisCacheEntryAge=ipoaLisCacheEntryAge, ipoaLisRetries=ipoaLisRetries, ipoaLisTimeout=ipoaLisTimeout, ipoaLisDefaultPeakCellRate=ipoaLisDefaultPeakCellRate, ipoaLisActiveVcs=ipoaLisActiveVcs, ipoaLisRowStatus=ipoaLisRowStatus, ipoaLisIfMappingTable=ipoaLisIfMappingTable, ipoaLisIfMappingEntry=ipoaLisIfMappingEntry, ipoaLisIfMappingIfIndex=ipoaLisIfMappingIfIndex, ipoaLisIfMappingRowStatus=ipoaLisIfMappingRowStatus, ipoaArpClientTable=ipoaArpClientTable, ipoaArpClientEntry=ipoaArpClientEntry, ipoaArpClientAtmAddr=ipoaArpClientAtmAddr, ipoaArpClientSrvrInUse=ipoaArpClientSrvrInUse, ipoaArpClientInArpInReqs=ipoaArpClientInArpInReqs, ipoaArpClientInArpOutReqs=ipoaArpClientInArpOutReqs, ipoaArpClientInArpInReplies=ipoaArpClientInArpInReplies, ipoaArpClientInArpOutReplies=ipoaArpClientInArpOutReplies, ipoaArpClientInArpInvalidInReqs=ipoaArpClientInArpInvalidInReqs, ipoaArpClientInArpInvalidOutReqs=ipoaArpClientInArpInvalidOutReqs, ipoaArpClientArpInReqs=ipoaArpClientArpInReqs, ipoaArpClientArpOutReqs=ipoaArpClientArpOutReqs, ipoaArpClientArpInReplies=ipoaArpClientArpInReplies, ipoaArpClientArpOutReplies=ipoaArpClientArpOutReplies, ipoaArpClientArpInNaks=ipoaArpClientArpInNaks, ipoaArpClientArpOutNaks=ipoaArpClientArpOutNaks, ipoaArpClientArpUnknownOps=ipoaArpClientArpUnknownOps, ipoaArpClientArpNoSrvrResps=ipoaArpClientArpNoSrvrResps, ipoaArpClientRowStatus=ipoaArpClientRowStatus, ipoaArpSrvrTable=ipoaArpSrvrTable, ipoaArpSrvrEntry=ipoaArpSrvrEntry, ipoaArpSrvrAddr=ipoaArpSrvrAddr, ipoaArpSrvrLis=ipoaArpSrvrLis, ipoaArpSrvrInArpInReqs=ipoaArpSrvrInArpInReqs, ipoaArpSrvrInArpOutReqs=ipoaArpSrvrInArpOutReqs, ipoaArpSrvrInArpInReplies=ipoaArpSrvrInArpInReplies, ipoaArpSrvrInArpOutReplies=ipoaArpSrvrInArpOutReplies, ipoaArpSrvrInArpInvalidInReqs=ipoaArpSrvrInArpInvalidInReqs, ipoaArpSrvrInArpInvalidOutReqs=ipoaArpSrvrInArpInvalidOutReqs, ipoaArpSrvrArpInReqs=ipoaArpSrvrArpInReqs, ipoaArpSrvrArpOutReplies=ipoaArpSrvrArpOutReplies, ipoaArpSrvrArpOutNaks=ipoaArpSrvrArpOutNaks, ipoaArpSrvrArpDupIpAddrs=ipoaArpSrvrArpDupIpAddrs, ipoaArpSrvrArpUnknownOps=ipoaArpSrvrArpUnknownOps, ipoaArpSrvrRowStatus=ipoaArpSrvrRowStatus, ipoaArpRemoteSrvrTable=ipoaArpRemoteSrvrTable, ipoaArpRemoteSrvrEntry=ipoaArpRemoteSrvrEntry, ipoaArpRemoteSrvrAtmAddr=ipoaArpRemoteSrvrAtmAddr, ipoaArpRemoteSrvrRowStatus=ipoaArpRemoteSrvrRowStatus, ipoaArpRemoteSrvrIfIndex=ipoaArpRemoteSrvrIfIndex, ipoaArpRemoteSrvrIpAddr=ipoaArpRemoteSrvrIpAddr, ipoaArpRemoteSrvrAdminStatus=ipoaArpRemoteSrvrAdminStatus, ipoaArpRemoteSrvrOperStatus=ipoaArpRemoteSrvrOperStatus, ipoaVcTable=ipoaVcTable, ipoaVcEntry=ipoaVcEntry, ipoaVcVpi=ipoaVcVpi, ipoaVcVci=ipoaVcVci, ipoaVcType=ipoaVcType, ipoaVcNegotiatedEncapsType=ipoaVcNegotiatedEncapsType, ipoaVcNegotiatedMtu=ipoaVcNegotiatedMtu, ipoaConfigPvcTable=ipoaConfigPvcTable, ipoaConfigPvcEntry=ipoaConfigPvcEntry, ipoaConfigPvcIfIndex=ipoaConfigPvcIfIndex, ipoaConfigPvcVpi=ipoaConfigPvcVpi, ipoaConfigPvcVci=ipoaConfigPvcVci, ipoaConfigPvcDefaultMtu=ipoaConfigPvcDefaultMtu, ipoaConfigPvcRowStatus=ipoaConfigPvcRowStatus, ipoaNotifications=ipoaNotifications, ipoaTrapPrefix=ipoaTrapPrefix, ipoaConformance=ipoaConformance, ipoaGroups=ipoaGroups, ipoaCompliances=ipoaCompliances) # Notifications mibBuilder.exportSymbols("IPOA-MIB", ipoaMtuExceeded=ipoaMtuExceeded, ipoaDuplicateIpAddress=ipoaDuplicateIpAddress, ipoaLisCreate=ipoaLisCreate, ipoaLisDelete=ipoaLisDelete) # Groups mibBuilder.exportSymbols("IPOA-MIB", ipoaGeneralGroup=ipoaGeneralGroup, ipoaClientGroup=ipoaClientGroup, ipoaSrvrGroup=ipoaSrvrGroup, ipoaBasicNotificationsGroup=ipoaBasicNotificationsGroup, ipoaSrvrNotificationsGroup=ipoaSrvrNotificationsGroup, ipoaLisNotificationsGroup=ipoaLisNotificationsGroup, ipoaLisTableGroup=ipoaLisTableGroup) # Compliances mibBuilder.exportSymbols("IPOA-MIB", ipoaCompliance=ipoaCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SIP-MIB.py0000644000014400001440000007650711736645137020110 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SIP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:37 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2", "transmission") ( TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TimeStamp") # Types class IfIndex(Integer32): pass class SMDSAddress(TextualConvention, OctetString): displayHint = "1x:" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 # Objects sip = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 31)) sipL3Table = MibTable((1, 3, 6, 1, 2, 1, 10, 31, 1)) if mibBuilder.loadTexts: sipL3Table.setDescription("This table contains SIP L3 parameters and\nstate variables, one entry per SIPL3 interface.") sipL3Entry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 31, 1, 1)).setIndexNames((0, "SIP-MIB", "sipL3Index")) if mibBuilder.loadTexts: sipL3Entry.setDescription("This list contains SIP L3 parameters and\nstate variables.") sipL3Index = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 1), IfIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3Index.setDescription("The value of this object identifies the SIP\nL3 interface for which this entry contains\nmanagement information. ") sipL3ReceivedIndividualDAs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3ReceivedIndividualDAs.setDescription("The total number of individually addressed SIP\nLevel 3 PDUs received from the remote system\nacross the SNI. The total includes only\nunerrored L3PDUs.") sipL3ReceivedGAs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3ReceivedGAs.setDescription("The total number of group addressed SIP Level 3\nPDUs received from the remote system across the\nSNI. The total includes only unerrored L3PDUs.") sipL3UnrecognizedIndividualDAs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3UnrecognizedIndividualDAs.setDescription("The number of SIP Level 3 PDUs received from the\nremote system with invalid or unknown individual\ndestination addresses (Destination Address\nScreening violations are not included). See SMDS\nSubscription MIB module.") sipL3UnrecognizedGAs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3UnrecognizedGAs.setDescription("The number of SIP Level 3 PDUs received from the\nremote system with invalid or unknown group\naddresses. (Destination Address Screening\nviolations are not included). See SMDS\nSubscription MIB module.") sipL3SentIndividualDAs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3SentIndividualDAs.setDescription("The number of individually addressed SIP Level 3\nPDUs that have been sent by this system across the\nSNI.") sipL3SentGAs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3SentGAs.setDescription("The number of group addressed SIP L3PDUs that\nhave been sent by this system across the SNI.") sipL3Errors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3Errors.setDescription("The total number of SIP Level 3 PDUs received\nfrom the remote system that were discovered to\nhave errors (including protocol processing and bit\nerrors but excluding addressing-related errors)\nand were discarded. Includes both group addressed\nL3PDUs and L3PDUs containing an individual\ndestination address.") sipL3InvalidSMDSAddressTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3InvalidSMDSAddressTypes.setDescription("The number of SIP Level 3 PDUs received from the\nremote system that had the Source or Destination\nAddress_Type subfields, (the four most significant\nbits of the 64 bit address field), not equal to\nthe value 1100 or 1110. Also, an error is\nconsidered to have occurred if the Address_Type\nfield for a Source Address, the four most\nsignificant bits of the 64 bits, is equal to 1110\n(a group address).") sipL3VersionSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3VersionSupport.setDescription("A value which indicates the version(s) of SIP\nthat this interface supports. The value is a sum.\nThis sum initially takes the value zero. For each\nversion, V, that this interface supports, 2 raised\nto (V - 1) is added to the sum. For example, a\nport supporting versions 1 and 2 would have a\nvalue of (2^(1-1)+2^(2-1))=3. The\nsipL3VersionSupport is effectively a bit mask with\nVersion 1 equal to the least significant bit\n(LSB).") sipL2Table = MibTable((1, 3, 6, 1, 2, 1, 10, 31, 2)) if mibBuilder.loadTexts: sipL2Table.setDescription("This table contains SIP L2PDU parameters and\nstate variables, one entry per SIP L2 interface.") sipL2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 31, 2, 1)).setIndexNames((0, "SIP-MIB", "sipL2Index")) if mibBuilder.loadTexts: sipL2Entry.setDescription("This list contains SIP L2 parameters and state\nvariables.") sipL2Index = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 1), IfIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2Index.setDescription("The value of this object identifies the SIP\ninterface for which this entry contains management\ninformation.") sipL2ReceivedCounts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2ReceivedCounts.setDescription("The number of SIP Level 2 PDUs received from the\nremote system across the SNI. The total includes\nonly unerrored L2PDUs.") sipL2SentCounts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2SentCounts.setDescription("The number of SIP Level 2 PDUs that have been\nsent by this system across the SNI.") sipL2HcsOrCRCErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2HcsOrCRCErrors.setDescription("The number of received SIP Level 2 PDUs that were\ndiscovered to have either a Header Check Sequence\nerror or a Payload CRC violation.") sipL2PayloadLengthErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2PayloadLengthErrors.setDescription("The number of received SIP Level 2 PDUs that had\nPayload Length errors that fall in the following\nspecifications:\n- SSM L2_PDU payload length field value less\n- than 28 octets or greater than 44 octets,\n\n- BOM or COM L2_PDU payload length field not\n- equal to 44 octets,\n- EOM L2_PDU payload length field value less\n- than 4 octets or greater than 44 octets.") sipL2SequenceNumberErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2SequenceNumberErrors.setDescription("The number of received SIP Level 2 PDUs that had\na sequence number within the L2PDU not equal to\nthe expected sequence number of the SMDS SS\nreceive process.") sipL2MidCurrentlyActiveErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2MidCurrentlyActiveErrors.setDescription("The number of received SIP Level 2 PDUs that are\nBOMs for which an active receive process is\nalready started.") sipL2BomOrSSMsMIDErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2BomOrSSMsMIDErrors.setDescription("The number of received SIP Level 2 PDUs that are\nSSMs with a MID not equal to zero or are BOMs with\nMIDs equal to zero.") sipL2EomsMIDErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL2EomsMIDErrors.setDescription("The number of received SIP Level 2 PDUs that are\nEOMs for which there is no active receive process\nfor the MID (i.e., the receipt of an EOM which\ndoes not correspond to a BOM) OR the EOM has a MID\nequal to zero.") sipPLCP = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 31, 3)) sipDS1PLCPTable = MibTable((1, 3, 6, 1, 2, 1, 10, 31, 3, 1)) if mibBuilder.loadTexts: sipDS1PLCPTable.setDescription("This table contains SIP DS1 PLCP parameters and\nstate variables, one entry per SIP port.") sipDS1PLCPEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 31, 3, 1, 1)).setIndexNames((0, "SIP-MIB", "sipDS1PLCPIndex")) if mibBuilder.loadTexts: sipDS1PLCPEntry.setDescription("This list contains SIP DS1 PLCP parameters and\nstate variables.") sipDS1PLCPIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 1, 1, 1), IfIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS1PLCPIndex.setDescription("The value of this object identifies the\ninterface for which this entry contains management\ninformation. ") sipDS1PLCPSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS1PLCPSEFSs.setDescription("A DS1 Severely Errored Framing Second (SEFS) is a\ncount of one-second intervals containing one or\nmore SEF events. A Severely Errored Framing (SEF)\nevent is declared when an error in the A1 octet\nand an error in the A2 octet of a framing octet\npair (i.e., errors in both framing octets), or two\nconsecutive invalid and/or nonsequential Path\nOverhead Identifier octets are detected.") sipDS1PLCPAlarmState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("noAlarm", 1), ("receivedFarEndAlarm", 2), ("incomingLOF", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS1PLCPAlarmState.setDescription("This variable indicates if there is an alarm\npresent for the DS1 PLCP. The value\nreceivedFarEndAlarm means that the DS1 PLCP has\nreceived an incoming Yellow Signal, the value\nincomingLOF means that the DS1 PLCP has declared a\nloss of frame (LOF) failure condition, and the\nvalue noAlarm means that there are no alarms\npresent. See TR-TSV-000773 for a description of\nalarm states.") sipDS1PLCPUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS1PLCPUASs.setDescription("The counter associated with the number of\nUnavailable Seconds, as defined by TR-TSV-000773,\nencountered by the PLCP.") sipDS3PLCPTable = MibTable((1, 3, 6, 1, 2, 1, 10, 31, 3, 2)) if mibBuilder.loadTexts: sipDS3PLCPTable.setDescription("This table contains SIP DS3 PLCP parameters and\nstate variables, one entry per SIP port.") sipDS3PLCPEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 31, 3, 2, 1)).setIndexNames((0, "SIP-MIB", "sipDS3PLCPIndex")) if mibBuilder.loadTexts: sipDS3PLCPEntry.setDescription("This list contains SIP DS3 PLCP parameters and\nstate variables.") sipDS3PLCPIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 2, 1, 1), IfIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS3PLCPIndex.setDescription("The value of this object identifies the\ninterface for which this entry contains management\ninformation. ") sipDS3PLCPSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS3PLCPSEFSs.setDescription("A DS3 Severely Errored Framing Second (SEFS) is a\ncount of one-second intervals containing one or\nmore SEF events. A Severely Errored Framing (SEF)\nevent is declared when an error in the A1 octet\nand an error in the A2 octet of a framing octet\npair (i.e., errors in both framing octets), or two\nconsecutive invalid and/or nonsequential Path\nOverhead Identifier octets are detected.") sipDS3PLCPAlarmState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("noAlarm", 1), ("receivedFarEndAlarm", 2), ("incomingLOF", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS3PLCPAlarmState.setDescription("This variable indicates if there is an alarm\npresent for the DS3 PLCP. The value\nreceivedFarEndAlarm means that the DS3 PLCP has\nreceived an incoming Yellow Signal, the value\nincomingLOF means that the DS3 PLCP has declared a\nloss of frame (LOF) failure condition, and the\nvalue noAlarm means that there are no alarms\npresent. See TR-TSV-000773 for a description of\nalarm states.") sipDS3PLCPUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDS3PLCPUASs.setDescription("The counter associated with the number of\nUnavailable Seconds, as defined by TR-TSV-000773,\nencountered by the PLCP.") smdsApplications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 31, 4)) ipOverSMDS = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 31, 4, 1)) ipOverSMDSTable = MibTable((1, 3, 6, 1, 2, 1, 10, 31, 4, 1, 1)) if mibBuilder.loadTexts: ipOverSMDSTable.setDescription("The table of addressing information relevant to\nthis entity's IP addresses.") ipOverSMDSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 31, 4, 1, 1, 1)).setIndexNames((0, "SIP-MIB", "ipOverSMDSIndex"), (0, "SIP-MIB", "ipOverSMDSAddress")) if mibBuilder.loadTexts: ipOverSMDSEntry.setDescription("The addressing information for one of this\nentity's IP addresses.") ipOverSMDSIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 4, 1, 1, 1, 1), IfIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOverSMDSIndex.setDescription("The value of this object identifies the\ninterface for which this entry contains management\ninformation. ") ipOverSMDSAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 4, 1, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOverSMDSAddress.setDescription("The IP address to which this entry's addressing\ninformation pertains.") ipOverSMDSHA = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 4, 1, 1, 1, 3), SMDSAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOverSMDSHA.setDescription("The SMDS Individual address of the IP station.") ipOverSMDSLISGA = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 4, 1, 1, 1, 4), SMDSAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOverSMDSLISGA.setDescription("The SMDS Group Address that has been configured\nto identify the SMDS Subscriber-Network Interfaces\n(SNIs) of all members of the Logical IP Subnetwork\n(LIS) connected to the network supporting SMDS.") ipOverSMDSARPReq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 4, 1, 1, 1, 5), SMDSAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOverSMDSARPReq.setDescription("The SMDS address (individual or group) to which\nARP Requests are to be sent.") smdsCarrierSelection = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 31, 5)) sipErrorLog = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 31, 6)) sipL3PDUErrorTable = MibTable((1, 3, 6, 1, 2, 1, 10, 31, 6, 1)) if mibBuilder.loadTexts: sipL3PDUErrorTable.setDescription("A table that contains the latest occurrence of\nthe following syntactical SIP L3PDU errors:\n\n- Destination Address Field Format Error,\n\nThe following pertains to the 60 least significant\nbits of the 64 bit address field. The 60 bits\ncontained in the address subfield can be used to\nrepresent addresses up to 15 decimal digits. Each\ndecimal digit shall be encoded into four bits\nusing Binary Coded Decimal (BCD), with the most\nsignificant digit occurring left-most. If not all\n15 digits are required, then the remainder of this\nfield shall be padded on the right with bits set\nto one. An error is considered to have occurred:\na). if the first four bits of the address\nsubfield are not BCD, OR b). if the first four\nbits of the address subfield are populated with\nthe country code value 0001, AND the 40 bits which\nfollow are not Binary Coded Decimal (BCD) encoded\nvalues of the 10 digit addresses, OR the remaining\n16 least significant bits are not populated with\n1's, OR c). if the address subfield is not\ncorrect according to another numbering plan which\nis dependent upon the carrier assigning the\nnumbers and offering SMDS.\n\n- Source Address Field Format Error,\n\nThe description of this parameter is the same as\nthe description of the Destination Address Field\nFormat Error.\n- Invalid BAsize Field Value,\n\nAn error is considered to have occurred when the\nBAsize field of an SIP L3PDU contains a value less\nthat 32, greater than 9220 octets without the\nCRC32 field present, greater than 9224 octets with\nthe CRC32 field present, or not equal to a\nmultiple of 4 octets,\n\n- Invalid Header Extension Length Field Value,\n\nAn error is considered to have occurred when the\nHeader Extension Length field value is not equal\n3.\n\n- Invalid Header Extension - Element Length,\n\nAn error is considered to have occurred when the\nHeader Extension - Element Length is greater than\n12.\n\n- Invalid Header Extension - Version Element\nPosition, Length, or Value,\n\nAn error is considered to have occurred when a\nVersion element with Length=3, Type=0, and Value=1\ndoes not appear first within the Header Extension,\nor an element Type=0 appears somewhere other than\nwithin the first three octets in the Header\nExtension.\n\n- Invalid Header Extension - Carrier Selection\nElement Position, Length, Value or Format,\n\nAn error is considered to have occurred when a\nCarrier Selection element does not appear second\nwithin the Header Extension, if the Element Type\ndoes not equal 1, the Element Length does not\nequal 4, 6, or 8, the Element Value field is not\nfour BCD encoded decimal digits used in specifying\nthe Carrier Identification Code (CIC), or the\nidentified CIC code is invalid.\n\n- Header Extension PAD Error\n\nAn error is considered to have occurred when the\nHeader Extension PAD is 9 octets in length, or if\nthe Header Extension PAD is greater than zero\noctets in length and the Header Extension PAD does\nnot follow all Header Extension elements or does\nnot begin with at least one octet of all zeros.\n\n- BEtag Mismatch Error,\n\nAn error is considered to have occurred when the\nBeginning-End Tags in the SIP L3PDU header and\ntrailer are not equal.\n\n- BAsize Field not equal to Length Field Error,\n\nAn error is considered to have occurred when the\nvalue of the BAsize Field does not equal the value\nof the Length Field.\n\n- Incorrect Length Error, and\n\nAn error is considered to have occurred when the\nthe Length field value is not equal to the portion\nof the SIP L3PDU which extends from the\nDestination Address field up to and including the\nCRC32 field (if present) or up to and including\nthe PAD field (if the CRC32 field is not present).\nAs an optional check, an error is considered to\nhave occurred when the length of a partially\nreceived SIP L3PDU exceeds the BAsize value.\n\n- MRI Timeout Error.\n\nAn error is considered to have occurred when the\nelapsed time between receipt of BOM and\ncorresponding EOM exceeds the value of the MRI\n(Message Receive Interval) for a particular\ntransport signal format.\n\nAn entry is indexed by interface number and error\ntype, and contains Source Address, Destination\nAddress and a timestamp. All these errors are\ncounted in the sipL3Errors counter. When\nsipL3PDUErrorTimeStamp is equal to zero, the\nSipL3PDUErrorEntry does not contain any valid\ninformation.") sipL3PDUErrorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 31, 6, 1, 1)).setIndexNames((0, "SIP-MIB", "sipL3PDUErrorIndex"), (0, "SIP-MIB", "sipL3PDUErrorType")) if mibBuilder.loadTexts: sipL3PDUErrorEntry.setDescription("An entry in the service disagreement table.") sipL3PDUErrorIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 6, 1, 1, 1), IfIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3PDUErrorIndex.setDescription("The value of this object identifies the\ninterface for which this entry contains management\ninformation.") sipL3PDUErrorType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 6, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(8,12,5,7,10,9,2,3,4,1,6,11,)).subtype(namedValues=NamedValues(("erroredDAFieldFormat", 1), ("baSizeFieldNotEqualToLengthField", 10), ("incorrectLength", 11), ("mriTimeout", 12), ("erroredSAFieldFormat", 2), ("invalidBAsizeFieldValue", 3), ("invalidHdrExtLength", 4), ("invalidHdrExtElementLength", 5), ("invalidHdrExtVersionElementPositionLenthOrValue", 6), ("invalidHdrExtCarSelectElementPositionLenghtValueOrFormat", 7), ("hePADError", 8), ("beTagMismatch", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3PDUErrorType.setDescription("The type of error.") sipL3PDUErrorSA = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 6, 1, 1, 3), SMDSAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3PDUErrorSA.setDescription("A rejected SMDS source address.") sipL3PDUErrorDA = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 6, 1, 1, 4), SMDSAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3PDUErrorDA.setDescription("A rejected SMDS destination address.") sipL3PDUErrorTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 31, 6, 1, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipL3PDUErrorTimeStamp.setDescription("The timestamp for the service disagreement. The\ntimestamp contains the value of sysUpTime at the\nlatest occurrence of this type of service\ndisagreement. See textual description under\nsipL3PDUErrorTable for boundary conditions.") sipMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 36)).setRevisions(("1994-03-31 18:18",)) if mibBuilder.loadTexts: sipMIB.setOrganization("IETF Interfaces Working Group") if mibBuilder.loadTexts: sipMIB.setContactInfo(" Tracy Brown\nPostal: Bell Communications Research\n 331 Newman Springs Road\n P.O. Box 7020\n Red Bank, NJ 07701-7020\n US\n\n Tel: +1 908 758-2107\n Fax: +1 908 758-4177\nE-mail: tacox@mail.bellcore.com\n\n Kaj Tesink\nPostal: Bell Communications Research\n 331 Newman Springs Road\n P.O. Box 7020\n Red Bank, NJ 07701-7020\n US\n\n Tel: +1 908 758 5254\n Fax: +1 908 758 4177\nE-mail: kaj@cc.bellcore.com.") if mibBuilder.loadTexts: sipMIB.setDescription("The MIB module to describe\nSMDS interfaces objects.") sipMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 36, 1)) sipDxiTable = MibTable((1, 3, 6, 1, 2, 1, 36, 1, 1)) if mibBuilder.loadTexts: sipDxiTable.setDescription("The DXI table.") sipDxiEntry = MibTableRow((1, 3, 6, 1, 2, 1, 36, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sipDxiEntry.setDescription("An entry in the DXI table.") sipDxiCrc = MibTableColumn((1, 3, 6, 1, 2, 1, 36, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("crc16", 1), ("crc32", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDxiCrc.setDescription("The value of this object indicates the type\nof Frame Checksum used by DXI. Current\nchoices include CCITT CRC16 or CRC32.") sipDxiOutDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 36, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDxiOutDiscards.setDescription("The number of outbound frames discarded\nbecause of congestion.") sipDxiInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 36, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDxiInErrors.setDescription("The number of inbound frames discarded\nbecause of errors such as frame checksum\n(CRC) violations,\nnon-integral number of octets, address\nand control field violations, and frame\nsize errors.") sipDxiInAborts = MibTableColumn((1, 3, 6, 1, 2, 1, 36, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDxiInAborts.setDescription("The number of inbound frames discarded\nbecause of an abort bit sequence (1111111)\nreceived before closing flag.") sipDxiInTestFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 36, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDxiInTestFrames.setDescription("The number of unerrored,\ninbound Test frames received\n(generally as part of Heart\nBeat Poll procedure).") sipDxiOutTestFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 36, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDxiOutTestFrames.setDescription("The number of unerrored,\noutbound Test frames sent\n(generally as part of Heart\nBeat Poll procedure).") sipDxiHbpNoAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 36, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipDxiHbpNoAcks.setDescription("The number of Heart Beat\nPoll (HBP) No Ack timeouts.") smdsConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 36, 2)) smdsGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 36, 2, 1)) smdsCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 36, 2, 2)) # Augmentions # Groups sipLevel3Stuff = ObjectGroup((1, 3, 6, 1, 2, 1, 36, 2, 1, 1)).setObjects(*(("SIP-MIB", "sipL3PDUErrorDA"), ("SIP-MIB", "sipL3PDUErrorSA"), ("SIP-MIB", "sipL3PDUErrorIndex"), ("SIP-MIB", "sipL3PDUErrorTimeStamp"), ("SIP-MIB", "sipL3Index"), ("SIP-MIB", "sipL3PDUErrorType"), ("SIP-MIB", "sipL3VersionSupport"), ) ) if mibBuilder.loadTexts: sipLevel3Stuff.setDescription("A collection of objects providing information\napplicable to all SMDS interfaces.") sipLevel2Stuff = ObjectGroup((1, 3, 6, 1, 2, 1, 36, 2, 1, 2)).setObjects(*(("SIP-MIB", "sipL2Index"), ("SIP-MIB", "sipL2EomsMIDErrors"), ("SIP-MIB", "sipL2MidCurrentlyActiveErrors"), ("SIP-MIB", "sipL2BomOrSSMsMIDErrors"), ("SIP-MIB", "sipL2SequenceNumberErrors"), ("SIP-MIB", "sipL2PayloadLengthErrors"), ("SIP-MIB", "sipL2HcsOrCRCErrors"), ) ) if mibBuilder.loadTexts: sipLevel2Stuff.setDescription("A collection of objects providing information\nspecific to interfaces using the SIP Level 2.") sipDS1PLCPStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 36, 2, 1, 3)).setObjects(*(("SIP-MIB", "sipDS1PLCPSEFSs"), ("SIP-MIB", "sipDS1PLCPAlarmState"), ("SIP-MIB", "sipDS1PLCPIndex"), ("SIP-MIB", "sipDS1PLCPUASs"), ) ) if mibBuilder.loadTexts: sipDS1PLCPStuff.setDescription("A collection of objects providing information\nspecific to interfaces using the DS1 PLCP.") sipDS3PLCPStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 36, 2, 1, 4)).setObjects(*(("SIP-MIB", "sipDS3PLCPAlarmState"), ("SIP-MIB", "sipDS3PLCPSEFSs"), ("SIP-MIB", "sipDS3PLCPUASs"), ("SIP-MIB", "sipDS3PLCPIndex"), ) ) if mibBuilder.loadTexts: sipDS3PLCPStuff.setDescription("A collection of objects providing information\nspecific to interfaces using the DS3 PLCP.") sipIPApplicationsStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 36, 2, 1, 5)).setObjects(*(("SIP-MIB", "ipOverSMDSIndex"), ("SIP-MIB", "ipOverSMDSLISGA"), ("SIP-MIB", "ipOverSMDSAddress"), ("SIP-MIB", "ipOverSMDSARPReq"), ("SIP-MIB", "ipOverSMDSHA"), ) ) if mibBuilder.loadTexts: sipIPApplicationsStuff.setDescription("A collection of objects providing information\nfor running IP over SMDS.") sipDxiStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 36, 2, 1, 6)).setObjects(*(("SIP-MIB", "sipDxiInAborts"), ("SIP-MIB", "sipDxiHbpNoAcks"), ("SIP-MIB", "sipDxiOutDiscards"), ("SIP-MIB", "sipDxiCrc"), ("SIP-MIB", "sipDxiOutTestFrames"), ("SIP-MIB", "sipDxiInTestFrames"), ("SIP-MIB", "sipDxiInErrors"), ) ) if mibBuilder.loadTexts: sipDxiStuff.setDescription("A collection of objects providing information\nspecific to interfaces using the DXI protocol.") # Compliances smdsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 36, 2, 2, 1)).setObjects(*(("SIP-MIB", "sipIPApplicationsStuff"), ("SIP-MIB", "sipDS3PLCPStuff"), ("SIP-MIB", "sipDS1PLCPStuff"), ("SIP-MIB", "sipLevel3Stuff"), ("SIP-MIB", "sipDxiStuff"), ("SIP-MIB", "sipLevel2Stuff"), ) ) if mibBuilder.loadTexts: smdsCompliance.setDescription("The compliance statement for SMDS interfaces.") # Exports # Module identity mibBuilder.exportSymbols("SIP-MIB", PYSNMP_MODULE_ID=sipMIB) # Types mibBuilder.exportSymbols("SIP-MIB", IfIndex=IfIndex, SMDSAddress=SMDSAddress) # Objects mibBuilder.exportSymbols("SIP-MIB", sip=sip, sipL3Table=sipL3Table, sipL3Entry=sipL3Entry, sipL3Index=sipL3Index, sipL3ReceivedIndividualDAs=sipL3ReceivedIndividualDAs, sipL3ReceivedGAs=sipL3ReceivedGAs, sipL3UnrecognizedIndividualDAs=sipL3UnrecognizedIndividualDAs, sipL3UnrecognizedGAs=sipL3UnrecognizedGAs, sipL3SentIndividualDAs=sipL3SentIndividualDAs, sipL3SentGAs=sipL3SentGAs, sipL3Errors=sipL3Errors, sipL3InvalidSMDSAddressTypes=sipL3InvalidSMDSAddressTypes, sipL3VersionSupport=sipL3VersionSupport, sipL2Table=sipL2Table, sipL2Entry=sipL2Entry, sipL2Index=sipL2Index, sipL2ReceivedCounts=sipL2ReceivedCounts, sipL2SentCounts=sipL2SentCounts, sipL2HcsOrCRCErrors=sipL2HcsOrCRCErrors, sipL2PayloadLengthErrors=sipL2PayloadLengthErrors, sipL2SequenceNumberErrors=sipL2SequenceNumberErrors, sipL2MidCurrentlyActiveErrors=sipL2MidCurrentlyActiveErrors, sipL2BomOrSSMsMIDErrors=sipL2BomOrSSMsMIDErrors, sipL2EomsMIDErrors=sipL2EomsMIDErrors, sipPLCP=sipPLCP, sipDS1PLCPTable=sipDS1PLCPTable, sipDS1PLCPEntry=sipDS1PLCPEntry, sipDS1PLCPIndex=sipDS1PLCPIndex, sipDS1PLCPSEFSs=sipDS1PLCPSEFSs, sipDS1PLCPAlarmState=sipDS1PLCPAlarmState, sipDS1PLCPUASs=sipDS1PLCPUASs, sipDS3PLCPTable=sipDS3PLCPTable, sipDS3PLCPEntry=sipDS3PLCPEntry, sipDS3PLCPIndex=sipDS3PLCPIndex, sipDS3PLCPSEFSs=sipDS3PLCPSEFSs, sipDS3PLCPAlarmState=sipDS3PLCPAlarmState, sipDS3PLCPUASs=sipDS3PLCPUASs, smdsApplications=smdsApplications, ipOverSMDS=ipOverSMDS, ipOverSMDSTable=ipOverSMDSTable, ipOverSMDSEntry=ipOverSMDSEntry, ipOverSMDSIndex=ipOverSMDSIndex, ipOverSMDSAddress=ipOverSMDSAddress, ipOverSMDSHA=ipOverSMDSHA, ipOverSMDSLISGA=ipOverSMDSLISGA, ipOverSMDSARPReq=ipOverSMDSARPReq, smdsCarrierSelection=smdsCarrierSelection, sipErrorLog=sipErrorLog, sipL3PDUErrorTable=sipL3PDUErrorTable, sipL3PDUErrorEntry=sipL3PDUErrorEntry, sipL3PDUErrorIndex=sipL3PDUErrorIndex, sipL3PDUErrorType=sipL3PDUErrorType, sipL3PDUErrorSA=sipL3PDUErrorSA, sipL3PDUErrorDA=sipL3PDUErrorDA, sipL3PDUErrorTimeStamp=sipL3PDUErrorTimeStamp, sipMIB=sipMIB, sipMIBObjects=sipMIBObjects, sipDxiTable=sipDxiTable, sipDxiEntry=sipDxiEntry, sipDxiCrc=sipDxiCrc, sipDxiOutDiscards=sipDxiOutDiscards, sipDxiInErrors=sipDxiInErrors, sipDxiInAborts=sipDxiInAborts, sipDxiInTestFrames=sipDxiInTestFrames, sipDxiOutTestFrames=sipDxiOutTestFrames, sipDxiHbpNoAcks=sipDxiHbpNoAcks, smdsConformance=smdsConformance, smdsGroups=smdsGroups, smdsCompliances=smdsCompliances) # Groups mibBuilder.exportSymbols("SIP-MIB", sipLevel3Stuff=sipLevel3Stuff, sipLevel2Stuff=sipLevel2Stuff, sipDS1PLCPStuff=sipDS1PLCPStuff, sipDS3PLCPStuff=sipDS3PLCPStuff, sipIPApplicationsStuff=sipIPApplicationsStuff, sipDxiStuff=sipDxiStuff) # Compliances mibBuilder.exportSymbols("SIP-MIB", smdsCompliance=smdsCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DIFFSERV-DSCP-TC.py0000644000014400001440000000462411736645135021300 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DIFFSERV-DSCP-TC # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class Dscp(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,63) class DscpOrAny(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(-1,63) # Objects diffServDSCPTC = ModuleIdentity((1, 3, 6, 1, 2, 1, 96)).setRevisions(("2002-05-09 00:00",)) if mibBuilder.loadTexts: diffServDSCPTC.setOrganization("IETF Differentiated Services WG") if mibBuilder.loadTexts: diffServDSCPTC.setContactInfo(" Fred Baker\nCisco Systems\n1121 Via Del Rey\nSanta Barbara, CA 93117, USA\nE-mail: fred@cisco.com\n\nKwok Ho Chan\nNortel Networks\n600 Technology Park Drive\nBillerica, MA 01821, USA\nE-mail: khchan@nortelnetworks.com\n\nAndrew Smith\nHarbour Networks\nJiuling Building\n21 North Xisanhuan Ave.\nBeijing, 100089, PRC\nE-mail: ah_smith@acm.org\n\n Differentiated Services Working Group:\n diffserv@ietf.org") if mibBuilder.loadTexts: diffServDSCPTC.setDescription("The Textual Conventions defined in this module should be used\nwhenever a Differentiated Services Code Point is used in a MIB.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("DIFFSERV-DSCP-TC", PYSNMP_MODULE_ID=diffServDSCPTC) # Types mibBuilder.exportSymbols("DIFFSERV-DSCP-TC", Dscp=Dscp, DscpOrAny=DscpOrAny) # Objects mibBuilder.exportSymbols("DIFFSERV-DSCP-TC", diffServDSCPTC=diffServDSCPTC) pysnmp-mibs-0.1.3/pysnmp_mibs/TCP-ESTATS-MIB.py0000644000014400001440000025741211736645141021073 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TCP-ESTATS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ZeroBasedCounter64, ) = mibBuilder.importSymbols("HCNUM-TC", "ZeroBasedCounter64") ( ZeroBasedCounter32, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TextualConvention", "TimeStamp", "TruthValue") ( tcpConnectionEntry, tcpListenerEntry, ) = mibBuilder.importSymbols("TCP-MIB", "tcpConnectionEntry", "tcpListenerEntry") # Types class TcpEStatsNegotiated(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,3,2,) namedValues = NamedValues(("enabled", 1), ("selfDisabled", 2), ("peerDisabled", 3), ) # Objects tcpEStatsMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 156)).setRevisions(("2007-05-18 00:00",)) if mibBuilder.loadTexts: tcpEStatsMIB.setOrganization("IETF TSV Working Group") if mibBuilder.loadTexts: tcpEStatsMIB.setContactInfo("Matt Mathis\nJohn Heffner\nWeb100 Project\nPittsburgh Supercomputing Center\n300 S. Craig St.\nPittsburgh, PA 15213\nEmail: mathis@psc.edu, jheffner@psc.edu\n\nRajiv Raghunarayan\nCisco Systems Inc.\nSan Jose, CA 95134\nPhone: 408 853 9612\nEmail: raraghun@cisco.com\n\nJon Saperia\n84 Kettell Plain Road\nStow, MA 01775\nPhone: 617-201-2655\nEmail: saperia@jdscons.com ") if mibBuilder.loadTexts: tcpEStatsMIB.setDescription("Documentation of TCP Extended Performance Instrumentation\nvariables from the Web100 project. [Web100]\n\nAll of the objects in this MIB MUST have the same\npersistence properties as the underlying TCP implementation.\nOn a reboot, all zero-based counters MUST be cleared, all\ndynamically created table rows MUST be deleted, and all\nread-write objects MUST be restored to their default values.\n\nIt is assumed that all TCP implementation have some\ninitialization code (if nothing else to set IP addresses)\nthat has the opportunity to adjust tcpEStatsConnTableLatency\nand other read-write scalars controlling the creation of the\nvarious tables, before establishing the first TCP\nconnection. Implementations MAY also choose to make these\ncontrol scalars persist across reboots.\n\nCopyright (C) The IETF Trust (2007). This version\nof this MIB module is a part of RFC 4898; see the RFC\nitself for full legal notices.") tcpEStatsNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 0)) tcpEStatsMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 1)) tcpEStats = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 1, 1)) tcpEStatsListenerTable = MibTable((1, 3, 6, 1, 2, 1, 156, 1, 1, 1)) if mibBuilder.loadTexts: tcpEStatsListenerTable.setDescription("This table contains information about TCP Listeners,\nin addition to the information maintained by the\ntcpListenerTable RFC 4022.") tcpEStatsListenerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1)) if mibBuilder.loadTexts: tcpEStatsListenerEntry.setDescription("Each entry in the table contains information about\na specific TCP Listener.") tcpEStatsListenerStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerStartTime.setDescription("The value of sysUpTime at the time this listener was\nestablished. If the current state was entered prior to\nthe last re-initialization of the local network management\nsubsystem, then this object contains a zero value.") tcpEStatsListenerSynRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerSynRcvd.setDescription("The number of SYNs which have been received for this\nlistener. The total number of failed connections for\nall reasons can be estimated to be tcpEStatsListenerSynRcvd\nminus tcpEStatsListenerAccepted and\ntcpEStatsListenerCurBacklog.") tcpEStatsListenerInitial = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerInitial.setDescription("The total number of connections for which the Listener\nhas allocated initial state and placed the\nconnection in the backlog. This may happen in the\nSYN-RCVD or ESTABLISHED states, depending on the\nimplementation.") tcpEStatsListenerEstablished = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerEstablished.setDescription("The number of connections that have been established to\nthis endpoint (e.g., the number of first ACKs that have\nbeen received for this listener).") tcpEStatsListenerAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerAccepted.setDescription("The total number of connections for which the Listener\nhas successfully issued an accept, removing the connection\nfrom the backlog.") tcpEStatsListenerExceedBacklog = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 6), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerExceedBacklog.setDescription("The total number of connections dropped from the\nbacklog by this listener due to all reasons. This\nincludes all connections that are allocated initial\nresources, but are not accepted for some reason.") tcpEStatsListenerHCSynRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 7), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerHCSynRcvd.setDescription("The number of SYNs that have been received for this\nlistener on systems that can process (or reject) more\nthan 1 million connections per second. See\ntcpEStatsListenerSynRcvd.") tcpEStatsListenerHCInitial = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 8), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerHCInitial.setDescription("The total number of connections for which the Listener\nhas allocated initial state and placed the connection\nin the backlog on systems that can process (or reject)\nmore than 1 million connections per second. See\ntcpEStatsListenerInitial.") tcpEStatsListenerHCEstablished = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 9), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerHCEstablished.setDescription("The number of connections that have been established to\nthis endpoint on systems that can process (or reject) more\nthan 1 million connections per second. See\ntcpEStatsListenerEstablished.") tcpEStatsListenerHCAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 10), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerHCAccepted.setDescription("The total number of connections for which the Listener\nhas successfully issued an accept, removing the connection\nfrom the backlog on systems that can process (or reject)\nmore than 1 million connections per second. See\ntcpEStatsListenerAccepted.") tcpEStatsListenerHCExceedBacklog = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 11), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerHCExceedBacklog.setDescription("The total number of connections dropped from the\nbacklog by this listener due to all reasons on\nsystems that can process (or reject) more than\n1 million connections per second. See\ntcpEStatsListenerExceedBacklog.") tcpEStatsListenerCurConns = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerCurConns.setDescription("The current number of connections in the ESTABLISHED\nstate, which have also been accepted. It excludes\nconnections that have been established but not accepted\nbecause they are still subject to being discarded to\nshed load without explicit action by either endpoint.") tcpEStatsListenerMaxBacklog = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerMaxBacklog.setDescription("The maximum number of connections allowed in the\nbacklog at one time.") tcpEStatsListenerCurBacklog = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerCurBacklog.setDescription("The current number of connections that are in the backlog.\nThis gauge includes connections in ESTABLISHED or\nSYN-RECEIVED states for which the Listener has not yet\nissued an accept.\n\nIf this listener is using some technique to implicitly\nrepresent the SYN-RECEIVED states (e.g., by\ncryptographically encoding the state information in the\ninitial sequence number, ISS), it MAY elect to exclude\nconnections in the SYN-RECEIVED state from the backlog.") tcpEStatsListenerCurEstabBacklog = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 1, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerCurEstabBacklog.setDescription("The current number of connections in the backlog that are\nin the ESTABLISHED state, but for which the Listener has\nnot yet issued an accept.") tcpEStatsConnectIdTable = MibTable((1, 3, 6, 1, 2, 1, 156, 1, 1, 2)) if mibBuilder.loadTexts: tcpEStatsConnectIdTable.setDescription("This table maps information that uniquely identifies\neach active TCP connection to the connection ID used by\n\n\n\nother tables in this MIB Module. It is an extension of\ntcpConnectionTable in RFC 4022.\n\nEntries are retained in this table for the number of\nseconds indicated by the tcpEStatsConnTableLatency\nobject, after the TCP connection first enters the closed\nstate.") tcpEStatsConnectIdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 156, 1, 1, 2, 1)) if mibBuilder.loadTexts: tcpEStatsConnectIdEntry.setDescription("Each entry in this table maps a TCP connection\n4-tuple to a connection index.") tcpEStatsConnectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsConnectIndex.setDescription("A unique integer value assigned to each TCP Connection\nentry.\n\nThe RECOMMENDED algorithm is to begin at 1 and increase to\nsome implementation-specific maximum value and then start\nagain at 1 skipping values already in use.") tcpEStatsPerfTable = MibTable((1, 3, 6, 1, 2, 1, 156, 1, 1, 3)) if mibBuilder.loadTexts: tcpEStatsPerfTable.setDescription("This table contains objects that are useful for\n\n\n\nmeasuring TCP performance and first line problem\ndiagnosis. Most objects in this table directly expose\nsome TCP state variable or are easily implemented as\nsimple functions (e.g., the maximum value) of TCP\nstate variables.\n\nEntries are retained in this table for the number of\nseconds indicated by the tcpEStatsConnTableLatency\nobject, after the TCP connection first enters the closed\nstate.") tcpEStatsPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1)).setIndexNames((0, "TCP-ESTATS-MIB", "tcpEStatsConnectIndex")) if mibBuilder.loadTexts: tcpEStatsPerfEntry.setDescription("Each entry in this table has information about the\ncharacteristics of each active and recently closed TCP\nconnection.") tcpEStatsPerfSegsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSegsOut.setDescription("The total number of segments sent.") tcpEStatsPerfDataSegsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfDataSegsOut.setDescription("The number of segments sent containing a positive length\ndata segment.") tcpEStatsPerfDataOctetsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfDataOctetsOut.setDescription("The number of octets of data contained in transmitted\nsegments, including retransmitted data. Note that this does\nnot include TCP headers.") tcpEStatsPerfHCDataOctetsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfHCDataOctetsOut.setDescription("The number of octets of data contained in transmitted\nsegments, including retransmitted data, on systems that can\ntransmit more than 10 million bits per second. Note that\nthis does not include TCP headers.") tcpEStatsPerfSegsRetrans = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSegsRetrans.setDescription("The number of segments transmitted containing at least some\nretransmitted data.") tcpEStatsPerfOctetsRetrans = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 6), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfOctetsRetrans.setDescription("The number of octets retransmitted.") tcpEStatsPerfSegsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSegsIn.setDescription("The total number of segments received.") tcpEStatsPerfDataSegsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 8), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfDataSegsIn.setDescription("The number of segments received containing a positive\n\n\n\nlength data segment.") tcpEStatsPerfDataOctetsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 9), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfDataOctetsIn.setDescription("The number of octets contained in received data segments,\nincluding retransmitted data. Note that this does not\ninclude TCP headers.") tcpEStatsPerfHCDataOctetsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 10), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfHCDataOctetsIn.setDescription("The number of octets contained in received data segments,\nincluding retransmitted data, on systems that can receive\nmore than 10 million bits per second. Note that this does\nnot include TCP headers.") tcpEStatsPerfElapsedSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 11), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfElapsedSecs.setDescription("The seconds part of the time elapsed between\ntcpEStatsPerfStartTimeStamp and the most recent protocol\nevent (segment sent or received).") tcpEStatsPerfElapsedMicroSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 12), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfElapsedMicroSecs.setDescription("The micro-second part of time elapsed between\ntcpEStatsPerfStartTimeStamp to the most recent protocol\nevent (segment sent or received). This may be updated in\nwhatever time granularity is the system supports.") tcpEStatsPerfStartTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 13), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfStartTimeStamp.setDescription("Time at which this row was created and all\nZeroBasedCounters in the row were initialized to zero.") tcpEStatsPerfCurMSS = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfCurMSS.setDescription("The current maximum segment size (MSS), in octets.") tcpEStatsPerfPipeSize = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfPipeSize.setDescription("The TCP senders current estimate of the number of\nunacknowledged data octets in the network.\n\nWhile not in recovery (e.g., while the receiver is not\nreporting missing data to the sender), this is precisely the\nsame as 'Flight size' as defined in RFC 2581, which can be\ncomputed as SND.NXT minus SND.UNA. [RFC793]\n\nDuring recovery, the TCP sender has incomplete information\nabout the state of the network (e.g., which segments are\nlost vs reordered, especially if the return path is also\ndropping TCP acknowledgments). Current TCP standards do not\nmandate any specific algorithm for estimating the number of\nunacknowledged data octets in the network.\n\nRFC 3517 describes a conservative algorithm to use SACK\n\n\n\ninformation to estimate the number of unacknowledged data\noctets in the network. tcpEStatsPerfPipeSize object SHOULD\nbe the same as 'pipe' as defined in RFC 3517 if it is\nimplemented. (Note that while not in recovery the pipe\nalgorithm yields the same values as flight size).\n\nIf RFC 3517 is not implemented, the data octets in flight\nSHOULD be estimated as SND.NXT minus SND.UNA adjusted by\nsome measure of the data that has left the network and\nretransmitted data. For example, with Reno or NewReno style\nTCP, the number of duplicate acknowledgment is used to\ncount the number of segments that have left the network.\nThat is,\nPipeSize=SND.NXT-SND.UNA+(retransmits-dupacks)*CurMSS") tcpEStatsPerfMaxPipeSize = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfMaxPipeSize.setDescription("The maximum value of tcpEStatsPerfPipeSize, for this\nconnection.") tcpEStatsPerfSmoothedRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSmoothedRTT.setDescription("The smoothed round trip time used in calculation of the\nRTO. See SRTT in [RFC2988].") tcpEStatsPerfCurRTO = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfCurRTO.setDescription("The current value of the retransmit timer RTO.") tcpEStatsPerfCongSignals = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 19), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfCongSignals.setDescription("The number of multiplicative downward congestion window\nadjustments due to all forms of congestion signals,\nincluding Fast Retransmit, Explicit Congestion Notification\n(ECN), and timeouts. This object summarizes all events that\ninvoke the MD portion of Additive Increase Multiplicative\nDecrease (AIMD) congestion control, and as such is the best\nindicator of how a cwnd is being affected by congestion.\n\nNote that retransmission timeouts multiplicatively reduce\nthe window implicitly by setting ssthresh, and SHOULD be\nincluded in tcpEStatsPerfCongSignals. In order to minimize\nspurious congestion indications due to out-of-order\nsegments, tcpEStatsPerfCongSignals SHOULD be incremented in\nassociation with the Fast Retransmit algorithm.") tcpEStatsPerfCurCwnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 20), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfCurCwnd.setDescription("The current congestion window, in octets.") tcpEStatsPerfCurSsthresh = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfCurSsthresh.setDescription("The current slow start threshold in octets.") tcpEStatsPerfTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 22), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfTimeouts.setDescription("The number of times the retransmit timeout has expired when\nthe RTO backoff multiplier is equal to one.") tcpEStatsPerfCurRwinSent = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 23), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfCurRwinSent.setDescription("The most recent window advertisement sent, in octets.") tcpEStatsPerfMaxRwinSent = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 24), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfMaxRwinSent.setDescription("The maximum window advertisement sent, in octets.") tcpEStatsPerfZeroRwinSent = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 25), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfZeroRwinSent.setDescription("The number of acknowledgments sent announcing a zero\n\n\n\nreceive window, when the previously announced window was\nnot zero.") tcpEStatsPerfCurRwinRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 26), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfCurRwinRcvd.setDescription("The most recent window advertisement received, in octets.") tcpEStatsPerfMaxRwinRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 27), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfMaxRwinRcvd.setDescription("The maximum window advertisement received, in octets.") tcpEStatsPerfZeroRwinRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 28), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfZeroRwinRcvd.setDescription("The number of acknowledgments received announcing a zero\nreceive window, when the previously announced window was\nnot zero.") tcpEStatsPerfSndLimTransRwin = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 31), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSndLimTransRwin.setDescription("The number of transitions into the 'Receiver Limited' state\nfrom either the 'Congestion Limited' or 'Sender Limited'\nstates. This state is entered whenever TCP transmission\nstops because the sender has filled the announced receiver\nwindow, i.e., when SND.NXT has advanced to SND.UNA +\nSND.WND - 1 as described in RFC 793.") tcpEStatsPerfSndLimTransCwnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 32), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSndLimTransCwnd.setDescription("The number of transitions into the 'Congestion Limited'\nstate from either the 'Receiver Limited' or 'Sender\nLimited' states. This state is entered whenever TCP\ntransmission stops because the sender has reached some\nlimit defined by congestion control (e.g., cwnd) or other\nalgorithms (retransmission timeouts) designed to control\nnetwork traffic. See the definition of 'CONGESTION WINDOW'\n\n\n\nin RFC 2581.") tcpEStatsPerfSndLimTransSnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 33), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSndLimTransSnd.setDescription("The number of transitions into the 'Sender Limited' state\nfrom either the 'Receiver Limited' or 'Congestion Limited'\nstates. This state is entered whenever TCP transmission\nstops due to some sender limit such as running out of\napplication data or other resources and the Karn algorithm.\nWhen TCP stops sending data for any reason, which cannot be\nclassified as Receiver Limited or Congestion Limited, it\nMUST be treated as Sender Limited.") tcpEStatsPerfSndLimTimeRwin = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 34), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSndLimTimeRwin.setDescription("The cumulative time spent in the 'Receiver Limited' state.\nSee tcpEStatsPerfSndLimTransRwin.") tcpEStatsPerfSndLimTimeCwnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 35), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSndLimTimeCwnd.setDescription("The cumulative time spent in the 'Congestion Limited'\nstate. See tcpEStatsPerfSndLimTransCwnd. When there is a\nretransmission timeout, it SHOULD be counted in\ntcpEStatsPerfSndLimTimeCwnd (and not the cumulative time\nfor some other state.)") tcpEStatsPerfSndLimTimeSnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 3, 1, 36), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPerfSndLimTimeSnd.setDescription("The cumulative time spent in the 'Sender Limited' state.\nSee tcpEStatsPerfSndLimTransSnd.") tcpEStatsPathTable = MibTable((1, 3, 6, 1, 2, 1, 156, 1, 1, 4)) if mibBuilder.loadTexts: tcpEStatsPathTable.setDescription("This table contains objects that can be used to infer\ndetailed behavior of the Internet path, such as the\nextent that there is reordering, ECN bits, and if\nRTT fluctuations are correlated to losses.\n\nEntries are retained in this table for the number of\nseconds indicated by the tcpEStatsConnTableLatency\nobject, after the TCP connection first enters the closed\nstate.") tcpEStatsPathEntry = MibTableRow((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1)).setIndexNames((0, "TCP-ESTATS-MIB", "tcpEStatsConnectIndex")) if mibBuilder.loadTexts: tcpEStatsPathEntry.setDescription("Each entry in this table has information about the\ncharacteristics of each active and recently closed TCP\nconnection.") tcpEStatsPathRetranThresh = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathRetranThresh.setDescription("The number of duplicate acknowledgments required to trigger\nFast Retransmit. Note that although this is constant in\ntraditional Reno TCP implementations, it is adaptive in\nmany newer TCPs.") tcpEStatsPathNonRecovDAEpisodes = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathNonRecovDAEpisodes.setDescription("The number of duplicate acknowledgment episodes that did\nnot trigger a Fast Retransmit because ACK advanced prior to\nthe number of duplicate acknowledgments reaching\nRetranThresh.\n\n\n\n\nIn many implementations this is the number of times the\n'dupacks' counter is set to zero when it is non-zero but\nless than RetranThresh.\n\nNote that the change in tcpEStatsPathNonRecovDAEpisodes\ndivided by the change in tcpEStatsPerfDataSegsOut is an\nestimate of the frequency of data reordering on the forward\npath over some interval.") tcpEStatsPathSumOctetsReordered = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathSumOctetsReordered.setDescription("The sum of the amounts SND.UNA advances on the\nacknowledgment which ends a dup-ack episode without a\nretransmission.\n\nNote the change in tcpEStatsPathSumOctetsReordered divided\nby the change in tcpEStatsPathNonRecovDAEpisodes is an\nestimates of the average reordering distance, over some\ninterval.") tcpEStatsPathNonRecovDA = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathNonRecovDA.setDescription("Duplicate acks (or SACKS) that did not trigger a Fast\nRetransmit because ACK advanced prior to the number of\nduplicate acknowledgments reaching RetranThresh.\n\nIn many implementations, this is the sum of the 'dupacks'\ncounter, just before it is set to zero because ACK advanced\nwithout a Fast Retransmit.\n\nNote that the change in tcpEStatsPathNonRecovDA divided by\nthe change in tcpEStatsPathNonRecovDAEpisodes is an\nestimate of the average reordering distance in segments\nover some interval.") tcpEStatsPathSampleRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathSampleRTT.setDescription("The most recent raw round trip time measurement used in\ncalculation of the RTO.") tcpEStatsPathRTTVar = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathRTTVar.setDescription("The round trip time variation used in calculation of the\nRTO. See RTTVAR in [RFC2988].") tcpEStatsPathMaxRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathMaxRTT.setDescription("The maximum sampled round trip time.") tcpEStatsPathMinRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathMinRTT.setDescription("The minimum sampled round trip time.") tcpEStatsPathSumRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 15), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathSumRTT.setDescription("The sum of all sampled round trip times.\n\nNote that the change in tcpEStatsPathSumRTT divided by the\nchange in tcpEStatsPathCountRTT is the mean RTT, uniformly\naveraged over an enter interval.") tcpEStatsPathHCSumRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 16), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathHCSumRTT.setDescription("The sum of all sampled round trip times, on all systems\nthat implement multiple concurrent RTT measurements.\n\nNote that the change in tcpEStatsPathHCSumRTT divided by\nthe change in tcpEStatsPathCountRTT is the mean RTT,\nuniformly averaged over an enter interval.") tcpEStatsPathCountRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 17), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathCountRTT.setDescription("The number of round trip time samples included in\ntcpEStatsPathSumRTT and tcpEStatsPathHCSumRTT.") tcpEStatsPathMaxRTO = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathMaxRTO.setDescription("The maximum value of the retransmit timer RTO.") tcpEStatsPathMinRTO = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathMinRTO.setDescription("The minimum value of the retransmit timer RTO.") tcpEStatsPathIpTtl = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathIpTtl.setDescription("The value of the TTL field carried in the most recently\nreceived IP header. This is sometimes useful to detect\nchanging or unstable routes.") tcpEStatsPathIpTosIn = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 21), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathIpTosIn.setDescription("The value of the IPv4 Type of Service octet, or the IPv6\ntraffic class octet, carried in the most recently received\nIP header.\n\nThis is useful to diagnose interactions between TCP and any\nIP layer packet scheduling and delivery policy, which might\nbe in effect to implement Diffserv.") tcpEStatsPathIpTosOut = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 22), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathIpTosOut.setDescription("The value of the IPv4 Type Of Service octet, or the IPv6\ntraffic class octet, carried in the most recently\ntransmitted IP header.\n\nThis is useful to diagnose interactions between TCP and any\nIP layer packet scheduling and delivery policy, which might\nbe in effect to implement Diffserv.") tcpEStatsPathPreCongSumCwnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 23), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathPreCongSumCwnd.setDescription("The sum of the values of the congestion window, in octets,\ncaptured each time a congestion signal is received. This\nMUST be updated each time tcpEStatsPerfCongSignals is\nincremented, such that the change in\ntcpEStatsPathPreCongSumCwnd divided by the change in\ntcpEStatsPerfCongSignals is the average window (over some\ninterval) just prior to a congestion signal.") tcpEStatsPathPreCongSumRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 24), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathPreCongSumRTT.setDescription("Sum of the last sample of the RTT (tcpEStatsPathSampleRTT)\nprior to the received congestion signals. This MUST be\nupdated each time tcpEStatsPerfCongSignals is incremented,\nsuch that the change in tcpEStatsPathPreCongSumRTT divided by\nthe change in tcpEStatsPerfCongSignals is the average RTT\n(over some interval) just prior to a congestion signal.") tcpEStatsPathPostCongSumRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 25), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathPostCongSumRTT.setDescription("Sum of the first sample of the RTT (tcpEStatsPathSampleRTT)\nfollowing each congestion signal. Such that the change in\ntcpEStatsPathPostCongSumRTT divided by the change in\ntcpEStatsPathPostCongCountRTT is the average RTT (over some\ninterval) just after a congestion signal.") tcpEStatsPathPostCongCountRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 26), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathPostCongCountRTT.setDescription("The number of RTT samples included in\ntcpEStatsPathPostCongSumRTT such that the change in\ntcpEStatsPathPostCongSumRTT divided by the change in\ntcpEStatsPathPostCongCountRTT is the average RTT (over some\ninterval) just after a congestion signal.") tcpEStatsPathECNsignals = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 27), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathECNsignals.setDescription("The number of congestion signals delivered to the TCP\nsender via explicit congestion notification (ECN). This is\ntypically the number of segments bearing Echo Congestion\n\n\n\nExperienced (ECE) bits, but\nshould also include segments failing the ECN nonce check or\nother explicit congestion signals.") tcpEStatsPathDupAckEpisodes = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 28), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathDupAckEpisodes.setDescription("The number of Duplicate Acks Sent when prior Ack was not\nduplicate. This is the number of times that a contiguous\nseries of duplicate acknowledgments have been sent.\n\nThis is an indication of the number of data segments lost\nor reordered on the path from the remote TCP endpoint to\nthe near TCP endpoint.") tcpEStatsPathRcvRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 29), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathRcvRTT.setDescription("The receiver's estimate of the Path RTT.\n\nAdaptive receiver window algorithms depend on the receiver\nto having a good estimate of the path RTT.") tcpEStatsPathDupAcksOut = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 30), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathDupAcksOut.setDescription("The number of duplicate ACKs sent. The ratio of the change\nin tcpEStatsPathDupAcksOut to the change in\ntcpEStatsPathDupAckEpisodes is an indication of reorder or\nrecovery distance over some interval.") tcpEStatsPathCERcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 31), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathCERcvd.setDescription("The number of segments received with IP headers bearing\nCongestion Experienced (CE) markings.") tcpEStatsPathECESent = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 4, 1, 32), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsPathECESent.setDescription("Number of times the Echo Congestion Experienced (ECE) bit\nin the TCP header has been set (transitioned from 0 to 1),\ndue to a Congestion Experienced (CE) marking on an IP\nheader. Note that ECE can be set and reset only once per\nRTT, while CE can be set on many segments per RTT.") tcpEStatsStackTable = MibTable((1, 3, 6, 1, 2, 1, 156, 1, 1, 5)) if mibBuilder.loadTexts: tcpEStatsStackTable.setDescription("This table contains objects that are most useful for\ndetermining how well some of the TCP control\nalgorithms are coping with this particular\n\n\n\npath.\n\nEntries are retained in this table for the number of\nseconds indicated by the tcpEStatsConnTableLatency\nobject, after the TCP connection first enters the closed\nstate.") tcpEStatsStackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1)).setIndexNames((0, "TCP-ESTATS-MIB", "tcpEStatsConnectIndex")) if mibBuilder.loadTexts: tcpEStatsStackEntry.setDescription("Each entry in this table has information about the\ncharacteristics of each active and recently closed TCP\nconnection.") tcpEStatsStackActiveOpen = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackActiveOpen.setDescription("True(1) if the local connection traversed the SYN-SENT\nstate, else false(2).") tcpEStatsStackMSSSent = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMSSSent.setDescription("The value sent in an MSS option, or zero if none.") tcpEStatsStackMSSRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMSSRcvd.setDescription("The value received in an MSS option, or zero if none.") tcpEStatsStackWinScaleSent = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 14))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackWinScaleSent.setDescription("The value of the transmitted window scale option if one was\nsent; otherwise, a value of -1.\n\nNote that if both tcpEStatsStackWinScaleSent and\ntcpEStatsStackWinScaleRcvd are not -1, then Rcv.Wind.Scale\nwill be the same as this value and used to scale receiver\nwindow announcements from the local host to the remote\nhost.") tcpEStatsStackWinScaleRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 14))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackWinScaleRcvd.setDescription("The value of the received window scale option if one was\nreceived; otherwise, a value of -1.\n\nNote that if both tcpEStatsStackWinScaleSent and\ntcpEStatsStackWinScaleRcvd are not -1, then Snd.Wind.Scale\nwill be the same as this value and used to scale receiver\nwindow announcements from the remote host to the local\nhost.") tcpEStatsStackTimeStamps = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 6), TcpEStatsNegotiated()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackTimeStamps.setDescription("Enabled(1) if TCP timestamps have been negotiated on,\nselfDisabled(2) if they are disabled or not implemented on\nthe local host, or peerDisabled(3) if not negotiated by the\nremote hosts.") tcpEStatsStackECN = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 7), TcpEStatsNegotiated()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackECN.setDescription("Enabled(1) if Explicit Congestion Notification (ECN) has\nbeen negotiated on, selfDisabled(2) if it is disabled or\nnot implemented on the local host, or peerDisabled(3) if\nnot negotiated by the remote hosts.") tcpEStatsStackWillSendSACK = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 8), TcpEStatsNegotiated()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackWillSendSACK.setDescription("Enabled(1) if the local host will send SACK options,\nselfDisabled(2) if SACK is disabled or not implemented on\nthe local host, or peerDisabled(3) if the remote host did\nnot send the SACK-permitted option.\n\nNote that SACK negotiation is not symmetrical. SACK can\nenabled on one side of the connection and not the other.") tcpEStatsStackWillUseSACK = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 9), TcpEStatsNegotiated()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackWillUseSACK.setDescription("Enabled(1) if the local host will process SACK options,\nselfDisabled(2) if SACK is disabled or not implemented on\nthe local host, or peerDisabled(3) if the remote host sends\n\n\n\nduplicate ACKs without SACK options, or the local host\notherwise decides not to process received SACK options.\n\nUnlike other TCP options, the remote data receiver cannot\nexplicitly indicate if it is able to generate SACK options.\nWhen sending data, the local host has to deduce if the\nremote receiver is sending SACK options. This object can\ntransition from Enabled(1) to peerDisabled(3) after the SYN\nexchange.\n\nNote that SACK negotiation is not symmetrical. SACK can\nenabled on one side of the connection and not the other.") tcpEStatsStackState = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(8,9,11,2,10,7,6,4,5,1,3,12,)).subtype(namedValues=NamedValues(("tcpESStateClosed", 1), ("tcpESStateClosing", 10), ("tcpESStateTimeWait", 11), ("tcpESStateDeleteTcb", 12), ("tcpESStateListen", 2), ("tcpESStateSynSent", 3), ("tcpESStateSynReceived", 4), ("tcpESStateEstablished", 5), ("tcpESStateFinWait1", 6), ("tcpESStateFinWait2", 7), ("tcpESStateCloseWait", 8), ("tcpESStateLastAck", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackState.setDescription("An integer value representing the connection state from the\nTCP State Transition Diagram.\n\nThe value listen(2) is included only for parallelism to the\nold tcpConnTable, and SHOULD NOT be used because the listen\nstate in managed by the tcpListenerTable.\n\nThe value DeleteTcb(12) is included only for parallelism to\nthe tcpConnTable mechanism for terminating connections,\n\n\n\nalthough this table does not permit writing.") tcpEStatsStackNagle = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackNagle.setDescription("True(1) if the Nagle algorithm is being used, else\nfalse(2).") tcpEStatsStackMaxSsCwnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMaxSsCwnd.setDescription("The maximum congestion window used during Slow Start, in\noctets.") tcpEStatsStackMaxCaCwnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMaxCaCwnd.setDescription("The maximum congestion window used during Congestion\nAvoidance, in octets.") tcpEStatsStackMaxSsthresh = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMaxSsthresh.setDescription("The maximum slow start threshold, excluding the initial\nvalue.") tcpEStatsStackMinSsthresh = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMinSsthresh.setDescription("The minimum slow start threshold.") tcpEStatsStackInRecovery = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("tcpESDataContiguous", 1), ("tcpESDataUnordered", 2), ("tcpESDataRecovery", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackInRecovery.setDescription("An integer value representing the state of the loss\nrecovery for this connection.\n\ntcpESDataContiguous(1) indicates that the remote receiver\nis reporting contiguous data (no duplicate acknowledgments\nor SACK options) and that there are no unacknowledged\nretransmissions.\n\ntcpESDataUnordered(2) indicates that the remote receiver is\nreporting missing or out-of-order data (e.g., sending\nduplicate acknowledgments or SACK options) and that there\nare no unacknowledged retransmissions (because the missing\ndata has not yet been retransmitted).\n\ntcpESDataRecovery(3) indicates that the sender has\noutstanding retransmitted data that is still\n\n\n\nunacknowledged.") tcpEStatsStackDupAcksIn = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 17), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackDupAcksIn.setDescription("The number of duplicate ACKs received.") tcpEStatsStackSpuriousFrDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 18), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSpuriousFrDetected.setDescription("The number of acknowledgments reporting out-of-order\nsegments after the Fast Retransmit algorithm has already\nretransmitted the segments. (For example as detected by the\nEifel algorithm).'") tcpEStatsStackSpuriousRtoDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 19), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSpuriousRtoDetected.setDescription("The number of acknowledgments reporting segments that have\nalready been retransmitted due to a Retransmission Timeout.") tcpEStatsStackSoftErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 21), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSoftErrors.setDescription("The number of segments that fail various consistency tests\nduring TCP input processing. Soft errors might cause the\nsegment to be discarded but some do not. Some of these soft\nerrors cause the generation of a TCP acknowledgment, while\nothers are silently discarded.") tcpEStatsStackSoftErrorReason = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,7,4,5,2,6,8,)).subtype(namedValues=NamedValues(("belowDataWindow", 1), ("aboveDataWindow", 2), ("belowAckWindow", 3), ("aboveAckWindow", 4), ("belowTSWindow", 5), ("aboveTSWindow", 6), ("dataCheckSum", 7), ("otherSoftError", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSoftErrorReason.setDescription("This object identifies which consistency test most recently\nfailed during TCP input processing. This object SHOULD be\nset every time tcpEStatsStackSoftErrors is incremented. The\ncodes are as follows:\n\nbelowDataWindow(1) - All data in the segment is below\nSND.UNA. (Normal for keep-alives and zero window probes).\n\naboveDataWindow(2) - Some data in the segment is above\nSND.WND. (Indicates an implementation bug or possible\nattack).\n\nbelowAckWindow(3) - ACK below SND.UNA. (Indicates that the\nreturn path is reordering ACKs)\n\naboveAckWindow(4) - An ACK for data that we have not sent.\n(Indicates an implementation bug or possible attack).\n\nbelowTSWindow(5) - TSecr on the segment is older than the\ncurrent TS.Recent (Normal for the rare case where PAWS\ndetects data reordered by the network).\n\naboveTSWindow(6) - TSecr on the segment is newer than the\ncurrent TS.Recent. (Indicates an implementation bug or\npossible attack).\n\n\n\n\ndataCheckSum(7) - Incorrect checksum. Note that this value\nis intrinsically fragile, because the header fields used to\nidentify the connection may have been corrupted.\n\notherSoftError(8) - All other soft errors not listed\nabove.") tcpEStatsStackSlowStart = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 23), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSlowStart.setDescription("The number of times the congestion window has been\nincreased by the Slow Start algorithm.") tcpEStatsStackCongAvoid = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 24), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackCongAvoid.setDescription("The number of times the congestion window has been\nincreased by the Congestion Avoidance algorithm.") tcpEStatsStackOtherReductions = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 25), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackOtherReductions.setDescription("The number of congestion window reductions made as a result\nof anything other than AIMD congestion control algorithms.\nExamples of non-multiplicative window reductions include\nCongestion Window Validation [RFC2861] and experimental\nalgorithms such as Vegas [Bra94].\n\n\n\n\nAll window reductions MUST be counted as either\ntcpEStatsPerfCongSignals or tcpEStatsStackOtherReductions.") tcpEStatsStackCongOverCount = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 26), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackCongOverCount.setDescription("The number of congestion events that were 'backed out' of\nthe congestion control state machine such that the\ncongestion window was restored to a prior value. This can\nhappen due to the Eifel algorithm [RFC3522] or other\nalgorithms that can be used to detect and cancel spurious\ninvocations of the Fast Retransmit Algorithm.\n\nAlthough it may be feasible to undo the effects of spurious\ninvocation of the Fast Retransmit congestion events cannot\neasily be backed out of tcpEStatsPerfCongSignals and\ntcpEStatsPathPreCongSumCwnd, etc.") tcpEStatsStackFastRetran = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 27), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackFastRetran.setDescription("The number of invocations of the Fast Retransmit algorithm.") tcpEStatsStackSubsequentTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 28), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSubsequentTimeouts.setDescription("The number of times the retransmit timeout has expired after\nthe RTO has been doubled. See Section 5.5 of RFC 2988.") tcpEStatsStackCurTimeoutCount = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 29), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackCurTimeoutCount.setDescription("The current number of times the retransmit timeout has\nexpired without receiving an acknowledgment for new data.\ntcpEStatsStackCurTimeoutCount is reset to zero when new\ndata is acknowledged and incremented for each invocation of\nSection 5.5 of RFC 2988.") tcpEStatsStackAbruptTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 30), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackAbruptTimeouts.setDescription("The number of timeouts that occurred without any\nimmediately preceding duplicate acknowledgments or other\nindications of congestion. Abrupt Timeouts indicate that\nthe path lost an entire window of data or acknowledgments.\n\nTimeouts that are preceded by duplicate acknowledgments or\nother congestion signals (e.g., ECN) are not counted as\nabrupt, and might have been avoided by a more sophisticated\nFast Retransmit algorithm.") tcpEStatsStackSACKsRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 31), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSACKsRcvd.setDescription("The number of SACK options received.") tcpEStatsStackSACKBlocksRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 32), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSACKBlocksRcvd.setDescription("The number of SACK blocks received (within SACK options).") tcpEStatsStackSendStall = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 33), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSendStall.setDescription("The number of interface stalls or other sender local\nresource limitations that are treated as congestion\nsignals.") tcpEStatsStackDSACKDups = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 34), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackDSACKDups.setDescription("The number of duplicate segments reported to the local host\nby D-SACK blocks.") tcpEStatsStackMaxMSS = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 35), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMaxMSS.setDescription("The maximum MSS, in octets.") tcpEStatsStackMinMSS = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 36), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMinMSS.setDescription("The minimum MSS, in octets.") tcpEStatsStackSndInitial = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 37), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackSndInitial.setDescription("Initial send sequence number. Note that by definition\ntcpEStatsStackSndInitial never changes for a given\nconnection.") tcpEStatsStackRecInitial = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 38), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackRecInitial.setDescription("Initial receive sequence number. Note that by definition\ntcpEStatsStackRecInitial never changes for a given\nconnection.") tcpEStatsStackCurRetxQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 39), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackCurRetxQueue.setDescription("The current number of octets of data occupying the\nretransmit queue.") tcpEStatsStackMaxRetxQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 40), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMaxRetxQueue.setDescription("The maximum number of octets of data occupying the\nretransmit queue.") tcpEStatsStackCurReasmQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 41), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackCurReasmQueue.setDescription("The current number of octets of sequence space spanned by\nthe reassembly queue. This is generally the difference\nbetween rcv.nxt and the sequence number of the right most\nedge of the reassembly queue.") tcpEStatsStackMaxReasmQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 5, 1, 42), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsStackMaxReasmQueue.setDescription("The maximum value of tcpEStatsStackCurReasmQueue") tcpEStatsAppTable = MibTable((1, 3, 6, 1, 2, 1, 156, 1, 1, 6)) if mibBuilder.loadTexts: tcpEStatsAppTable.setDescription("This table contains objects that are useful for\ndetermining if the application using TCP is\n\n\n\nlimiting TCP performance.\n\nEntries are retained in this table for the number of\nseconds indicated by the tcpEStatsConnTableLatency\nobject, after the TCP connection first enters the closed\nstate.") tcpEStatsAppEntry = MibTableRow((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1)).setIndexNames((0, "TCP-ESTATS-MIB", "tcpEStatsConnectIndex")) if mibBuilder.loadTexts: tcpEStatsAppEntry.setDescription("Each entry in this table has information about the\ncharacteristics of each active and recently closed TCP\nconnection.") tcpEStatsAppSndUna = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppSndUna.setDescription("The value of SND.UNA, the oldest unacknowledged sequence\nnumber.\n\nNote that SND.UNA is a TCP state variable that is congruent\nto Counter32 semantics.") tcpEStatsAppSndNxt = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppSndNxt.setDescription("The value of SND.NXT, the next sequence number to be sent.\nNote that tcpEStatsAppSndNxt is not monotonic (and thus not\na counter) because TCP sometimes retransmits lost data by\npulling tcpEStatsAppSndNxt back to the missing data.") tcpEStatsAppSndMax = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppSndMax.setDescription("The farthest forward (right most or largest) SND.NXT value.\nNote that this will be equal to tcpEStatsAppSndNxt except\nwhen tcpEStatsAppSndNxt is pulled back during recovery.") tcpEStatsAppThruOctetsAcked = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppThruOctetsAcked.setDescription("The number of octets for which cumulative acknowledgments\nhave been received. Note that this will be the sum of\nchanges to tcpEStatsAppSndUna.") tcpEStatsAppHCThruOctetsAcked = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 5), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppHCThruOctetsAcked.setDescription("The number of octets for which cumulative acknowledgments\nhave been received, on systems that can receive more than\n10 million bits per second. Note that this will be the sum\nof changes in tcpEStatsAppSndUna.") tcpEStatsAppRcvNxt = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppRcvNxt.setDescription("The value of RCV.NXT. The next sequence number expected on\nan incoming segment, and the left or lower edge of the\nreceive window.\n\nNote that RCV.NXT is a TCP state variable that is congruent\nto Counter32 semantics.") tcpEStatsAppThruOctetsReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppThruOctetsReceived.setDescription("The number of octets for which cumulative acknowledgments\nhave been sent. Note that this will be the sum of changes\nto tcpEStatsAppRcvNxt.") tcpEStatsAppHCThruOctetsReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 8), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppHCThruOctetsReceived.setDescription("The number of octets for which cumulative acknowledgments\nhave been sent, on systems that can transmit more than 10\nmillion bits per second. Note that this will be the sum of\nchanges in tcpEStatsAppRcvNxt.") tcpEStatsAppCurAppWQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppCurAppWQueue.setDescription("The current number of octets of application data buffered\nby TCP, pending first transmission, i.e., to the left of\nSND.NXT or SndMax. This data will generally be transmitted\n(and SND.NXT advanced to the left) as soon as there is an\navailable congestion window (cwnd) or receiver window\n(rwin). This is the amount of data readily available for\ntransmission, without scheduling the application. TCP\nperformance may suffer if there is insufficient queued\nwrite data.") tcpEStatsAppMaxAppWQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppMaxAppWQueue.setDescription("The maximum number of octets of application data buffered\nby TCP, pending first transmission. This is the maximum\nvalue of tcpEStatsAppCurAppWQueue. This pair of objects can\nbe used to determine if insufficient queued data is steady\nstate (suggesting insufficient queue space) or transient\n(suggesting insufficient application performance or\nexcessive CPU load or scheduler latency).") tcpEStatsAppCurAppRQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppCurAppRQueue.setDescription("The current number of octets of application data that has\nbeen acknowledged by TCP but not yet delivered to the\napplication.") tcpEStatsAppMaxAppRQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 6, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsAppMaxAppRQueue.setDescription("The maximum number of octets of application data that has\nbeen acknowledged by TCP but not yet delivered to the\napplication.") tcpEStatsTuneTable = MibTable((1, 3, 6, 1, 2, 1, 156, 1, 1, 7)) if mibBuilder.loadTexts: tcpEStatsTuneTable.setDescription("This table contains per-connection controls that can\nbe used to work around a number of common problems that\nplague TCP over some paths. All can be characterized as\nlimiting the growth of the congestion window so as to\nprevent TCP from overwhelming some component in the\npath.\n\nEntries are retained in this table for the number of\nseconds indicated by the tcpEStatsConnTableLatency\nobject, after the TCP connection first enters the closed\nstate.") tcpEStatsTuneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 156, 1, 1, 7, 1)).setIndexNames((0, "TCP-ESTATS-MIB", "tcpEStatsConnectIndex")) if mibBuilder.loadTexts: tcpEStatsTuneEntry.setDescription("Each entry in this table is a control that can be used to\nplace limits on each active TCP connection.") tcpEStatsTuneLimCwnd = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 7, 1, 1), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsTuneLimCwnd.setDescription("A control to set the maximum congestion window that may be\nused, in octets.") tcpEStatsTuneLimSsthresh = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 7, 1, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsTuneLimSsthresh.setDescription("A control to limit the maximum queue space (in octets) that\nthis TCP connection is likely to occupy during slowstart.\n\nIt can be implemented with the algorithm described in\nRFC 3742 by setting the max_ssthresh parameter to twice\ntcpEStatsTuneLimSsthresh.\n\nThis algorithm can be used to overcome some TCP performance\nproblems over network paths that do not have sufficient\nbuffering to withstand the bursts normally present during\nslowstart.") tcpEStatsTuneLimRwin = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 7, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsTuneLimRwin.setDescription("A control to set the maximum window advertisement that may\nbe sent, in octets.") tcpEStatsTuneLimMSS = MibTableColumn((1, 3, 6, 1, 2, 1, 156, 1, 1, 7, 1, 4), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsTuneLimMSS.setDescription("A control to limit the maximum segment size in octets, that\nthis TCP connection can use.") tcpEStatsControl = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 1, 2)) tcpEStatsControlPath = MibScalar((1, 3, 6, 1, 2, 1, 156, 1, 2, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsControlPath.setDescription("Controls the activation of the TCP Path Statistics\ntable.\n\nA value 'true' indicates that the TCP Path Statistics\ntable is active, while 'false' indicates that the\ntable is inactive.") tcpEStatsControlStack = MibScalar((1, 3, 6, 1, 2, 1, 156, 1, 2, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsControlStack.setDescription("Controls the activation of the TCP Stack Statistics\ntable.\n\nA value 'true' indicates that the TCP Stack Statistics\ntable is active, while 'false' indicates that the\ntable is inactive.") tcpEStatsControlApp = MibScalar((1, 3, 6, 1, 2, 1, 156, 1, 2, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsControlApp.setDescription("Controls the activation of the TCP Application\nStatistics table.\n\nA value 'true' indicates that the TCP Application\nStatistics table is active, while 'false' indicates\nthat the table is inactive.") tcpEStatsControlTune = MibScalar((1, 3, 6, 1, 2, 1, 156, 1, 2, 4), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsControlTune.setDescription("Controls the activation of the TCP Tuning table.\n\nA value 'true' indicates that the TCP Tuning\ntable is active, while 'false' indicates that the\ntable is inactive.") tcpEStatsControlNotify = MibScalar((1, 3, 6, 1, 2, 1, 156, 1, 2, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpEStatsControlNotify.setDescription("Controls the generation of all notifications defined in\nthis MIB.\n\nA value 'true' indicates that the notifications\nare active, while 'false' indicates that the\nnotifications are inactive.") tcpEStatsConnTableLatency = MibScalar((1, 3, 6, 1, 2, 1, 156, 1, 2, 6), Unsigned32().clone(0)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: tcpEStatsConnTableLatency.setDescription("Specifies the number of seconds that the entity will\nretain entries in the TCP connection tables, after the\nconnection first enters the closed state. The entity\nSHOULD provide a configuration option to enable\n\n\n\ncustomization of this value. A value of 0\nresults in entries being removed from the tables as soon as\nthe connection enters the closed state. The value of\nthis object pertains to the following tables:\n tcpEStatsConnectIdTable\n tcpEStatsPerfTable\n tcpEStatsPathTable\n tcpEStatsStackTable\n tcpEStatsAppTable\n tcpEStatsTuneTable") tcpEStatsScalar = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 1, 3)) tcpEStatsListenerTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 156, 1, 3, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEStatsListenerTableLastChange.setDescription("The value of sysUpTime at the time of the last\ncreation or deletion of an entry in the tcpListenerTable.\nIf the number of entries has been unchanged since the\nlast re-initialization of the local network management\nsubsystem, then this object contains a zero value.") tcpEStatsConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 2)) tcpEStatsCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 2, 1)) tcpEStatsGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 156, 2, 2)) # Augmentions tcpConnectionEntry, = mibBuilder.importSymbols("TCP-MIB", "tcpConnectionEntry") tcpConnectionEntry.registerAugmentions(("TCP-ESTATS-MIB", "tcpEStatsConnectIdEntry")) tcpEStatsConnectIdEntry.setIndexNames(*tcpConnectionEntry.getIndexNames()) tcpListenerEntry, = mibBuilder.importSymbols("TCP-MIB", "tcpListenerEntry") tcpListenerEntry.registerAugmentions(("TCP-ESTATS-MIB", "tcpEStatsListenerEntry")) tcpEStatsListenerEntry.setIndexNames(*tcpListenerEntry.getIndexNames()) # Notifications tcpEStatsEstablishNotification = NotificationType((1, 3, 6, 1, 2, 1, 156, 0, 1)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsConnectIndex"), ) ) if mibBuilder.loadTexts: tcpEStatsEstablishNotification.setDescription("The indicated connection has been accepted\n(or alternatively entered the established state).") tcpEStatsCloseNotification = NotificationType((1, 3, 6, 1, 2, 1, 156, 0, 2)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsConnectIndex"), ) ) if mibBuilder.loadTexts: tcpEStatsCloseNotification.setDescription("The indicated connection has left the\nestablished state") # Groups tcpEStatsListenerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 1)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsListenerEstablished"), ("TCP-ESTATS-MIB", "tcpEStatsListenerStartTime"), ("TCP-ESTATS-MIB", "tcpEStatsListenerCurBacklog"), ("TCP-ESTATS-MIB", "tcpEStatsListenerAccepted"), ("TCP-ESTATS-MIB", "tcpEStatsListenerCurEstabBacklog"), ("TCP-ESTATS-MIB", "tcpEStatsListenerCurConns"), ("TCP-ESTATS-MIB", "tcpEStatsListenerSynRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsListenerTableLastChange"), ("TCP-ESTATS-MIB", "tcpEStatsListenerExceedBacklog"), ("TCP-ESTATS-MIB", "tcpEStatsListenerInitial"), ("TCP-ESTATS-MIB", "tcpEStatsListenerMaxBacklog"), ) ) if mibBuilder.loadTexts: tcpEStatsListenerGroup.setDescription("The tcpEStatsListener group includes objects that\nprovide valuable statistics and debugging\ninformation for TCP Listeners.") tcpEStatsListenerHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 2)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsListenerHCAccepted"), ("TCP-ESTATS-MIB", "tcpEStatsListenerHCSynRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsListenerHCEstablished"), ("TCP-ESTATS-MIB", "tcpEStatsListenerHCExceedBacklog"), ("TCP-ESTATS-MIB", "tcpEStatsListenerHCInitial"), ) ) if mibBuilder.loadTexts: tcpEStatsListenerHCGroup.setDescription("The tcpEStatsListenerHC group includes 64-bit\ncounters in tcpEStatsListenerTable.") tcpEStatsConnectIdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 3)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsConnectIndex"), ("TCP-ESTATS-MIB", "tcpEStatsConnTableLatency"), ) ) if mibBuilder.loadTexts: tcpEStatsConnectIdGroup.setDescription("The tcpEStatsConnectId group includes objects that\nidentify TCP connections and control how long TCP\nconnection entries are retained in the tables.") tcpEStatsPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 4)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsPerfTimeouts"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSegsOut"), ("TCP-ESTATS-MIB", "tcpEStatsPerfOctetsRetrans"), ("TCP-ESTATS-MIB", "tcpEStatsPerfCurRwinSent"), ("TCP-ESTATS-MIB", "tcpEStatsPerfMaxRwinSent"), ("TCP-ESTATS-MIB", "tcpEStatsPerfPipeSize"), ("TCP-ESTATS-MIB", "tcpEStatsPerfElapsedMicroSecs"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSegsRetrans"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSmoothedRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPerfElapsedSecs"), ("TCP-ESTATS-MIB", "tcpEStatsPerfZeroRwinRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsPerfCurCwnd"), ("TCP-ESTATS-MIB", "tcpEStatsPerfMaxRwinRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsPerfCongSignals"), ("TCP-ESTATS-MIB", "tcpEStatsPerfZeroRwinSent"), ("TCP-ESTATS-MIB", "tcpEStatsPerfDataOctetsOut"), ("TCP-ESTATS-MIB", "tcpEStatsPerfDataSegsOut"), ("TCP-ESTATS-MIB", "tcpEStatsPerfCurSsthresh"), ("TCP-ESTATS-MIB", "tcpEStatsPerfStartTimeStamp"), ("TCP-ESTATS-MIB", "tcpEStatsPerfCurRwinRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsPerfCurMSS"), ("TCP-ESTATS-MIB", "tcpEStatsPerfCurRTO"), ("TCP-ESTATS-MIB", "tcpEStatsPerfDataOctetsIn"), ("TCP-ESTATS-MIB", "tcpEStatsPerfMaxPipeSize"), ("TCP-ESTATS-MIB", "tcpEStatsPerfDataSegsIn"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSegsIn"), ) ) if mibBuilder.loadTexts: tcpEStatsPerfGroup.setDescription("The tcpEStatsPerf group includes those objects that\nprovide basic performance data for a TCP connection.") tcpEStatsPerfOptionalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 5)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsPerfSndLimTimeCwnd"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSndLimTransCwnd"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSndLimTransRwin"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSndLimTimeRwin"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSndLimTransSnd"), ("TCP-ESTATS-MIB", "tcpEStatsPerfSndLimTimeSnd"), ) ) if mibBuilder.loadTexts: tcpEStatsPerfOptionalGroup.setDescription("The tcpEStatsPerf group includes those objects that\nprovide basic performance data for a TCP connection.") tcpEStatsPerfHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 6)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsPerfHCDataOctetsOut"), ("TCP-ESTATS-MIB", "tcpEStatsPerfHCDataOctetsIn"), ) ) if mibBuilder.loadTexts: tcpEStatsPerfHCGroup.setDescription("The tcpEStatsPerfHC group includes 64-bit\ncounters in the tcpEStatsPerfTable.") tcpEStatsPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 7)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsPathSumOctetsReordered"), ("TCP-ESTATS-MIB", "tcpEStatsPathNonRecovDA"), ("TCP-ESTATS-MIB", "tcpEStatsControlPath"), ("TCP-ESTATS-MIB", "tcpEStatsPathNonRecovDAEpisodes"), ("TCP-ESTATS-MIB", "tcpEStatsPathRetranThresh"), ) ) if mibBuilder.loadTexts: tcpEStatsPathGroup.setDescription("The tcpEStatsPath group includes objects that\ncontrol the creation of the tcpEStatsPathTable,\nand provide information about the path\nfor each TCP connection.") tcpEStatsPathOptionalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 8)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsPathIpTosOut"), ("TCP-ESTATS-MIB", "tcpEStatsPathIpTtl"), ("TCP-ESTATS-MIB", "tcpEStatsPathMinRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathDupAckEpisodes"), ("TCP-ESTATS-MIB", "tcpEStatsPathCERcvd"), ("TCP-ESTATS-MIB", "tcpEStatsPathPreCongSumRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathSampleRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathCountRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathRTTVar"), ("TCP-ESTATS-MIB", "tcpEStatsPathPostCongSumRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathECESent"), ("TCP-ESTATS-MIB", "tcpEStatsPathSumRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathMaxRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathECNsignals"), ("TCP-ESTATS-MIB", "tcpEStatsPathMinRTO"), ("TCP-ESTATS-MIB", "tcpEStatsPathPreCongSumCwnd"), ("TCP-ESTATS-MIB", "tcpEStatsPathRcvRTT"), ("TCP-ESTATS-MIB", "tcpEStatsPathIpTosIn"), ("TCP-ESTATS-MIB", "tcpEStatsPathMaxRTO"), ("TCP-ESTATS-MIB", "tcpEStatsPathDupAcksOut"), ("TCP-ESTATS-MIB", "tcpEStatsPathPostCongCountRTT"), ) ) if mibBuilder.loadTexts: tcpEStatsPathOptionalGroup.setDescription("The tcpEStatsPath group includes objects that\nprovide additional information about the path\nfor each TCP connection.") tcpEStatsPathHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 9)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsPathHCSumRTT"), ) ) if mibBuilder.loadTexts: tcpEStatsPathHCGroup.setDescription("The tcpEStatsPathHC group includes 64-bit\ncounters in the tcpEStatsPathTable.") tcpEStatsStackGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 10)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsStackWinScaleRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsStackMaxSsCwnd"), ("TCP-ESTATS-MIB", "tcpEStatsStackMSSSent"), ("TCP-ESTATS-MIB", "tcpEStatsStackMaxSsthresh"), ("TCP-ESTATS-MIB", "tcpEStatsStackMaxCaCwnd"), ("TCP-ESTATS-MIB", "tcpEStatsControlStack"), ("TCP-ESTATS-MIB", "tcpEStatsStackDupAcksIn"), ("TCP-ESTATS-MIB", "tcpEStatsStackState"), ("TCP-ESTATS-MIB", "tcpEStatsStackInRecovery"), ("TCP-ESTATS-MIB", "tcpEStatsStackECN"), ("TCP-ESTATS-MIB", "tcpEStatsStackSpuriousRtoDetected"), ("TCP-ESTATS-MIB", "tcpEStatsStackNagle"), ("TCP-ESTATS-MIB", "tcpEStatsStackWillUseSACK"), ("TCP-ESTATS-MIB", "tcpEStatsStackMSSRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsStackWillSendSACK"), ("TCP-ESTATS-MIB", "tcpEStatsStackWinScaleSent"), ("TCP-ESTATS-MIB", "tcpEStatsStackMinSsthresh"), ("TCP-ESTATS-MIB", "tcpEStatsStackSpuriousFrDetected"), ("TCP-ESTATS-MIB", "tcpEStatsStackTimeStamps"), ("TCP-ESTATS-MIB", "tcpEStatsStackActiveOpen"), ) ) if mibBuilder.loadTexts: tcpEStatsStackGroup.setDescription("The tcpEStatsConnState group includes objects that\ncontrol the creation of the tcpEStatsStackTable,\nand provide information about the operation of\nalgorithms used within TCP.") tcpEStatsStackOptionalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 11)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsStackCurRetxQueue"), ("TCP-ESTATS-MIB", "tcpEStatsStackMaxRetxQueue"), ("TCP-ESTATS-MIB", "tcpEStatsStackMaxReasmQueue"), ("TCP-ESTATS-MIB", "tcpEStatsStackSendStall"), ("TCP-ESTATS-MIB", "tcpEStatsStackDSACKDups"), ("TCP-ESTATS-MIB", "tcpEStatsStackSACKBlocksRcvd"), ("TCP-ESTATS-MIB", "tcpEStatsStackSlowStart"), ("TCP-ESTATS-MIB", "tcpEStatsStackOtherReductions"), ("TCP-ESTATS-MIB", "tcpEStatsStackMaxMSS"), ("TCP-ESTATS-MIB", "tcpEStatsStackMinMSS"), ("TCP-ESTATS-MIB", "tcpEStatsStackCongOverCount"), ("TCP-ESTATS-MIB", "tcpEStatsStackAbruptTimeouts"), ("TCP-ESTATS-MIB", "tcpEStatsStackSoftErrorReason"), ("TCP-ESTATS-MIB", "tcpEStatsStackCongAvoid"), ("TCP-ESTATS-MIB", "tcpEStatsStackFastRetran"), ("TCP-ESTATS-MIB", "tcpEStatsStackCurTimeoutCount"), ("TCP-ESTATS-MIB", "tcpEStatsStackCurReasmQueue"), ("TCP-ESTATS-MIB", "tcpEStatsStackSndInitial"), ("TCP-ESTATS-MIB", "tcpEStatsStackSoftErrors"), ("TCP-ESTATS-MIB", "tcpEStatsStackRecInitial"), ("TCP-ESTATS-MIB", "tcpEStatsStackSubsequentTimeouts"), ("TCP-ESTATS-MIB", "tcpEStatsStackSACKsRcvd"), ) ) if mibBuilder.loadTexts: tcpEStatsStackOptionalGroup.setDescription("The tcpEStatsConnState group includes objects that\nprovide additional information about the operation of\nalgorithms used within TCP.") tcpEStatsAppGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 12)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsAppRcvNxt"), ("TCP-ESTATS-MIB", "tcpEStatsAppThruOctetsReceived"), ("TCP-ESTATS-MIB", "tcpEStatsAppThruOctetsAcked"), ("TCP-ESTATS-MIB", "tcpEStatsAppSndUna"), ("TCP-ESTATS-MIB", "tcpEStatsAppSndNxt"), ("TCP-ESTATS-MIB", "tcpEStatsControlApp"), ("TCP-ESTATS-MIB", "tcpEStatsAppSndMax"), ) ) if mibBuilder.loadTexts: tcpEStatsAppGroup.setDescription("The tcpEStatsConnState group includes objects that\ncontrol the creation of the tcpEStatsAppTable,\nand provide information about the operation of\nalgorithms used within TCP.") tcpEStatsAppHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 13)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsAppHCThruOctetsAcked"), ("TCP-ESTATS-MIB", "tcpEStatsAppHCThruOctetsReceived"), ) ) if mibBuilder.loadTexts: tcpEStatsAppHCGroup.setDescription("The tcpEStatsStackHC group includes 64-bit\ncounters in the tcpEStatsStackTable.") tcpEStatsAppOptionalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 14)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsAppCurAppRQueue"), ("TCP-ESTATS-MIB", "tcpEStatsAppCurAppWQueue"), ("TCP-ESTATS-MIB", "tcpEStatsAppMaxAppRQueue"), ("TCP-ESTATS-MIB", "tcpEStatsAppMaxAppWQueue"), ) ) if mibBuilder.loadTexts: tcpEStatsAppOptionalGroup.setDescription("The tcpEStatsConnState group includes objects that\nprovide additional information about how applications\nare interacting with each TCP connection.") tcpEStatsTuneOptionalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 15)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsTuneLimCwnd"), ("TCP-ESTATS-MIB", "tcpEStatsTuneLimMSS"), ("TCP-ESTATS-MIB", "tcpEStatsControlTune"), ("TCP-ESTATS-MIB", "tcpEStatsTuneLimRwin"), ("TCP-ESTATS-MIB", "tcpEStatsTuneLimSsthresh"), ) ) if mibBuilder.loadTexts: tcpEStatsTuneOptionalGroup.setDescription("The tcpEStatsConnState group includes objects that\ncontrol the creation of the tcpEStatsConnectionTable,\nwhich can be used to set tuning parameters\nfor each TCP connection.") tcpEStatsNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 16)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsCloseNotification"), ("TCP-ESTATS-MIB", "tcpEStatsEstablishNotification"), ) ) if mibBuilder.loadTexts: tcpEStatsNotificationsGroup.setDescription("Notifications sent by a TCP extended statistics agent.") tcpEStatsNotificationsCtlGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 156, 2, 2, 17)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsControlNotify"), ) ) if mibBuilder.loadTexts: tcpEStatsNotificationsCtlGroup.setDescription("The tcpEStatsNotificationsCtl group includes the\nobject that controls the creation of the events\nin the tcpEStatsNotificationsGroup.") # Compliances tcpEStatsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 156, 2, 1, 1)).setObjects(*(("TCP-ESTATS-MIB", "tcpEStatsAppOptionalGroup"), ("TCP-ESTATS-MIB", "tcpEStatsNotificationsGroup"), ("TCP-ESTATS-MIB", "tcpEStatsListenerHCGroup"), ("TCP-ESTATS-MIB", "tcpEStatsPathOptionalGroup"), ("TCP-ESTATS-MIB", "tcpEStatsPerfGroup"), ("TCP-ESTATS-MIB", "tcpEStatsConnectIdGroup"), ("TCP-ESTATS-MIB", "tcpEStatsAppHCGroup"), ("TCP-ESTATS-MIB", "tcpEStatsAppGroup"), ("TCP-ESTATS-MIB", "tcpEStatsStackOptionalGroup"), ("TCP-ESTATS-MIB", "tcpEStatsPerfOptionalGroup"), ("TCP-ESTATS-MIB", "tcpEStatsTuneOptionalGroup"), ("TCP-ESTATS-MIB", "tcpEStatsListenerGroup"), ("TCP-ESTATS-MIB", "tcpEStatsPathGroup"), ("TCP-ESTATS-MIB", "tcpEStatsStackGroup"), ("TCP-ESTATS-MIB", "tcpEStatsPerfHCGroup"), ("TCP-ESTATS-MIB", "tcpEStatsNotificationsCtlGroup"), ("TCP-ESTATS-MIB", "tcpEStatsPathHCGroup"), ) ) if mibBuilder.loadTexts: tcpEStatsCompliance.setDescription("Compliance statement for all systems that implement TCP\nextended statistics.") # Exports # Module identity mibBuilder.exportSymbols("TCP-ESTATS-MIB", PYSNMP_MODULE_ID=tcpEStatsMIB) # Types mibBuilder.exportSymbols("TCP-ESTATS-MIB", TcpEStatsNegotiated=TcpEStatsNegotiated) # Objects mibBuilder.exportSymbols("TCP-ESTATS-MIB", tcpEStatsMIB=tcpEStatsMIB, tcpEStatsNotifications=tcpEStatsNotifications, tcpEStatsMIBObjects=tcpEStatsMIBObjects, tcpEStats=tcpEStats, tcpEStatsListenerTable=tcpEStatsListenerTable, tcpEStatsListenerEntry=tcpEStatsListenerEntry, tcpEStatsListenerStartTime=tcpEStatsListenerStartTime, tcpEStatsListenerSynRcvd=tcpEStatsListenerSynRcvd, tcpEStatsListenerInitial=tcpEStatsListenerInitial, tcpEStatsListenerEstablished=tcpEStatsListenerEstablished, tcpEStatsListenerAccepted=tcpEStatsListenerAccepted, tcpEStatsListenerExceedBacklog=tcpEStatsListenerExceedBacklog, tcpEStatsListenerHCSynRcvd=tcpEStatsListenerHCSynRcvd, tcpEStatsListenerHCInitial=tcpEStatsListenerHCInitial, tcpEStatsListenerHCEstablished=tcpEStatsListenerHCEstablished, tcpEStatsListenerHCAccepted=tcpEStatsListenerHCAccepted, tcpEStatsListenerHCExceedBacklog=tcpEStatsListenerHCExceedBacklog, tcpEStatsListenerCurConns=tcpEStatsListenerCurConns, tcpEStatsListenerMaxBacklog=tcpEStatsListenerMaxBacklog, tcpEStatsListenerCurBacklog=tcpEStatsListenerCurBacklog, tcpEStatsListenerCurEstabBacklog=tcpEStatsListenerCurEstabBacklog, tcpEStatsConnectIdTable=tcpEStatsConnectIdTable, tcpEStatsConnectIdEntry=tcpEStatsConnectIdEntry, tcpEStatsConnectIndex=tcpEStatsConnectIndex, tcpEStatsPerfTable=tcpEStatsPerfTable, tcpEStatsPerfEntry=tcpEStatsPerfEntry, tcpEStatsPerfSegsOut=tcpEStatsPerfSegsOut, tcpEStatsPerfDataSegsOut=tcpEStatsPerfDataSegsOut, tcpEStatsPerfDataOctetsOut=tcpEStatsPerfDataOctetsOut, tcpEStatsPerfHCDataOctetsOut=tcpEStatsPerfHCDataOctetsOut, tcpEStatsPerfSegsRetrans=tcpEStatsPerfSegsRetrans, tcpEStatsPerfOctetsRetrans=tcpEStatsPerfOctetsRetrans, tcpEStatsPerfSegsIn=tcpEStatsPerfSegsIn, tcpEStatsPerfDataSegsIn=tcpEStatsPerfDataSegsIn, tcpEStatsPerfDataOctetsIn=tcpEStatsPerfDataOctetsIn, tcpEStatsPerfHCDataOctetsIn=tcpEStatsPerfHCDataOctetsIn, tcpEStatsPerfElapsedSecs=tcpEStatsPerfElapsedSecs, tcpEStatsPerfElapsedMicroSecs=tcpEStatsPerfElapsedMicroSecs, tcpEStatsPerfStartTimeStamp=tcpEStatsPerfStartTimeStamp, tcpEStatsPerfCurMSS=tcpEStatsPerfCurMSS, tcpEStatsPerfPipeSize=tcpEStatsPerfPipeSize, tcpEStatsPerfMaxPipeSize=tcpEStatsPerfMaxPipeSize, tcpEStatsPerfSmoothedRTT=tcpEStatsPerfSmoothedRTT, tcpEStatsPerfCurRTO=tcpEStatsPerfCurRTO, tcpEStatsPerfCongSignals=tcpEStatsPerfCongSignals, tcpEStatsPerfCurCwnd=tcpEStatsPerfCurCwnd, tcpEStatsPerfCurSsthresh=tcpEStatsPerfCurSsthresh, tcpEStatsPerfTimeouts=tcpEStatsPerfTimeouts, tcpEStatsPerfCurRwinSent=tcpEStatsPerfCurRwinSent, tcpEStatsPerfMaxRwinSent=tcpEStatsPerfMaxRwinSent, tcpEStatsPerfZeroRwinSent=tcpEStatsPerfZeroRwinSent, tcpEStatsPerfCurRwinRcvd=tcpEStatsPerfCurRwinRcvd, tcpEStatsPerfMaxRwinRcvd=tcpEStatsPerfMaxRwinRcvd, tcpEStatsPerfZeroRwinRcvd=tcpEStatsPerfZeroRwinRcvd, tcpEStatsPerfSndLimTransRwin=tcpEStatsPerfSndLimTransRwin, tcpEStatsPerfSndLimTransCwnd=tcpEStatsPerfSndLimTransCwnd, tcpEStatsPerfSndLimTransSnd=tcpEStatsPerfSndLimTransSnd, tcpEStatsPerfSndLimTimeRwin=tcpEStatsPerfSndLimTimeRwin, tcpEStatsPerfSndLimTimeCwnd=tcpEStatsPerfSndLimTimeCwnd, tcpEStatsPerfSndLimTimeSnd=tcpEStatsPerfSndLimTimeSnd, tcpEStatsPathTable=tcpEStatsPathTable, tcpEStatsPathEntry=tcpEStatsPathEntry, tcpEStatsPathRetranThresh=tcpEStatsPathRetranThresh, tcpEStatsPathNonRecovDAEpisodes=tcpEStatsPathNonRecovDAEpisodes, tcpEStatsPathSumOctetsReordered=tcpEStatsPathSumOctetsReordered, tcpEStatsPathNonRecovDA=tcpEStatsPathNonRecovDA, tcpEStatsPathSampleRTT=tcpEStatsPathSampleRTT, tcpEStatsPathRTTVar=tcpEStatsPathRTTVar, tcpEStatsPathMaxRTT=tcpEStatsPathMaxRTT, tcpEStatsPathMinRTT=tcpEStatsPathMinRTT, tcpEStatsPathSumRTT=tcpEStatsPathSumRTT, tcpEStatsPathHCSumRTT=tcpEStatsPathHCSumRTT, tcpEStatsPathCountRTT=tcpEStatsPathCountRTT, tcpEStatsPathMaxRTO=tcpEStatsPathMaxRTO, tcpEStatsPathMinRTO=tcpEStatsPathMinRTO, tcpEStatsPathIpTtl=tcpEStatsPathIpTtl, tcpEStatsPathIpTosIn=tcpEStatsPathIpTosIn, tcpEStatsPathIpTosOut=tcpEStatsPathIpTosOut, tcpEStatsPathPreCongSumCwnd=tcpEStatsPathPreCongSumCwnd, tcpEStatsPathPreCongSumRTT=tcpEStatsPathPreCongSumRTT, tcpEStatsPathPostCongSumRTT=tcpEStatsPathPostCongSumRTT, tcpEStatsPathPostCongCountRTT=tcpEStatsPathPostCongCountRTT, tcpEStatsPathECNsignals=tcpEStatsPathECNsignals, tcpEStatsPathDupAckEpisodes=tcpEStatsPathDupAckEpisodes, tcpEStatsPathRcvRTT=tcpEStatsPathRcvRTT, tcpEStatsPathDupAcksOut=tcpEStatsPathDupAcksOut, tcpEStatsPathCERcvd=tcpEStatsPathCERcvd, tcpEStatsPathECESent=tcpEStatsPathECESent, tcpEStatsStackTable=tcpEStatsStackTable, tcpEStatsStackEntry=tcpEStatsStackEntry, tcpEStatsStackActiveOpen=tcpEStatsStackActiveOpen, tcpEStatsStackMSSSent=tcpEStatsStackMSSSent, tcpEStatsStackMSSRcvd=tcpEStatsStackMSSRcvd, tcpEStatsStackWinScaleSent=tcpEStatsStackWinScaleSent, tcpEStatsStackWinScaleRcvd=tcpEStatsStackWinScaleRcvd, tcpEStatsStackTimeStamps=tcpEStatsStackTimeStamps, tcpEStatsStackECN=tcpEStatsStackECN, tcpEStatsStackWillSendSACK=tcpEStatsStackWillSendSACK, tcpEStatsStackWillUseSACK=tcpEStatsStackWillUseSACK, tcpEStatsStackState=tcpEStatsStackState, tcpEStatsStackNagle=tcpEStatsStackNagle, tcpEStatsStackMaxSsCwnd=tcpEStatsStackMaxSsCwnd, tcpEStatsStackMaxCaCwnd=tcpEStatsStackMaxCaCwnd, tcpEStatsStackMaxSsthresh=tcpEStatsStackMaxSsthresh, tcpEStatsStackMinSsthresh=tcpEStatsStackMinSsthresh, tcpEStatsStackInRecovery=tcpEStatsStackInRecovery, tcpEStatsStackDupAcksIn=tcpEStatsStackDupAcksIn, tcpEStatsStackSpuriousFrDetected=tcpEStatsStackSpuriousFrDetected, tcpEStatsStackSpuriousRtoDetected=tcpEStatsStackSpuriousRtoDetected, tcpEStatsStackSoftErrors=tcpEStatsStackSoftErrors, tcpEStatsStackSoftErrorReason=tcpEStatsStackSoftErrorReason, tcpEStatsStackSlowStart=tcpEStatsStackSlowStart, tcpEStatsStackCongAvoid=tcpEStatsStackCongAvoid, tcpEStatsStackOtherReductions=tcpEStatsStackOtherReductions, tcpEStatsStackCongOverCount=tcpEStatsStackCongOverCount, tcpEStatsStackFastRetran=tcpEStatsStackFastRetran, tcpEStatsStackSubsequentTimeouts=tcpEStatsStackSubsequentTimeouts, tcpEStatsStackCurTimeoutCount=tcpEStatsStackCurTimeoutCount, tcpEStatsStackAbruptTimeouts=tcpEStatsStackAbruptTimeouts, tcpEStatsStackSACKsRcvd=tcpEStatsStackSACKsRcvd, tcpEStatsStackSACKBlocksRcvd=tcpEStatsStackSACKBlocksRcvd, tcpEStatsStackSendStall=tcpEStatsStackSendStall, tcpEStatsStackDSACKDups=tcpEStatsStackDSACKDups, tcpEStatsStackMaxMSS=tcpEStatsStackMaxMSS, tcpEStatsStackMinMSS=tcpEStatsStackMinMSS, tcpEStatsStackSndInitial=tcpEStatsStackSndInitial) mibBuilder.exportSymbols("TCP-ESTATS-MIB", tcpEStatsStackRecInitial=tcpEStatsStackRecInitial, tcpEStatsStackCurRetxQueue=tcpEStatsStackCurRetxQueue, tcpEStatsStackMaxRetxQueue=tcpEStatsStackMaxRetxQueue, tcpEStatsStackCurReasmQueue=tcpEStatsStackCurReasmQueue, tcpEStatsStackMaxReasmQueue=tcpEStatsStackMaxReasmQueue, tcpEStatsAppTable=tcpEStatsAppTable, tcpEStatsAppEntry=tcpEStatsAppEntry, tcpEStatsAppSndUna=tcpEStatsAppSndUna, tcpEStatsAppSndNxt=tcpEStatsAppSndNxt, tcpEStatsAppSndMax=tcpEStatsAppSndMax, tcpEStatsAppThruOctetsAcked=tcpEStatsAppThruOctetsAcked, tcpEStatsAppHCThruOctetsAcked=tcpEStatsAppHCThruOctetsAcked, tcpEStatsAppRcvNxt=tcpEStatsAppRcvNxt, tcpEStatsAppThruOctetsReceived=tcpEStatsAppThruOctetsReceived, tcpEStatsAppHCThruOctetsReceived=tcpEStatsAppHCThruOctetsReceived, tcpEStatsAppCurAppWQueue=tcpEStatsAppCurAppWQueue, tcpEStatsAppMaxAppWQueue=tcpEStatsAppMaxAppWQueue, tcpEStatsAppCurAppRQueue=tcpEStatsAppCurAppRQueue, tcpEStatsAppMaxAppRQueue=tcpEStatsAppMaxAppRQueue, tcpEStatsTuneTable=tcpEStatsTuneTable, tcpEStatsTuneEntry=tcpEStatsTuneEntry, tcpEStatsTuneLimCwnd=tcpEStatsTuneLimCwnd, tcpEStatsTuneLimSsthresh=tcpEStatsTuneLimSsthresh, tcpEStatsTuneLimRwin=tcpEStatsTuneLimRwin, tcpEStatsTuneLimMSS=tcpEStatsTuneLimMSS, tcpEStatsControl=tcpEStatsControl, tcpEStatsControlPath=tcpEStatsControlPath, tcpEStatsControlStack=tcpEStatsControlStack, tcpEStatsControlApp=tcpEStatsControlApp, tcpEStatsControlTune=tcpEStatsControlTune, tcpEStatsControlNotify=tcpEStatsControlNotify, tcpEStatsConnTableLatency=tcpEStatsConnTableLatency, tcpEStatsScalar=tcpEStatsScalar, tcpEStatsListenerTableLastChange=tcpEStatsListenerTableLastChange, tcpEStatsConformance=tcpEStatsConformance, tcpEStatsCompliances=tcpEStatsCompliances, tcpEStatsGroups=tcpEStatsGroups) # Notifications mibBuilder.exportSymbols("TCP-ESTATS-MIB", tcpEStatsEstablishNotification=tcpEStatsEstablishNotification, tcpEStatsCloseNotification=tcpEStatsCloseNotification) # Groups mibBuilder.exportSymbols("TCP-ESTATS-MIB", tcpEStatsListenerGroup=tcpEStatsListenerGroup, tcpEStatsListenerHCGroup=tcpEStatsListenerHCGroup, tcpEStatsConnectIdGroup=tcpEStatsConnectIdGroup, tcpEStatsPerfGroup=tcpEStatsPerfGroup, tcpEStatsPerfOptionalGroup=tcpEStatsPerfOptionalGroup, tcpEStatsPerfHCGroup=tcpEStatsPerfHCGroup, tcpEStatsPathGroup=tcpEStatsPathGroup, tcpEStatsPathOptionalGroup=tcpEStatsPathOptionalGroup, tcpEStatsPathHCGroup=tcpEStatsPathHCGroup, tcpEStatsStackGroup=tcpEStatsStackGroup, tcpEStatsStackOptionalGroup=tcpEStatsStackOptionalGroup, tcpEStatsAppGroup=tcpEStatsAppGroup, tcpEStatsAppHCGroup=tcpEStatsAppHCGroup, tcpEStatsAppOptionalGroup=tcpEStatsAppOptionalGroup, tcpEStatsTuneOptionalGroup=tcpEStatsTuneOptionalGroup, tcpEStatsNotificationsGroup=tcpEStatsNotificationsGroup, tcpEStatsNotificationsCtlGroup=tcpEStatsNotificationsCtlGroup) # Compliances mibBuilder.exportSymbols("TCP-ESTATS-MIB", tcpEStatsCompliance=tcpEStatsCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/EFM-CU-MIB.py0000644000014400001440000031302311736645136020353 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python EFM-CU-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:56 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ifSpeed, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex", "ifSpeed") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( PhysAddress, RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "PhysAddress", "RowStatus", "TextualConvention", "TruthValue") # Types class EfmProfileIndex(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,255) class EfmProfileIndexList(TextualConvention, OctetString): displayHint = "1d:" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,6) class EfmProfileIndexOrZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,255) class EfmTruthValueOrUnknown(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,0,1,) namedValues = NamedValues(("unknown", 0), ("true", 1), ("false", 2), ) # Objects efmCuMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 167)).setRevisions(("2007-11-14 00:00",)) if mibBuilder.loadTexts: efmCuMIB.setOrganization("IETF Ethernet Interfaces and Hub MIB Working Group") if mibBuilder.loadTexts: efmCuMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/OLD/hubmib-charter.html\n\n\n\nMailing Lists:\nGeneral Discussion: hubmib@ietf.org\nTo Subscribe: hubmib-request@ietf.org\nIn Body: subscribe your_email_address\n\nChair: Bert Wijnen\nPostal: Alcatel-Lucent\n Schagen 33\n 3461 GL Linschoten\n Netherlands\nPhone: +31-348-407-775\nEMail: bwijnen@alcatel-lucent.com\n\nEditor: Edward Beili\nPostal: Actelis Networks Inc.\n 25 Bazel St., P.O.B. 10173\n Petach-Tikva 10173\n Israel\nPhone: +972-3-924-3491\nEmail: edward.beili@actelis.com") if mibBuilder.loadTexts: efmCuMIB.setDescription("The objects in this MIB module are used to manage\nthe Ethernet in the First Mile (EFM) Copper (EFMCu) Interfaces\n2BASE-TL and 10PASS-TS, defined in IEEE Std. 802.3ah-2004,\nwhich is now a part of IEEE Std. 802.3-2005.\n\nThe following references are used throughout this MIB module:\n\n[802.3ah] refers to:\n IEEE Std 802.3ah-2004: 'IEEE Standard for Information\n technology - Telecommunications and information exchange\n between systems - Local and metropolitan area networks -\n Specific requirements -\n Part 3: Carrier Sense Multiple Access with Collision\n Detection (CSMA/CD) Access Method and Physical Layer\n Specifications -\n Amendment: Media Access Control Parameters, Physical\n Layers and Management Parameters for Subscriber Access\n Networks', 07 September 2004.\n\nOf particular interest are Clause 61, 'Physical Coding\nSublayer (PCS) and common specifications, type 10PASS-TS and\ntype 2BASE-TL', Clause 30, 'Management', Clause 45,\n'Management Data Input/Output (MDIO) Interface', Annex 62A,\n'PMD profiles for 10PASS-TS' and Annex 63A, 'PMD profiles for\n2BASE-TL'.\n\n\n\n\n[G.991.2] refers to:\n ITU-T Recommendation G.991.2: 'Single-pair High-speed Digital\n Subscriber Line (SHDSL) transceivers', December 2003.\n\n[ANFP] refers to:\n NICC Document ND1602:2005/08: 'Specification of the Access\n Network Frequency Plan (ANFP) applicable to transmission\n systems used on the BT Access Network,' August 2005.\n\nThe following normative documents are quoted by the DESCRIPTION\nclauses in this MIB module:\n\n[G.993.1] refers to:\n ITU-T Recommendation G.993.1: 'Very High speed Digital\n Subscriber Line transceivers', June 2004.\n\n[T1.424] refers to:\n ANSI T1.424-2004: 'Interface Between Networks and Customer\n Installation Very-high-bit-rate Digital Subscriber Lines\n (VDSL) Metallic Interface (DMT Based)', June 2004.\n\n[TS 101 270-1] refers to:\n ETSI TS 101 270-1: 'Transmission and Multiplexing (TM);\n Access transmission systems on metallic access cables;\n Very high speed Digital Subscriber Line (VDSL); Part 1:\n Functional requirements', October 2005.\n\nNaming Conventions:\n Atn - Attenuation\n CO - Central Office\n CPE - Customer Premises Equipment\n EFM - Ethernet in the First Mile\n EFMCu - EFM Copper\n MDIO - Management Data Input/Output\n Mgn - Margin\n PAF - PME Aggregation Function\n PBO - Power Back-Off\n PCS - Physical Coding Sublayer\n PMD - Physical Medium Dependent\n PME - Physical Medium Entity\n PSD - Power Spectral Density\n SNR - Signal to Noise Ratio\n TCPAM - Trellis Coded Pulse Amplitude Modulation\n\nCopyright (C) The IETF Trust (2007). This version\nof this MIB module is part of RFC 5066; see the RFC\nitself for full legal notices.") efmCuObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 1)) efmCuPort = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 1, 1)) efmCuPortNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 1, 1, 0)) efmCuPortConfTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 1, 1)) if mibBuilder.loadTexts: efmCuPortConfTable.setDescription("Table for Configuration of EFMCu 2BASE-TL/10PASS-TS (PCS)\nPorts. Entries in this table MUST be maintained in a\npersistent manner.") efmCuPortConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: efmCuPortConfEntry.setDescription("An entry in the EFMCu Port Configuration table.\nEach entry represents an EFMCu port indexed by the ifIndex.\nNote that an EFMCu PCS port runs on top of a single\nor multiple PME port(s), which are also indexed by ifIndex.") efmCuPAFAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPAFAdminState.setDescription("Administrative (desired) state of the PAF of the EFMCu port\n(PCS).\nWhen 'disabled', PME aggregation will not be performed by the\nPCS. No more than a single PME can be assigned to this PCS in\nthis case.\nWhen 'enabled', PAF will be performed by the PCS when the link\nis Up, even on a single attached PME, if PAF is supported.\n\nPCS ports incapable of supporting PAF SHALL return a value of\n'disabled'. Attempts to 'enable' such ports SHALL be\nrejected.\n\nA PAF 'enabled' port with multiple PMEs assigned cannot be\n'disabled'. Attempts to 'disable' such port SHALL be\nrejected, until at most one PME is left assigned.\n\nChanging PAFAdminState is a traffic-disruptive operation and\nas such SHALL be done when the link is Down. Attempts to\nchange this object SHALL be rejected if the link is Up or\nInitializing.\n\nThis object maps to the Clause 30 attribute aPAFAdminState.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then this\nobject maps to the PAF enable bit in the 10P/2B PCS control\nregister.\n\nThis object MUST be maintained in a persistent manner.") efmCuPAFDiscoveryCode = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 2), PhysAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(6,6),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPAFDiscoveryCode.setDescription("PAF Discovery Code of the EFMCu port (PCS).\nA unique 6-octet code used by the Discovery function,\nwhen PAF is supported.\nPCS ports incapable of supporting PAF SHALL return a\nzero-length octet string on an attempt to read this object.\nAn attempt to write to this object SHALL be rejected for such\nports.\nThis object MUST be instantiated for the -O subtype PCS before\nwriting operations on the efmCuPAFRemoteDiscoveryCode\n(Set_if_Clear and Clear_if_Same) are performed by PMEs\nassociated with the PCS.\nThe initial value of this object for -R subtype ports after\nreset is all zeroes. For -R subtype ports, the value of this\nobject cannot be changed directly. This value may be changed\nas a result of writing operation on the\nefmCuPAFRemoteDiscoveryCode object of remote PME of -O\nsubtype, connected to one of the local PMEs associated with\nthe PCS.\n\nDiscovery MUST be performed when the link is Down.\nAttempts to change this object MUST be rejected (in case of\nSNMP with the error inconsistentValue), if the link is Up or\nInitializing.\n\nThe PAF Discovery Code maps to the local Discovery code\nvariable in PAF (note that it does not have a corresponding\nClause 45 register).") efmCuAdminProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 3), EfmProfileIndexList().clone(hexValue='01')).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuAdminProfile.setDescription("Desired configuration profile(s), common for all PMEs in the\nEFMCu port. This object is a list of pointers to entries in\neither efmCuPme2BProfileTable or\nefmCuPme10PProfileTable, depending on the current\noperating SubType of the EFMCu port as indicated by\nefmCuPortSide.\n\n\n\nThe value of this object is a list of up to 6 indices of\nprofiles. If this list consists of a single profile index,\nthen all PMEs assigned to this EFMCu port SHALL be configured\naccording to the profile referenced by that index, unless it\nis overwritten by a corresponding non-zero\nefmCuPmeAdminProfile instance, which takes precedence over\nefmCuAdminProfile.\nA list consisting of more than one index allows each PME\nin the port to be configured according to any profile\nspecified in the list.\nBy default, this object has a value of 0x01, referencing the\n1st entry in efmCuPme2BProfileTable or\nefmCuPme10PProfileTable.\n\nThis object is writable and readable for the -O subtype\n(2BaseTL-O or 10PassTS-O) EFMCu ports. It is irrelevant for\nthe -R subtype (2BaseTL-R or 10PassTS-R) ports -- a\nzero-length octet string SHALL be returned on an attempt to\nread this object and an attempt to change this object MUST be\nrejected in this case.\n\nNote that the current operational profile value is available\nvia the efmCuPmeOperProfile object.\n\nAny modification of this object MUST be performed when the\nlink is Down. Attempts to change this object MUST be\nrejected, if the link is Up or Initializing.\nAttempts to set this object to a list with a member value that\nis not the value of the index for an active entry in the\ncorresponding profile table MUST be rejected.\n\nThis object maps to the Clause 30 attribute aProfileSelect.\n\nThis object MUST be maintained in a persistent manner.") efmCuTargetDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(1,100000),ValueRangeConstraint(999999,999999),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuTargetDataRate.setDescription("Desired EFMCu port 'net' (as seen across MII) Data Rate in\nKbps, to be achieved during initialization, under spectral\nrestrictions placed on each PME via efmCuAdminProfile or\n\n\n\nefmCuPmeAdminProfile, with the desired SNR margin specified by\nefmCuTargetSnrMgn.\nIn case of PAF, this object represents a sum of individual PME\ndata rates, modified to compensate for fragmentation and\n64/65-octet encapsulation overhead (e.g., target data rate of\n10 Mbps SHALL allow lossless transmission of a full-duplex\n10 Mbps Ethernet frame stream with minimal inter-frame gap).\n\nThe value is limited above by 100 Mbps as this is the max\nburst rate across MII for EFMCu ports.\n\nThe value between 1 and 100000 indicates that the total data\nrate (ifSpeed) of the EFMCu port after initialization SHALL be\nequal to the target data rate or less, if the target data rate\ncannot be achieved under spectral restrictions specified by\nefmCuAdminProfile/efmCuPmeAdminProfile and with the desired\nSNR margin. In case the copper environment allows a higher\ntotal data rate to be achieved than that specified by the\ntarget, the excess capability SHALL be either converted to\nadditional SNR margin or reclaimed by minimizing transmit\npower as controlled by efmCuAdaptiveSpectra.\n\nThe value of 999999 means that the target data rate is not\nfixed and SHALL be set to the maximum attainable rate during\ninitialization (Best Effort), under specified spectral\nrestrictions and with the desired SNR margin.\n\nThis object is read-write for the -O subtype EFMCu ports\n(2BaseTL-O/10PassTS-O) and not available for the -R subtypes.\n\nChanging of the Target Data Rate MUST be performed when the\nlink is Down. Attempts to change this object MUST be rejected\n(in case of SNMP with the error inconsistentValue), if the\nlink is Up or Initializing.\n\nNote that the current Data Rate of the EFMCu port is\nrepresented by the ifSpeed object of IF-MIB.\n\nThis object MUST be maintained in a persistent manner.") efmCuTargetSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 21))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuTargetSnrMgn.setDescription("Desired EFMCu port SNR margin to be achieved on all PMEs\n\n\n\nassigned to the port, during initialization. (The SNR margin\nis the difference between the desired SNR and the actual SNR).\n\nNote that 802.3ah recommends using a default target SNR margin\nof 5 dB for 2BASE-TL ports and 6 dB for 10PASS-TS ports in\norder to achieve a mean Bit Error Rate (BER) of 10^-7 at the\nPMA service interface.\n\nThis object is read-write for the -O subtype EFMCu ports\n(2BaseTL-O/10PassTS-O) and not available for the -R subtypes.\n\nChanging of the target SNR margin MUST be performed when the\nlink is Down. Attempts to change this object MUST be rejected\n(in case of SNMP with the error inconsistentValue), if the\nlink is Up or Initializing.\n\nNote that the current SNR margin of the PMEs comprising the\nEFMCu port is represented by efmCuPmeSnrMgn.\n\nThis object MUST be maintained in a persistent manner.") efmCuAdaptiveSpectra = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuAdaptiveSpectra.setDescription("Indicates how to utilize excess capacity when the copper\nenvironment allows a higher total data rate to be achieved\nthan that specified by the efmCuTargetDataRate.\n\nA value of true(1) indicates that the excess capability SHALL\nbe reclaimed by minimizing transmit power, e.g., using higher\nconstellations and Power Back-Off, in order to reduce\ninterference to other copper pairs in the binder and the\nadverse impact to link/system performance.\n\nA value of false(2) indicates that the excess capability SHALL\nbe converted to additional SNR margin and spread evenly across\nall active PMEs assigned to the (PCS) port, to increase link\nrobustness.\n\nThis object is read-write for the -O subtype EFMCu ports\n(2BaseTL-O/10PassTS-O) and not available for the -R subtypes.\n\nChanging of this object MUST be performed when the link is\n\n\n\nDown. Attempts to change this object MUST be rejected (in\ncase of SNMP with the error inconsistentValue), if the link\nis Up or Initializing.\n\nThis object MUST be maintained in a persistent manner.") efmCuThreshLowRate = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuThreshLowRate.setDescription("This object configures the EFMCu port low-rate crossing alarm\nthreshold. When the current value of ifSpeed for this port\nreaches/drops below or exceeds this threshold, an\nefmCuLowRateCrossing notification MAY be generated if enabled\nby efmCuLowRateCrossingEnable.\n\nThis object is read-write for the -O subtype EFMCu ports\n(2BaseTL-O/10PassTS-O) and not available for the -R subtypes.\n\nThis object MUST be maintained in a persistent manner.") efmCuLowRateCrossingEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 1, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuLowRateCrossingEnable.setDescription("Indicates whether efmCuLowRateCrossing notifications should\nbe generated for this interface.\n\nA value of true(1) indicates that efmCuLowRateCrossing\nnotification is enabled. A value of false(2) indicates that\nthe notification is disabled.\n\nThis object is read-write for the -O subtype EFMCu ports\n(2BaseTL-O/10PassTS-O) and not available for the -R subtypes.\n\nThis object MUST be maintained in a persistent manner.") efmCuPortCapabilityTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 1, 2)) if mibBuilder.loadTexts: efmCuPortCapabilityTable.setDescription("Table for Capabilities of EFMCu 2BASE-TL/10PASS-TS (PCS)\nPorts. Entries in this table MUST be maintained in a\npersistent manner") efmCuPortCapabilityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: efmCuPortCapabilityEntry.setDescription("An entry in the EFMCu Port Capability table.\nEach entry represents an EFMCu port indexed by the ifIndex.\nNote that an EFMCu PCS port runs on top of a single\nor multiple PME port(s), which are also indexed by ifIndex.") efmCuPAFSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFSupported.setDescription("PME Aggregation Function (PAF) capability of the EFMCu port\n(PCS).\nThis object has a value of true(1) when the PCS can perform\nPME aggregation on the available PMEs.\nPorts incapable of PAF SHALL return a value of false(2).\n\nThis object maps to the Clause 30 attribute aPAFSupported.\n\nIf a Clause 45 MDIO Interface to the PCS is present,\nthen this object maps to the PAF available bit in the\n10P/2B capability register.") efmCuPeerPAFSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 2, 1, 2), EfmTruthValueOrUnknown()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPeerPAFSupported.setDescription("PME Aggregation Function (PAF) capability of the EFMCu port\n(PCS) link partner.\nThis object has a value of true(1) when the remote PCS can\nperform PME aggregation on its available PMEs.\nPorts whose peers are incapable of PAF SHALL return a value\nof false(2).\nPorts whose peers cannot be reached because of the link\nstate SHALL return a value of unknown(0).\n\nThis object maps to the Clause 30 attribute\naRemotePAFSupported.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the Remote PAF supported bit in the\n10P/2B capability register.") efmCuPAFCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFCapacity.setDescription("Number of PMEs that can be aggregated by the local PAF.\nThe number of PMEs currently assigned to a particular\nEFMCu port (efmCuNumPMEs) is never greater than\nefmCuPAFCapacity.\n\nThis object maps to the Clause 30 attribute\naLocalPAFCapacity.") efmCuPeerPAFCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPeerPAFCapacity.setDescription("Number of PMEs that can be aggregated by the PAF of the peer\nPHY (PCS port).\nA value of 0 is returned when peer PAF capacity is unknown\n(peer cannot be reached).\n\n\n\n\nThis object maps to the Clause 30 attribute\naRemotePAFCapacity.") efmCuPortStatusTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 1, 3)) if mibBuilder.loadTexts: efmCuPortStatusTable.setDescription("This table provides overall status information of EFMCu\n2BASE-TL/10PASS-TS ports, complementing the generic status\ninformation from the ifTable of IF-MIB and ifMauTable of\nMAU-MIB. Additional status information about connected PMEs\nis available from the efmCuPmeStatusTable.\n\nThis table contains live data from the equipment. As such,\nit is NOT persistent.") efmCuPortStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: efmCuPortStatusEntry.setDescription("An entry in the EFMCu Port Status table.\nEach entry represents an EFMCu port indexed by the ifIndex.\nNote that an EFMCu PCS port runs on top of a single\nor multiple PME port(s), which are also indexed by ifIndex.") efmCuFltStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 1), Bits().subtype(namedValues=NamedValues(("noPeer", 0), ("peerPowerLoss", 1), ("pmeSubTypeMismatch", 2), ("lowRate", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuFltStatus.setDescription("EFMCu (PCS) port Fault Status. This is a bitmap of possible\nconditions. The various bit positions are:\n noPeer - the peer PHY cannot be reached (e.g.,\n no PMEs attached, all PMEs are Down,\n etc.). More info is available in\n efmCuPmeFltStatus.\n peerPowerLoss - the peer PHY has indicated impending\n unit failure due to loss of local\n power ('Dying Gasp').\n pmeSubTypeMismatch - local PMEs in the aggregation group\n are not of the same subtype, e.g.,\n some PMEs in the local device are -O\n while others are -R subtype.\n lowRate - ifSpeed of the port reached or dropped\n below efmCuThreshLowRate.\n\nThis object is intended to supplement the ifOperStatus object\nin IF-MIB and ifMauMediaAvailable in MAU-MIB.\n\nAdditional information is available via the efmCuPmeFltStatus\nobject for each PME in the aggregation group (single PME if\nPAF is disabled).") efmCuPortSide = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("subscriber", 1), ("office", 2), ("unknown", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPortSide.setDescription("EFM port mode of operation (subtype).\nThe value of 'subscriber' indicates that the port is\n\n\n\ndesignated as '-R' subtype (all PMEs assigned to this port are\nof subtype '-R').\nThe value of the 'office' indicates that the port is\ndesignated as '-O' subtype (all PMEs assigned to this port are\nof subtype '-O').\nThe value of 'unknown' indicates that the port has no assigned\nPMEs yet or that the assigned PMEs are not of the same side\n(subTypePMEMismatch).\n\nThis object partially maps to the Clause 30 attribute\naPhyEnd.") efmCuNumPMEs = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuNumPMEs.setDescription("The number of PMEs that is currently aggregated by the local\nPAF (assigned to the EFMCu port using the ifStackTable).\nThis number is never greater than efmCuPAFCapacity.\n\nThis object SHALL be automatically incremented or decremented\nwhen a PME is added or deleted to/from the EFMCu port using\nthe ifStackTable.") efmCuPAFInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInErrors.setDescription("The number of fragments that have been received across the\ngamma interface with RxErr asserted and discarded.\nThis read-only counter is inactive (not incremented) when the\nPAF is unsupported or disabled. Upon disabling the PAF, the\ncounter retains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF RX error register.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\n\n\n\ndefined in IF-MIB.") efmCuPAFInSmallFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInSmallFragments.setDescription("The number of fragments smaller than minFragmentSize\n(64 bytes) that have been received across the gamma interface\nand discarded.\nThis read-only counter is inactive when the PAF is\nunsupported or disabled. Upon disabling the PAF, the counter\nretains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF small fragments register.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPAFInLargeFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInLargeFragments.setDescription("The number of fragments larger than maxFragmentSize\n(512 bytes) that have been received across the gamma interface\nand discarded.\nThis read-only counter is inactive when the PAF is\nunsupported or disabled. Upon disabling the PAF, the counter\nretains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF large fragments register.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPAFInBadFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInBadFragments.setDescription("The number of fragments that do not fit into the sequence\nexpected by the frame assembly function and that have been\nreceived across the gamma interface and discarded (the\nframe buffer is flushed to the next valid frame start).\nThis read-only counter is inactive when the PAF is\nunsupported or disabled. Upon disabling the PAF, the counter\nretains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF bad fragments register.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPAFInLostFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInLostFragments.setDescription("The number of gaps in the sequence of fragments that have\nbeen received across the gamma interface (the frame buffer is\nflushed to the next valid frame start, when fragment/fragments\nexpected by the frame assembly function is/are not received).\nThis read-only counter is inactive when the PAF is\nunsupported or disabled. Upon disabling the PAF, the counter\nretains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF lost fragment register.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPAFInLostStarts = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInLostStarts.setDescription("The number of missing StartOfPacket indicators expected by\nthe frame assembly function.\nThis read-only counter is inactive when the PAF is\nunsupported or disabled. Upon disabling the PAF, the counter\nretains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF lost start of fragment\nregister.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPAFInLostEnds = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInLostEnds.setDescription("The number of missing EndOfPacket indicators expected by the\nframe assembly function.\nThis read-only counter is inactive when the PAF is\nunsupported or disabled. Upon disabling the PAF, the counter\nretains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF lost start of fragment\nregister.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPAFInOverflows = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPAFInOverflows.setDescription("The number of fragments, received across the gamma interface\nand discarded, which would have caused the frame assembly\nbuffer to overflow.\nThis read-only counter is inactive when the PAF is\nunsupported or disabled. Upon disabling the PAF, the counter\nretains its previous value.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then\nthis object maps to the 10P/2B PAF overflow register.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPme = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 1, 2)) efmCuPmeNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 1, 2, 0)) efmCuPmeConfTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 1)) if mibBuilder.loadTexts: efmCuPmeConfTable.setDescription("Table for Configuration of common aspects for EFMCu\n2BASE-TL/10PASS-TS PME ports (modems). Configuration of\naspects specific to 2BASE-TL or 10PASS-TS PME types is\nrepresented in efmCuPme2BConfTable and efmCuPme10PConfTable,\nrespectively.\n\nEntries in this table MUST be maintained in a persistent\nmanner.") efmCuPmeConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: efmCuPmeConfEntry.setDescription("An entry in the EFMCu PME Configuration table.\nEach entry represents common aspects of an EFMCu PME port\nindexed by the ifIndex. Note that an EFMCu PME port can be\nstacked below a single PCS port, also indexed by ifIndex,\npossibly together with other PME ports if PAF is enabled.") efmCuPmeAdminSubType = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(5,2,4,1,6,3,7,)).subtype(namedValues=NamedValues(("ieee2BaseTLO", 1), ("ieee2BaseTLR", 2), ("ieee10PassTSO", 3), ("ieee10PassTSR", 4), ("ieee2BaseTLor10PassTSR", 5), ("ieee2BaseTLor10PassTSO", 6), ("ieee10PassTSor2BaseTLO", 7), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeAdminSubType.setDescription("Administrative (desired) subtype of the PME.\nPossible values are:\n ieee2BaseTLO - PME SHALL operate as 2BaseTL-O\n ieee2BaseTLR - PME SHALL operate as 2BaseTL-R\n ieee10PassTSO - PME SHALL operate as 10PassTS-O\n ieee10PassTSR - PME SHALL operate as 10PassTS-R\n ieee2BaseTLor10PassTSR - PME SHALL operate as 2BaseTL-R or\n 10PassTS-R. The actual value will\n be set by the -O link partner\n during initialization (handshake).\n ieee2BaseTLor10PassTSO - PME SHALL operate as 2BaseTL-O\n (preferred) or 10PassTS-O. The\n actual value will be set during\n initialization depending on the -R\n link partner capability (i.e., if\n -R is incapable of the preferred\n 2BaseTL mode, 10PassTS will be\n used).\n ieee10PassTSor2BaseTLO - PME SHALL operate as 10PassTS-O\n\n\n\n (preferred) or 2BaseTL-O. The\n actual value will be set during\n initialization depending on the -R\n link partner capability (i.e., if\n -R is incapable of the preferred\n 10PassTS mode, 2BaseTL will be\n used).\n\nChanging efmCuPmeAdminSubType is a traffic-disruptive\noperation and as such SHALL be done when the link is Down.\nAttempts to change this object SHALL be rejected if the link\nis Up or Initializing.\nAttempts to change this object to an unsupported subtype\n(see efmCuPmeSubTypesSupported) SHALL be rejected.\n\nThe current operational subtype is indicated by the\nefmCuPmeOperSubType variable.\n\nIf a Clause 45 MDIO Interface to the PMA/PMD is present, then\nthis object combines values of the Port subtype select bits\nand the PMA/PMD type selection bits in the 10P/2B PMA/PMD\ncontrol register.") efmCuPmeAdminProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 2), EfmProfileIndexOrZero().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeAdminProfile.setDescription("Desired PME configuration profile. This object is a pointer\nto an entry in either the efmCuPme2BProfileTable or the\nefmCuPme10PProfileTable, depending on the current operating\nSubType of the PME. The value of this object is the index of\nthe referenced profile.\nThe value of zero (default) indicates that the PME is\nconfigured via the efmCuAdminProfile object for the PCS port\nto which this PME is assigned. That is, the profile\nreferenced by efmCuPmeAdminProfile takes precedence\nover the profile(s) referenced by efmCuAdminProfile.\n\nThis object is writable and readable for the CO subtype PMEs\n(2BaseTL-O or 10PassTS-O). It is irrelevant for the CPE\nsubtype (2BaseTL-R or 10PassTS-R) -- a zero value SHALL be\nreturned on an attempt to read this object and any attempt\nto change this object MUST be rejected in this case.\n\n\n\n\nNote that the current operational profile value is available\nvia efmCuPmeOperProfile object.\n\nAny modification of this object MUST be performed when the\nlink is Down. Attempts to change this object MUST be\nrejected, if the link is Up or Initializing.\n\nAttempts to set this object to a value that is not the value\nof the index for an active entry in the corresponding profile\ntable MUST be rejected.\n\nThis object maps to the Clause 30 attribute aProfileSelect.\n\nThis object MUST be maintained in a persistent manner.") efmCuPAFRemoteDiscoveryCode = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 3), PhysAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(6,6),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPAFRemoteDiscoveryCode.setDescription("PAF Remote Discovery Code of the PME port at the CO.\nThe 6-octet Discovery Code of the peer PCS connected via\nthe PME.\nReading this object results in a Discovery Get operation.\nSetting this object to all zeroes results in a Discovery\nClear_if_Same operation (the value of efmCuPAFDiscoveryCode\nat the peer PCS SHALL be the same as efmCuPAFDiscoveryCode of\nthe local PCS associated with the PME for the operation to\nsucceed).\nWriting a non-zero value to this object results in a\nDiscovery Set_if_Clear operation.\nA zero-length octet string SHALL be returned on an attempt to\nread this object when PAF aggregation is not enabled.\n\nThis object is irrelevant in CPE port (-R) subtypes: in this\ncase, a zero-length octet string SHALL be returned on an\nattempt to read this object; writing to this object SHALL\nbe rejected.\n\nDiscovery MUST be performed when the link is Down.\nAttempts to change this object MUST be rejected (in case of\nSNMP with the error inconsistentValue), if the link is Up or\nInitializing.\n\n\n\n\nIf a Clause 45 MDIO Interface to the PMA/PMD is present, then\nthis object is a function of 10P/2B aggregation discovery\ncontrol register, Discovery operation result bits in 10P/2B\naggregation and discovery status register and\n10P/2B aggregation discovery code register.") efmCuPmeThreshLineAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeThreshLineAtn.setDescription("Desired Line Attenuation threshold for the 2B/10P PME.\nThis object configures the line attenuation alarm threshold.\nWhen the current value of Line Attenuation reaches or\nexceeds this threshold, an efmCuPmeLineAtnCrossing\nnotification MAY be generated, if enabled by\nefmCuPmeLineAtnCrossingEnable.\n\nThis object is writable for the CO subtype PMEs (-O).\nIt is read-only for the CPE subtype (-R).\n\nChanging of the Line Attenuation threshold MUST be performed\nwhen the link is Down. Attempts to change this object MUST be\nrejected (in case of SNMP with the error inconsistentValue),\nif the link is Up or Initializing.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject maps to the loop attenuation threshold bits in\nthe 2B PMD line quality thresholds register.") efmCuPmeThreshSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeThreshSnrMgn.setDescription("Desired SNR margin threshold for the 2B/10P PME.\nThis object configures the SNR margin alarm threshold.\nWhen the current value of SNR margin reaches or exceeds this\nthreshold, an efmCuPmeSnrMgnCrossing notification MAY be\ngenerated, if enabled by efmCuPmeSnrMgnCrossingEnable.\n\n\n\nThis object is writable for the CO subtype PMEs\n(2BaseTL-O/10PassTS-O). It is read-only for the CPE subtype\n(2BaseTL-R/10PassTS-R).\n\nChanging of the SNR margin threshold MUST be performed when\nthe link is Down. Attempts to change this object MUST be\nrejected (in case of SNMP with the error inconsistentValue),\nif the link is Up or Initializing.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject maps to the SNR margin threshold bits in the 2B PMD\nline quality thresholds register.") efmCuPmeLineAtnCrossingEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeLineAtnCrossingEnable.setDescription("Indicates whether efmCuPmeLineAtnCrossing notifications\nshould be generated for this interface.\n\nA value of true(1) indicates that efmCuPmeLineAtnCrossing\nnotification is enabled. A value of false(2) indicates that\nthe notification is disabled.") efmCuPmeSnrMgnCrossingEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeSnrMgnCrossingEnable.setDescription("Indicates whether efmCuPmeSnrMgnCrossing notifications\nshould be generated for this interface.\n\nA value of true(1) indicates that efmCuPmeSnrMgnCrossing\nnotification is enabled. A value of false(2) indicates that\nthe notification is disabled.") efmCuPmeDeviceFaultEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeDeviceFaultEnable.setDescription("Indicates whether efmCuPmeDeviceFault notifications\n\n\n\nshould be generated for this interface.\n\nA value of true(1) indicates that efmCuPmeDeviceFault\nnotification is enabled. A value of false(2) indicates that\nthe notification is disabled.") efmCuPmeConfigInitFailEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeConfigInitFailEnable.setDescription("Indicates whether efmCuPmeConfigInitFailure notifications\nshould be generated for this interface.\n\nA value of true(1) indicates that efmCuPmeConfigInitFailure\nnotification is enabled. A value of false(2) indicates that\nthe notification is disabled.") efmCuPmeProtocolInitFailEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 1, 1, 10), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: efmCuPmeProtocolInitFailEnable.setDescription("Indicates whether efmCuPmeProtocolInitFailure notifications\nshould be generated for this interface.\n\nA value of true(1) indicates that efmCuPmeProtocolInitFailure\nnotification is enabled. A value of false(2) indicates that\nthe notification is disabled.") efmCuPmeCapabilityTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 2)) if mibBuilder.loadTexts: efmCuPmeCapabilityTable.setDescription("Table for the configuration of common aspects for EFMCu\n2BASE-TL/10PASS-TS PME ports (modems). The configuration of\naspects specific to 2BASE-TL or 10PASS-TS PME types is\nrepresented in the efmCuPme2BConfTable and the\nefmCuPme10PConfTable, respectively.\n\nEntries in this table MUST be maintained in a persistent\nmanner.") efmCuPmeCapabilityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: efmCuPmeCapabilityEntry.setDescription("An entry in the EFMCu PME Capability table.\nEach entry represents common aspects of an EFMCu PME port\nindexed by the ifIndex. Note that an EFMCu PME port can be\nstacked below a single PCS port, also indexed by ifIndex,\npossibly together with other PME ports if PAF is enabled.") efmCuPmeSubTypesSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 2, 1, 1), Bits().subtype(namedValues=NamedValues(("ieee2BaseTLO", 0), ("ieee2BaseTLR", 1), ("ieee10PassTSO", 2), ("ieee10PassTSR", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeSubTypesSupported.setDescription("PME supported subtypes. This is a bitmap of possible\nsubtypes. The various bit positions are:\n ieee2BaseTLO - PME is capable of operating as 2BaseTL-O\n ieee2BaseTLR - PME is capable of operating as 2BaseTL-R\n ieee10PassTSO - PME is capable of operating as 10PassTS-O\n ieee10PassTSR - PME is capable of operating as 10PassTS-R\n\nThe desired mode of operation is determined by\nefmCuPmeAdminSubType, while efmCuPmeOperSubType reflects the\ncurrent operating mode.\n\nIf a Clause 45 MDIO Interface to the PCS is present, then this\nobject combines the 10PASS-TS capable and 2BASE-TL capable\nbits in the 10P/2B PMA/PMD speed ability register and the\nCO supported and CPE supported bits in the 10P/2B PMA/PMD\nstatus register.") efmCuPmeStatusTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 3)) if mibBuilder.loadTexts: efmCuPmeStatusTable.setDescription("This table provides common status information of EFMCu\n2BASE-TL/10PASS-TS PME ports. Status information specific\nto 10PASS-TS PME is represented in efmCuPme10PStatusTable.\n\nThis table contains live data from the equipment. As such,\nit is NOT persistent.") efmCuPmeStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: efmCuPmeStatusEntry.setDescription("An entry in the EFMCu PME Status table.\nEach entry represents common aspects of an EFMCu PME port\nindexed by the ifIndex. Note that an EFMCu PME port can be\nstacked below a single PCS port, also indexed by ifIndex,\npossibly together with other PME ports if PAF is enabled.") efmCuPmeOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("up", 1), ("downNotReady", 2), ("downReady", 3), ("init", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeOperStatus.setDescription("Current PME link Operational Status. Possible values are:\nup(1) - The link is Up and ready to pass\n 64/65-octet encoded frames or fragments.\ndownNotReady(2) - The link is Down and the PME does not\n detect Handshake tones from its peer.\n This value may indicate a possible\n problem with the peer PME.\ndownReady(3) - The link is Down and the PME detects\n Handshake tones from its peer.\ninit(4) - The link is Initializing, as a result of\n ifAdminStatus being set to 'up' for a\n particular PME or a PCS to which the PME\n is connected.\n\nThis object is intended to supplement the Down(2) state of\nifOperStatus.\n\nThis object partially maps to the Clause 30 attribute\naPMEStatus.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject partially maps to PMA/PMD link status bits in 10P/2B\nPMA/PMD status register.") efmCuPmeFltStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 2), Bits().subtype(namedValues=NamedValues(("lossOfFraming", 0), ("snrMgnDefect", 1), ("lineAtnDefect", 2), ("deviceFault", 3), ("configInitFailure", 4), ("protocolInitFailure", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeFltStatus.setDescription("Current/Last PME link Fault Status. This is a bitmap of\npossible conditions. The various bit positions are:\n\n lossOfFraming - Loss of Framing for 10P or\n Loss of Sync word for 2B PMD or\n Loss of 64/65-octet framing.\n\n\n\n snrMgnDefect - SNR margin dropped below the\n threshold.\n lineAtnDefect - Line Attenuation exceeds the\n threshold.\n deviceFault - Indicates a vendor-dependent\n diagnostic or self-test fault\n has been detected.\n configInitFailure - Configuration initialization failure,\n due to inability of the PME link to\n support the configuration profile,\n requested during initialization.\n protocolInitFailure - Protocol initialization failure, due\n to an incompatible protocol used by\n the peer PME during init (that could\n happen if a peer PMD is a regular\n G.SDHSL/VDSL modem instead of a\n 2BASE-TL/10PASS-TS PME).\n\nThis object is intended to supplement ifOperStatus in IF-MIB.\n\nThis object holds information about the last fault.\nefmCuPmeFltStatus is cleared by the device restart.\nIn addition, lossOfFraming, configInitFailure, and\nprotocolInitFailure are cleared by PME init;\ndeviceFault is cleared by successful diagnostics/test;\nsnrMgnDefect and lineAtnDefect are cleared by SNR margin\nand Line attenuation, respectively, returning to norm and by\nPME init.\n\nThis object partially maps to the Clause 30 attribute\naPMEStatus.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject consolidates information from various PMA/PMD\nregisters, namely: Fault bit in PMA/PMD status 1 register,\n10P/2B PMA/PMD link loss register,\n10P outgoing indicator bits status register,\n10P incoming indicator bits status register,\n2B state defects register.") efmCuPmeOperSubType = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("ieee2BaseTLO", 1), ("ieee2BaseTLR", 2), ("ieee10PassTSO", 3), ("ieee10PassTSR", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeOperSubType.setDescription("Current operational subtype of the PME.\nPossible values are:\n ieee2BaseTLO - PME operates as 2BaseTL-O\n ieee2BaseTLR - PME operates as 2BaseTL-R\n ieee10PassTSO - PME operates as 10PassTS-O\n ieee10PassTSR - PME operates as 10PassTS-R\n\nThe desired operational subtype of the PME can be configured\nvia the efmCuPmeAdminSubType variable.\n\nIf a Clause 45 MDIO Interface to the PMA/PMD is present, then\nthis object combines values of the Port subtype select\nbits, the PMA/PMD type selection bits in the 10P/2B\nPMA/PMD control register, and the PMA/PMD link status bits in\nthe 10P/2B PMA/PMD status register.") efmCuPmeOperProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 4), EfmProfileIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeOperProfile.setDescription("PME current operating profile. This object is a pointer to\nan entry in either the efmCuPme2BProfileTable or the\nefmCuPme10PProfileTable, depending on the current operating\nSubType of the PME as indicated by efmCuPmeOperSubType.\nNote that a profile entry to which efmCuPmeOperProfile is\npointing can be created automatically to reflect achieved\nparameters in adaptive (not fixed) initialization,\ni.e., values of efmCuPmeOperProfile and efmCuAdminProfile or\nefmCuPmeAdminProfile may differ.\nThe value of zero indicates that the PME is Down or\nInitializing.\n\nThis object partially maps to the aOperatingProfile attribute\nin Clause 30.") efmCuPmeSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-127,128),ValueRangeConstraint(65535,65535),))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeSnrMgn.setDescription("The current Signal to Noise Ratio (SNR) margin with respect\nto the received signal as perceived by the local PME.\nThe value of 65535 is returned when the PME is Down or\nInitializing.\n\nThis object maps to the aPMESNRMgn attribute in Clause 30.\n\nIf a Clause 45 MDIO Interface is present, then this\nobject maps to the 10P/2B RX SNR margin register.") efmCuPmePeerSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-127,128),ValueRangeConstraint(65535,65535),))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmePeerSnrMgn.setDescription("The current SNR margin in dB with respect to the received\nsignal, as perceived by the remote (link partner) PME.\nThe value of 65535 is returned when the PME is Down or\nInitializing.\n\nThis object is irrelevant for the -R PME subtypes. The value\nof 65535 SHALL be returned in this case.\n\nIf a Clause 45 MDIO Interface is present, then this\nobject maps to the 10P/2B link partner RX SNR margin\nregister.") efmCuPmeLineAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-127,128),ValueRangeConstraint(65535,65535),))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeLineAtn.setDescription("The current Line Attenuation in dB as perceived by the local\nPME.\n\n\n\nThe value of 65535 is returned when the PME is Down or\nInitializing.\n\nIf a Clause 45 MDIO Interface is present, then this\nobject maps to the Line Attenuation register.") efmCuPmePeerLineAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-127,128),ValueRangeConstraint(65535,65535),))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmePeerLineAtn.setDescription("The current Line Attenuation in dB as perceived by the remote\n(link partner) PME.\nThe value of 65535 is returned when the PME is Down or\nInitializing.\n\nThis object is irrelevant for the -R PME subtypes. The value\nof 65535 SHALL be returned in this case.\n\nIf a Clause 45 MDIO Interface is present, then this\nobject maps to the 20P/2B link partner Line Attenuation\nregister.") efmCuPmeEquivalentLength = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 9), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,8192),ValueRangeConstraint(65535,65535),))).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeEquivalentLength.setDescription("An estimate of the equivalent loop's physical length in\nmeters, as perceived by the PME after the link is established.\nAn equivalent loop is a hypothetical 26AWG (0.4mm) loop with a\nperfect square root attenuation characteristic, without any\nbridged taps.\nThe value of 65535 is returned if the link is Down or\nInitializing or the PME is unable to estimate the equivalent\nlength.\n\nFor a 10BASE-TL PME, if a Clause 45 MDIO Interface to the PME\nis present, then this object maps to the 10P Electrical Length\nregister.") efmCuPmeTCCodingErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeTCCodingErrors.setDescription("The number of 64/65-octet encapsulation errors. This counter\nis incremented for each 64/65-octet encapsulation error\ndetected by the 64/65-octet receive function.\n\nThis object maps to aTCCodingViolations attribute in\nClause 30.\n\nIf a Clause 45 MDIO Interface to the PME TC is present, then\nthis object maps to the TC coding violations register\n(see 45.2.6.12).\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPmeTCCrcErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPmeTCCrcErrors.setDescription("The number of TC-CRC errors. This counter is incremented for\neach TC-CRC error detected by the 64/65-octet receive function\n(see 61.3.3.3 and Figure 61-19).\n\nThis object maps to aTCCRCErrors attribute in\nClause 30.\n\nIf a Clause 45 MDIO Interface to the PME TC is present, then\nthis object maps to the TC CRC error register\n(see 45.2.6.11).\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPme2B = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 1, 2, 5)) efmCuPme2BProfileTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2)) if mibBuilder.loadTexts: efmCuPme2BProfileTable.setDescription("This table supports definitions of administrative and\noperating profiles for 2BASE-TL PMEs.\nThe first 14 entries in this table SHALL always be defined as\nfollows (see 802.3ah Annex 63A):\n-------+-------+-------+-----+------+-------------+-----------\nProfile MinRate MaxRate Power Region Constellation Comment\n index (Kbps) (Kbps) (dBm)\n-------+-------+-------+-----+------+-------------+-----------\n 1 5696 5696 13.5 1 32-TCPAM default\n 2 3072 3072 13.5 1 32-TCPAM\n 3 2048 2048 13.5 1 16-TCPAM\n 4 1024 1024 13.5 1 16-TCPAM\n 5 704 704 13.5 1 16-TCPAM\n 6 512 512 13.5 1 16-TCPAM\n 7 5696 5696 14.5 2 32-TCPAM\n 8 3072 3072 14.5 2 32-TCPAM\n 9 2048 2048 14.5 2 16-TCPAM\n 10 1024 1024 13.5 2 16-TCPAM\n 11 704 704 13.5 2 16-TCPAM\n 12 512 512 13.5 2 16-TCPAM\n 13 192 5696 0 1 0 best effort\n 14 192 5696 0 2 0 best effort\n-------+-------+-------+-----+------+-------------+-----------\n\nThese default entries SHALL be created during agent\ninitialization and MUST NOT be deleted.\n\nEntries following the first 14 can be dynamically created and\ndeleted to provide custom administrative (configuration)\nprofiles and automatic operating profiles.\n\nThis table MUST be maintained in a persistent manner.") efmCuPme2BProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1)).setIndexNames((0, "EFM-CU-MIB", "efmCuPme2BProfileIndex")) if mibBuilder.loadTexts: efmCuPme2BProfileEntry.setDescription("Each entry corresponds to a single 2BASE-TL PME profile.\nEach profile contains a set of parameters, used either for\nconfiguration or representation of a 2BASE-TL PME.\nIn case a particular profile is referenced via the\nefmCuPmeAdminProfile object (or efmCuAdminProfile if\nefmCuPmeAdminProfile is zero), it represents the desired\nparameters for the 2BaseTL-O PME initialization.\nIf a profile is referenced via an efmCuPmeOperProfile object,\nit represents the current operating parameters of an\noperational PME.\n\nProfiles may be created/deleted using the row creation/\ndeletion mechanism via efmCuPme2BProfileRowStatus. If an\nactive entry is referenced, the entry MUST remain 'active'\nuntil all references are removed.\nDefault entries MUST NOT be removed.") efmCuPme2BProfileIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 1), EfmProfileIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: efmCuPme2BProfileIndex.setDescription("2BASE-TL PME profile index.\nThis object is the unique index associated with this profile.\nEntries in this table are referenced via efmCuAdminProfile or\nefmCuPmeAdminProfile objects.") efmCuPme2BProfileDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BProfileDescr.setDescription("A textual string containing information about a 2BASE-TL PME\nprofile. The string may include information about the data\nrate and spectral limitations of this particular profile.") efmCuPme2BRegion = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("region1", 1), ("region2", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BRegion.setDescription("Regional settings for a 2BASE-TL PME, as specified in the\nrelevant Regional Annex of [G.991.2].\nRegional settings specify the Power Spectral Density (PSD)\nmask and the Power Back-Off (PBO) values, and place\nlimitations on the max allowed data rate, power, and\nconstellation.\n\nPossible values for this object are:\n region1 - Annexes A and F (e.g., North America)\n region2 - Annexes B and G (e.g., Europe)\n\nAnnex A/B specify regional settings for data rates 192-2304\nKbps using 16-TCPAM encoding.\nAnnex F/G specify regional settings for rates 2320-3840 Kbps\nusing 16-TCPAM encoding and 768-5696 Kbps using 32-TCPAM\nencoding.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject partially maps to the Region bits in the 2B general\nparameter register.") efmCuPme2BsMode = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 4), EfmProfileIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BsMode.setDescription("Desired custom Spectral Mode for a 2BASE-TL PME. This object\n\n\n\nis a pointer to an entry in efmCuPme2BsModeTable and a block\nof entries in efmCuPme2BRateReachTable, which together define\n(country-specific) reach-dependent rate limitations in\naddition to those defined by efmCuPme2BRegion.\n\nThe value of this object is the index of the referenced\nspectral mode.\nThe value of zero (default) indicates that no specific\nspectral mode is applicable.\n\nAttempts to set this object to a value that is not the value\nof the index for an active entry in the corresponding spectral\nmode table MUST be rejected.") efmCuPme2BMinDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(192, 5696))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BMinDataRate.setDescription("Minimum Data Rate for the 2BASE-TL PME.\nThis object can take values of (n x 64)Kbps,\nwhere n=3..60 for 16-TCPAM and n=12..89 for 32-TCPAM encoding.\n\nThe data rate of the 2BASE-TL PME is considered 'fixed' when\nthe value of this object equals that of efmCuPme2BMaxDataRate.\nIf efmCuPme2BMinDataRate is less than efmCuPme2BMaxDataRate in\nthe administrative profile, the data rate is considered\n'adaptive', and SHALL be set to the maximum attainable rate\nnot exceeding efmCuPme2BMaxDataRate, under the spectral\nlimitations placed by the efmCuPme2BRegion and\nefmCuPme2BsMode.\n\nNote that the current operational data rate of the PME is\nrepresented by the ifSpeed object of IF-MIB.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject maps to the Min Data Rate1 bits in the 2B PMD\nparameters register.\n\nThis object MUST be maintained in a persistent manner.") efmCuPme2BMaxDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(192, 5696))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BMaxDataRate.setDescription("Maximum Data Rate for the 2BASE-TL PME.\nThis object can take values of (n x 64)Kbps,\nwhere n=3..60 for 16-TCPAM and n=12..89 for 32-TCPAM encoding.\n\nThe data rate of the 2BASE-TL PME is considered 'fixed' when\nthe value of this object equals that of efmCuPme2BMinDataRate.\nIf efmCuPme2BMinDataRate is less than efmCuPme2BMaxDataRate in\nthe administrative profile, the data rate is considered\n'adaptive', and SHALL be set to the maximum attainable rate\nnot exceeding efmCuPme2BMaxDataRate, under the spectral\nlimitations placed by the efmCuPme2BRegion and\nefmCuPme2BsMode.\n\nNote that the current operational data rate of the PME is\nrepresented by the ifSpeed object of IF-MIB.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject maps to the Max Data Rate1 bits in the 2B PMD\nparameters register.\n\nThis object MUST be maintained in a persistent manner.") efmCuPme2BPower = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 7), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(10,42),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BPower.setDescription("Signal Transmit Power. Multiple of 0.5 dBm.\nThe value of 0 in the administrative profile means that the\nsignal transmit power is not fixed and SHALL be set to\nmaximize the attainable rate, under the spectral limitations\nplaced by the efmCuPme2BRegion and efmCuPme2BsMode.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject maps to the Power1 bits in the 2B PMD parameters\nregister.") efmCuPme2BConstellation = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(0,2,1,)).subtype(namedValues=NamedValues(("adaptive", 0), ("tcpam16", 1), ("tcpam32", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BConstellation.setDescription("TCPAM Constellation of the 2BASE-TL PME.\nThe possible values are:\n adaptive(0) - either 16- or 32-TCPAM\n tcpam16(1) - 16-TCPAM\n tcpam32(2) - 32-TCPAM\n\nThe value of adaptive(0) in the administrative profile means\nthat the constellation is not fixed and SHALL be set to\nmaximize the attainable rate, under the spectral limitations\nplaced by the efmCuPme2BRegion and efmCuPme2BsMode.\n\nIf a Clause 45 MDIO Interface to the PME is present, then this\nobject maps to the Constellation1 bits in the 2B general\nparameter register.") efmCuPme2BProfileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 2, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BProfileRowStatus.setDescription("This object controls the creation, modification, or deletion\nof the associated entry in the efmCuPme2BProfileTable per the\nsemantics of RowStatus.\n\nIf an 'active' entry is referenced via efmCuAdminProfile or\nefmCuPmeAdminProfile instance(s), the entry MUST remain\n'active'.\n\nAn 'active' entry SHALL NOT be modified. In order to modify\nan existing entry, it MUST be taken out of service (by setting\nthis object to 'notInService'), modified, and set 'active'\nagain.") efmCuPme2BsModeTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 3)) if mibBuilder.loadTexts: efmCuPme2BsModeTable.setDescription("This table, together with efmCu2BReachRateTable, supports\ndefinition of administrative custom spectral modes for\n2BASE-TL PMEs, describing spectral limitations in addition to\nthose specified by efmCuPme2BRegion.\n\nIn some countries, spectral regulations (e.g., UK ANFP) limit\nthe length of the loops for certain data rates. This table\nallows these country-specific limitations to be specified.\n\nEntries in this table referenced by the efmCuPme2BsMode\nMUST NOT be deleted until all the active references are\nremoved.\n\nThis table MUST be maintained in a persistent manner.") efmCuPme2BsModeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 3, 1)).setIndexNames((0, "EFM-CU-MIB", "efmCuPme2BsModeIndex")) if mibBuilder.loadTexts: efmCuPme2BsModeEntry.setDescription("Each entry specifies a spectral mode description and its\nindex, which is used to reference corresponding entries in the\nefmCu2BReachRateTable.\n\nEntries may be created/deleted using the row creation/\ndeletion mechanism via efmCuPme2BsModeRowStatus.") efmCuPme2BsModeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 3, 1, 1), EfmProfileIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: efmCuPme2BsModeIndex.setDescription("2BASE-TL PME Spectral Mode index.\nThis object is the unique index associated with this spectral\nmode.\nEntries in this table are referenced via the efmCuPme2BsMode\nobject.") efmCuPme2BsModeDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 3, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BsModeDescr.setDescription("A textual string containing information about a 2BASE-TL PME\nspectral mode. The string may include information about\ncorresponding (country-specific) spectral regulations\nand rate/reach limitations of this particular spectral mode.") efmCuPme2BsModeRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BsModeRowStatus.setDescription("This object controls creation, modification, or deletion of\nthe associated entry in efmCuPme2BsModeTable per the semantics\nof RowStatus.\n\nIf an 'active' entry is referenced via efmCuPme2BsMode\ninstance(s), the entry MUST remain 'active'.\n\nAn 'active' entry SHALL NOT be modified. In order to modify\nan existing entry, it MUST be taken out of service (by setting\nthis object to 'notInService'), modified, and set 'active'\nagain.") efmCuPme2BReachRateTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 4)) if mibBuilder.loadTexts: efmCuPme2BReachRateTable.setDescription("This table supports the definition of administrative custom\nspectral modes for 2BASE-TL PMEs, providing spectral\nlimitations in addition to those specified by\nefmCuPme2BRegion.\n\n\n\n\nThe spectral regulations in some countries (e.g., UK ANFP)\nlimit the length of the loops for certain data rates.\nThis table allows these country-specific limitations to be\nspecified.\n\nBelow is an example of this table for [ANFP]:\n----------+-------+-------\nEquivalent MaxRate MaxRate\n Length PAM16 PAM32\n (m) (Kbps) (Kbps)\n----------+-------+-------\n 975 2304 5696\n 1125 2304 5504\n 1275 2304 5120\n 1350 2304 4864\n 1425 2304 4544\n 1500 2304 4288\n 1575 2304 3968\n 1650 2304 3776\n 1725 2304 3520\n 1800 2304 3264\n 1875 2304 3072\n 1950 2048 2688\n 2100 1792 2368\n 2250 1536 0\n 2400 1408 0\n 2550 1280 0\n 2775 1152 0\n 2925 1152 0\n 3150 1088 0\n 3375 1024 0\n----------+-------+-------\n\nEntries in this table referenced by an efmCuPme2BsMode\ninstance MUST NOT be deleted.\n\nThis table MUST be maintained in a persistent manner.") efmCuPme2BReachRateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 4, 1)).setIndexNames((0, "EFM-CU-MIB", "efmCuPme2BsModeIndex"), (0, "EFM-CU-MIB", "efmCuPme2BReachRateIndex")) if mibBuilder.loadTexts: efmCuPme2BReachRateEntry.setDescription("Each entry specifies maximum 2BASE-TL PME data rates\nallowed for a certain equivalent loop length, when using\n\n\n\n16-TCPAM or 32-TCPAM encoding.\n\nWhen a 2BASE-TL PME is initialized, its data rate MUST NOT\nexceed one of the following limitations:\n- the value of efmCuPme2BMaxDataRate\n- maximum data rate allowed by efmCuPme2BRegion and\n efmCuPme2BPower\n- maximum data rate for a given encoding specified in the\n efmCuPme2BsModeEntry, corresponding to the equivalent loop\n length, estimated by the PME\n\nIt is RECOMMENDED that the efmCuPme2BEquivalentLength values\nare assigned in increasing order, starting from the minimum\nvalue.\n\nEntries may be created/deleted using the row creation/\ndeletion mechanism via efmCuPme2ReachRateRowStatus.") efmCuPme2BReachRateIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 4, 1, 1), EfmProfileIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: efmCuPme2BReachRateIndex.setDescription("2BASE-TL custom spectral mode Reach-Rate table index.\nThis object is the unique index associated with each entry.") efmCuPme2BEquivalentLength = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8192))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BEquivalentLength.setDescription("Maximum allowed equivalent loop's physical length in meters\nfor the specified data rates.\nAn equivalent loop is a hypothetical 26AWG (0.4mm) loop with a\nperfect square root attenuation characteristic, without any\n\n\n\nbridged taps.") efmCuPme2BMaxDataRatePam16 = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(192,5696),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BMaxDataRatePam16.setDescription("Maximum data rate for a 2BASE-TL PME at the specified\nequivalent loop's length using TC-PAM16 encoding.\nThe value of zero means that TC-PAM16 encoding should not be\nused at this distance.") efmCuPme2BMaxDataRatePam32 = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 4, 1, 4), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(192,5696),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BMaxDataRatePam32.setDescription("Maximum data rate for a 2BASE-TL PME at the specified\nequivalent loop's length using TC-PAM32 encoding.\nThe value of zero means that TC-PAM32 encoding should not be\nused at this distance.") efmCuPme2BReachRateRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 5, 4, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme2BReachRateRowStatus.setDescription("This object controls the creation, modification, or deletion\nof the associated entry in the efmCuPme2BReachRateTable per\nthe semantics of RowStatus.\n\nIf an 'active' entry is referenced via efmCuPme2BsMode\ninstance(s), the entry MUST remain 'active'.\n\nAn 'active' entry SHALL NOT be modified. In order to modify\nan existing entry, it MUST be taken out of service (by setting\nthis object to 'notInService'), modified, and set 'active'\nagain.") efmCuPme10P = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 1, 2, 6)) efmCuPme10PProfileTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1)) if mibBuilder.loadTexts: efmCuPme10PProfileTable.setDescription("This table supports definitions of configuration profiles for\n10PASS-TS PMEs.\nThe first 22 entries in this table SHALL always be defined as\nfollows (see 802.3ah Annex 62B.3, table 62B-1):\n-------+--------+----+---------+-----+-----+---------------\nProfile Bandplan UPBO BandNotch DRate URate Comment\n Index PSDMask# p# p# p# p#\n-------+--------+----+---------+-----+-----+---------------\n 1 1 3 2,6,10,11 20 20 default profile\n 2 13 5 0 20 20\n 3 1 1 0 20 20\n 4 16 0 0 100 100\n 5 16 0 0 70 50\n 6 6 0 0 50 10\n 7 17 0 0 30 30\n 8 8 0 0 30 5\n 9 4 0 0 25 25\n 10 4 0 0 15 15\n 11 23 0 0 10 10\n 12 23 0 0 5 5\n 13 16 0 2,5,9,11 100 100\n 14 16 0 2,5,9,11 70 50\n 15 6 0 2,6,10,11 50 10\n 16 17 0 2,5,9,11 30 30\n 17 8 0 2,6,10,11 30 5\n 18 4 0 2,6,10,11 25 25\n 19 4 0 2,6,10,11 15 15\n 20 23 0 2,5,9,11 10 10\n 21 23 0 2,5,9,11 5 5\n 22 30 0 0 200 50\n-------+--------+----+---------+-----+-----+---------------\n\nThese default entries SHALL be created during agent\ninitialization and MUST NOT be deleted.\n\nEntries following the first 22 can be dynamically created and\ndeleted to provide custom administrative (configuration)\nprofiles and automatic operating profiles.\n\nThis table MUST be maintained in a persistent manner.") efmCuPme10PProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1)).setIndexNames((0, "EFM-CU-MIB", "efmCuPme10PProfileIndex")) if mibBuilder.loadTexts: efmCuPme10PProfileEntry.setDescription("Each entry corresponds to a single 10PASS-TS PME profile.\n\nEach profile contains a set of parameters, used either for\nconfiguration or representation of a 10PASS-TS PME.\nIn case a particular profile is referenced via the\nefmCuPmeAdminProfile object (or efmCuAdminProfile if\nefmCuPmeAdminProfile is zero), it represents the desired\nparameters for the 10PassTS-O PME initialization.\nIf a profile is referenced via an efmCuPmeOperProfile object,\nit represents the current operating parameters of the PME.\n\nProfiles may be created/deleted using the row creation/\ndeletion mechanism via efmCuPme10PProfileRowStatus. If an\n'active' entry is referenced, the entry MUST remain 'active'\nuntil all references are removed.\nDefault entries MUST NOT be removed.") efmCuPme10PProfileIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 1), EfmProfileIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: efmCuPme10PProfileIndex.setDescription("10PASS-TS PME profile index.\nThis object is the unique index associated with this profile.\nEntries in this table are referenced via efmCuAdminProfile or\nefmCuPmeAdminProfile.") efmCuPme10PProfileDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme10PProfileDescr.setDescription("A textual string containing information about a 10PASS-TS PME\nprofile. The string may include information about data rate\nand spectral limitations of this particular profile.") efmCuPme10PBandplanPSDMskProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(28,29,24,25,26,27,20,21,22,23,9,8,5,4,7,6,1,3,2,30,15,14,17,16,11,10,13,12,19,18,)).subtype(namedValues=NamedValues(("profile1", 1), ("profile10", 10), ("profile11", 11), ("profile12", 12), ("profile13", 13), ("profile14", 14), ("profile15", 15), ("profile16", 16), ("profile17", 17), ("profile18", 18), ("profile19", 19), ("profile2", 2), ("profile20", 20), ("profile21", 21), ("profile22", 22), ("profile23", 23), ("profile24", 24), ("profile25", 25), ("profile26", 26), ("profile27", 27), ("profile28", 28), ("profile29", 29), ("profile3", 3), ("profile30", 30), ("profile4", 4), ("profile5", 5), ("profile6", 6), ("profile7", 7), ("profile8", 8), ("profile9", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme10PBandplanPSDMskProfile.setDescription("The 10PASS-TS PME Bandplan and PSD Mask Profile, as specified\nin 802.3ah Annex 62A, table 62A-1. Possible values are:\n--------------+------------------------+------------+--------\nProfile Name PSD Mask Bands G.993.1\n 0/1/2/3/4/5 Bandplan\n--------------+------------------------+------------+--------\nprofile1(1) T1.424 FTTCab.M1 x/D/U/D/U A\nprofile2(2) T1.424 FTTEx.M1 x/D/U/D/U A\nprofile3(3) T1.424 FTTCab.M2 x/D/U/D/U A\nprofile4(4) T1.424 FTTEx.M2 x/D/U/D/U A\nprofile5(5) T1.424 FTTCab.M1 D/D/U/D/U A\nprofile6(6) T1.424 FTTEx.M1 D/D/U/D/U A\nprofile7(7) T1.424 FTTCab.M2 D/D/U/D/U A\nprofile8(8) T1.424 FTTEx.M2 D/D/U/D/U A\nprofile9(9) T1.424 FTTCab.M1 U/D/U/D/x A\nprofile10(10) T1.424 FTTEx.M1 U/D/U/D/x A\nprofile11(11) T1.424 FTTCab.M2 U/D/U/D/x A\nprofile12(12) T1.424 FTTEx.M2 U/D/U/D/x A\nprofile13(13) TS 101 270-1 Pcab.M1.A x/D/U/D/U B\nprofile14(14) TS 101 270-1 Pcab.M1.B x/D/U/D/U B\nprofile15(15) TS 101 270-1 Pex.P1.M1 x/D/U/D/U B\nprofile16(16) TS 101 270-1 Pex.P2.M1 x/D/U/D/U B\nprofile17(17) TS 101 270-1 Pcab.M2 x/D/U/D/U B\nprofile18(18) TS 101 270-1 Pex.P1.M2 x/D/U/D/U B\nprofile19(19) TS 101 270-1 Pex.P2.M2 x/D/U/D/U B\nprofile20(20) TS 101 270-1 Pcab.M1.A U/D/U/D/x B\nprofile21(21) TS 101 270-1 Pcab.M1.B U/D/U/D/x B\nprofile22(22) TS 101 270-1 Pex.P1.M1 U/D/U/D/x B\nprofile23(23) TS 101 270-1 Pex.P2.M1 U/D/U/D/x B\nprofile24(24) TS 101 270-1 Pcab.M2 U/D/U/D/x B\nprofile25(25) TS 101 270-1 Pex.P1.M2 U/D/U/D/x B\nprofile26(26) TS 101 270-1 Pex.P2.M2 U/D/U/D/x B\nprofile27(27) G.993.1 F.1.2.1 x/D/U/D/U Annex F\nprofile28(28) G.993.1 F.1.2.2 x/D/U/D/U Annex F\nprofile29(29) G.993.1 F.1.2.3 x/D/U/D/U Annex F\nprofile30(30) T1.424 FTTCab.M1 (ext.) x/D/U/D/U/D Annex A\n--------------+------------------------+------------+--------") efmCuPme10PUPBOReferenceProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(9,8,5,4,7,6,1,0,3,2,)).subtype(namedValues=NamedValues(("profile0", 0), ("profile1", 1), ("profile2", 2), ("profile3", 3), ("profile4", 4), ("profile5", 5), ("profile6", 6), ("profile7", 7), ("profile8", 8), ("profile9", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme10PUPBOReferenceProfile.setDescription("The 10PASS-TS PME Upstream Power Back-Off (UPBO) Reference\nPSD Profile, as specified in 802.3 Annex 62A, table 62A-3.\nPossible values are:\n------------+-----------------------------\nProfile Name Reference PSD\n------------+-----------------------------\nprofile0(0) no profile\nprofile1(1) T1.424 Noise A M1\nprofile2(2) T1.424 Noise A M2\nprofile3(3) T1.424 Noise F M1\nprofile4(4) T1.424 Noise F M2\nprofile5(5) TS 101 270-1 Noise A&B\nprofile6(6) TS 101 270-1 Noise C\nprofile7(7) TS 101 270-1 Noise D\nprofile8(8) TS 101 270-1 Noise E\nprofile9(9) TS 101 270-1 Noise F\n------------+-----------------------------") efmCuPme10PBandNotchProfiles = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 5), Bits().subtype(namedValues=NamedValues(("profile0", 0), ("profile1", 1), ("profile10", 10), ("profile11", 11), ("profile2", 2), ("profile3", 3), ("profile4", 4), ("profile5", 5), ("profile6", 6), ("profile7", 7), ("profile8", 8), ("profile9", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme10PBandNotchProfiles.setDescription("The 10PASS-TS PME Egress Control Band Notch Profile bitmap,\nas specified in 802.3 Annex 62A, table 62A-4. Possible values\nare:\n--------------+--------+------+------------+------+------\nProfile Name G.991.3 T1.424 TS 101 270-1 StartF EndF\n table table table (MHz) (MHz)\n--------------+--------+------+------------+------+------\nprofile0(0) no profile\nprofile1(1) F-5 #01 - - 1.810 1.825\nprofile2(2) 6-2 15-1 17 1.810 2.000\nprofile3(3) F-5 #02 - - 1.907 1.912\nprofile4(4) F-5 #03 - - 3.500 3.575\nprofile5(5) 6-2 - 17 3.500 3.800\nprofile6(6) - 15-1 - 3.500 4.000\nprofile7(7) F-5 #04 - - 3.747 3.754\nprofile8(8) F-5 #05 - - 3.791 3.805\nprofile9(9) 6-2 - 17 7.000 7.100\nprofile10(10) F-5 #06 15-1 - 7.000 7.300\nprofile11(11) 6-2 15-1 1 10.100 10.150\n--------------+--------+------+------------+------+------\n\nAny combination of profiles can be specified by ORing\nindividual profiles, for example, a value of 0x2230 selects\nprofiles 2, 6, 10, and 11.") efmCuPme10PPayloadDRateProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(25,30,20,15,10,50,70,5,100,140,200,)).subtype(namedValues=NamedValues(("profile10", 10), ("profile100", 100), ("profile140", 140), ("profile15", 15), ("profile20", 20), ("profile200", 200), ("profile25", 25), ("profile30", 30), ("profile5", 5), ("profile50", 50), ("profile70", 70), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme10PPayloadDRateProfile.setDescription("The 10PASS-TS PME Downstream Payload Rate Profile, as\n\n\n\nspecified in 802.3 Annex 62A. Possible values are:\n profile5(5) - 2.5 Mbps\n profile10(10) - 5 Mbps\n profile15(15) - 7.5 Mbps\n profile20(20) - 10 Mbps\n profile25(25) - 12.5 Mbps\n profile30(30) - 15 Mbps\n profile50(50) - 25 Mbps\n profile70(70) - 35 Mbps\n profile100(100) - 50 Mbps\n profile140(140) - 70 Mbps\n profile200(200) - 100 Mbps\n\nEach value represents a target for the PME's Downstream\nPayload Bitrate as seen at the MII. If the payload rate of\nthe selected profile cannot be achieved based on the loop\nenvironment, bandplan, and PSD mask, the PME initialization\nSHALL fail.") efmCuPme10PPayloadURateProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(15,10,100,5,25,30,20,50,70,)).subtype(namedValues=NamedValues(("profile10", 10), ("profile100", 100), ("profile15", 15), ("profile20", 20), ("profile25", 25), ("profile30", 30), ("profile5", 5), ("profile50", 50), ("profile70", 70), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme10PPayloadURateProfile.setDescription("The 10PASS-TS PME Upstream Payload Rate Profile, as specified\nin 802.3 Annex 62A. Possible values are:\n profile5(5) - 2.5 Mbps\n profile10(10) - 5 Mbps\n profile15(15) - 7.5 Mbps\n profile20(20) - 10 Mbps\n profile25(25) - 12.5 Mbps\n profile30(30) - 15 Mbps\n profile50(50) - 25 Mbps\n profile70(70) - 35 Mbps\n profile100(100) - 50 Mbps\n\n\n\nEach value represents a target for the PME's Upstream Payload\nBitrate as seen at the MII. If the payload rate of the\nselected profile cannot be achieved based on the loop\nenvironment, bandplan, and PSD mask, the PME initialization\nSHALL fail.") efmCuPme10PProfileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 1, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: efmCuPme10PProfileRowStatus.setDescription("This object controls creation, modification, or deletion of\nthe associated entry in efmCuPme10PProfileTable per the\nsemantics of RowStatus.\n\nIf an active entry is referenced via efmCuAdminProfile or\nefmCuPmeAdminProfile, the entry MUST remain 'active' until\nall references are removed.\n\nAn 'active' entry SHALL NOT be modified. In order to modify\nan existing entry, it MUST be taken out of service (by setting\nthis object to 'notInService'), modified, and set 'active'\nagain.") efmCuPme10PStatusTable = MibTable((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 2)) if mibBuilder.loadTexts: efmCuPme10PStatusTable.setDescription("This table provides status information of EFMCu 10PASS-TS\nPMEs (modems).\n\nThis table contains live data from the equipment. As such,\nit is NOT persistent.") efmCuPme10PStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: efmCuPme10PStatusEntry.setDescription("An entry in the EFMCu 10PASS-TS PME Status table.") efmCuPme10PFECCorrectedBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPme10PFECCorrectedBlocks.setDescription("The number of received and corrected Forward Error Correction\n(FEC) codewords in this 10PASS-TS PME.\n\nThis object maps to the aPMEFECCorrectedBlocks attribute in\nClause 30.\n\nIf a Clause 45 MDIO Interface to the PMA/PMD is present,\nthen this object maps to the 10P FEC correctable errors\nregister.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuPme10PFECUncorrectedBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 167, 1, 2, 6, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: efmCuPme10PFECUncorrectedBlocks.setDescription("The number of received uncorrectable FEC codewords in this\n10PASS-TS PME.\n\nThis object maps to the aPMEFECUncorrectableBlocks attribute\nin Clause 30.\n\nIf a Clause 45 MDIO Interface to the PMA/PMD is present,\nthen this object maps to the 10P FEC uncorrectable errors\nregister.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other times\n\n\n\nas indicated by the value of ifCounterDiscontinuityTime,\ndefined in IF-MIB.") efmCuConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 2)) efmCuGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 2, 1)) efmCuCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 167, 2, 2)) # Augmentions # Notifications efmCuLowRateCrossing = NotificationType((1, 3, 6, 1, 2, 1, 167, 1, 1, 0, 1)).setObjects(*(("IF-MIB", "ifSpeed"), ("EFM-CU-MIB", "efmCuThreshLowRate"), ) ) if mibBuilder.loadTexts: efmCuLowRateCrossing.setDescription("This notification indicates that the EFMCu port's data rate\nhas reached/dropped below or exceeded the low rate threshold,\nspecified by efmCuThreshLowRate.\n\nThis notification MAY be sent for the -O subtype ports\n(2BaseTL-O/10PassTS-O) while the port is Up, on the crossing\nevent in both directions: from normal (rate is above the\nthreshold) to low (rate equals the threshold or below it) and\n\n\n\nfrom low to normal. This notification is not applicable to\nthe -R subtypes.\n\nIt is RECOMMENDED that a small debouncing period of 2.5 sec,\nbetween the detection of the condition and the notification,\nis implemented to prevent simultaneous LinkUp/LinkDown and\nefmCuLowRateCrossing notifications to be sent.\n\nThe adaptive nature of the EFMCu technology allows the port to\nadapt itself to the changes in the copper environment, e.g.,\nan impulse noise, alien crosstalk, or a micro-interruption may\ntemporarily drop one or more PMEs in the aggregation group,\ncausing a rate degradation of the aggregated EFMCu link.\nThe dropped PMEs would then try to re-initialize, possibly at\na lower rate than before, adjusting the rate to provide\nrequired target SNR margin.\n\nGeneration of this notification is controlled by the\nefmCuLowRateCrossingEnable object.") efmCuPmeLineAtnCrossing = NotificationType((1, 3, 6, 1, 2, 1, 167, 1, 2, 0, 1)).setObjects(*(("EFM-CU-MIB", "efmCuPmeLineAtn"), ("EFM-CU-MIB", "efmCuPmeThreshLineAtn"), ) ) if mibBuilder.loadTexts: efmCuPmeLineAtnCrossing.setDescription("This notification indicates that the loop attenuation\nthreshold (as per the efmCuPmeThreshLineAtn\nvalue) has been reached/exceeded for the 2BASE-TL/10PASS-TS\nPME. This notification MAY be sent on the crossing event in\nboth directions: from normal to exceeded and from exceeded\nto normal.\n\nIt is RECOMMENDED that a small debouncing period of 2.5 sec,\nbetween the detection of the condition and the notification,\nis implemented to prevent intermittent notifications from\nbeing sent.\n\nGeneration of this notification is controlled by the\nefmCuPmeLineAtnCrossingEnable object.") efmCuPmeSnrMgnCrossing = NotificationType((1, 3, 6, 1, 2, 1, 167, 1, 2, 0, 2)).setObjects(*(("EFM-CU-MIB", "efmCuPmeSnrMgn"), ("EFM-CU-MIB", "efmCuPmeThreshSnrMgn"), ) ) if mibBuilder.loadTexts: efmCuPmeSnrMgnCrossing.setDescription("This notification indicates that the SNR margin threshold\n(as per the efmCuPmeThreshSnrMgn value) has been\nreached/exceeded for the 2BASE-TL/10PASS-TS PME.\nThis notification MAY be sent on the crossing event in\nboth directions: from normal to exceeded and from exceeded\nto normal.\n\nIt is RECOMMENDED that a small debouncing period of 2.5 sec,\nbetween the detection of the condition and the notification,\nis implemented to prevent intermittent notifications from\nbeing sent.\n\nGeneration of this notification is controlled by the\nefmCuPmeSnrMgnCrossingEnable object.") efmCuPmeDeviceFault = NotificationType((1, 3, 6, 1, 2, 1, 167, 1, 2, 0, 3)).setObjects(*(("EFM-CU-MIB", "efmCuPmeFltStatus"), ) ) if mibBuilder.loadTexts: efmCuPmeDeviceFault.setDescription("This notification indicates that a fault in the PME has been\ndetected by a vendor-specific diagnostic or a self-test.\n\nGeneration of this notification is controlled by the\nefmCuPmeDeviceFaultEnable object.") efmCuPmeConfigInitFailure = NotificationType((1, 3, 6, 1, 2, 1, 167, 1, 2, 0, 4)).setObjects(*(("EFM-CU-MIB", "efmCuPmeAdminProfile"), ("EFM-CU-MIB", "efmCuPmeFltStatus"), ("EFM-CU-MIB", "efmCuAdminProfile"), ) ) if mibBuilder.loadTexts: efmCuPmeConfigInitFailure.setDescription("This notification indicates that PME initialization has\nfailed, due to inability of the PME link to achieve the\n\n\n\nrequested configuration profile.\n\nGeneration of this notification is controlled by the\nefmCuPmeConfigInitFailEnable object.") efmCuPmeProtocolInitFailure = NotificationType((1, 3, 6, 1, 2, 1, 167, 1, 2, 0, 5)).setObjects(*(("EFM-CU-MIB", "efmCuPmeFltStatus"), ("EFM-CU-MIB", "efmCuPmeOperSubType"), ) ) if mibBuilder.loadTexts: efmCuPmeProtocolInitFailure.setDescription("This notification indicates that the peer PME was using\nan incompatible protocol during initialization.\n\nGeneration of this notification is controlled by the\nefmCuPmeProtocolInitFailEnable object.") # Groups efmCuBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 1)).setObjects(*(("EFM-CU-MIB", "efmCuTargetDataRate"), ("EFM-CU-MIB", "efmCuFltStatus"), ("EFM-CU-MIB", "efmCuAdminProfile"), ("EFM-CU-MIB", "efmCuPAFSupported"), ("EFM-CU-MIB", "efmCuPortSide"), ("EFM-CU-MIB", "efmCuTargetSnrMgn"), ("EFM-CU-MIB", "efmCuAdaptiveSpectra"), ) ) if mibBuilder.loadTexts: efmCuBasicGroup.setDescription("A collection of objects representing management information\ncommon for all types of EFMCu ports.") efmCuPAFGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 2)).setObjects(*(("EFM-CU-MIB", "efmCuPAFCapacity"), ("EFM-CU-MIB", "efmCuNumPMEs"), ("EFM-CU-MIB", "efmCuPAFDiscoveryCode"), ("EFM-CU-MIB", "efmCuPAFRemoteDiscoveryCode"), ("EFM-CU-MIB", "efmCuPeerPAFCapacity"), ("EFM-CU-MIB", "efmCuPeerPAFSupported"), ("EFM-CU-MIB", "efmCuPAFAdminState"), ) ) if mibBuilder.loadTexts: efmCuPAFGroup.setDescription("A collection of objects supporting OPTIONAL PME\nAggregation Function (PAF) and PAF discovery in EFMCu ports.") efmCuPAFErrorsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 3)).setObjects(*(("EFM-CU-MIB", "efmCuPAFInBadFragments"), ("EFM-CU-MIB", "efmCuPAFInOverflows"), ("EFM-CU-MIB", "efmCuPAFInLostStarts"), ("EFM-CU-MIB", "efmCuPAFInLargeFragments"), ("EFM-CU-MIB", "efmCuPAFInLostEnds"), ("EFM-CU-MIB", "efmCuPAFInSmallFragments"), ("EFM-CU-MIB", "efmCuPAFInLostFragments"), ("EFM-CU-MIB", "efmCuPAFInErrors"), ) ) if mibBuilder.loadTexts: efmCuPAFErrorsGroup.setDescription("A collection of objects supporting OPTIONAL error counters\nof PAF on EFMCu ports.") efmCuPmeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 4)).setObjects(*(("EFM-CU-MIB", "efmCuPmeAdminProfile"), ("EFM-CU-MIB", "efmCuPmeOperProfile"), ("EFM-CU-MIB", "efmCuPAFRemoteDiscoveryCode"), ("EFM-CU-MIB", "efmCuPmeThreshSnrMgn"), ("EFM-CU-MIB", "efmCuPmeFltStatus"), ("EFM-CU-MIB", "efmCuPmeOperSubType"), ("EFM-CU-MIB", "efmCuPmeTCCodingErrors"), ("EFM-CU-MIB", "efmCuPmeEquivalentLength"), ("EFM-CU-MIB", "efmCuPmeAdminSubType"), ("EFM-CU-MIB", "efmCuPmePeerLineAtn"), ("EFM-CU-MIB", "efmCuPmeTCCrcErrors"), ("EFM-CU-MIB", "efmCuPmeSubTypesSupported"), ("EFM-CU-MIB", "efmCuPmeSnrMgn"), ("EFM-CU-MIB", "efmCuPmeLineAtn"), ("EFM-CU-MIB", "efmCuPmePeerSnrMgn"), ("EFM-CU-MIB", "efmCuPmeOperStatus"), ("EFM-CU-MIB", "efmCuPmeThreshLineAtn"), ) ) if mibBuilder.loadTexts: efmCuPmeGroup.setDescription("A collection of objects providing information about\na 2BASE-TL/10PASS-TS PME.") efmCuAlarmConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 5)).setObjects(*(("EFM-CU-MIB", "efmCuPmeProtocolInitFailEnable"), ("EFM-CU-MIB", "efmCuPmeSnrMgnCrossingEnable"), ("EFM-CU-MIB", "efmCuPmeDeviceFaultEnable"), ("EFM-CU-MIB", "efmCuPmeThreshSnrMgn"), ("EFM-CU-MIB", "efmCuPmeLineAtnCrossingEnable"), ("EFM-CU-MIB", "efmCuThreshLowRate"), ("EFM-CU-MIB", "efmCuLowRateCrossingEnable"), ("EFM-CU-MIB", "efmCuPmeThreshLineAtn"), ("EFM-CU-MIB", "efmCuPmeConfigInitFailEnable"), ) ) if mibBuilder.loadTexts: efmCuAlarmConfGroup.setDescription("A collection of objects supporting configuration of alarm\nthresholds and notifications in EFMCu ports.") efmCuNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 6)).setObjects(*(("EFM-CU-MIB", "efmCuPmeProtocolInitFailure"), ("EFM-CU-MIB", "efmCuPmeLineAtnCrossing"), ("EFM-CU-MIB", "efmCuPmeDeviceFault"), ("EFM-CU-MIB", "efmCuPmeConfigInitFailure"), ("EFM-CU-MIB", "efmCuLowRateCrossing"), ("EFM-CU-MIB", "efmCuPmeSnrMgnCrossing"), ) ) if mibBuilder.loadTexts: efmCuNotificationGroup.setDescription("This group supports notifications of significant conditions\nassociated with EFMCu ports.") efmCuPme2BProfileGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 7)).setObjects(*(("EFM-CU-MIB", "efmCuPme2BPower"), ("EFM-CU-MIB", "efmCuPme2BEquivalentLength"), ("EFM-CU-MIB", "efmCuPme2BReachRateRowStatus"), ("EFM-CU-MIB", "efmCuPme2BProfileDescr"), ("EFM-CU-MIB", "efmCuPme2BProfileRowStatus"), ("EFM-CU-MIB", "efmCuPme2BMaxDataRatePam16"), ("EFM-CU-MIB", "efmCuPme2BMaxDataRate"), ("EFM-CU-MIB", "efmCuPme2BsModeDescr"), ("EFM-CU-MIB", "efmCuPme2BMinDataRate"), ("EFM-CU-MIB", "efmCuPme2BsMode"), ("EFM-CU-MIB", "efmCuPme2BsModeRowStatus"), ("EFM-CU-MIB", "efmCuPme2BConstellation"), ("EFM-CU-MIB", "efmCuPme2BRegion"), ("EFM-CU-MIB", "efmCuPme2BMaxDataRatePam32"), ) ) if mibBuilder.loadTexts: efmCuPme2BProfileGroup.setDescription("A collection of objects that constitute a configuration\n\n\n\nprofile for configuration of 2BASE-TL ports.") efmCuPme10PProfileGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 8)).setObjects(*(("EFM-CU-MIB", "efmCuPme10PProfileDescr"), ("EFM-CU-MIB", "efmCuPme10PBandNotchProfiles"), ("EFM-CU-MIB", "efmCuPme10PPayloadURateProfile"), ("EFM-CU-MIB", "efmCuPme10PBandplanPSDMskProfile"), ("EFM-CU-MIB", "efmCuPme10PProfileRowStatus"), ("EFM-CU-MIB", "efmCuPme10PUPBOReferenceProfile"), ("EFM-CU-MIB", "efmCuPme10PPayloadDRateProfile"), ) ) if mibBuilder.loadTexts: efmCuPme10PProfileGroup.setDescription("A collection of objects that constitute a configuration\nprofile for configuration of 10PASS-TS ports.") efmCuPme10PStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 167, 2, 1, 9)).setObjects(*(("EFM-CU-MIB", "efmCuPme10PFECUncorrectedBlocks"), ("EFM-CU-MIB", "efmCuPme10PFECCorrectedBlocks"), ) ) if mibBuilder.loadTexts: efmCuPme10PStatusGroup.setDescription("A collection of objects providing status information\nspecific to 10PASS-TS PMEs.") # Compliances efmCuCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 167, 2, 2, 1)).setObjects(*(("EFM-CU-MIB", "efmCuPme10PStatusGroup"), ("EFM-CU-MIB", "efmCuPme10PProfileGroup"), ("EFM-CU-MIB", "efmCuBasicGroup"), ("EFM-CU-MIB", "efmCuPmeGroup"), ("EFM-CU-MIB", "efmCuPme2BProfileGroup"), ("EFM-CU-MIB", "efmCuAlarmConfGroup"), ("EFM-CU-MIB", "efmCuPAFErrorsGroup"), ("EFM-CU-MIB", "efmCuPAFGroup"), ("EFM-CU-MIB", "efmCuNotificationGroup"), ) ) if mibBuilder.loadTexts: efmCuCompliance.setDescription("The compliance statement for 2BASE-TL/10PASS-TS interfaces.\nCompliance with the following external compliance statements\nis REQUIRED:\n\nMIB Module Compliance Statement\n---------- --------------------\nIF-MIB ifCompliance3\nEtherLike-MIB dot3Compliance2\nMAU-MIB mauModIfCompl3\n\nCompliance with the following external compliance statements\nis OPTIONAL for implementations supporting PME Aggregation\nFunction (PAF) with flexible cross-connect between the PCS\n\n\n\nand PME ports:\n\nMIB Module Compliance Statement\n---------- --------------------\nIF-INVERTED-STACK-MIB ifInvCompliance\nIF-CAP-STACK-MIB ifCapStackCompliance") # Exports # Module identity mibBuilder.exportSymbols("EFM-CU-MIB", PYSNMP_MODULE_ID=efmCuMIB) # Types mibBuilder.exportSymbols("EFM-CU-MIB", EfmProfileIndex=EfmProfileIndex, EfmProfileIndexList=EfmProfileIndexList, EfmProfileIndexOrZero=EfmProfileIndexOrZero, EfmTruthValueOrUnknown=EfmTruthValueOrUnknown) # Objects mibBuilder.exportSymbols("EFM-CU-MIB", efmCuMIB=efmCuMIB, efmCuObjects=efmCuObjects, efmCuPort=efmCuPort, efmCuPortNotifications=efmCuPortNotifications, efmCuPortConfTable=efmCuPortConfTable, efmCuPortConfEntry=efmCuPortConfEntry, efmCuPAFAdminState=efmCuPAFAdminState, efmCuPAFDiscoveryCode=efmCuPAFDiscoveryCode, efmCuAdminProfile=efmCuAdminProfile, efmCuTargetDataRate=efmCuTargetDataRate, efmCuTargetSnrMgn=efmCuTargetSnrMgn, efmCuAdaptiveSpectra=efmCuAdaptiveSpectra, efmCuThreshLowRate=efmCuThreshLowRate, efmCuLowRateCrossingEnable=efmCuLowRateCrossingEnable, efmCuPortCapabilityTable=efmCuPortCapabilityTable, efmCuPortCapabilityEntry=efmCuPortCapabilityEntry, efmCuPAFSupported=efmCuPAFSupported, efmCuPeerPAFSupported=efmCuPeerPAFSupported, efmCuPAFCapacity=efmCuPAFCapacity, efmCuPeerPAFCapacity=efmCuPeerPAFCapacity, efmCuPortStatusTable=efmCuPortStatusTable, efmCuPortStatusEntry=efmCuPortStatusEntry, efmCuFltStatus=efmCuFltStatus, efmCuPortSide=efmCuPortSide, efmCuNumPMEs=efmCuNumPMEs, efmCuPAFInErrors=efmCuPAFInErrors, efmCuPAFInSmallFragments=efmCuPAFInSmallFragments, efmCuPAFInLargeFragments=efmCuPAFInLargeFragments, efmCuPAFInBadFragments=efmCuPAFInBadFragments, efmCuPAFInLostFragments=efmCuPAFInLostFragments, efmCuPAFInLostStarts=efmCuPAFInLostStarts, efmCuPAFInLostEnds=efmCuPAFInLostEnds, efmCuPAFInOverflows=efmCuPAFInOverflows, efmCuPme=efmCuPme, efmCuPmeNotifications=efmCuPmeNotifications, efmCuPmeConfTable=efmCuPmeConfTable, efmCuPmeConfEntry=efmCuPmeConfEntry, efmCuPmeAdminSubType=efmCuPmeAdminSubType, efmCuPmeAdminProfile=efmCuPmeAdminProfile, efmCuPAFRemoteDiscoveryCode=efmCuPAFRemoteDiscoveryCode, efmCuPmeThreshLineAtn=efmCuPmeThreshLineAtn, efmCuPmeThreshSnrMgn=efmCuPmeThreshSnrMgn, efmCuPmeLineAtnCrossingEnable=efmCuPmeLineAtnCrossingEnable, efmCuPmeSnrMgnCrossingEnable=efmCuPmeSnrMgnCrossingEnable, efmCuPmeDeviceFaultEnable=efmCuPmeDeviceFaultEnable, efmCuPmeConfigInitFailEnable=efmCuPmeConfigInitFailEnable, efmCuPmeProtocolInitFailEnable=efmCuPmeProtocolInitFailEnable, efmCuPmeCapabilityTable=efmCuPmeCapabilityTable, efmCuPmeCapabilityEntry=efmCuPmeCapabilityEntry, efmCuPmeSubTypesSupported=efmCuPmeSubTypesSupported, efmCuPmeStatusTable=efmCuPmeStatusTable, efmCuPmeStatusEntry=efmCuPmeStatusEntry, efmCuPmeOperStatus=efmCuPmeOperStatus, efmCuPmeFltStatus=efmCuPmeFltStatus, efmCuPmeOperSubType=efmCuPmeOperSubType, efmCuPmeOperProfile=efmCuPmeOperProfile, efmCuPmeSnrMgn=efmCuPmeSnrMgn, efmCuPmePeerSnrMgn=efmCuPmePeerSnrMgn, efmCuPmeLineAtn=efmCuPmeLineAtn, efmCuPmePeerLineAtn=efmCuPmePeerLineAtn, efmCuPmeEquivalentLength=efmCuPmeEquivalentLength, efmCuPmeTCCodingErrors=efmCuPmeTCCodingErrors, efmCuPmeTCCrcErrors=efmCuPmeTCCrcErrors, efmCuPme2B=efmCuPme2B, efmCuPme2BProfileTable=efmCuPme2BProfileTable, efmCuPme2BProfileEntry=efmCuPme2BProfileEntry, efmCuPme2BProfileIndex=efmCuPme2BProfileIndex, efmCuPme2BProfileDescr=efmCuPme2BProfileDescr, efmCuPme2BRegion=efmCuPme2BRegion, efmCuPme2BsMode=efmCuPme2BsMode, efmCuPme2BMinDataRate=efmCuPme2BMinDataRate, efmCuPme2BMaxDataRate=efmCuPme2BMaxDataRate, efmCuPme2BPower=efmCuPme2BPower, efmCuPme2BConstellation=efmCuPme2BConstellation, efmCuPme2BProfileRowStatus=efmCuPme2BProfileRowStatus, efmCuPme2BsModeTable=efmCuPme2BsModeTable, efmCuPme2BsModeEntry=efmCuPme2BsModeEntry, efmCuPme2BsModeIndex=efmCuPme2BsModeIndex, efmCuPme2BsModeDescr=efmCuPme2BsModeDescr, efmCuPme2BsModeRowStatus=efmCuPme2BsModeRowStatus, efmCuPme2BReachRateTable=efmCuPme2BReachRateTable, efmCuPme2BReachRateEntry=efmCuPme2BReachRateEntry, efmCuPme2BReachRateIndex=efmCuPme2BReachRateIndex, efmCuPme2BEquivalentLength=efmCuPme2BEquivalentLength, efmCuPme2BMaxDataRatePam16=efmCuPme2BMaxDataRatePam16, efmCuPme2BMaxDataRatePam32=efmCuPme2BMaxDataRatePam32, efmCuPme2BReachRateRowStatus=efmCuPme2BReachRateRowStatus, efmCuPme10P=efmCuPme10P, efmCuPme10PProfileTable=efmCuPme10PProfileTable, efmCuPme10PProfileEntry=efmCuPme10PProfileEntry, efmCuPme10PProfileIndex=efmCuPme10PProfileIndex, efmCuPme10PProfileDescr=efmCuPme10PProfileDescr, efmCuPme10PBandplanPSDMskProfile=efmCuPme10PBandplanPSDMskProfile, efmCuPme10PUPBOReferenceProfile=efmCuPme10PUPBOReferenceProfile, efmCuPme10PBandNotchProfiles=efmCuPme10PBandNotchProfiles, efmCuPme10PPayloadDRateProfile=efmCuPme10PPayloadDRateProfile, efmCuPme10PPayloadURateProfile=efmCuPme10PPayloadURateProfile, efmCuPme10PProfileRowStatus=efmCuPme10PProfileRowStatus, efmCuPme10PStatusTable=efmCuPme10PStatusTable, efmCuPme10PStatusEntry=efmCuPme10PStatusEntry, efmCuPme10PFECCorrectedBlocks=efmCuPme10PFECCorrectedBlocks, efmCuPme10PFECUncorrectedBlocks=efmCuPme10PFECUncorrectedBlocks, efmCuConformance=efmCuConformance, efmCuGroups=efmCuGroups, efmCuCompliances=efmCuCompliances) # Notifications mibBuilder.exportSymbols("EFM-CU-MIB", efmCuLowRateCrossing=efmCuLowRateCrossing, efmCuPmeLineAtnCrossing=efmCuPmeLineAtnCrossing, efmCuPmeSnrMgnCrossing=efmCuPmeSnrMgnCrossing, efmCuPmeDeviceFault=efmCuPmeDeviceFault, efmCuPmeConfigInitFailure=efmCuPmeConfigInitFailure, efmCuPmeProtocolInitFailure=efmCuPmeProtocolInitFailure) # Groups mibBuilder.exportSymbols("EFM-CU-MIB", efmCuBasicGroup=efmCuBasicGroup, efmCuPAFGroup=efmCuPAFGroup, efmCuPAFErrorsGroup=efmCuPAFErrorsGroup, efmCuPmeGroup=efmCuPmeGroup, efmCuAlarmConfGroup=efmCuAlarmConfGroup, efmCuNotificationGroup=efmCuNotificationGroup, efmCuPme2BProfileGroup=efmCuPme2BProfileGroup, efmCuPme10PProfileGroup=efmCuPme10PProfileGroup, efmCuPme10PStatusGroup=efmCuPme10PStatusGroup) # Compliances mibBuilder.exportSymbols("EFM-CU-MIB", efmCuCompliance=efmCuCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/INTEGRATED-SERVICES-GUARANTEED-MIB.py0000644000014400001440000002167011736645136023727 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python INTEGRATED-SERVICES-GUARANTEED-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:09 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( intSrv, ) = mibBuilder.importSymbols("INTEGRATED-SERVICES-MIB", "intSrv") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus") # Objects intSrvGuaranteed = ModuleIdentity((1, 3, 6, 1, 2, 1, 52, 5)).setRevisions(("1995-11-03 05:00",)) if mibBuilder.loadTexts: intSrvGuaranteed.setOrganization("IETF Integrated Services Working Group") if mibBuilder.loadTexts: intSrvGuaranteed.setContactInfo(" Fred Baker\nPostal: Cisco Systems\n 519 Lado Drive\n Santa Barbara, California 93111\nTel: +1 805 681 0115\nE-Mail: fred@cisco.com") if mibBuilder.loadTexts: intSrvGuaranteed.setDescription("The MIB module to describe the Guaranteed Service of\nthe Integrated Services Protocol") intSrvGuaranteedObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 5, 1)) intSrvGuaranteedIfTable = MibTable((1, 3, 6, 1, 2, 1, 52, 5, 1, 1)) if mibBuilder.loadTexts: intSrvGuaranteedIfTable.setDescription("The attributes of the system's interfaces ex-\nported by the Guaranteed Service.") intSrvGuaranteedIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 52, 5, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: intSrvGuaranteedIfEntry.setDescription("The reservable attributes of a given inter-\nface.") intSrvGuaranteedIfBacklog = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 5, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvGuaranteedIfBacklog.setDescription("The Backlog parameter is the data backlog\nresulting from the vagaries of how a specific\nimplementation deviates from a strict bit-by-\nbit service. So, for instance, for packetized\nweighted fair queueing, Backlog is set to the\nMaximum Packet Size.\n\nThe Backlog term is measured in units of bytes.\nAn individual element can advertise a Backlog\nvalue between 1 and 2**28 (a little over 250\nmegabytes) and the total added over all ele-\nments can range as high as (2**32)-1. Should\nthe sum of the different elements delay exceed\n(2**32)-1, the end-to-end error term should be\n(2**32)-1.") intSrvGuaranteedIfDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 5, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvGuaranteedIfDelay.setDescription("The Delay parameter at each service element\nshould be set to the maximum packet transfer\ndelay (independent of bucket size) through the\nservice element. For instance, in a simple\nrouter, one might compute the worst case amount\nof time it make take for a datagram to get\nthrough the input interface to the processor,\nand how long it would take to get from the pro-\ncessor to the outbound interface (assuming the\nqueueing schemes work correctly). For an Eth-\nernet, it might represent the worst case delay\nif the maximum number of collisions is experi-\nenced.\n\nThe Delay term is measured in units of one mi-\ncrosecond. An individual element can advertise\na delay value between 1 and 2**28 (somewhat\nover two minutes) and the total delay added all\nelements can range as high as (2**32)-1.\nShould the sum of the different elements delay\nexceed (2**32)-1, the end-to-end delay should\nbe (2**32)-1.") intSrvGuaranteedIfSlack = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 5, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvGuaranteedIfSlack.setDescription("If a network element uses a certain amount of\nslack, Si, to reduce the amount of resources\nthat it has reserved for a particular flow, i,\nthe value Si should be stored at the network\nelement. Subsequently, if reservation re-\nfreshes are received for flow i, the network\nelement must use the same slack Si without any\nfurther computation. This guarantees consisten-\ncy in the reservation process.\n\nAs an example for the use of the slack term,\nconsider the case where the required end-to-end\ndelay, Dreq, is larger than the maximum delay\nof the fluid flow system. In this, Ctot is the\nsum of the Backlog terms end to end, and Dtot\nis the sum of the delay terms end to end. Dreq\nis obtained by setting R=r in the fluid delay\nformula, and is given by\n\n b/r + Ctot/r + Dtot.\n\nIn this case the slack term is\n\n S = Dreq - (b/r + Ctot/r + Dtot).\n\nThe slack term may be used by the network ele-\nments to adjust their local reservations, so\nthat they can admit flows that would otherwise\nhave been rejected. A service element at an in-\ntermediate network element that can internally\ndifferentiate between delay and rate guarantees\ncan now take advantage of this information to\nlower the amount of resources allocated to this\nflow. For example, by taking an amount of slack\ns <= S, an RCSD scheduler [5] can increase the\nlocal delay bound, d, assigned to the flow, to\nd+s. Given an RSpec, (Rin, Sin), it would do so\nby setting Rout = Rin and Sout = Sin - s.\n\nSimilarly, a network element using a WFQ\nscheduler can decrease its local reservation\nfrom Rin to Rout by using some of the slack in\nthe RSpec. This can be accomplished by using\nthe transformation rules given in the previous\nsection, that ensure that the reduced reserva-\ntion level will not increase the overall end-\nto-end delay.") intSrvGuaranteedIfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 5, 1, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvGuaranteedIfStatus.setDescription("'valid' on interfaces that are configured for\nthe Guaranteed Service.") intSrvGuaranteedNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 5, 2)) intSrvGuaranteedConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 5, 3)) intSrvGuaranteedGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 5, 3, 1)) intSrvGuaranteedCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 5, 3, 2)) # Augmentions # Groups intSrvGuaranteedIfAttribGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 52, 5, 3, 1, 2)).setObjects(*(("INTEGRATED-SERVICES-GUARANTEED-MIB", "intSrvGuaranteedIfSlack"), ("INTEGRATED-SERVICES-GUARANTEED-MIB", "intSrvGuaranteedIfDelay"), ("INTEGRATED-SERVICES-GUARANTEED-MIB", "intSrvGuaranteedIfBacklog"), ("INTEGRATED-SERVICES-GUARANTEED-MIB", "intSrvGuaranteedIfStatus"), ) ) if mibBuilder.loadTexts: intSrvGuaranteedIfAttribGroup.setDescription("These objects are required for Systems sup-\nporting the Guaranteed Service of the Integrat-\ned Services Architecture.") # Compliances intSrvGuaranteedCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 52, 5, 3, 2, 1)).setObjects(*(("INTEGRATED-SERVICES-GUARANTEED-MIB", "intSrvGuaranteedIfAttribGroup"), ) ) if mibBuilder.loadTexts: intSrvGuaranteedCompliance.setDescription("The compliance statement ") # Exports # Module identity mibBuilder.exportSymbols("INTEGRATED-SERVICES-GUARANTEED-MIB", PYSNMP_MODULE_ID=intSrvGuaranteed) # Objects mibBuilder.exportSymbols("INTEGRATED-SERVICES-GUARANTEED-MIB", intSrvGuaranteed=intSrvGuaranteed, intSrvGuaranteedObjects=intSrvGuaranteedObjects, intSrvGuaranteedIfTable=intSrvGuaranteedIfTable, intSrvGuaranteedIfEntry=intSrvGuaranteedIfEntry, intSrvGuaranteedIfBacklog=intSrvGuaranteedIfBacklog, intSrvGuaranteedIfDelay=intSrvGuaranteedIfDelay, intSrvGuaranteedIfSlack=intSrvGuaranteedIfSlack, intSrvGuaranteedIfStatus=intSrvGuaranteedIfStatus, intSrvGuaranteedNotifications=intSrvGuaranteedNotifications, intSrvGuaranteedConformance=intSrvGuaranteedConformance, intSrvGuaranteedGroups=intSrvGuaranteedGroups, intSrvGuaranteedCompliances=intSrvGuaranteedCompliances) # Groups mibBuilder.exportSymbols("INTEGRATED-SERVICES-GUARANTEED-MIB", intSrvGuaranteedIfAttribGroup=intSrvGuaranteedIfAttribGroup) # Compliances mibBuilder.exportSymbols("INTEGRATED-SERVICES-GUARANTEED-MIB", intSrvGuaranteedCompliance=intSrvGuaranteedCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/OSPF-MIB.py0000644000014400001440000033324711736645137020221 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python OSPF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:24 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeStamp", "TruthValue") # Types class BigMetric(TextualConvention, Integer32): displayHint = "d-0" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,16777215) class DesignatedRouterPriority(TextualConvention, Integer32): displayHint = "d-0" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,255) class HelloRange(TextualConvention, Integer32): displayHint = "d-0" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,65535) class Metric(TextualConvention, Integer32): displayHint = "d-0" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class OspfAuthenticationType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,2,) namedValues = NamedValues(("none", 0), ("simplePassword", 1), ("md5", 2), ) class PositiveInteger(TextualConvention, Integer32): displayHint = "d-0" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class Status(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("enabled", 1), ("disabled", 2), ) class TOSType(TextualConvention, Integer32): displayHint = "d-0" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,30) class UpToMaxAge(TextualConvention, Integer32): displayHint = "d-0" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,3600) class AreaID(IpAddress): pass class RouterID(IpAddress): pass # Objects ospf = ModuleIdentity((1, 3, 6, 1, 2, 1, 14)).setRevisions(("2006-11-10 00:00","1995-01-20 12:25",)) if mibBuilder.loadTexts: ospf.setOrganization("IETF OSPF Working Group") if mibBuilder.loadTexts: ospf.setContactInfo("WG E-Mail: ospf@ietf.org\n\nWG Chairs: acee@cisco.com\n rohit@gmail.com\n\nEditors: Dan Joyal\n Nortel\n 600 Technology Park Drive\n Billerica, MA 01821\n djoyal@nortel.com\n\n Piotr Galecki\n Airvana\n 19 Alpha Road\n Chelmsford, MA 01824\n pgalecki@airvana.com\n\n Spencer Giacalone\n CSFB\n Eleven Madison Ave\n New York, NY 10010-3629\n spencer.giacalone@gmail.com") if mibBuilder.loadTexts: ospf.setDescription("The MIB module to describe the OSPF Version 2\nProtocol. Note that some objects in this MIB\nmodule may pose a significant security risk.\nRefer to the Security Considerations section\nin RFC 4750 for more information.\n\n\n\nCopyright (C) The IETF Trust (2006).\nThis version of this MIB module is part of\nRFC 4750; see the RFC itself for full legal\nnotices.") ospfGeneralGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 1)) ospfRouterId = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 1), RouterID()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfRouterId.setDescription("A 32-bit integer uniquely identifying the\nrouter in the Autonomous System.\nBy convention, to ensure uniqueness, this\nshould default to the value of one of the\nrouter's IP interface addresses.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile storage.") ospfAdminStat = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 2), Status()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfAdminStat.setDescription("The administrative status of OSPF in the\nrouter. The value 'enabled' denotes that the\nOSPF Process is active on at least one interface;\n'disabled' disables it on all interfaces.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile storage.") ospfVersionNumber = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,)).subtype(namedValues=NamedValues(("version2", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVersionNumber.setDescription("The current version number of the OSPF protocol is 2.") ospfAreaBdrRtrStatus = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaBdrRtrStatus.setDescription("A flag to note whether this router is an Area\nBorder Router.") ospfASBdrRtrStatus = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfASBdrRtrStatus.setDescription("A flag to note whether this router is configured as\nan Autonomous System Border Router.\n\nThis object is persistent and when written the\nentity SHOULD save the change to non-volatile storage.") ospfExternLsaCount = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExternLsaCount.setDescription("The number of external (LS type-5) link state\nadvertisements in the link state database.") ospfExternLsaCksumSum = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExternLsaCksumSum.setDescription("The 32-bit sum of the LS checksums of\nthe external link state advertisements\ncontained in the link state database. This sum\ncan be used to determine if there has been a\nchange in a router's link state database and\nto compare the link state database of two\nrouters. The value should be treated as unsigned\nwhen comparing two sums of checksums.") ospfTOSSupport = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfTOSSupport.setDescription("The router's support for type-of-service routing.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfOriginateNewLsas = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfOriginateNewLsas.setDescription("The number of new link state advertisements\nthat have been originated. This number is\nincremented each time the router originates a new\nLSA.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nospfDiscontinuityTime.") ospfRxNewLsas = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfRxNewLsas.setDescription("The number of link state advertisements received\nthat are determined to be new instantiations.\nThis number does not include newer instantiations\nof self-originated link state advertisements.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nospfDiscontinuityTime.") ospfExtLsdbLimit = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfExtLsdbLimit.setDescription("The maximum number of non-default\nAS-external LSAs entries that can be stored in the\nlink state database. If the value is -1, then\nthere is no limit.\n\nWhen the number of non-default AS-external LSAs\nin a router's link state database reaches\nospfExtLsdbLimit, the router enters\noverflow state. The router never holds more than\nospfExtLsdbLimit non-default AS-external LSAs\nin its database. OspfExtLsdbLimit MUST be set\nidentically in all routers attached to the OSPF\nbackbone and/or any regular OSPF area (i.e.,\nOSPF stub areas and NSSAs are excluded).\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfMulticastExtensions = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 12), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfMulticastExtensions.setDescription("A bit mask indicating whether the router is\nforwarding IP multicast (Class D) datagrams\nbased on the algorithms defined in the\nmulticast extensions to OSPF.\n\nBit 0, if set, indicates that the router can\n\n\n\nforward IP multicast datagrams in the router's\ndirectly attached areas (called intra-area\nmulticast routing).\n\nBit 1, if set, indicates that the router can\nforward IP multicast datagrams between OSPF\nareas (called inter-area multicast routing).\n\nBit 2, if set, indicates that the router can\nforward IP multicast datagrams between\nAutonomous Systems (called inter-AS multicast\nrouting).\n\nOnly certain combinations of bit settings are\nallowed, namely: 0 (no multicast forwarding is\nenabled), 1 (intra-area multicasting only), 3\n(intra-area and inter-area multicasting), 5\n(intra-area and inter-AS multicasting), and 7\n(multicasting everywhere). By default, no\nmulticast forwarding is enabled.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfExitOverflowInterval = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 13), PositiveInteger().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfExitOverflowInterval.setDescription("The number of seconds that, after entering\nOverflowState, a router will attempt to leave\nOverflowState. This allows the router to again\noriginate non-default AS-external LSAs. When\nset to 0, the router will not leave\noverflow state until restarted.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfDemandExtensions = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 14), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfDemandExtensions.setDescription("The router's support for demand routing.\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfRFC1583Compatibility = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 15), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfRFC1583Compatibility.setDescription("Indicates metrics used to choose among multiple\nAS-external LSAs. When RFC1583Compatibility is set to\nenabled, only cost will be used when choosing among\nmultiple AS-external LSAs advertising the same\ndestination. When RFC1583Compatibility is set to\ndisabled, preference will be driven first by type of\npath using cost only to break ties.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfOpaqueLsaSupport = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfOpaqueLsaSupport.setDescription("The router's support for Opaque LSA types.") ospfReferenceBandwidth = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 17), Unsigned32()).setMaxAccess("readwrite").setUnits("kilobits per second") if mibBuilder.loadTexts: ospfReferenceBandwidth.setDescription("Reference bandwidth in kilobits/second for\n\n\n\ncalculating default interface metrics. The\ndefault value is 100,000 KBPS (100 MBPS).\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfRestartSupport = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("none", 1), ("plannedOnly", 2), ("plannedAndUnplanned", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfRestartSupport.setDescription("The router's support for OSPF graceful restart.\nOptions include: no restart support, only planned\nrestarts, or both planned and unplanned restarts.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfRestartInterval = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: ospfRestartInterval.setDescription("Configured OSPF graceful restart timeout interval.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfRestartStrictLsaChecking = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 20), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfRestartStrictLsaChecking.setDescription("Indicates if strict LSA checking is enabled for\ngraceful restart.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\n\n\n\nstorage.") ospfRestartStatus = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("notRestarting", 1), ("plannedRestart", 2), ("unplannedRestart", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfRestartStatus.setDescription("Current status of OSPF graceful restart.") ospfRestartAge = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 22), Unsigned32()).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: ospfRestartAge.setDescription("Remaining time in current OSPF graceful restart\ninterval.") ospfRestartExitReason = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,3,4,2,)).subtype(namedValues=NamedValues(("none", 1), ("inProgress", 2), ("completed", 3), ("timedOut", 4), ("topologyChanged", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfRestartExitReason.setDescription("Describes the outcome of the last attempt at a\ngraceful restart. If the value is 'none', no restart\nhas yet been attempted. If the value is 'inProgress',\na restart attempt is currently underway.") ospfAsLsaCount = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 24), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAsLsaCount.setDescription("The number of AS-scope link state\nadvertisements in the AS-scope link state database.") ospfAsLsaCksumSum = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 25), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAsLsaCksumSum.setDescription("The 32-bit unsigned sum of the LS checksums of\nthe AS link state advertisements contained in the AS-scope\nlink state database. This sum can be used to determine\nif there has been a change in a router's AS-scope link\nstate database, and to compare the AS-scope link state\ndatabase of two routers.") ospfStubRouterSupport = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfStubRouterSupport.setDescription("The router's support for stub router functionality.") ospfStubRouterAdvertisement = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 27), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("doNotAdvertise", 1), ("advertise", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfStubRouterAdvertisement.setDescription("This object controls the advertisement of\nstub router LSAs by the router. The value\ndoNotAdvertise will result in the advertisement\nof a standard router LSA and is the default value.\n\nThis object is persistent and when written\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfDiscontinuityTime = MibScalar((1, 3, 6, 1, 2, 1, 14, 1, 28), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one of this MIB's counters suffered\na discontinuity.\n\nIf no such discontinuities have occurred since the last\nre-initialization of the local management subsystem,\nthen this object contains a zero value.") ospfAreaTable = MibTable((1, 3, 6, 1, 2, 1, 14, 2)) if mibBuilder.loadTexts: ospfAreaTable.setDescription("Information describing the configured parameters and\ncumulative statistics of the router's attached areas.\nThe interfaces and virtual links are configured\nas part of these areas. Area 0.0.0.0, by definition,\nis the backbone area.") ospfAreaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 2, 1)).setIndexNames((0, "OSPF-MIB", "ospfAreaId")) if mibBuilder.loadTexts: ospfAreaEntry.setDescription("Information describing the configured parameters and\ncumulative statistics of one of the router's attached areas.\nThe interfaces and virtual links are configured as part of\nthese areas. Area 0.0.0.0, by definition, is the backbone\narea.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 1), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaId.setDescription("A 32-bit integer uniquely identifying an area.\nArea ID 0.0.0.0 is used for the OSPF backbone.") ospfAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 2), OspfAuthenticationType().clone('none')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAuthType.setDescription("The authentication type specified for an area.") ospfImportAsExtern = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("importExternal", 1), ("importNoExternal", 2), ("importNssa", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfImportAsExtern.setDescription("Indicates if an area is a stub area, NSSA, or standard\narea. Type-5 AS-external LSAs and type-11 Opaque LSAs are\nnot imported into stub areas or NSSAs. NSSAs import\nAS-external data as type-7 LSAs") ospfSpfRuns = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfSpfRuns.setDescription("The number of times that the intra-area route\ntable has been calculated using this area's\nlink state database. This is typically done\nusing Dijkstra's algorithm.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at other\ntimes as indicated by the value of ospfDiscontinuityTime.") ospfAreaBdrRtrCount = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaBdrRtrCount.setDescription("The total number of Area Border Routers reachable\nwithin this area. This is initially zero and is\ncalculated in each Shortest Path First (SPF) pass.") ospfAsBdrRtrCount = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAsBdrRtrCount.setDescription("The total number of Autonomous System Border\nRouters reachable within this area. This is\ninitially zero and is calculated in each SPF\npass.") ospfAreaLsaCount = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaLsaCount.setDescription("The total number of link state advertisements\nin this area's link state database, excluding\nAS-external LSAs.") ospfAreaLsaCksumSum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 8), Integer32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaLsaCksumSum.setDescription("The 32-bit sum of the link state\nadvertisements' LS checksums contained in this\narea's link state database. This sum excludes\nexternal (LS type-5) link state advertisements.\nThe sum can be used to determine if there has\nbeen a change in a router's link state\ndatabase, and to compare the link state database of\ntwo routers. The value should be treated as unsigned\nwhen comparing two sums of checksums.") ospfAreaSummary = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("noAreaSummary", 1), ("sendAreaSummary", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaSummary.setDescription("The variable ospfAreaSummary controls the\nimport of summary LSAs into stub and NSSA areas.\nIt has no effect on other areas.\n\nIf it is noAreaSummary, the router will not\noriginate summary LSAs into the stub or NSSA area.\nIt will rely entirely on its default route.\n\nIf it is sendAreaSummary, the router will both\nsummarize and propagate summary LSAs.") ospfAreaStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfAreaNssaTranslatorRole = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("always", 1), ("candidate", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaNssaTranslatorRole.setDescription("Indicates an NSSA border router's ability to\nperform NSSA translation of type-7 LSAs into\ntype-5 LSAs.") ospfAreaNssaTranslatorState = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("elected", 2), ("disabled", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaNssaTranslatorState.setDescription("Indicates if and how an NSSA border router is\nperforming NSSA translation of type-7 LSAs into type-5\n\n\n\nLSAs. When this object is set to enabled, the NSSA Border\nrouter's OspfAreaNssaExtTranslatorRole has been set to\nalways. When this object is set to elected, a candidate\nNSSA Border router is Translating type-7 LSAs into type-5.\nWhen this object is set to disabled, a candidate NSSA\nborder router is NOT translating type-7 LSAs into type-5.") ospfAreaNssaTranslatorStabilityInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 13), PositiveInteger().clone('40')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaNssaTranslatorStabilityInterval.setDescription("The number of seconds after an elected translator\ndetermines its services are no longer required, that\nit should continue to perform its translation duties.") ospfAreaNssaTranslatorEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaNssaTranslatorEvents.setDescription("Indicates the number of translator state changes\nthat have occurred since the last boot-up.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at other\ntimes as indicated by the value of ospfDiscontinuityTime.") ospfStubAreaTable = MibTable((1, 3, 6, 1, 2, 1, 14, 3)) if mibBuilder.loadTexts: ospfStubAreaTable.setDescription("The set of metrics that will be advertised\nby a default Area Border Router into a stub area.") ospfStubAreaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 3, 1)).setIndexNames((0, "OSPF-MIB", "ospfStubAreaId"), (0, "OSPF-MIB", "ospfStubTOS")) if mibBuilder.loadTexts: ospfStubAreaEntry.setDescription("The metric for a given Type of Service that\nwill be advertised by a default Area Border\nRouter into a stub area.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfStubAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 3, 1, 1), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfStubAreaId.setDescription("The 32-bit identifier for the stub area. On\ncreation, this can be derived from the\ninstance.") ospfStubTOS = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 3, 1, 2), TOSType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfStubTOS.setDescription("The Type of Service associated with the\nmetric. On creation, this can be derived from\n\n\n\nthe instance.") ospfStubMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 3, 1, 3), BigMetric()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfStubMetric.setDescription("The metric value applied at the indicated Type\nof Service. By default, this equals the least\nmetric at the Type of Service among the\ninterfaces to other areas.") ospfStubStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfStubStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfStubMetricType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("ospfMetric", 1), ("comparableCost", 2), ("nonComparable", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfStubMetricType.setDescription("This variable displays the type of metric\nadvertised as a default route.") ospfLsdbTable = MibTable((1, 3, 6, 1, 2, 1, 14, 4)) if mibBuilder.loadTexts: ospfLsdbTable.setDescription("The OSPF Process's link state database (LSDB).\nThe LSDB contains the link state advertisements\nfrom throughout the areas that the device is attached to.") ospfLsdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 4, 1)).setIndexNames((0, "OSPF-MIB", "ospfLsdbAreaId"), (0, "OSPF-MIB", "ospfLsdbType"), (0, "OSPF-MIB", "ospfLsdbLsid"), (0, "OSPF-MIB", "ospfLsdbRouterId")) if mibBuilder.loadTexts: ospfLsdbEntry.setDescription("A single link state advertisement.") ospfLsdbAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 1), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbAreaId.setDescription("The 32-bit identifier of the area from which\nthe LSA was received.") ospfLsdbType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,10,5,2,7,6,)).subtype(namedValues=NamedValues(("routerLink", 1), ("areaOpaqueLink", 10), ("networkLink", 2), ("summaryLink", 3), ("asSummaryLink", 4), ("asExternalLink", 5), ("multicastLink", 6), ("nssaExternalLink", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbType.setDescription("The type of the link state advertisement.\nEach link state type has a separate advertisement\nformat.\n\nNote: External link state advertisements are permitted\nfor backward compatibility, but should be displayed\nin the ospfAsLsdbTable rather than here.") ospfLsdbLsid = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbLsid.setDescription("The Link State ID is an LS Type Specific field\ncontaining either a Router ID or an IP address;\nit identifies the piece of the routing domain\nthat is being described by the advertisement.") ospfLsdbRouterId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 4), RouterID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbRouterId.setDescription("The 32-bit number that uniquely identifies the\noriginating router in the Autonomous System.") ospfLsdbSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbSequence.setDescription("The sequence number field is a signed 32-bit\ninteger. It starts with the value '80000001'h,\nor -'7FFFFFFF'h, and increments until '7FFFFFFF'h.\nThus, a typical sequence number will be very negative.\nIt is used to detect old and duplicate Link State\nAdvertisements. The space of sequence numbers is linearly\nordered. The larger the sequence number, the more recent\nthe advertisement.") ospfLsdbAge = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbAge.setDescription("This field is the age of the link state advertisement\nin seconds.") ospfLsdbChecksum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbChecksum.setDescription("This field is the checksum of the complete contents of\nthe advertisement, excepting the age field. The age field\nis excepted so that an advertisement's age can be\nincremented without updating the checksum. The checksum\nused is the same that is used for ISO connectionless\n\n\n\ndatagrams; it is commonly referred to as the\nFletcher checksum.") ospfLsdbAdvertisement = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 4, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLsdbAdvertisement.setDescription("The entire link state advertisement, including\nits header.\n\nNote that for variable length LSAs, SNMP agents\nmay not be able to return the largest string size.") ospfAreaRangeTable = MibTable((1, 3, 6, 1, 2, 1, 14, 5)) if mibBuilder.loadTexts: ospfAreaRangeTable.setDescription("The Address Range Table acts as an adjunct to the Area\nTable. It describes those Address Range Summaries that\nare configured to be propagated from an Area to reduce\nthe amount of information about it that is known beyond\nits borders. It contains a set of IP address ranges\nspecified by an IP address/IP network mask pair.\nFor example, class B address range of X.X.X.X\nwith a network mask of 255.255.0.0 includes all IP\naddresses from X.X.0.0 to X.X.255.255.\n\nNote that this table is obsoleted and is replaced\nby the Area Aggregate Table.") ospfAreaRangeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 5, 1)).setIndexNames((0, "OSPF-MIB", "ospfAreaRangeAreaId"), (0, "OSPF-MIB", "ospfAreaRangeNet")) if mibBuilder.loadTexts: ospfAreaRangeEntry.setDescription("A single area address range.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfAreaRangeAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 5, 1, 1), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaRangeAreaId.setDescription("The area that the address range is to be found\nwithin.") ospfAreaRangeNet = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 5, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaRangeNet.setDescription("The IP address of the net or subnet indicated\nby the range.") ospfAreaRangeMask = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 5, 1, 3), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaRangeMask.setDescription("The subnet mask that pertains to the net or\nsubnet.") ospfAreaRangeStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 5, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaRangeStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfAreaRangeEffect = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 5, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("advertiseMatching", 1), ("doNotAdvertiseMatching", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaRangeEffect.setDescription("Subnets subsumed by ranges either trigger the\nadvertisement of the indicated summary\n(advertiseMatching) or result in the subnet's not\nbeing advertised at all outside the area.") ospfHostTable = MibTable((1, 3, 6, 1, 2, 1, 14, 6)) if mibBuilder.loadTexts: ospfHostTable.setDescription("The Host/Metric Table indicates what hosts are directly\n\n\n\nattached to the router, what metrics and types\nof service should be advertised for them,\nand what areas they are found within.") ospfHostEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 6, 1)).setIndexNames((0, "OSPF-MIB", "ospfHostIpAddress"), (0, "OSPF-MIB", "ospfHostTOS")) if mibBuilder.loadTexts: ospfHostEntry.setDescription("A metric to be advertised, for a given type of\nservice, when a given host is reachable.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfHostIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 6, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfHostIpAddress.setDescription("The IP address of the host.") ospfHostTOS = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 6, 1, 2), TOSType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfHostTOS.setDescription("The Type of Service of the route being configured.") ospfHostMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 6, 1, 3), Metric()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfHostMetric.setDescription("The metric to be advertised.") ospfHostStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 6, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfHostStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfHostAreaID = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 6, 1, 5), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfHostAreaID.setDescription("The OSPF area to which the host belongs.\nDeprecated by ospfHostCfgAreaID.") ospfHostCfgAreaID = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 6, 1, 6), AreaID()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfHostCfgAreaID.setDescription("To configure the OSPF area to which the host belongs.") ospfIfTable = MibTable((1, 3, 6, 1, 2, 1, 14, 7)) if mibBuilder.loadTexts: ospfIfTable.setDescription("The OSPF Interface Table describes the interfaces\nfrom the viewpoint of OSPF.\nIt augments the ipAddrTable with OSPF specific information.") ospfIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 7, 1)).setIndexNames((0, "OSPF-MIB", "ospfIfIpAddress"), (0, "OSPF-MIB", "ospfAddressLessIf")) if mibBuilder.loadTexts: ospfIfEntry.setDescription("The OSPF interface entry describes one interface\nfrom the viewpoint of OSPF.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfIfIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfIpAddress.setDescription("The IP address of this OSPF interface.") ospfAddressLessIf = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAddressLessIf.setDescription("For the purpose of easing the instancing of\naddressed and addressless interfaces; this\nvariable takes the value 0 on interfaces with\nIP addresses and the corresponding value of\nifIndex for interfaces having no IP address.") ospfIfAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 3), AreaID().clone(hexValue='00000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfAreaId.setDescription("A 32-bit integer uniquely identifying the area\nto which the interface connects. Area ID\n0.0.0.0 is used for the OSPF backbone.") ospfIfType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,5,3,)).subtype(namedValues=NamedValues(("broadcast", 1), ("nbma", 2), ("pointToPoint", 3), ("pointToMultipoint", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfType.setDescription("The OSPF interface type.\nBy way of a default, this field may be intuited\nfrom the corresponding value of ifType.\nBroadcast LANs, such as Ethernet and IEEE 802.5,\ntake the value 'broadcast', X.25 and similar\ntechnologies take the value 'nbma', and links\nthat are definitively point to point take the\nvalue 'pointToPoint'.") ospfIfAdminStat = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 5), Status().clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfAdminStat.setDescription("The OSPF interface's administrative status.\nThe value formed on the interface, and the interface\nwill be advertised as an internal route to some area.\nThe value 'disabled' denotes that the interface is\nexternal to OSPF.") ospfIfRtrPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 6), DesignatedRouterPriority().clone('1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfRtrPriority.setDescription("The priority of this interface. Used in\nmulti-access networks, this field is used in\nthe designated router election algorithm. The\nvalue 0 signifies that the router is not eligible\nto become the designated router on this particular\nnetwork. In the event of a tie in this value,\nrouters will use their Router ID as a tie breaker.") ospfIfTransitDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 7), UpToMaxAge().clone('1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfTransitDelay.setDescription("The estimated number of seconds it takes to\ntransmit a link state update packet over this\ninterface. Note that the minimal value SHOULD be\n1 second.") ospfIfRetransInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 8), UpToMaxAge().clone('5')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfRetransInterval.setDescription("The number of seconds between link state advertisement\nretransmissions, for adjacencies belonging to this\ninterface. This value is also used when retransmitting\n\n\n\ndatabase description and Link State request packets.\nNote that minimal value SHOULD be 1 second.") ospfIfHelloInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 9), HelloRange().clone('10')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfHelloInterval.setDescription("The length of time, in seconds, between the Hello packets\nthat the router sends on the interface. This value must be\nthe same for all routers attached to a common network.") ospfIfRtrDeadInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 10), PositiveInteger().clone('40')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfRtrDeadInterval.setDescription("The number of seconds that a router's Hello packets have\nnot been seen before its neighbors declare the router down.\nThis should be some multiple of the Hello interval. This\nvalue must be the same for all routers attached to a common\nnetwork.") ospfIfPollInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 11), PositiveInteger().clone('120')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfPollInterval.setDescription("The larger time interval, in seconds, between the Hello\npackets sent to an inactive non-broadcast multi-access\nneighbor.") ospfIfState = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,3,6,7,2,4,)).subtype(namedValues=NamedValues(("down", 1), ("loopback", 2), ("waiting", 3), ("pointToPoint", 4), ("designatedRouter", 5), ("backupDesignatedRouter", 6), ("otherDesignatedRouter", 7), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfState.setDescription("The OSPF Interface State.") ospfIfDesignatedRouter = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 13), IpAddress().clone("0.0.0.0")).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfDesignatedRouter.setDescription("The IP address of the designated router.") ospfIfBackupDesignatedRouter = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 14), IpAddress().clone("0.0.0.0")).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfBackupDesignatedRouter.setDescription("The IP address of the backup designated\nrouter.") ospfIfEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfEvents.setDescription("The number of times this OSPF interface has\nchanged its state or an error has occurred.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at other\ntimes as indicated by the value of ospfDiscontinuityTime.") ospfIfAuthKey = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 256)).clone(hexValue='0000000000000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfAuthKey.setDescription("The cleartext password used as an OSPF\nauthentication key when simplePassword security\nis enabled. This object does not access any OSPF\ncryptogaphic (e.g., MD5) authentication key under\nany circumstance.\n\nIf the key length is shorter than 8 octets, the\nagent will left adjust and zero fill to 8 octets.\n\nUnauthenticated interfaces need no authentication\nkey, and simple password authentication cannot use\na key of more than 8 octets.\n\nNote that the use of simplePassword authentication\nis NOT recommended when there is concern regarding\nattack upon the OSPF system. SimplePassword\nauthentication is only sufficient to protect against\naccidental misconfigurations because it re-uses\ncleartext passwords [RFC1704].\n\nWhen read, ospfIfAuthKey always returns an octet\nstring of length zero.") ospfIfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 17), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfIfMulticastForwarding = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("blocked", 1), ("multicast", 2), ("unicast", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfMulticastForwarding.setDescription("The way multicasts should be forwarded on this\ninterface: not forwarded, forwarded as data\nlink multicasts, or forwarded as data link\nunicasts. Data link multicasting is not\nmeaningful on point-to-point and NBMA interfaces,\nand setting ospfMulticastForwarding to 0 effectively\ndisables all multicast forwarding.") ospfIfDemand = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 19), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfDemand.setDescription("Indicates whether Demand OSPF procedures (hello\nsuppression to FULL neighbors and setting the\nDoNotAge flag on propagated LSAs) should be\nperformed on this interface.") ospfIfAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 20), OspfAuthenticationType().clone('none')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfAuthType.setDescription("The authentication type specified for an interface.\n\nNote that this object can be used to engage\nin significant attacks against an OSPF router.") ospfIfLsaCount = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfLsaCount.setDescription("The total number of link-local link state advertisements\nin this interface's link-local link state database.") ospfIfLsaCksumSum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 22), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfLsaCksumSum.setDescription("The 32-bit unsigned sum of the Link State\nAdvertisements' LS checksums contained in this\ninterface's link-local link state database.\nThe sum can be used to determine if there has\nbeen a change in the interface's link state\ndatabase and to compare the interface link state\ndatabase of routers attached to the same subnet.") ospfIfDesignatedRouterId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 23), RouterID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfDesignatedRouterId.setDescription("The Router ID of the designated router.") ospfIfBackupDesignatedRouterId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 7, 1, 24), RouterID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfBackupDesignatedRouterId.setDescription("The Router ID of the backup designated router.") ospfIfMetricTable = MibTable((1, 3, 6, 1, 2, 1, 14, 8)) if mibBuilder.loadTexts: ospfIfMetricTable.setDescription("The Metric Table describes the metrics to be advertised\nfor a specified interface at the various types of service.\nAs such, this table is an adjunct of the OSPF Interface\nTable.\n\nTypes of service, as defined by RFC 791, have the ability\nto request low delay, high bandwidth, or reliable linkage.\n\nFor the purposes of this specification, the measure of\nbandwidth:\n\n\n\n\nMetric = referenceBandwidth / ifSpeed\n\nis the default value.\nThe default reference bandwidth is 10^8.\nFor multiple link interfaces, note that ifSpeed is the sum\nof the individual link speeds. This yields a number having\nthe following typical values:\n\nNetwork Type/bit rate Metric\n\n>= 100 MBPS 1\nEthernet/802.3 10\nE1 48\nT1 (ESF) 65\n64 KBPS 1562\n56 KBPS 1785\n19.2 KBPS 5208\n9.6 KBPS 10416\n\nRoutes that are not specified use the default\n(TOS 0) metric.\n\nNote that the default reference bandwidth can be configured\nusing the general group object ospfReferenceBandwidth.") ospfIfMetricEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 8, 1)).setIndexNames((0, "OSPF-MIB", "ospfIfMetricIpAddress"), (0, "OSPF-MIB", "ospfIfMetricAddressLessIf"), (0, "OSPF-MIB", "ospfIfMetricTOS")) if mibBuilder.loadTexts: ospfIfMetricEntry.setDescription("A particular TOS metric for a non-virtual interface\nidentified by the interface index.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfIfMetricIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 8, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfMetricIpAddress.setDescription("The IP address of this OSPF interface. On row\ncreation, this can be derived from the instance.") ospfIfMetricAddressLessIf = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 8, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfMetricAddressLessIf.setDescription("For the purpose of easing the instancing of\naddressed and addressless interfaces; this\nvariable takes the value 0 on interfaces with\nIP addresses and the value of ifIndex for\ninterfaces having no IP address. On row\ncreation, this can be derived from the instance.") ospfIfMetricTOS = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 8, 1, 3), TOSType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfIfMetricTOS.setDescription("The Type of Service metric being referenced.\nOn row creation, this can be derived from the\ninstance.") ospfIfMetricValue = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 8, 1, 4), Metric()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfMetricValue.setDescription("The metric of using this Type of Service on\nthis interface. The default value of the TOS 0\nmetric is 10^8 / ifSpeed.") ospfIfMetricStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 8, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfIfMetricStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfVirtIfTable = MibTable((1, 3, 6, 1, 2, 1, 14, 9)) if mibBuilder.loadTexts: ospfVirtIfTable.setDescription("Information about this router's virtual interfaces\nthat the OSPF Process is configured to carry on.") ospfVirtIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 9, 1)).setIndexNames((0, "OSPF-MIB", "ospfVirtIfAreaId"), (0, "OSPF-MIB", "ospfVirtIfNeighbor")) if mibBuilder.loadTexts: ospfVirtIfEntry.setDescription("Information about a single virtual interface.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfVirtIfAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 1), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtIfAreaId.setDescription("The transit area that the virtual link\ntraverses. By definition, this is not 0.0.0.0.") ospfVirtIfNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 2), RouterID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtIfNeighbor.setDescription("The Router ID of the virtual neighbor.") ospfVirtIfTransitDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 3), UpToMaxAge().clone('1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfVirtIfTransitDelay.setDescription("The estimated number of seconds it takes to\ntransmit a Link State update packet over this\ninterface. Note that the minimal value SHOULD be\n1 second.") ospfVirtIfRetransInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 4), UpToMaxAge().clone('5')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfVirtIfRetransInterval.setDescription("The number of seconds between link state\navertisement retransmissions, for adjacencies\nbelonging to this interface. This value is\nalso used when retransmitting database\ndescription and Link State request packets. This\nvalue should be well over the expected\nround-trip time. Note that the minimal value SHOULD be\n1 second.") ospfVirtIfHelloInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 5), HelloRange().clone('10')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfVirtIfHelloInterval.setDescription("The length of time, in seconds, between the\nHello packets that the router sends on the\ninterface. This value must be the same for the\nvirtual neighbor.") ospfVirtIfRtrDeadInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 6), PositiveInteger().clone('60')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfVirtIfRtrDeadInterval.setDescription("The number of seconds that a router's Hello\npackets have not been seen before its\nneighbors declare the router down. This should be\nsome multiple of the Hello interval. This\nvalue must be the same for the virtual neighbor.") ospfVirtIfState = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,)).subtype(namedValues=NamedValues(("down", 1), ("pointToPoint", 4), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtIfState.setDescription("OSPF virtual interface states.") ospfVirtIfEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtIfEvents.setDescription("The number of state changes or error events on\nthis virtual link.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at other\ntimes as indicated by the value of ospfDiscontinuityTime.") ospfVirtIfAuthKey = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 256)).clone(hexValue='0000000000000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfVirtIfAuthKey.setDescription("The cleartext password used as an OSPF\nauthentication key when simplePassword security\nis enabled. This object does not access any OSPF\ncryptogaphic (e.g., MD5) authentication key under\nany circumstance.\n\n\n\nIf the key length is shorter than 8 octets, the\nagent will left adjust and zero fill to 8 octets.\n\nUnauthenticated interfaces need no authentication\nkey, and simple password authentication cannot use\na key of more than 8 octets.\n\nNote that the use of simplePassword authentication\nis NOT recommended when there is concern regarding\nattack upon the OSPF system. SimplePassword\nauthentication is only sufficient to protect against\naccidental misconfigurations because it re-uses\ncleartext passwords. [RFC1704]\n\nWhen read, ospfIfAuthKey always returns an octet\nstring of length zero.") ospfVirtIfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfVirtIfStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfVirtIfAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 11), OspfAuthenticationType().clone('none')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfVirtIfAuthType.setDescription("The authentication type specified for a virtual interface.\n\nNote that this object can be used to engage\nin significant attacks against an OSPF router.") ospfVirtIfLsaCount = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtIfLsaCount.setDescription("The total number of link-local link state advertisements\nin this virtual interface's link-local link state database.") ospfVirtIfLsaCksumSum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 9, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtIfLsaCksumSum.setDescription("The 32-bit unsigned sum of the link state\nadvertisements' LS checksums contained in this\nvirtual interface's link-local link state database.\nThe sum can be used to determine if there has\nbeen a change in the virtual interface's link state\ndatabase, and to compare the virtual interface\nlink state database of the virtual neighbors.") ospfNbrTable = MibTable((1, 3, 6, 1, 2, 1, 14, 10)) if mibBuilder.loadTexts: ospfNbrTable.setDescription("A table describing all non-virtual neighbors\nin the locality of the OSPF router.") ospfNbrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 10, 1)).setIndexNames((0, "OSPF-MIB", "ospfNbrIpAddr"), (0, "OSPF-MIB", "ospfNbrAddressLessIndex")) if mibBuilder.loadTexts: ospfNbrEntry.setDescription("The information regarding a single neighbor.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\n\n\n\nstorage.") ospfNbrIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrIpAddr.setDescription("The IP address this neighbor is using in its\nIP source address. Note that, on addressless\nlinks, this will not be 0.0.0.0 but the\n\n\n\naddress of another of the neighbor's interfaces.") ospfNbrAddressLessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrAddressLessIndex.setDescription("On an interface having an IP address, zero.\nOn addressless interfaces, the corresponding\nvalue of ifIndex in the Internet Standard MIB.\nOn row creation, this can be derived from the\ninstance.") ospfNbrRtrId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 3), RouterID().clone(hexValue='00000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrRtrId.setDescription("A 32-bit integer (represented as a type\nIpAddress) uniquely identifying the neighboring\nrouter in the Autonomous System.") ospfNbrOptions = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 4), Integer32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrOptions.setDescription("A bit mask corresponding to the neighbor's\noptions field.\n\nBit 0, if set, indicates that the system will\noperate on Type of Service metrics other than\nTOS 0. If zero, the neighbor will ignore all\nmetrics except the TOS 0 metric.\n\nBit 1, if set, indicates that the associated\narea accepts and operates on external\ninformation; if zero, it is a stub area.\n\nBit 2, if set, indicates that the system is\ncapable of routing IP multicast datagrams, that is\nthat it implements the multicast extensions to\nOSPF.\n\n\n\nBit 3, if set, indicates that the associated\narea is an NSSA. These areas are capable of\ncarrying type-7 external advertisements, which\nare translated into type-5 external advertisements\nat NSSA borders.") ospfNbrPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 5), DesignatedRouterPriority().clone('1')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfNbrPriority.setDescription("The priority of this neighbor in the designated\nrouter election algorithm. The value 0 signifies\nthat the neighbor is not eligible to become\nthe designated router on this particular network.") ospfNbrState = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,3,7,2,8,6,4,)).subtype(namedValues=NamedValues(("down", 1), ("attempt", 2), ("init", 3), ("twoWay", 4), ("exchangeStart", 5), ("exchange", 6), ("loading", 7), ("full", 8), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrState.setDescription("The state of the relationship with this neighbor.") ospfNbrEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrEvents.setDescription("The number of times this neighbor relationship\nhas changed state or an error has occurred.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at other\ntimes as indicated by the value of ospfDiscontinuityTime.") ospfNbrLsRetransQLen = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrLsRetransQLen.setDescription("The current length of the retransmission\nqueue.") ospfNbmaNbrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfNbmaNbrStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfNbmaNbrPermanence = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("dynamic", 1), ("permanent", 2), )).clone(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbmaNbrPermanence.setDescription("This variable displays the status of the entry;\n'dynamic' and 'permanent' refer to how the neighbor\nbecame known.") ospfNbrHelloSuppressed = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrHelloSuppressed.setDescription("Indicates whether Hellos are being suppressed\nto the neighbor.") ospfNbrRestartHelperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("notHelping", 1), ("helping", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrRestartHelperStatus.setDescription("Indicates whether the router is acting\nas a graceful restart helper for the neighbor.") ospfNbrRestartHelperAge = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrRestartHelperAge.setDescription("Remaining time in current OSPF graceful restart\ninterval, if the router is acting as a restart\nhelper for the neighbor.") ospfNbrRestartHelperExitReason = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 10, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,3,4,2,)).subtype(namedValues=NamedValues(("none", 1), ("inProgress", 2), ("completed", 3), ("timedOut", 4), ("topologyChanged", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfNbrRestartHelperExitReason.setDescription("Describes the outcome of the last attempt at acting\nas a graceful restart helper for the neighbor.") ospfVirtNbrTable = MibTable((1, 3, 6, 1, 2, 1, 14, 11)) if mibBuilder.loadTexts: ospfVirtNbrTable.setDescription("This table describes all virtual neighbors.\nSince virtual links are configured\nin the Virtual Interface Table, this table is read-only.") ospfVirtNbrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 11, 1)).setIndexNames((0, "OSPF-MIB", "ospfVirtNbrArea"), (0, "OSPF-MIB", "ospfVirtNbrRtrId")) if mibBuilder.loadTexts: ospfVirtNbrEntry.setDescription("Virtual neighbor information.") ospfVirtNbrArea = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 1), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrArea.setDescription("The Transit Area Identifier.") ospfVirtNbrRtrId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 2), RouterID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrRtrId.setDescription("A 32-bit integer uniquely identifying the\nneighboring router in the Autonomous System.") ospfVirtNbrIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrIpAddr.setDescription("The IP address this virtual neighbor is using.") ospfVirtNbrOptions = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrOptions.setDescription("A bit mask corresponding to the neighbor's\noptions field.\n\nBit 1, if set, indicates that the system will\noperate on Type of Service metrics other than\nTOS 0. If zero, the neighbor will ignore all\nmetrics except the TOS 0 metric.\n\nBit 2, if set, indicates that the system is\nnetwork multicast capable, i.e., that it\nimplements OSPF multicast routing.") ospfVirtNbrState = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,3,7,2,8,6,4,)).subtype(namedValues=NamedValues(("down", 1), ("attempt", 2), ("init", 3), ("twoWay", 4), ("exchangeStart", 5), ("exchange", 6), ("loading", 7), ("full", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrState.setDescription("The state of the virtual neighbor relationship.") ospfVirtNbrEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrEvents.setDescription("The number of times this virtual link has\nchanged its state or an error has occurred.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at other\ntimes as indicated by the value of ospfDiscontinuityTime.") ospfVirtNbrLsRetransQLen = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrLsRetransQLen.setDescription("The current length of the retransmission\nqueue.") ospfVirtNbrHelloSuppressed = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrHelloSuppressed.setDescription("Indicates whether Hellos are being suppressed\nto the neighbor.") ospfVirtNbrRestartHelperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("notHelping", 1), ("helping", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrRestartHelperStatus.setDescription("Indicates whether the router is acting\nas a graceful restart helper for the neighbor.") ospfVirtNbrRestartHelperAge = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrRestartHelperAge.setDescription("Remaining time in current OSPF graceful restart\ninterval, if the router is acting as a restart\nhelper for the neighbor.") ospfVirtNbrRestartHelperExitReason = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 11, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,3,4,2,)).subtype(namedValues=NamedValues(("none", 1), ("inProgress", 2), ("completed", 3), ("timedOut", 4), ("topologyChanged", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtNbrRestartHelperExitReason.setDescription("Describes the outcome of the last attempt at acting\nas a graceful restart helper for the neighbor.") ospfExtLsdbTable = MibTable((1, 3, 6, 1, 2, 1, 14, 12)) if mibBuilder.loadTexts: ospfExtLsdbTable.setDescription("The OSPF Process's external LSA link state database.\n\nThis table is identical to the OSPF LSDB Table\nin format, but contains only external link state\nadvertisements. The purpose is to allow external\n\n\n\nLSAs to be displayed once for the router rather\nthan once in each non-stub area.\n\nNote that external LSAs are also in the AS-scope link state\ndatabase.") ospfExtLsdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 12, 1)).setIndexNames((0, "OSPF-MIB", "ospfExtLsdbType"), (0, "OSPF-MIB", "ospfExtLsdbLsid"), (0, "OSPF-MIB", "ospfExtLsdbRouterId")) if mibBuilder.loadTexts: ospfExtLsdbEntry.setDescription("A single link state advertisement.") ospfExtLsdbType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 12, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(5,)).subtype(namedValues=NamedValues(("asExternalLink", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExtLsdbType.setDescription("The type of the link state advertisement.\nEach link state type has a separate advertisement\nformat.") ospfExtLsdbLsid = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 12, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExtLsdbLsid.setDescription("The Link State ID is an LS Type Specific field\ncontaining either a Router ID or an IP address;\nit identifies the piece of the routing domain\nthat is being described by the advertisement.") ospfExtLsdbRouterId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 12, 1, 3), RouterID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExtLsdbRouterId.setDescription("The 32-bit number that uniquely identifies the\noriginating router in the Autonomous System.") ospfExtLsdbSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 12, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExtLsdbSequence.setDescription("The sequence number field is a signed 32-bit\ninteger. It starts with the value '80000001'h,\nor -'7FFFFFFF'h, and increments until '7FFFFFFF'h.\nThus, a typical sequence number will be very negative.\nIt is used to detect old and duplicate link state\nadvertisements. The space of sequence numbers is linearly\nordered. The larger the sequence number, the more recent\nthe advertisement.") ospfExtLsdbAge = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 12, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExtLsdbAge.setDescription("This field is the age of the link state\nadvertisement in seconds.") ospfExtLsdbChecksum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 12, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExtLsdbChecksum.setDescription("This field is the checksum of the complete\ncontents of the advertisement, excepting the\nage field. The age field is excepted so that\nan advertisement's age can be incremented\nwithout updating the checksum. The checksum\nused is the same that is used for ISO\nconnectionless datagrams; it is commonly referred\nto as the Fletcher checksum.") ospfExtLsdbAdvertisement = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 12, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(36, 36)).setFixedLength(36)).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfExtLsdbAdvertisement.setDescription("The entire link state advertisement, including\nits header.") ospfRouteGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 13)) ospfIntraArea = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 13, 1)) ospfInterArea = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 13, 2)) ospfExternalType1 = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 13, 3)) ospfExternalType2 = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 13, 4)) ospfAreaAggregateTable = MibTable((1, 3, 6, 1, 2, 1, 14, 14)) if mibBuilder.loadTexts: ospfAreaAggregateTable.setDescription("The Area Aggregate Table acts as an adjunct\nto the Area Table. It describes those address aggregates\nthat are configured to be propagated from an area.\nIts purpose is to reduce the amount of information\nthat is known beyond an Area's borders.\n\nIt contains a set of IP address ranges\nspecified by an IP address/IP network mask pair.\nFor example, a class B address range of X.X.X.X\nwith a network mask of 255.255.0.0 includes all IP\naddresses from X.X.0.0 to X.X.255.255.\n\nNote that if ranges are configured such that one range\nsubsumes another range (e.g., 10.0.0.0 mask 255.0.0.0\nand 10.1.0.0 mask 255.255.0.0),\nthe most specific match is the preferred one.") ospfAreaAggregateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 14, 1)).setIndexNames((0, "OSPF-MIB", "ospfAreaAggregateAreaID"), (0, "OSPF-MIB", "ospfAreaAggregateLsdbType"), (0, "OSPF-MIB", "ospfAreaAggregateNet"), (0, "OSPF-MIB", "ospfAreaAggregateMask")) if mibBuilder.loadTexts: ospfAreaAggregateEntry.setDescription("A single area aggregate entry.\n\nInformation in this table is persistent and when this object\nis written the entity SHOULD save the change to non-volatile\nstorage.") ospfAreaAggregateAreaID = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 14, 1, 1), AreaID()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaAggregateAreaID.setDescription("The area within which the address aggregate is to be\nfound.") ospfAreaAggregateLsdbType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 14, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(7,3,)).subtype(namedValues=NamedValues(("summaryLink", 3), ("nssaExternalLink", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaAggregateLsdbType.setDescription("The type of the address aggregate. This field\nspecifies the Lsdb type that this address\naggregate applies to.") ospfAreaAggregateNet = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 14, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaAggregateNet.setDescription("The IP address of the net or subnet indicated\nby the range.") ospfAreaAggregateMask = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 14, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaAggregateMask.setDescription("The subnet mask that pertains to the net or\nsubnet.") ospfAreaAggregateStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 14, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaAggregateStatus.setDescription("This object permits management of the table by\nfacilitating actions such as row creation,\nconstruction, and destruction.\n\nThe value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") ospfAreaAggregateEffect = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 14, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("advertiseMatching", 1), ("doNotAdvertiseMatching", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaAggregateEffect.setDescription("Subnets subsumed by ranges either trigger the\nadvertisement of the indicated aggregate\n(advertiseMatching) or result in the subnet's not\nbeing advertised at all outside the area.") ospfAreaAggregateExtRouteTag = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 14, 1, 7), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ospfAreaAggregateExtRouteTag.setDescription("External route tag to be included in NSSA (type-7)\nLSAs.") ospfConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 15)) ospfGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 15, 1)) ospfCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 15, 2)) ospfLocalLsdbTable = MibTable((1, 3, 6, 1, 2, 1, 14, 17)) if mibBuilder.loadTexts: ospfLocalLsdbTable.setDescription("The OSPF Process's link-local link state database\nfor non-virtual links.\nThis table is identical to the OSPF LSDB Table\nin format, but contains only link-local Link State\nAdvertisements for non-virtual links. The purpose is\nto allow link-local LSAs to be displayed for each\nnon-virtual interface. This table is implemented to\nsupport type-9 LSAs that are defined\nin 'The OSPF Opaque LSA Option'.") ospfLocalLsdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 17, 1)).setIndexNames((0, "OSPF-MIB", "ospfLocalLsdbIpAddress"), (0, "OSPF-MIB", "ospfLocalLsdbAddressLessIf"), (0, "OSPF-MIB", "ospfLocalLsdbType"), (0, "OSPF-MIB", "ospfLocalLsdbLsid"), (0, "OSPF-MIB", "ospfLocalLsdbRouterId")) if mibBuilder.loadTexts: ospfLocalLsdbEntry.setDescription("A single link state advertisement.") ospfLocalLsdbIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfLocalLsdbIpAddress.setDescription("The IP address of the interface from\nwhich the LSA was received if the interface is\nnumbered.") ospfLocalLsdbAddressLessIf = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 2), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfLocalLsdbAddressLessIf.setDescription("The interface index of the interface from\nwhich the LSA was received if the interface is\nunnumbered.") ospfLocalLsdbType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(9,)).subtype(namedValues=NamedValues(("localOpaqueLink", 9), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfLocalLsdbType.setDescription("The type of the link state advertisement.\nEach link state type has a separate\nadvertisement format.") ospfLocalLsdbLsid = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 4), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfLocalLsdbLsid.setDescription("The Link State ID is an LS Type Specific field\ncontaining a 32-bit identifier in IP address format;\nit identifies the piece of the routing domain\nthat is being described by the advertisement.") ospfLocalLsdbRouterId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 5), RouterID()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfLocalLsdbRouterId.setDescription("The 32-bit number that uniquely identifies the\noriginating router in the Autonomous System.") ospfLocalLsdbSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLocalLsdbSequence.setDescription("The sequence number field is a signed 32-bit\ninteger. It starts with the value '80000001'h,\nor -'7FFFFFFF'h, and increments until '7FFFFFFF'h.\nThus, a typical sequence number will be very negative.\nIt is used to detect old and duplicate link state\nadvertisements. The space of sequence numbers is linearly\nordered. The larger the sequence number, the more recent\nthe advertisement.") ospfLocalLsdbAge = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLocalLsdbAge.setDescription("This field is the age of the link state\nadvertisement in seconds.") ospfLocalLsdbChecksum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLocalLsdbChecksum.setDescription("This field is the checksum of the complete\ncontents of the advertisement, excepting the\nage field. The age field is excepted so that\nan advertisement's age can be incremented\nwithout updating the checksum. The checksum\nused is the same that is used for ISO\nconnectionless datagrams; it is commonly referred\nto as the Fletcher checksum.") ospfLocalLsdbAdvertisement = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 17, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfLocalLsdbAdvertisement.setDescription("The entire link state advertisement, including\nits header.\n\nNote that for variable length LSAs, SNMP agents\nmay not be able to return the largest string size.") ospfVirtLocalLsdbTable = MibTable((1, 3, 6, 1, 2, 1, 14, 18)) if mibBuilder.loadTexts: ospfVirtLocalLsdbTable.setDescription("The OSPF Process's link-local link state database\nfor virtual links.\n\n\n\n\nThis table is identical to the OSPF LSDB Table\nin format, but contains only link-local Link State\nAdvertisements for virtual links. The purpose is to\nallow link-local LSAs to be displayed for each virtual\ninterface. This table is implemented to support type-9 LSAs\nthat are defined in 'The OSPF Opaque LSA Option'.") ospfVirtLocalLsdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 18, 1)).setIndexNames((0, "OSPF-MIB", "ospfVirtLocalLsdbTransitArea"), (0, "OSPF-MIB", "ospfVirtLocalLsdbNeighbor"), (0, "OSPF-MIB", "ospfVirtLocalLsdbType"), (0, "OSPF-MIB", "ospfVirtLocalLsdbLsid"), (0, "OSPF-MIB", "ospfVirtLocalLsdbRouterId")) if mibBuilder.loadTexts: ospfVirtLocalLsdbEntry.setDescription("A single link state advertisement.") ospfVirtLocalLsdbTransitArea = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 1), AreaID()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfVirtLocalLsdbTransitArea.setDescription("The transit area that the virtual link\ntraverses. By definition, this is not 0.0.0.0.") ospfVirtLocalLsdbNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 2), RouterID()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfVirtLocalLsdbNeighbor.setDescription("The Router ID of the virtual neighbor.") ospfVirtLocalLsdbType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(9,)).subtype(namedValues=NamedValues(("localOpaqueLink", 9), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfVirtLocalLsdbType.setDescription("The type of the link state advertisement.\nEach link state type has a separate\nadvertisement format.") ospfVirtLocalLsdbLsid = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 4), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfVirtLocalLsdbLsid.setDescription("The Link State ID is an LS Type Specific field\ncontaining a 32-bit identifier in IP address format;\nit identifies the piece of the routing domain\nthat is being described by the advertisement.") ospfVirtLocalLsdbRouterId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 5), RouterID()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfVirtLocalLsdbRouterId.setDescription("The 32-bit number that uniquely identifies the\noriginating router in the Autonomous System.") ospfVirtLocalLsdbSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtLocalLsdbSequence.setDescription("The sequence number field is a signed 32-bit\ninteger. It starts with the value '80000001'h,\nor -'7FFFFFFF'h, and increments until '7FFFFFFF'h.\nThus, a typical sequence number will be very negative.\nIt is used to detect old and duplicate link state\nadvertisements. The space of sequence numbers is linearly\nordered. The larger the sequence number, the more recent\nthe advertisement.") ospfVirtLocalLsdbAge = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtLocalLsdbAge.setDescription("This field is the age of the link state\nadvertisement in seconds.") ospfVirtLocalLsdbChecksum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtLocalLsdbChecksum.setDescription("This field is the checksum of the complete\ncontents of the advertisement, excepting the\nage field. The age field is excepted so that\n\n\n\nan advertisement's age can be incremented\nwithout updating the checksum. The checksum\nused is the same that is used for ISO\nconnectionless datagrams; it is commonly\nreferred to as the Fletcher checksum.") ospfVirtLocalLsdbAdvertisement = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 18, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfVirtLocalLsdbAdvertisement.setDescription("The entire link state advertisement, including\nits header.") ospfAsLsdbTable = MibTable((1, 3, 6, 1, 2, 1, 14, 19)) if mibBuilder.loadTexts: ospfAsLsdbTable.setDescription("The OSPF Process's AS-scope LSA link state database.\nThe database contains the AS-scope Link State\nAdvertisements from throughout the areas that\nthe device is attached to.\n\nThis table is identical to the OSPF LSDB Table\nin format, but contains only AS-scope Link State\nAdvertisements. The purpose is to allow AS-scope\nLSAs to be displayed once for the router rather\nthan once in each non-stub area.") ospfAsLsdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 19, 1)).setIndexNames((0, "OSPF-MIB", "ospfAsLsdbType"), (0, "OSPF-MIB", "ospfAsLsdbLsid"), (0, "OSPF-MIB", "ospfAsLsdbRouterId")) if mibBuilder.loadTexts: ospfAsLsdbEntry.setDescription("A single link state advertisement.") ospfAsLsdbType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 19, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(11,5,)).subtype(namedValues=NamedValues(("asOpaqueLink", 11), ("asExternalLink", 5), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfAsLsdbType.setDescription("The type of the link state advertisement.\nEach link state type has a separate\nadvertisement format.") ospfAsLsdbLsid = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 19, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfAsLsdbLsid.setDescription("The Link State ID is an LS Type Specific field\ncontaining either a Router ID or an IP address;\n\n\n\nit identifies the piece of the routing domain\nthat is being described by the advertisement.") ospfAsLsdbRouterId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 19, 1, 3), RouterID()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfAsLsdbRouterId.setDescription("The 32-bit number that uniquely identifies the\noriginating router in the Autonomous System.") ospfAsLsdbSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 19, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAsLsdbSequence.setDescription("The sequence number field is a signed 32-bit\ninteger. It starts with the value '80000001'h,\nor -'7FFFFFFF'h, and increments until '7FFFFFFF'h.\nThus, a typical sequence number will be very negative.\nIt is used to detect old and duplicate link state\nadvertisements. The space of sequence numbers is linearly\nordered. The larger the sequence number, the more recent\nthe advertisement.") ospfAsLsdbAge = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 19, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAsLsdbAge.setDescription("This field is the age of the link state\nadvertisement in seconds.") ospfAsLsdbChecksum = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 19, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAsLsdbChecksum.setDescription("This field is the checksum of the complete\ncontents of the advertisement, excepting the\nage field. The age field is excepted so that\nan advertisement's age can be incremented\nwithout updating the checksum. The checksum\nused is the same that is used for ISO\nconnectionless datagrams; it is commonly referred\nto as the Fletcher checksum.") ospfAsLsdbAdvertisement = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 19, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAsLsdbAdvertisement.setDescription("The entire link state advertisement, including\nits header.") ospfAreaLsaCountTable = MibTable((1, 3, 6, 1, 2, 1, 14, 20)) if mibBuilder.loadTexts: ospfAreaLsaCountTable.setDescription("This table maintains per-area, per-LSA-type counters") ospfAreaLsaCountEntry = MibTableRow((1, 3, 6, 1, 2, 1, 14, 20, 1)).setIndexNames((0, "OSPF-MIB", "ospfAreaLsaCountAreaId"), (0, "OSPF-MIB", "ospfAreaLsaCountLsaType")) if mibBuilder.loadTexts: ospfAreaLsaCountEntry.setDescription("An entry with a number of link advertisements\n\n\n\nof a given type for a given area.") ospfAreaLsaCountAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 20, 1, 1), AreaID()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfAreaLsaCountAreaId.setDescription("This entry Area ID.") ospfAreaLsaCountLsaType = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 20, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,10,7,2,6,)).subtype(namedValues=NamedValues(("routerLink", 1), ("areaOpaqueLink", 10), ("networkLink", 2), ("summaryLink", 3), ("asSummaryLink", 4), ("multicastLink", 6), ("nssaExternalLink", 7), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ospfAreaLsaCountLsaType.setDescription("This entry LSA type.") ospfAreaLsaCountNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 14, 20, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfAreaLsaCountNumber.setDescription("Number of LSAs of a given type for a given area.") # Augmentions # Groups ospfBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 1)).setObjects(*(("OSPF-MIB", "ospfExternLsaCksumSum"), ("OSPF-MIB", "ospfASBdrRtrStatus"), ("OSPF-MIB", "ospfRxNewLsas"), ("OSPF-MIB", "ospfTOSSupport"), ("OSPF-MIB", "ospfExternLsaCount"), ("OSPF-MIB", "ospfExtLsdbLimit"), ("OSPF-MIB", "ospfAreaBdrRtrStatus"), ("OSPF-MIB", "ospfExitOverflowInterval"), ("OSPF-MIB", "ospfOriginateNewLsas"), ("OSPF-MIB", "ospfVersionNumber"), ("OSPF-MIB", "ospfDemandExtensions"), ("OSPF-MIB", "ospfAdminStat"), ("OSPF-MIB", "ospfMulticastExtensions"), ("OSPF-MIB", "ospfRouterId"), ) ) if mibBuilder.loadTexts: ospfBasicGroup.setDescription("These objects are used to monitor/manage\nglobal OSPF parameters. This object group\nconforms to RFC 1850.") ospfAreaGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 2)).setObjects(*(("OSPF-MIB", "ospfSpfRuns"), ("OSPF-MIB", "ospfAreaLsaCksumSum"), ("OSPF-MIB", "ospfAsBdrRtrCount"), ("OSPF-MIB", "ospfAreaId"), ("OSPF-MIB", "ospfImportAsExtern"), ("OSPF-MIB", "ospfAreaLsaCount"), ("OSPF-MIB", "ospfAreaBdrRtrCount"), ("OSPF-MIB", "ospfAreaSummary"), ("OSPF-MIB", "ospfAreaStatus"), ) ) if mibBuilder.loadTexts: ospfAreaGroup.setDescription("These objects are used for OSPF systems\nsupporting areas per RFC 1850.") ospfStubAreaGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 3)).setObjects(*(("OSPF-MIB", "ospfStubMetricType"), ("OSPF-MIB", "ospfStubMetric"), ("OSPF-MIB", "ospfStubStatus"), ("OSPF-MIB", "ospfStubTOS"), ("OSPF-MIB", "ospfStubAreaId"), ) ) if mibBuilder.loadTexts: ospfStubAreaGroup.setDescription("These objects are used for OSPF systems\nsupporting stub areas.") ospfLsdbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 4)).setObjects(*(("OSPF-MIB", "ospfLsdbChecksum"), ("OSPF-MIB", "ospfLsdbRouterId"), ("OSPF-MIB", "ospfLsdbAge"), ("OSPF-MIB", "ospfLsdbAreaId"), ("OSPF-MIB", "ospfLsdbLsid"), ("OSPF-MIB", "ospfLsdbType"), ("OSPF-MIB", "ospfLsdbSequence"), ("OSPF-MIB", "ospfLsdbAdvertisement"), ) ) if mibBuilder.loadTexts: ospfLsdbGroup.setDescription("These objects are used for OSPF systems\nthat display their link state database.") ospfAreaRangeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 5)).setObjects(*(("OSPF-MIB", "ospfAreaRangeAreaId"), ("OSPF-MIB", "ospfAreaRangeEffect"), ("OSPF-MIB", "ospfAreaRangeNet"), ("OSPF-MIB", "ospfAreaRangeStatus"), ("OSPF-MIB", "ospfAreaRangeMask"), ) ) if mibBuilder.loadTexts: ospfAreaRangeGroup.setDescription("These objects are used for non-CIDR OSPF\nsystems that support multiple areas. This\nobject group is obsolete.") ospfHostGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 6)).setObjects(*(("OSPF-MIB", "ospfHostAreaID"), ("OSPF-MIB", "ospfHostIpAddress"), ("OSPF-MIB", "ospfHostMetric"), ("OSPF-MIB", "ospfHostStatus"), ("OSPF-MIB", "ospfHostTOS"), ) ) if mibBuilder.loadTexts: ospfHostGroup.setDescription("These objects are used for OSPF systems\nthat support attached hosts.") ospfIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 7)).setObjects(*(("OSPF-MIB", "ospfIfPollInterval"), ("OSPF-MIB", "ospfIfEvents"), ("OSPF-MIB", "ospfIfAdminStat"), ("OSPF-MIB", "ospfIfStatus"), ("OSPF-MIB", "ospfIfIpAddress"), ("OSPF-MIB", "ospfIfRtrPriority"), ("OSPF-MIB", "ospfIfTransitDelay"), ("OSPF-MIB", "ospfIfState"), ("OSPF-MIB", "ospfIfAuthKey"), ("OSPF-MIB", "ospfIfDesignatedRouter"), ("OSPF-MIB", "ospfAddressLessIf"), ("OSPF-MIB", "ospfIfDemand"), ("OSPF-MIB", "ospfIfRtrDeadInterval"), ("OSPF-MIB", "ospfIfAuthType"), ("OSPF-MIB", "ospfIfBackupDesignatedRouter"), ("OSPF-MIB", "ospfIfType"), ("OSPF-MIB", "ospfIfAreaId"), ("OSPF-MIB", "ospfIfHelloInterval"), ("OSPF-MIB", "ospfIfRetransInterval"), ("OSPF-MIB", "ospfIfMulticastForwarding"), ) ) if mibBuilder.loadTexts: ospfIfGroup.setDescription("These objects are used to monitor/manage OSPF\ninterfaces. This object group conforms to RFC 1850.") ospfIfMetricGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 8)).setObjects(*(("OSPF-MIB", "ospfIfMetricAddressLessIf"), ("OSPF-MIB", "ospfIfMetricValue"), ("OSPF-MIB", "ospfIfMetricTOS"), ("OSPF-MIB", "ospfIfMetricIpAddress"), ("OSPF-MIB", "ospfIfMetricStatus"), ) ) if mibBuilder.loadTexts: ospfIfMetricGroup.setDescription("These objects are used for OSPF systems for supporting\n\n\n\ninterface metrics.") ospfVirtIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 9)).setObjects(*(("OSPF-MIB", "ospfVirtIfState"), ("OSPF-MIB", "ospfVirtIfRtrDeadInterval"), ("OSPF-MIB", "ospfVirtIfRetransInterval"), ("OSPF-MIB", "ospfVirtIfAuthKey"), ("OSPF-MIB", "ospfVirtIfTransitDelay"), ("OSPF-MIB", "ospfVirtIfEvents"), ("OSPF-MIB", "ospfVirtIfHelloInterval"), ("OSPF-MIB", "ospfVirtIfNeighbor"), ("OSPF-MIB", "ospfVirtIfStatus"), ("OSPF-MIB", "ospfVirtIfAreaId"), ("OSPF-MIB", "ospfVirtIfAuthType"), ) ) if mibBuilder.loadTexts: ospfVirtIfGroup.setDescription("These objects are used for OSPF systems for supporting\nvirtual interfaces. This object group conforms\nto RFC 1850.") ospfNbrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 10)).setObjects(*(("OSPF-MIB", "ospfNbrHelloSuppressed"), ("OSPF-MIB", "ospfNbrRtrId"), ("OSPF-MIB", "ospfNbrPriority"), ("OSPF-MIB", "ospfNbrLsRetransQLen"), ("OSPF-MIB", "ospfNbmaNbrPermanence"), ("OSPF-MIB", "ospfNbrOptions"), ("OSPF-MIB", "ospfNbrEvents"), ("OSPF-MIB", "ospfNbrState"), ("OSPF-MIB", "ospfNbmaNbrStatus"), ("OSPF-MIB", "ospfNbrAddressLessIndex"), ("OSPF-MIB", "ospfNbrIpAddr"), ) ) if mibBuilder.loadTexts: ospfNbrGroup.setDescription("These objects are used to monitor/manage OSPF neighbors.\nThis object group conforms to RFC 1850.") ospfVirtNbrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 11)).setObjects(*(("OSPF-MIB", "ospfVirtNbrRtrId"), ("OSPF-MIB", "ospfVirtNbrIpAddr"), ("OSPF-MIB", "ospfVirtNbrEvents"), ("OSPF-MIB", "ospfVirtNbrArea"), ("OSPF-MIB", "ospfVirtNbrHelloSuppressed"), ("OSPF-MIB", "ospfVirtNbrLsRetransQLen"), ("OSPF-MIB", "ospfVirtNbrState"), ("OSPF-MIB", "ospfVirtNbrOptions"), ) ) if mibBuilder.loadTexts: ospfVirtNbrGroup.setDescription("These objects are used to monitor/manage OSPF virtual\nneighbors. This object group conforms to RFC 1850.") ospfExtLsdbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 12)).setObjects(*(("OSPF-MIB", "ospfExtLsdbChecksum"), ("OSPF-MIB", "ospfExtLsdbType"), ("OSPF-MIB", "ospfExtLsdbSequence"), ("OSPF-MIB", "ospfExtLsdbAdvertisement"), ("OSPF-MIB", "ospfExtLsdbAge"), ("OSPF-MIB", "ospfExtLsdbRouterId"), ("OSPF-MIB", "ospfExtLsdbLsid"), ) ) if mibBuilder.loadTexts: ospfExtLsdbGroup.setDescription("These objects are used for OSPF systems that display\ntheir link state database. This object group\nconforms to RFC 1850.\n\nThis object group is replaced by the ospfAsLsdbGroup\nin order to support any AS-scope LSA type in a single\ntable.") ospfAreaAggregateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 13)).setObjects(*(("OSPF-MIB", "ospfAreaAggregateLsdbType"), ("OSPF-MIB", "ospfAreaAggregateStatus"), ("OSPF-MIB", "ospfAreaAggregateAreaID"), ("OSPF-MIB", "ospfAreaAggregateEffect"), ("OSPF-MIB", "ospfAreaAggregateMask"), ("OSPF-MIB", "ospfAreaAggregateNet"), ) ) if mibBuilder.loadTexts: ospfAreaAggregateGroup.setDescription("These objects are used for OSPF systems to support\nnetwork prefix aggregation across areas.") ospfLocalLsdbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 14)).setObjects(*(("OSPF-MIB", "ospfLocalLsdbAge"), ("OSPF-MIB", "ospfLocalLsdbSequence"), ("OSPF-MIB", "ospfLocalLsdbChecksum"), ("OSPF-MIB", "ospfLocalLsdbAdvertisement"), ) ) if mibBuilder.loadTexts: ospfLocalLsdbGroup.setDescription("These objects are used for OSPF systems\nthat display their link-local link state databases\nfor non-virtual links.") ospfVirtLocalLsdbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 15)).setObjects(*(("OSPF-MIB", "ospfVirtLocalLsdbAdvertisement"), ("OSPF-MIB", "ospfVirtLocalLsdbChecksum"), ("OSPF-MIB", "ospfVirtLocalLsdbAge"), ("OSPF-MIB", "ospfVirtLocalLsdbSequence"), ) ) if mibBuilder.loadTexts: ospfVirtLocalLsdbGroup.setDescription("These objects are used for OSPF systems\nthat display their link-local link state databases\nfor virtual links.") ospfAsLsdbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 16)).setObjects(*(("OSPF-MIB", "ospfAsLsdbChecksum"), ("OSPF-MIB", "ospfAsLsdbAge"), ("OSPF-MIB", "ospfAsLsdbSequence"), ("OSPF-MIB", "ospfAsLsdbAdvertisement"), ) ) if mibBuilder.loadTexts: ospfAsLsdbGroup.setDescription("These objects are used for OSPF systems\nthat display their AS-scope link state database.") ospfBasicGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 17)).setObjects(*(("OSPF-MIB", "ospfReferenceBandwidth"), ("OSPF-MIB", "ospfRxNewLsas"), ("OSPF-MIB", "ospfRestartExitReason"), ("OSPF-MIB", "ospfExternLsaCount"), ("OSPF-MIB", "ospfExitOverflowInterval"), ("OSPF-MIB", "ospfOriginateNewLsas"), ("OSPF-MIB", "ospfAsLsaCount"), ("OSPF-MIB", "ospfStubRouterSupport"), ("OSPF-MIB", "ospfDemandExtensions"), ("OSPF-MIB", "ospfAsLsaCksumSum"), ("OSPF-MIB", "ospfMulticastExtensions"), ("OSPF-MIB", "ospfExternLsaCksumSum"), ("OSPF-MIB", "ospfASBdrRtrStatus"), ("OSPF-MIB", "ospfRestartStatus"), ("OSPF-MIB", "ospfTOSSupport"), ("OSPF-MIB", "ospfRFC1583Compatibility"), ("OSPF-MIB", "ospfRestartInterval"), ("OSPF-MIB", "ospfExtLsdbLimit"), ("OSPF-MIB", "ospfAreaBdrRtrStatus"), ("OSPF-MIB", "ospfRestartStrictLsaChecking"), ("OSPF-MIB", "ospfStubRouterAdvertisement"), ("OSPF-MIB", "ospfVersionNumber"), ("OSPF-MIB", "ospfRestartAge"), ("OSPF-MIB", "ospfDiscontinuityTime"), ("OSPF-MIB", "ospfOpaqueLsaSupport"), ("OSPF-MIB", "ospfRestartSupport"), ("OSPF-MIB", "ospfAdminStat"), ("OSPF-MIB", "ospfRouterId"), ) ) if mibBuilder.loadTexts: ospfBasicGroup2.setDescription("These objects are used to monitor/manage OSPF global\nparameters.") ospfAreaGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 18)).setObjects(*(("OSPF-MIB", "ospfSpfRuns"), ("OSPF-MIB", "ospfAsBdrRtrCount"), ("OSPF-MIB", "ospfAreaNssaTranslatorRole"), ("OSPF-MIB", "ospfAreaSummary"), ("OSPF-MIB", "ospfAreaNssaTranslatorState"), ("OSPF-MIB", "ospfAreaId"), ("OSPF-MIB", "ospfAreaLsaCount"), ("OSPF-MIB", "ospfAreaStatus"), ("OSPF-MIB", "ospfAreaLsaCksumSum"), ("OSPF-MIB", "ospfImportAsExtern"), ("OSPF-MIB", "ospfAreaNssaTranslatorStabilityInterval"), ("OSPF-MIB", "ospfAreaBdrRtrCount"), ("OSPF-MIB", "ospfAreaNssaTranslatorEvents"), ) ) if mibBuilder.loadTexts: ospfAreaGroup2.setDescription("These objects are used by OSPF systems\nto support areas.") ospfIfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 19)).setObjects(*(("OSPF-MIB", "ospfIfStatus"), ("OSPF-MIB", "ospfIfDemand"), ("OSPF-MIB", "ospfIfPollInterval"), ("OSPF-MIB", "ospfIfAreaId"), ("OSPF-MIB", "ospfIfLsaCount"), ("OSPF-MIB", "ospfIfEvents"), ("OSPF-MIB", "ospfIfRtrDeadInterval"), ("OSPF-MIB", "ospfIfRtrPriority"), ("OSPF-MIB", "ospfAddressLessIf"), ("OSPF-MIB", "ospfIfAuthType"), ("OSPF-MIB", "ospfIfDesignatedRouter"), ("OSPF-MIB", "ospfIfLsaCksumSum"), ("OSPF-MIB", "ospfIfState"), ("OSPF-MIB", "ospfIfBackupDesignatedRouter"), ("OSPF-MIB", "ospfIfHelloInterval"), ("OSPF-MIB", "ospfIfRetransInterval"), ("OSPF-MIB", "ospfIfMulticastForwarding"), ("OSPF-MIB", "ospfIfAdminStat"), ("OSPF-MIB", "ospfIfIpAddress"), ("OSPF-MIB", "ospfIfTransitDelay"), ("OSPF-MIB", "ospfIfAuthKey"), ("OSPF-MIB", "ospfIfType"), ) ) if mibBuilder.loadTexts: ospfIfGroup2.setDescription("These objects are used to monitor/manage OSPF interfaces.") ospfVirtIfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 20)).setObjects(*(("OSPF-MIB", "ospfVirtIfState"), ("OSPF-MIB", "ospfVirtIfLsaCksumSum"), ("OSPF-MIB", "ospfVirtIfRtrDeadInterval"), ("OSPF-MIB", "ospfVirtIfRetransInterval"), ("OSPF-MIB", "ospfVirtIfAuthKey"), ("OSPF-MIB", "ospfVirtIfLsaCount"), ("OSPF-MIB", "ospfVirtIfTransitDelay"), ("OSPF-MIB", "ospfVirtIfEvents"), ("OSPF-MIB", "ospfVirtIfHelloInterval"), ("OSPF-MIB", "ospfVirtIfNeighbor"), ("OSPF-MIB", "ospfVirtIfStatus"), ("OSPF-MIB", "ospfIfDesignatedRouterId"), ("OSPF-MIB", "ospfVirtIfAreaId"), ("OSPF-MIB", "ospfVirtIfAuthType"), ("OSPF-MIB", "ospfIfBackupDesignatedRouterId"), ) ) if mibBuilder.loadTexts: ospfVirtIfGroup2.setDescription("These objects are used to monitor/manage OSPF\nvirtual interfaces.") ospfNbrGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 21)).setObjects(*(("OSPF-MIB", "ospfNbrHelloSuppressed"), ("OSPF-MIB", "ospfNbrRestartHelperExitReason"), ("OSPF-MIB", "ospfNbrRtrId"), ("OSPF-MIB", "ospfNbrPriority"), ("OSPF-MIB", "ospfNbrLsRetransQLen"), ("OSPF-MIB", "ospfNbmaNbrPermanence"), ("OSPF-MIB", "ospfNbrRestartHelperAge"), ("OSPF-MIB", "ospfNbrRestartHelperStatus"), ("OSPF-MIB", "ospfNbrOptions"), ("OSPF-MIB", "ospfNbrEvents"), ("OSPF-MIB", "ospfNbrState"), ("OSPF-MIB", "ospfNbmaNbrStatus"), ("OSPF-MIB", "ospfNbrAddressLessIndex"), ("OSPF-MIB", "ospfNbrIpAddr"), ) ) if mibBuilder.loadTexts: ospfNbrGroup2.setDescription("These objects are used to monitor/manage OSPF\nneighbors.") ospfVirtNbrGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 22)).setObjects(*(("OSPF-MIB", "ospfVirtNbrIpAddr"), ("OSPF-MIB", "ospfVirtNbrEvents"), ("OSPF-MIB", "ospfVirtNbrState"), ("OSPF-MIB", "ospfVirtNbrLsRetransQLen"), ("OSPF-MIB", "ospfVirtNbrRestartHelperAge"), ("OSPF-MIB", "ospfVirtNbrRestartHelperExitReason"), ("OSPF-MIB", "ospfVirtNbrOptions"), ("OSPF-MIB", "ospfVirtNbrRtrId"), ("OSPF-MIB", "ospfVirtNbrArea"), ("OSPF-MIB", "ospfVirtNbrHelloSuppressed"), ("OSPF-MIB", "ospfVirtNbrRestartHelperStatus"), ) ) if mibBuilder.loadTexts: ospfVirtNbrGroup2.setDescription("These objects are used to monitor/manage OSPF\nvirtual neighbors.") ospfAreaAggregateGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 23)).setObjects(*(("OSPF-MIB", "ospfAreaAggregateExtRouteTag"), ("OSPF-MIB", "ospfAreaAggregateLsdbType"), ("OSPF-MIB", "ospfAreaAggregateStatus"), ("OSPF-MIB", "ospfAreaAggregateAreaID"), ("OSPF-MIB", "ospfAreaAggregateEffect"), ("OSPF-MIB", "ospfAreaAggregateMask"), ("OSPF-MIB", "ospfAreaAggregateNet"), ) ) if mibBuilder.loadTexts: ospfAreaAggregateGroup2.setDescription("These objects are used for OSPF systems to support\nnetwork prefix aggregation across areas.") ospfAreaLsaCountGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 24)).setObjects(*(("OSPF-MIB", "ospfAreaLsaCountNumber"), ) ) if mibBuilder.loadTexts: ospfAreaLsaCountGroup.setDescription("These objects are used for OSPF systems that display\nper-area, per-LSA-type counters.") ospfHostGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 25)).setObjects(*(("OSPF-MIB", "ospfHostIpAddress"), ("OSPF-MIB", "ospfHostCfgAreaID"), ("OSPF-MIB", "ospfHostMetric"), ("OSPF-MIB", "ospfHostStatus"), ("OSPF-MIB", "ospfHostTOS"), ) ) if mibBuilder.loadTexts: ospfHostGroup2.setDescription("These objects are used for OSPF systems\nthat support attached hosts.") ospfObsoleteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 15, 1, 26)).setObjects(*(("OSPF-MIB", "ospfAuthType"), ) ) if mibBuilder.loadTexts: ospfObsoleteGroup.setDescription("These objects are obsolete and are no longer required for\nOSPF systems. They are placed into this group for SMI\nconformance.") # Compliances ospfCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 14, 15, 2, 1)).setObjects(*(("OSPF-MIB", "ospfStubAreaGroup"), ("OSPF-MIB", "ospfIfMetricGroup"), ("OSPF-MIB", "ospfAreaAggregateGroup"), ("OSPF-MIB", "ospfBasicGroup"), ("OSPF-MIB", "ospfVirtIfGroup"), ("OSPF-MIB", "ospfLsdbGroup"), ("OSPF-MIB", "ospfVirtNbrGroup"), ("OSPF-MIB", "ospfExtLsdbGroup"), ("OSPF-MIB", "ospfAreaGroup"), ("OSPF-MIB", "ospfIfGroup"), ("OSPF-MIB", "ospfHostGroup"), ("OSPF-MIB", "ospfNbrGroup"), ) ) if mibBuilder.loadTexts: ospfCompliance.setDescription("The compliance statement for OSPF systems\nconforming to RFC 1850.") ospfCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 14, 15, 2, 2)).setObjects(*(("OSPF-MIB", "ospfHostGroup2"), ("OSPF-MIB", "ospfAreaGroup2"), ("OSPF-MIB", "ospfStubAreaGroup"), ("OSPF-MIB", "ospfVirtLocalLsdbGroup"), ("OSPF-MIB", "ospfVirtNbrGroup2"), ("OSPF-MIB", "ospfIfMetricGroup"), ("OSPF-MIB", "ospfIfGroup2"), ("OSPF-MIB", "ospfLsdbGroup"), ("OSPF-MIB", "ospfVirtIfGroup2"), ("OSPF-MIB", "ospfAreaLsaCountGroup"), ("OSPF-MIB", "ospfNbrGroup2"), ("OSPF-MIB", "ospfAreaAggregateGroup2"), ("OSPF-MIB", "ospfBasicGroup2"), ("OSPF-MIB", "ospfAsLsdbGroup"), ("OSPF-MIB", "ospfLocalLsdbGroup"), ) ) if mibBuilder.loadTexts: ospfCompliance2.setDescription("The compliance statement.") ospfComplianceObsolete = ModuleCompliance((1, 3, 6, 1, 2, 1, 14, 15, 2, 3)).setObjects(*(("OSPF-MIB", "ospfAreaRangeGroup"), ("OSPF-MIB", "ospfObsoleteGroup"), ) ) if mibBuilder.loadTexts: ospfComplianceObsolete.setDescription("Contains obsolete object groups.") # Exports # Module identity mibBuilder.exportSymbols("OSPF-MIB", PYSNMP_MODULE_ID=ospf) # Types mibBuilder.exportSymbols("OSPF-MIB", BigMetric=BigMetric, DesignatedRouterPriority=DesignatedRouterPriority, HelloRange=HelloRange, Metric=Metric, OspfAuthenticationType=OspfAuthenticationType, PositiveInteger=PositiveInteger, Status=Status, TOSType=TOSType, UpToMaxAge=UpToMaxAge, AreaID=AreaID, RouterID=RouterID) # Objects mibBuilder.exportSymbols("OSPF-MIB", ospf=ospf, ospfGeneralGroup=ospfGeneralGroup, ospfRouterId=ospfRouterId, ospfAdminStat=ospfAdminStat, ospfVersionNumber=ospfVersionNumber, ospfAreaBdrRtrStatus=ospfAreaBdrRtrStatus, ospfASBdrRtrStatus=ospfASBdrRtrStatus, ospfExternLsaCount=ospfExternLsaCount, ospfExternLsaCksumSum=ospfExternLsaCksumSum, ospfTOSSupport=ospfTOSSupport, ospfOriginateNewLsas=ospfOriginateNewLsas, ospfRxNewLsas=ospfRxNewLsas, ospfExtLsdbLimit=ospfExtLsdbLimit, ospfMulticastExtensions=ospfMulticastExtensions, ospfExitOverflowInterval=ospfExitOverflowInterval, ospfDemandExtensions=ospfDemandExtensions, ospfRFC1583Compatibility=ospfRFC1583Compatibility, ospfOpaqueLsaSupport=ospfOpaqueLsaSupport, ospfReferenceBandwidth=ospfReferenceBandwidth, ospfRestartSupport=ospfRestartSupport, ospfRestartInterval=ospfRestartInterval, ospfRestartStrictLsaChecking=ospfRestartStrictLsaChecking, ospfRestartStatus=ospfRestartStatus, ospfRestartAge=ospfRestartAge, ospfRestartExitReason=ospfRestartExitReason, ospfAsLsaCount=ospfAsLsaCount, ospfAsLsaCksumSum=ospfAsLsaCksumSum, ospfStubRouterSupport=ospfStubRouterSupport, ospfStubRouterAdvertisement=ospfStubRouterAdvertisement, ospfDiscontinuityTime=ospfDiscontinuityTime, ospfAreaTable=ospfAreaTable, ospfAreaEntry=ospfAreaEntry, ospfAreaId=ospfAreaId, ospfAuthType=ospfAuthType, ospfImportAsExtern=ospfImportAsExtern, ospfSpfRuns=ospfSpfRuns, ospfAreaBdrRtrCount=ospfAreaBdrRtrCount, ospfAsBdrRtrCount=ospfAsBdrRtrCount, ospfAreaLsaCount=ospfAreaLsaCount, ospfAreaLsaCksumSum=ospfAreaLsaCksumSum, ospfAreaSummary=ospfAreaSummary, ospfAreaStatus=ospfAreaStatus, ospfAreaNssaTranslatorRole=ospfAreaNssaTranslatorRole, ospfAreaNssaTranslatorState=ospfAreaNssaTranslatorState, ospfAreaNssaTranslatorStabilityInterval=ospfAreaNssaTranslatorStabilityInterval, ospfAreaNssaTranslatorEvents=ospfAreaNssaTranslatorEvents, ospfStubAreaTable=ospfStubAreaTable, ospfStubAreaEntry=ospfStubAreaEntry, ospfStubAreaId=ospfStubAreaId, ospfStubTOS=ospfStubTOS, ospfStubMetric=ospfStubMetric, ospfStubStatus=ospfStubStatus, ospfStubMetricType=ospfStubMetricType, ospfLsdbTable=ospfLsdbTable, ospfLsdbEntry=ospfLsdbEntry, ospfLsdbAreaId=ospfLsdbAreaId, ospfLsdbType=ospfLsdbType, ospfLsdbLsid=ospfLsdbLsid, ospfLsdbRouterId=ospfLsdbRouterId, ospfLsdbSequence=ospfLsdbSequence, ospfLsdbAge=ospfLsdbAge, ospfLsdbChecksum=ospfLsdbChecksum, ospfLsdbAdvertisement=ospfLsdbAdvertisement, ospfAreaRangeTable=ospfAreaRangeTable, ospfAreaRangeEntry=ospfAreaRangeEntry, ospfAreaRangeAreaId=ospfAreaRangeAreaId, ospfAreaRangeNet=ospfAreaRangeNet, ospfAreaRangeMask=ospfAreaRangeMask, ospfAreaRangeStatus=ospfAreaRangeStatus, ospfAreaRangeEffect=ospfAreaRangeEffect, ospfHostTable=ospfHostTable, ospfHostEntry=ospfHostEntry, ospfHostIpAddress=ospfHostIpAddress, ospfHostTOS=ospfHostTOS, ospfHostMetric=ospfHostMetric, ospfHostStatus=ospfHostStatus, ospfHostAreaID=ospfHostAreaID, ospfHostCfgAreaID=ospfHostCfgAreaID, ospfIfTable=ospfIfTable, ospfIfEntry=ospfIfEntry, ospfIfIpAddress=ospfIfIpAddress, ospfAddressLessIf=ospfAddressLessIf, ospfIfAreaId=ospfIfAreaId, ospfIfType=ospfIfType, ospfIfAdminStat=ospfIfAdminStat, ospfIfRtrPriority=ospfIfRtrPriority, ospfIfTransitDelay=ospfIfTransitDelay, ospfIfRetransInterval=ospfIfRetransInterval, ospfIfHelloInterval=ospfIfHelloInterval, ospfIfRtrDeadInterval=ospfIfRtrDeadInterval, ospfIfPollInterval=ospfIfPollInterval, ospfIfState=ospfIfState, ospfIfDesignatedRouter=ospfIfDesignatedRouter, ospfIfBackupDesignatedRouter=ospfIfBackupDesignatedRouter, ospfIfEvents=ospfIfEvents, ospfIfAuthKey=ospfIfAuthKey, ospfIfStatus=ospfIfStatus, ospfIfMulticastForwarding=ospfIfMulticastForwarding, ospfIfDemand=ospfIfDemand, ospfIfAuthType=ospfIfAuthType, ospfIfLsaCount=ospfIfLsaCount, ospfIfLsaCksumSum=ospfIfLsaCksumSum, ospfIfDesignatedRouterId=ospfIfDesignatedRouterId, ospfIfBackupDesignatedRouterId=ospfIfBackupDesignatedRouterId, ospfIfMetricTable=ospfIfMetricTable, ospfIfMetricEntry=ospfIfMetricEntry, ospfIfMetricIpAddress=ospfIfMetricIpAddress, ospfIfMetricAddressLessIf=ospfIfMetricAddressLessIf, ospfIfMetricTOS=ospfIfMetricTOS, ospfIfMetricValue=ospfIfMetricValue, ospfIfMetricStatus=ospfIfMetricStatus, ospfVirtIfTable=ospfVirtIfTable, ospfVirtIfEntry=ospfVirtIfEntry, ospfVirtIfAreaId=ospfVirtIfAreaId, ospfVirtIfNeighbor=ospfVirtIfNeighbor, ospfVirtIfTransitDelay=ospfVirtIfTransitDelay, ospfVirtIfRetransInterval=ospfVirtIfRetransInterval, ospfVirtIfHelloInterval=ospfVirtIfHelloInterval, ospfVirtIfRtrDeadInterval=ospfVirtIfRtrDeadInterval, ospfVirtIfState=ospfVirtIfState, ospfVirtIfEvents=ospfVirtIfEvents, ospfVirtIfAuthKey=ospfVirtIfAuthKey, ospfVirtIfStatus=ospfVirtIfStatus, ospfVirtIfAuthType=ospfVirtIfAuthType, ospfVirtIfLsaCount=ospfVirtIfLsaCount, ospfVirtIfLsaCksumSum=ospfVirtIfLsaCksumSum) mibBuilder.exportSymbols("OSPF-MIB", ospfNbrTable=ospfNbrTable, ospfNbrEntry=ospfNbrEntry, ospfNbrIpAddr=ospfNbrIpAddr, ospfNbrAddressLessIndex=ospfNbrAddressLessIndex, ospfNbrRtrId=ospfNbrRtrId, ospfNbrOptions=ospfNbrOptions, ospfNbrPriority=ospfNbrPriority, ospfNbrState=ospfNbrState, ospfNbrEvents=ospfNbrEvents, ospfNbrLsRetransQLen=ospfNbrLsRetransQLen, ospfNbmaNbrStatus=ospfNbmaNbrStatus, ospfNbmaNbrPermanence=ospfNbmaNbrPermanence, ospfNbrHelloSuppressed=ospfNbrHelloSuppressed, ospfNbrRestartHelperStatus=ospfNbrRestartHelperStatus, ospfNbrRestartHelperAge=ospfNbrRestartHelperAge, ospfNbrRestartHelperExitReason=ospfNbrRestartHelperExitReason, ospfVirtNbrTable=ospfVirtNbrTable, ospfVirtNbrEntry=ospfVirtNbrEntry, ospfVirtNbrArea=ospfVirtNbrArea, ospfVirtNbrRtrId=ospfVirtNbrRtrId, ospfVirtNbrIpAddr=ospfVirtNbrIpAddr, ospfVirtNbrOptions=ospfVirtNbrOptions, ospfVirtNbrState=ospfVirtNbrState, ospfVirtNbrEvents=ospfVirtNbrEvents, ospfVirtNbrLsRetransQLen=ospfVirtNbrLsRetransQLen, ospfVirtNbrHelloSuppressed=ospfVirtNbrHelloSuppressed, ospfVirtNbrRestartHelperStatus=ospfVirtNbrRestartHelperStatus, ospfVirtNbrRestartHelperAge=ospfVirtNbrRestartHelperAge, ospfVirtNbrRestartHelperExitReason=ospfVirtNbrRestartHelperExitReason, ospfExtLsdbTable=ospfExtLsdbTable, ospfExtLsdbEntry=ospfExtLsdbEntry, ospfExtLsdbType=ospfExtLsdbType, ospfExtLsdbLsid=ospfExtLsdbLsid, ospfExtLsdbRouterId=ospfExtLsdbRouterId, ospfExtLsdbSequence=ospfExtLsdbSequence, ospfExtLsdbAge=ospfExtLsdbAge, ospfExtLsdbChecksum=ospfExtLsdbChecksum, ospfExtLsdbAdvertisement=ospfExtLsdbAdvertisement, ospfRouteGroup=ospfRouteGroup, ospfIntraArea=ospfIntraArea, ospfInterArea=ospfInterArea, ospfExternalType1=ospfExternalType1, ospfExternalType2=ospfExternalType2, ospfAreaAggregateTable=ospfAreaAggregateTable, ospfAreaAggregateEntry=ospfAreaAggregateEntry, ospfAreaAggregateAreaID=ospfAreaAggregateAreaID, ospfAreaAggregateLsdbType=ospfAreaAggregateLsdbType, ospfAreaAggregateNet=ospfAreaAggregateNet, ospfAreaAggregateMask=ospfAreaAggregateMask, ospfAreaAggregateStatus=ospfAreaAggregateStatus, ospfAreaAggregateEffect=ospfAreaAggregateEffect, ospfAreaAggregateExtRouteTag=ospfAreaAggregateExtRouteTag, ospfConformance=ospfConformance, ospfGroups=ospfGroups, ospfCompliances=ospfCompliances, ospfLocalLsdbTable=ospfLocalLsdbTable, ospfLocalLsdbEntry=ospfLocalLsdbEntry, ospfLocalLsdbIpAddress=ospfLocalLsdbIpAddress, ospfLocalLsdbAddressLessIf=ospfLocalLsdbAddressLessIf, ospfLocalLsdbType=ospfLocalLsdbType, ospfLocalLsdbLsid=ospfLocalLsdbLsid, ospfLocalLsdbRouterId=ospfLocalLsdbRouterId, ospfLocalLsdbSequence=ospfLocalLsdbSequence, ospfLocalLsdbAge=ospfLocalLsdbAge, ospfLocalLsdbChecksum=ospfLocalLsdbChecksum, ospfLocalLsdbAdvertisement=ospfLocalLsdbAdvertisement, ospfVirtLocalLsdbTable=ospfVirtLocalLsdbTable, ospfVirtLocalLsdbEntry=ospfVirtLocalLsdbEntry, ospfVirtLocalLsdbTransitArea=ospfVirtLocalLsdbTransitArea, ospfVirtLocalLsdbNeighbor=ospfVirtLocalLsdbNeighbor, ospfVirtLocalLsdbType=ospfVirtLocalLsdbType, ospfVirtLocalLsdbLsid=ospfVirtLocalLsdbLsid, ospfVirtLocalLsdbRouterId=ospfVirtLocalLsdbRouterId, ospfVirtLocalLsdbSequence=ospfVirtLocalLsdbSequence, ospfVirtLocalLsdbAge=ospfVirtLocalLsdbAge, ospfVirtLocalLsdbChecksum=ospfVirtLocalLsdbChecksum, ospfVirtLocalLsdbAdvertisement=ospfVirtLocalLsdbAdvertisement, ospfAsLsdbTable=ospfAsLsdbTable, ospfAsLsdbEntry=ospfAsLsdbEntry, ospfAsLsdbType=ospfAsLsdbType, ospfAsLsdbLsid=ospfAsLsdbLsid, ospfAsLsdbRouterId=ospfAsLsdbRouterId, ospfAsLsdbSequence=ospfAsLsdbSequence, ospfAsLsdbAge=ospfAsLsdbAge, ospfAsLsdbChecksum=ospfAsLsdbChecksum, ospfAsLsdbAdvertisement=ospfAsLsdbAdvertisement, ospfAreaLsaCountTable=ospfAreaLsaCountTable, ospfAreaLsaCountEntry=ospfAreaLsaCountEntry, ospfAreaLsaCountAreaId=ospfAreaLsaCountAreaId, ospfAreaLsaCountLsaType=ospfAreaLsaCountLsaType, ospfAreaLsaCountNumber=ospfAreaLsaCountNumber) # Groups mibBuilder.exportSymbols("OSPF-MIB", ospfBasicGroup=ospfBasicGroup, ospfAreaGroup=ospfAreaGroup, ospfStubAreaGroup=ospfStubAreaGroup, ospfLsdbGroup=ospfLsdbGroup, ospfAreaRangeGroup=ospfAreaRangeGroup, ospfHostGroup=ospfHostGroup, ospfIfGroup=ospfIfGroup, ospfIfMetricGroup=ospfIfMetricGroup, ospfVirtIfGroup=ospfVirtIfGroup, ospfNbrGroup=ospfNbrGroup, ospfVirtNbrGroup=ospfVirtNbrGroup, ospfExtLsdbGroup=ospfExtLsdbGroup, ospfAreaAggregateGroup=ospfAreaAggregateGroup, ospfLocalLsdbGroup=ospfLocalLsdbGroup, ospfVirtLocalLsdbGroup=ospfVirtLocalLsdbGroup, ospfAsLsdbGroup=ospfAsLsdbGroup, ospfBasicGroup2=ospfBasicGroup2, ospfAreaGroup2=ospfAreaGroup2, ospfIfGroup2=ospfIfGroup2, ospfVirtIfGroup2=ospfVirtIfGroup2, ospfNbrGroup2=ospfNbrGroup2, ospfVirtNbrGroup2=ospfVirtNbrGroup2, ospfAreaAggregateGroup2=ospfAreaAggregateGroup2, ospfAreaLsaCountGroup=ospfAreaLsaCountGroup, ospfHostGroup2=ospfHostGroup2, ospfObsoleteGroup=ospfObsoleteGroup) # Compliances mibBuilder.exportSymbols("OSPF-MIB", ospfCompliance=ospfCompliance, ospfCompliance2=ospfCompliance2, ospfComplianceObsolete=ospfComplianceObsolete) pysnmp-mibs-0.1.3/pysnmp_mibs/RFC1316-MIB.py0000644000014400001440000004210111736645137020361 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RFC1316-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:32 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter32, Gauge32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Types class AutonomousType(ObjectIdentifier): pass class InstancePointer(ObjectIdentifier): pass # Objects char = MibIdentifier((1, 3, 6, 1, 2, 1, 19)) charNumber = MibScalar((1, 3, 6, 1, 2, 1, 19, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charNumber.setDescription("The number of entries in charPortTable, regardless\nof their current state.") charPortTable = MibTable((1, 3, 6, 1, 2, 1, 19, 2)) if mibBuilder.loadTexts: charPortTable.setDescription("A list of port entries. The number of entries is\ngiven by the value of charNumber.") charPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 19, 2, 1)).setIndexNames((0, "RFC1316-MIB", "charPortIndex")) if mibBuilder.loadTexts: charPortEntry.setDescription("Status and parameter values for a character port.") charPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortIndex.setDescription("A unique value for each character port. Its value\nranges between 1 and the value of charNumber. By\nconvention and if possible, hardware port numbers\ncome first, with a simple, direct mapping. The\nvalue for each port must remain constant at least\nfrom one re-initialization of the network management\nagent to the next.") charPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortName.setDescription("An administratively assigned name for the port,\ntypically with some local significance.") charPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("physical", 1), ("virtual", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortType.setDescription("The port's type, 'physical' if the port represents\nan external hardware connector, 'virtual' if it does\nnot.") charPortHardware = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 4), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortHardware.setDescription("A reference to hardware MIB definitions specific to\na physical port's external connector. For example,\nif the connector is RS-232, then the value of this\nobject refers to a MIB sub-tree defining objects\nspecific to RS-232. If an agent is not configured\nto have such values, the agent returns the object\nidentifier:\n\n nullHardware OBJECT IDENTIFIER ::= { 0 0 }") charPortReset = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ready", 1), ("execute", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortReset.setDescription("A control to force the port into a clean, initial\nstate, both hardware and software, disconnecting all\nthe port's existing sessions. In response to a\nget-request or get-next-request, the agent always\nreturns 'ready' as the value. Setting the value to\n'execute' causes a reset.") charPortAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,4,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("off", 3), ("maintenance", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortAdminStatus.setDescription("The port's desired state, independent of flow\ncontrol. 'enabled' indicates that the port is\nallowed to pass characters and form new sessions.\n'disabled' indicates that the port is allowed to\npass characters but not form new sessions. 'off'\nindicates that the port is not allowed to pass\ncharacters or have any sessions. 'maintenance'\nindicates a maintenance mode, exclusive of normal\noperation, such as running a test.") charPortOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,5,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("maintenance", 3), ("absent", 4), ("active", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortOperStatus.setDescription("The port's actual, operational state, independent\nof flow control. 'up' indicates able to function\nnormally. 'down' indicates inability to function\nfor administrative or operational reasons.\n'maintenance' indicates a maintenance mode,\nexclusive of normal operation, such as running a\ntest. 'absent' indicates that port hardware is not\npresent. 'active' indicates up with a user present\n(e.g. logged in).") charPortLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortLastChange.setDescription("The value of sysUpTime at the time the port entered\nits current operational state. If the current state\nwas entered prior to the last reinitialization of\nthe local network management subsystem, then this\nobject contains a zero value.") charPortInFlowType = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,5,4,)).subtype(namedValues=NamedValues(("none", 1), ("xonXoff", 2), ("hardware", 3), ("ctsRts", 4), ("dsrDtr", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortInFlowType.setDescription("The port's type of input flow control. 'none'\nindicates no flow control at this level or below.\n'xonXoff' indicates software flow control by\nrecognizing XON and XOFF characters. 'hardware'\nindicates flow control delegated to the lower level,\nfor example a parallel port.\n\n'ctsRts' and 'dsrDtr' are specific to RS-232-like\nports. Although not architecturally pure, they are\nincluded here for simplicity's sake.") charPortOutFlowType = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,5,4,)).subtype(namedValues=NamedValues(("none", 1), ("xonXoff", 2), ("hardware", 3), ("ctsRts", 4), ("dsrDtr", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortOutFlowType.setDescription("The port's type of output flow control. 'none'\nindicates no flow control at this level or below.\n'xonXoff' indicates software flow control by\nrecognizing XON and XOFF characters. 'hardware'\nindicates flow control delegated to the lower level,\nfor example a parallel port.\n\n'ctsRts' and 'dsrDtr' are specific to RS-232-like\nports. Although not architecturally pure, they are\nincluded here for simplicy's sake.") charPortInFlowState = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("stop", 3), ("go", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortInFlowState.setDescription("The current operational state of input flow control\non the port. 'none' indicates not applicable.\n'unknown' indicates this level does not know.\n'stop' indicates flow not allowed. 'go' indicates\nflow allowed.") charPortOutFlowState = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("stop", 3), ("go", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortOutFlowState.setDescription("The current operational state of output flow\ncontrol on the port. 'none' indicates not\napplicable. 'unknown' indicates this level does not\nknow. 'stop' indicates flow not allowed. 'go'\nindicates flow allowed.") charPortInCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortInCharacters.setDescription("Total number of characters detected as input from\nthe port since system re-initialization and while\nthe port operational state was 'up', 'active', or\n'maintenance', including, for example, framing, flow\ncontrol (i.e. XON and XOFF), each occurrence of a\nBREAK condition, locally-processed input, and input\nsent to all sessions.") charPortOutCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortOutCharacters.setDescription("Total number of characters detected as output to\nthe port since system re-initialization and while\nthe port operational state was 'up', 'active', or\n'maintenance', including, for example, framing, flow\ncontrol (i.e. XON and XOFF), each occurrence of a\nBREAK condition, locally-created output, and output\nreceived from all sessions.") charPortAdminOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,)).subtype(namedValues=NamedValues(("dynamic", 1), ("network", 2), ("local", 3), ("none", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortAdminOrigin.setDescription("The administratively allowed origin for\nestablishing session on the port. 'dynamic' allows\n'network' or 'local' session establishment. 'none'\ndisallows session establishment.") charPortSessionMaximum = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 16), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortSessionMaximum.setDescription("The maximum number of concurrent sessions allowed\non the port. A value of -1 indicates no maximum.\nSetting the maximum to less than the current number\nof sessions has unspecified results.") charPortSessionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortSessionNumber.setDescription("The number of open sessions on the port that are in\nthe connecting, connected, or disconnecting state.") charPortSessionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortSessionIndex.setDescription("The value of charSessIndex for the port's first or\nonly active session. If the port has no active\nsession, the agent returns the value zero.") charSessTable = MibTable((1, 3, 6, 1, 2, 1, 19, 3)) if mibBuilder.loadTexts: charSessTable.setDescription("A list of port session entries.") charSessEntry = MibTableRow((1, 3, 6, 1, 2, 1, 19, 3, 1)).setIndexNames((0, "RFC1316-MIB", "charSessPortIndex"), (0, "RFC1316-MIB", "charSessIndex")) if mibBuilder.loadTexts: charSessEntry.setDescription("Status and parameter values for a character port\nsession.") charSessPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessPortIndex.setDescription("The value of charPortIndex for the port to which\nthis session belongs.") charSessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessIndex.setDescription("The session index in the context of the port, a\nnon-zero positive integer. Session indexes within a\nport need not be sequential. Session indexes may be\nreused for different ports. For example, port 1 and\nport 3 may both have a session 2 at the same time.\nSession indexes may have any valid integer value,\nwith any meaning convenient to the agent\nimplementation.") charSessKill = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ready", 1), ("execute", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charSessKill.setDescription("A control to terminate the session. In response to\na get-request or get-next-request, the agent always\nreturns 'ready' as the value. Setting the value to\n'execute' causes termination.") charSessState = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("connecting", 1), ("connected", 2), ("disconnecting", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessState.setDescription("The current operational state of the session,\ndisregarding flow control. 'connected' indicates\nthat character data could flow on the network side\nof session. 'connecting' indicates moving from\nnonexistent toward 'connected'. 'disconnecting'\nindicates moving from 'connected' or 'connecting' to\nnonexistent.") charSessProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 5), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessProtocol.setDescription("The network protocol over which the session is\nrunning. Other OBJECT IDENTIFIER values may be\ndefined elsewhere, in association with specific\nprotocols. However, this document assigns those of\nknown interest as of this writing.") charSessOperOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("network", 2), ("local", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessOperOrigin.setDescription("The session's source of establishment.") charSessInCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessInCharacters.setDescription("This session's subset of charPortInCharacters.") charSessOutCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessOutCharacters.setDescription("This session's subset of charPortOutCharacters.") charSessConnectionId = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 9), InstancePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessConnectionId.setDescription("A reference to additional local MIB information.\nThis should be the highest available related MIB,\ncorresponding to charSessProtocol, such as Telnet.\nFor example, the value for a TCP connection (in the\nabsence of a Telnet MIB) is the object identifier of\ntcpConnState. If an agent is not configured to have\nsuch values, the agent returns the object\nidentifier:\n\n nullConnectionId OBJECT IDENTIFIER ::= { 0 0 }") charSessStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessStartTime.setDescription("The value of sysUpTime in MIB-2 when the session\nentered connecting state.") wellKnownProtocols = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4)) protocolOther = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 1)) protocolTelnet = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 2)) protocolRlogin = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 3)) protocolLat = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 4)) protocolX29 = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 5)) protocolVtp = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 6)) # Augmentions # Exports # Types mibBuilder.exportSymbols("RFC1316-MIB", AutonomousType=AutonomousType, InstancePointer=InstancePointer) # Objects mibBuilder.exportSymbols("RFC1316-MIB", char=char, charNumber=charNumber, charPortTable=charPortTable, charPortEntry=charPortEntry, charPortIndex=charPortIndex, charPortName=charPortName, charPortType=charPortType, charPortHardware=charPortHardware, charPortReset=charPortReset, charPortAdminStatus=charPortAdminStatus, charPortOperStatus=charPortOperStatus, charPortLastChange=charPortLastChange, charPortInFlowType=charPortInFlowType, charPortOutFlowType=charPortOutFlowType, charPortInFlowState=charPortInFlowState, charPortOutFlowState=charPortOutFlowState, charPortInCharacters=charPortInCharacters, charPortOutCharacters=charPortOutCharacters, charPortAdminOrigin=charPortAdminOrigin, charPortSessionMaximum=charPortSessionMaximum, charPortSessionNumber=charPortSessionNumber, charPortSessionIndex=charPortSessionIndex, charSessTable=charSessTable, charSessEntry=charSessEntry, charSessPortIndex=charSessPortIndex, charSessIndex=charSessIndex, charSessKill=charSessKill, charSessState=charSessState, charSessProtocol=charSessProtocol, charSessOperOrigin=charSessOperOrigin, charSessInCharacters=charSessInCharacters, charSessOutCharacters=charSessOutCharacters, charSessConnectionId=charSessConnectionId, charSessStartTime=charSessStartTime, wellKnownProtocols=wellKnownProtocols, protocolOther=protocolOther, protocolTelnet=protocolTelnet, protocolRlogin=protocolRlogin, protocolLat=protocolLat, protocolX29=protocolX29, protocolVtp=protocolVtp) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-LDP-GENERIC-STD-MIB.py0000644000014400001440000002427211736645137022337 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-LDP-GENERIC-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:20 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( mplsLdpEntityIndex, mplsLdpEntityLdpId, ) = mibBuilder.importSymbols("MPLS-LDP-STD-MIB", "mplsLdpEntityIndex", "mplsLdpEntityLdpId") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType") # Objects mplsLdpGenericStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 7)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsLdpGenericStdMIB.setOrganization("Multiprotocol Label Switching (mpls)\nWorking Group") if mibBuilder.loadTexts: mplsLdpGenericStdMIB.setContactInfo("Joan Cucchiara (jcucchiara@mindspring.com)\nMarconi Communications, Inc.\n\nHans Sjostrand (hans@ipunplugged.com)\nipUnplugged\n\n\n\nJames V. Luciani (james_luciani@mindspring.com)\nMarconi Communications, Inc.\n\nWorking Group Chairs:\nGeorge Swallow, email: swallow@cisco.com\nLoa Andersson, email: loa@pi.se\n\nMPLS Working Group, email: mpls@uu.net") if mibBuilder.loadTexts: mplsLdpGenericStdMIB.setDescription("Copyright (C) The Internet Society (year). The\ninitial version of this MIB module was published\nin RFC 3815. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html\n\nThis MIB contains managed object definitions for\nconfiguring and monitoring the Multiprotocol Label\nSwitching (MPLS), Label Distribution Protocol (LDP),\nutilizing ethernet as the Layer 2 media.") mplsLdpGenericObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 7, 1)) mplsLdpEntityGenericObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1)) mplsLdpEntityGenericLRTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1)) if mibBuilder.loadTexts: mplsLdpEntityGenericLRTable.setDescription("The MPLS LDP Entity Generic Label Range (LR)\nTable.\n\nThe purpose of this table is to provide a mechanism\nfor configurating a contiguous range of generic labels,\nor a 'label range' for LDP Entities.\n\nLDP Entities which use Generic Labels must have at least\none entry in this table. In other words, this table\n'extends' the mpldLdpEntityTable for Generic Labels.") mplsLdpEntityGenericLREntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-GENERIC-STD-MIB", "mplsLdpEntityGenericLRMin"), (0, "MPLS-LDP-GENERIC-STD-MIB", "mplsLdpEntityGenericLRMax")) if mibBuilder.loadTexts: mplsLdpEntityGenericLREntry.setDescription("A row in the LDP Entity Generic Label\nRange (LR) Table. One entry in this table contains\ninformation on a single range of labels\nrepresented by the configured Upper and Lower\nBounds pairs. NOTE: there is NO corresponding\nLDP message which relates to the information\nin this table, however, this table does provide\na way for a user to 'reserve' a generic label\nrange.\n\nNOTE: The ranges for a specific LDP Entity\nare UNIQUE and non-overlapping.\n\nA row will not be created unless a unique and\nnon-overlapping range is specified.") mplsLdpEntityGenericLRMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048575))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpEntityGenericLRMin.setDescription("The minimum label configured for this range.") mplsLdpEntityGenericLRMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048575))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpEntityGenericLRMax.setDescription("The maximum label configured for this range.") mplsLdpEntityGenericLabelSpace = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("perPlatform", 1), ("perInterface", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityGenericLabelSpace.setDescription("This value of this object is perPlatform(1), then\nthis means that the label space type is\nper platform.\n\nIf this object is perInterface(2), then this\nmeans that the label space type is per Interface.") mplsLdpEntityGenericIfIndexOrZero = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1, 1, 4), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityGenericIfIndexOrZero.setDescription("This value represents either the InterfaceIndex of\nthe 'ifLayer' where these Generic Label would be created,\n\n\nor 0 (zero). The value of zero means that the\nInterfaceIndex is not known.\n\nHowever, if the InterfaceIndex is known,\nthen it must be represented by this value.\n\nIf an InterfaceIndex becomes known, then the\nnetwork management entity (e.g., SNMP agent) responsible\nfor this object MUST change the value from 0 (zero) to the\nvalue of the InterfaceIndex.") mplsLdpEntityGenericLRStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityGenericLRStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLdpEntityGenericLRRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 7, 1, 1, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityGenericLRRowStatus.setDescription("The status of this conceptual row. All writable\nobjects in this row may be modified at any time,\nhowever, as described in detail in the section\nentitled, 'Changing Values After Session\nEstablishment', and again described in the\nDESCRIPTION clause of the mplsLdpEntityAdminStatus object,\nif a session has been initiated with a Peer,\nchanging objects in this table will\nwreak havoc with the session and interrupt traffic.\nTo repeat again: the recommended procedure is\nto set the mplsLdpEntityAdminStatus to\ndown, thereby explicitly causing a\nsession to be torn down. Then, change objects\nin this entry, then set the mplsLdpEntityAdminStatus\nto enable which enables a new session to be initiated.\n\nThere must exist at least one entry in this\ntable for every LDP Entity that has a\ngeneric label configured.") mplsLdpGenericConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 7, 2)) mplsLdpGenericGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 7, 2, 1)) mplsLdpGenericCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 7, 2, 2)) # Augmentions # Groups mplsLdpGenericGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 7, 2, 1, 1)).setObjects(*(("MPLS-LDP-GENERIC-STD-MIB", "mplsLdpEntityGenericLRStorageType"), ("MPLS-LDP-GENERIC-STD-MIB", "mplsLdpEntityGenericLabelSpace"), ("MPLS-LDP-GENERIC-STD-MIB", "mplsLdpEntityGenericLRRowStatus"), ("MPLS-LDP-GENERIC-STD-MIB", "mplsLdpEntityGenericIfIndexOrZero"), ) ) if mibBuilder.loadTexts: mplsLdpGenericGroup.setDescription("Objects that apply to all MPLS LDP implementations\nusing Generic Labels as the Layer 2.") # Compliances mplsLdpGenericModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 7, 2, 2, 1)).setObjects(*(("MPLS-LDP-GENERIC-STD-MIB", "mplsLdpGenericGroup"), ) ) if mibBuilder.loadTexts: mplsLdpGenericModuleFullCompliance.setDescription("The Module is implemented with support for\nread-create and read-write. In other words,\nboth monitoring and configuration\nare available when using this MODULE-COMPLIANCE.") mplsLdpGenericModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 7, 2, 2, 2)).setObjects(*(("MPLS-LDP-GENERIC-STD-MIB", "mplsLdpGenericGroup"), ) ) if mibBuilder.loadTexts: mplsLdpGenericModuleReadOnlyCompliance.setDescription("The Module is implemented with support for\nread-only. In other words, only monitoring\nis available by implementing this MODULE-COMPLIANCE.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-LDP-GENERIC-STD-MIB", PYSNMP_MODULE_ID=mplsLdpGenericStdMIB) # Objects mibBuilder.exportSymbols("MPLS-LDP-GENERIC-STD-MIB", mplsLdpGenericStdMIB=mplsLdpGenericStdMIB, mplsLdpGenericObjects=mplsLdpGenericObjects, mplsLdpEntityGenericObjects=mplsLdpEntityGenericObjects, mplsLdpEntityGenericLRTable=mplsLdpEntityGenericLRTable, mplsLdpEntityGenericLREntry=mplsLdpEntityGenericLREntry, mplsLdpEntityGenericLRMin=mplsLdpEntityGenericLRMin, mplsLdpEntityGenericLRMax=mplsLdpEntityGenericLRMax, mplsLdpEntityGenericLabelSpace=mplsLdpEntityGenericLabelSpace, mplsLdpEntityGenericIfIndexOrZero=mplsLdpEntityGenericIfIndexOrZero, mplsLdpEntityGenericLRStorageType=mplsLdpEntityGenericLRStorageType, mplsLdpEntityGenericLRRowStatus=mplsLdpEntityGenericLRRowStatus, mplsLdpGenericConformance=mplsLdpGenericConformance, mplsLdpGenericGroups=mplsLdpGenericGroups, mplsLdpGenericCompliances=mplsLdpGenericCompliances) # Groups mibBuilder.exportSymbols("MPLS-LDP-GENERIC-STD-MIB", mplsLdpGenericGroup=mplsLdpGenericGroup) # Compliances mibBuilder.exportSymbols("MPLS-LDP-GENERIC-STD-MIB", mplsLdpGenericModuleFullCompliance=mplsLdpGenericModuleFullCompliance, mplsLdpGenericModuleReadOnlyCompliance=mplsLdpGenericModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOCS-IF-MIB.py0000644000014400001440000046435411736645136020501 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOCS-IF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:52 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAifType, ) = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") ( InterfaceIndexOrZero, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "transmission") ( MacAddress, RowStatus, StorageType, TextualConvention, TimeInterval, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "RowStatus", "StorageType", "TextualConvention", "TimeInterval", "TimeStamp", "TruthValue") # Types class DocsEqualizerData(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(36,260),) class DocsisQosVersion(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("docsis10", 1), ("docsis11", 2), ) class DocsisUpstreamType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,0,1,3,2,) namedValues = NamedValues(("unknown", 0), ("tdma", 1), ("atdma", 2), ("scdma", 3), ("tdmaAndAtdma", 4), ) class DocsisVersion(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,2,) namedValues = NamedValues(("docsis10", 1), ("docsis11", 2), ("docsis20", 3), ) class TenthdB(TextualConvention, Integer32): displayHint = "d-1" class TenthdBmV(TextualConvention, Integer32): displayHint = "d-1" # Objects docsIfMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 127)).setRevisions(("2006-05-24 00:00","1999-08-19 00:00",)) if mibBuilder.loadTexts: docsIfMib.setOrganization("IETF IPCDN Working Group") if mibBuilder.loadTexts: docsIfMib.setContactInfo(" David Raftus\nPostal: ATI Technologies Inc.\n 340 Terry Fox Drive, Suite 202\n Ottawa Ontario\n Canada\nPhone: +1 613 592 1052 ext.222\nE-mail: david.raftus@ati.com\n\n Eduardo Cardona\nPostal: Cable Television Laboratories, Inc.\n 858 Coal Creek Circle\n Louisville, CO 80027-9750\n U.S.A.\nPhone: Tel: +1 303 661 9100\n Fax: +1 303 661 9199\nE-mail: e.cardona@cablelabs.com;mibs@cablelabs.com\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-chairs: Richard Woundy, Richard_Woundy@cable.comcast.com\n Jean-Francois Mule, jf.mule@cablelabs.com") if mibBuilder.loadTexts: docsIfMib.setDescription("This is the MIB Module for DOCSIS 2.0-compliant Radio\nFrequency (RF) interfaces in Cable Modems and\nCable Modem Termination Systems.\n\nCopyright (C) The Internet Society (2006). This\nversion of this MIB module is part of RFC 4546; see\nthe RFC itself for full legal notices.") docsIfMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 1)) docsIfBaseObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 1, 1)) docsIfDownstreamChannelTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1)) if mibBuilder.loadTexts: docsIfDownstreamChannelTable.setDescription("This table describes the attributes of downstream\nchannels (frequency bands).") docsIfDownstreamChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfDownstreamChannelEntry.setDescription("An entry provides a list of attributes for a single\ndownstream channel.\nAn entry in this table exists for each ifEntry with an\nifType of docsCableDownstream(128).") docsIfDownChannelId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfDownChannelId.setDescription("The Cable Modem Termination System identification of the\ndownstream channel within this particular MAC interface.\nif the interface is down, the object returns the most\ncurrent value. If the downstream channel ID is unknown,\nthis object returns a value of 0.") docsIfDownChannelFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfDownChannelFrequency.setDescription("The center of the downstream frequency associated with\nthis channel. This object will return the current tuner\n\n\n\nfrequency. If a CMTS provides IF output, this object\nwill return 0, unless this CMTS is in control of the\nfinal downstream frequency. See the associated\ncompliance object for a description of valid frequencies\nthat may be written to this object.") docsIfDownChannelWidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfDownChannelWidth.setDescription("The bandwidth of this downstream channel. Most\nimplementations are expected to support a channel width\nof 6 MHz (North America) and/or 8 MHz (Europe). See the\nassociated compliance object for a description of the\nvalid channel widths for this object.") docsIfDownChannelModulation = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("other", 2), ("qam64", 3), ("qam256", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfDownChannelModulation.setDescription("The modulation type associated with this downstream\nchannel. If the interface is down, this object either\nreturns the configured value (CMTS), the most current\nvalue (CM), or the value of unknown(1). See the\nassociated conformance object for write conditions and\nlimitations. See the reference for specifics on the\nmodulation profiles implied by qam64 and qam256.") docsIfDownChannelInterleave = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,7,1,6,3,4,8,)).subtype(namedValues=NamedValues(("unknown", 1), ("other", 2), ("taps8Increment16", 3), ("taps16Increment8", 4), ("taps32Increment4", 5), ("taps64Increment2", 6), ("taps128Increment1", 7), ("taps12increment17", 8), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfDownChannelInterleave.setDescription("The Forward Error Correction (FEC) interleaving used\nfor this downstream channel.\nValues are defined as follows:\ntaps8Increment16(3): protection 5.9/4.1 usec,\n latency .22/.15 msec\ntaps16Increment8(4): protection 12/8.2 usec,\n latency .48/.33 msec\ntaps32Increment4(5): protection 24/16 usec,\n latency .98/.68 msec\ntaps64Increment2(6): protection 47/33 usec,\n latency 2/1.4 msec\ntaps128Increment1(7): protection 95/66 usec,\n latency 4/2.8 msec\ntaps12increment17(8): protection 18/14 usec,\n latency 0.43/0.32 msec\n\nThe value 'taps12increment17' is supported by EuroDOCSIS\ncable systems only, and the others by DOCSIS cable systems.\n\nIf the interface is down, this object either returns\nthe configured value (CMTS), the most current value (CM),\nor the value of unknown(1).\nThe value of other(2) is returned if the interleave\nis known but not defined in the above list.\nSee the associated conformance object for write\nconditions and limitations. See the reference for the FEC\nconfiguration described by the setting of this object.") docsIfDownChannelPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 6), TenthdBmV()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfDownChannelPower.setDescription("At the CMTS, the operational transmit power. At the CM,\nthe received power level.\nIf the interface is down, this object either returns\nthe configured value (CMTS), the most current value (CM)\nor the value of 0. See the associated conformance object\nfor write conditions and limitations. See the reference\nfor recommended and required power levels.") docsIfDownChannelAnnex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,5,1,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("other", 2), ("annexA", 3), ("annexB", 4), ("annexC", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfDownChannelAnnex.setDescription("The value of this object indicates the conformance of\nthe implementation to important regional cable standards.\nannexA : Annex A from ITU-T J.83 is used.\n (equivalent to EN 300 429)\nannexB : Annex B from ITU-T J.83 is used.\nannexC : Annex C from ITU-T J.83 is used.") docsIfDownChannelStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 1, 1, 8), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfDownChannelStorageType.setDescription("The storage type for this conceptual row.\nEntries with this object set to permanent(4)\ndo not require write operations for read-write\nobjects.") docsIfUpstreamChannelTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2)) if mibBuilder.loadTexts: docsIfUpstreamChannelTable.setDescription("This table describes the attributes of attached upstream\nchannels.") docsIfUpstreamChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfUpstreamChannelEntry.setDescription("List of attributes for a single upstream channel. For\nDOCSIS 2.0 CMTSs, an entry in this table exists for\neach ifEntry with an ifType of docsCableUpstreamChannel\n(205).\nFor DOCSIS 1.x CM/CMTSs and DOCSIS 2.0 CMs, an entry in\nthis table exists for each ifEntry with an ifType of\ndocsCableUpstream (129).\n\nFor DOCSIS 2.0 CMTSs, two classes of interfaces can be\ndefined for this table:\n o Upstream Physical Interfaces: The traditional DOCSIS\n 1.x CMTS upstream interface ifType 129 and the DOCSIS\n 2.0 ifType 205 that are functional. In other words,\n interfaces that represent upstream receivers within\n an RF MAC interface.\n Entries of physical interfaces are exposed to the\n management interface with their corresponding\n ifStack hierarchy and are not administratively\n created by this table.\n\n\n\n\n o Upstream Temporary Interfaces: A fictitious\n interface created for the purpose of manipulating\n physical interface parameters offline, then\n validating prior to updating the target physical\n interface.\n\nIn case of a reinitialization of the managed system,\nphysical interfaces values persist while the temporary\ninterfaces are not recreated.\n\nThis mechanism helps to minimize service disruptions\noriginating in situations where a group of interface\nparameter values need to be consistent with each other\nin SET operations. A temporary buffer\n(temporary interface) is provided to allow the CMTS\nto validate the parameters offline.") docsIfUpChannelId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfUpChannelId.setDescription("The CMTS identification of the upstream channel.") docsIfUpChannelFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelFrequency.setDescription("The center of the frequency band associated with this\nupstream interface. This object returns 0 if the frequency\nis undefined or unknown. Minimum permitted upstream\nfrequency is 5,000,000 Hz for current technology. See\nthe associated conformance object for write conditions\nand limitations.") docsIfUpChannelWidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64000000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelWidth.setDescription("The bandwidth of this upstream interface. This object\nreturns 0 if the interface width is undefined or unknown.\nMinimum permitted interface width is currently 200,000 Hz.\nSee the associated conformance object for write conditions\nand limitations.") docsIfUpChannelModulationProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelModulationProfile.setDescription("An entry identical to the docsIfModIndex in the\ndocsIfCmtsModulationTable that describes this channel.\nThis channel is further instantiated there by a grouping\nof interval usage codes (IUCs) that, together, fully\ndescribe the channel modulation. This object returns 0 if\nthe docsIfCmtsModulationTable entry does not exist or is\nempty. See the associated conformance object for write\nconditions and limitations.\n\n\n\nSetting this object returns an 'inconsistentValue'\nerror if the following conditions are not satisfied:\n1. All the IUC entries in the selected modulation profile\nMUST have the same value of docsIfCmtsModChannelType.\n2. All of the Modulation parameters in the selected\nmodulation profile MUST be consistent with the other\nparameters in this docsIfUpstreamChannelEntry.") docsIfUpChannelSlotSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelSlotSize.setDescription("Applicable to TDMA and ATDMA channel types only.\nThe number of 6.25 microsecond ticks in each upstream\nmini-slot. Returns zero if the value is undefined or\nunknown or in case of an SCDMA channel.\nSee the associated conformance object for write\nconditions and limitations.") docsIfUpChannelTxTimingOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfUpChannelTxTimingOffset.setDescription("At the CM, a measure of the current round trip time\nobtained from the ranging offset (initial ranging offset +\nranging offset adjustments).\nAt the CMTS, the maximum of timing offset, among all the\nCMs that are/were present on the channel, taking into\naccount all ( initial + periodic ) timing offset\ncorrections that were sent for each of the CMs. Generally,\nthese measurements are positive, but if the measurements\nare negative, the value of this object is zero. Used for\ntiming of CM upstream transmissions to ensure synchronized\narrivals at the CMTS.\nUnits are one 64th fraction of 6.25 microseconds.") docsIfUpChannelRangingBackoffStart = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelRangingBackoffStart.setDescription("The initial random backoff window to use when retrying\nRanging Requests. Expressed as a power of 2. A value of\n16 at the CMTS indicates that a proprietary adaptive retry\nmechanism is to be used. See the associated conformance\nobject for write conditions and limitations.") docsIfUpChannelRangingBackoffEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelRangingBackoffEnd.setDescription("The final random backoff window to use when retrying\nRanging Requests. Expressed as a power of 2. A value of\n16 at the CMTS indicates that a proprietary adaptive retry\nmechanism is to be used. See the associated conformance\nobject for write conditions and limitations.") docsIfUpChannelTxBackoffStart = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelTxBackoffStart.setDescription("The initial random backoff window to use when retrying\ntransmissions. Expressed as a power of 2. A value of 16\nat the CMTS indicates that a proprietary adaptive retry\nmechanism is to be used. See the associated conformance\nobject for write conditions and limitations.") docsIfUpChannelTxBackoffEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelTxBackoffEnd.setDescription("The final random backoff window to use when retrying\ntransmissions. Expressed as a power of 2. A value of 16\nat the CMTS indicates that a proprietary adaptive retry\nmechanism is to be used. See the associated conformance\nobject for write conditions and limitations.") docsIfUpChannelScdmaActiveCodes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 11), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(64,66),ValueRangeConstraint(68,70),ValueRangeConstraint(72,72),ValueRangeConstraint(74,78),ValueRangeConstraint(80,82),ValueRangeConstraint(84,88),ValueRangeConstraint(90,96),ValueRangeConstraint(98,100),ValueRangeConstraint(102,102),ValueRangeConstraint(104,106),ValueRangeConstraint(108,108),ValueRangeConstraint(110,112),ValueRangeConstraint(114,126),ValueRangeConstraint(128,128),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelScdmaActiveCodes.setDescription("Applicable for SCDMA channel types only.\nNumber of active codes. Returns zero for\nNon-SCDMA channel types. Note that legal\nvalues from 64..128 MUST be non-prime.") docsIfUpChannelScdmaCodesPerSlot = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(2,32),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelScdmaCodesPerSlot.setDescription("Applicable for SCDMA channel types only.\nThe number of SCDMA codes per mini-slot.\nReturns zero if the value is undefined or unknown or in\n\n\n\ncase of a TDMA or ATDMA channel.") docsIfUpChannelScdmaFrameSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelScdmaFrameSize.setDescription("Applicable for SCDMA channel types only.\nSCDMA Frame size in units of spreading intervals.\nThis value returns zero for non-SCDMA Profiles.") docsIfUpChannelScdmaHoppingSeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelScdmaHoppingSeed.setDescription("Applicable for SCDMA channel types only.\n15-bit seed used for code hopping sequence initialization.\nReturns zero for non-SCDMA channel types.\nSetting this value to a value different than zero for\nnon-SCDMA channel types returns the error 'wrongValue'.") docsIfUpChannelType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 15), DocsisUpstreamType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfUpChannelType.setDescription("Reflects the Upstream channel type.\nThis object returns the value of docsIfCmtsModChannelType\nfor the modulation profile selected in\ndocsIfUpChannelModulationProfile for this row.") docsIfUpChannelCloneFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 16), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelCloneFrom.setDescription("This object contains the ifIndex value of the physical\ninterface row entry whose parameters are to be adjusted.\n\nUpon setting this object to the ifIndex value of a\nphysical interface, the following interface objects values\nare copied to this entry:\ndocsIfUpChannelFrequency,\ndocsIfUpChannelWidth,\ndocsIfUpChannelModulationProfile,\ndocsIfUpChannelSlotSize,\ndocsIfUpChannelRangingBackoffStart,\ndocsIfUpChannelRangingBackoffEnd,\ndocsIfUpChannelTxBackoffStart,\ndocsIfUpChannelTxBackoffEnd,\ndocsIfUpChannelScdmaActiveCodes,\ndocsIfUpChannelScdmaCodesPerSlot,\ndocsIfUpChannelScdmaFrameSize,\ndocsIfUpChannelScdmaHoppingSeed,\ndocsIfUpChannelType, and\ndocsIfUpChannelPreEqEnable\nSetting this object to the value of a non-existent or\na temporary upstream interface returns the error\n'wrongValue'.\nThis object MUST contain a value of zero for physical\ninterfaces entries.\nSetting this object in row entries that correspond to\nphysical interfaces returns the error 'wrongValue'.") docsIfUpChannelUpdate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 17), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelUpdate.setDescription("Used to perform the copy of adjusted parameters from the\ntemporary interface entry to the physical interface\nindicated by the docsIfUpChannelCloneFrom object. The\ntransfer is initiated through an SNMP SET to 'true' of\n\n\n\nthis object.\nA SET to 'true' fails and returns error 'commitFailed'\nif docsIfUpChannelStatus value is 'notInService', which\nmeans that the interface parameters values are not\ncompatible with each other or have not been validated yet.\nReading this object always returns 'false'.") docsIfUpChannelStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 18), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelStatus.setDescription("This object is only used for the creation of a temporary\nupstream row with the purpose of updating the parameters\nof a physical upstream channel entry.\n\nThe following restrictions apply to this object:\n1. This object is not writable for physical interfaces.\n2. Temporary interface entries are only created by a SET\n of this object to createandWait(5).\n3. ifAdminStatus from the Interface MIB RFC 2863 is used\n to take a physical upstream channel offline, to be\n consistent with DOCSIS 1.x operation, as indicated in\n RFC 2670.\n In addition,\n o ifAdminStatus 'down' is reflected in this object\n as 'notInService'.\n o ifOperStatus 'down' while ifAdminStatus 'up' is\n reflected in this object as 'notInservice'.\n4. Temporary created rows MUST be set to 'active' with\n the purpose of validating upstream parameter\n consistency prior to transferring the parameters to the\n physical interface.\n\nBelow is a mandatory procedure for adjusting the values\nof a physical interface:\n1. Create a temporary interface entry through an SNMP SET\n using 'createAndWait'. At this point, the RowStatus\n reports 'notReady'.\n The Manager entity uses an ifIndex value outside the\n operational range of the physical interfaces for the\n creation of a temporary interface.\n2. Set the docsIfUpChannelCloneFrom object to the ifIndex\n value of the physical row to update. Now\n docsIfUpChannelStatus reports 'notInService'.\n3. Change the upstream parameters to the desired values\n in the temporary row.\n\n\n\n4. Validate that all parameters are consistent by setting\n docsIfUpChannelStatus to 'active'. A failure to set the\n RowStatus to 'active' returns the error 'commitFailed',\n which means the parameters are not compatible with the\n target physical interface.\n5. With docsIfUpChannelStatus 'active', transfer the\n parameters to the target physical interface by setting\n the object docsIfUpChannelUpdate to 'true'.\n6. Delete the temporary row by setting\n docsIfUpChannelStatus to 'destroy'.") docsIfUpChannelPreEqEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 2, 1, 19), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfUpChannelPreEqEnable.setDescription("At the CMTS, this object is used to enable or disable\npre-equalization on the upstream channel represented by\nthis table instance. At the CM, this object is read-only\nand reflects the status of pre-equalization as represented\nin the RNG-RSP. Pre-equalization is considered enabled at\nthe CM if a RNG-RSP with pre-equalization data has been\nreceived at least once since the last mac\nreinitialization.") docsIfQosProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3)) if mibBuilder.loadTexts: docsIfQosProfileTable.setDescription("Describes the attributes for each class of service.") docsIfQosProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1)).setIndexNames((0, "DOCS-IF-MIB", "docsIfQosProfIndex")) if mibBuilder.loadTexts: docsIfQosProfileEntry.setDescription("Describes the attributes for a single class of service.\nIf implemented as read-create in the Cable Modem\nTermination System, creation of entries in this table is\ncontrolled by the value of\ndocsIfCmtsQosProfilePermissions.\n\nIf implemented as read-only, entries are created based\non information in REG-REQ MAC messages received from\ncable modems (for Cable Modem Termination System), or\nbased on information extracted from the TFTP option file\n(for Cable Modem).\nIn the Cable Modem Termination System, read-only entries\nare removed if no longer referenced by\ndocsIfCmtsServiceTable.\n\nAn entry in this table MUST not be removed while it is\nreferenced by an entry in docsIfCmServiceTable (Cable\nModem) or docsIfCmtsServiceTable (Cable Modem Termination\nSystem).\n\nAn entry in this table SHOULD NOT be changeable while\nit is referenced by an entry in docsIfCmtsServiceTable.\n\nIf this table is created automatically, there SHOULD only\nbe a single entry for each Class of Service. Multiple\nentries with the same Class of Service parameters are NOT\nRECOMMENDED.") docsIfQosProfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16383))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfQosProfIndex.setDescription("The index value that uniquely identifies an entry\nin the docsIfQosProfileTable.") docsIfQosProfPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfPriority.setDescription("A relative priority assigned to this service when\nallocating bandwidth. Zero indicates lowest priority\nand seven indicates highest priority.\nInterpretation of priority is device-specific.\nMUST NOT be changed while this row is active.") docsIfQosProfMaxUpBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfMaxUpBandwidth.setDescription("The maximum upstream bandwidth, in bits per second,\nallowed for a service with this service class.\nZero if there is no restriction of upstream bandwidth.\nMUST NOT be changed while this row is active.") docsIfQosProfGuarUpBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfGuarUpBandwidth.setDescription("Minimum guaranteed upstream bandwidth, in bits per second,\n\n\n\nallowed for a service with this service class.\nMUST NOT be changed while this row is active.") docsIfQosProfMaxDownBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfMaxDownBandwidth.setDescription("The maximum downstream bandwidth, in bits per second,\nallowed for a service with this service class.\nZero if there is no restriction of downstream bandwidth.\nMUST NOT be changed while this row is active.") docsIfQosProfMaxTxBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfMaxTxBurst.setDescription("The maximum number of mini-slots that may be requested\nfor a single upstream transmission.\nA value of zero means there is no limit.\nMUST NOT be changed while this row is active.\nThis object has been deprecated and replaced by\ndocsIfQosProfMaxTransmitBurst, to fix a mismatch\nof the units and value range with respect to the DOCSIS\nMaximum Upstream Channel Transmit Burst Configuration\nSetting.") docsIfQosProfBaselinePrivacy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 7), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfBaselinePrivacy.setDescription("Indicates whether Baseline Privacy is enabled for this\nservice class.\nMUST NOT be changed while this row is active.") docsIfQosProfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfStatus.setDescription("This is object is used to create or delete rows in\nthis table. This object MUST NOT be changed from active\nwhile the row is referenced by any entry in either\ndocsIfCmServiceTable (on the CM) or\ndocsIfCmtsServiceTable (on the CMTS).") docsIfQosProfMaxTransmitBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfQosProfMaxTransmitBurst.setDescription("The maximum number of bytes that may be requested for a\nsingle upstream transmission. A value of zero means there\nis no limit. Note: This value does not include any\nphysical layer overhead.\nMUST NOT be changed while this row is active.") docsIfQosProfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 3, 1, 10), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfQosProfStorageType.setDescription("The storage type for this conceptual row.\nEntries with this object set to permanent(4)\n\n\n\ndo not require write operations for writable\nobjects.") docsIfSignalQualityTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4)) if mibBuilder.loadTexts: docsIfSignalQualityTable.setDescription("At the CM, describes the PHY signal quality of downstream\nchannels. At the CMTS, this object describes the PHY\nsignal quality of upstream channels. At the CMTS, this\ntable MAY exclude contention intervals.") docsIfSignalQualityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfSignalQualityEntry.setDescription("At the CM, this object describes the PHY characteristics of\na downstream channel. At the CMTS, it describes the PHY\nsignal quality of an upstream channel.\nAn entry in this table exists for each ifEntry with an\nifType of docsCableDownstream(128) for Cable Modems.\nFor DOCSIS 1.1 Cable Modem Termination Systems, an entry\nexists for each ifEntry with an ifType of\ndocsCableUpstream (129).\nFor DOCSIS 2.0 Cable Modem Termination Systems, an entry\nexists for each ifEntry with an ifType of\ndocsCableUpstreamChannel (205).") docsIfSigQIncludesContention = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQIncludesContention.setDescription("true(1) if this CMTS includes contention intervals in\nthe counters in this table. Always false(2) for CMs.") docsIfSigQUnerroreds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQUnerroreds.setDescription("Codewords received on this channel without error.\nThis includes all codewords, whether or not they\nwere part of frames destined for this device.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfSigQCorrecteds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQCorrecteds.setDescription("Codewords received on this channel with correctable\nerrors. This includes all codewords, whether or not\nthey were part of frames destined for this device.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfSigQUncorrectables = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQUncorrectables.setDescription("Codewords received on this channel with uncorrectable\nerrors. This includes all codewords, whether or not\nthey were part of frames destined for this device.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfSigQSignalNoise = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 5), TenthdB()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQSignalNoise.setDescription("Signal/Noise ratio as perceived for this channel.\nAt the CM, this object describes the Signal/Noise of the\ndownstream channel. At the CMTS, it describes the\naverage Signal/Noise of the upstream channel.") docsIfSigQMicroreflections = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQMicroreflections.setDescription("Microreflections, including in-channel response\nas perceived on this interface, measured in dBc below\nthe signal level.\nThis object is not assumed to return an absolutely\naccurate value, but it gives a rough indication\n\n\n\nof microreflections received on this interface.\nIt is up to the implementer to provide information\nas accurately as possible.") docsIfSigQEqualizationData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 7), DocsEqualizerData()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQEqualizationData.setDescription("At the CM, this object returns the equalization data for\nthe downstream channel.\n\nAt the CMTS, this object is not applicable and is not\ninstantiated. Note that previous CMTS implementations\nmay instantiate this object in two ways:\n- An equalization value indicating an equalization\n average for the upstream channel. Those values have\n vendor-dependent interpretations.\n- Return a zero-length OCTET STRING to indicate that\n the value is unknown or if there is no equalization\n data available or defined.") docsIfSigQExtUnerroreds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQExtUnerroreds.setDescription("Codewords received on this channel without error.\nThis includes all codewords, whether or not they\nwere part of frames destined for this device.\nThis is the 64-bit version of docsIfSigQUnerroreds.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfSigQExtCorrecteds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQExtCorrecteds.setDescription("Codewords received on this channel with correctable\nerrors. This includes all codewords, whether or not\nthey were part of frames destined for this device.\nThis is the 64-bit version of docsIfSigQCorrecteds.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfSigQExtUncorrectables = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 4, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfSigQExtUncorrectables.setDescription("Codewords received on this channel with uncorrectable\nerrors. This includes all codewords, whether or not\nthey were part of frames destined for this device.\nThis is the 64-bit version of docsIfSigQUncorrectables.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfDocsisBaseCapability = MibScalar((1, 3, 6, 1, 2, 1, 10, 127, 1, 1, 5), DocsisVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfDocsisBaseCapability.setDescription("Indication of the DOCSIS capability of the device.") docsIfCmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 1, 2)) docsIfCmMacTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 1)) if mibBuilder.loadTexts: docsIfCmMacTable.setDescription("Describes the attributes of each CM MAC interface,\nextending the information available from ifEntry.") docsIfCmMacEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfCmMacEntry.setDescription("An entry containing objects describing attributes of\neach MAC entry, extending the information in ifEntry.\nAn entry in this table exists for each ifEntry with an\nifType of docsCableMaclayer(127).") docsIfCmCmtsAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 1, 1, 1), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmCmtsAddress.setDescription("Identifies the CMTS that is believed to control this MAC\ndomain. At the CM, this will be the source address from\nSYNC, MAP, and other MAC-layer messages. If the CMTS is\nunknown, returns 00-00-00-00-00-00.") docsIfCmCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 1, 1, 2), Bits().subtype(namedValues=NamedValues(("atmCells", 0), ("concatenation", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmCapabilities.setDescription("Identifies the capabilities of the MAC implementation\nat this interface. Note that packet transmission is\nalways supported. Therefore, there is no specific bit\nrequired to explicitly indicate this capability.\nNote that BITS objects are encoded most significant bit\nfirst. For example, if bit 1 is set, the value of this\nobject is the octet string '40'H.") docsIfCmRangingRespTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 1, 1, 3), TimeTicks().clone('20')).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmRangingRespTimeout.setDescription("Waiting time for a Ranging Response packet.\nThis object has been obsoleted and replaced by\ndocsIfCmRangingTimeout to correct the typing to\nTimeInterval.") docsIfCmRangingTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 1, 1, 4), TimeInterval().clone('20')).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmRangingTimeout.setDescription("Waiting time for a Ranging Response packet.\nThis object MUST NOT persist at reinitialization\nof the managed system.") docsIfCmStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2)) if mibBuilder.loadTexts: docsIfCmStatusTable.setDescription("This table maintains a number of status objects\nand counters for Cable Modems.") docsIfCmStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfCmStatusEntry.setDescription("A set of status objects and counters for a single MAC\nlayer instance in Cable Modem.\nAn entry in this table exists for each ifEntry with an\nifType of docsCableMaclayer(127).") docsIfCmStatusValue = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,11,9,4,8,5,12,7,1,10,6,13,)).subtype(namedValues=NamedValues(("other", 1), ("paramTransferComplete", 10), ("registrationComplete", 11), ("operational", 12), ("accessDenied", 13), ("notReady", 2), ("notSynchronized", 3), ("phySynchronized", 4), ("usParametersAcquired", 5), ("rangingComplete", 6), ("ipComplete", 7), ("todEstablished", 8), ("securityEstablished", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusValue.setDescription("Current Cable Modem connectivity state, as specified\nin the RF Interface Specification. Interpretations for\nstate values 1-12 are clearly outlined in the SP-RFI\nreference given below.\nThe state value accessDenied(13) indicates the CMTS has\nsent a Registration Aborted message to the CM. The same\nstate is reported as accessDenied(7) by the CMTS object\ndocsIfCmtsCmStatusValue.") docsIfCmStatusCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,6),))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusCode.setDescription("Status code for a Cable Modem as defined in the\nOSSI Specification. The status code consists\nof a single character indicating error groups, followed\nby a two- or three-digit number indicating the status\ncondition, followed by a decimal.\nAn example of a returned value could be 'T101.0'.\nThe zero-length OCTET STRING indicates no status code yet\nregistered.") docsIfCmStatusTxPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 3), TenthdBmV()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusTxPower.setDescription("The operational transmit power for the attached upstream\nchannel.") docsIfCmStatusResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusResets.setDescription("Number of times the CM reset or initialized this\ninterface.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\n\n\n\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusLostSyncs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusLostSyncs.setDescription("Number of times the CM lost synchronization with\nthe downstream channel.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusInvalidMaps = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusInvalidMaps.setDescription("Number of times the CM received invalid MAP messages.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusInvalidUcds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusInvalidUcds.setDescription("Number of times the CM received invalid UCD messages.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\n\n\n\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusInvalidRangingResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusInvalidRangingResponses.setDescription("Number of times the CM received invalid ranging response\nmessages.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusInvalidRegistrationResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusInvalidRegistrationResponses.setDescription("Number of times the CM received invalid registration\nresponse messages.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusT1Timeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusT1Timeouts.setDescription("Number of times counter T1 expired in the CM.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusT2Timeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusT2Timeouts.setDescription("Number of times counter T2 expired in the CM.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusT3Timeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusT3Timeouts.setDescription("Number of times counter T3 expired in the CM.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusT4Timeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusT4Timeouts.setDescription("Number of times counter T4 expired in the CM.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusRangingAborteds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusRangingAborteds.setDescription("Number of times the ranging process was aborted\nby the CMTS.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusDocsisOperMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 15), DocsisQosVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusDocsisOperMode.setDescription("Indication of whether the device has registered using 1.0\nClass of Service or 1.1 Quality of Service.\nAn unregistered CM SHOULD indicate 'docsis11' for a\ndocsIfDocsisBaseCapability value of DOCSIS 1.1/2.0. An\nunregistered CM SHOULD indicate 'docsis10' for a\ndocsIfDocsisBaseCapability value of DOCSIS 1.0.") docsIfCmStatusModulationType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 16), DocsisUpstreamType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusModulationType.setDescription("Indicates modulation type status currently used by the\nCM. Since this object specifically identifies PHY mode,\nthe shared upstream channel type is not permitted.") docsIfCmStatusEqualizationData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 17), DocsEqualizerData()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusEqualizationData.setDescription("Pre-equalization data for this CM after convolution with\ndata indicated in the RNG-RSP. This data is valid when\ndocsIfUpChannelPreEqEnable is set to true.") docsIfCmStatusUCCs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusUCCs.setDescription("The number of successful Upstream Channel Change\ntransactions.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmStatusUCCFails = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmStatusUCCFails.setDescription("The number of failed Upstream Channel Change\ntransactions.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3)) if mibBuilder.loadTexts: docsIfCmServiceTable.setDescription("Describes the attributes of each upstream service queue\non a CM.") docsIfCmServiceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IF-MIB", "docsIfCmServiceId")) if mibBuilder.loadTexts: docsIfCmServiceEntry.setDescription("Describes the attributes of an upstream bandwidth service\nqueue.\nAn entry in this table exists for each Service ID.\nThe primary index is an ifIndex with an ifType of\ndocsCableMaclayer(127).") docsIfCmServiceId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16383))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmServiceId.setDescription("Identifies a service queue for upstream bandwidth. The\nattributes of this service queue are shared between the\nCM and the CMTS. The CMTS allocates upstream bandwidth\nto this service queue based on requests from the CM and\non the class of service associated with this queue.") docsIfCmServiceQosProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceQosProfile.setDescription("The index in docsIfQosProfileTable describing the quality\nof service attributes associated with this particular\nservice. If no associated entry in docsIfQosProfileTable\nexists, this object returns a value of zero.") docsIfCmServiceTxSlotsImmed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceTxSlotsImmed.setDescription("The number of upstream mini-slots that have been used to\ntransmit data PDUs in immediate (contention) mode. This\nincludes only those PDUs that are presumed to have\narrived at the head-end (i.e., those that were explicitly\nacknowledged). It does not include retransmission attempts\nor mini-slots used by requests.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceTxSlotsDed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceTxSlotsDed.setDescription("The number of upstream mini-slots that have been used to\ntransmit data PDUs in dedicated mode (i.e., as a result\nof a unicast Data Grant).\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceTxRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceTxRetries.setDescription("The number of attempts to transmit data PDUs containing\nrequests for acknowledgment that did not result in\nacknowledgment.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceTxExceededs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceTxExceededs.setDescription("The number of data PDU transmission failures due to\nexcessive retries without acknowledgment.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\n\n\n\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceRqRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceRqRetries.setDescription("The number of attempts to transmit bandwidth requests\nthat did not result in acknowledgment.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceRqExceededs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceRqExceededs.setDescription("The number of requests for bandwidth that failed due to\nexcessive retries without acknowledgment.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceExtTxSlotsImmed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceExtTxSlotsImmed.setDescription("The number of upstream mini-slots that have been used to\ntransmit data PDUs in immediate (contention) mode. This\nincludes only those PDUs that are presumed to have\narrived at the head-end (i.e., those that were explicitly\nacknowledged). It does not include retransmission attempts\nor mini-slots used by requests.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmServiceExtTxSlotsDed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 2, 3, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmServiceExtTxSlotsDed.setDescription("The number of upstream mini-slots that have been used to\ntransmit data PDUs in dedicated mode (i.e., as a result\nof a unicast Data Grant).\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 1, 3)) docsIfCmtsMacTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1)) if mibBuilder.loadTexts: docsIfCmtsMacTable.setDescription("Describes the attributes of each CMTS MAC interface,\nextending the information available from ifEntry.\nMandatory for all CMTS devices.") docsIfCmtsMacEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfCmtsMacEntry.setDescription("An entry containing objects describing attributes of each\nMAC entry, extending the information in ifEntry.\nAn entry in this table exists for each ifEntry with an\nifType of docsCableMaclayer(127).") docsIfCmtsCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("atmCells", 0), ("concatenation", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCapabilities.setDescription("Identifies the capabilities of the CMTS MAC\nimplementation at this interface. Note that packet\ntransmission is always supported. Therefore, there\nis no specific bit required to explicitly indicate\nthis capability.\nNote that BITS objects are encoded most significant bit\nfirst. For example, if bit 1 is set, the value of this\nobject is the octet string '40'H.") docsIfCmtsSyncInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 200))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmtsSyncInterval.setDescription("The interval between CMTS transmission of successive SYNC\nmessages at this interface.") docsIfCmtsUcdInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmtsUcdInterval.setDescription("The interval between CMTS transmission of successive\nUpstream Channel Descriptor messages for each upstream\nchannel at this interface.") docsIfCmtsMaxServiceIds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16383))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsMaxServiceIds.setDescription("The maximum number of service IDs that may be\nsimultaneously active.") docsIfCmtsInsertionInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 5), TimeTicks()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmtsInsertionInterval.setDescription("The amount of time to elapse between each broadcast\ninitial maintenance grant. Broadcast initial maintenance\ngrants are used to allow new cable modems to join the\nnetwork. Zero indicates that a vendor-specific algorithm\nis used instead of a fixed time. The maximum amount of\n\n\n\ntime permitted by the specification is 2 seconds.\nThis object has been obsoleted and replaced by\ndocsIfCmtsInsertInterval to fix a SYNTAX typing problem.") docsIfCmtsInvitedRangingAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmtsInvitedRangingAttempts.setDescription("The maximum number of attempts to make on invitations\nfor ranging requests. A value of zero means the system\nSHOULD attempt to range forever.") docsIfCmtsInsertInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 7), TimeInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmtsInsertInterval.setDescription("The amount of time to elapse between each broadcast\ninitial maintenance grant. Broadcast initial maintenance\ngrants are used to allow new cable modems to join the\nnetwork. Zero indicates that a vendor-specific algorithm\nis used instead of a fixed time. The maximum amount of\ntime permitted by the specification is 2 seconds.") docsIfCmtsMacStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 1, 1, 8), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsMacStorageType.setDescription("The storage type for this conceptual row.\n\n\n\nEntries with this object set to permanent(4)\ndo not require write operations for read-write\nobjects.") docsIfCmtsStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2)) if mibBuilder.loadTexts: docsIfCmtsStatusTable.setDescription("For the MAC layer, this group maintains a number of\nstatus objects and counters.") docsIfCmtsStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfCmtsStatusEntry.setDescription("Status entry for a single MAC layer.\nAn entry in this table exists for each ifEntry with an\nifType of docsCableMaclayer(127).") docsIfCmtsStatusInvalidRangeReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsStatusInvalidRangeReqs.setDescription("This object counts invalid RNG-REQ messages received on\nthis interface.\nDiscontinuities in the value of this counter can occur\n\n\n\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsStatusRangingAborteds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsStatusRangingAborteds.setDescription("This object counts ranging attempts that were explicitly\naborted by the CMTS.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsStatusInvalidRegReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsStatusInvalidRegReqs.setDescription("This object counts invalid REG-REQ messages received on\nthis interface; that is, syntax, out of range parameters,\nor erroneous requests.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsStatusFailedRegReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsStatusFailedRegReqs.setDescription("This object counts failed registration attempts. Included\nare docsIfCmtsStatusInvalidRegReqs, authentication, and\nclass of service failures.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsStatusInvalidDataReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsStatusInvalidDataReqs.setDescription("This object counts invalid data request messages\nreceived on this interface.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsStatusT5Timeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsStatusT5Timeouts.setDescription("This object counts the number of times counter T5\nexpired on this interface.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3)) if mibBuilder.loadTexts: docsIfCmtsCmStatusTable.setDescription("A set of objects in the CMTS, maintained for each\ncable modem connected to this CMTS.") docsIfCmtsCmStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1)).setIndexNames((0, "DOCS-IF-MIB", "docsIfCmtsCmStatusIndex")) if mibBuilder.loadTexts: docsIfCmtsCmStatusEntry.setDescription("Status information for a single cable modem.\nAn entry in this table exists for each cable modem\nthat is connected to the CMTS implementing this table.") docsIfCmtsCmStatusIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmtsCmStatusIndex.setDescription("Index value to uniquely identify an entry in this table.\nFor an individual cable modem, this index value SHOULD\nNOT change during CMTS uptime.") docsIfCmtsCmStatusMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusMacAddress.setDescription("MAC address of the cable modem. If the cable modem has\nmultiple MAC addresses, this is the MAC address associated\nwith the Cable interface.") docsIfCmtsCmStatusIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusIpAddress.setDescription("IP address of this cable modem. If the cable modem has no\nIP address assigned, or the IP address is unknown, this\nobject returns a value of 0.0.0.0. If the cable modem has\nmultiple IP addresses, this object returns the IP address\nassociated with the Cable interface.\nThis object has been deprecated and replaced by\ndocsIfCmtsCmStatusInetAddressType and\ndocsIfCmtsCmStatusInetAddress, to enable IPv6 addressing\nin the future.") docsIfCmtsCmStatusDownChannelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 4), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusDownChannelIfIndex.setDescription("IfIndex of the downstream channel that this CM is\nconnected to. If the downstream channel is unknown, this\nobject returns a value of zero.") docsIfCmtsCmStatusUpChannelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 5), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusUpChannelIfIndex.setDescription("For DOCSIS 2.0, indicates the ifIndex of the logical\nupstream channel (ifType 205) this CM is connected to.\nFor DOCSIS 1.x, indicates the ifIndex of the upstream\n channel (ifType 129) this CM is connected to.\n If the upstream channel is unknown, this object\n returns a value of zero.") docsIfCmtsCmStatusRxPower = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 6), TenthdBmV()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusRxPower.setDescription("The receive power as perceived for upstream data from\nthis cable modem.\nIf the receive power is unknown, this object returns\na value of zero.") docsIfCmtsCmStatusTimingOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusTimingOffset.setDescription("A measure of the current round trip time for this CM.\nUsed for timing of CM upstream transmissions to ensure\nsynchronized arrivals at the CMTS. Units are in terms\nof (6.25 microseconds/64). Returns zero if the value\nis unknown.\nFor channels requiring finer resolution, please refer to\nobject docsIfCmtsCmStatusHighResolutionTimingOffset.") docsIfCmtsCmStatusEqualizationData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 8), DocsEqualizerData()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusEqualizationData.setDescription("Equalization data for this CM, as measured by the CMTS.\nReturns the zero-length OCTET STRING if the value is\nunknown or if there is no equalization data available\nor defined.") docsIfCmtsCmStatusValue = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(5,9,1,4,8,7,2,6,3,)).subtype(namedValues=NamedValues(("other", 1), ("ranging", 2), ("rangingAborted", 3), ("rangingComplete", 4), ("ipComplete", 5), ("registrationComplete", 6), ("accessDenied", 7), ("operational", 8), ("registeredBPIInitializing", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusValue.setDescription("Current cable modem connectivity state, as specified\nin the RF Interface Specification. Returned status\ninformation is the CM status, as assumed by the CMTS,\nand indicates the following events:\nother(1)\n Any state other than below.\nranging(2)\n The CMTS has received an Initial Ranging Request\n message from the CM, and the ranging process is not\n yet complete.\nrangingAborted(3)\n The CMTS has sent a Ranging Abort message to the CM.\n\n\n\nrangingComplete(4)\n The CMTS has sent a Ranging Complete message to the CM.\nipComplete(5)\n The CMTS has received a DHCP reply message and\n forwarded it to the CM.\nregistrationComplete(6)\n The CMTS has sent a Registration Response message to\n the CM.\naccessDenied(7)\n The CMTS has sent a Registration Aborted message\n to the CM.\noperational(8)\n Value 8 is considered reserved and should not be defined\n in future revisions of this MIB module to avoid conflict\n with documented implementations that support value 8 to\n indicate operational state after completing the BPI\n initialization process.\nregisteredBPIInitializing(9)\n Baseline Privacy (BPI) is enabled and the CMTS is in the\n process of completing BPI initialization. This state\n MAY last for a significant length of time if failures\n occur during the initialization process. After\n completion of BPI initialization, the CMTS will report\n registrationComplete(6).\nThe CMTS only needs to report states it is able to\ndetect.") docsIfCmtsCmStatusUnerroreds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusUnerroreds.setDescription("Codewords received without error from this cable modem.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusCorrecteds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusCorrecteds.setDescription("Codewords received with correctable errors from this\ncable modem.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusUncorrectables = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusUncorrectables.setDescription("Codewords received with uncorrectable errors from this\ncable modem.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusSignalNoise = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 13), TenthdB()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusSignalNoise.setDescription("Signal/Noise ratio as perceived for upstream data from\nthis cable modem.\nIf the Signal/Noise is unknown, this object returns\na value of zero.") docsIfCmtsCmStatusMicroreflections = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusMicroreflections.setDescription("Total microreflections, including in-channel response\nas perceived on this interface, measured in dBc below\nthe signal level.\nThis object is not assumed to return an absolutely\naccurate value, but it gives a rough indication\nof microreflections received on this interface.\nIt is up to the implementer to provide information\nas accurately as possible.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusExtUnerroreds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusExtUnerroreds.setDescription("Codewords received without error from this cable modem.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusExtCorrecteds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusExtCorrecteds.setDescription("Codewords received with correctable errors from this\ncable modem.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusExtUncorrectables = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusExtUncorrectables.setDescription("Codewords received with uncorrectable errors from this\ncable modem.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsCmStatusDocsisRegMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 18), DocsisQosVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusDocsisRegMode.setDescription("Indication of whether the CM has registered using 1.0\nClass of Service or 1.1 Quality of Service.") docsIfCmtsCmStatusModulationType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 19), DocsisUpstreamType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusModulationType.setDescription("Indicates modulation type currently used by the CM. Since\nthis object specifically identifies PHY mode, the shared\ntype is not permitted. If the upstream channel is\nunknown, this object returns a value of zero.") docsIfCmtsCmStatusInetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 20), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusInetAddressType.setDescription("The type of internet address of\ndocsIfCmtsCmStatusInetAddress. If the cable modem\ninternet address is unassigned or unknown, then the\nvalue of this object is unknown(0).") docsIfCmtsCmStatusInetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 21), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusInetAddress.setDescription("Internet address of this cable modem. If the Cable\nModem has no Internet address assigned, or the Internet\naddress is unknown, the value of this object is the\nzero-length OCTET STRING. If the cable modem has\nmultiple Internet addresses, this object returns the\nInternet address associated with the Cable\n(i.e., RF MAC) interface.") docsIfCmtsCmStatusValueLastUpdate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 22), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusValueLastUpdate.setDescription("The value of sysUpTime when docsIfCmtsCmStatusValue\nwas last updated.") docsIfCmtsCmStatusHighResolutionTimingOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 3, 1, 23), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmStatusHighResolutionTimingOffset.setDescription("A measure of the current round trip time for this CM.\nUsed for timing of CM upstream transmissions to ensure\nsynchronized arrivals at the CMTS. Units are in terms\nof (6.25 microseconds/(64*256)). Returns zero if the value\nis unknown.\nThis is the high resolution version of object\ndocsIfCmtsCmStatusTimingOffset, for channels requiring\nfiner resolution.") docsIfCmtsServiceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4)) if mibBuilder.loadTexts: docsIfCmtsServiceTable.setDescription("Describes the attributes of upstream service queues\nin a Cable Modem Termination System.") docsIfCmtsServiceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IF-MIB", "docsIfCmtsServiceId")) if mibBuilder.loadTexts: docsIfCmtsServiceEntry.setDescription("Describes the attributes of a single upstream bandwidth\nservice queue.\nEntries in this table exist for each ifEntry with an\nifType of docsCableMaclayer(127), and for each service\nqueue (Service ID) within this MAC layer.\nEntries in this table are created with the creation of\nindividual Service IDs by the MAC layer and removed\nwhen a Service ID is removed.") docsIfCmtsServiceId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16383))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmtsServiceId.setDescription("Identifies a service queue for upstream bandwidth. The\nattributes of this service queue are shared between the\nCable Modem and the Cable Modem Termination System.\nThe CMTS allocates upstream bandwidth to this service\nqueue based on requests from the CM and on the class of\nservice associated with this queue.") docsIfCmtsServiceCmStatusIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsServiceCmStatusIndex.setDescription("Pointer to an entry in docsIfCmtsCmStatusTable identifying\nthe cable modem using this Service Queue. If multiple\ncable modems are using this Service Queue, the value of\nthis object is zero.\nThis object has been deprecated and replaced by\ndocsIfCmtsServiceNewCmStatusIndex, to fix a mismatch\nof the value range with respect to docsIfCmtsCmStatusIndex\n(1..2147483647).") docsIfCmtsServiceAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("destroyed", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmtsServiceAdminStatus.setDescription("Allows a service class for a particular modem to be\nsuppressed, (re-)enabled, or deleted altogether.") docsIfCmtsServiceQosProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsServiceQosProfile.setDescription("The index in docsIfQosProfileTable describing the quality\nof service attributes associated with this particular\nservice. If no associated docsIfQosProfileTable entry\nexists, this object returns a value of zero.") docsIfCmtsServiceCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsServiceCreateTime.setDescription("The value of sysUpTime when this entry was created.") docsIfCmtsServiceInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsServiceInOctets.setDescription("The cumulative number of Packet Data octets received\non this Service ID. The count does not include the\nsize of the Cable MAC header.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsServiceInPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsServiceInPackets.setDescription("The cumulative number of Packet Data packets received\non this Service ID.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsServiceNewCmStatusIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsServiceNewCmStatusIndex.setDescription("Pointer (via docsIfCmtsCmStatusIndex) to an entry in\ndocsIfCmtsCmStatusTable identifying the cable modem\nusing this Service Queue. If multiple cable modems are\nusing this Service Queue, the value of this object is\nzero.") docsIfCmtsModulationTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5)) if mibBuilder.loadTexts: docsIfCmtsModulationTable.setDescription("Describes a modulation profile associated with one or more\nupstream channels.") docsIfCmtsModulationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1)).setIndexNames((0, "DOCS-IF-MIB", "docsIfCmtsModIndex"), (0, "DOCS-IF-MIB", "docsIfCmtsModIntervalUsageCode")) if mibBuilder.loadTexts: docsIfCmtsModulationEntry.setDescription("Describes a modulation profile for an Interval Usage Code\nfor one or more upstream channels.\nEntries in this table are created by the operator.\n\nInitial default entries MAY be created at system\ninitialization time, which could report a value of\n'permanent' or 'readOnly' for docsIfCmtsModStorageType.\nA CMTS MAY reject the creation of additional Interval\nUsage Codes for a modulation profile being defined at\nInitialization time.\nNo individual objects have to be specified in order\nto create an entry in this table.\n\n\n\nNote that some objects do not have DEFVAL clauses\nbut do have calculated defaults and need not be specified\nduring row creation.") docsIfCmtsModIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmtsModIndex.setDescription("An index into the Channel Modulation table representing\na group of Interval Usage Codes, all associated with the\nsame channel.") docsIfCmtsModIntervalUsageCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,6,10,11,4,1,9,5,)).subtype(namedValues=NamedValues(("request", 1), ("advPhyLongData", 10), ("ugs", 11), ("requestData", 2), ("initialRanging", 3), ("periodicRanging", 4), ("shortData", 5), ("longData", 6), ("advPhyShortData", 9), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmtsModIntervalUsageCode.setDescription("An index into the Channel Modulation table that, when\ngrouped with other Interval Usage Codes, fully\ninstantiates all modulation sets for a given upstream\nchannel.") docsIfCmtsModControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModControl.setDescription("Controls and reflects the status of rows in this table.\nThere is no restriction on the changing of values in this\ntable while their associated rows are active, with the\nexception of:\n\n1. If a modulation profile is being referenced by one\n or more upstream channels, an attempt to set the value\n of docsIfCmtsModChannelType returns an\n 'inconsistentValue' error.\n\n2. If a modulation profile is being referenced by one\n or more upstream channels, an attempt to set\n docsIfCmtsModControl to destroy(6) or notInService(2)\n returns an 'inconsistentValue' error.") docsIfCmtsModType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,6,5,7,3,4,)).subtype(namedValues=NamedValues(("other", 1), ("qpsk", 2), ("qam16", 3), ("qam8", 4), ("qam32", 5), ("qam64", 6), ("qam128", 7), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModType.setDescription("The modulation type used on this channel. Returns\nother(1) if the modulation type is not\nqpsk, qam16, qam8, qam32, qam64, or qam128.\nType qam128 is used for SCDMA channels only.\nSee the reference for the modulation profiles\nimplied by different modulation types.") docsIfCmtsModPreambleLen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1536))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModPreambleLen.setDescription("The preamble length for this modulation profile in bits.\nDefault value is the minimum needed by the implementation\nat the CMTS for the given modulation profile.") docsIfCmtsModDifferentialEncoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 6), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModDifferentialEncoding.setDescription("Specifies whether or not differential encoding is used\non this channel.") docsIfCmtsModFECErrorCorrection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModFECErrorCorrection.setDescription("The number of correctable errored bytes (t) used in\nforward error correction code. The value of 0 indicates\nthat no correction is employed. The number of check bytes\nappended will be twice this value.") docsIfCmtsModFECCodewordLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(32)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModFECCodewordLength.setDescription("The number of data bytes (k) in the forward error\ncorrection codeword.\nThis object is not used if docsIfCmtsModFECErrorCorrection\nis zero.") docsIfCmtsModScramblerSeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModScramblerSeed.setDescription("The 15-bit seed value for the scrambler polynomial.") docsIfCmtsModMaxBurstSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModMaxBurstSize.setDescription("The maximum number of mini-slots that can be transmitted\nduring this channel's burst time. Returns zero if the\nburst length is bounded by the allocation MAP rather than\nby this profile.\nDefault value is 0, except for shortData, where it is 8.") docsIfCmtsModGuardTimeSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsModGuardTimeSize.setDescription("The number of symbol-times that MUST follow the end of\nthis channel's burst. Default value is the minimum time\nneeded by the implementation for this modulation profile.") docsIfCmtsModLastCodewordShortened = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 12), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModLastCodewordShortened.setDescription("Indicates whether the last FEC codeword is truncated.") docsIfCmtsModScrambler = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 13), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModScrambler.setDescription("Indicates whether the scrambler is employed.") docsIfCmtsModByteInterleaverDepth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 14), Unsigned32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModByteInterleaverDepth.setDescription("ATDMA Byte Interleaver Depth (Ir). This object returns 1\nfor non-ATDMA profiles.") docsIfCmtsModByteInterleaverBlockSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 15), Unsigned32().clone(18)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModByteInterleaverBlockSize.setDescription("ATDMA Byte Interleaver Block size (Br). This object\nreturns zero for non-ATDMA profiles ") docsIfCmtsModPreambleType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(0,1,2,)).subtype(namedValues=NamedValues(("unknown", 0), ("qpsk0", 1), ("qpsk1", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModPreambleType.setDescription("Preamble type for DOCSIS 2.0 bursts. The value\n'unknown(0)' represents a row entry consisting only of\nDOCSIS 1.x bursts") docsIfCmtsModTcmErrorCorrectionOn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 17), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModTcmErrorCorrectionOn.setDescription("Trellis Code Modulation (TCM) On/Off. This value returns\nfalse for non-S-CDMA profiles.") docsIfCmtsModScdmaInterleaverStepSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 18), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModScdmaInterleaverStepSize.setDescription(" S-CDMA Interleaver step size. This value returns zero\nfor non-S-CDMA profiles.") docsIfCmtsModScdmaSpreaderEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 19), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModScdmaSpreaderEnable.setDescription(" S-CDMA spreader. This value returns false for non-S-CDMA\nprofiles. Default value for IUC 3 and 4 is OFF; for\nall other IUCs it is ON.") docsIfCmtsModScdmaSubframeCodes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 20), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 128)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModScdmaSubframeCodes.setDescription(" S-CDMA sub-frame size. This value returns zero\nfor non-S-CDMA profiles.") docsIfCmtsModChannelType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 21), DocsisUpstreamType().clone('tdma')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsIfCmtsModChannelType.setDescription("Describes the modulation channel type for this modulation\nentry.\nAll the active entries in a modulation profile (that is all\nactive entries that share a common docsIfCmtsModIndex)\nMUST have the same value of docsIfCmtsModChannelType.") docsIfCmtsModStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 5, 1, 22), StorageType().clone('nonVolatile')).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsModStorageType.setDescription("The storage type for this conceptual row.\nEntries with this object set to permanent(4)\ndo not require write operations for read-write\nobjects.") docsIfCmtsQosProfilePermissions = MibScalar((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 6), Bits().subtype(namedValues=NamedValues(("createByManagement", 0), ("updateByManagement", 1), ("createByModems", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsIfCmtsQosProfilePermissions.setDescription("This object specifies permitted methods of creating\nentries in docsIfQosProfileTable.\ncreateByManagement(0) is set if entries can be created\nusing SNMP. updateByManagement(1) is set if updating\nentries using SNMP is permitted. createByModems(2)\nis set if entries can be created based on information\nin REG-REQ MAC messages received from cable modems.\nInformation in this object is only applicable if\ndocsIfQosProfileTable is implemented as read-create.\nOtherwise, this object is implemented as read-only\nand returns createByModems(2).\nEither createByManagement(0) or updateByManagement(1)\nMUST be set when writing to this object.\nNote that BITS objects are encoded most significant bit\nfirst. For example, if bit 2 is set, the value of this\nobject is the octet string '20'H.") docsIfCmtsMacToCmTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 7)) if mibBuilder.loadTexts: docsIfCmtsMacToCmTable.setDescription("This is a table to provide a quick access index into the\ndocsIfCmtsCmStatusTable. There is exactly one row in this\ntable for each row in the docsIfCmtsCmStatusTable. In\ngeneral, the management station SHOULD use this table only\nto get a pointer into the docsIfCmtsCmStatusTable (which\ncorresponds to the CM's RF interface MAC address) and\nSHOULD not iterate (e.g., GetNext through) this table.") docsIfCmtsMacToCmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 7, 1)).setIndexNames((0, "DOCS-IF-MIB", "docsIfCmtsCmMac")) if mibBuilder.loadTexts: docsIfCmtsMacToCmEntry.setDescription("A row in the docsIfCmtsMacToCmTable.\nAn entry in this table exists for each cable modem\nthat is connected to the CMTS implementing this table.") docsIfCmtsCmMac = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 7, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmtsCmMac.setDescription("The RF side MAC address for the referenced CM (e.g., the\ninterface on the CM that has docsCableMacLayer(127) as\nits ifType).") docsIfCmtsCmPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsCmPtr.setDescription("An row index into docsIfCmtsCmStatusTable. When queried\nwith the correct instance value (e.g., a CM's MAC address),\nreturns the index in docsIfCmtsCmStatusTable that\nrepresents that CM.") docsIfCmtsChannelUtilizationInterval = MibScalar((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: docsIfCmtsChannelUtilizationInterval.setDescription("The time interval in seconds over which the channel\nutilization index is calculated. All upstream/downstream\nchannels use the same\ndocsIfCmtsChannelUtilizationInterval.\n\n\n\nSetting a value of zero disables utilization reporting.\nA channel utilization index is calculated over a fixed\nwindow applying to the most recent\ndocsIfCmtsChannelUtilizationInterval. It would therefore\nbe prudent to use a relatively short\ndocsIfCmtsChannelUtilizationInterval.\nIt is a vendor decision whether to reset the timer when\ndocsIfCmtsChannelUtilizationInterval is changed during a\nutilization sampling period.") docsIfCmtsChannelUtilizationTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 9)) if mibBuilder.loadTexts: docsIfCmtsChannelUtilizationTable.setDescription("Reports utilization statistics for attached upstream and\ndownstream physical channels.") docsIfCmtsChannelUtilizationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IF-MIB", "docsIfCmtsChannelUtIfType"), (0, "DOCS-IF-MIB", "docsIfCmtsChannelUtId")) if mibBuilder.loadTexts: docsIfCmtsChannelUtilizationEntry.setDescription("Utilization statistics for a single upstream or downstream\nphysical channel. An entry exists in this table for each\nifEntry with an ifType equal to\ndocsCableDownstream (128)\nor docsCableUpstream (129).") docsIfCmtsChannelUtIfType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 9, 1, 1), IANAifType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmtsChannelUtIfType.setDescription("The secondary index into this table. Indicates the IANA\ninterface type associated with this physical channel.\nOnly docsCableDownstream (128) and\n\n\n\ndocsCableUpstream (129) are valid.") docsIfCmtsChannelUtId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsIfCmtsChannelUtId.setDescription("The tertiary index into this table. Indicates the CMTS\nidentifier for this physical channel.") docsIfCmtsChannelUtUtilization = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 9, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsChannelUtUtilization.setDescription("The calculated and truncated utilization index for this\nphysical upstream or downstream channel, accurate as of\nthe most recent docsIfCmtsChannelUtilizationInterval.\n\nUpstream Channel Utilization Index:\n\nThe upstream channel utilization index is expressed as a\npercentage of mini-slots utilized on the physical channel,\nregardless of burst type. For an Initial Maintenance\nregion, the mini-slots for the complete region are\nconsidered utilized if the CMTS received an upstream\nburst within the region from any CM on the physical\nchannel. For contention REQ and REQ/DATA regions, the\nmini-slots for a transmission opportunity within the\nregion are considered utilized if the CMTS received an\nupstream burst within the opportunity from any CM on the\nphysical channel. For all other regions, utilized\nmini-slots are those in which the CMTS granted\nbandwidth to any unicast SID on the physical channel.\n\nFor an upstream interface that has multiple logical\nupstream channels enabled, the utilization index is a\nweighted sum of utilization indices for the logical\nchannels. The weight for each utilization index is the\npercentage of upstream mini-slots allocated for the\ncorresponding logical channel.\nExample:\nIf 75% of bandwidth is allocated to the first logical\nchannel and 25% to the second, and the utilization\nindices for each are 60 and 40, respectively, the\n\n\n\nutilization index for the upstream physical channel is\n(60 * 0.75) + (40 * 0.25) = 55. This figure\napplies to the most recent utilization interval.\n\nDownstream Channel Utilization Index:\n\nThe downstream channel utilization index is a percentage\nexpressing the ratio between bytes used to transmit data\nversus the total number of bytes transmitted in the raw\nbandwidth of the MPEG channel. As with the upstream\nutilization index, the calculated value represents\nthe most recent utilization interval.\nFormula:\nDownstream utilization index =\n(100 * (data bytes / raw bytes))\n\nDefinitions:\nData bytes: Number of bytes transmitted as data in the\n docsIfCmtsChannelUtilizationInterval.\n Identical to docsIfCmtsDownChannelCtrUsed\n Bytes measured over the utilization\n interval.\nRaw bandwidth: Total number of bytes available for\n transmitting data, not including bytes\n used for headers and other overhead.\nRaw bytes: (raw bandwidth *\n docsIfCmtsChannelUtilizationInterval).\n Identical to docsIfCmtsDownChannelCtrTotal\n Bytes measured over the utilization\n interval.") docsIfCmtsDownChannelCounterTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 10)) if mibBuilder.loadTexts: docsIfCmtsDownChannelCounterTable.setDescription("This table is implemented at the CMTS to collect\ndownstream channel statistics for utilization\n\n\n\ncalculations.") docsIfCmtsDownChannelCounterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 10, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfCmtsDownChannelCounterEntry.setDescription("An entry provides a list of traffic counters for a single\ndownstream channel.\nAn entry in this table exists for each ifEntry with an\nifType of docsCableDownstream(128).") docsIfCmtsDownChnlCtrId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsDownChnlCtrId.setDescription("The Cable Modem Termination System identification\nof the downstream channel within this particular MAC\ninterface. If the interface is down, the object returns\nthe most current value. If the downstream channel ID is\nunknown, this object returns a value of 0.") docsIfCmtsDownChnlCtrTotalBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 10, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsDownChnlCtrTotalBytes.setDescription("At the CMTS, the total number of bytes in the Payload\nportion of MPEG Packets (i.e., not including MPEG header\nor pointer_field) transported by this downstream channel.\nThis is the 32-bit version of\ndocsIfCmtsDownChnlCtrExtTotalBytes, included to provide\nback compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\n\n\n\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsDownChnlCtrUsedBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 10, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsDownChnlCtrUsedBytes.setDescription("At the CMTS, the total number of DOCSIS data bytes\ntransported by this downstream channel.\nThe number of data bytes is defined as the total number\nof bytes transported in DOCSIS payloads minus the number\nof stuff bytes transported in DOCSIS payloads.\nThis is the 32-bit version of\ndocsIfCmtsDownChnlCtrExtUsedBytes, included to provide\nback compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsDownChnlCtrExtTotalBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 10, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsDownChnlCtrExtTotalBytes.setDescription("At the CMTS, the total number of bytes in the Payload\nportion of MPEG Packets (i.e., not including MPEG header\nor pointer_field) transported by this downstream\nchannel.\nThis is the 64-bit version of\ndocsIfCmtsDownChnlCtrTotalBytes and will not be\naccessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsDownChnlCtrExtUsedBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 10, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsDownChnlCtrExtUsedBytes.setDescription("At the CMTS, the total number of DOCSIS data bytes\ntransported by this downstream channel. The number\nof data bytes is defined as the total number of bytes\ntransported in DOCSIS payloads minus the number of\nstuff bytes transported in DOCSIS payloads.\nThis is the 64-bit version of\ndocsIfCmtsDownChnlCtrUsedBytes and will not be accessible\nto SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChannelCounterTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11)) if mibBuilder.loadTexts: docsIfCmtsUpChannelCounterTable.setDescription("This table is implemented at the CMTS to provide upstream\nchannel statistics appropriate for channel utilization\ncalculations.") docsIfCmtsUpChannelCounterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsIfCmtsUpChannelCounterEntry.setDescription("List of traffic statistics for a single upstream channel.\nFor DOCSIS 2.0 CMTSs, an entry in this table\nexists for each ifEntry with an ifType of\ndocsCableUpstreamChannel (205).\n\n\n\nFor DOCSIS 1.x CMTSs, an entry in this table\nexists for each ifEntry with an ifType of\ndocsCableUpstream (129).") docsIfCmtsUpChnlCtrId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrId.setDescription("The CMTS identification of the upstream channel.") docsIfCmtsUpChnlCtrTotalMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrTotalMslots.setDescription("Current count, from CMTS initialization, of all mini-slots\ndefined for this upstream logical channel. This count\nincludes all IUCs and SIDs, even those allocated to the\nNULL SID for a 2.0 logical channel that is inactive. This\nis the 32-bit version of docsIfCmtsUpChnlCtrExtTotalMslots\nand is included for back compatibility with SNMPv1\nmanagers. Support for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrUcastGrantedMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrUcastGrantedMslots.setDescription("Current count, from CMTS initialization, of unicast\ngranted mini-slots on the upstream logical channel,\nregardless of burst type. Unicast granted mini-slots are\nthose in which the CMTS assigned bandwidth to any unicast\nSID on the logical channel. However, this object does not\ninclude minis-lots for reserved IUCs, or grants to SIDs\ndesignated as meaning 'no CM'. This is the 32-bit version\nof docsIfCmtsUpChnlCtrExtUcastGrantedMslots, and is\nincluded for back compatibility with SNMPv1 managers.\nSupport for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrTotalCntnMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrTotalCntnMslots.setDescription("Current count, from CMTS initialization, of contention\nmini-slots defined for this upstream logical channel. This\ncount includes all mini-slots assigned to a broadcast or\n\n\n\nmulticast SID on the logical channel. This is the 32-bit\nversion of docsIfCmtsUpChnlCtrExtTotalCntnMslots, and is\nincluded for back compatibility with SNMPv1 managers.\nSupport for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrUsedCntnMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrUsedCntnMslots.setDescription("Current count, from CMTS initialization, of contention\nmini-slots utilized on the upstream logical channel. For\ncontention regions, utilized mini-slots are those in which\nthe CMTS correctly received an upstream burst from any CM\non the upstream logical channel. This is the 32-bit\nversion of docsIfCmtsUpChnlCtrExtUsedCntnMslots and is\nincluded for back compatibility with SNMPv1 managers.\nSupport for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtTotalMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtTotalMslots.setDescription("Current count, from CMTS initialization, of all mini-slots\ndefined for this upstream logical channel. This count\nincludes all IUCs and SIDs, even those allocated to the\nNULL SID for a 2.0 logical channel that is inactive. This\nis the 64-bit version of docsIfCmtsUpChnlCtrTotalMslots\nand will not be accessible to SNMPv1 managers.\nSupport for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtUcastGrantedMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtUcastGrantedMslots.setDescription("Current count, from CMTS initialization, of unicast\ngranted mini-slots on the upstream logical channel,\nregardless of burst type. Unicast granted mini-slots are\nthose in which the CMTS assigned bandwidth to any unicast\nSID on the logical channel. However, this object does not\ninclude mini-slots for reserved IUCs, or grants to SIDs\ndesignated as meaning 'no CM'. This is the 64-bit version\nof docsIfCmtsUpChnlCtrUcastGrantedMslots and will not be\naccessible to SNMPv1 managers.\nSupport for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtTotalCntnMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtTotalCntnMslots.setDescription("Current count, from CMTS initialization, of contention\nmini-slots defined for this upstream logical channel. This\ncount includes all mini-slots assigned to a broadcast or\nmulticast SID on the logical channel. This is the 64-bit\nversion of docsIfCmtsUpChnlCtrTotalCntnMslots and will\nnot be accessible to SNMPv1 managers.\nSupport for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtUsedCntnMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtUsedCntnMslots.setDescription("Current count, from CMTS initialization, of contention\n\n\n\nmini-slots utilized on the upstream logical channel. For\ncontention regions, utilized mini-slots are those in which\nthe CMTS correctly received an upstream burst from any CM\non the upstream logical channel. This is the 64-bit\nversion of docsIfCmtsUpChnlCtrUsedCntnMslots and will not\nbe accessible to SNMPv1 managers.\nSupport for this object is mandatory.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrCollCntnMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrCollCntnMslots.setDescription("Current count, from CMTS initialization, of contention\nmini-slots subjected to collisions on the upstream logical\nchannel. For contention regions, these are the mini-slots\napplicable to bursts that the CMTS detected but could not\ncorrectly receive. This is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtCollCntnMslots and is included for\nback compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrTotalCntnReqMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrTotalCntnReqMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest mini-slots defined for this upstream logical\nchannel. This count includes all mini-slots for IUC1\nassigned to a broadcast or multicast SID on the logical\nchannel. This is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtTotalCntnReqMslots and is included\nfor back compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\n\n\n\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrUsedCntnReqMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrUsedCntnReqMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest mini-slots utilized on this upstream logical\nchannel. This count includes all contention mini-slots for\nIUC1 applicable to bursts that the CMTS correctly\nreceived. This is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtUsedCntnReqMslots and is included\nfor back compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrCollCntnReqMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrCollCntnReqMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest mini-slots subjected to collisions on this upstream\nlogical channel. This includes all contention mini-slots\nfor IUC1 applicable to bursts that the CMTS detected but\ncould not correctly receive. This is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtCollCntnReqMslots and is included\nfor back compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrTotalCntnReqDataMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrTotalCntnReqDataMslots.setDescription("Current count, from CMTS initialization, of contention\n\n\n\nrequest data mini-slots defined for this upstream logical\nchannel. This count includes all mini-slots for IUC2\nassigned to a broadcast or multicast SID on the logical\nchannel. This is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtTotalCntnReqDataMslots and is\nincluded for back compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrUsedCntnReqDataMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrUsedCntnReqDataMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest data mini-slots utilized on this upstream logical\nchannel. This includes all contention mini-slots for IUC2\napplicable to bursts that the CMTS correctly received.\nThis is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtUsedCntnReqDataMslots and is\nincluded for back compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrCollCntnReqDataMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrCollCntnReqDataMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest data mini-slots subjected to collisions on this\nupstream logical channel. This includes all contention\nmini-slots for IUC2 applicable to bursts that the CMTS\ndetected, but could not correctly receive. This is the\n32-bit version of\ndocsIfCmtsUpChnlCtrExtCollCntnReqDataMslots and is\nincluded for back compatibility with SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\n\n\n\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrTotalCntnInitMaintMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrTotalCntnInitMaintMslots.setDescription("Current count, from CMTS initialization, of contention\ninitial maintenance mini-slots defined for this upstream\nlogical channel. This includes all mini-slots for IUC3\nassigned to a broadcast or multicast SID on the logical\nchannel. This is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtTotalCntnInitMaintMslots\nand is included for back compatibility with SNMPv1\nmanagers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrUsedCntnInitMaintMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrUsedCntnInitMaintMslots.setDescription("Current count, from CMTS initialization, of contention\ninitial maintenance mini-slots utilized on this upstream\nlogical channel. This includes all contention mini-slots\nfor IUC3 applicable to bursts that the CMTS correctly\nreceived. This is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtUsedCntnInitMaintMslots\nand is included for back compatibility with SNMPv1\nmanagers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrCollCntnInitMaintMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrCollCntnInitMaintMslots.setDescription("Current count, from CMTS initialization, of contention\ninitial maintenance mini-slots subjected to collisions on\nthis upstream logical channel. This includes all\ncontention mini-slots for IUC3 applicable to bursts that\nthe CMTS detected, but could not correctly receive.\nThis is the 32-bit version of\ndocsIfCmtsUpChnlCtrExtCollCntnInitMaintMslots\nand is included for back compatibility with SNMPv1\nmanagers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtCollCntnMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtCollCntnMslots.setDescription("Current count, from CMTS initialization, of collision\ncontention mini-slots on the upstream logical channel.\nFor contention regions, these are the mini-slots applicable\nto bursts that the CMTS detected, but could not correctly\nreceive. This is the 64-bit version of\ndocsIfCmtsUpChnlCtrCollCntnMslots and will not be\naccessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtTotalCntnReqMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtTotalCntnReqMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest mini-slots defined for this upstream logical\nchannel. This count includes all mini-slots for IUC1\nassigned to a broadcast or multicast SID on the logical\nchannel. This is the 64-bit version of\ndocsIfCmtsUpChnlCtrTotalCntnReqMslots and will not be\naccessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\n\n\n\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtUsedCntnReqMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtUsedCntnReqMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest mini-slots utilized on this upstream logical\nchannel. This count includes all contention mini-slots for\nIUC1 applicable to bursts that the CMTS correctly\nreceived. This is the 64-bit version of\ndocsIfCmtsUpChnlCtrUsedCntnReqMslots and will not be\naccessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtCollCntnReqMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtCollCntnReqMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest mini-slots subjected to collisions on this upstream\nlogical channel. This includes all contention mini-slots\nfor IUC1 applicable to bursts that the CMTS detected,\nbut could not correctly receive. This is the 64-bit\nversion of docsIfCmtsUpChnlCtrCollCntnReqMslots and will\nnot be accessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtTotalCntnReqDataMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtTotalCntnReqDataMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest data mini-slots defined for this upstream logical\nchannel. This count includes all mini-slots for IUC2\nassigned to a broadcast or multicast SID on the logical\nchannel. This is the 64-bit version of\ndocsIfCmtsUpChnlCtrTotalCntnReqDataMslots and will not be\naccessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtUsedCntnReqDataMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtUsedCntnReqDataMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest data mini-slots utilized on this upstream logical\nchannel. This includes all contention mini-slots for IUC2\napplicable to bursts that the CMTS correctly received.\nThis is the 64-bit version of\ndocsIfCmtsUpChnlCtrUsedCntnReqDataMslots and will not be\naccessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtCollCntnReqDataMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtCollCntnReqDataMslots.setDescription("Current count, from CMTS initialization, of contention\nrequest data mini-slots subjected to collisions on this\nupstream logical channel. This includes all contention\nmini-slots for IUC2 applicable to bursts that the CMTS\ndetected, but could not correctly receive. This is the\n64-bit version of\ndocsIfCmtsUpChnlCtrCollCntnReqDataMslots\nand will not be accessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\n\n\n\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtTotalCntnInitMaintMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtTotalCntnInitMaintMslots.setDescription("Current count, from CMTS initialization, of initial\nmaintenance mini-slots defined for this upstream logical\nchannel. This count includes all mini-slots for IUC3\nassigned to a broadcast or multicast SID on the logical\nchannel. This is the 64-bit version of\ndocsIfCmtsUpChnlCtrTotalCntnInitMaintMslots\nand will not be accessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtUsedCntnInitMaintMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 28), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtUsedCntnInitMaintMslots.setDescription("Current count, from CMTS initialization, of initial\nmaintenance mini-slots utilized on this upstream logical\nchannel. This includes all contention mini-slots for IUC3\napplicable to bursts that the CMTS correctly received.\nThis is the 64-bit version of\ndocsIfCmtsUpChnlCtrUsedCntnInitMaintMslots\nand will not be accessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfCmtsUpChnlCtrExtCollCntnInitMaintMslots = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 1, 3, 11, 1, 29), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsIfCmtsUpChnlCtrExtCollCntnInitMaintMslots.setDescription("Current count, from CMTS initialization, of contention\ninitial maintenance mini-slots subjected to collisions on\nthis upstream logical channel. This includes all\ncontention mini-slots for IUC3 applicable to bursts that\nthe CMTS detected, but could not correctly receive.\nThis is the 64-bit version of\ndocsIfCmtsUpChnlCtrCollCntnInitMaintMslots and will not\nbe accessible to SNMPv1 managers.\nDiscontinuities in the value of this counter can occur\nat reinitialization of the managed system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime for the associated ifIndex.") docsIfNotification = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 2)) docsIfConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 3)) docsIfCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 3, 1)) docsIfGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 3, 2)) # Augmentions # Groups docsIfBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 3, 2, 1)).setObjects(*(("DOCS-IF-MIB", "docsIfQosProfStatus"), ("DOCS-IF-MIB", "docsIfSigQSignalNoise"), ("DOCS-IF-MIB", "docsIfUpChannelSlotSize"), ("DOCS-IF-MIB", "docsIfQosProfPriority"), ("DOCS-IF-MIB", "docsIfQosProfMaxUpBandwidth"), ("DOCS-IF-MIB", "docsIfDownChannelWidth"), ("DOCS-IF-MIB", "docsIfDownChannelFrequency"), ("DOCS-IF-MIB", "docsIfUpChannelTxBackoffStart"), ("DOCS-IF-MIB", "docsIfUpChannelTxTimingOffset"), ("DOCS-IF-MIB", "docsIfQosProfMaxTxBurst"), ("DOCS-IF-MIB", "docsIfSigQEqualizationData"), ("DOCS-IF-MIB", "docsIfUpChannelWidth"), ("DOCS-IF-MIB", "docsIfUpChannelModulationProfile"), ("DOCS-IF-MIB", "docsIfUpChannelRangingBackoffStart"), ("DOCS-IF-MIB", "docsIfUpChannelId"), ("DOCS-IF-MIB", "docsIfSigQUnerroreds"), ("DOCS-IF-MIB", "docsIfQosProfMaxDownBandwidth"), ("DOCS-IF-MIB", "docsIfQosProfGuarUpBandwidth"), ("DOCS-IF-MIB", "docsIfSigQMicroreflections"), ("DOCS-IF-MIB", "docsIfUpChannelFrequency"), ("DOCS-IF-MIB", "docsIfQosProfBaselinePrivacy"), ("DOCS-IF-MIB", "docsIfUpChannelTxBackoffEnd"), ("DOCS-IF-MIB", "docsIfDownChannelInterleave"), ("DOCS-IF-MIB", "docsIfSigQIncludesContention"), ("DOCS-IF-MIB", "docsIfDownChannelPower"), ("DOCS-IF-MIB", "docsIfSigQUncorrectables"), ("DOCS-IF-MIB", "docsIfDownChannelModulation"), ("DOCS-IF-MIB", "docsIfSigQCorrecteds"), ("DOCS-IF-MIB", "docsIfDownChannelId"), ("DOCS-IF-MIB", "docsIfUpChannelRangingBackoffEnd"), ) ) if mibBuilder.loadTexts: docsIfBasicGroup.setDescription("Group of objects implemented in both cable modems and\ncable modem termination systems.") docsIfCmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 3, 2, 2)).setObjects(*(("DOCS-IF-MIB", "docsIfCmServiceTxRetries"), ("DOCS-IF-MIB", "docsIfCmServiceTxSlotsImmed"), ("DOCS-IF-MIB", "docsIfCmStatusT3Timeouts"), ("DOCS-IF-MIB", "docsIfCmStatusT1Timeouts"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidUcds"), ("DOCS-IF-MIB", "docsIfCmStatusValue"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidRangingResponses"), ("DOCS-IF-MIB", "docsIfCmStatusRangingAborteds"), ("DOCS-IF-MIB", "docsIfCmCapabilities"), ("DOCS-IF-MIB", "docsIfCmStatusCode"), ("DOCS-IF-MIB", "docsIfCmServiceRqRetries"), ("DOCS-IF-MIB", "docsIfCmServiceTxExceededs"), ("DOCS-IF-MIB", "docsIfCmServiceRqExceededs"), ("DOCS-IF-MIB", "docsIfCmStatusT4Timeouts"), ("DOCS-IF-MIB", "docsIfCmStatusResets"), ("DOCS-IF-MIB", "docsIfCmStatusLostSyncs"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-IF-MIB", "docsIfCmServiceQosProfile"), ("DOCS-IF-MIB", "docsIfCmRangingTimeout"), ("DOCS-IF-MIB", "docsIfCmStatusTxPower"), ("DOCS-IF-MIB", "docsIfCmStatusT2Timeouts"), ("DOCS-IF-MIB", "docsIfCmServiceTxSlotsDed"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidMaps"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidRegistrationResponses"), ) ) if mibBuilder.loadTexts: docsIfCmGroup.setDescription("Group of objects implemented in cable modems.") docsIfCmtsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 3, 2, 3)).setObjects(*(("DOCS-IF-MIB", "docsIfCmtsStatusInvalidRegReqs"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusRxPower"), ("DOCS-IF-MIB", "docsIfCmtsServiceInPackets"), ("DOCS-IF-MIB", "docsIfCmtsSyncInterval"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusTimingOffset"), ("DOCS-IF-MIB", "docsIfCmtsServiceQosProfile"), ("DOCS-IF-MIB", "docsIfCmtsStatusFailedRegReqs"), ("DOCS-IF-MIB", "docsIfCmtsCapabilities"), ("DOCS-IF-MIB", "docsIfCmtsModScramblerSeed"), ("DOCS-IF-MIB", "docsIfCmtsModScrambler"), ("DOCS-IF-MIB", "docsIfCmtsServiceAdminStatus"), ("DOCS-IF-MIB", "docsIfCmtsModDifferentialEncoding"), ("DOCS-IF-MIB", "docsIfCmtsModPreambleLen"), ("DOCS-IF-MIB", "docsIfCmtsMaxServiceIds"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusUpChannelIfIndex"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusUnerroreds"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusUncorrectables"), ("DOCS-IF-MIB", "docsIfCmtsServiceCmStatusIndex"), ("DOCS-IF-MIB", "docsIfCmtsStatusT5Timeouts"), ("DOCS-IF-MIB", "docsIfCmtsServiceCreateTime"), ("DOCS-IF-MIB", "docsIfCmtsStatusInvalidDataReqs"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusValue"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsModFECErrorCorrection"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusSignalNoise"), ("DOCS-IF-MIB", "docsIfCmtsModControl"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusEqualizationData"), ("DOCS-IF-MIB", "docsIfCmtsModType"), ("DOCS-IF-MIB", "docsIfCmtsStatusInvalidRangeReqs"), ("DOCS-IF-MIB", "docsIfCmtsModFECCodewordLength"), ("DOCS-IF-MIB", "docsIfCmtsModGuardTimeSize"), ("DOCS-IF-MIB", "docsIfCmtsCmPtr"), ("DOCS-IF-MIB", "docsIfCmtsModLastCodewordShortened"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDownChannelIfIndex"), ("DOCS-IF-MIB", "docsIfCmtsInvitedRangingAttempts"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusCorrecteds"), ("DOCS-IF-MIB", "docsIfCmtsServiceInOctets"), ("DOCS-IF-MIB", "docsIfCmtsUcdInterval"), ("DOCS-IF-MIB", "docsIfCmtsStatusRangingAborteds"), ("DOCS-IF-MIB", "docsIfCmtsQosProfilePermissions"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusIpAddress"), ("DOCS-IF-MIB", "docsIfCmtsModMaxBurstSize"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMicroreflections"), ("DOCS-IF-MIB", "docsIfCmtsInsertInterval"), ) ) if mibBuilder.loadTexts: docsIfCmtsGroup.setDescription("Group of objects implemented in Cable Modem Termination\nSystems.") docsIfObsoleteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 3, 2, 4)).setObjects(*(("DOCS-IF-MIB", "docsIfCmtsInsertionInterval"), ("DOCS-IF-MIB", "docsIfCmRangingRespTimeout"), ) ) if mibBuilder.loadTexts: docsIfObsoleteGroup.setDescription("Group of objects obsoleted.") docsIfBasicGroupV2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 3, 2, 5)).setObjects(*(("DOCS-IF-MIB", "docsIfQosProfStatus"), ("DOCS-IF-MIB", "docsIfQosProfMaxUpBandwidth"), ("DOCS-IF-MIB", "docsIfUpChannelTxBackoffStart"), ("DOCS-IF-MIB", "docsIfSigQExtUncorrectables"), ("DOCS-IF-MIB", "docsIfUpChannelWidth"), ("DOCS-IF-MIB", "docsIfUpChannelModulationProfile"), ("DOCS-IF-MIB", "docsIfUpChannelType"), ("DOCS-IF-MIB", "docsIfUpChannelRangingBackoffStart"), ("DOCS-IF-MIB", "docsIfUpChannelId"), ("DOCS-IF-MIB", "docsIfQosProfMaxDownBandwidth"), ("DOCS-IF-MIB", "docsIfQosProfBaselinePrivacy"), ("DOCS-IF-MIB", "docsIfUpChannelScdmaCodesPerSlot"), ("DOCS-IF-MIB", "docsIfSigQIncludesContention"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-IF-MIB", "docsIfUpChannelStatus"), ("DOCS-IF-MIB", "docsIfDownChannelModulation"), ("DOCS-IF-MIB", "docsIfUpChannelUpdate"), ("DOCS-IF-MIB", "docsIfSigQCorrecteds"), ("DOCS-IF-MIB", "docsIfDownChannelId"), ("DOCS-IF-MIB", "docsIfUpChannelScdmaHoppingSeed"), ("DOCS-IF-MIB", "docsIfUpChannelCloneFrom"), ("DOCS-IF-MIB", "docsIfSigQSignalNoise"), ("DOCS-IF-MIB", "docsIfUpChannelSlotSize"), ("DOCS-IF-MIB", "docsIfQosProfPriority"), ("DOCS-IF-MIB", "docsIfDownChannelWidth"), ("DOCS-IF-MIB", "docsIfDownChannelFrequency"), ("DOCS-IF-MIB", "docsIfQosProfMaxTransmitBurst"), ("DOCS-IF-MIB", "docsIfUpChannelPreEqEnable"), ("DOCS-IF-MIB", "docsIfUpChannelScdmaActiveCodes"), ("DOCS-IF-MIB", "docsIfUpChannelTxTimingOffset"), ("DOCS-IF-MIB", "docsIfDownChannelAnnex"), ("DOCS-IF-MIB", "docsIfSigQExtCorrecteds"), ("DOCS-IF-MIB", "docsIfQosProfGuarUpBandwidth"), ("DOCS-IF-MIB", "docsIfUpChannelScdmaFrameSize"), ("DOCS-IF-MIB", "docsIfSigQMicroreflections"), ("DOCS-IF-MIB", "docsIfUpChannelFrequency"), ("DOCS-IF-MIB", "docsIfSigQUnerroreds"), ("DOCS-IF-MIB", "docsIfUpChannelTxBackoffEnd"), ("DOCS-IF-MIB", "docsIfDownChannelInterleave"), ("DOCS-IF-MIB", "docsIfDownChannelPower"), ("DOCS-IF-MIB", "docsIfSigQUncorrectables"), ("DOCS-IF-MIB", "docsIfSigQExtUnerroreds"), ("DOCS-IF-MIB", "docsIfUpChannelRangingBackoffEnd"), ) ) if mibBuilder.loadTexts: docsIfBasicGroupV2.setDescription("Group of objects implemented in both cable modems and\ncable modem termination systems.") docsIfCmGroupV2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 3, 2, 6)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfCmServiceTxRetries"), ("DOCS-IF-MIB", "docsIfCmStatusT4Timeouts"), ("DOCS-IF-MIB", "docsIfCmStatusResets"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidMaps"), ("DOCS-IF-MIB", "docsIfCmServiceExtTxSlotsDed"), ("DOCS-IF-MIB", "docsIfCmStatusUCCFails"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-IF-MIB", "docsIfCmStatusRangingAborteds"), ("DOCS-IF-MIB", "docsIfCmServiceRqRetries"), ("DOCS-IF-MIB", "docsIfCmServiceQosProfile"), ("DOCS-IF-MIB", "docsIfCmStatusT1Timeouts"), ("DOCS-IF-MIB", "docsIfCmStatusEqualizationData"), ("DOCS-IF-MIB", "docsIfCmRangingTimeout"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidUcds"), ("DOCS-IF-MIB", "docsIfCmStatusValue"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidRangingResponses"), ("DOCS-IF-MIB", "docsIfCmServiceExtTxSlotsImmed"), ("DOCS-IF-MIB", "docsIfCmStatusTxPower"), ("DOCS-IF-MIB", "docsIfCmStatusUCCs"), ("DOCS-IF-MIB", "docsIfSigQEqualizationData"), ("DOCS-IF-MIB", "docsIfCmStatusT3Timeouts"), ("DOCS-IF-MIB", "docsIfCmCapabilities"), ("DOCS-IF-MIB", "docsIfCmStatusCode"), ("DOCS-IF-MIB", "docsIfCmStatusT2Timeouts"), ("DOCS-IF-MIB", "docsIfCmServiceTxSlotsDed"), ("DOCS-IF-MIB", "docsIfCmStatusLostSyncs"), ("DOCS-IF-MIB", "docsIfCmServiceTxSlotsImmed"), ("DOCS-IF-MIB", "docsIfCmStatusInvalidRegistrationResponses"), ("DOCS-IF-MIB", "docsIfCmServiceTxExceededs"), ("DOCS-IF-MIB", "docsIfCmServiceRqExceededs"), ) ) if mibBuilder.loadTexts: docsIfCmGroupV2.setDescription("Group of objects implemented in cable modems.") docsIfCmtsGroupV2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 3, 2, 7)).setObjects(*(("DOCS-IF-MIB", "docsIfCmtsServiceNewCmStatusIndex"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusTimingOffset"), ("DOCS-IF-MIB", "docsIfCmtsChannelUtilizationInterval"), ("DOCS-IF-MIB", "docsIfCmtsModScramblerSeed"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtCollCntnMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtTotalMslots"), ("DOCS-IF-MIB", "docsIfCmtsServiceAdminStatus"), ("DOCS-IF-MIB", "docsIfCmtsModDifferentialEncoding"), ("DOCS-IF-MIB", "docsIfCmtsModPreambleType"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusUncorrectables"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrUsedCntnReqMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtCollCntnReqDataMslots"), ("DOCS-IF-MIB", "docsIfCmtsStatusInvalidDataReqs"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusValue"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrUsedCntnMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtUsedCntnInitMaintMslots"), ("DOCS-IF-MIB", "docsIfCmtsMacStorageType"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusEqualizationData"), ("DOCS-IF-MIB", "docsIfCmtsDownChnlCtrTotalBytes"), ("DOCS-IF-MIB", "docsIfCmtsModScdmaSpreaderEnable"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusExtUncorrectables"), ("DOCS-IF-MIB", "docsIfCmtsModType"), ("DOCS-IF-MIB", "docsIfCmtsModFECCodewordLength"), ("DOCS-IF-MIB", "docsIfCmtsModStorageType"), ("DOCS-IF-MIB", "docsIfCmtsModGuardTimeSize"), ("DOCS-IF-MIB", "docsIfCmtsCmPtr"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtCollCntnReqMslots"), ("DOCS-IF-MIB", "docsIfCmtsModLastCodewordShortened"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtTotalCntnMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrTotalMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrTotalCntnReqMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrCollCntnMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrUcastGrantedMslots"), ("DOCS-IF-MIB", "docsIfCmtsServiceCreateTime"), ("DOCS-IF-MIB", "docsIfCmtsModMaxBurstSize"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMicroreflections"), ("DOCS-IF-MIB", "docsIfCmtsModScdmaInterleaverStepSize"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusInetAddressType"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtUsedCntnReqDataMslots"), ("DOCS-IF-MIB", "docsIfCmtsDownChnlCtrExtTotalBytes"), ("DOCS-IF-MIB", "docsIfCmtsStatusInvalidRegReqs"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusExtCorrecteds"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusRxPower"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrTotalCntnInitMaintMslots"), ("DOCS-IF-MIB", "docsIfCmtsServiceInPackets"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrTotalCntnMslots"), ("DOCS-IF-MIB", "docsIfCmtsSyncInterval"), ("DOCS-IF-MIB", "docsIfCmtsServiceQosProfile"), ("DOCS-IF-MIB", "docsIfCmtsStatusFailedRegReqs"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtTotalCntnReqMslots"), ("DOCS-IF-MIB", "docsIfCmtsCapabilities"), ("DOCS-IF-MIB", "docsIfCmtsChannelUtUtilization"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusExtUnerroreds"), ("DOCS-IF-MIB", "docsIfCmtsDownChnlCtrId"), ("DOCS-IF-MIB", "docsIfCmtsModScrambler"), ("DOCS-IF-MIB", "docsIfCmtsModByteInterleaverBlockSize"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrCollCntnReqMslots"), ("DOCS-IF-MIB", "docsIfCmtsModPreambleLen"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusValueLastUpdate"), ("DOCS-IF-MIB", "docsIfCmtsMaxServiceIds"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusUpChannelIfIndex"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtUsedCntnReqMslots"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusUnerroreds"), ("DOCS-IF-MIB", "docsIfCmtsModByteInterleaverDepth"), ("DOCS-IF-MIB", "docsIfCmtsDownChnlCtrExtUsedBytes"), ("DOCS-IF-MIB", "docsIfCmtsModScdmaSubframeCodes"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtTotalCntnInitMaintMslots"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusInetAddress"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrUsedCntnReqDataMslots"), ("DOCS-IF-MIB", "docsIfQosProfStorageType"), ("DOCS-IF-MIB", "docsIfCmtsStatusT5Timeouts"), ("DOCS-IF-MIB", "docsIfCmtsQosProfilePermissions"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrUsedCntnInitMaintMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrTotalCntnReqDataMslots"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtTotalCntnReqDataMslots"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrId"), ("DOCS-IF-MIB", "docsIfCmtsModFECErrorCorrection"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusSignalNoise"), ("DOCS-IF-MIB", "docsIfCmtsDownChnlCtrUsedBytes"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtUsedCntnMslots"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtCollCntnInitMaintMslots"), ("DOCS-IF-MIB", "docsIfDownChannelStorageType"), ("DOCS-IF-MIB", "docsIfCmtsStatusInvalidRangeReqs"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrCollCntnReqDataMslots"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusHighResolutionTimingOffset"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDownChannelIfIndex"), ("DOCS-IF-MIB", "docsIfCmtsInvitedRangingAttempts"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusCorrecteds"), ("DOCS-IF-MIB", "docsIfCmtsServiceInOctets"), ("DOCS-IF-MIB", "docsIfCmtsUcdInterval"), ("DOCS-IF-MIB", "docsIfCmtsModTcmErrorCorrectionOn"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrCollCntnInitMaintMslots"), ("DOCS-IF-MIB", "docsIfCmtsStatusRangingAborteds"), ("DOCS-IF-MIB", "docsIfCmtsModControl"), ("DOCS-IF-MIB", "docsIfCmtsInsertInterval"), ("DOCS-IF-MIB", "docsIfCmtsUpChnlCtrExtUcastGrantedMslots"), ("DOCS-IF-MIB", "docsIfCmtsModChannelType"), ) ) if mibBuilder.loadTexts: docsIfCmtsGroupV2.setDescription("Group of objects implemented in Cable Modem Termination\nSystems.") # Compliances docsIfBasicCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 127, 3, 1, 1)).setObjects(*(("DOCS-IF-MIB", "docsIfCmtsGroup"), ("DOCS-IF-MIB", "docsIfCmGroup"), ("DOCS-IF-MIB", "docsIfBasicGroup"), ) ) if mibBuilder.loadTexts: docsIfBasicCompliance.setDescription("The compliance statement for devices that implement\nDOCSIS 1.x compliant Radio Frequency Interfaces.") docsIfBasicComplianceV2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 127, 3, 1, 2)).setObjects(*(("DOCS-IF-MIB", "docsIfBasicGroupV2"), ("DOCS-IF-MIB", "docsIfCmGroupV2"), ("DOCS-IF-MIB", "docsIfCmtsGroupV2"), ) ) if mibBuilder.loadTexts: docsIfBasicComplianceV2.setDescription("The compliance statement for devices that implement\nDOCSIS 2.0 Radio Frequency Interfaces.") # Exports # Module identity mibBuilder.exportSymbols("DOCS-IF-MIB", PYSNMP_MODULE_ID=docsIfMib) # Types mibBuilder.exportSymbols("DOCS-IF-MIB", DocsEqualizerData=DocsEqualizerData, DocsisQosVersion=DocsisQosVersion, DocsisUpstreamType=DocsisUpstreamType, DocsisVersion=DocsisVersion, TenthdB=TenthdB, TenthdBmV=TenthdBmV) # Objects mibBuilder.exportSymbols("DOCS-IF-MIB", docsIfMib=docsIfMib, docsIfMibObjects=docsIfMibObjects, docsIfBaseObjects=docsIfBaseObjects, docsIfDownstreamChannelTable=docsIfDownstreamChannelTable, docsIfDownstreamChannelEntry=docsIfDownstreamChannelEntry, docsIfDownChannelId=docsIfDownChannelId, docsIfDownChannelFrequency=docsIfDownChannelFrequency, docsIfDownChannelWidth=docsIfDownChannelWidth, docsIfDownChannelModulation=docsIfDownChannelModulation, docsIfDownChannelInterleave=docsIfDownChannelInterleave, docsIfDownChannelPower=docsIfDownChannelPower, docsIfDownChannelAnnex=docsIfDownChannelAnnex, docsIfDownChannelStorageType=docsIfDownChannelStorageType, docsIfUpstreamChannelTable=docsIfUpstreamChannelTable, docsIfUpstreamChannelEntry=docsIfUpstreamChannelEntry, docsIfUpChannelId=docsIfUpChannelId, docsIfUpChannelFrequency=docsIfUpChannelFrequency, docsIfUpChannelWidth=docsIfUpChannelWidth, docsIfUpChannelModulationProfile=docsIfUpChannelModulationProfile, docsIfUpChannelSlotSize=docsIfUpChannelSlotSize, docsIfUpChannelTxTimingOffset=docsIfUpChannelTxTimingOffset, docsIfUpChannelRangingBackoffStart=docsIfUpChannelRangingBackoffStart, docsIfUpChannelRangingBackoffEnd=docsIfUpChannelRangingBackoffEnd, docsIfUpChannelTxBackoffStart=docsIfUpChannelTxBackoffStart, docsIfUpChannelTxBackoffEnd=docsIfUpChannelTxBackoffEnd, docsIfUpChannelScdmaActiveCodes=docsIfUpChannelScdmaActiveCodes, docsIfUpChannelScdmaCodesPerSlot=docsIfUpChannelScdmaCodesPerSlot, docsIfUpChannelScdmaFrameSize=docsIfUpChannelScdmaFrameSize, docsIfUpChannelScdmaHoppingSeed=docsIfUpChannelScdmaHoppingSeed, docsIfUpChannelType=docsIfUpChannelType, docsIfUpChannelCloneFrom=docsIfUpChannelCloneFrom, docsIfUpChannelUpdate=docsIfUpChannelUpdate, docsIfUpChannelStatus=docsIfUpChannelStatus, docsIfUpChannelPreEqEnable=docsIfUpChannelPreEqEnable, docsIfQosProfileTable=docsIfQosProfileTable, docsIfQosProfileEntry=docsIfQosProfileEntry, docsIfQosProfIndex=docsIfQosProfIndex, docsIfQosProfPriority=docsIfQosProfPriority, docsIfQosProfMaxUpBandwidth=docsIfQosProfMaxUpBandwidth, docsIfQosProfGuarUpBandwidth=docsIfQosProfGuarUpBandwidth, docsIfQosProfMaxDownBandwidth=docsIfQosProfMaxDownBandwidth, docsIfQosProfMaxTxBurst=docsIfQosProfMaxTxBurst, docsIfQosProfBaselinePrivacy=docsIfQosProfBaselinePrivacy, docsIfQosProfStatus=docsIfQosProfStatus, docsIfQosProfMaxTransmitBurst=docsIfQosProfMaxTransmitBurst, docsIfQosProfStorageType=docsIfQosProfStorageType, docsIfSignalQualityTable=docsIfSignalQualityTable, docsIfSignalQualityEntry=docsIfSignalQualityEntry, docsIfSigQIncludesContention=docsIfSigQIncludesContention, docsIfSigQUnerroreds=docsIfSigQUnerroreds, docsIfSigQCorrecteds=docsIfSigQCorrecteds, docsIfSigQUncorrectables=docsIfSigQUncorrectables, docsIfSigQSignalNoise=docsIfSigQSignalNoise, docsIfSigQMicroreflections=docsIfSigQMicroreflections, docsIfSigQEqualizationData=docsIfSigQEqualizationData, docsIfSigQExtUnerroreds=docsIfSigQExtUnerroreds, docsIfSigQExtCorrecteds=docsIfSigQExtCorrecteds, docsIfSigQExtUncorrectables=docsIfSigQExtUncorrectables, docsIfDocsisBaseCapability=docsIfDocsisBaseCapability, docsIfCmObjects=docsIfCmObjects, docsIfCmMacTable=docsIfCmMacTable, docsIfCmMacEntry=docsIfCmMacEntry, docsIfCmCmtsAddress=docsIfCmCmtsAddress, docsIfCmCapabilities=docsIfCmCapabilities, docsIfCmRangingRespTimeout=docsIfCmRangingRespTimeout, docsIfCmRangingTimeout=docsIfCmRangingTimeout, docsIfCmStatusTable=docsIfCmStatusTable, docsIfCmStatusEntry=docsIfCmStatusEntry, docsIfCmStatusValue=docsIfCmStatusValue, docsIfCmStatusCode=docsIfCmStatusCode, docsIfCmStatusTxPower=docsIfCmStatusTxPower, docsIfCmStatusResets=docsIfCmStatusResets, docsIfCmStatusLostSyncs=docsIfCmStatusLostSyncs, docsIfCmStatusInvalidMaps=docsIfCmStatusInvalidMaps, docsIfCmStatusInvalidUcds=docsIfCmStatusInvalidUcds, docsIfCmStatusInvalidRangingResponses=docsIfCmStatusInvalidRangingResponses, docsIfCmStatusInvalidRegistrationResponses=docsIfCmStatusInvalidRegistrationResponses, docsIfCmStatusT1Timeouts=docsIfCmStatusT1Timeouts, docsIfCmStatusT2Timeouts=docsIfCmStatusT2Timeouts, docsIfCmStatusT3Timeouts=docsIfCmStatusT3Timeouts, docsIfCmStatusT4Timeouts=docsIfCmStatusT4Timeouts, docsIfCmStatusRangingAborteds=docsIfCmStatusRangingAborteds, docsIfCmStatusDocsisOperMode=docsIfCmStatusDocsisOperMode, docsIfCmStatusModulationType=docsIfCmStatusModulationType, docsIfCmStatusEqualizationData=docsIfCmStatusEqualizationData, docsIfCmStatusUCCs=docsIfCmStatusUCCs, docsIfCmStatusUCCFails=docsIfCmStatusUCCFails, docsIfCmServiceTable=docsIfCmServiceTable, docsIfCmServiceEntry=docsIfCmServiceEntry, docsIfCmServiceId=docsIfCmServiceId, docsIfCmServiceQosProfile=docsIfCmServiceQosProfile, docsIfCmServiceTxSlotsImmed=docsIfCmServiceTxSlotsImmed, docsIfCmServiceTxSlotsDed=docsIfCmServiceTxSlotsDed, docsIfCmServiceTxRetries=docsIfCmServiceTxRetries, docsIfCmServiceTxExceededs=docsIfCmServiceTxExceededs, docsIfCmServiceRqRetries=docsIfCmServiceRqRetries, docsIfCmServiceRqExceededs=docsIfCmServiceRqExceededs, docsIfCmServiceExtTxSlotsImmed=docsIfCmServiceExtTxSlotsImmed, docsIfCmServiceExtTxSlotsDed=docsIfCmServiceExtTxSlotsDed, docsIfCmtsObjects=docsIfCmtsObjects, docsIfCmtsMacTable=docsIfCmtsMacTable, docsIfCmtsMacEntry=docsIfCmtsMacEntry, docsIfCmtsCapabilities=docsIfCmtsCapabilities, docsIfCmtsSyncInterval=docsIfCmtsSyncInterval, docsIfCmtsUcdInterval=docsIfCmtsUcdInterval, docsIfCmtsMaxServiceIds=docsIfCmtsMaxServiceIds, docsIfCmtsInsertionInterval=docsIfCmtsInsertionInterval, docsIfCmtsInvitedRangingAttempts=docsIfCmtsInvitedRangingAttempts, docsIfCmtsInsertInterval=docsIfCmtsInsertInterval, docsIfCmtsMacStorageType=docsIfCmtsMacStorageType, docsIfCmtsStatusTable=docsIfCmtsStatusTable, docsIfCmtsStatusEntry=docsIfCmtsStatusEntry, docsIfCmtsStatusInvalidRangeReqs=docsIfCmtsStatusInvalidRangeReqs, docsIfCmtsStatusRangingAborteds=docsIfCmtsStatusRangingAborteds, docsIfCmtsStatusInvalidRegReqs=docsIfCmtsStatusInvalidRegReqs, docsIfCmtsStatusFailedRegReqs=docsIfCmtsStatusFailedRegReqs, docsIfCmtsStatusInvalidDataReqs=docsIfCmtsStatusInvalidDataReqs, docsIfCmtsStatusT5Timeouts=docsIfCmtsStatusT5Timeouts, docsIfCmtsCmStatusTable=docsIfCmtsCmStatusTable, docsIfCmtsCmStatusEntry=docsIfCmtsCmStatusEntry, docsIfCmtsCmStatusIndex=docsIfCmtsCmStatusIndex, docsIfCmtsCmStatusMacAddress=docsIfCmtsCmStatusMacAddress, docsIfCmtsCmStatusIpAddress=docsIfCmtsCmStatusIpAddress, docsIfCmtsCmStatusDownChannelIfIndex=docsIfCmtsCmStatusDownChannelIfIndex, docsIfCmtsCmStatusUpChannelIfIndex=docsIfCmtsCmStatusUpChannelIfIndex, docsIfCmtsCmStatusRxPower=docsIfCmtsCmStatusRxPower) mibBuilder.exportSymbols("DOCS-IF-MIB", docsIfCmtsCmStatusTimingOffset=docsIfCmtsCmStatusTimingOffset, docsIfCmtsCmStatusEqualizationData=docsIfCmtsCmStatusEqualizationData, docsIfCmtsCmStatusValue=docsIfCmtsCmStatusValue, docsIfCmtsCmStatusUnerroreds=docsIfCmtsCmStatusUnerroreds, docsIfCmtsCmStatusCorrecteds=docsIfCmtsCmStatusCorrecteds, docsIfCmtsCmStatusUncorrectables=docsIfCmtsCmStatusUncorrectables, docsIfCmtsCmStatusSignalNoise=docsIfCmtsCmStatusSignalNoise, docsIfCmtsCmStatusMicroreflections=docsIfCmtsCmStatusMicroreflections, docsIfCmtsCmStatusExtUnerroreds=docsIfCmtsCmStatusExtUnerroreds, docsIfCmtsCmStatusExtCorrecteds=docsIfCmtsCmStatusExtCorrecteds, docsIfCmtsCmStatusExtUncorrectables=docsIfCmtsCmStatusExtUncorrectables, docsIfCmtsCmStatusDocsisRegMode=docsIfCmtsCmStatusDocsisRegMode, docsIfCmtsCmStatusModulationType=docsIfCmtsCmStatusModulationType, docsIfCmtsCmStatusInetAddressType=docsIfCmtsCmStatusInetAddressType, docsIfCmtsCmStatusInetAddress=docsIfCmtsCmStatusInetAddress, docsIfCmtsCmStatusValueLastUpdate=docsIfCmtsCmStatusValueLastUpdate, docsIfCmtsCmStatusHighResolutionTimingOffset=docsIfCmtsCmStatusHighResolutionTimingOffset, docsIfCmtsServiceTable=docsIfCmtsServiceTable, docsIfCmtsServiceEntry=docsIfCmtsServiceEntry, docsIfCmtsServiceId=docsIfCmtsServiceId, docsIfCmtsServiceCmStatusIndex=docsIfCmtsServiceCmStatusIndex, docsIfCmtsServiceAdminStatus=docsIfCmtsServiceAdminStatus, docsIfCmtsServiceQosProfile=docsIfCmtsServiceQosProfile, docsIfCmtsServiceCreateTime=docsIfCmtsServiceCreateTime, docsIfCmtsServiceInOctets=docsIfCmtsServiceInOctets, docsIfCmtsServiceInPackets=docsIfCmtsServiceInPackets, docsIfCmtsServiceNewCmStatusIndex=docsIfCmtsServiceNewCmStatusIndex, docsIfCmtsModulationTable=docsIfCmtsModulationTable, docsIfCmtsModulationEntry=docsIfCmtsModulationEntry, docsIfCmtsModIndex=docsIfCmtsModIndex, docsIfCmtsModIntervalUsageCode=docsIfCmtsModIntervalUsageCode, docsIfCmtsModControl=docsIfCmtsModControl, docsIfCmtsModType=docsIfCmtsModType, docsIfCmtsModPreambleLen=docsIfCmtsModPreambleLen, docsIfCmtsModDifferentialEncoding=docsIfCmtsModDifferentialEncoding, docsIfCmtsModFECErrorCorrection=docsIfCmtsModFECErrorCorrection, docsIfCmtsModFECCodewordLength=docsIfCmtsModFECCodewordLength, docsIfCmtsModScramblerSeed=docsIfCmtsModScramblerSeed, docsIfCmtsModMaxBurstSize=docsIfCmtsModMaxBurstSize, docsIfCmtsModGuardTimeSize=docsIfCmtsModGuardTimeSize, docsIfCmtsModLastCodewordShortened=docsIfCmtsModLastCodewordShortened, docsIfCmtsModScrambler=docsIfCmtsModScrambler, docsIfCmtsModByteInterleaverDepth=docsIfCmtsModByteInterleaverDepth, docsIfCmtsModByteInterleaverBlockSize=docsIfCmtsModByteInterleaverBlockSize, docsIfCmtsModPreambleType=docsIfCmtsModPreambleType, docsIfCmtsModTcmErrorCorrectionOn=docsIfCmtsModTcmErrorCorrectionOn, docsIfCmtsModScdmaInterleaverStepSize=docsIfCmtsModScdmaInterleaverStepSize, docsIfCmtsModScdmaSpreaderEnable=docsIfCmtsModScdmaSpreaderEnable, docsIfCmtsModScdmaSubframeCodes=docsIfCmtsModScdmaSubframeCodes, docsIfCmtsModChannelType=docsIfCmtsModChannelType, docsIfCmtsModStorageType=docsIfCmtsModStorageType, docsIfCmtsQosProfilePermissions=docsIfCmtsQosProfilePermissions, docsIfCmtsMacToCmTable=docsIfCmtsMacToCmTable, docsIfCmtsMacToCmEntry=docsIfCmtsMacToCmEntry, docsIfCmtsCmMac=docsIfCmtsCmMac, docsIfCmtsCmPtr=docsIfCmtsCmPtr, docsIfCmtsChannelUtilizationInterval=docsIfCmtsChannelUtilizationInterval, docsIfCmtsChannelUtilizationTable=docsIfCmtsChannelUtilizationTable, docsIfCmtsChannelUtilizationEntry=docsIfCmtsChannelUtilizationEntry, docsIfCmtsChannelUtIfType=docsIfCmtsChannelUtIfType, docsIfCmtsChannelUtId=docsIfCmtsChannelUtId, docsIfCmtsChannelUtUtilization=docsIfCmtsChannelUtUtilization, docsIfCmtsDownChannelCounterTable=docsIfCmtsDownChannelCounterTable, docsIfCmtsDownChannelCounterEntry=docsIfCmtsDownChannelCounterEntry, docsIfCmtsDownChnlCtrId=docsIfCmtsDownChnlCtrId, docsIfCmtsDownChnlCtrTotalBytes=docsIfCmtsDownChnlCtrTotalBytes, docsIfCmtsDownChnlCtrUsedBytes=docsIfCmtsDownChnlCtrUsedBytes, docsIfCmtsDownChnlCtrExtTotalBytes=docsIfCmtsDownChnlCtrExtTotalBytes, docsIfCmtsDownChnlCtrExtUsedBytes=docsIfCmtsDownChnlCtrExtUsedBytes, docsIfCmtsUpChannelCounterTable=docsIfCmtsUpChannelCounterTable, docsIfCmtsUpChannelCounterEntry=docsIfCmtsUpChannelCounterEntry, docsIfCmtsUpChnlCtrId=docsIfCmtsUpChnlCtrId, docsIfCmtsUpChnlCtrTotalMslots=docsIfCmtsUpChnlCtrTotalMslots, docsIfCmtsUpChnlCtrUcastGrantedMslots=docsIfCmtsUpChnlCtrUcastGrantedMslots, docsIfCmtsUpChnlCtrTotalCntnMslots=docsIfCmtsUpChnlCtrTotalCntnMslots, docsIfCmtsUpChnlCtrUsedCntnMslots=docsIfCmtsUpChnlCtrUsedCntnMslots, docsIfCmtsUpChnlCtrExtTotalMslots=docsIfCmtsUpChnlCtrExtTotalMslots, docsIfCmtsUpChnlCtrExtUcastGrantedMslots=docsIfCmtsUpChnlCtrExtUcastGrantedMslots, docsIfCmtsUpChnlCtrExtTotalCntnMslots=docsIfCmtsUpChnlCtrExtTotalCntnMslots, docsIfCmtsUpChnlCtrExtUsedCntnMslots=docsIfCmtsUpChnlCtrExtUsedCntnMslots, docsIfCmtsUpChnlCtrCollCntnMslots=docsIfCmtsUpChnlCtrCollCntnMslots, docsIfCmtsUpChnlCtrTotalCntnReqMslots=docsIfCmtsUpChnlCtrTotalCntnReqMslots, docsIfCmtsUpChnlCtrUsedCntnReqMslots=docsIfCmtsUpChnlCtrUsedCntnReqMslots, docsIfCmtsUpChnlCtrCollCntnReqMslots=docsIfCmtsUpChnlCtrCollCntnReqMslots, docsIfCmtsUpChnlCtrTotalCntnReqDataMslots=docsIfCmtsUpChnlCtrTotalCntnReqDataMslots, docsIfCmtsUpChnlCtrUsedCntnReqDataMslots=docsIfCmtsUpChnlCtrUsedCntnReqDataMslots, docsIfCmtsUpChnlCtrCollCntnReqDataMslots=docsIfCmtsUpChnlCtrCollCntnReqDataMslots, docsIfCmtsUpChnlCtrTotalCntnInitMaintMslots=docsIfCmtsUpChnlCtrTotalCntnInitMaintMslots, docsIfCmtsUpChnlCtrUsedCntnInitMaintMslots=docsIfCmtsUpChnlCtrUsedCntnInitMaintMslots, docsIfCmtsUpChnlCtrCollCntnInitMaintMslots=docsIfCmtsUpChnlCtrCollCntnInitMaintMslots, docsIfCmtsUpChnlCtrExtCollCntnMslots=docsIfCmtsUpChnlCtrExtCollCntnMslots, docsIfCmtsUpChnlCtrExtTotalCntnReqMslots=docsIfCmtsUpChnlCtrExtTotalCntnReqMslots, docsIfCmtsUpChnlCtrExtUsedCntnReqMslots=docsIfCmtsUpChnlCtrExtUsedCntnReqMslots, docsIfCmtsUpChnlCtrExtCollCntnReqMslots=docsIfCmtsUpChnlCtrExtCollCntnReqMslots, docsIfCmtsUpChnlCtrExtTotalCntnReqDataMslots=docsIfCmtsUpChnlCtrExtTotalCntnReqDataMslots, docsIfCmtsUpChnlCtrExtUsedCntnReqDataMslots=docsIfCmtsUpChnlCtrExtUsedCntnReqDataMslots, docsIfCmtsUpChnlCtrExtCollCntnReqDataMslots=docsIfCmtsUpChnlCtrExtCollCntnReqDataMslots, docsIfCmtsUpChnlCtrExtTotalCntnInitMaintMslots=docsIfCmtsUpChnlCtrExtTotalCntnInitMaintMslots, docsIfCmtsUpChnlCtrExtUsedCntnInitMaintMslots=docsIfCmtsUpChnlCtrExtUsedCntnInitMaintMslots, docsIfCmtsUpChnlCtrExtCollCntnInitMaintMslots=docsIfCmtsUpChnlCtrExtCollCntnInitMaintMslots, docsIfNotification=docsIfNotification, docsIfConformance=docsIfConformance, docsIfCompliances=docsIfCompliances, docsIfGroups=docsIfGroups) # Groups mibBuilder.exportSymbols("DOCS-IF-MIB", docsIfBasicGroup=docsIfBasicGroup, docsIfCmGroup=docsIfCmGroup, docsIfCmtsGroup=docsIfCmtsGroup, docsIfObsoleteGroup=docsIfObsoleteGroup, docsIfBasicGroupV2=docsIfBasicGroupV2, docsIfCmGroupV2=docsIfCmGroupV2, docsIfCmtsGroupV2=docsIfCmtsGroupV2) # Compliances mibBuilder.exportSymbols("DOCS-IF-MIB", docsIfBasicCompliance=docsIfBasicCompliance, docsIfBasicComplianceV2=docsIfBasicComplianceV2) pysnmp-mibs-0.1.3/pysnmp_mibs/ISNS-MIB.py0000644000014400001440000027251711736645137020230 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ISNS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:14 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( PhysicalIndex, ) = mibBuilder.importSymbols("ENTITY-MIB", "PhysicalIndex") ( FcAddressIdOrZero, FcNameIdOrZero, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcAddressIdOrZero", "FcNameIdOrZero") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TimeStamp", "TruthValue") # Types class IsnsDdDdsModificationType(Bits): namedValues = NamedValues(("controlNode", 0), ("targetIscsiNode", 1), ("initiatorIscsiNode", 2), ("targetIfcpNode", 3), ("initiatorIfcpNode", 4), ) class IsnsDdFeatureType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("reserved24", 24), ("reserved25", 25), ("reserved26", 26), ("reserved27", 27), ("reserved28", 28), ("reserved29", 29), ("reserved3", 3), ("reserved30", 30), ("bootlist", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsDdsStatusType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("reserved24", 24), ("reserved25", 25), ("reserved26", 26), ("reserved27", 27), ("reserved28", 28), ("reserved29", 29), ("reserved3", 3), ("reserved30", 30), ("ddsEnabled", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsDiscoveryDomainId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class IsnsDiscoveryDomainSetId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class IsnsEntityIndexIdOrZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class IsnsFcClassOfServiceType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("reserved24", 24), ("reserved25", 25), ("reserved26", 26), ("reserved27", 27), ("class3", 28), ("class2", 29), ("reserved3", 3), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsFcPortRoleType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("reserved24", 24), ("reserved25", 25), ("reserved26", 26), ("reserved27", 27), ("reserved28", 28), ("control", 29), ("reserved3", 3), ("initiator", 30), ("target", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsIfcpScnType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("initiatorAndSelfOnly", 24), ("targetAndSelfOnly", 25), ("managementRegistrationScn", 26), ("objectRemoved", 27), ("objectAdded", 28), ("objectUpdated", 29), ("reserved3", 3), ("ddOrDdsMemberRemoved", 30), ("ddOrDdsMemberAdded", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsIscsiNodeType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("reserved24", 24), ("reserved25", 25), ("reserved26", 26), ("reserved27", 27), ("reserved28", 28), ("control", 29), ("reserved3", 3), ("initiator", 30), ("target", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsIscsiScnType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("initiatorAndSelfOnly", 24), ("targetAndSelfOnly", 25), ("managementRegistrationScn", 26), ("objectRemoved", 27), ("objectAdded", 28), ("objectUpdated", 29), ("reserved3", 3), ("ddOrDdsMemberRemoved", 30), ("ddOrDdsMemberAdded", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsNodeIndexId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class IsnsPortalGroupIndexId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class IsnsPortalGroupTagIdOrNull(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(-1,65535) class IsnsPortalIndexId(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class IsnsPortalPortTypeId(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("udp", 1), ("tcp", 2), ) class IsnsPortalSecurityType(Bits): namedValues = NamedValues(("reserved0", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("reserved24", 24), ("tunnelModePreferred", 25), ("transportModePreferred", 26), ("pfsEnabled", 27), ("agressiveModeEnabled", 28), ("mainModeEnabled", 29), ("reserved3", 3), ("ikeIPsecEnabled", 30), ("bitmapVALID", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IsnsSrvrDiscoveryMethodsType(Bits): namedValues = NamedValues(("dhcp", 0), ("slp", 1), ("multicastGroupHb", 2), ("broadcastHb", 3), ("cfgdServerList", 4), ("other", 5), ) # Objects isnsMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 163)).setRevisions(("2007-07-11 00:00",)) if mibBuilder.loadTexts: isnsMIB.setOrganization("IETF IPS Working Group") if mibBuilder.loadTexts: isnsMIB.setContactInfo("\nAttn: Kevin Gibbons\n 2Wire, Inc.\n 1704 Automation Parkway\n San Jose, CA 95131\n USA\n Tel: +1 408-895-1387\n Fax: +1 408-428-9590\n Email: kgibbons@yahoo.com\n\n G.D. Ramkumar\n SnapTell, Inc.\n 2741 Middlefield Rd, Suite 200\n Palo Alto, CA 94306\n USA\n Tel: +1 650-326-7627\n Fax: +1 650-326-7620\n Email: gramkumar@stanfordalumni.org\n\n Scott Kipp\n Brocade\n 4 McDATA Pkwy\n Broomfield, CO 80021\n USA\n Tel: +1 720-558-3452\n Fax: +1 720-558-8999\n Email: skipp@brocade.com\n ") if mibBuilder.loadTexts: isnsMIB.setDescription("This module defines management information\nspecific to internet Storage Name Service\n(iSNS) management.\n\nCopyright (C) The IETF Trust (2007).\nThis version of this MIB module is part\nof RFC 4939; see the RFC itself for full\nlegal notices.") isnsNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 0)) isnsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1)) isnsServerInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1)) isnsServerTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 1)) if mibBuilder.loadTexts: isnsServerTable.setDescription("This table provides a list of the iSNS Server instances\nthat are managed through the same SNMP context.") isnsServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex")) if mibBuilder.loadTexts: isnsServerEntry.setDescription("This is a row in the iSNS Server instance table. The number\nof rows is dependent on the number of iSNS Server instances\nthat are being managed through the same SNMP context.") isnsServerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsServerIndex.setDescription("This object uniquely identifies the iSNS Server being\nmanaged by the SNMP context and is the key for this table.\nThis is an instance index for each iSNS Server being\nmanaged. The value of this object is used elsewhere in\nthe MIB to reference specific iSNS Servers.") isnsServerName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerName.setDescription("A non-unique name that can be assigned to the iSNS Server\ninstance. If not configured, then the string SHALL be\nzero-length.") isnsServerIsnsVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerIsnsVersion.setDescription("The iSNS version value as contained in messages received\nfrom the current primary server. The header of each iSNSP\nmessage contains the iSNS version of the sender. If\nunknown, the reported value is 0.") isnsServerVendorInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerVendorInfo.setDescription("If this server instance is utilizing the product of a\nparticular 'vendor', then this managed object contains\nthat vendor's name and version. Otherwise, the\nstring SHALL be zero-length. The format of the string\nis as follows: Vendor Name, Vendor Version, Vendor\nDefined Information.\n\n Field Description\n --------- ----------------\n Vendor Name The name of the vendor (if one exists)\n Vendor Version The version of the vendor product\n Vendor Defined This follows the second comma in the\n string, if one exists, and is vendor\n defined") isnsServerPhysicalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 5), PhysicalIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerPhysicalIndex.setDescription("An index identifying the network interface for this iSNS\nServer within a network entity. This index maps to the\nentPhysicalIndex of entPhysicalTable table in RFC 4133. The\nentPhysicalClass value for the table row must be 'port', as\nthe interface must be able to send and receive data.") isnsServerTcpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 6), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerTcpPort.setDescription("Indicates the TCP port this iSNS instance is accepting\niSNSP messages on, generally the iSNS well-known port.\nThe well-known TCP port for iSNSP is 3205. If TCP is\nnot supported by this server instance, then the value\nis 0.") isnsServerUdpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 7), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerUdpPort.setDescription("Indicates the UDP port this iSNS instance is accepting\niSNSP messages on; generally, the iSNS well-known port.\nThe well-known UDP port for iSNSP is 3205. If UDP is\nnot supported by this server instance, then the value\nis 0.") isnsServerDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion that\nthis iSNS server became active or suffered a\ndiscontinuity.") isnsServerRole = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("notSet", 1), ("server", 2), ("backupServer", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerRole.setDescription("The current operational mode of this iSNS Server instance.\n\nValue Description\n--------- ----------------\nnotSet The iSNS Server role is not\n configured.\nserver The iSNS Server instance is\n an operational iSNS Server.\nbackupServer The iSNS Server instance is\n\n\n\n currently acting as a backup.") isnsServerDiscoveryMethodsEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 10), IsnsSrvrDiscoveryMethodsType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerDiscoveryMethodsEnabled.setDescription("Indicates the discovery methods currently enabled for\nthis iSNS Server instance. This allows a client to\ndetermine what discovery methods can be used for\nthis iSNS Server. Additional methods of discovery may\nalso be supported.") isnsServerDiscoveryMcGroupType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 11), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerDiscoveryMcGroupType.setDescription("The type of Internet address in\nisnsServerDiscoveryMcGroupAddress. If the address is\nspecified, then it must be a valid multicast address and the\nvalue of this object must be ipv4(1), ipv6(2), ipv4z(3), or\nipv6z(4); otherwise, the value of this object is\nunknown(0), and the value of\nisnsServerDiscoveryMcGroupAddress is the zero-length string.") isnsServerDiscoveryMcGroupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 12), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerDiscoveryMcGroupAddress.setDescription("The multicast group that iSNS Heartbeat messages are\nsent to if multicast-based discovery has been enabled\nfor this server instance. If not configured, then the\nstring SHALL be zero-length. The format of this\nobject is specified by isnsServerDiscoveryMcGroupType.") isnsServerEsiNonResponseThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerEsiNonResponseThreshold.setDescription("Entity Status Inquiry (ESI) Non-Response Threshold -\n\n\n\nthe number of ESI messages that will be sent without\nreceiving a response before an entity is deregistered\nfrom the iSNS database. A value of 0 indicates\nEntities will never be deregistered due to non-receipt\nof ESI messages.") isnsServerEnableControlNodeMgtScn = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 14), TruthValue().clone('true')).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerEnableControlNodeMgtScn.setDescription("Indicates if the iSNS Server administrative option to send\nManagement SCNs to Control Nodes is enabled. Management\nSCNs are used by Control Nodes to monitor and control an\niSNS Server. If enabled, Control Nodes can register to\nreceive Management SCNs.") isnsServerDefaultDdDdsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("inNoDomain", 1), ("inDefaultDdAndDds", 2), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerDefaultDdDdsStatus.setDescription("This indicates the Discovery Domain (DD) and Discovery\nDomain Set (DDS) membership status for a new device\nwhen registered in the iSNS Server instance. Either the\nnew device will not be in a DD/DDS, or will be placed\ninto a default DD and default DDS. The default setting\nis inNoDomain.") isnsServerUpdateDdDdsSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 16), IsnsDdDdsModificationType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerUpdateDdDdsSupported.setDescription("The methods that this iSNS Server instance supports\nto modify Discovery Domains and Discovery Domain Sets.") isnsServerUpdateDdDdsEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 1, 1, 17), IsnsDdDdsModificationType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsServerUpdateDdDdsEnabled.setDescription("This indicates the methods this server instance currently\nallows for modifying Discovery Domains and Discovery\nDomain Sets.") isnsNumObjectsTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 2)) if mibBuilder.loadTexts: isnsNumObjectsTable.setDescription("Table providing the number of registered objects of each\ntype in the iSNS Server instance. The number of entries is\ndependent upon the number of iSNS Server instances being\nmanaged.") isnsNumObjectsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1)) if mibBuilder.loadTexts: isnsNumObjectsEntry.setDescription("Entry of an iSNS Server instance.") isnsNumDds = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumDds.setDescription("The current total number of Discovery Domain Sets\nin this iSNS instance. This is the number of rows\nin the isnsDdsTable.") isnsNumDd = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumDd.setDescription("The current total number of Discovery Domains\nin this iSNS instance. This is the number of rows in the\nisnsDdTable.") isnsNumEntities = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumEntities.setDescription("The current number of Entities registered in this\niSNS Server instance. This is the number of rows in\nthe isnsRegEntityTable for this instance.") isnsNumPortals = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 4), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumPortals.setDescription("The current total number of Portals registered in iSNS.\nThis is the number of rows in isnsRegPortalTable.") isnsNumPortalGroups = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 5), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumPortalGroups.setDescription("The current total number of Portal Groups registered in\niSNS. This is the number of rows in isnsRegPgTable.") isnsNumIscsiNodes = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 6), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumIscsiNodes.setDescription("The current total number of iSCSI node entries registered\nin the iSNS. This is the number rows in\nisnsRegIscsiNodeTable.") isnsNumFcPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 7), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumFcPorts.setDescription("The current total number of FC Port entries registered\nin the iSNS. This is the number of rows in\nisnsRegFcPortTable.") isnsNumFcNodes = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 2, 1, 8), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsNumFcNodes.setDescription("The current total number of FC node entries registered\nin the iSNS. This is the number of rows in\nisnsRegFcNodeTable.") isnsControlNodeInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 3)) isnsControlNodeIscsiTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 1)) if mibBuilder.loadTexts: isnsControlNodeIscsiTable.setDescription("Specified iSCSI Nodes that can register or are registered\nas control nodes. The number of rows is dependent on the\nnumber of iSCSI Control Nodes.") isnsControlNodeIscsiEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsControlNodeIscsiNodeIndex")) if mibBuilder.loadTexts: isnsControlNodeIscsiEntry.setDescription("This is an iSCSI Control Node entry for a specific iSNS\nserver instance.") isnsControlNodeIscsiNodeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 1, 1, 1), IsnsNodeIndexId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsControlNodeIscsiNodeIndex.setDescription("The index for the iSCSI storage node authorized to act\nas a control node.") isnsControlNodeIscsiNodeName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsControlNodeIscsiNodeName.setDescription("The iSCSI Name of the initiator or target associated with\nthe storage node. The iSCSI Name cannot be longer than\n223 bytes. The iSNS Server internal maximum size is 224\nbytes to provide NULL termination. This is the iSCSI Node\nName for the storage node authorized and/or acting as a\ncontrol node.") isnsControlNodeIscsiIsRegistered = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 1, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsControlNodeIscsiIsRegistered.setDescription("Indicates whether the control node is currently\nregistered in the iSNS Server instance.") isnsControlNodeIscsiRcvMgtSCN = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 1, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsControlNodeIscsiRcvMgtSCN.setDescription("Indicates whether the Control Node has registered to\nreceive Management SCNs. Management SCNs are sent to\na Control Node if they are enabled, as indicated by\nisnsServerEnableControlNodeMgtScn, and the Control\nNode has registered for them.") isnsControlNodeFcPortTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 2)) if mibBuilder.loadTexts: isnsControlNodeFcPortTable.setDescription("Specified FC Ports that can register or are registered as\ncontrol nodes. The number of rows is dependent on the\nnumber of FC Port Control Nodes.") isnsControlNodeFcPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 2, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsControlNodeFcPortWwpn")) if mibBuilder.loadTexts: isnsControlNodeFcPortEntry.setDescription("FC Port control node entry.") isnsControlNodeFcPortWwpn = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 2, 1, 1), FcNameIdOrZero().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsControlNodeFcPortWwpn.setDescription("The FC Port World Wide Port Name that can and/or is acting\nas a Control Node for the specified iSNS Server. A zero-\nlength string is not valid for this managed object.\nThis managed object, combined with the isnsServerIndex, is\nthe key for this table.") isnsControlNodeFcPortIsRegistered = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 2, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsControlNodeFcPortIsRegistered.setDescription("Indicates whether the control node is currently\nregistered in the iSNS Server instance.") isnsControlNodeFcPortRcvMgtSCN = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 3, 2, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsControlNodeFcPortRcvMgtSCN.setDescription("Indicates whether the Control Node has registered to\nreceive Management SCNs. Management SCNs are sent to\na Control Node if they are enabled, as indicated by\nisnsServerEnableControlNodeMgtScn, and the Control\nNode has registered for them.") isnsDdsInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 4)) isnsDdsTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 1)) if mibBuilder.loadTexts: isnsDdsTable.setDescription("A table containing configuration information for each\nDiscovery Domain Set (DDS) registered in the iSNS Server\ninstance. The number of rows in the table is dependent\non the number of DDSs registered in the specified iSNS\nserver instance.") isnsDdsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsDdsId")) if mibBuilder.loadTexts: isnsDdsEntry.setDescription("Information on one Discovery Domain Set (DDS) registered\nin the iSNS Server instance.") isnsDdsId = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 1, 1, 1), IsnsDiscoveryDomainSetId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsDdsId.setDescription("The ID that refers to this Discovery Domain Set and\nindex to the table.") isnsDdsSymbolicName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdsSymbolicName.setDescription("The Discovery Domain Set Symbolic Name field contains\na unique variable-length description (up to 255 bytes)\nthat is associated with the DDS. If a Symbolic Name is\nnot provided, then one will be generated by the iSNS\nserver.") isnsDdsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 1, 1, 3), IsnsDdsStatusType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdsStatus.setDescription("The status of this Discovery Domain Set (DDS).") isnsDdsMemberTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 2)) if mibBuilder.loadTexts: isnsDdsMemberTable.setDescription("A table containing Discovery Domains (DDs) that have\nbeen assigned to specific Discovery Domain Sets (DDSs).\nThe number of rows in the table is dependent on the\nnumber of DD to DDS relationships in the iSNS instance.") isnsDdsMemberEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 2, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsDdsId"), (0, "ISNS-MIB", "isnsDdsMemberDdId")) if mibBuilder.loadTexts: isnsDdsMemberEntry.setDescription("The mapping of one Discovery Domain (DD) to a Discovery\nDomain Set (DDS). This indicates the DD is a member of\nthe DDS.") isnsDdsMemberDdId = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 2, 1, 1), IsnsDiscoveryDomainId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsDdsMemberDdId.setDescription("The ID that identifies the Discovery Domain\nthat is a member of the Discovery Domain Set.") isnsDdsMemberSymbolicName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 4, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdsMemberSymbolicName.setDescription("The Symbolic Name of the Discovery Domain that is a member\nof this DDS. This value SHALL be identical to the object\nisnsDdSymbolicName for the associated DD ID.") isnsDdInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 5)) isnsDdTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 1)) if mibBuilder.loadTexts: isnsDdTable.setDescription("A table containing configuration information for each\nDiscovery Domain (DD) registered in the iSNS. The number\nof rows in the table is dependent on the number of DDs\nregistered in the iSNS instance.") isnsDdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsDdId")) if mibBuilder.loadTexts: isnsDdEntry.setDescription("Information on a Discovery Domain (DD) registered in\nthe iSNS Server instance.") isnsDdId = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 1, 1, 1), IsnsDiscoveryDomainId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsDdId.setDescription("The ID that refers to this Discovery Domain, and the\nindex to the table.") isnsDdSymbolicName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdSymbolicName.setDescription("The Discovery Domain Symbolic Name field contains a\nunique variable-length description (up to 255 bytes)\nthat is associated with the DD.") isnsDdFeatures = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 1, 1, 3), IsnsDdFeatureType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdFeatures.setDescription("This defines the features the Discovery Domain has.") isnsDdIscsiMemberTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 2)) if mibBuilder.loadTexts: isnsDdIscsiMemberTable.setDescription("A table containing iSCSI node indexes that have been\nassigned to specific DDs in this iSNS Server instance. The\nnumber of rows in the table is dependent on the number of\nrelationships between iSCSI Nodes and DDs registered in the\niSNS instance.") isnsDdIscsiMemberEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 2, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsDdId"), (0, "ISNS-MIB", "isnsDdIscsiMemberIndex")) if mibBuilder.loadTexts: isnsDdIscsiMemberEntry.setDescription("The mapping of one iSCSI Node to a Discovery Domain to\nindicate membership in the DD. The indexes are the iSNS\nserver instance, the DD ID of the Discovery Domain, and\nthe iSCSI Node Index of the iSCSI Node.") isnsDdIscsiMemberIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 2, 1, 1), IsnsNodeIndexId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsDdIscsiMemberIndex.setDescription("The index for this member iSCSI node entry.") isnsDdIscsiMemberName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 223))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdIscsiMemberName.setDescription("The iSCSI Name associated with the storage node. The\niSCSI Name cannot be longer than 223 bytes. The iSNS\nserver internal maximum size is 224 bytes to provide\nNULL termination. This is the iSCSI Name for the storage\nnode that is a member of the DD. This value maps 1 to 1\nto the isnsDdIscsiMemberIndex node index. The iSCSI Name\nfield is too long to be easily used for an index directly.\nThe node index used for a specific node name is only\npersistent across iSNS Server reinitializations for nodes\nthat are in a Discovery Domain (DD) or are registered\ncontrol nodes. This value is only required during row\ncreation if the storage node is not yet registered in the\niSNS Server instance. If the storage node is not yet\nregistered, then the iSCSI Name MUST be provided with the\niSCSI node index during row creation in order to create the\n1-to-1 mapping.") isnsDdIscsiMemberIsRegistered = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 2, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdIscsiMemberIsRegistered.setDescription("This indicates whether this member of the DD is currently\nregistered in the iSNS Server instance. iSCSI Storage\nNode members do not need to be currently registered in\norder for their iSCSI Name and Index to be added to\na DD.") isnsDdPortalMemberTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3)) if mibBuilder.loadTexts: isnsDdPortalMemberTable.setDescription("A table containing currently registered and unregistered\nportal objects that have been explicitly assigned to\nspecific DDs. Explicit assignment of a portal to a DD\nis only done when a specific set of portals are preferred\nfor use within a DD. Otherwise, for iSCSI, the Portal\nGroup Object should be used for identifying which portals\nprovide access to which storage nodes. The number of rows\nin the table is dependent on the number of explicit\nrelationships between portals and DDs registered in the\niSNS.") isnsDdPortalMemberEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsDdId"), (0, "ISNS-MIB", "isnsDdPortalMemberIndex")) if mibBuilder.loadTexts: isnsDdPortalMemberEntry.setDescription("Each entry indicates an explicit addition of a portal to a\ndiscovery domain. The explicit addition of an entity portal\nto a discovery domain indicates the portal is preferred for\naccess to nodes of the entity for this discovery domain.\nRegistered Portal Group objects are used in iSCSI to\nindicate mapping of portals to nodes across all discovery\ndomains. Portals that have been explicitly mapped to a\ndiscovery domain will be returned as part of a query that\nis scoped to that discovery domain. If no portal of an\nentity has been explicitly mapped to a discovery domain,\nthen all portals of the entity that provide access to a\nstorage node are returned as part of a query. The table\nindexes are the server instance, the DD ID of the Discovery\nDomain, and the Portal Index of the portal.") isnsDdPortalMemberIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3, 1, 1), IsnsPortalIndexId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsDdPortalMemberIndex.setDescription("The index for a portal explicitly contained in the discovery\ndomain. This managed object, combined with isnsServerIndex\nand isnsDdId, is the key for this table.") isnsDdPortalMemberAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdPortalMemberAddressType.setDescription("The type of Inet address in isnsDdPortalMemberAddress. If\nthe address is specified, then it must be a valid unicast\naddress and the value of this object must be ipv4(1),\nipv6(2), ipv4z(3), or ipv6z(4); otherwise, the value\nof this object is unknown(0), and the value of\nisnsDdPortalMemberAddress is the zero-length string.") isnsDdPortalMemberAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdPortalMemberAddress.setDescription("The Inet Address for the portal. The format of this\nobject is specified by isnsDdPortalMemberAddressType.") isnsDdPortalMemberPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3, 1, 4), IsnsPortalPortTypeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdPortalMemberPortType.setDescription("The port type for the portal, either UDP or TCP.") isnsDdPortalMemberPort = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3, 1, 5), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdPortalMemberPort.setDescription("The port number for the portal. Whether the portal\ntype is TCP or UDP is indicated by\nisnsDdPortalMemberPortType.") isnsDdPortalMemberIsRegistered = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 3, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdPortalMemberIsRegistered.setDescription("This indicates whether this member of the DD is currently\nregistered in the iSNS Server instance. Portals that are\nDD members do not need to be currently registered in\norder for them to be added to a DD.") isnsDdFcPortMemberTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 4)) if mibBuilder.loadTexts: isnsDdFcPortMemberTable.setDescription("A table containing FC Port World Wide Names (WWN) that\nhave been assigned to specific DDs. The number of rows\nin the table is dependent on the number of relationships\nbetween FC Ports and DDs registered in the iSNS.") isnsDdFcPortMemberEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 4, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsDdId"), (0, "ISNS-MIB", "isnsDdFcPortMemberPortName")) if mibBuilder.loadTexts: isnsDdFcPortMemberEntry.setDescription("The association of one FC Port with a Discovery Domain.\nMembership of an FC Port in a Discovery Domain is\nindicated by creating a row for the appropriate DD ID\nand FC Port WWN.") isnsDdFcPortMemberPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 4, 1, 1), FcNameIdOrZero().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsDdFcPortMemberPortName.setDescription("The Port WWN of the FC Port that is a member of the DD. The\nvalue MUST be a valid FC WWN, as per the FC-GS (Fibre Channel -\nGeneric Services) standard. This managed object, combined\nwith the isnsServerIndex and isnsDdId are the key for this\ntable. A zero-length string is not a valid value for this\nmanaged object.") isnsDdFcPortMemberIsRegistered = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 5, 4, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsDdFcPortMemberIsRegistered.setDescription("This indicates whether this member of the DD is currently\nregistered in the iSNS Server instance.") isnsReg = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 6)) isnsRegEntityInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1)) isnsRegEntityTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1)) if mibBuilder.loadTexts: isnsRegEntityTable.setDescription("A table containing registered Entity objects in each iSNS\nserver instance. The number of entries in the table is\ndependent on the number of Entity objects registered in the\niSNS Server instances. All Entity objects are registered in\nthe iSNS using the iSNS protocol.") isnsRegEntityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegEntityIndex")) if mibBuilder.loadTexts: isnsRegEntityEntry.setDescription("Information on one registered Entity object in an iSNS\nserver instance.") isnsRegEntityIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 1), IsnsEntityIndexIdOrZero().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsRegEntityIndex.setDescription("The Entity Index for this entity. This index is assigned\nby the iSNS Server when an Entity is initially registered.\nThe Entity Index can be used to represent a registered\nEntity object in situations where the Entity EID would\nbe too long/unwieldy. Zero is not a valid value for this\nobject.") isnsRegEntityEID = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityEID.setDescription("The EID is a unique registered Entity object identifier, as\nspecified in the iSNS Specification. This is the iSNS\nEntity Identifier for the registered Entity object.") isnsRegEntityProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityProtocol.setDescription("The block storage protocol supported by this entity, as\ndefined in the iSNS Specification, Section 6.2.2. The\nfollowing values are initially assigned.\n\n Type Value Entity Type\n ---------- -----------\n 1 No Protocol\n 2 iSCSI\n 3 iFCP\n All Others As assigned by IANA\n\nThe full set of current Block Storage Protocols are\nspecified in the IANA-maintained registry of assigned\niSNS parameters. Please refer to RFC 4171 and the iSNS\nparameters maintained at IANA.") isnsRegEntityManagementAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityManagementAddressType.setDescription("The type of Inet address in isnsRegEntityManagementAddress.\nIf the address is specified, then it must be a valid unicast\naddress and the value of this object must be ipv4(1),\nipv6(2), ipv4z(3), or ipv6z(4); otherwise, the value of\nthis object is unknown(0), and the value of\nisnsRegEntityManagementAddress is the zero-length string.") isnsRegEntityManagementAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityManagementAddress.setDescription("The iSNS Management IP Address for the registered Entity\nobject. The format of this object is specified by\nisnsRegEntityManagementAddressType.") isnsRegEntityTimestamp = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityTimestamp.setDescription("The iSNS Entity Registration Timestamp for the registered\nEntity object. This is the most recent date and time that\nthe registered Entity object, and associated registered\nobjects contained in the Entity, were registered or\nupdated.") isnsRegEntityVersionMin = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityVersionMin.setDescription("The minimum version supported for the block storage protocol\nspecified by isnsRegEntityProtocol. The protocol version\nspecified can be from 1 to 254. A value of 255 is a wildcard\nvalue, indicating no minimum version value has been specified\nfor this Entity. Entity registrations with an\nisnsRegEntityProtocol of 'No Protocol' SHALL have an\nisnsRegEntityVersionMin value of 0.") isnsRegEntityVersionMax = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityVersionMax.setDescription("The maximum version supported for the block storage protocol\nspecified by isnsRegEntityProtocol. The protocol version\nspecified can be from 1 to 254. A value of 255 is a wildcard\n\n\n\nvalue, indicating no maximum version value has been specified\nfor this Entity. Entity registrations with an\nisnsRegEntityProtocol of 'No Protocol' SHALL have an\nisnsRegEntityVersionMax value of 0.") isnsRegEntityRegistrationPeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityRegistrationPeriod.setDescription("The iSNS Entity Status Inquiry (ESI) registration period,\nwhich indicates the maximum time, in seconds, that the\nregistration will be maintained without receipt of an iSNSP\nmessage from the entity. If the Registration Period is set\nto 0, then the Entity SHALL NOT be deregistered due to no\ncontact with the entity.") isnsRegEntityNumObjectsTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 2)) if mibBuilder.loadTexts: isnsRegEntityNumObjectsTable.setDescription("A table containing information on the number of registered\nobjects associated with a registered Entity in the iSNS\nserver instance. The number of entries in the table is\ndependent on the number of registered Entity objects in the\niSNS.") isnsRegEntityNumObjectsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 2, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegEntityIndex")) if mibBuilder.loadTexts: isnsRegEntityNumObjectsEntry.setDescription("Information on the number of registered objects associated\nwith a registered Entity object in an iSNS Server instance.") isnsRegEntityInfoNumPortals = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 2, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityInfoNumPortals.setDescription("The number of Portals associated with this Entity.") isnsRegEntityInfoNumPortalGroups = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 2, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityInfoNumPortalGroups.setDescription("The number of Portal Groups associated with this Entity.") isnsRegEntityInfoNumIscsiNodes = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 2, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityInfoNumIscsiNodes.setDescription("The number of iSCSI Storage Nodes associated with this\nEntity.") isnsRegEntityInfoNumFcPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 2, 1, 4), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityInfoNumFcPorts.setDescription("The number of FC Ports associated with this Entity.") isnsRegEntityInfoNumFcNodes = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 1, 2, 1, 5), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegEntityInfoNumFcNodes.setDescription("The number of FC Nodes associated with this Entity.") isnsRegPortalInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2)) isnsRegPortalTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1)) if mibBuilder.loadTexts: isnsRegPortalTable.setDescription("A table containing the registered Portals in the iSNS.\nThe number of entries is dependent on the number of\nPortals registered in the iSNS.") isnsRegPortalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegEntityIndex"), (0, "ISNS-MIB", "isnsRegPortalPortalIndex")) if mibBuilder.loadTexts: isnsRegPortalEntry.setDescription("Information on one registered Entity Portal in the iSNS.\nThe Entity Index is part of the table index to quickly\nfind Portals that support a specific Entity.") isnsRegPortalPortalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 1), IsnsPortalIndexId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsRegPortalPortalIndex.setDescription("The index for this Entity Portal.") isnsRegPortalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalAddressType.setDescription("The type of Inet address in isnsRegPortalAddress. If the\naddress is specified, then it must be a valid unicast\naddress and the value of this object must be ipv4(1),\nipv6(2), ipv4z(3), or ipv6z(4); otherwise, the value\nof this object is unknown(0), and the value of\nisnsRegPortalAddress is the zero-length string.") isnsRegPortalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalAddress.setDescription("The Inet Address for this Portal as defined in the iSNS\nSpecification, RFC 4171. The format of this object is\nspecified by isnsRegPortalAddressType.") isnsRegPortalPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 4), IsnsPortalPortTypeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalPortType.setDescription("The port type for this Portal, either UDP or TCP, as\ndefined in the iSNS Specification, RFC 4171.") isnsRegPortalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 5), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalPort.setDescription("The port number for this Portal as defined in the\niSNS Specification, RFC 4171. Whether the Portal type\nis TCP or UDP is indicated by isnsRegPortalPortType.") isnsRegPortalSymbolicName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalSymbolicName.setDescription("The Symbolic Name for this Portal as defined in the iSNS\nSpecification, RFC 4171. If not provided, then the string\nSHALL be zero-length.") isnsRegPortalEsiInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalEsiInterval.setDescription("The Entity Status Inquiry (ESI) Interval for this Portal\nas defined in the iSNS Specification, RFC 4171. A value of\n0 indicates that ESI monitoring has not been configured for\nthis Portal.") isnsRegPortalEsiPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 8), IsnsPortalPortTypeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalEsiPortType.setDescription("The port type for the ESI Port, either UDP or TCP, as\ndefined in the iSNS Specification, RFC 4171.") isnsRegPortalEsiPort = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 9), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalEsiPort.setDescription("The TCP or UDP port number used for ESI monitoring. Whether\nthe port type is TCP or UDP is indicated by\nisnsRegPortalEsiPortType. A value of 0 indicates that ESI\nmonitoring is not enabled for this Portal.") isnsRegPortalScnPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 10), IsnsPortalPortTypeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalScnPortType.setDescription("The port type for the SCN Port, either UDP or TCP, as\ndefined in the iSNS Specification, RFC 4171.") isnsRegPortalScnPort = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 11), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalScnPort.setDescription("The TCP or UDP port used to receive SCN messages from the\niSNS Server. Whether the port type is TCP or UDP is\nindicated by isnsRegPortalScnPortType. A value of 0\nindicates that SCN message receipt is not enabled for this\nPortal.") isnsRegPortalSecurityInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 2, 1, 1, 12), IsnsPortalSecurityType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPortalSecurityInfo.setDescription("Indicates security attribute settings for the Portal as\nregistered in the iSNS server. The bit for bitmapVALID must\nbe set in order for this attribute to contain valid\ninformation. Setting a bit to 1 indicates the\nfeature is enabled.") isnsRegPortalGroupInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3)) isnsRegPgTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1)) if mibBuilder.loadTexts: isnsRegPgTable.setDescription("A table containing the registered Portal Groups (PGs) in\nthe iSNS Server instance. The number of entries is\ndependent on the number of Portal Groups registered in\nthe iSNS.") isnsRegPgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegEntityIndex"), (0, "ISNS-MIB", "isnsRegPgIndex")) if mibBuilder.loadTexts: isnsRegPgEntry.setDescription("Information on one registered Portal Group in the iSNS\nserver instance. The Entity Index is part of the table\nindex to quickly find Portal Groups that support Portals\nand iSCSI Storage Nodes in a specific Entity.") isnsRegPgIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 1), IsnsPortalGroupIndexId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsRegPgIndex.setDescription("The PG Index for this node. The index is created by the\niSNS Server instance for uniquely identifying registered\nobjects. The PG object is registered at the same time a\nPortal or Storage Node is registered using the iSNS\nprotocol.") isnsRegPgIscsiNodeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 2), IsnsNodeIndexId()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgIscsiNodeIndex.setDescription("The index for the iSCSI Node associated with this PG.\nThis index can be used to reference the\nisnsRegIscsiNodeTable.") isnsRegPgIscsiName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 223))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgIscsiName.setDescription("The iSCSI Name of the initiator or target associated with\nthe storage node. The iSCSI Name cannot be longer than\n223 bytes. The iSNS Server internal maximum size is 224\nbytes to provide NULL termination. This is the PG iSCSI\nName that uniquely identifies the iSCSI Storage Node that\nis associated with this PG.") isnsRegPgPortalPortalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 4), IsnsPortalIndexId()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgPortalPortalIndex.setDescription("The Portal Index for the Portal associated with this PG.\nThis index can be used to reference the isnsRegPortalTable.") isnsRegPgPortalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgPortalAddressType.setDescription("The type of Inet address in isnsRegPgPortalAddress. If\nthe address is specified, then it must be a valid unicast\naddress and the value of this object must be ipv4(1),\nipv6(2), ipv4z(3), or ipv6z(4); otherwise, the value\nof this object is unknown(0), and the value of\nisnsRegPgPortalAddress is the zero-length string.") isnsRegPgPortalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 6), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgPortalAddress.setDescription("The Inet Address for the Portal that is associated with\nthe PG. The format of this object is specified by\nisnsRegPgPortalAddressType.") isnsRegPgPortalPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 7), IsnsPortalPortTypeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgPortalPortType.setDescription("The port type, either UDP or TCP, for the Portal that\nis associated with this registered PG object.") isnsRegPgPortalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 8), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgPortalPort.setDescription("The port number for the Portal that is associated with\nthis registered PG object. Whether the Portal type is\nTCP or UDP is indicated by isnsRegPgPortalPortType.") isnsRegPgPGT = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 3, 1, 1, 9), IsnsPortalGroupTagIdOrNull()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegPgPGT.setDescription("The Portal Group Tag (PGT) for the registered iSCSI Portal\nGroup object in an iSNS Server instance. This indicates\nthe tag value that the Portal uses for access to the iSCSI\nStorage Node. The PGT is used for coordinated access\nbetween multiple Portals, as described in the iSCSI\nSpecification, RFC 3720. A PGT with no association is a\nNULL value. The value of -1 indicates a NULL value.") isnsRegIscsiNodeInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4)) isnsRegIscsiNodeTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1)) if mibBuilder.loadTexts: isnsRegIscsiNodeTable.setDescription("A table containing the registered iSCSI Nodes in the iSNS\nserver instance. Storage devices register using the iSNS\nprotocol. While a device cannot be registered in an iSNS\nserver using SNMP, an entry can be deleted in order to\nremove 'stale' entries. The number of entries is related\nto the number of iSCSI nodes registered in the iSNS.") isnsRegIscsiNodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegEntityIndex"), (0, "ISNS-MIB", "isnsRegIscsiNodeIndex")) if mibBuilder.loadTexts: isnsRegIscsiNodeEntry.setDescription("Information on one iSCSI node that has been registered in\nthe iSNS Server instance. New rows cannot be added using\nSNMP.") isnsRegIscsiNodeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1, 1), IsnsNodeIndexId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsRegIscsiNodeIndex.setDescription("The index for this iSCSI node.") isnsRegIscsiNodeName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 223))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegIscsiNodeName.setDescription("The iSCSI Name of the initiator or target associated with\nthe storage node. The iSCSI Name cannot be longer than\n223 bytes. The iSNS Server internal maximum size is 224\nbytes to provide NULL termination. This is the iSCSI Name\nthat uniquely identifies the initiator, initiator/target,\ntarget, or control node in the network.") isnsRegIscsiNodeType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1, 3), IsnsIscsiNodeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegIscsiNodeType.setDescription("The Node Type defining the functions of this iSCSI node.") isnsRegIscsiNodeAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegIscsiNodeAlias.setDescription("The Alias name of the iSCSI node. This is a variable-length\ntext-based description of up to 255 bytes.") isnsRegIscsiNodeScnTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1, 5), IsnsIscsiScnType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegIscsiNodeScnTypes.setDescription("The State Change Notification (SCN) types enabled for this\niSCSI node.") isnsRegIscsiNodeWwnToken = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1, 6), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegIscsiNodeWwnToken.setDescription("This contains a globally unique 64-bit integer value that\ncan be used to represent the World Wide Node Name of the\niSCSI device in a Fibre Channel fabric. This identifier is\nused during the device registration process, and MUST\nconform to the requirements in RFC 4171. A zero-length string\nfor this managed object indicates that a Node WWN token has\nnot been assigned.") isnsRegIscsiNodeAuthMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 4, 1, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegIscsiNodeAuthMethod.setDescription("This attribute contains a null-terminated string containing\nUTF-8 text listing the iSCSI authentication methods enabled\nfor this iSCSI Node, in order of preference. The text\nvalues used to identify iSCSI authentication methods are\nembedded in this string attribute and delineated by a\ncomma. The text values are identical to those found in\nRFC 3720 - iSCSI. Additional vendor-specific text values\nare also possible.") isnsRegFcNodeInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5)) isnsRegFcNodeTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1)) if mibBuilder.loadTexts: isnsRegFcNodeTable.setDescription("A table containing the registered FC Nodes in the iSNS.\nThis supports iFCP as defined in RFC 4172.") isnsRegFcNodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegFcNodeWwnn")) if mibBuilder.loadTexts: isnsRegFcNodeEntry.setDescription("Information on one registered FC node that has been\nregistered in the iSNS.") isnsRegFcNodeWwnn = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1, 1), FcNameIdOrZero().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsRegFcNodeWwnn.setDescription("The FC Node World Wide Node Name as defined in the iSNS\nSpecification, RFC 4171. A zero-length string is not valid\nfor this managed object.") isnsRegFcNodeSymbolicName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcNodeSymbolicName.setDescription("The FC Node Symbolic Name of the node as defined in the\niSNS Specification, RFC 4171. This is a variable-length\ntext-based description. If not provided, then the string\nSHALL be zero-length.") isnsRegFcNodeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcNodeAddressType.setDescription("The type of Inet address in isnsRegFcNodeAddress. If\nthe address is specified, then it must be a valid unicast\naddress and the value of this object must be ipv4(1),\nipv6(2), ipv4z(3), or ipv6z(4); otherwise, the value\nof this object is unknown(0), and the value of\nisnsRegFcNodeAddress is the zero-length string.") isnsRegFcNodeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcNodeAddress.setDescription("The FC Node Inet address of the node as defined in the\niSNS Specification, RFC 4171. The format of this object is\nspecified by isnsRegFcNodeAddressType.") isnsRegFcNodeIPA = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcNodeIPA.setDescription("This managed object identifies the FC Initial Process\nAssociator of the node as defined in the iSNS\nSpecification, RFC 4171.") isnsRegFcNodeProxyIscsiName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 223))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcNodeProxyIscsiName.setDescription("The iSCSI Name used to represent the FC Node in the IP\nnetwork. It is used as a pointer to the matching iSCSI Name\nentry in the iSNS Server. Its value is usually registered\nby an FC-iSCSI gateway connecting the IP network to the\nfabric containing the FC device.") isnsRegFcNodeNumFcPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 1, 1, 7), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcNodeNumFcPorts.setDescription("The number of FC Ports associated with this FC Node.") isnsRegFcPortTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2)) if mibBuilder.loadTexts: isnsRegFcPortTable.setDescription("Information on registered FC N_Ports in the iSNS. FC Ports\nare associated with registered FC Nodes. This supports\niFCP as defined in RFC 4172.") isnsRegFcPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegEntityIndex"), (0, "ISNS-MIB", "isnsRegFcPortWwpn")) if mibBuilder.loadTexts: isnsRegFcPortEntry.setDescription("Information on one FC Port that has been registered in\niSNS.") isnsRegFcPortWwpn = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 1), FcNameIdOrZero().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: isnsRegFcPortWwpn.setDescription("The FC Port's World Wide Port Name as defined in the iSNS\nSpecification, RFC 4171. A zero-length string is not valid\nfor this managed object.") isnsRegFcPortID = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 2), FcAddressIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortID.setDescription("The FC Port's Port ID as defined in the iSNS Specification,\nRFC 4171.") isnsRegFcPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortType.setDescription("The FC Port Type as defined in the iSNS Specification,\nRFC 4171, and the Fibre Channel Generic Services\nSpecification. Current values are as shown below:\n unknown (0),\n nPort (1),\n\n\n\n nlPort (2),\n fNlPort (3),\n fPort (129), -- x'81'\n flPort (130), -- x'82'\n ePort (132), -- x'84'\n bPort (133), -- x'85'\n mFcpPort (65297), -- x'FF11'\n iFcpPort (65298), -- x'FF12'\n unknownEnd (65535)\nThe future assignment of any additional values will be\ndocumented in a revision of RFC 4171.") isnsRegFcPortSymbolicName = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortSymbolicName.setDescription("The FC Port Symbolic Name as defined in the iSNS\nSpecification, RFC 4171. If not provided, then the\nstring SHALL be zero-length.") isnsRegFcPortFabricPortWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 5), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortFabricPortWwn.setDescription("The Fabric Port WWN for this entry as defined in the iSNS\nSpecification, RFC 4171. A zero-length string for this\nmanaged object indicates that the Fabric Port WWN is not\nknown, or has not yet been registered with the iSNS Server.") isnsRegFcPortHA = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 6), FcAddressIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortHA.setDescription("The FC Port Hard Address as defined in the iSNS\nSpecification, RFC 4171.") isnsRegFcPortAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 7), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortAddressType.setDescription("The type of Inet address in isnsRegFcPortAddress. If\nthe address is specified, then it must be a valid unicast\naddress and the value of this object must be ipv4(1),\nipv6(2), ipv4z(3), or ipv6z(4); otherwise, the value\nof this object is unknown(0), and the value of\nisnsRegFcPortAddress is the zero-length string.") isnsRegFcPortAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 8), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortAddress.setDescription("The FC Port Inet Address as defined in the iSNS\nSpecification, RFC 4171. The format of this object is\nspecified by isnsRegFcPortAddressType.") isnsRegFcPortFcCos = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 9), IsnsFcClassOfServiceType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortFcCos.setDescription("The FC Port Class of Service as defined in the iSNS\nSpecification, RFC 4171.") isnsRegFcPortFc4Types = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortFc4Types.setDescription("The FC Port FC-4 Types as defined in the iSNS\nSpecification, RFC 4171.") isnsRegFcPortFc4Descr = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 11), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(4, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortFc4Descr.setDescription("The FC Port FC-4 Descriptor as defined in the iSNS\nSpecification, RFC 4171. The FC-4 Descriptor cannot be\nlonger than 255 bytes. The iSNS Server internal maximum\nsize is 256 bytes to provide NULL termination.") isnsRegFcPortFc4Features = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(128, 128)).setFixedLength(128)).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortFc4Features.setDescription("The FC Port FC-4 Features as defined in the iSNS\nSpecification, RFC 4171.") isnsRegFcPortScnTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 13), IsnsIfcpScnType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortScnTypes.setDescription("The iFCP State Change Notification (SCN) types enabled for\nthe registered object.") isnsRegFcPortRole = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 14), IsnsFcPortRoleType()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortRole.setDescription("The FC Port Role defines the role of the registered\nobject.") isnsRegFcPortFcNodeWwnn = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 15), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortFcNodeWwnn.setDescription("The FC Node World Wide Node Name that is associated with\nthis FC Port as defined in the iSNS Specification, RFC 4171.\nThis managed object may contain a zero-length string prior\nto a device registering this value with the iSNS Server.") isnsRegFcPortPpnWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 2, 1, 16), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcPortPpnWwn.setDescription("The Permanent Port Name (PPN) attribute is the FC Port Name WWPN\nof the first Storage Node registered in the iSNS Database\nthat is associated with a particular FC Device (FC Node).\nThe PPN of all subsequent Storage Node registrations that\nare associated with that FC Device (FC Node) SHALL be set\nto the FC Port Name WWPN of the first Storage Node, as\ndefined in the iSNS Specification, RFC 4171. This managed\nobject may contain a zero-length string prior to a device\nregistering this value with the iSNS Server.") isnsRegFcNodePortTable = MibTable((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 3)) if mibBuilder.loadTexts: isnsRegFcNodePortTable.setDescription("A table containing the mapping of a registered FC Node and\nassociated registered iFCP Port to the supporting registered\nEntity object in an iSNS Server instance.") isnsRegFcNodePortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 3, 1)).setIndexNames((0, "ISNS-MIB", "isnsServerIndex"), (0, "ISNS-MIB", "isnsRegFcNodeWwnn"), (0, "ISNS-MIB", "isnsRegFcPortWwpn")) if mibBuilder.loadTexts: isnsRegFcNodePortEntry.setDescription("Information on one mapping from an FC Node and iFCP Port to\nan Entity object registered in an iSNS.") isnsRegFcNodePortEntityIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 163, 1, 1, 6, 5, 3, 1, 1), IsnsEntityIndexIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: isnsRegFcNodePortEntityIndex.setDescription("The Entity Index for the registered Entity object\nassociated with the FC Port and FC Node. This managed\nobject may contain the value of zero prior to a device\nregistering this value with the iSNS Server.") isnsNotificationsInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 1, 2)) isnsInstanceInfo = MibScalar((1, 3, 6, 1, 2, 1, 163, 1, 2, 1), SnmpAdminString()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: isnsInstanceInfo.setDescription("Textual information about the notification event and the\niSNS Server generating the notification. An example is:\niSNS Server Started.") isnsAddressNotificationType = MibScalar((1, 3, 6, 1, 2, 1, 163, 1, 2, 2), InetAddressType()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: isnsAddressNotificationType.setDescription("The type of Inet address in isnsAddressNotification. If\nthe address is specified, then it must be a valid unicast\naddress and the value of this object must be ipv4(1),\nipv6(2), ipv4z(3), or ipv6z(4); otherwise, the value\nof this object is unknown(0), and the value of\nisnsAddressNotification is the zero-length string.") isnsAddressNotification = MibScalar((1, 3, 6, 1, 2, 1, 163, 1, 2, 3), InetAddress()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: isnsAddressNotification.setDescription("Identifies the IP address of the iSNS Server. The format of\n\n\n\nthis object is specified by isnsAddressNotificationType.\nThe IP address will always be specified in the notification\nunless an error causes the IP address to not be known.") isnsTcpPortNotification = MibScalar((1, 3, 6, 1, 2, 1, 163, 1, 2, 4), InetPortNumber()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: isnsTcpPortNotification.setDescription("Indicates the TCP port the iSNS Server is using,\nor 0 if TCP-based registrations are not supported.") isnsUdpPortNotification = MibScalar((1, 3, 6, 1, 2, 1, 163, 1, 2, 5), InetPortNumber()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: isnsUdpPortNotification.setDescription("Indicates the UDP port the iSNS Server is using,\nor 0 if UDP-based registrations are not supported.") isnsConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 2)) isnsCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 2, 1)) isnsGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 163, 2, 2)) # Augmentions isnsServerEntry.registerAugmentions(("ISNS-MIB", "isnsNumObjectsEntry")) isnsNumObjectsEntry.setIndexNames(*isnsServerEntry.getIndexNames()) # Notifications isnsServerStart = NotificationType((1, 3, 6, 1, 2, 1, 163, 0, 1)).setObjects(*(("ISNS-MIB", "isnsAddressNotification"), ("ISNS-MIB", "isnsUdpPortNotification"), ("ISNS-MIB", "isnsInstanceInfo"), ("ISNS-MIB", "isnsAddressNotificationType"), ("ISNS-MIB", "isnsTcpPortNotification"), ) ) if mibBuilder.loadTexts: isnsServerStart.setDescription("This notification is sent when an iSNS Server begins\noperation. The notification provides the following:\n isnsInstanceInfo : iSNS Server textual information\n isnsAddressTypeNotification : iSNS Server address type\n isnsAddressNotification : iSNS Server address\n isnsTcpPortNotification : iSNS Server TCP Port\n isnsUdpPortNotification : iSNS Server UDP Port") isnsServerShutdown = NotificationType((1, 3, 6, 1, 2, 1, 163, 0, 2)).setObjects(*(("ISNS-MIB", "isnsAddressNotification"), ("ISNS-MIB", "isnsUdpPortNotification"), ("ISNS-MIB", "isnsInstanceInfo"), ("ISNS-MIB", "isnsAddressNotificationType"), ("ISNS-MIB", "isnsTcpPortNotification"), ) ) if mibBuilder.loadTexts: isnsServerShutdown.setDescription("This notification is sent when an iSNS Server is\nshutdown. The notification provides the following:\n isnsInstanceInfo : iSNS Server textual information\n isnsAddressTypeNotification : iSNS Server address type\n isnsAddressNotification : iSNS Server address\n isnsTcpPortNotification : iSNS Server TCP Port\n isnsUdpPortNotification : iSNS Server UDP Port") # Groups isnsServerAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 1)).setObjects(*(("ISNS-MIB", "isnsServerDefaultDdDdsStatus"), ("ISNS-MIB", "isnsServerTcpPort"), ("ISNS-MIB", "isnsServerUpdateDdDdsEnabled"), ("ISNS-MIB", "isnsServerDiscoveryMethodsEnabled"), ("ISNS-MIB", "isnsServerDiscoveryMcGroupAddress"), ("ISNS-MIB", "isnsServerDiscontinuityTime"), ("ISNS-MIB", "isnsServerPhysicalIndex"), ("ISNS-MIB", "isnsServerName"), ("ISNS-MIB", "isnsServerUdpPort"), ("ISNS-MIB", "isnsServerVendorInfo"), ("ISNS-MIB", "isnsServerEnableControlNodeMgtScn"), ("ISNS-MIB", "isnsServerDiscoveryMcGroupType"), ("ISNS-MIB", "isnsServerIsnsVersion"), ("ISNS-MIB", "isnsServerUpdateDdDdsSupported"), ("ISNS-MIB", "isnsServerRole"), ("ISNS-MIB", "isnsServerEsiNonResponseThreshold"), ) ) if mibBuilder.loadTexts: isnsServerAttributesGroup.setDescription("iSNS Server attributes.") isnsServerNumObjectsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 2)).setObjects(*(("ISNS-MIB", "isnsNumFcPorts"), ("ISNS-MIB", "isnsNumEntities"), ("ISNS-MIB", "isnsRegEntityInfoNumPortalGroups"), ("ISNS-MIB", "isnsNumPortals"), ("ISNS-MIB", "isnsNumPortalGroups"), ("ISNS-MIB", "isnsRegEntityInfoNumIscsiNodes"), ("ISNS-MIB", "isnsRegEntityInfoNumFcPorts"), ("ISNS-MIB", "isnsNumDd"), ("ISNS-MIB", "isnsNumFcNodes"), ("ISNS-MIB", "isnsRegEntityInfoNumFcNodes"), ("ISNS-MIB", "isnsNumIscsiNodes"), ("ISNS-MIB", "isnsRegEntityInfoNumPortals"), ("ISNS-MIB", "isnsNumDds"), ) ) if mibBuilder.loadTexts: isnsServerNumObjectsGroup.setDescription("Managed objects indicating the number of registered objects\nin an iSNS Server or the number of registered objects\nassociated with a registered Entity. These managed objects\nare optional to implement.") isnsServerIscsiControlNodeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 3)).setObjects(*(("ISNS-MIB", "isnsControlNodeIscsiIsRegistered"), ("ISNS-MIB", "isnsControlNodeIscsiRcvMgtSCN"), ("ISNS-MIB", "isnsControlNodeIscsiNodeName"), ) ) if mibBuilder.loadTexts: isnsServerIscsiControlNodeGroup.setDescription("iSNS Server iSCSI control node managed objects.") isnsServerIfcpPortControlNodeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 4)).setObjects(*(("ISNS-MIB", "isnsControlNodeFcPortRcvMgtSCN"), ("ISNS-MIB", "isnsControlNodeFcPortIsRegistered"), ) ) if mibBuilder.loadTexts: isnsServerIfcpPortControlNodeGroup.setDescription("iSNS Server iFCP Port control node managed objects.") isnsServerIscsiDdsDdObjGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 5)).setObjects(*(("ISNS-MIB", "isnsDdPortalMemberAddressType"), ("ISNS-MIB", "isnsDdPortalMemberPort"), ("ISNS-MIB", "isnsDdPortalMemberIsRegistered"), ("ISNS-MIB", "isnsDdsSymbolicName"), ("ISNS-MIB", "isnsDdPortalMemberPortType"), ("ISNS-MIB", "isnsDdsMemberSymbolicName"), ("ISNS-MIB", "isnsDdIscsiMemberIsRegistered"), ("ISNS-MIB", "isnsDdIscsiMemberName"), ("ISNS-MIB", "isnsDdSymbolicName"), ("ISNS-MIB", "isnsDdPortalMemberAddress"), ("ISNS-MIB", "isnsDdFeatures"), ("ISNS-MIB", "isnsDdsStatus"), ) ) if mibBuilder.loadTexts: isnsServerIscsiDdsDdObjGroup.setDescription("iSNS Server DDS and DD managed objects for iSCSI.") isnsServerIfcpDdsDdObjGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 6)).setObjects(*(("ISNS-MIB", "isnsDdPortalMemberIsRegistered"), ("ISNS-MIB", "isnsDdSymbolicName"), ("ISNS-MIB", "isnsDdPortalMemberAddress"), ("ISNS-MIB", "isnsDdPortalMemberPort"), ("ISNS-MIB", "isnsDdFeatures"), ("ISNS-MIB", "isnsDdsStatus"), ("ISNS-MIB", "isnsDdPortalMemberPortType"), ("ISNS-MIB", "isnsDdPortalMemberAddressType"), ("ISNS-MIB", "isnsDdsSymbolicName"), ("ISNS-MIB", "isnsDdFcPortMemberIsRegistered"), ) ) if mibBuilder.loadTexts: isnsServerIfcpDdsDdObjGroup.setDescription("iSNS Server DDS and DD managed objects for iFCP.") isnsServerRegIscsiObjGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 7)).setObjects(*(("ISNS-MIB", "isnsRegPortalScnPortType"), ("ISNS-MIB", "isnsRegEntityManagementAddress"), ("ISNS-MIB", "isnsRegEntityInfoNumPortalGroups"), ("ISNS-MIB", "isnsRegPortalPortType"), ("ISNS-MIB", "isnsRegPortalEsiPortType"), ("ISNS-MIB", "isnsRegIscsiNodeWwnToken"), ("ISNS-MIB", "isnsRegPgIscsiNodeIndex"), ("ISNS-MIB", "isnsRegPgPortalAddress"), ("ISNS-MIB", "isnsRegEntityTimestamp"), ("ISNS-MIB", "isnsRegEntityVersionMin"), ("ISNS-MIB", "isnsRegPortalAddressType"), ("ISNS-MIB", "isnsRegPgPortalPortType"), ("ISNS-MIB", "isnsRegIscsiNodeName"), ("ISNS-MIB", "isnsRegPortalEsiInterval"), ("ISNS-MIB", "isnsRegEntityInfoNumIscsiNodes"), ("ISNS-MIB", "isnsRegEntityEID"), ("ISNS-MIB", "isnsRegPgPGT"), ("ISNS-MIB", "isnsRegEntityInfoNumFcPorts"), ("ISNS-MIB", "isnsRegEntityVersionMax"), ("ISNS-MIB", "isnsRegPgIscsiName"), ("ISNS-MIB", "isnsRegPgPortalAddressType"), ("ISNS-MIB", "isnsRegEntityManagementAddressType"), ("ISNS-MIB", "isnsRegEntityInfoNumPortals"), ("ISNS-MIB", "isnsRegEntityInfoNumFcNodes"), ("ISNS-MIB", "isnsRegPortalSecurityInfo"), ("ISNS-MIB", "isnsRegPortalEsiPort"), ("ISNS-MIB", "isnsRegEntityRegistrationPeriod"), ("ISNS-MIB", "isnsRegPgPortalPortalIndex"), ("ISNS-MIB", "isnsRegEntityProtocol"), ("ISNS-MIB", "isnsRegIscsiNodeAlias"), ("ISNS-MIB", "isnsRegPortalPort"), ("ISNS-MIB", "isnsRegPortalSymbolicName"), ("ISNS-MIB", "isnsRegPortalAddress"), ("ISNS-MIB", "isnsRegIscsiNodeAuthMethod"), ("ISNS-MIB", "isnsRegIscsiNodeType"), ("ISNS-MIB", "isnsRegPortalScnPort"), ("ISNS-MIB", "isnsRegPgPortalPort"), ("ISNS-MIB", "isnsRegIscsiNodeScnTypes"), ) ) if mibBuilder.loadTexts: isnsServerRegIscsiObjGroup.setDescription("iSNS Server registered iSCSI managed objects.") isnsServerRegIfcpObjGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 8)).setObjects(*(("ISNS-MIB", "isnsRegFcPortFcNodeWwnn"), ("ISNS-MIB", "isnsRegFcNodeNumFcPorts"), ("ISNS-MIB", "isnsRegPortalAddressType"), ("ISNS-MIB", "isnsRegFcPortSymbolicName"), ("ISNS-MIB", "isnsRegEntityInfoNumIscsiNodes"), ("ISNS-MIB", "isnsRegEntityInfoNumFcPorts"), ("ISNS-MIB", "isnsRegEntityManagementAddressType"), ("ISNS-MIB", "isnsRegEntityInfoNumPortals"), ("ISNS-MIB", "isnsRegPortalSymbolicName"), ("ISNS-MIB", "isnsRegPortalSecurityInfo"), ("ISNS-MIB", "isnsRegEntityRegistrationPeriod"), ("ISNS-MIB", "isnsRegPortalScnPort"), ("ISNS-MIB", "isnsRegFcPortAddressType"), ("ISNS-MIB", "isnsRegFcPortFcCos"), ("ISNS-MIB", "isnsRegFcPortPpnWwn"), ("ISNS-MIB", "isnsRegEntityManagementAddress"), ("ISNS-MIB", "isnsRegPortalEsiPortType"), ("ISNS-MIB", "isnsRegEntityTimestamp"), ("ISNS-MIB", "isnsRegFcPortID"), ("ISNS-MIB", "isnsRegEntityInfoNumFcNodes"), ("ISNS-MIB", "isnsRegFcPortRole"), ("ISNS-MIB", "isnsRegPortalPort"), ("ISNS-MIB", "isnsRegFcNodeIPA"), ("ISNS-MIB", "isnsRegFcPortFc4Features"), ("ISNS-MIB", "isnsRegFcPortHA"), ("ISNS-MIB", "isnsRegFcNodeProxyIscsiName"), ("ISNS-MIB", "isnsRegEntityInfoNumPortalGroups"), ("ISNS-MIB", "isnsRegPortalPortType"), ("ISNS-MIB", "isnsRegFcPortFc4Descr"), ("ISNS-MIB", "isnsRegEntityEID"), ("ISNS-MIB", "isnsRegEntityVersionMax"), ("ISNS-MIB", "isnsRegFcPortFc4Types"), ("ISNS-MIB", "isnsRegFcNodeAddress"), ("ISNS-MIB", "isnsRegFcPortScnTypes"), ("ISNS-MIB", "isnsRegPortalAddress"), ("ISNS-MIB", "isnsRegFcNodePortEntityIndex"), ("ISNS-MIB", "isnsRegFcPortType"), ("ISNS-MIB", "isnsRegEntityVersionMin"), ("ISNS-MIB", "isnsRegFcNodeSymbolicName"), ("ISNS-MIB", "isnsRegPortalEsiInterval"), ("ISNS-MIB", "isnsRegFcPortAddress"), ("ISNS-MIB", "isnsRegPortalScnPortType"), ("ISNS-MIB", "isnsRegFcNodeAddressType"), ("ISNS-MIB", "isnsRegPortalEsiPort"), ("ISNS-MIB", "isnsRegFcPortFabricPortWwn"), ("ISNS-MIB", "isnsRegEntityProtocol"), ) ) if mibBuilder.loadTexts: isnsServerRegIfcpObjGroup.setDescription("iSNS Server registered iFCP managed objects.") isnsNotificationsObjGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 9)).setObjects(*(("ISNS-MIB", "isnsAddressNotification"), ("ISNS-MIB", "isnsUdpPortNotification"), ("ISNS-MIB", "isnsInstanceInfo"), ("ISNS-MIB", "isnsAddressNotificationType"), ("ISNS-MIB", "isnsTcpPortNotification"), ) ) if mibBuilder.loadTexts: isnsNotificationsObjGroup.setDescription("iSNS Notification managed objects.") isnsServerNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 163, 2, 2, 10)).setObjects(*(("ISNS-MIB", "isnsServerStart"), ("ISNS-MIB", "isnsServerShutdown"), ) ) if mibBuilder.loadTexts: isnsServerNotificationGroup.setDescription("iSNS Server Notification managed objects.") # Compliances isnsIscsiServerCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 163, 2, 1, 1)).setObjects(*(("ISNS-MIB", "isnsServerRegIscsiObjGroup"), ("ISNS-MIB", "isnsServerNumObjectsGroup"), ("ISNS-MIB", "isnsNotificationsObjGroup"), ("ISNS-MIB", "isnsServerIscsiDdsDdObjGroup"), ("ISNS-MIB", "isnsServerNotificationGroup"), ("ISNS-MIB", "isnsServerIscsiControlNodeGroup"), ("ISNS-MIB", "isnsServerAttributesGroup"), ) ) if mibBuilder.loadTexts: isnsIscsiServerCompliance.setDescription("Initial compliance statement for an iSNS Server\nproviding support to iSCSI clients.") isnsIfcpServerCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 163, 2, 1, 2)).setObjects(*(("ISNS-MIB", "isnsServerIfcpPortControlNodeGroup"), ("ISNS-MIB", "isnsServerIfcpDdsDdObjGroup"), ("ISNS-MIB", "isnsServerNumObjectsGroup"), ("ISNS-MIB", "isnsNotificationsObjGroup"), ("ISNS-MIB", "isnsServerNotificationGroup"), ("ISNS-MIB", "isnsServerAttributesGroup"), ("ISNS-MIB", "isnsServerRegIfcpObjGroup"), ) ) if mibBuilder.loadTexts: isnsIfcpServerCompliance.setDescription("Initial compliance statement for an iSNS Server\nproviding support to iFCP Clients.") # Exports # Module identity mibBuilder.exportSymbols("ISNS-MIB", PYSNMP_MODULE_ID=isnsMIB) # Types mibBuilder.exportSymbols("ISNS-MIB", IsnsDdDdsModificationType=IsnsDdDdsModificationType, IsnsDdFeatureType=IsnsDdFeatureType, IsnsDdsStatusType=IsnsDdsStatusType, IsnsDiscoveryDomainId=IsnsDiscoveryDomainId, IsnsDiscoveryDomainSetId=IsnsDiscoveryDomainSetId, IsnsEntityIndexIdOrZero=IsnsEntityIndexIdOrZero, IsnsFcClassOfServiceType=IsnsFcClassOfServiceType, IsnsFcPortRoleType=IsnsFcPortRoleType, IsnsIfcpScnType=IsnsIfcpScnType, IsnsIscsiNodeType=IsnsIscsiNodeType, IsnsIscsiScnType=IsnsIscsiScnType, IsnsNodeIndexId=IsnsNodeIndexId, IsnsPortalGroupIndexId=IsnsPortalGroupIndexId, IsnsPortalGroupTagIdOrNull=IsnsPortalGroupTagIdOrNull, IsnsPortalIndexId=IsnsPortalIndexId, IsnsPortalPortTypeId=IsnsPortalPortTypeId, IsnsPortalSecurityType=IsnsPortalSecurityType, IsnsSrvrDiscoveryMethodsType=IsnsSrvrDiscoveryMethodsType) # Objects mibBuilder.exportSymbols("ISNS-MIB", isnsMIB=isnsMIB, isnsNotifications=isnsNotifications, isnsObjects=isnsObjects, isnsServerInfo=isnsServerInfo, isnsServerTable=isnsServerTable, isnsServerEntry=isnsServerEntry, isnsServerIndex=isnsServerIndex, isnsServerName=isnsServerName, isnsServerIsnsVersion=isnsServerIsnsVersion, isnsServerVendorInfo=isnsServerVendorInfo, isnsServerPhysicalIndex=isnsServerPhysicalIndex, isnsServerTcpPort=isnsServerTcpPort, isnsServerUdpPort=isnsServerUdpPort, isnsServerDiscontinuityTime=isnsServerDiscontinuityTime, isnsServerRole=isnsServerRole, isnsServerDiscoveryMethodsEnabled=isnsServerDiscoveryMethodsEnabled, isnsServerDiscoveryMcGroupType=isnsServerDiscoveryMcGroupType, isnsServerDiscoveryMcGroupAddress=isnsServerDiscoveryMcGroupAddress, isnsServerEsiNonResponseThreshold=isnsServerEsiNonResponseThreshold, isnsServerEnableControlNodeMgtScn=isnsServerEnableControlNodeMgtScn, isnsServerDefaultDdDdsStatus=isnsServerDefaultDdDdsStatus, isnsServerUpdateDdDdsSupported=isnsServerUpdateDdDdsSupported, isnsServerUpdateDdDdsEnabled=isnsServerUpdateDdDdsEnabled, isnsNumObjectsTable=isnsNumObjectsTable, isnsNumObjectsEntry=isnsNumObjectsEntry, isnsNumDds=isnsNumDds, isnsNumDd=isnsNumDd, isnsNumEntities=isnsNumEntities, isnsNumPortals=isnsNumPortals, isnsNumPortalGroups=isnsNumPortalGroups, isnsNumIscsiNodes=isnsNumIscsiNodes, isnsNumFcPorts=isnsNumFcPorts, isnsNumFcNodes=isnsNumFcNodes, isnsControlNodeInfo=isnsControlNodeInfo, isnsControlNodeIscsiTable=isnsControlNodeIscsiTable, isnsControlNodeIscsiEntry=isnsControlNodeIscsiEntry, isnsControlNodeIscsiNodeIndex=isnsControlNodeIscsiNodeIndex, isnsControlNodeIscsiNodeName=isnsControlNodeIscsiNodeName, isnsControlNodeIscsiIsRegistered=isnsControlNodeIscsiIsRegistered, isnsControlNodeIscsiRcvMgtSCN=isnsControlNodeIscsiRcvMgtSCN, isnsControlNodeFcPortTable=isnsControlNodeFcPortTable, isnsControlNodeFcPortEntry=isnsControlNodeFcPortEntry, isnsControlNodeFcPortWwpn=isnsControlNodeFcPortWwpn, isnsControlNodeFcPortIsRegistered=isnsControlNodeFcPortIsRegistered, isnsControlNodeFcPortRcvMgtSCN=isnsControlNodeFcPortRcvMgtSCN, isnsDdsInfo=isnsDdsInfo, isnsDdsTable=isnsDdsTable, isnsDdsEntry=isnsDdsEntry, isnsDdsId=isnsDdsId, isnsDdsSymbolicName=isnsDdsSymbolicName, isnsDdsStatus=isnsDdsStatus, isnsDdsMemberTable=isnsDdsMemberTable, isnsDdsMemberEntry=isnsDdsMemberEntry, isnsDdsMemberDdId=isnsDdsMemberDdId, isnsDdsMemberSymbolicName=isnsDdsMemberSymbolicName, isnsDdInfo=isnsDdInfo, isnsDdTable=isnsDdTable, isnsDdEntry=isnsDdEntry, isnsDdId=isnsDdId, isnsDdSymbolicName=isnsDdSymbolicName, isnsDdFeatures=isnsDdFeatures, isnsDdIscsiMemberTable=isnsDdIscsiMemberTable, isnsDdIscsiMemberEntry=isnsDdIscsiMemberEntry, isnsDdIscsiMemberIndex=isnsDdIscsiMemberIndex, isnsDdIscsiMemberName=isnsDdIscsiMemberName, isnsDdIscsiMemberIsRegistered=isnsDdIscsiMemberIsRegistered, isnsDdPortalMemberTable=isnsDdPortalMemberTable, isnsDdPortalMemberEntry=isnsDdPortalMemberEntry, isnsDdPortalMemberIndex=isnsDdPortalMemberIndex, isnsDdPortalMemberAddressType=isnsDdPortalMemberAddressType, isnsDdPortalMemberAddress=isnsDdPortalMemberAddress, isnsDdPortalMemberPortType=isnsDdPortalMemberPortType, isnsDdPortalMemberPort=isnsDdPortalMemberPort, isnsDdPortalMemberIsRegistered=isnsDdPortalMemberIsRegistered, isnsDdFcPortMemberTable=isnsDdFcPortMemberTable, isnsDdFcPortMemberEntry=isnsDdFcPortMemberEntry, isnsDdFcPortMemberPortName=isnsDdFcPortMemberPortName, isnsDdFcPortMemberIsRegistered=isnsDdFcPortMemberIsRegistered, isnsReg=isnsReg, isnsRegEntityInfo=isnsRegEntityInfo, isnsRegEntityTable=isnsRegEntityTable, isnsRegEntityEntry=isnsRegEntityEntry, isnsRegEntityIndex=isnsRegEntityIndex, isnsRegEntityEID=isnsRegEntityEID, isnsRegEntityProtocol=isnsRegEntityProtocol, isnsRegEntityManagementAddressType=isnsRegEntityManagementAddressType, isnsRegEntityManagementAddress=isnsRegEntityManagementAddress, isnsRegEntityTimestamp=isnsRegEntityTimestamp, isnsRegEntityVersionMin=isnsRegEntityVersionMin, isnsRegEntityVersionMax=isnsRegEntityVersionMax, isnsRegEntityRegistrationPeriod=isnsRegEntityRegistrationPeriod, isnsRegEntityNumObjectsTable=isnsRegEntityNumObjectsTable, isnsRegEntityNumObjectsEntry=isnsRegEntityNumObjectsEntry, isnsRegEntityInfoNumPortals=isnsRegEntityInfoNumPortals, isnsRegEntityInfoNumPortalGroups=isnsRegEntityInfoNumPortalGroups, isnsRegEntityInfoNumIscsiNodes=isnsRegEntityInfoNumIscsiNodes, isnsRegEntityInfoNumFcPorts=isnsRegEntityInfoNumFcPorts, isnsRegEntityInfoNumFcNodes=isnsRegEntityInfoNumFcNodes, isnsRegPortalInfo=isnsRegPortalInfo, isnsRegPortalTable=isnsRegPortalTable, isnsRegPortalEntry=isnsRegPortalEntry, isnsRegPortalPortalIndex=isnsRegPortalPortalIndex, isnsRegPortalAddressType=isnsRegPortalAddressType, isnsRegPortalAddress=isnsRegPortalAddress, isnsRegPortalPortType=isnsRegPortalPortType, isnsRegPortalPort=isnsRegPortalPort, isnsRegPortalSymbolicName=isnsRegPortalSymbolicName, isnsRegPortalEsiInterval=isnsRegPortalEsiInterval, isnsRegPortalEsiPortType=isnsRegPortalEsiPortType, isnsRegPortalEsiPort=isnsRegPortalEsiPort, isnsRegPortalScnPortType=isnsRegPortalScnPortType, isnsRegPortalScnPort=isnsRegPortalScnPort, isnsRegPortalSecurityInfo=isnsRegPortalSecurityInfo, isnsRegPortalGroupInfo=isnsRegPortalGroupInfo, isnsRegPgTable=isnsRegPgTable, isnsRegPgEntry=isnsRegPgEntry, isnsRegPgIndex=isnsRegPgIndex, isnsRegPgIscsiNodeIndex=isnsRegPgIscsiNodeIndex, isnsRegPgIscsiName=isnsRegPgIscsiName, isnsRegPgPortalPortalIndex=isnsRegPgPortalPortalIndex, isnsRegPgPortalAddressType=isnsRegPgPortalAddressType, isnsRegPgPortalAddress=isnsRegPgPortalAddress, isnsRegPgPortalPortType=isnsRegPgPortalPortType, isnsRegPgPortalPort=isnsRegPgPortalPort, isnsRegPgPGT=isnsRegPgPGT, isnsRegIscsiNodeInfo=isnsRegIscsiNodeInfo) mibBuilder.exportSymbols("ISNS-MIB", isnsRegIscsiNodeTable=isnsRegIscsiNodeTable, isnsRegIscsiNodeEntry=isnsRegIscsiNodeEntry, isnsRegIscsiNodeIndex=isnsRegIscsiNodeIndex, isnsRegIscsiNodeName=isnsRegIscsiNodeName, isnsRegIscsiNodeType=isnsRegIscsiNodeType, isnsRegIscsiNodeAlias=isnsRegIscsiNodeAlias, isnsRegIscsiNodeScnTypes=isnsRegIscsiNodeScnTypes, isnsRegIscsiNodeWwnToken=isnsRegIscsiNodeWwnToken, isnsRegIscsiNodeAuthMethod=isnsRegIscsiNodeAuthMethod, isnsRegFcNodeInfo=isnsRegFcNodeInfo, isnsRegFcNodeTable=isnsRegFcNodeTable, isnsRegFcNodeEntry=isnsRegFcNodeEntry, isnsRegFcNodeWwnn=isnsRegFcNodeWwnn, isnsRegFcNodeSymbolicName=isnsRegFcNodeSymbolicName, isnsRegFcNodeAddressType=isnsRegFcNodeAddressType, isnsRegFcNodeAddress=isnsRegFcNodeAddress, isnsRegFcNodeIPA=isnsRegFcNodeIPA, isnsRegFcNodeProxyIscsiName=isnsRegFcNodeProxyIscsiName, isnsRegFcNodeNumFcPorts=isnsRegFcNodeNumFcPorts, isnsRegFcPortTable=isnsRegFcPortTable, isnsRegFcPortEntry=isnsRegFcPortEntry, isnsRegFcPortWwpn=isnsRegFcPortWwpn, isnsRegFcPortID=isnsRegFcPortID, isnsRegFcPortType=isnsRegFcPortType, isnsRegFcPortSymbolicName=isnsRegFcPortSymbolicName, isnsRegFcPortFabricPortWwn=isnsRegFcPortFabricPortWwn, isnsRegFcPortHA=isnsRegFcPortHA, isnsRegFcPortAddressType=isnsRegFcPortAddressType, isnsRegFcPortAddress=isnsRegFcPortAddress, isnsRegFcPortFcCos=isnsRegFcPortFcCos, isnsRegFcPortFc4Types=isnsRegFcPortFc4Types, isnsRegFcPortFc4Descr=isnsRegFcPortFc4Descr, isnsRegFcPortFc4Features=isnsRegFcPortFc4Features, isnsRegFcPortScnTypes=isnsRegFcPortScnTypes, isnsRegFcPortRole=isnsRegFcPortRole, isnsRegFcPortFcNodeWwnn=isnsRegFcPortFcNodeWwnn, isnsRegFcPortPpnWwn=isnsRegFcPortPpnWwn, isnsRegFcNodePortTable=isnsRegFcNodePortTable, isnsRegFcNodePortEntry=isnsRegFcNodePortEntry, isnsRegFcNodePortEntityIndex=isnsRegFcNodePortEntityIndex, isnsNotificationsInfo=isnsNotificationsInfo, isnsInstanceInfo=isnsInstanceInfo, isnsAddressNotificationType=isnsAddressNotificationType, isnsAddressNotification=isnsAddressNotification, isnsTcpPortNotification=isnsTcpPortNotification, isnsUdpPortNotification=isnsUdpPortNotification, isnsConformance=isnsConformance, isnsCompliances=isnsCompliances, isnsGroups=isnsGroups) # Notifications mibBuilder.exportSymbols("ISNS-MIB", isnsServerStart=isnsServerStart, isnsServerShutdown=isnsServerShutdown) # Groups mibBuilder.exportSymbols("ISNS-MIB", isnsServerAttributesGroup=isnsServerAttributesGroup, isnsServerNumObjectsGroup=isnsServerNumObjectsGroup, isnsServerIscsiControlNodeGroup=isnsServerIscsiControlNodeGroup, isnsServerIfcpPortControlNodeGroup=isnsServerIfcpPortControlNodeGroup, isnsServerIscsiDdsDdObjGroup=isnsServerIscsiDdsDdObjGroup, isnsServerIfcpDdsDdObjGroup=isnsServerIfcpDdsDdObjGroup, isnsServerRegIscsiObjGroup=isnsServerRegIscsiObjGroup, isnsServerRegIfcpObjGroup=isnsServerRegIfcpObjGroup, isnsNotificationsObjGroup=isnsNotificationsObjGroup, isnsServerNotificationGroup=isnsServerNotificationGroup) # Compliances mibBuilder.exportSymbols("ISNS-MIB", isnsIscsiServerCompliance=isnsIscsiServerCompliance, isnsIfcpServerCompliance=isnsIfcpServerCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/Printer-MIB.py0000644000014400001440000037374511736645137021104 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python Printer-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:29 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( hrDeviceIndex, hrStorageIndex, ) = mibBuilder.importSymbols("HOST-RESOURCES-MIB", "hrDeviceIndex", "hrStorageIndex") ( IANACharset, ) = mibBuilder.importSymbols("IANA-CHARSET-MIB", "IANACharset") ( PrtAlertCodeTC, PrtAlertGroupTC, PrtAlertTrainingLevelTC, PrtChannelTypeTC, PrtConsoleColorTC, PrtConsoleDisableTC, PrtCoverStatusTC, PrtGeneralResetTC, PrtInputTypeTC, PrtInterpreterLangFamilyTC, PrtMarkerMarkTechTC, PrtMarkerSuppliesTypeTC, PrtMediaPathTypeTC, PrtOutputTypeTC, ) = mibBuilder.importSymbols("IANA-PRINTER-MIB", "PrtAlertCodeTC", "PrtAlertGroupTC", "PrtAlertTrainingLevelTC", "PrtChannelTypeTC", "PrtConsoleColorTC", "PrtConsoleDisableTC", "PrtCoverStatusTC", "PrtGeneralResetTC", "PrtInputTypeTC", "PrtInterpreterLangFamilyTC", "PrtMarkerMarkTechTC", "PrtMarkerSuppliesTypeTC", "PrtMediaPathTypeTC", "PrtOutputTypeTC") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class CapacityUnit(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(16,17,8,3,4,) namedValues = NamedValues(("feet", 16), ("meters", 17), ("tenThousandthsOfInches", 3), ("micrometers", 4), ("sheets", 8), ) class CodedCharSet(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,) namedValues = NamedValues(("other", 1), ) class MediaUnit(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,) namedValues = NamedValues(("tenThousandthsOfInches", 3), ("micrometers", 4), ) class PresentOnOff(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,1,5,) namedValues = NamedValues(("other", 1), ("on", 3), ("off", 4), ("notPresent", 5), ) class PrtAlertSeverityLevelTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,3,5,4,) namedValues = NamedValues(("other", 1), ("critical", 3), ("warning", 4), ("warningBinaryChangeEvent", 5), ) class PrtCapacityUnitTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(16,17,8,3,2,19,4,1,18,) namedValues = NamedValues(("other", 1), ("feet", 16), ("meters", 17), ("items", 18), ("percent", 19), ("unknown", 2), ("tenThousandthsOfInches", 3), ("micrometers", 4), ("sheets", 8), ) class PrtChannelStateTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,1,) namedValues = NamedValues(("other", 1), ("printDataAccepted", 3), ("noDataAccepted", 4), ) class PrtConsoleDescriptionStringTC(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class PrtInterpreterTwoWayTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,) namedValues = NamedValues(("yes", 3), ("no", 4), ) class PrtLocalizedDescriptionStringTC(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class PrtMarkerAddressabilityUnitTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,) namedValues = NamedValues(("tenThousandthsOfInches", 3), ("micrometers", 4), ) class PrtMarkerColorantRoleTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,1,) namedValues = NamedValues(("other", 1), ("process", 3), ("spot", 4), ) class PrtMarkerCounterUnitTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,11,17,8,3,7,16,6,4,9,) namedValues = NamedValues(("hours", 11), ("feet", 16), ("meters", 17), ("tenThousandthsOfInches", 3), ("micrometers", 4), ("characters", 5), ("lines", 6), ("impressions", 7), ("sheets", 8), ("dotRow", 9), ) class PrtMarkerSuppliesClassTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,4,) namedValues = NamedValues(("other", 1), ("supplyThatIsConsumed", 3), ("receptacleThatIsFilled", 4), ) class PrtMarkerSuppliesSupplyUnitTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(12,15,2,14,13,4,11,19,1,17,8,3,7,18,16,) namedValues = NamedValues(("other", 1), ("hours", 11), ("thousandthsOfOunces", 12), ("tenthsOfGrams", 13), ("hundrethsOfFluidOunces", 14), ("tenthsOfMilliliters", 15), ("feet", 16), ("meters", 17), ("items", 18), ("percent", 19), ("unknown", 2), ("tenThousandthsOfInches", 3), ("micrometers", 4), ("impressions", 7), ("sheets", 8), ) class PrtMediaPathMaxSpeedPrintUnitTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(6,5,4,3,17,7,9,16,8,) namedValues = NamedValues(("feetPerHour", 16), ("metersPerHour", 17), ("tenThousandthsOfInchesPerHour", 3), ("micrometersPerHour", 4), ("charactersPerHour", 5), ("linesPerHour", 6), ("impressionsPerHour", 7), ("sheetsPerHour", 8), ("dotRowPerHour", 9), ) class PrtMediaUnitTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,) namedValues = NamedValues(("tenThousandthsOfInches", 3), ("micrometers", 4), ) class PrtOutputPageDeliveryOrientationTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,) namedValues = NamedValues(("faceUp", 3), ("faceDown", 4), ) class PrtOutputStackingOrderTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,3,) namedValues = NamedValues(("unknown", 2), ("firstToLast", 3), ("lastToFirst", 4), ) class PrtPrintOrientationTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,3,4,) namedValues = NamedValues(("other", 1), ("portrait", 3), ("landscape", 4), ) class PrtSubUnitStatusTC(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,126) class SubUnitStatus(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,126) # Objects printmib = ModuleIdentity((1, 3, 6, 1, 2, 1, 43)).setRevisions(("2004-06-02 00:00","1994-11-25 00:00",)) if mibBuilder.loadTexts: printmib.setOrganization("PWG IEEE/ISTO Printer Working Group") if mibBuilder.loadTexts: printmib.setContactInfo("Harry Lewis\nIBM\nPhone (303) 924-5337\nEmail: harryl@us.ibm.com\nhttp://www.pwg.org/index.html\n\nSend comments to the printmib WG using the Printer MIB\nProject (PMP) Mailing List: pmp@pwg.org\n\nFor further information, access the PWG web page under 'Printer\nMIB': http://www.pwg.org/\n\nImplementers of this specification are encouraged to join the\npmp mailing list in order to participate in discussions on any\nclarifications needed and registration proposals being reviewed\nin order to achieve consensus.") if mibBuilder.loadTexts: printmib.setDescription("The MIB module for management of printers.\nCopyright (C) The Internet Society (2004). This\nversion of this MIB module was published\nin RFC 3805. For full legal notices see the RFC itself.") prtMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 2)) prtMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 2, 2)) prtMIB2Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 2, 4)) prtGeneral = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 5)) prtGeneralTable = MibTable((1, 3, 6, 1, 2, 1, 43, 5, 1)) if mibBuilder.loadTexts: prtGeneralTable.setDescription("A table of general information per printer.\nObjects in this table are defined in various\nplaces in the MIB, nearby the groups to\nwhich they apply. They are all defined\nhere to minimize the number of tables that would\notherwise need to exist.") prtGeneralEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 5, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex")) if mibBuilder.loadTexts: prtGeneralEntry.setDescription("An entry exists in this table for each device entry in the\nhost resources MIB device table with a device type of\n'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtGeneralConfigChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtGeneralConfigChanges.setDescription("Counts configuration changes within the printer. A\nconfiguration change is defined to be an action that results in\na change to any MIB object other than those that reflect status\nor level, or those that act as counters or gauges. In addition,\nany action that results in a row being added or deleted from\nany table in the Printer MIB is considered a configuration\nchange. Such changes will often affect the capability of the\nprinter to service certain types of print jobs. Management\napplications may cache infrequently changed configuration\ninformation about sub units within the printer. This object\nshould be incremented whenever the agent wishes to notify\nmanagement applications that any cached configuration\ninformation for this device is to be considered 'stale'. At\nthis point, the management application should flush any\nconfiguration information cached about this device and fetch\n\n\n\nnew configuration information.\n\nThe following are examples of actions that would cause the\nprtGeneralConfigChanges object to be incremented:\n\n- Adding an output bin\n- Changing the media in a sensing input tray\n- Changing the value of prtInputMediaType\n\nNote that the prtGeneralConfigChanges counter would not be\nincremented when an input tray is temporarily removed to load\nadditional paper or when the level of an input device changes.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtGeneralCurrentLocalization = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtGeneralCurrentLocalization.setDescription("The value of the prtLocalizationIndex corresponding to the\ncurrent language, country, and character set to be used for\nlocalized string values that are identified as being dependent\non the value of this object. Note that this object does not\napply to localized strings in the prtConsole group or to any\nobject that is not explicitly identified as being localized\naccording to prtGeneralCurrentLocalization. When an object's\n'charset' is controlled by the value of\nprtGeneralCurrentLocalization, it MUST specify\nPrtLocalizedDescriptionStringTC as its syntax.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtGeneralReset = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 3), PrtGeneralResetTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtGeneralReset.setDescription("Setting this value to 'powerCycleReset', 'resetToNVRAM', or\n'resetToFactoryDefaults' will result in the resetting of the\nprinter. When read, this object will always have the value\n\n\n\n'notResetting(3)', and a SET of the value 'notResetting' shall\nhave no effect on the printer. Some of the defined values are\noptional. However, every implementation must support at least\nthe values 'notResetting' and 'resetToNVRAM'.") prtGeneralCurrentOperator = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtGeneralCurrentOperator.setDescription("The name of the person who is responsible for operating\nthis printer. It is suggested that this string include\ninformation that would enable other humans to reach the\noperator, such as a phone number. As a convention to\nfacilitate automatic notification of the operator by the\nagent or network management station, the phone number,\nfax number or email address should be indicated by the\nURL schemes 'tel:', 'fax:' and 'mailto:', respectively.\nIf either the phone, fax, or email information is not\navailable, then a line should not be included for this\ninformation.\n\nNOTE: For interoperability purposes, it is advisable to\nuse email addresses formatted according to [RFC2822]\nrequirements.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtGeneralServicePerson = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtGeneralServicePerson.setDescription("The name of the person responsible for servicing this\nprinter. It is suggested that this string include\ninformation that would enable other humans to reach the\nservice person, such as a phone number. As a convention\nto facilitate automatic notification of the operator by\nthe agent or network management station, the phone\nnumber, fax number or email address should be indicated\nby the URL schemes 'tel:', 'fax:' and 'mailto:',\nrespectively. If either the phone, fax, or email\ninformation is not available, then a line should not\n\n\n\nbe included for this information.\n\nNOTE: For interoperability purposes, it is advisable to use\nemail addresses formatted per [RFC2822] requirements.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInputDefaultIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputDefaultIndex.setDescription("The value of prtInputIndex corresponding to the default input\nsub-unit: that is, this object selects the default source of\ninput media.") prtOutputDefaultIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputDefaultIndex.setDescription("The value of prtOutputIndex corresponding to the default\noutput sub-unit; that is, this object selects the default\noutput destination.") prtMarkerDefaultIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtMarkerDefaultIndex.setDescription("The value of prtMarkerIndex corresponding to the\ndefault marker sub-unit; that is, this object selects the\ndefault marker.") prtMediaPathDefaultIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtMediaPathDefaultIndex.setDescription("The value of prtMediaPathIndex corresponding to\nthe default media path; that is, the selection of the\ndefault media path.") prtConsoleLocalization = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtConsoleLocalization.setDescription("The value of the prtLocalizationIndex corresponding to\nthe language, country, and character set to be used for the\nconsole. This localization applies both to the actual display\non the console as well as the encoding of these console objects\nin management operations. When an object's 'charset' is\ncontrolled by the value of prtConsoleLocalization, it MUST\nspecify PrtConsoleDescriptionStringTC as its syntax.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleNumberOfDisplayLines = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtConsoleNumberOfDisplayLines.setDescription("The number of lines on the printer's physical\ndisplay. This value is 0 if there are no lines on the\nphysical display or if there is no physical display") prtConsoleNumberOfDisplayChars = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtConsoleNumberOfDisplayChars.setDescription("The number of characters per line displayed on the physical\n\n\n\ndisplay. This value is 0 if there are no lines on the physical\ndisplay or if there is no physical display") prtConsoleDisable = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 13), PrtConsoleDisableTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtConsoleDisable.setDescription("This value indicates how input is (or is not) accepted from\nthe operator console.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAuxiliarySheetStartupPage = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 14), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtAuxiliarySheetStartupPage.setDescription("Used to enable or disable printing a startup page. If enabled,\na startup page will be printed shortly after power-up, when the\ndevice is ready. Typical startup pages include test patterns\nand/or printer configuration information.") prtAuxiliarySheetBannerPage = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 15), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtAuxiliarySheetBannerPage.setDescription("Used to enable or disable printing banner pages at the\nbeginning of jobs. This is a master switch which applies to all\njobs, regardless of interpreter.") prtGeneralPrinterName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtGeneralPrinterName.setDescription("An administrator-specified name for this printer. Depending\nupon implementation of this printer, the value of this object\nmay or may not be same as the value for the MIB-II 'SysName'\nobject.") prtGeneralSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtGeneralSerialNumber.setDescription("A recorded serial number for this device that indexes some\ntype device catalog or inventory. This value is usually set by\nthe device manufacturer but the MIB supports the option of\nwriting for this object for site-specific administration of\ndevice inventory or tracking.") prtAlertCriticalEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertCriticalEvents.setDescription("A running counter of the number of critical alert events that\nhave been recorded in the alert table. The value of this object\nis RESET in the event of a power cycle operation (i.e., the\nvalue is not persistent.") prtAlertAllEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertAllEvents.setDescription("A running counter of the total number of alert event entries\n(critical and non-critical) that have been recorded in the\nalert table") prtStorageRefTable = MibTable((1, 3, 6, 1, 2, 1, 43, 5, 2)) if mibBuilder.loadTexts: prtStorageRefTable.setDescription("This table defines which printer, amongst multiple printers\nserviced by one agent, owns which storage units.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtStorageRefEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 5, 2, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrStorageIndex"), (0, "Printer-MIB", "prtStorageRefSeqNumber")) if mibBuilder.loadTexts: prtStorageRefEntry.setDescription("This table will have an entry for each entry in the Host\nResources MIB storage table that represents storage associated\nwith a printer managed by this agent.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtStorageRefSeqNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtStorageRefSeqNumber.setDescription("This value will be unique amongst all entries with a common\nvalue of hrStorageIndex. This object allows a storage entry to\npoint to the multiple printer devices with which it is\nassociated.") prtStorageRefIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtStorageRefIndex.setDescription("The value of the hrDeviceIndex of the printer device that this\nstorageEntry is associated with.") prtDeviceRefTable = MibTable((1, 3, 6, 1, 2, 1, 43, 5, 3)) if mibBuilder.loadTexts: prtDeviceRefTable.setDescription("This table defines which printer, amongst multiple printers\nserviced by one agent, is associated with which devices.\n\nNOTE: The above description has been modified from RFC 1759\n\n\n\nfor clarification.") prtDeviceRefEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 5, 3, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtDeviceRefSeqNumber")) if mibBuilder.loadTexts: prtDeviceRefEntry.setDescription("This table will have an entry for each entry in the Host\nResources MIB device table that represents a device associated\nwith a printer managed by this agent.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtDeviceRefSeqNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtDeviceRefSeqNumber.setDescription("This value will be unique amongst all entries with a common\nvalue of hrDeviceIndex. This object allows a device entry to\npoint to the multiple printer devices with which it is\nassociated.") prtDeviceRefIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtDeviceRefIndex.setDescription("The value of the hrDeviceIndex of the printer device that this\ndeviceEntry is associated with.") prtCover = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 6)) prtCoverTable = MibTable((1, 3, 6, 1, 2, 1, 43, 6, 1)) if mibBuilder.loadTexts: prtCoverTable.setDescription("A table of the covers and interlocks of the printer.") prtCoverEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 6, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtCoverIndex")) if mibBuilder.loadTexts: prtCoverEntry.setDescription("Information about a cover or interlock.\nEntries may exist in the table for each device\nindex with a device type of 'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtCoverIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtCoverIndex.setDescription("A unique value used by the printer to identify this Cover sub\n\n\n\nunit. Although these values may change due to a major\nreconfiguration of the device (e.g., the addition of new cover\nsub-units to the printer), values SHOULD remain stable across\nsuccessive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtCoverDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 6, 1, 1, 2), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtCoverDescription.setDescription("The manufacturer provided cover sub-mechanism name in the\nlocalization specified by prtGeneralCurrentLocalization.") prtCoverStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 6, 1, 1, 3), PrtCoverStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtCoverStatus.setDescription("The status of this cover sub-unit.") prtLocalization = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 7)) prtLocalizationTable = MibTable((1, 3, 6, 1, 2, 1, 43, 7, 1)) if mibBuilder.loadTexts: prtLocalizationTable.setDescription("The available localizations in this printer.") prtLocalizationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 7, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtLocalizationIndex")) if mibBuilder.loadTexts: prtLocalizationEntry.setDescription("A description of a localization.\nEntries may exist in the table for each device\nindex with a device type of 'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtLocalizationIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtLocalizationIndex.setDescription("A unique value used by the printer to identify this\nlocalization entry. Although these values may change due to a\nmajor reconfiguration of the device (e.g., the addition of new\nlocalization data to the printer), values SHOULD remain\nstable across successive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtLocalizationLanguage = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 7, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: prtLocalizationLanguage.setDescription("A two character language code from ISO 639. Examples en,\nes, fr, de. NOTE: These examples were shown as upper case in\nRFC 1759 and are now shown as lower case to agree with ISO 639.") prtLocalizationCountry = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 7, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: prtLocalizationCountry.setDescription("A two character country code from ISO 3166, a blank string\n(two space characters) shall indicate that the country is not\ndefined. Examples: US, GB, FR, DE, ...") prtLocalizationCharacterSet = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 7, 1, 1, 4), IANACharset()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtLocalizationCharacterSet.setDescription("The coded character set used for this localization.") prtInput = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 8)) prtInputTable = MibTable((1, 3, 6, 1, 2, 1, 43, 8, 2)) if mibBuilder.loadTexts: prtInputTable.setDescription("A table of the devices capable of providing media for input to\nthe printing process.") prtInputEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 8, 2, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtInputIndex")) if mibBuilder.loadTexts: prtInputEntry.setDescription("Attributes of a device capable of providing media for input to\nthe printing process. Entries may exist in the table for each\ndevice index with a device type of 'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInputIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtInputIndex.setDescription("A unique value used by the printer to identify this input\nsub-unit. Although these values may change due to a major\nreconfiguration of the device (e.g., the addition of new input\nsub-units to the printer), values SHOULD remain stable across\nsuccessive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInputType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 2), PrtInputTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputType.setDescription("The type of technology (discriminated primarily according to\nfeeder mechanism type) employed by the input sub-unit. Note,\nthe Input Class provides for a descriptor field to further\nqualify the other choice.") prtInputDimUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 3), PrtMediaUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputDimUnit.setDescription("The unit of measurement for use calculating and relaying\ndimensional values for this input sub-unit.") prtInputMediaDimFeedDirDeclared = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaDimFeedDirDeclared.setDescription("This object provides the value of the declared dimension, in\nthe feed direction, of the media that is (or, if empty, was or\nwill be) in this input sub-unit. The feed direction is the\ndirection in which the media is fed on this sub-unit. This\ndimension is measured in input sub-unit dimensional units\n(controlled by prtInputDimUnit, which uses PrtMediaUnitTC). If\nthis input sub-unit can reliably sense this value, the value is\nsensed by the printer and may not be changed by management\nrequests. Otherwise, the value may be changed. The value (-1)\nmeans other and specifically means that this sub-unit places no\nrestriction on this parameter. The value (-2) indicates\nunknown.") prtInputMediaDimXFeedDirDeclared = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaDimXFeedDirDeclared.setDescription("This object provides the value of the declared dimension, in\nthe cross feed direction, of the media that is (or, if empty,\nwas or will be) in this input sub-unit. The cross feed\ndirection is ninety degrees relative to the feed direction\nassociated with this sub-unit. This dimension is measured in\ninput sub-unit dimensional units (controlled by\nprtInputDimUnit,which uses PrtMediaUnitTC). If this input sub-\nunit can reliably sense this value, the value is sensed by the\nprinter and may not be changed by management requests.\nOtherwise, the value may be changed. The value (-1) means other\nand specifically means that this sub-unit places no restriction\non this parameter. The value (-2) indicates unknown.") prtInputMediaDimFeedDirChosen = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputMediaDimFeedDirChosen.setDescription("The printer will act as if media of the chosen dimension (in\nthe feed direction) is present in this input source. Note that\nthis value will be used even if the input tray is empty. Feed\ndimension measurements are taken relative to the feed direction\nassociated with that sub-unit and are in input sub-unit\ndimensional units (controlled by prtInputDimUnit, which uses\nPrtMediaUnitTC). If the printer supports the declared\ndimension,the granted dimension is the same as the declared\ndimension. If not, the granted dimension is set to the closest\ndimension that the printer supports when the declared dimension\nis set. The value (-1) means other and specifically indicates\nthat this sub-unit places no restriction on this parameter. The\nvalue (-2)indicates unknown.") prtInputMediaDimXFeedDirChosen = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputMediaDimXFeedDirChosen.setDescription("The printer will act as if media of the chosen dimension (in\nthe cross feed direction) is present in this input source. Note\nthat this value will be used even if the input tray is empty.\nThe cross feed direction is ninety degrees relative to the feed\ndirection associated with this sub-unit. This dimension is\nmeasured in input sub-unit dimensional units (controlled by\nprtInputDimUnit, which uses PrtMediaUnitTC). If the printer\nsupports the declare dimension, the granted dimension is the\nsame as the declared dimension. If not, the granted dimension\nis set to the closest dimension that the printer supports when\nthe declared dimension is set. The value (-1) means other and\nspecifically indicates that this sub-unit places no restriction\non this parameter. The value (-2) indicates unknown.") prtInputCapacityUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 8), PrtCapacityUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputCapacityUnit.setDescription("The unit of measurement for use in calculating and relaying\ncapacity values for this input sub-unit.") prtInputMaxCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMaxCapacity.setDescription("The maximum capacity of the input sub-unit in input sub-unit\ncapacity units (PrtCapacityUnitTC). There is no convention\nassociated with the media itself so this value reflects claimed\ncapacity. If this input sub-unit can reliably sense this value,\nthe value is sensed by the printer and may not be changed by\nmanagement requests; otherwise, the value may be written (by a\nRemote Control Panel or a Management Application). The value\n(-1) means other and specifically indicates that the sub-unit\nplaces no restrictions on this parameter. The value (-2) means\nunknown.") prtInputCurrentLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-3, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputCurrentLevel.setDescription("The current capacity of the input sub-unit in input sub-unit\ncapacity units (PrtCapacityUnitTC). If this input sub-unit can\nreliably sense this value, the value is sensed by the printer\nand may not be changed by management requests; otherwise, the\nvalue may be written (by a Remote Control Panel or a Management\nApplication). The value (-1) means other and specifically\nindicates that the sub-unit places no restrictions on this\nparameter. The value (-2) means unknown. The value (-3) means\nthat the printer knows that at least one unit remains.") prtInputStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 11), PrtSubUnitStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputStatus.setDescription("The current status of this input sub-unit.") prtInputMediaName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaName.setDescription("A description of the media contained in this input sub-unit;\nThis description is to be used by a client to format and\nLocalize a string for display to a human operator. This\ndescription is not processed by the printer. It is used to\nprovide information not expressible in terms of the other\nmedia attributes (e.g., prtInputMediaDimFeedDirChosen,\nprtInputMediaDimXFeedDirChosen, prtInputMediaWeight,\nprtInputMediaType).") prtInputName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputName.setDescription("The name assigned to this input sub-unit.") prtInputVendorName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputVendorName.setDescription("The vendor name of this input sub-unit.") prtInputModel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputModel.setDescription("The model name of this input sub-unit.") prtInputVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputVersion.setDescription("The version of this input sub-unit.") prtInputSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputSerialNumber.setDescription("The serial number assigned to this input sub-unit.") prtInputDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 18), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInputDescription.setDescription("A free-form text description of this input sub-unit in the\nlocalization specified by prtGeneralCurrentLocalization.") prtInputSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 19), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputSecurity.setDescription("Indicates if this input sub-unit has some security associated\nwith it.") prtInputMediaWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaWeight.setDescription("The weight of the medium associated with this input sub-unit\nin grams / per meter squared. The value (-2) means unknown.") prtInputMediaType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 21), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaType.setDescription("The name of the type of medium associated with this input sub\nunit. This name need not be processed by the printer; it might\nsimply be displayed to an operator.\n\nNOTE: The above description has been modified from RFC 1759.") prtInputMediaColor = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 22), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaColor.setDescription("The name of the color of the medium associated with\nthis input sub-unit using standardized string values.\n\nNOTE: The above description has been modified from RFC 1759.") prtInputMediaFormParts = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaFormParts.setDescription("The number of parts associated with the medium\nassociated with this input sub-unit if the medium is a\nmulti-part form. The value (-1) means other and\nspecifically indicates that the device places no\nrestrictions on this parameter. The value (-2) means\nunknown.") prtInputMediaLoadTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputMediaLoadTimeout.setDescription("When the printer is not able to print due to a subunit being\nempty or the requested media must be manually loaded, the\nprinter will wait for the duration (in seconds) specified by\nthis object. Upon expiration of the time-out, the printer will\ntake the action specified by prtInputNextIndex.\n\nThe event which causes the printer to enter the waiting state\nis product specific. If the printer is not waiting for manually\nfed media, it may switch from an empty subunit to a different\nsubunit without waiting for the time-out to expire.\n\nA value of (-1) implies 'other' or 'infinite' which translates\nto 'wait forever'. The action which causes printing to continue\nis product specific. A value of (-2) implies 'unknown'.") prtInputNextIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 8, 2, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-3, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInputNextIndex.setDescription("The value of prtInputIndex corresponding to the input subunit\nwhich will be used when this input subunit is emptied and the\ntime-out specified by prtInputMediaLoadTimeout expires. A value\nof zero(0) indicates that auto input switching will not occur\nwhen this input subunit is emptied. If the time-out specified\nby prtInputLoadMediaTimeout expires and this value is zero(0),\nthe job will be aborted. A value of (-1) means other. The\nvalue (-2)means 'unknown' and specifically indicates that an\nimplementation specific method will determine the next input\nsubunit to use at the time this subunit is emptied and the time\nout expires. The value(-3) means input switching is not\nsupported for this subunit.") prtOutput = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 9)) prtOutputTable = MibTable((1, 3, 6, 1, 2, 1, 43, 9, 2)) if mibBuilder.loadTexts: prtOutputTable.setDescription("A table of the devices capable of receiving media delivered\nfrom the printing process.") prtOutputEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 9, 2, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtOutputIndex")) if mibBuilder.loadTexts: prtOutputEntry.setDescription("Attributes of a device capable of receiving media delivered\nfrom the printing process. Entries may exist in the table for\neach device index with a device type of 'printer'.\n\n\n\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtOutputIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtOutputIndex.setDescription("A unique value used by this printer to identify this output\nsub-unit. Although these values may change due to a major\nreconfiguration of the sub-unit (e.g., the addition of new\noutput devices to the printer), values SHOULD remain stable\nacross successive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtOutputType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 2), PrtOutputTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputType.setDescription("The type of technology supported by this output sub-unit.") prtOutputCapacityUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 3), PrtCapacityUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputCapacityUnit.setDescription("The unit of measurement for use in calculating and relaying\ncapacity values for this output sub-unit.") prtOutputMaxCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputMaxCapacity.setDescription("The maximum capacity of this output sub-unit in output sub-\nunit capacity units (PrtCapacityUnitTC). There is no convention\nassociated with the media itself so this value essentially\nreflects claimed capacity. If this output sub-unit can reliably\nsense this value, the value is sensed by the printer and may\nnot be changed by management requests; otherwise, the value may\nbe written (by a Remote Control Panel or a Management\nApplication). The value (-1) means other and specifically\nindicates that the sub-unit places no restrictions on this\nparameter. The value (-2) means unknown.") prtOutputRemainingCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-3, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputRemainingCapacity.setDescription("The remaining capacity of the possible output sub-unit\ncapacity in output sub-unit capacity units\n(PrtCapacityUnitTC)of this output sub-unit. If this output sub-\nunit can reliably sense this value, the value is sensed by the\nprinter and may not be modified by management requests;\n\n\n\notherwise, the value may be written (by a Remote Control Panel\nor a Management Application). The value (-1) means other and\nspecifically indicates that the sub-unit places no restrictions\non this parameter. The value (-2) means unknown. The value\n(-3) means that the printer knows that there remains capacity\nfor at least one unit.") prtOutputStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 6), PrtSubUnitStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputStatus.setDescription("The current status of this output sub-unit.") prtOutputName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputName.setDescription("The name assigned to this output sub-unit.") prtOutputVendorName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputVendorName.setDescription("The vendor name of this output sub-unit.") prtOutputModel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputModel.setDescription("The model name assigned to this output sub-unit.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtOutputVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputVersion.setDescription("The version of this output sub-unit.") prtOutputSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputSerialNumber.setDescription("The serial number assigned to this output sub-unit.") prtOutputDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 12), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputDescription.setDescription("A free-form text description of this output sub-unit in the\nlocalization specified by prtGeneralCurrentLocalization.") prtOutputSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 13), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputSecurity.setDescription("Indicates if this output sub-unit has some security associated\nwith it and if that security is enabled or not.") prtOutputDimUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 14), PrtMediaUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtOutputDimUnit.setDescription("The unit of measurement for use in calculating and relaying\ndimensional values for this output sub-unit.") prtOutputMaxDimFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputMaxDimFeedDir.setDescription("The maximum dimensions supported by this output sub-unit\nfor measurements taken parallel relative to the feed\ndirection associated with that sub-unit in output\nsub-unit dimensional units (controlled by prtOutputDimUnit,\nwhich uses PrtMediaUnitTC). If this output sub-unit can\nreliably sense this value, the value is sensed by the printer\nand may not be changed with management protocol operations.\nThe value (-1) means other and specifically indicates that the\nsub-unit places no restrictions on this parameter. The value\n(-2) means unknown.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification and to explain the purpose of (-1) and (-2).") prtOutputMaxDimXFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputMaxDimXFeedDir.setDescription("The maximum dimensions supported by this output sub-unit\nfor measurements taken ninety degrees relative to the\nfeed direction associated with that sub-unit in output\nsub-unit dimensional units (controlled by prtOutputDimUnit,\nwhich uses PrtMediaUnitTC). If this output sub-unit can\nreliably sense this value, the value is sensed by the printer\nand may not be changed with management protocol operations.\nThe value (-1) means other and specifically indicates that the\nsub-unit places no restrictions on this parameter. The value\n(-2) means unknown.\n\n\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification and to explain the purpose of (-1) and (-2).") prtOutputMinDimFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputMinDimFeedDir.setDescription("The minimum dimensions supported by this output sub-unit\nfor measurements taken parallel relative to the feed\ndirection associated with that sub-unit in output\nsub-unit dimensional units (controlled by prtOutputDimUnit,\nwhich uses PrtMediaUnitTC). If this output sub-unit can\nreliably sense this value, the value is sensed by the printer\nand may not be changed with management protocol operations.\nThe value (-1) means other and specifically indicates that the\nsub-unit places no restrictions on this parameter. The value\n(-2) means unknown.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification and to explain the purpose of (-1) and (-2).") prtOutputMinDimXFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputMinDimXFeedDir.setDescription("The minimum dimensions supported by this output sub-unit\nfor measurements taken ninety degrees relative to the\nfeed direction associated with that sub-unit in output\nsub-unit dimensional units (controlled by prtOutputDimUnit,\nwhich uses PrtMediaUnitTC). If this output sub-unit can\nreliably sense this value, the value is sensed by the printer\nand may not be changed with management protocol operations.\nThe value (-1) means other and specifically indicates that the\nsub-unit places no restrictions on this parameter. The value\n(-2) means unknown.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification and to explain the purpose of (-1) and (-2).") prtOutputStackingOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 19), PrtOutputStackingOrderTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputStackingOrder.setDescription("The current state of the stacking order for the\nassociated output sub-unit. 'FirstToLast' means\nthat as pages are output the front of the next page is\nplaced against the back of the previous page.\n'LasttoFirst' means that as pages are output the back\nof the next page is placed against the front of the\nprevious page.") prtOutputPageDeliveryOrientation = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 20), PrtOutputPageDeliveryOrientationTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputPageDeliveryOrientation.setDescription("The reading surface that will be 'up' when pages are\ndelivered to the associated output sub-unit. Values are\nfaceUp and faceDown. (Note: interpretation of these\nvalues is in general context-dependent based on locale;\npresentation of these values to an end-user should be\nnormalized to the expectations of the user).") prtOutputBursting = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 21), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputBursting.setDescription("This object indicates that the outputting sub-unit supports\nbursting, and if so, whether the feature is enabled. Bursting\nis the process by which continuous media is separated into\nindividual sheets, typically by bursting along pre-formed\nperforations.") prtOutputDecollating = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 22), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputDecollating.setDescription("This object indicates that the output supports decollating,\nand if so, whether the feature is enabled. Decollating is the\nprocess by which the individual parts within a multi-part form\nare separated and sorted into separate stacks for each part.") prtOutputPageCollated = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 23), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputPageCollated.setDescription("This object indicates that the output sub-unit supports page\ncollation, and if so, whether the feature is enabled. See RFC\n3805 Appendix A, Glossary Of Terms, for definition of how this\ndocument defines collation.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtOutputOffsetStacking = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 9, 2, 1, 24), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtOutputOffsetStacking.setDescription("This object indicates that the output supports offset\nstacking,and if so, whether the feature is enabled. See RFC\n3805 Appendix A, Glossary Of Terms, for how Offset Stacking is\ndefined by this document.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarker = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 10)) prtMarkerTable = MibTable((1, 3, 6, 1, 2, 1, 43, 10, 2)) if mibBuilder.loadTexts: prtMarkerTable.setDescription("The marker table provides a description of each marker\nsub-unit contained within the printer.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 10, 2, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtMarkerIndex")) if mibBuilder.loadTexts: prtMarkerEntry.setDescription("Entries in this table define the characteristics and status\nof each marker sub-unit in the printer.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtMarkerIndex.setDescription("A unique value used by the printer to identify this marking\nSubUnit. Although these values may change due to a major\nreconfiguration of the device (e.g., the addition of new marking\nsub-units to the printer), values SHOULD remain stable across\nsuccessive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerMarkTech = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 2), PrtMarkerMarkTechTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerMarkTech.setDescription("The type of marking technology used for this marking\nsub-unit.") prtMarkerCounterUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 3), PrtMarkerCounterUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerCounterUnit.setDescription("The unit that will be used by the printer when reporting\ncounter values for this marking sub-unit. The time units of\nmeasure are provided for a device like a strip recorder that\ndoes not or cannot track the physical dimensions of the media\nand does not use characters, lines or sheets.") prtMarkerLifeCount = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerLifeCount.setDescription("The count of the number of units of measure counted during the\n\n\n\nlife of printer using units of measure as specified by\nprtMarkerCounterUnit.\n\nNote: This object should be implemented as a persistent object\nwith a reliable value throughout the lifetime of the printer.") prtMarkerPowerOnCount = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerPowerOnCount.setDescription("The count of the number of units of measure counted since the\nequipment was most recently powered on using units of measure\nas specified by prtMarkerCounterUnit.") prtMarkerProcessColorants = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerProcessColorants.setDescription("The number of process colors supported by this marker. A\nprocess color of 1 implies monochrome. The value of this\nobject and prtMarkerSpotColorants cannot both be 0. The value\nof prtMarkerProcessColorants must be 0 or greater.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerSpotColorants = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSpotColorants.setDescription("The number of spot colors supported by this marker. The value\nof this object and prtMarkerProcessColorants cannot both be 0.\nMust be 0 or greater.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerAddressabilityUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 8), PrtMarkerAddressabilityUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerAddressabilityUnit.setDescription("The unit of measure of distances, as applied to the marker's\nresolution.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerAddressabilityFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerAddressabilityFeedDir.setDescription("The maximum number of addressable marking positions in the\nfeed direction per 10000 units of measure specified by\nprtMarkerAddressabilityUnit. A value of (-1) implies 'other'\nor 'infinite' while a value of (-2) implies 'unknown'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerAddressabilityXFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerAddressabilityXFeedDir.setDescription("The maximum number of addressable marking positions in the\ncross feed direction in 10000 units of measure specified by\nprtMarkerAddressabilityUnit. A value of (-1) implies 'other'\nor 'infinite' while a value of (-2) implies 'unknown'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerNorthMargin = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerNorthMargin.setDescription("The margin, in units identified by prtMarkerAddressabilityUnit,\nfrom the leading edge of the medium as the medium flows through\n\n\n\nthe marking engine with the side to be imaged facing the\nobserver. The leading edge is the North edge and the other\nedges are defined by the normal compass layout of directions\nwith the compass facing the observer. Printing within the area\nbounded by all four margins is guaranteed for all interpreters.\nThe value (-2) means unknown.") prtMarkerSouthMargin = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSouthMargin.setDescription("The margin from the South edge (see prtMarkerNorthMargin) of\nthe medium in units identified by prtMarkerAddressabilityUnit.\nPrinting within the area bounded by all four margins is\nguaranteed for all interpreters. The value (-2) means unknown.") prtMarkerWestMargin = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerWestMargin.setDescription("The margin from the West edge (see prtMarkerNorthMargin) of\nthe medium in units identified by prtMarkerAddressabilityUnit.\nPrinting within the area bounded by all four margins is\nguaranteed for all interpreters. The value (-2) means unknown.") prtMarkerEastMargin = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerEastMargin.setDescription("The margin from the East edge (see prtMarkerNorthMargin) of\nthe medium in units identified by prtMarkerAddressabilityUnit.\nPrinting within the area bounded by all four margins is\nguaranteed for all interpreters. The value (-2) means unknown.") prtMarkerStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 10, 2, 1, 15), PrtSubUnitStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerStatus.setDescription("The current status of this marker sub-unit.") prtMarkerSupplies = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 11)) prtMarkerSuppliesTable = MibTable((1, 3, 6, 1, 2, 1, 43, 11, 1)) if mibBuilder.loadTexts: prtMarkerSuppliesTable.setDescription("A table of the marker supplies available on this printer.") prtMarkerSuppliesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 11, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtMarkerSuppliesIndex")) if mibBuilder.loadTexts: prtMarkerSuppliesEntry.setDescription("Attributes of a marker supply. Entries may exist in the table\nfor each device index with a device type of 'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerSuppliesIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtMarkerSuppliesIndex.setDescription("A unique value used by the printer to identify this marker\nsupply. Although these values may change due to a major\nreconfiguration of the device (e.g., the addition of new marker\n\n\n\nsupplies to the printer), values SHOULD remain stable across\nsuccessive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerSuppliesMarkerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSuppliesMarkerIndex.setDescription("The value of prtMarkerIndex corresponding to the marking sub\nunit with which this marker supply sub-unit is associated.") prtMarkerSuppliesColorantIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSuppliesColorantIndex.setDescription("The value of prtMarkerColorantIndex corresponding to the\ncolorant with which this marker supply sub-unit is associated.\nThis value shall be 0 if there is no colorant table or if this\nsupply does not depend on a single specified colorant.\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerSuppliesClass = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 4), PrtMarkerSuppliesClassTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSuppliesClass.setDescription("Indicates whether this supply entity represents a supply that\nis consumed or a receptacle that is filled.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerSuppliesType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 5), PrtMarkerSuppliesTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSuppliesType.setDescription("The type of this supply.") prtMarkerSuppliesDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 6), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSuppliesDescription.setDescription("The description of this supply container/receptacle in the\nlocalization specified by prtGeneralCurrentLocalization.") prtMarkerSuppliesSupplyUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 7), PrtMarkerSuppliesSupplyUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerSuppliesSupplyUnit.setDescription("Unit of measure of this marker supply container/receptacle.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerSuppliesMaxCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtMarkerSuppliesMaxCapacity.setDescription("The maximum capacity of this supply container/receptacle\nexpressed in prtMarkerSuppliesSupplyUnit. If this supply\ncontainer/receptacle can reliably sense this value, the value\nis reported by the printer and is read-only; otherwise, the\nvalue may be written (by a Remote Control Panel or a Management\nApplication). The value (-1) means other and specifically\nindicates that the sub-unit places no restrictions on this\nparameter. The value (-2) means unknown.") prtMarkerSuppliesLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 11, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-3, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtMarkerSuppliesLevel.setDescription("The current level if this supply is a container; the remaining\nspace if this supply is a receptacle. If this supply\ncontainer/receptacle can reliably sense this value, the value\nis reported by the printer and is read-only; otherwise, the\nvalue may be written (by a Remote Control Panel or a Management\nApplication). The value (-1) means other and specifically\nindicates that the sub-unit places no restrictions on this\nparameter. The value (-2) means unknown. A value of (-3) means\nthat the printer knows that there is some supply/remaining\nspace, respectively.") prtMarkerColorant = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 12)) prtMarkerColorantTable = MibTable((1, 3, 6, 1, 2, 1, 43, 12, 1)) if mibBuilder.loadTexts: prtMarkerColorantTable.setDescription("A table of all of the colorants available on the printer.") prtMarkerColorantEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 12, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtMarkerColorantIndex")) if mibBuilder.loadTexts: prtMarkerColorantEntry.setDescription("Attributes of a colorant available on the printer. Entries may\nexist in the table for each device index with a device type of\n'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerColorantIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 12, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtMarkerColorantIndex.setDescription("A unique value used by the printer to identify this colorant.\nAlthough these values may change due to a major reconfiguration\nof the device (e.g., the addition of new colorants to the\nprinter) , values SHOULD remain stable across successive\nprinter power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMarkerColorantMarkerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerColorantMarkerIndex.setDescription("The value of prtMarkerIndex corresponding to the marker sub\nunit with which this colorant entry is associated.") prtMarkerColorantRole = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 12, 1, 1, 3), PrtMarkerColorantRoleTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerColorantRole.setDescription("The role played by this colorant.") prtMarkerColorantValue = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 12, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerColorantValue.setDescription("The name of the color of this colorant using standardized\nstring names from ISO 10175 (DPA) and ISO 10180 (SPDL) such as:\n other\n unknown\n white\n red\n green\n blue\n\n\n\n cyan\n magenta\n yellow\n black\nImplementers may add additional string values. The naming\nconventions in ISO 9070 are recommended in order to avoid\npotential name clashes") prtMarkerColorantTonality = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 12, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMarkerColorantTonality.setDescription("The distinct levels of tonality realizable by a marking sub\nunit when using this colorant. This value does not include the\nnumber of levels of tonal difference that an interpreter can\nobtain by techniques such as half toning. This value must be at\nleast 2.") prtMediaPath = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 13)) prtMediaPathTable = MibTable((1, 3, 6, 1, 2, 1, 43, 13, 4)) if mibBuilder.loadTexts: prtMediaPathTable.setDescription("The media path table includes both physical and logical paths\nwithin the printer.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMediaPathEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 13, 4, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtMediaPathIndex")) if mibBuilder.loadTexts: prtMediaPathEntry.setDescription("Entries may exist in the table for each device index with a\ndevice type of 'printer' Each entry defines the physical\ncharacteristics of and the status of the media path. The data\nprovided indicates the maximum throughput and the media\nsize limitations of these subunits.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMediaPathIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtMediaPathIndex.setDescription("A unique value used by the printer to identify this media\npath. Although these values may change due to a major\nreconfiguration of the device (e.g., the addition of new media\npaths to the printer), values SHOULD remain stable across\nsuccessive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMediaPathMaxSpeedPrintUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 2), PrtMediaPathMaxSpeedPrintUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathMaxSpeedPrintUnit.setDescription("The unit of measure used in specifying the speed of all media\npaths in the printer.") prtMediaPathMediaSizeUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 3), PrtMediaUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathMediaSizeUnit.setDescription("The units of measure of media size for use in calculating and\nrelaying dimensional values for all media paths in the\nprinter.") prtMediaPathMaxSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathMaxSpeed.setDescription("The maximum printing speed of this media path expressed in\nprtMediaPathMaxSpeedUnit's. A value of (-1) implies 'other'.") prtMediaPathMaxMediaFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathMaxMediaFeedDir.setDescription("The maximum physical media size in the feed direction of this\nmedia path expressed in units of measure specified by\nPrtMediaPathMediaSizeUnit. A value of (-1) implies 'unlimited'\na value of (-2) implies 'unknown'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMediaPathMaxMediaXFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathMaxMediaXFeedDir.setDescription("The maximum physical media size across the feed direction of\nthis media path expressed in units of measure specified by\nprtMediaPathMediaSizeUnit. A value of (-2) implies 'unknown'.\n\n\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMediaPathMinMediaFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathMinMediaFeedDir.setDescription("The minimum physical media size in the feed direction of this\nmedia path expressed in units of measure specified by\nprtMediaPathMediaSizeUnit. A value of (-2) implies 'unknown'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMediaPathMinMediaXFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathMinMediaXFeedDir.setDescription("The minimum physical media size across the feed direction of\nthis media path expressed in units of measure specified by\nprtMediaPathMediaSizeUnit. A value of (-2) implies 'unknown'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtMediaPathType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 9), PrtMediaPathTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathType.setDescription("The type of the media path for this media path.") prtMediaPathDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 10), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathDescription.setDescription("The manufacturer-provided description of this media path in\nthe localization specified by prtGeneralCurrentLocalization.") prtMediaPathStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 13, 4, 1, 11), PrtSubUnitStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtMediaPathStatus.setDescription("The current status of this media path.") prtChannel = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 14)) prtChannelTable = MibTable((1, 3, 6, 1, 2, 1, 43, 14, 1)) if mibBuilder.loadTexts: prtChannelTable.setDescription("The channel table represents the set of input data sources\nwhich can provide print data to one or more of the\ninterpreters available on a printer.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 14, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtChannelIndex")) if mibBuilder.loadTexts: prtChannelEntry.setDescription("Entries may exist in the table for each device index with a\ndevice type of 'printer'. Each channel table entry is\ncharacterized by a unique protocol stack and/or addressing.\nThe channel may also have printer dependent features that are\nassociated with a printing language.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtChannelIndex.setDescription("A unique value used by the printer to identify this data\nchannel. Although these values may change due to a major\nreconfiguration of the device (e.g., the addition of new data\nchannels to the printer), values SHOULD remain stable across\nsuccessive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtChannelType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 2), PrtChannelTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtChannelType.setDescription("The type of this print data channel. This object provides the\nlinkage to ChannelType-specific groups that may (conceptually)\nextend the prtChannelTable with additional details about that\nchannel.") prtChannelProtocolVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtChannelProtocolVersion.setDescription("The version of the protocol used on this channel. The format\nused for version numbering depends on prtChannelType.") prtChannelCurrentJobCntlLangIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtChannelCurrentJobCntlLangIndex.setDescription("The value of prtInterpreterIndex corresponding to the Control\nLanguage Interpreter for this channel. This interpreter defines\nthe syntax used for control functions, such as querying or\nchanging environment variables and identifying job boundaries\n(e.g., PJL, PostScript, NPAP). A value of zero indicates that\nthere is no current Job Control Language Interpreter for this\nchannel.\n\n\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtChannelDefaultPageDescLangIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtChannelDefaultPageDescLangIndex.setDescription("The value of prtInterpreterIndex corresponding to the Page\nDescription Language Interpreter for this channel. This\ninterpreter defines the default Page Description Language\ninterpreter to be used for the print data unless the Control\nLanguage is used to select a specific interpreter (e.g., PCL,\nPostScript Language, auto-sense). A value of zero indicates\nthat there is no default page description language interpreter\nfor this channel.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtChannelState = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 6), PrtChannelStateTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtChannelState.setDescription("The state of this print data channel. The value determines\nwhether control information and print data is allowed through\nthis channel or not.") prtChannelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 7), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtChannelIfIndex.setDescription("The value of ifIndex in the ifTable; see the Interfaces Group\nMIB [RFC2863] which corresponds to this channel.\nWhen more than one row of the ifTable is relevant, this is the\nindex of the row representing the topmost layer in the\ninterface hierarchy. A value of zero indicates that no\ninterface is associated with this channel.\n\nNOTE: The above description has been modified from RFC 1759\n\n\n\nfor clarification.") prtChannelStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 8), PrtSubUnitStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtChannelStatus.setDescription("The current status of the channel.") prtChannelInformation = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 14, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtChannelInformation.setDescription("Auxiliary information to allow a printing application to use\nthe channel for data submission to the printer. An application\ncapable of using a specific PrtChannelType should be able to\nuse the combined information from the prtChannelInformation and\nother channel and interface group objects to 'bootstrap' its\nuse of the channel. prtChannelInformation is not intended to\nprovide a general channel description, nor to provide\ninformation that is available once the channel is in use.\n\nThe encoding and interpretation of the prtChannelInformation\nobject is specific to channel type. The description of each\nPrtChannelType enum value for which prtChannelInformation is\ndefined specifies the appropriate encoding and interpretation,\nincluding interaction with other objects. For channel types\nthat do not specify a prtChannelInformation value, its value\nshall be null (0 length).\n\nWhen a new PrtChannelType enumeration value is registered, its\naccompanying description must specify the encoding and\ninterpretation of the prtChannelInformation value for the\nchannel type. prtChannelInformation semantics for an existing\nPrtChannelType may be added or amended in the same manner as\ndescribed in section 2.4.1 for type 2 enumeration values.\n\nThe prtChannelInformation specifies values for a collection of\nchannel attributes, represented as text according to the\nfollowing rules:\n\n1. The prtChannelInformation is not affected by localization.\n\n2. The prtChannelInformation is a list of entries representing\nthe attribute values. Each entry consists of the following\n\n\n\nitems, in order:\n\na. A keyword, composed of alphabetic characters (A-Z, a-z)\nrepresented by their NVT ASCII [RFC854] codes, that\nidentifies a channel attribute,\n\nb. The NVT ASCII code for an Equals Sign (=) (code 61) to\ndelimit the keyword,\n\nc. A data value encoded using rules specific to the\nPrtChannelType to with the prtChannelInformation applies which\nmust in no case allow an octet with value 10 (the NVT ASCII\nLine Feed code),\n\nd. the NVT ASCII code for a Line Feed character (code 10) to\ndelimit the data value.\n\nNo other octets shall be present.\n\nKeywords are case-sensitive. Conventionally, keywords are\ncapitalized (including each word of a multi-word keyword) and\nsince they occupy space in the prtChannelInformation, they are\nkept short.\n\n3. If a channel attribute has multiple values, it is\nrepresented by multiple entries with the same keyword, each\nspecifying one value. Otherwise, there shall be at most one\nentry for each attribute.\n\n4. By default, entries may appear in any order. If there are\nordering constraints for particular entries, these must be\nspecified in their definitions.\n\n5. The prtChannelInformation value by default consists of text\nrepresented by NVT ASCII graphics character codes. However,\nother representations may be specified:\n\na. In cases where the prtChannelInformation value contains\ninformation not normally coded in textual form, whatever\nsymbolic representation is conventionally used for the\ninformation should be used for encoding the\nprtChannelInformation value. (For instance, a binary port value\nmight be represented as a decimal number using NVT ASCII\ncodes.) Such encoding must be specified in the definition of\nthe value.\n\nb. The value may contain textual information in a character set\nother than NVT ASCII graphics characters. (For instance, an\n\n\n\nidentifier might consist of ISO 10646 text encoded using the\nUTF-8 encoding scheme.) Such a character set and its encoding\nmust be specified in the definition of the value.\n\n6. For each PrtChannelType for which prtChannelInformation\nentries are defined, the descriptive text associated with the\nPrtChannelType enumeration value shall specify the following\ninformation for each entry:\n\nTitle: Brief description phrase, e.g.: 'Port name',\n 'Service Name', etc.\n\nKeyword: The keyword value, e.g.: 'Port' or 'Service'\n\nSyntax: The encoding of the entry value if it cannot be\n directly represented by NVT ASCII.\n\nStatus: 'Mandatory', 'Optional', or 'Conditionally\n Mandatory'\n\nMultiplicity: 'Single' or 'Multiple' to indicate whether the\n entry may be present multiple times.\n\nDescription: Description of the use of the entry, other\n information required to complete the definition\n (e.g.: ordering constraints, interactions between\n entries).\n\nApplications that interpret prtChannelInformation should ignore\nunrecognized entries, so they are not affected if new entry\ntypes are added.") prtInterpreter = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 15)) prtInterpreterTable = MibTable((1, 3, 6, 1, 2, 1, 43, 15, 1)) if mibBuilder.loadTexts: prtInterpreterTable.setDescription("The interpreter table is a table representing the\ninterpreters in the printer. An entry shall be placed in the\ninterpreter table for each interpreter on the printer.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInterpreterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 15, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtInterpreterIndex")) if mibBuilder.loadTexts: prtInterpreterEntry.setDescription("Entries may exist in the table for each device index with a\ndevice type of 'printer'. Each table entry provides a complete\ndescription of the interpreter, including version information,\nrendering resolutions, default character sets, output\norientation, and communication capabilities.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInterpreterIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtInterpreterIndex.setDescription("A unique value for each PDL or control language for which\nthere exists an interpreter or emulator in the printer. The\nvalue is used to identify this interpreter. Although these\nvalues may change due to a major reconfiguration of the device\n(e.g., the addition of new interpreters to the printer), values\nSHOULD remain stable across successive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInterpreterLangFamily = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 2), PrtInterpreterLangFamilyTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterLangFamily.setDescription("The family name of a Page Description Language (PDL) or\ncontrol language which this interpreter in the printer can\ninterpret or emulate.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInterpreterLangLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterLangLevel.setDescription("The level of the language which this interpreter is\ninterpreting or emulating. This might contain a value like\n'5e'for an interpreter which is emulating level 5e of the PCL\nlanguage. It might contain '2' for an interpreter which is\nemulating level 2 of the PostScript language. Similarly it\nmight contain '2' for an interpreter which is emulating level 2\nof the HPGL language.") prtInterpreterLangVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterLangVersion.setDescription("The date code or version of the language which this\ninterpreter is interpreting or emulating.") prtInterpreterDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 5), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterDescription.setDescription("A string to identify this interpreter in the localization\nspecified by prtGeneralCurrentLocalization as opposed to the\nlanguage which is being interpreted. It is anticipated that\nthis string will allow manufacturers to unambiguously identify\ntheir interpreters.") prtInterpreterVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterVersion.setDescription("The date code, version number, or other product specific\ninformation tied to this interpreter. This value is associated\nwith the interpreter, rather than with the version of the\nlanguage which is being interpreted or emulated.") prtInterpreterDefaultOrientation = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 7), PrtPrintOrientationTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInterpreterDefaultOrientation.setDescription("The current orientation default for this interpreter. This\nvalue may be overridden for a particular job (e.g., by a\ncommand in the input data stream).") prtInterpreterFeedAddressability = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterFeedAddressability.setDescription("The maximum interpreter addressability in the feed\ndirection in 10000 prtMarkerAddressabilityUnits (as specified\nby prtMarkerDefaultIndex) for this interpreter. The\nvalue (-1) means other and specifically indicates that the\nsub-unit places no restrictions on this parameter. The value\n(-2) means unknown.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInterpreterXFeedAddressability = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterXFeedAddressability.setDescription("The maximum interpreter addressability in the cross feed\ndirection in 10000 prtMarkerAddressabilityUnits (as specified\nby prtMarkerDefaultIndex) for this interpreter. The\nvalue (-1) means other and specifically indicates that the\nsub-unit places no restrictions on this parameter. The value\n(-2) means unknown.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtInterpreterDefaultCharSetIn = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 10), IANACharset()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInterpreterDefaultCharSetIn.setDescription("The default coded character set for input octets encountered\noutside a context in which the Page Description Language\nestablished the interpretation of the octets. (Input octets are\npresented to the interpreter through a path defined in the\nchannel group.)") prtInterpreterDefaultCharSetOut = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 11), IANACharset()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtInterpreterDefaultCharSetOut.setDescription("The default character set for data coming from this\ninterpreter through the printer's output channel (i.e. the\n'backchannel').") prtInterpreterTwoWay = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 15, 1, 1, 12), PrtInterpreterTwoWayTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtInterpreterTwoWay.setDescription("Indicates whether or not this interpreter returns information\nback to the host.") prtConsoleDisplayBuffer = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 16)) prtConsoleDisplayBufferTable = MibTable((1, 3, 6, 1, 2, 1, 43, 16, 5)) if mibBuilder.loadTexts: prtConsoleDisplayBufferTable.setDescription("Physical display buffer for printer console display or\noperator panel\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleDisplayBufferEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 16, 5, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtConsoleDisplayBufferIndex")) if mibBuilder.loadTexts: prtConsoleDisplayBufferEntry.setDescription("This table contains one entry for each physical line on\nthe display. Lines cannot be added or deleted. Entries may\nexist in the table for each device index with a device type of\n'printer'.\n\nNOTE: The above description has been modified from RFC 1759\n\n\n\nfor clarification.") prtConsoleDisplayBufferIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 16, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtConsoleDisplayBufferIndex.setDescription("A unique value for each console line in the printer. The value\nis used to identify this console line. Although these values\nmay change due to a major reconfiguration of the device (e.g.,\nthe addition of new console lines to the printer). Values\nSHOULD remain stable across successive printer power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleDisplayBufferText = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 16, 5, 1, 2), PrtConsoleDescriptionStringTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtConsoleDisplayBufferText.setDescription("The content of a line in the logical display buffer of\nthe operator's console of the printer. When a write\noperation occurs, normally a critical message, to one of\nthe LineText strings, the agent should make that line\ndisplayable if a physical display is present. Writing a zero\nlength string clears the line. It is an implementation-\nspecific matter as to whether the agent allows a line to be\noverwritten before it has been cleared. Printer generated\nstrings shall be in the localization specified by\nprtConsoleLocalization.Management Application generated strings\nshould be localized by the Management Application.") prtConsoleLights = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 17)) prtConsoleLightTable = MibTable((1, 3, 6, 1, 2, 1, 43, 17, 6)) if mibBuilder.loadTexts: prtConsoleLightTable.setDescription("The console light table provides a description and state\ninformation for each light present on the printer console.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleLightEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 17, 6, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtConsoleLightIndex")) if mibBuilder.loadTexts: prtConsoleLightEntry.setDescription("Entries may exist in the table for each device index with a\ndevice type of 'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleLightIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 17, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: prtConsoleLightIndex.setDescription("A unique value used by the printer to identify this light.\nAlthough these values may change due to a major\nreconfiguration of the device (e.g., the addition of new lights\nto the printer). Values SHOULD remain stable across successive\nprinter power cycles.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleOnTime = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 17, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtConsoleOnTime.setDescription("This object, in conjunction with prtConsoleOffTime, defines\nthe current status of the light. If both prtConsoleOnTime and\nprtConsoleOffTime are non-zero, the lamp is blinking and the\nvalues presented define the on time and off time, respectively,\nin milliseconds. If prtConsoleOnTime is zero and\nprtConsoleOffTime is non-zero, the lamp is off. If\nprtConsoleOffTime is zero and prtConsoleOnTime is non-zero, the\nlamp is on. If both values are zero the lamp is off.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleOffTime = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 17, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtConsoleOffTime.setDescription("This object, in conjunction with prtConsoleOnTime, defines the\ncurrent status of the light. If both prtConsoleOnTime and\nprtConsoleOffTime are non-zero, the lamp is blinking and the\nvalues presented define the on time and off time, respectively,\nin milliseconds. If prtConsoleOnTime is zero and\nprtConsoleOffTime is non-zero, the lamp is off. If\nprtConsoleOffTime is zero and prtConsoleOnTime is non-zero, the\nlamp is on. If both values are zero the lamp is off.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtConsoleColor = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 17, 6, 1, 4), PrtConsoleColorTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtConsoleColor.setDescription("The color of this light.") prtConsoleDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 17, 6, 1, 5), PrtConsoleDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtConsoleDescription.setDescription("The vendor description or label of this light in the\nlocalization specified by prtConsoleLocalization.") prtAlert = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 18)) prtAlertTable = MibTable((1, 3, 6, 1, 2, 1, 43, 18, 1)) if mibBuilder.loadTexts: prtAlertTable.setDescription("The prtAlertTable lists all the critical and non-critical\nalerts currently active in the printer. A critical alert is\none that stops the printer from printing immediately and\nprinting can not continue until the critical alert condition\nis eliminated. Non-critical alerts are those items that do\nnot stop printing but may at some future time.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAlertEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 18, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Printer-MIB", "prtAlertIndex")) if mibBuilder.loadTexts: prtAlertEntry.setDescription("Entries may exist in the table for each device\nindex with a device type of 'printer'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAlertIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertIndex.setDescription("The index value used to determine which alerts have been added\nor removed from the alert table. This is an incrementing\ninteger initialized to 1 when the printer is reset. (i.e., The\nfirst event placed in the alert table after a reset of the\nprinter shall have an index value of 1.) When the printer adds\nan alert to the table, that alert is assigned the next higher\ninteger value from the last item entered into the table. If\nthe index value reaches its maximum value, the next index value\nused must be 1.\n\nNOTE: The management application will read the alert table when\na trap or event notification occurs or at a periodic rate and\nthen parse the table to determine if any new entries were added\nby comparing the last known index value with the current\nhighest index value. The management application will then\nupdate its copy of the alert table. When the printer discovers\nthat an alert is no longer active, the printer shall remove the\n\n\n\nrow for that alert from the table and shall reduce the number\nof rows in the table. The printer may add or delete any number\nof rows from the table at any time. The management station can\ndetect when binary change alerts have been deleted by\nrequesting an attribute of each alert, and noting alerts as\ndeleted when that retrieval is not possible. The objects\n'prtAlertCriticalEvents'and 'prtAlertAllEvents' in the\n'prtGeneralTable' reduce the need for management applications\nto scan the 'prtAlertTable'.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAlertSeverityLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 2), PrtAlertSeverityLevelTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertSeverityLevel.setDescription("The level of severity of this alert table entry. The printer\ndetermines the severity level assigned to each entry into the\ntable.") prtAlertTrainingLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 3), PrtAlertTrainingLevelTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertTrainingLevel.setDescription("See TEXTUAL-CONVENTION PrtAlertTrainingLevelTC.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAlertGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 4), PrtAlertGroupTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertGroup.setDescription("The type of sub-unit within the printer model that this alert\nis related. Input, output, and markers are examples of printer\n\n\n\nmodel groups, i.e., examples of types of sub-units. Wherever\npossible, these enumerations match the sub-identifier that\nidentifies the relevant table in the printmib.") prtAlertGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertGroupIndex.setDescription("The low-order index of the row within the table identified\nby prtAlertGroup that represents the sub-unit of the printer\nthat caused this alert, or -1 if not applicable. The\ncombination of the prtAlertGroup and the prtAlertGroupIndex\ndefines exactly which printer sub-unit caused the alert; for\nexample, Input #3, Output#2, and Marker #1. Every object in\nthis MIB is indexed with hrDeviceIndex and optionally, another\nindex variable. If this other index variable is present in the\ntable that generated the alert, it will be used as the value\nfor this object. Otherwise, this value shall be -1.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAlertLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertLocation.setDescription("The sub-unit location that is defined by the printer\nmanufacturer to further refine the location of this alert\nwithin the designated sub-unit. The location is used in\nconjunction with the Group and GroupIndex values; for example,\nthere is an alert in Input #2 at location number 7. The value\n(-2) indicates unknown.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAlertCode = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 7), PrtAlertCodeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertCode.setDescription("See associated TEXTUAL-CONVENTION PrtAlertCodeTC.\n\nNOTE: The above description has been modified from RFC 1759\nfor clarification.") prtAlertDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 8), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertDescription.setDescription("A description of this alert entry in the localization\nspecified by prtGeneralCurrentLocalization. The description is\nprovided by the printer to further elaborate on the enumerated\nalert or provide information in the case where the code is\nclassified as 'other' or 'unknown'. The printer is required to\nreturn a description string but the string may be a null\nstring.") prtAlertTime = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 18, 1, 1, 9), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: prtAlertTime.setDescription("The value of sysUpTime at the time that this alert was\ngenerated.") printerV1Alert = ObjectIdentity((1, 3, 6, 1, 2, 1, 43, 18, 2)) if mibBuilder.loadTexts: printerV1Alert.setDescription("The value of the enterprise-specific OID in an SNMPv1 trap\nsent signaling a critical event in the prtAlertTable.") printerV2AlertPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 18, 2, 0)) # Augmentions # Notifications printerV2Alert = NotificationType((1, 3, 6, 1, 2, 1, 43, 18, 2, 0, 1)).setObjects(*(("Printer-MIB", "prtAlertGroupIndex"), ("Printer-MIB", "prtAlertGroup"), ("Printer-MIB", "prtAlertLocation"), ("Printer-MIB", "prtAlertCode"), ("Printer-MIB", "prtAlertSeverityLevel"), ("Printer-MIB", "prtAlertIndex"), ) ) if mibBuilder.loadTexts: printerV2Alert.setDescription("This trap is sent whenever a critical event is added to the\n\n\n\nprtAlertTable.\n\nNOTE: The prtAlertIndex object was redundantly included in the\nbindings of the 'printerV2Alert' notification in RFC 1759, even\nthough the value exists in the instance qualifier of all the\nother bindings. This object has been retained to provide\ncompatiblity with existing RFC 1759 implementaions.") # Groups prtGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 1)).setObjects(*(("Printer-MIB", "prtCoverDescription"), ("Printer-MIB", "prtLocalizationLanguage"), ("Printer-MIB", "prtGeneralConfigChanges"), ("Printer-MIB", "prtGeneralCurrentLocalization"), ("Printer-MIB", "prtDeviceRefIndex"), ("Printer-MIB", "prtGeneralReset"), ("Printer-MIB", "prtStorageRefIndex"), ("Printer-MIB", "prtCoverStatus"), ("Printer-MIB", "prtLocalizationCharacterSet"), ("Printer-MIB", "prtLocalizationCountry"), ) ) if mibBuilder.loadTexts: prtGeneralGroup.setDescription("The general printer group.") prtResponsiblePartyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 2)).setObjects(*(("Printer-MIB", "prtGeneralCurrentOperator"), ("Printer-MIB", "prtGeneralServicePerson"), ) ) if mibBuilder.loadTexts: prtResponsiblePartyGroup.setDescription("The responsible party group contains contact information for\nhumans responsible for the printer.") prtInputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 3)).setObjects(*(("Printer-MIB", "prtInputMediaDimFeedDirDeclared"), ("Printer-MIB", "prtInputMediaDimXFeedDirChosen"), ("Printer-MIB", "prtInputMediaName"), ("Printer-MIB", "prtInputDefaultIndex"), ("Printer-MIB", "prtInputType"), ("Printer-MIB", "prtInputMaxCapacity"), ("Printer-MIB", "prtInputCurrentLevel"), ("Printer-MIB", "prtInputMediaDimXFeedDirDeclared"), ("Printer-MIB", "prtInputStatus"), ("Printer-MIB", "prtInputCapacityUnit"), ("Printer-MIB", "prtInputDimUnit"), ("Printer-MIB", "prtInputMediaDimFeedDirChosen"), ) ) if mibBuilder.loadTexts: prtInputGroup.setDescription("The input group.") prtExtendedInputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 4)).setObjects(*(("Printer-MIB", "prtInputModel"), ("Printer-MIB", "prtInputDescription"), ("Printer-MIB", "prtInputName"), ("Printer-MIB", "prtInputSerialNumber"), ("Printer-MIB", "prtInputVendorName"), ("Printer-MIB", "prtInputSecurity"), ("Printer-MIB", "prtInputVersion"), ) ) if mibBuilder.loadTexts: prtExtendedInputGroup.setDescription("The extended input group.") prtInputMediaGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 5)).setObjects(*(("Printer-MIB", "prtInputMediaFormParts"), ("Printer-MIB", "prtInputMediaWeight"), ("Printer-MIB", "prtInputMediaColor"), ("Printer-MIB", "prtInputMediaType"), ) ) if mibBuilder.loadTexts: prtInputMediaGroup.setDescription("The input media group.") prtOutputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 6)).setObjects(*(("Printer-MIB", "prtOutputMaxCapacity"), ("Printer-MIB", "prtOutputStatus"), ("Printer-MIB", "prtOutputCapacityUnit"), ("Printer-MIB", "prtOutputType"), ("Printer-MIB", "prtOutputDefaultIndex"), ("Printer-MIB", "prtOutputRemainingCapacity"), ) ) if mibBuilder.loadTexts: prtOutputGroup.setDescription("The output group.") prtExtendedOutputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 7)).setObjects(*(("Printer-MIB", "prtOutputSecurity"), ("Printer-MIB", "prtOutputSerialNumber"), ("Printer-MIB", "prtOutputDescription"), ("Printer-MIB", "prtOutputName"), ("Printer-MIB", "prtOutputModel"), ("Printer-MIB", "prtOutputVersion"), ("Printer-MIB", "prtOutputVendorName"), ) ) if mibBuilder.loadTexts: prtExtendedOutputGroup.setDescription("The extended output group.") prtOutputDimensionsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 8)).setObjects(*(("Printer-MIB", "prtOutputMaxDimFeedDir"), ("Printer-MIB", "prtOutputMinDimXFeedDir"), ("Printer-MIB", "prtOutputMinDimFeedDir"), ("Printer-MIB", "prtOutputMaxDimXFeedDir"), ("Printer-MIB", "prtOutputDimUnit"), ) ) if mibBuilder.loadTexts: prtOutputDimensionsGroup.setDescription("The output dimensions group") prtOutputFeaturesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 9)).setObjects(*(("Printer-MIB", "prtOutputOffsetStacking"), ("Printer-MIB", "prtOutputPageDeliveryOrientation"), ("Printer-MIB", "prtOutputDecollating"), ("Printer-MIB", "prtOutputPageCollated"), ("Printer-MIB", "prtOutputStackingOrder"), ("Printer-MIB", "prtOutputBursting"), ) ) if mibBuilder.loadTexts: prtOutputFeaturesGroup.setDescription("The output features group.") prtMarkerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 10)).setObjects(*(("Printer-MIB", "prtMarkerMarkTech"), ("Printer-MIB", "prtMarkerPowerOnCount"), ("Printer-MIB", "prtMarkerStatus"), ("Printer-MIB", "prtMarkerLifeCount"), ("Printer-MIB", "prtMarkerNorthMargin"), ("Printer-MIB", "prtMarkerAddressabilityXFeedDir"), ("Printer-MIB", "prtMarkerAddressabilityFeedDir"), ("Printer-MIB", "prtMarkerSouthMargin"), ("Printer-MIB", "prtMarkerDefaultIndex"), ("Printer-MIB", "prtMarkerSpotColorants"), ("Printer-MIB", "prtMarkerCounterUnit"), ("Printer-MIB", "prtMarkerProcessColorants"), ("Printer-MIB", "prtMarkerEastMargin"), ("Printer-MIB", "prtMarkerWestMargin"), ("Printer-MIB", "prtMarkerAddressabilityUnit"), ) ) if mibBuilder.loadTexts: prtMarkerGroup.setDescription("The marker group.") prtMarkerSuppliesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 11)).setObjects(*(("Printer-MIB", "prtMarkerSuppliesType"), ("Printer-MIB", "prtMarkerSuppliesMaxCapacity"), ("Printer-MIB", "prtMarkerSuppliesMarkerIndex"), ("Printer-MIB", "prtMarkerSuppliesColorantIndex"), ("Printer-MIB", "prtMarkerSuppliesLevel"), ("Printer-MIB", "prtMarkerSuppliesDescription"), ("Printer-MIB", "prtMarkerSuppliesSupplyUnit"), ("Printer-MIB", "prtMarkerSuppliesClass"), ) ) if mibBuilder.loadTexts: prtMarkerSuppliesGroup.setDescription("The marker supplies group.") prtMarkerColorantGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 12)).setObjects(*(("Printer-MIB", "prtMarkerColorantRole"), ("Printer-MIB", "prtMarkerColorantMarkerIndex"), ("Printer-MIB", "prtMarkerColorantTonality"), ("Printer-MIB", "prtMarkerColorantValue"), ) ) if mibBuilder.loadTexts: prtMarkerColorantGroup.setDescription("The marker colorant group.") prtMediaPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 13)).setObjects(*(("Printer-MIB", "prtMediaPathMinMediaXFeedDir"), ("Printer-MIB", "prtMediaPathMaxMediaFeedDir"), ("Printer-MIB", "prtMediaPathDefaultIndex"), ("Printer-MIB", "prtMediaPathType"), ("Printer-MIB", "prtMediaPathDescription"), ("Printer-MIB", "prtMediaPathMaxMediaXFeedDir"), ("Printer-MIB", "prtMediaPathMaxSpeedPrintUnit"), ("Printer-MIB", "prtMediaPathMinMediaFeedDir"), ("Printer-MIB", "prtMediaPathMediaSizeUnit"), ("Printer-MIB", "prtMediaPathStatus"), ("Printer-MIB", "prtMediaPathMaxSpeed"), ) ) if mibBuilder.loadTexts: prtMediaPathGroup.setDescription("The media path group.") prtChannelGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 14)).setObjects(*(("Printer-MIB", "prtChannelCurrentJobCntlLangIndex"), ("Printer-MIB", "prtChannelProtocolVersion"), ("Printer-MIB", "prtChannelIfIndex"), ("Printer-MIB", "prtChannelStatus"), ("Printer-MIB", "prtChannelState"), ("Printer-MIB", "prtChannelType"), ("Printer-MIB", "prtChannelDefaultPageDescLangIndex"), ) ) if mibBuilder.loadTexts: prtChannelGroup.setDescription("The channel group.") prtInterpreterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 15)).setObjects(*(("Printer-MIB", "prtInterpreterTwoWay"), ("Printer-MIB", "prtInterpreterLangLevel"), ("Printer-MIB", "prtInterpreterDescription"), ("Printer-MIB", "prtInterpreterDefaultCharSetIn"), ("Printer-MIB", "prtInterpreterVersion"), ("Printer-MIB", "prtInterpreterDefaultOrientation"), ("Printer-MIB", "prtInterpreterDefaultCharSetOut"), ("Printer-MIB", "prtInterpreterLangVersion"), ("Printer-MIB", "prtInterpreterLangFamily"), ("Printer-MIB", "prtInterpreterFeedAddressability"), ("Printer-MIB", "prtInterpreterXFeedAddressability"), ) ) if mibBuilder.loadTexts: prtInterpreterGroup.setDescription("The interpreter group.") prtConsoleGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 16)).setObjects(*(("Printer-MIB", "prtConsoleNumberOfDisplayChars"), ("Printer-MIB", "prtConsoleLocalization"), ("Printer-MIB", "prtConsoleColor"), ("Printer-MIB", "prtConsoleOnTime"), ("Printer-MIB", "prtConsoleNumberOfDisplayLines"), ("Printer-MIB", "prtConsoleDisplayBufferText"), ("Printer-MIB", "prtConsoleDisable"), ("Printer-MIB", "prtConsoleDescription"), ("Printer-MIB", "prtConsoleOffTime"), ) ) if mibBuilder.loadTexts: prtConsoleGroup.setDescription("The console group.") prtAlertTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 17)).setObjects(*(("Printer-MIB", "prtAlertTrainingLevel"), ("Printer-MIB", "prtAlertDescription"), ("Printer-MIB", "prtAlertGroupIndex"), ("Printer-MIB", "prtAlertGroup"), ("Printer-MIB", "prtAlertLocation"), ("Printer-MIB", "prtAlertCode"), ("Printer-MIB", "prtAlertSeverityLevel"), ) ) if mibBuilder.loadTexts: prtAlertTableGroup.setDescription("The alert table group.") prtAlertTimeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 18)).setObjects(*(("Printer-MIB", "prtAlertTime"), ) ) if mibBuilder.loadTexts: prtAlertTimeGroup.setDescription("The alert time group. Implementation of prtAlertTime is\nstrongly RECOMMENDED.") prtAuxiliarySheetGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 19)).setObjects(*(("Printer-MIB", "prtAuxiliarySheetBannerPage"), ("Printer-MIB", "prtAuxiliarySheetStartupPage"), ) ) if mibBuilder.loadTexts: prtAuxiliarySheetGroup.setDescription("The auxiliary sheet group.") prtInputSwitchingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 20)).setObjects(*(("Printer-MIB", "prtInputNextIndex"), ("Printer-MIB", "prtInputMediaLoadTimeout"), ) ) if mibBuilder.loadTexts: prtInputSwitchingGroup.setDescription("The input switching group.") prtGeneralV2Group = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 21)).setObjects(*(("Printer-MIB", "prtGeneralSerialNumber"), ("Printer-MIB", "prtGeneralPrinterName"), ) ) if mibBuilder.loadTexts: prtGeneralV2Group.setDescription("The general printer group with new v2 objects.") prtAlertTableV2Group = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 22)).setObjects(*(("Printer-MIB", "prtAlertCriticalEvents"), ("Printer-MIB", "prtAlertIndex"), ("Printer-MIB", "prtAlertAllEvents"), ) ) if mibBuilder.loadTexts: prtAlertTableV2Group.setDescription("The alert table group with new v2 objects and prtAlertIndex\nchanged to MAX-ACCESS of 'read-only' for inclusion in the trap\nbindings (as originally defined in RFC 1759).") prtChannelV2Group = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 23)).setObjects(*(("Printer-MIB", "prtChannelInformation"), ) ) if mibBuilder.loadTexts: prtChannelV2Group.setDescription("The channel group with a new v2 object.") prtAlertTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 2, 24)).setObjects(*(("Printer-MIB", "printerV2Alert"), ) ) if mibBuilder.loadTexts: prtAlertTrapGroup.setDescription("The alert trap group.") # Compliances prtMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 43, 2, 1)).setObjects(*(("Printer-MIB", "prtInputGroup"), ("Printer-MIB", "prtAlertTableGroup"), ("Printer-MIB", "prtGeneralGroup"), ("Printer-MIB", "prtChannelGroup"), ("Printer-MIB", "prtMarkerGroup"), ("Printer-MIB", "prtOutputGroup"), ("Printer-MIB", "prtMediaPathGroup"), ("Printer-MIB", "prtInterpreterGroup"), ("Printer-MIB", "prtConsoleGroup"), ) ) if mibBuilder.loadTexts: prtMIBCompliance.setDescription("The compliance statement for agents that implement the\nprinter MIB as defined by RFC 1759.") prtMIB2Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 43, 2, 3)).setObjects(*(("Printer-MIB", "prtMarkerGroup"), ("Printer-MIB", "prtGeneralGroup"), ("Printer-MIB", "prtOutputGroup"), ("Printer-MIB", "prtInputMediaGroup"), ("Printer-MIB", "prtChannelV2Group"), ("Printer-MIB", "prtAlertTimeGroup"), ("Printer-MIB", "prtChannelGroup"), ("Printer-MIB", "prtAlertTableGroup"), ("Printer-MIB", "prtMediaPathGroup"), ("Printer-MIB", "prtConsoleGroup"), ("Printer-MIB", "prtInterpreterGroup"), ("Printer-MIB", "prtOutputFeaturesGroup"), ("Printer-MIB", "prtInputSwitchingGroup"), ("Printer-MIB", "prtInputGroup"), ("Printer-MIB", "prtResponsiblePartyGroup"), ("Printer-MIB", "prtExtendedInputGroup"), ("Printer-MIB", "prtAuxiliarySheetGroup"), ("Printer-MIB", "prtMarkerColorantGroup"), ("Printer-MIB", "prtAlertTableV2Group"), ("Printer-MIB", "prtOutputDimensionsGroup"), ("Printer-MIB", "prtAlertTrapGroup"), ("Printer-MIB", "prtExtendedOutputGroup"), ("Printer-MIB", "prtGeneralV2Group"), ("Printer-MIB", "prtMarkerSuppliesGroup"), ) ) if mibBuilder.loadTexts: prtMIB2Compliance.setDescription("The compliance statement for agents that implement the\nprinter MIB V2.") # Exports # Module identity mibBuilder.exportSymbols("Printer-MIB", PYSNMP_MODULE_ID=printmib) # Types mibBuilder.exportSymbols("Printer-MIB", CapacityUnit=CapacityUnit, CodedCharSet=CodedCharSet, MediaUnit=MediaUnit, PresentOnOff=PresentOnOff, PrtAlertSeverityLevelTC=PrtAlertSeverityLevelTC, PrtCapacityUnitTC=PrtCapacityUnitTC, PrtChannelStateTC=PrtChannelStateTC, PrtConsoleDescriptionStringTC=PrtConsoleDescriptionStringTC, PrtInterpreterTwoWayTC=PrtInterpreterTwoWayTC, PrtLocalizedDescriptionStringTC=PrtLocalizedDescriptionStringTC, PrtMarkerAddressabilityUnitTC=PrtMarkerAddressabilityUnitTC, PrtMarkerColorantRoleTC=PrtMarkerColorantRoleTC, PrtMarkerCounterUnitTC=PrtMarkerCounterUnitTC, PrtMarkerSuppliesClassTC=PrtMarkerSuppliesClassTC, PrtMarkerSuppliesSupplyUnitTC=PrtMarkerSuppliesSupplyUnitTC, PrtMediaPathMaxSpeedPrintUnitTC=PrtMediaPathMaxSpeedPrintUnitTC, PrtMediaUnitTC=PrtMediaUnitTC, PrtOutputPageDeliveryOrientationTC=PrtOutputPageDeliveryOrientationTC, PrtOutputStackingOrderTC=PrtOutputStackingOrderTC, PrtPrintOrientationTC=PrtPrintOrientationTC, PrtSubUnitStatusTC=PrtSubUnitStatusTC, SubUnitStatus=SubUnitStatus) # Objects mibBuilder.exportSymbols("Printer-MIB", printmib=printmib, prtMIBConformance=prtMIBConformance, prtMIBGroups=prtMIBGroups, prtMIB2Groups=prtMIB2Groups, prtGeneral=prtGeneral, prtGeneralTable=prtGeneralTable, prtGeneralEntry=prtGeneralEntry, prtGeneralConfigChanges=prtGeneralConfigChanges, prtGeneralCurrentLocalization=prtGeneralCurrentLocalization, prtGeneralReset=prtGeneralReset, prtGeneralCurrentOperator=prtGeneralCurrentOperator, prtGeneralServicePerson=prtGeneralServicePerson, prtInputDefaultIndex=prtInputDefaultIndex, prtOutputDefaultIndex=prtOutputDefaultIndex, prtMarkerDefaultIndex=prtMarkerDefaultIndex, prtMediaPathDefaultIndex=prtMediaPathDefaultIndex, prtConsoleLocalization=prtConsoleLocalization, prtConsoleNumberOfDisplayLines=prtConsoleNumberOfDisplayLines, prtConsoleNumberOfDisplayChars=prtConsoleNumberOfDisplayChars, prtConsoleDisable=prtConsoleDisable, prtAuxiliarySheetStartupPage=prtAuxiliarySheetStartupPage, prtAuxiliarySheetBannerPage=prtAuxiliarySheetBannerPage, prtGeneralPrinterName=prtGeneralPrinterName, prtGeneralSerialNumber=prtGeneralSerialNumber, prtAlertCriticalEvents=prtAlertCriticalEvents, prtAlertAllEvents=prtAlertAllEvents, prtStorageRefTable=prtStorageRefTable, prtStorageRefEntry=prtStorageRefEntry, prtStorageRefSeqNumber=prtStorageRefSeqNumber, prtStorageRefIndex=prtStorageRefIndex, prtDeviceRefTable=prtDeviceRefTable, prtDeviceRefEntry=prtDeviceRefEntry, prtDeviceRefSeqNumber=prtDeviceRefSeqNumber, prtDeviceRefIndex=prtDeviceRefIndex, prtCover=prtCover, prtCoverTable=prtCoverTable, prtCoverEntry=prtCoverEntry, prtCoverIndex=prtCoverIndex, prtCoverDescription=prtCoverDescription, prtCoverStatus=prtCoverStatus, prtLocalization=prtLocalization, prtLocalizationTable=prtLocalizationTable, prtLocalizationEntry=prtLocalizationEntry, prtLocalizationIndex=prtLocalizationIndex, prtLocalizationLanguage=prtLocalizationLanguage, prtLocalizationCountry=prtLocalizationCountry, prtLocalizationCharacterSet=prtLocalizationCharacterSet, prtInput=prtInput, prtInputTable=prtInputTable, prtInputEntry=prtInputEntry, prtInputIndex=prtInputIndex, prtInputType=prtInputType, prtInputDimUnit=prtInputDimUnit, prtInputMediaDimFeedDirDeclared=prtInputMediaDimFeedDirDeclared, prtInputMediaDimXFeedDirDeclared=prtInputMediaDimXFeedDirDeclared, prtInputMediaDimFeedDirChosen=prtInputMediaDimFeedDirChosen, prtInputMediaDimXFeedDirChosen=prtInputMediaDimXFeedDirChosen, prtInputCapacityUnit=prtInputCapacityUnit, prtInputMaxCapacity=prtInputMaxCapacity, prtInputCurrentLevel=prtInputCurrentLevel, prtInputStatus=prtInputStatus, prtInputMediaName=prtInputMediaName, prtInputName=prtInputName, prtInputVendorName=prtInputVendorName, prtInputModel=prtInputModel, prtInputVersion=prtInputVersion, prtInputSerialNumber=prtInputSerialNumber, prtInputDescription=prtInputDescription, prtInputSecurity=prtInputSecurity, prtInputMediaWeight=prtInputMediaWeight, prtInputMediaType=prtInputMediaType, prtInputMediaColor=prtInputMediaColor, prtInputMediaFormParts=prtInputMediaFormParts, prtInputMediaLoadTimeout=prtInputMediaLoadTimeout, prtInputNextIndex=prtInputNextIndex, prtOutput=prtOutput, prtOutputTable=prtOutputTable, prtOutputEntry=prtOutputEntry, prtOutputIndex=prtOutputIndex, prtOutputType=prtOutputType, prtOutputCapacityUnit=prtOutputCapacityUnit, prtOutputMaxCapacity=prtOutputMaxCapacity, prtOutputRemainingCapacity=prtOutputRemainingCapacity, prtOutputStatus=prtOutputStatus, prtOutputName=prtOutputName, prtOutputVendorName=prtOutputVendorName, prtOutputModel=prtOutputModel, prtOutputVersion=prtOutputVersion, prtOutputSerialNumber=prtOutputSerialNumber, prtOutputDescription=prtOutputDescription, prtOutputSecurity=prtOutputSecurity, prtOutputDimUnit=prtOutputDimUnit, prtOutputMaxDimFeedDir=prtOutputMaxDimFeedDir, prtOutputMaxDimXFeedDir=prtOutputMaxDimXFeedDir, prtOutputMinDimFeedDir=prtOutputMinDimFeedDir, prtOutputMinDimXFeedDir=prtOutputMinDimXFeedDir, prtOutputStackingOrder=prtOutputStackingOrder, prtOutputPageDeliveryOrientation=prtOutputPageDeliveryOrientation, prtOutputBursting=prtOutputBursting, prtOutputDecollating=prtOutputDecollating, prtOutputPageCollated=prtOutputPageCollated, prtOutputOffsetStacking=prtOutputOffsetStacking, prtMarker=prtMarker, prtMarkerTable=prtMarkerTable, prtMarkerEntry=prtMarkerEntry, prtMarkerIndex=prtMarkerIndex, prtMarkerMarkTech=prtMarkerMarkTech, prtMarkerCounterUnit=prtMarkerCounterUnit, prtMarkerLifeCount=prtMarkerLifeCount, prtMarkerPowerOnCount=prtMarkerPowerOnCount, prtMarkerProcessColorants=prtMarkerProcessColorants, prtMarkerSpotColorants=prtMarkerSpotColorants, prtMarkerAddressabilityUnit=prtMarkerAddressabilityUnit, prtMarkerAddressabilityFeedDir=prtMarkerAddressabilityFeedDir, prtMarkerAddressabilityXFeedDir=prtMarkerAddressabilityXFeedDir, prtMarkerNorthMargin=prtMarkerNorthMargin, prtMarkerSouthMargin=prtMarkerSouthMargin, prtMarkerWestMargin=prtMarkerWestMargin, prtMarkerEastMargin=prtMarkerEastMargin, prtMarkerStatus=prtMarkerStatus, prtMarkerSupplies=prtMarkerSupplies, prtMarkerSuppliesTable=prtMarkerSuppliesTable, prtMarkerSuppliesEntry=prtMarkerSuppliesEntry, prtMarkerSuppliesIndex=prtMarkerSuppliesIndex, prtMarkerSuppliesMarkerIndex=prtMarkerSuppliesMarkerIndex, prtMarkerSuppliesColorantIndex=prtMarkerSuppliesColorantIndex) mibBuilder.exportSymbols("Printer-MIB", prtMarkerSuppliesClass=prtMarkerSuppliesClass, prtMarkerSuppliesType=prtMarkerSuppliesType, prtMarkerSuppliesDescription=prtMarkerSuppliesDescription, prtMarkerSuppliesSupplyUnit=prtMarkerSuppliesSupplyUnit, prtMarkerSuppliesMaxCapacity=prtMarkerSuppliesMaxCapacity, prtMarkerSuppliesLevel=prtMarkerSuppliesLevel, prtMarkerColorant=prtMarkerColorant, prtMarkerColorantTable=prtMarkerColorantTable, prtMarkerColorantEntry=prtMarkerColorantEntry, prtMarkerColorantIndex=prtMarkerColorantIndex, prtMarkerColorantMarkerIndex=prtMarkerColorantMarkerIndex, prtMarkerColorantRole=prtMarkerColorantRole, prtMarkerColorantValue=prtMarkerColorantValue, prtMarkerColorantTonality=prtMarkerColorantTonality, prtMediaPath=prtMediaPath, prtMediaPathTable=prtMediaPathTable, prtMediaPathEntry=prtMediaPathEntry, prtMediaPathIndex=prtMediaPathIndex, prtMediaPathMaxSpeedPrintUnit=prtMediaPathMaxSpeedPrintUnit, prtMediaPathMediaSizeUnit=prtMediaPathMediaSizeUnit, prtMediaPathMaxSpeed=prtMediaPathMaxSpeed, prtMediaPathMaxMediaFeedDir=prtMediaPathMaxMediaFeedDir, prtMediaPathMaxMediaXFeedDir=prtMediaPathMaxMediaXFeedDir, prtMediaPathMinMediaFeedDir=prtMediaPathMinMediaFeedDir, prtMediaPathMinMediaXFeedDir=prtMediaPathMinMediaXFeedDir, prtMediaPathType=prtMediaPathType, prtMediaPathDescription=prtMediaPathDescription, prtMediaPathStatus=prtMediaPathStatus, prtChannel=prtChannel, prtChannelTable=prtChannelTable, prtChannelEntry=prtChannelEntry, prtChannelIndex=prtChannelIndex, prtChannelType=prtChannelType, prtChannelProtocolVersion=prtChannelProtocolVersion, prtChannelCurrentJobCntlLangIndex=prtChannelCurrentJobCntlLangIndex, prtChannelDefaultPageDescLangIndex=prtChannelDefaultPageDescLangIndex, prtChannelState=prtChannelState, prtChannelIfIndex=prtChannelIfIndex, prtChannelStatus=prtChannelStatus, prtChannelInformation=prtChannelInformation, prtInterpreter=prtInterpreter, prtInterpreterTable=prtInterpreterTable, prtInterpreterEntry=prtInterpreterEntry, prtInterpreterIndex=prtInterpreterIndex, prtInterpreterLangFamily=prtInterpreterLangFamily, prtInterpreterLangLevel=prtInterpreterLangLevel, prtInterpreterLangVersion=prtInterpreterLangVersion, prtInterpreterDescription=prtInterpreterDescription, prtInterpreterVersion=prtInterpreterVersion, prtInterpreterDefaultOrientation=prtInterpreterDefaultOrientation, prtInterpreterFeedAddressability=prtInterpreterFeedAddressability, prtInterpreterXFeedAddressability=prtInterpreterXFeedAddressability, prtInterpreterDefaultCharSetIn=prtInterpreterDefaultCharSetIn, prtInterpreterDefaultCharSetOut=prtInterpreterDefaultCharSetOut, prtInterpreterTwoWay=prtInterpreterTwoWay, prtConsoleDisplayBuffer=prtConsoleDisplayBuffer, prtConsoleDisplayBufferTable=prtConsoleDisplayBufferTable, prtConsoleDisplayBufferEntry=prtConsoleDisplayBufferEntry, prtConsoleDisplayBufferIndex=prtConsoleDisplayBufferIndex, prtConsoleDisplayBufferText=prtConsoleDisplayBufferText, prtConsoleLights=prtConsoleLights, prtConsoleLightTable=prtConsoleLightTable, prtConsoleLightEntry=prtConsoleLightEntry, prtConsoleLightIndex=prtConsoleLightIndex, prtConsoleOnTime=prtConsoleOnTime, prtConsoleOffTime=prtConsoleOffTime, prtConsoleColor=prtConsoleColor, prtConsoleDescription=prtConsoleDescription, prtAlert=prtAlert, prtAlertTable=prtAlertTable, prtAlertEntry=prtAlertEntry, prtAlertIndex=prtAlertIndex, prtAlertSeverityLevel=prtAlertSeverityLevel, prtAlertTrainingLevel=prtAlertTrainingLevel, prtAlertGroup=prtAlertGroup, prtAlertGroupIndex=prtAlertGroupIndex, prtAlertLocation=prtAlertLocation, prtAlertCode=prtAlertCode, prtAlertDescription=prtAlertDescription, prtAlertTime=prtAlertTime, printerV1Alert=printerV1Alert, printerV2AlertPrefix=printerV2AlertPrefix) # Notifications mibBuilder.exportSymbols("Printer-MIB", printerV2Alert=printerV2Alert) # Groups mibBuilder.exportSymbols("Printer-MIB", prtGeneralGroup=prtGeneralGroup, prtResponsiblePartyGroup=prtResponsiblePartyGroup, prtInputGroup=prtInputGroup, prtExtendedInputGroup=prtExtendedInputGroup, prtInputMediaGroup=prtInputMediaGroup, prtOutputGroup=prtOutputGroup, prtExtendedOutputGroup=prtExtendedOutputGroup, prtOutputDimensionsGroup=prtOutputDimensionsGroup, prtOutputFeaturesGroup=prtOutputFeaturesGroup, prtMarkerGroup=prtMarkerGroup, prtMarkerSuppliesGroup=prtMarkerSuppliesGroup, prtMarkerColorantGroup=prtMarkerColorantGroup, prtMediaPathGroup=prtMediaPathGroup, prtChannelGroup=prtChannelGroup, prtInterpreterGroup=prtInterpreterGroup, prtConsoleGroup=prtConsoleGroup, prtAlertTableGroup=prtAlertTableGroup, prtAlertTimeGroup=prtAlertTimeGroup, prtAuxiliarySheetGroup=prtAuxiliarySheetGroup, prtInputSwitchingGroup=prtInputSwitchingGroup, prtGeneralV2Group=prtGeneralV2Group, prtAlertTableV2Group=prtAlertTableV2Group, prtChannelV2Group=prtChannelV2Group, prtAlertTrapGroup=prtAlertTrapGroup) # Compliances mibBuilder.exportSymbols("Printer-MIB", prtMIBCompliance=prtMIBCompliance, prtMIB2Compliance=prtMIB2Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/APPLICATION-MIB.py0000644000014400001440000027551611736645134021216 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APPLICATION-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:41 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( DateAndTime, TDomain, TextualConvention, TestAndIncr, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TDomain", "TextualConvention", "TestAndIncr", "TimeStamp", "TruthValue") ( LongUtf8String, sysApplElmtRunIndex, ) = mibBuilder.importSymbols("SYSAPPL-MIB", "LongUtf8String", "sysApplElmtRunIndex") # Types class ApplTAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class Unsigned64TC(Counter64): pass # Objects applicationMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 62)).setRevisions(("1998-11-17 18:15",)) if mibBuilder.loadTexts: applicationMib.setOrganization("Application MIB Working Group") if mibBuilder.loadTexts: applicationMib.setContactInfo("http://www.ietf.org/html.charters/applmib-charter.html\n\nRandy Presuhn\nBMC Software, Inc.\n965 Stewart Drive\nSunnyvale, CA 94086\nUSA\n\nTelephone: +1 408 616-3100\nFacsimile: +1 408 616-3101\nEMail: randy_presuhn@bmc.com") if mibBuilder.loadTexts: applicationMib.setDescription("This MIB defines objects representing generic aspects of\napplications that are of interest to management but typically\nrequire instrumentation within managed application elements.") applicationMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 62, 1)) applServiceGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 62, 1, 1)) applSrvNameToSrvInstTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 1, 1)) if mibBuilder.loadTexts: applSrvNameToSrvInstTable.setDescription("The service name to service instance table uses\nservice name as its primary key, and service instance\nidentifier as its secondary key. It facilitates the\nidentification and lookup of the instances of a given\nservice in a system.") applSrvNameToSrvInstEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 1, 1, 1)).setIndexNames((0, "APPLICATION-MIB", "applSrvName"), (0, "APPLICATION-MIB", "applSrvIndex")) if mibBuilder.loadTexts: applSrvNameToSrvInstEntry.setDescription("An applSrvNameToSrvInstEntry identifies an instance of\na given service. The allocation and reservation\nof unique values for applSrvIndex is an administrative\nissue.\n\nAn applSrvNameToSrvInstEntry exists for the lifetime of\nthat instance of that service; the index values may not\nchange during that lifetime. ") applSrvInstQual = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 1, 1, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: applSrvInstQual.setDescription("The value of applSrcInstQual provides additional\ninformation about this particular instance of this\nservice.\n\nAlthough not used for indexing purposes, the value of\nthis attribute should be sufficiently unique to be\nhelpful to an administrator in distinguishing among\nservice instances. ") applSrvInstToSrvNameTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 1, 2)) if mibBuilder.loadTexts: applSrvInstToSrvNameTable.setDescription("The service instance to service name table uses\nservice instance identifier as its primary key, and\nservice name as its secondary key. Given a service\ninstance identifier, it facilitates the lookup of the\nname of the service being provided.") applSrvInstToSrvNameEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 1, 2, 1)).setIndexNames((0, "APPLICATION-MIB", "applSrvIndex"), (0, "APPLICATION-MIB", "applSrvName")) if mibBuilder.loadTexts: applSrvInstToSrvNameEntry.setDescription("An applSrvInstToSrvNameEntry maps a service instance\nidentifier back to a service name.") applSrvName = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 1, 2, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: applSrvName.setDescription("The human-readable name of a service. Where\nappropriate, as in the case where a service can be\nidentified in terms of a single protocol, the strings\nshould be established names such as those assigned by\nIANA and found in STD 2 [13], or defined by some other\nauthority. In some cases private conventions apply\nand the string should in these cases be consistent\nwith these non-standard conventions. An applicability\nstatement may specify the service name(s) to be used.") applSrvInstToRunApplElmtTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 1, 3)) if mibBuilder.loadTexts: applSrvInstToRunApplElmtTable.setDescription("The service instance to running application element\ntable uses the service instance identifier as its primary\nkey, and the running application element index as its\nsecondary key. This facilitates the identification\nof the set of running application elements providing a\ngiven instance of a service.") applSrvInstToRunApplElmtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 1, 3, 1)).setIndexNames((0, "APPLICATION-MIB", "applSrvIndex"), (0, "SYSAPPL-MIB", "sysApplElmtRunIndex")) if mibBuilder.loadTexts: applSrvInstToRunApplElmtEntry.setDescription("An applSrvInstToRunApplElmtEntry identifies a running\napplication element providing an instance of a service.\nNote that there may be multiple running application\nelements involved in the provision of an instance of\na service.") applSrvIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: applSrvIndex.setDescription("An applSrvIndex is the system-unique identifier of\nan instance of a service. The value is unique not only\nacross all instances of a given service, but also across\nall services in a system.\n\nRe-use of values for this index should be avoided.\nNo two service instances in a given system shall\nconcurrently have the same value for this index.\n\nThe value zero is excluded from the set of permitted\nvalues for this index. This allows other tables to\npotentially represent things which cannot be associated\nwith a specific service instance.") applRunApplElmtToSrvInstTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 1, 4)) if mibBuilder.loadTexts: applRunApplElmtToSrvInstTable.setDescription("The running application element to service instance\ntable uses the running application element index as\nits primary key and the service instance identifier as\nits secondary key. It identifies the set of services\nprovided by a given running application element.") applRunApplElmtToSrvInstEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 1, 4, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplElmtRunIndex"), (0, "APPLICATION-MIB", "applSrvInstance")) if mibBuilder.loadTexts: applRunApplElmtToSrvInstEntry.setDescription("An applRunApplElmtToSrvInstEntry serves to identify an\ninstance of a service being provided by a given running\napplication element. Note that a particular running\napplication element may provide multiple services.") applSrvInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: applSrvInstance.setDescription("An applSrvInstance is the system-unique identifier of an\ninstance of a service. The value is unique not only\nacross all instances of a given service, but also across\nall services.\n\nRe-use of values for this index should be avoided.\nNo two service instances in a given system shall\nconcurrently have the same value for this index.\nThe value zero is excluded from the set of permitted\nvalues for this index. This allows other tables to\npotentially represent things which cannot be associated\nwith a specific service instance.\n\nThis attribute is semantically identical to\napplSrvIndex.") applChannelGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 62, 1, 2)) applOpenChannelTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 2, 1)) if mibBuilder.loadTexts: applOpenChannelTable.setDescription("The applOpenChannelTable reports information on open\nchannels for running application elements\nand for service instances. This table is\nindexed by applElmtOrSvc, applElmtOrSvcId, and\napplOpenChannelIndex. This effectively groups all\nentries for a given running application element\nor service instance together. ApplChannelIndex uniquely\nidentifies an open channel (and, consequently, a file\nor connection) within the context of a particular\nrunning application element or service instance.\n\nSome of the information in this table is available\nthrough both sixty-four and thirty-two bit counters.\nThe sixty-four bit counters are not accessible in\nprotocols that do not support this data type.") applOpenChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applOpenChannelIndex")) if mibBuilder.loadTexts: applOpenChannelEntry.setDescription("An applOpenChannelEntry indicates that a channel has been\nopened by this running application element or service\ninstance and is still open. Note that if a file has been\nopened multiple times, even by the same process, it will\nhave multiple channel entries.") applElmtOrSvc = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("service", 1), ("element", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applElmtOrSvc.setDescription("The applElmtOrSvc attribute serves as an index for tables\nthat can hold information both for individual running\napplication elements as well as for service instances.\n\nIf the value is service(1), the row contains information\ngathered at the level of a service.\n\nIf the value is element(2), the row contains information\nfor an individual running application element.") applElmtOrSvcId = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applElmtOrSvcId.setDescription("The applElmtOrSvcId attribute is used as an index in\nconjunction with the applElmtOrSvc attribute.\n\nWhen the value of applElmtOrSvc is service(1), this\nattribute's value corresponds to that of applSrvIndex,\nwhen the value of applElmtOrSvc is element(2), this\nattribute's value corresponds to sysApplElmtRunIndex.") applOpenChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 3), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: applOpenChannelIndex.setDescription("This attribute serves to uniquely identify this open\nconnection in the context of the running application\nelement or service instance. Where suitable, the\napplication's native descriptor number should be used.") applOpenChannelOpenTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelOpenTime.setDescription("This attribute records the value of sysUpTime.0\nwhen this channel was opened and this entry was added to\nthis table. This attribute serves as a discontinuity\nindicator for the counter attributes in this entry\nand for any corresponding entries in the\napplOpenConnectionTable, applOpenFileTable, and the\napplTransactionStreamTable.") applOpenChannelReadRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelReadRequests.setDescription("This attribute reports the number of read requests\nfor this channel. All read requests for this channel\nby this entity, regardless of completion status, are\nincluded in this count.\n\nRead requests are counted in terms of system calls,\nrather than API calls.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelReadRequestsLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelReadRequestsLow.setDescription("This attribute reports the low thirty-two bits of\napplOpenChannelReadRequests.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelReadFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelReadFailures.setDescription("This attribute reports the number of failed read\nrequests.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelBytesRead = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelBytesRead.setDescription("This attribute reports the number of bytes read from\nthis channel. Only bytes successfully read are included\nin this count.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelBytesReadLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelBytesReadLow.setDescription("This attribute corresponds to the low thirty-two bits\nof applOpenChannelBytesRead.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelLastReadTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 10), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelLastReadTime.setDescription("This attribute reports the time of the most recent read\nrequest made by this entity, regardless of completion\nstatus, for this open channel.\n\nIf no read requests have been made the value of this\nattribute shall be '0000000000000000'H ") applOpenChannelWriteRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelWriteRequests.setDescription("This attribute reports the number of write requests for\nthis channel made by this entity. All write requests\nfor this channel, regardless of completion status, are\nincluded in this count.\n\nWrite requests are counted in terms of system calls,\nrather than API calls.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelWriteRequestsLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelWriteRequestsLow.setDescription("This attribute corresponds to the low thirty-two bits\nof applOpenChannelWriteRequests.\n\nDiscontinuities in this counter can be detected\nby monitoring the applOpenChannelOpenTime value for\nthis entry.") applOpenChannelWriteFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelWriteFailures.setDescription("This attribute reports the number of failed write\nrequests.\n\nDiscontinuities in this counter can be detected\nby monitoring the applOpenChannelOpenTime value for\nthis entry.") applOpenChannelBytesWritten = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelBytesWritten.setDescription("This attribute reports the number of bytes written to\nthis channel. Only bytes successfully written (without\nerrors reported by the system to the API in use by the\napplication) are included in this count.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelBytesWrittenLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelBytesWrittenLow.setDescription("This attribute corresponds to the low thirty-two bits\nof applOpenChannelBytesWritten.\n\nDiscontinuities in this counter can be detected by\nmonitoring the applOpenChannelOpenTime value for this\nentry.") applOpenChannelLastWriteTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 1, 1, 16), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenChannelLastWriteTime.setDescription("This attribute reports the time of the most recent write\nrequest made by this running application element or\nservice instance, regardless of completion status, for\nthis open channel.\nIf no write requests have been made, the value\nof this attribute shall be '0000000000000000'H ") applOpenFileTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 2, 2)) if mibBuilder.loadTexts: applOpenFileTable.setDescription("The applOpenFileTable reports information on open files\nfor service instances or application elements. This\ntable is indexed by applElmtOrSvc and applElmtOrSvcId,\neffectively grouping all entries for a given running\nservice instance or application element together, and\nby applOpenChannelIndex, uniquely identifying an open\nchannel (and, consequently, a file) within the context\nof a particular service instance or application element.\n\nElements in this table correspond to elements in the\napplOpenChannelTable that represent files. For rows in\nthe applOpenChannelTable that do not represent files,\ncorresponding rows in this table will not exist.") applOpenFileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 2, 2, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applOpenChannelIndex")) if mibBuilder.loadTexts: applOpenFileEntry.setDescription("An applOpenFileEntry indicates that a file has been\nopened by this running application element and is\nstill open. Note that if a file has been opened\nmultiple times, even by the same process, it will have\nmultiple entries.") applOpenFileName = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 2, 1, 1), LongUtf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenFileName.setDescription("This attribute reports the name of this open file.\nWherever practical, a fully qualified path name should\nbe reported.\n\nThe values 'stdin', 'stdout', and 'stderr' are reserved\nin accordance with common usage when the fully qualified\npath name cannot be determined.") applOpenFileSizeHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 2, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenFileSizeHigh.setDescription("This file's current size in 2^32 byte blocks.\n\nFor example, for a file with a total size of 4,294,967,296\nbytes, this attribute would have a value of 1; for a file\nwith a total size of 4,294,967,295 bytes this attribute's\nvalue would be 0.") applOpenFileSizeLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenFileSizeLow.setDescription("This file's current size modulo 2^32 bytes.\n\nFor example, for a file with a total size of\n4,294,967,296 bytes this attribute would have a value\nof 0; for a file with a total size of 4,294,967,295\nbytes this attribute's value would be 4,294,967,295.") applOpenFileMode = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("read", 1), ("write", 2), ("readWrite", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenFileMode.setDescription("This attribute reports the current mode of this file from\nthe perspective of this running application element.\n\nThese values have the following meanings:\n\n read(1) - file opened for reading only\n write(2) - file opened for writing only\n readWrite(3) - file opened for read and write.\n\nThese values correspond to the POSIX/ANSI C library\nfunction fopen() 'type' parameter, using the following\nmappings:\n\n r -> read(1)\n w -> write(2)\n a -> write(2)\n + -> readWrite(3)") applOpenConnectionTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 2, 3)) if mibBuilder.loadTexts: applOpenConnectionTable.setDescription("The applOpenConnectionTable provides information about\nopen and listening connections from the perspective\nof a running application element or service instance.\nEntries in this table are indexed by applElmtOrSvc,\napplElmtOrSvcID, and by applOpenChannelIndex, which\nserves to uniquely identify each connection in the\ncontext of a service instance or running application\nelement.\n\nFor each row in this table, a corresponding row will\nexist in the applOpenChannel table. For rows in the\napplOpenChannelTable which do not represent open or\nlistening connections, no corresponding rows will exist\nin this table.") applOpenConnectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 2, 3, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applOpenChannelIndex")) if mibBuilder.loadTexts: applOpenConnectionEntry.setDescription("An applOpenConnectionEntry indicates that a running\napplication element or service instance has an open\nconnection. The entry has information describing that\nconnection.\n\nIn the case of a TCP transport, the element\napplOpenConnectionNearEndAddr and that row's\napplOpenConnectionFarEndAddr would correspond\nto a tcpConnEntry. For a UDP transport, a\nsimilar relationship exists with respect to\na udpEntry.") applOpenConnectionTransport = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 3, 1, 1), TDomain().clone('0.0')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenConnectionTransport.setDescription("The applOpenConnectionTransport attribute identifies the\ntransport protocol in use for this connection. If it is\nnot practical to determine the underlying transport, this\nattribute's value shall have a value of {0 0}.") applOpenConnectionNearEndAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 3, 1, 2), ApplTAddress().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenConnectionNearEndAddr.setDescription("The applOpenConnectionNearEndAddr attribute reports the\ntransport address and port information for the near end\nof this connection.\n\nIf the value is not known, the value has a length\nof zero.") applOpenConnectionNearEndpoint = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 3, 1, 3), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenConnectionNearEndpoint.setDescription("The applOpenConnectionNearEndpoint attribute reports the\nfully-qualified domain name and port information for the\nnear end of this connection.\n\nThe format of this attribute for TCP and UDP-based\nprotocols is the fully-qualified domain name immediately\nfollowed by a colon which is immediately followed by\nthe decimal representation of the port number.\n\nIf the value is not known, the value has a length\nof zero.") applOpenConnectionFarEndAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 3, 1, 4), ApplTAddress().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenConnectionFarEndAddr.setDescription("The applOpenConnectionFarEndAddr attribute reports the\ntransport address and port information for the far end\nof this connection.\n\nIf not known, as in the case of a connectionless\ntransport, the value of this attribute shall be a\nzero-length string.") applOpenConnectionFarEndpoint = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 3, 1, 5), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenConnectionFarEndpoint.setDescription("The applOpenConnectionFarEndpoint attribute reports\nthe fully-qualified domain name and port information\nfor the far end of this connection.\n\nThe format of this attribute for TCP and UDP-based\nprotocols is the fully-qualified domain name immediately\nfollowed by a colon which is immediately followed by\nthe decimal representation of the port number.\n\nIf not known, as in the case of a connectionless\ntransport, the value of this attribute shall be a\nzero-length string.") applOpenConnectionApplication = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 3, 1, 6), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applOpenConnectionApplication.setDescription("The applOpenConnectionApplication attribute identifies\nthe application layer protocol in use. If not known,\nthe value of this attribute shall be a zero-length\nstring.\n\nWhen possible, protocol names should be those used in\nthe 'ASSIGNED NUMBERS' [13]. For example, an SMTP mail\nserver would use 'SMTP'.") applTransactionStreamTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 2, 4)) if mibBuilder.loadTexts: applTransactionStreamTable.setDescription("The applTransactionStreamTable contains common\ninformation for transaction statistic accumulation.") applTransactionStreamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applOpenChannelIndex")) if mibBuilder.loadTexts: applTransactionStreamEntry.setDescription("An applTransactionStreamEntry contains information for\na single transaction stream. A transaction stream\ncan be a network connection, file, or other source\nof transactions.") applTransactStreamDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 1), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamDescr.setDescription("The applTransactStreamDescr attribute provides a\nhuman-readable description of this transaction stream.\nIf no descriptive information is available, this\nattribute's value shall be a zero-length string.") applTransactStreamUnitOfWork = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 2), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamUnitOfWork.setDescription("The applTransactStreamUnitOfWork attribute provides a\nhuman-readable definition of what the unit of work is\nfor this transaction stream.\n\nIf no descriptive information is available, this\nattribute's value shall be a zero-length string.") applTransactStreamInvokes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamInvokes.setDescription("Cumulative count of requests / invocations issued.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactStreamInvokesLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamInvokesLow.setDescription("This counter corresponds to the low thirty-two\nbits of applTransactStreamInvokes.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactStreamInvCumTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamInvCumTimes.setDescription("The applTransactStreamInvCumTimes attribute reports the\ncumulative sum of the lengths of the intervals measured\nbetween the transmission of requests and the receipt of\n(the first of) the corresponding response(s).\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactStreamInvRspTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamInvRspTimes.setDescription("The applTransactStreamInvRspTimes attribute reports the\ncumulative sum of the lengths of the intervals measured\nbetween the receipt of the first and last of multiple\nresponses to a request.\n\nFor transaction streams which do not permit multiple\nresponses to a single request, this attribute will be\nconstant.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactStreamPerforms = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamPerforms.setDescription("Cumulative count of transactions performed.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactStreamPerformsLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamPerformsLow.setDescription("This counter reports the low thirty-two bits of\napplTransactStreamPerforms.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactStreamPrfCumTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamPrfCumTimes.setDescription("The applTransactStreamPrfCumTimes attribute reports the\ncumulative sum of the interval lengths measured between\nreceipt of requests and the transmission of the\ncorresponding responses.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactStreamPrfRspTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactStreamPrfRspTimes.setDescription("For each transaction performed, the elapsed time between\nwhen the first response is enqueued and when the last\nresponse is enqueued is added to this cumulative sum.\n\nFor single-response protocols, the value of\napplTransactStreamPrfRspTimes will be constant.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactFlowTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 2, 5)) if mibBuilder.loadTexts: applTransactFlowTable.setDescription("The applTransactFlowTable contains entries, organized by\napplication instance or running application element,\ndirection of flow, and type (request/response) for each\nopen transaction stream.\n\nThe simple model of a transaction used here looks like\nthis:\n\n invoker | Request | performer\n | - - - - - - > |\n | |\n | Response |\n | < - - - - - - |\n | |\n\nSince in some protocols it is possible for an entity\nto take on both the invoker and performer roles,\ninformation here is accumulated for transmitted and\nreceived requests, as well as for transmitted and\nreceived responses. Counts are maintained for both\ntransactions and bytes transferred.") applTransactFlowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applOpenChannelIndex"), (0, "APPLICATION-MIB", "applTransactFlowDirection"), (0, "APPLICATION-MIB", "applTransactFlowReqRsp")) if mibBuilder.loadTexts: applTransactFlowEntry.setDescription("An applTransactFlowEntry reports transaction throughput\ninformation for requests or response in a particular\ndirection (transmit / receive) for a transaction stream.\n\nEntries in this table correspond to those in the\napplTransactionStreamTable with identical values for the\napplElmtOrSvc, applElmtOrSvcId, and applOpenChannelIndex.\n\nFor all counter objects in one of these entries,\nthe corresponding (same value for applElmtOrSvc,\napplElmtOrSvcId, and applOpenChannelIndex)\napplOpenChannelOpenTime object serves as a discontinuity\nindicator. ") applTransactFlowDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("transmit", 1), ("receive", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applTransactFlowDirection.setDescription("The applTransactFlowDirection index serves to identify\nan entry as containing information pertaining to the\ntransmit (1) or receive (2) flow of a transaction\nstream.") applTransactFlowReqRsp = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("request", 1), ("response", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applTransactFlowReqRsp.setDescription("The value of the applTransactFlowReqRsp index indicates\nwhether this entry contains information on requests\n(1), or responses (2).") applTransactFlowTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactFlowTrans.setDescription("The applTransactFlowTrans attribute reports the number\nof request/response transactions (as indicated by\nthe applTransactFlowReqRsp index) received/generated\n(as indicated by the applTransactFlowDirection index)\nthat this service instance or running application\nelement has processed for this transaction stream.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactFlowTransLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactFlowTransLow.setDescription("This attribute corresponds to the low thirty-two\nbits of applTransactFlowTrans.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactFlowBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactFlowBytes.setDescription("The applTransactFlowBytes attribute reports the number\nof request/response (as indicated by the\napplTransactFlowReqRsp index) bytes received/generated\n(as indicated by the applTransactFlowDirection index)\nhandled by this application element or service instance\non this transaction stream.\n\nAll application layer bytes are included in this count,\nincluding any application layer wrappers, headers, or\nother overhead.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactFlowBytesLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactFlowBytesLow.setDescription("This attribute corresponds to the low thirty-two\nbits of applTransactFlowBytes.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactFlowTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 5, 1, 7), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactFlowTime.setDescription("The applTransactFlowTime attribute records the time of\nthe processing (receipt or transmission as indicated\nby the applTransactFlowDirection index) by this\nrunning application element or service instance of\nthe most recent request/response (as indicated by\nthe applTransactFlowReqRsp index) on this transaction\nstream.\n\nIf no requests/responses been received/transmitted by\nthis entity over this transaction stream, the value\nof this attribute shall be '0000000000000000'H ") applTransactKindTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 2, 6)) if mibBuilder.loadTexts: applTransactKindTable.setDescription("The applTransactKindTable provides transaction statistics\nbroken down by kinds of transaction. The definition of\nthe kinds of transactions is specific to the application\nprotocol in use, and may be documented in the form of an\napplicability statement. ") applTransactKindEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 2, 6, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applOpenChannelIndex"), (0, "APPLICATION-MIB", "applTransactFlowDirection"), (0, "APPLICATION-MIB", "applTransactFlowReqRsp"), (0, "APPLICATION-MIB", "applTransactKind")) if mibBuilder.loadTexts: applTransactKindEntry.setDescription("An applTransactKindEntry reports information for a\nspecific service instance or running application\nelement's use of a specific transaction stream in\na particular direction in requests or responses\n(as indicated by the applTransactFlowReqRsp index)\nbroken down by transaction kind, as indicated by the\napplTransactKind index.\n\nDiscontinuities in any of the counters in an entry can\nbe detected by monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactKind = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 6, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applTransactKind.setDescription("The applTransactKind index is the human-readable\nidentifier for a particular transaction kind within\nthe context of an application protocol. The values\nto be used for a particular protocol may be identified\nin an applicability statement.") applTransactKindTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 6, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactKindTrans.setDescription("The applTransactKindTrans attribute reports the number\nof request/response (as indicated by the\napplTransactFlowReqRsp index) transactions\nreceived/generated (as indicated by the\napplTransactFlowDirection index) handled by this\napplication instance or application element on this\ntransaction stream for this transaction kind.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactKindTransLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactKindTransLow.setDescription("The applTransactKindTransLow attribute reports\nthe low thirty-two bits of applTransactKindTrans.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactKindBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 6, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactKindBytes.setDescription("The applTransactKindBytes attribute reports the number\nof request/response (as indicated by the\napplTransactFlowReqRsp index) bytes received/generated\n(as indicated by the applTransactFlowDirection index)\nhandled by this application element on this transaction\nstream for this transaction kind.\n\nAll application layer bytes are included in this count,\nincluding any application layer wrappers, headers, or\nother overhead.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactKindBytesLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactKindBytesLow.setDescription("The applTransactKindBytesLow attribute corresponds\nto the low thirty-two bits of applTransactKindBytes.\n\nDiscontinuities in this counter can be detected\nby monitoring the corresponding instance of\napplOpenChannelOpenTime.") applTransactKindTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 2, 6, 1, 6), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applTransactKindTime.setDescription("The applTransactKindTime attribute records the time of\nthe processing (receipt or transmission as indicated\nby the applTransactFlowDirection index) by this\nrunning application element or service instance of\nthe most recent request/response (as indicated by\nthe applTransactFlowReqRsp index) of this kind of\ntransaction on this transaction stream.\n\nIf no requests/responses of this kind been\nreceived/transmitted by this running application element\nor service instance over this transaction stream, the\nvalue of this attribute shall be '0000000000000000'H ") applPastChannelGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 62, 1, 3)) applPastChannelControlTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 3, 1)) if mibBuilder.loadTexts: applPastChannelControlTable.setDescription("The applPastChannelControlTable controls the\naccumulation of history information about channels\nfrom the perspective of service instances and running\napplication elements. Entries in this table are indexed\nby applElmtOrSvc and applElmtOrSvcId, giving control\nof channel history accumulation at the level of each\nservice instance and running application element.") applPastChannelControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 3, 1, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId")) if mibBuilder.loadTexts: applPastChannelControlEntry.setDescription("An applPastChannelControlEntry provides the ability\nto control the retention of channel history information\nby service instances and running application elements.") applPastChannelControlCollect = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("frozen", 2), ("disabled", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: applPastChannelControlCollect.setDescription("When the value of applPastChannelControlCollect is\n'enabled', each time the corresponding running\napplication element or service instance closes\nan open channel a new entry will be added to the\napplPastChannelTable.\n\nWhen the value of applPastChannelControlCollect\nis 'frozen', no new entries are added to the\napplPastChannelTable for this running application\nelement or service instance, and old entries are not\naged out.\n\nWhen the value of applPastChannelControlCollect\nis 'disabled', all entries are removed from\napplPastChannelTable for this running application or\nservice instance, and no new entries are added.") applPastChannelControlMaxRows = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 1, 1, 2), Unsigned32().clone(500)).setMaxAccess("readwrite") if mibBuilder.loadTexts: applPastChannelControlMaxRows.setDescription("The maximum number of entries allowed in the\napplPastChannelTable for this running application element\nor service instance. Once the number of rows for this\nrunning application element or service instance in the\napplPastChannelTable reaches this value, when new\nentries are to be added the management subsystem will\nmake room for them by removing the oldest entries.\nEntries will be removed on the basis of oldest\napplPastChannelCloseTime value first.") applPastChannelControlTimeLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 1, 1, 3), Unsigned32().clone(7200)).setMaxAccess("readwrite") if mibBuilder.loadTexts: applPastChannelControlTimeLimit.setDescription("The maximum time in seconds which an entry for this\nrunning application element or service instance\nmay exist in the applPastChannelTable before it\nis removed. Any entry that is older than this value\nwill be removed (aged out) from the table, unless the\napplPastChannelControlCollect is set to 'frozen'.\n\nNote that an entry may be aged out prior to reaching\nthis time limit if it is the oldest entry in the table\nand must be removed to make space for a new entry so\nas to not exceed applPastChannelControlMaxRows, or if the\napplPastChannelControlCollect is set to 'disabled'.") applPastChannelControlRemItems = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelControlRemItems.setDescription("The applPastChannelControlRemItems attribute reports the\nnumber of applPastChannelControlTable entries for this\nrunning application element or service instance that\nwere deleted in order to make room for new history\nentries.\n\nThis count does NOT include entries deleted for the\nfollowing reasons:\n - the corresponding applPastChannelControlCollect\n attribute has been set to 'disabled'\n\n - the entry has been in the table longer that the\n time limit indicated by the corresponding\n applPastChannelControlTimeLimit.") applPastChannelTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 3, 2)) if mibBuilder.loadTexts: applPastChannelTable.setDescription("The applPastChannelTable provides history information\nabout channels from the perspective of running\napplication elements and service instances.\nEntries in this table are indexed by applElmtOrSvc,\napplElmtOrSvcId, and by applPastChannelIndex, which\nserves to uniquely identify each former channel in the\ncontext of a running application element or service\ninstance.\n\nNote that the value of applPastChannelIndex is\nindependent of the value applOpenChannelIndex had when\nthis channel was open.\n\nEntries for closed channels for a given running\napplication element or service instance can\nbe added to this table only if its entry in the\napplPastChannelControlTable has the value 'enabled'\nfor the attribute applPastChannelControlCollect.\n\nEntries for closed channels are removed under the\nfollowing circumstances:\n\n - the running application element or service\n instance no longer exists\n\n - the corresponding applPastChannelControlCollect\n attribute has been set to 'disabled'\n\n - the entry has been in the table longer that the\n time limit indicated by the corresponding\n applPastChannelControlTimeLimit and the value of\n applPastChannelControlCollect is not 'frozen'\n\n - this is the oldest entry for the running\n application element or service instance in\n question and the addition of a new element would\n otherwise cause applPastChannelControlMaxRows to\n be exceeded for this running application element\n or service instance.\n\n - a value of applPastChannelIndex has been re-used.\n Note that under normal circumstances, this is\n unlikely.\n\nRemoval/replacement of an entry under the\nlast two conditions causes the corresponding\napplPastChannelControlRemItems to be incremented.") applPastChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applPastChannelIndex")) if mibBuilder.loadTexts: applPastChannelEntry.setDescription("An applPastChannelEntry indicates that a running\napplication element or service instance once had an open\nchannel, which is now closed. The entry has information\ndescribing that channel.") applPastChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applPastChannelIndex.setDescription("This attribute serves to uniquely identify this closed\nchannel in the context of the running application\nelement or service instance. This attribute has no\nother semantics.\n\nNote that the value of applPastChannelIndex is\nindependent of the value applOpenChannelIndex had when\nthis channel was active.\n\nIn issuing this index value, the implementation must\navoid re-issuing an index value which has already been\nassigned to an entry which has not yet been deleted due\nto age or space considerations.\n\nThe value zero is excluded from the set of permitted\nvalues for this index in order to permit other tables to\npossibly represent information that cannot be associated\nwith a specific entry in this table. ") applPastChannelOpenTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelOpenTime.setDescription("This attribute records the time when this channel was\noriginally opened. Note that this information is quite\ndifferent from applOpenChannelOpenTime, which is used\nfor the detection of counter discontinuities.") applPastChannelCloseTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelCloseTime.setDescription("This attribute records the time when this channel\nwas closed.") applPastChannelReadRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 4), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelReadRequests.setDescription("This attribute records the number of read requests for\nthis channel made by this running application element or\nservice instance. All read requests for this channel by\nthis running application element or service instance,\nregardless of completion status, are included in this\ncount. Read requests are counted in terms of system\ncalls, rather than API calls.") applPastChannelReadReqsLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelReadReqsLow.setDescription("This attribute corresponds to the low thirty-two bits\nof applPastChannelReadRequests.") applPastChannelReadFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelReadFailures.setDescription("This attribute reports the number of failed read\nrequests.") applPastChannelBytesRead = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 7), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelBytesRead.setDescription("This attribute reports the number of bytes read from this\nchannel by this running application element or service\ninstance. Only bytes successfully read are included in\nthis count. ") applPastChannelBytesReadLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelBytesReadLow.setDescription("This attribute corresponds to the low thirty-two bits\nof applPastChannelBytesRead.") applPastChannelLastReadTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 9), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelLastReadTime.setDescription("This attribute reports the time of the most recent read\nrequest made by this running application element or\nservice instance regardless of completion status, for\nthis former channel.\n\nIf no read requests have been made , the value of this\nattribute shall be '0000000000000000'H ") applPastChannelWriteRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 10), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelWriteRequests.setDescription("The applPastChannelWriteRequests attribute reports\nthe number of write requests, regardless of completion\nstatus, made by this running application element or\nservice instance for this former channel.\n\nWrite requests are counted in terms of system calls,\nrather than API calls.") applPastChannelWriteReqsLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelWriteReqsLow.setDescription("This attribute corresponds to the low thirty-two\nbits of applPastChannelWriteRequests.") applPastChannelWriteFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelWriteFailures.setDescription("This attribute reports the number of failed write\nrequests.") applPastChannelBytesWritten = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 13), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelBytesWritten.setDescription("This attribute reports the number of bytes written to\nthis former channel by this running application element\nor service instance. Only bytes successfully written\n(no errors reported by the API in use by the application)\nare included in this count.") applPastChannelBytesWritLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 14), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelBytesWritLow.setDescription("This attribute corresponds to the low thirty-two bits of\napplPastChannelBytesWritten.") applPastChannelLastWriteTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 2, 1, 15), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastChannelLastWriteTime.setDescription("The applPastChannelLastWriteTime attribute reports\nthe time of the most recent write request made by\nthis running application element or service instance,\nregardless of completion status, for this former\nchannel.\n\nIf no write requests have been made the value of this\nattribute shall be '0000000000000000'H ") applPastFileTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 3, 3)) if mibBuilder.loadTexts: applPastFileTable.setDescription("The applPastFileTable supplements the\napplPastChannelTable for entries corresponding to\nchannels which were files. The indexing structure is\nidentical to applPastChannelTable. An entry exists in\nthe applPastFileTable only if there is a corresponding\n(same index values) entry in the applPastChannelTable\nand if the channel was a file.\n\nEntries for closed files are removed when the\ncorresponding entries are removed from the\napplPastChannelTable.") applPastFileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 3, 3, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applPastChannelIndex")) if mibBuilder.loadTexts: applPastFileEntry.setDescription("An applPastFileEntry provides additional, file-specific\ninformation to complement the corresponding\napplPastChannelEntry for a channel which was a file.") applPastFileName = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 3, 1, 1), LongUtf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastFileName.setDescription("This attribute records the last known value of\napplOpenFileName before the channel was closed.") applPastFileSizeHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastFileSizeHigh.setDescription("This attribute records the value of applOpenFileSizeHigh\nat the time this channel was closed.\n\nFor example, for a file with a total size of\n4,294,967,296 bytes, this attribute would have a value\nof 1; for a file with a total size of 4,294,967,295\nbytes this attribute's value would be 0.") applPastFileSizeLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastFileSizeLow.setDescription("This attribute records the value of applOpenFileSizeLow\nat the time this channel was closed.\n\nFor example, for a file with a total size of\n4,294,967,296 bytes this attribute would have a value\nof 0; for a file with a total size of 4,294,967,295\nbytes this attribute's value would be 4,294,967,295.") applPastFileMode = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("read", 1), ("write", 2), ("readWrite", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastFileMode.setDescription("This attribute records the value of applOpenFileMode\nat the time this channel was closed. ") applPastConTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 3, 4)) if mibBuilder.loadTexts: applPastConTable.setDescription("The applPastConTable supplements the applPastChannelTable\nfor entries corresponding to channels which were\nconnections. The indexing structure is identical\nto applPastChannelTable. An entry exists in the\napplPastConTable only if there is a corresponding\n(same index values) entry in the applPastChannelTable\nand if the channel was a connection.\n\nEntries for closed connections are removed when\nthe corresponding entries are removed from the\napplPastChannelTable.") applPastConEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 3, 4, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applPastChannelIndex")) if mibBuilder.loadTexts: applPastConEntry.setDescription("An applPastConEntry provides additional,\nconnection-specific information to complement the\ncorresponding applPastChannelEntry for a channel which\nwas a connection.") applPastConTransport = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 4, 1, 1), TDomain().clone('0.0')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastConTransport.setDescription("The applPastConTransport attribute identifies the\ntransport protocol that was in use for this former\nconnection. If the transport protocol could not be\ndetermined, the value { 0 0 } shall be used.") applPastConNearEndAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 4, 1, 2), ApplTAddress().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastConNearEndAddr.setDescription("The applPastConNearEndAddr attribute reports the\ntransport address and port information for the near\nend of this former connection.\n\nIf the information could not be determined, the value\nshall be a zero-length string.") applPastConNearEndpoint = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 4, 1, 3), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastConNearEndpoint.setDescription("The applPastConNearEndpoint attribute reports the\nfully-qualified domain name and port information for the\nnear end of this former connection.\n\nThe format of this attribute for TCP and UDP-based\nprotocols is the fully-qualified domain name immediately\nfollowed by a colon which is immediately followed by\nthe decimal representation of the port number.\n\nIf the information could not be determined, the value\nshall be a zero-length string.") applPastConFarEndAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 4, 1, 4), ApplTAddress().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastConFarEndAddr.setDescription("The applPastConFarEnd attribute reports the transport\naddress and port information for the far end of this\nformer connection.\n\nIf not known, as in the case of a connectionless\ntransport, the value of this attribute shall be a\nzero-length string.") applPastConFarEndpoint = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 4, 1, 5), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastConFarEndpoint.setDescription("The applPastConFarEndpoint attribute reports the\ntransport address and port information for the far\nend of this former connection.\n\nThe format of this attribute for TCP and UDP-based\nprotocols is the fully-qualified domain name immediately\nfollowed by a colon which is immediately followed by\nthe decimal representation of the port number.\n\nIf not known, as in the case of a connectionless\ntransport, the value of this attribute shall be a\nzero-length string.") applPastConApplication = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 4, 1, 6), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastConApplication.setDescription("The applPastConApplication attribute identifies the\napplication layer protocol that was in use. Where\npossible, the values defined in [13] shall be used.\nIf not known, the value of this attribute shall be a\nzero-length string.") applPastTransStreamTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 3, 5)) if mibBuilder.loadTexts: applPastTransStreamTable.setDescription("The applPastTransStreamTable contains common\ninformation for historical transaction statistics.") applPastTransStreamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applPastChannelIndex")) if mibBuilder.loadTexts: applPastTransStreamEntry.setDescription("An applPastTransStreamEntry contains information for\na single former transaction stream. A transaction\nstream could have been a network connection, file, or\nother source of transactions.") applPastTransStreamDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 1), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamDescr.setDescription("The applPastTransStreamDescr attribute provides a\nhuman-readable description of this transaction stream.\n\nIf no descriptive information is available, this\nattribute's value shall be a zero-length string.") applPastTransStreamUnitOfWork = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 2), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamUnitOfWork.setDescription("The applPastTransStreamUnitOfWork attribute provides a\nhuman-readable definition of what the unit of work is\nfor this transaction stream.\n\nIf no descriptive information is available, this\nattribute's value shall be a zero-length string.") applPastTransStreamInvokes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 3), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamInvokes.setDescription("Cumulative count of requests / invocations issued\nfor this transaction stream when it was active.") applPastTransStreamInvokesLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamInvokesLow.setDescription("This object corresponds to the low thirty-two\nbits of applPastTransStreamInvokes.") applPastTransStreamInvCumTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamInvCumTimes.setDescription("The applPastTransStreamInvCumTimes attribute reports the\ncumulative sum of the lengths of the intervals times\nmeasured between the transmission of requests and the\nreceipt of (the first of) the corresponding response(s).") applPastTransStreamInvRspTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamInvRspTimes.setDescription("The applPastTransStreamInvRspTimes attribute reports the\ncumulative sum of the lengths of the intervals measured\nbetween the receipt of the first and last of multiple\nresponses to a request.\n\nFor transaction streams which do not permit multiple\nresponses to a single request, this attribute will be\nzero.") applPastTransStreamPerforms = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 7), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamPerforms.setDescription("Total number of transactions performed.") applPastTransStreamPerformsLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamPerformsLow.setDescription("This objecy reports the low thirty-two bits of\napplPastTransStreamPerforms.") applPastTransStreamPrfCumTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamPrfCumTimes.setDescription("The applPastTransStreamPrfCumTimes attribute reports the\ncumulative sum of the lengths of the intervals measured\nbetween receipt of requests and the transmission of the\ncorresponding responses.") applPastTransStreamPrfRspTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 5, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransStreamPrfRspTimes.setDescription("For each transaction performed, the elapsed time between\nwhen the first response is enqueued and when the last\nresponse is enqueued is added to this cumulative sum.\n\nFor single-response protocols, the value of\napplPastTransStreamPrfRspTimes will be zero.") applPastTransFlowTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 3, 6)) if mibBuilder.loadTexts: applPastTransFlowTable.setDescription("The applPastTransFlowTable contains entries, organized by\napplication instance or running application element,\ndirection of flow, and type (request/response) for each\nformer transaction stream.\n\nThe simple model of a transaction used here looks like\nthis:\n\n invoker | Request | performer\n | - - - - - - > |\n | |\n | Response |\n | < - - - - - - |\n | |\n\nSince in some protocols it is possible for an entity\nto take on both the invoker and performer roles,\ninformation here is accumulated for transmitted and\nreceived requests, as well as for transmitted and\nreceived responses. Counts are maintained for both\ntransactions and bytes transferred.") applPastTransFlowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applPastChannelIndex"), (0, "APPLICATION-MIB", "applPastTransFlowDirection"), (0, "APPLICATION-MIB", "applPastTransFlowReqRsp")) if mibBuilder.loadTexts: applPastTransFlowEntry.setDescription("An applPastTransFlowEntry records transaction throughput\ninformation for requests or response in a particular\ndirection (transmit / receive) for a transaction stream.\n\nEntries in this table correspond to those in the\napplPastTransStreamTable with identical values\nfor the applElmtOrSvc, applElmtOrSvcId, and the\napplPastChannelIndex.") applPastTransFlowDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("transmit", 1), ("receive", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applPastTransFlowDirection.setDescription("The applPastTransFlowDirection index serves\nto identify an entry as containing information\npertaining to the transmit (1) or receive (2) flow\nof a past transaction stream. This index corresponds\nto applTransactFlowDirection.") applPastTransFlowReqRsp = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("request", 1), ("response", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applPastTransFlowReqRsp.setDescription("The value of the applPastTransFlowReqRsp index indicates\nwhether this entry contains information on requests\n(1), or responses (2). This index corresponds to\napplTransactFlowReqRsp.") applPastTransFlowTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1, 3), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransFlowTrans.setDescription("The applPastTransFlowTrans attribute reports the number\nof request/response (as indicated by the\napplPastTransFlowReqRsp index) transactions\nreceived/generated (as indicated by the\napplPastTransFlowDirection index) handled on this\ntransaction stream.") applPastTransFlowTransLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransFlowTransLow.setDescription("This attribute corresponds to the low thirty-two\nbits of applPastTransFlowTrans.") applPastTransFlowBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1, 5), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransFlowBytes.setDescription("The applPastTransFlowBytes attribute reports the number\nof request/response (as indicated by the\napplPastTransFlowReqRsp index) bytes received/generated\n(as indicated by the applPastTransFlowDirection index)\nhandled on this transaction stream.\n\nAll application layer bytes are included in this count,\nincluding any application layer wrappers, headers, or\nother overhead.") applPastTransFlowBytesLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransFlowBytesLow.setDescription("This attribute corresponds to the low thirty-two\nbits of applPastTransFlowBytes.") applPastTransFlowTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 6, 1, 7), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransFlowTime.setDescription("The applPastTransFlowTime attribute records the time of\nthe processing (receipt or transmission as\nindicated by the applPastTransFlowDirection index)\nof the last request/response (as indicated by the\napplPastTransFlowReqRsp index) on this transaction\nstream.\n\nIf no requests/responses been received/transmitted by\nthis entity over this transaction stream, the value\nof this attribute shall be '0000000000000000'H ") applPastTransKindTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 3, 7)) if mibBuilder.loadTexts: applPastTransKindTable.setDescription("The applPastTransKindTable provides transaction\nstatistics broken down by kinds of transaction.\nThe definition of the kinds of transactions is\nspecific to the application protocol in use, and may be\ndocumented in the form of an applicability statement. ") applPastTransKindEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 3, 7, 1)).setIndexNames((0, "APPLICATION-MIB", "applElmtOrSvc"), (0, "APPLICATION-MIB", "applElmtOrSvcId"), (0, "APPLICATION-MIB", "applPastChannelIndex"), (0, "APPLICATION-MIB", "applPastTransFlowDirection"), (0, "APPLICATION-MIB", "applPastTransFlowReqRsp"), (0, "APPLICATION-MIB", "applPastTransKind")) if mibBuilder.loadTexts: applPastTransKindEntry.setDescription("An applPastTransKindEntry reports historical data for a\nspecific service instance or running application\nelement's use of a specific transaction stream in\na particular direction in requests or responses\n(as indicated by the applPastTransFlowReqRsp index)\nbroken down by transaction kind, as indicated by the\napplPastTransKind index.") applPastTransKind = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 7, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applPastTransKind.setDescription("The applPastTransKind index is the human-readable\nidentifier for a particular transaction kind within\nthe context of an application protocol. The values\nto be used for a particular protocol may be identified\nin an applicability statement. This index corresponds\nto applTransactKind.") applPastTransKindTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 7, 1, 2), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransKindTrans.setDescription("For this transaction stream, this attribute records\nthe total number of transactions of the type\nidentified by the indexes. The type is characterized\naccording to the receive/transmit direction\n(applPastTransFlowDirecton), whether it was a request\nor a response (applPastTransFlowReqRsp), and the\nprotocol-specific transaction kind (applPastTransKind).\nstream for this transaction kind.") applPastTransKindTransLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 7, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransKindTransLow.setDescription("The applPastTransKindTransLow attribute reports\nthe low thirty-two bits of applPastTransKindTrans.") applPastTransKindBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 7, 1, 4), Unsigned64TC()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransKindBytes.setDescription("For this transaction stream and transaction kind, the\napplPastTransKindBytes attribute reports the number\nof bytes received or generated (as indicated by\nthe applPastTransFlowDirection index) in requests or\nresponses (as indicated by the applPastTransFlowReqRsp\nindex).\n\nAll application layer bytes are included in this count,\nincluding any application layer wrappers, headers, or\nother overhead.") applPastTransKindBytesLow = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 7, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransKindBytesLow.setDescription("The applPastTransKindBytesLow attribute corresponds\nto the low thirty-two bits of applPastTransKindBytes.") applPastTransKindTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 3, 7, 1, 6), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applPastTransKindTime.setDescription("The applPastTransKindTime attribute records the time of\nthe processing (receipt or transmission as\nindicated by the applPastTransFlowDirection index)\nof the last request/response (as indicated by the\napplPastTransFlowReqRsp index) of this kind of\ntransaction on this transaction stream.\n\nIf no requests/responses of this kind were\nreceived/transmitted over this transaction stream, the\nvalue of this attribute shall be '0000000000000000'H ") applElmtRunControlGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 62, 1, 4)) applElmtRunStatusTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 4, 1)) if mibBuilder.loadTexts: applElmtRunStatusTable.setDescription("This table provides information on running application\nelements, complementing information available in the\ncorrespondingly indexed sysApplElmtRunTable [31].") applElmtRunStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 4, 1, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplElmtRunIndex")) if mibBuilder.loadTexts: applElmtRunStatusEntry.setDescription("An applElmtRunStatusEntry contains information to support\nthe control and monitoring of a single running application\nelement.") applElmtRunStatusSuspended = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 1, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: applElmtRunStatusSuspended.setDescription("The applElmtRunStatusSuspended attribute reports\nwhether processing by this running application element\nhas been suspended, whether by management request or by\nother means.") applElmtRunStatusHeapUsage = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applElmtRunStatusHeapUsage.setDescription("The applElmtRunStatusHeapUsage reports the current\napproximate heap usage by this running application\nelement.") applElmtRunStatusOpenConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applElmtRunStatusOpenConnections.setDescription("The applElmtRunStatusOpenConnections attribute reports\nthe current number of open connections in use by this\nrunning application element.") applElmtRunStatusOpenFiles = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 1, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applElmtRunStatusOpenFiles.setDescription("The applElmtRunStatusOpenFiles attribute reports the\ncurrent number of open files in use by this running\napplication element.") applElmtRunStatusLastErrorMsg = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 1, 1, 5), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: applElmtRunStatusLastErrorMsg.setDescription("The applElmtRunStatusLastErrorMessage attribute reports\nthe most recent error message (typically written to\nstderr or a system error logging facility) from this\nrunning application element. If no such message has yet\nbeen generated, the value of this attribute shall be a\nzero-length string.") applElmtRunStatusLastErrorTime = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 1, 1, 6), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: applElmtRunStatusLastErrorTime.setDescription("The applElmtRunStatusLastErrorTime attribute reports the\ntime of the most recent error message in\napplElmtRunStatusLastErrorMsg.\n\nIf no such message has yet been generated, the value\nof this attribute shall be '0000000000000000'H ") applElmtRunControlTable = MibTable((1, 3, 6, 1, 2, 1, 62, 1, 4, 2)) if mibBuilder.loadTexts: applElmtRunControlTable.setDescription("This table provides the ability to control application\nelements, complementing information available in the\ncorrespondingly indexed sysApplElmtRunTable [31].") applElmtRunControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 62, 1, 4, 2, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplElmtRunIndex")) if mibBuilder.loadTexts: applElmtRunControlEntry.setDescription("An applElmtRunControlEntry contains information to\nsupport the control of a single running application\nelement.") applElmtRunControlSuspend = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 2, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: applElmtRunControlSuspend.setDescription("Setting this variable to 'true' requests the suspension\nof processing by this running application element.\nSetting this variable to 'false' requests that processing\nbe resumed. The effect, if any, will be reported by the\napplElmtRunStatusSuspended attribute.") applElmtRunControlReconfigure = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 2, 1, 2), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: applElmtRunControlReconfigure.setDescription("Changing the value of this variable requests that the\nrunning application element re-load its configuration\n(like SIGHUP for many UNIX-based daemons).\n\nNote that completion of a SET on this object only implies\nthat configuration reload was initiated, not necessarily\nthat the reload has been completed.") applElmtRunControlTerminate = MibTableColumn((1, 3, 6, 1, 2, 1, 62, 1, 4, 2, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: applElmtRunControlTerminate.setDescription("Setting the value of applElmtRunControlTerminate to\n'true' requests that the running application element\nterminate processing and exit in an orderly manner.\nThis is a 'polite' shutdown request.\n\nWhen read, this object's value will be 'false' except\nwhen orderly termination is in progress.\n\nNote that completion of a SET on this object only implies\nthat termination was initiated, not necessarily that the\ntermination has been completed.") applicationMibConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 62, 2)) applicationMibGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 62, 2, 1)) # Augmentions # Groups applicationMonitorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 1)).setObjects(*(("APPLICATION-MIB", "applOpenConnectionFarEndAddr"), ("APPLICATION-MIB", "applOpenConnectionApplication"), ("APPLICATION-MIB", "applOpenFileName"), ("APPLICATION-MIB", "applOpenChannelLastReadTime"), ("APPLICATION-MIB", "applOpenConnectionTransport"), ("APPLICATION-MIB", "applSrvName"), ("APPLICATION-MIB", "applOpenChannelLastWriteTime"), ("APPLICATION-MIB", "applOpenFileSizeLow"), ("APPLICATION-MIB", "applOpenChannelWriteRequestsLow"), ("APPLICATION-MIB", "applSrvIndex"), ("APPLICATION-MIB", "applOpenChannelReadFailures"), ("APPLICATION-MIB", "applSrvInstance"), ("APPLICATION-MIB", "applOpenChannelWriteFailures"), ("APPLICATION-MIB", "applOpenConnectionNearEndAddr"), ("APPLICATION-MIB", "applOpenConnectionFarEndpoint"), ("APPLICATION-MIB", "applOpenChannelBytesReadLow"), ("APPLICATION-MIB", "applOpenFileMode"), ("APPLICATION-MIB", "applOpenChannelBytesWrittenLow"), ("APPLICATION-MIB", "applOpenChannelOpenTime"), ("APPLICATION-MIB", "applOpenChannelReadRequestsLow"), ("APPLICATION-MIB", "applOpenConnectionNearEndpoint"), ("APPLICATION-MIB", "applSrvInstQual"), ("APPLICATION-MIB", "applOpenFileSizeHigh"), ) ) if mibBuilder.loadTexts: applicationMonitorGroup.setDescription("This group represents the basic capabilities of this MIB.") applicationFastMonitorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 2)).setObjects(*(("APPLICATION-MIB", "applOpenChannelBytesWritten"), ("APPLICATION-MIB", "applOpenChannelWriteRequests"), ("APPLICATION-MIB", "applOpenChannelReadRequests"), ("APPLICATION-MIB", "applOpenChannelBytesRead"), ) ) if mibBuilder.loadTexts: applicationFastMonitorGroup.setDescription("This group comprises 64-bit counters mandatory in\nhigh-throughput environments, where 32-bit counters\ncould wrap in less than an hour.") applicationTransactGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 3)).setObjects(*(("APPLICATION-MIB", "applTransactStreamInvCumTimes"), ("APPLICATION-MIB", "applTransactStreamPrfCumTimes"), ("APPLICATION-MIB", "applTransactFlowTransLow"), ("APPLICATION-MIB", "applTransactStreamInvRspTimes"), ("APPLICATION-MIB", "applTransactStreamDescr"), ("APPLICATION-MIB", "applTransactStreamPerformsLow"), ("APPLICATION-MIB", "applTransactStreamUnitOfWork"), ("APPLICATION-MIB", "applTransactKindTime"), ("APPLICATION-MIB", "applTransactKindBytesLow"), ("APPLICATION-MIB", "applTransactStreamInvokesLow"), ("APPLICATION-MIB", "applTransactFlowTime"), ("APPLICATION-MIB", "applTransactFlowBytesLow"), ("APPLICATION-MIB", "applTransactStreamPrfRspTimes"), ("APPLICATION-MIB", "applTransactKindTransLow"), ) ) if mibBuilder.loadTexts: applicationTransactGroup.setDescription("This group comprises objects appropriate from monitoring\ntransaction-structured flows.") applicationFastTransactGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 4)).setObjects(*(("APPLICATION-MIB", "applTransactFlowTrans"), ("APPLICATION-MIB", "applTransactFlowBytes"), ("APPLICATION-MIB", "applTransactStreamPerforms"), ("APPLICATION-MIB", "applTransactKindBytes"), ("APPLICATION-MIB", "applTransactKindTrans"), ("APPLICATION-MIB", "applTransactStreamInvokes"), ) ) if mibBuilder.loadTexts: applicationFastTransactGroup.setDescription("This group comprises 64-bit transaction counters required in\nhigh-throughput environments, where 32-bit counters could\nwrap in less than an hour.") applicationHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 5)).setObjects(*(("APPLICATION-MIB", "applPastConNearEndpoint"), ("APPLICATION-MIB", "applPastConFarEndpoint"), ("APPLICATION-MIB", "applPastChannelLastReadTime"), ("APPLICATION-MIB", "applPastChannelBytesWritLow"), ("APPLICATION-MIB", "applPastConFarEndAddr"), ("APPLICATION-MIB", "applPastConTransport"), ("APPLICATION-MIB", "applPastChannelControlCollect"), ("APPLICATION-MIB", "applPastConApplication"), ("APPLICATION-MIB", "applPastChannelLastWriteTime"), ("APPLICATION-MIB", "applPastChannelCloseTime"), ("APPLICATION-MIB", "applPastFileMode"), ("APPLICATION-MIB", "applPastFileSizeLow"), ("APPLICATION-MIB", "applPastChannelControlMaxRows"), ("APPLICATION-MIB", "applPastChannelOpenTime"), ("APPLICATION-MIB", "applPastChannelBytesReadLow"), ("APPLICATION-MIB", "applPastChannelReadReqsLow"), ("APPLICATION-MIB", "applPastFileSizeHigh"), ("APPLICATION-MIB", "applPastConNearEndAddr"), ("APPLICATION-MIB", "applPastChannelReadFailures"), ("APPLICATION-MIB", "applPastFileName"), ("APPLICATION-MIB", "applPastChannelWriteFailures"), ("APPLICATION-MIB", "applPastChannelControlRemItems"), ("APPLICATION-MIB", "applPastChannelControlTimeLimit"), ("APPLICATION-MIB", "applPastChannelWriteReqsLow"), ) ) if mibBuilder.loadTexts: applicationHistoryGroup.setDescription("This group models basic historical data.") applicationFastHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 6)).setObjects(*(("APPLICATION-MIB", "applPastChannelReadRequests"), ("APPLICATION-MIB", "applPastChannelWriteRequests"), ("APPLICATION-MIB", "applPastChannelBytesWritten"), ("APPLICATION-MIB", "applPastChannelBytesRead"), ) ) if mibBuilder.loadTexts: applicationFastHistoryGroup.setDescription("This group comprises additional 64-bit objects required\nfor recording historical data in high-volume environments,\nwhere a 32-bit integer would be insufficient.") applicationTransHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 7)).setObjects(*(("APPLICATION-MIB", "applPastTransFlowTime"), ("APPLICATION-MIB", "applPastTransStreamPrfRspTimes"), ("APPLICATION-MIB", "applPastTransFlowTransLow"), ("APPLICATION-MIB", "applPastTransStreamInvokesLow"), ("APPLICATION-MIB", "applPastTransStreamDescr"), ("APPLICATION-MIB", "applPastTransStreamUnitOfWork"), ("APPLICATION-MIB", "applPastTransKindTransLow"), ("APPLICATION-MIB", "applPastTransStreamPrfCumTimes"), ("APPLICATION-MIB", "applPastTransKindTime"), ("APPLICATION-MIB", "applPastTransStreamPerformsLow"), ("APPLICATION-MIB", "applPastTransKindBytesLow"), ("APPLICATION-MIB", "applPastTransStreamInvCumTimes"), ("APPLICATION-MIB", "applPastTransStreamInvRspTimes"), ("APPLICATION-MIB", "applPastTransFlowBytesLow"), ) ) if mibBuilder.loadTexts: applicationTransHistoryGroup.setDescription("This group represents historical data for transaction-\nstructured information streams.") applicationFastTransHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 8)).setObjects(*(("APPLICATION-MIB", "applPastTransStreamInvokes"), ("APPLICATION-MIB", "applPastTransFlowBytes"), ("APPLICATION-MIB", "applPastTransStreamPerforms"), ("APPLICATION-MIB", "applPastTransKindTrans"), ("APPLICATION-MIB", "applPastTransKindBytes"), ("APPLICATION-MIB", "applPastTransFlowTrans"), ) ) if mibBuilder.loadTexts: applicationFastTransHistoryGroup.setDescription("This group contains 64-bit objects required for historical\nrecords on high-volume transaction-structured streams,\nwhere 32-bit integers would be insufficient.") applicationRunGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 62, 2, 1, 9)).setObjects(*(("APPLICATION-MIB", "applElmtRunStatusSuspended"), ("APPLICATION-MIB", "applElmtRunControlTerminate"), ("APPLICATION-MIB", "applElmtRunStatusOpenFiles"), ("APPLICATION-MIB", "applElmtRunControlSuspend"), ("APPLICATION-MIB", "applElmtRunStatusLastErrorTime"), ("APPLICATION-MIB", "applElmtRunStatusLastErrorMsg"), ("APPLICATION-MIB", "applElmtRunControlReconfigure"), ("APPLICATION-MIB", "applElmtRunStatusHeapUsage"), ("APPLICATION-MIB", "applElmtRunStatusOpenConnections"), ) ) if mibBuilder.loadTexts: applicationRunGroup.setDescription("This group represents extensions to the system application\nMIB.") # Compliances applicationMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 62, 2, 2)).setObjects(*(("APPLICATION-MIB", "applicationFastHistoryGroup"), ("APPLICATION-MIB", "applicationFastTransHistoryGroup"), ("APPLICATION-MIB", "applicationHistoryGroup"), ("APPLICATION-MIB", "applicationTransHistoryGroup"), ("APPLICATION-MIB", "applicationMonitorGroup"), ("APPLICATION-MIB", "applicationFastMonitorGroup"), ("APPLICATION-MIB", "applicationRunGroup"), ("APPLICATION-MIB", "applicationFastTransactGroup"), ("APPLICATION-MIB", "applicationTransactGroup"), ) ) if mibBuilder.loadTexts: applicationMibCompliance.setDescription("The compliance statement for the application MIB.") # Exports # Module identity mibBuilder.exportSymbols("APPLICATION-MIB", PYSNMP_MODULE_ID=applicationMib) # Types mibBuilder.exportSymbols("APPLICATION-MIB", ApplTAddress=ApplTAddress, Unsigned64TC=Unsigned64TC) # Objects mibBuilder.exportSymbols("APPLICATION-MIB", applicationMib=applicationMib, applicationMibObjects=applicationMibObjects, applServiceGroup=applServiceGroup, applSrvNameToSrvInstTable=applSrvNameToSrvInstTable, applSrvNameToSrvInstEntry=applSrvNameToSrvInstEntry, applSrvInstQual=applSrvInstQual, applSrvInstToSrvNameTable=applSrvInstToSrvNameTable, applSrvInstToSrvNameEntry=applSrvInstToSrvNameEntry, applSrvName=applSrvName, applSrvInstToRunApplElmtTable=applSrvInstToRunApplElmtTable, applSrvInstToRunApplElmtEntry=applSrvInstToRunApplElmtEntry, applSrvIndex=applSrvIndex, applRunApplElmtToSrvInstTable=applRunApplElmtToSrvInstTable, applRunApplElmtToSrvInstEntry=applRunApplElmtToSrvInstEntry, applSrvInstance=applSrvInstance, applChannelGroup=applChannelGroup, applOpenChannelTable=applOpenChannelTable, applOpenChannelEntry=applOpenChannelEntry, applElmtOrSvc=applElmtOrSvc, applElmtOrSvcId=applElmtOrSvcId, applOpenChannelIndex=applOpenChannelIndex, applOpenChannelOpenTime=applOpenChannelOpenTime, applOpenChannelReadRequests=applOpenChannelReadRequests, applOpenChannelReadRequestsLow=applOpenChannelReadRequestsLow, applOpenChannelReadFailures=applOpenChannelReadFailures, applOpenChannelBytesRead=applOpenChannelBytesRead, applOpenChannelBytesReadLow=applOpenChannelBytesReadLow, applOpenChannelLastReadTime=applOpenChannelLastReadTime, applOpenChannelWriteRequests=applOpenChannelWriteRequests, applOpenChannelWriteRequestsLow=applOpenChannelWriteRequestsLow, applOpenChannelWriteFailures=applOpenChannelWriteFailures, applOpenChannelBytesWritten=applOpenChannelBytesWritten, applOpenChannelBytesWrittenLow=applOpenChannelBytesWrittenLow, applOpenChannelLastWriteTime=applOpenChannelLastWriteTime, applOpenFileTable=applOpenFileTable, applOpenFileEntry=applOpenFileEntry, applOpenFileName=applOpenFileName, applOpenFileSizeHigh=applOpenFileSizeHigh, applOpenFileSizeLow=applOpenFileSizeLow, applOpenFileMode=applOpenFileMode, applOpenConnectionTable=applOpenConnectionTable, applOpenConnectionEntry=applOpenConnectionEntry, applOpenConnectionTransport=applOpenConnectionTransport, applOpenConnectionNearEndAddr=applOpenConnectionNearEndAddr, applOpenConnectionNearEndpoint=applOpenConnectionNearEndpoint, applOpenConnectionFarEndAddr=applOpenConnectionFarEndAddr, applOpenConnectionFarEndpoint=applOpenConnectionFarEndpoint, applOpenConnectionApplication=applOpenConnectionApplication, applTransactionStreamTable=applTransactionStreamTable, applTransactionStreamEntry=applTransactionStreamEntry, applTransactStreamDescr=applTransactStreamDescr, applTransactStreamUnitOfWork=applTransactStreamUnitOfWork, applTransactStreamInvokes=applTransactStreamInvokes, applTransactStreamInvokesLow=applTransactStreamInvokesLow, applTransactStreamInvCumTimes=applTransactStreamInvCumTimes, applTransactStreamInvRspTimes=applTransactStreamInvRspTimes, applTransactStreamPerforms=applTransactStreamPerforms, applTransactStreamPerformsLow=applTransactStreamPerformsLow, applTransactStreamPrfCumTimes=applTransactStreamPrfCumTimes, applTransactStreamPrfRspTimes=applTransactStreamPrfRspTimes, applTransactFlowTable=applTransactFlowTable, applTransactFlowEntry=applTransactFlowEntry, applTransactFlowDirection=applTransactFlowDirection, applTransactFlowReqRsp=applTransactFlowReqRsp, applTransactFlowTrans=applTransactFlowTrans, applTransactFlowTransLow=applTransactFlowTransLow, applTransactFlowBytes=applTransactFlowBytes, applTransactFlowBytesLow=applTransactFlowBytesLow, applTransactFlowTime=applTransactFlowTime, applTransactKindTable=applTransactKindTable, applTransactKindEntry=applTransactKindEntry, applTransactKind=applTransactKind, applTransactKindTrans=applTransactKindTrans, applTransactKindTransLow=applTransactKindTransLow, applTransactKindBytes=applTransactKindBytes, applTransactKindBytesLow=applTransactKindBytesLow, applTransactKindTime=applTransactKindTime, applPastChannelGroup=applPastChannelGroup, applPastChannelControlTable=applPastChannelControlTable, applPastChannelControlEntry=applPastChannelControlEntry, applPastChannelControlCollect=applPastChannelControlCollect, applPastChannelControlMaxRows=applPastChannelControlMaxRows, applPastChannelControlTimeLimit=applPastChannelControlTimeLimit, applPastChannelControlRemItems=applPastChannelControlRemItems, applPastChannelTable=applPastChannelTable, applPastChannelEntry=applPastChannelEntry, applPastChannelIndex=applPastChannelIndex, applPastChannelOpenTime=applPastChannelOpenTime, applPastChannelCloseTime=applPastChannelCloseTime, applPastChannelReadRequests=applPastChannelReadRequests, applPastChannelReadReqsLow=applPastChannelReadReqsLow, applPastChannelReadFailures=applPastChannelReadFailures, applPastChannelBytesRead=applPastChannelBytesRead, applPastChannelBytesReadLow=applPastChannelBytesReadLow, applPastChannelLastReadTime=applPastChannelLastReadTime, applPastChannelWriteRequests=applPastChannelWriteRequests, applPastChannelWriteReqsLow=applPastChannelWriteReqsLow, applPastChannelWriteFailures=applPastChannelWriteFailures, applPastChannelBytesWritten=applPastChannelBytesWritten, applPastChannelBytesWritLow=applPastChannelBytesWritLow, applPastChannelLastWriteTime=applPastChannelLastWriteTime, applPastFileTable=applPastFileTable, applPastFileEntry=applPastFileEntry, applPastFileName=applPastFileName, applPastFileSizeHigh=applPastFileSizeHigh, applPastFileSizeLow=applPastFileSizeLow, applPastFileMode=applPastFileMode, applPastConTable=applPastConTable, applPastConEntry=applPastConEntry, applPastConTransport=applPastConTransport, applPastConNearEndAddr=applPastConNearEndAddr, applPastConNearEndpoint=applPastConNearEndpoint, applPastConFarEndAddr=applPastConFarEndAddr, applPastConFarEndpoint=applPastConFarEndpoint, applPastConApplication=applPastConApplication, applPastTransStreamTable=applPastTransStreamTable, applPastTransStreamEntry=applPastTransStreamEntry, applPastTransStreamDescr=applPastTransStreamDescr, applPastTransStreamUnitOfWork=applPastTransStreamUnitOfWork, applPastTransStreamInvokes=applPastTransStreamInvokes, applPastTransStreamInvokesLow=applPastTransStreamInvokesLow, applPastTransStreamInvCumTimes=applPastTransStreamInvCumTimes, applPastTransStreamInvRspTimes=applPastTransStreamInvRspTimes, applPastTransStreamPerforms=applPastTransStreamPerforms, applPastTransStreamPerformsLow=applPastTransStreamPerformsLow, applPastTransStreamPrfCumTimes=applPastTransStreamPrfCumTimes) mibBuilder.exportSymbols("APPLICATION-MIB", applPastTransStreamPrfRspTimes=applPastTransStreamPrfRspTimes, applPastTransFlowTable=applPastTransFlowTable, applPastTransFlowEntry=applPastTransFlowEntry, applPastTransFlowDirection=applPastTransFlowDirection, applPastTransFlowReqRsp=applPastTransFlowReqRsp, applPastTransFlowTrans=applPastTransFlowTrans, applPastTransFlowTransLow=applPastTransFlowTransLow, applPastTransFlowBytes=applPastTransFlowBytes, applPastTransFlowBytesLow=applPastTransFlowBytesLow, applPastTransFlowTime=applPastTransFlowTime, applPastTransKindTable=applPastTransKindTable, applPastTransKindEntry=applPastTransKindEntry, applPastTransKind=applPastTransKind, applPastTransKindTrans=applPastTransKindTrans, applPastTransKindTransLow=applPastTransKindTransLow, applPastTransKindBytes=applPastTransKindBytes, applPastTransKindBytesLow=applPastTransKindBytesLow, applPastTransKindTime=applPastTransKindTime, applElmtRunControlGroup=applElmtRunControlGroup, applElmtRunStatusTable=applElmtRunStatusTable, applElmtRunStatusEntry=applElmtRunStatusEntry, applElmtRunStatusSuspended=applElmtRunStatusSuspended, applElmtRunStatusHeapUsage=applElmtRunStatusHeapUsage, applElmtRunStatusOpenConnections=applElmtRunStatusOpenConnections, applElmtRunStatusOpenFiles=applElmtRunStatusOpenFiles, applElmtRunStatusLastErrorMsg=applElmtRunStatusLastErrorMsg, applElmtRunStatusLastErrorTime=applElmtRunStatusLastErrorTime, applElmtRunControlTable=applElmtRunControlTable, applElmtRunControlEntry=applElmtRunControlEntry, applElmtRunControlSuspend=applElmtRunControlSuspend, applElmtRunControlReconfigure=applElmtRunControlReconfigure, applElmtRunControlTerminate=applElmtRunControlTerminate, applicationMibConformance=applicationMibConformance, applicationMibGroups=applicationMibGroups) # Groups mibBuilder.exportSymbols("APPLICATION-MIB", applicationMonitorGroup=applicationMonitorGroup, applicationFastMonitorGroup=applicationFastMonitorGroup, applicationTransactGroup=applicationTransactGroup, applicationFastTransactGroup=applicationFastTransactGroup, applicationHistoryGroup=applicationHistoryGroup, applicationFastHistoryGroup=applicationFastHistoryGroup, applicationTransHistoryGroup=applicationTransHistoryGroup, applicationFastTransHistoryGroup=applicationFastTransHistoryGroup, applicationRunGroup=applicationRunGroup) # Compliances mibBuilder.exportSymbols("APPLICATION-MIB", applicationMibCompliance=applicationMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PPP-SEC-MIB.py0000644000014400001440000002371211736645137020512 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PPP-SEC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:28 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ppp, ) = mibBuilder.importSymbols("PPP-LCP-MIB", "ppp") ( Bits, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") # Objects pppSecurity = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 2)) pppSecurityProtocols = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 2, 1)) pppSecurityPapProtocol = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 2, 1, 1)) pppSecurityChapMD5Protocol = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 2, 1, 2)) pppSecurityConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 2, 2)) if mibBuilder.loadTexts: pppSecurityConfigTable.setDescription("Table containing the configuration and\npreference parameters for PPP Security.") pppSecurityConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 2, 2, 1)).setIndexNames((0, "PPP-SEC-MIB", "pppSecurityConfigLink"), (0, "PPP-SEC-MIB", "pppSecurityConfigPreference")) if mibBuilder.loadTexts: pppSecurityConfigEntry.setDescription("Security configuration information for a\nparticular PPP link.") pppSecurityConfigLink = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecurityConfigLink.setDescription("The value of ifIndex that identifies the entry\nin the interface table that is associated with\nthe local PPP entity's link for which this\nparticular security algorithm shall be\nattempted. A value of 0 indicates the default\nalgorithm - i.e., this entry applies to all\nlinks for which explicit entries in the table\ndo not exist.") pppSecurityConfigPreference = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecurityConfigPreference.setDescription("The relative preference of the security\nprotocol identified by\npppSecurityConfigProtocol. Security protocols\nwith lower values of\npppSecurityConfigPreference are tried before\nprotocols with higher values of\npppSecurityConfigPreference.") pppSecurityConfigProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 2, 1, 3), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecurityConfigProtocol.setDescription("Identifies the security protocol to be\nattempted on the link identified by\npppSecurityConfigLink at the preference level\nidentified by pppSecurityConfigPreference. ") pppSecurityConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("invalid", 1), ("valid", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecurityConfigStatus.setDescription("Setting this object to the value invalid(1)\nhas the effect of invalidating the\ncorresponding entry in the\npppSecurityConfigTable. It is an\nimplementation-specific matter as to whether\nthe agent removes an invalidated entry from the\ntable. Accordingly, management stations must\nbe prepared to receive tabular information from\nagents that corresponds to entries not\ncurrently in use. Proper interpretation of\nsuch entries requires examination of the\nrelevant pppSecurityConfigStatus object.") pppSecuritySecretsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 2, 3)) if mibBuilder.loadTexts: pppSecuritySecretsTable.setDescription("Table containing the identities and secrets\nused by the PPP authentication protocols. As\nthis table contains secret information, it is\nexpected that access to this table be limited\nto those SNMP Party-Pairs for which a privacy\nprotocol is in use for all SNMP messages that\nthe parties exchange. This table contains both\nthe ID and secret pair(s) that the local PPP\nentity will advertise to the remote entity and\nthe pair(s) that the local entity will expect\nfrom the remote entity. This table allows for\nmultiple id/secret password pairs to be\nspecified for a particular link by using the\npppSecuritySecretsIdIndex object.") pppSecuritySecretsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1)).setIndexNames((0, "PPP-SEC-MIB", "pppSecuritySecretsLink"), (0, "PPP-SEC-MIB", "pppSecuritySecretsIdIndex")) if mibBuilder.loadTexts: pppSecuritySecretsEntry.setDescription("Secret information.") pppSecuritySecretsLink = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppSecuritySecretsLink.setDescription("The link to which this ID/Secret pair applies.\nBy convention, if the value of this object is 0\nthen the ID/Secret pair applies to all links.") pppSecuritySecretsIdIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppSecuritySecretsIdIndex.setDescription("A unique value for each ID/Secret pair that\nhas been defined for use on this link. This\nallows multiple ID/Secret pairs to be defined\nfor each link. How the local entity selects\nwhich pair to use is a local implementation\ndecision.") pppSecuritySecretsDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("local-to-remote", 1), ("remote-to-local", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecuritySecretsDirection.setDescription("This object defines the direction in which a\nparticular ID/Secret pair is valid. If this\nobject is local-to-remote then the local PPP\nentity will use the ID/Secret pair when\nattempting to authenticate the local PPP entity\nto the remote PPP entity. If this object is\nremote-to-local then the local PPP entity will\nexpect the ID/Secret pair to be used by the\nremote PPP entity when the remote PPP entity\nattempts to authenticate itself to the local\nPPP entity.") pppSecuritySecretsProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1, 4), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecuritySecretsProtocol.setDescription("The security protocol (e.g. CHAP or PAP) to\nwhich this ID/Secret pair applies.") pppSecuritySecretsIdentity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecuritySecretsIdentity.setDescription("The Identity of the ID/Secret pair. The\nactual format, semantics, and use of\npppSecuritySecretsIdentity depends on the\nactual security protocol used. For example, if\npppSecuritySecretsProtocol is\npppSecurityPapProtocol then this object will\ncontain a PAP Peer-ID. If\npppSecuritySecretsProtocol is\npppSecurityChapMD5Protocol then this object\nwould contain the CHAP NAME parameter.") pppSecuritySecretsSecret = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecuritySecretsSecret.setDescription("The secret of the ID/Secret pair. The actual\nformat, semantics, and use of\npppSecuritySecretsSecret depends on the actual\nsecurity protocol used. For example, if\npppSecuritySecretsProtocol is\npppSecurityPapProtocol then this object will\ncontain a PAP Password. If\npppSecuritySecretsProtocol is\npppSecurityChapMD5Protocol then this object\nwould contain the CHAP MD5 Secret.") pppSecuritySecretsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 2, 3, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("invalid", 1), ("valid", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppSecuritySecretsStatus.setDescription("Setting this object to the value invalid(1)\nhas the effect of invalidating the\ncorresponding entry in the\npppSecuritySecretsTable. It is an\nimplementation-specific matter as to whether\nthe agent removes an invalidated entry from the\ntable. Accordingly, management stations must\nbe prepared to receive tabular information from\nagents that corresponds to entries not\ncurrently in use. Proper interpretation of\nsuch entries requires examination of the\nrelevant pppSecuritySecretsStatus object.") # Augmentions # Exports # Objects mibBuilder.exportSymbols("PPP-SEC-MIB", pppSecurity=pppSecurity, pppSecurityProtocols=pppSecurityProtocols, pppSecurityPapProtocol=pppSecurityPapProtocol, pppSecurityChapMD5Protocol=pppSecurityChapMD5Protocol, pppSecurityConfigTable=pppSecurityConfigTable, pppSecurityConfigEntry=pppSecurityConfigEntry, pppSecurityConfigLink=pppSecurityConfigLink, pppSecurityConfigPreference=pppSecurityConfigPreference, pppSecurityConfigProtocol=pppSecurityConfigProtocol, pppSecurityConfigStatus=pppSecurityConfigStatus, pppSecuritySecretsTable=pppSecuritySecretsTable, pppSecuritySecretsEntry=pppSecuritySecretsEntry, pppSecuritySecretsLink=pppSecuritySecretsLink, pppSecuritySecretsIdIndex=pppSecuritySecretsIdIndex, pppSecuritySecretsDirection=pppSecuritySecretsDirection, pppSecuritySecretsProtocol=pppSecuritySecretsProtocol, pppSecuritySecretsIdentity=pppSecuritySecretsIdentity, pppSecuritySecretsSecret=pppSecuritySecretsSecret, pppSecuritySecretsStatus=pppSecuritySecretsStatus) pysnmp-mibs-0.1.3/pysnmp_mibs/DISMAN-SCHEDULE-MIB.py0000644000014400001440000005624611736645135021616 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DISMAN-SCHEDULE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:49 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( DateAndTime, RowStatus, StorageType, TextualConvention, VariablePointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "StorageType", "TextualConvention", "VariablePointer") # Types class SnmpPduErrorStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(18,8,13,7,6,15,11,0,17,3,5,9,4,14,-1,2,10,12,16,1,) namedValues = NamedValues(("noResponse", -1), ("noError", 0), ("tooBig", 1), ("wrongValue", 10), ("noCreation", 11), ("inconsistentValue", 12), ("resourceUnavailable", 13), ("commitFailed", 14), ("undoFailed", 15), ("authorizationError", 16), ("notWritable", 17), ("inconsistentName", 18), ("noSuchName", 2), ("badValue", 3), ("readOnly", 4), ("genErr", 5), ("noAccess", 6), ("wrongType", 7), ("wrongLength", 8), ("wrongEncoding", 9), ) # Objects schedMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 63)).setRevisions(("2002-01-07 00:00","1998-11-17 18:00",)) if mibBuilder.loadTexts: schedMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: schedMIB.setContactInfo("WG EMail: disman@dorothy.bmc.com\nSubscribe: disman-request@dorothy.bmc.com\n\nChair: Randy Presuhn\n BMC Software, Inc.\nPostal: Office 1-3141\n 2141 North First Street\n San Jose, California 95131\n USA\nEMail: rpresuhn@bmc.com\nPhone: +1 408 546-1006\n\nEditor: David B. Levi\n Nortel Networks\nPostal: 4401 Great America Parkway\n Santa Clara, CA 95052-8185\n USA\nEMail: dlevi@nortelnetworks.com\nPhone: +1 865 686 0432\n\n\n\nEditor: Juergen Schoenwaelder\n TU Braunschweig\nPostal: Bueltenweg 74/75\n 38106 Braunschweig\n Germany\nEMail: schoenw@ibr.cs.tu-bs.de\nPhone: +49 531 391-3283") if mibBuilder.loadTexts: schedMIB.setDescription("This MIB module defines a MIB which provides mechanisms to\nschedule SNMP set operations periodically or at specific\npoints in time.") schedObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 63, 1)) schedLocalTime = MibScalar((1, 3, 6, 1, 2, 1, 63, 1, 1), DateAndTime().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readonly") if mibBuilder.loadTexts: schedLocalTime.setDescription("The local time used by the scheduler. Schedules which\nrefer to calendar time will use the local time indicated\nby this object. An implementation MUST return all 11 bytes\nof the DateAndTime textual-convention so that a manager\nmay retrieve the offset from GMT time.") schedTable = MibTable((1, 3, 6, 1, 2, 1, 63, 1, 2)) if mibBuilder.loadTexts: schedTable.setDescription("This table defines scheduled actions triggered by\nSNMP set operations.") schedEntry = MibTableRow((1, 3, 6, 1, 2, 1, 63, 1, 2, 1)).setIndexNames((0, "DISMAN-SCHEDULE-MIB", "schedOwner"), (0, "DISMAN-SCHEDULE-MIB", "schedName")) if mibBuilder.loadTexts: schedEntry.setDescription("An entry describing a particular scheduled action.\n\nUnless noted otherwise, writable objects of this row\ncan be modified independent of the current value of\nschedRowStatus, schedAdminStatus and schedOperStatus.\nIn particular, it is legal to modify schedInterval\nand the objects in the schedCalendarGroup when\nschedRowStatus is active and schedAdminStatus and\nschedOperStatus are both enabled.") schedOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: schedOwner.setDescription("The owner of this scheduling entry. The exact semantics of\nthis string are subject to the security policy defined by\n\n\nthe security administrator.") schedName = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: schedName.setDescription("The locally-unique, administratively assigned name for this\nscheduling entry. This object allows a schedOwner to have\nmultiple entries in the schedTable.") schedDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 3), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedDescr.setDescription("The human readable description of the purpose of this\nscheduling entry.") schedInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 4), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedInterval.setDescription("The number of seconds between two action invocations of\na periodic scheduler. Implementations must guarantee\nthat action invocations will not occur before at least\nschedInterval seconds have passed.\n\nThe scheduler must ignore all periodic schedules that\nhave a schedInterval value of 0. A periodic schedule\nwith a scheduling interval of 0 seconds will therefore\nnever invoke an action.\n\nImplementations may be forced to delay invocations in the\nface of local constraints. A scheduled management function\nshould therefore not rely on the accuracy provided by the\nscheduler implementation.\n\nNote that implementations which maintain a list of pending\nactivations must re-calculate them when this object is\nchanged.") schedWeekDay = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 5), Bits().subtype(namedValues=NamedValues(("sunday", 0), ("monday", 1), ("tuesday", 2), ("wednesday", 3), ("thursday", 4), ("friday", 5), ("saturday", 6), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedWeekDay.setDescription("The set of weekdays on which the scheduled action should\ntake place. Setting multiple bits will include several\nweekdays in the set of possible weekdays for this schedule.\nSetting all bits will cause the scheduler to ignore the\nweekday.\n\nNote that implementations which maintain a list of pending\nactivations must re-calculate them when this object is\nchanged.") schedMonth = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 6), Bits().subtype(namedValues=NamedValues(("january", 0), ("february", 1), ("november", 10), ("december", 11), ("march", 2), ("april", 3), ("may", 4), ("june", 5), ("july", 6), ("august", 7), ("september", 8), ("october", 9), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedMonth.setDescription("The set of months during which the scheduled action should\ntake place. Setting multiple bits will include several\nmonths in the set of possible months for this schedule.\n\n\nSetting all bits will cause the scheduler to ignore the\nmonth.\n\nNote that implementations which maintain a list of pending\nactivations must re-calculate them when this object is\nchanged.") schedDay = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 7), Bits().subtype(namedValues=NamedValues(("d1", 0), ("d2", 1), ("d11", 10), ("d12", 11), ("d13", 12), ("d14", 13), ("d15", 14), ("d16", 15), ("d17", 16), ("d18", 17), ("d19", 18), ("d20", 19), ("d3", 2), ("d21", 20), ("d22", 21), ("d23", 22), ("d24", 23), ("d25", 24), ("d26", 25), ("d27", 26), ("d28", 27), ("d29", 28), ("d30", 29), ("d4", 3), ("d31", 30), ("r1", 31), ("r2", 32), ("r3", 33), ("r4", 34), ("r5", 35), ("r6", 36), ("r7", 37), ("r8", 38), ("r9", 39), ("d5", 4), ("r10", 40), ("r11", 41), ("r12", 42), ("r13", 43), ("r14", 44), ("r15", 45), ("r16", 46), ("r17", 47), ("r18", 48), ("r19", 49), ("d6", 5), ("r20", 50), ("r21", 51), ("r22", 52), ("r23", 53), ("r24", 54), ("r25", 55), ("r26", 56), ("r27", 57), ("r28", 58), ("r29", 59), ("d7", 6), ("r30", 60), ("r31", 61), ("d8", 7), ("d9", 8), ("d10", 9), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedDay.setDescription("The set of days in a month on which a scheduled action\nshould take place. There are two sets of bits one can\nuse to define the day within a month:\n\nEnumerations starting with the letter 'd' indicate a\nday in a month relative to the first day of a month.\nThe first day of the month can therefore be specified\nby setting the bit d1(0) and d31(30) means the last\nday of a month with 31 days.\n\nEnumerations starting with the letter 'r' indicate a\nday in a month in reverse order, relative to the last\nday of a month. The last day in the month can therefore\nbe specified by setting the bit r1(31) and r31(61) means\nthe first day of a month with 31 days.\n\nSetting multiple bits will include several days in the set\nof possible days for this schedule. Setting all bits will\ncause the scheduler to ignore the day within a month.\n\n\nSetting all bits starting with the letter 'd' or the\nletter 'r' will also cause the scheduler to ignore the\nday within a month.\n\nNote that implementations which maintain a list of pending\nactivations must re-calculate them when this object is\nchanged.") schedHour = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 8), Bits().subtype(namedValues=NamedValues(("h0", 0), ("h1", 1), ("h10", 10), ("h11", 11), ("h12", 12), ("h13", 13), ("h14", 14), ("h15", 15), ("h16", 16), ("h17", 17), ("h18", 18), ("h19", 19), ("h2", 2), ("h20", 20), ("h21", 21), ("h22", 22), ("h23", 23), ("h3", 3), ("h4", 4), ("h5", 5), ("h6", 6), ("h7", 7), ("h8", 8), ("h9", 9), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedHour.setDescription("The set of hours within a day during which the scheduled\naction should take place.\n\nNote that implementations which maintain a list of pending\nactivations must re-calculate them when this object is\nchanged.") schedMinute = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 9), Bits().subtype(namedValues=NamedValues(("m0", 0), ("m1", 1), ("m10", 10), ("m11", 11), ("m12", 12), ("m13", 13), ("m14", 14), ("m15", 15), ("m16", 16), ("m17", 17), ("m18", 18), ("m19", 19), ("m2", 2), ("m20", 20), ("m21", 21), ("m22", 22), ("m23", 23), ("m24", 24), ("m25", 25), ("m26", 26), ("m27", 27), ("m28", 28), ("m29", 29), ("m3", 3), ("m30", 30), ("m31", 31), ("m32", 32), ("m33", 33), ("m34", 34), ("m35", 35), ("m36", 36), ("m37", 37), ("m38", 38), ("m39", 39), ("m4", 4), ("m40", 40), ("m41", 41), ("m42", 42), ("m43", 43), ("m44", 44), ("m45", 45), ("m46", 46), ("m47", 47), ("m48", 48), ("m49", 49), ("m5", 5), ("m50", 50), ("m51", 51), ("m52", 52), ("m53", 53), ("m54", 54), ("m55", 55), ("m56", 56), ("m57", 57), ("m58", 58), ("m59", 59), ("m6", 6), ("m7", 7), ("m8", 8), ("m9", 9), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedMinute.setDescription("The set of minutes within an hour when the scheduled action\nshould take place.\n\nNote that implementations which maintain a list of pending\nactivations must re-calculate them when this object is\nchanged.") schedContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 10), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedContextName.setDescription("The context which contains the local MIB variable pointed\nto by schedVariable.") schedVariable = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 11), VariablePointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedVariable.setDescription("An object identifier pointing to a local MIB variable\nwhich resolves to an ASN.1 primitive type of INTEGER.") schedValue = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 12), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedValue.setDescription("The value which is written to the MIB object pointed to by\nschedVariable when the scheduler invokes an action. The\nimplementation shall enforce the use of access control\nrules when performing the set operation on schedVariable.\nThis is accomplished by calling the isAccessAllowed abstract\nservice interface as defined in RFC 2571.\n\nNote that an implementation may choose to issue an SNMP Set\nmessage to the SNMP engine and leave the access control\ndecision to the normal message processing procedure.") schedType = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("periodic", 1), ("calendar", 2), ("oneshot", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedType.setDescription("The type of this schedule. The value periodic(1) indicates\nthat this entry specifies a periodic schedule. A periodic\nschedule is defined by the value of schedInterval. The\nvalues of schedWeekDay, schedMonth, schedDay, schedHour\nand schedMinute are ignored.\n\nThe value calendar(2) indicates that this entry describes a\ncalendar schedule. A calendar schedule is defined by the\nvalues of schedWeekDay, schedMonth, schedDay, schedHour and\nschedMinute. The value of schedInterval is ignored. A\ncalendar schedule will trigger on all local times that\nsatisfy the bits set in schedWeekDay, schedMonth, schedDay,\nschedHour and schedMinute.\n\nThe value oneshot(3) indicates that this entry describes a\none-shot schedule. A one-shot schedule is similar to a\ncalendar schedule with the additional feature that it\ndisables itself by changing in the `finished'\nschedOperStatus once the schedule triggers an action.\n\nNote that implementations which maintain a list of pending\nactivations must re-calculate them when this object is\nchanged.") schedAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedAdminStatus.setDescription("The desired state of the schedule.") schedOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("finished", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: schedOperStatus.setDescription("The current operational state of this schedule. The state\nenabled(1) indicates this entry is active and that the\nscheduler will invoke actions at appropriate times. The\ndisabled(2) state indicates that this entry is currently\ninactive and ignored by the scheduler. The finished(3)\nstate indicates that the schedule has ended. Schedules\nin the finished(3) state are ignored by the scheduler.\nA one-shot schedule enters the finished(3) state when it\ndeactivates itself.\n\nNote that the operational state must not be enabled(1)\nwhen the schedRowStatus is not active.") schedFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedFailures.setDescription("This variable counts the number of failures while invoking\nthe scheduled action. This counter at most increments once\nfor a triggered action.") schedLastFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 17), SnmpPduErrorStatus().clone('noError')).setMaxAccess("readonly") if mibBuilder.loadTexts: schedLastFailure.setDescription("The most recent error that occurred during the invocation of\na scheduled action. The value noError(0) is returned\nif no errors have occurred yet.") schedLastFailed = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 18), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: schedLastFailed.setDescription("The date and time when the most recent failure occurred.\n\n\nThe value '0000000000000000'H is returned if no failure\noccurred since the last re-initialization of the scheduler.") schedStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 19), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedStorageType.setDescription("This object defines whether this scheduled action is kept\nin volatile storage and lost upon reboot or if this row is\nbacked up by non-volatile or permanent storage.\n\nConceptual rows having the value `permanent' must allow\nwrite access to the columnar objects schedDescr,\nschedInterval, schedContextName, schedVariable, schedValue,\nand schedAdminStatus. If an implementation supports the\nschedCalendarGroup, write access must be also allowed to\nthe columnar objects schedWeekDay, schedMonth, schedDay,\nschedHour, schedMinute.") schedRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 20), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: schedRowStatus.setDescription("The status of this scheduled action. A control that allows\nentries to be added and removed from this table.\n\nNote that the operational state must change to enabled\nwhen the administrative state is enabled and the row\nstatus changes to active(1).\n\nAttempts to destroy(6) a row or to set a row\nnotInService(2) while the operational state is enabled\nresult in inconsistentValue errors.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.") schedTriggers = MibTableColumn((1, 3, 6, 1, 2, 1, 63, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: schedTriggers.setDescription("This variable counts the number of attempts (either\nsuccessful or failed) to invoke the scheduled action.") schedNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 63, 2)) schedTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 63, 2, 0)) schedConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 63, 3)) schedCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 63, 3, 1)) schedGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 63, 3, 2)) # Augmentions # Notifications schedActionFailure = NotificationType((1, 3, 6, 1, 2, 1, 63, 2, 0, 1)).setObjects(*(("DISMAN-SCHEDULE-MIB", "schedLastFailure"), ("DISMAN-SCHEDULE-MIB", "schedLastFailed"), ) ) if mibBuilder.loadTexts: schedActionFailure.setDescription("This notification is generated whenever the invocation of a\nscheduled action fails.") # Groups schedGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 63, 3, 2, 1)).setObjects(*(("DISMAN-SCHEDULE-MIB", "schedOperStatus"), ("DISMAN-SCHEDULE-MIB", "schedLastFailed"), ("DISMAN-SCHEDULE-MIB", "schedStorageType"), ("DISMAN-SCHEDULE-MIB", "schedLastFailure"), ("DISMAN-SCHEDULE-MIB", "schedVariable"), ("DISMAN-SCHEDULE-MIB", "schedType"), ("DISMAN-SCHEDULE-MIB", "schedAdminStatus"), ("DISMAN-SCHEDULE-MIB", "schedDescr"), ("DISMAN-SCHEDULE-MIB", "schedRowStatus"), ("DISMAN-SCHEDULE-MIB", "schedValue"), ("DISMAN-SCHEDULE-MIB", "schedFailures"), ("DISMAN-SCHEDULE-MIB", "schedInterval"), ("DISMAN-SCHEDULE-MIB", "schedContextName"), ) ) if mibBuilder.loadTexts: schedGroup.setDescription("A collection of objects providing scheduling capabilities.") schedCalendarGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 63, 3, 2, 2)).setObjects(*(("DISMAN-SCHEDULE-MIB", "schedHour"), ("DISMAN-SCHEDULE-MIB", "schedMonth"), ("DISMAN-SCHEDULE-MIB", "schedWeekDay"), ("DISMAN-SCHEDULE-MIB", "schedDay"), ("DISMAN-SCHEDULE-MIB", "schedMinute"), ("DISMAN-SCHEDULE-MIB", "schedLocalTime"), ) ) if mibBuilder.loadTexts: schedCalendarGroup.setDescription("A collection of objects providing calendar based schedules.") schedNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 63, 3, 2, 3)).setObjects(*(("DISMAN-SCHEDULE-MIB", "schedActionFailure"), ) ) if mibBuilder.loadTexts: schedNotificationsGroup.setDescription("The notifications emitted by the scheduler.") schedGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 63, 3, 2, 4)).setObjects(*(("DISMAN-SCHEDULE-MIB", "schedOperStatus"), ("DISMAN-SCHEDULE-MIB", "schedTriggers"), ("DISMAN-SCHEDULE-MIB", "schedLastFailed"), ("DISMAN-SCHEDULE-MIB", "schedStorageType"), ("DISMAN-SCHEDULE-MIB", "schedLastFailure"), ("DISMAN-SCHEDULE-MIB", "schedVariable"), ("DISMAN-SCHEDULE-MIB", "schedType"), ("DISMAN-SCHEDULE-MIB", "schedAdminStatus"), ("DISMAN-SCHEDULE-MIB", "schedDescr"), ("DISMAN-SCHEDULE-MIB", "schedRowStatus"), ("DISMAN-SCHEDULE-MIB", "schedValue"), ("DISMAN-SCHEDULE-MIB", "schedFailures"), ("DISMAN-SCHEDULE-MIB", "schedInterval"), ("DISMAN-SCHEDULE-MIB", "schedContextName"), ) ) if mibBuilder.loadTexts: schedGroup2.setDescription("A collection of objects providing scheduling capabilities.") # Compliances schedCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 63, 3, 1, 1)).setObjects(*(("DISMAN-SCHEDULE-MIB", "schedCalendarGroup"), ("DISMAN-SCHEDULE-MIB", "schedNotificationsGroup"), ("DISMAN-SCHEDULE-MIB", "schedGroup"), ) ) if mibBuilder.loadTexts: schedCompliance.setDescription("The compliance statement for SNMP entities which implement\nthe scheduling MIB.") schedCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 63, 3, 1, 2)).setObjects(*(("DISMAN-SCHEDULE-MIB", "schedNotificationsGroup"), ("DISMAN-SCHEDULE-MIB", "schedCalendarGroup"), ("DISMAN-SCHEDULE-MIB", "schedGroup2"), ) ) if mibBuilder.loadTexts: schedCompliance2.setDescription("The compliance statement for SNMP entities which implement\nthe scheduling MIB.") # Exports # Module identity mibBuilder.exportSymbols("DISMAN-SCHEDULE-MIB", PYSNMP_MODULE_ID=schedMIB) # Types mibBuilder.exportSymbols("DISMAN-SCHEDULE-MIB", SnmpPduErrorStatus=SnmpPduErrorStatus) # Objects mibBuilder.exportSymbols("DISMAN-SCHEDULE-MIB", schedMIB=schedMIB, schedObjects=schedObjects, schedLocalTime=schedLocalTime, schedTable=schedTable, schedEntry=schedEntry, schedOwner=schedOwner, schedName=schedName, schedDescr=schedDescr, schedInterval=schedInterval, schedWeekDay=schedWeekDay, schedMonth=schedMonth, schedDay=schedDay, schedHour=schedHour, schedMinute=schedMinute, schedContextName=schedContextName, schedVariable=schedVariable, schedValue=schedValue, schedType=schedType, schedAdminStatus=schedAdminStatus, schedOperStatus=schedOperStatus, schedFailures=schedFailures, schedLastFailure=schedLastFailure, schedLastFailed=schedLastFailed, schedStorageType=schedStorageType, schedRowStatus=schedRowStatus, schedTriggers=schedTriggers, schedNotifications=schedNotifications, schedTraps=schedTraps, schedConformance=schedConformance, schedCompliances=schedCompliances, schedGroups=schedGroups) # Notifications mibBuilder.exportSymbols("DISMAN-SCHEDULE-MIB", schedActionFailure=schedActionFailure) # Groups mibBuilder.exportSymbols("DISMAN-SCHEDULE-MIB", schedGroup=schedGroup, schedCalendarGroup=schedCalendarGroup, schedNotificationsGroup=schedNotificationsGroup, schedGroup2=schedGroup2) # Compliances mibBuilder.exportSymbols("DISMAN-SCHEDULE-MIB", schedCompliance=schedCompliance, schedCompliance2=schedCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/RMON2-MIB.py0000644000014400001440000057520411736645137020310 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RMON2-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:34 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( OwnerString, channelEntry, etherStatsEntry, filter, filterEntry, history, historyControlEntry, hostControlEntry, hosts, matrix, matrixControlEntry, statistics, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "channelEntry", "etherStatsEntry", "filter", "filterEntry", "history", "historyControlEntry", "hostControlEntry", "hosts", "matrix", "matrixControlEntry", "statistics") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, RowStatus, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "TimeStamp") ( ringStationControlEntry, sourceRoutingStatsEntry, tokenRing, tokenRingMLStatsEntry, tokenRingPStatsEntry, ) = mibBuilder.importSymbols("TOKEN-RING-RMON-MIB", "ringStationControlEntry", "sourceRoutingStatsEntry", "tokenRing", "tokenRingMLStatsEntry", "tokenRingPStatsEntry") # Types class ControlString(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class DataSource(ObjectIdentifier): pass class LastCreateTime(TimeTicks): pass class TimeFilter(TimeTicks): pass class ZeroBasedCounter32(Gauge32): pass # Objects rmon = ModuleIdentity((1, 3, 6, 1, 2, 1, 16)).setRevisions(("2006-05-02 00:00","2002-07-08 00:00","1996-05-27 00:00",)) if mibBuilder.loadTexts: rmon.setOrganization("IETF RMON MIB Working Group") if mibBuilder.loadTexts: rmon.setContactInfo("Author:\nSteve Waldbusser\nPhone: +1-650-948-6500\nFax : +1-650-745-0671\nEmail: waldbusser@nextbeacon.com\n\nWorking Group Chair:\nAndy Bierman\nE-mail: ietf@andybierman.com\n\nWorking Group Mailing List: \nTo subscribe send email to: ") if mibBuilder.loadTexts: rmon.setDescription("The MIB module for managing remote monitoring\ndevice implementations. This MIB module\nextends the architecture introduced in the original\nRMON MIB as specified in RFC 2819.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4502; see the RFC itself for\nfull legal notices.") etherStats2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 4)) if mibBuilder.loadTexts: etherStats2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.") etherStats2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 4, 1)) if mibBuilder.loadTexts: etherStats2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") etherStatsDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") etherStatsCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 4, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") tokenRingMLStats2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 5)) if mibBuilder.loadTexts: tokenRingMLStats2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.\n\nThis table has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability\nto meet the requirements of a Draft Standard.") tokenRingMLStats2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 5, 1)) if mibBuilder.loadTexts: tokenRingMLStats2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") tokenRingMLStatsDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") tokenRingMLStatsCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 5, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") tokenRingPStats2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 6)) if mibBuilder.loadTexts: tokenRingPStats2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.\n\nThis table has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability\nto meet the requirements of a Draft Standard.") tokenRingPStats2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 6, 1)) if mibBuilder.loadTexts: tokenRingPStats2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") tokenRingPStatsDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") tokenRingPStatsCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 6, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") historyControl2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 5)) if mibBuilder.loadTexts: historyControl2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.") historyControl2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 5, 1)) if mibBuilder.loadTexts: historyControl2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") historyControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: historyControlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") hostControl2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 4)) if mibBuilder.loadTexts: hostControl2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.") hostControl2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 4, 1)) if mibBuilder.loadTexts: hostControl2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") hostControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\n\n\n\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") hostControlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 4, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") matrixControl2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 4)) if mibBuilder.loadTexts: matrixControl2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.") matrixControl2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 4, 1)) if mibBuilder.loadTexts: matrixControl2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") matrixControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") matrixControlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 4, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") channel2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 7, 3)) if mibBuilder.loadTexts: channel2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.") channel2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 7, 3, 1)) if mibBuilder.loadTexts: channel2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") channelDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: channelDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") channelCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 3, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: channelCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") filter2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 7, 4)) if mibBuilder.loadTexts: filter2Table.setDescription("Provides a variable-length packet filter feature to the\nRMON-1 filter table.") filter2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 7, 4, 1)) if mibBuilder.loadTexts: filter2Entry.setDescription("Provides a variable-length packet filter feature to the\nRMON-1 filter table.") filterProtocolDirDataLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterProtocolDirDataLocalIndex.setDescription("When this object is set to a non-zero value, the filter that\nit is associated with performs the following operations on\nevery packet:\n\n1) If the packet doesn't match the protocol directory entry\n identified by this object, discard the packet and exit\n (i.e., discard the packet if it is not of the identified\n protocol).\n\n\n\n2) If the associated filterProtocolDirLocalIndex is non-zero\n and the packet doesn't match the protocol directory\n entry identified by that object, discard the packet and\n exit.\n3) If the packet matches, perform the regular filter\n algorithm as if the beginning of this named protocol is\n the beginning of the packet, potentially applying the\n filterOffset value to move further into the packet.") filterProtocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: filterProtocolDirLocalIndex.setDescription("When this object is set to a non-zero value, the filter that\nit is associated with will discard the packet if the packet\ndoesn't match this protocol directory entry.") ringStationControl2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 7)) if mibBuilder.loadTexts: ringStationControl2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.\n\nThis table has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability\nto meet the requirements of a Draft Standard.") ringStationControl2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 7, 1)) if mibBuilder.loadTexts: ringStationControl2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") ringStationControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") ringStationControlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 7, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\n\n\n\nensure that the table has not been deleted and recreated\nbetween polls.") sourceRoutingStats2Table = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 8)) if mibBuilder.loadTexts: sourceRoutingStats2Table.setDescription("Contains the RMON-2 augmentations to RMON-1.\n\nThis table has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability\nto meet the requirements of a Draft Standard.") sourceRoutingStats2Entry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 8, 1)) if mibBuilder.loadTexts: sourceRoutingStats2Entry.setDescription("Contains the RMON-2 augmentations to RMON-1.") sourceRoutingStatsDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 8, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") sourceRoutingStatsCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 8, 1, 2), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") protocolDir = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 11)) protocolDirLastChange = MibScalar((1, 3, 6, 1, 2, 1, 16, 11, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDirLastChange.setDescription("The value of sysUpTime at the time the protocol directory\nwas last modified, either through insertions or deletions,\nor through modifications of the\nprotocolDirAddressMapConfig, protocolDirHostConfig, or\nprotocolDirMatrixConfig.") protocolDirTable = MibTable((1, 3, 6, 1, 2, 1, 16, 11, 2)) if mibBuilder.loadTexts: protocolDirTable.setDescription("This table lists the protocols that this agent has the\ncapability to decode and count. There is one entry in this\ntable for each such protocol. These protocols represent\ndifferent network-layer, transport-layer, and higher-layer\n\n\n\nprotocols. The agent should boot up with this table\npreconfigured with those protocols that it knows about and\nwishes to monitor. Implementations are strongly encouraged to\nsupport protocols higher than the network layer (at least for\nthe protocol distribution group), even for implementations\nthat don't support the application-layer groups.") protocolDirEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 11, 2, 1)).setIndexNames((0, "RMON2-MIB", "protocolDirID"), (0, "RMON2-MIB", "protocolDirParameters")) if mibBuilder.loadTexts: protocolDirEntry.setDescription("A conceptual row in the protocolDirTable.\n\nAn example of the indexing of this entry is\nprotocolDirLocalIndex.8.0.0.0.1.0.0.8.0.2.0.0, which is the\nencoding of a length of 8, followed by 8 subids encoding the\nprotocolDirID of 1.2048, followed by a length of 2 and the\n2 subids encoding zero-valued parameters.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") protocolDirID = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 128))).setMaxAccess("noaccess") if mibBuilder.loadTexts: protocolDirID.setDescription("A unique identifier for a particular protocol. Standard\nidentifiers will be defined in such a manner that they\n\n\n\ncan often be used as specifications for new protocols - i.e.,\na tree-structured assignment mechanism that matches the\nprotocol encapsulation 'tree' and that has algorithmic\nassignment mechanisms for certain subtrees. See RFC 2074 for\nmore details.\n\nDespite the algorithmic mechanism, the probe will only place\nentries in here for those protocols it chooses to collect. In\nother words, it need not populate this table with all\npossible ethernet protocol types, nor need it create them on\nthe fly when it sees them. Whether it does these\nthings is a matter of product definition (cost/benefit,\nusability) and is up to the designer of the product.\n\nIf an entry is written to this table with a protocolDirID that\nthe agent doesn't understand, either directly or\nalgorithmically, the SET request will be rejected with an\ninconsistentName or badValue (for SNMPv1) error.") protocolDirParameters = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: protocolDirParameters.setDescription("A set of parameters for the associated protocolDirID.\nSee the associated RMON2 Protocol Identifiers document\nfor a description of the possible parameters. There\nwill be one octet in this string for each sub-identifier in\nthe protocolDirID, and the parameters will appear here in the\nsame order as the associated sub-identifiers appear in the\nprotocolDirID.\n\nEvery node in the protocolDirID tree has a different, optional\nset of parameters defined (that is, the definition of\nparameters for a node is optional). The proper parameter\nvalue for each node is included in this string. Note that the\ninclusion of a parameter value in this string for each node is\nnot optional. What is optional is that a node may have no\nparameters defined, in which case the parameter field for that\nnode will be zero.") protocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDirLocalIndex.setDescription("The locally arbitrary but unique identifier associated\nwith this protocolDir entry.\n\nThe value for each supported protocol must remain constant at\nleast from one re-initialization of the entity's network\nmanagement system to the next re-initialization, except that\nif a protocol is deleted and re-created, it must be re-created\nwith a new value that has not been used since the last\nre-initialization.\n\nThe specific value is meaningful only within a given SNMP\nentity. A protocolDirLocalIndex must not be re-used until the\nnext agent restart in the event that the protocol directory\nentry is deleted.") protocolDirDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDirDescr.setDescription("A textual description of the protocol encapsulation.\nA probe may choose to describe only a subset of the\nentire encapsulation (e.g., only the highest layer).\n\nThis object is intended for human consumption only.\n\nThis object may not be modified if the associated\nprotocolDirStatus object is equal to active(1).") protocolDirType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 5), Bits().subtype(namedValues=NamedValues(("extensible", 0), ("addressRecognitionCapable", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDirType.setDescription("This object describes 2 attributes of this protocol\ndirectory entry.\n\nThe presence or absence of the 'extensible' bit describes\nwhether this protocol directory entry can be extended\nby the user by creating protocol directory entries that are\nchildren of this protocol.\n\nAn example of an entry that will often allow extensibility is\n\n\n\n'ip.udp'. The probe may automatically populate some children\nof this node, such as 'ip.udp.snmp' and 'ip.udp.dns'.\nA probe administrator or user may also populate additional\nchildren via remote SNMP requests that create entries in this\ntable. When a child node is added for a protocol for which the\nprobe has no built-in support extending a parent node (for\nwhich the probe does have built-in support),\nthat child node is not extendable. This is termed 'limited\nextensibility'.\n\nWhen a child node is added through this extensibility\nmechanism, the values of protocolDirLocalIndex and\nprotocolDirType shall be assigned by the agent.\n\nThe other objects in the entry will be assigned by the\nmanager who is creating the new entry.\n\nThis object also describes whether this agent can\nrecognize addresses for this protocol, should it be a\nnetwork-level protocol. That is, while a probe may be able\nto recognize packets of a particular network-layer protocol\nand count them, it takes additional logic to be able to\nrecognize the addresses in this protocol and to populate\nnetwork-layer or application-layer tables with the addresses\nin this protocol. If this bit is set, the agent will\nrecognize network-layer addresses for this protocol and\npopulate the network- and application-layer host and matrix\ntables with these protocols.\n\nNote that when an entry is created, the agent will supply\nvalues for the bits that match the capabilities of the agent\nwith respect to this protocol. Note that since row creations\nusually exercise the limited extensibility feature, these\nbits will usually be set to zero.") protocolDirAddressMapConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("notSupported", 1), ("supportedOff", 2), ("supportedOn", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDirAddressMapConfig.setDescription("This object describes and configures the probe's support for\naddress mapping for this protocol. When the probe creates\nentries in this table for all protocols that it understands,\n\n\n\nit will set the entry to notSupported(1) if it doesn't have\nthe capability to perform address mapping for the protocol or\nif this protocol is not a network-layer protocol. When\nan entry is created in this table by a management operation as\npart of the limited extensibility feature, the probe must set\nthis value to notSupported(1), because limited extensibility\nof the protocolDirTable does not extend to interpreting\naddresses of the extended protocols.\n\nIf the value of this object is notSupported(1), the probe\nwill not perform address mapping for this protocol and\nshall not allow this object to be changed to any other value.\nIf the value of this object is supportedOn(3), the probe\nsupports address mapping for this protocol and is configured\nto perform address mapping for this protocol for all\naddressMappingControlEntries and all interfaces.\nIf the value of this object is supportedOff(2), the probe\nsupports address mapping for this protocol but is configured\nto not perform address mapping for this protocol for any\naddressMappingControlEntries and all interfaces.\nWhenever this value changes from supportedOn(3) to\nsupportedOff(2), the probe shall delete all related entries in\nthe addressMappingTable.") protocolDirHostConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("notSupported", 1), ("supportedOff", 2), ("supportedOn", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDirHostConfig.setDescription("This object describes and configures the probe's support for\nthe network-layer and application-layer host tables for this\nprotocol. When the probe creates entries in this table for\nall protocols that it understands, it will set the entry to\nnotSupported(1) if it doesn't have the capability to track the\nnlHostTable for this protocol or if the alHostTable is\nimplemented but doesn't have the capability to track this\nprotocol. Note that if the alHostTable is implemented, the\nprobe may only support a protocol if it is supported in both\nthe nlHostTable and the alHostTable.\n\nIf the associated protocolDirType object has the\naddressRecognitionCapable bit set, then this is a network-\nlayer protocol for which the probe recognizes addresses, and\n\n\n\nthus the probe will populate the nlHostTable and alHostTable\nwith addresses it discovers for this protocol.\n\nIf the value of this object is notSupported(1), the probe\nwill not track the nlHostTable or alHostTable for this\nprotocol and shall not allow this object to be changed to any\nother value. If the value of this object is supportedOn(3),\nthe probe supports tracking of the nlHostTable and alHostTable\nfor this protocol and is configured to track both tables\nfor this protocol for all control entries and all interfaces.\nIf the value of this object is supportedOff(2), the probe\nsupports tracking of the nlHostTable and alHostTable for this\nprotocol but is configured to not track these tables\nfor any control entries or interfaces.\nWhenever this value changes from supportedOn(3) to\nsupportedOff(2), the probe shall delete all related entries in\nthe nlHostTable and alHostTable.\n\nNote that since each alHostEntry references 2 protocol\ndirectory entries, one for the network address and one for the\ntype of the highest protocol recognized, an entry will\nonly be created in that table if this value is supportedOn(3)\nfor both protocols.") protocolDirMatrixConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("notSupported", 1), ("supportedOff", 2), ("supportedOn", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDirMatrixConfig.setDescription("This object describes and configures the probe's support for\nthe network-layer and application-layer matrix tables for this\nprotocol. When the probe creates entries in this table for\nall protocols that it understands, it will set the entry to\nnotSupported(1) if it doesn't have the capability to track the\nnlMatrixTables for this protocol or if the alMatrixTables are\nimplemented but don't have the capability to track this\nprotocol. Note that if the alMatrix tables are implemented,\nthe probe may only support a protocol if it is supported in\nboth of the nlMatrixTables and both of the\nalMatrixTables.\n\nIf the associated protocolDirType object has the\naddressRecognitionCapable bit set, then this is a network-\n\n\n\nlayer protocol for which the probe recognizes addresses, and\nthus the probe will populate both of the nlMatrixTables and\nboth of the alMatrixTables with addresses it discovers for\nthis protocol.\n\nIf the value of this object is notSupported(1), the probe\nwill not track either of the nlMatrixTables or the\nalMatrixTables for this protocol and shall not allow this\nobject to be changed to any other value. If the value of this\nobject is supportedOn(3), the probe supports tracking of both\nof the nlMatrixTables and (if implemented) both of the\nalMatrixTables for this protocol and is configured to track\nthese tables for this protocol for all control entries and all\ninterfaces. If the value of this object is supportedOff(2),\nthe probe supports tracking of both of the nlMatrixTables and\n(if implemented) both of the alMatrixTables for this protocol\nbut is configured to not track these tables for this\nprotocol for any control entries or interfaces.\nWhenever this value changes from supportedOn(3) to\nsupportedOff(2), the probe shall delete all related entries in\nthe nlMatrixTables and the alMatrixTables.\n\nNote that since each alMatrixEntry references 2 protocol\ndirectory entries, one for the network address and one for the\ntype of the highest protocol recognized, an entry will\nonly be created in that table if this value is supportedOn(3)\nfor both protocols.") protocolDirOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 9), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDirOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") protocolDirStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 11, 2, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDirStatus.setDescription("The status of this protocol directory entry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\n\n\n\nIf this object is not equal to active(1), all associated\nentries in the nlHostTable, nlMatrixSDTable, nlMatrixDSTable,\nalHostTable, alMatrixSDTable, and alMatrixDSTable shall be\ndeleted.") protocolDist = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 12)) protocolDistControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 12, 1)) if mibBuilder.loadTexts: protocolDistControlTable.setDescription("Controls the setup of protocol type distribution statistics\ntables.\n\nImplementations are encouraged to add an entry per monitored\ninterface upon initialization so that a default collection\nof protocol statistics is available.\n\nRationale:\nThis table controls collection of very basic statistics\nfor any or all of the protocols detected on a given interface.\nAn NMS can use this table to quickly determine bandwidth\nallocation utilized by different protocols.\n\nA media-specific statistics collection could also\nbe configured (e.g., etherStats, trPStats) to easily obtain\ntotal frame, octet, and droppedEvents for the same\ninterface.") protocolDistControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 12, 1, 1)).setIndexNames((0, "RMON2-MIB", "protocolDistControlIndex")) if mibBuilder.loadTexts: protocolDistControlEntry.setDescription("A conceptual row in the protocolDistControlTable.\n\nAn example of the indexing of this entry is\nprotocolDistControlDroppedFrames.7") protocolDistControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: protocolDistControlIndex.setDescription("A unique index for this protocolDistControlEntry.") protocolDistControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDistControlDataSource.setDescription("The source of data for the this protocol distribution.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nThis object may not be modified if the associated\nprotocolDistControlStatus object is equal to active(1).") protocolDistControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistControlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the probe\nis out of some resources and decides to shed load from this\ncollection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\n\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") protocolDistControlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 1, 1, 4), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistControlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\nensure that the table has not been deleted and recreated\nbetween polls.") protocolDistControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 1, 1, 5), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDistControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") protocolDistControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: protocolDistControlStatus.setDescription("The status of this row.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the protocolDistStatsTable shall be deleted.") protocolDistStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 12, 2)) if mibBuilder.loadTexts: protocolDistStatsTable.setDescription("An entry is made in this table for every protocol in the\nprotocolDirTable that has been seen in at least one packet.\nCounters are updated in this table for every protocol type\nthat is encountered when parsing a packet, but no counters are\n\n\n\nupdated for packets with MAC-layer errors.\n\nNote that if a protocolDirEntry is deleted, all associated\nentries in this table are removed.") protocolDistStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 12, 2, 1)).setIndexNames((0, "RMON2-MIB", "protocolDistControlIndex"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: protocolDistStatsEntry.setDescription("A conceptual row in the protocolDistStatsTable.\n\nThe index is composed of the protocolDistControlIndex of the\nassociated protocolDistControlEntry, followed by the\nprotocolDirLocalIndex of the associated protocol that this\nentry represents. In other words, the index identifies the\nprotocol distribution an entry is a part of and the\nparticular protocol that it represents.\n\nAn example of the indexing of this entry is\nprotocolDistStatsPkts.1.18") protocolDistStatsPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 2, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistStatsPkts.setDescription("The number of packets of this protocol type received\nwithout errors. Note that this is the number of\nlink-layer packets, so if a single network-layer packet\nis fragmented into several link-layer frames, this counter\nis incremented several times.") protocolDistStatsOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 2, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistStatsOctets.setDescription("The number of octets in packets of this protocol type\n\n\n\nreceived since it was added to the protocolDistStatsTable\n(excluding framing bits, but including FCS octets), except for\nthose octets in packets that contained errors.\n\nNote that this doesn't count just those octets in the\nparticular protocol frames but includes the entire packet\nthat contained the protocol.") addressMap = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 13)) addressMapInserts = MibScalar((1, 3, 6, 1, 2, 1, 16, 13, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: addressMapInserts.setDescription("The number of times an address mapping entry has been\ninserted into the addressMapTable. If an entry is inserted,\nthen deleted, and then inserted, this counter will be\nincremented by 2.\n\nNote that the table size can be determined by subtracting\naddressMapDeletes from addressMapInserts.") addressMapDeletes = MibScalar((1, 3, 6, 1, 2, 1, 16, 13, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: addressMapDeletes.setDescription("The number of times an address mapping entry has been\ndeleted from the addressMapTable (for any reason). If\nan entry is deleted, then inserted, and then deleted, this\ncounter will be incremented by 2.\n\nNote that the table size can be determined by subtracting\naddressMapDeletes from addressMapInserts.") addressMapMaxDesiredEntries = MibScalar((1, 3, 6, 1, 2, 1, 16, 13, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: addressMapMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the\naddressMapTable. The probe will not create more than\nthis number of entries in the table but may choose to create\nfewer entries in this table for any reason, including the lack\nof resources.\n\nIf this object is set to a value less than the current number\nof entries, enough entries are chosen in an\nimplementation-dependent manner and deleted so that the number\nof entries in the table equals the value of this object.\n\nIf this value is set to -1, the probe may create any number\nof entries in this table.\n\nThis object may be used to control how resources are allocated\non the probe for the various RMON functions.") addressMapControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 13, 4)) if mibBuilder.loadTexts: addressMapControlTable.setDescription("A table to control the collection of mappings from network\nlayer address to physical address to interface.\n\nNote that this is not like the typical RMON\ncontrolTable and dataTable in which each entry creates\nits own data table. Each entry in this table enables the\ndiscovery of addresses on a new interface and the placement\nof address mappings into the central addressMapTable.\n\nImplementations are encouraged to add an entry per monitored\ninterface upon initialization so that a default collection\nof address mappings is available.") addressMapControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 13, 4, 1)).setIndexNames((0, "RMON2-MIB", "addressMapControlIndex")) if mibBuilder.loadTexts: addressMapControlEntry.setDescription("A conceptual row in the addressMapControlTable.\n\nAn example of the indexing of this entry is\naddressMapControlDroppedFrames.1") addressMapControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: addressMapControlIndex.setDescription("A unique index for this entry in the addressMapControlTable.") addressMapControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 4, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: addressMapControlDataSource.setDescription("The source of data for this addressMapControlEntry.") addressMapControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: addressMapControlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the probe\nis out of some resources and decides to shed load from this\ncollection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") addressMapControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 4, 1, 4), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: addressMapControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") addressMapControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 4, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: addressMapControlStatus.setDescription("The status of this addressMap control entry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the addressMapTable shall be deleted.") addressMapTable = MibTable((1, 3, 6, 1, 2, 1, 16, 13, 5)) if mibBuilder.loadTexts: addressMapTable.setDescription("A table of mappings from network layer address to physical\naddress to interface.\n\nThe probe will add entries to this table based on the source\nMAC and network addresses seen in packets without MAC-level\nerrors. The probe will populate this table for all protocols\nin the protocol directory table whose value of\nprotocolDirAddressMapConfig is equal to supportedOn(3), and\nwill delete any entries whose protocolDirEntry is deleted or\nhas a protocolDirAddressMapConfig value of supportedOff(2).") addressMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 13, 5, 1)).setIndexNames((0, "RMON2-MIB", "addressMapTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "addressMapNetworkAddress"), (0, "RMON2-MIB", "addressMapSource")) if mibBuilder.loadTexts: addressMapEntry.setDescription("A conceptual row in the addressMapTable.\n\nThe protocolDirLocalIndex in the index identifies the network\nlayer protocol of the addressMapNetworkAddress.\n\n\n\n\nAn example of the indexing of this entry is\naddressMapSource.783495.18.4.128.2.6.6.11.1.3.6.1.2.1.2.2.1.1.1.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") addressMapTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 5, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: addressMapTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention to see how this works.") addressMapNetworkAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 5, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: addressMapNetworkAddress.setDescription("The network address for this relation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the protocolDirLocalIndex component of the\nindex.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of ip, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IP address,\nin network byte order.") addressMapSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 5, 1, 3), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: addressMapSource.setDescription("The interface or port on which the associated network\naddress was most recently seen.\n\nIf this address mapping was discovered on an interface, this\nobject shall identify the instance of the ifIndex\nobject, defined in [RFC2863], for the desired interface.\nFor example, if an entry were to receive data from\ninterface #1, this object would be set to ifIndex.1.\n\nIf this address mapping was discovered on a port, this\nobject shall identify the instance of the rptrGroupPortIndex\nobject, defined in [RFC2108], for the desired port.\nFor example, if an entry were to receive data from\ngroup #1, port #1, this object would be set to\nrptrGroupPortIndex.1.1.\n\nNote that while the dataSource associated with this entry\nmay only point to index objects, this object may at times\npoint to repeater port objects. This situation occurs when\nthe dataSource points to an interface that is a locally\nattached repeater and the agent has additional information\nabout the source port of traffic seen on that repeater.") addressMapPhysicalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 5, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: addressMapPhysicalAddress.setDescription("The last source physical address on which the associated\nnetwork address was seen. If the protocol of the associated\nnetwork address was encapsulated inside of a network-level or\nhigher protocol, this will be the address of the next-lower\nprotocol with the addressRecognitionCapable bit enabled and\nwill be formatted as specified for that protocol.") addressMapLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 13, 5, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: addressMapLastChange.setDescription("The value of sysUpTime at the time this entry was last\ncreated or the values of the physical address changed.\n\n\n\n\nThis can be used to help detect duplicate address problems, in\nwhich case this object will be updated frequently.") nlHost = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 14)) hlHostControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 14, 1)) if mibBuilder.loadTexts: hlHostControlTable.setDescription("A list of higher-layer (i.e., non-MAC) host table control\nentries.\n\nThese entries will enable the collection of the network- and\napplication-level host tables indexed by network addresses.\nBoth the network- and application-level host tables are\ncontrolled by this table so that they will both be created\nand deleted at the same time, further increasing the ease with\nwhich they can be implemented as a single datastore. (Note that\nif an implementation stores application-layer host records in\nmemory, it can derive network-layer host records from them.)\n\nEntries in the nlHostTable will be created on behalf of each\nentry in this table. Additionally, if this probe implements\nthe alHostTable, entries in the alHostTable will be created on\nbehalf of each entry in this table.\n\nImplementations are encouraged to add an entry per monitored\ninterface upon initialization so that a default collection\nof host statistics is available.") hlHostControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 14, 1, 1)).setIndexNames((0, "RMON2-MIB", "hlHostControlIndex")) if mibBuilder.loadTexts: hlHostControlEntry.setDescription("A conceptual row in the hlHostControlTable.\n\nAn example of the indexing of this entry is\n\n\n\nhlHostControlNlDroppedFrames.1") hlHostControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hlHostControlIndex.setDescription("An index that uniquely identifies an entry in the\nhlHostControlTable. Each such entry defines\na function that discovers hosts on a particular\ninterface and places statistics about them in the\nnlHostTable, and optionally in the alHostTable, on\nbehalf of this hlHostControlEntry.") hlHostControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlHostControlDataSource.setDescription("The source of data for the associated host tables.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nThis object may not be modified if the associated\nhlHostControlStatus object is equal to active(1).") hlHostControlNlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlHostControlNlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for the associated\nnlHost entries for whatever reason. Most often, this event\noccurs when the probe is out of some resources and decides to\nshed load from this collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that if the nlHostTable is inactive because no protocols\nare enabled in the protocol directory, this value should be 0.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") hlHostControlNlInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlHostControlNlInserts.setDescription("The number of times an nlHost entry has been\ninserted into the nlHost table. If an entry is inserted, then\ndeleted, and then inserted, this counter will be incremented\nby 2.\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the table size can be determined by subtracting\nhlHostControlNlDeletes from hlHostControlNlInserts.") hlHostControlNlDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlHostControlNlDeletes.setDescription("The number of times an nlHost entry has been\n\n\n\ndeleted from the nlHost table (for any reason). If an entry\nis deleted, then inserted, and then deleted, this counter will\nbe incremented by 2.\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the table size can be determined by subtracting\nhlHostControlNlDeletes from hlHostControlNlInserts.") hlHostControlNlMaxDesiredEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlHostControlNlMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the\nnlHostTable on behalf of this control entry. The probe will\nnot create more than this number of associated entries in the\ntable but may choose to create fewer entries in this table\nfor any reason, including the lack of resources.\n\nIf this object is set to a value less than the current number\nof entries, enough entries are chosen in an\nimplementation-dependent manner and deleted so that the number\nof entries in the table equals the value of this object.\n\nIf this value is set to -1, the probe may create any number\nof entries in this table. If the associated\nhlHostControlStatus object is equal to 'active', this\nobject may not be modified.\n\nThis object may be used to control how resources are allocated\non the probe for the various RMON functions.") hlHostControlAlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlHostControlAlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for the associated\n\n\n\nalHost entries for whatever reason. Most often, this event\noccurs when the probe is out of some resources and decides to\nshed load from this collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that if the alHostTable is not implemented or is inactive\nbecause no protocols are enabled in the protocol directory,\nthis value should be 0.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") hlHostControlAlInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlHostControlAlInserts.setDescription("The number of times an alHost entry has been\ninserted into the alHost table. If an entry is inserted, then\ndeleted, and then inserted, this counter will be incremented\nby 2.\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the table size can be determined by subtracting\nhlHostControlAlDeletes from hlHostControlAlInserts.") hlHostControlAlDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlHostControlAlDeletes.setDescription("The number of times an alHost entry has been\ndeleted from the alHost table (for any reason). If an entry\nis deleted, then inserted, and then deleted, this counter will\nbe incremented by 2.\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\n\n\n\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the table size can be determined by subtracting\nhlHostControlAlDeletes from hlHostControlAlInserts.") hlHostControlAlMaxDesiredEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlHostControlAlMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the alHost\ntable on behalf of this control entry. The probe will not\ncreate more than this number of associated entries in the\ntable but may choose to create fewer entries in this table\nfor any reason, including the lack of resources.\n\nIf this object is set to a value less than the current number\nof entries, enough entries are chosen in an\nimplementation-dependent manner and deleted so that the number\nof entries in the table equals the value of this object.\n\nIf this value is set to -1, the probe may create any number\nof entries in this table. If the associated\nhlHostControlStatus object is equal to 'active', this\nobject may not be modified.\n\nThis object may be used to control how resources are allocated\non the probe for the various RMON functions.") hlHostControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 11), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlHostControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") hlHostControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlHostControlStatus.setDescription("The status of this hlHostControlEntry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the nlHostTable and alHostTable shall be deleted.") nlHostTable = MibTable((1, 3, 6, 1, 2, 1, 16, 14, 2)) if mibBuilder.loadTexts: nlHostTable.setDescription("A collection of statistics for a particular network layer\naddress that has been discovered on an interface of this\ndevice.\n\nThe probe will populate this table for all network layer\nprotocols in the protocol directory table whose value of\nprotocolDirHostConfig is equal to supportedOn(3), and\nwill delete any entries whose protocolDirEntry is deleted or\nhas a protocolDirHostConfig value of supportedOff(2).\n\nThe probe will add to this table all addresses seen\nas the source or destination address in all packets with no\nMAC errors, and will increment octet and packet counts in the\ntable for all packets with no MAC errors.") nlHostEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 14, 2, 1)).setIndexNames((0, "RMON2-MIB", "hlHostControlIndex"), (0, "RMON2-MIB", "nlHostTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlHostAddress")) if mibBuilder.loadTexts: nlHostEntry.setDescription("A conceptual row in the nlHostTable.\n\nThe hlHostControlIndex value in the index identifies the\nhlHostControlEntry on whose behalf this entry was created.\nThe protocolDirLocalIndex value in the index identifies the\nnetwork layer protocol of the nlHostAddress.\n\nAn example of the indexing of this entry is\nnlHostOutPkts.1.783495.18.4.128.2.6.6.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\n\n\n\ncare to avoid such combinations.") nlHostTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlHostTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention to see how this works.") nlHostAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlHostAddress.setDescription("The network address for this nlHostEntry.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the protocolDirLocalIndex component of the index.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of IP, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IP address,\nin network byte order.") nlHostInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostInPkts.setDescription("The number of packets without errors transmitted to\n\n\n\nthis address since it was added to the nlHostTable. Note that\nthis is the number of link-layer packets, so if a single\nnetwork-layer packet is fragmented into several link-layer\nframes, this counter is incremented several times.") nlHostOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostOutPkts.setDescription("The number of packets without errors transmitted by\nthis address since it was added to the nlHostTable. Note that\nthis is the number of link-layer packets, so if a single\nnetwork-layer packet is fragmented into several link-layer\nframes, this counter is incremented several times.") nlHostInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostInOctets.setDescription("The number of octets transmitted to this address\nsince it was added to the nlHostTable (excluding\nframing bits, but including FCS octets), excluding\noctets in packets that contained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") nlHostOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 6), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostOutOctets.setDescription("The number of octets transmitted by this address\nsince it was added to the nlHostTable (excluding\nframing bits, but including FCS octets), excluding\noctets in packets that contained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") nlHostOutMacNonUnicastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostOutMacNonUnicastPkts.setDescription("The number of packets without errors transmitted by this\naddress that were directed to any MAC broadcast addresses\nor to any MAC multicast addresses since this host was\nadded to the nlHostTable. Note that this is the number of\nlink-layer packets, so if a single network-layer packet is\nfragmented into several link-layer frames, this counter is\nincremented several times.") nlHostCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 2, 1, 8), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that the\nentry has not been deleted and recreated between polls.") nlMatrix = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 15)) hlMatrixControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 1)) if mibBuilder.loadTexts: hlMatrixControlTable.setDescription("A list of higher-layer (i.e., non-MAC) matrix control entries.\n\nThese entries will enable the collection of the network- and\napplication-level matrix tables containing conversation\nstatistics indexed by pairs of network addresses.\nBoth the network- and application-level matrix tables are\ncontrolled by this table so that they will both be created\nand deleted at the same time, further increasing the ease with\nwhich they can be implemented as a single datastore. (Note that\nif an implementation stores application-layer matrix records\n\n\n\nin memory, it can derive network-layer matrix records from\nthem.)\n\nEntries in the nlMatrixSDTable and nlMatrixDSTable will be\ncreated on behalf of each entry in this table. Additionally,\nif this probe implements the alMatrix tables, entries in the\nalMatrix tables will be created on behalf of each entry in\nthis table.") hlMatrixControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 1, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex")) if mibBuilder.loadTexts: hlMatrixControlEntry.setDescription("A conceptual row in the hlMatrixControlTable.\n\nAn example of indexing of this entry is\nhlMatrixControlNlDroppedFrames.1") hlMatrixControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hlMatrixControlIndex.setDescription("An index that uniquely identifies an entry in the\nhlMatrixControlTable. Each such entry defines\na function that discovers conversations on a particular\ninterface and places statistics about them in the\nnlMatrixSDTable and the nlMatrixDSTable, and optionally the\nalMatrixSDTable and alMatrixDSTable, on behalf of this\n\n\n\nhlMatrixControlEntry.") hlMatrixControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlMatrixControlDataSource.setDescription("The source of the data for the associated matrix tables.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nThis object may not be modified if the associated\nhlMatrixControlStatus object is equal to active(1).") hlMatrixControlNlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlMatrixControlNlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the probe\nis out of some resources and decides to shed load from this\ncollection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that if the nlMatrixTables are inactive because no\nprotocols are enabled in the protocol directory, this value\nshould be 0.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") hlMatrixControlNlInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlMatrixControlNlInserts.setDescription("The number of times an nlMatrix entry has been\ninserted into the nlMatrix tables. If an entry is inserted,\n\n\n\nthen deleted, and then inserted, this counter will be\nincremented by 2. The addition of a conversation into both\nthe nlMatrixSDTable and nlMatrixDSTable shall be counted as\ntwo insertions (even though every addition into one table must\nbe accompanied by an insertion into the other).\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the sum of then nlMatrixSDTable and nlMatrixDSTable\nsizes can be determined by subtracting\nhlMatrixControlNlDeletes from hlMatrixControlNlInserts.") hlMatrixControlNlDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlMatrixControlNlDeletes.setDescription("The number of times an nlMatrix entry has been\ndeleted from the nlMatrix tables (for any reason). If an\nentry is deleted, then inserted, and then deleted, this\ncounter will be incremented by 2. The deletion of a\nconversation from both the nlMatrixSDTable and nlMatrixDSTable\nshall be counted as two deletions (even though every deletion\nfrom one table must be accompanied by a deletion from the\nother).\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the table size can be determined by subtracting\nhlMatrixControlNlDeletes from hlMatrixControlNlInserts.") hlMatrixControlNlMaxDesiredEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlMatrixControlNlMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the\nnlMatrix tables on behalf of this control entry. The probe\nwill not create more than this number of associated entries in\nthe table but may choose to create fewer entries in this\ntable for any reason, including the lack of resources.\n\nIf this object is set to a value less than the current number\nof entries, enough entries are chosen in an\nimplementation-dependent manner and deleted so that the number\nof entries in the table equals the value of this object.\n\nIf this value is set to -1, the probe may create any number\nof entries in this table. If the associated\nhlMatrixControlStatus object is equal to 'active', this\nobject may not be modified.\n\nThis object may be used to control how resources are allocated\non the probe for the various RMON functions.") hlMatrixControlAlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlMatrixControlAlDroppedFrames.setDescription("The total number of frames that were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nthat the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the probe\nis out of some resources and decides to shed load from this\ncollection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that if the alMatrixTables are not implemented or are\ninactive because no protocols are enabled in the protocol\ndirectory, this value should be 0.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") hlMatrixControlAlInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlMatrixControlAlInserts.setDescription("The number of times an alMatrix entry has been\ninserted into the alMatrix tables. If an entry is inserted,\nthen deleted, and then inserted, this counter will be\nincremented by 2. The addition of a conversation into both\nthe alMatrixSDTable and alMatrixDSTable shall be counted as\ntwo insertions (even though every addition into one table must\nbe accompanied by an insertion into the other).\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the table size can be determined by subtracting\nhlMatrixControlAlDeletes from hlMatrixControlAlInserts.") hlMatrixControlAlDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hlMatrixControlAlDeletes.setDescription("The number of times an alMatrix entry has been\ndeleted from the alMatrix tables. If an entry is deleted,\nthen inserted, and then deleted, this counter will be\nincremented by 2. The deletion of a conversation from both\nthe alMatrixSDTable and alMatrixDSTable shall be counted as\ntwo deletions (even though every deletion from one table must\nbe accompanied by a deletion from the other).\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal\ndata structures to differ from those visible via SNMP for\nshort periods of time. This counter may reflect the internal\ndata structures for those short periods of time.\n\nNote that the table size can be determined by subtracting\nhlMatrixControlAlDeletes from hlMatrixControlAlInserts.") hlMatrixControlAlMaxDesiredEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlMatrixControlAlMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the\nalMatrix tables on behalf of this control entry. The probe\nwill not create more than this number of associated entries in\nthe table but may choose to create fewer entries in this\ntable for any reason, including the lack of resources.\n\nIf this object is set to a value less than the current number\nof entries, enough entries are chosen in an\nimplementation-dependent manner and deleted so that the number\nof entries in the table equals the value of this object.\n\nIf this value is set to -1, the probe may create any number\nof entries in this table. If the associated\nhlMatrixControlStatus object is equal to 'active', this\nobject may not be modified.\n\nThis object may be used to control how resources are allocated\non the probe for the various RMON functions.") hlMatrixControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 11), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlMatrixControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") hlMatrixControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hlMatrixControlStatus.setDescription("The status of this hlMatrixControlEntry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all\nassociated entries in the nlMatrixSDTable,\nnlMatrixDSTable, alMatrixSDTable, and alMatrixDSTable\nshall be deleted by the agent.") nlMatrixSDTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 2)) if mibBuilder.loadTexts: nlMatrixSDTable.setDescription("A list of traffic matrix entries that collect statistics for\nconversations between two network-level addresses. This table\nis indexed first by the source address and then by the\ndestination address to make it convenient to collect all\nconversations from a particular address.\n\nThe probe will populate this table for all network layer\nprotocols in the protocol directory table whose value of\nprotocolDirMatrixConfig is equal to supportedOn(3), and\nwill delete any entries whose protocolDirEntry is deleted or\nhas a protocolDirMatrixConfig value of supportedOff(2).\n\nThe probe will add to this table all pairs of addresses\nseen in all packets with no MAC errors and will increment\noctet and packet counts in the table for all packets with no\nMAC errors.\n\nFurther, this table will only contain entries that have a\ncorresponding entry in the nlMatrixDSTable with the same\nsource address and destination address.") nlMatrixSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 2, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "nlMatrixSDTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixSDSourceAddress"), (0, "RMON2-MIB", "nlMatrixSDDestAddress")) if mibBuilder.loadTexts: nlMatrixSDEntry.setDescription("A conceptual row in the nlMatrixSDTable.\n\nThe hlMatrixControlIndex value in the index identifies the\nhlMatrixControlEntry on whose behalf this entry was created.\nThe protocolDirLocalIndex value in the index identifies the\nnetwork-layer protocol of the nlMatrixSDSourceAddress and\nnlMatrixSDDestAddress.\n\nAn example of the indexing of this table is\nnlMatrixSDPkts.1.783495.18.4.128.2.6.6.4.128.2.6.7.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") nlMatrixSDTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 2, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixSDTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention to see how this works.") nlMatrixSDSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixSDSourceAddress.setDescription("The network source address for this nlMatrixSDEntry.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the protocolDirLocalIndex component of the index.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of IP, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IP address,\nin network byte order.") nlMatrixSDDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixSDDestAddress.setDescription("The network destination address for this\nnlMatrixSDEntry.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the protocolDirLocalIndex component of the index.\n\nFor example, if the protocolDirLocalIndex indicates an\n\n\n\nencapsulation of IP, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IP address,\nin network byte order.") nlMatrixSDPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 2, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixSDPkts.setDescription("The number of packets without errors transmitted from the\nsource address to the destination address since this entry was\nadded to the nlMatrixSDTable. Note that this is the number of\nlink-layer packets, so if a single network-layer packet is\nfragmented into several link-layer frames, this counter is\nincremented several times.") nlMatrixSDOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 2, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixSDOctets.setDescription("The number of octets transmitted from the source address to\nthe destination address since this entry was added to the\nnlMatrixSDTable (excluding framing bits, but\nincluding FCS octets), excluding octets in packets that\ncontained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") nlMatrixSDCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 2, 1, 6), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixSDCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that the\nentry has not been deleted and recreated between polls.") nlMatrixDSTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 3)) if mibBuilder.loadTexts: nlMatrixDSTable.setDescription("A list of traffic matrix entries that collect statistics for\nconversations between two network-level addresses. This table\nis indexed first by the destination address and then by the\nsource address to make it convenient to collect all\nconversations to a particular address.\n\nThe probe will populate this table for all network layer\nprotocols in the protocol directory table whose value of\nprotocolDirMatrixConfig is equal to supportedOn(3), and\nwill delete any entries whose protocolDirEntry is deleted or\nhas a protocolDirMatrixConfig value of supportedOff(2).\n\nThe probe will add to this table all pairs of addresses\nseen in all packets with no MAC errors and will increment\noctet and packet counts in the table for all packets with no\nMAC errors.\n\nFurther, this table will only contain entries that have a\ncorresponding entry in the nlMatrixSDTable with the same\nsource address and destination address.") nlMatrixDSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 3, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "nlMatrixDSTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixDSDestAddress"), (0, "RMON2-MIB", "nlMatrixDSSourceAddress")) if mibBuilder.loadTexts: nlMatrixDSEntry.setDescription("A conceptual row in the nlMatrixDSTable.\n\nThe hlMatrixControlIndex value in the index identifies the\nhlMatrixControlEntry on whose behalf this entry was created.\nThe protocolDirLocalIndex value in the index identifies the\nnetwork-layer protocol of the nlMatrixDSSourceAddress and\nnlMatrixDSDestAddress.\n\nAn example of the indexing of this table is\nnlMatrixDSPkts.1.783495.18.4.128.2.6.7.4.128.2.6.6.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") nlMatrixDSTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 3, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixDSTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention to see how this works.") nlMatrixDSSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixDSSourceAddress.setDescription("The network source address for this nlMatrixDSEntry.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the protocolDirLocalIndex component of the index.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of IP, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IP address,\nin network byte order.") nlMatrixDSDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 3, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixDSDestAddress.setDescription("The network destination address for this\nnlMatrixDSEntry.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\n\n\n\nby the protocolDirLocalIndex component of the index.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of IP, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IP address,\nin network byte order.") nlMatrixDSPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 3, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixDSPkts.setDescription("The number of packets without errors transmitted from the\nsource address to the destination address since this entry was\nadded to the nlMatrixDSTable. Note that this is the number of\nlink-layer packets, so if a single network-layer packet is\nfragmented into several link-layer frames, this counter is\nincremented several times.") nlMatrixDSOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 3, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixDSOctets.setDescription("The number of octets transmitted from the source address\nto the destination address since this entry was added to the\nnlMatrixDSTable (excluding framing bits, but\nincluding FCS octets), excluding octets in packets that\ncontained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") nlMatrixDSCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 3, 1, 6), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixDSCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that the\nentry has not been deleted and recreated between polls.") nlMatrixTopNControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 4)) if mibBuilder.loadTexts: nlMatrixTopNControlTable.setDescription("A set of parameters that control the creation of a\nreport of the top N matrix entries according to\na selected metric.") nlMatrixTopNControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 4, 1)).setIndexNames((0, "RMON2-MIB", "nlMatrixTopNControlIndex")) if mibBuilder.loadTexts: nlMatrixTopNControlEntry.setDescription("A conceptual row in the nlMatrixTopNControlTable.\n\nAn example of the indexing of this table is\nnlMatrixTopNControlDuration.3") nlMatrixTopNControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixTopNControlIndex.setDescription("An index that uniquely identifies an entry\nin the nlMatrixTopNControlTable. Each such\nentry defines one topN report prepared for\none interface.") nlMatrixTopNControlMatrixIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlMatrixTopNControlMatrixIndex.setDescription("The nlMatrix[SD/DS] table for which a topN report will be\nprepared on behalf of this entry. The nlMatrix[SD/DS] table\nis identified by the value of the hlMatrixControlIndex\nfor that table - that value is used here to identify the\nparticular table.\n\nThis object may not be modified if the associated\nnlMatrixTopNControlStatus object is equal to active(1).") nlMatrixTopNControlRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("nlMatrixTopNPkts", 1), ("nlMatrixTopNOctets", 2), ("nlMatrixTopNHighCapacityPkts", 3), ("nlMatrixTopNHighCapacityOctets", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlMatrixTopNControlRateBase.setDescription("The variable for each nlMatrix[SD/DS] entry that the\nnlMatrixTopNEntries are sorted by, as well as a control\nfor the table that the results will be reported in.\n\nThis object may not be modified if the associated\nnlMatrixTopNControlStatus object is equal to active(1).\n\nIf this value is less than or equal to 2, when the report\nis prepared, entries are created in the nlMatrixTopNTable\nassociated with this object.\nIf this value is greater than or equal to 3, when the report\nis prepared, entries are created in the\nnlMatrixTopNHighCapacityTable associated with this object.") nlMatrixTopNControlTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(1800)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlMatrixTopNControlTimeRemaining.setDescription("The number of seconds left in the report currently\nbeing collected. When this object is modified by\nthe management station, a new collection is started,\npossibly aborting a currently running report. The\nnew value is used as the requested duration of this\n\n\n\nreport and is immediately loaded into the associated\nnlMatrixTopNControlDuration object.\n\nWhen the report finishes, the probe will automatically\nstart another collection with the same initial value\nof nlMatrixTopNControlTimeRemaining. Thus, the management\nstation may simply read the resulting reports repeatedly,\nchecking the startTime and duration each time to ensure that a\nreport was not missed or that the report parameters were not\nchanged.\n\nWhile the value of this object is non-zero, it decrements\nby one per second until it reaches zero. At the time\nthat this object decrements to zero, the report is made\naccessible in the nlMatrixTopNTable, overwriting any report\nthat may be there.\n\nWhen this object is modified by the management station, any\nassociated entries in the nlMatrixTopNTable shall be deleted.\n\n(Note that this is a different algorithm than the one used\nin the hostTopNTable).") nlMatrixTopNControlGeneratedReports = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNControlGeneratedReports.setDescription("The number of reports that have been generated by this entry.") nlMatrixTopNControlDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNControlDuration.setDescription("The number of seconds that this report has collected\nduring the last sampling interval.\n\nWhen the associated nlMatrixTopNControlTimeRemaining object is\nset, this object shall be set by the probe to the\nsame value and shall not be modified until the next\ntime the nlMatrixTopNControlTimeRemaining is set.\n\nThis value shall be zero if no reports have been\nrequested for this nlMatrixTopNControlEntry.") nlMatrixTopNControlRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(150)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlMatrixTopNControlRequestedSize.setDescription("The maximum number of matrix entries requested for this report.\n\nWhen this object is created or modified, the probe\nshould set nlMatrixTopNControlGrantedSize as closely to this\nobject as possible for the particular probe\nimplementation and available resources.") nlMatrixTopNControlGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNControlGrantedSize.setDescription("The maximum number of matrix entries in this report.\n\nWhen the associated nlMatrixTopNControlRequestedSize object is\ncreated or modified, the probe should set this\nobject as closely to the requested value as\npossible for the particular implementation and\navailable resources. The probe must not lower this\nvalue except as a side-effect of a set to the associated\nnlMatrixTopNControlRequestedSize object.\n\nIf the value of nlMatrixTopNControlRateBase is equal to\nnlMatrixTopNPkts, when the next topN report is generated,\nmatrix entries with the highest value of nlMatrixTopNPktRate\nshall be placed in this table in decreasing order of this rate\nuntil there is no more room or until there are no more\nmatrix entries.\n\nIf the value of nlMatrixTopNControlRateBase is equal to\nnlMatrixTopNOctets, when the next topN report is generated,\nmatrix entries with the highest value of nlMatrixTopNOctetRate\nshall be placed in this table in decreasing order of this rate\nuntil there is no more room or until there are no more\nmatrix entries.\n\nIt is an implementation-specific matter how entries with the\nsame value of nlMatrixTopNPktRate or nlMatrixTopNOctetRate are\nsorted. It is also an implementation-specific matter as to\n\n\n\nwhether zero-valued entries are available.") nlMatrixTopNControlStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNControlStartTime.setDescription("The value of sysUpTime when this topN report was\nlast started. In other words, this is the time that\nthe associated nlMatrixTopNControlTimeRemaining object was\nmodified to start the requested report or the time\nthe report was last automatically (re)started.\n\nThis object may be used by the management station to\ndetermine whether a report was missed.") nlMatrixTopNControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 10), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlMatrixTopNControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") nlMatrixTopNControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 4, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlMatrixTopNControlStatus.setDescription("The status of this nlMatrixTopNControlEntry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all\nassociated entries in the nlMatrixTopNTable shall be deleted\nby the agent.") nlMatrixTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 5)) if mibBuilder.loadTexts: nlMatrixTopNTable.setDescription("A set of statistics for those network-layer matrix entries\n\n\n\nthat have counted the highest number of octets or packets.") nlMatrixTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 5, 1)).setIndexNames((0, "RMON2-MIB", "nlMatrixTopNControlIndex"), (0, "RMON2-MIB", "nlMatrixTopNIndex")) if mibBuilder.loadTexts: nlMatrixTopNEntry.setDescription("A conceptual row in the nlMatrixTopNTable.\n\nThe nlMatrixTopNControlIndex value in the index identifies the\nnlMatrixTopNControlEntry on whose behalf this entry was\ncreated.\n\nAn example of the indexing of this table is\nnlMatrixTopNPktRate.3.10") nlMatrixTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlMatrixTopNIndex.setDescription("An index that uniquely identifies an entry in\nthe nlMatrixTopNTable among those in the same report.\nThis index is between 1 and N, where N is the\nnumber of entries in this report.\n\nIf the value of nlMatrixTopNControlRateBase is equal to\nnlMatrixTopNPkts, increasing values of nlMatrixTopNIndex shall\nbe assigned to entries with decreasing values of\nnlMatrixTopNPktRate until index N is assigned or there are no\nmore nlMatrixTopNEntries.\n\nIf the value of nlMatrixTopNControlRateBase is equal to\nnlMatrixTopNOctets, increasing values of nlMatrixTopNIndex\n\n\n\nshall be assigned to entries with decreasing values of\nnlMatrixTopNOctetRate until index N is assigned or there are\nno more nlMatrixTopNEntries.") nlMatrixTopNProtocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNProtocolDirLocalIndex.setDescription("The protocolDirLocalIndex of the network-layer protocol of\nthis entry's network address.") nlMatrixTopNSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNSourceAddress.setDescription("The network-layer address of the source host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated nlMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of IP, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IP address,\nin network byte order.") nlMatrixTopNDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNDestAddress.setDescription("The network-layer address of the destination host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated nlMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the nlMatrixTopNProtocolDirLocalIndex\nindicates an encapsulation of IP, this object is encoded as a\nlength octet of 4, followed by the 4 octets of the IP address,\nin network byte order.") nlMatrixTopNPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNPktRate.setDescription("The number of packets seen from the source host\nto the destination host during this sampling interval, counted\nusing the rules for counting the nlMatrixSDPkts object.\nIf the value of nlMatrixTopNControlRateBase is\nnlMatrixTopNPkts, this variable will be used to sort this\nreport.") nlMatrixTopNReversePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNReversePktRate.setDescription("The number of packets seen from the destination host to the\nsource host during this sampling interval, counted\nusing the rules for counting the nlMatrixSDPkts object. (Note\nthat the corresponding nlMatrixSDPkts object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNPkts, the sort of topN entries is based\nentirely on nlMatrixTopNPktRate, and not on the value of this\nobject.") nlMatrixTopNOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNOctetRate.setDescription("The number of octets seen from the source host\nto the destination host during this sampling interval, counted\nusing the rules for counting the nlMatrixSDOctets object. If\nthe value of nlMatrixTopNControlRateBase is\nnlMatrixTopNOctets, this variable will be used to sort this\nreport.") nlMatrixTopNReverseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 5, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNReverseOctetRate.setDescription("The number of octets seen from the destination host to the\nsource host during this sampling interval, counted\nusing the rules for counting the nlMatrixDSOctets object. (Note\nthat the corresponding nlMatrixSDOctets object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNOctets, the sort of topN entries is based\nentirely on nlMatrixTopNOctetRate, and not on the value of\nthis object.") alHost = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 16)) alHostTable = MibTable((1, 3, 6, 1, 2, 1, 16, 16, 1)) if mibBuilder.loadTexts: alHostTable.setDescription("A collection of statistics for a particular protocol from a\nparticular network address that has been discovered on an\ninterface of this device.\n\nThe probe will populate this table for all protocols in the\nprotocol directory table whose value of\nprotocolDirHostConfig is equal to supportedOn(3), and\nwill delete any entries whose protocolDirEntry is deleted or\nhas a protocolDirHostConfig value of supportedOff(2).\n\n\n\nThe probe will add to this table all addresses\nseen as the source or destination address in all packets with\nno MAC errors and will increment octet and packet counts in\nthe table for all packets with no MAC errors. Further,\nentries will only be added to this table if their address\nexists in the nlHostTable and will be deleted from this table\nif their address is deleted from the nlHostTable.") alHostEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 16, 1, 1)).setIndexNames((0, "RMON2-MIB", "hlHostControlIndex"), (0, "RMON2-MIB", "alHostTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlHostAddress"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: alHostEntry.setDescription("A conceptual row in the alHostTable.\n\nThe hlHostControlIndex value in the index identifies the\nhlHostControlEntry on whose behalf this entry was created.\nThe first protocolDirLocalIndex value in the index identifies\nthe network-layer protocol of the address.\nThe nlHostAddress value in the index identifies the network-\nlayer address of this entry.\nThe second protocolDirLocalIndex value in the index identifies\nthe protocol that is counted by this entry.\n\nAn example of the indexing in this entry is\nalHostOutPkts.1.783495.18.4.128.2.6.6.34.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") alHostTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 1, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: alHostTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention to see how this works.") alHostInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 1, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostInPkts.setDescription("The number of packets of this protocol type without errors\ntransmitted to this address since it was added to the\nalHostTable. Note that this is the number of link-layer\npackets, so if a single network-layer packet is fragmented\ninto several link-layer frames, this counter is incremented\nseveral times.") alHostOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 1, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostOutPkts.setDescription("The number of packets of this protocol type without errors\ntransmitted by this address since it was added to the\nalHostTable. Note that this is the number of link-layer\npackets, so if a single network-layer packet is fragmented\ninto several link-layer frames, this counter is incremented\nseveral times.") alHostInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 1, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostInOctets.setDescription("The number of octets transmitted to this address\nof this protocol type since it was added to the\nalHostTable (excluding framing bits, but including\nFCS octets), excluding octets in packets that\ncontained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") alHostOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 1, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostOutOctets.setDescription("The number of octets transmitted by this address\nof this protocol type since it was added to the\nalHostTable (excluding framing bits, but including\nFCS octets), excluding octets in packets that\ncontained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") alHostCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 1, 1, 6), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that the\nentry has not been deleted and recreated between polls.") alMatrix = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 17)) alMatrixSDTable = MibTable((1, 3, 6, 1, 2, 1, 16, 17, 1)) if mibBuilder.loadTexts: alMatrixSDTable.setDescription("A list of application traffic matrix entries that collect\nstatistics for conversations of a particular protocol between\ntwo network-level addresses. This table is indexed first by\nthe source address and then by the destination address to make\nit convenient to collect all statistics from a particular\naddress.\n\nThe probe will populate this table for all protocols in the\nprotocol directory table whose value of\n\n\n\nprotocolDirMatrixConfig is equal to supportedOn(3), and\nwill delete any entries whose protocolDirEntry is deleted or\nhas a protocolDirMatrixConfig value of supportedOff(2).\n\nThe probe will add to this table all pairs of addresses for\nall protocols seen in all packets with no MAC errors and will\nincrement octet and packet counts in the table for all packets\nwith no MAC errors. Further, entries will only be added to\nthis table if their address pair exists in the nlMatrixSDTable\nand will be deleted from this table if the address pair is\ndeleted from the nlMatrixSDTable.") alMatrixSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 17, 1, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "alMatrixSDTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixSDSourceAddress"), (0, "RMON2-MIB", "nlMatrixSDDestAddress"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: alMatrixSDEntry.setDescription("A conceptual row in the alMatrixSDTable.\n\nThe hlMatrixControlIndex value in the index identifies the\nhlMatrixControlEntry on whose behalf this entry was created.\nThe first protocolDirLocalIndex value in the index identifies\nthe network-layer protocol of the nlMatrixSDSourceAddress and\nnlMatrixSDDestAddress.\nThe nlMatrixSDSourceAddress value in the index identifies the\nnetwork-layer address of the source host in this conversation.\nThe nlMatrixSDDestAddress value in the index identifies the\nnetwork-layer address of the destination host in this\nconversation.\nThe second protocolDirLocalIndex value in the index identifies\nthe protocol that is counted by this entry.\n\nAn example of the indexing of this entry is\nalMatrixSDPkts.1.783495.18.4.128.2.6.6.4.128.2.6.7.34.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") alMatrixSDTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 1, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: alMatrixSDTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention to see how this works.") alMatrixSDPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 1, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixSDPkts.setDescription("The number of packets of this protocol type without errors\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixSDTable. Note that\nthis is the number of link-layer packets, so if a single\nnetwork-layer packet is fragmented into several link-layer\nframes, this counter is incremented several times.") alMatrixSDOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 1, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixSDOctets.setDescription("The number of octets in packets of this protocol type\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixSDTable (excluding\nframing bits, but including FCS octets), excluding octets\nin packets that contained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") alMatrixSDCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 1, 1, 4), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixSDCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that the\nentry has not been deleted and recreated between polls.") alMatrixDSTable = MibTable((1, 3, 6, 1, 2, 1, 16, 17, 2)) if mibBuilder.loadTexts: alMatrixDSTable.setDescription("A list of application traffic matrix entries that collect\nstatistics for conversations of a particular protocol between\ntwo network-level addresses. This table is indexed first by\nthe destination address and then by the source address to make\nit convenient to collect all statistics to a particular\naddress.\n\nThe probe will populate this table for all protocols in the\nprotocol directory table whose value of\nprotocolDirMatrixConfig is equal to supportedOn(3), and\nwill delete any entries whose protocolDirEntry is deleted or\nhas a protocolDirMatrixConfig value of supportedOff(2).\n\nThe probe will add to this table all pairs of addresses for\nall protocols seen in all packets with no MAC errors and will\nincrement octet and packet counts in the table for all packets\nwith no MAC errors. Further, entries will only be added to\nthis table if their address pair exists in the nlMatrixDSTable\nand will be deleted from this table if the address pair is\ndeleted from the nlMatrixDSTable.") alMatrixDSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 17, 2, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "alMatrixDSTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixDSDestAddress"), (0, "RMON2-MIB", "nlMatrixDSSourceAddress"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: alMatrixDSEntry.setDescription("A conceptual row in the alMatrixDSTable.\n\nThe hlMatrixControlIndex value in the index identifies the\nhlMatrixControlEntry on whose behalf this entry was created.\nThe first protocolDirLocalIndex value in the index identifies\nthe network-layer protocol of the alMatrixDSSourceAddress and\nalMatrixDSDestAddress.\nThe nlMatrixDSDestAddress value in the index identifies the\nnetwork-layer address of the destination host in this\n\n\n\nconversation.\nThe nlMatrixDSSourceAddress value in the index identifies the\nnetwork-layer address of the source host in this conversation.\nThe second protocolDirLocalIndex value in the index identifies\nthe protocol that is counted by this entry.\n\nAn example of the indexing of this entry is\nalMatrixDSPkts.1.783495.18.4.128.2.6.7.4.128.2.6.6.34.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length, which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") alMatrixDSTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 2, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: alMatrixDSTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention to see how this works.") alMatrixDSPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 2, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixDSPkts.setDescription("The number of packets of this protocol type without errors\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixDSTable. Note that\nthis is the number of link-layer packets, so if a single\nnetwork-layer packet is fragmented into several link-layer\nframes, this counter is incremented several times.") alMatrixDSOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 2, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixDSOctets.setDescription("The number of octets in packets of this protocol type\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixDSTable (excluding\nframing bits, but including FCS octets), excluding octets\nin packets that contained errors.\n\nNote that this doesn't count just those octets in the particular\nprotocol frames but includes the entire packet that contained\nthe protocol.") alMatrixDSCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 2, 1, 4), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixDSCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that the\nentry has not been deleted and recreated between polls.") alMatrixTopNControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 17, 3)) if mibBuilder.loadTexts: alMatrixTopNControlTable.setDescription("A set of parameters that control the creation of a\nreport of the top N matrix entries according to\na selected metric.") alMatrixTopNControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 17, 3, 1)).setIndexNames((0, "RMON2-MIB", "alMatrixTopNControlIndex")) if mibBuilder.loadTexts: alMatrixTopNControlEntry.setDescription("A conceptual row in the alMatrixTopNControlTable.\n\nAn example of the indexing of this table is\nalMatrixTopNControlDuration.3") alMatrixTopNControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alMatrixTopNControlIndex.setDescription("An index that uniquely identifies an entry\nin the alMatrixTopNControlTable. Each such\nentry defines one topN report prepared for\none interface.") alMatrixTopNControlMatrixIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alMatrixTopNControlMatrixIndex.setDescription("The alMatrix[SD/DS] table for which a topN report will be\nprepared on behalf of this entry. The alMatrix[SD/DS] table\nis identified by the value of the hlMatrixControlIndex\nfor that table - that value is used here to identify the\nparticular table.\n\nThis object may not be modified if the associated\nalMatrixTopNControlStatus object is equal to active(1).") alMatrixTopNControlRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(6,1,4,7,3,8,2,5,)).subtype(namedValues=NamedValues(("alMatrixTopNTerminalsPkts", 1), ("alMatrixTopNTerminalsOctets", 2), ("alMatrixTopNAllPkts", 3), ("alMatrixTopNAllOctets", 4), ("alMatrixTopNTerminalsHighCapacityPkts", 5), ("alMatrixTopNTerminalsHighCapacityOctets", 6), ("alMatrixTopNAllHighCapacityPkts", 7), ("alMatrixTopNAllHighCapacityOctets", 8), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: alMatrixTopNControlRateBase.setDescription("This object controls which alMatrix[SD/DS] entry that the\nalMatrixTopNEntries are sorted by, which view of the matrix\ntable that will be used, as well as which table the results\nwill be reported in.\n\nThe values alMatrixTopNTerminalsPkts,\nalMatrixTopNTerminalsOctets,\nalMatrixTopNTerminalsHighCapacityPkts, and\nalMatrixTopNTerminalsHighCapacityOctets cause collection\nonly from protocols that have no child protocols that are\ncounted. The values alMatrixTopNAllPkts,\nalMatrixTopNAllOctets, alMatrixTopNAllHighCapacityPkts, and\nalMatrixTopNAllHighCapacityOctets cause collection from all\nalMatrix entries.\n\nThis object may not be modified if the associated\nalMatrixTopNControlStatus object is equal to active(1).") alMatrixTopNControlTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(1800)).setMaxAccess("readcreate") if mibBuilder.loadTexts: alMatrixTopNControlTimeRemaining.setDescription("The number of seconds left in the report currently\nbeing collected. When this object is modified by\nthe management station, a new collection is started,\npossibly aborting a currently running report. The\nnew value is used as the requested duration of this\nreport and is immediately loaded into the associated\nalMatrixTopNControlDuration object.\n\nWhen the report finishes, the probe will automatically\nstart another collection with the same initial value\nof alMatrixTopNControlTimeRemaining. Thus, the management\nstation may simply read the resulting reports repeatedly,\nchecking the startTime and duration each time to ensure that a\nreport was not missed or that the report parameters were not\nchanged.\n\nWhile the value of this object is non-zero, it decrements\nby one per second until it reaches zero. At the time\n\n\n\nthat this object decrements to zero, the report is made\naccessible in the alMatrixTopNTable, overwriting any report\nthat may be there.\n\nWhen this object is modified by the management station, any\nassociated entries in the alMatrixTopNTable shall be deleted.\n\n(Note that this is a different algorithm than the one used\nin the hostTopNTable).") alMatrixTopNControlGeneratedReports = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNControlGeneratedReports.setDescription("The number of reports that have been generated by this entry.") alMatrixTopNControlDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNControlDuration.setDescription("The number of seconds that this report has collected\nduring the last sampling interval.\n\nWhen the associated alMatrixTopNControlTimeRemaining object\nis set, this object shall be set by the probe to the\nsame value and shall not be modified until the next\ntime the alMatrixTopNControlTimeRemaining is set.\n\nThis value shall be zero if no reports have been\nrequested for this alMatrixTopNControlEntry.") alMatrixTopNControlRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(150)).setMaxAccess("readcreate") if mibBuilder.loadTexts: alMatrixTopNControlRequestedSize.setDescription("The maximum number of matrix entries requested for this report.\n\nWhen this object is created or modified, the probe\nshould set alMatrixTopNControlGrantedSize as closely to this\nobject as possible for the particular probe\nimplementation and available resources.") alMatrixTopNControlGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNControlGrantedSize.setDescription("The maximum number of matrix entries in this report.\n\nWhen the associated alMatrixTopNControlRequestedSize object\nis created or modified, the probe should set this\nobject as closely to the requested value as\npossible for the particular implementation and\navailable resources. The probe must not lower this\nvalue except as a side-effect of a set to the associated\nalMatrixTopNControlRequestedSize object.\n\nIf the value of alMatrixTopNControlRateBase is equal to\nalMatrixTopNTerminalsPkts or alMatrixTopNAllPkts, when the\nnext topN report is generated, matrix entries with the highest\nvalue of alMatrixTopNPktRate shall be placed in this table in\ndecreasing order of this rate until there is no more room or\nuntil there are no more matrix entries.\n\nIf the value of alMatrixTopNControlRateBase is equal to\nalMatrixTopNTerminalsOctets or alMatrixTopNAllOctets, when the\nnext topN report is generated, matrix entries with the highest\nvalue of alMatrixTopNOctetRate shall be placed in this table\nin decreasing order of this rate until there is no more room\nor until there are no more matrix entries.\n\nIt is an implementation-specific matter how entries with the\nsame value of alMatrixTopNPktRate or alMatrixTopNOctetRate are\nsorted. It is also an implementation-specific matter as to\nwhether zero-valued entries are available.") alMatrixTopNControlStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNControlStartTime.setDescription("The value of sysUpTime when this topN report was\nlast started. In other words, this is the time that\nthe associated alMatrixTopNControlTimeRemaining object\nwas modified to start the requested report or the time\nthe report was last automatically (re)started.\n\n\n\nThis object may be used by the management station to\ndetermine whether a report was missed.") alMatrixTopNControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 10), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alMatrixTopNControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") alMatrixTopNControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 3, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: alMatrixTopNControlStatus.setDescription("The status of this alMatrixTopNControlEntry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all\nassociated entries in the alMatrixTopNTable shall be\ndeleted by the agent.") alMatrixTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 17, 4)) if mibBuilder.loadTexts: alMatrixTopNTable.setDescription("A set of statistics for those application-layer matrix\nentries that have counted the highest number of octets or\npackets.") alMatrixTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 17, 4, 1)).setIndexNames((0, "RMON2-MIB", "alMatrixTopNControlIndex"), (0, "RMON2-MIB", "alMatrixTopNIndex")) if mibBuilder.loadTexts: alMatrixTopNEntry.setDescription("A conceptual row in the alMatrixTopNTable.\n\nThe alMatrixTopNControlIndex value in the index identifies\nthe alMatrixTopNControlEntry on whose behalf this entry was\ncreated.\n\n\n\nAn example of the indexing of this table is\nalMatrixTopNPktRate.3.10") alMatrixTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: alMatrixTopNIndex.setDescription("An index that uniquely identifies an entry in\nthe alMatrixTopNTable among those in the same report.\n\nThis index is between 1 and N, where N is the\nnumber of entries in this report.\n\nIf the value of alMatrixTopNControlRateBase is equal to\nalMatrixTopNTerminalsPkts or alMatrixTopNAllPkts, increasing\nvalues of alMatrixTopNIndex shall be assigned to entries with\ndecreasing values of alMatrixTopNPktRate until index N is\nassigned or there are no more alMatrixTopNEntries.\n\nIf the value of alMatrixTopNControlRateBase is equal to\nalMatrixTopNTerminalsOctets or alMatrixTopNAllOctets,\nincreasing values of alMatrixTopNIndex shall be assigned to\nentries with decreasing values of alMatrixTopNOctetRate until\nindex N is assigned or there are no more alMatrixTopNEntries.") alMatrixTopNProtocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNProtocolDirLocalIndex.setDescription("The protocolDirLocalIndex of the network-layer protocol of\nthis entry's network address.") alMatrixTopNSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNSourceAddress.setDescription("The network-layer address of the source host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated alMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the alMatrixTopNProtocolDirLocalIndex\nindicates an encapsulation of IP, this object is encoded as a\nlength octet of 4, followed by the 4 octets of the IP address,\nin network byte order.") alMatrixTopNDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNDestAddress.setDescription("The network-layer address of the destination host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated alMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the alMatrixTopNProtocolDirLocalIndex\nindicates an encapsulation of IP, this object is encoded as a\nlength octet of 4, followed by the 4 octets of the IP address,\nin network byte order.") alMatrixTopNAppProtocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNAppProtocolDirLocalIndex.setDescription("The type of the protocol counted by this matrix entry.") alMatrixTopNPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNPktRate.setDescription("The number of packets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ncounted using the rules for counting the alMatrixSDPkts\nobject.\n\nIf the value of alMatrixTopNControlRateBase is\nalMatrixTopNTerminalsPkts or alMatrixTopNAllPkts, this\nvariable will be used to sort this report.") alMatrixTopNReversePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNReversePktRate.setDescription("The number of packets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, counted using the rules for counting the\nalMatrixDSPkts object. (Note that the corresponding\nalMatrixSDPkts object selected is the one whose source address\nis equal to alMatrixTopNDestAddress and whose destination\naddress is equal to alMatrixTopNSourceAddress.)\n\nNote that if the value of alMatrixTopNControlRateBase is equal\nto alMatrixTopNTerminalsPkts or alMatrixTopNAllPkts, the sort\nof topN entries is based entirely on alMatrixTopNPktRate, and\nnot on the value of this object.") alMatrixTopNOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNOctetRate.setDescription("The number of octets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ncounted using the rules for counting the alMatrixSDOctets\nobject.\n\nIf the value of alMatrixTopNControlRateBase is\nalMatrixTopNTerminalsOctets or alMatrixTopNAllOctets, this\nvariable will be used to sort this report.") alMatrixTopNReverseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 4, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNReverseOctetRate.setDescription("The number of octets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, counted using the rules for counting the\nalMatrixDSOctets object. (Note that the corresponding\nalMatrixSDOctets object selected is the one whose source\naddress is equal to alMatrixTopNDestAddress and whose\ndestination address is equal to alMatrixTopNSourceAddress.)\n\nNote that if the value of alMatrixTopNControlRateBase is equal\nto alMatrixTopNTerminalsOctets or alMatrixTopNAllOctets, the\nsort of topN entries is based entirely on\nalMatrixTopNOctetRate, and not on the value of this object.") usrHistory = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 18)) usrHistoryControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 18, 1)) if mibBuilder.loadTexts: usrHistoryControlTable.setDescription("A list of data-collection configuration entries.") usrHistoryControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 18, 1, 1)).setIndexNames((0, "RMON2-MIB", "usrHistoryControlIndex")) if mibBuilder.loadTexts: usrHistoryControlEntry.setDescription("A list of parameters that set up a group of user-defined\nMIB objects to be sampled periodically (called a\nbucket-group).\n\nFor example, an instance of usrHistoryControlInterval\nmight be named usrHistoryControlInterval.1") usrHistoryControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: usrHistoryControlIndex.setDescription("An index that uniquely identifies an entry in the\nusrHistoryControlTable. Each such entry defines a\nset of samples at a particular interval for a specified\nset of MIB instances available from the managed system.") usrHistoryControlObjects = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: usrHistoryControlObjects.setDescription("The number of MIB objects to be collected\nin the portion of usrHistoryTable associated with this\nusrHistoryControlEntry.\n\nThis object may not be modified if the associated instance\nof usrHistoryControlStatus is equal to active(1).") usrHistoryControlBucketsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(50)).setMaxAccess("readcreate") if mibBuilder.loadTexts: usrHistoryControlBucketsRequested.setDescription("The requested number of discrete time intervals\nover which data is to be saved in the part of the\nusrHistoryTable associated with this usrHistoryControlEntry.\n\nWhen this object is created or modified, the probe\nshould set usrHistoryControlBucketsGranted as closely to\nthis object as possible for the particular probe\nimplementation and available resources.") usrHistoryControlBucketsGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: usrHistoryControlBucketsGranted.setDescription("The number of discrete sampling intervals\nover which data shall be saved in the part of\nthe usrHistoryTable associated with this\nusrHistoryControlEntry.\n\nWhen the associated usrHistoryControlBucketsRequested\nobject is created or modified, the probe should set\nthis object as closely to the requested value as\npossible for the particular probe implementation and\navailable resources. The probe must not lower this\nvalue except as a result of a modification to the associated\nusrHistoryControlBucketsRequested object.\n\nThe associated usrHistoryControlBucketsRequested object\nshould be set before or at the same time as this object\nto allow the probe to accurately estimate the resources\nrequired for this usrHistoryControlEntry.\n\nThere will be times when the actual number of buckets\nassociated with this entry is less than the value of\nthis object. In this case, at the end of each sampling\ninterval, a new bucket will be added to the usrHistoryTable.\n\nWhen the number of buckets reaches the value of this object\nand a new bucket is to be added to the usrHistoryTable,\nthe oldest bucket associated with this usrHistoryControlEntry\nshall be deleted by the agent so that the new bucket can be\nadded.\n\nWhen the value of this object changes to a value less than\nthe current value, entries are deleted from the\nusrHistoryTable associated with this usrHistoryControlEntry.\nEnough of the oldest of these entries shall be deleted by the\nagent so that their number remains less than or equal to the\nnew value of this object.\n\nWhen the value of this object changes to a value greater\nthan the current value, the number of associated usrHistory\nentries may be allowed to grow.") usrHistoryControlInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(1800)).setMaxAccess("readcreate") if mibBuilder.loadTexts: usrHistoryControlInterval.setDescription("The interval in seconds over which the data is\nsampled for each bucket in the part of the usrHistory\ntable associated with this usrHistoryControlEntry.\n\nBecause the counters in a bucket may overflow at their\nmaximum value with no indication, a prudent manager will\ntake into account the possibility of overflow in any of\nthe associated counters. It is important to consider the\nminimum time in which any counter could overflow on a\nparticular media type and to set the usrHistoryControlInterval\nobject to a value less than this interval.\n\nThis object may not be modified if the associated\nusrHistoryControlStatus object is equal to active(1).") usrHistoryControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 1, 1, 6), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: usrHistoryControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") usrHistoryControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 1, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: usrHistoryControlStatus.setDescription("The status of this variable history control entry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the usrHistoryTable shall be deleted.") usrHistoryObjectTable = MibTable((1, 3, 6, 1, 2, 1, 16, 18, 2)) if mibBuilder.loadTexts: usrHistoryObjectTable.setDescription("A list of data-collection configuration entries.") usrHistoryObjectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 18, 2, 1)).setIndexNames((0, "RMON2-MIB", "usrHistoryControlIndex"), (0, "RMON2-MIB", "usrHistoryObjectIndex")) if mibBuilder.loadTexts: usrHistoryObjectEntry.setDescription("A list of MIB instances to be sampled periodically.\n\nEntries in this table are created when an associated\nusrHistoryControlObjects object is created.\n\nThe usrHistoryControlIndex value in the index is\nthat of the associated usrHistoryControlEntry.\n\nFor example, an instance of usrHistoryObjectVariable might be\nusrHistoryObjectVariable.1.3") usrHistoryObjectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: usrHistoryObjectIndex.setDescription("An index used to uniquely identify an entry in the\nusrHistoryObject table. Each such entry defines a\nMIB instance to be collected periodically.") usrHistoryObjectVariable = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: usrHistoryObjectVariable.setDescription("The object identifier of the particular variable to be\n\n\n\nsampled.\n\nOnly variables that resolve to an ASN.1 primitive type of\nInteger32 (Integer32, Counter, Gauge, or TimeTicks) may be\nsampled.\n\nBecause SNMP access control is articulated entirely in terms\nof the contents of MIB views, no access control mechanism\nexists that can restrict the value of this object to identify\nonly those objects that exist in a particular MIB view.\nBecause there is thus no acceptable means of restricting the\nread access that could be obtained through the user history\nmechanism, the probe must only grant write access to this\nobject in those views that have read access to all objects on\nthe probe. See USM [RFC3414] and VACM [RFC3415] for more\ninformation.\n\nDuring a set operation, if the supplied variable name is not\navailable in the selected MIB view, a badValue error must be\nreturned.\n\nThis object may not be modified if the associated\nusrHistoryControlStatus object is equal to active(1).") usrHistoryObjectSampleType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("absoluteValue", 1), ("deltaValue", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: usrHistoryObjectSampleType.setDescription("The method of sampling the selected variable for storage in\nthe usrHistoryTable.\n\nIf the value of this object is absoluteValue(1), the value of\nthe selected variable will be copied directly into the history\nbucket.\n\nIf the value of this object is deltaValue(2), the value of the\nselected variable at the last sample will be subtracted from\nthe current value, and the difference will be stored in the\nhistory bucket. If the associated usrHistoryObjectVariable\ninstance could not be obtained at the previous sample\ninterval, then a delta sample is not possible, and the value\nof the associated usrHistoryValStatus object for this interval\nwill be valueNotAvailable(1).\n\n\n\nThis object may not be modified if the associated\nusrHistoryControlStatus object is equal to active(1).") usrHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 16, 18, 3)) if mibBuilder.loadTexts: usrHistoryTable.setDescription("A list of user-defined history entries.") usrHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 18, 3, 1)).setIndexNames((0, "RMON2-MIB", "usrHistoryControlIndex"), (0, "RMON2-MIB", "usrHistorySampleIndex"), (0, "RMON2-MIB", "usrHistoryObjectIndex")) if mibBuilder.loadTexts: usrHistoryEntry.setDescription("A historical sample of user-defined variables. This sample\nis associated with the usrHistoryControlEntry that set up the\nparameters for a regular collection of these samples.\n\nThe usrHistoryControlIndex value in the index identifies the\nusrHistoryControlEntry on whose behalf this entry was created.\nThe usrHistoryObjectIndex value in the index identifies the\nusrHistoryObjectEntry on whose behalf this entry was created.\n\nFor example, an instance of usrHistoryAbsValue, which represents\nthe 14th sample of a variable collected as specified by\nusrHistoryControlEntry.1 and usrHistoryObjectEntry.1.5,\nwould be named usrHistoryAbsValue.1.14.5") usrHistorySampleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: usrHistorySampleIndex.setDescription("An index that uniquely identifies the particular sample this\nentry represents among all samples associated with the same\nusrHistoryControlEntry. This index starts at 1 and increases\nby one as each new sample is taken.") usrHistoryIntervalStart = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 3, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: usrHistoryIntervalStart.setDescription("The value of sysUpTime at the start of the interval over\nwhich this sample was measured. If the probe keeps track of\nthe time of day, it should start the first sample of the\nhistory at a time such that when the next hour of the day\nbegins, a sample is started at that instant.\n\nNote that following this rule may require that the probe delay\ncollecting the first sample of the history, as each sample\nmust be of the same interval. Also note that the sample that\nis currently being collected is not accessible in this table\nuntil the end of its interval.") usrHistoryIntervalEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 3, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: usrHistoryIntervalEnd.setDescription("The value of sysUpTime at the end of the interval over which\nthis sample was measured.") usrHistoryAbsValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 3, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: usrHistoryAbsValue.setDescription("The absolute value (i.e., unsigned value) of the\nuser-specified statistic during the last sampling period. The\nvalue during the current sampling period is not made available\nuntil the period is completed.\n\nTo obtain the true value for this sampling interval, the\nassociated instance of usrHistoryValStatus must be checked,\nand usrHistoryAbsValue adjusted as necessary.\n\n\n\n\nIf the MIB instance could not be accessed during the sampling\ninterval, then this object will have a value of zero, and the\nassociated instance of usrHistoryValStatus will be set to\n'valueNotAvailable(1)'.\n\nThe access control check prescribed in the definition of\nusrHistoryObjectVariable SHOULD be checked for each sampling\ninterval. If this check determines that access should not be\nallowed, then this object will have a value of zero, and the\nassociated instance of usrHistoryValStatus will be set to\n'valueNotAvailable(1)'.") usrHistoryValStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("valueNotAvailable", 1), ("valuePositive", 2), ("valueNegative", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: usrHistoryValStatus.setDescription("This object indicates the validity and sign of the data in\nthe associated instance of usrHistoryAbsValue.\n\nIf the MIB instance could not be accessed during the sampling\ninterval, then 'valueNotAvailable(1)' will be returned.\n\nIf the sample is valid and the actual value of the sample is\ngreater than or equal to zero, then 'valuePositive(2)' is\nreturned.\n\nIf the sample is valid and the actual value of the sample is\nless than zero, 'valueNegative(3)' will be returned. The\nassociated instance of usrHistoryAbsValue should be multiplied\nby -1 to obtain the true sample value.") probeConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 19)) probeCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 1), Bits().subtype(namedValues=NamedValues(("etherStats", 0), ("historyControl", 1), ("tokenRingMLStats", 10), ("tokenRingPStats", 11), ("tokenRingMLHistory", 12), ("tokenRingPHistory", 13), ("ringStation", 14), ("ringStationOrder", 15), ("ringStationConfig", 16), ("sourceRouting", 17), ("protocolDirectory", 18), ("protocolDistribution", 19), ("etherHistory", 2), ("addressMapping", 20), ("nlHost", 21), ("nlMatrix", 22), ("alHost", 23), ("alMatrix", 24), ("usrHistory", 25), ("probeConfig", 26), ("alarm", 3), ("hosts", 4), ("hostTopN", 5), ("matrix", 6), ("filter", 7), ("capture", 8), ("event", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: probeCapabilities.setDescription("An indication of the RMON MIB groups supported\non at least one interface by this probe.") probeSoftwareRev = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: probeSoftwareRev.setDescription("The software revision of this device. This string will have\na zero length if the revision is unknown.") probeHardwareRev = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: probeHardwareRev.setDescription("The hardware revision of this device. This string will have\na zero length if the revision is unknown.") probeDateTime = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 4), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),ValueSizeConstraint(11,11),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: probeDateTime.setDescription("Probe's current date and time.\n\nfield octets contents range\n----- ------ -------- -----\n 1 1-2 year 0..65536\n 2 3 month 1..12\n 3 4 day 1..31\n 4 5 hour 0..23\n 5 6 minutes 0..59\n 6 7 seconds 0..60\n (use 60 for leap-second)\n 7 8 deci-seconds 0..9\n 8 9 direction from UTC '+' / '-'\n 9 10 hours from UTC 0..11\n 10 11 minutes from UTC 0..59\n\nFor example, Tuesday May 26, 1992 at 1:30:15 PM\nEDT would be displayed as:\n\n 1992-5-26,13:30:15.0,-4:0\n\nNote that if only local time is known, then\ntime zone information (fields 8-10) is not\npresent, and that if no time information is known, the\nnull string is returned.") probeResetControl = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("running", 1), ("warmBoot", 2), ("coldBoot", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: probeResetControl.setDescription("Setting this object to warmBoot(2) causes the device to\nrestart the application software with current configuration\nparameters saved in non-volatile memory. Setting this\nobject to coldBoot(3) causes the device to reinitialize\nconfiguration parameters in non-volatile memory to default\nvalues and to restart the application software. When the device\nis running normally, this variable has a value of\nrunning(1).") probeDownloadFile = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: probeDownloadFile.setDescription("The file name to be downloaded from the TFTP server when a\ndownload is next requested via this MIB. This value is set to\nthe zero-length string when no file name has been specified.\n\nThis object has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability to\nmeet the requirements of a Draft Standard.") probeDownloadTFTPServer = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 7), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: probeDownloadTFTPServer.setDescription("The IP address of the TFTP server that contains the boot\nimage to load when a download is next requested via this MIB.\nThis value is set to '0.0.0.0' when no IP address has been\n\n\n\nspecified.\n\nThis object has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability to\nmeet the requirements of a Draft Standard.") probeDownloadAction = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("notDownloading", 1), ("downloadToPROM", 2), ("downloadToRAM", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: probeDownloadAction.setDescription("When this object is set to downloadToRAM(3) or\ndownloadToPROM(2), the device will discontinue its\nnormal operation and begin download of the image specified\nby probeDownloadFile from the server specified by\nprobeDownloadTFTPServer using the TFTP protocol. If\ndownloadToRAM(3) is specified, the new image is copied\nto RAM only (the old image remains unaltered in the flash\nEPROM). If downloadToPROM(2) is specified,\nthe new image is written to the flash EPROM\nmemory after its checksum has been verified to be correct.\nWhen the download process is completed, the device will\nwarm boot to restart the newly loaded application.\nWhen the device is not downloading, this object will have\na value of notDownloading(1).\n\nThis object has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability to\nmeet the requirements of a Draft Standard.") probeDownloadStatus = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,2,8,6,5,1,7,)).subtype(namedValues=NamedValues(("downloadSuccess", 1), ("downloadStatusUnknown", 2), ("downloadGeneralError", 3), ("downloadNoResponseFromServer", 4), ("downloadChecksumError", 5), ("downloadIncompatibleImage", 6), ("downloadTftpFileNotFound", 7), ("downloadTftpAccessViolation", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: probeDownloadStatus.setDescription("The status of the last download procedure, if any. This\nobject will have a value of downloadStatusUnknown(2) if no\ndownload process has been performed.\n\nThis object has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability to\nmeet the requirements of a Draft Standard.") serialConfigTable = MibTable((1, 3, 6, 1, 2, 1, 16, 19, 10)) if mibBuilder.loadTexts: serialConfigTable.setDescription("A table of serial interface configuration entries. This data\nwill be stored in non-volatile memory and preserved across\nprobe resets or power loss.\n\nThis table has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability to\nmeet the requirements of a Draft Standard.") serialConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 19, 10, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: serialConfigEntry.setDescription("A set of configuration parameters for a particular\nserial interface on this device. If the device has no serial\ninterfaces, this table is empty.\n\nThe index is composed of the ifIndex assigned to this serial\nline interface.") serialMode = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("direct", 1), ("modem", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialMode.setDescription("The type of incoming connection to be expected on this\nserial interface.") serialProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("slip", 2), ("ppp", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialProtocol.setDescription("The type of data link encapsulation to be used on this\nserial interface.") serialTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(300)).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialTimeout.setDescription("This timeout value is used when the Management Station has\ninitiated the conversation over the serial link. This variable\nrepresents the number of seconds of inactivity allowed before\nterminating the connection on this serial interface. Use the\nserialDialoutTimeout in the case where the probe has initiated\nthe connection for the purpose of sending a trap.") serialModemInitString = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 4), ControlString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialModemInitString.setDescription("A control string that controls how a modem attached to this\nserial interface should be initialized. The initialization\nis performed once during startup and again after each\nconnection is terminated if the associated serialMode has the\nvalue of modem(2).\n\nA control string that is appropriate for a wide variety of\nmodems is: '^s^MATE0Q0V1X4 S0=1 S2=43^M'.") serialModemHangUpString = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 5), ControlString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialModemHangUpString.setDescription("A control string that specifies how to disconnect a modem\nconnection on this serial interface. This object is only\nmeaningful if the associated serialMode has the value\nof modem(2).\n\nA control string that is appropriate for a wide variety of\nmodems is: '^d2^s+++^d2^sATH0^M^d2'.") serialModemConnectResp = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialModemConnectResp.setDescription("An ASCII string containing substrings that describe the\nexpected modem connection response code and associated bps\nrate. The substrings are delimited by the first character\nin the string, for example:\n /CONNECT/300/CONNECT 1200/1200/CONNECT 2400/2400/\n CONNECT 4800/4800/CONNECT 9600/9600\nwill be interpreted as:\n response code bps rate\n CONNECT 300\n CONNECT 1200 1200\n CONNECT 2400 2400\n CONNECT 4800 4800\n CONNECT 9600 9600\nThe agent will use the information in this string to adjust\nthe bps rate of this serial interface once a modem connection\nis established.\n\nA value that is appropriate for a wide variety of modems is:\n\n\n\n'/CONNECT/300/CONNECT 1200/1200/CONNECT 2400/2400/\n CONNECT 4800/4800/CONNECT 9600/9600/CONNECT 14400/14400/\nCONNECT 19200/19200/CONNECT 38400/38400/'.") serialModemNoConnectResp = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialModemNoConnectResp.setDescription("An ASCII string containing response codes that may be\ngenerated by a modem to report the reason why a connection\nattempt has failed. The response codes are delimited by\nthe first character in the string, for example:\n /NO CARRIER/BUSY/NO DIALTONE/NO ANSWER/ERROR/\n\nIf one of these response codes is received via this serial\ninterface while attempting to make a modem connection,\nthe agent will issue the hang up command as specified by\nserialModemHangUpString.\n\nA value that is appropriate for a wide variety of modems is:\n'/NO CARRIER/BUSY/NO DIALTONE/NO ANSWER/ERROR/'.") serialDialoutTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialDialoutTimeout.setDescription("This timeout value is used when the probe initiates the\nserial connection with the intention of contacting a\nmanagement station. This variable represents the number\nof seconds of inactivity allowed before terminating the\nconnection on this serial interface.") serialStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 10, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialStatus.setDescription("The status of this serialConfigEntry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.") netConfigTable = MibTable((1, 3, 6, 1, 2, 1, 16, 19, 11)) if mibBuilder.loadTexts: netConfigTable.setDescription("A table of netConfigEntries.\n\nThis table has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability to\nmeet the requirements of a Draft Standard.") netConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 19, 11, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: netConfigEntry.setDescription("A set of configuration parameters for a particular\nnetwork interface on this device. If the device has no network\ninterface, this table is empty.\n\nThe index is composed of the ifIndex assigned to the\ncorresponding interface.") netConfigIPAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 11, 1, 1), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: netConfigIPAddress.setDescription("The IP address of this Net interface. The default value\nfor this object is 0.0.0.0. If either the netConfigIPAddress\nor netConfigSubnetMask is 0.0.0.0, then when the device\nboots, it may use BOOTP to try to figure out what these\nvalues should be. If BOOTP fails before the device\ncan talk on the network, this value must be configured\n(e.g., through a terminal attached to the device). If BOOTP is\nused, care should be taken to not send BOOTP broadcasts too\nfrequently and to eventually send them very infrequently if no\nreplies are received.") netConfigSubnetMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 11, 1, 2), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: netConfigSubnetMask.setDescription("The subnet mask of this Net interface. The default value\nfor this object is 0.0.0.0. If either the netConfigIPAddress\nor netConfigSubnetMask is 0.0.0.0, then when the device\nboots, it may use BOOTP to try to figure out what these\nvalues should be. If BOOTP fails before the device\ncan talk on the network, this value must be configured\n(e.g., through a terminal attached to the device). If BOOTP is\nused, care should be taken to not send BOOTP broadcasts too\nfrequently and to eventually send them very infrequently if no\nreplies are received.") netConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 11, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: netConfigStatus.setDescription("The status of this netConfigEntry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.") netDefaultGateway = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netDefaultGateway.setDescription("The IP Address of the default gateway. If this value is\nundefined or unknown, it shall have the value 0.0.0.0.") trapDestTable = MibTable((1, 3, 6, 1, 2, 1, 16, 19, 13)) if mibBuilder.loadTexts: trapDestTable.setDescription("A list of trap destination entries.") trapDestEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 19, 13, 1)).setIndexNames((0, "RMON2-MIB", "trapDestIndex")) if mibBuilder.loadTexts: trapDestEntry.setDescription("This entry includes a destination IP address to which\ntraps are sent for this community.") trapDestIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: trapDestIndex.setDescription("A value that uniquely identifies this trapDestEntry.") trapDestCommunity = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 13, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestCommunity.setDescription("A community to which this destination address belongs.\nThis entry is associated with any eventEntries in the RMON\nMIB whose value of eventCommunity is equal to the value of\nthis object. Every time an associated event entry sends a\ntrap due to an event, that trap will be sent to each\n\n\n\naddress in the trapDestTable with a trapDestCommunity equal\nto eventCommunity, as long as no access control mechanism\nprecludes it (e.g., VACM).\n\nThis object may not be modified if the associated\ntrapDestStatus object is equal to active(1).") trapDestProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 13, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ip", 1), ("ipx", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestProtocol.setDescription("The protocol with which this trap is to be sent.") trapDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 13, 1, 4), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestAddress.setDescription("The destination address for traps on behalf of this entry.\n\nIf the associated trapDestProtocol object is equal to ip(1),\nthe encoding of this object is the same as the snmpUDPAddress\ntextual convention in RFC 3417, 'Transport Mappings for the\n Simple Network Management Protocol (SNMP)' [RFC3417]:\n -- for a SnmpUDPAddress of length 6:\n --\n -- octets contents encoding\n -- 1-4 IP-address network-byte order\n -- 5-6 UDP-port network-byte order\n\nIf the associated trapDestProtocol object is equal to ipx(2),\nthe encoding of this object is the same as the snmpIPXAddress\ntextual convention in RFC 3417, 'Transport Mappings for the\n Simple Network Management Protocol (SNMP)' [RFC3417]:\n -- for a SnmpIPXAddress of length 12:\n --\n -- octets contents encoding\n -- 1-4 network-number network-byte order\n -- 5-10 physical-address network-byte order\n -- 11-12 socket-number network-byte order\n\nThis object may not be modified if the associated\n\n\n\ntrapDestStatus object is equal to active(1).") trapDestOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 13, 1, 5), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") trapDestStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 13, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: trapDestStatus.setDescription("The status of this trap destination entry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.") serialConnectionTable = MibTable((1, 3, 6, 1, 2, 1, 16, 19, 14)) if mibBuilder.loadTexts: serialConnectionTable.setDescription("A list of serialConnectionEntries.\n\nThis table has been deprecated, as it has not had enough\nindependent implementations to demonstrate interoperability\nto meet the requirements of a Draft Standard.") serialConnectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 19, 14, 1)).setIndexNames((0, "RMON2-MIB", "serialConnectIndex")) if mibBuilder.loadTexts: serialConnectionEntry.setDescription("Configuration for a SLIP link over a serial line.") serialConnectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: serialConnectIndex.setDescription("A value that uniquely identifies this serialConnection\nentry.") serialConnectDestIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 2), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectDestIpAddress.setDescription("The IP Address that can be reached at the other end of this\nserial connection.\n\nThis object may not be modified if the associated\nserialConnectStatus object is equal to active(1).") serialConnectType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,2,1,)).subtype(namedValues=NamedValues(("direct", 1), ("modem", 2), ("switch", 3), ("modemSwitch", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectType.setDescription("The type of outgoing connection to be made. If this object\nhas the value direct(1), then a direct serial connection\nis assumed. If this object has the value modem(2),\nthen serialConnectDialString will be used to make a modem\nconnection. If this object has the value switch(3),\nthen serialConnectSwitchConnectSeq will be used to establish\nthe connection over a serial data switch, and\nserialConnectSwitchDisconnectSeq will be used to terminate\nthe connection. If this object has the value\nmodem-switch(4), then a modem connection will be made first,\nfollowed by the switch connection.\n\nThis object may not be modified if the associated\nserialConnectStatus object is equal to active(1).") serialConnectDialString = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 4), ControlString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectDialString.setDescription("A control string that specifies how to dial the phone\nnumber in order to establish a modem connection. The\nstring should include the dialing prefix and suffix. For\nexample: '^s^MATD9,888-1234^M' will instruct the Probe\nto send a carriage return, followed by the dialing prefix\n'ATD', the phone number '9,888-1234', and a carriage\nreturn as the dialing suffix.\n\nThis object may not be modified if the associated\nserialConnectStatus object is equal to active(1).") serialConnectSwitchConnectSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 5), ControlString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectSwitchConnectSeq.setDescription("A control string that specifies how to establish a\ndata switch connection.\n\nThis object may not be modified if the associated\nserialConnectStatus object is equal to active(1).") serialConnectSwitchDisconnectSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 6), ControlString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectSwitchDisconnectSeq.setDescription("A control string that specifies how to terminate a\ndata switch connection.\n\nThis object may not be modified if the associated\nserialConnectStatus object is equal to active(1).") serialConnectSwitchResetSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 7), ControlString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectSwitchResetSeq.setDescription("A control string that specifies how to reset a data\nswitch in the event of a timeout.\n\nThis object may not be modified if the associated\nserialConnectStatus object is equal to active(1).") serialConnectOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 8), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") serialConnectStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 19, 14, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: serialConnectStatus.setDescription("The status of this serialConnectionEntry.\n\nIf the manager attempts to set this object to active(1) when\nthe serialConnectType is set to modem(2) or modem-switch(4)\nand the serialConnectDialString is a zero-length string or\ncannot be correctly parsed as a ConnectString, the set\nrequest will be rejected with badValue(3).\n\nIf the manager attempts to set this object to active(1) when\nthe serialConnectType is set to switch(3) or modem-switch(4)\nand the serialConnectSwitchConnectSeq,\nthe serialConnectSwitchDisconnectSeq, or\n\n\n\nthe serialConnectSwitchResetSeq is a zero-length string\nor cannot be correctly parsed as a ConnectString, the set\nrequest will be rejected with badValue(3).\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.") rmonConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20)) rmon2MIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 1)) rmon2MIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 2)) # Augmentions sourceRoutingStatsEntry, = mibBuilder.importSymbols("TOKEN-RING-RMON-MIB", "sourceRoutingStatsEntry") sourceRoutingStatsEntry.registerAugmentions(("RMON2-MIB", "sourceRoutingStats2Entry")) sourceRoutingStats2Entry.setIndexNames(*sourceRoutingStatsEntry.getIndexNames()) historyControlEntry, = mibBuilder.importSymbols("RMON-MIB", "historyControlEntry") historyControlEntry.registerAugmentions(("RMON2-MIB", "historyControl2Entry")) historyControl2Entry.setIndexNames(*historyControlEntry.getIndexNames()) ringStationControlEntry, = mibBuilder.importSymbols("TOKEN-RING-RMON-MIB", "ringStationControlEntry") ringStationControlEntry.registerAugmentions(("RMON2-MIB", "ringStationControl2Entry")) ringStationControl2Entry.setIndexNames(*ringStationControlEntry.getIndexNames()) filterEntry, = mibBuilder.importSymbols("RMON-MIB", "filterEntry") filterEntry.registerAugmentions(("RMON2-MIB", "filter2Entry")) filter2Entry.setIndexNames(*filterEntry.getIndexNames()) matrixControlEntry, = mibBuilder.importSymbols("RMON-MIB", "matrixControlEntry") matrixControlEntry.registerAugmentions(("RMON2-MIB", "matrixControl2Entry")) matrixControl2Entry.setIndexNames(*matrixControlEntry.getIndexNames()) hostControlEntry, = mibBuilder.importSymbols("RMON-MIB", "hostControlEntry") hostControlEntry.registerAugmentions(("RMON2-MIB", "hostControl2Entry")) hostControl2Entry.setIndexNames(*hostControlEntry.getIndexNames()) tokenRingMLStatsEntry, = mibBuilder.importSymbols("TOKEN-RING-RMON-MIB", "tokenRingMLStatsEntry") tokenRingMLStatsEntry.registerAugmentions(("RMON2-MIB", "tokenRingMLStats2Entry")) tokenRingMLStats2Entry.setIndexNames(*tokenRingMLStatsEntry.getIndexNames()) tokenRingPStatsEntry, = mibBuilder.importSymbols("TOKEN-RING-RMON-MIB", "tokenRingPStatsEntry") tokenRingPStatsEntry.registerAugmentions(("RMON2-MIB", "tokenRingPStats2Entry")) tokenRingPStats2Entry.setIndexNames(*tokenRingPStatsEntry.getIndexNames()) etherStatsEntry, = mibBuilder.importSymbols("RMON-MIB", "etherStatsEntry") etherStatsEntry.registerAugmentions(("RMON2-MIB", "etherStats2Entry")) etherStats2Entry.setIndexNames(*etherStatsEntry.getIndexNames()) channelEntry, = mibBuilder.importSymbols("RMON-MIB", "channelEntry") channelEntry.registerAugmentions(("RMON2-MIB", "channel2Entry")) channel2Entry.setIndexNames(*channelEntry.getIndexNames()) # Groups protocolDirectoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 1)).setObjects(*(("RMON2-MIB", "protocolDirLastChange"), ("RMON2-MIB", "protocolDirDescr"), ("RMON2-MIB", "protocolDirStatus"), ("RMON2-MIB", "protocolDirAddressMapConfig"), ("RMON2-MIB", "protocolDirHostConfig"), ("RMON2-MIB", "protocolDirOwner"), ("RMON2-MIB", "protocolDirMatrixConfig"), ("RMON2-MIB", "protocolDirType"), ("RMON2-MIB", "protocolDirLocalIndex"), ) ) if mibBuilder.loadTexts: protocolDirectoryGroup.setDescription("Lists the inventory of protocols the probe has the\ncapability of monitoring and allows the addition, deletion,\nand configuration of entries in this list.") protocolDistributionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 2)).setObjects(*(("RMON2-MIB", "protocolDistControlDroppedFrames"), ("RMON2-MIB", "protocolDistControlCreateTime"), ("RMON2-MIB", "protocolDistControlStatus"), ("RMON2-MIB", "protocolDistControlDataSource"), ("RMON2-MIB", "protocolDistStatsOctets"), ("RMON2-MIB", "protocolDistStatsPkts"), ("RMON2-MIB", "protocolDistControlOwner"), ) ) if mibBuilder.loadTexts: protocolDistributionGroup.setDescription("Collects the relative amounts of octets and packets for the\ndifferent protocols detected on a network segment.") addressMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 3)).setObjects(*(("RMON2-MIB", "addressMapControlDroppedFrames"), ("RMON2-MIB", "addressMapDeletes"), ("RMON2-MIB", "addressMapInserts"), ("RMON2-MIB", "addressMapControlStatus"), ("RMON2-MIB", "addressMapControlDataSource"), ("RMON2-MIB", "addressMapPhysicalAddress"), ("RMON2-MIB", "addressMapControlOwner"), ("RMON2-MIB", "addressMapMaxDesiredEntries"), ("RMON2-MIB", "addressMapLastChange"), ) ) if mibBuilder.loadTexts: addressMapGroup.setDescription("Lists MAC address to network address bindings discovered by\nthe probe and what interface they were last seen on.") nlHostGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 4)).setObjects(*(("RMON2-MIB", "hlHostControlOwner"), ("RMON2-MIB", "hlHostControlNlMaxDesiredEntries"), ("RMON2-MIB", "hlHostControlNlDeletes"), ("RMON2-MIB", "hlHostControlStatus"), ("RMON2-MIB", "hlHostControlNlDroppedFrames"), ("RMON2-MIB", "nlHostOutOctets"), ("RMON2-MIB", "hlHostControlNlInserts"), ("RMON2-MIB", "nlHostCreateTime"), ("RMON2-MIB", "hlHostControlDataSource"), ("RMON2-MIB", "nlHostInOctets"), ("RMON2-MIB", "nlHostOutPkts"), ("RMON2-MIB", "hlHostControlAlDroppedFrames"), ("RMON2-MIB", "nlHostOutMacNonUnicastPkts"), ("RMON2-MIB", "nlHostInPkts"), ("RMON2-MIB", "hlHostControlAlInserts"), ("RMON2-MIB", "hlHostControlAlDeletes"), ("RMON2-MIB", "hlHostControlAlMaxDesiredEntries"), ) ) if mibBuilder.loadTexts: nlHostGroup.setDescription("Counts the amount of traffic sent from and to each network\naddress discovered by the probe. Note that while the\nhlHostControlTable also has objects that control an optional\nalHostTable, implementation of the alHostTable is not\nrequired to fully implement this group.") nlMatrixGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 5)).setObjects(*(("RMON2-MIB", "nlMatrixDSPkts"), ("RMON2-MIB", "hlMatrixControlNlMaxDesiredEntries"), ("RMON2-MIB", "nlMatrixTopNControlDuration"), ("RMON2-MIB", "nlMatrixTopNControlOwner"), ("RMON2-MIB", "nlMatrixTopNControlMatrixIndex"), ("RMON2-MIB", "nlMatrixTopNControlStatus"), ("RMON2-MIB", "nlMatrixTopNControlRequestedSize"), ("RMON2-MIB", "nlMatrixSDCreateTime"), ("RMON2-MIB", "hlMatrixControlNlDeletes"), ("RMON2-MIB", "hlMatrixControlAlMaxDesiredEntries"), ("RMON2-MIB", "nlMatrixTopNControlStartTime"), ("RMON2-MIB", "hlMatrixControlDataSource"), ("RMON2-MIB", "hlMatrixControlAlDroppedFrames"), ("RMON2-MIB", "hlMatrixControlNlInserts"), ("RMON2-MIB", "hlMatrixControlAlDeletes"), ("RMON2-MIB", "hlMatrixControlNlDroppedFrames"), ("RMON2-MIB", "hlMatrixControlOwner"), ("RMON2-MIB", "nlMatrixTopNControlTimeRemaining"), ("RMON2-MIB", "nlMatrixTopNControlGrantedSize"), ("RMON2-MIB", "nlMatrixSDPkts"), ("RMON2-MIB", "nlMatrixTopNDestAddress"), ("RMON2-MIB", "nlMatrixDSCreateTime"), ("RMON2-MIB", "nlMatrixDSOctets"), ("RMON2-MIB", "nlMatrixTopNReverseOctetRate"), ("RMON2-MIB", "nlMatrixSDOctets"), ("RMON2-MIB", "hlMatrixControlAlInserts"), ("RMON2-MIB", "nlMatrixTopNProtocolDirLocalIndex"), ("RMON2-MIB", "nlMatrixTopNOctetRate"), ("RMON2-MIB", "nlMatrixTopNReversePktRate"), ("RMON2-MIB", "nlMatrixTopNControlGeneratedReports"), ("RMON2-MIB", "nlMatrixTopNControlRateBase"), ("RMON2-MIB", "nlMatrixTopNSourceAddress"), ("RMON2-MIB", "nlMatrixTopNPktRate"), ("RMON2-MIB", "hlMatrixControlStatus"), ) ) if mibBuilder.loadTexts: nlMatrixGroup.setDescription("Counts the amount of traffic sent between each pair of\nnetwork addresses discovered by the probe. Note that while\nthe hlMatrixControlTable also has objects that control\noptional alMatrixTables, implementation of the\nalMatrixTables is not required to fully implement this\ngroup.") alHostGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 6)).setObjects(*(("RMON2-MIB", "alHostOutOctets"), ("RMON2-MIB", "alHostCreateTime"), ("RMON2-MIB", "alHostOutPkts"), ("RMON2-MIB", "alHostInPkts"), ("RMON2-MIB", "alHostInOctets"), ) ) if mibBuilder.loadTexts: alHostGroup.setDescription("Counts the amount of traffic, by protocol, sent from and to\neach network address discovered by the probe. Implementation\nof this group requires implementation of the Network-Layer\nHost Group.") alMatrixGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 7)).setObjects(*(("RMON2-MIB", "alMatrixDSPkts"), ("RMON2-MIB", "alMatrixTopNDestAddress"), ("RMON2-MIB", "alMatrixTopNControlGrantedSize"), ("RMON2-MIB", "alMatrixTopNReversePktRate"), ("RMON2-MIB", "alMatrixDSCreateTime"), ("RMON2-MIB", "alMatrixTopNControlStatus"), ("RMON2-MIB", "alMatrixDSOctets"), ("RMON2-MIB", "alMatrixTopNAppProtocolDirLocalIndex"), ("RMON2-MIB", "alMatrixTopNControlRequestedSize"), ("RMON2-MIB", "alMatrixSDOctets"), ("RMON2-MIB", "alMatrixTopNSourceAddress"), ("RMON2-MIB", "alMatrixTopNControlRateBase"), ("RMON2-MIB", "alMatrixSDPkts"), ("RMON2-MIB", "alMatrixTopNControlOwner"), ("RMON2-MIB", "alMatrixTopNControlDuration"), ("RMON2-MIB", "alMatrixTopNControlMatrixIndex"), ("RMON2-MIB", "alMatrixTopNControlStartTime"), ("RMON2-MIB", "alMatrixTopNReverseOctetRate"), ("RMON2-MIB", "alMatrixSDCreateTime"), ("RMON2-MIB", "alMatrixTopNOctetRate"), ("RMON2-MIB", "alMatrixTopNControlGeneratedReports"), ("RMON2-MIB", "alMatrixTopNPktRate"), ("RMON2-MIB", "alMatrixTopNProtocolDirLocalIndex"), ("RMON2-MIB", "alMatrixTopNControlTimeRemaining"), ) ) if mibBuilder.loadTexts: alMatrixGroup.setDescription("Counts the amount of traffic, by protocol, sent between each\npair of network addresses discovered by the\nprobe. Implementation of this group requires implementation\nof the Network-Layer Matrix Group.") usrHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 8)).setObjects(*(("RMON2-MIB", "usrHistoryObjectVariable"), ("RMON2-MIB", "usrHistoryIntervalStart"), ("RMON2-MIB", "usrHistoryControlInterval"), ("RMON2-MIB", "usrHistoryControlStatus"), ("RMON2-MIB", "usrHistoryAbsValue"), ("RMON2-MIB", "usrHistoryControlBucketsRequested"), ("RMON2-MIB", "usrHistoryObjectSampleType"), ("RMON2-MIB", "usrHistoryControlBucketsGranted"), ("RMON2-MIB", "usrHistoryControlObjects"), ("RMON2-MIB", "usrHistoryValStatus"), ("RMON2-MIB", "usrHistoryIntervalEnd"), ("RMON2-MIB", "usrHistoryControlOwner"), ) ) if mibBuilder.loadTexts: usrHistoryGroup.setDescription("The usrHistoryGroup provides user-defined collection of\nhistorical information from MIB objects on the probe.") probeInformationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 9)).setObjects(*(("RMON2-MIB", "probeDateTime"), ("RMON2-MIB", "probeSoftwareRev"), ("RMON2-MIB", "probeCapabilities"), ("RMON2-MIB", "probeHardwareRev"), ) ) if mibBuilder.loadTexts: probeInformationGroup.setDescription("This group describes various operating parameters of the\nprobe and controls the local time of the probe.") probeConfigurationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 10)).setObjects(*(("RMON2-MIB", "serialStatus"), ("RMON2-MIB", "trapDestCommunity"), ("RMON2-MIB", "netConfigStatus"), ("RMON2-MIB", "serialModemConnectResp"), ("RMON2-MIB", "serialConnectSwitchResetSeq"), ("RMON2-MIB", "serialConnectSwitchDisconnectSeq"), ("RMON2-MIB", "netDefaultGateway"), ("RMON2-MIB", "trapDestAddress"), ("RMON2-MIB", "serialDialoutTimeout"), ("RMON2-MIB", "serialModemInitString"), ("RMON2-MIB", "probeResetControl"), ("RMON2-MIB", "serialMode"), ("RMON2-MIB", "serialConnectStatus"), ("RMON2-MIB", "serialProtocol"), ("RMON2-MIB", "trapDestProtocol"), ("RMON2-MIB", "netConfigIPAddress"), ("RMON2-MIB", "serialConnectOwner"), ("RMON2-MIB", "serialTimeout"), ("RMON2-MIB", "serialModemNoConnectResp"), ("RMON2-MIB", "probeDownloadStatus"), ("RMON2-MIB", "serialModemHangUpString"), ("RMON2-MIB", "trapDestStatus"), ("RMON2-MIB", "probeDownloadAction"), ("RMON2-MIB", "probeDownloadFile"), ("RMON2-MIB", "netConfigSubnetMask"), ("RMON2-MIB", "serialConnectDialString"), ("RMON2-MIB", "serialConnectSwitchConnectSeq"), ("RMON2-MIB", "serialConnectDestIpAddress"), ("RMON2-MIB", "trapDestOwner"), ("RMON2-MIB", "probeDownloadTFTPServer"), ("RMON2-MIB", "serialConnectType"), ) ) if mibBuilder.loadTexts: probeConfigurationGroup.setDescription("This group controls the configuration of various operating\nparameters of the probe. This group is not referenced by any\nMODULE-COMPLIANCE macro because it is 'grandfathered' from\nmore recent MIB review rules that would require it.") rmon1EnhancementGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 11)).setObjects(*(("RMON2-MIB", "matrixControlDroppedFrames"), ("RMON2-MIB", "filterProtocolDirDataLocalIndex"), ("RMON2-MIB", "matrixControlCreateTime"), ("RMON2-MIB", "channelDroppedFrames"), ("RMON2-MIB", "historyControlDroppedFrames"), ("RMON2-MIB", "channelCreateTime"), ("RMON2-MIB", "hostControlDroppedFrames"), ("RMON2-MIB", "filterProtocolDirLocalIndex"), ("RMON2-MIB", "hostControlCreateTime"), ) ) if mibBuilder.loadTexts: rmon1EnhancementGroup.setDescription("This group adds some enhancements to RMON-1 that help\nmanagement stations.") rmon1EthernetEnhancementGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 12)).setObjects(*(("RMON2-MIB", "etherStatsDroppedFrames"), ("RMON2-MIB", "etherStatsCreateTime"), ) ) if mibBuilder.loadTexts: rmon1EthernetEnhancementGroup.setDescription("This group adds some enhancements to RMON-1 that help\nmanagement stations.") rmon1TokenRingEnhancementGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 2, 13)).setObjects(*(("RMON2-MIB", "ringStationControlDroppedFrames"), ("RMON2-MIB", "sourceRoutingStatsDroppedFrames"), ("RMON2-MIB", "tokenRingPStatsDroppedFrames"), ("RMON2-MIB", "tokenRingMLStatsCreateTime"), ("RMON2-MIB", "tokenRingMLStatsDroppedFrames"), ("RMON2-MIB", "ringStationControlCreateTime"), ("RMON2-MIB", "tokenRingPStatsCreateTime"), ("RMON2-MIB", "sourceRoutingStatsCreateTime"), ) ) if mibBuilder.loadTexts: rmon1TokenRingEnhancementGroup.setDescription("This group adds some enhancements to RMON-1 that help\nmanagement stations. This group is not referenced by any\nMODULE-COMPLIANCE macro because it is 'grandfathered' from\nmore recent MIB review rules that would require it.") # Compliances rmon2MIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 1, 1)).setObjects(*(("RMON2-MIB", "probeInformationGroup"), ("RMON2-MIB", "rmon1EthernetEnhancementGroup"), ("RMON2-MIB", "protocolDirectoryGroup"), ("RMON2-MIB", "rmon1EnhancementGroup"), ("RMON2-MIB", "usrHistoryGroup"), ("RMON2-MIB", "protocolDistributionGroup"), ("RMON2-MIB", "addressMapGroup"), ("RMON2-MIB", "nlHostGroup"), ("RMON2-MIB", "nlMatrixGroup"), ) ) if mibBuilder.loadTexts: rmon2MIBCompliance.setDescription("Describes the requirements for conformance to\nthe RMON2 MIB") rmon2MIBApplicationLayerCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 1, 2)).setObjects(*(("RMON2-MIB", "alMatrixGroup"), ("RMON2-MIB", "rmon1EthernetEnhancementGroup"), ("RMON2-MIB", "nlMatrixGroup"), ("RMON2-MIB", "usrHistoryGroup"), ("RMON2-MIB", "probeInformationGroup"), ("RMON2-MIB", "alHostGroup"), ("RMON2-MIB", "protocolDirectoryGroup"), ("RMON2-MIB", "rmon1EnhancementGroup"), ("RMON2-MIB", "addressMapGroup"), ("RMON2-MIB", "protocolDistributionGroup"), ("RMON2-MIB", "nlHostGroup"), ) ) if mibBuilder.loadTexts: rmon2MIBApplicationLayerCompliance.setDescription("Describes the requirements for conformance to\nthe RMON2 MIB with Application-Layer Enhancements.") # Exports # Module identity mibBuilder.exportSymbols("RMON2-MIB", PYSNMP_MODULE_ID=rmon) # Types mibBuilder.exportSymbols("RMON2-MIB", ControlString=ControlString, DataSource=DataSource, LastCreateTime=LastCreateTime, TimeFilter=TimeFilter, ZeroBasedCounter32=ZeroBasedCounter32) # Objects mibBuilder.exportSymbols("RMON2-MIB", rmon=rmon, etherStats2Table=etherStats2Table, etherStats2Entry=etherStats2Entry, etherStatsDroppedFrames=etherStatsDroppedFrames, etherStatsCreateTime=etherStatsCreateTime, tokenRingMLStats2Table=tokenRingMLStats2Table, tokenRingMLStats2Entry=tokenRingMLStats2Entry, tokenRingMLStatsDroppedFrames=tokenRingMLStatsDroppedFrames, tokenRingMLStatsCreateTime=tokenRingMLStatsCreateTime, tokenRingPStats2Table=tokenRingPStats2Table, tokenRingPStats2Entry=tokenRingPStats2Entry, tokenRingPStatsDroppedFrames=tokenRingPStatsDroppedFrames, tokenRingPStatsCreateTime=tokenRingPStatsCreateTime, historyControl2Table=historyControl2Table, historyControl2Entry=historyControl2Entry, historyControlDroppedFrames=historyControlDroppedFrames, hostControl2Table=hostControl2Table, hostControl2Entry=hostControl2Entry, hostControlDroppedFrames=hostControlDroppedFrames, hostControlCreateTime=hostControlCreateTime, matrixControl2Table=matrixControl2Table, matrixControl2Entry=matrixControl2Entry, matrixControlDroppedFrames=matrixControlDroppedFrames, matrixControlCreateTime=matrixControlCreateTime, channel2Table=channel2Table, channel2Entry=channel2Entry, channelDroppedFrames=channelDroppedFrames, channelCreateTime=channelCreateTime, filter2Table=filter2Table, filter2Entry=filter2Entry, filterProtocolDirDataLocalIndex=filterProtocolDirDataLocalIndex, filterProtocolDirLocalIndex=filterProtocolDirLocalIndex, ringStationControl2Table=ringStationControl2Table, ringStationControl2Entry=ringStationControl2Entry, ringStationControlDroppedFrames=ringStationControlDroppedFrames, ringStationControlCreateTime=ringStationControlCreateTime, sourceRoutingStats2Table=sourceRoutingStats2Table, sourceRoutingStats2Entry=sourceRoutingStats2Entry, sourceRoutingStatsDroppedFrames=sourceRoutingStatsDroppedFrames, sourceRoutingStatsCreateTime=sourceRoutingStatsCreateTime, protocolDir=protocolDir, protocolDirLastChange=protocolDirLastChange, protocolDirTable=protocolDirTable, protocolDirEntry=protocolDirEntry, protocolDirID=protocolDirID, protocolDirParameters=protocolDirParameters, protocolDirLocalIndex=protocolDirLocalIndex, protocolDirDescr=protocolDirDescr, protocolDirType=protocolDirType, protocolDirAddressMapConfig=protocolDirAddressMapConfig, protocolDirHostConfig=protocolDirHostConfig, protocolDirMatrixConfig=protocolDirMatrixConfig, protocolDirOwner=protocolDirOwner, protocolDirStatus=protocolDirStatus, protocolDist=protocolDist, protocolDistControlTable=protocolDistControlTable, protocolDistControlEntry=protocolDistControlEntry, protocolDistControlIndex=protocolDistControlIndex, protocolDistControlDataSource=protocolDistControlDataSource, protocolDistControlDroppedFrames=protocolDistControlDroppedFrames, protocolDistControlCreateTime=protocolDistControlCreateTime, protocolDistControlOwner=protocolDistControlOwner, protocolDistControlStatus=protocolDistControlStatus, protocolDistStatsTable=protocolDistStatsTable, protocolDistStatsEntry=protocolDistStatsEntry, protocolDistStatsPkts=protocolDistStatsPkts, protocolDistStatsOctets=protocolDistStatsOctets, addressMap=addressMap, addressMapInserts=addressMapInserts, addressMapDeletes=addressMapDeletes, addressMapMaxDesiredEntries=addressMapMaxDesiredEntries, addressMapControlTable=addressMapControlTable, addressMapControlEntry=addressMapControlEntry, addressMapControlIndex=addressMapControlIndex, addressMapControlDataSource=addressMapControlDataSource, addressMapControlDroppedFrames=addressMapControlDroppedFrames, addressMapControlOwner=addressMapControlOwner, addressMapControlStatus=addressMapControlStatus, addressMapTable=addressMapTable, addressMapEntry=addressMapEntry, addressMapTimeMark=addressMapTimeMark, addressMapNetworkAddress=addressMapNetworkAddress, addressMapSource=addressMapSource, addressMapPhysicalAddress=addressMapPhysicalAddress, addressMapLastChange=addressMapLastChange, nlHost=nlHost, hlHostControlTable=hlHostControlTable, hlHostControlEntry=hlHostControlEntry, hlHostControlIndex=hlHostControlIndex, hlHostControlDataSource=hlHostControlDataSource, hlHostControlNlDroppedFrames=hlHostControlNlDroppedFrames, hlHostControlNlInserts=hlHostControlNlInserts, hlHostControlNlDeletes=hlHostControlNlDeletes, hlHostControlNlMaxDesiredEntries=hlHostControlNlMaxDesiredEntries, hlHostControlAlDroppedFrames=hlHostControlAlDroppedFrames, hlHostControlAlInserts=hlHostControlAlInserts, hlHostControlAlDeletes=hlHostControlAlDeletes, hlHostControlAlMaxDesiredEntries=hlHostControlAlMaxDesiredEntries, hlHostControlOwner=hlHostControlOwner, hlHostControlStatus=hlHostControlStatus, nlHostTable=nlHostTable, nlHostEntry=nlHostEntry, nlHostTimeMark=nlHostTimeMark, nlHostAddress=nlHostAddress, nlHostInPkts=nlHostInPkts, nlHostOutPkts=nlHostOutPkts, nlHostInOctets=nlHostInOctets, nlHostOutOctets=nlHostOutOctets, nlHostOutMacNonUnicastPkts=nlHostOutMacNonUnicastPkts, nlHostCreateTime=nlHostCreateTime, nlMatrix=nlMatrix, hlMatrixControlTable=hlMatrixControlTable, hlMatrixControlEntry=hlMatrixControlEntry, hlMatrixControlIndex=hlMatrixControlIndex, hlMatrixControlDataSource=hlMatrixControlDataSource, hlMatrixControlNlDroppedFrames=hlMatrixControlNlDroppedFrames, hlMatrixControlNlInserts=hlMatrixControlNlInserts, hlMatrixControlNlDeletes=hlMatrixControlNlDeletes, hlMatrixControlNlMaxDesiredEntries=hlMatrixControlNlMaxDesiredEntries, hlMatrixControlAlDroppedFrames=hlMatrixControlAlDroppedFrames, hlMatrixControlAlInserts=hlMatrixControlAlInserts, hlMatrixControlAlDeletes=hlMatrixControlAlDeletes, hlMatrixControlAlMaxDesiredEntries=hlMatrixControlAlMaxDesiredEntries, hlMatrixControlOwner=hlMatrixControlOwner, hlMatrixControlStatus=hlMatrixControlStatus, nlMatrixSDTable=nlMatrixSDTable) mibBuilder.exportSymbols("RMON2-MIB", nlMatrixSDEntry=nlMatrixSDEntry, nlMatrixSDTimeMark=nlMatrixSDTimeMark, nlMatrixSDSourceAddress=nlMatrixSDSourceAddress, nlMatrixSDDestAddress=nlMatrixSDDestAddress, nlMatrixSDPkts=nlMatrixSDPkts, nlMatrixSDOctets=nlMatrixSDOctets, nlMatrixSDCreateTime=nlMatrixSDCreateTime, nlMatrixDSTable=nlMatrixDSTable, nlMatrixDSEntry=nlMatrixDSEntry, nlMatrixDSTimeMark=nlMatrixDSTimeMark, nlMatrixDSSourceAddress=nlMatrixDSSourceAddress, nlMatrixDSDestAddress=nlMatrixDSDestAddress, nlMatrixDSPkts=nlMatrixDSPkts, nlMatrixDSOctets=nlMatrixDSOctets, nlMatrixDSCreateTime=nlMatrixDSCreateTime, nlMatrixTopNControlTable=nlMatrixTopNControlTable, nlMatrixTopNControlEntry=nlMatrixTopNControlEntry, nlMatrixTopNControlIndex=nlMatrixTopNControlIndex, nlMatrixTopNControlMatrixIndex=nlMatrixTopNControlMatrixIndex, nlMatrixTopNControlRateBase=nlMatrixTopNControlRateBase, nlMatrixTopNControlTimeRemaining=nlMatrixTopNControlTimeRemaining, nlMatrixTopNControlGeneratedReports=nlMatrixTopNControlGeneratedReports, nlMatrixTopNControlDuration=nlMatrixTopNControlDuration, nlMatrixTopNControlRequestedSize=nlMatrixTopNControlRequestedSize, nlMatrixTopNControlGrantedSize=nlMatrixTopNControlGrantedSize, nlMatrixTopNControlStartTime=nlMatrixTopNControlStartTime, nlMatrixTopNControlOwner=nlMatrixTopNControlOwner, nlMatrixTopNControlStatus=nlMatrixTopNControlStatus, nlMatrixTopNTable=nlMatrixTopNTable, nlMatrixTopNEntry=nlMatrixTopNEntry, nlMatrixTopNIndex=nlMatrixTopNIndex, nlMatrixTopNProtocolDirLocalIndex=nlMatrixTopNProtocolDirLocalIndex, nlMatrixTopNSourceAddress=nlMatrixTopNSourceAddress, nlMatrixTopNDestAddress=nlMatrixTopNDestAddress, nlMatrixTopNPktRate=nlMatrixTopNPktRate, nlMatrixTopNReversePktRate=nlMatrixTopNReversePktRate, nlMatrixTopNOctetRate=nlMatrixTopNOctetRate, nlMatrixTopNReverseOctetRate=nlMatrixTopNReverseOctetRate, alHost=alHost, alHostTable=alHostTable, alHostEntry=alHostEntry, alHostTimeMark=alHostTimeMark, alHostInPkts=alHostInPkts, alHostOutPkts=alHostOutPkts, alHostInOctets=alHostInOctets, alHostOutOctets=alHostOutOctets, alHostCreateTime=alHostCreateTime, alMatrix=alMatrix, alMatrixSDTable=alMatrixSDTable, alMatrixSDEntry=alMatrixSDEntry, alMatrixSDTimeMark=alMatrixSDTimeMark, alMatrixSDPkts=alMatrixSDPkts, alMatrixSDOctets=alMatrixSDOctets, alMatrixSDCreateTime=alMatrixSDCreateTime, alMatrixDSTable=alMatrixDSTable, alMatrixDSEntry=alMatrixDSEntry, alMatrixDSTimeMark=alMatrixDSTimeMark, alMatrixDSPkts=alMatrixDSPkts, alMatrixDSOctets=alMatrixDSOctets, alMatrixDSCreateTime=alMatrixDSCreateTime, alMatrixTopNControlTable=alMatrixTopNControlTable, alMatrixTopNControlEntry=alMatrixTopNControlEntry, alMatrixTopNControlIndex=alMatrixTopNControlIndex, alMatrixTopNControlMatrixIndex=alMatrixTopNControlMatrixIndex, alMatrixTopNControlRateBase=alMatrixTopNControlRateBase, alMatrixTopNControlTimeRemaining=alMatrixTopNControlTimeRemaining, alMatrixTopNControlGeneratedReports=alMatrixTopNControlGeneratedReports, alMatrixTopNControlDuration=alMatrixTopNControlDuration, alMatrixTopNControlRequestedSize=alMatrixTopNControlRequestedSize, alMatrixTopNControlGrantedSize=alMatrixTopNControlGrantedSize, alMatrixTopNControlStartTime=alMatrixTopNControlStartTime, alMatrixTopNControlOwner=alMatrixTopNControlOwner, alMatrixTopNControlStatus=alMatrixTopNControlStatus, alMatrixTopNTable=alMatrixTopNTable, alMatrixTopNEntry=alMatrixTopNEntry, alMatrixTopNIndex=alMatrixTopNIndex, alMatrixTopNProtocolDirLocalIndex=alMatrixTopNProtocolDirLocalIndex, alMatrixTopNSourceAddress=alMatrixTopNSourceAddress, alMatrixTopNDestAddress=alMatrixTopNDestAddress, alMatrixTopNAppProtocolDirLocalIndex=alMatrixTopNAppProtocolDirLocalIndex, alMatrixTopNPktRate=alMatrixTopNPktRate, alMatrixTopNReversePktRate=alMatrixTopNReversePktRate, alMatrixTopNOctetRate=alMatrixTopNOctetRate, alMatrixTopNReverseOctetRate=alMatrixTopNReverseOctetRate, usrHistory=usrHistory, usrHistoryControlTable=usrHistoryControlTable, usrHistoryControlEntry=usrHistoryControlEntry, usrHistoryControlIndex=usrHistoryControlIndex, usrHistoryControlObjects=usrHistoryControlObjects, usrHistoryControlBucketsRequested=usrHistoryControlBucketsRequested, usrHistoryControlBucketsGranted=usrHistoryControlBucketsGranted, usrHistoryControlInterval=usrHistoryControlInterval, usrHistoryControlOwner=usrHistoryControlOwner, usrHistoryControlStatus=usrHistoryControlStatus, usrHistoryObjectTable=usrHistoryObjectTable, usrHistoryObjectEntry=usrHistoryObjectEntry, usrHistoryObjectIndex=usrHistoryObjectIndex, usrHistoryObjectVariable=usrHistoryObjectVariable, usrHistoryObjectSampleType=usrHistoryObjectSampleType, usrHistoryTable=usrHistoryTable, usrHistoryEntry=usrHistoryEntry, usrHistorySampleIndex=usrHistorySampleIndex, usrHistoryIntervalStart=usrHistoryIntervalStart, usrHistoryIntervalEnd=usrHistoryIntervalEnd, usrHistoryAbsValue=usrHistoryAbsValue, usrHistoryValStatus=usrHistoryValStatus, probeConfig=probeConfig, probeCapabilities=probeCapabilities, probeSoftwareRev=probeSoftwareRev, probeHardwareRev=probeHardwareRev, probeDateTime=probeDateTime, probeResetControl=probeResetControl, probeDownloadFile=probeDownloadFile, probeDownloadTFTPServer=probeDownloadTFTPServer, probeDownloadAction=probeDownloadAction, probeDownloadStatus=probeDownloadStatus, serialConfigTable=serialConfigTable, serialConfigEntry=serialConfigEntry, serialMode=serialMode, serialProtocol=serialProtocol, serialTimeout=serialTimeout, serialModemInitString=serialModemInitString, serialModemHangUpString=serialModemHangUpString, serialModemConnectResp=serialModemConnectResp, serialModemNoConnectResp=serialModemNoConnectResp, serialDialoutTimeout=serialDialoutTimeout, serialStatus=serialStatus) mibBuilder.exportSymbols("RMON2-MIB", netConfigTable=netConfigTable, netConfigEntry=netConfigEntry, netConfigIPAddress=netConfigIPAddress, netConfigSubnetMask=netConfigSubnetMask, netConfigStatus=netConfigStatus, netDefaultGateway=netDefaultGateway, trapDestTable=trapDestTable, trapDestEntry=trapDestEntry, trapDestIndex=trapDestIndex, trapDestCommunity=trapDestCommunity, trapDestProtocol=trapDestProtocol, trapDestAddress=trapDestAddress, trapDestOwner=trapDestOwner, trapDestStatus=trapDestStatus, serialConnectionTable=serialConnectionTable, serialConnectionEntry=serialConnectionEntry, serialConnectIndex=serialConnectIndex, serialConnectDestIpAddress=serialConnectDestIpAddress, serialConnectType=serialConnectType, serialConnectDialString=serialConnectDialString, serialConnectSwitchConnectSeq=serialConnectSwitchConnectSeq, serialConnectSwitchDisconnectSeq=serialConnectSwitchDisconnectSeq, serialConnectSwitchResetSeq=serialConnectSwitchResetSeq, serialConnectOwner=serialConnectOwner, serialConnectStatus=serialConnectStatus, rmonConformance=rmonConformance, rmon2MIBCompliances=rmon2MIBCompliances, rmon2MIBGroups=rmon2MIBGroups) # Groups mibBuilder.exportSymbols("RMON2-MIB", protocolDirectoryGroup=protocolDirectoryGroup, protocolDistributionGroup=protocolDistributionGroup, addressMapGroup=addressMapGroup, nlHostGroup=nlHostGroup, nlMatrixGroup=nlMatrixGroup, alHostGroup=alHostGroup, alMatrixGroup=alMatrixGroup, usrHistoryGroup=usrHistoryGroup, probeInformationGroup=probeInformationGroup, probeConfigurationGroup=probeConfigurationGroup, rmon1EnhancementGroup=rmon1EnhancementGroup, rmon1EthernetEnhancementGroup=rmon1EthernetEnhancementGroup, rmon1TokenRingEnhancementGroup=rmon1TokenRingEnhancementGroup) # Compliances mibBuilder.exportSymbols("RMON2-MIB", rmon2MIBCompliance=rmon2MIBCompliance, rmon2MIBApplicationLayerCompliance=rmon2MIBApplicationLayerCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SOURCE-ROUTING-MIB.py0000644000014400001440000003341411736645140021562 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SOURCE-ROUTING-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:40 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( dot1dBridge, dot1dSr, ) = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBridge", "dot1dSr") ( Bits, Counter32, Gauge32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") # Objects dot1dSrPortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 3, 1)) if mibBuilder.loadTexts: dot1dSrPortTable.setDescription("A table that contains information about every\nport that is associated with this source route\nbridge.") dot1dSrPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 3, 1, 1)).setIndexNames((0, "SOURCE-ROUTING-MIB", "dot1dSrPort")) if mibBuilder.loadTexts: dot1dSrPortEntry.setDescription("A list of information for each port of a source\nroute bridge.") dot1dSrPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPort.setDescription("The port number of the port for which this entry\ncontains Source Route management information.") dot1dSrPortHopCount = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dSrPortHopCount.setDescription("The maximum number of routing descriptors allowed\nin an All Paths or Spanning Tree Explorer frames.") dot1dSrPortLocalSegment = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dSrPortLocalSegment.setDescription("The segment number that uniquely identifies the\nsegment to which this port is connected. Current\nsource routing protocols limit this value to the\nrange: 0 through 4095. (The value 0 is used by\nsome management applications for special test\ncases.) A value of 65535 signifies that no segment\nnumber is assigned to this port.") dot1dSrPortBridgeNum = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dSrPortBridgeNum.setDescription("A bridge number uniquely identifies a bridge when\nmore than one bridge is used to span the same two\nsegments. Current source routing protocols limit\nthis value to the range: 0 through 15. A value of\n65535 signifies that no bridge number is assigned\nto this bridge.") dot1dSrPortTargetSegment = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dSrPortTargetSegment.setDescription("The segment number that corresponds to the target\nsegment this port is considered to be connected to\nby the bridge. Current source routing protocols\nlimit this value to the range: 0 through 4095.\n(The value 0 is used by some management\napplications for special test cases.) A value of\n65535 signifies that no target segment is assigned\nto this port.") dot1dSrPortLargestFrame = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dSrPortLargestFrame.setDescription("The maximum size of the INFO field (LLC and\nabove) that this port can send/receive. It does\nnot include any MAC level (framing) octets. The\nvalue of this object is used by this bridge to\ndetermine whether a modification of the\nLargestFrame (LF, see [14]) field of the Routing\nControl field of the Routing Information Field is\nnecessary.\n\n64 valid values are defined by the IEEE 802.5M SRT\nAddendum: 516, 635, 754, 873, 993, 1112, 1231,\n1350, 1470, 1542, 1615, 1688, 1761, 1833, 1906,\n1979, 2052, 2345, 2638, 2932, 3225, 3518, 3812,\n4105, 4399, 4865, 5331, 5798, 6264, 6730, 7197,\n7663, 8130, 8539, 8949, 9358, 9768, 10178, 10587,\n10997, 11407, 12199, 12992, 13785, 14578, 15370,\n16163, 16956, 17749, 20730, 23711, 26693, 29674,\n32655, 35637, 38618, 41600, 44591, 47583, 50575,\n53567, 56559, 59551, and 65535.\n\nAn illegal value will not be accepted by the\nbridge.") dot1dSrPortSTESpanMode = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("auto-span", 1), ("disabled", 2), ("forced", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dSrPortSTESpanMode.setDescription("Determines how this port behaves when presented\nwith a Spanning Tree Explorer frame. The value\n'disabled(2)' indicates that the port will not\naccept or send Spanning Tree Explorer packets; any\nSTE packets received will be silently discarded.\nThe value 'forced(3)' indicates the port will\nalways accept and propagate Spanning Tree Explorer\nframes. This allows a manually configured\nSpanning Tree for this class of packet to be\nconfigured. Note that unlike transparent\nbridging, this is not catastrophic to the network\nif there are loops. The value 'auto-span(1)' can\nonly be returned by a bridge that both implements\nthe Spanning Tree Protocol and has use of the\nprotocol enabled on this port. The behavior of the\nport for Spanning Tree Explorer frames is\ndetermined by the state of dot1dStpPortState. If\nthe port is in the 'forwarding' state, the frame\nwill be accepted or propagated. Otherwise, it\nwill be silently discarded.") dot1dSrPortSpecInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortSpecInFrames.setDescription("The number of Specifically Routed frames, also\nreferred to as Source Routed Frames, that have\nbeen received from this port's segment.") dot1dSrPortSpecOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortSpecOutFrames.setDescription("The number of Specifically Routed frames, also\nreferred to as Source Routed Frames, that this\nport has transmitted on its segment.") dot1dSrPortApeInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortApeInFrames.setDescription("The number of All Paths Explorer frames, also\nreferred to as All Routes Explorer frames, that\nhave been received by this port from its segment.") dot1dSrPortApeOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortApeOutFrames.setDescription("The number of all Paths Explorer Frames, also\nreferred to as All Routes Explorer frames, that\nhave been transmitted by this port on its\nsegment.") dot1dSrPortSteInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortSteInFrames.setDescription("The number of spanning tree explorer frames that\nhave been received by this port from its segment.") dot1dSrPortSteOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortSteOutFrames.setDescription("The number of spanning tree explorer frames that\nhave been transmitted by this port on its\nsegment.") dot1dSrPortSegmentMismatchDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortSegmentMismatchDiscards.setDescription("The number of explorer frames that have been\ndiscarded by this port because the routing\ndescriptor field contained an invalid adjacent\nsegment value.") dot1dSrPortDuplicateSegmentDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortDuplicateSegmentDiscards.setDescription("The number of frames that have been discarded by\nthis port because the routing descriptor field\ncontained a duplicate segment identifier.") dot1dSrPortHopCountExceededDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortHopCountExceededDiscards.setDescription("The number of explorer frames that have been\ndiscarded by this port because the Routing\nInformation Field has exceeded the maximum route\ndescriptor length.") dot1dSrPortDupLanIdOrTreeErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortDupLanIdOrTreeErrors.setDescription("The number of duplicate LAN IDs or Tree errors.\nThis helps in detection of problems in networks\ncontaining older IBM Source Routing Bridges.") dot1dSrPortLanIdMismatches = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 3, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dSrPortLanIdMismatches.setDescription("The number of ARE and STE frames that were\ndiscarded because the last LAN ID in the routing\ninformation field did not equal the LAN-in ID.\nThis error can occur in implementations which do\nonly a LAN-in ID and Bridge Number check instead\nof a LAN-in ID, Bridge Number, and LAN-out ID\ncheck before they forward broadcast frames.") dot1dSrBridgeLfMode = MibScalar((1, 3, 6, 1, 2, 1, 17, 3, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("mode3", 1), ("mode6", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dSrBridgeLfMode.setDescription("Indicates whether the bridge operates using older\n3 bit length negotiation fields or the newer 6 bit\nlength field in its RIF.") dot1dPortPair = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 10)) dot1dPortPairTableSize = MibScalar((1, 3, 6, 1, 2, 1, 17, 10, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dPortPairTableSize.setDescription("The total number of entries in the Bridge Port\nPair Database.") dot1dPortPairTable = MibTable((1, 3, 6, 1, 2, 1, 17, 10, 2)) if mibBuilder.loadTexts: dot1dPortPairTable.setDescription("A table that contains information about every\nport pair database entity associated with this\nsource routing bridge.") dot1dPortPairEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 10, 2, 1)).setIndexNames((0, "SOURCE-ROUTING-MIB", "dot1dPortPairLowPort"), (0, "SOURCE-ROUTING-MIB", "dot1dPortPairHighPort")) if mibBuilder.loadTexts: dot1dPortPairEntry.setDescription("A list of information for each port pair entity\nof a bridge.") dot1dPortPairLowPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 10, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortPairLowPort.setDescription("The port number of the lower numbered port for\nwhich this entry contains port pair database\ninformation.") dot1dPortPairHighPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 10, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortPairHighPort.setDescription("The port number of the higher numbered port for\nwhich this entry contains port pair database\ninformation.") dot1dPortPairBridgeNum = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 10, 2, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortPairBridgeNum.setDescription("A bridge number that uniquely identifies the path\nprovided by this source routing bridge between the\nsegments connected to dot1dPortPairLowPort and\ndot1dPortPairHighPort. The purpose of bridge\nnumber is to disambiguate between multiple paths\nconnecting the same two LANs.") dot1dPortPairBridgeState = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 10, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("invalid", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortPairBridgeState.setDescription("The state of dot1dPortPairBridgeNum. Writing\n'invalid(3)' to this object removes the\ncorresponding entry.") # Augmentions # Exports # Objects mibBuilder.exportSymbols("SOURCE-ROUTING-MIB", dot1dSrPortTable=dot1dSrPortTable, dot1dSrPortEntry=dot1dSrPortEntry, dot1dSrPort=dot1dSrPort, dot1dSrPortHopCount=dot1dSrPortHopCount, dot1dSrPortLocalSegment=dot1dSrPortLocalSegment, dot1dSrPortBridgeNum=dot1dSrPortBridgeNum, dot1dSrPortTargetSegment=dot1dSrPortTargetSegment, dot1dSrPortLargestFrame=dot1dSrPortLargestFrame, dot1dSrPortSTESpanMode=dot1dSrPortSTESpanMode, dot1dSrPortSpecInFrames=dot1dSrPortSpecInFrames, dot1dSrPortSpecOutFrames=dot1dSrPortSpecOutFrames, dot1dSrPortApeInFrames=dot1dSrPortApeInFrames, dot1dSrPortApeOutFrames=dot1dSrPortApeOutFrames, dot1dSrPortSteInFrames=dot1dSrPortSteInFrames, dot1dSrPortSteOutFrames=dot1dSrPortSteOutFrames, dot1dSrPortSegmentMismatchDiscards=dot1dSrPortSegmentMismatchDiscards, dot1dSrPortDuplicateSegmentDiscards=dot1dSrPortDuplicateSegmentDiscards, dot1dSrPortHopCountExceededDiscards=dot1dSrPortHopCountExceededDiscards, dot1dSrPortDupLanIdOrTreeErrors=dot1dSrPortDupLanIdOrTreeErrors, dot1dSrPortLanIdMismatches=dot1dSrPortLanIdMismatches, dot1dSrBridgeLfMode=dot1dSrBridgeLfMode, dot1dPortPair=dot1dPortPair, dot1dPortPairTableSize=dot1dPortPairTableSize, dot1dPortPairTable=dot1dPortPairTable, dot1dPortPairEntry=dot1dPortPairEntry, dot1dPortPairLowPort=dot1dPortPairLowPort, dot1dPortPairHighPort=dot1dPortPairHighPort, dot1dPortPairBridgeNum=dot1dPortPairBridgeNum, dot1dPortPairBridgeState=dot1dPortPairBridgeState) pysnmp-mibs-0.1.3/pysnmp_mibs/TN3270E-MIB.py0000644000014400001440000017623011736645141020404 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TN3270E-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:45 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANATn3270DeviceType, IANATn3270Functions, IANATn3270ResourceType, IANATn3270eAddrType, IANATn3270eAddress, IANATn3270eClientType, IANATn3270eLogData, ) = mibBuilder.importSymbols("IANATn3270eTC-MIB", "IANATn3270DeviceType", "IANATn3270Functions", "IANATn3270ResourceType", "IANATn3270eAddrType", "IANATn3270eAddress", "IANATn3270eClientType", "IANATn3270eLogData") ( snanauMIB, ) = mibBuilder.importSymbols("SNA-NAU-MIB", "snanauMIB") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32") ( DateAndTime, RowStatus, TextualConvention, TestAndIncr, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "TextualConvention", "TestAndIncr", "TimeStamp") ( Utf8String, ) = mibBuilder.importSymbols("SYSAPPL-MIB", "Utf8String") # Types class SnaResourceName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,17) class Tn3270eTraceData(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,4096),) # Objects tn3270eMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 8)).setRevisions(("1998-07-27 00:00",)) if mibBuilder.loadTexts: tn3270eMIB.setOrganization("TN3270E Working Group") if mibBuilder.loadTexts: tn3270eMIB.setContactInfo("Kenneth White (kennethw@vnet.ibm.com)\nIBM Corp. - Dept. BRQA/Bldg. 501/G114\nP.O. Box 12195\n3039 Cornwallis\nRTP, NC 27709-2195\nUSA\n\nRobert Moore (remoore@us.ibm.com)\nIBM Corp. - Dept. BRQA/Bldg. 501/G114\nP.O. Box 12195\n3039 Cornwallis\nRTP, NC 27709-2195\nUSA\n+1-919-254-4436") if mibBuilder.loadTexts: tn3270eMIB.setDescription("This module defines a portion of the management\ninformation base (MIB) for managing TN3270E servers.") tn3270eNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 8, 0)) tn3270eObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 8, 1)) tn3270eSrvrConfTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 1)) if mibBuilder.loadTexts: tn3270eSrvrConfTable.setDescription("This table defines the configuration elements for\nTN3270E servers. The number of entries in this table\nis expected to vary depending on the location of the\ntable. A particular TN3270E server is expected to\nhave a single entry. Modeling of the configuration\nelements as a table allows multiple TN3270E\nservers to be serviced by the same SNMP agent.\nAn implementation SHOULD NOT retain an SNMP-created\nentry in this table across re-IPLs (Initial Program\nLoads) of the corresponding TN3270E server.") tn3270eSrvrConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex")) if mibBuilder.loadTexts: tn3270eSrvrConfEntry.setDescription("Definition of the configuration elements for a single\nTN3270E server.") tn3270eSrvrConfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eSrvrConfIndex.setDescription("Identifier for a single TN3270E server.\n\ntn3270eSrvrConfIndex values need not be\ncontiguous.") tn3270eSrvrConfInactivityTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 99999999)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfInactivityTimeout.setDescription("The inactivity time-out specified in seconds. When a\nconnection has been inactive for the number of seconds\nspecified by this object it is closed. Only user traffic\nis considered when determining whether there has been\nactivity on a connection.\n\nThe default value 0 means that no inactivity time-out is\nin effect.") tn3270eSrvrConfConnectivityChk = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("timingMark", 1), ("nop", 2), ("noCheck", 3), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfConnectivityChk.setDescription("This object enables TIMING-MARK processing, NOP\nprocessing, or neither for a TN3270E server.") tn3270eSrvrConfTmNopInactTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 86400)).clone(600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfTmNopInactTime.setDescription("The amount of time a connection must have had no\ntraffic on it in order for a TIMING-MARK or NOP request\nto be sent on the connection. This value applies only\nwhen connections are being examined for recent activity\non a scan interval controlled by the value of the\ntn3270eSrvrConfTmNopInterval object.") tn3270eSrvrConfTmNopInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 86400)).clone(120)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfTmNopInterval.setDescription("The scan interval to be used by a TN3270E server when\nit examines its Telnet connections for recent activity.\nThe server scans its Telnet connections on the interval\nprovided by this object, looking for ones that have been\nidle for more than the value provided by the\ntn3270eSrvrConfTmNopInactTime object. A TIMING-MARK or\nNOP request is sent for each connection that has\nexhibited no activity for this period of time.") tn3270eSrvrFunctionsSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 6), IANATn3270Functions().clone('(scsCtlCodes, dataStreamCtl, responses, bindImage, sysreq)')).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrFunctionsSupported.setDescription("This object indicates the functions supported by a\nTN3270E server.") tn3270eSrvrConfAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("stopImmediate", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfAdminStatus.setDescription("The desired state of the TN3270E server represented\nby this entry in the table:\n\nup(1) - Activate this TN3270E server.\ndown(2) - Informs the associated TN3270E\n server to gracefully terminate\n its processing.\nstopImmediate(3) - Informs the associated TN3270E\n server to terminate itself\n immediately.\n\nWhen a managed system creates an entry in this table,\ntn3270eSrvrConfAdminStatus and tn3270eSrvrConfOperStatus\nare initialized as up(1) by default.\n\nThe exact behavior of a server in response to a down(2)\nor stopImmediate(3) command is left implementation-\ndependent. A TN3270E server that is capable of it\nSHOULD close all of its TN3270 and TN3270E sessions\nduring a graceful termination.\n\nOften the function enabled via stopImmediate(3) is used\nas a last resort by a system administrator, to attempt\nto either bring down a hung TN3270E server or free up\nits resources immediately to aid in general system\navailability, or to shut down a TN3270E server that is\nnot recognizing a down(2) request.\n\nA TN3270E server that does not distinguish between\ndown(2) or stopImmediate(3) transitions should not\nsupport stopImmediate(3).") tn3270eSrvrConfOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,4,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("busy", 3), ("shuttingDown", 4), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrConfOperStatus.setDescription("The current operational state of a TN3270E server.\nThe following values are defined:\n\n up(1) - the server is active and accepting\n new client connections\n down(2) - the server is not active\n busy(3) - the server is active, but is not\n accepting new client connections\n because it lacks the resources to\n do so\n shuttingDown(4) - the server is active, but is not\n accepting new client connections\n because it is in the process of\n performing a graceful shutdown.") tn3270eSrvrConfSessionTermState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("terminate", 1), ("luSessionPend", 2), ("queueSession", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfSessionTermState.setDescription("This object determines what a TN3270E server\nshould do when a TN3270 Session terminates:\nterminate(1) => Terminate the TCP connection.\nluSessionPend(2) => Do not drop the TCP connection\n associated with a client when its\n TN3270 session ends. Processing\n should redrive session initialization\n as if the client were first connecting.\nqueueSession(3) => This value relates to the Close\n Destination PASS (CLSDST PASS) operation\n in VTAM. An example provides the\n easiest explanation. Suppose a TN3270E\n client is in session with APPL1, and\n APPL1 does a CLSDST PASS of the client's\n session to APPL2. queueSession(3)\n specifies that the TN3270E server must\n keep the TCP connection with the client\n active after it receives the UNBIND from\n APPL1, waiting for the BIND from APPL2.") tn3270eSrvrConfSrvrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("host", 1), ("gateway", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrConfSrvrType.setDescription("This object indicates the type of TN3270E server.\nThe existence of MIB tables and objects that will be\ndefined by follow-on MIBs may be predicated on whether\nthe TN3270E server can be local to the same host as a\ntarget application (host(1)) or will always be remote\n(gateway(2)).\n\nA host TN3270E server refers to an implementation where\nthe TN3270E server is collocated with the Systems\nNetwork Architecture (SNA) System Services Control Point\n(SSCP) for the dependent Secondary Logical Units (SLUs)\nthat the server makes available to its clients for\nconnecting into an SNA network.\nA gateway TN3270E server resides on an SNA node other\nthan an SSCP, either an SNA type 2.0 node or an APPN node\nacting in the role of a Dependent LU Requester (DLUR).\n\nHost and gateway TN3270E server implementations typically\ndiffer greatly as to their internal implementation and\nsystem definition (SYSDEF) requirements.") tn3270eSrvrConfContact = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 11), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfContact.setDescription("This object provides a scratch pad for a TN3270E\nserver administrator for storing information for\nlater retrieval.") tn3270eSrvrConfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfRowStatus.setDescription("This object allows entries to be created and deleted\nin the tn3270eSrvrConfTable. Entries may also be\ncreated and deleted as a result of implementation-\ndependent operations.\n\nWith the exception of tn3270eSrvrConfSrvrType, which\nan implementation can easily fill in for itself, all\nthe columnar objects in this table have DEFVALs\nassociated with them. Consequently, a Management\nStation can create a conceptual row via a SET\noperation that specifies a value only for this object.\n\nWhen a tn3270eSrvrConfEntry is deleted (by setting\nthis object to destroy(6)), this has the side-effect\nof removing all the associated entries (i.e., those\nhaving the same tn3270eSrvrConfIndex) from the\ntn3270eSrvrPortTable, the tn3270eSrvrStatsTable, the\ntn3270eClientGroupTable, the tn3270eResPoolTable,\nthe tn3270eSnaMapTable, the tn3270eClientResMapTable,\nand the tn3270eResMapTable. All entries in the\ntn3270eTcpConnTable that belong to a TN3270E server\nthat has been deleted MUST also be removed.\nIn other words, a tn3270eSrvrConfEntry must exist for\na TN3270E server in order for it to have entries in\nany of the other tables defined by this MIB.") tn3270eSrvrConfLastActTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 13), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrConfLastActTime.setDescription("This object reports the DateAndTime when a TN3270E\nserver was most recently activated.\n\nThe special value of all '00'Hs indicates that the\nserver has never been active, i.e., that the value of\ntn3270eSrvrOperStatus has never been anything other\nthan down(2).") tn3270eSrvrConfTmTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 600)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrConfTmTimeout.setDescription("The TIMING-MARK time-out, specified in seconds.") tn3270eSrvrPortTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 2)) if mibBuilder.loadTexts: tn3270eSrvrPortTable.setDescription("This table defines the TCP ports associated with\nTN3270E servers. No entry in this table shall exist\nwithout a corresponding (same tn3270eSrvrConfIndex)\nentry in the tn3270eSrvrConfTable existing.\n\nAn implementation SHOULD NOT retain SNMP-created\nentries in this table across re-IPLs (Initial Program\nLoads) of the corresponding TN3270E server.") tn3270eSrvrPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 2, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eSrvrPort"), (0, "TN3270E-MIB", "tn3270eSrvrPortAddrType"), (0, "TN3270E-MIB", "tn3270eSrvrPortAddress")) if mibBuilder.loadTexts: tn3270eSrvrPortEntry.setDescription("Definition of a single TCP port assignment to a\nTN3270E server. Assignment of a port on a local\naddress basis is enabled though use of\ntn3270eSrvrPortAddrType and tn3270eSrvrPortAddress.\n\nA TCP port assignment that is not restricted to\na local address SHALL specify a tn3270eSrvrPortAddrType\nof unknown(0), and SHALL use a zero-length octet string\nfor the tn3270eSrvrPortAddress.") tn3270eSrvrPort = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eSrvrPort.setDescription("Indicates a port assigned to a server.") tn3270eSrvrPortAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 2, 1, 2), IANATn3270eAddrType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eSrvrPortAddrType.setDescription("Indicates the type of an address local to the host on\nwhich the TN3270E server resides that is represented\nin tn3270eSrvrPortAddress. A value of unknown(0)\nSHALL be used for this object when the port is not\nto be restricted to a local address.") tn3270eSrvrPortAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 2, 1, 3), IANATn3270eAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eSrvrPortAddress.setDescription("A local address on the host that a TN3270E server\nresides on that is associated with a TCP port that\nis to be used or is in use by a TN3270E server.\ntn3270eClientGroupAddrType indicates the\naddress type (IPv4 or IPv6, for example).\n\nA zero-length octet string SHALL be used as the\nvalue of this object when a local address isn't\nbeing specified.") tn3270eSrvrPortRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eSrvrPortRowStatus.setDescription("This object allows entries to be created and deleted\nin the tn3270eSrvrPortTable. Entries may also be\ncreated and deleted as a result of implementation-\ndependent operations.\n\nSince this is the only accessible object in this table,\na Management Station can create a conceptual row via a SET\noperation that specifies a value only for this object.\n\nAn entry in this table is deleted by setting this object\nto destroy(6). Deletion of a tn3270eSrvrPortEntry has\nno effect on any other table entry defined by this MIB.") tn3270eSrvrStatsTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 3)) if mibBuilder.loadTexts: tn3270eSrvrStatsTable.setDescription("This table defines a set of statistics concerning\nTN3270E server performance.\n\nNo entry in this table shall exist without\na corresponding (same tn3270eSrvrConfIndex) entry in\nthe tn3270eSrvrConfTable existing.") tn3270eSrvrStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eSrvrPort"), (0, "TN3270E-MIB", "tn3270eSrvrPortAddrType"), (0, "TN3270E-MIB", "tn3270eSrvrPortAddress")) if mibBuilder.loadTexts: tn3270eSrvrStatsEntry.setDescription("A collection of statistical and maximum usage objects\nfor a single TN3270 server. An entry can represent the total\nactivity of the server, or it can represent the activity\noccurring at the server on either a port or a\nport-and-local-address basis.\n\nCollection of the statistics represented by the objects\nin this table is not mandatory. An implementation\nof this table MUST use only one of the three levels of\nrefinement that this table supports for the entries\nassociated with each TN3270E server.\n\nThe indexing for a row that represents total server\nstatistics is as follows:\n\n tn3270eSrvrConfIndex value identifying the server\n tn3270eSrvrPort 0\n tn3270eSrvrPortAddrType unknown(0)\n tn3270eSrvrPortAddress zero-length octet string.\n\nOn a port basis:\n\n tn3270eSrvrConfIndex value identifying the server\n tn3270eSrvrPort > 0\n tn3270eSrvrPortAddrType unknown(0)\n tn3270eSrvrPortAddress zero-length octet string.\n\nOn a port-and-local-address basis:\n\n tn3270eSrvrConfIndex value identifying the server\n tn3270eSrvrPort > 0\n tn3270eSrvrPortAddrType valid value other than unknown(0)\n tn3270eSrvrPortAddress non-zero-length octet string.") tn3270eSrvrStatsUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsUpTime.setDescription("The value of the sysUpTime object the last time\nthe TN3270E server was re-initialized.\n\nServer re-initialization is the only discontinuity\nevent for the counters in this table. Even if table\nentries are on a port or port-and-local-address\nbasis, port deactivation and reactivation do not\nresult in counter discontinuities.") tn3270eSrvrStatsMaxTerms = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsMaxTerms.setDescription("Indicates the maximum number of terminal LUs available\nfor use at a TN3270E server for the granularity of this\nconceptual row (server-wide, port, or\nport-and-local-address).") tn3270eSrvrStatsInUseTerms = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsInUseTerms.setDescription("Indicates the number of terminal LUs currently in\nuse at a TN3270E server for the granularity of this\nconceptual row (server-wide, port, or\nport-and-local-address).") tn3270eSrvrStatsSpareTerms = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsSpareTerms.setDescription("Indicates the number of free terminal LUs at a TN3270E\nserver for the granularity of this conceptual row\n(server-wide, port, or port-and-local-address).\n\nIt is possible that the difference between\ntn3270eSrvrStatsMaxTerms and tn3270eSrvrStatsInUseTerms\nin a conceptual row does not equal the value of\ntn3270eSrvrStatsSpareTerms in that row: an LU may\nexist but not be usable by a client connection.\n\nAlternatively, the administrative ceiling represented\nby tn3270eSrvrStatsMaxTerms may have been lowered to\na point where it is less than the current value of\ntn3270eSrvrStatsInUseTerms. In this case\ntn3270eSrvrStatsSpareTerms returns the value 0.") tn3270eSrvrStatsMaxPtrs = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsMaxPtrs.setDescription("Indicates the maximum number of printer resources\navailable for use by a TN3270E server for the\ngranularity of this conceptual row (server-wide,\nport, or port-and-local-address).") tn3270eSrvrStatsInUsePtrs = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsInUsePtrs.setDescription("Indicates the number of printer resources\ncurrently in use by a TN3270E server for the\ngranularity of this conceptual row (server-wide,\nport, or port-and-local-address).") tn3270eSrvrStatsSparePtrs = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsSparePtrs.setDescription("Indicates the number of free printer resources at\na TN3270E server for the granularity of this conceptual\nrow (server-wide, port, or port-and-local-address).\n\nIt is possible that the difference between\ntn3270eSrvrStatsMaxPtrs and tn3270eSrvrStatsInUsePtrs\nin a conceptual row does not equal the value of\ntn3270eSrvrStatsSparePtrs in that row: a printer\nresource may exist but not be usable by a client\nconnection.\n\nAlternatively, the administrative ceiling represented\nby tn3270eSrvrStatsMaxPtrs may have been lowered to\na point where it is less than the current value of\ntn3270eSrvrStatsInUsePtrs. In this case\ntn3270eSrvrStatsSparePtrs returns the value 0.") tn3270eSrvrStatsInConnects = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsInConnects.setDescription("Indicates the number of client (TCP) connections\nthat succeeded at a TN3270E server for the\ngranularity of this conceptual row (server-wide,\nport, or port-and-local-address).\n\nThe tn3270eSrvrStatsConnResrceRejs and\ntn3270eSrvrStatsConnErrorRejs objects provide a count\nof failed connection attempts.\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eSrvrStatsConnResrceRejs = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsConnResrceRejs.setDescription("Indicates the number of (TCP) connections rejected\nduring connection setup at a TN3270E server for the\ngranularity of this conceptual row (server-wide,\nport, or port-and-local-address) due to a lack of\nresources at the server. An example of when this\ncounter would be incremented is when no terminal\nor printer resource is available to associate with a\nclient's TCP connection.\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eSrvrStatsDisconnects = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsDisconnects.setDescription("Indicates the number of (TCP) connections that were\ndisconnected at a TN3270E server for the\ngranularity of this conceptual row (server-wide,\nport, or port-and-local-address).\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eSrvrStatsHCInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsHCInOctets.setDescription("Indicates the number of octets received from TN3270\nand TN3270E clients for the granularity of this\nconceptual row (server-wide, port, or\nport-and-local-address).\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eSrvrStatsInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsInOctets.setDescription("Low-order 32 bits of tn3270eSrvrStatsHCInOctets for\nthis conceptual row.\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eSrvrStatsHCOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsHCOutOctets.setDescription("Indicates the number of octets sent to TN3270\nand TN3270E clients for the granularity of this\nconceptual row (server-wide, port, or\nport-and-local-address).\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eSrvrStatsOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsOutOctets.setDescription("Low-order 32 bits of tn3270eSrvrStatsHCOutOctets for\nthis conceptual row.\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eSrvrStatsConnErrorRejs = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSrvrStatsConnErrorRejs.setDescription("Indicates the number of (TCP) connections rejected\nduring connection setup at a TN3270E server for the\ngranularity of this conceptual row (server-wide,\nport, or port-and-local-address) due to an error\nof some type. An example of when this counter would\nbe incremented is when the client and the server\ncannot agree on a common set of TN3270E functions for\nthe connection.\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the tn3270eSrvrStatsUpTime\nobject.") tn3270eClientGroupTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 4)) if mibBuilder.loadTexts: tn3270eClientGroupTable.setDescription("This table defines client address groupings for use\nby a TN3270E server.\n\nNo entry in this table shall exist without\na corresponding (same tn3270eSrvrConfIndex) entry in\nthe tn3270eSrvrConfTable existing.\n\nAn implementation SHOULD NOT retain SNMP-created\nentries in this table across re-IPLs (Initial Program\nLoads) of the corresponding TN3270E server.") tn3270eClientGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 4, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eClientGroupName"), (0, "TN3270E-MIB", "tn3270eClientGroupAddrType"), (0, "TN3270E-MIB", "tn3270eClientGroupAddress")) if mibBuilder.loadTexts: tn3270eClientGroupEntry.setDescription("Definition of a single client address entry. All\nentries with the same first two indexes,\ntn3270eSrvrConfIndex and tn3270eClientGroupName, are\nconsidered to be in the same client group.") tn3270eClientGroupName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 4, 1, 1), Utf8String().subtype(subtypeSpec=ValueSizeConstraint(1, 24))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eClientGroupName.setDescription("The name of a client group. Note: client group\nnames are required to be unique only with respect\nto a single TN3270E server.") tn3270eClientGroupAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 4, 1, 2), IANATn3270eAddrType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eClientGroupAddrType.setDescription("Indicates the type of the address represented in\ntn3270eClientGroupAddress.") tn3270eClientGroupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 4, 1, 3), IANATn3270eAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eClientGroupAddress.setDescription("The client address of a member of a client group.\nThe value of tn3270eClientGroupAddrType indicates\nthe address type (IPv4 or IPv6, for example).") tn3270eClientGroupSubnetMask = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 4, 1, 4), IpAddress().clone("255.255.255.255")).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eClientGroupSubnetMask.setDescription("The corresponding subnet mask associated with\ntn3270eClientGroupAddress. A single IP address is\nrepresented by having this object contain the value\nof 255.255.255.255.\n\nThis object's value is meaningful only if\ntn3270eClientGroupAddrType has a value of ipv4(1).") tn3270eClientGroupPfxLength = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 4, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 128)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eClientGroupPfxLength.setDescription("The corresponding IPv6 network prefix length.\n\nThis object's value is meaningful only if\ntn3270eClientGroupAddrType has a value of ipv6(2).") tn3270eClientGroupRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 4, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eClientGroupRowStatus.setDescription("This object allows entries to be created and deleted\nin the tn3270eClientGroupTable. Entries may also be\ncreated and deleted as a result of implementation-\ndependent operations.\n\nAn entry in this table is deleted by setting this object\nto destroy(6). When the number of entries in this table\nfor a given client group becomes 0, this has the side-\neffect of removing any entries for the group in the\ntn3270eClientResMapTable.") tn3270eResPoolTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 5)) if mibBuilder.loadTexts: tn3270eResPoolTable.setDescription("This table defines resource groupings; the term\n'pool' is used as it is defined by RFC 2355.\n\nNo entry in this table shall exist without\na corresponding (same tn3270eSrvrConfIndex) entry in\nthe tn3270eSrvrConfTable existing.\n\nAn implementation SHOULD NOT retain SNMP-created\nentries in this table across re-IPLs (Initial Program\nLoads) of the corresponding TN3270E server.") tn3270eResPoolEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 5, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eResPoolName"), (0, "TN3270E-MIB", "tn3270eResPoolElementName")) if mibBuilder.loadTexts: tn3270eResPoolEntry.setDescription("Definition of a single resource pool member. All entries\nwith the same first two indexes, tn3270eSrvrConfIndex and\ntn3270eResPoolName, are considered to be in the same pool.") tn3270eResPoolName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 5, 1, 1), Utf8String().subtype(subtypeSpec=ValueSizeConstraint(1, 24))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eResPoolName.setDescription("The name of a resource pool.") tn3270eResPoolElementName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 5, 1, 2), SnaResourceName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eResPoolElementName.setDescription("The name of a member of a resource pool.") tn3270eResPoolElementType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 5, 1, 3), IANATn3270ResourceType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eResPoolElementType.setDescription("The type of the entity in a resource pool.") tn3270eResPoolRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 5, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eResPoolRowStatus.setDescription("This object allows entries to be created and deleted\nin the tn3270eResPoolTable. Entries may also be\ncreated and deleted as a result of implementation-\ndependent operations.\n\nAn entry in this table is deleted by setting this object\nto destroy(6). When all entries in this table associated\nwith the same tn3270eResPoolElementName have been removed,\nthen any associated (tn3270eResPoolElementName matching\ntn3270eClientResMapPoolName with same tn3270eSrvrConfIndex\nvalues) entries in the tn3270eClientResMapTable SHALL\nalso be removed.") tn3270eSnaMapTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 6)) if mibBuilder.loadTexts: tn3270eSnaMapTable.setDescription("This table provide a mapping from the name by which\na secondary LU is known in the SNA network to the\nname by which it is known locally at the TN3270e\nserver. This latter name serves as an index into\nthe tn3270eResPoolTable and the tn3270eResMapTable.\nNo entry in this table shall exist without\na corresponding (same tn3270eSrvrConfIndex) entry in\nthe tn3270eSrvrConfTable existing.") tn3270eSnaMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 6, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eSnaMapSscpSuppliedName")) if mibBuilder.loadTexts: tn3270eSnaMapEntry.setDescription("Definition of a single mapping from an SSCP-supplied\nSLU name to a local SLU name.\n\nNote: In certain pathological cases, it is possible\nthat an SSCP will send on an ACTLU for a local LU an\nSLU name currently represented by an entry in this\ntable that associates it with a different local LU.\nIn these cases the association from the newer ACTLU\nSHOULD be the one represented in this table.") tn3270eSnaMapSscpSuppliedName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 6, 1, 1), SnaResourceName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eSnaMapSscpSuppliedName.setDescription("The name of the secondary LU (SLU) as it is known in\nthe SNA network. This name is sent by the SSCP on\nthe Activate Logical Unit (ACTLU) request.") tn3270eSnaMapLocalName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 6, 1, 2), SnaResourceName()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSnaMapLocalName.setDescription("The local name of the secondary LU (SLU).") tn3270eSnaMapPrimaryLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 6, 1, 3), SnaResourceName()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eSnaMapPrimaryLuName.setDescription("When there is a currently active LU-LU session for\nthis connection, this object returns the primary LU\n(PLU) name from the BIND. When there is no active\nLU-LU session, or when the PLU name is unavailable\nfor some other reason, this object returns a\nzero-length octet string.") tn3270eClientResMapTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 7)) if mibBuilder.loadTexts: tn3270eClientResMapTable.setDescription("This table defines resource-pool to client-group\nmappings. Since both the resource pool name and client\ngroup name are included in the index clause of this\ntable, multiple resource pools can be assigned to the\nsame client group. This enables use of multiple\nresource pools for use in client to resource mapping.\nAssigning multiple client groups to the same resource\npool is also allowed, but is not the primary purpose\nfor how the indexing is structured.\n\nAssignment of a resource pool to client group can be\nrestricted based on TCP port. An index value of 0 for\ntn3270eClientResMapClientPort disables restriction of\nresource assignment based on client target port\nselection.\n\nNo entry in this table shall exist without\na corresponding (same tn3270eSrvrConfIndex) entry in\nthe tn3270eSrvrConfTable existing.\n\nAn implementation SHOULD NOT retain SNMP-created\nentries in this table across re-IPLs (Initial Program\nLoads) of the corresponding TN3270E server.") tn3270eClientResMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 7, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eClientResMapPoolName"), (0, "TN3270E-MIB", "tn3270eClientResMapClientGroupName"), (0, "TN3270E-MIB", "tn3270eClientResMapClientPort")) if mibBuilder.loadTexts: tn3270eClientResMapEntry.setDescription("Definition of a single resource pool to client group\nmapping.") tn3270eClientResMapPoolName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 7, 1, 1), Utf8String().subtype(subtypeSpec=ValueSizeConstraint(1, 24))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eClientResMapPoolName.setDescription("The name of a resource pool.") tn3270eClientResMapClientGroupName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 7, 1, 2), Utf8String().subtype(subtypeSpec=ValueSizeConstraint(1, 24))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eClientResMapClientGroupName.setDescription("The name of the client group that is mapped to a\nresource pool.") tn3270eClientResMapClientPort = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 7, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eClientResMapClientPort.setDescription("A port number restricting the scope of a mapping\nfrom a resource pool to a client group. The\nvalue 0 for this object indicates that the scope\nof the mapping is not restricted.") tn3270eClientResMapRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 7, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eClientResMapRowStatus.setDescription("This object allows entries to be created and deleted\nin the tn3270eClientResMapTable. Entries may also be\ncreated and deleted as a result of implementation-\ndependent operations.\n\nAn entry in this table is deleted by setting this object\nto destroy(6). Removing an entry from this table doesn't\naffect any other table entry defined in this MIB.") tn3270eResMapTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 8)) if mibBuilder.loadTexts: tn3270eResMapTable.setDescription("This table defines the actual mapping of a resource\nto a client address.\n\nNo entry in this table shall exist without\na corresponding (same tn3270eSrvrConfIndex) entry in\nthe tn3270eSrvrConfTable existing.") tn3270eResMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 8, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eResMapElementName")) if mibBuilder.loadTexts: tn3270eResMapEntry.setDescription("Definition of the mapping of a Resource Element to\na client address.") tn3270eResMapElementName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 8, 1, 1), SnaResourceName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eResMapElementName.setDescription("The name of a resource element. This is the name by\nwhich the server implementing this table knows the\nresource. It may be different from the name by which\nthe resource is known in the SNA network. This latter\nname is returned in the tn3270eResMapSscpSuppliedName\nobject.") tn3270eResMapAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 8, 1, 2), IANATn3270eAddrType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eResMapAddrType.setDescription("Indicates the type of the client address represented\nin tn3270eResMapAddress.") tn3270eResMapAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 8, 1, 3), IANATn3270eAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eResMapAddress.setDescription("A client address.") tn3270eResMapPort = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 8, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eResMapPort.setDescription("A client port.") tn3270eResMapElementType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 8, 1, 5), IANATn3270ResourceType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eResMapElementType.setDescription("The type of the associated resource element.") tn3270eResMapSscpSuppliedName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 8, 1, 6), SnaResourceName()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eResMapSscpSuppliedName.setDescription("The name of the secondary LU (SLU) as it is known\nin a SNA network. This name is sent by the SSCP on\nthe Activate Logical Unit (ACTLU) request. If this\nname is not known, this object returns a zero-length\noctet string.") tn3270eTcpConnTable = MibTable((1, 3, 6, 1, 2, 1, 34, 8, 1, 9)) if mibBuilder.loadTexts: tn3270eTcpConnTable.setDescription("This table has an entry for each TN3270(E) client\nconnection that is currently active at a TN3270E server.\nAn implementation MAY retain entries for connections\nthat have been terminated, but which entries are\nretained, how many entries are retained, and how long\nthey are retained is entirely implementation-dependent.\n\nThe indexing for this table is designed to support the\nuse of an SNMP GET-NEXT operation using only the remote\naddress type, remote address, and remote port, as a way\nfor a Management Station to retrieve the table entries\nrelated to a particular TN3270(E) client.") tn3270eTcpConnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eTcpConnRemAddrType"), (0, "TN3270E-MIB", "tn3270eTcpConnRemAddress"), (0, "TN3270E-MIB", "tn3270eTcpConnRemPort"), (0, "TN3270E-MIB", "tn3270eTcpConnLocalAddrType"), (0, "TN3270E-MIB", "tn3270eTcpConnLocalAddress"), (0, "TN3270E-MIB", "tn3270eTcpConnLocalPort")) if mibBuilder.loadTexts: tn3270eTcpConnEntry.setDescription("Provides information about a single TN3270/TN3270E\nsession. Note: a tn3270eSrvrConfIndex is not needed\nin this table, since the combination of remote and\nlocal addresses and ports is sufficient to\nguarantee uniqueness across the TN3270E servers\nserviced by an SNMP agent. Because of this indexing\nstructure, however, this table does not support\nview-based access control policies that provide\naccess to table rows on a per-server basis.") tn3270eTcpConnRemAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 1), IANATn3270eAddrType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eTcpConnRemAddrType.setDescription("Indicates the type of the value of the\ntn3270eTcpConnRemAddress object. For example,\nipv4(1) or ipv6(2).") tn3270eTcpConnRemAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 2), IANATn3270eAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eTcpConnRemAddress.setDescription("The remote address associated with a TN3270E client.\ntn3270eTcpConnRemAddrType indicates the address type\n(IPv4 or IPv6, for example).\n\nIf a TN3270(E) client is connected to its\nserver via a proxy client the address represented by\nthe value of this object shall be the remote client's\naddress, not the proxy client's address.") tn3270eTcpConnRemPort = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eTcpConnRemPort.setDescription("The remote port associated with a TN3270E client. The value 0\nis used if the tn3270eTcpConnRemAddrType identifies an address\ntype that does not support ports.\n\nIf a TN3270(E) client is connected to its server via a proxy\nclient, the port represented by the value of this object shall\nbe the remote client's port, not the proxy client's port.") tn3270eTcpConnLocalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 4), IANATn3270eAddrType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eTcpConnLocalAddrType.setDescription("Indicates the type of the value of the\ntn3270eTcpConnLocalAddress object. For example,\nipv4(1) or ipv6(2).") tn3270eTcpConnLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 5), IANATn3270eAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eTcpConnLocalAddress.setDescription("The local address associated with a TN3270E client.\ntn3270eTcpConnRemAddrType indicates the address type\n(IPv4 or IPv6, for example).") tn3270eTcpConnLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eTcpConnLocalPort.setDescription("The remote port associated with a TN3270E client.") tn3270eTcpConnLastActivity = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 7), TimeTicks().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnLastActivity.setDescription("The number of 100ths of seconds since any data was\ntransferred for the associated TCP Connection.") tn3270eTcpConnBytesIn = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnBytesIn.setDescription("The number of bytes received by the server from TCP\nfor this connection.\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the\ntn3270eTcpConnActivationTime object.") tn3270eTcpConnBytesOut = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnBytesOut.setDescription("The number of bytes sent to TCP for this connection.\n\nA Management Station can detect discontinuities in\nthis counter by monitoring the\ntn3270eTcpConnActivationTime object.") tn3270eTcpConnResourceElement = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 10), SnaResourceName()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnResourceElement.setDescription("LU/Print secondary name for connecting an client\ninto an SNA network.") tn3270eTcpConnResourceType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 11), IANATn3270ResourceType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnResourceType.setDescription("Indicates the type of resource identified by\ntn3270eTcpConnResourceElement.") tn3270eTcpConnDeviceType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 12), IANATn3270DeviceType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnDeviceType.setDescription("Indicates the device type if negotiated with the\nclient. A value of unknown(100) should be used as\nthe value of this object when a device type is not\nnegotiated. Refer to RFC 2355 for how device types\ncan be negotiated.") tn3270eTcpConnFunctions = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 13), IANATn3270Functions()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnFunctions.setDescription("This object indicates which of the TN3270 and TN3270E\nfunctions were negotiated by the server and the client\nfor this TCP connection.\n\nRefer to tn3270eSrvrFunctionsSupported for the list of\nthese functions supported by the server.") tn3270eTcpConnId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 14), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnId.setDescription("The connection identifier associated with a TN3270 or\na TN3270E session's TCP connection. TCP implementations\noften assign a unique (with respect to itself) unsigned\ninteger as an identifier for a TCP connection.\n\nThe value 0 indicates that a connection does not have\na valid connection identifier.") tn3270eTcpConnClientIdFormat = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 15), IANATn3270eClientType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnClientIdFormat.setDescription("The format of a corresponding tn3270eTcpConnClientId\nobject as defined by the IANSTn3270eClientType textual\nconvention imported from the IANATn3270eTC-MIB.") tn3270eTcpConnClientId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnClientId.setDescription("Additional client identification information. The\ntype of this information is indicated by the value of\nthe corresponding tn3270eTcpConnClientIdFormat object.\nAll values are returned in network-byte order.\n\nThe purpose of this object is to provide an alternate\nmeans of identifying a client, other than though the\nremote address returned in tn3270eTcpConnRemAddress.") tn3270eTcpConnTraceData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 17), Tn3270eTraceData()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnTraceData.setDescription("Trace data for this session.") tn3270eTcpConnLogInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 18), IANATn3270eLogData()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnLogInfo.setDescription("Log information, encoded as specified in the\nIANATn3270eLogData textual convention from the\nIANAtn3270eTC-MIB.") tn3270eTcpConnLuLuBindImage = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 19), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnLuLuBindImage.setDescription("When there is a currently active LU-LU session for\nthis connection, this object returns the BIND Image\n(defined to be bytes 1-p of the complete BIND Request\nUnit -- see 'SNA Formats' for more information)\nthat was received from the PLU during session\nactivation. When there is no active LU-LU session,\nor when a BIND image is unavailable for some other\nreason, this object returns a zero-length octet\nstring.") tn3270eTcpConnSnaState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,1,3,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("noSluSession", 2), ("sscpLuSession", 3), ("luLuSession", 4), ("sscpLuSessionAndLuLuSession", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnSnaState.setDescription("The current state of the SNA side of the end-to-end\nTN3270 connection. The following states are defined:\n\n unknown(1) - The true state is not known.\n noSluSession(2) - The SLU has neither an SSCP-LU\n nor an LU-LU session active.\n sscpLuSession(3) - The SSCP-LU session for the SLU\n is active, but the SLU is not\n currently in session with a PLU.\n luLuSession(4) - The SLU is currently in session\n with a PLU, but the SSCP-LU\n session for the LU is not active.\n sscpLuSessionAndLuLuSession(5) - The SLU currently has\n an active session with a PLU,\n and the SSCP-LU session for the\n SLU is active.") tn3270eTcpConnStateLastDiscReason = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(11,5,13,12,4,2,7,1,6,8,3,10,9,)).subtype(namedValues=NamedValues(("unknown", 1), ("clientNotResponding", 10), ("serverClose", 11), ("sysreqLogoff", 12), ("serverSpecificHexCode", 13), ("hostSendsUnbind", 2), ("hostDontAcceptConnection", 3), ("outOfResource", 4), ("clientProtocolError", 5), ("invalidDeviceName", 6), ("deviceInUse", 7), ("inactivityTimeout", 8), ("hostNotResponding", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnStateLastDiscReason.setDescription("The last disconnect reason. A session that has not\nexperienced a disconnect shall use the value unknown(1)\nfor this object. Depending on when an implementation\nremoves entries from this table, certain states may\nnever be returned.") tn3270eTcpConnSrvrConfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnSrvrConfIndex.setDescription("tn3270eSrvrConfIndex of the tn3270eSrvrConfEntry\nbelonging to the TN3270E server to which this entry\nbelongs.") tn3270eTcpConnActivationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 8, 1, 9, 1, 23), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eTcpConnActivationTime.setDescription("The value of the sysUpTime object the last time\nthis TCP connection became active.") tn3270eConfSpinLock = MibScalar((1, 3, 6, 1, 2, 1, 34, 8, 1, 10), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tn3270eConfSpinLock.setDescription("An advisory lock used to allow cooperating\nTN3270E-MIB applications to coordinate their use\nof the tn3270eSrvrConfTable, the tn3270eSrvrPortTable,\nthe tn3270eClientGroupTable, the tn3270eResPoolTable,\nand the tn3270eClientResMapTable.\n\nWhen creating a new entry or altering an existing entry\nin the any of the tables mentioned above, an application\nshould make use of tn3270eRtSpinLock to serialize\napplication changes or additions.\n\nSince this is an advisory lock, the use of this lock is\nnot enforced.") tn3270eConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 8, 3)) tn3270eGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 8, 3, 1)) tn3270eCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 8, 3, 2)) # Augmentions # Groups tn3270eBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 8, 3, 1, 1)).setObjects(*(("TN3270E-MIB", "tn3270eSrvrStatsConnResrceRejs"), ("TN3270E-MIB", "tn3270eSrvrStatsInUsePtrs"), ("TN3270E-MIB", "tn3270eSrvrStatsSparePtrs"), ("TN3270E-MIB", "tn3270eSrvrStatsInConnects"), ("TN3270E-MIB", "tn3270eSrvrStatsSpareTerms"), ("TN3270E-MIB", "tn3270eSrvrFunctionsSupported"), ("TN3270E-MIB", "tn3270eConfSpinLock"), ("TN3270E-MIB", "tn3270eSrvrConfTmNopInactTime"), ("TN3270E-MIB", "tn3270eSrvrConfContact"), ("TN3270E-MIB", "tn3270eSrvrStatsInUseTerms"), ("TN3270E-MIB", "tn3270eSrvrStatsDisconnects"), ("TN3270E-MIB", "tn3270eSnaMapPrimaryLuName"), ("TN3270E-MIB", "tn3270eSrvrStatsInOctets"), ("TN3270E-MIB", "tn3270eSrvrConfTmTimeout"), ("TN3270E-MIB", "tn3270eSnaMapLocalName"), ("TN3270E-MIB", "tn3270eSrvrConfAdminStatus"), ("TN3270E-MIB", "tn3270eSrvrStatsConnErrorRejs"), ("TN3270E-MIB", "tn3270eSrvrStatsMaxTerms"), ("TN3270E-MIB", "tn3270eSrvrConfTmNopInterval"), ("TN3270E-MIB", "tn3270eSrvrConfSrvrType"), ("TN3270E-MIB", "tn3270eSrvrStatsUpTime"), ("TN3270E-MIB", "tn3270eSrvrConfOperStatus"), ("TN3270E-MIB", "tn3270eSrvrConfRowStatus"), ("TN3270E-MIB", "tn3270eClientGroupPfxLength"), ("TN3270E-MIB", "tn3270eSrvrStatsOutOctets"), ("TN3270E-MIB", "tn3270eClientGroupRowStatus"), ("TN3270E-MIB", "tn3270eSrvrConfInactivityTimeout"), ("TN3270E-MIB", "tn3270eSrvrConfLastActTime"), ("TN3270E-MIB", "tn3270eSrvrConfSessionTermState"), ("TN3270E-MIB", "tn3270eSrvrPortRowStatus"), ("TN3270E-MIB", "tn3270eSrvrConfConnectivityChk"), ("TN3270E-MIB", "tn3270eClientGroupSubnetMask"), ("TN3270E-MIB", "tn3270eSrvrStatsMaxPtrs"), ) ) if mibBuilder.loadTexts: tn3270eBasicGroup.setDescription("This group is mandatory for all hosts supporting the\nTN3270E-MIB.") tn3270eSessionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 8, 3, 1, 2)).setObjects(*(("TN3270E-MIB", "tn3270eTcpConnSrvrConfIndex"), ("TN3270E-MIB", "tn3270eResMapAddrType"), ("TN3270E-MIB", "tn3270eTcpConnBytesOut"), ("TN3270E-MIB", "tn3270eTcpConnFunctions"), ("TN3270E-MIB", "tn3270eTcpConnResourceElement"), ("TN3270E-MIB", "tn3270eResMapPort"), ("TN3270E-MIB", "tn3270eTcpConnActivationTime"), ("TN3270E-MIB", "tn3270eResMapAddress"), ("TN3270E-MIB", "tn3270eTcpConnResourceType"), ("TN3270E-MIB", "tn3270eTcpConnLastActivity"), ("TN3270E-MIB", "tn3270eTcpConnDeviceType"), ("TN3270E-MIB", "tn3270eResMapSscpSuppliedName"), ("TN3270E-MIB", "tn3270eResMapElementType"), ("TN3270E-MIB", "tn3270eTcpConnBytesIn"), ) ) if mibBuilder.loadTexts: tn3270eSessionGroup.setDescription("This group is mandatory for all hosts supporting the\nTN3270E-MIB.") tn3270eResMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 8, 3, 1, 3)).setObjects(*(("TN3270E-MIB", "tn3270eTcpConnSnaState"), ("TN3270E-MIB", "tn3270eTcpConnTraceData"), ("TN3270E-MIB", "tn3270eResPoolElementType"), ("TN3270E-MIB", "tn3270eTcpConnId"), ("TN3270E-MIB", "tn3270eTcpConnClientId"), ("TN3270E-MIB", "tn3270eTcpConnLuLuBindImage"), ("TN3270E-MIB", "tn3270eResPoolRowStatus"), ("TN3270E-MIB", "tn3270eTcpConnStateLastDiscReason"), ("TN3270E-MIB", "tn3270eClientResMapRowStatus"), ("TN3270E-MIB", "tn3270eTcpConnClientIdFormat"), ("TN3270E-MIB", "tn3270eTcpConnLogInfo"), ) ) if mibBuilder.loadTexts: tn3270eResMapGroup.setDescription("This group is optional for all hosts supporting the\nTN3270E-MIB.") tn3270eHiCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 8, 3, 1, 4)).setObjects(*(("TN3270E-MIB", "tn3270eSrvrStatsHCOutOctets"), ("TN3270E-MIB", "tn3270eSrvrStatsHCInOctets"), ) ) if mibBuilder.loadTexts: tn3270eHiCapacityGroup.setDescription("Support of these objects is REQUIRED when the\nCounter32 versions can potentially wrap too\nfrequently. This group is optional for all other\nhosts supporting the TN3270E-MIB.\n\nThe IF-MIB (RFC 2233) requires that the 64-bit\nversions of its counters be implemented when an\ninterface can support rates of around 20 million\nbits per second or greater. This implies a minimum\nwrap rate of just over 28 minutes. It is recommended\nthat this same guideline be used for determining\nwhether an implementation implements these objects.\n\nThis group contains two objects with the syntax\nCounter64. An implementation that doesn't support\nthese objects should return noSuchObject, since\nreturning a zero is misleading.") # Compliances tn3270eCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 8, 3, 2, 1)).setObjects(*(("TN3270E-MIB", "tn3270eResMapGroup"), ("TN3270E-MIB", "tn3270eSessionGroup"), ("TN3270E-MIB", "tn3270eBasicGroup"), ("TN3270E-MIB", "tn3270eHiCapacityGroup"), ) ) if mibBuilder.loadTexts: tn3270eCompliance.setDescription("The compliance statement for agents that support the\nTN3270E-MIB.") # Exports # Module identity mibBuilder.exportSymbols("TN3270E-MIB", PYSNMP_MODULE_ID=tn3270eMIB) # Types mibBuilder.exportSymbols("TN3270E-MIB", SnaResourceName=SnaResourceName, Tn3270eTraceData=Tn3270eTraceData) # Objects mibBuilder.exportSymbols("TN3270E-MIB", tn3270eMIB=tn3270eMIB, tn3270eNotifications=tn3270eNotifications, tn3270eObjects=tn3270eObjects, tn3270eSrvrConfTable=tn3270eSrvrConfTable, tn3270eSrvrConfEntry=tn3270eSrvrConfEntry, tn3270eSrvrConfIndex=tn3270eSrvrConfIndex, tn3270eSrvrConfInactivityTimeout=tn3270eSrvrConfInactivityTimeout, tn3270eSrvrConfConnectivityChk=tn3270eSrvrConfConnectivityChk, tn3270eSrvrConfTmNopInactTime=tn3270eSrvrConfTmNopInactTime, tn3270eSrvrConfTmNopInterval=tn3270eSrvrConfTmNopInterval, tn3270eSrvrFunctionsSupported=tn3270eSrvrFunctionsSupported, tn3270eSrvrConfAdminStatus=tn3270eSrvrConfAdminStatus, tn3270eSrvrConfOperStatus=tn3270eSrvrConfOperStatus, tn3270eSrvrConfSessionTermState=tn3270eSrvrConfSessionTermState, tn3270eSrvrConfSrvrType=tn3270eSrvrConfSrvrType, tn3270eSrvrConfContact=tn3270eSrvrConfContact, tn3270eSrvrConfRowStatus=tn3270eSrvrConfRowStatus, tn3270eSrvrConfLastActTime=tn3270eSrvrConfLastActTime, tn3270eSrvrConfTmTimeout=tn3270eSrvrConfTmTimeout, tn3270eSrvrPortTable=tn3270eSrvrPortTable, tn3270eSrvrPortEntry=tn3270eSrvrPortEntry, tn3270eSrvrPort=tn3270eSrvrPort, tn3270eSrvrPortAddrType=tn3270eSrvrPortAddrType, tn3270eSrvrPortAddress=tn3270eSrvrPortAddress, tn3270eSrvrPortRowStatus=tn3270eSrvrPortRowStatus, tn3270eSrvrStatsTable=tn3270eSrvrStatsTable, tn3270eSrvrStatsEntry=tn3270eSrvrStatsEntry, tn3270eSrvrStatsUpTime=tn3270eSrvrStatsUpTime, tn3270eSrvrStatsMaxTerms=tn3270eSrvrStatsMaxTerms, tn3270eSrvrStatsInUseTerms=tn3270eSrvrStatsInUseTerms, tn3270eSrvrStatsSpareTerms=tn3270eSrvrStatsSpareTerms, tn3270eSrvrStatsMaxPtrs=tn3270eSrvrStatsMaxPtrs, tn3270eSrvrStatsInUsePtrs=tn3270eSrvrStatsInUsePtrs, tn3270eSrvrStatsSparePtrs=tn3270eSrvrStatsSparePtrs, tn3270eSrvrStatsInConnects=tn3270eSrvrStatsInConnects, tn3270eSrvrStatsConnResrceRejs=tn3270eSrvrStatsConnResrceRejs, tn3270eSrvrStatsDisconnects=tn3270eSrvrStatsDisconnects, tn3270eSrvrStatsHCInOctets=tn3270eSrvrStatsHCInOctets, tn3270eSrvrStatsInOctets=tn3270eSrvrStatsInOctets, tn3270eSrvrStatsHCOutOctets=tn3270eSrvrStatsHCOutOctets, tn3270eSrvrStatsOutOctets=tn3270eSrvrStatsOutOctets, tn3270eSrvrStatsConnErrorRejs=tn3270eSrvrStatsConnErrorRejs, tn3270eClientGroupTable=tn3270eClientGroupTable, tn3270eClientGroupEntry=tn3270eClientGroupEntry, tn3270eClientGroupName=tn3270eClientGroupName, tn3270eClientGroupAddrType=tn3270eClientGroupAddrType, tn3270eClientGroupAddress=tn3270eClientGroupAddress, tn3270eClientGroupSubnetMask=tn3270eClientGroupSubnetMask, tn3270eClientGroupPfxLength=tn3270eClientGroupPfxLength, tn3270eClientGroupRowStatus=tn3270eClientGroupRowStatus, tn3270eResPoolTable=tn3270eResPoolTable, tn3270eResPoolEntry=tn3270eResPoolEntry, tn3270eResPoolName=tn3270eResPoolName, tn3270eResPoolElementName=tn3270eResPoolElementName, tn3270eResPoolElementType=tn3270eResPoolElementType, tn3270eResPoolRowStatus=tn3270eResPoolRowStatus, tn3270eSnaMapTable=tn3270eSnaMapTable, tn3270eSnaMapEntry=tn3270eSnaMapEntry, tn3270eSnaMapSscpSuppliedName=tn3270eSnaMapSscpSuppliedName, tn3270eSnaMapLocalName=tn3270eSnaMapLocalName, tn3270eSnaMapPrimaryLuName=tn3270eSnaMapPrimaryLuName, tn3270eClientResMapTable=tn3270eClientResMapTable, tn3270eClientResMapEntry=tn3270eClientResMapEntry, tn3270eClientResMapPoolName=tn3270eClientResMapPoolName, tn3270eClientResMapClientGroupName=tn3270eClientResMapClientGroupName, tn3270eClientResMapClientPort=tn3270eClientResMapClientPort, tn3270eClientResMapRowStatus=tn3270eClientResMapRowStatus, tn3270eResMapTable=tn3270eResMapTable, tn3270eResMapEntry=tn3270eResMapEntry, tn3270eResMapElementName=tn3270eResMapElementName, tn3270eResMapAddrType=tn3270eResMapAddrType, tn3270eResMapAddress=tn3270eResMapAddress, tn3270eResMapPort=tn3270eResMapPort, tn3270eResMapElementType=tn3270eResMapElementType, tn3270eResMapSscpSuppliedName=tn3270eResMapSscpSuppliedName, tn3270eTcpConnTable=tn3270eTcpConnTable, tn3270eTcpConnEntry=tn3270eTcpConnEntry, tn3270eTcpConnRemAddrType=tn3270eTcpConnRemAddrType, tn3270eTcpConnRemAddress=tn3270eTcpConnRemAddress, tn3270eTcpConnRemPort=tn3270eTcpConnRemPort, tn3270eTcpConnLocalAddrType=tn3270eTcpConnLocalAddrType, tn3270eTcpConnLocalAddress=tn3270eTcpConnLocalAddress, tn3270eTcpConnLocalPort=tn3270eTcpConnLocalPort, tn3270eTcpConnLastActivity=tn3270eTcpConnLastActivity, tn3270eTcpConnBytesIn=tn3270eTcpConnBytesIn, tn3270eTcpConnBytesOut=tn3270eTcpConnBytesOut, tn3270eTcpConnResourceElement=tn3270eTcpConnResourceElement, tn3270eTcpConnResourceType=tn3270eTcpConnResourceType, tn3270eTcpConnDeviceType=tn3270eTcpConnDeviceType, tn3270eTcpConnFunctions=tn3270eTcpConnFunctions, tn3270eTcpConnId=tn3270eTcpConnId, tn3270eTcpConnClientIdFormat=tn3270eTcpConnClientIdFormat, tn3270eTcpConnClientId=tn3270eTcpConnClientId, tn3270eTcpConnTraceData=tn3270eTcpConnTraceData, tn3270eTcpConnLogInfo=tn3270eTcpConnLogInfo, tn3270eTcpConnLuLuBindImage=tn3270eTcpConnLuLuBindImage, tn3270eTcpConnSnaState=tn3270eTcpConnSnaState, tn3270eTcpConnStateLastDiscReason=tn3270eTcpConnStateLastDiscReason, tn3270eTcpConnSrvrConfIndex=tn3270eTcpConnSrvrConfIndex, tn3270eTcpConnActivationTime=tn3270eTcpConnActivationTime, tn3270eConfSpinLock=tn3270eConfSpinLock, tn3270eConformance=tn3270eConformance, tn3270eGroups=tn3270eGroups, tn3270eCompliances=tn3270eCompliances) # Groups mibBuilder.exportSymbols("TN3270E-MIB", tn3270eBasicGroup=tn3270eBasicGroup, tn3270eSessionGroup=tn3270eSessionGroup, tn3270eResMapGroup=tn3270eResMapGroup, tn3270eHiCapacityGroup=tn3270eHiCapacityGroup) # Compliances mibBuilder.exportSymbols("TN3270E-MIB", tn3270eCompliance=tn3270eCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-ZONE-SERVER-MIB.py0000644000014400001440000024375111736645141022055 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-ZONE-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:43 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcDomainIdOrZero, FcNameIdOrZero, fcmInstanceIndex, fcmSwitchIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcDomainIdOrZero", "FcNameIdOrZero", "fcmInstanceIndex", "fcmSwitchIndex") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") ( t11FamLocalSwitchWwn, ) = mibBuilder.importSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn") ( T11NsGs4RejectReasonCode, ) = mibBuilder.importSymbols("T11-FC-NAME-SERVER-MIB", "T11NsGs4RejectReasonCode") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Types class T11ZoningName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,64) class T11ZsRejectReasonExplanation(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(11,19,31,22,24,9,2,27,29,14,13,6,25,16,3,28,30,5,7,15,18,17,10,23,1,21,26,4,12,8,20,) namedValues = NamedValues(("other", 1), ("deactivateZoneSetFailed", 10), ("reqNotSupported", 11), ("capabilityNotSupported", 12), ("zoneMemberIDTypeNotSupp", 13), ("invalidZoneSetDefinition", 14), ("enhancedZoningCmdsNotSupported", 15), ("zoneSetExists", 16), ("zoneExists", 17), ("aliasExists", 18), ("zoneSetUnknown", 19), ("noAdditionalExplanation", 2), ("zoneUnknown", 20), ("aliasUnknown", 21), ("zoneAliasTypeUnknown", 22), ("unableEnhancedMode", 23), ("basicZoningCmdsNotSupported", 24), ("zoneAttribObjectExists", 25), ("zoneAttribObjectUnknown", 26), ("requestInProcess", 27), ("cmitInProcess", 28), ("hardEnforcementFailed", 29), ("zonesNotSupported", 3), ("unresolvedReferences", 30), ("consistencyChecksFailed", 31), ("zoneSetNameUnknown", 4), ("noZoneSetActive", 5), ("zoneNameUnknown", 6), ("zoneStateUnknown", 7), ("incorrectPayloadLen", 8), ("tooLargeZoneSet", 9), ) class T11ZsZoneMemberType(TextualConvention, Unsigned32): displayHint = "x" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,255) # Objects t11ZoneServerMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 160)).setRevisions(("2007-06-27 00:00",)) if mibBuilder.loadTexts: t11ZoneServerMIB.setOrganization("For the initial versions, T11.\nFor later versions, the IETF's IMSS Working Group.") if mibBuilder.loadTexts: t11ZoneServerMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: cds@cisco.com\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: kzm@cisco.com") if mibBuilder.loadTexts: t11ZoneServerMIB.setDescription("The MIB module for the management of Fibre Channel Zoning\nServers, both for Basic Zoning Management and for Enhanced\n\n\nZoning Management, as defined in the FC-GS-5 specification.\n\nFC-GS-5 defines (in-band) management operations for\nmanipulating the Zone Set Database, some for use in Basic\nmode (e.g., 'Add Zone Set (AZS)', etc.), and some for use in\nEnhanced mode (e.g., Create Zone Set (CZS)', etc.). When\nEnhanced Zoning Management is in use, FC-GS-5 requires that\nthese in-band management operations be rejected unless they\nare issued within the context of a GS-5 server session. The\nuse of a server session ensures serialized access to the\nZoning Database since the Fabric lock for the Zone Server\nmust be obtained as a part of establishing the server\nsession to the Zone Server.\n\nThus, if and when this MIB is used for Enhanced Zoning\nManagement, SNMP SetRequests that request the modification\nof zoning definitions must be serialized with respect to\nthe GS-5 requests to modify the Zoning Database. This is\nachieved by requiring that an SNMP management application\nmust first obtain the Fabric lock for the Zone Server\nbefore attempting to modify any zoning definitions. The\ncompanion T11-FC-FABRIC-LOCK-MIB module is defined as a means\nof obtaining the Fabric lock for the Zone Server (or any\nother server).\n\nIn Enhanced Zoning Management, a Zone Server keeps track of\nchanges requested in the zoning definitions, but does not\nupdate its Zone Set Database unless there is (and until\nthere is) a 'commit' operation. To model this behavior,\nthis MIB module assumes that a Zone Server (in Enhanced\nmode) takes a snapshot of its Zone Set Database as and when\nthe Fabric lock (for the Zone Server application) is\nobtained; this snapshot is used to create what is herein\ncalled the 'copy' database. It is this 'copy' database\nthat is then updated by SNMP SetRequests (while the Fabric\nis locked). If and when a 'commit' operation is requested\n(while the Fabric is still locked), the 'copy' database is\nthen used to overwrite the previously committed contents of\nthe Zone Set Database, and the new Zone Set Database is\ndistributed to all other switches in the Fabric. When the\nlock is released, any changes made that were not\n'committed' are discarded.\n\nWhen this MIB is used for Basic Zoning Management, the same\nset of MIB objects as used for Enhanced mode are used to\nmake changes to the Database of a Zone Server on a\nparticular switch, but the changes take immediate effect at\nthat switch without an explicit commit. The distribution of\n\n\n\nthose changes to Zone Servers on other switches in the\nFabric is subsequently requested through the use of a\nseparate set of MIB objects.\n\nThe management information specified in this MIB module\nincludes the Zoning Database for each of one or more Fibre\nChannel Fabrics. A Zoning Database is a combination of the\nFabric's Zone Set Database and its Active Zone Set. The\nActive Zone Set is the Zone Set currently enforced by the\nFabric; a Zone Set Database is a database of the Zone Sets\navailable to be activated within a Fabric. All the MIB\nobjects representing a Zone Set Database are modifiable at\nany time (irrespective of the value of any RowStatus\nobject), whereas all objects representing the Active Zone\nSet are always read-only (except to deactivate it and/or\nactivate a different one).\n\nCopyright (C) The IETF Trust (2007). This version\nof this MIB module is part of RFC 4936; see the RFC\nitself for full legal notices.") t11ZsMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 160, 0)) t11ZsMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 160, 1)) t11ZsConfiguration = MibIdentifier((1, 3, 6, 1, 2, 1, 160, 1, 1)) t11ZsServerTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 1)) if mibBuilder.loadTexts: t11ZsServerTable.setDescription("A table containing information about the Zone Servers\non each Fabric in one or more switches, and providing\nthe capability to perform operations on their Zone\nServer databases.") t11ZsServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex")) if mibBuilder.loadTexts: t11ZsServerEntry.setDescription("Each entry contains information specific to a\nZone Server for a particular Fabric (identified by\nthe value of t11ZsServerFabricIndex) on a particular\nswitch (identified by values of fcmInstanceIndex\nand fcmSwitchIndex).\n\nThe persistence across reboots of writable values in\na row of this table is given by the instance of\nt11ZsServerDatabaseStorageType in that row.") t11ZsServerFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsServerFabricIndex.setDescription("A unique index value that uniquely identifies a\nparticular Fabric.") t11ZsServerCapabilityObject = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 2), Bits().subtype(namedValues=NamedValues(("enhancedMode", 0), ("zoneSetDb", 1), ("activateDirect", 2), ("hardZoning", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerCapabilityObject.setDescription("This bitmap represents the capability of the switch\non this Fabric:\n\n 'enhancedMode' - able to support enhanced Zoning\n mode of operation.\n\n 'zoneSetDb' - able to support maintaining of\n a Zone Set Database.\n\n 'activateDirect' - able to support the Activate\n Direct command.\n\n 'hardZoning' - able to support Hard Zoning.") t11ZsServerDatabaseStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 3), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerDatabaseStorageType.setDescription("This object specifies the memory realization, on a\nparticular switch, of the Zone Set database for a\nparticular Fabric. Specifically, each row in the\nfollowing tables:\n\n t11ZsSetTable\n t11ZsZoneTable\n t11ZsSetZoneTable\n t11ZsAliasTable\n t11ZsZoneMemberTable\n t11ZsAttribBlockTable\n t11ZsAttribTable\n\nhas a StorageType as specified by the instance of\nthis object that is INDEXed by the same values of\nfcmInstanceIndex, fcmSwitchIndex, and\n\n\nt11ZsServerFabricIndex.\n\nThe value of this object is also used to indicate\nthe persistence across reboots of writable values in\nits row of the t11ZsServerTable, as well as the\ncorresponding row in the t11ZsNotifyControlTable.\n\nIf an instance of this object has the value\n'permanent(4)', the Zone Set database for the given\nFabric on the given switch is not required to be\nwriteable.") t11ZsServerDistribute = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("noop", 1), ("zoneSetDb", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerDistribute.setDescription("This object can be set only in Basic mode. When set\nto the value 'zoneSetDb', it requests that the Zone Set\ndatabase of a particular switch for a particular Fabric\nbe distributed to every other switch in that Fabric,\ne.g., by using Stage Fabric Configuration Update (SFC)\nand Update Fabric Configuration (UFC) requests.\n\nSetting this object to 'noop' has no effect.\nWhen read, the value of this object is always 'noop'.\n\nWhen the corresponding instance of t11ZsServerOperationMode\nhas the value 'enhanced', or when the corresponding instance\nof t11ZsZoneSetResult has the value 'inProgress', it\nis inconsistent to try to set the value of this object.") t11ZsServerCommit = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("commitZoneChanges", 1), ("noop", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerCommit.setDescription("This object is only used in Enhanced mode.\n\nIn Enhanced mode, it can only be modified when the Fabric\nlock for the Zone Server on the particular Fabric has been\nobtained for use by SNMP SetRequests, and even then, only\nby the SNMP entity identified by the value of corresponding\ninstance of t11FLockInitiator.\n\nSetting the object requests an action:\n\n commitZoneChanges - requests that the changes made\n within this session to the Zone\n Set Database be committed.\n noop - requests nothing.\n\nWhen read, the value is always 'noop'.") t11ZsServerResult = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,2,5,)).subtype(namedValues=NamedValues(("none", 1), ("inProgress", 2), ("success", 3), ("rejectFailure", 4), ("otherFailure", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerResult.setDescription("In Basic mode, this object indicates the status/result\nof the last distribution of the Zone Set database that\nwas invoked via the corresponding instance of\nt11ZsZoneSetDistribute, e.g., the status/result of\nStage Fabric Configuration Update (SFC) request(s) used\nto implement the setting of t11ZsZoneSetDistribute.\n\nIn Enhanced mode, this object indicates the status/result\nof the last commit of changes to the Zone Set database\nthat was invoked via the corresponding instance of\nt11ZsServerCommit.\n\n 'none' - no distribution/commit invoked\n via the corresponding instance of\n t11ZsZoneSetDistribute (Basic mode)\n\n\n or t11ZsServerCommit (Enhanced mode).\n 'inProgress' - distribution/commit is still in\n progress.\n 'success' - distribution/commit completed\n successfully.\n 'rejectFailure' - distribution/commit failed due to\n an SW_RJT.\n 'otherFailure' - distribution/commit failed for some\n other reason.\n\nWhen the value is 'rejectFailure', the corresponding\ninstances of t11ZsServerReasonCode,\nt11ZsServerReasonCodeExp and t11ZsServerReasonVendorCode\ncontain the reason codes. ") t11ZsServerReasonCode = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 7), T11NsGs4RejectReasonCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerReasonCode.setDescription("When the corresponding instance of t11ZsZoneSetResult\nhas the value 'rejectFailure', this object contains\nthe rejection's reason code.\n\nWhen the corresponding instance of t11ZsServerResult\nhas a value other than 'rejectFailure', this object\nshould contain the value 'none'.") t11ZsServerReasonCodeExp = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerReasonCodeExp.setDescription("When the corresponding instance of t11ZsZoneSetResult\nhas the value 'rejectFailure', this object contains\nthe rejection's reason code explanation.\n\nWhen the corresponding instance of t11ZsServerResult\nhas a value other than 'rejectFailure', this object\n\n\n\nshould contain the zero-length string.") t11ZsServerReasonVendorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerReasonVendorCode.setDescription("When the corresponding instance of t11ZsZoneSetResult\nhas the value 'rejectFailure', this object contains\nthe rejection's reason vendor-specific code.\n\nWhen the corresponding instance of t11ZsServerResult\nhas a value other than 'rejectFailure', this object\nshould contain the zero-length string.") t11ZsServerLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerLastChange.setDescription("The value of sysUpTime at the time of the last change\n(creation, modification, or deletion) to the Zone Set\ndatabase for the Zone Server for a particular Fabric.\nIf said Zone Set database has not changed since the\nlast re-initialization of the local network management\nsystem, then this object will contain a zero value.") t11ZsServerHardZoning = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerHardZoning.setDescription("This object indicates whether this switch, if and when it\nis in Basic mode, enforces Hard Zoning on this Fabric.") t11ZsServerReadFromDatabase = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("committedDB", 1), ("copyDB", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerReadFromDatabase.setDescription("In Enhanced mode, this object specifies whether\nsubsequent SNMP Responses (generated by the local SNMP\nagent) to operations that read the configuration of\nZone Sets, Zones, Members, Aliases and Attributes will\nreflect the values stored in the current (committed)\nZone Set database, or those stored in the 'copy'\ndatabase.\n\nIn Basic mode, the value of this object is always\n'committedDB' (since there is no 'copy' database in\nBasic mode). In SNMP agents that don't support\nwrite access to the Zone Set database, this object\nis always 'committedDB' (since the copy database,\nif it were to exist, would be identical).") t11ZsServerOperationMode = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("basic", 1), ("enhanced", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerOperationMode.setDescription("The operational mode of the Zone Server.\n\nSetting this object to 'enhanced' is a request that the mode\nof operation of the Zone Server be Enhanced mode, which is\nonly possible if all devices in the Fibre Channel Fabric are\ncapable of working in Enhanced mode. If not, the request\nwill fail and the corresponding value of\nt11ZsServerChangeModeResult will so indicate.\n\nSetting this object to 'basic' is a request that the mode\nof operation of the Zone Server be Basic mode. However,\nsuch a set may fail while operating in Enhanced mode,\nsince FC-GS-5 makes no provision for changing (back)\n\n\n\nto Basic mode.\n\nNote that setting this object does not cause or require\nthat the Fabric lock for the Zone Server be obtained.\nHowever, when this object has the value 'enhanced', any SNMP\nSetRequests that attempt to modify the copy database cannot\nbe successful if the Fabric lock has not been obtained\nor has since been released.") t11ZsServerChangeModeResult = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("success", 1), ("failure", 2), ("inProgress", 3), ("none", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsServerChangeModeResult.setDescription("When this object has the value of 'success' or\n'failure', the value indicates the outcome of the most\nrecent request, invoked via t11ZsServerOperationMode,\nto change the mode of operation of the Zone Server.\nWhen such a request is in progress, this object has the\nvalue 'inProgress'. Prior to the first such request,\nthe value of this object is 'none'.") t11ZsServerDefaultZoneSetting = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("permit", 1), ("deny", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerDefaultZoneSetting.setDescription("This object controls the Enhanced Zoning flag that\ngoverns the behavior of the Default Zone on this Fabric.\n\nIf this object is set to 'permit', then the members of\nthe Default Zone on this Fabric can communicate with\neach other.\n\n\n\n\nIf this object is set to 'deny', then the members of the\nDefault Zone on this Fabric cannot communicate with each\nother.") t11ZsServerMergeControlSetting = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("allow", 1), ("restrict", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerMergeControlSetting.setDescription("This object controls the Enhanced Zoning flag that\nindicates the Merge Control Setting for this Fabric:\n\n 'allow' - a switch may join the Fabric only if\n its Zoning Database is able to merge\n with the Fabric's Zoning Database.\n 'restrict' - a switch may join the Fabric only if\n its Zoning Database is equal to the\n Fabric's Zoning Database.") t11ZsServerDefZoneBroadcast = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 1, 1, 17), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsServerDefZoneBroadcast.setDescription("This object controls an Enhanced Zoning capability:\nit indicates whether Broadcast Zoning is enabled on\nthe Default Zone on this Fabric. If this object is\nset to 'true', then it is enabled. If this object is\nset to 'false', then it is disabled.\n\nIf broadcast Zoning is enabled on a Default Zone,\nthen broadcast frames generated by a member in that\nDefault Zone will be restricted to members in that\nDefault Zone.") t11ZsSetTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 2)) if mibBuilder.loadTexts: t11ZsSetTable.setDescription("A table containing information on every Zone\nSet in the Zone Set database of the Zone Servers\non each Fabric in one or more switches.\n\nIn Enhanced mode, changes to a database made via this\ntable are always made to the 'copy' database, but\nvalues read from this table reflect the contents of\neither the 'copy' database or the current (committed)\ndatabase as indicated by the corresponding value of\nt11ZsServerReadFromDatabase.") t11ZsSetEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsSetIndex")) if mibBuilder.loadTexts: t11ZsSetEntry.setDescription("Each entry contains information about a Zone Set\nin the Zone Set database of a particular Fabric\n(identified by the value of t11ZsServerFabricIndex)\non a particular switch (identified by values of\nfcmInstanceIndex and fcmSwitchIndex).\n\nA Zone Set can be created in an existing Zone Set\ndatabase, and can contain zero or more existing\nZones. As and when new Zones are created\n(as rows in the t11ZsZoneTable), they can be added\nto a Zone Set by creating an entry for each in the\nt11ZsSetZoneTable. Deleting a row from this table\ndeletes the Zone Set from the Zone Set database\nmaintained by the Zone Server, but does not otherwise\naffect the Zone Server.\n\nThe StorageType of a row in this table is specified by\nthe instance of t11ZsServerDatabaseStorageType that is\n\n\n\nINDEXed by the same values of fcmInstanceIndex,\nfcmSwitchIndex, and t11ZsServerFabricIndex.") t11ZsSetIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsSetIndex.setDescription("The index of a Zone Set. This object uniquely\nidentifies a Zone Set in the Zone Set database\nfor a particular Fabric on a particular switch.") t11ZsSetName = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 2, 1, 2), T11ZoningName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsSetName.setDescription("The name of this Zone Set. The t11ZsSetName should\nbe unique within a Fabric.\n\nThe Zone Set can be renamed at any time (i.e., even\nwhen the row in an active state) by setting this object\nto a new value.") t11ZsSetRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsSetRowStatus.setDescription("The status of this conceptual row.\n\nThis object cannot be set to 'active' unless the\ncorresponding value of t11ZsSetName is unique within\nthe Fabric's Zone Server database on this switch.") t11ZsZoneTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 3)) if mibBuilder.loadTexts: t11ZsZoneTable.setDescription("This table gives information on all the Zones in the\nZone Set database of the Zone Servers on each Fabric\nin one or more switches.\n\nIn Enhanced mode, changes to a database made via this\ntable are always made to the 'copy' database, but\nvalues read from this table reflect the contents of\neither the 'copy' database or the current (committed)\ndatabase as indicated by the corresponding value of\nt11ZsServerReadFromDatabase.") t11ZsZoneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 3, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsZoneIndex")) if mibBuilder.loadTexts: t11ZsZoneEntry.setDescription("Each entry contains information about a Zone\nin the Zone Set database of a particular Fabric\n(identified by the value of t11ZsServerFabricIndex)\non a particular switch (identified by values of\nfcmInstanceIndex and fcmSwitchIndex).\n\nA Zone can be created in an existing Zone Set\ndatabase, by first creating an entry in this table,\nand then adding members to it by creating entries in the\nt11ZsZoneMemberTable.\n\nThe StorageType of a row in this table is specified by\nthe instance of t11ZsServerDatabaseStorageType that is\nINDEXed by the same values of fcmInstanceIndex,\nfcmSwitchIndex, and t11ZsServerFabricIndex.") t11ZsZoneIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsZoneIndex.setDescription("An index value that uniquely identifies this\nZone within a particular Fabric's Zone Set database\non a particular switch.") t11ZsZoneName = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 3, 1, 2), T11ZoningName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsZoneName.setDescription("The name of this Zone. The t11ZsZoneName should be\nunique within a Fabric.\n\nThe Zone can be renamed by setting this object\nto a new value.") t11ZsZoneAttribBlock = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsZoneAttribBlock.setDescription("This object specifies the index value of the\nZone Attribute Block that contains the Attributes\nof this Zone.\n\nIn Enhanced mode, a value of zero indicates this\nZone has no Zone Attributes. In Basic mode, this\nobject always has the value of zero.") t11ZsZoneRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsZoneRowStatus.setDescription("The status of this conceptual row.\n\nThis object cannot be set to 'active' unless the\n\n\n\ncorresponding value of t11ZsZoneName is unique within\nthe Fabric's Zone Server database on this switch.") t11ZsSetZoneTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 4)) if mibBuilder.loadTexts: t11ZsSetZoneTable.setDescription("This table specifies which Zones belong to which Zone\nSets in the Zone Set database of the Zone Servers\non each Fabric in one or more switches.") t11ZsSetZoneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 4, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsSetIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsZoneIndex")) if mibBuilder.loadTexts: t11ZsSetZoneEntry.setDescription("Each entry specifies that a particular Zone (identified\nby the value of t11ZsZoneIndex) is one of the Zones\nthat form a particular Zone Set (identified by the\nvalue of t11ZsSetIndex) in the Zone Set database of a\nparticular Fabric (identified by the value of\nt11ZsServerFabricIndex) on a particular switch\n(identified by values of fcmInstanceIndex and\nfcmSwitchIndex).\n\nWhen a row in this table exists, it references one row in\nthe t11ZsSetTable and one row in the t11ZsZoneTable. The\nagent must ensure that both such rows when referenced by an\nactive row in this table, do exist and have a status of\n'active', either by refusing to create new rows in this\ntable, or by automatically deleting rows in this table.\n\nAn 'active' row in this table references one row in the\nt11ZsSetTable and one in the t11ZsZoneTable. The agent must\nensure that all such referenced rows exist with a status of\n'active', either by refusing to create new active rows in\nthis table, or by automatically deleting any rows in this\ntable that reference a deleted row.\n\nThe StorageType of a row in this table is specified by\nthe instance of t11ZsServerDatabaseStorageType that is\n\n\n\nINDEXed by the same values of fcmInstanceIndex,\nfcmSwitchIndex, and t11ZsServerFabricIndex.") t11ZsSetZoneRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 4, 1, 1), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsSetZoneRowStatus.setDescription("The status of this conceptual row.") t11ZsAliasTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 5)) if mibBuilder.loadTexts: t11ZsAliasTable.setDescription("This table contains information about the Zone Aliases\nin the Zone Set database of the Zone Servers on each\nFabric in one or more switches.\n\nIn Enhanced mode, changes to a database made via this\ntable are always made to the 'copy' database, but\nvalues read from this table reflect the contents of\neither the 'copy' database or the current (committed)\ndatabase as indicated by the corresponding value of\nt11ZsServerReadFromDatabase.") t11ZsAliasEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 5, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsAliasIndex")) if mibBuilder.loadTexts: t11ZsAliasEntry.setDescription("Each entry contains information about a Zone Alias in\nthe Zone Set database of a particular Fabric\n(identified by the value of t11ZsServerFabricIndex) on\n\n\n\na particular switch (identified by values of\nfcmInstanceIndex and fcmSwitchIndex).\n\nA Zone Member is added to a Zone Alias by creating\nan entry in the t11ZsZoneMemberTable pointing to a\nrow of this table via t11ZsAliasIndex, i.e.,:\n\n - t11ZsZoneMemberParentType = 'alias',\n - t11ZsZoneMemberParentIndex = Alias's t11ZsAliasIndex,\n - t11ZsZoneMemberFormat != '05 - Alias Name', and\n - t11ZsZoneMemberID = Member's identifier.\n\nA Zone Alias is added to a Zone by creating\nan entry in the t11ZsZoneMemberTable pointing to a\nrow of this table via t11ZsAliasName, i.e.,:\n\n - t11ZsZoneMemberParentType = 'zone', and\n - t11ZsZoneMemberParentIndex = Zone's t11ZsZoneIndex,\n - t11ZsZoneMemberFormat = '05 - Alias Name',\n - t11ZsZoneMemberID = Alias's t11ZsAliasName.\n\nThe StorageType of a row in this table is specified by\nthe instance of t11ZsServerDatabaseStorageType that is\nINDEXed by the same values of fcmInstanceIndex,\nfcmSwitchIndex, and t11ZsServerFabricIndex.") t11ZsAliasIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsAliasIndex.setDescription("An index value which uniquely identifies this Zone\nAlias within the Zone Set database of a particular\nFabric on a particular switch.") t11ZsAliasName = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 5, 1, 2), T11ZoningName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsAliasName.setDescription("The name of this Zone Alias. The name of the Zone\nAlias should be unique within a Fabric.\n\nThe Zone Alias can be renamed by setting this object\nto a new value if and when it is not in a Zone, i.e.,\nif and only if the current name is not the value of\nany t11ZsZoneMemberID in the same Zone Set database.") t11ZsAliasRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 5, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsAliasRowStatus.setDescription("The status of this conceptual row.\n\nThis object cannot be set to 'active' unless the\ncorresponding value of t11ZsAliasName is unique within\nthe Fabric's Zone Server database on this switch.") t11ZsZoneMemberTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 6)) if mibBuilder.loadTexts: t11ZsZoneMemberTable.setDescription("This table contains all members of a Zone/Zone Alias\nand information about those members in the Zone Set\ndatabase of the Zone Servers on each Fabric in one or\nmore switches.\n\nIn Enhanced mode, changes to a database made via this\ntable are always made to the 'copy' database, but\nvalues read from this table reflect the contents of\neither the 'copy' database or the current (committed)\ndatabase as indicated by the corresponding value of\nt11ZsServerReadFromDatabase.") t11ZsZoneMemberEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 6, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsZoneMemberParentType"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsZoneMemberParentIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsZoneMemberIndex")) if mibBuilder.loadTexts: t11ZsZoneMemberEntry.setDescription("Each entry represents the relationship between a\nmember and (one of) its 'parent(s)', i.e., a Zone\nor Zone Alias to which the member belongs, within\na particular Fabric (identified by the value of\nt11ZsServerFabricIndex) on a particular switch\n(identified by values of fcmInstanceIndex and\nfcmSwitchIndex).\n\nA Zone member (other than an alias) is added to a\nZone by creating an entry in this table having:\n\n - t11ZsZoneMemberParentType = 'zone', and\n - t11ZsZoneMemberParentIndex = Zone's t11ZsZoneIndex,\n - t11ZsZoneMemberFormat != '05 - Alias Name',\n - t11ZsZoneMemberID = Member's identifier.\n\nAn 'active' row in this table references rows in other\ntables. The agent must ensure that all such referenced\nrows exist with a status of 'active', either by refusing to\ncreate new active rows in this table, or by automatically\ndeleting any rows in this table that reference a deleted\nrow.\n\nThe StorageType of a row in this table is specified by\nthe instance of t11ZsServerDatabaseStorageType that is\nINDEXed by the same values of fcmInstanceIndex,\nfcmSwitchIndex, and t11ZsServerFabricIndex.") t11ZsZoneMemberParentType = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 6, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("zone", 1), ("alias", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsZoneMemberParentType.setDescription("This object determines whether this member belongs\nto a Zone or Zone Alias.") t11ZsZoneMemberParentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 6, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsZoneMemberParentIndex.setDescription("This object contains the index value of the Zone or\nZone Alias to which this member belongs.\n\nIf the value of the corresponding instance of\nt11ZsZoneMemberParentType is 'zone', then this object\nwill contain the value of the t11ZsZoneIndex object of\nthe Zone to which this member belongs.\n\nIf the value of the corresponding instance of\nt11ZsZoneMemberParentType is 'alias', then this object\nwill contain the value of the t11ZsAliasIndex object\nof the Zone Alias to which this member belongs.") t11ZsZoneMemberIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 6, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsZoneMemberIndex.setDescription("An index value that uniquely identifies this Zone\nMember amongst all Zone Members in the Zone Set\ndatabase of a particular Fabric on a particular switch.") t11ZsZoneMemberFormat = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 6, 1, 4), T11ZsZoneMemberType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsZoneMemberFormat.setDescription("This object identifies the format of the\nZone/Zone Alias member's identifier contained in\nt11ZsZoneMemberID.\n\nThis object cannot be modified while the corresponding\nvalue of t11ZsZoneMemberRowStatus object is 'active'.") t11ZsZoneMemberID = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 6, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsZoneMemberID.setDescription("This object contains the Member Identifier of the\nZone or Alias. The interpretation of this object\ndepends on the value of the corresponding instance\nof t11ZsZoneMemberFormat:\n\n - if t11ZsZoneMemberFormat is 'N_Port_Name', then\n this object contains an N_Port_Name.\n\n - if t11ZsZoneMemberFormat is 'Domain_ID and physical\n port', then this object contains a 4-octet value in\n network byte order. The first octet is zero,\n the second octet contains the Domain_ID, and the\n last 2 octets contain the physical port number.\n\n - if t11ZsZoneMemberFormat is 'N_Port_ID', then this\n object contains the 3-octet Nx_Port FC_ID.\n\n - if t11ZsZoneMemberFormat is 'Alias Name', then\n this object contains the value of t11ZsAliasName\n for some Alias in the same Zone Set database.\n\n - if t11ZsZoneMemberFormat is 'Node_Name', then\n this object contains an 8-octet Node_Name.\n\n - if t11ZsZoneMemberFormat is 'F_Port_Name', then\n this object contains an 8-octet F_Port_Name.\n\n - if t11ZsZoneMemberFormat is one of the 'Vendor\n Specific' values, then this object contains a value\n of 1 to 255 octets in a format defined by the relevant\n vendor.\n\nThis object cannot be modified while the corresponding\nvalue of t11ZsZoneMemberRowStatus object is 'active'.") t11ZsZoneMemberRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 6, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsZoneMemberRowStatus.setDescription("The status of this conceptual row.\n\n\n\n\nThe corresponding instances of t11ZsZoneMemberID and\nt11ZsZoneMemberFormat objects must be set before or\nconcurrently with setting this object to 'active'.") t11ZsAttribBlockTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 7)) if mibBuilder.loadTexts: t11ZsAttribBlockTable.setDescription("This table gives information on all the Zone\nAttributes in the Zone Set database of the Zone\nServers on each Fabric in one or more switches.\n\nIn Enhanced mode, changes to a database made via this\ntable are always made to the 'copy' database, but\nvalues read from this table reflect the contents of\neither the 'copy' database or the current (committed)\ndatabase as indicated by the corresponding value of\nt11ZsServerReadFromDatabase.") t11ZsAttribBlockEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 7, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsAttribBlockIndex")) if mibBuilder.loadTexts: t11ZsAttribBlockEntry.setDescription("Each entry contains information about a Zone Attribute\nBlock (of Zone Attributes) in the Zone Set database\nof a particular Fabric (identified by the value of\nt11ZsServerFabricIndex) on a particular switch\n(identified by values of fcmInstanceIndex and\nfcmSwitchIndex).\n\nAn 'active' row in this table references a row in the\nt11ZsAttribBlockTable. The agent must ensure that the\nreferenced rows exists with a status of 'active', either by\nrefusing to create new active rows in this table, or by\nautomatically deleting any rows in this table that\nreference a deleted row.\n\nThe StorageType of a row in this table is specified by\nthe instance of t11ZsServerDatabaseStorageType that is\nINDEXed by the same values of fcmInstanceIndex,\n\n\n\nfcmSwitchIndex, and t11ZsServerFabricIndex.") t11ZsAttribBlockIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 7, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsAttribBlockIndex.setDescription("An index value that uniquely identifies this Zone\nAttribute within the Zone Set database of a particular\nFabric on a particular switch.") t11ZsAttribBlockName = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 7, 1, 2), T11ZoningName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsAttribBlockName.setDescription("The name of this Zone Attribute Block, which should\nbe unique within the Fabric.") t11ZsAttribBlockRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 7, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsAttribBlockRowStatus.setDescription("The status of this conceptual row.") t11ZsAttribTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 8)) if mibBuilder.loadTexts: t11ZsAttribTable.setDescription("This table gives information on the Zone Attributes\nwithin the Zone Attribute Blocks in the Zone Set\ndatabase of the Zone Servers on each Fabric in one\nor more switches.\n\nIn Enhanced mode, changes to a database made via this\ntable are always made to the 'copy' database, but\nvalues read from this table reflect the contents of\neither the 'copy' database or the current (committed)\ndatabase as indicated by the corresponding value of\nt11ZsServerReadFromDatabase.") t11ZsAttribEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 8, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsAttribBlockIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsAttribIndex")) if mibBuilder.loadTexts: t11ZsAttribEntry.setDescription("Each entry contains information about a Zone\nAttribute in a Zone Attribute Block (identified by\nt11ZsAttribBlockIndex) in the Zone Set database of\na particular Fabric (identified by the value of\nt11ZsServerFabricIndex) on a particular switch\n(identified by values of fcmInstanceIndex and\nfcmSwitchIndex).\n\nAn entry in this table cannot be created prior to\nits associated entry in the t11ZsAttribBlockTable.\n\nThe StorageType of a row in this table is specified by\nthe instance of t11ZsServerDatabaseStorageType that is\nINDEXed by the same values of fcmInstanceIndex,\nfcmSwitchIndex, and t11ZsServerFabricIndex.") t11ZsAttribIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 8, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsAttribIndex.setDescription("An index value that uniquely identifies this\nZone Attribute within its Zone Attribute Block in\nthe Zone Set database of a particular Fabric on a\nparticular switch.") t11ZsAttribType = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 8, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsAttribType.setDescription("The type of attribute:\n\n0001 - Protocol\n0002 - Broadcast Zone\n0003 - Hard Zone\n00E0 (hex) - Vendor Specific.") t11ZsAttribValue = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 8, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 252))).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsAttribValue.setDescription("The value of the attribute, formatted as specified\nin FC-GS-5 for the type given by the corresponding\ninstance of t11ZsAttribType.\n\nNote that FC-GS-5 requires that the length of this\nvalue is a multiple of 4 bytes.") t11ZsAttribRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 8, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11ZsAttribRowStatus.setDescription("The status of this conceptual row.") t11ZsActivateTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 9)) if mibBuilder.loadTexts: t11ZsActivateTable.setDescription("This table provides a mechanism to allow a Zone Set\nto be activated on a Fabric.") t11ZsActivateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 9, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex")) if mibBuilder.loadTexts: t11ZsActivateEntry.setDescription("Each entry reflects the state of the activation of a\nZone Set by a particular switch (identified by values\nof fcmInstanceIndex and fcmSwitchIndex) on a particular\nFabric (identified by the value of\nt11ZsServerFabricIndex).") t11ZsActivateRequest = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 9, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsActivateRequest.setDescription("Setting this object to a value is a request for a\nZone Set to be activated on the Fabric that is\nrepresented by this row. The Zone Set to be\nactivated is the one for which t11ZsSetIndex has\nthe same value.\n\nIf a Zone Set is already active on a Fabric when a\nrequest is made to activate a different one on that\nFabric, then the existing Zone Set is automatically\ndeactivated and the specified Zone Set is activated\nin its place.\n\nThe value of this object when read is always 0.") t11ZsActivateDeactivate = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 9, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("deactivate", 1), ("noop", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsActivateDeactivate.setDescription("Setting this object to 'deactivate' is a request\nto deactivate the currently active Zone Set on\na Fabric.\n\nNote that the deactivation of the active Zone Set\nallows all ports to communicate or no ports to\ncommunicate, depending on the current Default Zone\nbehavior.\n\nNo action is taken if this object is set to 'noop'.\nWhen read, the value of this object is always 'noop'.") t11ZsActivateResult = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 9, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(6,4,2,3,1,5,)).subtype(namedValues=NamedValues(("activateSuccess", 1), ("activateFailure", 2), ("deactivateSuccess", 3), ("deactivateFailure", 4), ("inProgress", 5), ("none", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActivateResult.setDescription("This object indicates the outcome of the most recent\nactivation/deactivation using this entry.\n\nWhen the value of this object is 'inProgress', the\nvalues of the corresponding instances of\nt11ZsActivateRequest and t11ZsActivateDeactivate\ncannot be modified.\n\nThe value 'none' indicates activation/deactivation\nhas not been attempted since the last restart of\nthe management system.") t11ZsActivateFailCause = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 9, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActivateFailCause.setDescription("A textual message indicating the reason for the\nmost recent failure of a Zone Set activation or\ndeactivation, or the zero-length string if no\ninformation is available (e.g., because the\ncorresponding instance of t11ZsActivateResult\nhas the value 'none').\n\nWhen the corresponding instance of\nt11ZsActivateResult is either 'activateFailure'\nor 'deactivateFailure', the value of this object\nindicates the reason for that failure.") t11ZsActivateFailDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 9, 1, 5), FcDomainIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActivateFailDomainId.setDescription("If the failure cause (as indicated by\nt11ZsSetFailCause) was specific to a particular\ndevice, this object contains the Domain_ID of that\ndevice. Otherwise, this object contains zero.") t11ZsActiveTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 10)) if mibBuilder.loadTexts: t11ZsActiveTable.setDescription("A table containing information on the currently\nenforced/active Zone Set on each Fabric.\nAn active Zone Set cannot be modified.\nThis table will be empty when no Zone Set is\nactivated.") t11ZsActiveEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 10, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex")) if mibBuilder.loadTexts: t11ZsActiveEntry.setDescription("Each entry represents an active Zone Set of a\nparticular Fabric (identified by the value of\nt11ZsServerFabricIndex), according to a particular\nswitch (identified by values of fcmInstanceIndex and\nfcmSwitchIndex).") t11ZsActiveZoneSetName = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 10, 1, 1), T11ZoningName()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveZoneSetName.setDescription("The name of this Zone Set on this Fabric.") t11ZsActiveActivateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 10, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveActivateTime.setDescription("The value of sysUpTime at which this entry was most\nrecently activated. If this row was activated prior to\nthe last re-initialization of the local network management\nsystem, then this object will contain a zero value.") t11ZsActiveZoneTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 11)) if mibBuilder.loadTexts: t11ZsActiveZoneTable.setDescription("This table contains all the Zones that are present in\nthe active Zone Sets on all Fabrics.") t11ZsActiveZoneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 11, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneIndex")) if mibBuilder.loadTexts: t11ZsActiveZoneEntry.setDescription("Each entry represents a Zone in the active Zone Set\nof a particular Fabric (identified by the value of\nt11ZsServerFabricIndex), according to a particular\nswitch (identified by values of fcmInstanceIndex and\nfcmSwitchIndex).") t11ZsActiveZoneIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 11, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsActiveZoneIndex.setDescription("An index value that uniquely identifies this Zone\nwithin the active Zone Set on a particular Fabric.") t11ZsActiveZoneName = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 11, 1, 2), T11ZoningName()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveZoneName.setDescription("The name of this Zone.") t11ZsActiveZoneBroadcastZoning = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 11, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveZoneBroadcastZoning.setDescription("This object indicates whether broadcast Zoning is\nenabled on this Zone. If broadcast Zoning is enabled,\nthen broadcast frames generated by a member in this\nZone will be restricted to members in this Zone.\n\nThis object is only instantiated in Enhanced mode.") t11ZsActiveZoneHardZoning = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 11, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveZoneHardZoning.setDescription("This object indicates whether hard Zoning is\nenabled on this Zone.\n\nThis object is only instantiated in Enhanced mode.") t11ZsActiveZoneMemberTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 12)) if mibBuilder.loadTexts: t11ZsActiveZoneMemberTable.setDescription("This table contains all members of all Zones\nwithin the active Zone Set on any Fabric.") t11ZsActiveZoneMemberEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 12, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneMemberIndex")) if mibBuilder.loadTexts: t11ZsActiveZoneMemberEntry.setDescription("Each entry represents a member of a Zone in the active\nZone Set of a particular Fabric (identified by the value\nt11ZsServerFabricIndex), according to a particular\nswitch (identified by values of fcmInstanceIndex and\nfcmSwitchIndex).") t11ZsActiveZoneMemberIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 12, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsActiveZoneMemberIndex.setDescription("An index value that uniquely identifies this\nmember amongst the members of a particular Zone\nin the active Zone Set on a particular Fabric.") t11ZsActiveZoneMemberFormat = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 12, 1, 2), T11ZsZoneMemberType()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveZoneMemberFormat.setDescription("This object identifies the identifier format of the\ncorresponding instance of t11ZsActiveZoneMemberID.") t11ZsActiveZoneMemberID = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 12, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveZoneMemberID.setDescription("This value of this object identifies the member\nusing the format specified in the corresponding\ninstance of t11ZsActiveZoneMemberFormat.") t11ZsActiveAttribTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 13)) if mibBuilder.loadTexts: t11ZsActiveAttribTable.setDescription("This table contains information about some of the\nAttributes of the Zones within the active Zone Set\non each Fabric.\n\nThis table contains all the types of attributes\nthat might apply zero, one, or more times to a Zone.\nAttributes that apply once and only to a Zone are\nspecified in the t11ZsActiveZoneTable.\n\nThis table will always be empty in Basic mode.\nIt will also be empty if there are no Zones in\nany active Zone Set having any of the applicable\ntypes of attributes.") t11ZsActiveAttribEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 13, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsActiveAttribIndex")) if mibBuilder.loadTexts: t11ZsActiveAttribEntry.setDescription("Each entry contains an Attribute of a particular\nZone in the active Zone Set of a particular Fabric\n(identified by the value of t11ZsServerFabricIndex),\naccording to a particular switch (identified by\nvalues of fcmInstanceIndex and fcmSwitchIndex).") t11ZsActiveAttribIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 13, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11ZsActiveAttribIndex.setDescription("An index value that uniquely identifies this\nattribute amongst the other attributes for a\nparticular Zone in the active Zone Set on a\nparticular Fabric.") t11ZsActiveAttribType = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 13, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveAttribType.setDescription("The type of attribute:\n\n0001 - Protocol\n00E0 (hex) - Vendor Specific\n\nNote that type 2 (Hard) and type 3 (Broadcast)\ndo not need to be represented here, because they\nare represented by t11ZsActiveZoneBroadcastZoning and\nt11ZsActiveZoneHardZoning.") t11ZsActiveAttribValue = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 13, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 252))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsActiveAttribValue.setDescription("The value of the attribute, formatted according to\nits type as indicated by the corresponding instance\nof t11ZsActiveAttribType.\n\nAs specified in FC-GS-5, the length of an attribute\nvalue is at least 4 bytes, and if necessary, the value\nis appended with zero bytes so that the length is a\nmultiple of 4. For a Vendor-Specific attribute\nvalue, the first 8 bytes contain the T10 Vendor ID\nas described in FC-GS-5.") t11ZsNotifyControlTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 1, 14)) if mibBuilder.loadTexts: t11ZsNotifyControlTable.setDescription("A table of control information for notifications\ngenerated due to Zone Server events.") t11ZsNotifyControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex")) if mibBuilder.loadTexts: t11ZsNotifyControlEntry.setDescription("Each entry contains notification control information\nspecific to a Zone Server for a particular Fabric\n(identified by the value of t11ZsServerFabricIndex)\non a particular switch (identified by values of\nfcmInstanceIndex and fcmSwitchIndex).\n\nThe persistence across reboots of writable values in\na row of this table is specified by the instance of\nt11ZsServerDatabaseStorageType that is INDEXed by\nthe same values of fcmInstanceIndex, fcmSwitchIndex,\nand t11ZsServerFabricIndex.") t11ZsNotifyRequestRejectEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsNotifyRequestRejectEnable.setDescription("This object specifies whether t11ZsRequestRejectNotify\nnotifications should be generated by the Zone Server\nfor this Fabric.") t11ZsNotifyMergeFailureEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsNotifyMergeFailureEnable.setDescription("This object specifies whether t11ZsMergeFailureNotify\nnotifications should be generated by the Zone Server\nfor this Fabric.") t11ZsNotifyMergeSuccessEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 3), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsNotifyMergeSuccessEnable.setDescription("This object specifies whether t11ZsMergeSuccessNotify\nnotifications should be generated by the Zone Server\nfor this Fabric.") t11ZsNotifyDefZoneChangeEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsNotifyDefZoneChangeEnable.setDescription("This object specifies whether t11ZsDefZoneChangeNotify\nnotifications should be generated by the Zone Server\n\n\n\nfor this Fabric.") t11ZsNotifyActivateEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11ZsNotifyActivateEnable.setDescription("This object specifies whether t11ZsActivateNotify\nnotifications should be generated by the Zone Server\nfor this Fabric.") t11ZsRejectCtCommandString = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsRejectCtCommandString.setDescription("The binary content of the Zone Server request,\nformatted as an octet string (in network byte order)\ncontaining the Common Transport Information Unit\n(CT_IU), as described in Table 2 of FC-GS-5 (including\nthe preamble), which was most recently rejected by the\nFabric Configuration Server for this Fabric.\n\nThis object contains the zero-length string\nif and when the CT-IU's content is unavailable.\n\nWhen the length of this object is 255 octets, it\ncontains the first 255 octets of the CT-IU (in\nnetwork byte order).") t11ZsRejectRequestSource = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 7), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsRejectRequestSource.setDescription("The WWN that was the source of the CT_IU\ncontained in the corresponding instance of\nt11ZsRejectCtCommandString.") t11ZsRejectReasonCode = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 8), T11NsGs4RejectReasonCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsRejectReasonCode.setDescription("The reason code corresponding to the most recent\nrejection of a request by the Zone Server for\nthis Fabric.") t11ZsRejectReasonCodeExp = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 9), T11ZsRejectReasonExplanation()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsRejectReasonCodeExp.setDescription("When the value of t11ZsRejectReasonCode is\n'Unable to perform command request', this\nobject contains the corresponding reason code\nexplanation.") t11ZsRejectReasonVendorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 1, 14, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsRejectReasonVendorCode.setDescription("When the value of t11ZsRejectReasonCode is\n'Vendor Specific Error', this object contains\nthe corresponding vendor-specific reason code.") t11ZsFabricIndex = MibScalar((1, 3, 6, 1, 2, 1, 160, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: t11ZsFabricIndex.setDescription("This object contains either a value of\nT11FabricIndex to identify the Fabric on which\nsome occurrence has caused a notification to be\ngenerated, or it has the value 4096 to indicate\nall applicable Fabrics.") t11ZsStatistics = MibIdentifier((1, 3, 6, 1, 2, 1, 160, 1, 2)) t11ZsStatsTable = MibTable((1, 3, 6, 1, 2, 1, 160, 1, 2, 1)) if mibBuilder.loadTexts: t11ZsStatsTable.setDescription("A table of statistics maintained by Zone Servers.") t11ZsStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ZONE-SERVER-MIB", "t11ZsServerFabricIndex")) if mibBuilder.loadTexts: t11ZsStatsEntry.setDescription("A set of statistics for a Zone Server on a\nparticular Fabric (identified by the value of\nt11ZsServerFabricIndex) on a particular switch\n(identified by values of fcmInstanceIndex and\nfcmSwitchIndex).") t11ZsOutMergeRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsOutMergeRequests.setDescription("The number of Merge Request Frames sent by this Zone\nServer to other Zone Servers in the same Fabric.\n\nThis counter has no discontinuities other than those\n\n\n\nthat all Counter32s have when sysUpTime=0.") t11ZsInMergeAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsInMergeAccepts.setDescription("The number of Merge Accept Frames received by this Zone\nServer from other Zone Servers in the same Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsInMergeRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsInMergeRequests.setDescription("The number of Merge Request Frames received by this Zone\nServer from other Zone Servers in the same Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsOutMergeAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsOutMergeAccepts.setDescription("The number of Merge Accept Frames sent by this Zone\nServer to other Zone Servers in the same Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsOutChangeRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsOutChangeRequests.setDescription("The number of change requests sent (via the Fabric\nManagement Session Protocol) by this Zone Server to\nother Zone Servers in the same Fabric.\n\n\n\n\nThis includes Acquire Change Authorization requests, Stage\nFabric Config Update requests, Update Fabric Config requests\nand Release Change Authorization requests. It also includes\nthe corresponding types of requests defined by the Enhanced\nCommit Service.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsInChangeAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsInChangeAccepts.setDescription("The number of SW_ACC messages received from other Zone\nServers in the same Fabric (according to the Fabric\nManagement Session Protocol) in response to change\nrequests by this Zone Server.\n\nThis includes SW_ACC messages received in response to\nAcquire Change Authorization requests, to Stage Fabric\nConfig Update requests, to Update Fabric Config requests,\nand to Release Change Authorization requests. It also\nincludes responses to the corresponding types of requests\ndefined for the Enhanced Commit Service.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsInChangeRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsInChangeRequests.setDescription("The number of change requests received (via the Fabric\nManagement Session Protocol) by this Zone Server from\nother Zone Servers in the same Fabric.\n\nThis includes Acquire Change Authorization requests, Stage\nFabric Config Update requests, Update Fabric Config requests\n\n\n\nand Release Change Authorization requests. It also includes\nthe corresponding types of requests defined by the Enhanced\nCommit Service.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsOutChangeAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsOutChangeAccepts.setDescription("The number of SW_ACC messages sent by this Zone Server\n(according to the Fabric Management Session Protocol) in\nresponse to change requests from other Zone Servers in\nthe same Fabric.\n\nThis includes SW_ACC messages sent in response to\nAcquire Change Authorization requests, to Stage Fabric\nConfig Update requests, to Update Fabric Config requests\nand to Release Change Authorization requests. It also\nincludes responses to the corresponding types of requests\ndefined for the Enhanced Commit Service.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsInZsRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsInZsRequests.setDescription("The number of Zone Server requests received by this\nZone Server on this Fabric, both those received in\nBasic mode and in Enhanced mode.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsOutZsRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 160, 1, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11ZsOutZsRejects.setDescription("The number of Zone Server requests rejected by this\nZone Server on this Fabric, both those rejected in\nBasic mode and in Enhanced mode.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11ZsMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 160, 2)) t11ZsMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 160, 2, 1)) t11ZsMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 160, 2, 2)) # Augmentions # Notifications t11ZsRequestRejectNotify = NotificationType((1, 3, 6, 1, 2, 1, 160, 0, 1)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectReasonCode"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectReasonCodeExp"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectCtCommandString"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectRequestSource"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectReasonVendorCode"), ) ) if mibBuilder.loadTexts: t11ZsRequestRejectNotify.setDescription("This notification is generated whenever a Zone Server\n(indicated by the value of t11FamLocalSwitchWwn) rejects\na request.\n\nThe value of t11ZsRejectCtCommandString indicates the\nrejected request, and the values of t11ZsRejectReasonCode,\nt11ZsRejectReasonCodeExp and t11ZsRejectReasonVendorCode\nindicate the reason for the rejection. The value of\nt11ZsRequestClient indicates the source of the request.") t11ZsMergeFailureNotify = NotificationType((1, 3, 6, 1, 2, 1, 160, 0, 2)).setObjects(*(("IF-MIB", "ifIndex"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsFabricIndex"), ) ) if mibBuilder.loadTexts: t11ZsMergeFailureNotify.setDescription("This notification indicates that a Zone merge\nfailure has occurred on the Fabric indicated by the\nvalue of t11ZsFabricIndex, on the interface\nindicated by the value of ifIndex.\n\nIf multiple Virtual Fabrics are configured on an\ninterface, and all have a Zone merge failure\nat the same time, then just one notification is\ngenerated and t11ZsFabricIndex has the value 4096.") t11ZsMergeSuccessNotify = NotificationType((1, 3, 6, 1, 2, 1, 160, 0, 3)).setObjects(*(("IF-MIB", "ifIndex"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsFabricIndex"), ) ) if mibBuilder.loadTexts: t11ZsMergeSuccessNotify.setDescription("This notification indicates that a successful Zone\nmerge has occurred on the Fabric indicated by the\nvalue of t11ZsFabricIndex, on the interface\nindicated by the value of ifIndex.\n\nIf multiple Virtual Fabrics are configured on an\ninterface, and all have a successful Zone Merge\n\n\n\nat the same time, then just one notification is\ngenerated and t11ZsFabricIndex has the value 4096.") t11ZsDefZoneChangeNotify = NotificationType((1, 3, 6, 1, 2, 1, 160, 0, 4)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsServerDefaultZoneSetting"), ) ) if mibBuilder.loadTexts: t11ZsDefZoneChangeNotify.setDescription("This notification indicates that the\nvalue of a Default Zone Setting has changed.\nThe value of t11ZsServerDefaultZoneSetting\ncontains the value after the change.") t11ZsActivateNotify = NotificationType((1, 3, 6, 1, 2, 1, 160, 0, 5)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateResult"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ) ) if mibBuilder.loadTexts: t11ZsActivateNotify.setDescription("This notification is generated whenever a switch\n(indicated by the value of t11FamLocalSwitchWwn)\nactivates/deactivates a Zone Set on a Fabric.\nThe t11ZsActivateResult object denotes the outcome\nof the activation/deactivation.") # Groups t11ZsBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 160, 2, 2, 1)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneSetName"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsZoneMemberID"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneMemberID"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsSetZoneRowStatus"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsZoneRowStatus"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsZoneName"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerReasonCode"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerDistribute"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsZoneMemberRowStatus"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerReasonVendorCode"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneName"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsZoneMemberFormat"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerReasonCodeExp"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerDatabaseStorageType"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerCapabilityObject"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsSetName"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerResult"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerReadFromDatabase"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsSetRowStatus"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveActivateTime"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerHardZoning"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerOperationMode"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneMemberFormat"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsZoneAttribBlock"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerLastChange"), ) ) if mibBuilder.loadTexts: t11ZsBasicGroup.setDescription("A collection of objects for displaying and updating\nthe Zone configuration of a Zone Server capable of\noperating in Basic mode.") t11ZsEnhancedModeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 160, 2, 2, 2)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsServerCommit"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerDefZoneBroadcast"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveAttribValue"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerChangeModeResult"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsAttribType"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsAliasName"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsAttribBlockName"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsAliasRowStatus"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsAttribRowStatus"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneBroadcastZoning"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerDefaultZoneSetting"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsServerMergeControlSetting"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsAttribBlockRowStatus"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveZoneHardZoning"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActiveAttribType"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsAttribValue"), ) ) if mibBuilder.loadTexts: t11ZsEnhancedModeGroup.setDescription("A collection of additional objects for displaying\nand updating the Zone configuration of a Zone Server\ncapable of operating in Enhanced mode.") t11ZsStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 160, 2, 2, 3)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsInMergeRequests"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsInChangeAccepts"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsOutChangeAccepts"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsOutChangeRequests"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsOutZsRejects"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsOutMergeRequests"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsInZsRequests"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsInMergeAccepts"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsOutMergeAccepts"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsInChangeRequests"), ) ) if mibBuilder.loadTexts: t11ZsStatisticsGroup.setDescription("A collection of objects for collecting Zone Server\nstatistics information.") t11ZsNotificationControlGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 160, 2, 2, 4)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsNotifyRequestRejectEnable"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectReasonCodeExp"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsNotifyMergeSuccessEnable"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectRequestSource"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsNotifyMergeFailureEnable"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsNotifyDefZoneChangeEnable"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectReasonVendorCode"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsNotifyActivateEnable"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectReasonCode"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRejectCtCommandString"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsFabricIndex"), ) ) if mibBuilder.loadTexts: t11ZsNotificationControlGroup.setDescription("A collection of notification control and\nnotification information objects for monitoring\nZone Server request rejection and Zone merge\nfailures.") t11ZsActivateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 160, 2, 2, 5)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateDeactivate"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateFailDomainId"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateRequest"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateResult"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateFailCause"), ) ) if mibBuilder.loadTexts: t11ZsActivateGroup.setDescription("A collection of objects that allow a Zone Set to\nbe activated via SNMP SetRequests and provide the\nstatus and result of such an activation.") t11ZsNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 160, 2, 2, 6)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateNotify"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsRequestRejectNotify"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsMergeFailureNotify"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsMergeSuccessNotify"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsDefZoneChangeNotify"), ) ) if mibBuilder.loadTexts: t11ZsNotificationGroup.setDescription("A collection of notification(s) for monitoring\nZone Server request rejection, Zone merge\nfailures and successes, and Default Zoning\nbehavioral changes.") # Compliances t11ZsMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 160, 2, 1, 1)).setObjects(*(("T11-FC-ZONE-SERVER-MIB", "t11ZsActivateGroup"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsNotificationGroup"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsNotificationControlGroup"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsBasicGroup"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsEnhancedModeGroup"), ("T11-FC-ZONE-SERVER-MIB", "t11ZsStatisticsGroup"), ) ) if mibBuilder.loadTexts: t11ZsMIBCompliance.setDescription("The compliance statement for entities that\nimplement the Zone Server.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-ZONE-SERVER-MIB", PYSNMP_MODULE_ID=t11ZoneServerMIB) # Types mibBuilder.exportSymbols("T11-FC-ZONE-SERVER-MIB", T11ZoningName=T11ZoningName, T11ZsRejectReasonExplanation=T11ZsRejectReasonExplanation, T11ZsZoneMemberType=T11ZsZoneMemberType) # Objects mibBuilder.exportSymbols("T11-FC-ZONE-SERVER-MIB", t11ZoneServerMIB=t11ZoneServerMIB, t11ZsMIBNotifications=t11ZsMIBNotifications, t11ZsMIBObjects=t11ZsMIBObjects, t11ZsConfiguration=t11ZsConfiguration, t11ZsServerTable=t11ZsServerTable, t11ZsServerEntry=t11ZsServerEntry, t11ZsServerFabricIndex=t11ZsServerFabricIndex, t11ZsServerCapabilityObject=t11ZsServerCapabilityObject, t11ZsServerDatabaseStorageType=t11ZsServerDatabaseStorageType, t11ZsServerDistribute=t11ZsServerDistribute, t11ZsServerCommit=t11ZsServerCommit, t11ZsServerResult=t11ZsServerResult, t11ZsServerReasonCode=t11ZsServerReasonCode, t11ZsServerReasonCodeExp=t11ZsServerReasonCodeExp, t11ZsServerReasonVendorCode=t11ZsServerReasonVendorCode, t11ZsServerLastChange=t11ZsServerLastChange, t11ZsServerHardZoning=t11ZsServerHardZoning, t11ZsServerReadFromDatabase=t11ZsServerReadFromDatabase, t11ZsServerOperationMode=t11ZsServerOperationMode, t11ZsServerChangeModeResult=t11ZsServerChangeModeResult, t11ZsServerDefaultZoneSetting=t11ZsServerDefaultZoneSetting, t11ZsServerMergeControlSetting=t11ZsServerMergeControlSetting, t11ZsServerDefZoneBroadcast=t11ZsServerDefZoneBroadcast, t11ZsSetTable=t11ZsSetTable, t11ZsSetEntry=t11ZsSetEntry, t11ZsSetIndex=t11ZsSetIndex, t11ZsSetName=t11ZsSetName, t11ZsSetRowStatus=t11ZsSetRowStatus, t11ZsZoneTable=t11ZsZoneTable, t11ZsZoneEntry=t11ZsZoneEntry, t11ZsZoneIndex=t11ZsZoneIndex, t11ZsZoneName=t11ZsZoneName, t11ZsZoneAttribBlock=t11ZsZoneAttribBlock, t11ZsZoneRowStatus=t11ZsZoneRowStatus, t11ZsSetZoneTable=t11ZsSetZoneTable, t11ZsSetZoneEntry=t11ZsSetZoneEntry, t11ZsSetZoneRowStatus=t11ZsSetZoneRowStatus, t11ZsAliasTable=t11ZsAliasTable, t11ZsAliasEntry=t11ZsAliasEntry, t11ZsAliasIndex=t11ZsAliasIndex, t11ZsAliasName=t11ZsAliasName, t11ZsAliasRowStatus=t11ZsAliasRowStatus, t11ZsZoneMemberTable=t11ZsZoneMemberTable, t11ZsZoneMemberEntry=t11ZsZoneMemberEntry, t11ZsZoneMemberParentType=t11ZsZoneMemberParentType, t11ZsZoneMemberParentIndex=t11ZsZoneMemberParentIndex, t11ZsZoneMemberIndex=t11ZsZoneMemberIndex, t11ZsZoneMemberFormat=t11ZsZoneMemberFormat, t11ZsZoneMemberID=t11ZsZoneMemberID, t11ZsZoneMemberRowStatus=t11ZsZoneMemberRowStatus, t11ZsAttribBlockTable=t11ZsAttribBlockTable, t11ZsAttribBlockEntry=t11ZsAttribBlockEntry, t11ZsAttribBlockIndex=t11ZsAttribBlockIndex, t11ZsAttribBlockName=t11ZsAttribBlockName, t11ZsAttribBlockRowStatus=t11ZsAttribBlockRowStatus, t11ZsAttribTable=t11ZsAttribTable, t11ZsAttribEntry=t11ZsAttribEntry, t11ZsAttribIndex=t11ZsAttribIndex, t11ZsAttribType=t11ZsAttribType, t11ZsAttribValue=t11ZsAttribValue, t11ZsAttribRowStatus=t11ZsAttribRowStatus, t11ZsActivateTable=t11ZsActivateTable, t11ZsActivateEntry=t11ZsActivateEntry, t11ZsActivateRequest=t11ZsActivateRequest, t11ZsActivateDeactivate=t11ZsActivateDeactivate, t11ZsActivateResult=t11ZsActivateResult, t11ZsActivateFailCause=t11ZsActivateFailCause, t11ZsActivateFailDomainId=t11ZsActivateFailDomainId, t11ZsActiveTable=t11ZsActiveTable, t11ZsActiveEntry=t11ZsActiveEntry, t11ZsActiveZoneSetName=t11ZsActiveZoneSetName, t11ZsActiveActivateTime=t11ZsActiveActivateTime, t11ZsActiveZoneTable=t11ZsActiveZoneTable, t11ZsActiveZoneEntry=t11ZsActiveZoneEntry, t11ZsActiveZoneIndex=t11ZsActiveZoneIndex, t11ZsActiveZoneName=t11ZsActiveZoneName, t11ZsActiveZoneBroadcastZoning=t11ZsActiveZoneBroadcastZoning, t11ZsActiveZoneHardZoning=t11ZsActiveZoneHardZoning, t11ZsActiveZoneMemberTable=t11ZsActiveZoneMemberTable, t11ZsActiveZoneMemberEntry=t11ZsActiveZoneMemberEntry, t11ZsActiveZoneMemberIndex=t11ZsActiveZoneMemberIndex, t11ZsActiveZoneMemberFormat=t11ZsActiveZoneMemberFormat, t11ZsActiveZoneMemberID=t11ZsActiveZoneMemberID, t11ZsActiveAttribTable=t11ZsActiveAttribTable, t11ZsActiveAttribEntry=t11ZsActiveAttribEntry, t11ZsActiveAttribIndex=t11ZsActiveAttribIndex, t11ZsActiveAttribType=t11ZsActiveAttribType, t11ZsActiveAttribValue=t11ZsActiveAttribValue, t11ZsNotifyControlTable=t11ZsNotifyControlTable, t11ZsNotifyControlEntry=t11ZsNotifyControlEntry, t11ZsNotifyRequestRejectEnable=t11ZsNotifyRequestRejectEnable, t11ZsNotifyMergeFailureEnable=t11ZsNotifyMergeFailureEnable, t11ZsNotifyMergeSuccessEnable=t11ZsNotifyMergeSuccessEnable, t11ZsNotifyDefZoneChangeEnable=t11ZsNotifyDefZoneChangeEnable, t11ZsNotifyActivateEnable=t11ZsNotifyActivateEnable, t11ZsRejectCtCommandString=t11ZsRejectCtCommandString, t11ZsRejectRequestSource=t11ZsRejectRequestSource, t11ZsRejectReasonCode=t11ZsRejectReasonCode, t11ZsRejectReasonCodeExp=t11ZsRejectReasonCodeExp, t11ZsRejectReasonVendorCode=t11ZsRejectReasonVendorCode, t11ZsFabricIndex=t11ZsFabricIndex, t11ZsStatistics=t11ZsStatistics, t11ZsStatsTable=t11ZsStatsTable, t11ZsStatsEntry=t11ZsStatsEntry, t11ZsOutMergeRequests=t11ZsOutMergeRequests, t11ZsInMergeAccepts=t11ZsInMergeAccepts, t11ZsInMergeRequests=t11ZsInMergeRequests, t11ZsOutMergeAccepts=t11ZsOutMergeAccepts, t11ZsOutChangeRequests=t11ZsOutChangeRequests, t11ZsInChangeAccepts=t11ZsInChangeAccepts, t11ZsInChangeRequests=t11ZsInChangeRequests, t11ZsOutChangeAccepts=t11ZsOutChangeAccepts, t11ZsInZsRequests=t11ZsInZsRequests, t11ZsOutZsRejects=t11ZsOutZsRejects, t11ZsMIBConformance=t11ZsMIBConformance, t11ZsMIBCompliances=t11ZsMIBCompliances, t11ZsMIBGroups=t11ZsMIBGroups) # Notifications mibBuilder.exportSymbols("T11-FC-ZONE-SERVER-MIB", t11ZsRequestRejectNotify=t11ZsRequestRejectNotify, t11ZsMergeFailureNotify=t11ZsMergeFailureNotify, t11ZsMergeSuccessNotify=t11ZsMergeSuccessNotify, t11ZsDefZoneChangeNotify=t11ZsDefZoneChangeNotify, t11ZsActivateNotify=t11ZsActivateNotify) # Groups mibBuilder.exportSymbols("T11-FC-ZONE-SERVER-MIB", t11ZsBasicGroup=t11ZsBasicGroup, t11ZsEnhancedModeGroup=t11ZsEnhancedModeGroup, t11ZsStatisticsGroup=t11ZsStatisticsGroup, t11ZsNotificationControlGroup=t11ZsNotificationControlGroup, t11ZsActivateGroup=t11ZsActivateGroup, t11ZsNotificationGroup=t11ZsNotificationGroup) # Compliances mibBuilder.exportSymbols("T11-FC-ZONE-SERVER-MIB", t11ZsMIBCompliance=t11ZsMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/NET-SNMP-MONITOR-MIB.py0000644000014400001440000000436011736645137021767 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NET-SNMP-MONITOR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:57 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( netSnmpModuleIDs, netSnmpObjects, ) = mibBuilder.importSymbols("NET-SNMP-MIB", "netSnmpModuleIDs", "netSnmpObjects") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Objects nsProcess = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 21)) nsDisk = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 22)) nsFile = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 23)) nsLog = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 24)) netSnmpMonitorMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 8072, 3, 1, 3)).setRevisions(("2002-02-09 00:00",)) if mibBuilder.loadTexts: netSnmpMonitorMIB.setOrganization("www.net-snmp.org") if mibBuilder.loadTexts: netSnmpMonitorMIB.setContactInfo("postal: Wes Hardaker\nP.O. Box 382\nDavis CA 95617\n\nemail: net-snmp-coders@lists.sourceforge.net") if mibBuilder.loadTexts: netSnmpMonitorMIB.setDescription("Configured elements of the system to monitor\n(XXX - ugh! - need a better description!)") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("NET-SNMP-MONITOR-MIB", PYSNMP_MODULE_ID=netSnmpMonitorMIB) # Objects mibBuilder.exportSymbols("NET-SNMP-MONITOR-MIB", nsProcess=nsProcess, nsDisk=nsDisk, nsFile=nsFile, nsLog=nsLog, netSnmpMonitorMIB=netSnmpMonitorMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/GMPLS-TC-STD-MIB.py0000644000014400001440000000554711736645136021266 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python GMPLS-TC-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:01 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class GmplsFreeformLabelTC(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,64) class GmplsLabelTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,6,5,4,2,3,) namedValues = NamedValues(("gmplsMplsLabel", 1), ("gmplsPortWavelengthLabel", 2), ("gmplsFreeformGeneralizedLabel", 3), ("gmplsSonetLabel", 4), ("gmplsSdhLabel", 5), ("gmplsWavebandLabel", 6), ) class GmplsSegmentDirectionTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("forward", 1), ("reverse", 2), ) # Objects gmplsTCStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 12)).setRevisions(("2007-02-28 00:00",)) if mibBuilder.loadTexts: gmplsTCStdMIB.setOrganization("IETF Common Control and Measurement Plane (CCAMP) Working Group") if mibBuilder.loadTexts: gmplsTCStdMIB.setContactInfo(" Thomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\n\nAdrian Farrel\nOld Dog Consulting\nEmail: adrian@olddog.co.uk\n\nComments about this document should be emailed directly to the\nCCAMP working group mailing list at ccamp@ops.ietf.org") if mibBuilder.loadTexts: gmplsTCStdMIB.setDescription("Copyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4801; see the RFC itself for\nfull legal notices.\n\nThis MIB module defines TEXTUAL-CONVENTIONs for concepts used in\nGeneralized Multiprotocol Label Switching (GMPLS) networks.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("GMPLS-TC-STD-MIB", PYSNMP_MODULE_ID=gmplsTCStdMIB) # Types mibBuilder.exportSymbols("GMPLS-TC-STD-MIB", GmplsFreeformLabelTC=GmplsFreeformLabelTC, GmplsLabelTypeTC=GmplsLabelTypeTC, GmplsSegmentDirectionTC=GmplsSegmentDirectionTC) # Objects mibBuilder.exportSymbols("GMPLS-TC-STD-MIB", gmplsTCStdMIB=gmplsTCStdMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/PIM-STD-MIB.py0000644000014400001440000037466611736645137020541 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PIM-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:26 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAipRouteProtocol, ) = mibBuilder.importSymbols("IANA-RTPROTO-MIB", "IANAipRouteProtocol") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetVersion, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetVersion") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TruthValue") # Types class PimGroupMappingOriginType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,2,4,6,3,7,1,) namedValues = NamedValues(("fixed", 1), ("configRp", 2), ("configSsm", 3), ("bsr", 4), ("autoRP", 5), ("embedded", 6), ("other", 7), ) class PimMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,5,4,6,3,) namedValues = NamedValues(("none", 1), ("ssm", 2), ("asm", 3), ("bidir", 4), ("dm", 5), ("other", 6), ) # Objects pimStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 157)).setRevisions(("2007-11-02 00:00",)) if mibBuilder.loadTexts: pimStdMIB.setOrganization("IETF Protocol Independent Multicast (PIM) Working Group") if mibBuilder.loadTexts: pimStdMIB.setContactInfo("Email: pim@ietf.org\nWG charter:\n\n\n\n\nhttp://www.ietf.org/html.charters/pim-charter.html") if mibBuilder.loadTexts: pimStdMIB.setDescription("The MIB module for management of PIM routers.\n\nCopyright (C) The IETF Trust (2007). This version of this\nMIB module is part of RFC 5060; see the RFC itself for full\nlegal notices.") pimNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 157, 0)) pim = MibIdentifier((1, 3, 6, 1, 2, 1, 157, 1)) pimInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 1)) if mibBuilder.loadTexts: pimInterfaceTable.setDescription("The (conceptual) table listing the router's PIM interfaces.\nPIM is enabled on all interfaces listed in this table.") pimInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 1, 1)).setIndexNames((0, "PIM-STD-MIB", "pimInterfaceIfIndex"), (0, "PIM-STD-MIB", "pimInterfaceIPVersion")) if mibBuilder.loadTexts: pimInterfaceEntry.setDescription("An entry (conceptual row) in the pimInterfaceTable. This\nentry is preserved on agent restart.") pimInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimInterfaceIfIndex.setDescription("The ifIndex value of this PIM interface.") pimInterfaceIPVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 2), InetVersion()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimInterfaceIPVersion.setDescription("The IP version of this PIM interface. A physical interface\nmay be configured in multiple modes concurrently, e.g., IPv4\nand IPv6; however, the traffic is considered to be logically\nseparate.") pimInterfaceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceAddressType.setDescription("The address type of this PIM interface.") pimInterfaceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 4), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceAddress.setDescription("The primary IP address of this router on this PIM\ninterface. The InetAddressType is given by the\npimInterfaceAddressType object.") pimInterfaceGenerationIDValue = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceGenerationIDValue.setDescription("The value of the Generation ID this router inserted in the\nlast PIM Hello message it sent on this interface.") pimInterfaceDR = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 6), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceDR.setDescription("The primary IP address of the Designated Router on this PIM\ninterface. The InetAddressType is given by the\npimInterfaceAddressType object.") pimInterfaceDRPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 7), Unsigned32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceDRPriority.setDescription("The Designated Router Priority value inserted into the DR\n\n\n\nPriority option in PIM Hello messages transmitted on this\ninterface. Numerically higher values for this object\nindicate higher priorities.") pimInterfaceDRPriorityEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceDRPriorityEnabled.setDescription("Evaluates to TRUE if all routers on this interface are\nusing the DR Priority option.") pimInterfaceHelloInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 18000)).clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceHelloInterval.setDescription("The frequency at which PIM Hello messages are transmitted\non this interface. This object corresponds to the\n'Hello_Period' timer value defined in the PIM-SM\nspecification. A value of zero represents an 'infinite'\ninterval, and indicates that periodic PIM Hello messages\nshould not be sent on this interface.") pimInterfaceTrigHelloInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 60)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceTrigHelloInterval.setDescription("The maximum time before this router sends a triggered PIM\nHello message on this interface. This object corresponds to\nthe 'Trigered_Hello_Delay' timer value defined in the PIM-SM\nspecification. A value of zero has no special meaning and\nindicates that triggered PIM Hello messages should always be\nsent immediately.") pimInterfaceHelloHoldtime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(105)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceHelloHoldtime.setDescription("The value set in the Holdtime field of PIM Hello messages\ntransmitted on this interface. A value of 65535 represents\nan 'infinite' holdtime. Implementations are recommended\nto use a holdtime that is 3.5 times the value of\npimInterfaceHelloInterval, or 65535 if\npimInterfaceHelloInterval is set to zero.") pimInterfaceJoinPruneInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 18000)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceJoinPruneInterval.setDescription("The frequency at which this router sends PIM Join/Prune\nmessages on this PIM interface. This object corresponds to\nthe 't_periodic' timer value defined in the PIM-SM\nspecification. A value of zero represents an 'infinite'\ninterval, and indicates that periodic PIM Join/Prune\nmessages should not be sent on this interface.") pimInterfaceJoinPruneHoldtime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(210)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceJoinPruneHoldtime.setDescription("The value inserted into the Holdtime field of a PIM\nJoin/Prune message sent on this interface. A value of 65535\nrepresents an 'infinite' holdtime. Implementations are\nrecommended to use a holdtime that is 3.5 times the value of\npimInterfaceJoinPruneInterval, or 65535 if\npimInterfaceJoinPruneInterval is set to zero. PIM-DM\nimplementations are recommended to use the value of\npimInterfacePruneLimitInterval.") pimInterfaceDFElectionRobustness = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 14), Unsigned32().clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceDFElectionRobustness.setDescription("The minimum number of PIM DF-Election messages that must be\nlost in order for DF election on this interface to fail.") pimInterfaceLanDelayEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceLanDelayEnabled.setDescription("Evaluates to TRUE if all routers on this interface are\nusing the LAN Prune Delay option.") pimInterfacePropagationDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767)).clone(500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfacePropagationDelay.setDescription("The expected propagation delay between PIM routers on this\nnetwork or link.\n\nThis router inserts this value into the Propagation_Delay\nfield of the LAN Prune Delay option in the PIM Hello\nmessages sent on this interface. Implementations SHOULD\nenforce a lower bound on the permitted values for this\nobject to allow for scheduling and processing delays within\nthe local router.") pimInterfaceOverrideInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(2500)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceOverrideInterval.setDescription("The value this router inserts into the Override_Interval\nfield of the LAN Prune Delay option in the PIM Hello\n\n\n\nmessages it sends on this interface.\n\nWhen overriding a prune, PIM routers pick a random timer\nduration up to the value of this object. The more PIM\nrouters that are active on a network, the more likely it is\nthat the prune will be overridden after a small proportion\nof this time has elapsed.\n\nThe more PIM routers are active on this network, the larger\nthis object should be to obtain an optimal spread of prune\noverride latencies.") pimInterfaceEffectPropagDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 18), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceEffectPropagDelay.setDescription("The Effective Propagation Delay on this interface. This\nobject is always 500 if pimInterfaceLanDelayEnabled is\nFALSE.") pimInterfaceEffectOverrideIvl = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 19), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceEffectOverrideIvl.setDescription("The Effective Override Interval on this interface. This\nobject is always 2500 if pimInterfaceLanDelayEnabled is\nFALSE.") pimInterfaceSuppressionEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 20), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceSuppressionEnabled.setDescription("Whether join suppression is enabled on this interface.\nThis object is always TRUE if pimInterfaceLanDelayEnabled is\nFALSE.") pimInterfaceBidirCapable = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 21), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceBidirCapable.setDescription("Evaluates to TRUE if all routers on this interface are\nusing the Bidirectional-PIM Capable option.") pimInterfaceDomainBorder = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 22), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceDomainBorder.setDescription("Whether or not this interface is a PIM domain border. This\nincludes acting as a border for PIM Bootstrap Router (BSR)\nmessages, if the BSR mechanism is in use.") pimInterfaceStubInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 23), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceStubInterface.setDescription("Whether this interface is a 'stub interface'. If this\nobject is set to TRUE, then no PIM packets are sent out this\ninterface, and any received PIM packets are ignored.\n\nSetting this object to TRUE is a security measure for\ninterfaces towards untrusted hosts. This allows an\ninterface to be configured for use with IGMP (Internet Group\nManagement Protocol) or MLD (Multicast Listener Discovery)\nonly, which protects the PIM router from forged PIM messages\non the interface.\n\nTo communicate with other PIM routers using this interface,\nthis object must remain set to FALSE.\n\nChanging the value of this object while the interface is\noperational causes PIM to be disabled and then re-enabled on\nthis interface.") pimInterfacePruneLimitInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 24), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfacePruneLimitInterval.setDescription("The minimum interval that must transpire between two\nsuccessive Prunes sent by a router. This object corresponds\nto the 't_limit' timer value defined in the PIM-DM\nspecification. This object is used only by PIM-DM.") pimInterfaceGraftRetryInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 25), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceGraftRetryInterval.setDescription("The minimum interval that must transpire between two\nsuccessive Grafts sent by a router. This object corresponds\nto the 'Graft_Retry_Period' timer value defined in the\nPIM-DM specification. This object is used only by PIM-DM.") pimInterfaceSRPriorityEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceSRPriorityEnabled.setDescription("Evaluates to TRUE if all routers on this interface are\nusing the State Refresh option. This object is used only by\nPIM-DM.") pimInterfaceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 27), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceStatus.setDescription("The status of this entry. Creating the entry enables PIM\non the interface; destroying the entry disables PIM on the\ninterface.\n\nThis status object can be set to active(1) without setting\n\n\n\nany other columnar objects in this entry.\n\nAll writeable objects in this entry can be modified when the\nstatus of this entry is active(1).") pimInterfaceStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 1, 1, 28), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceStorageType.setDescription("The storage type for this row. Rows having the value\n'permanent' need not allow write-access to any columnar\nobjects in the row.") pimNeighborTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 2)) if mibBuilder.loadTexts: pimNeighborTable.setDescription("The (conceptual) table listing the router's PIM neighbors.") pimNeighborEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 2, 1)).setIndexNames((0, "PIM-STD-MIB", "pimNeighborIfIndex"), (0, "PIM-STD-MIB", "pimNeighborAddressType"), (0, "PIM-STD-MIB", "pimNeighborAddress")) if mibBuilder.loadTexts: pimNeighborEntry.setDescription("An entry (conceptual row) in the pimNeighborTable.") pimNeighborIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimNeighborIfIndex.setDescription("The value of ifIndex for the interface used to reach this\nPIM neighbor.") pimNeighborAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 2), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimNeighborAddressType.setDescription("The address type of this PIM neighbor.") pimNeighborAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimNeighborAddress.setDescription("The primary IP address of this PIM neighbor. The\nInetAddressType is given by the pimNeighborAddressType\nobject.") pimNeighborGenerationIDPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborGenerationIDPresent.setDescription("Evaluates to TRUE if this neighbor is using the Generation\nID option.") pimNeighborGenerationIDValue = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborGenerationIDValue.setDescription("The value of the Generation ID from the last PIM Hello\nmessage received from this neighbor. This object is always\nzero if pimNeighborGenerationIDPresent is FALSE.") pimNeighborUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborUpTime.setDescription("The time since this PIM neighbor (last) became a neighbor\nof the local router.") pimNeighborExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborExpiryTime.setDescription("The minimum time remaining before this PIM neighbor will\ntime out. The value zero indicates that this PIM neighbor\nwill never time out.") pimNeighborDRPriorityPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborDRPriorityPresent.setDescription("Evaluates to TRUE if this neighbor is using the DR Priority\noption.") pimNeighborDRPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborDRPriority.setDescription("The value of the Designated Router Priority from the last\nPIM Hello message received from this neighbor. This object\nis always zero if pimNeighborDRPriorityPresent is FALSE.") pimNeighborLanPruneDelayPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborLanPruneDelayPresent.setDescription("Evaluates to TRUE if this neighbor is using the LAN Prune\nDelay option.") pimNeighborTBit = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborTBit.setDescription("Whether the T bit was set in the LAN Prune Delay option\nreceived from this neighbor. The T bit specifies the\nability of the neighbor to disable join suppression. This\nobject is always TRUE if pimNeighborLanPruneDelayPresent is\nFALSE.") pimNeighborPropagationDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborPropagationDelay.setDescription("The value of the Propagation_Delay field of the LAN Prune\nDelay option received from this neighbor. This object is\nalways zero if pimNeighborLanPruneDelayPresent is FALSE.") pimNeighborOverrideInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborOverrideInterval.setDescription("The value of the Override_Interval field of the LAN Prune\nDelay option received from this neighbor. This object is\nalways zero if pimNeighborLanPruneDelayPresent is FALSE.") pimNeighborBidirCapable = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborBidirCapable.setDescription("Evaluates to TRUE if this neighbor is using the\nBidirectional-PIM Capable option.") pimNeighborSRCapable = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 2, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborSRCapable.setDescription("Evaluates to TRUE if this neighbor is using the State\nRefresh Capable option. This object is used only by\nPIM-DM.") pimNbrSecAddressTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 3)) if mibBuilder.loadTexts: pimNbrSecAddressTable.setDescription("The (conceptual) table listing the secondary addresses\nadvertised by each PIM neighbor (on a subset of the rows of\nthe pimNeighborTable defined above).") pimNbrSecAddressEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 3, 1)).setIndexNames((0, "PIM-STD-MIB", "pimNbrSecAddressIfIndex"), (0, "PIM-STD-MIB", "pimNbrSecAddressType"), (0, "PIM-STD-MIB", "pimNbrSecAddressPrimary"), (0, "PIM-STD-MIB", "pimNbrSecAddress")) if mibBuilder.loadTexts: pimNbrSecAddressEntry.setDescription("An entry (conceptual row) in the pimNbrSecAddressTable.") pimNbrSecAddressIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 3, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimNbrSecAddressIfIndex.setDescription("The value of ifIndex for the interface used to reach this\nPIM neighbor.") pimNbrSecAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 3, 1, 2), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimNbrSecAddressType.setDescription("The address type of this PIM neighbor.") pimNbrSecAddressPrimary = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 3, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimNbrSecAddressPrimary.setDescription("The primary IP address of this PIM neighbor. The\nInetAddressType is given by the pimNbrSecAddressType\nobject.") pimNbrSecAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 3, 1, 4), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNbrSecAddress.setDescription("The secondary IP address of this PIM neighbor. The\nInetAddressType is given by the pimNbrSecAddressType\nobject.") pimStarGTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 4)) if mibBuilder.loadTexts: pimStarGTable.setDescription("The (conceptual) table listing the non-interface specific\n(*,G) state that PIM has.") pimStarGEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 4, 1)).setIndexNames((0, "PIM-STD-MIB", "pimStarGAddressType"), (0, "PIM-STD-MIB", "pimStarGGrpAddress")) if mibBuilder.loadTexts: pimStarGEntry.setDescription("An entry (conceptual row) in the pimStarGTable.") pimStarGAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimStarGAddressType.setDescription("The address type of this multicast group.") pimStarGGrpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimStarGGrpAddress.setDescription("The multicast group address. The InetAddressType is given\nby the pimStarGAddressType object.") pimStarGUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGUpTime.setDescription("The time since this entry was created by the local router.") pimStarGPimMode = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,)).subtype(namedValues=NamedValues(("asm", 3), ("bidir", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGPimMode.setDescription("Whether this entry represents an ASM (Any Source Multicast,\nused with PIM-SM) or BIDIR-PIM group.") pimStarGRPAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPAddressType.setDescription("The address type of the Rendezvous Point (RP), or\nunknown(0) if the RP address is unknown.") pimStarGRPAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 6), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPAddress.setDescription("The address of the Rendezvous Point (RP) for the group.\nThe InetAddressType is given by the pimStarGRPAddressType.") pimStarGPimModeOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 7), PimGroupMappingOriginType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGPimModeOrigin.setDescription("The mechanism by which the PIM mode and RP for the group\nwere learned.") pimStarGRPIsLocal = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPIsLocal.setDescription("Whether the local router is the RP for the group.") pimStarGUpstreamJoinState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("notJoined", 1), ("joined", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGUpstreamJoinState.setDescription("Whether the local router should join the RP tree for the\ngroup. This corresponds to the state of the upstream (*,G)\nstate machine in the PIM-SM specification.") pimStarGUpstreamJoinTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGUpstreamJoinTimer.setDescription("The time remaining before the local router next sends a\nperiodic (*,G) Join message on pimStarGRPFIfIndex. This\ntimer is called the (*,G) Upstream Join Timer in the PIM-SM\nspecification. This object is zero if the timer is not\nrunning.") pimStarGUpstreamNeighborType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 11), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGUpstreamNeighborType.setDescription("The primary address type of the upstream neighbor, or\n\n\n\nunknown(0) if the upstream neighbor address is unknown or is\nnot a PIM neighbor.") pimStarGUpstreamNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 12), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGUpstreamNeighbor.setDescription("The primary address of the neighbor on pimStarGRPFIfIndex\nthat the local router is sending periodic (*,G) Join\nmessages to. The InetAddressType is given by the\npimStarGUpstreamNeighborType object. This address is called\nRPF'(*,G) in the PIM-SM specification.") pimStarGRPFIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 13), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFIfIndex.setDescription("The value of ifIndex for the Reverse Path Forwarding\n(RPF) interface towards the RP, or zero if the RPF\ninterface is unknown.") pimStarGRPFNextHopType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 14), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFNextHopType.setDescription("The address type of the RPF next hop towards the RP, or\nunknown(0) if the RPF next hop is unknown.") pimStarGRPFNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 15), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFNextHop.setDescription("The address of the RPF next hop towards the RP. The\nInetAddressType is given by the pimStarGRPFNextHopType\nobject. This address is called MRIB.next_hop(RP(G))\nin the PIM-SM specification.") pimStarGRPFRouteProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 16), IANAipRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFRouteProtocol.setDescription("The routing mechanism via which the route used to find the\nRPF interface towards the RP was learned.") pimStarGRPFRouteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 17), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFRouteAddress.setDescription("The IP address that, when combined with the corresponding\nvalue of pimStarGRPFRoutePrefixLength, identifies the route\nused to find the RPF interface towards the RP. The\nInetAddressType is given by the pimStarGRPFNextHopType\nobject.\n\nThis address object is only significant up to\npimStarGRPFRoutePrefixLength bits. The remainder of the\naddress bits are zero.") pimStarGRPFRoutePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 18), InetAddressPrefixLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFRoutePrefixLength.setDescription("The prefix length that, when combined with the\ncorresponding value of pimStarGRPFRouteAddress, identifies\nthe route used to find the RPF interface towards the RP.\nThe InetAddressType is given by the pimStarGRPFNextHopType\nobject.") pimStarGRPFRouteMetricPref = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 19), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFRouteMetricPref.setDescription("The metric preference of the route used to find the RPF\ninterface towards the RP.") pimStarGRPFRouteMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 4, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGRPFRouteMetric.setDescription("The routing metric of the route used to find the RPF\ninterface towards the RP.") pimStarGITable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 5)) if mibBuilder.loadTexts: pimStarGITable.setDescription("The (conceptual) table listing the interface-specific (*,G)\nstate that PIM has.") pimStarGIEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 5, 1)).setIndexNames((0, "PIM-STD-MIB", "pimStarGAddressType"), (0, "PIM-STD-MIB", "pimStarGGrpAddress"), (0, "PIM-STD-MIB", "pimStarGIIfIndex")) if mibBuilder.loadTexts: pimStarGIEntry.setDescription("An entry (conceptual row) in the pimStarGITable.") pimStarGIIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimStarGIIfIndex.setDescription("The ifIndex of the interface that this entry corresponds\nto.") pimStarGIUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIUpTime.setDescription("The time since this entry was created by the local router.") pimStarGILocalMembership = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGILocalMembership.setDescription("Whether the local router has (*,G) local membership on this\ninterface (resulting from a mechanism such as IGMP or MLD).\nThis corresponds to local_receiver_include(*,G,I) in the\nPIM-SM specification.") pimStarGIJoinPruneState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("noInfo", 1), ("join", 2), ("prunePending", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIJoinPruneState.setDescription("The state resulting from (*,G) Join/Prune messages\nreceived on this interface. This corresponds to the state\nof the downstream per-interface (*,G) state machine in the\nPIM-SM specification.") pimStarGIPrunePendingTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIPrunePendingTimer.setDescription("The time remaining before the local router acts on a (*,G)\nPrune message received on this interface, during which the\nrouter is waiting to see whether another downstream router\nwill override the Prune message. This timer is called the\n(*,G) Prune-Pending Timer in the PIM-SM specification. This\nobject is zero if the timer is not running.") pimStarGIJoinExpiryTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIJoinExpiryTimer.setDescription("The time remaining before (*,G) Join state for this\ninterface expires. This timer is called the (*,G) Join\nExpiry Timer in the PIM-SM specification. This object is\nzero if the timer is not running. A value of 'FFFFFFFF'h\nindicates an infinite expiry time.") pimStarGIAssertState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("noInfo", 1), ("iAmAssertWinner", 2), ("iAmAssertLoser", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIAssertState.setDescription("The (*,G) Assert state for this interface. This\ncorresponds to the state of the per-interface (*,G) Assert\nstate machine in the PIM-SM specification. If\npimStarGPimMode is 'bidir', this object must be 'noInfo'.") pimStarGIAssertTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIAssertTimer.setDescription("If pimStarGIAssertState is 'iAmAssertWinner', this is the\ntime remaining before the local router next sends a (*,G)\nAssert message on this interface. If pimStarGIAssertState\nis 'iAmAssertLoser', this is the time remaining before the\n\n\n\n(*,G) Assert state expires. If pimStarGIAssertState is\n'noInfo', this is zero. This timer is called the (*,G)\nAssert Timer in the PIM-SM specification.") pimStarGIAssertWinnerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 9), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIAssertWinnerAddressType.setDescription("If pimStarGIAssertState is 'iAmAssertLoser', this is the\naddress type of the assert winner; otherwise, this object is\nunknown(0).") pimStarGIAssertWinnerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 10), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIAssertWinnerAddress.setDescription("If pimStarGIAssertState is 'iAmAssertLoser', this is the\naddress of the assert winner. The InetAddressType is given\nby the pimStarGIAssertWinnerAddressType object.") pimStarGIAssertWinnerMetricPref = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIAssertWinnerMetricPref.setDescription("If pimStarGIAssertState is 'iAmAssertLoser', this is the\nmetric preference of the route to the RP advertised by the\nassert winner; otherwise, this object is zero.") pimStarGIAssertWinnerMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 5, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIAssertWinnerMetric.setDescription("If pimStarGIAssertState is 'iAmAssertLoser', this is the\nrouting metric of the route to the RP advertised by the\nassert winner; otherwise, this object is zero.") pimSGTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 6)) if mibBuilder.loadTexts: pimSGTable.setDescription("The (conceptual) table listing the non-interface specific\n(S,G) state that PIM has.") pimSGEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 6, 1)).setIndexNames((0, "PIM-STD-MIB", "pimSGAddressType"), (0, "PIM-STD-MIB", "pimSGGrpAddress"), (0, "PIM-STD-MIB", "pimSGSrcAddress")) if mibBuilder.loadTexts: pimSGEntry.setDescription("An entry (conceptual row) in the pimSGTable.") pimSGAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimSGAddressType.setDescription("The address type of the source and multicast group for this\nentry.") pimSGGrpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimSGGrpAddress.setDescription("The multicast group address for this entry. The\nInetAddressType is given by the pimSGAddressType object.") pimSGSrcAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimSGSrcAddress.setDescription("The source address for this entry. The InetAddressType is\ngiven by the pimSGAddressType object.") pimSGUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGUpTime.setDescription("The time since this entry was created by the local router.") pimSGPimMode = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,)).subtype(namedValues=NamedValues(("ssm", 2), ("asm", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGPimMode.setDescription("Whether pimSGGrpAddress is an SSM (Source Specific\nMulticast, used with PIM-SM) or ASM (Any Source Multicast,\nused with PIM-SM) group.") pimSGUpstreamJoinState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("notJoined", 1), ("joined", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGUpstreamJoinState.setDescription("Whether the local router should join the shortest-path tree\nfor the source and group represented by this entry. This\ncorresponds to the state of the upstream (S,G) state machine\nin the PIM-SM specification.") pimSGUpstreamJoinTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGUpstreamJoinTimer.setDescription("The time remaining before the local router next sends a\nperiodic (S,G) Join message on pimSGRPFIfIndex. This timer\nis called the (S,G) Upstream Join Timer in the PIM-SM\nspecification. This object is zero if the timer is not\nrunning.") pimSGUpstreamNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 8), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGUpstreamNeighbor.setDescription("The primary address of the neighbor on pimSGRPFIfIndex that\nthe local router is sending periodic (S,G) Join messages to.\nThis is zero if the RPF next hop is unknown or is not a\nPIM neighbor. The InetAddressType is given by the\npimSGAddressType object. This address is called RPF'(S,G)\nin the PIM-SM specification.") pimSGRPFIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 9), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFIfIndex.setDescription("The value of ifIndex for the RPF interface towards the\nsource, or zero if the RPF interface is unknown.") pimSGRPFNextHopType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 10), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFNextHopType.setDescription("The address type of the RPF next hop towards the source, or\nunknown(0) if the RPF next hop is unknown.") pimSGRPFNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 11), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFNextHop.setDescription("The address of the RPF next hop towards the source. The\nInetAddressType is given by the pimSGRPFNextHopType. This\naddress is called MRIB.next_hop(S) in the PIM-SM\nspecification.") pimSGRPFRouteProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 12), IANAipRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFRouteProtocol.setDescription("The routing mechanism via which the route used to find the\nRPF interface towards the source was learned.") pimSGRPFRouteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 13), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFRouteAddress.setDescription("The IP address that, when combined with the corresponding\nvalue of pimSGRPFRoutePrefixLength, identifies the route\nused to find the RPF interface towards the source. The\nInetAddressType is given by the pimSGRPFNextHopType object.\n\nThis address object is only significant up to\n\n\n\npimSGRPFRoutePrefixLength bits. The remainder of the\naddress bits are zero.") pimSGRPFRoutePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 14), InetAddressPrefixLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFRoutePrefixLength.setDescription("The prefix length that, when combined with the\ncorresponding value of pimSGRPFRouteAddress, identifies the\nroute used to find the RPF interface towards the source.\nThe InetAddressType is given by the pimSGRPFNextHopType\nobject.") pimSGRPFRouteMetricPref = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFRouteMetricPref.setDescription("The metric preference of the route used to find the RPF\ninterface towards the source.") pimSGRPFRouteMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 16), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPFRouteMetric.setDescription("The routing metric of the route used to find the RPF\ninterface towards the source.") pimSGSPTBit = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 17), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGSPTBit.setDescription("Whether the SPT bit is set; and therefore whether\nforwarding is taking place on the shortest-path tree.") pimSGKeepaliveTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 18), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGKeepaliveTimer.setDescription("The time remaining before this (S,G) state expires, in\nthe absence of explicit (S,G) local membership or (S,G)\nJoin messages received to maintain it. This timer is\ncalled the (S,G) Keepalive Timer in the PIM-SM\nspecification.") pimSGDRRegisterState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("noInfo", 1), ("join", 2), ("joinPending", 3), ("prune", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGDRRegisterState.setDescription("Whether the local router should encapsulate (S,G) data\npackets in Register messages and send them to the RP. This\ncorresponds to the state of the per-(S,G) Register state\nmachine in the PIM-SM specification. This object is always\n'noInfo' unless pimSGPimMode is 'asm'.") pimSGDRRegisterStopTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 20), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGDRRegisterStopTimer.setDescription("If pimSGDRRegisterState is 'prune', this is the time\nremaining before the local router sends a Null-Register\nmessage to the RP. If pimSGDRRegisterState is\n'joinPending', this is the time remaining before the local\nrouter resumes encapsulating data packets and sending them\nto the RP. Otherwise, this is zero. This timer is called\nthe Register-Stop Timer in the PIM-SM specification.") pimSGRPRegisterPMBRAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 21), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPRegisterPMBRAddressType.setDescription("The address type of the first PIM Multicast Border Router\nto send a Register message with the Border bit set. This\n\n\n\nobject is unknown(0) if the local router is not the RP for\nthe group.") pimSGRPRegisterPMBRAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 22), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRPRegisterPMBRAddress.setDescription("The IP address of the first PIM Multicast Border Router to\nsend a Register message with the Border bit set. The\nInetAddressType is given by the\npimSGRPRegisterPMBRAddressType object.") pimSGUpstreamPruneState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("forwarding", 1), ("ackpending", 2), ("pruned", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGUpstreamPruneState.setDescription("Whether the local router has pruned itself from the tree.\nThis corresponds to the state of the upstream prune (S,G)\nstate machine in the PIM-DM specification. This object is\nused only by PIM-DM.") pimSGUpstreamPruneLimitTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 24), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGUpstreamPruneLimitTimer.setDescription("The time remaining before the local router may send a (S,G)\nPrune message on pimSGRPFIfIndex. This timer is called the\n(S,G) Prune Limit Timer in the PIM-DM specification. This\nobject is zero if the timer is not running. This object is\nused only by PIM-DM.") pimSGOriginatorState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("notOriginator", 1), ("originator", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGOriginatorState.setDescription("Whether the router is an originator for an (S,G) message\nflow. This corresponds to the state of the per-(S,G)\nOriginator state machine in the PIM-DM specification. This\nobject is used only by PIM-DM.") pimSGSourceActiveTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 26), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGSourceActiveTimer.setDescription("If pimSGOriginatorState is 'originator', this is the time\nremaining before the local router reverts to a notOriginator\nstate. Otherwise, this is zero. This timer is called the\nSource Active Timer in the PIM-DM specification. This\nobject is used only by PIM-DM.") pimSGStateRefreshTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 6, 1, 27), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGStateRefreshTimer.setDescription("If pimSGOriginatorState is 'originator', this is the time\nremaining before the local router sends a State Refresh\nmessage. Otherwise, this is zero. This timer is called the\nState Refresh Timer in the PIM-DM specification. This\nobject is used only by PIM-DM.") pimSGITable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 7)) if mibBuilder.loadTexts: pimSGITable.setDescription("The (conceptual) table listing the interface-specific (S,G)\nstate that PIM has.") pimSGIEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 7, 1)).setIndexNames((0, "PIM-STD-MIB", "pimSGAddressType"), (0, "PIM-STD-MIB", "pimSGGrpAddress"), (0, "PIM-STD-MIB", "pimSGSrcAddress"), (0, "PIM-STD-MIB", "pimSGIIfIndex")) if mibBuilder.loadTexts: pimSGIEntry.setDescription("An entry (conceptual row) in the pimSGITable.") pimSGIIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimSGIIfIndex.setDescription("The ifIndex of the interface that this entry corresponds\nto.") pimSGIUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIUpTime.setDescription("The time since this entry was created by the local router.") pimSGILocalMembership = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGILocalMembership.setDescription("Whether the local router has (S,G) local membership on this\ninterface (resulting from a mechanism such as IGMP or MLD).\nThis corresponds to local_receiver_include(S,G,I) in the\nPIM-SM specification.") pimSGIJoinPruneState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("noInfo", 1), ("join", 2), ("prunePending", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIJoinPruneState.setDescription("The state resulting from (S,G) Join/Prune messages\nreceived on this interface. This corresponds to the state\nof the downstream per-interface (S,G) state machine in the\nPIM-SM and PIM-DM specification.") pimSGIPrunePendingTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIPrunePendingTimer.setDescription("The time remaining before the local router acts on an (S,G)\nPrune message received on this interface, during which the\nrouter is waiting to see whether another downstream router\nwill override the Prune message. This timer is called the\n(S,G) Prune-Pending Timer in the PIM-SM specification. This\nobject is zero if the timer is not running.") pimSGIJoinExpiryTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIJoinExpiryTimer.setDescription("The time remaining before (S,G) Join state for this\n\n\n\ninterface expires. This timer is called the (S,G) Join\nExpiry Timer in the PIM-SM specification. This object is\nzero if the timer is not running. A value of 'FFFFFFFF'h\nindicates an infinite expiry time. This timer is called the\n(S,G) Prune Timer in the PIM-DM specification.") pimSGIAssertState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("noInfo", 1), ("iAmAssertWinner", 2), ("iAmAssertLoser", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIAssertState.setDescription("The (S,G) Assert state for this interface. This\ncorresponds to the state of the per-interface (S,G) Assert\nstate machine in the PIM-SM specification.") pimSGIAssertTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIAssertTimer.setDescription("If pimSGIAssertState is 'iAmAssertWinner', this is the time\nremaining before the local router next sends a (S,G) Assert\nmessage on this interface. If pimSGIAssertState is\n'iAmAssertLoser', this is the time remaining before the\n(S,G) Assert state expires. If pimSGIAssertState is\n'noInfo', this is zero. This timer is called the (S,G)\nAssert Timer in the PIM-SM specification.") pimSGIAssertWinnerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 9), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIAssertWinnerAddressType.setDescription("If pimSGIAssertState is 'iAmAssertLoser', this is the\naddress type of the assert winner; otherwise, this object is\nunknown(0).") pimSGIAssertWinnerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 10), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIAssertWinnerAddress.setDescription("If pimSGIAssertState is 'iAmAssertLoser', this is the\naddress of the assert winner. The InetAddressType is given\nby the pimSGIAssertWinnerAddressType object.") pimSGIAssertWinnerMetricPref = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIAssertWinnerMetricPref.setDescription("If pimSGIAssertState is 'iAmAssertLoser', this is the\nmetric preference of the route to the source advertised by\nthe assert winner; otherwise, this object is zero.") pimSGIAssertWinnerMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 7, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIAssertWinnerMetric.setDescription("If pimSGIAssertState is 'iAmAssertLoser', this is the\nrouting metric of the route to the source advertised by the\nassert winner; otherwise, this object is zero.") pimSGRptTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 8)) if mibBuilder.loadTexts: pimSGRptTable.setDescription("The (conceptual) table listing the non-interface specific\n(S,G,rpt) state that PIM has.") pimSGRptEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 8, 1)).setIndexNames((0, "PIM-STD-MIB", "pimStarGAddressType"), (0, "PIM-STD-MIB", "pimStarGGrpAddress"), (0, "PIM-STD-MIB", "pimSGRptSrcAddress")) if mibBuilder.loadTexts: pimSGRptEntry.setDescription("An entry (conceptual row) in the pimSGRptTable.") pimSGRptSrcAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 8, 1, 1), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimSGRptSrcAddress.setDescription("The source address for this entry. The InetAddressType is\ngiven by the pimStarGAddressType object.") pimSGRptUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 8, 1, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptUpTime.setDescription("The time since this entry was created by the local router.") pimSGRptUpstreamPruneState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 8, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("rptNotJoined", 1), ("pruned", 2), ("notPruned", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptUpstreamPruneState.setDescription("Whether the local router should prune the source off the RP\ntree. This corresponds to the state of the upstream\n(S,G,rpt) state machine for triggered messages in the PIM-SM\nspecification.") pimSGRptUpstreamOverrideTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 8, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptUpstreamOverrideTimer.setDescription("The time remaining before the local router sends a\ntriggered (S,G,rpt) Join message on pimStarGRPFIfIndex.\nThis timer is called the (S,G,rpt) Upstream Override Timer\nin the PIM-SM specification. This object is zero if the\ntimer is not running.") pimSGRptITable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 9)) if mibBuilder.loadTexts: pimSGRptITable.setDescription("The (conceptual) table listing the interface-specific\n(S,G,rpt) state that PIM has.") pimSGRptIEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 9, 1)).setIndexNames((0, "PIM-STD-MIB", "pimStarGAddressType"), (0, "PIM-STD-MIB", "pimStarGGrpAddress"), (0, "PIM-STD-MIB", "pimSGRptSrcAddress"), (0, "PIM-STD-MIB", "pimSGRptIIfIndex")) if mibBuilder.loadTexts: pimSGRptIEntry.setDescription("An entry (conceptual row) in the pimSGRptITable.") pimSGRptIIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 9, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimSGRptIIfIndex.setDescription("The ifIndex of the interface that this entry corresponds\nto.") pimSGRptIUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 9, 1, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptIUpTime.setDescription("The time since this entry was created by the local router.") pimSGRptILocalMembership = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 9, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptILocalMembership.setDescription("Whether the local router has both (*,G) include local\nmembership and (S,G) exclude local membership on this\ninterface (resulting from a mechanism such as IGMP or MLD).\nThis corresponds to local_receiver_exclude(S,G,I) in the\nPIM-SM specification.") pimSGRptIJoinPruneState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 9, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("noInfo", 1), ("prune", 2), ("prunePending", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptIJoinPruneState.setDescription("The state resulting from (S,G,rpt) Join/Prune messages\nreceived on this interface. This corresponds to the state\nof the downstream per-interface (S,G,rpt) state machine in\nthe PIM-SM specification.") pimSGRptIPrunePendingTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 9, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptIPrunePendingTimer.setDescription("The time remaining before the local router starts pruning\nthis source off the RP tree. This timer is called the\n(S,G,rpt) Prune-Pending Timer in the PIM-SM specification.\nThis object is zero if the timer is not running.") pimSGRptIPruneExpiryTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 9, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptIPruneExpiryTimer.setDescription("The time remaining before (S,G,rpt) Prune state for this\ninterface expires. This timer is called the (S,G,rpt)\nPrune Expiry Timer in the PIM-SM specification. This object\nis zero if the timer is not running. A value of 'FFFFFFFF'h\nindicates an infinite expiry time.") pimBidirDFElectionTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 10)) if mibBuilder.loadTexts: pimBidirDFElectionTable.setDescription("The (conceptual) table listing the per-RP Designated\nForwarder (DF) Election state for each interface for all the\nRPs in BIDIR mode.") pimBidirDFElectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 10, 1)).setIndexNames((0, "PIM-STD-MIB", "pimBidirDFElectionAddressType"), (0, "PIM-STD-MIB", "pimBidirDFElectionRPAddress"), (0, "PIM-STD-MIB", "pimBidirDFElectionIfIndex")) if mibBuilder.loadTexts: pimBidirDFElectionEntry.setDescription("An entry (conceptual row) in the pimBidirDFElectionTable.") pimBidirDFElectionAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimBidirDFElectionAddressType.setDescription("The address type of the RP for which the DF state is being\nmaintained.") pimBidirDFElectionRPAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimBidirDFElectionRPAddress.setDescription("The IP address of the RP for which the DF state is being\nmaintained. The InetAddressType is given by the\npimBidirDFElectionAddressType object.") pimBidirDFElectionIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 3), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimBidirDFElectionIfIndex.setDescription("The value of ifIndex for the interface for which the DF\nstate is being maintained.") pimBidirDFElectionWinnerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimBidirDFElectionWinnerAddressType.setDescription("The primary address type of the winner of the DF Election\nprocess. A value of unknown(0) indicates there is currently\n\n\n\nno DF.") pimBidirDFElectionWinnerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 5), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimBidirDFElectionWinnerAddress.setDescription("The primary IP address of the winner of the DF Election\nprocess. The InetAddressType is given by the\npimBidirDFElectionWinnerAddressType object.") pimBidirDFElectionWinnerUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimBidirDFElectionWinnerUpTime.setDescription("The time since the current winner (last) became elected as\nthe DF for this RP.") pimBidirDFElectionWinnerMetricPref = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimBidirDFElectionWinnerMetricPref.setDescription("The metric preference advertised by the DF Winner, or zero\nif there is currently no DF.") pimBidirDFElectionWinnerMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimBidirDFElectionWinnerMetric.setDescription("The metric advertised by the DF Winner, or zero if there is\ncurrently no DF.") pimBidirDFElectionState = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("dfOffer", 1), ("dfLose", 2), ("dfWinner", 3), ("dfBackoff", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimBidirDFElectionState.setDescription("The state of this interface with respect to DF-Election for\nthis RP. The states correspond to the ones defined in the\nBIDIR-PIM specification.") pimBidirDFElectionStateTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 10, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimBidirDFElectionStateTimer.setDescription("The minimum time remaining after which the local router\nwill expire the current DF state represented by\npimBidirDFElectionState.") pimStaticRPTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 11)) if mibBuilder.loadTexts: pimStaticRPTable.setDescription("This table is used to manage static configuration of RPs.\n\nIf the group prefixes configured for two or more rows in\nthis table overlap, the row with the greatest value of\npimStaticRPGrpPrefixLength is used for the overlapping\nrange.") pimStaticRPEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 11, 1)).setIndexNames((0, "PIM-STD-MIB", "pimStaticRPAddressType"), (0, "PIM-STD-MIB", "pimStaticRPGrpAddress"), (0, "PIM-STD-MIB", "pimStaticRPGrpPrefixLength")) if mibBuilder.loadTexts: pimStaticRPEntry.setDescription("An entry (conceptual row) in the pimStaticRPTable. This\nentry is preserved on agent restart.") pimStaticRPAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimStaticRPAddressType.setDescription("The address type of this entry.") pimStaticRPGrpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimStaticRPGrpAddress.setDescription("The multicast group address that, when combined with\npimStaticRPGrpPrefixLength, gives the group prefix for this\nentry. The InetAddressType is given by the\npimStaticRPAddressType object.\n\nThis address object is only significant up to\npimStaticRPGrpPrefixLength bits. The remainder of the\naddress bits are zero. This is especially important for\nthis index field, which is part of the index of this entry.\nAny non-zero bits would signify an entirely different\nentry.") pimStaticRPGrpPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 3), InetAddressPrefixLength().subtype(subtypeSpec=ValueRangeConstraint(4, 128))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimStaticRPGrpPrefixLength.setDescription("The multicast group prefix length that, when combined\nwith pimStaticRPGrpAddress, gives the group prefix for this\nentry. The InetAddressType is given by the\npimStaticRPAddressType object. If pimStaticRPAddressType is\n'ipv4' or 'ipv4z', this object must be in the range 4..32.\n\n\n\nIf pimStaticRPGrpAddressType is 'ipv6' or 'ipv6z', this\nobject must be in the range 8..128.") pimStaticRPRPAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 4), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimStaticRPRPAddress.setDescription("The IP address of the RP to be used for groups within this\ngroup prefix. The InetAddressType is given by the\npimStaticRPAddressType object.") pimStaticRPPimMode = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,3,)).subtype(namedValues=NamedValues(("ssm", 2), ("asm", 3), ("bidir", 4), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimStaticRPPimMode.setDescription("The PIM mode to be used for groups in this group prefix.\n\nIf this object is set to ssm(2), then pimStaticRPRPAddress\nmust be set to zero. No RP operations are ever possible for\nPIM Mode SSM.") pimStaticRPOverrideDynamic = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 6), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimStaticRPOverrideDynamic.setDescription("Whether this static RP configuration will override other\ngroup mappings in this group prefix. If this object is\nTRUE, then it will override:\n\n- RP information learned dynamically for groups in this\ngroup prefix.\n\n- RP information configured in pimStaticRPTable with\npimStaticRPOverrideDynamic set to FALSE.\n\nSee pimGroupMappingTable for details.") pimStaticRPPrecedence = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 7), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimStaticRPPrecedence.setDescription("The value for pimGroupMappingPrecedence to be used for this\nstatic RP configuration. This allows fine control over\nwhich configuration is overridden by this static\nconfiguration.\n\nIf pimStaticRPOverrideDynamic is set to TRUE, all dynamic RP\nconfiguration is overridden by this static configuration,\nwhatever the value of this object.\n\nThe absolute values of this object have a significance only\non the local router and do not need to be coordinated with\nother routers. A setting of this object may have different\neffects when applied to other routers.\n\nDo not use this object unless fine control of static RP\nbehavior on the local router is required.") pimStaticRPRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimStaticRPRowStatus.setDescription("The status of this row, by which rows in this table can\nbe created and destroyed.\n\nThis status object cannot be set to active(1) before a valid\nvalue has been written to pimStaticRPRPAddress.\n\nAll writeable objects in this entry can be modified when the\nstatus of this entry is active(1).") pimStaticRPStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 11, 1, 9), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimStaticRPStorageType.setDescription("The storage type for this row. Rows having the value\n'permanent' need not allow write-access to any columnar\nobjects in the row.") pimAnycastRPSetTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 12)) if mibBuilder.loadTexts: pimAnycastRPSetTable.setDescription("This table is used to manage Anycast-RP via PIM Register\nmessages, as opposed to via other protocols such as MSDP\n(Multicast Source Discovery Protocol).\n\nEntries must be configured in this table if and only if the\nlocal router is a member of one or more Anycast-RP sets,\nthat is, one or more Anycast-RP addresses are assigned to\nthe local router. Note that if using static RP\nconfiguration, this is in addition to, not instead of, the\npimStaticRPTable entries that must be configured for the\nAnycast-RPs.\n\nThe set of rows with the same values of both\npimAnycastRPSetAddressType and pimAnycastRPSetAnycastAddress\ncorresponds to the Anycast-RP set for that Anycast-RP\naddress.\n\nWhen an Anycast-RP set configuration is active, one entry\nper pimAnycastRPSetAnycastAddress corresponds to the local\nrouter. The local router is identified by the\npimAnycastRpSetLocalRouter object. That entry determines\nthe source address used by the local router when forwarding\nPIM Register messages within the Anycast-RP set.") pimAnycastRPSetEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 12, 1)).setIndexNames((0, "PIM-STD-MIB", "pimAnycastRPSetAddressType"), (0, "PIM-STD-MIB", "pimAnycastRPSetAnycastAddress"), (0, "PIM-STD-MIB", "pimAnycastRPSetRouterAddress")) if mibBuilder.loadTexts: pimAnycastRPSetEntry.setDescription("An entry corresponds to a single router within a particular\nAnycast-RP set. This entry is preserved on agent restart.") pimAnycastRPSetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 12, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimAnycastRPSetAddressType.setDescription("The address type of the Anycast-RP address and router\naddress.") pimAnycastRPSetAnycastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 12, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimAnycastRPSetAnycastAddress.setDescription("The Anycast-RP address. The InetAddressType is given by\nthe pimAnycastRPSetAddressType object.") pimAnycastRPSetRouterAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 12, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimAnycastRPSetRouterAddress.setDescription("The address of a router that is a member of the Anycast-RP\nset. The InetAddressType is given by the\npimAnycastRPSetAddressType object.\n\nThis address differs from pimAnycastRPSetAnycastAddress.\nEqual values for these two addresses in a single entry are\nnot permitted. That would cause a Register loop.") pimAnycastRPSetLocalRouter = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 12, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimAnycastRPSetLocalRouter.setDescription("Whether this entry corresponds to the local router.") pimAnycastRPSetRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 12, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimAnycastRPSetRowStatus.setDescription("The status of this row, by which rows in this table can\nbe created and destroyed.\n\nThis status object can be set to active(1) without setting\nany other columnar objects in this entry.\n\nAll writeable objects in this entry can be modified when the\nstatus of this entry is active(1).") pimAnycastRPSetStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 12, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimAnycastRPSetStorageType.setDescription("The storage type for this row. Rows having the value\n'permanent' need not allow write-access to any columnar\nobjects in the row.") pimGroupMappingTable = MibTable((1, 3, 6, 1, 2, 1, 157, 1, 13)) if mibBuilder.loadTexts: pimGroupMappingTable.setDescription("The (conceptual) table listing mappings from multicast\ngroup prefixes to the PIM mode and RP address to use for\ngroups within that group prefix.\n\nRows in this table are created for a variety of reasons,\nindicated by the value of the pimGroupMappingOrigin object.\n\n- Rows with a pimGroupMappingOrigin value of 'fixed' are\n created automatically by the router at startup, to\n correspond to the well-defined prefixes of link-local and\n unroutable group addresses. These rows are never\n destroyed.\n\n\n\n\n- Rows with a pimGroupMappingOrigin value of 'embedded' are\n created by the router to correspond to group prefixes\n that are to be treated as being in Embedded-RP format.\n\n- Rows with a pimGroupMappingOrigin value of 'configRp' are\n created and destroyed as a result of rows in the\n pimStaticRPTable being created and destroyed.\n\n- Rows with a pimGroupMappingOrigin value of 'configSsm'\n are created and destroyed as a result of configuration of\n SSM address ranges to the local router.\n\n- Rows with a pimGroupMappingOrigin value of 'bsr' are\n created as a result of running the PIM Bootstrap Router\n (BSR) mechanism. If the local router is not the elected\n BSR, these rows are created to correspond to group\n prefixes in the PIM Bootstrap messages received from the\n elected BSR. If the local router is the elected BSR,\n these rows are created to correspond to group prefixes in\n the PIM Bootstrap messages that the local router sends.\n In either case, these rows are destroyed when the group\n prefixes are timed out by the BSR mechanism.\n\n- Rows with a pimGroupMappingOrigin value of 'other' are\n created and destroyed according to some other mechanism\n not specified here.\n\nGiven the collection of rows in this table at any point in\ntime, the PIM mode and RP address to use for a particular\ngroup is determined using the following algorithm.\n\n1. From the set of all rows, the subset whose group prefix\n contains the group in question are selected.\n\n2. If there are no such rows, then the group mapping is\n undefined.\n\n3. If there are multiple selected rows, and a subset is\n defined by pimStaticRPTable (pimGroupMappingOrigin value\n of 'configRp') with pimStaticRPOverrideDynamic set to\n TRUE, then this subset is selected.\n\n4. From the selected subset of rows, the subset that have\n the greatest value of pimGroupMappingGrpPrefixLength are\n selected.\n\n5. If there are still multiple selected rows, the subset\n that has the highest precedence (the lowest numerical\n\n\n\n value for pimGroupMappingPrecedence) is selected.\n\n6. If there are still multiple selected rows, the row\n selected is implementation dependent; the implementation\n might or might not apply the PIM hash function to select\n the row.\n\n7. The group mode to use is given by the value of\n pimGroupMappingPimMode from the single selected row; the\n RP to use is given by the value of\n pimGroupMappingRPAddress, unless pimGroupMappingOrigin is\n 'embedded', in which case, the RP is extracted from the\n group address in question.") pimGroupMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 157, 1, 13, 1)).setIndexNames((0, "PIM-STD-MIB", "pimGroupMappingOrigin"), (0, "PIM-STD-MIB", "pimGroupMappingAddressType"), (0, "PIM-STD-MIB", "pimGroupMappingGrpAddress"), (0, "PIM-STD-MIB", "pimGroupMappingGrpPrefixLength"), (0, "PIM-STD-MIB", "pimGroupMappingRPAddressType"), (0, "PIM-STD-MIB", "pimGroupMappingRPAddress")) if mibBuilder.loadTexts: pimGroupMappingEntry.setDescription("An entry (conceptual row) in the pimGroupMappingTable.") pimGroupMappingOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 1), PimGroupMappingOriginType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimGroupMappingOrigin.setDescription("The mechanism by which this group mapping was learned.") pimGroupMappingAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 2), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimGroupMappingAddressType.setDescription("The address type of the IP multicast group prefix.") pimGroupMappingGrpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimGroupMappingGrpAddress.setDescription("The IP multicast group address that, when combined with\npimGroupMappingGrpPrefixLength, gives the group prefix for\nthis mapping. The InetAddressType is given by the\npimGroupMappingAddressType object.\n\nThis address object is only significant up to\npimGroupMappingGrpPrefixLength bits. The remainder of the\naddress bits are zero. This is especially important for\nthis index field, which is part of the index of this entry.\nAny non-zero bits would signify an entirely different\nentry.") pimGroupMappingGrpPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 4), InetAddressPrefixLength().subtype(subtypeSpec=ValueRangeConstraint(4, 128))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimGroupMappingGrpPrefixLength.setDescription("The multicast group prefix length that, when combined\nwith pimGroupMappingGrpAddress, gives the group prefix for\nthis mapping. The InetAddressType is given by the\npimGroupMappingAddressType object. If\npimGroupMappingAddressType is 'ipv4' or 'ipv4z', this\nobject must be in the range 4..32. If\npimGroupMappingAddressType is 'ipv6' or 'ipv6z', this object\nmust be in the range 8..128.") pimGroupMappingRPAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 5), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimGroupMappingRPAddressType.setDescription("The address type of the RP to be used for groups within\nthis group prefix, or unknown(0) if no RP is to be used or\n\n\n\nif the RP address is unknown. This object must be\nunknown(0) if pimGroupMappingPimMode is ssm(2), or if\npimGroupMappingOrigin is embedded(6).") pimGroupMappingRPAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 6), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimGroupMappingRPAddress.setDescription("The IP address of the RP to be used for groups within this\ngroup prefix. The InetAddressType is given by the\npimGroupMappingRPAddressType object.") pimGroupMappingPimMode = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 7), PimMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimGroupMappingPimMode.setDescription("The PIM mode to be used for groups in this group prefix.") pimGroupMappingPrecedence = MibTableColumn((1, 3, 6, 1, 2, 1, 157, 1, 13, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimGroupMappingPrecedence.setDescription("The precedence of this row, used in the algorithm that\ndetermines which row applies to a given group address\n(described above). Numerically higher values for this\nobject indicate lower precedences, with the value zero\ndenoting the highest precedence.\n\nThe absolute values of this object have a significance only\non the local router and do not need to be coordinated with\nother routers.") pimKeepalivePeriod = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(210)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimKeepalivePeriod.setDescription("The duration of the Keepalive Timer. This is the period\nduring which the PIM router will maintain (S,G) state in the\nabsence of explicit (S,G) local membership or (S,G) join\nmessages received to maintain it. This timer period is\ncalled the Keepalive_Period in the PIM-SM specification. It\nis called the SourceLifetime in the PIM-DM specification.\n\n\n\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimRegisterSuppressionTime = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(60)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimRegisterSuppressionTime.setDescription("The duration of the Register Suppression Timer. This is\nthe period during which a PIM Designated Router (DR) stops\nsending Register-encapsulated data to the Rendezvous Point\n(RP) after receiving a Register-Stop message. This object\nis used to run timers both at the DR and at the RP. This\ntimer period is called the Register_Suppression_Time in the\nPIM-SM specification.\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimStarGEntries = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGEntries.setDescription("The number of entries in the pimStarGTable.") pimStarGIEntries = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimStarGIEntries.setDescription("The number of entries in the pimStarGITable.") pimSGEntries = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGEntries.setDescription("The number of entries in the pimSGTable.") pimSGIEntries = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGIEntries.setDescription("The number of entries in the pimSGITable.") pimSGRptEntries = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 20), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptEntries.setDescription("The number of entries in the pimSGRptTable.") pimSGRptIEntries = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimSGRptIEntries.setDescription("The number of entries in the pimSGRptITable.") pimOutAsserts = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimOutAsserts.setDescription("The number of Asserts sent by this router.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, for example,\nwhen the device is rebooted.") pimInAsserts = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInAsserts.setDescription("The number of Asserts received by this router. Asserts\nare multicast to all routers on a network. This counter is\nincremented by all routers that receive an assert, not only\nthose routers that are contesting the assert.\n\n\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, for example,\nwhen the device is rebooted.") pimLastAssertInterface = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 24), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimLastAssertInterface.setDescription("The interface on which this router most recently sent or\nreceived an assert, or zero if this router has not sent or\nreceived an assert.") pimLastAssertGroupAddressType = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 25), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimLastAssertGroupAddressType.setDescription("The address type of the multicast group address in the most\nrecently sent or received assert. If this router has not\nsent or received an assert, then this object is set to\nunknown(0).") pimLastAssertGroupAddress = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 26), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimLastAssertGroupAddress.setDescription("The multicast group address in the most recently sent or\nreceived assert. The InetAddressType is given by the\npimLastAssertGroupAddressType object.") pimLastAssertSourceAddressType = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 27), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimLastAssertSourceAddressType.setDescription("The address type of the source address in the most recently\nsent or received assert. If the most recent assert was\n(*,G), or if this router has not sent or received an assert,\nthen this object is set to unknown(0).") pimLastAssertSourceAddress = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 28), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimLastAssertSourceAddress.setDescription("The source address in the most recently sent or received\nassert. The InetAddressType is given by the\npimLastAssertSourceAddressType object.") pimNeighborLossNotificationPeriod = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 29), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimNeighborLossNotificationPeriod.setDescription("The minimum time that must elapse between pimNeighborLoss\nnotifications originated by this router. The maximum value\n65535 represents an 'infinite' time, in which case, no\npimNeighborLoss notifications are ever sent.\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimNeighborLossCount = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborLossCount.setDescription("The number of neighbor loss events that have occurred.\n\nThis counter is incremented when the neighbor timer expires,\nand the router has no other neighbors on the same interface\nwith the same IP version and a lower IP address than itself.\n\nThis counter is incremented whenever a pimNeighborLoss\nnotification would be generated.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, for example,\nwhen the device is rebooted.") pimInvalidRegisterNotificationPeriod = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 31), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 65535)).clone(65535)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimInvalidRegisterNotificationPeriod.setDescription("The minimum time that must elapse between\npimInvalidRegister notifications originated by this router.\nThe default value of 65535 represents an 'infinite' time, in\nwhich case, no pimInvalidRegister notifications are ever\nsent.\n\nThe non-zero minimum allowed value provides resilience\nagainst propagation of denial-of-service attacks from the\ndata and control planes to the network management plane.\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimInvalidRegisterMsgsRcvd = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidRegisterMsgsRcvd.setDescription("The number of invalid PIM Register messages that have been\nreceived by this device.\n\nA PIM Register message is invalid if either\n\no the destination address of the Register message does not\n match the Group to RP mapping on this device, or\n\no this device believes the group address to be within an\n SSM address range, but this Register implies ASM usage.\n\nThese conditions can occur transiently while RP mapping\nchanges propagate through the network. If this counter is\nincremented repeatedly over several minutes, then there is a\npersisting configuration error that requires correction.\n\nThe active Group to RP mapping on this device is specified\nby the object pimGroupMappingPimMode. If there is no such\nmapping, then the object pimGroupMappingPimMode is absent.\nThe RP address contained in the invalid Register is\npimInvalidRegisterRp.\n\nMulticast data carried by invalid Register messages is\ndiscarded. The discarded data is from a source directly\n\n\n\nconnected to pimInvalidRegisterOrigin, and is addressed to\npimInvalidRegisterGroup.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, for example,\nwhen the device is rebooted.") pimInvalidRegisterAddressType = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 33), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidRegisterAddressType.setDescription("The address type stored in pimInvalidRegisterOrigin,\npimInvalidRegisterGroup, and pimInvalidRegisterRp.\n\nIf no invalid Register messages have been received, then\nthis object is set to unknown(0).") pimInvalidRegisterOrigin = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 34), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidRegisterOrigin.setDescription("The source address of the last invalid Register message\nreceived by this device.") pimInvalidRegisterGroup = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 35), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidRegisterGroup.setDescription("The IP multicast group address to which the last invalid\nRegister message received by this device was addressed.") pimInvalidRegisterRp = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 36), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidRegisterRp.setDescription("The RP address to which the last invalid Register message\nreceived by this device was delivered.") pimInvalidJoinPruneNotificationPeriod = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 37), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 65535)).clone(65535)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimInvalidJoinPruneNotificationPeriod.setDescription("The minimum time that must elapse between\npimInvalidJoinPrune notifications originated by this router.\nThe default value of 65535 represents an 'infinite' time, in\nwhich case, no pimInvalidJoinPrune notifications are ever\nsent.\n\nThe non-zero minimum allowed value provides resilience\nagainst propagation of denial-of-service attacks from the\ncontrol plane to the network management plane.\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimInvalidJoinPruneMsgsRcvd = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidJoinPruneMsgsRcvd.setDescription("The number of invalid PIM Join/Prune messages that have\nbeen received by this device.\n\nA PIM Join/Prune message is invalid if either\n\no the Group to RP mapping specified by this message does not\n match the Group to RP mapping on this device, or\n\no this device believes the group address to be within an\n SSM address range, but this Join/Prune (*,G) or (S,G,rpt)\n implies ASM usage.\n\nThese conditions can occur transiently while RP mapping\nchanges propagate through the network. If this counter is\nincremented repeatedly over several minutes, then there is a\npersisting configuration error that requires correction.\n\nThe active Group to RP mapping on this device is specified\nby the object pimGroupMappingPimMode. If there is no such\nmapping, then the object pimGroupMappingPimMode is absent.\nThe RP address contained in the invalid Join/Prune is\npimInvalidJoinPruneRp.\n\n\n\nInvalid Join/Prune messages are discarded. This may result\nin loss of multicast data affecting listeners downstream of\npimInvalidJoinPruneOrigin, for multicast data addressed to\npimInvalidJoinPruneGroup.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, for example,\nwhen the device is rebooted.") pimInvalidJoinPruneAddressType = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 39), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidJoinPruneAddressType.setDescription("The address type stored in pimInvalidJoinPruneOrigin,\npimInvalidJoinPruneGroup, and pimInvalidJoinPruneRp.\n\nIf no invalid Join/Prune messages have been received, this\nobject is set to unknown(0).") pimInvalidJoinPruneOrigin = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 40), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidJoinPruneOrigin.setDescription("The source address of the last invalid Join/Prune message\nreceived by this device.") pimInvalidJoinPruneGroup = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 41), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidJoinPruneGroup.setDescription("The IP multicast group address carried in the last\ninvalid Join/Prune message received by this device.") pimInvalidJoinPruneRp = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 42), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),ValueSizeConstraint(20,20),))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInvalidJoinPruneRp.setDescription("The RP address carried in the last invalid Join/Prune\n\n\n\nmessage received by this device.") pimRPMappingNotificationPeriod = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 43), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(65535)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimRPMappingNotificationPeriod.setDescription("The minimum time that must elapse between\npimRPMappingChange notifications originated by this router.\nThe default value of 65535 represents an 'infinite' time, in\nwhich case, no pimRPMappingChange notifications are ever\nsent.\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimRPMappingChangeCount = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimRPMappingChangeCount.setDescription("The number of changes to active RP mappings on this device.\n\nInformation about active RP mappings is available in\npimGroupMappingTable. Only changes to active mappings cause\nthis counter to be incremented. That is, changes that\nmodify the pimGroupMappingEntry with the highest precedence\nfor a group (lowest value of pimGroupMappingPrecedence).\n\nSuch changes may result from manual configuration of this\ndevice, or from automatic RP mapping discovery methods\nincluding the PIM Bootstrap Router (BSR) mechanism.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, for example,\nwhen the device is rebooted.") pimInterfaceElectionNotificationPeriod = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 45), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(65535)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimInterfaceElectionNotificationPeriod.setDescription("The minimum time that must elapse between\npimInterfaceElection notifications originated by this\nrouter. The default value of 65535 represents an 'infinite'\ntime, in which case, no pimInterfaceElection notifications\nare ever sent.\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimInterfaceElectionWinCount = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceElectionWinCount.setDescription("The number of times this device has been elected DR or DF\non any interface.\n\nElections occur frequently on newly-active interfaces, as\ntriggered Hellos establish adjacencies. This counter is not\nincremented for elections on an interface until the first\nperiodic Hello has been sent. If this router is the DR or\nDF at the time of sending the first periodic Hello after\ninterface activation, then this counter is incremented\n(once) at that time.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, for example,\nwhen the device is rebooted.") pimRefreshInterval = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 47), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(60)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimRefreshInterval.setDescription("The interval between successive State Refresh messages sent\nby an Originator. This timer period is called the\nRefreshInterval in the PIM-DM specification. This object is\nused only by PIM-DM.\n\nThe storage type of this object is determined by\npimDeviceConfigStorageType.") pimDeviceConfigStorageType = MibScalar((1, 3, 6, 1, 2, 1, 157, 1, 48), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pimDeviceConfigStorageType.setDescription("The storage type used for the global PIM configuration of\nthis device, comprised of the objects listed below. If this\nstorage type takes the value 'permanent', write-access to\nthe listed objects need not be allowed.\n\nThe objects described by this storage type are:\npimKeepalivePeriod, pimRegisterSuppressionTime,\npimNeighborLossNotificationPeriod,\npimInvalidRegisterNotificationPeriod,\npimInvalidJoinPruneNotificationPeriod,\npimRPMappingNotificationPeriod,\npimInterfaceElectionNotificationPeriod, and\npimRefreshInterval.") pimMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 157, 2)) pimMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 157, 2, 1)) pimMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 157, 2, 2)) # Augmentions # Notifications pimNeighborLoss = NotificationType((1, 3, 6, 1, 2, 1, 157, 0, 1)).setObjects(*(("PIM-STD-MIB", "pimNeighborUpTime"), ) ) if mibBuilder.loadTexts: pimNeighborLoss.setDescription("A pimNeighborLoss notification signifies the loss of an\n\n\n\nadjacency with a neighbor. This notification should be\ngenerated when the neighbor timer expires, and the router\nhas no other neighbors on the same interface with the same\nIP version and a lower IP address than itself.\n\nThis notification is generated whenever the counter\npimNeighborLossCount is incremented, subject\nto the rate limit specified by\npimNeighborLossNotificationPeriod.") pimInvalidRegister = NotificationType((1, 3, 6, 1, 2, 1, 157, 0, 2)).setObjects(*(("PIM-STD-MIB", "pimGroupMappingPimMode"), ("PIM-STD-MIB", "pimInvalidRegisterAddressType"), ("PIM-STD-MIB", "pimInvalidRegisterOrigin"), ("PIM-STD-MIB", "pimInvalidRegisterGroup"), ("PIM-STD-MIB", "pimInvalidRegisterRp"), ) ) if mibBuilder.loadTexts: pimInvalidRegister.setDescription("A pimInvalidRegister notification signifies that an invalid\nPIM Register message was received by this device.\n\nThis notification is generated whenever the counter\npimInvalidRegisterMsgsRcvd is incremented, subject to the\nrate limit specified by\npimInvalidRegisterNotificationPeriod.") pimInvalidJoinPrune = NotificationType((1, 3, 6, 1, 2, 1, 157, 0, 3)).setObjects(*(("PIM-STD-MIB", "pimInvalidJoinPruneRp"), ("PIM-STD-MIB", "pimGroupMappingPimMode"), ("PIM-STD-MIB", "pimInvalidJoinPruneGroup"), ("PIM-STD-MIB", "pimInvalidJoinPruneOrigin"), ("PIM-STD-MIB", "pimInvalidJoinPruneAddressType"), ("PIM-STD-MIB", "pimNeighborUpTime"), ) ) if mibBuilder.loadTexts: pimInvalidJoinPrune.setDescription("A pimInvalidJoinPrune notification signifies that an\ninvalid PIM Join/Prune message was received by this device.\n\nThis notification is generated whenever the counter\npimInvalidJoinPruneMsgsRcvd is incremented, subject to the\nrate limit specified by\npimInvalidJoinPruneNotificationPeriod.") pimRPMappingChange = NotificationType((1, 3, 6, 1, 2, 1, 157, 0, 4)).setObjects(*(("PIM-STD-MIB", "pimGroupMappingPimMode"), ("PIM-STD-MIB", "pimGroupMappingPrecedence"), ) ) if mibBuilder.loadTexts: pimRPMappingChange.setDescription("A pimRPMappingChange notification signifies a change to the\nactive RP mapping on this device.\n\nThis notification is generated whenever the counter\npimRPMappingChangeCount is incremented, subject to the\nrate limit specified by\npimRPMappingChangeNotificationPeriod.") pimInterfaceElection = NotificationType((1, 3, 6, 1, 2, 1, 157, 0, 5)).setObjects(*(("PIM-STD-MIB", "pimInterfaceAddressType"), ("PIM-STD-MIB", "pimInterfaceAddress"), ) ) if mibBuilder.loadTexts: pimInterfaceElection.setDescription("A pimInterfaceElection notification signifies that a new DR\nor DF has been elected on a network.\n\nThis notification is generated whenever the counter\npimInterfaceElectionWinCount is incremented, subject to the\nrate limit specified by\npimInterfaceElectionNotificationPeriod.") # Groups pimTopologyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 1)).setObjects(*(("PIM-STD-MIB", "pimInterfaceHelloHoldtime"), ("PIM-STD-MIB", "pimInterfaceEffectPropagDelay"), ("PIM-STD-MIB", "pimNeighborDRPriority"), ("PIM-STD-MIB", "pimInterfaceGenerationIDValue"), ("PIM-STD-MIB", "pimNeighborTBit"), ("PIM-STD-MIB", "pimInterfaceDR"), ("PIM-STD-MIB", "pimNbrSecAddress"), ("PIM-STD-MIB", "pimNeighborGenerationIDValue"), ("PIM-STD-MIB", "pimInterfaceAddressType"), ("PIM-STD-MIB", "pimNeighborBidirCapable"), ("PIM-STD-MIB", "pimInterfaceEffectOverrideIvl"), ("PIM-STD-MIB", "pimInterfaceJoinPruneHoldtime"), ("PIM-STD-MIB", "pimInterfaceSuppressionEnabled"), ("PIM-STD-MIB", "pimInterfaceBidirCapable"), ("PIM-STD-MIB", "pimNeighborOverrideInterval"), ("PIM-STD-MIB", "pimNeighborPropagationDelay"), ("PIM-STD-MIB", "pimInterfaceDRPriorityEnabled"), ("PIM-STD-MIB", "pimInterfaceAddress"), ("PIM-STD-MIB", "pimNeighborLanPruneDelayPresent"), ("PIM-STD-MIB", "pimNeighborGenerationIDPresent"), ("PIM-STD-MIB", "pimNeighborDRPriorityPresent"), ("PIM-STD-MIB", "pimNeighborExpiryTime"), ("PIM-STD-MIB", "pimInterfaceLanDelayEnabled"), ("PIM-STD-MIB", "pimNeighborUpTime"), ) ) if mibBuilder.loadTexts: pimTopologyGroup.setDescription("A collection of read-only objects used to report local PIM\ntopology.") pimNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 2)).setObjects(*(("PIM-STD-MIB", "pimNeighborLoss"), ) ) if mibBuilder.loadTexts: pimNotificationGroup.setDescription("A collection of notifications for signaling important PIM\nevents.") pimTuningParametersGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 3)).setObjects(*(("PIM-STD-MIB", "pimInterfaceOverrideInterval"), ("PIM-STD-MIB", "pimInterfaceStorageType"), ("PIM-STD-MIB", "pimInterfaceHelloInterval"), ("PIM-STD-MIB", "pimInterfaceDomainBorder"), ("PIM-STD-MIB", "pimInterfaceStatus"), ("PIM-STD-MIB", "pimInterfacePropagationDelay"), ("PIM-STD-MIB", "pimInterfaceDRPriority"), ("PIM-STD-MIB", "pimRegisterSuppressionTime"), ("PIM-STD-MIB", "pimKeepalivePeriod"), ("PIM-STD-MIB", "pimInterfaceTrigHelloInterval"), ("PIM-STD-MIB", "pimInterfaceJoinPruneInterval"), ("PIM-STD-MIB", "pimInterfaceStubInterface"), ) ) if mibBuilder.loadTexts: pimTuningParametersGroup.setDescription("A collection of writeable objects used to configure PIM\nbehavior and to tune performance.") pimRouterStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 4)).setObjects(*(("PIM-STD-MIB", "pimStarGEntries"), ("PIM-STD-MIB", "pimSGEntries"), ("PIM-STD-MIB", "pimSGRptEntries"), ("PIM-STD-MIB", "pimSGRptIEntries"), ("PIM-STD-MIB", "pimSGIEntries"), ("PIM-STD-MIB", "pimStarGIEntries"), ) ) if mibBuilder.loadTexts: pimRouterStatisticsGroup.setDescription("A collection of statistics global to the PIM router.") pimSsmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 5)).setObjects(*(("PIM-STD-MIB", "pimSGIAssertWinnerAddress"), ("PIM-STD-MIB", "pimSGRPRegisterPMBRAddressType"), ("PIM-STD-MIB", "pimSGIAssertState"), ("PIM-STD-MIB", "pimSGUpstreamNeighbor"), ("PIM-STD-MIB", "pimSGRPFRouteProtocol"), ("PIM-STD-MIB", "pimSGRPFRouteAddress"), ("PIM-STD-MIB", "pimSGRPFNextHop"), ("PIM-STD-MIB", "pimSGILocalMembership"), ("PIM-STD-MIB", "pimSGIUpTime"), ("PIM-STD-MIB", "pimSGRPRegisterPMBRAddress"), ("PIM-STD-MIB", "pimSGPimMode"), ("PIM-STD-MIB", "pimSGIPrunePendingTimer"), ("PIM-STD-MIB", "pimSGDRRegisterStopTimer"), ("PIM-STD-MIB", "pimSGKeepaliveTimer"), ("PIM-STD-MIB", "pimSGIAssertWinnerMetricPref"), ("PIM-STD-MIB", "pimSGRPFRouteMetric"), ("PIM-STD-MIB", "pimSGRPFRoutePrefixLength"), ("PIM-STD-MIB", "pimSGUpTime"), ("PIM-STD-MIB", "pimSGSPTBit"), ("PIM-STD-MIB", "pimSGUpstreamJoinState"), ("PIM-STD-MIB", "pimSGIAssertWinnerMetric"), ("PIM-STD-MIB", "pimSGIAssertWinnerAddressType"), ("PIM-STD-MIB", "pimSGRPFIfIndex"), ("PIM-STD-MIB", "pimSGRPFNextHopType"), ("PIM-STD-MIB", "pimSGRPFRouteMetricPref"), ("PIM-STD-MIB", "pimSGIJoinPruneState"), ("PIM-STD-MIB", "pimSGUpstreamJoinTimer"), ("PIM-STD-MIB", "pimSGIJoinExpiryTimer"), ("PIM-STD-MIB", "pimSGIAssertTimer"), ("PIM-STD-MIB", "pimSGDRRegisterState"), ) ) if mibBuilder.loadTexts: pimSsmGroup.setDescription("A collection of objects to support management of PIM\nrouters running the PIM SSM (Source Specific Multicast)\nprotocol, in PIM mode SM (Sparse Mode).") pimRPConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 6)).setObjects(*(("PIM-STD-MIB", "pimStaticRPPimMode"), ("PIM-STD-MIB", "pimStaticRPOverrideDynamic"), ("PIM-STD-MIB", "pimGroupMappingPimMode"), ("PIM-STD-MIB", "pimStaticRPStorageType"), ("PIM-STD-MIB", "pimStaticRPRowStatus"), ("PIM-STD-MIB", "pimGroupMappingPrecedence"), ("PIM-STD-MIB", "pimStaticRPRPAddress"), ) ) if mibBuilder.loadTexts: pimRPConfigGroup.setDescription("A collection of objects to support configuration of RPs\n(Rendezvous Points) and Group Mappings.") pimSmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 7)).setObjects(*(("PIM-STD-MIB", "pimSGRptUpTime"), ("PIM-STD-MIB", "pimStarGRPIsLocal"), ("PIM-STD-MIB", "pimStarGIAssertWinnerMetricPref"), ("PIM-STD-MIB", "pimStarGUpstreamJoinTimer"), ("PIM-STD-MIB", "pimSGRptIJoinPruneState"), ("PIM-STD-MIB", "pimStarGRPFNextHopType"), ("PIM-STD-MIB", "pimStarGRPFIfIndex"), ("PIM-STD-MIB", "pimSGRptUpstreamPruneState"), ("PIM-STD-MIB", "pimStarGPimModeOrigin"), ("PIM-STD-MIB", "pimStarGUpstreamJoinState"), ("PIM-STD-MIB", "pimStarGIPrunePendingTimer"), ("PIM-STD-MIB", "pimStarGRPFRouteMetricPref"), ("PIM-STD-MIB", "pimStarGRPFRouteAddress"), ("PIM-STD-MIB", "pimStarGUpstreamNeighbor"), ("PIM-STD-MIB", "pimStarGUpstreamNeighborType"), ("PIM-STD-MIB", "pimStarGIAssertWinnerAddress"), ("PIM-STD-MIB", "pimSGRptIUpTime"), ("PIM-STD-MIB", "pimStarGIAssertWinnerAddressType"), ("PIM-STD-MIB", "pimStarGIAssertWinnerMetric"), ("PIM-STD-MIB", "pimStarGIAssertState"), ("PIM-STD-MIB", "pimSGRptIPrunePendingTimer"), ("PIM-STD-MIB", "pimStarGRPFRouteMetric"), ("PIM-STD-MIB", "pimStarGRPFRoutePrefixLength"), ("PIM-STD-MIB", "pimStarGRPFNextHop"), ("PIM-STD-MIB", "pimStarGIUpTime"), ("PIM-STD-MIB", "pimStarGRPFRouteProtocol"), ("PIM-STD-MIB", "pimStarGUpTime"), ("PIM-STD-MIB", "pimSGRptILocalMembership"), ("PIM-STD-MIB", "pimStarGPimMode"), ("PIM-STD-MIB", "pimStarGRPAddressType"), ("PIM-STD-MIB", "pimSGRptUpstreamOverrideTimer"), ("PIM-STD-MIB", "pimStarGIJoinExpiryTimer"), ("PIM-STD-MIB", "pimStarGRPAddress"), ("PIM-STD-MIB", "pimStarGIAssertTimer"), ("PIM-STD-MIB", "pimStarGIJoinPruneState"), ("PIM-STD-MIB", "pimSGRptIPruneExpiryTimer"), ("PIM-STD-MIB", "pimStarGILocalMembership"), ) ) if mibBuilder.loadTexts: pimSmGroup.setDescription("A collection of objects to support management of PIM\nrouters running PIM-SM (Sparse Mode). The groups\npimSsmGroup and pimRPConfigGroup are also required.") pimBidirGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 8)).setObjects(*(("PIM-STD-MIB", "pimBidirDFElectionWinnerAddress"), ("PIM-STD-MIB", "pimBidirDFElectionStateTimer"), ("PIM-STD-MIB", "pimBidirDFElectionWinnerMetric"), ("PIM-STD-MIB", "pimBidirDFElectionWinnerAddressType"), ("PIM-STD-MIB", "pimBidirDFElectionState"), ("PIM-STD-MIB", "pimInterfaceDFElectionRobustness"), ("PIM-STD-MIB", "pimBidirDFElectionWinnerMetricPref"), ("PIM-STD-MIB", "pimBidirDFElectionWinnerUpTime"), ) ) if mibBuilder.loadTexts: pimBidirGroup.setDescription("A collection of objects to support management of PIM\nrouters running BIDIR mode. The groups pimSsmGroup,\npimSmGroup and pimRPConfigGroup are also required.") pimAnycastRpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 9)).setObjects(*(("PIM-STD-MIB", "pimAnycastRPSetRowStatus"), ("PIM-STD-MIB", "pimAnycastRPSetStorageType"), ("PIM-STD-MIB", "pimAnycastRPSetLocalRouter"), ) ) if mibBuilder.loadTexts: pimAnycastRpGroup.setDescription("A collection of objects to support management of the PIM\nAnycast-RP mechanism.") pimStaticRPPrecedenceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 10)).setObjects(*(("PIM-STD-MIB", "pimStaticRPPrecedence"), ) ) if mibBuilder.loadTexts: pimStaticRPPrecedenceGroup.setDescription("A collection of objects to allow fine control of\ninteractions between static RP configuration and\ndynamically acquired group to RP mappings.") pimNetMgmtNotificationObjects = NotificationGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 11)).setObjects(*(("PIM-STD-MIB", "pimInvalidJoinPruneRp"), ("PIM-STD-MIB", "pimInvalidRegisterRp"), ("PIM-STD-MIB", "pimInterfaceElectionWinCount"), ("PIM-STD-MIB", "pimInvalidRegisterAddressType"), ("PIM-STD-MIB", "pimInvalidRegisterGroup"), ("PIM-STD-MIB", "pimInvalidRegisterOrigin"), ("PIM-STD-MIB", "pimInterfaceElectionNotificationPeriod"), ("PIM-STD-MIB", "pimInvalidJoinPruneOrigin"), ("PIM-STD-MIB", "pimInvalidRegisterNotificationPeriod"), ("PIM-STD-MIB", "pimInvalidJoinPruneMsgsRcvd"), ("PIM-STD-MIB", "pimInvalidJoinPruneAddressType"), ("PIM-STD-MIB", "pimRPMappingNotificationPeriod"), ("PIM-STD-MIB", "pimInvalidRegisterMsgsRcvd"), ("PIM-STD-MIB", "pimRPMappingChangeCount"), ("PIM-STD-MIB", "pimInvalidJoinPruneGroup"), ("PIM-STD-MIB", "pimInvalidJoinPruneNotificationPeriod"), ) ) if mibBuilder.loadTexts: pimNetMgmtNotificationObjects.setDescription("A collection of objects to support notification of PIM\nnetwork management events.") pimNetMgmtNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 12)).setObjects(*(("PIM-STD-MIB", "pimInterfaceElection"), ("PIM-STD-MIB", "pimRPMappingChange"), ("PIM-STD-MIB", "pimInvalidJoinPrune"), ("PIM-STD-MIB", "pimInvalidRegister"), ) ) if mibBuilder.loadTexts: pimNetMgmtNotificationGroup.setDescription("A collection of notifications for signaling PIM network\nmanagement events.") pimDiagnosticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 13)).setObjects(*(("PIM-STD-MIB", "pimOutAsserts"), ("PIM-STD-MIB", "pimLastAssertInterface"), ("PIM-STD-MIB", "pimLastAssertGroupAddress"), ("PIM-STD-MIB", "pimLastAssertSourceAddress"), ("PIM-STD-MIB", "pimLastAssertGroupAddressType"), ("PIM-STD-MIB", "pimLastAssertSourceAddressType"), ("PIM-STD-MIB", "pimInAsserts"), ("PIM-STD-MIB", "pimNeighborLossNotificationPeriod"), ("PIM-STD-MIB", "pimNeighborLossCount"), ) ) if mibBuilder.loadTexts: pimDiagnosticsGroup.setDescription("Objects providing additional diagnostics related to a PIM\nrouter.") pimDmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 14)).setObjects(*(("PIM-STD-MIB", "pimSGUpstreamPruneLimitTimer"), ("PIM-STD-MIB", "pimInterfaceSRPriorityEnabled"), ("PIM-STD-MIB", "pimSGUpstreamPruneState"), ("PIM-STD-MIB", "pimNeighborSRCapable"), ("PIM-STD-MIB", "pimInterfaceGraftRetryInterval"), ("PIM-STD-MIB", "pimSGOriginatorState"), ("PIM-STD-MIB", "pimSGSourceActiveTimer"), ("PIM-STD-MIB", "pimSGStateRefreshTimer"), ("PIM-STD-MIB", "pimRefreshInterval"), ("PIM-STD-MIB", "pimInterfacePruneLimitInterval"), ) ) if mibBuilder.loadTexts: pimDmGroup.setDescription("A collection of objects required for management of PIM\nDense Mode (PIM-DM) function. The groups pimSsmGroup and\npimSmGroup are also required.") pimDeviceStorageGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 157, 2, 2, 15)).setObjects(*(("PIM-STD-MIB", "pimDeviceConfigStorageType"), ) ) if mibBuilder.loadTexts: pimDeviceStorageGroup.setDescription("An object that specifies the volatility of global PIM\nconfiguration settings on this device.") # Compliances pimMIBComplianceAsm = ModuleCompliance((1, 3, 6, 1, 2, 1, 157, 2, 1, 1)).setObjects(*(("PIM-STD-MIB", "pimRouterStatisticsGroup"), ("PIM-STD-MIB", "pimAnycastRpGroup"), ("PIM-STD-MIB", "pimTuningParametersGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationObjects"), ("PIM-STD-MIB", "pimDiagnosticsGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationGroup"), ("PIM-STD-MIB", "pimStaticRPPrecedenceGroup"), ("PIM-STD-MIB", "pimRPConfigGroup"), ("PIM-STD-MIB", "pimNotificationGroup"), ("PIM-STD-MIB", "pimSsmGroup"), ("PIM-STD-MIB", "pimSmGroup"), ("PIM-STD-MIB", "pimDeviceStorageGroup"), ("PIM-STD-MIB", "pimTopologyGroup"), ) ) if mibBuilder.loadTexts: pimMIBComplianceAsm.setDescription("The compliance statement for routers which are running\nPIM-SM (Sparse Mode).") pimMIBComplianceBidir = ModuleCompliance((1, 3, 6, 1, 2, 1, 157, 2, 1, 2)).setObjects(*(("PIM-STD-MIB", "pimRouterStatisticsGroup"), ("PIM-STD-MIB", "pimAnycastRpGroup"), ("PIM-STD-MIB", "pimTuningParametersGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationObjects"), ("PIM-STD-MIB", "pimDiagnosticsGroup"), ("PIM-STD-MIB", "pimBidirGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationGroup"), ("PIM-STD-MIB", "pimStaticRPPrecedenceGroup"), ("PIM-STD-MIB", "pimRPConfigGroup"), ("PIM-STD-MIB", "pimNotificationGroup"), ("PIM-STD-MIB", "pimSmGroup"), ("PIM-STD-MIB", "pimDeviceStorageGroup"), ("PIM-STD-MIB", "pimTopologyGroup"), ) ) if mibBuilder.loadTexts: pimMIBComplianceBidir.setDescription("The compliance statement for routers which are running\nBidir-PIM.") pimMIBComplianceSsm = ModuleCompliance((1, 3, 6, 1, 2, 1, 157, 2, 1, 3)).setObjects(*(("PIM-STD-MIB", "pimSsmGroup"), ("PIM-STD-MIB", "pimTuningParametersGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationObjects"), ("PIM-STD-MIB", "pimRouterStatisticsGroup"), ("PIM-STD-MIB", "pimDiagnosticsGroup"), ("PIM-STD-MIB", "pimTopologyGroup"), ("PIM-STD-MIB", "pimNotificationGroup"), ("PIM-STD-MIB", "pimDeviceStorageGroup"), ) ) if mibBuilder.loadTexts: pimMIBComplianceSsm.setDescription("The compliance statement for routers which are running\nPIM SSM (Source Specific Multicast).") pimMIBComplianceDm = ModuleCompliance((1, 3, 6, 1, 2, 1, 157, 2, 1, 4)).setObjects(*(("PIM-STD-MIB", "pimRouterStatisticsGroup"), ("PIM-STD-MIB", "pimAnycastRpGroup"), ("PIM-STD-MIB", "pimTuningParametersGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationObjects"), ("PIM-STD-MIB", "pimDiagnosticsGroup"), ("PIM-STD-MIB", "pimNetMgmtNotificationGroup"), ("PIM-STD-MIB", "pimDmGroup"), ("PIM-STD-MIB", "pimStaticRPPrecedenceGroup"), ("PIM-STD-MIB", "pimRPConfigGroup"), ("PIM-STD-MIB", "pimNotificationGroup"), ("PIM-STD-MIB", "pimSsmGroup"), ("PIM-STD-MIB", "pimSmGroup"), ("PIM-STD-MIB", "pimDeviceStorageGroup"), ("PIM-STD-MIB", "pimTopologyGroup"), ) ) if mibBuilder.loadTexts: pimMIBComplianceDm.setDescription("The compliance statement for routers which are running\nPIM-DM (Dense Mode).") # Exports # Module identity mibBuilder.exportSymbols("PIM-STD-MIB", PYSNMP_MODULE_ID=pimStdMIB) # Types mibBuilder.exportSymbols("PIM-STD-MIB", PimGroupMappingOriginType=PimGroupMappingOriginType, PimMode=PimMode) # Objects mibBuilder.exportSymbols("PIM-STD-MIB", pimStdMIB=pimStdMIB, pimNotifications=pimNotifications, pim=pim, pimInterfaceTable=pimInterfaceTable, pimInterfaceEntry=pimInterfaceEntry, pimInterfaceIfIndex=pimInterfaceIfIndex, pimInterfaceIPVersion=pimInterfaceIPVersion, pimInterfaceAddressType=pimInterfaceAddressType, pimInterfaceAddress=pimInterfaceAddress, pimInterfaceGenerationIDValue=pimInterfaceGenerationIDValue, pimInterfaceDR=pimInterfaceDR, pimInterfaceDRPriority=pimInterfaceDRPriority, pimInterfaceDRPriorityEnabled=pimInterfaceDRPriorityEnabled, pimInterfaceHelloInterval=pimInterfaceHelloInterval, pimInterfaceTrigHelloInterval=pimInterfaceTrigHelloInterval, pimInterfaceHelloHoldtime=pimInterfaceHelloHoldtime, pimInterfaceJoinPruneInterval=pimInterfaceJoinPruneInterval, pimInterfaceJoinPruneHoldtime=pimInterfaceJoinPruneHoldtime, pimInterfaceDFElectionRobustness=pimInterfaceDFElectionRobustness, pimInterfaceLanDelayEnabled=pimInterfaceLanDelayEnabled, pimInterfacePropagationDelay=pimInterfacePropagationDelay, pimInterfaceOverrideInterval=pimInterfaceOverrideInterval, pimInterfaceEffectPropagDelay=pimInterfaceEffectPropagDelay, pimInterfaceEffectOverrideIvl=pimInterfaceEffectOverrideIvl, pimInterfaceSuppressionEnabled=pimInterfaceSuppressionEnabled, pimInterfaceBidirCapable=pimInterfaceBidirCapable, pimInterfaceDomainBorder=pimInterfaceDomainBorder, pimInterfaceStubInterface=pimInterfaceStubInterface, pimInterfacePruneLimitInterval=pimInterfacePruneLimitInterval, pimInterfaceGraftRetryInterval=pimInterfaceGraftRetryInterval, pimInterfaceSRPriorityEnabled=pimInterfaceSRPriorityEnabled, pimInterfaceStatus=pimInterfaceStatus, pimInterfaceStorageType=pimInterfaceStorageType, pimNeighborTable=pimNeighborTable, pimNeighborEntry=pimNeighborEntry, pimNeighborIfIndex=pimNeighborIfIndex, pimNeighborAddressType=pimNeighborAddressType, pimNeighborAddress=pimNeighborAddress, pimNeighborGenerationIDPresent=pimNeighborGenerationIDPresent, pimNeighborGenerationIDValue=pimNeighborGenerationIDValue, pimNeighborUpTime=pimNeighborUpTime, pimNeighborExpiryTime=pimNeighborExpiryTime, pimNeighborDRPriorityPresent=pimNeighborDRPriorityPresent, pimNeighborDRPriority=pimNeighborDRPriority, pimNeighborLanPruneDelayPresent=pimNeighborLanPruneDelayPresent, pimNeighborTBit=pimNeighborTBit, pimNeighborPropagationDelay=pimNeighborPropagationDelay, pimNeighborOverrideInterval=pimNeighborOverrideInterval, pimNeighborBidirCapable=pimNeighborBidirCapable, pimNeighborSRCapable=pimNeighborSRCapable, pimNbrSecAddressTable=pimNbrSecAddressTable, pimNbrSecAddressEntry=pimNbrSecAddressEntry, pimNbrSecAddressIfIndex=pimNbrSecAddressIfIndex, pimNbrSecAddressType=pimNbrSecAddressType, pimNbrSecAddressPrimary=pimNbrSecAddressPrimary, pimNbrSecAddress=pimNbrSecAddress, pimStarGTable=pimStarGTable, pimStarGEntry=pimStarGEntry, pimStarGAddressType=pimStarGAddressType, pimStarGGrpAddress=pimStarGGrpAddress, pimStarGUpTime=pimStarGUpTime, pimStarGPimMode=pimStarGPimMode, pimStarGRPAddressType=pimStarGRPAddressType, pimStarGRPAddress=pimStarGRPAddress, pimStarGPimModeOrigin=pimStarGPimModeOrigin, pimStarGRPIsLocal=pimStarGRPIsLocal, pimStarGUpstreamJoinState=pimStarGUpstreamJoinState, pimStarGUpstreamJoinTimer=pimStarGUpstreamJoinTimer, pimStarGUpstreamNeighborType=pimStarGUpstreamNeighborType, pimStarGUpstreamNeighbor=pimStarGUpstreamNeighbor, pimStarGRPFIfIndex=pimStarGRPFIfIndex, pimStarGRPFNextHopType=pimStarGRPFNextHopType, pimStarGRPFNextHop=pimStarGRPFNextHop, pimStarGRPFRouteProtocol=pimStarGRPFRouteProtocol, pimStarGRPFRouteAddress=pimStarGRPFRouteAddress, pimStarGRPFRoutePrefixLength=pimStarGRPFRoutePrefixLength, pimStarGRPFRouteMetricPref=pimStarGRPFRouteMetricPref, pimStarGRPFRouteMetric=pimStarGRPFRouteMetric, pimStarGITable=pimStarGITable, pimStarGIEntry=pimStarGIEntry, pimStarGIIfIndex=pimStarGIIfIndex, pimStarGIUpTime=pimStarGIUpTime, pimStarGILocalMembership=pimStarGILocalMembership, pimStarGIJoinPruneState=pimStarGIJoinPruneState, pimStarGIPrunePendingTimer=pimStarGIPrunePendingTimer, pimStarGIJoinExpiryTimer=pimStarGIJoinExpiryTimer, pimStarGIAssertState=pimStarGIAssertState, pimStarGIAssertTimer=pimStarGIAssertTimer, pimStarGIAssertWinnerAddressType=pimStarGIAssertWinnerAddressType, pimStarGIAssertWinnerAddress=pimStarGIAssertWinnerAddress, pimStarGIAssertWinnerMetricPref=pimStarGIAssertWinnerMetricPref, pimStarGIAssertWinnerMetric=pimStarGIAssertWinnerMetric, pimSGTable=pimSGTable, pimSGEntry=pimSGEntry, pimSGAddressType=pimSGAddressType, pimSGGrpAddress=pimSGGrpAddress, pimSGSrcAddress=pimSGSrcAddress, pimSGUpTime=pimSGUpTime, pimSGPimMode=pimSGPimMode, pimSGUpstreamJoinState=pimSGUpstreamJoinState, pimSGUpstreamJoinTimer=pimSGUpstreamJoinTimer, pimSGUpstreamNeighbor=pimSGUpstreamNeighbor, pimSGRPFIfIndex=pimSGRPFIfIndex, pimSGRPFNextHopType=pimSGRPFNextHopType, pimSGRPFNextHop=pimSGRPFNextHop, pimSGRPFRouteProtocol=pimSGRPFRouteProtocol, pimSGRPFRouteAddress=pimSGRPFRouteAddress, pimSGRPFRoutePrefixLength=pimSGRPFRoutePrefixLength, pimSGRPFRouteMetricPref=pimSGRPFRouteMetricPref, pimSGRPFRouteMetric=pimSGRPFRouteMetric, pimSGSPTBit=pimSGSPTBit, pimSGKeepaliveTimer=pimSGKeepaliveTimer, pimSGDRRegisterState=pimSGDRRegisterState, pimSGDRRegisterStopTimer=pimSGDRRegisterStopTimer, pimSGRPRegisterPMBRAddressType=pimSGRPRegisterPMBRAddressType, pimSGRPRegisterPMBRAddress=pimSGRPRegisterPMBRAddress, pimSGUpstreamPruneState=pimSGUpstreamPruneState, pimSGUpstreamPruneLimitTimer=pimSGUpstreamPruneLimitTimer, pimSGOriginatorState=pimSGOriginatorState, pimSGSourceActiveTimer=pimSGSourceActiveTimer, pimSGStateRefreshTimer=pimSGStateRefreshTimer, pimSGITable=pimSGITable, pimSGIEntry=pimSGIEntry, pimSGIIfIndex=pimSGIIfIndex, pimSGIUpTime=pimSGIUpTime, pimSGILocalMembership=pimSGILocalMembership) mibBuilder.exportSymbols("PIM-STD-MIB", pimSGIJoinPruneState=pimSGIJoinPruneState, pimSGIPrunePendingTimer=pimSGIPrunePendingTimer, pimSGIJoinExpiryTimer=pimSGIJoinExpiryTimer, pimSGIAssertState=pimSGIAssertState, pimSGIAssertTimer=pimSGIAssertTimer, pimSGIAssertWinnerAddressType=pimSGIAssertWinnerAddressType, pimSGIAssertWinnerAddress=pimSGIAssertWinnerAddress, pimSGIAssertWinnerMetricPref=pimSGIAssertWinnerMetricPref, pimSGIAssertWinnerMetric=pimSGIAssertWinnerMetric, pimSGRptTable=pimSGRptTable, pimSGRptEntry=pimSGRptEntry, pimSGRptSrcAddress=pimSGRptSrcAddress, pimSGRptUpTime=pimSGRptUpTime, pimSGRptUpstreamPruneState=pimSGRptUpstreamPruneState, pimSGRptUpstreamOverrideTimer=pimSGRptUpstreamOverrideTimer, pimSGRptITable=pimSGRptITable, pimSGRptIEntry=pimSGRptIEntry, pimSGRptIIfIndex=pimSGRptIIfIndex, pimSGRptIUpTime=pimSGRptIUpTime, pimSGRptILocalMembership=pimSGRptILocalMembership, pimSGRptIJoinPruneState=pimSGRptIJoinPruneState, pimSGRptIPrunePendingTimer=pimSGRptIPrunePendingTimer, pimSGRptIPruneExpiryTimer=pimSGRptIPruneExpiryTimer, pimBidirDFElectionTable=pimBidirDFElectionTable, pimBidirDFElectionEntry=pimBidirDFElectionEntry, pimBidirDFElectionAddressType=pimBidirDFElectionAddressType, pimBidirDFElectionRPAddress=pimBidirDFElectionRPAddress, pimBidirDFElectionIfIndex=pimBidirDFElectionIfIndex, pimBidirDFElectionWinnerAddressType=pimBidirDFElectionWinnerAddressType, pimBidirDFElectionWinnerAddress=pimBidirDFElectionWinnerAddress, pimBidirDFElectionWinnerUpTime=pimBidirDFElectionWinnerUpTime, pimBidirDFElectionWinnerMetricPref=pimBidirDFElectionWinnerMetricPref, pimBidirDFElectionWinnerMetric=pimBidirDFElectionWinnerMetric, pimBidirDFElectionState=pimBidirDFElectionState, pimBidirDFElectionStateTimer=pimBidirDFElectionStateTimer, pimStaticRPTable=pimStaticRPTable, pimStaticRPEntry=pimStaticRPEntry, pimStaticRPAddressType=pimStaticRPAddressType, pimStaticRPGrpAddress=pimStaticRPGrpAddress, pimStaticRPGrpPrefixLength=pimStaticRPGrpPrefixLength, pimStaticRPRPAddress=pimStaticRPRPAddress, pimStaticRPPimMode=pimStaticRPPimMode, pimStaticRPOverrideDynamic=pimStaticRPOverrideDynamic, pimStaticRPPrecedence=pimStaticRPPrecedence, pimStaticRPRowStatus=pimStaticRPRowStatus, pimStaticRPStorageType=pimStaticRPStorageType, pimAnycastRPSetTable=pimAnycastRPSetTable, pimAnycastRPSetEntry=pimAnycastRPSetEntry, pimAnycastRPSetAddressType=pimAnycastRPSetAddressType, pimAnycastRPSetAnycastAddress=pimAnycastRPSetAnycastAddress, pimAnycastRPSetRouterAddress=pimAnycastRPSetRouterAddress, pimAnycastRPSetLocalRouter=pimAnycastRPSetLocalRouter, pimAnycastRPSetRowStatus=pimAnycastRPSetRowStatus, pimAnycastRPSetStorageType=pimAnycastRPSetStorageType, pimGroupMappingTable=pimGroupMappingTable, pimGroupMappingEntry=pimGroupMappingEntry, pimGroupMappingOrigin=pimGroupMappingOrigin, pimGroupMappingAddressType=pimGroupMappingAddressType, pimGroupMappingGrpAddress=pimGroupMappingGrpAddress, pimGroupMappingGrpPrefixLength=pimGroupMappingGrpPrefixLength, pimGroupMappingRPAddressType=pimGroupMappingRPAddressType, pimGroupMappingRPAddress=pimGroupMappingRPAddress, pimGroupMappingPimMode=pimGroupMappingPimMode, pimGroupMappingPrecedence=pimGroupMappingPrecedence, pimKeepalivePeriod=pimKeepalivePeriod, pimRegisterSuppressionTime=pimRegisterSuppressionTime, pimStarGEntries=pimStarGEntries, pimStarGIEntries=pimStarGIEntries, pimSGEntries=pimSGEntries, pimSGIEntries=pimSGIEntries, pimSGRptEntries=pimSGRptEntries, pimSGRptIEntries=pimSGRptIEntries, pimOutAsserts=pimOutAsserts, pimInAsserts=pimInAsserts, pimLastAssertInterface=pimLastAssertInterface, pimLastAssertGroupAddressType=pimLastAssertGroupAddressType, pimLastAssertGroupAddress=pimLastAssertGroupAddress, pimLastAssertSourceAddressType=pimLastAssertSourceAddressType, pimLastAssertSourceAddress=pimLastAssertSourceAddress, pimNeighborLossNotificationPeriod=pimNeighborLossNotificationPeriod, pimNeighborLossCount=pimNeighborLossCount, pimInvalidRegisterNotificationPeriod=pimInvalidRegisterNotificationPeriod, pimInvalidRegisterMsgsRcvd=pimInvalidRegisterMsgsRcvd, pimInvalidRegisterAddressType=pimInvalidRegisterAddressType, pimInvalidRegisterOrigin=pimInvalidRegisterOrigin, pimInvalidRegisterGroup=pimInvalidRegisterGroup, pimInvalidRegisterRp=pimInvalidRegisterRp, pimInvalidJoinPruneNotificationPeriod=pimInvalidJoinPruneNotificationPeriod, pimInvalidJoinPruneMsgsRcvd=pimInvalidJoinPruneMsgsRcvd, pimInvalidJoinPruneAddressType=pimInvalidJoinPruneAddressType, pimInvalidJoinPruneOrigin=pimInvalidJoinPruneOrigin, pimInvalidJoinPruneGroup=pimInvalidJoinPruneGroup, pimInvalidJoinPruneRp=pimInvalidJoinPruneRp, pimRPMappingNotificationPeriod=pimRPMappingNotificationPeriod, pimRPMappingChangeCount=pimRPMappingChangeCount, pimInterfaceElectionNotificationPeriod=pimInterfaceElectionNotificationPeriod, pimInterfaceElectionWinCount=pimInterfaceElectionWinCount, pimRefreshInterval=pimRefreshInterval, pimDeviceConfigStorageType=pimDeviceConfigStorageType, pimMIBConformance=pimMIBConformance, pimMIBCompliances=pimMIBCompliances, pimMIBGroups=pimMIBGroups) # Notifications mibBuilder.exportSymbols("PIM-STD-MIB", pimNeighborLoss=pimNeighborLoss, pimInvalidRegister=pimInvalidRegister, pimInvalidJoinPrune=pimInvalidJoinPrune, pimRPMappingChange=pimRPMappingChange, pimInterfaceElection=pimInterfaceElection) # Groups mibBuilder.exportSymbols("PIM-STD-MIB", pimTopologyGroup=pimTopologyGroup, pimNotificationGroup=pimNotificationGroup, pimTuningParametersGroup=pimTuningParametersGroup, pimRouterStatisticsGroup=pimRouterStatisticsGroup, pimSsmGroup=pimSsmGroup, pimRPConfigGroup=pimRPConfigGroup, pimSmGroup=pimSmGroup, pimBidirGroup=pimBidirGroup, pimAnycastRpGroup=pimAnycastRpGroup, pimStaticRPPrecedenceGroup=pimStaticRPPrecedenceGroup, pimNetMgmtNotificationObjects=pimNetMgmtNotificationObjects, pimNetMgmtNotificationGroup=pimNetMgmtNotificationGroup, pimDiagnosticsGroup=pimDiagnosticsGroup, pimDmGroup=pimDmGroup, pimDeviceStorageGroup=pimDeviceStorageGroup) # Compliances mibBuilder.exportSymbols("PIM-STD-MIB", pimMIBComplianceAsm=pimMIBComplianceAsm, pimMIBComplianceBidir=pimMIBComplianceBidir, pimMIBComplianceSsm=pimMIBComplianceSsm, pimMIBComplianceDm=pimMIBComplianceDm) pysnmp-mibs-0.1.3/pysnmp_mibs/RADIUS-AUTH-CLIENT-MIB.py0000644000014400001440000006137211736645137022151 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RADIUS-AUTH-CLIENT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:30 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") # Objects radiusMIB = ObjectIdentity((1, 3, 6, 1, 2, 1, 67)) if mibBuilder.loadTexts: radiusMIB.setDescription("The OID assigned to RADIUS MIB work by the IANA.") radiusAuthentication = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1)) radiusAuthClientMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 67, 1, 2)).setRevisions(("2006-08-21 00:00","1999-06-11 00:00",)) if mibBuilder.loadTexts: radiusAuthClientMIB.setOrganization("IETF RADIUS Extensions Working Group.") if mibBuilder.loadTexts: radiusAuthClientMIB.setContactInfo(" Bernard Aboba\nMicrosoft\nOne Microsoft Way\nRedmond, WA 98052\n\n\n\nUS\nPhone: +1 425 936 6605\nEMail: bernarda@microsoft.com") if mibBuilder.loadTexts: radiusAuthClientMIB.setDescription("The MIB module for entities implementing the client\nside of the Remote Authentication Dial-In User Service\n(RADIUS) authentication protocol. Copyright (C) The\nInternet Society (2006). This version of this MIB\nmodule is part of RFC 4668; see the RFC itself for\nfull legal notices.") radiusAuthClientMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 2, 1)) radiusAuthClient = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1)) radiusAuthClientInvalidServerAddresses = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 1), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAuthClientInvalidServerAddresses.setDescription("The number of RADIUS Access-Response packets\nreceived from unknown addresses.") radiusAuthClientIdentifier = MibScalar((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientIdentifier.setDescription("The NAS-Identifier of the RADIUS authentication client.\nThis is not necessarily the same as sysName in MIB II.") radiusAuthServerTable = MibTable((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3)) if mibBuilder.loadTexts: radiusAuthServerTable.setDescription("The (conceptual) table listing the RADIUS authentication\nservers with which the client shares a secret.") radiusAuthServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1)).setIndexNames((0, "RADIUS-AUTH-CLIENT-MIB", "radiusAuthServerIndex")) if mibBuilder.loadTexts: radiusAuthServerEntry.setDescription("An entry (conceptual row) representing a RADIUS\nauthentication server with which the client shares\na secret.") radiusAuthServerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAuthServerIndex.setDescription("A number uniquely identifying each RADIUS\nAuthentication server with which this client\ncommunicates.") radiusAuthServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServerAddress.setDescription("The IP address of the RADIUS authentication server\nreferred to in this table entry.") radiusAuthClientServerPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientServerPortNumber.setDescription("The UDP port the client is using to send requests to\nthis server.") radiusAuthClientRoundTripTime = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientRoundTripTime.setDescription("The time interval (in hundredths of a second) between\nthe most recent Access-Reply/Access-Challenge and the\nAccess-Request that matched it from this RADIUS\nauthentication server.") radiusAuthClientAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientAccessRequests.setDescription("The number of RADIUS Access-Request packets sent\nto this server. This does not include retransmissions.") radiusAuthClientAccessRetransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientAccessRetransmissions.setDescription("The number of RADIUS Access-Request packets\nretransmitted to this RADIUS authentication server.") radiusAuthClientAccessAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientAccessAccepts.setDescription("The number of RADIUS Access-Accept packets\n(valid or invalid) received from this server.") radiusAuthClientAccessRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientAccessRejects.setDescription("The number of RADIUS Access-Reject packets\n(valid or invalid) received from this server.") radiusAuthClientAccessChallenges = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientAccessChallenges.setDescription("The number of RADIUS Access-Challenge packets\n(valid or invalid) received from this server.") radiusAuthClientMalformedAccessResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientMalformedAccessResponses.setDescription("The number of malformed RADIUS Access-Response\npackets received from this server.\nMalformed packets include packets with\nan invalid length. Bad authenticators or\nMessage Authenticator attributes or unknown types\nare not included as malformed access responses.") radiusAuthClientBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientBadAuthenticators.setDescription("The number of RADIUS Access-Response packets\ncontaining invalid authenticators or Message\nAuthenticator attributes received from this server.") radiusAuthClientPendingRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientPendingRequests.setDescription("The number of RADIUS Access-Request packets\ndestined for this server that have not yet timed out\nor received a response. This variable is incremented\n\n\n\nwhen an Access-Request is sent and decremented due to\nreceipt of an Access-Accept, Access-Reject,\nAccess-Challenge, timeout, or retransmission.") radiusAuthClientTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientTimeouts.setDescription("The number of authentication timeouts to this server.\nAfter a timeout, the client may retry to the same\nserver, send to a different server, or\ngive up. A retry to the same server is counted as a\nretransmit as well as a timeout. A send to a different\nserver is counted as a Request as well as a timeout.") radiusAuthClientUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this server on the authentication\nport.") radiusAuthClientPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientPacketsDropped.setDescription("The number of RADIUS packets that were\nreceived from this server on the authentication port\nand dropped for some other reason.") radiusAuthServerExtTable = MibTable((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4)) if mibBuilder.loadTexts: radiusAuthServerExtTable.setDescription("The (conceptual) table listing the RADIUS authentication\nservers with which the client shares a secret.") radiusAuthServerExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1)).setIndexNames((0, "RADIUS-AUTH-CLIENT-MIB", "radiusAuthServerExtIndex")) if mibBuilder.loadTexts: radiusAuthServerExtEntry.setDescription("An entry (conceptual row) representing a RADIUS\nauthentication server with which the client shares\na secret.") radiusAuthServerExtIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAuthServerExtIndex.setDescription("A number uniquely identifying each RADIUS\nAuthentication server with which this client\ncommunicates.") radiusAuthServerInetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServerInetAddressType.setDescription("The type of address format used for the\nradiusAuthServerInetAddress object.") radiusAuthServerInetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthServerInetAddress.setDescription("The IP address of the RADIUS authentication\nserver referred to in this table entry, using\nthe version-neutral IP address format.") radiusAuthClientServerInetPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 4), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientServerInetPortNumber.setDescription("The UDP port the client is using to send requests\nto this server. The value of zero (0) is invalid.") radiusAuthClientExtRoundTripTime = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtRoundTripTime.setDescription("The time interval (in hundredths of a second) between\nthe most recent Access-Reply/Access-Challenge and the\nAccess-Request that matched it from this RADIUS\nauthentication server.") radiusAuthClientExtAccessRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtAccessRequests.setDescription("The number of RADIUS Access-Request packets sent\nto this server. This does not include retransmissions.\nThis counter may experience a discontinuity when the\nRADIUS Client module within the managed entity is\nreinitialized, as indicated by the current value of\nradiusAuthClientCounterDiscontinuity.") radiusAuthClientExtAccessRetransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtAccessRetransmissions.setDescription("The number of RADIUS Access-Request packets\nretransmitted to this RADIUS authentication server.\nThis counter may experience a discontinuity when\nthe RADIUS Client module within the managed entity\nis reinitialized, as indicated by the current value\nof radiusAuthClientCounterDiscontinuity.") radiusAuthClientExtAccessAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtAccessAccepts.setDescription("The number of RADIUS Access-Accept packets\n(valid or invalid) received from this server.\nThis counter may experience a discontinuity when\nthe RADIUS Client module within the managed entity\nis reinitialized, as indicated by the current value\n\n\n\nof radiusAuthClientCounterDiscontinuity.") radiusAuthClientExtAccessRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtAccessRejects.setDescription("The number of RADIUS Access-Reject packets\n(valid or invalid) received from this server.\nThis counter may experience a discontinuity when\nthe RADIUS Client module within the managed\nentity is reinitialized, as indicated by the\ncurrent value of\nradiusAuthClientCounterDiscontinuity.") radiusAuthClientExtAccessChallenges = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtAccessChallenges.setDescription("The number of RADIUS Access-Challenge packets\n(valid or invalid) received from this server.\nThis counter may experience a discontinuity when\nthe RADIUS Client module within the managed\nentity is reinitialized, as indicated by the\ncurrent value of\nradiusAuthClientCounterDiscontinuity.") radiusAuthClientExtMalformedAccessResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtMalformedAccessResponses.setDescription("The number of malformed RADIUS Access-Response\npackets received from this server.\nMalformed packets include packets with\n\n\n\nan invalid length. Bad authenticators or\nMessage Authenticator attributes or unknown types\nare not included as malformed access responses.\nThis counter may experience a discontinuity when\nthe RADIUS Client module within the managed entity\nis reinitialized, as indicated by the current value\nof radiusAuthClientCounterDiscontinuity.") radiusAuthClientExtBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtBadAuthenticators.setDescription("The number of RADIUS Access-Response packets\ncontaining invalid authenticators or Message\nAuthenticator attributes received from this server.\nThis counter may experience a discontinuity when\nthe RADIUS Client module within the managed entity\nis reinitialized, as indicated by the current value\nof radiusAuthClientCounterDiscontinuity.") radiusAuthClientExtPendingRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtPendingRequests.setDescription("The number of RADIUS Access-Request packets\ndestined for this server that have not yet timed out\nor received a response. This variable is incremented\nwhen an Access-Request is sent and decremented due to\nreceipt of an Access-Accept, Access-Reject,\nAccess-Challenge, timeout, or retransmission.") radiusAuthClientExtTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtTimeouts.setDescription("The number of authentication timeouts to this server.\n\n\n\nAfter a timeout, the client may retry to the same\nserver, send to a different server, or\ngive up. A retry to the same server is counted as a\nretransmit as well as a timeout. A send to a different\nserver is counted as a Request as well as a timeout.\nThis counter may experience a discontinuity when the\nRADIUS Client module within the managed entity is\nreinitialized, as indicated by the current value of\nradiusAuthClientCounterDiscontinuity.") radiusAuthClientExtUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this server on the authentication\nport. This counter may experience a discontinuity\nwhen the RADIUS Client module within the managed\nentity is reinitialized, as indicated by the current\nvalue of radiusAuthClientCounterDiscontinuity.") radiusAuthClientExtPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientExtPacketsDropped.setDescription("The number of RADIUS packets that were\nreceived from this server on the authentication port\nand dropped for some other reason. This counter may\nexperience a discontinuity when the RADIUS Client\nmodule within the managed entity is reinitialized,\nas indicated by the current value of\nradiusAuthClientCounterDiscontinuity.") radiusAuthClientCounterDiscontinuity = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 1, 2, 1, 1, 4, 1, 17), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAuthClientCounterDiscontinuity.setDescription("The number of centiseconds since the last discontinuity\nin the RADIUS Client counters. A discontinuity may\nbe the result of a reinitialization of the RADIUS\nClient module within the managed entity.") radiusAuthClientMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 2, 2)) radiusAuthClientMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 2, 2, 1)) radiusAuthClientMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 1, 2, 2, 2)) # Augmentions # Groups radiusAuthClientMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 1, 2, 2, 2, 1)).setObjects(*(("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientRoundTripTime"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientAccessChallenges"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientAccessAccepts"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientAccessRejects"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientServerPortNumber"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthServerAddress"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientIdentifier"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientAccessRequests"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientUnknownTypes"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientBadAuthenticators"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientAccessRetransmissions"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientInvalidServerAddresses"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientPacketsDropped"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientMalformedAccessResponses"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientPendingRequests"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientTimeouts"), ) ) if mibBuilder.loadTexts: radiusAuthClientMIBGroup.setDescription("The basic collection of objects providing management of\nRADIUS Authentication Clients.") radiusAuthClientExtMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 1, 2, 2, 2, 2)).setObjects(*(("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientServerInetPortNumber"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtAccessRejects"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtBadAuthenticators"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthServerInetAddressType"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientCounterDiscontinuity"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtUnknownTypes"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtTimeouts"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientIdentifier"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtAccessAccepts"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtRoundTripTime"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientInvalidServerAddresses"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtPacketsDropped"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtAccessRequests"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtMalformedAccessResponses"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtAccessChallenges"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtAccessRetransmissions"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthServerInetAddress"), ("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtPendingRequests"), ) ) if mibBuilder.loadTexts: radiusAuthClientExtMIBGroup.setDescription("The collection of extended objects providing\nmanagement of RADIUS Authentication Clients\nusing version-neutral IP address format.") # Compliances radiusAuthClientMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 1, 2, 2, 1, 1)).setObjects(*(("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAuthClientMIBCompliance.setDescription("The compliance statement for authentication clients\nimplementing the RADIUS Authentication Client MIB.\nImplementation of this module is for IPv4-only\nentities, or for backwards compatibility use with\nentities that support both IPv4 and IPv6.") radiusAuthClientExtMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 1, 2, 2, 1, 2)).setObjects(*(("RADIUS-AUTH-CLIENT-MIB", "radiusAuthClientExtMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAuthClientExtMIBCompliance.setDescription("The compliance statement for authentication\nclients implementing the RADIUS Authentication\nClient IPv6 Extensions MIB. Implementation of\nthis module is for entities that support IPv6,\nor support IPv4 and IPv6.") # Exports # Module identity mibBuilder.exportSymbols("RADIUS-AUTH-CLIENT-MIB", PYSNMP_MODULE_ID=radiusAuthClientMIB) # Objects mibBuilder.exportSymbols("RADIUS-AUTH-CLIENT-MIB", radiusMIB=radiusMIB, radiusAuthentication=radiusAuthentication, radiusAuthClientMIB=radiusAuthClientMIB, radiusAuthClientMIBObjects=radiusAuthClientMIBObjects, radiusAuthClient=radiusAuthClient, radiusAuthClientInvalidServerAddresses=radiusAuthClientInvalidServerAddresses, radiusAuthClientIdentifier=radiusAuthClientIdentifier, radiusAuthServerTable=radiusAuthServerTable, radiusAuthServerEntry=radiusAuthServerEntry, radiusAuthServerIndex=radiusAuthServerIndex, radiusAuthServerAddress=radiusAuthServerAddress, radiusAuthClientServerPortNumber=radiusAuthClientServerPortNumber, radiusAuthClientRoundTripTime=radiusAuthClientRoundTripTime, radiusAuthClientAccessRequests=radiusAuthClientAccessRequests, radiusAuthClientAccessRetransmissions=radiusAuthClientAccessRetransmissions, radiusAuthClientAccessAccepts=radiusAuthClientAccessAccepts, radiusAuthClientAccessRejects=radiusAuthClientAccessRejects, radiusAuthClientAccessChallenges=radiusAuthClientAccessChallenges, radiusAuthClientMalformedAccessResponses=radiusAuthClientMalformedAccessResponses, radiusAuthClientBadAuthenticators=radiusAuthClientBadAuthenticators, radiusAuthClientPendingRequests=radiusAuthClientPendingRequests, radiusAuthClientTimeouts=radiusAuthClientTimeouts, radiusAuthClientUnknownTypes=radiusAuthClientUnknownTypes, radiusAuthClientPacketsDropped=radiusAuthClientPacketsDropped, radiusAuthServerExtTable=radiusAuthServerExtTable, radiusAuthServerExtEntry=radiusAuthServerExtEntry, radiusAuthServerExtIndex=radiusAuthServerExtIndex, radiusAuthServerInetAddressType=radiusAuthServerInetAddressType, radiusAuthServerInetAddress=radiusAuthServerInetAddress, radiusAuthClientServerInetPortNumber=radiusAuthClientServerInetPortNumber, radiusAuthClientExtRoundTripTime=radiusAuthClientExtRoundTripTime, radiusAuthClientExtAccessRequests=radiusAuthClientExtAccessRequests, radiusAuthClientExtAccessRetransmissions=radiusAuthClientExtAccessRetransmissions, radiusAuthClientExtAccessAccepts=radiusAuthClientExtAccessAccepts, radiusAuthClientExtAccessRejects=radiusAuthClientExtAccessRejects, radiusAuthClientExtAccessChallenges=radiusAuthClientExtAccessChallenges, radiusAuthClientExtMalformedAccessResponses=radiusAuthClientExtMalformedAccessResponses, radiusAuthClientExtBadAuthenticators=radiusAuthClientExtBadAuthenticators, radiusAuthClientExtPendingRequests=radiusAuthClientExtPendingRequests, radiusAuthClientExtTimeouts=radiusAuthClientExtTimeouts, radiusAuthClientExtUnknownTypes=radiusAuthClientExtUnknownTypes, radiusAuthClientExtPacketsDropped=radiusAuthClientExtPacketsDropped, radiusAuthClientCounterDiscontinuity=radiusAuthClientCounterDiscontinuity, radiusAuthClientMIBConformance=radiusAuthClientMIBConformance, radiusAuthClientMIBCompliances=radiusAuthClientMIBCompliances, radiusAuthClientMIBGroups=radiusAuthClientMIBGroups) # Groups mibBuilder.exportSymbols("RADIUS-AUTH-CLIENT-MIB", radiusAuthClientMIBGroup=radiusAuthClientMIBGroup, radiusAuthClientExtMIBGroup=radiusAuthClientExtMIBGroup) # Compliances mibBuilder.exportSymbols("RADIUS-AUTH-CLIENT-MIB", radiusAuthClientMIBCompliance=radiusAuthClientMIBCompliance, radiusAuthClientExtMIBCompliance=radiusAuthClientExtMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/NET-SNMP-AGENT-MIB.py0000644000014400001440000004331611736645137021502 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NET-SNMP-AGENT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:22 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( netSnmpGroups, netSnmpModuleIDs, netSnmpNotifications, netSnmpObjects, ) = mibBuilder.importSymbols("NET-SNMP-MIB", "netSnmpGroups", "netSnmpModuleIDs", "netSnmpNotifications", "netSnmpObjects") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( DisplayString, RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "TruthValue") # Types class NetsnmpCacheStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,5,1,3,) namedValues = NamedValues(("enabled", 1), ("disabled", 2), ("empty", 3), ("cached", 4), ("expired", 5), ) # Objects nsVersion = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 1)) nsMibRegistry = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 2)) nsModuleTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1)) if mibBuilder.loadTexts: nsModuleTable.setDescription("A table displaying all the oid's registered by mib modules in\nthe agent. Since the agent is modular in nature, this lists\neach module's OID it is responsible for and the name of the module") nsModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1, 1)).setIndexNames((0, "NET-SNMP-AGENT-MIB", "nsmContextName"), (0, "NET-SNMP-AGENT-MIB", "nsmRegistrationPoint"), (0, "NET-SNMP-AGENT-MIB", "nsmRegistrationPriority")) if mibBuilder.loadTexts: nsModuleEntry.setDescription("An entry containing a registered mib oid.") nsmContextName = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1, 1, 1), SnmpAdminString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsmContextName.setDescription("The context name the module is registered under.") nsmRegistrationPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1, 1, 2), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsmRegistrationPoint.setDescription("The registry OID of a mib module.") nsmRegistrationPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsmRegistrationPriority.setDescription("The priority of the registered mib module.") nsModuleName = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsModuleName.setDescription("The module name that registered this OID.") nsModuleModes = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1, 1, 5), Bits().subtype(namedValues=NamedValues(("getAndGetNext", 0), ("set", 1), ("getBulk", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsModuleModes.setDescription("The modes that the particular lower level handler can cope\nwith directly.") nsModuleTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 2, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsModuleTimeout.setDescription("The registered timeout. This is only meaningful for handlers\nthat expect to return results at a later date (subagents,\netc)") nsExtensions = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 3)) nsDLMod = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 4)) nsCache = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 5)) nsCacheDefaultTimeout = MibScalar((1, 3, 6, 1, 4, 1, 8072, 1, 5, 1), Integer32().clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nsCacheDefaultTimeout.setDescription("Default cache timeout value (unless overridden\nfor a particular cache entry).") nsCacheEnabled = MibScalar((1, 3, 6, 1, 4, 1, 8072, 1, 5, 2), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nsCacheEnabled.setDescription("Whether data caching is active overall.") nsCacheTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 5, 3)) if mibBuilder.loadTexts: nsCacheTable.setDescription("A table of individual MIB module data caches.") nsCacheEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 5, 3, 1)).setIndexNames((1, "NET-SNMP-AGENT-MIB", "nsCachedOID")) if mibBuilder.loadTexts: nsCacheEntry.setDescription("A conceptual row within the cache table.") nsCachedOID = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 5, 3, 1, 1), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsCachedOID.setDescription("The root OID of the data being cached.") nsCacheTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 5, 3, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nsCacheTimeout.setDescription("The length of time (?in seconds) for which the data in\nthis particular cache entry will remain valid.") nsCacheStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 5, 3, 1, 3), NetsnmpCacheStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nsCacheStatus.setDescription("The current status of this particular cache entry.\nAcceptable values for Set requests are 'enabled(1)',\n'disabled(2)' or 'empty(3)' (to clear all cached data).\nRequests to read the value of such an object will\nreturn 'disabled(2)' through to 'expired(5)'.") nsErrorHistory = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 6)) nsConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 7)) nsConfigDebug = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1)) nsDebugEnabled = MibScalar((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nsDebugEnabled.setDescription("Whether the agent is configured to generate debugging output") nsDebugOutputAll = MibScalar((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nsDebugOutputAll.setDescription("Whether the agent is configured to display all debugging output\nrather than filtering on individual debug tokens. Nothing will\nbe generated unless nsDebugEnabled is also true(1)") nsDebugDumpPdu = MibScalar((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nsDebugDumpPdu.setDescription("Whether the agent is configured to display raw packet dumps.\nThis is unrelated to the nsDebugEnabled setting.") nsDebugTokenTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1, 4)) if mibBuilder.loadTexts: nsDebugTokenTable.setDescription("A table of individual debug tokens, used to control the selection\nof what debugging output should be produced. This table is only\neffective if nsDebugOutputAll is false(2), and nothing will\nbe generated unless nsDebugEnabled is also true(1)") nsDebugTokenEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1, 4, 1)).setIndexNames((1, "NET-SNMP-AGENT-MIB", "nsDebugTokenPrefix")) if mibBuilder.loadTexts: nsDebugTokenEntry.setDescription("A conceptual row within the debug token table.") nsDebugTokenPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1, 4, 1, 2), DisplayString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsDebugTokenPrefix.setDescription("A token prefix for which to generate the corresponding\ndebugging output. Note that debug output will be generated\nfor all registered debug statements sharing this prefix\n(rather than an exact match). Nothing will be generated\nunless both nsDebuggingEnabled is set true(1) and the\ncorresponding nsDebugTokenStatus value is active(1).") nsDebugTokenStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 7, 1, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsDebugTokenStatus.setDescription("Whether to generate debug output for the corresponding debug\ntoken prefix. Nothing will be generated unless both\nnsDebuggingEnabled is true(1) and this instance is active(1).\nNote that is valid for an instance to be left with the value\nnotInService(2) indefinitely - i.e. the meaning of 'abnormally\nlong' (see RFC 2579, RowStatus) for this table is infinite.") nsConfigLogging = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2)) nsLoggingTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2, 1)) if mibBuilder.loadTexts: nsLoggingTable.setDescription("A table of individual logging output destinations, used to control\nwhere various levels of output from the agent should be directed.") nsLoggingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2, 1, 1)).setIndexNames((0, "NET-SNMP-AGENT-MIB", "nsLogLevel"), (1, "NET-SNMP-AGENT-MIB", "nsLogToken")) if mibBuilder.loadTexts: nsLoggingEntry.setDescription("A conceptual row within the logging table.") nsLogLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(6,5,2,0,7,3,4,1,)).subtype(namedValues=NamedValues(("emergency", 0), ("alert", 1), ("critical", 2), ("error", 3), ("warning", 4), ("notice", 5), ("info", 6), ("debug", 7), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsLogLevel.setDescription("The (minimum) priority level for which this logging entry\nshould be applied.") nsLogToken = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2, 1, 1, 2), DisplayString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsLogToken.setDescription("A token for which to generate logging entries.\nDepending on the style of logging, this may either\nbe simply an arbitrary token, or may have some\nparticular meaning (such as the filename to log to).") nsLogType = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,5,3,)).subtype(namedValues=NamedValues(("stdout", 1), ("stderr", 2), ("file", 3), ("syslog", 4), ("callback", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsLogType.setDescription("The type of logging for this entry.") nsLogMaxLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(6,5,2,0,7,3,4,1,)).subtype(namedValues=NamedValues(("emergency", 0), ("alert", 1), ("critical", 2), ("error", 3), ("warning", 4), ("notice", 5), ("info", 6), ("debug", 7), )).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsLogMaxLevel.setDescription("The maximum priority level for which this logging entry\nshould be applied.") nsLogStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 7, 2, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsLogStatus.setDescription("Whether to generate logging output for this entry.\nNote that is valid for an instance to be left with the value\nnotInService(2) indefinitely - i.e. the meaning of 'abnormally\nlong' (see RFC 2579, RowStatus) for this table is infinite.") nsTransactions = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 8)) nsTransactionTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 8, 1)) if mibBuilder.loadTexts: nsTransactionTable.setDescription("Lists currently outstanding transactions in the net-snmp agent.\nThis includes requests to AgentX subagents, or proxied SNMP agents.") nsTransactionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 8, 1, 1)).setIndexNames((0, "NET-SNMP-AGENT-MIB", "nsTransactionID")) if mibBuilder.loadTexts: nsTransactionEntry.setDescription("A row describing a given transaction.") nsTransactionID = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 8, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsTransactionID.setDescription("The internal identifier for a given transaction.") nsTransactionMode = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 8, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsTransactionMode.setDescription("The mode number for the current operation being performed.") netSnmpAgentMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 8072, 3, 1, 2)).setRevisions(("2010-03-17 00:00","2005-02-07 00:00","2002-02-09 00:00",)) if mibBuilder.loadTexts: netSnmpAgentMIB.setOrganization("www.net-snmp.org") if mibBuilder.loadTexts: netSnmpAgentMIB.setContactInfo("postal: Wes Hardaker\nP.O. Box 382\nDavis CA 95617\n\nemail: net-snmp-coders@lists.sourceforge.net") if mibBuilder.loadTexts: netSnmpAgentMIB.setDescription("Defines control and monitoring structures for the Net-SNMP agent.") nsConfigGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 5, 2, 7)) # Augmentions # Notifications nsNotifyStart = NotificationType((1, 3, 6, 1, 4, 1, 8072, 4, 0, 1)).setObjects(*() ) if mibBuilder.loadTexts: nsNotifyStart.setDescription("An indication that the agent has started running.") nsNotifyShutdown = NotificationType((1, 3, 6, 1, 4, 1, 8072, 4, 0, 2)).setObjects(*() ) if mibBuilder.loadTexts: nsNotifyShutdown.setDescription("An indication that the agent is in the process of being shut down.") nsNotifyRestart = NotificationType((1, 3, 6, 1, 4, 1, 8072, 4, 0, 3)).setObjects(*() ) if mibBuilder.loadTexts: nsNotifyRestart.setDescription("An indication that the agent has been restarted.\nThis does not imply anything about whether the configuration has\nchanged or not (unlike the standard coldStart or warmStart traps)") # Groups nsModuleGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 5, 2, 2)).setObjects(*(("NET-SNMP-AGENT-MIB", "nsModuleName"), ("NET-SNMP-AGENT-MIB", "nsModuleTimeout"), ("NET-SNMP-AGENT-MIB", "nsModuleModes"), ) ) if mibBuilder.loadTexts: nsModuleGroup.setDescription("The objects relating to the list of MIB modules registered\nwith the Net-SNMP agent.") nsCacheGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 5, 2, 4)).setObjects(*(("NET-SNMP-AGENT-MIB", "nsCacheTimeout"), ("NET-SNMP-AGENT-MIB", "nsCacheEnabled"), ("NET-SNMP-AGENT-MIB", "nsCacheDefaultTimeout"), ("NET-SNMP-AGENT-MIB", "nsCacheStatus"), ) ) if mibBuilder.loadTexts: nsCacheGroup.setDescription("The objects relating to data caching in the Net-SNMP agent.") nsDebugGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 5, 2, 7, 1)).setObjects(*(("NET-SNMP-AGENT-MIB", "nsDebugTokenStatus"), ("NET-SNMP-AGENT-MIB", "nsDebugOutputAll"), ("NET-SNMP-AGENT-MIB", "nsDebugEnabled"), ("NET-SNMP-AGENT-MIB", "nsDebugDumpPdu"), ) ) if mibBuilder.loadTexts: nsDebugGroup.setDescription("The objects relating to debug configuration in the Net-SNMP agent.") nsLoggingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 5, 2, 7, 2)).setObjects(*(("NET-SNMP-AGENT-MIB", "nsLogType"), ("NET-SNMP-AGENT-MIB", "nsLogStatus"), ("NET-SNMP-AGENT-MIB", "nsLogMaxLevel"), ) ) if mibBuilder.loadTexts: nsLoggingGroup.setDescription("The objects relating to logging configuration in the Net-SNMP agent.") nsTransactionGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 5, 2, 8)).setObjects(*(("NET-SNMP-AGENT-MIB", "nsTransactionMode"), ) ) if mibBuilder.loadTexts: nsTransactionGroup.setDescription("The objects relating to transaction monitoring in the Net-SNMP agent.") nsAgentNotifyGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 5, 2, 9)).setObjects(*(("NET-SNMP-AGENT-MIB", "nsNotifyShutdown"), ("NET-SNMP-AGENT-MIB", "nsNotifyRestart"), ("NET-SNMP-AGENT-MIB", "nsNotifyStart"), ) ) if mibBuilder.loadTexts: nsAgentNotifyGroup.setDescription("The notifications relating to the basic operation of the Net-SNMP agent.") # Exports # Module identity mibBuilder.exportSymbols("NET-SNMP-AGENT-MIB", PYSNMP_MODULE_ID=netSnmpAgentMIB) # Types mibBuilder.exportSymbols("NET-SNMP-AGENT-MIB", NetsnmpCacheStatus=NetsnmpCacheStatus) # Objects mibBuilder.exportSymbols("NET-SNMP-AGENT-MIB", nsVersion=nsVersion, nsMibRegistry=nsMibRegistry, nsModuleTable=nsModuleTable, nsModuleEntry=nsModuleEntry, nsmContextName=nsmContextName, nsmRegistrationPoint=nsmRegistrationPoint, nsmRegistrationPriority=nsmRegistrationPriority, nsModuleName=nsModuleName, nsModuleModes=nsModuleModes, nsModuleTimeout=nsModuleTimeout, nsExtensions=nsExtensions, nsDLMod=nsDLMod, nsCache=nsCache, nsCacheDefaultTimeout=nsCacheDefaultTimeout, nsCacheEnabled=nsCacheEnabled, nsCacheTable=nsCacheTable, nsCacheEntry=nsCacheEntry, nsCachedOID=nsCachedOID, nsCacheTimeout=nsCacheTimeout, nsCacheStatus=nsCacheStatus, nsErrorHistory=nsErrorHistory, nsConfiguration=nsConfiguration, nsConfigDebug=nsConfigDebug, nsDebugEnabled=nsDebugEnabled, nsDebugOutputAll=nsDebugOutputAll, nsDebugDumpPdu=nsDebugDumpPdu, nsDebugTokenTable=nsDebugTokenTable, nsDebugTokenEntry=nsDebugTokenEntry, nsDebugTokenPrefix=nsDebugTokenPrefix, nsDebugTokenStatus=nsDebugTokenStatus, nsConfigLogging=nsConfigLogging, nsLoggingTable=nsLoggingTable, nsLoggingEntry=nsLoggingEntry, nsLogLevel=nsLogLevel, nsLogToken=nsLogToken, nsLogType=nsLogType, nsLogMaxLevel=nsLogMaxLevel, nsLogStatus=nsLogStatus, nsTransactions=nsTransactions, nsTransactionTable=nsTransactionTable, nsTransactionEntry=nsTransactionEntry, nsTransactionID=nsTransactionID, nsTransactionMode=nsTransactionMode, netSnmpAgentMIB=netSnmpAgentMIB, nsConfigGroups=nsConfigGroups) # Notifications mibBuilder.exportSymbols("NET-SNMP-AGENT-MIB", nsNotifyStart=nsNotifyStart, nsNotifyShutdown=nsNotifyShutdown, nsNotifyRestart=nsNotifyRestart) # Groups mibBuilder.exportSymbols("NET-SNMP-AGENT-MIB", nsModuleGroup=nsModuleGroup, nsCacheGroup=nsCacheGroup, nsDebugGroup=nsDebugGroup, nsLoggingGroup=nsLoggingGroup, nsTransactionGroup=nsTransactionGroup, nsAgentNotifyGroup=nsAgentNotifyGroup) pysnmp-mibs-0.1.3/pysnmp_mibs/GMPLS-LSR-STD-MIB.py0000644000014400001440000003625711736645136021422 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python GMPLS-LSR-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:01 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( GmplsSegmentDirectionTC, ) = mibBuilder.importSymbols("GMPLS-TC-STD-MIB", "GmplsSegmentDirectionTC") ( ifCounterDiscontinuityGroup, ifGeneralInformationGroup, ) = mibBuilder.importSymbols("IF-MIB", "ifCounterDiscontinuityGroup", "ifGeneralInformationGroup") ( mplsInSegmentGroup, mplsInSegmentIndex, mplsInterfaceGroup, mplsInterfaceIndex, mplsLsrNotificationGroup, mplsOutSegmentGroup, mplsOutSegmentIndex, mplsPerfGroup, mplsXCGroup, ) = mibBuilder.importSymbols("MPLS-LSR-STD-MIB", "mplsInSegmentGroup", "mplsInSegmentIndex", "mplsInterfaceGroup", "mplsInterfaceIndex", "mplsLsrNotificationGroup", "mplsOutSegmentGroup", "mplsOutSegmentIndex", "mplsPerfGroup", "mplsXCGroup") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "zeroDotZero") ( RowPointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer") # Objects gmplsLsrStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 15)).setRevisions(("2007-02-27 00:00",)) if mibBuilder.loadTexts: gmplsLsrStdMIB.setOrganization("IETF Common Control And Measurement Plane (CCAMP) Working Group") if mibBuilder.loadTexts: gmplsLsrStdMIB.setContactInfo(" Thomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\nAdrian Farrel\nOld Dog Consulting\n\n\n\nEmail: adrian@olddog.co.uk\nComments about this document should be emailed directly to the\nCCAMP working group mailing list at ccamp@ops.ietf.org.") if mibBuilder.loadTexts: gmplsLsrStdMIB.setDescription("Copyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4803; see the RFC itself for\nfull legal notices.\n\nThis MIB module contains managed object definitions for the\nGeneralized Multiprotocol (GMPLS) Label Switching Router as\ndefined in Generalized Multi-Protocol Label Switching (GMPLS)\nArchitecture, Mannie et al., RFC 3945, October 2004.") gmplsLsrObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 15, 1)) gmplsInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 1)) if mibBuilder.loadTexts: gmplsInterfaceTable.setDescription("This table specifies per-interface GMPLS capability and\nassociated information. It extends the information in the\nmplsInterfaceTable of MPLS-LSR-STD-MIB through a\nsparse augmentation relationship.") gmplsInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 1, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInterfaceIndex")) if mibBuilder.loadTexts: gmplsInterfaceEntry.setDescription("A conceptual row in this table is created automatically by an\nLSR for each interface that is both capable of supporting\nGMPLS and configured to support GMPLS. Note that\nsupport of GMPLS is not limited to control plane signaling,\nbut may include data-plane-only function configured through\nSNMP SET commands performed on this MIB module.\n\n\n\nA conceptual row in this table may also be created via SNMP\nSET commands or automatically by the LSR to supplement a\nconceptual row in the mplsInterfaceTable where the interface\nis not capable of GMPLS but where the other objects carried\nin this row provide useful additional information for an\nMPLS interface.\n\nA conceptual row in this table will exist if and only if a\ncorresponding entry in the mplsInterfaceTable exists, and a\ncorresponding entry in the ifTable exists with ifType = mpls(166).\nIf the associated entry in the ifTable is operationally disabled\n(thus removing the GMPLS capabilities on the interface) or the\nentry in the mplsInterfaceTable is deleted, the corresponding entry\nin this table MUST be deleted shortly thereafter.\n\nThe indexes are the same as for the mplsInterfaceTable. Thus, the\nentry with index 0 represents the per-platform label space and\ncontains parameters that apply to all interfaces that\nparticipate in the per-platform label space.") gmplsInterfaceSignalingCaps = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("unknown", 0), ("rsvpGmpls", 1), ("crldpGmpls", 2), ("otherGmpls", 3), )).clone(("rsvpGmpls",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsInterfaceSignalingCaps.setDescription("Defines the signaling capabilities on this interface. Multiple\nbits may legitimately be set at once, but if 'unknown' is set\nthen no other bit may be set. Setting no bits implies that GMPLS\nsignaling cannot be performed on this interface and all LSPs\nmust be manually provisioned or that this table entry is only\npresent to supplement an entry in the mplsInterfaceTable by\nproviding the information carried in other objects in this row.") gmplsInterfaceRsvpHelloPeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 1, 1, 2), Unsigned32().clone(3000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsInterfaceRsvpHelloPeriod.setDescription("Period, in milliseconds, between sending Resource Reservation\nProtocol (RSVP) Hello messages on this interface. A value of 0\nindicates that no Hello messages should be sent on this\ninterface.\n\nThis object is only valid if gmplsInterfaceSignalingCaps has no\nbits set or includes the rsvpGmpls bit.") gmplsInSegmentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 2)) if mibBuilder.loadTexts: gmplsInSegmentTable.setDescription("This table sparse augments the mplsInSegmentTable of\nMPLS-LSR-STD-MIB to provide GMPLS-specific information about\nincoming segments to an LSR.") gmplsInSegmentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 2, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInSegmentIndex")) if mibBuilder.loadTexts: gmplsInSegmentEntry.setDescription("An entry in this table extends the representation of an incoming\nsegment represented by an entry in the mplsInSegmentTable in\n\n\n\nMPLS-LSR-STD-MIB through a sparse augmentation. An entry can be\ncreated by a network administrator via SNMP SET commands, or in\nresponse to signaling protocol events.\n\nNote that the storage type for this entry is given by the value\nof mplsInSegmentStorageType in the corresponding entry of the\nmplsInSegmentTable.") gmplsInSegmentDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 2, 1, 1), GmplsSegmentDirectionTC().clone('forward')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsInSegmentDirection.setDescription("This object indicates the direction of data flow on this\nsegment. This object cannot be modified if\nmplsInSegmentRowStatus for the corresponding entry in the\nmplsInSegmentTable is active(1).") gmplsInSegmentExtraParamsPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 2, 1, 2), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsInSegmentExtraParamsPtr.setDescription("Some tunnels will run over transports that can usefully support\ntechnology-specific additional parameters (for example,\nSynchronous Optical Network (SONET) resource usage). Such can be\nsupplied from an external table and referenced from here. A value\nof zeroDotZero in this attribute indicates that there is no such\nadditional information.") gmplsOutSegmentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 3)) if mibBuilder.loadTexts: gmplsOutSegmentTable.setDescription("This table sparse augments the mplsOutSegmentTable of\nMPLS-LSR-STD-MIB to provide GMPLS-specific information about\noutgoing segments from an LSR.") gmplsOutSegmentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 3, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsOutSegmentIndex")) if mibBuilder.loadTexts: gmplsOutSegmentEntry.setDescription("An entry in this table extends the representation of an outgoing\nsegment represented by an entry in the mplsOutSegmentTable of\nMPLS-LSR-STD-MIB through a sparse augmentation. An entry can be\ncreated by a network administrator via SNMP SET commands, or in\nresponse to signaling protocol events.\n\nNote that the storage type for this entry is given by the value\nof mplsOutSegmentStorageType in the corresponding entry of the\nmplsOutSegmentTable.") gmplsOutSegmentDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 3, 1, 1), GmplsSegmentDirectionTC().clone('forward')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsOutSegmentDirection.setDescription("This object indicates the direction of data flow on this\nsegment. This object cannot be modified if\nmplsOutSegmentRowStatus for the corresponding entry in the\nmplsOutSegmentTable is active(1).") gmplsOutSegmentTTLDecrement = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 3, 1, 2), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsOutSegmentTTLDecrement.setDescription("This object indicates the amount by which to decrement the Time\nto Live (TTL) of any payload packets forwarded on this segment if\nper-hop decrementing is being done.\n\nA value of zero indicates that no decrement should be made or\nthat per-hop decrementing is not in use.\n\nSee the gmplsTunnelTTLDecrement object in the gmplsTunnelTable\nof GMPLS-TE-STD-MIB for a value by which to decrement the TTL\nfor the whole of a tunnel.\n\nThis object cannot be modified if mplsOutSegmentRowStatus for\nthe associated entry in the mplsOutSegmentTable is active(1).") gmplsOutSegmentExtraParamsPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 15, 1, 3, 1, 3), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsOutSegmentExtraParamsPtr.setDescription("Some tunnels will run over transports that can usefully support\ntechnology-specific additional parameters (for example, SONET\nresource usage). Such can be supplied from an external table and\nreferenced from here.\n\nA value of zeroDotZero in this attribute indicates that there is\nno such additional information.") gmplsLsrConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 15, 2)) gmplsLsrGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 15, 2, 1)) gmplsLsrCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 15, 2, 2)) # Augmentions # Groups gmplsInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 15, 2, 1, 1)).setObjects(*(("GMPLS-LSR-STD-MIB", "gmplsInterfaceSignalingCaps"), ("GMPLS-LSR-STD-MIB", "gmplsInterfaceRsvpHelloPeriod"), ) ) if mibBuilder.loadTexts: gmplsInterfaceGroup.setDescription("Collection of objects that provide additional\ninformation for an MPLS interface and are needed\nfor GMPLS interface configuration and performance\ninformation.") gmplsInSegmentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 15, 2, 1, 2)).setObjects(*(("GMPLS-LSR-STD-MIB", "gmplsInSegmentExtraParamsPtr"), ("GMPLS-LSR-STD-MIB", "gmplsInSegmentDirection"), ) ) if mibBuilder.loadTexts: gmplsInSegmentGroup.setDescription("Collection of objects that provide additional\ninformation for an MPLS in-segment and are needed\nfor GMPLS in-segment configuration and performance\ninformation.") gmplsOutSegmentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 15, 2, 1, 3)).setObjects(*(("GMPLS-LSR-STD-MIB", "gmplsOutSegmentDirection"), ("GMPLS-LSR-STD-MIB", "gmplsOutSegmentTTLDecrement"), ("GMPLS-LSR-STD-MIB", "gmplsOutSegmentExtraParamsPtr"), ) ) if mibBuilder.loadTexts: gmplsOutSegmentGroup.setDescription("Collection of objects that provide additional\ninformation for an MPLS out-segment and are needed\nfor GMPLS out-segment configuration and performance\ninformation.") # Compliances gmplsLsrModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 15, 2, 2, 1)).setObjects(*(("GMPLS-LSR-STD-MIB", "gmplsInSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsInterfaceGroup"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsInSegmentGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ("GMPLS-LSR-STD-MIB", "gmplsInterfaceGroup"), ("MPLS-LSR-STD-MIB", "mplsXCGroup"), ("MPLS-LSR-STD-MIB", "mplsLsrNotificationGroup"), ("GMPLS-LSR-STD-MIB", "gmplsOutSegmentGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("MPLS-LSR-STD-MIB", "mplsPerfGroup"), ) ) if mibBuilder.loadTexts: gmplsLsrModuleFullCompliance.setDescription("Compliance statement for agents that provide full support for\nGMPLS-LSR-STD-MIB.\n\nThe mandatory group has to be implemented by all LSRs that\noriginate, terminate, or act as transit for TE-LSPs/tunnels.\nIn addition, depending on the type of tunnels supported, other\ngroups become mandatory as explained below.") gmplsLsrModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 15, 2, 2, 2)).setObjects(*(("GMPLS-LSR-STD-MIB", "gmplsInSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsXCGroup"), ("MPLS-LSR-STD-MIB", "mplsInterfaceGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("MPLS-LSR-STD-MIB", "mplsOutSegmentGroup"), ("GMPLS-LSR-STD-MIB", "gmplsInterfaceGroup"), ("MPLS-LSR-STD-MIB", "mplsInSegmentGroup"), ("MPLS-LSR-STD-MIB", "mplsPerfGroup"), ("GMPLS-LSR-STD-MIB", "gmplsOutSegmentGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ) ) if mibBuilder.loadTexts: gmplsLsrModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only provide\nread-only support for GMPLS-LSR-STD-MIB. Such devices can then\nbe monitored but cannot be configured using this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("GMPLS-LSR-STD-MIB", PYSNMP_MODULE_ID=gmplsLsrStdMIB) # Objects mibBuilder.exportSymbols("GMPLS-LSR-STD-MIB", gmplsLsrStdMIB=gmplsLsrStdMIB, gmplsLsrObjects=gmplsLsrObjects, gmplsInterfaceTable=gmplsInterfaceTable, gmplsInterfaceEntry=gmplsInterfaceEntry, gmplsInterfaceSignalingCaps=gmplsInterfaceSignalingCaps, gmplsInterfaceRsvpHelloPeriod=gmplsInterfaceRsvpHelloPeriod, gmplsInSegmentTable=gmplsInSegmentTable, gmplsInSegmentEntry=gmplsInSegmentEntry, gmplsInSegmentDirection=gmplsInSegmentDirection, gmplsInSegmentExtraParamsPtr=gmplsInSegmentExtraParamsPtr, gmplsOutSegmentTable=gmplsOutSegmentTable, gmplsOutSegmentEntry=gmplsOutSegmentEntry, gmplsOutSegmentDirection=gmplsOutSegmentDirection, gmplsOutSegmentTTLDecrement=gmplsOutSegmentTTLDecrement, gmplsOutSegmentExtraParamsPtr=gmplsOutSegmentExtraParamsPtr, gmplsLsrConformance=gmplsLsrConformance, gmplsLsrGroups=gmplsLsrGroups, gmplsLsrCompliances=gmplsLsrCompliances) # Groups mibBuilder.exportSymbols("GMPLS-LSR-STD-MIB", gmplsInterfaceGroup=gmplsInterfaceGroup, gmplsInSegmentGroup=gmplsInSegmentGroup, gmplsOutSegmentGroup=gmplsOutSegmentGroup) # Compliances mibBuilder.exportSymbols("GMPLS-LSR-STD-MIB", gmplsLsrModuleFullCompliance=gmplsLsrModuleFullCompliance, gmplsLsrModuleReadOnlyCompliance=gmplsLsrModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RFC1381-MIB.py0000644000014400001440000006012211736645137020366 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RFC1381-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:33 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") # Types class IfIndexType(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,2147483647) class PositiveInteger(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) # Objects lapb = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 16)) lapbAdmnTable = MibTable((1, 3, 6, 1, 2, 1, 10, 16, 1)) if mibBuilder.loadTexts: lapbAdmnTable.setDescription("This table contains objects that can be\nchanged to manage a LAPB interface.\nChanging one of these parameters may take\neffect in the operating LAPB immediately or\nmay wait until the interface is restarted\ndepending on the details of the\nimplementation.\n\nMost of the objects in this read-write table\nhave corresponding read-only objects in the\nlapbOperTable that return the current\noperating value.\n\nThe operating values may be different from\nthese configured values if changed by XID\nnegotiation or if a configured parameter was\nchanged after the interface was started.") lapbAdmnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 16, 1, 1)).setIndexNames((0, "RFC1381-MIB", "lapbAdmnIndex")) if mibBuilder.loadTexts: lapbAdmnEntry.setDescription("Configured parameter values for a specific\nLAPB.") lapbAdmnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbAdmnIndex.setDescription("The ifIndex value for the LAPB interface.") lapbAdmnStationType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("dte", 1), ("dce", 2), ("dxe", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnStationType.setDescription("Identifies the desired station type of this\ninterface.") lapbAdmnControlField = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("modulo8", 1), ("modulo128", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnControlField.setDescription("The desired size of the sequence numbers\nused to number frames.") lapbAdmnTransmitN1FrameSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 4), PositiveInteger().clone('36000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnTransmitN1FrameSize.setDescription("The default maximum N1 frame size desired\nin number of bits for a frame transmitted by\nthis DTE. This excludes flags and 0 bits\ninserted for transparency.") lapbAdmnReceiveN1FrameSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 5), PositiveInteger().clone('36000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnReceiveN1FrameSize.setDescription("The default maximum N1 frame size desired\nin number of bits for a frame the DCE/remote\nDTE transmits to this DTE. This excludes\nflags and 0 bits inserted for transparency.") lapbAdmnTransmitKWindowSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127)).clone(7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnTransmitKWindowSize.setDescription("The default transmit window size for this\nInterface. This is the maximum number of\nunacknowledged sequenced PDUs that may be\noutstanding from this DTE at any one time.") lapbAdmnReceiveKWindowSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127)).clone(7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnReceiveKWindowSize.setDescription("The default receive window size for this\nInterface. This is the maximum number of\nunacknowledged sequenced PDUs that may be\noutstanding from the DCE/remote DTE at any\none time.") lapbAdmnN2RxmitCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnN2RxmitCount.setDescription("The default N2 retry counter for this\ninterface. This specifies the number of\ntimes a PDU will be resent after the T1\ntimer expires without an acknowledgement for\nthe PDU.") lapbAdmnT1AckTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 9), PositiveInteger().clone('3000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnT1AckTimer.setDescription("The default T1 timer for this interface.\nThis specifies the maximum time in\nMilliseconds to wait for acknowledgment of a\nPDU.") lapbAdmnT2AckDelayTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 10), PositiveInteger().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnT2AckDelayTimer.setDescription("The default T2 timer for this interface.\nThis specifies the maximum time in\nMilliseconds to wait before sending an\nacknowledgment for a sequenced PDU. A value\nof zero means there will be no delay in\nacknowledgement generation.") lapbAdmnT3DisconnectTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 11), PositiveInteger().clone('60000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnT3DisconnectTimer.setDescription("The T3 timer for this interface. This\nspecifies the time in Milliseconds to wait\nbefore considering the link disconnected. A\nvalue of zero indicates the link will be\nconsidered disconnected upon completion of\nthe frame exchange to disconnect the link.") lapbAdmnT4IdleTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 12), PositiveInteger().clone('2147483647')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnT4IdleTimer.setDescription("The T4 timer for this interface. This\nspecifies the maximum time in Milliseconds\nto allow without frames being exchanged on\nthe data link. A value of 2147483647\nindicates no idle timer is being kept.") lapbAdmnActionInitiate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,5,1,2,)).subtype(namedValues=NamedValues(("sendSABM", 1), ("sendDISC", 2), ("sendDM", 3), ("none", 4), ("other", 5), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnActionInitiate.setDescription("This identifies the action LAPB will take\nto initiate link set-up.") lapbAdmnActionRecvDM = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 1, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("sendSABM", 1), ("sendDISC", 2), ("other", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbAdmnActionRecvDM.setDescription("This identifies the action LAPB will take\nwhen it receives a DM response.") lapbOperTable = MibTable((1, 3, 6, 1, 2, 1, 10, 16, 2)) if mibBuilder.loadTexts: lapbOperTable.setDescription("This table contains configuration\ninformation about interface parameters\ncurrently set in the interface. Many of\nthese objects have corresponding objects in\nthe lapbAdmnTable.") lapbOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 16, 2, 1)).setIndexNames((0, "RFC1381-MIB", "lapbOperIndex")) if mibBuilder.loadTexts: lapbOperEntry.setDescription("Currently set parameter values for a\nspecific LAPB.") lapbOperIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperIndex.setDescription("The ifIndex value for the LAPB interface.") lapbOperStationType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("dte", 1), ("dce", 2), ("dxe", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperStationType.setDescription("Identifies the current operating station\ntype of this interface. A value of dxe (3)\nindicates XID negotiation has not yet taken\nplace.") lapbOperControlField = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("modulo8", 1), ("modulo128", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperControlField.setDescription("The current operating size of the sequence\nnumbers used to number frames.") lapbOperTransmitN1FrameSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 4), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperTransmitN1FrameSize.setDescription("The current operating N1 frame size used\nfor the maximum number of bits in a frame\nthis DTE can transmit. This excludes flags\nand 0 bits inserted for transparency.") lapbOperReceiveN1FrameSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 5), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperReceiveN1FrameSize.setDescription("The current operating N1 frame size used\nfor the maximum number of bits in a frame\nthe DCE/remote DTE can transmit. This\nexcludes flags and 0 bits inserted for\ntransparency.") lapbOperTransmitKWindowSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperTransmitKWindowSize.setDescription("The current PDU window size this Interface\nuses to transmit. This is the maximum\nnumber of unacknowledged sequenced PDUs that\nmay be outstanding from this DTE at any one\ntime.") lapbOperReceiveKWindowSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperReceiveKWindowSize.setDescription("The current receive PDU window size for\nthis Interface. This is the maximum number\nof unacknowledged sequenced PDUs that may be\noutstanding from the DCE/remote DTE at any\none time.") lapbOperN2RxmitCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperN2RxmitCount.setDescription("The current N2 retry counter used for this\ninterface. This specifies the number of\ntimes a PDU will be resent after the T1\ntimer expires without an acknowledgement for\nthe PDU.") lapbOperT1AckTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 9), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperT1AckTimer.setDescription("The current T1 timer for this interface.\nThis specifies the maximum time in\nMilliseconds to wait for acknowledgment of a\nPDU.") lapbOperT2AckDelayTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 10), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperT2AckDelayTimer.setDescription("The current T2 timer for this interface.\nThis specifies the maximum time in\nMilliseconds to wait before sending an\nacknowledgment for a sequenced PDU. A value\nof zero means there will be no delay in\nacknowledgement generation.") lapbOperT3DisconnectTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 11), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperT3DisconnectTimer.setDescription("The current T3 timer for this interface.\nThis specifies the time in Milliseconds to\nwait before considering the link\ndisconnected. A value of zero indicates the\nlink will be considered disconnected upon\ncompletion of the frame exchange to\ndisconnect the link.") lapbOperT4IdleTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 12), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbOperT4IdleTimer.setDescription("The current T4 timer for this interface.\nThis specifies the maximum time in\nMilliseconds to allow without frames being\nexchanged on the data link. A value of\n2147483647 indicates no idle timer is being\nkept.") lapbOperPortId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 13), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperPortId.setDescription("This object identifies an instance of the\nindex object in the first group of objects\nin the MIB specific to the physical device\nor interface used to send and receive\nframes. If an agent does not support any\nsuch objects, it should return nullSpec\nOBJECT IDENTIFIER {0 0}.") lapbOperProtocolVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 2, 1, 14), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbOperProtocolVersionId.setDescription("This object identifies the version of the\nlapb protocol implemented by this\ninterface.") lapbFlowTable = MibTable((1, 3, 6, 1, 2, 1, 10, 16, 3)) if mibBuilder.loadTexts: lapbFlowTable.setDescription("This table defines the objects recorded by\nLAPB to provide information about the\ntraffic flow through the interface.") lapbFlowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 16, 3, 1)).setIndexNames((0, "RFC1381-MIB", "lapbFlowIfIndex")) if mibBuilder.loadTexts: lapbFlowEntry.setDescription("The information regarding the effects of\nflow controls in LAPB.") lapbFlowIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowIfIndex.setDescription("The ifIndex value for the LAPB Interface.") lapbFlowStateChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowStateChanges.setDescription("The number of LAPB State Changes, including\nresets.") lapbFlowChangeReason = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(7,8,1,2,4,12,5,9,13,11,10,6,3,)).subtype(namedValues=NamedValues(("notStarted", 1), ("frmrReceived", 10), ("frmrSent", 11), ("n2Timeout", 12), ("other", 13), ("abmEntered", 2), ("abmeEntered", 3), ("abmReset", 4), ("abmeReset", 5), ("dmReceived", 6), ("dmSent", 7), ("discReceived", 8), ("discSent", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowChangeReason.setDescription("The reason for the most recent incrementing\nof lapbFlowStateChanges. A DM or DISC frame\ngenerated to initiate link set-up does not\nalter this object. When the MIB-II object\nifOperStatus does not have a value of\ntesting, there exists a correlation between\nthis object and ifOperStatus. IfOperStatus\nwill have a value of up when this object\ncontains: abmEntered, abmeEntered,\nabmReset, or abmeReset. IfOperStatus will\nhave a value of down when this object has a\nvalue of notStarted, or dmReceived through\nn2Timeout. There is no correlation when\nthis object has the value other.") lapbFlowCurrentMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,6,1,8,13,12,10,11,5,2,16,15,9,14,4,17,7,)).subtype(namedValues=NamedValues(("disconnected", 1), ("bothStationsBusy", 10), ("waitingAckStationBusy", 11), ("waitingAckRemoteBusy", 12), ("waitingAckBothBusy", 13), ("rejFrameSentRemoteBusy", 14), ("xidFrameSent", 15), ("error", 16), ("other", 17), ("linkSetup", 2), ("frameReject", 3), ("disconnectRequest", 4), ("informationTransfer", 5), ("rejFrameSent", 6), ("waitingAcknowledgement", 7), ("stationBusy", 8), ("remoteStationBusy", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowCurrentMode.setDescription("The current condition of the conversation.") lapbFlowBusyDefers = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowBusyDefers.setDescription("The number of times this device was unable\nto transmit a frame due to a perceived\nremote busy condition. Busy conditions can\nresult from the receipt of an RNR from the\nremote device, the lack of valid sequence\nnumber space (window saturation), or other\nconditions.") lapbFlowRejOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowRejOutPkts.setDescription("The number of REJ or SREJ frames sent by\nthis station.") lapbFlowRejInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowRejInPkts.setDescription("The number of REJ or SREJ frames received\nby this station.") lapbFlowT1Timeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowT1Timeouts.setDescription("The number of times a re-transmission was\neffected by the T1 Timer expiring.") lapbFlowFrmrSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowFrmrSent.setDescription("The Information Field of the FRMR most\nrecently sent. If no FRMR has been sent\n(the normal case) or the information isn't\navailable, this will be an OCTET STRING of\nzero length.") lapbFlowFrmrReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowFrmrReceived.setDescription("The Information Field of the FRMR most\nrecently received. If no FRMR has been\nreceived (the normal case) or the\ninformation isn't available, this will be an\nOCTET STRING of zero length.") lapbFlowXidReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 3, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8206))).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbFlowXidReceived.setDescription("The Information Field of the XID frame most\nrecently received. If no XID frame has been\nreceived, this will be an OCTET STRING of\nzero length.") lapbXidTable = MibTable((1, 3, 6, 1, 2, 1, 10, 16, 4)) if mibBuilder.loadTexts: lapbXidTable.setDescription("This table defines values to use for XID\nnegotiation that are not found in the\nlapbAdmnTable. This table is optional for\nimplementations that don't support XID and\nmandatory for implementations that do\ninitiate XID negotiation.") lapbXidEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 16, 4, 1)).setIndexNames((0, "RFC1381-MIB", "lapbXidIndex")) if mibBuilder.loadTexts: lapbXidEntry.setDescription("XId negotiation parameter values for a\nspecific LAPB.") lapbXidIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 4, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: lapbXidIndex.setDescription("The ifIndex value for the LAPB interface.") lapbXidAdRIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 4, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbXidAdRIdentifier.setDescription("The value of the Address Resolution\nIdentifier. A zero length string indicates\nno Identifier value has been assigned.") lapbXidAdRAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 4, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbXidAdRAddress.setDescription("The value of the Address Resolution\nAddress. A zero length string indicates no\nAddress value has been assigned.") lapbXidParameterUniqueIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 4, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbXidParameterUniqueIdentifier.setDescription("The value of the parameter unique\nIdentifier. A zero length string indicates\nno Unique identifier value has been\nassigned.") lapbXidGroupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 4, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbXidGroupAddress.setDescription("The value of the parameter Group address.\nA zero length string indicates no Group\naddress value has been assigned.") lapbXidPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 4, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbXidPortNumber.setDescription("The port number assigned for this link. A\nzero length string indicates no local port\nnumber identifier has been assigned.") lapbXidUserDataSubfield = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 16, 4, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8206)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lapbXidUserDataSubfield.setDescription("A user data subfield, if any, to be\ntransmitted in an XID frame. A zero length\nframe indicates no user data subfield has\nbeen assigned. The octet string should\ninclude both the User data identifier and\nUser data field as shown in Figures 1 and\n4.") lapbProtocolVersion = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 16, 5)) lapbProtocolIso7776v1986 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 16, 5, 1)) lapbProtocolCcittV1980 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 16, 5, 2)) lapbProtocolCcittV1984 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 16, 5, 3)) # Augmentions # Exports # Types mibBuilder.exportSymbols("RFC1381-MIB", IfIndexType=IfIndexType, PositiveInteger=PositiveInteger) # Objects mibBuilder.exportSymbols("RFC1381-MIB", lapb=lapb, lapbAdmnTable=lapbAdmnTable, lapbAdmnEntry=lapbAdmnEntry, lapbAdmnIndex=lapbAdmnIndex, lapbAdmnStationType=lapbAdmnStationType, lapbAdmnControlField=lapbAdmnControlField, lapbAdmnTransmitN1FrameSize=lapbAdmnTransmitN1FrameSize, lapbAdmnReceiveN1FrameSize=lapbAdmnReceiveN1FrameSize, lapbAdmnTransmitKWindowSize=lapbAdmnTransmitKWindowSize, lapbAdmnReceiveKWindowSize=lapbAdmnReceiveKWindowSize, lapbAdmnN2RxmitCount=lapbAdmnN2RxmitCount, lapbAdmnT1AckTimer=lapbAdmnT1AckTimer, lapbAdmnT2AckDelayTimer=lapbAdmnT2AckDelayTimer, lapbAdmnT3DisconnectTimer=lapbAdmnT3DisconnectTimer, lapbAdmnT4IdleTimer=lapbAdmnT4IdleTimer, lapbAdmnActionInitiate=lapbAdmnActionInitiate, lapbAdmnActionRecvDM=lapbAdmnActionRecvDM, lapbOperTable=lapbOperTable, lapbOperEntry=lapbOperEntry, lapbOperIndex=lapbOperIndex, lapbOperStationType=lapbOperStationType, lapbOperControlField=lapbOperControlField, lapbOperTransmitN1FrameSize=lapbOperTransmitN1FrameSize, lapbOperReceiveN1FrameSize=lapbOperReceiveN1FrameSize, lapbOperTransmitKWindowSize=lapbOperTransmitKWindowSize, lapbOperReceiveKWindowSize=lapbOperReceiveKWindowSize, lapbOperN2RxmitCount=lapbOperN2RxmitCount, lapbOperT1AckTimer=lapbOperT1AckTimer, lapbOperT2AckDelayTimer=lapbOperT2AckDelayTimer, lapbOperT3DisconnectTimer=lapbOperT3DisconnectTimer, lapbOperT4IdleTimer=lapbOperT4IdleTimer, lapbOperPortId=lapbOperPortId, lapbOperProtocolVersionId=lapbOperProtocolVersionId, lapbFlowTable=lapbFlowTable, lapbFlowEntry=lapbFlowEntry, lapbFlowIfIndex=lapbFlowIfIndex, lapbFlowStateChanges=lapbFlowStateChanges, lapbFlowChangeReason=lapbFlowChangeReason, lapbFlowCurrentMode=lapbFlowCurrentMode, lapbFlowBusyDefers=lapbFlowBusyDefers, lapbFlowRejOutPkts=lapbFlowRejOutPkts, lapbFlowRejInPkts=lapbFlowRejInPkts, lapbFlowT1Timeouts=lapbFlowT1Timeouts, lapbFlowFrmrSent=lapbFlowFrmrSent, lapbFlowFrmrReceived=lapbFlowFrmrReceived, lapbFlowXidReceived=lapbFlowXidReceived, lapbXidTable=lapbXidTable, lapbXidEntry=lapbXidEntry, lapbXidIndex=lapbXidIndex, lapbXidAdRIdentifier=lapbXidAdRIdentifier, lapbXidAdRAddress=lapbXidAdRAddress, lapbXidParameterUniqueIdentifier=lapbXidParameterUniqueIdentifier, lapbXidGroupAddress=lapbXidGroupAddress, lapbXidPortNumber=lapbXidPortNumber, lapbXidUserDataSubfield=lapbXidUserDataSubfield, lapbProtocolVersion=lapbProtocolVersion, lapbProtocolIso7776v1986=lapbProtocolIso7776v1986, lapbProtocolCcittV1980=lapbProtocolCcittV1980, lapbProtocolCcittV1984=lapbProtocolCcittV1984) pysnmp-mibs-0.1.3/pysnmp_mibs/SLAPM-MIB.py0000644000014400001440000031034611736645137020321 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SLAPM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:38 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, experimental, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "experimental") ( DateAndTime, RowStatus, TextualConvention, TestAndIncr, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "TextualConvention", "TestAndIncr") # Types class SlapmPolicyRuleName(TextualConvention, OctetString): displayHint = "1024t" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,1024) class SlapmStatus(Bits): namedValues = NamedValues(("slaMinInRateNotAchieved", 0), ("slaMaxInRateExceeded", 1), ("slaMaxDelayExceeded", 2), ("slaMinOutRateNotAchieved", 3), ("slaMaxOutRateExceeded", 4), ("monitorMinInRateNotAchieved", 5), ("monitorMaxInRateExceeded", 6), ("monitorMaxDelayExceeded", 7), ("monitorMinOutRateNotAchieved", 8), ("monitorMaxOutRateExceeded", 9), ) class SlapmNameType(SnmpAdminString): subtypeSpec = SnmpAdminString.subtypeSpec+ValueSizeConstraint(0,32) # Objects slapmMIB = ModuleIdentity((1, 3, 6, 1, 3, 88)).setRevisions(("2000-01-24 00:00",)) if mibBuilder.loadTexts: slapmMIB.setOrganization("International Business Machines Corp.") if mibBuilder.loadTexts: slapmMIB.setContactInfo("Kenneth White\n\nInternational Business Machines Corporation\nNetwork Computing Software Division\nResearch Triangle Park, NC, USA\n\nE-mail: wkenneth@us.ibm.com") if mibBuilder.loadTexts: slapmMIB.setDescription("The Service Level Agreement Performance Monitoring MIB\n(SLAPM-MIB) provides data collection and monitoring\ncapabilities for Service Level Agreements (SLAs)\npolicy definitions.") slapmNotifications = MibIdentifier((1, 3, 6, 1, 3, 88, 0)) slapmObjects = MibIdentifier((1, 3, 6, 1, 3, 88, 1)) slapmBaseObjects = MibIdentifier((1, 3, 6, 1, 3, 88, 1, 1)) slapmSpinLock = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: slapmSpinLock.setDescription("An advisory lock used to allow cooperating applications\nto coordinate their use of the contents of this MIB. This\ntypically occurs when an application seeks to create an\nnew entry or alter an existing entry in\nslapmPRMonTable (or old slapmPolicyMonitorTable). A\nmanagement implementation MAY utilize the slapmSpinLock to\nserialize its changes or additions. This usage is not\nrequired. However, slapmSpinLock MUST be supported by\nagent implementations.") slapmPolicyCountQueries = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyCountQueries.setDescription("The total number of times that a policy lookup occurred\nwith respect to a policy agent.\nThis is the number of times that a reference was made to\na policy definition at a system and includes the number\nof times that a policy repository was accessed,\nslapmPolicyCountAccesses. The object\nslapmPolicyCountAccesses should be less than\nslapmPolicyCountQueries when policy definitions are\ncached at a system.") slapmPolicyCountAccesses = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyCountAccesses.setDescription("Total number of times that a policy repository was\naccessed with respect to a policy agent.\nThe value of this object should be less than\nslapmPolicyCountQueries, since typically policy entries\nare cached to minimize repository accesses.") slapmPolicyCountSuccessAccesses = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyCountSuccessAccesses.setDescription("Total number of successful policy repository accesses\nwith respect to a policy agent.") slapmPolicyCountNotFounds = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyCountNotFounds.setDescription("Total number of policy repository accesses,\nwith respect to a policy agent, that\nresulted in an entry not being located.") slapmPolicyPurgeTime = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(900)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: slapmPolicyPurgeTime.setDescription("The purpose of this object is to define the amount\nof time (in seconds) to wait before removing an\nslapmPolicyRuleStatsEntry (or old slapmPolicyStatsEntry)\nwhen a system detects that the associated policy\ndefinition has been deleted. This gives any polling\nmanagement applications time to complete their last poll\nbefore an entry is removed. An slapmPolicyRuleStatsEntry\n(or old slapmPolicyStatsEntry) enters the\ndeleteNeeded(3) state via slapmPolicyRuleStatsOperStatus\n(or old slapmPolicyStatsOperStatus) when a system first\ndetects that the entry needs to be removed.\n\nOnce slapmPolicyPurgeTime has expired for an entry in\ndeleteNeeded(3) state it is removed a long with any\ndependent slapmPRMonTable (or slapmPolicyMonitorTable)\nentries.\n\nA value of 0 for this option disables this function and\nresults in the automatic purging of slapmPRMonTable\n(or slapmPolicyTable) entries upon transition into\ndeleteNeeded(3) state.\n\nA slapmPolicyRuleDeleted (or slapmPolicyProfileDeleted)\nnotification is sent when an slapmPolicyRuleStatsEntry (or\nslapmPolicyStatsEntry) is removed. Dependent\nslapmPRMonTable (or slapmPolicyMonitorTable)\ndeletion results in a slapmPolicyRuleMonDeleted (or\nslapmPolicyMonitorDeleted) notification being sent.\nThese notifications are suppressed if the value of\nslapmPolicyTrapEnable is disabled(2).") slapmPolicyTrapEnable = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: slapmPolicyTrapEnable.setDescription("Indicates whether slapmPolicyRuleDeleted and\nslapmPolicyRuleMonDeleted (or slapmPolicyProfileDeleted\nand slapmPolicyMonitorDeleted) notifications should be\ngenerated by this system.") slapmPolicyTrapFilter = MibScalar((1, 3, 6, 1, 3, 88, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64)).clone(3)).setMaxAccess("readwrite").setUnits("intervals") if mibBuilder.loadTexts: slapmPolicyTrapFilter.setDescription("The purpose of this object is to suppress unnecessary\nslapmSubcMonitorNotOkay (or\nslapmSubcomponentMonitoredEventNotAchieved), for example,\nnotifications. Basically, a monitored event has to\nnot meet its SLA requirement for the number of\nconsecutive intervals indicated by the value of this\nobject.") slapmTableObjects = MibIdentifier((1, 3, 6, 1, 3, 88, 1, 2)) slapmPolicyStatsTable = MibTable((1, 3, 6, 1, 3, 88, 1, 2, 1)) if mibBuilder.loadTexts: slapmPolicyStatsTable.setDescription("Provides statistics on all policies known at a\nsystem.\n\nThis table has been deprecated and replaced with\nthe slapmPolicyRuleStatsTable. Older implementations of\nthis MIB are expected to continue their support of this\ntable.") slapmPolicyStatsEntry = MibTableRow((1, 3, 6, 1, 3, 88, 1, 2, 1, 1)).setIndexNames((0, "SLAPM-MIB", "slapmPolicyStatsSystemAddress"), (0, "SLAPM-MIB", "slapmPolicyStatsPolicyName"), (0, "SLAPM-MIB", "slapmPolicyStatsTrafficProfileName")) if mibBuilder.loadTexts: slapmPolicyStatsEntry.setDescription("Defines an entry in the slapmPolicyStatsTable. This table\ndefines a set of statistics that is kept on a per system,\npolicy and traffic profile basis. A policy can be\ndefined to contain multiple traffic profiles that map to\na single action.\n\nEntries in this table are not created or deleted via SNMP\nbut reflect the set of policy definitions known at a system.") slapmPolicyStatsSystemAddress = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 1), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyStatsSystemAddress.setDescription("Address of a system that an Policy definition relates to.\nA zero length octet string must be used to indicate that\nonly a single system is being represented.\nOtherwise, the length of the octet string must be\n4 for an ipv4 address or 16 for an ipv6 address.") slapmPolicyStatsPolicyName = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 2), SlapmNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyStatsPolicyName.setDescription("Policy name that this entry relates to.") slapmPolicyStatsTrafficProfileName = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 3), SlapmNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyStatsTrafficProfileName.setDescription("The name of a traffic profile that is associated with\na policy.") slapmPolicyStatsOperStatus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), ("deleteNeeded", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsOperStatus.setDescription("The state of a policy entry:\n\ninactive(1) - An policy entry was either defined\n by local system definition or\n discovered via a directory search\n but has not been activated (not\n currently being used).\nactive(2) - Policy entry is being used to affect\n traffic flows.\ndeleteNeeded(3) - Either though local implementation\n dependent methods or by discovering\n that the directory entry corresponding\n to this table entry no longer\n exists and slapmPolicyPurgeTime needs\n to expire before attempting to remove\n the corresponding slapmPolicyStatsEntry\n and any dependent slapmPolicyMonitor\n table entries.\nNote: a policy traffic profile in a state other than\nactive(1) is not being used to affect traffic flows.") slapmPolicyStatsActiveConns = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsActiveConns.setDescription("The number of active TCP connections that are\naffected by the corresponding policy entry.") slapmPolicyStatsTotalConns = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsTotalConns.setDescription("The number of total TCP connections that are\naffected by the corresponding policy entry.") slapmPolicyStatsFirstActivated = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 7), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsFirstActivated.setDescription("The timestamp for when the corresponding policy entry\nis activated. The value of this object serves as\nthe discontinuity event indicator when polling entries\nin this table. The value of this object is updated on\ntransition of slapmPolicyStatsOperStatus into the active(2)\nstate.") slapmPolicyStatsLastMapping = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 8), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsLastMapping.setDescription("The timestamp for when the last time\nthat the associated policy entry was used.") slapmPolicyStatsInOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsInOctets.setDescription("The number of octets that was received by IP for an\nentity that map to this entry.") slapmPolicyStatsOutOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsOutOctets.setDescription("The number of octets that was transmitted by IP for an\nentity that map to this entry.") slapmPolicyStatsConnectionLimit = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsConnectionLimit.setDescription("The limit for the number of active TCP connections that\nare allowed for this policy definition. A value of zero\nfor this object implies that a connection limit has not\nbeen specified.") slapmPolicyStatsCountAccepts = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsCountAccepts.setDescription("This counter is incremented when a policy action's\nPermission value is set to Accept and a session\n(TCP connection) is accepted.") slapmPolicyStatsCountDenies = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsCountDenies.setDescription("This counter is incremented when a policy action's\nPermission value is set to Deny and a session is denied,\nor when a session (TCP connection) is rejected due to a\npolicy's connection limit (slapmPolicyStatsConnectLimit)\nbeing reached.") slapmPolicyStatsInDiscards = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsInDiscards.setDescription("This counter counts the number of in octets discarded.\nThis occurs when an error is detected. Examples of this\nare buffer overflow, checksum error, or bad packet\nformat.") slapmPolicyStatsOutDiscards = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsOutDiscards.setDescription("This counter counts the number of out octets discarded.\nExamples of this are buffer overflow, checksum error, or\nbad packet format.") slapmPolicyStatsInPackets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsInPackets.setDescription("This counter counts the number of in packets received\nthat relate to this policy entry from IP.") slapmPolicyStatsOutPackets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsOutPackets.setDescription("This counter counts the number of out packets sent\nby IP that relate to this policy entry.") slapmPolicyStatsInProfileOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsInProfileOctets.setDescription("This counter counts the number of in octets that are\ndetermined to be within profile.") slapmPolicyStatsOutProfileOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsOutProfileOctets.setDescription("This counter counts the number of out octets that are\ndetermined to be within profile.") slapmPolicyStatsMinRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsMinRate.setDescription("The minimum transfer rate defined for this entry.") slapmPolicyStatsMaxRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsMaxRate.setDescription("The maximum transfer rate defined for this entry.") slapmPolicyStatsMaxDelay = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 1, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyStatsMaxDelay.setDescription("The maximum delay defined for this entry.") slapmPolicyMonitorTable = MibTable((1, 3, 6, 1, 3, 88, 1, 2, 2)) if mibBuilder.loadTexts: slapmPolicyMonitorTable.setDescription("Provides a method of monitoring policies and their\neffect at a system.\n\nThis table has been deprecated and replaced with\nthe slapmPRMonTable. Older implementations of\nthis MIB are expected to continue their support\nof this table.") slapmPolicyMonitorEntry = MibTableRow((1, 3, 6, 1, 3, 88, 1, 2, 2, 1)).setIndexNames((0, "SLAPM-MIB", "slapmPolicyMonitorOwnerIndex"), (0, "SLAPM-MIB", "slapmPolicyMonitorSystemAddress"), (0, "SLAPM-MIB", "slapmPolicyMonitorPolicyName"), (0, "SLAPM-MIB", "slapmPolicyMonitorTrafficProfileName")) if mibBuilder.loadTexts: slapmPolicyMonitorEntry.setDescription("Defines an entry in the slapmPolicyMonitorTable. This\ntable defines which policies should be monitored on a\nper policy traffic profile basis.") slapmPolicyMonitorOwnerIndex = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyMonitorOwnerIndex.setDescription("To facilitate the provisioning of access control by a\nsecurity administrator using the View-Based Access\nControl Model (RFC 2575, VACM) for tables in which\nmultiple users may need to independently create or modify\nentries, the initial index is used as an 'owner index'.\nSuch an initial index has a syntax of SnmpAdminString,\nand can thus be trivially mapped to a securityName or\ngroupName as defined in VACM, in accordance with a\nsecurity policy.\n\nAll entries in that table belonging to a particular user\nwill have the same value for this initial index. For a\ngiven user's entries in a particular table, the object\nidentifiers for the information in these entries will\nhave the same subidentifiers (except for the 'column'\nsubidentifier) up to the end of the encoded owner index.\nTo configure VACM to permit access to this portion of the\ntable, one would create vacmViewTreeFamilyTable entries\nwith the value of vacmViewTreeFamilySubtree including the\nowner index portion, and vacmViewTreeFamilyMask\n'wildcarding' the column subidentifier. More elaborate\nconfigurations are possible.") slapmPolicyMonitorSystemAddress = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyMonitorSystemAddress.setDescription("Address of a system that an Policy definition relates to.\nA zero length octet string can be used to indicate that\nonly a single system is being represented.\nOtherwise, the length of the octet string should be\n4 for an ipv4 address and 16 for an ipv6 address.") slapmPolicyMonitorPolicyName = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 3), SlapmNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyMonitorPolicyName.setDescription("Policy name that this entry relates to.") slapmPolicyMonitorTrafficProfileName = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 4), SlapmNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyMonitorTrafficProfileName.setDescription("The corresponding Traffic Profile name.") slapmPolicyMonitorControl = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 5), Bits().subtype(namedValues=NamedValues(("monitorMinRate", 0), ("monitorMaxRate", 1), ("monitorMaxDelay", 2), ("enableAggregateTraps", 3), ("enableSubcomponentTraps", 4), ("monitorSubcomponents", 5), )).clone(("monitorMinRate","monitorMaxRate","monitorMaxDelay",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorControl.setDescription("The value of this object determines the type and level\nof monitoring that is applied to a policy/profile. The\nvalue of this object can't be changed once the table\nentry that it is a part of is activated via a\nslapmPolicyMonitorRowStatus transition to active state.\n\n monitorMinRate(0) - Monitor minimum transfer rate.\n monitorMaxRate(1) - Monitor maximum transfer rate.\n monitorMaxDelay(2) - Monitor maximum delay.\n enableAggregateTraps(3) - The enableAggregateTraps(3)\n BITS setting enables notification generation\n when monitoring a policy traffic profile as an\n aggregate using the values in the corresponding\n slapmPolicyStatsEntry. By default this function\n is not enabled.\n enableSubcomponentTraps(4) - This BITS setting enables\n notification generation when monitoring all\n subcomponents that are mapped to an corresponding\n slapmPolicyStatsEntry. By default this\n function is not enabled.\n monitorSubcomponents(5) - This BITS setting enables\n monitoring of each subcomponent (typically a\n TCP connection or UDP listener) individually.") slapmPolicyMonitorStatus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 6), SlapmStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorStatus.setDescription("The value of this object indicates when a monitored\nvalue has not meet a threshold or isn't meeting the\ndefined service level. The SlapmStatus TEXTUAL-CONVENTION\ndefines two levels of not meeting a threshold. The first\nset:\n slaMinInRateNotAchieved(0),\n slaMaxInRateExceeded(1),\n slaMaxDelayExceeded(2),\n slaMinOutRateNotAchieved(3),\n slaMaxOutRateExceeded(4)\n\nare used to indicate when the SLA as an aggregate is\nnot meeting a threshold while the second set:\n\n monitorMinInRateNotAchieved(5),\n monitorMaxInRateExceeded(6),\n monitorMaxDelayExceeded(7),\n monitorMinOutRateNotAchieved(8),\n monitorMaxOutRateExceeded(9)\n\nindicate that at least one subcomponent is not meeting\na threshold.") slapmPolicyMonitorInterval = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(15, 86400)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorInterval.setDescription("The number of seconds that defines the sample period.") slapmPolicyMonitorIntTime = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 8), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorIntTime.setDescription("The timestamp for when the last interval ended.") slapmPolicyMonitorCurrentInRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorCurrentInRate.setDescription("Using the value of the corresponding\nslapmPolicyMonitorInterval, slapmPolicyStatsInOctets\nis sampled and then divided by slapmPolicyMonitorInterval\nto determine the current in transfer rate.") slapmPolicyMonitorCurrentOutRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorCurrentOutRate.setDescription("Using the value of the corresponding\nslapmPolicyMonitorInterval, slapmPolicyStatsOutOctets\nis sampled and then divided by slapmPolicyMonitorInterval\nto determine the current out transfer rate.") slapmPolicyMonitorMinRateLow = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 11), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorMinRateLow.setDescription("The threshold for generating a\nslapmMonitoredEventNotAchieved notification, signalling\nthat a monitored minimum transfer rate has not been meet.\n\nA slapmMonitoredEventNotAchieved notification is not\ngenerated again for an slapmPolicyMonitorEntry until\nthe minimum transfer rate\nexceeds slapmPolicyMonitorMinRateHigh (a\nslapmMonitoredEventOkay notification is then transmitted)\nand then fails below slapmPolicyMonitorMinRateLow. This\nbehavior reduces the slapmMonitoredEventNotAchieved\nnotifications that are transmitted.\n\nA value of zero for this object is returned when the\nslapmPolicyMonitorControl monitorMinRate(0) is not\nenabled. When enabled the default value for this object\nis the min rate value specified in the associated\naction definition minus 10%. If the action definition\ndoesn't have a min rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMinRate(0)\nis selected.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be selected in\norder for any notification relating to this entry to\npotentially be generated.") slapmPolicyMonitorMinRateHigh = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 12), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorMinRateHigh.setDescription("The threshold for generating a slapmMonitoredEventOkay\nnotification, signalling that a monitored minimum\ntransfer rate has increased to an acceptable level.\n\nA value of zero for this object is returned when the\nslapmPolicyMonitorControl monitorMinRate(0) is not\nenabled. When enabled the default value for this object\nis the min rate value specified in the associated\naction definition plus 10%. If the action definition\ndoesn't have a min rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMinRate(0)\nis selected.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be selected\nin order for any notification relating to this entry to\npotentially be generated.") slapmPolicyMonitorMaxRateHigh = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 13), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorMaxRateHigh.setDescription("The threshold for generating a\nslapmMonitoredEventNotAchieved notification, signalling\nthat a monitored maximum transfer rate has been exceeded.\n\nA slapmMonitoredEventNotAchieved notification is not\ngenerated again for an slapmPolicyMonitorEntry until the\nmaximum transfer rate fails below\nslapmPolicyMonitorMaxRateLow (a slapmMonitoredEventOkay\nnotification is then transmitted) and then raises above\nslapmPolicyMonitorMaxRateHigh. This behavior reduces the\nslapmMonitoredEventNotAchieved notifications that are\ntransmitted.\n\nA value of zero for this object is returned when the\nslapmPolicyMonitorControl monitorMaxRate(1) is not\nenabled. When enabled the default value for this object\nis the max rate value specified in the associated\naction definition plus 10%. If the action definition\ndoesn't have a max rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxRate(1)\nis selected.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be selected in\norder for any notification relating to this entry to\npotentially be generated.") slapmPolicyMonitorMaxRateLow = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 14), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorMaxRateLow.setDescription("The threshold for generating a slapmMonitoredEventOkay\nnotification, signalling that a monitored maximum\ntransfer rate has fallen to an acceptable level.\n\nA value of zero for this object is returned when the\nslapmPolicyMonitorControl monitorMaxRate(1) is not\nenabled. When enabled the default value for this object\nis the max rate value specified in the associated\naction definition minus 10%. If the action definition\ndoesn't have a max rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxRate(1)\nis selected.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be selected in\norder for any notification relating to this entry to\npotentially be generated.") slapmPolicyMonitorMaxDelayHigh = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 15), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorMaxDelayHigh.setDescription("The threshold for generating a\nslapmMonitoredEventNotAchieved notification, signalling\nthat a monitored maximum delay rate has been exceeded.\n\nA slapmMonitoredEventNotAchieved notification is not\ngenerated again for an slapmPolicyMonitorEntry until\nthe maximum delay rate falls below\nslapmPolicyMonitorMaxDelayLow (a slapmMonitoredEventOkay\nnotification is then transmitted) and raises above\nslapmPolicyMonitorMaxDelayHigh. This behavior reduces\nthe slapmMonitoredEventNotAchieved notifications that are\ntransmitted.\n\nA value of zero for this object is returned when the\nslapmPolicyMonitorControl monitorMaxDelay(4) is not\nenabled. When enabled the default value for this object\nis the max delay value specified in the associated\naction definition plus 10%. If the action definition\ndoesn't have a max delay defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxDelay(4)\nis selected.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be selected\nin order for any notification relating to this entry to\npotentially be generated.") slapmPolicyMonitorMaxDelayLow = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 16), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorMaxDelayLow.setDescription("The threshold for generating a slapmMonitoredEventOkay\nnotification, signalling that a monitored maximum delay\nrate has fallen to an acceptable level.\n\nA value of zero for this object is returned when the\nslapmPolicyMonitorControl monitorMaxDelay(4) is not\nenabled. When enabled the default value for this object\nis the max delay value specified in the associated\naction definition minus 10%. If the action definition\ndoesn't have a max delay defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxDelay(4)\nis selected.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be selected\nin order for any notification relating to this entry to\npotentially be generated.") slapmPolicyMonitorMinInRateNotAchieves = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorMinInRateNotAchieves.setDescription("The number of times that a minimum transfer in rate\nwas not achieved.") slapmPolicyMonitorMaxInRateExceeds = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorMaxInRateExceeds.setDescription("The number of times that a maximum transfer in rate\nwas exceeded.") slapmPolicyMonitorMaxDelayExceeds = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorMaxDelayExceeds.setDescription("The number of times that a maximum delay in rate\nwas exceeded.") slapmPolicyMonitorMinOutRateNotAchieves = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorMinOutRateNotAchieves.setDescription("The number of times that a minimum transfer out rate\nwas not achieved.") slapmPolicyMonitorMaxOutRateExceeds = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorMaxOutRateExceeds.setDescription("The number of times that a maximum transfer out rate\nwas exceeded.") slapmPolicyMonitorCurrentDelayRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 22), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyMonitorCurrentDelayRate.setDescription("The current delay rate for this entry. This is\ncalculated by taking the average of the TCP\nround trip times for all associating\nslapmSubcomponentTable entries within a interval.") slapmPolicyMonitorRowStatus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 2, 1, 23), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPolicyMonitorRowStatus.setDescription("This object allows entries to be created and deleted\nin the slapmPolicyMonitorTable. An entry in this table\nis deleted by setting this object to destroy(6).\n\nRemoval of a corresponding (same policy and traffic profile\nnames) slapmPolicyStatsEntry has the side effect of the\nautomatic deletion an entry in this table.") slapmSubcomponentTable = MibTable((1, 3, 6, 1, 3, 88, 1, 2, 3)) if mibBuilder.loadTexts: slapmSubcomponentTable.setDescription("Defines a table to provide information on the\nindividually components that are mapped to\na policy rule (or old traffic profile).\n\nThe indexing for this table is designed to support\nthe use of an SNMP GET-NEXT operation using only\nthe remote address and remote port as a way for\na management station to retrieve the table entries\nrelating to a particular client.") slapmSubcomponentEntry = MibTableRow((1, 3, 6, 1, 3, 88, 1, 2, 3, 1)).setIndexNames((0, "SLAPM-MIB", "slapmSubcomponentRemAddress"), (0, "SLAPM-MIB", "slapmSubcomponentRemPort"), (0, "SLAPM-MIB", "slapmSubcomponentLocalAddress"), (0, "SLAPM-MIB", "slapmSubcomponentLocalPort")) if mibBuilder.loadTexts: slapmSubcomponentEntry.setDescription("Describes a particular subcomponent entry. This\ntable does not have an OwnerIndex as\npart of its indexing since this table's contents\nis intended to span multiple users.") slapmSubcomponentRemAddress = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 1), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmSubcomponentRemAddress.setDescription("Indicate the remote address of a subcomponent.\nA remote address can be either an ipv4 address in which\ncase 4 octets are required or as an ipv6 address that\nrequires 16 octets. The value of this subidentifier\nis a zero length octet string when this entry relates\nto a UDP listener.") slapmSubcomponentRemPort = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmSubcomponentRemPort.setDescription("Indicate the remote port of a subcomponent.\nThe value of this subidentifier\nis 0 when this entry relates to a UDP listener.") slapmSubcomponentLocalAddress = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 3), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4,4),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmSubcomponentLocalAddress.setDescription("Indicate the local address of a subcomponent.\nA local address can be either an ipv4 address in which\ncase 4 octets are required or as an ipv6 address that\nrequires 16 octets.") slapmSubcomponentLocalPort = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmSubcomponentLocalPort.setDescription("Indicate the local port of a subcomponent.") slapmSubcomponentProtocol = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("udpListener", 1), ("tcpConnection", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentProtocol.setDescription("Indicate the protocol in use that identifies the\ntype of subcomponent.") slapmSubcomponentSystemAddress = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 6), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(16,16),))).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentSystemAddress.setDescription("Address of a system that an Policy definition relates to.\nA zero length octet string can be used to indicate that\nonly a single system is being represented.\nOtherwise, the length of the octet string should be\n4 for an ipv4 address and 16 for an ipv6 address.") slapmSubcomponentPolicyName = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 7), SlapmNameType()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentPolicyName.setDescription("Policy name that this entry relates to.\n\nThis object, along with slapmSubcomponentTrafficProfileName,\nhave been replaced with the use of an unsigned integer\nindex that is mapped to an slapmPolicyNameEntry to actually\nidentify policy naming.") slapmSubcomponentTrafficProfileName = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 8), SlapmNameType()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentTrafficProfileName.setDescription("The corresponding traffic profile name.\n\nThis object, along with slapmSubcomponentProfileName,\nhave been replaced with the use of an unsigned integer\nindex that is mapped to an slapmPolicyNameEntry to\nactually identify policy naming.") slapmSubcomponentLastActivity = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 9), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentLastActivity.setDescription("The date and timestamp of when this entry was last used.") slapmSubcomponentInOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentInOctets.setDescription("The number of octets received from IP for this\nconnection.") slapmSubcomponentOutOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentOutOctets.setDescription("The number of octets sent to IP for this connection.") slapmSubcomponentTcpOutBufferedOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentTcpOutBufferedOctets.setDescription("Number of outgoing octets buffered. The value\nof this object is zero when the entry is not\nfor a TCP connection.") slapmSubcomponentTcpInBufferedOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentTcpInBufferedOctets.setDescription("Number of incoming octets buffered. The value\nof this object is zero when the entry is not\nfor a TCP connection.") slapmSubcomponentTcpReXmts = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentTcpReXmts.setDescription("Number of retransmissions. The value\nof this object is zero when the entry is not\nfor a TCP connection.") slapmSubcomponentTcpRoundTripTime = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentTcpRoundTripTime.setDescription("The amount of time that has elapsed, measured in\nmilliseconds, from when the last TCP segment was\ntransmitted by the TCP Stack until the ACK was\nreceived.\n\nThe value of this object is zero when the entry is not\nfor a TCP connection.") slapmSubcomponentTcpRoundTripVariance = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentTcpRoundTripVariance.setDescription("Round trip time variance.\n\nThe value of this object is zero when the entry is not\nfor a TCP connection.") slapmSubcomponentInPdus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentInPdus.setDescription("The number of protocol related data units transferred\ninbound:\n\n slapmSubcomponentProtocol PDU Type\n\n udpListener(1) UDP datagrams\n tcpConnection(2) TCP segments") slapmSubcomponentOutPdus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentOutPdus.setDescription("The number of protocol related data units transferred\noutbound:\n\n slapmSubcomponentProtocol PDU Type\n\n udpListener(1) UDP datagrams\n tcpConnection(2) TCP segments") slapmSubcomponentApplName = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 19), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentApplName.setDescription("The application name associated with this entry if known,\notherwise a zero-length octet string is returned as the\nvalue of this object.") slapmSubcomponentMonitorStatus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 20), SlapmStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentMonitorStatus.setDescription("The value of this object indicates when a monitored\nvalue has exceeded a threshold or isn't meeting the\ndefined service level. Only the following SlapmStatus\nBITS setting can be reported here:\n\n monitorMinInRateNotAchieved(5),\n monitorMaxInRateExceeded(6),\n monitorMaxDelayExceeded(7),\n monitorMinOutRateNotAchieved(8),\n monitorMaxOutRateExceeded(9)\n\nThis object only has meaning when an corresponding\nslapmPolicyMonitorEntry exists with the\nslapmPolicyMonitorControl BITS setting\nmonitorSubcomponents(5) enabled.") slapmSubcomponentMonitorIntTime = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 21), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentMonitorIntTime.setDescription("The timestamp for when the last interval ended.\n\nThis object only has meaning when an corresponding\nslapmPRMonEntry (or old slapmPolicyMonitorEntry)\nexists with the slapmPRMonControl (or\nslapmPolicyMonitorControl) BITS setting\nmonitorSubcomponents(5) enabled. All of the\noctets returned when monitoring is not in effect\nmust be zero.") slapmSubcomponentMonitorCurrentInRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 22), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentMonitorCurrentInRate.setDescription("Using the value of the corresponding\nslapmPRMonInterval (or slapmPolicyMonitorInterval),\nslapmSubcomponentStatsInOctets\nis divided by slapmSubcomponentMonitorInterval to determine\nthe current in transfer rate.\n\nThis object only has meaning when an corresponding\nslapmPRMonEntry (or slapmPolicyMonitorEntry)\nexists with the slapmPRMonControl (or\nslapmPolicyMonitorControl) BITS setting\nmonitorSubcomponents(5) enabled. The value of this\nobject is zero when monitoring is not in effect.") slapmSubcomponentMonitorCurrentOutRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 23), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentMonitorCurrentOutRate.setDescription("Using the value of the corresponding slapmPRMonInterval (or\nslapmPolicyMonitorInterva)l, slapmSubcomponentStatsOutOctets\nis divided by slapmPRMonInterval (or\nslapmPolicyMonitorInterval) to determine the\ncurrent out transfer rate.\n\nThis object only has meaning when an corresponding\nslapmPRMonEntry (or slapmPolicyMonitorEntry) exists with\nthe slapmPRMonControl (or slapmPolicyMonitorControl)\nBITS setting monitorSubcomponents(5) enabled. The value\nof this object is zero when monitoring is not in effect.") slapmSubcomponentPolicyRuleIndex = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 3, 1, 24), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmSubcomponentPolicyRuleIndex.setDescription("Points to an slapmPolicyNameEntry when combined with\nslapmSubcomponentSystemAddress to indicate the\npolicy naming that relates to this entry.\n\nA value of 0 for this object MUST be returned when\nthe corresponding slapmSubcomponentEntry has no\npolicy rule associated with it.") slapmPolicyNameTable = MibTable((1, 3, 6, 1, 3, 88, 1, 2, 4)) if mibBuilder.loadTexts: slapmPolicyNameTable.setDescription("Provides the mapping between a policy index as a\nunsigned 32 bit integer and the unique name associated\nwith a policy rule.") slapmPolicyNameEntry = MibTableRow((1, 3, 6, 1, 3, 88, 1, 2, 4, 1)).setIndexNames((0, "SLAPM-MIB", "slapmPolicyNameSystemAddress"), (0, "SLAPM-MIB", "slapmPolicyNameIndex")) if mibBuilder.loadTexts: slapmPolicyNameEntry.setDescription("Defines an entry in the slapmPolicyNameTable.") slapmPolicyNameSystemAddress = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 4, 1, 1), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyNameSystemAddress.setDescription("Address of a system that an Policy rule definition relates\nto. A zero length octet string must be used to indicate\nthat only a single system is being represented.\nOtherwise, the length of the octet string must be\n4 for an ipv4 address or 16 for an ipv6 address.") slapmPolicyNameIndex = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPolicyNameIndex.setDescription("A locally arbitrary, but unique identifier associated\nwith this table entry. This value is not expected to\nremain constant across reIPLs.") slapmPolicyNameOfRule = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 4, 1, 3), SlapmPolicyRuleName()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyNameOfRule.setDescription("The unique name that identifies a policy rule definition.") slapmPolicyRuleStatsTable = MibTable((1, 3, 6, 1, 3, 88, 1, 2, 5)) if mibBuilder.loadTexts: slapmPolicyRuleStatsTable.setDescription("Provides statistics on a per system and a per policy\nrule basis.") slapmPolicyRuleStatsEntry = MibTableRow((1, 3, 6, 1, 3, 88, 1, 2, 5, 1)).setIndexNames((0, "SLAPM-MIB", "slapmPolicyNameSystemAddress"), (0, "SLAPM-MIB", "slapmPolicyNameIndex")) if mibBuilder.loadTexts: slapmPolicyRuleStatsEntry.setDescription("Defines an entry in the slapmPolicyRuleStatsTable.\nThis table defines a set of statistics that is kept\non a per system and per policy rule basis.\n\nEntries in this table are not created or deleted via SNMP\nbut reflect the set of policy rule definitions known\nat a system.") slapmPolicyRuleStatsOperStatus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), ("deleteNeeded", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsOperStatus.setDescription("The state of a policy entry:\n\ninactive(1) - An policy entry was either defined\n by local system definition or\n discovered via\n a directory search but has not been\n activated (not currently being used).\nactive(2) - Policy entry is being used to affect\n traffic flows.\ndeleteNeeded(3) - Either though local implementation\n dependent methods or by discovering\n that the directory entry corresponding\n to this table entry no longer\n exists and slapmPolicyPurgeTime needs\n to expire before attempting to remove\n the corresponding slapmPolicyStatsEntry\n and any dependent slapmPolicyMonitor\n table entries.\nNote: a policy rule in a state other than\nactive(2) is not being used to affect traffic flows.") slapmPolicyRuleStatsActiveConns = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsActiveConns.setDescription("The number of active TCP connections that are\naffected by the corresponding policy entry.") slapmPolicyRuleStatsTotalConns = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsTotalConns.setDescription("The number of total TCP connections that are\naffected by the corresponding policy entry.") slapmPolicyRuleStatsLActivated = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 4), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsLActivated.setDescription("The timestamp for when the corresponding policy entry\nwas last activated. The value of this object serves as\nthe discontinuity event indicator when polling entries\nin this table. The value of this object is updated on\ntransition of slapmPolicyRuleStatsOperStatus into the\nactive(2) state.") slapmPolicyRuleStatsLastMapping = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 5), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsLastMapping.setDescription("The timestamp for when the last time\nthat the associated policy entry was used.") slapmPolicyRuleStatsInOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsInOctets.setDescription("The number of octets that was received by IP for an\nentity that map to this entry.") slapmPolicyRuleStatsOutOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsOutOctets.setDescription("The number of octets that was transmitted by IP for an\nentity that map to this entry.") slapmPolicyRuleStatsConnLimit = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsConnLimit.setDescription("The limit for the number of active TCP connections that\nare allowed for this policy definition. A value of zero\nfor this object implies that a connection limit has not\nbeen specified.") slapmPolicyRuleStatsCountAccepts = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsCountAccepts.setDescription("This counter is incremented when a policy action's\nPermission value is set to Accept and a session\n(TCP connection) is accepted.") slapmPolicyRuleStatsCountDenies = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsCountDenies.setDescription("This counter is incremented when a policy action's\nPermission value is set to Deny and a session is denied,\nor when a session (TCP connection) is rejected due to a\npolicy's connection limit (slapmPolicyRuleStatsConnectLimit)\nbeing reached.") slapmPolicyRuleStatsInDiscards = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsInDiscards.setDescription("This counter counts the number of in octets discarded.\nThis occurs when an error is detected. Examples of this\nare buffer overflow, checksum error, or bad packet\nformat.") slapmPolicyRuleStatsOutDiscards = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsOutDiscards.setDescription("This counter counts the number of out octets discarded.\nExamples of this are buffer overflow, checksum error, or\nbad packet format.") slapmPolicyRuleStatsInPackets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsInPackets.setDescription("This counter counts the number of in packets received\nthat relate to this policy entry from IP.") slapmPolicyRuleStatsOutPackets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsOutPackets.setDescription("This counter counts the number of out packets sent\nby IP that relate to this policy entry.") slapmPolicyRuleStatsInProOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsInProOctets.setDescription("This counter counts the number of in octets that are\ndetermined to be within profile.") slapmPolicyRuleStatsOutProOctets = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsOutProOctets.setDescription("This counter counts the number of out octets that are\ndetermined to be within profile.") slapmPolicyRuleStatsMinRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsMinRate.setDescription("The minimum transfer rate defined for this entry.") slapmPolicyRuleStatsMaxRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 18), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsMaxRate.setDescription("The maximum transfer rate defined for this entry.") slapmPolicyRuleStatsMaxDelay = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 19), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsMaxDelay.setDescription("The maximum delay defined for this entry.") slapmPolicyRuleStatsTotalRsvpFlows = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsTotalRsvpFlows.setDescription("Total number of RSVP flows that have be activated.") slapmPolicyRuleStatsActRsvpFlows = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 5, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPolicyRuleStatsActRsvpFlows.setDescription("Current number of active RSVP flows.") slapmPRMonTable = MibTable((1, 3, 6, 1, 3, 88, 1, 2, 6)) if mibBuilder.loadTexts: slapmPRMonTable.setDescription("Provides a method of monitoring policies and their\neffect at a system.") slapmPRMonEntry = MibTableRow((1, 3, 6, 1, 3, 88, 1, 2, 6, 1)).setIndexNames((0, "SLAPM-MIB", "slapmPRMonOwnerIndex"), (0, "SLAPM-MIB", "slapmPRMonSystemAddress"), (0, "SLAPM-MIB", "slapmPRMonIndex")) if mibBuilder.loadTexts: slapmPRMonEntry.setDescription("Defines an entry in the slapmPRMonTable. This\ntable defines which policies should be monitored on a\nper policy rule basis.\n\nAn attempt to set any read-create object defined within an\nslapmPRMonEntry while the value of slapmPRMonRowStatus is\nactive(1) will result in an inconsistentValue error.") slapmPRMonOwnerIndex = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPRMonOwnerIndex.setDescription("To facilitate the provisioning of access control by a\nsecurity administrator using the View-Based Access\nControl Model (RFC 2575, VACM) for tables in which\nmultiple users may need to independently create or modify\nentries, the initial index is used as an 'owner index'.\nSuch an initial index has a syntax of SnmpAdminString,\nand can thus be trivially mapped to a securityName or\ngroupName as defined in VACM, in accordance with a\nsecurity policy.\n\nAll entries in that table belonging to a particular user\nwill have the same value for this initial index. For a\ngiven user's entries in a particular table, the object\nidentifiers for the information in these entries will\nhave the same subidentifiers (except for the 'column'\nsubidentifier) up to the end of the encoded owner index.\nTo configure VACM to permit access to this portion of the\ntable, one would create vacmViewTreeFamilyTable entries\nwith the value of vacmViewTreeFamilySubtree including the\nowner index portion, and vacmViewTreeFamilyMask\n'wildcarding' the column subidentifier. More elaborate\nconfigurations are possible.") slapmPRMonSystemAddress = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPRMonSystemAddress.setDescription("Address of a system that an Policy definition relates to.\nA zero length octet string can be used to indicate that\nonly a single system is being represented.\nOtherwise, the length of the octet string should be\n4 for an ipv4 address and 16 for an ipv6 address.") slapmPRMonIndex = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 3), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: slapmPRMonIndex.setDescription("An slapmPolicyNameTable index, slapmPolicyNameIndex,\nthat points to the unique name associated with a\npolicy rule definition.") slapmPRMonControl = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 4), Bits().subtype(namedValues=NamedValues(("monitorMinRate", 0), ("monitorMaxRate", 1), ("monitorMaxDelay", 2), ("enableAggregateTraps", 3), ("enableSubcomponentTraps", 4), ("monitorSubcomponents", 5), )).clone(("monitorMinRate","monitorMaxRate","monitorMaxDelay",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonControl.setDescription("The value of this object determines the type and level\nof monitoring that is applied to a policy rule. The\nvalue of this object can't be changed once the table\nentry that it is a part of is activated via a\nslapmPRMonRowStatus transition to active state.\n\n monitorMinRate(0) - Monitor minimum transfer rate.\n monitorMaxRate(1) - Monitor maximum transfer rate.\n monitorMaxDelay(2) - Monitor maximum delay.\n enableAggregateTraps(3) - The enableAggregateTraps(3)\n BITS setting enables notification generation\n when monitoring a policy rule as an\n aggregate using the values in the corresponding\n slapmPRMonStatsEntry. By default this function\n is not enabled.\n enableSubcomponentTraps(4) - This BITS setting enables\n notification generation when monitoring all\n subcomponents that are mapped to an corresponding\n slapmPRMonStatsEntry. By default this\n function is not enabled.\n monitorSubcomponents(5) - This BITS setting enables\n monitoring of each subcomponent (typically a\n TCP connection or UDP listener) individually.") slapmPRMonStatus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 5), SlapmStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonStatus.setDescription("The value of this object indicates when a monitored\nvalue has not meet a threshold or isn't meeting the\ndefined service level. The SlapmStatus TEXTUAL-CONVENTION\ndefines two levels of not meeting a threshold. The first\nset:\n slaMinInRateNotAchieved(0),\n slaMaxInRateExceeded(1),\n slaMaxDelayExceeded(2),\n slaMinOutRateNotAchieved(3),\n slaMaxOutRateExceeded(4)\n\nare used to indicate when the SLA as an aggregate is\nnot meeting a threshold while the second set:\n\n monitorMinInRateNotAchieved(5),\n monitorMaxInRateExceeded(6),\n monitorMaxDelayExceeded(7),\n monitorMinOutRateNotAchieved(8),\n monitorMaxOutRateExceeded(9)\n\nindicate that at least one subcomponent is not meeting\na threshold.") slapmPRMonInterval = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(15, 86400)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonInterval.setDescription("The number of seconds that defines the sample period.") slapmPRMonIntTime = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 7), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonIntTime.setDescription("The timestamp for when the last interval ended.") slapmPRMonCurrentInRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonCurrentInRate.setDescription("Using the value of the corresponding\nslapmPRMonInterval, slapmPolicyRuleStatsInOctets\nis sampled and then divided by slapmPRMonInterval\nto determine the current in transfer rate.") slapmPRMonCurrentOutRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonCurrentOutRate.setDescription("Using the value of the corresponding\nslapmPolicyMonInterval, slapmPolicyRuleStatsOutOctets\nis sampled and then divided by slapmPRMonInterval\nto determine the current out transfer rate.") slapmPRMonMinRateLow = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 10), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonMinRateLow.setDescription("The threshold for generating a\nslapmPolicyRuleMonNotOkay notification, signalling\nthat a monitored minimum transfer rate has not been meet.\nA slapmPolicyRuleMonNotOkay notification is not\ngenerated again for an slapmPRMonEntry until\nthe minimum transfer rate\nexceeds slapmPRMonMinRateHigh (a\nslapmPolicyRuleMonOkay notification is then transmitted)\nand then fails below slapmPRMonMinRateLow. This\nbehavior reduces the slapmPolicyRuleMonNotOkay\nnotifications that are transmitted.\n\nA value of zero for this object is returned when the\nslapmPRMonControl monitorMinRate(0) is not\nenabled. When enabled the default value for this object\nis the min rate value specified in the associated\naction definition minus 10%. If the action definition\ndoesn't have a min rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMinRate(0)\nis selected.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be selected in\norder for any notification relating to this entry to\npotentially be generated.") slapmPRMonMinRateHigh = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 11), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonMinRateHigh.setDescription("The threshold for generating a slapmPolicyRuleMonOkay\nnotification, signalling that a monitored minimum\ntransfer rate has increased to an acceptable level.\n\nA value of zero for this object is returned when the\nslapmPRMonControl monitorMinRate(0) is not\nenabled. When enabled the default value for this object\nis the min rate value specified in the associated\naction definition plus 10%. If the action definition\ndoesn't have a min rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMinRate(0)\nis selected.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be selected\nin order for any notification relating to this entry to\npotentially be generated.") slapmPRMonMaxRateHigh = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 12), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonMaxRateHigh.setDescription("The threshold for generating a\nslapmPolicyRuleMonNotOkay notification, signalling\nthat a monitored maximum transfer rate has been exceeded.\n\nA slapmPolicyRuleNotOkay notification is not\ngenerated again for an slapmPRMonEntry until the\nmaximum transfer rate fails below\nslapmPRMonMaxRateLow (a slapmPolicyRuleMonOkay\nnotification is then transmitted) and then raises above\nslapmPRMonMaxRateHigh. This behavior reduces the\nslapmPolicyRuleMonNotOkay notifications that are\ntransmitted.\n\nA value of zero for this object is returned when the\nslapmPRMonControl monitorMaxRate(1) is not\nenabled. When enabled the default value for this object\nis the max rate value specified in the associated\naction definition plus 10%. If the action definition\ndoesn't have a max rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxRate(1)\nis selected.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be selected in\norder for any notification relating to this entry to\npotentially be generated.") slapmPRMonMaxRateLow = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 13), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonMaxRateLow.setDescription("The threshold for generating a slapmPolicyRuleMonOkay\nnotification, signalling that a monitored maximum\ntransfer rate has fallen to an acceptable level.\nA value of zero for this object is returned when the\nslapmPRMonControl monitorMaxRate(1) is not\nenabled. When enabled the default value for this object\nis the max rate value specified in the associated\naction definition minus 10%. If the action definition\ndoesn't have a max rate defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxRate(1)\nis selected.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be selected in\norder for any notification relating to this entry to\npotentially be generated.") slapmPRMonMaxDelayHigh = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 14), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonMaxDelayHigh.setDescription("The threshold for generating a\nslapmPolicyRuleMonNotOkay notification, signalling\nthat a monitored maximum delay rate has been exceeded.\n\nA slapmPolicyRuleMonNotOkay notification is not\ngenerated again for an slapmPRMonEntry until\nthe maximum delay rate falls below\nslapmPRMonMaxDelayLow (a slapmPolicyRuleMonOkay\nnotification is then transmitted) and raises above\nslapmPRMonMaxDelayHigh. This behavior reduces\nthe slapmPolicyRuleMonNotOkay notifications that are\ntransmitted.\n\nA value of zero for this object is returned when the\nslapmPRMonControl monitorMaxDelay(4) is not\nenabled. When enabled the default value for this object\nis the max delay value specified in the associated\naction definition plus 10%. If the action definition\ndoesn't have a max delay defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxDelay(4)\nis selected.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be selected\nin order for any notification relating to this entry to\npotentially be generated.") slapmPRMonMaxDelayLow = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 15), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonMaxDelayLow.setDescription("The threshold for generating a slapmPolicyRuleMonOkay\nnotification, signalling that a monitored maximum delay\nrate has fallen to an acceptable level.\n\nA value of zero for this object is returned when the\nslapmPRMonControl monitorMaxDelay(4) is not\nenabled. When enabled the default value for this object\nis the max delay value specified in the associated\naction definition minus 10%. If the action definition\ndoesn't have a max delay defined then there is no\ndefault for this object and a value MUST be specified\nprior to activating this entry when monitorMaxDelay(4)\nis selected.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be selected\nin order for any notification relating to this entry to\npotentially be generated.") slapmPRMonMinInRateNotAchieves = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonMinInRateNotAchieves.setDescription("The number of times that a minimum transfer in rate\nwas not achieved.") slapmPRMonMaxInRateExceeds = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonMaxInRateExceeds.setDescription("The number of times that a maximum transfer in rate\nwas exceeded.") slapmPRMonMaxDelayExceeds = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonMaxDelayExceeds.setDescription("The number of times that a maximum delay in rate\nwas exceeded.") slapmPRMonMinOutRateNotAchieves = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonMinOutRateNotAchieves.setDescription("The number of times that a minimum transfer out rate\nwas not achieved.") slapmPRMonMaxOutRateExceeds = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonMaxOutRateExceeds.setDescription("The number of times that a maximum transfer out rate\nwas exceeded.") slapmPRMonCurrentDelayRate = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: slapmPRMonCurrentDelayRate.setDescription("The current delay rate for this entry. This is\ncalculated by taking the average of the TCP\nround trip times for all associating\nslapmSubcomponentTable entries within a interval.") slapmPRMonRowStatus = MibTableColumn((1, 3, 6, 1, 3, 88, 1, 2, 6, 1, 22), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: slapmPRMonRowStatus.setDescription("This object allows entries to be created and deleted\nin the slapmPRMonTable. An entry in this table\nis deleted by setting this object to destroy(6).\n\nRemoval of an corresponding (same policy index)\nslapmPolicyRuleStatsEntry has the side effect of the\nautomatic deletion an entry in this table.\n\nNote that an attempt to set any read-create object\ndefined within an slapmPRMonEntry while the value\nof slapmPRMonRowStatus is active(1) will result in\nan inconsistentValue error.") slapmConformance = MibIdentifier((1, 3, 6, 1, 3, 88, 2)) slapmCompliances = MibIdentifier((1, 3, 6, 1, 3, 88, 2, 1)) slapmGroups = MibIdentifier((1, 3, 6, 1, 3, 88, 2, 2)) # Augmentions # Notifications slapmMonitoredEventNotAchieved = NotificationType((1, 3, 6, 1, 3, 88, 0, 1)).setObjects(*(("SLAPM-MIB", "slapmPolicyMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentInRate"), ("SLAPM-MIB", "slapmPolicyMonitorStatus"), ("SLAPM-MIB", "slapmPolicyMonitorControl"), ("SLAPM-MIB", "slapmPolicyMonitorIntTime"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentDelayRate"), ) ) if mibBuilder.loadTexts: slapmMonitoredEventNotAchieved.setDescription("This notification is generated when an monitored event\nis not achieved with respect to threshold. This\napplies only towards monitoring a policy traffic\nprofile as an aggregate via an associating\nslapmPolicyStatsEntry. The value\nof slapmPolicyMonitorControl can be examined to\ndetermine what is being monitored. The first\nslapmPolicyMonitorStatus value supplies the current\nmonitor status while the 2nd value supplies the\nprevious status.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be\nselected in order for this notification to\npotentially be generated.") slapmMonitoredEventOkay = NotificationType((1, 3, 6, 1, 3, 88, 0, 2)).setObjects(*(("SLAPM-MIB", "slapmPolicyMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentInRate"), ("SLAPM-MIB", "slapmPolicyMonitorStatus"), ("SLAPM-MIB", "slapmPolicyMonitorControl"), ("SLAPM-MIB", "slapmPolicyMonitorIntTime"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentDelayRate"), ) ) if mibBuilder.loadTexts: slapmMonitoredEventOkay.setDescription("This notification is generated when a monitored\nevent has improved to an acceptable level. This\napplies only towards monitoring a policy traffic\nprofile as an aggregate via an associating\nslapmPolicyStatsEntry. The value\nof slapmPolicyMonitorControl can be examined to\ndetermine what is being monitored. The first\nslapmPolicyMonitorStatus value supplies the current\nmonitor status while the 2nd value supplies the\nprevious status.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableAggregateTraps(3), MUST be\nselected in order for this notification to\npotentially be generated.") slapmPolicyProfileDeleted = NotificationType((1, 3, 6, 1, 3, 88, 0, 3)).setObjects(*(("SLAPM-MIB", "slapmPolicyStatsInPackets"), ("SLAPM-MIB", "slapmPolicyStatsOutOctets"), ("SLAPM-MIB", "slapmPolicyStatsInProfileOctets"), ("SLAPM-MIB", "slapmPolicyStatsFirstActivated"), ("SLAPM-MIB", "slapmPolicyStatsOutDiscards"), ("SLAPM-MIB", "slapmPolicyStatsLastMapping"), ("SLAPM-MIB", "slapmPolicyStatsInDiscards"), ("SLAPM-MIB", "slapmPolicyStatsActiveConns"), ("SLAPM-MIB", "slapmPolicyStatsInOctets"), ("SLAPM-MIB", "slapmPolicyStatsMaxRate"), ("SLAPM-MIB", "slapmPolicyStatsOutPackets"), ("SLAPM-MIB", "slapmPolicyStatsCountAccepts"), ("SLAPM-MIB", "slapmPolicyStatsCountDenies"), ("SLAPM-MIB", "slapmPolicyStatsTotalConns"), ("SLAPM-MIB", "slapmPolicyStatsMinRate"), ("SLAPM-MIB", "slapmPolicyStatsConnectionLimit"), ("SLAPM-MIB", "slapmPolicyStatsMaxDelay"), ("SLAPM-MIB", "slapmPolicyStatsOutProfileOctets"), ) ) if mibBuilder.loadTexts: slapmPolicyProfileDeleted.setDescription("A slapmPolicyDeleted notification is sent when a\nslapmPolicyStatsEntry is deleted if the value of\nslapmPolicyTrapEnable is enabled(1).") slapmPolicyMonitorDeleted = NotificationType((1, 3, 6, 1, 3, 88, 0, 4)).setObjects(*(("SLAPM-MIB", "slapmPolicyMonitorMaxDelayExceeds"), ("SLAPM-MIB", "slapmPolicyMonitorMaxRateLow"), ("SLAPM-MIB", "slapmPolicyMonitorInterval"), ("SLAPM-MIB", "slapmPolicyMonitorMaxRateHigh"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmPolicyMonitorMaxOutRateExceeds"), ("SLAPM-MIB", "slapmPolicyMonitorMaxDelayHigh"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentInRate"), ("SLAPM-MIB", "slapmPolicyMonitorMinOutRateNotAchieves"), ("SLAPM-MIB", "slapmPolicyMonitorMinRateHigh"), ("SLAPM-MIB", "slapmPolicyMonitorStatus"), ("SLAPM-MIB", "slapmPolicyMonitorMinRateLow"), ("SLAPM-MIB", "slapmPolicyMonitorMaxInRateExceeds"), ("SLAPM-MIB", "slapmPolicyMonitorIntTime"), ("SLAPM-MIB", "slapmPolicyMonitorMinInRateNotAchieves"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentDelayRate"), ("SLAPM-MIB", "slapmPolicyMonitorMaxDelayLow"), ) ) if mibBuilder.loadTexts: slapmPolicyMonitorDeleted.setDescription("A slapmPolicyMonitorDeleted notification is sent when a\nslapmPolicyMonitorEntry is deleted if the value of\nslapmPolicyTrapEnable is enabled(1).") slapmSubcomponentMonitoredEventNotAchieved = NotificationType((1, 3, 6, 1, 3, 88, 0, 5)).setObjects(*(("SLAPM-MIB", "slapmSubcomponentMonitorIntTime"), ("SLAPM-MIB", "slapmSubcomponentMonitorStatus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmSubcomponentPolicyName"), ("SLAPM-MIB", "slapmSubcomponentSystemAddress"), ("SLAPM-MIB", "slapmSubcomponentTrafficProfileName"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentInRate"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripTime"), ) ) if mibBuilder.loadTexts: slapmSubcomponentMonitoredEventNotAchieved.setDescription("This notification is generated when a monitored value\ndoes not achieved a threshold specification. This\napplies only towards monitoring the individual components\nof a policy traffic profile. The value of the\ncorresponding slapmPolicyMonitorControl can be examined\nto determine what is being monitored. The first\nslapmSubcomponentMonitorStatus value supplies the current\nmonitor status while the 2nd value supplies the\nprevious status.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableSubcomponentTraps(4), MUST be selected\nin order for this notification to potentially be generated.") slapmSubcomponentMonitoredEventOkay = NotificationType((1, 3, 6, 1, 3, 88, 0, 6)).setObjects(*(("SLAPM-MIB", "slapmSubcomponentMonitorIntTime"), ("SLAPM-MIB", "slapmSubcomponentMonitorStatus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmSubcomponentPolicyName"), ("SLAPM-MIB", "slapmSubcomponentSystemAddress"), ("SLAPM-MIB", "slapmSubcomponentTrafficProfileName"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentInRate"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripTime"), ) ) if mibBuilder.loadTexts: slapmSubcomponentMonitoredEventOkay.setDescription("This notification is generated when a monitored value\nhas reached an acceptable level.\n\nNote: The corresponding slapmPolicyMonitorControl\nBITS setting, enableSubcomponentTraps(3), MUST be\nselected in order for this notification to potentially\nbe generated.") slapmPolicyRuleMonNotOkay = NotificationType((1, 3, 6, 1, 3, 88, 0, 7)).setObjects(*(("SLAPM-MIB", "slapmPRMonIntTime"), ("SLAPM-MIB", "slapmPRMonCurrentDelayRate"), ("SLAPM-MIB", "slapmPRMonCurrentInRate"), ("SLAPM-MIB", "slapmPRMonStatus"), ("SLAPM-MIB", "slapmPRMonControl"), ("SLAPM-MIB", "slapmPRMonCurrentOutRate"), ) ) if mibBuilder.loadTexts: slapmPolicyRuleMonNotOkay.setDescription("This notification is generated when an monitored event\nis not achieved with respect to a threshold. This\napplies only towards monitoring a policy rule\nas an aggregate via an associating\nslapmPolicyRuleStatsEntry. The value\nof slapmPRMonControl can be examined to\ndetermine what is being monitored. The first\nslapmPRMonStatus value supplies the current\nmonitor status while the 2nd value supplies the\nprevious status.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be\nselected in order for this notification to\npotentially be generated.") slapmPolicyRuleMonOkay = NotificationType((1, 3, 6, 1, 3, 88, 0, 8)).setObjects(*(("SLAPM-MIB", "slapmPRMonIntTime"), ("SLAPM-MIB", "slapmPRMonCurrentDelayRate"), ("SLAPM-MIB", "slapmPRMonCurrentInRate"), ("SLAPM-MIB", "slapmPRMonStatus"), ("SLAPM-MIB", "slapmPRMonControl"), ("SLAPM-MIB", "slapmPRMonCurrentOutRate"), ) ) if mibBuilder.loadTexts: slapmPolicyRuleMonOkay.setDescription("This notification is generated when a monitored\nevent has improved to an acceptable level. This\napplies only towards monitoring a policy rule\nas an aggregate via an associating\nslapmPolicyRuleStatsEntry. The value\nof slapmPRMonControl can be examined to\ndetermine what is being monitored. The first\nslapmPRMonStatus value supplies the current\nmonitor status while the 2nd value supplies the\nprevious status.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableAggregateTraps(3), MUST be\nselected in order for this notification to\npotentially be generated.") slapmPolicyRuleDeleted = NotificationType((1, 3, 6, 1, 3, 88, 0, 9)).setObjects(*(("SLAPM-MIB", "slapmPolicyRuleStatsActiveConns"), ("SLAPM-MIB", "slapmPolicyRuleStatsCountDenies"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutDiscards"), ("SLAPM-MIB", "slapmPolicyRuleStatsLActivated"), ("SLAPM-MIB", "slapmPolicyRuleStatsInProOctets"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutProOctets"), ("SLAPM-MIB", "slapmPolicyRuleStatsInPackets"), ("SLAPM-MIB", "slapmPolicyRuleStatsInDiscards"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutOctets"), ("SLAPM-MIB", "slapmPolicyRuleStatsConnLimit"), ("SLAPM-MIB", "slapmPolicyRuleStatsTotalConns"), ("SLAPM-MIB", "slapmPolicyRuleStatsActRsvpFlows"), ("SLAPM-MIB", "slapmPolicyRuleStatsInOctets"), ("SLAPM-MIB", "slapmPolicyRuleStatsTotalRsvpFlows"), ("SLAPM-MIB", "slapmPolicyRuleStatsLastMapping"), ("SLAPM-MIB", "slapmPolicyRuleStatsMaxRate"), ("SLAPM-MIB", "slapmPolicyRuleStatsCountAccepts"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutPackets"), ("SLAPM-MIB", "slapmPolicyRuleStatsMaxDelay"), ("SLAPM-MIB", "slapmPolicyRuleStatsMinRate"), ) ) if mibBuilder.loadTexts: slapmPolicyRuleDeleted.setDescription("A slapmPolicyRuleDeleted notification is sent when a\nslapmPolicyRuleStatsEntry is deleted if the value of\nslapmPolicyTrapEnable is enabled(1).") slapmPolicyRuleMonDeleted = NotificationType((1, 3, 6, 1, 3, 88, 0, 10)).setObjects(*(("SLAPM-MIB", "slapmPRMonInterval"), ("SLAPM-MIB", "slapmPRMonCurrentOutRate"), ("SLAPM-MIB", "slapmPRMonMaxRateHigh"), ("SLAPM-MIB", "slapmPRMonCurrentDelayRate"), ("SLAPM-MIB", "slapmPRMonCurrentInRate"), ("SLAPM-MIB", "slapmPRMonMaxDelayLow"), ("SLAPM-MIB", "slapmPRMonMaxOutRateExceeds"), ("SLAPM-MIB", "slapmPRMonStatus"), ("SLAPM-MIB", "slapmPRMonMaxDelayExceeds"), ("SLAPM-MIB", "slapmPRMonMinRateLow"), ("SLAPM-MIB", "slapmPRMonMaxRateLow"), ("SLAPM-MIB", "slapmPRMonControl"), ("SLAPM-MIB", "slapmPRMonIntTime"), ("SLAPM-MIB", "slapmPRMonMinInRateNotAchieves"), ("SLAPM-MIB", "slapmPRMonMaxDelayHigh"), ("SLAPM-MIB", "slapmPRMonMinRateHigh"), ("SLAPM-MIB", "slapmPRMonMaxInRateExceeds"), ("SLAPM-MIB", "slapmPRMonMinOutRateNotAchieves"), ) ) if mibBuilder.loadTexts: slapmPolicyRuleMonDeleted.setDescription("A slapmPolicyRuleMonDeleted notification is sent when a\nslapmPRMonEntry is deleted if the value of\nslapmPolicyTrapEnable is enabled(1).") slapmSubcMonitorNotOkay = NotificationType((1, 3, 6, 1, 3, 88, 0, 11)).setObjects(*(("SLAPM-MIB", "slapmSubcomponentMonitorIntTime"), ("SLAPM-MIB", "slapmSubcomponentMonitorStatus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmPRMonControl"), ("SLAPM-MIB", "slapmSubcomponentSystemAddress"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripTime"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentInRate"), ("SLAPM-MIB", "slapmSubcomponentPolicyRuleIndex"), ) ) if mibBuilder.loadTexts: slapmSubcMonitorNotOkay.setDescription("This notification is generated when a monitored value\ndoes not achieved a threshold specification. This\napplies only towards monitoring the individual components\nof a policy rule. The value of the\ncorresponding slapmPRMonControl can be examined\nto determine what is being monitored. The first\nslapmSubcomponentMonitorStatus value supplies the current\nmonitor status while the 2nd value supplies the\nprevious status.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableSubcomponentTraps(4), MUST be selected\nin order for this notification to potentially be generated.") slapmSubcMonitorOkay = NotificationType((1, 3, 6, 1, 3, 88, 0, 12)).setObjects(*(("SLAPM-MIB", "slapmSubcomponentMonitorIntTime"), ("SLAPM-MIB", "slapmSubcomponentMonitorStatus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmPRMonControl"), ("SLAPM-MIB", "slapmSubcomponentSystemAddress"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripTime"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentInRate"), ("SLAPM-MIB", "slapmSubcomponentPolicyRuleIndex"), ) ) if mibBuilder.loadTexts: slapmSubcMonitorOkay.setDescription("This notification is generated when a monitored value\nhas reached an acceptable level.\n\nNote: The corresponding slapmPRMonControl\nBITS setting, enableSubcomponentTraps(3), MUST be\nselected in order for this notification to potentially\nbe generated.") # Groups slapmBaseGroup = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 1)).setObjects(*(("SLAPM-MIB", "slapmPolicyMonitorMaxRateLow"), ("SLAPM-MIB", "slapmPolicyCountSuccessAccesses"), ("SLAPM-MIB", "slapmPolicyMonitorMaxDelayHigh"), ("SLAPM-MIB", "slapmPolicyStatsActiveConns"), ("SLAPM-MIB", "slapmPolicyStatsMinRate"), ("SLAPM-MIB", "slapmPolicyStatsMaxDelay"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmPolicyMonitorMinOutRateNotAchieves"), ("SLAPM-MIB", "slapmPolicyCountQueries"), ("SLAPM-MIB", "slapmSpinLock"), ("SLAPM-MIB", "slapmPolicyMonitorStatus"), ("SLAPM-MIB", "slapmPolicyMonitorMinRateLow"), ("SLAPM-MIB", "slapmPolicyMonitorControl"), ("SLAPM-MIB", "slapmPolicyMonitorIntTime"), ("SLAPM-MIB", "slapmPolicyStatsInPackets"), ("SLAPM-MIB", "slapmPolicyStatsConnectionLimit"), ("SLAPM-MIB", "slapmPolicyStatsFirstActivated"), ("SLAPM-MIB", "slapmPolicyCountAccesses"), ("SLAPM-MIB", "slapmPolicyStatsLastMapping"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentDelayRate"), ("SLAPM-MIB", "slapmPolicyMonitorInterval"), ("SLAPM-MIB", "slapmPolicyPurgeTime"), ("SLAPM-MIB", "slapmPolicyStatsInDiscards"), ("SLAPM-MIB", "slapmPolicyStatsCountAccepts"), ("SLAPM-MIB", "slapmPolicyStatsInOctets"), ("SLAPM-MIB", "slapmPolicyStatsOutOctets"), ("SLAPM-MIB", "slapmPolicyStatsOperStatus"), ("SLAPM-MIB", "slapmPolicyMonitorMaxDelayLow"), ("SLAPM-MIB", "slapmPolicyStatsMaxRate"), ("SLAPM-MIB", "slapmPolicyMonitorMaxOutRateExceeds"), ("SLAPM-MIB", "slapmPolicyTrapEnable"), ("SLAPM-MIB", "slapmPolicyStatsTotalConns"), ("SLAPM-MIB", "slapmPolicyStatsOutDiscards"), ("SLAPM-MIB", "slapmPolicyMonitorMaxDelayExceeds"), ("SLAPM-MIB", "slapmPolicyStatsOutPackets"), ("SLAPM-MIB", "slapmPolicyMonitorMinRateHigh"), ("SLAPM-MIB", "slapmPolicyMonitorCurrentInRate"), ("SLAPM-MIB", "slapmPolicyMonitorRowStatus"), ("SLAPM-MIB", "slapmPolicyStatsCountDenies"), ("SLAPM-MIB", "slapmPolicyMonitorMaxInRateExceeds"), ("SLAPM-MIB", "slapmPolicyMonitorMaxRateHigh"), ("SLAPM-MIB", "slapmPolicyMonitorMinInRateNotAchieves"), ("SLAPM-MIB", "slapmPolicyCountNotFounds"), ) ) if mibBuilder.loadTexts: slapmBaseGroup.setDescription("The group of objects defined by this MIB that are\nrequired for all implementations to be compliant.") slapmOptionalGroup = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 2)).setObjects(*(("SLAPM-MIB", "slapmPolicyStatsInProfileOctets"), ("SLAPM-MIB", "slapmPolicyStatsOutProfileOctets"), ) ) if mibBuilder.loadTexts: slapmOptionalGroup.setDescription("The group of objects defined by this MIB that are\noptional.") slapmEndSystemGroup = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 3)).setObjects(*(("SLAPM-MIB", "slapmSubcomponentMonitorStatus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmSubcomponentPolicyName"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripVariance"), ("SLAPM-MIB", "slapmSubcomponentTcpReXmts"), ("SLAPM-MIB", "slapmSubcomponentSystemAddress"), ("SLAPM-MIB", "slapmSubcomponentProtocol"), ("SLAPM-MIB", "slapmSubcomponentOutOctets"), ("SLAPM-MIB", "slapmSubcomponentApplName"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripTime"), ("SLAPM-MIB", "slapmSubcomponentLastActivity"), ("SLAPM-MIB", "slapmSubcomponentTcpOutBufferedOctets"), ("SLAPM-MIB", "slapmSubcomponentInOctets"), ("SLAPM-MIB", "slapmSubcomponentMonitorIntTime"), ("SLAPM-MIB", "slapmSubcomponentTcpInBufferedOctets"), ("SLAPM-MIB", "slapmPolicyTrapFilter"), ("SLAPM-MIB", "slapmSubcomponentOutPdus"), ("SLAPM-MIB", "slapmSubcomponentTrafficProfileName"), ("SLAPM-MIB", "slapmSubcomponentInPdus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentInRate"), ) ) if mibBuilder.loadTexts: slapmEndSystemGroup.setDescription("The group of objects defined by this MIB that are\nrequired for end system implementations.") slapmNotGroup = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 4)).setObjects(*(("SLAPM-MIB", "slapmPolicyProfileDeleted"), ("SLAPM-MIB", "slapmMonitoredEventOkay"), ("SLAPM-MIB", "slapmPolicyMonitorDeleted"), ("SLAPM-MIB", "slapmMonitoredEventNotAchieved"), ) ) if mibBuilder.loadTexts: slapmNotGroup.setDescription("The group of notifications defined by this MIB that MUST\nbe implemented.") slapmEndSystemNotGroup = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 5)).setObjects(*(("SLAPM-MIB", "slapmSubcomponentMonitoredEventNotAchieved"), ("SLAPM-MIB", "slapmSubcomponentMonitoredEventOkay"), ) ) if mibBuilder.loadTexts: slapmEndSystemNotGroup.setDescription("The group of objects defined by this MIB that are\nrequired for end system implementations.") slapmBaseGroup2 = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 6)).setObjects(*(("SLAPM-MIB", "slapmPRMonMinRateHigh"), ("SLAPM-MIB", "slapmPolicyCountSuccessAccesses"), ("SLAPM-MIB", "slapmPRMonCurrentInRate"), ("SLAPM-MIB", "slapmPRMonMaxDelayLow"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutDiscards"), ("SLAPM-MIB", "slapmPRMonMaxDelayExceeds"), ("SLAPM-MIB", "slapmPolicyRuleStatsConnLimit"), ("SLAPM-MIB", "slapmPolicyRuleStatsOperStatus"), ("SLAPM-MIB", "slapmPolicyRuleStatsCountAccepts"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutPackets"), ("SLAPM-MIB", "slapmPRMonRowStatus"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutOctets"), ("SLAPM-MIB", "slapmPolicyCountQueries"), ("SLAPM-MIB", "slapmPolicyRuleStatsInPackets"), ("SLAPM-MIB", "slapmPolicyRuleStatsLActivated"), ("SLAPM-MIB", "slapmSpinLock"), ("SLAPM-MIB", "slapmPRMonMinRateLow"), ("SLAPM-MIB", "slapmPolicyRuleStatsInOctets"), ("SLAPM-MIB", "slapmPRMonCurrentOutRate"), ("SLAPM-MIB", "slapmPRMonMaxDelayHigh"), ("SLAPM-MIB", "slapmPolicyRuleStatsMaxDelay"), ("SLAPM-MIB", "slapmPolicyCountAccesses"), ("SLAPM-MIB", "slapmPRMonMaxInRateExceeds"), ("SLAPM-MIB", "slapmPolicyRuleStatsActiveConns"), ("SLAPM-MIB", "slapmPolicyPurgeTime"), ("SLAPM-MIB", "slapmPolicyRuleStatsInDiscards"), ("SLAPM-MIB", "slapmPolicyRuleStatsCountDenies"), ("SLAPM-MIB", "slapmPolicyRuleStatsOutProOctets"), ("SLAPM-MIB", "slapmPolicyRuleStatsMinRate"), ("SLAPM-MIB", "slapmPolicyRuleStatsTotalRsvpFlows"), ("SLAPM-MIB", "slapmPRMonStatus"), ("SLAPM-MIB", "slapmPRMonCurrentDelayRate"), ("SLAPM-MIB", "slapmPolicyRuleStatsTotalConns"), ("SLAPM-MIB", "slapmPRMonMaxRateLow"), ("SLAPM-MIB", "slapmPolicyTrapEnable"), ("SLAPM-MIB", "slapmPRMonIntTime"), ("SLAPM-MIB", "slapmPolicyRuleStatsLastMapping"), ("SLAPM-MIB", "slapmPolicyRuleStatsMaxRate"), ("SLAPM-MIB", "slapmPolicyNameOfRule"), ("SLAPM-MIB", "slapmPRMonMinInRateNotAchieves"), ("SLAPM-MIB", "slapmPolicyRuleStatsActRsvpFlows"), ("SLAPM-MIB", "slapmPRMonMaxOutRateExceeds"), ("SLAPM-MIB", "slapmPRMonMinOutRateNotAchieves"), ("SLAPM-MIB", "slapmPolicyRuleStatsInProOctets"), ("SLAPM-MIB", "slapmPRMonInterval"), ("SLAPM-MIB", "slapmPRMonMaxRateHigh"), ("SLAPM-MIB", "slapmPRMonControl"), ("SLAPM-MIB", "slapmPolicyCountNotFounds"), ) ) if mibBuilder.loadTexts: slapmBaseGroup2.setDescription("The group of objects defined by this MIB that are\nrequired for all implementations to be compliant.") slapmEndSystemGroup2 = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 7)).setObjects(*(("SLAPM-MIB", "slapmSubcomponentMonitorStatus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentOutRate"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripVariance"), ("SLAPM-MIB", "slapmSubcomponentTcpReXmts"), ("SLAPM-MIB", "slapmSubcomponentSystemAddress"), ("SLAPM-MIB", "slapmSubcomponentProtocol"), ("SLAPM-MIB", "slapmSubcomponentOutOctets"), ("SLAPM-MIB", "slapmSubcomponentApplName"), ("SLAPM-MIB", "slapmSubcomponentTcpRoundTripTime"), ("SLAPM-MIB", "slapmSubcomponentLastActivity"), ("SLAPM-MIB", "slapmSubcomponentTcpOutBufferedOctets"), ("SLAPM-MIB", "slapmSubcomponentInOctets"), ("SLAPM-MIB", "slapmSubcomponentMonitorIntTime"), ("SLAPM-MIB", "slapmSubcomponentTcpInBufferedOctets"), ("SLAPM-MIB", "slapmPolicyTrapFilter"), ("SLAPM-MIB", "slapmSubcomponentOutPdus"), ("SLAPM-MIB", "slapmSubcomponentMonitorCurrentInRate"), ("SLAPM-MIB", "slapmSubcomponentInPdus"), ("SLAPM-MIB", "slapmSubcomponentPolicyRuleIndex"), ) ) if mibBuilder.loadTexts: slapmEndSystemGroup2.setDescription("The group of objects defined by this MIB that are\nrequired for end system implementations.") slapmNotGroup2 = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 8)).setObjects(*(("SLAPM-MIB", "slapmPolicyRuleDeleted"), ("SLAPM-MIB", "slapmPolicyRuleMonOkay"), ("SLAPM-MIB", "slapmPolicyRuleMonNotOkay"), ("SLAPM-MIB", "slapmPolicyRuleMonDeleted"), ) ) if mibBuilder.loadTexts: slapmNotGroup2.setDescription("The group of notifications defined by this MIB that MUST\nbe implemented.") slapmEndSystemNotGroup2 = ObjectGroup((1, 3, 6, 1, 3, 88, 2, 2, 9)).setObjects(*(("SLAPM-MIB", "slapmSubcMonitorNotOkay"), ("SLAPM-MIB", "slapmSubcMonitorOkay"), ) ) if mibBuilder.loadTexts: slapmEndSystemNotGroup2.setDescription("The group of objects defined by this MIB that are\nrequired for end system implementations.") # Compliances slapmCompliance = ModuleCompliance((1, 3, 6, 1, 3, 88, 2, 1, 1)).setObjects(*(("SLAPM-MIB", "slapmEndSystemGroup2"), ("SLAPM-MIB", "slapmEndSystemGroup"), ("SLAPM-MIB", "slapmBaseGroup"), ("SLAPM-MIB", "slapmOptionalGroup"), ("SLAPM-MIB", "slapmNotGroup"), ("SLAPM-MIB", "slapmEndSystemNotGroup2"), ("SLAPM-MIB", "slapmEndSystemNotGroup"), ("SLAPM-MIB", "slapmBaseGroup2"), ("SLAPM-MIB", "slapmNotGroup2"), ) ) if mibBuilder.loadTexts: slapmCompliance.setDescription("The compliance statement for the SLAPM-MIB.") # Exports # Module identity mibBuilder.exportSymbols("SLAPM-MIB", PYSNMP_MODULE_ID=slapmMIB) # Types mibBuilder.exportSymbols("SLAPM-MIB", SlapmPolicyRuleName=SlapmPolicyRuleName, SlapmStatus=SlapmStatus, SlapmNameType=SlapmNameType) # Objects mibBuilder.exportSymbols("SLAPM-MIB", slapmMIB=slapmMIB, slapmNotifications=slapmNotifications, slapmObjects=slapmObjects, slapmBaseObjects=slapmBaseObjects, slapmSpinLock=slapmSpinLock, slapmPolicyCountQueries=slapmPolicyCountQueries, slapmPolicyCountAccesses=slapmPolicyCountAccesses, slapmPolicyCountSuccessAccesses=slapmPolicyCountSuccessAccesses, slapmPolicyCountNotFounds=slapmPolicyCountNotFounds, slapmPolicyPurgeTime=slapmPolicyPurgeTime, slapmPolicyTrapEnable=slapmPolicyTrapEnable, slapmPolicyTrapFilter=slapmPolicyTrapFilter, slapmTableObjects=slapmTableObjects, slapmPolicyStatsTable=slapmPolicyStatsTable, slapmPolicyStatsEntry=slapmPolicyStatsEntry, slapmPolicyStatsSystemAddress=slapmPolicyStatsSystemAddress, slapmPolicyStatsPolicyName=slapmPolicyStatsPolicyName, slapmPolicyStatsTrafficProfileName=slapmPolicyStatsTrafficProfileName, slapmPolicyStatsOperStatus=slapmPolicyStatsOperStatus, slapmPolicyStatsActiveConns=slapmPolicyStatsActiveConns, slapmPolicyStatsTotalConns=slapmPolicyStatsTotalConns, slapmPolicyStatsFirstActivated=slapmPolicyStatsFirstActivated, slapmPolicyStatsLastMapping=slapmPolicyStatsLastMapping, slapmPolicyStatsInOctets=slapmPolicyStatsInOctets, slapmPolicyStatsOutOctets=slapmPolicyStatsOutOctets, slapmPolicyStatsConnectionLimit=slapmPolicyStatsConnectionLimit, slapmPolicyStatsCountAccepts=slapmPolicyStatsCountAccepts, slapmPolicyStatsCountDenies=slapmPolicyStatsCountDenies, slapmPolicyStatsInDiscards=slapmPolicyStatsInDiscards, slapmPolicyStatsOutDiscards=slapmPolicyStatsOutDiscards, slapmPolicyStatsInPackets=slapmPolicyStatsInPackets, slapmPolicyStatsOutPackets=slapmPolicyStatsOutPackets, slapmPolicyStatsInProfileOctets=slapmPolicyStatsInProfileOctets, slapmPolicyStatsOutProfileOctets=slapmPolicyStatsOutProfileOctets, slapmPolicyStatsMinRate=slapmPolicyStatsMinRate, slapmPolicyStatsMaxRate=slapmPolicyStatsMaxRate, slapmPolicyStatsMaxDelay=slapmPolicyStatsMaxDelay, slapmPolicyMonitorTable=slapmPolicyMonitorTable, slapmPolicyMonitorEntry=slapmPolicyMonitorEntry, slapmPolicyMonitorOwnerIndex=slapmPolicyMonitorOwnerIndex, slapmPolicyMonitorSystemAddress=slapmPolicyMonitorSystemAddress, slapmPolicyMonitorPolicyName=slapmPolicyMonitorPolicyName, slapmPolicyMonitorTrafficProfileName=slapmPolicyMonitorTrafficProfileName, slapmPolicyMonitorControl=slapmPolicyMonitorControl, slapmPolicyMonitorStatus=slapmPolicyMonitorStatus, slapmPolicyMonitorInterval=slapmPolicyMonitorInterval, slapmPolicyMonitorIntTime=slapmPolicyMonitorIntTime, slapmPolicyMonitorCurrentInRate=slapmPolicyMonitorCurrentInRate, slapmPolicyMonitorCurrentOutRate=slapmPolicyMonitorCurrentOutRate, slapmPolicyMonitorMinRateLow=slapmPolicyMonitorMinRateLow, slapmPolicyMonitorMinRateHigh=slapmPolicyMonitorMinRateHigh, slapmPolicyMonitorMaxRateHigh=slapmPolicyMonitorMaxRateHigh, slapmPolicyMonitorMaxRateLow=slapmPolicyMonitorMaxRateLow, slapmPolicyMonitorMaxDelayHigh=slapmPolicyMonitorMaxDelayHigh, slapmPolicyMonitorMaxDelayLow=slapmPolicyMonitorMaxDelayLow, slapmPolicyMonitorMinInRateNotAchieves=slapmPolicyMonitorMinInRateNotAchieves, slapmPolicyMonitorMaxInRateExceeds=slapmPolicyMonitorMaxInRateExceeds, slapmPolicyMonitorMaxDelayExceeds=slapmPolicyMonitorMaxDelayExceeds, slapmPolicyMonitorMinOutRateNotAchieves=slapmPolicyMonitorMinOutRateNotAchieves, slapmPolicyMonitorMaxOutRateExceeds=slapmPolicyMonitorMaxOutRateExceeds, slapmPolicyMonitorCurrentDelayRate=slapmPolicyMonitorCurrentDelayRate, slapmPolicyMonitorRowStatus=slapmPolicyMonitorRowStatus, slapmSubcomponentTable=slapmSubcomponentTable, slapmSubcomponentEntry=slapmSubcomponentEntry, slapmSubcomponentRemAddress=slapmSubcomponentRemAddress, slapmSubcomponentRemPort=slapmSubcomponentRemPort, slapmSubcomponentLocalAddress=slapmSubcomponentLocalAddress, slapmSubcomponentLocalPort=slapmSubcomponentLocalPort, slapmSubcomponentProtocol=slapmSubcomponentProtocol, slapmSubcomponentSystemAddress=slapmSubcomponentSystemAddress, slapmSubcomponentPolicyName=slapmSubcomponentPolicyName, slapmSubcomponentTrafficProfileName=slapmSubcomponentTrafficProfileName, slapmSubcomponentLastActivity=slapmSubcomponentLastActivity, slapmSubcomponentInOctets=slapmSubcomponentInOctets, slapmSubcomponentOutOctets=slapmSubcomponentOutOctets, slapmSubcomponentTcpOutBufferedOctets=slapmSubcomponentTcpOutBufferedOctets, slapmSubcomponentTcpInBufferedOctets=slapmSubcomponentTcpInBufferedOctets, slapmSubcomponentTcpReXmts=slapmSubcomponentTcpReXmts, slapmSubcomponentTcpRoundTripTime=slapmSubcomponentTcpRoundTripTime, slapmSubcomponentTcpRoundTripVariance=slapmSubcomponentTcpRoundTripVariance, slapmSubcomponentInPdus=slapmSubcomponentInPdus, slapmSubcomponentOutPdus=slapmSubcomponentOutPdus, slapmSubcomponentApplName=slapmSubcomponentApplName, slapmSubcomponentMonitorStatus=slapmSubcomponentMonitorStatus, slapmSubcomponentMonitorIntTime=slapmSubcomponentMonitorIntTime, slapmSubcomponentMonitorCurrentInRate=slapmSubcomponentMonitorCurrentInRate, slapmSubcomponentMonitorCurrentOutRate=slapmSubcomponentMonitorCurrentOutRate, slapmSubcomponentPolicyRuleIndex=slapmSubcomponentPolicyRuleIndex, slapmPolicyNameTable=slapmPolicyNameTable, slapmPolicyNameEntry=slapmPolicyNameEntry, slapmPolicyNameSystemAddress=slapmPolicyNameSystemAddress, slapmPolicyNameIndex=slapmPolicyNameIndex, slapmPolicyNameOfRule=slapmPolicyNameOfRule, slapmPolicyRuleStatsTable=slapmPolicyRuleStatsTable, slapmPolicyRuleStatsEntry=slapmPolicyRuleStatsEntry, slapmPolicyRuleStatsOperStatus=slapmPolicyRuleStatsOperStatus, slapmPolicyRuleStatsActiveConns=slapmPolicyRuleStatsActiveConns, slapmPolicyRuleStatsTotalConns=slapmPolicyRuleStatsTotalConns, slapmPolicyRuleStatsLActivated=slapmPolicyRuleStatsLActivated, slapmPolicyRuleStatsLastMapping=slapmPolicyRuleStatsLastMapping, slapmPolicyRuleStatsInOctets=slapmPolicyRuleStatsInOctets, slapmPolicyRuleStatsOutOctets=slapmPolicyRuleStatsOutOctets, slapmPolicyRuleStatsConnLimit=slapmPolicyRuleStatsConnLimit, slapmPolicyRuleStatsCountAccepts=slapmPolicyRuleStatsCountAccepts, slapmPolicyRuleStatsCountDenies=slapmPolicyRuleStatsCountDenies, slapmPolicyRuleStatsInDiscards=slapmPolicyRuleStatsInDiscards, slapmPolicyRuleStatsOutDiscards=slapmPolicyRuleStatsOutDiscards, slapmPolicyRuleStatsInPackets=slapmPolicyRuleStatsInPackets, slapmPolicyRuleStatsOutPackets=slapmPolicyRuleStatsOutPackets, slapmPolicyRuleStatsInProOctets=slapmPolicyRuleStatsInProOctets, slapmPolicyRuleStatsOutProOctets=slapmPolicyRuleStatsOutProOctets, slapmPolicyRuleStatsMinRate=slapmPolicyRuleStatsMinRate, slapmPolicyRuleStatsMaxRate=slapmPolicyRuleStatsMaxRate, slapmPolicyRuleStatsMaxDelay=slapmPolicyRuleStatsMaxDelay, slapmPolicyRuleStatsTotalRsvpFlows=slapmPolicyRuleStatsTotalRsvpFlows, slapmPolicyRuleStatsActRsvpFlows=slapmPolicyRuleStatsActRsvpFlows, slapmPRMonTable=slapmPRMonTable, slapmPRMonEntry=slapmPRMonEntry, slapmPRMonOwnerIndex=slapmPRMonOwnerIndex, slapmPRMonSystemAddress=slapmPRMonSystemAddress, slapmPRMonIndex=slapmPRMonIndex, slapmPRMonControl=slapmPRMonControl, slapmPRMonStatus=slapmPRMonStatus, slapmPRMonInterval=slapmPRMonInterval, slapmPRMonIntTime=slapmPRMonIntTime, slapmPRMonCurrentInRate=slapmPRMonCurrentInRate) mibBuilder.exportSymbols("SLAPM-MIB", slapmPRMonCurrentOutRate=slapmPRMonCurrentOutRate, slapmPRMonMinRateLow=slapmPRMonMinRateLow, slapmPRMonMinRateHigh=slapmPRMonMinRateHigh, slapmPRMonMaxRateHigh=slapmPRMonMaxRateHigh, slapmPRMonMaxRateLow=slapmPRMonMaxRateLow, slapmPRMonMaxDelayHigh=slapmPRMonMaxDelayHigh, slapmPRMonMaxDelayLow=slapmPRMonMaxDelayLow, slapmPRMonMinInRateNotAchieves=slapmPRMonMinInRateNotAchieves, slapmPRMonMaxInRateExceeds=slapmPRMonMaxInRateExceeds, slapmPRMonMaxDelayExceeds=slapmPRMonMaxDelayExceeds, slapmPRMonMinOutRateNotAchieves=slapmPRMonMinOutRateNotAchieves, slapmPRMonMaxOutRateExceeds=slapmPRMonMaxOutRateExceeds, slapmPRMonCurrentDelayRate=slapmPRMonCurrentDelayRate, slapmPRMonRowStatus=slapmPRMonRowStatus, slapmConformance=slapmConformance, slapmCompliances=slapmCompliances, slapmGroups=slapmGroups) # Notifications mibBuilder.exportSymbols("SLAPM-MIB", slapmMonitoredEventNotAchieved=slapmMonitoredEventNotAchieved, slapmMonitoredEventOkay=slapmMonitoredEventOkay, slapmPolicyProfileDeleted=slapmPolicyProfileDeleted, slapmPolicyMonitorDeleted=slapmPolicyMonitorDeleted, slapmSubcomponentMonitoredEventNotAchieved=slapmSubcomponentMonitoredEventNotAchieved, slapmSubcomponentMonitoredEventOkay=slapmSubcomponentMonitoredEventOkay, slapmPolicyRuleMonNotOkay=slapmPolicyRuleMonNotOkay, slapmPolicyRuleMonOkay=slapmPolicyRuleMonOkay, slapmPolicyRuleDeleted=slapmPolicyRuleDeleted, slapmPolicyRuleMonDeleted=slapmPolicyRuleMonDeleted, slapmSubcMonitorNotOkay=slapmSubcMonitorNotOkay, slapmSubcMonitorOkay=slapmSubcMonitorOkay) # Groups mibBuilder.exportSymbols("SLAPM-MIB", slapmBaseGroup=slapmBaseGroup, slapmOptionalGroup=slapmOptionalGroup, slapmEndSystemGroup=slapmEndSystemGroup, slapmNotGroup=slapmNotGroup, slapmEndSystemNotGroup=slapmEndSystemNotGroup, slapmBaseGroup2=slapmBaseGroup2, slapmEndSystemGroup2=slapmEndSystemGroup2, slapmNotGroup2=slapmNotGroup2, slapmEndSystemNotGroup2=slapmEndSystemNotGroup2) # Compliances mibBuilder.exportSymbols("SLAPM-MIB", slapmCompliance=slapmCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SONET-MIB.py0000644000014400001440000017261311736645140020332 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SONET-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:40 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( PerfCurrentCount, PerfIntervalCount, ) = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfCurrentCount", "PerfIntervalCount") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( DisplayString, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue") # Objects sonetMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 39)).setRevisions(("2003-08-11 00:00","1998-10-19 00:00","1994-01-03 00:00",)) if mibBuilder.loadTexts: sonetMIB.setOrganization("IETF AToM MIB Working Group") if mibBuilder.loadTexts: sonetMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/atommib-charter.html\n\nMailing Lists:\nGeneral Discussion: atommib@research.telcordia.com\nTo Subscribe: atommib-request@research.telcordia.com\n\nKaj Tesink\nTelcordia Technologies\nTel: (732) 758-5254\nFax: (732) 758-2269\nE-mail: kaj@research.telcordia.com.") if mibBuilder.loadTexts: sonetMIB.setDescription("The MIB module to describe SONET/SDH interface objects.\n\nCopyright (C) The Internet Society (2003). This version\nof this MIB module is part of RFC 3592; see the RFC\nitself for full legal notices.") sonetObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 1)) sonetMedium = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 1, 1)) sonetMediumTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1)) if mibBuilder.loadTexts: sonetMediumTable.setDescription("The SONET/SDH Medium table.") sonetMediumEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetMediumEntry.setDescription("An entry in the SONET/SDH Medium table.") sonetMediumType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("sonet", 1), ("sdh", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetMediumType.setDescription("This variable identifies whether a SONET\nor a SDH signal is used across this interface.") sonetMediumTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 900))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetMediumTimeElapsed.setDescription("The number of seconds, including partial seconds,\nthat have elapsed since the beginning of the current\nmeasurement period. If, for some reason, such as an\nadjustment in the system's time-of-day clock, the\ncurrent interval exceeds the maximum value, the\nagent will return the maximum value.") sonetMediumValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetMediumValidIntervals.setDescription("The number of previous 15-minute intervals\nfor which data was collected.\nA SONET/SDH interface must be capable\nof supporting at least n intervals.\nThe minimum value of n is 4.\nThe default of n is 32.\nThe maximum value of n is 96.\nThe value will be unless the measurement was\n(re-)started within the last (*15) minutes, in which\ncase the value will be the number of complete 15\nminute intervals for which the agent has at least\nsome data. In certain cases (e.g., in the case\nwhere the agent is a proxy) it is possible that some\nintervals are unavailable. In this case, this\ninterval is the maximum interval number for\nwhich data is available. ") sonetMediumLineCoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,4,5,1,)).subtype(namedValues=NamedValues(("sonetMediumOther", 1), ("sonetMediumB3ZS", 2), ("sonetMediumCMI", 3), ("sonetMediumNRZ", 4), ("sonetMediumRZ", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetMediumLineCoding.setDescription("This variable describes the line coding for\nthis interface. The B3ZS and CMI are used for\nelectrical SONET/SDH signals (STS-1 and STS-3).\nThe Non-Return to Zero (NRZ) and the Return\nto Zero are used for optical SONET/SDH signals.") sonetMediumLineType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,1,5,6,3,)).subtype(namedValues=NamedValues(("sonetOther", 1), ("sonetShortSingleMode", 2), ("sonetLongSingleMode", 3), ("sonetMultiMode", 4), ("sonetCoax", 5), ("sonetUTP", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetMediumLineType.setDescription("This variable describes the line type for\nthis interface. The line types are\nShort and Long Range\nSingle Mode fiber or Multi-Mode fiber interfaces,\nand coax and UTP for electrical interfaces. The\nvalue sonetOther should be used when the Line Type is\nnot one of the listed values.") sonetMediumCircuitIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetMediumCircuitIdentifier.setDescription("This variable contains the transmission\nvendor's circuit identifier, for the\npurpose of facilitating troubleshooting.\nNote that the circuit identifier, if available,\nis also represented by ifPhysAddress.") sonetMediumInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetMediumInvalidIntervals.setDescription("The number of intervals in the range from\n0 to sonetMediumValidIntervals for which no\ndata is available. This object will typically\nbe zero except in cases where the data for some\nintervals are not available (e.g., in proxy\nsituations).") sonetMediumLoopbackConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 1, 1, 8), Bits().subtype(namedValues=NamedValues(("sonetNoLoop", 0), ("sonetFacilityLoop", 1), ("sonetTerminalLoop", 2), ("sonetOtherLoop", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetMediumLoopbackConfig.setDescription("The current loopback state of the SONET/SDH interface. The\nvalues mean:\n\n sonetNoLoop\n Not in the loopback state. A device that is not\n capable of performing a loopback on this interface\n shall always return this value.\n\n sonetFacilityLoop\n The received signal at this interface is looped back\n out through the corresponding transmitter in the return\n direction.\n\n sonetTerminalLoop\n The signal that is about to be transmitted is connected\n to the associated incoming receiver.\n\n sonetOtherLoop\n Loopbacks that are not defined here.") sonetSESthresholdSet = MibScalar((1, 3, 6, 1, 2, 1, 10, 39, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,5,4,)).subtype(namedValues=NamedValues(("other", 1), ("bellcore1991", 2), ("ansi1993", 3), ("itu1995", 4), ("ansi1997", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetSESthresholdSet.setDescription("An enumerated integer indicating which\nrecognized set of SES thresholds that\nthe agent uses for determining severely\nerrored seconds and unavailable time.\n\nother(1)\n None of the following.\n\nbellcore1991(2)\n Bellcore TR-NWT-000253, 1991 [TR253], or\n ANSI T1M1.3/93-005R2, 1993 [T1M1.3].\n See also Appendix B.\n\nansi1993(3)\n ANSI T1.231, 1993 [T1.231a], or\n Bellcore GR-253-CORE, Issue 2, 1995 [GR253]\n\nitu1995(4)\n ITU Recommendation G.826, 1995 [G.826]\n\nansi1997(5)\n ANSI T1.231, 1997 [T1.231b]\n\nIf a manager changes the value of this\nobject then the SES statistics collected\nprior to this change must be invalidated.") sonetSection = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 1, 2)) sonetSectionCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 1)) if mibBuilder.loadTexts: sonetSectionCurrentTable.setDescription("The SONET/SDH Section Current table.") sonetSectionCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetSectionCurrentEntry.setDescription("An entry in the SONET/SDH Section Current table.") sonetSectionCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionCurrentStatus.setDescription("This variable indicates the\nstatus of the interface.\nThe sonetSectionCurrentStatus\nis a bit map represented\nas a sum, therefore,\nit can represent multiple defects\nsimultaneously.\nThe sonetSectionNoDefect should be\nset if and only if\nno other flag is set.\n\nThe various bit positions are:\n 1 sonetSectionNoDefect\n 2 sonetSectionLOS\n 4 sonetSectionLOF") sonetSectionCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 1, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionCurrentESs.setDescription("The counter associated with the number of Errored\nSeconds encountered by a SONET/SDH\nSection in the current 15 minute interval.") sonetSectionCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 1, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionCurrentSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH Section in the current 15\nminute interval.") sonetSectionCurrentSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 1, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionCurrentSEFSs.setDescription("The counter associated with the number of\nSeverely Errored Framing Seconds\nencountered by a SONET/SDH Section in the current\n15 minute interval.") sonetSectionCurrentCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 1, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionCurrentCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH Section in the current 15 minute interval.") sonetSectionIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2)) if mibBuilder.loadTexts: sonetSectionIntervalTable.setDescription("The SONET/SDH Section Interval table.") sonetSectionIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SONET-MIB", "sonetSectionIntervalNumber")) if mibBuilder.loadTexts: sonetSectionIntervalEntry.setDescription("An entry in the SONET/SDH Section Interval table.") sonetSectionIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sonetSectionIntervalNumber.setDescription("A number between 1 and 96, which identifies the\ninterval for which the set of statistics is available.\nThe interval identified by 1 is the most recently\ncompleted 15 minute interval,\nand the interval identified\nby N is the interval immediately preceding the\none identified\nby N-1.") sonetSectionIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionIntervalESs.setDescription("The counter associated with the number of\nErrored Seconds encountered\nby a SONET/SDH Section in a\nparticular 15-minute interval\nin the past 24 hours.") sonetSectionIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionIntervalSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH Section in a\nparticular 15-minute interval\nin the past 24 hours.") sonetSectionIntervalSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionIntervalSEFSs.setDescription("The counter associated with the number of\nSeverely Errored Framing Seconds\nencountered by a SONET/SDH Section in a\nparticular 15-minute interval\nin the past 24 hours.") sonetSectionIntervalCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionIntervalCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH Section in a particular 15-minute interval\nin the past 24 hours.") sonetSectionIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 2, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetSectionIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") sonetLine = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 1, 3)) sonetLineCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 1)) if mibBuilder.loadTexts: sonetLineCurrentTable.setDescription("The SONET/SDH Line Current table.") sonetLineCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetLineCurrentEntry.setDescription("An entry in the SONET/SDH Line Current table.") sonetLineCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineCurrentStatus.setDescription("This variable indicates the\nstatus of the interface.\nThe sonetLineCurrentStatus\nis a bit map represented\nas a sum, therefore,\nit can represent multiple defects\nsimultaneously.\nThe sonetLineNoDefect should be\nset if and only if\nno other flag is set.\n\nThe various bit positions are:\n 1 sonetLineNoDefect\n 2 sonetLineAIS\n 4 sonetLineRDI") sonetLineCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 1, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineCurrentESs.setDescription("The counter associated with the number of Errored\nSeconds encountered by a SONET/SDH\nLine in the current 15 minute interval.") sonetLineCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 1, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineCurrentSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH Line in the current 15\nminute\ninterval.") sonetLineCurrentCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 1, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineCurrentCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH Line in the current 15 minute interval.") sonetLineCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 1, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineCurrentUASs.setDescription("The counter associated with the number of\nUnavailable Seconds\nencountered by a SONET/SDH Line in the current 15\nminute\ninterval.") sonetLineIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2)) if mibBuilder.loadTexts: sonetLineIntervalTable.setDescription("The SONET/SDH Line Interval table.") sonetLineIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SONET-MIB", "sonetLineIntervalNumber")) if mibBuilder.loadTexts: sonetLineIntervalEntry.setDescription("An entry in the SONET/SDH Line Interval table.") sonetLineIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sonetLineIntervalNumber.setDescription("A number between 1 and 96, which identifies the\ninterval for which the set of statistics is available.\nThe interval identified by 1 is the most recently\ncompleted 15 minute interval,\nand the interval identified\nby N is the interval immediately preceding the\none identified\nby N-1.") sonetLineIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineIntervalESs.setDescription("The counter associated with the number of\nErrored Seconds encountered\nby a SONET/SDH Line in a\nparticular 15-minute interval\nin the past 24 hours.") sonetLineIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineIntervalSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH Line in a\nparticular 15-minute interval\nin the past 24 hours.") sonetLineIntervalCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineIntervalCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH Line in a\nparticular 15-minute interval\nin the past 24 hours.") sonetLineIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineIntervalUASs.setDescription("The counter associated with the\nnumber of Unavailable Seconds\nencountered by a SONET/SDH Line in\na particular 15-minute interval\nin the past 24 hours.") sonetLineIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 3, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetLineIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") sonetFarEndLine = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 1, 4)) sonetFarEndLineCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 1)) if mibBuilder.loadTexts: sonetFarEndLineCurrentTable.setDescription("The SONET/SDH Far End Line Current table.") sonetFarEndLineCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetFarEndLineCurrentEntry.setDescription("An entry in the SONET/SDH Far End Line Current table.") sonetFarEndLineCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 1, 1, 1), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineCurrentESs.setDescription("The counter associated with the number of Far\nEnd Errored Seconds encountered by a SONET/SDH\ninterface in the current 15 minute interval.") sonetFarEndLineCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 1, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineCurrentSESs.setDescription("The counter associated with the number of\nFar End Severely Errored Seconds\n\n\n\nencountered by a SONET/SDH Medium/Section/Line\ninterface in the current 15 minute\ninterval.") sonetFarEndLineCurrentCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 1, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineCurrentCVs.setDescription("The counter associated with the number of\nFar End Coding Violations reported via\nthe far end block error count\nencountered by a\nSONET/SDH Medium/Section/Line\ninterface in the current 15 minute interval.") sonetFarEndLineCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 1, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineCurrentUASs.setDescription("The counter associated with the number of\nFar End Unavailable Seconds\nencountered by a\nSONET/SDH Medium/Section/Line\ninterface in the current 15 minute interval.") sonetFarEndLineIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2)) if mibBuilder.loadTexts: sonetFarEndLineIntervalTable.setDescription("The SONET/SDH Far End Line Interval table.") sonetFarEndLineIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SONET-MIB", "sonetFarEndLineIntervalNumber")) if mibBuilder.loadTexts: sonetFarEndLineIntervalEntry.setDescription("An entry in the SONET/SDH Far\nEnd Line Interval table.") sonetFarEndLineIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sonetFarEndLineIntervalNumber.setDescription("A number between 1 and 96, which identifies the\ninterval for which the set of statistics is available.\nThe interval identified by 1 is the most recently\ncompleted 15 minute interval,\nand the interval identified\nby N is the interval immediately preceding the\none identified\nby N-1.") sonetFarEndLineIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineIntervalESs.setDescription("The counter associated with the number of\nFar End Errored Seconds encountered\nby a SONET/SDH Line\ninterface in a particular 15-minute interval\nin the past 24 hours.") sonetFarEndLineIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineIntervalSESs.setDescription("The counter associated with the number of\nFar End Severely Errored Seconds\nencountered by a SONET/SDH Line\ninterface in a particular 15-minute interval\nin the past 24 hours.") sonetFarEndLineIntervalCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineIntervalCVs.setDescription("The counter associated with the number of\nFar End Coding Violations reported via\nthe far end block error count\nencountered by a\nSONET/SDH Line\ninterface in a particular 15-minute interval\nin the past 24 hours.") sonetFarEndLineIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineIntervalUASs.setDescription("The counter associated with the number of\nFar End Unavailable Seconds\nencountered by a\nSONET/SDH Line\ninterface in a particular 15-minute interval\nin the past 24 hours.") sonetFarEndLineIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 1, 4, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndLineIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") sonetObjectsPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 2)) sonetPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 2, 1)) sonetPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1)) if mibBuilder.loadTexts: sonetPathCurrentTable.setDescription("The SONET/SDH Path Current table.") sonetPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetPathCurrentEntry.setDescription("An entry in the SONET/SDH Path Current table.") sonetPathCurrentWidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,5,7,2,1,6,4,)).subtype(namedValues=NamedValues(("sts1", 1), ("sts3cSTM1", 2), ("sts12cSTM4", 3), ("sts24c", 4), ("sts48cSTM16", 5), ("sts192cSTM64", 6), ("sts768cSTM256", 7), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetPathCurrentWidth.setDescription("A value that indicates the type of the SONET/SDH\nPath. For SONET, the assigned types are\nthe STS-Nc SPEs, where N = 1, 3, 12, 24, 48, 192 and 768.\nSTS-1 is equal to 51.84 Mbps. For SDH, the assigned\ntypes are the STM-Nc VCs, where N = 1, 4, 16, 64 and 256.") sonetPathCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 62))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathCurrentStatus.setDescription("This variable indicates the\nstatus of the interface.\nThe sonetPathCurrentStatus\nis a bit map represented\nas a sum, therefore,\nit can represent multiple defects\nsimultaneously.\nThe sonetPathNoDefect should be\nset if and only if\nno other flag is set.\n\nThe various bit positions are:\n 1 sonetPathNoDefect\n 2 sonetPathSTSLOP\n 4 sonetPathSTSAIS\n 8 sonetPathSTSRDI\n 16 sonetPathUnequipped\n 32 sonetPathSignalLabelMismatch") sonetPathCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathCurrentESs.setDescription("The counter associated with the number of Errored\nSeconds encountered by a SONET/SDH\nPath in the current 15 minute interval.") sonetPathCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathCurrentSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH Path in the current 15\nminute\ninterval.") sonetPathCurrentCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathCurrentCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH Path in the current 15 minute interval.") sonetPathCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 1, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathCurrentUASs.setDescription("The counter associated with the number of\nUnavailable Seconds\nencountered by a Path in the current\n15 minute interval.") sonetPathIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2)) if mibBuilder.loadTexts: sonetPathIntervalTable.setDescription("The SONET/SDH Path Interval table.") sonetPathIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SONET-MIB", "sonetPathIntervalNumber")) if mibBuilder.loadTexts: sonetPathIntervalEntry.setDescription("An entry in the SONET/SDH Path Interval table.") sonetPathIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sonetPathIntervalNumber.setDescription("A number between 1 and 96, which identifies the\ninterval for which the set of statistics is available.\nThe interval identified by 1 is the most recently\ncompleted 15 minute interval,\nand the interval identified\nby N is the interval immediately preceding the\none identified\nby N-1.") sonetPathIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathIntervalESs.setDescription("The counter associated with the number of\nErrored Seconds encountered\nby a SONET/SDH Path in a\nparticular 15-minute interval\nin the past 24 hours.") sonetPathIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathIntervalSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH Path in\na particular 15-minute interval\nin the past 24 hours.") sonetPathIntervalCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathIntervalCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH Path in a particular 15-minute interval\nin the past 24 hours.") sonetPathIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathIntervalUASs.setDescription("The counter associated with the number of\nUnavailable Seconds\nencountered by a Path in a\nparticular 15-minute interval\nin the past 24 hours.") sonetPathIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 1, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetPathIntervalValidData.setDescription("This variable indicates if the data for this\n\n\n\ninterval is valid.") sonetFarEndPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 2, 2)) sonetFarEndPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 1)) if mibBuilder.loadTexts: sonetFarEndPathCurrentTable.setDescription("The SONET/SDH Far End Path Current table.") sonetFarEndPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetFarEndPathCurrentEntry.setDescription("An entry in the SONET/SDH Far End Path Current table.") sonetFarEndPathCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 1, 1, 1), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathCurrentESs.setDescription("The counter associated with the number of Far\nEnd Errored Seconds encountered by a SONET/SDH\ninterface in the current 15 minute interval.") sonetFarEndPathCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 1, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathCurrentSESs.setDescription("The counter associated with the number of\nFar End Severely Errored Seconds\nencountered by a SONET/SDH Path\ninterface in the current 15 minute\ninterval.") sonetFarEndPathCurrentCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 1, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathCurrentCVs.setDescription("The counter associated with the number of\nFar End Coding Violations reported via\nthe far end block error count\nencountered by a\nSONET/SDH Path interface in\nthe current 15 minute interval.") sonetFarEndPathCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 1, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathCurrentUASs.setDescription("The counter associated with the number of\nFar End Unavailable Seconds\nencountered by a\nSONET/SDH Path interface in\nthe current 15 minute interval.") sonetFarEndPathIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2)) if mibBuilder.loadTexts: sonetFarEndPathIntervalTable.setDescription("The SONET/SDH Far End Path Interval table.") sonetFarEndPathIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SONET-MIB", "sonetFarEndPathIntervalNumber")) if mibBuilder.loadTexts: sonetFarEndPathIntervalEntry.setDescription("An entry in the SONET/SDH Far\nEnd Path Interval table.") sonetFarEndPathIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sonetFarEndPathIntervalNumber.setDescription("A number between 1 and 96, which identifies the\ninterval for which the set of statistics is available.\n\n\n\nThe interval identified by 1 is the most recently\ncompleted 15 minute interval,\nand the interval identified\nby N is the interval immediately preceding the\none identified\nby N-1.") sonetFarEndPathIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathIntervalESs.setDescription("The counter associated with the number of\nFar End Errored Seconds encountered\nby a SONET/SDH Path interface in a\nparticular 15-minute interval\nin the past 24 hours.") sonetFarEndPathIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathIntervalSESs.setDescription("The counter associated with the number of\nFar End Severely Errored Seconds\nencountered by a SONET/SDH Path interface\nin a particular 15-minute interval\nin the past 24 hours.") sonetFarEndPathIntervalCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathIntervalCVs.setDescription("The counter associated with the number of\nFar End Coding Violations reported via\nthe far end block error count\nencountered by a\nSONET/SDH Path interface\nin a particular 15-minute interval\nin the past 24 hours.") sonetFarEndPathIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathIntervalUASs.setDescription("The counter associated with the number of\nFar End Unavailable Seconds\nencountered by a\nSONET/SDH Path interface in\na particular 15-minute interval\nin the past 24 hours.") sonetFarEndPathIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 2, 2, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndPathIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") sonetObjectsVT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 3)) sonetVT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 3, 1)) sonetVTCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1)) if mibBuilder.loadTexts: sonetVTCurrentTable.setDescription("The SONET/SDH VT Current table.") sonetVTCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetVTCurrentEntry.setDescription("An entry in the SONET/SDH VT Current table.") sonetVTCurrentWidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(5,2,1,4,3,)).subtype(namedValues=NamedValues(("vtWidth15VC11", 1), ("vtWidth2VC12", 2), ("vtWidth3", 3), ("vtWidth6VC2", 4), ("vtWidth6c", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sonetVTCurrentWidth.setDescription("A value that indicates the type of the SONET\nVT and SDH VC. Assigned widths are\nVT1.5/VC11, VT2/VC12, VT3, VT6/VC2, and VT6c.") sonetVTCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 126))).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTCurrentStatus.setDescription("This variable indicates the\nstatus of the interface.\nThe sonetVTCurrentStatus\nis a bit map represented\nas a sum, therefore,\nit can represent multiple defects\nand failures\nsimultaneously.\nThe sonetVTNoDefect should be\nset if and only if\nno other flag is set.\n\nThe various bit positions are:\n 1 sonetVTNoDefect\n 2 sonetVTLOP\n 4 sonetVTPathAIS\n 8 sonetVTPathRDI\n 16 sonetVTPathRFI\n 32 sonetVTUnequipped\n 64 sonetVTSignalLabelMismatch") sonetVTCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTCurrentESs.setDescription("The counter associated with the number of Errored\nSeconds encountered by a SONET/SDH\nVT in the current 15 minute interval.") sonetVTCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTCurrentSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH VT in the current 15 minute\ninterval.") sonetVTCurrentCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTCurrentCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH VT in the current 15 minute interval.") sonetVTCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 1, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTCurrentUASs.setDescription("The counter associated with the number of\nUnavailable Seconds\nencountered by a VT in the current\n15 minute interval.") sonetVTIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2)) if mibBuilder.loadTexts: sonetVTIntervalTable.setDescription("The SONET/SDH VT Interval table.") sonetVTIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SONET-MIB", "sonetVTIntervalNumber")) if mibBuilder.loadTexts: sonetVTIntervalEntry.setDescription("An entry in the SONET/SDH VT Interval table.") sonetVTIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sonetVTIntervalNumber.setDescription("A number between 1 and 96, which identifies the\ninterval for which the set of statistics is available.\nThe interval identified by 1 is the most recently\ncompleted 15 minute interval,\nand the interval identified\nby N is the interval immediately preceding the\none identified\nby N-1.") sonetVTIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTIntervalESs.setDescription("The counter associated with the number of\nErrored Seconds encountered\nby a SONET/SDH VT in a particular 15-minute interval\nin the past 24 hours.") sonetVTIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTIntervalSESs.setDescription("The counter associated with the number of\nSeverely Errored Seconds\nencountered by a SONET/SDH VT\nin a particular 15-minute interval\n\n\n\nin the past 24 hours.") sonetVTIntervalCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTIntervalCVs.setDescription("The counter associated with the number of Coding\nViolations encountered by a\nSONET/SDH VT in a particular 15-minute interval\nin the past 24 hours.") sonetVTIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTIntervalUASs.setDescription("The counter associated with the number of\nUnavailable Seconds\nencountered by a VT in a particular 15-minute interval\nin the past 24 hours.") sonetVTIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 1, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetVTIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") sonetFarEndVT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 3, 2)) sonetFarEndVTCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 1)) if mibBuilder.loadTexts: sonetFarEndVTCurrentTable.setDescription("The SONET/SDH Far End VT Current table.") sonetFarEndVTCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sonetFarEndVTCurrentEntry.setDescription("An entry in the SONET/SDH Far End VT Current table.") sonetFarEndVTCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 1, 1, 1), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTCurrentESs.setDescription("The counter associated with the number of Far\nEnd Errored Seconds encountered by a SONET/SDH\ninterface in the current 15 minute interval.") sonetFarEndVTCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 1, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTCurrentSESs.setDescription("The counter associated with the number of\nFar End Severely Errored Seconds\nencountered by a SONET/SDH VT interface\nin the current 15 minute\ninterval.") sonetFarEndVTCurrentCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 1, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTCurrentCVs.setDescription("The counter associated with the number of\nFar End Coding Violations reported via\nthe far end block error count\nencountered by a\nSONET/SDH VT interface\nin the current 15 minute interval.") sonetFarEndVTCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 1, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTCurrentUASs.setDescription("The counter associated with the number of\nFar End Unavailable Seconds\nencountered by a\nSONET/SDH VT interface\nin the current 15 minute interval.") sonetFarEndVTIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2)) if mibBuilder.loadTexts: sonetFarEndVTIntervalTable.setDescription("The SONET/SDH Far End VT Interval table.") sonetFarEndVTIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SONET-MIB", "sonetFarEndVTIntervalNumber")) if mibBuilder.loadTexts: sonetFarEndVTIntervalEntry.setDescription("An entry in the SONET/SDH Far\nEnd VT Interval table.") sonetFarEndVTIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sonetFarEndVTIntervalNumber.setDescription("A number between 1 and 96, which identifies the\ninterval for which the set of statistics is available.\nThe interval identified by 1 is the most recently\ncompleted 15 minute interval,\nand the interval identified\nby N is the interval immediately preceding the\none identified\nby N-1.") sonetFarEndVTIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTIntervalESs.setDescription("The counter associated with the number of\nFar End Errored Seconds encountered\nby a SONET/SDH VT interface\nin a particular 15-minute interval\nin the past 24 hours.") sonetFarEndVTIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTIntervalSESs.setDescription("The counter associated with the number of\nFar End Severely Errored Seconds\nencountered by a SONET/SDH VT interface\nin a particular 15-minute interval\nin the past 24 hours.") sonetFarEndVTIntervalCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTIntervalCVs.setDescription("The counter associated with the number of\nFar End Coding Violations reported via\nthe far end block error count\nencountered by a\nSONET/SDH VT interface in a\nparticular 15-minute interval\nin the past 24 hours.") sonetFarEndVTIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTIntervalUASs.setDescription("The counter associated with the number of\nFar End Unavailable Seconds\nencountered by a\nSONET/SDH VT interface in a\nparticular 15-minute interval\nin the past 24 hours.") sonetFarEndVTIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 39, 3, 2, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sonetFarEndVTIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") sonetConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 4)) sonetGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 4, 1)) sonetCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 39, 4, 2)) # Augmentions # Groups sonetMediumStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 1)).setObjects(*(("SONET-MIB", "sonetMediumTimeElapsed"), ("SONET-MIB", "sonetMediumValidIntervals"), ("SONET-MIB", "sonetMediumCircuitIdentifier"), ("SONET-MIB", "sonetMediumLineCoding"), ("SONET-MIB", "sonetMediumType"), ("SONET-MIB", "sonetMediumLineType"), ) ) if mibBuilder.loadTexts: sonetMediumStuff.setDescription("A collection of objects providing configuration\ninformation applicable to all SONET/SDH interfaces.") sonetSectionStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 2)).setObjects(*(("SONET-MIB", "sonetSectionCurrentStatus"), ("SONET-MIB", "sonetSectionCurrentESs"), ("SONET-MIB", "sonetSectionCurrentSESs"), ("SONET-MIB", "sonetSectionIntervalCVs"), ("SONET-MIB", "sonetSectionIntervalESs"), ("SONET-MIB", "sonetSectionIntervalSESs"), ("SONET-MIB", "sonetSectionCurrentSEFSs"), ("SONET-MIB", "sonetSectionIntervalSEFSs"), ("SONET-MIB", "sonetSectionCurrentCVs"), ) ) if mibBuilder.loadTexts: sonetSectionStuff.setDescription("A collection of objects providing information\n\n\n\nspecific to SONET/SDH Section interfaces.") sonetLineStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 3)).setObjects(*(("SONET-MIB", "sonetLineIntervalSESs"), ("SONET-MIB", "sonetLineIntervalCVs"), ("SONET-MIB", "sonetLineCurrentUASs"), ("SONET-MIB", "sonetLineCurrentCVs"), ("SONET-MIB", "sonetLineIntervalUASs"), ("SONET-MIB", "sonetLineCurrentStatus"), ("SONET-MIB", "sonetLineIntervalESs"), ("SONET-MIB", "sonetLineCurrentSESs"), ("SONET-MIB", "sonetLineCurrentESs"), ) ) if mibBuilder.loadTexts: sonetLineStuff.setDescription("A collection of objects providing information\nspecific to SONET/SDH Line interfaces.") sonetFarEndLineStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 4)).setObjects(*(("SONET-MIB", "sonetFarEndLineCurrentUASs"), ("SONET-MIB", "sonetFarEndLineIntervalESs"), ("SONET-MIB", "sonetFarEndLineCurrentSESs"), ("SONET-MIB", "sonetFarEndLineIntervalSESs"), ("SONET-MIB", "sonetFarEndLineIntervalCVs"), ("SONET-MIB", "sonetFarEndLineCurrentCVs"), ("SONET-MIB", "sonetFarEndLineCurrentESs"), ("SONET-MIB", "sonetFarEndLineIntervalUASs"), ) ) if mibBuilder.loadTexts: sonetFarEndLineStuff.setDescription("A collection of objects providing information\nspecific to SONET/SDH Line interfaces,\nand maintaining Line Far End information.") sonetPathStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 5)).setObjects(*(("SONET-MIB", "sonetPathIntervalSESs"), ("SONET-MIB", "sonetPathIntervalESs"), ("SONET-MIB", "sonetPathCurrentStatus"), ("SONET-MIB", "sonetPathCurrentCVs"), ("SONET-MIB", "sonetPathCurrentESs"), ("SONET-MIB", "sonetPathIntervalUASs"), ("SONET-MIB", "sonetPathCurrentSESs"), ("SONET-MIB", "sonetPathCurrentUASs"), ("SONET-MIB", "sonetPathCurrentWidth"), ("SONET-MIB", "sonetPathIntervalCVs"), ) ) if mibBuilder.loadTexts: sonetPathStuff.setDescription("A collection of objects providing information\nspecific to SONET/SDH Path interfaces.") sonetFarEndPathStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 6)).setObjects(*(("SONET-MIB", "sonetFarEndPathIntervalUASs"), ("SONET-MIB", "sonetFarEndPathCurrentCVs"), ("SONET-MIB", "sonetFarEndPathIntervalESs"), ("SONET-MIB", "sonetFarEndPathCurrentSESs"), ("SONET-MIB", "sonetFarEndPathIntervalSESs"), ("SONET-MIB", "sonetFarEndPathCurrentUASs"), ("SONET-MIB", "sonetFarEndPathIntervalCVs"), ("SONET-MIB", "sonetFarEndPathCurrentESs"), ) ) if mibBuilder.loadTexts: sonetFarEndPathStuff.setDescription("A collection of objects providing information\nspecific to SONET/SDH Path interfaces,\nand maintaining Path Far End information.") sonetVTStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 7)).setObjects(*(("SONET-MIB", "sonetVTIntervalUASs"), ("SONET-MIB", "sonetVTCurrentUASs"), ("SONET-MIB", "sonetVTCurrentCVs"), ("SONET-MIB", "sonetVTIntervalSESs"), ("SONET-MIB", "sonetVTCurrentStatus"), ("SONET-MIB", "sonetVTIntervalESs"), ("SONET-MIB", "sonetVTCurrentSESs"), ("SONET-MIB", "sonetVTIntervalCVs"), ("SONET-MIB", "sonetVTCurrentESs"), ("SONET-MIB", "sonetVTCurrentWidth"), ) ) if mibBuilder.loadTexts: sonetVTStuff.setDescription("A collection of objects providing information\nspecific to SONET/SDH VT interfaces.") sonetFarEndVTStuff = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 8)).setObjects(*(("SONET-MIB", "sonetFarEndVTIntervalCVs"), ("SONET-MIB", "sonetFarEndVTIntervalSESs"), ("SONET-MIB", "sonetFarEndVTIntervalUASs"), ("SONET-MIB", "sonetFarEndVTCurrentESs"), ("SONET-MIB", "sonetFarEndVTIntervalESs"), ("SONET-MIB", "sonetFarEndVTCurrentSESs"), ("SONET-MIB", "sonetFarEndVTCurrentUASs"), ("SONET-MIB", "sonetFarEndVTCurrentCVs"), ) ) if mibBuilder.loadTexts: sonetFarEndVTStuff.setDescription("A collection of objects providing information\nspecific to SONET/SDH VT interfaces,\nand maintaining VT Far End information.") sonetMediumStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 9)).setObjects(*(("SONET-MIB", "sonetMediumInvalidIntervals"), ("SONET-MIB", "sonetMediumTimeElapsed"), ("SONET-MIB", "sonetMediumLineCoding"), ("SONET-MIB", "sonetMediumCircuitIdentifier"), ("SONET-MIB", "sonetMediumValidIntervals"), ("SONET-MIB", "sonetSESthresholdSet"), ("SONET-MIB", "sonetMediumType"), ("SONET-MIB", "sonetMediumLoopbackConfig"), ("SONET-MIB", "sonetMediumLineType"), ) ) if mibBuilder.loadTexts: sonetMediumStuff2.setDescription("A collection of objects providing configuration\ninformation applicable to all SONET/SDH interfaces.") sonetSectionStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 10)).setObjects(*(("SONET-MIB", "sonetSectionCurrentStatus"), ("SONET-MIB", "sonetSectionCurrentESs"), ("SONET-MIB", "sonetSectionCurrentSESs"), ("SONET-MIB", "sonetSectionIntervalCVs"), ("SONET-MIB", "sonetSectionIntervalESs"), ("SONET-MIB", "sonetSectionIntervalSESs"), ("SONET-MIB", "sonetSectionCurrentSEFSs"), ("SONET-MIB", "sonetSectionIntervalSEFSs"), ("SONET-MIB", "sonetSectionCurrentCVs"), ("SONET-MIB", "sonetSectionIntervalValidData"), ) ) if mibBuilder.loadTexts: sonetSectionStuff2.setDescription("A collection of objects providing information\nspecific to SONET/SDH Section interfaces.") sonetLineStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 11)).setObjects(*(("SONET-MIB", "sonetLineIntervalSESs"), ("SONET-MIB", "sonetLineIntervalCVs"), ("SONET-MIB", "sonetLineCurrentUASs"), ("SONET-MIB", "sonetLineCurrentCVs"), ("SONET-MIB", "sonetLineIntervalUASs"), ("SONET-MIB", "sonetLineCurrentStatus"), ("SONET-MIB", "sonetLineIntervalESs"), ("SONET-MIB", "sonetLineCurrentSESs"), ("SONET-MIB", "sonetLineCurrentESs"), ("SONET-MIB", "sonetLineIntervalValidData"), ) ) if mibBuilder.loadTexts: sonetLineStuff2.setDescription("A collection of objects providing information\nspecific to SONET/SDH Line interfaces.") sonetPathStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 12)).setObjects(*(("SONET-MIB", "sonetPathIntervalSESs"), ("SONET-MIB", "sonetPathCurrentStatus"), ("SONET-MIB", "sonetPathCurrentSESs"), ("SONET-MIB", "sonetPathCurrentUASs"), ("SONET-MIB", "sonetPathCurrentWidth"), ("SONET-MIB", "sonetPathIntervalESs"), ("SONET-MIB", "sonetPathIntervalCVs"), ("SONET-MIB", "sonetPathCurrentCVs"), ("SONET-MIB", "sonetPathIntervalValidData"), ("SONET-MIB", "sonetPathIntervalUASs"), ("SONET-MIB", "sonetPathCurrentESs"), ) ) if mibBuilder.loadTexts: sonetPathStuff2.setDescription("A collection of objects providing information\nspecific to SONET/SDH Path interfaces.") sonetVTStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 13)).setObjects(*(("SONET-MIB", "sonetVTCurrentCVs"), ("SONET-MIB", "sonetVTIntervalValidData"), ("SONET-MIB", "sonetVTIntervalCVs"), ("SONET-MIB", "sonetVTIntervalESs"), ("SONET-MIB", "sonetVTCurrentUASs"), ("SONET-MIB", "sonetVTCurrentStatus"), ("SONET-MIB", "sonetVTCurrentSESs"), ("SONET-MIB", "sonetVTCurrentWidth"), ("SONET-MIB", "sonetVTIntervalUASs"), ("SONET-MIB", "sonetVTIntervalSESs"), ("SONET-MIB", "sonetVTCurrentESs"), ) ) if mibBuilder.loadTexts: sonetVTStuff2.setDescription("A collection of objects providing information\nspecific to SONET/SDH VT interfaces.") sonetFarEndLineStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 14)).setObjects(*(("SONET-MIB", "sonetFarEndLineCurrentUASs"), ("SONET-MIB", "sonetFarEndLineIntervalESs"), ("SONET-MIB", "sonetFarEndLineCurrentSESs"), ("SONET-MIB", "sonetFarEndLineIntervalSESs"), ("SONET-MIB", "sonetFarEndLineIntervalCVs"), ("SONET-MIB", "sonetFarEndLineCurrentCVs"), ("SONET-MIB", "sonetFarEndLineIntervalValidData"), ("SONET-MIB", "sonetFarEndLineCurrentESs"), ("SONET-MIB", "sonetFarEndLineIntervalUASs"), ) ) if mibBuilder.loadTexts: sonetFarEndLineStuff2.setDescription("A collection of objects providing information\nspecific to SONET/SDH Line interfaces,\nand maintaining Line Far End information.") sonetFarEndPathStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 15)).setObjects(*(("SONET-MIB", "sonetFarEndPathIntervalUASs"), ("SONET-MIB", "sonetFarEndPathCurrentCVs"), ("SONET-MIB", "sonetFarEndPathIntervalValidData"), ("SONET-MIB", "sonetFarEndPathIntervalESs"), ("SONET-MIB", "sonetFarEndPathCurrentSESs"), ("SONET-MIB", "sonetFarEndPathIntervalSESs"), ("SONET-MIB", "sonetFarEndPathCurrentUASs"), ("SONET-MIB", "sonetFarEndPathIntervalCVs"), ("SONET-MIB", "sonetFarEndPathCurrentESs"), ) ) if mibBuilder.loadTexts: sonetFarEndPathStuff2.setDescription("A collection of objects providing information\nspecific to SONET/SDH Path interfaces,\nand maintaining Path Far End information.") sonetFarEndVTStuff2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 39, 4, 1, 16)).setObjects(*(("SONET-MIB", "sonetFarEndVTIntervalCVs"), ("SONET-MIB", "sonetFarEndVTIntervalSESs"), ("SONET-MIB", "sonetFarEndVTIntervalUASs"), ("SONET-MIB", "sonetFarEndVTIntervalValidData"), ("SONET-MIB", "sonetFarEndVTCurrentESs"), ("SONET-MIB", "sonetFarEndVTIntervalESs"), ("SONET-MIB", "sonetFarEndVTCurrentSESs"), ("SONET-MIB", "sonetFarEndVTCurrentUASs"), ("SONET-MIB", "sonetFarEndVTCurrentCVs"), ) ) if mibBuilder.loadTexts: sonetFarEndVTStuff2.setDescription("A collection of objects providing information\nspecific to SONET/SDH VT interfaces,\nand maintaining VT Far End information.") # Compliances sonetCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 39, 4, 2, 1)).setObjects(*(("SONET-MIB", "sonetFarEndVTStuff"), ("SONET-MIB", "sonetSectionStuff"), ("SONET-MIB", "sonetFarEndPathStuff"), ("SONET-MIB", "sonetPathStuff"), ("SONET-MIB", "sonetMediumStuff"), ("SONET-MIB", "sonetVTStuff"), ("SONET-MIB", "sonetLineStuff"), ("SONET-MIB", "sonetFarEndLineStuff"), ) ) if mibBuilder.loadTexts: sonetCompliance.setDescription("The compliance statement for SONET/SDH interfaces.") sonetCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 39, 4, 2, 2)).setObjects(*(("SONET-MIB", "sonetVTStuff2"), ("SONET-MIB", "sonetFarEndPathStuff2"), ("SONET-MIB", "sonetLineStuff2"), ("SONET-MIB", "sonetFarEndLineStuff2"), ("SONET-MIB", "sonetSectionStuff2"), ("SONET-MIB", "sonetFarEndVTStuff2"), ("SONET-MIB", "sonetMediumStuff2"), ("SONET-MIB", "sonetPathStuff2"), ) ) if mibBuilder.loadTexts: sonetCompliance2.setDescription("The compliance statement for SONET/SDH interfaces.") # Exports # Module identity mibBuilder.exportSymbols("SONET-MIB", PYSNMP_MODULE_ID=sonetMIB) # Objects mibBuilder.exportSymbols("SONET-MIB", sonetMIB=sonetMIB, sonetObjects=sonetObjects, sonetMedium=sonetMedium, sonetMediumTable=sonetMediumTable, sonetMediumEntry=sonetMediumEntry, sonetMediumType=sonetMediumType, sonetMediumTimeElapsed=sonetMediumTimeElapsed, sonetMediumValidIntervals=sonetMediumValidIntervals, sonetMediumLineCoding=sonetMediumLineCoding, sonetMediumLineType=sonetMediumLineType, sonetMediumCircuitIdentifier=sonetMediumCircuitIdentifier, sonetMediumInvalidIntervals=sonetMediumInvalidIntervals, sonetMediumLoopbackConfig=sonetMediumLoopbackConfig, sonetSESthresholdSet=sonetSESthresholdSet, sonetSection=sonetSection, sonetSectionCurrentTable=sonetSectionCurrentTable, sonetSectionCurrentEntry=sonetSectionCurrentEntry, sonetSectionCurrentStatus=sonetSectionCurrentStatus, sonetSectionCurrentESs=sonetSectionCurrentESs, sonetSectionCurrentSESs=sonetSectionCurrentSESs, sonetSectionCurrentSEFSs=sonetSectionCurrentSEFSs, sonetSectionCurrentCVs=sonetSectionCurrentCVs, sonetSectionIntervalTable=sonetSectionIntervalTable, sonetSectionIntervalEntry=sonetSectionIntervalEntry, sonetSectionIntervalNumber=sonetSectionIntervalNumber, sonetSectionIntervalESs=sonetSectionIntervalESs, sonetSectionIntervalSESs=sonetSectionIntervalSESs, sonetSectionIntervalSEFSs=sonetSectionIntervalSEFSs, sonetSectionIntervalCVs=sonetSectionIntervalCVs, sonetSectionIntervalValidData=sonetSectionIntervalValidData, sonetLine=sonetLine, sonetLineCurrentTable=sonetLineCurrentTable, sonetLineCurrentEntry=sonetLineCurrentEntry, sonetLineCurrentStatus=sonetLineCurrentStatus, sonetLineCurrentESs=sonetLineCurrentESs, sonetLineCurrentSESs=sonetLineCurrentSESs, sonetLineCurrentCVs=sonetLineCurrentCVs, sonetLineCurrentUASs=sonetLineCurrentUASs, sonetLineIntervalTable=sonetLineIntervalTable, sonetLineIntervalEntry=sonetLineIntervalEntry, sonetLineIntervalNumber=sonetLineIntervalNumber, sonetLineIntervalESs=sonetLineIntervalESs, sonetLineIntervalSESs=sonetLineIntervalSESs, sonetLineIntervalCVs=sonetLineIntervalCVs, sonetLineIntervalUASs=sonetLineIntervalUASs, sonetLineIntervalValidData=sonetLineIntervalValidData, sonetFarEndLine=sonetFarEndLine, sonetFarEndLineCurrentTable=sonetFarEndLineCurrentTable, sonetFarEndLineCurrentEntry=sonetFarEndLineCurrentEntry, sonetFarEndLineCurrentESs=sonetFarEndLineCurrentESs, sonetFarEndLineCurrentSESs=sonetFarEndLineCurrentSESs, sonetFarEndLineCurrentCVs=sonetFarEndLineCurrentCVs, sonetFarEndLineCurrentUASs=sonetFarEndLineCurrentUASs, sonetFarEndLineIntervalTable=sonetFarEndLineIntervalTable, sonetFarEndLineIntervalEntry=sonetFarEndLineIntervalEntry, sonetFarEndLineIntervalNumber=sonetFarEndLineIntervalNumber, sonetFarEndLineIntervalESs=sonetFarEndLineIntervalESs, sonetFarEndLineIntervalSESs=sonetFarEndLineIntervalSESs, sonetFarEndLineIntervalCVs=sonetFarEndLineIntervalCVs, sonetFarEndLineIntervalUASs=sonetFarEndLineIntervalUASs, sonetFarEndLineIntervalValidData=sonetFarEndLineIntervalValidData, sonetObjectsPath=sonetObjectsPath, sonetPath=sonetPath, sonetPathCurrentTable=sonetPathCurrentTable, sonetPathCurrentEntry=sonetPathCurrentEntry, sonetPathCurrentWidth=sonetPathCurrentWidth, sonetPathCurrentStatus=sonetPathCurrentStatus, sonetPathCurrentESs=sonetPathCurrentESs, sonetPathCurrentSESs=sonetPathCurrentSESs, sonetPathCurrentCVs=sonetPathCurrentCVs, sonetPathCurrentUASs=sonetPathCurrentUASs, sonetPathIntervalTable=sonetPathIntervalTable, sonetPathIntervalEntry=sonetPathIntervalEntry, sonetPathIntervalNumber=sonetPathIntervalNumber, sonetPathIntervalESs=sonetPathIntervalESs, sonetPathIntervalSESs=sonetPathIntervalSESs, sonetPathIntervalCVs=sonetPathIntervalCVs, sonetPathIntervalUASs=sonetPathIntervalUASs, sonetPathIntervalValidData=sonetPathIntervalValidData, sonetFarEndPath=sonetFarEndPath, sonetFarEndPathCurrentTable=sonetFarEndPathCurrentTable, sonetFarEndPathCurrentEntry=sonetFarEndPathCurrentEntry, sonetFarEndPathCurrentESs=sonetFarEndPathCurrentESs, sonetFarEndPathCurrentSESs=sonetFarEndPathCurrentSESs, sonetFarEndPathCurrentCVs=sonetFarEndPathCurrentCVs, sonetFarEndPathCurrentUASs=sonetFarEndPathCurrentUASs, sonetFarEndPathIntervalTable=sonetFarEndPathIntervalTable, sonetFarEndPathIntervalEntry=sonetFarEndPathIntervalEntry, sonetFarEndPathIntervalNumber=sonetFarEndPathIntervalNumber, sonetFarEndPathIntervalESs=sonetFarEndPathIntervalESs, sonetFarEndPathIntervalSESs=sonetFarEndPathIntervalSESs, sonetFarEndPathIntervalCVs=sonetFarEndPathIntervalCVs, sonetFarEndPathIntervalUASs=sonetFarEndPathIntervalUASs, sonetFarEndPathIntervalValidData=sonetFarEndPathIntervalValidData, sonetObjectsVT=sonetObjectsVT, sonetVT=sonetVT, sonetVTCurrentTable=sonetVTCurrentTable, sonetVTCurrentEntry=sonetVTCurrentEntry, sonetVTCurrentWidth=sonetVTCurrentWidth, sonetVTCurrentStatus=sonetVTCurrentStatus, sonetVTCurrentESs=sonetVTCurrentESs, sonetVTCurrentSESs=sonetVTCurrentSESs, sonetVTCurrentCVs=sonetVTCurrentCVs, sonetVTCurrentUASs=sonetVTCurrentUASs, sonetVTIntervalTable=sonetVTIntervalTable, sonetVTIntervalEntry=sonetVTIntervalEntry, sonetVTIntervalNumber=sonetVTIntervalNumber, sonetVTIntervalESs=sonetVTIntervalESs, sonetVTIntervalSESs=sonetVTIntervalSESs, sonetVTIntervalCVs=sonetVTIntervalCVs, sonetVTIntervalUASs=sonetVTIntervalUASs, sonetVTIntervalValidData=sonetVTIntervalValidData, sonetFarEndVT=sonetFarEndVT, sonetFarEndVTCurrentTable=sonetFarEndVTCurrentTable, sonetFarEndVTCurrentEntry=sonetFarEndVTCurrentEntry, sonetFarEndVTCurrentESs=sonetFarEndVTCurrentESs, sonetFarEndVTCurrentSESs=sonetFarEndVTCurrentSESs, sonetFarEndVTCurrentCVs=sonetFarEndVTCurrentCVs, sonetFarEndVTCurrentUASs=sonetFarEndVTCurrentUASs, sonetFarEndVTIntervalTable=sonetFarEndVTIntervalTable, sonetFarEndVTIntervalEntry=sonetFarEndVTIntervalEntry, sonetFarEndVTIntervalNumber=sonetFarEndVTIntervalNumber, sonetFarEndVTIntervalESs=sonetFarEndVTIntervalESs, sonetFarEndVTIntervalSESs=sonetFarEndVTIntervalSESs, sonetFarEndVTIntervalCVs=sonetFarEndVTIntervalCVs, sonetFarEndVTIntervalUASs=sonetFarEndVTIntervalUASs) mibBuilder.exportSymbols("SONET-MIB", sonetFarEndVTIntervalValidData=sonetFarEndVTIntervalValidData, sonetConformance=sonetConformance, sonetGroups=sonetGroups, sonetCompliances=sonetCompliances) # Groups mibBuilder.exportSymbols("SONET-MIB", sonetMediumStuff=sonetMediumStuff, sonetSectionStuff=sonetSectionStuff, sonetLineStuff=sonetLineStuff, sonetFarEndLineStuff=sonetFarEndLineStuff, sonetPathStuff=sonetPathStuff, sonetFarEndPathStuff=sonetFarEndPathStuff, sonetVTStuff=sonetVTStuff, sonetFarEndVTStuff=sonetFarEndVTStuff, sonetMediumStuff2=sonetMediumStuff2, sonetSectionStuff2=sonetSectionStuff2, sonetLineStuff2=sonetLineStuff2, sonetPathStuff2=sonetPathStuff2, sonetVTStuff2=sonetVTStuff2, sonetFarEndLineStuff2=sonetFarEndLineStuff2, sonetFarEndPathStuff2=sonetFarEndPathStuff2, sonetFarEndVTStuff2=sonetFarEndVTStuff2) # Compliances mibBuilder.exportSymbols("SONET-MIB", sonetCompliance=sonetCompliance, sonetCompliance2=sonetCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/IPS-AUTH-MIB.py0000644000014400001440000010362711736645136020640 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPS-AUTH-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:12 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AddressFamilyNumbers, ) = mibBuilder.importSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", "AddressFamilyNumbers") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( AutonomousType, RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "RowStatus", "StorageType", "TextualConvention") # Types class IpsAuthAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) # Objects ipsAuthMibModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 141)).setRevisions(("2006-05-22 00:00",)) if mibBuilder.loadTexts: ipsAuthMibModule.setOrganization("IETF IPS Working Group") if mibBuilder.loadTexts: ipsAuthMibModule.setContactInfo("\nMark Bakke\nPostal: Cisco Systems, Inc\n7900 International Drive, Suite 400\nBloomington, MN\nUSA 55425\n\nE-mail: mbakke@cisco.com\n\nJames Muchow\nPostal: Qlogic Corp.\n6321 Bury Dr.\nEden Prairie, MN\nUSA 55346\n\nE-Mail: james.muchow@qlogic.com") if mibBuilder.loadTexts: ipsAuthMibModule.setDescription("The IP Storage Authorization MIB module.\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4545; see the RFC itself for\nfull legal notices.") ipsAuthNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 0)) ipsAuthObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1)) ipsAuthDescriptors = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 1)) ipsAuthMethodTypes = ObjectIdentity((1, 3, 6, 1, 2, 1, 141, 1, 1, 1)) if mibBuilder.loadTexts: ipsAuthMethodTypes.setDescription("Registration point for Authentication Method Types.") ipsAuthMethodNone = ObjectIdentity((1, 3, 6, 1, 2, 1, 141, 1, 1, 1, 1)) if mibBuilder.loadTexts: ipsAuthMethodNone.setDescription("The authoritative identifier when no authentication\nmethod is used.") ipsAuthMethodSrp = ObjectIdentity((1, 3, 6, 1, 2, 1, 141, 1, 1, 1, 2)) if mibBuilder.loadTexts: ipsAuthMethodSrp.setDescription("The authoritative identifier when the authentication\nmethod is SRP.") ipsAuthMethodChap = ObjectIdentity((1, 3, 6, 1, 2, 1, 141, 1, 1, 1, 3)) if mibBuilder.loadTexts: ipsAuthMethodChap.setDescription("The authoritative identifier when the authentication\nmethod is CHAP.") ipsAuthMethodKerberos = ObjectIdentity((1, 3, 6, 1, 2, 1, 141, 1, 1, 1, 4)) if mibBuilder.loadTexts: ipsAuthMethodKerberos.setDescription("The authoritative identifier when the authentication\nmethod is Kerberos.") ipsAuthInstance = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 2)) ipsAuthInstanceAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 2, 2)) if mibBuilder.loadTexts: ipsAuthInstanceAttributesTable.setDescription("A list of Authorization instances present on the system.") ipsAuthInstanceAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 2, 2, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex")) if mibBuilder.loadTexts: ipsAuthInstanceAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a particular Authorization instance.") ipsAuthInstIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipsAuthInstIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular authorization instance. This index value\nmust not be modified or reused by an agent unless\na reboot has occurred. An agent should attempt to\nkeep this value persistent across reboots.") ipsAuthInstDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 2, 2, 1, 2), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipsAuthInstDescr.setDescription("A character string, determined by the implementation to\ndescribe the authorization instance. When only a single\ninstance is present, this object may be set to the\nzero-length string; with multiple authorization\ninstances, it must be set to a unique value in an\nimplementation-dependent manner to describe the purpose\nof the respective instance. If this is deployed in a\nmaster agent with more than one subagent implementing\nthis MIB module, the master agent is responsible for\nensuring that this object is unique across all\nsubagents.") ipsAuthInstStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 2, 2, 1, 3), StorageType().clone('volatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipsAuthInstStorageType.setDescription("The storage type for all read-write objects within this\nrow. Rows in this table are always created via an\nexternal process, and may have a storage type of readOnly\nor permanent. Conceptual rows having the value 'permanent'\nneed not allow write access to any columnar objects in\nthe row.\n\nIf this object has the value 'volatile', modifications\nto read-write objects in this row are not persistent\nacross reboots. If this object has the value\n'nonVolatile', modifications to objects in this row\nare persistent.\n\nAn implementation may choose to allow this object\nto be set to either 'nonVolatile' or 'volatile',\nallowing the management application to choose this\nbehavior.") ipsAuthIdentity = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 3)) ipsAuthIdentAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 3, 1)) if mibBuilder.loadTexts: ipsAuthIdentAttributesTable.setDescription("A list of user identities, each belonging to a\nparticular ipsAuthInstance.") ipsAuthIdentAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 3, 1, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentIndex")) if mibBuilder.loadTexts: ipsAuthIdentAttributesEntry.setDescription("An entry (row) containing management information\ndescribing a user identity within an authorization\ninstance on this node.") ipsAuthIdentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipsAuthIdentIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular identity instance within an authorization\ninstance present on the node. This index value\nmust not be modified or reused by an agent unless\na reboot has occurred. An agent should attempt to\nkeep this value persistent across reboots.") ipsAuthIdentDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 3, 1, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentDescription.setDescription("A character string describing this particular identity.") ipsAuthIdentRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 3, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nRows may be discarded using RowStatus. The value of\nipsAuthIdentDescription may be set while\nipsAuthIdentRowStatus is 'active'.") ipsAuthIdentStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 3, 1, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentStorageType.setDescription("The storage type for all read-create objects in this row.\nRows in this table that were created through an external\nprocess may have a storage type of readOnly or permanent.\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") ipsAuthIdentityName = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 4)) ipsAuthIdentNameAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 4, 1)) if mibBuilder.loadTexts: ipsAuthIdentNameAttributesTable.setDescription("A list of unique names that can be used to positively\nidentify a particular user identity.") ipsAuthIdentNameAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 4, 1, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentNameIndex")) if mibBuilder.loadTexts: ipsAuthIdentNameAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a unique identity name, which can be used\nto identify a user identity within a particular\nauthorization instance.") ipsAuthIdentNameIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipsAuthIdentNameIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular identity name instance within an\nipsAuthIdentity within an authorization instance.\nThis index value must not be modified or reused by\nan agent unless a reboot has occurred. An agent\nshould attempt to keep this value persistent across\nreboots.") ipsAuthIdentName = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 4, 1, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentName.setDescription("A character string that is the unique name of an\nidentity that may be used to identify this ipsAuthIdent\nentry.") ipsAuthIdentNameRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 4, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentNameRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nRows may be discarded using RowStatus. The value of\nipsAuthIdentName may be set when this value is 'active'.") ipsAuthIdentNameStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 4, 1, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentNameStorageType.setDescription("The storage type for all read-create objects in this row.\nRows in this table that were created through an external\nprocess may have a storage type of readOnly or permanent.\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") ipsAuthIdentityAddress = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 5)) ipsAuthIdentAddrAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 5, 1)) if mibBuilder.loadTexts: ipsAuthIdentAddrAttributesTable.setDescription("A list of address ranges that are allowed to serve\nas the endpoint addresses of a particular identity.\nAn address range includes a starting and ending address\nand an optional netmask, and an address type indicator,\nwhich can specify whether the address is IPv4, IPv6,\nFC-WWPN, or FC-WWNN.") ipsAuthIdentAddrAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 5, 1, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentAddrIndex")) if mibBuilder.loadTexts: ipsAuthIdentAddrAttributesEntry.setDescription("An entry (row) containing management information\napplicable to an address range that is used as part\nof the authorization of an identity\nwithin an authorization instance on this node.") ipsAuthIdentAddrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 5, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipsAuthIdentAddrIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular ipsAuthIdentAddress instance within an\nipsAuthIdentity within an authorization instance\npresent on the node.\nThis index value must not be modified or reused by\nan agent unless a reboot has occurred. An agent\nshould attempt to keep this value persistent across\nreboots.") ipsAuthIdentAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 5, 1, 1, 2), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentAddrType.setDescription("The address types used in the ipsAuthIdentAddrStart\nand ipsAuthAddrEnd objects. This type is taken\nfrom the IANA address family types.") ipsAuthIdentAddrStart = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 5, 1, 1, 3), IpsAuthAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentAddrStart.setDescription("The starting address of the allowed address range.\nThe format of this object is determined by\nipsAuthIdentAddrType.") ipsAuthIdentAddrEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 5, 1, 1, 4), IpsAuthAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentAddrEnd.setDescription("The ending address of the allowed address range.\nIf the ipsAuthIdentAddrEntry specifies a single\naddress, this shall match the ipsAuthIdentAddrStart.\nThe format of this object is determined by\nipsAuthIdentAddrType.") ipsAuthIdentAddrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 5, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentAddrRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nRows may be discarded using RowStatus. The values of\nipsAuthIdentAddrStart and ipsAuthIdentAddrEnd may be set\nwhen this value is 'active'. The value of\nipsAuthIdentAddrType may not be set when this value is\n'active'.") ipsAuthIdentAddrStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 5, 1, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthIdentAddrStorageType.setDescription("The storage type for all read-create objects in this row.\nRows in this table that were created through an external\nprocess may have a storage type of readOnly or permanent.\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") ipsAuthCredential = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 6)) ipsAuthCredentialAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 6, 1)) if mibBuilder.loadTexts: ipsAuthCredentialAttributesTable.setDescription("A list of credentials related to user identities\nthat are allowed as valid authenticators of the\nparticular identity.") ipsAuthCredentialAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 6, 1, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentIndex"), (0, "IPS-AUTH-MIB", "ipsAuthCredIndex")) if mibBuilder.loadTexts: ipsAuthCredentialAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a credential that verifies a user\nidentity within an authorization instance.\n\n\n\nTo provide complete information in this MIB for a credential,\nthe management station must not only create the row in this\ntable but must also create a row in another table, where the\nother table is determined by the value of\nipsAuthCredAuthMethod, e.g., if ipsAuthCredAuthMethod has the\nvalue ipsAuthMethodChap, a row must be created in the\nipsAuthCredChapAttributesTable.") ipsAuthCredIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 6, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipsAuthCredIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular Credential instance within an instance\npresent on the node.\nThis index value must not be modified or reused by\nan agent unless a reboot has occurred. An agent\nshould attempt to keep this value persistent across\nreboots.") ipsAuthCredAuthMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 6, 1, 1, 2), AutonomousType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredAuthMethod.setDescription("This object contains an OBJECT IDENTIFIER\nthat identifies the authentication method\nused with this credential.\n\nWhen a row is created in this table, a corresponding\nrow must be created by the management station\nin a corresponding table specified by this value.\n\nWhen a row is deleted from this table, the corresponding\nrow must be automatically deleted by the agent in\nthe corresponding table specified by this value.\n\n\n\n\nIf the value of this object is ipsAuthMethodNone, no\ncorresponding rows are created or deleted from other\ntables.\n\nSome standardized values for this object are defined\nwithin the ipsAuthMethodTypes subtree.") ipsAuthCredRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 6, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nRows may be discarded using RowStatus. The value of\nipsAuthCredAuthMethod must not be changed while this row\nis 'active'.") ipsAuthCredStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 6, 1, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredStorageType.setDescription("The storage type for all read-create objects in this row.\nRows in this table that were created through an external\nprocess may have a storage type of readOnly or permanent.\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") ipsAuthCredChap = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 7)) ipsAuthCredChapAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 7, 1)) if mibBuilder.loadTexts: ipsAuthCredChapAttributesTable.setDescription("A list of CHAP attributes for credentials that\nuse ipsAuthMethodChap as their ipsAuthCredAuthMethod.\n\nA row in this table can only exist when an instance of\nthe ipsAuthCredAuthMethod object exists (or is created\n\n\n\nsimultaneously) having the same instance identifiers\nand a value of 'ipsAuthMethodChap'.") ipsAuthCredChapAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 7, 1, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentIndex"), (0, "IPS-AUTH-MIB", "ipsAuthCredIndex")) if mibBuilder.loadTexts: ipsAuthCredChapAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a credential that uses\nipsAuthMethodChap as their ipsAuthCredAuthMethod.\n\nWhen a row is created in ipsAuthCredentialAttributesTable\nwith ipsAuthCredAuthMethod = ipsAuthCredChap, the\nmanagement station must create a corresponding row\nin this table.\n\nWhen a row is deleted from ipsAuthCredentialAttributesTable\nwith ipsAuthCredAuthMethod = ipsAuthCredChap, the\nagent must delete the corresponding row (if any) in\nthis table.") ipsAuthCredChapUserName = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 7, 1, 1, 1), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredChapUserName.setDescription("A character string containing the CHAP user name for this\ncredential.") ipsAuthCredChapRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 7, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredChapRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nRows may be discarded using RowStatus. The value of\nipsAuthCredChapUserName may be changed while this row\nis 'active'.") ipsAuthCredChapStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 7, 1, 1, 3), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredChapStorageType.setDescription("The storage type for all read-create objects in this row.\nRows in this table that were created through an external\nprocess may have a storage type of readOnly or permanent.\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") ipsAuthCredSrp = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 8)) ipsAuthCredSrpAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 8, 1)) if mibBuilder.loadTexts: ipsAuthCredSrpAttributesTable.setDescription("A list of SRP attributes for credentials that\nuse ipsAuthMethodSrp as its ipsAuthCredAuthMethod.\n\nA row in this table can only exist when an instance of\nthe ipsAuthCredAuthMethod object exists (or is created\nsimultaneously) having the same instance identifiers\nand a value of 'ipsAuthMethodSrp'.") ipsAuthCredSrpAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 8, 1, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentIndex"), (0, "IPS-AUTH-MIB", "ipsAuthCredIndex")) if mibBuilder.loadTexts: ipsAuthCredSrpAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a credential that uses\nipsAuthMethodSrp as their ipsAuthCredAuthMethod.\n\n\n\n\nWhen a row is created in ipsAuthCredentialAttributesTable\nwith ipsAuthCredAuthMethod = ipsAuthCredSrp, the\nmanagement station must create a corresponding row\nin this table.\n\nWhen a row is deleted from ipsAuthCredentialAttributesTable\nwith ipsAuthCredAuthMethod = ipsAuthCredSrp, the\nagent must delete the corresponding row (if any) in\nthis table.") ipsAuthCredSrpUserName = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 8, 1, 1, 1), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredSrpUserName.setDescription("A character string containing the SRP user name for this\ncredential.") ipsAuthCredSrpRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 8, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredSrpRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nRows may be discarded using RowStatus. The value of\nipsAuthCredSrpUserName may be changed while the status\nof this row is 'active'.") ipsAuthCredSrpStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 8, 1, 1, 3), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredSrpStorageType.setDescription("The storage type for all read-create objects in this row.\nRows in this table that were created through an external\nprocess may have a storage type of readOnly or permanent.\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") ipsAuthCredKerberos = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 9)) ipsAuthCredKerbAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 141, 1, 9, 1)) if mibBuilder.loadTexts: ipsAuthCredKerbAttributesTable.setDescription("A list of Kerberos attributes for credentials that\nuse ipsAuthMethodKerberos as their ipsAuthCredAuthMethod.\n\nA row in this table can only exist when an instance of\nthe ipsAuthCredAuthMethod object exists (or is created\nsimultaneously) having the same instance identifiers\nand a value of 'ipsAuthMethodKerb'.") ipsAuthCredKerbAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 141, 1, 9, 1, 1)).setIndexNames((0, "IPS-AUTH-MIB", "ipsAuthInstIndex"), (0, "IPS-AUTH-MIB", "ipsAuthIdentIndex"), (0, "IPS-AUTH-MIB", "ipsAuthCredIndex")) if mibBuilder.loadTexts: ipsAuthCredKerbAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a credential that uses\nipsAuthMethodKerberos as its ipsAuthCredAuthMethod.\n\nWhen a row is created in ipsAuthCredentialAttributesTable\nwith ipsAuthCredAuthMethod = ipsAuthCredKerberos, the\nmanagement station must create a corresponding row\nin this table.\n\nWhen a row is deleted from ipsAuthCredentialAttributesTable\nwith ipsAuthCredAuthMethod = ipsAuthCredKerberos, the\nagent must delete the corresponding row (if any) in\nthis table.") ipsAuthCredKerbPrincipal = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 9, 1, 1, 1), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredKerbPrincipal.setDescription("A character string containing a Kerberos principal\nfor this credential.") ipsAuthCredKerbRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 9, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredKerbRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nRows may be discarded using RowStatus. The value of\nipsAuthCredKerbPrincipal may be changed while this row\nis 'active'.") ipsAuthCredKerbStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 9, 1, 1, 3), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipsAuthCredKerbStorageType.setDescription("The storage type for all read-create objects in this row.\nRows in this table that were created through an external\nprocess may have a storage type of readOnly or permanent.\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") ipsAuthConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 2)) ipsAuthCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 2, 1)) ipsAuthGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 2, 2)) # Augmentions # Groups ipsAuthInstanceAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 1)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthInstStorageType"), ("IPS-AUTH-MIB", "ipsAuthInstDescr"), ) ) if mibBuilder.loadTexts: ipsAuthInstanceAttributesGroup.setDescription("A collection of objects providing information about\nauthorization instances.") ipsAuthIdentAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 2)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthIdentRowStatus"), ("IPS-AUTH-MIB", "ipsAuthIdentStorageType"), ("IPS-AUTH-MIB", "ipsAuthIdentDescription"), ) ) if mibBuilder.loadTexts: ipsAuthIdentAttributesGroup.setDescription("A collection of objects providing information about\nuser identities within an authorization instance.") ipsAuthIdentNameAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 3)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthIdentNameStorageType"), ("IPS-AUTH-MIB", "ipsAuthIdentNameRowStatus"), ("IPS-AUTH-MIB", "ipsAuthIdentName"), ) ) if mibBuilder.loadTexts: ipsAuthIdentNameAttributesGroup.setDescription("A collection of objects providing information about\nuser names within user identities within an authorization\ninstance.") ipsAuthIdentAddrAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 4)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthIdentAddrStart"), ("IPS-AUTH-MIB", "ipsAuthIdentAddrStorageType"), ("IPS-AUTH-MIB", "ipsAuthIdentAddrType"), ("IPS-AUTH-MIB", "ipsAuthIdentAddrEnd"), ("IPS-AUTH-MIB", "ipsAuthIdentAddrRowStatus"), ) ) if mibBuilder.loadTexts: ipsAuthIdentAddrAttributesGroup.setDescription("A collection of objects providing information about\naddress ranges within user identities within an\nauthorization instance.") ipsAuthIdentCredAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 5)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthCredAuthMethod"), ("IPS-AUTH-MIB", "ipsAuthCredStorageType"), ("IPS-AUTH-MIB", "ipsAuthCredRowStatus"), ) ) if mibBuilder.loadTexts: ipsAuthIdentCredAttributesGroup.setDescription("A collection of objects providing information about\ncredentials within user identities within an authorization\ninstance.") ipsAuthIdentChapAttrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 6)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthCredChapUserName"), ("IPS-AUTH-MIB", "ipsAuthCredChapStorageType"), ("IPS-AUTH-MIB", "ipsAuthCredChapRowStatus"), ) ) if mibBuilder.loadTexts: ipsAuthIdentChapAttrGroup.setDescription("A collection of objects providing information about\nCHAP credentials within user identities within an\nauthorization instance.") ipsAuthIdentSrpAttrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 7)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthCredSrpRowStatus"), ("IPS-AUTH-MIB", "ipsAuthCredSrpUserName"), ("IPS-AUTH-MIB", "ipsAuthCredSrpStorageType"), ) ) if mibBuilder.loadTexts: ipsAuthIdentSrpAttrGroup.setDescription("A collection of objects providing information about\nSRP credentials within user identities within an\nauthorization instance.") ipsAuthIdentKerberosAttrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 141, 2, 2, 8)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthCredKerbPrincipal"), ("IPS-AUTH-MIB", "ipsAuthCredKerbStorageType"), ("IPS-AUTH-MIB", "ipsAuthCredKerbRowStatus"), ) ) if mibBuilder.loadTexts: ipsAuthIdentKerberosAttrGroup.setDescription("A collection of objects providing information about\nKerberos credentials within user identities within an\nauthorization instance.") # Compliances ipsAuthComplianceV1 = ModuleCompliance((1, 3, 6, 1, 2, 1, 141, 2, 1, 1)).setObjects(*(("IPS-AUTH-MIB", "ipsAuthInstanceAttributesGroup"), ("IPS-AUTH-MIB", "ipsAuthIdentNameAttributesGroup"), ("IPS-AUTH-MIB", "ipsAuthIdentChapAttrGroup"), ("IPS-AUTH-MIB", "ipsAuthIdentKerberosAttrGroup"), ("IPS-AUTH-MIB", "ipsAuthIdentAttributesGroup"), ("IPS-AUTH-MIB", "ipsAuthIdentCredAttributesGroup"), ("IPS-AUTH-MIB", "ipsAuthIdentAddrAttributesGroup"), ("IPS-AUTH-MIB", "ipsAuthIdentSrpAttrGroup"), ) ) if mibBuilder.loadTexts: ipsAuthComplianceV1.setDescription("Initial version of compliance statement based on\ninitial version of this MIB module.\n\nThe Instance and Identity groups are mandatory;\nat least one of the other groups (Name, Address,\nCredential, Certificate) is also mandatory for\nany given implementation.") # Exports # Module identity mibBuilder.exportSymbols("IPS-AUTH-MIB", PYSNMP_MODULE_ID=ipsAuthMibModule) # Types mibBuilder.exportSymbols("IPS-AUTH-MIB", IpsAuthAddress=IpsAuthAddress) # Objects mibBuilder.exportSymbols("IPS-AUTH-MIB", ipsAuthMibModule=ipsAuthMibModule, ipsAuthNotifications=ipsAuthNotifications, ipsAuthObjects=ipsAuthObjects, ipsAuthDescriptors=ipsAuthDescriptors, ipsAuthMethodTypes=ipsAuthMethodTypes, ipsAuthMethodNone=ipsAuthMethodNone, ipsAuthMethodSrp=ipsAuthMethodSrp, ipsAuthMethodChap=ipsAuthMethodChap, ipsAuthMethodKerberos=ipsAuthMethodKerberos, ipsAuthInstance=ipsAuthInstance, ipsAuthInstanceAttributesTable=ipsAuthInstanceAttributesTable, ipsAuthInstanceAttributesEntry=ipsAuthInstanceAttributesEntry, ipsAuthInstIndex=ipsAuthInstIndex, ipsAuthInstDescr=ipsAuthInstDescr, ipsAuthInstStorageType=ipsAuthInstStorageType, ipsAuthIdentity=ipsAuthIdentity, ipsAuthIdentAttributesTable=ipsAuthIdentAttributesTable, ipsAuthIdentAttributesEntry=ipsAuthIdentAttributesEntry, ipsAuthIdentIndex=ipsAuthIdentIndex, ipsAuthIdentDescription=ipsAuthIdentDescription, ipsAuthIdentRowStatus=ipsAuthIdentRowStatus, ipsAuthIdentStorageType=ipsAuthIdentStorageType, ipsAuthIdentityName=ipsAuthIdentityName, ipsAuthIdentNameAttributesTable=ipsAuthIdentNameAttributesTable, ipsAuthIdentNameAttributesEntry=ipsAuthIdentNameAttributesEntry, ipsAuthIdentNameIndex=ipsAuthIdentNameIndex, ipsAuthIdentName=ipsAuthIdentName, ipsAuthIdentNameRowStatus=ipsAuthIdentNameRowStatus, ipsAuthIdentNameStorageType=ipsAuthIdentNameStorageType, ipsAuthIdentityAddress=ipsAuthIdentityAddress, ipsAuthIdentAddrAttributesTable=ipsAuthIdentAddrAttributesTable, ipsAuthIdentAddrAttributesEntry=ipsAuthIdentAddrAttributesEntry, ipsAuthIdentAddrIndex=ipsAuthIdentAddrIndex, ipsAuthIdentAddrType=ipsAuthIdentAddrType, ipsAuthIdentAddrStart=ipsAuthIdentAddrStart, ipsAuthIdentAddrEnd=ipsAuthIdentAddrEnd, ipsAuthIdentAddrRowStatus=ipsAuthIdentAddrRowStatus, ipsAuthIdentAddrStorageType=ipsAuthIdentAddrStorageType, ipsAuthCredential=ipsAuthCredential, ipsAuthCredentialAttributesTable=ipsAuthCredentialAttributesTable, ipsAuthCredentialAttributesEntry=ipsAuthCredentialAttributesEntry, ipsAuthCredIndex=ipsAuthCredIndex, ipsAuthCredAuthMethod=ipsAuthCredAuthMethod, ipsAuthCredRowStatus=ipsAuthCredRowStatus, ipsAuthCredStorageType=ipsAuthCredStorageType, ipsAuthCredChap=ipsAuthCredChap, ipsAuthCredChapAttributesTable=ipsAuthCredChapAttributesTable, ipsAuthCredChapAttributesEntry=ipsAuthCredChapAttributesEntry, ipsAuthCredChapUserName=ipsAuthCredChapUserName, ipsAuthCredChapRowStatus=ipsAuthCredChapRowStatus, ipsAuthCredChapStorageType=ipsAuthCredChapStorageType, ipsAuthCredSrp=ipsAuthCredSrp, ipsAuthCredSrpAttributesTable=ipsAuthCredSrpAttributesTable, ipsAuthCredSrpAttributesEntry=ipsAuthCredSrpAttributesEntry, ipsAuthCredSrpUserName=ipsAuthCredSrpUserName, ipsAuthCredSrpRowStatus=ipsAuthCredSrpRowStatus, ipsAuthCredSrpStorageType=ipsAuthCredSrpStorageType, ipsAuthCredKerberos=ipsAuthCredKerberos, ipsAuthCredKerbAttributesTable=ipsAuthCredKerbAttributesTable, ipsAuthCredKerbAttributesEntry=ipsAuthCredKerbAttributesEntry, ipsAuthCredKerbPrincipal=ipsAuthCredKerbPrincipal, ipsAuthCredKerbRowStatus=ipsAuthCredKerbRowStatus, ipsAuthCredKerbStorageType=ipsAuthCredKerbStorageType, ipsAuthConformance=ipsAuthConformance, ipsAuthCompliances=ipsAuthCompliances, ipsAuthGroups=ipsAuthGroups) # Groups mibBuilder.exportSymbols("IPS-AUTH-MIB", ipsAuthInstanceAttributesGroup=ipsAuthInstanceAttributesGroup, ipsAuthIdentAttributesGroup=ipsAuthIdentAttributesGroup, ipsAuthIdentNameAttributesGroup=ipsAuthIdentNameAttributesGroup, ipsAuthIdentAddrAttributesGroup=ipsAuthIdentAddrAttributesGroup, ipsAuthIdentCredAttributesGroup=ipsAuthIdentCredAttributesGroup, ipsAuthIdentChapAttrGroup=ipsAuthIdentChapAttrGroup, ipsAuthIdentSrpAttrGroup=ipsAuthIdentSrpAttrGroup, ipsAuthIdentKerberosAttrGroup=ipsAuthIdentKerberosAttrGroup) # Compliances mibBuilder.exportSymbols("IPS-AUTH-MIB", ipsAuthComplianceV1=ipsAuthComplianceV1) pysnmp-mibs-0.1.3/pysnmp_mibs/WWW-MIB.py0000644000014400001440000011350311736645141020120 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python WWW-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:50 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, DisplayString, TextualConvention, TimeInterval, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "TextualConvention", "TimeInterval") ( Utf8String, ) = mibBuilder.importSymbols("SYSAPPL-MIB", "Utf8String") # Types class WwwDocName(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class WwwOperStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,5,4,) namedValues = NamedValues(("down", 1), ("running", 2), ("halted", 3), ("congested", 4), ("restarting", 5), ) class WwwRequestType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,40) class WwwResponseType(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) # Objects wwwMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 65)).setRevisions(("1999-02-25 14:00",)) if mibBuilder.loadTexts: wwwMIB.setOrganization("IETF Application MIB Working Group") if mibBuilder.loadTexts: wwwMIB.setContactInfo(" Harrie Hazewinkel\n\nPostal: Joint Research Centre of the E.C.\n via Fermi - Ispra 21020 (VA)\n Italy\n\n Tel: +39+(0)332 786322\n Fax: +39+(0)332 785641\nE-mail: harrie.hazewinkel@jrc.it\n\n Carl W. Kalbfleisch\n\nPostal: Verio, Inc.\n 1950 Stemmons Freeway\n Suite 2006\n Dallas, TX 75207\n US\n\n Tel: +1 214 290-8653\n Fax: +1 214 744-0742\nE-mail: cwk@verio.net\n\n Juergen Schoenwaelder\n\nPostal: TU Braunschweig\n Bueltenweg 74/75\n 38106 Braunschweig\n Germany\n\n Tel: +49 531 391-3683\n Fax: +49 531 489-5936\nE-mail: schoenw@ibr.cs.tu-bs.de") if mibBuilder.loadTexts: wwwMIB.setDescription("This WWW service MIB module is applicable to services\nrealized by a family of 'Document Transfer Protocols'\n(DTP). Examples of DTPs are HTTP and FTP.") wwwMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 65, 1)) wwwService = MibIdentifier((1, 3, 6, 1, 2, 1, 65, 1, 1)) wwwServiceTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 1, 1)) if mibBuilder.loadTexts: wwwServiceTable.setDescription("The table of the WWW services known by the SNMP agent.") wwwServiceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex")) if mibBuilder.loadTexts: wwwServiceEntry.setDescription("Details about a particular WWW service.") wwwServiceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwServiceIndex.setDescription("An integer used to uniquely identify a WWW service. The\nvalue must be the same as the corresponding value of the\napplSrvIndex defined in the Application Management MIB\n(APPLICATION-MIB) if the applSrvIndex object is available.\nIt might be necessary to manually configure sub-agents in\norder to meet this requirement.") wwwServiceDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 2), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceDescription.setDescription("Textual description of the WWW service. This shall include\nat least the vendor and version number of the application\nrealizing the WWW service. In a minimal case, this might\nbe the Product Token (see RFC 2068) for the application.") wwwServiceContact = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 3), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceContact.setDescription("The textual identification of the contact person for this\nservice, together with information on how to contact this\nperson. For instance, this might be a string containing an\nemail address, e.g. ''.") wwwServiceProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceProtocol.setDescription("An identification of the primary protocol in use by this\nservice. For Internet applications, the IANA maintains\na registry of the OIDs which correspond to well-known\napplication protocols. If the application protocol is not\nlisted in the registry, an OID value of the form\n{applTCPProtoID port} or {applUDPProtoID port} are used for\nTCP-based and UDP-based protocols, respectively. In either\ncase 'port' corresponds to the primary port number being\nused by the protocol.") wwwServiceName = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceName.setDescription("The fully qualified domain name by which this service is\nknown. This object must contain the virtual host name if\nthe service is realized for a virtual host.") wwwServiceType = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,5,2,1,)).subtype(namedValues=NamedValues(("wwwOther", 1), ("wwwServer", 2), ("wwwClient", 3), ("wwwProxy", 4), ("wwwCachingProxy", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceType.setDescription("The application type using or realizing this WWW service.") wwwServiceStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 7), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceStartTime.setDescription("The date and time when this WWW service was last started.\nThe value SHALL be '0000000000000000'H if the last start\ntime of this WWW service is not known.") wwwServiceOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 8), WwwOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceOperStatus.setDescription("Indicates the operational status of the WWW service.") wwwServiceLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 9), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceLastChange.setDescription("The date and time when this WWW service entered its current\noperational state. The value SHALL be '0000000000000000'H if\nthe time of the last state change is not known.") wwwProtocolStatistics = MibIdentifier((1, 3, 6, 1, 2, 1, 65, 1, 2)) wwwSummaryTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 2, 1)) if mibBuilder.loadTexts: wwwSummaryTable.setDescription("The table providing overview statistics for the\nWWW services on this system.") wwwSummaryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex")) if mibBuilder.loadTexts: wwwSummaryEntry.setDescription("Overview statistics for an individual service.") wwwSummaryInRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryInRequests.setDescription("The number of requests successfully received.") wwwSummaryOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryOutRequests.setDescription("The number of requests generated.") wwwSummaryInResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryInResponses.setDescription("The number of responses successfully received.") wwwSummaryOutResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryOutResponses.setDescription("The number of responses generated.") wwwSummaryInBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryInBytes.setDescription("The number of content bytes received.") wwwSummaryInLowBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryInLowBytes.setDescription("The lowest thirty-two bits of wwwSummaryInBytes.") wwwSummaryOutBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryOutBytes.setDescription("The number of content bytes transmitted.") wwwSummaryOutLowBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwSummaryOutLowBytes.setDescription("The lowest thirty-two bits of wwwSummaryOutBytes.") wwwRequestInTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 2, 2)) if mibBuilder.loadTexts: wwwRequestInTable.setDescription("The table providing detailed statistics for requests\nreceived by WWW services on this system.") wwwRequestInEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 2, 2, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwRequestInIndex")) if mibBuilder.loadTexts: wwwRequestInEntry.setDescription("Request statistics for an individual service.") wwwRequestInIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 2, 1, 1), WwwRequestType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwRequestInIndex.setDescription("The particular request type the statistics apply to.") wwwRequestInRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwRequestInRequests.setDescription("The number of requests of this type received by this\nWWW service.") wwwRequestInBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwRequestInBytes.setDescription("The number of content bytes per request type received\nby this WWW service.") wwwRequestInLastTime = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwRequestInLastTime.setDescription("The date and time when the last byte of the last complete\nrequest of this type was received by this WWW service. The\nvalue SHALL be '0000000000000000'H if no request of this\ntype has been received yet.") wwwRequestOutTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 2, 3)) if mibBuilder.loadTexts: wwwRequestOutTable.setDescription("The table providing detailed statistics for requests\ngenerated by the services on this system.") wwwRequestOutEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 2, 3, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwRequestOutIndex")) if mibBuilder.loadTexts: wwwRequestOutEntry.setDescription("Request statistics for an individual service.") wwwRequestOutIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 3, 1, 1), WwwRequestType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwRequestOutIndex.setDescription("The particular request type the statistics apply to.") wwwRequestOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwRequestOutRequests.setDescription("The number of requests of this type generated by this\nWWW service.") wwwRequestOutBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwRequestOutBytes.setDescription("The number of content bytes per requests type generated\nby this WWW service.") wwwRequestOutLastTime = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 3, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwRequestOutLastTime.setDescription("The date and time when the first byte of the last request\nof this type was send by this WWW service. The value SHALL\nbe '0000000000000000'H if no request of this type has been\nsend yet.") wwwResponseInTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 2, 4)) if mibBuilder.loadTexts: wwwResponseInTable.setDescription("The table providing detailed statistics for responses\nreceived by WWW services on this system.") wwwResponseInEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 2, 4, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwResponseInIndex")) if mibBuilder.loadTexts: wwwResponseInEntry.setDescription("Response statistics for an individual service.") wwwResponseInIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 4, 1, 1), WwwResponseType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwResponseInIndex.setDescription("The particular response type the statistics apply to.") wwwResponseInResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwResponseInResponses.setDescription("The number of responses of this type received by this\nWWW service.") wwwResponseInBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwResponseInBytes.setDescription("The number of content bytes per response type received\nby this WWW service.") wwwResponseInLastTime = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 4, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwResponseInLastTime.setDescription("The date and time when the last byte of the last complete\nresponse of this type was received by this WWW service. The\nvalue SHALL be '0000000000000000'H if no response of this\ntype has been received yet.") wwwResponseOutTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 2, 5)) if mibBuilder.loadTexts: wwwResponseOutTable.setDescription("The table providing detailed statistics for responses\ngenerated by services on this system.") wwwResponseOutEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 2, 5, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwResponseOutIndex")) if mibBuilder.loadTexts: wwwResponseOutEntry.setDescription("Response statistics for an individual service.") wwwResponseOutIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 5, 1, 1), WwwResponseType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwResponseOutIndex.setDescription("The particular response type the statistics apply to.") wwwResponseOutResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwResponseOutResponses.setDescription("The number of responses of this type generated by this\nWWW service.") wwwResponseOutBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwResponseOutBytes.setDescription("The number of content bytes per response type generated\nby this WWW service.") wwwResponseOutLastTime = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 2, 5, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwResponseOutLastTime.setDescription("The date and time when the first byte of the last response of\nthis type was sent by this WWW service. The value SHALL be\n'0000000000000000'H if response of this type has been send\nyet.") wwwDocumentStatistics = MibIdentifier((1, 3, 6, 1, 2, 1, 65, 1, 3)) wwwDocCtrlTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 3, 1)) if mibBuilder.loadTexts: wwwDocCtrlTable.setDescription("A table which controls how the MIB implementation\ncollects and maintains document statistics.") wwwDocCtrlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 3, 1, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex")) if mibBuilder.loadTexts: wwwDocCtrlEntry.setDescription("An entry used to configure the wwwDocLastNTable,\nthe wwwDocBucketTable, the wwwDocAccessTopNTable,\nand the wwwDocBytesTopNTable.") wwwDocCtrlLastNSize = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 1, 1, 1), Unsigned32().clone(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwwDocCtrlLastNSize.setDescription("The maximum number of entries in the wwwDocLastNTable.") wwwDocCtrlLastNLock = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 1, 1, 2), TimeTicks()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwwDocCtrlLastNLock.setDescription("This object allows a manager to lock the wwwDocLastNTable\nin order to retrieve the wwwDocLastNTable in a consistent\nstate. The agent is expected to take a snapshot of the\nwwwDocLastNTable when it is locked and to continue updating\nthe real wwwDocLastNTable table so that recent information is\navailable as soon as the wwwDocLastNTable is unlocked again.\n\nSetting this object to a value greater than 0 will lock\nthe table. The timer ticks backwards until it reaches 0.\nThe table unlocks automatically once the timer reaches 0\nand the timer stops ticking.\n\nA manager can increase the timer to request more time to\nread the table. However, any attempt to decrease the timer\nwill fail with an inconsistentValue error. This rule ensures\nthat multiple managers can simultaneously lock and retrieve\nthe wwwDocLastNTable. Note that managers must cooperate in\nusing wwwDocCtrlLastNLock. In particular, a manager MUST not\nkeep the wwwDocLastNTable locked when it is not necessary to\nfinish a retrieval operation.") wwwDocCtrlBuckets = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 1, 1, 3), Unsigned32().clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwwDocCtrlBuckets.setDescription("The maximum number of buckets maintained by the agent\nbefore the oldest bucket is deleted. The buckets are\nused to populate the wwwDocAccessTopNTable and the\nwwwDocBytesTopNTable. The time interval captured in\neach bucket can be configured by setting the\nwwwDocCtrlBucketTimeInterval object.") wwwDocCtrlBucketTimeInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 1, 1, 4), TimeInterval().clone('90000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwwDocCtrlBucketTimeInterval.setDescription("The time interval after which a new bucket is created.\nChanging this object has no effect on existing buckets.") wwwDocCtrlTopNSize = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 1, 1, 5), Unsigned32().clone(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwwDocCtrlTopNSize.setDescription("The maximum number of entries shown in the\nwwwDocAccessTopNTable and the wwwDocBytesTopNTable.\nChanging this object has no effect on existing buckets.") wwwDocLastNTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 3, 2)) if mibBuilder.loadTexts: wwwDocLastNTable.setDescription("The table which logs the last N access attempts.") wwwDocLastNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwDocLastNIndex")) if mibBuilder.loadTexts: wwwDocLastNEntry.setDescription("An entry which describes a recent access attempt.") wwwDocLastNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwDocLastNIndex.setDescription("An arbitrary monotonically increasing integer number used\nfor indexing the wwwDocLastNTable. The first document\naccessed appears in the table with this index value equal\nto one. Each subsequent document is indexed with the next\nsequential index value. The Nth document accessed will be\nindexed by N. This table presents a sliding window of the\nlast wwwDocCtrlLastNSize documents accessed. Thus, entries\nin this table will be indexed by N-wwwDocCtrlLastNSize\nthru N if N > wwwDocCtrlLastNSize and 1 thru N if\nN <= wwwDocCtrlLastNSize.\n\nThe wwwDocCtrlLastNLock attribute can be used to lock\nthis table to allow the manager to read its contents.") wwwDocLastNName = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1, 2), WwwDocName()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocLastNName.setDescription("The name of the document for which access was attempted.") wwwDocLastNTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocLastNTimeStamp.setDescription("The date and time of the last attempt to access this\ndocument.") wwwDocLastNRequestType = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1, 4), WwwRequestType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocLastNRequestType.setDescription("The protocol request type which was received by the\nserver when this document access was attempted.") wwwDocLastNResponseType = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1, 5), WwwResponseType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocLastNResponseType.setDescription("The protocol response type which was sent to the client\nas a result of this attempt to access a document. This\nobject contains the type of the primary response if\nthere were multiple responses to a single request.") wwwDocLastNStatusMsg = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1, 6), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocLastNStatusMsg.setDescription("This object contains a human readable description of the\nreason why the wwwDocLastNResponseType was returned to the\nclient. This object defines the implementation-specific\nreason if the value of wwwDocLastNResponseType indicates\nan error. For example, this object can indicate that the\nrequested document could not be transferred due to a\ntimeout condition or the document could not be transferred\nbecause a 'soft link' pointing to the document could not be\nresolved.") wwwDocLastNBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 2, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocLastNBytes.setDescription("The number of content bytes that were returned as a\nresult of this attempt to access a document.") wwwDocBucketTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 3, 3)) if mibBuilder.loadTexts: wwwDocBucketTable.setDescription("This table provides administrative summary information for\nthe buckets maintained per WWW service.") wwwDocBucketEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 3, 3, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwDocBucketIndex")) if mibBuilder.loadTexts: wwwDocBucketEntry.setDescription("An entry which describes the parameters associated with a\nparticular bucket.") wwwDocBucketIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwDocBucketIndex.setDescription("An arbitrary monotonically increasing integer number\nused for indexing the wwwDocBucketTable. The index number\nwraps to 1 whenever the maximum value is reached.") wwwDocBucketTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 3, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBucketTimeStamp.setDescription("The date and time when the bucket was made available.") wwwDocBucketAccesses = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBucketAccesses.setDescription("The total number of access attempts for any document\nprovided by this WWW service during the time interval\nover which this bucket was created.") wwwDocBucketDocuments = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBucketDocuments.setDescription("The total number of different documents for which access\nwas attempted this this WWW service during the time interval\nover which this bucket was created.") wwwDocBucketBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 3, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBucketBytes.setDescription("The total number of content bytes which were transferred\nfrom this WWW service during the time interval over which\nthis bucket was created.") wwwDocAccessTopNTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 3, 4)) if mibBuilder.loadTexts: wwwDocAccessTopNTable.setDescription("The table of the most frequently accessed documents in a\ngiven bucket. This table is sorted by the column\nwwwDocAccessTopNAccesses. Entries having the same number\nof accesses are secondarily sorted by wwwDocAccessTopNBytes.\nEntries with the same number of accesses and the same\nnumber of bytes will have an arbitrary order.") wwwDocAccessTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 3, 4, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwDocBucketIndex"), (0, "WWW-MIB", "wwwDocAccessTopNIndex")) if mibBuilder.loadTexts: wwwDocAccessTopNEntry.setDescription("An entry in the top N table sorted by document accesses.") wwwDocAccessTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwDocAccessTopNIndex.setDescription("An arbitrary monotonically increasing integer number\nused for indexing the wwwDocAccessTopNTable. The index is\ninversely correlated to the sorting order of the table. The\ndocument with the highest access count will get the index\nvalue 1.") wwwDocAccessTopNName = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 4, 1, 2), WwwDocName()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocAccessTopNName.setDescription("The name of the document for which access was attempted.") wwwDocAccessTopNAccesses = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocAccessTopNAccesses.setDescription("The total number of access attempts for this document.") wwwDocAccessTopNBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 4, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocAccessTopNBytes.setDescription("The total number of content bytes that were transmitted\nas a result of attempts to access this document.") wwwDocAccessTopNLastResponseType = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 4, 1, 5), WwwResponseType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocAccessTopNLastResponseType.setDescription("The protocol response type which was sent to the client\nas a result of the last attempt to access this document.\nThis object contains the type of the primary response if\nthere were multiple responses to a single request.") wwwDocBytesTopNTable = MibTable((1, 3, 6, 1, 2, 1, 65, 1, 3, 5)) if mibBuilder.loadTexts: wwwDocBytesTopNTable.setDescription("The table of the documents which caused most network\ntraffic in a given bucket. This table is sorted by the\ncolumn wwwDocBytesTopNBytes. Entries having the same number\nbytes are secondarily sorted by wwwDocBytesTopNAccesses.\nEntries with the same number of accesses and the same\nnumber of bytes will have an arbitrary order.") wwwDocBytesTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 65, 1, 3, 5, 1)).setIndexNames((0, "WWW-MIB", "wwwServiceIndex"), (0, "WWW-MIB", "wwwDocBucketIndex"), (0, "WWW-MIB", "wwwDocBytesTopNIndex")) if mibBuilder.loadTexts: wwwDocBytesTopNEntry.setDescription("An entry in the top N table sorted by network traffic.") wwwDocBytesTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: wwwDocBytesTopNIndex.setDescription("An arbitrary monotonically increasing integer number\nused for indexing the wwwDocBytesTopNTable. The index is\ninversely correlated to the sorting order of the table. The\ndocument with the highest byte count will get the index\nvalue 1.") wwwDocBytesTopNName = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 5, 1, 2), WwwDocName()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBytesTopNName.setDescription("The name of the document for which access was attempted.") wwwDocBytesTopNAccesses = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 5, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBytesTopNAccesses.setDescription("The total number of access attempts for this document.") wwwDocBytesTopNBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 5, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBytesTopNBytes.setDescription("The total number of content bytes that were transmitted\nas a result of attempts to access this document.") wwwDocBytesTopNLastResponseType = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 3, 5, 1, 5), WwwResponseType()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwDocBytesTopNLastResponseType.setDescription("The protocol response type which was sent to the client\nas a result of the last attempt to access this document.\nThis object contains the type of the primary response if\nthere were multiple responses to a single request.") wwwMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 65, 2)) wwwMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 65, 2, 1)) wwwMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 65, 2, 2)) # Augmentions # Groups wwwServiceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 65, 2, 2, 1)).setObjects(*(("WWW-MIB", "wwwServiceOperStatus"), ("WWW-MIB", "wwwServiceContact"), ("WWW-MIB", "wwwServiceStartTime"), ("WWW-MIB", "wwwServiceProtocol"), ("WWW-MIB", "wwwServiceName"), ("WWW-MIB", "wwwServiceType"), ("WWW-MIB", "wwwServiceDescription"), ("WWW-MIB", "wwwServiceLastChange"), ) ) if mibBuilder.loadTexts: wwwServiceGroup.setDescription("A collection of objects providing information about\nthe WWW services known by the SNMP agent.") wwwSummaryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 65, 2, 2, 2)).setObjects(*(("WWW-MIB", "wwwSummaryOutResponses"), ("WWW-MIB", "wwwSummaryOutLowBytes"), ("WWW-MIB", "wwwSummaryOutBytes"), ("WWW-MIB", "wwwSummaryInBytes"), ("WWW-MIB", "wwwSummaryInLowBytes"), ("WWW-MIB", "wwwSummaryInRequests"), ("WWW-MIB", "wwwSummaryOutRequests"), ("WWW-MIB", "wwwSummaryInResponses"), ) ) if mibBuilder.loadTexts: wwwSummaryGroup.setDescription("A collection of objects providing summary statistics\nabout requests and responses generated and received\nby a WWW service.") wwwRequestInGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 65, 2, 2, 3)).setObjects(*(("WWW-MIB", "wwwRequestInLastTime"), ("WWW-MIB", "wwwRequestInRequests"), ("WWW-MIB", "wwwRequestInBytes"), ) ) if mibBuilder.loadTexts: wwwRequestInGroup.setDescription("A collection of objects providing detailed statistics\nabout requests received by a WWW service.") wwwRequestOutGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 65, 2, 2, 4)).setObjects(*(("WWW-MIB", "wwwRequestOutBytes"), ("WWW-MIB", "wwwRequestOutLastTime"), ("WWW-MIB", "wwwRequestOutRequests"), ) ) if mibBuilder.loadTexts: wwwRequestOutGroup.setDescription("A collection of objects providing detailed statistics\nabout requests generated by a WWW service.") wwwResponseInGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 65, 2, 2, 5)).setObjects(*(("WWW-MIB", "wwwResponseInResponses"), ("WWW-MIB", "wwwResponseInBytes"), ("WWW-MIB", "wwwResponseInLastTime"), ) ) if mibBuilder.loadTexts: wwwResponseInGroup.setDescription("A collection of objects providing detailed statistics\nabout responses received by a WWW service.") wwwResponseOutGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 65, 2, 2, 6)).setObjects(*(("WWW-MIB", "wwwResponseOutLastTime"), ("WWW-MIB", "wwwResponseOutBytes"), ("WWW-MIB", "wwwResponseOutResponses"), ) ) if mibBuilder.loadTexts: wwwResponseOutGroup.setDescription("A collection of objects providing detailed statistics\nabout responses generated by a WWW service.") wwwDocumentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 65, 2, 2, 7)).setObjects(*(("WWW-MIB", "wwwDocLastNRequestType"), ("WWW-MIB", "wwwDocLastNResponseType"), ("WWW-MIB", "wwwDocBytesTopNAccesses"), ("WWW-MIB", "wwwDocLastNStatusMsg"), ("WWW-MIB", "wwwDocBucketDocuments"), ("WWW-MIB", "wwwDocLastNTimeStamp"), ("WWW-MIB", "wwwDocLastNName"), ("WWW-MIB", "wwwDocCtrlLastNSize"), ("WWW-MIB", "wwwDocAccessTopNLastResponseType"), ("WWW-MIB", "wwwDocAccessTopNName"), ("WWW-MIB", "wwwDocBytesTopNLastResponseType"), ("WWW-MIB", "wwwDocLastNBytes"), ("WWW-MIB", "wwwDocCtrlBuckets"), ("WWW-MIB", "wwwDocCtrlTopNSize"), ("WWW-MIB", "wwwDocCtrlBucketTimeInterval"), ("WWW-MIB", "wwwDocBucketAccesses"), ("WWW-MIB", "wwwDocAccessTopNAccesses"), ("WWW-MIB", "wwwDocBytesTopNName"), ("WWW-MIB", "wwwDocCtrlLastNLock"), ("WWW-MIB", "wwwDocAccessTopNBytes"), ("WWW-MIB", "wwwDocBytesTopNBytes"), ("WWW-MIB", "wwwDocBucketTimeStamp"), ("WWW-MIB", "wwwDocBucketBytes"), ) ) if mibBuilder.loadTexts: wwwDocumentGroup.setDescription("A collection of objects providing information about\naccesses to documents.") # Compliances wwwMinimalCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 65, 2, 1, 1)).setObjects(*(("WWW-MIB", "wwwSummaryGroup"), ("WWW-MIB", "wwwServiceGroup"), ) ) if mibBuilder.loadTexts: wwwMinimalCompliance.setDescription("The compliance statement for SNMP agents which implement\nthe minimal subset of the WWW-MIB. Implementors might\nchoose this subset for high-performance server where\nfull compliance might be to expensive.") wwwFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 65, 2, 1, 2)).setObjects(*(("WWW-MIB", "wwwSummaryGroup"), ("WWW-MIB", "wwwResponseOutGroup"), ("WWW-MIB", "wwwResponseInGroup"), ("WWW-MIB", "wwwDocumentGroup"), ("WWW-MIB", "wwwRequestOutGroup"), ("WWW-MIB", "wwwServiceGroup"), ("WWW-MIB", "wwwRequestInGroup"), ) ) if mibBuilder.loadTexts: wwwFullCompliance.setDescription("The compliance statement for SNMP agents which implement\nthe full WWW-MIB.") # Exports # Module identity mibBuilder.exportSymbols("WWW-MIB", PYSNMP_MODULE_ID=wwwMIB) # Types mibBuilder.exportSymbols("WWW-MIB", WwwDocName=WwwDocName, WwwOperStatus=WwwOperStatus, WwwRequestType=WwwRequestType, WwwResponseType=WwwResponseType) # Objects mibBuilder.exportSymbols("WWW-MIB", wwwMIB=wwwMIB, wwwMIBObjects=wwwMIBObjects, wwwService=wwwService, wwwServiceTable=wwwServiceTable, wwwServiceEntry=wwwServiceEntry, wwwServiceIndex=wwwServiceIndex, wwwServiceDescription=wwwServiceDescription, wwwServiceContact=wwwServiceContact, wwwServiceProtocol=wwwServiceProtocol, wwwServiceName=wwwServiceName, wwwServiceType=wwwServiceType, wwwServiceStartTime=wwwServiceStartTime, wwwServiceOperStatus=wwwServiceOperStatus, wwwServiceLastChange=wwwServiceLastChange, wwwProtocolStatistics=wwwProtocolStatistics, wwwSummaryTable=wwwSummaryTable, wwwSummaryEntry=wwwSummaryEntry, wwwSummaryInRequests=wwwSummaryInRequests, wwwSummaryOutRequests=wwwSummaryOutRequests, wwwSummaryInResponses=wwwSummaryInResponses, wwwSummaryOutResponses=wwwSummaryOutResponses, wwwSummaryInBytes=wwwSummaryInBytes, wwwSummaryInLowBytes=wwwSummaryInLowBytes, wwwSummaryOutBytes=wwwSummaryOutBytes, wwwSummaryOutLowBytes=wwwSummaryOutLowBytes, wwwRequestInTable=wwwRequestInTable, wwwRequestInEntry=wwwRequestInEntry, wwwRequestInIndex=wwwRequestInIndex, wwwRequestInRequests=wwwRequestInRequests, wwwRequestInBytes=wwwRequestInBytes, wwwRequestInLastTime=wwwRequestInLastTime, wwwRequestOutTable=wwwRequestOutTable, wwwRequestOutEntry=wwwRequestOutEntry, wwwRequestOutIndex=wwwRequestOutIndex, wwwRequestOutRequests=wwwRequestOutRequests, wwwRequestOutBytes=wwwRequestOutBytes, wwwRequestOutLastTime=wwwRequestOutLastTime, wwwResponseInTable=wwwResponseInTable, wwwResponseInEntry=wwwResponseInEntry, wwwResponseInIndex=wwwResponseInIndex, wwwResponseInResponses=wwwResponseInResponses, wwwResponseInBytes=wwwResponseInBytes, wwwResponseInLastTime=wwwResponseInLastTime, wwwResponseOutTable=wwwResponseOutTable, wwwResponseOutEntry=wwwResponseOutEntry, wwwResponseOutIndex=wwwResponseOutIndex, wwwResponseOutResponses=wwwResponseOutResponses, wwwResponseOutBytes=wwwResponseOutBytes, wwwResponseOutLastTime=wwwResponseOutLastTime, wwwDocumentStatistics=wwwDocumentStatistics, wwwDocCtrlTable=wwwDocCtrlTable, wwwDocCtrlEntry=wwwDocCtrlEntry, wwwDocCtrlLastNSize=wwwDocCtrlLastNSize, wwwDocCtrlLastNLock=wwwDocCtrlLastNLock, wwwDocCtrlBuckets=wwwDocCtrlBuckets, wwwDocCtrlBucketTimeInterval=wwwDocCtrlBucketTimeInterval, wwwDocCtrlTopNSize=wwwDocCtrlTopNSize, wwwDocLastNTable=wwwDocLastNTable, wwwDocLastNEntry=wwwDocLastNEntry, wwwDocLastNIndex=wwwDocLastNIndex, wwwDocLastNName=wwwDocLastNName, wwwDocLastNTimeStamp=wwwDocLastNTimeStamp, wwwDocLastNRequestType=wwwDocLastNRequestType, wwwDocLastNResponseType=wwwDocLastNResponseType, wwwDocLastNStatusMsg=wwwDocLastNStatusMsg, wwwDocLastNBytes=wwwDocLastNBytes, wwwDocBucketTable=wwwDocBucketTable, wwwDocBucketEntry=wwwDocBucketEntry, wwwDocBucketIndex=wwwDocBucketIndex, wwwDocBucketTimeStamp=wwwDocBucketTimeStamp, wwwDocBucketAccesses=wwwDocBucketAccesses, wwwDocBucketDocuments=wwwDocBucketDocuments, wwwDocBucketBytes=wwwDocBucketBytes, wwwDocAccessTopNTable=wwwDocAccessTopNTable, wwwDocAccessTopNEntry=wwwDocAccessTopNEntry, wwwDocAccessTopNIndex=wwwDocAccessTopNIndex, wwwDocAccessTopNName=wwwDocAccessTopNName, wwwDocAccessTopNAccesses=wwwDocAccessTopNAccesses, wwwDocAccessTopNBytes=wwwDocAccessTopNBytes, wwwDocAccessTopNLastResponseType=wwwDocAccessTopNLastResponseType, wwwDocBytesTopNTable=wwwDocBytesTopNTable, wwwDocBytesTopNEntry=wwwDocBytesTopNEntry, wwwDocBytesTopNIndex=wwwDocBytesTopNIndex, wwwDocBytesTopNName=wwwDocBytesTopNName, wwwDocBytesTopNAccesses=wwwDocBytesTopNAccesses, wwwDocBytesTopNBytes=wwwDocBytesTopNBytes, wwwDocBytesTopNLastResponseType=wwwDocBytesTopNLastResponseType, wwwMIBConformance=wwwMIBConformance, wwwMIBCompliances=wwwMIBCompliances, wwwMIBGroups=wwwMIBGroups) # Groups mibBuilder.exportSymbols("WWW-MIB", wwwServiceGroup=wwwServiceGroup, wwwSummaryGroup=wwwSummaryGroup, wwwRequestInGroup=wwwRequestInGroup, wwwRequestOutGroup=wwwRequestOutGroup, wwwResponseInGroup=wwwResponseInGroup, wwwResponseOutGroup=wwwResponseOutGroup, wwwDocumentGroup=wwwDocumentGroup) # Compliances mibBuilder.exportSymbols("WWW-MIB", wwwMinimalCompliance=wwwMinimalCompliance, wwwFullCompliance=wwwFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB.py0000644000014400001440000016223611736645135024350 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:51 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( docsDevEvId, docsDevEvLevel, docsDevEvText, docsDevServerDhcp, docsDevServerTime, docsDevSwFilename, docsDevSwServer, ) = mibBuilder.importSymbols("DOCS-CABLE-DEVICE-MIB", "docsDevEvId", "docsDevEvLevel", "docsDevEvText", "docsDevServerDhcp", "docsDevServerTime", "docsDevSwFilename", "docsDevSwServer") ( docsIfCmCmtsAddress, docsIfCmStatusDocsisOperMode, docsIfCmStatusModulationType, docsIfCmtsCmStatusDocsisRegMode, docsIfCmtsCmStatusMacAddress, docsIfCmtsCmStatusModulationType, docsIfDocsisBaseCapability, ) = mibBuilder.importSymbols("DOCS-IF-MIB", "docsIfCmCmtsAddress", "docsIfCmStatusDocsisOperMode", "docsIfCmStatusModulationType", "docsIfCmtsCmStatusDocsisRegMode", "docsIfCmtsCmStatusMacAddress", "docsIfCmtsCmStatusModulationType", "docsIfDocsisBaseCapability") ( ifPhysAddress, ) = mibBuilder.importSymbols("IF-MIB", "ifPhysAddress") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") # Objects docsDevNotifMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 132)).setRevisions(("2006-05-24 00:00",)) if mibBuilder.loadTexts: docsDevNotifMIB.setOrganization("IETF IP over Cable Data Network\nWorking Group") if mibBuilder.loadTexts: docsDevNotifMIB.setContactInfo(" Azlina Ahmad\nPostal: Cisco Systems, Inc.\n 170 West Tasman Drive\n San Jose, CA 95134, U.S.A.\nPhone: 408 853 7927\nE-mail: azlina@cisco.com\n\n Greg Nakanishi\nPostal: Motorola\n 6450 Sequence Drive\n San Diego, CA 92121, U.S.A.\nPhone: 858 404 2366\nE-mail: gnakanishi@motorola.com\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\n\n\n\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-chairs: Richard Woundy,\n richard_woundy@cable.comcast.com\n Jean-Francois Mule, jf.mule@cablelabs.com") if mibBuilder.loadTexts: docsDevNotifMIB.setDescription("The Event Notification MIB is an extension of the\nCABLE DEVICE MIB. It defines various notification\nobjects for both cable modem and cable modem termination\nsystems. Two groups of SNMP notification objects are\ndefined. One group is for notifying cable modem events,\nand one group is for notifying cable modem termination\nsystem events.\n\nDOCSIS defines numerous events, and each event is\nassigned to a functional category. This MIB defines\na notification object for each functional category.\nThe varbinding list of each notification includes\ninformation about the event that occurred on the\ndevice.\n\nCopyright (C) The Internet Society (2006). This version\nof this MIB module is part of RFC 4547; see the RFC\nitself for full legal notices.") docsDevNotifControl = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 1)) docsDevCmNotifControl = MibScalar((1, 3, 6, 1, 2, 1, 132, 1, 1), Bits().subtype(namedValues=NamedValues(("cmInitTLVUnknownNotif", 0), ("cmDynServReqFailNotif", 1), ("cmSwUpgradeSuccessNotif", 10), ("cmSwUpgradeCVCNotif", 11), ("cmTODFailNotif", 12), ("cmDCCReqFailNotif", 13), ("cmDCCRspFailNotif", 14), ("cmDCCAckFailNotif", 15), ("cmDynServRspFailNotif", 2), ("cmDynServAckFailNotif", 3), ("cmBpiInitNotif", 4), ("cmBPKMNotif", 5), ("cmDynamicSANotif", 6), ("cmDHCPFailNotif", 7), ("cmSwUpgradeInitNotif", 8), ("cmSwUpgradeFailNotif", 9), )).clone(())).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevCmNotifControl.setDescription("The object is used to enable specific CM notifications.\nFor example, if the first bit is set, then\ndocsDevCmInitTLVUnknownNotif is enabled. If it is not set,\nthe notification is disabled. Note that notifications are\nalso under the control of the MIB modules defined in\nRFC3413.\n\nIf the device is rebooted,the value of this object SHOULD\nrevert to the default value.") docsDevCmtsNotifControl = MibScalar((1, 3, 6, 1, 2, 1, 132, 1, 2), Bits().subtype(namedValues=NamedValues(("cmtsInitRegReqFailNotif", 0), ("cmtsInitRegRspFailNotif", 1), ("cmtsDCCRspFailNotif", 10), ("cmtsDCCAckFailNotif", 11), ("cmtsInitRegAckFailNotif", 2), ("cmtsDynServReqFailNotif", 3), ("cmtsDynServRspFailNotif", 4), ("cmtsDynServAckFailNotif", 5), ("cmtsBpiInitNotif", 6), ("cmtsBPKMNotif", 7), ("cmtsDynamicSANotif", 8), ("cmtsDCCReqFailNotif", 9), )).clone(())).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevCmtsNotifControl.setDescription("The object is used to enable specific CMTS notifications.\nFor example, if the first bit is set, then\ndocsDevCmtsInitRegRspFailNotif is enabled. If it is not set,\nthe notification is disabled. Note that notifications are\nalso under the control of the MIB modules defined in\nRFC3413.\n\n\n\n\nIf the device is rebooted,the value of this object SHOULD\nrevert to the default value.") docsDevCmNotifs = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 2, 0)) docsDevCmtsNotifs = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 3, 0)) docsDevNotifConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 4)) docsDevNotifGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 4, 1)) docsDevNotifCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 132, 4, 2)) # Augmentions # Notifications docsDevCmInitTLVUnknownNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 1)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmInitTLVUnknownNotif.setDescription("Notification to indicate that an unknown TLV was\nencountered during the TLV parsing process.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDynServReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 2)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDynServReqFailNotif.setDescription("A notification to report the failure of a dynamic service\nrequest during the dynamic services process.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected to (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDynServRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 3)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDynServRspFailNotif.setDescription(" A notification to report the failure of a dynamic service\nresponse during the dynamic services process.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDynServAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 4)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDynServAckFailNotif.setDescription("A notification to report the failure of a dynamic service\nacknowledgement during the dynamic services process.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmBpiInitNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 5)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmBpiInitNotif.setDescription("A notification to report the failure of a BPI\ninitialization attempt during the registration process.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n\n\n\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmBPKMNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 6)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmBPKMNotif.setDescription("A notification to report the failure of a Baseline\nPrivacy Key Management (BPKM) operation.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n\n\n\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDynamicSANotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 7)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDynamicSANotif.setDescription("A notification to report the failure of a dynamic security\nassociation operation.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDHCPFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 8)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerDhcp"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDHCPFailNotif.setDescription("A notification to report the failure of a DHCP operation.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsDevServerDhcp: the IP address of the DHCP server.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmSwUpgradeInitNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 9)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwServer"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwFilename"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmSwUpgradeInitNotif.setDescription("A notification to indicate that a software upgrade\nhas been initiated on the device.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmSwUpgradeFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 10)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwServer"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwFilename"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmSwUpgradeFailNotif.setDescription("A notification to report the failure of a software upgrade\nattempt.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsDevSwFilename: the software image file name\n- docsDevSwServer: the IP address of the server that\n the image is retrieved from.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmSwUpgradeSuccessNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 11)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwServer"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwFilename"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmSwUpgradeSuccessNotif.setDescription("A notification to report the software upgrade success\nstatus.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsDevSwFilename: the software image file name\n- docsDevSwServer: the IP address of the server that\n the image is retrieved from.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmSwUpgradeCVCFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 12)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmSwUpgradeCVCFailNotif.setDescription("A notification to report that the verification of the\ncode file has failed during a secure software upgrade\nattempt.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmTODFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 13)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerTime"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmTODFailNotif.setDescription("A notification to report the failure of a time of day\n\n\n\noperation.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsDevServerTime: the IP address of the time server.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDCCReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 14)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDCCReqFailNotif.setDescription(" A notification to report the failure of a dynamic channel\nchange request during the dynamic channel change process\non the CM.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n\n\n\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDCCRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 15)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDCCRspFailNotif.setDescription("A notification to report the failure of a dynamic channel\nchange response during the dynamic channel\nchange process on the CM.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n\n\n\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmStatusModulationType: the upstream modulation\n methodology used by the CM.") docsDevCmDCCAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 2, 0, 16)).setObjects(*(("DOCS-IF-MIB", "docsIfCmStatusModulationType"), ("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmCmtsAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmStatusDocsisOperMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmDCCAckFailNotif.setDescription("A notification to report the failure of a dynamic channel\nchange acknowledgement during the dynamic channel\nchange process on the CM.\n\nThis notification sends additional information about\nthe event by including the following objects in its\n\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- ifPhysAddress: the MAC address of the cable\n interface of this cable modem.\n- docsIfCmCmtsAddress: the MAC address of the CMTS\n to which the CM is connected (if there is a cable\n card/interface in the CMTS, then it is actually the\n MAC address of the cable interface to which it is\n\n\n\n connected).\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmStatusDocsisOperMode: the QOS level (1.0, 1.1)\n that the CM is operating in.\n- docsIfCmtsCmStatusModulationType the upstream modulation\n methodology used by the CM.") docsDevCmtsInitRegReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 1)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsInitRegReqFailNotif.setDescription("A notification to report the failure of a registration\nrequest from a CM during the CM initialization\nprocess that was detected on the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsInitRegRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 2)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsInitRegRspFailNotif.setDescription("A notification to report the failure of a registration\nresponse during the CM initialization\nprocess that was detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsInitRegAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 3)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsInitRegAckFailNotif.setDescription("A notification to report the failure of a registration\nacknowledgement from the CM during the CM\ninitialization process that was detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsDynServReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 4)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsDynServReqFailNotif.setDescription("A notification to report the failure of a dynamic service\nrequest during the dynamic services process\nthat was detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsDynServRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 5)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsDynServRspFailNotif.setDescription("A notification to report the failure of a dynamic service\nresponse during the dynamic services process\nthat was detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsDynServAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 6)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsDynServAckFailNotif.setDescription("A notification to report the failure of a dynamic service\nacknowledgement during the dynamic services\nprocess that was detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\n\n\n\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsBpiInitNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 7)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsBpiInitNotif.setDescription("A notification to report the failure of a BPI\ninitialization attempt during the CM registration process\nthat was detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n\n\n\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsBPKMNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 8)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsBPKMNotif.setDescription("A notification to report the failure of a BPKM operation\nthat is detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n\n\n\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsDynamicSANotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 9)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsDynamicSANotif.setDescription("A notification to report the failure of a dynamic security\nassociation operation that is detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n\n\n\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsDCCReqFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 10)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsDCCReqFailNotif.setDescription("A notification to report the failure of a dynamic channel\nchange request during the dynamic channel\nchange process and is detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsDCCRspFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 11)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsDCCRspFailNotif.setDescription("A notification to report the failure of a dynamic channel\nchange response during the dynamic channel\nchange process and is detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") docsDevCmtsDCCAckFailNotif = NotificationType((1, 3, 6, 1, 2, 1, 132, 3, 0, 12)).setObjects(*(("DOCS-IF-MIB", "docsIfDocsisBaseCapability"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusModulationType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusMacAddress"), ("DOCS-IF-MIB", "docsIfCmtsCmStatusDocsisRegMode"), ("IF-MIB", "ifPhysAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ) ) if mibBuilder.loadTexts: docsDevCmtsDCCAckFailNotif.setDescription("A notification to report the failure of a dynamic channel\nchange acknowledgement during the dynamic channel\nchange process and is detected by the CMTS.\n\nThis notification sends additional information about\nthe event by including the following objects in its\nvarbinding list.\n- docsDevEvLevel: the priority level associated with the\n event.\n- docsDevEvId: the unique identifier of the event that\n occurred.\n- docsDevEvText: a textual description of the event.\n- docsIfCmtsCmStatusMacAddress: the MAC address of the CM\n with which this notification is associated.\n- ifPhysAddress: the MAC address of the CMTS\n (if there is a cable card/interface in the CMTS,\n then it is actually the MAC address of the cable\n interface that connected to the CM) cable interface\n connected to the CM.\n- docsIfCmtsCmStatusDocsisRegMode: the QOS level (1.0, 1.1)\n that the reporting CM is operating in.\n- docsIfDocsisBaseCapability: the highest\n version of the DOCSIS specification (1.0, 1.1, 2.0)\n that the device is capable of supporting.\n- docsIfCmtsCmStatusModulationType: the upstream\n modulation methodology used by the CM.") # Groups docsDevCmNotifControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 1)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmNotifControl"), ) ) if mibBuilder.loadTexts: docsDevCmNotifControlGroup.setDescription("This group represents objects that allow control\nover CM Notifications.") docsDevCmNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 2)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynServAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDCCRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDHCPFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynamicSANotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynServRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmInitTLVUnknownNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeSuccessNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeInitNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeCVCFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDCCReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDCCAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmDynServReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmTODFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmBPKMNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmSwUpgradeFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmBpiInitNotif"), ) ) if mibBuilder.loadTexts: docsDevCmNotificationGroup.setDescription("A collection of CM notifications providing device status\nand control.") docsDevCmtsNotifControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 3)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsNotifControl"), ) ) if mibBuilder.loadTexts: docsDevCmtsNotifControlGroup.setDescription("This group represents objects that allow control\nover CMTS Notifications.") docsDevCmtsNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 132, 4, 1, 4)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynServRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynServAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsBPKMNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDCCReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynServReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsInitRegAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsInitRegReqFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsBpiInitNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsInitRegRspFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDynamicSANotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDCCAckFailNotif"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsDCCRspFailNotif"), ) ) if mibBuilder.loadTexts: docsDevCmtsNotificationGroup.setDescription("A collection of CMTS notifications providing device\nstatus and control.") # Compliances docsDevCmNotifCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 132, 4, 2, 1)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmNotificationGroup"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmNotifControlGroup"), ) ) if mibBuilder.loadTexts: docsDevCmNotifCompliance.setDescription("The compliance statement for CM Notifications and Control.") docsDevCmtsNotifCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 132, 4, 2, 2)).setObjects(*(("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsNotifControlGroup"), ("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", "docsDevCmtsNotificationGroup"), ) ) if mibBuilder.loadTexts: docsDevCmtsNotifCompliance.setDescription("The compliance statement for DOCSIS CMTS Notification\nand Control.") # Exports # Module identity mibBuilder.exportSymbols("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", PYSNMP_MODULE_ID=docsDevNotifMIB) # Objects mibBuilder.exportSymbols("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", docsDevNotifMIB=docsDevNotifMIB, docsDevNotifControl=docsDevNotifControl, docsDevCmNotifControl=docsDevCmNotifControl, docsDevCmtsNotifControl=docsDevCmtsNotifControl, docsDevCmNotifs=docsDevCmNotifs, docsDevCmtsNotifs=docsDevCmtsNotifs, docsDevNotifConformance=docsDevNotifConformance, docsDevNotifGroups=docsDevNotifGroups, docsDevNotifCompliances=docsDevNotifCompliances) # Notifications mibBuilder.exportSymbols("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", docsDevCmInitTLVUnknownNotif=docsDevCmInitTLVUnknownNotif, docsDevCmDynServReqFailNotif=docsDevCmDynServReqFailNotif, docsDevCmDynServRspFailNotif=docsDevCmDynServRspFailNotif, docsDevCmDynServAckFailNotif=docsDevCmDynServAckFailNotif, docsDevCmBpiInitNotif=docsDevCmBpiInitNotif, docsDevCmBPKMNotif=docsDevCmBPKMNotif, docsDevCmDynamicSANotif=docsDevCmDynamicSANotif, docsDevCmDHCPFailNotif=docsDevCmDHCPFailNotif, docsDevCmSwUpgradeInitNotif=docsDevCmSwUpgradeInitNotif, docsDevCmSwUpgradeFailNotif=docsDevCmSwUpgradeFailNotif, docsDevCmSwUpgradeSuccessNotif=docsDevCmSwUpgradeSuccessNotif, docsDevCmSwUpgradeCVCFailNotif=docsDevCmSwUpgradeCVCFailNotif, docsDevCmTODFailNotif=docsDevCmTODFailNotif, docsDevCmDCCReqFailNotif=docsDevCmDCCReqFailNotif, docsDevCmDCCRspFailNotif=docsDevCmDCCRspFailNotif, docsDevCmDCCAckFailNotif=docsDevCmDCCAckFailNotif, docsDevCmtsInitRegReqFailNotif=docsDevCmtsInitRegReqFailNotif, docsDevCmtsInitRegRspFailNotif=docsDevCmtsInitRegRspFailNotif, docsDevCmtsInitRegAckFailNotif=docsDevCmtsInitRegAckFailNotif, docsDevCmtsDynServReqFailNotif=docsDevCmtsDynServReqFailNotif, docsDevCmtsDynServRspFailNotif=docsDevCmtsDynServRspFailNotif, docsDevCmtsDynServAckFailNotif=docsDevCmtsDynServAckFailNotif, docsDevCmtsBpiInitNotif=docsDevCmtsBpiInitNotif, docsDevCmtsBPKMNotif=docsDevCmtsBPKMNotif, docsDevCmtsDynamicSANotif=docsDevCmtsDynamicSANotif, docsDevCmtsDCCReqFailNotif=docsDevCmtsDCCReqFailNotif, docsDevCmtsDCCRspFailNotif=docsDevCmtsDCCRspFailNotif, docsDevCmtsDCCAckFailNotif=docsDevCmtsDCCAckFailNotif) # Groups mibBuilder.exportSymbols("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", docsDevCmNotifControlGroup=docsDevCmNotifControlGroup, docsDevCmNotificationGroup=docsDevCmNotificationGroup, docsDevCmtsNotifControlGroup=docsDevCmtsNotifControlGroup, docsDevCmtsNotificationGroup=docsDevCmtsNotificationGroup) # Compliances mibBuilder.exportSymbols("DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB", docsDevCmNotifCompliance=docsDevCmNotifCompliance, docsDevCmtsNotifCompliance=docsDevCmtsNotifCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PINT-MIB.py0000644000014400001440000004733611736645137020225 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PINT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:26 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") ( sysApplInstallPkgEntry, ) = mibBuilder.importSymbols("SYSAPPL-MIB", "sysApplInstallPkgEntry") # Types class PintPerfStatPeriod(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,2,1,) namedValues = NamedValues(("last30sec", 1), ("last15min", 2), ("last24Hr", 3), ("sinceReboot", 4), ) class PintServiceType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,1,3,) namedValues = NamedValues(("r2C", 1), ("r2F", 2), ("r2FB", 3), ("r2HC", 4), ) # Objects pintMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 93)).setRevisions(("2001-02-01 00:00",)) if mibBuilder.loadTexts: pintMib.setOrganization("IETF PINT Working Group") if mibBuilder.loadTexts: pintMib.setContactInfo("\nChairs: Steve Bellovin\n E-mail: smb@research.att.com\n\n Igor Faynberg\n E-mail: faynberg@lucent.com\n\nAuthors: Murali Krishnaswamy\n Postal: 20 Corporate Place South\n Piscataway, NJ 08854\n Tel: +1 (732)465-1000\n\n\n E-mail: murali@photuris.com\n\n Dan Romascanu\n Postal: Atidim Technology Park, Bldg 3\n Tel Aviv, Israel\n Tel: +972 3 6458414\n E-mail: dromasca@avaya.com\n\nGeneral Discussion:pint@lists.bell-labs.com\nTo Subscribe: pint-request@lists.bell-labs.com\nIn Body: subscribe your-email-addres\nArchive: http://www.bell-labs.com/mailing-lists/pint/") if mibBuilder.loadTexts: pintMib.setDescription("This MIB defines the objects necessary to monitor\nPINT Services") pintServerConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 1)) pintReleaseNumber = MibScalar((1, 3, 6, 1, 2, 1, 93, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintReleaseNumber.setDescription("An indication of version of the PINT protocol supported\nby this agent.") pintSysContact = MibScalar((1, 3, 6, 1, 2, 1, 93, 1, 2), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pintSysContact.setDescription("Contact information related to the administration of the PINT\nservices.") pintApplInstallPkgTable = MibTable((1, 3, 6, 1, 2, 1, 93, 1, 3)) if mibBuilder.loadTexts: pintApplInstallPkgTable.setDescription("Table describing the PINT applications that are installed.") pintApplInstallPkgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 93, 1, 3, 1)) if mibBuilder.loadTexts: pintApplInstallPkgEntry.setDescription("Entries per PINT Application.") pintApplInstallPkgDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 1, 3, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintApplInstallPkgDescription.setDescription("Textual description of the installed PINT application.") pintRegisteredGatewayTable = MibTable((1, 3, 6, 1, 2, 1, 93, 1, 4)) if mibBuilder.loadTexts: pintRegisteredGatewayTable.setDescription("Table describing the registered gateway applications.") pintRegisteredGatewayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 93, 1, 4, 1)) if mibBuilder.loadTexts: pintRegisteredGatewayEntry.setDescription("Entries per Registered Gateway Application.") pintRegisteredGatewayName = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 1, 4, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintRegisteredGatewayName.setDescription("Name of the registered gateway.") pintRegisteredGatewayDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 1, 4, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintRegisteredGatewayDescription.setDescription("Textual description of the registered gateway.") pintServerMonitor = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 2)) pintServerGlobalPerf = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 2, 1)) pintServerGlobalStatsTable = MibTable((1, 3, 6, 1, 2, 1, 93, 2, 1, 1)) if mibBuilder.loadTexts: pintServerGlobalStatsTable.setDescription("Table displaying the monitored global server statistics.") pintServerGlobalStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1)).setIndexNames((0, "PINT-MIB", "pintServerServiceTypeIndex"), (0, "PINT-MIB", "pintServerPerfStatPeriodIndex")) if mibBuilder.loadTexts: pintServerGlobalStatsEntry.setDescription("Entries in the global statistics table.\nOne entry is defined for each monitored service type and\nperformance statistics collection period.") pintServerServiceTypeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 1), PintServiceType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pintServerServiceTypeIndex.setDescription("The unique identifier of the monitored service.") pintServerPerfStatPeriodIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 2), PintPerfStatPeriod()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pintServerPerfStatPeriodIndex.setDescription("Time period for which the performance statistics are requested\nfrom the pint server.") pintServerGlobalCallsReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGlobalCallsReceived.setDescription("Number of received global calls.") pintServerGlobalSuccessfulCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGlobalSuccessfulCalls.setDescription("Number of global successful calls.") pintServerGlobalDisconnectedCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGlobalDisconnectedCalls.setDescription("Number of global disconnected (failed) calls.") pintServerGlobalDisCUAutFCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGlobalDisCUAutFCalls.setDescription("Number of global calls that were disconnected because of client\nor user authorization failure.") pintServerGlobalDisServProbCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGlobalDisServProbCalls.setDescription("Number of global calls that were disconnected because of\nserver problems.") pintServerGlobalDisGatProbCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGlobalDisGatProbCalls.setDescription("Number of global calls that were disconnected because of\ngateway problems.") pintServerClientPerf = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 2, 2)) pintServerClientStatsTable = MibTable((1, 3, 6, 1, 2, 1, 93, 2, 2, 1)) if mibBuilder.loadTexts: pintServerClientStatsTable.setDescription("Table displaying the monitored server client statistics.") pintServerClientStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 93, 2, 2, 1, 1)).setIndexNames((0, "PINT-MIB", "pintServerClientAddress"), (0, "PINT-MIB", "pintServerServiceTypeIndex"), (0, "PINT-MIB", "pintServerPerfStatPeriodIndex")) if mibBuilder.loadTexts: pintServerClientStatsEntry.setDescription("Entries in the client server statistics table.\nOne entry is defined for each client identified by name,\nmonitored service type and performance statistics collection\nperiod.") pintServerClientAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 2, 1, 1, 1), SnmpAdminString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pintServerClientAddress.setDescription("The unique identifier of the monitored client\nidentified by its address represented as as a string.") pintServerClientCallsReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerClientCallsReceived.setDescription("Number of calls received from the specific client.") pintServerClientSuccessfulCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerClientSuccessfulCalls.setDescription("Number of calls from the client successfully completed.") pintServerClientDisconnectedCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerClientDisconnectedCalls.setDescription("Number of calls received from the client, and that were\ndisconnected (failed).") pintServerClientDisCAutFCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerClientDisCAutFCalls.setDescription("Number of calls from the client that were disconnected because of\nclient authorization failure.") pintServerClientDisEFProbCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerClientDisEFProbCalls.setDescription("Number of calls from the client that were disconnected because\nof egress facility problems.") pintServerUserIdPerf = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 2, 3)) pintServerUserIdStatsTable = MibTable((1, 3, 6, 1, 2, 1, 93, 2, 3, 1)) if mibBuilder.loadTexts: pintServerUserIdStatsTable.setDescription("Table displaying the monitored Pint service user statistics.") pintServerUserIdStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 93, 2, 3, 1, 1)).setIndexNames((0, "PINT-MIB", "pintServerUserIdName"), (0, "PINT-MIB", "pintServerServiceTypeIndex"), (0, "PINT-MIB", "pintServerPerfStatPeriodIndex")) if mibBuilder.loadTexts: pintServerUserIdStatsEntry.setDescription("Entries in the user statistics table.\nOne entry is defined for each user identified by name,\neach monitored service type and performance statistics collection\nperiod.\n\n It is assumed that the capabilities of the pint server\n are enough to accommodate the number of entries in this table.\n It is a local server implementation issue if an aging mechanism\n Is implemented in order to avoid scalability problems.") pintServerUserIdName = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 3, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pintServerUserIdName.setDescription("The unique identifier of the monitored user\nidentified by its name.") pintServerUserIdCallsReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerUserIdCallsReceived.setDescription("Number of calls received from the specific user.") pintServerUserIdSuccessfulCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerUserIdSuccessfulCalls.setDescription("Number of calls from the user successfully completed.") pintServerUserIdDisconnectedCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerUserIdDisconnectedCalls.setDescription("Number of calls received from the user that were\ndisconnected (failed).") pintServerUserIdDiscUIdAFailCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerUserIdDiscUIdAFailCalls.setDescription("Number of calls from the user that were disconnected because of\nuser authorization failure.") pintServerUserIdEFProbCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerUserIdEFProbCalls.setDescription("Number of calls from the user that were disconnected because of\negress facility problems.") pintServerGatewayPerf = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 2, 4)) pintServerGatewayStatsTable = MibTable((1, 3, 6, 1, 2, 1, 93, 2, 4, 1)) if mibBuilder.loadTexts: pintServerGatewayStatsTable.setDescription("Table displaying the monitored gateway statistics.") pintServerGatewayStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 93, 2, 4, 1, 1)).setIndexNames((0, "PINT-MIB", "pintRegisteredGatewayName"), (0, "PINT-MIB", "pintServerServiceTypeIndex"), (0, "PINT-MIB", "pintServerPerfStatPeriodIndex")) if mibBuilder.loadTexts: pintServerGatewayStatsEntry.setDescription("Entries in the gateway table.\nOne entry is defined for each gateway identified by name,\neach monitored service type and performance statistics collection\nperiod.") pintServerGatewayCallsReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 4, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGatewayCallsReceived.setDescription("Number of calls received at the specified gateway.") pintServerGatewaySuccessfulCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 4, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGatewaySuccessfulCalls.setDescription("Number of calls successfully completed at the specified gateway.") pintServerGatewayDisconnectedCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 93, 2, 4, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pintServerGatewayDisconnectedCalls.setDescription("Number of calls that were disconnected (failed) at the specified\ngateway.") pintMibConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 3)) pintMibCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 3, 1)) pintMibGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 93, 3, 2)) # Augmentions sysApplInstallPkgEntry, = mibBuilder.importSymbols("SYSAPPL-MIB", "sysApplInstallPkgEntry") sysApplInstallPkgEntry.registerAugmentions(("PINT-MIB", "pintRegisteredGatewayEntry")) pintRegisteredGatewayEntry.setIndexNames(*sysApplInstallPkgEntry.getIndexNames()) sysApplInstallPkgEntry, = mibBuilder.importSymbols("SYSAPPL-MIB", "sysApplInstallPkgEntry") sysApplInstallPkgEntry.registerAugmentions(("PINT-MIB", "pintApplInstallPkgEntry")) pintApplInstallPkgEntry.setIndexNames(*sysApplInstallPkgEntry.getIndexNames()) # Groups pintMibConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 93, 3, 2, 1)).setObjects(*(("PINT-MIB", "pintSysContact"), ("PINT-MIB", "pintApplInstallPkgDescription"), ("PINT-MIB", "pintRegisteredGatewayDescription"), ("PINT-MIB", "pintReleaseNumber"), ("PINT-MIB", "pintRegisteredGatewayName"), ) ) if mibBuilder.loadTexts: pintMibConfigGroup.setDescription("A collection of objects providing configuration\ninformation\nfor a PINT Server.") pintMibMonitorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 93, 3, 2, 2)).setObjects(*(("PINT-MIB", "pintServerGatewayCallsReceived"), ("PINT-MIB", "pintServerGatewaySuccessfulCalls"), ("PINT-MIB", "pintServerGlobalDisGatProbCalls"), ("PINT-MIB", "pintServerGlobalSuccessfulCalls"), ("PINT-MIB", "pintServerUserIdDisconnectedCalls"), ("PINT-MIB", "pintServerClientDisEFProbCalls"), ("PINT-MIB", "pintServerClientSuccessfulCalls"), ("PINT-MIB", "pintServerGlobalDisconnectedCalls"), ("PINT-MIB", "pintServerUserIdEFProbCalls"), ("PINT-MIB", "pintServerGlobalDisCUAutFCalls"), ("PINT-MIB", "pintServerGlobalDisServProbCalls"), ("PINT-MIB", "pintServerGatewayDisconnectedCalls"), ("PINT-MIB", "pintServerClientCallsReceived"), ("PINT-MIB", "pintServerGlobalCallsReceived"), ("PINT-MIB", "pintServerUserIdSuccessfulCalls"), ("PINT-MIB", "pintServerUserIdCallsReceived"), ("PINT-MIB", "pintServerUserIdDiscUIdAFailCalls"), ("PINT-MIB", "pintServerClientDisconnectedCalls"), ("PINT-MIB", "pintServerClientDisCAutFCalls"), ) ) if mibBuilder.loadTexts: pintMibMonitorGroup.setDescription("A collection of objects providing monitoring\ninformation\nfor a PINT Server.") # Compliances pintMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 93, 3, 1, 1)).setObjects(*(("PINT-MIB", "pintMibMonitorGroup"), ("PINT-MIB", "pintMibConfigGroup"), ) ) if mibBuilder.loadTexts: pintMibCompliance.setDescription("Describes the requirements for conformance to the\nPINT MIB.") # Exports # Module identity mibBuilder.exportSymbols("PINT-MIB", PYSNMP_MODULE_ID=pintMib) # Types mibBuilder.exportSymbols("PINT-MIB", PintPerfStatPeriod=PintPerfStatPeriod, PintServiceType=PintServiceType) # Objects mibBuilder.exportSymbols("PINT-MIB", pintMib=pintMib, pintServerConfig=pintServerConfig, pintReleaseNumber=pintReleaseNumber, pintSysContact=pintSysContact, pintApplInstallPkgTable=pintApplInstallPkgTable, pintApplInstallPkgEntry=pintApplInstallPkgEntry, pintApplInstallPkgDescription=pintApplInstallPkgDescription, pintRegisteredGatewayTable=pintRegisteredGatewayTable, pintRegisteredGatewayEntry=pintRegisteredGatewayEntry, pintRegisteredGatewayName=pintRegisteredGatewayName, pintRegisteredGatewayDescription=pintRegisteredGatewayDescription, pintServerMonitor=pintServerMonitor, pintServerGlobalPerf=pintServerGlobalPerf, pintServerGlobalStatsTable=pintServerGlobalStatsTable, pintServerGlobalStatsEntry=pintServerGlobalStatsEntry, pintServerServiceTypeIndex=pintServerServiceTypeIndex, pintServerPerfStatPeriodIndex=pintServerPerfStatPeriodIndex, pintServerGlobalCallsReceived=pintServerGlobalCallsReceived, pintServerGlobalSuccessfulCalls=pintServerGlobalSuccessfulCalls, pintServerGlobalDisconnectedCalls=pintServerGlobalDisconnectedCalls, pintServerGlobalDisCUAutFCalls=pintServerGlobalDisCUAutFCalls, pintServerGlobalDisServProbCalls=pintServerGlobalDisServProbCalls, pintServerGlobalDisGatProbCalls=pintServerGlobalDisGatProbCalls, pintServerClientPerf=pintServerClientPerf, pintServerClientStatsTable=pintServerClientStatsTable, pintServerClientStatsEntry=pintServerClientStatsEntry, pintServerClientAddress=pintServerClientAddress, pintServerClientCallsReceived=pintServerClientCallsReceived, pintServerClientSuccessfulCalls=pintServerClientSuccessfulCalls, pintServerClientDisconnectedCalls=pintServerClientDisconnectedCalls, pintServerClientDisCAutFCalls=pintServerClientDisCAutFCalls, pintServerClientDisEFProbCalls=pintServerClientDisEFProbCalls, pintServerUserIdPerf=pintServerUserIdPerf, pintServerUserIdStatsTable=pintServerUserIdStatsTable, pintServerUserIdStatsEntry=pintServerUserIdStatsEntry, pintServerUserIdName=pintServerUserIdName, pintServerUserIdCallsReceived=pintServerUserIdCallsReceived, pintServerUserIdSuccessfulCalls=pintServerUserIdSuccessfulCalls, pintServerUserIdDisconnectedCalls=pintServerUserIdDisconnectedCalls, pintServerUserIdDiscUIdAFailCalls=pintServerUserIdDiscUIdAFailCalls, pintServerUserIdEFProbCalls=pintServerUserIdEFProbCalls, pintServerGatewayPerf=pintServerGatewayPerf, pintServerGatewayStatsTable=pintServerGatewayStatsTable, pintServerGatewayStatsEntry=pintServerGatewayStatsEntry, pintServerGatewayCallsReceived=pintServerGatewayCallsReceived, pintServerGatewaySuccessfulCalls=pintServerGatewaySuccessfulCalls, pintServerGatewayDisconnectedCalls=pintServerGatewayDisconnectedCalls, pintMibConformance=pintMibConformance, pintMibCompliances=pintMibCompliances, pintMibGroups=pintMibGroups) # Groups mibBuilder.exportSymbols("PINT-MIB", pintMibConfigGroup=pintMibConfigGroup, pintMibMonitorGroup=pintMibMonitorGroup) # Compliances mibBuilder.exportSymbols("PINT-MIB", pintMibCompliance=pintMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-FABRIC-ADDR-MGR-MIB.py0000644000014400001440000011770111736645140022351 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-FABRIC-ADDR-MGR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:41 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcDomainIdOrZero, FcNameIdOrZero, fcmInstanceIndex, fcmSwitchIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcDomainIdOrZero", "FcNameIdOrZero", "fcmInstanceIndex", "fcmSwitchIndex") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TruthValue") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Types class T11FamDomainInterfaceRole(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,6,4,5,) namedValues = NamedValues(("nonPrincipal", 1), ("principalUpstream", 2), ("principalDownsteam", 3), ("isolated", 4), ("down", 5), ("unknown", 6), ) class T11FamDomainPriority(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,255) class T11FamState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(7,6,4,8,12,11,10,1,3,5,9,2,) namedValues = NamedValues(("other", 1), ("noDomains", 10), ("disabled", 11), ("unknown", 12), ("starting", 2), ("unconfigured", 3), ("principalSwitchSelection", 4), ("domainIdDistribution", 5), ("buildFabricPhase", 6), ("reconfigureFabricPhase", 7), ("stable", 8), ("stableWithNoEports", 9), ) # Objects t11FcFabricAddrMgrMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 137)).setRevisions(("2006-03-02 00:00",)) if mibBuilder.loadTexts: t11FcFabricAddrMgrMIB.setOrganization("T11") if mibBuilder.loadTexts: t11FcFabricAddrMgrMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nPhone: +1 408 853-9172\nEMail: cds@cisco.com\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA USA 95134\nPhone: +1 408-526-5260\nEMail: kzm@cisco.com") if mibBuilder.loadTexts: t11FcFabricAddrMgrMIB.setDescription("The MIB module for the Fabric Address management\nfunctionality defined by the Fibre Channel standards. For\nthe purposes of this MIB, Fabric Address Manager refers to\nthe functionality of acquiring DomainID(s) as specified in\nFC-SW-3, and managing Fibre Channel Identifiers as specified\nin FC-FS. An instance of 'Fabric Address Manager' software\nfunctionality executes in the Principal Switch, and in each\nother switch.\n\nAfter an agent reboot, the values of read-write objects\ndefined in this MIB module are implementation-dependent.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4439; see the RFC itself for\nfull legal notices.") t11FamNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 0)) t11FamMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 1)) t11FamConfiguration = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 1, 1)) t11FamTable = MibTable((1, 3, 6, 1, 2, 1, 137, 1, 1, 1)) if mibBuilder.loadTexts: t11FamTable.setDescription("This table contains Fabric Address Manager related\nparameters that are able to be configured and monitored\nin a Fibre Channel switch. For each of the switches\n(identified by fcmSwitchIndex) managed by a Fibre Channel\nmanagement instance (identified by fcmInstanceIndex),\nthere is any entry for each Fabric known to that switch.\nEntries are implicitly created/removed if and when\nadditional Fabrics are created/deleted.") t11FamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricIndex")) if mibBuilder.loadTexts: t11FamEntry.setDescription("An entry provides information on the local Fabric Address\nManager functionality for a Fabric known to a\nparticular switch.") t11FamFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FamFabricIndex.setDescription("A unique index value that uniquely identifies a\nparticular Fabric known to a particular switch.\n\nIn a Fabric conformant to FC-SW-3, only a single Fabric\ncan operate within a physical infrastructure, and thus,\nthe value of this Fabric Index will always be 1.\n\nHowever, the current standard, FC-SW-4, defines\nhow multiple Fabrics, each with its own management\ninstrumentation, could operate within one (or more)\nphysical infrastructures. When such multiple Fabrics\nare in use, this index value is used to uniquely\nidentify a particular Fabric within a physical\ninfrastructure.") t11FamConfigDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 2), FcDomainIdOrZero().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamConfigDomainId.setDescription("The configured Domain_ID of the particular switch on this\nFabric, or zero if no Domain_ID has been configured.\nThe meaning of this object depends on\nt11FamConfigDomainIdType object.\n\nIf t11FamConfigDomainIdType is 'preferred', then the\nconfigured Domain_ID is called the 'preferred Domain_ID'.\nValid values are between 0 and 239. In a situation where\nthis Domain_ID cannot be assigned, any other Domain_ID\nwill be acceptable. A value of zero means any Domain_ID.\n\nIf t11FamConfigDomainIdType is 'insistent', then the\nconfigured Domain_ID is called the 'insistent Domain_ID' and\nvalid values are between 1 and 239. In a situation where\nthis Domain_ID cannot be assigned, no other Domain_ID is\nacceptable.\n\nIn both of the above cases, the switch sends an RDI (Request\nDomain_ID) to request this Domain_ID to the Principal\nSwitch. If no Domain_ID is able to be granted in the case\nof 'preferred', or if an 'insistent' Domain_ID is configured\nbut not able to be granted, then it is an error condition.\nWhen this error occurs, the switch will continue as if it\nreceives a SW_RJT with a reason/explanation of 'Unable to\nperform command request'/'Domain_ID not available'. That\nis, its E_Ports on that Fabric will be isolated and the\nadministrator informed via a 't11FamDomainIdNotAssigned'\nnotification.\n\nIf t11FamConfigDomainIdType is 'static', then the configured\nDomain_ID is called the 'static Domain_ID' and valid values\nare between 1 and 239. In this situation, there is no\nPrincipal Switch in the Fabric and the Domain_ID is simply\nassigned by configuration, together with the Fabric_Name.\nA switch configured with a static Domain_ID, on receiving\nan EFP, BF, RCF, DIA, or RDI SW_ILS, shall reply with an\nSW_RJT having Reason Code Explanation 'E_Port is Isolated'\nand shall isolate the receiving E_Port.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamConfigDomainIdType = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("preferred", 1), ("insistent", 2), ("static", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamConfigDomainIdType.setDescription("Type of configured Domain_ID contained in\nt11FamConfigDomainId.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamAutoReconfigure = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamAutoReconfigure.setDescription("This object determines how a particular switch\nresponds to certain error conditions.\n\nThe condition that might cause these errors is\nthe merging of two disjoint Fabrics that have\noverlapping Domain_ID lists.\n\nIf value of this object is 'true', the switch will\nsend an RCF (ReConfigureFabric) to rebuild the\nFabric.\n\nIf 'false', the switch will isolate the E_Ports on\nwhich the errors happened.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamContiguousAllocation = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamContiguousAllocation.setDescription("Determines how a particular switch behaves when elected as\nthe Principal Switch.\n\nIf true, the switch will only accept RDIs with a contiguous\nallocation; specifically, it will reject RDIs with\nnon-contiguous Domain_IDs, and if an RDI for a contiguous\nDomain_ID is not able to be fulfilled, it will try to\nreplace all the Domain_IDs in the list with contiguous\nDomain_IDs, and if that fails, the RDI will be rejected.\n\nIf false, then the switch acts normally in granting\nthe Domain_IDs even if they are not contiguous.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 6), T11FamDomainPriority()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamPriority.setDescription("The initial or configured priority of a particular switch\nto be used in Principal Switch selection process.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamPrincipalSwitchWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 7), FcNameIdOrZero().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamPrincipalSwitchWwn.setDescription("The WWN of the Principal Switch on this Fabric,\nor zero-length string if the identity of the principal\nswitch is unknown.") t11FamLocalSwitchWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 8), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamLocalSwitchWwn.setDescription("The WWN of the particular switch on this Fabric.") t11FamAssignedAreaIdList = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamAssignedAreaIdList.setDescription("The list of (zero or more) Area_IDs that have been\nassigned by a particular switch in this Fabric, formatted\nas an array of octets in ascending order.\n\nEach octet represents one Area_ID. So, the list containing\nArea_IDs 23, 45, 235, and 56 would be formatted as the\n4-octet string x'172d38eb'.\n\nA particular area's Area_ID is used as the index into the\nt11FamAreaTable to get the statistics on that area.") t11FamGrantedFcIds = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamGrantedFcIds.setDescription("The total number of Fibre Channel Address Identifiers\ngranted (for local use, i.e., with a particular switch's\nDomain_ID) by the Fabric Address Manager on that switch.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11FamRecoveredFcIds = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamRecoveredFcIds.setDescription("The total number of Fibre Channel Address Identifiers that\nhave been recovered by the Fabric Address Manager on a\nparticular switch since the switch has been initialized.\nA recovered Fibre Channel Address Identifier is one that is\nexplicitly returned after previously being used.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11FamFreeFcIds = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamFreeFcIds.setDescription("The number of Fibre Channel Address Identifiers that are\ncurrently unassigned on this Fabric and could be available\nfor assignment either immediately or at some later time.\n\nThe sum of the instances of FreeFcIds and AssignedFcIds\ncorresponding to a particular Fabric is the total number of\nFibre Channel Address Identifiers that the local Fabric\nAddress Management is capable of assigning on that Fabric.") t11FamAssignedFcIds = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamAssignedFcIds.setDescription("The number of Fibre Channel Address Identifiers that are\ncurrently assigned on this Fabric.\n\nThe sum of the instances of FreeFcIds and AssignedFcIds\ncorresponding to a particular Fabric is the total number of\nFibre Channel Address Identifiers that the local Fabric\nAddress Management is capable of assigning on that Fabric.") t11FamAvailableFcIds = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamAvailableFcIds.setDescription("The number of Fibre Channel Address Identifiers that are\nunassigned and currently available for immediate assignment\non the Fabric, e.g., with the 'Clean Address' bit set to 1.") t11FamRunningPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 15), T11FamDomainPriority()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamRunningPriority.setDescription("The running priority of a particular switch on this Fabric.\nThis value is initialized to the value of t11FamPriority,\nand subsequently altered as specified by the procedures\ndefined in FC-SW-3.") t11FamPrincSwRunningPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 16), T11FamDomainPriority()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamPrincSwRunningPriority.setDescription("The running priority of the Principal Switch on this\nFabric.") t11FamState = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 17), T11FamState()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamState.setDescription("The state of the Fabric Address Manager on a particular\nswitch on this Fabric.") t11FamLocalPrincipalSwitchSlctns = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamLocalPrincipalSwitchSlctns.setDescription("The number of times a particular switch became the\nPrincipal Switch on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11FamPrincipalSwitchSelections = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamPrincipalSwitchSelections.setDescription("The number of Principal Switch selections on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11FamBuildFabrics = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamBuildFabrics.setDescription("The number of non-disruptive fabric reconfigurations (BFs)\nthat have occurred on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11FamFabricReconfigures = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamFabricReconfigures.setDescription("The number of disruptive fabric reconfigurations (RCFs)\nthat have occurred on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11FamDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 22), FcDomainIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamDomainId.setDescription("The Domain_ID of a particular switch on this Fabric or\nzero if no Domain_ID has been assigned.") t11FamSticky = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamSticky.setDescription("An indication of whether a particular switch is supporting\nthe concept of Preferred Domain_IDs via a best-effort\nattempt to re-assign the same Fibre Channel Address\nIdentifier value to a port on the next occasion when a port\nrequests an assignment on this Fabric.\n\nIf the value of this object is 'true', then the switch is\nmaintaining rows in the t11FamFcIdCacheTable for this\nFabric.") t11FamRestart = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("nonDisruptive", 1), ("disruptive", 2), ("noOp", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamRestart.setDescription("This object tells the Fabric Address Manager to\nrequest a Fabric reconfiguration.\n\nIf this object is set to 'disruptive', then an RCF\n(ReConfigure Fabric) is generated in the Fabric\nin order for the Fabric to recover from the errors.\n\nIf this object is set to 'nonDisruptive', then a\nBF (Build Fabric) is generated in the Fabric.\n\nNo action is taken if this object is set to 'noOp'.\nThe value of the object when read is always 'noOp'.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamRcFabricNotifyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 25), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamRcFabricNotifyEnable.setDescription("An indication of whether or not a particular switch\nshould issue a t11FamFabricChangeNotify notification on\nsending or receiving ReConfigureFabric (RCF) on a Fabric.\n\nIf the value of the object is 'true', then the\nnotification is generated. If the value is 'false',\nnotification is not generated.\n\nIf an implementation requires all Fabrics to have the\nsame value, then setting one instance of this object\nto a new object will result in all corresponding\ninstances being set to that same new value.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 26), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamEnable.setDescription("Enables the Fabric Address Manager on this switch\non this Fabric.\n\nIf enabled on a Fabric, the switch will participate in\nPrincipal Switch selection, and Domain_IDs are assigned\ndynamically. If disabled, the switch will not participate\nin Principal Switch selection, and Domain_IDs are\nassigned statically. Thus, the corresponding value of\nt11FamConfigDomainIdType needs to be 'static'.\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamFabricName = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 1, 1, 27), FcNameIdOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FamFabricName.setDescription("The WWN that is configured on this switch to be used as\nthe name of this Fabric when the value of t11FamEnable is\n'false'.\n\nIf the value of t11FamEnable is 'true', this value is not\nused.\n\nFibre Channel requires that:\n a) all switches in an operational Fabric be\n configured with the same Fabric name; and\n b) each Fabric have a unique Fabric name.\nIf either of these is violated, either by switches within a\nsingle Fabric being configured with different Fabric names,\nor by multiple Fabrics that share management applications\nor interact in other ways having the same Fabric name,\nthen the behavior of the switches and associated management\nfunctions is not specified by Fibre Channel or Internet\nstandards.\n\n\n\nFor the persistence of values across reboots, see the\nMODULE-IDENTITY's DESCRIPTION clause.") t11FamIfTable = MibTable((1, 3, 6, 1, 2, 1, 137, 1, 1, 2)) if mibBuilder.loadTexts: t11FamIfTable.setDescription("This table contains those Fabric Address Manager parameters\nand status values that are per-interface (identified\nby an ifIndex value), per-Fabric (identified by a\nt11FamFabricIndex value), and per-switch (identified by\nvalues of fcmInstanceIndex and fcmSwitchIndex).\n\nAn entry in this table is automatically created when\nan E_Port becomes non-isolated on a particular Fabric.\n\nAn entry is deleted automatically from this table if:\na) the corresponding interface is no longer an E_Port (e.g.,\n a G_Port that is dynamically determined to be an F_Port),\n and all configuration parameter(s) have default values; or\nb) the interface identified by ifIndex no longer exists\n (e.g., because a line-card is physically removed); or\nc) the row in the t11FamTable corresponding the fabric\n identified by t11FamFabricID no longer exists.\n\nCreating an entry in this table via t11FamIfRowStatus\nprovides the means to specify non-default parameter value(s)\nfor an interface at a time when the relevant row in this\ntable does not exist, i.e., because the interface is either\ndown or it is not an E_Port.") t11FamIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 137, 1, 1, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricIndex"), (0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: t11FamIfEntry.setDescription("An entry containing information on the interface\nconfiguration on the Fabric identified by\n\n\n\nt11FamFabricIndex.") t11FamIfRcfReject = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 2, 1, 1), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FamIfRcfReject.setDescription("This object determines if the incoming ReConfigure\nFabric (RCF) messages on this interface on this\nFabric is accepted or not. If this object is 'true', then\nthe incoming RCF is rejected. If 'false', incoming RCF is\naccepted.\n\nNote that this object does not apply to the outgoing\nRCFs generated by this interface.\n\nImplementations that support write-access to this object\ncan do so under whatever conditions they choose.") t11FamIfRole = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 2, 1, 2), T11FamDomainInterfaceRole()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamIfRole.setDescription("The role of this interface.") t11FamIfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FamIfRowStatus.setDescription("The status of this row.") t11FamInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 1, 2)) t11FamAreaTable = MibTable((1, 3, 6, 1, 2, 1, 137, 1, 2, 1)) if mibBuilder.loadTexts: t11FamAreaTable.setDescription("This table contains area assignments per-Fabric by a\nswitch's Fabric Address Manager. Each octet in\nt11FamAssignedAreaList is able to be used to index into\nthis table to find information on each area.") t11FamAreaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 137, 1, 2, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamAreaAreaId")) if mibBuilder.loadTexts: t11FamAreaEntry.setDescription("An entry gives information on the Area_ID and all\nPort_IDs that have been assigned within an area for\nthe Fabric identified by t11FamFabricIndex, by the\nFabric Address Manager in the switch identified by\nfcmInstanceIndex and fcmSwitchIndex.") t11FamAreaAreaId = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FamAreaAreaId.setDescription("The Area_ID of this area.") t11FamAreaAssignedPortIdList = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamAreaAssignedPortIdList.setDescription("The list of Port_IDs which have been assigned in\nthis area and Fabric, formatted as an array of\noctets in ascending order. There could be zero or more\nPort_IDs assigned on this area and Fabric.\n\nEach octet represents one Port_ID. So, the list containing\nthe Port_IDs 23, 45, 235, and 56 would be formatted as the\n4-octet string x'172d38eb'.") t11FamDatabaseTable = MibTable((1, 3, 6, 1, 2, 1, 137, 1, 2, 2)) if mibBuilder.loadTexts: t11FamDatabaseTable.setDescription("This table contains all information known by\na switch about all the domains that have been\nassigned in each Fabric.") t11FamDatabaseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 137, 1, 2, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamDatabaseDomainId")) if mibBuilder.loadTexts: t11FamDatabaseEntry.setDescription("An entry (conceptual row) in the t11FamDatabaseTable\ncontaining information about one Domain_ID in the\nFabric identified by t11FamFabricIndex, and known by\nthe switch identified by t11FamFabricIndex and\nt11FamDatabaseDomainId.") t11FamDatabaseDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 2, 2, 1, 1), FcDomainIdOrZero().subtype(subtypeSpec=ValueRangeConstraint(1, 239))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FamDatabaseDomainId.setDescription("The Domain_ID for which this row contains information.\nThe value must be non-zero.") t11FamDatabaseSwitchWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 2, 2, 1, 2), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamDatabaseSwitchWwn.setDescription("The node name (WWN) of the switch to which the\ncorresponding value of t11FamDatabaseDomainId is currently\nassigned for the particular Fabric.") t11FamMaxFcIdCacheSize = MibScalar((1, 3, 6, 1, 2, 1, 137, 1, 2, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamMaxFcIdCacheSize.setDescription("The maximum number of Fibre Channel Address Identifiers\nthat are able to be cached in the t11FamFcIdCacheTable.\nIf the number is unknown, the value of this object is\nzero.") t11FamFcIdCacheTable = MibTable((1, 3, 6, 1, 2, 1, 137, 1, 2, 4)) if mibBuilder.loadTexts: t11FamFcIdCacheTable.setDescription("This table contains all the Fibre Channel Address\nIdentifiers that have recently been released by the\nFabric Address Manager in a switch. So, it lists\nall the Fibre Channel Address Identifiers that have valid\nWWN-to-Fibre Channel Address Identifier mappings and are\ncurrently not assigned to any ports. These Fibre Channel\nAddress Identifiers were assigned to ports but have since\nbeen released. These cached Fibre Channel Address\nIdentifiers contain only Area_ID and Port_ID information.\nThis cache is kept to provide best-effort re-assignment of\nsame Fibre Channel Address Identifiers; i.e., when an\nNx_Port asks for a Fibre Channel Address Identifier, soon\nafter releasing one, the same value is re-assigned, if\npossible.") t11FamFcIdCacheEntry = MibTableRow((1, 3, 6, 1, 2, 1, 137, 1, 2, 4, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricIndex"), (0, "T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFcIdCacheWwn")) if mibBuilder.loadTexts: t11FamFcIdCacheEntry.setDescription("An entry (conceptual row) in the t11FamFcIdCacheTable\ncontaining information about one Fibre Channel Address\nIdentifier that was released from a WWN, corresponding to a\nrange of one or more ports connected to the switch\n(identified by t11FamFabricIndex and t11FamFcIdCacheWwn) in\nthe Fabric (identified by t11FamFabricIndex). An entry is\ncreated when a Fibre Channel Address Identifier is released\nby the last port in the range. The oldest entry is deleted\nif the number of rows in this table reaches\nt11FamMaxFcIdCacheSize, and its space is required for a new\nentry. An entry is also deleted when its Fibre Channel\nAddress Identifier is assigned to a port.") t11FamFcIdCacheWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 2, 4, 1, 1), FcNameIdOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FamFcIdCacheWwn.setDescription("The N_Port_Name (WWN) of the port associated with this\nentry.") t11FamFcIdCacheAreaIdPortId = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 2, 4, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamFcIdCacheAreaIdPortId.setDescription("The combination of this object and t11FamFcIdCachePortIds\nrepresent one range of Fibre Channel Address Identifiers,\nwhich were assigned and later released. This object\ncontains the Area_ID and Port_ID of the first Fibre\nChannel Address Identifier in the range.\n\nNote that this object is only 2 bytes.") t11FamFcIdCachePortIds = MibTableColumn((1, 3, 6, 1, 2, 1, 137, 1, 2, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FamFcIdCachePortIds.setDescription("The combination of t11FamFcIdCacheAreaIdPortId and this\nobject represent one range of Fibre Channel Address\nIdentifiers, which were assigned and later released. This\nobject contains the number of (consecutive) Fibre Channel\nAddress Identifiers in the range.") t11FamNotifyControl = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 1, 3)) t11FamNotifyFabricIndex = MibScalar((1, 3, 6, 1, 2, 1, 137, 1, 3, 1), T11FabricIndex()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: t11FamNotifyFabricIndex.setDescription("A unique index value that identifies a particular\nFabric for which a particular notification is generated.\n\nIn a Fabric conformant to SW-3, only a single Fabric\ncan operate within a physical infrastructure, and thus,\nthe value of this Fabric Index will always be 1.\n\nHowever, the current standard, FC-SW-4, defines\nhow multiple Fabrics, each with its own management\n\n\n\ninstrumentation, could operate within one (or more)\nphysical infrastructures. In order to accommodate this\nscenario, this index value is used to uniquely identify a\nparticular Fabric within a physical infrastructure.") t11FamMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 2)) t11FamMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 2, 1)) t11FamMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 137, 2, 2)) # Augmentions # Notifications t11FamDomainIdNotAssignedNotify = NotificationType((1, 3, 6, 1, 2, 1, 137, 0, 1)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamNotifyFabricIndex"), ) ) if mibBuilder.loadTexts: t11FamDomainIdNotAssignedNotify.setDescription("This notification indicates that a Domain_ID has not\nbeen configured or assigned for a particular Fabric,\nidentified by t11FamNotifyFabricIndex, on a particular\nswitch identified by t11FamLocalSwitchWwn. This could\nhappen under the following conditions, and results in the\nswitch isolating E_Ports on the Fabric:\n\n - if the switch's request for a configured static\n Domain_ID is rejected or no other Domain_ID is\n assigned, then the E_Ports are isolated.") t11FamNewPrincipalSwitchNotify = NotificationType((1, 3, 6, 1, 2, 1, 137, 0, 2)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamNotifyFabricIndex"), ) ) if mibBuilder.loadTexts: t11FamNewPrincipalSwitchNotify.setDescription("This notification indicates that a particular switch,\nidentified by t11FamLocalSwitchWwn, has become the new\nPrincipal Switch on the Fabric identified by\nt11FamNotifyFabricIndex.\n\nThis notification is sent soon after its election as\nthe new Principal Switch, i.e., upon expiration of a\nPrincipal Switch selection timer that is equal to\ntwice the Fabric Stability Timeout value (F_S_TOV).") t11FamFabricChangeNotify = NotificationType((1, 3, 6, 1, 2, 1, 137, 0, 3)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamNotifyFabricIndex"), ) ) if mibBuilder.loadTexts: t11FamFabricChangeNotify.setDescription("This notification is sent whenever a particular switch,\nidentified by t11FamLocalSwitchWwn, sends or\nreceives a Build Fabric (BF) or a ReConfigure Fabric\n(RCF) message on the Fabric identified by\n\n\n\nt11FamNotifyFabricIndex.\n\nThis notification is not sent if a\n't11FamNewPrincipalSwitchNotify' notification is sent\nfor the same event.") # Groups t11FamGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 137, 2, 2, 1)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamSticky"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamAutoReconfigure"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamRestart"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamConfigDomainId"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamAssignedFcIds"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamPrincipalSwitchSelections"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamIfRowStatus"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamContiguousAllocation"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamConfigDomainIdType"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamAvailableFcIds"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFreeFcIds"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamDomainId"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamIfRcfReject"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricName"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamBuildFabrics"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamPrincipalSwitchWwn"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricReconfigures"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamRcFabricNotifyEnable"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamEnable"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamAssignedAreaIdList"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamPrincSwRunningPriority"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamIfRole"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamState"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamPriority"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamGrantedFcIds"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamRunningPriority"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamNotifyFabricIndex"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalPrincipalSwitchSlctns"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamRecoveredFcIds"), ) ) if mibBuilder.loadTexts: t11FamGroup.setDescription("A collection of general objects for displaying and\nconfiguring Fabric Address management.") t11FamCommandGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 137, 2, 2, 2)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamRestart"), ) ) if mibBuilder.loadTexts: t11FamCommandGroup.setDescription("A collection of objects used for initiating an\noperation on the Fabric.") t11FamDatabaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 137, 2, 2, 3)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamDatabaseSwitchWwn"), ) ) if mibBuilder.loadTexts: t11FamDatabaseGroup.setDescription("A collection of objects containing information about\nDomain-IDs assignments.") t11FamAreaGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 137, 2, 2, 4)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamAreaAssignedPortIdList"), ) ) if mibBuilder.loadTexts: t11FamAreaGroup.setDescription("A collection of objects containing information about\ncurrently assigned addresses within a domain.") t11FamCacheGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 137, 2, 2, 5)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamMaxFcIdCacheSize"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFcIdCachePortIds"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFcIdCacheAreaIdPortId"), ) ) if mibBuilder.loadTexts: t11FamCacheGroup.setDescription("A collection of objects containing information about\nrecently-released Fibre Channel Address Identifiers.") t11FamNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 137, 2, 2, 6)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamFabricChangeNotify"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamNewPrincipalSwitchNotify"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamDomainIdNotAssignedNotify"), ) ) if mibBuilder.loadTexts: t11FamNotificationGroup.setDescription("A collection of notifications for status monitoring\nand notification.") # Compliances t11FamMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 137, 2, 1, 1)).setObjects(*(("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamCommandGroup"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamNotificationGroup"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamCacheGroup"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamAreaGroup"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamGroup"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamDatabaseGroup"), ) ) if mibBuilder.loadTexts: t11FamMIBCompliance.setDescription("The compliance statement for Fibre Channel switches\nthat implement Fabric Address Manager functionality.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", PYSNMP_MODULE_ID=t11FcFabricAddrMgrMIB) # Types mibBuilder.exportSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", T11FamDomainInterfaceRole=T11FamDomainInterfaceRole, T11FamDomainPriority=T11FamDomainPriority, T11FamState=T11FamState) # Objects mibBuilder.exportSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", t11FcFabricAddrMgrMIB=t11FcFabricAddrMgrMIB, t11FamNotifications=t11FamNotifications, t11FamMIBObjects=t11FamMIBObjects, t11FamConfiguration=t11FamConfiguration, t11FamTable=t11FamTable, t11FamEntry=t11FamEntry, t11FamFabricIndex=t11FamFabricIndex, t11FamConfigDomainId=t11FamConfigDomainId, t11FamConfigDomainIdType=t11FamConfigDomainIdType, t11FamAutoReconfigure=t11FamAutoReconfigure, t11FamContiguousAllocation=t11FamContiguousAllocation, t11FamPriority=t11FamPriority, t11FamPrincipalSwitchWwn=t11FamPrincipalSwitchWwn, t11FamLocalSwitchWwn=t11FamLocalSwitchWwn, t11FamAssignedAreaIdList=t11FamAssignedAreaIdList, t11FamGrantedFcIds=t11FamGrantedFcIds, t11FamRecoveredFcIds=t11FamRecoveredFcIds, t11FamFreeFcIds=t11FamFreeFcIds, t11FamAssignedFcIds=t11FamAssignedFcIds, t11FamAvailableFcIds=t11FamAvailableFcIds, t11FamRunningPriority=t11FamRunningPriority, t11FamPrincSwRunningPriority=t11FamPrincSwRunningPriority, t11FamState=t11FamState, t11FamLocalPrincipalSwitchSlctns=t11FamLocalPrincipalSwitchSlctns, t11FamPrincipalSwitchSelections=t11FamPrincipalSwitchSelections, t11FamBuildFabrics=t11FamBuildFabrics, t11FamFabricReconfigures=t11FamFabricReconfigures, t11FamDomainId=t11FamDomainId, t11FamSticky=t11FamSticky, t11FamRestart=t11FamRestart, t11FamRcFabricNotifyEnable=t11FamRcFabricNotifyEnable, t11FamEnable=t11FamEnable, t11FamFabricName=t11FamFabricName, t11FamIfTable=t11FamIfTable, t11FamIfEntry=t11FamIfEntry, t11FamIfRcfReject=t11FamIfRcfReject, t11FamIfRole=t11FamIfRole, t11FamIfRowStatus=t11FamIfRowStatus, t11FamInfo=t11FamInfo, t11FamAreaTable=t11FamAreaTable, t11FamAreaEntry=t11FamAreaEntry, t11FamAreaAreaId=t11FamAreaAreaId, t11FamAreaAssignedPortIdList=t11FamAreaAssignedPortIdList, t11FamDatabaseTable=t11FamDatabaseTable, t11FamDatabaseEntry=t11FamDatabaseEntry, t11FamDatabaseDomainId=t11FamDatabaseDomainId, t11FamDatabaseSwitchWwn=t11FamDatabaseSwitchWwn, t11FamMaxFcIdCacheSize=t11FamMaxFcIdCacheSize, t11FamFcIdCacheTable=t11FamFcIdCacheTable, t11FamFcIdCacheEntry=t11FamFcIdCacheEntry, t11FamFcIdCacheWwn=t11FamFcIdCacheWwn, t11FamFcIdCacheAreaIdPortId=t11FamFcIdCacheAreaIdPortId, t11FamFcIdCachePortIds=t11FamFcIdCachePortIds, t11FamNotifyControl=t11FamNotifyControl, t11FamNotifyFabricIndex=t11FamNotifyFabricIndex, t11FamMIBConformance=t11FamMIBConformance, t11FamMIBCompliances=t11FamMIBCompliances, t11FamMIBGroups=t11FamMIBGroups) # Notifications mibBuilder.exportSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", t11FamDomainIdNotAssignedNotify=t11FamDomainIdNotAssignedNotify, t11FamNewPrincipalSwitchNotify=t11FamNewPrincipalSwitchNotify, t11FamFabricChangeNotify=t11FamFabricChangeNotify) # Groups mibBuilder.exportSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", t11FamGroup=t11FamGroup, t11FamCommandGroup=t11FamCommandGroup, t11FamDatabaseGroup=t11FamDatabaseGroup, t11FamAreaGroup=t11FamAreaGroup, t11FamCacheGroup=t11FamCacheGroup, t11FamNotificationGroup=t11FamNotificationGroup) # Compliances mibBuilder.exportSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", t11FamMIBCompliance=t11FamMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/VRRP-MIB.py0000644000014400001440000006152211736645141020230 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python VRRP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:49 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( MacAddress, RowStatus, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "RowStatus", "TextualConvention", "TimeStamp", "TruthValue") # Types class VrId(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,255) # Objects vrrpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 68)).setRevisions(("2000-03-03 00:00",)) if mibBuilder.loadTexts: vrrpMIB.setOrganization("IETF VRRP Working Group") if mibBuilder.loadTexts: vrrpMIB.setContactInfo("Brian R. Jewell\nPostal: Copper Mountain Networks, Inc.\n 2470 Embarcadero Way\n Palo Alto, California 94303\nTel: +1 650 687 3367\nE-Mail: bjewell@coppermountain.com") if mibBuilder.loadTexts: vrrpMIB.setDescription("This MIB describes objects used for managing Virtual Router\nRedundancy Protocol (VRRP) routers.") vrrpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 68, 0)) vrrpOperations = MibIdentifier((1, 3, 6, 1, 2, 1, 68, 1)) vrrpNodeVersion = MibScalar((1, 3, 6, 1, 2, 1, 68, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpNodeVersion.setDescription("This value identifies the particular version of the VRRP\nsupported by this node.") vrrpNotificationCntl = MibScalar((1, 3, 6, 1, 2, 1, 68, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrrpNotificationCntl.setDescription("Indicates whether the VRRP-enabled router will generate\nSNMP traps for events defined in this MIB. 'Enabled'\nresults in SNMP traps; 'disabled', no traps are sent.") vrrpOperTable = MibTable((1, 3, 6, 1, 2, 1, 68, 1, 3)) if mibBuilder.loadTexts: vrrpOperTable.setDescription("Operations table for a VRRP router which consists of a\nsequence (i.e., one or more conceptual rows) of\n'vrrpOperEntry' items.") vrrpOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 68, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VRRP-MIB", "vrrpOperVrId")) if mibBuilder.loadTexts: vrrpOperEntry.setDescription("An entry in the vrrpOperTable containing the operational\ncharacteristics of a virtual router. On a VRRP router,\na given virtual router is identified by a combination\nof the IF index and VRID.\n\nRows in the table cannot be modified unless the value\nof `vrrpOperAdminState' is `disabled' and the\n`vrrpOperState' has transitioned to `initialize'.") vrrpOperVrId = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 1), VrId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: vrrpOperVrId.setDescription("This object contains the Virtual Router Identifier (VRID).") vrrpOperVirtualMacAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperVirtualMacAddr.setDescription("The virtual MAC address of the virtual router. Although this\nobject can be derived from the 'vrrpOperVrId' object, it is\ndefined so that it is easily obtainable by a management\napplication and can be included in VRRP-related SNMP traps.") vrrpOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("initialize", 1), ("backup", 2), ("master", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperState.setDescription("The current state of the virtual router. This object has\nthree defined values:\n\n - `initialize', which indicates that all the\n virtual router is waiting for a startup event.\n\n - `backup', which indicates the virtual router is\n monitoring the availability of the master router.\n\n - `master', which indicates that the virtual router\n is forwarding packets for IP addresses that are\n associated with this router.\n\nSetting the `vrrpOperAdminState' object (below) initiates\ntransitions in the value of this object.") vrrpOperAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperAdminState.setDescription("This object will enable/disable the virtual router\nfunction. Setting the value to `up', will transition\nthe state of the virtual router from `initialize' to `backup'\nor `master', depending on the value of `vrrpOperPriority'.\nSetting the value to `down', will transition the\nrouter from `master' or `backup' to `initialize'. State\ntransitions may not be immediate; they sometimes depend on\nother factors, such as the interface (IF) state.\n\nThe `vrrpOperAdminState' object must be set to `down' prior\nto modifying the other read-create objects in the conceptual\nrow. The value of the `vrrpOperRowStatus' object (below)\nmust be `active', signifying that the conceptual row\nis valid (i.e., the objects are correctly set),\nin order for this object to be set to `up'.") vrrpOperPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperPriority.setDescription("This object specifies the priority to be used for the\nvirtual router master election process. Higher values imply\nhigher priority.\n\nA priority of '0', although not settable, is sent by\nthe master router to indicate that this router has ceased\nto participate in VRRP and a backup virtual router should\ntransition to become a new master.\n\nA priority of 255 is used for the router that owns the\nassociated IP address(es).") vrrpOperIpAddrCount = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperIpAddrCount.setDescription("The number of IP addresses that are associated with this\nvirtual router. This number is equal to the number of rows\nin the vrrpAssoIpAddrTable that correspond to a given IF\nindex/VRID pair.") vrrpOperMasterIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 7), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperMasterIpAddr.setDescription("The master router's real (primary) IP address. This is\nthe IP address listed as the source in VRRP advertisement\nlast received by this virtual router.") vrrpOperPrimaryIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 8), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperPrimaryIpAddr.setDescription("In the case where there is more than one IP address for\na given `ifIndex', this object is used to specify the IP\naddress that will become the `vrrpOperMasterIpAddr', should\nthe virtual router transition from backup to master. If\nthis object is set to 0.0.0.0, the IP address which is\nnumerically lowest will be selected.") vrrpOperAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("noAuthentication", 1), ("simpleTextPassword", 2), ("ipAuthenticationHeader", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperAuthType.setDescription("Authentication type used for VRRP protocol exchanges between\nvirtual routers. This value of this object is the same for a\ngiven ifIndex.\n\nNew enumerations to this list can only be added via a new\nRFC on the standards track.") vrrpOperAuthKey = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperAuthKey.setDescription("The Authentication Key. This object is set according to\nthe value of the 'vrrpOperAuthType' object\n('simpleTextPassword' or 'ipAuthenticationHeader'). If the\nlength of the value is less than 16 octets, the agent will\nleft adjust and zero fill to 16 octets. The value of this\nobject is the same for a given ifIndex.\n\nWhen read, vrrpOperAuthKey always returns an Octet String\nof length zero.") vrrpOperAdvertisementInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperAdvertisementInterval.setDescription("The time interval, in seconds, between sending\nadvertisement messages. Only the master router sends\nVRRP advertisements.") vrrpOperPreemptMode = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 12), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperPreemptMode.setDescription("Controls whether a higher priority virtual router will\npreempt a lower priority master.") vrrpOperVirtualRouterUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 13), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperVirtualRouterUpTime.setDescription("This is the value of the `sysUpTime' object when this\nvirtual router (i.e., the `vrrpOperState') transitioned\nout of `initialized'.") vrrpOperProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("ip", 1), ("bridge", 2), ("decnet", 3), ("other", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperProtocol.setDescription("The particular protocol being controlled by this Virtual\nRouter.\n\nNew enumerations to this list can only be added via a new\nRFC on the standards track.") vrrpOperRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperRowStatus.setDescription("The row status variable, used in accordance to installation\nand removal conventions for conceptual rows. The rowstatus of\na currently active row in the vrrpOperTable is constrained\nby the operational state of the corresponding virtual router.\nWhen `vrrpOperRowStatus' is set to active(1), no other\nobjects in the conceptual row, with the exception of\n`vrrpOperAdminState', can be modified. Prior to setting the\n`vrrpOperRowStatus' object from `active' to a different value,\nthe `vrrpOperAdminState' object must be set to `down' and the\n`vrrpOperState' object be transitioned to `initialize'.\n\nTo create a row in this table, a manager sets this object\nto either createAndGo(4) or createAndWait(5). Until instances\nof all corresponding columns are appropriately configured,\nthe value of the corresponding instance of the `vrrpOperRowStatus'\ncolumn will be read as notReady(3).\nIn particular, a newly created row cannot be made active(1)\nuntil (minimally) the corresponding instance of\n`vrrpOperVrId' has been set and there is at least one active\nrow in the `vrrpAssoIpAddrTable' defining an associated\nIP address for the virtual router.") vrrpAssoIpAddrTable = MibTable((1, 3, 6, 1, 2, 1, 68, 1, 4)) if mibBuilder.loadTexts: vrrpAssoIpAddrTable.setDescription("The table of addresses associated with this virtual router.") vrrpAssoIpAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 68, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VRRP-MIB", "vrrpOperVrId"), (0, "VRRP-MIB", "vrrpAssoIpAddr")) if mibBuilder.loadTexts: vrrpAssoIpAddrEntry.setDescription("An entry in the table contains an IP address that is\nassociated with a virtual router. The number of rows for\na given ifIndex and VrId will equal the number of IP\naddresses associated (e.g., backed up) by the virtual\nrouter (equivalent to 'vrrpOperIpAddrCount').\n\nRows in the table cannot be modified unless the value\nof `vrrpOperAdminState' is `disabled' and the\n`vrrpOperState' has transitioned to `initialize'.") vrrpAssoIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 4, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: vrrpAssoIpAddr.setDescription("The assigned IP addresses that a virtual router is\nresponsible for backing up.") vrrpAssoIpAddrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 4, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpAssoIpAddrRowStatus.setDescription("The row status variable, used according to installation\nand removal conventions for conceptual rows. Setting this\nobject to active(1) or createAndGo(4) results in the\naddition of an associated address for a virtual router.\nDestroying the entry or setting it to notInService(2)\nremoves the associated address from the virtual router.\nThe use of other values is implementation-dependent.") vrrpTrapPacketSrc = MibScalar((1, 3, 6, 1, 2, 1, 68, 1, 5), IpAddress()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: vrrpTrapPacketSrc.setDescription("The IP address of an inbound VRRP packet. Used by\nvrrpTrapAuthFailure trap.") vrrpTrapAuthErrorType = MibScalar((1, 3, 6, 1, 2, 1, 68, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("invalidAuthType", 1), ("authTypeMismatch", 2), ("authFailure", 3), ))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: vrrpTrapAuthErrorType.setDescription("Potential types of configuration conflicts.\nUsed by vrrpAuthFailure trap.") vrrpStatistics = MibIdentifier((1, 3, 6, 1, 2, 1, 68, 2)) vrrpRouterChecksumErrors = MibScalar((1, 3, 6, 1, 2, 1, 68, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpRouterChecksumErrors.setDescription("The total number of VRRP packets received with an invalid\nVRRP checksum value.") vrrpRouterVersionErrors = MibScalar((1, 3, 6, 1, 2, 1, 68, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpRouterVersionErrors.setDescription("The total number of VRRP packets received with an unknown\nor unsupported version number.") vrrpRouterVrIdErrors = MibScalar((1, 3, 6, 1, 2, 1, 68, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpRouterVrIdErrors.setDescription("The total number of VRRP packets received with an invalid\nVRID for this virtual router.") vrrpRouterStatsTable = MibTable((1, 3, 6, 1, 2, 1, 68, 2, 4)) if mibBuilder.loadTexts: vrrpRouterStatsTable.setDescription("Table of virtual router statistics.") vrrpRouterStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 68, 2, 4, 1)) if mibBuilder.loadTexts: vrrpRouterStatsEntry.setDescription("An entry in the table, containing statistics information\nabout a given virtual router.") vrrpStatsBecomeMaster = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsBecomeMaster.setDescription("The total number of times that this virtual router's state\nhas transitioned to MASTER.") vrrpStatsAdvertiseRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsAdvertiseRcvd.setDescription("The total number of VRRP advertisements received by this\nvirtual router.") vrrpStatsAdvertiseIntervalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsAdvertiseIntervalErrors.setDescription("The total number of VRRP advertisement packets received\nfor which the advertisement interval is different than the\none configured for the local virtual router.") vrrpStatsAuthFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsAuthFailures.setDescription("The total number of VRRP packets received that do not pass\nthe authentication check.") vrrpStatsIpTtlErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsIpTtlErrors.setDescription("The total number of VRRP packets received by the virtual\nrouter with IP TTL (Time-To-Live) not equal to 255.") vrrpStatsPriorityZeroPktsRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsPriorityZeroPktsRcvd.setDescription("The total number of VRRP packets received by the virtual\nrouter with a priority of '0'.") vrrpStatsPriorityZeroPktsSent = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsPriorityZeroPktsSent.setDescription("The total number of VRRP packets sent by the virtual router\nwith a priority of '0'.") vrrpStatsInvalidTypePktsRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsInvalidTypePktsRcvd.setDescription("The number of VRRP packets received by the virtual router\nwith an invalid value in the 'type' field.") vrrpStatsAddressListErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsAddressListErrors.setDescription("The total number of packets received for which the address\nlist does not match the locally configured list for the\nvirtual router.") vrrpStatsInvalidAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsInvalidAuthType.setDescription("The total number of packets received with an unknown\nauthentication type.") vrrpStatsAuthTypeMismatch = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsAuthTypeMismatch.setDescription("The total number of packets received with 'Auth Type' not\nequal to the locally configured authentication method\n(`vrrpOperAuthType').") vrrpStatsPacketLengthErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsPacketLengthErrors.setDescription("The total number of packets received with a packet length\nless than the length of the VRRP header.") vrrpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 68, 3)) vrrpMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 68, 3, 1)) vrrpMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 68, 3, 2)) # Augmentions vrrpOperEntry.registerAugmentions(("VRRP-MIB", "vrrpRouterStatsEntry")) vrrpRouterStatsEntry.setIndexNames(*vrrpOperEntry.getIndexNames()) # Notifications vrrpTrapNewMaster = NotificationType((1, 3, 6, 1, 2, 1, 68, 0, 1)).setObjects(*(("VRRP-MIB", "vrrpOperMasterIpAddr"), ) ) if mibBuilder.loadTexts: vrrpTrapNewMaster.setDescription("The newMaster trap indicates that the sending agent\nhas transitioned to 'Master' state.") vrrpTrapAuthFailure = NotificationType((1, 3, 6, 1, 2, 1, 68, 0, 2)).setObjects(*(("VRRP-MIB", "vrrpTrapPacketSrc"), ("VRRP-MIB", "vrrpTrapAuthErrorType"), ) ) if mibBuilder.loadTexts: vrrpTrapAuthFailure.setDescription("A vrrpAuthFailure trap signifies that a packet has\nbeen received from a router whose authentication key\nor authentication type conflicts with this router's\nauthentication key or authentication type. Implementation\nof this trap is optional.") # Groups vrrpOperGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 1)).setObjects(*(("VRRP-MIB", "vrrpAssoIpAddrRowStatus"), ("VRRP-MIB", "vrrpOperState"), ("VRRP-MIB", "vrrpOperAuthKey"), ("VRRP-MIB", "vrrpNodeVersion"), ("VRRP-MIB", "vrrpOperVirtualRouterUpTime"), ("VRRP-MIB", "vrrpNotificationCntl"), ("VRRP-MIB", "vrrpOperPreemptMode"), ("VRRP-MIB", "vrrpOperRowStatus"), ("VRRP-MIB", "vrrpOperAdminState"), ("VRRP-MIB", "vrrpOperIpAddrCount"), ("VRRP-MIB", "vrrpOperPrimaryIpAddr"), ("VRRP-MIB", "vrrpOperMasterIpAddr"), ("VRRP-MIB", "vrrpOperAdvertisementInterval"), ("VRRP-MIB", "vrrpOperAuthType"), ("VRRP-MIB", "vrrpOperProtocol"), ("VRRP-MIB", "vrrpOperPriority"), ("VRRP-MIB", "vrrpOperVirtualMacAddr"), ) ) if mibBuilder.loadTexts: vrrpOperGroup.setDescription("Conformance group for VRRP operations.") vrrpStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 2)).setObjects(*(("VRRP-MIB", "vrrpStatsAuthTypeMismatch"), ("VRRP-MIB", "vrrpStatsPriorityZeroPktsRcvd"), ("VRRP-MIB", "vrrpRouterVrIdErrors"), ("VRRP-MIB", "vrrpStatsAddressListErrors"), ("VRRP-MIB", "vrrpRouterChecksumErrors"), ("VRRP-MIB", "vrrpStatsPriorityZeroPktsSent"), ("VRRP-MIB", "vrrpStatsPacketLengthErrors"), ("VRRP-MIB", "vrrpStatsBecomeMaster"), ("VRRP-MIB", "vrrpStatsAdvertiseIntervalErrors"), ("VRRP-MIB", "vrrpStatsAuthFailures"), ("VRRP-MIB", "vrrpStatsAdvertiseRcvd"), ("VRRP-MIB", "vrrpStatsInvalidTypePktsRcvd"), ("VRRP-MIB", "vrrpRouterVersionErrors"), ("VRRP-MIB", "vrrpStatsInvalidAuthType"), ("VRRP-MIB", "vrrpStatsIpTtlErrors"), ) ) if mibBuilder.loadTexts: vrrpStatsGroup.setDescription("Conformance group for VRRP statistics.") vrrpTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 3)).setObjects(*(("VRRP-MIB", "vrrpTrapPacketSrc"), ("VRRP-MIB", "vrrpTrapAuthErrorType"), ) ) if mibBuilder.loadTexts: vrrpTrapGroup.setDescription("Conformance group for objects contained in VRRP notifications.") vrrpNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 4)).setObjects(*(("VRRP-MIB", "vrrpTrapNewMaster"), ("VRRP-MIB", "vrrpTrapAuthFailure"), ) ) if mibBuilder.loadTexts: vrrpNotificationGroup.setDescription("The VRRP MIB Notification Group.") # Compliances vrrpMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 68, 3, 1, 1)).setObjects(*(("VRRP-MIB", "vrrpStatsGroup"), ("VRRP-MIB", "vrrpOperGroup"), ) ) if mibBuilder.loadTexts: vrrpMIBCompliance.setDescription("The core compliance statement for all VRRP implementations.") # Exports # Module identity mibBuilder.exportSymbols("VRRP-MIB", PYSNMP_MODULE_ID=vrrpMIB) # Types mibBuilder.exportSymbols("VRRP-MIB", VrId=VrId) # Objects mibBuilder.exportSymbols("VRRP-MIB", vrrpMIB=vrrpMIB, vrrpNotifications=vrrpNotifications, vrrpOperations=vrrpOperations, vrrpNodeVersion=vrrpNodeVersion, vrrpNotificationCntl=vrrpNotificationCntl, vrrpOperTable=vrrpOperTable, vrrpOperEntry=vrrpOperEntry, vrrpOperVrId=vrrpOperVrId, vrrpOperVirtualMacAddr=vrrpOperVirtualMacAddr, vrrpOperState=vrrpOperState, vrrpOperAdminState=vrrpOperAdminState, vrrpOperPriority=vrrpOperPriority, vrrpOperIpAddrCount=vrrpOperIpAddrCount, vrrpOperMasterIpAddr=vrrpOperMasterIpAddr, vrrpOperPrimaryIpAddr=vrrpOperPrimaryIpAddr, vrrpOperAuthType=vrrpOperAuthType, vrrpOperAuthKey=vrrpOperAuthKey, vrrpOperAdvertisementInterval=vrrpOperAdvertisementInterval, vrrpOperPreemptMode=vrrpOperPreemptMode, vrrpOperVirtualRouterUpTime=vrrpOperVirtualRouterUpTime, vrrpOperProtocol=vrrpOperProtocol, vrrpOperRowStatus=vrrpOperRowStatus, vrrpAssoIpAddrTable=vrrpAssoIpAddrTable, vrrpAssoIpAddrEntry=vrrpAssoIpAddrEntry, vrrpAssoIpAddr=vrrpAssoIpAddr, vrrpAssoIpAddrRowStatus=vrrpAssoIpAddrRowStatus, vrrpTrapPacketSrc=vrrpTrapPacketSrc, vrrpTrapAuthErrorType=vrrpTrapAuthErrorType, vrrpStatistics=vrrpStatistics, vrrpRouterChecksumErrors=vrrpRouterChecksumErrors, vrrpRouterVersionErrors=vrrpRouterVersionErrors, vrrpRouterVrIdErrors=vrrpRouterVrIdErrors, vrrpRouterStatsTable=vrrpRouterStatsTable, vrrpRouterStatsEntry=vrrpRouterStatsEntry, vrrpStatsBecomeMaster=vrrpStatsBecomeMaster, vrrpStatsAdvertiseRcvd=vrrpStatsAdvertiseRcvd, vrrpStatsAdvertiseIntervalErrors=vrrpStatsAdvertiseIntervalErrors, vrrpStatsAuthFailures=vrrpStatsAuthFailures, vrrpStatsIpTtlErrors=vrrpStatsIpTtlErrors, vrrpStatsPriorityZeroPktsRcvd=vrrpStatsPriorityZeroPktsRcvd, vrrpStatsPriorityZeroPktsSent=vrrpStatsPriorityZeroPktsSent, vrrpStatsInvalidTypePktsRcvd=vrrpStatsInvalidTypePktsRcvd, vrrpStatsAddressListErrors=vrrpStatsAddressListErrors, vrrpStatsInvalidAuthType=vrrpStatsInvalidAuthType, vrrpStatsAuthTypeMismatch=vrrpStatsAuthTypeMismatch, vrrpStatsPacketLengthErrors=vrrpStatsPacketLengthErrors, vrrpConformance=vrrpConformance, vrrpMIBCompliances=vrrpMIBCompliances, vrrpMIBGroups=vrrpMIBGroups) # Notifications mibBuilder.exportSymbols("VRRP-MIB", vrrpTrapNewMaster=vrrpTrapNewMaster, vrrpTrapAuthFailure=vrrpTrapAuthFailure) # Groups mibBuilder.exportSymbols("VRRP-MIB", vrrpOperGroup=vrrpOperGroup, vrrpStatsGroup=vrrpStatsGroup, vrrpTrapGroup=vrrpTrapGroup, vrrpNotificationGroup=vrrpNotificationGroup) # Compliances mibBuilder.exportSymbols("VRRP-MIB", vrrpMIBCompliance=vrrpMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ETHER-WIS.py0000644000014400001440000004515311736645136020347 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ETHER-WIS # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:57 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( sonetFarEndLineStuff2, sonetFarEndPathStuff2, sonetLineStuff2, sonetMediumCircuitIdentifier, sonetMediumLineCoding, sonetMediumLineType, sonetMediumLoopbackConfig, sonetMediumStuff2, sonetMediumType, sonetPathCurrentWidth, sonetPathStuff2, sonetSESthresholdSet, sonetSectionStuff2, ) = mibBuilder.importSymbols("SONET-MIB", "sonetFarEndLineStuff2", "sonetFarEndPathStuff2", "sonetLineStuff2", "sonetMediumCircuitIdentifier", "sonetMediumLineCoding", "sonetMediumLineType", "sonetMediumLoopbackConfig", "sonetMediumStuff2", "sonetMediumType", "sonetPathCurrentWidth", "sonetPathStuff2", "sonetSESthresholdSet", "sonetSectionStuff2") # Objects etherWisMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 134)).setRevisions(("2003-09-19 00:00",)) if mibBuilder.loadTexts: etherWisMIB.setOrganization("IETF Ethernet Interfaces and Hub MIB\nWorking Group") if mibBuilder.loadTexts: etherWisMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/hubmib-charter.html\n\nMailing Lists:\nGeneral Discussion: hubmib@ietf.org\nTo Subscribe: hubmib-request@ietf.org\nIn Body: subscribe your_email_address\n\nChair: Dan Romascanu\nPostal: Avaya Inc.\n Atidim Technology Park, Bldg. 3\n Tel Aviv 61131\n Israel\n Tel: +972 3 645 8414\nE-mail: dromasca@avaya.com\n\nEditor: C. M. Heard\nPostal: 600 Rainbow Dr. #141\n Mountain View, CA 94041-2542\n USA\n Tel: +1 650-964-8391\nE-mail: heard@pobox.com") if mibBuilder.loadTexts: etherWisMIB.setDescription("The objects in this MIB module are used in conjunction\nwith objects in the SONET-MIB and the MAU-MIB to manage\nthe Ethernet WAN Interface Sublayer (WIS).\n\nThe following reference is used throughout this MIB module:\n\n[IEEE 802.3 Std] refers to:\n IEEE Std 802.3, 2000 Edition: 'IEEE Standard for\n Information technology - Telecommunications and\n information exchange between systems - Local and\n metropolitan area networks - Specific requirements -\n Part 3: Carrier sense multiple access with collision\n detection (CSMA/CD) access method and physical layer\n specifications', as amended by IEEE Std 802.3ae-2002,\n 'IEEE Standard for Carrier Sense Multiple Access with\n Collision Detection (CSMA/CD) Access Method and\n Physical Layer Specifications - Media Access Control\n (MAC) Parameters, Physical Layer and Management\n Parameters for 10 Gb/s Operation', 30 August 2002.\n\nOf particular interest are Clause 50, 'WAN Interface\nSublayer (WIS), type 10GBASE-W', Clause 30, '10Mb/s,\n100Mb/s, 1000Mb/s, and 10Gb/s MAC Control, and Link\nAggregation Management', and Clause 45, 'Management\nData Input/Output (MDIO) Interface'.\n\nCopyright (C) The Internet Society (2003). This version\nof this MIB module is part of RFC 3637; see the RFC\nitself for full legal notices.") etherWisObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1)) etherWisDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 1)) etherWisDeviceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1)) if mibBuilder.loadTexts: etherWisDeviceTable.setDescription("The table for Ethernet WIS devices") etherWisDeviceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisDeviceEntry.setDescription("An entry in the Ethernet WIS device table. For each\ninstance of this object there MUST be a corresponding\ninstance of sonetMediumEntry.") etherWisDeviceTxTestPatternMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("none", 1), ("squareWave", 2), ("prbs31", 3), ("mixedFrequency", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setDescription("This variable controls the transmit test pattern mode.\nThe value none(1) puts the the WIS transmit path into\nthe normal operating mode. The value squareWave(2) puts\nthe WIS transmit path into the square wave test pattern\nmode described in [IEEE 802.3 Std.] subclause 50.3.8.1.\nThe value prbs31(3) puts the WIS transmit path into the\nPRBS31 test pattern mode described in [IEEE 802.3 Std.]\nsubclause 50.3.8.2. The value mixedFrequency(4) puts the\nWIS transmit path into the mixed frequency test pattern\nmode described in [IEEE 802.3 Std.] subclause 50.3.8.3.\nAny attempt to set this object to a value other than\nnone(1) when the corresponding instance of ifAdminStatus\nhas the value up(1) MUST be rejected with the error\ninconsistentValue, and any attempt to set the corresponding\ninstance of ifAdminStatus to the value up(1) when an\ninstance of this object has a value other than none(1)\nMUST be rejected with the error inconsistentValue.") etherWisDeviceRxTestPatternMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,3,)).subtype(namedValues=NamedValues(("none", 1), ("prbs31", 3), ("mixedFrequency", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setDescription("This variable controls the receive test pattern mode.\nThe value none(1) puts the the WIS receive path into the\nnormal operating mode. The value prbs31(3) puts the WIS\nreceive path into the PRBS31 test pattern mode described\nin [IEEE 802.3 Std.] subclause 50.3.8.2. The value\nmixedFrequency(4) puts the WIS receive path into the mixed\nfrequency test pattern mode described in [IEEE 802.3 Std.]\nsubclause 50.3.8.3. Any attempt to set this object to a\nvalue other than none(1) when the corresponding instance\nof ifAdminStatus has the value up(1) MUST be rejected with\nthe error inconsistentValue, and any attempt to set the\ncorresponding instance of ifAdminStatus to the value up(1)\nwhen an instance of this object has a value other than\nnone(1) MUST be rejected with the error inconsistentValue.") etherWisDeviceRxTestPatternErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setDescription("This object counts the number of errors detected when the\nWIS receive path is operating in the PRBS31 test pattern\nmode. It is reset to zero when the WIS receive path\ninitially enters that mode, and it increments each time\nthe PRBS pattern checker detects an error as described in\n[IEEE 802.3 Std.] subclause 50.3.8.2 unless its value is\n65535, in which case it remains unchanged. This object is\nwriteable so that it may be reset upon explicit request\nof a command generator application while the WIS receive\npath continues to operate in PRBS31 test pattern mode.") etherWisSection = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 2)) etherWisSectionCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1)) if mibBuilder.loadTexts: etherWisSectionCurrentTable.setDescription("The table for the current state of Ethernet WIS sections.") etherWisSectionCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setDescription("An entry in the etherWisSectionCurrentTable. For each\ninstance of this object there MUST be a corresponding\ninstance of sonetSectionCurrentEntry.") etherWisSectionCurrentJ0Transmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setDescription("This is the 16-octet section trace message that\nis transmitted in the J0 byte. The value SHOULD\nbe '89'h followed by fifteen octets of '00'h\n(or some cyclic shift thereof) when the section\ntrace function is not used, and the implementation\nSHOULD use that value (or a cyclic shift thereof)\nas a default if no other value has been set.") etherWisSectionCurrentJ0Received = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setDescription("This is the 16-octet section trace message that\nwas most recently received in the J0 byte.") etherWisObjectsPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2)) etherWisPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 1)) etherWisPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1)) if mibBuilder.loadTexts: etherWisPathCurrentTable.setDescription("The table for the current state of Ethernet WIS paths.") etherWisPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisPathCurrentEntry.setDescription("An entry in the etherWisPathCurrentTable. For each\ninstance of this object there MUST be a corresponding\ninstance of sonetPathCurrentEntry.") etherWisPathCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("etherWisPathLOP", 0), ("etherWisPathAIS", 1), ("etherWisPathPLM", 2), ("etherWisPathLCD", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisPathCurrentStatus.setDescription("This variable indicates the current status of the\npath payload with a bit map that can indicate multiple\ndefects at once. The bit positions are assigned as\nfollows:\n\netherWisPathLOP(0)\n This bit is set to indicate that an\n LOP-P (Loss of Pointer - Path) defect\n is being experienced. Note: when this\n bit is set, sonetPathSTSLOP MUST be set\n in the corresponding instance of\n sonetPathCurrentStatus.\n\netherWisPathAIS(1)\n This bit is set to indicate that an\n AIS-P (Alarm Indication Signal - Path)\n defect is being experienced. Note: when\n this bit is set, sonetPathSTSAIS MUST be\n set in the corresponding instance of\n sonetPathCurrentStatus.\n\netherWisPathPLM(1)\n This bit is set to indicate that a\n PLM-P (Payload Label Mismatch - Path)\n defect is being experienced. Note: when\n this bit is set, sonetPathSignalLabelMismatch\n MUST be set in the corresponding instance of\n sonetPathCurrentStatus.\n\n\n\n\n\n\n\n\n\n\n\n\n\netherWisPathLCD(3)\n This bit is set to indicate that an\n LCD-P (Loss of Codegroup Delination - Path)\n defect is being experienced. Since this\n defect is detected by the PCS and not by\n the path layer itself, there is no\n corresponding bit in sonetPathCurrentStatus.") etherWisPathCurrentJ1Transmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setDescription("This is the 16-octet path trace message that\nis transmitted in the J1 byte. The value SHOULD\nbe '89'h followed by fifteen octets of '00'h\n(or some cyclic shift thereof) when the path\ntrace function is not used, and the implementation\nSHOULD use that value (or a cyclic shift thereof)\nas a default if no other value has been set.") etherWisPathCurrentJ1Received = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setDescription("This is the 16-octet path trace message that\nwas most recently received in the J1 byte.") etherWisFarEndPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 2)) etherWisFarEndPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1)) if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setDescription("The table for the current far-end state of Ethernet WIS\npaths.") etherWisFarEndPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setDescription("An entry in the etherWisFarEndPathCurrentTable. For each\ninstance of this object there MUST be a corresponding\ninstance of sonetFarEndPathCurrentEntry.") etherWisFarEndPathCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("etherWisFarEndPayloadDefect", 0), ("etherWisFarEndServerDefect", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setDescription("This variable indicates the current status at the\nfar end of the path using a bit map that can indicate\nmultiple defects at once. The bit positions are\nassigned as follows:\n\netherWisFarEndPayloadDefect(0)\n A far end payload defect (i.e., far end\n PLM-P or LCD-P) is currently being signaled\n in G1 bits 5-7.\n\n\n\n\netherWisFarEndServerDefect(1)\n A far end server defect (i.e., far end\n LOP-P or AIS-P) is currently being signaled\n in G1 bits 5-7. Note: when this bit is set,\n sonetPathSTSRDI MUST be set in the corresponding\n instance of sonetPathCurrentStatus.") etherWisConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3)) etherWisGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 1)) etherWisCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 2)) # Augmentions # Groups etherWisDeviceGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 1)).setObjects(*(("ETHER-WIS", "etherWisDeviceRxTestPatternMode"), ("ETHER-WIS", "etherWisDeviceTxTestPatternMode"), ) ) if mibBuilder.loadTexts: etherWisDeviceGroupBasic.setDescription("A collection of objects that support test\nfeatures required of all WIS devices.") etherWisDeviceGroupExtra = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 2)).setObjects(*(("ETHER-WIS", "etherWisDeviceRxTestPatternErrors"), ) ) if mibBuilder.loadTexts: etherWisDeviceGroupExtra.setDescription("A collection of objects that support\noptional WIS device test features.") etherWisSectionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 3)).setObjects(*(("ETHER-WIS", "etherWisSectionCurrentJ0Received"), ("ETHER-WIS", "etherWisSectionCurrentJ0Transmitted"), ) ) if mibBuilder.loadTexts: etherWisSectionGroup.setDescription("A collection of objects that provide\nrequired information about a WIS section.") etherWisPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 4)).setObjects(*(("ETHER-WIS", "etherWisPathCurrentStatus"), ("ETHER-WIS", "etherWisPathCurrentJ1Transmitted"), ("ETHER-WIS", "etherWisPathCurrentJ1Received"), ) ) if mibBuilder.loadTexts: etherWisPathGroup.setDescription("A collection of objects that provide\nrequired information about a WIS path.") etherWisFarEndPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 5)).setObjects(*(("ETHER-WIS", "etherWisFarEndPathCurrentStatus"), ) ) if mibBuilder.loadTexts: etherWisFarEndPathGroup.setDescription("A collection of objects that provide required\ninformation about the far end of a WIS path.") # Compliances etherWisCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 134, 3, 2, 1)).setObjects(*(("SONET-MIB", "sonetFarEndPathStuff2"), ("SONET-MIB", "sonetPathStuff2"), ("SONET-MIB", "sonetSectionStuff2"), ("ETHER-WIS", "etherWisDeviceGroupBasic"), ("SONET-MIB", "sonetFarEndLineStuff2"), ("ETHER-WIS", "etherWisDeviceGroupExtra"), ("ETHER-WIS", "etherWisSectionGroup"), ("ETHER-WIS", "etherWisFarEndPathGroup"), ("SONET-MIB", "sonetMediumStuff2"), ("ETHER-WIS", "etherWisPathGroup"), ("SONET-MIB", "sonetLineStuff2"), ) ) if mibBuilder.loadTexts: etherWisCompliance.setDescription("The compliance statement for interfaces that include\nthe Ethernet WIS. Compliance with the following\nexternal compliance statements is prerequisite:\n\nMIB Module Compliance Statement\n---------- --------------------\nIF-MIB ifCompliance3\nIF-INVERTED-STACK-MIB ifInvCompliance\nEtherLike-MIB dot3Compliance2\nMAU-MIB mauModIfCompl3") # Exports # Module identity mibBuilder.exportSymbols("ETHER-WIS", PYSNMP_MODULE_ID=etherWisMIB) # Objects mibBuilder.exportSymbols("ETHER-WIS", etherWisMIB=etherWisMIB, etherWisObjects=etherWisObjects, etherWisDevice=etherWisDevice, etherWisDeviceTable=etherWisDeviceTable, etherWisDeviceEntry=etherWisDeviceEntry, etherWisDeviceTxTestPatternMode=etherWisDeviceTxTestPatternMode, etherWisDeviceRxTestPatternMode=etherWisDeviceRxTestPatternMode, etherWisDeviceRxTestPatternErrors=etherWisDeviceRxTestPatternErrors, etherWisSection=etherWisSection, etherWisSectionCurrentTable=etherWisSectionCurrentTable, etherWisSectionCurrentEntry=etherWisSectionCurrentEntry, etherWisSectionCurrentJ0Transmitted=etherWisSectionCurrentJ0Transmitted, etherWisSectionCurrentJ0Received=etherWisSectionCurrentJ0Received, etherWisObjectsPath=etherWisObjectsPath, etherWisPath=etherWisPath, etherWisPathCurrentTable=etherWisPathCurrentTable, etherWisPathCurrentEntry=etherWisPathCurrentEntry, etherWisPathCurrentStatus=etherWisPathCurrentStatus, etherWisPathCurrentJ1Transmitted=etherWisPathCurrentJ1Transmitted, etherWisPathCurrentJ1Received=etherWisPathCurrentJ1Received, etherWisFarEndPath=etherWisFarEndPath, etherWisFarEndPathCurrentTable=etherWisFarEndPathCurrentTable, etherWisFarEndPathCurrentEntry=etherWisFarEndPathCurrentEntry, etherWisFarEndPathCurrentStatus=etherWisFarEndPathCurrentStatus, etherWisConformance=etherWisConformance, etherWisGroups=etherWisGroups, etherWisCompliances=etherWisCompliances) # Groups mibBuilder.exportSymbols("ETHER-WIS", etherWisDeviceGroupBasic=etherWisDeviceGroupBasic, etherWisDeviceGroupExtra=etherWisDeviceGroupExtra, etherWisSectionGroup=etherWisSectionGroup, etherWisPathGroup=etherWisPathGroup, etherWisFarEndPathGroup=etherWisFarEndPathGroup) # Compliances mibBuilder.exportSymbols("ETHER-WIS", etherWisCompliance=etherWisCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/TRIP-TC-MIB.py0000644000014400001440000000723211736645141020517 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TRIP-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class TripAddressFamily(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,255,3,2,) namedValues = NamedValues(("decimal", 1), ("pentadecimal", 2), ("other", 255), ("e164", 3), ) class TripAppProtocol(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,3,4,255,) namedValues = NamedValues(("sip", 1), ("q931", 2), ("other", 255), ("ras", 3), ("annexG", 4), ) class TripCommunityId(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class TripId(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class TripItad(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class TripProtocolVersion(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,255) class TripSendReceiveMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,3,) namedValues = NamedValues(("sendReceive", 1), ("sendOnly", 2), ("receiveOnly", 3), ) # Objects tripTC = ModuleIdentity((1, 3, 6, 1, 2, 1, 115)).setRevisions(("2004-09-02 00:00",)) if mibBuilder.loadTexts: tripTC.setOrganization("IETF IPTel Working Group.\nMailing list: iptel@lists.bell-labs.com") if mibBuilder.loadTexts: tripTC.setContactInfo("Co-editor David Zinman\npostal: 265 Ridley Blvd.\n Toronto ON, M5M 4N8\n Canada\nemail: dzinman@rogers.com\nphone: +1 416 433 4298\n\nCo-editor: David Walker\n Sedna Wireless Inc.\npostal: 495 March Road, Suite 500\n Ottawa, ON K2K 3G1\n Canada\nemail: david.walker@sedna-wireless.com\nphone: +1 613 878 8142\n\nCo-editor Jianping Jiang\n Syndesis Limited\npostal: 30 Fulton Way\n Richmond Hill, ON L4B 1J5\n Canada\n\nemail: jjiang@syndesis.com\nphone: +1 905 886-7818 x2515") if mibBuilder.loadTexts: tripTC.setDescription("Initial version of TRIP (Telephony Routing Over IP)\nMIB Textual Conventions module used by other\n\n\n\nTRIP-related MIB Modules.\n\nCopyright (C) The Internet Society (2004). This version of\nthis MIB module is part of RFC 3872, see the RFC itself\nfor full legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("TRIP-TC-MIB", PYSNMP_MODULE_ID=tripTC) # Types mibBuilder.exportSymbols("TRIP-TC-MIB", TripAddressFamily=TripAddressFamily, TripAppProtocol=TripAppProtocol, TripCommunityId=TripCommunityId, TripId=TripId, TripItad=TripItad, TripProtocolVersion=TripProtocolVersion, TripSendReceiveMode=TripSendReceiveMode) # Objects mibBuilder.exportSymbols("TRIP-TC-MIB", tripTC=tripTC) pysnmp-mibs-0.1.3/pysnmp_mibs/HOST-RESOURCES-TYPES.py0000644000014400001440000003267411736645136022073 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HOST-RESOURCES-TYPES # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:04 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( hrDevice, hrMIBAdminInfo, hrStorage, ) = mibBuilder.importSymbols("HOST-RESOURCES-MIB", "hrDevice", "hrMIBAdminInfo", "hrStorage") ( Bits, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "TimeTicks") # Objects hrStorageTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 2, 1)) hrStorageOther = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 1)) if mibBuilder.loadTexts: hrStorageOther.setDescription("The storage type identifier used when no other defined\ntype is appropriate.") hrStorageRam = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 2)) if mibBuilder.loadTexts: hrStorageRam.setDescription("The storage type identifier used for RAM.") hrStorageVirtualMemory = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 3)) if mibBuilder.loadTexts: hrStorageVirtualMemory.setDescription("The storage type identifier used for virtual memory,\ntemporary storage of swapped or paged memory.") hrStorageFixedDisk = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 4)) if mibBuilder.loadTexts: hrStorageFixedDisk.setDescription("The storage type identifier used for non-removable\nrigid rotating magnetic storage devices.") hrStorageRemovableDisk = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 5)) if mibBuilder.loadTexts: hrStorageRemovableDisk.setDescription("The storage type identifier used for removable rigid\nrotating magnetic storage devices.") hrStorageFloppyDisk = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 6)) if mibBuilder.loadTexts: hrStorageFloppyDisk.setDescription("The storage type identifier used for non-rigid rotating\nmagnetic storage devices.") hrStorageCompactDisc = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 7)) if mibBuilder.loadTexts: hrStorageCompactDisc.setDescription("The storage type identifier used for read-only rotating\noptical storage devices.") hrStorageRamDisk = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 8)) if mibBuilder.loadTexts: hrStorageRamDisk.setDescription("The storage type identifier used for a file system that\nis stored in RAM.") hrStorageFlashMemory = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 9)) if mibBuilder.loadTexts: hrStorageFlashMemory.setDescription("The storage type identifier used for flash memory.") hrStorageNetworkDisk = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 2, 1, 10)) if mibBuilder.loadTexts: hrStorageNetworkDisk.setDescription("The storage type identifier used for a\nnetworked file system.") hrDeviceTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 3, 1)) hrDeviceOther = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 1)) if mibBuilder.loadTexts: hrDeviceOther.setDescription("The device type identifier used when no other defined\ntype is appropriate.") hrDeviceUnknown = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 2)) if mibBuilder.loadTexts: hrDeviceUnknown.setDescription("The device type identifier used when the device type is\nunknown.") hrDeviceProcessor = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 3)) if mibBuilder.loadTexts: hrDeviceProcessor.setDescription("The device type identifier used for a CPU.") hrDeviceNetwork = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 4)) if mibBuilder.loadTexts: hrDeviceNetwork.setDescription("The device type identifier used for a network interface.") hrDevicePrinter = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 5)) if mibBuilder.loadTexts: hrDevicePrinter.setDescription("The device type identifier used for a printer.") hrDeviceDiskStorage = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 6)) if mibBuilder.loadTexts: hrDeviceDiskStorage.setDescription("The device type identifier used for a disk drive.") hrDeviceVideo = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 10)) if mibBuilder.loadTexts: hrDeviceVideo.setDescription("The device type identifier used for a video device.") hrDeviceAudio = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 11)) if mibBuilder.loadTexts: hrDeviceAudio.setDescription("The device type identifier used for an audio device.") hrDeviceCoprocessor = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 12)) if mibBuilder.loadTexts: hrDeviceCoprocessor.setDescription("The device type identifier used for a co-processor.") hrDeviceKeyboard = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 13)) if mibBuilder.loadTexts: hrDeviceKeyboard.setDescription("The device type identifier used for a keyboard device.") hrDeviceModem = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 14)) if mibBuilder.loadTexts: hrDeviceModem.setDescription("The device type identifier used for a modem.") hrDeviceParallelPort = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 15)) if mibBuilder.loadTexts: hrDeviceParallelPort.setDescription("The device type identifier used for a parallel port.") hrDevicePointing = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 16)) if mibBuilder.loadTexts: hrDevicePointing.setDescription("The device type identifier used for a pointing device\n(e.g., a mouse).") hrDeviceSerialPort = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 17)) if mibBuilder.loadTexts: hrDeviceSerialPort.setDescription("The device type identifier used for a serial port.") hrDeviceTape = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 18)) if mibBuilder.loadTexts: hrDeviceTape.setDescription("The device type identifier used for a tape storage device.") hrDeviceClock = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 19)) if mibBuilder.loadTexts: hrDeviceClock.setDescription("The device type identifier used for a clock device.") hrDeviceVolatileMemory = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 20)) if mibBuilder.loadTexts: hrDeviceVolatileMemory.setDescription("The device type identifier used for a volatile memory\nstorage device.") hrDeviceNonVolatileMemory = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 1, 21)) if mibBuilder.loadTexts: hrDeviceNonVolatileMemory.setDescription("The device type identifier used for a non-volatile memory\nstorage device.") hrFSTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 3, 9)) hrFSOther = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 1)) if mibBuilder.loadTexts: hrFSOther.setDescription("The file system type identifier used when no other\ndefined type is appropriate.") hrFSUnknown = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 2)) if mibBuilder.loadTexts: hrFSUnknown.setDescription("The file system type identifier used when the type of\nfile system is unknown.") hrFSBerkeleyFFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 3)) if mibBuilder.loadTexts: hrFSBerkeleyFFS.setDescription("The file system type identifier used for the\nBerkeley Fast File System.") hrFSSys5FS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 4)) if mibBuilder.loadTexts: hrFSSys5FS.setDescription("The file system type identifier used for the\nSystem V File System.") hrFSFat = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 5)) if mibBuilder.loadTexts: hrFSFat.setDescription("The file system type identifier used for\nDOS's FAT file system.") hrFSHPFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 6)) if mibBuilder.loadTexts: hrFSHPFS.setDescription("The file system type identifier used for OS/2's\nHigh Performance File System.") hrFSHFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 7)) if mibBuilder.loadTexts: hrFSHFS.setDescription("The file system type identifier used for the\nMacintosh Hierarchical File System.") hrFSMFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 8)) if mibBuilder.loadTexts: hrFSMFS.setDescription("The file system type identifier used for the\nMacintosh File System.") hrFSNTFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 9)) if mibBuilder.loadTexts: hrFSNTFS.setDescription("The file system type identifier used for the\nWindows NT File System.") hrFSVNode = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 10)) if mibBuilder.loadTexts: hrFSVNode.setDescription("The file system type identifier used for the\nVNode File System.") hrFSJournaled = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 11)) if mibBuilder.loadTexts: hrFSJournaled.setDescription("The file system type identifier used for the\nJournaled File System.") hrFSiso9660 = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 12)) if mibBuilder.loadTexts: hrFSiso9660.setDescription("The file system type identifier used for the\nISO 9660 File System for CD's.") hrFSRockRidge = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 13)) if mibBuilder.loadTexts: hrFSRockRidge.setDescription("The file system type identifier used for the\nRockRidge File System for CD's.") hrFSNFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 14)) if mibBuilder.loadTexts: hrFSNFS.setDescription("The file system type identifier used for the\nNFS File System.") hrFSNetware = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 15)) if mibBuilder.loadTexts: hrFSNetware.setDescription("The file system type identifier used for the\nNetware File System.") hrFSAFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 16)) if mibBuilder.loadTexts: hrFSAFS.setDescription("The file system type identifier used for the\nAndrew File System.") hrFSDFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 17)) if mibBuilder.loadTexts: hrFSDFS.setDescription("The file system type identifier used for the\nOSF DCE Distributed File System.") hrFSAppleshare = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 18)) if mibBuilder.loadTexts: hrFSAppleshare.setDescription("The file system type identifier used for the\nAppleShare File System.") hrFSRFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 19)) if mibBuilder.loadTexts: hrFSRFS.setDescription("The file system type identifier used for the\nRFS File System.") hrFSDGCFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 20)) if mibBuilder.loadTexts: hrFSDGCFS.setDescription("The file system type identifier used for the\nData General DGCFS.") hrFSBFS = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 21)) if mibBuilder.loadTexts: hrFSBFS.setDescription("The file system type identifier used for the\nSVR4 Boot File System.") hrFSFAT32 = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 22)) if mibBuilder.loadTexts: hrFSFAT32.setDescription("The file system type identifier used for the\nWindows FAT32 File System.") hrFSLinuxExt2 = ObjectIdentity((1, 3, 6, 1, 2, 1, 25, 3, 9, 23)) if mibBuilder.loadTexts: hrFSLinuxExt2.setDescription("The file system type identifier used for the\nLinux EXT2 File System.") hostResourcesTypesModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 25, 7, 4)).setRevisions(("2000-03-06 00:00",)) if mibBuilder.loadTexts: hostResourcesTypesModule.setOrganization("IETF Host Resources MIB Working Group") if mibBuilder.loadTexts: hostResourcesTypesModule.setContactInfo("Steve Waldbusser\nPostal: Lucent Technologies, Inc.\n 1213 Innsbruck Dr.\n Sunnyvale, CA 94089\n USA\nPhone: 650-318-1251\nFax: 650-318-1633\nEmail: waldbusser@ins.com\n\nIn addition, the Host Resources MIB mailing list is dedicated\nto discussion of this MIB. To join the mailing list, send a\nrequest message to hostmib-request@andrew.cmu.edu. The mailing\nlist address is hostmib@andrew.cmu.edu.") if mibBuilder.loadTexts: hostResourcesTypesModule.setDescription("This MIB module registers type definitions for\nstorage types, device types, and file system types.\nAfter the initial revision, this module will be\nmaintained by IANA.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("HOST-RESOURCES-TYPES", PYSNMP_MODULE_ID=hostResourcesTypesModule) # Objects mibBuilder.exportSymbols("HOST-RESOURCES-TYPES", hrStorageTypes=hrStorageTypes, hrStorageOther=hrStorageOther, hrStorageRam=hrStorageRam, hrStorageVirtualMemory=hrStorageVirtualMemory, hrStorageFixedDisk=hrStorageFixedDisk, hrStorageRemovableDisk=hrStorageRemovableDisk, hrStorageFloppyDisk=hrStorageFloppyDisk, hrStorageCompactDisc=hrStorageCompactDisc, hrStorageRamDisk=hrStorageRamDisk, hrStorageFlashMemory=hrStorageFlashMemory, hrStorageNetworkDisk=hrStorageNetworkDisk, hrDeviceTypes=hrDeviceTypes, hrDeviceOther=hrDeviceOther, hrDeviceUnknown=hrDeviceUnknown, hrDeviceProcessor=hrDeviceProcessor, hrDeviceNetwork=hrDeviceNetwork, hrDevicePrinter=hrDevicePrinter, hrDeviceDiskStorage=hrDeviceDiskStorage, hrDeviceVideo=hrDeviceVideo, hrDeviceAudio=hrDeviceAudio, hrDeviceCoprocessor=hrDeviceCoprocessor, hrDeviceKeyboard=hrDeviceKeyboard, hrDeviceModem=hrDeviceModem, hrDeviceParallelPort=hrDeviceParallelPort, hrDevicePointing=hrDevicePointing, hrDeviceSerialPort=hrDeviceSerialPort, hrDeviceTape=hrDeviceTape, hrDeviceClock=hrDeviceClock, hrDeviceVolatileMemory=hrDeviceVolatileMemory, hrDeviceNonVolatileMemory=hrDeviceNonVolatileMemory, hrFSTypes=hrFSTypes, hrFSOther=hrFSOther, hrFSUnknown=hrFSUnknown, hrFSBerkeleyFFS=hrFSBerkeleyFFS, hrFSSys5FS=hrFSSys5FS, hrFSFat=hrFSFat, hrFSHPFS=hrFSHPFS, hrFSHFS=hrFSHFS, hrFSMFS=hrFSMFS, hrFSNTFS=hrFSNTFS, hrFSVNode=hrFSVNode, hrFSJournaled=hrFSJournaled, hrFSiso9660=hrFSiso9660, hrFSRockRidge=hrFSRockRidge, hrFSNFS=hrFSNFS, hrFSNetware=hrFSNetware, hrFSAFS=hrFSAFS, hrFSDFS=hrFSDFS, hrFSAppleshare=hrFSAppleshare, hrFSRFS=hrFSRFS, hrFSDGCFS=hrFSDGCFS, hrFSBFS=hrFSBFS, hrFSFAT32=hrFSFAT32, hrFSLinuxExt2=hrFSLinuxExt2, hostResourcesTypesModule=hostResourcesTypesModule) pysnmp-mibs-0.1.3/pysnmp_mibs/APPLETALK-MIB.py0000644000014400001440000027705411736645134020767 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APPLETALK-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:41 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter32, Integer32, Integer32, IpAddress, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Types class ATName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,32) class ATNetworkNumber(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(2,2) fixedLength = 2 class DdpNodeAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(3,3) fixedLength = 3 class DdpSocketAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 # Objects appletalk = MibIdentifier((1, 3, 6, 1, 2, 1, 13)) llap = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 1)) llapTable = MibTable((1, 3, 6, 1, 2, 1, 13, 1, 1)) if mibBuilder.loadTexts: llapTable.setDescription("The list of LLAP entries.") llapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 1, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "llapIfIndex")) if mibBuilder.loadTexts: llapEntry.setDescription("An LLAP entry containing objects for the LocalTalk\nLink Access Protocol for a particular LocalTalk\ninterface.\n\nAs an example, an instance of the llapOutPkts object\nmight be named llapOutPks.1") llapIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapIfIndex.setDescription("The LLAP interface to which this entry pertains.\nThe interface identified by a particular value of\nthis index is the same interface as identified\nby the same value of ifIndex.") llapInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapInPkts.setDescription("The total number of good data packets received on\nthis LocalTalk interface.") llapOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapOutPkts.setDescription("The total number of data packets transmitted on\nthis LocalTalk interface.") llapInNoHandlers = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapInNoHandlers.setDescription("The total number of good packets received on this\nLocalTalk interface for which there was no protocol\nhandler.") llapInLengthErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapInLengthErrors.setDescription("The total number of packets received on this LocalTalk\ninterface whose actual length did not match the length\nin the header.") llapInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapInErrors.setDescription("The total number of packets containing errors received\non this LocalTalk interface.") llapCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapCollisions.setDescription("The total number of collisions assumed on this\nLocalTalk interface due to the lack of a lapCTS reply.") llapDefers = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapDefers.setDescription("The total number of times this LocalTalk interface\ndeferred to other packets.") llapNoDataErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapNoDataErrors.setDescription("The total number of times this LocalTalk interface\nreceived a lapRTS packet and expected a data packet,\nbut did not receive any data packet.") llapRandomCTSErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapRandomCTSErrors.setDescription("The total number of times this LocalTalk interface\nreceived a lapCTS packet that was not solicited by a\nlapRTS packet.") llapFCSErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: llapFCSErrors.setDescription("The total number of times this LocalTalk interface\nreceived a packet with an FCS (Frame Check Sequence)\nerror.") aarp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 2)) aarpTable = MibTable((1, 3, 6, 1, 2, 1, 13, 2, 1)) if mibBuilder.loadTexts: aarpTable.setDescription("The AppleTalk Address Translation Table contains an\nequivalence of AppleTalk Network Addresses to the link\nlayer physical address.") aarpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 2, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "aarpIfIndex"), (0, "APPLETALK-MIB", "aarpNetAddress")) if mibBuilder.loadTexts: aarpEntry.setDescription("Each entry contains one AppleTalk Network Address to\nphysical address equivalence.\n\nAs an example, an instance of the aarpPhysAddress\nobject might be named aarpPhysAddress.1.0.80.234") aarpIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aarpIfIndex.setDescription("The interface on which this entry's equivalence is\neffective. The interface identified by a particular\nvalue of this index is the same interface as\nidentified by the same value of ifIndex.") aarpPhysAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 2, 1, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aarpPhysAddress.setDescription("The media-dependent physical address.") aarpNetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 2, 1, 1, 3), DdpNodeAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: aarpNetAddress.setDescription("The AppleTalk Network Address corresponding to the\nmedia-dependent physical address.") aarpStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("valid", 1), ("invalid", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aarpStatus.setDescription("The status of this AARP entry.\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in the\naarpTable. That is, it effectively disassociates\nthe mapping identified with said entry. It is an\nimplementation-specific matter as to whether the agent\nremoves an invalidated entry from the table.\nAccordingly, management stations must be prepared to\nreceive from agents tabular information corresponding\nto entries not currently in use. Proper\ninterpretation of such entries requires examination\nof the relevant aarpStatus object.") aarpLookups = MibScalar((1, 3, 6, 1, 2, 1, 13, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aarpLookups.setDescription("The number of times the AARP cache for this entity\nwas searched.") aarpHits = MibScalar((1, 3, 6, 1, 2, 1, 13, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aarpHits.setDescription("The number of times an entry was searched for and\nfound in the AARP cache for this entity.") atport = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 3)) atportTable = MibTable((1, 3, 6, 1, 2, 1, 13, 3, 1)) if mibBuilder.loadTexts: atportTable.setDescription("A list of AppleTalk ports for this entity.") atportEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 3, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "atportIndex")) if mibBuilder.loadTexts: atportEntry.setDescription("The description of one of the AppleTalk\nports on this entity.\n\nAs an example, an instance of the atportNetFrom object\nmight be named atportNetFrom.2") atportIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atportIndex.setDescription("A unique value for each AppleTalk port.\nIts value is between 1 and the total number of\nAppleTalk ports. The value for each port must\nremain constant at least from the re-initialization\nof the entity's network management system to the\nnext re-initialization.") atportDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportDescr.setDescription("A text string containing information about the\nport. This string is intended for presentation\nto a human; it must not contain anything but printable\nASCII characters.") atportType = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(8,16,24,17,14,22,21,2,5,11,9,18,1,15,20,19,12,7,4,3,6,23,13,10,)).subtype(namedValues=NamedValues(("other", 1), ("fdditalk", 10), ("arctalk", 11), ("smdstalk", 12), ("aurp", 13), ("frameRelay", 14), ("x25", 15), ("ip", 16), ("osi", 17), ("decnetIV", 18), ("arap", 19), ("localtalk", 2), ("isdnInThePacketMode", 20), ("nonAppleTalk3Com", 21), ("ipx", 22), ("arns", 23), ("hdlc", 24), ("ethertalk1", 3), ("ethertalk2", 4), ("tokentalk", 5), ("iptalk", 6), ("serialPPP", 7), ("serialNonstandard", 8), ("virtual", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportType.setDescription("The type of port, distinguished by the protocol\nimmediately below DDP in the protocol stack.") atportNetStart = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 4), ATNetworkNumber()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportNetStart.setDescription("The first AppleTalk network address in the range\nconfigured for this port. If this port is not a\nnative AppleTalk port, this object shall have the\nvalue of two octets of zero.") atportNetEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 5), ATNetworkNumber()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportNetEnd.setDescription("The last AppleTalk network address in the range\nconfigured for this port. If the network to which\nthis AppleTalk port is connected is a non-extended\nnetwork, or if it is not a native AppleTalk port,\nthe value for atportNetEnd shall be two octets of\nzero.") atportNetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 6), DdpNodeAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportNetAddress.setDescription("The AppleTalk network address configured for this\nport. In addition, this value may be used as a hint\nfor an initial node number used during node-finding.\nIf this port is not a native AppleTalk port, this\nobject shall have the value of three octets of zero.") atportStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(7,3,1,5,6,4,2,)).subtype(namedValues=NamedValues(("routing", 1), ("unconfigured", 2), ("off", 3), ("invalid", 4), ("endNode", 5), ("offDueToConflict", 6), ("other", 7), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportStatus.setDescription("The configuration status of this port.\n\nSetting this object to the value invalid(4) has the\neffect of invalidating the corresponding entry in the\natportTable. That is, it effectively disassociates the\nmapping identified with said entry. It is an\nimplementation-specific matter as to whether the agent\nremoves an invalidated entry from the table.\nAccordingly, management stations must be prepared to\nreceive from agents tabular information corresponding\nto entries not currently in use. Proper\ninterpretation of such entries requires examination\nof the relevant atportStatus object.") atportNetConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,3,4,2,6,)).subtype(namedValues=NamedValues(("conflictOrientedSeed", 1), ("garnered", 2), ("guessed", 3), ("unconfigured", 4), ("conflictAverseSeed", 5), ("softSeed", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportNetConfig.setDescription("The status of the network information for this port.\nIf this port is not a native AppleTalk port, this\nobject shall have the value unconfigured(4).") atportZoneConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,3,4,2,6,)).subtype(namedValues=NamedValues(("conflictOrientedSeed", 1), ("garnered", 2), ("guessed", 3), ("unconfigured", 4), ("conflictAverseSeed", 5), ("softSeed", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportZoneConfig.setDescription("The status of the zone information for this port.\nIf this port is not a native AppleTalk port, this\nobject shall have the value unconfigured(4).") atportZoneDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 10), ATName()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportZoneDefault.setDescription("The name of the default zone for this port. If\nthis port only has one zone, that zone is\nrepresented here. If this port is not a native\nAppleTalk port, this object shall contain an octet\nstring of zero length.\n\nWhen this value is changed in a router, the router\nmust send a zipNotify packet on the associated\nnetwork.") atportIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportIfIndex.setDescription("The physical interface associated with this\nAppleTalk port. The interface identified by a\nparticular value of this index is the same interface\nas identified by the same value of ifIndex.") atportNetFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 12), DdpNodeAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atportNetFrom.setDescription("When atportNetConfig is set to garnered(2), this\nvariable contains the DDP address of an entity from\nwhich the AppleTalk network number was garnered.\nWhen atportNetConfig is set to\nconflictOrientedSeed(1), conflictAverseSeed(5),\nor softSeed(6), this variable contains the DDP\naddress of an entity which confirmed or supplied our\nAppleTalk network number, for example by replying to\na ZIP GetNetInfo request.\n\nIf atportNetConfig is set to guessed(3) or\nunconfigured(4), or if the entity has not received\nany network number confirmation, this variable\nshould be set to three octets of zero.") atportZoneFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 13), DdpNodeAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atportZoneFrom.setDescription("When atportZoneConfig is set to garnered(2), this\nvariable contains the DDP address of an entity from\nwhich the AppleTalk zone list was garnered.\n\nWhen atportZoneConfig is set to\nconflictOrientedSeed(1), conflictAverseSeed(5), or\nsoftSeed(6), this variable contains the DDP address\nof an entity which confirmed or supplied our\nAppleTalk zone information, for example by replying\nto a ZIP GetNetInfo request or a ZIP Query.\n\nIf atportZoneConfig is set to guessed(3) or\nunconfigured(4), or if the entity has not received\nany zone confirmation, this variable should be set\nto three octets of zero.") atportInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atportInPkts.setDescription("The number of packets received by this entity on\nthis port.") atportOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atportOutPkts.setDescription("The number of packets transmitted by this entity on\nthis port.") atportHome = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("home", 1), ("notHome", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atportHome.setDescription("An indication of whether or not the entity is\nhomed on this port, that is to say, a port on which\nthe entity could perform NBP registrations for\nservices that it chooses to advertise.") atportCurrentZone = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 17), ATName()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportCurrentZone.setDescription("The current zone for the port. In general, this is\nthe zone name in which services on this port will\nbe registered. If this port is not a native\nAppleTalk port, this object shall contain an octet\nstring of zero length. Note that modifications to\nthis object do not affect the nbpTable.") atportConflictPhysAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 1, 1, 18), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: atportConflictPhysAddr.setDescription("The link-layer address of a device which caused\nthis entity to set atportStatus to\noffDueToConflict(6). If this address is not\navailable, or if the entity has not set atportStatus\nto offDueToConflict, this object shall be a zero\nlength OCTET STRING.") atportZoneTable = MibTable((1, 3, 6, 1, 2, 1, 13, 3, 2)) if mibBuilder.loadTexts: atportZoneTable.setDescription("The table of zone information for non-default\nzones on ports.") atportZoneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 3, 2, 1)).setIndexNames((0, "APPLETALK-MIB", "atportZonePort"), (0, "APPLETALK-MIB", "atportZoneName")) if mibBuilder.loadTexts: atportZoneEntry.setDescription("An entry of zone information for a port.\n\nAs an example, an instance of the atportZoneStatus\nobject might be named\natportZoneStatus.2.8.84.119.105.108.105.103.104.116") atportZonePort = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 2, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atportZonePort.setDescription("An integer representing the port to which this zone\nbelongs. The port identified by a particular value\nof this object is the same port as identified by the\nsame value of atportIndex.") atportZoneName = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 2, 1, 2), ATName().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atportZoneName.setDescription("A zone name configured for the AppleTalk port\nreferred to in the corresponding entry of\natportZonePort.\n\nWhen this value is changed in a router, the router\nmust send a zipNotify packet on the associated\nnetwork.") atportZoneStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 3, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("valid", 1), ("invalid", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportZoneStatus.setDescription("The status of this zone entry.\n\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in\nthe atportZoneTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examination of the relevant\natportZoneStatus object.") ddp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 4)) ddpOutRequests = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpOutRequests.setDescription("The total number of DDP datagrams which were\nsupplied to DDP by local DDP clients in requests for\ntransmission. Note that this counter does not\ninclude any datagrams counted in ddpForwRequests.") ddpOutShorts = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpOutShorts.setDescription("The total number of short DDP datagrams which were\ntransmitted from this entity.") ddpOutLongs = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpOutLongs.setDescription("The total number of long DDP datagrams which were\ntransmitted from this entity.") ddpInReceives = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpInReceives.setDescription("The total number of input datagrams received by\nDDP, including those received in error.") ddpForwRequests = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwRequests.setDescription("The number of input datagrams for which this entity\nwas not their final DDP destination, as a result of\nwhich an attempt was made to find a route to forward\nthem to that final destination.") ddpInLocalDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpInLocalDatagrams.setDescription("The total number of input DDP datagrams for which\nthis\nentity was their final DDP destination.") ddpNoProtocolHandlers = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpNoProtocolHandlers.setDescription("The total number of DDP datagrams addressed to this\nentity that were addressed to an upper layer protocol\nfor which no protocol handler existed.") ddpOutNoRoutes = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpOutNoRoutes.setDescription("The total number of DDP datagrams dropped because a\nroute could not be found to their final destination.") ddpTooShortErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpTooShortErrors.setDescription("The total number of input DDP datagrams dropped\nbecause the received data length was less than the\ndata length specified in the DDP header or the\nreceived data length was less than the length of the\nexpected DDP header.") ddpTooLongErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpTooLongErrors.setDescription("The total number of input DDP datagrams dropped\nbecause they exceeded the maximum DDP datagram\nsize.") ddpBroadcastErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpBroadcastErrors.setDescription("The total number of input DDP datagrams dropped\nbecause this entity was not their final destination\nand they were addressed to the link level broadcast.") ddpShortDDPErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpShortDDPErrors.setDescription("The total number of input DDP datagrams dropped\nbecause this entity was not their final destination\nand their type was short DDP.") ddpHopCountErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpHopCountErrors.setDescription("The total number of input DDP datagrams dropped\nbecause this entity was not their final destination\nand their hop count would exceed 15.") ddpChecksumErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpChecksumErrors.setDescription("The total number of input DDP datagrams for which\nthis DDP entity was their final destination, and\nwhich were dropped because of a checksum error.") ddpListenerTable = MibTable((1, 3, 6, 1, 2, 1, 13, 4, 15)) if mibBuilder.loadTexts: ddpListenerTable.setDescription("The ddpListenerTable stores information for each\nDDP socket that has a listener.") ddpListenerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 4, 15, 1)).setIndexNames((0, "APPLETALK-MIB", "ddpListenerAddress")) if mibBuilder.loadTexts: ddpListenerEntry.setDescription("This ddpListenerEntry contains information about a\nparticular socket that has a socket listener.\n\nAs an example, an instance of the ddpListenerStatus\nobject might be named ddpListenerStatus.0.80.220.1") ddpListenerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 15, 1, 1), DdpSocketAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ddpListenerAddress.setDescription("The DDP address that this socket listener is bound\nto. If this socket listener isn't bound to a\nparticular address, for instance if it is intended\nfor all interfaces, this object shall have the value\nof three octets of zero followed by one octet of\nsocket number. The socket number must not equal\nzero.") ddpListenerInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 15, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpListenerInPkts.setDescription("The number of packets received for this listener.") ddpListenerStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 15, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("valid", 1), ("invalid", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ddpListenerStatus.setDescription("The status of this socket listener.\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in the\nddpListenerTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examination of the relevant\nddpListenerStatus object.") ddpForwardingTable = MibTable((1, 3, 6, 1, 2, 1, 13, 4, 16)) if mibBuilder.loadTexts: ddpForwardingTable.setDescription("A table of forwarding entries for DDP. This table\ncontains a route for each AppleTalk network currently\nknown to the entity.") ddpForwardingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 4, 16, 1)).setIndexNames((0, "APPLETALK-MIB", "ddpForwardingNetEnd")) if mibBuilder.loadTexts: ddpForwardingEntry.setDescription("A forwarding entry for a particular AppleTalk\nnetwork.\n\nAs an example, an instance of the ddpForwardingPort\nobject might be named ddpForwardingPort.0.90") ddpForwardingNetEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 16, 1, 1), ATNetworkNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ddpForwardingNetEnd.setDescription("The last network number in the network range\nmatched by this forwarding entry. This will not be\nzero even if this corresponds to a non-extended\nnet.") ddpForwardingNetStart = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 16, 1, 2), ATNetworkNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwardingNetStart.setDescription("The first network number in the network range\nmatched by this forwarding entry.") ddpForwardingNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 16, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwardingNextHop.setDescription("The next hop in the route to this entry's\ndestination network. The format of this address can\nbe determined by examinating the atportType\ncorresponding to this entry.") ddpForwardingProto = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 16, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwardingProto.setDescription("The routing mechanism by which this route was\nlearned.") ddpForwardingModifiedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 16, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwardingModifiedTime.setDescription("The value of sysUpTime at the time of the last\nmodification to this entry. The initial value of\nddpForwardingModified time shall be the value of\nsysUpTime at the time the entry is created.") ddpForwardingUseCounts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 16, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwardingUseCounts.setDescription("The number of times this entry has been used to\nroute a packet to the destination network. Note\nthat this counter is not cleared when the\ncorresponding ddpForwardingNextHop variable\nchanges.") ddpForwardingPort = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 4, 16, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwardingPort.setDescription("The AppleTalk port through which\nddpForwardingNextHop is reached. The interface\nidentified by a particular value of this variable is\nthe same interface as identified by the same value\nof atportIndex.") ddpForwProtoOids = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 4, 17)) rtmpRoutingProto = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 4, 17, 1)) kipRoutingProto = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 4, 17, 2)) ddpForwardingTableOverflows = MibScalar((1, 3, 6, 1, 2, 1, 13, 4, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ddpForwardingTableOverflows.setDescription("The number of times the entity attempted to add an\nentry to the forwarding table but failed due to\noverflow.") rtmp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 5)) rtmpTable = MibTable((1, 3, 6, 1, 2, 1, 13, 5, 1)) if mibBuilder.loadTexts: rtmpTable.setDescription("A list of Routing Table Maintenance Protocol\nentries for this entity.") rtmpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 5, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "rtmpRangeStart")) if mibBuilder.loadTexts: rtmpEntry.setDescription("The route entry to a particular network range.\n\nAs an example, an instance of the rtmpPort object\nmight be named rtmpPort.0.80") rtmpRangeStart = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 5, 1, 1, 1), ATNetworkNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpRangeStart.setDescription("The first DDP network address in the network range\nto which this routing entry pertains. This is a two\noctet DDP network address in network byte order.") rtmpRangeEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 5, 1, 1, 2), ATNetworkNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpRangeEnd.setDescription("The last DDP network address in the network range\nto which this routing entry pertains. This is a two\noctet DDP network address in network byte order. If\nthe network to which this routing entry pertains is\na non-extended network, the value for rtmpRangeEnd\nshall be two octets of zero.") rtmpNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 5, 1, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpNextHop.setDescription("The next internet router in the route to this\nentry's destination network. The format of this\naddress can be determined by examinating the\natportType corresponding to this entry.") rtmpType = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 5, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("other", 1), ("appletalk", 2), ("serialPPP", 3), ("serialNonstandard", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpType.setDescription("The type of network over which this route points.") rtmpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 5, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpPort.setDescription("The AppleTalk port over which this route points.\nThe interface identified by a particular value of\nthis variable is the same interface as identified by\nthe same value of atportIndex.") rtmpHops = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 5, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpHops.setDescription("The number of hops required to reach the\ndestination network to which this routing entry\npertains.") rtmpState = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 5, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,5,3,2,)).subtype(namedValues=NamedValues(("good", 1), ("suspect", 2), ("badZero", 3), ("badOne", 4), ("invalid", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtmpState.setDescription("The status of the information contained in this\nroute entry.\n\nSetting this object to the value invalid(5) has the\neffect of invalidating the corresponding entry in\nthe rtmpTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examination of the relevant rtmpState\nobject.") rtmpInDataPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 5, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpInDataPkts.setDescription("A count of the number of good RTMP data packets\nreceived by this entity.") rtmpOutDataPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 5, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpOutDataPkts.setDescription("A count of the number of RTMP packets sent by this\nentity.") rtmpInRequestPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 5, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpInRequestPkts.setDescription("A count of the number of good RTMP Request packets\nreceived by this entity.") rtmpNextIREqualChanges = MibScalar((1, 3, 6, 1, 2, 1, 13, 5, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpNextIREqualChanges.setDescription("A count of the number of times RTMP changes the\nNext Internet Router in a routing entry because the\nhop count advertised in a routing tuple was equal to\nthe current hop count for a particular network.") rtmpNextIRLessChanges = MibScalar((1, 3, 6, 1, 2, 1, 13, 5, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpNextIRLessChanges.setDescription("A count of the number of times RTMP changes the\nNext Internet Router in a routing entry because the\nhop count advertised in a routing tuple was less\nthan the current hop count for a particular network.") rtmpRouteDeletes = MibScalar((1, 3, 6, 1, 2, 1, 13, 5, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpRouteDeletes.setDescription("A count of the number of times RTMP deletes a route\nbecause it was aged out of the table. This can help\nto detect routing problems.") rtmpRoutingTableOverflows = MibScalar((1, 3, 6, 1, 2, 1, 13, 5, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpRoutingTableOverflows.setDescription("The number of times RTMP attempted to add a route\nto the RTMP table but failed due to lack of space.") kip = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 6)) kipTable = MibTable((1, 3, 6, 1, 2, 1, 13, 6, 1)) if mibBuilder.loadTexts: kipTable.setDescription("The table of routing information for KIP networks.") kipEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 6, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "kipNetStart")) if mibBuilder.loadTexts: kipEntry.setDescription("An entry in the routing table for KIP networks.\n\nAs an example, an instance of the kipCore object\nmight be named kipCore.0.80") kipNetStart = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 1), ATNetworkNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: kipNetStart.setDescription("The first AppleTalk network address in the range\nfor this routing entry. This address is a two octet\nDDP network address in network byte order.") kipNetEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 2), ATNetworkNumber()).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipNetEnd.setDescription("The last AppleTalk network address in the range for\nthis routing entry. This address is a two octet DDP\nnetwork address in network byte order. If the\nnetwork to which this AppleTalk port is connected is\na non-extended network, the value for kipNetEnd\nshall be two octets of zero.") kipNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipNextHop.setDescription("The IP address of the next hop in the route to this\nentry's destination network.") kipHopCount = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipHopCount.setDescription("The number of hops required to reach the destination\nnetwork to which this entry pertains.") kipBCastAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipBCastAddr.setDescription("The form of the IP address used to broadcast on this\nnetwork.") kipCore = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("core", 1), ("notcore", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipCore.setDescription("The status of kipNextHop as a core gateway.") kipType = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,5,2,1,)).subtype(namedValues=NamedValues(("kipRouter", 1), ("net", 2), ("host", 3), ("other", 4), ("async", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipType.setDescription("The type of the entity that this route points to.") kipState = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("configured", 1), ("learned", 2), ("invalid", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipState.setDescription("The state of this network entry.\n\nSetting this object to the value invalid(3) has the\neffect of invalidating the corresponding entry in the\nkipTable. That is, it effectively disassociates the\nmapping identified with said entry. It is an\nimplementation-specific matter as to whether the agent\nremoves an invalidated entry from the table.\nAccordingly, management stations must be prepared to\nreceive from agents tabular information corresponding\nto entries not currently in use. Proper\ninterpretation of such entries requires examination\nof the relevant kipState object.") kipShare = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("shared", 1), ("private", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: kipShare.setDescription("If the information in this entry is propagated to\nother routers as part of the AA routing protocol,\nthe value of this variable is equal to shared(1).\nOtherwise its value is private(2).") kipFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 6, 1, 1, 10), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: kipFrom.setDescription("The IP address from which the routing entry was\nlearned via the AA protocol. If this entry was not\ncreated via the AA protocol, it should contain IP\naddress 0.0.0.0.") zipRouter = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 7)) zipTable = MibTable((1, 3, 6, 1, 2, 1, 13, 7, 1)) if mibBuilder.loadTexts: zipTable.setDescription("The table of zone information for reachable\nAppleTalk networks.") zipEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 7, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "zipZoneNetStart"), (0, "APPLETALK-MIB", "zipZoneIndex")) if mibBuilder.loadTexts: zipEntry.setDescription("An entry of zone information for a particular zone\nand network combination.\n\nAs an example, an instance of the zipZoneState object\nmight be named zipZoneState.0.80.4") zipZoneName = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 1, 1, 1), ATName()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneName.setDescription("The zone name of this entry. This is stored in\nMac ASCII format. If the full zone list for the\nentry is not known, the value for zipZoneName shall\nbe a zero length octet string.") zipZoneIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneIndex.setDescription("An integer that is unique to the zipZoneName that\nis present in this entry. For any given zone name,\nevery zipEntry that has an equal zone name will have\nthe same zipZoneIndex. When a zone name is\ndiscovered which is not currently in the table, it\nwill be assigned an index greater than any\npreviously assigned index.") zipZoneNetStart = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 1, 1, 3), ATNetworkNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneNetStart.setDescription("The network that starts the range for this entry.\nThis address is a two octet DDP network address in\nnetwork byte order.") zipZoneNetEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 1, 1, 4), ATNetworkNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneNetEnd.setDescription("The network that ends the range for this entry.\nThis address is a two octet DDP network address in\nnetwork byte order. If the network to which this\nzip entry pertains is a non-extended network, the\nvalue for zipZoneNetEnd shall be two octets of\nzero.") zipZoneState = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("valid", 1), ("invalid", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: zipZoneState.setDescription("The state of this zip entry.\n\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in\nthe zipTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examination of the relevant zipZoneState\nobject.") zipZoneFrom = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 1, 1, 6), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneFrom.setDescription("The address from which this zone name to network\nnumber mapping was learned. The format of this\naddress can be determined by examining the\natportType corresponding to this entry. When this\nmapping is learned from the entity itself, this\nobject shall have the value of three\noctets of zero.") zipZonePort = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZonePort.setDescription("The AppleTalk port through which this zone name to\nnetwork number mapping was learned. The interface\nidentified by a particular value of this variable is\nthe same interface as identified by the same value\nof atportIndex.") zipInZipQueries = MibScalar((1, 3, 6, 1, 2, 1, 13, 7, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipInZipQueries.setDescription("The number of ZIP Queries received by this entity.") zipInZipReplies = MibScalar((1, 3, 6, 1, 2, 1, 13, 7, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipInZipReplies.setDescription("The number of ZIP Replies received by this entity.") zipInZipExtendedReplies = MibScalar((1, 3, 6, 1, 2, 1, 13, 7, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipInZipExtendedReplies.setDescription("The number of ZIP Extended Replies received by this\nentity.") zipZoneConflictErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 7, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneConflictErrors.setDescription("The number of times a conflict has been detected\nbetween this entity's zone information and another\nentity's zone information.") zipInObsoletes = MibScalar((1, 3, 6, 1, 2, 1, 13, 7, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipInObsoletes.setDescription("The number of ZIP Takedown or ZIP Bringup packets\nreceived by this entity. Note that as the ZIP\nTakedown and ZIP Bringup packets have been\nobsoleted, the receipt of one of these packets\nindicates that a node sent it in error.") zipRouterNetInfoTable = MibTable((1, 3, 6, 1, 2, 1, 13, 7, 7)) if mibBuilder.loadTexts: zipRouterNetInfoTable.setDescription("The table of Net Info packets received by each port\non this entity.") zipRouterNetInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 7, 7, 1)).setIndexNames((0, "APPLETALK-MIB", "atportIndex")) if mibBuilder.loadTexts: zipRouterNetInfoEntry.setDescription("The description of the Net Info packets received on\na particular port on this entity. One such entry\nshall exist for each atport on this router entity.\n\nAs an example, an instance of the zipInGetNetInfos\nobject might be named zipInGetNetInfos.2") zipInGetNetInfos = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipInGetNetInfos.setDescription("The number of ZIP GetNetInfo packets received on\nthis port by this entity.") zipOutGetNetInfoReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipOutGetNetInfoReplies.setDescription("The number of ZIP GetNetInfo Reply packets sent out\nthis port by this entity.") zipZoneOutInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneOutInvalids.setDescription("The number of times this entity has sent a ZIP\nGetNetInfo Reply with the zone invalid bit set in\nresponse to a GetNetInfo Request with an invalid\nzone name.") zipAddressInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 7, 7, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipAddressInvalids.setDescription("The number of times this entity had to broadcast a\nZIP GetNetInfo Reply because the GetNetInfo Request\nhad an invalid address.") nbp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 8)) nbpTable = MibTable((1, 3, 6, 1, 2, 1, 13, 8, 1)) if mibBuilder.loadTexts: nbpTable.setDescription("The table of NBP services registered on this entity.") nbpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 8, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "nbpIndex")) if mibBuilder.loadTexts: nbpEntry.setDescription("The description of an NBP service registered on this\nentity.\n\nAs an example, an instance of the nbpZone object\nmight be named nbpZone.2") nbpIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 8, 1, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nbpIndex.setDescription("The index of this NBP entry. This index is unique\nwith respect to the indexes of all other NBP entries,\nand shall remain constant throughout the lifetime\nof this object.") nbpObject = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 8, 1, 1, 2), ATName().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nbpObject.setDescription("The name of the service described by this entity.\nWhen this variable is changed, the entity should\nperform an NBP registration using the new nbpObject.") nbpType = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 8, 1, 1, 3), ATName().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nbpType.setDescription("The type of the service described by this entity.\nWhen this variable is changed, the entity should\nperform an NBP registration using the new nbpType.") nbpZone = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 8, 1, 1, 4), ATName()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nbpZone.setDescription("The zone the service described by this entity is\nregistered in. This must be the actual zone name,\nwithout any wildcard characters. When this variable\nis changed, the entity should perform an NBP\nregistration using the new nbpZone.") nbpState = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 8, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("valid", 1), ("registering", 2), ("registrationFailed", 3), ("invalid", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nbpState.setDescription("The state of this NBP entry.\nWhen the registration for an entry in the nbpTable\nfails, it is an implementation-specific matter as to\nhow long the entry will remain in the\nregistrationFailed(3) state before moving to the\ninvalid(4) state. Note that the entry may pass\nimmediately from the registrationFailed state to\nthe invalid state.\n\nSetting this object to the value invalid(4) has the\neffect of invalidating the corresponding entry in the\nnbpTable. That is, it effectively disassociates the\nmapping identified with said entry. It is an\nimplementation-specific matter as to whether the agent\nremoves an invalidated entry from the table.\nAccordingly, management stations must be prepared to\nreceive from agents tabular information corresponding\nto entries not currently in use. Proper\ninterpretation of such entries requires examination\nof the relevant nbpState object.") nbpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 8, 1, 1, 6), DdpSocketAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nbpAddress.setDescription("The DDP network, node, and socket number of this\nentity. If this is unspecified, for instance if the\nregistration is on all ports of a multiport device,\nthis object shall have the value of three octets of\nzero, followed by one octet of socket number.") nbpEnumerator = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 8, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpEnumerator.setDescription("The enumerator assigned to this entity.") nbpInLookUpRequests = MibScalar((1, 3, 6, 1, 2, 1, 13, 8, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpInLookUpRequests.setDescription("The number of NBP LookUp Requests received.") nbpInLookUpReplies = MibScalar((1, 3, 6, 1, 2, 1, 13, 8, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpInLookUpReplies.setDescription("The number of NBP LookUp Replies received.") nbpInBroadcastRequests = MibScalar((1, 3, 6, 1, 2, 1, 13, 8, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpInBroadcastRequests.setDescription("The number of NBP Broadcast Requests received.") nbpInForwardRequests = MibScalar((1, 3, 6, 1, 2, 1, 13, 8, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpInForwardRequests.setDescription("The number of NBP Forward Requests received.") nbpOutLookUpReplies = MibScalar((1, 3, 6, 1, 2, 1, 13, 8, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpOutLookUpReplies.setDescription("The number of NBP LookUp Replies sent.") nbpRegistrationFailures = MibScalar((1, 3, 6, 1, 2, 1, 13, 8, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpRegistrationFailures.setDescription("The number of times this node experienced a failure\nin attempting to register an NBP entity.") nbpInErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 8, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbpInErrors.setDescription("The number of NBP packets received by this entity\nthat were rejected for any error.") atecho = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 9)) atechoRequests = MibScalar((1, 3, 6, 1, 2, 1, 13, 9, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atechoRequests.setDescription("The number of AppleTalk Echo requests received.") atechoReplies = MibScalar((1, 3, 6, 1, 2, 1, 13, 9, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atechoReplies.setDescription("The number of AppleTalk Echo replies sent.") atechoOutRequests = MibScalar((1, 3, 6, 1, 2, 1, 13, 9, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atechoOutRequests.setDescription("The count of AppleTalk Echo requests sent.") atechoInReplies = MibScalar((1, 3, 6, 1, 2, 1, 13, 9, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atechoInReplies.setDescription("The count of AppleTalk Echo replies received.") atp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 10)) atpInPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 10, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atpInPkts.setDescription("The number of ATP packets received by this entity.") atpOutPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 10, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atpOutPkts.setDescription("The number of ATP packets sent by this entity.") atpTRequestRetransmissions = MibScalar((1, 3, 6, 1, 2, 1, 13, 10, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atpTRequestRetransmissions.setDescription("The number of times that a timeout occurred and a\nTransaction Request packet needed to be\nretransmitted by this host.") atpTResponseRetransmissions = MibScalar((1, 3, 6, 1, 2, 1, 13, 10, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atpTResponseRetransmissions.setDescription("The number of times a timeout was detected and a\nTransaction Response packet needed to be\nretransmitted by this host.") atpReleaseTimerExpiredCounts = MibScalar((1, 3, 6, 1, 2, 1, 13, 10, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atpReleaseTimerExpiredCounts.setDescription("The number of times the release timer expired, as a\nresult of which a Request Control Block had to be\ndeleted.") atpRetryCountExceededs = MibScalar((1, 3, 6, 1, 2, 1, 13, 10, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atpRetryCountExceededs.setDescription("The number of times the retry count was exceeded,\nand an error was returned to the client of ATP.") atpListenerTable = MibTable((1, 3, 6, 1, 2, 1, 13, 10, 7)) if mibBuilder.loadTexts: atpListenerTable.setDescription("The atpListenerTable stores information for each ATP\nsocket that has a listener.") atpListenerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 10, 7, 1)).setIndexNames((0, "APPLETALK-MIB", "atpListenerAddress")) if mibBuilder.loadTexts: atpListenerEntry.setDescription("This atpListenerEntry contains information about a\nparticular socket that has a socket listener.\n\nAs an example, an instance of the atpListenerStatus\nobject might be named atpListenerStatus.0.80.220.3") atpListenerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 10, 7, 1, 1), DdpSocketAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atpListenerAddress.setDescription("The DDP address that this socket listener is bound\nto. If this socket listener isn't bound to a\nparticular address, for instance if it is intended\nfor all interfaces, this object shall have the value\nof three octets of zero followed by one octet of\nsocket number.") atpListenerStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 10, 7, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("valid", 1), ("invalid", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atpListenerStatus.setDescription("The status of this socket.\n\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in\nthe atpListenerTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examination of the relevant\natpListenerStatus object.") pap = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 11)) papInOpenConns = MibScalar((1, 3, 6, 1, 2, 1, 13, 11, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papInOpenConns.setDescription("The number of PAP Open Connection requests received\nby this entity.") papOutOpenConns = MibScalar((1, 3, 6, 1, 2, 1, 13, 11, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papOutOpenConns.setDescription("The number of PAP Open Connection requests sent by\nthis entity.") papInDatas = MibScalar((1, 3, 6, 1, 2, 1, 13, 11, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papInDatas.setDescription("The number of PAP Data messages received by\nthis entity.") papOutDatas = MibScalar((1, 3, 6, 1, 2, 1, 13, 11, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papOutDatas.setDescription("The number of PAP Data messages sent by\nthis entity.") papInCloseConns = MibScalar((1, 3, 6, 1, 2, 1, 13, 11, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papInCloseConns.setDescription("The number of PAP Close Connection requests\nreceived by this entity.") papOutCloseConns = MibScalar((1, 3, 6, 1, 2, 1, 13, 11, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papOutCloseConns.setDescription("The number of PAP Close Connection requests sent by\nthis entity.") papTickleTimeoutCloses = MibScalar((1, 3, 6, 1, 2, 1, 13, 11, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papTickleTimeoutCloses.setDescription("The number of times the PAP entity on this node\nclosed a connection because it didn't receive a\nTickle message before its timer expired.") papServerTable = MibTable((1, 3, 6, 1, 2, 1, 13, 11, 8)) if mibBuilder.loadTexts: papServerTable.setDescription("A list of servers on this entity that are\naccessible through the Printer Access Protocol.") papServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 11, 8, 1)).setIndexNames((0, "APPLETALK-MIB", "papServerIndex")) if mibBuilder.loadTexts: papServerEntry.setDescription("A set of information about a particular PAP server's\nconfiguration and performance.\n\nAs an example, an instance of the papServerStatus\nobject might be named papServerStatus.1") papServerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: papServerIndex.setDescription("An unique value for each Printer Access Protocol\nServer.") papServerListeningSocket = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 2), DdpSocketAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: papServerListeningSocket.setDescription("The Server Listening Socket that this PAP server is\nlistening on.") papServerStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerStatus.setDescription("The status string of this server. This is the\nmessage as it would appear in a PAP Status Reply\nfrom this server.") papServerCompletedJobs = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerCompletedJobs.setDescription("The number of jobs that have been accepted and\nsuccessfully executed by this server.") papServerBusyJobs = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerBusyJobs.setDescription("The number of GetNextJob calls that have accepted\nand are currently executing a job.") papServerFreeJobs = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerFreeJobs.setDescription("The minimum number of GetNextJob calls that are\ncurrently waiting for a job.") papServerAuthenticationFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerAuthenticationFailures.setDescription("The number of times this PAP server rejected a job\nbecause the job was not correctly authenticated.") papServerAccountingFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerAccountingFailures.setDescription("The number of times this PAP server rejected a job\nbecause the job did not fit some accounting rule,\nsuch as exceeding a quota.") papServerGeneralFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerGeneralFailures.setDescription("The number of times this PAP server rejected a job\nfor some reason other than authentication or\naccounting failures.") papServerState = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("valid", 1), ("invalid", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: papServerState.setDescription("The state of this PAP Server entry.\n\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in\nthe papServerTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examination of the relevant papServerState\nobject.") papServerLastStatusMsg = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 11, 8, 1, 11), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: papServerLastStatusMsg.setDescription("The last status message that was transmitted by\nthis server.") asp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 12)) aspInputTransactions = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspInputTransactions.setDescription("The number of ASP requests and replies received by\nthis entity. Note that this is not necessarily the\nnumber of packets containing ASP transactions.") aspOutputTransactions = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspOutputTransactions.setDescription("The number of ASP requests and replies sent by this\nentity. Note that this is not necessarily the number\nof packets containing ASP transactions.") aspInOpenSessions = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspInOpenSessions.setDescription("The number of ASP Open Session requests and replies\nreceived by this entity.") aspOutOpenSessions = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspOutOpenSessions.setDescription("The number of ASP Open Session requests and replies\nsent by this entity.") aspInCloseSessions = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspInCloseSessions.setDescription("The number of ASP Close Session requests and replies\nreceived by this entity.") aspOutCloseSessions = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspOutCloseSessions.setDescription("The number of ASP Close Session requests and replies\nsent by this entity.") aspNoMoreSessionsErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspNoMoreSessionsErrors.setDescription("The number of times an error condition was returned\nbecause this server implementation could not support\nanother session.") aspTickleTimeOutCloses = MibScalar((1, 3, 6, 1, 2, 1, 13, 12, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspTickleTimeOutCloses.setDescription("The number of times the ASP entity on this node\nclosed a connection because it didn't receive any\nmessages from the remote end before its timer\nexpired.") aspConnTable = MibTable((1, 3, 6, 1, 2, 1, 13, 12, 9)) if mibBuilder.loadTexts: aspConnTable.setDescription("A list of ASP connections on this entity.") aspConnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 12, 9, 1)).setIndexNames((0, "APPLETALK-MIB", "aspConnLocalAddress"), (0, "APPLETALK-MIB", "aspConnRemoteAddress"), (0, "APPLETALK-MIB", "aspConnID")) if mibBuilder.loadTexts: aspConnEntry.setDescription("A set of information describing an ASP connection.\n\nAs an example, an instance of the aspConnState object\nmight be named\naspConnState.0.80.220.135.0.80.239.119.12") aspConnLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 12, 9, 1, 1), DdpSocketAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: aspConnLocalAddress.setDescription("The local address of this ASP connection.") aspConnRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 12, 9, 1, 2), DdpSocketAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: aspConnRemoteAddress.setDescription("The remote address of this ASP connection. If\nthis entry is in the listening mode, this object\nshall have a value of four octets of zero.") aspConnID = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 12, 9, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: aspConnID.setDescription("The remote Connection ID of this ASP connection. If\nthis entry is in the listening mode, this object\nshall have a value of zero.") aspConnLastReqNum = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 12, 9, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: aspConnLastReqNum.setDescription("The last request number on this ASP connection. If\nthis entry is in the listening mode, this object\nshall have a value of zero.") aspConnServerEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 12, 9, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("sss", 1), ("wss", 2), ("sls", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: aspConnServerEnd.setDescription("Specifies what mode the local session end is in.") aspConnState = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 12, 9, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("open", 1), ("closed", 2), ("invalid", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aspConnState.setDescription("The state of this ASP connection.\nSetting this object to the value invalid(3) has the\neffect of invalidating the corresponding entry in the\naspConnTable. That is, it effectively disassociates\nthe mapping identified with said entry. It is an\nimplementation-specific matter as to whether the agent\nremoves an invalidated entry from the table.\nAccordingly, management stations must be prepared to\nreceive from agents tabular information corresponding\nto entries not currently in use. Proper\ninterpretation of such entries requires examination\nof the relevant aspConnState object.") adsp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 13)) adspInPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspInPkts.setDescription("The number of ADSP packets received by this entity.") adspOutPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspOutPkts.setDescription("The number of ADSP packets sent by this entity.") adspInOctets = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspInOctets.setDescription("The number of data octets contained in ADSP packets\nreceived by this entity. Note that this does not\ninclude EOM bits.") adspOutOctets = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspOutOctets.setDescription("The number of data octets contained in ADSP packets\nsent by this entity. Note that this does not include\nEOM bits.") adspInDataPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspInDataPkts.setDescription("The number of ADSP data packets this entity has\nreceived.") adspOutDataPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspOutDataPkts.setDescription("The number of ADSP data packets this entity has\nsent.") adspTimeoutErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspTimeoutErrors.setDescription("The number of times the ADSP on this entity detected\nan expired connection timer.") adspTimeoutCloseErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 13, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adspTimeoutCloseErrors.setDescription("The number of times the ADSP on this entity closed a\nconnection because of too many timeouts.") adspConnTable = MibTable((1, 3, 6, 1, 2, 1, 13, 13, 9)) if mibBuilder.loadTexts: adspConnTable.setDescription("A list of ADSP connections on this entity.") adspConnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 13, 9, 1)).setIndexNames((0, "APPLETALK-MIB", "adspConnLocalAddress"), (0, "APPLETALK-MIB", "adspConnRemoteAddress"), (0, "APPLETALK-MIB", "adspConnLocalConnID")) if mibBuilder.loadTexts: adspConnEntry.setDescription("A set of information describing an ADSP connection.\nAs an example, an instance of the adspConnState object\nmight be named\nadspConnState.0.80.220.7.0.80.239.142.31231") adspConnLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 13, 9, 1, 1), DdpSocketAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adspConnLocalAddress.setDescription("The local DDP address of this ADSP connection.") adspConnLocalConnID = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 13, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adspConnLocalConnID.setDescription("The local Connection ID of this ADSP connection. If\nthis entry specifies an ADSP listener, this value\nshall be zero.") adspConnRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 13, 9, 1, 3), DdpSocketAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adspConnRemoteAddress.setDescription("The remote DDP address of this ADSP connection. If\nthis entry specifies an ADSP listener, this value\nshall be zero.") adspConnRemoteConnID = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 13, 9, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: adspConnRemoteConnID.setDescription("The remote Connection ID of this ADSP connection.\nIf this entry specifies an ADSP listener, this value\nshall be zero.") adspConnState = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 13, 9, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,6,5,2,1,)).subtype(namedValues=NamedValues(("open", 1), ("localHalfOpen", 2), ("remoteHalfOpen", 3), ("listening", 4), ("closed", 5), ("invalid", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: adspConnState.setDescription("The state of this ADSP connection. The state is\nopen if both ends are established. If only one end\nis established, then the state is half-open. If\nneither end is established, then the state is\nclosed. If an ADSP server is listening on a socket\nand is not yet connected, its state is set to\nlistening, and the adspConnRemoteAddress,\nadspConnRemoteSocket, adspConnRemoteConnID, and\nadspConnRemoteWindowSize are all set to zero.\n\nSetting this object to the value invalid(6) has the\neffect of invalidating the corresponding entry in\nthe adspConnTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examination of the relevant adspConnState\nobject.") atportptop = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14)) atportPtoPTable = MibTable((1, 3, 6, 1, 2, 1, 13, 14, 1)) if mibBuilder.loadTexts: atportPtoPTable.setDescription("A list of AppleTalk point-to-point connections for\nthis entity.") atportPtoPEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 14, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "atportPtoPIndex")) if mibBuilder.loadTexts: atportPtoPEntry.setDescription("The description of one of the AppleTalk\npoint-to-point connections on this entity.\n\nAs an example, an instance of the\natportPtoPRemoteAddress object might be named\natportPtoPRemoteAddress.2") atportPtoPIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 14, 1, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atportPtoPIndex.setDescription("A unique value for each AppleTalk point-to-point\nconnection. Its value is between 1 and the total\nnumber of AppleTalk point-to-point connections. The\nvalue for each connection must remain constant at\nleast from the re-initialization of the entity's\nnetwork management system to the next\nre-initialization.") atportPtoPProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 14, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportPtoPProtocol.setDescription("The protocol type used over the point-to-point\nconnection.") atportPtoPRemoteName = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 14, 1, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportPtoPRemoteName.setDescription("A text string containing the network node name of the\nentity at the other end of the point-to-point link.\nIf the name is unknown or undefined, then this\nstring is zero length.") atportPtoPRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 14, 1, 1, 4), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportPtoPRemoteAddress.setDescription("The network address of the entity at the other end\nof the point-to-point link in network byte order.\nThe format of this address can be determined\nby examinating the atportType corresponding to this\nentry. If the address is unknown or undefined, then\nthis string is zero length.") atportPtoPPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 14, 1, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportPtoPPortIndex.setDescription("The AppleTalk port associated with this\npoint-to-point connection. The interface identified\nby a particular value of this index is the same\ninterface as identified by the same value of\natportIndex.") atportPtoPStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 14, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("valid", 1), ("invalid", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atportPtoPStatus.setDescription("The status of this entry in the atportPtoPTable.\n\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in\nthe atportPtoPTable. That is, it effectively\ndisassociates the mapping identified with said\nentry. It is an implementation-specific matter as\nto whether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive from agents tabular\ninformation corresponding to entries not currently\nin use. Proper interpretation of such entries\nrequires examinationr of the relevant\natportPtoPStatus object.") atportPtoPProtoOids = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2)) pToPProtoOther = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2, 1)) pToPProtoAurp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2, 2)) pToPProtoCaymanUdp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2, 3)) pToPProtoAtkvmsDecnetIV = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2, 4)) pToPProtoLiaisonUdp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2, 5)) pToPProtoIpx = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2, 6)) pToPProtoShivaIp = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 14, 2, 7)) rtmpStub = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 16)) rtmpOutRequestPkts = MibScalar((1, 3, 6, 1, 2, 1, 13, 16, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpOutRequestPkts.setDescription("A count of the number of RTMP Request packets sent\nby this entity.") rtmpInVersionMismatches = MibScalar((1, 3, 6, 1, 2, 1, 13, 16, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpInVersionMismatches.setDescription("A count of the number of RTMP packets received by\nthis entity that were rejected due to a version\nmismatch.") rtmpInErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 16, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtmpInErrors.setDescription("A count of the number of RTMP packets received by\nthis entity that were rejected for an error other\nthan version mismatch.") zipEndNode = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 17)) zipNetInfoTable = MibTable((1, 3, 6, 1, 2, 1, 13, 17, 1)) if mibBuilder.loadTexts: zipNetInfoTable.setDescription("The table of Net Info packets received by each port\non this entity.") zipNetInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 17, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "atportIndex")) if mibBuilder.loadTexts: zipNetInfoEntry.setDescription("The description of the Net Info packets received on\na particular port on this entity. One such entry\nshall exist for each atport on this entity.\n\nAs an example, an instance of the zipOutGetNetInfos\nobject might be named zipOutGetNetInfos.2") zipOutGetNetInfos = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 17, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipOutGetNetInfos.setDescription("The number of ZIP GetNetInfo packets sent out this\nport by this entity.") zipInGetNetInfoReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 17, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipInGetNetInfoReplies.setDescription("The number of ZIP GetNetInfo Reply packets received\non this port by this entity.") zipZoneInInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 17, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipZoneInInvalids.setDescription("The number of times this entity has received a ZIP\nGetNetInfo Reply with the zone invalid bit set\nbecause the corresponding GetNetInfo Request had an\ninvalid zone name.") zipInErrors = MibScalar((1, 3, 6, 1, 2, 1, 13, 17, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zipInErrors.setDescription("The number of ZIP packets received by this entity\nthat were rejected for any error.") perPort = MibIdentifier((1, 3, 6, 1, 2, 1, 13, 18)) perPortTable = MibTable((1, 3, 6, 1, 2, 1, 13, 18, 1)) if mibBuilder.loadTexts: perPortTable.setDescription("The table of per-port statistics for this entity.") perPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 13, 18, 1, 1)).setIndexNames((0, "APPLETALK-MIB", "atportIndex")) if mibBuilder.loadTexts: perPortEntry.setDescription("The statistics available for a particular port on\nthis entity.\n\nAs an example, an instance of the perPortAarpInProbes\nobject might be named perPortAarpInProbes.2") perPortAarpInProbes = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortAarpInProbes.setDescription("The total number of AARP Probe packets received\nby this entity on this port.") perPortAarpOutProbes = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortAarpOutProbes.setDescription("The total number of AARP Probe packets sent by\nthis entity on this port.") perPortAarpInReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortAarpInReqs.setDescription("The total number of AARP Request packets received\nby this entity on this port.") perPortAarpOutReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortAarpOutReqs.setDescription("The total number of AARP Request packets sent by\nthis entity on this port.") perPortAarpInRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortAarpInRsps.setDescription("The total number of AARP Response packets received\nby this entity on this port.") perPortAarpOutRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortAarpOutRsps.setDescription("The total number of AARP Response packets sent by\nthis entity on this port.") perPortDdpInReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortDdpInReceives.setDescription("The total number of input datagrams received by DDP\non this port, including those received in error.") perPortDdpInLocalDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortDdpInLocalDatagrams.setDescription("The total number of input DDP datagrams on this\nport for which this entity was their final DDP\ndestination.") perPortDdpNoProtocolHandlers = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortDdpNoProtocolHandlers.setDescription("The total number of DDP datagrams addressed to this\nentity on this port that were addressed to an upper\nlayer protocol for which no protocol handler\nexisted.") perPortDdpTooShortErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortDdpTooShortErrors.setDescription("The total number of input DDP datagrams on this\nport dropped because the received data length was\nless than the data length specified in the DDP\nheader or the received data length was less than the\nlength of the expected DDP header.") perPortDdpTooLongErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortDdpTooLongErrors.setDescription("The total number of input DDP datagrams on this\nport dropped because they exceeded the maximum DDP\ndatagram size.") perPortDdpChecksumErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortDdpChecksumErrors.setDescription("The total number of input DDP datagrams on this\nport for which this DDP entity was their final\ndestination, and which were dropped because of a\nchecksum error.") perPortDdpForwRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortDdpForwRequests.setDescription("The number of input datagrams on this port for\nwhich this entity was not their final DDP\ndestination, as a result of which an attempt was\nmade to find a route to forward them to that final\ndestination.") perPortRtmpInDataPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortRtmpInDataPkts.setDescription("A count of the number of good RTMP data packets\nreceived by this entity on this port.") perPortRtmpOutDataPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortRtmpOutDataPkts.setDescription("A count of the number of RTMP packets sent by this\nentity on this port.") perPortRtmpInRequestPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortRtmpInRequestPkts.setDescription("A count of the number of good RTMP Request packets\nreceived by this entity on this port.") perPortRtmpRouteDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortRtmpRouteDeletes.setDescription("A count of the number of times RTMP deletes a route\non this port because it was aged out of the table.") perPortZipInZipQueries = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortZipInZipQueries.setDescription("The number of ZIP Queries received by this entity\non this port.") perPortZipInZipReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortZipInZipReplies.setDescription("The number of ZIP Replies received by this entity\non this port.") perPortZipInZipExtendedReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortZipInZipExtendedReplies.setDescription("The number of ZIP Extended Replies received by this\nentity on this port.") perPortZipZoneConflictErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortZipZoneConflictErrors.setDescription("The number of times a conflict has been detected on\nthis port between this entity's zone information and\nanother entity's zone information.") perPortZipInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortZipInErrors.setDescription("The number of ZIP packets received by this entity\non this port that were rejected for any error.") perPortNbpInLookUpRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortNbpInLookUpRequests.setDescription("The number of NBP LookUp Requests received on this\nport.") perPortNbpInLookUpReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortNbpInLookUpReplies.setDescription("The number of NBP LookUp Replies received on this\nport.") perPortNbpInBroadcastRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortNbpInBroadcastRequests.setDescription("The number of NBP Broadcast Requests received on\nthis port.") perPortNbpInForwardRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortNbpInForwardRequests.setDescription("The number of NBP Forward Requests received on this\nport.") perPortNbpOutLookUpReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortNbpOutLookUpReplies.setDescription("The number of NBP LookUp Replies sent on this port.") perPortNbpRegistrationFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortNbpRegistrationFailures.setDescription("The number of times this node experienced a failure\nin attempting to register an NBP entity on this\nport.") perPortNbpInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortNbpInErrors.setDescription("The number of NBP packets received by this entity\non this port that were rejected for any error.") perPortEchoRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortEchoRequests.setDescription("The number of AppleTalk Echo requests received on\nthis port.") perPortEchoReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 13, 18, 1, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPortEchoReplies.setDescription("The count of AppleTalk Echo replies received on\nthis port.") # Augmentions # Exports # Types mibBuilder.exportSymbols("APPLETALK-MIB", ATName=ATName, ATNetworkNumber=ATNetworkNumber, DdpNodeAddress=DdpNodeAddress, DdpSocketAddress=DdpSocketAddress) # Objects mibBuilder.exportSymbols("APPLETALK-MIB", appletalk=appletalk, llap=llap, llapTable=llapTable, llapEntry=llapEntry, llapIfIndex=llapIfIndex, llapInPkts=llapInPkts, llapOutPkts=llapOutPkts, llapInNoHandlers=llapInNoHandlers, llapInLengthErrors=llapInLengthErrors, llapInErrors=llapInErrors, llapCollisions=llapCollisions, llapDefers=llapDefers, llapNoDataErrors=llapNoDataErrors, llapRandomCTSErrors=llapRandomCTSErrors, llapFCSErrors=llapFCSErrors, aarp=aarp, aarpTable=aarpTable, aarpEntry=aarpEntry, aarpIfIndex=aarpIfIndex, aarpPhysAddress=aarpPhysAddress, aarpNetAddress=aarpNetAddress, aarpStatus=aarpStatus, aarpLookups=aarpLookups, aarpHits=aarpHits, atport=atport, atportTable=atportTable, atportEntry=atportEntry, atportIndex=atportIndex, atportDescr=atportDescr, atportType=atportType, atportNetStart=atportNetStart, atportNetEnd=atportNetEnd, atportNetAddress=atportNetAddress, atportStatus=atportStatus, atportNetConfig=atportNetConfig, atportZoneConfig=atportZoneConfig, atportZoneDefault=atportZoneDefault, atportIfIndex=atportIfIndex, atportNetFrom=atportNetFrom, atportZoneFrom=atportZoneFrom, atportInPkts=atportInPkts, atportOutPkts=atportOutPkts, atportHome=atportHome, atportCurrentZone=atportCurrentZone, atportConflictPhysAddr=atportConflictPhysAddr, atportZoneTable=atportZoneTable, atportZoneEntry=atportZoneEntry, atportZonePort=atportZonePort, atportZoneName=atportZoneName, atportZoneStatus=atportZoneStatus, ddp=ddp, ddpOutRequests=ddpOutRequests, ddpOutShorts=ddpOutShorts, ddpOutLongs=ddpOutLongs, ddpInReceives=ddpInReceives, ddpForwRequests=ddpForwRequests, ddpInLocalDatagrams=ddpInLocalDatagrams, ddpNoProtocolHandlers=ddpNoProtocolHandlers, ddpOutNoRoutes=ddpOutNoRoutes, ddpTooShortErrors=ddpTooShortErrors, ddpTooLongErrors=ddpTooLongErrors, ddpBroadcastErrors=ddpBroadcastErrors, ddpShortDDPErrors=ddpShortDDPErrors, ddpHopCountErrors=ddpHopCountErrors, ddpChecksumErrors=ddpChecksumErrors, ddpListenerTable=ddpListenerTable, ddpListenerEntry=ddpListenerEntry, ddpListenerAddress=ddpListenerAddress, ddpListenerInPkts=ddpListenerInPkts, ddpListenerStatus=ddpListenerStatus, ddpForwardingTable=ddpForwardingTable, ddpForwardingEntry=ddpForwardingEntry, ddpForwardingNetEnd=ddpForwardingNetEnd, ddpForwardingNetStart=ddpForwardingNetStart, ddpForwardingNextHop=ddpForwardingNextHop, ddpForwardingProto=ddpForwardingProto, ddpForwardingModifiedTime=ddpForwardingModifiedTime, ddpForwardingUseCounts=ddpForwardingUseCounts, ddpForwardingPort=ddpForwardingPort, ddpForwProtoOids=ddpForwProtoOids, rtmpRoutingProto=rtmpRoutingProto, kipRoutingProto=kipRoutingProto, ddpForwardingTableOverflows=ddpForwardingTableOverflows, rtmp=rtmp, rtmpTable=rtmpTable, rtmpEntry=rtmpEntry, rtmpRangeStart=rtmpRangeStart, rtmpRangeEnd=rtmpRangeEnd, rtmpNextHop=rtmpNextHop, rtmpType=rtmpType, rtmpPort=rtmpPort, rtmpHops=rtmpHops, rtmpState=rtmpState, rtmpInDataPkts=rtmpInDataPkts, rtmpOutDataPkts=rtmpOutDataPkts, rtmpInRequestPkts=rtmpInRequestPkts, rtmpNextIREqualChanges=rtmpNextIREqualChanges, rtmpNextIRLessChanges=rtmpNextIRLessChanges, rtmpRouteDeletes=rtmpRouteDeletes, rtmpRoutingTableOverflows=rtmpRoutingTableOverflows, kip=kip, kipTable=kipTable, kipEntry=kipEntry, kipNetStart=kipNetStart, kipNetEnd=kipNetEnd, kipNextHop=kipNextHop, kipHopCount=kipHopCount, kipBCastAddr=kipBCastAddr, kipCore=kipCore, kipType=kipType, kipState=kipState, kipShare=kipShare, kipFrom=kipFrom, zipRouter=zipRouter, zipTable=zipTable, zipEntry=zipEntry, zipZoneName=zipZoneName, zipZoneIndex=zipZoneIndex, zipZoneNetStart=zipZoneNetStart, zipZoneNetEnd=zipZoneNetEnd, zipZoneState=zipZoneState, zipZoneFrom=zipZoneFrom, zipZonePort=zipZonePort, zipInZipQueries=zipInZipQueries, zipInZipReplies=zipInZipReplies, zipInZipExtendedReplies=zipInZipExtendedReplies) mibBuilder.exportSymbols("APPLETALK-MIB", zipZoneConflictErrors=zipZoneConflictErrors, zipInObsoletes=zipInObsoletes, zipRouterNetInfoTable=zipRouterNetInfoTable, zipRouterNetInfoEntry=zipRouterNetInfoEntry, zipInGetNetInfos=zipInGetNetInfos, zipOutGetNetInfoReplies=zipOutGetNetInfoReplies, zipZoneOutInvalids=zipZoneOutInvalids, zipAddressInvalids=zipAddressInvalids, nbp=nbp, nbpTable=nbpTable, nbpEntry=nbpEntry, nbpIndex=nbpIndex, nbpObject=nbpObject, nbpType=nbpType, nbpZone=nbpZone, nbpState=nbpState, nbpAddress=nbpAddress, nbpEnumerator=nbpEnumerator, nbpInLookUpRequests=nbpInLookUpRequests, nbpInLookUpReplies=nbpInLookUpReplies, nbpInBroadcastRequests=nbpInBroadcastRequests, nbpInForwardRequests=nbpInForwardRequests, nbpOutLookUpReplies=nbpOutLookUpReplies, nbpRegistrationFailures=nbpRegistrationFailures, nbpInErrors=nbpInErrors, atecho=atecho, atechoRequests=atechoRequests, atechoReplies=atechoReplies, atechoOutRequests=atechoOutRequests, atechoInReplies=atechoInReplies, atp=atp, atpInPkts=atpInPkts, atpOutPkts=atpOutPkts, atpTRequestRetransmissions=atpTRequestRetransmissions, atpTResponseRetransmissions=atpTResponseRetransmissions, atpReleaseTimerExpiredCounts=atpReleaseTimerExpiredCounts, atpRetryCountExceededs=atpRetryCountExceededs, atpListenerTable=atpListenerTable, atpListenerEntry=atpListenerEntry, atpListenerAddress=atpListenerAddress, atpListenerStatus=atpListenerStatus, pap=pap, papInOpenConns=papInOpenConns, papOutOpenConns=papOutOpenConns, papInDatas=papInDatas, papOutDatas=papOutDatas, papInCloseConns=papInCloseConns, papOutCloseConns=papOutCloseConns, papTickleTimeoutCloses=papTickleTimeoutCloses, papServerTable=papServerTable, papServerEntry=papServerEntry, papServerIndex=papServerIndex, papServerListeningSocket=papServerListeningSocket, papServerStatus=papServerStatus, papServerCompletedJobs=papServerCompletedJobs, papServerBusyJobs=papServerBusyJobs, papServerFreeJobs=papServerFreeJobs, papServerAuthenticationFailures=papServerAuthenticationFailures, papServerAccountingFailures=papServerAccountingFailures, papServerGeneralFailures=papServerGeneralFailures, papServerState=papServerState, papServerLastStatusMsg=papServerLastStatusMsg, asp=asp, aspInputTransactions=aspInputTransactions, aspOutputTransactions=aspOutputTransactions, aspInOpenSessions=aspInOpenSessions, aspOutOpenSessions=aspOutOpenSessions, aspInCloseSessions=aspInCloseSessions, aspOutCloseSessions=aspOutCloseSessions, aspNoMoreSessionsErrors=aspNoMoreSessionsErrors, aspTickleTimeOutCloses=aspTickleTimeOutCloses, aspConnTable=aspConnTable, aspConnEntry=aspConnEntry, aspConnLocalAddress=aspConnLocalAddress, aspConnRemoteAddress=aspConnRemoteAddress, aspConnID=aspConnID, aspConnLastReqNum=aspConnLastReqNum, aspConnServerEnd=aspConnServerEnd, aspConnState=aspConnState, adsp=adsp, adspInPkts=adspInPkts, adspOutPkts=adspOutPkts, adspInOctets=adspInOctets, adspOutOctets=adspOutOctets, adspInDataPkts=adspInDataPkts, adspOutDataPkts=adspOutDataPkts, adspTimeoutErrors=adspTimeoutErrors, adspTimeoutCloseErrors=adspTimeoutCloseErrors, adspConnTable=adspConnTable, adspConnEntry=adspConnEntry, adspConnLocalAddress=adspConnLocalAddress, adspConnLocalConnID=adspConnLocalConnID, adspConnRemoteAddress=adspConnRemoteAddress, adspConnRemoteConnID=adspConnRemoteConnID, adspConnState=adspConnState, atportptop=atportptop, atportPtoPTable=atportPtoPTable, atportPtoPEntry=atportPtoPEntry, atportPtoPIndex=atportPtoPIndex, atportPtoPProtocol=atportPtoPProtocol, atportPtoPRemoteName=atportPtoPRemoteName, atportPtoPRemoteAddress=atportPtoPRemoteAddress, atportPtoPPortIndex=atportPtoPPortIndex, atportPtoPStatus=atportPtoPStatus, atportPtoPProtoOids=atportPtoPProtoOids, pToPProtoOther=pToPProtoOther, pToPProtoAurp=pToPProtoAurp, pToPProtoCaymanUdp=pToPProtoCaymanUdp, pToPProtoAtkvmsDecnetIV=pToPProtoAtkvmsDecnetIV, pToPProtoLiaisonUdp=pToPProtoLiaisonUdp, pToPProtoIpx=pToPProtoIpx, pToPProtoShivaIp=pToPProtoShivaIp, rtmpStub=rtmpStub, rtmpOutRequestPkts=rtmpOutRequestPkts, rtmpInVersionMismatches=rtmpInVersionMismatches, rtmpInErrors=rtmpInErrors, zipEndNode=zipEndNode, zipNetInfoTable=zipNetInfoTable, zipNetInfoEntry=zipNetInfoEntry, zipOutGetNetInfos=zipOutGetNetInfos, zipInGetNetInfoReplies=zipInGetNetInfoReplies, zipZoneInInvalids=zipZoneInInvalids, zipInErrors=zipInErrors, perPort=perPort, perPortTable=perPortTable, perPortEntry=perPortEntry, perPortAarpInProbes=perPortAarpInProbes) mibBuilder.exportSymbols("APPLETALK-MIB", perPortAarpOutProbes=perPortAarpOutProbes, perPortAarpInReqs=perPortAarpInReqs, perPortAarpOutReqs=perPortAarpOutReqs, perPortAarpInRsps=perPortAarpInRsps, perPortAarpOutRsps=perPortAarpOutRsps, perPortDdpInReceives=perPortDdpInReceives, perPortDdpInLocalDatagrams=perPortDdpInLocalDatagrams, perPortDdpNoProtocolHandlers=perPortDdpNoProtocolHandlers, perPortDdpTooShortErrors=perPortDdpTooShortErrors, perPortDdpTooLongErrors=perPortDdpTooLongErrors, perPortDdpChecksumErrors=perPortDdpChecksumErrors, perPortDdpForwRequests=perPortDdpForwRequests, perPortRtmpInDataPkts=perPortRtmpInDataPkts, perPortRtmpOutDataPkts=perPortRtmpOutDataPkts, perPortRtmpInRequestPkts=perPortRtmpInRequestPkts, perPortRtmpRouteDeletes=perPortRtmpRouteDeletes, perPortZipInZipQueries=perPortZipInZipQueries, perPortZipInZipReplies=perPortZipInZipReplies, perPortZipInZipExtendedReplies=perPortZipInZipExtendedReplies, perPortZipZoneConflictErrors=perPortZipZoneConflictErrors, perPortZipInErrors=perPortZipInErrors, perPortNbpInLookUpRequests=perPortNbpInLookUpRequests, perPortNbpInLookUpReplies=perPortNbpInLookUpReplies, perPortNbpInBroadcastRequests=perPortNbpInBroadcastRequests, perPortNbpInForwardRequests=perPortNbpInForwardRequests, perPortNbpOutLookUpReplies=perPortNbpOutLookUpReplies, perPortNbpRegistrationFailures=perPortNbpRegistrationFailures, perPortNbpInErrors=perPortNbpInErrors, perPortEchoRequests=perPortEchoRequests, perPortEchoReplies=perPortEchoReplies) pysnmp-mibs-0.1.3/pysnmp_mibs/ATM-ACCOUNTING-INFORMATION-MIB.py0000644000014400001440000004230711736645135023276 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ATM-ACCOUNTING-INFORMATION-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:43 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AtmAddr, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmAddr") ( Bits, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DateAndTime, DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString") # Objects atmAccountingInformationMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 59)).setRevisions(("1996-11-05 20:00",)) if mibBuilder.loadTexts: atmAccountingInformationMIB.setOrganization("IETF AToM MIB Working Group") if mibBuilder.loadTexts: atmAccountingInformationMIB.setContactInfo("\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive,\nSan Jose CA 95134-1706.\nPhone: +1 408 526 5260\nEmail: kzm@cisco.com") if mibBuilder.loadTexts: atmAccountingInformationMIB.setDescription("The MIB module for identifying items of accounting\ninformation which are applicable to ATM connections.") atmAcctngMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 59, 1)) atmAcctngDataObjects = ObjectIdentity((1, 3, 6, 1, 2, 1, 59, 1, 1)) if mibBuilder.loadTexts: atmAcctngDataObjects.setDescription("This identifier defines a subtree under which various\nobjects are defined such that a set of objects to be\ncollected as ATM accounting data can be specified as a\n(subtree, list) tuple using this identifier as the subtree.") atmAcctngConnectionType = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,7,8,3,10,5,4,1,9,6,)).subtype(namedValues=NamedValues(("pvc", 1), ("spvpTarget", 10), ("pvp", 2), ("svcIncoming", 3), ("svcOutgoing", 4), ("svpIncoming", 5), ("svpOutgoing", 6), ("spvcInitiator", 7), ("spvcTarget", 8), ("spvpInitiator", 9), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngConnectionType.setDescription("The type of connection.") atmAcctngCastType = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("p2p", 1), ("p2mp", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCastType.setDescription("An indication of whether the connection is point-to-point\nor point-to-multipoint.") atmAcctngIfName = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 3), DisplayString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngIfName.setDescription("A textual name for the interface on which the data for the\nconnection was collected. If the local SNMP agent supports\nthe object ifName, the value of this object must be\nidentical to that of ifName in the conceptual row of the\nifTable corresponding to this interface.") atmAcctngIfAlias = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 4), DisplayString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngIfAlias.setDescription("The 'alias' name for the interface as specified by a\nnetwork manager, e.g., via a management set operation to\nmodify the relevant instance of the ifAlias object. Note\nthat in contrast to ifIndex, ifAlias provides a non-volatile\n'handle' for the interface, the value of which is retained\nacross agent reboots.") atmAcctngVpi = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngVpi.setDescription("The VPI used for the connection.") atmAcctngVci = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngVci.setDescription("The VCI used for the connection.") atmAcctngCallingParty = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 7), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCallingParty.setDescription("The connection's calling party. If unknown (e.g., for a\nPVC), then the value of this object is the zero-length\nstring.") atmAcctngCalledParty = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 8), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCalledParty.setDescription("The connection's called party. If unknown (e.g., for a\nPVC), then the value of this object is the zero-length\nstring.") atmAcctngCallReference = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCallReference.setDescription("The connection's call reference value (e.g., from Q.2931).\nIf unknown (e.g., for a PVC), then the value of this object\nis the zero-length string.") atmAcctngStartTime = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 10), DateAndTime()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngStartTime.setDescription("The time when the connection was established.") atmAcctngCollectionTime = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 11), DateAndTime()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCollectionTime.setDescription("The time at which the data in this record was collected.") atmAcctngCollectMode = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("onRelease", 1), ("periodically", 2), ("onCommand", 3), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCollectMode.setDescription("The reason why this connection data was collected.") atmAcctngReleaseCause = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 13), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReleaseCause.setDescription("If the connection data was collected because of the release\nof an SVC, then this is the cause code in the Release\nmessage for the connection; otherwise, this object has the\nvalue zero.") atmAcctngServiceCategory = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,1,6,7,4,3,)).subtype(namedValues=NamedValues(("other", 1), ("cbr", 2), ("vbrRt", 3), ("vbrNrt", 4), ("abr", 5), ("ubr", 6), ("unknown", 7), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngServiceCategory.setDescription("The connection's service category.") atmAcctngTransmittedCells = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 15), Counter64()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmittedCells.setDescription("The number of cells, including OAM cells, transmitted by\nthis switch on this connection.") atmAcctngTransmittedClp0Cells = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 16), Counter64()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmittedClp0Cells.setDescription("The number of cells with CLP=0, including OAM cells,\ntransmitted by this switch on this connection.") atmAcctngReceivedCells = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 17), Counter64()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceivedCells.setDescription("The number of cells, including OAM cells, received by this\nswitch on this connection.") atmAcctngReceivedClp0Cells = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 18), Counter64()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceivedClp0Cells.setDescription("The number of cells with CLP=0, including OAM cells,\nreceived by this switch on this connection.") atmAcctngTransmitTrafficDescriptorType = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 19), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmitTrafficDescriptorType.setDescription("The traffic descriptor type (as defined in RFC 1695 and its\nsuccessors) in the direction in which the switch transmits\ncells on the connection.") atmAcctngTransmitTrafficDescriptorParam1 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmitTrafficDescriptorParam1.setDescription("The first traffic descriptor parameter in the direction in\nwhich this switch transmits cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngTransmitTrafficDescriptorType.") atmAcctngTransmitTrafficDescriptorParam2 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmitTrafficDescriptorParam2.setDescription("The second traffic descriptor parameter in the direction in\nwhich this switch transmits cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngTransmitTrafficDescriptorType.") atmAcctngTransmitTrafficDescriptorParam3 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmitTrafficDescriptorParam3.setDescription("The third traffic descriptor parameter in the direction in\nwhich this switch transmits cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngTransmitTrafficDescriptorType.") atmAcctngTransmitTrafficDescriptorParam4 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmitTrafficDescriptorParam4.setDescription("The fourth traffic descriptor parameter in the direction in\nwhich this switch transmits cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngTransmitTrafficDescriptorType.") atmAcctngTransmitTrafficDescriptorParam5 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngTransmitTrafficDescriptorParam5.setDescription("The fifth traffic descriptor parameter in the direction in\nwhich this switch transmits cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngTransmitTrafficDescriptorType.") atmAcctngReceiveTrafficDescriptorType = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 25), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceiveTrafficDescriptorType.setDescription("The traffic descriptor type (as defined in RFC 1695 and its\nsuccessors) in the direction in which this switch receives\ncells on this connection.") atmAcctngReceiveTrafficDescriptorParam1 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceiveTrafficDescriptorParam1.setDescription("The first traffic descriptor parameter in the direction in\nwhich this switch receives cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngReceiveTrafficDescriptorType.") atmAcctngReceiveTrafficDescriptorParam2 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceiveTrafficDescriptorParam2.setDescription("The second traffic descriptor parameter in the direction in\nwhich this switch receives cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngReceiveTrafficDescriptorType.") atmAcctngReceiveTrafficDescriptorParam3 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceiveTrafficDescriptorParam3.setDescription("The third traffic descriptor parameter in the direction in\nwhich this switch receives cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngReceiveTrafficDescriptorType.") atmAcctngReceiveTrafficDescriptorParam4 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceiveTrafficDescriptorParam4.setDescription("The fourth traffic descriptor parameter in the direction in\nwhich this switch receives cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngReceiveTrafficDescriptorType.") atmAcctngReceiveTrafficDescriptorParam5 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngReceiveTrafficDescriptorParam5.setDescription("The fifth traffic descriptor parameter in the direction in\nwhich this switch receives cells on this connection.\nInterpretation of this parameter is dependent on the value\nof atmAcctngReceiveTrafficDescriptorType.") atmAcctngCallingPartySubAddress = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 31), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCallingPartySubAddress.setDescription("The connection's calling party sub-address. If the\nconnection has no calling party sub-address, or it's value\nis unknown, then the value of this object is the zero-length\nstring.") atmAcctngCalledPartySubAddress = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 32), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngCalledPartySubAddress.setDescription("The connection's called party sub-address. If the\nconnection has no called party sub-address, or it's value is\nunknown, then the value of this object is the zero-length\nstring.") atmAcctngRecordCrc16 = MibScalar((1, 3, 6, 1, 2, 1, 59, 1, 1, 33), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAcctngRecordCrc16.setDescription("The value of the CRC-16 checksum (as defined by ISO 3309\n(HDLC) and/or ITU X.25) calculated over the accounting\nrecord containing this object.\n\nWhile the mechanism for calculating/encoding the checksum\nvalue is specific to the method of encoding the accounting\nrecord, an accounting record containing this object is\ntypically generated by initializing the value of this object\nto the all-zeros string ('0000'H), with the location of\nthese zeros being saved. After generating the record, the\nchecksum is calculated over the whole connection record and\nthen the all-zeros value is overwritten (at the saved\nlocation) by the calculated value of the checksum.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("ATM-ACCOUNTING-INFORMATION-MIB", PYSNMP_MODULE_ID=atmAccountingInformationMIB) # Objects mibBuilder.exportSymbols("ATM-ACCOUNTING-INFORMATION-MIB", atmAccountingInformationMIB=atmAccountingInformationMIB, atmAcctngMIBObjects=atmAcctngMIBObjects, atmAcctngDataObjects=atmAcctngDataObjects, atmAcctngConnectionType=atmAcctngConnectionType, atmAcctngCastType=atmAcctngCastType, atmAcctngIfName=atmAcctngIfName, atmAcctngIfAlias=atmAcctngIfAlias, atmAcctngVpi=atmAcctngVpi, atmAcctngVci=atmAcctngVci, atmAcctngCallingParty=atmAcctngCallingParty, atmAcctngCalledParty=atmAcctngCalledParty, atmAcctngCallReference=atmAcctngCallReference, atmAcctngStartTime=atmAcctngStartTime, atmAcctngCollectionTime=atmAcctngCollectionTime, atmAcctngCollectMode=atmAcctngCollectMode, atmAcctngReleaseCause=atmAcctngReleaseCause, atmAcctngServiceCategory=atmAcctngServiceCategory, atmAcctngTransmittedCells=atmAcctngTransmittedCells, atmAcctngTransmittedClp0Cells=atmAcctngTransmittedClp0Cells, atmAcctngReceivedCells=atmAcctngReceivedCells, atmAcctngReceivedClp0Cells=atmAcctngReceivedClp0Cells, atmAcctngTransmitTrafficDescriptorType=atmAcctngTransmitTrafficDescriptorType, atmAcctngTransmitTrafficDescriptorParam1=atmAcctngTransmitTrafficDescriptorParam1, atmAcctngTransmitTrafficDescriptorParam2=atmAcctngTransmitTrafficDescriptorParam2, atmAcctngTransmitTrafficDescriptorParam3=atmAcctngTransmitTrafficDescriptorParam3, atmAcctngTransmitTrafficDescriptorParam4=atmAcctngTransmitTrafficDescriptorParam4, atmAcctngTransmitTrafficDescriptorParam5=atmAcctngTransmitTrafficDescriptorParam5, atmAcctngReceiveTrafficDescriptorType=atmAcctngReceiveTrafficDescriptorType, atmAcctngReceiveTrafficDescriptorParam1=atmAcctngReceiveTrafficDescriptorParam1, atmAcctngReceiveTrafficDescriptorParam2=atmAcctngReceiveTrafficDescriptorParam2, atmAcctngReceiveTrafficDescriptorParam3=atmAcctngReceiveTrafficDescriptorParam3, atmAcctngReceiveTrafficDescriptorParam4=atmAcctngReceiveTrafficDescriptorParam4, atmAcctngReceiveTrafficDescriptorParam5=atmAcctngReceiveTrafficDescriptorParam5, atmAcctngCallingPartySubAddress=atmAcctngCallingPartySubAddress, atmAcctngCalledPartySubAddress=atmAcctngCalledPartySubAddress, atmAcctngRecordCrc16=atmAcctngRecordCrc16) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-MAU-MIB.py0000644000014400001440000004361311736645136020574 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-MAU-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:07 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANAifJackType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,15,11,3,7,8,12,4,2,1,13,6,5,10,14,) namedValues = NamedValues(("other", 1), ("fiberST", 10), ("telco", 11), ("mtrj", 12), ("hssdc", 13), ("fiberLC", 14), ("cx4", 15), ("rj45", 2), ("rj45S", 3), ("db9", 4), ("bnc", 5), ("fAUI", 6), ("mAUI", 7), ("fiberSC", 8), ("fiberMIC", 9), ) class IANAifMauAutoNegCapBits(Bits): namedValues = NamedValues(("bOther", 0), ("b10baseT", 1), ("bFdxSPause", 10), ("bFdxBPause", 11), ("b1000baseX", 12), ("b1000baseXFD", 13), ("b1000baseT", 14), ("b1000baseTFD", 15), ("b10baseTFD", 2), ("b100baseT4", 3), ("b100baseTX", 4), ("b100baseTXFD", 5), ("b100baseT2", 6), ("b100baseT2FD", 7), ("bFdxPause", 8), ("bFdxAPause", 9), ) class IANAifMauMediaAvailable(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,3,12,13,20,6,2,17,1,14,10,7,5,4,16,11,15,8,18,19,) namedValues = NamedValues(("other", 1), ("offline", 10), ("autoNegError", 11), ("pmdLinkFault", 12), ("wisFrameLoss", 13), ("wisSignalLoss", 14), ("pcsLinkFault", 15), ("excessiveBER", 16), ("dxsLinkFault", 17), ("pxsLinkFault", 18), ("availableReduced", 19), ("unknown", 2), ("ready", 20), ("available", 3), ("notAvailable", 4), ("remoteFault", 5), ("invalidSignal", 6), ("remoteJabber", 7), ("remoteLinkLoss", 8), ("remoteTest", 9), ) class IANAifMauTypeListBits(Bits): namedValues = NamedValues(("bOther", 0), ("bAUI", 1), ("b10baseTHD", 10), ("b10baseTFD", 11), ("b10baseFLHD", 12), ("b10baseFLFD", 13), ("b100baseT4", 14), ("b100baseTXHD", 15), ("b100baseTXFD", 16), ("b100baseFXHD", 17), ("b100baseFXFD", 18), ("b100baseT2HD", 19), ("b10base5", 2), ("b100baseT2FD", 20), ("b1000baseXHD", 21), ("b1000baseXFD", 22), ("b1000baseLXHD", 23), ("b1000baseLXFD", 24), ("b1000baseSXHD", 25), ("b1000baseSXFD", 26), ("b1000baseCXHD", 27), ("b1000baseCXFD", 28), ("b1000baseTHD", 29), ("bFoirl", 3), ("b1000baseTFD", 30), ("b10GbaseX", 31), ("b10GbaseLX4", 32), ("b10GbaseR", 33), ("b10GbaseER", 34), ("b10GbaseLR", 35), ("b10GbaseSR", 36), ("b10GbaseW", 37), ("b10GbaseEW", 38), ("b10GbaseLW", 39), ("b10base2", 4), ("b10GbaseSW", 40), ("b10GbaseCX4", 41), ("b2BaseTL", 42), ("b10PassTS", 43), ("b100BaseBX10D", 44), ("b100BaseBX10U", 45), ("b100BaseLX10", 46), ("b1000BaseBX10D", 47), ("b1000BaseBX10U", 48), ("b1000BaseLX10", 49), ("b10baseT", 5), ("b1000BasePX10D", 50), ("b1000BasePX10U", 51), ("b1000BasePX20D", 52), ("b1000BasePX20U", 53), ("b10baseFP", 6), ("b10baseFB", 7), ("b10baseFL", 8), ("b10broad36", 9), ) # Objects dot3MauType = MibIdentifier((1, 3, 6, 1, 2, 1, 26, 4)) dot3MauTypeAUI = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 1)) if mibBuilder.loadTexts: dot3MauTypeAUI.setDescription("no internal MAU, view from AUI") dot3MauType10Base5 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 2)) if mibBuilder.loadTexts: dot3MauType10Base5.setDescription("thick coax MAU") dot3MauTypeFoirl = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 3)) if mibBuilder.loadTexts: dot3MauTypeFoirl.setDescription("FOIRL MAU") dot3MauType10Base2 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 4)) if mibBuilder.loadTexts: dot3MauType10Base2.setDescription("thin coax MAU") dot3MauType10BaseT = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 5)) if mibBuilder.loadTexts: dot3MauType10BaseT.setDescription("UTP MAU.\nNote that it is strongly recommended that\nagents return either dot3MauType10BaseTHD or\ndot3MauType10BaseTFD if the duplex mode is\nknown. However, management applications should\nbe prepared to receive this MAU type value from\nolder agent implementations.") dot3MauType10BaseFP = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 6)) if mibBuilder.loadTexts: dot3MauType10BaseFP.setDescription("passive fiber MAU") dot3MauType10BaseFB = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 7)) if mibBuilder.loadTexts: dot3MauType10BaseFB.setDescription("sync fiber MAU") dot3MauType10BaseFL = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 8)) if mibBuilder.loadTexts: dot3MauType10BaseFL.setDescription("async fiber MAU.\nNote that it is strongly recommended that\nagents return either dot3MauType10BaseFLHD or\ndot3MauType10BaseFLFD if the duplex mode is\nknown. However, management applications should\nbe prepared to receive this MAU type value from\nolder agent implementations.") dot3MauType10Broad36 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 9)) if mibBuilder.loadTexts: dot3MauType10Broad36.setDescription("broadband DTE MAU.\nNote that 10BROAD36 MAUs can be attached to\ninterfaces but not to repeaters.") dot3MauType10BaseTHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 10)) if mibBuilder.loadTexts: dot3MauType10BaseTHD.setDescription("UTP MAU, half duplex mode") dot3MauType10BaseTFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 11)) if mibBuilder.loadTexts: dot3MauType10BaseTFD.setDescription("UTP MAU, full duplex mode") dot3MauType10BaseFLHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 12)) if mibBuilder.loadTexts: dot3MauType10BaseFLHD.setDescription("async fiber MAU, half duplex mode") dot3MauType10BaseFLFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 13)) if mibBuilder.loadTexts: dot3MauType10BaseFLFD.setDescription("async fiber MAU, full duplex mode") dot3MauType100BaseT4 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 14)) if mibBuilder.loadTexts: dot3MauType100BaseT4.setDescription("4 pair category 3 UTP") dot3MauType100BaseTXHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 15)) if mibBuilder.loadTexts: dot3MauType100BaseTXHD.setDescription("2 pair category 5 UTP, half duplex mode") dot3MauType100BaseTXFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 16)) if mibBuilder.loadTexts: dot3MauType100BaseTXFD.setDescription("2 pair category 5 UTP, full duplex mode") dot3MauType100BaseFXHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 17)) if mibBuilder.loadTexts: dot3MauType100BaseFXHD.setDescription("X fiber over PMT, half duplex mode") dot3MauType100BaseFXFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 18)) if mibBuilder.loadTexts: dot3MauType100BaseFXFD.setDescription("X fiber over PMT, full duplex mode") dot3MauType100BaseT2HD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 19)) if mibBuilder.loadTexts: dot3MauType100BaseT2HD.setDescription("2 pair category 3 UTP, half duplex mode") dot3MauType100BaseT2FD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 20)) if mibBuilder.loadTexts: dot3MauType100BaseT2FD.setDescription("2 pair category 3 UTP, full duplex mode") dot3MauType1000BaseXHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 21)) if mibBuilder.loadTexts: dot3MauType1000BaseXHD.setDescription("PCS/PMA, unknown PMD, half duplex mode") dot3MauType1000BaseXFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 22)) if mibBuilder.loadTexts: dot3MauType1000BaseXFD.setDescription("PCS/PMA, unknown PMD, full duplex mode") dot3MauType1000BaseLXHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 23)) if mibBuilder.loadTexts: dot3MauType1000BaseLXHD.setDescription("Fiber over long-wavelength laser, half duplex\nmode") dot3MauType1000BaseLXFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 24)) if mibBuilder.loadTexts: dot3MauType1000BaseLXFD.setDescription("Fiber over long-wavelength laser, full duplex\nmode") dot3MauType1000BaseSXHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 25)) if mibBuilder.loadTexts: dot3MauType1000BaseSXHD.setDescription("Fiber over short-wavelength laser, half\nduplex mode") dot3MauType1000BaseSXFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 26)) if mibBuilder.loadTexts: dot3MauType1000BaseSXFD.setDescription("Fiber over short-wavelength laser, full\nduplex mode") dot3MauType1000BaseCXHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 27)) if mibBuilder.loadTexts: dot3MauType1000BaseCXHD.setDescription("Copper over 150-Ohm balanced cable, half\nduplex mode") dot3MauType1000BaseCXFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 28)) if mibBuilder.loadTexts: dot3MauType1000BaseCXFD.setDescription("Copper over 150-Ohm balanced cable, full\n\nduplex mode") dot3MauType1000BaseTHD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 29)) if mibBuilder.loadTexts: dot3MauType1000BaseTHD.setDescription("Four-pair Category 5 UTP, half duplex mode") dot3MauType1000BaseTFD = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 30)) if mibBuilder.loadTexts: dot3MauType1000BaseTFD.setDescription("Four-pair Category 5 UTP, full duplex mode") dot3MauType10GigBaseX = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 31)) if mibBuilder.loadTexts: dot3MauType10GigBaseX.setDescription("X PCS/PMA, unknown PMD.") dot3MauType10GigBaseLX4 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 32)) if mibBuilder.loadTexts: dot3MauType10GigBaseLX4.setDescription("X fiber over WWDM optics") dot3MauType10GigBaseR = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 33)) if mibBuilder.loadTexts: dot3MauType10GigBaseR.setDescription("R PCS/PMA, unknown PMD.") dot3MauType10GigBaseER = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 34)) if mibBuilder.loadTexts: dot3MauType10GigBaseER.setDescription("R fiber over 1550 nm optics") dot3MauType10GigBaseLR = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 35)) if mibBuilder.loadTexts: dot3MauType10GigBaseLR.setDescription("R fiber over 1310 nm optics") dot3MauType10GigBaseSR = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 36)) if mibBuilder.loadTexts: dot3MauType10GigBaseSR.setDescription("R fiber over 850 nm optics") dot3MauType10GigBaseW = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 37)) if mibBuilder.loadTexts: dot3MauType10GigBaseW.setDescription("W PCS/PMA, unknown PMD.") dot3MauType10GigBaseEW = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 38)) if mibBuilder.loadTexts: dot3MauType10GigBaseEW.setDescription("W fiber over 1550 nm optics") dot3MauType10GigBaseLW = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 39)) if mibBuilder.loadTexts: dot3MauType10GigBaseLW.setDescription("W fiber over 1310 nm optics") dot3MauType10GigBaseSW = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 40)) if mibBuilder.loadTexts: dot3MauType10GigBaseSW.setDescription("W fiber over 850 nm optics") dot3MauType10GigBaseCX4 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 41)) if mibBuilder.loadTexts: dot3MauType10GigBaseCX4.setDescription("X copper over 8 pair 100-Ohm balanced cable") dot3MauType2BaseTL = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 42)) if mibBuilder.loadTexts: dot3MauType2BaseTL.setDescription("Voice grade UTP copper, up to 2700m, optional PAF") dot3MauType10PassTS = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 43)) if mibBuilder.loadTexts: dot3MauType10PassTS.setDescription("Voice grade UTP copper, up to 750m, optional PAF") dot3MauType100BaseBX10D = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 44)) if mibBuilder.loadTexts: dot3MauType100BaseBX10D.setDescription("One single-mode fiber OLT, long wavelength, 10km") dot3MauType100BaseBX10U = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 45)) if mibBuilder.loadTexts: dot3MauType100BaseBX10U.setDescription("One single-mode fiber ONU, long wavelength, 10km") dot3MauType100BaseLX10 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 46)) if mibBuilder.loadTexts: dot3MauType100BaseLX10.setDescription("Two single-mode fibers, long wavelength, 10km") dot3MauType1000BaseBX10D = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 47)) if mibBuilder.loadTexts: dot3MauType1000BaseBX10D.setDescription("One single-mode fiber OLT, long wavelength, 10km") dot3MauType1000BaseBX10U = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 48)) if mibBuilder.loadTexts: dot3MauType1000BaseBX10U.setDescription("One single-mode fiber ONU, long wavelength, 10km") dot3MauType1000BaseLX10 = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 49)) if mibBuilder.loadTexts: dot3MauType1000BaseLX10.setDescription("Two sigle-mode fiber, long wavelength, 10km") dot3MauType1000BasePX10D = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 50)) if mibBuilder.loadTexts: dot3MauType1000BasePX10D.setDescription("One single-mode fiber EPON OLT, 10km") dot3MauType1000BasePX10U = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 51)) if mibBuilder.loadTexts: dot3MauType1000BasePX10U.setDescription("One single-mode fiber EPON ONU, 10km") dot3MauType1000BasePX20D = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 52)) if mibBuilder.loadTexts: dot3MauType1000BasePX20D.setDescription("One single-mode fiber EPON OLT, 20km") dot3MauType1000BasePX20U = ObjectIdentity((1, 3, 6, 1, 2, 1, 26, 4, 53)) if mibBuilder.loadTexts: dot3MauType1000BasePX20U.setDescription("One single-mode fiber EPON ONU, 20km") ianaMauMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 154)).setRevisions(("2007-04-21 00:00",)) if mibBuilder.loadTexts: ianaMauMIB.setOrganization("IANA") if mibBuilder.loadTexts: ianaMauMIB.setContactInfo(" Internet Assigned Numbers Authority\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\n Tel: +1-310-823-9358\n EMail: iana&iana.org") if mibBuilder.loadTexts: ianaMauMIB.setDescription("This MIB module defines dot3MauType OBJECT-IDENTITIES and\nIANAifMauListBits, IANAifMauMediaAvailable,\nIANAifMauAutoNegCapBits, and IANAifJackType\n\nTEXTUAL-CONVENTIONs, specifying enumerated values of the\nifMauTypeListBits, ifMauMediaAvailable / rpMauMediaAvailable,\nifMauAutoNegCapabilityBits / ifMauAutoNegCapAdvertisedBits /\nifMauAutoNegCapReceivedBits and ifJackType / rpJackType objects\nrespectively, defined in the MAU-MIB.\n\nIt is intended that each new MAU type, Media Availability\nstate, Auto Negotiation capability and/or Jack type defined by\nthe IEEE 802.3 working group and approved for publication in a\nrevision of IEEE Std 802.3 will be added to this MIB module,\nprovided that it is suitable for being managed by the base\nobjects in the MAU-MIB. An Expert Review, as defined in\nRFC 2434 [RFC2434], is REQUIRED for such additions.\n\nThe following reference is used throughout this MIB module:\n\n[IEEE802.3] refers to:\n IEEE Std 802.3, 2005 Edition: 'IEEE Standard for\n Information technology - Telecommunications and information\n exchange between systems - Local and metropolitan area\n networks - Specific requirements -\n Part 3: Carrier sense multiple access with collision\n detection (CSMA/CD) access method and physical layer\n specifications'.\n\nThis reference should be updated as appropriate when new\nMAU types, Media Availability states, Auto Negotiation\ncapabilities, and/or Jack types are added to this MIB module.\n\nCopyright (C) The IETF Trust (2007).\nThe initial version of this MIB module was published in\nRFC 4836; for full legal notices see the RFC itself.\nSupplementary information may be available at:\nhttp://www.ietf.org/copyrights/ianamib.html") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-MAU-MIB", PYSNMP_MODULE_ID=ianaMauMIB) # Types mibBuilder.exportSymbols("IANA-MAU-MIB", IANAifJackType=IANAifJackType, IANAifMauAutoNegCapBits=IANAifMauAutoNegCapBits, IANAifMauMediaAvailable=IANAifMauMediaAvailable, IANAifMauTypeListBits=IANAifMauTypeListBits) # Objects mibBuilder.exportSymbols("IANA-MAU-MIB", dot3MauType=dot3MauType, dot3MauTypeAUI=dot3MauTypeAUI, dot3MauType10Base5=dot3MauType10Base5, dot3MauTypeFoirl=dot3MauTypeFoirl, dot3MauType10Base2=dot3MauType10Base2, dot3MauType10BaseT=dot3MauType10BaseT, dot3MauType10BaseFP=dot3MauType10BaseFP, dot3MauType10BaseFB=dot3MauType10BaseFB, dot3MauType10BaseFL=dot3MauType10BaseFL, dot3MauType10Broad36=dot3MauType10Broad36, dot3MauType10BaseTHD=dot3MauType10BaseTHD, dot3MauType10BaseTFD=dot3MauType10BaseTFD, dot3MauType10BaseFLHD=dot3MauType10BaseFLHD, dot3MauType10BaseFLFD=dot3MauType10BaseFLFD, dot3MauType100BaseT4=dot3MauType100BaseT4, dot3MauType100BaseTXHD=dot3MauType100BaseTXHD, dot3MauType100BaseTXFD=dot3MauType100BaseTXFD, dot3MauType100BaseFXHD=dot3MauType100BaseFXHD, dot3MauType100BaseFXFD=dot3MauType100BaseFXFD, dot3MauType100BaseT2HD=dot3MauType100BaseT2HD, dot3MauType100BaseT2FD=dot3MauType100BaseT2FD, dot3MauType1000BaseXHD=dot3MauType1000BaseXHD, dot3MauType1000BaseXFD=dot3MauType1000BaseXFD, dot3MauType1000BaseLXHD=dot3MauType1000BaseLXHD, dot3MauType1000BaseLXFD=dot3MauType1000BaseLXFD, dot3MauType1000BaseSXHD=dot3MauType1000BaseSXHD, dot3MauType1000BaseSXFD=dot3MauType1000BaseSXFD, dot3MauType1000BaseCXHD=dot3MauType1000BaseCXHD, dot3MauType1000BaseCXFD=dot3MauType1000BaseCXFD, dot3MauType1000BaseTHD=dot3MauType1000BaseTHD, dot3MauType1000BaseTFD=dot3MauType1000BaseTFD, dot3MauType10GigBaseX=dot3MauType10GigBaseX, dot3MauType10GigBaseLX4=dot3MauType10GigBaseLX4, dot3MauType10GigBaseR=dot3MauType10GigBaseR, dot3MauType10GigBaseER=dot3MauType10GigBaseER, dot3MauType10GigBaseLR=dot3MauType10GigBaseLR, dot3MauType10GigBaseSR=dot3MauType10GigBaseSR, dot3MauType10GigBaseW=dot3MauType10GigBaseW, dot3MauType10GigBaseEW=dot3MauType10GigBaseEW, dot3MauType10GigBaseLW=dot3MauType10GigBaseLW, dot3MauType10GigBaseSW=dot3MauType10GigBaseSW, dot3MauType10GigBaseCX4=dot3MauType10GigBaseCX4, dot3MauType2BaseTL=dot3MauType2BaseTL, dot3MauType10PassTS=dot3MauType10PassTS, dot3MauType100BaseBX10D=dot3MauType100BaseBX10D, dot3MauType100BaseBX10U=dot3MauType100BaseBX10U, dot3MauType100BaseLX10=dot3MauType100BaseLX10, dot3MauType1000BaseBX10D=dot3MauType1000BaseBX10D, dot3MauType1000BaseBX10U=dot3MauType1000BaseBX10U, dot3MauType1000BaseLX10=dot3MauType1000BaseLX10, dot3MauType1000BasePX10D=dot3MauType1000BasePX10D, dot3MauType1000BasePX10U=dot3MauType1000BasePX10U, dot3MauType1000BasePX20D=dot3MauType1000BasePX20D, dot3MauType1000BasePX20U=dot3MauType1000BasePX20U, ianaMauMIB=ianaMauMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/FIBRE-CHANNEL-FE-MIB.py0000644000014400001440000014666211736645136021641 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FIBRE-CHANNEL-FE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:59 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TimeStamp", "TruthValue") # Types class FcAddressId(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(3,3) fixedLength = 3 class FcBbCredit(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,32767) class FcBbCreditModel(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("regular", 1), ("alternate", 2), ) class FcCosCap(Bits): namedValues = NamedValues(("classF", 0), ("class1", 1), ("class2", 2), ("class3", 3), ("class4", 4), ("class5", 5), ("class6", 6), ) class FcFeFxPortCapacity(Unsigned32): pass class FcFeFxPortIndex(Unsigned32): pass class FcFeModuleCapacity(Unsigned32): pass class FcFeModuleIndex(Unsigned32): pass class FcFeNxPortIndex(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,126) class FcNameId(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class FcRxDataFieldSize(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(128,2112) class FcStackedConnMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,2,) namedValues = NamedValues(("none", 1), ("transparent", 2), ("lockedDown", 3), ) class FcphVersion(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,255) class MicroSeconds(Unsigned32): pass class MilliSeconds(Unsigned32): pass # Objects fcFeMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 75)).setRevisions(("2000-05-18 00:00",)) if mibBuilder.loadTexts: fcFeMIB.setOrganization("IETF IPFC Working Group") if mibBuilder.loadTexts: fcFeMIB.setContactInfo("Kha Sin Teow\nBrocade Communications Systems,\n1901 Guadalupe Parkway,\nSan Jose, CA 95131\nU.S.A\nTel: +1 408 487 8180\nFax: +1 408 487 8190\nEmail: khasin@Brocade.COM\n\nWG Mailing list:ipfc@standards.gadzoox.com\nTo Subscribe: ipfc-request@standards.gadzoox.com\nIn Body: subscribe") if mibBuilder.loadTexts: fcFeMIB.setDescription("The MIB module for Fibre Channel Fabric Element.") fcFeMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 1)) fcFeConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 1, 1)) fcFeFabricName = MibScalar((1, 3, 6, 1, 2, 1, 75, 1, 1, 1), FcNameId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcFeFabricName.setDescription("The Name_Identifier of the Fabric to which this Fabric\nElement belongs.") fcFeElementName = MibScalar((1, 3, 6, 1, 2, 1, 75, 1, 1, 2), FcNameId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcFeElementName.setDescription("The Name_Identifier of the Fabric Element.") fcFeModuleCapacity = MibScalar((1, 3, 6, 1, 2, 1, 75, 1, 1, 3), FcFeModuleCapacity()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFeModuleCapacity.setDescription("The maximum number of modules in the Fabric Element,\nregardless of their current state.") fcFeModuleTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 1, 4)) if mibBuilder.loadTexts: fcFeModuleTable.setDescription("A table that contains, one entry for each module in the\nFabric Element, information of the modules.") fcFeModuleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1)).setIndexNames((0, "FIBRE-CHANNEL-FE-MIB", "fcFeModuleIndex")) if mibBuilder.loadTexts: fcFeModuleEntry.setDescription("An entry containing the configuration parameters of a\nmodule.") fcFeModuleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1, 1), FcFeModuleIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcFeModuleIndex.setDescription("This object identifies the module within the Fabric Element\nfor which this entry contains information. This value is\nnever greater than fcFeModuleCapacity.") fcFeModuleDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFeModuleDescr.setDescription("A textual description of the module. This value should\ninclude the full name and version identification of the\nmodule.") fcFeModuleObjectID = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFeModuleObjectID.setDescription("The vendor's authoritative identification of the module.\nThis value may be allocated within the SMI enterprises\nsubtree (1.3.6.1.4.1) and provides a straight-forward and\nunambiguous means for determining what kind of module is\nbeing managed.\n\nFor example, this object could take the value\n1.3.6.1.4.1.99649.3.9 if vendor 'Neufe Inc.' was assigned\nthe subtree 1.3.6.1.4.1.99649, and had assigned the\nidentifier 1.3.6.1.4.1.99649.3.9 to its 'FeFiFo-16\nPlugInCard.'") fcFeModuleOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("online", 1), ("offline", 2), ("testing", 3), ("faulty", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFeModuleOperStatus.setDescription("This object indicates the operational status of the module:\nonline(1) the module is functioning properly;\noffline(2) the module is not available;\ntesting(3) the module is under testing; and\nfaulty(4) the module is defective in some way.") fcFeModuleLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFeModuleLastChange.setDescription("This object contains the value of sysUpTime when the module\nentered its current operational status. A value of zero\nindicates that the operational status of the module has not\nchanged since the agent last restarted.") fcFeModuleFxPortCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1, 6), FcFeFxPortCapacity()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFeModuleFxPortCapacity.setDescription("The number of FxPort that can be contained within the\nmodule. Within each module, the ports are uniquely numbered\nin the range from 1 to fcFeModuleFxPortCapacity inclusive.\nHowever, the numbers are not required to be contiguous.") fcFeModuleName = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 4, 1, 7), FcNameId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcFeModuleName.setDescription("The Name_Identifier of the module.") fcFxPortTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 1, 5)) if mibBuilder.loadTexts: fcFxPortTable.setDescription("A table that contains, one entry for each FxPort in the\nFabric Element, configuration and service parameters of the\nFxPorts.") fcFxPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1)).setIndexNames((0, "FIBRE-CHANNEL-FE-MIB", "fcFeModuleIndex"), (0, "FIBRE-CHANNEL-FE-MIB", "fcFxPortIndex")) if mibBuilder.loadTexts: fcFxPortEntry.setDescription("An entry containing the configuration and service parameters\nof a FxPort.") fcFxPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 1), FcFeFxPortIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcFxPortIndex.setDescription("This object identifies the FxPort within the module. This\nnumber ranges from 1 to the value of fcFeModulePortCapacity\nfor the associated module. The value remains constant for\nthe identified FxPort until the module is re-initialized.") fcFxPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 2), FcNameId()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortName.setDescription("The World_wide Name of this FxPort. Each FxPort has a\nunique Port World_wide Name within the Fabric.") fcFxPortFcphVersionHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 3), FcphVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortFcphVersionHigh.setDescription("The highest or most recent version of FC-PH that the FxPort\nis configured to support.") fcFxPortFcphVersionLow = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 4), FcphVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortFcphVersionLow.setDescription("The lowest or earliest version of FC-PH that the FxPort is\nconfigured to support.") fcFxPortBbCredit = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 5), FcBbCredit()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortBbCredit.setDescription("The total number of receive buffers available for holding\nClass 1 connect-request, Class 2 or 3 frames from the\nattached NxPort. It is for buffer-to-buffer flow control\nin the direction from the attached NxPort (if applicable)\nto FxPort.") fcFxPortRxBufSize = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 6), FcRxDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortRxBufSize.setDescription("The largest Data_Field Size (in octets) for an FT_1 frame\nthat can be received by the FxPort.") fcFxPortRatov = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 7), MilliSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortRatov.setDescription("The Resource_Allocation_Timeout Value configured for the\nFxPort. This is used as the timeout value for determining\nwhen to reuse an NxPort resource such as a\nRecovery_Qualifier. It represents E_D_TOV (see next\nobject) plus twice the maximum time that a frame may be\ndelayed within the Fabric and still be delivered.") fcFxPortEdtov = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 8), MilliSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortEdtov.setDescription("The E_D_TOV value configured for the FxPort. The\nError_Detect_Timeout Value is used as the timeout value for\ndetecting an error condition.") fcFxPortCosSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 9), FcCosCap()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCosSupported.setDescription("A value indicating the set of Classes of Service supported\nby the FxPort.") fcFxPortIntermixSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortIntermixSupported.setDescription("A flag indicating whether or not the FxPort supports an\nIntermixed Dedicated Connection.") fcFxPortStackedConnMode = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 11), FcStackedConnMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortStackedConnMode.setDescription("A value indicating the mode of Stacked Connect supported by\nthe FxPort.") fcFxPortClass2SeqDeliv = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortClass2SeqDeliv.setDescription("A flag indicating whether or not Class 2 Sequential\nDelivery is supported by the FxPort.") fcFxPortClass3SeqDeliv = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortClass3SeqDeliv.setDescription("A flag indicating whether or not Class 3 Sequential\nDelivery is supported by the FxPort.") fcFxPortHoldTime = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 1, 5, 1, 14), MicroSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortHoldTime.setDescription("The maximum time (in microseconds) that the FxPort shall\nhold a frame before discarding the frame if it is unable to\ndeliver the frame. The value 0 means that the FxPort does\nnot support this parameter.") fcFeStatus = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 1, 2)) fcFxPortStatusTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 2, 1)) if mibBuilder.loadTexts: fcFxPortStatusTable.setDescription("A table that contains, one entry for each FxPort in the\nFabric Element, operational status and parameters of the\nFxPorts.") fcFxPortStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 2, 1, 1)) if mibBuilder.loadTexts: fcFxPortStatusEntry.setDescription("An entry containing operational status and parameters of a\nFxPort.") fcFxPortID = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 1, 1, 1), FcAddressId()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortID.setDescription("The address identifier by which this FxPort is identified\nwithin the Fabric. The FxPort may assign its address\nidentifier to its attached NxPort(s) during Fabric Login.") fcFxPortBbCreditAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 1, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortBbCreditAvailable.setDescription("The number of buffers currently available for receiving\nframes from the attached port in the buffer-to-buffer flow\ncontrol. The value should be less than or equal to\nfcFxPortBbCredit.") fcFxPortOperMode = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("fPort", 2), ("flPort", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortOperMode.setDescription("The current operational mode of the FxPort.") fcFxPortAdminMode = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,)).subtype(namedValues=NamedValues(("fPort", 2), ("flPort", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcFxPortAdminMode.setDescription("The desired operational mode of the FxPort.") fcFxPortPhysTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 2, 2)) if mibBuilder.loadTexts: fcFxPortPhysTable.setDescription("A table that contains, one entry for each FxPort in the\nFabric Element, physical level status and parameters of the\nFxPorts.") fcFxPortPhysEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 2, 2, 1)) if mibBuilder.loadTexts: fcFxPortPhysEntry.setDescription("An entry containing physical level status and parameters of\na FxPort.") fcFxPortPhysAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 2, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("online", 1), ("offline", 2), ("testing", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcFxPortPhysAdminStatus.setDescription("The desired state of the FxPort. A management station may\nplace the FxPort in a desired state by setting this object\naccordingly. The testing(3) state indicates that no\noperational frames can be passed. When a Fabric Element\ninitializes, all FxPorts start with fcFxPortPhysAdminStatus\nin the offline(2) state. As the result of either explicit\nmanagement action or per configuration information\naccessible by the Fabric Element, fcFxPortPhysAdminStatus\nis then changed to either the online(1) or testing(3)\nstates, or remains in the offline state.") fcFxPortPhysOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("online", 1), ("offline", 2), ("testing", 3), ("linkFailure", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortPhysOperStatus.setDescription("The current operational status of the FxPort. The\ntesting(3) indicates that no operational frames can be\npassed. If fcFxPortPhysAdminStatus is offline(2) then\nfcFxPortPhysOperStatus should be offline(2). If\nfcFxPortPhysAdminStatus is changed to online(1) then\nfcFxPortPhysOperStatus should change to online(1) if the\nFxPort is ready to accept Fabric Login request from the\nattached NxPort; it should proceed and remain in the link-\nfailure(4) state if and only if there is a fault that\nprevents it from going to the online(1) state.") fcFxPortPhysLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 2, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortPhysLastChange.setDescription("The value of sysUpTime at the time the FxPort entered its\ncurrent operational status. A value of zero indicates that\nthe FxPort's operational status has not changed since the\nagent last restarted.") fcFxPortPhysRttov = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 2, 1, 4), MilliSeconds()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcFxPortPhysRttov.setDescription("The Receiver_Transmitter_Timeout value of the FxPort. This\nis used by the receiver logic to detect Loss of\nSynchronization.") fcFxLoginTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 2, 3)) if mibBuilder.loadTexts: fcFxLoginTable.setDescription("A table that contains, one entry for each NxPort attached\nto a particular FxPort in the Fabric Element, services\nparameters established from the most recent Fabric Login,\nexplicit or implicit. Note that an FxPort may have one or\nmore NxPort attached to it.") fcFxLoginEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1)).setIndexNames((0, "FIBRE-CHANNEL-FE-MIB", "fcFeModuleIndex"), (0, "FIBRE-CHANNEL-FE-MIB", "fcFxPortIndex"), (0, "FIBRE-CHANNEL-FE-MIB", "fcFxPortNxLoginIndex")) if mibBuilder.loadTexts: fcFxLoginEntry.setDescription("An entry containing service parameters established from a\nsuccessful Fabric Login.") fcFxPortNxLoginIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 1), FcFeNxPortIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcFxPortNxLoginIndex.setDescription("The object identifies the associated NxPort in the\nattachment for which the entry contains information.") fcFxPortFcphVersionAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 2), FcphVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortFcphVersionAgreed.setDescription("The version of FC-PH that the FxPort has agreed to support\nfrom the Fabric Login") fcFxPortNxPortBbCredit = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 3), FcBbCredit()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortNxPortBbCredit.setDescription("The total number of buffers available for holding Class 1\nconnect-request, Class 2 or Class 3 frames to be\ntransmitted to the attached NxPort. It is for buffer-to-\nbuffer flow control in the direction from FxPort to NxPort.\nThe buffer-to-buffer flow control mechanism is indicated in\nthe respective fcFxPortBbCreditModel.") fcFxPortNxPortRxDataFieldSize = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 4), FcRxDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortNxPortRxDataFieldSize.setDescription("The Receive Data Field Size of the attached NxPort. This\nobject specifies the largest Data Field Size for an FT_1\nframe that can be received by the NxPort.") fcFxPortCosSuppAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 5), FcCosCap()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCosSuppAgreed.setDescription("A variable indicating that the attached NxPort has\nrequested the FxPort for the support of classes of services\nand the FxPort has granted the request.") fcFxPortIntermixSuppAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortIntermixSuppAgreed.setDescription("A variable indicating that the attached NxPort has\nrequested the FxPort for the support of Intermix and the\nFxPort has granted the request. This flag is only valid if\nClass 1 service is supported.") fcFxPortStackedConnModeAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 7), FcStackedConnMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortStackedConnModeAgreed.setDescription("A variable indicating whether the FxPort has agreed to\nsupport stacked connect from the Fabric Login. This is only\nmeaningful if Class 1 service has been agreed.") fcFxPortClass2SeqDelivAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortClass2SeqDelivAgreed.setDescription("A variable indicating whether the FxPort has agreed to\nsupport Class 2 sequential delivery from the Fabric Login.\nThis is only meaningful if Class 2 service has been\nagreed.") fcFxPortClass3SeqDelivAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortClass3SeqDelivAgreed.setDescription("A flag indicating whether the FxPort has agreed to support\nClass 3 sequential delivery from the Fabric Login. This is\nonly meaningful if Class 3 service has been agreed.") fcFxPortNxPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 10), FcNameId()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortNxPortName.setDescription("The port name of the attached NxPort.") fcFxPortConnectedNxPort = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 11), FcAddressId()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortConnectedNxPort.setDescription("The address identifier of the destination NxPort with which\nthis FxPort is currently engaged in a either a Class 1 or\nloop connection. If this FxPort is not engaged in a\nconnection, then the value of this object is '000000'H.") fcFxPortBbCreditModel = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 2, 3, 1, 12), FcBbCreditModel()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcFxPortBbCreditModel.setDescription("This object identifies the BB_Credit model used by the\nFxPort.") fcFeError = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 1, 3)) fcFxPortErrorTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 3, 1)) if mibBuilder.loadTexts: fcFxPortErrorTable.setDescription("A table that contains, one entry for each FxPort, counters\nthat record the numbers of errors detected.") fcFxPortErrorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1)) if mibBuilder.loadTexts: fcFxPortErrorEntry.setDescription("An entry containing error counters of a FxPort.") fcFxPortLinkFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortLinkFailures.setDescription("The number of link failures detected by this FxPort.") fcFxPortSyncLosses = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortSyncLosses.setDescription("The number of loss of synchronization detected by the\nFxPort.") fcFxPortSigLosses = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortSigLosses.setDescription("The number of loss of signal detected by the FxPort.") fcFxPortPrimSeqProtoErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortPrimSeqProtoErrors.setDescription("The number of primitive sequence protocol errors detected\nby the FxPort.") fcFxPortInvalidTxWords = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortInvalidTxWords.setDescription("The number of invalid transmission word detected by the\nFxPort.") fcFxPortInvalidCrcs = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortInvalidCrcs.setDescription("The number of invalid CRC detected by this FxPort.") fcFxPortDelimiterErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortDelimiterErrors.setDescription("The number of Delimiter Errors detected by this FxPort.") fcFxPortAddressIdErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortAddressIdErrors.setDescription("The number of address identifier errors detected by this\nFxPort.") fcFxPortLinkResetIns = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortLinkResetIns.setDescription("The number of Link Reset Protocol received by this FxPort\nfrom the attached NxPort.") fcFxPortLinkResetOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortLinkResetOuts.setDescription("The number of Link Reset Protocol issued by this FxPort to\nthe attached NxPort.") fcFxPortOlsIns = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortOlsIns.setDescription("The number of Offline Sequence received by this FxPort.") fcFxPortOlsOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortOlsOuts.setDescription("The number of Offline Sequence issued by this FxPort.") fcFeAccounting = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 1, 4)) fcFxPortC1AccountingTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 4, 1)) if mibBuilder.loadTexts: fcFxPortC1AccountingTable.setDescription("A table that contains, one entry for each FxPort in the\nFabric Element, Class 1 accounting information recorded\nsince the management agent has re-initialized.") fcFxPortC1AccountingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1)) if mibBuilder.loadTexts: fcFxPortC1AccountingEntry.setDescription("An entry containing Class 1 accounting information for each\nFxPort.") fcFxPortC1InFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1InFrames.setDescription("The number of Class 1 frames (other than Class 1 connect-\nrequest) received by this FxPort from its attached NxPort.") fcFxPortC1OutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1OutFrames.setDescription("The number of Class 1 frames (other than Class 1 connect-\nrequest) delivered through this FxPort to its attached\nNxPort.") fcFxPortC1InOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1InOctets.setDescription("The number of Class 1 frame octets, including the frame\ndelimiters, received by this FxPort from its attached\nNxPort.") fcFxPortC1OutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1OutOctets.setDescription("The number of Class 1 frame octets, including the frame\ndelimiters, delivered through this FxPort its attached\nNxPort.") fcFxPortC1Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1Discards.setDescription("The number of Class 1 frames discarded by this FxPort.") fcFxPortC1FbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1FbsyFrames.setDescription("The number of F_BSY frames generated by this FxPort against\nClass 1 connect-request.") fcFxPortC1FrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1FrjtFrames.setDescription("The number of F_RJT frames generated by this FxPort against\nClass 1 connect-request.") fcFxPortC1InConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1InConnections.setDescription("The number of Class 1 connections successfully established\nin which the attached NxPort is the source of the connect-\nrequest.") fcFxPortC1OutConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1OutConnections.setDescription("The number of Class 1 connections successfully established\nin which the attached NxPort is the destination of the\nconnect-request.") fcFxPortC1ConnTime = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 1, 1, 10), MilliSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC1ConnTime.setDescription("The cumulative time that this FxPort has been engaged in\nClass 1 connection. The amount of time is counted from\nafter a connect-request has been accepted until the\nconnection is disengaged, either by an EOFdt or Link\nReset.") fcFxPortC2AccountingTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 4, 2)) if mibBuilder.loadTexts: fcFxPortC2AccountingTable.setDescription("A table that contains, one entry for each FxPort in the\nFabric Element, Class 2 accounting information recorded\nsince the management agent has re-initialized.") fcFxPortC2AccountingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1)) if mibBuilder.loadTexts: fcFxPortC2AccountingEntry.setDescription("An entry containing Class 2 accounting information for each\nFxPort.") fcFxPortC2InFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC2InFrames.setDescription("The number of Class 2 frames received by this FxPort from\nits attached NxPort.") fcFxPortC2OutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC2OutFrames.setDescription("The number of Class 2 frames delivered through this FxPort\nto its attached NxPort.") fcFxPortC2InOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC2InOctets.setDescription("The number of Class 2 frame octets, including the frame\ndelimiters, received by this FxPort from its attached\nNxPort.") fcFxPortC2OutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC2OutOctets.setDescription("The number of Class 2 frame octets, including the frame\ndelimiters, delivered through this FxPort to its attached\nNxPort.") fcFxPortC2Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC2Discards.setDescription("The number of Class 2 frames discarded by this FxPort.") fcFxPortC2FbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC2FbsyFrames.setDescription("The number of F_BSY frames generated by this FxPort against\nClass 2 frames.") fcFxPortC2FrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC2FrjtFrames.setDescription("The number of F_RJT frames generated by this FxPort against\nClass 2 frames.") fcFxPortC3AccountingTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 4, 3)) if mibBuilder.loadTexts: fcFxPortC3AccountingTable.setDescription("A table that contains, one entry for each FxPort in the\nFabric Element, Class 3 accounting information recorded\nsince the management agent has re-initialized.") fcFxPortC3AccountingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 4, 3, 1)) if mibBuilder.loadTexts: fcFxPortC3AccountingEntry.setDescription("An entry containing Class 3 accounting information for each\nFxPort.") fcFxPortC3InFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC3InFrames.setDescription("The number of Class 3 frames received by this FxPort from\nits attached NxPort.") fcFxPortC3OutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC3OutFrames.setDescription("The number of Class 3 frames delivered through this FxPort\nto its attached NxPort.") fcFxPortC3InOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC3InOctets.setDescription("The number of Class 3 frame octets, including the frame\ndelimiters, received by this FxPort from its attached\nNxPort.") fcFxPortC3OutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC3OutOctets.setDescription("The number of Class 3 frame octets, including the frame\ndelimiters, delivered through this FxPort to its attached\nNxPort.") fcFxPortC3Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 4, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortC3Discards.setDescription("The number of Class 3 frames discarded by this FxPort.") fcFeCapabilities = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 1, 5)) fcFxPortCapTable = MibTable((1, 3, 6, 1, 2, 1, 75, 1, 5, 1)) if mibBuilder.loadTexts: fcFxPortCapTable.setDescription("A table that contains, one entry for each FxPort, the\ncapabilities of the port within the Fabric Element.") fcFxPortCapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1)) if mibBuilder.loadTexts: fcFxPortCapEntry.setDescription("An entry containing the Cap of a FxPort.") fcFxPortCapFcphVersionHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 1), FcphVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapFcphVersionHigh.setDescription("The highest or most recent version of FC-PH that the FxPort\nis capable of supporting.") fcFxPortCapFcphVersionLow = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 2), FcphVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapFcphVersionLow.setDescription("The lowest or earliest version of FC-PH that the FxPort is\ncapable of supporting.") fcFxPortCapBbCreditMax = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 3), FcBbCredit()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapBbCreditMax.setDescription("The maximum number of receive buffers available for holding\nClass 1 connect-request, Class 2 or Class 3 frames from the\nattached NxPort.") fcFxPortCapBbCreditMin = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 4), FcBbCredit()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapBbCreditMin.setDescription("The minimum number of receive buffers available for holding\nClass 1 connect-request, Class 2 or Class 3 frames from the\nattached NxPort.") fcFxPortCapRxDataFieldSizeMax = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 5), FcRxDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapRxDataFieldSizeMax.setDescription("The maximum size in bytes of the Data Field in a frame that\nthe FxPort is capable of receiving from its attached\nNxPort.") fcFxPortCapRxDataFieldSizeMin = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 6), FcRxDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapRxDataFieldSizeMin.setDescription("The minimum size in bytes of the Data Field in a frame that\nthe FxPort is capable of receiving from its attached\nNxPort.") fcFxPortCapCos = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 7), FcCosCap()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapCos.setDescription("A value indicating the set of Classes of Service that the\nFxPort is capable of supporting.") fcFxPortCapIntermix = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapIntermix.setDescription("A flag indicating whether or not the FxPort is capable of\nsupporting the intermixing of Class 2 and Class 3 frames\nduring a Class 1 connection. This flag is only valid if the\nport is capable of supporting Class 1 service.") fcFxPortCapStackedConnMode = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 9), FcStackedConnMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapStackedConnMode.setDescription("A value indicating the mode of Stacked Connect request that\nthe FxPort is capable of supporting.") fcFxPortCapClass2SeqDeliv = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapClass2SeqDeliv.setDescription("A flag indicating whether or not the FxPort is capable of\nsupporting Class 2 Sequential Delivery.") fcFxPortCapClass3SeqDeliv = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapClass3SeqDeliv.setDescription("A flag indicating whether or not the FxPort is capable of\nsupporting Class 3 Sequential Delivery.") fcFxPortCapHoldTimeMax = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 12), MicroSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapHoldTimeMax.setDescription("The maximum holding time (in microseconds) that the FxPort\nis capable of supporting.") fcFxPortCapHoldTimeMin = MibTableColumn((1, 3, 6, 1, 2, 1, 75, 1, 5, 1, 1, 13), MicroSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcFxPortCapHoldTimeMin.setDescription("The minimum holding time (in microseconds) that the FxPort\nis capable of supporting.") fcFeMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 2)) fcFeMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 2, 1)) fcFeMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 75, 2, 2)) # Augmentions fcFxPortEntry.registerAugmentions(("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1AccountingEntry")) fcFxPortC1AccountingEntry.setIndexNames(*fcFxPortEntry.getIndexNames()) fcFxPortEntry.registerAugmentions(("FIBRE-CHANNEL-FE-MIB", "fcFxPortC3AccountingEntry")) fcFxPortC3AccountingEntry.setIndexNames(*fcFxPortEntry.getIndexNames()) fcFxPortEntry.registerAugmentions(("FIBRE-CHANNEL-FE-MIB", "fcFxPortPhysEntry")) fcFxPortPhysEntry.setIndexNames(*fcFxPortEntry.getIndexNames()) fcFxPortEntry.registerAugmentions(("FIBRE-CHANNEL-FE-MIB", "fcFxPortErrorEntry")) fcFxPortErrorEntry.setIndexNames(*fcFxPortEntry.getIndexNames()) fcFxPortEntry.registerAugmentions(("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapEntry")) fcFxPortCapEntry.setIndexNames(*fcFxPortEntry.getIndexNames()) fcFxPortEntry.registerAugmentions(("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2AccountingEntry")) fcFxPortC2AccountingEntry.setIndexNames(*fcFxPortEntry.getIndexNames()) fcFxPortEntry.registerAugmentions(("FIBRE-CHANNEL-FE-MIB", "fcFxPortStatusEntry")) fcFxPortStatusEntry.setIndexNames(*fcFxPortEntry.getIndexNames()) # Groups fcFeConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 75, 2, 2, 1)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFeModuleCapacity"), ("FIBRE-CHANNEL-FE-MIB", "fcFeModuleOperStatus"), ("FIBRE-CHANNEL-FE-MIB", "fcFeModuleName"), ("FIBRE-CHANNEL-FE-MIB", "fcFeElementName"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortRatov"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortName"), ("FIBRE-CHANNEL-FE-MIB", "fcFeModuleDescr"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortClass3SeqDeliv"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortEdtov"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCosSupported"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortBbCredit"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortClass2SeqDeliv"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortIntermixSupported"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortRxBufSize"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortFcphVersionHigh"), ("FIBRE-CHANNEL-FE-MIB", "fcFeModuleLastChange"), ("FIBRE-CHANNEL-FE-MIB", "fcFeModuleFxPortCapacity"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortHoldTime"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortStackedConnMode"), ("FIBRE-CHANNEL-FE-MIB", "fcFeModuleObjectID"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortFcphVersionLow"), ("FIBRE-CHANNEL-FE-MIB", "fcFeFabricName"), ) ) if mibBuilder.loadTexts: fcFeConfigGroup.setDescription("A collection of objects providing the configuration and service\nparameters of the Fabric Element, the modules, and FxPorts.") fcFeStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 75, 2, 2, 2)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFxPortNxPortBbCredit"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortPhysRttov"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortID"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortClass2SeqDelivAgreed"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCosSuppAgreed"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortNxPortRxDataFieldSize"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortIntermixSuppAgreed"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortBbCreditAvailable"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortClass3SeqDelivAgreed"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortStackedConnModeAgreed"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortNxPortName"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortPhysLastChange"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortPhysAdminStatus"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortAdminMode"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortFcphVersionAgreed"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortBbCreditModel"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortOperMode"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortConnectedNxPort"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortPhysOperStatus"), ) ) if mibBuilder.loadTexts: fcFeStatusGroup.setDescription("A collection of objects providing the operational status and\nestablished service parameters for the Fabric Element and the\nattached NxPorts.") fcFeErrorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 75, 2, 2, 3)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFxPortLinkFailures"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortInvalidTxWords"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortPrimSeqProtoErrors"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortAddressIdErrors"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortOlsOuts"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortDelimiterErrors"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortSyncLosses"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortLinkResetIns"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortSigLosses"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortOlsIns"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortInvalidCrcs"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortLinkResetOuts"), ) ) if mibBuilder.loadTexts: fcFeErrorGroup.setDescription("A collection of objects providing various error\nstatistics detected by the FxPorts.") fcFeClass1AccountingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 75, 2, 2, 4)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1InOctets"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1InConnections"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1FrjtFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1Discards"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1InFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1FbsyFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1ConnTime"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1OutConnections"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1OutOctets"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC1OutFrames"), ) ) if mibBuilder.loadTexts: fcFeClass1AccountingGroup.setDescription("A collection of objects providing various class 1\nperformance statistics detected by the FxPorts.") fcFeClass2AccountingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 75, 2, 2, 5)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2FbsyFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2OutFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2OutOctets"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2InFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2FrjtFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2Discards"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC2InOctets"), ) ) if mibBuilder.loadTexts: fcFeClass2AccountingGroup.setDescription("A collection of objects providing various class 2\nperformance statistics detected by the FxPorts.") fcFeClass3AccountingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 75, 2, 2, 6)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFxPortC3InFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC3OutOctets"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC3InOctets"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC3OutFrames"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortC3Discards"), ) ) if mibBuilder.loadTexts: fcFeClass3AccountingGroup.setDescription("A collection of objects providing various class 3\nperformance statistics detected by the FxPorts.") fcFeCapabilitiesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 75, 2, 2, 7)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapFcphVersionHigh"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapClass2SeqDeliv"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapHoldTimeMin"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapClass3SeqDeliv"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapRxDataFieldSizeMax"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapCos"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapFcphVersionLow"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapRxDataFieldSizeMin"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapBbCreditMin"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapBbCreditMax"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapHoldTimeMax"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapStackedConnMode"), ("FIBRE-CHANNEL-FE-MIB", "fcFxPortCapIntermix"), ) ) if mibBuilder.loadTexts: fcFeCapabilitiesGroup.setDescription("A collection of objects providing the inherent\ncapability of each FxPort within the Fabric Element.") # Compliances fcFeMIBMinimumCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 75, 2, 1, 1)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFeStatusGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeConfigGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeErrorGroup"), ) ) if mibBuilder.loadTexts: fcFeMIBMinimumCompliance.setDescription("The minimum compliance statement for SNMP entities\nwhich implement the FIBRE-CHANNEL-FE-MIB.") fcFeMIBFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 75, 2, 1, 2)).setObjects(*(("FIBRE-CHANNEL-FE-MIB", "fcFeClass3AccountingGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeClass1AccountingGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeConfigGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeStatusGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeCapabilitiesGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeClass2AccountingGroup"), ("FIBRE-CHANNEL-FE-MIB", "fcFeErrorGroup"), ) ) if mibBuilder.loadTexts: fcFeMIBFullCompliance.setDescription("The full compliance statement for SNMP entities\nwhich implement the FIBRE-CHANNEL-FE-MIB.") # Exports # Module identity mibBuilder.exportSymbols("FIBRE-CHANNEL-FE-MIB", PYSNMP_MODULE_ID=fcFeMIB) # Types mibBuilder.exportSymbols("FIBRE-CHANNEL-FE-MIB", FcAddressId=FcAddressId, FcBbCredit=FcBbCredit, FcBbCreditModel=FcBbCreditModel, FcCosCap=FcCosCap, FcFeFxPortCapacity=FcFeFxPortCapacity, FcFeFxPortIndex=FcFeFxPortIndex, FcFeModuleCapacity=FcFeModuleCapacity, FcFeModuleIndex=FcFeModuleIndex, FcFeNxPortIndex=FcFeNxPortIndex, FcNameId=FcNameId, FcRxDataFieldSize=FcRxDataFieldSize, FcStackedConnMode=FcStackedConnMode, FcphVersion=FcphVersion, MicroSeconds=MicroSeconds, MilliSeconds=MilliSeconds) # Objects mibBuilder.exportSymbols("FIBRE-CHANNEL-FE-MIB", fcFeMIB=fcFeMIB, fcFeMIBObjects=fcFeMIBObjects, fcFeConfig=fcFeConfig, fcFeFabricName=fcFeFabricName, fcFeElementName=fcFeElementName, fcFeModuleCapacity=fcFeModuleCapacity, fcFeModuleTable=fcFeModuleTable, fcFeModuleEntry=fcFeModuleEntry, fcFeModuleIndex=fcFeModuleIndex, fcFeModuleDescr=fcFeModuleDescr, fcFeModuleObjectID=fcFeModuleObjectID, fcFeModuleOperStatus=fcFeModuleOperStatus, fcFeModuleLastChange=fcFeModuleLastChange, fcFeModuleFxPortCapacity=fcFeModuleFxPortCapacity, fcFeModuleName=fcFeModuleName, fcFxPortTable=fcFxPortTable, fcFxPortEntry=fcFxPortEntry, fcFxPortIndex=fcFxPortIndex, fcFxPortName=fcFxPortName, fcFxPortFcphVersionHigh=fcFxPortFcphVersionHigh, fcFxPortFcphVersionLow=fcFxPortFcphVersionLow, fcFxPortBbCredit=fcFxPortBbCredit, fcFxPortRxBufSize=fcFxPortRxBufSize, fcFxPortRatov=fcFxPortRatov, fcFxPortEdtov=fcFxPortEdtov, fcFxPortCosSupported=fcFxPortCosSupported, fcFxPortIntermixSupported=fcFxPortIntermixSupported, fcFxPortStackedConnMode=fcFxPortStackedConnMode, fcFxPortClass2SeqDeliv=fcFxPortClass2SeqDeliv, fcFxPortClass3SeqDeliv=fcFxPortClass3SeqDeliv, fcFxPortHoldTime=fcFxPortHoldTime, fcFeStatus=fcFeStatus, fcFxPortStatusTable=fcFxPortStatusTable, fcFxPortStatusEntry=fcFxPortStatusEntry, fcFxPortID=fcFxPortID, fcFxPortBbCreditAvailable=fcFxPortBbCreditAvailable, fcFxPortOperMode=fcFxPortOperMode, fcFxPortAdminMode=fcFxPortAdminMode, fcFxPortPhysTable=fcFxPortPhysTable, fcFxPortPhysEntry=fcFxPortPhysEntry, fcFxPortPhysAdminStatus=fcFxPortPhysAdminStatus, fcFxPortPhysOperStatus=fcFxPortPhysOperStatus, fcFxPortPhysLastChange=fcFxPortPhysLastChange, fcFxPortPhysRttov=fcFxPortPhysRttov, fcFxLoginTable=fcFxLoginTable, fcFxLoginEntry=fcFxLoginEntry, fcFxPortNxLoginIndex=fcFxPortNxLoginIndex, fcFxPortFcphVersionAgreed=fcFxPortFcphVersionAgreed, fcFxPortNxPortBbCredit=fcFxPortNxPortBbCredit, fcFxPortNxPortRxDataFieldSize=fcFxPortNxPortRxDataFieldSize, fcFxPortCosSuppAgreed=fcFxPortCosSuppAgreed, fcFxPortIntermixSuppAgreed=fcFxPortIntermixSuppAgreed, fcFxPortStackedConnModeAgreed=fcFxPortStackedConnModeAgreed, fcFxPortClass2SeqDelivAgreed=fcFxPortClass2SeqDelivAgreed, fcFxPortClass3SeqDelivAgreed=fcFxPortClass3SeqDelivAgreed, fcFxPortNxPortName=fcFxPortNxPortName, fcFxPortConnectedNxPort=fcFxPortConnectedNxPort, fcFxPortBbCreditModel=fcFxPortBbCreditModel, fcFeError=fcFeError, fcFxPortErrorTable=fcFxPortErrorTable, fcFxPortErrorEntry=fcFxPortErrorEntry, fcFxPortLinkFailures=fcFxPortLinkFailures, fcFxPortSyncLosses=fcFxPortSyncLosses, fcFxPortSigLosses=fcFxPortSigLosses, fcFxPortPrimSeqProtoErrors=fcFxPortPrimSeqProtoErrors, fcFxPortInvalidTxWords=fcFxPortInvalidTxWords, fcFxPortInvalidCrcs=fcFxPortInvalidCrcs, fcFxPortDelimiterErrors=fcFxPortDelimiterErrors, fcFxPortAddressIdErrors=fcFxPortAddressIdErrors, fcFxPortLinkResetIns=fcFxPortLinkResetIns, fcFxPortLinkResetOuts=fcFxPortLinkResetOuts, fcFxPortOlsIns=fcFxPortOlsIns, fcFxPortOlsOuts=fcFxPortOlsOuts, fcFeAccounting=fcFeAccounting, fcFxPortC1AccountingTable=fcFxPortC1AccountingTable, fcFxPortC1AccountingEntry=fcFxPortC1AccountingEntry, fcFxPortC1InFrames=fcFxPortC1InFrames, fcFxPortC1OutFrames=fcFxPortC1OutFrames, fcFxPortC1InOctets=fcFxPortC1InOctets, fcFxPortC1OutOctets=fcFxPortC1OutOctets, fcFxPortC1Discards=fcFxPortC1Discards, fcFxPortC1FbsyFrames=fcFxPortC1FbsyFrames, fcFxPortC1FrjtFrames=fcFxPortC1FrjtFrames, fcFxPortC1InConnections=fcFxPortC1InConnections, fcFxPortC1OutConnections=fcFxPortC1OutConnections, fcFxPortC1ConnTime=fcFxPortC1ConnTime, fcFxPortC2AccountingTable=fcFxPortC2AccountingTable, fcFxPortC2AccountingEntry=fcFxPortC2AccountingEntry, fcFxPortC2InFrames=fcFxPortC2InFrames, fcFxPortC2OutFrames=fcFxPortC2OutFrames, fcFxPortC2InOctets=fcFxPortC2InOctets, fcFxPortC2OutOctets=fcFxPortC2OutOctets, fcFxPortC2Discards=fcFxPortC2Discards, fcFxPortC2FbsyFrames=fcFxPortC2FbsyFrames, fcFxPortC2FrjtFrames=fcFxPortC2FrjtFrames, fcFxPortC3AccountingTable=fcFxPortC3AccountingTable, fcFxPortC3AccountingEntry=fcFxPortC3AccountingEntry, fcFxPortC3InFrames=fcFxPortC3InFrames, fcFxPortC3OutFrames=fcFxPortC3OutFrames, fcFxPortC3InOctets=fcFxPortC3InOctets, fcFxPortC3OutOctets=fcFxPortC3OutOctets, fcFxPortC3Discards=fcFxPortC3Discards, fcFeCapabilities=fcFeCapabilities, fcFxPortCapTable=fcFxPortCapTable, fcFxPortCapEntry=fcFxPortCapEntry, fcFxPortCapFcphVersionHigh=fcFxPortCapFcphVersionHigh, fcFxPortCapFcphVersionLow=fcFxPortCapFcphVersionLow, fcFxPortCapBbCreditMax=fcFxPortCapBbCreditMax, fcFxPortCapBbCreditMin=fcFxPortCapBbCreditMin, fcFxPortCapRxDataFieldSizeMax=fcFxPortCapRxDataFieldSizeMax, fcFxPortCapRxDataFieldSizeMin=fcFxPortCapRxDataFieldSizeMin, fcFxPortCapCos=fcFxPortCapCos, fcFxPortCapIntermix=fcFxPortCapIntermix, fcFxPortCapStackedConnMode=fcFxPortCapStackedConnMode, fcFxPortCapClass2SeqDeliv=fcFxPortCapClass2SeqDeliv, fcFxPortCapClass3SeqDeliv=fcFxPortCapClass3SeqDeliv, fcFxPortCapHoldTimeMax=fcFxPortCapHoldTimeMax, fcFxPortCapHoldTimeMin=fcFxPortCapHoldTimeMin, fcFeMIBConformance=fcFeMIBConformance, fcFeMIBCompliances=fcFeMIBCompliances, fcFeMIBGroups=fcFeMIBGroups) # Groups mibBuilder.exportSymbols("FIBRE-CHANNEL-FE-MIB", fcFeConfigGroup=fcFeConfigGroup, fcFeStatusGroup=fcFeStatusGroup, fcFeErrorGroup=fcFeErrorGroup, fcFeClass1AccountingGroup=fcFeClass1AccountingGroup, fcFeClass2AccountingGroup=fcFeClass2AccountingGroup, fcFeClass3AccountingGroup=fcFeClass3AccountingGroup, fcFeCapabilitiesGroup=fcFeCapabilitiesGroup) # Compliances mibBuilder.exportSymbols("FIBRE-CHANNEL-FE-MIB", fcFeMIBMinimumCompliance=fcFeMIBMinimumCompliance, fcFeMIBFullCompliance=fcFeMIBFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOT12-RPTR-MIB.py0000644000014400001440000020101111736645136021006 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOT12-RPTR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:53 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( snmpRptrGrpRptrAddrSearch, ) = mibBuilder.importSymbols("SNMP-REPEATER-MIB", "snmpRptrGrpRptrAddrSearch") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( MacAddress, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TimeStamp", "TruthValue") # Objects vgRptrMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 53)).setRevisions(("1997-05-19 22:56",)) if mibBuilder.loadTexts: vgRptrMIB.setOrganization("IETF 100VG-AnyLAN Working Group") if mibBuilder.loadTexts: vgRptrMIB.setContactInfo("WG E-mail: vgmib@hprnd.rose.hp.com\n\nChair: Jeff Johnson\nPostal: RedBack Networks\n 2570 North First Street, Suite 410\n San Jose, CA 95131\n Tel: +1 408 571 2699\n Fax: +1 408 571 2698\nE-mail: jeff@redbacknetworks.com\n\nEditor: John Flick\nPostal: Hewlett Packard Company\n 8000 Foothills Blvd. M/S 5556\n Roseville, CA 95747-5556\n Tel: +1 916 785 4018\n Fax: +1 916 785 3583\nE-mail: johnf@hprnd.rose.hp.com") if mibBuilder.loadTexts: vgRptrMIB.setDescription("This MIB module describes objects for managing\nIEEE 802.12 repeaters.") vgRptrObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1)) vgRptrBasic = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 1)) vgRptrBasicRptr = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 1, 1)) vgRptrInfoTable = MibTable((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1)) if mibBuilder.loadTexts: vgRptrInfoTable.setDescription("A table of information about each 802.12 repeater\nin the managed system.") vgRptrInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1)).setIndexNames((0, "DOT12-RPTR-MIB", "vgRptrInfoIndex")) if mibBuilder.loadTexts: vgRptrInfoEntry.setDescription("An entry in the table, containing information\nabout a single repeater.") vgRptrInfoIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vgRptrInfoIndex.setDescription("A unique identifier for the repeater for which\nthis entry contains information. The numbering\nscheme for repeaters is implementation specific.") vgRptrInfoMACAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrInfoMACAddress.setDescription("The MAC address used by the repeater when it\ninitiates training on the uplink port. Repeaters\nare allowed to train with an assigned MAC address\nor a null (all zeroes) MAC address.") vgRptrInfoCurrentFramingType = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrInfoCurrentFramingType.setDescription("The type of framing (802.3 or 802.5) currently\nin use by the repeater.") vgRptrInfoDesiredFramingType = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vgRptrInfoDesiredFramingType.setDescription("The type of framing which will be used by the\nrepeater after the next time it is reset.\n\nThe value of this object should be preserved\nacross repeater resets and power failures.") vgRptrInfoFramingCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ("frameTypeEither", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrInfoFramingCapability.setDescription("The type of framing this repeater is capable of\nsupporting.") vgRptrInfoTrainingVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrInfoTrainingVersion.setDescription("The highest version bits (vvv bits) supported by\nthe repeater during training.") vgRptrInfoOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("ok", 2), ("generalFailure", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrInfoOperStatus.setDescription("The vgRptrInfoOperStatus object indicates the\noperational state of the repeater.") vgRptrInfoReset = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("noReset", 1), ("reset", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vgRptrInfoReset.setDescription("Setting this object to reset(2) causes the\nrepeater to transition to its initial state as\nspecified in clause 12 [IEEE Std 802.12].\nSetting this object to noReset(1) has no effect.\nThe agent will always return the value noReset(1)\nwhen this object is read.\n\nAfter receiving a request to set this variable to\nreset(2), the agent is allowed to delay the reset\nfor a short period. For example, the implementor\nmay choose to delay the reset long enough to\nallow the SNMP response to be transmitted. In\nany event, the SNMP response must be transmitted.\n\nThis action does not reset the management\ncounters defined in this document nor does it\naffect the vgRptrPortAdminStatus parameters.\nIncluded in this action is the execution of a\ndisruptive Self-Test with the following\ncharacteristics:\n\n 1) The nature of the tests is not specified.\n 2) The test resets the repeater but without\n affecting configurable management\n information about the repeater.\n 3) Packets received during the test may or\n may not be transferred.\n 4) The test does not interfere with\n management functions.\n\nAfter performing this self-test, the agent will\nupdate the repeater health information (including\nvgRptrInfoOperStatus), and send a\nvgRptrResetEvent.") vgRptrInfoLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 1, 1, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrInfoLastChange.setDescription("The value of sysUpTime when any of the following\nconditions occurred:\n\n 1) agent cold- or warm-started;\n 2) this instance of repeater was created\n (such as when a device or module was\n added to the system);\n 3) a change in the value of\n vgRptrInfoOperStatus;\n 4) ports were added or removed as members of\n the repeater; or\n 5) any of the counters associated with this\n repeater had a discontinuity.") vgRptrBasicGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 1, 2)) vgRptrBasicGroupTable = MibTable((1, 3, 6, 1, 2, 1, 53, 1, 1, 2, 1)) if mibBuilder.loadTexts: vgRptrBasicGroupTable.setDescription("A table containing information about groups of\nports.") vgRptrBasicGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 53, 1, 1, 2, 1, 1)).setIndexNames((0, "DOT12-RPTR-MIB", "vgRptrGroupIndex")) if mibBuilder.loadTexts: vgRptrBasicGroupEntry.setDescription("An entry in the vgRptrBasicGroupTable, containing\ninformation about a single group of ports.") vgRptrGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2146483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vgRptrGroupIndex.setDescription("This object identifies the group within the\nsystem for which this entry contains information.\nThe numbering scheme for groups is implementation\nspecific.") vgRptrGroupObjectID = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 2, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrGroupObjectID.setDescription("The vendor's authoritative identification of the\ngroup. This value may be allocated within the\nSMI enterprises subtree (1.3.6.1.4.1) and\nprovides a straight-forward and unambiguous means\nfor determining what kind of group is being\nmanaged.\n\nFor example, this object could take the value\n1.3.6.1.4.1.4242.1.2.14 if vendor 'Flintstones,\nInc.' was assigned the subtree 1.3.6.1.4.1.4242,\nand had assigned the identifier\n1.3.6.1.4.1.4242.1.2.14 to its 'Wilma Flintstone\n6-Port Plug-in Module.'") vgRptrGroupOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(5,3,6,2,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("operational", 2), ("malfunctioning", 3), ("notPresent", 4), ("underTest", 5), ("resetInProgress", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrGroupOperStatus.setDescription("An object that indicates the operational status\nof the group.\n\nA status of notPresent(4) indicates that the\ngroup is temporarily or permanently physically\nand/or logically not a part of the system. It\nis an implementation-specific matter as to\nwhether the agent effectively removes notPresent\nentries from the table.\n\nA status of operational(2) indicates that the\ngroup is functioning, and a status of\nmalfunctioning(3) indicates that the group is\nmalfunctioning in some way.") vgRptrGroupPortCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2146483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrGroupPortCapacity.setDescription("The vgRptrGroupPortCapacity is the number of\nports that can be contained within the group.\nValid range is 1-2147483647. Within each group,\nthe ports are uniquely numbered in the range from\n1 to vgRptrGroupPortCapacity.\n\nSome ports may not be present in the system, in\nwhich case the actual number of ports present will\nbe less than the value of vgRptrGroupPortCapacity.\nThe number of ports present is never greater than\nthe value of vgRptrGroupPortCapacity.\n\nNote: In practice, this will generally be the\nnumber of ports on a module, card, or board, and\nthe port numbers will correspond to numbers marked\non the physical embodiment.") vgRptrGroupCablesBundled = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 2, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("someCablesBundled", 1), ("noCablesBundled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vgRptrGroupCablesBundled.setDescription("This object is used to indicate whether there are\nany four-pair UTP links connected to this group\nthat are contained in a cable bundle with multiple\nfour-pair groups (e.g. a 25-pair bundle). Bundled\ncable may only be used for repeater-to-end node\nlinks where the end node is not in promiscuous\nmode.\n\nWhen a broadcast or multicast packet is received\nfrom a port on this group that is not a\npromiscuous or cascaded port, the packet will be\nbuffered completely before being repeated if\nthis object is set to 'someCablesBundled(1)'.\nWhen this object is equal to 'noCablesBundled(2)',\nall packets received from ports on this group will\nbe repeated as the frame is being received.\n\nNote that the value 'someCablesBundled(1)' will\nwork in the vast majority of all installations,\nregardless of whether or not any cables are\nphysically in a bundle, since packets received\nfrom promiscuous and cascaded ports automatically\navoid the store and forward. The main situation\nin which 'noCablesBundled(2)' is beneficial is\nwhen there is a large amount of multicast traffic\nand the cables are not in a bundle.\n\nThe value of this object should be preserved\nacross repeater resets and power failures.") vgRptrBasicPort = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 1, 3)) vgRptrBasicPortTable = MibTable((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1)) if mibBuilder.loadTexts: vgRptrBasicPortTable.setDescription("A table containing configuration and status\ninformation about 802.12 repeater ports in the\nsystem. The number of entries is independent of\nthe number of repeaters in the managed system.") vgRptrBasicPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1)).setIndexNames((0, "DOT12-RPTR-MIB", "vgRptrGroupIndex"), (0, "DOT12-RPTR-MIB", "vgRptrPortIndex")) if mibBuilder.loadTexts: vgRptrBasicPortEntry.setDescription("An entry in the vgRptrBasicPortTable, containing\ninformation about a single port.") vgRptrPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vgRptrPortIndex.setDescription("This object identifies the port within the group\nfor which this entry contains information. This\nidentifies the port independently from the\nrepeater it may be attached to. The numbering\nscheme for ports is implementation specific;\nhowever, this value can never be greater than\nvgRptrGroupPortCapacity for the associated group.") vgRptrPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,1,3,)).subtype(namedValues=NamedValues(("cascadeExternal", 1), ("cascadeInternal", 2), ("localExternal", 3), ("localInternal", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortType.setDescription("Describes the type of port. One of the\nfollowing:\n\n cascadeExternal - Port is an uplink with\n physical connections which\n are externally visible\n cascadeInternal - Port is an uplink with\n physical connections which\n are not externally visible,\n such as a connection to an\n internal backplane in a\n chassis\n localExternal - Port is a downlink or local\n port with externally\n visible connections\n localInternal - Port is a downlink or local\n port with connections which\n are not externally visible,\n such as a connection to an\n internal agent\n\n'internal' is used to identify ports which place\ntraffic into the repeater, but do not have any\nexternal connections. Note that both DTE and\ncascaded repeater downlinks are considered\n'local' ports.") vgRptrPortAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vgRptrPortAdminStatus.setDescription("Port enable/disable function. Enabling a\ndisabled port will cause training to be\ninitiated by the training initiator (the slave\nmode device) on the link. Setting this object to\ndisabled(2) disables the port.\n\nA disabled port neither transmits nor receives.\nOnce disabled, a port must be explicitly enabled\nto restore operation. A port which is disabled\nwhen power is lost or when a reset is exerted\nshall remain disabled when normal operation\nresumes.\n\nThe value of this object should be preserved\nacross repeater resets and power failures.") vgRptrPortOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ("training", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortOperStatus.setDescription("Current status for the port as specified by the\nPORT_META_STATE in the port process module of\nclause 12 [IEEE Std 802.12].\n\nDuring initialization or any link warning\nconditions, vgRptrPortStatus will be\n'inactive(2)'.\n\nWhen Training_Up is received by the repeater on a\nlocal port (or when Training_Down is received on\na cascade port), vgRptrPortStatus will change to\n'training(3)' and vgRptrTrainingResult can be\nmonitored to see the detailed status regarding\ntraining.\n\nWhen 24 consecutive good FCS packets are exchanged\nand the configuration bits are OK,\nvgRptrPortStatus will change to 'active(1)'.\n\nA disabled port shall have a port status of\n'inactive(2)'.") vgRptrPortSupportedPromiscMode = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("singleModeOnly", 1), ("singleOrPromiscMode", 2), ("promiscModeOnly", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortSupportedPromiscMode.setDescription("This object describes whether the port hardware\nis capable of supporting promiscuous mode, single\naddress mode (i.e., repeater filters unicasts not\naddressed to the end station attached to this\nport), or both. A port for which vgRptrPortType\nis equal to 'cascadeInternal' or 'cascadeExternal'\nwill always have a value of 'promiscModeOnly' for\nthis object.") vgRptrPortSupportedCascadeMode = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("endNodesOnly", 1), ("endNodesOrRepeaters", 2), ("cascadePort", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortSupportedCascadeMode.setDescription("This object describes whether the port hardware\nis capable of supporting cascaded repeaters, end\nnodes, or both. A port for which vgRptrPortType\nis equal to 'cascadeInternal' or\n'cascadeExternal' will always have a value of\n'cascadePort' for this object.") vgRptrPortAllowedTrainType = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,1,)).subtype(namedValues=NamedValues(("allowEndNodesOnly", 1), ("allowPromiscuousEndNodes", 2), ("allowEndNodesOrRepeaters", 3), ("allowAnything", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vgRptrPortAllowedTrainType.setDescription("This security object is set by the network\nmanager to configure what type of device is\npermitted to connect to the port. One of the\nfollowing values:\n allowEndNodesOnly - only non-\n promiscuous end\n nodes permitted.\n allowPromiscuousEndNodes - promiscuous or\n non-promiscuous\n end nodes\n permitted\n allowEndNodesOrRepeaters - repeaters or non-\n promiscuous end\n nodes permitted\n allowAnything - repeaters,\n promiscuous or\n non-promiscuous\n end nodes\n permitted\n\nFor a port for which vgRptrPortType is equal to\n'cascadeInternal' or 'cascadeExternal', the\ncorresponding instance of this object may not be\nset to 'allowEndNodesOnly' or\n'allowPromiscuousEndNodes'.\n\nThe agent must reject a SET of this object if the\nvalue includes no capabilities that are\nsupported by this port's hardware, as defined by\nthe values of the corresponding instances of\nvgRptrPortSupportedPromiscMode and\nvgRptrPortSupportedCascadeMode.\n\nNote that vgRptrPortSupportPromiscMode and\nvgRptrPortSupportedCascadeMode represent what the\nport hardware is capable of supporting.\nvgRptrPortAllowedTrainType is used for setting an\nadministrative policy for a port. The actual set\nof training configurations that will be allowed\nto succeed on a port is the intersection of what\nthe hardware will support and what is\nadministratively allowed. The above requirement\non what values may be set to this object says that\nthe intersection of what is supported and what is\nallowed must be non-empty. In other words, it\nmust not result in a situation in which nothing\nwould be allowed to train on that port. However,\na value can be set to this object as long as the\ncombination of this object and what is supported\nby the hardware would still leave at least one\nconfiguration that could successfully train on the\nport.\nThe value of this object should be preserved\nacross repeater resets and power failures.") vgRptrPortLastTrainConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortLastTrainConfig.setDescription("This object is a 16 bit field. For local ports,\nthis object contains the requested configuration\nfield from the most recent error-free training\nrequest frame sent by the device connected to\nthe port. For cascade ports, this object contains\nthe responder's allowed configuration field from\nthe most recent error-free training response frame\nreceived in response to training initiated by this\nrepeater. The format of the current version of\nthis field is described in section 3.2. Please\nrefer to the most recent version of the IEEE\n802.12 standard for the most up-to-date definition\nof the format of this object.") vgRptrPortTrainingResult = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortTrainingResult.setDescription("This 18 bit field is used to indicate the result\nof training. It contains two bits which indicate\nif error-free training frames have been received,\nand it also contains the 16 bits of the allowed\nconfiguration field from the most recent\nerror-free training response frame on the port.\n\n First Octet: Second and Third Octets:\n 7 6 5 4 3 2 1 0\n +-+-+-+-+-+-+-+-+-----------------------------+\n |0|0|0|0|0|0|V|G| allowed configuration field |\n +-+-+-+-+-+-+-+-+-----------------------------+\n V: Valid: set when at least one error-free\n training frame has been received.\n Indicates the 16 training configuration\n bits in vgRptrPortLastTrainConfig and\n vgRptrPortTrainingResult contain valid\n information. This bit is cleared when\n vgRptrPortStatus transitions to the\n 'inactive' or 'training' state.\n G: LinkGood: indicates the link hardware is\n OK. Set if 24 consecutive error-free\n training packets have been exchanged.\n Cleared when a training packet with\n errors is received, or when\n vgRptrPortStatus transitions to the\n 'inactive' or 'training' state.\n\nThe format of the current version of the allowed\nconfiguration field is described in section 3.2.\nPlease refer to the most recent version of the\nIEEE 802.12 standard for the most up-to-date\ndefinition of the format of this field.\n\nIf the port is in training, a management station\ncan examine this object to see if any training\npackets have been passed successfully. If there\nhave been any good training packets, the Valid\nbit will be set and the management station can\nexamine the allowed configuration field to see if\nthere is a duplicate address, configuration, or\nsecurity problem.\n\nNote that on a repeater local port, this repeater\ngenerates the training response bits, while on\na cascade port, the device at the upper end of\nthe link originated the training response bits.") vgRptrPortPriorityEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 10), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vgRptrPortPriorityEnable.setDescription("A configuration flag used to determine whether\nthe repeater will service high priority requests\nreceived on the port as high priority or normal\npriority. When 'false', high priority requests\non this port will be serviced as normal priority.\n\nThe setting of this object has no effect on a\ncascade port. Also note that the setting of this\nobject has no effect on a port connected to a\ncascaded repeater. In both of these cases, this\nsetting is treated as always 'true'. The value\n'false' only has an effect when the port is a\nlocalInternal or localExternal port connected to\nan end node.\n\nThe value of this object should be preserved\nacross repeater resets and power failures.") vgRptrPortRptrInfoIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortRptrInfoIndex.setDescription("This object identifies the repeater that this\nport is currently mapped to. The repeater\nidentified by a particular value of this object\nis the same as that identified by the same value\nof vgRptrInfoIndex. A value of zero indicates\nthat this port is not currently mapped to any\nrepeater.") vgRptrMonitor = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 2)) vgRptrMonRepeater = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 2, 1)) vgRptrMonitorTable = MibTable((1, 3, 6, 1, 2, 1, 53, 1, 2, 1, 1)) if mibBuilder.loadTexts: vgRptrMonitorTable.setDescription("A table of performance and error statistics for\neach repeater in the system. The instance of the\nvgRptrInfoLastChange associated with a repeater\nis used to indicate possible discontinuities of\nthe counters in this table that are associated\nwith the same repeater.") vgRptrMonitorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 53, 1, 2, 1, 1, 1)).setIndexNames((0, "DOT12-RPTR-MIB", "vgRptrInfoIndex")) if mibBuilder.loadTexts: vgRptrMonitorEntry.setDescription("An entry in the table, containing statistics\nfor a single repeater.") vgRptrMonTotalReadableFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 1, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrMonTotalReadableFrames.setDescription("The total number of good frames of valid frame\nlength that have been received on all ports in\nthis repeater. If an implementation cannot\nobtain a count of frames as seen by the repeater\nitself, this counter may be implemented as the\nsummation of the values of the\nvgRptrPortReadableFrames counters for all of the\nports in this repeater.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrInfoLastChange changes.") vgRptrMonTotalReadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrMonTotalReadableOctets.setDescription("The total number of octets contained in good\nframes that have been received on all ports in\nthis repeater. If an implementation cannot\nobtain a count of octets as seen by the repeater\nitself, this counter may be implemented as the\nsummation of the values of the\nvgRptrPortReadableOctets counters for all of the\nports in this repeater.\n\nNote that this counter can roll over very\nquickly. A management station is advised to\nalso poll the vgRptrReadableOctetRollovers\nobject, or to use the 64-bit counter defined by\nvgRptrMonHCTotalReadableOctets instead of the\ntwo 32-bit counters.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrInfoLastChange changes.") vgRptrMonReadableOctetRollovers = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrMonReadableOctetRollovers.setDescription("The total number of times that the associated\ninstance of the vgRptrMonTotalReadableOctets\ncounter has rolled over.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrInfoLastChange changes.") vgRptrMonHCTotalReadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 1, 1, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrMonHCTotalReadableOctets.setDescription("The total number of octets contained in good\nframes that have been received on all ports in\nthis repeater. If an implementation cannot\nobtain a count of octets as seen by the repeater\nitself, this counter may be implemented as the\nsummation of the values of the\nvgRptrPortHCReadableOctets counters for all of the\nports in this repeater.\n\nThis counter is a 64 bit version of\nvgRptrMonTotalReadableOctets. It should be used\nby Network Management protocols which support 64\nbit counters (e.g. SNMPv2).\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrInfoLastChange changes.") vgRptrMonTotalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrMonTotalErrors.setDescription("The total number of errors which have occurred on\nall of the ports in this repeater. If an\nimplementation cannot obtain a count of these\nerrors as seen by the repeater itself, this\ncounter may be implemented as the summation of the\nvalues of the vgRptrPortIPMFrames,\nvgRptrPortOversizeFrames, and\nvgRptrPortDataErrorFrames counters for all of the\nports in this repeater.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrInfoLastChange changes.") vgRptrMonGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 2, 2)) vgRptrMonPort = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 2, 3)) vgRptrMonPortTable = MibTable((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1)) if mibBuilder.loadTexts: vgRptrMonPortTable.setDescription("A table of performance and error statistics for\nthe ports. The columnar object\nvgRptrPortLastChange is used to indicate possible\ndiscontinuities of counter type columnar objects\nin this table.") vgRptrMonPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1)).setIndexNames((0, "DOT12-RPTR-MIB", "vgRptrGroupIndex"), (0, "DOT12-RPTR-MIB", "vgRptrPortIndex")) if mibBuilder.loadTexts: vgRptrMonPortEntry.setDescription("An entry in the vgRptrMonPortTable, containing\nperformance and error statistics for a single\nport.") vgRptrPortReadableFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortReadableFrames.setDescription("This object is the number of good frames of\nvalid frame length that have been received on\nthis port. This counter is incremented by one\nfor each frame received on the port which is not\ncounted by any of the following error counters:\nvgRptrPortIPMFrames, vgRptrPortOversizeFrames,\nvgRptrPortNullAddressedFrames, or\nvgRptrPortDataErrorFrames.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortReadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortReadableOctets.setDescription("This object is a count of the number of octets\ncontained in good frames that have been received\non this port. This counter is incremented by\nOctetCount for each frame received on this port\nwhich has been determined to be a readable frame\n(i.e. each frame counted by\nvgRptrPortReadableFrames).\n\nNote that this counter can roll over very\nquickly. A management station is advised to\nalso poll the vgRptrPortReadOctetRollovers\nobject, or to use the 64-bit counter defined by\nvgRptrPortHCReadableOctets instead of the two\n32-bit counters.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortReadOctetRollovers = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortReadOctetRollovers.setDescription("This object is a count of the number of times\nthat the associated instance of the\nvgRptrPortReadableOctets counter has rolled over.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortHCReadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortHCReadableOctets.setDescription("This object is a count of the number of octets\ncontained in good frames that have been received\non this port. This counter is incremented by\nOctetCount for each frame received on this port\nwhich has been determined to be a readable frame\n(i.e. each frame counted by\nvgRptrPortReadableFrames).\n\nThis counter is a 64 bit version of\nvgRptrPortReadableOctets. It should be used by\nNetwork Management protocols which support 64 bit\ncounters (e.g. SNMPv2).\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortUnreadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortUnreadableOctets.setDescription("This object is a count of the number of octets\ncontained in invalid frames that have been\nreceived on this port. This counter is\nincremented by OctetCount for each frame received\non this port which is counted by\nvgRptrPortIPMFrames, vgRptrPortOversizeFrames,\nvgRptrPortNullAddressedFrames, or\nvgRptrPortDataErrorFrames. This counter can be\ncombined with vgRptrPortReadableOctets to\ncalculate network utilization.\n\nNote that this counter can roll over very\nquickly. A management station is advised to\nalso poll the vgRptrPortUnreadOctetRollovers\nobject, or to use the 64-bit counter defined by\nvgRptrPortHCUnreadableOctets instead of the two\n32-bit counters.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortUnreadOctetRollovers = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortUnreadOctetRollovers.setDescription("This object is a count of the number of times\nthat the associated instance of the\nvgRptrPortUnreadableOctets counter has rolled\nover.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortHCUnreadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortHCUnreadableOctets.setDescription("This object is a count of the number of octets\ncontained in invalid frames that have been\nreceived on this port. This counter is\nincremented by OctetCount for each frame received\non this port which is counted by\nvgRptrPortIPMFrames, vgRptrPortOversizeFrames,\nvgRptrPortNullAddressedFrames, or\nvgRptrPortDataErrorFrames. This counter can be\ncombined with vgRptrPortHCReadableOctets to\ncalculate network utilization.\n\nThis counter is a 64 bit version of\nvgRptrPortUnreadableOctets. It should be used\nby Network Management protocols which support 64\nbit counters (e.g. SNMPv2).\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortHighPriorityFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortHighPriorityFrames.setDescription("This object is a count of high priority frames\nthat have been received on this port. This\ncounter is incremented by one for each high\npriority frame received on this port. This\ncounter includes both good and bad high priority\nframes, as well as high priority training frames.\nThis counter does not include normal priority\nframes which were priority promoted.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortHighPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortHighPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in high priority frames that have been\nreceived on this port. This counter is\nincremented by OctetCount for each frame received\non this port which is counted by\nvgRptrPortHighPriorityFrames.\n\nNote that this counter can roll over very\nquickly. A management station is advised to\nalso poll the vgRptrPortHighPriOctetRollovers\nobject, or to use the 64-bit counter defined by\nvgRptrPortHCHighPriorityOctets instead of the two\n32-bit counters.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortHighPriOctetRollovers = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortHighPriOctetRollovers.setDescription("This object is a count of the number of times\nthat the associated instance of the\nvgRptrPortHighPriorityOctets counter has rolled\nover.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortHCHighPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortHCHighPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in high priority frames that have been\nreceived on this port. This counter is\nincremented by OctetCount for each frame received\non this port which is counted by\nvgRptrPortHighPriorityFrames.\n\nThis counter is a 64 bit version of\nvgRptrPortHighPriorityOctets. It should be used\nby Network Management protocols which support\n64 bit counters (e.g. SNMPv2).\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortNormPriorityFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortNormPriorityFrames.setDescription("This object is a count of normal priority frames\nthat have been received on this port. This\ncounter is incremented by one for each normal\npriority frame received on this port. This\ncounter includes both good and bad normal\npriority frames, as well as normal priority\ntraining frames and normal priority frames which\nwere priority promoted.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortNormPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortNormPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in normal priority frames that have\nbeen received on this port. This counter is\nincremented by OctetCount for each frame received\non this port which is counted by\nvgRptrPortNormPriorityFrames.\n\nNote that this counter can roll over very\nquickly. A management station is advised to\nalso poll the vgRptrPortNormPriOctetRollovers\nobject, or to use the 64-bit counter defined by\nvgRptrPortHCNormPriorityOctets instead of the two\n32-bit counters.\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortNormPriOctetRollovers = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortNormPriOctetRollovers.setDescription("This object is a count of the number of times\nthat the associated instance of the\nvgRptrPortNormPriorityOctets counter has rolled\nover.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMPv1). Note that\nretrieval of these two counters in the same PDU\nis NOT guaranteed to be atomic.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortHCNormPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortHCNormPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in normal priority frames that have\nbeen received on this port. This counter is\nincremented by OctetCount for each frame received\non this port which is counted by\nvgRptrPortNormPriorityFrames.\n\nThis counter is a 64 bit version of\nvgRptrPortNormPriorityOctets. It should be used\nby Network Management protocols which support\n64 bit counters (e.g. SNMPv2).\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortBroadcastFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortBroadcastFrames.setDescription("This object is a count of broadcast packets that\nhave been received on this port. This counter is\nincremented by one for each readable frame\nreceived on this port whose destination MAC\naddress is the broadcast address. Frames\ncounted by this counter are also counted by\nvgRptrPortReadableFrames.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortMulticastFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortMulticastFrames.setDescription("This object is a count of multicast packets that\nhave been received on this port. This counter is\nincremented by one for each readable frame\nreceived on this port whose destination MAC\naddress has the group address bit set, but is not\nthe broadcast address. Frames counted by this\ncounter are also counted by\nvgRptrPortReadableFrames, but not by\nvgRptrPortBroadcastFrames. Note that when the\nvalue of the instance vgRptrInfoCurrentFramingType\nfor the repeater that this port is associated\nwith is equal to 'frameType88025', this count\nincludes packets addressed to functional\naddresses.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortNullAddressedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortNullAddressedFrames.setDescription("This object is a count of null addressed packets\nthat have been received on this port. This\ncounter is incremented by one for each frame\nreceived on this port with a destination MAC\naddress consisting of all zero bits. Both void\nand training frames are included in this\ncounter.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortIPMFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortIPMFrames.setDescription("This object is a count of the number of frames\nthat have been received on this port with an\ninvalid packet marker and no PMI errors. A\nrepeater will write an invalid packet marker to\nthe end of a frame containing errors as it is\nforwarded through the repeater to the other\nports. This counter is incremented by one for\neach frame received on this port which has had an\ninvalid packet marker added to the end of the\nframe.\n\nThis counter indicates problems occurring in the\ndomain of other repeaters, as opposed to problems\nwith cables or devices directly attached to this\nrepeater.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortOversizeFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortOversizeFrames.setDescription("This object is a count of oversize frames\nreceived on this port. This counter is\nincremented by one for each frame received on\nthis port whose OctetCount is larger than the\nmaximum legal frame size.\n\nThe frame size which causes this counter to\nincrement is dependent on the current value of\nvgRptrInfoCurrentFramingType for the repeater that\nthe port is associated with. When\nvgRptrInfoCurrentFramingType is equal to\nframeType88023 this counter will increment for\nframes that are 1519 octets or larger. When\nvgRptrInfoCurrentFramingType is equal to\nframeType88025 this counter will increment for\nframes that are 4521 octets or larger.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortDataErrorFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortDataErrorFrames.setDescription("This object is a count of errored frames\nreceived on this port. This counter is\nincremented by one for each frame received on\nthis port with any of the following errors: bad\nFCS (with no IPM), PMI errors (excluding frames\nwith an IPM error as the only PMI error), or\nundersize (with no IPM). Does not include\npackets counted by vgRptrPortIPMFrames,\nvgRptrPortOversizeFrames, or\nvgRptrPortNullAddressedFrames.\n\nThis counter indicates problems with cables or\ndevices directly connected to this repeater, while\nvgRptrPortIPMFrames indicates problems occurring\nin the domain of other repeaters.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortPriorityPromotions = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortPriorityPromotions.setDescription("This counter is incremented by one each time the\npriority promotion timer has expired on this port\nand a normal priority frame is priority\npromoted.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortTransitionToTrainings = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortTransitionToTrainings.setDescription("This counter is incremented by one each time the\nvgRptrPortStatus object for this port transitions\ninto the 'training' state.\n\nThis counter may experience a discontinuity when\nthe value of the corresponding instance of\nvgRptrPortLastChange changes.") vgRptrPortLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 2, 3, 1, 1, 24), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortLastChange.setDescription("The value of sysUpTime when the last of the\nfollowing occurred:\n 1) the agent cold- or warm-started;\n 2) the row for the port was created\n (such as when a device or module was\n added to the system); or\n 3) any condition that would cause one of\n the counters for the row to experience\n a discontinuity.") vgRptrAddrTrack = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 3)) vgRptrAddrTrackRptr = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 3, 1)) vgRptrAddrTrackGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 3, 2)) vgRptrAddrTrackPort = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 1, 3, 3)) vgRptrAddrTrackTable = MibTable((1, 3, 6, 1, 2, 1, 53, 1, 3, 3, 1)) if mibBuilder.loadTexts: vgRptrAddrTrackTable.setDescription("Table of address mapping information about the\nports.") vgRptrAddrTrackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 53, 1, 3, 3, 1, 1)).setIndexNames((0, "DOT12-RPTR-MIB", "vgRptrGroupIndex"), (0, "DOT12-RPTR-MIB", "vgRptrPortIndex")) if mibBuilder.loadTexts: vgRptrAddrTrackEntry.setDescription("An entry in the table, containing address mapping\ninformation about a single port.") vgRptrAddrLastTrainedAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 3, 3, 1, 1, 1), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(6,6),))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrAddrLastTrainedAddress.setDescription("This object is the MAC address of the last\nstation which succeeded in training on this port.\nA cascaded repeater may train using the null\naddress. If no stations have succeeded in\ntraining on this port since the agent began\nmonitoring the port activity, the agent shall\nreturn a string of length zero.") vgRptrAddrTrainedAddrChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 3, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrAddrTrainedAddrChanges.setDescription("This counter is incremented by one for each time\nthat the vgRptrAddrLastTrainedAddress object for\nthis port changes.") vgRptrRptrDetectedDupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 3, 3, 1, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrRptrDetectedDupAddress.setDescription("This object is used to indicate that the\nrepeater detected an error-free training frame on\nthis port with a non-null source MAC address which\nmatches the value of vgRptrAddrLastTrainedAddress\nof another active port in the same repeater. This\nis reset to 'false' when an error-free training\nframe is received with a non-null source MAC\naddress which does not match\nvgRptrAddrLastTrainedAddress of another port which\nis active in the same repeater.\n\nFor the cascade port, this object will be 'true'\nif the 'D' bit in the most recently received\nerror-free training response frame was set,\nindicating the device at the other end of the link\nbelieves that this repeater's cascade port is\nusing a duplicate address. This may be because\nthe device at the other end of the link detected a\nduplicate address itself, or, if the other device\nis also a repeater, it could be because\nvgRptrMgrDetectedDupAddress was set to 'true' on\nthe port that this repeater's cascade port is\nconnected to.") vgRptrMgrDetectedDupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 3, 3, 1, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vgRptrMgrDetectedDupAddress.setDescription("This object can be set by a management station\nwhen it detects that there is a duplicate MAC\naddress. This object is OR'd with\nvgRptrRptrDetectedDupAddress to form the value of\nthe 'D' bit in training response frames on this\nport.\n\nThe purpose of this object is to provide a means\nfor network management software to inform an end\nstation that it is using a duplicate station\naddress. Setting this object does not affect the\ncurrent state of the link; the end station will\nnot be informed of the duplicate address until it\nretrains for some reason. Note that regardless\nof its station address, the end station will not\nbe able to train successfully until the network\nmanagement software has set this object back to\n'false'. Although this object exists on\ncascade ports, it does not perform any function\nsince this repeater is the initiator of training\non a cascade port.") vgRptrTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 2)) vgRptrTrapPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 2, 0)) vgRptrConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 3)) vgRptrCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 3, 1)) vgRptrGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 53, 3, 2)) # Augmentions # Notifications vgRptrHealth = NotificationType((1, 3, 6, 1, 2, 1, 53, 2, 0, 1)).setObjects(*(("DOT12-RPTR-MIB", "vgRptrInfoOperStatus"), ) ) if mibBuilder.loadTexts: vgRptrHealth.setDescription("A vgRptrHealth trap conveys information related\nto the operational state of a repeater. This trap\nis sent when the value of an instance of\nvgRptrInfoOperStatus changes. The vgRptrHealth\ntrap is not sent as a result of powering up a\nrepeater.\n\nThe vgRptrHealth trap must contain the instance of\nthe vgRptrInfoOperStatus object associated with\nthe affected repeater.\n\nThe agent must throttle the generation of\nconsecutive vgRptrHealth traps so that there is at\nleast a five-second gap between traps of this\ntype. When traps are throttled, they are dropped,\nnot queued for sending at a future time. (Note\nthat 'generating' a trap means sending to all\nconfigured recipients.)") vgRptrResetEvent = NotificationType((1, 3, 6, 1, 2, 1, 53, 2, 0, 2)).setObjects(*(("DOT12-RPTR-MIB", "vgRptrInfoOperStatus"), ) ) if mibBuilder.loadTexts: vgRptrResetEvent.setDescription("A vgRptrResetEvent trap conveys information\nrelated to the operational state of a repeater.\nThis trap is sent on completion of a repeater\nreset action. A repeater reset action is defined\nas a transition to its initial state as specified\nin clause 12 [IEEE Std 802.12] when triggered by\na management command.\n\nThe vgRptrResetEvent trap is not sent when the\nagent restarts and sends an SNMP coldStart or\nwarmStart trap.\n\nThe vgRptrResetEvent trap must contain the\ninstance of the vgRptrInfoOperStatus object\nassociated with the affected repeater.\n\nThe agent must throttle the generation of\nconsecutive vgRptrResetEvent traps so that there\nis at least a five-second gap between traps of\nthis type. When traps are throttled, they are\ndropped, not queued for sending at a future time.\n(Note that 'generating' a trap means sending to\nall configured recipients.)") # Groups vgRptrConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 53, 3, 2, 1)).setObjects(*(("DOT12-RPTR-MIB", "vgRptrPortAllowedTrainType"), ("DOT12-RPTR-MIB", "vgRptrGroupOperStatus"), ("DOT12-RPTR-MIB", "vgRptrInfoOperStatus"), ("DOT12-RPTR-MIB", "vgRptrPortType"), ("DOT12-RPTR-MIB", "vgRptrGroupPortCapacity"), ("DOT12-RPTR-MIB", "vgRptrInfoDesiredFramingType"), ("DOT12-RPTR-MIB", "vgRptrInfoFramingCapability"), ("DOT12-RPTR-MIB", "vgRptrPortRptrInfoIndex"), ("DOT12-RPTR-MIB", "vgRptrInfoCurrentFramingType"), ("DOT12-RPTR-MIB", "vgRptrPortLastTrainConfig"), ("DOT12-RPTR-MIB", "vgRptrInfoLastChange"), ("DOT12-RPTR-MIB", "vgRptrInfoTrainingVersion"), ("DOT12-RPTR-MIB", "vgRptrPortTrainingResult"), ("DOT12-RPTR-MIB", "vgRptrGroupCablesBundled"), ("DOT12-RPTR-MIB", "vgRptrPortAdminStatus"), ("DOT12-RPTR-MIB", "vgRptrPortOperStatus"), ("DOT12-RPTR-MIB", "vgRptrInfoReset"), ("DOT12-RPTR-MIB", "vgRptrPortSupportedCascadeMode"), ("DOT12-RPTR-MIB", "vgRptrInfoMACAddress"), ("DOT12-RPTR-MIB", "vgRptrGroupObjectID"), ("DOT12-RPTR-MIB", "vgRptrPortSupportedPromiscMode"), ("DOT12-RPTR-MIB", "vgRptrPortPriorityEnable"), ) ) if mibBuilder.loadTexts: vgRptrConfigGroup.setDescription("A collection of objects for managing the status\nand configuration of IEEE 802.12 repeaters.") vgRptrStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 53, 3, 2, 2)).setObjects(*(("DOT12-RPTR-MIB", "vgRptrPortNormPriorityOctets"), ("DOT12-RPTR-MIB", "vgRptrPortHighPriorityOctets"), ("DOT12-RPTR-MIB", "vgRptrPortUnreadOctetRollovers"), ("DOT12-RPTR-MIB", "vgRptrPortTransitionToTrainings"), ("DOT12-RPTR-MIB", "vgRptrMonReadableOctetRollovers"), ("DOT12-RPTR-MIB", "vgRptrPortReadableOctets"), ("DOT12-RPTR-MIB", "vgRptrPortHighPriorityFrames"), ("DOT12-RPTR-MIB", "vgRptrPortOversizeFrames"), ("DOT12-RPTR-MIB", "vgRptrPortMulticastFrames"), ("DOT12-RPTR-MIB", "vgRptrPortBroadcastFrames"), ("DOT12-RPTR-MIB", "vgRptrPortNullAddressedFrames"), ("DOT12-RPTR-MIB", "vgRptrMonTotalReadableOctets"), ("DOT12-RPTR-MIB", "vgRptrPortReadableFrames"), ("DOT12-RPTR-MIB", "vgRptrPortNormPriOctetRollovers"), ("DOT12-RPTR-MIB", "vgRptrPortHighPriOctetRollovers"), ("DOT12-RPTR-MIB", "vgRptrPortLastChange"), ("DOT12-RPTR-MIB", "vgRptrMonTotalReadableFrames"), ("DOT12-RPTR-MIB", "vgRptrPortNormPriorityFrames"), ("DOT12-RPTR-MIB", "vgRptrPortReadOctetRollovers"), ("DOT12-RPTR-MIB", "vgRptrPortPriorityPromotions"), ("DOT12-RPTR-MIB", "vgRptrMonTotalErrors"), ("DOT12-RPTR-MIB", "vgRptrPortIPMFrames"), ("DOT12-RPTR-MIB", "vgRptrPortDataErrorFrames"), ("DOT12-RPTR-MIB", "vgRptrPortUnreadableOctets"), ) ) if mibBuilder.loadTexts: vgRptrStatsGroup.setDescription("A collection of objects for providing statistics\nfor IEEE 802.12 repeaters. Systems which support\nCounter64 should also implement\nvgRptrStats64Group.") vgRptrStats64Group = ObjectGroup((1, 3, 6, 1, 2, 1, 53, 3, 2, 3)).setObjects(*(("DOT12-RPTR-MIB", "vgRptrPortHCReadableOctets"), ("DOT12-RPTR-MIB", "vgRptrMonHCTotalReadableOctets"), ("DOT12-RPTR-MIB", "vgRptrPortHCNormPriorityOctets"), ("DOT12-RPTR-MIB", "vgRptrPortHCUnreadableOctets"), ("DOT12-RPTR-MIB", "vgRptrPortHCHighPriorityOctets"), ) ) if mibBuilder.loadTexts: vgRptrStats64Group.setDescription("A collection of objects for providing statistics\nfor IEEE 802.12 repeaters in a system that\nsupports Counter64.") vgRptrAddrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 53, 3, 2, 4)).setObjects(*(("DOT12-RPTR-MIB", "vgRptrRptrDetectedDupAddress"), ("DOT12-RPTR-MIB", "vgRptrAddrLastTrainedAddress"), ("DOT12-RPTR-MIB", "vgRptrMgrDetectedDupAddress"), ("DOT12-RPTR-MIB", "vgRptrAddrTrainedAddrChanges"), ) ) if mibBuilder.loadTexts: vgRptrAddrGroup.setDescription("A collection of objects for tracking addresses\non IEEE 802.12 repeaters.") vgRptrNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 53, 3, 2, 5)).setObjects(*(("DOT12-RPTR-MIB", "vgRptrResetEvent"), ("DOT12-RPTR-MIB", "vgRptrHealth"), ) ) if mibBuilder.loadTexts: vgRptrNotificationsGroup.setDescription("A collection of notifications used to indicate\n802.12 repeater general status changes.") # Compliances vgRptrCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 53, 3, 1, 1)).setObjects(*(("SNMP-REPEATER-MIB", "snmpRptrGrpRptrAddrSearch"), ("DOT12-RPTR-MIB", "vgRptrNotificationsGroup"), ("DOT12-RPTR-MIB", "vgRptrConfigGroup"), ("DOT12-RPTR-MIB", "vgRptrAddrGroup"), ("DOT12-RPTR-MIB", "vgRptrStatsGroup"), ("DOT12-RPTR-MIB", "vgRptrStats64Group"), ) ) if mibBuilder.loadTexts: vgRptrCompliance.setDescription("The compliance statement for managed 802.12\nrepeaters.") # Exports # Module identity mibBuilder.exportSymbols("DOT12-RPTR-MIB", PYSNMP_MODULE_ID=vgRptrMIB) # Objects mibBuilder.exportSymbols("DOT12-RPTR-MIB", vgRptrMIB=vgRptrMIB, vgRptrObjects=vgRptrObjects, vgRptrBasic=vgRptrBasic, vgRptrBasicRptr=vgRptrBasicRptr, vgRptrInfoTable=vgRptrInfoTable, vgRptrInfoEntry=vgRptrInfoEntry, vgRptrInfoIndex=vgRptrInfoIndex, vgRptrInfoMACAddress=vgRptrInfoMACAddress, vgRptrInfoCurrentFramingType=vgRptrInfoCurrentFramingType, vgRptrInfoDesiredFramingType=vgRptrInfoDesiredFramingType, vgRptrInfoFramingCapability=vgRptrInfoFramingCapability, vgRptrInfoTrainingVersion=vgRptrInfoTrainingVersion, vgRptrInfoOperStatus=vgRptrInfoOperStatus, vgRptrInfoReset=vgRptrInfoReset, vgRptrInfoLastChange=vgRptrInfoLastChange, vgRptrBasicGroup=vgRptrBasicGroup, vgRptrBasicGroupTable=vgRptrBasicGroupTable, vgRptrBasicGroupEntry=vgRptrBasicGroupEntry, vgRptrGroupIndex=vgRptrGroupIndex, vgRptrGroupObjectID=vgRptrGroupObjectID, vgRptrGroupOperStatus=vgRptrGroupOperStatus, vgRptrGroupPortCapacity=vgRptrGroupPortCapacity, vgRptrGroupCablesBundled=vgRptrGroupCablesBundled, vgRptrBasicPort=vgRptrBasicPort, vgRptrBasicPortTable=vgRptrBasicPortTable, vgRptrBasicPortEntry=vgRptrBasicPortEntry, vgRptrPortIndex=vgRptrPortIndex, vgRptrPortType=vgRptrPortType, vgRptrPortAdminStatus=vgRptrPortAdminStatus, vgRptrPortOperStatus=vgRptrPortOperStatus, vgRptrPortSupportedPromiscMode=vgRptrPortSupportedPromiscMode, vgRptrPortSupportedCascadeMode=vgRptrPortSupportedCascadeMode, vgRptrPortAllowedTrainType=vgRptrPortAllowedTrainType, vgRptrPortLastTrainConfig=vgRptrPortLastTrainConfig, vgRptrPortTrainingResult=vgRptrPortTrainingResult, vgRptrPortPriorityEnable=vgRptrPortPriorityEnable, vgRptrPortRptrInfoIndex=vgRptrPortRptrInfoIndex, vgRptrMonitor=vgRptrMonitor, vgRptrMonRepeater=vgRptrMonRepeater, vgRptrMonitorTable=vgRptrMonitorTable, vgRptrMonitorEntry=vgRptrMonitorEntry, vgRptrMonTotalReadableFrames=vgRptrMonTotalReadableFrames, vgRptrMonTotalReadableOctets=vgRptrMonTotalReadableOctets, vgRptrMonReadableOctetRollovers=vgRptrMonReadableOctetRollovers, vgRptrMonHCTotalReadableOctets=vgRptrMonHCTotalReadableOctets, vgRptrMonTotalErrors=vgRptrMonTotalErrors, vgRptrMonGroup=vgRptrMonGroup, vgRptrMonPort=vgRptrMonPort, vgRptrMonPortTable=vgRptrMonPortTable, vgRptrMonPortEntry=vgRptrMonPortEntry, vgRptrPortReadableFrames=vgRptrPortReadableFrames, vgRptrPortReadableOctets=vgRptrPortReadableOctets, vgRptrPortReadOctetRollovers=vgRptrPortReadOctetRollovers, vgRptrPortHCReadableOctets=vgRptrPortHCReadableOctets, vgRptrPortUnreadableOctets=vgRptrPortUnreadableOctets, vgRptrPortUnreadOctetRollovers=vgRptrPortUnreadOctetRollovers, vgRptrPortHCUnreadableOctets=vgRptrPortHCUnreadableOctets, vgRptrPortHighPriorityFrames=vgRptrPortHighPriorityFrames, vgRptrPortHighPriorityOctets=vgRptrPortHighPriorityOctets, vgRptrPortHighPriOctetRollovers=vgRptrPortHighPriOctetRollovers, vgRptrPortHCHighPriorityOctets=vgRptrPortHCHighPriorityOctets, vgRptrPortNormPriorityFrames=vgRptrPortNormPriorityFrames, vgRptrPortNormPriorityOctets=vgRptrPortNormPriorityOctets, vgRptrPortNormPriOctetRollovers=vgRptrPortNormPriOctetRollovers, vgRptrPortHCNormPriorityOctets=vgRptrPortHCNormPriorityOctets, vgRptrPortBroadcastFrames=vgRptrPortBroadcastFrames, vgRptrPortMulticastFrames=vgRptrPortMulticastFrames, vgRptrPortNullAddressedFrames=vgRptrPortNullAddressedFrames, vgRptrPortIPMFrames=vgRptrPortIPMFrames, vgRptrPortOversizeFrames=vgRptrPortOversizeFrames, vgRptrPortDataErrorFrames=vgRptrPortDataErrorFrames, vgRptrPortPriorityPromotions=vgRptrPortPriorityPromotions, vgRptrPortTransitionToTrainings=vgRptrPortTransitionToTrainings, vgRptrPortLastChange=vgRptrPortLastChange, vgRptrAddrTrack=vgRptrAddrTrack, vgRptrAddrTrackRptr=vgRptrAddrTrackRptr, vgRptrAddrTrackGroup=vgRptrAddrTrackGroup, vgRptrAddrTrackPort=vgRptrAddrTrackPort, vgRptrAddrTrackTable=vgRptrAddrTrackTable, vgRptrAddrTrackEntry=vgRptrAddrTrackEntry, vgRptrAddrLastTrainedAddress=vgRptrAddrLastTrainedAddress, vgRptrAddrTrainedAddrChanges=vgRptrAddrTrainedAddrChanges, vgRptrRptrDetectedDupAddress=vgRptrRptrDetectedDupAddress, vgRptrMgrDetectedDupAddress=vgRptrMgrDetectedDupAddress, vgRptrTraps=vgRptrTraps, vgRptrTrapPrefix=vgRptrTrapPrefix, vgRptrConformance=vgRptrConformance, vgRptrCompliances=vgRptrCompliances, vgRptrGroups=vgRptrGroups) # Notifications mibBuilder.exportSymbols("DOT12-RPTR-MIB", vgRptrHealth=vgRptrHealth, vgRptrResetEvent=vgRptrResetEvent) # Groups mibBuilder.exportSymbols("DOT12-RPTR-MIB", vgRptrConfigGroup=vgRptrConfigGroup, vgRptrStatsGroup=vgRptrStatsGroup, vgRptrStats64Group=vgRptrStats64Group, vgRptrAddrGroup=vgRptrAddrGroup, vgRptrNotificationsGroup=vgRptrNotificationsGroup) # Compliances mibBuilder.exportSymbols("DOT12-RPTR-MIB", vgRptrCompliance=vgRptrCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/L2TP-MIB.py0000644000014400001440000023421711736645137020170 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python L2TP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:16 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, StorageType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TruthValue") # Types class L2tpMilliSeconds(TextualConvention, Integer32): displayHint = "d-3" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483646) # Objects l2tp = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 95)).setRevisions(("2002-08-23 00:00",)) if mibBuilder.loadTexts: l2tp.setOrganization("IETF L2TP Working Group") if mibBuilder.loadTexts: l2tp.setContactInfo("Evan Caves\nPostal: Occam Networks\n 77 Robin Hill Road\n Santa Barbara, CA, 93117\nTel: +1 805692 2900\nEmail: evan@occamnetworks.com\n\nPat R. Calhoun\n\n\n\nPostal: Black Storm Networks\n 110 Nortech Parkway\n San Jose, CA, 95143\nTel: +1 408 941-0500\nEmail: pcalhoun@bstormnetworks.com\n\nRoss Wheeler\nPostal: DoubleWide Software, Inc.\n 2953 Bunker Hill Lane\n Suite 101\n Santa Clara, CA 95054\nTel: +1 6509260599\nEmail: ross@doublewidesoft.com\n\nLayer Two Tunneling Protocol Extensions WG\nWorking Group Area: Internet\nWorking Group Name: l2tpext\nGeneral Discussion: l2tp@l2tp.net") if mibBuilder.loadTexts: l2tp.setDescription("The MIB module that describes managed objects of\ngeneral use by the Layer Two Transport Protocol.") l2tpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 0)) l2tpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 1)) l2tpScalar = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 1, 1)) l2tpConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 1)) l2tpAdminState = MibScalar((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpAdminState.setDescription("This object defines the administrative state of\nthe L2TP protocol. Setting this object to\n'disabled' causes all tunnels to be immediately\ndisconnected and no further tunnels to be either\ninitiated or accepted. The value of this object\nmust be maintained in non-volatile memory.") l2tpDrainTunnels = MibScalar((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpDrainTunnels.setDescription("Setting this object to 'true' will prevent any new\ntunnels and/or sessions to be either initiated or\naccepted but does NOT disconnect any active\ntunnels/sessions. Setting this object to true(1)\ncauses all domains and their respective tunnels\nto transition to the draining state. Note that\nwhen this occurs the 'xxxDraining' status objects\nof the domains and their tunnels should reflect\nthat they are 'draining'. Setting this object has\nno affect on the domains or their tunnels\n'xxxDrainTunnels' configuration objects. To cancel\na drain this object should be set to false(2).\nThe object l2tpDrainingTunnels reflects\nthe current L2TP draining state. The value of\nthis object must be maintained in non-volatile\nmemory.") l2tpStats = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 2)) l2tpProtocolVersions = MibScalar((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 2, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpProtocolVersions.setDescription("Vector of supported L2TP protocol version and\nrevision numbers. Supported versions are identified\nvia a two octet pairing where the first octet indicates\nthe version and the second octet contains the revision.") l2tpVendorName = MibScalar((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 2, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpVendorName.setDescription("This object identifies the Vendor name of the L2TP\nprotocol stack.") l2tpFirmwareRev = MibScalar((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 2, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpFirmwareRev.setDescription("This object defines the firmware revision for the\nL2TP protocol stack.") l2tpDrainingTunnels = MibScalar((1, 3, 6, 1, 2, 1, 10, 95, 1, 1, 2, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDrainingTunnels.setDescription("This object indicates if the local L2TP is draining\noff sessions from all tunnels.") l2tpDomainConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 1, 2)) if mibBuilder.loadTexts: l2tpDomainConfigTable.setDescription("The L2TP Domain configuration table. This table\ncontains objects that can be used to configure\nthe operational characteristics of a tunnel\ndomain. There is a 1-1 correspondence between\nconceptual rows of this table and conceptual\nrows of the l2tpDomainStatsTable.") l2tpDomainConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1)).setIndexNames((0, "L2TP-MIB", "l2tpDomainConfigId")) if mibBuilder.loadTexts: l2tpDomainConfigEntry.setDescription("An L2TP Domain configuration entry. An entry in this\ntable may correspond to a single endpoint or a group\nof tunnel endpoints.") l2tpDomainConfigId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 80))).setMaxAccess("noaccess") if mibBuilder.loadTexts: l2tpDomainConfigId.setDescription("The identifier, usually in the form of a Domain\nName (full or partial), describing a single tunnel\nendpoint or a domain of tunnel endpoints. This is\ntypically used as a 'handle' to identify the\ntunnel configuration requirements for both incoming\nand outgoing tunnel connection attempts. Both the\nLAC and LNS could use information provided in the\nHost Name AVP attribute however the tunnel initiator\ncould use other means not specified to identify\nthe domain's tunnel configuration requirements.\nFor example; three rows in this table have\nl2tpDomainConfigId values of 'lac1.isp.com',\n\n\n\n'isp.com' and 'com'. A tunnel endpoint then identifies\nitself as 'lac1.isp.com' which would match the\n'lac1.isp.com' entry in this table. A second tunnel\nendpoint then identifies itself as 'lac2.isp.com'.\nThis endpoint is then associated with the 'isp.com'\nentry of this table.") l2tpDomainConfigAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigAdminState.setDescription("This object defines the administrative state of this\ntunnel domain. Setting this object to disabled(2)\ncauses all tunnels to be immediately disconnected\nand no further tunnels to be either initiated or\naccepted. Note that all columnar objects corresponding\nto this conceptual row cannot be modified when\nthe administrative state is enabled EXCEPT those\nobjects which specifically state otherwise.") l2tpDomainConfigDrainTunnels = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 3), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigDrainTunnels.setDescription("Setting this object to 'true' will prevent any new\ntunnels and/or sessions from being either initiated\nor accepted but does NOT disconnect any active\ntunnels/sessions for this tunnel domain. Setting\nthis object to true(1) causes all tunnels within\nthis domain to transition to the draining state.\nNote that when this occurs the\nl2tpTunnelStatsDrainingTunnel status objects of\nall of this domain's tunnels should reflect that\nthey are 'draining'. Setting this object has no\neffect on this domain's associated tunnels\nl2tpTunnelConfigDrainTunnel configuration objects.\nTo cancel a drain this object should be set to\nfalse(2). Setting this object to false(2) when\nthe L2TP object l2tpDrainTunnels is true(1) has\nno affect, all domains and their tunnels will\n\n\n\ncontinue to drain.") l2tpDomainConfigAuth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("simple", 2), ("challenge", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigAuth.setDescription("This object describes how tunnel peers belonging\nto this domain are to be authenticated. The value\nsimple(2) indicates that peers are authenticated\nsimply by their host name as described in the Host\nName AVP. The value challenge(3) indicates that\nall peers are challenged to prove their identification.\nThis mechanism is described in the L2TP protocol.") l2tpDomainConfigSecret = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigSecret.setDescription("This object is used to configure the shared secret\nused during the tunnel authentication phase of\ntunnel establishment. This object MUST be accessible\nonly via requests using both authentication and\nprivacy. The agent MUST report an empty string in\nresponse to get, get-next and get-bulk requests.") l2tpDomainConfigTunnelSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("other", 2), ("ipSec", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigTunnelSecurity.setDescription("This object defines whether this tunnel domain\nrequires that all tunnels are to be secured. The\n\n\n\nvalue of ipsec(3) indicates that all tunnel packets,\ncontrol and session, have IP Security headers. The\ntype of IP Security headers (AH, ESP etc) and how\nthey are further described is outside the scope of\nthis document.") l2tpDomainConfigTunnelHelloInt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigTunnelHelloInt.setDescription("This object defines the interval in which Hello\n(or keep-alive) packets are to be sent by local\npeers belonging to this tunnel domain. The value\nzero effectively disables the sending of Hello\npackets. This object may be modified when the\nadministrative state is enabled for this conceptual\nrow.") l2tpDomainConfigTunnelIdleTO = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 86400)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigTunnelIdleTO.setDescription("This object defines the period of time that an\nestablished tunnel belonging to this tunnel\ndomain with no active sessions will wait before\ndisconnecting the tunnel. A value of zero indicates\nthat the tunnel will disconnect immediately after the\nlast session disconnects. A value of -1 leaves the\ntunnel up indefinitely. This object may be modified\nwhen the administrative state is enabled for this\nconceptual row.") l2tpDomainConfigControlRWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigControlRWS.setDescription("This object defines the control channel receive\n\n\n\nwindow size for tunnels belonging to this domain. It\nspecifies the maximum number of packets the tunnel\npeer belonging to this domain can send without waiting\nfor an acknowledgement from this peer.") l2tpDomainConfigControlMaxRetx = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigControlMaxRetx.setDescription("This object defines the maximum number of retransmissions\nwhich the L2TP stack will attempt for tunnels belonging\nto this domain before assuming that the peer is no\nlonger responding.") l2tpDomainConfigControlMaxRetxTO = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32)).clone(16)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigControlMaxRetxTO.setDescription("This object defines the maximum retransmission timeout\ninterval which the L2TP stack will wait for tunnels\nbelonging to this domain before retransmitting a\ncontrol packet that has not been acknowledged.") l2tpDomainConfigPayloadSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("onDemand", 1), ("never", 2), ("always", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigPayloadSeq.setDescription("This object determines whether or not session payload\npackets will be requested to be sent with sequence\nnumbers from tunnel peers belonging to this domain.\nThe value onDemand(1) allows the L2TP implementation\nto initiate payload sequencing when necessary based\non local information (e.g: during LCP/NCP negotiations\nor for CCP). The value never(2) indicates that L2TP\n\n\n\nwill never initiate sequencing but will do sequencing\nif asked. The value always(3) indicates that L2TP\nwill send the Sequencing Required AVP during session\nestablishment.") l2tpDomainConfigReassemblyTO = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 13), L2tpMilliSeconds().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigReassemblyTO.setDescription("This object defines the number of milliseconds that\nlocal peers of this tunnel domain will wait before\nprocessing payload packets that were received out of\nsequence (which are waiting for the packet(s) to put\nthem in sequence). A low value increases the chance\nof delayed packets to be discarded (which MAY cause\nthe PPP decompression engine to reset) while a high\nvalue may cause more queuing and possibly degrade\nthroughput if packets are truly lost. The default\nvalue for this object is zero which will result in\nall delayed packets being lost.") l2tpDomainConfigProxyPPPAuth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 14), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigProxyPPPAuth.setDescription("This object is used to configure the sending\nor acceptance of the PPP Proxy Authentication\nAVP's on the LAC or LNS.") l2tpDomainConfigStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 15), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigStorageType.setDescription("The storage type for this conceptual row.\n\nConceptual rows having the value 'permanent' must\nallow write-access at a minimum to:\n\n- l2tpDomainConfigAdminState and\n\n\n\n l2tpDomainConfigDrainTunnels at all times\n- l2tpDomainConfigSecret if l2tpDomainConfigAuth\n has been configured as 'challenge'\n\nIt is an implementation issue to decide if a SET for\na readOnly or permanent row is accepted at all. In some\ncontexts this may make sense, in others it may not. If\na SET for a readOnly or permanent row is not accepted\nat all, then a 'wrongValue' error must be returned.") l2tpDomainConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 2, 1, 16), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpDomainConfigStatus.setDescription("The status of this Domain entry. Columnar objects\ncorresponding to this conceptual row may be modified\naccording to their description clauses when this\nRowStatus object is 'active'.") l2tpDomainStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 1, 3)) if mibBuilder.loadTexts: l2tpDomainStatsTable.setDescription("The L2TP Domain Status and Statistics table. This\ntable contains objects that can be used to describe\nthe current status and statistics of a tunnel domain.\nThere is a 1-1 correspondence between conceptual\nrows of this table and conceptual rows of the\nl2tpDomainConfigTable.") l2tpDomainStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1)) if mibBuilder.loadTexts: l2tpDomainStatsEntry.setDescription("An L2TP Domain Stats entry. An entry in this table\nmay correspond to a single endpoint or a group of\ntunnel endpoints.") l2tpDomainStatsTotalTunnels = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsTotalTunnels.setDescription("This object returns the total number of tunnels\nthat have successfully reached the established\nstate for this tunnel domain.") l2tpDomainStatsFailedTunnels = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsFailedTunnels.setDescription("This object returns the number of tunnels that\nfailed (eg: connection timeout, unsupported\nor malformed AVP's etc) to reach the established\nstate for this tunnel domain.") l2tpDomainStatsFailedAuths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsFailedAuths.setDescription("This object returns the number of failed tunnel\nconnection attempts for this domain because the\ntunnel peer failed authentication.") l2tpDomainStatsActiveTunnels = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsActiveTunnels.setDescription("This object returns the number of tunnels that\nare currently active for this domain.") l2tpDomainStatsTotalSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsTotalSessions.setDescription("This object returns the total number of sessions\nthat have successfully reached the established\nstate for this tunnel domain.") l2tpDomainStatsFailedSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsFailedSessions.setDescription("This object returns the number of sessions that\nfailed (eg: connection timeout, unsupported\nor malformed AVP's etc) to reach the established\nstate for this tunnel domain.") l2tpDomainStatsActiveSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsActiveSessions.setDescription("This object returns the number of sessions that\nare currently active for this domain.") l2tpDomainStatsDrainingTunnels = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsDrainingTunnels.setDescription("This object indicates if this domain is draining\noff sessions from all tunnels.") l2tpDomainStatsControlRxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlRxOctets.setDescription("This object returns the number of control channel\noctets received for this tunnel domain.") l2tpDomainStatsControlRxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlRxPkts.setDescription("This object returns the number of control packets\nreceived for this tunnel domain.") l2tpDomainStatsControlTxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlTxOctets.setDescription("This object returns the number of control channel\noctets that were transmitted to tunnel endpoints\nfor this domain.") l2tpDomainStatsControlTxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlTxPkts.setDescription("This object returns the number of control packets\nthat were transmitted to tunnel endpoints for\nthis domain.") l2tpDomainStatsPayloadRxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadRxOctets.setDescription("This object returns the number of payload channel\noctets that were received for this tunnel domain.") l2tpDomainStatsPayloadRxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadRxPkts.setDescription("This object returns the number of payload packets\nthat were received for this tunnel domain.") l2tpDomainStatsPayloadRxDiscs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadRxDiscs.setDescription("This object returns the number of received payload\npackets that were discarded by this tunnel domain.") l2tpDomainStatsPayloadTxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadTxOctets.setDescription("This object returns the number of payload channel\noctets that were transmitted to tunnel peers\nwithin this tunnel domain.") l2tpDomainStatsPayloadTxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadTxPkts.setDescription("This object returns the number of payload packets\nthat were transmitted to tunnel peers within\nthis tunnel domain.") l2tpDomainStatsControlHCRxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlHCRxOctets.setDescription("This object is a 64-bit version of\nl2tpDomainStatsControlRxOctets.") l2tpDomainStatsControlHCRxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlHCRxPkts.setDescription("This object is a 64-bit version of\nl2tpDomainStatsControlRxPkts.") l2tpDomainStatsControlHCTxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlHCTxOctets.setDescription("This object is a 64-bit version of\nl2tpDomainStatsControlTxOctets.") l2tpDomainStatsControlHCTxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsControlHCTxPkts.setDescription("This object is a 64-bit version of\nl2tpDomainStatsControlTxPkts.") l2tpDomainStatsPayloadHCRxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadHCRxOctets.setDescription("This object is a 64-bit version of\nl2tpDomainStatsPayloadRxOctets.") l2tpDomainStatsPayloadHCRxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadHCRxPkts.setDescription("This object is a 64-bit version of\nl2tpDomainStatsPayloadRxPkts.") l2tpDomainStatsPayloadHCRxDiscs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadHCRxDiscs.setDescription("This object is a 64-bit version of\nl2tpDomainStatsPayloadRxDiscs.") l2tpDomainStatsPayloadHCTxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadHCTxOctets.setDescription("This object is a 64-bit version of\nl2tpDomainStatsPayloadTxOctets.") l2tpDomainStatsPayloadHCTxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 3, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpDomainStatsPayloadHCTxPkts.setDescription("This object is a 64-bit version of\nl2tpDomainStatsPayloadTxPkts.") l2tpTunnelConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 1, 4)) if mibBuilder.loadTexts: l2tpTunnelConfigTable.setDescription("The L2TP tunnel configuration table. This\ntable contains objects that can be used to\n(re)configure the operational characteristics\nof a single L2TP tunnel. There is a 1-1\ncorrespondence between conceptual rows of\nthis table and conceptual rows of the\nl2tpTunnelStatsTable. Entries in this table\nhave the same persistency characteristics as\nthat of the tunnelConfigTable.") l2tpTunnelConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1)).setIndexNames((0, "L2TP-MIB", "l2tpTunnelConfigIfIndex")) if mibBuilder.loadTexts: l2tpTunnelConfigEntry.setDescription("A L2TP tunnel interface configuration entry.\nEntries in this table come and go as a result\nof protocol interactions or on management\noperations. The latter occurs when a row is\ninstantiated in the tunnelConfigTable row\nand the encapsulation method is 'l2tp'.") l2tpTunnelConfigIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: l2tpTunnelConfigIfIndex.setDescription("This value for this object is equal to the value\nof ifIndex of the Interfaces MIB for tunnel\ninterfaces of type L2TP.") l2tpTunnelConfigDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 80))).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigDomainId.setDescription("The tunnel domain that this tunnel belongs\nto. A LNS tunnel endpoint will typically inherit\nthis value from the endpoint domain table. A\nLAC may be provided with this information during\ntunnel setup. When a zero length string is returned\nthis tunnel does not belong belong to any particular\ndomain.") l2tpTunnelConfigAuth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("simple", 2), ("challenge", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigAuth.setDescription("This object describes how L2TP tunnel peers are\nto be authenticated. The value 'simple' indicates\nthat peers are authenticated simply by their host\nname as described in the Host Name AVP. The value\n'challenge' indicates that all peers are challenged\nto prove their identification. This mechanism is\ndescribed in the L2TP protocol. This object cannot\nbe modified when the tunnel is in a connecting or\nconnected state.") l2tpTunnelConfigSecret = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigSecret.setDescription("This object is used to configure the shared secret\nused during the tunnel authentication phase of\n\n\n\ntunnel establishment. This object cannot be modified\nwhen the tunnel is in a connecting or connected\nstate. This object MUST be accessible only via\nrequests using both authentication and privacy.\nThe agent MUST report an empty string in response\nto get, get-next and get-bulk requests.") l2tpTunnelConfigSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("other", 2), ("ipsec", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigSecurity.setDescription("This object defines whether this tunnel is to be\nsecured. The value of 'ipSec' indicates that all\ntunnel packets, control and session, have IP\nSecurity headers. The type of IP Security headers\n(AH, ESP etc) and how they are further described\nis outside the scope of this document. This object\ncannot be modified when the tunnel is in a connecting\nor connected state.") l2tpTunnelConfigHelloInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigHelloInterval.setDescription("This object defines the interval in which Hello\n(or keep-alive) packets are to be sent to the\ntunnel peer. The value zero effectively disables\nthe sending of Hello packets. Modifications to this\nobject have immediate effect.") l2tpTunnelConfigIdleTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 86400)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigIdleTimeout.setDescription("This object defines the period of time that an\nestablished tunnel with no sessions will wait\nbefore disconnecting the tunnel. A value of\nzero indicates that the tunnel will disconnect\nimmediately after the last session disconnects.\nA value of -1 leaves the tunnel up indefinitely.\nModifications to this object have immediate\neffect.") l2tpTunnelConfigControlRWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigControlRWS.setDescription("This object defines the control channel receive\nwindow size. It specifies the maximum number of\npackets the tunnel peer can send without waiting\nfor an acknowledgement from this peer. This object\ncannot be modified when the tunnel is in a con-\nnecting or connected state.") l2tpTunnelConfigControlMaxRetx = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigControlMaxRetx.setDescription("This object defines the number of retransmissions\nwhich the tunnel will attempt before assuming that\nthe peer is no longer responding. A value of zero\nindicates that this peer will not attempt to\nretransmit an unacknowledged control packet.\nModifications to this object have immediate\neffect.") l2tpTunnelConfigControlMaxRetxTO = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32)).clone(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigControlMaxRetxTO.setDescription("This object defines the maximum retransmission timeout\ninterval which the tunnel will wait before retrans-\n\n\n\nmitting a control packet that has not been acknowledged.\nModifications to this object have immediate effect.") l2tpTunnelConfigPayloadSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("onDemand", 1), ("never", 2), ("always", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigPayloadSeq.setDescription("This object determines whether or not session payload\npackets will be requested to be sent with sequence\nnumbers from tunnel peers belonging to this domain.\nThe value onDemand(1) allows the L2TP implementation\nto initiate payload sequencing when necessary based\non local information (e.g: during LCP/NCP negotiations\nor for CCP). The value never(2) indicates that L2TP\nwill never initiate sequencing but will do sequencing\nif asked. The value always(3) indicates that L2TP\nwill send the Sequencing Required AVP during session\nestablishment. Modifications to this object have\nimmediate effect.") l2tpTunnelConfigReassemblyTO = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 12), L2tpMilliSeconds().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigReassemblyTO.setDescription("This object defines the number of milliseconds that\nthis tunnel will wait before processing payload packets\nthat were received out of sequence (which are waiting\nfor the packet(s) to put them in sequence). A low value\nincreases the chance of delayed packets to be discarded\n(which MAY cause the PPP decompression engine to\nreset) while a high value may cause more queuing and\npossibly degrade throughput if packets are truly lost.\nThe default value for this object is zero which will\nresult in all delayed packets being lost. Modifications\nto this object have immediate effect.") l2tpTunnelConfigTransport = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,5,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("none", 2), ("udpIp", 3), ("frameRelay", 4), ("atm", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigTransport.setDescription("This object defines the underlying transport media\nthat is in use for this tunnel entry. Different tunnel\ntransports may define MIB extensions to the L2TP tunnel\ntable to realize the transport layer. For example if the\nvalue of this object is 'udpIp' then the value of ifIndex\nfor this table may be used to determine state from the\nl2tpUdpStatsTable. This object cannot be modified when\nthe tunnel is in a connecting or connected state.") l2tpTunnelConfigDrainTunnel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 14), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigDrainTunnel.setDescription("Setting this object to 'true' will prevent any new\nsession from being either initiated or accepted but\ndoes NOT disconnect any active sessions for this\ntunnel. Note that when this occurs the\nl2tpTunnelStatsDrainingTunnel status object of\nthis tunnel should reflect that it is 'draining'.\nTo cancel a drain this object should be set to\nfalse(2). Setting this object to false(2) when\nthe L2TP objects l2tpDrainTunnels or\nl2tpDomainConfigDrainTunnels is true(1) has\nno affect, this tunnels will continue to drain.") l2tpTunnelConfigProxyPPPAuth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 4, 1, 15), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2tpTunnelConfigProxyPPPAuth.setDescription("This object is used to configure the sending\nor acceptance of the session PPP Proxy\nAuthentication AVP's on the LAC or LNS.") l2tpTunnelStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 1, 5)) if mibBuilder.loadTexts: l2tpTunnelStatsTable.setDescription("The L2TP tunnel status and statistics table. This\ntable contains objects that can be used to describe\nthe current status and statistics of a single L2TP\ntunnel. There is a 1-1 correspondence between\nconceptual rows of this table and conceptual rows of\nthe l2tpTunnelConfigTable.") l2tpTunnelStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1)) if mibBuilder.loadTexts: l2tpTunnelStatsEntry.setDescription("An L2TP tunnel interface stats entry.") l2tpTunnelStatsLocalTID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsLocalTID.setDescription("This object contains the local tunnel Identifier.") l2tpTunnelStatsRemoteTID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsRemoteTID.setDescription("This object contains the remote tunnel Identifier.") l2tpTunnelStatsState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("tunnelIdle", 1), ("tunnelConnecting", 2), ("tunnelEstablished", 3), ("tunnelDisconnecting", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsState.setDescription("This field contains the current state of the\ncontrol tunnel.") l2tpTunnelStatsInitiated = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("locally", 1), ("remotely", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsInitiated.setDescription("This object indicates whether the tunnel was\ninitiated locally or by the remote tunnel peer.") l2tpTunnelStatsRemoteHostName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsRemoteHostName.setDescription("This object contains the host name as discovered\n\n\n\nduring the tunnel establishment phase (via the Host\nName AVP) of the L2TP peer. If the tunnel is idle\nthis object should maintain its value from the last\ntime it was connected.") l2tpTunnelStatsRemoteVendorName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsRemoteVendorName.setDescription("This object identifies the vendor name of the peer's\nL2TP implementation. If the tunnel is idle this\nobject should maintain its value from the last time\nit was connected.") l2tpTunnelStatsRemoteFirmwareRev = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsRemoteFirmwareRev.setDescription("This object contains the tunnel peer's firmware\nrevision number. If the tunnel is idle this object\nshould maintain its value from the last time it\nwas connected.") l2tpTunnelStatsRemoteProtocolVer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsRemoteProtocolVer.setDescription("This object describes the protocol version and\nrevision of the tunnel peers implementation. The\nfirst octet contains the protocol version. The\nsecond octet contains the protocol revision.") l2tpTunnelStatsInitialRemoteRWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsInitialRemoteRWS.setDescription("This object contains the initial remote peer's\nreceive window size as indicated by the tunnel peer\n(in the RWS AVP) during the tunnel establishment\nphase. If the tunnel is idle this object should\n\n\n\nmaintain its value from the last time it was\nconnected.") l2tpTunnelStatsBearerCaps = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("none", 1), ("digital", 2), ("analog", 3), ("digitalAnalog", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsBearerCaps.setDescription("This object describes the Bearer Capabilities of\nthe tunnel peer. If the tunnel is idle this object\nshould maintain its value from the last time it was\nconnected.") l2tpTunnelStatsFramingCaps = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("none", 1), ("sync", 2), ("async", 3), ("syncAsync", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsFramingCaps.setDescription("This object describes the Framing Capabilities of\nthe tunnel peer. If the tunnel is idle this object\nshould maintain its value from the last time it was\nconnected.") l2tpTunnelStatsControlRxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsControlRxPkts.setDescription("This object contains the number of control packets\nreceived on the tunnel.") l2tpTunnelStatsControlRxZLB = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsControlRxZLB.setDescription("This object returns a count of the number of Zero\nLength Body control packet acknowledgement packets\nthat were received.") l2tpTunnelStatsControlOutOfSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsControlOutOfSeq.setDescription("This object returns a count of the number of\ncontrol packets that were not received in the\ncorrect order (as per the sequence number)\non this tunnel including out of window\npackets.") l2tpTunnelStatsControlOutOfWin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsControlOutOfWin.setDescription("This object contains the number of control\npackets that were received outside of the\noffered receive window. It is implementation\nspecific as to whether these packets are queued\nor discarded.") l2tpTunnelStatsControlTxPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsControlTxPkts.setDescription("This object contains the number of control\npackets that were transmitted to the tunnel\npeer.") l2tpTunnelStatsControlTxZLB = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsControlTxZLB.setDescription("This object contains the number of Zero Length\nBody control packets transmitted to the tunnel\n\n\n\npeer.") l2tpTunnelStatsControlAckTO = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsControlAckTO.setDescription("This object returns a count of the number of\ncontrol packet timeouts due to the lack of a\ntimely acknowledgement from the tunnel peer.") l2tpTunnelStatsCurrentRemoteRWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 19), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsCurrentRemoteRWS.setDescription("This object contains the current remote receive\nwindow size as determined by the local flow\ncontrol mechanism employed.") l2tpTunnelStatsTxSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsTxSeq.setDescription("This object contains the next send sequence number\nfor the control channel.") l2tpTunnelStatsTxSeqAck = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsTxSeqAck.setDescription("This object contains the send sequence number that\nthe tunnel peer has acknowledged for the control\nchannel. The flow control state can be determined\nby subtracting the l2tpTunnelStatsTxSeq from\nl2tpTunnelStatsTxSeqAck and comparing this value\nto l2tpTunnelStatsCurrentRemoteRWS (taking into\nconsideration sequence number wraps).") l2tpTunnelStatsRxSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsRxSeq.setDescription("This object contains the next receive sequence\nnumber expected to be received on this control\nchannel.") l2tpTunnelStatsRxSeqAck = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsRxSeqAck.setDescription("This object contains the last receive sequence\nnumber that was acknowledged back to the tunnel\npeer for the control channel.") l2tpTunnelStatsTotalSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsTotalSessions.setDescription("This object contains the total number of sessions\nthat this tunnel has successfully connected through\nto its tunnel peer since this tunnel was created.") l2tpTunnelStatsFailedSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsFailedSessions.setDescription("This object contains the total number of sessions\nthat were initiated but failed to reach the\nestablished phase.") l2tpTunnelStatsActiveSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 26), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsActiveSessions.setDescription("This object contains the total number of sessions\nin the established state for this tunnel.") l2tpTunnelStatsLastResultCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsLastResultCode.setDescription("This object contains the last value of the result\ncode as described in the Result Code AVP which\ncaused the tunnel to disconnect.") l2tpTunnelStatsLastErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsLastErrorCode.setDescription("This object contains the last value of the error\ncode as described in the Result Code AVP which\ncaused the tunnel to disconnect.") l2tpTunnelStatsLastErrorMessage = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 29), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsLastErrorMessage.setDescription("This object contains the last value of the optional\nmessage as described in the Result Code AVP which\ncaused the tunnel to disconnect.") l2tpTunnelStatsDrainingTunnel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 5, 1, 30), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelStatsDrainingTunnel.setDescription("This object indicates if this tunnel is draining\noff sessions. This object will return false(2) when\nthe tunnel is not draining sessions or after the\nlast session has disconnected when the tunnel is in\nthe draining state.") l2tpSessionStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 1, 7)) if mibBuilder.loadTexts: l2tpSessionStatsTable.setDescription("The L2TP session status and statistics table. This\ntable contains the objects that can be used to\ndescribe the current status and statistics of a\nsingle L2TP tunneled session.") l2tpSessionStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1)).setIndexNames((0, "L2TP-MIB", "l2tpSessionStatsTunnelIfIndex"), (0, "L2TP-MIB", "l2tpSessionStatsLocalSID")) if mibBuilder.loadTexts: l2tpSessionStatsEntry.setDescription("An L2TP session interface stats entry.") l2tpSessionStatsTunnelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: l2tpSessionStatsTunnelIfIndex.setDescription("This object identifies the session's associated\nL2TP tunnel ifIndex value.") l2tpSessionStatsIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsIfIndex.setDescription("This object identifies the ifIndex value of the\ninterface from which PPP packets are being tunneled.\nFor example this could be a DS0 ifIndex on a\nLAC or it would be the PPP ifIndex on the LNS.") l2tpSessionStatsLocalSID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: l2tpSessionStatsLocalSID.setDescription("This object contains the local assigned session\nidentifier for this session.") l2tpSessionStatsRemoteSID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsRemoteSID.setDescription("This object contains the remote assigned session\nidentifier for this session. When a session is\nstarting this value may be zero until the remote\ntunnel endpoint has responded.") l2tpSessionStatsUserName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsUserName.setDescription("This object identifies the peer session name on\nthis interface. This is typically the login name\nof the remote user. If the user name is unknown to\nthe local tunnel peer then this object will contain\na null string.") l2tpSessionStatsState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("sessionIdle", 1), ("sessionConnecting", 2), ("sessionEstablished", 3), ("sessionDisconnecting", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsState.setDescription("This object contains the current state of the\nsession.") l2tpSessionStatsCallType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,)).subtype(namedValues=NamedValues(("lacIncoming", 1), ("lnsIncoming", 2), ("lacOutgoing", 3), ("lnsOutgoing", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsCallType.setDescription("This object indicates the type of call and the\nrole this tunnel peer is providing for this\nsession. For example, lacIncoming(1) indicates\nthat this tunnel peer is acting as a LAC and\ngenerated a Incoming-Call-Request to the tunnel\npeer (the LNS). Note that tunnel peers can be\nboth LAC and LNS simultaneously.") l2tpSessionStatsCallSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsCallSerialNumber.setDescription("This object contains the serial number that has\nbeen assigned to this session.") l2tpSessionStatsTxConnectSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsTxConnectSpeed.setDescription("This object returns the last known transmit\nbaud rate for this session.") l2tpSessionStatsRxConnectSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsRxConnectSpeed.setDescription("This object returns the last known receive\nbaud rate for this session established.") l2tpSessionStatsCallBearerType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("digital", 2), ("analog", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsCallBearerType.setDescription("This object describes the bearer type of this\nsession.") l2tpSessionStatsFramingType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("none", 1), ("sync", 2), ("async", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsFramingType.setDescription("This object describes the framing type of this\nsession.") l2tpSessionStatsPhysChanId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsPhysChanId.setDescription("This object contains the physical channel\nidentifier for the session.") l2tpSessionStatsDNIS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 14), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsDNIS.setDescription("This object identifies the Dialed Number\nInformation String that the LAC obtained from\nthe network for the session. If no DNIS was\nprovided then a null string will be returned.") l2tpSessionStatsCLID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 15), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsCLID.setDescription("This object identifies the Calling Line ID\nthat the LAC obtained from the network for\nthe session. If no CLID was provided then a\nnull string will be returned.") l2tpSessionStatsSubAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 16), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsSubAddress.setDescription("This object identifies the Sub Address that\nthe LAC obtained from the network for the\nsession. If no Sub Address was provided then\na null string will be returned.") l2tpSessionStatsPrivateGroupID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 17), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsPrivateGroupID.setDescription("This object identifies the Private Group\nIdentifier used for this tunneled session.\nIf no Private Group Identifier was provided\nthen a null string will be returned.") l2tpSessionStatsProxyLcp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsProxyLcp.setDescription("Indicates whether the LAC performed proxy LCP\nfor this session.") l2tpSessionStatsAuthMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(7,3,1,8,4,2,5,6,)).subtype(namedValues=NamedValues(("none", 1), ("text", 2), ("pppChap", 3), ("pppPap", 4), ("pppEap", 5), ("pppMsChapV1", 6), ("pppMsChapV2", 7), ("other", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsAuthMethod.setDescription("This object contains the proxy authentication\nmethod employed by the LAC for the session. If\nl2tpSessionProxyLcp is false(2) this object\nshould not be interpreted.") l2tpSessionStatsSequencingState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("none", 1), ("remote", 2), ("local", 3), ("both", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsSequencingState.setDescription("This object defines which tunnel peers have\nrequested payload sequencing. The value of\nboth(4) indicates that both peers have requested\npayload sequencing.") l2tpSessionStatsOutSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsOutSequence.setDescription("This object returns the total number of packets\nreceived for this session which were received out\nof sequence.") l2tpSessionStatsReassemblyTO = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsReassemblyTO.setDescription("This object returns the number of reassembly\ntimeouts that have occurred for this session.") l2tpSessionStatsTxSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsTxSeq.setDescription("This object contains the next send sequence number\nfor for this session.") l2tpSessionStatsRxSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 7, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionStatsRxSeq.setDescription("This object contains the next receive sequence\nnumber expected to be received on this session.") l2tpTunnelMapTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 1, 8)) if mibBuilder.loadTexts: l2tpTunnelMapTable.setDescription("The L2TP Tunnel index mapping table. This table\nis intended to assist management applications\nto quickly determine what the ifIndex value is\nfor a given local tunnel identifier.") l2tpTunnelMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 1, 8, 1)).setIndexNames((0, "L2TP-MIB", "l2tpTunnelMapLocalTID")) if mibBuilder.loadTexts: l2tpTunnelMapEntry.setDescription("An L2TP tunnel index map entry.") l2tpTunnelMapLocalTID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: l2tpTunnelMapLocalTID.setDescription("This object contains the local tunnel Identifier.") l2tpTunnelMapIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 8, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpTunnelMapIfIndex.setDescription("This value for this object is equal to the value\nof ifIndex of the Interfaces MIB for tunnel\ninterfaces of type L2TP.") l2tpSessionMapTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 1, 9)) if mibBuilder.loadTexts: l2tpSessionMapTable.setDescription("The L2TP Session index mapping table. This table\nis intended to assist management applications\nto map interfaces to a tunnel and session\nidentifier.") l2tpSessionMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 1, 9, 1)).setIndexNames((0, "L2TP-MIB", "l2tpSessionMapIfIndex")) if mibBuilder.loadTexts: l2tpSessionMapEntry.setDescription("An L2TP Session index map entry.") l2tpSessionMapIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 9, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: l2tpSessionMapIfIndex.setDescription("This object identifies the ifIndex value of the\ninterface which is receiving or sending its packets\nover an L2TP tunnel. For example this could be a DS0\nifIndex on a LAC or a PPP ifIndex on the LNS.") l2tpSessionMapTunnelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 9, 1, 2), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpSessionMapTunnelIfIndex.setDescription("This object identifies the sessions associated\nL2TP tunnel ifIndex value. When this object is\nset it provides a binding between a particular\ninterface identified by l2tpSessionMapIfIndex\nto a particular tunnel.") l2tpSessionMapLocalSID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 9, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpSessionMapLocalSID.setDescription("This object contains the local assigned session\nidentifier for this session.") l2tpSessionMapStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 1, 9, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: l2tpSessionMapStatus.setDescription("The status of this session map entry.") l2tpTransports = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 3)) l2tpTransportIpUdp = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 3, 1)) l2tpIpUdpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 3, 1, 1)) l2tpUdpStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 95, 3, 1, 1, 2)) if mibBuilder.loadTexts: l2tpUdpStatsTable.setDescription("The L2TP UDP/IP transport stats table. This table\ncontains objects that can be used to describe the\ncurrent status and statistics of the UDP/IP L2TP\ntunnel transport.") l2tpUdpStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 95, 3, 1, 1, 2, 1)).setIndexNames((0, "L2TP-MIB", "l2tpUdpStatsIfIndex")) if mibBuilder.loadTexts: l2tpUdpStatsEntry.setDescription("An L2TP UDP/IP transport stats entry.") l2tpUdpStatsIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 3, 1, 1, 2, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: l2tpUdpStatsIfIndex.setDescription("This value for this object is equal to the\nvalue of ifIndex of the Interfaces MIB for\ntunnel interfaces of type L2TP and which have\na L2TP transport of UDP/IP.") l2tpUdpStatsPeerPort = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 3, 1, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpUdpStatsPeerPort.setDescription("This object reflects the peer's UDP port number\nused for this tunnel. When not known a value of\nzero should be returned.") l2tpUdpStatsLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 95, 3, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2tpUdpStatsLocalPort.setDescription("This object reflects the local UDP port number\nthat this tunnel is bound to.") l2tpIpUdpTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 3, 1, 2)) l2tpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 4)) l2tpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 4, 1)) l2tpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 95, 4, 2)) # Augmentions l2tpDomainConfigEntry.registerAugmentions(("L2TP-MIB", "l2tpDomainStatsEntry")) l2tpDomainStatsEntry.setIndexNames(*l2tpDomainConfigEntry.getIndexNames()) l2tpTunnelConfigEntry.registerAugmentions(("L2TP-MIB", "l2tpTunnelStatsEntry")) l2tpTunnelStatsEntry.setIndexNames(*l2tpTunnelConfigEntry.getIndexNames()) # Notifications l2tpTunnelAuthFailure = NotificationType((1, 3, 6, 1, 2, 1, 10, 95, 0, 1)).setObjects(*(("L2TP-MIB", "l2tpTunnelStatsInitiated"), ("L2TP-MIB", "l2tpTunnelStatsRemoteHostName"), ) ) if mibBuilder.loadTexts: l2tpTunnelAuthFailure.setDescription("A l2tpTunnelAuthFailure trap signifies that an\nattempt to establish a tunnel to a remote peer\nhas failed authentication.") # Groups l2tpConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 1)).setObjects(*(("L2TP-MIB", "l2tpTunnelConfigDrainTunnel"), ("L2TP-MIB", "l2tpTunnelConfigHelloInterval"), ("L2TP-MIB", "l2tpTunnelConfigControlMaxRetxTO"), ("L2TP-MIB", "l2tpTunnelConfigPayloadSeq"), ("L2TP-MIB", "l2tpTunnelConfigControlMaxRetx"), ("L2TP-MIB", "l2tpTunnelConfigDomainId"), ("L2TP-MIB", "l2tpTunnelConfigProxyPPPAuth"), ("L2TP-MIB", "l2tpDrainTunnels"), ("L2TP-MIB", "l2tpTunnelConfigTransport"), ("L2TP-MIB", "l2tpAdminState"), ("L2TP-MIB", "l2tpTunnelConfigIdleTimeout"), ("L2TP-MIB", "l2tpTunnelConfigReassemblyTO"), ("L2TP-MIB", "l2tpTunnelConfigControlRWS"), ) ) if mibBuilder.loadTexts: l2tpConfigGroup.setDescription("A collection of objects providing configuration\ninformation of the L2TP protocol, tunnels and\nsessions.") l2tpStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 2)).setObjects(*(("L2TP-MIB", "l2tpTunnelStatsLastResultCode"), ("L2TP-MIB", "l2tpTunnelStatsActiveSessions"), ("L2TP-MIB", "l2tpTunnelStatsRxSeqAck"), ("L2TP-MIB", "l2tpSessionStatsTxConnectSpeed"), ("L2TP-MIB", "l2tpTunnelStatsCurrentRemoteRWS"), ("L2TP-MIB", "l2tpSessionStatsProxyLcp"), ("L2TP-MIB", "l2tpTunnelStatsControlRxPkts"), ("L2TP-MIB", "l2tpTunnelStatsRxSeq"), ("L2TP-MIB", "l2tpTunnelStatsTxSeq"), ("L2TP-MIB", "l2tpTunnelStatsLocalTID"), ("L2TP-MIB", "l2tpSessionStatsState"), ("L2TP-MIB", "l2tpSessionStatsCallSerialNumber"), ("L2TP-MIB", "l2tpSessionStatsRxConnectSpeed"), ("L2TP-MIB", "l2tpDrainingTunnels"), ("L2TP-MIB", "l2tpFirmwareRev"), ("L2TP-MIB", "l2tpSessionStatsTxSeq"), ("L2TP-MIB", "l2tpSessionStatsFramingType"), ("L2TP-MIB", "l2tpTunnelStatsControlAckTO"), ("L2TP-MIB", "l2tpTunnelStatsBearerCaps"), ("L2TP-MIB", "l2tpTunnelStatsTxSeqAck"), ("L2TP-MIB", "l2tpTunnelStatsControlTxPkts"), ("L2TP-MIB", "l2tpSessionStatsAuthMethod"), ("L2TP-MIB", "l2tpTunnelStatsLastErrorCode"), ("L2TP-MIB", "l2tpSessionStatsOutSequence"), ("L2TP-MIB", "l2tpSessionStatsCallBearerType"), ("L2TP-MIB", "l2tpSessionStatsUserName"), ("L2TP-MIB", "l2tpSessionStatsRxSeq"), ("L2TP-MIB", "l2tpSessionStatsSequencingState"), ("L2TP-MIB", "l2tpTunnelStatsInitiated"), ("L2TP-MIB", "l2tpTunnelStatsDrainingTunnel"), ("L2TP-MIB", "l2tpSessionStatsPhysChanId"), ("L2TP-MIB", "l2tpTunnelStatsFailedSessions"), ("L2TP-MIB", "l2tpTunnelStatsRemoteFirmwareRev"), ("L2TP-MIB", "l2tpTunnelStatsRemoteProtocolVer"), ("L2TP-MIB", "l2tpTunnelStatsRemoteHostName"), ("L2TP-MIB", "l2tpTunnelStatsState"), ("L2TP-MIB", "l2tpSessionStatsRemoteSID"), ("L2TP-MIB", "l2tpSessionStatsCLID"), ("L2TP-MIB", "l2tpProtocolVersions"), ("L2TP-MIB", "l2tpSessionStatsCallType"), ("L2TP-MIB", "l2tpSessionStatsIfIndex"), ("L2TP-MIB", "l2tpSessionStatsReassemblyTO"), ("L2TP-MIB", "l2tpTunnelStatsInitialRemoteRWS"), ("L2TP-MIB", "l2tpTunnelStatsControlRxZLB"), ("L2TP-MIB", "l2tpTunnelStatsFramingCaps"), ("L2TP-MIB", "l2tpSessionStatsPrivateGroupID"), ("L2TP-MIB", "l2tpTunnelStatsRemoteTID"), ("L2TP-MIB", "l2tpTunnelStatsLastErrorMessage"), ("L2TP-MIB", "l2tpTunnelStatsRemoteVendorName"), ("L2TP-MIB", "l2tpTunnelStatsControlTxZLB"), ("L2TP-MIB", "l2tpTunnelStatsControlOutOfWin"), ("L2TP-MIB", "l2tpVendorName"), ("L2TP-MIB", "l2tpTunnelStatsControlOutOfSeq"), ("L2TP-MIB", "l2tpSessionStatsDNIS"), ("L2TP-MIB", "l2tpTunnelStatsTotalSessions"), ("L2TP-MIB", "l2tpSessionStatsSubAddress"), ) ) if mibBuilder.loadTexts: l2tpStatsGroup.setDescription("A collection of objects providing status and\nstatistics of the L2TP protocol, tunnels and\nsessions.") l2tpIpUdpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 3)).setObjects(*(("L2TP-MIB", "l2tpUdpStatsPeerPort"), ("L2TP-MIB", "l2tpUdpStatsLocalPort"), ) ) if mibBuilder.loadTexts: l2tpIpUdpGroup.setDescription("A collection of objects providing status and\nstatistics of the L2TP UDP/IP transport layer.") l2tpDomainGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 4)).setObjects(*(("L2TP-MIB", "l2tpDomainStatsDrainingTunnels"), ("L2TP-MIB", "l2tpDomainConfigProxyPPPAuth"), ("L2TP-MIB", "l2tpDomainStatsActiveSessions"), ("L2TP-MIB", "l2tpDomainStatsPayloadRxDiscs"), ("L2TP-MIB", "l2tpDomainStatsActiveTunnels"), ("L2TP-MIB", "l2tpDomainStatsTotalSessions"), ("L2TP-MIB", "l2tpDomainConfigTunnelIdleTO"), ("L2TP-MIB", "l2tpDomainStatsControlRxPkts"), ("L2TP-MIB", "l2tpDomainConfigControlRWS"), ("L2TP-MIB", "l2tpDomainStatsPayloadTxPkts"), ("L2TP-MIB", "l2tpDomainStatsControlTxOctets"), ("L2TP-MIB", "l2tpDomainConfigAdminState"), ("L2TP-MIB", "l2tpDomainStatsPayloadRxOctets"), ("L2TP-MIB", "l2tpDomainConfigPayloadSeq"), ("L2TP-MIB", "l2tpDomainConfigTunnelHelloInt"), ("L2TP-MIB", "l2tpDomainConfigStorageType"), ("L2TP-MIB", "l2tpDomainConfigReassemblyTO"), ("L2TP-MIB", "l2tpDomainStatsPayloadTxOctets"), ("L2TP-MIB", "l2tpDomainStatsControlTxPkts"), ("L2TP-MIB", "l2tpDomainStatsControlRxOctets"), ("L2TP-MIB", "l2tpDomainConfigControlMaxRetxTO"), ("L2TP-MIB", "l2tpDomainConfigDrainTunnels"), ("L2TP-MIB", "l2tpDomainConfigStatus"), ("L2TP-MIB", "l2tpDomainStatsFailedAuths"), ("L2TP-MIB", "l2tpDomainStatsPayloadRxPkts"), ("L2TP-MIB", "l2tpDomainConfigControlMaxRetx"), ("L2TP-MIB", "l2tpDomainStatsTotalTunnels"), ("L2TP-MIB", "l2tpDomainStatsFailedSessions"), ("L2TP-MIB", "l2tpDomainStatsFailedTunnels"), ) ) if mibBuilder.loadTexts: l2tpDomainGroup.setDescription("A collection of objects providing configuration,\nstatus and statistics of L2TP tunnel domains.") l2tpMappingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 5)).setObjects(*(("L2TP-MIB", "l2tpSessionMapStatus"), ("L2TP-MIB", "l2tpTunnelMapIfIndex"), ("L2TP-MIB", "l2tpSessionMapLocalSID"), ("L2TP-MIB", "l2tpSessionMapTunnelIfIndex"), ) ) if mibBuilder.loadTexts: l2tpMappingGroup.setDescription("A collection of objects providing index mapping.") l2tpSecurityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 6)).setObjects(*(("L2TP-MIB", "l2tpDomainConfigAuth"), ("L2TP-MIB", "l2tpTunnelConfigSecret"), ("L2TP-MIB", "l2tpTunnelConfigAuth"), ("L2TP-MIB", "l2tpDomainConfigSecret"), ("L2TP-MIB", "l2tpTunnelConfigSecurity"), ("L2TP-MIB", "l2tpDomainConfigTunnelSecurity"), ) ) if mibBuilder.loadTexts: l2tpSecurityGroup.setDescription("A collection of objects providing L2TP security\nconfiguration.") l2tpTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 7)).setObjects(*(("L2TP-MIB", "l2tpTunnelAuthFailure"), ) ) if mibBuilder.loadTexts: l2tpTrapGroup.setDescription("A collection of L2TP trap events as specified\nin NOTIFICATION-TYPE constructs.") l2tpHCPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 95, 4, 1, 8)).setObjects(*(("L2TP-MIB", "l2tpDomainStatsControlHCTxOctets"), ("L2TP-MIB", "l2tpDomainStatsPayloadHCRxOctets"), ("L2TP-MIB", "l2tpDomainStatsControlHCRxOctets"), ("L2TP-MIB", "l2tpDomainStatsControlHCRxPkts"), ("L2TP-MIB", "l2tpDomainStatsPayloadHCTxPkts"), ("L2TP-MIB", "l2tpDomainStatsPayloadHCTxOctets"), ("L2TP-MIB", "l2tpDomainStatsPayloadHCRxDiscs"), ("L2TP-MIB", "l2tpDomainStatsControlHCTxPkts"), ("L2TP-MIB", "l2tpDomainStatsPayloadHCRxPkts"), ) ) if mibBuilder.loadTexts: l2tpHCPacketGroup.setDescription("A collection of objects providing High Capacity\n64-bit counter objects.") # Compliances l2tpMIBFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 95, 4, 2, 1)).setObjects(*(("L2TP-MIB", "l2tpDomainGroup"), ("L2TP-MIB", "l2tpStatsGroup"), ("L2TP-MIB", "l2tpIpUdpGroup"), ("L2TP-MIB", "l2tpSecurityGroup"), ("L2TP-MIB", "l2tpTrapGroup"), ("L2TP-MIB", "l2tpHCPacketGroup"), ("L2TP-MIB", "l2tpConfigGroup"), ("L2TP-MIB", "l2tpMappingGroup"), ) ) if mibBuilder.loadTexts: l2tpMIBFullCompliance.setDescription("When this MIB is implemented with support for\nread-create and read-write, then such an\n\n\n\nimplementation can claim full compliance. Such\nan implementation can then be both monitored\nand configured with this MIB.") l2tpMIBReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 95, 4, 2, 2)).setObjects(*(("L2TP-MIB", "l2tpDomainGroup"), ("L2TP-MIB", "l2tpStatsGroup"), ("L2TP-MIB", "l2tpIpUdpGroup"), ("L2TP-MIB", "l2tpSecurityGroup"), ("L2TP-MIB", "l2tpTrapGroup"), ("L2TP-MIB", "l2tpHCPacketGroup"), ("L2TP-MIB", "l2tpConfigGroup"), ("L2TP-MIB", "l2tpMappingGroup"), ) ) if mibBuilder.loadTexts: l2tpMIBReadOnlyCompliance.setDescription("When this MIB is implemented without support for\nread-create and read-write (i.e. in read-only mode),\nthen such an implementation can claim read-only\ncompliance. Such an implementation can then be\nmonitored but can not be configured with this MIB.") # Exports # Module identity mibBuilder.exportSymbols("L2TP-MIB", PYSNMP_MODULE_ID=l2tp) # Types mibBuilder.exportSymbols("L2TP-MIB", L2tpMilliSeconds=L2tpMilliSeconds) # Objects mibBuilder.exportSymbols("L2TP-MIB", l2tp=l2tp, l2tpNotifications=l2tpNotifications, l2tpObjects=l2tpObjects, l2tpScalar=l2tpScalar, l2tpConfig=l2tpConfig, l2tpAdminState=l2tpAdminState, l2tpDrainTunnels=l2tpDrainTunnels, l2tpStats=l2tpStats, l2tpProtocolVersions=l2tpProtocolVersions, l2tpVendorName=l2tpVendorName, l2tpFirmwareRev=l2tpFirmwareRev, l2tpDrainingTunnels=l2tpDrainingTunnels, l2tpDomainConfigTable=l2tpDomainConfigTable, l2tpDomainConfigEntry=l2tpDomainConfigEntry, l2tpDomainConfigId=l2tpDomainConfigId, l2tpDomainConfigAdminState=l2tpDomainConfigAdminState, l2tpDomainConfigDrainTunnels=l2tpDomainConfigDrainTunnels, l2tpDomainConfigAuth=l2tpDomainConfigAuth, l2tpDomainConfigSecret=l2tpDomainConfigSecret, l2tpDomainConfigTunnelSecurity=l2tpDomainConfigTunnelSecurity, l2tpDomainConfigTunnelHelloInt=l2tpDomainConfigTunnelHelloInt, l2tpDomainConfigTunnelIdleTO=l2tpDomainConfigTunnelIdleTO, l2tpDomainConfigControlRWS=l2tpDomainConfigControlRWS, l2tpDomainConfigControlMaxRetx=l2tpDomainConfigControlMaxRetx, l2tpDomainConfigControlMaxRetxTO=l2tpDomainConfigControlMaxRetxTO, l2tpDomainConfigPayloadSeq=l2tpDomainConfigPayloadSeq, l2tpDomainConfigReassemblyTO=l2tpDomainConfigReassemblyTO, l2tpDomainConfigProxyPPPAuth=l2tpDomainConfigProxyPPPAuth, l2tpDomainConfigStorageType=l2tpDomainConfigStorageType, l2tpDomainConfigStatus=l2tpDomainConfigStatus, l2tpDomainStatsTable=l2tpDomainStatsTable, l2tpDomainStatsEntry=l2tpDomainStatsEntry, l2tpDomainStatsTotalTunnels=l2tpDomainStatsTotalTunnels, l2tpDomainStatsFailedTunnels=l2tpDomainStatsFailedTunnels, l2tpDomainStatsFailedAuths=l2tpDomainStatsFailedAuths, l2tpDomainStatsActiveTunnels=l2tpDomainStatsActiveTunnels, l2tpDomainStatsTotalSessions=l2tpDomainStatsTotalSessions, l2tpDomainStatsFailedSessions=l2tpDomainStatsFailedSessions, l2tpDomainStatsActiveSessions=l2tpDomainStatsActiveSessions, l2tpDomainStatsDrainingTunnels=l2tpDomainStatsDrainingTunnels, l2tpDomainStatsControlRxOctets=l2tpDomainStatsControlRxOctets, l2tpDomainStatsControlRxPkts=l2tpDomainStatsControlRxPkts, l2tpDomainStatsControlTxOctets=l2tpDomainStatsControlTxOctets, l2tpDomainStatsControlTxPkts=l2tpDomainStatsControlTxPkts, l2tpDomainStatsPayloadRxOctets=l2tpDomainStatsPayloadRxOctets, l2tpDomainStatsPayloadRxPkts=l2tpDomainStatsPayloadRxPkts, l2tpDomainStatsPayloadRxDiscs=l2tpDomainStatsPayloadRxDiscs, l2tpDomainStatsPayloadTxOctets=l2tpDomainStatsPayloadTxOctets, l2tpDomainStatsPayloadTxPkts=l2tpDomainStatsPayloadTxPkts, l2tpDomainStatsControlHCRxOctets=l2tpDomainStatsControlHCRxOctets, l2tpDomainStatsControlHCRxPkts=l2tpDomainStatsControlHCRxPkts, l2tpDomainStatsControlHCTxOctets=l2tpDomainStatsControlHCTxOctets, l2tpDomainStatsControlHCTxPkts=l2tpDomainStatsControlHCTxPkts, l2tpDomainStatsPayloadHCRxOctets=l2tpDomainStatsPayloadHCRxOctets, l2tpDomainStatsPayloadHCRxPkts=l2tpDomainStatsPayloadHCRxPkts, l2tpDomainStatsPayloadHCRxDiscs=l2tpDomainStatsPayloadHCRxDiscs, l2tpDomainStatsPayloadHCTxOctets=l2tpDomainStatsPayloadHCTxOctets, l2tpDomainStatsPayloadHCTxPkts=l2tpDomainStatsPayloadHCTxPkts, l2tpTunnelConfigTable=l2tpTunnelConfigTable, l2tpTunnelConfigEntry=l2tpTunnelConfigEntry, l2tpTunnelConfigIfIndex=l2tpTunnelConfigIfIndex, l2tpTunnelConfigDomainId=l2tpTunnelConfigDomainId, l2tpTunnelConfigAuth=l2tpTunnelConfigAuth, l2tpTunnelConfigSecret=l2tpTunnelConfigSecret, l2tpTunnelConfigSecurity=l2tpTunnelConfigSecurity, l2tpTunnelConfigHelloInterval=l2tpTunnelConfigHelloInterval, l2tpTunnelConfigIdleTimeout=l2tpTunnelConfigIdleTimeout, l2tpTunnelConfigControlRWS=l2tpTunnelConfigControlRWS, l2tpTunnelConfigControlMaxRetx=l2tpTunnelConfigControlMaxRetx, l2tpTunnelConfigControlMaxRetxTO=l2tpTunnelConfigControlMaxRetxTO, l2tpTunnelConfigPayloadSeq=l2tpTunnelConfigPayloadSeq, l2tpTunnelConfigReassemblyTO=l2tpTunnelConfigReassemblyTO, l2tpTunnelConfigTransport=l2tpTunnelConfigTransport, l2tpTunnelConfigDrainTunnel=l2tpTunnelConfigDrainTunnel, l2tpTunnelConfigProxyPPPAuth=l2tpTunnelConfigProxyPPPAuth, l2tpTunnelStatsTable=l2tpTunnelStatsTable, l2tpTunnelStatsEntry=l2tpTunnelStatsEntry, l2tpTunnelStatsLocalTID=l2tpTunnelStatsLocalTID, l2tpTunnelStatsRemoteTID=l2tpTunnelStatsRemoteTID, l2tpTunnelStatsState=l2tpTunnelStatsState, l2tpTunnelStatsInitiated=l2tpTunnelStatsInitiated, l2tpTunnelStatsRemoteHostName=l2tpTunnelStatsRemoteHostName, l2tpTunnelStatsRemoteVendorName=l2tpTunnelStatsRemoteVendorName, l2tpTunnelStatsRemoteFirmwareRev=l2tpTunnelStatsRemoteFirmwareRev, l2tpTunnelStatsRemoteProtocolVer=l2tpTunnelStatsRemoteProtocolVer, l2tpTunnelStatsInitialRemoteRWS=l2tpTunnelStatsInitialRemoteRWS, l2tpTunnelStatsBearerCaps=l2tpTunnelStatsBearerCaps, l2tpTunnelStatsFramingCaps=l2tpTunnelStatsFramingCaps, l2tpTunnelStatsControlRxPkts=l2tpTunnelStatsControlRxPkts, l2tpTunnelStatsControlRxZLB=l2tpTunnelStatsControlRxZLB, l2tpTunnelStatsControlOutOfSeq=l2tpTunnelStatsControlOutOfSeq, l2tpTunnelStatsControlOutOfWin=l2tpTunnelStatsControlOutOfWin, l2tpTunnelStatsControlTxPkts=l2tpTunnelStatsControlTxPkts, l2tpTunnelStatsControlTxZLB=l2tpTunnelStatsControlTxZLB, l2tpTunnelStatsControlAckTO=l2tpTunnelStatsControlAckTO, l2tpTunnelStatsCurrentRemoteRWS=l2tpTunnelStatsCurrentRemoteRWS, l2tpTunnelStatsTxSeq=l2tpTunnelStatsTxSeq, l2tpTunnelStatsTxSeqAck=l2tpTunnelStatsTxSeqAck, l2tpTunnelStatsRxSeq=l2tpTunnelStatsRxSeq, l2tpTunnelStatsRxSeqAck=l2tpTunnelStatsRxSeqAck, l2tpTunnelStatsTotalSessions=l2tpTunnelStatsTotalSessions, l2tpTunnelStatsFailedSessions=l2tpTunnelStatsFailedSessions, l2tpTunnelStatsActiveSessions=l2tpTunnelStatsActiveSessions, l2tpTunnelStatsLastResultCode=l2tpTunnelStatsLastResultCode, l2tpTunnelStatsLastErrorCode=l2tpTunnelStatsLastErrorCode, l2tpTunnelStatsLastErrorMessage=l2tpTunnelStatsLastErrorMessage, l2tpTunnelStatsDrainingTunnel=l2tpTunnelStatsDrainingTunnel, l2tpSessionStatsTable=l2tpSessionStatsTable, l2tpSessionStatsEntry=l2tpSessionStatsEntry, l2tpSessionStatsTunnelIfIndex=l2tpSessionStatsTunnelIfIndex, l2tpSessionStatsIfIndex=l2tpSessionStatsIfIndex, l2tpSessionStatsLocalSID=l2tpSessionStatsLocalSID, l2tpSessionStatsRemoteSID=l2tpSessionStatsRemoteSID, l2tpSessionStatsUserName=l2tpSessionStatsUserName, l2tpSessionStatsState=l2tpSessionStatsState, l2tpSessionStatsCallType=l2tpSessionStatsCallType, l2tpSessionStatsCallSerialNumber=l2tpSessionStatsCallSerialNumber, l2tpSessionStatsTxConnectSpeed=l2tpSessionStatsTxConnectSpeed, l2tpSessionStatsRxConnectSpeed=l2tpSessionStatsRxConnectSpeed, l2tpSessionStatsCallBearerType=l2tpSessionStatsCallBearerType, l2tpSessionStatsFramingType=l2tpSessionStatsFramingType, l2tpSessionStatsPhysChanId=l2tpSessionStatsPhysChanId, l2tpSessionStatsDNIS=l2tpSessionStatsDNIS, l2tpSessionStatsCLID=l2tpSessionStatsCLID, l2tpSessionStatsSubAddress=l2tpSessionStatsSubAddress, l2tpSessionStatsPrivateGroupID=l2tpSessionStatsPrivateGroupID) mibBuilder.exportSymbols("L2TP-MIB", l2tpSessionStatsProxyLcp=l2tpSessionStatsProxyLcp, l2tpSessionStatsAuthMethod=l2tpSessionStatsAuthMethod, l2tpSessionStatsSequencingState=l2tpSessionStatsSequencingState, l2tpSessionStatsOutSequence=l2tpSessionStatsOutSequence, l2tpSessionStatsReassemblyTO=l2tpSessionStatsReassemblyTO, l2tpSessionStatsTxSeq=l2tpSessionStatsTxSeq, l2tpSessionStatsRxSeq=l2tpSessionStatsRxSeq, l2tpTunnelMapTable=l2tpTunnelMapTable, l2tpTunnelMapEntry=l2tpTunnelMapEntry, l2tpTunnelMapLocalTID=l2tpTunnelMapLocalTID, l2tpTunnelMapIfIndex=l2tpTunnelMapIfIndex, l2tpSessionMapTable=l2tpSessionMapTable, l2tpSessionMapEntry=l2tpSessionMapEntry, l2tpSessionMapIfIndex=l2tpSessionMapIfIndex, l2tpSessionMapTunnelIfIndex=l2tpSessionMapTunnelIfIndex, l2tpSessionMapLocalSID=l2tpSessionMapLocalSID, l2tpSessionMapStatus=l2tpSessionMapStatus, l2tpTransports=l2tpTransports, l2tpTransportIpUdp=l2tpTransportIpUdp, l2tpIpUdpObjects=l2tpIpUdpObjects, l2tpUdpStatsTable=l2tpUdpStatsTable, l2tpUdpStatsEntry=l2tpUdpStatsEntry, l2tpUdpStatsIfIndex=l2tpUdpStatsIfIndex, l2tpUdpStatsPeerPort=l2tpUdpStatsPeerPort, l2tpUdpStatsLocalPort=l2tpUdpStatsLocalPort, l2tpIpUdpTraps=l2tpIpUdpTraps, l2tpConformance=l2tpConformance, l2tpGroups=l2tpGroups, l2tpCompliances=l2tpCompliances) # Notifications mibBuilder.exportSymbols("L2TP-MIB", l2tpTunnelAuthFailure=l2tpTunnelAuthFailure) # Groups mibBuilder.exportSymbols("L2TP-MIB", l2tpConfigGroup=l2tpConfigGroup, l2tpStatsGroup=l2tpStatsGroup, l2tpIpUdpGroup=l2tpIpUdpGroup, l2tpDomainGroup=l2tpDomainGroup, l2tpMappingGroup=l2tpMappingGroup, l2tpSecurityGroup=l2tpSecurityGroup, l2tpTrapGroup=l2tpTrapGroup, l2tpHCPacketGroup=l2tpHCPacketGroup) # Compliances mibBuilder.exportSymbols("L2TP-MIB", l2tpMIBFullCompliance=l2tpMIBFullCompliance, l2tpMIBReadOnlyCompliance=l2tpMIBReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DS0BUNDLE-MIB.py0000644000014400001440000002216511736645136020723 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DS0BUNDLE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:54 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( DisplayString, RowStatus, TestAndIncr, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TestAndIncr") # Objects ds0Bundle = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 82)).setRevisions(("1998-07-16 16:30","1998-05-24 20:10",)) if mibBuilder.loadTexts: ds0Bundle.setOrganization("IETF Trunk MIB Working Group") if mibBuilder.loadTexts: ds0Bundle.setContactInfo(" David Fowler\n\nPostal: Newbridge Networks Corporation\n 600 March Road\n Kanata, Ontario, Canada K2K 2E6\n\n Tel: +1 613 591 3600\n Fax: +1 613 599 3619\n\nE-mail: davef@newbridge.com") if mibBuilder.loadTexts: ds0Bundle.setDescription("The MIB module to describe\nDS0 Bundle interfaces objects.") dsx0BondingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 82, 1)) if mibBuilder.loadTexts: dsx0BondingTable.setDescription("The DS0 Bonding table.") dsx0BondingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 82, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dsx0BondingEntry.setDescription("An entry in the DS0 Bonding table. There is a\nrow in this table for each DS0Bundle interface.") dsx0BondMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 82, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,6,3,4,2,)).subtype(namedValues=NamedValues(("none", 1), ("other", 2), ("mode0", 3), ("mode1", 4), ("mode2", 5), ("mode3", 6), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsx0BondMode.setDescription("This object indicates which BONDing mode is used,\nif any, for a ds0Bundle. Mode0 provides parameter\nand number exchange with no synchronization. Mode\n1 provides parameter and number exchange. Mode 1\nalso provides synchronization during\ninitialization but does not include inband\nmonitoring. Mode 2 provides all of the above plus\ninband monitoring. Mode 2 also steals 1/64th of\nthe bandwidth of each channel (thus not supporting\nn x 56/64 kbit/s data channels for most values of\nn). Mode 3 provides all of the above, but also\nprovides n x 56/64 kbit/s data channels. Most\ncommon implementations of Mode 3 add an extra\nchannel to support the inband monitoring overhead.\nModeNone should be used when the interface is not\nperforming bandwidth-on-demand.") dsx0BondStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 82, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("idle", 1), ("callSetup", 2), ("dataTransfer", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx0BondStatus.setDescription("This object indicates the current status of the\nbonding call using this ds0Bundle. idle(1) should\nbe used when the bonding mode is set to none(1).") dsx0BondRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 82, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsx0BondRowStatus.setDescription("This object is used to create new rows in this\ntable, modify existing rows, and to delete\nexisting rows.") dsx0BundleNextIndex = MibScalar((1, 3, 6, 1, 2, 1, 10, 82, 2), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx0BundleNextIndex.setDescription("This object is used to assist the manager in\nselecting a value for dsx0BundleIndex. Because\nthis object is of syntax TestAndIncr (see the\nSNMPv2-TC document, RFC 1903) it can also be used\nto avoid race conditions with multiple managers\ntrying to create rows in the table.\n\nIf the result of the SET for dsx0BundleNextIndex\nis not success, this means the value has been\nchanged from index (i.e. another manager used the\nvalue), so a new value is required.\n\nThe algorithm is:\ndone = false\nwhile done == false\n index = GET (dsx0BundleNextIndex.0)\n SET (dsx0BundleNextIndex.0=index)\n if (set failed)\n done = false\n else\n SET(dsx0BundleRowStatus.index=createAndGo)\n if (set failed)\n done = false\n else\n done = true\n other error handling") dsx0BundleTable = MibTable((1, 3, 6, 1, 2, 1, 10, 82, 3)) if mibBuilder.loadTexts: dsx0BundleTable.setDescription("There is an row in this table for each ds0Bundle\nin the system. This table can be used to\n(indirectly) create rows in the ifTable with\nifType = 'ds0Bundle(82)'.") dsx0BundleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 82, 3, 1)).setIndexNames((0, "DS0BUNDLE-MIB", "dsx0BundleIndex")) if mibBuilder.loadTexts: dsx0BundleEntry.setDescription("There is a row in entry in this table for each\nds0Bundle interface.") dsx0BundleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 82, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsx0BundleIndex.setDescription("A unique identifier for a ds0Bundle. This is not\nthe same value as ifIndex. This table is not\nindexed by ifIndex because the manager has to\nchoose the index in a createable row and the agent\nmust be allowed to select ifIndex values.") dsx0BundleIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 82, 3, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx0BundleIfIndex.setDescription("The ifIndex value the agent selected for the\n(new) ds0Bundle interface.") dsx0BundleCircuitIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 82, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsx0BundleCircuitIdentifier.setDescription("This variable contains the transmission vendor's\ncircuit identifier, for the purpose of\nfacilitating troubleshooting.") dsx0BundleRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 82, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsx0BundleRowStatus.setDescription("This object is used to create and delete rows in\nthis table.") ds0BundleConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 82, 4)) ds0BundleGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 82, 4, 1)) ds0BundleCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 82, 4, 2)) # Augmentions # Groups ds0BondingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 82, 4, 1, 1)).setObjects(*(("DS0BUNDLE-MIB", "dsx0BondMode"), ("DS0BUNDLE-MIB", "dsx0BondStatus"), ("DS0BUNDLE-MIB", "dsx0BondRowStatus"), ) ) if mibBuilder.loadTexts: ds0BondingGroup.setDescription("A collection of objects providing\nconfiguration information applicable\nto all DS0 interfaces.") ds0BundleConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 82, 4, 1, 2)).setObjects(*(("DS0BUNDLE-MIB", "dsx0BundleIfIndex"), ("DS0BUNDLE-MIB", "dsx0BundleRowStatus"), ("DS0BUNDLE-MIB", "dsx0BundleCircuitIdentifier"), ("DS0BUNDLE-MIB", "dsx0BundleNextIndex"), ) ) if mibBuilder.loadTexts: ds0BundleConfigGroup.setDescription("A collection of objects providing the ability to\ncreate a new ds0Bundle in the ifTable as well as\nconfiguration information about the ds0Bundle.") # Compliances ds0BundleCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 82, 4, 2, 1)).setObjects(*(("DS0BUNDLE-MIB", "ds0BundleConfigGroup"), ("DS0BUNDLE-MIB", "ds0BondingGroup"), ) ) if mibBuilder.loadTexts: ds0BundleCompliance.setDescription("The compliance statement for DS0Bundle\ninterfaces.") # Exports # Module identity mibBuilder.exportSymbols("DS0BUNDLE-MIB", PYSNMP_MODULE_ID=ds0Bundle) # Objects mibBuilder.exportSymbols("DS0BUNDLE-MIB", ds0Bundle=ds0Bundle, dsx0BondingTable=dsx0BondingTable, dsx0BondingEntry=dsx0BondingEntry, dsx0BondMode=dsx0BondMode, dsx0BondStatus=dsx0BondStatus, dsx0BondRowStatus=dsx0BondRowStatus, dsx0BundleNextIndex=dsx0BundleNextIndex, dsx0BundleTable=dsx0BundleTable, dsx0BundleEntry=dsx0BundleEntry, dsx0BundleIndex=dsx0BundleIndex, dsx0BundleIfIndex=dsx0BundleIfIndex, dsx0BundleCircuitIdentifier=dsx0BundleCircuitIdentifier, dsx0BundleRowStatus=dsx0BundleRowStatus, ds0BundleConformance=ds0BundleConformance, ds0BundleGroups=ds0BundleGroups, ds0BundleCompliances=ds0BundleCompliances) # Groups mibBuilder.exportSymbols("DS0BUNDLE-MIB", ds0BondingGroup=ds0BondingGroup, ds0BundleConfigGroup=ds0BundleConfigGroup) # Compliances mibBuilder.exportSymbols("DS0BUNDLE-MIB", ds0BundleCompliance=ds0BundleCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPV6-MIB.py0000644000014400001440000012600611736645136020166 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPV6-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:13 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Ipv6Address, Ipv6AddressIfIdentifier, Ipv6AddressPrefix, Ipv6IfIndex, Ipv6IfIndexOrZero, ) = mibBuilder.importSymbols("IPV6-TC", "Ipv6Address", "Ipv6AddressIfIdentifier", "Ipv6AddressPrefix", "Ipv6IfIndex", "Ipv6IfIndexOrZero") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DisplayString, PhysAddress, RowPointer, TimeStamp, TruthValue, VariablePointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "PhysAddress", "RowPointer", "TimeStamp", "TruthValue", "VariablePointer") # Objects ipv6MIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 55)).setRevisions(("1998-02-05 21:55",)) if mibBuilder.loadTexts: ipv6MIB.setOrganization("IETF IPv6 Working Group") if mibBuilder.loadTexts: ipv6MIB.setContactInfo(" Dimitry Haskin\n\nPostal: Bay Networks, Inc.\n 660 Techology Park Drive.\n Billerica, MA 01821\n US\n\n Tel: +1-978-916-8124\nE-mail: dhaskin@baynetworks.com\n\n Steve Onishi\n\nPostal: Bay Networks, Inc.\n 3 Federal Street\n Billerica, MA 01821\n US\n\n Tel: +1-978-916-3816\nE-mail: sonishi@baynetworks.com") if mibBuilder.loadTexts: ipv6MIB.setDescription("The MIB module for entities implementing the IPv6\nprotocol.") ipv6MIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 55, 1)) ipv6Forwarding = MibScalar((1, 3, 6, 1, 2, 1, 55, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("forwarding", 1), ("notForwarding", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6Forwarding.setDescription("The indication of whether this entity is acting\nas an IPv6 router in respect to the forwarding of\ndatagrams received by, but not addressed to, this\nentity. IPv6 routers forward datagrams. IPv6\nhosts do not (except those source-routed via the\nhost).\n\nNote that for some managed nodes, this object may\ntake on only a subset of the values possible.\nAccordingly, it is appropriate for an agent to\nreturn a `wrongValue' response if a management\nstation attempts to change this object to an\ninappropriate value.") ipv6DefaultHopLimit = MibScalar((1, 3, 6, 1, 2, 1, 55, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6DefaultHopLimit.setDescription("The default value inserted into the Hop Limit\nfield of the IPv6 header of datagrams originated\nat this entity, whenever a Hop Limit value is not\nsupplied by the transport layer protocol.") ipv6Interfaces = MibScalar((1, 3, 6, 1, 2, 1, 55, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6Interfaces.setDescription("The number of IPv6 interfaces (regardless of\ntheir current state) present on this system.") ipv6IfTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 55, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfTableLastChange.setDescription("The value of sysUpTime at the time of the last\ninsertion or removal of an entry in the\nipv6IfTable. If the number of entries has been\nunchanged since the last re-initialization of\nthe local network management subsystem, then this\nobject contains a zero value.") ipv6IfTable = MibTable((1, 3, 6, 1, 2, 1, 55, 1, 5)) if mibBuilder.loadTexts: ipv6IfTable.setDescription("The IPv6 Interfaces table contains information\non the entity's internetwork-layer interfaces.\nAn IPv6 interface constitutes a logical network\nlayer attachment to the layer immediately below\nIPv6 including internet layer 'tunnels', such as\ntunnels over IPv4 or IPv6 itself.") ipv6IfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 55, 1, 5, 1)).setIndexNames((0, "IPV6-MIB", "ipv6IfIndex")) if mibBuilder.loadTexts: ipv6IfEntry.setDescription("An interface entry containing objects\nabout a particular IPv6 interface.") ipv6IfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 1), Ipv6IfIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6IfIndex.setDescription("A unique non-zero value identifying\nthe particular IPv6 interface.") ipv6IfDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6IfDescr.setDescription("A textual string containing information about the\ninterface. This string may be set by the network\nmanagement system.") ipv6IfLowerLayer = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 3), VariablePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfLowerLayer.setDescription("This object identifies the protocol layer over\nwhich this network interface operates. If this\nnetwork interface operates over the data-link\nlayer, then the value of this object refers to an\ninstance of ifIndex [6]. If this network interface\noperates over an IPv4 interface, the value of this\nobject refers to an instance of ipAdEntAddr [3].\n\nIf this network interface operates over another\nIPv6 interface, the value of this object refers to\nan instance of ipv6IfIndex. If this network\ninterface is not currently operating over an active\nprotocol layer, then the value of this object\nshould be set to the OBJECT ID { 0 0 }.") ipv6IfEffectiveMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfEffectiveMtu.setDescription("The size of the largest IPv6 packet which can be\nsent/received on the interface, specified in\noctets.") ipv6IfReasmMaxSize = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfReasmMaxSize.setDescription("The size of the largest IPv6 datagram which this\nentity can re-assemble from incoming IPv6 fragmented\ndatagrams received on this interface.") ipv6IfIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 6), Ipv6AddressIfIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6IfIdentifier.setDescription("The Interface Identifier for this interface that\nis (at least) unique on the link this interface is\nattached to. The Interface Identifier is combined\nwith an address prefix to form an interface address.\n\nBy default, the Interface Identifier is autoconfigured\naccording to the rules of the link type this\ninterface is attached to.") ipv6IfIdentifierLength = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6IfIdentifierLength.setDescription("The length of the Interface Identifier in bits.") ipv6IfPhysicalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 8), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfPhysicalAddress.setDescription("The interface's physical address. For example, for\nan IPv6 interface attached to an 802.x link, this\nobject normally contains a MAC address. Note that\nin some cases this address may differ from the\naddress of the interface's protocol sub-layer. The\ninterface's media-specific MIB must define the bit\nand byte ordering and the format of the value of\nthis object. For interfaces which do not have such\nan address (e.g., a serial line), this object should\ncontain an octet string of zero length.") ipv6IfAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6IfAdminStatus.setDescription("The desired state of the interface. When a managed\nsystem initializes, all IPv6 interfaces start with\nipv6IfAdminStatus in the down(2) state. As a result\nof either explicit management action or per\nconfiguration information retained by the managed\nsystem, ipv6IfAdminStatus is then changed to\nthe up(1) state (or remains in the down(2) state).") ipv6IfOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,5,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("noIfIdentifier", 3), ("unknown", 4), ("notPresent", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfOperStatus.setDescription("The current operational state of the interface.\nThe noIfIdentifier(3) state indicates that no valid\nInterface Identifier is assigned to the interface.\nThis state usually indicates that the link-local\ninterface address failed Duplicate Address Detection.\nIf ipv6IfAdminStatus is down(2) then ipv6IfOperStatus\nshould be down(2). If ipv6IfAdminStatus is changed\nto up(1) then ipv6IfOperStatus should change to up(1)\nif the interface is ready to transmit and receive\nnetwork traffic; it should remain in the down(2) or\nnoIfIdentifier(3) state if and only if there is a\nfault that prevents it from going to the up(1) state;\nit should remain in the notPresent(5) state if\nthe interface has missing (typically, lower layer)\ncomponents.") ipv6IfLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 5, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfLastChange.setDescription("The value of sysUpTime at the time the interface\nentered its current operational state. If the\ncurrent state was entered prior to the last\nre-initialization of the local network management\nsubsystem, then this object contains a zero\nvalue.") ipv6IfStatsTable = MibTable((1, 3, 6, 1, 2, 1, 55, 1, 6)) if mibBuilder.loadTexts: ipv6IfStatsTable.setDescription("IPv6 interface traffic statistics.") ipv6IfStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 55, 1, 6, 1)) if mibBuilder.loadTexts: ipv6IfStatsEntry.setDescription("An interface statistics entry containing objects\nat a particular IPv6 interface.") ipv6IfStatsInReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInReceives.setDescription("The total number of input datagrams received by\nthe interface, including those received in error.") ipv6IfStatsInHdrErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInHdrErrors.setDescription("The number of input datagrams discarded due to\nerrors in their IPv6 headers, including version\nnumber mismatch, other format errors, hop count\nexceeded, errors discovered in processing their\nIPv6 options, etc.") ipv6IfStatsInTooBigErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInTooBigErrors.setDescription("The number of input datagrams that could not be\nforwarded because their size exceeded the link MTU\nof outgoing interface.") ipv6IfStatsInNoRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInNoRoutes.setDescription("The number of input datagrams discarded because no\nroute could be found to transmit them to their\ndestination.") ipv6IfStatsInAddrErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInAddrErrors.setDescription("The number of input datagrams discarded because\nthe IPv6 address in their IPv6 header's destination\nfield was not a valid address to be received at\nthis entity. This count includes invalid\naddresses (e.g., ::0) and unsupported addresses\n(e.g., addresses with unallocated prefixes). For\nentities which are not IPv6 routers and therefore\ndo not forward datagrams, this counter includes\ndatagrams discarded because the destination address\nwas not a local address.") ipv6IfStatsInUnknownProtos = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInUnknownProtos.setDescription("The number of locally-addressed datagrams\nreceived successfully but discarded because of an\nunknown or unsupported protocol. This counter is\nincremented at the interface to which these\ndatagrams were addressed which might not be\nnecessarily the input interface for some of\nthe datagrams.") ipv6IfStatsInTruncatedPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInTruncatedPkts.setDescription("The number of input datagrams discarded because\ndatagram frame didn't carry enough data.") ipv6IfStatsInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInDiscards.setDescription("The number of input IPv6 datagrams for which no\nproblems were encountered to prevent their\ncontinued processing, but which were discarded\n(e.g., for lack of buffer space). Note that this\ncounter does not include any datagrams discarded\nwhile awaiting re-assembly.") ipv6IfStatsInDelivers = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInDelivers.setDescription("The total number of datagrams successfully\ndelivered to IPv6 user-protocols (including ICMP).\nThis counter is incremented at the interface to\nwhich these datagrams were addressed which might\nnot be necessarily the input interface for some of\nthe datagrams.") ipv6IfStatsOutForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsOutForwDatagrams.setDescription("The number of output datagrams which this\nentity received and forwarded to their final\ndestinations. In entities which do not act\nas IPv6 routers, this counter will include\nonly those packets which were Source-Routed\nvia this entity, and the Source-Route\nprocessing was successful. Note that for\na successfully forwarded datagram the counter\nof the outgoing interface is incremented.") ipv6IfStatsOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsOutRequests.setDescription("The total number of IPv6 datagrams which local IPv6\nuser-protocols (including ICMP) supplied to IPv6 in\nrequests for transmission. Note that this counter\ndoes not include any datagrams counted in\nipv6IfStatsOutForwDatagrams.") ipv6IfStatsOutDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsOutDiscards.setDescription("The number of output IPv6 datagrams for which no\nproblem was encountered to prevent their\ntransmission to their destination, but which were\ndiscarded (e.g., for lack of buffer space). Note\nthat this counter would include datagrams counted\nin ipv6IfStatsOutForwDatagrams if any such packets\nmet this (discretionary) discard criterion.") ipv6IfStatsOutFragOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsOutFragOKs.setDescription("The number of IPv6 datagrams that have been\nsuccessfully fragmented at this output interface.") ipv6IfStatsOutFragFails = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsOutFragFails.setDescription("The number of IPv6 datagrams that have been\ndiscarded because they needed to be fragmented\nat this output interface but could not be.") ipv6IfStatsOutFragCreates = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsOutFragCreates.setDescription("The number of output datagram fragments that have\nbeen generated as a result of fragmentation at\nthis output interface.") ipv6IfStatsReasmReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsReasmReqds.setDescription("The number of IPv6 fragments received which needed\nto be reassembled at this interface. Note that this\ncounter is incremented at the interface to which\nthese fragments were addressed which might not\nbe necessarily the input interface for some of\nthe fragments.") ipv6IfStatsReasmOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsReasmOKs.setDescription("The number of IPv6 datagrams successfully\nreassembled. Note that this counter is incremented\nat the interface to which these datagrams were\naddressed which might not be necessarily the input\ninterface for some of the fragments.") ipv6IfStatsReasmFails = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsReasmFails.setDescription("The number of failures detected by the IPv6 re-\nassembly algorithm (for whatever reason: timed\nout, errors, etc.). Note that this is not\nnecessarily a count of discarded IPv6 fragments\nsince some algorithms (notably the algorithm in\nRFC 815) can lose track of the number of fragments\nby combining them as they are received.\nThis counter is incremented at the interface to which\nthese fragments were addressed which might not be\nnecessarily the input interface for some of the\nfragments.") ipv6IfStatsInMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsInMcastPkts.setDescription("The number of multicast packets received\nby the interface") ipv6IfStatsOutMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 6, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfStatsOutMcastPkts.setDescription("The number of multicast packets transmitted\nby the interface") ipv6AddrPrefixTable = MibTable((1, 3, 6, 1, 2, 1, 55, 1, 7)) if mibBuilder.loadTexts: ipv6AddrPrefixTable.setDescription("The list of IPv6 address prefixes of\nIPv6 interfaces.") ipv6AddrPrefixEntry = MibTableRow((1, 3, 6, 1, 2, 1, 55, 1, 7, 1)).setIndexNames((0, "IPV6-MIB", "ipv6IfIndex"), (0, "IPV6-MIB", "ipv6AddrPrefix"), (0, "IPV6-MIB", "ipv6AddrPrefixLength")) if mibBuilder.loadTexts: ipv6AddrPrefixEntry.setDescription("An interface entry containing objects of\na particular IPv6 address prefix.") ipv6AddrPrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 7, 1, 1), Ipv6AddressPrefix()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6AddrPrefix.setDescription("The prefix associated with the this interface.") ipv6AddrPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6AddrPrefixLength.setDescription("The length of the prefix (in bits).") ipv6AddrPrefixOnLinkFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 7, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrPrefixOnLinkFlag.setDescription("This object has the value 'true(1)', if this\nprefix can be used for on-link determination\nand the value 'false(2)' otherwise.") ipv6AddrPrefixAutonomousFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 7, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrPrefixAutonomousFlag.setDescription("Autonomous address configuration flag. When\ntrue(1), indicates that this prefix can be used\nfor autonomous address configuration (i.e. can\nbe used to form a local interface address).\nIf false(2), it is not used to autoconfigure\na local interface address.") ipv6AddrPrefixAdvPreferredLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 7, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrPrefixAdvPreferredLifetime.setDescription("It is the length of time in seconds that this\nprefix will remain preferred, i.e. time until\ndeprecation. A value of 4,294,967,295 represents\ninfinity.\n\nThe address generated from a deprecated prefix\nshould no longer be used as a source address in\nnew communications, but packets received on such\nan interface are processed as expected.") ipv6AddrPrefixAdvValidLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 7, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrPrefixAdvValidLifetime.setDescription("It is the length of time in seconds that this\nprefix will remain valid, i.e. time until\ninvalidation. A value of 4,294,967,295 represents\ninfinity.\n\nThe address generated from an invalidated prefix\nshould not appear as the destination or source\naddress of a packet.") ipv6AddrTable = MibTable((1, 3, 6, 1, 2, 1, 55, 1, 8)) if mibBuilder.loadTexts: ipv6AddrTable.setDescription("The table of addressing information relevant to\nthis node's interface addresses.") ipv6AddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 55, 1, 8, 1)).setIndexNames((0, "IPV6-MIB", "ipv6IfIndex"), (0, "IPV6-MIB", "ipv6AddrAddress")) if mibBuilder.loadTexts: ipv6AddrEntry.setDescription("The addressing information for one of this\nnode's interface addresses.") ipv6AddrAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 8, 1, 1), Ipv6Address()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6AddrAddress.setDescription("The IPv6 address to which this entry's addressing\ninformation pertains.") ipv6AddrPfxLength = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrPfxLength.setDescription("The length of the prefix (in bits) associated with\nthe IPv6 address of this entry.") ipv6AddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 8, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("stateless", 1), ("stateful", 2), ("unknown", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrType.setDescription("The type of address. Note that 'stateless(1)'\nrefers to an address that was statelessly\nautoconfigured; 'stateful(2)' refers to a address\nwhich was acquired by via a stateful protocol\n(e.g. DHCPv6, manual configuration).") ipv6AddrAnycastFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 8, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrAnycastFlag.setDescription("This object has the value 'true(1)', if this\naddress is an anycast address and the value\n'false(2)' otherwise.") ipv6AddrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 8, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(5,4,3,1,2,)).subtype(namedValues=NamedValues(("preferred", 1), ("deprecated", 2), ("invalid", 3), ("inaccessible", 4), ("unknown", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6AddrStatus.setDescription("Address status. The preferred(1) state indicates\nthat this is a valid address that can appear as\nthe destination or source address of a packet.\nThe deprecated(2) state indicates that this is\na valid but deprecated address that should no longer\nbe used as a source address in new communications,\nbut packets addressed to such an address are\nprocessed as expected. The invalid(3) state indicates\nthat this is not valid address which should not\nappear as the destination or source address of\na packet. The inaccessible(4) state indicates that\nthe address is not accessible because the interface\nto which this address is assigned is not operational.") ipv6RouteNumber = MibScalar((1, 3, 6, 1, 2, 1, 55, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteNumber.setDescription("The number of current ipv6RouteTable entries.\nThis is primarily to avoid having to read\nthe table in order to determine this number.") ipv6DiscardedRoutes = MibScalar((1, 3, 6, 1, 2, 1, 55, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6DiscardedRoutes.setDescription("The number of routing entries which were chosen\nto be discarded even though they are valid. One\npossible reason for discarding such an entry could\nbe to free-up buffer space for other routing\nentries.") ipv6RouteTable = MibTable((1, 3, 6, 1, 2, 1, 55, 1, 11)) if mibBuilder.loadTexts: ipv6RouteTable.setDescription("IPv6 Routing table. This table contains\nan entry for each valid IPv6 unicast route\nthat can be used for packet forwarding\ndetermination.") ipv6RouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 55, 1, 11, 1)).setIndexNames((0, "IPV6-MIB", "ipv6RouteDest"), (0, "IPV6-MIB", "ipv6RoutePfxLength"), (0, "IPV6-MIB", "ipv6RouteIndex")) if mibBuilder.loadTexts: ipv6RouteEntry.setDescription("A routing entry.") ipv6RouteDest = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 1), Ipv6Address()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6RouteDest.setDescription("The destination IPv6 address of this route.\nThis object may not take a Multicast address\nvalue.") ipv6RoutePfxLength = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6RoutePfxLength.setDescription("Indicates the prefix length of the destination\naddress.") ipv6RouteIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 3), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6RouteIndex.setDescription("The value which uniquely identifies the route\namong the routes to the same network layer\ndestination. The way this value is chosen is\nimplementation specific but it must be unique for\nipv6RouteDest/ipv6RoutePfxLength pair and remain\nconstant for the life of the route.") ipv6RouteIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 4), Ipv6IfIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteIfIndex.setDescription("The index value which uniquely identifies the local\ninterface through which the next hop of this\nroute should be reached. The interface identified\nby a particular value of this index is the same\ninterface as identified by the same value of\nipv6IfIndex. For routes of the discard type this\nvalue can be zero.") ipv6RouteNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 5), Ipv6Address()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteNextHop.setDescription("On remote routes, the address of the next\nsystem en route; otherwise, ::0\n('00000000000000000000000000000000'H in ASN.1\nstring representation).") ipv6RouteType = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("other", 1), ("discard", 2), ("local", 3), ("remote", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteType.setDescription("The type of route. Note that 'local(3)' refers\nto a route for which the next hop is the final\ndestination; 'remote(4)' refers to a route for\nwhich the next hop is not the final\ndestination; 'discard(2)' refers to a route\nindicating that packets to destinations matching\nthis route are to be discarded (sometimes called\nblack-hole route).") ipv6RouteProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(7,1,3,9,4,6,8,2,5,)).subtype(namedValues=NamedValues(("other", 1), ("local", 2), ("netmgmt", 3), ("ndisc", 4), ("rip", 5), ("ospf", 6), ("bgp", 7), ("idrp", 8), ("igrp", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteProtocol.setDescription("The routing mechanism via which this route was\nlearned.") ipv6RoutePolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RoutePolicy.setDescription("The general set of conditions that would cause the\nselection of one multipath route (set of next hops\nfor a given destination) is referred to as 'policy'.\nUnless the mechanism indicated by ipv6RouteProtocol\nspecified otherwise, the policy specifier is the\n8-bit Traffic Class field of the IPv6 packet header\nthat is zero extended at the left to a 32-bit value.\n\nProtocols defining 'policy' otherwise must either\ndefine a set of values which are valid for\nthis object or must implement an integer-\ninstanced policy table for which this object's\nvalue acts as an index.") ipv6RouteAge = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteAge.setDescription("The number of seconds since this route was last\nupdated or otherwise determined to be correct.\nNote that no semantics of `too old' can be implied\nexcept through knowledge of the routing protocol\nby which the route was learned.") ipv6RouteNextHopRDI = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteNextHopRDI.setDescription("The Routing Domain ID of the Next Hop.\nThe semantics of this object are determined by\nthe routing-protocol specified in the route's\nipv6RouteProtocol value. When this object is\nunknown or not relevant its value should be set\nto zero.") ipv6RouteMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteMetric.setDescription("The routing metric for this route. The\nsemantics of this metric are determined by the\nrouting protocol specified in the route's\nipv6RouteProtocol value. When this is unknown\nor not relevant to the protocol indicated by\nipv6RouteProtocol, the object value should be\nset to its maximum value (4,294,967,295).") ipv6RouteWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteWeight.setDescription("The system internal weight value for this route.\nThe semantics of this value are determined by\nthe implementation specific rules. Generally,\nwithin routes with the same ipv6RoutePolicy value,\nthe lower the weight value the more preferred is\nthe route.") ipv6RouteInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 13), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6RouteInfo.setDescription("A reference to MIB definitions specific to the\nparticular routing protocol which is responsible\nfor this route, as determined by the value\nspecified in the route's ipv6RouteProto value.\nIf this information is not present, its value\nshould be set to the OBJECT ID { 0 0 },\nwhich is a syntactically valid object identifier,\nand any implementation conforming to ASN.1\nand the Basic Encoding Rules must be able to\ngenerate and recognize this value.") ipv6RouteValid = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 11, 1, 14), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6RouteValid.setDescription("Setting this object to the value 'false(2)' has\nthe effect of invalidating the corresponding entry\nin the ipv6RouteTable object. That is, it\neffectively disassociates the destination\nidentified with said entry from the route\nidentified with said entry. It is an\nimplementation-specific matter as to whether the\nagent removes an invalidated entry from the table.\nAccordingly, management stations must be prepared\nto receive tabular information from agents that\ncorresponds to entries not currently in use.\nProper interpretation of such entries requires\nexamination of the relevant ipv6RouteValid\nobject.") ipv6NetToMediaTable = MibTable((1, 3, 6, 1, 2, 1, 55, 1, 12)) if mibBuilder.loadTexts: ipv6NetToMediaTable.setDescription("The IPv6 Address Translation table used for\nmapping from IPv6 addresses to physical addresses.\n\nThe IPv6 address translation table contain the\nIpv6Address to `physical' address equivalencies.\nSome interfaces do not use translation tables\nfor determining address equivalencies; if all\ninterfaces are of this type, then the Address\nTranslation table is empty, i.e., has zero\nentries.") ipv6NetToMediaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 55, 1, 12, 1)).setIndexNames((0, "IPV6-MIB", "ipv6IfIndex"), (0, "IPV6-MIB", "ipv6NetToMediaNetAddress")) if mibBuilder.loadTexts: ipv6NetToMediaEntry.setDescription("Each entry contains one IPv6 address to `physical'\naddress equivalence.") ipv6NetToMediaNetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 12, 1, 1), Ipv6Address()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6NetToMediaNetAddress.setDescription("The IPv6 Address corresponding to\nthe media-dependent `physical' address.") ipv6NetToMediaPhysAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 12, 1, 2), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6NetToMediaPhysAddress.setDescription("The media-dependent `physical' address.") ipv6NetToMediaType = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 12, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("dynamic", 2), ("static", 3), ("local", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6NetToMediaType.setDescription("The type of the mapping. The 'dynamic(2)' type\nindicates that the IPv6 address to physical\naddresses mapping has been dynamically\nresolved using the IPv6 Neighbor Discovery\nprotocol. The static(3)' types indicates that\nthe mapping has been statically configured.\nThe local(4) indicates that the mapping is\nprovided for an entity's own interface address.") ipv6IfNetToMediaState = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 12, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(6,4,5,3,1,2,)).subtype(namedValues=NamedValues(("reachable", 1), ("stale", 2), ("delay", 3), ("probe", 4), ("invalid", 5), ("unknown", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfNetToMediaState.setDescription("The Neighbor Unreachability Detection [8] state\nfor the interface when the address mapping in\nthis entry is used.") ipv6IfNetToMediaLastUpdated = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 12, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfNetToMediaLastUpdated.setDescription("The value of sysUpTime at the time this entry\nwas last updated. If this entry was updated prior\nto the last re-initialization of the local network\nmanagement subsystem, then this object contains\na zero value.") ipv6NetToMediaValid = MibTableColumn((1, 3, 6, 1, 2, 1, 55, 1, 12, 1, 6), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6NetToMediaValid.setDescription("Setting this object to the value 'false(2)' has\nthe effect of invalidating the corresponding entry\nin the ipv6NetToMediaTable. That is, it effectively\ndisassociates the interface identified with said\nentry from the mapping identified with said entry.\nIt is an implementation-specific matter as to\nwhether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive tabular information\nfrom agents that corresponds to entries not\ncurrently in use. Proper interpretation of such\nentries requires examination of the relevant\nipv6NetToMediaValid object.") ipv6Notifications = MibIdentifier((1, 3, 6, 1, 2, 1, 55, 2)) ipv6NotificationPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 55, 2, 0)) ipv6Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 55, 3)) ipv6Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 55, 3, 1)) ipv6Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 55, 3, 2)) # Augmentions ipv6IfEntry.registerAugmentions(("IPV6-MIB", "ipv6IfStatsEntry")) ipv6IfStatsEntry.setIndexNames(*ipv6IfEntry.getIndexNames()) # Notifications ipv6IfStateChange = NotificationType((1, 3, 6, 1, 2, 1, 55, 2, 0, 1)).setObjects(*(("IPV6-MIB", "ipv6IfOperStatus"), ("IPV6-MIB", "ipv6IfDescr"), ) ) if mibBuilder.loadTexts: ipv6IfStateChange.setDescription("An ipv6IfStateChange notification signifies\nthat there has been a change in the state of\nan ipv6 interface. This notification should\nbe generated when the interface's operational\nstatus transitions to or from the up(1) state.") # Groups ipv6GeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 55, 3, 2, 1)).setObjects(*(("IPV6-MIB", "ipv6Forwarding"), ("IPV6-MIB", "ipv6IfStatsReasmFails"), ("IPV6-MIB", "ipv6IfStatsInNoRoutes"), ("IPV6-MIB", "ipv6IfIdentifierLength"), ("IPV6-MIB", "ipv6IfStatsInMcastPkts"), ("IPV6-MIB", "ipv6NetToMediaType"), ("IPV6-MIB", "ipv6AddrAnycastFlag"), ("IPV6-MIB", "ipv6IfStatsInTruncatedPkts"), ("IPV6-MIB", "ipv6IfStatsOutForwDatagrams"), ("IPV6-MIB", "ipv6NetToMediaPhysAddress"), ("IPV6-MIB", "ipv6RouteType"), ("IPV6-MIB", "ipv6AddrStatus"), ("IPV6-MIB", "ipv6IfStatsInHdrErrors"), ("IPV6-MIB", "ipv6IfStatsOutFragOKs"), ("IPV6-MIB", "ipv6IfStatsOutFragFails"), ("IPV6-MIB", "ipv6RouteAge"), ("IPV6-MIB", "ipv6RouteNumber"), ("IPV6-MIB", "ipv6IfEffectiveMtu"), ("IPV6-MIB", "ipv6RouteWeight"), ("IPV6-MIB", "ipv6IfNetToMediaState"), ("IPV6-MIB", "ipv6IfStatsInUnknownProtos"), ("IPV6-MIB", "ipv6IfStatsOutMcastPkts"), ("IPV6-MIB", "ipv6IfOperStatus"), ("IPV6-MIB", "ipv6IfStatsReasmReqds"), ("IPV6-MIB", "ipv6IfStatsOutRequests"), ("IPV6-MIB", "ipv6AddrPrefixAdvPreferredLifetime"), ("IPV6-MIB", "ipv6IfPhysicalAddress"), ("IPV6-MIB", "ipv6AddrPrefixOnLinkFlag"), ("IPV6-MIB", "ipv6IfTableLastChange"), ("IPV6-MIB", "ipv6IfAdminStatus"), ("IPV6-MIB", "ipv6NetToMediaValid"), ("IPV6-MIB", "ipv6IfStatsInDelivers"), ("IPV6-MIB", "ipv6IfStatsOutDiscards"), ("IPV6-MIB", "ipv6IfReasmMaxSize"), ("IPV6-MIB", "ipv6IfLowerLayer"), ("IPV6-MIB", "ipv6IfStatsInReceives"), ("IPV6-MIB", "ipv6IfStatsOutFragCreates"), ("IPV6-MIB", "ipv6RouteNextHop"), ("IPV6-MIB", "ipv6IfStatsInAddrErrors"), ("IPV6-MIB", "ipv6RouteValid"), ("IPV6-MIB", "ipv6RoutePolicy"), ("IPV6-MIB", "ipv6AddrPfxLength"), ("IPV6-MIB", "ipv6DefaultHopLimit"), ("IPV6-MIB", "ipv6AddrPrefixAutonomousFlag"), ("IPV6-MIB", "ipv6DiscardedRoutes"), ("IPV6-MIB", "ipv6RouteMetric"), ("IPV6-MIB", "ipv6IfStatsReasmOKs"), ("IPV6-MIB", "ipv6IfLastChange"), ("IPV6-MIB", "ipv6Interfaces"), ("IPV6-MIB", "ipv6AddrPrefixAdvValidLifetime"), ("IPV6-MIB", "ipv6RouteInfo"), ("IPV6-MIB", "ipv6RouteIfIndex"), ("IPV6-MIB", "ipv6IfDescr"), ("IPV6-MIB", "ipv6RouteProtocol"), ("IPV6-MIB", "ipv6IfStatsInDiscards"), ("IPV6-MIB", "ipv6IfIdentifier"), ("IPV6-MIB", "ipv6RouteNextHopRDI"), ("IPV6-MIB", "ipv6AddrType"), ("IPV6-MIB", "ipv6IfNetToMediaLastUpdated"), ("IPV6-MIB", "ipv6IfStatsInTooBigErrors"), ) ) if mibBuilder.loadTexts: ipv6GeneralGroup.setDescription("The IPv6 group of objects providing for basic\nmanagement of IPv6 entities.") ipv6NotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 55, 3, 2, 2)).setObjects(*(("IPV6-MIB", "ipv6IfStateChange"), ) ) if mibBuilder.loadTexts: ipv6NotificationGroup.setDescription("The notification that an IPv6 entity is required\nto implement.") # Compliances ipv6Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 55, 3, 1, 1)).setObjects(*(("IPV6-MIB", "ipv6GeneralGroup"), ("IPV6-MIB", "ipv6NotificationGroup"), ) ) if mibBuilder.loadTexts: ipv6Compliance.setDescription("The compliance statement for SNMPv2 entities which\nimplement ipv6 MIB.") # Exports # Module identity mibBuilder.exportSymbols("IPV6-MIB", PYSNMP_MODULE_ID=ipv6MIB) # Objects mibBuilder.exportSymbols("IPV6-MIB", ipv6MIB=ipv6MIB, ipv6MIBObjects=ipv6MIBObjects, ipv6Forwarding=ipv6Forwarding, ipv6DefaultHopLimit=ipv6DefaultHopLimit, ipv6Interfaces=ipv6Interfaces, ipv6IfTableLastChange=ipv6IfTableLastChange, ipv6IfTable=ipv6IfTable, ipv6IfEntry=ipv6IfEntry, ipv6IfIndex=ipv6IfIndex, ipv6IfDescr=ipv6IfDescr, ipv6IfLowerLayer=ipv6IfLowerLayer, ipv6IfEffectiveMtu=ipv6IfEffectiveMtu, ipv6IfReasmMaxSize=ipv6IfReasmMaxSize, ipv6IfIdentifier=ipv6IfIdentifier, ipv6IfIdentifierLength=ipv6IfIdentifierLength, ipv6IfPhysicalAddress=ipv6IfPhysicalAddress, ipv6IfAdminStatus=ipv6IfAdminStatus, ipv6IfOperStatus=ipv6IfOperStatus, ipv6IfLastChange=ipv6IfLastChange, ipv6IfStatsTable=ipv6IfStatsTable, ipv6IfStatsEntry=ipv6IfStatsEntry, ipv6IfStatsInReceives=ipv6IfStatsInReceives, ipv6IfStatsInHdrErrors=ipv6IfStatsInHdrErrors, ipv6IfStatsInTooBigErrors=ipv6IfStatsInTooBigErrors, ipv6IfStatsInNoRoutes=ipv6IfStatsInNoRoutes, ipv6IfStatsInAddrErrors=ipv6IfStatsInAddrErrors, ipv6IfStatsInUnknownProtos=ipv6IfStatsInUnknownProtos, ipv6IfStatsInTruncatedPkts=ipv6IfStatsInTruncatedPkts, ipv6IfStatsInDiscards=ipv6IfStatsInDiscards, ipv6IfStatsInDelivers=ipv6IfStatsInDelivers, ipv6IfStatsOutForwDatagrams=ipv6IfStatsOutForwDatagrams, ipv6IfStatsOutRequests=ipv6IfStatsOutRequests, ipv6IfStatsOutDiscards=ipv6IfStatsOutDiscards, ipv6IfStatsOutFragOKs=ipv6IfStatsOutFragOKs, ipv6IfStatsOutFragFails=ipv6IfStatsOutFragFails, ipv6IfStatsOutFragCreates=ipv6IfStatsOutFragCreates, ipv6IfStatsReasmReqds=ipv6IfStatsReasmReqds, ipv6IfStatsReasmOKs=ipv6IfStatsReasmOKs, ipv6IfStatsReasmFails=ipv6IfStatsReasmFails, ipv6IfStatsInMcastPkts=ipv6IfStatsInMcastPkts, ipv6IfStatsOutMcastPkts=ipv6IfStatsOutMcastPkts, ipv6AddrPrefixTable=ipv6AddrPrefixTable, ipv6AddrPrefixEntry=ipv6AddrPrefixEntry, ipv6AddrPrefix=ipv6AddrPrefix, ipv6AddrPrefixLength=ipv6AddrPrefixLength, ipv6AddrPrefixOnLinkFlag=ipv6AddrPrefixOnLinkFlag, ipv6AddrPrefixAutonomousFlag=ipv6AddrPrefixAutonomousFlag, ipv6AddrPrefixAdvPreferredLifetime=ipv6AddrPrefixAdvPreferredLifetime, ipv6AddrPrefixAdvValidLifetime=ipv6AddrPrefixAdvValidLifetime, ipv6AddrTable=ipv6AddrTable, ipv6AddrEntry=ipv6AddrEntry, ipv6AddrAddress=ipv6AddrAddress, ipv6AddrPfxLength=ipv6AddrPfxLength, ipv6AddrType=ipv6AddrType, ipv6AddrAnycastFlag=ipv6AddrAnycastFlag, ipv6AddrStatus=ipv6AddrStatus, ipv6RouteNumber=ipv6RouteNumber, ipv6DiscardedRoutes=ipv6DiscardedRoutes, ipv6RouteTable=ipv6RouteTable, ipv6RouteEntry=ipv6RouteEntry, ipv6RouteDest=ipv6RouteDest, ipv6RoutePfxLength=ipv6RoutePfxLength, ipv6RouteIndex=ipv6RouteIndex, ipv6RouteIfIndex=ipv6RouteIfIndex, ipv6RouteNextHop=ipv6RouteNextHop, ipv6RouteType=ipv6RouteType, ipv6RouteProtocol=ipv6RouteProtocol, ipv6RoutePolicy=ipv6RoutePolicy, ipv6RouteAge=ipv6RouteAge, ipv6RouteNextHopRDI=ipv6RouteNextHopRDI, ipv6RouteMetric=ipv6RouteMetric, ipv6RouteWeight=ipv6RouteWeight, ipv6RouteInfo=ipv6RouteInfo, ipv6RouteValid=ipv6RouteValid, ipv6NetToMediaTable=ipv6NetToMediaTable, ipv6NetToMediaEntry=ipv6NetToMediaEntry, ipv6NetToMediaNetAddress=ipv6NetToMediaNetAddress, ipv6NetToMediaPhysAddress=ipv6NetToMediaPhysAddress, ipv6NetToMediaType=ipv6NetToMediaType, ipv6IfNetToMediaState=ipv6IfNetToMediaState, ipv6IfNetToMediaLastUpdated=ipv6IfNetToMediaLastUpdated, ipv6NetToMediaValid=ipv6NetToMediaValid, ipv6Notifications=ipv6Notifications, ipv6NotificationPrefix=ipv6NotificationPrefix, ipv6Conformance=ipv6Conformance, ipv6Compliances=ipv6Compliances, ipv6Groups=ipv6Groups) # Notifications mibBuilder.exportSymbols("IPV6-MIB", ipv6IfStateChange=ipv6IfStateChange) # Groups mibBuilder.exportSymbols("IPV6-MIB", ipv6GeneralGroup=ipv6GeneralGroup, ipv6NotificationGroup=ipv6NotificationGroup) # Compliances mibBuilder.exportSymbols("IPV6-MIB", ipv6Compliance=ipv6Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IP-FORWARD-MIB.py0000644000014400001440000011455311736645136021060 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IP-FORWARD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:10 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAipRouteProtocol, ) = mibBuilder.importSymbols("IANA-RTPROTO-MIB", "IANAipRouteProtocol") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetAutonomousSystemNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetAutonomousSystemNumber") ( ip, ) = mibBuilder.importSymbols("IP-MIB", "ip") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus") # Objects ipForward = ModuleIdentity((1, 3, 6, 1, 2, 1, 4, 24)).setRevisions(("2006-02-01 00:00","1996-09-19 00:00","1992-07-02 21:56",)) if mibBuilder.loadTexts: ipForward.setOrganization("IETF IPv6 Working Group\nhttp://www.ietf.org/html.charters/ipv6-charter.html") if mibBuilder.loadTexts: ipForward.setContactInfo("Editor:\nBrian Haberman\nJohns Hopkins University - Applied Physics Laboratory\nMailstop 17-S442\n11100 Johns Hopkins Road\nLaurel MD, 20723-6099 USA\n\nPhone: +1-443-778-1319\nEmail: brian@innovationslab.net\n\nSend comments to ") if mibBuilder.loadTexts: ipForward.setDescription("The MIB module for the management of CIDR multipath IP\nRoutes.\n\nCopyright (C) The Internet Society (2006). This version\nof this MIB module is a part of RFC 4292; see the RFC\nitself for full legal notices.") ipForwardNumber = MibScalar((1, 3, 6, 1, 2, 1, 4, 24, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipForwardNumber.setDescription("The number of current ipForwardTable entries that are\nnot invalid.") ipForwardTable = MibTable((1, 3, 6, 1, 2, 1, 4, 24, 2)) if mibBuilder.loadTexts: ipForwardTable.setDescription("This entity's IP Routing table.") ipForwardEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 24, 2, 1)).setIndexNames((0, "IP-FORWARD-MIB", "ipForwardDest"), (0, "IP-FORWARD-MIB", "ipForwardProto"), (0, "IP-FORWARD-MIB", "ipForwardPolicy"), (0, "IP-FORWARD-MIB", "ipForwardNextHop")) if mibBuilder.loadTexts: ipForwardEntry.setDescription("A particular route to a particular destination, under a\nparticular policy.") ipForwardDest = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipForwardDest.setDescription("The destination IP address of this route. An entry\nwith a value of 0.0.0.0 is considered a default route.\n\nThis object may not take a Multicast (Class D) address\nvalue.\n\nAny assignment (implicit or otherwise) of an instance\nof this object to a value x must be rejected if the\nbitwise logical-AND of x with the value of the\ncorresponding instance of the ipForwardMask object is\nnot equal to x.") ipForwardMask = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 2), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardMask.setDescription("Indicate the mask to be logical-ANDed with the\ndestination address before being compared to the value\nin the ipForwardDest field. For those systems that do\nnot support arbitrary subnet masks, an agent constructs\nthe value of the ipForwardMask by reference to the IP\nAddress Class.\n\nAny assignment (implicit or otherwise) of an instance\nof this object to a value x must be rejected if the\nbitwise logical-AND of x with the value of the\ncorresponding instance of the ipForwardDest object is\nnot equal to ipForwardDest.") ipForwardPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipForwardPolicy.setDescription("The general set of conditions that would cause\nthe selection of one multipath route (set of\nnext hops for a given destination) is referred\nto as 'policy'.\n\nUnless the mechanism indicated by ipForwardProto\nspecifies otherwise, the policy specifier is\nthe IP TOS Field. The encoding of IP TOS is as\nspecified by the following convention. Zero\nindicates the default path if no more specific\npolicy applies.\n\n+-----+-----+-----+-----+-----+-----+-----+-----+\n| | | |\n| PRECEDENCE | TYPE OF SERVICE | 0 |\n| | | |\n+-----+-----+-----+-----+-----+-----+-----+-----+\n\n\n\n IP TOS IP TOS\n Field Policy Field Policy\n Contents Code Contents Code\n 0 0 0 0 ==> 0 0 0 0 1 ==> 2\n 0 0 1 0 ==> 4 0 0 1 1 ==> 6\n 0 1 0 0 ==> 8 0 1 0 1 ==> 10\n 0 1 1 0 ==> 12 0 1 1 1 ==> 14\n 1 0 0 0 ==> 16 1 0 0 1 ==> 18\n 1 0 1 0 ==> 20 1 0 1 1 ==> 22\n 1 1 0 0 ==> 24 1 1 0 1 ==> 26\n 1 1 1 0 ==> 28 1 1 1 1 ==> 30\n\nProtocols defining 'policy' otherwise must either\ndefine a set of values that are valid for\nthis object or must implement an integer-instanced\npolicy table for which this object's\nvalue acts as an index.") ipForwardNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipForwardNextHop.setDescription("On remote routes, the address of the next system en\nroute; otherwise, 0.0.0.0.") ipForwardIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 5), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardIfIndex.setDescription("The ifIndex value that identifies the local interface\nthrough which the next hop of this route should be\nreached.") ipForwardType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("local", 3), ("remote", 4), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardType.setDescription("The type of route. Note that local(3) refers to a\nroute for which the next hop is the final destination;\nremote(4) refers to a route for which the next hop is\nnot the final destination.\n\nSetting this object to the value invalid(2) has the\neffect of invalidating the corresponding entry in the\nipForwardTable object. That is, it effectively\ndisassociates the destination identified with said\nentry from the route identified with said entry. It is\nan implementation-specific matter as to whether the\nagent removes an invalidated entry from the table.\nAccordingly, management stations must be prepared to\nreceive tabular information from agents that\ncorresponds to entries not currently in use. Proper\ninterpretation of such entries requires examination of\nthe relevant ipForwardType object.") ipForwardProto = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(14,12,3,13,5,8,10,15,11,1,9,4,2,7,6,)).subtype(namedValues=NamedValues(("other", 1), ("es-is", 10), ("ciscoIgrp", 11), ("bbnSpfIgp", 12), ("ospf", 13), ("bgp", 14), ("idpr", 15), ("local", 2), ("netmgmt", 3), ("icmp", 4), ("egp", 5), ("ggp", 6), ("hello", 7), ("rip", 8), ("is-is", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipForwardProto.setDescription("The routing mechanism via which this route was learned.\nInclusion of values for gateway routing protocols is\nnot intended to imply that hosts should support those\nprotocols.") ipForwardAge = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 8), Integer32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: ipForwardAge.setDescription("The number of seconds since this route was last updated\nor otherwise determined to be correct. Note that no\nsemantics of `too old' can be implied except through\nknowledge of the routing protocol by which the route\nwas learned.") ipForwardInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 9), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardInfo.setDescription("A reference to MIB definitions specific to the\nparticular routing protocol that is responsible for\nthis route, as determined by the value specified in the\nroute's ipForwardProto value. If this information is\nnot present, its value should be set to the OBJECT\nIDENTIFIER { 0 0 }, which is a syntactically valid\nobject identifier, and any implementation conforming to\nASN.1 and the Basic Encoding Rules must be able to\ngenerate and recognize this value.") ipForwardNextHopAS = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 10), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardNextHopAS.setDescription("The Autonomous System Number of the Next Hop. When\nthis is unknown or not relevant to the protocol\nindicated by ipForwardProto, zero.") ipForwardMetric1 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 11), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardMetric1.setDescription("The primary routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipForwardProto value.\nIf this metric is not used, its value should be set to\n-1.") ipForwardMetric2 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 12), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardMetric2.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipForwardProto value.\nIf this metric is not used, its value should be set to\n-1.") ipForwardMetric3 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 13), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardMetric3.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipForwardProto value.\nIf this metric is not used, its value should be set to\n-1.") ipForwardMetric4 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 14), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardMetric4.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipForwardProto value.\nIf this metric is not used, its value should be set to\n-1.") ipForwardMetric5 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 2, 1, 15), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipForwardMetric5.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipForwardProto value.\nIf this metric is not used, its value should be set to\n-1.") ipCidrRouteNumber = MibScalar((1, 3, 6, 1, 2, 1, 4, 24, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipCidrRouteNumber.setDescription("The number of current ipCidrRouteTable entries that are\nnot invalid. This object is deprecated in favor of\ninetCidrRouteNumber and the inetCidrRouteTable.") ipCidrRouteTable = MibTable((1, 3, 6, 1, 2, 1, 4, 24, 4)) if mibBuilder.loadTexts: ipCidrRouteTable.setDescription("This entity's IP Routing table. This table has been\ndeprecated in favor of the IP version neutral\ninetCidrRouteTable.") ipCidrRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 24, 4, 1)).setIndexNames((0, "IP-FORWARD-MIB", "ipCidrRouteDest"), (0, "IP-FORWARD-MIB", "ipCidrRouteMask"), (0, "IP-FORWARD-MIB", "ipCidrRouteTos"), (0, "IP-FORWARD-MIB", "ipCidrRouteNextHop")) if mibBuilder.loadTexts: ipCidrRouteEntry.setDescription("A particular route to a particular destination, under a\n\n\n\nparticular policy.") ipCidrRouteDest = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipCidrRouteDest.setDescription("The destination IP address of this route.\n\nThis object may not take a Multicast (Class D) address\nvalue.\n\nAny assignment (implicit or otherwise) of an instance\nof this object to a value x must be rejected if the\nbitwise logical-AND of x with the value of the\ncorresponding instance of the ipCidrRouteMask object is\nnot equal to x.") ipCidrRouteMask = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipCidrRouteMask.setDescription("Indicate the mask to be logical-ANDed with the\ndestination address before being compared to the value\nin the ipCidrRouteDest field. For those systems that\ndo not support arbitrary subnet masks, an agent\nconstructs the value of the ipCidrRouteMask by\nreference to the IP Address Class.\n\nAny assignment (implicit or otherwise) of an instance\nof this object to a value x must be rejected if the\nbitwise logical-AND of x with the value of the\ncorresponding instance of the ipCidrRouteDest object is\nnot equal to ipCidrRouteDest.") ipCidrRouteTos = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipCidrRouteTos.setDescription("The policy specifier is the IP TOS Field. The encoding\nof IP TOS is as specified by the following convention.\nZero indicates the default path if no more specific\npolicy applies.\n\n+-----+-----+-----+-----+-----+-----+-----+-----+\n| | | |\n| PRECEDENCE | TYPE OF SERVICE | 0 |\n| | | |\n+-----+-----+-----+-----+-----+-----+-----+-----+\n\n IP TOS IP TOS\n Field Policy Field Policy\n Contents Code Contents Code\n 0 0 0 0 ==> 0 0 0 0 1 ==> 2\n 0 0 1 0 ==> 4 0 0 1 1 ==> 6\n 0 1 0 0 ==> 8 0 1 0 1 ==> 10\n 0 1 1 0 ==> 12 0 1 1 1 ==> 14\n 1 0 0 0 ==> 16 1 0 0 1 ==> 18\n 1 0 1 0 ==> 20 1 0 1 1 ==> 22\n\n\n\n 1 1 0 0 ==> 24 1 1 0 1 ==> 26\n 1 1 1 0 ==> 28 1 1 1 1 ==> 30") ipCidrRouteNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipCidrRouteNextHop.setDescription("On remote routes, the address of the next system en\nroute; Otherwise, 0.0.0.0.") ipCidrRouteIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 5), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteIfIndex.setDescription("The ifIndex value that identifies the local interface\nthrough which the next hop of this route should be\nreached.") ipCidrRouteType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,)).subtype(namedValues=NamedValues(("other", 1), ("reject", 2), ("local", 3), ("remote", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteType.setDescription("The type of route. Note that local(3) refers to a\nroute for which the next hop is the final destination;\nremote(4) refers to a route for which the next hop is\nnot the final destination.\n\nRoutes that do not result in traffic forwarding or\nrejection should not be displayed, even if the\nimplementation keeps them stored internally.\n\nreject (2) refers to a route that, if matched,\ndiscards the message as unreachable. This is used in\nsome protocols as a means of correctly aggregating\nroutes.") ipCidrRouteProto = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(10,9,3,13,16,5,8,14,15,11,1,12,4,2,7,6,)).subtype(namedValues=NamedValues(("other", 1), ("esIs", 10), ("ciscoIgrp", 11), ("bbnSpfIgp", 12), ("ospf", 13), ("bgp", 14), ("idpr", 15), ("ciscoEigrp", 16), ("local", 2), ("netmgmt", 3), ("icmp", 4), ("egp", 5), ("ggp", 6), ("hello", 7), ("rip", 8), ("isIs", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipCidrRouteProto.setDescription("The routing mechanism via which this route was learned.\nInclusion of values for gateway routing protocols is\nnot intended to imply that hosts should support those\nprotocols.") ipCidrRouteAge = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 8), Integer32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: ipCidrRouteAge.setDescription("The number of seconds since this route was last updated\nor otherwise determined to be correct. Note that no\nsemantics of `too old' can be implied, except through\nknowledge of the routing protocol by which the route\nwas learned.") ipCidrRouteInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 9), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteInfo.setDescription("A reference to MIB definitions specific to the\nparticular routing protocol that is responsible for\nthis route, as determined by the value specified in the\nroute's ipCidrRouteProto value. If this information is\nnot present, its value should be set to the OBJECT\nIDENTIFIER { 0 0 }, which is a syntactically valid\nobject identifier, and any implementation conforming to\nASN.1 and the Basic Encoding Rules must be able to\ngenerate and recognize this value.") ipCidrRouteNextHopAS = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 10), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteNextHopAS.setDescription("The Autonomous System Number of the Next Hop. The\nsemantics of this object are determined by the routing-\nprotocol specified in the route's ipCidrRouteProto\nvalue. When this object is unknown or not relevant, its\nvalue should be set to zero.") ipCidrRouteMetric1 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 11), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteMetric1.setDescription("The primary routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") ipCidrRouteMetric2 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 12), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteMetric2.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipCidrRouteProto\nvalue. If this metric is not used, its value should be\n\n\n\nset to -1.") ipCidrRouteMetric3 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 13), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteMetric3.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") ipCidrRouteMetric4 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 14), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteMetric4.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") ipCidrRouteMetric5 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 15), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteMetric5.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's ipCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") ipCidrRouteStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 4, 1, 16), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipCidrRouteStatus.setDescription("The row status variable, used according to row\ninstallation and removal conventions.") ipForwardConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 4, 24, 5)) ipForwardGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 4, 24, 5, 1)) ipForwardCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 4, 24, 5, 2)) inetCidrRouteNumber = MibScalar((1, 3, 6, 1, 2, 1, 4, 24, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: inetCidrRouteNumber.setDescription("The number of current inetCidrRouteTable entries that\nare not invalid.") inetCidrRouteTable = MibTable((1, 3, 6, 1, 2, 1, 4, 24, 7)) if mibBuilder.loadTexts: inetCidrRouteTable.setDescription("This entity's IP Routing table.") inetCidrRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 24, 7, 1)).setIndexNames((0, "IP-FORWARD-MIB", "inetCidrRouteDestType"), (0, "IP-FORWARD-MIB", "inetCidrRouteDest"), (0, "IP-FORWARD-MIB", "inetCidrRoutePfxLen"), (0, "IP-FORWARD-MIB", "inetCidrRoutePolicy"), (0, "IP-FORWARD-MIB", "inetCidrRouteNextHopType"), (0, "IP-FORWARD-MIB", "inetCidrRouteNextHop")) if mibBuilder.loadTexts: inetCidrRouteEntry.setDescription("A particular route to a particular destination, under a\nparticular policy (as reflected in the\ninetCidrRoutePolicy object).\n\nDynamically created rows will survive an agent reboot.\n\nImplementers need to be aware that if the total number\nof elements (octets or sub-identifiers) in\ninetCidrRouteDest, inetCidrRoutePolicy, and\ninetCidrRouteNextHop exceeds 111, then OIDs of column\ninstances in this table will have more than 128 sub-\nidentifiers and cannot be accessed using SNMPv1,\nSNMPv2c, or SNMPv3.") inetCidrRouteDestType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: inetCidrRouteDestType.setDescription("The type of the inetCidrRouteDest address, as defined\nin the InetAddress MIB.\n\nOnly those address types that may appear in an actual\nrouting table are allowed as values of this object.") inetCidrRouteDest = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: inetCidrRouteDest.setDescription("The destination IP address of this route.\n\nThe type of this address is determined by the value of\nthe inetCidrRouteDestType object.\n\nThe values for the index objects inetCidrRouteDest and\ninetCidrRoutePfxLen must be consistent. When the value\nof inetCidrRouteDest (excluding the zone index, if one\nis present) is x, then the bitwise logical-AND\nof x with the value of the mask formed from the\ncorresponding index object inetCidrRoutePfxLen MUST be\nequal to x. If not, then the index pair is not\nconsistent and an inconsistentName error must be\nreturned on SET or CREATE requests.") inetCidrRoutePfxLen = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 3), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: inetCidrRoutePfxLen.setDescription("Indicates the number of leading one bits that form the\nmask to be logical-ANDed with the destination address\nbefore being compared to the value in the\n\n\n\ninetCidrRouteDest field.\n\nThe values for the index objects inetCidrRouteDest and\ninetCidrRoutePfxLen must be consistent. When the value\nof inetCidrRouteDest (excluding the zone index, if one\nis present) is x, then the bitwise logical-AND\nof x with the value of the mask formed from the\ncorresponding index object inetCidrRoutePfxLen MUST be\nequal to x. If not, then the index pair is not\nconsistent and an inconsistentName error must be\nreturned on SET or CREATE requests.") inetCidrRoutePolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 4), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: inetCidrRoutePolicy.setDescription("This object is an opaque object without any defined\nsemantics. Its purpose is to serve as an additional\nindex that may delineate between multiple entries to\nthe same destination. The value { 0 0 } shall be used\nas the default value for this object.") inetCidrRouteNextHopType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 5), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: inetCidrRouteNextHopType.setDescription("The type of the inetCidrRouteNextHop address, as\ndefined in the InetAddress MIB.\n\nValue should be set to unknown(0) for non-remote\nroutes.\n\nOnly those address types that may appear in an actual\nrouting table are allowed as values of this object.") inetCidrRouteNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 6), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: inetCidrRouteNextHop.setDescription("On remote routes, the address of the next system en\n\n\n\nroute. For non-remote routes, a zero length string.\n\nThe type of this address is determined by the value of\nthe inetCidrRouteNextHopType object.") inetCidrRouteIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 7), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteIfIndex.setDescription("The ifIndex value that identifies the local interface\nthrough which the next hop of this route should be\nreached. A value of 0 is valid and represents the\nscenario where no interface is specified.") inetCidrRouteType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(4,5,1,2,3,)).subtype(namedValues=NamedValues(("other", 1), ("reject", 2), ("local", 3), ("remote", 4), ("blackhole", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteType.setDescription("The type of route. Note that local(3) refers to a\nroute for which the next hop is the final destination;\nremote(4) refers to a route for which the next hop is\nnot the final destination.\n\nRoutes that do not result in traffic forwarding or\nrejection should not be displayed, even if the\nimplementation keeps them stored internally.\n\nreject(2) refers to a route that, if matched, discards\nthe message as unreachable and returns a notification\n(e.g., ICMP error) to the message sender. This is used\nin some protocols as a means of correctly aggregating\nroutes.\n\nblackhole(5) refers to a route that, if matched,\ndiscards the message silently.") inetCidrRouteProto = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 9), IANAipRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: inetCidrRouteProto.setDescription("The routing mechanism via which this route was learned.\nInclusion of values for gateway routing protocols is\nnot intended to imply that hosts should support those\nprotocols.") inetCidrRouteAge = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: inetCidrRouteAge.setDescription("The number of seconds since this route was last updated\nor otherwise determined to be correct. Note that no\nsemantics of 'too old' can be implied, except through\nknowledge of the routing protocol by which the route\nwas learned.") inetCidrRouteNextHopAS = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 11), InetAutonomousSystemNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteNextHopAS.setDescription("The Autonomous System Number of the Next Hop. The\nsemantics of this object are determined by the routing-\nprotocol specified in the route's inetCidrRouteProto\nvalue. When this object is unknown or not relevant, its\nvalue should be set to zero.") inetCidrRouteMetric1 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 12), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteMetric1.setDescription("The primary routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's inetCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") inetCidrRouteMetric2 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 13), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteMetric2.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's inetCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") inetCidrRouteMetric3 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 14), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteMetric3.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's inetCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") inetCidrRouteMetric4 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 15), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteMetric4.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\nprotocol specified in the route's inetCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") inetCidrRouteMetric5 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 16), Integer32().clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteMetric5.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing-\n\n\n\nprotocol specified in the route's inetCidrRouteProto\nvalue. If this metric is not used, its value should be\nset to -1.") inetCidrRouteStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 24, 7, 1, 17), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: inetCidrRouteStatus.setDescription("The row status variable, used according to row\ninstallation and removal conventions.\n\nA row entry cannot be modified when the status is\nmarked as active(1).") inetCidrRouteDiscards = MibScalar((1, 3, 6, 1, 2, 1, 4, 24, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: inetCidrRouteDiscards.setDescription("The number of valid route entries discarded from the\ninetCidrRouteTable. Discarded route entries do not\nappear in the inetCidrRouteTable. One possible reason\nfor discarding an entry would be to free-up buffer space\nfor other route table entries.") # Augmentions # Groups ipForwardMultiPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 4, 24, 5, 1, 2)).setObjects(*(("IP-FORWARD-MIB", "ipForwardMetric1"), ("IP-FORWARD-MIB", "ipForwardMask"), ("IP-FORWARD-MIB", "ipForwardMetric2"), ("IP-FORWARD-MIB", "ipForwardMetric3"), ("IP-FORWARD-MIB", "ipForwardAge"), ("IP-FORWARD-MIB", "ipForwardInfo"), ("IP-FORWARD-MIB", "ipForwardMetric4"), ("IP-FORWARD-MIB", "ipForwardPolicy"), ("IP-FORWARD-MIB", "ipForwardProto"), ("IP-FORWARD-MIB", "ipForwardIfIndex"), ("IP-FORWARD-MIB", "ipForwardNumber"), ("IP-FORWARD-MIB", "ipForwardType"), ("IP-FORWARD-MIB", "ipForwardNextHop"), ("IP-FORWARD-MIB", "ipForwardMetric5"), ("IP-FORWARD-MIB", "ipForwardNextHopAS"), ("IP-FORWARD-MIB", "ipForwardDest"), ) ) if mibBuilder.loadTexts: ipForwardMultiPathGroup.setDescription("IP Multipath Route Table.") ipForwardCidrRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 4, 24, 5, 1, 3)).setObjects(*(("IP-FORWARD-MIB", "ipCidrRouteNextHopAS"), ("IP-FORWARD-MIB", "ipCidrRouteMetric5"), ("IP-FORWARD-MIB", "ipCidrRouteNumber"), ("IP-FORWARD-MIB", "ipCidrRouteType"), ("IP-FORWARD-MIB", "ipCidrRouteIfIndex"), ("IP-FORWARD-MIB", "ipCidrRouteMetric2"), ("IP-FORWARD-MIB", "ipCidrRouteProto"), ("IP-FORWARD-MIB", "ipCidrRouteStatus"), ("IP-FORWARD-MIB", "ipCidrRouteAge"), ("IP-FORWARD-MIB", "ipCidrRouteInfo"), ("IP-FORWARD-MIB", "ipCidrRouteNextHop"), ("IP-FORWARD-MIB", "ipCidrRouteMetric1"), ("IP-FORWARD-MIB", "ipCidrRouteMetric4"), ("IP-FORWARD-MIB", "ipCidrRouteDest"), ("IP-FORWARD-MIB", "ipCidrRouteTos"), ("IP-FORWARD-MIB", "ipCidrRouteMetric3"), ("IP-FORWARD-MIB", "ipCidrRouteMask"), ) ) if mibBuilder.loadTexts: ipForwardCidrRouteGroup.setDescription("The CIDR Route Table.\n\nThis group has been deprecated and replaced with\ninetForwardCidrRouteGroup.") inetForwardCidrRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 4, 24, 5, 1, 4)).setObjects(*(("IP-FORWARD-MIB", "inetCidrRouteAge"), ("IP-FORWARD-MIB", "inetCidrRouteNextHopAS"), ("IP-FORWARD-MIB", "inetCidrRouteType"), ("IP-FORWARD-MIB", "inetCidrRouteMetric5"), ("IP-FORWARD-MIB", "inetCidrRouteMetric4"), ("IP-FORWARD-MIB", "inetCidrRouteNumber"), ("IP-FORWARD-MIB", "inetCidrRouteMetric1"), ("IP-FORWARD-MIB", "inetCidrRouteMetric3"), ("IP-FORWARD-MIB", "inetCidrRouteMetric2"), ("IP-FORWARD-MIB", "inetCidrRouteDiscards"), ("IP-FORWARD-MIB", "inetCidrRouteProto"), ("IP-FORWARD-MIB", "inetCidrRouteStatus"), ("IP-FORWARD-MIB", "inetCidrRouteIfIndex"), ) ) if mibBuilder.loadTexts: inetForwardCidrRouteGroup.setDescription("The IP version-independent CIDR Route Table.") # Compliances ipForwardCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 4, 24, 5, 2, 1)).setObjects(*(("IP-FORWARD-MIB", "ipForwardCidrRouteGroup"), ) ) if mibBuilder.loadTexts: ipForwardCompliance.setDescription("The compliance statement for SNMPv2 entities that\nimplement the ipForward MIB.\n\nThis compliance statement has been deprecated and\nreplaced with ipForwardFullCompliance and\nipForwardReadOnlyCompliance.") ipForwardOldCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 4, 24, 5, 2, 2)).setObjects(*(("IP-FORWARD-MIB", "ipForwardMultiPathGroup"), ) ) if mibBuilder.loadTexts: ipForwardOldCompliance.setDescription("The compliance statement for SNMP entities that\nimplement the ipForward MIB.") ipForwardFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 4, 24, 5, 2, 3)).setObjects(*(("IP-FORWARD-MIB", "inetForwardCidrRouteGroup"), ) ) if mibBuilder.loadTexts: ipForwardFullCompliance.setDescription("When this MIB is implemented for read-create, the\nimplementation can claim full compliance.\n\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n\n-- OBJECT inetCidrRouteDestType\n-- SYNTAX InetAddressType (ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4))\n-- DESCRIPTION\n-- This MIB requires support for global and\n-- non-global ipv4 and ipv6 addresses.\n\n\n\n--\n-- OBJECT inetCidrRouteDest\n-- SYNTAX InetAddress (SIZE (4 | 8 | 16 | 20))\n-- DESCRIPTION\n-- This MIB requires support for global and\n-- non-global IPv4 and IPv6 addresses.\n--\n-- OBJECT inetCidrRouteNextHopType\n-- SYNTAX InetAddressType (unknown(0), ipv4(1),\n-- ipv6(2), ipv4z(3)\n-- ipv6z(4))\n-- DESCRIPTION\n-- This MIB requires support for global and\n-- non-global ipv4 and ipv6 addresses.\n--\n-- OBJECT inetCidrRouteNextHop\n-- SYNTAX InetAddress (SIZE (0 | 4 | 8 | 16 | 20))\n-- DESCRIPTION\n-- This MIB requires support for global and\n-- non-global IPv4 and IPv6 addresses.") ipForwardReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 4, 24, 5, 2, 4)).setObjects(*(("IP-FORWARD-MIB", "inetForwardCidrRouteGroup"), ) ) if mibBuilder.loadTexts: ipForwardReadOnlyCompliance.setDescription("When this MIB is implemented without support for read-\ncreate (i.e., in read-only mode), the implementation can\nclaim read-only compliance.") # Exports # Module identity mibBuilder.exportSymbols("IP-FORWARD-MIB", PYSNMP_MODULE_ID=ipForward) # Objects mibBuilder.exportSymbols("IP-FORWARD-MIB", ipForward=ipForward, ipForwardNumber=ipForwardNumber, ipForwardTable=ipForwardTable, ipForwardEntry=ipForwardEntry, ipForwardDest=ipForwardDest, ipForwardMask=ipForwardMask, ipForwardPolicy=ipForwardPolicy, ipForwardNextHop=ipForwardNextHop, ipForwardIfIndex=ipForwardIfIndex, ipForwardType=ipForwardType, ipForwardProto=ipForwardProto, ipForwardAge=ipForwardAge, ipForwardInfo=ipForwardInfo, ipForwardNextHopAS=ipForwardNextHopAS, ipForwardMetric1=ipForwardMetric1, ipForwardMetric2=ipForwardMetric2, ipForwardMetric3=ipForwardMetric3, ipForwardMetric4=ipForwardMetric4, ipForwardMetric5=ipForwardMetric5, ipCidrRouteNumber=ipCidrRouteNumber, ipCidrRouteTable=ipCidrRouteTable, ipCidrRouteEntry=ipCidrRouteEntry, ipCidrRouteDest=ipCidrRouteDest, ipCidrRouteMask=ipCidrRouteMask, ipCidrRouteTos=ipCidrRouteTos, ipCidrRouteNextHop=ipCidrRouteNextHop, ipCidrRouteIfIndex=ipCidrRouteIfIndex, ipCidrRouteType=ipCidrRouteType, ipCidrRouteProto=ipCidrRouteProto, ipCidrRouteAge=ipCidrRouteAge, ipCidrRouteInfo=ipCidrRouteInfo, ipCidrRouteNextHopAS=ipCidrRouteNextHopAS, ipCidrRouteMetric1=ipCidrRouteMetric1, ipCidrRouteMetric2=ipCidrRouteMetric2, ipCidrRouteMetric3=ipCidrRouteMetric3, ipCidrRouteMetric4=ipCidrRouteMetric4, ipCidrRouteMetric5=ipCidrRouteMetric5, ipCidrRouteStatus=ipCidrRouteStatus, ipForwardConformance=ipForwardConformance, ipForwardGroups=ipForwardGroups, ipForwardCompliances=ipForwardCompliances, inetCidrRouteNumber=inetCidrRouteNumber, inetCidrRouteTable=inetCidrRouteTable, inetCidrRouteEntry=inetCidrRouteEntry, inetCidrRouteDestType=inetCidrRouteDestType, inetCidrRouteDest=inetCidrRouteDest, inetCidrRoutePfxLen=inetCidrRoutePfxLen, inetCidrRoutePolicy=inetCidrRoutePolicy, inetCidrRouteNextHopType=inetCidrRouteNextHopType, inetCidrRouteNextHop=inetCidrRouteNextHop, inetCidrRouteIfIndex=inetCidrRouteIfIndex, inetCidrRouteType=inetCidrRouteType, inetCidrRouteProto=inetCidrRouteProto, inetCidrRouteAge=inetCidrRouteAge, inetCidrRouteNextHopAS=inetCidrRouteNextHopAS, inetCidrRouteMetric1=inetCidrRouteMetric1, inetCidrRouteMetric2=inetCidrRouteMetric2, inetCidrRouteMetric3=inetCidrRouteMetric3, inetCidrRouteMetric4=inetCidrRouteMetric4, inetCidrRouteMetric5=inetCidrRouteMetric5, inetCidrRouteStatus=inetCidrRouteStatus, inetCidrRouteDiscards=inetCidrRouteDiscards) # Groups mibBuilder.exportSymbols("IP-FORWARD-MIB", ipForwardMultiPathGroup=ipForwardMultiPathGroup, ipForwardCidrRouteGroup=ipForwardCidrRouteGroup, inetForwardCidrRouteGroup=inetForwardCidrRouteGroup) # Compliances mibBuilder.exportSymbols("IP-FORWARD-MIB", ipForwardCompliance=ipForwardCompliance, ipForwardOldCompliance=ipForwardOldCompliance, ipForwardFullCompliance=ipForwardFullCompliance, ipForwardReadOnlyCompliance=ipForwardReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PIM-MIB.py0000644000014400001440000007253411736645137020076 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PIM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:26 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ipMRouteGroup, ipMRouteNextHopAddress, ipMRouteNextHopGroup, ipMRouteNextHopIfIndex, ipMRouteNextHopSource, ipMRouteNextHopSourceMask, ipMRouteSource, ipMRouteSourceMask, ) = mibBuilder.importSymbols("IPMROUTE-STD-MIB", "ipMRouteGroup", "ipMRouteNextHopAddress", "ipMRouteNextHopGroup", "ipMRouteNextHopIfIndex", "ipMRouteNextHopSource", "ipMRouteNextHopSourceMask", "ipMRouteSource", "ipMRouteSourceMask") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, experimental, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "experimental") ( RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue") # Objects pimMIB = ModuleIdentity((1, 3, 6, 1, 3, 61)).setRevisions(("2000-09-28 00:00",)) if mibBuilder.loadTexts: pimMIB.setOrganization("IETF IDMR Working Group.") if mibBuilder.loadTexts: pimMIB.setContactInfo(" Dave Thaler\nMicrosoft Corporation\nOne Microsoft Way\nRedmond, WA 98052-6399\nUS\n\nPhone: +1 425 703 8835\nEMail: dthaler@microsoft.com") if mibBuilder.loadTexts: pimMIB.setDescription("The MIB module for management of PIM routers.") pimMIBObjects = MibIdentifier((1, 3, 6, 1, 3, 61, 1)) pimTraps = MibIdentifier((1, 3, 6, 1, 3, 61, 1, 0)) pim = MibIdentifier((1, 3, 6, 1, 3, 61, 1, 1)) pimJoinPruneInterval = MibScalar((1, 3, 6, 1, 3, 61, 1, 1, 1), Integer32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: pimJoinPruneInterval.setDescription("The default interval at which periodic PIM-SM Join/Prune\nmessages are to be sent.") pimInterfaceTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 2)) if mibBuilder.loadTexts: pimInterfaceTable.setDescription("The (conceptual) table listing the router's PIM interfaces.\nIGMP and PIM are enabled on all interfaces listed in this\ntable.") pimInterfaceEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 2, 1)).setIndexNames((0, "PIM-MIB", "pimInterfaceIfIndex")) if mibBuilder.loadTexts: pimInterfaceEntry.setDescription("An entry (conceptual row) in the pimInterfaceTable.") pimInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimInterfaceIfIndex.setDescription("The ifIndex value of this PIM interface.") pimInterfaceAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceAddress.setDescription("The IP address of the PIM interface.") pimInterfaceNetMask = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceNetMask.setDescription("The network mask for the IP address of the PIM interface.") pimInterfaceMode = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("dense", 1), ("sparse", 2), ("sparseDense", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceMode.setDescription("The configured mode of this PIM interface. A value of\nsparseDense is only valid for PIMv1.") pimInterfaceDR = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimInterfaceDR.setDescription("The Designated Router on this PIM interface. For point-to-\npoint interfaces, this object has the value 0.0.0.0.") pimInterfaceHelloInterval = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 6), Integer32().clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceHelloInterval.setDescription("The frequency at which PIM Hello messages are transmitted\non this interface.") pimInterfaceStatus = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceStatus.setDescription("The status of this entry. Creating the entry enables PIM\non the interface; destroying the entry disables PIM on the\ninterface.") pimInterfaceJoinPruneInterval = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 8), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceJoinPruneInterval.setDescription("The frequency at which PIM Join/Prune messages are\ntransmitted on this PIM interface. The default value of\nthis object is the pimJoinPruneInterval.") pimInterfaceCBSRPreference = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimInterfaceCBSRPreference.setDescription("The preference value for the local interface as a candidate\nbootstrap router. The value of -1 is used to indicate that\nthe local interface is not a candidate BSR interface.") pimNeighborTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 3)) if mibBuilder.loadTexts: pimNeighborTable.setDescription("The (conceptual) table listing the router's PIM neighbors.") pimNeighborEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 3, 1)).setIndexNames((0, "PIM-MIB", "pimNeighborAddress")) if mibBuilder.loadTexts: pimNeighborEntry.setDescription("An entry (conceptual row) in the pimNeighborTable.") pimNeighborAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 3, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimNeighborAddress.setDescription("The IP address of the PIM neighbor for which this entry\ncontains information.") pimNeighborIfIndex = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 3, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborIfIndex.setDescription("The value of ifIndex for the interface used to reach this\nPIM neighbor.") pimNeighborUpTime = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 3, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborUpTime.setDescription("The time since this PIM neighbor (last) became a neighbor\nof the local router.") pimNeighborExpiryTime = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 3, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborExpiryTime.setDescription("The minimum time remaining before this PIM neighbor will be\naged out.") pimNeighborMode = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("dense", 1), ("sparse", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimNeighborMode.setDescription("The active PIM mode of this neighbor. This object is\ndeprecated for PIMv2 routers since all neighbors on the\ninterface must be either dense or sparse as determined by\nthe protocol running on the interface.") pimIpMRouteTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 4)) if mibBuilder.loadTexts: pimIpMRouteTable.setDescription("The (conceptual) table listing PIM-specific information on\na subset of the rows of the ipMRouteTable defined in the IP\nMulticast MIB.") pimIpMRouteEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 4, 1)).setIndexNames((0, "IPMROUTE-STD-MIB", "ipMRouteGroup"), (0, "IPMROUTE-STD-MIB", "ipMRouteSource"), (0, "IPMROUTE-STD-MIB", "ipMRouteSourceMask")) if mibBuilder.loadTexts: pimIpMRouteEntry.setDescription("An entry (conceptual row) in the pimIpMRouteTable. There\nis one entry per entry in the ipMRouteTable whose incoming\ninterface is running PIM.") pimIpMRouteUpstreamAssertTimer = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 4, 1, 1), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimIpMRouteUpstreamAssertTimer.setDescription("The time remaining before the router changes its upstream\nneighbor back to its RPF neighbor. This timer is called the\nAssert timer in the PIM Sparse and Dense mode specification.\n\n\nA value of 0 indicates that no Assert has changed the\nupstream neighbor away from the RPF neighbor.") pimIpMRouteAssertMetric = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimIpMRouteAssertMetric.setDescription("The metric advertised by the assert winner on the upstream\ninterface, or 0 if no such assert is in received.") pimIpMRouteAssertMetricPref = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimIpMRouteAssertMetricPref.setDescription("The preference advertised by the assert winner on the\nupstream interface, or 0 if no such assert is in effect.") pimIpMRouteAssertRPTBit = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 4, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimIpMRouteAssertRPTBit.setDescription("The value of the RPT-bit advertised by the assert winner on\nthe upstream interface, or false if no such assert is in\neffect.") pimIpMRouteFlags = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 4, 1, 5), Bits().subtype(namedValues=NamedValues(("rpt", 0), ("spt", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimIpMRouteFlags.setDescription("This object describes PIM-specific flags related to a\nmulticast state entry. See the PIM Sparse Mode\nspecification for the meaning of the RPT and SPT bits.") pimRPTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 5)) if mibBuilder.loadTexts: pimRPTable.setDescription("The (conceptual) table listing PIM version 1 information\nfor the Rendezvous Points (RPs) for IP multicast groups.\nThis table is deprecated since its function is replaced by\nthe pimRPSetTable for PIM version 2.") pimRPEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 5, 1)).setIndexNames((0, "PIM-MIB", "pimRPGroupAddress"), (0, "PIM-MIB", "pimRPAddress")) if mibBuilder.loadTexts: pimRPEntry.setDescription("An entry (conceptual row) in the pimRPTable. There is one\nentry per RP address for each IP multicast group.") pimRPGroupAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 5, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimRPGroupAddress.setDescription("The IP multicast group address for which this entry\ncontains information about an RP.") pimRPAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 5, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimRPAddress.setDescription("The unicast address of the RP.") pimRPState = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 5, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimRPState.setDescription("The state of the RP.") pimRPStateTimer = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 5, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimRPStateTimer.setDescription("The minimum time remaining before the next state change.\nWhen pimRPState is up, this is the minimum time which must\nexpire until it can be declared down. When pimRPState is\ndown, this is the time until it will be declared up (in\norder to retry).") pimRPLastChange = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 5, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimRPLastChange.setDescription("The value of sysUpTime at the time when the corresponding\ninstance of pimRPState last changed its value.") pimRPRowStatus = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 5, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimRPRowStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table.") pimRPSetTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 6)) if mibBuilder.loadTexts: pimRPSetTable.setDescription("The (conceptual) table listing PIM information for\ncandidate Rendezvous Points (RPs) for IP multicast groups.\nWhen the local router is the BSR, this information is\nobtained from received Candidate-RP-Advertisements. When\nthe local router is not the BSR, this information is\nobtained from received RP-Set messages.") pimRPSetEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 6, 1)).setIndexNames((0, "PIM-MIB", "pimRPSetComponent"), (0, "PIM-MIB", "pimRPSetGroupAddress"), (0, "PIM-MIB", "pimRPSetGroupMask"), (0, "PIM-MIB", "pimRPSetAddress")) if mibBuilder.loadTexts: pimRPSetEntry.setDescription("An entry (conceptual row) in the pimRPSetTable.") pimRPSetGroupAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 6, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimRPSetGroupAddress.setDescription("The IP multicast group address which, when combined with\npimRPSetGroupMask, gives the group prefix for which this\nentry contains information about the Candidate-RP.") pimRPSetGroupMask = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 6, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimRPSetGroupMask.setDescription("The multicast group address mask which, when combined with\npimRPSetGroupAddress, gives the group prefix for which this\nentry contains information about the Candidate-RP.") pimRPSetAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 6, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimRPSetAddress.setDescription("The IP address of the Candidate-RP.") pimRPSetHoldTime = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimRPSetHoldTime.setDescription("The holdtime of a Candidate-RP. If the local router is not\nthe BSR, this value is 0.") pimRPSetExpiryTime = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 6, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimRPSetExpiryTime.setDescription("The minimum time remaining before the Candidate-RP will be\ndeclared down. If the local router is not the BSR, this\nvalue is 0.") pimRPSetComponent = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimRPSetComponent.setDescription(" A number uniquely identifying the component. Each\nprotocol instance connected to a separate domain should have\na different index value.") pimIpMRouteNextHopTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 7)) if mibBuilder.loadTexts: pimIpMRouteNextHopTable.setDescription("The (conceptual) table listing PIM-specific information on\na subset of the rows of the ipMRouteNextHopTable defined in\nthe IP Multicast MIB.") pimIpMRouteNextHopEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 7, 1)).setIndexNames((0, "IPMROUTE-STD-MIB", "ipMRouteNextHopGroup"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopSource"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopSourceMask"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopIfIndex"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopAddress")) if mibBuilder.loadTexts: pimIpMRouteNextHopEntry.setDescription("An entry (conceptual row) in the pimIpMRouteNextHopTable.\nThere is one entry per entry in the ipMRouteNextHopTable\nwhose interface is running PIM and whose\nipMRouteNextHopState is pruned(1).") pimIpMRouteNextHopPruneReason = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 7, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("prune", 2), ("assert", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pimIpMRouteNextHopPruneReason.setDescription("This object indicates why the downstream interface was\npruned, whether in response to a PIM prune message or due to\nPIM Assert processing.") pimCandidateRPTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 11)) if mibBuilder.loadTexts: pimCandidateRPTable.setDescription("The (conceptual) table listing the IP multicast groups for\nwhich the local router is to advertise itself as a\nCandidate-RP when the value of pimComponentCRPHoldTime is\nnon-zero. If this table is empty, then the local router\n\n\nwill advertise itself as a Candidate-RP for all groups\n(providing the value of pimComponentCRPHoldTime is non-\nzero).") pimCandidateRPEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 11, 1)).setIndexNames((0, "PIM-MIB", "pimCandidateRPGroupAddress"), (0, "PIM-MIB", "pimCandidateRPGroupMask")) if mibBuilder.loadTexts: pimCandidateRPEntry.setDescription("An entry (conceptual row) in the pimCandidateRPTable.") pimCandidateRPGroupAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 11, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimCandidateRPGroupAddress.setDescription("The IP multicast group address which, when combined with\npimCandidateRPGroupMask, identifies a group prefix for which\nthe local router will advertise itself as a Candidate-RP.") pimCandidateRPGroupMask = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 11, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimCandidateRPGroupMask.setDescription("The multicast group address mask which, when combined with\npimCandidateRPGroupMask, identifies a group prefix for which\nthe local router will advertise itself as a Candidate-RP.") pimCandidateRPAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 11, 1, 3), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimCandidateRPAddress.setDescription("The (unicast) address of the interface which will be\n\n\nadvertised as a Candidate-RP.") pimCandidateRPRowStatus = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 11, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimCandidateRPRowStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table.") pimComponentTable = MibTable((1, 3, 6, 1, 3, 61, 1, 1, 12)) if mibBuilder.loadTexts: pimComponentTable.setDescription("The (conceptual) table containing objects specific to a PIM\ndomain. One row exists for each domain to which the router\nis connected. A PIM-SM domain is defined as an area of the\nnetwork over which Bootstrap messages are forwarded.\nTypically, a PIM-SM router will be a member of exactly one\ndomain. This table also supports, however, routers which\nmay form a border between two PIM-SM domains and do not\nforward Bootstrap messages between them.") pimComponentEntry = MibTableRow((1, 3, 6, 1, 3, 61, 1, 1, 12, 1)).setIndexNames((0, "PIM-MIB", "pimComponentIndex")) if mibBuilder.loadTexts: pimComponentEntry.setDescription("An entry (conceptual row) in the pimComponentTable.") pimComponentIndex = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pimComponentIndex.setDescription("A number uniquely identifying the component. Each protocol\ninstance connected to a separate domain should have a\ndifferent index value. Routers that only support membership\nin a single PIM-SM domain should use a pimComponentIndex\nvalue of 1.") pimComponentBSRAddress = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 12, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimComponentBSRAddress.setDescription("The IP address of the bootstrap router (BSR) for the local\nPIM region.") pimComponentBSRExpiryTime = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 12, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pimComponentBSRExpiryTime.setDescription("The minimum time remaining before the bootstrap router in\nthe local domain will be declared down. For candidate BSRs,\nthis is the time until the component sends an RP-Set\nmessage. For other routers, this is the time until it may\naccept an RP-Set message from a lower candidate BSR.") pimComponentCRPHoldTime = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 12, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimComponentCRPHoldTime.setDescription("The holdtime of the component when it is a candidate RP in\nthe local domain. The value of 0 is used to indicate that\nthe local system is not a Candidate-RP.") pimComponentStatus = MibTableColumn((1, 3, 6, 1, 3, 61, 1, 1, 12, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pimComponentStatus.setDescription("The status of this entry. Creating the entry creates\nanother protocol instance; destroying the entry disables a\nprotocol instance.") pimMIBConformance = MibIdentifier((1, 3, 6, 1, 3, 61, 2)) pimMIBCompliances = MibIdentifier((1, 3, 6, 1, 3, 61, 2, 1)) pimMIBGroups = MibIdentifier((1, 3, 6, 1, 3, 61, 2, 2)) # Augmentions # Notifications pimNeighborLoss = NotificationType((1, 3, 6, 1, 3, 61, 1, 0, 1)).setObjects(*(("PIM-MIB", "pimNeighborIfIndex"), ) ) if mibBuilder.loadTexts: pimNeighborLoss.setDescription("A pimNeighborLoss trap signifies the loss of an adjacency\nwith a neighbor. This trap should be generated when the\nneighbor timer expires, and the router has no other\nneighbors on the same interface with a lower IP address than\nitself.") # Groups pimNotificationGroup = NotificationGroup((1, 3, 6, 1, 3, 61, 2, 2, 1)).setObjects(*(("PIM-MIB", "pimNeighborLoss"), ) ) if mibBuilder.loadTexts: pimNotificationGroup.setDescription("A collection of notifications for signaling important PIM\nevents.") pimV2MIBGroup = ObjectGroup((1, 3, 6, 1, 3, 61, 2, 2, 2)).setObjects(*(("PIM-MIB", "pimJoinPruneInterval"), ("PIM-MIB", "pimInterfaceMode"), ("PIM-MIB", "pimInterfaceDR"), ("PIM-MIB", "pimRPSetExpiryTime"), ("PIM-MIB", "pimNeighborIfIndex"), ("PIM-MIB", "pimInterfaceStatus"), ("PIM-MIB", "pimComponentCRPHoldTime"), ("PIM-MIB", "pimComponentBSRAddress"), ("PIM-MIB", "pimNeighborExpiryTime"), ("PIM-MIB", "pimInterfaceHelloInterval"), ("PIM-MIB", "pimComponentStatus"), ("PIM-MIB", "pimInterfaceCBSRPreference"), ("PIM-MIB", "pimInterfaceJoinPruneInterval"), ("PIM-MIB", "pimIpMRouteFlags"), ("PIM-MIB", "pimInterfaceNetMask"), ("PIM-MIB", "pimRPSetHoldTime"), ("PIM-MIB", "pimIpMRouteUpstreamAssertTimer"), ("PIM-MIB", "pimComponentBSRExpiryTime"), ("PIM-MIB", "pimNeighborUpTime"), ("PIM-MIB", "pimInterfaceAddress"), ) ) if mibBuilder.loadTexts: pimV2MIBGroup.setDescription("A collection of objects to support management of PIM Sparse\nMode (version 2) routers.") pimV2CandidateRPMIBGroup = ObjectGroup((1, 3, 6, 1, 3, 61, 2, 2, 3)).setObjects(*(("PIM-MIB", "pimCandidateRPAddress"), ("PIM-MIB", "pimCandidateRPRowStatus"), ) ) if mibBuilder.loadTexts: pimV2CandidateRPMIBGroup.setDescription("A collection of objects to support configuration of which\ngroups a router is to advertise itself as a Candidate-RP.") pimV1MIBGroup = ObjectGroup((1, 3, 6, 1, 3, 61, 2, 2, 4)).setObjects(*(("PIM-MIB", "pimJoinPruneInterval"), ("PIM-MIB", "pimInterfaceMode"), ("PIM-MIB", "pimInterfaceStatus"), ("PIM-MIB", "pimRPRowStatus"), ("PIM-MIB", "pimNeighborIfIndex"), ("PIM-MIB", "pimRPLastChange"), ("PIM-MIB", "pimRPStateTimer"), ("PIM-MIB", "pimNeighborExpiryTime"), ("PIM-MIB", "pimRPState"), ("PIM-MIB", "pimInterfaceHelloInterval"), ("PIM-MIB", "pimInterfaceJoinPruneInterval"), ("PIM-MIB", "pimNeighborMode"), ("PIM-MIB", "pimInterfaceNetMask"), ("PIM-MIB", "pimInterfaceDR"), ("PIM-MIB", "pimNeighborUpTime"), ("PIM-MIB", "pimInterfaceAddress"), ) ) if mibBuilder.loadTexts: pimV1MIBGroup.setDescription("A collection of objects to support management of PIM\n(version 1) routers.") pimDenseV2MIBGroup = ObjectGroup((1, 3, 6, 1, 3, 61, 2, 2, 5)).setObjects(*(("PIM-MIB", "pimInterfaceMode"), ("PIM-MIB", "pimInterfaceDR"), ("PIM-MIB", "pimInterfaceStatus"), ("PIM-MIB", "pimNeighborIfIndex"), ("PIM-MIB", "pimInterfaceHelloInterval"), ("PIM-MIB", "pimInterfaceNetMask"), ("PIM-MIB", "pimNeighborExpiryTime"), ("PIM-MIB", "pimNeighborUpTime"), ("PIM-MIB", "pimInterfaceAddress"), ) ) if mibBuilder.loadTexts: pimDenseV2MIBGroup.setDescription("A collection of objects to support management of PIM Dense\nMode (version 2) routers.") pimNextHopGroup = ObjectGroup((1, 3, 6, 1, 3, 61, 2, 2, 6)).setObjects(*(("PIM-MIB", "pimIpMRouteNextHopPruneReason"), ) ) if mibBuilder.loadTexts: pimNextHopGroup.setDescription("A collection of optional objects to provide per-next hop\ninformation for diagnostic purposes. Supporting this group\nmay add a large number of instances to a tree walk, but the\ninformation in this group can be extremely useful in\ntracking down multicast connectivity problems.") pimAssertGroup = ObjectGroup((1, 3, 6, 1, 3, 61, 2, 2, 7)).setObjects(*(("PIM-MIB", "pimIpMRouteAssertRPTBit"), ("PIM-MIB", "pimIpMRouteAssertMetric"), ("PIM-MIB", "pimIpMRouteAssertMetricPref"), ) ) if mibBuilder.loadTexts: pimAssertGroup.setDescription("A collection of optional objects to provide extra\ninformation about the assert election process. There is no\nprotocol reason to keep such information, but some\nimplementations may already keep this information and make\nit available. These objects can also be very useful in\ndebugging connectivity or duplicate packet problems,\nespecially if the assert winner does not support the PIM and\nIP Multicast MIBs.") # Compliances pimV1MIBCompliance = ModuleCompliance((1, 3, 6, 1, 3, 61, 2, 1, 1)).setObjects(*(("PIM-MIB", "pimV1MIBGroup"), ) ) if mibBuilder.loadTexts: pimV1MIBCompliance.setDescription("The compliance statement for routers running PIMv1 and\nimplementing the PIM MIB.") pimSparseV2MIBCompliance = ModuleCompliance((1, 3, 6, 1, 3, 61, 2, 1, 2)).setObjects(*(("PIM-MIB", "pimV2MIBGroup"), ("PIM-MIB", "pimV2CandidateRPMIBGroup"), ) ) if mibBuilder.loadTexts: pimSparseV2MIBCompliance.setDescription("The compliance statement for routers running PIM Sparse\nMode and implementing the PIM MIB.") pimDenseV2MIBCompliance = ModuleCompliance((1, 3, 6, 1, 3, 61, 2, 1, 3)).setObjects(*(("PIM-MIB", "pimDenseV2MIBGroup"), ) ) if mibBuilder.loadTexts: pimDenseV2MIBCompliance.setDescription("The compliance statement for routers running PIM Dense Mode\nand implementing the PIM MIB.") # Exports # Module identity mibBuilder.exportSymbols("PIM-MIB", PYSNMP_MODULE_ID=pimMIB) # Objects mibBuilder.exportSymbols("PIM-MIB", pimMIB=pimMIB, pimMIBObjects=pimMIBObjects, pimTraps=pimTraps, pim=pim, pimJoinPruneInterval=pimJoinPruneInterval, pimInterfaceTable=pimInterfaceTable, pimInterfaceEntry=pimInterfaceEntry, pimInterfaceIfIndex=pimInterfaceIfIndex, pimInterfaceAddress=pimInterfaceAddress, pimInterfaceNetMask=pimInterfaceNetMask, pimInterfaceMode=pimInterfaceMode, pimInterfaceDR=pimInterfaceDR, pimInterfaceHelloInterval=pimInterfaceHelloInterval, pimInterfaceStatus=pimInterfaceStatus, pimInterfaceJoinPruneInterval=pimInterfaceJoinPruneInterval, pimInterfaceCBSRPreference=pimInterfaceCBSRPreference, pimNeighborTable=pimNeighborTable, pimNeighborEntry=pimNeighborEntry, pimNeighborAddress=pimNeighborAddress, pimNeighborIfIndex=pimNeighborIfIndex, pimNeighborUpTime=pimNeighborUpTime, pimNeighborExpiryTime=pimNeighborExpiryTime, pimNeighborMode=pimNeighborMode, pimIpMRouteTable=pimIpMRouteTable, pimIpMRouteEntry=pimIpMRouteEntry, pimIpMRouteUpstreamAssertTimer=pimIpMRouteUpstreamAssertTimer, pimIpMRouteAssertMetric=pimIpMRouteAssertMetric, pimIpMRouteAssertMetricPref=pimIpMRouteAssertMetricPref, pimIpMRouteAssertRPTBit=pimIpMRouteAssertRPTBit, pimIpMRouteFlags=pimIpMRouteFlags, pimRPTable=pimRPTable, pimRPEntry=pimRPEntry, pimRPGroupAddress=pimRPGroupAddress, pimRPAddress=pimRPAddress, pimRPState=pimRPState, pimRPStateTimer=pimRPStateTimer, pimRPLastChange=pimRPLastChange, pimRPRowStatus=pimRPRowStatus, pimRPSetTable=pimRPSetTable, pimRPSetEntry=pimRPSetEntry, pimRPSetGroupAddress=pimRPSetGroupAddress, pimRPSetGroupMask=pimRPSetGroupMask, pimRPSetAddress=pimRPSetAddress, pimRPSetHoldTime=pimRPSetHoldTime, pimRPSetExpiryTime=pimRPSetExpiryTime, pimRPSetComponent=pimRPSetComponent, pimIpMRouteNextHopTable=pimIpMRouteNextHopTable, pimIpMRouteNextHopEntry=pimIpMRouteNextHopEntry, pimIpMRouteNextHopPruneReason=pimIpMRouteNextHopPruneReason, pimCandidateRPTable=pimCandidateRPTable, pimCandidateRPEntry=pimCandidateRPEntry, pimCandidateRPGroupAddress=pimCandidateRPGroupAddress, pimCandidateRPGroupMask=pimCandidateRPGroupMask, pimCandidateRPAddress=pimCandidateRPAddress, pimCandidateRPRowStatus=pimCandidateRPRowStatus, pimComponentTable=pimComponentTable, pimComponentEntry=pimComponentEntry, pimComponentIndex=pimComponentIndex, pimComponentBSRAddress=pimComponentBSRAddress, pimComponentBSRExpiryTime=pimComponentBSRExpiryTime, pimComponentCRPHoldTime=pimComponentCRPHoldTime, pimComponentStatus=pimComponentStatus, pimMIBConformance=pimMIBConformance, pimMIBCompliances=pimMIBCompliances, pimMIBGroups=pimMIBGroups) # Notifications mibBuilder.exportSymbols("PIM-MIB", pimNeighborLoss=pimNeighborLoss) # Groups mibBuilder.exportSymbols("PIM-MIB", pimNotificationGroup=pimNotificationGroup, pimV2MIBGroup=pimV2MIBGroup, pimV2CandidateRPMIBGroup=pimV2CandidateRPMIBGroup, pimV1MIBGroup=pimV1MIBGroup, pimDenseV2MIBGroup=pimDenseV2MIBGroup, pimNextHopGroup=pimNextHopGroup, pimAssertGroup=pimAssertGroup) # Compliances mibBuilder.exportSymbols("PIM-MIB", pimV1MIBCompliance=pimV1MIBCompliance, pimSparseV2MIBCompliance=pimSparseV2MIBCompliance, pimDenseV2MIBCompliance=pimDenseV2MIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/POWER-ETHERNET-MIB.py0000644000014400001440000005233311736645137021554 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python POWER-ETHERNET-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:27 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue") # Objects powerEthernetMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 105)).setRevisions(("2003-11-24 00:00",)) if mibBuilder.loadTexts: powerEthernetMIB.setOrganization("IETF Ethernet Interfaces and Hub MIB\nWorking Group") if mibBuilder.loadTexts: powerEthernetMIB.setContactInfo("\nWG Charter:\nhttp://www.ietf.org/html.charters/hubmib-charter.html\n\nMailing lists:\nGeneral Discussion: hubmib@ietf.org\nTo Subscribe: hubmib-requests@ietf.org\nIn Body: subscribe your_email_address\n\nChair: Dan Romascanu\nAvaya\nTel: +972-3-645-8414\nEmail: dromasca@avaya.com\n\nEditor: Avi Berger\nPowerDsine Inc.\nTel: 972-9-7755100 Ext 307\nFax: 972-9-7755120\nE-mail: avib@PowerDsine.com") if mibBuilder.loadTexts: powerEthernetMIB.setDescription("The MIB module for managing Power Source Equipment\n(PSE) working according to the IEEE 802.af Powered\nEthernet (DTE Power via MDI) standard.\n\n The following terms are used throughout this\n MIB module. For complete formal definitions,\n the IEEE 802.3 standards should be consulted\n wherever possible:\n\n Group - A recommended, but optional, entity\n defined by the IEEE 802.3 management standard,\n in order to support a modular numbering scheme.\n The classical example allows an implementor to\n represent field-replaceable units as groups of\n ports, with the port numbering matching the\n modular hardware implementation.\n\nPort - This entity identifies the port within the group\nfor which this entry contains information. The numbering\nscheme for ports is implementation specific.\n\nCopyright (c) The Internet Society (2003). This version\nof this MIB module is part of RFC 3621; See the RFC\nitself for full legal notices.") pethNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 105, 0)) pethObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 105, 1)) pethPsePortTable = MibTable((1, 3, 6, 1, 2, 1, 105, 1, 1)) if mibBuilder.loadTexts: pethPsePortTable.setDescription("A table of objects that display and control the power\ncharacteristics of power Ethernet ports on a Power Source\nEntity (PSE) device. This group will be implemented in\nmanaged power Ethernet switches and mid-span devices.\nValues of all read-write objects in this table are\npersistent at restart/reboot.") pethPsePortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 105, 1, 1, 1)).setIndexNames((0, "POWER-ETHERNET-MIB", "pethPsePortGroupIndex"), (0, "POWER-ETHERNET-MIB", "pethPsePortIndex")) if mibBuilder.loadTexts: pethPsePortEntry.setDescription("A set of objects that display and control the power\ncharacteristics of a power Ethernet PSE port.") pethPsePortGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pethPsePortGroupIndex.setDescription("This variable uniquely identifies the group\ncontaining the port to which a power Ethernet PSE is\nconnected. Group means box in the stack, module in a\nrack and the value 1 MUST be used for non-modular devices.\nFurthermore, the same value MUST be used in this variable,\npethMainPseGroupIndex, and pethNotificationControlGroupIndex\nto refer to a given box in a stack or module in the rack.") pethPsePortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pethPsePortIndex.setDescription("This variable uniquely identifies the power Ethernet PSE\nport within group pethPsePortGroupIndex to which the\npower Ethernet PSE entry is connected.") pethPsePortAdminEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 3), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pethPsePortAdminEnable.setDescription("true (1) An interface which can provide the PSE functions.\nfalse(2) The interface will act as it would if it had no PSE\nfunction.") pethPsePortPowerPairsControlAbility = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortPowerPairsControlAbility.setDescription("Describes the capability of controlling the power pairs\nfunctionality to switch pins for sourcing power.\nThe value true indicate that the device has the capability\nto control the power pairs. When false the PSE Pinout\nAlternative used cannot be controlled through the\nPethPsePortAdminEnable attribute.") pethPsePortPowerPairs = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("signal", 1), ("spare", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pethPsePortPowerPairs.setDescription("Describes or controls the pairs in use. If the value of\npethPsePortPowerPairsControl is true, this object is\nwritable.\nA value of signal(1) means that the signal pairs\nonly are in use.\nA value of spare(2) means that the spare pairs\nonly are in use.") pethPsePortDetectionStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(6,4,2,3,1,5,)).subtype(namedValues=NamedValues(("disabled", 1), ("searching", 2), ("deliveringPower", 3), ("fault", 4), ("test", 5), ("otherFault", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortDetectionStatus.setDescription("Describes the operational status of the port PD detection.\nA value of disabled(1)- indicates that the PSE State diagram\nis in the state DISABLED.\nA value of deliveringPower(3) - indicates that the PSE State\ndiagram is in the state POWER_ON for a duration greater than\ntlim max (see IEEE Std 802.3af Table 33-5 tlim).\nA value of fault(4) - indicates that the PSE State diagram is\nin the state TEST_ERROR.\nA value of test(5) - indicates that the PSE State diagram is\nin the state TEST_MODE.\nA value of otherFault(6) - indicates that the PSE State\ndiagram is in the state IDLE due to the variable\nerror_conditions.\nA value of searching(2)- indicates the PSE State diagram is\nin a state other than those listed above.") pethPsePortPowerPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("critical", 1), ("high", 2), ("low", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pethPsePortPowerPriority.setDescription("This object controls the priority of the port from the point\nof view of a power management algorithm. The priority that\nis set by this variable could be used by a control mechanism\nthat prevents over current situations by disconnecting first\nports with lower power priority. Ports that connect devices\ncritical to the operation of the network - like the E911\ntelephones ports - should be set to higher priority.") pethPsePortMPSAbsentCounter = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortMPSAbsentCounter.setDescription("This counter is incremented when the PSE state diagram\ntransitions directly from the state POWER_ON to the\n\n\n\nstate IDLE due to tmpdo_timer_done being asserted.") pethPsePortType = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 9), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pethPsePortType.setDescription("A manager will set the value of this variable to indicate\nthe type of powered device that is connected to the port.\nThe default value supplied by the agent if no value has\never been set should be a zero-length octet string.") pethPsePortPowerClassifications = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(5,3,4,1,2,)).subtype(namedValues=NamedValues(("class0", 1), ("class1", 2), ("class2", 3), ("class3", 4), ("class4", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortPowerClassifications.setDescription("Classification is a way to tag different terminals on the\nPower over LAN network according to their power consumption.\nDevices such as IP telephones, WLAN access points and others,\nwill be classified according to their power requirements.\n\nThe meaning of the classification labels is defined in the\nIEEE specification.\n\nThis variable is valid only while a PD is being powered,\nthat is, while the attribute pethPsePortDetectionStatus\nis reporting the enumeration deliveringPower.") pethPsePortInvalidSignatureCounter = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortInvalidSignatureCounter.setDescription("This counter is incremented when the PSE state diagram\nenters the state SIGNATURE_INVALID.") pethPsePortPowerDeniedCounter = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortPowerDeniedCounter.setDescription("This counter is incremented when the PSE state diagram\nenters the state POWER_DENIED.") pethPsePortOverLoadCounter = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortOverLoadCounter.setDescription("This counter is incremented when the PSE state diagram\nenters the state ERROR_DELAY_OVER.") pethPsePortShortCounter = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pethPsePortShortCounter.setDescription("This counter is incremented when the PSE state diagram\nenters the state ERROR_DELAY_SHORT.") pethMainPseObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 105, 1, 3)) pethMainPseTable = MibTable((1, 3, 6, 1, 2, 1, 105, 1, 3, 1)) if mibBuilder.loadTexts: pethMainPseTable.setDescription("A table of objects that display and control attributes\nof the main power source in a PSE device. Ethernet\nswitches are one example of boxes that would support\nthese objects.\nValues of all read-write objects in this table are\npersistent at restart/reboot.") pethMainPseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 105, 1, 3, 1, 1)).setIndexNames((0, "POWER-ETHERNET-MIB", "pethMainPseGroupIndex")) if mibBuilder.loadTexts: pethMainPseEntry.setDescription("A set of objects that display and control the Main\npower of a PSE. ") pethMainPseGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pethMainPseGroupIndex.setDescription("This variable uniquely identifies the group to which\npower Ethernet PSE is connected. Group means (box in\nthe stack, module in a rack) and the value 1 MUST be\nused for non-modular devices. Furthermore, the same\nvalue MUST be used in this variable, pethPsePortGroupIndex,\nand pethNotificationControlGroupIndex to refer to a\ngiven box in a stack or module in a rack.") pethMainPsePower = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 3, 1, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: pethMainPsePower.setDescription("The nominal power of the PSE expressed in Watts.") pethMainPseOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), ("faulty", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pethMainPseOperStatus.setDescription("The operational status of the main PSE.") pethMainPseConsumptionPower = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 3, 1, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pethMainPseConsumptionPower.setDescription("Measured usage power expressed in Watts.") pethMainPseUsageThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pethMainPseUsageThreshold.setDescription("The usage threshold expressed in percents for\ncomparing the measured power and initiating\nan alarm if the threshold is exceeded.") pethNotificationControl = MibIdentifier((1, 3, 6, 1, 2, 1, 105, 1, 4)) pethNotificationControlTable = MibTable((1, 3, 6, 1, 2, 1, 105, 1, 4, 1)) if mibBuilder.loadTexts: pethNotificationControlTable.setDescription("A table of objects that display and control the\nNotification on a PSE device.\nValues of all read-write objects in this table are\npersistent at restart/reboot.") pethNotificationControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 105, 1, 4, 1, 1)).setIndexNames((0, "POWER-ETHERNET-MIB", "pethNotificationControlGroupIndex")) if mibBuilder.loadTexts: pethNotificationControlEntry.setDescription("A set of objects that control the Notification events.") pethNotificationControlGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pethNotificationControlGroupIndex.setDescription("This variable uniquely identifies the group. Group\nmeans box in the stack, module in a rack and the value\n1 MUST be used for non-modular devices. Furthermore,\nthe same value MUST be used in this variable,\npethPsePortGroupIndex, and\npethMainPseGroupIndex to refer to a given box in a\nstack or module in a rack. ") pethNotificationControlEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 105, 1, 4, 1, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pethNotificationControlEnable.setDescription("This object controls, on a per-group basis, whether\nor not notifications from the agent are enabled. The\nvalue true(1) means that notifications are enabled; the\nvalue false(2) means that they are not.") pethConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 105, 2)) pethCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 105, 2, 1)) pethGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 105, 2, 2)) # Augmentions # Notifications pethPsePortOnOffNotification = NotificationType((1, 3, 6, 1, 2, 1, 105, 0, 1)).setObjects(*(("POWER-ETHERNET-MIB", "pethPsePortDetectionStatus"), ) ) if mibBuilder.loadTexts: pethPsePortOnOffNotification.setDescription(" This Notification indicates if Pse Port is delivering or\nnot power to the PD. This Notification SHOULD be sent on\nevery status change except in the searching mode.\nAt least 500 msec must elapse between notifications\nbeing emitted by the same object instance.") pethMainPowerUsageOnNotification = NotificationType((1, 3, 6, 1, 2, 1, 105, 0, 2)).setObjects(*(("POWER-ETHERNET-MIB", "pethMainPseConsumptionPower"), ) ) if mibBuilder.loadTexts: pethMainPowerUsageOnNotification.setDescription(" This Notification indicate PSE Threshold usage\nindication is on, the usage power is above the\nthreshold. At least 500 msec must elapse between\nnotifications being emitted by the same object\ninstance.") pethMainPowerUsageOffNotification = NotificationType((1, 3, 6, 1, 2, 1, 105, 0, 3)).setObjects(*(("POWER-ETHERNET-MIB", "pethMainPseConsumptionPower"), ) ) if mibBuilder.loadTexts: pethMainPowerUsageOffNotification.setDescription(" This Notification indicates PSE Threshold usage indication\noff, the usage power is below the threshold.\nAt least 500 msec must elapse between notifications being\nemitted by the same object instance.") # Groups pethPsePortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 105, 2, 2, 1)).setObjects(*(("POWER-ETHERNET-MIB", "pethPsePortShortCounter"), ("POWER-ETHERNET-MIB", "pethPsePortPowerDeniedCounter"), ("POWER-ETHERNET-MIB", "pethPsePortDetectionStatus"), ("POWER-ETHERNET-MIB", "pethPsePortType"), ("POWER-ETHERNET-MIB", "pethPsePortPowerClassifications"), ("POWER-ETHERNET-MIB", "pethPsePortMPSAbsentCounter"), ("POWER-ETHERNET-MIB", "pethPsePortInvalidSignatureCounter"), ("POWER-ETHERNET-MIB", "pethPsePortPowerPairsControlAbility"), ("POWER-ETHERNET-MIB", "pethPsePortPowerPriority"), ("POWER-ETHERNET-MIB", "pethPsePortAdminEnable"), ("POWER-ETHERNET-MIB", "pethPsePortOverLoadCounter"), ("POWER-ETHERNET-MIB", "pethPsePortPowerPairs"), ) ) if mibBuilder.loadTexts: pethPsePortGroup.setDescription("PSE Port objects.") pethMainPseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 105, 2, 2, 2)).setObjects(*(("POWER-ETHERNET-MIB", "pethMainPseUsageThreshold"), ("POWER-ETHERNET-MIB", "pethMainPseOperStatus"), ("POWER-ETHERNET-MIB", "pethMainPsePower"), ("POWER-ETHERNET-MIB", "pethMainPseConsumptionPower"), ) ) if mibBuilder.loadTexts: pethMainPseGroup.setDescription("Main PSE Objects. ") pethNotificationControlGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 105, 2, 2, 3)).setObjects(*(("POWER-ETHERNET-MIB", "pethNotificationControlEnable"), ) ) if mibBuilder.loadTexts: pethNotificationControlGroup.setDescription("Notification Control Objects. ") pethPsePortNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 105, 2, 2, 4)).setObjects(*(("POWER-ETHERNET-MIB", "pethPsePortOnOffNotification"), ) ) if mibBuilder.loadTexts: pethPsePortNotificationGroup.setDescription("Pse Port Notifications.") pethMainPowerNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 105, 2, 2, 5)).setObjects(*(("POWER-ETHERNET-MIB", "pethMainPowerUsageOffNotification"), ("POWER-ETHERNET-MIB", "pethMainPowerUsageOnNotification"), ) ) if mibBuilder.loadTexts: pethMainPowerNotificationGroup.setDescription("Main PSE Notifications.") # Compliances pethCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 105, 2, 1, 1)).setObjects(*(("POWER-ETHERNET-MIB", "pethNotificationControlGroup"), ("POWER-ETHERNET-MIB", "pethMainPowerNotificationGroup"), ("POWER-ETHERNET-MIB", "pethMainPseGroup"), ("POWER-ETHERNET-MIB", "pethPsePortNotificationGroup"), ("POWER-ETHERNET-MIB", "pethPsePortGroup"), ) ) if mibBuilder.loadTexts: pethCompliance.setDescription("Describes the requirements for conformance to the\nPower Ethernet MIB.") # Exports # Module identity mibBuilder.exportSymbols("POWER-ETHERNET-MIB", PYSNMP_MODULE_ID=powerEthernetMIB) # Objects mibBuilder.exportSymbols("POWER-ETHERNET-MIB", powerEthernetMIB=powerEthernetMIB, pethNotifications=pethNotifications, pethObjects=pethObjects, pethPsePortTable=pethPsePortTable, pethPsePortEntry=pethPsePortEntry, pethPsePortGroupIndex=pethPsePortGroupIndex, pethPsePortIndex=pethPsePortIndex, pethPsePortAdminEnable=pethPsePortAdminEnable, pethPsePortPowerPairsControlAbility=pethPsePortPowerPairsControlAbility, pethPsePortPowerPairs=pethPsePortPowerPairs, pethPsePortDetectionStatus=pethPsePortDetectionStatus, pethPsePortPowerPriority=pethPsePortPowerPriority, pethPsePortMPSAbsentCounter=pethPsePortMPSAbsentCounter, pethPsePortType=pethPsePortType, pethPsePortPowerClassifications=pethPsePortPowerClassifications, pethPsePortInvalidSignatureCounter=pethPsePortInvalidSignatureCounter, pethPsePortPowerDeniedCounter=pethPsePortPowerDeniedCounter, pethPsePortOverLoadCounter=pethPsePortOverLoadCounter, pethPsePortShortCounter=pethPsePortShortCounter, pethMainPseObjects=pethMainPseObjects, pethMainPseTable=pethMainPseTable, pethMainPseEntry=pethMainPseEntry, pethMainPseGroupIndex=pethMainPseGroupIndex, pethMainPsePower=pethMainPsePower, pethMainPseOperStatus=pethMainPseOperStatus, pethMainPseConsumptionPower=pethMainPseConsumptionPower, pethMainPseUsageThreshold=pethMainPseUsageThreshold, pethNotificationControl=pethNotificationControl, pethNotificationControlTable=pethNotificationControlTable, pethNotificationControlEntry=pethNotificationControlEntry, pethNotificationControlGroupIndex=pethNotificationControlGroupIndex, pethNotificationControlEnable=pethNotificationControlEnable, pethConformance=pethConformance, pethCompliances=pethCompliances, pethGroups=pethGroups) # Notifications mibBuilder.exportSymbols("POWER-ETHERNET-MIB", pethPsePortOnOffNotification=pethPsePortOnOffNotification, pethMainPowerUsageOnNotification=pethMainPowerUsageOnNotification, pethMainPowerUsageOffNotification=pethMainPowerUsageOffNotification) # Groups mibBuilder.exportSymbols("POWER-ETHERNET-MIB", pethPsePortGroup=pethPsePortGroup, pethMainPseGroup=pethMainPseGroup, pethNotificationControlGroup=pethNotificationControlGroup, pethPsePortNotificationGroup=pethPsePortNotificationGroup, pethMainPowerNotificationGroup=pethMainPowerNotificationGroup) # Compliances mibBuilder.exportSymbols("POWER-ETHERNET-MIB", pethCompliance=pethCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SNMP-REPEATER-MIB.py0000644000014400001440000031337011736645140021421 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SNMP-REPEATER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:39 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( OwnerString, ) = mibBuilder.importSymbols("IF-MIB", "OwnerString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, MacAddress, RowStatus, TextualConvention, TestAndIncr, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "MacAddress", "RowStatus", "TextualConvention", "TestAndIncr", "TimeStamp") # Types class OptMacAddr(TextualConvention, OctetString): displayHint = "1x:" subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(6,6),) # Objects snmpDot3RptrMgt = MibIdentifier((1, 3, 6, 1, 2, 1, 22)) rptrBasicPackage = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 1)) rptrRptrInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 1, 1)) rptrGroupCapacity = MibScalar((1, 3, 6, 1, 2, 1, 22, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrGroupCapacity.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThe rptrGroupCapacity is the number of groups\nthat can be contained within the repeater. Within\neach managed repeater, the groups are uniquely\nnumbered in the range from 1 to rptrGroupCapacity.\n\nSome groups may not be present in the repeater, in\nwhich case the actual number of groups present\nwill be less than rptrGroupCapacity. The number\nof groups present will never be greater than\nrptrGroupCapacity.\n\nNote: In practice, this will generally be the\nnumber of field-replaceable units (i.e., modules,\ncards, or boards) that can fit in the physical\nrepeater enclosure, and the group numbers will\ncorrespond to numbers marked on the physical\nenclosure.") rptrOperStatus = MibScalar((1, 3, 6, 1, 2, 1, 22, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(6,2,3,5,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("ok", 2), ("rptrFailure", 3), ("groupFailure", 4), ("portFailure", 5), ("generalFailure", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrOperStatus.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThe rptrOperStatus object indicates the\noperational state of the repeater. The\nrptrHealthText object may be consulted for more\nspecific information about the state of the\nrepeater's health.\n\nIn the case of multiple kinds of failures (e.g.,\nrepeater failure and port failure), the value of\nthis attribute shall reflect the highest priority\nfailure in the following order, listed highest\npriority first:\n\n rptrFailure(3)\n groupFailure(4)\n portFailure(5)\n generalFailure(6).") rptrHealthText = MibScalar((1, 3, 6, 1, 2, 1, 22, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrHealthText.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThe health text object is a text string that\nprovides information relevant to the operational\nstate of the repeater. Agents may use this string\nto provide detailed information on current\nfailures, including how they were detected, and/or\ninstructions for problem resolution. The contents\nare agent-specific.") rptrReset = MibScalar((1, 3, 6, 1, 2, 1, 22, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("noReset", 1), ("reset", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrReset.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nSetting this object to reset(2) causes a\ntransition to the START state of Fig 9-2 in\nsection 9 [IEEE 802.3 Std] for a 10Mb/s repeater,\nand the START state of Fig 27-2 in section 27\nof that standard for a 100Mb/s repeater.\n\nSetting this object to noReset(1) has no effect.\nThe agent will always return the value noReset(1)\nwhen this object is read.\n\nAfter receiving a request to set this variable to\nreset(2), the agent is allowed to delay the reset\nfor a short period. For example, the implementor\nmay choose to delay the reset long enough to allow\nthe SNMP response to be transmitted. In any\nevent, the SNMP response must be transmitted.\n\nThis action does not reset the management counters\ndefined in this document nor does it affect the\nportAdminStatus parameters. Included in this\naction is the execution of a disruptive Self-Test\nwith the following characteristics: a) The nature\nof the tests is not specified. b) The test resets\nthe repeater but without affecting management\ninformation about the repeater. c) The test does\nnot inject packets onto any segment. d) Packets\nreceived during the test may or may not be\ntransferred. e) The test does not interfere with\nmanagement functions.\n\nAfter performing this self-test, the agent will\nupdate the repeater health information (including\nrptrOperStatus and rptrHealthText), and send a\nrptrHealth trap.") rptrNonDisruptTest = MibScalar((1, 3, 6, 1, 2, 1, 22, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("noSelfTest", 1), ("selfTest", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrNonDisruptTest.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nSetting this object to selfTest(2) causes the\nrepeater to perform a agent-specific, non-\ndisruptive self-test that has the following\ncharacteristics: a) The nature of the tests is\nnot specified. b) The test does not change the\nstate of the repeater or management information\nabout the repeater. c) The test does not inject\npackets onto any segment. d) The test does not\nprevent the relay of any packets. e) The test\ndoes not interfere with management functions.\n\nAfter performing this test, the agent will update\nthe repeater health information (including\nrptrOperStatus and rptrHealthText) and send a\nrptrHealth trap.\n\nNote that this definition allows returning an\n'okay' result after doing a trivial test.\n\nSetting this object to noSelfTest(1) has no\neffect. The agent will always return the value\nnoSelfTest(1) when this object is read.") rptrTotalPartitionedPorts = MibScalar((1, 3, 6, 1, 2, 1, 22, 1, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTotalPartitionedPorts.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis object returns the total number of ports in\nthe repeater whose current state meets all three\nof the following criteria: rptrPortOperStatus\ndoes not have the value notPresent(3),\nrptrPortAdminStatus is enabled(1), and\nrptrPortAutoPartitionState is autoPartitioned(2).") rptrGroupInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 1, 2)) rptrGroupTable = MibTable((1, 3, 6, 1, 2, 1, 22, 1, 2, 1)) if mibBuilder.loadTexts: rptrGroupTable.setDescription("Table of descriptive and status information about\nthe groups of ports.") rptrGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 1, 2, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrGroupIndex")) if mibBuilder.loadTexts: rptrGroupEntry.setDescription("An entry in the table, containing information\nabout a single group of ports.") rptrGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrGroupIndex.setDescription("This object identifies the group within the\nsystem for which this entry contains\ninformation.") rptrGroupDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrGroupDescr.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nA textual description of the group. This value\nshould include the full name and version\nidentification of the group's hardware type and\nindicate how the group is differentiated from\nother types of groups in the repeater. Plug-in\nModule, Rev A' or 'Barney Rubble 10BASE-T 4-port\nSIMM socket Version 2.1' are examples of valid\ngroup descriptions.\n\nIt is mandatory that this only contain printable\nASCII characters.") rptrGroupObjectID = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 2, 1, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrGroupObjectID.setDescription("The vendor's authoritative identification of the\ngroup. This value may be allocated within the SMI\nenterprises subtree (1.3.6.1.4.1) and provides a\nstraight-forward and unambiguous means for\ndetermining what kind of group is being managed.\n\nFor example, this object could take the value\n1.3.6.1.4.1.4242.1.2.14 if vendor 'Flintstones,\nInc.' was assigned the subtree 1.3.6.1.4.1.4242,\nand had assigned the identifier\n1.3.6.1.4.1.4242.1.2.14 to its 'Wilma Flintstone\n6-Port FOIRL Plug-in Module.'") rptrGroupOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(5,3,6,2,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("operational", 2), ("malfunctioning", 3), ("notPresent", 4), ("underTest", 5), ("resetInProgress", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrGroupOperStatus.setDescription("An object that indicates the operational status\nof the group.\n\nA status of notPresent(4) indicates that the group\nis temporarily or permanently physically and/or\nlogically not a part of the repeater. It is an\nimplementation-specific matter as to whether the\nagent effectively removes notPresent entries from\nthe table.\n\nA status of operational(2) indicates that the\ngroup is functioning, and a status of\nmalfunctioning(3) indicates that the group is\nmalfunctioning in some way.") rptrGroupLastOperStatusChange = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 2, 1, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrGroupLastOperStatusChange.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nAn object that contains the value of sysUpTime at\nthe time when the last of the following occurred:\n 1) the agent cold- or warm-started;\n 2) the row for the group was created (such\n as when the group was added to the system); or\n 3) the value of rptrGroupOperStatus for the\n group changed.\n\nA value of zero indicates that the group's\noperational status has not changed since the agent\nlast restarted.") rptrGroupPortCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrGroupPortCapacity.setDescription("The rptrGroupPortCapacity is the number of ports\nthat can be contained within the group. Valid\nrange is 1-2147483647. Within each group, the\nports are uniquely numbered in the range from 1 to\nrptrGroupPortCapacity.\n\nSome ports may not be present in the system, in\nwhich case the actual number of ports present\nwill be less than the value of rptrGroupPortCapacity.\nThe number of ports present in the group will never\nbe greater than the value of rptrGroupPortCapacity.\n\nNote: In practice, this will generally be the\nnumber of ports on a module, card, or board, and\nthe port numbers will correspond to numbers marked\non the physical embodiment.") rptrPortInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 1, 3)) rptrPortTable = MibTable((1, 3, 6, 1, 2, 1, 22, 1, 3, 1)) if mibBuilder.loadTexts: rptrPortTable.setDescription("Table of descriptive and status information about\nthe repeater ports in the system. The number of\nentries is independent of the number of repeaters\nin the managed system.") rptrPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 1, 3, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrPortGroupIndex"), (0, "SNMP-REPEATER-MIB", "rptrPortIndex")) if mibBuilder.loadTexts: rptrPortEntry.setDescription("An entry in the table, containing information\nabout a single port.") rptrPortGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGroupIndex.setDescription("This object identifies the group containing the\nport for which this entry contains information.") rptrPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortIndex.setDescription("This object identifies the port within the group\nfor which this entry contains information. This\nidentifies the port independently from the repeater\nit may be attached to. The numbering scheme for\nports is implementation specific; however, this\nvalue can never be greater than\nrptrGroupPortCapacity for the associated group.") rptrPortAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAdminStatus.setDescription("Setting this object to disabled(2) disables the\nport. A disabled port neither transmits nor\nreceives. Once disabled, a port must be\nexplicitly enabled to restore operation. A port\nwhich is disabled when power is lost or when a\nreset is exerted shall remain disabled when normal\noperation resumes.\n\nThe admin status takes precedence over auto-\npartition and functionally operates between the\nauto-partition mechanism and the AUI/PMA.\n\nSetting this object to enabled(1) enables the port\nand exerts a BEGIN on the port's auto-partition\nstate machine.\n\n(In effect, when a port is disabled, the value of\nrptrPortAutoPartitionState for that port is frozen\nuntil the port is next enabled. When the port\nbecomes enabled, the rptrPortAutoPartitionState\nbecomes notAutoPartitioned(1), regardless of its\npre-disabling state.)") rptrPortAutoPartitionState = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 3, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notAutoPartitioned", 1), ("autoPartitioned", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortAutoPartitionState.setDescription("The autoPartitionState flag indicates whether the\nport is currently partitioned by the repeater's\nauto-partition protection.\n\nThe conditions that cause port partitioning are\nspecified in partition state machine in Sections\n9 and 27 of [IEEE 802.3 Std]. They are not\ndifferentiated here.") rptrPortOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 3, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("operational", 1), ("notOperational", 2), ("notPresent", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortOperStatus.setDescription("This object indicates the port's operational\nstatus. The notPresent(3) status indicates the\nport is physically removed (note this may or may\nnot be possible depending on the type of port.)\nThe operational(1) status indicates that the port\nis enabled (see rptrPortAdminStatus) and working,\neven though it might be auto-partitioned (see\nrptrPortAutoPartitionState).\n\nIf this object has the value operational(1) and\nrptrPortAdminStatus is set to disabled(2), it is\nexpected that this object's value will soon change\nto notOperational(2).") rptrPortRptrId = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortRptrId.setDescription("This object identifies the repeater to\nwhich this port belongs. The repeater\nidentified by a particular value of this object\nis the same as that identified by the same\nvalue of rptrInfoId. A value of zero\nindicates that this port currently is not\na member of any repeater.") rptrAllRptrInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 1, 4)) rptrInfoTable = MibTable((1, 3, 6, 1, 2, 1, 22, 1, 4, 1)) if mibBuilder.loadTexts: rptrInfoTable.setDescription("A table of information about each\nnon-trivial repeater. The number of entries\ndepends on the physical configuration of the\nmanaged system.") rptrInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 1, 4, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrInfoId")) if mibBuilder.loadTexts: rptrInfoEntry.setDescription("An entry in the table, containing information\nabout a single non-trivial repeater.") rptrInfoId = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrInfoId.setDescription("This object identifies the repeater for which\nthis entry contains information.") rptrInfoRptrType = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 4, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("tenMb", 2), ("onehundredMbClassI", 3), ("onehundredMbClassII", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrInfoRptrType.setDescription("The rptrInfoRptrType returns a value that identifies\nthe CSMA/CD repeater type.") rptrInfoOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 4, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("ok", 2), ("failure", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrInfoOperStatus.setDescription("The rptrInfoOperStatus object indicates the\noperational state of the repeater.") rptrInfoReset = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 4, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("noReset", 1), ("reset", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrInfoReset.setDescription("Setting this object to reset(2) causes a\ntransition to the START state of Fig 9-2 in\nsection 9 [IEEE 802.3 Std] for a 10Mb/s repeater,\nand to the START state of Fig 27-2 in section 27\nof that standard for a 100Mb/s repeater.\n\nSetting this object to noReset(1) has no effect.\nThe agent will always return the value noReset(1)\nwhen this object is read.\n\nAfter receiving a request to set this variable to\nreset(2), the agent is allowed to delay the reset\nfor a short period. For example, the implementor\nmay choose to delay the reset long enough to allow\nthe SNMP response to be transmitted. In any\nevent, the SNMP response must be transmitted.\n\nThis action does not reset the management counters\ndefined in this document nor does it affect the\nportAdminStatus parameters. Included in this\naction is the execution of a disruptive Self-Test\nwith the following characteristics: a) The nature\nof the tests is not specified. b) The test resets\nthe repeater but without affecting management\ninformation about the repeater. c) The test does\nnot inject packets onto any segment. d) Packets\nreceived during the test may or may not be\ntransferred. e) The test does not interfere with\nmanagement functions.\n\nAfter performing this self-test, the agent will\nupdate the repeater health information (including\nrptrInfoOperStatus), and send a rptrInfoResetEvent\nnotification.") rptrInfoPartitionedPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 4, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrInfoPartitionedPorts.setDescription("This object returns the total number of ports in\nthe repeater whose current state meets all three\nof the following criteria: rptrPortOperStatus\ndoes not have the value notPresent(3),\nrptrPortAdminStatus is enabled(1), and\nrptrPortAutoPartitionState is autoPartitioned(2).") rptrInfoLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 1, 4, 1, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrInfoLastChange.setDescription("The value of sysUpTime when any of the following\nconditions occurred:\n 1) agent cold- or warm-started;\n 2) this instance of repeater was created\n (such as when a device or module was\n added to the system);\n 3) a change in the value of rptrInfoOperStatus;\n 4) ports were added or removed as members of\n the repeater; or\n 5) any of the counters associated with this\n repeater had a discontinuity.") rptrMonitorPackage = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 2)) rptrMonitorRptrInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 2, 1)) rptrMonitorTransmitCollisions = MibScalar((1, 3, 6, 1, 2, 1, 22, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorTransmitCollisions.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nFor a clause 9 (10Mb/s) repeater, this counter\nis incremented every time the repeater state\nmachine enters the TRANSMIT COLLISION state\nfrom any state other than ONE PORT LEFT\n(Ref: Fig 9-2 [IEEE 802.3 Std]).\n\nFor a clause 27 repeater, this counter is\nincremented every time the repeater core state\ndiagram enters the Jam state as a result of\nActivity(ALL) > 1 (fig 27-2 [IEEE 802.3 Std]).\nThe approximate minimum time for rollover of this\ncounter is 16 hours in a 10Mb/s repeater and 1.6\nhours in a 100Mb/s repeater.") rptrMonitorGroupInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 2, 2)) rptrMonitorGroupTable = MibTable((1, 3, 6, 1, 2, 1, 22, 2, 2, 1)) if mibBuilder.loadTexts: rptrMonitorGroupTable.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nTable of performance and error statistics for the\ngroups within the repeater. The number of entries\nis the same as that in the rptrGroupTable.") rptrMonitorGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 2, 2, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrMonitorGroupIndex")) if mibBuilder.loadTexts: rptrMonitorGroupEntry.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nAn entry in the table, containing total\nperformance and error statistics for a single\ngroup. Regular retrieval of the information in\nthis table provides a means of tracking the\nperformance and health of the networked devices\nattached to this group's ports.\n\nThe counters in this table are redundant in the\nsense that they are the summations of information\nalready available through other objects. However,\nthese sums provide a considerable optimization of\nnetwork management traffic over the otherwise\nnecessary retrieval of the individual counters\nincluded in each sum.\n\nNote: Group-level counters are\ndeprecated in this MIB. It is recommended\nthat management applications instead use\nthe repeater-level counters contained in\nthe rptrMonTable.") rptrMonitorGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorGroupIndex.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThis object identifies the group within the\nrepeater for which this entry contains\ninformation.") rptrMonitorGroupTotalFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorGroupTotalFrames.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThe total number of frames of valid frame length\nthat have been received on the ports in this group\nand for which the FCSError and CollisionEvent\nsignals were not asserted. This counter is the\nsummation of the values of the\nrptrMonitorPortReadableFrames counters for all of\nthe ports in the group.\n\nThis statistic provides one of the parameters\nnecessary for obtaining the packet error rate.\nThe approximate minimum time for rollover of this\ncounter is 80 hours in a 10Mb/s repeater.") rptrMonitorGroupTotalOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorGroupTotalOctets.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThe total number of octets contained in the valid\nframes that have been received on the ports in\nthis group. This counter is the summation of the\nvalues of the rptrMonitorPortReadableOctets\ncounters for all of the ports in the group.\n\nThis statistic provides an indicator of the total\ndata transferred. The approximate minimum time\nfor rollover of this counter is 58 minutes in a\n10Mb/s repeater.") rptrMonitorGroupTotalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorGroupTotalErrors.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nThe total number of errors which have occurred on\nall of the ports in this group. This counter is\nthe summation of the values of the\nrptrMonitorPortTotalErrors counters for all of the\nports in the group.") rptrMonitorPortInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 2, 3)) rptrMonitorPortTable = MibTable((1, 3, 6, 1, 2, 1, 22, 2, 3, 1)) if mibBuilder.loadTexts: rptrMonitorPortTable.setDescription("Table of performance and error statistics for the\nports. The number of entries is the same as that\nin the rptrPortTable.\n\nThe columnar object rptrMonitorPortLastChange\nis used to indicate possible discontinuities\nof counter type columnar objects in the table.") rptrMonitorPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrMonitorPortGroupIndex"), (0, "SNMP-REPEATER-MIB", "rptrMonitorPortIndex")) if mibBuilder.loadTexts: rptrMonitorPortEntry.setDescription("An entry in the table, containing performance and\nerror statistics for a single port.") rptrMonitorPortGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortGroupIndex.setDescription("This object identifies the group containing the\nport for which this entry contains information.") rptrMonitorPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortIndex.setDescription("This object identifies the port within the group\nfor which this entry contains information.") rptrMonitorPortReadableFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortReadableFrames.setDescription("This object is the number of frames of valid\nframe length that have been received on this port.\nThis counter is incremented by one for each frame\nreceived on this port whose OctetCount is greater\nthan or equal to minFrameSize and less than or\nequal to maxFrameSize (Ref: IEEE 802.3 Std,\n4.4.2.1) and for which the FCSError and\nCollisionEvent signals are not asserted.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThis statistic provides one of the parameters\nnecessary for obtaining the packet error rate.\nThe approximate minimum time for rollover of this\ncounter is 80 hours at 10Mb/s.") rptrMonitorPortReadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortReadableOctets.setDescription("This object is the number of octets contained in\nvalid frames that have been received on this port.\nThis counter is incremented by OctetCount for each\nframe received on this port which has been\ndetermined to be a readable frame (i.e., including\nFCS octets but excluding framing bits and dribble\nbits).\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThis statistic provides an indicator of the total\ndata transferred. The approximate minimum time\nfor rollover of this counter in a 10Mb/s repeater\nis 58 minutes.\n\nFor ports receiving traffic at a maximum rate in\na 100Mb/s repeater, this counter can roll over\nin less than 6 minutes. Since that amount of time\ncould be less than a management station's poll cycle\ntime, in order to avoid a loss of information a\nmanagement station is advised to also poll the\nrptrMonitorPortUpper32Octets object, or to use the\n64-bit counter defined by\nrptrMonitorPortHCReadableOctets instead of the\ntwo 32-bit counters.") rptrMonitorPortFCSErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortFCSErrors.setDescription("This counter is incremented by one for each frame\nreceived on this port with the FCSError signal\nasserted and the FramingError and CollisionEvent\nsignals deasserted and whose OctetCount is greater\nthan or equal to minFrameSize and less than or\nequal to maxFrameSize (Ref: 4.4.2.1, IEEE 802.3\nStd).\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 80 hours at 10Mb/s.") rptrMonitorPortAlignmentErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortAlignmentErrors.setDescription("This counter is incremented by one for each frame\nreceived on this port with the FCSError and\nFramingError signals asserted and CollisionEvent\nsignal deasserted and whose OctetCount is greater\nthan or equal to minFrameSize and less than or\nequal to maxFrameSize (Ref: IEEE 802.3 Std,\n4.4.2.1). If rptrMonitorPortAlignmentErrors is\nincremented then the rptrMonitorPortFCSErrors\nCounter shall not be incremented for the same\nframe.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 80 hours at 10Mb/s.") rptrMonitorPortFrameTooLongs = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortFrameTooLongs.setDescription("This counter is incremented by one for each frame\nreceived on this port whose OctetCount is greater\nthan maxFrameSize (Ref: 4.4.2.1, IEEE 802.3 Std).\nIf rptrMonitorPortFrameTooLongs is incremented\nthen neither the rptrMonitorPortAlignmentErrors\nnor the rptrMonitorPortFCSErrors counter shall be\nincremented for the frame.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 61 days in a 10Mb/s repeater.") rptrMonitorPortShortEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortShortEvents.setDescription("This counter is incremented by one for each\nCarrierEvent on this port with ActivityDuration\nless than ShortEventMaxTime. ShortEventMaxTime is\ngreater than 74 bit times and less than 82 bit\ntimes. ShortEventMaxTime has tolerances included\nto provide for circuit losses between a\nconformance test point at the AUI and the\nmeasurement point within the state machine.\n\nNotes:\n\nShortEvents may indicate externally\ngenerated noise hits which will cause the repeater\nto transmit Runts to its other ports, or propagate\na collision (which may be late) back to the\ntransmitting DTE and damaged frames to the rest of\nthe network.\n\nImplementors may wish to consider selecting the\nShortEventMaxTime towards the lower end of the\nallowed tolerance range to accommodate bit losses\nsuffered through physical channel devices not\nbudgeted for within this standard.\n\nThe significance of this attribute is different\nin 10 and 100 Mb/s collision domains. Clause 9\nrepeaters perform fragment extension of short\nevents which would be counted as runts on the\ninterconnect ports of other repeaters. Clause\n27 repeaters do not perform fragment extension.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 16 hours in a 10Mb/s repeater.") rptrMonitorPortRunts = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortRunts.setDescription("This counter is incremented by one for each\nCarrierEvent on this port that meets one of the\nfollowing two conditions. Only one test need be\nmade. a) The ActivityDuration is greater than\nShortEventMaxTime and less than ValidPacketMinTime\nand the CollisionEvent signal is deasserted. b)\nThe OctetCount is less than 64, the\nActivityDuration is greater than ShortEventMaxTime\nand the CollisionEvent signal is deasserted.\nValidPacketMinTime is greater than or equal to 552\nbit times and less than 565 bit times.\n\nAn event whose length is greater than 74 bit times\nbut less than 82 bit times shall increment either\nthe shortEvents counter or the runts counter but\nnot both. A CarrierEvent greater than or equal to\n552 bit times but less than 565 bit times may or\nmay not be counted as a runt.\n\nValidPacketMinTime has tolerances included to\nprovide for circuit losses between a conformance\ntest point at the AUI and the measurement point\nwithin the state machine.\n\nRunts usually indicate collision fragments, a\nnormal network event. In certain situations\nassociated with large diameter networks a\npercentage of collision fragments may exceed\nValidPacketMinTime.\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 16 hours in a 10Mb/s repeater.") rptrMonitorPortCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortCollisions.setDescription("For a clause 9 repeater, this counter is\nincremented by one for any CarrierEvent signal\non any port for which the CollisionEvent signal\non this port is asserted. For a clause 27\nrepeater port the counter increments on entering\nthe Collision Count Increment state of the\npartition state diagram (fig 27-8 of\n[IEEE 802.3 Std]).\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 16 hours in a 10Mb/s repeater.") rptrMonitorPortLateEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortLateEvents.setDescription("For a clause 9 repeater port, this counter is\nincremented by one for each CarrierEvent\non this port in which the CollIn(X)\nvariable transitions to the value SQE (Ref:\n9.6.6.2, IEEE 802.3 Std) while the\nActivityDuration is greater than the\nLateEventThreshold. For a clause 27 repeater\nport, this counter is incremented by one on\nentering the Collision Count Increment state\nof the partition state diagram (fig 27-8)\nwhile the ActivityDuration is greater than\nthe LateEvent- Threshold. Such a CarrierEvent\nis counted twice, as both a collision and as a\nlateEvent.\n\nThe LateEventThreshold is greater than 480 bit\ntimes and less than 565 bit times.\nLateEventThreshold has tolerances included to\npermit an implementation to build a single\nthreshold to serve as both the LateEventThreshold\nand ValidPacketMinTime threshold.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 81 hours in a 10Mb/s repeater.") rptrMonitorPortVeryLongEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortVeryLongEvents.setDescription("For a clause 9 repeater port, this counter\nis incremented by one for each CarrierEvent\nwhose ActivityDuration is greater than the\nMAU Jabber Lockup Protection timer TW3\n(Ref: 9.6.1 & 9.6.5, IEEE 802.3 Std).\n\nFor a clause 27 repeater port, this counter\nis incremented by one on entry to the\nRx Jabber state of the receiver timer state\ndiagram (fig 27-7). Other counters may\nbe incremented as appropriate.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.") rptrMonitorPortDataRateMismatches = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortDataRateMismatches.setDescription("This counter is incremented by one for each\nframe received by this port that meets all\nof the conditions required by only one of the\nfollowing two measurement methods:\n\nMeasurement method A: 1) The CollisionEvent\nsignal is not asserted (10Mb/s operation) or\nthe Collision Count Increment state of the\npartition state diagram (fig 27-8 of\n[IEEE 802.3 Std]) has not been entered\n(100Mb/s operation). 2) The ActivityDuration\nis greater than ValidPacketMinTime. 3) The\nfrequency (data rate) is detectably mismatched\nfrom the local transmit frequency.\n\nMeasurement method B: 1) The CollisionEvent\nsignal is not asserted (10Mb/s operation)\nor the Collision Count Increment state of the\npartition state diagram (fig 27-8 of\n[IEEE 802.3 Std]) has not been entered\n(100Mb/s operation). 2) The OctetCount is\ngreater than 63. 3) The frequency (data\nrate) is detectably mismatched from the local\ntransmit frequency. The exact degree of\nmismatch is vendor specific and is to be\ndefined by the vendor for conformance testing.\n\nWhen this event occurs, other counters whose\nincrement conditions were satisfied may or may not\nalso be incremented, at the implementor's\ndiscretion. Whether or not the repeater was able\nto maintain data integrity is beyond the scope of\nthis standard.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.") rptrMonitorPortAutoPartitions = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortAutoPartitions.setDescription("This counter is incremented by one for\neach time the repeater has automatically\npartitioned this port.\n\nThe conditions that cause a clause 9\nrepeater port to partition are specified in\nthe partition state diagram in clause 9 of\n[IEEE 802.3 Std]. They are not differentiated\nhere. A clause 27 repeater port partitions\non entry to the Partition Wait state of the\npartition state diagram (fig 27-8 in\n[IEEE 802.3 Std]).\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.") rptrMonitorPortTotalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortTotalErrors.setDescription("The total number of errors which have occurred on\nthis port. This counter is the summation of the\nvalues of other error counters (for the same\nport), namely:\n\n rptrMonitorPortFCSErrors,\n rptrMonitorPortAlignmentErrors,\n rptrMonitorPortFrameTooLongs,\n rptrMonitorPortShortEvents,\n rptrMonitorPortLateEvents,\n rptrMonitorPortVeryLongEvents,\n rptrMonitorPortDataRateMismatches, and\n rptrMonitorPortSymbolErrors.\n\nThis counter is redundant in the sense that it is\nthe summation of information already available\nthrough other objects. However, it is included\nspecifically because the regular retrieval of this\nobject as a means of tracking the health of a port\nprovides a considerable optimization of network\nmanagement traffic over the otherwise necessary\nretrieval of the summed counters.\n\nNote that rptrMonitorPortRunts is not included\nin this total; this is because runts usually\nindicate collision fragments, a normal network\nevent.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.") rptrMonitorPortLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 1, 1, 16), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortLastChange.setDescription("The value of sysUpTime when the last of\nthe following occurred:\n 1) the agent cold- or warm-started;\n 2) the row for the port was created\n (such as when a device or module was added\n to the system); or\n 3) any condition that would cause one of\n the counters for the row to experience\n a discontinuity.") rptrMonitor100PortTable = MibTable((1, 3, 6, 1, 2, 1, 22, 2, 3, 2)) if mibBuilder.loadTexts: rptrMonitor100PortTable.setDescription("Table of additional performance and error\nstatistics for 100Mb/s ports, above and\nbeyond those parameters that apply to both\n10 and 100Mbps ports. Entries exist only for\nports attached to 100Mbps repeaters.\n\nThe columnar object rptrMonitorPortLastChange\nis used to indicate possible discontinuities\nof counter type columnar objects in this table.") rptrMonitor100PortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 2, 3, 2, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrMonitorPortGroupIndex"), (0, "SNMP-REPEATER-MIB", "rptrMonitorPortIndex")) if mibBuilder.loadTexts: rptrMonitor100PortEntry.setDescription("An entry in the table, containing performance\nand error statistics for a single 100Mb/s port.") rptrMonitorPortIsolates = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortIsolates.setDescription("This counter is incremented by one each time that\nthe repeater port automatically isolates as a\nconsequence of false carrier events. The conditions\nwhich cause a port to automatically isolate are\ndefined by the transition from the False Carrier\nstate to the Link Unstable state of the carrier\nintegrity state diagram (figure 27-9)\n[IEEE 802.3 Standard].\n\nNote: Isolates do not affect the value of\nthe PortOperStatus object.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.") rptrMonitorPortSymbolErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortSymbolErrors.setDescription("This counter is incremented by one each time when\nvalid length packet was received at the port and\nthere was at least one occurrence of an invalid\ndata symbol. This can increment only once per valid\ncarrier event. A collision presence at any port of\nthe repeater containing port N, will not cause this\nattribute to increment.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 7.4 hours at 100Mb/s.") rptrMonitorPortUpper32Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortUpper32Octets.setDescription("This object is the number of octets contained in\nvalid frames that have been received on this port,\nmodulo 2**32. That is, it contains the upper 32\nbits of a 64-bit octets counter, of which the\nlower 32 bits are contained in the\nrptrMonitorPortReadableOctets object.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMP V1) and are used to\nmanage a repeater type of 100Mb/s.\n\nConformance clauses for this MIB are defined such\nthat implementation of this object is not required\nin a system which does not support 100Mb/s.\nHowever, systems with mixed 10 and 100Mb/s ports\nmay implement this object across all ports,\nincluding 10Mb/s. If this object is implemented,\nit must be according to the definition in the first\nparagraph of this description; that is, the value\nof this object MUST be a valid count.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.") rptrMonitorPortHCReadableOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 3, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonitorPortHCReadableOctets.setDescription("This object is the number of octets contained in\nvalid frames that have been received on this port.\nThis counter is incremented by OctetCount for each\nframe received on this port which has been\ndetermined to be a readable frame (i.e., including\nFCS octets but excluding framing bits and dribble\nbits).\n\nThis statistic provides an indicator of the total\ndata transferred.\n\nThis counter is a 64-bit version of rptrMonitor-\nPortReadableOctets. It should be used by network\nmanagement protocols which suppport 64-bit counters\n(e.g. SNMPv2).\n\nConformance clauses for this MIB are defined such\nthat implementation of this object is not required\nin a system which does not support 100Mb/s.\nHowever, systems with mixed 10 and 100Mb/s ports\nmay implement this object across all ports,\nincluding 10Mb/s. If this object is implemented,\nit must be according to the definition in the first\nparagraph of this description; that is, the value\nof this object MUST be a valid count.\n\nA discontinuity may occur in the value\nwhen the value of object\nrptrMonitorPortLastChange changes.") rptrMonitorAllRptrInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 2, 4)) rptrMonTable = MibTable((1, 3, 6, 1, 2, 1, 22, 2, 4, 1)) if mibBuilder.loadTexts: rptrMonTable.setDescription("A table of information about each\nnon-trivial repeater. The number of entries\nin this table is the same as the number of\nentries in the rptrInfoTable.\n\nThe columnar object rptrInfoLastChange is\nused to indicate possible discontinuities of\ncounter type columnar objects in this table.") rptrMonEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 2, 4, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrInfoId")) if mibBuilder.loadTexts: rptrMonEntry.setDescription("An entry in the table, containing information\nabout a single non-trivial repeater.") rptrMonTxCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 4, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonTxCollisions.setDescription("For a clause 9 (10Mb/s) repeater, this counter\nis incremented every time the repeater state\nmachine enters the TRANSMIT COLLISION state\nfrom any state other than ONE PORT LEFT\n(Ref: Fig 9-2 [IEEE 802.3 Std]).\n\nFor a clause 27 repeater, this counter is\nincremented every time the repeater core state\ndiagram enters the Jam state as a result of\nActivity(ALL) > 1 (fig 27-2 [IEEE 802.3 Std]).\n\nThe approximate minimum time for rollover of this\ncounter is 16 hours in a 10Mb/s repeater and 1.6\nhours in a 100Mb/s repeater.") rptrMonTotalFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 4, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonTotalFrames.setDescription("The number of frames of valid frame length\nthat have been received on the ports in this repeater\nand for which the FCSError and CollisionEvent\nsignals were not asserted. If an implementation\ncan not obtain a count of frames as seen by\nthe repeater itself, this counter may be\nimplemented as the summation of the values of the\nrptrMonitorPortReadableFrames counters for all of\nthe ports in the repeater.\n\nThis statistic provides one of the parameters\nnecessary for obtaining the packet error rate.\nThe approximate minimum time for rollover of this\ncounter is 80 hours in a 10Mb/s repeater.") rptrMonTotalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 4, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonTotalErrors.setDescription("The total number of errors which have occurred on\nall of the ports in this repeater. The errors\nincluded in this count are the same as those listed\nfor the rptrMonitorPortTotalErrors counter. If an\nimplementation can not obtain a count of these\nerrors as seen by the repeater itself, this counter\nmay be implemented as the summation of the values of\nthe rptrMonitorPortTotalErrors counters for all of\nthe ports in the repeater.") rptrMonTotalOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 4, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonTotalOctets.setDescription("The total number of octets contained in the valid\nframes that have been received on the ports in\nthis group. If an implementation can not obtain\na count of octets as seen by the repeater itself,\nthis counter may be the summation of the\nvalues of the rptrMonitorPortReadableOctets\ncounters for all of the ports in the group.\n\nThis statistic provides an indicator of the total\ndata transferred. The approximate minimum time\nfor rollover of this counter in a 10Mb/s repeater\nis 58 minutes divided by the number of ports in\nthe repeater.\n\nFor 100Mb/s repeaters processing traffic at a\nmaximum rate, this counter can roll over in less\nthan 6 minutes divided by the number of ports in\nthe repeater. Since that amount of time could\nbe less than a management station's poll cycle\ntime, in order to avoid a loss of information a\nmanagement station is advised to also poll the\nrptrMonUpper32TotalOctets object, or to use the\n64-bit counter defined by rptrMonHCTotalOctets\ninstead of the two 32-bit counters.") rptrMon100Table = MibTable((1, 3, 6, 1, 2, 1, 22, 2, 4, 2)) if mibBuilder.loadTexts: rptrMon100Table.setDescription("A table of additional information about each\n100Mb/s repeater, augmenting the entries in\nthe rptrMonTable. Entries exist in this table\nonly for 100Mb/s repeaters.\n\nThe columnar object rptrInfoLastChange is\nused to indicate possible discontinuities of\ncounter type columnar objects in this table.") rptrMon100Entry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 2, 4, 2, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrInfoId")) if mibBuilder.loadTexts: rptrMon100Entry.setDescription("An entry in the table, containing information\nabout a single 100Mbps repeater.") rptrMonUpper32TotalOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 4, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonUpper32TotalOctets.setDescription("The total number of octets contained in the valid\nframes that have been received on the ports in\nthis repeater, modulo 2**32. That is, it contains\nthe upper 32 bits of a 64-bit counter, of which\nthe lower 32 bits are contained in the\nrptrMonTotalOctets object. If an implementation\ncan not obtain a count of octets as seen\nby the repeater itself, the 64-bit value\nmay be the summation of the values of the\nrptrMonitorPortReadableOctets counters combined\nwith the corresponding rptrMonitorPortUpper32Octets\ncounters for all of the ports in the repeater.\n\nThis statistic provides an indicator of the total\ndata transferred within the repeater.\n\nThis two-counter mechanism is provided for those\nnetwork management protocols that do not support\n64-bit counters (e.g. SNMP V1) and are used to\nmanage a repeater type of 100Mb/s.\n\nConformance clauses for this MIB are defined such\nthat implementation of this object is not required\nin a system which does not support 100Mb/s.\nHowever, systems with mixed 10 and 100Mb/s ports\nmay implement this object across all ports,\nincluding 10Mb/s. If this object is implemented,\nit must be according to the definition in the first\nparagraph of this description; that is, the value\nof this object MUST be a valid count.") rptrMonHCTotalOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 2, 4, 2, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMonHCTotalOctets.setDescription("The total number of octets contained in the valid\nframes that have been received on the ports in\nthis group. If a implementation can not obtain\na count of octets as seen by the repeater itself,\nthis counter may be the summation of the\nvalues of the rptrMonitorPortReadableOctets\ncounters for all of the ports in the group.\n\nThis statistic provides an indicator of the total\ndata transferred.\n\nThis counter is a 64-bit (high-capacity) version\nof rptrMonUpper32TotalOctets and rptrMonTotalOctets.\nIt should be used by network management protocols\nwhich support 64-bit counters (e.g. SNMPv2).\n\nConformance clauses for this MIB are defined such\nthat implementation of this object is not required\nin a system which does not support 100Mb/s.\nHowever, systems with mixed 10 and 100Mb/s ports\nmay implement this object across all ports,\nincluding 10Mb/s. If this object is implemented,\nit must be according to the definition in the first\nparagraph of this description; that is, the value\nof this object MUST be a valid count.") rptrAddrTrackPackage = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 3)) rptrAddrTrackRptrInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 3, 1)) rptrAddrSearchTable = MibTable((1, 3, 6, 1, 2, 1, 22, 3, 1, 1)) if mibBuilder.loadTexts: rptrAddrSearchTable.setDescription("This table contains one entry per repeater in the\nsystem. It defines objects which allow a network\nmanagement application to instruct an agent to watch\nfor a given MAC address and report which port it\nwas seen on. Only one address search can be in\nprogress on each repeater at any one time. Before\nstarting an address search, a management application\nshould obtain 'ownership' of the entry in\nrptrAddrSearchTable for the repeater that is to\nperform the search. This is accomplished with the\nrptrAddrSearchLock and rptrAddrSearchStatus as\nfollows:\n\ntry_again:\n get(rptrAddrSearchLock, rptrAddrSearchStatus)\n while (rptrAddrSearchStatus != notInUse)\n {\n /* Loop waiting for objects to be available*/\n short delay\n get(rptrAddrSearchLock, rptrAddrSearchStatus)\n }\n\n /* Try to claim map objects */\n lock_value = rptrAddrSearchLock\n if ( set(rptrAddrSearchLock = lock_value,\n rptrAddrSearchStatus = inUse,\n rptrAddrSearchOwner = 'my-IP-address)\n == FAILURE)\n /* Another manager got the lock */\n goto try_again\n\n /* I have the lock */\n set (rptrAddrSearchAddress = )\n\n wait for rptrAddrSearchState to change from none\n\n if (rptrAddrSearchState == single)\n get (rptrAddrSearchGroup, rptrAddrSearchPort)\n /* release the lock, making sure not to overwrite\n anyone else's lock */\n set (rptrAddrSearchLock = lock_value+1,\n rptrAddrSearchStatus = notInUse,\n rptrAddrSearchOwner = '')\n\nA management station first retrieves the values of\nthe appropriate instances of the rptrAddrSearchLock\nand rptrAddrSearchStatus objects, periodically\nrepeating the retrieval if necessary, until the value\nof rptrAddrSearchStatus is 'notInUse'. The\nmanagement station then tries to set the same\ninstance of the rptrAddrSearchLock object to the\nvalue it just retrieved, the same instance of the\nrptrAddrSearchStatus object to 'inUse', and the\ncorresponding instance of rptrAddrSearchOwner to a\nvalue indicating itself. If the set operation\nsucceeds, then the management station has obtained\nownership of the rptrAddrSearchEntry, and the value\nof rptrAddrSearchLock is incremented by the agent (as\nper the semantics of TestAndIncr). Failure of the\nset operation indicates that some other manager has\nobtained ownership of the rptrAddrSearchEntry.\n\nOnce ownership is obtained, the management station\ncan proceed with the search operation. Note that the\nagent will reset rptrAddrSearchStatus to 'notInUse'\nif it has been in the 'inUse' state for an abnormally\nlong period of time, to prevent a misbehaving manager\nfrom permanently locking the entry. It is suggested\nthat this timeout period be between one and five\nminutes.\n\nWhen the management station has completed its search\noperation, it should free the entry by setting\nthe instance of the rptrAddrSearchLock object to the\nprevious value + 1, the instance of the\nrptrAddrSearchStatus to 'notInUse', and the instance\nof rptrAddrSearchOwner to a zero length string. This\nis done to prevent overwriting another station's\nlock.") rptrAddrSearchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrInfoId")) if mibBuilder.loadTexts: rptrAddrSearchEntry.setDescription("An entry containing objects for invoking an address\nsearch on a repeater.") rptrAddrSearchLock = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAddrSearchLock.setDescription("This object is used by a management station as an\nadvisory lock for this rptrAddrSearchEntry.") rptrAddrSearchStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("notInUse", 1), ("inUse", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAddrSearchStatus.setDescription("This object is used to indicate that some management\nstation is currently using this rptrAddrSearchEntry.\nCooperating managers should set this object to\n'notInUse' when they are finished using this entry.\nThe agent will automatically set the value of this\nobject to 'notInUse' if it has been set to 'inUse'\nfor an unusually long period of time.") rptrAddrSearchAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1, 3), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAddrSearchAddress.setDescription("This object is used to search for a specified MAC\naddress. When this object is set, an address search\nbegins. This automatically sets the corresponding\ninstance of the rptrAddrSearchState object to 'none'\nand the corresponding instances of the\nrptrAddrSearchGroup and rptrAddrSearchPort objects to\n0.\n\nWhen a valid frame is received by this repeater with\na source MAC address which matches the current value\nof rptrAddrSearchAddress, the agent will update the\ncorresponding instances of rptrAddrSearchState,\nrptrAddrSearchGroup and rptrAddrSearchPort to reflect\nthe current status of the search, and the group and\nport on which the frame was seen.") rptrAddrSearchState = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("none", 1), ("single", 2), ("multiple", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrSearchState.setDescription("The current state of the MAC address search on this\nrepeater. This object is initialized to 'none' when\nthe corresponding instance of rptrAddrSearchAddress\nis set. If the agent detects the address on exactly\none port, it will set this object to 'single', and\nset the corresponding instances of\nrptrAddrSearchGroup and rptrAddrSearchPort to reflect\nthe group and port on which the address was heard.\nIf the agent detects the address on more than one\nport, it will set this object to 'multiple'.") rptrAddrSearchGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrSearchGroup.setDescription("The group from which an error-free frame whose\nsource address is equal to the corresponding instance\nof rptrAddrSearchAddress has been received. The\nvalue of this object is undefined when the\ncorresponding instance of rptrAddrSearchState is\nequal to 'none' or 'multiple'.") rptrAddrSearchPort = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrSearchPort.setDescription("The port rom which an error-free frame whose\nsource address is equal to the corresponding instance\nof rptrAddrSearchAddress has been received. The\nvalue of this object is undefined when the\ncorresponding instance of rptrAddrSearchState is\nequal to 'none' or 'multiple'.") rptrAddrSearchOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 1, 1, 1, 7), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAddrSearchOwner.setDescription("The entity which currently has 'ownership' of this\nrptrAddrSearchEntry.") rptrAddrTrackGroupInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 3, 2)) rptrAddrTrackPortInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 3, 3)) rptrAddrTrackTable = MibTable((1, 3, 6, 1, 2, 1, 22, 3, 3, 1)) if mibBuilder.loadTexts: rptrAddrTrackTable.setDescription("Table of address mapping information about the\nports.") rptrAddrTrackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 3, 3, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrAddrTrackGroupIndex"), (0, "SNMP-REPEATER-MIB", "rptrAddrTrackPortIndex")) if mibBuilder.loadTexts: rptrAddrTrackEntry.setDescription("An entry in the table, containing address mapping\ninformation about a single port.") rptrAddrTrackGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrTrackGroupIndex.setDescription("This object identifies the group containing the\nport for which this entry contains information.") rptrAddrTrackPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrTrackPortIndex.setDescription("This object identifies the port within the group\nfor which this entry contains information.") rptrAddrTrackLastSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 1, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrTrackLastSourceAddress.setDescription("********* THIS OBJECT IS DEPRECATED **********\nThis object is the SourceAddress of the last\nreadable frame (i.e., counted by\nrptrMonitorPortReadableFrames) received by this\nport.\n\nThis object has been deprecated because its value\nis undefined when no frames have been observed on\nthis port. The replacement object is\nrptrAddrTrackNewLastSrcAddress.") rptrAddrTrackSourceAddrChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrTrackSourceAddrChanges.setDescription("This counter is incremented by one for each time\nthat the rptrAddrTrackLastSourceAddress attribute\nfor this port has changed.\n\nThis may indicate whether a link is connected to a\nsingle DTE or another multi-user segment.\n\nA discontinuity may occur in the value when the\nvalue of object rptrMonitorPortLastChange changes.\n\nThe approximate minimum time for rollover of this\ncounter is 81 hours in a 10Mb/s repeater.") rptrAddrTrackNewLastSrcAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 1, 1, 5), OptMacAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrTrackNewLastSrcAddress.setDescription("This object is the SourceAddress of the last\nreadable frame (i.e., counted by\nrptrMonitorPortReadableFrames) received by this\nport. If no frames have been received by this\nport since the agent began monitoring the port\nactivity, the agent shall return a string of\nlength zero.") rptrAddrTrackCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrAddrTrackCapacity.setDescription("The maximum number of addresses that can be\ndetected on this port. This value indicates\nto the maximum number of entries in the\nrptrExtAddrTrackTable relative to this port.\n\nIf this object has the value of 1, the agent\nimplements only the LastSourceAddress mechanism\ndescribed by RFC 1368 or RFC 1516.") rptrExtAddrTrackTable = MibTable((1, 3, 6, 1, 2, 1, 22, 3, 3, 2)) if mibBuilder.loadTexts: rptrExtAddrTrackTable.setDescription("A table to extend the address tracking table (i.e.,\nrptrAddrTrackTable) with a list of source MAC\naddresses that were recently received on each port.\nThe number of ports is the same as the number\nof entries in table rptrPortTable. The number of\nentries in this table depends on the agent/repeater\nimplementation and the number of different\naddresses received on each port.\n\nThe first entry for each port contains\nthe same MAC address that is given by the\nrptrAddrTrackNewLastSrcAddress for that port.\n\nEntries in this table for a particular port are\nretained when that port is switched from one\nrepeater to another.\n\nThe ordering of MAC addresses listed for a\nparticular port is implementation dependent.") rptrExtAddrTrackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 3, 3, 2, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrAddrTrackGroupIndex"), (0, "SNMP-REPEATER-MIB", "rptrAddrTrackPortIndex"), (0, "SNMP-REPEATER-MIB", "rptrExtAddrTrackMacIndex")) if mibBuilder.loadTexts: rptrExtAddrTrackEntry.setDescription("A row in the table of extended address tracking\ninformation for ports. Entries can not be directly\ncreated or deleted via SNMP operations.") rptrExtAddrTrackMacIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrExtAddrTrackMacIndex.setDescription("The index of a source MAC address seen on\nthe port.\n\nThe ordering of MAC addresses listed for a\nparticular port is implementation dependent.\n\nThere is no implied relationship between a\nparticular index and a particular MAC\naddress. The index for a particular MAC\naddress may change without notice.") rptrExtAddrTrackSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 3, 3, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrExtAddrTrackSourceAddress.setDescription("The source MAC address from a readable frame\n(i.e., counted by rptrMonitorPortReadableFrames)\nrecently received by the port.") rptrTopNPackage = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 4)) rptrTopNRptrInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 4, 1)) rptrTopNGroupInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 4, 2)) rptrTopNPortInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 4, 3)) rptrTopNPortControlTable = MibTable((1, 3, 6, 1, 2, 1, 22, 4, 3, 1)) if mibBuilder.loadTexts: rptrTopNPortControlTable.setDescription("A table of control records for reports on the top `N'\nports for the rate of a selected counter. The number\nof entries depends on the configuration of the agent.\nThe maximum number of entries is implementation\ndependent.") rptrTopNPortControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrTopNPortControlIndex")) if mibBuilder.loadTexts: rptrTopNPortControlEntry.setDescription("A set of parameters that control the creation of a\nreport of the top N ports according to several metrics.") rptrTopNPortControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortControlIndex.setDescription("An index that uniquely identifies an entry in the\nrptrTopNPortControl table. Each such entry defines\none top N report prepared for a repeater or system.") rptrTopNPortRepeaterId = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rptrTopNPortRepeaterId.setDescription("Identifies the repeater for which a top N report will\nbe prepared (see rptrInfoId). If the value of this\nobject is positive, only ports assigned to this repeater\nwill be used to form the list in which to order the\nTop N table. If this value is zero, all ports will be\neligible for inclusion on the list.\n\nThe value of this object may not be modified if the\nassociated rptrTopNPortRowStatus object is equal to\nactive(1).\nIf, for a particular row in this table, the repeater\nspecified by the value of this object goes away (is\nremoved from the rptrInfoTable) while the associated\nrptrTopNPortRowStatus object is equal to active(1),\nthe row in this table is preserved by the agent but\nthe value of rptrTopNPortRowStatus is changed to\nnotInService(2), and the agent may time out the row\nif appropriate. If the specified repeater comes\nback (reappears in the rptrInfoTable) before the row\nhas been timed out, the management station must set\nthe value of the rptrTopNPortRowStatus object back\nto active(1) if desired (the agent doesn't do this\nautomatically).") rptrTopNPortRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(13,11,3,4,12,9,8,2,10,1,7,6,5,14,15,)).subtype(namedValues=NamedValues(("readableFrames", 1), ("veryLongEvents", 10), ("dataRateMismatches", 11), ("autoPartitions", 12), ("totalErrors", 13), ("isolates", 14), ("symbolErrors", 15), ("readableOctets", 2), ("fcsErrors", 3), ("alignmentErrors", 4), ("frameTooLongs", 5), ("shortEvents", 6), ("runts", 7), ("collisions", 8), ("lateEvents", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rptrTopNPortRateBase.setDescription("The monitored variable, which the rptrTopNPortRate\nvariable is based upon.\n\nThe value of this object may not be modified if\nthe associated rptrTopNPortRowStatus object has\na value of active(1).") rptrTopNPortTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rptrTopNPortTimeRemaining.setDescription("The number of seconds left in the report\ncurrently being collected. When this object\nis modified by the management station, a new\ncollection is started, possibly aborting a\ncurrently running report. The new value is\nused as the requested duration of this report,\nwhich is loaded into the associated\nrptrTopNPortDuration object.\n\nWhen this object is set to a non-zero value,\nany associated rptrTopNPortEntries shall be\nmade inaccessible by the agent. While the value\nof this object is non-zero, it decrements by one\nper second until it reaches zero. During this\ntime, all associated rptrTopNPortEntries shall\nremain inaccessible. At the time that this object\ndecrements to zero, the report is made accessible\nin the rptrTopNPortTable. Thus, the rptrTopNPort\ntable needs to be created only at the end of the\ncollection interval.\n\nIf the value of this object is set to zero\nwhile the associated report is running, the\nrunning report is aborted and no associated\nrptrTopNPortEntries are created.") rptrTopNPortDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortDuration.setDescription("The number of seconds that this report has\ncollected during the last sampling interval,\nor if this report is currently being collected,\nthe number of seconds that this report is being\ncollected during this sampling interval.\n\nWhen the associated rptrTopNPortTimeRemaining\nobject is set, this object shall be set by the\nagent to the same value and shall not be modified\nuntil the next time the rptrTopNPortTimeRemaining\nis set.\n\nThis value shall be zero if no reports have been\nrequested for this rptrTopNPortControlEntry.") rptrTopNPortRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 6), Integer32().clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rptrTopNPortRequestedSize.setDescription("The maximum number of repeater ports requested\nfor the Top N Table.\n\nWhen this object is created or modified, the\nagent should set rptrTopNPortGrantedSize as close\nto this object as is possible for the particular\nimplementation and available resources.") rptrTopNPortGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortGrantedSize.setDescription("The maximum number of repeater ports in the\ntop N table.\n\nWhen the associated rptrTopNPortRequestedSize object is\ncreated or modified, the agent should set this object as\nclosely to the requested value as is possible for the\nparticular implementation and available resources. The\nagent must not lower this value except as a result of a\nset to the associated rptrTopNPortRequestedSize object.") rptrTopNPortStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortStartTime.setDescription("The value of sysUpTime when this top N report was\nlast started. In other words, this is the time that\nthe associated rptrTopNPortTimeRemaining object was\nmodified to start the requested report.\n\nIf the report has not yet been started, the value\nof this object is zero.") rptrTopNPortOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 9), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rptrTopNPortOwner.setDescription("The entity that configured this entry and is\nusing the resources assigned to it.") rptrTopNPortRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 1, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rptrTopNPortRowStatus.setDescription("The status of this row.\n\nIf the value of this object is not equal to\nactive(1), all associated entries in the\nrptrTopNPortTable shall be deleted by the\nagent.") rptrTopNPortTable = MibTable((1, 3, 6, 1, 2, 1, 22, 4, 3, 2)) if mibBuilder.loadTexts: rptrTopNPortTable.setDescription("A table of reports for the top `N' ports based on\nsetting of associated control table entries. The\nmaximum number of entries depends on the number\nof entries in table rptrTopNPortControlTable and\nthe value of object rptrTopNPortGrantedSize for\neach entry.\n\nFor each entry in the rptrTopNPortControlTable,\nrepeater ports with the highest value of\nrptrTopNPortRate shall be placed in this table\nin decreasing order of that rate until there is\nno more room or until there are no more ports.") rptrTopNPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 22, 4, 3, 2, 1)).setIndexNames((0, "SNMP-REPEATER-MIB", "rptrTopNPortControlIndex"), (0, "SNMP-REPEATER-MIB", "rptrTopNPortIndex")) if mibBuilder.loadTexts: rptrTopNPortEntry.setDescription("A set of statistics for a repeater port that is\npart of a top N report.") rptrTopNPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortIndex.setDescription("An index that uniquely identifies an entry in\nthe rptrTopNPort table among those in the same\nreport. This index is between 1 and N, where N\nis the number of entries in this report. Increasing\nvalues of rptrTopNPortIndex shall be assigned to\nentries with decreasing values of rptrTopNPortRate\nuntil index N is assigned to the entry with the\nlowest value of rptrTopNPortRate or there are no\nmore rptrTopNPortEntries.\n\nNo ports are included in a report where their\nvalue of rptrTopNPortRate would be zero.") rptrTopNPortGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortGroupIndex.setDescription("This object identifes the group containing\nthe port for this entry. (See also object\ntype rptrGroupIndex.)") rptrTopNPortPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortPortIndex.setDescription("The index of the repeater port.\n(See object type rptrPortIndex.)") rptrTopNPortRate = MibTableColumn((1, 3, 6, 1, 2, 1, 22, 4, 3, 2, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrTopNPortRate.setDescription("The amount of change in the selected variable\nduring this sampling interval for the identified\nport. The selected variable is that port's\ninstance of the object selected by\nrptrTopNPortRateBase.") snmpRptrMod = ModuleIdentity((1, 3, 6, 1, 2, 1, 22, 5)).setRevisions(("1996-09-14 00:00","1993-09-01 00:00","1992-10-01 00:00",)) if mibBuilder.loadTexts: snmpRptrMod.setOrganization("IETF HUB MIB Working Group") if mibBuilder.loadTexts: snmpRptrMod.setContactInfo("WG E-mail: hubmib@hprnd.rose.hp.com\n\nChair: Dan Romascanu\nPostal: Madge Networks (Israel) Ltd.\n Atidim Technology Park, Bldg. 3\n Tel Aviv 61131, Israel\n Tel: 972-3-6458414, 6458458\n Fax: 972-3-6487146\nE-mail: dromasca@madge.com\n\nEditor: Kathryn de Graaf\nPostal: 3Com Corporation\n 118 Turnpike Rd.\n Southborough, MA 01772 USA\n Tel: (508)229-1627\n Fax: (508)490-5882\nE-mail: kdegraaf@isd.3com.com") if mibBuilder.loadTexts: snmpRptrMod.setDescription("Management information for 802.3 repeaters.\n\nThe following references are used throughout\nthis MIB module:\n\n[IEEE 802.3 Std]\n refers to IEEE 802.3/ISO 8802-3 Information\n processing systems - Local area networks -\n Part 3: Carrier sense multiple access with\n collision detection (CSMA/CD) access method\n and physical layer specifications (1993).\n\n[IEEE 802.3 Mgt]\n refers to IEEE 802.3u-1995, '10 Mb/s &\n 100 Mb/s Management, Section 30,'\n Supplement to ANSI/IEEE 802.3.\n\nThe following terms are used throughout this\nMIB module. For complete formal definitions,\nthe IEEE 802.3 standards should be consulted\nwherever possible:\n\nSystem - A managed entity compliant with this\nMIB, and incorporating at least one managed\n802.3 repeater.\n\nChassis - An enclosure for one managed repeater,\npart of a managed repeater, or several managed\nrepeaters. It typically contains an integral\npower supply and a variable number of available\nmodule slots.\n\nRepeater-unit - The portion of the repeater set\nthat is inboard of the physical media interfaces.\nThe physical media interfaces (MAUs, AUIs) may be\nphysically separated from the repeater-unit, or\nthey may be integrated into the same physical\npackage.\n\nTrivial repeater-unit - An isolated port that can\ngather statistics.\n\nGroup - A recommended, but optional, entity\ndefined by the IEEE 802.3 management standard,\nin order to support a modular numbering scheme.\nThe classical example allows an implementor to\nrepresent field-replaceable units as groups of\nports, with the port numbering matching the\nmodular hardware implementation.\n\nSystem interconnect segment - An internal\nsegment allowing interconnection of ports\nbelonging to different physical entities\ninto the same logical manageable repeater.\nExamples of implementation might be\nbackplane busses in modular hubs, or\nchaining cables in stacks of hubs.\nStack - A scalable system that may include\nmanaged repeaters, in which modularity is\nachieved by interconnecting a number of\ndifferent chassis.\n\nModule - A building block in a modular\nchassis. It typically maps into one 'slot';\nhowever, the range of configurations may be\nvery large, with several modules entering\none slot, or one module covering several\nslots.") snmpRptrModConf = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 5, 1)) snmpRptrModCompls = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 5, 1, 1)) snmpRptrModObjGrps = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 5, 1, 2)) snmpRptrModNotGrps = MibIdentifier((1, 3, 6, 1, 2, 1, 22, 5, 1, 3)) # Augmentions # Notifications rptrHealth = NotificationType((1, 3, 6, 1, 2, 1, 22, 0, 1)).setObjects(*(("SNMP-REPEATER-MIB", "rptrOperStatus"), ) ) if mibBuilder.loadTexts: rptrHealth.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nIn a system containing a single managed repeater,\nthe rptrHealth notification conveys information\nrelated to the operational status of the repeater.\nIt is sent either when the value of\nrptrOperStatus changes, or upon completion of a\nnon-disruptive test.\n\nThe rptrHealth notification must contain the\nrptrOperStatus object. The agent may optionally\ninclude the rptrHealthText object in the varBind\nlist. See the rptrOperStatus and rptrHealthText\nobjects for descriptions of the information that\nis sent.\n\nThe agent must throttle the generation of\nconsecutive rptrHealth traps so that there is at\nleast a five-second gap between traps of this\ntype. When traps are throttled, they are dropped,\nnot queued for sending at a future time. (Note\nthat 'generating' a trap means sending to all\nconfigured recipients.)") rptrGroupChange = NotificationType((1, 3, 6, 1, 2, 1, 22, 0, 2)).setObjects(*(("SNMP-REPEATER-MIB", "rptrGroupIndex"), ) ) if mibBuilder.loadTexts: rptrGroupChange.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nIn a system containing a single managed repeater,\nthis notification is sent when a change occurs in the\ngroup structure of the repeater. This occurs only\nwhen a group is logically or physically removed\nfrom or added to a repeater. The varBind list\ncontains the identifier of the group that was\nremoved or added.\n\nThe agent must throttle the generation of\nconsecutive rptrGroupChange traps for the same\ngroup so that there is at least a five-second gap\nbetween traps of this type. When traps are\nthrottled, they are dropped, not queued for\nsending at a future time. (Note that 'generating'\na trap means sending to all configured\nrecipients.)") rptrResetEvent = NotificationType((1, 3, 6, 1, 2, 1, 22, 0, 3)).setObjects(*(("SNMP-REPEATER-MIB", "rptrOperStatus"), ) ) if mibBuilder.loadTexts: rptrResetEvent.setDescription("********* THIS OBJECT IS DEPRECATED **********\n\nIn a system containing a single managed repeater-unit,\nthe rptrResetEvent notification conveys information\nrelated to the operational status of the repeater.\nThis trap is sent on completion of a repeater\nreset action. A repeater reset action is defined\nas an a transition to the START state of Fig 9-2\nin section 9 [IEEE 802.3 Std], when triggered by a\nmanagement command (e.g., an SNMP Set on the\nrptrReset object).\n\nThe agent must throttle the generation of\nconsecutive rptrResetEvent traps so that there is\nat least a five-second gap between traps of this\ntype. When traps are throttled, they are dropped,\nnot queued for sending at a future time. (Note\nthat 'generating' a trap means sending to all\nconfigured recipients.)\n\nThe rptrResetEvent trap is not sent when the agent\nrestarts and sends an SNMP coldStart or warmStart\ntrap. However, it is recommended that a repeater\nagent send the rptrOperStatus object as an\noptional object with its coldStart and warmStart\ntrap PDUs.\n\nThe rptrOperStatus object must be included in the\nvarbind list sent with this trap. The agent may\noptionally include the rptrHealthText object as\nwell.") rptrInfoHealth = NotificationType((1, 3, 6, 1, 2, 1, 22, 0, 4)).setObjects(*(("SNMP-REPEATER-MIB", "rptrInfoOperStatus"), ) ) if mibBuilder.loadTexts: rptrInfoHealth.setDescription("In a system containing multiple managed repeaters,\nthe rptrInfoHealth notification conveys information\nrelated to the operational status of a repeater.\nIt is sent either when the value of rptrInfoOperStatus\nchanges, or upon completion of a non-disruptive test.\n\nThe agent must throttle the generation of\nconsecutive rptrInfoHealth notifications for\nthe same repeater so that there is at least\na five-second gap between notifications of this type.\nWhen notifications are throttled, they are dropped,\nnot queued for sending at a future time. (Note\nthat 'generating' a notification means sending\nto all configured recipients.)") rptrInfoResetEvent = NotificationType((1, 3, 6, 1, 2, 1, 22, 0, 5)).setObjects(*(("SNMP-REPEATER-MIB", "rptrInfoOperStatus"), ) ) if mibBuilder.loadTexts: rptrInfoResetEvent.setDescription("In a system containing multiple managed\nrepeaters, the rptrInfoResetEvent notification\nconveys information related to the operational\nstatus of a repeater. This notification is sent\non completion of a repeater reset action. A\nrepeater reset action is defined as a transition\nto the START state of Fig 9-2 in section 9 of\n[IEEE 802.3 Std], when triggered by a management\ncommand (e.g., an SNMP Set on the rptrInfoReset\nobject).\n\nThe agent must throttle the generation of\nconsecutive rptrInfoResetEvent notifications for\na single repeater so that there is at least\na five-second gap between notifications of\nthis type. When notifications are throttled,\nthey are dropped, not queued for sending at\na future time. (Note that 'generating' a\nnotification means sending to all configured\nrecipients.)\n\nThe rptrInfoResetEvent is not sent when the\nagent restarts and sends an SNMP coldStart or\nwarmStart trap. However, it is recommended that\na repeater agent send the rptrInfoOperStatus\nobject as an optional object with its coldStart\nand warmStart trap PDUs.") # Groups snmpRptrGrpBasic1516 = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 1)).setObjects(*(("SNMP-REPEATER-MIB", "rptrTotalPartitionedPorts"), ("SNMP-REPEATER-MIB", "rptrPortGroupIndex"), ("SNMP-REPEATER-MIB", "rptrGroupDescr"), ("SNMP-REPEATER-MIB", "rptrReset"), ("SNMP-REPEATER-MIB", "rptrPortIndex"), ("SNMP-REPEATER-MIB", "rptrOperStatus"), ("SNMP-REPEATER-MIB", "rptrGroupLastOperStatusChange"), ("SNMP-REPEATER-MIB", "rptrGroupCapacity"), ("SNMP-REPEATER-MIB", "rptrGroupPortCapacity"), ("SNMP-REPEATER-MIB", "rptrPortAutoPartitionState"), ("SNMP-REPEATER-MIB", "rptrGroupObjectID"), ("SNMP-REPEATER-MIB", "rptrHealthText"), ("SNMP-REPEATER-MIB", "rptrPortOperStatus"), ("SNMP-REPEATER-MIB", "rptrNonDisruptTest"), ("SNMP-REPEATER-MIB", "rptrGroupOperStatus"), ("SNMP-REPEATER-MIB", "rptrGroupIndex"), ("SNMP-REPEATER-MIB", "rptrPortAdminStatus"), ) ) if mibBuilder.loadTexts: snmpRptrGrpBasic1516.setDescription("********* THIS GROUP IS DEPRECATED **********\n\nBasic group from RFCs 1368 and 1516.\n\nNOTE: this object group is DEPRECATED and replaced\n with snmpRptrGrpBasic.") snmpRptrGrpMonitor1516 = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 2)).setObjects(*(("SNMP-REPEATER-MIB", "rptrMonitorPortFCSErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorGroupTotalFrames"), ("SNMP-REPEATER-MIB", "rptrMonitorPortTotalErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorGroupTotalOctets"), ("SNMP-REPEATER-MIB", "rptrMonitorGroupTotalErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorPortCollisions"), ("SNMP-REPEATER-MIB", "rptrMonitorPortReadableFrames"), ("SNMP-REPEATER-MIB", "rptrMonitorPortIndex"), ("SNMP-REPEATER-MIB", "rptrMonitorPortReadableOctets"), ("SNMP-REPEATER-MIB", "rptrMonitorPortVeryLongEvents"), ("SNMP-REPEATER-MIB", "rptrMonitorTransmitCollisions"), ("SNMP-REPEATER-MIB", "rptrMonitorGroupIndex"), ("SNMP-REPEATER-MIB", "rptrMonitorPortAlignmentErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorPortDataRateMismatches"), ("SNMP-REPEATER-MIB", "rptrMonitorPortAutoPartitions"), ("SNMP-REPEATER-MIB", "rptrMonitorPortFrameTooLongs"), ("SNMP-REPEATER-MIB", "rptrMonitorPortRunts"), ("SNMP-REPEATER-MIB", "rptrMonitorPortLateEvents"), ("SNMP-REPEATER-MIB", "rptrMonitorPortShortEvents"), ("SNMP-REPEATER-MIB", "rptrMonitorPortGroupIndex"), ) ) if mibBuilder.loadTexts: snmpRptrGrpMonitor1516.setDescription("********* THIS GROUP IS DEPRECATED **********\n\nMonitor group from RFCs 1368 and 1516.\n\nNOTE: this object group is DEPRECATED and replaced\n with snmpRptrGrpMonitor.") snmpRptrGrpAddrTrack1368 = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 3)).setObjects(*(("SNMP-REPEATER-MIB", "rptrAddrTrackSourceAddrChanges"), ("SNMP-REPEATER-MIB", "rptrAddrTrackLastSourceAddress"), ("SNMP-REPEATER-MIB", "rptrAddrTrackGroupIndex"), ("SNMP-REPEATER-MIB", "rptrAddrTrackPortIndex"), ) ) if mibBuilder.loadTexts: snmpRptrGrpAddrTrack1368.setDescription("Address tracking group from RFC 1368.\n\nNOTE: this object group is OBSOLETE and replaced\n with snmpRptrGrpAddrTrack1516.") snmpRptrGrpAddrTrack1516 = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 4)).setObjects(*(("SNMP-REPEATER-MIB", "rptrAddrTrackNewLastSrcAddress"), ("SNMP-REPEATER-MIB", "rptrAddrTrackSourceAddrChanges"), ("SNMP-REPEATER-MIB", "rptrAddrTrackLastSourceAddress"), ("SNMP-REPEATER-MIB", "rptrAddrTrackGroupIndex"), ("SNMP-REPEATER-MIB", "rptrAddrTrackPortIndex"), ) ) if mibBuilder.loadTexts: snmpRptrGrpAddrTrack1516.setDescription("********* THIS GROUP IS DEPRECATED **********\nAddress tracking group from RFC 1516.\n\nNOTE: this object group is DEPRECATED and\n replaced with snmpRptrGrpAddrTrack.") snmpRptrGrpBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 5)).setObjects(*(("SNMP-REPEATER-MIB", "rptrPortGroupIndex"), ("SNMP-REPEATER-MIB", "rptrInfoId"), ("SNMP-REPEATER-MIB", "rptrPortOperStatus"), ("SNMP-REPEATER-MIB", "rptrPortIndex"), ("SNMP-REPEATER-MIB", "rptrInfoOperStatus"), ("SNMP-REPEATER-MIB", "rptrGroupPortCapacity"), ("SNMP-REPEATER-MIB", "rptrInfoLastChange"), ("SNMP-REPEATER-MIB", "rptrPortRptrId"), ("SNMP-REPEATER-MIB", "rptrPortAutoPartitionState"), ("SNMP-REPEATER-MIB", "rptrInfoRptrType"), ("SNMP-REPEATER-MIB", "rptrGroupObjectID"), ("SNMP-REPEATER-MIB", "rptrInfoReset"), ("SNMP-REPEATER-MIB", "rptrInfoPartitionedPorts"), ("SNMP-REPEATER-MIB", "rptrGroupOperStatus"), ("SNMP-REPEATER-MIB", "rptrGroupIndex"), ("SNMP-REPEATER-MIB", "rptrPortAdminStatus"), ) ) if mibBuilder.loadTexts: snmpRptrGrpBasic.setDescription("Basic group for a system with one or more\nrepeater-units in multi-segment (post-RFC 1516)\nversion of the MIB module.") snmpRptrGrpMonitor = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 6)).setObjects(*(("SNMP-REPEATER-MIB", "rptrMonitorPortCollisions"), ("SNMP-REPEATER-MIB", "rptrMonitorPortTotalErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorPortDataRateMismatches"), ("SNMP-REPEATER-MIB", "rptrMonitorPortGroupIndex"), ("SNMP-REPEATER-MIB", "rptrMonitorPortVeryLongEvents"), ("SNMP-REPEATER-MIB", "rptrMonTotalFrames"), ("SNMP-REPEATER-MIB", "rptrMonitorPortIndex"), ("SNMP-REPEATER-MIB", "rptrMonitorPortReadableOctets"), ("SNMP-REPEATER-MIB", "rptrMonTotalErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorPortReadableFrames"), ("SNMP-REPEATER-MIB", "rptrMonTotalOctets"), ("SNMP-REPEATER-MIB", "rptrMonitorPortFCSErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorPortAlignmentErrors"), ("SNMP-REPEATER-MIB", "rptrMonTxCollisions"), ("SNMP-REPEATER-MIB", "rptrMonitorPortAutoPartitions"), ("SNMP-REPEATER-MIB", "rptrMonitorPortFrameTooLongs"), ("SNMP-REPEATER-MIB", "rptrMonitorPortRunts"), ("SNMP-REPEATER-MIB", "rptrMonitorPortShortEvents"), ("SNMP-REPEATER-MIB", "rptrMonitorPortLastChange"), ("SNMP-REPEATER-MIB", "rptrMonitorPortLateEvents"), ) ) if mibBuilder.loadTexts: snmpRptrGrpMonitor.setDescription("Monitor group for a system with one or more\nrepeater-units in multi-segment (post-RFC 1516)\nversion of the MIB module.") snmpRptrGrpMonitor100 = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 7)).setObjects(*(("SNMP-REPEATER-MIB", "rptrMonitorPortSymbolErrors"), ("SNMP-REPEATER-MIB", "rptrMonitorPortIsolates"), ("SNMP-REPEATER-MIB", "rptrMonUpper32TotalOctets"), ("SNMP-REPEATER-MIB", "rptrMonitorPortUpper32Octets"), ) ) if mibBuilder.loadTexts: snmpRptrGrpMonitor100.setDescription("Monitor group for 100Mb/s ports and repeaters\nin a system with one or more repeater-units in\nmulti-segment (post-RFC 1516) version of the MIB\nmodule. Systems which support Counter64 should\nalso implement snmpRptrGrpMonitor100w64.") snmpRptrGrpMonitor100w64 = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 8)).setObjects(*(("SNMP-REPEATER-MIB", "rptrMonHCTotalOctets"), ("SNMP-REPEATER-MIB", "rptrMonitorPortHCReadableOctets"), ) ) if mibBuilder.loadTexts: snmpRptrGrpMonitor100w64.setDescription("Monitor group for 100Mb/s ports and repeaters in a\nsystem with one or more repeater-units and support\nfor Counter64.") snmpRptrGrpAddrTrack = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 9)).setObjects(*(("SNMP-REPEATER-MIB", "rptrAddrTrackNewLastSrcAddress"), ("SNMP-REPEATER-MIB", "rptrAddrTrackCapacity"), ("SNMP-REPEATER-MIB", "rptrAddrTrackSourceAddrChanges"), ("SNMP-REPEATER-MIB", "rptrAddrTrackGroupIndex"), ("SNMP-REPEATER-MIB", "rptrAddrTrackPortIndex"), ) ) if mibBuilder.loadTexts: snmpRptrGrpAddrTrack.setDescription("Passive address tracking group for post-RFC 1516\nversion of the MIB module.") snmpRptrGrpExtAddrTrack = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 10)).setObjects(*(("SNMP-REPEATER-MIB", "rptrExtAddrTrackMacIndex"), ("SNMP-REPEATER-MIB", "rptrExtAddrTrackSourceAddress"), ) ) if mibBuilder.loadTexts: snmpRptrGrpExtAddrTrack.setDescription("Extended passive address tracking group for\na system with one or more repeater-units in\npost-RFC 1516 version of the MIB module.") snmpRptrGrpRptrAddrSearch = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 11)).setObjects(*(("SNMP-REPEATER-MIB", "rptrAddrSearchOwner"), ("SNMP-REPEATER-MIB", "rptrAddrSearchLock"), ("SNMP-REPEATER-MIB", "rptrAddrSearchGroup"), ("SNMP-REPEATER-MIB", "rptrAddrSearchAddress"), ("SNMP-REPEATER-MIB", "rptrAddrSearchState"), ("SNMP-REPEATER-MIB", "rptrAddrSearchStatus"), ("SNMP-REPEATER-MIB", "rptrAddrSearchPort"), ) ) if mibBuilder.loadTexts: snmpRptrGrpRptrAddrSearch.setDescription("Active MAC address search group and topology\nmapping support for repeaters.") snmpRptrGrpTopNPort = ObjectGroup((1, 3, 6, 1, 2, 1, 22, 5, 1, 2, 12)).setObjects(*(("SNMP-REPEATER-MIB", "rptrTopNPortRequestedSize"), ("SNMP-REPEATER-MIB", "rptrTopNPortStartTime"), ("SNMP-REPEATER-MIB", "rptrTopNPortRate"), ("SNMP-REPEATER-MIB", "rptrTopNPortGroupIndex"), ("SNMP-REPEATER-MIB", "rptrTopNPortOwner"), ("SNMP-REPEATER-MIB", "rptrTopNPortGrantedSize"), ("SNMP-REPEATER-MIB", "rptrTopNPortRateBase"), ("SNMP-REPEATER-MIB", "rptrTopNPortTimeRemaining"), ("SNMP-REPEATER-MIB", "rptrTopNPortRepeaterId"), ("SNMP-REPEATER-MIB", "rptrTopNPortPortIndex"), ("SNMP-REPEATER-MIB", "rptrTopNPortRowStatus"), ("SNMP-REPEATER-MIB", "rptrTopNPortControlIndex"), ("SNMP-REPEATER-MIB", "rptrTopNPortDuration"), ("SNMP-REPEATER-MIB", "rptrTopNPortIndex"), ) ) if mibBuilder.loadTexts: snmpRptrGrpTopNPort.setDescription("Top `N' group for repeater ports.") # Compliances snmpRptrModComplRFC1368 = ModuleCompliance((1, 3, 6, 1, 2, 1, 22, 5, 1, 1, 1)).setObjects(*(("SNMP-REPEATER-MIB", "snmpRptrGrpMonitor1516"), ("SNMP-REPEATER-MIB", "snmpRptrGrpBasic1516"), ("SNMP-REPEATER-MIB", "snmpRptrGrpAddrTrack1368"), ) ) if mibBuilder.loadTexts: snmpRptrModComplRFC1368.setDescription("Compliance for RFC 1368.\n\nNOTE: this module compliance is OBSOLETE and\n replaced by snmpRptrModComplRFC1516.") snmpRptrModComplRFC1516 = ModuleCompliance((1, 3, 6, 1, 2, 1, 22, 5, 1, 1, 2)).setObjects(*(("SNMP-REPEATER-MIB", "snmpRptrGrpAddrTrack1516"), ("SNMP-REPEATER-MIB", "snmpRptrGrpMonitor1516"), ("SNMP-REPEATER-MIB", "snmpRptrGrpBasic1516"), ) ) if mibBuilder.loadTexts: snmpRptrModComplRFC1516.setDescription("********* THIS COMPLIANCE IS DEPRECATED **********\n\nCompliance for RFC 1516 and for backwards\ncompatibility with single-repeater,\n10Mb/s-only implementations.") snmpRptrModCompl = ModuleCompliance((1, 3, 6, 1, 2, 1, 22, 5, 1, 1, 3)).setObjects(*(("SNMP-REPEATER-MIB", "snmpRptrGrpRptrAddrSearch"), ("SNMP-REPEATER-MIB", "snmpRptrGrpTopNPort"), ("SNMP-REPEATER-MIB", "snmpRptrGrpMonitor100"), ("SNMP-REPEATER-MIB", "snmpRptrGrpBasic"), ("SNMP-REPEATER-MIB", "snmpRptrGrpMonitor100w64"), ("SNMP-REPEATER-MIB", "snmpRptrGrpAddrTrack"), ("SNMP-REPEATER-MIB", "snmpRptrGrpExtAddrTrack"), ("SNMP-REPEATER-MIB", "snmpRptrGrpMonitor"), ) ) if mibBuilder.loadTexts: snmpRptrModCompl.setDescription("Compliance for the multi-segment version of the\nMIB module for a system with one or more\nrepeater-units.") # Exports # Module identity mibBuilder.exportSymbols("SNMP-REPEATER-MIB", PYSNMP_MODULE_ID=snmpRptrMod) # Types mibBuilder.exportSymbols("SNMP-REPEATER-MIB", OptMacAddr=OptMacAddr) # Objects mibBuilder.exportSymbols("SNMP-REPEATER-MIB", snmpDot3RptrMgt=snmpDot3RptrMgt, rptrBasicPackage=rptrBasicPackage, rptrRptrInfo=rptrRptrInfo, rptrGroupCapacity=rptrGroupCapacity, rptrOperStatus=rptrOperStatus, rptrHealthText=rptrHealthText, rptrReset=rptrReset, rptrNonDisruptTest=rptrNonDisruptTest, rptrTotalPartitionedPorts=rptrTotalPartitionedPorts, rptrGroupInfo=rptrGroupInfo, rptrGroupTable=rptrGroupTable, rptrGroupEntry=rptrGroupEntry, rptrGroupIndex=rptrGroupIndex, rptrGroupDescr=rptrGroupDescr, rptrGroupObjectID=rptrGroupObjectID, rptrGroupOperStatus=rptrGroupOperStatus, rptrGroupLastOperStatusChange=rptrGroupLastOperStatusChange, rptrGroupPortCapacity=rptrGroupPortCapacity, rptrPortInfo=rptrPortInfo, rptrPortTable=rptrPortTable, rptrPortEntry=rptrPortEntry, rptrPortGroupIndex=rptrPortGroupIndex, rptrPortIndex=rptrPortIndex, rptrPortAdminStatus=rptrPortAdminStatus, rptrPortAutoPartitionState=rptrPortAutoPartitionState, rptrPortOperStatus=rptrPortOperStatus, rptrPortRptrId=rptrPortRptrId, rptrAllRptrInfo=rptrAllRptrInfo, rptrInfoTable=rptrInfoTable, rptrInfoEntry=rptrInfoEntry, rptrInfoId=rptrInfoId, rptrInfoRptrType=rptrInfoRptrType, rptrInfoOperStatus=rptrInfoOperStatus, rptrInfoReset=rptrInfoReset, rptrInfoPartitionedPorts=rptrInfoPartitionedPorts, rptrInfoLastChange=rptrInfoLastChange, rptrMonitorPackage=rptrMonitorPackage, rptrMonitorRptrInfo=rptrMonitorRptrInfo, rptrMonitorTransmitCollisions=rptrMonitorTransmitCollisions, rptrMonitorGroupInfo=rptrMonitorGroupInfo, rptrMonitorGroupTable=rptrMonitorGroupTable, rptrMonitorGroupEntry=rptrMonitorGroupEntry, rptrMonitorGroupIndex=rptrMonitorGroupIndex, rptrMonitorGroupTotalFrames=rptrMonitorGroupTotalFrames, rptrMonitorGroupTotalOctets=rptrMonitorGroupTotalOctets, rptrMonitorGroupTotalErrors=rptrMonitorGroupTotalErrors, rptrMonitorPortInfo=rptrMonitorPortInfo, rptrMonitorPortTable=rptrMonitorPortTable, rptrMonitorPortEntry=rptrMonitorPortEntry, rptrMonitorPortGroupIndex=rptrMonitorPortGroupIndex, rptrMonitorPortIndex=rptrMonitorPortIndex, rptrMonitorPortReadableFrames=rptrMonitorPortReadableFrames, rptrMonitorPortReadableOctets=rptrMonitorPortReadableOctets, rptrMonitorPortFCSErrors=rptrMonitorPortFCSErrors, rptrMonitorPortAlignmentErrors=rptrMonitorPortAlignmentErrors, rptrMonitorPortFrameTooLongs=rptrMonitorPortFrameTooLongs, rptrMonitorPortShortEvents=rptrMonitorPortShortEvents, rptrMonitorPortRunts=rptrMonitorPortRunts, rptrMonitorPortCollisions=rptrMonitorPortCollisions, rptrMonitorPortLateEvents=rptrMonitorPortLateEvents, rptrMonitorPortVeryLongEvents=rptrMonitorPortVeryLongEvents, rptrMonitorPortDataRateMismatches=rptrMonitorPortDataRateMismatches, rptrMonitorPortAutoPartitions=rptrMonitorPortAutoPartitions, rptrMonitorPortTotalErrors=rptrMonitorPortTotalErrors, rptrMonitorPortLastChange=rptrMonitorPortLastChange, rptrMonitor100PortTable=rptrMonitor100PortTable, rptrMonitor100PortEntry=rptrMonitor100PortEntry, rptrMonitorPortIsolates=rptrMonitorPortIsolates, rptrMonitorPortSymbolErrors=rptrMonitorPortSymbolErrors, rptrMonitorPortUpper32Octets=rptrMonitorPortUpper32Octets, rptrMonitorPortHCReadableOctets=rptrMonitorPortHCReadableOctets, rptrMonitorAllRptrInfo=rptrMonitorAllRptrInfo, rptrMonTable=rptrMonTable, rptrMonEntry=rptrMonEntry, rptrMonTxCollisions=rptrMonTxCollisions, rptrMonTotalFrames=rptrMonTotalFrames, rptrMonTotalErrors=rptrMonTotalErrors, rptrMonTotalOctets=rptrMonTotalOctets, rptrMon100Table=rptrMon100Table, rptrMon100Entry=rptrMon100Entry, rptrMonUpper32TotalOctets=rptrMonUpper32TotalOctets, rptrMonHCTotalOctets=rptrMonHCTotalOctets, rptrAddrTrackPackage=rptrAddrTrackPackage, rptrAddrTrackRptrInfo=rptrAddrTrackRptrInfo, rptrAddrSearchTable=rptrAddrSearchTable, rptrAddrSearchEntry=rptrAddrSearchEntry, rptrAddrSearchLock=rptrAddrSearchLock, rptrAddrSearchStatus=rptrAddrSearchStatus, rptrAddrSearchAddress=rptrAddrSearchAddress, rptrAddrSearchState=rptrAddrSearchState, rptrAddrSearchGroup=rptrAddrSearchGroup, rptrAddrSearchPort=rptrAddrSearchPort, rptrAddrSearchOwner=rptrAddrSearchOwner, rptrAddrTrackGroupInfo=rptrAddrTrackGroupInfo, rptrAddrTrackPortInfo=rptrAddrTrackPortInfo, rptrAddrTrackTable=rptrAddrTrackTable, rptrAddrTrackEntry=rptrAddrTrackEntry, rptrAddrTrackGroupIndex=rptrAddrTrackGroupIndex, rptrAddrTrackPortIndex=rptrAddrTrackPortIndex, rptrAddrTrackLastSourceAddress=rptrAddrTrackLastSourceAddress, rptrAddrTrackSourceAddrChanges=rptrAddrTrackSourceAddrChanges, rptrAddrTrackNewLastSrcAddress=rptrAddrTrackNewLastSrcAddress, rptrAddrTrackCapacity=rptrAddrTrackCapacity, rptrExtAddrTrackTable=rptrExtAddrTrackTable, rptrExtAddrTrackEntry=rptrExtAddrTrackEntry, rptrExtAddrTrackMacIndex=rptrExtAddrTrackMacIndex, rptrExtAddrTrackSourceAddress=rptrExtAddrTrackSourceAddress, rptrTopNPackage=rptrTopNPackage, rptrTopNRptrInfo=rptrTopNRptrInfo, rptrTopNGroupInfo=rptrTopNGroupInfo, rptrTopNPortInfo=rptrTopNPortInfo, rptrTopNPortControlTable=rptrTopNPortControlTable, rptrTopNPortControlEntry=rptrTopNPortControlEntry, rptrTopNPortControlIndex=rptrTopNPortControlIndex, rptrTopNPortRepeaterId=rptrTopNPortRepeaterId, rptrTopNPortRateBase=rptrTopNPortRateBase, rptrTopNPortTimeRemaining=rptrTopNPortTimeRemaining, rptrTopNPortDuration=rptrTopNPortDuration, rptrTopNPortRequestedSize=rptrTopNPortRequestedSize, rptrTopNPortGrantedSize=rptrTopNPortGrantedSize, rptrTopNPortStartTime=rptrTopNPortStartTime, rptrTopNPortOwner=rptrTopNPortOwner, rptrTopNPortRowStatus=rptrTopNPortRowStatus, rptrTopNPortTable=rptrTopNPortTable, rptrTopNPortEntry=rptrTopNPortEntry, rptrTopNPortIndex=rptrTopNPortIndex) mibBuilder.exportSymbols("SNMP-REPEATER-MIB", rptrTopNPortGroupIndex=rptrTopNPortGroupIndex, rptrTopNPortPortIndex=rptrTopNPortPortIndex, rptrTopNPortRate=rptrTopNPortRate, snmpRptrMod=snmpRptrMod, snmpRptrModConf=snmpRptrModConf, snmpRptrModCompls=snmpRptrModCompls, snmpRptrModObjGrps=snmpRptrModObjGrps, snmpRptrModNotGrps=snmpRptrModNotGrps) # Notifications mibBuilder.exportSymbols("SNMP-REPEATER-MIB", rptrHealth=rptrHealth, rptrGroupChange=rptrGroupChange, rptrResetEvent=rptrResetEvent, rptrInfoHealth=rptrInfoHealth, rptrInfoResetEvent=rptrInfoResetEvent) # Groups mibBuilder.exportSymbols("SNMP-REPEATER-MIB", snmpRptrGrpBasic1516=snmpRptrGrpBasic1516, snmpRptrGrpMonitor1516=snmpRptrGrpMonitor1516, snmpRptrGrpAddrTrack1368=snmpRptrGrpAddrTrack1368, snmpRptrGrpAddrTrack1516=snmpRptrGrpAddrTrack1516, snmpRptrGrpBasic=snmpRptrGrpBasic, snmpRptrGrpMonitor=snmpRptrGrpMonitor, snmpRptrGrpMonitor100=snmpRptrGrpMonitor100, snmpRptrGrpMonitor100w64=snmpRptrGrpMonitor100w64, snmpRptrGrpAddrTrack=snmpRptrGrpAddrTrack, snmpRptrGrpExtAddrTrack=snmpRptrGrpExtAddrTrack, snmpRptrGrpRptrAddrSearch=snmpRptrGrpRptrAddrSearch, snmpRptrGrpTopNPort=snmpRptrGrpTopNPort) # Compliances mibBuilder.exportSymbols("SNMP-REPEATER-MIB", snmpRptrModComplRFC1368=snmpRptrModComplRFC1368, snmpRptrModComplRFC1516=snmpRptrModComplRFC1516, snmpRptrModCompl=snmpRptrModCompl) pysnmp-mibs-0.1.3/pysnmp_mibs/DS0-MIB.py0000644000014400001440000002225411736645136020030 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DS0-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:54 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, InterfaceIndexOrZero, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( DisplayString, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue") # Objects ds0 = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 81)).setRevisions(("1998-07-16 16:30","1998-05-24 20:10",)) if mibBuilder.loadTexts: ds0.setOrganization("IETF Trunk MIB Working Group") if mibBuilder.loadTexts: ds0.setContactInfo(" David Fowler\n\nPostal: Newbridge Networks Corporation\n 600 March Road\n Kanata, Ontario, Canada K2K 2E6\n\n Tel: +1 613 591 3600\n Fax: +1 613 599 3619\n\nE-mail: davef@newbridge.com") if mibBuilder.loadTexts: ds0.setDescription("The MIB module to describe\nDS0 interfaces objects.") dsx0ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 81, 1)) if mibBuilder.loadTexts: dsx0ConfigTable.setDescription("The DS0 Configuration table.") dsx0ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 81, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dsx0ConfigEntry.setDescription("An entry in the DS0 Configuration table. There\nis an entry in this table for each DS0 interface.") dsx0Ds0ChannelNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx0Ds0ChannelNumber.setDescription("This object indicates the channel number of the\nds0 on its DS1/E1.") dsx0RobbedBitSignalling = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx0RobbedBitSignalling.setDescription("This object indicates if Robbed Bit Signalling is\nturned on or off for a given ds0. This only\napplies to DS0s on a DS1 link. For E1 links the\nvalue is always off (false).") dsx0CircuitIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx0CircuitIdentifier.setDescription("This object contains the transmission vendor's\ncircuit identifier, for the purpose of\nfacilitating troubleshooting.") dsx0IdleCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx0IdleCode.setDescription("This object contains the code transmitted in the\nABCD bits when the ds0 is not connected and\ndsx0TransmitCodesEnable is enabled. The object is\na bitmap and the various bit positions are:\n 1 D bit\n 2 C bit\n 4 B bit\n 8 A bit") dsx0SeizedCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx0SeizedCode.setDescription("This object contains the code transmitted in the\nABCD bits when the ds0 is connected and\ndsx0TransmitCodesEnable is enabled. The object is\na bitmap and the various bit positions are:\n 1 D bit\n 2 C bit\n 4 B bit\n 8 A bit") dsx0ReceivedCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx0ReceivedCode.setDescription("This object contains the code being received in\nthe ABCD bits. The object is a bitmap and the\nvarious bit positions are:\n 1 D bit\n 2 C bit\n 4 B bit\n 8 A bit") dsx0TransmitCodesEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx0TransmitCodesEnable.setDescription("This object determines if the idle and seized\ncodes are transmitted. If the value of this object\nis true then the codes are transmitted.") dsx0Ds0BundleMappedIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 1, 1, 8), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx0Ds0BundleMappedIfIndex.setDescription("This object indicates the ifIndex value assigned\nby the agent for the ds0Bundle(82) ifEntry to\nwhich the given ds0(81) ifEntry may belong.\n\nIf the given ds0(81) ifEntry does not belong to\nany ds0Bundle(82) ifEntry, then this object has a\nvalue of zero.\n\nWhile this object provides information that can\nalso be found in the ifStackTable, it provides\nthis same information with a single table lookup,\nrather than by walking the ifStackTable to find\nthe possibly non-existent ds0Bundle(82) ifEntry\nthat may be stacked above the given ds0(81)\nifTable entry.") ds0Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 81, 2)) ds0Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 81, 2, 1)) ds0Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 81, 2, 2)) dsx0ChanMappingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 81, 3)) if mibBuilder.loadTexts: dsx0ChanMappingTable.setDescription("The DS0 Channel Mapping table. This table maps a\nDS0 channel number on a particular DS1/E1 into an\nifIndex.") dsx0ChanMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 81, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DS0-MIB", "dsx0Ds0ChannelNumber")) if mibBuilder.loadTexts: dsx0ChanMappingEntry.setDescription("An entry in the DS0 Channel Mapping table. There\nis an entry in this table corresponding to each\nds0 ifEntry within any interface that is\nchannelized to the individual ds0 ifEntry level.\n\nThis table is intended to facilitate mapping from\nchannelized interface / channel number to DS0\nifEntry. (e.g. mapping (DS1 ifIndex, DS0 Channel\nNumber) -> ifIndex)\n\nWhile this table provides information that can\nalso be found in the ifStackTable and\ndsx0ConfigTable, it provides this same information\nwith a single table lookup, rather than by walking\nthe ifStackTable to find the various constituent\nds0 ifTable entries, and testing various\ndsx0ConfigTable entries to check for the entry\nwith the applicable DS0 channel number.") dsx0ChanMappedIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 81, 3, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx0ChanMappedIfIndex.setDescription("This object indicates the ifIndex value assigned\nby the agent for the individual ds0 ifEntry that\ncorresponds to the given DS0 channel number\n(specified by the INDEX element\ndsx0Ds0ChannelNumber) of the given channelized\ninterface (specified by INDEX element ifIndex).") # Augmentions # Groups ds0ConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 81, 2, 1, 1)).setObjects(*(("DS0-MIB", "dsx0CircuitIdentifier"), ("DS0-MIB", "dsx0SeizedCode"), ("DS0-MIB", "dsx0Ds0ChannelNumber"), ("DS0-MIB", "dsx0Ds0BundleMappedIfIndex"), ("DS0-MIB", "dsx0TransmitCodesEnable"), ("DS0-MIB", "dsx0ChanMappedIfIndex"), ("DS0-MIB", "dsx0RobbedBitSignalling"), ("DS0-MIB", "dsx0IdleCode"), ("DS0-MIB", "dsx0ReceivedCode"), ) ) if mibBuilder.loadTexts: ds0ConfigGroup.setDescription("A collection of objects providing configuration\ninformation applicable to all DS0 interfaces.") # Compliances ds0Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 81, 2, 2, 1)).setObjects(*(("DS0-MIB", "ds0ConfigGroup"), ) ) if mibBuilder.loadTexts: ds0Compliance.setDescription("The compliance statement for DS0 interfaces.") # Exports # Module identity mibBuilder.exportSymbols("DS0-MIB", PYSNMP_MODULE_ID=ds0) # Objects mibBuilder.exportSymbols("DS0-MIB", ds0=ds0, dsx0ConfigTable=dsx0ConfigTable, dsx0ConfigEntry=dsx0ConfigEntry, dsx0Ds0ChannelNumber=dsx0Ds0ChannelNumber, dsx0RobbedBitSignalling=dsx0RobbedBitSignalling, dsx0CircuitIdentifier=dsx0CircuitIdentifier, dsx0IdleCode=dsx0IdleCode, dsx0SeizedCode=dsx0SeizedCode, dsx0ReceivedCode=dsx0ReceivedCode, dsx0TransmitCodesEnable=dsx0TransmitCodesEnable, dsx0Ds0BundleMappedIfIndex=dsx0Ds0BundleMappedIfIndex, ds0Conformance=ds0Conformance, ds0Groups=ds0Groups, ds0Compliances=ds0Compliances, dsx0ChanMappingTable=dsx0ChanMappingTable, dsx0ChanMappingEntry=dsx0ChanMappingEntry, dsx0ChanMappedIfIndex=dsx0ChanMappedIfIndex) # Groups mibBuilder.exportSymbols("DS0-MIB", ds0ConfigGroup=ds0ConfigGroup) # Compliances mibBuilder.exportSymbols("DS0-MIB", ds0Compliance=ds0Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-VIRTUAL-FABRIC-MIB.py0000644000014400001440000004051011736645141022334 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-VIRTUAL-FABRIC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:43 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcNameIdOrZero, fcmInstanceIndex, fcmPortEntry, fcmSwitchEntry, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcNameIdOrZero", "fcmInstanceIndex", "fcmPortEntry", "fcmSwitchEntry") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Objects t11FcVirtualFabricMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 147)).setRevisions(("2006-11-10 00:00",)) if mibBuilder.loadTexts: t11FcVirtualFabricMIB.setOrganization("IETF IMSS (Internet and Management Support\nfor Storage) Working Group") if mibBuilder.loadTexts: t11FcVirtualFabricMIB.setContactInfo("\nScott Kipp\nMcDATA Corporation\nTel: +1 720 558-3452\nE-mail: scott.kipp@mcdata.com\nPostal: 4 McDATA Parkway\nBroomfield, CO USA 80021\n\nG D Ramkumar\nSnapTell, Inc.\nTel: +1 650-326-7627\nE-mail: gramkumar@stanfordalumni.org\nPostal: 2741 Middlefield Rd, Suite 200\nPalo Alto, CA USA 94306\n\nKeith McCloghrie\nCisco Systems, Inc.\nTel: +1 408 526-5260\nE-mail: kzm@cisco.com\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134") if mibBuilder.loadTexts: t11FcVirtualFabricMIB.setDescription("This module defines management information specific to\nFibre Channel Virtual Fabrics. A Virtual Fabric is a\n\n\n\nFabric composed of partitions of switches, links and\nN_Ports with a single Fabric management domain, Fabric\nServices and independence from other Virtual Fabrics.\n\nCopyright (C) The IETF Trust (2006). This version of\nthis MIB module is part of RFC 4747; see the RFC itself for\nfull legal notices.") t11vfObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 147, 1)) t11vfCoreSwitchTable = MibTable((1, 3, 6, 1, 2, 1, 147, 1, 1)) if mibBuilder.loadTexts: t11vfCoreSwitchTable.setDescription("A table of core switches supported by the current\nmanagement entity.") t11vfCoreSwitchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 147, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "T11-FC-VIRTUAL-FABRIC-MIB", "t11vfCoreSwitchSwitchName")) if mibBuilder.loadTexts: t11vfCoreSwitchEntry.setDescription("Each entry represents one core switch.") t11vfCoreSwitchSwitchName = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 1, 1, 1), FcNameIdOrZero().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11vfCoreSwitchSwitchName.setDescription("The Core Switch_Name (WWN) of this Core Switch.") t11vfCoreSwitchMaxSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11vfCoreSwitchMaxSupported.setDescription("In switches that do not support Virtual Fabrics,\nthis object has the value of 1. If Virtual Fabrics\nare supported, this object is the maximum number of\nVirtual Fabrics supported by the Core Switch. For\nthe purpose of this count, the Control VF_ID is\nignored.") t11vfCoreSwitchStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 1, 1, 3), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11vfCoreSwitchStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") t11vfVirtualSwitchTable = MibTable((1, 3, 6, 1, 2, 1, 147, 1, 2)) if mibBuilder.loadTexts: t11vfVirtualSwitchTable.setDescription("A table of Virtual Switches. When one Core Switch\nprovides switching functions for multiple Virtual Fabrics,\nthat Core Switch is modeled as containing multiple\nVirtual Switches, one for each Virtual Fabric. This table\ncontains one row for every Virtual Switch on every Core\nSwitch. This table augments the basic switch information in\nthe fcmSwitchTable Table in the FC-MGMT-MIB.") t11vfVirtualSwitchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 147, 1, 2, 1)) if mibBuilder.loadTexts: t11vfVirtualSwitchEntry.setDescription("An entry of the Virtual Switch table. Each row is for a\nVirtual Switch.\n\nThis table augments the fcmSwitchTable, i.e., every entry\nin this table has a one-to-one correspondence with an\nentry in the fcmSwitchTable. At the time when the\nfcmSwitchTable was defined, it applied to physical\nswitches. With the definition and usage of virtual\nswitches, fcmSwitchTable now applies to virtual switches\nas well as physical switches, and (in contrast to physical\nswitches) it is appropriate to provide the capability for\nvirtual switches to be created via remote management\napplications, e.g., via SNMP.\n\nSo, this entry contains a RowStatus object (to allow the\ncreation of a virtual switch), as well as a StorageType\nobject. Obviously, if a row is created/deleted in this\ntable, the corresponding row in the fcmSwitchTable will\nbe created/deleted.") t11vfVirtualSwitchVfId = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 2, 1, 1), T11FabricIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11vfVirtualSwitchVfId.setDescription("The VF_ID of the Virtual Fabric for which this virtual\nswitch performs its switching function. The Control\nVF_ID is implicitly enabled and is not set.\nCommunication with the Control VF_ID is required.") t11vfVirtualSwitchCoreSwitchName = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 2, 1, 2), FcNameIdOrZero().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11vfVirtualSwitchCoreSwitchName.setDescription("The Core Switch_Name (WWN) of the Core Switch that\ncontains this Virtual Switch.") t11vfVirtualSwitchRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11vfVirtualSwitchRowStatus.setDescription("The status of this row.") t11vfVirtualSwitchStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 2, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11vfVirtualSwitchStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") t11vfPortTable = MibTable((1, 3, 6, 1, 2, 1, 147, 1, 3)) if mibBuilder.loadTexts: t11vfPortTable.setDescription("A table of Port attributes related to Virtual Fabrics.") t11vfPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 147, 1, 3, 1)) if mibBuilder.loadTexts: t11vfPortEntry.setDescription("Each entry represents a physical Port on a switch.\nSwitches that support Virtual Fabrics would add\n\n\n\nthese four additional columns to the fcmPortEntry\nrow.") t11vfPortVfId = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 3, 1, 1), T11FabricIndex().clone('1')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11vfPortVfId.setDescription("The Port VF_ID assigned to this Port. The Port VF_ID is the\ndefault Virtual Fabric that is assigned to untagged frames\narriving at this Port. The Control VF_ID is implicitly\nenabled and is not set. Communication with the Control\nVF_ID is required.") t11vfPortTaggingAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("off", 1), ("on", 2), ("auto", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11vfPortTaggingAdminStatus.setDescription("This object is used to configure the administrative status\nof Virtual Fabric tagging on this Port.\n\nSET operation Description\n-------------- -------------------------------------------\noff(1) To disable Virtual Fabric tagging on this\n Port.\n\non(2) To enable Virtual Fabric tagging on this\n\n\n\n Port if the attached Port doesn't\n prohibit it.\n\nauto(3) To enable Virtual Fabric tagging if the\n peer requests it.") t11vfPortTaggingOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("off", 1), ("on", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11vfPortTaggingOperStatus.setDescription("This object is used to report the operational status of\nVirtual Fabric tagging on this Port.\n\nSET operation Description\n-------------- -------------------------------------------\noff(1) Virtual Fabric tagging is disabled on this\n Port.\n\non(2) Virtual Fabric tagging is enabled on this\n Port.") t11vfPortStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 3, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11vfPortStorageType.setDescription("The storage type for this conceptual row, and for the\ncorresponding row in the augmented fcmPortTable.\n\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") t11vfLocallyEnabledTable = MibTable((1, 3, 6, 1, 2, 1, 147, 1, 4)) if mibBuilder.loadTexts: t11vfLocallyEnabledTable.setDescription("A table for assigning and reporting operational status of\nlocally-enabled Virtual Fabric IDs to Ports. The set of\nVirtual Fabrics operational on the Port is the bit-wise\n'AND' of the set of locally-enabled VF_IDs of this Port\nand the locally-enabled VF_IDs of the attached Port.") t11vfLocallyEnabledEntry = MibTableRow((1, 3, 6, 1, 2, 1, 147, 1, 4, 1)).setIndexNames((0, "T11-FC-VIRTUAL-FABRIC-MIB", "t11vfLocallyEnabledPortIfIndex"), (0, "T11-FC-VIRTUAL-FABRIC-MIB", "t11vfLocallyEnabledVfId")) if mibBuilder.loadTexts: t11vfLocallyEnabledEntry.setDescription("An entry for each locally-enabled VF_ID on\neach Port.") t11vfLocallyEnabledPortIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 4, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11vfLocallyEnabledPortIfIndex.setDescription("The value of the ifIndex that identifies the Port.") t11vfLocallyEnabledVfId = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 4, 1, 2), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11vfLocallyEnabledVfId.setDescription("A locally-enabled VF_ID on this Port.") t11vfLocallyEnabledOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("off", 1), ("on", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11vfLocallyEnabledOperStatus.setDescription("This object is used to report the operational status of\nVirtual Fabric tagging on this Port.\n\nSET operation Description\n-------------- -------------------------------------------\noff(1) Virtual Fabric tagging is disabled on this\n Port.\n\non(2) Virtual Fabric tagging is enabled on this\n Port.") t11vfLocallyEnabledRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11vfLocallyEnabledRowStatus.setDescription("The status of this conceptual row.\n\nWhen a row in this table is in 'active(1)' state,\nno object in that row can be modified except\nt11vfLocallyEnabledRowStatus and\nt11vfLocallyEnabledStorageType.") t11vfLocallyEnabledStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 147, 1, 4, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11vfLocallyEnabledStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") t11vfConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 147, 2)) t11vfMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 147, 2, 1)) t11vfMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 147, 2, 2)) # Augmentions fcmPortEntry, = mibBuilder.importSymbols("FC-MGMT-MIB", "fcmPortEntry") fcmPortEntry.registerAugmentions(("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfPortEntry")) t11vfPortEntry.setIndexNames(*fcmPortEntry.getIndexNames()) fcmSwitchEntry, = mibBuilder.importSymbols("FC-MGMT-MIB", "fcmSwitchEntry") fcmSwitchEntry.registerAugmentions(("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfVirtualSwitchEntry")) t11vfVirtualSwitchEntry.setIndexNames(*fcmSwitchEntry.getIndexNames()) # Groups t11vfGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 147, 2, 2, 1)).setObjects(*(("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfPortStorageType"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfLocallyEnabledRowStatus"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfCoreSwitchMaxSupported"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfVirtualSwitchRowStatus"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfPortVfId"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfCoreSwitchStorageType"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfPortTaggingAdminStatus"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfLocallyEnabledOperStatus"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfVirtualSwitchCoreSwitchName"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfLocallyEnabledStorageType"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfPortTaggingOperStatus"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfVirtualSwitchVfId"), ("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfVirtualSwitchStorageType"), ) ) if mibBuilder.loadTexts: t11vfGeneralGroup.setDescription("A collection of objects for monitoring and\nconfiguring Virtual Fabrics in a Fibre Channel switch.") # Compliances t11vfMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 147, 2, 1, 1)).setObjects(*(("T11-FC-VIRTUAL-FABRIC-MIB", "t11vfGeneralGroup"), ) ) if mibBuilder.loadTexts: t11vfMIBCompliance.setDescription("Describes the requirements for compliance to the\nFibre Channel Virtual Fabric MIB.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-VIRTUAL-FABRIC-MIB", PYSNMP_MODULE_ID=t11FcVirtualFabricMIB) # Objects mibBuilder.exportSymbols("T11-FC-VIRTUAL-FABRIC-MIB", t11FcVirtualFabricMIB=t11FcVirtualFabricMIB, t11vfObjects=t11vfObjects, t11vfCoreSwitchTable=t11vfCoreSwitchTable, t11vfCoreSwitchEntry=t11vfCoreSwitchEntry, t11vfCoreSwitchSwitchName=t11vfCoreSwitchSwitchName, t11vfCoreSwitchMaxSupported=t11vfCoreSwitchMaxSupported, t11vfCoreSwitchStorageType=t11vfCoreSwitchStorageType, t11vfVirtualSwitchTable=t11vfVirtualSwitchTable, t11vfVirtualSwitchEntry=t11vfVirtualSwitchEntry, t11vfVirtualSwitchVfId=t11vfVirtualSwitchVfId, t11vfVirtualSwitchCoreSwitchName=t11vfVirtualSwitchCoreSwitchName, t11vfVirtualSwitchRowStatus=t11vfVirtualSwitchRowStatus, t11vfVirtualSwitchStorageType=t11vfVirtualSwitchStorageType, t11vfPortTable=t11vfPortTable, t11vfPortEntry=t11vfPortEntry, t11vfPortVfId=t11vfPortVfId, t11vfPortTaggingAdminStatus=t11vfPortTaggingAdminStatus, t11vfPortTaggingOperStatus=t11vfPortTaggingOperStatus, t11vfPortStorageType=t11vfPortStorageType, t11vfLocallyEnabledTable=t11vfLocallyEnabledTable, t11vfLocallyEnabledEntry=t11vfLocallyEnabledEntry, t11vfLocallyEnabledPortIfIndex=t11vfLocallyEnabledPortIfIndex, t11vfLocallyEnabledVfId=t11vfLocallyEnabledVfId, t11vfLocallyEnabledOperStatus=t11vfLocallyEnabledOperStatus, t11vfLocallyEnabledRowStatus=t11vfLocallyEnabledRowStatus, t11vfLocallyEnabledStorageType=t11vfLocallyEnabledStorageType, t11vfConformance=t11vfConformance, t11vfMIBCompliances=t11vfMIBCompliances, t11vfMIBGroups=t11vfMIBGroups) # Groups mibBuilder.exportSymbols("T11-FC-VIRTUAL-FABRIC-MIB", t11vfGeneralGroup=t11vfGeneralGroup) # Compliances mibBuilder.exportSymbols("T11-FC-VIRTUAL-FABRIC-MIB", t11vfMIBCompliance=t11vfMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DIRECTORY-SERVER-MIB.py0000644000014400001440000005505511736645135022016 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DIRECTORY-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( DistinguishedName, URLString, applIndex, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "DistinguishedName", "URLString", "applIndex") ( ZeroBasedCounter32, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TimeStamp") # Objects dsMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 66)).setRevisions(("1999-06-07 00:00","1993-11-25 00:00",)) if mibBuilder.loadTexts: dsMIB.setOrganization("IETF Mail and Directory Management Working\nGroup") if mibBuilder.loadTexts: dsMIB.setContactInfo(" Glenn Mansfield\nPostal: Cyber Solutions Inc.\n 6-6-3, Minami Yoshinari\n Aoba-ku, Sendai, Japan 989-3204.\n\n Tel: +81-22-303-4012\n Fax: +81-22-303-4015\nE-mail: glenn@cysols.com\nWorking Group E-mail: ietf-madman@innosoft.com\nTo subscribe: ietf-madman-request@innosoft.com") if mibBuilder.loadTexts: dsMIB.setDescription(" The MIB module for monitoring Directory Services.") dsTable = MibTable((1, 3, 6, 1, 2, 1, 66, 1)) if mibBuilder.loadTexts: dsTable.setDescription(" The table holding information related to the Directory\nServers.") dsTableEntry = MibTableRow((1, 3, 6, 1, 2, 1, 66, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: dsTableEntry.setDescription(" Entry containing summary description for a Directory\nServer.") dsServerType = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("frontEndDirectoryServer", 0), ("backEndDirectoryServer", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsServerType.setDescription("This object indicates whether the server is\na frontend or, a backend or, both. If the server\nis a frontend, then the frontEndDirectoryServer\nbit will be set. Similarly for the backend.") dsServerDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsServerDescription.setDescription("A text description of the application. This information\nis intended to identify and briefly describe the\napplication in a status display.") dsMasterEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsMasterEntries.setDescription(" Number of entries mastered in the Directory Server.") dsCopyEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsCopyEntries.setDescription(" Number of entries for which systematic (slave)\ncopies are maintained in the Directory Server.") dsCacheEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsCacheEntries.setDescription(" Number of entries cached (non-systematic copies) in\nthe Directory Server. This will include the entries that\nare cached partially. The negative cache is not counted.") dsCacheHits = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsCacheHits.setDescription(" Number of operations that were serviced from\nthe locally held cache.") dsSlaveHits = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsSlaveHits.setDescription(" Number of operations that were serviced from\nthe locally held object replications ( copy-\nentries).") dsApplIfOpsTable = MibTable((1, 3, 6, 1, 2, 1, 66, 2)) if mibBuilder.loadTexts: dsApplIfOpsTable.setDescription(" The table holding information related to the\nDirectory Server operations.") dsApplIfOpsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 66, 2, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "DIRECTORY-SERVER-MIB", "dsApplIfProtocolIndex")) if mibBuilder.loadTexts: dsApplIfOpsEntry.setDescription(" Entry containing operations related statistics\nfor a Directory Server.") dsApplIfProtocolIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfProtocolIndex.setDescription("An index to uniquely identify an entry corresponding to a\napplication-layer protocol interface. This index is used\nfor lexicographic ordering of the table.") dsApplIfProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfProtocol.setDescription("An identification of the protocol being used by the application\non this interface. For an OSI Application, this will be the\nApplication Context. For Internet applications, the IANA\nmaintains a registry[22] of the OIDs which correspond to\nwell-known applications. If the application protocol is\nnot listed in the registry, an OID value of the form\n{applTCPProtoID port} or {applUDProtoID port} are used for\nTCP-based and UDP-based protocols, respectively. In either\ncase 'port' corresponds to the primary port number being\nused by the protocol. The OIDs applTCPProtoID and\napplUDPProtoID are defined in NETWORK-SERVICES-MIB") dsApplIfUnauthBinds = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfUnauthBinds.setDescription(" Number of unauthenticated/anonymous bind requests\nreceived.") dsApplIfSimpleAuthBinds = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfSimpleAuthBinds.setDescription(" Number of bind requests that were authenticated\nusing simple authentication procedures like password\nchecks. This includes the\npassword authentication using SASL mechanisms like\nCRAM-MD5.") dsApplIfStrongAuthBinds = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfStrongAuthBinds.setDescription(" Number of bind requests that were authenticated\nusing TLS and X.500 strong authentication procedures.\nThis includes the binds that were\nauthenticated using external authentication procedures.") dsApplIfBindSecurityErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfBindSecurityErrors.setDescription(" Number of bind requests that have been rejected\ndue to inappropriate authentication or\ninvalid credentials.") dsApplIfInOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfInOps.setDescription(" Number of requests received from DUAs or other\nDirectory Servers.") dsApplIfReadOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfReadOps.setDescription(" Number of read requests received.") dsApplIfCompareOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfCompareOps.setDescription(" Number of compare requests received.") dsApplIfAddEntryOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfAddEntryOps.setDescription(" Number of addEntry requests received.") dsApplIfRemoveEntryOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfRemoveEntryOps.setDescription(" Number of removeEntry requests received.") dsApplIfModifyEntryOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfModifyEntryOps.setDescription(" Number of modifyEntry requests received.") dsApplIfModifyRDNOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfModifyRDNOps.setDescription(" Number of modifyRDN requests received.") dsApplIfListOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfListOps.setDescription(" Number of list requests received.") dsApplIfSearchOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfSearchOps.setDescription(" Number of search requests- baseObject searches,\noneLevel searches and whole subtree searches,\nreceived.") dsApplIfOneLevelSearchOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfOneLevelSearchOps.setDescription(" Number of oneLevel search requests received.") dsApplIfWholeSubtreeSearchOps = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfWholeSubtreeSearchOps.setDescription(" Number of whole subtree search requests received.") dsApplIfReferrals = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfReferrals.setDescription(" Number of referrals returned in response\nto requests for operations.") dsApplIfChainings = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfChainings.setDescription(" Number of operations forwarded by this Directory Server\nto other Directory Servers.") dsApplIfSecurityErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfSecurityErrors.setDescription(" Number of requests received\nwhich did not meet the security requirements. ") dsApplIfErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfErrors.setDescription(" Number of requests that could not be serviced\ndue to errors other than security errors, and\nreferrals.\nA partially serviced operation will not be counted\nas an error.\nThe errors include naming-related, update-related,\nattribute-related and service-related errors.") dsApplIfReplicationUpdatesIn = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfReplicationUpdatesIn.setDescription(" Number of replication updates fetched or received from\nsupplier Directory Servers.") dsApplIfReplicationUpdatesOut = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfReplicationUpdatesOut.setDescription(" Number of replication updates sent to or taken by\nconsumer Directory Servers.") dsApplIfInBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfInBytes.setDescription(" Incoming traffic, in bytes, on the interface.\nThis will include requests from DUAs as well\nas responses from other Directory Servers.") dsApplIfOutBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsApplIfOutBytes.setDescription(" Outgoing traffic in bytes on the interface.\nThis will include responses to DUAs and Directory\nServers as well as requests to other Directory Servers.") dsIntTable = MibTable((1, 3, 6, 1, 2, 1, 66, 3)) if mibBuilder.loadTexts: dsIntTable.setDescription(" Each row of this table contains some details\nrelated to the history of the interaction\nof the monitored Directory Server with its\npeer Directory Servers.") dsIntEntry = MibTableRow((1, 3, 6, 1, 2, 1, 66, 3, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "DIRECTORY-SERVER-MIB", "dsIntEntIndex"), (0, "DIRECTORY-SERVER-MIB", "dsApplIfProtocolIndex")) if mibBuilder.loadTexts: dsIntEntry.setDescription(" Entry containing interaction details of a Directory\nServer with a peer Directory Server.") dsIntEntIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsIntEntIndex.setDescription(" Together with applIndex and dsApplIfProtocolIndex, this\nobject forms the unique key to\nidentify the conceptual row which contains useful info\non the (attempted) interaction between the Directory\nServer (referred to by applIndex) and a peer Directory\nServer using a particular protocol.") dsIntEntDirectoryName = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 2), DistinguishedName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntDirectoryName.setDescription(" Distinguished Name of the peer Directory Server to\nwhich this entry pertains.") dsIntEntTimeOfCreation = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntTimeOfCreation.setDescription(" The value of sysUpTime when this row was created.\nIf the entry was created before the network management\nsubsystem was initialized, this object will contain\na value of zero.") dsIntEntTimeOfLastAttempt = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntTimeOfLastAttempt.setDescription(" The value of sysUpTime when the last attempt was made\nto contact the peer Directory Server. If the last attempt\nwas made before the network management subsystem was\ninitialized, this object will contain a value of zero.") dsIntEntTimeOfLastSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntTimeOfLastSuccess.setDescription(" The value of sysUpTime when the last attempt made to\ncontact the peer Directory Server was successful. If there\nhave been no successful attempts this entry will have a value\nof zero. If the last successful attempt was made before\nthe network management subsystem was initialized, this\nobject will contain a value of zero.") dsIntEntFailuresSinceLastSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntFailuresSinceLastSuccess.setDescription(" The number of failures since the last time an\nattempt to contact the peer Directory Server was successful.\nIf there have been no successful attempts, this counter\nwill contain the number of failures since this entry\nwas created.") dsIntEntFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntFailures.setDescription(" Cumulative failures in contacting the peer Directory Server\nsince the creation of this entry.") dsIntEntSuccesses = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 8), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntSuccesses.setDescription(" Cumulative successes in contacting the peer Directory Server\nsince the creation of this entry.") dsIntEntURL = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 3, 1, 9), URLString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsIntEntURL.setDescription(" URL of the peer Directory Server.") dsConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 66, 4)) dsGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 66, 4, 1)) dsCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 66, 4, 2)) # Augmentions # Groups dsEntryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 66, 4, 1, 1)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsSlaveHits"), ("DIRECTORY-SERVER-MIB", "dsCacheEntries"), ("DIRECTORY-SERVER-MIB", "dsServerDescription"), ("DIRECTORY-SERVER-MIB", "dsMasterEntries"), ("DIRECTORY-SERVER-MIB", "dsCopyEntries"), ("DIRECTORY-SERVER-MIB", "dsServerType"), ("DIRECTORY-SERVER-MIB", "dsCacheHits"), ) ) if mibBuilder.loadTexts: dsEntryGroup.setDescription(" A collection of objects for a summary overview of the\nDirectory Servers.") dsOpsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 66, 4, 1, 2)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsApplIfReadOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfOutBytes"), ("DIRECTORY-SERVER-MIB", "dsApplIfWholeSubtreeSearchOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfSimpleAuthBinds"), ("DIRECTORY-SERVER-MIB", "dsApplIfReferrals"), ("DIRECTORY-SERVER-MIB", "dsApplIfInBytes"), ("DIRECTORY-SERVER-MIB", "dsApplIfChainings"), ("DIRECTORY-SERVER-MIB", "dsApplIfCompareOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfProtocolIndex"), ("DIRECTORY-SERVER-MIB", "dsApplIfSecurityErrors"), ("DIRECTORY-SERVER-MIB", "dsApplIfProtocol"), ("DIRECTORY-SERVER-MIB", "dsApplIfInOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfModifyRDNOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfErrors"), ("DIRECTORY-SERVER-MIB", "dsApplIfUnauthBinds"), ("DIRECTORY-SERVER-MIB", "dsApplIfStrongAuthBinds"), ("DIRECTORY-SERVER-MIB", "dsApplIfReplicationUpdatesOut"), ("DIRECTORY-SERVER-MIB", "dsApplIfBindSecurityErrors"), ("DIRECTORY-SERVER-MIB", "dsApplIfListOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfAddEntryOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfRemoveEntryOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfReplicationUpdatesIn"), ("DIRECTORY-SERVER-MIB", "dsApplIfSearchOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfModifyEntryOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfOneLevelSearchOps"), ) ) if mibBuilder.loadTexts: dsOpsGroup.setDescription(" A collection of objects for monitoring the Directory\nServer operations.") dsIntGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 66, 4, 1, 3)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsIntEntFailures"), ("DIRECTORY-SERVER-MIB", "dsIntEntTimeOfLastAttempt"), ("DIRECTORY-SERVER-MIB", "dsIntEntFailuresSinceLastSuccess"), ("DIRECTORY-SERVER-MIB", "dsIntEntDirectoryName"), ("DIRECTORY-SERVER-MIB", "dsIntEntURL"), ("DIRECTORY-SERVER-MIB", "dsIntEntTimeOfCreation"), ("DIRECTORY-SERVER-MIB", "dsIntEntTimeOfLastSuccess"), ("DIRECTORY-SERVER-MIB", "dsIntEntSuccesses"), ) ) if mibBuilder.loadTexts: dsIntGroup.setDescription(" A collection of objects for monitoring the Directory\nServer's interaction with peer Directory Servers.") # Compliances dsEntryCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 66, 4, 2, 1)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsEntryGroup"), ) ) if mibBuilder.loadTexts: dsEntryCompliance.setDescription("The compliance statement for SNMP entities\nwhich implement the DIRECTORY-SERVER-MIB for\na summary overview of the Directory Servers .") dsOpsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 66, 4, 2, 2)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsEntryGroup"), ("DIRECTORY-SERVER-MIB", "dsOpsGroup"), ) ) if mibBuilder.loadTexts: dsOpsCompliance.setDescription("The compliance statement for SNMP entities\nwhich implement the DIRECTORY-SERVER-MIB for monitoring\nDirectory Server operations, entry statistics and cache\nperformance.") dsIntCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 66, 4, 2, 3)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsIntGroup"), ("DIRECTORY-SERVER-MIB", "dsEntryGroup"), ) ) if mibBuilder.loadTexts: dsIntCompliance.setDescription(" The compliance statement for SNMP entities\nwhich implement the DIRECTORY-SERVER-MIB for\nmonitoring Directory Server operations and the\ninteraction of the Directory Server with peer\nDirectory Servers.") dsOpsIntCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 66, 4, 2, 4)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsIntGroup"), ("DIRECTORY-SERVER-MIB", "dsEntryGroup"), ("DIRECTORY-SERVER-MIB", "dsOpsGroup"), ) ) if mibBuilder.loadTexts: dsOpsIntCompliance.setDescription(" The compliance statement for SNMP entities\nwhich implement the DIRECTORY-SERVER-MIB for monitoring\nDirectory Server operations and the interaction of the\nDirectory Server with peer Directory Servers.") # Exports # Module identity mibBuilder.exportSymbols("DIRECTORY-SERVER-MIB", PYSNMP_MODULE_ID=dsMIB) # Objects mibBuilder.exportSymbols("DIRECTORY-SERVER-MIB", dsMIB=dsMIB, dsTable=dsTable, dsTableEntry=dsTableEntry, dsServerType=dsServerType, dsServerDescription=dsServerDescription, dsMasterEntries=dsMasterEntries, dsCopyEntries=dsCopyEntries, dsCacheEntries=dsCacheEntries, dsCacheHits=dsCacheHits, dsSlaveHits=dsSlaveHits, dsApplIfOpsTable=dsApplIfOpsTable, dsApplIfOpsEntry=dsApplIfOpsEntry, dsApplIfProtocolIndex=dsApplIfProtocolIndex, dsApplIfProtocol=dsApplIfProtocol, dsApplIfUnauthBinds=dsApplIfUnauthBinds, dsApplIfSimpleAuthBinds=dsApplIfSimpleAuthBinds, dsApplIfStrongAuthBinds=dsApplIfStrongAuthBinds, dsApplIfBindSecurityErrors=dsApplIfBindSecurityErrors, dsApplIfInOps=dsApplIfInOps, dsApplIfReadOps=dsApplIfReadOps, dsApplIfCompareOps=dsApplIfCompareOps, dsApplIfAddEntryOps=dsApplIfAddEntryOps, dsApplIfRemoveEntryOps=dsApplIfRemoveEntryOps, dsApplIfModifyEntryOps=dsApplIfModifyEntryOps, dsApplIfModifyRDNOps=dsApplIfModifyRDNOps, dsApplIfListOps=dsApplIfListOps, dsApplIfSearchOps=dsApplIfSearchOps, dsApplIfOneLevelSearchOps=dsApplIfOneLevelSearchOps, dsApplIfWholeSubtreeSearchOps=dsApplIfWholeSubtreeSearchOps, dsApplIfReferrals=dsApplIfReferrals, dsApplIfChainings=dsApplIfChainings, dsApplIfSecurityErrors=dsApplIfSecurityErrors, dsApplIfErrors=dsApplIfErrors, dsApplIfReplicationUpdatesIn=dsApplIfReplicationUpdatesIn, dsApplIfReplicationUpdatesOut=dsApplIfReplicationUpdatesOut, dsApplIfInBytes=dsApplIfInBytes, dsApplIfOutBytes=dsApplIfOutBytes, dsIntTable=dsIntTable, dsIntEntry=dsIntEntry, dsIntEntIndex=dsIntEntIndex, dsIntEntDirectoryName=dsIntEntDirectoryName, dsIntEntTimeOfCreation=dsIntEntTimeOfCreation, dsIntEntTimeOfLastAttempt=dsIntEntTimeOfLastAttempt, dsIntEntTimeOfLastSuccess=dsIntEntTimeOfLastSuccess, dsIntEntFailuresSinceLastSuccess=dsIntEntFailuresSinceLastSuccess, dsIntEntFailures=dsIntEntFailures, dsIntEntSuccesses=dsIntEntSuccesses, dsIntEntURL=dsIntEntURL, dsConformance=dsConformance, dsGroups=dsGroups, dsCompliances=dsCompliances) # Groups mibBuilder.exportSymbols("DIRECTORY-SERVER-MIB", dsEntryGroup=dsEntryGroup, dsOpsGroup=dsOpsGroup, dsIntGroup=dsIntGroup) # Compliances mibBuilder.exportSymbols("DIRECTORY-SERVER-MIB", dsEntryCompliance=dsEntryCompliance, dsOpsCompliance=dsOpsCompliance, dsIntCompliance=dsIntCompliance, dsOpsIntCompliance=dsOpsIntCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PPP-BRIDGE-NCP-MIB.py0000644000014400001440000003211411736645137021446 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PPP-BRIDGE-NCP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:28 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ppp, ) = mibBuilder.importSymbols("PPP-LCP-MIB", "ppp") ( Bits, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") # Objects pppBridge = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 4)) pppBridgeTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 4, 1)) if mibBuilder.loadTexts: pppBridgeTable.setDescription("Table containing the parameters and statistics\nfor the local PPP entity that are related to\nthe operation of Bridging over the PPP.") pppBridgeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 4, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppBridgeEntry.setDescription("Bridging information for a particular PPP\nlink.") pppBridgeOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("opened", 1), ("not-opened", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeOperStatus.setDescription("The operational status of the Bridge network\nprotocol. If the value of this object is up\nthen the finite state machine for the Bridge\nnetwork protocol has reached the Opened state.") pppBridgeLocalToRemoteTinygramCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeLocalToRemoteTinygramCompression.setDescription("Indicates whether the local node will perform\nTinygram Compression when sending packets to\nthe remote entity. If false then the local\nentity will not perform Tinygram Compression.\nIf true then the local entity will perform\nTinygram Compression. The value of this object\nis meaningful only when the link has reached\nthe open state (pppBridgeOperStatus is\nopened).") pppBridgeRemoteToLocalTinygramCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeRemoteToLocalTinygramCompression.setDescription("If false(1) then the remote entity is not\nexpected to perform Tinygram Compression. If\ntrue then the remote entity is expected to\nperform Tinygram Compression. The value of this\nobject is meaningful only when the link has\nreached the open state (pppBridgeOperStatus is\nopened).") pppBridgeLocalToRemoteLanId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeLocalToRemoteLanId.setDescription("Indicates whether the local node will include\nthe LAN Identification field in transmitted\npackets or not. If false(1) then the local node\nwill not transmit this field, true(2) means\nthat the field will be transmitted. The value\nof this object is meaningful only when the link\nhas reached the open state (pppBridgeOperStatus\nis opened).") pppBridgeRemoteToLocalLanId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeRemoteToLocalLanId.setDescription("Indicates whether the remote node has\nindicated that it will include the LAN\nIdentification field in transmitted packets or\nnot. If false(1) then the field will not be\ntransmitted, if true(2) then the field will be\ntransmitted. The value of this object is\nmeaningful only when the link has reached the\nopen state (pppBridgeOperStatus is opened).") pppBridgeConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 4, 2)) if mibBuilder.loadTexts: pppBridgeConfigTable.setDescription("Table containing the parameters and statistics\nfor the local PPP entity that are related to\nthe operation of Bridging over the PPP.") pppBridgeConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 4, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppBridgeConfigEntry.setDescription("Bridging Configuration information for a\nparticular PPP link.") pppBridgeConfigAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 2, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("open", 1), ("close", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppBridgeConfigAdminStatus.setDescription("The immediate desired status of the Bridging\nnetwork protocol. Setting this object to open\nwill inject an administrative open event into\nthe Bridging network protocol's finite state\nmachine. Setting this object to close will\ninject an administrative close event into the\nBridging network protocol's finite state\nmachine.") pppBridgeConfigTinygram = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppBridgeConfigTinygram.setDescription("If false then the local BNCP entity will not\ninitiate the Tinygram Compression Option\nNegotiation. If true then the local BNCP entity\nwill initiate negotiation of this option.") pppBridgeConfigRingId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppBridgeConfigRingId.setDescription("If false then the local PPP Entity will not\ninitiate a Remote Ring Identification Option\nnegotiation. If true then the local PPP entity\nwill intiate this negotiation. This MIB object\nis relevant only if the interface is for 802.5\nToken Ring bridging.") pppBridgeConfigLineId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppBridgeConfigLineId.setDescription("If false then the local PPP Entity is not to\ninitiate a Line Identification Option\nnegotiation. If true then the local PPP entity\nwill intiate this negotiation. This MIB object\nis relevant only if the interface is for 802.5\nToken Ring bridging.") pppBridgeConfigLanId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppBridgeConfigLanId.setDescription("If false then the local BNCP entity will not\ninitiate the LAN Identification Option\nNegotiation. If true then the local BNCP entity\nwill initiate negotiation of this option.") pppBridgeMediaTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 4, 3)) if mibBuilder.loadTexts: pppBridgeMediaTable.setDescription("Table identifying which MAC media types are\nenabled for the Bridging NCPs.") pppBridgeMediaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 4, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "PPP-BRIDGE-NCP-MIB", "pppBridgeMediaMacType")) if mibBuilder.loadTexts: pppBridgeMediaEntry.setDescription("Status of a specific MAC Type for a specific\nPPP Link.") pppBridgeMediaMacType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeMediaMacType.setDescription("The MAC type for which this entry in the\npppBridgeMediaTable is providing status\ninformation. Valid values for this object are\ndefined in Section 6.6 MAC Type Support\nSelection of RFC1220 (Bridging Point-to-Point\nProtocol).") pppBridgeMediaLocalStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("accept", 1), ("dont-accept", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeMediaLocalStatus.setDescription("Indicates whether the local PPP Bridging\nEntity will accept packets of the protocol type\nidentified in pppBridgeMediaMacType on the PPP\nlink identified by ifIndex or not. If this\nobject is accept then any packets of the\nindicated MAC type will be received and\nproperly processed. If this object is dont-\naccept then received packets of the indicated\nMAC type will not be properly processed.") pppBridgeMediaRemoteStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("accept", 1), ("dont-accept", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppBridgeMediaRemoteStatus.setDescription("Indicates whether the local PPP Bridging\nEntity believes that the remote PPP Bridging\nEntity will accept packets of the protocol type\nidentified in pppBridgeMediaMacType on the PPP\nlink identified by ifIndex or not.") pppBridgeMediaConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 4, 4)) if mibBuilder.loadTexts: pppBridgeMediaConfigTable.setDescription("Table identifying which MAC media types are\nenabled for the Bridging NCPs.") pppBridgeMediaConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 4, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "PPP-BRIDGE-NCP-MIB", "pppBridgeMediaConfigMacType")) if mibBuilder.loadTexts: pppBridgeMediaConfigEntry.setDescription("Status of a specific MAC Type for a specific\nPPP Link.") pppBridgeMediaConfigMacType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppBridgeMediaConfigMacType.setDescription("The MAC type for which this entry in the\npppBridgeMediaConfigTable is providing status\ninformation. Valid values for this object are\ndefined in Section 6.6 MAC Type Support\nSelection of RFC1220 (Bridging Point-to-Point\nProtocol).") pppBridgeMediaConfigLocalStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 4, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("accept", 1), ("dont-accept", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppBridgeMediaConfigLocalStatus.setDescription("Indicates whether the local PPP Bridging\nEntity should accept packets of the protocol\ntype identified in pppBridgeMediaConfigMacType\non the PPP link identified by ifIndex or not.\nSetting this object to the value dont-accept\nhas the affect of invalidating the\ncorresponding entry in the\npppBridgeMediaConfigTable object. It is an\nimplementation-specific matter as to whether\nthe agent removes an invalidated entry from the\ntable. Accordingly, management stations must be\nprepared to receive tabular information from\nagents that corresponds to entries not\ncurrently in use. Changing this object will\nhave effect when the link is next restarted.") # Augmentions # Exports # Objects mibBuilder.exportSymbols("PPP-BRIDGE-NCP-MIB", pppBridge=pppBridge, pppBridgeTable=pppBridgeTable, pppBridgeEntry=pppBridgeEntry, pppBridgeOperStatus=pppBridgeOperStatus, pppBridgeLocalToRemoteTinygramCompression=pppBridgeLocalToRemoteTinygramCompression, pppBridgeRemoteToLocalTinygramCompression=pppBridgeRemoteToLocalTinygramCompression, pppBridgeLocalToRemoteLanId=pppBridgeLocalToRemoteLanId, pppBridgeRemoteToLocalLanId=pppBridgeRemoteToLocalLanId, pppBridgeConfigTable=pppBridgeConfigTable, pppBridgeConfigEntry=pppBridgeConfigEntry, pppBridgeConfigAdminStatus=pppBridgeConfigAdminStatus, pppBridgeConfigTinygram=pppBridgeConfigTinygram, pppBridgeConfigRingId=pppBridgeConfigRingId, pppBridgeConfigLineId=pppBridgeConfigLineId, pppBridgeConfigLanId=pppBridgeConfigLanId, pppBridgeMediaTable=pppBridgeMediaTable, pppBridgeMediaEntry=pppBridgeMediaEntry, pppBridgeMediaMacType=pppBridgeMediaMacType, pppBridgeMediaLocalStatus=pppBridgeMediaLocalStatus, pppBridgeMediaRemoteStatus=pppBridgeMediaRemoteStatus, pppBridgeMediaConfigTable=pppBridgeMediaConfigTable, pppBridgeMediaConfigEntry=pppBridgeMediaConfigEntry, pppBridgeMediaConfigMacType=pppBridgeMediaConfigMacType, pppBridgeMediaConfigLocalStatus=pppBridgeMediaConfigLocalStatus) pysnmp-mibs-0.1.3/pysnmp_mibs/DOT3-EPON-MIB.py0000644000014400001440000030011011736645136020700 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOT3-EPON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:53 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( MacAddress, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TruthValue") # Objects dot3EponMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 155)).setRevisions(("2007-03-29 00:00",)) if mibBuilder.loadTexts: dot3EponMIB.setOrganization("IETF Ethernet Interfaces and Hub MIB Working\nGroup") if mibBuilder.loadTexts: dot3EponMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/hubmib-charter.html\n Mailing Lists:\n General Discussion: hubmib@ietf.org\n To Subscribe: hubmib-request@ietf.org\n\n\n\n In Body: subscribe your_email_address\n Chair: Bert Wijnen\n Postal: Lucent Technologies\n Schagen 33\n 3461 GL Linschoten\n Netherlands\n Tel: +31-348-407-775\n E-mail: bwijnen@lucent.com\n\n Editor: Lior Khermosh\n Postal: PMC-SIERRA\n Kohav Hertzelia bldg,\n 4 Hasadnaot St.\n Hertzliya Pituach 46120,\n ISRAEL\n P.O.Box 2089 Hertzliya Pituach 46120 Israel\n Tel: +972-9-9628000 Ext: 302\n E-mail: lior_khermosh@pmc-sierra.com") if mibBuilder.loadTexts: dot3EponMIB.setDescription("The objects in this MIB module are used to manage the\nEthernet in the First Mile (EFM) Ethernet Passive Optical\nNetwork (EPON) Interfaces as defined in IEEE P802.3ah\nclauses 60, 64, and 65.\nThe following reference is used throughout this MIB module:\n[802.3ah] refers to:\nInformation technology - Telecommunications and\ninformation exchange between systems - Local and\nmetropolitan area networks - Specific requirements -\nPart 3: Carrier sense multiple access with collision\ndetection (CSMA/CD) access method and physical layer\nspecifications - Media Access Control Parameters,\nPhysical Layers and Management Parameters for subscriber\naccess networks. IEEE Std 802.3ah-2004, October 2004.\n\nOf particular interest are clause 64 (Multi-Point Control\nProtocol - MPCP), clause 65 (Point-to-Multipoint\nReconciliation Sublayer - P2MP RS), clause 60 (Ethernet\nPassive Optical Network Physical Medium Dependent - EPON\nPMDs), clause 30, 'Management', and clause 45, 'Management\nData Input/Output (MDIO) Interface'.\n\nCopyright (C) The IETF Trust (2007). This version\nof this MIB module is part of 4837; see the RFC itself for\nfull legal notices.\n\nKey abbreviations:\nBER - Bit Error Rate\nBW - bandwidth\n\n\n\nCRC - Cyclic Redundancy Check\nEFM - Ethernet First Mile\nEPON - Ethernet Passive Optical Network\nFEC - Forward Error Correction\nLLID - Logical Link Identifier\nMAC - Media Access Control\nMbps - Megabit per second\nMDIO - Management Data Input/Output\nMPCP - Multi-Point Control Protocol\nOLT - Optical Line Terminal (Server unit of the EPON)\nOMP - Optical Multi-Point\nONU - Optical Network Unit (Client unit of the EPON)\nP2MP - Point-to-Multipoint\nPHY - Physical Layer\nPMD - Physical Medium Dependent\nPON - Passive Optical Network\nRTT - Round Trip Time\nSLD - Start of LLID Delimiter\nTQ - Time Quanta") dot3EponObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 1)) dot3EponMpcpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 1, 1)) dot3MpcpControlTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 1, 1)) if mibBuilder.loadTexts: dot3MpcpControlTable.setDescription("A Table of dot3 Multi-Point Control Protocol (MPCP)\nMIB objects. The entries in the table are control and\nstatus objects of the MPCP.\nEach object has a row for every virtual link denoted by\nthe corresponding ifIndex.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\n\n\n\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).") dot3MpcpControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3MpcpControlEntry.setDescription("An entry in the dot3 MPCP Control table.\nRows exist for an OLT interface and an ONU interface.\nA row in the table is denoted by the ifIndex of the link\nand it is created when the ifIndex is created.\nThe rows in the table for an ONU interface are created\nat system initialization.\nThe row in the table corresponding to the OLT ifIndex\nand the row corresponding to the broadcast virtual link\nare created at system initialization.\nA row in the table corresponding to the ifIndex of a\nvirtual links is created when a virtual link is\nestablished (ONU registers) and deleted when the virtual\nlink is deleted (ONU deregisters).") dot3MpcpOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpOperStatus.setDescription("This object reflects the operational state of the\nMulti-Point MAC Control sublayer as defined in\n\n\n\n[802.3ah], clause 64. When the value is true(1), the\ninterface will act as if the Multi-Point Control Protocol\nis enabled. When the value is false(2), the interface\nwill act as if the Multi-Point Control Protocol is\ndisabled. The operational state can be changed using the\ndot3MpcpAdminState object.\nThis object is applicable for an OLT, with the same\nvalue for all virtual interfaces, and for an ONU.") dot3MpcpAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3MpcpAdminState.setDescription("This object is used to define the admin state of the\nMulti-Point MAC Control sublayer, as defined in\n[802.3ah], clause 64, and to reflect its state.\nWhen selecting the value as true(1), the Multi-Point\nControl Protocol of the interface is enabled.\nWhen selecting the value as false(2), the Multi-Point\nControl Protocol of the interface is disabled.\nThis object reflects the administrative state of the\nMulti-Point Control Protocol of the interface.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3MpcpAdminState state can lead to disabling the\nMulti-Point Control Protocol on the respective interface,\nleading to the interruption of service for the users\nconnected to the respective EPON interface.\nThis object is applicable for an OLT, with the same\nvalue for all virtual interfaces, and for an ONU.") dot3MpcpMode = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("olt", 1), ("onu", 2), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpMode.setDescription("This object is used to identify the operational\nstate of the Multi-Point MAC Control sublayer as\ndefined in [802.3ah], clause 64. Reading olt(1) for an\n\n\n\nOLT (server) mode and onu(2) for an ONU (client) mode.\nThis object is used to identify the operational mode\nfor the MPCP tables.\nThis object is applicable for an OLT, with the same\nvalue for all virtual interfaces, and for an ONU.") dot3MpcpSyncTime = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpSyncTime.setDescription("An object that reports the 'sync lock time' of the\nOLT receiver in increments of Time Quanta (TQ)-16ns\nas defined in [802.3ah], clauses 60, 64, and 65. The\nvalue returned shall be (sync lock time ns)/16. If\nthis value exceeds (2^32-1), the value (2^32-1) shall\nbe returned. This object is applicable for an OLT,\nwith the same value for all virtual interfaces, and\nfor an ONU.") dot3MpcpLinkID = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpLinkID.setDescription("An object that identifies the Logical Link\nIdentifier (LLID) associated with the MAC of the virtual\nlink as specified in [802.3ah], clause 65.1.3.2.2.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nThe ONU and the corresponding virtual MAC of the OLT,\nfor the same virtual link, have the same value.\nValue is assigned when the ONU registers.\nValue is freed when the ONU deregisters.") dot3MpcpRemoteMACAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 6), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRemoteMACAddress.setDescription("An object that identifies the source_address\nparameter of the last MPCPDUs passed to the MAC Control.\nThis value is updated on reception of a valid frame with\n1) a destination Field equal to the reserved multicast\naddress for MAC Control as specified in [802.3], Annex\n31A; 2) the lengthOrType field value equal to the reserved\nType for MAC Control as specified in [802.3], Annex\n31A; 3) an MPCP subtype value equal to the subtype\nreserved for MPCP as specified in [802.3ah], Annex 31A.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nThe value reflects the MAC address of the remote entity\nand therefore the OLT holds a value for each LLID, which\nis the MAC address of the ONU; the ONU has a single\nvalue that is the OLT MAC address.") dot3MpcpRegistrationState = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("unregistered", 1), ("registering", 2), ("registered", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRegistrationState.setDescription("An object that identifies the registration state\nof the Multi-Point MAC Control sublayer as defined in\n[802.3ah], clause 64. When this object has the\nenumeration unregistered(1), the interface is\nunregistered and may be used for registering a link\npartner. When this object has the enumeration\nregistering(2), the interface is in the process of\nregistering a link-partner. When this object has the\nenumeration registered(3), the interface has an\nestablished link-partner.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3MpcpTransmitElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpTransmitElapsed.setDescription("An object that reports the interval from the last\nMPCP frame transmission in increments of Time Quanta\n(TQ)-16ns. The value returned shall be (interval from\nlast MPCP frame transmission in ns)/16. If this value\nexceeds (2^32-1), the value (2^32-1) shall be returned.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3MpcpReceiveElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpReceiveElapsed.setDescription("An object that reports the interval from last MPCP frame\nreception in increments of Time Quanta (TQ)-16ns. The\nvalue returned shall be (interval from last MPCP frame\nreception in ns)/16. If this value exceeds (2^32-1), the\nvalue (2^32-1) shall be returned.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3MpcpRoundTripTime = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRoundTripTime.setDescription("An object that reports the MPCP round trip time in\nincrements of Time Quanta (TQ)-16ns. The value returned\nshall be (round trip time in ns)/16. If this value\nexceeds (2^16-1), the value (2^16-1) shall be returned.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3MpcpMaximumPendingGrants = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpMaximumPendingGrants.setDescription("An object that reports the maximum number of grants\nthat an ONU can store for handling. The maximum number\n\n\n\nof grants that an ONU can store for handling has a\nrange of 0 to 255.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.") dot3MpcpStatTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 1, 2)) if mibBuilder.loadTexts: dot3MpcpStatTable.setDescription("This table defines the list of statistics counters of\nan interface implementing the [802.3ah], clause 64 MPCP.\nEach object has a row for every virtual link denoted by\nthe corresponding ifIndex.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).") dot3MpcpStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3MpcpStatEntry.setDescription("An entry in the table of statistics counters of the\n[802.3ah], clause 64, MPCP interface.\nRows exist for an OLT interface and an ONU interface.\nA row in the table is denoted by the ifIndex of the link\nand it is created when the ifIndex is created.\nThe rows in the table for an ONU interface are created\nat system initialization.\nThe row in the table corresponding to the OLT ifIndex\nand the row corresponding to the broadcast virtual link\nare created at system initialization.\nA row in the table corresponding to the ifIndex of a\nvirtual link is created when a virtual link is\nestablished (ONU registers) and deleted when the virtual\nlink is deleted (ONU deregisters).") dot3MpcpMACCtrlFramesTransmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpMACCtrlFramesTransmitted.setDescription("A count of MPCP frames passed to the MAC sublayer for\ntransmission. This counter is incremented when a\nMA_CONTROL.request service primitive is generated within\nthe MAC control sublayer with an opcode indicating an\nMPCP frame.\nThis object is applicable for an OLT and an ONU. At the\nOLT it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpMACCtrlFramesReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpMACCtrlFramesReceived.setDescription("A count of MPCP frames passed by the MAC sublayer to the\nMAC Control sublayer. This counter is incremented when a\nReceiveFrame function call returns a valid frame with\n1) a lengthOrType field value equal to the reserved\n\n\n\nType for 802.3_MAC_Control as specified in clause 31.4.1.3,\nand\n2) an opcode indicating an MPCP frame.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpDiscoveryWindowsSent = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpDiscoveryWindowsSent.setDescription("A count of discovery windows generated. The counter is\nincremented by one for each generated discovery window.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the ONU, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpDiscoveryTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpDiscoveryTimeout.setDescription("A count of the number of times a discovery timeout\noccurs. Increment the counter by one for each discovery\nprocessing state-machine reset resulting from timeout\nwaiting for message arrival.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpTxRegRequest = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpTxRegRequest.setDescription("A count of the number of times a REGISTER_REQ MPCP\nframe transmission occurs. Increment the counter by one\nfor each REGISTER_REQ MPCP frame transmitted as defined\nin [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpRxRegRequest = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRxRegRequest.setDescription("A count of the number of times a REGISTER_REQ MPCP\nframe reception occurs.\nIncrement the counter by one for each REGISTER_REQ MPCP\nframe received as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the ONU, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpTxRegAck = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpTxRegAck.setDescription("A count of the number of times a REGISTER_ACK MPCP\nframe transmission occurs. Increment the counter by one\nfor each REGISTER_ACK MPCP frame transmitted as defined\nin [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpRxRegAck = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRxRegAck.setDescription("A count of the number of times a REGISTER_ACK MPCP\nframe reception occurs.\nIncrement the counter by one for each REGISTER_ACK MPCP\nframe received as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the ONU, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpTxReport = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpTxReport.setDescription("A count of the number of times a REPORT MPCP frame\ntransmission occurs. Increment the counter by one for\neach REPORT MPCP frame transmitted as defined in\n[802.3ah], clause 64.\n\n\n\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpRxReport = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRxReport.setDescription("A count of the number of times a REPORT MPCP frame\nreception occurs.\nIncrement the counter by one for each REPORT MPCP frame\nreceived as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the ONU, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpTxGate = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpTxGate.setDescription("A count of the number of times a GATE MPCP frame\ntransmission occurs.\nIncrement the counter by one for each GATE MPCP frame\ntransmitted as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the ONU, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\n\n\n\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpRxGate = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRxGate.setDescription("A count of the number of times a GATE MPCP frame\nreception occurs.\nIncrement the counter by one for each GATE MPCP frame\nreceived as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpTxRegister = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpTxRegister.setDescription("A count of the number of times a REGISTER MPCP frame\ntransmission occurs.\nIncrement the counter by one for each REGISTER MPCP\nframe transmitted as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the ONU, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3MpcpRxRegister = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 1, 2, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3MpcpRxRegister.setDescription("A count of the number of times a REGISTER MPCP frame\nreception occurs.\nIncrement the counter by one for each REGISTER MPCP\nframe received as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 1, 2)) dot3OmpEmulationTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 2, 1)) if mibBuilder.loadTexts: dot3OmpEmulationTable.setDescription("A table of dot3 OmpEmulation MIB objects. The table\ncontain objects for the management of the OMPEmulation\nsublayer.\nEach object has a row for every virtual link denoted by\nthe corresponding ifIndex.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).") dot3OmpEmulationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3OmpEmulationEntry.setDescription("An entry in the dot3 OmpEmulation table.\nRows exist for an OLT interface and an ONU interface.\nA row in the table is denoted by the ifIndex of the link\nand it is created when the ifIndex is created.\nThe rows in the table for an ONU interface are created\nat system initialization.\nThe row in the table corresponding to the OLT ifIndex\nand the row corresponding to the broadcast virtual link\nare created at system initialization.\nA row in the table corresponding to the ifIndex of a\nvirtual links is created when a virtual link is\nestablished (ONU registers) and deleted when the virtual\nlink is deleted (ONU deregisters).") dot3OmpEmulationType = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("olt", 2), ("onu", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationType.setDescription("An object that indicates the mode of operation\nof the Reconciliation Sublayer for Point-to-Point\nEmulation (see [802.3ah], clause 65.1). unknown(1) value\nis assigned in initialization; true state or type is not\nyet known. olt(2) value is assigned when the sublayer is\noperating in OLT mode. onu(3) value is assigned when the\nsublayer is operating in ONU mode.\nThis object is applicable for an OLT, with the same\nvalue for all virtual interfaces, and for an ONU.") dot3OmpEmulationStatTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 2, 2)) if mibBuilder.loadTexts: dot3OmpEmulationStatTable.setDescription("This table defines the list of statistics counters of\n\n\n\n[802.3ah], clause 65, OMPEmulation sublayer.\nEach object has a row for every virtual link denoted by\nthe corresponding ifIndex.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).") dot3OmpEmulationStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3OmpEmulationStatEntry.setDescription("An entry in the table of statistics counters of\n[802.3ah], clause 65, OMPEmulation sublayer.\nRows exist for an OLT interface and an ONU interface.\nA row in the table is denoted by the ifIndex of the link\nand it is created when the ifIndex is created.\nThe rows in the table for an ONU interface are created\nat system initialization.\nThe row in the table corresponding to the OLT ifIndex\nand the row corresponding to the broadcast virtual link\nare created at system initialization.\nA row in the table corresponding to the ifIndex of a\nvirtual links is created when a virtual link is\nestablished (ONU registers) and deleted when the virtual\nlink is deleted (ONU deregisters).") dot3OmpEmulationSLDErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationSLDErrors.setDescription("A count of frames received that do not contain a valid\nSLD field as defined in [802.3ah], clause 65.1.3.3.1.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationCRC8Errors = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationCRC8Errors.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause 65.1.3.3.1, but do\nnot pass the CRC-8 check as defined in [802.3ah], clause\n65.1.3.3.3.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationBadLLID = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationBadLLID.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause 65.1.3.3.1, and\npass the CRC-8 check, as defined in [802.3ah], clause\n65.1.3.3.3, but are discarded due to the LLID check as\ndefined in [802.3ah], clause 65.1.3.3.2.\n\n\n\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationGoodLLID = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationGoodLLID.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause 65.1.3.3.1, and\npass the CRC-8 check as defined in [802.3ah], clause\n65.1.3.3.3.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationOnuPonCastLLID = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationOnuPonCastLLID.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause 65.1.3.3.1,\npass the CRC-8 check, as defined in [802.3ah], clause\n65.1.3.3.3, and meet the rules of acceptance for an\nONU defined in [802.3ah], clause 65.1.3.3.2.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\n\n\n\nmodule.") dot3OmpEmulationOltPonCastLLID = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationOltPonCastLLID.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause 65.1.3.3.1,\npass the CRC-8 check, as defined in [802.3ah], clause\n65.1.3.3.3, and meet the rules of acceptance for an\nOLT defined in [802.3ah], 65.1.3.3.2.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the ONU, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationBroadcastBitNotOnuLlid = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationBroadcastBitNotOnuLlid.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause\n65.1.3.3.1, pass the CRC-8 check, as defined in\n[802.3ah], clause 65.1.3.3.3, and contain the broadcast\nbit in the LLID and not the ONU's LLID (frame accepted)\nas defined in [802.3ah], clause 65.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationOnuLLIDNotBroadcast = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationOnuLLIDNotBroadcast.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause\n65.1.3.3.1, pass the CRC-8 check, as defined in\n[802.3ah], clause 65.1.3.3.3, and contain the ONU's LLID\nas defined in [802.3ah], clause 65.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationBroadcastBitPlusOnuLlid = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationBroadcastBitPlusOnuLlid.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause\n65.1.3.3.1, pass the CRC-8 check, as defined in\n[802.3ah], clause 65.1.3.3.3, and contain the broadcast\nbit in the LLID and match the ONU's LLID (frame\nreflected) as defined in [802.3ah], clause 65.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3OmpEmulationNotBroadcastBitNotOnuLlid = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 2, 2, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OmpEmulationNotBroadcastBitNotOnuLlid.setDescription("A count of frames received that contain a valid SLD\nfield, as defined in [802.3ah], clause\n65.1.3.3.1, pass the CRC-8 check, as defined in\n[802.3ah], clause 65.1.3.3.3, and do not contain\nthe ONU's LLID as defined in [802.3ah], clause 65.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3EponFecObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 1, 3)) dot3EponFecTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 3, 1)) if mibBuilder.loadTexts: dot3EponFecTable.setDescription("A table of dot3 EPON FEC management objects.\nThe entries in the table are control and status objects\nand statistic counters for the FEC layer.\nEach object has a row for every virtual link denoted by\nthe corresponding ifIndex.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).") dot3EponFecEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3EponFecEntry.setDescription("An entry in the dot3 EPON FEC table.\nRows exist for an OLT interface and an ONU interface.\nA row in the table is denoted by the ifIndex of the link\nand it is created when the ifIndex is created.\nThe rows in the table for an ONU interface are created\n\n\n\nat system initialization.\nThe row in the table corresponding to the OLT ifIndex\nand the row corresponding to the broadcast virtual link\nare created at system initialization.\nA row in the table corresponding to the ifIndex of a\nvirtual links is created when a virtual link is\nestablished (ONU registers) and deleted when the virtual\nlink is deleted (ONU deregisters).") dot3EponFecPCSCodingViolation = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 3, 1, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3EponFecPCSCodingViolation.setDescription("For a 100 Mbps operation, it is a count of the number of\ntimes an invalid code-group is received, other than the\n/H/ code-group. For a 1000 Mbps operation, it is a count\nof the number of times an invalid codegroup is received,\nother than the /V/ code-group. /H/ denotes a special\n4b5b codeword of [802.3] 100 Mbps PCS layer (clause 24),\nand /V/ denotes a special 8b10b codeword of the [802.3]\n1000 Mbps PCS layer (clause 36).\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3EponFecAbility = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 3, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("supported", 2), ("unsupported", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3EponFecAbility.setDescription("An object that indicates the support of operation of the\noptional FEC sublayer of the 1000BASE-PX PHY specified\nin [802.3ah], clause 65.2.\nunknown(1) value is assigned in the initialization, for non\nFEC support state or type not yet known. unsupported(3)\nvalue is assigned when the sublayer is not supported.\nsupported(2) value is assigned when the sublayer is\nsupported.\nThis object is applicable for an OLT, with the same\nvalue for all virtual interfaces, and for an ONU.\nThe FEC counters will have a zero value when the\ninterface is not supporting FEC.\nThe counters:\n dot3EponFecPCSCodingViolation - not affected by FEC\n ability.\n dot3EponFecCorrectedBlocks - has a zero value when\n dot3EponFecAbility is unknown(1) and unsupported(3).\n dot3EponFecUncorrectableBlocks - has a zero value when\n dot3EponFecAbility is unknown(1) and unsupported(3).\n dot3EponFecBufferHeadCodingViolation - has a zero value\n when dot3EponFecAbility is unknown(1) and\n unsupported(3).") dot3EponFecMode = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("disabled", 2), ("enabled", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3EponFecMode.setDescription("An object that defines the mode of operation of the\noptional FEC sublayer of the 1000BASE-PX PHY, specified\nin [802.3ah], clause 65.2, and reflects its state.\nA GET operation returns the current mode of operation\nof the PHY. A SET operation changes the mode of\noperation of the PHY to the indicated value.\nunknown(1) value is assigned in the initialization for non\n FEC support state or type not yet known.\n\n\n\ndisabled(2) value is assigned when the FEC sublayer is\n operating in disabled mode.\nenabled(3) value is assigned when the FEC sublayer is\n operating in FEC mode.\nThe write operation is not restricted in this document\nand can be done at any time. Changing dot3EponFecMode\nstate can lead to disabling the Forward Error Correction\non the respective interface, which can lead to a\ndegradation of the optical link, and therefore may lead\nto an interruption of service for the users connected to\nthe respective EPON interface.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nThe counting of\nthe FEC counters will stop when the FEC of the interface\nis disabled.\nThe counters:\n dot3EponFecPCSCodingViolation - not affected by FEC\n mode.\n dot3EponFecCorrectedBlocks - stops counting when\n Rx_FEC is not enabled. (unknown(1) and disabled(2)).\n dot3EponFecUncorrectableBlocks - stops counting when\n Rx_FEC is not enabled (unknown(1) and disabled(2)).\n dot3EponFecBufferHeadCodingViolation - stops counting\n when Rx_FEC is not enabled (unknown(1) and\n disabled(2)).\nThe object:\n dot3EponFecAbility - indicates the FEC ability and\n is not affected by the dot3EponFecMode object.") dot3EponFecCorrectedBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 3, 1, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3EponFecCorrectedBlocks.setDescription("For 10PASS-TS, 2BASE-TL, and 1000BASE-PX PHYs, it is a\ncount of corrected FEC blocks. This counter will not\nincrement for other PHY Types. Increment the counter by\none for each received block that is corrected by the FEC\nfunction in the PHY.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\n\n\n\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3EponFecUncorrectableBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 3, 1, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3EponFecUncorrectableBlocks.setDescription("For 10PASS-TS, 2BASE-TL, and 1000BASE-PX PHYs, it is a\ncount of uncorrectable FEC blocks. This counter will not\nincrement for other PHY Types. Increment the counter by\none for each FEC block that is determined to be\nuncorrectable by the FEC function in the PHY.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3EponFecBufferHeadCodingViolation = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 3, 1, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3EponFecBufferHeadCodingViolation.setDescription("For a 1000 Mbps operation, it is a count of the number of\ninvalid code-group received directly from the link. The\nvalue has a meaning only in 1000 Mbps mode and it is\nzero otherwise.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3ExtPkgObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 1, 4)) dot3ExtPkgControlObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 1, 4, 1)) dot3ExtPkgControlTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1)) if mibBuilder.loadTexts: dot3ExtPkgControlTable.setDescription("A table of Extended package Control management\nobjects. Entries in the table are control and status\nindication objects of an EPON interface, which are\ngathered in an extended package as an addition to the\nobjects based on the [802.3ah], clause 30, attributes.\nEach object has a row for every virtual link denoted by\nthe corresponding ifIndex.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).") dot3ExtPkgControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3ExtPkgControlEntry.setDescription("An entry in the Extended package Control table.\nRows exist for an OLT interface and an ONU interface.\nA row in the table is denoted by the ifIndex of the link\nand it is created when the ifIndex is created.\nThe rows in the table for an ONU interface are created\nat system initialization.\nThe row in the table corresponding to the OLT ifIndex\nand the row corresponding to the broadcast virtual link\nare created at system initialization.\nA row in the table corresponding to the ifIndex of a\nvirtual links is created when a virtual link is\nestablished (ONU registers) and deleted when the virtual\nlink is deleted (ONU deregisters).") dot3ExtPkgObjectReset = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("running", 1), ("reset", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgObjectReset.setDescription("This object is used to reset the EPON interface. The\ninterface may be unavailable while the reset occurs and\ndata may be lost.\nSetting this object to running(1) will cause the\ninterface to enter into running mode. Setting this\nobject to reset(2) will cause the interface to go into\nreset mode. When getting running(1), the interface is in\nrunning mode. When getting reset(2), the interface is in\nreset mode.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgObjectReset state can lead to a reset of the\nrespective interface, leading to an interruption of\nservice for the users connected to the respective EPON\ninterface.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nA reset for a specific virtual interface resets only\nthis virtual interface and not the physical interface.\nThus, a virtual link that is malfunctioning can be\nreset without affecting the operation of other virtual\ninterfaces.\nThe reset can cause Discontinuities in the values of the\ncounters of the interface, similar to re-initialization\nof the management system. Discontinuity should be\nindicated by the ifCounterDiscontinuityTime object of\nthe Interface MIB module.") dot3ExtPkgObjectPowerDown = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgObjectPowerDown.setDescription("This object is used to power down the EPON interface.\nThe interface may be unavailable while the power down\noccurs and data may be lost.\nSetting this object to true(1) will cause the interface\nto enter into power down mode. Setting this object to\nfalse(2) will cause the interface to go out of power\ndown mode. When getting true(1), the interface is in\npower down mode. When getting false(2), the interface is\nnot in power down mode.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgObjectPowerDown state can lead to a power down\nof the respective interface, leading to an interruption\nof service of the users connected to the respective EPON\ninterface.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nA power down/up of a specific virtual interface affects\nonly the virtual interface and not the physical\ninterface. Hence a virtual link, which needs a certain\nhandling, can be powered down and then powered up without\ndisrupting the operation of other virtual interfaces.\nThe object is relevant when the admin state of the\ninterface is active as set by the dot3MpcpAdminState.") dot3ExtPkgObjectNumberOfLLIDs = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgObjectNumberOfLLIDs.setDescription("A read only object that indicates the number of\nregistered LLIDs. The initialization value is 0.\nThis object is applicable for an OLT with the same\nvalue for all virtual interfaces and for an ONU.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff). At the ONU the\nnumber of LLIDs for an interface is one.") dot3ExtPkgObjectFecEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("noFecEnabled", 1), ("fecTxEnabled", 2), ("fecRxEnabled", 3), ("fecTxRxEnabled", 4), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgObjectFecEnabled.setDescription("An object defining the FEC mode of operation of the\ninterface, and indicating its state. The modes defined in\nthis object are extensions to the FEC modes defined in\nthe dot3EponFecMode object.\nWhen noFECEnabled(1), the interface does not enable FEC\nmode.\nWhen fecTxEnabled(2), the interface enables the FEC\ntransmit mode.\nWhen fecRxEnabled(3), the interface enables the FEC\nreceive mode.\nWhen fecTxRxEnabled(4), the interface enables the FEC\ntransmit and receive mode.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.\nThe FEC counters are referring to the receive path. The\nFEC counters will stop when the FEC receive mode of the\ninterface is disabled, as defined by fecRxEnabled(3)\nand fecTxRxEnabled(4) values.\nThe counters:\n dot3EponFecPCSCodingViolation - not affected by FEC\n mode.\n dot3EponFecCorrectedBlocks - stops counting when\n Rx_FEC is not enabled (noFecEnabled(1) and\n fecTxEnabled(2)).\n dot3EponFecUncorrectableBlocks - stops counting when\n Rx_FEC is not enabled (noFecEnabled(1) and\n fecTxEnabled(2)).\n dot3EponFecBufferHeadCodingViolation - stops counting\n when Rx_FEC is not enabled (noFecEnabled(1) and\n fecTxEnabled(2)).\nThe objects:\n dot3EponFecAbility - indicates the FEC ability and is\n not affected by the FEC mode.\n dot3EponFecMode - indicates the FEC mode for combined RX\n and TX.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgObjectFecEnabled state can lead to disabling\nthe Forward Error Correction on the respective interface,\nwhich can lead to a degradation of the optical link, and\ntherefore may lead to an interruption of service for the\n\n\n\nusers connected to the respective EPON interface.") dot3ExtPkgObjectReportMaximumNumQueues = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgObjectReportMaximumNumQueues.setDescription("An object, that defines the maximal number of queues in\nthe REPORT message as defined in [802.3ah], clause 64. For\nfurther information please see the description of the\nqueue table.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgObjectRegisterAction = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("none", 1), ("register", 2), ("deregister", 3), ("reregister", 4), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgObjectRegisterAction.setDescription("An object configuring the registration state of an\ninterface, and indicating its registration state.\n Write operation changes the registration state to its new\n value.\n Read operation returns the value of the state.\n The registration state is reflected in this object and in\n the dot3MpcpRegistrationState object.\n none(1) indicates an unknown state,\n register(2) indicates a registered LLID,\n deregister(3) indicates a deregistered LLID,\n reregister(4) indicates an LLID that is reregistering.\n The following list describes the operation of the\n interface, as specified in the [802.3ah], when a write\n operation is setting a value.\n none(1) - not doing any action.\n register(2) - registering an LLID that has been requested\n for registration (The LLID is in registering mode.\n dot3MpcpRegistrationState - registering(2) ).\n deregister(3) - deregisters an LLID that is registered\n (dot3MpcpRegistrationState - registered(3) ).\n\n\n\n reregister(4) - reregister an LLID that is registered\n (dot3MpcpRegistrationState - registered(3) ).\n The behavior of an ONU and OLT interfaces, at each one\n of the detailed operation at each state, is described in\n the registration state machine of figure 64-22,\n [802.3ah].\n This object is applicable for an OLT and an ONU. At the\n OLT, it has a distinct value for each virtual interface.\n The write operation is not restricted in this document\n and can be done at any time. Changing\n dot3ExtPkgObjectRegisterAction state can lead to a change\n in the registration state of the respective interface\n leading to a deregistration and an interruption of\n service of the users connected to the respective EPON\n interface.") dot3ExtPkgQueueTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2)) if mibBuilder.loadTexts: dot3ExtPkgQueueTable.setDescription("A table of the extended package objects for queue\nmanagement. The [802.3ah] MPCP defines a report message\nof the occupancy of the transmit queues for the feedback\nBW request from the ONUs. These queues serve the uplink\ntransmission of the ONU and data is gathered there until\nthe ONU is granted for transmission.\nThe management table of the queues is added here mainly\nto control the reporting and to gather some statistics\nof their operation. This table is not duplicating\nexisting management objects of bridging queues,\nspecified in [802.1d], since the existence of a\ndedicated transmit queuing mechanism is implied in the\n[802.3ah], and the ONU may be a device that is not a\nbridge with embedded bridging queues.\nThe format of the REPORT message, as specified\nin [802.3], is presented below:\n+-----------------------------------+\n| Destination Address |\n+-----------------------------------+\n| Source Address |\n+-----------------------------------+\n| Length/Type |\n+-----------------------------------+\n| OpCode |\n+-----------------------------------+\n\n\n\n| TimeStamp |\n+-----------------------------------+\n| Number of queue Sets |\n+-----------------------------------+ /|| Report bitmap | |\n+-----------------------------------+ |\n| Queue 0 report | |\n+-----------------------------------+ | repeated for\n| Queue 1 report | | every\n+-----------------------------------+ | queue_set\n| Queue 2 report | |\n+-----------------------------------+ |\n| Queue 3 report | |\n+-----------------------------------+ |\n| Queue 4 report | |\n+-----------------------------------+ |\n| Queue 5 report | |\n+-----------------------------------+ |\n| Queue 6 report | |\n+-----------------------------------+ |\n| Queue 7 report | |\n+-----------------------------------+ \|/\n| Pad/reserved |\n+-----------------------------------+\n| FCS |\n+-----------------------------------+\n\nThe 'Queue report' field reports the occupancy of each\nuplink transmission queue.\nThe number of queue sets defines the number of the\nreported sets, as would be explained in the description\nof the dot3ExtPkgQueueSetsTable table. For each set the\nreport bitmap defines which queue is present in the\nreport, meaning that although the MPCP REPORT message\ncan report up to 8 queues in a REPORT message, the\nactual number is flexible. The Queue table has a\nvariable size that is limited by the\ndot3ExtPkgObjectReportMaximumNumQueues object, as an\nONU can have fewer queues to report.\nThe entries in the table are control and status\nindication objects for managing the queues of an EPON\ninterface that are gathered in an extended package as\nan addition to the objects that are based on the\n[802.3ah] attributes.\nEach object has a row for every virtual link and for\nevery queue in the report.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\n\n\n\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).\nThe number of queues is between 0 and 7 and limited by\ndot3ExtPkgObjectReportMaximumNumQueues.") dot3ExtPkgQueueEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOT3-EPON-MIB", "dot3QueueIndex")) if mibBuilder.loadTexts: dot3ExtPkgQueueEntry.setDescription("An entry in the Extended package Queue table. At the\nOLT, the rows exist for each ifIndex and dot3QueueIndex.\nAt the ONU, rows exist for the single ifIndex for each\ndot3QueueIndex.\nRows in the table are created when the ifIndex of the\nlink is created. A set of rows per queue are added for\neach ifIndex, denoted by the dot3QueueIndex.\nA set of rows per queue in the table, for an ONU\ninterface, are created at the system initialization.\nA set of rows per queue in the table, corresponding to\nthe OLT ifIndex and a set of rows per queue\ncorresponding to the broadcast virtual link, are\ncreated at the system initialization.\nA set of rows per queue in the table, corresponding to\nthe ifIndex of a virtual link, are created when the\nvirtual link is established (ONU registers), and deleted\nwhen the virtual link is deleted (ONU deregisters).") dot3QueueIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot3QueueIndex.setDescription("An object that identifies an index for the queue table\nreflecting the queue index of the queues that are\nreported in the MPCP REPORT message as defined in\n[802.3ah], clause 64.\nThe number of queues is between 0 and 7, and limited by\ndot3ExtPkgObjectReportMaximumNumQueues.") dot3ExtPkgObjectReportNumThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgObjectReportNumThreshold.setDescription("An object that defines the number of thresholds for each\nqueue in the REPORT message as defined in [802.3ah],\nclause 64.\nEach queue_set reporting will provide information on the\nqueue occupancy of frames below the matching Threshold.\nRead operation reflects the number of thresholds.\nWrite operation sets the number of thresholds for each\nqueue.\nThe write operation is not restricted in this document\nand can be done at any time. Value cannot exceed the\nmaximal value defined by the\ndot3ExtPkgObjectReportMaximumNumThreshold object.\nChanging dot3ExtPkgObjectReportNumThreshold can lead to\na change in the reporting of the ONU interface and\ntherefore to a change in the bandwidth allocation of the\nrespective interface. This change may lead a degradation\nor an interruption of service of the users connected to\nthe respective EPON interface.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface\nand for each queue. At the ONU, it has a distinct value\nfor each queue.") dot3ExtPkgObjectReportMaximumNumThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgObjectReportMaximumNumThreshold.setDescription("An object, that defines the maximal number of thresholds\nfor each queue in the REPORT message as defined in\n[802.3ah], clause 64. Each queue_set reporting will\nprovide information on the queue occupancy of frames\nbelow the matching Threshold.\n\n\n\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface\nand for each queue. At the ONU, it has a distinct value\nfor each queue.") dot3ExtPkgStatTxFramesQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgStatTxFramesQueue.setDescription("A count of the number of times a frame transmission\noccurs from the corresponding 'Queue'.\nIncrement the counter by one for each frame transmitted,\nwhich is an output of the 'Queue'.\nThe 'Queue' marking matches the REPORT MPCP message\nQueue field as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface\nand for each queue. At the ONU, it has a distinct value\nfor each queue.\nAt the OLT the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3ExtPkgStatRxFramesQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgStatRxFramesQueue.setDescription("A count of the number of times a frame reception\noccurs from the corresponding 'Queue'.\nIncrement the counter by one for each frame received,\nwhich is an input to the corresponding 'Queue'.\nThe 'Queue' marking matches the REPORT MPCP message\nQueue field as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface\nand for each queue. At the ONU, it has a distinct value\nfor each queue.\nDiscontinuities of this counter can occur at\n\n\n\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3ExtPkgStatDroppedFramesQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgStatDroppedFramesQueue.setDescription("A count of the number of times a frame drop\noccurs from the corresponding 'Queue'.\nIncrement the counter by one for each frame dropped\nfrom the corresponding 'Queue'.\nThe 'Queue' marking matches the REPORT MPCP message\nQueue field as defined in [802.3ah], clause 64.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface\nand for each queue. At the ONU, it has a distinct value\nfor each queue.\nAt the OLT, the value should be zero.\nDiscontinuities of this counter can occur at\nre-initialization of the management system and at other\ntimes, as indicated by the value of the\nifCounterDiscontinuityTime object of the Interface MIB\nmodule.") dot3ExtPkgQueueSetsTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 3)) if mibBuilder.loadTexts: dot3ExtPkgQueueSetsTable.setDescription("A table of Extended package objects used for the\nmanagement of the queue_sets. Entries are control and\nstatus indication objects of an EPON interface, which\nare gathered in an extended package as an addition to\nthe objects based on the [802.3ah] attributes. The\nobjects in this table are specific for the queue_sets,\nwhich are reported in the MPCP REPORT message as defined\nin [802.3ah], clause 64.\nThe [802.3ah] MPCP defines a report message of the\noccupancy of the transmit queues for the feedback BW\nrequest from the ONUs. These queues serve the uplink\ntransmission of the ONU and data is gathered there until\nthe ONU is granted for transmission.\n\n\n\nThe management table of the queues_sets is added here\nmainly to control the reporting and to gather some\nstatistics of their operation. This table is not\nduplicating existing management objects of bridging\nqueues, specified in [802.1d], since the existence of a\ndedicated transmit queuing mechanism is implied in the\n[802.3ah], and the ONU may be a device that is not a\nbridge with embedded bridging queues.\nThe format of the REPORT message, as specified\nin [802.3], is presented below:\n+-----------------------------------+\n| Destination Address |\n+-----------------------------------+\n| Source Address |\n+-----------------------------------+\n| Length/Type |\n+-----------------------------------+\n| OpCode |\n+-----------------------------------+\n| TimeStamp |\n+-----------------------------------+\n| Number of queue Sets |\n+-----------------------------------+ /|| Report bitmap | |\n+-----------------------------------+ |\n| Queue 0 report | |\n+-----------------------------------+ | repeated for\n| Queue 1 report | | every\n+-----------------------------------+ | queue_set\n| Queue 2 report | |\n+-----------------------------------+ |\n| Queue 3 report | |\n+-----------------------------------+ |\n| Queue 4 report | |\n+-----------------------------------+ |\n| Queue 5 report | |\n+-----------------------------------+ |\n| Queue 6 report | |\n+-----------------------------------+ |\n| Queue 7 report | |\n+-----------------------------------+ \|/\n| Pad/reserved |\n+-----------------------------------+\n| FCS |\n+-----------------------------------+\n\nAs can be seen from the message format, the ONU\ninterface reports of the status of up to 8 queues\n\n\n\nand it can report in a single MPCP REPORT message\nof a few sets of queues.\nThe number of queue_sets defines the number of the\nreported sets, and it can reach a value of up to 8.\nIt means that an ONU can hold a variable number of\nsets between 0 and 7.\nThe dot3ExtPkgQueueSetsTable table has a variable\nqueue_set size that is limited by the\ndot3ExtPkgObjectReportMaximumNumThreshold object as an\nONU can have fewer queue_sets to report.\nThe 'Queue report' field reports the occupancy of each\nuplink transmission queue. The queue_sets can be used to\nreport the occupancy of the queues in a few levels as to\nallow granting, in an accurate manner, of only part of\nthe data available in the queues. A Threshold is\ndefined for each queue_set to define the level of the\nqueue that is counted for the report of the occupancy.\nThe threshold is reflected in the queue_set table by the\ndot3ExtPkgObjectReportThreshold object.\nFor each queue set, the report bitmap defines which\nqueues are present in the report, meaning that\nalthough the MPCP REPORT message can report of up to 8\nqueues in a REPORT message, the actual number is\nflexible.\nThe dot3ExtPkgQueueSetsTable table has a variable queue\nsize that is limited by the\ndot3ExtPkgObjectReportMaximumNumQueues object as an ONU\ncan have fewer queues to report.\nEach object has a row for every virtual link, for each\nqueue in the report and for each queue_set in the queue.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).\nThe number of queues is between 0 and 7 and limited by\ndot3ExtPkgObjectReportMaximumNumQueues.\nThe number of queues_sets is between 0 and 7 and limited\nby dot3ExtPkgObjectReportMaximumNumThreshold.") dot3ExtPkgQueueSetsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOT3-EPON-MIB", "dot3QueueSetQueueIndex"), (0, "DOT3-EPON-MIB", "dot3QueueSetIndex")) if mibBuilder.loadTexts: dot3ExtPkgQueueSetsEntry.setDescription("An entry in the Extended package queue_set table. At\n\n\n\nthe OLT, the rows exist for each ifIndex,\ndot3QueueSetQueueIndex and dot3QueueSetIndex. At the\nONU, rows exist for the single ifIndex, for each\ndot3QueueSetQueueIndex and dot3QueueSetIndex.\nRows in the table are created when the ifIndex of the\nlink is created. A set of rows per queue and per\nqueue_set are added for each ifIndex, denoted by\ndot3QueueSetIndex and dot3QueueSetQueueIndex.\nA set of rows per queue and per queue_set in the table,\nfor an ONU interface are created at system\ninitialization.\nA set of rows per queue and per queue_Set in the table,\ncorresponding to the OLT ifIndex and a set of rows per\nqueue and per queue_set, corresponding to the broadcast\nvirtual link, are created at system initialization.\nA set of rows per queue and per queue_set in the table,\ncorresponding to the ifIndex of a virtual link are\ncreated when the virtual link is established (ONU\nregisters) and deleted when the virtual link is deleted\n(ONU deregisters).") dot3QueueSetQueueIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot3QueueSetQueueIndex.setDescription("An object that identifies the queue index for the\ndot3ExtPkgQueueSetsTable table. The queues are reported\nin the MPCP REPORT message as defined in [802.3ah],\nclause 64.\nThe number of queues is between 0 and 7, and limited by\ndot3ExtPkgObjectReportMaximumNumQueues.\nValue corresponds to the dot3QueueIndex of the queue\ntable.") dot3QueueSetIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot3QueueSetIndex.setDescription("An object that identifies the queue_set index for the\ndot3ExtPkgQueueSetsTable table. The queues are reported\nin the MPCP REPORT message as defined in [802.3ah],\nclause 64.\nThe number of queues_sets is between 0 and 7, and\nlimited by dot3ExtPkgObjectReportMaximumNumThreshold.") dot3ExtPkgObjectReportThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 3, 1, 3), Unsigned32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgObjectReportThreshold.setDescription("An object that defines the value of a threshold report\nfor each queue_set in the REPORT message as defined in\n[802.3ah], clause 64. The number of sets for each queue\nis dot3ExtPkgObjectReportNumThreshold.\nIn the REPORT message, each queue_set reporting will\nprovide information on the occupancy of the queues for\nframes below the matching Threshold.\nThe value returned shall be in Time quanta (TQ), which\nis 16nsec or 2 octets increments.\nRead operation provides the threshold value. Write\noperation sets the value of the threshold.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgObjectReportThreshold can lead to a change in\nthe reporting of the ONU interface and therefore to a\nchange in the bandwidth allocation of the respective\ninterface. This change may lead a degradation or an\ninterruption of service for the users connected to the\nrespective EPON interface.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface,\nfor each queue and for each queue_set. At the ONU, it has\na distinct value for each queue and for each queue_set.") dot3ExtPkgOptIfTable = MibTable((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5)) if mibBuilder.loadTexts: dot3ExtPkgOptIfTable.setDescription("This table defines the control and status indication\nobjects for the optical interface of the EPON interface.\nEach object has a row for every virtual link denoted by\nthe corresponding ifIndex.\nThe LLID field, as defined in the [802.3ah], is a 2-byte\nregister (15-bit field and a broadcast bit) limiting the\nnumber of virtual links to 32768. Typically the number\nof expected virtual links in a PON is like the number of\nONUs, which is 32-64, plus an additional entry for\nbroadcast LLID (with a value of 0xffff).\nAlthough the optical interface is a physical interface,\nthere is a row in the table for each virtual interface.\nThe reason for having a separate row for each virtual\nlink is that the OLT has a separate link for each one of\nthe ONUs. For instance, ONUs could be in different\ndistances with different link budgets and different\nreceive powers, therefore having different power alarms.\nIt is quite similar to a case of different physical\ninterfaces.") dot3ExtPkgOptIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3ExtPkgOptIfEntry.setDescription("An entry in the optical interface table of the EPON\ninterface.\nRows exist for an OLT interface and an ONU interface.\nA row in the table is denoted by the ifIndex of the link\nand it is created when the ifIndex is created.\nThe rows in the table for an ONU interface are created\nat system initialization.\nThe row in the table corresponding to the OLT ifIndex\nand the row corresponding to the broadcast virtual link\nare created at system initialization.\nA row in the table corresponding to the ifIndex of a\nvirtual links is created when a virtual link is\nestablished (ONU registers) and deleted when the virtual\nlink is deleted (ONU deregisters).") dot3ExtPkgOptIfSuspectedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfSuspectedFlag.setDescription("This object is a reliability indication.\nIf true, the data in this entry may be unreliable.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfInputPower.setDescription("The optical power monitored at the input.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfLowInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfLowInputPower.setDescription("The lowest optical power monitored at the input during the\ncurrent 15-minute interval.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfHighInputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfHighInputPower.setDescription("The highest optical power monitored at the input during the\ncurrent 15-minute interval.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfLowerInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgOptIfLowerInputPowerThreshold.setDescription("The lower limit threshold on input power. If\ndot3ExtPkgOptIfInputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.\nReading will present the threshold value. Writing will\nset the value of the threshold.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgOptIfLowerInputPowerThreshold can lead to a Threshold\nCrossing Alert (TCA) being sent for the respective interface.\nThis alert may be leading to an interruption of service for the\nusers connected to the respective EPON interface, depending on\nthe system action on such an alert.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfUpperInputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgOptIfUpperInputPowerThreshold.setDescription("The upper limit threshold on input power. If\ndot3ExtPkgOptIfInputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.\nReading will present the threshold value. Writing will\nset the value of the threshold.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgOptIfUpperInputPowerThreshold can lead to a Threshold\n\n\n\nCrossing Alert (TCA) being sent for the respective interface.\nThis alert may be leading to an interruption of service for the\nusers connected to the respective EPON interface, depending on\nthe system action on such an alert.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfOutputPower.setDescription("The optical power monitored at the output.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfLowOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfLowOutputPower.setDescription("The lowest optical power monitored at the output during the\ncurrent 15-minute interval.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfHighOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfHighOutputPower.setDescription("The highest optical power monitored at the output during the\ncurrent 15-minute interval.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfLowerOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgOptIfLowerOutputPowerThreshold.setDescription("The lower limit threshold on output power. If\ndot3ExtPkgOptIfOutputPower drops to this value or below,\na Threshold Crossing Alert (TCA) should be sent.\nReading will present the threshold value. Writing will\nset the value of the threshold.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgOptIfLowerOutputPowerThreshold can lead to a Threshold\nCrossing Alert (TCA) being sent for the respective interface.\nThis alert may be leading to an interruption of service for the\nusers connected to the respective EPON interface, depending on\nthe system action on such an alert.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfUpperOutputPowerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgOptIfUpperOutputPowerThreshold.setDescription("The upper limit threshold on output power. If\ndot3ExtPkgOptIfOutputPower reaches or exceeds this value,\na Threshold Crossing Alert (TCA) should be sent.\nReading will present the threshold value. Writing will\nset the value of the threshold.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgOptIfUpperOutputPowerThreshold can lead to a Threshold\nCrossing Alert (TCA) being sent for the respective interface.\nThis alert may be leading to an interruption of service of the\nusers connected to the respective EPON interface, depending on\nthe system action on such an alert.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfSignalDetect = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 12), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfSignalDetect.setDescription("When getting true(1), there is a valid optical signal at\nthe receive that is above the optical power level for\nsignal detection. When getting false(2) the optical\nsignal at the receive is below the optical power level\n\n\n\nfor signal detection.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfTransmitAlarm = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 13), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ExtPkgOptIfTransmitAlarm.setDescription("When getting true(1) there is a non-valid optical signal\nat the transmit of the interface, either a higher level\nor lower level than expected. When getting false(2) the\noptical signal at the transmit is valid and in the\nrequired range.\nThis object is applicable for an OLT and an ONU. At the\nOLT, it has a distinct value for each virtual interface.") dot3ExtPkgOptIfTransmitEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 155, 1, 4, 1, 5, 1, 14), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3ExtPkgOptIfTransmitEnable.setDescription("Setting this object to true(1) will cause the optical\ninterface to start transmission (according to the\ncontrol protocol specified for the logical interface).\nSetting this object to false(2) will cause the\ninterface to stop the optical transmission.\nWhen getting true(1), the optical interface is in\ntransmitting mode (obeying to the logical control\nprotocol).\nWhen getting false(2), the optical interface is not in\ntransmitting mode.\nThe write operation is not restricted in this document\nand can be done at any time. Changing\ndot3ExtPkgOptIfTransmitEnable state can lead to a halt\nin the optical transmission of the respective interface\nleading to an interruption of service of the users\nconnected to the respective EPON interface.\nThe object is relevant when the admin state of the\ninterface is active as set by the dot3MpcpAdminState.\nThis object is applicable for an OLT and an ONU. At the\nOLT it, has a distinct value for each virtual interface.") dot3EponConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 2)) dot3EponGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 2, 1)) dot3EponCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 155, 2, 2)) # Augmentions # Groups dot3MpcpGroupBase = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 1)).setObjects(*(("DOT3-EPON-MIB", "dot3MpcpMaximumPendingGrants"), ("DOT3-EPON-MIB", "dot3MpcpReceiveElapsed"), ("DOT3-EPON-MIB", "dot3MpcpOperStatus"), ("DOT3-EPON-MIB", "dot3MpcpRegistrationState"), ("DOT3-EPON-MIB", "dot3MpcpSyncTime"), ("DOT3-EPON-MIB", "dot3MpcpRemoteMACAddress"), ("DOT3-EPON-MIB", "dot3MpcpTransmitElapsed"), ("DOT3-EPON-MIB", "dot3MpcpRoundTripTime"), ("DOT3-EPON-MIB", "dot3MpcpMode"), ("DOT3-EPON-MIB", "dot3MpcpAdminState"), ("DOT3-EPON-MIB", "dot3MpcpLinkID"), ) ) if mibBuilder.loadTexts: dot3MpcpGroupBase.setDescription("A collection of objects of dot3 Mpcp Control entity state\ndefinition. Objects are per LLID.") dot3MpcpGroupStat = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 2)).setObjects(*(("DOT3-EPON-MIB", "dot3MpcpMACCtrlFramesReceived"), ("DOT3-EPON-MIB", "dot3MpcpRxRegAck"), ("DOT3-EPON-MIB", "dot3MpcpRxRegRequest"), ("DOT3-EPON-MIB", "dot3MpcpTxReport"), ("DOT3-EPON-MIB", "dot3MpcpTxGate"), ("DOT3-EPON-MIB", "dot3MpcpRxReport"), ("DOT3-EPON-MIB", "dot3MpcpTxRegAck"), ("DOT3-EPON-MIB", "dot3MpcpDiscoveryWindowsSent"), ("DOT3-EPON-MIB", "dot3MpcpMACCtrlFramesTransmitted"), ("DOT3-EPON-MIB", "dot3MpcpTxRegRequest"), ("DOT3-EPON-MIB", "dot3MpcpDiscoveryTimeout"), ("DOT3-EPON-MIB", "dot3MpcpTxRegister"), ("DOT3-EPON-MIB", "dot3MpcpRxRegister"), ("DOT3-EPON-MIB", "dot3MpcpRxGate"), ) ) if mibBuilder.loadTexts: dot3MpcpGroupStat.setDescription("A collection of objects of dot3 Mpcp Statistics.\nObjects are per LLID.") dot3OmpeGroupID = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 3)).setObjects(*(("DOT3-EPON-MIB", "dot3OmpEmulationType"), ) ) if mibBuilder.loadTexts: dot3OmpeGroupID.setDescription("A collection of objects of dot3 OMP emulation entity\nstate definition. Objects are per LLID.") dot3OmpeGroupStat = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 4)).setObjects(*(("DOT3-EPON-MIB", "dot3OmpEmulationGoodLLID"), ("DOT3-EPON-MIB", "dot3OmpEmulationBroadcastBitNotOnuLlid"), ("DOT3-EPON-MIB", "dot3OmpEmulationOltPonCastLLID"), ("DOT3-EPON-MIB", "dot3OmpEmulationBadLLID"), ("DOT3-EPON-MIB", "dot3OmpEmulationNotBroadcastBitNotOnuLlid"), ("DOT3-EPON-MIB", "dot3OmpEmulationSLDErrors"), ("DOT3-EPON-MIB", "dot3OmpEmulationOnuLLIDNotBroadcast"), ("DOT3-EPON-MIB", "dot3OmpEmulationBroadcastBitPlusOnuLlid"), ("DOT3-EPON-MIB", "dot3OmpEmulationOnuPonCastLLID"), ("DOT3-EPON-MIB", "dot3OmpEmulationCRC8Errors"), ) ) if mibBuilder.loadTexts: dot3OmpeGroupStat.setDescription("A collection of objects of dot3 OMP emulation\nStatistics. Objects are per LLID.") dot3EponFecGroupAll = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 5)).setObjects(*(("DOT3-EPON-MIB", "dot3EponFecUncorrectableBlocks"), ("DOT3-EPON-MIB", "dot3EponFecCorrectedBlocks"), ("DOT3-EPON-MIB", "dot3EponFecBufferHeadCodingViolation"), ("DOT3-EPON-MIB", "dot3EponFecAbility"), ("DOT3-EPON-MIB", "dot3EponFecMode"), ("DOT3-EPON-MIB", "dot3EponFecPCSCodingViolation"), ) ) if mibBuilder.loadTexts: dot3EponFecGroupAll.setDescription("A collection of objects of dot3 FEC group control and\nstatistics. Objects are per LLID.") dot3ExtPkgGroupControl = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 6)).setObjects(*(("DOT3-EPON-MIB", "dot3ExtPkgObjectRegisterAction"), ("DOT3-EPON-MIB", "dot3ExtPkgObjectReset"), ("DOT3-EPON-MIB", "dot3ExtPkgObjectPowerDown"), ("DOT3-EPON-MIB", "dot3ExtPkgObjectReportMaximumNumQueues"), ("DOT3-EPON-MIB", "dot3ExtPkgObjectFecEnabled"), ("DOT3-EPON-MIB", "dot3ExtPkgObjectNumberOfLLIDs"), ) ) if mibBuilder.loadTexts: dot3ExtPkgGroupControl.setDescription("A collection of objects of dot3ExtPkg control\ndefinition. Objects are per LLID.") dot3ExtPkgGroupQueue = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 7)).setObjects(*(("DOT3-EPON-MIB", "dot3ExtPkgObjectReportMaximumNumThreshold"), ("DOT3-EPON-MIB", "dot3ExtPkgObjectReportNumThreshold"), ("DOT3-EPON-MIB", "dot3ExtPkgStatDroppedFramesQueue"), ("DOT3-EPON-MIB", "dot3ExtPkgStatRxFramesQueue"), ("DOT3-EPON-MIB", "dot3ExtPkgStatTxFramesQueue"), ) ) if mibBuilder.loadTexts: dot3ExtPkgGroupQueue.setDescription("A collection of objects of dot3ExtPkg Queue\ncontrol. Objects are per LLID, per queue.") dot3ExtPkgGroupQueueSets = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 8)).setObjects(*(("DOT3-EPON-MIB", "dot3ExtPkgObjectReportThreshold"), ) ) if mibBuilder.loadTexts: dot3ExtPkgGroupQueueSets.setDescription("A collection of objects of dot3ExtPkg queue_set\ncontrol. Objects are per LLID, per queue, per\nqueue_set.") dot3ExtPkgGroupOptIf = ObjectGroup((1, 3, 6, 1, 2, 1, 155, 2, 1, 9)).setObjects(*(("DOT3-EPON-MIB", "dot3ExtPkgOptIfLowerInputPowerThreshold"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfLowInputPower"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfLowerOutputPowerThreshold"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfOutputPower"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfUpperOutputPowerThreshold"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfHighInputPower"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfSuspectedFlag"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfSignalDetect"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfHighOutputPower"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfTransmitEnable"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfUpperInputPowerThreshold"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfTransmitAlarm"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfLowOutputPower"), ("DOT3-EPON-MIB", "dot3ExtPkgOptIfInputPower"), ) ) if mibBuilder.loadTexts: dot3ExtPkgGroupOptIf.setDescription("A collection of objects of control and status indication\nof the optical interface.\nObjects are per LLID.") # Compliances dot3MPCPCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 155, 2, 2, 1)).setObjects(*(("DOT3-EPON-MIB", "dot3MpcpGroupBase"), ("DOT3-EPON-MIB", "dot3MpcpGroupStat"), ) ) if mibBuilder.loadTexts: dot3MPCPCompliance.setDescription("The compliance statement for Multi-Point\nControl Protocol interfaces.") dot3OmpeCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 155, 2, 2, 2)).setObjects(*(("DOT3-EPON-MIB", "dot3OmpeGroupStat"), ("DOT3-EPON-MIB", "dot3OmpeGroupID"), ) ) if mibBuilder.loadTexts: dot3OmpeCompliance.setDescription("The compliance statement for OMPEmulation\ninterfaces.") dot3EponFecCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 155, 2, 2, 3)).setObjects(*(("DOT3-EPON-MIB", "dot3EponFecGroupAll"), ) ) if mibBuilder.loadTexts: dot3EponFecCompliance.setDescription("The compliance statement for FEC EPON interfaces.\n\n\n\nThis group is mandatory for all FEC supporting\ninterfaces for control and statistics collection.") dot3ExtPkgCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 155, 2, 2, 4)).setObjects(*(("DOT3-EPON-MIB", "dot3ExtPkgGroupOptIf"), ("DOT3-EPON-MIB", "dot3ExtPkgGroupQueue"), ("DOT3-EPON-MIB", "dot3ExtPkgGroupQueueSets"), ("DOT3-EPON-MIB", "dot3ExtPkgGroupControl"), ) ) if mibBuilder.loadTexts: dot3ExtPkgCompliance.setDescription("The compliance statement for EPON Interfaces\nusing the extended package.") # Exports # Module identity mibBuilder.exportSymbols("DOT3-EPON-MIB", PYSNMP_MODULE_ID=dot3EponMIB) # Objects mibBuilder.exportSymbols("DOT3-EPON-MIB", dot3EponMIB=dot3EponMIB, dot3EponObjects=dot3EponObjects, dot3EponMpcpObjects=dot3EponMpcpObjects, dot3MpcpControlTable=dot3MpcpControlTable, dot3MpcpControlEntry=dot3MpcpControlEntry, dot3MpcpOperStatus=dot3MpcpOperStatus, dot3MpcpAdminState=dot3MpcpAdminState, dot3MpcpMode=dot3MpcpMode, dot3MpcpSyncTime=dot3MpcpSyncTime, dot3MpcpLinkID=dot3MpcpLinkID, dot3MpcpRemoteMACAddress=dot3MpcpRemoteMACAddress, dot3MpcpRegistrationState=dot3MpcpRegistrationState, dot3MpcpTransmitElapsed=dot3MpcpTransmitElapsed, dot3MpcpReceiveElapsed=dot3MpcpReceiveElapsed, dot3MpcpRoundTripTime=dot3MpcpRoundTripTime, dot3MpcpMaximumPendingGrants=dot3MpcpMaximumPendingGrants, dot3MpcpStatTable=dot3MpcpStatTable, dot3MpcpStatEntry=dot3MpcpStatEntry, dot3MpcpMACCtrlFramesTransmitted=dot3MpcpMACCtrlFramesTransmitted, dot3MpcpMACCtrlFramesReceived=dot3MpcpMACCtrlFramesReceived, dot3MpcpDiscoveryWindowsSent=dot3MpcpDiscoveryWindowsSent, dot3MpcpDiscoveryTimeout=dot3MpcpDiscoveryTimeout, dot3MpcpTxRegRequest=dot3MpcpTxRegRequest, dot3MpcpRxRegRequest=dot3MpcpRxRegRequest, dot3MpcpTxRegAck=dot3MpcpTxRegAck, dot3MpcpRxRegAck=dot3MpcpRxRegAck, dot3MpcpTxReport=dot3MpcpTxReport, dot3MpcpRxReport=dot3MpcpRxReport, dot3MpcpTxGate=dot3MpcpTxGate, dot3MpcpRxGate=dot3MpcpRxGate, dot3MpcpTxRegister=dot3MpcpTxRegister, dot3MpcpRxRegister=dot3MpcpRxRegister, dot3OmpEmulationObjects=dot3OmpEmulationObjects, dot3OmpEmulationTable=dot3OmpEmulationTable, dot3OmpEmulationEntry=dot3OmpEmulationEntry, dot3OmpEmulationType=dot3OmpEmulationType, dot3OmpEmulationStatTable=dot3OmpEmulationStatTable, dot3OmpEmulationStatEntry=dot3OmpEmulationStatEntry, dot3OmpEmulationSLDErrors=dot3OmpEmulationSLDErrors, dot3OmpEmulationCRC8Errors=dot3OmpEmulationCRC8Errors, dot3OmpEmulationBadLLID=dot3OmpEmulationBadLLID, dot3OmpEmulationGoodLLID=dot3OmpEmulationGoodLLID, dot3OmpEmulationOnuPonCastLLID=dot3OmpEmulationOnuPonCastLLID, dot3OmpEmulationOltPonCastLLID=dot3OmpEmulationOltPonCastLLID, dot3OmpEmulationBroadcastBitNotOnuLlid=dot3OmpEmulationBroadcastBitNotOnuLlid, dot3OmpEmulationOnuLLIDNotBroadcast=dot3OmpEmulationOnuLLIDNotBroadcast, dot3OmpEmulationBroadcastBitPlusOnuLlid=dot3OmpEmulationBroadcastBitPlusOnuLlid, dot3OmpEmulationNotBroadcastBitNotOnuLlid=dot3OmpEmulationNotBroadcastBitNotOnuLlid, dot3EponFecObjects=dot3EponFecObjects, dot3EponFecTable=dot3EponFecTable, dot3EponFecEntry=dot3EponFecEntry, dot3EponFecPCSCodingViolation=dot3EponFecPCSCodingViolation, dot3EponFecAbility=dot3EponFecAbility, dot3EponFecMode=dot3EponFecMode, dot3EponFecCorrectedBlocks=dot3EponFecCorrectedBlocks, dot3EponFecUncorrectableBlocks=dot3EponFecUncorrectableBlocks, dot3EponFecBufferHeadCodingViolation=dot3EponFecBufferHeadCodingViolation, dot3ExtPkgObjects=dot3ExtPkgObjects, dot3ExtPkgControlObjects=dot3ExtPkgControlObjects, dot3ExtPkgControlTable=dot3ExtPkgControlTable, dot3ExtPkgControlEntry=dot3ExtPkgControlEntry, dot3ExtPkgObjectReset=dot3ExtPkgObjectReset, dot3ExtPkgObjectPowerDown=dot3ExtPkgObjectPowerDown, dot3ExtPkgObjectNumberOfLLIDs=dot3ExtPkgObjectNumberOfLLIDs, dot3ExtPkgObjectFecEnabled=dot3ExtPkgObjectFecEnabled, dot3ExtPkgObjectReportMaximumNumQueues=dot3ExtPkgObjectReportMaximumNumQueues, dot3ExtPkgObjectRegisterAction=dot3ExtPkgObjectRegisterAction, dot3ExtPkgQueueTable=dot3ExtPkgQueueTable, dot3ExtPkgQueueEntry=dot3ExtPkgQueueEntry, dot3QueueIndex=dot3QueueIndex, dot3ExtPkgObjectReportNumThreshold=dot3ExtPkgObjectReportNumThreshold, dot3ExtPkgObjectReportMaximumNumThreshold=dot3ExtPkgObjectReportMaximumNumThreshold, dot3ExtPkgStatTxFramesQueue=dot3ExtPkgStatTxFramesQueue, dot3ExtPkgStatRxFramesQueue=dot3ExtPkgStatRxFramesQueue, dot3ExtPkgStatDroppedFramesQueue=dot3ExtPkgStatDroppedFramesQueue, dot3ExtPkgQueueSetsTable=dot3ExtPkgQueueSetsTable, dot3ExtPkgQueueSetsEntry=dot3ExtPkgQueueSetsEntry, dot3QueueSetQueueIndex=dot3QueueSetQueueIndex, dot3QueueSetIndex=dot3QueueSetIndex, dot3ExtPkgObjectReportThreshold=dot3ExtPkgObjectReportThreshold, dot3ExtPkgOptIfTable=dot3ExtPkgOptIfTable, dot3ExtPkgOptIfEntry=dot3ExtPkgOptIfEntry, dot3ExtPkgOptIfSuspectedFlag=dot3ExtPkgOptIfSuspectedFlag, dot3ExtPkgOptIfInputPower=dot3ExtPkgOptIfInputPower, dot3ExtPkgOptIfLowInputPower=dot3ExtPkgOptIfLowInputPower, dot3ExtPkgOptIfHighInputPower=dot3ExtPkgOptIfHighInputPower, dot3ExtPkgOptIfLowerInputPowerThreshold=dot3ExtPkgOptIfLowerInputPowerThreshold, dot3ExtPkgOptIfUpperInputPowerThreshold=dot3ExtPkgOptIfUpperInputPowerThreshold, dot3ExtPkgOptIfOutputPower=dot3ExtPkgOptIfOutputPower, dot3ExtPkgOptIfLowOutputPower=dot3ExtPkgOptIfLowOutputPower, dot3ExtPkgOptIfHighOutputPower=dot3ExtPkgOptIfHighOutputPower, dot3ExtPkgOptIfLowerOutputPowerThreshold=dot3ExtPkgOptIfLowerOutputPowerThreshold, dot3ExtPkgOptIfUpperOutputPowerThreshold=dot3ExtPkgOptIfUpperOutputPowerThreshold, dot3ExtPkgOptIfSignalDetect=dot3ExtPkgOptIfSignalDetect, dot3ExtPkgOptIfTransmitAlarm=dot3ExtPkgOptIfTransmitAlarm, dot3ExtPkgOptIfTransmitEnable=dot3ExtPkgOptIfTransmitEnable, dot3EponConformance=dot3EponConformance, dot3EponGroups=dot3EponGroups, dot3EponCompliances=dot3EponCompliances) # Groups mibBuilder.exportSymbols("DOT3-EPON-MIB", dot3MpcpGroupBase=dot3MpcpGroupBase, dot3MpcpGroupStat=dot3MpcpGroupStat, dot3OmpeGroupID=dot3OmpeGroupID, dot3OmpeGroupStat=dot3OmpeGroupStat, dot3EponFecGroupAll=dot3EponFecGroupAll, dot3ExtPkgGroupControl=dot3ExtPkgGroupControl, dot3ExtPkgGroupQueue=dot3ExtPkgGroupQueue, dot3ExtPkgGroupQueueSets=dot3ExtPkgGroupQueueSets, dot3ExtPkgGroupOptIf=dot3ExtPkgGroupOptIf) # Compliances mibBuilder.exportSymbols("DOT3-EPON-MIB", dot3MPCPCompliance=dot3MPCPCompliance, dot3OmpeCompliance=dot3OmpeCompliance, dot3EponFecCompliance=dot3EponFecCompliance, dot3ExtPkgCompliance=dot3ExtPkgCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOCS-BPI-MIB.py0000644000014400001440000014347311736645135020610 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOCS-BPI-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:50 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( docsIfCmServiceId, docsIfCmtsServiceId, docsIfMib, ) = mibBuilder.importSymbols("DOCS-IF-MIB", "docsIfCmServiceId", "docsIfCmtsServiceId", "docsIfMib") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( DateAndTime, DisplayString, MacAddress, RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "MacAddress", "RowStatus", "TruthValue") # Objects docsBpiMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 127, 5)).setRevisions(("2001-03-13 00:00","2000-11-03 19:30","2000-02-16 19:30",)) if mibBuilder.loadTexts: docsBpiMIB.setOrganization("IETF IPCDN Working Group") if mibBuilder.loadTexts: docsBpiMIB.setContactInfo("Rich Woundy\nPostal: Cisco Systems\n 250 Apollo Drive\n Chelmsford, MA 01824 U.S.A.\nTel: +1 978 244 8000\nE-mail: rwoundy@cisco.com\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-chairs: Richard Woundy, rwoundy@cisco.com\n Andrew Valentine, a.valentine@eu.hns.com") if mibBuilder.loadTexts: docsBpiMIB.setDescription("This is the MIB Module for the DOCSIS Baseline Privacy Interface\n(BPI) at cable modems (CMs) and cable modem termination systems\n(CMTSs). CableLabs requires the implementation of this MIB in\nDOCSIS 1.0 cable modems that implement the Baseline Privacy\nInterface, as a prerequisite for DOCSIS 1.0 certification.") docsBpiMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 1)) docsBpiCmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1)) docsBpiCmBaseTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1)) if mibBuilder.loadTexts: docsBpiCmBaseTable.setDescription("This table describes the basic and authorization-related Baseline\nPrivacy attributes of each CM MAC interface.") docsBpiCmBaseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsBpiCmBaseEntry.setDescription("Each entry contains objects describing attributes of one CM MAC\ninterface. An entry in this table exists for each ifEntry with an\nifType of docsCableMaclayer(127).") docsBpiCmPrivacyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmPrivacyEnable.setDescription("This object identifies whether this CM is provisioned to run\nBaseline Privacy. This is analogous to the presence (or absence)\nof the Baseline Privacy Configuration Setting option. The status\nof each individual SID with respect to Baseline Privacy is\ncaptured in the docsBpiCmTEKPrivacyEnable object.") docsBpiCmPublicKey = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(74,74),ValueSizeConstraint(106,106),ValueSizeConstraint(140,140),ValueSizeConstraint(270,270),))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmPublicKey.setDescription("The value of this object is a DER-encoded RSAPublicKey ASN.1 type\nstring, as defined in the RSA Encryption Standard (PKCS #1) [22],\ncorresponding to the public key of the CM. The 74, 106, 140, and\n270 byte key encoding lengths correspond to 512 bit, 768 bit, 1024\nbit, and 2048 public moduli respectively.") docsBpiCmAuthState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,3,5,)).subtype(namedValues=NamedValues(("authWait", 2), ("authorized", 3), ("reauthWait", 4), ("authRejectWait", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthState.setDescription("The value of this object is the state of the CM authorization\nFSM. The start state indicates that FSM is in its initial state.") docsBpiCmAuthKeySequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthKeySequenceNumber.setDescription("The value of this object is the authorization key sequence number\nfor this FSM.") docsBpiCmAuthExpires = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthExpires.setDescription("The value of this object is the actual clock time when the current\nauthorization for this FSM expires. If the CM does not have an active\nauthorization, then the value is of the expiration date and time of\nthe last active authorization.") docsBpiCmAuthReset = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmAuthReset.setDescription("Setting this object to TRUE generates a Reauthorize event in the\nauthorization FSM. Reading this object always returns FALSE.") docsBpiCmAuthGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthGraceTime.setDescription("The value of this object is the grace time for an authorization key.\nA CM is expected to start trying to get a new authorization key\nbeginning AuthGraceTime seconds before the authorization key actually\nexpires.") docsBpiCmTEKGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKGraceTime.setDescription("The value of this object is the grace time for a TEK. A CM is\nexpected to start trying to get a new TEK beginning TEKGraceTime\nseconds before the TEK actually expires.") docsBpiCmAuthWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthWaitTimeout.setDescription("The value of this object is the Authorize Wait Timeout.") docsBpiCmReauthWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmReauthWaitTimeout.setDescription("The value of this object is the Reauthorize Wait Timeout in seconds.") docsBpiCmOpWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmOpWaitTimeout.setDescription("The value of this object is the Operational Wait Timeout in seconds.") docsBpiCmRekeyWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmRekeyWaitTimeout.setDescription("The value of this object is the Rekey Wait Timeout in seconds.") docsBpiCmAuthRejectWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 600))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthRejectWaitTimeout.setDescription("The value of this object is the Authorization Reject Wait Timeout in\nseconds.") docsBpiCmAuthRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthRequests.setDescription("The value of this object is the count of times the CM has\ntransmitted an Authorization Request message.") docsBpiCmAuthReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthReplies.setDescription("The value of this object is the count of times the CM has\nreceived an Authorization Reply message.") docsBpiCmAuthRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthRejects.setDescription("The value of this object is the count of times the CM has\nreceived an Authorization Reject message.") docsBpiCmAuthInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthInvalids.setDescription("The value of this object is the count of times the CM has\nreceived an Authorization Invalid message.") docsBpiCmAuthRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedCm", 3), ("unauthorizedSid", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthRejectErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in most recent Authorization Reject message received by\nthe CM. This has value unknown(2) if the last Error-Code value was\n0, and none(1) if no Authorization Reject message has been received\nsince reboot.") docsBpiCmAuthRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 19), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthRejectErrorString.setDescription("The value of this object is the Display-String in most recent\nAuthorization Reject message received by the CM. This is a zero\nlength string if no Authorization Reject message has been received\nsince reboot.") docsBpiCmAuthInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,6,5,3,7,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedCm", 3), ("unsolicited", 5), ("invalidKeySequence", 6), ("keyRequestAuthenticationFailure", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthInvalidErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in most recent Authorization Invalid message received by\nthe CM. This has value unknown(2) if the last Error-Code value was\n0, and none(1) if no Authorization Invalid message has been received\nsince reboot.") docsBpiCmAuthInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 1, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmAuthInvalidErrorString.setDescription("The value of this object is the Display-String in most recent\nAuthorization Invalid message received by the CM. This is a zero\n\n\nlength string if no Authorization Invalid message has been received\nsince reboot.") docsBpiCmTEKTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2)) if mibBuilder.loadTexts: docsBpiCmTEKTable.setDescription("This table describes the attributes of each CM Traffic Encryption Key\n(TEK) association. The CM maintains (no more than) one TEK association\nper SID per CM MAC interface.") docsBpiCmTEKEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IF-MIB", "docsIfCmServiceId")) if mibBuilder.loadTexts: docsBpiCmTEKEntry.setDescription("Each entry contains objects describing the TEK association attributes\nof one SID. The CM MUST create one entry per unicast SID, regardless\nof whether the SID was obtained from a Registration Response message,\nor from an Authorization Reply message.") docsBpiCmTEKPrivacyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKPrivacyEnable.setDescription("This object identifies whether this SID is provisioned to run\nBaseline Privacy. This is analogous to enabling Baseline Privacy on\na provisioned SID using the Class-of-Service Privacy Enable option.\nBaseline Privacy is not effectively enabled for any SID unless\nBaseline Privacy is enabled for the CM, which is managed via the\ndocsBpiCmPrivacyEnable object.") docsBpiCmTEKState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(6,2,4,1,5,3,)).subtype(namedValues=NamedValues(("start", 1), ("opWait", 2), ("opReauthWait", 3), ("operational", 4), ("rekeyWait", 5), ("rekeyReauthWait", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKState.setDescription("The value of this object is the state of the indicated TEK FSM.\nThe start(1) state indicates that FSM is in its initial state.") docsBpiCmTEKExpiresOld = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKExpiresOld.setDescription("The value of this object is the actual clock time for expiration\nof the immediate predecessor of the most recent TEK for this FSM.\nIf this FSM has only one TEK, then the value is the time of activation\nof this FSM.") docsBpiCmTEKExpiresNew = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKExpiresNew.setDescription("The value of this object is the actual clock time for expiration\nof the most recent TEK for this FSM.") docsBpiCmTEKKeyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKKeyRequests.setDescription("The value of this object is the count of times the CM has transmitted\na Key Request message.") docsBpiCmTEKKeyReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKKeyReplies.setDescription("The value of this object is the count of times the CM has received\na Key Reply message, including a message whose authentication failed.") docsBpiCmTEKKeyRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKKeyRejects.setDescription("The value of this object is the count of times the CM has received\na Key Reject message, including a message whose authentication failed.") docsBpiCmTEKInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKInvalids.setDescription("The value of this object is the count of times the CM has received\na TEK Invalid message, including a message whose authentication failed.") docsBpiCmTEKAuthPends = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKAuthPends.setDescription("The value of this object is the count of times an Authorization\nPending (Auth Pend) event occurred in this FSM.") docsBpiCmTEKKeyRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedSid", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKKeyRejectErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in most recent Key Reject message received by the CM. This\nhas value unknown(2) if the last Error-Code value was 0, and none(1)\nif no Key Reject message has been received since reboot.") docsBpiCmTEKKeyRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKKeyRejectErrorString.setDescription("The value of this object is the Display-String in most recent Key\nReject message received by the CM. This is a zero length string if no\nKey Reject message has been received since reboot.") docsBpiCmTEKInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,6,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("invalidKeySequence", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKInvalidErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in most recent TEK Invalid message received by the CM.\nThis has value unknown(2) if the last Error-Code value was 0, and\nnone(1) if no TEK Invalid message has been received since reboot.") docsBpiCmTEKInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 1, 2, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmTEKInvalidErrorString.setDescription("The value of this object is the Display-String in most recent TEK\nInvalid message received by the CM. This is a zero length string if\nno TEK Invalid message has been received since reboot.") docsBpiCmtsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2)) docsBpiCmtsBaseTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1)) if mibBuilder.loadTexts: docsBpiCmtsBaseTable.setDescription("This table describes the basic Baseline Privacy attributes of each\nCMTS MAC interface.") docsBpiCmtsBaseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsBpiCmtsBaseEntry.setDescription("Each entry contains objects describing attributes of one CMTS MAC\ninterface. An entry in this table exists for each ifEntry with an\nifType of docsCableMaclayer(127).") docsBpiCmtsDefaultAuthLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6048000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsDefaultAuthLifetime.setDescription("The value of this object is the default lifetime, in seconds, the\nCMTS assigns to a new authorization key.") docsBpiCmtsDefaultTEKLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 604800))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsDefaultTEKLifetime.setDescription("The value of this object is the default lifetime, in seconds, the\nCMTS assigns to a new Traffic Encryption Key (TEK).") docsBpiCmtsDefaultAuthGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsDefaultAuthGraceTime.setDescription("This object was obsoleted because the provisioning system, not the CMTS,\nmanages the authorization key grace time for DOCSIS CMs.") docsBpiCmtsDefaultTEKGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsDefaultTEKGraceTime.setDescription("This object was obsoleted because the provisioning system, not the CMTS,\nmanages the Traffic Encryption Key (TEK) grace time for DOCSIS CMs.") docsBpiCmtsAuthRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthRequests.setDescription("The value of this object is the count of times the CMTS has\nreceived an Authorization Request message from any CM.") docsBpiCmtsAuthReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthReplies.setDescription("The value of this object is the count of times the CMTS has\ntransmitted an Authorization Reply message to any CM.") docsBpiCmtsAuthRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthRejects.setDescription("The value of this object is the count of times the CMTS has\n\n\ntransmitted an Authorization Reject message to any CM.") docsBpiCmtsAuthInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthInvalids.setDescription("The value of this object is the count of times the CMTS has\ntransmitted an Authorization Invalid message to any CM.") docsBpiCmtsAuthTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2)) if mibBuilder.loadTexts: docsBpiCmtsAuthTable.setDescription("This table describes the attributes of each CM authorization\nassociation. The CMTS maintains one authorization association with\neach Baseline Privacy-enabled CM on each CMTS MAC interface.") docsBpiCmtsAuthEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-BPI-MIB", "docsBpiCmtsAuthCmMacAddress")) if mibBuilder.loadTexts: docsBpiCmtsAuthEntry.setDescription("Each entry contains objects describing attributes of one\nauthorization association. The CMTS MUST create one entry per CM per\nMAC interface, based on the receipt of an Authorization Request\nmessage, and MUST not delete the entry before the CM authorization\npermanently expires.") docsBpiCmtsAuthCmMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpiCmtsAuthCmMacAddress.setDescription("The value of this object is the physical address of the CM to\nwhich the authorization association applies.") docsBpiCmtsAuthCmPublicKey = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(74,74),ValueSizeConstraint(106,106),ValueSizeConstraint(140,140),ValueSizeConstraint(270,270),))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmPublicKey.setDescription("The value of this object is a DER-encoded RSAPublicKey ASN.1 type\nstring, as defined in the RSA Encryption Standard (PKCS #1) [22],\ncorresponding to the public key of the CM. The 74, 106, 140, and\n270 byte key encoding lengths correspond to 512 bit, 768 bit, 1024\nbit, and 2048 public moduli respectively. This is a zero-length\nstring if the CMTS does not retain the public key.") docsBpiCmtsAuthCmKeySequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmKeySequenceNumber.setDescription("The value of this object is the authorization key sequence number\nfor this CM.") docsBpiCmtsAuthCmExpires = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmExpires.setDescription("The value of this object is the actual clock time when the current\nauthorization for this CM expires. If this CM does not have an\nactive authorization, then the value is of the expiration date and\ntime of the last active authorization.") docsBpiCmtsAuthCmLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6048000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsAuthCmLifetime.setDescription("The value of this object is the lifetime, in seconds, the CMTS\nassigns to an authorization key for this CM.") docsBpiCmtsAuthCmGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmGraceTime.setDescription("The value of this object is the grace time for the authorization key\nin seconds. The CM is expected to start trying to get a new\nauthorization key beginning AuthGraceTime seconds before the\nauthorization key actually expires.") docsBpiCmtsAuthCmReset = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,4,1,)).subtype(namedValues=NamedValues(("noResetRequested", 1), ("invalidateAuth", 2), ("sendAuthInvalid", 3), ("invalidateTeks", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsAuthCmReset.setDescription("Setting this object to invalidateAuth(2) causes the CMTS to\ninvalidate the current CM authorization key, but not to transmit an\nAuthorization Invalid message nor to invalidate unicast TEKs. Setting\nthis object to sendAuthInvalid(3) causes the CMTS to invalidate the\ncurrent CM authorization key, and to transmit an Authorization Invalid\nmessage to the CM, but not to invalidate unicast TEKs. Setting this\nobject to invalidateTeks(4) causes the CMTS to invalidate the current\nCM authorization key, to transmit an Authorization Invalid message to\nthe CM, and to invalidate all unicast TEKs associated with this CM\nauthorization. Reading this object returns the most-recently-set value\nof this object, or returns noResetRequested(1) if the object has not\nbeen set since the last CMTS reboot.") docsBpiCmtsAuthCmRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmRequests.setDescription("The value of this object is the count of times the CMTS has\nreceived an Authorization Request message from this CM.") docsBpiCmtsAuthCmReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmReplies.setDescription("The value of this object is the count of times the CMTS has\ntransmitted an Authorization Reply message to this CM.") docsBpiCmtsAuthCmRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmRejects.setDescription("The value of this object is the count of times the CMTS has\ntransmitted an Authorization Reject message to this CM.") docsBpiCmtsAuthCmInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthCmInvalids.setDescription("The value of this object is the count of times the CMTS has\ntransmitted an Authorization Invalid message to this CM.") docsBpiCmtsAuthRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedCm", 3), ("unauthorizedSid", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthRejectErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in most recent Authorization Reject message transmitted to\nthe CM. This has value unknown(2) if the last Error-Code value was\n0, and none(1) if no Authorization Reject message has been transmitted\nto the CM.") docsBpiCmtsAuthRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthRejectErrorString.setDescription("The value of this object is the Display-String in most recent\nAuthorization Reject message transmitted to the CM. This is a\nzero length string if no Authorization Reject message has been\ntransmitted to the CM.") docsBpiCmtsAuthInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,6,5,3,7,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedCm", 3), ("unsolicited", 5), ("invalidKeySequence", 6), ("keyRequestAuthenticationFailure", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthInvalidErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in most recent Authorization Invalid message transmitted\nto the CM. This has value unknown(2) if the last Error-Code value was\n0, and none(1) if no Authorization Invalid message has been\ntransmitted to the CM.") docsBpiCmtsAuthInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 2, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsAuthInvalidErrorString.setDescription("The value of this object is the Display-String in most recent\nAuthorization Invalid message transmitted to the CM. This is a\nzero length string if no Authorization Invalid message has been\ntransmitted to the CM.") docsBpiCmtsTEKTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3)) if mibBuilder.loadTexts: docsBpiCmtsTEKTable.setDescription("This table describes the attributes of each CM Traffic Encryption\nKey (TEK) association. The CMTS maintains one TEK association per BPI\nSID on each CMTS MAC interface.") docsBpiCmtsTEKEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IF-MIB", "docsIfCmtsServiceId")) if mibBuilder.loadTexts: docsBpiCmtsTEKEntry.setDescription("Each entry contains objects describing attributes of one TEK\nassociation on a particular CMTS MAC interface. The CMTS MUST create\none entry per SID per MAC interface, based on the receipt of an\nKey Request message, and MUST not delete the entry before the CM\nauthorization for the SID permanently expires.") docsBpiCmtsTEKLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 604800))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsTEKLifetime.setDescription("The value of this object is the lifetime, in seconds, the CMTS assigns\nto keys for this TEK association.") docsBpiCmtsTEKGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsTEKGraceTime.setDescription("The value of this object is the grace time for the TEK in seconds.\nThe CM is expected to start trying to get a new TEK beginning\nTEKGraceTime seconds before the TEK actually expires.") docsBpiCmtsTEKExpiresOld = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsTEKExpiresOld.setDescription("The value of this object is the actual clock time for expiration\nof the immediate predecessor of the most recent TEK for this FSM.\nIf this FSM has only one TEK, then the value is the time of activation\nof this FSM.") docsBpiCmtsTEKExpiresNew = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsTEKExpiresNew.setDescription("The value of this object is the actual clock time for expiration\nof the most recent TEK for this FSM.") docsBpiCmtsTEKReset = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpiCmtsTEKReset.setDescription("Setting this object to TRUE causes the CMTS to invalidate the current\nactive TEK(s) (plural due to key transition periods), and to generate\na new TEK for the associated SID; the CMTS MAY also generate an\nunsolicited TEK Invalid message, to optimize the TEK synchronization\n\n\nbetween the CMTS and the CM. Reading this object always returns\nFALSE.") docsBpiCmtsKeyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsKeyRequests.setDescription("The value of this object is the count of times the CMTS has\nreceived a Key Request message.") docsBpiCmtsKeyReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsKeyReplies.setDescription("The value of this object is the count of times the CMTS has\ntransmitted a Key Reply message.") docsBpiCmtsKeyRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsKeyRejects.setDescription("The value of this object is the count of times the CMTS has\ntransmitted a Key Reject message.") docsBpiCmtsTEKInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsTEKInvalids.setDescription("The value of this object is the count of times the CMTS has\ntransmitted a TEK Invalid message.") docsBpiCmtsKeyRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedSid", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsKeyRejectErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in the most recent Key Reject message sent in response to\na Key Request for this BPI SID. This has value unknown(2) if the last\nError-Code value was 0, and none(1) if no Key Reject message has been\nreceived since reboot.") docsBpiCmtsKeyRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsKeyRejectErrorString.setDescription("The value of this object is the Display-String in the most recent\nKey Reject message sent in response to a Key Request for this BPI\nSID. This is a zero length string if no Key Reject message has been\nreceived since reboot.") docsBpiCmtsTEKInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,6,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("invalidKeySequence", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsTEKInvalidErrorCode.setDescription("The value of this object is the enumerated description of the\nError-Code in the most recent TEK Invalid message sent in association\nwith this BPI SID. This has value unknown(2) if the last Error-Code\nvalue was 0, and none(1) if no TEK Invalid message has been received\n\n\nsince reboot.") docsBpiCmtsTEKInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 3, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpiCmtsTEKInvalidErrorString.setDescription("The value of this object is the Display-String in the most recent TEK\nInvalid message sent in association with this BPI SID. This is a zero\nlength string if no TEK Invalid message has been received since reboot.") docsBpiMulticastControl = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4)) docsBpiIpMulticastMapTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 1)) if mibBuilder.loadTexts: docsBpiIpMulticastMapTable.setDescription("This table describes the mapping of IP multicast address prefixes to\nmulticast SIDs on each CMTS MAC interface.") docsBpiIpMulticastMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-BPI-MIB", "docsBpiIpMulticastAddress"), (0, "DOCS-BPI-MIB", "docsBpiIpMulticastPrefixLength")) if mibBuilder.loadTexts: docsBpiIpMulticastMapEntry.setDescription("Each entry contains objects describing the mapping of one IP\nmulticast address prefix to one multicast SID on one CMTS MAC\ninterface. The CMTS uses the mapping when forwarding downstream IP\nmulticast traffic.") docsBpiIpMulticastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 1, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpiIpMulticastAddress.setDescription("This object represents the IP multicast address (prefix) to be\nmapped by this row, in conjunction with\ndocsBpiIpMulticastPrefixLength.") docsBpiIpMulticastPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpiIpMulticastPrefixLength.setDescription("This object represents the IP multicast address prefix length\nfor this row. The value of this object represents the length in\nbits of docsBpiIpMulticastAddress for multicast address\ncomparisons, using big-endian ordering. An IP multicast address\nmatches this row if the (docsBpiIpMulticastPrefixLength) most\nsignificant bits of the IP multicast address and of the\n(docsBpiIpMulticastAddress) are identical.\nThis object is similar in usage to an IP address mask. The value\n0 corresponds to IP address mask 0.0.0.0, the value 1 corresponds\nto IP address mask 128.0.0.0, the value 8 corresponds to IP\naddress mask 255.0.0.0, and the value 32 corresponds to IP\naddress mask 255.255.255.255.") docsBpiIpMulticastServiceId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(8192, 16368))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpiIpMulticastServiceId.setDescription("This object represents the multicast SID to be used in this\nIP multicast address prefix mapping entry.") docsBpiIpMulticastMapControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpiIpMulticastMapControl.setDescription("This object controls and reflects the IP multicast address prefix\nmapping entry. There is no restriction on the ability to change values\nin this row while the row is active.") docsBpiMulticastAuthTable = MibTable((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 2)) if mibBuilder.loadTexts: docsBpiMulticastAuthTable.setDescription("This table describes the multicast SID authorization for each\nCM on each CMTS MAC interface.") docsBpiMulticastAuthEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-BPI-MIB", "docsBpiMulticastServiceId"), (0, "DOCS-BPI-MIB", "docsBpiMulticastCmMacAddress")) if mibBuilder.loadTexts: docsBpiMulticastAuthEntry.setDescription("Each entry contains objects describing the key authorization of one\ncable modem for one multicast SID for one CMTS MAC interface.") docsBpiMulticastServiceId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(8192, 16368))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpiMulticastServiceId.setDescription("This object represents the multicast SID for authorization.") docsBpiMulticastCmMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 2, 1, 2), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpiMulticastCmMacAddress.setDescription("This object represents the MAC address of the CM to which the\nmulticast SID authorization applies.") docsBpiMulticastAuthControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 127, 5, 1, 2, 4, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpiMulticastAuthControl.setDescription("This object controls and reflects the CM authorization for each\nmulticast SID. There is no restriction on the ability to change\nvalues in this row while the row is active.") docsBpiNotification = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 2)) docsBpiConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 3)) docsBpiCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 3, 1)) docsBpiGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 127, 5, 3, 2)) # Augmentions # Groups docsBpiCmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 5, 3, 2, 1)).setObjects(*(("DOCS-BPI-MIB", "docsBpiCmAuthRejectErrorString"), ("DOCS-BPI-MIB", "docsBpiCmAuthGraceTime"), ("DOCS-BPI-MIB", "docsBpiCmTEKKeyRequests"), ("DOCS-BPI-MIB", "docsBpiCmTEKExpiresOld"), ("DOCS-BPI-MIB", "docsBpiCmAuthExpires"), ("DOCS-BPI-MIB", "docsBpiCmTEKPrivacyEnable"), ("DOCS-BPI-MIB", "docsBpiCmAuthInvalids"), ("DOCS-BPI-MIB", "docsBpiCmAuthRejectErrorCode"), ("DOCS-BPI-MIB", "docsBpiCmAuthReplies"), ("DOCS-BPI-MIB", "docsBpiCmTEKKeyReplies"), ("DOCS-BPI-MIB", "docsBpiCmTEKInvalidErrorCode"), ("DOCS-BPI-MIB", "docsBpiCmAuthInvalidErrorString"), ("DOCS-BPI-MIB", "docsBpiCmAuthRejectWaitTimeout"), ("DOCS-BPI-MIB", "docsBpiCmTEKInvalidErrorString"), ("DOCS-BPI-MIB", "docsBpiCmAuthKeySequenceNumber"), ("DOCS-BPI-MIB", "docsBpiCmAuthRequests"), ("DOCS-BPI-MIB", "docsBpiCmTEKExpiresNew"), ("DOCS-BPI-MIB", "docsBpiCmTEKKeyRejectErrorString"), ("DOCS-BPI-MIB", "docsBpiCmAuthWaitTimeout"), ("DOCS-BPI-MIB", "docsBpiCmPrivacyEnable"), ("DOCS-BPI-MIB", "docsBpiCmOpWaitTimeout"), ("DOCS-BPI-MIB", "docsBpiCmTEKAuthPends"), ("DOCS-BPI-MIB", "docsBpiCmAuthReset"), ("DOCS-BPI-MIB", "docsBpiCmAuthRejects"), ("DOCS-BPI-MIB", "docsBpiCmTEKInvalids"), ("DOCS-BPI-MIB", "docsBpiCmAuthInvalidErrorCode"), ("DOCS-BPI-MIB", "docsBpiCmTEKGraceTime"), ("DOCS-BPI-MIB", "docsBpiCmRekeyWaitTimeout"), ("DOCS-BPI-MIB", "docsBpiCmTEKKeyRejectErrorCode"), ("DOCS-BPI-MIB", "docsBpiCmAuthState"), ("DOCS-BPI-MIB", "docsBpiCmReauthWaitTimeout"), ("DOCS-BPI-MIB", "docsBpiCmTEKState"), ("DOCS-BPI-MIB", "docsBpiCmTEKKeyRejects"), ("DOCS-BPI-MIB", "docsBpiCmPublicKey"), ) ) if mibBuilder.loadTexts: docsBpiCmGroup.setDescription("This collection of objects provides CM BPI status and control.") docsBpiCmtsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 5, 3, 2, 2)).setObjects(*(("DOCS-BPI-MIB", "docsBpiCmtsAuthCmRequests"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKInvalids"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthReplies"), ("DOCS-BPI-MIB", "docsBpiCmtsDefaultTEKLifetime"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKGraceTime"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthRequests"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthInvalidErrorCode"), ("DOCS-BPI-MIB", "docsBpiCmtsKeyRequests"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKExpiresOld"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmKeySequenceNumber"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKInvalidErrorCode"), ("DOCS-BPI-MIB", "docsBpiCmtsKeyRejects"), ("DOCS-BPI-MIB", "docsBpiCmtsDefaultAuthLifetime"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKLifetime"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmReset"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmLifetime"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKInvalidErrorString"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmReplies"), ("DOCS-BPI-MIB", "docsBpiCmtsKeyRejectErrorString"), ("DOCS-BPI-MIB", "docsBpiCmtsKeyReplies"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthInvalids"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthRejectErrorCode"), ("DOCS-BPI-MIB", "docsBpiIpMulticastServiceId"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmGraceTime"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthRejects"), ("DOCS-BPI-MIB", "docsBpiCmtsKeyRejectErrorCode"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmRejects"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKReset"), ("DOCS-BPI-MIB", "docsBpiIpMulticastMapControl"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmExpires"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmInvalids"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthRejectErrorString"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthInvalidErrorString"), ("DOCS-BPI-MIB", "docsBpiMulticastAuthControl"), ("DOCS-BPI-MIB", "docsBpiCmtsAuthCmPublicKey"), ("DOCS-BPI-MIB", "docsBpiCmtsTEKExpiresNew"), ) ) if mibBuilder.loadTexts: docsBpiCmtsGroup.setDescription("This collection of objects provides CMTS BPI status and control.") docsBpiObsoleteObjectsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 127, 5, 3, 2, 3)).setObjects(*(("DOCS-BPI-MIB", "docsBpiCmtsDefaultAuthGraceTime"), ("DOCS-BPI-MIB", "docsBpiCmtsDefaultTEKGraceTime"), ) ) if mibBuilder.loadTexts: docsBpiObsoleteObjectsGroup.setDescription("This is a collection of obsolete BPI objects.") # Compliances docsBpiBasicCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 127, 5, 3, 1, 1)).setObjects(*(("DOCS-BPI-MIB", "docsBpiCmtsGroup"), ("DOCS-BPI-MIB", "docsBpiCmGroup"), ) ) if mibBuilder.loadTexts: docsBpiBasicCompliance.setDescription("This is the compliance statement for devices which implement the\nDOCSIS Baseline Privacy Interface.") # Exports # Module identity mibBuilder.exportSymbols("DOCS-BPI-MIB", PYSNMP_MODULE_ID=docsBpiMIB) # Objects mibBuilder.exportSymbols("DOCS-BPI-MIB", docsBpiMIB=docsBpiMIB, docsBpiMIBObjects=docsBpiMIBObjects, docsBpiCmObjects=docsBpiCmObjects, docsBpiCmBaseTable=docsBpiCmBaseTable, docsBpiCmBaseEntry=docsBpiCmBaseEntry, docsBpiCmPrivacyEnable=docsBpiCmPrivacyEnable, docsBpiCmPublicKey=docsBpiCmPublicKey, docsBpiCmAuthState=docsBpiCmAuthState, docsBpiCmAuthKeySequenceNumber=docsBpiCmAuthKeySequenceNumber, docsBpiCmAuthExpires=docsBpiCmAuthExpires, docsBpiCmAuthReset=docsBpiCmAuthReset, docsBpiCmAuthGraceTime=docsBpiCmAuthGraceTime, docsBpiCmTEKGraceTime=docsBpiCmTEKGraceTime, docsBpiCmAuthWaitTimeout=docsBpiCmAuthWaitTimeout, docsBpiCmReauthWaitTimeout=docsBpiCmReauthWaitTimeout, docsBpiCmOpWaitTimeout=docsBpiCmOpWaitTimeout, docsBpiCmRekeyWaitTimeout=docsBpiCmRekeyWaitTimeout, docsBpiCmAuthRejectWaitTimeout=docsBpiCmAuthRejectWaitTimeout, docsBpiCmAuthRequests=docsBpiCmAuthRequests, docsBpiCmAuthReplies=docsBpiCmAuthReplies, docsBpiCmAuthRejects=docsBpiCmAuthRejects, docsBpiCmAuthInvalids=docsBpiCmAuthInvalids, docsBpiCmAuthRejectErrorCode=docsBpiCmAuthRejectErrorCode, docsBpiCmAuthRejectErrorString=docsBpiCmAuthRejectErrorString, docsBpiCmAuthInvalidErrorCode=docsBpiCmAuthInvalidErrorCode, docsBpiCmAuthInvalidErrorString=docsBpiCmAuthInvalidErrorString, docsBpiCmTEKTable=docsBpiCmTEKTable, docsBpiCmTEKEntry=docsBpiCmTEKEntry, docsBpiCmTEKPrivacyEnable=docsBpiCmTEKPrivacyEnable, docsBpiCmTEKState=docsBpiCmTEKState, docsBpiCmTEKExpiresOld=docsBpiCmTEKExpiresOld, docsBpiCmTEKExpiresNew=docsBpiCmTEKExpiresNew, docsBpiCmTEKKeyRequests=docsBpiCmTEKKeyRequests, docsBpiCmTEKKeyReplies=docsBpiCmTEKKeyReplies, docsBpiCmTEKKeyRejects=docsBpiCmTEKKeyRejects, docsBpiCmTEKInvalids=docsBpiCmTEKInvalids, docsBpiCmTEKAuthPends=docsBpiCmTEKAuthPends, docsBpiCmTEKKeyRejectErrorCode=docsBpiCmTEKKeyRejectErrorCode, docsBpiCmTEKKeyRejectErrorString=docsBpiCmTEKKeyRejectErrorString, docsBpiCmTEKInvalidErrorCode=docsBpiCmTEKInvalidErrorCode, docsBpiCmTEKInvalidErrorString=docsBpiCmTEKInvalidErrorString, docsBpiCmtsObjects=docsBpiCmtsObjects, docsBpiCmtsBaseTable=docsBpiCmtsBaseTable, docsBpiCmtsBaseEntry=docsBpiCmtsBaseEntry, docsBpiCmtsDefaultAuthLifetime=docsBpiCmtsDefaultAuthLifetime, docsBpiCmtsDefaultTEKLifetime=docsBpiCmtsDefaultTEKLifetime, docsBpiCmtsDefaultAuthGraceTime=docsBpiCmtsDefaultAuthGraceTime, docsBpiCmtsDefaultTEKGraceTime=docsBpiCmtsDefaultTEKGraceTime, docsBpiCmtsAuthRequests=docsBpiCmtsAuthRequests, docsBpiCmtsAuthReplies=docsBpiCmtsAuthReplies, docsBpiCmtsAuthRejects=docsBpiCmtsAuthRejects, docsBpiCmtsAuthInvalids=docsBpiCmtsAuthInvalids, docsBpiCmtsAuthTable=docsBpiCmtsAuthTable, docsBpiCmtsAuthEntry=docsBpiCmtsAuthEntry, docsBpiCmtsAuthCmMacAddress=docsBpiCmtsAuthCmMacAddress, docsBpiCmtsAuthCmPublicKey=docsBpiCmtsAuthCmPublicKey, docsBpiCmtsAuthCmKeySequenceNumber=docsBpiCmtsAuthCmKeySequenceNumber, docsBpiCmtsAuthCmExpires=docsBpiCmtsAuthCmExpires, docsBpiCmtsAuthCmLifetime=docsBpiCmtsAuthCmLifetime, docsBpiCmtsAuthCmGraceTime=docsBpiCmtsAuthCmGraceTime, docsBpiCmtsAuthCmReset=docsBpiCmtsAuthCmReset, docsBpiCmtsAuthCmRequests=docsBpiCmtsAuthCmRequests, docsBpiCmtsAuthCmReplies=docsBpiCmtsAuthCmReplies, docsBpiCmtsAuthCmRejects=docsBpiCmtsAuthCmRejects, docsBpiCmtsAuthCmInvalids=docsBpiCmtsAuthCmInvalids, docsBpiCmtsAuthRejectErrorCode=docsBpiCmtsAuthRejectErrorCode, docsBpiCmtsAuthRejectErrorString=docsBpiCmtsAuthRejectErrorString, docsBpiCmtsAuthInvalidErrorCode=docsBpiCmtsAuthInvalidErrorCode, docsBpiCmtsAuthInvalidErrorString=docsBpiCmtsAuthInvalidErrorString, docsBpiCmtsTEKTable=docsBpiCmtsTEKTable, docsBpiCmtsTEKEntry=docsBpiCmtsTEKEntry, docsBpiCmtsTEKLifetime=docsBpiCmtsTEKLifetime, docsBpiCmtsTEKGraceTime=docsBpiCmtsTEKGraceTime, docsBpiCmtsTEKExpiresOld=docsBpiCmtsTEKExpiresOld, docsBpiCmtsTEKExpiresNew=docsBpiCmtsTEKExpiresNew, docsBpiCmtsTEKReset=docsBpiCmtsTEKReset, docsBpiCmtsKeyRequests=docsBpiCmtsKeyRequests, docsBpiCmtsKeyReplies=docsBpiCmtsKeyReplies, docsBpiCmtsKeyRejects=docsBpiCmtsKeyRejects, docsBpiCmtsTEKInvalids=docsBpiCmtsTEKInvalids, docsBpiCmtsKeyRejectErrorCode=docsBpiCmtsKeyRejectErrorCode, docsBpiCmtsKeyRejectErrorString=docsBpiCmtsKeyRejectErrorString, docsBpiCmtsTEKInvalidErrorCode=docsBpiCmtsTEKInvalidErrorCode, docsBpiCmtsTEKInvalidErrorString=docsBpiCmtsTEKInvalidErrorString, docsBpiMulticastControl=docsBpiMulticastControl, docsBpiIpMulticastMapTable=docsBpiIpMulticastMapTable, docsBpiIpMulticastMapEntry=docsBpiIpMulticastMapEntry, docsBpiIpMulticastAddress=docsBpiIpMulticastAddress, docsBpiIpMulticastPrefixLength=docsBpiIpMulticastPrefixLength, docsBpiIpMulticastServiceId=docsBpiIpMulticastServiceId, docsBpiIpMulticastMapControl=docsBpiIpMulticastMapControl, docsBpiMulticastAuthTable=docsBpiMulticastAuthTable, docsBpiMulticastAuthEntry=docsBpiMulticastAuthEntry, docsBpiMulticastServiceId=docsBpiMulticastServiceId, docsBpiMulticastCmMacAddress=docsBpiMulticastCmMacAddress, docsBpiMulticastAuthControl=docsBpiMulticastAuthControl, docsBpiNotification=docsBpiNotification, docsBpiConformance=docsBpiConformance, docsBpiCompliances=docsBpiCompliances, docsBpiGroups=docsBpiGroups) # Groups mibBuilder.exportSymbols("DOCS-BPI-MIB", docsBpiCmGroup=docsBpiCmGroup, docsBpiCmtsGroup=docsBpiCmtsGroup, docsBpiObsoleteObjectsGroup=docsBpiObsoleteObjectsGroup) # Compliances mibBuilder.exportSymbols("DOCS-BPI-MIB", docsBpiBasicCompliance=docsBpiBasicCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/CHARACTER-MIB.py0000644000014400001440000005416511736645135020743 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python CHARACTER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:45 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2", "transmission") ( AutonomousType, DisplayString, InstancePointer, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "DisplayString", "InstancePointer", "TextualConvention") # Types class PortIndex(TextualConvention, Integer32): displayHint = "d" # Objects char = ModuleIdentity((1, 3, 6, 1, 2, 1, 19)).setRevisions(("1994-05-26 17:00",)) if mibBuilder.loadTexts: char.setOrganization("IETF Character MIB Working Group") if mibBuilder.loadTexts: char.setContactInfo(" Bob Stewart\nPostal: Xyplex, Inc.\n 295 Foster Street\n Littleton, MA 01460\n\n Tel: 508-952-4816\n Fax: 508-952-4887\nE-mail: rlstewart@eng.xyplex.com") if mibBuilder.loadTexts: char.setDescription("The MIB module for character stream devices.") charNumber = MibScalar((1, 3, 6, 1, 2, 1, 19, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charNumber.setDescription("The number of entries in charPortTable, regardless\nof their current state.") charPortTable = MibTable((1, 3, 6, 1, 2, 1, 19, 2)) if mibBuilder.loadTexts: charPortTable.setDescription("A list of port entries. The number of entries is\ngiven by the value of charNumber.") charPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 19, 2, 1)).setIndexNames((0, "CHARACTER-MIB", "charPortIndex")) if mibBuilder.loadTexts: charPortEntry.setDescription("Status and parameter values for a character port.") charPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 1), PortIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortIndex.setDescription("A unique value for each character port, perhaps\ncorresponding to the same value of ifIndex when the\ncharacter port is associated with a hardware port\nrepresented by an ifIndex.") charPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortName.setDescription("An administratively assigned name for the port,\ntypically with some local significance.") charPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("physical", 1), ("virtual", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortType.setDescription("The port's type, 'physical' if the port represents\nan external hardware connector, 'virtual' if it does\nnot.") charPortHardware = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 4), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortHardware.setDescription("A reference to hardware MIB definitions specific to\na physical port's external connector. For example,\nif the connector is RS-232, then the value of this\nobject refers to a MIB sub-tree defining objects\nspecific to RS-232. If an agent is not configured\nto have such values, the agent returns the object\nidentifier:\n\n nullHardware OBJECT IDENTIFIER ::= { 0 0 }") charPortReset = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ready", 1), ("execute", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortReset.setDescription("A control to force the port into a clean, initial\nstate, both hardware and software, disconnecting all\nthe port's existing sessions. In response to a\nget-request or get-next-request, the agent always\nreturns 'ready' as the value. Setting the value to\n'execute' causes a reset.") charPortAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,4,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("off", 3), ("maintenance", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortAdminStatus.setDescription("The port's desired state, independent of flow\ncontrol. 'enabled' indicates that the port is\nallowed to pass characters and form new sessions.\n'disabled' indicates that the port is allowed to\npass characters but not form new sessions. 'off'\nindicates that the port is not allowed to pass\ncharacters or have any sessions. 'maintenance'\nindicates a maintenance mode, exclusive of normal\noperation, such as running a test.\n\n'enabled' corresponds to ifAdminStatus 'up'.\n'disabled' and 'off' correspond to ifAdminStatus\n'down'. 'maintenance' corresponds to ifAdminStatus\n'test'.") charPortOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,5,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("maintenance", 3), ("absent", 4), ("active", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortOperStatus.setDescription("The port's actual, operational state, independent\nof flow control. 'up' indicates able to function\nnormally. 'down' indicates inability to function\nfor administrative or operational reasons.\n'maintenance' indicates a maintenance mode,\nexclusive of normal operation, such as running a\ntest. 'absent' indicates that port hardware is not\npresent. 'active' indicates up with a user present\n(e.g. logged in).\n\n'up' and 'active' correspond to ifOperStatus 'up'.\n'down' and 'absent' correspond to ifOperStatus\n'down'. 'maintenance' corresponds to ifOperStatus\n'test'.") charPortLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortLastChange.setDescription("The value of sysUpTime at the time the port entered\nits current operational state. If the current state\nwas entered prior to the last reinitialization of\nthe local network management subsystem, then this\nobject contains a zero value.") charPortInFlowType = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,5,4,)).subtype(namedValues=NamedValues(("none", 1), ("xonXoff", 2), ("hardware", 3), ("ctsRts", 4), ("dsrDtr", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortInFlowType.setDescription("The port's type of input flow control. 'none'\nindicates no flow control at this level or below.\n'xonXoff' indicates software flow control by\nrecognizing XON and XOFF characters. 'hardware'\nindicates flow control delegated to the lower level,\nfor example a parallel port.\n\n'ctsRts' and 'dsrDtr' are specific to RS-232-like\nports. Although not architecturally pure, they are\nincluded here for simplicity's sake.") charPortOutFlowType = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,5,4,)).subtype(namedValues=NamedValues(("none", 1), ("xonXoff", 2), ("hardware", 3), ("ctsRts", 4), ("dsrDtr", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortOutFlowType.setDescription("The port's type of output flow control. 'none'\nindicates no flow control at this level or below.\n'xonXoff' indicates software flow control by\nrecognizing XON and XOFF characters. 'hardware'\nindicates flow control delegated to the lower level,\nfor example a parallel port.\n\n'ctsRts' and 'dsrDtr' are specific to RS-232-like\nports. Although not architecturally pure, they are\nincluded here for simplicy's sake.") charPortInFlowState = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("stop", 3), ("go", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortInFlowState.setDescription("The current operational state of input flow control\non the port. 'none' indicates not applicable.\n'unknown' indicates this level does not know.\n'stop' indicates flow not allowed. 'go' indicates\nflow allowed.") charPortOutFlowState = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("stop", 3), ("go", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortOutFlowState.setDescription("The current operational state of output flow\ncontrol on the port. 'none' indicates not\napplicable. 'unknown' indicates this level does not\nknow. 'stop' indicates flow not allowed. 'go'\nindicates flow allowed.") charPortInCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortInCharacters.setDescription("Total number of characters detected as input from\nthe port since system re-initialization and while\nthe port operational state was 'up', 'active', or\n'maintenance', including, for example, framing, flow\ncontrol (i.e. XON and XOFF), each occurrence of a\nBREAK condition, locally-processed input, and input\nsent to all sessions.") charPortOutCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortOutCharacters.setDescription("Total number of characters detected as output to\nthe port since system re-initialization and while\nthe port operational state was 'up', 'active', or\n'maintenance', including, for example, framing, flow\ncontrol (i.e. XON and XOFF), each occurrence of a\nBREAK condition, locally-created output, and output\nreceived from all sessions.") charPortAdminOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,)).subtype(namedValues=NamedValues(("dynamic", 1), ("network", 2), ("local", 3), ("none", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortAdminOrigin.setDescription("The administratively allowed origin for\nestablishing session on the port. 'dynamic' allows\n'network' or 'local' session establishment. 'none'\ndisallows session establishment.") charPortSessionMaximum = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortSessionMaximum.setDescription("The maximum number of concurrent sessions allowed\non the port. A value of -1 indicates no maximum.\nSetting the maximum to less than the current number\nof sessions has unspecified results.") charPortSessionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortSessionNumber.setDescription("The number of open sessions on the port that are in\nthe connecting, connected, or disconnecting state.") charPortSessionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortSessionIndex.setDescription("The value of charSessIndex for the port's first or\nonly active session. If the port has no active\nsession, the agent returns the value zero.") charPortInFlowTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 19), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortInFlowTypes.setDescription("The port's types of input flow control at the\nsoftware level. Hardware-level flow control is\nindependently controlled by the appropriate\nhardware-level MIB.\n\nA value of zero indicates no flow control.\nDepending on the specific implementation, any or\nall combinations of flow control may be chosen by\nadding the values:\n\n128 xonXoff, recognizing XON and XOFF characters\n64 enqHost, ENQ/ACK to allow input to host\n32 enqTerm, ACK to allow output to port") charPortOutFlowTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 20), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: charPortOutFlowTypes.setDescription("The port's types of output flow control at the\nsoftware level. Hardware-level flow control is\nindependently controlled by the appropriate\nhardware-level MIB.\n\nA value of zero indicates no flow control.\nDepending on the specific implementation, any or\nall combinations of flow control may be chosen by\nadding the values:\n\n128 xonXoff, recognizing XON and XOFF characters\n64 enqHost, ENQ/ACK to allow input to host\n32 enqTerm, ACK to allow output to port") charPortLowerIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 2, 1, 21), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: charPortLowerIfIndex.setDescription("The ifIndex value of the lower level hardware supporting\nthis character port, zero if none.") charSessTable = MibTable((1, 3, 6, 1, 2, 1, 19, 3)) if mibBuilder.loadTexts: charSessTable.setDescription("A list of port session entries.") charSessEntry = MibTableRow((1, 3, 6, 1, 2, 1, 19, 3, 1)).setIndexNames((0, "CHARACTER-MIB", "charSessPortIndex"), (0, "CHARACTER-MIB", "charSessIndex")) if mibBuilder.loadTexts: charSessEntry.setDescription("Status and parameter values for a character port\nsession.") charSessPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 1), PortIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessPortIndex.setDescription("The value of charPortIndex for the port to which\nthis session belongs.") charSessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessIndex.setDescription("The session index in the context of the port, a\nnon-zero positive integer. Session indexes within a\nport need not be sequential. Session indexes may be\nreused for different ports. For example, port 1 and\nport 3 may both have a session 2 at the same time.\nSession indexes may have any valid integer value,\nwith any meaning convenient to the agent\nimplementation.") charSessKill = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ready", 1), ("execute", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: charSessKill.setDescription("A control to terminate the session. In response to\na get-request or get-next-request, the agent always\nreturns 'ready' as the value. Setting the value to\n'execute' causes termination.") charSessState = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("connecting", 1), ("connected", 2), ("disconnecting", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessState.setDescription("The current operational state of the session,\ndisregarding flow control. 'connected' indicates\nthat character data could flow on the network side\nof session. 'connecting' indicates moving from\nnonexistent toward 'connected'. 'disconnecting'\nindicates moving from 'connected' or 'connecting' to\nnonexistent.") charSessProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 5), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessProtocol.setDescription("The network protocol over which the session is\nrunning. Other OBJECT IDENTIFIER values may be\ndefined elsewhere, in association with specific\nprotocols. However, this document assigns those of\nknown interest as of this writing.") charSessOperOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("network", 2), ("local", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessOperOrigin.setDescription("The session's source of establishment.") charSessInCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessInCharacters.setDescription("This session's subset of charPortInCharacters.") charSessOutCharacters = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessOutCharacters.setDescription("This session's subset of charPortOutCharacters.") charSessConnectionId = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 9), InstancePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessConnectionId.setDescription("A reference to additional local MIB information.\nThis should be the highest available related MIB,\ncorresponding to charSessProtocol, such as Telnet.\nFor example, the value for a TCP connection (in the\nabsence of a Telnet MIB) is the object identifier of\ntcpConnState. If an agent is not configured to have\nsuch values, the agent returns the object\nidentifier:\n\n nullConnectionId OBJECT IDENTIFIER ::= { 0 0 }") charSessStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 19, 3, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: charSessStartTime.setDescription("The value of sysUpTime in MIB-2 when the session\nentered connecting state.") wellKnownProtocols = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4)) protocolOther = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 1)) protocolTelnet = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 2)) protocolRlogin = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 3)) protocolLat = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 4)) protocolX29 = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 5)) protocolVtp = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 4, 6)) charConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 5)) charGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 5, 1)) charCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 19, 5, 2)) # Augmentions # Groups charGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 19, 5, 1, 1)).setObjects(*(("CHARACTER-MIB", "charPortInCharacters"), ("CHARACTER-MIB", "charPortOutFlowTypes"), ("CHARACTER-MIB", "charPortSessionMaximum"), ("CHARACTER-MIB", "charPortAdminOrigin"), ("CHARACTER-MIB", "charSessProtocol"), ("CHARACTER-MIB", "charSessPortIndex"), ("CHARACTER-MIB", "charSessIndex"), ("CHARACTER-MIB", "charSessInCharacters"), ("CHARACTER-MIB", "charPortOperStatus"), ("CHARACTER-MIB", "charPortSessionIndex"), ("CHARACTER-MIB", "charPortAdminStatus"), ("CHARACTER-MIB", "charPortInFlowState"), ("CHARACTER-MIB", "charSessKill"), ("CHARACTER-MIB", "charPortLastChange"), ("CHARACTER-MIB", "charSessState"), ("CHARACTER-MIB", "charPortOutCharacters"), ("CHARACTER-MIB", "charPortLowerIfIndex"), ("CHARACTER-MIB", "charPortSessionNumber"), ("CHARACTER-MIB", "charPortType"), ("CHARACTER-MIB", "charPortReset"), ("CHARACTER-MIB", "charPortHardware"), ("CHARACTER-MIB", "charPortName"), ("CHARACTER-MIB", "charPortIndex"), ("CHARACTER-MIB", "charSessOperOrigin"), ("CHARACTER-MIB", "charSessOutCharacters"), ("CHARACTER-MIB", "charSessConnectionId"), ("CHARACTER-MIB", "charSessStartTime"), ("CHARACTER-MIB", "charNumber"), ("CHARACTER-MIB", "charPortOutFlowState"), ("CHARACTER-MIB", "charPortInFlowTypes"), ) ) if mibBuilder.loadTexts: charGroup.setDescription("A collection of objects providing information\napplicable to all Character interfaces.") # Compliances charCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 19, 5, 2, 1)).setObjects(*(("CHARACTER-MIB", "charGroup"), ) ) if mibBuilder.loadTexts: charCompliance.setDescription("The compliance statement for SNMPv2 entities\nwhich have Character hardware interfaces.") # Exports # Module identity mibBuilder.exportSymbols("CHARACTER-MIB", PYSNMP_MODULE_ID=char) # Types mibBuilder.exportSymbols("CHARACTER-MIB", PortIndex=PortIndex) # Objects mibBuilder.exportSymbols("CHARACTER-MIB", char=char, charNumber=charNumber, charPortTable=charPortTable, charPortEntry=charPortEntry, charPortIndex=charPortIndex, charPortName=charPortName, charPortType=charPortType, charPortHardware=charPortHardware, charPortReset=charPortReset, charPortAdminStatus=charPortAdminStatus, charPortOperStatus=charPortOperStatus, charPortLastChange=charPortLastChange, charPortInFlowType=charPortInFlowType, charPortOutFlowType=charPortOutFlowType, charPortInFlowState=charPortInFlowState, charPortOutFlowState=charPortOutFlowState, charPortInCharacters=charPortInCharacters, charPortOutCharacters=charPortOutCharacters, charPortAdminOrigin=charPortAdminOrigin, charPortSessionMaximum=charPortSessionMaximum, charPortSessionNumber=charPortSessionNumber, charPortSessionIndex=charPortSessionIndex, charPortInFlowTypes=charPortInFlowTypes, charPortOutFlowTypes=charPortOutFlowTypes, charPortLowerIfIndex=charPortLowerIfIndex, charSessTable=charSessTable, charSessEntry=charSessEntry, charSessPortIndex=charSessPortIndex, charSessIndex=charSessIndex, charSessKill=charSessKill, charSessState=charSessState, charSessProtocol=charSessProtocol, charSessOperOrigin=charSessOperOrigin, charSessInCharacters=charSessInCharacters, charSessOutCharacters=charSessOutCharacters, charSessConnectionId=charSessConnectionId, charSessStartTime=charSessStartTime, wellKnownProtocols=wellKnownProtocols, protocolOther=protocolOther, protocolTelnet=protocolTelnet, protocolRlogin=protocolRlogin, protocolLat=protocolLat, protocolX29=protocolX29, protocolVtp=protocolVtp, charConformance=charConformance, charGroups=charGroups, charCompliances=charCompliances) # Groups mibBuilder.exportSymbols("CHARACTER-MIB", charGroup=charGroup) # Compliances mibBuilder.exportSymbols("CHARACTER-MIB", charCompliance=charCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-IPPM-METRICS-REGISTRY-MIB.py0000644000014400001440000003204511736645136023266 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-IPPM-METRICS-REGISTRY-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:06 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "TimeTicks", "mib-2") # Objects ianaIppmMetricsRegistry = ModuleIdentity((1, 3, 6, 1, 2, 1, 128)).setRevisions(("2006-12-04 00:00","2005-04-12 00:00",)) if mibBuilder.loadTexts: ianaIppmMetricsRegistry.setOrganization("IANA") if mibBuilder.loadTexts: ianaIppmMetricsRegistry.setContactInfo("Internet Assigned Numbers Authority\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaIppmMetricsRegistry.setDescription("This module defines a registry for IP Performance Metrics.\n\nRegistrations are done sequentially by IANA in the ianaIppmMetrics\nsubtree on the bases of 'Specification Required' as defined in\n[RFC2434].\n\nThe reference of the specification must point to a stable document\nincluding a title, a revision and a date.\n\nThe name always starts with the name of the organization and must\nrespect the SMIv2 rules for descriptors defined in the section 3.1\nof [RFC2578];\n\nA document that creates new metrics would have an IANA\nconsiderations section in which it would describe new metrics to\nregister.\n\nAn OBJECT IDENTITY assigned to a metric is definitive and cannot\nbe reused. If a new version of a metric is produced then it is\nassigned with a new name and a new identifier.\n\nCopyright (C) The Internet Society (2005). The initial version of\nthis MIB module was published in RFC 4148; for full legal notices\nsee the RFC itself or see:\nhttp://www.ietf.org/copyrights/ianamib.html. ") ianaIppmMetrics = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1)) if mibBuilder.loadTexts: ianaIppmMetrics.setDescription("Registration point for IP Performance Metrics.") ietfInstantUnidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 1)) if mibBuilder.loadTexts: ietfInstantUnidirConnectivity.setDescription("Type-P-Instantaneous-Unidirectional-Connectivity") ietfInstantBidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 2)) if mibBuilder.loadTexts: ietfInstantBidirConnectivity.setDescription("Type-P-Instantaneous-Bidirectional-Connectivity") ietfIntervalUnidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 3)) if mibBuilder.loadTexts: ietfIntervalUnidirConnectivity.setDescription("Type-P-Interval-Unidirectional-Connectivity") ietfIntervalBidirConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 4)) if mibBuilder.loadTexts: ietfIntervalBidirConnectivity.setDescription("Type-P-Interval-Bidirectional-Connectivity") ietfIntervalTemporalConnectivity = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 5)) if mibBuilder.loadTexts: ietfIntervalTemporalConnectivity.setDescription("Type-P1-P2-Interval-Temporal-Connectivity") ietfOneWayDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 6)) if mibBuilder.loadTexts: ietfOneWayDelay.setDescription("Type-P-One-way-Delay") ietfOneWayDelayPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 7)) if mibBuilder.loadTexts: ietfOneWayDelayPoissonStream.setDescription("Type-P-One-way-Delay-Poisson-Stream") ietfOneWayDelayPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 8)) if mibBuilder.loadTexts: ietfOneWayDelayPercentile.setDescription("Type-P-One-way-Delay-Percentile") ietfOneWayDelayMedian = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 9)) if mibBuilder.loadTexts: ietfOneWayDelayMedian.setDescription("Type-P-One-way-Delay-Median") ietfOneWayDelayMinimum = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 10)) if mibBuilder.loadTexts: ietfOneWayDelayMinimum.setDescription("Type-P-One-way-Delay-Minimum") ietfOneWayDelayInversePercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 11)) if mibBuilder.loadTexts: ietfOneWayDelayInversePercentile.setDescription("Type-P-One-way-Delay-Inverse-Percentile") ietfOneWayPktLoss = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 12)) if mibBuilder.loadTexts: ietfOneWayPktLoss.setDescription("Type-P-One-way-Packet-Loss") ietfOneWayPktLossPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 13)) if mibBuilder.loadTexts: ietfOneWayPktLossPoissonStream.setDescription("Type-P-One-way-Packet-Loss-Poisson-Stream") ietfOneWayPktLossAverage = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 14)) if mibBuilder.loadTexts: ietfOneWayPktLossAverage.setDescription("Type-P-One-way-Packet-Loss-Average") ietfRoundTripDelay = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 15)) if mibBuilder.loadTexts: ietfRoundTripDelay.setDescription("Type-P-Round-trip-Delay") ietfRoundTripDelayPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 16)) if mibBuilder.loadTexts: ietfRoundTripDelayPoissonStream.setDescription("Type-P-Round-trip-Delay-Poisson-Stream") ietfRoundTripDelayPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 17)) if mibBuilder.loadTexts: ietfRoundTripDelayPercentile.setDescription("Type-P-Round-trip-Delay-Percentile") ietfRoundTripDelayMedian = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 18)) if mibBuilder.loadTexts: ietfRoundTripDelayMedian.setDescription("Type-P-Round-trip-Delay-Median") ietfRoundTripDelayMinimum = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 19)) if mibBuilder.loadTexts: ietfRoundTripDelayMinimum.setDescription("Type-P-Round-trip-Delay-Minimum") ietfRoundTripDelayInvPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 20)) if mibBuilder.loadTexts: ietfRoundTripDelayInvPercentile.setDescription("Type-P-Round-trip-Inverse-Percentile") ietfOneWayLossDistanceStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 21)) if mibBuilder.loadTexts: ietfOneWayLossDistanceStream.setDescription("Type-P-One-Way-Loss-Distance-Stream") ietfOneWayLossPeriodStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 22)) if mibBuilder.loadTexts: ietfOneWayLossPeriodStream.setDescription("Type-P-One-Way-Loss-Period-Stream") ietfOneWayLossNoticeableRate = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 23)) if mibBuilder.loadTexts: ietfOneWayLossNoticeableRate.setDescription("Type-P-One-Way-Loss-Noticeable-Rate") ietfOneWayLossPeriodTotal = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 24)) if mibBuilder.loadTexts: ietfOneWayLossPeriodTotal.setDescription("Type-P-One-Way-Loss-Period-Total") ietfOneWayLossPeriodLengths = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 25)) if mibBuilder.loadTexts: ietfOneWayLossPeriodLengths.setDescription("Type-P-One-Way-Loss-Period-Lengths") ietfOneWayInterLossPeriodLengths = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 26)) if mibBuilder.loadTexts: ietfOneWayInterLossPeriodLengths.setDescription("Type-P-One-Way-Inter-Loss-Period-Lengths") ietfOneWayIpdv = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 27)) if mibBuilder.loadTexts: ietfOneWayIpdv.setDescription("Type-P-One-way-ipdv") ietfOneWayIpdvPoissonStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 28)) if mibBuilder.loadTexts: ietfOneWayIpdvPoissonStream.setDescription("Type-P-One-way-ipdv-Poisson-stream") ietfOneWayIpdvPercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 29)) if mibBuilder.loadTexts: ietfOneWayIpdvPercentile.setDescription("Type-P-One-way-ipdv-percentile") ietfOneWayIpdvInversePercentile = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 30)) if mibBuilder.loadTexts: ietfOneWayIpdvInversePercentile.setDescription("Type-P-One-way-ipdv-inverse-percentile") ietfOneWayIpdvJitter = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 31)) if mibBuilder.loadTexts: ietfOneWayIpdvJitter.setDescription("Type-P-One-way-ipdv-jitter") ietfOneWayPeakToPeakIpdv = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 32)) if mibBuilder.loadTexts: ietfOneWayPeakToPeakIpdv.setDescription("Type-P-One-way-peak-to-peak-ipdv") ietfOneWayDelayPeriodicStream = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 33)) if mibBuilder.loadTexts: ietfOneWayDelayPeriodicStream.setDescription("Type-P-One-way-Delay-Periodic-Stream") ietfReorderedSingleton = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 34)) if mibBuilder.loadTexts: ietfReorderedSingleton.setDescription("Type-P-Reordered") ietfReorderedPacketRatio = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 35)) if mibBuilder.loadTexts: ietfReorderedPacketRatio.setDescription("Type-P-Reordered-Ratio-Stream") ietfReorderingExtent = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 36)) if mibBuilder.loadTexts: ietfReorderingExtent.setDescription("Type-P-Packet-Reordering-Extent-Stream") ietfReorderingLateTimeOffset = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 37)) if mibBuilder.loadTexts: ietfReorderingLateTimeOffset.setDescription("Type-P-Packet-Late-Time-Stream") ietfReorderingByteOffset = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 38)) if mibBuilder.loadTexts: ietfReorderingByteOffset.setDescription("Type-P-Packet-Byte-Offset-Stream") ietfReorderingGap = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 39)) if mibBuilder.loadTexts: ietfReorderingGap.setDescription("Type-P-Packet-Reordering-Gap-Stream") ietfReorderingGapTime = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 40)) if mibBuilder.loadTexts: ietfReorderingGapTime.setDescription("Type-P-Packet-Reordering-GapTime-Stream") ietfReorderingFreeRunx = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 41)) if mibBuilder.loadTexts: ietfReorderingFreeRunx.setDescription("Type-P-Packet-Reordering-Free-Run-x-numruns-Stream") ietfReorderingFreeRunq = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 42)) if mibBuilder.loadTexts: ietfReorderingFreeRunq.setDescription("Type-P-Packet-Reordering-Free-Run-q-squruns-Stream") ietfReorderingFreeRunp = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 43)) if mibBuilder.loadTexts: ietfReorderingFreeRunp.setDescription("Type-P-Packet-Reordering-Free-Run-p-numpkts-Stream") ietfReorderingFreeRuna = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 44)) if mibBuilder.loadTexts: ietfReorderingFreeRuna.setDescription("Type-P-Packet-Reordering-Free-Run-a-accpkts-Stream") ietfnReordering = ObjectIdentity((1, 3, 6, 1, 2, 1, 128, 1, 45)) if mibBuilder.loadTexts: ietfnReordering.setDescription("Type-P-Packet-n-Reordering-Stream") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-IPPM-METRICS-REGISTRY-MIB", PYSNMP_MODULE_ID=ianaIppmMetricsRegistry) # Objects mibBuilder.exportSymbols("IANA-IPPM-METRICS-REGISTRY-MIB", ianaIppmMetricsRegistry=ianaIppmMetricsRegistry, ianaIppmMetrics=ianaIppmMetrics, ietfInstantUnidirConnectivity=ietfInstantUnidirConnectivity, ietfInstantBidirConnectivity=ietfInstantBidirConnectivity, ietfIntervalUnidirConnectivity=ietfIntervalUnidirConnectivity, ietfIntervalBidirConnectivity=ietfIntervalBidirConnectivity, ietfIntervalTemporalConnectivity=ietfIntervalTemporalConnectivity, ietfOneWayDelay=ietfOneWayDelay, ietfOneWayDelayPoissonStream=ietfOneWayDelayPoissonStream, ietfOneWayDelayPercentile=ietfOneWayDelayPercentile, ietfOneWayDelayMedian=ietfOneWayDelayMedian, ietfOneWayDelayMinimum=ietfOneWayDelayMinimum, ietfOneWayDelayInversePercentile=ietfOneWayDelayInversePercentile, ietfOneWayPktLoss=ietfOneWayPktLoss, ietfOneWayPktLossPoissonStream=ietfOneWayPktLossPoissonStream, ietfOneWayPktLossAverage=ietfOneWayPktLossAverage, ietfRoundTripDelay=ietfRoundTripDelay, ietfRoundTripDelayPoissonStream=ietfRoundTripDelayPoissonStream, ietfRoundTripDelayPercentile=ietfRoundTripDelayPercentile, ietfRoundTripDelayMedian=ietfRoundTripDelayMedian, ietfRoundTripDelayMinimum=ietfRoundTripDelayMinimum, ietfRoundTripDelayInvPercentile=ietfRoundTripDelayInvPercentile, ietfOneWayLossDistanceStream=ietfOneWayLossDistanceStream, ietfOneWayLossPeriodStream=ietfOneWayLossPeriodStream, ietfOneWayLossNoticeableRate=ietfOneWayLossNoticeableRate, ietfOneWayLossPeriodTotal=ietfOneWayLossPeriodTotal, ietfOneWayLossPeriodLengths=ietfOneWayLossPeriodLengths, ietfOneWayInterLossPeriodLengths=ietfOneWayInterLossPeriodLengths, ietfOneWayIpdv=ietfOneWayIpdv, ietfOneWayIpdvPoissonStream=ietfOneWayIpdvPoissonStream, ietfOneWayIpdvPercentile=ietfOneWayIpdvPercentile, ietfOneWayIpdvInversePercentile=ietfOneWayIpdvInversePercentile, ietfOneWayIpdvJitter=ietfOneWayIpdvJitter, ietfOneWayPeakToPeakIpdv=ietfOneWayPeakToPeakIpdv, ietfOneWayDelayPeriodicStream=ietfOneWayDelayPeriodicStream, ietfReorderedSingleton=ietfReorderedSingleton, ietfReorderedPacketRatio=ietfReorderedPacketRatio, ietfReorderingExtent=ietfReorderingExtent, ietfReorderingLateTimeOffset=ietfReorderingLateTimeOffset, ietfReorderingByteOffset=ietfReorderingByteOffset, ietfReorderingGap=ietfReorderingGap, ietfReorderingGapTime=ietfReorderingGapTime, ietfReorderingFreeRunx=ietfReorderingFreeRunx, ietfReorderingFreeRunq=ietfReorderingFreeRunq, ietfReorderingFreeRunp=ietfReorderingFreeRunp, ietfReorderingFreeRuna=ietfReorderingFreeRuna, ietfnReordering=ietfnReordering) pysnmp-mibs-0.1.3/pysnmp_mibs/FLOW-METER-MIB.py0000644000014400001440000016733311736645136021073 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FLOW-METER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:59 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( TimeFilter, ) = mibBuilder.importSymbols("RMON2-MIB", "TimeFilter") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowStatus, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeStamp", "TruthValue") # Types class ActionNumber(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,15,6,5,10,17,2,1,13,14,16,7,9,11,8,4,12,) namedValues = NamedValues(("ignore", 1), ("goto", 10), ("gotoAct", 11), ("pushRuleTo", 12), ("pushRuleToAct", 13), ("pushPktTo", 14), ("pushPktToAct", 15), ("popTo", 16), ("popToAct", 17), ("noMatch", 2), ("count", 3), ("countPkt", 4), ("return", 5), ("gosub", 6), ("gosubAct", 7), ("assign", 8), ("assignAct", 9), ) class AdjacentAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(3,20) class AdjacentType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,9,13,11,15,3,12,7,) namedValues = NamedValues(("ip", 1), ("ipx", 11), ("appletalk", 12), ("decnet", 13), ("fddi", 15), ("nsap", 3), ("ethernet", 7), ("tokenring", 9), ) class FlowAttributeNumber(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(33,18,16,15,25,37,13,39,21,3,20,26,24,1,12,10,40,11,8,19,17,30,29,31,32,34,4,2,27,28,7,5,38,35,41,22,9,14,6,36,23,) namedValues = NamedValues(("flowIndex", 1), ("sourcePeerMask", 10), ("sourceTransType", 11), ("sourceTransAddress", 12), ("sourceTransMask", 13), ("destInterface", 14), ("destAdjacentType", 15), ("destAdjacentAddress", 16), ("destAdjacentMask", 17), ("destPeerType", 18), ("destPeerAddress", 19), ("flowStatus", 2), ("destPeerMask", 20), ("destTransType", 21), ("destTransAddress", 22), ("destTransMask", 23), ("pduScale", 24), ("octetScale", 25), ("ruleSet", 26), ("toOctets", 27), ("toPDUs", 28), ("fromOctets", 29), ("flowTimeMark", 3), ("fromPDUs", 30), ("firstTime", 31), ("lastActiveTime", 32), ("sourceSubscriberID", 33), ("destSubscriberID", 34), ("sessionID", 35), ("sourceClass", 36), ("destClass", 37), ("flowClass", 38), ("sourceKind", 39), ("sourceInterface", 4), ("destKind", 40), ("flowKind", 41), ("sourceAdjacentType", 5), ("sourceAdjacentAddress", 6), ("sourceAdjacentMask", 7), ("sourcePeerType", 8), ("sourcePeerAddress", 9), ) class PeerAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(3,20) class PeerType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(12,1,13,3,2,11,) namedValues = NamedValues(("ipv4", 1), ("ipx", 11), ("appletalk", 12), ("decnet", 13), ("ipv6", 2), ("nsap", 3), ) class RuleAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(2,20) class RuleAttributeNumber(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(51,33,38,18,16,35,53,54,34,41,15,0,9,22,4,14,39,12,6,11,52,37,55,50,8,19,21,40,36,5,) namedValues = NamedValues(("null", 0), ("sourceTransType", 11), ("sourceTransAddress", 12), ("destInterface", 14), ("destAdjacentType", 15), ("destAdjacentAddress", 16), ("destPeerType", 18), ("destPeerAddress", 19), ("destTransType", 21), ("destTransAddress", 22), ("sourceSubscriberID", 33), ("destSubscriberID", 34), ("sessionID", 35), ("sourceClass", 36), ("destClass", 37), ("flowClass", 38), ("sourceKind", 39), ("sourceInterface", 4), ("destKind", 40), ("flowKind", 41), ("sourceAdjacentType", 5), ("matchingStoD", 50), ("v1", 51), ("v2", 52), ("v3", 53), ("v4", 54), ("v5", 55), ("sourceAdjacentAddress", 6), ("sourcePeerType", 8), ("sourcePeerAddress", 9), ) class TransportAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(2,2) fixedLength = 2 class TransportType(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,255) class UTF8OwnerString(TextualConvention, OctetString): displayHint = "127t" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,127) # Objects flowMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 40)).setRevisions(("1999-10-25 00:00","1999-08-30 12:50","1999-08-19 10:10","1997-12-23 09:37","1997-07-07 17:15","1996-03-08 02:08",)) if mibBuilder.loadTexts: flowMIB.setOrganization("IETF Realtime Traffic Flow Measurement Working Group") if mibBuilder.loadTexts: flowMIB.setContactInfo("Nevil Brownlee, The University of Auckland\n\nPostal: Information Technology Sytems & Services\n The University of Auckland\n Private Bag 92-019\n Auckland, New Zealand\n\nPhone: +64 9 373 7599 x8941\nE-mail: n.brownlee@auckland.ac.nz") if mibBuilder.loadTexts: flowMIB.setDescription("MIB for the RTFM Traffic Flow Meter.") flowControl = MibIdentifier((1, 3, 6, 1, 2, 1, 40, 1)) flowRuleSetInfoTable = MibTable((1, 3, 6, 1, 2, 1, 40, 1, 1)) if mibBuilder.loadTexts: flowRuleSetInfoTable.setDescription("An array of information about the RuleSets held in the\nmeter.\n\nAny manager may configure a new RuleSet for the meter by\ncreating a row in this table with status active(1), and setting\nvalues for all the objects in its rules. At this stage the new\nRuleSet is available but not 'running', i.e. it is not being\nused by the meter to produce entries in the flow table.\n\nTo actually 'run' a RuleSet a manager must create a row in\nthe flowManagerInfoTable, set it's flowManagerStatus to\nactive(1), and set either its CurrentRuleSet or StandbyRuleSet\nto point to the RuleSet to be run.\n\nOnce a RuleSet is running a manager may not change any of the\nobjects within the RuleSet itself. Any attempt to do so should\nresult in a notWritable(17) SNMP error-status for such objects.\n\nA manager may stop a RuleSet running by removing all\nreferences to it in the flowManagerInfoTable (i.e. by setting\nCurrentRuleSet and StandbyRuleSet values to 0). This provides\na way to stop RuleSets left running if a manager fails.\nFor example, when a manager is started, it could search the\nmeter's flowManager table and stop all RuleSets having a\nspecified value of flowRuleInfoOwner.\n\nTo prevent a manager from interfering with variables belonging\nto another manager, the meter should use MIB views [RFC2575] so\nas to limit each manager's access to the meter's variables,\neffectively dividing the single meter into several virtual\nmeters, one for each independent manager.") flowRuleSetInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 1, 1, 1)).setIndexNames((0, "FLOW-METER-MIB", "flowRuleInfoIndex")) if mibBuilder.loadTexts: flowRuleSetInfoEntry.setDescription("Information about a particular RuleSet.") flowRuleInfoIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowRuleInfoIndex.setDescription("An index which selects an entry in the flowRuleSetInfoTable.\nEach such entry contains control information for a particular\nRuleSet which the meter may run.") flowRuleInfoSize = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowRuleInfoSize.setDescription("Number of rules in this RuleSet. Setting this variable will\ncause the meter to allocate space for these rules.") flowRuleInfoOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 3), UTF8OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowRuleInfoOwner.setDescription("Identifies the manager which 'owns' this RuleSet. A manager\nmust set this variable when creating a row in this table.") flowRuleInfoTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowRuleInfoTimeStamp.setDescription("Time this row's associated RuleSet was last changed.") flowRuleInfoStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowRuleInfoStatus.setDescription("The status of this flowRuleSetInfoEntry. If this value is\nnot active(1) the meter must not attempt to use the row's\nassociated RuleSet. Once its value has been set to active(1)\na manager may not change any of the other variables in the\nrow, nor the contents of the associated RuleSet. Any attempt\nto do so should result in a notWritable(17) SNMP error-status\nfor such variables or objects.\n\nTo download a RuleSet, a manger could:\n - Locate an open slot in the RuleSetInfoTable.\n - Create a RuleSetInfoEntry by setting the status for this\n open slot to createAndWait(5).\n - Set flowRuleInfoSize and flowRuleInfoName as required.\n - Download the rules into the row's rule table.\n - Set flowRuleInfoStatus to active(1).\n\nThe RuleSet would then be ready to run. The manager is not\nallowed to change the value of flowRuleInfoStatus from\nactive(1) if the associated RuleSet is being referenced by any\nof the entries in the flowManagerInfoTable.\n\nSetting RuleInfoStatus to destroy(6) destroys the associated\nRuleSet together with any flow data collected by it.") flowRuleInfoName = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowRuleInfoName.setDescription("An alphanumeric identifier used by managers and readers to\nidentify a RuleSet. For example, a manager wishing to run a\nRuleSet named WWW-FLOWS could search the flowRuleSetInfoTable\nto see whether the WWW-FLOWS RuleSet is already available on\nthe meter.\n\nNote that references to RuleSets in the flowManagerInfoTable\nuse indexes for their flowRuleSetInfoTable entries. These may\nbe different each time the RuleSet is loaded into a meter.") flowRuleInfoRulesReady = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 7), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowRuleInfoRulesReady.setDescription("Indicates whether the rules for this row's associated RuleSet\nare ready for use. The meter will refuse to 'run' the RuleSet\nunless this variable has been set to true(1).\nWhile RulesReady is false(2), the manager may modify the\nRuleSet, for example by downloading rules into it.") flowRuleInfoFlowRecords = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowRuleInfoFlowRecords.setDescription("The number of entries in the flow table for this RuleSet.\nThese may be current (waiting for collection by one or more\nmeter readers) or idle (waiting for the meter to recover\ntheir memory).") flowInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 40, 1, 2)) if mibBuilder.loadTexts: flowInterfaceTable.setDescription("An array of information specific to each meter interface.") flowInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: flowInterfaceEntry.setDescription("Information about a particular interface.") flowInterfaceSampleRate = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 2, 1, 1), Integer32().clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowInterfaceSampleRate.setDescription("The parameter N for statistical counting on this interface.\nSet to N to count 1/Nth of the packets appearing at this\ninterface. A sampling rate of 1 counts all packets.\nA sampling rate of 0 results in the interface being ignored\nby the meter.\n\nA meter should choose its own algorithm to introduce variance\ninto the sampling so that exactly every Nth packet is counted.\nThe IPPM Working Group's RFC 'Framework for IP Performance\nMetrics' [IPPM-FRM] explains why this should be done, and sets\nout an algorithm for doing it.") flowInterfaceLostPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowInterfaceLostPackets.setDescription("The number of packets the meter has lost for this interface.\nSuch losses may occur because the meter has been unable to\nkeep up with the traffic volume.") flowReaderInfoTable = MibTable((1, 3, 6, 1, 2, 1, 40, 1, 3)) if mibBuilder.loadTexts: flowReaderInfoTable.setDescription("An array of information about meter readers which have\nregistered their intent to collect flow data from this meter.") flowReaderInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 1, 3, 1)).setIndexNames((0, "FLOW-METER-MIB", "flowReaderIndex")) if mibBuilder.loadTexts: flowReaderInfoEntry.setDescription("Information about a particular meter reader.") flowReaderIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowReaderIndex.setDescription("An index which selects an entry in the flowReaderInfoTable.") flowReaderTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 3, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowReaderTimeout.setDescription("Specifies the maximum time (in seconds) between flow data\ncollections for this meter reader. If this time elapses\nwithout a collection, the meter should assume that this meter\nreader has stopped collecting, and delete this row from the\ntable. A value of zero indicates that this row should not be\ntimed out.") flowReaderOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 3, 1, 3), UTF8OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowReaderOwner.setDescription("Identifies the meter reader which created this row.") flowReaderLastTime = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 3, 1, 4), TimeStamp()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowReaderLastTime.setDescription("Time this meter reader began its most recent data collection.\n\nThis variable should be written by a meter reader as its first\nstep in reading flow data. The meter will set this LastTime\nvalue to its current Uptime, and set its PreviousTime value\n(below) to the old LastTime. This allows the meter to\nrecover flows which have been inactive since PreviousTime,\nfor these have been collected at least once.\n\nIf the meter reader fails to write flowLastReadTime, collection\nmay still proceed but the meter may not be able to recover\ninactive flows until the flowReaderTimeout has been reached\nfor this entry.") flowReaderPreviousTime = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 3, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowReaderPreviousTime.setDescription("Time this meter reader began the collection before last.") flowReaderStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 3, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowReaderStatus.setDescription("The status of this FlowReaderInfoEntry. A value of active(1)\nimplies that the associated reader should be collecting data\nfrom the meter. Once this variable has been set to active(1)\na manager may only change this row's flowReaderLastTime and\nflowReaderTimeout variables.") flowReaderRuleSet = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowReaderRuleSet.setDescription("An index to the array of RuleSets. Specifies a set of rules\nof interest to this meter reader. The reader will attempt to\ncollect any data generated by the meter for this RuleSet, and\nthe meter will not recover the memory of any of the RuleSet's\nflows until this collection has taken place. Note that a\nreader may have entries in this table for several RuleSets.") flowManagerInfoTable = MibTable((1, 3, 6, 1, 2, 1, 40, 1, 4)) if mibBuilder.loadTexts: flowManagerInfoTable.setDescription("An array of information about managers which have\nregistered their intent to run RuleSets on this meter.") flowManagerInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 1, 4, 1)).setIndexNames((0, "FLOW-METER-MIB", "flowManagerIndex")) if mibBuilder.loadTexts: flowManagerInfoEntry.setDescription("Information about a particular meter 'task.' By creating\nan entry in this table and activating it, a manager requests\nthat the meter 'run' the indicated RuleSet.\n\nThe entry also specifies a HighWaterMark and a StandbyRuleSet.\nIf the meter's flow table usage exceeds this task's\nHighWaterMark the meter will stop running the task's\nCurrentRuleSet and switch to its StandbyRuleSet.\n\nIf the value of the task's StandbyRuleSet is 0 when its\nHighWaterMark is exceeded, the meter simply stops running the\ntask's CurrentRuleSet. By careful selection of HighWaterMarks\nfor the various tasks a manager can ensure that the most\ncritical RuleSets are the last to stop running as the number\nof flows increases.\n\nWhen a manager has determined that the demand for flow table\nspace has abated, it may cause the task to switch back to its\nCurrentRuleSet by setting its flowManagerRunningStandby\nvariable to false(2).") flowManagerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowManagerIndex.setDescription("An index which selects an entry in the flowManagerInfoTable.") flowManagerCurrentRuleSet = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowManagerCurrentRuleSet.setDescription("Index to the array of RuleSets. Specifies which set of\nrules is the 'current' one for this task. The meter will\nbe 'running' the current RuleSet if this row's\nflowManagerRunningStandby value is false(2).\n\nWhen the manager sets this variable the meter will stop using\nthe task's old current RuleSet and start using the new one.\nSpecifying RuleSet 0 (the empty set) stops flow measurement\nfor this task.") flowManagerStandbyRuleSet = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 3), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowManagerStandbyRuleSet.setDescription("Index to the array of RuleSets. After reaching HighWaterMark\n(see below) the manager will switch to using the task's\nStandbyRuleSet in place of its CurrentRuleSet. For this to be\neffective the designated StandbyRuleSet should have a coarser\nreporting granularity then the CurrentRuleSet. The manager may\nalso need to decrease the meter reading interval so that the\nmeter can recover flows measured by this task's CurrentRuleSet.") flowManagerHighWaterMark = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowManagerHighWaterMark.setDescription("A value expressed as a percentage, interpreted by the meter\nas an indication of how full the flow table should be before\nit should switch to the standby RuleSet (if one has been\nspecified) for this task. Values of 0% or 100% disable the\nchecking represented by this variable.") flowManagerCounterWrap = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("wrap", 1), ("scale", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowManagerCounterWrap.setDescription("Specifies whether PDU and octet counters should wrap when\nthey reach the top of their range (normal behaviour for\nCounter64 objects), or whether their scale factors should\nbe used instead. The combination of counter and scale\nfactor allows counts to be returned as non-negative binary\nfloating point numbers, with 64-bit mantissas and 8-bit\nexponents.") flowManagerOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 6), UTF8OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowManagerOwner.setDescription("Identifies the manager which created this row.") flowManagerTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowManagerTimeStamp.setDescription("Time this row was last changed by its manager.") flowManagerStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowManagerStatus.setDescription("The status of this row in the flowManagerInfoTable. A value\nof active(1) implies that this task may be activated, by\nsetting its CurrentRuleSet and StandbyRuleSet variables.\nIts HighWaterMark and RunningStandby variables may also be\nchanged.") flowManagerRunningStandby = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 1, 4, 1, 9), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: flowManagerRunningStandby.setDescription("Set to true(1) by the meter to indicate that it has switched\nto runnning this task's StandbyRuleSet in place of its\nCurrentRuleSet. To switch back to the CurrentRuleSet, the\nmanager may simply set this variable to false(2).") flowFloodMark = MibScalar((1, 3, 6, 1, 2, 1, 40, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(95)).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowFloodMark.setDescription("A value expressed as a percentage, interpreted by the meter\nas an indication of how full the flow table should be before\nit should take some action to avoid running out of resources\nto handle new flows, as discussed in section 4.6 (Handling\nIncreasing Traffic Levels) of the RTFM Architecture RFC\n[RTFM-ARC].\n\nValues of 0% or 100% disable the checking represented by\nthis variable.") flowInactivityTimeout = MibScalar((1, 3, 6, 1, 2, 1, 40, 1, 6), Integer32().clone(600)).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowInactivityTimeout.setDescription("The time in seconds since the last packet seen, after which\na flow becomes 'idle.' Note that although a flow may be\nidle, it will not be discarded (and its memory recovered)\nuntil after its data has been collected by all the meter\nreaders registered for its RuleSet.") flowActiveFlows = MibScalar((1, 3, 6, 1, 2, 1, 40, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowActiveFlows.setDescription("The number of flows which are currently in use.") flowMaxFlows = MibScalar((1, 3, 6, 1, 2, 1, 40, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowMaxFlows.setDescription("The maximum number of flows allowed in the meter's\nflow table. At present this is determined when the meter\nis first started up.") flowFloodMode = MibScalar((1, 3, 6, 1, 2, 1, 40, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowFloodMode.setDescription("Indicates that the meter has passed its FloodMark and is\nnot running in its normal mode.\n\nWhen the manager notices this it should take action to remedy\nthe problem which caused the flooding. It should then monitor\nflowActiveFlows so as to determine when the flood has receded.\nAt that point the manager may set flowFloodMode to false(2) to\nresume normal operation.") flowData = MibIdentifier((1, 3, 6, 1, 2, 1, 40, 2)) flowDataTable = MibTable((1, 3, 6, 1, 2, 1, 40, 2, 1)) if mibBuilder.loadTexts: flowDataTable.setDescription("The list of all flows being measured.") flowDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 2, 1, 1)).setIndexNames((0, "FLOW-METER-MIB", "flowDataRuleSet"), (0, "FLOW-METER-MIB", "flowDataTimeMark"), (0, "FLOW-METER-MIB", "flowDataIndex")) if mibBuilder.loadTexts: flowDataEntry.setDescription("The flow data record for a particular flow.") flowDataIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowDataIndex.setDescription("Value of this flow data record's index within the meter's\nflow table.") flowDataTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 2), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowDataTimeMark.setDescription("A TimeFilter for this entry. Allows GetNext and GetBulk\nto find flow table rows which have changed since a specified\nvalue of the meter's Uptime.") flowDataStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("current", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataStatus.setDescription("Status of this flow data record.") flowDataSourceInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceInterface.setDescription("Index of the interface associated with the source address\nfor this flow. It's value is one of those contained in the\nifIndex field of the meter's interfaces table.") flowDataSourceAdjacentType = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 5), AdjacentType()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceAdjacentType.setDescription("Adjacent address type of the source for this flow.\n\nIf metering is being performed at the network level,\nAdjacentType will indicate the medium for the interface on\nwhich the flow was observed and AdjacentAddress will be the\nMAC address for that interface. This is the usual case.\n\nIf traffic is being metered inside a tunnel, AdjacentType will\nbe the peer type of the host at the end of the tunnel and\nAdjacentAddress will be the peer address for that host.") flowDataSourceAdjacentAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 6), AdjacentAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceAdjacentAddress.setDescription("Address of the adjacent device on the path for the source\nfor this flow.") flowDataSourceAdjacentMask = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 7), AdjacentAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceAdjacentMask.setDescription("1-bits in this mask indicate which bits must match when\ncomparing the adjacent source address for this flow.") flowDataSourcePeerType = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 8), PeerType()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourcePeerType.setDescription("Peer address type of the source for this flow.") flowDataSourcePeerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 9), PeerAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourcePeerAddress.setDescription("Address of the peer device for the source of this flow.") flowDataSourcePeerMask = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 10), PeerAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourcePeerMask.setDescription("1-bits in this mask indicate which bits must match when\ncomparing the source peer address for this flow.") flowDataSourceTransType = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 11), TransportType()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceTransType.setDescription("Transport address type of the source for this flow. The\nvalue of this attribute will depend on the peer address type.") flowDataSourceTransAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 12), TransportAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceTransAddress.setDescription("Transport address for the source of this flow.") flowDataSourceTransMask = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 13), TransportAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceTransMask.setDescription("1-bits in this mask indicate which bits must match when\ncomparing the transport source address for this flow.") flowDataDestInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestInterface.setDescription("Index of the interface associated with the dest address for\nthis flow. This value is one of the values contained in the\nifIndex field of the interfaces table.") flowDataDestAdjacentType = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 15), AdjacentType()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestAdjacentType.setDescription("Adjacent address type of the destination for this flow.") flowDataDestAdjacentAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 16), AdjacentAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestAdjacentAddress.setDescription("Address of the adjacent device on the path for the\ndestination for this flow.") flowDataDestAdjacentMask = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 17), AdjacentAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestAdjacentMask.setDescription("1-bits in this mask indicate which bits must match when\ncomparing the adjacent destination address for this flow.") flowDataDestPeerType = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 18), PeerType()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestPeerType.setDescription("Peer address type of the destination for this flow.") flowDataDestPeerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 19), PeerAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestPeerAddress.setDescription("Address of the peer device for the destination of this flow.") flowDataDestPeerMask = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 20), PeerAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestPeerMask.setDescription("1-bits in this mask indicate which bits must match when\ncomparing the destination peer type for this flow.") flowDataDestTransType = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 21), TransportType()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestTransType.setDescription("Transport address type of the destination for this flow. The\nvalue of this attribute will depend on the peer address type.") flowDataDestTransAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 22), TransportAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestTransAddress.setDescription("Transport address for the destination of this flow.") flowDataDestTransMask = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 23), TransportAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestTransMask.setDescription("1-bits in this mask indicate which bits must match when\ncomparing the transport destination address for this flow.") flowDataPDUScale = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataPDUScale.setDescription("The scale factor applied to this particular flow. Indicates\nthe number of bits the PDU counter values should be moved left\nto obtain the actual values.") flowDataOctetScale = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataOctetScale.setDescription("The scale factor applied to this particular flow. Indicates\nthe number of bits the octet counter values should be moved\nleft to obtain the actual values.") flowDataRuleSet = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowDataRuleSet.setDescription("The RuleSet number of the RuleSet which created this flow.\nAllows a manager to use GetNext or GetBulk requests to find\nflows belonging to a particular RuleSet.") flowDataToOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataToOctets.setDescription("The count of octets flowing from source to destination\nfor this flow.") flowDataToPDUs = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 28), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataToPDUs.setDescription("The count of packets flowing from source to destination\nfor this flow.") flowDataFromOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 29), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataFromOctets.setDescription("The count of octets flowing from destination to source\nfor this flow.") flowDataFromPDUs = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 30), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataFromPDUs.setDescription("The count of packets flowing from destination to source\nfor this flow.") flowDataFirstTime = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 31), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataFirstTime.setDescription("The time at which this flow was first entered in the table") flowDataLastActiveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 32), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataLastActiveTime.setDescription("The last time this flow had activity, i.e. the time of\narrival of the most recent PDU belonging to this flow.") flowDataSourceSubscriberID = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 33), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceSubscriberID.setDescription("Subscriber ID associated with the source address for this\nflow. A Subscriber ID is an unspecified text string, used\nto ascribe traffic flows to individual users. At this time\nthe means by which a Subscriber ID may be associated with a\nflow is unspecified.") flowDataDestSubscriberID = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 34), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestSubscriberID.setDescription("Subscriber ID associated with the destination address for\nthis flow. A Subscriber ID is an unspecified text string,\nused to ascribe traffic flows to individual users. At this\ntime the means by which a Subscriber ID may be associated\nwith a flow is unspecified.") flowDataSessionID = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 35), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSessionID.setDescription("Session ID for this flow. Such an ID might be allocated\nby a network access server to distinguish a series of sessions\nbetween the same pair of addresses, which would otherwise\nappear to be parts of the same accounting flow.") flowDataSourceClass = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceClass.setDescription("Source class for this flow. Determined by the rules, set by\na PushRule action when this flow was entered in the table.") flowDataDestClass = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestClass.setDescription("Destination class for this flow. Determined by the rules, set\nby a PushRule action when this flow was entered in the table.") flowDataClass = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataClass.setDescription("Class for this flow. Determined by the rules, set by a\nPushRule action when this flow was entered in the table.") flowDataSourceKind = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataSourceKind.setDescription("Source kind for this flow. Determined by the rules, set by\na PushRule action when this flow was entered in the table.") flowDataDestKind = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataDestKind.setDescription("Destination kind for this flow. Determined by the rules, set\nby a PushRule action when this flow was entered in the table.") flowDataKind = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 1, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowDataKind.setDescription("Class for this flow. Determined by the rules, set by a\nPushRule action when this flow was entered in the table.") flowColumnActivityTable = MibTable((1, 3, 6, 1, 2, 1, 40, 2, 2)) if mibBuilder.loadTexts: flowColumnActivityTable.setDescription("Index into the Flow Table. Allows a meter reader to retrieve\na list containing the flow table indexes of flows which were\nlast active at or after a given time, together with the values\nof a specified attribute for each such flow.") flowColumnActivityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 2, 2, 1)).setIndexNames((0, "FLOW-METER-MIB", "flowColumnActivityAttribute"), (0, "FLOW-METER-MIB", "flowColumnActivityTime"), (0, "FLOW-METER-MIB", "flowColumnActivityIndex")) if mibBuilder.loadTexts: flowColumnActivityEntry.setDescription("The Column Activity Entry for a particular attribute,\nactivity time and flow.") flowColumnActivityAttribute = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 2, 1, 1), FlowAttributeNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowColumnActivityAttribute.setDescription("Specifies the attribute for which values are required from\nactive flows.") flowColumnActivityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 2, 1, 2), TimeFilter()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowColumnActivityTime.setDescription("This variable is a copy of flowDataLastActiveTime in the\nflow data record identified by the flowColumnActivityIndex\nvalue of this flowColumnActivityTable entry.") flowColumnActivityIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowColumnActivityIndex.setDescription("Index of a flow table entry which was active at or after\na specified flowColumnActivityTime.") flowColumnActivityData = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(3, 1000))).setMaxAccess("readonly") if mibBuilder.loadTexts: flowColumnActivityData.setDescription("Collection of attribute data for flows active after\nflowColumnActivityTime. Within the OCTET STRING is a\nsequence of { flow index, attribute value } pairs, one for\neach active flow. The end of the sequence is marked by a\nflow index value of 0, indicating that there are no more\nrows in this column.\n\nThe format of objects inside flowColumnFlowData is as follows.\nAll numbers are unsigned. Numbers and strings appear with\ntheir high-order bytes leading. Numbers are fixed size, as\nspecified by their SYNTAX in the flow table (above), i.e. one\noctet for flowAddressType and small constants, and four octets\nfor Counter and TimeStamp. Strings are variable-length, with\nthe length given in a single leading octet.\n\nThe following is an attempt at an ASN.1 definition of\nflowColumnActivityData:\n\nflowColumnActivityData ::= SEQUENCE flowRowItemEntry\nflowRowItemEntry ::= SEQUENCE {\n flowRowNumber Integer32 (1..65535),\n -- 0 indicates the end of this column\n flowDataValue flowDataType -- Choice depends on attribute\n }\nflowDataType ::= CHOICE {\n flowByteValue Integer32 (1..255),\n flowShortValue Integer32 (1..65535),\n flowLongValue Integer32,\n flowStringValue OCTET STRING -- Length (n) in first byte,\n -- n+1 bytes total length, trailing zeroes truncated\n }") flowDataPackageTable = MibTable((1, 3, 6, 1, 2, 1, 40, 2, 3)) if mibBuilder.loadTexts: flowDataPackageTable.setDescription("Index into the Flow Table. Allows a meter reader to retrieve\na sequence containing the values of a specified set of\nattributes for a flow which came from a specified RuleSet and\nwhich was last active at or after a given time.") flowDataPackageEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 2, 3, 1)).setIndexNames((0, "FLOW-METER-MIB", "flowPackageSelector"), (0, "FLOW-METER-MIB", "flowPackageRuleSet"), (0, "FLOW-METER-MIB", "flowPackageTime"), (0, "FLOW-METER-MIB", "flowPackageIndex")) if mibBuilder.loadTexts: flowDataPackageEntry.setDescription("The data package containing selected variables from\nactive rows in the flow table.") flowPackageSelector = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 3, 1, 1), OctetString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowPackageSelector.setDescription("Specifies the attributes for which values are required from\nan active flow. These are encoded as a sequence of octets\neach containing a FlowAttribute number, preceded by an octet\ngiving the length of the sequence (not including the length\noctet). For a flowPackageSelector to be valid, it must\ncontain at least one attribute.") flowPackageRuleSet = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowPackageRuleSet.setDescription("Specifies the index (in the flowRuleSetInfoTable) of the rule\nset which produced the required flow.") flowPackageTime = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 3, 1, 3), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowPackageTime.setDescription("This variable is a copy of flowDataLastActiveTime in the\nflow data record identified by the flowPackageIndex\nvalue of this flowPackageTable entry.") flowPackageIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowPackageIndex.setDescription("Index of a flow table entry which was active at or after\na specified flowPackageTime.") flowPackageData = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 2, 3, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: flowPackageData.setDescription("A collection of attribute values for a single flow, as\nspecified by this row's indexes. The attribute values are\ncontained within a BER-encoded sequence [ASN-1, ASN-BER],\nin the order they appear in their flowPackageSelector.\n\nFor example, to retrieve a flowPackage containing values for\nattributes 11, 18 and 29, for a flow in RuleSet 7, with flow\nindex 3447, one would GET the package whose Object Identifier\n(OID) is\n flowPackageData . 3.11.18.29 . 7. 0 . 3447\n\nTo get a package for the next such flow which had been\nactive since time 12345 one would GETNEXT the package whose\nObject Identifier (OID) is\n flowPackageData . 3.11.18.29 . 7. 12345 . 3447") flowRules = MibIdentifier((1, 3, 6, 1, 2, 1, 40, 3)) flowRuleTable = MibTable((1, 3, 6, 1, 2, 1, 40, 3, 1)) if mibBuilder.loadTexts: flowRuleTable.setDescription("Contains all the RuleSets which may be used by the meter.") flowRuleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 40, 3, 1, 1)).setIndexNames((0, "FLOW-METER-MIB", "flowRuleSet"), (0, "FLOW-METER-MIB", "flowRuleIndex")) if mibBuilder.loadTexts: flowRuleEntry.setDescription("The rule record itself.") flowRuleSet = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowRuleSet.setDescription("Selects a RuleSet from the array of RuleSets.") flowRuleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: flowRuleIndex.setDescription("The index into the Rule table. N.B: These values will\nnormally be consecutive, given the fall-through semantics\nof processing the table.") flowRuleSelector = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 3, 1, 1, 3), RuleAttributeNumber()).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowRuleSelector.setDescription("Indicates the attribute to be matched.\n\nnull(0) is a special case; null rules always succeed.\nmatchingStoD(50) is set by the meter's Packet Matching Engine.\nIts value is true(1) if the PME is attempting to match the\npacket with its addresses in Source-to-Destination order (i.e.\nas they appear in the packet), and false(2) otherwise.\nDetails of how packets are matched are given in the 'Traffic\nFlow Measurement: Architecture' document [RTFM-ARC].\nv1(51), v2(52), v3(53), v4(54) and v5(55) select meter\nvariables, each of which can hold the name (i.e. selector\nvalue) of an address attribute. When one of these is used\nas a selector, its value specifies the attribute to be\ntested. Variable values are set by an Assign action.") flowRuleMask = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 3, 1, 1, 4), RuleAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowRuleMask.setDescription("The initial mask used to compute the desired value. If the\nmask is zero the rule's test will always succeed.") flowRuleMatchedValue = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 3, 1, 1, 5), RuleAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowRuleMatchedValue.setDescription("The resulting value to be matched for equality.\nSpecifically, if the attribute chosen by the flowRuleSelector\nlogically ANDed with the mask specified by the flowRuleMask\nequals the value specified in the flowRuleMatchedValue, then\ncontinue processing the table entry based on the action\nspecified by the flowRuleAction entry. Otherwise, proceed to\nthe next entry in the rule table.") flowRuleAction = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 3, 1, 1, 6), ActionNumber()).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowRuleAction.setDescription("The action to be taken if this rule's test succeeds, or if\nthe meter's 'test' flag is off. Actions are opcodes for the\nmeter's Packet Matching Engine; details are given in the\n'Traffic Flow Measurement: Architecture' document [RTFM-ARC].") flowRuleParameter = MibTableColumn((1, 3, 6, 1, 2, 1, 40, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: flowRuleParameter.setDescription("A parameter value providing extra information for this rule's\naction. Most of the actions use the parameter value to specify\nwhich rule to execute after this rule's test has failed; details\nare given in the 'Traffic Flow Measurement: Architecture'\ndocument [RTFM-ARC].") flowMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 40, 4)) flowMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 40, 4, 1)) flowMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 40, 4, 2)) # Augmentions # Groups flowControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 1)).setObjects(*(("FLOW-METER-MIB", "flowFloodMark"), ("FLOW-METER-MIB", "flowManagerOwner"), ("FLOW-METER-MIB", "flowActiveFlows"), ("FLOW-METER-MIB", "flowReaderOwner"), ("FLOW-METER-MIB", "flowManagerStatus"), ("FLOW-METER-MIB", "flowManagerCounterWrap"), ("FLOW-METER-MIB", "flowRuleInfoFlowRecords"), ("FLOW-METER-MIB", "flowInactivityTimeout"), ("FLOW-METER-MIB", "flowMaxFlows"), ("FLOW-METER-MIB", "flowFloodMode"), ("FLOW-METER-MIB", "flowManagerTimeStamp"), ("FLOW-METER-MIB", "flowInterfaceSampleRate"), ("FLOW-METER-MIB", "flowManagerRunningStandby"), ("FLOW-METER-MIB", "flowManagerHighWaterMark"), ("FLOW-METER-MIB", "flowRuleInfoTimeStamp"), ("FLOW-METER-MIB", "flowReaderLastTime"), ("FLOW-METER-MIB", "flowRuleInfoName"), ("FLOW-METER-MIB", "flowRuleInfoOwner"), ("FLOW-METER-MIB", "flowReaderTimeout"), ("FLOW-METER-MIB", "flowReaderStatus"), ("FLOW-METER-MIB", "flowReaderRuleSet"), ("FLOW-METER-MIB", "flowReaderPreviousTime"), ("FLOW-METER-MIB", "flowRuleInfoRulesReady"), ("FLOW-METER-MIB", "flowInterfaceLostPackets"), ("FLOW-METER-MIB", "flowManagerCurrentRuleSet"), ("FLOW-METER-MIB", "flowRuleInfoStatus"), ("FLOW-METER-MIB", "flowManagerStandbyRuleSet"), ("FLOW-METER-MIB", "flowRuleInfoSize"), ) ) if mibBuilder.loadTexts: flowControlGroup.setDescription("The control group defines objects which are used to control\nan accounting meter.") flowDataTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 2)).setObjects(*(("FLOW-METER-MIB", "flowDataDestPeerType"), ("FLOW-METER-MIB", "flowDataSourceAdjacentAddress"), ("FLOW-METER-MIB", "flowDataDestPeerMask"), ("FLOW-METER-MIB", "flowDataToPDUs"), ("FLOW-METER-MIB", "flowDataSourceClass"), ("FLOW-METER-MIB", "flowDataDestTransType"), ("FLOW-METER-MIB", "flowDataSourceTransMask"), ("FLOW-METER-MIB", "flowDataKind"), ("FLOW-METER-MIB", "flowDataSourcePeerType"), ("FLOW-METER-MIB", "flowDataSourceTransAddress"), ("FLOW-METER-MIB", "flowDataSourcePeerMask"), ("FLOW-METER-MIB", "flowDataDestKind"), ("FLOW-METER-MIB", "flowDataSourceAdjacentMask"), ("FLOW-METER-MIB", "flowDataSourceTransType"), ("FLOW-METER-MIB", "flowDataSourceAdjacentType"), ("FLOW-METER-MIB", "flowDataDestInterface"), ("FLOW-METER-MIB", "flowDataDestPeerAddress"), ("FLOW-METER-MIB", "flowDataDestClass"), ("FLOW-METER-MIB", "flowDataSourceKind"), ("FLOW-METER-MIB", "flowDataSourceInterface"), ("FLOW-METER-MIB", "flowDataStatus"), ("FLOW-METER-MIB", "flowDataDestTransMask"), ("FLOW-METER-MIB", "flowDataDestAdjacentMask"), ("FLOW-METER-MIB", "flowDataDestTransAddress"), ("FLOW-METER-MIB", "flowDataDestAdjacentType"), ("FLOW-METER-MIB", "flowDataSourcePeerAddress"), ("FLOW-METER-MIB", "flowDataClass"), ("FLOW-METER-MIB", "flowDataFromPDUs"), ("FLOW-METER-MIB", "flowDataDestAdjacentAddress"), ("FLOW-METER-MIB", "flowDataFromOctets"), ("FLOW-METER-MIB", "flowDataLastActiveTime"), ("FLOW-METER-MIB", "flowDataFirstTime"), ("FLOW-METER-MIB", "flowDataToOctets"), ) ) if mibBuilder.loadTexts: flowDataTableGroup.setDescription("The flow table group defines objects which provide the\nstructure for the flow table, including the creation time\nand activity time indexes into it. In addition it defines\nobjects which provide a base set of flow attributes for the\nadjacent, peer and transport layers, together with a flow's\ncounters and times. Finally it defines a flow's class and\nkind attributes, which are set by rule actions.") flowDataScaleGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 3)).setObjects(*(("FLOW-METER-MIB", "flowDataPDUScale"), ("FLOW-METER-MIB", "flowDataOctetScale"), ("FLOW-METER-MIB", "flowManagerCounterWrap"), ) ) if mibBuilder.loadTexts: flowDataScaleGroup.setDescription("The flow scale group defines objects which specify scale\nfactors for counters.") flowDataSubscriberGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 4)).setObjects(*(("FLOW-METER-MIB", "flowDataSourceSubscriberID"), ("FLOW-METER-MIB", "flowDataSessionID"), ("FLOW-METER-MIB", "flowDataDestSubscriberID"), ) ) if mibBuilder.loadTexts: flowDataSubscriberGroup.setDescription("The flow subscriber group defines objects which may be used\nto identify the end point(s) of a flow.") flowDataColumnTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 5)).setObjects(*(("FLOW-METER-MIB", "flowColumnActivityIndex"), ("FLOW-METER-MIB", "flowColumnActivityTime"), ("FLOW-METER-MIB", "flowColumnActivityData"), ("FLOW-METER-MIB", "flowColumnActivityAttribute"), ) ) if mibBuilder.loadTexts: flowDataColumnTableGroup.setDescription("The flow column table group defines objects which can be used\nto collect part of a column of attribute values from the flow\ntable.") flowDataPackageGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 6)).setObjects(*(("FLOW-METER-MIB", "flowPackageData"), ) ) if mibBuilder.loadTexts: flowDataPackageGroup.setDescription("The data package group defines objects which can be used\nto collect a specified set of attribute values from a row of\nthe flow table.") flowRuleTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 7)).setObjects(*(("FLOW-METER-MIB", "flowRuleSelector"), ("FLOW-METER-MIB", "flowRuleAction"), ("FLOW-METER-MIB", "flowRuleParameter"), ("FLOW-METER-MIB", "flowRuleMask"), ("FLOW-METER-MIB", "flowRuleMatchedValue"), ) ) if mibBuilder.loadTexts: flowRuleTableGroup.setDescription("The rule table group defines objects which hold the set(s)\nof rules specifying which traffic flows are to be accounted\nfor.") flowDataScaleGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 8)).setObjects(*(("FLOW-METER-MIB", "flowDataPDUScale"), ("FLOW-METER-MIB", "flowDataOctetScale"), ) ) if mibBuilder.loadTexts: flowDataScaleGroup2.setDescription("The flow scale group defines objects which specify scale\nfactors for counters. This group replaces the earlier\nversion of flowDataScaleGroup above (now deprecated).") flowControlGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 40, 4, 2, 9)).setObjects(*(("FLOW-METER-MIB", "flowFloodMark"), ("FLOW-METER-MIB", "flowManagerOwner"), ("FLOW-METER-MIB", "flowActiveFlows"), ("FLOW-METER-MIB", "flowReaderOwner"), ("FLOW-METER-MIB", "flowManagerStatus"), ("FLOW-METER-MIB", "flowMaxFlows"), ("FLOW-METER-MIB", "flowRuleInfoFlowRecords"), ("FLOW-METER-MIB", "flowInactivityTimeout"), ("FLOW-METER-MIB", "flowFloodMode"), ("FLOW-METER-MIB", "flowManagerTimeStamp"), ("FLOW-METER-MIB", "flowInterfaceSampleRate"), ("FLOW-METER-MIB", "flowManagerRunningStandby"), ("FLOW-METER-MIB", "flowManagerHighWaterMark"), ("FLOW-METER-MIB", "flowRuleInfoTimeStamp"), ("FLOW-METER-MIB", "flowReaderLastTime"), ("FLOW-METER-MIB", "flowRuleInfoName"), ("FLOW-METER-MIB", "flowRuleInfoOwner"), ("FLOW-METER-MIB", "flowReaderTimeout"), ("FLOW-METER-MIB", "flowReaderStatus"), ("FLOW-METER-MIB", "flowReaderRuleSet"), ("FLOW-METER-MIB", "flowReaderPreviousTime"), ("FLOW-METER-MIB", "flowInterfaceLostPackets"), ("FLOW-METER-MIB", "flowManagerCurrentRuleSet"), ("FLOW-METER-MIB", "flowRuleInfoStatus"), ("FLOW-METER-MIB", "flowManagerStandbyRuleSet"), ("FLOW-METER-MIB", "flowRuleInfoSize"), ) ) if mibBuilder.loadTexts: flowControlGroup2.setDescription("The control group defines objects which are used to control\nan accounting meter. It replaces the earlier version of\nflowControlGroup above (now deprecated).") # Compliances flowMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 40, 4, 1, 1)).setObjects(*(("FLOW-METER-MIB", "flowRuleTableGroup"), ("FLOW-METER-MIB", "flowDataTableGroup"), ("FLOW-METER-MIB", "flowDataPackageGroup"), ("FLOW-METER-MIB", "flowControlGroup2"), ) ) if mibBuilder.loadTexts: flowMIBCompliance.setDescription("The compliance statement for a Traffic Flow Meter.") # Exports # Module identity mibBuilder.exportSymbols("FLOW-METER-MIB", PYSNMP_MODULE_ID=flowMIB) # Types mibBuilder.exportSymbols("FLOW-METER-MIB", ActionNumber=ActionNumber, AdjacentAddress=AdjacentAddress, AdjacentType=AdjacentType, FlowAttributeNumber=FlowAttributeNumber, PeerAddress=PeerAddress, PeerType=PeerType, RuleAddress=RuleAddress, RuleAttributeNumber=RuleAttributeNumber, TransportAddress=TransportAddress, TransportType=TransportType, UTF8OwnerString=UTF8OwnerString) # Objects mibBuilder.exportSymbols("FLOW-METER-MIB", flowMIB=flowMIB, flowControl=flowControl, flowRuleSetInfoTable=flowRuleSetInfoTable, flowRuleSetInfoEntry=flowRuleSetInfoEntry, flowRuleInfoIndex=flowRuleInfoIndex, flowRuleInfoSize=flowRuleInfoSize, flowRuleInfoOwner=flowRuleInfoOwner, flowRuleInfoTimeStamp=flowRuleInfoTimeStamp, flowRuleInfoStatus=flowRuleInfoStatus, flowRuleInfoName=flowRuleInfoName, flowRuleInfoRulesReady=flowRuleInfoRulesReady, flowRuleInfoFlowRecords=flowRuleInfoFlowRecords, flowInterfaceTable=flowInterfaceTable, flowInterfaceEntry=flowInterfaceEntry, flowInterfaceSampleRate=flowInterfaceSampleRate, flowInterfaceLostPackets=flowInterfaceLostPackets, flowReaderInfoTable=flowReaderInfoTable, flowReaderInfoEntry=flowReaderInfoEntry, flowReaderIndex=flowReaderIndex, flowReaderTimeout=flowReaderTimeout, flowReaderOwner=flowReaderOwner, flowReaderLastTime=flowReaderLastTime, flowReaderPreviousTime=flowReaderPreviousTime, flowReaderStatus=flowReaderStatus, flowReaderRuleSet=flowReaderRuleSet, flowManagerInfoTable=flowManagerInfoTable, flowManagerInfoEntry=flowManagerInfoEntry, flowManagerIndex=flowManagerIndex, flowManagerCurrentRuleSet=flowManagerCurrentRuleSet, flowManagerStandbyRuleSet=flowManagerStandbyRuleSet, flowManagerHighWaterMark=flowManagerHighWaterMark, flowManagerCounterWrap=flowManagerCounterWrap, flowManagerOwner=flowManagerOwner, flowManagerTimeStamp=flowManagerTimeStamp, flowManagerStatus=flowManagerStatus, flowManagerRunningStandby=flowManagerRunningStandby, flowFloodMark=flowFloodMark, flowInactivityTimeout=flowInactivityTimeout, flowActiveFlows=flowActiveFlows, flowMaxFlows=flowMaxFlows, flowFloodMode=flowFloodMode, flowData=flowData, flowDataTable=flowDataTable, flowDataEntry=flowDataEntry, flowDataIndex=flowDataIndex, flowDataTimeMark=flowDataTimeMark, flowDataStatus=flowDataStatus, flowDataSourceInterface=flowDataSourceInterface, flowDataSourceAdjacentType=flowDataSourceAdjacentType, flowDataSourceAdjacentAddress=flowDataSourceAdjacentAddress, flowDataSourceAdjacentMask=flowDataSourceAdjacentMask, flowDataSourcePeerType=flowDataSourcePeerType, flowDataSourcePeerAddress=flowDataSourcePeerAddress, flowDataSourcePeerMask=flowDataSourcePeerMask, flowDataSourceTransType=flowDataSourceTransType, flowDataSourceTransAddress=flowDataSourceTransAddress, flowDataSourceTransMask=flowDataSourceTransMask, flowDataDestInterface=flowDataDestInterface, flowDataDestAdjacentType=flowDataDestAdjacentType, flowDataDestAdjacentAddress=flowDataDestAdjacentAddress, flowDataDestAdjacentMask=flowDataDestAdjacentMask, flowDataDestPeerType=flowDataDestPeerType, flowDataDestPeerAddress=flowDataDestPeerAddress, flowDataDestPeerMask=flowDataDestPeerMask, flowDataDestTransType=flowDataDestTransType, flowDataDestTransAddress=flowDataDestTransAddress, flowDataDestTransMask=flowDataDestTransMask, flowDataPDUScale=flowDataPDUScale, flowDataOctetScale=flowDataOctetScale, flowDataRuleSet=flowDataRuleSet, flowDataToOctets=flowDataToOctets, flowDataToPDUs=flowDataToPDUs, flowDataFromOctets=flowDataFromOctets, flowDataFromPDUs=flowDataFromPDUs, flowDataFirstTime=flowDataFirstTime, flowDataLastActiveTime=flowDataLastActiveTime, flowDataSourceSubscriberID=flowDataSourceSubscriberID, flowDataDestSubscriberID=flowDataDestSubscriberID, flowDataSessionID=flowDataSessionID, flowDataSourceClass=flowDataSourceClass, flowDataDestClass=flowDataDestClass, flowDataClass=flowDataClass, flowDataSourceKind=flowDataSourceKind, flowDataDestKind=flowDataDestKind, flowDataKind=flowDataKind, flowColumnActivityTable=flowColumnActivityTable, flowColumnActivityEntry=flowColumnActivityEntry, flowColumnActivityAttribute=flowColumnActivityAttribute, flowColumnActivityTime=flowColumnActivityTime, flowColumnActivityIndex=flowColumnActivityIndex, flowColumnActivityData=flowColumnActivityData, flowDataPackageTable=flowDataPackageTable, flowDataPackageEntry=flowDataPackageEntry, flowPackageSelector=flowPackageSelector, flowPackageRuleSet=flowPackageRuleSet, flowPackageTime=flowPackageTime, flowPackageIndex=flowPackageIndex, flowPackageData=flowPackageData, flowRules=flowRules, flowRuleTable=flowRuleTable, flowRuleEntry=flowRuleEntry, flowRuleSet=flowRuleSet, flowRuleIndex=flowRuleIndex, flowRuleSelector=flowRuleSelector, flowRuleMask=flowRuleMask, flowRuleMatchedValue=flowRuleMatchedValue, flowRuleAction=flowRuleAction, flowRuleParameter=flowRuleParameter, flowMIBConformance=flowMIBConformance, flowMIBCompliances=flowMIBCompliances, flowMIBGroups=flowMIBGroups) # Groups mibBuilder.exportSymbols("FLOW-METER-MIB", flowControlGroup=flowControlGroup, flowDataTableGroup=flowDataTableGroup, flowDataScaleGroup=flowDataScaleGroup, flowDataSubscriberGroup=flowDataSubscriberGroup, flowDataColumnTableGroup=flowDataColumnTableGroup, flowDataPackageGroup=flowDataPackageGroup, flowRuleTableGroup=flowRuleTableGroup, flowDataScaleGroup2=flowDataScaleGroup2, flowControlGroup2=flowControlGroup2) # Compliances mibBuilder.exportSymbols("FLOW-METER-MIB", flowMIBCompliance=flowMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOT12-IF-MIB.py0000644000014400001440000006117311736645136020532 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOT12-IF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:53 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") # Objects dot12MIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 45)).setRevisions(("1996-02-22 04:52",)) if mibBuilder.loadTexts: dot12MIB.setOrganization("IETF 100VG-AnyLAN MIB Working Group") if mibBuilder.loadTexts: dot12MIB.setContactInfo(" John Flick\n\nPostal: Hewlett Packard Company\n 8000 Foothills Blvd. M/S 5556\n Roseville, CA 95747-5556\nTel: +1 916 785 4018\nFax: +1 916 785 3583\n\nE-mail: johnf@hprnd.rose.hp.com") if mibBuilder.loadTexts: dot12MIB.setDescription("This MIB module describes objects for\nmanaging IEEE 802.12 interfaces.") dot12MIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 45, 1)) dot12ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 45, 1, 1)) if mibBuilder.loadTexts: dot12ConfigTable.setDescription("Configuration information for a collection of\n802.12 interfaces attached to a particular\nsystem.") dot12ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot12ConfigEntry.setDescription("Configuration for a particular interface to an\n802.12 medium.") dot12CurrentFramingType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ("frameTypeUnknown", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12CurrentFramingType.setDescription("When dot12DesiredFramingType is one of\n'frameType88023' or 'frameType88025', this is the\ntype of framing asserted by the interface.\n\nWhen dot12DesiredFramingType is 'frameTypeEither',\ndot12CurrentFramingType shall be one of\n'frameType88023' or 'frameType88025' when the\ndot12Status is 'opened'. When the dot12Status is\nanything other than 'opened',\ndot12CurrentFramingType shall take the value of\n'frameTypeUnknown'.") dot12DesiredFramingType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ("frameTypeEither", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot12DesiredFramingType.setDescription("The type of framing which will be requested by\nthe interface during the next interface MAC\ninitialization or open action.\n\nIn master mode, this is the framing mode which\nwill be granted by the interface. Note that\nfor a master mode interface, this object must be\nequal to 'frameType88023' or 'frameType88025',\nsince a master mode interface cannot grant\n'frameTypeEither'.") dot12FramingCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ("frameTypeEither", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12FramingCapability.setDescription("The type of framing this interface is capable of\nsupporting.") dot12DesiredPromiscStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("singleAddressMode", 1), ("promiscuousMode", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot12DesiredPromiscStatus.setDescription("This object is used to select the promiscuous\nmode that this interface will request in the next\ntraining packet issued on this interface.\nWhether the repeater grants the requested mode\nmust be verified by examining the state of the PP\nbits in the corresponding instance of\ndot12LastTrainingConfig.\nIn master mode, this object controls whether or\nnot promiscuous mode will be granted by the\ninterface when requested by the lower level\ndevice.\n\nNote that this object indicates the desired mode\nfor the next time the interface trains. The\ncurrently active mode will be reflected in\ndot12LastTrainingConfig and in ifPromiscuousMode.") dot12TrainingVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12TrainingVersion.setDescription("The value that will be used in the version bits\n(vvv bits) in training frames on this interface.\nThis is the highest version number supported by\nthis MAC.") dot12LastTrainingConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12LastTrainingConfig.setDescription("This 16 bit field contains the configuration\nbits from the most recent error-free training\nframe received during training on this interface.\nTraining request frames are received when in\nmaster mode, while training response frames are\nreceived in slave mode. On master mode interfaces,\nthis object contains the contents of the\nrequested configuration field of the most recent\ntraining request frame. On slave mode interfaces,\nthis object contains the contents of the allowed\nconfiguration field of the most recent training\nresponse frame. The format of the current version\nof this field is described in section 3.8. Please\nrefer to the most recent version of the IEEE\n802.12 standard for the most up-to-date definition\nof the format of this object.") dot12Commands = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("noOp", 1), ("open", 2), ("reset", 3), ("close", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot12Commands.setDescription("If the current value of dot12Status is 'closed',\nsetting the value of this object to 'open' will\nchange the corresponding instance of MIB-II's\nifAdminStatus to 'up', cause this interface to\nenter the 'opening' state, and will cause training\nto be initiated on this interface. The progress\nand success of the open is given by the values of\nthe dot12Status object. Setting this object to\n'open' when dot12Status has a value other than\n'closed' has no effect.\n\nSetting the corresponding instance of ifAdminStatus\nto 'up' when the current value of dot12Status is\n'closed' will have the same effect as setting this\nobject to 'open'. Setting ifAdminStatus to 'up'\nwhen dot12Status has a value other than 'closed'\nhas no effect.\n\nSetting the value of this object to 'close' will\nmove this interface into the 'closed' state and\ncause all transmit and receive actions to stop.\nThis object will then have to be set to 'open' in\norder to reinitiate training.\n\nSetting the corresponding instance of ifAdminStatus\nto 'down' will have the same effect as setting this\nobject to 'close'.\n\nSetting the value of this object to 'reset' when\nthe current value of dot12Status has a value other\nthan 'closed' will reset the interface. On a\nreset, all MIB counters should retain their values.\nThis will cause the MAC to initiate an\nacInitializeMAC action as specified in IEEE 802.12.\nThis will cause training to be reinitiated on this\ninterface. Setting this object to 'reset' when\ndot12Status has a value of 'closed' has no effect.\nSetting this object to 'reset' has no effect on the\ncorresponding instance of ifAdminStatus.\n\nSetting the value of this object to 'noOp' has no\neffect.\n\nWhen read, this object will always have a value\nof 'noOp'.") dot12Status = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,6,5,2,)).subtype(namedValues=NamedValues(("opened", 1), ("closed", 2), ("opening", 3), ("openFailure", 5), ("linkFailure", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12Status.setDescription("The current interface status with respect to\ntraining. One of the following values:\n\n opened - Training has completed\n successfully.\n closed - MAC has been disabled by\n setting dot12Commands to\n 'close'.\n opening - MAC is in training. Training\n signals have been received.\n openFailure - Passed 24 error-free packets,\n but there is a problem, noted\n in the training configuration\n bits (dot12LastTrainingConfig).\n linkFailure - Training signals not received,\n or could not pass 24 error-free\n packets.\nWhenever the dot12Commands object is set to\n'close' or ifAdminStatus is set to 'down', the MAC\nwill go silent, dot12Status will be 'closed', and\nifOperStatus will be 'down'.\n\nWhen the value of this object is equal to 'closed'\nand the dot12Commands object is set to 'open' or\nthe ifAdminStatus object is set to 'up', training\nwill be initiated on this interface. When the\nvalue of this object is not equal to 'closed' and\nthe dot12Commands object is set to 'reset',\ntraining will be reinitiated on this interface.\nNote that sets of some other objects (e.g.\ndot12ControlMode) or external events (e.g. MAC\nprotocol violations) may also cause training to be\nreinitiated on this interface.\n\nWhen training is initiated or reinitiated on an\ninterface, the end node will send Training_Up to\nthe master and initially go to the 'linkFailure'\nstate and ifOperStatus will go to 'down'.\nWhen the master sends back Training_Down,\ndot12Status will change to the 'opening' state,\nand training packets will be transferred.\n\nAfter all of the training packets have been\npassed, dot12Status will change to 'linkFailure'\nif 24 consecutive error-free packets were not\npassed, 'opened' if 24 consecutive error-free\npackets were passed and the training\nconfiguration bits were OK, or 'openFailure' if\nthere were 24 consecutive error-free packets, but\nthere was a problem with the training\nconfiguration bits.\n\nWhen in the 'openFailure' state, the\ndot12LastTrainingConfig object will contain the\nconfiguration bits from the last training\npacket which can be examined to determine the\nexact reason for the training configuration\nfailure.\n\nIf training did not succeed (dot12Status is\n'linkFailure' or 'openFailure), the entire\nprocess will be restarted after\nMAC_Retraining_Delay_Timer seconds.\n\nIf training does succeed (dot12Status changes to\n'opened'), ifOperStatus will change to 'up'. If\ntraining does not succeed (dot12Status changes to\n'linkFailure' or 'openFailure'), ifOperStatus will\nremain 'down'.") dot12ControlMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("masterMode", 1), ("slaveMode", 2), ("learn", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot12ControlMode.setDescription("This object is used to configure and report\nwhether or not this interface is operating in\nmaster mode. In a Demand Priority network, end\nnode interfaces typically operate in slave mode,\nwhile switch interfaces may control the Demand\nPriority protocol and operate in master mode.\n\nThis object may be implemented as a read-only\nobject by those agents and interfaces that do not\nimplement software control of master mode. In\nparticular, interfaces that cannot operate in\nmaster mode, and interfaces on which master mode\nis controlled by a pushbutton on the device,\nshould implement this object read-only.\n\nSome interfaces do not require network management\nconfiguration of this feature and can autosense\nwhether to use master mode or slave mode. The\nvalue 'learn' is used for that purpose. While\nautosense is taking place, the value 'learn' is\nreturned.\n\nA network management operation which modifies the\nvalue of dot12ControlMode causes the interface\nto retrain.") dot12StatTable = MibTable((1, 3, 6, 1, 2, 1, 10, 45, 1, 2)) if mibBuilder.loadTexts: dot12StatTable.setDescription("Statistics for a collection of 802.12 interfaces\nattached to a particular system.") dot12StatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot12StatEntry.setDescription("Statistics for a particular interface to an\n802.12 medium. The receive statistics in this\ntable apply only to packets received by this\nstation (i.e., packets whose destination address\nis either the local station address, the\nbroadcast address, or a multicast address that\nthis station is receiving, unless the station is\nin promiscuous mode).") dot12InHighPriorityFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InHighPriorityFrames.setDescription("This object is a count of high priority frames\nthat have been received on this interface.\nIncludes both good and bad high priority frames,\nas well as high priority training frames. Does\nnot include normal priority frames which were\npriority promoted.") dot12InHighPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InHighPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in high priority frames that have been\nreceived on this interface. This counter is\nincremented by OctetCount for each frame received\non this interface which is counted by\ndot12InHighPriorityFrames.\n\nNote that this counter will roll over very\nquickly. It is provided for backward\ncompatibility for Network Management protocols\nthat do not support 64 bit counters (e.g. SNMP\nversion 1).") dot12InNormPriorityFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InNormPriorityFrames.setDescription("This object is a count of normal priority frames\nthat have been received on this interface.\nIncludes both good and bad normal priority\nframes, as well as normal priority training\nframes and normal priority frames which were\npriority promoted.") dot12InNormPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InNormPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in normal priority frames that have\nbeen received on this interface. This counter is\nincremented by OctetCount for each frame received\non this interface which is counted by\ndot12InNormPriorityFrames.\n\nNote that this counter will roll over very\nquickly. It is provided for backward\ncompatibility for Network Management protocols\nthat do not support 64 bit counters (e.g. SNMP\nversion 1).") dot12InIPMErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InIPMErrors.setDescription("This object is a count of the number of frames\nthat have been received on this interface with an\ninvalid packet marker and no PMI errors. A\nrepeater will write an invalid packet marker to\nthe end of a frame containing errors as it is\nforwarded through the repeater to the other\nports. This counter is incremented by one for\neach frame received on this interface which has\nhad an invalid packet marker added to the end of\nthe frame.") dot12InOversizeFrameErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InOversizeFrameErrors.setDescription("This object is a count of oversize frames\nreceived on this interface. This counter is\nincremented by one for each frame received on\nthis interface whose OctetCount is larger than\nthe maximum legal frame size. The frame size\nwhich causes this counter to increment is\ndependent on the current framing type.") dot12InDataErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InDataErrors.setDescription("This object is a count of errored frames\nreceived on this interface. This counter is\nincremented by one for each frame received on\nthis interface with any of the following errors:\nbad FCS (with no IPM), PMI errors (excluding\nframes with an IPM as the only PMI error),\nundersize, bad start of frame delimiter, or bad\nend of packet marker. Does not include frames\ncounted by dot12InIPMErrors,\ndot12InNullAddressedFrames, or\ndot12InOversizeFrameErrors.\n\nThis counter indicates problems with the cable\ndirectly attached to this interface, while\ndot12InIPMErrors indicates problems with remote\ncables.") dot12InNullAddressedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12InNullAddressedFrames.setDescription("This object is a count of null addressed frames\nreceived on this interface. This counter is\nincremented by one for each frame received on\nthis interface with a destination MAC address\nconsisting of all zero bits. Both void and\ntraining frames are included in this counter.\n\nNote that since this station would normally not\nreceive null addressed frames, this counter is\nonly incremented when this station is operating\nin promiscuous mode or in training.") dot12OutHighPriorityFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12OutHighPriorityFrames.setDescription("This counter is incremented by one for each high\npriority frame successfully transmitted out this\ninterface.") dot12OutHighPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12OutHighPriorityOctets.setDescription("This counter is incremented by OctetCount for\neach frame counted by dot12OutHighPriorityFrames.\n\nNote that this counter will roll over very\nquickly. It is provided for backward\ncompatibility for Network Management protocols\nthat do not support 64 bit counters (e.g. SNMP\nversion 1).") dot12TransitionIntoTrainings = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12TransitionIntoTrainings.setDescription("This object is a count of the number of times\nthis interface has entered the training state.\nThis counter is incremented by one each time\ndot12Status transitions to 'linkFailure' from any\nstate other than 'opening' or 'openFailure'.") dot12HCInHighPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12HCInHighPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in high priority frames that have been\nreceived on this interface. This counter is\nincremented by OctetCount for each frame received\non this interface which is counted by\ndot12InHighPriorityFrames.\n\nThis counter is a 64 bit version of\ndot12InHighPriorityOctets. It should be used by\nNetwork Management protocols which support 64 bit\ncounters (e.g. SNMPv2).") dot12HCInNormPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12HCInNormPriorityOctets.setDescription("This object is a count of the number of octets\ncontained in normal priority frames that have\nbeen received on this interface. This counter is\nincremented by OctetCount for each frame received\non this interface which is counted by\ndot12InNormPriorityFrames.\n\nThis counter is a 64 bit version of\ndot12InNormPriorityOctets. It should be used by\nNetwork Management protocols which support 64 bit\ncounters (e.g. SNMPv2).") dot12HCOutHighPriorityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 45, 1, 2, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12HCOutHighPriorityOctets.setDescription("This counter is incremented by OctetCount for\neach frame counted by dot12OutHighPriorityFrames.\n\nThis counter is a 64 bit version of\ndot12OutHighPriorityOctets. It should be used by\nNetwork Management protocols which support 64 bit\ncounters (e.g. SNMPv2).") dot12Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 45, 2)) dot12Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 45, 2, 1)) dot12Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 45, 2, 2)) # Augmentions # Groups dot12ConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 45, 2, 2, 1)).setObjects(*(("DOT12-IF-MIB", "dot12Status"), ("DOT12-IF-MIB", "dot12FramingCapability"), ("DOT12-IF-MIB", "dot12DesiredFramingType"), ("DOT12-IF-MIB", "dot12CurrentFramingType"), ("DOT12-IF-MIB", "dot12ControlMode"), ("DOT12-IF-MIB", "dot12Commands"), ("DOT12-IF-MIB", "dot12DesiredPromiscStatus"), ("DOT12-IF-MIB", "dot12TrainingVersion"), ("DOT12-IF-MIB", "dot12LastTrainingConfig"), ) ) if mibBuilder.loadTexts: dot12ConfigGroup.setDescription("A collection of objects for managing the status\nand configuration of IEEE 802.12 interfaces.") dot12StatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 45, 2, 2, 2)).setObjects(*(("DOT12-IF-MIB", "dot12HCInHighPriorityOctets"), ("DOT12-IF-MIB", "dot12InOversizeFrameErrors"), ("DOT12-IF-MIB", "dot12InHighPriorityOctets"), ("DOT12-IF-MIB", "dot12OutHighPriorityOctets"), ("DOT12-IF-MIB", "dot12InNullAddressedFrames"), ("DOT12-IF-MIB", "dot12HCInNormPriorityOctets"), ("DOT12-IF-MIB", "dot12OutHighPriorityFrames"), ("DOT12-IF-MIB", "dot12InDataErrors"), ("DOT12-IF-MIB", "dot12InIPMErrors"), ("DOT12-IF-MIB", "dot12HCOutHighPriorityOctets"), ("DOT12-IF-MIB", "dot12InNormPriorityFrames"), ("DOT12-IF-MIB", "dot12TransitionIntoTrainings"), ("DOT12-IF-MIB", "dot12InHighPriorityFrames"), ("DOT12-IF-MIB", "dot12InNormPriorityOctets"), ) ) if mibBuilder.loadTexts: dot12StatsGroup.setDescription("A collection of objects providing statistics for\nIEEE 802.12 interfaces.") # Compliances dot12Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 45, 2, 1, 1)).setObjects(*(("DOT12-IF-MIB", "dot12StatsGroup"), ("DOT12-IF-MIB", "dot12ConfigGroup"), ) ) if mibBuilder.loadTexts: dot12Compliance.setDescription("The compliance statement for managed network\nentities that have 802.12 interfaces.") # Exports # Module identity mibBuilder.exportSymbols("DOT12-IF-MIB", PYSNMP_MODULE_ID=dot12MIB) # Objects mibBuilder.exportSymbols("DOT12-IF-MIB", dot12MIB=dot12MIB, dot12MIBObjects=dot12MIBObjects, dot12ConfigTable=dot12ConfigTable, dot12ConfigEntry=dot12ConfigEntry, dot12CurrentFramingType=dot12CurrentFramingType, dot12DesiredFramingType=dot12DesiredFramingType, dot12FramingCapability=dot12FramingCapability, dot12DesiredPromiscStatus=dot12DesiredPromiscStatus, dot12TrainingVersion=dot12TrainingVersion, dot12LastTrainingConfig=dot12LastTrainingConfig, dot12Commands=dot12Commands, dot12Status=dot12Status, dot12ControlMode=dot12ControlMode, dot12StatTable=dot12StatTable, dot12StatEntry=dot12StatEntry, dot12InHighPriorityFrames=dot12InHighPriorityFrames, dot12InHighPriorityOctets=dot12InHighPriorityOctets, dot12InNormPriorityFrames=dot12InNormPriorityFrames, dot12InNormPriorityOctets=dot12InNormPriorityOctets, dot12InIPMErrors=dot12InIPMErrors, dot12InOversizeFrameErrors=dot12InOversizeFrameErrors, dot12InDataErrors=dot12InDataErrors, dot12InNullAddressedFrames=dot12InNullAddressedFrames, dot12OutHighPriorityFrames=dot12OutHighPriorityFrames, dot12OutHighPriorityOctets=dot12OutHighPriorityOctets, dot12TransitionIntoTrainings=dot12TransitionIntoTrainings, dot12HCInHighPriorityOctets=dot12HCInHighPriorityOctets, dot12HCInNormPriorityOctets=dot12HCInNormPriorityOctets, dot12HCOutHighPriorityOctets=dot12HCOutHighPriorityOctets, dot12Conformance=dot12Conformance, dot12Compliances=dot12Compliances, dot12Groups=dot12Groups) # Groups mibBuilder.exportSymbols("DOT12-IF-MIB", dot12ConfigGroup=dot12ConfigGroup, dot12StatsGroup=dot12StatsGroup) # Compliances mibBuilder.exportSymbols("DOT12-IF-MIB", dot12Compliance=dot12Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SNA-NAU-MIB.py0000644000014400001440000024071511736645140020503 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SNA-NAU-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:39 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, InstancePointer, RowStatus, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "InstancePointer", "RowStatus", "TimeStamp") # Objects snanauMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34)).setRevisions(("1994-05-12 09:00",)) if mibBuilder.loadTexts: snanauMIB.setOrganization("IETF SNA NAU MIB Working Group") if mibBuilder.loadTexts: snanauMIB.setContactInfo(" Zbigniew Kielczewski\nEicon Technology Inc.\n2196 32nd Avenue\nLachine, Que H8T 3H7\nCanada\nTel: 1 514 631 2592\nE-mail: zbig@eicon.qc.ca\n\nDeirdre Kostick\nBellcore\n331 Newman Springs Road\nRed Bank, NJ 07701\nTel: 1 908 758 2642\nE-mail: dck2@mail.bellcore.com\n\nKitty Shih (editor)\nNovell\n890 Ross Drive\nSunnyvale, CA 94089\nTel: 1 408 747 4305\nE-mail: kmshih@novell.com") if mibBuilder.loadTexts: snanauMIB.setDescription("This is the MIB module for objects used to\nmanage SNA devices.") snanauObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 1)) snaNode = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 1, 1)) snaNodeAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 1, 1)) if mibBuilder.loadTexts: snaNodeAdminTable.setDescription("This table contains objects which describe the\nconfiguration parameters for an SNA Node. Link\nspecific configuration objects are contained in\na separate MIB module (e.g., SNA DLC MIB)\ncorresponding to the link type.\nThe table snaNodeAdminLinkTable contains objects\nwhich identify the relationship between node instances\nand link instances.\n\nThe entries (i.e., rows) in this table can be created\nby either an Agent or a Management Station.\nThe Management Station can do this through setting\nthe appropriate value in the snaNodeAdminRowStatus.\n\nThe snaNodeAdminRowStatus object describes the\nstatus of an entry and is used to change the status\nof an entry. The entry is deleted by an Agent based\non the value of the snaNodeAdminRowStatus.\n\nThe snaNodeAdminState object describes the desired\noperational state of a Node and is used to change the\noperational state of a Node. For example, such\ninformation may be obtained from a configuration file.\n\nHow an Agent or a Management Station obtains the\ninitial value of each object at creation time is an\nimplementation specific issue.\n\nFor each entry in this table, there is a corresponding\nentry in the snaNodeOperTable.\nWhile the objects in this table describe the desired\nor configured operational values of the SNA Node, the\nactual runtime values are contained in\nsnaNodeOperTable.") snaNodeAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1)).setIndexNames((0, "SNA-NAU-MIB", "snaNodeAdminIndex")) if mibBuilder.loadTexts: snaNodeAdminEntry.setDescription("An entry contains the configuration parameters for\none SNA Node instance. The objects in the entry\nhave read-create access.\nAn entry can be created, modified or deleted. The\nobject snaNodeAdminRowStatus is used (i.e., set) to\ncreate or delete a row entry.") snaNodeAdminIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: snaNodeAdminIndex.setDescription("Index used to uniquely identify each Node instance.\nIf an Agent creates the entry, then it will assign\nthis number otherwise a Management Station\ngenerates a random number when it reserves the\nentry for creation.") snaNodeAdminName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminName.setDescription("The value indicates the desired name of the\nNode for use during Node activation.\nIn Type 2.1 networks, this is a fully-qualified name,\nmeaning that the Node name is preceded by the NetId (if\npresent) with a period as the delimiter.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaNodeOperName until the Node has\nbeen re-activated (e.g., after the next initialization\nof the SNA services).") snaNodeAdminType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,6,2,1,5,4,)).subtype(namedValues=NamedValues(("other", 1), ("pu10", 2), ("pu20", 3), ("t21len", 4), ("endNode", 5), ("networkNode", 6), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminType.setDescription("The value indicates the type of SNA Node.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaNodeOperType until the Node has\nbeen re-activated (e.g., after the next initialization\nof the SNA services).") snaNodeAdminXidFormat = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("format0", 1), ("format1", 2), ("format3", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminXidFormat.setDescription("The value indicates the type of XID format used for\nthis Node. Note that there is no format type 2.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaNodeOperAdminXidFormat until the Node has\nbeen re-activated (e.g., after the next initialization\nof the SNA services).") snaNodeAdminBlockNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminBlockNum.setDescription("The value indicates the block number for this Node\ninstance. It is the first 3 hexadecimal digits of the\nSNA Node id.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaNodeOperBlockNum until the Node has\nbeen re-activated (e.g., after the next initialization\nof the SNA services).") snaNodeAdminIdNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 5)).setFixedLength(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminIdNum.setDescription("The value indicates the ID number for this Node\ninstance. This is the last 5 hexadecimal digits of\nthe SNA Node id.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaNodeOperIdNum until the Node has\nbeen re-activated (e.g., after the next initialization\nof the SNA services).") snaNodeAdminEnablingMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("startup", 2), ("demand", 3), ("onlyMS", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminEnablingMethod.setDescription("The value indicates how the Node should be\nactivated for the first time.\nThe values have the following meanings:\n\nother (1) - may be used for proprietary methods\n not listed in this enumeration,\nstartup (2) - at SNA services' initialization time\n (this is the default),\ndemand (3) - only when LU is requested by application,\n or\nonlyMS (4) - by a Management Station only.\n\nA write operation to this object may immediately\nchange the operational value reflected\nin snaNodeOperEnablingMethod depending\non the Agent implementation. If the Agent\nimplementation accepts immediate changes, then the\nbehavior of the Node changes immediately and not only\nafter the next system startup of the SNA services.\nAn immediate change may only apply when the\ncurrent value 'demand (3)' is changed to 'onlyMS (4)'\nand vice versa.") snaNodeAdminLuTermDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("unbind", 1), ("termself", 2), ("rshutd", 3), ("poweroff", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminLuTermDefault.setDescription("The value indicates the desired default method\nused to deactivate LUs for this Node\nFor LU6.2s, 'unbind(1)' is the only valid value.\n\nunbind(1) - terminate the LU-LU session by sending\n an SNA UNBIND request.\ntermself(2) - terminate the LU-LU session by sending\n an SNA TERM-SELF (Terminate Self) request on\n the SSCP-LU session. The SSCP will inform the\n remote session LU partner to send an UNBIND\n request to terminate the session.\nrshutd(3) - terminate the LU-LU session by sending\n an SNA RSHUTD (Request ShutDown) request to\n the remote session LU partner. The remote LU\n will then send an UNBIND request to terminate\n the session.\npoweroff(4) - terminate the LU-LU session by sending\n either an SNA LUSTAT (LU Status) request on\n the LU-LU session or an SNA NOTIFY request on\n the SSCP-LU session indicating that the LU has\n been powered off. Sending both is also\n acceptable. The result should be that the\n remote session LU partner will send an UNBIND\n to terminate the session.\n\nThe default behavior indicated by the value of this\nobject may be overridden for an LU instance. The\noverride is performed by setting the snaLuAdminTerm\nobject instance in the snaLuAdminTable to the desired\nvalue.\n\nA write operation to this object may immediately\nchange the operational value reflected\nin snaNodeOperLuTermDefault depending\non the Agent implementation.") snaNodeAdminMaxLu = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 9), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminMaxLu.setDescription("The maximum number of LUs that may be\nactivated for this Node. For PU2.1, this object\nrefers to the number of dependent LUs.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaNodeOperMaxLu until the Node has\nbeen re-activated (e.g., after the next initialization\nof the SNA services).") snaNodeAdminHostDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminHostDescription.setDescription("The value identifies the remote host associated\nwith this Node.\nSince SSCP Id's may not be unique\nacross hosts, the host description\nis required to uniquely identify the SSCP.\nThis object is only applicable to PU2.0 type\nNodes. If the remote host is unknown, then the\nvalue is the null string.\n\nA write operation to this object may immediately\nchange the operational value reflected\nin snaNodeOperHostDescription depending\non the Agent implementation.") snaNodeAdminStopMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("other", 1), ("normal", 2), ("immed", 3), ("force", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminStopMethod.setDescription("The value indicates the desired method to be used\nby the Agent to stop a Node (i.e., change the Node's\noperational state to inactive(1) ).\n\nThe values have the following meaning:\n\nother (1) - used for proprietary\n methods not listed in this enumeration.\nnormal(2) - deactivate only when there is no more\n activity on this Node (i.e., all data flows\n have been completed and all sessions\n have been terminated).\nimmed(3) - deactivate immediately regardless of\n current activities on this Node. Wait for\n deactivation responses (from remote Node)\n before changing the Node state to inactive.\nforce(4) - deactivate immediately regardless of\n current activities on this Node. Do not wait\n for deactivation responses (from remote Node)\n before changing the Node state to inactive.\n\nA write operation to this object may immediately\nchange the operational value reflected\nin snaNodeOperStopMethod depending\non the Agent implementation.") snaNodeAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminState.setDescription("The value indicates the desired operational\nstate of the SNA Node. This object is used\nby the Management Station to\nactivate or deactivate the Node.\n\nIf the current value in snaNodeOperState is\n'active (2)', then setting this object to\n'inactive (1)' will initiate the Node shutdown\nprocess using the method indicated\nby snaNodeOperStopMethod.\n\nIf the current value in snaNodeOperState is\n'inactive (1)', then setting this object to\n'active (2)' will initiate the\nNode's activation.\n\nA Management Station can always set this object to\n'active (2)' irrespective of the value in the\nsnaOperEnablingMethod.") snaNodeAdminRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 1, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeAdminRowStatus.setDescription("This object is used by a Management Station to\ncreate or delete the row entry in the\nsnaNodeAdminTable following\nthe RowStatus textual convention.\n\nUpon successful creation of\nthe row, an Agent automatically creates a\ncorresponding entry in the snaNodeOperTable with\nsnaNodeOperState equal to 'inactive (1)'.\n\nRow deletion can be Management Station or Agent\ninitiated:\n(a) The Management Station can set the value to\n'destroy (6)' only when the value of\nsnaNodeOperState of this Node instance is\n'inactive (1)'. The Agent will then delete the rows\ncorresponding to this Node instance from the\nsnaNodeAdminTable and the snaNodeOperTable.\n(b) The Agent detects that a row is in the\n'notReady (3)' state for greater than a\ndefault period of 5 minutes.\n(c) All rows with the snaNodeAdminRowStatus object's\nvalue of 'notReady (3)' will be removed upon the\nnext initialization of the SNA services.") snaNodeAdminTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 34, 1, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeAdminTableLastChange.setDescription("The value indicates the timestamp\n(e.g., the Agent's sysUpTime value) of the last\nchange made to any object in the snaNodeAdminTable,\nincluding row deletions/additions (e.g., changes to\nsnaNodeAdminRowStatus values).\n\nThis object can be used to reduce frequent\nretrievals of the snaNodeAdminTable by a Management\nStation. It is expected that a Management Station\nwill periodically poll this object and compare its\ncurrent value with the previous one. A difference\nindicates that some Node configuration information\nhas been changed. Only then will the Management\nStation retrieve the entire table.") snaNodeOperTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 1, 3)) if mibBuilder.loadTexts: snaNodeOperTable.setDescription("This table contains the dynamic parameters which\nhave read-only access. These objects reflect the\nactual status of the Node. The entries in this\ntable cannot be created or modified by a\nManagement Station.\nThis table augments the snaNodeAdminTable.") snaNodeOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1)) if mibBuilder.loadTexts: snaNodeOperEntry.setDescription("The entry contains parameters which describe the\nstate of one Node. The entries are created by the\nAgent. They have read-only access.") snaNodeOperName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperName.setDescription("The value identifies the current name of the Node.\nIn Type 2.1 networks, this\nis a fully-qualified name, meaning that the Node name\nis preceded by the NetId (if present) with a period\nas the delimiter.") snaNodeOperType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,6,2,1,5,4,)).subtype(namedValues=NamedValues(("other", 1), ("pu10", 2), ("pu20", 3), ("t21LEN", 4), ("endNode", 5), ("networkNode", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperType.setDescription("The value identifies the current type of the Node.") snaNodeOperXidFormat = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("format0", 1), ("format1", 2), ("format3", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperXidFormat.setDescription("The value identifies the type of XID format currently\nused for this Node.\nNote that there is no format type 2.") snaNodeOperBlockNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperBlockNum.setDescription("The value identifies the block number for this Node\ninstance. It is the first 3 hexadecimal digits\nof the SNA Node id.") snaNodeOperIdNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 5)).setFixedLength(5)).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperIdNum.setDescription("The value identifies the ID number for this Node\ninstance. This is the last 5 hexadecimal digits of\nthe SNA Node id.") snaNodeOperEnablingMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("startup", 2), ("demand", 3), ("onlyMS", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperEnablingMethod.setDescription("The value indicates how the Node is activated for\nthe first time.\nThe values have the following meanings:\n other (1) - not at boot time, LU activation\n or by a Management Station;\n startup (2) - at SNA services' initialization\n time (this is the default),\n demand (3) - only when LU is requested by\n application,\n onlyMS (4) - by a network Management Station\n only.") snaNodeOperLuTermDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("unbind", 1), ("termself", 2), ("rshutd", 3), ("poweroff", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperLuTermDefault.setDescription("The value identifies the default method used to\ndeactivate LUs for this Node.\nFor LU6.2s, 'unbind(1)' is the only valid value.\n\nunbind(1) - terminate the LU-LU session by sending\n an SNA UNBIND request.\ntermself(2) - terminate the LU-LU session by sending\n an SNA TERM-SELF (Terminate Self) request on\n the SSCP-LU session. The SSCP will inform the\n remote session LU partner to send an UNBIND\n request to terminate the session.\nrshutd(3) - terminate the LU-LU session by sending\n an SNA RSHUTD (Request ShutDown) request to\n the remote session LU partner. The remote LU\n will then send an UNBIND request to terminate\n the session.\npoweroff(4) - terminate the LU-LU session by sending\n either an SNA LUSTAT (LU Status) request on\n the LU-LU session or an SNA NOTIFY request on\n the SSCP-LU session indicating that the LU has\n been powered off. Sending both is also\n acceptable. The result should be that the\n remote session LU partner will send an UNBIND\n to terminate the session.\n\nThis object describes the default behavior for this\nNode; however, it is possible that for a specific LU\nthe behavior indicated by the snaLuOperTerm object is\ndifferent.") snaNodeOperMaxLu = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperMaxLu.setDescription("This value identifies the current, maximum number\nof LUs that are activated for this Node. For PU2.1,\nthis object refers to the number of dependent LUs.") snaNodeOperHostDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperHostDescription.setDescription("This value identifies the remote host currently\nassociated with this Node.\nSince SSCP Id's may not be unique\nacross hosts, the host description\nis required to uniquely identify the SSCP.") snaNodeOperStopMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("other", 1), ("normal", 2), ("immed", 3), ("force", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperStopMethod.setDescription("This value identifies the current Node shutdown\nmethod to be used by the Agent to stop the Node.\nWhen the Agent changes the Node's state to 'inactive\n(1)', the Agent must use the shutdown method\nindicated by this object.\n\nThe values have the following meaning:\n\nother (1) - proprietary method not listed in this\n enumeration\nnormal(2) - deactivate only when there is no more\n activity on this Node (i.e., all data flows\n have been completed and all sessions have\n been terminated).\nimmed(3) - deactivate immediately regardless of\n current activities on this Node. Wait for\n deactivation responses (from remote Node)\n before changing the Node state to inactive.\nforce(4) - deactivate immediately regardless of\n current activities on this Node. Do not wait\n for deactivation responses (from remote Node)\n before changing the Node state to inactive.\n\nNote that a write operation to\nsnaNodeAdminOperStopMethod may immediately change\nthe value of snaNodeOperStopMethod depending on\nthe Agent implementation.") snaNodeOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,3,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), ("waiting", 3), ("stopping", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperState.setDescription("The current state of the Node.\nThe values have the following meanings:\n inactive (1), a row representing the Node has\n been created in the AdminTable\n and, the Node is ready for activation -or-\n an active Node has been stopped -or-\n a waiting Node has returned to the inactive\n state.\n waiting (3), a request to have the Node activated\n has been issued, and the Node is pending\n activation.\n active (2), the Node is ready and operating.\n stopping (4), the request to stop the Node has\n been issued while the StopMethod normal\n or immediate is used.") snaNodeOperHostSscpId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperHostSscpId.setDescription("This value identifies the current SSCP Id\nassociated with the Node. This object is only\napplicable to PU 2.0s. If the Node\nis not a PU 2.0 type, then this object contains a\nzero length string.") snaNodeOperStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 13), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperStartTime.setDescription("The timestamp (e.g, the Agent's sysUpTime value)\nat the Node activation.") snaNodeOperLastStateChange = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 14), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperLastStateChange.setDescription("The timestamp (e.g., the Agent's sysUpTime value)\nat the last state change of the Node.") snaNodeOperActFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperActFailures.setDescription("This value identifies the number of failed Node\nactivation attempts.") snaNodeOperActFailureReason = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 3, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,5,2,1,)).subtype(namedValues=NamedValues(("other", 1), ("linkFailure", 2), ("noResources", 3), ("badConfiguration", 4), ("internalError", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperActFailureReason.setDescription("The value indicates the reason for the activation\nfailure. The value 'other (1)' indicates a reason\nnot listed in the enumeration. This object\nwill be sent in the trap snaNodeActFailTrap.") snaNodeOperTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 34, 1, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeOperTableLastChange.setDescription("The timestamp (e.g., the Agent's sysUpTime value)\nat the last change made to any object in the\nsnaNodeOperTable, including row deletions/additions\nmade as a result of changes to the\nsnaNodeAdminRowStatus object.\n\nThis object can be used to reduce frequent\nretrievals of the snaNodeOperTable by a Management\nStation. It is expected that a Management Station\nwill periodically poll this object and compare its\ncurrent value with the previous one. A difference\nindicates that some Node operational information\nhas been changed. Only then will the Management\nStation retrieve the entire table.") snaPu20StatsTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 1, 5)) if mibBuilder.loadTexts: snaPu20StatsTable.setDescription("This table contains the dynamic parameters which\nhave read-only access. The entries in this table\ncorrespond to PU 2.0 entries in the snaNodeOperTable\nand cannot be created by a Management Station.") snaPu20StatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1)).setIndexNames((0, "SNA-NAU-MIB", "snaNodeAdminIndex")) if mibBuilder.loadTexts: snaPu20StatsEntry.setDescription("The entry contains parameters which describe the\nstatistics for one PU 2.0. They have read-only\naccess.\nThe counters represent traffic for all kinds\nof sessions: LU-LU, SSCP-PU, SSCP-LU.\n\nEach Node of PU Type 2.0 from the snaNodeAdminTable\nhas one entry in this table and the index used\nhere has the same value as snaNodeAdminIndex of\nthat PU. The entry is created by the Agent.") snaPu20StatsSentBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsSentBytes.setDescription("The number of bytes sent by this Node.") snaPu20StatsReceivedBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsReceivedBytes.setDescription("The number of bytes received by this Node.") snaPu20StatsSentPius = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsSentPius.setDescription("The number of PIUs sent by this Node.") snaPu20StatsReceivedPius = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsReceivedPius.setDescription("The number of PIUs received by this Node.") snaPu20StatsSentNegativeResps = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsSentNegativeResps.setDescription("The number of negative responses sent\nby this Node.") snaPu20StatsReceivedNegativeResps = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsReceivedNegativeResps.setDescription("The number of negative responses received\nby this Node.") snaPu20StatsActLus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsActLus.setDescription("The number of LUs on this PU which have\nreceived and responded to ACTLU from the host.") snaPu20StatsInActLus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsInActLus.setDescription("The number of LUs on this PU which have\nnot received an ACTLU from the host. This is\npossible if the number of configured LUs exceeds\nthat on the host.") snaPu20StatsBindLus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 5, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaPu20StatsBindLus.setDescription("The number of LUs on this PU which have\nreceived and acknowledged a BIND request from the\nhost.") snaNodeLinkAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 1, 6)) if mibBuilder.loadTexts: snaNodeLinkAdminTable.setDescription("This table contains the references to link\nspecific tables. If a Node is configured for\nmultiple links, then the Node will have\nmultiple entries in this table.\nThe entries in this table can be generated\ninitially, after initialization of SNA service,\nby the Agent which uses information from\nNode configuration file.\nSubsequent modifications of parameters,\ncreation of new Nodes link entries and deletion\nof entries is possible.\nThe modification to this table can be\nsaved in the Node configuration file for the\nnext initialization of SNA service, but the mechanism\nfor this function is not defined here.") snaNodeLinkAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 1, 6, 1)).setIndexNames((0, "SNA-NAU-MIB", "snaNodeAdminIndex"), (0, "SNA-NAU-MIB", "snaNodeLinkAdminIndex")) if mibBuilder.loadTexts: snaNodeLinkAdminEntry.setDescription("Entry contains the configuration information that\nassociates a Node instance to one link instance.\nThe objects in the entry have read-create access.\nEntry can be created, modified or deleted.\nThe object snaNodeLinkAdminRowStatus is used (set)\nto create or delete an entry.\nThe object snaNodeLinkAdminSpecific can be set\nlater, after the entry has been created.") snaNodeLinkAdminIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 6, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: snaNodeLinkAdminIndex.setDescription("This value is used to index the instances of objects.\nIf an Agent creates the entry, then it will assign\nthis number otherwise a Management Station\ngenerates a random number when it reserves the\nentry for creation.") snaNodeLinkAdminSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 6, 1, 2), InstancePointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeLinkAdminSpecific.setDescription("This value points to the row in the table\ncontaining information on the link instance.\n(e.g., the sdlcLSAdminTable of\nthe SNA DLC MIB module).") snaNodeLinkAdminMaxPiu = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 6, 1, 3), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeLinkAdminMaxPiu.setDescription("This value identifies the maximum number of octets\nthat can be exchanged by this Node in one\nPath Information Unit (PIU).") snaNodeLinkAdminRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 6, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaNodeLinkAdminRowStatus.setDescription("This object is used by a Management Station to\ncreate or delete the row entry in the\nsnaNodeLinkAdminTable.\nTo activate a row, a Management Station sets the value\nto 'active (1)' or 'notReady (3)'. Upon successful\ncreation of the row, the Agent automatically creates\na corresponding entry in the snaNodeLinkOperTable.\n\nRow deletion can be Management Station or Agent\ninitiated:\n(a) The Management Station can set the value to\n'destroy (6)' only when the value of\nsnaNodeLinkOperState of this Link\ninstance is 'inactive (1)'. The Agent will then\ndelete the row corresponding to this Link\ninstance from snaNodeLinkOperTable and\nfrom snaNodeLinkAdminTable.\n(b) The Agent detects that a row is in the\n'notReady (3)' state for greater than a\ndefault period of 5 minutes.\n(c) The Agent will not include a row with RowStatus=\n'notReady (3)', after SNA system re-initialization\n (e.g., reboot).") snaNodeLinkAdminTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 34, 1, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeLinkAdminTableLastChange.setDescription("The timestamp (e.g., the Agent's sysUpTime value)\nat the last\nchange made to any object in the snaNodeLinkAdminTable,\nincluding row deletions/additions (i.e., changes\nto the snaNodeLinkAdminRowStatus object).\n\nThis object can be used to reduce frequent\nretrievals of the snaNodeLinkAdminTable by a\nManagement Station. It is expected that a\nManagement Station will periodically poll this\nobject and compare its current value with the\nprevious one.\nA difference indicates that some Node operational\ninformation has been changed. Only then will the\nManagement Station retrieve the entire table.") snaNodeLinkOperTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 1, 8)) if mibBuilder.loadTexts: snaNodeLinkOperTable.setDescription("This table contains all references to link\nspecific tables for operational parameters.\nIf a Node is configured for multiple links,\nthen the Node will have multiple entries in\nthis table. This table augments the\nsnaNodeLinkAdminTable.") snaNodeLinkOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 1, 8, 1)) if mibBuilder.loadTexts: snaNodeLinkOperEntry.setDescription("Entry contains all current parameters for one\nNode link. The objects in the entry have\nread-only access.") snaNodeLinkOperSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 8, 1, 1), InstancePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeLinkOperSpecific.setDescription("This value points to the row in the table\ncontaining information on the link instance.\n(e.g., the sdlcLSOperTable of\nthe SNA DLC MIB module).") snaNodeLinkOperMaxPiu = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 1, 8, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeLinkOperMaxPiu.setDescription("Maximum number of octets that can\nbe exchanged by this Node in one Path\nInformation Unit (PIU).") snaNodeLinkOperTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 34, 1, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaNodeLinkOperTableLastChange.setDescription("The timestamp of the last\nchange made to any object in the snaNodeLinkOperTable,\nincluding row deletions/additions.\n\nThis object can be used to reduce frequent\nretrievals of the snaNodeLinkOperTable by a\nManagement Station. It is expected that a\nManagement Station will periodically poll this\nobject and compare its current value with the\nprevious one.\nA difference indicates that some Node operational\ninformation has been changed. Only then will the\nManagement Station retrieve the entire table.") snaNodeTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 1, 1, 10)) snaLu = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 1, 2)) snaLuAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 2, 1)) if mibBuilder.loadTexts: snaLuAdminTable.setDescription("This table contains LU configuration information.\nThe rows in this table can be created and deleted\nby a Management Station.\nOnly objects which are common to all types of LUs\nare included in this table.") snaLuAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1)).setIndexNames((0, "SNA-NAU-MIB", "snaNodeAdminIndex"), (0, "SNA-NAU-MIB", "snaLuAdminLuIndex")) if mibBuilder.loadTexts: snaLuAdminEntry.setDescription("Contains configuration variables for an LU.") snaLuAdminLuIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: snaLuAdminLuIndex.setDescription("This value identifies the unique index for an\nLU instance within a Node.") snaLuAdminName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminName.setDescription("This value identifies the user configurable\nname for this LU. If a name is not assigned to the LU,\nthen this object contains a zero length string.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaLuOperName until the Node has\nbeen re-activated (e.g., after the next\ninitialization of the SNA services).") snaLuAdminSnaName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminSnaName.setDescription("This value identifies the SNA LU name\nused in exchange of SNA data.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaLuOperSnaName until the Node has\nbeen re-activated (e.g., after the next\ninitialization of the SNA services).") snaLuAdminType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,6,7,8,5,)).subtype(namedValues=NamedValues(("other", 1), ("lu0", 2), ("lu1", 3), ("lu2", 4), ("lu3", 5), ("lu4", 6), ("lu62", 7), ("lu7", 8), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminType.setDescription("This value identifies the LU type.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaLuOperAdminType until the Node has\nbeen re-activated (e.g., after the next\ninitialization of the SNA services).") snaLuAdminDepType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("dependent", 1), ("independent", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminDepType.setDescription("This value identifies whether the LU is\ndependent or independent.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaLuOperDepType until the Node has\nbeen re-activated (e.g., after the next\ninitialization of the SNA services).") snaLuAdminLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminLocalAddress.setDescription("The local address for this LU is a byte with a value\nranging from 0 to 254.For dependent LUs, this value\nranges from 1 to 254 and for independent LUs this\nvalue is always 0.\n\nA write operation to this object will not change the\noperational value reflected in snaLuOperLocalAddress\nuntil the Node has been re-activated (e.g., after the\nnext initialization of the SNA services).") snaLuAdminDisplayModel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(10,5,9,8,3,2,4,1,6,7,)).subtype(namedValues=NamedValues(("invalid", 1), ("dynamic", 10), ("model2A", 2), ("model2B", 3), ("model3A", 4), ("model3B", 5), ("model4A", 6), ("model4B", 7), ("model5A", 8), ("model5B", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminDisplayModel.setDescription("The value of this object identifies the model type\nand screen size of the terminal connected to the host.\nThis is only valid for LU Type 2. The values have\nthe following meaning:\n\nmodel2A(2) - Model 2 (24 rows x 80 cols) with base\n attributes\nmodel2B(3) - Model 2 (24 rows x 80 cols) with\n extended attributes\nmodel3A(4) - Model 3 (32 rows x 80 cols) with base\n attributes\nmodel3B(5) - Model 3 (32 rows x 80 cols) with extended\n attributes\nmodel4A(6) - Model 4 (43 rows x 80 cols) with base\n attributes\nmodel4B(7) - Model 4 (43 rows x 80 cols) with extended\n attributes\nmodel5A(8) - Model 5 (27 rows x 132 cols) with base\n attributes\nmodel5B(9) - Model 5 (27 rows x 132 cols) with\n extended attributes\ndynamic(10) - Screen size determine with BIND and Read\n Partition Query.\n\nIn case this LU is not Type 2, then this object\nshould contain the invalid(1) value.") snaLuAdminTerm = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("unbind", 1), ("termself", 2), ("rshutd", 3), ("poweroff", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminTerm.setDescription("This value identifies the desired method for\ndeactivation of this LU. This value overrides the\ndefault method (snaNodeOperLuTermDefault) for this\nNode. For LU 6.2, only the value 'unbind (1)'\napplies.\n\nunbind(1) - terminate the LU-LU session by sending\n an SNA UNBIND request.\ntermself(2) - terminate the LU-LU session by sending\n an SNA TERM-SELF (Terminate Self) request on\n the SSCP-LU session. The SSCP will inform the\n remote session LU partner to send an UNBIND\n request to terminate the session.\nrshutd(3) - terminate the LU-LU session by sending\n an SNA RSHUTD (Request ShutDown) request to\n the remote session LU partner. The remote LU\n will then send an UNBIND request to terminate\n the session.\npoweroff(4) - terminate the LU-LU session by sending\n either an SNA LUSTAT (LU Status) request on\n the LU-LU session or an SNA NOTIFY request on\n the SSCP-LU session indicating that the LU has\n been powered off. Sending both is also\n acceptable. The result should be that the\n remote session LU partner will send an UNBIND\n to terminate the session.\n\nA write operation to this object may immediately\nchange the operational value reflected\nin snaLuOperTerm depending\non the Agent implementation.") snaLuAdminRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 1, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: snaLuAdminRowStatus.setDescription("This object is used by a Management Station to\ncreate or delete the row entry in the\nsnaLuAdminTable.\nTo activate a row, the Management Station sets the\nvalue to 'active (1)' or 'notReady (3)'.\nUpon successful creation of the row, the Agent\nautomatically creates a corresponding entry in the\nsnaLuOperTable with snaLuOperState equal to\n'inactive (1)'.\nRow deletion can be Management Station or Agent\ninitiated:\n(a) The Management Station can set the value to\n'destroy (6)' only when the value of snaLuOperState\nof this LU instance is 'inactive (1)'. The Agent will\nthen delete the row corresponding to this LU\ninstance from snaLuAdminTable and\nfrom snaLuOperTable.\n(b) The Agent detects that a row is in the\n'notReady (3)' state for greater than a\ndefault period of 5 minutes.\n(c) The Agent will not create a row with RowStatus\nequal to 'notReady (3)', after SNA system\nre-initialization (e.g., reboot).") snaLuOperTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 2, 2)) if mibBuilder.loadTexts: snaLuOperTable.setDescription("This table contains dynamic runtime information and\ncontrol variables relating to LUs.\nOnly objects which are common to all types of LUs are\nincluded in this table. This table augments the\nsnaLuAdminTable.") snaLuOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1)) if mibBuilder.loadTexts: snaLuOperEntry.setDescription("Contains objects reflecting current information\nfor an LU.\nEach entry is created by the Agent. All entries\nhave read-only access.") snaLuOperName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperName.setDescription("User configurable name for this LU. If a name\nis not assigned, then this object contains a\nzero length string.") snaLuOperSnaName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperSnaName.setDescription("The value identifies the current SNA LU name.") snaLuOperType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,6,7,8,5,)).subtype(namedValues=NamedValues(("other", 1), ("lu0", 2), ("lu1", 3), ("lu2", 4), ("lu3", 5), ("lu4", 6), ("lu62", 7), ("lu7", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperType.setDescription("The value identifies the current LU type.") snaLuOperDepType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("dependent", 1), ("independent", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperDepType.setDescription("The value identifies whether the LU is currently\ndependent or independent.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaLuOperDepType until the Node has\nbeen re-activated (e.g., after the next\ninitialization of the SNA services).") snaLuOperLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperLocalAddress.setDescription("The local address for this LU is a byte with a value\nranging from 0 to 254. For dependent LUs, this value\nranges from 1 to 254; for independent LUs this value\nis always 0.\n\nA write operation to this object will\nnot change the operational value reflected\nin snaLuOperLocalAddress until the Node has\nbeen re-activated (e.g., after the next\ninitialization of the SNA services).") snaLuOperDisplayModel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(10,5,9,8,3,2,4,1,6,7,)).subtype(namedValues=NamedValues(("invalid", 1), ("dynamic", 10), ("model2A", 2), ("model2B", 3), ("model3A", 4), ("model3B", 5), ("model4A", 6), ("model4B", 7), ("model5A", 8), ("model5B", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperDisplayModel.setDescription("The screen model type of the terminal connected to\nthe host. If this LU is not Type 2, then this\nobject should contain the 'invalid(1)' value.") snaLuOperTerm = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("unbind", 1), ("termself", 2), ("rshutd", 3), ("poweroff", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperTerm.setDescription("The value identifies the current method for\ndeactivation of this LU. This value overrides the\ndefault method (snaNodeOperLuTermDefault) for this\nNode. For LU 6.2, only the value 'unbind (1)'\napplies.\n\nunbind(1) - terminate the LU-LU session by sending\n an SNA UNBIND request.\ntermself(2) - terminate the LU-LU session by sending\n an SNA TERM-SELF (Terminate Self) request on\n the SSCP-LU session. The SSCP will inform the\n remote session LU partner to send an UNBIND\n request to terminate the session.\nrshutd(3) - terminate the LU-LU session by sending\n an SNA RSHUTD (Request ShutDown) request to\n the remote session LU partner. The remote LU\n will then send an UNBIND request to terminate\n the session.\npoweroff(4) - terminate the LU-LU session by sending\n either an SNA LUSTAT (LU Status) request on\n the LU-LU session or an SNA NOTIFY request on\n the SSCP-LU session indicating that the LU has\n been powered off. Sending both is also\n acceptable. The result should be that the\n remote session LU partner will send an UNBIND\n to terminate the session.") snaLuOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperState.setDescription("The value identifies the current operational state of\nthis LU.\nIt has different meanings for dependent and independent\nLUs.\nFor dependent LUs the values indicate the following:\n inactive (1) - LU didn't receive ACTLU, or\n it received DACTLU, or received ACTLU and sent\n negative response.\n active (2) - LU received ACTLU and acknowledged\n positively.\n\nFor independent LUs the values indicate the following:\n active (2) - the LU is defined and is able to send\n and receive BIND.\n inactive (1) - the LU has a session count equal\n to 0.") snaLuOperSessnCount = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuOperSessnCount.setDescription("The number of currently active LU-LU sessions of\nthis LU.\nFor the independent LU, if this object has value 0,\nit indicates that LU is inactive.") snaLuSessnTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 2, 3)) if mibBuilder.loadTexts: snaLuSessnTable.setDescription("This is a table containing objects which describe the\noperational state of LU sessions. Only objects which\nare common to all types of LU sessions are included\nin this table.\n\nWhen a session's snaLuSessnOperState value changes to\n'pendingBind (2)', then the corresponding entry\nin the session table is created by the Agent.\n\nWhen the session's snaLuSessnOperState value changes to\n 'unbound (1)', then the session will be removed from\nthe session table by the Agent.") snaLuSessnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1)).setIndexNames((0, "SNA-NAU-MIB", "snaNodeAdminIndex"), (0, "SNA-NAU-MIB", "snaLuAdminLuIndex"), (0, "SNA-NAU-MIB", "snaLuSessnRluIndex"), (0, "SNA-NAU-MIB", "snaLuSessnIndex")) if mibBuilder.loadTexts: snaLuSessnEntry.setDescription("An entry contains dynamic parameters for an LU-LU\nsession.\nThe indices identify the Node, local LU, and remote LU\nfor this session.") snaLuSessnRluIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnRluIndex.setDescription("This value may be used to identify information about\nthe session partner LU in a table of information about\nremote LUs. Such a table is not defined in this\ndocument. If a table of remote LU information is not\nimplemented, or if the table is implemented but it does\nnot contain information about the partner LU for a\nparticular session (as for dependent LU-LU sessions)\nthen this object will have a value of zero.") snaLuSessnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnIndex.setDescription("This value identifies the unique index of the session.\nIt is recommended that an Agent should not reuse the\nindex of a deactivated session for a significant\nperiod of time (e.g., one week).") snaLuSessnLocalApplName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnLocalApplName.setDescription("The name of the local application using this LU.\nIf the local application is unknown, then this object\ncontains a zero length string.") snaLuSessnRemoteLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnRemoteLuName.setDescription("For dependent LUs which are indicated by the\nsnaLuOperDepType object containing the value\n'dependent (1)', this object contains the Primary\nLU (PLU) name. For independent LUs,\nthis object contains the fully-qualified remote LU\nname of this 6.2 session.\nA fully qualified name is an SNA NAU entity name\npreceded by the NetId and a period as the delimiter.") snaLuSessnMaxSndRuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnMaxSndRuSize.setDescription("The maximum RU size used on this session for sending\nRUs.") snaLuSessnMaxRcvRuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnMaxRcvRuSize.setDescription("The maximum RU size used on this session for\nreceiving RUs.") snaLuSessnSndPacingSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnSndPacingSize.setDescription("The size of the send pacing window on this session.") snaLuSessnRcvPacingSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnRcvPacingSize.setDescription("The size of the receive pacing window on this\nsession.") snaLuSessnActiveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnActiveTime.setDescription("The timestamp (e.g., the Agent's sysUpTime value)\nwhen this session becomes active.") snaLuSessnAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,)).subtype(namedValues=NamedValues(("unbound", 1), ("bound", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snaLuSessnAdminState.setDescription("The value indicates the desired operational state of\nthe session. This object is used to\nchange the operational state of the session.\nA Management Station can only change the operational\nstate of the session to 'unbound (1)'.\n\nSession deactivation:\n If a session is in the operational state\n 'bound (3)' then setting the value of this\n object to 'unbound (1)' will initiate the\n session shutdown.\n\n If a session is in the operational state\n 'pendingBind (2)' then setting the value of this\n object to 'unbound (1)' will initiate the session\n shutdown.\n If a session is in the operational state\n 'pendingUnbind (4)' for an abnormally long period\n of time (e.g., three minutes) then setting the value\n of this object to 'unbound (1)' will change the\n session operational state to 'unbound (1)'.\n\nNote: for dependent LUs, deactivating the session is\nthe same as deactivating the LU.") snaLuSessnOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("unbound", 1), ("pendingBind", 2), ("bound", 3), ("pendingUnbind", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnOperState.setDescription("The value indicates the current operational state of\nthe session.\n\n 'unbound (1)' - session has been unbound;\n in this state it will be removed from the\n session table by the Agent.\n\n 'pendingBind (2)' - this state has different\n meanings for dependent and independent LUs;\n for dependent LU - waiting for BIND from\n the host, for independent LU - waiting for\n BIND response. When a session enters this\n state, the corresponding entry in the\n session table is created by the Agent.\n\n 'bound (3)' - session has been successfully bound.\n\n 'pendingUnbind (4)' - session enters this state\n when an UNBIND is sent and before the\n rsp(UNBIND) is received.") snaLuSessnSenseData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnSenseData.setDescription("The value identifies the sense code when there is\na BIND failure. It is taken from the negative BIND\nresponse or UNBIND request.\nThis is displayed as 8 hexadecimal digits.") snaLuSessnTerminationRu = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("bindFailure", 2), ("unbind", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnTerminationRu.setDescription("The value identifies the SNA RU that terminated the\nsession.\nIf the session is not in the unbound state, this object\nhas a value of 'other (1)'.") snaLuSessnUnbindType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnUnbindType.setDescription("If the session is in the unbound state, and it was\nterminated by an UNBIND, then this object contains\nthe UNBIND type value (byte 1 of the UNBIND RU);\notherwise the string is null.") snaLuSessnLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 3, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnLinkIndex.setDescription("This value identifies the link over which the session\npasses. It is an index into snaNodeLinkAdminTable.\nIf the index value is not known, the value of this\nobject shall be zero.") snaLuSessnStatsTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 2, 4)) if mibBuilder.loadTexts: snaLuSessnStatsTable.setDescription("This table contains dynamic statistics information\nrelating to LU sessions.\nThe entries in this table augment the entries in\nthe snaLuSessnTable and cannot be created by\na Management Station.") snaLuSessnStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 2, 4, 1)) if mibBuilder.loadTexts: snaLuSessnStatsEntry.setDescription("Contains statistics information for an LU session.\nEach entry is created by the Agent.\nObjects in this table have read-only access.\nEach session from snaLuSessnTable\nhas one entry in this table.") snaLuSessnStatsSentBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnStatsSentBytes.setDescription("The number of bytes sent by the local LU.") snaLuSessnStatsReceivedBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnStatsReceivedBytes.setDescription("The number of bytes received by the local LU.") snaLuSessnStatsSentRus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnStatsSentRus.setDescription("The number of RUs sent by the local LU.") snaLuSessnStatsReceivedRus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnStatsReceivedRus.setDescription("The number of RUs received by the local LU.") snaLuSessnStatsSentNegativeResps = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnStatsSentNegativeResps.setDescription("The number of negative responses sent by the\nlocal LU.") snaLuSessnStatsReceivedNegativeResps = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuSessnStatsReceivedNegativeResps.setDescription("The number of negative responses received by the\nlocal LU.") snaLuTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 1, 2, 5)) snaMgtTools = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 1, 3)) snaLuRtmTable = MibTable((1, 3, 6, 1, 2, 1, 34, 1, 3, 1)) if mibBuilder.loadTexts: snaLuRtmTable.setDescription("This table contains Response Time Monitoring (RTM)\ninformation relating to an LU (Type 2). Each entry\ncorresponds to an LU 2 entry in\nsnaLuAdminTable.") snaLuRtmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1)).setIndexNames((0, "SNA-NAU-MIB", "snaLuRtmPuIndex"), (0, "SNA-NAU-MIB", "snaLuRtmLuIndex")) if mibBuilder.loadTexts: snaLuRtmEntry.setDescription("Contains RTM information for an LU (Type 2).\nEach entry is created by the Agent.") snaLuRtmPuIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: snaLuRtmPuIndex.setDescription("The value identifies the PU 2.0 with which this LU is\nassociated.") snaLuRtmLuIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 2), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: snaLuRtmLuIndex.setDescription("The value uniquely identifies an LU in a PU 2.0.") snaLuRtmState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("off", 1), ("on", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmState.setDescription("The value indicates the current RTM state of an LU.") snaLuRtmStateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmStateTime.setDescription("The timestamp (e.g., the Agent's sysUpTime value)\nwhen this session's RTM state (e.g., snaLuRtmState)\nchanges value.") snaLuRtmDef = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("firstChar", 1), ("kb", 2), ("cdeb", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmDef.setDescription("The value indicates the mode of measurement for this\nRTM request. The values have following meaning:\n firstChar(1) - time to first character on screen\n kb(2) - time to keyboard usable by operator\n cdeb(3) - time to Change Direction/End Bracket.") snaLuRtmBoundary1 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmBoundary1.setDescription("This object contains the value of the first boundary\nin units of 1/10th of a second.") snaLuRtmBoundary2 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmBoundary2.setDescription("This object contains the value of the second boundary\nin units of 1/10th of a second.") snaLuRtmBoundary3 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmBoundary3.setDescription("This object contains the value of the third boundary\nin units of 1/10th of a second.") snaLuRtmBoundary4 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmBoundary4.setDescription("This object contains the value of the fourth boundary\nin units of 1/10th of a second.") snaLuRtmCounter1 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmCounter1.setDescription("This value indicates the number of transactions which\nfall in the range specified by the first boundary.") snaLuRtmCounter2 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmCounter2.setDescription("This value indicates the number of transactions which\nfall in the range specified by the second boundary.") snaLuRtmCounter3 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmCounter3.setDescription("This value indicates the number of transactions which\nfall in the range specified by the third boundary.") snaLuRtmCounter4 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmCounter4.setDescription("This value indicates the number of transactions which\nfall in the range specified by the fourth boundary.") snaLuRtmOverFlows = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmOverFlows.setDescription("This value indicates the number of transactions which\nexceed the highest range specified by the\nboundaries.") snaLuRtmObjPercent = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmObjPercent.setDescription("This value indicates the desired percentage of\ntransactions which should be under a designated\nboundary range indicated by snaLuRtmObjRange.") snaLuRtmObjRange = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,2,1,6,5,)).subtype(namedValues=NamedValues(("other", 1), ("range1", 2), ("range2", 3), ("range3", 4), ("range4", 5), ("range5", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmObjRange.setDescription("This value indicates the designated boundary range to\nwhich the snaLuRtmObject refers.\nThe values have the following meanings:\n other(1) - not specified\n range1(2) - less than boundary 1\n range2(3) - between boundary 1 and 2\n range3(4) - between boundary 2 and 3\n range4(5) - between boundary 3 and 4\n range5(6) - greater than boundary 4.") snaLuRtmNumTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmNumTrans.setDescription("This value indicates the total number of transactions\nexecuted since the RTM monitoring began (i.e.,\nsnaLuRtmState changed to 'on(2)') for this LU.") snaLuRtmLastRspTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmLastRspTime.setDescription("This value indicates the response time for the last\ntransaction in units of 1/10th of a second.") snaLuRtmAvgRspTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 1, 3, 1, 1, 19), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snaLuRtmAvgRspTime.setDescription("This value indicates the average response time for all\ntransactions in units of 1/10th of a second.") snanauConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 2)) snanauCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 2, 1)) snanauGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 2, 2)) # Augmentions snaLuAdminEntry.registerAugmentions(("SNA-NAU-MIB", "snaLuOperEntry")) snaLuOperEntry.setIndexNames(*snaLuAdminEntry.getIndexNames()) snaLuSessnEntry.registerAugmentions(("SNA-NAU-MIB", "snaLuSessnStatsEntry")) snaLuSessnStatsEntry.setIndexNames(*snaLuSessnEntry.getIndexNames()) snaNodeAdminEntry.registerAugmentions(("SNA-NAU-MIB", "snaNodeOperEntry")) snaNodeOperEntry.setIndexNames(*snaNodeAdminEntry.getIndexNames()) snaNodeLinkAdminEntry.registerAugmentions(("SNA-NAU-MIB", "snaNodeLinkOperEntry")) snaNodeLinkOperEntry.setIndexNames(*snaNodeLinkAdminEntry.getIndexNames()) # Notifications snaNodeStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 1, 1, 10, 1)).setObjects(*(("SNA-NAU-MIB", "snaNodeOperName"), ("SNA-NAU-MIB", "snaNodeOperState"), ) ) if mibBuilder.loadTexts: snaNodeStateChangeTrap.setDescription("This trap indicates that the operational state\n(i.e., value of the snaNodeOperState object) of a Node\n has changed. The following variables are returned:\n snaNodeOperName - current name of the Node,\n with the instance identifying the Node; and,\n snaNodeOperState - current state after\n the change.") snaNodeActFailTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 1, 1, 10, 2)).setObjects(*(("SNA-NAU-MIB", "snaNodeOperActFailureReason"), ("SNA-NAU-MIB", "snaNodeOperName"), ("SNA-NAU-MIB", "snaNodeOperState"), ) ) if mibBuilder.loadTexts: snaNodeActFailTrap.setDescription("This trap indicates a Node activation failure.\nThe value of snaNodeOperState indicates the current\nstate after the activation attempt.\nThe value of snaNodeOperActFailureReason indicates\nthe failure reason.") snaLuStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 1, 2, 5, 1)).setObjects(*(("SNA-NAU-MIB", "snaLuOperName"), ("SNA-NAU-MIB", "snaLuOperSnaName"), ("SNA-NAU-MIB", "snaLuOperState"), ) ) if mibBuilder.loadTexts: snaLuStateChangeTrap.setDescription("This trap indicates that the operational state\n(i.e., snaLuOperState value) of the LU has changed.\nThe value of snaLuOperName indicates the name of the\nLU.\nThe value of snaLuOperSnaName indicates the SNA name\nof LU.\nThe value of snaLuOperState indicates the current\nstate after change.") snaLuSessnBindFailTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 1, 2, 5, 2)).setObjects(*(("SNA-NAU-MIB", "snaLuSessnSenseData"), ("SNA-NAU-MIB", "snaLuSessnOperState"), ("SNA-NAU-MIB", "snaLuSessnLocalApplName"), ("SNA-NAU-MIB", "snaLuSessnRemoteLuName"), ) ) if mibBuilder.loadTexts: snaLuSessnBindFailTrap.setDescription("This trap indicates the failure of a BIND.\nThe value of snaLuSessnLocalApplName indicates the local\napplication name.\nThe value of snaLuSessnPartnerName indicates the partner\nname.\nThe value of snaLuSessnOperState indicates the current\nstate after change.\nThe value of snaLuSessnBindFailureReason\nindicates the failure reason.\nThe Agent should not generate more than 1 trap of this\ntype per minute to minimize the level of management\ntraffic on the network.") # Groups snaNodeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 2, 2, 1)).setObjects(*(("SNA-NAU-MIB", "snaNodeAdminTableLastChange"), ("SNA-NAU-MIB", "snaNodeOperXidFormat"), ("SNA-NAU-MIB", "snaNodeAdminRowStatus"), ("SNA-NAU-MIB", "snaNodeOperType"), ("SNA-NAU-MIB", "snaNodeLinkOperMaxPiu"), ("SNA-NAU-MIB", "snaNodeAdminState"), ("SNA-NAU-MIB", "snaNodeOperStopMethod"), ("SNA-NAU-MIB", "snaNodeLinkOperSpecific"), ("SNA-NAU-MIB", "snaNodeAdminName"), ("SNA-NAU-MIB", "snaNodeOperActFailureReason"), ("SNA-NAU-MIB", "snaNodeOperActFailures"), ("SNA-NAU-MIB", "snaNodeAdminLuTermDefault"), ("SNA-NAU-MIB", "snaNodeOperLastStateChange"), ("SNA-NAU-MIB", "snaNodeOperBlockNum"), ("SNA-NAU-MIB", "snaNodeOperMaxLu"), ("SNA-NAU-MIB", "snaNodeLinkAdminRowStatus"), ("SNA-NAU-MIB", "snaNodeOperTableLastChange"), ("SNA-NAU-MIB", "snaNodeOperStartTime"), ("SNA-NAU-MIB", "snaNodeLinkAdminTableLastChange"), ("SNA-NAU-MIB", "snaNodeLinkAdminSpecific"), ("SNA-NAU-MIB", "snaNodeOperHostSscpId"), ("SNA-NAU-MIB", "snaNodeAdminMaxLu"), ("SNA-NAU-MIB", "snaNodeOperEnablingMethod"), ("SNA-NAU-MIB", "snaNodeOperLuTermDefault"), ("SNA-NAU-MIB", "snaNodeAdminStopMethod"), ("SNA-NAU-MIB", "snaNodeAdminType"), ("SNA-NAU-MIB", "snaNodeLinkOperTableLastChange"), ("SNA-NAU-MIB", "snaNodeAdminIdNum"), ("SNA-NAU-MIB", "snaNodeOperHostDescription"), ("SNA-NAU-MIB", "snaNodeOperState"), ("SNA-NAU-MIB", "snaNodeAdminBlockNum"), ("SNA-NAU-MIB", "snaNodeAdminHostDescription"), ("SNA-NAU-MIB", "snaNodeAdminXidFormat"), ("SNA-NAU-MIB", "snaNodeOperName"), ("SNA-NAU-MIB", "snaNodeAdminEnablingMethod"), ("SNA-NAU-MIB", "snaNodeOperIdNum"), ("SNA-NAU-MIB", "snaNodeLinkAdminMaxPiu"), ) ) if mibBuilder.loadTexts: snaNodeGroup.setDescription("A collection of objects providing the\ninstrumentation of SNA nodes.") snaLuGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 2, 2, 2)).setObjects(*(("SNA-NAU-MIB", "snaLuOperName"), ("SNA-NAU-MIB", "snaLuOperSnaName"), ("SNA-NAU-MIB", "snaLuAdminType"), ("SNA-NAU-MIB", "snaLuOperState"), ("SNA-NAU-MIB", "snaLuAdminRowStatus"), ("SNA-NAU-MIB", "snaLuAdminDepType"), ("SNA-NAU-MIB", "snaLuAdminTerm"), ("SNA-NAU-MIB", "snaLuOperSessnCount"), ("SNA-NAU-MIB", "snaLuOperTerm"), ("SNA-NAU-MIB", "snaLuOperType"), ("SNA-NAU-MIB", "snaLuOperLocalAddress"), ("SNA-NAU-MIB", "snaLuAdminName"), ("SNA-NAU-MIB", "snaLuAdminDisplayModel"), ("SNA-NAU-MIB", "snaLuAdminLocalAddress"), ("SNA-NAU-MIB", "snaLuOperDepType"), ("SNA-NAU-MIB", "snaLuOperDisplayModel"), ("SNA-NAU-MIB", "snaLuAdminSnaName"), ) ) if mibBuilder.loadTexts: snaLuGroup.setDescription("A collection of objects providing the\ninstrumentation of SNA LUs.") snaSessionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 2, 2, 3)).setObjects(*(("SNA-NAU-MIB", "snaLuSessnStatsReceivedBytes"), ("SNA-NAU-MIB", "snaLuSessnTerminationRu"), ("SNA-NAU-MIB", "snaLuSessnSndPacingSize"), ("SNA-NAU-MIB", "snaLuSessnStatsReceivedNegativeResps"), ("SNA-NAU-MIB", "snaLuSessnIndex"), ("SNA-NAU-MIB", "snaLuSessnAdminState"), ("SNA-NAU-MIB", "snaLuSessnStatsSentNegativeResps"), ("SNA-NAU-MIB", "snaLuSessnOperState"), ("SNA-NAU-MIB", "snaLuSessnStatsSentRus"), ("SNA-NAU-MIB", "snaLuSessnLocalApplName"), ("SNA-NAU-MIB", "snaLuSessnUnbindType"), ("SNA-NAU-MIB", "snaLuSessnSenseData"), ("SNA-NAU-MIB", "snaLuSessnRcvPacingSize"), ("SNA-NAU-MIB", "snaLuSessnStatsSentBytes"), ("SNA-NAU-MIB", "snaLuSessnActiveTime"), ("SNA-NAU-MIB", "snaLuSessnLinkIndex"), ("SNA-NAU-MIB", "snaLuSessnRluIndex"), ("SNA-NAU-MIB", "snaLuSessnMaxSndRuSize"), ("SNA-NAU-MIB", "snaLuSessnStatsReceivedRus"), ("SNA-NAU-MIB", "snaLuSessnMaxRcvRuSize"), ("SNA-NAU-MIB", "snaLuSessnRemoteLuName"), ) ) if mibBuilder.loadTexts: snaSessionGroup.setDescription("A collection of objects providing the\ninstrumentation of SNA sessions.") snaPu20Group = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 2, 2, 4)).setObjects(*(("SNA-NAU-MIB", "snaPu20StatsSentPius"), ("SNA-NAU-MIB", "snaPu20StatsReceivedPius"), ("SNA-NAU-MIB", "snaPu20StatsActLus"), ("SNA-NAU-MIB", "snaPu20StatsBindLus"), ("SNA-NAU-MIB", "snaPu20StatsSentNegativeResps"), ("SNA-NAU-MIB", "snaPu20StatsSentBytes"), ("SNA-NAU-MIB", "snaPu20StatsReceivedBytes"), ("SNA-NAU-MIB", "snaPu20StatsReceivedNegativeResps"), ("SNA-NAU-MIB", "snaPu20StatsInActLus"), ) ) if mibBuilder.loadTexts: snaPu20Group.setDescription("A collection of objects providing the\ninstrumentation of PU 2.0.") snaMgtToolsRtmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 2, 2, 5)).setObjects(*(("SNA-NAU-MIB", "snaLuRtmBoundary3"), ("SNA-NAU-MIB", "snaLuRtmBoundary2"), ("SNA-NAU-MIB", "snaLuRtmBoundary1"), ("SNA-NAU-MIB", "snaLuRtmCounter3"), ("SNA-NAU-MIB", "snaLuRtmCounter4"), ("SNA-NAU-MIB", "snaLuRtmCounter1"), ("SNA-NAU-MIB", "snaLuRtmBoundary4"), ("SNA-NAU-MIB", "snaLuRtmAvgRspTime"), ("SNA-NAU-MIB", "snaLuRtmStateTime"), ("SNA-NAU-MIB", "snaLuRtmDef"), ("SNA-NAU-MIB", "snaLuRtmLastRspTime"), ("SNA-NAU-MIB", "snaLuRtmCounter2"), ("SNA-NAU-MIB", "snaLuRtmObjPercent"), ("SNA-NAU-MIB", "snaLuRtmState"), ("SNA-NAU-MIB", "snaLuRtmOverFlows"), ("SNA-NAU-MIB", "snaLuRtmObjRange"), ("SNA-NAU-MIB", "snaLuRtmNumTrans"), ) ) if mibBuilder.loadTexts: snaMgtToolsRtmGroup.setDescription("A collection of objects providing the\ninstrumentation of RTM for SNA LU 2.0.") # Compliances snanauCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 2, 1, 1)).setObjects(*(("SNA-NAU-MIB", "snaLuGroup"), ("SNA-NAU-MIB", "snaMgtToolsRtmGroup"), ("SNA-NAU-MIB", "snaPu20Group"), ("SNA-NAU-MIB", "snaNodeGroup"), ("SNA-NAU-MIB", "snaSessionGroup"), ) ) if mibBuilder.loadTexts: snanauCompliance.setDescription("The compliance statement for the SNMPv2 entities\nwhich implement the snanau MIB.") # Exports # Module identity mibBuilder.exportSymbols("SNA-NAU-MIB", PYSNMP_MODULE_ID=snanauMIB) # Objects mibBuilder.exportSymbols("SNA-NAU-MIB", snanauMIB=snanauMIB, snanauObjects=snanauObjects, snaNode=snaNode, snaNodeAdminTable=snaNodeAdminTable, snaNodeAdminEntry=snaNodeAdminEntry, snaNodeAdminIndex=snaNodeAdminIndex, snaNodeAdminName=snaNodeAdminName, snaNodeAdminType=snaNodeAdminType, snaNodeAdminXidFormat=snaNodeAdminXidFormat, snaNodeAdminBlockNum=snaNodeAdminBlockNum, snaNodeAdminIdNum=snaNodeAdminIdNum, snaNodeAdminEnablingMethod=snaNodeAdminEnablingMethod, snaNodeAdminLuTermDefault=snaNodeAdminLuTermDefault, snaNodeAdminMaxLu=snaNodeAdminMaxLu, snaNodeAdminHostDescription=snaNodeAdminHostDescription, snaNodeAdminStopMethod=snaNodeAdminStopMethod, snaNodeAdminState=snaNodeAdminState, snaNodeAdminRowStatus=snaNodeAdminRowStatus, snaNodeAdminTableLastChange=snaNodeAdminTableLastChange, snaNodeOperTable=snaNodeOperTable, snaNodeOperEntry=snaNodeOperEntry, snaNodeOperName=snaNodeOperName, snaNodeOperType=snaNodeOperType, snaNodeOperXidFormat=snaNodeOperXidFormat, snaNodeOperBlockNum=snaNodeOperBlockNum, snaNodeOperIdNum=snaNodeOperIdNum, snaNodeOperEnablingMethod=snaNodeOperEnablingMethod, snaNodeOperLuTermDefault=snaNodeOperLuTermDefault, snaNodeOperMaxLu=snaNodeOperMaxLu, snaNodeOperHostDescription=snaNodeOperHostDescription, snaNodeOperStopMethod=snaNodeOperStopMethod, snaNodeOperState=snaNodeOperState, snaNodeOperHostSscpId=snaNodeOperHostSscpId, snaNodeOperStartTime=snaNodeOperStartTime, snaNodeOperLastStateChange=snaNodeOperLastStateChange, snaNodeOperActFailures=snaNodeOperActFailures, snaNodeOperActFailureReason=snaNodeOperActFailureReason, snaNodeOperTableLastChange=snaNodeOperTableLastChange, snaPu20StatsTable=snaPu20StatsTable, snaPu20StatsEntry=snaPu20StatsEntry, snaPu20StatsSentBytes=snaPu20StatsSentBytes, snaPu20StatsReceivedBytes=snaPu20StatsReceivedBytes, snaPu20StatsSentPius=snaPu20StatsSentPius, snaPu20StatsReceivedPius=snaPu20StatsReceivedPius, snaPu20StatsSentNegativeResps=snaPu20StatsSentNegativeResps, snaPu20StatsReceivedNegativeResps=snaPu20StatsReceivedNegativeResps, snaPu20StatsActLus=snaPu20StatsActLus, snaPu20StatsInActLus=snaPu20StatsInActLus, snaPu20StatsBindLus=snaPu20StatsBindLus, snaNodeLinkAdminTable=snaNodeLinkAdminTable, snaNodeLinkAdminEntry=snaNodeLinkAdminEntry, snaNodeLinkAdminIndex=snaNodeLinkAdminIndex, snaNodeLinkAdminSpecific=snaNodeLinkAdminSpecific, snaNodeLinkAdminMaxPiu=snaNodeLinkAdminMaxPiu, snaNodeLinkAdminRowStatus=snaNodeLinkAdminRowStatus, snaNodeLinkAdminTableLastChange=snaNodeLinkAdminTableLastChange, snaNodeLinkOperTable=snaNodeLinkOperTable, snaNodeLinkOperEntry=snaNodeLinkOperEntry, snaNodeLinkOperSpecific=snaNodeLinkOperSpecific, snaNodeLinkOperMaxPiu=snaNodeLinkOperMaxPiu, snaNodeLinkOperTableLastChange=snaNodeLinkOperTableLastChange, snaNodeTraps=snaNodeTraps, snaLu=snaLu, snaLuAdminTable=snaLuAdminTable, snaLuAdminEntry=snaLuAdminEntry, snaLuAdminLuIndex=snaLuAdminLuIndex, snaLuAdminName=snaLuAdminName, snaLuAdminSnaName=snaLuAdminSnaName, snaLuAdminType=snaLuAdminType, snaLuAdminDepType=snaLuAdminDepType, snaLuAdminLocalAddress=snaLuAdminLocalAddress, snaLuAdminDisplayModel=snaLuAdminDisplayModel, snaLuAdminTerm=snaLuAdminTerm, snaLuAdminRowStatus=snaLuAdminRowStatus, snaLuOperTable=snaLuOperTable, snaLuOperEntry=snaLuOperEntry, snaLuOperName=snaLuOperName, snaLuOperSnaName=snaLuOperSnaName, snaLuOperType=snaLuOperType, snaLuOperDepType=snaLuOperDepType, snaLuOperLocalAddress=snaLuOperLocalAddress, snaLuOperDisplayModel=snaLuOperDisplayModel, snaLuOperTerm=snaLuOperTerm, snaLuOperState=snaLuOperState, snaLuOperSessnCount=snaLuOperSessnCount, snaLuSessnTable=snaLuSessnTable, snaLuSessnEntry=snaLuSessnEntry, snaLuSessnRluIndex=snaLuSessnRluIndex, snaLuSessnIndex=snaLuSessnIndex, snaLuSessnLocalApplName=snaLuSessnLocalApplName, snaLuSessnRemoteLuName=snaLuSessnRemoteLuName, snaLuSessnMaxSndRuSize=snaLuSessnMaxSndRuSize, snaLuSessnMaxRcvRuSize=snaLuSessnMaxRcvRuSize, snaLuSessnSndPacingSize=snaLuSessnSndPacingSize, snaLuSessnRcvPacingSize=snaLuSessnRcvPacingSize, snaLuSessnActiveTime=snaLuSessnActiveTime, snaLuSessnAdminState=snaLuSessnAdminState, snaLuSessnOperState=snaLuSessnOperState, snaLuSessnSenseData=snaLuSessnSenseData, snaLuSessnTerminationRu=snaLuSessnTerminationRu, snaLuSessnUnbindType=snaLuSessnUnbindType, snaLuSessnLinkIndex=snaLuSessnLinkIndex, snaLuSessnStatsTable=snaLuSessnStatsTable, snaLuSessnStatsEntry=snaLuSessnStatsEntry, snaLuSessnStatsSentBytes=snaLuSessnStatsSentBytes, snaLuSessnStatsReceivedBytes=snaLuSessnStatsReceivedBytes, snaLuSessnStatsSentRus=snaLuSessnStatsSentRus, snaLuSessnStatsReceivedRus=snaLuSessnStatsReceivedRus, snaLuSessnStatsSentNegativeResps=snaLuSessnStatsSentNegativeResps, snaLuSessnStatsReceivedNegativeResps=snaLuSessnStatsReceivedNegativeResps, snaLuTraps=snaLuTraps, snaMgtTools=snaMgtTools, snaLuRtmTable=snaLuRtmTable, snaLuRtmEntry=snaLuRtmEntry, snaLuRtmPuIndex=snaLuRtmPuIndex, snaLuRtmLuIndex=snaLuRtmLuIndex, snaLuRtmState=snaLuRtmState, snaLuRtmStateTime=snaLuRtmStateTime, snaLuRtmDef=snaLuRtmDef, snaLuRtmBoundary1=snaLuRtmBoundary1, snaLuRtmBoundary2=snaLuRtmBoundary2, snaLuRtmBoundary3=snaLuRtmBoundary3, snaLuRtmBoundary4=snaLuRtmBoundary4, snaLuRtmCounter1=snaLuRtmCounter1, snaLuRtmCounter2=snaLuRtmCounter2, snaLuRtmCounter3=snaLuRtmCounter3) mibBuilder.exportSymbols("SNA-NAU-MIB", snaLuRtmCounter4=snaLuRtmCounter4, snaLuRtmOverFlows=snaLuRtmOverFlows, snaLuRtmObjPercent=snaLuRtmObjPercent, snaLuRtmObjRange=snaLuRtmObjRange, snaLuRtmNumTrans=snaLuRtmNumTrans, snaLuRtmLastRspTime=snaLuRtmLastRspTime, snaLuRtmAvgRspTime=snaLuRtmAvgRspTime, snanauConformance=snanauConformance, snanauCompliances=snanauCompliances, snanauGroups=snanauGroups) # Notifications mibBuilder.exportSymbols("SNA-NAU-MIB", snaNodeStateChangeTrap=snaNodeStateChangeTrap, snaNodeActFailTrap=snaNodeActFailTrap, snaLuStateChangeTrap=snaLuStateChangeTrap, snaLuSessnBindFailTrap=snaLuSessnBindFailTrap) # Groups mibBuilder.exportSymbols("SNA-NAU-MIB", snaNodeGroup=snaNodeGroup, snaLuGroup=snaLuGroup, snaSessionGroup=snaSessionGroup, snaPu20Group=snaPu20Group, snaMgtToolsRtmGroup=snaMgtToolsRtmGroup) # Compliances mibBuilder.exportSymbols("SNA-NAU-MIB", snanauCompliance=snanauCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ENTITY-SENSOR-MIB.py0000644000014400001440000002413211736645136021462 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ENTITY-SENSOR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:56 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( entPhysicalIndex, entityPhysicalGroup, ) = mibBuilder.importSymbols("ENTITY-MIB", "entPhysicalIndex", "entityPhysicalGroup") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TimeStamp") # Types class EntitySensorDataScale(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,9,15,11,6,14,4,17,7,5,13,8,10,3,12,16,2,) namedValues = NamedValues(("yocto", 1), ("kilo", 10), ("mega", 11), ("giga", 12), ("tera", 13), ("exa", 14), ("peta", 15), ("zetta", 16), ("yotta", 17), ("zepto", 2), ("atto", 3), ("femto", 4), ("pico", 5), ("nano", 6), ("micro", 7), ("milli", 8), ("units", 9), ) class EntitySensorDataType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,12,11,8,10,6,4,2,3,7,1,9,) namedValues = NamedValues(("other", 1), ("rpm", 10), ("cmm", 11), ("truthvalue", 12), ("unknown", 2), ("voltsAC", 3), ("voltsDC", 4), ("amperes", 5), ("watts", 6), ("hertz", 7), ("celsius", 8), ("percentRH", 9), ) class EntitySensorPrecision(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(-8,9) class EntitySensorStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,3,2,) namedValues = NamedValues(("ok", 1), ("unavailable", 2), ("nonoperational", 3), ) class EntitySensorValue(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(-1000000000,1000000000) # Objects entitySensorMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 99)).setRevisions(("2002-12-16 00:00",)) if mibBuilder.loadTexts: entitySensorMIB.setOrganization("IETF Entity MIB Working Group") if mibBuilder.loadTexts: entitySensorMIB.setContactInfo(" Andy Bierman\nCisco Systems, Inc.\nTel: +1 408-527-3711\nE-mail: abierman@cisco.com\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134\n\nDan Romascanu\nAvaya Inc.\nTel: +972-3-645-8414\nEmail: dromasca@avaya.com\nPostal: Atidim technology Park, Bldg. #3\nTel Aviv, Israel, 61131\n\nK.C. Norseth\nL-3 Communications\nTel: +1 801-594-2809\nEmail: kenyon.c.norseth@L-3com.com\nPostal: 640 N. 2200 West.\n\n\n\nSalt Lake City, Utah 84116-0850\n\nSend comments to \nMailing list subscription info:\nhttp://www.ietf.org/mailman/listinfo/entmib ") if mibBuilder.loadTexts: entitySensorMIB.setDescription("This module defines Entity MIB extensions for physical\nsensors.\n\nCopyright (C) The Internet Society (2002). This version\nof this MIB module is part of RFC 3433; see the RFC\nitself for full legal notices.") entitySensorObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 99, 1)) entPhySensorTable = MibTable((1, 3, 6, 1, 2, 1, 99, 1, 1)) if mibBuilder.loadTexts: entPhySensorTable.setDescription("This table contains one row per physical sensor represented\nby an associated row in the entPhysicalTable.") entPhySensorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 99, 1, 1, 1)).setIndexNames((0, "ENTITY-MIB", "entPhysicalIndex")) if mibBuilder.loadTexts: entPhySensorEntry.setDescription("Information about a particular physical sensor.\n\n\n\n\n\nAn entry in this table describes the present reading of a\nsensor, the measurement units and scale, and sensor\noperational status.\n\nEntries are created in this table by the agent. An entry\nfor each physical sensor SHOULD be created at the same time\nas the associated entPhysicalEntry. An entry SHOULD be\ndestroyed if the associated entPhysicalEntry is destroyed.") entPhySensorType = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 1), EntitySensorDataType()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorType.setDescription("The type of data returned by the associated\nentPhySensorValue object.\n\nThis object SHOULD be set by the agent during entry\ncreation, and the value SHOULD NOT change during operation.") entPhySensorScale = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 2), EntitySensorDataScale()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorScale.setDescription("The exponent to apply to values returned by the associated\nentPhySensorValue object.\n\nThis object SHOULD be set by the agent during entry\ncreation, and the value SHOULD NOT change during operation.") entPhySensorPrecision = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 3), EntitySensorPrecision()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorPrecision.setDescription("The number of decimal places of precision in fixed-point\nsensor values returned by the associated entPhySensorValue\nobject.\n\nThis object SHOULD be set to '0' when the associated\nentPhySensorType value is not a fixed-point type: e.g.,\n'percentRH(9)', 'rpm(10)', 'cmm(11)', or 'truthvalue(12)'.\n\nThis object SHOULD be set by the agent during entry\ncreation, and the value SHOULD NOT change during operation.") entPhySensorValue = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 4), EntitySensorValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorValue.setDescription("The most recent measurement obtained by the agent for this\nsensor.\n\nTo correctly interpret the value of this object, the\nassociated entPhySensorType, entPhySensorScale, and\nentPhySensorPrecision objects must also be examined.") entPhySensorOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 5), EntitySensorStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorOperStatus.setDescription("The operational status of the sensor.") entPhySensorUnitsDisplay = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorUnitsDisplay.setDescription("A textual description of the data units that should be used\nin the display of entPhySensorValue.") entPhySensorValueTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorValueTimeStamp.setDescription("The value of sysUpTime at the time the status and/or value\nof this sensor was last obtained by the agent.") entPhySensorValueUpdateRate = MibTableColumn((1, 3, 6, 1, 2, 1, 99, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhySensorValueUpdateRate.setDescription("An indication of the frequency that the agent updates the\nassociated entPhySensorValue object, representing in\nmilliseconds.\n\nThe value zero indicates:\n\n - the sensor value is updated on demand (e.g.,\n when polled by the agent for a get-request),\n - the sensor value is updated when the sensor\n value changes (event-driven),\n - the agent does not know the update rate.") entitySensorConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 99, 3)) entitySensorCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 99, 3, 1)) entitySensorGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 99, 3, 2)) # Augmentions # Groups entitySensorValueGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 99, 3, 2, 1)).setObjects(*(("ENTITY-SENSOR-MIB", "entPhySensorValue"), ("ENTITY-SENSOR-MIB", "entPhySensorScale"), ("ENTITY-SENSOR-MIB", "entPhySensorValueTimeStamp"), ("ENTITY-SENSOR-MIB", "entPhySensorOperStatus"), ("ENTITY-SENSOR-MIB", "entPhySensorUnitsDisplay"), ("ENTITY-SENSOR-MIB", "entPhySensorValueUpdateRate"), ("ENTITY-SENSOR-MIB", "entPhySensorType"), ("ENTITY-SENSOR-MIB", "entPhySensorPrecision"), ) ) if mibBuilder.loadTexts: entitySensorValueGroup.setDescription("A collection of objects representing physical entity sensor\ninformation.") # Compliances entitySensorCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 99, 3, 1, 1)).setObjects(*(("ENTITY-MIB", "entityPhysicalGroup"), ("ENTITY-SENSOR-MIB", "entitySensorValueGroup"), ) ) if mibBuilder.loadTexts: entitySensorCompliance.setDescription("Describes the requirements for conformance to the Entity\nSensor MIB module.") # Exports # Module identity mibBuilder.exportSymbols("ENTITY-SENSOR-MIB", PYSNMP_MODULE_ID=entitySensorMIB) # Types mibBuilder.exportSymbols("ENTITY-SENSOR-MIB", EntitySensorDataScale=EntitySensorDataScale, EntitySensorDataType=EntitySensorDataType, EntitySensorPrecision=EntitySensorPrecision, EntitySensorStatus=EntitySensorStatus, EntitySensorValue=EntitySensorValue) # Objects mibBuilder.exportSymbols("ENTITY-SENSOR-MIB", entitySensorMIB=entitySensorMIB, entitySensorObjects=entitySensorObjects, entPhySensorTable=entPhySensorTable, entPhySensorEntry=entPhySensorEntry, entPhySensorType=entPhySensorType, entPhySensorScale=entPhySensorScale, entPhySensorPrecision=entPhySensorPrecision, entPhySensorValue=entPhySensorValue, entPhySensorOperStatus=entPhySensorOperStatus, entPhySensorUnitsDisplay=entPhySensorUnitsDisplay, entPhySensorValueTimeStamp=entPhySensorValueTimeStamp, entPhySensorValueUpdateRate=entPhySensorValueUpdateRate, entitySensorConformance=entitySensorConformance, entitySensorCompliances=entitySensorCompliances, entitySensorGroups=entitySensorGroups) # Groups mibBuilder.exportSymbols("ENTITY-SENSOR-MIB", entitySensorValueGroup=entitySensorValueGroup) # Compliances mibBuilder.exportSymbols("ENTITY-SENSOR-MIB", entitySensorCompliance=entitySensorCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOCS-IETF-SUBMGT-MIB.py0000644000014400001440000005404311736645135021716 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOCS-IETF-SUBMGT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:52 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( diffServActionStorage, diffServAlgDropStatus, diffServAlgDropStorage, diffServAlgDropType, diffServClfrElementStatus, diffServClfrElementStorage, diffServClfrStatus, diffServClfrStorage, diffServCountActStorage, diffServDataPathStatus, diffServDataPathStorage, diffServMIBActionGroup, diffServMIBAlgDropGroup, diffServMIBClfrElementGroup, diffServMIBClfrGroup, diffServMIBCounterGroup, diffServMIBDataPathGroup, diffServMIBMultiFieldClfrGroup, diffServMultiFieldClfrAddrType, diffServMultiFieldClfrDstAddr, diffServMultiFieldClfrSrcAddr, diffServMultiFieldClfrStorage, ) = mibBuilder.importSymbols("DIFFSERV-MIB", "diffServActionStorage", "diffServAlgDropStatus", "diffServAlgDropStorage", "diffServAlgDropType", "diffServClfrElementStatus", "diffServClfrElementStorage", "diffServClfrStatus", "diffServClfrStorage", "diffServCountActStorage", "diffServDataPathStatus", "diffServDataPathStorage", "diffServMIBActionGroup", "diffServMIBAlgDropGroup", "diffServMIBClfrElementGroup", "diffServMIBClfrGroup", "diffServMIBCounterGroup", "diffServMIBDataPathGroup", "diffServMIBMultiFieldClfrGroup", "diffServMultiFieldClfrAddrType", "diffServMultiFieldClfrDstAddr", "diffServMultiFieldClfrSrcAddr", "diffServMultiFieldClfrStorage") ( docsIfCmtsCmStatusEntry, docsIfCmtsCmStatusIndex, ) = mibBuilder.importSymbols("DOCS-IF-MIB", "docsIfCmtsCmStatusEntry", "docsIfCmtsCmStatusIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowStatus, StorageType, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TimeStamp", "TruthValue") # Objects docsSubMgt = ModuleIdentity((1, 3, 6, 1, 2, 1, 125)).setRevisions(("2005-03-29 00:00",)) if mibBuilder.loadTexts: docsSubMgt.setOrganization("IETF IP over Cable Data Network (IPCDN) Working\nGroup") if mibBuilder.loadTexts: docsSubMgt.setContactInfo(" Wilson Sawyer\nPostal: 50 Kelly Brook Lane\n East Hampstead, NH 03826\n U.S.A.\n\nPhone: +1 603 382 7080\nE-mail: wsawyer@ieee.org\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-chairs: Richard Woundy, Richard_Woundy@cable.comcast.com\n Jean-Francois Mule, jf.mule@cablelabs.com") if mibBuilder.loadTexts: docsSubMgt.setDescription("This is the CMTS centric subscriber management MIB for\nDOCSIS-compliant CMTS. It provides the objects to allow a Cable\nModem Termination operator to control the IP addresses and\nprotocols associated with subscribers' cable modems.\n\n\n\n\n\n\nCopyright (C) The Internet Society (2005). This version of this\nMIB module is part of RFC 4036; see the RFC itself for full legal\nnotices.") docsSubMgtObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 125, 1)) docsSubMgtCpeControlTable = MibTable((1, 3, 6, 1, 2, 1, 125, 1, 1)) if mibBuilder.loadTexts: docsSubMgtCpeControlTable.setDescription("This table AUGMENTs the docsIfCmtsCmStatusTable, adding\nfour WRITEable objects, as well as a read-only object, all of\nwhich reflect the state of subscriber management on a particular\nCM.") docsSubMgtCpeControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 125, 1, 1, 1)) if mibBuilder.loadTexts: docsSubMgtCpeControlEntry.setDescription("A row in the docsSubMgtCpeControlTable. All values are set\nat successful modem registration, either from the system default,\nor from objects included in the DOCSIS registration request sent\nupstream to the CMTS from the CM. The contents of this entry are\nmeaningless unless the corresponding docsIfCmtsCmStatusValue (see\nreference) is registrationComplete(6). The persistence of this\nrow is determined solely by the lifespan of the corresponding\ndocsIfCmtsCmStatusEntry (normally StorageType=volatile).") docsSubMgtCpeControlMaxCpeIp = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCpeControlMaxCpeIp.setDescription("The number of simultaneous IP addresses permitted behind\nthe CM. If this is set to zero, all CPE traffic from the CM is\ndropped. If the provisioning object corresponding to\ndocsSubMgtCpeIpTable includes more CPE IP address entries for\nthis modem than the value of this object, then this object is\nset to the count of the number of rows in docsSubMgtCpeIpTable\nthat have the same docsIfCmtsCmStatusIndex value. (For example,\nif the CM has 5 IP addresses specified for it, this value is 5.)\nThis limit applies to learned and DOCSIS-provisioned entries\nbut not to entries added through some administrative\nprocess at the CMTS. If not set through DOCSIS provisioning,\nthis object defaults to docsSubMgtCpeMaxIpDefault. Note that\nthis object is only meaningful if docsSubMgtCpeControlActive\nis true.") docsSubMgtCpeControlActive = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 1, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCpeControlActive.setDescription("Controls the application of subscriber management to\nthis cable modem. If this is set to true, CMTS-based CPE\ncontrol is active, and all the actions required by the various\nfilter tables and controls apply at the CMTS. If this is set\nto false, no subscriber management filtering is done at the\nCMTS (but other filters may apply). If not set through DOCSIS\nprovisioning, this object defaults to\ndocsSubMgtCpeActiveDefault.") docsSubMgtCpeControlLearnable = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 1, 1, 3), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCpeControlLearnable.setDescription("Controls whether the CMTS may learn (and pass traffic\nfor) CPE IP addresses associated with a cable modem. If this is\nset to true, the CMTS may learn up to docsSubMgtMaxCpeIp\n\n\n\naddresses (less any DOCSIS-provisioned entries) related to this\nCM. Those IP addresses are added (by internal process) to the\ndocsSubMgtCpeIpTable. The nature of the learning mechanism is\nnot specified here.\n\nIf not set through DOCSIS provisioning, this object defaults to\ndocsSubMgtCpeLearnableDefault. Note that this object is only\nmeaningful if docsSubMgtCpeControlActive is true.") docsSubMgtCpeControlReset = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 1, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCpeControlReset.setDescription("This object always returns false on read. If this object is\nset to true, the rows with 'learned' addresses in\ndocsSubMgtCpeIpTable for this CM are deleted from that table.") docsSubMgtCpeControlLastReset = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 1, 1, 5), TimeStamp().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: docsSubMgtCpeControlLastReset.setDescription("The value of sysUpTime when docsSubMgtCpeControlReset was\nlast set true. Zero if never reset.") docsSubMgtCpeMaxIpDefault = MibScalar((1, 3, 6, 1, 2, 1, 125, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCpeMaxIpDefault.setDescription("The default value for docsSubMgtCpeControlMaxCpeIp if not\nsignaled in the DOCSIS Registration request. This value should\nbe treated as nonvolatile; if set, its value should persist\nacross device resets.") docsSubMgtCpeActiveDefault = MibScalar((1, 3, 6, 1, 2, 1, 125, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCpeActiveDefault.setDescription("The default value for docsSubMgtCpeControlActive if not\n\n\n\nsignaled in the DOCSIS Registration request. This value should\nbe treated as nonvolatile; if set, its value should persist\nacross device resets.") docsSubMgtCpeLearnableDefault = MibScalar((1, 3, 6, 1, 2, 1, 125, 1, 4), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCpeLearnableDefault.setDescription("The default value for docsSubMgtCpeControlLearnable if not\nsignaled in the DOCSIS Registration request. This value should\nbe treated as nonvolatile; if set, its value should persist\nacross device resets.") docsSubMgtCpeIpTable = MibTable((1, 3, 6, 1, 2, 1, 125, 1, 5)) if mibBuilder.loadTexts: docsSubMgtCpeIpTable.setDescription("A table of CPE IP addresses known on a per-CM basis.") docsSubMgtCpeIpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 125, 1, 5, 1)).setIndexNames((0, "DOCS-IF-MIB", "docsIfCmtsCmStatusIndex"), (0, "DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeIpIndex")) if mibBuilder.loadTexts: docsSubMgtCpeIpEntry.setDescription("An entry in the docsSubMgtCpeIpTable. The first index is\nthe specific modem we're referring to, and the second index is\nthe specific CPE IP entry.") docsSubMgtCpeIpIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsSubMgtCpeIpIndex.setDescription("The index of this CPE IP address relative to the indexed CM.\nAn entry is created either through the included CPE IP addresses\nin the provisioning object, or via learning.\n\nIf docsSubMgtCpeControlActive is true and a CMTS receives\nan IP packet from a CM that contains a source IP address that\ndoes not match one of the docsSubMgtCpeIpAddr entries for this\nCM, one of two things occurs. If the number of entries is less\nthan docsSubMgtCpeControlMaxCpeIp, the source address is added to\nthe table and the packet is forwarded. If the number of entries\nequals the docsSubMgtCpeControlMaxCpeIp, then the packet is\ndropped.") docsSubMgtCpeIpAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 5, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsSubMgtCpeIpAddressType.setDescription("The type of internet address of docsSubMgtCpeIpAddr.") docsSubMgtCpeIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 5, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsSubMgtCpeIpAddr.setDescription("The IP address either set from provisioning or learned via\naddress gleaning or other forwarding means. See\ndocsSubMgtCpeIpIndex for the mechanism.\n\nThe type of this address is determined by the value of\ndocsSubMgtCpeIpAddressType.") docsSubMgtCpeIpLearned = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 5, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsSubMgtCpeIpLearned.setDescription("If true, this entry was learned from IP packets sent\nupstream rather than from the provisioning objects.") docsSubMgtCmFilterTable = MibTable((1, 3, 6, 1, 2, 1, 125, 1, 6)) if mibBuilder.loadTexts: docsSubMgtCmFilterTable.setDescription("Binds filter groups to modems, identifying for each modem\nthe upstream and downstream filter groups that apply to packets\nfor that modem. Normally, this table reflects the filter group\nvalues signaled by DOCSIS Registration, although values may be\noverridden by management action.\n\nFor each of the columns in this table, zero is a distinguished\nvalue, indicating that the default filtering action is to be\ntaken rather than that associated with a filter group number.\nZero is used if the filter group is not signaled by DOCSIS\nregistration.") docsSubMgtCmFilterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 125, 1, 6, 1)) if mibBuilder.loadTexts: docsSubMgtCmFilterEntry.setDescription("Binds a filter group to each direction of traffic for a\nmodem. The filters in this entry apply if\ndocsSubMgtCpeControlActive is true.\n\nThe contents of this entry are meaningless unless the\ncorresponding docsIfCmtsCmStatusValue (see reference) is\nregistrationComplete(6). The persistence of this row is\ndetermined solely by the lifespan of the corresponding\ndocsIfCmtsCmStatusEntry (normally StorageType=volatile).") docsSubMgtCmFilterSubDownstream = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCmFilterSubDownstream.setDescription("The filter group applied to traffic destined for subscribers\nattached to the referenced CM. Upon row creation, this is set\neither to zero (use default classification, the\ndiffServClfrElementSpecific=zeroDotZero row of\ndiffServClfrElementTable) or to the value in the provisioning\nobject sent upstream from the CM to the CMTS during registration.\nThe value of this object is the same as that of the filter group\nindex appearing as docsSubMgtFilterGroupIndex.") docsSubMgtCmFilterSubUpstream = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCmFilterSubUpstream.setDescription("The filter group applied to traffic originating from\nsubscribers attached to the referenced CM. Upon row creation\nthis is set to either zero (use default classification, the\ndiffServClfrElementSpecific=zeroDotZero row of\ndiffServClfrElementTable), or to the value in the provisioning\nobject sent upstream from the CM to the CMTS. The value of this\nobject is the same as that of the filter group index appearing as\ndocsSubMgtFilterGroupIndex.") docsSubMgtCmFilterCmDownstream = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCmFilterCmDownstream.setDescription("The filter group applied to traffic destined for the\nreferenced CM itself. Upon row creation this is set either to\nzero (use default classification, the\ndiffServClfrElementSpecific=zeroDotZero row of\ndiffServClfrElementTable), or to the value in the provisioning\nobject sent upstream from the CM to the CMTS during registration.\nThe value of this object is the same as that of the filter group\nindex appearing as docsSubMgtFilterGroupIndex.") docsSubMgtCmFilterCmUpstream = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsSubMgtCmFilterCmUpstream.setDescription("The filter group applied to traffic originating from the\nreferenced CM itself. This is set upon row creation to either\n\n\n\nzero (use default classification, the\ndiffServClfrElementSpecific=zeroDotZero row of\ndiffServClfrElementTable), or to the value in the provisioning\nobject sent upstream from the CM to the CMTS during registration.\nThe value of this object is the same as the filter group index\nappearing as docsSubMgtFilterGroupIndex.") docsSubMgtFilterGroupTable = MibTable((1, 3, 6, 1, 2, 1, 125, 1, 7)) if mibBuilder.loadTexts: docsSubMgtFilterGroupTable.setDescription("Provides a collection of referenceable entries to which\ndiffServClfrElementSpecific refers. This table provides filter\ngroup indices that can be compared with those signaled during\nDOCSIS registration. A packet matches an entry from this table\nif the packet originated from or is destined to a cable modem\nthat registered this index as one of its four filter groups\n(see docsSubMgtCmFilterTable), and if the packet direction and\nMAC address select the use of this index among the four.") docsSubMgtFilterGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 125, 1, 7, 1)).setIndexNames((0, "DOCS-IETF-SUBMGT-MIB", "docsSubMgtFilterGroupIndex")) if mibBuilder.loadTexts: docsSubMgtFilterGroupEntry.setDescription("An entry only exists if needed by the\ndiffServClfrElementEntry. A packet matches this entry if the\npacket's cable modem registered this index as one of its four\nfilter groups (see docsSubMgtCmFilterTable) and if the packet\ndirection and MAC address select the use of this index among\nthe four.") docsSubMgtFilterGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 125, 1, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsSubMgtFilterGroupIndex.setDescription("The filter group index, from the set signaled at DOCSIS\n\n\n\nRegistration. Provides a referenceable entry to which\ndiffServClfrElementSpecific points. A packet matches this\nclassifier entry if the packet's cable modem registered this\nindex value as one of its four filter groups, and if the packet\ndirection and MAC address select the use of this index among\nthe four. Because this is the only field in this table, it is\nread-only, contrary to the usual SMI custom of making indices\nnot-accessible.\n\nNote that although zero may be signaled (or defaulted) at DOCSIS\nRegistration to indicate a default filtering group, no such entry\nappears in this table, as diffServClfrElementSpecific will\nuse a zeroDotZero pointer for that classification.") docsSubMgtConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 125, 2)) docsSubMgtCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 125, 2, 1)) docsSubMgtGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 125, 2, 2)) # Augmentions docsIfCmtsCmStatusEntry, = mibBuilder.importSymbols("DOCS-IF-MIB", "docsIfCmtsCmStatusEntry") docsIfCmtsCmStatusEntry.registerAugmentions(("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeControlEntry")) docsSubMgtCpeControlEntry.setIndexNames(*docsIfCmtsCmStatusEntry.getIndexNames()) docsIfCmtsCmStatusEntry, = mibBuilder.importSymbols("DOCS-IF-MIB", "docsIfCmtsCmStatusEntry") docsIfCmtsCmStatusEntry.registerAugmentions(("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCmFilterEntry")) docsSubMgtCmFilterEntry.setIndexNames(*docsIfCmtsCmStatusEntry.getIndexNames()) # Groups docsSubMgtGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 125, 2, 2, 1)).setObjects(*(("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCmFilterSubDownstream"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtFilterGroupIndex"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeControlReset"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeControlMaxCpeIp"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeMaxIpDefault"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeIpAddr"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeIpLearned"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeActiveDefault"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCmFilterCmUpstream"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCmFilterCmDownstream"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeControlActive"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCmFilterSubUpstream"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeIpAddressType"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeLearnableDefault"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeControlLastReset"), ("DOCS-IETF-SUBMGT-MIB", "docsSubMgtCpeControlLearnable"), ) ) if mibBuilder.loadTexts: docsSubMgtGroup.setDescription("The objects used to manage host-based cable modems\nvia a set of CMTS enforced controls.") # Compliances docsSubMgtBasicCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 125, 2, 1, 1)).setObjects(*(("DOCS-IETF-SUBMGT-MIB", "docsSubMgtGroup"), ("DIFFSERV-MIB", "diffServMIBMultiFieldClfrGroup"), ("DIFFSERV-MIB", "diffServMIBClfrGroup"), ("DIFFSERV-MIB", "diffServMIBClfrElementGroup"), ("DIFFSERV-MIB", "diffServMIBCounterGroup"), ("DIFFSERV-MIB", "diffServMIBActionGroup"), ("DIFFSERV-MIB", "diffServMIBDataPathGroup"), ("DIFFSERV-MIB", "diffServMIBAlgDropGroup"), ) ) if mibBuilder.loadTexts: docsSubMgtBasicCompliance.setDescription("The compliance statement for CMTS devices that implement\nCMTS centric subscriber management.\n\nThis compliance statement applies to implementations that\nsupport DOCSIS 1.0/1.1/2.0, which are not IPv6 capable.") # Exports # Module identity mibBuilder.exportSymbols("DOCS-IETF-SUBMGT-MIB", PYSNMP_MODULE_ID=docsSubMgt) # Objects mibBuilder.exportSymbols("DOCS-IETF-SUBMGT-MIB", docsSubMgt=docsSubMgt, docsSubMgtObjects=docsSubMgtObjects, docsSubMgtCpeControlTable=docsSubMgtCpeControlTable, docsSubMgtCpeControlEntry=docsSubMgtCpeControlEntry, docsSubMgtCpeControlMaxCpeIp=docsSubMgtCpeControlMaxCpeIp, docsSubMgtCpeControlActive=docsSubMgtCpeControlActive, docsSubMgtCpeControlLearnable=docsSubMgtCpeControlLearnable, docsSubMgtCpeControlReset=docsSubMgtCpeControlReset, docsSubMgtCpeControlLastReset=docsSubMgtCpeControlLastReset, docsSubMgtCpeMaxIpDefault=docsSubMgtCpeMaxIpDefault, docsSubMgtCpeActiveDefault=docsSubMgtCpeActiveDefault, docsSubMgtCpeLearnableDefault=docsSubMgtCpeLearnableDefault, docsSubMgtCpeIpTable=docsSubMgtCpeIpTable, docsSubMgtCpeIpEntry=docsSubMgtCpeIpEntry, docsSubMgtCpeIpIndex=docsSubMgtCpeIpIndex, docsSubMgtCpeIpAddressType=docsSubMgtCpeIpAddressType, docsSubMgtCpeIpAddr=docsSubMgtCpeIpAddr, docsSubMgtCpeIpLearned=docsSubMgtCpeIpLearned, docsSubMgtCmFilterTable=docsSubMgtCmFilterTable, docsSubMgtCmFilterEntry=docsSubMgtCmFilterEntry, docsSubMgtCmFilterSubDownstream=docsSubMgtCmFilterSubDownstream, docsSubMgtCmFilterSubUpstream=docsSubMgtCmFilterSubUpstream, docsSubMgtCmFilterCmDownstream=docsSubMgtCmFilterCmDownstream, docsSubMgtCmFilterCmUpstream=docsSubMgtCmFilterCmUpstream, docsSubMgtFilterGroupTable=docsSubMgtFilterGroupTable, docsSubMgtFilterGroupEntry=docsSubMgtFilterGroupEntry, docsSubMgtFilterGroupIndex=docsSubMgtFilterGroupIndex, docsSubMgtConformance=docsSubMgtConformance, docsSubMgtCompliances=docsSubMgtCompliances, docsSubMgtGroups=docsSubMgtGroups) # Groups mibBuilder.exportSymbols("DOCS-IETF-SUBMGT-MIB", docsSubMgtGroup=docsSubMgtGroup) # Compliances mibBuilder.exportSymbols("DOCS-IETF-SUBMGT-MIB", docsSubMgtBasicCompliance=docsSubMgtBasicCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-ROUTE-MIB.py0000644000014400001440000003733211736645140021167 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-ROUTE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcAddressIdOrZero, FcDomainIdOrZero, fcmInstanceIndex, fcmSwitchIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcAddressIdOrZero", "FcDomainIdOrZero", "fcmInstanceIndex", "fcmSwitchIndex") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TimeStamp") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Objects t11FcRouteMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 144)).setRevisions(("2006-08-14 00:00",)) if mibBuilder.loadTexts: t11FcRouteMIB.setOrganization("T11") if mibBuilder.loadTexts: t11FcRouteMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: cds@cisco.com\n\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA USA 95134\nEmail: kzm@cisco.com") if mibBuilder.loadTexts: t11FcRouteMIB.setDescription("The MIB module for configuring and displaying Fibre\nChannel Route Information.\n\nCopyright (C) The Internet Society (2006). This version\nof this MIB module is part of RFC 4625; see the RFC\nitself for full legal notices.") t11FcRouteNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 144, 0)) t11FcRouteObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 144, 1)) t11FcRouteFabricTable = MibTable((1, 3, 6, 1, 2, 1, 144, 1, 1)) if mibBuilder.loadTexts: t11FcRouteFabricTable.setDescription("The table containing Fibre Channel Routing information\nthat is specific to a Fabric.") t11FcRouteFabricEntry = MibTableRow((1, 3, 6, 1, 2, 1, 144, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteFabricIndex")) if mibBuilder.loadTexts: t11FcRouteFabricEntry.setDescription("Each entry contains routing information specific to a\nparticular Fabric on a particular switch (identified by\nvalues of fcmInstanceIndex and fcmSwitchIndex).") t11FcRouteFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 1, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteFabricIndex.setDescription("A unique index value that uniquely identifies a\nparticular Fabric.\n\nIn a Fabric conformant to FC-SW-3, only a single Fabric\n\n\n\ncan operate within a physical infrastructure, and thus\nthe value of this Fabric Index will always be 1.\n\nIn a Fabric conformant to FC-SW-4, multiple Virtual Fabrics\ncan operate within one (or more) physical infrastructures.\nIn such a case, index value is used to uniquely identify a\nparticular Fabric within a physical infrastructure.") t11FcRouteFabricLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 1, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRouteFabricLastChange.setDescription("The value of sysUpTime at the most recent time when any\ncorresponding row in the t11FcRouteTable was created,\nmodified, or deleted. A corresponding row in the\nt11FcRouteTable is for the same management instance,\nthe same switch, and same Fabric as the row in this table.\n\nIf no change has occurred since the last restart of the\nmanagement system, then the value of this object is 0.") t11FcRouteTable = MibTable((1, 3, 6, 1, 2, 1, 144, 1, 2)) if mibBuilder.loadTexts: t11FcRouteTable.setDescription("The Fibre Channel Routing tables for the\nlocally managed switches. This table lists all the\nroutes that are configured in and/or computed by any\nlocal switch for any Fabric.\n\nSuch routes are used by a switch to forward frames (of user\ndata) on a Fabric. The conceptual process is based on\nextracting the Destination Fibre Channel Address Identifier\n(D_ID) out of a received frame (of user data) and comparing\nit to each entry of this table that is applicable to the\ngiven switch and Fabric. Such comparison consists of first\nperforming a logical-AND of the extracted D_ID with a mask\n(the value of t11FcRouteDestMask) and second comparing the\nresult of that 'AND' operation to the value of\nt11FcRouteDestAddrId. A similar comparison is made of the\nSource Fibre Channel Address Identifier (S_ID) of a frame\n\n\n\nagainst the t11FcRouteSrcAddrId and t11FcRouteSrcMask values\nof an entry. If an entry's value of t11FcRouteInInterface\nis non-zero, then a further comparison determines if the\nframe was received on the appropriate interface. If all of\nthese comparisons for a particular entry are successful,\nthen that entry represents a potential route for forwarding\nthe received frame.\n\nFor entries configured by a user, t11FcRouteProto has\nthe value 'netmgmt'; only entries of this type can be\ndeleted by the user.") t11FcRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 144, 1, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteFabricIndex"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteDestAddrId"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteDestMask"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteSrcAddrId"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteSrcMask"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteInInterface"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteProto"), (0, "T11-FC-ROUTE-MIB", "t11FcRouteOutInterface")) if mibBuilder.loadTexts: t11FcRouteEntry.setDescription("Each entry contains a route to a particular destination,\npossibly from a particular subset of source addresses,\non a particular Fabric via a particular output interface\nand learned in a particular manner.") t11FcRouteDestAddrId = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 1), FcAddressIdOrZero().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteDestAddrId.setDescription("The destination Fibre Channel Address Identifier of\nthis route. A zero-length string for this field is\nnot allowed.") t11FcRouteDestMask = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 2), FcAddressIdOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteDestMask.setDescription("The mask to be logical-ANDed with a destination\nFibre Channel Address Identifier before it is compared\nto the value in the t11FcRouteDestAddrId field.\nAllowed values are 255.255.255, 255.255.0, or 255.0.0.\nFSPF's definition generates routes to a Domain_ID,\nso the mask for all FSPF-generated routes is 255.0.0.\nThe zero-length value has the same meaning as 0.0.0.") t11FcRouteSrcAddrId = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 3), FcAddressIdOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteSrcAddrId.setDescription("The source Fibre Channel Address Identifier of this\nroute. Note that if this object and the corresponding\ninstance of t11FcRouteSrcMask both have a value of 0.0.0,\nthen this route matches all source addresses. The\nzero-length value has the same meaning as 0.0.0.") t11FcRouteSrcMask = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 4), FcAddressIdOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteSrcMask.setDescription("The mask to be logical-ANDed with a source\nFibre Channel Address Identifier before it is compared\nto the value in the t11FcRouteSrcAddrId field. Allowed\nvalues are 255.255.255, 255.255.0, 255.0.0, or 0.0.0.\nThe zero-length value has the same meaning as 0.0.0.") t11FcRouteInInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 5), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteInInterface.setDescription("If the value of this object is non-zero, it is the\nvalue of ifIndex that identifies the local\nFibre Channel interface through which a frame\nmust have been received in order to match with\nthis entry. If the value of this object is zero,\nthe matching does not require that the frame be\nreceived on any specific interface.") t11FcRouteProto = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("other", 1), ("local", 2), ("netmgmt", 3), ("fspf", 4), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteProto.setDescription("The mechanism via which this route was learned:\nother(1) - not specified\nlocal(2) - local interface\nnetmgmt(3)- static route\nfspf(4) - Fibre Shortest Path First") t11FcRouteOutInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 7), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRouteOutInterface.setDescription("The value of ifIndex that identifies the local\nFibre Channel interface through which the next hop\nof this route is to be reached.") t11FcRouteDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 8), FcDomainIdOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FcRouteDomainId.setDescription("The domain_ID of next hop switch.\n\nThis object can have a value of zero if the value\n\n\n\nof t11FcRouteProto is 'local'.") t11FcRouteMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FcRouteMetric.setDescription("The routing metric for this route.\n\nThe use of this object is dependent on t11FcRouteProto.") t11FcRouteType = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("local", 1), ("remote", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FcRouteType.setDescription("The type of route.\n\nlocal(1) - a route for which the next Fibre Channel\n port is the final destination;\nremote(2) - a route for which the next Fibre Channel\n port is not the final destination.") t11FcRouteIfDown = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("remove", 1), ("retain", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FcRouteIfDown.setDescription("The value of this object indicates what happens to\nthis route when the output interface (given by the\ncorresponding value of t11FcRouteOutInterface) is\noperationally 'down'. If this object's value is 'retain',\nthe route is to be retained in this table. If this\nobject's value is 'remove', the route is to be removed\nfrom this table.") t11FcRouteStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 12), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FcRouteStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") t11FcRouteRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 144, 1, 2, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FcRouteRowStatus.setDescription("The status of this conceptual row.\nThe only rows that can be deleted by setting this object to\n'destroy' are those for which t11FcRouteProto has the value\n'netmgmt'.") t11FcRouteConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 144, 2)) t11FcRouteCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 144, 2, 1)) t11FcRouteGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 144, 2, 2)) # Augmentions # Groups t11FcRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 144, 2, 2, 1)).setObjects(*(("T11-FC-ROUTE-MIB", "t11FcRouteRowStatus"), ("T11-FC-ROUTE-MIB", "t11FcRouteIfDown"), ("T11-FC-ROUTE-MIB", "t11FcRouteType"), ("T11-FC-ROUTE-MIB", "t11FcRouteDomainId"), ("T11-FC-ROUTE-MIB", "t11FcRouteMetric"), ("T11-FC-ROUTE-MIB", "t11FcRouteFabricLastChange"), ("T11-FC-ROUTE-MIB", "t11FcRouteStorageType"), ) ) if mibBuilder.loadTexts: t11FcRouteGroup.setDescription("A collection of objects for displaying and configuring\nroutes.") # Compliances t11FcRouteCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 144, 2, 1, 1)).setObjects(*(("T11-FC-ROUTE-MIB", "t11FcRouteGroup"), ) ) if mibBuilder.loadTexts: t11FcRouteCompliance.setDescription("The compliance statement for entities that\nimplement the T11-FC-ROUTE-MIB.\n--\n-- Note: The next four OBJECT clauses are for auxiliary objects, and the\n-- SMIv2 does not permit inclusion of objects that are not accessible\n-- in an OBJECT clause (see Sections 3.1 & 5.4.3 in STD 58, RFC 2580).\n-- Thus, these four clauses cannot be included below in the normal\n-- location for OBJECT clauses.\n--\n-- OBJECT t11FcRouteSrcAddrId\n-- SYNTAX FcAddressIdOrZero (SIZE (0))\n-- DESCRIPTION\n-- 'Support is not required for routes that\n-- match only a subset of possible source\n\n\n\n-- addresses.'\n--\n-- OBJECT t11FcRouteSrcMask\n-- SYNTAX FcAddressIdOrZero (SIZE (0))\n-- DESCRIPTION\n-- 'Support is not required for routes that\n-- match only a subset of possible source\n-- addresses.'\n--\n-- OBJECT t11FcRouteDestMask\n-- DESCRIPTION\n-- 'Support is mandatory only for FSPF-generated\n-- routes. Since FSPF's definition generates\n-- routes to a Domain_ID, the mask for all\n-- FSPF-generated routes is 255.0.0. Thus,\n-- support is only required for 255.0.0.'\n--\n-- OBJECT t11FcRouteInInterface\n-- SYNTAX InterfaceIndexOrZero (0)\n-- DESCRIPTION\n-- 'Support for routes specific to particular\n-- source interfaces is not required.'") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-ROUTE-MIB", PYSNMP_MODULE_ID=t11FcRouteMIB) # Objects mibBuilder.exportSymbols("T11-FC-ROUTE-MIB", t11FcRouteMIB=t11FcRouteMIB, t11FcRouteNotifications=t11FcRouteNotifications, t11FcRouteObjects=t11FcRouteObjects, t11FcRouteFabricTable=t11FcRouteFabricTable, t11FcRouteFabricEntry=t11FcRouteFabricEntry, t11FcRouteFabricIndex=t11FcRouteFabricIndex, t11FcRouteFabricLastChange=t11FcRouteFabricLastChange, t11FcRouteTable=t11FcRouteTable, t11FcRouteEntry=t11FcRouteEntry, t11FcRouteDestAddrId=t11FcRouteDestAddrId, t11FcRouteDestMask=t11FcRouteDestMask, t11FcRouteSrcAddrId=t11FcRouteSrcAddrId, t11FcRouteSrcMask=t11FcRouteSrcMask, t11FcRouteInInterface=t11FcRouteInInterface, t11FcRouteProto=t11FcRouteProto, t11FcRouteOutInterface=t11FcRouteOutInterface, t11FcRouteDomainId=t11FcRouteDomainId, t11FcRouteMetric=t11FcRouteMetric, t11FcRouteType=t11FcRouteType, t11FcRouteIfDown=t11FcRouteIfDown, t11FcRouteStorageType=t11FcRouteStorageType, t11FcRouteRowStatus=t11FcRouteRowStatus, t11FcRouteConformance=t11FcRouteConformance, t11FcRouteCompliances=t11FcRouteCompliances, t11FcRouteGroups=t11FcRouteGroups) # Groups mibBuilder.exportSymbols("T11-FC-ROUTE-MIB", t11FcRouteGroup=t11FcRouteGroup) # Compliances mibBuilder.exportSymbols("T11-FC-ROUTE-MIB", t11FcRouteCompliance=t11FcRouteCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/TOKENRING-MIB.py0000644000014400001440000006262311736645141021002 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TOKENRING-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:46 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( MacAddress, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TimeStamp") # Objects dot5 = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 9)).setRevisions(("1994-10-23 11:50",)) if mibBuilder.loadTexts: dot5.setOrganization("IETF Interfaces MIB Working Group") if mibBuilder.loadTexts: dot5.setContactInfo(" Keith McCloghrie\n\nPostal: cisco Systems, Inc.\n 170 West Tasman Drive,\n San Jose, CA 95134-1706\n US\n\n Phone: +1 408 526 5260\n EMail: kzm@cisco.com") if mibBuilder.loadTexts: dot5.setDescription("The MIB module for IEEE Token Ring entities.") dot5Table = MibTable((1, 3, 6, 1, 2, 1, 10, 9, 1)) if mibBuilder.loadTexts: dot5Table.setDescription("This table contains Token Ring interface\nparameters and state variables, one entry\nper 802.5 interface.") dot5Entry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 9, 1, 1)).setIndexNames((0, "TOKENRING-MIB", "dot5IfIndex")) if mibBuilder.loadTexts: dot5Entry.setDescription("A list of Token Ring status and parameter\nvalues for an 802.5 interface.") dot5IfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5IfIndex.setDescription("The value of this object identifies the\n802.5 interface for which this entry\ncontains management information. The\nvalue of this object for a particular\ninterface has the same value as the\nifIndex object, defined in MIB-II for\nthe same interface.") dot5Commands = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("noop", 1), ("open", 2), ("reset", 3), ("close", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot5Commands.setDescription("When this object is set to the value of\nopen(2), the station should go into the\nopen state. The progress and success of\nthe open is given by the values of the\nobjects dot5RingState and\ndot5RingOpenStatus.\n When this object is set to the value\nof reset(3), then the station should do\na reset. On a reset, all MIB counters\nshould retain their values, if possible.\nOther side affects are dependent on the\nhardware chip set.\n When this object is set to the value\nof close(4), the station should go into\nthe stopped state by removing itself\nfrom the ring.\n Setting this object to a value of\nnoop(1) has no effect.\n When read, this object always has a\nvalue of noop(1).\n The open(2) and close(4) values\ncorrespond to the up(1) and down(2) values\nof MIB-II's ifAdminStatus and ifOperStatus,\ni.e., the setting of ifAdminStatus and\ndot5Commands affects the values of both\ndot5Commands and ifOperStatus.") dot5RingStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 262143))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5RingStatus.setDescription("The current interface status which can\nbe used to diagnose fluctuating problems\nthat can occur on token rings, after a\nstation has successfully been added to\nthe ring.\n Before an open is completed, this\nobject has the value for the 'no status'\ncondition. The dot5RingState and\ndot5RingOpenStatus objects provide for\ndebugging problems when the station\ncan not even enter the ring.\n The object's value is a sum of\nvalues, one for each currently applicable\ncondition. The following values are\ndefined for various conditions:\n\n 0 = No Problems detected\n 32 = Ring Recovery\n 64 = Single Station\n 256 = Remove Received\n 512 = reserved\n 1024 = Auto-Removal Error\n 2048 = Lobe Wire Fault\n 4096 = Transmit Beacon\n 8192 = Soft Error\n 16384 = Hard Error\n 32768 = Signal Loss\n 131072 = no status, open not completed.") dot5RingState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(6,1,3,5,2,4,)).subtype(namedValues=NamedValues(("opened", 1), ("closed", 2), ("opening", 3), ("closing", 4), ("openFailure", 5), ("ringFailure", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5RingState.setDescription("The current interface state with respect\nto entering or leaving the ring.") dot5RingOpenStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,9,8,1,2,11,7,3,10,4,)).subtype(namedValues=NamedValues(("noOpen", 1), ("removeReceived", 10), ("open", 11), ("badParam", 2), ("lobeFailed", 3), ("signalLoss", 4), ("insertionTimeout", 5), ("ringFailed", 6), ("beaconing", 7), ("duplicateMAC", 8), ("requestFailed", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5RingOpenStatus.setDescription("This object indicates the success, or the\nreason for failure, of the station's most\nrecent attempt to enter the ring.") dot5RingSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("oneMegabit", 2), ("fourMegabit", 3), ("sixteenMegabit", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot5RingSpeed.setDescription("The ring-speed at the next insertion into\nthe ring. Note that this may or may not be\ndifferent to the current ring-speed which is\ngiven by MIB-II's ifSpeed. For interfaces\nwhich do not support changing ring-speed,\ndot5RingSpeed can only be set to its current\nvalue. When dot5RingSpeed has the value\nunknown(1), the ring's actual ring-speed is\nto be used.") dot5UpStream = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 7), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5UpStream.setDescription("The MAC-address of the up stream neighbor\nstation in the ring.") dot5ActMonParticipate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot5ActMonParticipate.setDescription("If this object has a value of true(1) then\nthis interface will participate in the\nactive monitor selection process. If the\nvalue is false(2) then it will not.\nSetting this object does not take effect\nuntil the next Active Monitor election, and\nmight not take effect until the next time\nthe interface is opened.") dot5Functional = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 9), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot5Functional.setDescription("The bit mask of all Token Ring functional\naddresses for which this interface will\naccept frames.") dot5LastBeaconSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 1, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5LastBeaconSent.setDescription("The value of MIB-II's sysUpTime object at which\nthe local system last transmitted a Beacon frame\non this interface.") dot5StatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 9, 2)) if mibBuilder.loadTexts: dot5StatsTable.setDescription("A table containing Token Ring statistics,\none entry per 802.5 interface.\n All the statistics are defined using\nthe syntax Counter32 as 32-bit wrap around\ncounters. Thus, if an interface's\nhardware maintains these statistics in\n16-bit counters, then the agent must read\nthe hardware's counters frequently enough\nto prevent loss of significance, in order\nto maintain 32-bit counters in software.") dot5StatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 9, 2, 1)).setIndexNames((0, "TOKENRING-MIB", "dot5StatsIfIndex")) if mibBuilder.loadTexts: dot5StatsEntry.setDescription("An entry contains the 802.5 statistics\nfor a particular interface.") dot5StatsIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsIfIndex.setDescription("The value of this object identifies the\n802.5 interface for which this entry\ncontains management information. The\nvalue of this object for a particular\ninterface has the same value as MIB-II's\nifIndex object for the same interface.") dot5StatsLineErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsLineErrors.setDescription("This counter is incremented when a frame\nor token is copied or repeated by a\nstation, the E bit is zero in the frame\nor token and one of the following\nconditions exists: 1) there is a\nnon-data bit (J or K bit) between the SD\nand the ED of the frame or token, or\n2) there is an FCS error in the frame.") dot5StatsBurstErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsBurstErrors.setDescription("This counter is incremented when a station\ndetects the absence of transitions for five\nhalf-bit timers (burst-five error).") dot5StatsACErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsACErrors.setDescription("This counter is incremented when a station\nreceives an AMP or SMP frame in which A is\nequal to C is equal to 0, and then receives\nanother SMP frame with A is equal to C is\nequal to 0 without first receiving an AMP\nframe. It denotes a station that cannot set\nthe AC bits properly.") dot5StatsAbortTransErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsAbortTransErrors.setDescription("This counter is incremented when a station\ntransmits an abort delimiter while\ntransmitting.") dot5StatsInternalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsInternalErrors.setDescription("This counter is incremented when a station\nrecognizes an internal error.") dot5StatsLostFrameErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsLostFrameErrors.setDescription("This counter is incremented when a station\nis transmitting and its TRR timer expires.\nThis condition denotes a condition where a\ntransmitting station in strip mode does not\nreceive the trailer of the frame before the\nTRR timer goes off.") dot5StatsReceiveCongestions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsReceiveCongestions.setDescription("This counter is incremented when a station\nrecognizes a frame addressed to its\nspecific address, but has no available\nbuffer space indicating that the station\nis congested.") dot5StatsFrameCopiedErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsFrameCopiedErrors.setDescription("This counter is incremented when a station\nrecognizes a frame addressed to its\nspecific address and detects that the FS\nfield A bits are set to 1 indicating a\npossible line hit or duplicate address.") dot5StatsTokenErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsTokenErrors.setDescription("This counter is incremented when a station\nacting as the active monitor recognizes an\nerror condition that needs a token\ntransmitted.") dot5StatsSoftErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsSoftErrors.setDescription("The number of Soft Errors the interface\nhas detected. It directly corresponds to\nthe number of Report Error MAC frames\nthat this interface has transmitted.\nSoft Errors are those which are\nrecoverable by the MAC layer protocols.") dot5StatsHardErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsHardErrors.setDescription("The number of times this interface has\ndetected an immediately recoverable\nfatal error. It denotes the number of\ntimes this interface is either\ntransmitting or receiving beacon MAC\nframes.") dot5StatsSignalLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsSignalLoss.setDescription("The number of times this interface has\ndetected the loss of signal condition from\nthe ring.") dot5StatsTransmitBeacons = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsTransmitBeacons.setDescription("The number of times this interface has\ntransmitted a beacon frame.") dot5StatsRecoverys = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsRecoverys.setDescription("The number of Claim Token MAC frames\nreceived or transmitted after the interface\nhas received a Ring Purge MAC frame. This\ncounter signifies the number of times the\nring has been purged and is being recovered\nback into a normal operating state.") dot5StatsLobeWires = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsLobeWires.setDescription("The number of times the interface has\ndetected an open or short circuit in the\nlobe data path. The adapter will be closed\nand dot5RingState will signify this\ncondition.") dot5StatsRemoves = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsRemoves.setDescription("The number of times the interface has\nreceived a Remove Ring Station MAC frame\nrequest. When this frame is received\nthe interface will enter the close state\nand dot5RingState will signify this\ncondition.") dot5StatsSingles = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsSingles.setDescription("The number of times the interface has\nsensed that it is the only station on the\nring. This will happen if the interface\nis the first one up on a ring, or if\nthere is a hardware problem.") dot5StatsFreqErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5StatsFreqErrors.setDescription("The number of times the interface has\ndetected that the frequency of the\nincoming signal differs from the expected\nfrequency by more than that specified by\nthe IEEE 802.5 standard.") dot5Tests = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 9, 3)) dot5TestInsertFunc = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 9, 3, 1)) if mibBuilder.loadTexts: dot5TestInsertFunc.setDescription("Invoking this test causes the station to test the insert\nring logic of the hardware if the station's lobe media\ncable is connected to a wiring concentrator. Note that\nthis command inserts the station into the network, and\nthus, could cause problems if the station is connected\nto a operational network.") dot5TestFullDuplexLoopBack = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 9, 3, 2)) if mibBuilder.loadTexts: dot5TestFullDuplexLoopBack.setDescription("Invoking this test on a 802.5 interface causes the\ninterface to check the path from memory through the\nchip set's internal logic and back to memory, thus\nchecking the proper functioning of the system's\ninterface to the chip set.") dot5ChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 9, 4)) dot5ChipSetIBM16 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 9, 4, 1)) if mibBuilder.loadTexts: dot5ChipSetIBM16.setDescription("IBM's 16/4 Mbs chip set.") dot5ChipSetTItms380 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 9, 4, 2)) if mibBuilder.loadTexts: dot5ChipSetTItms380.setDescription("Texas Instruments' TMS 380 4Mbs chip-set") dot5ChipSetTItms380c16 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 9, 4, 3)) if mibBuilder.loadTexts: dot5ChipSetTItms380c16.setDescription("Texas Instruments' TMS 380C16 16/4 Mbs chip-set") dot5TimerTable = MibTable((1, 3, 6, 1, 2, 1, 10, 9, 5)) if mibBuilder.loadTexts: dot5TimerTable.setDescription("This table contains Token Ring interface\ntimer values, one entry per 802.5\ninterface.") dot5TimerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 9, 5, 1)).setIndexNames((0, "TOKENRING-MIB", "dot5TimerIfIndex")) if mibBuilder.loadTexts: dot5TimerEntry.setDescription("A list of Token Ring timer values for an\n802.5 interface.") dot5TimerIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerIfIndex.setDescription("The value of this object identifies the\n802.5 interface for which this entry\ncontains timer values. The value of\nthis object for a particular interface\nhas the same value as MIB-II's ifIndex\nobject for the same interface.") dot5TimerReturnRepeat = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerReturnRepeat.setDescription("The time-out value used to ensure the\ninterface will return to Repeat State, in\nunits of 100 micro-seconds. The value\nshould be greater than the maximum ring\nlatency.") dot5TimerHolding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerHolding.setDescription("Maximum period of time a station is\npermitted to transmit frames after capturing\na token, in units of 100 micro-seconds.") dot5TimerQueuePDU = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerQueuePDU.setDescription("The time-out value for enqueuing of an SMP\nPDU after reception of an AMP or SMP\nframe in which the A and C bits were\nequal to 0, in units of 100\nmicro-seconds.") dot5TimerValidTransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerValidTransmit.setDescription("The time-out value used by the active\nmonitor to detect the absence of valid\ntransmissions, in units of 100\nmicro-seconds.") dot5TimerNoToken = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerNoToken.setDescription("The time-out value used to recover from\nvarious-related error situations.\nIf N is the maximum number of stations on\nthe ring, the value of this timer is\nnormally:\ndot5TimerReturnRepeat + N*dot5TimerHolding.") dot5TimerActiveMon = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerActiveMon.setDescription("The time-out value used by the active\nmonitor to stimulate the enqueuing of an\nAMP PDU for transmission, in units of\n100 micro-seconds.") dot5TimerStandbyMon = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerStandbyMon.setDescription("The time-out value used by the stand-by\nmonitors to ensure that there is an active\nmonitor on the ring and to detect a\ncontinuous stream of tokens, in units of\n100 micro-seconds.") dot5TimerErrorReport = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerErrorReport.setDescription("The time-out value which determines how\noften a station shall send a Report Error\nMAC frame to report its error counters,\nin units of 100 micro-seconds.") dot5TimerBeaconTransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerBeaconTransmit.setDescription("The time-out value which determines how\nlong a station shall remain in the state\nof transmitting Beacon frames before\nentering the Bypass state, in units of\n100 micro-seconds.") dot5TimerBeaconReceive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 9, 5, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot5TimerBeaconReceive.setDescription("The time-out value which determines how\nlong a station shall receive Beacon\nframes from its downstream neighbor\nbefore entering the Bypass state, in\nunits of 100 micro-seconds.") dot5Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 9, 6)) dot5Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 9, 6, 1)) dot5Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 9, 6, 2)) # Augmentions # Groups dot5StateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 9, 6, 1, 1)).setObjects(*(("TOKENRING-MIB", "dot5RingOpenStatus"), ("TOKENRING-MIB", "dot5RingSpeed"), ("TOKENRING-MIB", "dot5Functional"), ("TOKENRING-MIB", "dot5RingState"), ("TOKENRING-MIB", "dot5ActMonParticipate"), ("TOKENRING-MIB", "dot5Commands"), ("TOKENRING-MIB", "dot5RingStatus"), ("TOKENRING-MIB", "dot5UpStream"), ("TOKENRING-MIB", "dot5LastBeaconSent"), ) ) if mibBuilder.loadTexts: dot5StateGroup.setDescription("A collection of objects providing state information\nand parameters for IEEE 802.5 interfaces.") dot5StatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 9, 6, 1, 2)).setObjects(*(("TOKENRING-MIB", "dot5StatsRecoverys"), ("TOKENRING-MIB", "dot5StatsHardErrors"), ("TOKENRING-MIB", "dot5StatsACErrors"), ("TOKENRING-MIB", "dot5StatsRemoves"), ("TOKENRING-MIB", "dot5StatsFrameCopiedErrors"), ("TOKENRING-MIB", "dot5StatsSoftErrors"), ("TOKENRING-MIB", "dot5StatsBurstErrors"), ("TOKENRING-MIB", "dot5StatsTokenErrors"), ("TOKENRING-MIB", "dot5StatsLineErrors"), ("TOKENRING-MIB", "dot5StatsSignalLoss"), ("TOKENRING-MIB", "dot5StatsSingles"), ("TOKENRING-MIB", "dot5StatsLostFrameErrors"), ("TOKENRING-MIB", "dot5StatsTransmitBeacons"), ("TOKENRING-MIB", "dot5StatsFreqErrors"), ("TOKENRING-MIB", "dot5StatsLobeWires"), ("TOKENRING-MIB", "dot5StatsAbortTransErrors"), ("TOKENRING-MIB", "dot5StatsInternalErrors"), ("TOKENRING-MIB", "dot5StatsReceiveCongestions"), ) ) if mibBuilder.loadTexts: dot5StatsGroup.setDescription("A collection of objects providing statistics for\nIEEE 802.5 interfaces.") # Compliances dot5Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 9, 6, 2, 1)).setObjects(*(("TOKENRING-MIB", "dot5StateGroup"), ("TOKENRING-MIB", "dot5StatsGroup"), ) ) if mibBuilder.loadTexts: dot5Compliance.setDescription("The compliance statement for SNMPv2 entities\nwhich implement the IEEE 802.5 MIB.") # Exports # Module identity mibBuilder.exportSymbols("TOKENRING-MIB", PYSNMP_MODULE_ID=dot5) # Objects mibBuilder.exportSymbols("TOKENRING-MIB", dot5=dot5, dot5Table=dot5Table, dot5Entry=dot5Entry, dot5IfIndex=dot5IfIndex, dot5Commands=dot5Commands, dot5RingStatus=dot5RingStatus, dot5RingState=dot5RingState, dot5RingOpenStatus=dot5RingOpenStatus, dot5RingSpeed=dot5RingSpeed, dot5UpStream=dot5UpStream, dot5ActMonParticipate=dot5ActMonParticipate, dot5Functional=dot5Functional, dot5LastBeaconSent=dot5LastBeaconSent, dot5StatsTable=dot5StatsTable, dot5StatsEntry=dot5StatsEntry, dot5StatsIfIndex=dot5StatsIfIndex, dot5StatsLineErrors=dot5StatsLineErrors, dot5StatsBurstErrors=dot5StatsBurstErrors, dot5StatsACErrors=dot5StatsACErrors, dot5StatsAbortTransErrors=dot5StatsAbortTransErrors, dot5StatsInternalErrors=dot5StatsInternalErrors, dot5StatsLostFrameErrors=dot5StatsLostFrameErrors, dot5StatsReceiveCongestions=dot5StatsReceiveCongestions, dot5StatsFrameCopiedErrors=dot5StatsFrameCopiedErrors, dot5StatsTokenErrors=dot5StatsTokenErrors, dot5StatsSoftErrors=dot5StatsSoftErrors, dot5StatsHardErrors=dot5StatsHardErrors, dot5StatsSignalLoss=dot5StatsSignalLoss, dot5StatsTransmitBeacons=dot5StatsTransmitBeacons, dot5StatsRecoverys=dot5StatsRecoverys, dot5StatsLobeWires=dot5StatsLobeWires, dot5StatsRemoves=dot5StatsRemoves, dot5StatsSingles=dot5StatsSingles, dot5StatsFreqErrors=dot5StatsFreqErrors, dot5Tests=dot5Tests, dot5TestInsertFunc=dot5TestInsertFunc, dot5TestFullDuplexLoopBack=dot5TestFullDuplexLoopBack, dot5ChipSets=dot5ChipSets, dot5ChipSetIBM16=dot5ChipSetIBM16, dot5ChipSetTItms380=dot5ChipSetTItms380, dot5ChipSetTItms380c16=dot5ChipSetTItms380c16, dot5TimerTable=dot5TimerTable, dot5TimerEntry=dot5TimerEntry, dot5TimerIfIndex=dot5TimerIfIndex, dot5TimerReturnRepeat=dot5TimerReturnRepeat, dot5TimerHolding=dot5TimerHolding, dot5TimerQueuePDU=dot5TimerQueuePDU, dot5TimerValidTransmit=dot5TimerValidTransmit, dot5TimerNoToken=dot5TimerNoToken, dot5TimerActiveMon=dot5TimerActiveMon, dot5TimerStandbyMon=dot5TimerStandbyMon, dot5TimerErrorReport=dot5TimerErrorReport, dot5TimerBeaconTransmit=dot5TimerBeaconTransmit, dot5TimerBeaconReceive=dot5TimerBeaconReceive, dot5Conformance=dot5Conformance, dot5Groups=dot5Groups, dot5Compliances=dot5Compliances) # Groups mibBuilder.exportSymbols("TOKENRING-MIB", dot5StateGroup=dot5StateGroup, dot5StatsGroup=dot5StatsGroup) # Compliances mibBuilder.exportSymbols("TOKENRING-MIB", dot5Compliance=dot5Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ADSL-LINE-EXT-MIB.py0000644000014400001440000011263311736645134021347 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ADSL-LINE-EXT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:38 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( adslAtucIntervalEntry, adslAtucPerfDataEntry, adslAturIntervalEntry, adslAturPerfDataEntry, adslLineAlarmConfProfileEntry, adslLineConfProfileEntry, adslLineEntry, adslMIB, ) = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslAtucIntervalEntry", "adslAtucPerfDataEntry", "adslAturIntervalEntry", "adslAturPerfDataEntry", "adslLineAlarmConfProfileEntry", "adslLineConfProfileEntry", "adslLineEntry", "adslMIB") ( AdslPerfCurrDayCount, AdslPerfPrevDayCount, ) = mibBuilder.importSymbols("ADSL-TC-MIB", "AdslPerfCurrDayCount", "AdslPerfPrevDayCount") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( PerfCurrentCount, PerfIntervalCount, ) = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfCurrentCount", "PerfIntervalCount") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class AdslTransmissionModeType(Bits): namedValues = NamedValues(("ansit1413", 0), ("etsi", 1), ("q9922tcmIsdnNonOverlapped", 10), ("q9922tcmIsdnOverlapped", 11), ("q9921tcmIsdnSymmetric", 12), ("q9921PotsNonOverlapped", 2), ("q9921PotsOverlapped", 3), ("q9921IsdnNonOverlapped", 4), ("q9921isdnOverlapped", 5), ("q9921tcmIsdnNonOverlapped", 6), ("q9921tcmIsdnOverlapped", 7), ("q9922potsNonOverlapeed", 8), ("q9922potsOverlapped", 9), ) # Objects adslExtMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 94, 3)).setRevisions(("2002-12-10 00:00",)) if mibBuilder.loadTexts: adslExtMIB.setOrganization("IETF ADSL MIB Working Group") if mibBuilder.loadTexts: adslExtMIB.setContactInfo("\nFaye Ly\nPedestal Networks\n6503 Dumbarton Circle,\nFremont, CA 94555\nTel: +1 510-578-0158\nFax: +1 510-744-5152\nE-Mail: faye@pedestalnetworks.com\n\nGregory Bathrick\nNokia Networks\n2235 Mercury Way,\nFax: +1 707-535-7300\nE-Mail: greg.bathrick@nokia.com\n\nGeneral Discussion:adslmib@ietf.org\nTo Subscribe: https://www1.ietf.org/mailman/listinfo/adslmib\nArchive: https://www1.ietf.org/mailman/listinfo/adslmib") if mibBuilder.loadTexts: adslExtMIB.setDescription("Copyright (C) The Internet Society (2002). This version of\nthis MIB module is part of RFC 3440; see the RFC itself for\nfull legal notices.\n\nThis MIB Module is a supplement to the ADSL-LINE-MIB\n[RFC2662].") adslExtMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 1)) adslLineExtTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 17)) if mibBuilder.loadTexts: adslLineExtTable.setDescription("This table is an extension of RFC 2662. It\ncontains ADSL line configuration and\nmonitoring information. This includes the ADSL\nline's capabilities and actual ADSL transmission\nsystem.") adslLineExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 17, 1)) if mibBuilder.loadTexts: adslLineExtEntry.setDescription("An entry extends the adslLineEntry defined in\n[RFC2662]. Each entry corresponds to an ADSL\nline.") adslLineTransAtucCap = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 17, 1, 1), AdslTransmissionModeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslLineTransAtucCap.setDescription("The transmission modes, represented by a\nbitmask that the ATU-C is capable of\nsupporting. The modes available are limited\nby the design of the equipment.") adslLineTransAtucConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 17, 1, 2), AdslTransmissionModeType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: adslLineTransAtucConfig.setDescription("The transmission modes, represented by a bitmask,\ncurrently enabled by the ATU-C. The manager can\nonly set those modes that are supported by the\n\n\n\nATU-C. An ATU-C's supported modes are provided by\nAdslLineTransAtucCap.") adslLineTransAtucActual = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 17, 1, 3), AdslTransmissionModeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslLineTransAtucActual.setDescription("The actual transmission mode of the ATU-C.\nDuring ADSL line initialization, the ADSL\nTransceiver Unit - Remote terminal end (ATU-R)\nwill determine the mode used for the link.\nThis value will be limited a single transmission\nmode that is a subset of those modes enabled\nby the ATU-C and denoted by\nadslLineTransAtucConfig. After an initialization\nhas occurred, its mode is saved as the 'Current'\nmode and is persistence should the link go\ndown. This object returns 0 (i.e. BITS with no\nmode bit set) if the mode is not known.") adslLineGlitePowerState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 17, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,2,)).subtype(namedValues=NamedValues(("none", 1), ("l0", 2), ("l1", 3), ("l3", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslLineGlitePowerState.setDescription("The value of this object specifies the power\nstate of this interface. L0 is power on, L1 is\npower on but reduced and L3 is power off. Power\nstate cannot be configured by an operator but it\ncan be viewed via the ifOperStatus object for the\nmanaged ADSL interface. The value of the object\nifOperStatus is set to down(2) if the ADSL\ninterface is in power state L3 and is set to up(1)\nif the ADSL line interface is in power state L0 or\nL1. If the object adslLineTransAtucActual is set to\na G.992.2 (G.Lite)-type transmission mode, the\nvalue of this object will be one of the valid power\nstates: L0(2), L1(3), or L3(4). Otherwise, its\n\n\n\nvalue will be none(1).") adslLineConfProfileDualLite = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 17, 1, 5), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: adslLineConfProfileDualLite.setDescription("This object extends the definition an ADSL line and\nassociated channels (when applicable) for cases\nwhen it is configured in dual mode, and operating\nin a G.Lite-type mode as denoted by\nadslLineTransAtucActual. Dual mode exists when the\nobject, adslLineTransAtucConfig, is configured with\none or more full-rate modes and one or more G.Lite\nmodes simultaneously.\n\nWhen 'dynamic' profiles are implemented, the value\nof object is equal to the index of the applicable\nrow in the ADSL Line Configuration Profile Table,\nAdslLineConfProfileTable defined in ADSL-MIB\n[RFC2662].\n\nIn the case when dual-mode has not been enabled,\nthe value of the object will be equal to the value\nof the object adslLineConfProfile [RFC2662].\n\nWhen `static' profiles are implemented, in much\nlike the case of the object,\nadslLineConfProfileName [RFC2662], this object's\nvalue will need to algorithmically represent the\ncharacteristics of the line. In this case, the\nvalue of the line's ifIndex plus a value indicating\nthe line mode type (e.g., G.Lite, Full-rate) will\nbe used. Therefore, the profile's name is a string\nconcatenating the ifIndex and one of the follow\nvalues: Full or Lite. This string will be\nfixed-length (i.e., 14) with leading zero(s). For\nexample, the profile name for ifIndex that equals\n'15' and is a full rate line, it will be\n'0000000015Full'.") adslAtucPerfDataExtTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18)) if mibBuilder.loadTexts: adslAtucPerfDataExtTable.setDescription("This table extends adslAtucPerfDataTable [RFC2662]\nwith additional ADSL physical line counter\ninformation such as unavailable seconds-line and\nseverely errored seconds-line.") adslAtucPerfDataExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1)) if mibBuilder.loadTexts: adslAtucPerfDataExtEntry.setDescription("An entry extends the adslAtucPerfDataEntry defined\nin [RFC2662]. Each entry corresponds to an ADSL\nline.") adslAtucPerfStatFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfStatFastR.setDescription("The value of this object reports the count of\nthe number of fast line bs since last\nagent reset.") adslAtucPerfStatFailedFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfStatFailedFastR.setDescription("The value of this object reports the count of\nthe number of failed fast line retrains since\nlast agent reset.") adslAtucPerfStatSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfStatSesL.setDescription("The value of this object reports the count of\nthe number of severely errored seconds-line since\nlast agent reset.") adslAtucPerfStatUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfStatUasL.setDescription("The value of this object reports the count of\nthe number of unavailable seconds-line since\nlast agent reset.") adslAtucPerfCurr15MinFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinFastR.setDescription("For the current 15-minute interval,\nadslAtucPerfCurr15MinFastR reports the current\nnumber of seconds during which there have been\n\n\n\nfast retrains.") adslAtucPerfCurr15MinFailedFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinFailedFastR.setDescription("For the current 15-minute interval,\nadslAtucPerfCurr15MinFailedFastR reports the\ncurrent number of seconds during which there\nhave been failed fast retrains.") adslAtucPerfCurr15MinSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinSesL.setDescription("For the current 15-minute interval,\nadslAtucPerfCurr15MinSesL reports the current\nnumber of seconds during which there have been\nseverely errored seconds-line.") adslAtucPerfCurr15MinUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinUasL.setDescription("For the current 15-minute interval,\nadslAtucPerfCurr15MinUasL reports the current\nnumber of seconds during which there have been\nunavailable seconds-line.") adslAtucPerfCurr1DayFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 9), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayFastR.setDescription("For the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed [RFC2662],\nadslAtucPerfCurr1DayFastR reports the number\nof seconds during which there have been\nfast retrains.") adslAtucPerfCurr1DayFailedFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 10), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayFailedFastR.setDescription("For the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed [RFC2662],\nadslAtucPerfCurr1DayFailedFastR reports the\nnumber of seconds during which there have been\nfailed fast retrains.") adslAtucPerfCurr1DaySesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 11), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DaySesL.setDescription("For the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed [RFC2662],\nadslAtucPerfCurr1DaySesL reports the\nnumber of seconds during which there have been\nseverely errored seconds-line.") adslAtucPerfCurr1DayUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 12), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayUasL.setDescription("For the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed [RFC2662],\nadslAtucPerfCurr1DayUasL reports the\nnumber of seconds during which there have been\nunavailable seconds-line.") adslAtucPerfPrev1DayFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 13), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayFastR.setDescription("For the previous day, adslAtucPerfPrev1DayFastR\nreports the number of seconds during which there\nwere fast retrains.") adslAtucPerfPrev1DayFailedFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 14), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayFailedFastR.setDescription("For the previous day,\nadslAtucPerfPrev1DayFailedFastR reports the number\nof seconds during which there were failed fast\nretrains.") adslAtucPerfPrev1DaySesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 15), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DaySesL.setDescription("For the previous day, adslAtucPerfPrev1DaySesL\nreports the number of seconds during which there\nwere severely errored seconds-line.") adslAtucPerfPrev1DayUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 18, 1, 16), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayUasL.setDescription("For the previous day, adslAtucPerfPrev1DayUasL\nreports the number of seconds during which there\n\n\n\nwere unavailable seconds-line.") adslAtucIntervalExtTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 19)) if mibBuilder.loadTexts: adslAtucIntervalExtTable.setDescription("This table provides one row for each ATU-C\nperformance data collection interval for\nADSL physical interfaces whose\nIfEntries' ifType is equal to adsl(94).") adslAtucIntervalExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 19, 1)) if mibBuilder.loadTexts: adslAtucIntervalExtEntry.setDescription("An entry in the\nadslAtucIntervalExtTable.") adslAtucIntervalFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 19, 1, 1), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalFastR.setDescription("For the current interval, adslAtucIntervalFastR\nreports the current number of seconds during which\nthere have been fast retrains.") adslAtucIntervalFailedFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 19, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalFailedFastR.setDescription("For the each interval, adslAtucIntervalFailedFastR\nreports the number of seconds during which\nthere have been failed fast retrains.") adslAtucIntervalSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 19, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalSesL.setDescription("For the each interval, adslAtucIntervalSesL\nreports the number of seconds during which\nthere have been severely errored seconds-line.") adslAtucIntervalUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 19, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalUasL.setDescription("For the each interval, adslAtucIntervalUasL\nreports the number of seconds during which\nthere have been unavailable seconds-line.") adslAturPerfDataExtTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20)) if mibBuilder.loadTexts: adslAturPerfDataExtTable.setDescription("This table contains ADSL physical line counters\nnot defined in the adslAturPerfDataTable\nfrom the ADSL-LINE-MIB [RFC2662].") adslAturPerfDataExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1)) if mibBuilder.loadTexts: adslAturPerfDataExtEntry.setDescription("An entry extends the adslAturPerfDataEntry defined\nin [RFC2662]. Each entry corresponds to an ADSL\nline.") adslAturPerfStatSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfStatSesL.setDescription("The value of this object reports the count of\nseverely errored second-line since the last agent\nreset.") adslAturPerfStatUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfStatUasL.setDescription("The value of this object reports the count of\nunavailable seconds-line since the last agent\nreset.") adslAturPerfCurr15MinSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr15MinSesL.setDescription("For the current 15-minute interval,\nadslAturPerfCurr15MinSesL reports the current\nnumber of seconds during which there have been\nseverely errored seconds-line.") adslAturPerfCurr15MinUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr15MinUasL.setDescription("For the current 15-minute interval,\nadslAturPerfCurr15MinUasL reports the current\nnumber of seconds during which there have been\navailable seconds-line.") adslAturPerfCurr1DaySesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 5), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr1DaySesL.setDescription("For the current day as measured by\nadslAturPerfCurr1DayTimeElapsed [RFC2662],\nadslAturPerfCurr1DaySesL reports the\nnumber of seconds during which there have been\nseverely errored seconds-line.") adslAturPerfCurr1DayUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 6), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr1DayUasL.setDescription("For the current day as measured by\nadslAturPerfCurr1DayTimeElapsed [RFC2662],\nadslAturPerfCurr1DayUasL reports the\nnumber of seconds during which there have been\nunavailable seconds-line.") adslAturPerfPrev1DaySesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 7), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfPrev1DaySesL.setDescription("For the previous day, adslAturPerfPrev1DaySesL\nreports the number of seconds during which there\nwere severely errored seconds-line.") adslAturPerfPrev1DayUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 20, 1, 8), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfPrev1DayUasL.setDescription("For the previous day, adslAturPerfPrev1DayUasL\nreports the number of seconds during which there\nwere severely errored seconds-line.") adslAturIntervalExtTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 21)) if mibBuilder.loadTexts: adslAturIntervalExtTable.setDescription("This table provides one row for each ATU-R\nperformance data collection interval for\nADSL physical interfaces whose\nIfEntries' ifType is equal to adsl(94).") adslAturIntervalExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 21, 1)) if mibBuilder.loadTexts: adslAturIntervalExtEntry.setDescription("An entry in the\nadslAturIntervalExtTable.") adslAturIntervalSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 21, 1, 1), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturIntervalSesL.setDescription("For the each interval, adslAturIntervalSesL\nreports the number of seconds during which\nthere have been severely errored seconds-line.") adslAturIntervalUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 21, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturIntervalUasL.setDescription("For the each interval, adslAturIntervalUasL\nreports the number of seconds during which\nthere have been unavailable seconds-line.") adslConfProfileExtTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 22)) if mibBuilder.loadTexts: adslConfProfileExtTable.setDescription("The adslConfProfileExtTable extends the ADSL line\nprofile configuration information in the\nadslLineConfProfileTable from the ADSL-LINE-MIB\n[RFC2662] by adding the ability to configure the\nADSL physical line mode.") adslConfProfileExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 22, 1)) if mibBuilder.loadTexts: adslConfProfileExtEntry.setDescription("An entry extends the adslLineConfProfileEntry\ndefined in [RFC2662]. Each entry corresponds to an\nADSL line profile.") adslConfProfileLineType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 22, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,5,)).subtype(namedValues=NamedValues(("noChannel", 1), ("fastOnly", 2), ("interleavedOnly", 3), ("fastOrInterleaved", 4), ("fastAndInterleaved", 5), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslConfProfileLineType.setDescription("This object is used to configure the ADSL physical\nline mode. It has following valid values:\n\nnoChannel(1), when no channels exist.\nfastOnly(2), when only fast channel exists.\ninterleavedOnly(3), when only interleaved channel\n exist.\nfastOrInterleaved(4), when either fast or\n interleaved channels can exist, but only one\n at any time.\nfastAndInterleaved(5), when both the fast channel\n and the interleaved channel exist.\n\nIn the case when no value has been set, the default\nValue is noChannel(1).") adslAlarmConfProfileExtTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 23)) if mibBuilder.loadTexts: adslAlarmConfProfileExtTable.setDescription("This table extends the\nadslLineAlarmConfProfileTable and provides\nthreshold parameters for all the counters defined\nin this MIB module.") adslAlarmConfProfileExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 23, 1)) if mibBuilder.loadTexts: adslAlarmConfProfileExtEntry.setDescription("An entry extends the adslLineAlarmConfProfileTable\ndefined in [RFC2662]. Each entry corresponds to\nan ADSL alarm profile.") adslAtucThreshold15MinFailedFastR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 23, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThreshold15MinFailedFastR.setDescription("The first time the value of the corresponding\ninstance of adslAtucPerfCurr15MinFailedFastR\nreaches or exceeds this value within a given\n15-minute performance data collection period,\nan adslAtucFailedFastRThreshTrap notification\nwill be generated. The value '0' will disable\nthe notification. The default value of this\nobject is '0'.") adslAtucThreshold15MinSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 23, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThreshold15MinSesL.setDescription("The first time the value of the corresponding\ninstance of adslAtucPerf15MinSesL reaches or\nexceeds this value within a given 15-minute\nperformance data collection period, an\nadslAtucSesLThreshTrap notification will be\ngenerated. The value '0' will disable the\nnotification. The default value of this\nobject is '0'.") adslAtucThreshold15MinUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 23, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThreshold15MinUasL.setDescription("The first time the value of the corresponding\ninstance of adslAtucPerf15MinUasL reaches or\nexceeds this value within a given 15-minute\nperformance data collection period, an\nadslAtucUasLThreshTrap notification will be\ngenerated. The value '0' will disable the\nnotification. The default value of this\nobject is '0'.") adslAturThreshold15MinSesL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 23, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThreshold15MinSesL.setDescription("The first time the value of the corresponding\ninstance of adslAturPerf15MinSesL reaches or\nexceeds this value within a given 15-minute\nperformance data collection period, an\nadslAturSesLThreshTrap notification will be\ngenerated. The value '0' will disable the\nnotification. The default value of this\nobject is '0'.") adslAturThreshold15MinUasL = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 23, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThreshold15MinUasL.setDescription("The first time the value of the corresponding\ninstance of adslAturPerf15MinUasL reaches or\nexceeds this value within a given 15-minute\nperformance data collection period, an\n\n\n\nadslAturUasLThreshTrap notification will be\ngenerated. The value '0' will disable the\nnotification. The default value of this\nobject is '0'.") adslExtTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24)) adslExtAtucTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 1)) adslExtAtucTrapsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 1, 0)) adslExtAturTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 2)) adslExtAturTrapsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 2, 0)) adslExtConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 2)) adslExtGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 1)) adslExtCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 2)) # Augmentions adslLineConfProfileEntry, = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslLineConfProfileEntry") adslLineConfProfileEntry.registerAugmentions(("ADSL-LINE-EXT-MIB", "adslConfProfileExtEntry")) adslConfProfileExtEntry.setIndexNames(*adslLineConfProfileEntry.getIndexNames()) adslLineEntry, = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslLineEntry") adslLineEntry.registerAugmentions(("ADSL-LINE-EXT-MIB", "adslLineExtEntry")) adslLineExtEntry.setIndexNames(*adslLineEntry.getIndexNames()) adslAtucPerfDataEntry, = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslAtucPerfDataEntry") adslAtucPerfDataEntry.registerAugmentions(("ADSL-LINE-EXT-MIB", "adslAtucPerfDataExtEntry")) adslAtucPerfDataExtEntry.setIndexNames(*adslAtucPerfDataEntry.getIndexNames()) adslAturIntervalEntry, = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslAturIntervalEntry") adslAturIntervalEntry.registerAugmentions(("ADSL-LINE-EXT-MIB", "adslAturIntervalExtEntry")) adslAturIntervalExtEntry.setIndexNames(*adslAturIntervalEntry.getIndexNames()) adslAturPerfDataEntry, = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslAturPerfDataEntry") adslAturPerfDataEntry.registerAugmentions(("ADSL-LINE-EXT-MIB", "adslAturPerfDataExtEntry")) adslAturPerfDataExtEntry.setIndexNames(*adslAturPerfDataEntry.getIndexNames()) adslLineAlarmConfProfileEntry, = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslLineAlarmConfProfileEntry") adslLineAlarmConfProfileEntry.registerAugmentions(("ADSL-LINE-EXT-MIB", "adslAlarmConfProfileExtEntry")) adslAlarmConfProfileExtEntry.setIndexNames(*adslLineAlarmConfProfileEntry.getIndexNames()) adslAtucIntervalEntry, = mibBuilder.importSymbols("ADSL-LINE-MIB", "adslAtucIntervalEntry") adslAtucIntervalEntry.registerAugmentions(("ADSL-LINE-EXT-MIB", "adslAtucIntervalExtEntry")) adslAtucIntervalExtEntry.setIndexNames(*adslAtucIntervalEntry.getIndexNames()) # Notifications adslAtucFailedFastRThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 1, 0, 1)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr15MinFailedFastR"), ) ) if mibBuilder.loadTexts: adslAtucFailedFastRThreshTrap.setDescription("Failed Fast Retrains 15-minute threshold reached.") adslAtucSesLThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 1, 0, 2)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr15MinSesL"), ) ) if mibBuilder.loadTexts: adslAtucSesLThreshTrap.setDescription("Severely errored seconds-line 15-minute threshold\nreached.") adslAtucUasLThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 1, 0, 3)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr15MinUasL"), ) ) if mibBuilder.loadTexts: adslAtucUasLThreshTrap.setDescription("Unavailable seconds-line 15-minute threshold\nreached.") adslAturSesLThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 2, 0, 1)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAturPerfCurr15MinSesL"), ) ) if mibBuilder.loadTexts: adslAturSesLThreshTrap.setDescription("Severely errored seconds-line 15-minute threshold\nreached.") adslAturUasLThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 3, 1, 24, 2, 0, 2)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAturPerfCurr15MinUasL"), ) ) if mibBuilder.loadTexts: adslAturUasLThreshTrap.setDescription("Unavailable seconds-line 15-minute threshold\nreached.") # Groups adslExtLineGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 1, 1)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslLineConfProfileDualLite"), ("ADSL-LINE-EXT-MIB", "adslLineTransAtucConfig"), ("ADSL-LINE-EXT-MIB", "adslLineGlitePowerState"), ("ADSL-LINE-EXT-MIB", "adslLineTransAtucCap"), ("ADSL-LINE-EXT-MIB", "adslLineTransAtucActual"), ) ) if mibBuilder.loadTexts: adslExtLineGroup.setDescription("A collection of objects providing extended\nconfiguration information about an ADSL Line.") adslExtAtucPhysPerfCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 1, 2)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr1DaySesL"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr1DayFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr15MinFailedFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr15MinFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfStatUasL"), ("ADSL-LINE-EXT-MIB", "adslAtucIntervalUasL"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfStatSesL"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr1DayFailedFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr1DayUasL"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfPrev1DayFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfPrev1DaySesL"), ("ADSL-LINE-EXT-MIB", "adslAtucIntervalFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr15MinSesL"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfStatFailedFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfCurr15MinUasL"), ("ADSL-LINE-EXT-MIB", "adslAtucIntervalFailedFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfPrev1DayFailedFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucIntervalSesL"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfPrev1DayUasL"), ("ADSL-LINE-EXT-MIB", "adslAtucPerfStatFastR"), ) ) if mibBuilder.loadTexts: adslExtAtucPhysPerfCounterGroup.setDescription("A collection of objects providing raw performance\ncounts on an ADSL Line (ATU-C end).") adslExtAturPhysPerfCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 1, 3)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAturPerfStatUasL"), ("ADSL-LINE-EXT-MIB", "adslAturIntervalUasL"), ("ADSL-LINE-EXT-MIB", "adslAturPerfStatSesL"), ("ADSL-LINE-EXT-MIB", "adslAturPerfCurr15MinUasL"), ("ADSL-LINE-EXT-MIB", "adslAturPerfCurr1DaySesL"), ("ADSL-LINE-EXT-MIB", "adslAturPerfPrev1DayUasL"), ("ADSL-LINE-EXT-MIB", "adslAturPerfCurr15MinSesL"), ("ADSL-LINE-EXT-MIB", "adslAturPerfPrev1DaySesL"), ("ADSL-LINE-EXT-MIB", "adslAturIntervalSesL"), ("ADSL-LINE-EXT-MIB", "adslAturPerfCurr1DayUasL"), ) ) if mibBuilder.loadTexts: adslExtAturPhysPerfCounterGroup.setDescription("A collection of objects providing raw performance\ncounts on an ADSL Line (ATU-C end).") adslExtLineConfProfileControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 1, 4)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslConfProfileLineType"), ) ) if mibBuilder.loadTexts: adslExtLineConfProfileControlGroup.setDescription("A collection of objects providing profile\ncontrol for the ADSL system.") adslExtLineAlarmConfProfileGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 1, 5)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAturThreshold15MinUasL"), ("ADSL-LINE-EXT-MIB", "adslAtucThreshold15MinSesL"), ("ADSL-LINE-EXT-MIB", "adslAtucThreshold15MinFailedFastR"), ("ADSL-LINE-EXT-MIB", "adslAtucThreshold15MinUasL"), ("ADSL-LINE-EXT-MIB", "adslAturThreshold15MinSesL"), ) ) if mibBuilder.loadTexts: adslExtLineAlarmConfProfileGroup.setDescription("A collection of objects providing alarm profile\ncontrol for the ADSL system.") adslExtNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 1, 6)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslAtucFailedFastRThreshTrap"), ("ADSL-LINE-EXT-MIB", "adslAturUasLThreshTrap"), ("ADSL-LINE-EXT-MIB", "adslAturSesLThreshTrap"), ("ADSL-LINE-EXT-MIB", "adslAtucSesLThreshTrap"), ("ADSL-LINE-EXT-MIB", "adslAtucUasLThreshTrap"), ) ) if mibBuilder.loadTexts: adslExtNotificationsGroup.setDescription("The collection of ADSL extension notifications.") # Compliances adslExtLineMibAtucCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 94, 3, 2, 2, 1)).setObjects(*(("ADSL-LINE-EXT-MIB", "adslExtAturPhysPerfCounterGroup"), ("ADSL-LINE-EXT-MIB", "adslExtLineConfProfileControlGroup"), ("ADSL-LINE-EXT-MIB", "adslExtLineAlarmConfProfileGroup"), ("ADSL-LINE-EXT-MIB", "adslExtAtucPhysPerfCounterGroup"), ("ADSL-LINE-EXT-MIB", "adslExtLineGroup"), ("ADSL-LINE-EXT-MIB", "adslExtNotificationsGroup"), ) ) if mibBuilder.loadTexts: adslExtLineMibAtucCompliance.setDescription("The compliance statement for SNMP entities which\nrepresent ADSL ATU-C interfaces.") # Exports # Module identity mibBuilder.exportSymbols("ADSL-LINE-EXT-MIB", PYSNMP_MODULE_ID=adslExtMIB) # Types mibBuilder.exportSymbols("ADSL-LINE-EXT-MIB", AdslTransmissionModeType=AdslTransmissionModeType) # Objects mibBuilder.exportSymbols("ADSL-LINE-EXT-MIB", adslExtMIB=adslExtMIB, adslExtMibObjects=adslExtMibObjects, adslLineExtTable=adslLineExtTable, adslLineExtEntry=adslLineExtEntry, adslLineTransAtucCap=adslLineTransAtucCap, adslLineTransAtucConfig=adslLineTransAtucConfig, adslLineTransAtucActual=adslLineTransAtucActual, adslLineGlitePowerState=adslLineGlitePowerState, adslLineConfProfileDualLite=adslLineConfProfileDualLite, adslAtucPerfDataExtTable=adslAtucPerfDataExtTable, adslAtucPerfDataExtEntry=adslAtucPerfDataExtEntry, adslAtucPerfStatFastR=adslAtucPerfStatFastR, adslAtucPerfStatFailedFastR=adslAtucPerfStatFailedFastR, adslAtucPerfStatSesL=adslAtucPerfStatSesL, adslAtucPerfStatUasL=adslAtucPerfStatUasL, adslAtucPerfCurr15MinFastR=adslAtucPerfCurr15MinFastR, adslAtucPerfCurr15MinFailedFastR=adslAtucPerfCurr15MinFailedFastR, adslAtucPerfCurr15MinSesL=adslAtucPerfCurr15MinSesL, adslAtucPerfCurr15MinUasL=adslAtucPerfCurr15MinUasL, adslAtucPerfCurr1DayFastR=adslAtucPerfCurr1DayFastR, adslAtucPerfCurr1DayFailedFastR=adslAtucPerfCurr1DayFailedFastR, adslAtucPerfCurr1DaySesL=adslAtucPerfCurr1DaySesL, adslAtucPerfCurr1DayUasL=adslAtucPerfCurr1DayUasL, adslAtucPerfPrev1DayFastR=adslAtucPerfPrev1DayFastR, adslAtucPerfPrev1DayFailedFastR=adslAtucPerfPrev1DayFailedFastR, adslAtucPerfPrev1DaySesL=adslAtucPerfPrev1DaySesL, adslAtucPerfPrev1DayUasL=adslAtucPerfPrev1DayUasL, adslAtucIntervalExtTable=adslAtucIntervalExtTable, adslAtucIntervalExtEntry=adslAtucIntervalExtEntry, adslAtucIntervalFastR=adslAtucIntervalFastR, adslAtucIntervalFailedFastR=adslAtucIntervalFailedFastR, adslAtucIntervalSesL=adslAtucIntervalSesL, adslAtucIntervalUasL=adslAtucIntervalUasL, adslAturPerfDataExtTable=adslAturPerfDataExtTable, adslAturPerfDataExtEntry=adslAturPerfDataExtEntry, adslAturPerfStatSesL=adslAturPerfStatSesL, adslAturPerfStatUasL=adslAturPerfStatUasL, adslAturPerfCurr15MinSesL=adslAturPerfCurr15MinSesL, adslAturPerfCurr15MinUasL=adslAturPerfCurr15MinUasL, adslAturPerfCurr1DaySesL=adslAturPerfCurr1DaySesL, adslAturPerfCurr1DayUasL=adslAturPerfCurr1DayUasL, adslAturPerfPrev1DaySesL=adslAturPerfPrev1DaySesL, adslAturPerfPrev1DayUasL=adslAturPerfPrev1DayUasL, adslAturIntervalExtTable=adslAturIntervalExtTable, adslAturIntervalExtEntry=adslAturIntervalExtEntry, adslAturIntervalSesL=adslAturIntervalSesL, adslAturIntervalUasL=adslAturIntervalUasL, adslConfProfileExtTable=adslConfProfileExtTable, adslConfProfileExtEntry=adslConfProfileExtEntry, adslConfProfileLineType=adslConfProfileLineType, adslAlarmConfProfileExtTable=adslAlarmConfProfileExtTable, adslAlarmConfProfileExtEntry=adslAlarmConfProfileExtEntry, adslAtucThreshold15MinFailedFastR=adslAtucThreshold15MinFailedFastR, adslAtucThreshold15MinSesL=adslAtucThreshold15MinSesL, adslAtucThreshold15MinUasL=adslAtucThreshold15MinUasL, adslAturThreshold15MinSesL=adslAturThreshold15MinSesL, adslAturThreshold15MinUasL=adslAturThreshold15MinUasL, adslExtTraps=adslExtTraps, adslExtAtucTraps=adslExtAtucTraps, adslExtAtucTrapsPrefix=adslExtAtucTrapsPrefix, adslExtAturTraps=adslExtAturTraps, adslExtAturTrapsPrefix=adslExtAturTrapsPrefix, adslExtConformance=adslExtConformance, adslExtGroups=adslExtGroups, adslExtCompliances=adslExtCompliances) # Notifications mibBuilder.exportSymbols("ADSL-LINE-EXT-MIB", adslAtucFailedFastRThreshTrap=adslAtucFailedFastRThreshTrap, adslAtucSesLThreshTrap=adslAtucSesLThreshTrap, adslAtucUasLThreshTrap=adslAtucUasLThreshTrap, adslAturSesLThreshTrap=adslAturSesLThreshTrap, adslAturUasLThreshTrap=adslAturUasLThreshTrap) # Groups mibBuilder.exportSymbols("ADSL-LINE-EXT-MIB", adslExtLineGroup=adslExtLineGroup, adslExtAtucPhysPerfCounterGroup=adslExtAtucPhysPerfCounterGroup, adslExtAturPhysPerfCounterGroup=adslExtAturPhysPerfCounterGroup, adslExtLineConfProfileControlGroup=adslExtLineConfProfileControlGroup, adslExtLineAlarmConfProfileGroup=adslExtLineAlarmConfProfileGroup, adslExtNotificationsGroup=adslExtNotificationsGroup) # Compliances mibBuilder.exportSymbols("ADSL-LINE-EXT-MIB", adslExtLineMibAtucCompliance=adslExtLineMibAtucCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/GMPLS-LABEL-STD-MIB.py0000644000014400001440000005375511736645136021603 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python GMPLS-LABEL-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:01 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IndexIntegerNextFree, ) = mibBuilder.importSymbols("DIFFSERV-MIB", "IndexIntegerNextFree") ( GmplsFreeformLabelTC, GmplsLabelTypeTC, ) = mibBuilder.importSymbols("GMPLS-TC-STD-MIB", "GmplsFreeformLabelTC", "GmplsLabelTypeTC") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( MplsLabel, mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsLabel", "mplsStdMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType") # Objects gmplsLabelStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 16)).setRevisions(("2007-02-27 00:00",)) if mibBuilder.loadTexts: gmplsLabelStdMIB.setOrganization("IETF Common Control and Measurement Plane (CCAMP) Working Group") if mibBuilder.loadTexts: gmplsLabelStdMIB.setContactInfo(" Thomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\n\nAdrian Farrel\nOld Dog Consulting\nEmail: adrian@olddog.co.uk\n\nComments about this document should be emailed directly to the\nCCAMP working group mailing list at ccamp@ops.ietf.org.") if mibBuilder.loadTexts: gmplsLabelStdMIB.setDescription("Copyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4803; see the RFC itself for\nfull legal notices.\n\n\n\n\nThis MIB module contains managed object definitions for labels\nwithin GMPLS systems as defined in\nGeneralized Multi-Protocol Label Switching (GMPLS) Signaling\nFunctional Description, Berger, L. (Editor), RFC 3471,\nJanuary 2003.") gmplsLabelObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 16, 1)) gmplsLabelIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 1), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsLabelIndexNext.setDescription("This object contains an unused value for gmplsLabelIndex,\nor a zero to indicate that no unused value exists or is\navailable.\n\nA management application wishing to create a row in the\ngmplsLabelTable may read this object and then attempt to\ncreate a row in the table. If row creation fails (because\nanother application has already created a row with the\nsupplied index), the management application should read this\nobject again to get a new index value.\n\nWhen a row is created in the gmplsLabelTable with the\ngmplsLabelIndex value held by this object, an implementation\nMUST change the value in this object.") gmplsLabelTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2)) if mibBuilder.loadTexts: gmplsLabelTable.setDescription("Table of GMPLS Labels. This table allows the representation\nof the more complex label forms required for GMPLS that cannot\nbe held within the TEXTUAL-CONVENTION MplsLabel; that is, labels\nthat cannot be encoded within 32 bits. It is, nevertheless, also\ncapable of holding 32-bit labels or regular MPLS Labels if\ndesired.\n\n\nEach entry in this table represents an individual GMPLS Label\nvalue. The representation of Labels in tables in other MIB\nmodules may be achieved by a referrence to an entry in this\ntable by means of a row pointer into this table. The indexing\nof this table provides for arbitrary indexing and also for\nconcatenation of labels.\n\nFor an example of label concatenation, see RFC 3945, section 7.1.\nIn essence, a GMPLS Label may be composite in order to identify\na set of resources in the data plane. Practical examples are\ntimeslots and wavelength sets (which are not contiguous like\nwavebands).\n\nThe indexing mechanism allows multiple entries in this table to\nbe seen as a sequence of labels that should be concatenated.\nOrdering is potentially very sensitive for concatenation.") gmplsLabelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1)).setIndexNames((0, "GMPLS-LABEL-STD-MIB", "gmplsLabelInterface"), (0, "GMPLS-LABEL-STD-MIB", "gmplsLabelIndex"), (0, "GMPLS-LABEL-STD-MIB", "gmplsLabelSubindex")) if mibBuilder.loadTexts: gmplsLabelEntry.setDescription("An entry in this table represents a single label value. There\nare three indexes into the table.\n\n- The interface index may be helpful to distinguish which\n labels are in use on which interfaces or to handle cases\n where there are a very large number of labels in use in the\n system. When label representation is desired to apply to the\n whole system or when it is not important to distinguish\n labels by their interfaces, this index MAY be set to zero.\n\n- The label index provides a way of identifying the label.\n\n- The label sub-index is only used for concatenated labels. It\n identifies each component label. When non-concatenated labels\n are used, this index SHOULD be set to zero.\n\nA storage type object is supplied to control the storage type\nfor each entry, but implementations should note that the storage\ntype of conceptual rows in other tables that include row\npointers to an entry in this table SHOULD dictate the storage\ntype of the rows in this table where the row in the other table\nis more persistent.") gmplsLabelInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: gmplsLabelInterface.setDescription("The interface on which this label is used. If this object is set\nto zero, the label MUST have applicability across the\nwhole system and not be limited to a single interface.") gmplsLabelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: gmplsLabelIndex.setDescription("An arbitrary index into the table to identify a label.\n\nNote that implementations that are representing 32-bit labels\nwithin this table MAY choose to align this index with the value\nof the label, and this may result in the use of the value zero\nsince it represents a valid label value. Such implementation\nshould be aware of the implications of sparsely populated\n\n\ntables.\n\nA management application may read the gmplsLabelIndexNext\nobject to find a suitable value for this object.") gmplsLabelSubindex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: gmplsLabelSubindex.setDescription("In conjunction with gmplsLabelInterface and gmplsLabelIndex,\nthis object uniquely identifies this row. This sub-index allows\na single GMPLS Label to be defined as a concatenation of labels.\nThis is particularly useful in TDM.\n\nThe ordering of sub-labels is strict with the sub-label with\nthe lowest gmplsLabelSubindex appearing first. Note that all\nsub-labels of a single GMPLS Label must share the same\ngmplsLabelInterface and gmplsLabelIndex values. For labels that\nare not composed of concatenated sub-labels, this value SHOULD\nbe set to zero.") gmplsLabelType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 4), GmplsLabelTypeTC()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelType.setDescription("Identifies the type of this label. Note that this object does\nnot determine whether MPLS or GMPLS signaling is in use: a value\nof gmplsMplsLabel(1) denotes that an MPLS Packet Label is\npresent in the gmplsLabelMplsLabel object and encoded using the\nMplsLabel TEXTUAL-CONVENTION (may be a 20-bit MPLS Label, a 10-\nor 23-bit Frame Relay Label, or an Asynchronous Transfer Mode\n(ATM) Label), but does not describe whether this is signaled\nusing MPLS or GMPLS.\n\nThe value of this object helps determine which of the following\nobjects are valid. This object cannot be modified if\ngmplsLabelRowStatus is active(1).") gmplsLabelMplsLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 5), MplsLabel().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelMplsLabel.setDescription("The value of an MPLS Label (that is a Packet Label) if this\ntable is used to store it. This may be used in MPLS systems even\nthough the label values can be adequately stored in the MPLS MIB\nmodules (MPLS-LSR-STD-MIB and MPLS-TE-STD-MIB). Furthermore, in\nmixed MPLS and GMPLS systems, it may be advantageous to store all\nlabels in a single label table. Lastly, in GMPLS systems where\nPacket Labels are used (that is in systems that use GMPLS\nsignaling and GMPLS Labels for packet switching), it may be\ndesirable to use this table.\n\nThis object is only valid if gmplsLabelType is set\nto gmplsMplsLabel(1). This object cannot be modified if\ngmplsLabelRowStatus is active(1).") gmplsLabelPortWavelength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 6), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelPortWavelength.setDescription("The value of a Port or Wavelength Label when carried as a\nGeneralized Label. Only valid if gmplsLabelType is set to\ngmplsPortWavelengthLabel(2). This object cannot be modified if\ngmplsLabelRowStatus is active(1).") gmplsLabelFreeform = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 7), GmplsFreeformLabelTC().clone(hexValue='00')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelFreeform.setDescription("The value of a Freeform Generalized Label that does not conform\nto one of the standardized label encodings or that an\nimplementation chooses to represent as an octet string without\nfurther decoding. Only valid if gmplsLabelType is set to\ngmplsFreeformLabel(3). This object cannot be modified\nif gmplsLabelRowStatus is active(1).") gmplsLabelSonetSdhSignalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelSonetSdhSignalIndex.setDescription("The Signal Index value (S) of a SONET or SDH Generalized Label.\nZero indicates that this field is non-significant. Only valid if\ngmplsLabelType is set to gmplsSonetLabel(4) or gmplsSdhLabel(5).\nThis object cannot be modified if gmplsLabelRowStatus is\nactive(1).") gmplsLabelSdhVc = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelSdhVc.setDescription("The VC Indicator (U) of an SDH Generalized Label. Zero indicates\nthat this field is non-significant. Only valid if gmplsLabelType\nis set to gmplsSdhLabel(5). This object cannot be modified if\ngmplsLabelRowStatus is active(1).") gmplsLabelSdhVcBranch = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelSdhVcBranch.setDescription("The VC Branch Indicator (K) of an SDH Generalized Label. Zero\nindicates that this field is non-significant. Only valid if\ngmplsLabelType is set to gmplsSdhLabel(5). This\nobject cannot be modified if gmplsLabelRowStatus is active(1).") gmplsLabelSonetSdhBranch = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelSonetSdhBranch.setDescription("The Branch Indicator (L) of a SONET or SDH Generalized Label.\nZero indicates that this field is non-significant. Only valid\ngmplsLabelType is set to gmplsSonetLabel(4) or\ngmplsSdhLabel(5). This object cannot be modified if\ngmplsLabelRowStatus is active(1).") gmplsLabelSonetSdhGroupBranch = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelSonetSdhGroupBranch.setDescription("The Group Branch Indicator (M) of a SONET or SDH Generalized\nLabel. Zero indicates that this field is non-significant.\nOnly valid if gmplsLabelType is set to gmplsSonetLabel(4) or\ngmplsSdhLabel(5). This object cannot be modified if\ngmplsLabelRowStatus is active(1).") gmplsLabelWavebandId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 13), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelWavebandId.setDescription("The waveband identifier component of a Waveband Label. Only\nvalid if gmplsLabelType is set to gmplsWavebandLabel(6). This\nobject cannot be modified if gmplsLabelRowStatus is active(1).") gmplsLabelWavebandStart = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 14), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelWavebandStart.setDescription("The starting label component of a Waveband Label. Only valid if\ngmplsLabelType is set to gmplsWavebandLabel(6). This object\ncannot be modified if gmplsLabelRowStatus is active(1).") gmplsLabelWavebandEnd = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 15), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelWavebandEnd.setDescription("The end label component of a Waveband Label. Only valid if\ngmplsLabelType is set to gmplsWavebandLabel(6). This object\ncannot be modified if gmplsLabelRowStatus is active(1).") gmplsLabelStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 16), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelStorageType.setDescription("This variable indicates the storage type for this row. The\nagent MUST ensure that this object's value remains consistent\nwith the storage type of any rows in other tables that contain\npointers to this row. In particular, the storage type of this\nrow must be at least as permanent as that of any row that points\nto it.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") gmplsLabelRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 16, 1, 2, 1, 17), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsLabelRowStatus.setDescription("This variable is used to create, modify, and/or delete a row in\nthis table. When a row in this table has a row in the active(1)\nstate, no objects in this row can be modified except the\ngmplsLabelRowStatus and gmplsLabelStorageType.\n\nThe gmplsLabelType object does not have a default and must be\nset before a row can become active. The corresponding label\nobjects (dependent on the value of gmplsLabelType) should also\nbe set unless they happen to need to use the specified default\nvalues as follows:\n\ngmplsLabelType setting objects to be set\n--------------------------------------------------------------\ngmplsMplsLabel(1) gmplsLabelMplsLabel\n\ngmplsPortWavelengthLabel(2) gmplsLabelPortWavelength\n\ngmplsFreeformLabel(3) gmplsLabelFreeform\n\ngmplsSonetLabel(4) gmplsLabelSonetSdhSignalIndex\n gmplsLabelSdhVc\n gmplsLabelSdhVcBranch\n gmplsLabelSonetSdhBranch\n gmplsLabelSonetSdhGroupBranch\n\ngmplsSdhLabel(5) gmplsLabelSonetSdhSignalIndex\n gmplsLabelSdhVc\n gmplsLabelSdhVcBranch\n gmplsLabelSonetSdhBranch\n gmplsLabelSonetSdhGroupBranch\n\ngmplsWavebandLabel(6) gmplsLabelWavebandId\n gmplsLabelWavebandStart\n gmplsLabelWavebandEnd") gmplsLabelConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 16, 2)) gmplsLabelGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 1)) gmplsLabelCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 2)) # Augmentions # Groups gmplsLabelTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 1, 1)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelType"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelRowStatus"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelIndexNext"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelStorageType"), ) ) if mibBuilder.loadTexts: gmplsLabelTableGroup.setDescription("Necessary, but not sufficient, set of objects to implement label\ntable support. In addition, depending on the type of labels\nsupported, the following other groups defined below are\nmandatory:\n\n gmplsLabelWavebandGroup and/or\n gmplsLabelPacketGroup and/or\n gmplsLabelPortWavelengthGroup and/or\n gmplsLabelFreeformGroup and/or\n gmplsLabelSonetSdhGroup.") gmplsLabelPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 1, 2)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelMplsLabel"), ) ) if mibBuilder.loadTexts: gmplsLabelPacketGroup.setDescription("Object needed to implement Packet (MPLS) Labels.") gmplsLabelPortWavelengthGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 1, 3)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelPortWavelength"), ) ) if mibBuilder.loadTexts: gmplsLabelPortWavelengthGroup.setDescription("Object needed to implement Port and Wavelength Labels.") gmplsLabelFreeformGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 1, 4)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelFreeform"), ) ) if mibBuilder.loadTexts: gmplsLabelFreeformGroup.setDescription("Object needed to implement Freeform Labels.") gmplsLabelSonetSdhGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 1, 5)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelSonetSdhSignalIndex"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelSdhVc"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelSonetSdhBranch"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelSdhVcBranch"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelSonetSdhGroupBranch"), ) ) if mibBuilder.loadTexts: gmplsLabelSonetSdhGroup.setDescription("Objects needed to implement SONET and SDH Labels.") gmplsLabelWavebandGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 1, 6)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelWavebandStart"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelWavebandEnd"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelWavebandId"), ) ) if mibBuilder.loadTexts: gmplsLabelWavebandGroup.setDescription("Objects needed to implement Waveband Labels.") # Compliances gmplsLabelModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 2, 1)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelSonetSdhGroup"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelFreeformGroup"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelPacketGroup"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelPortWavelengthGroup"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelTableGroup"), ("GMPLS-LABEL-STD-MIB", "gmplsLabelWavebandGroup"), ) ) if mibBuilder.loadTexts: gmplsLabelModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only provide\nread-only support for GMPLS-LABEL-STD-MIB. Such devices can then\nbe monitored but cannot be configured using this MIB module.") gmplsLabelModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 16, 2, 2, 2)).setObjects(*(("GMPLS-LABEL-STD-MIB", "gmplsLabelTableGroup"), ) ) if mibBuilder.loadTexts: gmplsLabelModuleFullCompliance.setDescription("Compliance statement for agents that support the complete\nGMPLS-LABEL-STD-MIB module.\n\nThe mandatory groups have to be implemented by GMPLS LSRs\nclaiming support for this MIB module. This MIB module is,\nhowever, not mandatory for a working implementation of a GMPLS\nLSR with full MIB support if the GMPLS Labels in use can be\nrepresented within a 32-bit quantity.") # Exports # Module identity mibBuilder.exportSymbols("GMPLS-LABEL-STD-MIB", PYSNMP_MODULE_ID=gmplsLabelStdMIB) # Objects mibBuilder.exportSymbols("GMPLS-LABEL-STD-MIB", gmplsLabelStdMIB=gmplsLabelStdMIB, gmplsLabelObjects=gmplsLabelObjects, gmplsLabelIndexNext=gmplsLabelIndexNext, gmplsLabelTable=gmplsLabelTable, gmplsLabelEntry=gmplsLabelEntry, gmplsLabelInterface=gmplsLabelInterface, gmplsLabelIndex=gmplsLabelIndex, gmplsLabelSubindex=gmplsLabelSubindex, gmplsLabelType=gmplsLabelType, gmplsLabelMplsLabel=gmplsLabelMplsLabel, gmplsLabelPortWavelength=gmplsLabelPortWavelength, gmplsLabelFreeform=gmplsLabelFreeform, gmplsLabelSonetSdhSignalIndex=gmplsLabelSonetSdhSignalIndex, gmplsLabelSdhVc=gmplsLabelSdhVc, gmplsLabelSdhVcBranch=gmplsLabelSdhVcBranch, gmplsLabelSonetSdhBranch=gmplsLabelSonetSdhBranch, gmplsLabelSonetSdhGroupBranch=gmplsLabelSonetSdhGroupBranch, gmplsLabelWavebandId=gmplsLabelWavebandId, gmplsLabelWavebandStart=gmplsLabelWavebandStart, gmplsLabelWavebandEnd=gmplsLabelWavebandEnd, gmplsLabelStorageType=gmplsLabelStorageType, gmplsLabelRowStatus=gmplsLabelRowStatus, gmplsLabelConformance=gmplsLabelConformance, gmplsLabelGroups=gmplsLabelGroups, gmplsLabelCompliances=gmplsLabelCompliances) # Groups mibBuilder.exportSymbols("GMPLS-LABEL-STD-MIB", gmplsLabelTableGroup=gmplsLabelTableGroup, gmplsLabelPacketGroup=gmplsLabelPacketGroup, gmplsLabelPortWavelengthGroup=gmplsLabelPortWavelengthGroup, gmplsLabelFreeformGroup=gmplsLabelFreeformGroup, gmplsLabelSonetSdhGroup=gmplsLabelSonetSdhGroup, gmplsLabelWavebandGroup=gmplsLabelWavebandGroup) # Compliances mibBuilder.exportSymbols("GMPLS-LABEL-STD-MIB", gmplsLabelModuleReadOnlyCompliance=gmplsLabelModuleReadOnlyCompliance, gmplsLabelModuleFullCompliance=gmplsLabelModuleFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/TOKENRING-STATION-SR-MIB.py0000644000014400001440000001352211736645141022435 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TOKENRING-STATION-SR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:46 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( MacAddress, RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "RowStatus", "TextualConvention") # Types class SourceRoute(TextualConvention, OctetString): displayHint = "1x:" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,30) # Objects dot5SrMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 42)).setRevisions(("1994-12-16 10:00",)) if mibBuilder.loadTexts: dot5SrMIB.setOrganization("IETF Interfaces MIB Working Group") if mibBuilder.loadTexts: dot5SrMIB.setContactInfo(" Keith McCloghrie\nPostal: Cisco Systems, Inc.\n 170 West Tasman Drive\n San Jose, CA 95134-1706\n US\n\n Phone: +1 408 526 5260\n Email: kzm@cisco.com") if mibBuilder.loadTexts: dot5SrMIB.setDescription("The MIB module for managing source routes in\nend-stations on IEEE 802.5 Token Ring networks.") dot5SrMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 42, 1)) dot5SrRouteTable = MibTable((1, 3, 6, 1, 2, 1, 42, 1, 1)) if mibBuilder.loadTexts: dot5SrRouteTable.setDescription("The table of source-routing routes.\nThis represents the 802.5 RIF database.") dot5SrRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 42, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "TOKENRING-STATION-SR-MIB", "dot5SrRouteDestination")) if mibBuilder.loadTexts: dot5SrRouteEntry.setDescription("Information on a specific route.\n\nAn entry is created whenever a 'Single Path\nExplorer' or an 'All Paths Explorer' discovers\na route to a neighbor not currently in the table,\nor whenever an 'All Paths Explorer' discovers a\nbetter (e.g., shorter) route than the route currently\nstored in the table. This is done on behalf of\nany network layer client.\n\nThe ifIndex value in the INDEX clause refers to\nthe value of MIB-II's ifIndex object for the\ninterface on which the route is in effect.") dot5SrRouteDestination = MibTableColumn((1, 3, 6, 1, 2, 1, 42, 1, 1, 1, 2), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot5SrRouteDestination.setDescription("The destination of this route.") dot5SrRouteControl = MibTableColumn((1, 3, 6, 1, 2, 1, 42, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot5SrRouteControl.setDescription("The value of Routing Control field for this\nroute.") dot5SrRouteDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 42, 1, 1, 1, 4), SourceRoute()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot5SrRouteDescr.setDescription("The embedded sequence of bridge and ring ID's\nfor this route. For destinations on the\nlocal ring, the value of this object is\nthe zero-length string.") dot5SrRouteStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 42, 1, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot5SrRouteStatus.setDescription("The status of this row. Values of the instances\nof dot5SrRouteControl and dot5SrRouteDescr can be\nmodified while the row's status is 'active.") dot5SrConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 42, 2)) dot5SrGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 42, 2, 1)) dot5SrCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 42, 2, 2)) # Augmentions # Groups dot5SrRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 42, 2, 1, 1)).setObjects(*(("TOKENRING-STATION-SR-MIB", "dot5SrRouteControl"), ("TOKENRING-STATION-SR-MIB", "dot5SrRouteStatus"), ("TOKENRING-STATION-SR-MIB", "dot5SrRouteDescr"), ) ) if mibBuilder.loadTexts: dot5SrRouteGroup.setDescription("A collection of objects providing for the management of\nsource routes in stations on IEEE 802.5 source-routing\nnetworks.") # Compliances dot5SrCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 42, 2, 2, 1)).setObjects(*(("TOKENRING-STATION-SR-MIB", "dot5SrRouteGroup"), ) ) if mibBuilder.loadTexts: dot5SrCompliance.setDescription("The compliance statement for SNMPv2 entities\nwhich implement the IEEE 802.5 Station Source Route\nMIB.") # Exports # Module identity mibBuilder.exportSymbols("TOKENRING-STATION-SR-MIB", PYSNMP_MODULE_ID=dot5SrMIB) # Types mibBuilder.exportSymbols("TOKENRING-STATION-SR-MIB", SourceRoute=SourceRoute) # Objects mibBuilder.exportSymbols("TOKENRING-STATION-SR-MIB", dot5SrMIB=dot5SrMIB, dot5SrMIBObjects=dot5SrMIBObjects, dot5SrRouteTable=dot5SrRouteTable, dot5SrRouteEntry=dot5SrRouteEntry, dot5SrRouteDestination=dot5SrRouteDestination, dot5SrRouteControl=dot5SrRouteControl, dot5SrRouteDescr=dot5SrRouteDescr, dot5SrRouteStatus=dot5SrRouteStatus, dot5SrConformance=dot5SrConformance, dot5SrGroups=dot5SrGroups, dot5SrCompliances=dot5SrCompliances) # Groups mibBuilder.exportSymbols("TOKENRING-STATION-SR-MIB", dot5SrRouteGroup=dot5SrRouteGroup) # Compliances mibBuilder.exportSymbols("TOKENRING-STATION-SR-MIB", dot5SrCompliance=dot5SrCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RS-232-MIB.py0000644000014400001440000006263611736645137020303 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RS-232-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:35 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") # Objects rs232 = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 33)).setRevisions(("1994-05-26 17:00",)) if mibBuilder.loadTexts: rs232.setOrganization("IETF Character MIB Working Group") if mibBuilder.loadTexts: rs232.setContactInfo(" Bob Stewart\nPostal: Xyplex, Inc.\n 295 Foster Street\n Littleton, MA 01460\n\n Tel: 508-952-4816\n Fax: 508-952-4887\nE-mail: rlstewart@eng.xyplex.com") if mibBuilder.loadTexts: rs232.setDescription("The MIB module for RS-232-like hardware devices.") rs232Number = MibScalar((1, 3, 6, 1, 2, 1, 10, 33, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232Number.setDescription("The number of ports (regardless of their current\nstate) in the RS-232-like general port table.") rs232PortTable = MibTable((1, 3, 6, 1, 2, 1, 10, 33, 2)) if mibBuilder.loadTexts: rs232PortTable.setDescription("A list of port entries. The number of entries is\ngiven by the value of rs232Number.") rs232PortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 33, 2, 1)).setIndexNames((0, "RS-232-MIB", "rs232PortIndex")) if mibBuilder.loadTexts: rs232PortEntry.setDescription("Status and parameter values for a port.") rs232PortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232PortIndex.setDescription("The value of ifIndex for the port. By convention\nand if possible, hardware port numbers map directly\nto external connectors. The value for each port must\nremain constant at least from one re-initialization\nof the network management agent to the next.") rs232PortType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,2,6,3,4,)).subtype(namedValues=NamedValues(("other", 1), ("rs232", 2), ("rs422", 3), ("rs423", 4), ("v35", 5), ("x21", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232PortType.setDescription("The port's hardware type.") rs232PortInSigNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232PortInSigNumber.setDescription("The number of input signals for the port in the\ninput signal table (rs232PortInSigTable). The table\ncontains entries only for those signals the software\ncan detect and that are useful to observe.") rs232PortOutSigNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232PortOutSigNumber.setDescription("The number of output signals for the port in the\noutput signal table (rs232PortOutSigTable). The\ntable contains entries only for those signals the\nsoftware can assert and that are useful to observe.") rs232PortInSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232PortInSpeed.setDescription("The port's input speed in bits per second. Note that\nnon-standard values, such as 9612, are probably not allowed\non most implementations.") rs232PortOutSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232PortOutSpeed.setDescription("The port's output speed in bits per second. Note that\nnon-standard values, such as 9612, are probably not allowed\non most implementations.") rs232PortInFlowType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("none", 1), ("ctsRts", 2), ("dsrDtr", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232PortInFlowType.setDescription("The port's type of input flow control. 'none'\nindicates no flow control at this level.\n'ctsRts' and 'dsrDtr' indicate use of the indicated\nhardware signals.") rs232PortOutFlowType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("none", 1), ("ctsRts", 2), ("dsrDtr", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232PortOutFlowType.setDescription("The port's type of output flow control. 'none'\nindicates no flow control at this level.\n'ctsRts' and 'dsrDtr' indicate use of the indicated\nhardware signals.") rs232AsyncPortTable = MibTable((1, 3, 6, 1, 2, 1, 10, 33, 3)) if mibBuilder.loadTexts: rs232AsyncPortTable.setDescription("A list of asynchronous port entries. Entries need\nnot exist for synchronous ports.") rs232AsyncPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 33, 3, 1)).setIndexNames((0, "RS-232-MIB", "rs232AsyncPortIndex")) if mibBuilder.loadTexts: rs232AsyncPortEntry.setDescription("Status and parameter values for an asynchronous\nport.") rs232AsyncPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232AsyncPortIndex.setDescription("A unique value for each port. Its value is the\nsame as rs232PortIndex for the port.") rs232AsyncPortBits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232AsyncPortBits.setDescription("The port's number of bits in a character.") rs232AsyncPortStopBits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("one", 1), ("two", 2), ("oneAndHalf", 3), ("dynamic", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232AsyncPortStopBits.setDescription("The port's number of stop bits.") rs232AsyncPortParity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,5,4,2,)).subtype(namedValues=NamedValues(("none", 1), ("odd", 2), ("even", 3), ("mark", 4), ("space", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232AsyncPortParity.setDescription("The port's sense of a character parity bit.") rs232AsyncPortAutobaud = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232AsyncPortAutobaud.setDescription("A control for the port's ability to automatically\nsense input speed.\n\nWhen rs232PortAutoBaud is 'enabled', a port may\nautobaud to values different from the set values for\nspeed, parity, and character size. As a result a\nnetwork management system may temporarily observe\nvalues different from what was previously set.") rs232AsyncPortParityErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232AsyncPortParityErrs.setDescription("Total number of characters with a parity error,\ninput from the port since system re-initialization\nand while the port state was 'up' or 'test'.") rs232AsyncPortFramingErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232AsyncPortFramingErrs.setDescription("Total number of characters with a framing error,\ninput from the port since system re-initialization\nand while the port state was 'up' or 'test'.") rs232AsyncPortOverrunErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232AsyncPortOverrunErrs.setDescription("Total number of characters with an overrun error,\ninput from the port since system re-initialization\nand while the port state was 'up' or 'test'.") rs232SyncPortTable = MibTable((1, 3, 6, 1, 2, 1, 10, 33, 4)) if mibBuilder.loadTexts: rs232SyncPortTable.setDescription("A list of asynchronous port entries. Entries need\nnot exist for synchronous ports.") rs232SyncPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 33, 4, 1)).setIndexNames((0, "RS-232-MIB", "rs232SyncPortIndex")) if mibBuilder.loadTexts: rs232SyncPortEntry.setDescription("Status and parameter values for a synchronous\nport.") rs232SyncPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232SyncPortIndex.setDescription("A unique value for each port. Its value is the\nsame as rs232PortIndex for the port.") rs232SyncPortClockSource = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("internal", 1), ("external", 2), ("split", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortClockSource.setDescription("Source of the port's bit rate clock. 'split' means\nthe tranmit clock is internal and the receive clock\nis external.") rs232SyncPortFrameCheckErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232SyncPortFrameCheckErrs.setDescription("Total number of frames with an invalid frame check\nsequence, input from the port since system\nre-initialization and while the port state was 'up'\nor 'test'.") rs232SyncPortTransmitUnderrunErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232SyncPortTransmitUnderrunErrs.setDescription("Total number of frames that failed to be\ntransmitted on the port since system\nre-initialization and while the port state was 'up'\nor 'test' because data was not available to the\ntransmitter in time.") rs232SyncPortReceiveOverrunErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232SyncPortReceiveOverrunErrs.setDescription("Total number of frames that failed to be received\non the port since system re-initialization and while\nthe port state was 'up' or 'test' because the\nreceiver did not accept the data in time.") rs232SyncPortInterruptedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232SyncPortInterruptedFrames.setDescription("Total number of frames that failed to be received\nor transmitted on the port due to loss of modem\nsignals since system re-initialization and while the\nport state was 'up' or 'test'.") rs232SyncPortAbortedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232SyncPortAbortedFrames.setDescription("Number of frames aborted on the port due to\nreceiving an abort sequence since system\nre-initialization and while the port state was 'up'\nor 'test'.") rs232SyncPortRole = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("dte", 1), ("dce", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortRole.setDescription("The role the device is playing that is using this port.\ndte means the device is performing the role of\n data terminal equipment\ndce means the device is performing the role of\n data circuit-terminating equipment.") rs232SyncPortEncoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("nrz", 1), ("nrzi", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortEncoding.setDescription("The bit stream encoding technique that is in effect\nfor this port.\n nrz for Non-Return to Zero encoding\n nrzi for Non-Return to Zero Inverted encoding.") rs232SyncPortRTSControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("controlled", 1), ("constant", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortRTSControl.setDescription("The method used to control the Request To Send (RTS)\nsignal.\n\n controlled when the DTE is asserts RTS each time\n data needs to be transmitted and drops\n RTS at some point after data\n transmission begins.\n\n If rs232SyncPortRole is 'dte', the\n RTS is an output signal. The device\n will issue a RTS and wait for a CTS\n from the DCE before starting to\n transmit.\n\n If rs232SyncPortRole is 'dce', the\n RTS is an input signal. The device\n will issue a CTS only after having\n received RTS and waiting the\n rs232SyncPortRTSCTSDelay interval.\n\n constant when the DTE constantly asserts RTS.") rs232SyncPortRTSCTSDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 11), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortRTSCTSDelay.setDescription("The interval (in milliseconds) that the DCE must wait\nafter it sees RTS asserted before asserting CTS. This\nobject exists in support of older synchronous devices\nthat cannot recognize CTS within a certain interval\nafter it asserts RTS.") rs232SyncPortMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("fdx", 1), ("hdx", 2), ("simplex-receive", 3), ("simplex-send", 4), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortMode.setDescription("The mode of operation of the port with respect to the\ndirection and simultaneity of data transfer.\n fdx when frames on the data link can be\n transmitted and received at the same\n time\n\n hdx when frames can either be received\n from the data link or transmitted\n onto the data link but not at the\n same time.\n\n simplex-receive when frames can only be received on\n this data link.\n\n simplex-send when frames can only be sent on this\n data link.") rs232SyncPortIdlePattern = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("mark", 1), ("space", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortIdlePattern.setDescription("The bit pattern used to indicate an idle line.") rs232SyncPortMinFlags = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 4, 1, 14), Integer32().clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rs232SyncPortMinFlags.setDescription("The minimum number of flag patterns this port needs in\norder to recognize the end of one frame and the start\nof the next. Plausible values are 1 and 2.") rs232InSigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 33, 5)) if mibBuilder.loadTexts: rs232InSigTable.setDescription("A list of port input control signal entries\nimplemented and visible to the software on the port,\nand useful to monitor.") rs232InSigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 33, 5, 1)).setIndexNames((0, "RS-232-MIB", "rs232InSigPortIndex"), (0, "RS-232-MIB", "rs232InSigName")) if mibBuilder.loadTexts: rs232InSigEntry.setDescription("Input control signal status for a hardware port.") rs232InSigPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 5, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232InSigPortIndex.setDescription("The value of rs232PortIndex for the port to which\nthis entry belongs.") rs232InSigName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 5, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(6,1,4,11,2,9,7,3,8,10,5,)).subtype(namedValues=NamedValues(("rts", 1), ("scts", 10), ("sdcd", 11), ("cts", 2), ("dsr", 3), ("dtr", 4), ("ri", 5), ("dcd", 6), ("sq", 7), ("srs", 8), ("srts", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232InSigName.setDescription("Identification of a hardware signal, as follows:\n\nrts Request to Send\ncts Clear to Send\ndsr Data Set Ready\ndtr Data Terminal Ready\nri Ring Indicator\ndcd Received Line Signal Detector\nsq Signal Quality Detector\nsrs Data Signaling Rate Selector\nsrts Secondary Request to Send\nscts Secondary Clear to Send\nsdcd Secondary Received Line Signal Detector") rs232InSigState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 5, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("on", 2), ("off", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232InSigState.setDescription("The current signal state.") rs232InSigChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232InSigChanges.setDescription("The number of times the signal has changed from\n'on' to 'off' or from 'off' to 'on'.") rs232OutSigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 33, 6)) if mibBuilder.loadTexts: rs232OutSigTable.setDescription("A list of port output control signal entries\nimplemented and visible to the software on the port,\nand useful to monitor.") rs232OutSigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 33, 6, 1)).setIndexNames((0, "RS-232-MIB", "rs232OutSigPortIndex"), (0, "RS-232-MIB", "rs232OutSigName")) if mibBuilder.loadTexts: rs232OutSigEntry.setDescription("Output control signal status for a hardware port.") rs232OutSigPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 6, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232OutSigPortIndex.setDescription("The value of rs232PortIndex for the port to which\nthis entry belongs.") rs232OutSigName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 6, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(6,1,4,11,2,9,7,3,8,10,5,)).subtype(namedValues=NamedValues(("rts", 1), ("scts", 10), ("sdcd", 11), ("cts", 2), ("dsr", 3), ("dtr", 4), ("ri", 5), ("dcd", 6), ("sq", 7), ("srs", 8), ("srts", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232OutSigName.setDescription("Identification of a hardware signal, as follows:\n\nrts Request to Send\ncts Clear to Send\ndsr Data Set Ready\ndtr Data Terminal Ready\nri Ring Indicator\ndcd Received Line Signal Detector\nsq Signal Quality Detector\nsrs Data Signaling Rate Selector\nsrts Secondary Request to Send\nscts Secondary Clear to Send\nsdcd Secondary Received Line Signal Detector") rs232OutSigState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 6, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("on", 2), ("off", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232OutSigState.setDescription("The current signal state.") rs232OutSigChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 33, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rs232OutSigChanges.setDescription("The number of times the signal has changed from\n'on' to 'off' or from 'off' to 'on'.") rs232Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 33, 7)) rs232Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 33, 7, 1)) rs232Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 33, 7, 2)) # Augmentions # Groups rs232Group = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 33, 7, 1, 1)).setObjects(*(("RS-232-MIB", "rs232OutSigPortIndex"), ("RS-232-MIB", "rs232PortType"), ("RS-232-MIB", "rs232OutSigName"), ("RS-232-MIB", "rs232PortOutFlowType"), ("RS-232-MIB", "rs232PortInSigNumber"), ("RS-232-MIB", "rs232OutSigState"), ("RS-232-MIB", "rs232PortInFlowType"), ("RS-232-MIB", "rs232InSigPortIndex"), ("RS-232-MIB", "rs232OutSigChanges"), ("RS-232-MIB", "rs232InSigState"), ("RS-232-MIB", "rs232InSigChanges"), ("RS-232-MIB", "rs232Number"), ("RS-232-MIB", "rs232PortIndex"), ("RS-232-MIB", "rs232PortInSpeed"), ("RS-232-MIB", "rs232InSigName"), ("RS-232-MIB", "rs232PortOutSigNumber"), ("RS-232-MIB", "rs232PortOutSpeed"), ) ) if mibBuilder.loadTexts: rs232Group.setDescription("A collection of objects providing information\napplicable to all RS-232-like interfaces.") rs232AsyncGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 33, 7, 1, 2)).setObjects(*(("RS-232-MIB", "rs232AsyncPortAutobaud"), ("RS-232-MIB", "rs232AsyncPortStopBits"), ("RS-232-MIB", "rs232AsyncPortParity"), ("RS-232-MIB", "rs232AsyncPortBits"), ("RS-232-MIB", "rs232AsyncPortIndex"), ("RS-232-MIB", "rs232AsyncPortOverrunErrs"), ("RS-232-MIB", "rs232AsyncPortParityErrs"), ("RS-232-MIB", "rs232AsyncPortFramingErrs"), ) ) if mibBuilder.loadTexts: rs232AsyncGroup.setDescription("A collection of objects providing information\napplicable to asynchronous RS-232-like interfaces.") rs232SyncGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 33, 7, 1, 3)).setObjects(*(("RS-232-MIB", "rs232SyncPortInterruptedFrames"), ("RS-232-MIB", "rs232SyncPortReceiveOverrunErrs"), ("RS-232-MIB", "rs232SyncPortClockSource"), ("RS-232-MIB", "rs232SyncPortIndex"), ("RS-232-MIB", "rs232SyncPortFrameCheckErrs"), ("RS-232-MIB", "rs232SyncPortTransmitUnderrunErrs"), ("RS-232-MIB", "rs232SyncPortAbortedFrames"), ) ) if mibBuilder.loadTexts: rs232SyncGroup.setDescription("A collection of objects providing information\napplicable to synchronous RS-232-like interfaces.") rs232SyncSDLCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 33, 7, 1, 4)).setObjects(*(("RS-232-MIB", "rs232SyncPortRole"), ("RS-232-MIB", "rs232SyncPortMode"), ("RS-232-MIB", "rs232SyncPortEncoding"), ("RS-232-MIB", "rs232SyncPortRTSControl"), ("RS-232-MIB", "rs232SyncPortRTSCTSDelay"), ("RS-232-MIB", "rs232SyncPortIdlePattern"), ("RS-232-MIB", "rs232SyncPortMinFlags"), ) ) if mibBuilder.loadTexts: rs232SyncSDLCGroup.setDescription("A collection of objects providing information\napplicable to synchronous RS-232-like interfaces\nrunning SDLC.") # Compliances rs232Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 33, 7, 2, 1)).setObjects(*(("RS-232-MIB", "rs232AsyncGroup"), ("RS-232-MIB", "rs232Group"), ("RS-232-MIB", "rs232SyncGroup"), ) ) if mibBuilder.loadTexts: rs232Compliance.setDescription("The compliance statement for SNMPv2 entities\nwhich have RS-232-like hardware interfaces.") # Exports # Module identity mibBuilder.exportSymbols("RS-232-MIB", PYSNMP_MODULE_ID=rs232) # Objects mibBuilder.exportSymbols("RS-232-MIB", rs232=rs232, rs232Number=rs232Number, rs232PortTable=rs232PortTable, rs232PortEntry=rs232PortEntry, rs232PortIndex=rs232PortIndex, rs232PortType=rs232PortType, rs232PortInSigNumber=rs232PortInSigNumber, rs232PortOutSigNumber=rs232PortOutSigNumber, rs232PortInSpeed=rs232PortInSpeed, rs232PortOutSpeed=rs232PortOutSpeed, rs232PortInFlowType=rs232PortInFlowType, rs232PortOutFlowType=rs232PortOutFlowType, rs232AsyncPortTable=rs232AsyncPortTable, rs232AsyncPortEntry=rs232AsyncPortEntry, rs232AsyncPortIndex=rs232AsyncPortIndex, rs232AsyncPortBits=rs232AsyncPortBits, rs232AsyncPortStopBits=rs232AsyncPortStopBits, rs232AsyncPortParity=rs232AsyncPortParity, rs232AsyncPortAutobaud=rs232AsyncPortAutobaud, rs232AsyncPortParityErrs=rs232AsyncPortParityErrs, rs232AsyncPortFramingErrs=rs232AsyncPortFramingErrs, rs232AsyncPortOverrunErrs=rs232AsyncPortOverrunErrs, rs232SyncPortTable=rs232SyncPortTable, rs232SyncPortEntry=rs232SyncPortEntry, rs232SyncPortIndex=rs232SyncPortIndex, rs232SyncPortClockSource=rs232SyncPortClockSource, rs232SyncPortFrameCheckErrs=rs232SyncPortFrameCheckErrs, rs232SyncPortTransmitUnderrunErrs=rs232SyncPortTransmitUnderrunErrs, rs232SyncPortReceiveOverrunErrs=rs232SyncPortReceiveOverrunErrs, rs232SyncPortInterruptedFrames=rs232SyncPortInterruptedFrames, rs232SyncPortAbortedFrames=rs232SyncPortAbortedFrames, rs232SyncPortRole=rs232SyncPortRole, rs232SyncPortEncoding=rs232SyncPortEncoding, rs232SyncPortRTSControl=rs232SyncPortRTSControl, rs232SyncPortRTSCTSDelay=rs232SyncPortRTSCTSDelay, rs232SyncPortMode=rs232SyncPortMode, rs232SyncPortIdlePattern=rs232SyncPortIdlePattern, rs232SyncPortMinFlags=rs232SyncPortMinFlags, rs232InSigTable=rs232InSigTable, rs232InSigEntry=rs232InSigEntry, rs232InSigPortIndex=rs232InSigPortIndex, rs232InSigName=rs232InSigName, rs232InSigState=rs232InSigState, rs232InSigChanges=rs232InSigChanges, rs232OutSigTable=rs232OutSigTable, rs232OutSigEntry=rs232OutSigEntry, rs232OutSigPortIndex=rs232OutSigPortIndex, rs232OutSigName=rs232OutSigName, rs232OutSigState=rs232OutSigState, rs232OutSigChanges=rs232OutSigChanges, rs232Conformance=rs232Conformance, rs232Groups=rs232Groups, rs232Compliances=rs232Compliances) # Groups mibBuilder.exportSymbols("RS-232-MIB", rs232Group=rs232Group, rs232AsyncGroup=rs232AsyncGroup, rs232SyncGroup=rs232SyncGroup, rs232SyncSDLCGroup=rs232SyncSDLCGroup) # Compliances mibBuilder.exportSymbols("RS-232-MIB", rs232Compliance=rs232Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-RTPROTO-MIB.py0000644000014400001440000000604011736645136021314 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-RTPROTO-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:07 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANAipMRouteProtocol(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,5,8,7,12,10,4,3,6,1,2,11,) namedValues = NamedValues(("other", 1), ("igmpOnly", 10), ("bgmp", 11), ("msdp", 12), ("local", 2), ("netmgmt", 3), ("dvmrp", 4), ("mospf", 5), ("pimSparseDense", 6), ("cbt", 7), ("pimSparseMode", 8), ("pimDenseMode", 9), ) class IANAipRouteProtocol(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(10,9,3,13,16,5,8,14,15,11,1,17,12,4,2,7,6,) namedValues = NamedValues(("other", 1), ("esIs", 10), ("ciscoIgrp", 11), ("bbnSpfIgp", 12), ("ospf", 13), ("bgp", 14), ("idpr", 15), ("ciscoEigrp", 16), ("dvmrp", 17), ("local", 2), ("netmgmt", 3), ("icmp", 4), ("egp", 5), ("ggp", 6), ("hello", 7), ("rip", 8), ("isIs", 9), ) # Objects ianaRtProtoMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 84)).setRevisions(("2000-09-26 00:00",)) if mibBuilder.loadTexts: ianaRtProtoMIB.setOrganization("IANA") if mibBuilder.loadTexts: ianaRtProtoMIB.setContactInfo(" Internet Assigned Numbers Authority\nInternet Corporation for Assigned Names and Numbers\n4676 Admiralty Way, Suite 330\nMarina del Rey, CA 90292-6601\n\nPhone: +1 310 823 9358\nEMail: iana&iana.org") if mibBuilder.loadTexts: ianaRtProtoMIB.setDescription("This MIB module defines the IANAipRouteProtocol and\nIANAipMRouteProtocol textual conventions for use in MIBs\nwhich need to identify unicast or multicast routing\nmechanisms.\n\nAny additions or changes to the contents of this MIB module\nrequire either publication of an RFC, or Designated Expert\nReview as defined in RFC 2434, Guidelines for Writing an\nIANA Considerations Section in RFCs. The Designated Expert \nwill be selected by the IESG Area Director(s) of the Routing\nArea.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-RTPROTO-MIB", PYSNMP_MODULE_ID=ianaRtProtoMIB) # Types mibBuilder.exportSymbols("IANA-RTPROTO-MIB", IANAipMRouteProtocol=IANAipMRouteProtocol, IANAipRouteProtocol=IANAipRouteProtocol) # Objects mibBuilder.exportSymbols("IANA-RTPROTO-MIB", ianaRtProtoMIB=ianaRtProtoMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/SIP-SERVER-MIB.py0000644000014400001440000007346211736645137021111 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SIP-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:37 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( applIndex, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "applIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TimeStamp", "TruthValue") # Objects sipServerMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 151)).setRevisions(("2007-04-20 00:00",)) if mibBuilder.loadTexts: sipServerMIB.setOrganization("IETF Session Initiation Protocol\nWorking Group") if mibBuilder.loadTexts: sipServerMIB.setContactInfo("SIP WG email: sip@ietf.org\n\nCo-editor: Kevin Lingle\n Cisco Systems, Inc.\n postal: 7025 Kit Creek Road\n P.O. Box 14987\n Research Triangle Park, NC 27709\n USA\n email: klingle@cisco.com\n phone: +1 919 476 2029\n\nCo-editor: Joon Maeng\n email: jmaeng@austin.rr.com\n\nCo-editor: Jean-Francois Mule\n CableLabs\n postal: 858 Coal Creek Circle\n Louisville, CO 80027\n USA\n email: jf.mule@cablelabs.com\n phone: +1 303 661 9100\n\nCo-editor: Dave Walker\n email: drwalker@rogers.com") if mibBuilder.loadTexts: sipServerMIB.setDescription("Session Initiation Protocol (SIP) Server MIB module. SIP is an\napplication-layer signaling protocol for creating, modifying,\nand terminating multimedia sessions with one or more\nparticipants. These sessions include Internet multimedia\nconferences and Internet telephone calls. SIP is defined in\nRFC 3261 (June 2002).\n\nThis MIB is defined for the management of SIP Proxy, Redirect,\nand Registrar Servers.\n\n\n\nA Proxy Server acts as both a client and a server. It accepts\nrequests from other clients, either responding to them or\npassing them on to other servers, possibly after modification.\n\nA Redirect Server accepts requests from clients and returns\nzero or more addresses to that client. Unlike a User Agent\nServer, it does not accept calls.\n\nA Registrar is a server that accepts REGISTER requests. A\nRegistrar is typically co-located with a Proxy or Redirect\nServer.\n\nCopyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4780; see the RFC itself for\nfull legal notices.") sipServerMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 1)) sipServerCfg = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 1, 1)) sipServerCfgTable = MibTable((1, 3, 6, 1, 2, 1, 151, 1, 1, 1)) if mibBuilder.loadTexts: sipServerCfgTable.setDescription("This table contains configuration objects applicable to SIP\nRedirect and Proxy Servers.") sipServerCfgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 151, 1, 1, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipServerCfgEntry.setDescription("A row of common configuration.\n\nEach row represents those objects for a particular SIP server\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP servers and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).\nThe same value of applIndex used in the corresponding\nSIP-COMMON-MIB is used here.") sipServerCfgHostAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 1, 1, 1, 1), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerCfgHostAddressType.setDescription("The type of Internet address by which the SIP server is\nreachable.") sipServerCfgHostAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 1, 1, 1, 2), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerCfgHostAddress.setDescription("This is the host portion of a SIP URI that is assigned to the\nSIP server. It MAY contain a fully qualified domain name or\nan IP address. The length of the value will depend on the type\nof address specified. The type of address given by this object\nis controlled by sipServerCfgHostAddressType.") sipServerProxyCfg = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 1, 3)) sipServerProxyCfgTable = MibTable((1, 3, 6, 1, 2, 1, 151, 1, 3, 1)) if mibBuilder.loadTexts: sipServerProxyCfgTable.setDescription("This table contains configuration objects applicable to SIP\nProxy Servers.") sipServerProxyCfgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 151, 1, 3, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipServerProxyCfgEntry.setDescription("A row of common proxy configuration.\n\nEach row represents those objects for a particular SIP server\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP servers and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788). The\nsame value of applIndex used in the corresponding\nSIP-COMMON-MIB is used here.") sipServerCfgProxyStatefulness = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 3, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("stateless", 1), ("transactionStateful", 2), ("callStateful", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerCfgProxyStatefulness.setDescription("This object reflects the default mode of operation for the\nProxy Server entity.\n\nA stateless proxy is a logical entity that does not maintain\nthe client or server transaction state machines when it\nprocesses requests. A stateless proxy forwards every request it\nreceives downstream and every response it receives upstream. If\nthe value of this object is stateless(1), the proxy defaults to\nstateless operations.\n\nA transaction stateful proxy, or simply a 'stateful proxy', is\na logical entity that maintains the client and server\ntransaction state machines during the processing of a request.\nA (transaction) stateful proxy is not the same as a call\nstateful proxy. If the value of this object is\ntransactionStateful(2), the proxy is stateful on a transaction\nbasis.\n\nA call stateful proxy is a logical entity if it retains state\nfor a dialog from the initiating INVITE to the terminating BYE\nrequest. A call stateful proxy is always transaction stateful,\nbut the converse is not necessarily true. If the value of this\nobject is callStateful(3), the proxy is call stateful.") sipServerCfgProxyRecursion = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 3, 1, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerCfgProxyRecursion.setDescription("This object reflects whether or not the Proxy performs a\nrecursive search on the Contacts provided in 3xx redirects.\n\nIf the value of this object is 'true', a recursive search is\nperformed. If the value is 'false', no search is performed,\nand the 3xx response is sent upstream towards the source of\nthe request.") sipServerCfgProxyRecordRoute = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 3, 1, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerCfgProxyRecordRoute.setDescription("This object reflects whether or not the proxy adds itself to\nthe Record-Route header as a default action. This header is\nused to list the proxies that insist on being in the signaling\npath for subsequent requests related to the call leg.\n\nIf the value of this object is 'true', the proxy adds itself to\nthe end of the Record-Route header, creating the header if\nrequired. If the value is 'false', the proxy does not add\nitself to the Record-Route header.") sipServerCfgProxyAuthMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 3, 1, 1, 4), Bits().subtype(namedValues=NamedValues(("none", 0), ("tls", 1), ("digest", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerCfgProxyAuthMethod.setDescription("This object reflects the authentication methods that MAY be\nused to authenticate request originators.\n\nbit 0 no authentication is performed\nbit 1 TLS is used\nbit 2 HTTP Digest is used.") sipServerCfgProxyAuthDefaultRealm = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 3, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerCfgProxyAuthDefaultRealm.setDescription("This object reflects the default realm value used in\nProxy-Authenticate headers. Note that this MAY need to be\nstored per user, in which case, this default value is ignored.") sipServerProxyStats = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 1, 4)) sipServerProxyStatsTable = MibTable((1, 3, 6, 1, 2, 1, 151, 1, 4, 1)) if mibBuilder.loadTexts: sipServerProxyStatsTable.setDescription("This table contains the statistics objects applicable to all\nSIP Proxy Servers in this system.") sipServerProxyStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 151, 1, 4, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipServerProxyStatsEntry.setDescription("A row of summary statistics.\n\nEach row represents those objects for a particular SIP server\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP servers and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788). The\nsame value of applIndex used in the corresponding\nSIP-COMMON-MIB is used here.") sipServerProxyStatProxyReqFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 4, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerProxyStatProxyReqFailures.setDescription("This object contains the number of occurrences of unsupported\noptions being specified in received Proxy-Require headers.\nSuch occurrences result in a 420 Bad Extension status code\nbeing returned.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\n\n\nmonitoring the sipServerProxyStatsDisconTime object in the same\nrow.") sipServerProxyStatsDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 4, 1, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerProxyStatsDisconTime.setDescription("The value of the sysUpTime object when the counters for the server\nstatistics objects in this row last experienced a discontinuity.") sipServerRegCfg = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 1, 5)) sipServerRegCfgTable = MibTable((1, 3, 6, 1, 2, 1, 151, 1, 5, 1)) if mibBuilder.loadTexts: sipServerRegCfgTable.setDescription("This table contains configuration objects applicable to SIP\nRegistrars.") sipServerRegCfgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 151, 1, 5, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipServerRegCfgEntry.setDescription("A row of common Registrar configuration.\n\nEach row represents those objects for a particular SIP server\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP servers and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788). The\nsame value of applIndex used in the corresponding\nSIP-COMMON-MIB is used here.") sipServerRegMaxContactExpiryDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegMaxContactExpiryDuration.setDescription("This object reflects the maximum expiry that may be requested\nby a User Agent for a particular Contact. User Agents can\nspecify expiry using either an Expiry header in a REGISTER\nrequest, or using an Expires parameter in a Contact header in\na REGISTER request. If the value requested by the User Agent\nis greater than the value of this object, then the contact\ninformation is given the duration specified by this object, and\nthat duration is indicated to the User Agent in the response.") sipServerRegMaxUsers = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegMaxUsers.setDescription("This object reflects the maximum number of users that the\nRegistrar supports. The current number of users is reflected\nby sipServerRegCurrentUsers.") sipServerRegCurrentUsers = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 1, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegCurrentUsers.setDescription("This object reflects the number of users currently registered\nwith the Registrar.") sipServerRegDfltRegActiveInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegDfltRegActiveInterval.setDescription("This object reflects the default time interval the Registrar\nconsiders registrations to be active. The value is used to\ncompute the Expires header in the REGISTER response. If a user\nagent requests a time interval shorter than specified by this\nobject, the Registrar SHOULD honor that request. If a Contact\nentry does not have an 'expires' parameter, the value of the\nExpires header field is used instead. If a Contact entry has no\n'expires' parameter and no Expires header field is present,\nthe value of this object is used as the default value.") sipServerRegUserTable = MibTable((1, 3, 6, 1, 2, 1, 151, 1, 5, 2)) if mibBuilder.loadTexts: sipServerRegUserTable.setDescription("This table contains information on all users registered to each\nRegistrar in this system.") sipServerRegUserEntry = MibTableRow((1, 3, 6, 1, 2, 1, 151, 1, 5, 2, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-SERVER-MIB", "sipServerRegUserIndex")) if mibBuilder.loadTexts: sipServerRegUserEntry.setDescription("This entry contains information for a single user registered to\nthis Registrar.\n\nEach row represents those objects for a particular SIP server\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP servers and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788). The\nsame value of applIndex used in the corresponding\nSIP-COMMON-MIB is used here.") sipServerRegUserIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipServerRegUserIndex.setDescription("This object uniquely identifies a conceptual row in the table.") sipServerRegUserUri = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegUserUri.setDescription("This object contains the user's address-of-record. It is the\nmain form by which the Registrar knows the user. The format is\ntypically 'user@domain'. It is contained in the To header for\nall REGISTER requests.") sipServerRegUserAuthenticationFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegUserAuthenticationFailures.setDescription("This object contains a count of the number of times the user\nhas failed authentication.\n\nDiscontinuities in the value of this counter can occur due to\nsuccessful user authentications and at re-initialization of\nthe SIP entity or service. A Management Station can detect\ndiscontinuities in this counter by monitoring the\nsipServerRegUserDisconTime object in the same row.") sipServerRegUserDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 2, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegUserDisconTime.setDescription("The value of the sysUpTime object when the counters for the\nuser registration statistics objects in this row last\nexperienced a discontinuity.") sipServerRegContactTable = MibTable((1, 3, 6, 1, 2, 1, 151, 1, 5, 3)) if mibBuilder.loadTexts: sipServerRegContactTable.setDescription("This table contains information on every location where a\nregistered user (specified by sipServerRegUserIndex) wishes to\nbe found (i.e., the user has provided contact information to\neach SIP Registrar in this system).") sipServerRegContactEntry = MibTableRow((1, 3, 6, 1, 2, 1, 151, 1, 5, 3, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-SERVER-MIB", "sipServerRegUserIndex"), (0, "SIP-SERVER-MIB", "sipServerRegContactIndex")) if mibBuilder.loadTexts: sipServerRegContactEntry.setDescription("This entry contains information for a single Contact. Multiple\ncontacts may exist for a single user.\n\nEach row represents those objects for a particular SIP server\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP servers and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788). The\nsame value of applIndex used in the corresponding\nSIP-COMMON-MIB is used here.") sipServerRegContactIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipServerRegContactIndex.setDescription("Along with the sipServerRegUserIndex, this object uniquely\nidentifies a conceptual row in the table.") sipServerRegContactDisplayName = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 3, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegContactDisplayName.setDescription("This object contains the display name for the Contact. For\nexample, 'Santa at Home', or 'Santa on his Sled', corresponding\nto contact URIs of sip:BigGuy@example.com or\nsip:sclaus817@example.com, respectively.") sipServerRegContactURI = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 3, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegContactURI.setDescription("This object contains either a SIP URI where the user can be\ncontacted. This URI is normally returned to a client from a\nRedirect Server, or is used as the RequestURI in a SIP request\nline for requests forwarded by a proxy.") sipServerRegContactLastUpdated = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 3, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegContactLastUpdated.setDescription("This object indicates the time when this contact information\nwas accepted. If the contact information is updated via a\nsubsequent REGISTER of the same information, this object is\nalso updated.") sipServerRegContactExpiry = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 3, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegContactExpiry.setDescription("This object contains the date and time when the contact\ninformation will no longer be valid. Such times may be\nspecified by the user at registration (i.e., Expires header or\nexpiry parameter in the Contact information), or a system\ndefault can be applied.") sipServerRegContactPreference = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 5, 3, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegContactPreference.setDescription("This object indicates a relative preference for the particular\nContact header field value compared to other bindings for this\naddress-of-record. A registering user may provide this\npreference as a 'qvalue' parameter in the Contact header.\n\nThe format of this item is a decimal number between 0 and 1\n(for example 0.9). Higher values indicate locations preferred\nby the user.") sipServerRegStats = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 1, 6)) sipServerRegStatsTable = MibTable((1, 3, 6, 1, 2, 1, 151, 1, 6, 1)) if mibBuilder.loadTexts: sipServerRegStatsTable.setDescription("This table contains the summary statistics objects applicable\nto all SIP Registrars in this system.") sipServerRegStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 151, 1, 6, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipServerRegStatsEntry.setDescription("A row of summary statistics.\n\nEach row represents those objects for a particular SIP server\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP servers and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788). The\nsame value of applIndex used in the corresponding\nSIP-COMMON-MIB is used here.") sipServerRegStatsAcceptedRegs = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 6, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegStatsAcceptedRegs.setDescription("This object contains a count of the number of REGISTER requests\nthat have been accepted (status code 200) by the Registrar.\nThis includes additions of new contact information, refreshing\ncontact information, as well as requests for deletion of\ncontact information.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipServerRegStatsDisconTime object in the same\nrow.") sipServerRegStatsRejectedRegs = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 6, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegStatsRejectedRegs.setDescription("This object contains a count of the number REGISTER requests\nthat have been rejected by the Registrar.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipServerRegStatsDisconTime object in the same\nrow.") sipServerRegStatsDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 151, 1, 6, 1, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipServerRegStatsDisconTime.setDescription("The value of the sysUpTime object when the counters for the\nregistrar statistics objects in this row last experienced a\ndiscontinuity.") sipServerMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 2)) sipServerMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 2, 1)) sipServerMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 151, 2, 2)) # Augmentions # Groups sipServerConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 151, 2, 2, 1)).setObjects(*(("SIP-SERVER-MIB", "sipServerCfgHostAddress"), ("SIP-SERVER-MIB", "sipServerCfgHostAddressType"), ) ) if mibBuilder.loadTexts: sipServerConfigGroup.setDescription("A collection of objects providing configuration common to SIP\nProxy and Redirect servers.") sipServerProxyConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 151, 2, 2, 2)).setObjects(*(("SIP-SERVER-MIB", "sipServerCfgProxyRecursion"), ("SIP-SERVER-MIB", "sipServerCfgProxyRecordRoute"), ("SIP-SERVER-MIB", "sipServerCfgProxyStatefulness"), ("SIP-SERVER-MIB", "sipServerCfgProxyAuthDefaultRealm"), ("SIP-SERVER-MIB", "sipServerCfgProxyAuthMethod"), ) ) if mibBuilder.loadTexts: sipServerProxyConfigGroup.setDescription("A collection of objects providing configuration for SIP Proxy\nservers.") sipServerProxyStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 151, 2, 2, 3)).setObjects(*(("SIP-SERVER-MIB", "sipServerProxyStatsDisconTime"), ("SIP-SERVER-MIB", "sipServerProxyStatProxyReqFailures"), ) ) if mibBuilder.loadTexts: sipServerProxyStatsGroup.setDescription("A collection of objects providing statistics for SIP Proxy\nservers.") sipServerRegistrarConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 151, 2, 2, 4)).setObjects(*(("SIP-SERVER-MIB", "sipServerRegCurrentUsers"), ("SIP-SERVER-MIB", "sipServerRegMaxUsers"), ("SIP-SERVER-MIB", "sipServerRegMaxContactExpiryDuration"), ("SIP-SERVER-MIB", "sipServerRegDfltRegActiveInterval"), ) ) if mibBuilder.loadTexts: sipServerRegistrarConfigGroup.setDescription("A collection of objects providing configuration for SIP\nRegistrars.") sipServerRegistrarStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 151, 2, 2, 5)).setObjects(*(("SIP-SERVER-MIB", "sipServerRegStatsAcceptedRegs"), ("SIP-SERVER-MIB", "sipServerRegStatsDisconTime"), ("SIP-SERVER-MIB", "sipServerRegStatsRejectedRegs"), ) ) if mibBuilder.loadTexts: sipServerRegistrarStatsGroup.setDescription("A collection of objects providing statistics for SIP\nRegistrars.") sipServerRegistrarUsersGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 151, 2, 2, 6)).setObjects(*(("SIP-SERVER-MIB", "sipServerRegUserDisconTime"), ("SIP-SERVER-MIB", "sipServerRegContactPreference"), ("SIP-SERVER-MIB", "sipServerRegContactDisplayName"), ("SIP-SERVER-MIB", "sipServerRegUserUri"), ("SIP-SERVER-MIB", "sipServerRegContactExpiry"), ("SIP-SERVER-MIB", "sipServerRegContactURI"), ("SIP-SERVER-MIB", "sipServerRegContactLastUpdated"), ("SIP-SERVER-MIB", "sipServerRegUserAuthenticationFailures"), ) ) if mibBuilder.loadTexts: sipServerRegistrarUsersGroup.setDescription("A collection of objects related to registered users.") # Compliances sipServerProxyServerCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 151, 2, 1, 1)).setObjects(*(("SIP-SERVER-MIB", "sipServerProxyConfigGroup"), ("SIP-SERVER-MIB", "sipServerConfigGroup"), ("SIP-SERVER-MIB", "sipServerProxyStatsGroup"), ) ) if mibBuilder.loadTexts: sipServerProxyServerCompliance.setDescription("The compliance statement for SIP entities acting as Proxy\nServers.") sipRedirectServerCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 151, 2, 1, 2)).setObjects(*(("SIP-SERVER-MIB", "sipServerConfigGroup"), ) ) if mibBuilder.loadTexts: sipRedirectServerCompliance.setDescription("The compliance statement for SIP entities acting as Redirect\nServers.") sipServerRegistrarServerCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 151, 2, 1, 3)).setObjects(*(("SIP-SERVER-MIB", "sipServerRegistrarConfigGroup"), ("SIP-SERVER-MIB", "sipServerRegistrarStatsGroup"), ("SIP-SERVER-MIB", "sipServerRegistrarUsersGroup"), ("SIP-SERVER-MIB", "sipServerConfigGroup"), ) ) if mibBuilder.loadTexts: sipServerRegistrarServerCompliance.setDescription("The compliance statement for SIP entities acting as\nRegistrars.") # Exports # Module identity mibBuilder.exportSymbols("SIP-SERVER-MIB", PYSNMP_MODULE_ID=sipServerMIB) # Objects mibBuilder.exportSymbols("SIP-SERVER-MIB", sipServerMIB=sipServerMIB, sipServerMIBObjects=sipServerMIBObjects, sipServerCfg=sipServerCfg, sipServerCfgTable=sipServerCfgTable, sipServerCfgEntry=sipServerCfgEntry, sipServerCfgHostAddressType=sipServerCfgHostAddressType, sipServerCfgHostAddress=sipServerCfgHostAddress, sipServerProxyCfg=sipServerProxyCfg, sipServerProxyCfgTable=sipServerProxyCfgTable, sipServerProxyCfgEntry=sipServerProxyCfgEntry, sipServerCfgProxyStatefulness=sipServerCfgProxyStatefulness, sipServerCfgProxyRecursion=sipServerCfgProxyRecursion, sipServerCfgProxyRecordRoute=sipServerCfgProxyRecordRoute, sipServerCfgProxyAuthMethod=sipServerCfgProxyAuthMethod, sipServerCfgProxyAuthDefaultRealm=sipServerCfgProxyAuthDefaultRealm, sipServerProxyStats=sipServerProxyStats, sipServerProxyStatsTable=sipServerProxyStatsTable, sipServerProxyStatsEntry=sipServerProxyStatsEntry, sipServerProxyStatProxyReqFailures=sipServerProxyStatProxyReqFailures, sipServerProxyStatsDisconTime=sipServerProxyStatsDisconTime, sipServerRegCfg=sipServerRegCfg, sipServerRegCfgTable=sipServerRegCfgTable, sipServerRegCfgEntry=sipServerRegCfgEntry, sipServerRegMaxContactExpiryDuration=sipServerRegMaxContactExpiryDuration, sipServerRegMaxUsers=sipServerRegMaxUsers, sipServerRegCurrentUsers=sipServerRegCurrentUsers, sipServerRegDfltRegActiveInterval=sipServerRegDfltRegActiveInterval, sipServerRegUserTable=sipServerRegUserTable, sipServerRegUserEntry=sipServerRegUserEntry, sipServerRegUserIndex=sipServerRegUserIndex, sipServerRegUserUri=sipServerRegUserUri, sipServerRegUserAuthenticationFailures=sipServerRegUserAuthenticationFailures, sipServerRegUserDisconTime=sipServerRegUserDisconTime, sipServerRegContactTable=sipServerRegContactTable, sipServerRegContactEntry=sipServerRegContactEntry, sipServerRegContactIndex=sipServerRegContactIndex, sipServerRegContactDisplayName=sipServerRegContactDisplayName, sipServerRegContactURI=sipServerRegContactURI, sipServerRegContactLastUpdated=sipServerRegContactLastUpdated, sipServerRegContactExpiry=sipServerRegContactExpiry, sipServerRegContactPreference=sipServerRegContactPreference, sipServerRegStats=sipServerRegStats, sipServerRegStatsTable=sipServerRegStatsTable, sipServerRegStatsEntry=sipServerRegStatsEntry, sipServerRegStatsAcceptedRegs=sipServerRegStatsAcceptedRegs, sipServerRegStatsRejectedRegs=sipServerRegStatsRejectedRegs, sipServerRegStatsDisconTime=sipServerRegStatsDisconTime, sipServerMIBConformance=sipServerMIBConformance, sipServerMIBCompliances=sipServerMIBCompliances, sipServerMIBGroups=sipServerMIBGroups) # Groups mibBuilder.exportSymbols("SIP-SERVER-MIB", sipServerConfigGroup=sipServerConfigGroup, sipServerProxyConfigGroup=sipServerProxyConfigGroup, sipServerProxyStatsGroup=sipServerProxyStatsGroup, sipServerRegistrarConfigGroup=sipServerRegistrarConfigGroup, sipServerRegistrarStatsGroup=sipServerRegistrarStatsGroup, sipServerRegistrarUsersGroup=sipServerRegistrarUsersGroup) # Compliances mibBuilder.exportSymbols("SIP-SERVER-MIB", sipServerProxyServerCompliance=sipServerProxyServerCompliance, sipRedirectServerCompliance=sipRedirectServerCompliance, sipServerRegistrarServerCompliance=sipServerRegistrarServerCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/HOST-RESOURCES-MIB.py0000644000014400001440000013304511736645136021570 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HOST-RESOURCES-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:03 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( AutonomousType, DateAndTime, DisplayString, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "DateAndTime", "DisplayString", "TextualConvention", "TruthValue") # Types class InternationalDisplayString(OctetString): pass class KBytes(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class ProductID(ObjectIdentifier): pass # Objects host = MibIdentifier((1, 3, 6, 1, 2, 1, 25)) hrSystem = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 1)) hrSystemUptime = MibScalar((1, 3, 6, 1, 2, 1, 25, 1, 1), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSystemUptime.setDescription("The amount of time since this host was last\ninitialized. Note that this is different from\nsysUpTime in the SNMPv2-MIB [RFC1907] because\nsysUpTime is the uptime of the network management\nportion of the system.") hrSystemDate = MibScalar((1, 3, 6, 1, 2, 1, 25, 1, 2), DateAndTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hrSystemDate.setDescription("The host's notion of the local date and time of day.") hrSystemInitialLoadDevice = MibScalar((1, 3, 6, 1, 2, 1, 25, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hrSystemInitialLoadDevice.setDescription("The index of the hrDeviceEntry for the device from\nwhich this host is configured to load its initial\noperating system configuration (i.e., which operating\nsystem code and/or boot parameters).\n\nNote that writing to this object just changes the\nconfiguration that will be used the next time the\noperating system is loaded and does not actually cause\nthe reload to occur.") hrSystemInitialLoadParameters = MibScalar((1, 3, 6, 1, 2, 1, 25, 1, 4), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hrSystemInitialLoadParameters.setDescription("This object contains the parameters (e.g. a pathname\nand parameter) supplied to the load device when\nrequesting the initial operating system configuration\nfrom that device.\n\nNote that writing to this object just changes the\nconfiguration that will be used the next time the\noperating system is loaded and does not actually cause\nthe reload to occur.") hrSystemNumUsers = MibScalar((1, 3, 6, 1, 2, 1, 25, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSystemNumUsers.setDescription("The number of user sessions for which this host is\nstoring state information. A session is a collection\nof processes requiring a single act of user\nauthentication and possibly subject to collective job\ncontrol.") hrSystemProcesses = MibScalar((1, 3, 6, 1, 2, 1, 25, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSystemProcesses.setDescription("The number of process contexts currently loaded or\nrunning on this system.") hrSystemMaxProcesses = MibScalar((1, 3, 6, 1, 2, 1, 25, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSystemMaxProcesses.setDescription("The maximum number of process contexts this system\ncan support. If there is no fixed maximum, the value\nshould be zero. On systems that have a fixed maximum,\nthis object can help diagnose failures that occur when\nthis maximum is reached.") hrStorage = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 2)) hrStorageTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 2, 1)) hrMemorySize = MibScalar((1, 3, 6, 1, 2, 1, 25, 2, 2), KBytes()).setMaxAccess("readonly").setUnits("KBytes") if mibBuilder.loadTexts: hrMemorySize.setDescription("The amount of physical read-write main memory,\ntypically RAM, contained by the host.") hrStorageTable = MibTable((1, 3, 6, 1, 2, 1, 25, 2, 3)) if mibBuilder.loadTexts: hrStorageTable.setDescription("The (conceptual) table of logical storage areas on\nthe host.\n\nAn entry shall be placed in the storage table for each\nlogical area of storage that is allocated and has\nfixed resource limits. The amount of storage\nrepresented in an entity is the amount actually usable\nby the requesting entity, and excludes loss due to\nformatting or file system reference information.\n\nThese entries are associated with logical storage\nareas, as might be seen by an application, rather than\nphysical storage entities which are typically seen by\nan operating system. Storage such as tapes and\nfloppies without file systems on them are typically\nnot allocated in chunks by the operating system to\nrequesting applications, and therefore shouldn't\nappear in this table. Examples of valid storage for\nthis table include disk partitions, file systems, ram\n(for some architectures this is further segmented into\nregular memory, extended memory, and so on), backing\nstore for virtual memory (`swap space').\n\nThis table is intended to be a useful diagnostic for\n`out of memory' and `out of buffers' types of\nfailures. In addition, it can be a useful performance\nmonitoring tool for tracking memory, disk, or buffer\nusage.") hrStorageEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 2, 3, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrStorageIndex")) if mibBuilder.loadTexts: hrStorageEntry.setDescription("A (conceptual) entry for one logical storage area on\nthe host. As an example, an instance of the\nhrStorageType object might be named hrStorageType.3") hrStorageIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrStorageIndex.setDescription("A unique value for each logical storage area\ncontained by the host.") hrStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 2), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrStorageType.setDescription("The type of storage represented by this entry.") hrStorageDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrStorageDescr.setDescription("A description of the type and instance of the storage\ndescribed by this entry.") hrStorageAllocationUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrStorageAllocationUnits.setDescription("The size, in bytes, of the data objects allocated\nfrom this pool. If this entry is monitoring sectors,\nblocks, buffers, or packets, for example, this number\nwill commonly be greater than one. Otherwise this\nnumber will typically be one.") hrStorageSize = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hrStorageSize.setDescription("The size of the storage represented by this entry, in\nunits of hrStorageAllocationUnits. This object is\nwritable to allow remote configuration of the size of\nthe storage area in those cases where such an\noperation makes sense and is possible on the\nunderlying system. For example, the amount of main\nmemory allocated to a buffer pool might be modified or\nthe amount of disk space allocated to virtual memory\nmight be modified.") hrStorageUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrStorageUsed.setDescription("The amount of the storage represented by this entry\nthat is allocated, in units of\nhrStorageAllocationUnits.") hrStorageAllocationFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrStorageAllocationFailures.setDescription("The number of requests for storage represented by\nthis entry that could not be honored due to not enough\nstorage. It should be noted that as this object has a\nSYNTAX of Counter32, that it does not have a defined\ninitial value. However, it is recommended that this\nobject be initialized to zero, even though management\nstations must not depend on such an initialization.") hrDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 3)) hrDeviceTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 3, 1)) hrDeviceTable = MibTable((1, 3, 6, 1, 2, 1, 25, 3, 2)) if mibBuilder.loadTexts: hrDeviceTable.setDescription("The (conceptual) table of devices contained by the\nhost.") hrDeviceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 3, 2, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex")) if mibBuilder.loadTexts: hrDeviceEntry.setDescription("A (conceptual) entry for one device contained by the\nhost. As an example, an instance of the hrDeviceType\nobject might be named hrDeviceType.3") hrDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDeviceIndex.setDescription("A unique value for each device contained by the host.\nThe value for each device must remain constant at\nleast from one re-initialization of the agent to the\nnext re-initialization.") hrDeviceType = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 2, 1, 2), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDeviceType.setDescription("An indication of the type of device.\n\nIf this value is\n`hrDeviceProcessor { hrDeviceTypes 3 }' then an entry\nexists in the hrProcessorTable which corresponds to\nthis device.\n\nIf this value is\n`hrDeviceNetwork { hrDeviceTypes 4 }', then an entry\nexists in the hrNetworkTable which corresponds to this\ndevice.\n\nIf this value is\n`hrDevicePrinter { hrDeviceTypes 5 }', then an entry\nexists in the hrPrinterTable which corresponds to this\ndevice.\n\nIf this value is\n`hrDeviceDiskStorage { hrDeviceTypes 6 }', then an\nentry exists in the hrDiskStorageTable which\ncorresponds to this device.") hrDeviceDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDeviceDescr.setDescription("A textual description of this device, including the\ndevice's manufacturer and revision, and optionally,\nits serial number.") hrDeviceID = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 2, 1, 4), ProductID()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDeviceID.setDescription("The product ID for this device.") hrDeviceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,5,2,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("running", 2), ("warning", 3), ("testing", 4), ("down", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDeviceStatus.setDescription("The current operational state of the device described\nby this row of the table. A value unknown(1)\nindicates that the current state of the device is\nunknown. running(2) indicates that the device is up\nand running and that no unusual error conditions are\nknown. The warning(3) state indicates that agent has\nbeen informed of an unusual error condition by the\noperational software (e.g., a disk device driver) but\nthat the device is still 'operational'. An example\nwould be a high number of soft errors on a disk. A\nvalue of testing(4), indicates that the device is not\navailable for use because it is in the testing state.\nThe state of down(5) is used only when the agent has\nbeen informed that the device is not available for any\nuse.") hrDeviceErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDeviceErrors.setDescription("The number of errors detected on this device. It\nshould be noted that as this object has a SYNTAX of\nCounter32, that it does not have a defined initial\nvalue. However, it is recommended that this object be\ninitialized to zero, even though management stations\nmust not depend on such an initialization.") hrProcessorTable = MibTable((1, 3, 6, 1, 2, 1, 25, 3, 3)) if mibBuilder.loadTexts: hrProcessorTable.setDescription("The (conceptual) table of processors contained by the\nhost.\n\nNote that this table is potentially sparse: a\n(conceptual) entry exists only if the correspondent\nvalue of the hrDeviceType object is\n`hrDeviceProcessor'.") hrProcessorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 3, 3, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex")) if mibBuilder.loadTexts: hrProcessorEntry.setDescription("A (conceptual) entry for one processor contained by\nthe host. The hrDeviceIndex in the index represents\nthe entry in the hrDeviceTable that corresponds to the\nhrProcessorEntry.\n\nAs an example of how objects in this table are named,\nan instance of the hrProcessorFrwID object might be\nnamed hrProcessorFrwID.3") hrProcessorFrwID = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 3, 1, 1), ProductID()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrProcessorFrwID.setDescription("The product ID of the firmware associated with the\nprocessor.") hrProcessorLoad = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrProcessorLoad.setDescription("The average, over the last minute, of the percentage\nof time that this processor was not idle.\nImplementations may approximate this one minute\nsmoothing period if necessary.") hrNetworkTable = MibTable((1, 3, 6, 1, 2, 1, 25, 3, 4)) if mibBuilder.loadTexts: hrNetworkTable.setDescription("The (conceptual) table of network devices contained\nby the host.\nNote that this table is potentially sparse: a\n(conceptual) entry exists only if the correspondent\nvalue of the hrDeviceType object is\n`hrDeviceNetwork'.") hrNetworkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 3, 4, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex")) if mibBuilder.loadTexts: hrNetworkEntry.setDescription("A (conceptual) entry for one network device contained\nby the host. The hrDeviceIndex in the index\nrepresents the entry in the hrDeviceTable that\ncorresponds to the hrNetworkEntry.\n\nAs an example of how objects in this table are named,\nan instance of the hrNetworkIfIndex object might be\nnamed hrNetworkIfIndex.3") hrNetworkIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 4, 1, 1), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrNetworkIfIndex.setDescription("The value of ifIndex which corresponds to this\nnetwork device. If this device is not represented in\nthe ifTable, then this value shall be zero.") hrPrinterTable = MibTable((1, 3, 6, 1, 2, 1, 25, 3, 5)) if mibBuilder.loadTexts: hrPrinterTable.setDescription("The (conceptual) table of printers local to the host.\n\nNote that this table is potentially sparse: a\n(conceptual) entry exists only if the correspondent\nvalue of the hrDeviceType object is\n`hrDevicePrinter'.") hrPrinterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 3, 5, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex")) if mibBuilder.loadTexts: hrPrinterEntry.setDescription("A (conceptual) entry for one printer local to the\nhost. The hrDeviceIndex in the index represents the\nentry in the hrDeviceTable that corresponds to the\nhrPrinterEntry.\n\nAs an example of how objects in this table are named,\nan instance of the hrPrinterStatus object might be\nnamed hrPrinterStatus.3") hrPrinterStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 5, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(5,2,4,3,1,)).subtype(namedValues=NamedValues(("other", 1), ("unknown", 2), ("idle", 3), ("printing", 4), ("warmup", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrPrinterStatus.setDescription("The current status of this printer device.") hrPrinterDetectedErrorState = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 5, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrPrinterDetectedErrorState.setDescription("This object represents any error conditions detected\nby the printer. The error conditions are encoded as\nbits in an octet string, with the following\ndefinitions:\n\n Condition Bit #\n\n lowPaper 0\n noPaper 1\n lowToner 2\n noToner 3\n doorOpen 4\n jammed 5\n offline 6\n serviceRequested 7\n inputTrayMissing 8\n outputTrayMissing 9\n markerSupplyMissing 10\n outputNearFull 11\n outputFull 12\n inputTrayEmpty 13\n overduePreventMaint 14\n\nBits are numbered starting with the most significant\nbit of the first byte being bit 0, the least\nsignificant bit of the first byte being bit 7, the\nmost significant bit of the second byte being bit 8,\nand so on. A one bit encodes that the condition was\ndetected, while a zero bit encodes that the condition\nwas not detected.\n\nThis object is useful for alerting an operator to\nspecific warning or error conditions that may occur,\nespecially those requiring human intervention.") hrDiskStorageTable = MibTable((1, 3, 6, 1, 2, 1, 25, 3, 6)) if mibBuilder.loadTexts: hrDiskStorageTable.setDescription("The (conceptual) table of long-term storage devices\ncontained by the host. In particular, disk devices\naccessed remotely over a network are not included\nhere.\n\nNote that this table is potentially sparse: a\n(conceptual) entry exists only if the correspondent\nvalue of the hrDeviceType object is\n`hrDeviceDiskStorage'.") hrDiskStorageEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 3, 6, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex")) if mibBuilder.loadTexts: hrDiskStorageEntry.setDescription("A (conceptual) entry for one long-term storage device\ncontained by the host. The hrDeviceIndex in the index\nrepresents the entry in the hrDeviceTable that\ncorresponds to the hrDiskStorageEntry. As an example,\nan instance of the hrDiskStorageCapacity object might\nbe named hrDiskStorageCapacity.3") hrDiskStorageAccess = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 6, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("readWrite", 1), ("readOnly", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDiskStorageAccess.setDescription("An indication if this long-term storage device is\nreadable and writable or only readable. This should\nreflect the media type, any write-protect mechanism,\nand any device configuration that affects the entire\ndevice.") hrDiskStorageMedia = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 6, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(8,5,1,7,2,3,6,4,)).subtype(namedValues=NamedValues(("other", 1), ("unknown", 2), ("hardDisk", 3), ("floppyDisk", 4), ("opticalDiskROM", 5), ("opticalDiskWORM", 6), ("opticalDiskRW", 7), ("ramDisk", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDiskStorageMedia.setDescription("An indication of the type of media used in this long-\nterm storage device.") hrDiskStorageRemoveble = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 6, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDiskStorageRemoveble.setDescription("Denotes whether or not the disk media may be removed\nfrom the drive.") hrDiskStorageCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 6, 1, 4), KBytes()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrDiskStorageCapacity.setDescription("The total size for this long-term storage device. If\nthe media is removable and is currently removed, this\nvalue should be zero.") hrPartitionTable = MibTable((1, 3, 6, 1, 2, 1, 25, 3, 7)) if mibBuilder.loadTexts: hrPartitionTable.setDescription("The (conceptual) table of partitions for long-term\nstorage devices contained by the host. In particular,\npartitions accessed remotely over a network are not\nincluded here.") hrPartitionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 3, 7, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "HOST-RESOURCES-MIB", "hrPartitionIndex")) if mibBuilder.loadTexts: hrPartitionEntry.setDescription("A (conceptual) entry for one partition. The\nhrDeviceIndex in the index represents the entry in the\nhrDeviceTable that corresponds to the\nhrPartitionEntry.\n\nAs an example of how objects in this table are named,\nan instance of the hrPartitionSize object might be\nnamed hrPartitionSize.3.1") hrPartitionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrPartitionIndex.setDescription("A unique value for each partition on this long-term\nstorage device. The value for each long-term storage\ndevice must remain constant at least from one re-\ninitialization of the agent to the next re-\ninitialization.") hrPartitionLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 7, 1, 2), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrPartitionLabel.setDescription("A textual description of this partition.") hrPartitionID = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 7, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrPartitionID.setDescription("A descriptor which uniquely represents this partition\nto the responsible operating system. On some systems,\nthis might take on a binary representation.") hrPartitionSize = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 7, 1, 4), KBytes()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrPartitionSize.setDescription("The size of this partition.") hrPartitionFSIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrPartitionFSIndex.setDescription("The index of the file system mounted on this\npartition. If no file system is mounted on this\npartition, then this value shall be zero. Note that\nmultiple partitions may point to one file system,\ndenoting that that file system resides on those\npartitions. Multiple file systems may not reside on\none partition.") hrFSTable = MibTable((1, 3, 6, 1, 2, 1, 25, 3, 8)) if mibBuilder.loadTexts: hrFSTable.setDescription("The (conceptual) table of file systems local to this\nhost or remotely mounted from a file server. File\nsystems that are in only one user's environment on a\nmulti-user system will not be included in this table.") hrFSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 3, 8, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrFSIndex")) if mibBuilder.loadTexts: hrFSEntry.setDescription("A (conceptual) entry for one file system local to\nthis host or remotely mounted from a file server.\nFile systems that are in only one user's environment\non a multi-user system will not be included in this\ntable.\n\nAs an example of how objects in this table are named,\nan instance of the hrFSMountPoint object might be\nnamed hrFSMountPoint.3") hrFSIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrFSIndex.setDescription("A unique value for each file system local to this\nhost. The value for each file system must remain\nconstant at least from one re-initialization of the\nagent to the next re-initialization.") hrFSMountPoint = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 2), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrFSMountPoint.setDescription("The path name of the root of this file system.") hrFSRemoteMountPoint = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 3), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrFSRemoteMountPoint.setDescription("A description of the name and/or address of the\nserver that this file system is mounted from. This\nmay also include parameters such as the mount point on\nthe remote file system. If this is not a remote file\nsystem, this string should have a length of zero.") hrFSType = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 4), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrFSType.setDescription("The value of this object identifies the type of this\nfile system.") hrFSAccess = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("readWrite", 1), ("readOnly", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrFSAccess.setDescription("An indication if this file system is logically\nconfigured by the operating system to be readable and\nwritable or only readable. This does not represent\nany local access-control policy, except one that is\napplied to the file system as a whole.") hrFSBootable = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrFSBootable.setDescription("A flag indicating whether this file system is\nbootable.") hrFSStorageIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrFSStorageIndex.setDescription("The index of the hrStorageEntry that represents\ninformation about this file system. If there is no\nsuch information available, then this value shall be\nzero. The relevant storage entry will be useful in\ntracking the percent usage of this file system and\ndiagnosing errors that may occur when it runs out of\nspace.") hrFSLastFullBackupDate = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 8), DateAndTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hrFSLastFullBackupDate.setDescription("The last date at which this complete file system was\ncopied to another storage device for backup. This\ninformation is useful for ensuring that backups are\nbeing performed regularly.\n\nIf this information is not known, then this variable\nshall have the value corresponding to January 1, year\n0000, 00:00:00.0, which is encoded as\n(hex)'00 00 01 01 00 00 00 00'.") hrFSLastPartialBackupDate = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 3, 8, 1, 9), DateAndTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hrFSLastPartialBackupDate.setDescription("The last date at which a portion of this file system\nwas copied to another storage device for backup. This\ninformation is useful for ensuring that backups are\nbeing performed regularly.\n\nIf this information is not known, then this variable\nshall have the value corresponding to January 1, year\n0000, 00:00:00.0, which is encoded as\n(hex)'00 00 01 01 00 00 00 00'.") hrFSTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 3, 9)) hrSWRun = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 4)) hrSWOSIndex = MibScalar((1, 3, 6, 1, 2, 1, 25, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWOSIndex.setDescription("The value of the hrSWRunIndex for the hrSWRunEntry\nthat represents the primary operating system running\non this host. This object is useful for quickly and\nuniquely identifying that primary operating system.") hrSWRunTable = MibTable((1, 3, 6, 1, 2, 1, 25, 4, 2)) if mibBuilder.loadTexts: hrSWRunTable.setDescription("The (conceptual) table of software running on the\nhost.") hrSWRunEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 4, 2, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrSWRunIndex")) if mibBuilder.loadTexts: hrSWRunEntry.setDescription("A (conceptual) entry for one piece of software\nrunning on the host Note that because the installed\nsoftware table only contains information for software\nstored locally on this host, not every piece of\nrunning software will be found in the installed\nsoftware table. This is true of software that was\nloaded and run from a non-local source, such as a\nnetwork-mounted file system.\n\nAs an example of how objects in this table are named,\nan instance of the hrSWRunName object might be named\nhrSWRunName.1287") hrSWRunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunIndex.setDescription("A unique value for each piece of software running on\nthe host. Wherever possible, this should be the\nsystem's native, unique identification number.") hrSWRunName = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 4, 2, 1, 2), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunName.setDescription("A textual description of this running piece of\nsoftware, including the manufacturer, revision, and\nthe name by which it is commonly known. If this\nsoftware was installed locally, this should be the\nsame string as used in the corresponding\nhrSWInstalledName.") hrSWRunID = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 4, 2, 1, 3), ProductID()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunID.setDescription("The product ID of this running piece of software.") hrSWRunPath = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 4, 2, 1, 4), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunPath.setDescription("A description of the location on long-term storage\n(e.g. a disk drive) from which this software was\nloaded.") hrSWRunParameters = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 4, 2, 1, 5), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunParameters.setDescription("A description of the parameters supplied to this\nsoftware when it was initially loaded.") hrSWRunType = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 4, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("operatingSystem", 2), ("deviceDriver", 3), ("application", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunType.setDescription("The type of this software.") hrSWRunStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 4, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("running", 1), ("runnable", 2), ("notRunnable", 3), ("invalid", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hrSWRunStatus.setDescription("The status of this running piece of software.\nSetting this value to invalid(4) shall cause this\nsoftware to stop running and to be unloaded. Sets to\nother values are not valid.") hrSWRunPerf = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 5)) hrSWRunPerfTable = MibTable((1, 3, 6, 1, 2, 1, 25, 5, 1)) if mibBuilder.loadTexts: hrSWRunPerfTable.setDescription("The (conceptual) table of running software\nperformance metrics.") hrSWRunPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 5, 1, 1)) if mibBuilder.loadTexts: hrSWRunPerfEntry.setDescription("A (conceptual) entry containing software performance\nmetrics. As an example, an instance of the\nhrSWRunPerfCPU object might be named\nhrSWRunPerfCPU.1287") hrSWRunPerfCPU = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunPerfCPU.setDescription("The number of centi-seconds of the total system's CPU\nresources consumed by this process. Note that on a\nmulti-processor system, this value may increment by\nmore than one centi-second in one centi-second of real\n(wall clock) time.") hrSWRunPerfMem = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 5, 1, 1, 2), KBytes()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWRunPerfMem.setDescription("The total amount of real system memory allocated to\nthis process.") hrSWInstalled = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 6)) hrSWInstalledLastChange = MibScalar((1, 3, 6, 1, 2, 1, 25, 6, 1), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWInstalledLastChange.setDescription("The value of sysUpTime when an entry in the\nhrSWInstalledTable was last added, renamed, or\ndeleted. Because this table is likely to contain many\nentries, polling of this object allows a management\nstation to determine when re-downloading of the table\nmight be useful.") hrSWInstalledLastUpdateTime = MibScalar((1, 3, 6, 1, 2, 1, 25, 6, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWInstalledLastUpdateTime.setDescription("The value of sysUpTime when the hrSWInstalledTable\nwas last completely updated. Because caching of this\ndata will be a popular implementation strategy,\nretrieval of this object allows a management station\nto obtain a guarantee that no data in this table is\nolder than the indicated time.") hrSWInstalledTable = MibTable((1, 3, 6, 1, 2, 1, 25, 6, 3)) if mibBuilder.loadTexts: hrSWInstalledTable.setDescription("The (conceptual) table of software installed on this\nhost.") hrSWInstalledEntry = MibTableRow((1, 3, 6, 1, 2, 1, 25, 6, 3, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrSWInstalledIndex")) if mibBuilder.loadTexts: hrSWInstalledEntry.setDescription("A (conceptual) entry for a piece of software\ninstalled on this host.\n\nAs an example of how objects in this table are named,\nan instance of the hrSWInstalledName object might be\nnamed hrSWInstalledName.96") hrSWInstalledIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 6, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWInstalledIndex.setDescription("A unique value for each piece of software installed\non the host. This value shall be in the range from 1\nto the number of pieces of software installed on the\nhost.") hrSWInstalledName = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 6, 3, 1, 2), InternationalDisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWInstalledName.setDescription("A textual description of this installed piece of\nsoftware, including the manufacturer, revision, the\nname by which it is commonly known, and optionally,\nits serial number.") hrSWInstalledID = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 6, 3, 1, 3), ProductID()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWInstalledID.setDescription("The product ID of this installed piece of software.") hrSWInstalledType = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 6, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("operatingSystem", 2), ("deviceDriver", 3), ("application", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWInstalledType.setDescription("The type of this software.") hrSWInstalledDate = MibTableColumn((1, 3, 6, 1, 2, 1, 25, 6, 3, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hrSWInstalledDate.setDescription("The last-modification date of this application as it\nwould appear in a directory listing.\n\nIf this information is not known, then this variable\nshall have the value corresponding to January 1, year\n0000, 00:00:00.0, which is encoded as\n(hex)'00 00 01 01 00 00 00 00'.") hrMIBAdminInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 7)) hostResourcesMibModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 25, 7, 1)).setRevisions(("2000-03-06 00:00","1999-10-20 22:00",)) if mibBuilder.loadTexts: hostResourcesMibModule.setOrganization("IETF Host Resources MIB Working Group") if mibBuilder.loadTexts: hostResourcesMibModule.setContactInfo("Steve Waldbusser\nPostal: Lucent Technologies, Inc.\n 1213 Innsbruck Dr.\n Sunnyvale, CA 94089\n USA\nPhone: 650-318-1251\nFax: 650-318-1633\nEmail: waldbusser@lucent.com\nIn addition, the Host Resources MIB mailing list is\ndedicated to discussion of this MIB. To join the\nmailing list, send a request message to\nhostmib-request@andrew.cmu.edu. The mailing list\naddress is hostmib@andrew.cmu.edu.") if mibBuilder.loadTexts: hostResourcesMibModule.setDescription("This MIB is for use in managing host systems. The term\n`host' is construed to mean any computer that communicates\nwith other similar computers attached to the internet and\nthat is directly used by one or more human beings. Although\nthis MIB does not necessarily apply to devices whose primary\nfunction is communications services (e.g., terminal servers,\nrouters, bridges, monitoring equipment), such relevance is\nnot explicitly precluded. This MIB instruments attributes\ncommon to all internet hosts including, for example, both\npersonal computers and systems that run variants of Unix.") hrMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 7, 2)) hrMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 25, 7, 3)) # Augmentions hrSWRunEntry.registerAugmentions(("HOST-RESOURCES-MIB", "hrSWRunPerfEntry")) hrSWRunPerfEntry.setIndexNames(*hrSWRunEntry.getIndexNames()) # Groups hrSystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 25, 7, 3, 1)).setObjects(*(("HOST-RESOURCES-MIB", "hrSystemMaxProcesses"), ("HOST-RESOURCES-MIB", "hrSystemDate"), ("HOST-RESOURCES-MIB", "hrSystemUptime"), ("HOST-RESOURCES-MIB", "hrSystemNumUsers"), ("HOST-RESOURCES-MIB", "hrSystemProcesses"), ("HOST-RESOURCES-MIB", "hrSystemInitialLoadParameters"), ("HOST-RESOURCES-MIB", "hrSystemInitialLoadDevice"), ) ) if mibBuilder.loadTexts: hrSystemGroup.setDescription("The Host Resources System Group.") hrStorageGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 25, 7, 3, 2)).setObjects(*(("HOST-RESOURCES-MIB", "hrStorageUsed"), ("HOST-RESOURCES-MIB", "hrStorageAllocationFailures"), ("HOST-RESOURCES-MIB", "hrStorageSize"), ("HOST-RESOURCES-MIB", "hrMemorySize"), ("HOST-RESOURCES-MIB", "hrStorageIndex"), ("HOST-RESOURCES-MIB", "hrStorageAllocationUnits"), ("HOST-RESOURCES-MIB", "hrStorageDescr"), ("HOST-RESOURCES-MIB", "hrStorageType"), ) ) if mibBuilder.loadTexts: hrStorageGroup.setDescription("The Host Resources Storage Group.") hrDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 25, 7, 3, 3)).setObjects(*(("HOST-RESOURCES-MIB", "hrFSIndex"), ("HOST-RESOURCES-MIB", "hrFSMountPoint"), ("HOST-RESOURCES-MIB", "hrPrinterStatus"), ("HOST-RESOURCES-MIB", "hrPartitionID"), ("HOST-RESOURCES-MIB", "hrDiskStorageCapacity"), ("HOST-RESOURCES-MIB", "hrProcessorLoad"), ("HOST-RESOURCES-MIB", "hrFSRemoteMountPoint"), ("HOST-RESOURCES-MIB", "hrDiskStorageMedia"), ("HOST-RESOURCES-MIB", "hrDeviceDescr"), ("HOST-RESOURCES-MIB", "hrDeviceStatus"), ("HOST-RESOURCES-MIB", "hrNetworkIfIndex"), ("HOST-RESOURCES-MIB", "hrFSBootable"), ("HOST-RESOURCES-MIB", "hrPartitionIndex"), ("HOST-RESOURCES-MIB", "hrDeviceID"), ("HOST-RESOURCES-MIB", "hrDiskStorageRemoveble"), ("HOST-RESOURCES-MIB", "hrFSLastPartialBackupDate"), ("HOST-RESOURCES-MIB", "hrPrinterDetectedErrorState"), ("HOST-RESOURCES-MIB", "hrFSType"), ("HOST-RESOURCES-MIB", "hrProcessorFrwID"), ("HOST-RESOURCES-MIB", "hrPartitionFSIndex"), ("HOST-RESOURCES-MIB", "hrDeviceErrors"), ("HOST-RESOURCES-MIB", "hrDeviceType"), ("HOST-RESOURCES-MIB", "hrPartitionLabel"), ("HOST-RESOURCES-MIB", "hrFSStorageIndex"), ("HOST-RESOURCES-MIB", "hrFSAccess"), ("HOST-RESOURCES-MIB", "hrPartitionSize"), ("HOST-RESOURCES-MIB", "hrFSLastFullBackupDate"), ("HOST-RESOURCES-MIB", "hrDeviceIndex"), ("HOST-RESOURCES-MIB", "hrDiskStorageAccess"), ) ) if mibBuilder.loadTexts: hrDeviceGroup.setDescription("The Host Resources Device Group.") hrSWRunGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 25, 7, 3, 4)).setObjects(*(("HOST-RESOURCES-MIB", "hrSWOSIndex"), ("HOST-RESOURCES-MIB", "hrSWRunParameters"), ("HOST-RESOURCES-MIB", "hrSWRunType"), ("HOST-RESOURCES-MIB", "hrSWRunIndex"), ("HOST-RESOURCES-MIB", "hrSWRunID"), ("HOST-RESOURCES-MIB", "hrSWRunStatus"), ("HOST-RESOURCES-MIB", "hrSWRunName"), ("HOST-RESOURCES-MIB", "hrSWRunPath"), ) ) if mibBuilder.loadTexts: hrSWRunGroup.setDescription("The Host Resources Running Software Group.") hrSWRunPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 25, 7, 3, 5)).setObjects(*(("HOST-RESOURCES-MIB", "hrSWRunPerfCPU"), ("HOST-RESOURCES-MIB", "hrSWRunPerfMem"), ) ) if mibBuilder.loadTexts: hrSWRunPerfGroup.setDescription("The Host Resources Running Software\nPerformance Group.") hrSWInstalledGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 25, 7, 3, 6)).setObjects(*(("HOST-RESOURCES-MIB", "hrSWInstalledLastChange"), ("HOST-RESOURCES-MIB", "hrSWInstalledID"), ("HOST-RESOURCES-MIB", "hrSWInstalledIndex"), ("HOST-RESOURCES-MIB", "hrSWInstalledLastUpdateTime"), ("HOST-RESOURCES-MIB", "hrSWInstalledName"), ("HOST-RESOURCES-MIB", "hrSWInstalledDate"), ("HOST-RESOURCES-MIB", "hrSWInstalledType"), ) ) if mibBuilder.loadTexts: hrSWInstalledGroup.setDescription("The Host Resources Installed Software Group.") # Compliances hrMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 25, 7, 2, 1)).setObjects(*(("HOST-RESOURCES-MIB", "hrStorageGroup"), ("HOST-RESOURCES-MIB", "hrSWRunPerfGroup"), ("HOST-RESOURCES-MIB", "hrSWInstalledGroup"), ("HOST-RESOURCES-MIB", "hrSWRunGroup"), ("HOST-RESOURCES-MIB", "hrDeviceGroup"), ("HOST-RESOURCES-MIB", "hrSystemGroup"), ) ) if mibBuilder.loadTexts: hrMIBCompliance.setDescription("The requirements for conformance to the Host Resources MIB.") # Exports # Module identity mibBuilder.exportSymbols("HOST-RESOURCES-MIB", PYSNMP_MODULE_ID=hostResourcesMibModule) # Types mibBuilder.exportSymbols("HOST-RESOURCES-MIB", InternationalDisplayString=InternationalDisplayString, KBytes=KBytes, ProductID=ProductID) # Objects mibBuilder.exportSymbols("HOST-RESOURCES-MIB", host=host, hrSystem=hrSystem, hrSystemUptime=hrSystemUptime, hrSystemDate=hrSystemDate, hrSystemInitialLoadDevice=hrSystemInitialLoadDevice, hrSystemInitialLoadParameters=hrSystemInitialLoadParameters, hrSystemNumUsers=hrSystemNumUsers, hrSystemProcesses=hrSystemProcesses, hrSystemMaxProcesses=hrSystemMaxProcesses, hrStorage=hrStorage, hrStorageTypes=hrStorageTypes, hrMemorySize=hrMemorySize, hrStorageTable=hrStorageTable, hrStorageEntry=hrStorageEntry, hrStorageIndex=hrStorageIndex, hrStorageType=hrStorageType, hrStorageDescr=hrStorageDescr, hrStorageAllocationUnits=hrStorageAllocationUnits, hrStorageSize=hrStorageSize, hrStorageUsed=hrStorageUsed, hrStorageAllocationFailures=hrStorageAllocationFailures, hrDevice=hrDevice, hrDeviceTypes=hrDeviceTypes, hrDeviceTable=hrDeviceTable, hrDeviceEntry=hrDeviceEntry, hrDeviceIndex=hrDeviceIndex, hrDeviceType=hrDeviceType, hrDeviceDescr=hrDeviceDescr, hrDeviceID=hrDeviceID, hrDeviceStatus=hrDeviceStatus, hrDeviceErrors=hrDeviceErrors, hrProcessorTable=hrProcessorTable, hrProcessorEntry=hrProcessorEntry, hrProcessorFrwID=hrProcessorFrwID, hrProcessorLoad=hrProcessorLoad, hrNetworkTable=hrNetworkTable, hrNetworkEntry=hrNetworkEntry, hrNetworkIfIndex=hrNetworkIfIndex, hrPrinterTable=hrPrinterTable, hrPrinterEntry=hrPrinterEntry, hrPrinterStatus=hrPrinterStatus, hrPrinterDetectedErrorState=hrPrinterDetectedErrorState, hrDiskStorageTable=hrDiskStorageTable, hrDiskStorageEntry=hrDiskStorageEntry, hrDiskStorageAccess=hrDiskStorageAccess, hrDiskStorageMedia=hrDiskStorageMedia, hrDiskStorageRemoveble=hrDiskStorageRemoveble, hrDiskStorageCapacity=hrDiskStorageCapacity, hrPartitionTable=hrPartitionTable, hrPartitionEntry=hrPartitionEntry, hrPartitionIndex=hrPartitionIndex, hrPartitionLabel=hrPartitionLabel, hrPartitionID=hrPartitionID, hrPartitionSize=hrPartitionSize, hrPartitionFSIndex=hrPartitionFSIndex, hrFSTable=hrFSTable, hrFSEntry=hrFSEntry, hrFSIndex=hrFSIndex, hrFSMountPoint=hrFSMountPoint, hrFSRemoteMountPoint=hrFSRemoteMountPoint, hrFSType=hrFSType, hrFSAccess=hrFSAccess, hrFSBootable=hrFSBootable, hrFSStorageIndex=hrFSStorageIndex, hrFSLastFullBackupDate=hrFSLastFullBackupDate, hrFSLastPartialBackupDate=hrFSLastPartialBackupDate, hrFSTypes=hrFSTypes, hrSWRun=hrSWRun, hrSWOSIndex=hrSWOSIndex, hrSWRunTable=hrSWRunTable, hrSWRunEntry=hrSWRunEntry, hrSWRunIndex=hrSWRunIndex, hrSWRunName=hrSWRunName, hrSWRunID=hrSWRunID, hrSWRunPath=hrSWRunPath, hrSWRunParameters=hrSWRunParameters, hrSWRunType=hrSWRunType, hrSWRunStatus=hrSWRunStatus, hrSWRunPerf=hrSWRunPerf, hrSWRunPerfTable=hrSWRunPerfTable, hrSWRunPerfEntry=hrSWRunPerfEntry, hrSWRunPerfCPU=hrSWRunPerfCPU, hrSWRunPerfMem=hrSWRunPerfMem, hrSWInstalled=hrSWInstalled, hrSWInstalledLastChange=hrSWInstalledLastChange, hrSWInstalledLastUpdateTime=hrSWInstalledLastUpdateTime, hrSWInstalledTable=hrSWInstalledTable, hrSWInstalledEntry=hrSWInstalledEntry, hrSWInstalledIndex=hrSWInstalledIndex, hrSWInstalledName=hrSWInstalledName, hrSWInstalledID=hrSWInstalledID, hrSWInstalledType=hrSWInstalledType, hrSWInstalledDate=hrSWInstalledDate, hrMIBAdminInfo=hrMIBAdminInfo, hostResourcesMibModule=hostResourcesMibModule, hrMIBCompliances=hrMIBCompliances, hrMIBGroups=hrMIBGroups) # Groups mibBuilder.exportSymbols("HOST-RESOURCES-MIB", hrSystemGroup=hrSystemGroup, hrStorageGroup=hrStorageGroup, hrDeviceGroup=hrDeviceGroup, hrSWRunGroup=hrSWRunGroup, hrSWRunPerfGroup=hrSWRunPerfGroup, hrSWInstalledGroup=hrSWInstalledGroup) # Compliances mibBuilder.exportSymbols("HOST-RESOURCES-MIB", hrMIBCompliance=hrMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-LDP-STD-MIB.py0000644000014400001440000021606611736645137021271 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-LDP-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:20 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IndexInteger, IndexIntegerNextFree, ) = mibBuilder.importSymbols("DIFFSERV-MIB", "IndexInteger", "IndexIntegerNextFree") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetPortNumber") ( MplsIndexType, ) = mibBuilder.importSymbols("MPLS-LSR-STD-MIB", "MplsIndexType") ( MplsLabelDistributionMethod, MplsLdpIdentifier, MplsLdpLabelType, MplsLspType, MplsLsrIdentifier, MplsRetentionMode, mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsLabelDistributionMethod", "MplsLdpIdentifier", "MplsLdpLabelType", "MplsLspType", "MplsLsrIdentifier", "MplsRetentionMode", "mplsStdMIB") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, TimeInterval, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TimeInterval", "TimeStamp", "TruthValue") # Objects mplsLdpStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 4)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsLdpStdMIB.setOrganization("Multiprotocol Label Switching (mpls)\nWorking Group") if mibBuilder.loadTexts: mplsLdpStdMIB.setContactInfo("Joan Cucchiara (jcucchiara@mindspring.com)\nMarconi Communications, Inc.\n\nHans Sjostrand (hans@ipunplugged.com)\nipUnplugged\n\nJames V. Luciani (james_luciani@mindspring.com)\nMarconi Communications, Inc.\n\nWorking Group Chairs:\nGeorge Swallow, email: swallow@cisco.com\nLoa Andersson, email: loa@pi.se\n\nMPLS Working Group, email: mpls@uu.net") if mibBuilder.loadTexts: mplsLdpStdMIB.setDescription("Copyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\n\n\n\nin RFC 3815. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html\n\nThis MIB contains managed object definitions for the\n'Multiprotocol Label Switching, Label Distribution\nProtocol, LDP' document.") mplsLdpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 0)) mplsLdpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 1)) mplsLdpLsrObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 1)) mplsLdpLsrId = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 1, 1), MplsLsrIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpLsrId.setDescription("The Label Switching Router's Identifier.") mplsLdpLsrLoopDetectionCapable = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,5,3,)).subtype(namedValues=NamedValues(("none", 1), ("other", 2), ("hopCount", 3), ("pathVector", 4), ("hopCountAndPathVector", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpLsrLoopDetectionCapable.setDescription("A indication of whether this\nLabel Switching Router supports\nloop detection.\n\nnone(1) -- Loop Detection is not supported\n on this LSR.\n\nother(2) -- Loop Detection is supported but\n by a method other than those\n listed below.\n\nhopCount(3) -- Loop Detection is supported by\n Hop Count only.\n\npathVector(4) -- Loop Detection is supported by\n Path Vector only.\n\nhopCountAndPathVector(5) -- Loop Detection is\n supported by both Hop Count\n And Path Vector.\n\nSince Loop Detection is determined during\nSession Initialization, an individual session\nmay not be running with loop detection. This\nobject simply gives an indication of whether or not the\nLSR has the ability to support Loop Detection and\nwhich types.") mplsLdpEntityObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2)) mplsLdpEntityLastChange = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityLastChange.setDescription("The value of sysUpTime at the time of the most\nrecent addition or deletion of an entry\nto/from the mplsLdpEntityTable/mplsLdpEntityStatsTable, or\nthe most recent change in value of any objects in the\nmplsLdpEntityTable.\n\n\n\nIf no such changes have occurred since the last\nre-initialization of the local management subsystem,\nthen this object contains a zero value.") mplsLdpEntityIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 2), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityIndexNext.setDescription("This object contains an appropriate value to\nbe used for mplsLdpEntityIndex when creating\nentries in the mplsLdpEntityTable. The value\n0 indicates that no unassigned entries are\navailable.") mplsLdpEntityTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3)) if mibBuilder.loadTexts: mplsLdpEntityTable.setDescription("This table contains information about the\nMPLS Label Distribution Protocol Entities which\nexist on this Label Switching Router (LSR)\nor Label Edge Router (LER).") mplsLdpEntityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex")) if mibBuilder.loadTexts: mplsLdpEntityEntry.setDescription("An entry in this table represents an LDP entity.\nAn entry can be created by a network administrator\nor by an SNMP agent as instructed by LDP.") mplsLdpEntityLdpId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 1), MplsLdpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpEntityLdpId.setDescription("The LDP identifier.") mplsLdpEntityIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 2), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpEntityIndex.setDescription("This index is used as a secondary index to uniquely\nidentify this row. Before creating a row in this table,\nthe 'mplsLdpEntityIndexNext' object should be retrieved.\nThat value should be used for the value of this index\nwhen creating a row in this table. NOTE: if a value\nof zero (0) is retrieved, that indicates that no rows\ncan be created in this table at this time.\n\nA secondary index (this object) is meaningful to some\nbut not all, LDP implementations. For example\nan LDP implementation which uses PPP would\nuse this index to differentiate PPP sub-links.\n\nAnother way to use this index is to give this the\nvalue of ifIndex. However, this is dependant\n\n\n\non the implementation.") mplsLdpEntityProtocolVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityProtocolVersion.setDescription("The version number of the LDP protocol which will be\nused in the session initialization message.\n\nSection 3.5.3 in the LDP Specification specifies\nthat the version of the LDP protocol is negotiated during\nsession establishment. The value of this object\nrepresents the value that is sent in the initialization\nmessage.") mplsLdpEntityAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("enable", 1), ("disable", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAdminStatus.setDescription("The administrative status of this LDP Entity.\nIf this object is changed from 'enable' to 'disable'\nand this entity has already attempted to establish\ncontact with a Peer, then all contact with that\nPeer is lost and all information from that Peer\nneeds to be removed from the MIB. (This implies\nthat the network management subsystem should clean\nup any related entry in the mplsLdpPeerTable. This\nfurther implies that a 'tear-down' for that session\nis issued and the session and all information related\nto that session cease to exist).\n\nAt this point the operator is able to change values\nwhich are related to this entity.\n\nWhen the admin status is set back to 'enable', then\nthis Entity will attempt to establish a new session\nwith the Peer.") mplsLdpEntityOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("enabled", 2), ("disabled", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityOperStatus.setDescription("The operational status of this LDP Entity.\n\nThe value of unknown(1) indicates that the\noperational status cannot be determined at\nthis time. The value of unknown should be\na transient condition before changing\nto enabled(2) or disabled(3).") mplsLdpEntityTcpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 6), InetPortNumber().clone('646')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityTcpPort.setDescription("The TCP Port for\nLDP. The default value is the well-known\nvalue of this port.") mplsLdpEntityUdpDscPort = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 7), InetPortNumber().clone('646')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityUdpDscPort.setDescription("The UDP Discovery Port for\nLDP. The default value is the\nwell-known value for this port.") mplsLdpEntityMaxPduLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(256, 65535)).clone(4096)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityMaxPduLength.setDescription("The maximum PDU Length that is sent in\nthe Common Session Parameters of an Initialization\nMessage. According to the LDP Specification [RFC3036]\na value of 255 or less specifies the\ndefault maximum length of 4096 octets, this is why\nthe value of this object starts at 256. The operator\nshould explicitly choose the default value (i.e., 4096),\nor some other value.\n\nThe receiving LSR MUST calculate the maximum PDU\nlength for the session by using the smaller of its and\nits peer's proposals for Max PDU Length.") mplsLdpEntityKeepAliveHoldTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(40)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityKeepAliveHoldTimer.setDescription("The 16-bit integer value which is the proposed keep\nalive hold timer for this LDP Entity.") mplsLdpEntityHelloHoldTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityHelloHoldTimer.setDescription("The 16-bit integer value which is the proposed Hello\nhold timer for this LDP Entity. The Hello Hold time\nin seconds.\n\n\n\nAn LSR maintains a record of Hellos received\nfrom potential peers. This object represents\nthe Hold Time in the Common Hello Parameters TLV of\nthe Hello Message.\n\nA value of 0 is a default value and should be\ninterpretted in conjunction with the\nmplsLdpEntityTargetPeer object.\n\nIf the value of this object is 0: if the value of the\nmplsLdpEntityTargetPeer object is false(2), then this\nspecifies that the Hold Time's actual default value is\n15 seconds (i.e., the default Hold time for Link Hellos\nis 15 seconds). Otherwise if the value of the\nmplsLdpEntityTargetPeer object is true(1), then this\nspecifies that the Hold Time's actual default value is\n45 seconds (i.e., the default Hold time for Targeted\nHellos is 45 seconds).\n\nA value of 65535 means infinite (i.e., wait forever).\n\nAll other values represent the amount of time in\nseconds to wait for a Hello Message. Setting the\nhold time to a value smaller than 15 is not\nrecommended, although not forbidden according\nto RFC3036.") mplsLdpEntityInitSessionThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(8)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityInitSessionThreshold.setDescription("When attempting to establish a session with\na given Peer, the given LDP Entity should\nsend out the SNMP notification,\n'mplsLdpInitSessionThresholdExceeded', when\nthe number of Session Initialization messages\nsent exceeds this threshold.\n\nThe notification is used to notify an\noperator when this Entity and its Peer are\npossibly engaged in an endless sequence\nof messages as each NAKs the other's\n\n\n\nInitialization messages with Error Notification\nmessages. Setting this threshold which triggers\nthe notification is one way to notify the\noperator. The notification should be generated\neach time this threshold is exceeded and\nfor every subsequent Initialization message\nwhich is NAK'd with an Error Notification\nmessage after this threshold is exceeded.\n\nA value of 0 (zero) for this object\nindicates that the threshold is infinity, thus\nthe SNMP notification will never be generated.") mplsLdpEntityLabelDistMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 12), MplsLabelDistributionMethod()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityLabelDistMethod.setDescription("For any given LDP session, the method of\nlabel distribution must be specified.") mplsLdpEntityLabelRetentionMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 13), MplsRetentionMode()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityLabelRetentionMode.setDescription("The LDP Entity can be configured to use either\nconservative or liberal label retention mode.\n\nIf the value of this object is conservative(1)\nthen advertized label mappings are retained\nonly if they will be used to forward packets,\ni.e., if label came from a valid next hop.\n\nIf the value of this object is liberal(2)\nthen all advertized label mappings are retained\nwhether they are from a valid next hop or not.") mplsLdpEntityPathVectorLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityPathVectorLimit.setDescription("If the value of this object is 0 (zero) then\nLoop Detection for Path Vectors is disabled.\n\nOtherwise, if this object has a value greater than\nzero, then Loop Dection for Path Vectors is enabled,\nand the Path Vector Limit is this value.\nAlso, the value of the object,\n'mplsLdpLsrLoopDetectionCapable', must be set to\neither 'pathVector(4)' or 'hopCountAndPathVector(5)',\nif this object has a value greater than 0 (zero),\notherwise it is ignored.") mplsLdpEntityHopCountLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityHopCountLimit.setDescription("If the value of this object is 0 (zero),\nthen Loop Detection using Hop Counters is\ndisabled.\n\nIf the value of this object is greater than\n0 (zero) then Loop Detection using Hop\nCounters is enabled, and this object\nspecifies this Entity's maximum allowable\nvalue for the Hop Count.\nAlso, the value of the object\nmplsLdpLsrLoopDetectionCapable must be set\nto either 'hopCount(3)' or\n'hopCountAndPathVector(5)' if this object\nhas a value greater than 0 (zero), otherwise\nit is ignored.") mplsLdpEntityTransportAddrKind = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("interface", 1), ("loopback", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityTransportAddrKind.setDescription("This specifies whether the loopback or interface\naddress is to be used as the transport address\nin the transport address TLV of the\nhello message.\n\nIf the value is interface(1), then the IP\naddress of the interface from which hello\nmessages are sent is used as the transport\naddress in the hello message.\n\nOtherwise, if the value is loopback(2), then the IP\naddress of the loopback interface is used as the\ntransport address in the hello message.") mplsLdpEntityTargetPeer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 17), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityTargetPeer.setDescription("If this LDP entity uses targeted peer then set\nthis to true.") mplsLdpEntityTargetPeerAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 18), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityTargetPeerAddrType.setDescription("The type of the internetwork layer address used for\nthe Extended Discovery. This object indicates how\nthe value of mplsLdpEntityTargetPeerAddr is to\nbe interpreted.") mplsLdpEntityTargetPeerAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 19), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityTargetPeerAddr.setDescription("The value of the internetwork layer address\nused for the Extended Discovery. The value of\nmplsLdpEntityTargetPeerAddrType specifies how\nthis address is to be interpreted.") mplsLdpEntityLabelType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 20), MplsLdpLabelType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityLabelType.setDescription("Specifies the optional parameters for the LDP\nInitialization Message.\n\nIf the value is generic(1) then no\noptional parameters will be sent in\nthe LDP Initialization message associated\nwith this Entity.\n\nIf the value is atmParameters(2) then\na row must be created in the\nmplsLdpEntityAtmTable, which\ncorresponds to this entry.\n\nIf the value is frameRelayParameters(3) then\na row must be created in the\nmplsLdpEntityFrameRelayTable, which\ncorresponds to this entry.") mplsLdpEntityDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 21), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of this entity's counters\nsuffered a discontinuity. The relevant counters\nare the specific instances associated with this\nentity of any Counter32 object contained\nin the 'mplsLdpEntityStatsTable'. If no such\ndiscontinuities have occurred since the last\nre-initialization of the local management\nsubsystem, then this object contains a zero\nvalue.") mplsLdpEntityStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 22), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLdpEntityRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 3, 1, 23), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityRowStatus.setDescription("The status of this conceptual row. All writable\nobjects in this row may be modified at any\ntime, however, as described in detail in\nthe section entitled, 'Changing Values After\nSession Establishment', and again described\nin the DESCRIPTION clause of the\nmplsLdpEntityAdminStatus object, if a session\nhas been initiated with a Peer, changing objects\nin this table will wreak havoc with the session\nand interrupt traffic. To repeat again:\nthe recommended procedure is to\nset the mplsLdpEntityAdminStatus to down, thereby\nexplicitly causing a session to be torn down. Then,\nchange objects in this entry, then set\nthe mplsLdpEntityAdminStatus to enable,\nwhich enables a new session to be initiated.") mplsLdpEntityStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4)) if mibBuilder.loadTexts: mplsLdpEntityStatsTable.setDescription("This table is a read-only table which augments\nthe mplsLdpEntityTable. The purpose of this\ntable is to keep statistical information about\nthe LDP Entities on the LSR.") mplsLdpEntityStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1)) if mibBuilder.loadTexts: mplsLdpEntityStatsEntry.setDescription("A row in this table contains statistical information\nabout an LDP Entity. Some counters contained in a\nrow are for fatal errors received during a former\nLDP Session associated with this entry. For example,\nan LDP PDU received on a TCP connection during an\nLDP Session contains a fatal error. That\nerror is counted here, because the\nsession is terminated.\n\nIf the error is NOT fatal (i.e., the Session\nremains), then the error is counted in the\nmplsLdpSessionStatsEntry.") mplsLdpEntityStatsSessionAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsSessionAttempts.setDescription("A count of the Session Initialization messages\nwhich were sent or received by this LDP Entity and\nwere NAK'd. In other words, this counter counts\nthe number of session initializations that failed.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsSessionRejectedNoHelloErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsSessionRejectedNoHelloErrors.setDescription("A count of the Session Rejected/No Hello Error\nNotification Messages sent or received by\nthis LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsSessionRejectedAdErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsSessionRejectedAdErrors.setDescription("A count of the Session Rejected/Parameters\nAdvertisement Mode Error Notification Messages sent\nor received by this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsSessionRejectedMaxPduErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsSessionRejectedMaxPduErrors.setDescription("A count of the Session Rejected/Parameters\n\nMax Pdu Length Error Notification Messages sent\nor received by this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsSessionRejectedLRErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsSessionRejectedLRErrors.setDescription("A count of the Session Rejected/Parameters\nLabel Range Notification Messages sent\nor received by this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsBadLdpIdentifierErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsBadLdpIdentifierErrors.setDescription("This object counts the number of Bad LDP Identifier\nFatal Errors detected by the session(s)\n(past and present) associated with this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsBadPduLengthErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsBadPduLengthErrors.setDescription("This object counts the number of Bad PDU Length\nFatal Errors detected by the session(s)\n(past and present) associated with this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsBadMessageLengthErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsBadMessageLengthErrors.setDescription("This object counts the number of Bad Message\nLength Fatal Errors detected by the session(s)\n(past and present) associated with this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsBadTlvLengthErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsBadTlvLengthErrors.setDescription("This object counts the number of Bad TLV\nLength Fatal Errors detected by the session(s)\n(past and present) associated with this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsMalformedTlvValueErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsMalformedTlvValueErrors.setDescription("This object counts the number of Malformed TLV\nValue Fatal Errors detected by the session(s)\n(past and present) associated with this\nLDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsKeepAliveTimerExpErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsKeepAliveTimerExpErrors.setDescription("This object counts the number of Session Keep Alive\nTimer Expired Errors detected by the session(s)\n(past and present) associated with this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsShutdownReceivedNotifications = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsShutdownReceivedNotifications.setDescription("This object counts the number of Shutdown Notifications\nreceived related to session(s) (past and present)\nassociated with this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpEntityDiscontinuityTime.") mplsLdpEntityStatsShutdownSentNotifications = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 2, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityStatsShutdownSentNotifications.setDescription("This object counts the number of Shutdown Notfications\nsent related to session(s) (past and present) associated\nwith this LDP Entity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\n\n\n\nmplsLdpEntityDiscontinuityTime.") mplsLdpSessionObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3)) mplsLdpPeerLastChange = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpPeerLastChange.setDescription("The value of sysUpTime at the time of the most\nrecent addition or deletion to/from the\nmplsLdpPeerTable/mplsLdpSessionTable.") mplsLdpPeerTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 2)) if mibBuilder.loadTexts: mplsLdpPeerTable.setDescription("Information about LDP peers known by Entities in\nthe mplsLdpEntityTable. The information in this table\nis based on information from the Entity-Peer interaction\nduring session initialization but is not appropriate\nfor the mplsLdpSessionTable, because objects in this\ntable may or may not be used in session establishment.") mplsLdpPeerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 2, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId")) if mibBuilder.loadTexts: mplsLdpPeerEntry.setDescription("Information about a single Peer which is related\nto a Session. This table is augmented by\nthe mplsLdpSessionTable.") mplsLdpPeerLdpId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 2, 1, 1), MplsLdpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpPeerLdpId.setDescription("The LDP identifier of this LDP Peer.") mplsLdpPeerLabelDistMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 2, 1, 2), MplsLabelDistributionMethod()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpPeerLabelDistMethod.setDescription("For any given LDP session, the method of\nlabel distribution must be specified.") mplsLdpPeerPathVectorLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpPeerPathVectorLimit.setDescription("If the value of this object is 0 (zero) then\nLoop Dection for Path Vectors for this Peer\nis disabled.\n\nOtherwise, if this object has a value greater than\nzero, then Loop Dection for Path Vectors for this\nPeer is enabled and the Path Vector Limit is this value.") mplsLdpPeerTransportAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 2, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpPeerTransportAddrType.setDescription("The type of the Internet address for the\nmplsLdpPeerTransportAddr object. The LDP\nspecification describes this as being either\nan IPv4 Transport Address or IPv6 Transport\n\n\n\nAddress which is used in opening the LDP session's\nTCP connection, or if the optional TLV is not\npresent, then this is the IPv4/IPv6 source\naddress for the UPD packet carrying the Hellos.\n\nThis object specifies how the value of the\nmplsLdpPeerTransportAddr object should be\ninterpreted.") mplsLdpPeerTransportAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 2, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpPeerTransportAddr.setDescription("The Internet address advertised by the peer\nin the Hello Message or the Hello source address.\n\nThe type of this address is specified by the\nvalue of the mplsLdpPeerTransportAddrType\nobject.") mplsLdpSessionTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3)) if mibBuilder.loadTexts: mplsLdpSessionTable.setDescription("A table of Sessions between the LDP Entities\nand LDP Peers. This table AUGMENTS the\nmplsLdpPeerTable. Each row in this table\nrepresents a single session.") mplsLdpSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1)) if mibBuilder.loadTexts: mplsLdpSessionEntry.setDescription("An entry in this table represents information on a\nsingle session between an LDP Entity and LDP Peer.\nThe information contained in a row is read-only.\n\nPlease note: the Path Vector Limit for the\nSession is the value which is configured in\nthe corresponding mplsLdpEntityEntry. The\nPeer's Path Vector Limit is in the\nmplsLdpPeerPathVectorLimit object in the\nmplsLdpPeerTable.\n\nValues which may differ from those configured are\nnoted in the objects of this table, the\nmplsLdpAtmSessionTable and the\nmplsLdpFrameRelaySessionTable. A value will\ndiffer if it was negotiated between the\nEntity and the Peer. Values may or may not\nbe negotiated. For example, if the values\nare the same then no negotiation takes place.\nIf they are negotiated, then they may differ.") mplsLdpSessionStateLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionStateLastChange.setDescription("The value of sysUpTime at the time this\nSession entered its current state as\ndenoted by the mplsLdpSessionState\nobject.") mplsLdpSessionState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,5,2,)).subtype(namedValues=NamedValues(("nonexistent", 1), ("initialized", 2), ("openrec", 3), ("opensent", 4), ("operational", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionState.setDescription("The current state of the session, all of the\nstates 1 to 5 are based on the state machine\nfor session negotiation behavior.") mplsLdpSessionRole = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("active", 2), ("passive", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionRole.setDescription("During session establishment the LSR/LER takes either\nthe active role or the passive role based on address\ncomparisons. This object indicates whether this LSR/LER\nwas behaving in an active role or passive role during\nthis session's establishment.\n\nThe value of unknown(1), indicates that the role is not\nable to be determined at the present time.") mplsLdpSessionProtocolVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionProtocolVersion.setDescription("The version of the LDP Protocol which\nthis session is using. This is the version of\n\n\n\nthe LDP protocol which has been negotiated\nduring session initialization.") mplsLdpSessionKeepAliveHoldTimeRem = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 5), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionKeepAliveHoldTimeRem.setDescription("The keep alive hold time remaining for\nthis session.") mplsLdpSessionKeepAliveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionKeepAliveTime.setDescription("The negotiated KeepAlive Time which\nrepresents the amount of seconds between\nkeep alive messages. The\nmplsLdpEntityKeepAliveHoldTimer\nrelated to this Session is the\nvalue that was proposed as the\nKeepAlive Time for this session.\n\nThis value is negotiated during\nsession initialization between\nthe entity's proposed value\n(i.e., the value configured in\nmplsLdpEntityKeepAliveHoldTimer)\nand the peer's proposed\nKeepAlive Hold Timer value.\nThis value is the smaller\nof the two proposed values.") mplsLdpSessionMaxPduLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionMaxPduLength.setDescription("The value of maximum allowable length for LDP PDUs for\nthis session. This value may have been negotiated\nduring the Session Initialization. This object is\nrelated to the mplsLdpEntityMaxPduLength object. The\nmplsLdpEntityMaxPduLength object specifies the requested\nLDP PDU length, and this object reflects the negotiated\nLDP PDU length between the Entity and\nthe Peer.") mplsLdpSessionDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 3, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of this session's counters\nsuffered a discontinuity. The relevant counters are\nthe specific instances associated with this session\nof any Counter32 object contained in the\nmplsLdpSessionStatsTable.\n\nThe initial value of this object is the value of\nsysUpTime when the entry was created in this table.\n\nAlso, a command generator can distinguish when a session\nbetween a given Entity and Peer goes away and a new\nsession is established. This value would change and\nthus indicate to the command generator that this is a\ndifferent session.") mplsLdpSessionStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 4)) if mibBuilder.loadTexts: mplsLdpSessionStatsTable.setDescription("A table of statistics for Sessions between\nLDP Entities and LDP Peers. This table AUGMENTS\n\n\n\nthe mplsLdpPeerTable.") mplsLdpSessionStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 4, 1)) if mibBuilder.loadTexts: mplsLdpSessionStatsEntry.setDescription("An entry in this table represents statistical\ninformation on a single session between an LDP\nEntity and LDP Peer.") mplsLdpSessionStatsUnknownMesTypeErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionStatsUnknownMesTypeErrors.setDescription("This object counts the number of Unknown Message Type\nErrors detected by this LSR/LER during this session.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpSessionDiscontinuityTime.") mplsLdpSessionStatsUnknownTlvErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionStatsUnknownTlvErrors.setDescription("This object counts the number of Unknown TLV Errors\ndetected by this LSR/LER during this session.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsLdpSessionDiscontinuityTime.") mplsLdpHelloAdjacencyObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 5)) mplsLdpHelloAdjacencyTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 5, 1)) if mibBuilder.loadTexts: mplsLdpHelloAdjacencyTable.setDescription("A table of Hello Adjacencies for Sessions.") mplsLdpHelloAdjacencyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 5, 1, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpHelloAdjacencyIndex")) if mibBuilder.loadTexts: mplsLdpHelloAdjacencyEntry.setDescription("Each row represents a single LDP Hello Adjacency.\nAn LDP Session can have one or more Hello\nAdjacencies.") mplsLdpHelloAdjacencyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 5, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpHelloAdjacencyIndex.setDescription("An identifier for this specific adjacency.") mplsLdpHelloAdjacencyHoldTimeRem = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 5, 1, 1, 2), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpHelloAdjacencyHoldTimeRem.setDescription("If the value of this object is 65535,\nthis means that the hold time is infinite\n(i.e., wait forever).\n\nOtherwise, the time remaining for\nthis Hello Adjacency to receive its\nnext Hello Message.\n\nThis interval will change when the 'next'\nHello Message which corresponds to this\nHello Adjacency is received unless it\nis infinite.") mplsLdpHelloAdjacencyHoldTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 5, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpHelloAdjacencyHoldTime.setDescription("The Hello hold time which is negotiated between\nthe Entity and the Peer. The entity associated\nwith this Hello Adjacency issues a proposed\nHello Hold Time value in the\nmplsLdpEntityHelloHoldTimer object. The peer\nalso proposes a value and this object represents\nthe negotiated value.\n\nA value of 0 means the default,\nwhich is 15 seconds for Link Hellos\nand 45 seconds for Targeted Hellos.\nA value of 65535 indicates an\ninfinite hold time.") mplsLdpHelloAdjacencyType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 5, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("link", 1), ("targeted", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpHelloAdjacencyType.setDescription("This adjacency is the result of a 'link'\nhello if the value of this object is link(1).\n\n\n\nOtherwise, it is a result of a 'targeted'\nhello, targeted(2).") mplsInSegmentLdpLspTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 6)) if mibBuilder.loadTexts: mplsInSegmentLdpLspTable.setDescription("A table of LDP LSP's which\nmap to the mplsInSegmentTable in the\nMPLS-LSR-STD-MIB module.") mplsInSegmentLdpLspEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 6, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsInSegmentLdpLspIndex")) if mibBuilder.loadTexts: mplsInSegmentLdpLspEntry.setDescription("An entry in this table represents information\non a single LDP LSP which is represented by\na session's index triple (mplsLdpEntityLdpId,\nmplsLdpEntityIndex, mplsLdpPeerLdpId) AND the\nindex for the mplsInSegmentTable\n(mplsInSegmentLdpLspLabelIndex) from the\nMPLS-LSR-STD-MIB.\n\nThe information contained in a row is read-only.") mplsInSegmentLdpLspIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 6, 1, 1), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsInSegmentLdpLspIndex.setDescription("This contains the same value as the\nmplsInSegmentIndex in the\nMPLS-LSR-STD-MIB's mplsInSegmentTable.") mplsInSegmentLdpLspLabelType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 6, 1, 2), MplsLdpLabelType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentLdpLspLabelType.setDescription("The Layer 2 Label Type.") mplsInSegmentLdpLspType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 6, 1, 3), MplsLspType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsInSegmentLdpLspType.setDescription("The type of LSP connection.") mplsOutSegmentLdpLspTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 7)) if mibBuilder.loadTexts: mplsOutSegmentLdpLspTable.setDescription("A table of LDP LSP's which\nmap to the mplsOutSegmentTable in the\nMPLS-LSR-STD-MIB.") mplsOutSegmentLdpLspEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 7, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsOutSegmentLdpLspIndex")) if mibBuilder.loadTexts: mplsOutSegmentLdpLspEntry.setDescription("An entry in this table represents information\non a single LDP LSP which is represented by\na session's index triple (mplsLdpEntityLdpId,\nmplsLdpEntityIndex, mplsLdpPeerLdpId) AND the\nindex (mplsOutSegmentLdpLspIndex)\nfor the mplsOutSegmentTable.\n\nThe information contained in a row is read-only.") mplsOutSegmentLdpLspIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 7, 1, 1), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsOutSegmentLdpLspIndex.setDescription("This contains the same value as the\nmplsOutSegmentIndex in the\nMPLS-LSR-STD-MIB's mplsOutSegmentTable.") mplsOutSegmentLdpLspLabelType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 7, 1, 2), MplsLdpLabelType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentLdpLspLabelType.setDescription("The Layer 2 Label Type.") mplsOutSegmentLdpLspType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 7, 1, 3), MplsLspType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsOutSegmentLdpLspType.setDescription("The type of LSP connection.") mplsFecObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8)) mplsFecLastChange = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFecLastChange.setDescription("The value of sysUpTime at the time of the most\nrecent addition/deletion of an entry\nto/from the mplsLdpFectTable or\nthe most recent change in values to any objects\nin the mplsLdpFecTable.\n\nIf no such changes have occurred since the last\nre-initialization of the local management subsystem,\nthen this object contains a zero value.") mplsFecIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 2), IndexIntegerNextFree()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFecIndexNext.setDescription("This object contains an appropriate value to\nbe used for mplsFecIndex when creating\nentries in the mplsFecTable. The value\n0 indicates that no unassigned entries are\navailable.") mplsFecTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3)) if mibBuilder.loadTexts: mplsFecTable.setDescription("This table represents the FEC\n(Forwarding Equivalence Class)\nInformation associated with an LSP.") mplsFecEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsFecIndex")) if mibBuilder.loadTexts: mplsFecEntry.setDescription("Each row represents a single FEC Element.") mplsFecIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1, 1), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsFecIndex.setDescription("The index which uniquely identifies this entry.") mplsFecType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("prefix", 1), ("hostAddress", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFecType.setDescription("The type of the FEC. If the value of this object\nis 'prefix(1)' then the FEC type described by this\nrow is an address prefix.\n\nIf the value of this object is 'hostAddress(2)' then\nthe FEC type described by this row is a host address.") mplsFecAddrPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1, 3), InetAddressPrefixLength().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFecAddrPrefixLength.setDescription("If the value of the 'mplsFecType' is 'hostAddress(2)'\nthen this object is undefined.\n\nIf the value of 'mplsFecType' is 'prefix(1)'\nthen the value of this object is the length in\nbits of the address prefix represented by\n'mplsFecAddr', or zero. If the value of this\nobject is zero, this indicates that the\nprefix matches all addresses. In this case the\naddress prefix MUST also be zero (i.e., 'mplsFecAddr'\nshould have the value of zero.)") mplsFecAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1, 4), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFecAddrType.setDescription("The value of this object is the type of the\nInternet address. The value of this object,\ndecides how the value of the mplsFecAddr object\nis interpreted.") mplsFecAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1, 5), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFecAddr.setDescription("The value of this object is interpreted based\non the value of the 'mplsFecAddrType' object.\n\nThis address is then further interpretted as\nan being used with the address prefix,\nor as the host address. This further interpretation\nis indicated by the 'mplsFecType' object.\nIn other words, the FEC element is populated\naccording to the Prefix FEC Element value encoding, or\nthe Host Address FEC Element encoding.") mplsFecStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFecStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsFecRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 8, 3, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFecRowStatus.setDescription("The status of this conceptual row. If the value of this\nobject is 'active(1)', then none of the writable objects\nof this entry can be modified, except to set this object\nto 'destroy(6)'.\n\nNOTE: if this row is being referenced by any entry in\nthe mplsLdpLspFecTable, then a request to destroy\nthis row, will result in an inconsistentValue error.") mplsLdpLspFecLastChange = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpLspFecLastChange.setDescription("The value of sysUpTime at the time of the most\nrecent addition/deletion of an entry\nto/from the mplsLdpLspFecTable or\nthe most recent change in values to any objects in the\nmplsLdpLspFecTable.\n\nIf no such changes have occurred since the last\nre-initialization of the local management subsystem,\nthen this object contains a zero value.") mplsLdpLspFecTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 10)) if mibBuilder.loadTexts: mplsLdpLspFecTable.setDescription("A table which shows the relationship between\nLDP LSPs and FECs. Each row represents\na single LDP LSP to FEC association.") mplsLdpLspFecEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 10, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpLspFecSegment"), (0, "MPLS-LDP-STD-MIB", "mplsLdpLspFecSegmentIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpLspFecIndex")) if mibBuilder.loadTexts: mplsLdpLspFecEntry.setDescription("An entry represents a LDP LSP\nto FEC association.") mplsLdpLspFecSegment = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 10, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("inSegment", 1), ("outSegment", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpLspFecSegment.setDescription("If the value is inSegment(1), then this\nindicates that the following index,\nmplsLdpLspFecSegmentIndex, contains the same\nvalue as the mplsInSegmentLdpLspIndex.\n\nOtherwise, if the value of this object is\n\n\n\noutSegment(2), then this\nindicates that following index,\nmplsLdpLspFecSegmentIndex, contains the same\nvalue as the mplsOutSegmentLdpLspIndex.") mplsLdpLspFecSegmentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 10, 1, 2), MplsIndexType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpLspFecSegmentIndex.setDescription("This index is interpretted by using the value\nof the mplsLdpLspFecSegment.\n\nIf the mplsLdpLspFecSegment is inSegment(1),\nthen this index has the same value as\nmplsInSegmentLdpLspIndex.\n\nIf the mplsLdpLspFecSegment is outSegment(2),\nthen this index has the same value as\nmplsOutSegmentLdpLspIndex.") mplsLdpLspFecIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 10, 1, 3), IndexInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpLspFecIndex.setDescription("This index identifies the FEC entry in the\nmplsFecTable associated with this session.\nIn other words, the value of this index\nis the same as the value of the mplsFecIndex\nthat denotes the FEC associated with this\nSession.") mplsLdpLspFecStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 10, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpLspFecStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLdpLspFecRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 10, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpLspFecRowStatus.setDescription("The status of this conceptual row. If the\nvalue of this object is 'active(1)', then\nnone of the writable objects of this entry\ncan be modified.\n\nThe Agent should delete this row when\nthe session ceases to exist. If an\noperator wants to associate the session with\na different FEC, the recommended\nprocedure is (as described in detail in the section\nentitled, 'Changing Values After Session\nEstablishment', and again described in the\nDESCRIPTION clause of the\nmplsLdpEntityAdminStatus object)\nis to set the mplsLdpEntityAdminStatus to\ndown, thereby explicitly causing a session\nto be torn down. This will also\ncause this entry to be deleted.\n\nThen, set the mplsLdpEntityAdminStatus\nto enable which enables a new session to be initiated.\nOnce the session is initiated, an entry may be\nadded to this table to associate the new session\nwith a FEC.") mplsLdpSessionPeerAddrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 11)) if mibBuilder.loadTexts: mplsLdpSessionPeerAddrTable.setDescription("This table 'extends' the mplsLdpSessionTable.\nThis table is used to store Label Address Information\nfrom Label Address Messages received by this LSR from\nPeers. This table is read-only and should be updated\n\n\n\nwhen Label Withdraw Address Messages are received, i.e.,\nRows should be deleted as appropriate.\n\nNOTE: since more than one address may be contained\nin a Label Address Message, this table 'sparse augments',\nthe mplsLdpSessionTable's information.") mplsLdpSessionPeerAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 11, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpSessionPeerAddrIndex")) if mibBuilder.loadTexts: mplsLdpSessionPeerAddrEntry.setDescription("An entry in this table represents information on\na session's single next hop address which was\nadvertised in an Address Message from the LDP peer.\nThe information contained in a row is read-only.") mplsLdpSessionPeerAddrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 11, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpSessionPeerAddrIndex.setDescription("An index which uniquely identifies this entry within\na given session.") mplsLdpSessionPeerNextHopAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 11, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionPeerNextHopAddrType.setDescription("The internetwork layer address type of this Next Hop\nAddress as specified in the Label Address Message\nassociated with this Session. The value of this\nobject indicates how to interpret the value of\n\n\n\nmplsLdpSessionPeerNextHopAddr.") mplsLdpSessionPeerNextHopAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 4, 1, 3, 11, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionPeerNextHopAddr.setDescription("The next hop address. The type of this address\nis specified by the value of the\nmplsLdpSessionPeerNextHopAddrType.") mplsLdpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 2)) mplsLdpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 2, 1)) mplsLdpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 4, 2, 2)) # Augmentions mplsLdpPeerEntry.registerAugmentions(("MPLS-LDP-STD-MIB", "mplsLdpSessionEntry")) mplsLdpSessionEntry.setIndexNames(*mplsLdpPeerEntry.getIndexNames()) mplsLdpEntityEntry.registerAugmentions(("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsEntry")) mplsLdpEntityStatsEntry.setIndexNames(*mplsLdpEntityEntry.getIndexNames()) mplsLdpPeerEntry.registerAugmentions(("MPLS-LDP-STD-MIB", "mplsLdpSessionStatsEntry")) mplsLdpSessionStatsEntry.setIndexNames(*mplsLdpPeerEntry.getIndexNames()) # Notifications mplsLdpInitSessionThresholdExceeded = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 4, 0, 1)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpEntityInitSessionThreshold"), ) ) if mibBuilder.loadTexts: mplsLdpInitSessionThresholdExceeded.setDescription("This notification is generated when the value of\nthe 'mplsLdpEntityInitSessionThreshold' object\nis not zero, and the number of Session\nInitialization messages exceeds the value\nof the 'mplsLdpEntityInitSessionThreshold' object.") mplsLdpPathVectorLimitMismatch = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 4, 0, 2)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpPeerPathVectorLimit"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityPathVectorLimit"), ) ) if mibBuilder.loadTexts: mplsLdpPathVectorLimitMismatch.setDescription("This notification is sent when the\n'mplsLdpEntityPathVectorLimit' does NOT match\nthe value of the 'mplsLdpPeerPathVectorLimit' for\na specific Entity.") mplsLdpSessionUp = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 4, 0, 3)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpSessionState"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionDiscontinuityTime"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionStatsUnknownTlvErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionStatsUnknownMesTypeErrors"), ) ) if mibBuilder.loadTexts: mplsLdpSessionUp.setDescription("If this notification is sent when the\nvalue of 'mplsLdpSessionState' enters\nthe 'operational(5)' state.") mplsLdpSessionDown = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 4, 0, 4)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpSessionState"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionDiscontinuityTime"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionStatsUnknownTlvErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionStatsUnknownMesTypeErrors"), ) ) if mibBuilder.loadTexts: mplsLdpSessionDown.setDescription("This notification is sent when the\nvalue of 'mplsLdpSessionState' leaves\nthe 'operational(5)' state.") # Groups mplsLdpGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 4, 2, 1, 1)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpSessionPeerNextHopAddrType"), ("MPLS-LDP-STD-MIB", "mplsLdpLsrId"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityTransportAddrKind"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityKeepAliveHoldTimer"), ("MPLS-LDP-STD-MIB", "mplsFecRowStatus"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsBadMessageLengthErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpPeerLabelDistMethod"), ("MPLS-LDP-STD-MIB", "mplsLdpPeerTransportAddrType"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityInitSessionThreshold"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionPeerNextHopAddr"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsSessionRejectedLRErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionStatsUnknownMesTypeErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityIndexNext"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsBadPduLengthErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityProtocolVersion"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityTargetPeerAddrType"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionMaxPduLength"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityUdpDscPort"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsBadTlvLengthErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityHelloHoldTimer"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityLabelType"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityOperStatus"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityTargetPeerAddr"), ("MPLS-LDP-STD-MIB", "mplsFecLastChange"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsShutdownSentNotifications"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityHopCountLimit"), ("MPLS-LDP-STD-MIB", "mplsLdpHelloAdjacencyHoldTime"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionRole"), ("MPLS-LDP-STD-MIB", "mplsFecIndexNext"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityLabelDistMethod"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionStatsUnknownTlvErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityDiscontinuityTime"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsSessionRejectedMaxPduErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityLabelRetentionMode"), ("MPLS-LDP-STD-MIB", "mplsLdpPeerLastChange"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionKeepAliveHoldTimeRem"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityTargetPeer"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionProtocolVersion"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsShutdownReceivedNotifications"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityLastChange"), ("MPLS-LDP-STD-MIB", "mplsLdpHelloAdjacencyType"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsBadLdpIdentifierErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityTcpPort"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionState"), ("MPLS-LDP-STD-MIB", "mplsLdpPeerPathVectorLimit"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsKeepAliveTimerExpErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsMalformedTlvValueErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionDiscontinuityTime"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityRowStatus"), ("MPLS-LDP-STD-MIB", "mplsLdpLsrLoopDetectionCapable"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsSessionRejectedAdErrors"), ("MPLS-LDP-STD-MIB", "mplsFecAddrType"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityPathVectorLimit"), ("MPLS-LDP-STD-MIB", "mplsFecAddrPrefixLength"), ("MPLS-LDP-STD-MIB", "mplsFecAddr"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsSessionRejectedNoHelloErrors"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionStateLastChange"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStorageType"), ("MPLS-LDP-STD-MIB", "mplsLdpHelloAdjacencyHoldTimeRem"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityMaxPduLength"), ("MPLS-LDP-STD-MIB", "mplsLdpPeerTransportAddr"), ("MPLS-LDP-STD-MIB", "mplsFecStorageType"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityAdminStatus"), ("MPLS-LDP-STD-MIB", "mplsLdpEntityStatsSessionAttempts"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionKeepAliveTime"), ("MPLS-LDP-STD-MIB", "mplsFecType"), ) ) if mibBuilder.loadTexts: mplsLdpGeneralGroup.setDescription("Objects that apply to all MPLS LDP implementations.") mplsLdpLspGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 4, 2, 1, 2)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpLspFecLastChange"), ("MPLS-LDP-STD-MIB", "mplsOutSegmentLdpLspType"), ("MPLS-LDP-STD-MIB", "mplsLdpLspFecRowStatus"), ("MPLS-LDP-STD-MIB", "mplsLdpLspFecStorageType"), ("MPLS-LDP-STD-MIB", "mplsInSegmentLdpLspLabelType"), ("MPLS-LDP-STD-MIB", "mplsInSegmentLdpLspType"), ("MPLS-LDP-STD-MIB", "mplsOutSegmentLdpLspLabelType"), ) ) if mibBuilder.loadTexts: mplsLdpLspGroup.setDescription("These objects are for LDP implementations\nwhich interface to the Label Information Base (LIB)\nin the MPLS-LSR-STD-MIB. The LIB is\nrepresented in the mplsInSegmentTable,\nmplsOutSegmentTable and mplsXCTable.") mplsLdpNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 166, 4, 2, 1, 3)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpSessionDown"), ("MPLS-LDP-STD-MIB", "mplsLdpInitSessionThresholdExceeded"), ("MPLS-LDP-STD-MIB", "mplsLdpSessionUp"), ("MPLS-LDP-STD-MIB", "mplsLdpPathVectorLimitMismatch"), ) ) if mibBuilder.loadTexts: mplsLdpNotificationsGroup.setDescription("The notification for an MPLS LDP implementation.") # Compliances mplsLdpModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 4, 2, 2, 1)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpGeneralGroup"), ("MPLS-LDP-STD-MIB", "mplsLdpNotificationsGroup"), ("MPLS-LDP-STD-MIB", "mplsLdpLspGroup"), ) ) if mibBuilder.loadTexts: mplsLdpModuleFullCompliance.setDescription("The Module is implemented with support\nfor read-create and read-write. In other\n\n\n\nwords, both monitoring and configuration\nare available when using this MODULE-COMPLIANCE.") mplsLdpModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 4, 2, 2, 2)).setObjects(*(("MPLS-LDP-STD-MIB", "mplsLdpGeneralGroup"), ("MPLS-LDP-STD-MIB", "mplsLdpNotificationsGroup"), ("MPLS-LDP-STD-MIB", "mplsLdpLspGroup"), ) ) if mibBuilder.loadTexts: mplsLdpModuleReadOnlyCompliance.setDescription("The Module is implemented with support\nfor read-only. In other words, only monitoring\nis available by implementing this MODULE-COMPLIANCE.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-LDP-STD-MIB", PYSNMP_MODULE_ID=mplsLdpStdMIB) # Objects mibBuilder.exportSymbols("MPLS-LDP-STD-MIB", mplsLdpStdMIB=mplsLdpStdMIB, mplsLdpNotifications=mplsLdpNotifications, mplsLdpObjects=mplsLdpObjects, mplsLdpLsrObjects=mplsLdpLsrObjects, mplsLdpLsrId=mplsLdpLsrId, mplsLdpLsrLoopDetectionCapable=mplsLdpLsrLoopDetectionCapable, mplsLdpEntityObjects=mplsLdpEntityObjects, mplsLdpEntityLastChange=mplsLdpEntityLastChange, mplsLdpEntityIndexNext=mplsLdpEntityIndexNext, mplsLdpEntityTable=mplsLdpEntityTable, mplsLdpEntityEntry=mplsLdpEntityEntry, mplsLdpEntityLdpId=mplsLdpEntityLdpId, mplsLdpEntityIndex=mplsLdpEntityIndex, mplsLdpEntityProtocolVersion=mplsLdpEntityProtocolVersion, mplsLdpEntityAdminStatus=mplsLdpEntityAdminStatus, mplsLdpEntityOperStatus=mplsLdpEntityOperStatus, mplsLdpEntityTcpPort=mplsLdpEntityTcpPort, mplsLdpEntityUdpDscPort=mplsLdpEntityUdpDscPort, mplsLdpEntityMaxPduLength=mplsLdpEntityMaxPduLength, mplsLdpEntityKeepAliveHoldTimer=mplsLdpEntityKeepAliveHoldTimer, mplsLdpEntityHelloHoldTimer=mplsLdpEntityHelloHoldTimer, mplsLdpEntityInitSessionThreshold=mplsLdpEntityInitSessionThreshold, mplsLdpEntityLabelDistMethod=mplsLdpEntityLabelDistMethod, mplsLdpEntityLabelRetentionMode=mplsLdpEntityLabelRetentionMode, mplsLdpEntityPathVectorLimit=mplsLdpEntityPathVectorLimit, mplsLdpEntityHopCountLimit=mplsLdpEntityHopCountLimit, mplsLdpEntityTransportAddrKind=mplsLdpEntityTransportAddrKind, mplsLdpEntityTargetPeer=mplsLdpEntityTargetPeer, mplsLdpEntityTargetPeerAddrType=mplsLdpEntityTargetPeerAddrType, mplsLdpEntityTargetPeerAddr=mplsLdpEntityTargetPeerAddr, mplsLdpEntityLabelType=mplsLdpEntityLabelType, mplsLdpEntityDiscontinuityTime=mplsLdpEntityDiscontinuityTime, mplsLdpEntityStorageType=mplsLdpEntityStorageType, mplsLdpEntityRowStatus=mplsLdpEntityRowStatus, mplsLdpEntityStatsTable=mplsLdpEntityStatsTable, mplsLdpEntityStatsEntry=mplsLdpEntityStatsEntry, mplsLdpEntityStatsSessionAttempts=mplsLdpEntityStatsSessionAttempts, mplsLdpEntityStatsSessionRejectedNoHelloErrors=mplsLdpEntityStatsSessionRejectedNoHelloErrors, mplsLdpEntityStatsSessionRejectedAdErrors=mplsLdpEntityStatsSessionRejectedAdErrors, mplsLdpEntityStatsSessionRejectedMaxPduErrors=mplsLdpEntityStatsSessionRejectedMaxPduErrors, mplsLdpEntityStatsSessionRejectedLRErrors=mplsLdpEntityStatsSessionRejectedLRErrors, mplsLdpEntityStatsBadLdpIdentifierErrors=mplsLdpEntityStatsBadLdpIdentifierErrors, mplsLdpEntityStatsBadPduLengthErrors=mplsLdpEntityStatsBadPduLengthErrors, mplsLdpEntityStatsBadMessageLengthErrors=mplsLdpEntityStatsBadMessageLengthErrors, mplsLdpEntityStatsBadTlvLengthErrors=mplsLdpEntityStatsBadTlvLengthErrors, mplsLdpEntityStatsMalformedTlvValueErrors=mplsLdpEntityStatsMalformedTlvValueErrors, mplsLdpEntityStatsKeepAliveTimerExpErrors=mplsLdpEntityStatsKeepAliveTimerExpErrors, mplsLdpEntityStatsShutdownReceivedNotifications=mplsLdpEntityStatsShutdownReceivedNotifications, mplsLdpEntityStatsShutdownSentNotifications=mplsLdpEntityStatsShutdownSentNotifications, mplsLdpSessionObjects=mplsLdpSessionObjects, mplsLdpPeerLastChange=mplsLdpPeerLastChange, mplsLdpPeerTable=mplsLdpPeerTable, mplsLdpPeerEntry=mplsLdpPeerEntry, mplsLdpPeerLdpId=mplsLdpPeerLdpId, mplsLdpPeerLabelDistMethod=mplsLdpPeerLabelDistMethod, mplsLdpPeerPathVectorLimit=mplsLdpPeerPathVectorLimit, mplsLdpPeerTransportAddrType=mplsLdpPeerTransportAddrType, mplsLdpPeerTransportAddr=mplsLdpPeerTransportAddr, mplsLdpSessionTable=mplsLdpSessionTable, mplsLdpSessionEntry=mplsLdpSessionEntry, mplsLdpSessionStateLastChange=mplsLdpSessionStateLastChange, mplsLdpSessionState=mplsLdpSessionState, mplsLdpSessionRole=mplsLdpSessionRole, mplsLdpSessionProtocolVersion=mplsLdpSessionProtocolVersion, mplsLdpSessionKeepAliveHoldTimeRem=mplsLdpSessionKeepAliveHoldTimeRem, mplsLdpSessionKeepAliveTime=mplsLdpSessionKeepAliveTime, mplsLdpSessionMaxPduLength=mplsLdpSessionMaxPduLength, mplsLdpSessionDiscontinuityTime=mplsLdpSessionDiscontinuityTime, mplsLdpSessionStatsTable=mplsLdpSessionStatsTable, mplsLdpSessionStatsEntry=mplsLdpSessionStatsEntry, mplsLdpSessionStatsUnknownMesTypeErrors=mplsLdpSessionStatsUnknownMesTypeErrors, mplsLdpSessionStatsUnknownTlvErrors=mplsLdpSessionStatsUnknownTlvErrors, mplsLdpHelloAdjacencyObjects=mplsLdpHelloAdjacencyObjects, mplsLdpHelloAdjacencyTable=mplsLdpHelloAdjacencyTable, mplsLdpHelloAdjacencyEntry=mplsLdpHelloAdjacencyEntry, mplsLdpHelloAdjacencyIndex=mplsLdpHelloAdjacencyIndex, mplsLdpHelloAdjacencyHoldTimeRem=mplsLdpHelloAdjacencyHoldTimeRem, mplsLdpHelloAdjacencyHoldTime=mplsLdpHelloAdjacencyHoldTime, mplsLdpHelloAdjacencyType=mplsLdpHelloAdjacencyType, mplsInSegmentLdpLspTable=mplsInSegmentLdpLspTable, mplsInSegmentLdpLspEntry=mplsInSegmentLdpLspEntry, mplsInSegmentLdpLspIndex=mplsInSegmentLdpLspIndex, mplsInSegmentLdpLspLabelType=mplsInSegmentLdpLspLabelType, mplsInSegmentLdpLspType=mplsInSegmentLdpLspType, mplsOutSegmentLdpLspTable=mplsOutSegmentLdpLspTable, mplsOutSegmentLdpLspEntry=mplsOutSegmentLdpLspEntry, mplsOutSegmentLdpLspIndex=mplsOutSegmentLdpLspIndex, mplsOutSegmentLdpLspLabelType=mplsOutSegmentLdpLspLabelType, mplsOutSegmentLdpLspType=mplsOutSegmentLdpLspType, mplsFecObjects=mplsFecObjects, mplsFecLastChange=mplsFecLastChange, mplsFecIndexNext=mplsFecIndexNext, mplsFecTable=mplsFecTable, mplsFecEntry=mplsFecEntry, mplsFecIndex=mplsFecIndex, mplsFecType=mplsFecType, mplsFecAddrPrefixLength=mplsFecAddrPrefixLength, mplsFecAddrType=mplsFecAddrType, mplsFecAddr=mplsFecAddr, mplsFecStorageType=mplsFecStorageType, mplsFecRowStatus=mplsFecRowStatus, mplsLdpLspFecLastChange=mplsLdpLspFecLastChange, mplsLdpLspFecTable=mplsLdpLspFecTable, mplsLdpLspFecEntry=mplsLdpLspFecEntry, mplsLdpLspFecSegment=mplsLdpLspFecSegment, mplsLdpLspFecSegmentIndex=mplsLdpLspFecSegmentIndex, mplsLdpLspFecIndex=mplsLdpLspFecIndex, mplsLdpLspFecStorageType=mplsLdpLspFecStorageType, mplsLdpLspFecRowStatus=mplsLdpLspFecRowStatus, mplsLdpSessionPeerAddrTable=mplsLdpSessionPeerAddrTable, mplsLdpSessionPeerAddrEntry=mplsLdpSessionPeerAddrEntry, mplsLdpSessionPeerAddrIndex=mplsLdpSessionPeerAddrIndex, mplsLdpSessionPeerNextHopAddrType=mplsLdpSessionPeerNextHopAddrType, mplsLdpSessionPeerNextHopAddr=mplsLdpSessionPeerNextHopAddr, mplsLdpConformance=mplsLdpConformance, mplsLdpGroups=mplsLdpGroups, mplsLdpCompliances=mplsLdpCompliances) # Notifications mibBuilder.exportSymbols("MPLS-LDP-STD-MIB", mplsLdpInitSessionThresholdExceeded=mplsLdpInitSessionThresholdExceeded, mplsLdpPathVectorLimitMismatch=mplsLdpPathVectorLimitMismatch, mplsLdpSessionUp=mplsLdpSessionUp, mplsLdpSessionDown=mplsLdpSessionDown) # Groups mibBuilder.exportSymbols("MPLS-LDP-STD-MIB", mplsLdpGeneralGroup=mplsLdpGeneralGroup, mplsLdpLspGroup=mplsLdpLspGroup, mplsLdpNotificationsGroup=mplsLdpNotificationsGroup) # Compliances mibBuilder.exportSymbols("MPLS-LDP-STD-MIB", mplsLdpModuleFullCompliance=mplsLdpModuleFullCompliance, mplsLdpModuleReadOnlyCompliance=mplsLdpModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SFLOW-MIB.py0000644000014400001440000003461011736645137020334 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SFLOW-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:37 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( OwnerString, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, enterprises, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "enterprises") # Objects sFlowMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 4300, 1)).setRevisions(("2001-05-15 00:00","2001-05-01 00:00",)) if mibBuilder.loadTexts: sFlowMIB.setOrganization("InMon Corp.") if mibBuilder.loadTexts: sFlowMIB.setContactInfo("Peter Phaal\nInMon Corp.\nhttp://www.inmon.com/\n\nTel: +1-415-661-6343\nEmail: peter_phaal@inmon.com") if mibBuilder.loadTexts: sFlowMIB.setDescription("The MIB module for managing the generation and transportation\nof sFlow data records.") sFlowAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 4300, 1, 1)) sFlowVersion = MibScalar((1, 3, 6, 1, 4, 1, 4300, 1, 1, 1), SnmpAdminString().clone('1.2;;')).setMaxAccess("readonly") if mibBuilder.loadTexts: sFlowVersion.setDescription("Uniquely identifies the version and implementation of this MIB.\nThe version string must have the following structure:\n ;;\nwhere:\n must be '1.2', the version of this MIB.\n the name of the organization responsible\n for the agent implementation.\n the specific software build of this agent.\n\nAs an example, the string '1.2;InMon Corp.;2.1.1' indicates\nthat this agent implements version '1.2' of the SFLOW MIB, that\nit was developed by 'InMon Corp.' and that the software build\nis '2.1.1'.\n\nThe MIB Version will change with each revision of the SFLOW\n\n\n\nMIB.\n\nManagement entities must check the MIB Version and not attempt\nto manage agents with MIB Versions greater than that for which\nthey were designed.\n\nNote: The sFlow Datagram Format has an independent version\n number which may change independently from .\n applies to the structure and semantics of\n the SFLOW MIB only.") sFlowAgentAddressType = MibScalar((1, 3, 6, 1, 4, 1, 4300, 1, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: sFlowAgentAddressType.setDescription("The address type of the address associated with this agent.\nOnly ipv4 and ipv6 types are supported.") sFlowAgentAddress = MibScalar((1, 3, 6, 1, 4, 1, 4300, 1, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: sFlowAgentAddress.setDescription("The IP address associated with this agent. In the case of a\nmulti-homed agent, this should be the loopback address of the\nagent. The sFlowAgent address must provide SNMP connectivity\nto the agent. The address should be an invariant that does not\nchange as interfaces are reconfigured, enabled, disabled,\nadded or removed. A manager should be able to use the\nsFlowAgentAddress as a unique key that will identify this\nagent over extended periods of time so that a history can\nbe maintained.") sFlowTable = MibTable((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4)) if mibBuilder.loadTexts: sFlowTable.setDescription("A table of the sFlow samplers within a device.") sFlowEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1)).setIndexNames((0, "SFLOW-MIB", "sFlowDataSource")) if mibBuilder.loadTexts: sFlowEntry.setDescription("Attributes of an sFlow sampler.") sFlowDataSource = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 1), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: sFlowDataSource.setDescription("Identifies the source of the data for the sFlow sampler.\nThe following data source types are currently defined:\n\n- ifIndex.\nDataSources of this traditional form are called 'port-based'.\nIdeally the sampling entity will perform sampling on all flows\noriginating from or destined to the specified interface.\nHowever, if the switch architecture only permits input or\noutput sampling then the sampling agent is permitted to only\nsample input flows input or output flows. Each packet must\nonly be considered once for sampling, irrespective of the\nnumber of ports it will be forwarded to.\n\nNote: Port 0 is used to indicate that all ports on the device\n are represented by a single data source.\n - sFlowPacketSamplingRate applies to all ports on the\n device capable of packet sampling.\n - sFlowCounterSamplingInterval applies to all ports.\n\n- smonVlanDataSource.\nA dataSource of this form refers to a 'Packet-based VLAN'\nand is called a 'VLAN-based' dataSource. is the VLAN\n\n\n\nID as defined by the IEEE 802.1Q standard. The\nvalue is between 1 and 4094 inclusive, and it represents\nan 802.1Q VLAN-ID with global scope within a given\nbridged domain.\nSampling is performed on all packets received that are part\nof the specified VLAN (no matter which port they arrived on).\nEach packet will only be considered once for sampling,\nirrespective of the number of ports it will be forwarded to.\n\n- entPhysicalEntry.\nA dataSource of this form refers to a physical entity within\nthe agent (e.g., entPhysicalClass = backplane(4)) and is called\nan 'entity-based' dataSource.\nSampling is performed on all packets entering the resource (e.g.\nIf the backplane is being sampled, all packets transmitted onto\nthe backplane will be considered as single candidates for\nsampling irrespective of the number of ports they ultimately\nreach).\n\nNote: Since each DataSource operates independently, a packet\n that crosses multiple DataSources may generate multiple\n flow records.") sFlowOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 2), OwnerString().clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowOwner.setDescription("The entity making use of this sFlow sampler. The empty string\nindicates that the sFlow sampler is currently unclaimed.\nAn entity wishing to claim an sFlow sampler must make sure\nthat the sampler is unclaimed before trying to claim it.\nThe sampler is claimed by setting the owner string to identify\nthe entity claiming the sampler. The sampler must be claimed\nbefore any changes can be made to other sampler objects.\n\nIn order to avoid a race condition, the entity taking control\nof the sampler must set both the owner and a value for\nsFlowTimeout in the same SNMP set request.\n\nWhen a management entity is finished using the sampler,\nit should set its value back to unclaimed. The agent\nmust restore all other entities this row to their\ndefault values when the owner is set to unclaimed.\n\nThis mechanism provides no enforcement and relies on the\ncooperation of management entities in order to ensure that\n\n\n\ncompetition for a sampler is fairly resolved.") sFlowTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 3), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowTimeout.setDescription("The time (in seconds) remaining before the sampler is released\nand stops sampling. When set, the owner establishes control\nfor the specified period. When read, the remaining time in the\ninterval is returned.\n\nA management entity wanting to maintain control of the sampler\nis responsible for setting a new value before the old one\nexpires.\n\nWhen the interval expires, the agent is responsible for\nrestoring all other entities in this row to their default\nvalues.") sFlowPacketSamplingRate = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 4), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowPacketSamplingRate.setDescription("The statistical sampling rate for packet sampling from this\nsource.\n\nSet to N to sample 1/Nth of the packets in the monitored flows.\nAn agent should choose its own algorithm introduce variance\ninto the sampling so that exactly every Nth packet is not\ncounted. A sampling rate of 1 counts all packets. A sampling\nrate of 0 disables sampling.\n\nThe agent is permitted to have minimum and maximum allowable\nvalues for the sampling rate. A minimum rate lets the agent\ndesigner set an upper bound on the overhead associated with\nsampling, and a maximum rate may be the result of hardware\nrestrictions (such as counter size). In addition not all values\nbetween the maximum and minimum may be realizable as the\nsampling rate (again because of implementation considerations).\n\nWhen the sampling rate is set the agent is free to adjust the\nvalue so that it lies between the maximum and minimum values\n\n\n\nand has the closest achievable value.\n\nWhen read, the agent must return the actual sampling rate it\nwill be using (after the adjustments previously described). The\nsampling algorithm must converge so that over time the number\nof packets sampled approaches 1/Nth of the total number of\npackets in the monitored flows.") sFlowCounterSamplingInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 5), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowCounterSamplingInterval.setDescription("The maximum number of seconds between successive samples of the\ncounters associated with this data source. A sampling interval\nof 0 disables counter sampling.") sFlowMaximumHeaderSize = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 6), Integer32().clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowMaximumHeaderSize.setDescription("The maximum number of bytes that should be copied from a\nsampled packet. The agent may have an internal maximum and\nminimum permissible sizes. If an attempt is made to set this\nvalue outside the permissible range then the agent should\nadjust the value to the closest permissible value.") sFlowMaximumDatagramSize = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 7), Integer32().clone(1400)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowMaximumDatagramSize.setDescription("The maximum number of data bytes that can be sent in a single\nsample datagram. The manager should set this value to avoid\nfragmentation of the sFlow datagrams.") sFlowCollectorAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 8), InetAddressType().clone('ipv4')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowCollectorAddressType.setDescription("The type of sFlowCollectorAddress.") sFlowCollectorAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 9), InetAddress().clone('0.0.0.0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowCollectorAddress.setDescription("The IP address of the sFlow collector.\nIf set to 0.0.0.0 all sampling is disabled.") sFlowCollectorPort = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 10), Integer32().clone(6343)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowCollectorPort.setDescription("The destination port for sFlow datagrams.") sFlowDatagramVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 4300, 1, 1, 4, 1, 11), Integer32().clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sFlowDatagramVersion.setDescription("The version of sFlow datagrams that should be sent.\n\nWhen set to a value not support by the agent, the agent should\nadjust the value to the highest supported value less than the\nrequested value, or return an error if no such values exist.") sFlowMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 4300, 1, 2)) sFlowMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 4300, 1, 2, 1)) sFlowMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 4300, 1, 2, 2)) # Augmentions # Groups sFlowAgentGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4300, 1, 2, 1, 1)).setObjects(*(("SFLOW-MIB", "sFlowOwner"), ("SFLOW-MIB", "sFlowCollectorAddressType"), ("SFLOW-MIB", "sFlowDatagramVersion"), ("SFLOW-MIB", "sFlowMaximumHeaderSize"), ("SFLOW-MIB", "sFlowDataSource"), ("SFLOW-MIB", "sFlowMaximumDatagramSize"), ("SFLOW-MIB", "sFlowCollectorPort"), ("SFLOW-MIB", "sFlowCollectorAddress"), ("SFLOW-MIB", "sFlowTimeout"), ("SFLOW-MIB", "sFlowPacketSamplingRate"), ("SFLOW-MIB", "sFlowCounterSamplingInterval"), ("SFLOW-MIB", "sFlowAgentAddressType"), ("SFLOW-MIB", "sFlowVersion"), ("SFLOW-MIB", "sFlowAgentAddress"), ) ) if mibBuilder.loadTexts: sFlowAgentGroup.setDescription("A collection of objects for managing the generation and\ntransportation of sFlow data records.") # Compliances sFlowCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 4300, 1, 2, 2, 1)).setObjects(*(("SFLOW-MIB", "sFlowAgentGroup"), ) ) if mibBuilder.loadTexts: sFlowCompliance.setDescription("Compliance statements for the sFlow Agent.") # Exports # Module identity mibBuilder.exportSymbols("SFLOW-MIB", PYSNMP_MODULE_ID=sFlowMIB) # Objects mibBuilder.exportSymbols("SFLOW-MIB", sFlowMIB=sFlowMIB, sFlowAgent=sFlowAgent, sFlowVersion=sFlowVersion, sFlowAgentAddressType=sFlowAgentAddressType, sFlowAgentAddress=sFlowAgentAddress, sFlowTable=sFlowTable, sFlowEntry=sFlowEntry, sFlowDataSource=sFlowDataSource, sFlowOwner=sFlowOwner, sFlowTimeout=sFlowTimeout, sFlowPacketSamplingRate=sFlowPacketSamplingRate, sFlowCounterSamplingInterval=sFlowCounterSamplingInterval, sFlowMaximumHeaderSize=sFlowMaximumHeaderSize, sFlowMaximumDatagramSize=sFlowMaximumDatagramSize, sFlowCollectorAddressType=sFlowCollectorAddressType, sFlowCollectorAddress=sFlowCollectorAddress, sFlowCollectorPort=sFlowCollectorPort, sFlowDatagramVersion=sFlowDatagramVersion, sFlowMIBConformance=sFlowMIBConformance, sFlowMIBGroups=sFlowMIBGroups, sFlowMIBCompliances=sFlowMIBCompliances) # Groups mibBuilder.exportSymbols("SFLOW-MIB", sFlowAgentGroup=sFlowAgentGroup) # Compliances mibBuilder.exportSymbols("SFLOW-MIB", sFlowCompliance=sFlowCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SCSI-MIB.py0000644000014400001440000024575511736645137020221 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SCSI-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:36 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( AutonomousType, RowPointer, RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "RowPointer", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") # Types class ScsiDeviceOrPort(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,2,) namedValues = NamedValues(("device", 1), ("port", 2), ("other", 3), ) class ScsiHrSWInstalledIndexOrZero(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class ScsiIdAssociation(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,3) class ScsiIdCodeSet(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,15) class ScsiIdType(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,15) class ScsiIdValue(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class ScsiIdentifier(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,262) class ScsiIndexValue(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class ScsiIndexValueOrZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class ScsiLUN(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(2,2),ValueSizeConstraint(8,8),) class ScsiLuNameOrZero(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),) class ScsiName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,262) class ScsiPortIndexValueOrZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) # Objects scsiMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 139)).setRevisions(("2006-03-30 00:00",)) if mibBuilder.loadTexts: scsiMIB.setOrganization("IETF") if mibBuilder.loadTexts: scsiMIB.setContactInfo("\nMichele Hallak-Stamler\n\n\n\nSanrad Intelligent Network\n27 Habarzel Street\nTel Aviv, Israel\nPhone: +972 3 7674809\nE-mail: michele@sanrad.com\n\nYaron Lederman\nSiliquent Technologies Ltd.\n21 Etzel Street\nRamat Gan, Israel\nPhone: +972 54 5308833\nE-mail: yaronled@bezeqint.net\n\nMark Bakke\nPostal: Cisco Systems, Inc\n7900 International Drive, Suite 400\nBloomington, MN\nUSA 55425\nE-mail: mbakke@cisco.com\n\nMarjorie Krueger\nPostal: Hewlett-Packard\n8000 Foothills Blvd.\nRoseville, CA 95747\nE-mail: marjorie_krueger@hp.com\n\nKeith McCloghrie\nCisco Systems, Inc.\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134\nPhone: +1 408 526-5260\nE-mail: kzm@cisco.com") if mibBuilder.loadTexts: scsiMIB.setDescription("The SCSI MIB Module.\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4455; see the RFC\nitself for full legal notices.") scsiNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 0)) scsiNotificationsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 0, 0)) scsiAdmin = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 1)) scsiTransportTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 1, 1)) scsiTransportOther = ObjectIdentity((1, 3, 6, 1, 2, 1, 139, 1, 1, 1)) if mibBuilder.loadTexts: scsiTransportOther.setDescription("This identity identifies a transport that has no identity; it\nmight happen because the transport is unknown or might not\nhave been defined when this MIB module was created.") scsiTransportSPI = ObjectIdentity((1, 3, 6, 1, 2, 1, 139, 1, 1, 2)) if mibBuilder.loadTexts: scsiTransportSPI.setDescription("This identity identifies a parallel SCSI transport.") scsiTransportFCP = ObjectIdentity((1, 3, 6, 1, 2, 1, 139, 1, 1, 3)) if mibBuilder.loadTexts: scsiTransportFCP.setDescription("This identity identifies a Fibre Channel Protocol for SCSI,\nSecond Version.") scsiTransportSRP = ObjectIdentity((1, 3, 6, 1, 2, 1, 139, 1, 1, 4)) if mibBuilder.loadTexts: scsiTransportSRP.setDescription("This identity identifies a protocol for transporting SCSI over\nRemote Direct Memory Access (RDMA) interfaces, e.g., InfiniBand\n(tm).") scsiTransportISCSI = ObjectIdentity((1, 3, 6, 1, 2, 1, 139, 1, 1, 5)) if mibBuilder.loadTexts: scsiTransportISCSI.setDescription("This identity identifies an iSCSI transport.") scsiTransportSBP = ObjectIdentity((1, 3, 6, 1, 2, 1, 139, 1, 1, 6)) if mibBuilder.loadTexts: scsiTransportSBP.setDescription("This identity identifies the Serial Bus Protocol 3.") scsiTransportSAS = ObjectIdentity((1, 3, 6, 1, 2, 1, 139, 1, 1, 7)) if mibBuilder.loadTexts: scsiTransportSAS.setDescription("This identity identifies the Serial Attach SCSI Protocol.") scsiObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 2)) scsiGeneral = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 2, 1)) scsiInstanceTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 1, 1)) if mibBuilder.loadTexts: scsiInstanceTable.setDescription("A list of SCSI instances present on the system.\nThe SCSI instance is the top-level entity, to which everything\nelse belongs. An SNMP agent could represent more than one\ninstance if it represents either a stack of devices, or virtual\npartitions of a larger device, or a host running multiple SCSI\nimplementations from different vendors.") scsiInstanceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 1, 1, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex")) if mibBuilder.loadTexts: scsiInstanceEntry.setDescription("An entry (row) containing management information applicable to\na particular SCSI instance.") scsiInstIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 1, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiInstIndex.setDescription("This object represents an arbitrary integer used to uniquely\nidentify a particular SCSI instance.") scsiInstAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 79))).setMaxAccess("readwrite") if mibBuilder.loadTexts: scsiInstAlias.setDescription("This object represents an administrative string, configured by\nthe administrator. It can be a zero-length string.") scsiInstSoftwareIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 1, 1, 3), ScsiHrSWInstalledIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiInstSoftwareIndex.setDescription("If this management instance corresponds to an installed\nsoftware module, then this object's value is the value of the\nhrSWInstalledIndex of that module. If there is no\ncorrespondence to an installed software module (or no module\nthat has an hrSWInstalledIndex value), then the value of this\nobject is zero.") scsiInstVendorVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiInstVendorVersion.setDescription("This object represents a text string set by the manufacturer\ndescribing the version of this instance. The format of this\nstring is determined solely by the manufacturer and is for\ninformational purposes only. It is unrelated to the SCSI\nspecification version numbers.") scsiInstScsiNotificationsEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 1, 1, 5), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: scsiInstScsiNotificationsEnable.setDescription("This object indicates whether notifications defined in this\nMIB module will be generated.") scsiInstStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 1, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: scsiInstStorageType.setDescription("This object specifies the memory realization for\nthis SCSI entity.\nSpecifically, each row in the following tables:\n\n scsiIntrDevTable\n scsiDscTgtTable\n scsiAuthorizedIntrTable\n scsiLunMapTable\n\nhas a StorageType as specified by the instance of\nthis object that is INDEXed by the same value of\nscsiInstIndex.\nThis value of this object is also used to indicate\nthe persistence across reboots of writable values in\nits row of the scsiInstanceTable.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row,\nnor to any object belonging to a table whose entry is\nINDEXed by the same value of scsiInstIndex.") scsiDeviceTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 1, 2)) if mibBuilder.loadTexts: scsiDeviceTable.setDescription("A list of SCSI devices contained in each of the SCSI manageable\ninstances that this agent is reporting.") scsiDeviceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 1, 2, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex")) if mibBuilder.loadTexts: scsiDeviceEntry.setDescription("An entry (row) containing management information applicable to\na particular SCSI device included in this SCSI manageable\ninstance identifiable by the value of scsiInstIndex.") scsiDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 2, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiDeviceIndex.setDescription("This object is an arbitrary integer used to uniquely identify\na particular device within a particular SCSI instance.") scsiDeviceAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 79))).setMaxAccess("readwrite") if mibBuilder.loadTexts: scsiDeviceAlias.setDescription("This object contains an administrative name for this device.\nIf no name is assigned, the value of this object is the\nzero-length string.\nThe StorageType of this object is specified by the instance\nof scsiInstStorageType that is INDEXed by the same value of\nscsiInstIndex.") scsiDeviceRole = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 2, 1, 3), Bits().subtype(namedValues=NamedValues(("target", 0), ("initiator", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDeviceRole.setDescription("This object determines whether this device is acting as a\nSCSI initiator device, or as a SCSI target device, or as both.") scsiDevicePortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDevicePortNumber.setDescription("This object represents the number of ports contained in this\ndevice.") scsiPortTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 1, 3)) if mibBuilder.loadTexts: scsiPortTable.setDescription("A list of SCSI ports for each SCSI device in each instance.") scsiPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 1, 3, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiPortIndex")) if mibBuilder.loadTexts: scsiPortEntry.setDescription("An entry (row) containing management information applicable to\na particular SCSI port of a particular SCSI device in a\nparticular SCSI instance.") scsiPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 3, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiPortIndex.setDescription("An arbitrary integer used to uniquely identify a particular\nport of a given device within a particular SCSI instance.") scsiPortRole = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 3, 1, 2), Bits().subtype(namedValues=NamedValues(("target", 0), ("initiator", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiPortRole.setDescription("This object indicates whether this port is acting as a\nSCSI initiator port, or as a SCSI target port or as both.") scsiPortTransportPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 3, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiPortTransportPtr.setDescription("This object is a pointer to the corresponding row in the\nscsiTransportTable. This row contains information on the\ntransport such as transport type and port name.") scsiPortBusyStatuses = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiPortBusyStatuses.setDescription("This object represents the number of port busy statuses sent or\nreceived by this port. Note: Initiator ports only receive busy\nstatus and SCSI target ports only send busy status.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiTransportTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 1, 5)) if mibBuilder.loadTexts: scsiTransportTable.setDescription("This table contains the device transport-specific information\nfor each transport connected to each device in\nscsiDeviceTable.") scsiTransportEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 1, 5, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiTransportIndex")) if mibBuilder.loadTexts: scsiTransportEntry.setDescription("An entry (row) containing parameters applicable to a transport\nused by a particular device of a particular SCSI manageable\ninstance.") scsiTransportIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 5, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiTransportIndex.setDescription("An arbitrary integer used to uniquely identify a particular\ntransport within a given device within a particular SCSI\ninstance.") scsiTransportType = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 5, 1, 2), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTransportType.setDescription("This object identifies the transport type of this row of the\ntransport table. For example, if this object has the value\nscsiTransportFCP, then the identified transport is FCP.") scsiTransportPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 5, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTransportPointer.setDescription("This object represents a pointer to a conceptual row in a\n'transport' MIB module allowing a manager to get useful\ninformation for the transport described by this entry.\nFor example, if the transport of this device is iSCSI, this\nobject will point to the iSCSI Instance of the iSCSI MIB\nmodule.\nIf there is no MIB for this transport, this object has the\nvalue 0.0.") scsiTransportDevName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 1, 5, 1, 4), ScsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTransportDevName.setDescription("This object represents the name of this device in one of the\nformat(s) appropriate for this type of transport.") scsiInitiatorDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 2, 2)) scsiIntrDevTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 2, 1)) if mibBuilder.loadTexts: scsiIntrDevTable.setDescription("This table contains information for each local SCSI initiator\ndevice in each instance.") scsiIntrDevEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 2, 1, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex")) if mibBuilder.loadTexts: scsiIntrDevEntry.setDescription("An entry (row) containing information applicable to a SCSI\ninitiator device within a particular SCSI instance.") scsiIntrDevTgtAccessMode = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("autoEnable", 2), ("manualEnable", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: scsiIntrDevTgtAccessMode.setDescription("This object controls whether or not a discovered SCSI target\ndevice is immediately authorized:\n - autoEnable (2) means that when a SCSI initiator device\n discovers a SCSI target device, it can use it immediately.\n - manualEnable (3) means that the SCSI initiator device\n must wait for an operator to set scsiIntrDscTgtConfigured\n = true before it is authorized.\nThe StorageType of this object is specified by the instance\nof scsiInstStorageType that is INDEXed by the same value of\nscsiInstIndex.") scsiIntrDevOutResets = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiIntrDevOutResets.setDescription("This object represents the total number of times that this SCSI\ninitiator device has issued\n- a LOGICAL UNIT RESET or TARGET RESET task management request,\n or\n- any other SCSI transport protocol-specific action or event\n that causes a Logical Unit Reset or a Hard Reset at one or\n more SCSI target ports ([SAM2] chapters 5.9.6, 5.9.7).\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiIntrPortTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 2, 2)) if mibBuilder.loadTexts: scsiIntrPortTable.setDescription("This table contains all the SCSI initiator ports for each\nlocal SCSI initiator or target/initiator devices in each SCSI\ninstance.") scsiIntrPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 2, 2, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiPortIndex")) if mibBuilder.loadTexts: scsiIntrPortEntry.setDescription("An entry (row) containing information applicable to a\nparticular SCSI initiator port of a particular SCSI device\nwithin a SCSI instance.") scsiIntrPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 2, 1, 1), ScsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiIntrPortName.setDescription("This object represents the name of the port assigned for use\nby the SCSI protocol. The format will depend on the type of\ntransport this port is using.") scsiIntrPortIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 2, 1, 2), ScsiIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiIntrPortIdentifier.setDescription("This object represents the identifier of the port in one of\nthe format(s) appropriate for the type of transport in use.") scsiIntrPortOutCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiIntrPortOutCommands.setDescription("This object represents the number of commands sent by this\nSCSI initiator port.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiIntrPortWrittenMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiIntrPortWrittenMegaBytes.setDescription("This object represents the amount of data in megabytes sent\nby this SCSI initiator port.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiIntrPortReadMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiIntrPortReadMegaBytes.setDescription("This object represents the amount of data in megabytes\nreceived by this SCSI initiator port.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiIntrPortHSOutCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiIntrPortHSOutCommands.setDescription("This object represents the number of commands sent by this\nSCSI initiator port. This object provides support for systems\nthat can quickly generate a large number of commands because\nthey run at high speed.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiRemoteTgtDev = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 2, 2, 3)) scsiDscTgtTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1)) if mibBuilder.loadTexts: scsiDscTgtTable.setDescription("This table includes all the remote (not in the local system)\nSCSI target ports that are authorized to attach to each local\nSCSI initiator port of this SCSI instance.") scsiDscTgtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiDscTgtIntrPortIndex"), (0, "SCSI-MIB", "scsiDscTgtIndex")) if mibBuilder.loadTexts: scsiDscTgtEntry.setDescription("Each entry (row) contains information about the SCSI target\ndevice or port to which this SCSI initiator port (or all SCSI\ninitiator ports in the SCSI initiator entry indexed by\nscsiInstIndex, scsiDeviceIndex) will attempt to attach. The\nentry is either for all local ports (if scsiDscTgtIntrPortIndex\nis zero) or only for the specific SCSI initiator port\nidentified by scsiDscTgtIntrPortIndex. Note that if an entry in\nthis table is deleted, any corresponding entries in the\nscsiDscLunsTable must be deleted as well.\nThe StorageType of a row in this table is specified by the\ninstance of scsiInstStorageType that is INDEXed by the same\nvalue of scsiInstIndex.") scsiDscTgtIntrPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 1), ScsiPortIndexValueOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiDscTgtIntrPortIndex.setDescription("This object relates to a particular local device within a\nparticular SCSI instance and specifies\n- the index of the local SCSI initiator port,\n- or zero, if this entry refers to the local device and\ntherefore refers to all the local SCSI initiator ports.") scsiDscTgtIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 2), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiDscTgtIndex.setDescription("This object is an arbitrary integer used to uniquely identify\na particular SCSI target device either discovered by, or\nconfigured for use with, one or more ports scsiDscTgtName of\na particular device within a particular SCSI instance.") scsiDscTgtDevOrPort = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 3), ScsiDeviceOrPort()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiDscTgtDevOrPort.setDescription("This object indicates whether this entry describes a\nconfigured SCSI target device name (and applies to all ports\non the identified SCSI target device) or an individual SCSI\ntarget port.") scsiDscTgtName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 4), ScsiName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiDscTgtName.setDescription("This object represents the name of this configured or\ndiscovered SCSI target device or port depending on the value\nof scsiDscTgtDevOrPort.") scsiDscTgtConfigured = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 5), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiDscTgtConfigured.setDescription("This object means\n-true(1): this entry has been configured by an administrator.\n-false(2): this entry has been added from a discovery\nmechanism (e.g., SendTargets, SLP, iSNS).\nAn administrator can modify this value from false to true.") scsiDscTgtDiscovered = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscTgtDiscovered.setDescription("This object means\n-true(1): this entry has been discovered by the SCSI instance\nas result of an automatic discovery process.\n-false(2):this entry has been added by manual configuration.\nThis entry is read-only because an administrator cannot change\nit.\nNote that it is an implementation decision to determine how\nlong to retain a row with configured=false, such as when the\nSCSI target device is no longer visible/accessible to the local\nSCSI initiator device.") scsiDscTgtInCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscTgtInCommands.setDescription("This object represents the number of commands received from\nthis SCSI target port or device.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiDscTgtLastCreation.") scsiDscTgtWrittenMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscTgtWrittenMegaBytes.setDescription("This object represents the amount of megabytes of data sent as\nthe result of WRITE commands to this SCSI target port or device.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiDscTgtLastCreation.") scsiDscTgtReadMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscTgtReadMegaBytes.setDescription("This object represents the amount of megabytes received as the\nresult of READ commands to this SCSI target port or device.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiDscTgtLastCreation.") scsiDscTgtHSInCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscTgtHSInCommands.setDescription("This object represents the number of commands received by this\nSCSI target port or device. This object provides support for\nsystem that can quickly generate a large number of commands\nbecause they run at high speed.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiDscTgtLastCreation.") scsiDscTgtLastCreation = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscTgtLastCreation.setDescription("This object represents the value of sysUpTime when this row\nwas created.") scsiDscTgtRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiDscTgtRowStatus.setDescription("This object allows an administrator to configure dynamically a\nnew entry in this table via SNMP or eventually delete it.\nAn administrator is not allowed to delete an entry for which\nthe value of the object scsiIntrDscTgtDiscovered is equal to\ntrue.\nNote that when an entry in this table is deleted, then any\ncorresponding entries in the scsiDscLunsTable must also be\nautomatically deleted.\n\nA newly created row cannot be made active until a value has\nbeen set for scsiDscTgtName. In this case, the value of the\ncorresponding instance of the scsiDscTgtRowStatus column will\nstay 'notReady'.\nThe RowStatus TC [RFC2579] requires that this DESCRIPTION\nclause states under which circumstances other objects in this\nrow can be modified:\nThe value of this object has no effect on whether other objects\nin this conceptual row can be modified.") scsiDscLunTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 2)) if mibBuilder.loadTexts: scsiDscLunTable.setDescription("This table includes all the remote (not in the local system)\nlogical unit numbers (LUNs) discovered via each local SCSI\ninitiator port of each local device within a particular SCSI\ninstance.") scsiDscLunEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 2, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiDscTgtIntrPortIndex"), (0, "SCSI-MIB", "scsiDscTgtIndex"), (0, "SCSI-MIB", "scsiDscLunIndex")) if mibBuilder.loadTexts: scsiDscLunEntry.setDescription("An entry (row) represents a discovered LUN at a particular\nSCSI target device (scsiDscTgtIndex), where the LUN was\ndiscovered by a particular local SCSI initiator device within a\nparticular SCSI instance, possibly via a particular local\nSCSI initiator port.\nNote that when an entry in the scsiDscTgtTable is deleted,\nall corresponding entries in this table should automatically be\ndeleted.") scsiDscLunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 2, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiDscLunIndex.setDescription("This object is an arbitrary integer used to uniquely identify\na particular LUN discovered by a particular SCSI initiator port\nor a particular SCSI initiator device within a particular SCSI\ninstance.\nEntries in the scsiDscLunIdTable are associated with a LUN by\nhaving the value of this object in their INDEX.") scsiDscLunLun = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 2, 1, 2), ScsiLUN()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscLunLun.setDescription("This object contains the Logical Unit Number (LUN) of the\ndiscovered logical unit.") scsiDscLunIdTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 3)) if mibBuilder.loadTexts: scsiDscLunIdTable.setDescription("This table includes all the known LU identifiers of the remote\n(not in the local system) logical units discovered via each\nlocal SCSI initiator port or device of this SCSI instance.") scsiDscLunIdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 3, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiDscTgtIntrPortIndex"), (0, "SCSI-MIB", "scsiDscTgtIndex"), (0, "SCSI-MIB", "scsiDscLunIndex"), (0, "SCSI-MIB", "scsiDscLunIdIndex")) if mibBuilder.loadTexts: scsiDscLunIdEntry.setDescription("An entry (row) represents the LU identifier of a discovered\nLUN at a particular SCSI target device (scsiDscTgtIndex), where\nthe LUN was discovered by a particular local SCSI initiator\ndevice within a particular SCSI instance, possibly via a\nparticular local SCSI initiator port.") scsiDscLunIdIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 3, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiDscLunIdIndex.setDescription("This object is an arbitrary integer used to uniquely identify\na particular LUN identifier discovered by each SCSI initiator\ndevice or particular SCSI initiator port within a particular\nSCSI instance.") scsiDscLunIdCodeSet = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 3, 1, 2), ScsiIdCodeSet()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscLunIdCodeSet.setDescription("This object specifies the code set in use with this\nidentifier. The value is represented in the same format as\nis contained in the identifier's Identification Descriptor\nwithin the logical unit's Device Identification Page.") scsiDscLunIdAssociation = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 3, 1, 3), ScsiIdAssociation()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscLunIdAssociation.setDescription("This object specifies what the identifier is associated with\n(e.g., with the addressed physical/logical device or with a\nparticular port). The value is represented in the same format\nas is contained in the identifier's Identification Descriptor\nwithin the logical unit's Device Identification Page.") scsiDscLunIdType = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 3, 1, 4), ScsiIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscLunIdType.setDescription("This object specifies the type of the identifier.\nThe value is represented in the same format as is contained in\nthe identifier's Identification Descriptor within the logical\nunit's Device Identification Page.") scsiDscLunIdValue = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 3, 1, 5), ScsiIdValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiDscLunIdValue.setDescription("This object represents the actual value of this identifier.\nThe format is defined by the objects scsiDscLunIdCodeSet,\nscsiDscLunIdAssociation, scsiDscLunIdType.\nThe value is represented in the same format as is contained in\nthe identifier's Identification Descriptor within the logical\nunit's Device Identification Page.") scsiAttTgtPortTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 4)) if mibBuilder.loadTexts: scsiAttTgtPortTable.setDescription("This table includes all the remote (not in the local system)\nSCSI target ports that are currently attached to each local\nSCSI initiator port of this SCSI instance.") scsiAttTgtPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 4, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiPortIndex"), (0, "SCSI-MIB", "scsiAttTgtPortIndex")) if mibBuilder.loadTexts: scsiAttTgtPortEntry.setDescription("An entry (row) represents a remote SCSI target port\n(scsiAttTgtPortIndex) currently attached to a particular\nSCSI initiator port (scsiPortIndex) of a particular SCSI\ninitiator device within a particular SCSI instance.") scsiAttTgtPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 4, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiAttTgtPortIndex.setDescription("An arbitrary integer used to uniquely identify a particular\nSCSI target currently attached to a particular SCSI initiator\nport of a particular SCSI initiator device within a particular\nSCSI instance.") scsiAttTgtPortDscTgtIdx = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 4, 1, 2), ScsiIndexValueOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAttTgtPortDscTgtIdx.setDescription("This object contains the value of the scsiDscTgtIntrPortIndex\nindex variable for the row in the scsiDscTgtTable representing\nthis currently attached SCSI target port. If the currently\nattached SCSI target port is not represented in the\nscsiDscTgtTable, then the value of this object is zero.") scsiAttTgtPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 4, 1, 3), ScsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAttTgtPortName.setDescription("This object contains the name of the attached SCSI target\nport.") scsiAttTgtPortIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 2, 3, 4, 1, 4), ScsiIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAttTgtPortIdentifier.setDescription("This object contains the identifier of the attached SCSI\ntarget port.") scsiTargetDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 2, 3)) scsiTgtDevTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 3, 1)) if mibBuilder.loadTexts: scsiTgtDevTable.setDescription("This table contains information about each local SCSI target\ndevice.") scsiTgtDevEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 3, 1, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex")) if mibBuilder.loadTexts: scsiTgtDevEntry.setDescription("An entry (row) containing information applicable to a\nparticular local SCSI target device within a particular SCSI\ninstance.") scsiTgtDevNumberOfLUs = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 1, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtDevNumberOfLUs.setDescription("This object is the number of logical units accessible via this\nlocal SCSI target device.") scsiTgtDeviceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,6,7,1,8,5,)).subtype(namedValues=NamedValues(("unknown", 1), ("available", 2), ("broken", 3), ("readying", 4), ("abnormal", 5), ("nonAddrFailure", 6), ("nonAddrFailReadying", 7), ("nonAddrFailAbnormal", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtDeviceStatus.setDescription("This object represents the status of this SCSI device,\nsummarizing the state of both the addressable devices (i.e.,\nthe logical units) and the non-addressable devices within this\nSCSI device:\n - unknown(1): This value is used when the status cannot be\n determined\n - available(2): All addressable and non-addressable\n devices within the SCSI device are fully operational (i.e.,\n no logical units have an abnormal status).\n - broken(3): The SCSI device is not operational and cannot\n be made operational without external intervention.\n - readying(4): One or more logical units within the SCSI\n device are being initialized and access to the SCSI device\n is temporarily limited (i.e., one or more of the logical\n units have a readying status).\n - abnormal(5): One or more addressable devices within the\n SCSI device are indicating a status other than available;\n nevertheless, the SCSI device is operational (i.e., one or\n more of the logical units have an abnormal status).\n - nonAddrFailure(6): One or more non-addressable devices\n within the SCSI device have failed; nevertheless, the SCSI\n device is operational (i.e., no logical units have an\n abnormal or readying status).\n\n\n\n - nonAddrFailReadying(7): One or more non-addressable\n devices within the SCSI device have failed; nevertheless,\n one or more logical units within the SCSI device are being\n initialized and access to the SCSI device is temporarily\n limited.\n - nonAddrFailAbnormal(8): One or more non-addressable\n devices within the SCSI device have failed and one or more\n addressable devices within the SCSI device are indicating a\n status other than available; however, the SCSI device is\n operational.") scsiTgtDevNonAccessibleLUs = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtDevNonAccessibleLUs.setDescription("This object is the number of logical units existing but not\ncurrently accessible via this local SCSI target device.") scsiTgtDevResets = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtDevResets.setDescription("This object counts the number of hard resets encountered\nby this SCSI target device.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiTgtPortTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 3, 2)) if mibBuilder.loadTexts: scsiTgtPortTable.setDescription("This table includes all the local SCSI target ports of all the\nlocal SCSI target devices.") scsiTgtPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 3, 2, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiPortIndex")) if mibBuilder.loadTexts: scsiTgtPortEntry.setDescription("An entry (row) containing information applicable to a\nparticular local SCSI target port of a particular local SCSI\ntarget device within a particular SCSI instance.") scsiTgtPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 2, 1, 1), ScsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtPortName.setDescription("This object represents the name of the port assigned for use\nin the SCSI protocol.") scsiTgtPortIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 2, 1, 2), ScsiIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtPortIdentifier.setDescription("This object represents the identifier of the port in one of\nthe format(s) appropriate for the type of transport.") scsiTgtPortInCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtPortInCommands.setDescription("This object represents the number of commands received by this\nSCSI target port.\n\n\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiTgtPortWrittenMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtPortWrittenMegaBytes.setDescription("This object represents the amount of data written in megabytes\nby this SCSI target port.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiTgtPortReadMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtPortReadMegaBytes.setDescription("This object represents the amount of data read in megabytes by\nthis SCSI target port.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiTgtPortHSInCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiTgtPortHSInCommands.setDescription("This object represents the number of commands received. This\nobject provides support for systems that can quickly generate a\nlarge number of commands because they run at high speed.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system.") scsiRemoteIntrDev = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 2, 3, 3)) scsiAuthorizedIntrTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1)) if mibBuilder.loadTexts: scsiAuthorizedIntrTable.setDescription("This table includes all the authorized SCSI initiator devices\nor ports that may attach a SCSI target device\n(ScsiAuthIntrTgtPortIndex = 0) or port (ScsiAuthIntrTgtPortIndex\ndifferent than 0) of the local SCSI instance. Statistics are\nkept for each such authorization; thus, the authorizations\nshould be configured in the manner that will cause the desired\nset of statistics to be collected and that will determine the\ncorrect LUN map.") scsiAuthorizedIntrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiAuthIntrTgtPortIndex"), (0, "SCSI-MIB", "scsiAuthIntrIndex")) if mibBuilder.loadTexts: scsiAuthorizedIntrEntry.setDescription("An entry (row) represents a remote SCSI initiator port or\nremote SCSI initiator device that may attach to the local SCSI\ntarget port or device within a particular SCSI instance.\nThe StorageType of a row in this table is specified by the\ninstance of scsiInstStorageType that is INDEXed by the same\nvalue of scsiInstIndex.") scsiAuthIntrTgtPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 1), ScsiPortIndexValueOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiAuthIntrTgtPortIndex.setDescription("This object contains either the index of the port or zero, to\nindicate any port, on the particular local SCSI target device.") scsiAuthIntrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 2), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiAuthIntrIndex.setDescription("This object is an arbitrary integer used to uniquely identify\na SCSI initiator device or port that is authorized to attach\nto a particular local SCSI target device or port of a particular\nSCSI instance.") scsiAuthIntrDevOrPort = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 3), ScsiDeviceOrPort()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiAuthIntrDevOrPort.setDescription("This object specifies whether this entry refers to a remote\nSCSI initiator port or to a SCSI initiator device.\nA value of device(1) means that the authorized remote initiator\nis a SCSI initiator device and includes all of its ports.\nA value of port(2) means that the authorized remote initiator\nis a SCSI initiator port.") scsiAuthIntrName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 4), ScsiName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiAuthIntrName.setDescription("This object represents the name of the remote SCSI initiator\ndevice or port authorized by this row.") scsiAuthIntrLunMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 5), ScsiIndexValueOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiAuthIntrLunMapIndex.setDescription("This object identifies the set of entries in the\nscsiLunMapTable for which scsiLunMapIndex has the same value as\nthe value of this object. The identified set of entries\n\n\n\nconstitutes the LUN map to be used for accessing logical units\nwhen the remote SCSI initiator port or device corresponding to\nthis entry is attached to any local SCSI target port or device\ncorresponding to this entry.\nNote that this object has a value of zero if this entry should\nuse the default LUN map.") scsiAuthIntrAttachedTimes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAuthIntrAttachedTimes.setDescription("This object indicates the number of times that this remote\nSCSI initiator device or port has transitioned from unattached\nto attached to this local SCSI target device or port.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiAuthIntrLastCreation.") scsiAuthIntrOutCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAuthIntrOutCommands.setDescription("This object indicates the number of commands that the remote\nSCSI initiator device or port corresponding to this entry has\nsent to the local SCSI target device or port corresponding to\nthis entry.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiAuthIntrLastCreation.") scsiAuthIntrReadMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAuthIntrReadMegaBytes.setDescription("This object indicates the amount of data in megabytes that\nthe remote SCSI initiator device or port corresponding to this\nentry has read from the local SCSI target device or port\ncorresponding to this entry.\nDiscontinuities in the value of this counter can occur at re-\n\n\n\ninitialization of the management system, and at other times as\nindicated by the value of scsiAuthIntrLastCreation.") scsiAuthIntrWrittenMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAuthIntrWrittenMegaBytes.setDescription("This object indicates the amount of data in megabytes that the\nremote SCSI initiator device or port corresponding to this\nentry has written to the local SCSI target device or port\ncorresponding to this entry.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiAuthIntrLastCreation.") scsiAuthIntrHSOutCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAuthIntrHSOutCommands.setDescription("This object represents the number of commands sent by the\nremote SCSI initiator device or port corresponding to this\nentry to the local SCSI target device or port corresponding to\nthis entry. This object provides support for systems that can\nquickly generate a large number of commands because they run at\nhigh speed.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiAuthIntrLastCreation.") scsiAuthIntrLastCreation = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAuthIntrLastCreation.setDescription("This object indicates the value of sysUpTime when this row was\nlast created.") scsiAuthIntrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiAuthIntrRowStatus.setDescription("This object allows an administrator to create or delete this\nentry.\nA newly created row cannot be made active until a value has\nbeen set for scsiAuthIntrName. In this case, the value of the\ncorresponding instance of the scsiAuthIntrRowStatus column will\nstay 'notReady'.\nThe RowStatus TC [RFC2579] requires that this DESCRIPTION\nclause states under which circumstances other objects in this\nrow can be modified:\nThe value of this object has no effect on whether other objects\nin this conceptual row can be modified.") scsiAttIntrPortTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 2)) if mibBuilder.loadTexts: scsiAttIntrPortTable.setDescription("This table includes all the remote SCSI initiator ports that\nare currently attached to a local SCSI target port of all local\ndevices within all SCSI instances.") scsiAttIntrPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 2, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiPortIndex"), (0, "SCSI-MIB", "scsiAttIntrPortIndex")) if mibBuilder.loadTexts: scsiAttIntrPortEntry.setDescription("An entry (row) represents a remote SCSI initiator port\ncurrently attached to a particular local SCSI target port of a\nparticular SCSI target device of a particular SCSI instance.") scsiAttIntrPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 2, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiAttIntrPortIndex.setDescription("This object represents an arbitrary integer used to uniquely\nidentify a particular attached remote initiator port to a\nparticular SCSI target port within a particular SCSI target\ndevice within a particular SCSI instance.") scsiAttIntrPortAuthIntrIdx = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 2, 1, 2), ScsiIndexValueOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAttIntrPortAuthIntrIdx.setDescription("This object is the corresponding index in the\nscsiAuthorizedIntrTable for this current attached remote\nSCSI initiator device or zero if this remote attached SCSI\ninitiator device is not configured in that table.") scsiAttIntrPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 2, 1, 3), ScsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAttIntrPortName.setDescription("This object represents the name of the remote SCSI initiator\ndevice attached to this local SCSI target port.") scsiAttIntrPortIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 3, 3, 2, 1, 4), ScsiIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiAttIntrPortIdentifier.setDescription("This object represents the identifier of the remote SCSI\ninitiator device attached to this local SCSI target port.") scsiLogicalUnit = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 2, 4)) scsiLuTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 4, 1)) if mibBuilder.loadTexts: scsiLuTable.setDescription("This table contains the logical units exposed by local SCSI\ntarget devices.\n\n\n\nIt includes attributes for the World Wide Name (WWN),\nscsiLuVendorId, scsiLuProductId, and scsiLuRevisionId, which may\nalso appear in the scsiLuIdTable. If an implementation exposes\na WWN as a LuIdTable entry, it must match the scsiLuWwnName in\nthis table. If an implementation exposes a (vendor, product,\nrevision) identifier as an LuIdTable entry, each of these fields\nmust match the scsiLuVendorId, scsiLuProductId, and\nscsiLuRevisionId attributes in this table.") scsiLuEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiLuIndex")) if mibBuilder.loadTexts: scsiLuEntry.setDescription("An entry (row) contains information applicable to a particular\nlogical unit of a particular local SCSI target device within a\nparticular SCSI instance.") scsiLuIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiLuIndex.setDescription("This object represents an arbitrary integer used to uniquely\nidentify a particular logical unit within a particular SCSI\ntarget device within a particular SCSI instance.") scsiLuDefaultLun = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 2), ScsiLUN()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuDefaultLun.setDescription("This object represents the default Logical Unit Number (LUN)\nfor this logical unit; if a SCSI initiator device has not been\nconfigured to view this logical unit via an entry in the\nScsiLunMapTable, the LU will be visible as scsiLuDefaultLun.\nIf this logical unit does not have a default LUN, it will only\nbe visible if specified via the ScsiLunMapTable, and this\nobject will contain a zero-length string.") scsiLuWwnName = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 3), ScsiLuNameOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuWwnName.setDescription("This object represents the World Wide Name of this LU that is\nthe device identifier of the Vital Product Data (VPD) page name;\nif there is no WWN for this LU, this object will contain a\nzero-length string. If there is more than one identifier, they\nwill be listed in the scsiLuIdTable and this object will contain\na zero-length string.") scsiLuVendorId = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuVendorId.setDescription("This object represents a string identifying the vendor of this\nLU as reported in the Standard INQUIRY data.") scsiLuProductId = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuProductId.setDescription("This object represents a string identifying the product for\nthis LU as reported in the Standard INQUIRY data.") scsiLuRevisionId = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuRevisionId.setDescription("This object represents a string defining the product revision\nof this LU as reported in the Standard INQUIRY data.") scsiLuPeripheralType = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuPeripheralType.setDescription("This object is the value returned by SCSI Standard INQUIRY\ndata. It can be: direct-access device, sequential-access\ndevice, printer, communication device and so on.\nThe values that can be returned here are defined in SCSI\nPrimary Commands -2.") scsiLuStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,6,4,5,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("available", 2), ("notAvailable", 3), ("broken", 4), ("readying", 5), ("abnormal", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuStatus.setDescription("This object represents the status of this logical unit:\n- unknown(1): The status of this logical unit cannot be\ndetermined.\n- available(2): The logical unit is fully operational (i.e.,\naccepts media access SCSI commands and has no state\ninformation to report).\n- notAvailable(3): The logical unit is capable of being\nsupported but is not available (i.e., no logical unit is\ncurrently present or the logical unit is present but not\nconfigured for use).\n- broken(4): The logical unit has failed and cannot respond\nto SCSI commands.\n- readying(5): The logical unit is being initialized and\n\n\n\naccess is temporarily limited.\n- abnormal(6): The logical unit has state information\navailable that indicates it is operating with limits. The\nscsiLuState indicates what those limits are.") scsiLuState = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 9), Bits().subtype(namedValues=NamedValues(("dataLost", 0), ("dynamicReconfigurationInProgress", 1), ("verifyInProgress", 10), ("exposed", 2), ("fractionallyExposed", 3), ("partiallyExposed", 4), ("protectedRebuild", 5), ("protectionDisabled", 6), ("rebuild", 7), ("recalculate", 8), ("spareInUse", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuState.setDescription("This object represents the state of a logical unit and its\nmeaning according to the bit position:\n 0 Data lost: Within the logical unit data has been lost.\n 1 Dynamic reconfiguration in progress: The logical unit is\n being reconfigured. In this state all data is still\n protected.\n 2 Exposed: Within the logical unit data is not protected.\n In this state all data is still valid; however, loss\n of data or data availability is unavoidable in the\n event of a failure.\n 3 Fractionally exposed: Within the logical unit part of\n the data is not protected. In this state all data is\n still valid; however, a failure may cause a loss of\n data or a loss of data availability.\n 4 Partially exposed: Within the logical unit one or more\n underlying storage devices have failed. In this state\n all data is still protected.\n 5 Protected rebuild: The logical unit is in the process of\n a rebuild operation. In this state all data is\n protected.\n 6 Protection disabled: Within the logical unit the data\n\n\n\n protection method has been disabled.\n In this state all data is still valid; however,\n loss of data or data availability is unavoidable\n in the event of a failure.\n 7 Rebuild: The data protection method is in the process of\n rebuilding data. In this state data is not protected.\n 8 Recalculate: The logical unit is in the process of a\n recalculate operation.\n 9 Spare in use: Within the logical unit a storage device\n in full or part is being used to store data. In this\n state all data is still protected.\n 10 Verify in progress: Within the logical unit data is\n being verified.") scsiLuInCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuInCommands.setDescription("This object represents the number of commands received by this\nlogical unit.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiLuLastCreation.") scsiLuReadMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuReadMegaBytes.setDescription("This object represents the amount of data in megabytes read\nfrom this logical unit.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiLuLastCreation.") scsiLuWrittenMegaBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuWrittenMegaBytes.setDescription("This object represents the amount of data in megabytes written\nto this logical unit.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiLuLastCreation.") scsiLuInResets = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuInResets.setDescription("This object represents the number of times that this logical\nunit received\n- a LOGICAL UNIT RESET or TARGET RESET task management request,\nor\n- any other SCSI transport protocol-specific action or event\nthat causes a Logical Unit Reset or a Hard Reset at a SCSI\ntarget port of the containing device\n([SAM2] Chapters 5.9.6, 5.9.7).\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiLuLastCreation.") scsiLuOutTaskSetFullStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuOutTaskSetFullStatus.setDescription("This object represents the number of Task Set full statuses\nissued for this logical unit.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiLuLastCreation.") scsiLuHSInCommands = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuHSInCommands.setDescription("This object represents the number of commands received by this\nlogical unit. This object provides support for systems that can\nquickly generate a large number of commands because they run at\nhigh speed.\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of scsiLuLastCreation.") scsiLuLastCreation = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 1, 1, 16), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuLastCreation.setDescription("This object indicates the value of sysUpTime when this row was\nlast created.") scsiLuIdTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 4, 2)) if mibBuilder.loadTexts: scsiLuIdTable.setDescription("A table of identifiers for all logical units exposed by the\nlocal SCSI target device.") scsiLuIdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 4, 2, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiLuIndex"), (0, "SCSI-MIB", "scsiLuIdIndex")) if mibBuilder.loadTexts: scsiLuIdEntry.setDescription("An entry (row) containing information applicable to a\nparticular identifier for a particular logical unit of a\nparticular SCSI target device within a particular SCSI\ninstance.") scsiLuIdIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 2, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiLuIdIndex.setDescription("This object represents an arbitrary integer used to uniquely\nidentify a particular LU identifier within a particular logical\nunit within a particular SCSI target device within a particular\nSCSI instance.") scsiLuIdCodeSet = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 2, 1, 2), ScsiIdCodeSet()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuIdCodeSet.setDescription("This object specifies the code set in use with this\nidentifier. The value is represented in the same format as is\ncontained in the identifier's Identification Descriptor within\nthe logical unit's Device Identification Page.") scsiLuIdAssociation = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 2, 1, 3), ScsiIdAssociation()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuIdAssociation.setDescription("This object specifies what the identifier is associated with\n(e.g., with the addressed physical/logical device or with a\nparticular port). The value is represented in the same format\nas is contained in the identifier's Identification Descriptor\nwithin the logical unit's Device Identification Page.") scsiLuIdType = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 2, 1, 4), ScsiIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuIdType.setDescription("This object specifies the type of the identifier.\n\n\n\nThe value is represented in the same format as is contained in\nthe identifier's Identification Descriptor within the logical\nunit's Device Identification Page.") scsiLuIdValue = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 2, 1, 5), ScsiIdValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: scsiLuIdValue.setDescription("This object represents the actual value of this identifier.\nThe format is defined by the objects scsiLuIdCodeSet,\nscsiLuIdAssociation, scsiLuIdType.\nThe value is represented in the same format as is contained in\nthe identifier's Identification Descriptor within the logical\nunit's Device Identification Page.") scsiLunMapTable = MibTable((1, 3, 6, 1, 2, 1, 139, 2, 4, 3)) if mibBuilder.loadTexts: scsiLunMapTable.setDescription("This table provides the ability to present a logical unit\nusing different Logical Unit Numbers for different SCSI\ninitiator devices.\nThis table provides a mapping between a logical unit and a\nLogical Unit Number, and can be referenced by a\nScsiAuthorizedIntrEntry to specify the LUN map for that\ninitiator.") scsiLunMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 139, 2, 4, 3, 1)).setIndexNames((0, "SCSI-MIB", "scsiInstIndex"), (0, "SCSI-MIB", "scsiDeviceIndex"), (0, "SCSI-MIB", "scsiLunMapIndex"), (0, "SCSI-MIB", "scsiLunMapLun")) if mibBuilder.loadTexts: scsiLunMapEntry.setDescription("An entry containing information about the mapping of a\n\n\n\nparticular logical unit to a particular LUN. The set of\nentries that all have the same values of scsiInstIndex,\nscsiDeviceIndex and scsiLunMapIndex constitutes a LUN map\nwithin a particular SCSI instance.\nThe StorageType of a row in this table is specified by\nthe instance of scsiInstStorageType that is INDEX-ed by\nthe same value of scsiInstIndex.") scsiLunMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 3, 1, 1), ScsiIndexValue()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiLunMapIndex.setDescription("This object represents an arbitrary integer used to uniquely\nidentify a particular LunMap within a particular SCSI target\ndevice within a particular SCSI instance.") scsiLunMapLun = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 3, 1, 2), ScsiLUN()).setMaxAccess("noaccess") if mibBuilder.loadTexts: scsiLunMapLun.setDescription("This object specifies the Logical Unit Number, to which a\nlogical unit is mapped by this row.") scsiLunMapLuIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 3, 1, 3), ScsiIndexValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiLunMapLuIndex.setDescription("This object identifies the logical unit for which the value of\nscsiLuIndex is the same as the value of this object. The\nidentified logical unit is the one mapped to a LUN by this\nrow.") scsiLunMapRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 139, 2, 4, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: scsiLunMapRowStatus.setDescription("This object allows an administrator to create and delete this\nentry.") scsiConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 3)) scsiCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 3, 1)) scsiGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 139, 3, 2)) # Augmentions # Notifications scsiTgtDeviceStatusChanged = NotificationType((1, 3, 6, 1, 2, 1, 139, 0, 0, 1)).setObjects(*(("SCSI-MIB", "scsiTgtDeviceStatus"), ) ) if mibBuilder.loadTexts: scsiTgtDeviceStatusChanged.setDescription("This notification will be generated for each occurrence of the\nabnormal status (e.g., if the SCSI target device's current\nstatus is abnormal) providing that the SCSI instance's value of\nscsiInstScsiNotificationsEnable is enabled.\nAn SNMP agent implementing the SCSI MIB module should not send\nmore than three SCSI identical notifications in any 10-second\nperiod.") scsiLuStatusChanged = NotificationType((1, 3, 6, 1, 2, 1, 139, 0, 0, 2)).setObjects(*(("SCSI-MIB", "scsiLuStatus"), ) ) if mibBuilder.loadTexts: scsiLuStatusChanged.setDescription("This notification will be generated each time that\nscsiLuStatus changes providing that the SCSI instance's value\nof scsiInstScsiNotificationsEnable is enabled.\nAn SNMP agent implementing the SCSI MIB module should not send\nmore than three SCSI identical notifications in any 10-second\nperiod.") # Groups scsiDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 1)).setObjects(*(("SCSI-MIB", "scsiDeviceRole"), ("SCSI-MIB", "scsiInstAlias"), ("SCSI-MIB", "scsiTransportDevName"), ("SCSI-MIB", "scsiInstSoftwareIndex"), ("SCSI-MIB", "scsiTransportType"), ("SCSI-MIB", "scsiInstScsiNotificationsEnable"), ("SCSI-MIB", "scsiTransportPointer"), ("SCSI-MIB", "scsiInstStorageType"), ("SCSI-MIB", "scsiDevicePortNumber"), ("SCSI-MIB", "scsiDeviceAlias"), ("SCSI-MIB", "scsiPortTransportPtr"), ("SCSI-MIB", "scsiInstVendorVersion"), ("SCSI-MIB", "scsiPortRole"), ) ) if mibBuilder.loadTexts: scsiDeviceGroup.setDescription("A collection of objects providing information about SCSI\ninstances, devices, and ports.") scsiInitiatorDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 2)).setObjects(*(("SCSI-MIB", "scsiAttTgtPortDscTgtIdx"), ("SCSI-MIB", "scsiIntrPortIdentifier"), ("SCSI-MIB", "scsiAttTgtPortName"), ("SCSI-MIB", "scsiIntrDevTgtAccessMode"), ("SCSI-MIB", "scsiAttTgtPortIdentifier"), ("SCSI-MIB", "scsiIntrPortName"), ) ) if mibBuilder.loadTexts: scsiInitiatorDeviceGroup.setDescription("This group is relevant for s SCSI initiator device and port.") scsiDiscoveryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 3)).setObjects(*(("SCSI-MIB", "scsiDscTgtName"), ("SCSI-MIB", "scsiDscTgtRowStatus"), ("SCSI-MIB", "scsiDscLunIdAssociation"), ("SCSI-MIB", "scsiDscTgtDiscovered"), ("SCSI-MIB", "scsiDscTgtLastCreation"), ("SCSI-MIB", "scsiDscLunIdCodeSet"), ("SCSI-MIB", "scsiDscLunIdType"), ("SCSI-MIB", "scsiDscLunLun"), ("SCSI-MIB", "scsiDscLunIdValue"), ("SCSI-MIB", "scsiDscTgtConfigured"), ("SCSI-MIB", "scsiDscTgtDevOrPort"), ) ) if mibBuilder.loadTexts: scsiDiscoveryGroup.setDescription("This group is relevant for the discovered SCSI target devices\nby a SCSI initiator port.") scsiTargetDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 4)).setObjects(*(("SCSI-MIB", "scsiLuIdType"), ("SCSI-MIB", "scsiTgtDevNumberOfLUs"), ("SCSI-MIB", "scsiAttIntrPortName"), ("SCSI-MIB", "scsiTgtPortName"), ("SCSI-MIB", "scsiLuStatus"), ("SCSI-MIB", "scsiTgtPortIdentifier"), ("SCSI-MIB", "scsiLuWwnName"), ("SCSI-MIB", "scsiLuProductId"), ("SCSI-MIB", "scsiLuLastCreation"), ("SCSI-MIB", "scsiAttIntrPortAuthIntrIdx"), ("SCSI-MIB", "scsiLuState"), ("SCSI-MIB", "scsiTgtDevNonAccessibleLUs"), ("SCSI-MIB", "scsiLuPeripheralType"), ("SCSI-MIB", "scsiLuVendorId"), ("SCSI-MIB", "scsiLuRevisionId"), ("SCSI-MIB", "scsiLuDefaultLun"), ("SCSI-MIB", "scsiTgtDeviceStatus"), ("SCSI-MIB", "scsiAttIntrPortIdentifier"), ("SCSI-MIB", "scsiLuIdValue"), ("SCSI-MIB", "scsiLuIdAssociation"), ("SCSI-MIB", "scsiLuIdCodeSet"), ) ) if mibBuilder.loadTexts: scsiTargetDeviceGroup.setDescription("This group is relevant for a SCSI target device and port.") scsiLunMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 5)).setObjects(*(("SCSI-MIB", "scsiLunMapLuIndex"), ("SCSI-MIB", "scsiAuthIntrLastCreation"), ("SCSI-MIB", "scsiAuthIntrRowStatus"), ("SCSI-MIB", "scsiLunMapRowStatus"), ("SCSI-MIB", "scsiAuthIntrName"), ("SCSI-MIB", "scsiAuthIntrLunMapIndex"), ("SCSI-MIB", "scsiAuthIntrDevOrPort"), ) ) if mibBuilder.loadTexts: scsiLunMapGroup.setDescription("This group is a collection of attributes regarding the mapping\nbetween Logical Unit Number, logical unit, and target device.") scsiTargetDevStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 6)).setObjects(*(("SCSI-MIB", "scsiLuOutTaskSetFullStatus"), ("SCSI-MIB", "scsiLuReadMegaBytes"), ("SCSI-MIB", "scsiTgtPortInCommands"), ("SCSI-MIB", "scsiTgtPortReadMegaBytes"), ("SCSI-MIB", "scsiLuWrittenMegaBytes"), ("SCSI-MIB", "scsiLuInCommands"), ("SCSI-MIB", "scsiLuInResets"), ("SCSI-MIB", "scsiTgtDevResets"), ("SCSI-MIB", "scsiTgtPortWrittenMegaBytes"), ) ) if mibBuilder.loadTexts: scsiTargetDevStatsGroup.setDescription("This group is a collection of statistics for all\nimplementations of the SCSI MIB module that contain SCSI target\ndevices.") scsiTargetDevHSStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 7)).setObjects(*(("SCSI-MIB", "scsiTgtPortHSInCommands"), ("SCSI-MIB", "scsiLuHSInCommands"), ) ) if mibBuilder.loadTexts: scsiTargetDevHSStatsGroup.setDescription("This group is a collection of high speed statistics for all\nimplementations of the SCSI MIB module that contain SCSI target\ndevices.") scsiLunMapStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 8)).setObjects(*(("SCSI-MIB", "scsiAuthIntrAttachedTimes"), ("SCSI-MIB", "scsiAuthIntrWrittenMegaBytes"), ("SCSI-MIB", "scsiAuthIntrOutCommands"), ("SCSI-MIB", "scsiAuthIntrReadMegaBytes"), ) ) if mibBuilder.loadTexts: scsiLunMapStatsGroup.setDescription("This group is a collection of statistics regarding SCSI\ninitiator devices authorized to attach local logical unit and\nSCSI target device.") scsiLunMapHSStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 9)).setObjects(*(("SCSI-MIB", "scsiAuthIntrHSOutCommands"), ) ) if mibBuilder.loadTexts: scsiLunMapHSStatsGroup.setDescription("This group is a collection of high speed statistics regarding\nSCSI initiator devices authorized to attach local logical unit\nand SCSI target device.") scsiInitiatorDevStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 10)).setObjects(*(("SCSI-MIB", "scsiIntrPortWrittenMegaBytes"), ("SCSI-MIB", "scsiIntrPortReadMegaBytes"), ("SCSI-MIB", "scsiIntrPortOutCommands"), ("SCSI-MIB", "scsiIntrDevOutResets"), ) ) if mibBuilder.loadTexts: scsiInitiatorDevStatsGroup.setDescription("This group is a collection of statistics for all\nimplementations of the SCSI MIB module that contain SCSI\ninitiator devices.") scsiInitiatorDevHSStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 11)).setObjects(*(("SCSI-MIB", "scsiIntrPortHSOutCommands"), ) ) if mibBuilder.loadTexts: scsiInitiatorDevHSStatsGroup.setDescription("This group is a collection of high speed statistics for all\n\n\n\nimplementations of the SCSI MIB module that contain SCSI\ninitiator devices.") scsiDiscoveryStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 12)).setObjects(*(("SCSI-MIB", "scsiDscTgtInCommands"), ("SCSI-MIB", "scsiDscTgtReadMegaBytes"), ("SCSI-MIB", "scsiDscTgtWrittenMegaBytes"), ) ) if mibBuilder.loadTexts: scsiDiscoveryStatsGroup.setDescription("This group is a collection of statistics for all\nimplementations of the SCSI MIB module that contain discovered\nSCSI initiator devices.") scsiDiscoveryHSStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 13)).setObjects(*(("SCSI-MIB", "scsiDscTgtHSInCommands"), ) ) if mibBuilder.loadTexts: scsiDiscoveryHSStatsGroup.setDescription("This group is a collection of high speed statistics for all\nimplementations of the SCSI MIB module that contain discovered\nSCSI initiator devices.") scsiDeviceStatGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 14)).setObjects(*(("SCSI-MIB", "scsiPortBusyStatuses"), ) ) if mibBuilder.loadTexts: scsiDeviceStatGroup.setDescription("A collection of statistics regarding SCSI devices and\nports.") scsiTgtDevLuNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 139, 3, 2, 15)).setObjects(*(("SCSI-MIB", "scsiLuStatusChanged"), ("SCSI-MIB", "scsiTgtDeviceStatusChanged"), ) ) if mibBuilder.loadTexts: scsiTgtDevLuNotificationsGroup.setDescription("A collection of notifications regarding status change of SCSI\ntarget devices and logical units.") # Compliances scsiCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 139, 3, 1, 1)).setObjects(*(("SCSI-MIB", "scsiLunMapHSStatsGroup"), ("SCSI-MIB", "scsiDeviceStatGroup"), ("SCSI-MIB", "scsiDeviceGroup"), ("SCSI-MIB", "scsiTargetDeviceGroup"), ("SCSI-MIB", "scsiInitiatorDevHSStatsGroup"), ("SCSI-MIB", "scsiDiscoveryGroup"), ("SCSI-MIB", "scsiInitiatorDeviceGroup"), ("SCSI-MIB", "scsiTargetDevHSStatsGroup"), ("SCSI-MIB", "scsiDiscoveryHSStatsGroup"), ("SCSI-MIB", "scsiTargetDevStatsGroup"), ("SCSI-MIB", "scsiInitiatorDevStatsGroup"), ("SCSI-MIB", "scsiTgtDevLuNotificationsGroup"), ("SCSI-MIB", "scsiLunMapGroup"), ("SCSI-MIB", "scsiLunMapStatsGroup"), ("SCSI-MIB", "scsiDiscoveryStatsGroup"), ) ) if mibBuilder.loadTexts: scsiCompliance.setDescription("Describes the requirements for compliance to this SCSI MIB\nmodule.\nIf an implementation can be both a SCSI target device and a SCSI\ninitiator device, all groups are mandatory.") # Exports # Module identity mibBuilder.exportSymbols("SCSI-MIB", PYSNMP_MODULE_ID=scsiMIB) # Types mibBuilder.exportSymbols("SCSI-MIB", ScsiDeviceOrPort=ScsiDeviceOrPort, ScsiHrSWInstalledIndexOrZero=ScsiHrSWInstalledIndexOrZero, ScsiIdAssociation=ScsiIdAssociation, ScsiIdCodeSet=ScsiIdCodeSet, ScsiIdType=ScsiIdType, ScsiIdValue=ScsiIdValue, ScsiIdentifier=ScsiIdentifier, ScsiIndexValue=ScsiIndexValue, ScsiIndexValueOrZero=ScsiIndexValueOrZero, ScsiLUN=ScsiLUN, ScsiLuNameOrZero=ScsiLuNameOrZero, ScsiName=ScsiName, ScsiPortIndexValueOrZero=ScsiPortIndexValueOrZero) # Objects mibBuilder.exportSymbols("SCSI-MIB", scsiMIB=scsiMIB, scsiNotifications=scsiNotifications, scsiNotificationsPrefix=scsiNotificationsPrefix, scsiAdmin=scsiAdmin, scsiTransportTypes=scsiTransportTypes, scsiTransportOther=scsiTransportOther, scsiTransportSPI=scsiTransportSPI, scsiTransportFCP=scsiTransportFCP, scsiTransportSRP=scsiTransportSRP, scsiTransportISCSI=scsiTransportISCSI, scsiTransportSBP=scsiTransportSBP, scsiTransportSAS=scsiTransportSAS, scsiObjects=scsiObjects, scsiGeneral=scsiGeneral, scsiInstanceTable=scsiInstanceTable, scsiInstanceEntry=scsiInstanceEntry, scsiInstIndex=scsiInstIndex, scsiInstAlias=scsiInstAlias, scsiInstSoftwareIndex=scsiInstSoftwareIndex, scsiInstVendorVersion=scsiInstVendorVersion, scsiInstScsiNotificationsEnable=scsiInstScsiNotificationsEnable, scsiInstStorageType=scsiInstStorageType, scsiDeviceTable=scsiDeviceTable, scsiDeviceEntry=scsiDeviceEntry, scsiDeviceIndex=scsiDeviceIndex, scsiDeviceAlias=scsiDeviceAlias, scsiDeviceRole=scsiDeviceRole, scsiDevicePortNumber=scsiDevicePortNumber, scsiPortTable=scsiPortTable, scsiPortEntry=scsiPortEntry, scsiPortIndex=scsiPortIndex, scsiPortRole=scsiPortRole, scsiPortTransportPtr=scsiPortTransportPtr, scsiPortBusyStatuses=scsiPortBusyStatuses, scsiTransportTable=scsiTransportTable, scsiTransportEntry=scsiTransportEntry, scsiTransportIndex=scsiTransportIndex, scsiTransportType=scsiTransportType, scsiTransportPointer=scsiTransportPointer, scsiTransportDevName=scsiTransportDevName, scsiInitiatorDevice=scsiInitiatorDevice, scsiIntrDevTable=scsiIntrDevTable, scsiIntrDevEntry=scsiIntrDevEntry, scsiIntrDevTgtAccessMode=scsiIntrDevTgtAccessMode, scsiIntrDevOutResets=scsiIntrDevOutResets, scsiIntrPortTable=scsiIntrPortTable, scsiIntrPortEntry=scsiIntrPortEntry, scsiIntrPortName=scsiIntrPortName, scsiIntrPortIdentifier=scsiIntrPortIdentifier, scsiIntrPortOutCommands=scsiIntrPortOutCommands, scsiIntrPortWrittenMegaBytes=scsiIntrPortWrittenMegaBytes, scsiIntrPortReadMegaBytes=scsiIntrPortReadMegaBytes, scsiIntrPortHSOutCommands=scsiIntrPortHSOutCommands, scsiRemoteTgtDev=scsiRemoteTgtDev, scsiDscTgtTable=scsiDscTgtTable, scsiDscTgtEntry=scsiDscTgtEntry, scsiDscTgtIntrPortIndex=scsiDscTgtIntrPortIndex, scsiDscTgtIndex=scsiDscTgtIndex, scsiDscTgtDevOrPort=scsiDscTgtDevOrPort, scsiDscTgtName=scsiDscTgtName, scsiDscTgtConfigured=scsiDscTgtConfigured, scsiDscTgtDiscovered=scsiDscTgtDiscovered, scsiDscTgtInCommands=scsiDscTgtInCommands, scsiDscTgtWrittenMegaBytes=scsiDscTgtWrittenMegaBytes, scsiDscTgtReadMegaBytes=scsiDscTgtReadMegaBytes, scsiDscTgtHSInCommands=scsiDscTgtHSInCommands, scsiDscTgtLastCreation=scsiDscTgtLastCreation, scsiDscTgtRowStatus=scsiDscTgtRowStatus, scsiDscLunTable=scsiDscLunTable, scsiDscLunEntry=scsiDscLunEntry, scsiDscLunIndex=scsiDscLunIndex, scsiDscLunLun=scsiDscLunLun, scsiDscLunIdTable=scsiDscLunIdTable, scsiDscLunIdEntry=scsiDscLunIdEntry, scsiDscLunIdIndex=scsiDscLunIdIndex, scsiDscLunIdCodeSet=scsiDscLunIdCodeSet, scsiDscLunIdAssociation=scsiDscLunIdAssociation, scsiDscLunIdType=scsiDscLunIdType, scsiDscLunIdValue=scsiDscLunIdValue, scsiAttTgtPortTable=scsiAttTgtPortTable, scsiAttTgtPortEntry=scsiAttTgtPortEntry, scsiAttTgtPortIndex=scsiAttTgtPortIndex, scsiAttTgtPortDscTgtIdx=scsiAttTgtPortDscTgtIdx, scsiAttTgtPortName=scsiAttTgtPortName, scsiAttTgtPortIdentifier=scsiAttTgtPortIdentifier, scsiTargetDevice=scsiTargetDevice, scsiTgtDevTable=scsiTgtDevTable, scsiTgtDevEntry=scsiTgtDevEntry, scsiTgtDevNumberOfLUs=scsiTgtDevNumberOfLUs, scsiTgtDeviceStatus=scsiTgtDeviceStatus, scsiTgtDevNonAccessibleLUs=scsiTgtDevNonAccessibleLUs, scsiTgtDevResets=scsiTgtDevResets, scsiTgtPortTable=scsiTgtPortTable, scsiTgtPortEntry=scsiTgtPortEntry, scsiTgtPortName=scsiTgtPortName, scsiTgtPortIdentifier=scsiTgtPortIdentifier, scsiTgtPortInCommands=scsiTgtPortInCommands, scsiTgtPortWrittenMegaBytes=scsiTgtPortWrittenMegaBytes, scsiTgtPortReadMegaBytes=scsiTgtPortReadMegaBytes, scsiTgtPortHSInCommands=scsiTgtPortHSInCommands, scsiRemoteIntrDev=scsiRemoteIntrDev, scsiAuthorizedIntrTable=scsiAuthorizedIntrTable, scsiAuthorizedIntrEntry=scsiAuthorizedIntrEntry, scsiAuthIntrTgtPortIndex=scsiAuthIntrTgtPortIndex, scsiAuthIntrIndex=scsiAuthIntrIndex, scsiAuthIntrDevOrPort=scsiAuthIntrDevOrPort, scsiAuthIntrName=scsiAuthIntrName, scsiAuthIntrLunMapIndex=scsiAuthIntrLunMapIndex, scsiAuthIntrAttachedTimes=scsiAuthIntrAttachedTimes, scsiAuthIntrOutCommands=scsiAuthIntrOutCommands, scsiAuthIntrReadMegaBytes=scsiAuthIntrReadMegaBytes, scsiAuthIntrWrittenMegaBytes=scsiAuthIntrWrittenMegaBytes, scsiAuthIntrHSOutCommands=scsiAuthIntrHSOutCommands, scsiAuthIntrLastCreation=scsiAuthIntrLastCreation, scsiAuthIntrRowStatus=scsiAuthIntrRowStatus, scsiAttIntrPortTable=scsiAttIntrPortTable, scsiAttIntrPortEntry=scsiAttIntrPortEntry, scsiAttIntrPortIndex=scsiAttIntrPortIndex, scsiAttIntrPortAuthIntrIdx=scsiAttIntrPortAuthIntrIdx, scsiAttIntrPortName=scsiAttIntrPortName, scsiAttIntrPortIdentifier=scsiAttIntrPortIdentifier, scsiLogicalUnit=scsiLogicalUnit, scsiLuTable=scsiLuTable, scsiLuEntry=scsiLuEntry, scsiLuIndex=scsiLuIndex, scsiLuDefaultLun=scsiLuDefaultLun) mibBuilder.exportSymbols("SCSI-MIB", scsiLuWwnName=scsiLuWwnName, scsiLuVendorId=scsiLuVendorId, scsiLuProductId=scsiLuProductId, scsiLuRevisionId=scsiLuRevisionId, scsiLuPeripheralType=scsiLuPeripheralType, scsiLuStatus=scsiLuStatus, scsiLuState=scsiLuState, scsiLuInCommands=scsiLuInCommands, scsiLuReadMegaBytes=scsiLuReadMegaBytes, scsiLuWrittenMegaBytes=scsiLuWrittenMegaBytes, scsiLuInResets=scsiLuInResets, scsiLuOutTaskSetFullStatus=scsiLuOutTaskSetFullStatus, scsiLuHSInCommands=scsiLuHSInCommands, scsiLuLastCreation=scsiLuLastCreation, scsiLuIdTable=scsiLuIdTable, scsiLuIdEntry=scsiLuIdEntry, scsiLuIdIndex=scsiLuIdIndex, scsiLuIdCodeSet=scsiLuIdCodeSet, scsiLuIdAssociation=scsiLuIdAssociation, scsiLuIdType=scsiLuIdType, scsiLuIdValue=scsiLuIdValue, scsiLunMapTable=scsiLunMapTable, scsiLunMapEntry=scsiLunMapEntry, scsiLunMapIndex=scsiLunMapIndex, scsiLunMapLun=scsiLunMapLun, scsiLunMapLuIndex=scsiLunMapLuIndex, scsiLunMapRowStatus=scsiLunMapRowStatus, scsiConformance=scsiConformance, scsiCompliances=scsiCompliances, scsiGroups=scsiGroups) # Notifications mibBuilder.exportSymbols("SCSI-MIB", scsiTgtDeviceStatusChanged=scsiTgtDeviceStatusChanged, scsiLuStatusChanged=scsiLuStatusChanged) # Groups mibBuilder.exportSymbols("SCSI-MIB", scsiDeviceGroup=scsiDeviceGroup, scsiInitiatorDeviceGroup=scsiInitiatorDeviceGroup, scsiDiscoveryGroup=scsiDiscoveryGroup, scsiTargetDeviceGroup=scsiTargetDeviceGroup, scsiLunMapGroup=scsiLunMapGroup, scsiTargetDevStatsGroup=scsiTargetDevStatsGroup, scsiTargetDevHSStatsGroup=scsiTargetDevHSStatsGroup, scsiLunMapStatsGroup=scsiLunMapStatsGroup, scsiLunMapHSStatsGroup=scsiLunMapHSStatsGroup, scsiInitiatorDevStatsGroup=scsiInitiatorDevStatsGroup, scsiInitiatorDevHSStatsGroup=scsiInitiatorDevHSStatsGroup, scsiDiscoveryStatsGroup=scsiDiscoveryStatsGroup, scsiDiscoveryHSStatsGroup=scsiDiscoveryHSStatsGroup, scsiDeviceStatGroup=scsiDeviceStatGroup, scsiTgtDevLuNotificationsGroup=scsiTgtDevLuNotificationsGroup) # Compliances mibBuilder.exportSymbols("SCSI-MIB", scsiCompliance=scsiCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RADIUS-ACC-CLIENT-MIB.py0000644000014400001440000005463311736645137022000 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RADIUS-ACC-CLIENT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:30 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") # Objects radiusMIB = ObjectIdentity((1, 3, 6, 1, 2, 1, 67)) if mibBuilder.loadTexts: radiusMIB.setDescription("The OID assigned to RADIUS MIB work by the IANA.") radiusAccounting = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2)) radiusAccClientMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 67, 2, 2)).setRevisions(("2006-08-21 00:00","1999-06-11 00:00",)) if mibBuilder.loadTexts: radiusAccClientMIB.setOrganization("IETF RADIUS Extensions Working Group.") if mibBuilder.loadTexts: radiusAccClientMIB.setContactInfo(" Bernard Aboba\nMicrosoft\nOne Microsoft Way\n\n\n\nRedmond, WA 98052\nUS\nPhone: +1 425 936 6605\nEMail: bernarda@microsoft.com") if mibBuilder.loadTexts: radiusAccClientMIB.setDescription("The MIB module for entities implementing the client\nside of the Remote Authentication Dial-In User Service\n(RADIUS) accounting protocol. Copyright (C) The\nInternet Society (2006). This version of this MIB\nmodule is part of RFC 4670; see the RFC itself for\nfull legal notices.") radiusAccClientMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 2, 1)) radiusAccClient = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1)) radiusAccClientInvalidServerAddresses = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 1), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccClientInvalidServerAddresses.setDescription("The number of RADIUS Accounting-Response packets\nreceived from unknown addresses.") radiusAccClientIdentifier = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientIdentifier.setDescription("The NAS-Identifier of the RADIUS accounting client.\nThis is not necessarily the same as sysName in MIB\nII.") radiusAccServerTable = MibTable((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3)) if mibBuilder.loadTexts: radiusAccServerTable.setDescription("The (conceptual) table listing the RADIUS accounting\nservers with which the client shares a secret.") radiusAccServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1)).setIndexNames((0, "RADIUS-ACC-CLIENT-MIB", "radiusAccServerIndex")) if mibBuilder.loadTexts: radiusAccServerEntry.setDescription("An entry (conceptual row) representing a RADIUS\naccounting server with which the client shares a\nsecret.") radiusAccServerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAccServerIndex.setDescription("A number uniquely identifying each RADIUS\nAccounting server with which this client\ncommunicates.") radiusAccServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServerAddress.setDescription("The IP address of the RADIUS accounting server\nreferred to in this table entry.") radiusAccClientServerPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientServerPortNumber.setDescription("The UDP port the client is using to send requests to\nthis server.") radiusAccClientRoundTripTime = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientRoundTripTime.setDescription("The time interval between the most recent\nAccounting-Response and the Accounting-Request that\nmatched it from this RADIUS accounting server.") radiusAccClientRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientRequests.setDescription("The number of RADIUS Accounting-Request packets\nsent. This does not include retransmissions.") radiusAccClientRetransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientRetransmissions.setDescription("The number of RADIUS Accounting-Request packets\nretransmitted to this RADIUS accounting server.\nRetransmissions include retries where the\nIdentifier and Acct-Delay have been updated, as\nwell as those in which they remain the same.") radiusAccClientResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientResponses.setDescription("The number of RADIUS packets received on the\naccounting port from this server.") radiusAccClientMalformedResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientMalformedResponses.setDescription("The number of malformed RADIUS Accounting-Response\npackets received from this server. Malformed packets\ninclude packets with an invalid length. Bad\nauthenticators and unknown types are not included as\nmalformed accounting responses.") radiusAccClientBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientBadAuthenticators.setDescription("The number of RADIUS Accounting-Response\npackets that contained invalid authenticators\nreceived from this server.") radiusAccClientPendingRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientPendingRequests.setDescription("The number of RADIUS Accounting-Request packets\nsent to this server that have not yet timed out or\nreceived a response. This variable is incremented\nwhen an Accounting-Request is sent and decremented\ndue to receipt of an Accounting-Response, a timeout,\nor a retransmission.") radiusAccClientTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientTimeouts.setDescription("The number of accounting timeouts to this server.\nAfter a timeout, the client may retry to the same\nserver, send to a different server, or give up.\nA retry to the same server is counted as a\nretransmit as well as a timeout. A send to a different\nserver is counted as an Accounting-Request as well as\na timeout.") radiusAccClientUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this server on the accounting port.") radiusAccClientPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientPacketsDropped.setDescription("The number of RADIUS packets that were received from\nthis server on the accounting port and dropped for some\nother reason.") radiusAccServerExtTable = MibTable((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4)) if mibBuilder.loadTexts: radiusAccServerExtTable.setDescription("The (conceptual) table listing the RADIUS accounting\nservers with which the client shares a secret.") radiusAccServerExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1)).setIndexNames((0, "RADIUS-ACC-CLIENT-MIB", "radiusAccServerExtIndex")) if mibBuilder.loadTexts: radiusAccServerExtEntry.setDescription("An entry (conceptual row) representing a RADIUS\naccounting server with which the client shares a\nsecret.") radiusAccServerExtIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAccServerExtIndex.setDescription("A number uniquely identifying each RADIUS\nAccounting server with which this client\ncommunicates.") radiusAccServerInetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServerInetAddressType.setDescription("The type of address format used for the\nradiusAccServerInetAddress object.") radiusAccServerInetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServerInetAddress.setDescription("The IP address of the RADIUS accounting\nserver referred to in this table entry, using\nthe version-neutral IP address format.") radiusAccClientServerInetPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 4), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientServerInetPortNumber.setDescription("The UDP port the client is using to send requests\nto this accounting server. The value zero (0) is\ninvalid.") radiusAccClientExtRoundTripTime = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtRoundTripTime.setDescription("The time interval between the most recent\nAccounting-Response and the Accounting-Request that\nmatched it from this RADIUS accounting server.") radiusAccClientExtRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtRequests.setDescription("The number of RADIUS Accounting-Request packets\nsent. This does not include retransmissions.\nThis counter may experience a discontinuity when the\nRADIUS Accounting Client module within the managed\nentity is reinitialized, as indicated by the current\nvalue of radiusAccClientCounterDiscontinuity.") radiusAccClientExtRetransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtRetransmissions.setDescription("The number of RADIUS Accounting-Request packets\nretransmitted to this RADIUS accounting server.\n\n\n\nRetransmissions include retries where the\nIdentifier and Acct-Delay have been updated, as\nwell as those in which they remain the same.\nThis counter may experience a discontinuity when the\nRADIUS Accounting Client module within the managed\nentity is reinitialized, as indicated by the current\nvalue of radiusAccClientCounterDiscontinuity.") radiusAccClientExtResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtResponses.setDescription("The number of RADIUS packets received on the\naccounting port from this server. This counter\nmay experience a discontinuity when the RADIUS\nAccounting Client module within the managed entity is\nreinitialized, as indicated by the current value of\nradiusAccClientCounterDiscontinuity.") radiusAccClientExtMalformedResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtMalformedResponses.setDescription("The number of malformed RADIUS Accounting-Response\npackets received from this server. Malformed packets\ninclude packets with an invalid length. Bad\nauthenticators and unknown types are not included as\nmalformed accounting responses. This counter may\nexperience a discontinuity when the RADIUS Accounting\nClient module within the managed entity is\nreinitialized, as indicated by the current\nvalue of radiusAccClientCounterDiscontinuity.") radiusAccClientExtBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtBadAuthenticators.setDescription("The number of RADIUS Accounting-Response\npackets that contained invalid authenticators\nreceived from this server. This counter may\nexperience a discontinuity when the RADIUS\nAccounting Client module within the managed\nentity is reinitialized, as indicated by the\ncurrent value of\nradiusAccClientCounterDiscontinuity.") radiusAccClientExtPendingRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtPendingRequests.setDescription("The number of RADIUS Accounting-Request packets\nsent to this server that have not yet timed out or\nreceived a response. This variable is incremented\nwhen an Accounting-Request is sent and decremented\ndue to receipt of an Accounting-Response, a timeout,\nor a retransmission. This counter may experience a\ndiscontinuity when the RADIUS Accounting Client module\nwithin the managed entity is reinitialized, as\nindicated by the current value of\nradiusAccClientCounterDiscontinuity.") radiusAccClientExtTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtTimeouts.setDescription("The number of accounting timeouts to this server.\nAfter a timeout, the client may retry to the same\nserver, send to a different server, or give up.\nA retry to the same server is counted as a\nretransmit as well as a timeout. A send to a different\nserver is counted as an Accounting-Request as well as\na timeout. This counter may experience a discontinuity\nwhen the RADIUS Accounting Client module within the\nmanaged entity is reinitialized, as indicated by the\ncurrent value of radiusAccClientCounterDiscontinuity.") radiusAccClientExtUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this server on the accounting port.\nThis counter may experience a discontinuity when the\nRADIUS Accounting Client module within the managed\nentity is reinitialized, as indicated by the current\nvalue of radiusAccClientCounterDiscontinuity.") radiusAccClientExtPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtPacketsDropped.setDescription("The number of RADIUS packets that were received from\nthis server on the accounting port and dropped for some\nother reason. This counter may experience a\ndiscontinuity when the RADIUS Accounting Client module\nwithin the managed entity is reinitialized, as indicated\nby the current value of\nradiusAccClientCounterDiscontinuity.") radiusAccClientCounterDiscontinuity = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 2, 1, 1, 4, 1, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientCounterDiscontinuity.setDescription("The number of centiseconds since the last\ndiscontinuity in the RADIUS Accounting Client\ncounters. A discontinuity may be the result of a\nreinitialization of the RADIUS Accounting Client\nmodule within the managed entity.") radiusAccClientMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 2, 2)) radiusAccClientMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 2, 2, 1)) radiusAccClientMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 2, 2, 2)) # Augmentions # Groups radiusAccClientMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 2, 2, 2, 2, 1)).setObjects(*(("RADIUS-ACC-CLIENT-MIB", "radiusAccServerAddress"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientRequests"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientTimeouts"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientInvalidServerAddresses"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientMalformedResponses"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientIdentifier"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientRetransmissions"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientPacketsDropped"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientServerPortNumber"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientBadAuthenticators"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientRoundTripTime"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientResponses"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientPendingRequests"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientUnknownTypes"), ) ) if mibBuilder.loadTexts: radiusAccClientMIBGroup.setDescription("The basic collection of objects providing management of\nRADIUS Accounting Clients.") radiusAccClientExtMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 2, 2, 2, 2, 2)).setObjects(*(("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtRetransmissions"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtPendingRequests"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccServerInetAddress"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtTimeouts"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtResponses"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientInvalidServerAddresses"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtRoundTripTime"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientCounterDiscontinuity"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtMalformedResponses"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtUnknownTypes"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientIdentifier"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtRequests"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientServerInetPortNumber"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccServerInetAddressType"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtBadAuthenticators"), ("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtPacketsDropped"), ) ) if mibBuilder.loadTexts: radiusAccClientExtMIBGroup.setDescription("The basic collection of objects providing management of\nRADIUS Accounting Clients.") # Compliances radiusAccClientMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 2, 2, 2, 1, 1)).setObjects(*(("RADIUS-ACC-CLIENT-MIB", "radiusAccClientMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAccClientMIBCompliance.setDescription("The compliance statement for accounting clients\nimplementing the RADIUS Accounting Client MIB.\nImplementation of this module is for IPv4-only\nentities, or for backwards compatibility use with\nentities that support both IPv4 and IPv6.") radiusAccClientExtMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 2, 2, 2, 1, 2)).setObjects(*(("RADIUS-ACC-CLIENT-MIB", "radiusAccClientExtMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAccClientExtMIBCompliance.setDescription("The compliance statement for accounting\nclients implementing the RADIUS Accounting\nClient IPv6 Extensions MIB. Implementation of\nthis module is for entities that support IPv6,\nor support IPv4 and IPv6.") # Exports # Module identity mibBuilder.exportSymbols("RADIUS-ACC-CLIENT-MIB", PYSNMP_MODULE_ID=radiusAccClientMIB) # Objects mibBuilder.exportSymbols("RADIUS-ACC-CLIENT-MIB", radiusMIB=radiusMIB, radiusAccounting=radiusAccounting, radiusAccClientMIB=radiusAccClientMIB, radiusAccClientMIBObjects=radiusAccClientMIBObjects, radiusAccClient=radiusAccClient, radiusAccClientInvalidServerAddresses=radiusAccClientInvalidServerAddresses, radiusAccClientIdentifier=radiusAccClientIdentifier, radiusAccServerTable=radiusAccServerTable, radiusAccServerEntry=radiusAccServerEntry, radiusAccServerIndex=radiusAccServerIndex, radiusAccServerAddress=radiusAccServerAddress, radiusAccClientServerPortNumber=radiusAccClientServerPortNumber, radiusAccClientRoundTripTime=radiusAccClientRoundTripTime, radiusAccClientRequests=radiusAccClientRequests, radiusAccClientRetransmissions=radiusAccClientRetransmissions, radiusAccClientResponses=radiusAccClientResponses, radiusAccClientMalformedResponses=radiusAccClientMalformedResponses, radiusAccClientBadAuthenticators=radiusAccClientBadAuthenticators, radiusAccClientPendingRequests=radiusAccClientPendingRequests, radiusAccClientTimeouts=radiusAccClientTimeouts, radiusAccClientUnknownTypes=radiusAccClientUnknownTypes, radiusAccClientPacketsDropped=radiusAccClientPacketsDropped, radiusAccServerExtTable=radiusAccServerExtTable, radiusAccServerExtEntry=radiusAccServerExtEntry, radiusAccServerExtIndex=radiusAccServerExtIndex, radiusAccServerInetAddressType=radiusAccServerInetAddressType, radiusAccServerInetAddress=radiusAccServerInetAddress, radiusAccClientServerInetPortNumber=radiusAccClientServerInetPortNumber, radiusAccClientExtRoundTripTime=radiusAccClientExtRoundTripTime, radiusAccClientExtRequests=radiusAccClientExtRequests, radiusAccClientExtRetransmissions=radiusAccClientExtRetransmissions, radiusAccClientExtResponses=radiusAccClientExtResponses, radiusAccClientExtMalformedResponses=radiusAccClientExtMalformedResponses, radiusAccClientExtBadAuthenticators=radiusAccClientExtBadAuthenticators, radiusAccClientExtPendingRequests=radiusAccClientExtPendingRequests, radiusAccClientExtTimeouts=radiusAccClientExtTimeouts, radiusAccClientExtUnknownTypes=radiusAccClientExtUnknownTypes, radiusAccClientExtPacketsDropped=radiusAccClientExtPacketsDropped, radiusAccClientCounterDiscontinuity=radiusAccClientCounterDiscontinuity, radiusAccClientMIBConformance=radiusAccClientMIBConformance, radiusAccClientMIBCompliances=radiusAccClientMIBCompliances, radiusAccClientMIBGroups=radiusAccClientMIBGroups) # Groups mibBuilder.exportSymbols("RADIUS-ACC-CLIENT-MIB", radiusAccClientMIBGroup=radiusAccClientMIBGroup, radiusAccClientExtMIBGroup=radiusAccClientExtMIBGroup) # Compliances mibBuilder.exportSymbols("RADIUS-ACC-CLIENT-MIB", radiusAccClientMIBCompliance=radiusAccClientMIBCompliance, radiusAccClientExtMIBCompliance=radiusAccClientExtMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RFC1271-MIB.py0000644000014400001440000030753311736645137020376 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RFC1271-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:32 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Types class EntryStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,4,) namedValues = NamedValues(("valid", 1), ("createRequest", 2), ("underCreation", 3), ("invalid", 4), ) class OwnerString(DisplayString): pass # Objects rmon = MibIdentifier((1, 3, 6, 1, 2, 1, 16)) statistics = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 1)) etherStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 1)) if mibBuilder.loadTexts: etherStatsTable.setDescription("A list of Ethernet statistics entries.") etherStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 1, 1)).setIndexNames((0, "RFC1271-MIB", "etherStatsIndex")) if mibBuilder.loadTexts: etherStatsEntry.setDescription("A collection of statistics kept for a particular\nEthernet interface.") etherStatsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsIndex.setDescription("The value of this object uniquely identifies this\netherStats entry.") etherStatsDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherStatsDataSource.setDescription("This object identifies the source of the data that\nthis etherStats entry is configured to analyze. This\nsource can be any ethernet interface on this device.\nIn order to identify a particular interface, this\nobject shall identify the instance of the ifIndex\nobject, defined in [4,6], for the desired interface.\nFor example, if an entry were to receive data from\ninterface #1, this object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nThis object may not be modified if the associated\netherStatsStatus object is equal to valid(1).") etherStatsDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsDropEvents.setDescription("The total number of events in which packets\nwere dropped by the probe due to lack of resources.\nNote that this number is not necessarily the number of\npackets dropped; it is just the number of times this\ncondition has been detected.") etherStatsOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsOctets.setDescription("The total number of octets of data (including\nthose in bad packets) received on the\nnetwork (excluding framing bits but including\nFCS octets).") etherStatsPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts.setDescription("The total number of packets (including error packets)\nreceived.") etherStatsBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsBroadcastPkts.setDescription("The total number of good packets received that were\ndirected to the broadcast address.") etherStatsMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsMulticastPkts.setDescription("The total number of good packets received that were\ndirected to a multicast address. Note that this\nnumber does not include packets directed to the\nbroadcast address.") etherStatsCRCAlignErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsCRCAlignErrors.setDescription("The total number of packets received that\nhad a length (excluding framing bits, but\nincluding FCS octets) of between 64 and 1518\noctets, inclusive, but were not an integral number\nof octets in length or had a bad Frame Check\nSequence (FCS).") etherStatsUndersizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsUndersizePkts.setDescription("The total number of packets received that were\nless than 64 octets long (excluding framing bits,\nbut including FCS octets) and were otherwise well\nformed.") etherStatsOversizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsOversizePkts.setDescription("The total number of packets received that were\nlonger than 1518 octets (excluding framing bits,\nbut including FCS octets) and were otherwise\nwell formed.") etherStatsFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsFragments.setDescription("The total number of packets received that were not an\nintegral number of octets in length or that had a bad\nFrame Check Sequence (FCS), and were less than 64\noctets in length (excluding framing bits but\nincluding FCS octets).") etherStatsJabbers = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsJabbers.setDescription("The total number of packets received that were\nlonger than 1518 octets (excluding framing bits,\nbut including FCS octets), and were not an\nintegral number of octets in length or had\na bad Frame Check Sequence (FCS).") etherStatsCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsCollisions.setDescription("The best estimate of the total number of collisions\non this Ethernet segment.") etherStatsPkts64Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts64Octets.setDescription("The total number of packets (including error\npackets) received that were 64 octets in length\n(excluding framing bits but including FCS octets).") etherStatsPkts65to127Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts65to127Octets.setDescription("The total number of packets (including error\npackets) received that were between\n65 and 127 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts128to255Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts128to255Octets.setDescription("The total number of packets (including error\npackets) received that were between\n128 and 255 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts256to511Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts256to511Octets.setDescription("The total number of packets (including error\npackets) received that were between\n256 and 511 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts512to1023Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts512to1023Octets.setDescription("The total number of packets (including error\npackets) received that were between\n512 and 1023 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsPkts1024to1518Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsPkts1024to1518Octets.setDescription("The total number of packets (including error\npackets) received that were between\n1024 and 1518 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 20), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherStatsOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") etherStatsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 1, 1, 21), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherStatsStatus.setDescription("The status of this etherStats entry.") history = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 2)) historyControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 1)) if mibBuilder.loadTexts: historyControlTable.setDescription("A list of history control entries.") historyControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 1, 1)).setIndexNames((0, "RFC1271-MIB", "historyControlIndex")) if mibBuilder.loadTexts: historyControlEntry.setDescription("A list of parameters that set up a periodic\nsampling of statistics.") historyControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: historyControlIndex.setDescription("An index that uniquely identifies an entry in the\nhistoryControl table. Each such entry defines a\nset of samples at a particular interval for an\ninterface on the device.") historyControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: historyControlDataSource.setDescription("This object identifies the source of the data for\nwhich historical data was collected and\nplaced in a media-specific table on behalf of this\nhistoryControlEntry. This source can be any\ninterface on this device. In order to identify\na particular interface, this object shall identify\nthe instance of the ifIndex object, defined\nin [4,6], for the desired interface. For example,\nif an entry were to receive data from interface #1,\nthis object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nThis object may not be modified if the associated\nhistoryControlStatus object is equal to valid(1).") historyControlBucketsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(50)).setMaxAccess("readwrite") if mibBuilder.loadTexts: historyControlBucketsRequested.setDescription("The requested number of discrete time intervals\nover which data is to be saved in the part of the\nmedia-specific table associated with this\nhistoryControl entry.\n\nWhen this object is created or modified, the probe\nshould set historyControlBucketsGranted as closely to\nthis object as is possible for the particular probe\nimplementation and available resources.") historyControlBucketsGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: historyControlBucketsGranted.setDescription("The number of discrete sampling intervals\nover which data shall be saved in the part of\nthe media-specific table associated with this\nhistoryControl entry.\n\nWhen the associated historyControlBucketsRequested\nobject is created or modified, the probe\nshould set this object as closely to the requested\nvalue as is possible for the particular\nprobe implementation and available resources. The\nprobe must not lower this value except as a result\nof a modification to the associated\nhistoryControlBucketsRequested object.\n\nThere will be times when the actual number of\nbuckets associated with this entry is less than\nthe value of this object. In this case, at the\nend of each sampling interval, a new bucket will\nbe added to the media-specific table.\n\nWhen the number of buckets reaches the value of\nthis object and a new bucket is to be added to the\nmedia-specific table, the oldest bucket associated\nwith this historyControlEntry shall be deleted by\nthe agent so that the new bucket can be added.\n\nWhen the value of this object changes to a value less\nthan the current value, entries are deleted\nfrom the media-specific table associated with this\nhistoryControlEntry. Enough of the oldest of these\nentries shall be deleted by the agent so that their\nnumber remains less than or equal to the new value of\nthis object.\n\nWhen the value of this object changes to a value\ngreater than the current value, the number of\nassociated media-specific entries may be allowed\nto grow.") historyControlInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(1800)).setMaxAccess("readwrite") if mibBuilder.loadTexts: historyControlInterval.setDescription("The interval in seconds over which the data is\nsampled for each bucket in the part of the\nmedia-specific table associated with this\nhistoryControl entry. This interval can\nbe set to any number of seconds between 1 and\n3600 (1 hour).\n\nBecause the counters in a bucket may overflow at their\nmaximum value with no indication, a prudent manager\nwill take into account the possibility of overflow\nin any of the associated counters. It is important\nto consider the minimum time in which any counter\ncould overflow on a particular media type and set\nthe historyControlInterval object to a value less\nthan this interval. This is typically most\nimportant for the 'octets' counter in any\nmedia-specific table. For example, on an Ethernet\nnetwork, the etherHistoryOctets counter could overflow\nin about one hour at the Ethernet's maximum\nutilization.\n\nThis object may not be modified if the associated\nhistoryControlStatus object is equal to valid(1).") historyControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 6), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: historyControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") historyControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 1, 1, 7), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: historyControlStatus.setDescription("The status of this historyControl entry.\n\nEach instance of the media-specific table associated\nwith this historyControlEntry will be deleted by the\nagent if this historyControlEntry is not equal to\nvalid(1).") etherHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 2)) if mibBuilder.loadTexts: etherHistoryTable.setDescription("A list of Ethernet history entries.") etherHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 2, 1)).setIndexNames((0, "RFC1271-MIB", "etherHistoryIndex"), (0, "RFC1271-MIB", "etherHistorySampleIndex")) if mibBuilder.loadTexts: etherHistoryEntry.setDescription("An historical sample of Ethernet statistics on a\nparticular Ethernet interface. This sample is\nassociated with the historyControlEntry which set\nup the parameters for a regular collection of these\nsamples.") etherHistoryIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryIndex.setDescription("The history of which this entry is a part. The\nhistory identified by a particular value of this\nindex is the same history as identified\nby the same value of historyControlIndex.") etherHistorySampleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistorySampleIndex.setDescription("An index that uniquely identifies the particular\nsample this entry represents among all samples\nassociated with the same historyControlEntry.\nThis index starts at 1 and increases by one\nas each new sample is taken.") etherHistoryIntervalStart = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryIntervalStart.setDescription("The value of sysUpTime at the start of the interval\nover which this sample was measured. If the probe\nkeeps track of the time of day, it should start\nthe first sample of the history at a time such that\nwhen the next hour of the day begins, a sample is\nstarted at that instant. Note that following this\nrule may require the probe to delay collecting the\nfirst sample of the history, as each sample must be\nof the same interval. Also note that the sample which\nis currently being collected is not accessible in this\ntable until the end of its interval.") etherHistoryDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryDropEvents.setDescription("The total number of events in which packets\nwere dropped by the probe due to lack of resources\nduring this interval. Note that this number is not\nnecessarily the number of packets dropped, it is just\nthe number of times this condition has been detected.") etherHistoryOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryOctets.setDescription("The total number of octets of data (including\nthose in bad packets) received on the\nnetwork (excluding framing bits but including\nFCS octets).") etherHistoryPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryPkts.setDescription("The number of packets (including error packets)\nreceived during this sampling interval.") etherHistoryBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryBroadcastPkts.setDescription("The number of good packets received during this\nsampling interval that were directed to the\nbroadcast address.") etherHistoryMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryMulticastPkts.setDescription("The number of good packets received during this\nsampling interval that were directed to a\nmulticast address. Note that this number does not\ninclude packets addressed to the broadcast address.") etherHistoryCRCAlignErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryCRCAlignErrors.setDescription("The number of packets received during this\nsampling interval that had a length (excluding\nframing bits but including FCS octets) between\n64 and 1518 octets, inclusive, but were not an\nintegral number of octets in length or had a\nbad Frame Check Sequence (FCS).") etherHistoryUndersizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryUndersizePkts.setDescription("The number of packets received during this\ninterval that were less than 64 octets long\n(excluding framing bits but including FCS\noctets) and were otherwise well formed.") etherHistoryOversizePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryOversizePkts.setDescription("The number of packets received during this\ninterval that were longer than 1518 octets\n(excluding framing bits but including FCS\noctets) but were otherwise well formed.") etherHistoryFragments = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryFragments.setDescription("The total number of packets received during this\nsampling interval that were not an integral\nnumber of octets in length or that\nhad a bad Frame Check Sequence (FCS), and\nwere less than 64 octets in length (excluding\nframing bits but including FCS octets).") etherHistoryJabbers = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryJabbers.setDescription("The number of packets received during this\ninterval that were longer than 1518 octets\n(excluding framing bits but including FCS octets),\nand were not an integral number of octets in\nlength or had a bad Frame Check Sequence (FCS).") etherHistoryCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryCollisions.setDescription("The best estimate of the total number of collisions\non this Ethernet segment during this interval.") etherHistoryUtilization = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryUtilization.setDescription("The best estimate of the mean physical layer\nnetwork utilization on this interface during this\ninterval, in hundredths of a percent.") alarm = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 3)) alarmTable = MibTable((1, 3, 6, 1, 2, 1, 16, 3, 1)) if mibBuilder.loadTexts: alarmTable.setDescription("A list of alarm entries.") alarmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 3, 1, 1)).setIndexNames((0, "RFC1271-MIB", "alarmIndex")) if mibBuilder.loadTexts: alarmEntry.setDescription("A list of parameters that set up a periodic checking\nfor alarm conditions.") alarmIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmIndex.setDescription("An index that uniquely identifies an entry in the\nalarm table. Each such entry defines a\ndiagnostic sample at a particular interval\nfor an object on the device.") alarmInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmInterval.setDescription("The interval in seconds over which the data is\nsampled and compared with the rising and falling\nthresholds. When setting this variable, care\nshould be given to ensure that the variable being\nmonitored will not exceed 2^31 - 1 and roll\nover the alarmValue object during the interval.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmVariable = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 3), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmVariable.setDescription("The object identifier of the particular variable to\nbe sampled. Only variables that resolve to an ASN.1\nprimitive type of INTEGER (INTEGER, Counter, Gauge,\nor TimeTicks) may be sampled.\n\nBecause SNMP access control is articulated entirely\nin terms of the contents of MIB views, no access\ncontrol mechanism exists that can restrict the value of\nthis object to identify only those objects that exist\nin a particular MIB view. Because there is thus no\nacceptable means of restricting the read access that\ncould be obtained through the alarm mechanism, the\nprobe must only grant write access to this object in\nthose views that have read access to all objects on\nthe probe.\n\nDuring a set operation, if the supplied variable\nname is not available in the selected MIB view, a\nbadValue error must be returned. If at any time\nthe variable name of an established alarmEntry is\nno longer available in the selected MIB view, the\nprobe must change the status of this alarmEntry\nto invalid(4).\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmSampleType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("absoluteValue", 1), ("deltaValue", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmSampleType.setDescription("The method of sampling the selected variable and\ncalculating the value to be compared against the\nthresholds. If the value of this object is\nabsoluteValue(1), the value of the selected variable\nwill be compared directly with the thresholds at the\nend of the sampling interval. If the value of this\nobject is deltaValue(2), the value of the selected\nvariable at the last sample will be subtracted from\nthe current value, and the difference compared with\nthe thresholds.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alarmValue.setDescription("The value of the statistic during the last sampling\nperiod. The value during the current sampling period\nis not made available until the period is completed.") alarmStartupAlarm = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("risingAlarm", 1), ("fallingAlarm", 2), ("risingOrFallingAlarm", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmStartupAlarm.setDescription("The alarm that may be sent when this entry is first\nset to valid. If the first sample after this entry\nbecomes valid is greater than or equal to the\nrisingThreshold and alarmStartupAlarm is equal to\nrisingAlarm(1) or risingOrFallingAlarm(3), then a\nsingle rising alarm will be generated. If the first\nsample after this entry becomes valid is less than\nor equal to the fallingThreshold and\nalarmStartupAlarm is equal to fallingAlarm(2) or\nrisingOrFallingAlarm(3), then a single falling\nalarm will be generated.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmRisingThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmRisingThreshold.setDescription("A threshold for the sampled statistic. When the\ncurrent sampled value is greater than or equal to\nthis threshold, and the value at the last sampling\ninterval was less than this threshold, a single\nevent will be generated.\nA single event will also be generated if the first\nsample after this entry becomes valid is greater\nthan or equal to this threshold and the associated\nalarmStartupAlarm is equal to risingAlarm(1) or\nrisingOrFallingAlarm(3).\n\nAfter a rising event is generated, another such event\nwill not be generated until the sampled value\nfalls below this threshold and reaches the\nalarmFallingThreshold.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmFallingThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmFallingThreshold.setDescription("A threshold for the sampled statistic. When the\ncurrent sampled value is less than or equal to\nthis threshold, and the value at the last sampling\ninterval was greater than this threshold, a single\nevent will be generated.\nA single event will also be generated if the first\nsample after this entry becomes valid is less than or\nequal to this threshold and the associated\nalarmStartupAlarm is equal to fallingAlarm(2) or\nrisingOrFallingAlarm(3).\n\nAfter a falling event is generated, another such event\nwill not be generated until the sampled value\nrises above this threshold and reaches the\nalarmRisingThreshold.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmRisingEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmRisingEventIndex.setDescription("The index of the eventEntry that is\nused when a rising threshold is crossed. The\neventEntry identified by a particular value of\nthis index is the same as identified by the same value\nof the eventIndex object. If there is no\ncorresponding entry in the eventTable, then\nno association exists. In particular, if this value\nis zero, no associated event will be generated, as\nzero is not a valid event index.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmFallingEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmFallingEventIndex.setDescription("The index of the eventEntry that is\nused when a falling threshold is crossed. The\neventEntry identified by a particular value of\nthis index is the same as identified by the same value\nof the eventIndex object. If there is no\ncorresponding entry in the eventTable, then\nno association exists. In particular, if this value\nis zero, no associated event will be generated, as\nzero is not a valid event index.\n\nThis object may not be modified if the associated\nalarmStatus object is equal to valid(1).") alarmOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 11), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") alarmStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 3, 1, 1, 12), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alarmStatus.setDescription("The status of this alarm entry.") hosts = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 4)) hostControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 1)) if mibBuilder.loadTexts: hostControlTable.setDescription("A list of host table control entries.") hostControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 1, 1)).setIndexNames((0, "RFC1271-MIB", "hostControlIndex")) if mibBuilder.loadTexts: hostControlEntry.setDescription("A list of parameters that set up the discovery of\nhosts on a particular interface and the collection\nof statistics about these hosts.") hostControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlIndex.setDescription("An index that uniquely identifies an entry in the\nhostControl table. Each such entry defines\na function that discovers hosts on a particular\ninterface and places statistics about them in the\nhostTable and the hostTimeTable on behalf of this\nhostControlEntry.") hostControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostControlDataSource.setDescription("This object identifies the source of the data for\nthis instance of the host function. This source\ncan be any interface on this device. In order\nto identify a particular interface, this object shall\nidentify the instance of the ifIndex object, defined\nin [4,6], for the desired interface. For example,\nif an entry were to receive data from interface #1,\nthis object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nThis object may not be modified if the associated\nhostControlStatus object is equal to valid(1).") hostControlTableSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlTableSize.setDescription("The number of hostEntries in the hostTable and the\nhostTimeTable associated with this hostControlEntry.") hostControlLastDeleteTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostControlLastDeleteTime.setDescription("The value of sysUpTime when the last entry\nwas deleted from the portion of the hostTable\nassociated with this hostControlEntry. If no\ndeletions have occurred, this value shall be zero.") hostControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 5), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") hostControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 1, 1, 6), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostControlStatus.setDescription("The status of this hostControl entry.\n\nIf this object is not equal to valid(1), all\nassociated entries in the hostTable,\nhostTimeTable, and the hostTopNTable shall be\ndeleted by the agent.") hostTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 2)) if mibBuilder.loadTexts: hostTable.setDescription("A list of host entries.") hostEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 2, 1)).setIndexNames((0, "RFC1271-MIB", "hostIndex"), (0, "RFC1271-MIB", "hostAddress")) if mibBuilder.loadTexts: hostEntry.setDescription("A collection of statistics for a particular host\nthat has been discovered on an interface of this\ndevice.") hostAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostAddress.setDescription("The physical address of this host.") hostCreationOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostCreationOrder.setDescription("An index that defines the relative ordering of\nthe creation time of hosts captured for a\nparticular hostControlEntry. This index shall\nbe between 1 and N, where N is the value of\nthe associated hostControlTableSize. The ordering\nof the indexes is based on the order of each entry's\ninsertion into the table, in which entries added\nearlier have a lower index value than entries added\nlater.\n\nIt is important to note that the order for a\nparticular entry may change as an (earlier) entry\nis deleted from the table. Because this order may\nchange, management stations should make use of the\nhostControlLastDeleteTime variable in the\nhostControlEntry associated with the relevant\nportion of the hostTable. By observing\nthis variable, the management station may detect\nthe circumstances where a previous association\nbetween a value of hostCreationOrder\nand a hostEntry may no longer hold.") hostIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostIndex.setDescription("The set of collected host statistics of which\nthis entry is a part. The set of hosts\nidentified by a particular value of this\nindex is associated with the hostControlEntry\nas identified by the same value of hostControlIndex.") hostInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostInPkts.setDescription("The number of packets without errors transmitted to\nthis address since it was added to the hostTable.") hostOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutPkts.setDescription("The number of packets including errors transmitted\nby this address since it was added to the hostTable.") hostInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostInOctets.setDescription("The number of octets transmitted to this address\nsince it was added to the hostTable (excluding\nframing bits but including FCS octets), except for\nthose octets in packets that contained errors.") hostOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutOctets.setDescription("The number of octets transmitted by this address\nsince it was added to the hostTable (excluding\nframing bits but including FCS octets), including\nthose octets in packets that contained errors.") hostOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutErrors.setDescription("The number of error packets transmitted by this\naddress since this host was added to the hostTable.") hostOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutBroadcastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to the broadcast address\nsince this host was added to the hostTable.") hostOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostOutMulticastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to a multicast address\nsince this host was added to the hostTable.\nNote that this number does not include packets\ndirected to the broadcast address.") hostTimeTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 3)) if mibBuilder.loadTexts: hostTimeTable.setDescription("A list of time-ordered host table entries.") hostTimeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 3, 1)).setIndexNames((0, "RFC1271-MIB", "hostTimeIndex"), (0, "RFC1271-MIB", "hostTimeCreationOrder")) if mibBuilder.loadTexts: hostTimeEntry.setDescription("A collection of statistics for a particular host\nthat has been discovered on an interface of this\ndevice. This collection includes the relative\nordering of the creation time of this object.") hostTimeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeAddress.setDescription("The physical address of this host.") hostTimeCreationOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeCreationOrder.setDescription("An index that uniquely identifies an entry in\nthe hostTime table among those entries associated\nwith the same hostControlEntry. This index shall\nbe between 1 and N, where N is the value of\nthe associated hostControlTableSize. The ordering\nof the indexes is based on the order of each entry's\ninsertion into the table, in which entries added\nearlier have a lower index value than entries added\nlater. Thus the management station has the ability\nto learn of new entries added to this table without\ndownloading the entire table.\n\nIt is important to note that the index for a\nparticular entry may change as an (earlier) entry\nis deleted from the table. Because this order may\nchange, management stations should make use of the\nhostControlLastDeleteTime variable in the\nhostControlEntry associated with the relevant\nportion of the hostTimeTable. By observing\nthis variable, the management station may detect\nthe circumstances where a download of the table\nmay have missed entries, and where a previous\nassociation between a value of hostTimeCreationOrder\nand a hostTimeEntry may no longer hold.") hostTimeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeIndex.setDescription("The set of collected host statistics of which\nthis entry is a part. The set of hosts\nidentified by a particular value of this\nindex is associated with the hostControlEntry\nas identified by the same value of hostControlIndex.") hostTimeInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeInPkts.setDescription("The number of packets without errors transmitted to\nthis address since it was added to the hostTimeTable.") hostTimeOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutPkts.setDescription("The number of packets including errors transmitted\nby this address since it was added to the\nhostTimeTable.") hostTimeInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeInOctets.setDescription("The number of octets transmitted to this address\nsince it was added to the hostTimeTable (excluding\nframing bits but including FCS octets), except for\nthose octets in packets that contained errors.") hostTimeOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutOctets.setDescription("The number of octets transmitted by this address since\nit was added to the hostTimeTable (excluding framing\nbits but including FCS octets), including those\noctets in packets that contained errors.") hostTimeOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutErrors.setDescription("The number of error packets transmitted by this\naddress since this host was added to the\nhostTimeTable.") hostTimeOutBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutBroadcastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to the broadcast address\nsince this host was added to the hostTimeTable.") hostTimeOutMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeOutMulticastPkts.setDescription("The number of good packets transmitted by this\naddress that were directed to a multicast address\nsince this host was added to the hostTimeTable.\nNote that this number does not include packets\ndirected to the broadcast address.") hostTopN = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 5)) hostTopNControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 5, 1)) if mibBuilder.loadTexts: hostTopNControlTable.setDescription("A list of top N host control entries.") hostTopNControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 5, 1, 1)).setIndexNames((0, "RFC1271-MIB", "hostTopNControlIndex")) if mibBuilder.loadTexts: hostTopNControlEntry.setDescription("A set of parameters that control the creation of a\nreport of the top N hosts according to several\nmetrics.") hostTopNControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNControlIndex.setDescription("An index that uniquely identifies an entry\nin the hostTopNControl table. Each such\nentry defines one top N report prepared for\none interface.") hostTopNHostIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostTopNHostIndex.setDescription("The host table for which a top N report will be\nprepared on behalf of this entry. The host table\nidentified by a particular value of this index is\nassociated with the same host table as identified\nby the same value of hostIndex.\n\nThis object may not be modified if the associated\nhostTopNStatus object is equal to valid(1).") hostTopNRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(5,2,1,4,3,6,7,)).subtype(namedValues=NamedValues(("hostTopNInPkts", 1), ("hostTopNOutPkts", 2), ("hostTopNInOctets", 3), ("hostTopNOutOctets", 4), ("hostTopNOutErrors", 5), ("hostTopNOutBroadcastPkts", 6), ("hostTopNOutMulticastPkts", 7), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostTopNRateBase.setDescription("The variable for each host that the hostTopNRate\nvariable is based upon.\n\nThis object may not be modified if the associated\nhostTopNStatus object is equal to valid(1).") hostTopNTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 4), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostTopNTimeRemaining.setDescription("The number of seconds left in the report currently\nbeing collected. When this object is modified by\nthe management station, a new collection is started,\npossibly aborting a currently running report. The\nnew value is used as the requested duration of this\nreport, which is loaded into the associated\nhostTopNDuration object.\n\nWhen this object is set to a non-zero value, any\nassociated hostTopNEntries shall be made\ninaccessible by the monitor. While the value of this\nobject is non-zero, it decrements by one per second\nuntil it reaches zero. During this time, all\nassociated hostTopNEntries shall remain\ninaccessible. At the time that this object\ndecrements to zero, the report is made\naccessible in the hostTopNTable. Thus, the hostTopN\ntable needs to be created only at the end of the\ncollection interval.") hostTopNDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 5), Integer32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNDuration.setDescription("The number of seconds that this report has collected\nduring the last sampling interval, or if this\nreport is currently being collected, the number\nof seconds that this report is being collected\nduring this sampling interval.\n\nWhen the associated hostTopNTimeRemaining object is\nset, this object shall be set by the probe to the\nsame value and shall not be modified until the next\ntime the hostTopNTimeRemaining is set.\n\nThis value shall be zero if no reports have been\nrequested for this hostTopNControlEntry.") hostTopNRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 6), Integer32().clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostTopNRequestedSize.setDescription("The maximum number of hosts requested for the top N\ntable.\n\nWhen this object is created or modified, the probe\nshould set hostTopNGrantedSize as closely to this\nobject as is possible for the particular probe\nimplementation and available resources.") hostTopNGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNGrantedSize.setDescription("The maximum number of hosts in the top N table.\n\nWhen the associated hostTopNRequestedSize object is\ncreated or modified, the probe should set this\nobject as closely to the requested value as is\npossible for the particular implementation and\navailable resources. The probe must not lower this\nvalue except as a result of a set to the associated\nhostTopNRequestedSize object.\n\nHosts with the highest value of hostTopNRate shall be\nplaced in this table in decreasing order of this rate\nuntil there is no more room or until there are no more\nhosts.") hostTopNStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNStartTime.setDescription("The value of sysUpTime when this top N report was\nlast started. In other words, this is the time that\nthe associated hostTopNTimeRemaining object was\nmodified to start the requested report.") hostTopNOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 9), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostTopNOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") hostTopNStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 1, 1, 10), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hostTopNStatus.setDescription("The status of this hostTopNControl entry.\nIf this object is not equal to valid(1), all\nassociated hostTopNEntries shall be deleted by\nthe agent.") hostTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 5, 2)) if mibBuilder.loadTexts: hostTopNTable.setDescription("A list of top N host entries.") hostTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 5, 2, 1)).setIndexNames((0, "RFC1271-MIB", "hostTopNReport"), (0, "RFC1271-MIB", "hostTopNIndex")) if mibBuilder.loadTexts: hostTopNEntry.setDescription("A set of statistics for a host that is part of a\ntop N report.") hostTopNReport = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNReport.setDescription("This object identifies the top N report of which\nthis entry is a part. The set of hosts\nidentified by a particular value of this\nobject is part of the same report as identified\nby the same value of the hostTopNControlIndex object.") hostTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNIndex.setDescription("An index that uniquely identifies an entry in\nthe hostTopN table among those in the same report.\nThis index is between 1 and N, where N is the\nnumber of entries in this table. Increasing values\nof hostTopNIndex shall be assigned to entries with\ndecreasing values of hostTopNRate until index N\nis assigned to the entry with the lowest value of\nhostTopNRate or there are no more hostTopNEntries.") hostTopNAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNAddress.setDescription("The physical address of this host.") hostTopNRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNRate.setDescription("The amount of change in the selected variable\nduring this sampling interval. The selected\nvariable is this host's instance of the object\nselected by hostTopNRateBase.") matrix = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 6)) matrixControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 1)) if mibBuilder.loadTexts: matrixControlTable.setDescription("A list of information entries for the\ntraffic matrix on each interface.") matrixControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 1, 1)).setIndexNames((0, "RFC1271-MIB", "matrixControlIndex")) if mibBuilder.loadTexts: matrixControlEntry.setDescription("Information about a traffic matrix on a\nparticular interface.") matrixControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlIndex.setDescription("An index that uniquely identifies an entry in the\nmatrixControl table. Each such entry defines\na function that discovers conversations on a particular\ninterface and places statistics about them in the\nmatrixSDTable and the matrixDSTable on behalf of this\nmatrixControlEntry.") matrixControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: matrixControlDataSource.setDescription("This object identifies the source of\nthe data from which this entry creates a traffic matrix.\nThis source can be any interface on this device. In\norder to identify a particular interface, this object\nshall identify the instance of the ifIndex object,\ndefined in [4,6], for the desired interface. For\nexample, if an entry were to receive data from\ninterface #1, this object would be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nThis object may not be modified if the associated\nmatrixControlStatus object is equal to valid(1).") matrixControlTableSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlTableSize.setDescription("The number of matrixSDEntries in the matrixSDTable\nfor this interface. This must also be the value of\nthe number of entries in the matrixDSTable for this\ninterface.") matrixControlLastDeleteTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixControlLastDeleteTime.setDescription("The value of sysUpTime when the last entry\nwas deleted from the portion of the matrixSDTable\nor matrixDSTable associated with this\nmatrixControlEntry.\nIf no deletions have occurred, this value shall be\nzero.") matrixControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 5), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: matrixControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") matrixControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 1, 1, 6), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: matrixControlStatus.setDescription("The status of this matrixControl entry.\n\nIf this object is not equal to valid(1), all\nassociated entries in the matrixSDTable and the\nmatrixDSTable shall be deleted by the agent.") matrixSDTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 2)) if mibBuilder.loadTexts: matrixSDTable.setDescription("A list of traffic matrix entries indexed by\nsource and destination MAC address.") matrixSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 2, 1)).setIndexNames((0, "RFC1271-MIB", "matrixSDIndex"), (0, "RFC1271-MIB", "matrixSDSourceAddress"), (0, "RFC1271-MIB", "matrixSDDestAddress")) if mibBuilder.loadTexts: matrixSDEntry.setDescription("A collection of statistics for communications between\ntwo addresses on a particular interface.") matrixSDSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDSourceAddress.setDescription("The source physical address.") matrixSDDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDDestAddress.setDescription("The destination physical address.") matrixSDIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDIndex.setDescription("The set of collected matrix statistics of which\nthis entry is a part. The set of matrix statistics\nidentified by a particular value of this index\nis associated with the same matrixControlEntry\nas identified by the same value of matrixControlIndex.") matrixSDPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDPkts.setDescription("The number of packets transmitted from the source\naddress to the destination address (this number\nincludes error packets).") matrixSDOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDOctets.setDescription("The number of octets (excluding framing bits but\nincluding FCS octets) contained in all packets\ntransmitted from the source address to the\ndestination address.") matrixSDErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDErrors.setDescription("The number of error packets transmitted from\nthe source address to the destination address.") matrixDSTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 3)) if mibBuilder.loadTexts: matrixDSTable.setDescription("A list of traffic matrix entries indexed by\ndestination and source MAC address.") matrixDSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 3, 1)).setIndexNames((0, "RFC1271-MIB", "matrixDSIndex"), (0, "RFC1271-MIB", "matrixDSDestAddress"), (0, "RFC1271-MIB", "matrixDSSourceAddress")) if mibBuilder.loadTexts: matrixDSEntry.setDescription("A collection of statistics for communications between\ntwo address on a particular interface.") matrixDSSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSSourceAddress.setDescription("The source physical address.") matrixDSDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSDestAddress.setDescription("The destination physical address.") matrixDSIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSIndex.setDescription("The set of collected matrix statistics of which\nthis entry is a part. The set of matrix statistics\nidentified by a particular value of this index\nis associated with the same matrixControlEntry\nas identified by the same value of matrixControlIndex.") matrixDSPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSPkts.setDescription("The number of packets transmitted from the source\naddress to the destination address (this number\nincludes error packets).") matrixDSOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSOctets.setDescription("The number of octets (excluding framing bits\nbut including FCS octets) contained in all packets\ntransmitted from the source address to the\ndestination address.") matrixDSErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSErrors.setDescription("The number of error packets transmitted from\nthe source address to the destination address.") filter = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 7)) filterTable = MibTable((1, 3, 6, 1, 2, 1, 16, 7, 1)) if mibBuilder.loadTexts: filterTable.setDescription("A list of packet filter entries.") filterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 7, 1, 1)).setIndexNames((0, "RFC1271-MIB", "filterIndex")) if mibBuilder.loadTexts: filterEntry.setDescription("A set of parameters for a packet filter applied on a\nparticular interface.") filterIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: filterIndex.setDescription("An index that uniquely identifies an entry\nin the filter table. Each such entry defines\none filter that is to be applied to every packet\nreceived on an interface.") filterChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterChannelIndex.setDescription("This object identifies the channel of which this\nfilter is a part. The filters identified by a\nparticular value of this object are associated\nwith the same channel as identified by the same\nvalue of the channelIndex object.") filterPktDataOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 3), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterPktDataOffset.setDescription("The offset from the beginning of each packet where\na match of packet data will be attempted. This offset\nis measured from the point in the physical layer\npacket after the framing bits, if any. For example,\nin an Ethernet frame, this point is at the beginning\nof the destination MAC address.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktData = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 4), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterPktData.setDescription("The data that is to be matched with the input packet.\nFor each packet received, this filter and the\naccompanying filterPktDataMask and\nfilterPktDataNotMask will be adjusted for the\noffset. The only bits relevant to this\nmatch algorithm are those that have the corresponding\nfilterPktDataMask bit equal to one. The following\nthree rules are then applied to every packet:\n\n(1) If the packet is too short and does not have data\n corresponding to part of the filterPktData, the\n packet will fail this data match.\n\n(2) For each relevant bit from the packet with the\n corresponding filterPktDataNotMask bit set to\n zero, if the bit from the packet is not equal to\n the corresponding bit from the filterPktData,\n then the packet will fail this data match.\n\n(3) If for every relevant bit from the packet with the\n corresponding filterPktDataNotMask bit set to one,\n the bit from the packet is equal to the\n corresponding bit from the filterPktData, then\n the packet will fail this data match.\n\nAny packets that have not failed any of the three\nmatches above have passed this data match.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktDataMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 5), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterPktDataMask.setDescription("The mask that is applied to the match process.\nAfter adjusting this mask for the offset, only those\nbits in the received packet that correspond to bits\nset in this mask are relevant for further processing\nby the match algorithm. The offset is applied to\nfilterPktDataMask in the same way it is applied to\nthe filter. For the purposes of the matching\nalgorithm, if the associated filterPktData object\nis longer than this mask, this mask is conceptually\nextended with '1' bits until it reaches the\nlength of the filterPktData object.\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktDataNotMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 6), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterPktDataNotMask.setDescription("The inversion mask that is applied to the match\nprocess. After adjusting this mask for the offset,\nthose relevant bits in the received packet that\ncorrespond to bits cleared in this mask must all\nbe equal to their corresponding bits in the\nfilterPktData object for the packet to be accepted.\nIn addition, at least one of those relevant\nbits in the received packet that correspond to bits\nset in this mask must be different to its\ncorresponding bit in the filterPktData object.\n\nFor the purposes of the matching algorithm, if\nthe associated filterPktData object is longer than\nthis mask, this mask is conceptually extended with\n'0' bits until it reaches the length of the\nfilterPktData object.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterPktStatus.setDescription("The status that is to be matched with the input\npacket. The only bits relevant to this match\nalgorithm are those that have the corresponding\nfilterPktStatusMask bit equal to one.\n\nThe following two rules are then applied to every\npacket:\n\n(1) For each relevant bit from the packet status\n with the corresponding filterPktStatusNotMask\n bit set to zero, if the bit from the packet\n status is not equal to the corresponding bit\n from the filterPktStatus, then the packet will\n fail this status match.\n\n(2) If for every relevant bit from the packet status\n with the corresponding filterPktStatusNotMask\n bit set to one, the bit from the packet status\n is equal to the corresponding bit from the\n filterPktStatus, then the packet will fail\n this status match.\n\nAny packets that have not failed either of the two\nmatches above have passed this status match.\n\nThe value of the packet status is a sum. This sum\ninitially takes the value zero. Then, for each\nerror, E, that has been discovered in this packet,\n2 raised to a value representing E is added to the sum.\nThe errors and the bits that represent them are\ndependent on the media type of the interface that\nthis channel is receiving packets from.\n\nThe errors defined for a packet captured off of an\nEthernet interface are as follows:\n\n bit # Error\n 0 Packet is longer than 1518 octets\n 1 Packet is shorter than 64 octets\n 2 Packet experienced a CRC or Alignment\n error\n\nFor example, an Ethernet fragment would have a\nvalue of 6 (2^1 + 2^2).\n\nAs this MIB is expanded to new media types, this\nobject will have other media-specific errors defined.\n\nFor the purposes of this status matching algorithm, if\nthe packet status is longer than this\nobject, filterPktStatus this object is conceptually\nextended with '0' bits until it reaches the size of\nthe packet status.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktStatusMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterPktStatusMask.setDescription("The mask that is applied to the status match process.\nOnly those bits in the received packet that correspond\nto bits set in this mask are relevant for further\nprocessing by the status match algorithm. For the\npurposes of the matching algorithm, if the\nassociated filterPktStatus object is longer than\nthis mask, this mask is conceptually extended with\n'1' bits until it reaches the size of the\nfilterPktStatus. In addition, if a packet status is\nlonger than this mask, this mask is conceptually\nextended with '0' bits until it reaches the size of\nthe packet status.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterPktStatusNotMask = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterPktStatusNotMask.setDescription("The inversion mask that is applied to the status match\nprocess. Those relevant bits in the received packet\nstatus that correspond to bits cleared in this mask\nmust all be equal to their corresponding bits in the\nfilterPktStatus object for the packet to be accepted.\nIn addition, at least one of those relevant bits in the\nreceived packet status that correspond to bits set in\nthis mask must be different to its corresponding bit\nin the filterPktStatus object for the packet to be\naccepted.\n\nFor the purposes of the matching algorithm, if the\nassociated filterPktStatus object or a packet status\nis longer than this mask, this mask is conceptually\nextended with '0' bits until it reaches the longer of\nthe lengths of the filterPktStatus object and the\npacket status.\n\nThis object may not be modified if the associated\nfilterStatus object is equal to valid(1).") filterOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 10), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") filterStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 1, 1, 11), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: filterStatus.setDescription("The status of this filter entry.") channelTable = MibTable((1, 3, 6, 1, 2, 1, 16, 7, 2)) if mibBuilder.loadTexts: channelTable.setDescription("A list of packet channel entries.") channelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 7, 2, 1)).setIndexNames((0, "RFC1271-MIB", "channelIndex")) if mibBuilder.loadTexts: channelEntry.setDescription("A set of parameters for a packet channel applied on a\nparticular interface.") channelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: channelIndex.setDescription("An index that uniquely identifies an entry\nin the channel table. Each such\nentry defines one channel, a logical data\nand event stream.") channelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device\nto which the associated filters are applied to allow\ndata into this channel. The interface identified by\na particular value of this object is the same\ninterface as identified by the same value of the\nifIndex object, defined in [4,6]. The filters in\nthis group are applied to all packets on the local\nnetwork segment attached to the identified\ninterface.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelAcceptType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("acceptMatched", 1), ("acceptFailed", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelAcceptType.setDescription("This object controls the action of the filters\nassociated with this channel. If this object is equal\nto acceptMatched(1), packets will be accepted to this\nchannel if they are accepted by both the packet data\nand packet status matches of an associated filter. If\nthis object is equal to acceptFailed(2), packets will\nbe accepted to this channel only if they fail either\nthe packet data match or the packet status match of\neach of the associated filters.\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelDataControl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelDataControl.setDescription("This object controls the flow of data through this\nchannel. If this object is on(1), data, status and\nevents flow through this channel. If this object is\noff(2), data, status and events will not flow through\nthis channel.") channelTurnOnEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelTurnOnEventIndex.setDescription("The value of this object identifies the event\nthat is configured to turn the associated\nchannelDataControl from off to on when the event is\ngenerated. The event identified by a particular value\nof this object is the same event as identified by the\nsame value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no\nassociation exists. In fact, if no event is intended\nfor this channel, channelTurnOnEventIndex must be\nset to zero, a non-existent event index.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelTurnOffEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelTurnOffEventIndex.setDescription("The value of this object identifies the event\nthat is configured to turn the associated\nchannelDataControl from on to off when the event is\ngenerated. The event identified by a particular value\nof this object is the same event as identified by the\nsame value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no\nassociation exists. In fact, if no event is intended\nfor this channel, channelTurnOffEventIndex must be\nset to zero, a non-existent event index.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelEventIndex.setDescription("The value of this object identifies the event\nthat is configured to be generated when the\nassociated channelDataControl is on and a packet\nis matched. The event identified by a particular value\nof this object is the same event as identified by the\nsame value of the eventIndex object. If there is no\ncorresponding entry in the eventTable, then no\nassociation exists. In fact, if no event is intended\nfor this channel, channelEventIndex must be\nset to zero, a non-existent event index.\n\nThis object may not be modified if the associated\nchannelStatus object is equal to valid(1).") channelEventStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("eventReady", 1), ("eventFired", 2), ("eventAlwaysReady", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelEventStatus.setDescription("The event status of this channel.\n\nIf this channel is configured to generate events\nwhen packets are matched, a means of controlling\nthe flow of those events is often needed. When\nthis object is equal to eventReady(1), a single\nevent may be generated, after which this object\nwill be set by the probe to eventFired(2). While\nin the eventFired(2) state, no events will be\ngenerated until the object is modified to\neventReady(1) (or eventAlwaysReady(3)). The\nmanagement station can thus easily respond to a\nnotification of an event by re-enabling this object.\n\nIf the management station wishes to disable this\nflow control and allow events to be generated\nat will, this object may be set to\neventAlwaysReady(3). Disabling the flow control\nis discouraged as it can result in high network\ntraffic or other performance problems.") channelMatches = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: channelMatches.setDescription("The number of times this channel has matched a packet.\nNote that this object is updated even when\nchannelDataControl is set to off.") channelDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelDescription.setDescription("A comment describing this channel.") channelOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 11), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") channelStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 7, 2, 1, 12), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: channelStatus.setDescription("The status of this channel entry.") capture = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 8)) bufferControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 8, 1)) if mibBuilder.loadTexts: bufferControlTable.setDescription("A list of buffers control entries.") bufferControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 8, 1, 1)).setIndexNames((0, "RFC1271-MIB", "bufferControlIndex")) if mibBuilder.loadTexts: bufferControlEntry.setDescription("A set of parameters that control the collection of\na stream of packets that have matched filters.") bufferControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlIndex.setDescription("An index that uniquely identifies an entry\nin the bufferControl table. The value of this\nindex shall never be zero. Each such\nentry defines one set of packets that is\ncaptured and controlled by one or more filters.") bufferControlChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlChannelIndex.setDescription("An index that identifies the channel that is the\nsource of packets for this bufferControl table.\nThe channel identified by a particular value of this\nindex is the same as identified by the same value of\nthe channelIndex object.\n\nThis object may not be modified if the associated\nbufferControlStatus object is equal to valid(1).") bufferControlFullStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("spaceAvailable", 1), ("full", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlFullStatus.setDescription("This object shows whether the buffer has room to\naccept new packets or if it is full.\n\nIf the status is spaceAvailable(1), the buffer is\naccepting new packets normally. If the status is\nfull(2) and the associated bufferControlFullAction\nobject is wrapWhenFull, the buffer is accepting new\npackets by deleting enough of the oldest packets\nto make room for new ones as they arrive. Otherwise,\nif the status is full(2) and the\nbufferControlFullAction object is lockWhenFull,\nthen the buffer has stopped collecting packets.\n\nWhen this object is set to full(2) the probe must\nnot later set it to spaceAvailable(1) except in the\ncase of a significant gain in resources such as\nan increase of bufferControlOctetsGranted. In\nparticular, the wrap-mode action of deleting old\npackets to make room for newly arrived packets\nmust not affect the value of this object.") bufferControlFullAction = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("lockWhenFull", 1), ("wrapWhenFull", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlFullAction.setDescription("Controls the action of the buffer when it\nreaches the full status. When in the lockWhenFull(1)\nstate a packet is added to the buffer that\nfills the buffer, the bufferControlFullStatus will\nbe set to full(2) and this buffer will stop capturing\npackets.") bufferControlCaptureSliceSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 5), Integer32().clone(100)).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlCaptureSliceSize.setDescription("The maximum number of octets of each packet\nthat will be saved in this capture buffer.\nFor example, if a 1500 octet packet is received by\nthe probe and this object is set to 500, then only\n500 octets of the packet will be stored in the\nassociated capture buffer. If this variable is set\nto 0, the capture buffer will save as many octets\nas is possible.\n\nThis object may not be modified if the associated\nbufferControlStatus object is equal to valid(1).") bufferControlDownloadSliceSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 6), Integer32().clone(100)).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlDownloadSliceSize.setDescription("The maximum number of octets of each packet\nin this capture buffer that will be returned in\nan SNMP retrieval of that packet. For example,\nif 500 octets of a packet have been stored in the\nassociated capture buffer, the associated\nbufferControlDownloadOffset is 0, and this\nobject is set to 100, then the captureBufferPacket\nobject that contains the packet will contain only\nthe first 100 octets of the packet.\n\nA prudent manager will take into account possible\ninteroperability or fragmentation problems that may\noccur if the download slice size is set too large.\nIn particular, conformant SNMP implementations are not\nrequired to accept messages whose length exceeds 484\noctets, although they are encouraged to support larger\ndatagrams whenever feasible.") bufferControlDownloadOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 7), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlDownloadOffset.setDescription("The offset of the first octet of each packet\nin this capture buffer that will be returned in\nan SNMP retrieval of that packet. For example,\nif 500 octets of a packet have been stored in the\nassociated capture buffer and this object is set to\n100, then the captureBufferPacket object that\ncontains the packet will contain bytes starting\n100 octets into the packet.") bufferControlMaxOctetsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 8), Integer32().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlMaxOctetsRequested.setDescription("The requested maximum number of octets to be\nsaved in this captureBuffer, including any\nimplementation-specific overhead. If this variable\nis set to -1, the capture buffer will save as many\noctets as is possible.\n\nWhen this object is created or modified, the probe\nshould set bufferControlMaxOctetsGranted as closely\nto this object as is possible for the particular probe\nimplementation and available resources. However, if\nthe object has the special value of -1, the probe\nmust set bufferControlMaxOctetsGranted to -1.") bufferControlMaxOctetsGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlMaxOctetsGranted.setDescription("The maximum number of octets that can be\nsaved in this captureBuffer, including overhead.\nIf this variable is -1, the capture buffer will save\nas many octets as possible.\n\nWhen the bufferControlMaxOctetsRequested object is\ncreated or modified, the probe should set this object\nas closely to the requested value as is possible for\nthe particular probe implementation and available\nresources. However, if the request object has the\nspecial value of -1, the probe must set this object\nto -1. The probe must not lower this value except\nas a result of a modification to the associated\nbufferControlMaxOctetsRequested object.\n\nWhen this maximum number of octets is reached\nand a new packet is to be added to this\ncapture buffer and the corresponding\nbufferControlFullAction is set to wrapWhenFull(2),\nenough of the oldest packets associated with this\ncapture buffer shall be deleted by the agent so\nthat the new packet can be added. If the\ncorresponding bufferControlFullAction is set to\nlockWhenFull(1), the new packet shall be discarded.\nIn either case, the probe must set\nbufferControlFullStatus to full(2).\n\nWhen the value of this object changes to a value less\nthan the current value, entries are deleted from\nthe captureBufferTable associated with this\nbufferControlEntry. Enough of the\noldest of these captureBufferEntries shall be\ndeleted by the agent so that the number of octets\nused remains less than or equal to the new value of\nthis object.\n\nWhen the value of this object changes to a value greater\nthan the current value, the number of associated\ncaptureBufferEntries may be allowed to grow.") bufferControlCapturedPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlCapturedPackets.setDescription("The number of packets currently in this captureBuffer.") bufferControlTurnOnTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: bufferControlTurnOnTime.setDescription("The value of sysUpTime when this capture buffer was\nfirst turned on.") bufferControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 12), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") bufferControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 1, 1, 13), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bufferControlStatus.setDescription("The status of this buffer Control Entry.") captureBufferTable = MibTable((1, 3, 6, 1, 2, 1, 16, 8, 2)) if mibBuilder.loadTexts: captureBufferTable.setDescription("A list of packets captured off of a channel.") captureBufferEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 8, 2, 1)).setIndexNames((0, "RFC1271-MIB", "captureBufferControlIndex"), (0, "RFC1271-MIB", "captureBufferIndex")) if mibBuilder.loadTexts: captureBufferEntry.setDescription("A packet captured off of an attached network.") captureBufferControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferControlIndex.setDescription("The index of the bufferControlEntry with which\nthis packet is associated.") captureBufferIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferIndex.setDescription("An index that uniquely identifies an entry\nin the captureBuffer table associated with a\nparticular bufferControlEntry. This index will\nstart at 1 and increase by one for each new packet\nadded with the same captureBufferControlIndex.") captureBufferPacketID = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketID.setDescription("An index that describes the order of packets\nthat are received on a particular interface.\nThe packetID of a packet captured on an\ninterface is defined to be greater than the\npacketID's of all packets captured previously on\nthe same interface. As the captureBufferPacketID\nobject has a maximum positive value of 2^31 - 1,\nany captureBufferPacketID object shall have the\nvalue of the associated packet's packetID mod 2^31.") captureBufferPacketData = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketData.setDescription("The data inside the packet, starting at the beginning\nof the packet plus any offset specified in the\nassociated bufferControlDownloadOffset, including any\nlink level headers. The length of the data in this\nobject is the minimum of the length of the captured\npacket minus the offset, the length of the associated\nbufferControlCaptureSliceSize minus the offset, and the\nassociated bufferControlDownloadSliceSize. If this\nminimum is less than zero, this object shall have a\nlength of zero.") captureBufferPacketLength = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketLength.setDescription("The actual length (off the wire) of the packet stored\nin this entry, including FCS octets.") captureBufferPacketTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketTime.setDescription("The number of milliseconds that had passed since\nthis capture buffer was first turned on when this\npacket was captured.") captureBufferPacketStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketStatus.setDescription("A value which indicates the error status of this\npacket.\n\nThe value of this object is defined in the same way as\nfilterPacketStatus. The value is a sum. This sum\ninitially takes the value zero. Then, for each\nerror, E, that has been discovered in this packet,\n2 raised to a value representing E is added to the sum.\n\nThe errors defined for a packet captured off of an\nEthernet interface are as follows:\n\n bit # Error\n 0 Packet is longer than 1518 octets\n 1 Packet is shorter than 64 octets\n 2 Packet experienced a CRC or Alignment\n error\n 3 First packet in this capture buffer after\n it was detected that some packets were\n not processed correctly.\n\nFor example, an Ethernet fragment would have a\nvalue of 6 (2^1 + 2^2).\n\nAs this MIB is expanded to new media types, this object\nwill have other media-specific errors defined.") event = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 9)) eventTable = MibTable((1, 3, 6, 1, 2, 1, 16, 9, 1)) if mibBuilder.loadTexts: eventTable.setDescription("A list of events to be generated.") eventEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 9, 1, 1)).setIndexNames((0, "RFC1271-MIB", "eventIndex")) if mibBuilder.loadTexts: eventEntry.setDescription("A set of parameters that describe an event to be\ngenerated when certain conditions are met.") eventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: eventIndex.setDescription("An index that uniquely identifies an entry in the\nevent table. Each such entry defines one event that\nis to be generated when the appropriate conditions\noccur.") eventDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eventDescription.setDescription("A comment describing this event entry.") eventType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("none", 1), ("log", 2), ("snmp-trap", 3), ("log-and-trap", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eventType.setDescription("The type of notification that the probe will make\nabout this event. In the case of log, an entry is\nmade in the log table for each event. In the case of\nsnmp-trap, an SNMP trap is sent to one or more\nmanagement stations.") eventCommunity = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eventCommunity.setDescription("If an SNMP trap is to be sent, it will be sent to\nthe SNMP community specified by this octet string.\nIn the future this table will be extended to include\nthe party security mechanism. This object shall be\nset to a string of length zero if it is intended that\nthat mechanism be used to specify the destination of\nthe trap.") eventLastTimeSent = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: eventLastTimeSent.setDescription("The value of sysUpTime at the time this event\nentry last generated an event. If this entry has\nnot generated any events, this value will be\nzero.") eventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 6), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eventOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.\n\nIf this object contains a string starting with 'monitor'\nand has associated entries in the log table, all\nconnected management stations should retrieve those\nlog entries, as they may have significance to all\nmanagement stations connected to this device") eventStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 1, 1, 7), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eventStatus.setDescription("The status of this event entry.\n\nIf this object is not equal to valid(1), all associated\nlog entries shall be deleted by the agent.") logTable = MibTable((1, 3, 6, 1, 2, 1, 16, 9, 2)) if mibBuilder.loadTexts: logTable.setDescription("A list of events that have been logged.") logEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 9, 2, 1)).setIndexNames((0, "RFC1271-MIB", "logEventIndex"), (0, "RFC1271-MIB", "logIndex")) if mibBuilder.loadTexts: logEntry.setDescription("A set of data describing an event that has been\nlogged.") logEventIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: logEventIndex.setDescription("The event entry that generated this log\nentry. The log identified by a particular\nvalue of this index is associated with the same\neventEntry as identified by the same value\nof eventIndex.") logIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: logIndex.setDescription("An index that uniquely identifies an entry\nin the log table amongst those generated by the\nsame eventEntries. These indexes are\nassigned beginning with 1 and increase by one\nwith each new log entry. The association\nbetween values of logIndex and logEntries\nis fixed for the lifetime of each logEntry.\nThe agent may choose to delete the oldest\ninstances of logEntry as required because of\nlack of memory. It is an implementation-specific\nmatter as to when this deletion may occur.") logTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: logTime.setDescription("The value of sysUpTime when this log entry was\ncreated.") logDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 9, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: logDescription.setDescription("An implementation dependent description of the\nevent that activated this log entry.") # Augmentions # Exports # Types mibBuilder.exportSymbols("RFC1271-MIB", EntryStatus=EntryStatus, OwnerString=OwnerString) # Objects mibBuilder.exportSymbols("RFC1271-MIB", rmon=rmon, statistics=statistics, etherStatsTable=etherStatsTable, etherStatsEntry=etherStatsEntry, etherStatsIndex=etherStatsIndex, etherStatsDataSource=etherStatsDataSource, etherStatsDropEvents=etherStatsDropEvents, etherStatsOctets=etherStatsOctets, etherStatsPkts=etherStatsPkts, etherStatsBroadcastPkts=etherStatsBroadcastPkts, etherStatsMulticastPkts=etherStatsMulticastPkts, etherStatsCRCAlignErrors=etherStatsCRCAlignErrors, etherStatsUndersizePkts=etherStatsUndersizePkts, etherStatsOversizePkts=etherStatsOversizePkts, etherStatsFragments=etherStatsFragments, etherStatsJabbers=etherStatsJabbers, etherStatsCollisions=etherStatsCollisions, etherStatsPkts64Octets=etherStatsPkts64Octets, etherStatsPkts65to127Octets=etherStatsPkts65to127Octets, etherStatsPkts128to255Octets=etherStatsPkts128to255Octets, etherStatsPkts256to511Octets=etherStatsPkts256to511Octets, etherStatsPkts512to1023Octets=etherStatsPkts512to1023Octets, etherStatsPkts1024to1518Octets=etherStatsPkts1024to1518Octets, etherStatsOwner=etherStatsOwner, etherStatsStatus=etherStatsStatus, history=history, historyControlTable=historyControlTable, historyControlEntry=historyControlEntry, historyControlIndex=historyControlIndex, historyControlDataSource=historyControlDataSource, historyControlBucketsRequested=historyControlBucketsRequested, historyControlBucketsGranted=historyControlBucketsGranted, historyControlInterval=historyControlInterval, historyControlOwner=historyControlOwner, historyControlStatus=historyControlStatus, etherHistoryTable=etherHistoryTable, etherHistoryEntry=etherHistoryEntry, etherHistoryIndex=etherHistoryIndex, etherHistorySampleIndex=etherHistorySampleIndex, etherHistoryIntervalStart=etherHistoryIntervalStart, etherHistoryDropEvents=etherHistoryDropEvents, etherHistoryOctets=etherHistoryOctets, etherHistoryPkts=etherHistoryPkts, etherHistoryBroadcastPkts=etherHistoryBroadcastPkts, etherHistoryMulticastPkts=etherHistoryMulticastPkts, etherHistoryCRCAlignErrors=etherHistoryCRCAlignErrors, etherHistoryUndersizePkts=etherHistoryUndersizePkts, etherHistoryOversizePkts=etherHistoryOversizePkts, etherHistoryFragments=etherHistoryFragments, etherHistoryJabbers=etherHistoryJabbers, etherHistoryCollisions=etherHistoryCollisions, etherHistoryUtilization=etherHistoryUtilization, alarm=alarm, alarmTable=alarmTable, alarmEntry=alarmEntry, alarmIndex=alarmIndex, alarmInterval=alarmInterval, alarmVariable=alarmVariable, alarmSampleType=alarmSampleType, alarmValue=alarmValue, alarmStartupAlarm=alarmStartupAlarm, alarmRisingThreshold=alarmRisingThreshold, alarmFallingThreshold=alarmFallingThreshold, alarmRisingEventIndex=alarmRisingEventIndex, alarmFallingEventIndex=alarmFallingEventIndex, alarmOwner=alarmOwner, alarmStatus=alarmStatus, hosts=hosts, hostControlTable=hostControlTable, hostControlEntry=hostControlEntry, hostControlIndex=hostControlIndex, hostControlDataSource=hostControlDataSource, hostControlTableSize=hostControlTableSize, hostControlLastDeleteTime=hostControlLastDeleteTime, hostControlOwner=hostControlOwner, hostControlStatus=hostControlStatus, hostTable=hostTable, hostEntry=hostEntry, hostAddress=hostAddress, hostCreationOrder=hostCreationOrder, hostIndex=hostIndex, hostInPkts=hostInPkts, hostOutPkts=hostOutPkts, hostInOctets=hostInOctets, hostOutOctets=hostOutOctets, hostOutErrors=hostOutErrors, hostOutBroadcastPkts=hostOutBroadcastPkts, hostOutMulticastPkts=hostOutMulticastPkts, hostTimeTable=hostTimeTable, hostTimeEntry=hostTimeEntry, hostTimeAddress=hostTimeAddress, hostTimeCreationOrder=hostTimeCreationOrder, hostTimeIndex=hostTimeIndex, hostTimeInPkts=hostTimeInPkts, hostTimeOutPkts=hostTimeOutPkts, hostTimeInOctets=hostTimeInOctets, hostTimeOutOctets=hostTimeOutOctets, hostTimeOutErrors=hostTimeOutErrors, hostTimeOutBroadcastPkts=hostTimeOutBroadcastPkts, hostTimeOutMulticastPkts=hostTimeOutMulticastPkts, hostTopN=hostTopN, hostTopNControlTable=hostTopNControlTable, hostTopNControlEntry=hostTopNControlEntry, hostTopNControlIndex=hostTopNControlIndex, hostTopNHostIndex=hostTopNHostIndex, hostTopNRateBase=hostTopNRateBase, hostTopNTimeRemaining=hostTopNTimeRemaining, hostTopNDuration=hostTopNDuration, hostTopNRequestedSize=hostTopNRequestedSize, hostTopNGrantedSize=hostTopNGrantedSize, hostTopNStartTime=hostTopNStartTime, hostTopNOwner=hostTopNOwner, hostTopNStatus=hostTopNStatus, hostTopNTable=hostTopNTable, hostTopNEntry=hostTopNEntry, hostTopNReport=hostTopNReport, hostTopNIndex=hostTopNIndex, hostTopNAddress=hostTopNAddress, hostTopNRate=hostTopNRate, matrix=matrix, matrixControlTable=matrixControlTable, matrixControlEntry=matrixControlEntry, matrixControlIndex=matrixControlIndex, matrixControlDataSource=matrixControlDataSource, matrixControlTableSize=matrixControlTableSize, matrixControlLastDeleteTime=matrixControlLastDeleteTime) mibBuilder.exportSymbols("RFC1271-MIB", matrixControlOwner=matrixControlOwner, matrixControlStatus=matrixControlStatus, matrixSDTable=matrixSDTable, matrixSDEntry=matrixSDEntry, matrixSDSourceAddress=matrixSDSourceAddress, matrixSDDestAddress=matrixSDDestAddress, matrixSDIndex=matrixSDIndex, matrixSDPkts=matrixSDPkts, matrixSDOctets=matrixSDOctets, matrixSDErrors=matrixSDErrors, matrixDSTable=matrixDSTable, matrixDSEntry=matrixDSEntry, matrixDSSourceAddress=matrixDSSourceAddress, matrixDSDestAddress=matrixDSDestAddress, matrixDSIndex=matrixDSIndex, matrixDSPkts=matrixDSPkts, matrixDSOctets=matrixDSOctets, matrixDSErrors=matrixDSErrors, filter=filter, filterTable=filterTable, filterEntry=filterEntry, filterIndex=filterIndex, filterChannelIndex=filterChannelIndex, filterPktDataOffset=filterPktDataOffset, filterPktData=filterPktData, filterPktDataMask=filterPktDataMask, filterPktDataNotMask=filterPktDataNotMask, filterPktStatus=filterPktStatus, filterPktStatusMask=filterPktStatusMask, filterPktStatusNotMask=filterPktStatusNotMask, filterOwner=filterOwner, filterStatus=filterStatus, channelTable=channelTable, channelEntry=channelEntry, channelIndex=channelIndex, channelIfIndex=channelIfIndex, channelAcceptType=channelAcceptType, channelDataControl=channelDataControl, channelTurnOnEventIndex=channelTurnOnEventIndex, channelTurnOffEventIndex=channelTurnOffEventIndex, channelEventIndex=channelEventIndex, channelEventStatus=channelEventStatus, channelMatches=channelMatches, channelDescription=channelDescription, channelOwner=channelOwner, channelStatus=channelStatus, capture=capture, bufferControlTable=bufferControlTable, bufferControlEntry=bufferControlEntry, bufferControlIndex=bufferControlIndex, bufferControlChannelIndex=bufferControlChannelIndex, bufferControlFullStatus=bufferControlFullStatus, bufferControlFullAction=bufferControlFullAction, bufferControlCaptureSliceSize=bufferControlCaptureSliceSize, bufferControlDownloadSliceSize=bufferControlDownloadSliceSize, bufferControlDownloadOffset=bufferControlDownloadOffset, bufferControlMaxOctetsRequested=bufferControlMaxOctetsRequested, bufferControlMaxOctetsGranted=bufferControlMaxOctetsGranted, bufferControlCapturedPackets=bufferControlCapturedPackets, bufferControlTurnOnTime=bufferControlTurnOnTime, bufferControlOwner=bufferControlOwner, bufferControlStatus=bufferControlStatus, captureBufferTable=captureBufferTable, captureBufferEntry=captureBufferEntry, captureBufferControlIndex=captureBufferControlIndex, captureBufferIndex=captureBufferIndex, captureBufferPacketID=captureBufferPacketID, captureBufferPacketData=captureBufferPacketData, captureBufferPacketLength=captureBufferPacketLength, captureBufferPacketTime=captureBufferPacketTime, captureBufferPacketStatus=captureBufferPacketStatus, event=event, eventTable=eventTable, eventEntry=eventEntry, eventIndex=eventIndex, eventDescription=eventDescription, eventType=eventType, eventCommunity=eventCommunity, eventLastTimeSent=eventLastTimeSent, eventOwner=eventOwner, eventStatus=eventStatus, logTable=logTable, logEntry=logEntry, logEventIndex=logEventIndex, logIndex=logIndex, logTime=logTime, logDescription=logDescription) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-LDP-ATM-STD-MIB.py0000644000014400001440000005570011736645137021704 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-LDP-ATM-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:20 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AtmVpIdentifier, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmVpIdentifier") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( mplsLdpEntityIndex, mplsLdpEntityLdpId, mplsLdpPeerLdpId, ) = mibBuilder.importSymbols("MPLS-LDP-STD-MIB", "mplsLdpEntityIndex", "mplsLdpEntityLdpId", "mplsLdpPeerLdpId") ( MplsAtmVcIdentifier, mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsAtmVcIdentifier", "mplsStdMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType") # Objects mplsLdpAtmStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 5)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsLdpAtmStdMIB.setOrganization("Multiprotocol Label Switching (mpls)\nWorking Group") if mibBuilder.loadTexts: mplsLdpAtmStdMIB.setContactInfo("Joan Cucchiara (jcucchiara@mindspring.com)\nMarconi Communications, Inc.\n\nHans Sjostrand (hans@ipunplugged.com)\nipUnplugged\n\nJames V. Luciani (james_luciani@mindspring.com)\nMarconi Communications, Inc.\n\nWorking Group Chairs:\nGeorge Swallow, email: swallow@cisco.com\nLoa Andersson, email: loa@pi.se\n\nMPLS Working Group, email: mpls@uu.net") if mibBuilder.loadTexts: mplsLdpAtmStdMIB.setDescription("Copyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3815. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html\n\nThis MIB contains managed object definitions for\nconfiguring and monitoring the Multiprotocol Label\nSwitching (MPLS), Label Distribution Protocol (LDP),\nutilizing Asynchronous Transfer Mode (ATM) as the Layer 2\nmedia.") mplsLdpAtmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 5, 1)) mplsLdpEntityAtmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1)) mplsLdpEntityAtmTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1)) if mibBuilder.loadTexts: mplsLdpEntityAtmTable.setDescription("This table contains ATM specific information\nwhich could be used in the\n'Optional Parameters' and other ATM specific\ninformation.\n\nThis table 'sparse augments' the mplsLdpEntityTable\nwhen ATM is the Layer 2 medium.") mplsLdpEntityAtmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex")) if mibBuilder.loadTexts: mplsLdpEntityAtmEntry.setDescription("An entry in this table represents the ATM parameters\nand ATM information for this LDP entity.") mplsLdpEntityAtmIfIndexOrZero = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 1), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmIfIndexOrZero.setDescription("This value represents either the InterfaceIndex\nor 0 (zero). The value of zero means that the\nInterfaceIndex is not known.\n\nHowever, if the InterfaceIndex is known, then it must\nbe represented by this value.\n\nIf an InterfaceIndex becomes known, then the\nnetwork management entity (e.g., SNMP agent) responsible\nfor this object MUST change the value from 0 (zero) to the\nvalue of the InterfaceIndex. If an ATM Label is\nbeing used in forwarding data, then the value of this\nobject MUST be the InterfaceIndex.") mplsLdpEntityAtmMergeCap = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,0,2,1,)).subtype(namedValues=NamedValues(("notSupported", 0), ("vpMerge", 1), ("vcMerge", 2), ("vpAndVcMerge", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmMergeCap.setDescription("Denotes the Merge Capability of this Entity.\nThis is the EXACT value for the ATM Session\nParameter, field M (for ATM Merge Capabilities).\nThe ATM Session Parameter is an optional\nparameter in the Initialization Message.\n\nThe description from rfc3036.txt is:\n\n'M, ATM Merge Capabilities\n Specifies the merge capabilities of an ATM switch. The\n following values are supported in this version of the\n specification:\n\n Value Meaning\n\n 0 Merge not supported\n 1 VP Merge supported\n 2 VC Merge supported\n 3 VP & VC Merge supported\n\n\n\n\n If the merge capabilities of the LSRs differ, then:\n - Non-merge and VC-merge LSRs may freely interoperate.\n\n - The interoperability of VP-merge-capable switches\n with non-VP-merge-capable switches is a subject\n for future study. When the LSRs differ on the\n use of VP-merge, the session is established,\n but VP merge is not used.'\n\n Please refer to the following reference for a\n complete description of this feature.") mplsLdpEntityAtmLRComponents = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpEntityAtmLRComponents.setDescription("Number of Label Range Components in the Initialization\nmessage. This also represents the number of entries\nin the mplsLdpEntityAtmLRTable which correspond\nto this entry.\n\nThis is the EXACT value for the ATM Session Parameter,\nfield N (for Number of label range components).\nThe ATM Session Parameter is an optional parameter\nin the Initialization Message.\n\nThe description from rfc3036.txt is:\n\n'N, Number of label range components\n Specifies the number of ATM Label Range\n Components included in the TLV.'\n\n Please refer to the following reference for\n a complete description of this feature.") mplsLdpEntityAtmVcDirectionality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(0,1,)).subtype(namedValues=NamedValues(("bidirectional", 0), ("unidirectional", 1), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmVcDirectionality.setDescription("If the value of this object is 'bidirectional(0)',\na given VCI, within a given VPI, is used as a\nlabel for both directions independently.\n\nIf the value of this object is 'unidirectional(1)',\na given VCI within a VPI designates one direction.\n\nThis is the EXACT value for the ATM Session Parameter,\nfield D (for VC Directionality). The ATM Session\nParameter is an optional parameter in the\nInitialization Message.\n\nThe description from rfc3036.txt is:\n\n'D, VC Directionality\n A value of 0 specifies bidirectional VC capability,\n meaning the LSR can (within a given VPI) support\n the use of a given VCI as a label for both link\n directions independently. A value of 1\n specifies unidirectional VC capability, meaning\n (within a given VPI) a given VCI may appear in\n a label mapping for one direction on the link\n only. When either or both of the peers\n specifies unidirectional VC capability, both\n LSRs use unidirectional VC label assignment for\n the link as follows. The LSRs compare their\n LDP Identifiers as unsigned integers. The LSR\n with the larger LDP Identifier may assign\n only odd-numbered VCIs in the VPI/VCI\n range as labels. The system with the smaller\n LDP Identifier may assign only even-numbered\n VCIs in the VPI/VCI range as labels.'\n\n Please refer to the following reference\n for a complete description of this feature.") mplsLdpEntityAtmLsrConnectivity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("direct", 1), ("indirect", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmLsrConnectivity.setDescription("The peer LSR may be connected indirectly by means\nof an ATM VP so that the VPI values may be different\non either endpoint so the label MUST be encoded\nentirely within the VCI field.") mplsLdpEntityAtmDefaultControlVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 6), AtmVpIdentifier().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmDefaultControlVpi.setDescription("The default VPI value for the non-MPLS connection. The\ndefault value of this is 0 (zero) but other values may\nbe configured. This object allows a different value\nto be configured.") mplsLdpEntityAtmDefaultControlVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 7), MplsAtmVcIdentifier().clone('32')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmDefaultControlVci.setDescription("The Default VCI value for a non-MPLS connection. The\ndefault value of this is 32 but other values may be\nconfigured. This object allows a different value to\nbe configured.") mplsLdpEntityAtmUnlabTrafVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 8), AtmVpIdentifier().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmUnlabTrafVpi.setDescription("VPI value of the VCC supporting unlabeled traffic. This\nnon-MPLS connection is used to carry unlabeled (IP)\npackets. The default value is the same as the default\nvalue of the 'mplsLdpEntityAtmDefaultControlVpi', however\nanother value may be configured.") mplsLdpEntityAtmUnlabTrafVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 9), MplsAtmVcIdentifier().clone('32')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmUnlabTrafVci.setDescription("VCI value of the VCC supporting unlabeled traffic.\nThis non-MPLS connection is used to carry unlabeled (IP)\npackets. The default value is the same as the default\nvalue of the 'mplsLdpEntityAtmDefaultControlVci', however\nanother value may be configured.") mplsLdpEntityAtmStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 10), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLdpEntityAtmRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 1, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmRowStatus.setDescription("The status of this conceptual row. All writable\nobjects in this row may be modified at any time,\nhowever, as described in detail in the section\nentitled, 'Changing Values After Session\nEstablishment', and again described in the\nDESCRIPTION clause of the mplsLdpEntityAdminStatus\nobject, if a session has been initiated with a Peer,\nchanging objects in this table will wreak havoc\nwith the session and interrupt traffic. To repeat again:\nthe recommended procedure is to set the\nmplsLdpEntityAdminStatus to down, thereby explicitly\ncausing a session to be torn down. Then,\nchange objects in this entry, then set the\nmplsLdpEntityAdminStatus to enable\nwhich enables a new session to be initiated.") mplsLdpEntityAtmLRTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2)) if mibBuilder.loadTexts: mplsLdpEntityAtmLRTable.setDescription("The MPLS LDP Entity ATM Label Range (LR) Table.\nThe purpose of this table is to provide a mechanism\nfor configuring a contiguous range of vpi's\nwith a contiguous range of vci's, or a 'label range'\nfor LDP Entities.\n\nLDP Entities which use ATM must have at least one\nentry in this table.\n\nThere must exist at least one entry in this\ntable for every LDP Entity that has\n'mplsLdpEntityOptionalParameters' object with\na value of 'atmSessionParameters'.") mplsLdpEntityAtmLREntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLRMinVpi"), (0, "MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLRMinVci")) if mibBuilder.loadTexts: mplsLdpEntityAtmLREntry.setDescription("A row in the LDP Entity ATM Label\nRange Table. One entry in this table contains\ninformation on a single range of labels\nrepresented by the configured Upper and Lower\nBounds VPI/VCI pairs. These are the same\ndata used in the Initialization Message.\n\nNOTE: The ranges for a specific LDP Entity\nare UNIQUE and non-overlapping. For example,\nfor a specific LDP Entity index, there could\nbe one entry having LowerBound vpi/vci == 0/32, and\nUpperBound vpi/vci == 0/100, and a second entry\nfor this same interface with LowerBound\nvpi/vci == 0/101 and UpperBound vpi/vci == 0/200.\nHowever, there could not be a third entry with\nLowerBound vpi/vci == 0/200 and\nUpperBound vpi/vci == 0/300 because this label\nrange overlaps with the second entry (i.e., both\nentries now have 0/200).\n\n\n\nA row will not become active unless a unique and\nnon-overlapping range is specified.\n\nAt least one label range entry for a\nspecific LDP Entity MUST\ninclude the default VPI/VCI values denoted\nin the LDP Entity Table.\n\nA request to create a row with an overlapping\nrange should result in an inconsistentValue\nerror.") mplsLdpEntityAtmLRMinVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2, 1, 1), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpEntityAtmLRMinVpi.setDescription("The minimum VPI number configured for this range.\nThe value of zero is a valid value for the VPI portion\nof the label.") mplsLdpEntityAtmLRMinVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2, 1, 2), MplsAtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpEntityAtmLRMinVci.setDescription("The minimum VCI number configured for this range.") mplsLdpEntityAtmLRMaxVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2, 1, 3), AtmVpIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmLRMaxVpi.setDescription("The maximum VPI number configured for this range.") mplsLdpEntityAtmLRMaxVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2, 1, 4), MplsAtmVcIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmLRMaxVci.setDescription("The maximum VCI number configured for this range.") mplsLdpEntityAtmLRStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmLRStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLdpEntityAtmLRRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 1, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLdpEntityAtmLRRowStatus.setDescription("The status of this conceptual row. All writable\nobjects in this row may be modified at any time,\nhowever, as described in detail in the section\nentitled, 'Changing Values After Session\nEstablishment', and again described in the\nDESCRIPTION clause of the\nmplsLdpEntityAdminStatus object,\nif a session has been initiated with a Peer,\nchanging objects in this table will\nwreak havoc with the session and interrupt traffic.\nTo repeat again: the recommended procedure\nis to set the mplsLdpEntityAdminStatus to\ndown, thereby explicitly causing a session\nto be torn down. Then, change objects in this\nentry, then set the mplsLdpEntityAdminStatus\nto enable which enables a new session\nto be initiated.") mplsLdpAtmSessionObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 2)) mplsLdpAtmSessionTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 2, 1)) if mibBuilder.loadTexts: mplsLdpAtmSessionTable.setDescription("A table which relates sessions in the\n'mplsLdpSessionTable' and their label\nrange intersections. There could be one\nor more label range intersections between an\nLDP Entity and LDP Peer using ATM as the\nunderlying media. Each row represents\na single label range intersection.\n\nThis table cannot use the 'AUGMENTS'\nclause because there is not necessarily\na one-to-one mapping between this table\nand the mplsLdpSessionTable.") mplsLdpAtmSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 2, 1, 1)).setIndexNames((0, "MPLS-LDP-STD-MIB", "mplsLdpEntityLdpId"), (0, "MPLS-LDP-STD-MIB", "mplsLdpEntityIndex"), (0, "MPLS-LDP-STD-MIB", "mplsLdpPeerLdpId"), (0, "MPLS-LDP-ATM-STD-MIB", "mplsLdpSessionAtmLRLowerBoundVpi"), (0, "MPLS-LDP-ATM-STD-MIB", "mplsLdpSessionAtmLRLowerBoundVci")) if mibBuilder.loadTexts: mplsLdpAtmSessionEntry.setDescription("An entry in this table represents information on a\nsingle label range intersection between an LDP Entity\nand LDP Peer.\n\nThe information contained in a row is read-only.") mplsLdpSessionAtmLRLowerBoundVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 2, 1, 1, 1), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpSessionAtmLRLowerBoundVpi.setDescription("The minimum VPI number for this range.") mplsLdpSessionAtmLRLowerBoundVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 2, 1, 1, 2), MplsAtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsLdpSessionAtmLRLowerBoundVci.setDescription("The minimum VCI number for this range.") mplsLdpSessionAtmLRUpperBoundVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 2, 1, 1, 3), AtmVpIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionAtmLRUpperBoundVpi.setDescription("The maximum VPI number for this range.") mplsLdpSessionAtmLRUpperBoundVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 5, 1, 2, 1, 1, 4), MplsAtmVcIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsLdpSessionAtmLRUpperBoundVci.setDescription("The maximum VCI number for this range.") mplsLdpAtmConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 5, 2)) mplsLdpAtmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 5, 2, 1)) mplsLdpAtmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 5, 2, 2)) # Augmentions # Groups mplsLdpAtmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 5, 2, 1, 1)).setObjects(*(("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmMergeCap"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLsrConnectivity"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLRComponents"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLRMaxVci"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmDefaultControlVci"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmRowStatus"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmUnlabTrafVpi"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpSessionAtmLRUpperBoundVpi"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmDefaultControlVpi"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmUnlabTrafVci"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLRRowStatus"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLRStorageType"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmIfIndexOrZero"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpSessionAtmLRUpperBoundVci"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmLRMaxVpi"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmVcDirectionality"), ("MPLS-LDP-ATM-STD-MIB", "mplsLdpEntityAtmStorageType"), ) ) if mibBuilder.loadTexts: mplsLdpAtmGroup.setDescription("Objects that apply to all MPLS LDP implementations\nusing ATM as the Layer 2.") # Compliances mplsLdpAtmModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 5, 2, 2, 1)).setObjects(*(("MPLS-LDP-ATM-STD-MIB", "mplsLdpAtmGroup"), ) ) if mibBuilder.loadTexts: mplsLdpAtmModuleFullCompliance.setDescription("The Module is implemented with support for\nread-create and read-write. In other words,\nboth monitoring and configuration\nare available when using this MODULE-COMPLIANCE.") mplsLdpAtmModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 5, 2, 2, 2)).setObjects(*(("MPLS-LDP-ATM-STD-MIB", "mplsLdpAtmGroup"), ) ) if mibBuilder.loadTexts: mplsLdpAtmModuleReadOnlyCompliance.setDescription("The Module is implemented with support for\nread-only. In other words, only monitoring\nis available by implementing this MODULE-COMPLIANCE.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-LDP-ATM-STD-MIB", PYSNMP_MODULE_ID=mplsLdpAtmStdMIB) # Objects mibBuilder.exportSymbols("MPLS-LDP-ATM-STD-MIB", mplsLdpAtmStdMIB=mplsLdpAtmStdMIB, mplsLdpAtmObjects=mplsLdpAtmObjects, mplsLdpEntityAtmObjects=mplsLdpEntityAtmObjects, mplsLdpEntityAtmTable=mplsLdpEntityAtmTable, mplsLdpEntityAtmEntry=mplsLdpEntityAtmEntry, mplsLdpEntityAtmIfIndexOrZero=mplsLdpEntityAtmIfIndexOrZero, mplsLdpEntityAtmMergeCap=mplsLdpEntityAtmMergeCap, mplsLdpEntityAtmLRComponents=mplsLdpEntityAtmLRComponents, mplsLdpEntityAtmVcDirectionality=mplsLdpEntityAtmVcDirectionality, mplsLdpEntityAtmLsrConnectivity=mplsLdpEntityAtmLsrConnectivity, mplsLdpEntityAtmDefaultControlVpi=mplsLdpEntityAtmDefaultControlVpi, mplsLdpEntityAtmDefaultControlVci=mplsLdpEntityAtmDefaultControlVci, mplsLdpEntityAtmUnlabTrafVpi=mplsLdpEntityAtmUnlabTrafVpi, mplsLdpEntityAtmUnlabTrafVci=mplsLdpEntityAtmUnlabTrafVci, mplsLdpEntityAtmStorageType=mplsLdpEntityAtmStorageType, mplsLdpEntityAtmRowStatus=mplsLdpEntityAtmRowStatus, mplsLdpEntityAtmLRTable=mplsLdpEntityAtmLRTable, mplsLdpEntityAtmLREntry=mplsLdpEntityAtmLREntry, mplsLdpEntityAtmLRMinVpi=mplsLdpEntityAtmLRMinVpi, mplsLdpEntityAtmLRMinVci=mplsLdpEntityAtmLRMinVci, mplsLdpEntityAtmLRMaxVpi=mplsLdpEntityAtmLRMaxVpi, mplsLdpEntityAtmLRMaxVci=mplsLdpEntityAtmLRMaxVci, mplsLdpEntityAtmLRStorageType=mplsLdpEntityAtmLRStorageType, mplsLdpEntityAtmLRRowStatus=mplsLdpEntityAtmLRRowStatus, mplsLdpAtmSessionObjects=mplsLdpAtmSessionObjects, mplsLdpAtmSessionTable=mplsLdpAtmSessionTable, mplsLdpAtmSessionEntry=mplsLdpAtmSessionEntry, mplsLdpSessionAtmLRLowerBoundVpi=mplsLdpSessionAtmLRLowerBoundVpi, mplsLdpSessionAtmLRLowerBoundVci=mplsLdpSessionAtmLRLowerBoundVci, mplsLdpSessionAtmLRUpperBoundVpi=mplsLdpSessionAtmLRUpperBoundVpi, mplsLdpSessionAtmLRUpperBoundVci=mplsLdpSessionAtmLRUpperBoundVci, mplsLdpAtmConformance=mplsLdpAtmConformance, mplsLdpAtmGroups=mplsLdpAtmGroups, mplsLdpAtmCompliances=mplsLdpAtmCompliances) # Groups mibBuilder.exportSymbols("MPLS-LDP-ATM-STD-MIB", mplsLdpAtmGroup=mplsLdpAtmGroup) # Compliances mibBuilder.exportSymbols("MPLS-LDP-ATM-STD-MIB", mplsLdpAtmModuleFullCompliance=mplsLdpAtmModuleFullCompliance, mplsLdpAtmModuleReadOnlyCompliance=mplsLdpAtmModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/BRIDGE-MIB.py0000644000014400001440000011713311736645135020376 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python BRIDGE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( MacAddress, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TextualConvention") # Types class BridgeId(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class Timeout(TextualConvention, Integer32): displayHint = "d" # Objects dot1dBridge = ModuleIdentity((1, 3, 6, 1, 2, 1, 17)).setRevisions(("2005-09-19 00:00","1993-07-31 00:00","1991-12-31 00:00",)) if mibBuilder.loadTexts: dot1dBridge.setOrganization("IETF Bridge MIB Working Group") if mibBuilder.loadTexts: dot1dBridge.setContactInfo("Email: bridge-mib@ietf.org\n\nK.C. Norseth (Editor)\nL-3 Communications\nTel: +1 801-594-2809\nEmail: kenyon.c.norseth@L-3com.com\nPostal: 640 N. 2200 West.\nSalt Lake City, Utah 84116-0850\n\n\n\n\nLes Bell (Editor)\n3Com Europe Limited\nPhone: +44 1442 438025\nEmail: elbell@ntlworld.com\nPostal: 3Com Centre, Boundary Way\nHemel Hempstead\nHerts. HP2 7YU\nUK\n\nSend comments to ") if mibBuilder.loadTexts: dot1dBridge.setDescription("The Bridge MIB module for managing devices that support\nIEEE 802.1D.\n\nCopyright (C) The Internet Society (2005). This version of\nthis MIB module is part of RFC 4188; see the RFC itself for\nfull legal notices.") dot1dNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 0)) dot1dBase = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 1)) dot1dBaseBridgeAddress = MibScalar((1, 3, 6, 1, 2, 1, 17, 1, 1), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dBaseBridgeAddress.setDescription("The MAC address used by this bridge when it must be\nreferred to in a unique fashion. It is recommended\nthat this be the numerically smallest MAC address of\nall ports that belong to this bridge. However, it is only\n\n\n\nrequired to be unique. When concatenated with\ndot1dStpPriority, a unique BridgeIdentifier is formed,\nwhich is used in the Spanning Tree Protocol.") dot1dBaseNumPorts = MibScalar((1, 3, 6, 1, 2, 1, 17, 1, 2), Integer32()).setMaxAccess("readonly").setUnits("ports") if mibBuilder.loadTexts: dot1dBaseNumPorts.setDescription("The number of ports controlled by this bridging\nentity.") dot1dBaseType = MibScalar((1, 3, 6, 1, 2, 1, 17, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("transparent-only", 2), ("sourceroute-only", 3), ("srt", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dBaseType.setDescription("Indicates what type of bridging this bridge can\nperform. If a bridge is actually performing a\ncertain type of bridging, this will be indicated by\nentries in the port table for the given type.") dot1dBasePortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 1, 4)) if mibBuilder.loadTexts: dot1dBasePortTable.setDescription("A table that contains generic information about every\nport that is associated with this bridge. Transparent,\nsource-route, and srt ports are included.") dot1dBasePortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 1, 4, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort")) if mibBuilder.loadTexts: dot1dBasePortEntry.setDescription("A list of information for each port of the bridge.") dot1dBasePort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dBasePort.setDescription("The port number of the port for which this entry\ncontains bridge management information.") dot1dBasePortIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 1, 4, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dBasePortIfIndex.setDescription("The value of the instance of the ifIndex object,\ndefined in IF-MIB, for the interface corresponding\nto this port.") dot1dBasePortCircuit = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 1, 4, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dBasePortCircuit.setDescription("For a port that (potentially) has the same value of\ndot1dBasePortIfIndex as another port on the same bridge.\nThis object contains the name of an object instance\nunique to this port. For example, in the case where\nmultiple ports correspond one-to-one with multiple X.25\nvirtual circuits, this value might identify an (e.g.,\nthe first) object instance associated with the X.25\nvirtual circuit corresponding to this port.\n\nFor a port which has a unique value of\ndot1dBasePortIfIndex, this object can have the value\n{ 0 0 }.") dot1dBasePortDelayExceededDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dBasePortDelayExceededDiscards.setDescription("The number of frames discarded by this port due\nto excessive transit delay through the bridge. It\nis incremented by both transparent and source\nroute bridges.") dot1dBasePortMtuExceededDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dBasePortMtuExceededDiscards.setDescription("The number of frames discarded by this port due\nto an excessive size. It is incremented by both\ntransparent and source route bridges.") dot1dStp = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 2)) dot1dStpProtocolSpecification = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("decLb100", 2), ("ieee8021d", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpProtocolSpecification.setDescription("An indication of what version of the Spanning Tree\nProtocol is being run. The value 'decLb100(2)'\nindicates the DEC LANbridge 100 Spanning Tree protocol.\nIEEE 802.1D implementations will return 'ieee8021d(3)'.\nIf future versions of the IEEE Spanning Tree Protocol\nthat are incompatible with the current version\nare released a new value will be defined.") dot1dStpPriority = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPriority.setDescription("The value of the write-able portion of the Bridge ID\n(i.e., the first two octets of the (8 octet long) Bridge\nID). The other (last) 6 octets of the Bridge ID are\ngiven by the value of dot1dBaseBridgeAddress.\nOn bridges supporting IEEE 802.1t or IEEE 802.1w,\npermissible values are 0-61440, in steps of 4096.") dot1dStpTimeSinceTopologyChange = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 3), TimeTicks()).setMaxAccess("readonly").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpTimeSinceTopologyChange.setDescription("The time (in hundredths of a second) since the\nlast time a topology change was detected by the\nbridge entity.\nFor RSTP, this reports the time since the tcWhile\ntimer for any port on this Bridge was nonzero.") dot1dStpTopChanges = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpTopChanges.setDescription("The total number of topology changes detected by\nthis bridge since the management entity was last\nreset or initialized.") dot1dStpDesignatedRoot = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 5), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpDesignatedRoot.setDescription("The bridge identifier of the root of the spanning\ntree, as determined by the Spanning Tree Protocol,\nas executed by this node. This value is used as\nthe Root Identifier parameter in all Configuration\nBridge PDUs originated by this node.") dot1dStpRootCost = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpRootCost.setDescription("The cost of the path to the root as seen from\nthis bridge.") dot1dStpRootPort = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpRootPort.setDescription("The port number of the port that offers the lowest\ncost path from this bridge to the root bridge.") dot1dStpMaxAge = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 8), Timeout()).setMaxAccess("readonly").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpMaxAge.setDescription("The maximum age of Spanning Tree Protocol information\nlearned from the network on any port before it is\ndiscarded, in units of hundredths of a second. This is\nthe actual value that this bridge is currently using.") dot1dStpHelloTime = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 9), Timeout()).setMaxAccess("readonly").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpHelloTime.setDescription("The amount of time between the transmission of\nConfiguration bridge PDUs by this node on any port when\nit is the root of the spanning tree, or trying to become\nso, in units of hundredths of a second. This is the\nactual value that this bridge is currently using.") dot1dStpHoldTime = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 10), Integer32()).setMaxAccess("readonly").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpHoldTime.setDescription("This time value determines the interval length\nduring which no more than two Configuration bridge\nPDUs shall be transmitted by this node, in units\nof hundredths of a second.") dot1dStpForwardDelay = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 11), Timeout()).setMaxAccess("readonly").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpForwardDelay.setDescription("This time value, measured in units of hundredths of a\nsecond, controls how fast a port changes its spanning\nstate when moving towards the Forwarding state. The\nvalue determines how long the port stays in each of the\nListening and Learning states, which precede the\nForwarding state. This value is also used when a\ntopology change has been detected and is underway, to\nage all dynamic entries in the Forwarding Database.\n[Note that this value is the one that this bridge is\ncurrently using, in contrast to\ndot1dStpBridgeForwardDelay, which is the value that this\nbridge and all others would start using if/when this\nbridge were to become the root.]") dot1dStpBridgeMaxAge = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 12), Timeout().subtype(subtypeSpec=ValueRangeConstraint(600, 4000))).setMaxAccess("readwrite").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpBridgeMaxAge.setDescription("The value that all bridges use for MaxAge when this\nbridge is acting as the root. Note that 802.1D-1998\nspecifies that the range for this parameter is related\nto the value of dot1dStpBridgeHelloTime. The\ngranularity of this timer is specified by 802.1D-1998 to\nbe 1 second. An agent may return a badValue error if a\nset is attempted to a value that is not a whole number\nof seconds.") dot1dStpBridgeHelloTime = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 13), Timeout().subtype(subtypeSpec=ValueRangeConstraint(100, 1000))).setMaxAccess("readwrite").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpBridgeHelloTime.setDescription("The value that all bridges use for HelloTime when this\nbridge is acting as the root. The granularity of this\ntimer is specified by 802.1D-1998 to be 1 second. An\nagent may return a badValue error if a set is attempted\n\n\n\nto a value that is not a whole number of seconds.") dot1dStpBridgeForwardDelay = MibScalar((1, 3, 6, 1, 2, 1, 17, 2, 14), Timeout().subtype(subtypeSpec=ValueRangeConstraint(400, 3000))).setMaxAccess("readwrite").setUnits("centi-seconds") if mibBuilder.loadTexts: dot1dStpBridgeForwardDelay.setDescription("The value that all bridges use for ForwardDelay when\nthis bridge is acting as the root. Note that\n802.1D-1998 specifies that the range for this parameter\nis related to the value of dot1dStpBridgeMaxAge. The\ngranularity of this timer is specified by 802.1D-1998 to\nbe 1 second. An agent may return a badValue error if a\nset is attempted to a value that is not a whole number\nof seconds.") dot1dStpPortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 2, 15)) if mibBuilder.loadTexts: dot1dStpPortTable.setDescription("A table that contains port-specific information\nfor the Spanning Tree Protocol.") dot1dStpPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 2, 15, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dStpPort")) if mibBuilder.loadTexts: dot1dStpPortEntry.setDescription("A list of information maintained by every port about\nthe Spanning Tree Protocol state for that port.") dot1dStpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPort.setDescription("The port number of the port for which this entry\ncontains Spanning Tree Protocol management information.") dot1dStpPortPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortPriority.setDescription("The value of the priority field that is contained in\nthe first (in network byte order) octet of the (2 octet\nlong) Port ID. The other octet of the Port ID is given\nby the value of dot1dStpPort.\nOn bridges supporting IEEE 802.1t or IEEE 802.1w,\npermissible values are 0-240, in steps of 16.") dot1dStpPortState = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,6,4,5,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("blocking", 2), ("listening", 3), ("learning", 4), ("forwarding", 5), ("broken", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortState.setDescription("The port's current state, as defined by application of\nthe Spanning Tree Protocol. This state controls what\naction a port takes on reception of a frame. If the\nbridge has detected a port that is malfunctioning, it\nwill place that port into the broken(6) state. For\nports that are disabled (see dot1dStpPortEnable), this\nobject will have a value of disabled(1).") dot1dStpPortEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortEnable.setDescription("The enabled/disabled status of the port.") dot1dStpPortPathCost = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortPathCost.setDescription("The contribution of this port to the path cost of\npaths towards the spanning tree root which include\nthis port. 802.1D-1998 recommends that the default\nvalue of this parameter be in inverse proportion to\n\n\n\nthe speed of the attached LAN.\n\nNew implementations should support dot1dStpPortPathCost32.\nIf the port path costs exceeds the maximum value of this\nobject then this object should report the maximum value,\nnamely 65535. Applications should try to read the\ndot1dStpPortPathCost32 object if this object reports\nthe maximum value.") dot1dStpPortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 6), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortDesignatedRoot.setDescription("The unique Bridge Identifier of the Bridge\nrecorded as the Root in the Configuration BPDUs\ntransmitted by the Designated Bridge for the\nsegment to which the port is attached.") dot1dStpPortDesignatedCost = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortDesignatedCost.setDescription("The path cost of the Designated Port of the segment\nconnected to this port. This value is compared to the\nRoot Path Cost field in received bridge PDUs.") dot1dStpPortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 8), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortDesignatedBridge.setDescription("The Bridge Identifier of the bridge that this\nport considers to be the Designated Bridge for\nthis port's segment.") dot1dStpPortDesignatedPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortDesignatedPort.setDescription("The Port Identifier of the port on the Designated\nBridge for this port's segment.") dot1dStpPortForwardTransitions = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dStpPortForwardTransitions.setDescription("The number of times this port has transitioned\nfrom the Learning state to the Forwarding state.") dot1dStpPortPathCost32 = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 2, 15, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dStpPortPathCost32.setDescription("The contribution of this port to the path cost of\npaths towards the spanning tree root which include\nthis port. 802.1D-1998 recommends that the default\nvalue of this parameter be in inverse proportion to\nthe speed of the attached LAN.\n\nThis object replaces dot1dStpPortPathCost to support\nIEEE 802.1t.") dot1dSr = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 3)) dot1dTp = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 4)) dot1dTpLearnedEntryDiscards = MibScalar((1, 3, 6, 1, 2, 1, 17, 4, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpLearnedEntryDiscards.setDescription("The total number of Forwarding Database entries that\nhave been or would have been learned, but have been\ndiscarded due to a lack of storage space in the\nForwarding Database. If this counter is increasing, it\nindicates that the Forwarding Database is regularly\nbecoming full (a condition that has unpleasant\nperformance effects on the subnetwork). If this counter\nhas a significant value but is not presently increasing,\nit indicates that the problem has been occurring but is\nnot persistent.") dot1dTpAgingTime = MibScalar((1, 3, 6, 1, 2, 1, 17, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000000))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: dot1dTpAgingTime.setDescription("The timeout period in seconds for aging out\ndynamically-learned forwarding information.\n802.1D-1998 recommends a default of 300 seconds.") dot1dTpFdbTable = MibTable((1, 3, 6, 1, 2, 1, 17, 4, 3)) if mibBuilder.loadTexts: dot1dTpFdbTable.setDescription("A table that contains information about unicast\nentries for which the bridge has forwarding and/or\nfiltering information. This information is used\nby the transparent bridging function in\ndetermining how to propagate a received frame.") dot1dTpFdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 4, 3, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dTpFdbAddress")) if mibBuilder.loadTexts: dot1dTpFdbEntry.setDescription("Information about a specific unicast MAC address\nfor which the bridge has some forwarding and/or\nfiltering information.") dot1dTpFdbAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 3, 1, 1), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpFdbAddress.setDescription("A unicast MAC address for which the bridge has\nforwarding and/or filtering information.") dot1dTpFdbPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpFdbPort.setDescription("Either the value '0', or the port number of the port on\nwhich a frame having a source address equal to the value\nof the corresponding instance of dot1dTpFdbAddress has\nbeen seen. A value of '0' indicates that the port\nnumber has not been learned, but that the bridge does\nhave some forwarding/filtering information about this\naddress (e.g., in the dot1dStaticTable). Implementors\nare encouraged to assign the port value to this object\nwhenever it is learned, even for addresses for which the\ncorresponding value of dot1dTpFdbStatus is not\nlearned(3).") dot1dTpFdbStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,5,3,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("learned", 3), ("self", 4), ("mgmt", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpFdbStatus.setDescription("The status of this entry. The meanings of the\nvalues are:\n other(1) - none of the following. This would\n include the case where some other MIB object\n (not the corresponding instance of\n dot1dTpFdbPort, nor an entry in the\n dot1dStaticTable) is being used to determine if\n and how frames addressed to the value of the\n corresponding instance of dot1dTpFdbAddress are\n being forwarded.\n invalid(2) - this entry is no longer valid (e.g.,\n it was learned but has since aged out), but has\n not yet been flushed from the table.\n learned(3) - the value of the corresponding instance\n of dot1dTpFdbPort was learned, and is being\n used.\n self(4) - the value of the corresponding instance of\n dot1dTpFdbAddress represents one of the bridge's\n addresses. The corresponding instance of\n dot1dTpFdbPort indicates which of the bridge's\n ports has this address.\n mgmt(5) - the value of the corresponding instance of\n dot1dTpFdbAddress is also the value of an\n existing instance of dot1dStaticAddress.") dot1dTpPortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 4, 4)) if mibBuilder.loadTexts: dot1dTpPortTable.setDescription("A table that contains information about every port that\nis associated with this transparent bridge.") dot1dTpPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 4, 4, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dTpPort")) if mibBuilder.loadTexts: dot1dTpPortEntry.setDescription("A list of information for each port of a transparent\nbridge.") dot1dTpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPort.setDescription("The port number of the port for which this entry\ncontains Transparent bridging management information.") dot1dTpPortMaxInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPortMaxInfo.setDescription("The maximum size of the INFO (non-MAC) field that\n\n\n\nthis port will receive or transmit.") dot1dTpPortInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPortInFrames.setDescription("The number of frames that have been received by this\nport from its segment. Note that a frame received on the\ninterface corresponding to this port is only counted by\nthis object if and only if it is for a protocol being\nprocessed by the local bridging function, including\nbridge management frames.") dot1dTpPortOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPortOutFrames.setDescription("The number of frames that have been transmitted by this\nport to its segment. Note that a frame transmitted on\nthe interface corresponding to this port is only counted\nby this object if and only if it is for a protocol being\nprocessed by the local bridging function, including\nbridge management frames.") dot1dTpPortInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPortInDiscards.setDescription("Count of received valid frames that were discarded\n(i.e., filtered) by the Forwarding Process.") dot1dStatic = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 5)) dot1dStaticTable = MibTable((1, 3, 6, 1, 2, 1, 17, 5, 1)) if mibBuilder.loadTexts: dot1dStaticTable.setDescription("A table containing filtering information configured\ninto the bridge by (local or network) management\nspecifying the set of ports to which frames received\nfrom specific ports and containing specific destination\naddresses are allowed to be forwarded. The value of\nzero in this table, as the port number from which frames\nwith a specific destination address are received, is\nused to specify all ports for which there is no specific\nentry in this table for that particular destination\naddress. Entries are valid for unicast and for\ngroup/broadcast addresses.") dot1dStaticEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 5, 1, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dStaticAddress"), (0, "BRIDGE-MIB", "dot1dStaticReceivePort")) if mibBuilder.loadTexts: dot1dStaticEntry.setDescription("Filtering information configured into the bridge by\n(local or network) management specifying the set of\nports to which frames received from a specific port and\ncontaining a specific destination address are allowed to\nbe forwarded.") dot1dStaticAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 5, 1, 1, 1), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1dStaticAddress.setDescription("The destination MAC address in a frame to which this\nentry's filtering information applies. This object can\ntake the value of a unicast address, a group address, or\nthe broadcast address.") dot1dStaticReceivePort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1dStaticReceivePort.setDescription("Either the value '0', or the port number of the port\nfrom which a frame must be received in order for this\nentry's filtering information to apply. A value of zero\nindicates that this entry applies on all ports of the\nbridge for which there is no other applicable entry.") dot1dStaticAllowedToGoTo = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 5, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1dStaticAllowedToGoTo.setDescription("The set of ports to which frames received from a\nspecific port and destined for a specific MAC address,\nare allowed to be forwarded. Each octet within the\nvalue of this object specifies a set of eight ports,\nwith the first octet specifying ports 1 through 8, the\nsecond octet specifying ports 9 through 16, etc. Within\neach octet, the most significant bit represents the\nlowest numbered port, and the least significant bit\nrepresents the highest numbered port. Thus, each port\nof the bridge is represented by a single bit within the\nvalue of this object. If that bit has a value of '1',\nthen that port is included in the set of ports; the port\nis not included if its bit has a value of '0'. (Note\nthat the setting of the bit corresponding to the port\nfrom which a frame is received is irrelevant.) The\ndefault value of this object is a string of ones of\nappropriate length.\n\n\n\n\nThe value of this object may exceed the required minimum\nmaximum message size of some SNMP transport (484 bytes,\nin the case of SNMP over UDP, see RFC 3417, section 3.2).\nSNMP engines on bridges supporting a large number of\nports must support appropriate maximum message sizes.") dot1dStaticStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 5, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,5,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("permanent", 3), ("deleteOnReset", 4), ("deleteOnTimeout", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1dStaticStatus.setDescription("This object indicates the status of this entry.\nThe default value is permanent(3).\n other(1) - this entry is currently in use but the\n conditions under which it will remain so are\n different from each of the following values.\n invalid(2) - writing this value to the object\n removes the corresponding entry.\n permanent(3) - this entry is currently in use and\n will remain so after the next reset of the\n bridge.\n deleteOnReset(4) - this entry is currently in use\n and will remain so until the next reset of the\n bridge.\n deleteOnTimeout(5) - this entry is currently in use\n and will remain so until it is aged out.") dot1dConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 8)) dot1dGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 8, 1)) dot1dCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 8, 2)) # Augmentions # Notifications newRoot = NotificationType((1, 3, 6, 1, 2, 1, 17, 0, 1)).setObjects(*() ) if mibBuilder.loadTexts: newRoot.setDescription("The newRoot trap indicates that the sending agent has\nbecome the new root of the Spanning Tree; the trap is\nsent by a bridge soon after its election as the new\n\n\n\nroot, e.g., upon expiration of the Topology Change Timer,\nimmediately subsequent to its election. Implementation\nof this trap is optional.") topologyChange = NotificationType((1, 3, 6, 1, 2, 1, 17, 0, 2)).setObjects(*() ) if mibBuilder.loadTexts: topologyChange.setDescription("A topologyChange trap is sent by a bridge when any of\nits configured ports transitions from the Learning state\nto the Forwarding state, or from the Forwarding state to\nthe Blocking state. The trap is not sent if a newRoot\ntrap is sent for the same transition. Implementation of\nthis trap is optional.") # Groups dot1dBaseBridgeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 1)).setObjects(*(("BRIDGE-MIB", "dot1dBaseType"), ("BRIDGE-MIB", "dot1dBaseNumPorts"), ("BRIDGE-MIB", "dot1dBaseBridgeAddress"), ) ) if mibBuilder.loadTexts: dot1dBaseBridgeGroup.setDescription("Bridge level information for this device.") dot1dBasePortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 2)).setObjects(*(("BRIDGE-MIB", "dot1dBasePortMtuExceededDiscards"), ("BRIDGE-MIB", "dot1dBasePortIfIndex"), ("BRIDGE-MIB", "dot1dBasePort"), ("BRIDGE-MIB", "dot1dBasePortDelayExceededDiscards"), ("BRIDGE-MIB", "dot1dBasePortCircuit"), ) ) if mibBuilder.loadTexts: dot1dBasePortGroup.setDescription("Information for each port on this device.") dot1dStpBridgeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 3)).setObjects(*(("BRIDGE-MIB", "dot1dStpHoldTime"), ("BRIDGE-MIB", "dot1dStpForwardDelay"), ("BRIDGE-MIB", "dot1dStpRootPort"), ("BRIDGE-MIB", "dot1dStpTimeSinceTopologyChange"), ("BRIDGE-MIB", "dot1dStpTopChanges"), ("BRIDGE-MIB", "dot1dStpPriority"), ("BRIDGE-MIB", "dot1dStpDesignatedRoot"), ("BRIDGE-MIB", "dot1dStpBridgeHelloTime"), ("BRIDGE-MIB", "dot1dStpHelloTime"), ("BRIDGE-MIB", "dot1dStpBridgeMaxAge"), ("BRIDGE-MIB", "dot1dStpProtocolSpecification"), ("BRIDGE-MIB", "dot1dStpMaxAge"), ("BRIDGE-MIB", "dot1dStpBridgeForwardDelay"), ("BRIDGE-MIB", "dot1dStpRootCost"), ) ) if mibBuilder.loadTexts: dot1dStpBridgeGroup.setDescription("Bridge level Spanning Tree data for this device.") dot1dStpPortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 4)).setObjects(*(("BRIDGE-MIB", "dot1dStpPortDesignatedRoot"), ("BRIDGE-MIB", "dot1dStpPortDesignatedCost"), ("BRIDGE-MIB", "dot1dStpPort"), ("BRIDGE-MIB", "dot1dStpPortDesignatedBridge"), ("BRIDGE-MIB", "dot1dStpPortPathCost"), ("BRIDGE-MIB", "dot1dStpPortPriority"), ("BRIDGE-MIB", "dot1dStpPortForwardTransitions"), ("BRIDGE-MIB", "dot1dStpPortDesignatedPort"), ("BRIDGE-MIB", "dot1dStpPortState"), ("BRIDGE-MIB", "dot1dStpPortEnable"), ) ) if mibBuilder.loadTexts: dot1dStpPortGroup.setDescription("Spanning Tree data for each port on this device.") dot1dStpPortGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 5)).setObjects(*(("BRIDGE-MIB", "dot1dStpPortDesignatedRoot"), ("BRIDGE-MIB", "dot1dStpPortPathCost32"), ("BRIDGE-MIB", "dot1dStpPortDesignatedCost"), ("BRIDGE-MIB", "dot1dStpPort"), ("BRIDGE-MIB", "dot1dStpPortDesignatedBridge"), ("BRIDGE-MIB", "dot1dStpPortPriority"), ("BRIDGE-MIB", "dot1dStpPortForwardTransitions"), ("BRIDGE-MIB", "dot1dStpPortDesignatedPort"), ("BRIDGE-MIB", "dot1dStpPortState"), ("BRIDGE-MIB", "dot1dStpPortEnable"), ) ) if mibBuilder.loadTexts: dot1dStpPortGroup2.setDescription("Spanning Tree data for each port on this device.") dot1dStpPortGroup3 = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 6)).setObjects(*(("BRIDGE-MIB", "dot1dStpPortPathCost32"), ) ) if mibBuilder.loadTexts: dot1dStpPortGroup3.setDescription("Spanning Tree data for devices supporting 32-bit\npath costs.") dot1dTpBridgeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 7)).setObjects(*(("BRIDGE-MIB", "dot1dTpAgingTime"), ("BRIDGE-MIB", "dot1dTpLearnedEntryDiscards"), ) ) if mibBuilder.loadTexts: dot1dTpBridgeGroup.setDescription("Bridge level Transparent Bridging data.") dot1dTpFdbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 8)).setObjects(*(("BRIDGE-MIB", "dot1dTpFdbPort"), ("BRIDGE-MIB", "dot1dTpFdbStatus"), ("BRIDGE-MIB", "dot1dTpFdbAddress"), ) ) if mibBuilder.loadTexts: dot1dTpFdbGroup.setDescription("Filtering Database information for the Bridge.") dot1dTpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 9)).setObjects(*(("BRIDGE-MIB", "dot1dTpPort"), ("BRIDGE-MIB", "dot1dTpPortInDiscards"), ("BRIDGE-MIB", "dot1dTpPortInFrames"), ("BRIDGE-MIB", "dot1dTpPortMaxInfo"), ("BRIDGE-MIB", "dot1dTpPortOutFrames"), ) ) if mibBuilder.loadTexts: dot1dTpGroup.setDescription("Dynamic Filtering Database information for each port of\nthe Bridge.") dot1dStaticGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 10)).setObjects(*(("BRIDGE-MIB", "dot1dStaticAddress"), ("BRIDGE-MIB", "dot1dStaticReceivePort"), ("BRIDGE-MIB", "dot1dStaticAllowedToGoTo"), ("BRIDGE-MIB", "dot1dStaticStatus"), ) ) if mibBuilder.loadTexts: dot1dStaticGroup.setDescription("Static Filtering Database information for each port of\nthe Bridge.") dot1dNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 17, 8, 1, 11)).setObjects(*(("BRIDGE-MIB", "newRoot"), ("BRIDGE-MIB", "topologyChange"), ) ) if mibBuilder.loadTexts: dot1dNotificationGroup.setDescription("Group of objects describing notifications (traps).") # Compliances bridgeCompliance1493 = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 8, 2, 1)).setObjects(*(("BRIDGE-MIB", "dot1dTpBridgeGroup"), ("BRIDGE-MIB", "dot1dStpPortGroup"), ("BRIDGE-MIB", "dot1dTpGroup"), ("BRIDGE-MIB", "dot1dNotificationGroup"), ("BRIDGE-MIB", "dot1dStaticGroup"), ("BRIDGE-MIB", "dot1dStpBridgeGroup"), ("BRIDGE-MIB", "dot1dBasePortGroup"), ("BRIDGE-MIB", "dot1dTpFdbGroup"), ("BRIDGE-MIB", "dot1dBaseBridgeGroup"), ) ) if mibBuilder.loadTexts: bridgeCompliance1493.setDescription("The compliance statement for device support of bridging\nservices, as per RFC1493.") bridgeCompliance4188 = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 8, 2, 2)).setObjects(*(("BRIDGE-MIB", "dot1dTpBridgeGroup"), ("BRIDGE-MIB", "dot1dTpFdbGroup"), ("BRIDGE-MIB", "dot1dStpPortGroup2"), ("BRIDGE-MIB", "dot1dTpGroup"), ("BRIDGE-MIB", "dot1dStaticGroup"), ("BRIDGE-MIB", "dot1dStpBridgeGroup"), ("BRIDGE-MIB", "dot1dStpPortGroup3"), ("BRIDGE-MIB", "dot1dBasePortGroup"), ("BRIDGE-MIB", "dot1dNotificationGroup"), ("BRIDGE-MIB", "dot1dBaseBridgeGroup"), ) ) if mibBuilder.loadTexts: bridgeCompliance4188.setDescription("The compliance statement for device support of bridging\nservices. This supports 32-bit Path Cost values and the\nmore restricted bridge and port priorities, as per IEEE\n802.1t.\n\nFull support for the 802.1D management objects requires that\nthe SNMPv2-MIB [RFC3418] objects sysDescr, and sysUpTime, as\nwell as the IF-MIB [RFC2863] objects ifIndex, ifType,\nifDescr, ifPhysAddress, and ifLastChange are implemented.") # Exports # Module identity mibBuilder.exportSymbols("BRIDGE-MIB", PYSNMP_MODULE_ID=dot1dBridge) # Types mibBuilder.exportSymbols("BRIDGE-MIB", BridgeId=BridgeId, Timeout=Timeout) # Objects mibBuilder.exportSymbols("BRIDGE-MIB", dot1dBridge=dot1dBridge, dot1dNotifications=dot1dNotifications, dot1dBase=dot1dBase, dot1dBaseBridgeAddress=dot1dBaseBridgeAddress, dot1dBaseNumPorts=dot1dBaseNumPorts, dot1dBaseType=dot1dBaseType, dot1dBasePortTable=dot1dBasePortTable, dot1dBasePortEntry=dot1dBasePortEntry, dot1dBasePort=dot1dBasePort, dot1dBasePortIfIndex=dot1dBasePortIfIndex, dot1dBasePortCircuit=dot1dBasePortCircuit, dot1dBasePortDelayExceededDiscards=dot1dBasePortDelayExceededDiscards, dot1dBasePortMtuExceededDiscards=dot1dBasePortMtuExceededDiscards, dot1dStp=dot1dStp, dot1dStpProtocolSpecification=dot1dStpProtocolSpecification, dot1dStpPriority=dot1dStpPriority, dot1dStpTimeSinceTopologyChange=dot1dStpTimeSinceTopologyChange, dot1dStpTopChanges=dot1dStpTopChanges, dot1dStpDesignatedRoot=dot1dStpDesignatedRoot, dot1dStpRootCost=dot1dStpRootCost, dot1dStpRootPort=dot1dStpRootPort, dot1dStpMaxAge=dot1dStpMaxAge, dot1dStpHelloTime=dot1dStpHelloTime, dot1dStpHoldTime=dot1dStpHoldTime, dot1dStpForwardDelay=dot1dStpForwardDelay, dot1dStpBridgeMaxAge=dot1dStpBridgeMaxAge, dot1dStpBridgeHelloTime=dot1dStpBridgeHelloTime, dot1dStpBridgeForwardDelay=dot1dStpBridgeForwardDelay, dot1dStpPortTable=dot1dStpPortTable, dot1dStpPortEntry=dot1dStpPortEntry, dot1dStpPort=dot1dStpPort, dot1dStpPortPriority=dot1dStpPortPriority, dot1dStpPortState=dot1dStpPortState, dot1dStpPortEnable=dot1dStpPortEnable, dot1dStpPortPathCost=dot1dStpPortPathCost, dot1dStpPortDesignatedRoot=dot1dStpPortDesignatedRoot, dot1dStpPortDesignatedCost=dot1dStpPortDesignatedCost, dot1dStpPortDesignatedBridge=dot1dStpPortDesignatedBridge, dot1dStpPortDesignatedPort=dot1dStpPortDesignatedPort, dot1dStpPortForwardTransitions=dot1dStpPortForwardTransitions, dot1dStpPortPathCost32=dot1dStpPortPathCost32, dot1dSr=dot1dSr, dot1dTp=dot1dTp, dot1dTpLearnedEntryDiscards=dot1dTpLearnedEntryDiscards, dot1dTpAgingTime=dot1dTpAgingTime, dot1dTpFdbTable=dot1dTpFdbTable, dot1dTpFdbEntry=dot1dTpFdbEntry, dot1dTpFdbAddress=dot1dTpFdbAddress, dot1dTpFdbPort=dot1dTpFdbPort, dot1dTpFdbStatus=dot1dTpFdbStatus, dot1dTpPortTable=dot1dTpPortTable, dot1dTpPortEntry=dot1dTpPortEntry, dot1dTpPort=dot1dTpPort, dot1dTpPortMaxInfo=dot1dTpPortMaxInfo, dot1dTpPortInFrames=dot1dTpPortInFrames, dot1dTpPortOutFrames=dot1dTpPortOutFrames, dot1dTpPortInDiscards=dot1dTpPortInDiscards, dot1dStatic=dot1dStatic, dot1dStaticTable=dot1dStaticTable, dot1dStaticEntry=dot1dStaticEntry, dot1dStaticAddress=dot1dStaticAddress, dot1dStaticReceivePort=dot1dStaticReceivePort, dot1dStaticAllowedToGoTo=dot1dStaticAllowedToGoTo, dot1dStaticStatus=dot1dStaticStatus, dot1dConformance=dot1dConformance, dot1dGroups=dot1dGroups, dot1dCompliances=dot1dCompliances) # Notifications mibBuilder.exportSymbols("BRIDGE-MIB", newRoot=newRoot, topologyChange=topologyChange) # Groups mibBuilder.exportSymbols("BRIDGE-MIB", dot1dBaseBridgeGroup=dot1dBaseBridgeGroup, dot1dBasePortGroup=dot1dBasePortGroup, dot1dStpBridgeGroup=dot1dStpBridgeGroup, dot1dStpPortGroup=dot1dStpPortGroup, dot1dStpPortGroup2=dot1dStpPortGroup2, dot1dStpPortGroup3=dot1dStpPortGroup3, dot1dTpBridgeGroup=dot1dTpBridgeGroup, dot1dTpFdbGroup=dot1dTpFdbGroup, dot1dTpGroup=dot1dTpGroup, dot1dStaticGroup=dot1dStaticGroup, dot1dNotificationGroup=dot1dNotificationGroup) # Compliances mibBuilder.exportSymbols("BRIDGE-MIB", bridgeCompliance1493=bridgeCompliance1493, bridgeCompliance4188=bridgeCompliance4188) pysnmp-mibs-0.1.3/pysnmp_mibs/NETWORK-SERVICES-MIB.py0000644000014400001440000005412011736645137022012 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NETWORK-SERVICES-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:23 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TimeStamp") # Types class DistinguishedName(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class URLString(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) # Objects application = ModuleIdentity((1, 3, 6, 1, 2, 1, 27)).setRevisions(("2000-03-03 00:00","1999-05-12 00:00","1997-08-17 00:00","1993-11-28 00:00",)) if mibBuilder.loadTexts: application.setOrganization("IETF Mail and Directory Management Working Group") if mibBuilder.loadTexts: application.setContactInfo(" Ned Freed\n\nPostal: Innosoft International, Inc.\n 1050 Lakes Drive\n West Covina, CA 91790\n US\n\n Tel: +1 626 919 3600\n Fax: +1 626 919 3614\n\nE-Mail: ned.freed@innosoft.com") if mibBuilder.loadTexts: application.setDescription("The MIB module describing network service applications") applTable = MibTable((1, 3, 6, 1, 2, 1, 27, 1)) if mibBuilder.loadTexts: applTable.setDescription("The table holding objects which apply to all different\nkinds of applications providing network services.\nEach network service application capable of being\nmonitored should have a single entry in this table.") applEntry = MibTableRow((1, 3, 6, 1, 2, 1, 27, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: applEntry.setDescription("An entry associated with a single network service\napplication.") applIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: applIndex.setDescription("An index to uniquely identify the network service\napplication. This attribute is the index used for\nlexicographic ordering of the table.") applName = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: applName.setDescription("The name the network service application chooses to be\nknown by.") applDirectoryName = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 3), DistinguishedName()).setMaxAccess("readonly") if mibBuilder.loadTexts: applDirectoryName.setDescription("The Distinguished Name of the directory entry where\nstatic information about this application is stored.\nAn empty string indicates that no information about\nthe application is available in the directory.") applVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: applVersion.setDescription("The version of network service application software.\nThis field is usually defined by the vendor of the\nnetwork service application software.") applUptime = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: applUptime.setDescription("The value of sysUpTime at the time the network service\napplication was last initialized. If the application was\nlast initialized prior to the last initialization of the\nnetwork management subsystem, then this object contains\na zero value.") applOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,5,6,4,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("halted", 3), ("congested", 4), ("restarting", 5), ("quiescing", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: applOperStatus.setDescription("Indicates the operational status of the network service\napplication. 'down' indicates that the network service is\nnot available. 'up' indicates that the network service\nis operational and available. 'halted' indicates that the\nservice is operational but not available. 'congested'\nindicates that the service is operational but no additional\ninbound associations can be accommodated. 'restarting'\nindicates that the service is currently unavailable but is\nin the process of restarting and will be available soon.\n'quiescing' indicates that service is currently operational\nbut is in the process of shutting down. Additional inbound\nassociations may be rejected by applications in the\n'quiescing' state.") applLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: applLastChange.setDescription("The value of sysUpTime at the time the network service\napplication entered its current operational state. If\nthe current state was entered prior to the last\ninitialization of the local network management subsystem,\nthen this object contains a zero value.") applInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applInboundAssociations.setDescription("The number of current associations to the network service\napplication, where it is the responder. An inbound\nassociation occurs when another application successfully\nconnects to this one.") applOutboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applOutboundAssociations.setDescription("The number of current associations to the network service\napplication, where it is the initiator. An outbound\nassociation occurs when this application successfully\nconnects to another one.") applAccumulatedInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applAccumulatedInboundAssociations.setDescription("The total number of associations to the application entity\nsince application initialization, where it was the responder.") applAccumulatedOutboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applAccumulatedOutboundAssociations.setDescription("The total number of associations to the application entity\nsince application initialization, where it was the initiator.") applLastInboundActivity = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 12), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: applLastInboundActivity.setDescription("The value of sysUpTime at the time this application last\nhad an inbound association. If the last association\noccurred prior to the last initialization of the network\nsubsystem, then this object contains a zero value.") applLastOutboundActivity = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 13), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: applLastOutboundActivity.setDescription("The value of sysUpTime at the time this application last\nhad an outbound association. If the last association\noccurred prior to the last initialization of the network\nsubsystem, then this object contains a zero value.") applRejectedInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applRejectedInboundAssociations.setDescription("The total number of inbound associations the application\nentity has rejected, since application initialization.\nRejected associations are not counted in the accumulated\nassociation totals. Note that this only counts\nassociations the application entity has rejected itself;\nit does not count rejections that occur at lower layers\nof the network. Thus, this counter may not reflect the\ntrue number of failed inbound associations.") applFailedOutboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: applFailedOutboundAssociations.setDescription("The total number associations where the application entity\nis initiator and association establishment has failed,\nsince application initialization. Failed associations are\nnot counted in the accumulated association totals.") applDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 16), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: applDescription.setDescription("A text description of the application. This information\nis intended to identify and briefly describe the\napplication in a status display.") applURL = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 1, 1, 17), URLString()).setMaxAccess("readonly") if mibBuilder.loadTexts: applURL.setDescription("A URL pointing to a description of the application.\nThis information is intended to identify and describe\nthe application in a status display.") assocTable = MibTable((1, 3, 6, 1, 2, 1, 27, 2)) if mibBuilder.loadTexts: assocTable.setDescription("The table holding a set of all active application\nassociations.") assocEntry = MibTableRow((1, 3, 6, 1, 2, 1, 27, 2, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "NETWORK-SERVICES-MIB", "assocIndex")) if mibBuilder.loadTexts: assocEntry.setDescription("An entry associated with an association for a network\nservice application.") assocIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: assocIndex.setDescription("An index to uniquely identify each association for a network\nservice application. This attribute is the index that is\nused for lexicographic ordering of the table. Note that the\ntable is also indexed by the applIndex.") assocRemoteApplication = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: assocRemoteApplication.setDescription("The name of the system running remote network service\napplication. For an IP-based application this should be\neither a domain name or IP address. For an OSI application\nit should be the string encoded distinguished name of the\nmanaged object. For X.400(1984) MTAs which do not have a\nDistinguished Name, the RFC 2156 syntax 'mta in\nglobalid' used in X400-Received: fields can be used. Note,\nhowever, that not all connections an MTA makes are\nnecessarily to another MTA.") assocApplicationProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 2, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: assocApplicationProtocol.setDescription("An identification of the protocol being used for the\napplication. For an OSI Application, this will be the\nApplication Context. For Internet applications, OID\nvalues of the form {applTCPProtoID port} or {applUDPProtoID\nport} are used for TCP-based and UDP-based protocols,\nrespectively. In either case 'port' corresponds to the\nprimary port number being used by the protocol. The\nusual IANA procedures may be used to register ports for\nnew protocols.") assocApplicationType = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("uainitiator", 1), ("uaresponder", 2), ("peerinitiator", 3), ("peerresponder", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: assocApplicationType.setDescription("This indicates whether the remote application is some type of\nclient making use of this network service (e.g., a Mail User\nAgent) or a server acting as a peer. Also indicated is whether\nthe remote end initiated an incoming connection to the network\nservice or responded to an outgoing connection made by the\nlocal application. MTAs and messaging gateways are\nconsidered to be peers for the purposes of this variable.") assocDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 27, 2, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: assocDuration.setDescription("The value of sysUpTime at the time this association was\nstarted. If this association started prior to the last\ninitialization of the network subsystem, then this\nobject contains a zero value.") applConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 27, 3)) applGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 27, 3, 1)) applCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 27, 3, 2)) applTCPProtoID = MibIdentifier((1, 3, 6, 1, 2, 1, 27, 4)) applUDPProtoID = MibIdentifier((1, 3, 6, 1, 2, 1, 27, 5)) # Augmentions # Groups assocRFC1565Group = ObjectGroup((1, 3, 6, 1, 2, 1, 27, 3, 1, 2)).setObjects(*(("NETWORK-SERVICES-MIB", "assocApplicationType"), ("NETWORK-SERVICES-MIB", "assocDuration"), ("NETWORK-SERVICES-MIB", "assocRemoteApplication"), ("NETWORK-SERVICES-MIB", "assocApplicationProtocol"), ) ) if mibBuilder.loadTexts: assocRFC1565Group.setDescription("A collection of objects providing basic monitoring of\nnetwork service applications' associations. This is the\noriginal set of such objects defined in RFC 1565.") applRFC2248Group = ObjectGroup((1, 3, 6, 1, 2, 1, 27, 3, 1, 3)).setObjects(*(("NETWORK-SERVICES-MIB", "applAccumulatedInboundAssociations"), ("NETWORK-SERVICES-MIB", "applLastOutboundActivity"), ("NETWORK-SERVICES-MIB", "applName"), ("NETWORK-SERVICES-MIB", "applURL"), ("NETWORK-SERVICES-MIB", "applOperStatus"), ("NETWORK-SERVICES-MIB", "applUptime"), ("NETWORK-SERVICES-MIB", "applRejectedInboundAssociations"), ("NETWORK-SERVICES-MIB", "applLastChange"), ("NETWORK-SERVICES-MIB", "applAccumulatedOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applInboundAssociations"), ("NETWORK-SERVICES-MIB", "applOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applFailedOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applVersion"), ("NETWORK-SERVICES-MIB", "applLastInboundActivity"), ("NETWORK-SERVICES-MIB", "applDescription"), ) ) if mibBuilder.loadTexts: applRFC2248Group.setDescription("A collection of objects providing basic monitoring of\nnetwork service applications. This group was originally\ndefined in RFC 2248; note that applDirectoryName is\nmissing.") assocRFC2248Group = ObjectGroup((1, 3, 6, 1, 2, 1, 27, 3, 1, 4)).setObjects(*(("NETWORK-SERVICES-MIB", "assocApplicationType"), ("NETWORK-SERVICES-MIB", "assocDuration"), ("NETWORK-SERVICES-MIB", "assocRemoteApplication"), ("NETWORK-SERVICES-MIB", "assocApplicationProtocol"), ) ) if mibBuilder.loadTexts: assocRFC2248Group.setDescription("A collection of objects providing basic monitoring of\nnetwork service applications' associations. This group\nwas originally defined by RFC 2248.") applRFC2788Group = ObjectGroup((1, 3, 6, 1, 2, 1, 27, 3, 1, 5)).setObjects(*(("NETWORK-SERVICES-MIB", "applAccumulatedInboundAssociations"), ("NETWORK-SERVICES-MIB", "applLastOutboundActivity"), ("NETWORK-SERVICES-MIB", "applAccumulatedOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applInboundAssociations"), ("NETWORK-SERVICES-MIB", "applDirectoryName"), ("NETWORK-SERVICES-MIB", "applName"), ("NETWORK-SERVICES-MIB", "applURL"), ("NETWORK-SERVICES-MIB", "applOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applFailedOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applOperStatus"), ("NETWORK-SERVICES-MIB", "applVersion"), ("NETWORK-SERVICES-MIB", "applUptime"), ("NETWORK-SERVICES-MIB", "applLastInboundActivity"), ("NETWORK-SERVICES-MIB", "applRejectedInboundAssociations"), ("NETWORK-SERVICES-MIB", "applDescription"), ("NETWORK-SERVICES-MIB", "applLastChange"), ) ) if mibBuilder.loadTexts: applRFC2788Group.setDescription("A collection of objects providing basic monitoring of\nnetwork service applications. This is the appropriate\ngroup for RFC 2788 -- it adds the applDirectoryName object\nmissing in RFC 2248.") assocRFC2788Group = ObjectGroup((1, 3, 6, 1, 2, 1, 27, 3, 1, 6)).setObjects(*(("NETWORK-SERVICES-MIB", "assocApplicationType"), ("NETWORK-SERVICES-MIB", "assocDuration"), ("NETWORK-SERVICES-MIB", "assocRemoteApplication"), ("NETWORK-SERVICES-MIB", "assocApplicationProtocol"), ) ) if mibBuilder.loadTexts: assocRFC2788Group.setDescription("A collection of objects providing basic monitoring of\nnetwork service applications' associations. This is\nthe appropriate group for RFC 2788.") applRFC1565Group = ObjectGroup((1, 3, 6, 1, 2, 1, 27, 3, 1, 7)).setObjects(*(("NETWORK-SERVICES-MIB", "applAccumulatedInboundAssociations"), ("NETWORK-SERVICES-MIB", "applLastOutboundActivity"), ("NETWORK-SERVICES-MIB", "applName"), ("NETWORK-SERVICES-MIB", "applOperStatus"), ("NETWORK-SERVICES-MIB", "applUptime"), ("NETWORK-SERVICES-MIB", "applRejectedInboundAssociations"), ("NETWORK-SERVICES-MIB", "applLastChange"), ("NETWORK-SERVICES-MIB", "applAccumulatedOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applInboundAssociations"), ("NETWORK-SERVICES-MIB", "applOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applFailedOutboundAssociations"), ("NETWORK-SERVICES-MIB", "applVersion"), ("NETWORK-SERVICES-MIB", "applLastInboundActivity"), ) ) if mibBuilder.loadTexts: applRFC1565Group.setDescription("A collection of objects providing basic monitoring of\nnetwork service applications. This is the original set\nof such objects defined in RFC 1565.") # Compliances applCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 27, 3, 2, 1)).setObjects(*(("NETWORK-SERVICES-MIB", "applRFC1565Group"), ) ) if mibBuilder.loadTexts: applCompliance.setDescription("The compliance statement for RFC 1565 implementations\nwhich support the Network Services Monitoring MIB\nfor basic monitoring of network service applications.\nThis is the basic compliance statement for RFC 1565.") assocCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 27, 3, 2, 2)).setObjects(*(("NETWORK-SERVICES-MIB", "assocRFC1565Group"), ("NETWORK-SERVICES-MIB", "applRFC1565Group"), ) ) if mibBuilder.loadTexts: assocCompliance.setDescription("The compliance statement for RFC 1565 implementations\nwhich support the Network Services Monitoring MIB\nfor basic monitoring of network service applications\nand their associations.") applRFC2248Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 27, 3, 2, 3)).setObjects(*(("NETWORK-SERVICES-MIB", "applRFC2248Group"), ) ) if mibBuilder.loadTexts: applRFC2248Compliance.setDescription("The compliance statement for RFC 2248 implementations\nwhich support the Network Services Monitoring MIB\nfor basic monitoring of network service applications.") assocRFC2248Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 27, 3, 2, 4)).setObjects(*(("NETWORK-SERVICES-MIB", "applRFC2248Group"), ("NETWORK-SERVICES-MIB", "assocRFC2248Group"), ) ) if mibBuilder.loadTexts: assocRFC2248Compliance.setDescription("The compliance statement for RFC 2248 implementations\nwhich support the Network Services Monitoring MIB for\nbasic monitoring of network service applications and\ntheir associations.") applRFC2788Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 27, 3, 2, 5)).setObjects(*(("NETWORK-SERVICES-MIB", "applRFC2788Group"), ) ) if mibBuilder.loadTexts: applRFC2788Compliance.setDescription("The compliance statement for RFC 2788 implementations\nwhich support the Network Services Monitoring MIB\nfor basic monitoring of network service applications.") assocRFC2788Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 27, 3, 2, 6)).setObjects(*(("NETWORK-SERVICES-MIB", "applRFC2788Group"), ("NETWORK-SERVICES-MIB", "assocRFC2788Group"), ) ) if mibBuilder.loadTexts: assocRFC2788Compliance.setDescription("The compliance statement for RFC 2788 implementations\nwhich support the Network Services Monitoring MIB for\nbasic monitoring of network service applications and\ntheir associations.") # Exports # Module identity mibBuilder.exportSymbols("NETWORK-SERVICES-MIB", PYSNMP_MODULE_ID=application) # Types mibBuilder.exportSymbols("NETWORK-SERVICES-MIB", DistinguishedName=DistinguishedName, URLString=URLString) # Objects mibBuilder.exportSymbols("NETWORK-SERVICES-MIB", application=application, applTable=applTable, applEntry=applEntry, applIndex=applIndex, applName=applName, applDirectoryName=applDirectoryName, applVersion=applVersion, applUptime=applUptime, applOperStatus=applOperStatus, applLastChange=applLastChange, applInboundAssociations=applInboundAssociations, applOutboundAssociations=applOutboundAssociations, applAccumulatedInboundAssociations=applAccumulatedInboundAssociations, applAccumulatedOutboundAssociations=applAccumulatedOutboundAssociations, applLastInboundActivity=applLastInboundActivity, applLastOutboundActivity=applLastOutboundActivity, applRejectedInboundAssociations=applRejectedInboundAssociations, applFailedOutboundAssociations=applFailedOutboundAssociations, applDescription=applDescription, applURL=applURL, assocTable=assocTable, assocEntry=assocEntry, assocIndex=assocIndex, assocRemoteApplication=assocRemoteApplication, assocApplicationProtocol=assocApplicationProtocol, assocApplicationType=assocApplicationType, assocDuration=assocDuration, applConformance=applConformance, applGroups=applGroups, applCompliances=applCompliances, applTCPProtoID=applTCPProtoID, applUDPProtoID=applUDPProtoID) # Groups mibBuilder.exportSymbols("NETWORK-SERVICES-MIB", assocRFC1565Group=assocRFC1565Group, applRFC2248Group=applRFC2248Group, assocRFC2248Group=assocRFC2248Group, applRFC2788Group=applRFC2788Group, assocRFC2788Group=assocRFC2788Group, applRFC1565Group=applRFC1565Group) # Compliances mibBuilder.exportSymbols("NETWORK-SERVICES-MIB", applCompliance=applCompliance, assocCompliance=assocCompliance, applRFC2248Compliance=applRFC2248Compliance, assocRFC2248Compliance=assocRFC2248Compliance, applRFC2788Compliance=applRFC2788Compliance, assocRFC2788Compliance=assocRFC2788Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/APM-MIB.py0000644000014400001440000022364611736645134020065 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:40 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( OwnerString, rmon, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "rmon") ( protocolDirLocalIndex, ) = mibBuilder.importSymbols("RMON2-MIB", "protocolDirLocalIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( DateAndTime, RowStatus, StorageType, TextualConvention, TimeInterval, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "StorageType", "TextualConvention", "TimeInterval", "TimeStamp", "TruthValue") # Types class AppLocalIndex(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,2147483647) class DataSourceOrZero(ObjectIdentifier): pass class ProtocolDirNetworkAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class RmonClientID(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class TransactionAggregationType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,3,4,) namedValues = NamedValues(("flows", 1), ("clients", 2), ("servers", 3), ("applications", 4), ) # Objects apm = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 23)).setRevisions(("2004-02-19 00:00",)) if mibBuilder.loadTexts: apm.setOrganization("IETF RMON MIB Working Group") if mibBuilder.loadTexts: apm.setContactInfo("Author:\nSteve Waldbusser\n\n\n\nPhone: +1-650-948-6500\nFax : +1-650-745-0671\nEmail: waldbusser@nextbeacon.com\n\nWorking Group Chair:\nAndy Bierman\nCisco Systems, Inc.\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134\nTel: +1 408 527-3711\nE-mail: abierman@cisco.com\n\nWorking Group Mailing List: \nTo subscribe send email to: ") if mibBuilder.loadTexts: apm.setDescription("The MIB module for measuring application performance\nas experienced by end-users.\n\nCopyright (C) The Internet Society (2004). This version of\nthis MIB module is part of RFC 3729; see the RFC itself for\nfull legal notices.") apmNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 23, 0)) apmMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 23, 1)) apmAppDirTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 1)) if mibBuilder.loadTexts: apmAppDirTable.setDescription("The APM MIB directory of applications and application\nverbs. The agent will populate this table with all\napplications/verbs of any responsivenessType it has the\ncapability to monitor. Since the agent populates this table\nwith every entry it has the capability to monitor, the\nentries in this table are read-write, allowing the management\nstation to modify parameters in this table but not to add new\nentries or delete entries (however, entries may be\ndisabled). If new entries are added to the apmHttpFilterTable\nor the apmUserDefinedAppTable, the agent will add the\ncorresponding entries to this table.\n\nIt is an implementation-dependent matter as to how the agent\nsets these default parameters. For example, it may leave\ncertain entries in this table 'off(0)' if the agent developer\n\n\n\nbelieves that combination will be infrequently used, allowing\na manager that needs that capability to set it to 'on(1)'.\n\nSome applications are registered in the RMON2 protocol\ndirectory and some are registered in other tables in this\nMIB Module. Regardless of where an application is originally\nregistered, it is assigned an AppLocalIndex value that is the\nprimary index for this table.\n\nThe contents of this table affect all reports and exceptions\ngenerated by this agent. Accordingly, modification of this\ntable should be performed by a manager acting in the role of\nadministrator. In particular, management software should not\nrequire or enforce particular configuration of this table - it\nshould reflect the preferences of the site administrator, not\nthe software author. As a practical matter, this requires\nmanagement software to allow the administrator to configure\nthe values it will use so that it can be adapted to the site\npolicy.") apmAppDirEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1)).setIndexNames((0, "APM-MIB", "apmAppDirAppLocalIndex"), (0, "APM-MIB", "apmAppDirResponsivenessType")) if mibBuilder.loadTexts: apmAppDirEntry.setDescription("The APM MIB directory of applications and application\nverbs. An entry will exist in this table for all applications\nfor which application performance measurement is supported.") apmAppDirAppLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 1), AppLocalIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmAppDirAppLocalIndex.setDescription("The AppLocalIndex assigned for this application Directory\nentry.") apmAppDirResponsivenessType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("transactionOriented", 1), ("throughputOriented", 2), ("streamingOriented", 3), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmAppDirResponsivenessType.setDescription("This object describes and configures the agent's support for\napplication performance measurement for this application.\nThere are 3 types of measurements for different types of\napplications:\n\nTransaction-Oriented applications have a fairly constant\nworkload to perform for all transactions. The responsiveness\nmetric for transaction-oriented applications is application\nresponse time (from first request to final delivery of\nservice) and is measured in milliseconds. This is\ncommonly referred to as end-user response time.\n\nThroughput-Oriented applications have widely varying workloads\nbased on the nature of the client request. In particular,\nthroughput-oriented applications vary widely in the amount of\ndata that must be transported to satisfy the request. The\nresponsiveness metric for throughput-oriented applications is\nkilobits per second.\n\nStreaming-Oriented applications deliver data at a constant\nmetered rate of speed regardless of the responsiveness of the\nnetworking and computing infrastructure. This constant rate of\nspeed is generally specified to be below (sometimes well\nbelow) the nominal capability of the infrastructure. However,\nwhen the infrastructures cannot deliver data at this speed,\ninterruption of service or degradation of service can\nresult. The responsiveness metric for streaming-oriented\napplications is the ratio of time that the service is degraded\nor interrupted to the total service time. This metric is\nmeasured in parts per million.\n\nNote that for some applications, measuring more than one\nresponsiveness type may be interesting. For agents that wish\n\n\n\nto support more than one measurement for a application, they\nwill populate this table with multiple entries for that\napplication, one for each type.") apmAppDirConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("off", 1), ("on", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirConfig.setDescription("This object describes and configures support for application\nperformance measurement for this application.\n\nIf the value of this object is on(2), the agent supports\nmeasurement of application performance metrics for this\napplication and is configured to measure such metrics for all\nAPM MIB functions and all interfaces. If the value of this\nobject is off(1), the agent supports measurement of\napplication performance for this application but is configured\nto not measure these metrics for any APM MIB functions or\ninterfaces. Whenever this value changes from on(2) to off(1),\nthe agent shall delete all related entries in all tables in\nthis MIB Module.\n\nThe value of this object must persist across reboots.") apmAppDirResponsivenessBoundary1 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirResponsivenessBoundary1.setDescription("The boundary value between bucket1 and bucket 2. If this\nvalue is modified, all entries in the apmReportTable must be\ndeleted by the agent.\n\nThe value of this object must persist across reboots.") apmAppDirResponsivenessBoundary2 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirResponsivenessBoundary2.setDescription("The boundary value between bucket2 and bucket 3. If this\n\n\n\nvalue is modified, all entries in the apmReportTable must be\ndeleted by the agent.\n\nThe value of this object must persist across reboots.") apmAppDirResponsivenessBoundary3 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 6), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirResponsivenessBoundary3.setDescription("The boundary value between bucket3 and bucket 4. If this\nvalue is modified, all entries in the apmReportTable must be\ndeleted by the agent.\n\nThe value of this object must persist across reboots.") apmAppDirResponsivenessBoundary4 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirResponsivenessBoundary4.setDescription("The boundary value between bucket4 and bucket 5. If this\nvalue is modified, all entries in the apmReportTable must be\ndeleted by the agent.\n\nThe value of this object must persist across reboots.") apmAppDirResponsivenessBoundary5 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirResponsivenessBoundary5.setDescription("The boundary value between bucket5 and bucket 6. If this\nvalue is modified, all entries in the apmReportTable must be\ndeleted by the agent.\n\nThe value of this object must persist across reboots.") apmAppDirResponsivenessBoundary6 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 1, 1, 9), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirResponsivenessBoundary6.setDescription("The boundary value between bucket6 and bucket 7. If this\n\n\n\nvalue is modified, all entries in the apmReportTable must be\ndeleted by the agent.\n\nThe value of this object must persist across reboots.") apmBucketBoundaryLastChange = MibScalar((1, 3, 6, 1, 2, 1, 16, 23, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmBucketBoundaryLastChange.setDescription("The value of sysUpTime the last time that any bucket boundary\nin any appDirEntry was changed. This object can help to\ndetermine if two managers are both trying to enforce different\nconfigurations of this table.") apmAppDirID = MibScalar((1, 3, 6, 1, 2, 1, 16, 23, 1, 3), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmAppDirID.setDescription("This object allows managers to avoid downloading application\ndirectory information when the directory is set to a known\n(usually fixed) configuration.\n\nIf the value of this object isn't 0.0, it signifies\nthat the entire contents of the apmAppDirTable,\napmHttpFilterTable, apmUserDefinedAppTable and\nprotocolDirTable are equal to a known state identified\nby the value of this object. If a manager recognizes this\nvalue as identifying a directory configuration it has a local\ncopy of, it may use this local copy rather than downloading\nthese tables. Note that it may have downloaded this local copy\n(and the ID) from another agent and used this copy for all\nother agents that advertised the same ID.\n\nIf an agent recognizes that the entire contents of the\napmAppDirTable, apmHttpFilterTable,\napmUserDefinedAppTable and protocolDirTable are equal to\na known state to which an ID has been assigned, it should set\nthis object to that ID.\n\nIn many cases when this feature is used, the application\ndirectory information will be in read-only memory and thus the\ntables may not be modified via SNMP requests. In the event\n\n\n\nthat the tables are writable and a modification is made, the\nagent is responsible for setting this object to 0.0 if it\ncannot determine that the state is equal to a known state.\n\nAn agent is not obligated to recognize and advertise all such\nregistered states as it may not have knowledge of all states.\nThus, a manager may encounter agents whose DirectoryID value\nis 0.0 even though the contents of the directory were equal to\na registered state.\n\nNote that the contents of those tables includes the\nprotocolDirLocalIndex and appLocalIndex values. In other\nwords, these values can't be assigned randomly on each agent,\nbut must be equal to values that are part of the known\nstate. While it is possible for a manager to download\napplication directory details using SNMP and to set the\nappropriate directoryID, the manager would need to have some\nscheme to ensure consistent values of LocalIndex variables\nfrom agent to agent. Such schemes are outside the scope of\nthis specification.\n\nApplication directory registrations are unique within an\nadministrative domain.\n\nTypically these registrations will be made by an agent\nsoftware developer who will set the application directory\ntables to a read-only state and assign a DirectoryID to that\nstate. Thus, all agents running this software would share the\nsame DirectoryID. As the application directory might change\nfrom one software release to the next, the developer may\nregister different DirectoryID's for each software release.\n\nA customer could also create a site-wide application directory\nconfiguration and assign a DirectoryID to that configuration\nas long as consistent values of LocalIndex variables can be\nensured.\n\nThe value of this object must persist across reboots.") apmHttpFilterTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 4)) if mibBuilder.loadTexts: apmHttpFilterTable.setDescription("A table that creates virtual applications which measure the\nperformance of certain web pages or sets of web pages.\n\nWhen an entry is added to this table, the agent will\nautomatically create one or more entries in the\napmAppDirTable (one for each responsivenessType it is\ncapable of measuring).\n\nNote that when entries exist in this table some HTTP\ntransactions will be summarized twice: in applications\nrepresented here as well as the HTTP application. If entries\nin this table overlap, these transactions may be summarized\nadditional times.\n\nThe contents of this table affect all reports and exceptions\ngenerated by this agent. Accordingly, modification of this\ntable should be performed by a manager acting in the role of\nadministrator. In particular, management software should not\nrequire or enforce particular configuration of this table - it\nshould reflect the preferences of the site administrator, not\nthe software author.") apmHttpFilterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1)).setIndexNames((0, "APM-MIB", "apmHttpFilterIndex")) if mibBuilder.loadTexts: apmHttpFilterEntry.setDescription("A virtual application which measure the performance of certain\nweb pages or sets of web pages.") apmHttpFilterIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmHttpFilterIndex.setDescription("An index that uniquely identifies an entry in the\napmHttpFilterTable.") apmHttpFilterAppLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 2), AppLocalIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmHttpFilterAppLocalIndex.setDescription("The AppLocalIndex that represents HTTP transactions\nthat match this entry.\n\nThis object is read-only. A value is created by the agent from\nan unused AppLocalIndex value when this apmHttpFilterEntry is\ncreated.") apmHttpFilterServerProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmHttpFilterServerProtocol.setDescription("The protocolDirLocalIndex value of the network level protocol\nof the apmHttpFilterServerAddress.") apmHttpFilterServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 4), ProtocolDirNetworkAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmHttpFilterServerAddress.setDescription("This entry will only represent transactions coming from the\nnetwork address specified in this object.\n\n\n\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated apmHttpFilterServerProtocol object.\n\nIf this object is the zero-length string, then this entry will\nmatch one of the addresses represented by the 'host' component\nof the associated apmHttpFilterURLPath object, where the\nformat if a URL [9] is\nhttp://:/?.") apmHttpFilterURLPath = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmHttpFilterURLPath.setDescription("This entry will only represent HTTP transactions\nwhere the URL path component in the request matches this\nvalue. This value represents the requested path regardless of\nany substitution that the server might perform.\n\nPrior to the matching, the URL is stripped of any server\naddress or DNS name and consists solely of the path name on\nthat server.\n\nIf the length of this object is zero, then this entry will\nmatch if the associated apmHttpFilterServerAddress match. If\nthe length of that object is also zero, then this entry will\nmatch nothing.\n\nThe value of the associated apmHttpFilterMatchType dictates\nthe type of matching that will be attempted.") apmHttpFilterMatchType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("exact", 1), ("stripTrailingSlash", 2), ("prefix", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmHttpFilterMatchType.setDescription("The matching algorithm used to compare the URL pathname.\n\nIf the value is exact(1), then the pathname component will be\ncompared with the associated apmHttpFilterURLPath and\nwill only be associated with this entry if it matches exactly.\n\n\n\nIf the value is stripTrailingSlash(2), then the pathname\ncomponent will be compared with the associated\napmHttpFilterURLPath and will only be associated with this\nentry if it matches exactly or if the pathname ends with a '/'\nsymbol and matches apmHttpFilterURLPath if the '/' symbol is\nremoved from the pathname. This option exists for those paths\nwhere an optional trailing slash is possible but for which a\nprefix match would be too broad.\n\nIf the value is prefix(3), then the pathname component will be\ncompared with the associated apmHttpFilterURLPath and will\nonly be associated with this entry if the beginning of the\npathname matches every octet of this value. Octets that extend\nbeyond the length of this value are ignored.") apmHttpFilterOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 7), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmHttpFilterOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") apmHttpFilterStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 8), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmHttpFilterStorageType.setDescription("The storage type of this apmHttpFilterEntry. If the value of\nthis object is 'permanent', no objects in this row need to be\nwritable.") apmHttpFilterRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 4, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmHttpFilterRowStatus.setDescription("The status of this apmHttpFilterEntry. No objects in this row\nmay be modified while the row's status is 'active'.") apmHttpIgnoreUnregisteredURLs = MibScalar((1, 3, 6, 1, 2, 1, 16, 23, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmHttpIgnoreUnregisteredURLs.setDescription("When true, APM measurements of HTTP transactions will only\nmeasure transactions relating to URLs that match a filter in\nthe apmHttpFilterTable. Thus, measurements for the HTTP\napplication will present aggregated statistics for\nURL-matching HTTP transactions and measurements for the HTTP\nGET application verb will present aggregated statistics for\nURL-matching HTTP GET transactions.\n\nThis will be used in environments that wish to monitor only\ntargeted URLs and to ignore large volumes of internet web\nbrowsing traffic.\n\nThis object affects all APM reports and exceptions generated\nby this agent. Accordingly, modification of this object should\nbe performed by a manager acting in the role of\nadministrator. In particular, management software should not\nrequire or enforce particular configuration of this object -\nit should reflect the preferences of the site administrator,\nnot the software author.\n\nThe value of this object must persist across reboots.") apmHttp4xxIsFailure = MibScalar((1, 3, 6, 1, 2, 1, 16, 23, 1, 6), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmHttp4xxIsFailure.setDescription("When true, this agent will recognize HTTP errors in the range\nof 400 through 499 and will treat them as unavailable\ntransactions. When false or when this object isn't supported,\nthey will be treated as successful transactions.\n\nThis object allows such error pages to be tracked at the\npossible expense of having user typos treated as poor service\non the part of the web server.\n\nThis object affects all reports and exceptions generated by\nthis agent. Accordingly, modification of this object should be\nperformed by a manager acting in the role of administrator. In\nparticular, management software should not require or enforce\nparticular configuration of this object - it should reflect\nthe preferences of the site administrator, not the software\nauthor.\n\nThe value of this object must persist across reboots.") apmUserDefinedAppTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 7)) if mibBuilder.loadTexts: apmUserDefinedAppTable.setDescription("A table that advertises user-defined applications that the\nagent is measuring.\n\nThe agent will automatically create one or more entries in the\napmAppDirTable (one for each responsivenessType it is\ncapable of measuring) for each entry in this table.\n\nNote that when entries exist in this table some\ntransactions can be summarized more than once if there is\noverlap between applications defined here and applications\ndefined in the protocol directory or in the httpFilter table.") apmUserDefinedAppEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 7, 1)).setIndexNames((0, "APM-MIB", "apmAppDirAppLocalIndex")) if mibBuilder.loadTexts: apmUserDefinedAppEntry.setDescription("A user-defined application that the agent is measuring, along\nwith its AppLocalIndex assignment.\n\nThe apmAppDirAppLocalIndex value in the index identifies\nthe agent-assigned AppLocalIndex value for this user-defined\napplication.") apmUserDefinedAppParentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 7, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: apmUserDefinedAppParentIndex.setDescription("The protocolDirLocalIndex value of the highest-layer\nprotocol defined in the protocolDirTable that this\napplication is a child of.") apmUserDefinedAppApplication = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 7, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmUserDefinedAppApplication.setDescription("A human readable descriptive tag for this application.") apmNameTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 8)) if mibBuilder.loadTexts: apmNameTable.setDescription("A client machine may have multiple addresses during a period\nof monitoring. The apmNameTable assigns a long-lived\nidentifier to a client and records what addresses were\nassigned to that client for periods of time. Various\nimplementation techniques exist for tracking this mapping but\nif an agent is unable to track client address mappings, it may\nmap client identifiers to client addresses rather than to\ndistinct client machines.\n\nA particular apmNameClientID should be a constant attribute of\na particular client. When available, the agent may also record\nthe machine name and/or user name which may be valuable for\ndisplaying to humans. The apmNameMachineName and\napmNameUserName are relatively constant, changing only if\nthese attributes actually change on the client.\n\nThe agent will store a historical log of these entries, aging\nout old entries as the log becomes too large. Since this table\ncontains information vital to the interpretation of other\ntables (e.g., the apmReportTable), the agent should ensure that\n\n\n\nthe log doesn't age out entries that would be referenced by\ndata in those tables.\n\nNote that an entry for a clientID is active from its\nStartTime until the StartTime of another entry (for the same\nclientID) that supersedes it, or 'now' if none supersede\nit. Therefore, if a clientID only has a single entry, it is by\ndefinition very new and should never be aged out. No entry for\na clientID should be aged out unless it has been updated by a\nnew entry for the client (i.e., with an updated address) and\nonly if the new entry is 'old' enough.\n\nTo determine how old is old enough, compute the maximum value\nof Interval * (NumReports + 1) of all entries in the\napmReportControlTable (the '+ 1' is to allow a reasonable\nperiod of time for the report to be downloaded). Then take the\nlarger of this value and the age in seconds of the oldest\nentry in the current transaction table. If an entry for a\nclientID is superseded by another entry whose StartTime is\nmore than this many seconds ago, then the older entry may be\ndeleted.") apmNameEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 8, 1)).setIndexNames((0, "APM-MIB", "apmNameClientID"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "APM-MIB", "apmNameClientAddress"), (0, "APM-MIB", "apmNameMappingStartTime")) if mibBuilder.loadTexts: apmNameEntry.setDescription("An entry in the APM name table. An entry exists for each\nperiod of time that a client has been associated with a\nparticular address.\n\nThe protocolDirLocalIndex value in the index identifies\nthe network layer protocol for the ClientAddress for this\nentry.\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") apmNameClientID = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 8, 1, 1), RmonClientID()).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmNameClientID.setDescription("A unique ID assigned to the machine represented by this\nmapping. This ID is assigned by the agent using an\nimplementation-specific algorithm.") apmNameClientAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 8, 1, 2), ProtocolDirNetworkAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmNameClientAddress.setDescription("The network client address for this client when this mapping\nwas active.\n\nThis is represented as an octet string with specific semantics\nand length as identified by the protocolDirLocalIndex\ncomponent of the index. This object may not be the zero length\nstring.\n\nSince this object is an index variable, it is encoded in the\nindex according to the index encoding rules. For example, if\nthe protocolDirLocalIndex component of the index indicates an\nencapsulation of ip, this object is encoded as a length octet\nof 4, followed by the 4 octets of the ip address, in network\nbyte order. Care should be taken to avoid values of this\nobject that, in conjunction with the other index variables,\nwould result in an index longer than SNMP's maximum of 128\nsubidentifiers.") apmNameMappingStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 8, 1, 3), DateAndTime()).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmNameMappingStartTime.setDescription("The time that the agent first discovered this mapping\nas active.") apmNameMachineName = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 8, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmNameMachineName.setDescription("The human readable name of the client machine.\n\nIf the client has no machine name or the agent is\nunable to learn the machine name, this object will be\na zero-length string.") apmNameUserName = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 8, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmNameUserName.setDescription("The human readable name of a human user using the client\nmachine. If more than one user name are available\nsimultaneously, it is an implementation-dependent matter as to\nwhich is used here. However, if the user name changes, this\nobject should change to reflect that change.\n\nNon-human user names like 'root' or 'administrator' aren't\nintended as values for this object. If the client has no\nrecorded user name or the agent is unable to learn a user\nname, this object will be a zero-length string.") apmReportControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 9)) if mibBuilder.loadTexts: apmReportControlTable.setDescription("Parameters that control the creation of a set of reports that\naggregate application performance.") apmReportControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1)).setIndexNames((0, "APM-MIB", "apmReportControlIndex")) if mibBuilder.loadTexts: apmReportControlEntry.setDescription("A conceptual row in the apmReportControlTable.\n\nAn example of the indexing of this table is\n\n\n\napmReportControlInterval.3") apmReportControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmReportControlIndex.setDescription("An index that uniquely identifies an entry in the\napmReportControlTable. Each such entry defines a unique\nreport whose results are placed in the apmReportTable on\nbehalf of this apmReportControlEntry.") apmReportControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 2), DataSourceOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlDataSource.setDescription("The source of the data for APM Reports generated on\nbehalf of this apmReportControlEntry.\n\nIf the measurement is being performed by a probe, this should\nbe set to interface or port where data was received for\nanalysis. If the measurement isn't being performed by a probe,\nthis should be set to the primary interface over which the\nmeasurement is being performed. If the measurement isn't being\nperformed by a probe and there is no primary interface or this\n\n\n\ninformation isn't known, this object should be set to 0.0.\n\nThis object may not be modified if the associated\napmReportControlStatus object is equal to active(1).") apmReportControlAggregationType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 3), TransactionAggregationType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlAggregationType.setDescription("The type of aggregation being performed for this set of\nreports.\n\nThe metrics for a single transaction are the responsiveness of\nthe transaction and whether the transaction succeeded (a\nboolean). When such metrics are aggregated in this MIB Module,\nthese metrics are replaced by averages and distributions of\nresponsiveness and availability. The metrics describing\naggregates are constant no matter which type of aggregation is\nbeing performed. These metrics may be found in the\napmReportTable.\n\nThe flows(1) aggregation is the simplest. All transactions\nthat share common application/server/client 3-tuples are\naggregated together, resulting in a set of metrics for all\nsuch unique 3-tuples.\n\nThe clients(2) aggregation results in somewhat more\naggregation (i.e., fewer resulting records). All transactions\nthat share common application/client tuples are aggregated\ntogether, resulting in a set of metrics for all such unique\ntuples.\n\nThe servers(3) aggregation usually results in still more\naggregation (i.e., fewer resulting records). All transactions\nthat share common application/server tuples are aggregated\ntogether, resulting in a set of metrics for all such unique\ntuples.\n\nThe applications(4) aggregation results in the most\naggregation (i.e., the fewest resulting records). All\n\n\n\ntransactions that share a common application are aggregated\ntogether, resulting in a set of metrics for all such unique\napplications.\n\nNote that it is not meaningful to aggregate applications, as\ndifferent applications have widely varying characteristics.\nAs a result, this set of aggregations is complete.\n\nThis object may not be modified if the associated\napmReportControlStatus object is equal to active(1).") apmReportControlInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 4), Unsigned32().clone(3600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlInterval.setDescription("The interval in seconds over which data is accumulated before\nbeing aggregated into a report in the apmReportTable. All\nreports with the same apmReportControlIndex will be based on\nthe same interval. This object must be greater than zero.\n\nMany users desire that these reports be synchronized to within\nseconds of the beginning of the hour because the results may\nbe correlated more meaningfully to business behavior and so\nthat data from multiple agents is aggregated over the same\ntime periods. Thus management software may take extra effort\nto synchronize reports to the beginning of the hour and to one\nanother. However, the agent must not allow reports to 'drift'\nover time as they will quickly become unsynchronized. In\nparticular, if there is any fixed processing delay between\nreports, the reports should deduct this time from the interval\nso that reports don't drift.\n\nThis object may not be modified if the associated\napmReportControlStatus object is equal to active(1).") apmReportControlRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 5), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlRequestedSize.setDescription("The number of entries requested to be allocated for each\nreport generated on behalf of this entry.") apmReportControlGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportControlGrantedSize.setDescription("The number of entries per report the agent has allocated\nbased on the requested amount in apmReportControlRequestedSize.\nSince multiple reports are saved, the total number of entries\nallocated will be this number multiplied by the value of\napmReportControlGrantedReports, or 1 if that object doesn't\nexist.\n\nWhen the associated apmReportControlRequestedSize object is\ncreated or modified, the agent should set this object as\nclosely to the requested value as is possible for the\nparticular implementation and available resources. When\nconsidering resources available, the agent must consider its\nability to allocate this many entries for all reports.\n\nNote that while the actual number of entries stored in the\nreports may fluctuate due to changing conditions, the agent\nmust continue to have storage available to satisfy the full\nreport size for all reports when necessary. Further, the agent\nmust not lower this value except as a result of a set to the\nassociated apmReportControlRequestedSize object.") apmReportControlRequestedReports = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlRequestedReports.setDescription("The number of saved reports requested to be allocated on\nbehalf of this entry.") apmReportControlGrantedReports = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportControlGrantedReports.setDescription("The number of saved reports the agent has allocated\nbased on the requested amount in\napmReportControlRequestedReports. Since each report can have\nmany entries, the total number of entries allocated will be\nthis number multiplied by the value of\napmReportControlGrantedSize, or 1 if that object doesn't\nexist.\n\n\n\nWhen the associated apmReportControlRequestedReports object is\ncreated or modified, the agent should set this object as\nclosely to the requested value as is possible for the\nparticular implementation and available resources. When\nconsidering resources available, the agent must consider its\nability to allocate this many reports each with the number of\nentries represented by apmReportControlGrantedSize, or 1 if\nthat object doesn't exist.\n\nNote that while the storage required for each report may\nfluctuate due to changing conditions, the agent must continue\nto have storage available to satisfy the full report size for\nall reports when necessary. Further, the agent must not lower\nthis value except as a result of a set to the associated\napmReportControlRequestedSize object.") apmReportControlStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportControlStartTime.setDescription("The value of sysUpTime when the system began processing the\nreport in progress. Note that the report in progress is not\navailable.\n\nThis object may be used by the management station to figure\nout the start time for all previous reports saved for this\napmReportControlEntry, as reports are started at fixed\nintervals.") apmReportControlReportNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportControlReportNumber.setDescription("The number of the report in progress. When an\napmReportControlEntry is activated, the first report will be\nnumbered one.") apmReportControlDeniedInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportControlDeniedInserts.setDescription("The number of failed attempts to add an entry to reports for\n\n\n\nthis apmReportControlEntry because the number of entries\nwould have exceeded apmReportControlGrantedSize.\n\nThis number is valuable in determining if enough entries have\nbeen allocated for reports in light of fluctuating network\nusage. Note that since an entry that is denied will often be\nattempted again, this number will not predict the exact number\nof additional entries needed, but can be used to understand\nthe relative magnitude of the problem.\n\nAlso note that there is no ordering specified for the entries\nin the report, thus there are no rules for which entries will\nbe omitted when not enough entries are available. As a\nconsequence, the agent is not required to delete 'least\nvaluable' entries first.") apmReportControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportControlDroppedFrames.setDescription("The total number of frames which were received by the agent\nand therefore not accounted for in the *StatsDropEvents, but\nfor which the agent chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the agent\nis out of some resources and decides to shed load from this\ncollection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nThis counter is only relevant if this apm report is based on\na data source whose collection methodology is based on\nanalyzing network traffic.\n\nNote that if the apmReportTables are inactive because no\napplications are enabled in the application directory, this\nvalue should be 0.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") apmReportControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 13), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") apmReportControlStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 14), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlStorageType.setDescription("The storage type of this apmReportControlEntry. If the value\nof this object is 'permanent', no objects in this row need to\nbe writable.") apmReportControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 9, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmReportControlStatus.setDescription("The status of this apmReportControlEntry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value. The only\nobjects in the entry that may be modified while the entry is\nin the active state are apmReportControlRequestedSize and\napmReportControlRequestedReports.\n\nIf this object is not equal to active(1), all\nassociated entries in the apmReportTable shall be deleted\nby the agent.") apmReportTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 10)) if mibBuilder.loadTexts: apmReportTable.setDescription("The data resulting from aggregated APM reports. Consult the\ndefinition of apmReportControlAggregationType for the\ndefinition of the various types of aggregations.") apmReportEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1)).setIndexNames((0, "APM-MIB", "apmReportControlIndex"), (0, "APM-MIB", "apmReportIndex"), (0, "APM-MIB", "apmAppDirAppLocalIndex"), (0, "APM-MIB", "apmAppDirResponsivenessType"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "APM-MIB", "apmReportServerAddress"), (0, "APM-MIB", "apmNameClientID")) if mibBuilder.loadTexts: apmReportEntry.setDescription("A conceptual row in the apmReportTable.\nThe apmReportControlIndex value in the index identifies the\napmReportControlEntry on whose behalf this entry was created.\nThe apmReportIndex value in the index identifies which report\n(in the series of reports) this entry is a part of.\nThe apmAppDirAppLocalIndex value in the index identifies\nthe common application of the transactions aggregated in this\nentry.\nThe apmAppDirResponsivenessType value in the index\nidentifies the type of responsiveness metric reported by\nthis entry and uniquely identifies this entry when more\nthan one responsiveness metric is measured for a flow.\nEntries will only exist in this table for those\ncombinations of AppLocalIndex and ResponsivenessType\nthat are configured 'on(1)'.\nThe protocolDirLocalIndex value in the index identifies\nthe network layer protocol of the apmReportServerAddress.\nWhen the associated apmReportControlAggregationType value is\nequal to applications(4) or clients(2), this\nprotocolDirLocalIndex value will equal 0.\nThe apmReportServerAddress value in the index identifies the\nnetwork layer address of the server in transactions aggregated\nin this entry.\nThe apmNameClientID value in the index identifies the\nclient in transactions aggregated in this entry. If the\nassociated apmReportControlAggregationType is equal to\napplications(4) or servers(3), then this protocolDirLocalIndex\nvalue will equal 0.\n\nAn example of the indexing of this entry is\napmReportTransactionCount.3.15.3.1.8.4.192.168.1.2.3232235788\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") apmReportIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmReportIndex.setDescription("The value of apmReportControlReportNumber for the report to\nwhich this entry belongs.") apmReportServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 2), ProtocolDirNetworkAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmReportServerAddress.setDescription("The network server address for this apmReportEntry.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the protocolDirLocalIndex component of the index.\n\nSince this object is an index variable, it is encoded in the\nindex according to the index encoding rules. For example, if\nthe protocolDirLocalIndex indicates an encapsulation of ip,\nthis object is encoded as a length octet of 4, followed by the\n4 octets of the ip address, in network byte order. Care\nshould be taken to avoid values of this object that, in\nconjunction with the other index variables, would result in an\nindex longer than SNMP's maximum of 128 subidentifiers.\n\nIf the associated apmReportControlAggregationType is equal to\napplications(4) or clients(2), then this object will be a null\nstring and will be encoded simply as a length octet of 0.") apmReportTransactionCount = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportTransactionCount.setDescription("The total number of transactions aggregated into this record.") apmReportSuccessfulTransactions = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportSuccessfulTransactions.setDescription("The total number of successful transactions aggregated into\nthis record.") apmReportResponsivenessMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessMean.setDescription("The arithmetic mean of the responsiveness metrics for all\nsuccessful transactions aggregated into this record.") apmReportResponsivenessMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessMin.setDescription("The minimum of the responsiveness metrics for all\nsuccessful transactions aggregated into this record.") apmReportResponsivenessMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessMax.setDescription("The maximum of the responsiveness metrics for all\nsuccessful transactions aggregated into this record.") apmReportResponsivenessB1 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessB1.setDescription("The number of successful transactions aggregated into this\nrecord whose responsiveness was less than boundary1 value for\nthis application.") apmReportResponsivenessB2 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessB2.setDescription("The number of successful transactions aggregated into this\nrecord whose responsiveness did not fall into Bucket 1 and was\ngreater than or equal to the boundary1 value for this\napplication and less than the boundary2 value for this\napplication.") apmReportResponsivenessB3 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessB3.setDescription("The number of successful transactions aggregated into this\nrecord whose responsiveness did not fall into Bucket 1 or 2\nand as greater than or equal to the boundary2 value for this\napplication and less than the boundary3 value for this\napplication.") apmReportResponsivenessB4 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessB4.setDescription("The number of successful transactions aggregated into this\nrecord whose responsiveness did not fall into Buckets 1\nthrough 3 and was greater than or equal to the boundary3 value\nfor this application and less than the boundary4 value for\nthis application.") apmReportResponsivenessB5 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessB5.setDescription("The number of successful transactions aggregated into this\nrecord whose responsiveness did not fall into Buckets 1\nthrough 4 and was greater than or equal to the boundary4 value\nfor this application and less than the boundary5 value for\nthis application.") apmReportResponsivenessB6 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessB6.setDescription("The number of successful transactions aggregated into this\nrecord whose responsiveness did not fall into Buckets 1\nthrough 5 and was greater than or equal to the\nboundary5 value for this application and less than the\nboundary6 value for this application.") apmReportResponsivenessB7 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 10, 1, 14), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmReportResponsivenessB7.setDescription("The number of successful transactions aggregated into this\nrecord whose responsiveness did not fall into Buckets 1\nthrough 6 and was greater than or equal to the boundary6 value\nfor this application.") apmTransactionTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 11)) if mibBuilder.loadTexts: apmTransactionTable.setDescription("This table contains transactions that are currently running\nor have recently finished.") apmTransactionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 11, 1)).setIndexNames((0, "APM-MIB", "apmAppDirAppLocalIndex"), (0, "APM-MIB", "apmAppDirResponsivenessType"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "APM-MIB", "apmTransactionServerAddress"), (0, "APM-MIB", "apmNameClientID"), (0, "APM-MIB", "apmTransactionID")) if mibBuilder.loadTexts: apmTransactionEntry.setDescription("A conceptual row in the apmTransactionTable.\n\nThe apmAppDirAppLocalIndex value in the index identifies\nthe application of the transaction represented by this entry.\nThe apmAppDirResponsivenessType value in the index\nidentifies the type of responsiveness metric reported by\nthis entry and uniquely identifies this entry when more\nthan one responsiveness metric is measured for a flow.\nEntries will only exist in this table for those\ncombinations of AppLocalIndex and ResponsivenessType\nthat are configured 'on(1)'.\nThe protocolDirLocalIndex value in the index identifies\nthe network layer protocol of the apmTransactionServerAddress.\nThe apmTransactionServerAddress value in the index identifies\nthe network layer address of the server in the transaction\nrepresented by this entry.\nThe apmNameClientID value in the index identifies the\nclient in the transaction represented by this entry.\n\nAn example of the indexing of this entry is\napmTransactionCount.3.1.8.4.192.168.1.2.3232235788.2987\n\nNote that some combinations of index values may result in an\nindex that exceeds 128 sub-identifiers in length which exceeds\nthe maximum for the SNMP protocol. Implementations should take\ncare to avoid such combinations.") apmTransactionServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 11, 1, 1), ProtocolDirNetworkAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmTransactionServerAddress.setDescription("The network server address for this apmTransactionEntry.\n\nThis is represented as an octet string with specific semantics\nand length as identified by the protocolDirLocalIndex\ncomponent of the index. This object may not be the zero length\nstring.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of ip, this object is encoded as a length octet\nof 4, followed by the 4 octets of the ip address, in network\nbyte order. Care should be taken to avoid values of this\nobject that, in conjunction with the other index variables,\nwould result in an index longer than SNMP's maximum of 128\nsubidentifiers.") apmTransactionID = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 11, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmTransactionID.setDescription("A unique value for this transaction amongst other\ntransactions sharing the same application layer protocol and\nserver and client addresses. Implementations may choose to use\nthe value of the client's source port, when possible.") apmTransactionResponsiveness = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 11, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmTransactionResponsiveness.setDescription("The current value of the responsiveness metric for this\ntransaction. If this transaction has completed, the final\nvalue of the metric will be available.\n\nNote that this value may change over the lifetime of the\ntransaction and it is the final value of this metric that is\nrecorded as the responsiveness of the transaction for use in\nother APM MIB functions.") apmTransactionAge = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 11, 1, 4), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmTransactionAge.setDescription("If this transaction is still executing, this value shall be\n\n\n\nthe length of time since it was started. If it has completed,\nthis value shall be the length of time it was executing.") apmTransactionSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 11, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmTransactionSuccess.setDescription("The success of this transaction up to this time. Once a\ntransaction has been marked as failed, it cannot move back\ninto the successful state.") apmTransactionsRequestedHistorySize = MibScalar((1, 3, 6, 1, 2, 1, 16, 23, 1, 12), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmTransactionsRequestedHistorySize.setDescription("The maximum number of completed transactions desired to be\nretained in the apmTransactionTable. If the agent doesn't have\nenough resources to retain this many, it will retain as many as\npossible. Regardless of this value, the agent must attempt to\nkeep records for all current transactions it is monitoring.\n\nThe value of this object must persist across reboots.") apmExceptionTable = MibTable((1, 3, 6, 1, 2, 1, 16, 23, 1, 13)) if mibBuilder.loadTexts: apmExceptionTable.setDescription("This table creates filters so that a management station can\nget immediate notification of a transaction that has had poor\n\n\n\navailability or responsiveness.\n\nEach apmExceptionEntry is associated with a particular type of\ntransaction and is applied to all transactions of that\ntype. Multiple apmExceptionEntries may be associated with a\nparticular type of transaction. A transaction type is\nidentified by the value of the apmAppDirAppLocalIndex\ncomponent of the index.\n\nBecause the quality of a transaction is not known until it is\ncompleted, these thresholds are only applied after the\ntransaction has completed.") apmExceptionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1)).setIndexNames((0, "APM-MIB", "apmAppDirAppLocalIndex"), (0, "APM-MIB", "apmAppDirResponsivenessType"), (0, "APM-MIB", "apmExceptionIndex")) if mibBuilder.loadTexts: apmExceptionEntry.setDescription("A conceptual row in the apmExceptionTable.\n\nThe apmAppDirAppLocalIndex value in the index identifies\nthe application this entry will monitor.\nThe apmAppDirResponsivenessType value in the index\nidentifies the type of responsiveness metric this entry will\nmonitor.") apmExceptionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apmExceptionIndex.setDescription("An index that uniquely identifies an entry in the\napmExceptionTable amongst other entries with equivalent index\nvalues for apmAppDirAppLocalIndex and\napmAppDirResponsivenessType. Each such entry sets up\nthresholds for a particular measurement of a particular\napplication.") apmExceptionResponsivenessComparison = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("none", 1), ("greater", 2), ("less", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmExceptionResponsivenessComparison.setDescription("If this value is greater(2) or less(3), the associated\napmExceptionResponsivenessThreshold will be compared to this\nvalue and an exception will be created if the responsiveness\nis greater than the threshold (greater(2)) or less than the\nthreshold (less(3)).") apmExceptionResponsivenessThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmExceptionResponsivenessThreshold.setDescription("The threshold that responsiveness metrics are compared to.") apmExceptionUnsuccessfulException = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("off", 1), ("on", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmExceptionUnsuccessfulException.setDescription("If this value is on(2), an exception will be created if a\ntransaction of the associated type is unsuccessful.") apmExceptionResponsivenessEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmExceptionResponsivenessEvents.setDescription("The total number of responsiveness exceptions generated. This\ncounter will be incremented even if no notification was sent\ndue to notifications not being configured or due to exceeding\nthe apmNotificationMaxRate value.") apmExceptionUnsuccessfulEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apmExceptionUnsuccessfulEvents.setDescription("The total number of unsuccessful exceptions generated. This\ncounter will be incremented even if no notification was sent\ndue to notifications not being configured or due to exceeding\nthe apmNotificationMaxRate value.") apmExceptionOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 7), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmExceptionOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") apmExceptionStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 8), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmExceptionStorageType.setDescription("The storage type of this apmReportControlEntry. If the value\nof this object is 'permanent', no objects in this row need to\nbe writable.") apmExceptionStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 23, 1, 13, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apmExceptionStatus.setDescription("The status of this apmExceptionEntry. The only objects in the\nentry that may be modified while the entry is in the active\nstate are apmExceptionResponsivenessComparison,\napmExceptionResponsivenessThreshold and\napmExceptionUnsuccessfulException.") apmThroughputExceptionMinTime = MibScalar((1, 3, 6, 1, 2, 1, 16, 23, 1, 14), Unsigned32().clone(10)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: apmThroughputExceptionMinTime.setDescription("Because the responsiveness for throughput-oriented\ntransactions is divided by the elapsed time, it can be very\nsensitive to short-term performance variations for\ntransactions that take a short period of time. For example,\nwhen downloading a very short file, a single dropped packet\ncould double or triple the total response time.\n\nFurther, throughput is usually examined for applications that\ntransfer a lot of data, and when doing so it is helpful to\nconceptualize transaction costs that are proportional to the\namount of data separately from those costs that are relatively\nfixed (i.e., independent of the amount of data). For very\nshort transactions, these fixed transaction costs (handshake,\nsetup time, authentication, round-trip time) may dominate the\ntotal response time for the transaction, resulting in\nthroughput measurements that aren't really proportional to the\nnetwork's, server's and client's combined data throughput\ncapability.\n\nThis object controls the minimum number of seconds that an\nthroughput-based transaction must exceed before an exception\ncan be generated for it. If this object is set to zero, then\nall throughput-based transactions are candidates for\nexceptions.\n\nThe value of this object must persist across reboots.") apmNotificationMaxRate = MibScalar((1, 3, 6, 1, 2, 1, 16, 23, 1, 15), Unsigned32().clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: apmNotificationMaxRate.setDescription("The maximum number of notifications that can be generated\nfrom this agent by the apmExceptionTable in any 60 second\nperiod.\n\nThe value of this object must persist across reboots.") apmConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 23, 2)) apmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 23, 2, 1)) apmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 23, 2, 2)) # Augmentions # Notifications apmTransactionResponsivenessAlarm = NotificationType((1, 3, 6, 1, 2, 1, 16, 23, 0, 1)).setObjects(*(("APM-MIB", "apmExceptionResponsivenessThreshold"), ("APM-MIB", "apmTransactionResponsiveness"), ) ) if mibBuilder.loadTexts: apmTransactionResponsivenessAlarm.setDescription("Notification sent when a transaction exceeds a threshold\ndefined in the apmException table. The index of the\nincluded apmExceptionResponsivenessThreshold object identifies\nthe apmExceptionEntry that specified the threshold. The\napmTransactionResponsiveness variable identifies the actual\ntransaction and its responsiveness.\n\nAgent implementors are urged to include additional data\nobjects in the alarm that may explain the reason for the\nalarm. It is helpful to include such data in the alarm because\nit describes the situation at the time the alarm was\ngenerated, where polls after the fact may not provide\nmeaningful information. Examples of such information are CPU\nload, memory utilization, network utilization, and transaction\nstatistics.") apmTransactionUnsuccessfulAlarm = NotificationType((1, 3, 6, 1, 2, 1, 16, 23, 0, 2)).setObjects(*(("APM-MIB", "apmExceptionResponsivenessThreshold"), ) ) if mibBuilder.loadTexts: apmTransactionUnsuccessfulAlarm.setDescription("Notification sent when a transaction is unsuccessful.\nThe index of the included apmExceptionResponsivenessThreshold\nobject identifies both the type of the transaction that caused\nthis notification as well as the apmExceptionEntry that\nspecified the threshold.\n\nAgent implementors are urged to include additional data\nobjects in the alarm that may explain the reason for the\nalarm. It is helpful to include such data in the alarm because\nit describes the situation at the time the alarm was\ngenerated, where polls after the fact may not provide\nmeaningful information. Examples of such information are CPU\nload, memory utilization, network utilization, and transaction\nstatistics.") # Groups apmAppDirGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 23, 2, 2, 1)).setObjects(*(("APM-MIB", "apmAppDirID"), ("APM-MIB", "apmAppDirResponsivenessBoundary1"), ("APM-MIB", "apmAppDirResponsivenessBoundary3"), ("APM-MIB", "apmAppDirResponsivenessBoundary2"), ("APM-MIB", "apmAppDirResponsivenessBoundary5"), ("APM-MIB", "apmAppDirResponsivenessBoundary4"), ("APM-MIB", "apmAppDirResponsivenessBoundary6"), ("APM-MIB", "apmNameUserName"), ("APM-MIB", "apmNameMachineName"), ("APM-MIB", "apmAppDirConfig"), ("APM-MIB", "apmBucketBoundaryLastChange"), ) ) if mibBuilder.loadTexts: apmAppDirGroup.setDescription("The APM MIB directory of applications and application verbs.") apmUserDefinedApplicationsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 23, 2, 2, 2)).setObjects(*(("APM-MIB", "apmHttpFilterServerProtocol"), ("APM-MIB", "apmHttpFilterServerAddress"), ("APM-MIB", "apmUserDefinedAppApplication"), ("APM-MIB", "apmHttp4xxIsFailure"), ("APM-MIB", "apmHttpFilterStorageType"), ("APM-MIB", "apmHttpIgnoreUnregisteredURLs"), ("APM-MIB", "apmHttpFilterRowStatus"), ("APM-MIB", "apmHttpFilterMatchType"), ("APM-MIB", "apmHttpFilterAppLocalIndex"), ("APM-MIB", "apmUserDefinedAppParentIndex"), ("APM-MIB", "apmHttpFilterOwner"), ("APM-MIB", "apmHttpFilterURLPath"), ) ) if mibBuilder.loadTexts: apmUserDefinedApplicationsGroup.setDescription("Objects used for creating and managing user-defined\napplications.") apmReportGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 23, 2, 2, 3)).setObjects(*(("APM-MIB", "apmReportSuccessfulTransactions"), ("APM-MIB", "apmReportControlGrantedSize"), ("APM-MIB", "apmReportControlDataSource"), ("APM-MIB", "apmReportControlRequestedSize"), ("APM-MIB", "apmReportControlStorageType"), ("APM-MIB", "apmReportControlGrantedReports"), ("APM-MIB", "apmReportResponsivenessB6"), ("APM-MIB", "apmReportResponsivenessB7"), ("APM-MIB", "apmReportControlDroppedFrames"), ("APM-MIB", "apmReportResponsivenessB5"), ("APM-MIB", "apmReportResponsivenessB2"), ("APM-MIB", "apmReportResponsivenessB3"), ("APM-MIB", "apmReportResponsivenessB1"), ("APM-MIB", "apmReportControlInterval"), ("APM-MIB", "apmReportControlAggregationType"), ("APM-MIB", "apmReportResponsivenessMean"), ("APM-MIB", "apmReportControlReportNumber"), ("APM-MIB", "apmReportControlOwner"), ("APM-MIB", "apmReportResponsivenessMin"), ("APM-MIB", "apmReportControlStartTime"), ("APM-MIB", "apmReportTransactionCount"), ("APM-MIB", "apmReportControlRequestedReports"), ("APM-MIB", "apmReportControlStatus"), ("APM-MIB", "apmReportResponsivenessMax"), ("APM-MIB", "apmReportControlDeniedInserts"), ("APM-MIB", "apmReportResponsivenessB4"), ) ) if mibBuilder.loadTexts: apmReportGroup.setDescription("The apm report group controls the creation and retrieval of\nreports that aggregate application performance.") apmTransactionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 23, 2, 2, 4)).setObjects(*(("APM-MIB", "apmTransactionSuccess"), ("APM-MIB", "apmTransactionsRequestedHistorySize"), ("APM-MIB", "apmTransactionAge"), ("APM-MIB", "apmTransactionResponsiveness"), ) ) if mibBuilder.loadTexts: apmTransactionGroup.setDescription("The apm transaction group contains statistics for\nindividual transactions.") apmExceptionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 23, 2, 2, 5)).setObjects(*(("APM-MIB", "apmExceptionStorageType"), ("APM-MIB", "apmExceptionUnsuccessfulException"), ("APM-MIB", "apmExceptionResponsivenessComparison"), ("APM-MIB", "apmNotificationMaxRate"), ("APM-MIB", "apmExceptionOwner"), ("APM-MIB", "apmThroughputExceptionMinTime"), ("APM-MIB", "apmExceptionStatus"), ("APM-MIB", "apmExceptionUnsuccessfulEvents"), ("APM-MIB", "apmExceptionResponsivenessThreshold"), ("APM-MIB", "apmExceptionResponsivenessEvents"), ) ) if mibBuilder.loadTexts: apmExceptionGroup.setDescription("The apm exception group causes notifications to be sent\nwhenever transactions are detected that had poor availability\nor responsiveness.") apmNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 16, 23, 2, 2, 6)).setObjects(*(("APM-MIB", "apmTransactionUnsuccessfulAlarm"), ("APM-MIB", "apmTransactionResponsivenessAlarm"), ) ) if mibBuilder.loadTexts: apmNotificationGroup.setDescription("Notifications sent by an APM MIB agent.") # Compliances apmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 23, 2, 1, 1)).setObjects(*(("APM-MIB", "apmReportGroup"), ("APM-MIB", "apmNotificationGroup"), ("APM-MIB", "apmExceptionGroup"), ("APM-MIB", "apmUserDefinedApplicationsGroup"), ("APM-MIB", "apmAppDirGroup"), ("APM-MIB", "apmTransactionGroup"), ) ) if mibBuilder.loadTexts: apmCompliance.setDescription("Describes the requirements for conformance to\nthe APM MIB") # Exports # Module identity mibBuilder.exportSymbols("APM-MIB", PYSNMP_MODULE_ID=apm) # Types mibBuilder.exportSymbols("APM-MIB", AppLocalIndex=AppLocalIndex, DataSourceOrZero=DataSourceOrZero, ProtocolDirNetworkAddress=ProtocolDirNetworkAddress, RmonClientID=RmonClientID, TransactionAggregationType=TransactionAggregationType) # Objects mibBuilder.exportSymbols("APM-MIB", apm=apm, apmNotifications=apmNotifications, apmMibObjects=apmMibObjects, apmAppDirTable=apmAppDirTable, apmAppDirEntry=apmAppDirEntry, apmAppDirAppLocalIndex=apmAppDirAppLocalIndex, apmAppDirResponsivenessType=apmAppDirResponsivenessType, apmAppDirConfig=apmAppDirConfig, apmAppDirResponsivenessBoundary1=apmAppDirResponsivenessBoundary1, apmAppDirResponsivenessBoundary2=apmAppDirResponsivenessBoundary2, apmAppDirResponsivenessBoundary3=apmAppDirResponsivenessBoundary3, apmAppDirResponsivenessBoundary4=apmAppDirResponsivenessBoundary4, apmAppDirResponsivenessBoundary5=apmAppDirResponsivenessBoundary5, apmAppDirResponsivenessBoundary6=apmAppDirResponsivenessBoundary6, apmBucketBoundaryLastChange=apmBucketBoundaryLastChange, apmAppDirID=apmAppDirID, apmHttpFilterTable=apmHttpFilterTable, apmHttpFilterEntry=apmHttpFilterEntry, apmHttpFilterIndex=apmHttpFilterIndex, apmHttpFilterAppLocalIndex=apmHttpFilterAppLocalIndex, apmHttpFilterServerProtocol=apmHttpFilterServerProtocol, apmHttpFilterServerAddress=apmHttpFilterServerAddress, apmHttpFilterURLPath=apmHttpFilterURLPath, apmHttpFilterMatchType=apmHttpFilterMatchType, apmHttpFilterOwner=apmHttpFilterOwner, apmHttpFilterStorageType=apmHttpFilterStorageType, apmHttpFilterRowStatus=apmHttpFilterRowStatus, apmHttpIgnoreUnregisteredURLs=apmHttpIgnoreUnregisteredURLs, apmHttp4xxIsFailure=apmHttp4xxIsFailure, apmUserDefinedAppTable=apmUserDefinedAppTable, apmUserDefinedAppEntry=apmUserDefinedAppEntry, apmUserDefinedAppParentIndex=apmUserDefinedAppParentIndex, apmUserDefinedAppApplication=apmUserDefinedAppApplication, apmNameTable=apmNameTable, apmNameEntry=apmNameEntry, apmNameClientID=apmNameClientID, apmNameClientAddress=apmNameClientAddress, apmNameMappingStartTime=apmNameMappingStartTime, apmNameMachineName=apmNameMachineName, apmNameUserName=apmNameUserName, apmReportControlTable=apmReportControlTable, apmReportControlEntry=apmReportControlEntry, apmReportControlIndex=apmReportControlIndex, apmReportControlDataSource=apmReportControlDataSource, apmReportControlAggregationType=apmReportControlAggregationType, apmReportControlInterval=apmReportControlInterval, apmReportControlRequestedSize=apmReportControlRequestedSize, apmReportControlGrantedSize=apmReportControlGrantedSize, apmReportControlRequestedReports=apmReportControlRequestedReports, apmReportControlGrantedReports=apmReportControlGrantedReports, apmReportControlStartTime=apmReportControlStartTime, apmReportControlReportNumber=apmReportControlReportNumber, apmReportControlDeniedInserts=apmReportControlDeniedInserts, apmReportControlDroppedFrames=apmReportControlDroppedFrames, apmReportControlOwner=apmReportControlOwner, apmReportControlStorageType=apmReportControlStorageType, apmReportControlStatus=apmReportControlStatus, apmReportTable=apmReportTable, apmReportEntry=apmReportEntry, apmReportIndex=apmReportIndex, apmReportServerAddress=apmReportServerAddress, apmReportTransactionCount=apmReportTransactionCount, apmReportSuccessfulTransactions=apmReportSuccessfulTransactions, apmReportResponsivenessMean=apmReportResponsivenessMean, apmReportResponsivenessMin=apmReportResponsivenessMin, apmReportResponsivenessMax=apmReportResponsivenessMax, apmReportResponsivenessB1=apmReportResponsivenessB1, apmReportResponsivenessB2=apmReportResponsivenessB2, apmReportResponsivenessB3=apmReportResponsivenessB3, apmReportResponsivenessB4=apmReportResponsivenessB4, apmReportResponsivenessB5=apmReportResponsivenessB5, apmReportResponsivenessB6=apmReportResponsivenessB6, apmReportResponsivenessB7=apmReportResponsivenessB7, apmTransactionTable=apmTransactionTable, apmTransactionEntry=apmTransactionEntry, apmTransactionServerAddress=apmTransactionServerAddress, apmTransactionID=apmTransactionID, apmTransactionResponsiveness=apmTransactionResponsiveness, apmTransactionAge=apmTransactionAge, apmTransactionSuccess=apmTransactionSuccess, apmTransactionsRequestedHistorySize=apmTransactionsRequestedHistorySize, apmExceptionTable=apmExceptionTable, apmExceptionEntry=apmExceptionEntry, apmExceptionIndex=apmExceptionIndex, apmExceptionResponsivenessComparison=apmExceptionResponsivenessComparison, apmExceptionResponsivenessThreshold=apmExceptionResponsivenessThreshold, apmExceptionUnsuccessfulException=apmExceptionUnsuccessfulException, apmExceptionResponsivenessEvents=apmExceptionResponsivenessEvents, apmExceptionUnsuccessfulEvents=apmExceptionUnsuccessfulEvents, apmExceptionOwner=apmExceptionOwner, apmExceptionStorageType=apmExceptionStorageType, apmExceptionStatus=apmExceptionStatus, apmThroughputExceptionMinTime=apmThroughputExceptionMinTime, apmNotificationMaxRate=apmNotificationMaxRate, apmConformance=apmConformance, apmCompliances=apmCompliances, apmGroups=apmGroups) # Notifications mibBuilder.exportSymbols("APM-MIB", apmTransactionResponsivenessAlarm=apmTransactionResponsivenessAlarm, apmTransactionUnsuccessfulAlarm=apmTransactionUnsuccessfulAlarm) # Groups mibBuilder.exportSymbols("APM-MIB", apmAppDirGroup=apmAppDirGroup, apmUserDefinedApplicationsGroup=apmUserDefinedApplicationsGroup, apmReportGroup=apmReportGroup, apmTransactionGroup=apmTransactionGroup, apmExceptionGroup=apmExceptionGroup, apmNotificationGroup=apmNotificationGroup) # Compliances mibBuilder.exportSymbols("APM-MIB", apmCompliance=apmCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DSMON-MIB.py0000644000014400001440000045667411736645136020343 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DSMON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:55 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Dscp, ) = mibBuilder.importSymbols("DIFFSERV-DSCP-TC", "Dscp") ( CounterBasedGauge64, ZeroBasedCounter64, ) = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64", "ZeroBasedCounter64") ( OwnerString, rmon, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "rmon") ( DataSource, LastCreateTime, TimeFilter, ZeroBasedCounter32, protocolDirLocalIndex, ) = mibBuilder.importSymbols("RMON2-MIB", "DataSource", "LastCreateTime", "TimeFilter", "ZeroBasedCounter32", "protocolDirLocalIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeStamp", "TruthValue") # Types class DsmonCounterAggGroupIndex(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class DsmonCounterAggProfileIndex(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,2147483647) # Objects dsmonMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 26)).setRevisions(("2002-05-31 00:00",)) if mibBuilder.loadTexts: dsmonMIB.setOrganization("IETF RMONMIB Working Group") if mibBuilder.loadTexts: dsmonMIB.setContactInfo(" Andy Bierman\nCisco Systems, Inc.\nRMONMIB WG Chair and DSMON MIB Editor\n\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134\nTel: +1 408 527-3711\nE-mail: abierman@cisco.com\n\nSend comments to \nMailing list subscription info:\nhttp://www.ietf.org/mailman/listinfo/rmonmib ") if mibBuilder.loadTexts: dsmonMIB.setDescription("This module defines Remote Monitoring MIB extensions for\nDifferentiated Services enabled networks.\n\n RMON DIFFSERV DSCP statistics\n * Per Counter Aggregation Group\n * Per Protocol Per Counter Aggregation Group\n * Per Counter Aggregation Group Per Host\n\n\n\n * Per Counter Aggregation Group Per Host-Pair\n\nIn order to maintain the RMON 'look-and-feel' and semantic\nconsistency, some of the text from the RMON-2 and HC-RMON\nMIBs by Steve Waldbusser has been adapted for use in this\nMIB.") dsmonObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 1)) dsmonAggObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 1, 1)) dsmonMaxAggGroups = MibScalar((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMaxAggGroups.setDescription("The maximum number of counter aggregation groups that this\nagent can support. The agent will allow this number of\ndistinct groups to be configured in the\ndsmonAggProfileTable, numbered from '0' to\n'dsmonMaxAggGroups - 1', for each counter aggregation\nprofile entry supported by the agent.\n\nThe agent MUST NOT lower this value during system operation,\nand SHOULD set this object to an appropriate value during\nsystem initialization.") dsmonAggControlLocked = MibScalar((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsmonAggControlLocked.setDescription("Controls the setup of counter aggregation groups for this\nagent.\n\nIf this object contains the value 'true', then write access\nto the objects in the dsmonAggControlTable (except the\ndsmonAggControlOwner object), dsmonAggProfileTable, and\ndsmonAggGroupTable is not permitted, and data collection is\npossible. This object only controls write access to these\nMIB objects. The DSMON data collection control tables\n(e.g., dsmonHostCtlTable) can be configured at any time,\nregardless of the value of this object.\n\nIf this object contains the value 'false', write access to\nthe objects in the dsmonAggControlTable,\ndsmonAggProfileTable, and dsmonAggGroupTable is permitted,\nand data collection is not possible. In addition, all\nobjects in all DSMON data tables (e.g., dsmonStatsTable)\nshall be deleted.\n\nAn agent is not required to process SNMP Set Requests for\nthis object in conjunction with other objects from this MIB.\nThis is intended to simplify the processing of Set Requests\nfor tables such as the dsmonAggProfileTable, by eliminating\nthe possibility that a single Set PDU will contain multiple\nvarbinds which are in conflict, such as a PDU which both\nmodifies the dsmonAggProfileTable and locks the\n\n\n\ndsmonAggProfileTable at the same time.\n\nNote that the agent is not required to validate the entire\ncounter aggregation configuration when an attempt is made to\ntransition an instance of this object from 'true' to\n'false'. That validation is done if and when a DSMON data\ncollection is activated.\n\nAn agent is required to reactivate any suspended data\ncollections when this object transitions to 'true', Each\nactive data control entry (e.g., dsmonStatsControlEntry),\nwill be validated with respect to the new counter\naggregation configuration. If the counter aggregation\nprofile referenced in the data collection is valid, then\nthat collection will be restarted. Otherwise, the RowStatus\nobject (e.g., dsmonStatsControlStatus) will be set to\n'notReady' for that collection control entry.") dsmonAggControlChanges = MibScalar((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonAggControlChanges.setDescription("This object counts the number of times the value of the\ndsmonAggControlLocked object has changed. A management\nstation can use this object to detect if counters in the\nDSMON data tables (e.g., dsmonStatsEntry) have been deleted\nand recreated between polls.\n\nThis object shall be incremented by one each time the\ndsmonAggControlLocked object changes from 'false' to 'true',\nor from 'true' to 'false'.") dsmonAggControlLastChangeTime = MibScalar((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonAggControlLastChangeTime.setDescription("This object identifies the value of sysUpTime at the moment\nthe dsmonAggControlLocked object was last modified. A\nmanagement station can use this object to detect if counters\nin the DSMON data tables (e.g., dsmonStatsEntry) have been\ndeleted and recreated between polls.\n\nThis object shall be updated with the current value of\nsysUpTime, if the dsmonAggControlLocked object changes from\n\n\n\n'false' to 'true', or from 'true' to 'false'.\n\nUpon system initialization, this object shall contain the\nvalue zero.") dsmonAggControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 5)) if mibBuilder.loadTexts: dsmonAggControlTable.setDescription("This table provides an overall description and control\npoint for all dsmonAggProfileEntries with the same\ndsmonAggControlIndex value.\n\nA management application SHOULD create a counter aggregation\nprofile by first creating and activating an entry in this\ntable. This will cause the agent to create a set of 64\ndsmonAggProfileEntries on behalf of this control entry. An\napplication can then set the individual counter aggregation\ngroup assignments for each of the 64 DSCP values,\n\nThis table MUST NOT be modified if the dsmonAggControlLocked\nobject is equal to 'true'.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table, and\n(independently) the number of counter aggregation profiles\nwhich may be applied to a particular data source. In this\ncase, the agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values. Otherwise, each\npotential counter aggregation group description string\nSHOULD contain the empty string.") dsmonAggControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 5, 1)).setIndexNames((0, "DSMON-MIB", "dsmonAggControlIndex")) if mibBuilder.loadTexts: dsmonAggControlEntry.setDescription("A conceptual row in the dsmonAggControlTable.") dsmonAggControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 5, 1, 1), DsmonCounterAggProfileIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonAggControlIndex.setDescription("An arbitrary integer index value used to identify the\ncounter aggregation profile specified by this control\nentry.") dsmonAggControlDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 5, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonAggControlDescr.setDescription("An administratively assigned description of the counter\naggregation profile identified by this entry.\n\nUpon first creation of an instance of this object, the agent\nSHOULD set this object to the empty string. If the agent\nsupports non-volatile storage, then this object SHOULD be\nre-initialized with its stored value after a system reboot.\n\nThis object MUST NOT be modified if the associated\ndsmonAggControlStatus object is equal to 'active', or the\ndsmonAggControlLocked object is equal to 'true'.") dsmonAggControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 5, 1, 3), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonAggControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonAggControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 5, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonAggControlStatus.setDescription("The status of this row.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nUpon setting this object to active(1), the agent will create\na complete set of 64 associated entries in the\ndsmonAggProfileTable.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonAggProfileTable shall be deleted.\n\nThis object MUST NOT be modified if the\ndsmonAggControlLocked object is equal to 'true'.") dsmonAggProfileTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 6)) if mibBuilder.loadTexts: dsmonAggProfileTable.setDescription("Controls the setup of counter aggregation profiles for this\nagent. For each such profile, every DSCP value MUST be\nconfigured into exactly one counter aggregation group.\n\nThis table MUST NOT be modified if the dsmonAggControlLocked\nobject is equal to 'true'.\n\nThe agent will create a set of 64 entries in this table\n(with the same dsmonAggControlIndex value) when the\nassociated dsmonAggControlEntry is activated.\n\nIf the agent supports non-volatile configuration of this\ntable, then upon system initialization, this table SHOULD be\ninitialized with the saved values.") dsmonAggProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 6, 1)).setIndexNames((0, "DSMON-MIB", "dsmonAggControlIndex"), (0, "DSMON-MIB", "dsmonAggProfileDSCP")) if mibBuilder.loadTexts: dsmonAggProfileEntry.setDescription("A conceptual row in the dsmonAggProfileTable. The\ndsmonAggControlIndex value in the index identifies the\ndsmonAggControlEntry associated with each entry in this\ntable.") dsmonAggProfileDSCP = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 6, 1, 1), Dscp()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonAggProfileDSCP.setDescription("The specific DSCP value for the DSCP counter which is\nconfigured in a counter aggregation group by this entry.") dsmonAggGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 6, 1, 2), DsmonCounterAggGroupIndex().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsmonAggGroupIndex.setDescription("The counter aggregation group which contains this DSCP\nvalue. Upon creation of a new sub-tree (set of 64 entries\nwith the same dsmonAggControlIndex value) in this table, the\nagent SHOULD initialize all related instances of this object\nto the value zero.\n\nThis object MUST NOT be modified if the\ndsmonAggControlLocked object is equal to 'true'.") dsmonAggGroupTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 7)) if mibBuilder.loadTexts: dsmonAggGroupTable.setDescription("This table provides a description of each counter\naggregation group configured on this system. Note that the\nsemantics of a particular counter aggregation group are only\nrelevant within the scope of a particular counter\naggregation profile.\n\nThis table MUST NOT be modified if the dsmonAggControlLocked\nobject is equal to 'true'.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table, and\n(independently) the number of counter aggregation profiles\nwhich may be applied to a particular data source. In this\ncase, the agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].\n\nIf the agent supports non-volatile configuration of this\ntable, then upon system initialization, this table SHOULD be\ninitialized with the saved values. Otherwise, each\npotential counter aggregation group description string\nSHOULD contain the empty string.\n\nAn agent SHOULD allow entries to be created or modified in\nthis table, even if the specified dsmonAggControlIndex value\ndoes not identify a valid dsmonAggControlEntry or a complete\nset of valid dsmonAggProfileEntries, to reduce row creation\norder dependencies.") dsmonAggGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 7, 1)).setIndexNames((0, "DSMON-MIB", "dsmonAggControlIndex"), (0, "DSMON-MIB", "dsmonAggGroupIndex")) if mibBuilder.loadTexts: dsmonAggGroupEntry.setDescription("A conceptual row in the dsmonAggGroupTable. The\ndsmonAggGroupIndex value in the INDEX identifies the counter\naggregation group associated with each entry.\n\nThe dsmonAggControlIndex in the index identifies the counter\naggregation profile associated with each entry, identified\nby the dsmonAggControlEntry and dsmonAggProfileEntries with\nthe same index value.\n\n\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nThe dsmonAggGroupIndex in the index identifies the counter\naggregation group associated with each entry. This object\nSHOULD be indexed from zero to 'N', where 'N' is less than\nthe value of the dsmonMaxAggGroups for this agent.") dsmonAggGroupDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 7, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonAggGroupDescr.setDescription("An administratively assigned description of the counter\naggregation group identified by this entry.\n\nUpon first creation of an instance of this object, the agent\nSHOULD set this object to the empty string.\n\nThis object MUST NOT be modified if the associated\ndsmonAggGroupStatus object is equal to 'active', or the\ndsmonAggControlLocked object is equal to 'true'.") dsmonAggGroupStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 1, 7, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonAggGroupStatus.setDescription("The status of this row.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nThis object MUST NOT be modified if the\ndsmonAggControlLocked object is equal to 'true'.") dsmonStatsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 1, 2)) dsmonStatsControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1)) if mibBuilder.loadTexts: dsmonStatsControlTable.setDescription("Controls the setup of per data source per counter\naggregation group distribution statistics.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table. In this case,\nthe agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].") dsmonStatsControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1)).setIndexNames((0, "DSMON-MIB", "dsmonStatsControlIndex")) if mibBuilder.loadTexts: dsmonStatsControlEntry.setDescription("A conceptual row in the dsmonStatsControlTable.\n\nEntries are created and deleted from this table by\nmanagement action only, using the dsmonStatsControlStatus\nRowStatus object.\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nActivation of a control row in this table will cause an\nassociated dsmonStatsTable to be created and maintained by\nthe agent.") dsmonStatsControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonStatsControlIndex.setDescription("An arbitrary and unique index for this\ndsmonStatsControlEntry.") dsmonStatsControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonStatsControlDataSource.setDescription("The data source of this per protocol per counter\naggregation group distribution.\n\nNote that only packets that contain a network protocol\nencapsulation which contains a DS field [RFC2474] will be\ncounted in this table.\n\nThis object MUST NOT be modified if the associated\ndsmonStatsControlStatus object is equal to active(1).") dsmonStatsControlAggProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1, 3), DsmonCounterAggProfileIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonStatsControlAggProfile.setDescription("The dsmonAggControlIndex value identifying the counter\naggregation profile which should be used on behalf of this\ndsmonStatsControlEntry.\n\nThe associated dsmonAggControlEntry and\ndsmonAggProfileEntries, identified by the same\ndsmonAggControlIndex index value, MUST be active in order\nfor this entry to remain active. It is possible for the\ncounter aggregation configuration to change from a valid to\ninvalid state for this dsmonStats collection. In this case,\n\n\n\nthe associated dsmonStatsControlStatus object will be\nchanged to the 'notReady' state, and data collection will\nnot occur on behalf of this control entry.\n\nNote that an agent MAY choose to limit the actual number of\ncounter aggregation profiles which may be applied to a\nparticular data source.\n\nThis object MUST NOT be modified if the associated\ndsmonStatsControlStatus object is equal to active(1).") dsmonStatsControlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsControlDroppedFrames.setDescription("The total number of frames which were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nfor which the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") dsmonStatsControlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1, 5), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsControlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\ndetect if the table has been deleted and recreated between\npolls.") dsmonStatsControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1, 6), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonStatsControlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonStatsControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 1, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonStatsControlStatus.setDescription("The status of this row.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonStatsTable shall be deleted.") dsmonStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2)) if mibBuilder.loadTexts: dsmonStatsTable.setDescription("A list of information on counter aggregation group usage\nfor each monitored data source.\n\nThe following table defines per counter aggregation group\nstatistics for full and/or half-duplex links as well as high\ncapacity links.\n\nFor half-duplex links, or full-duplex-capable links\noperating in half-duplex mode, the dsmonStatsIn* objects\nshall be used and the dsmonStatsOut* objects will not\nincrement.\n\nFor full-duplex links, the dsmonStatsOut* objects will be\npresent. Whenever possible, the probe SHOULD count packets\nmoving away from the closest terminating equipment as output\npackets. Failing that, the probe SHOULD count packets\nmoving away from the DTE as output packets.\n\nIf the dsmonAggControlLocked object is equal to 'false',\nthen all entries in this table will be deleted and the agent\nwill not process packets on behalf of any\n\n\n\ndsmonStatsControlEntry.") dsmonStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1)).setIndexNames((0, "DSMON-MIB", "dsmonStatsControlIndex"), (0, "DSMON-MIB", "dsmonAggGroupIndex")) if mibBuilder.loadTexts: dsmonStatsEntry.setDescription("A list of information on Differentiated Services DSCP\nusage, containing inbound and outbound packet and octet\ncounters for each counter aggregation group configured for\ncollection.\n\nThe dsmonStatsControlIndex value in the index identifies the\ndsmonStatsControlEntry on whose behalf this entry was\ncreated.\n\nThe dsmonAggGroupIndex value in the index is determined by\nexamining the DSCP value in each monitored packet, and the\ndsmonAggProfileTable entry for that DSCP value.\n\nNote that only packets that contain a network protocol\nencapsulation which contains a DS field [RFC2474] will be\ncounted in this table.\n\nAn example of the indexing of this entry is\ndsmonStatsOutPkts.1.16") dsmonStatsInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsInPkts.setDescription("The number of packets using one of the DSCP values in the\nindicated counter aggregation group, received on a half-\nduplex link or on the inbound connection of a full-duplex\nlink.") dsmonStatsInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsInOctets.setDescription("The number of octets in packets, using one of the DSCP\nvalues in the indicated counter aggregation group, received\non a half-duplex link or on the inbound connection of a\nfull-duplex link.") dsmonStatsInOvflPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsInOvflPkts.setDescription("The number of times the associated dsmonStatsInPkts counter\nhas overflowed. Note that this object will only be\ninstantiated if the associated dsmonStatsInHCPkts object is\nalso instantiated for a particular dataSource.") dsmonStatsInOvflOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsInOvflOctets.setDescription("The number of times the associated dsmonStatsInOctets\ncounter has overflowed. Note that this object will only be\ninstantiated if the associated dsmonStatsInHCOctets object\nis also instantiated for a particular dataSource.") dsmonStatsInHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 5), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsInHCPkts.setDescription("The 64-bit version of the dsmonStatsInPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonStatsInHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 6), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsInHCOctets.setDescription("The 64-bit version of the dsmonStatsInOctets object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonStatsOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsOutPkts.setDescription("The number of packets using one of the DSCP values in the\nindicated counter aggregation group, received on a full-\nduplex link in the direction of the network.") dsmonStatsOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 8), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsOutOctets.setDescription("The number of octets in packets, using one of the DSCP\nvalues in the indicated counter aggregation group, received\non a full-duplex link in the direction of the network.") dsmonStatsOutOvflPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 9), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsOutOvflPkts.setDescription("The number of times the associated dsmonStatsOutPkts\ncounter has overflowed. Note that this object will only be\ninstantiated if the associated dsmonStatsOutHCPkts object is\nalso instantiated for a particular dataSource.") dsmonStatsOutOvflOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 10), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsOutOvflOctets.setDescription("The number of times the associated dsmonStatsOutOctets\ncounter has overflowed. Note that this object will only be\ninstantiated if the associated dsmonStatsOutHCOctets object\nis also instantiated for a particular dataSource.") dsmonStatsOutHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 11), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsOutHCPkts.setDescription("The 64-bit version of the dsmonStatsOutPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonStatsOutHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 2, 2, 1, 12), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonStatsOutHCOctets.setDescription("The 64-bit version of the dsmonStatsOutOctets object.\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonPdistObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 1, 3)) dsmonPdistCtlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1)) if mibBuilder.loadTexts: dsmonPdistCtlTable.setDescription("Controls the setup of per application per counter\naggregation group distribution statistics.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table. In this case,\nthe agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].") dsmonPdistCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1)).setIndexNames((0, "DSMON-MIB", "dsmonPdistCtlIndex")) if mibBuilder.loadTexts: dsmonPdistCtlEntry.setDescription("A conceptual row in the dsmonPdistCtlTable.\n\nEntries are created and deleted from this table by\nmanagement action only, using the dsmonPdistCtlStatus\nRowStatus object.\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nActivation of a control row in this table will cause an\nassociated dsmonPdistStatsTable to be created and maintained\nby the agent.") dsmonPdistCtlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonPdistCtlIndex.setDescription("An arbitrary and unique index for this dsmonPdistCtlEntry.") dsmonPdistCtlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistCtlDataSource.setDescription("The source of data for the this per protocol counter\naggregation group distribution.\n\nThis object MUST NOT be modified if the associated\ndsmonPdistCtlStatus object is equal to active(1).") dsmonPdistCtlAggProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 3), DsmonCounterAggProfileIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistCtlAggProfile.setDescription("The dsmonAggControlIndex value identifying the counter\naggregation profile which should be used on behalf of this\ndsmonPdistCtlEntry.\n\nThe associated dsmonAggControlEntry and\ndsmonAggProfileEntries, identified by the same\ndsmonAggControlIndex index value, MUST be active in order\nfor this entry to remain active. It is possible for the\ncounter aggregation configuration to change from a valid to\ninvalid state for this dsmonPdist collection. In this case,\nthe associated dsmonPdistCtlStatus object will be changed to\nthe 'notReady' state, and data collection will not occur on\nbehalf of this control entry.\n\nNote that an agent MAY choose to limit the actual number of\ncounter aggregation profiles which may be applied to a\nparticular data source.\n\n\n\n\nThis object MUST NOT be modified if the associated\ndsmonPdistCtlStatus object is equal to active(1).") dsmonPdistCtlMaxDesiredEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1,-1),ValueRangeConstraint(1,2147483647),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistCtlMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the\ndsmonPdistStatsTable on behalf of this control entry. The\nprobe will not create more than this number of associated\nentries in the table, but MAY choose to create fewer entries\nin this table for any reason including the lack of\nresources.\n\nIf this value is set to -1, the probe MAY create any number\nof entries in this table.\n\nThis object MUST NOT be modified if the associated\ndsmonPdistCtlStatus object is equal to active(1).") dsmonPdistCtlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistCtlDroppedFrames.setDescription("The total number of frames which were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nfor which the probe chose not to count for this entry for\nwhatever reason. Most often, this event occurs when the\nprobe is out of some resources and decides to shed load from\nthis collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") dsmonPdistCtlInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistCtlInserts.setDescription("The number of times a dsmonPdist entry has been inserted\ninto the dsmonPdistTable. If an entry is inserted, then\ndeleted, and then inserted, this counter will be incremented\nby 2.\n\nTo allow for efficient implementation strategies, agents MAY\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal data\nstructures to differ from those visible via SNMP for short\nperiods of time. This counter may reflect the internal data\nstructures for those short periods of time.\n\nNote that the table size can be determined by subtracting\ndsmonPdistCtlDeletes from dsmonPdistCtlInserts.") dsmonPdistCtlDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistCtlDeletes.setDescription("The number of times a dsmonPdist entry has been deleted\nfrom the dsmonPdist table (for any reason). If an entry is\ndeleted, then inserted, and then deleted, this counter will\nbe incremented by 2.\n\nTo allow for efficient implementation strategies, agents MAY\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal data\nstructures to differ from those visible via SNMP for short\nperiods of time. This counter may reflect the internal data\nstructures for those short periods of time.\n\nNote that the table size can be determined by subtracting\ndsmonPdistCtlDeletes from dsmonPdistCtlInserts.") dsmonPdistCtlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 8), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistCtlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\ndetect if the table has been deleted and recreated between\npolls.") dsmonPdistCtlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 9), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistCtlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonPdistCtlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 1, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistCtlStatus.setDescription("The status of this row.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonPdistStatsTable shall be deleted.") dsmonPdistStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2)) if mibBuilder.loadTexts: dsmonPdistStatsTable.setDescription("A list of information on a per protocol per counter\naggregation group usage.\n\nIf the dsmonAggControlLocked object is equal to 'false',\nthen all entries in this table will be deleted and the agent\nwill not process packets on behalf of any\ndsmonPdistCtlEntry.") dsmonPdistStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1)).setIndexNames((0, "DSMON-MIB", "dsmonPdistCtlIndex"), (0, "DSMON-MIB", "dsmonPdistTimeMark"), (0, "DSMON-MIB", "dsmonAggGroupIndex"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: dsmonPdistStatsEntry.setDescription("A list of information on Differentiated Services DSCP\nusage, containing packet and octet counters for each counter\naggregation group configured for collection, and each\nprotocol (as identified by the protocolDirLocalIndex for the\nprotocol) identified in each monitored packet.\n\nThe dsmonPdistCtlIndex value in the index identifies the\ndsmonPdistCtlEntry on whose behalf this entry was created.\n\nNote that only packets that contain a network protocol\nencapsulation which contains a DS field [RFC2474] will be\ncounted in this table.\n\nThe dsmonAggGroupIndex value in the index is determined by\nexamining the DSCP value in each monitored packet, and the\ndsmonAggProfileTable entry for that value.\n\nThe protocolDirLocalIndex in the index identifies the\nprotocolDirEntry for the protocol encapsulation of each\nmonitored packet. The agent will include only application\nlayer protocols in the associated dsmonPdistStatsTable. Any\n'terminal' protocol is considered to be an application\nprotocol.\n\nAn example of the indexing of this entry is\ndsmonPdistStatsPkts.9.29943.0.42.") dsmonPdistTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonPdistTimeMark.setDescription("The Time Filter index for this table. This object may be\nused by a management station to retrieve only rows which\nhave been created or modified since a particular time. Note\nthat the current value for a row are always returned and the\nTimeFilter is not a historical data archiving mechanism.\nRefer to RFC 2021 [RFC2021] for a detailed description of\nTimeFilter operation.") dsmonPdistStatsPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistStatsPkts.setDescription("The number of packets, using one of the DSCP values in the\nindicated counter aggregation group, for the protocol\nidentified by the associated protocolDirLocalIndex value.") dsmonPdistStatsOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistStatsOctets.setDescription("The number of octets in packets, using one of the DSCP\nvalues in the indicated counter aggregation group, for the\nprotocol identified by the associated protocolDirLocalIndex\nvalue.\n\nNote that this object doesn't count just those octets in the\nparticular protocol frames, but includes the entire packet\nthat contained the protocol.") dsmonPdistStatsOvflPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistStatsOvflPkts.setDescription("The number of times the associated dsmonPdistStatsPkts\ncounter has overflowed. Note that this object will only be\ninstantiated if the associated dsmonPdistStatsHCPkts object\nis also instantiated for a particular dataSource.") dsmonPdistStatsOvflOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistStatsOvflOctets.setDescription("The number of times the associated dsmonPdistStatsOctets\ncounter has overflowed. Note that this object will only be\ninstantiated if the associated dsmonPdistStatsHCOctets\nobject is also instantiated for a particular dataSource.") dsmonPdistStatsHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 6), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistStatsHCPkts.setDescription("The 64-bit version of the dsmonPdistStatsPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonPdistStatsHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 7), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistStatsHCOctets.setDescription("The 64-bit version of the dsmonPdistStatsOctets object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonPdistStatsCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 2, 1, 8), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistStatsCreateTime.setDescription("The value of sysUpTime when this dsmonPdistStats entry was\nlast instantiated by the agent. This can be used by the\nmanagement station to detect if the entry has been deleted\nand recreated between polls.") dsmonPdistTopNCtlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3)) if mibBuilder.loadTexts: dsmonPdistTopNCtlTable.setDescription("A set of parameters that control the creation of a report\nof the top N dsmonPdist entries according to a particular\nmetric.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table. In this case,\nthe agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].") dsmonPdistTopNCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1)).setIndexNames((0, "DSMON-MIB", "dsmonPdistTopNCtlIndex")) if mibBuilder.loadTexts: dsmonPdistTopNCtlEntry.setDescription("A conceptual row in the dsmonPdistTopNCtlTable.\n\nEntries are created and deleted from this table by\nmanagement action only, using the dsmonPdistTopNCtlStatus\nRowStatus object.\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nActivation of a control row in this table will cause an\nassociated dsmonPdistTopNTable to be created and maintained\nby the agent.") dsmonPdistTopNCtlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonPdistTopNCtlIndex.setDescription("An index that uniquely identifies an entry in the\ndsmonPdistTopNCtlTable, with the same dsmonPdistTopNCtlIndex\nvalue as this object. Each entry in this table defines one\nTop N report prepared on behalf of the dsmonPdistStatsEntry\ncollection with the same dsmonPdistCtlIndex as this object.") dsmonPdistTopNCtlPdistIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistTopNCtlPdistIndex.setDescription("The dsmonPdistTable for which a top N report will be\nprepared on behalf of this entry. The dsmonPdistTable is\nidentified by the value of the dsmonPdistCtlIndex for that\ntable - that value is used here to identify the particular\ntable.\n\nThis object MUST NOT be modified if the associated\ndsmonPdistTopNCtlStatus object is equal to active(1).") dsmonPdistTopNCtlRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("dsmonPdistTopNPkts", 1), ("dsmonPdistTopNOctets", 2), ("dsmonPdistTopNHCPkts", 3), ("dsmonPdistTopNHCOctets", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistTopNCtlRateBase.setDescription("The variable for each dsmonPdist that the\ndsmonPdistTopNRate and dsmonPdistTopNHCRate variables are\nbased upon. Each dsmonPdistTopN report generated on behalf\nof this control entry will be ranked in descending order,\n\n\n\nbased on the associated dsmonPdistStatsTable counter,\nidentified by this object.\n\nThe following table identifies the dsmonPdistTable counter\nassociated with each enumeration:\n\nEnumeration RateBase MIB Object\n----------- -------------------\ndsmonPdistTopNPkts dsmonPdistStatsPkts\ndsmonPdistTopNOctets dsmonPdistStatsOctets\ndsmonPdistTopNHCPkts dsmonPdistStatsHCPkts\ndsmonPdistTopNHCOctets dsmonPdistStatsHCOctets\n\nNote that the dsmonPdistTopNHCPkts and\ndsmonPdistTopNHCOctets enumerations are only available if\nthe agent supports High Capacity monitoring.\n\nThis object MUST NOT be modified if the associated\ndsmonPdistTopNCtlStatus object is equal to active(1).") dsmonPdistTopNCtlTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(1800)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistTopNCtlTimeRemaining.setDescription("The number of seconds left in the report currently being\ncollected. When this object is modified by the management\nstation, a new collection is started, possibly aborting a\ncurrently running report. The new value is used as the\nrequested duration of this report, and is immediately loaded\ninto the associated dsmonPdistTopNCtlDuration object.\n\nWhen the report finishes, the probe will automatically start\nanother collection with the same initial value of\ndsmonPdistTopNCtlTimeRemaining. Thus the management station\nmay simply read the resulting reports repeatedly, checking\nthe startTime and duration each time to ensure that a report\nwas not missed or that the report parameters were not\nchanged.\n\nWhile the value of this object is non-zero, it decrements by\none per second until it reaches zero. At the time that this\nobject decrements to zero, the report is made accessible in\nthe dsmonPdistTopNTable, overwriting any report that may be\nthere.\n\n\n\n\nWhen this object is modified by the management station, any\nassociated entries in the dsmonPdistTopNTable shall be\ndeleted.") dsmonPdistTopNCtlGeneratedReprts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNCtlGeneratedReprts.setDescription("The number of reports that have been generated by this\nentry.") dsmonPdistTopNCtlDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNCtlDuration.setDescription("The number of seconds that this report has collected during\nthe last sampling interval.\n\nWhen the associated dsmonPdistTopNCtlTimeRemaining object is\nset, this object shall be set by the probe to the same value\nand shall not be modified until the next time the\ndsmonPdistTopNCtlTimeRemaining is set.\n\nThis value shall be zero if no reports have been requested\nfor this dsmonPdistTopNCtlEntry.") dsmonPdistTopNCtlRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(150)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistTopNCtlRequestedSize.setDescription("The maximum number of dsmonPdist entries requested for this\nreport.\n\nWhen this object is created or modified, the probe SHOULD\nset dsmonPdistTopNCtlGrantedSize as closely to this object\nas is possible for the particular probe implementation and\navailable resources.") dsmonPdistTopNCtlGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNCtlGrantedSize.setDescription("The maximum number of dsmonPdist entries in this report.\n\nWhen the associated dsmonPdistTopNCtlRequestedSize object is\ncreated or modified, the probe SHOULD set this object as\nclosely to the requested value as is possible for the\nparticular implementation and available resources. The\nprobe MUST NOT lower this value except as a result of a\nset to the associated dsmonPdistTopNCtlRequestedSize\nobject.\n\nProtocol entries with the highest value of\ndsmonPdistTopNRate or dsmonPdistTopNHCRate (depending on the\nvalue of the associated dsmonPdistTopNCtlRateBase object)\nshall be placed in this table in decreasing order of this\nrate until there is no more room or until there are no more\ndsmonPdist entries.") dsmonPdistTopNCtlStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNCtlStartTime.setDescription("The value of sysUpTime when this top N report was last\nstarted. In other words, this is the time that the\nassociated dsmonPdistTopNCtlTimeRemaining object was\nmodified to start the requested report or the time the\nreport was last automatically (re)started.\n\nThis object may be used by the management station to\ndetermine if a report was missed or not.") dsmonPdistTopNCtlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 10), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistTopNCtlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonPdistTopNCtlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 3, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonPdistTopNCtlStatus.setDescription("The status of this dsmonPdistTopNCtlEntry.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonPdistTopNTable shall be deleted by the\nagent.") dsmonPdistTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4)) if mibBuilder.loadTexts: dsmonPdistTopNTable.setDescription("A set of statistics for those protocol distribution entries\nthat have counted the highest number of octets or packets.\n\nIf the dsmonAggControlLocked object is equal to 'false',\nthen all entries in this table SHALL be deleted, and the\nagent will not process TopN reports on behalf of any\ndsmonPdistTopNCtlEntry.\n\nWhen the dsmonAggControlLocked object is set to 'true', then\nparticular reports SHOULD be restarted from the beginning,\non behalf of all active rows in the dsmonPdistTopNCtlTable.\n\nNote that dsmonPdist entries which did not increment at all\nduring the report interval SHOULD NOT be included in\ndsmonPdistTopN reports.") dsmonPdistTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4, 1)).setIndexNames((0, "DSMON-MIB", "dsmonPdistTopNCtlIndex"), (0, "DSMON-MIB", "dsmonPdistTopNIndex")) if mibBuilder.loadTexts: dsmonPdistTopNEntry.setDescription("A conceptual row in the dsmonPdistTopNTable.\n\nThe dsmonPdistTopNCtlIndex value in the index identifies the\ndsmonPdistTopNCtlEntry on whose behalf this entry was\ncreated. Entries in this table are ordered from 1 to 'N',\nwhere lower numbers represent higher values of the rate base\nobject, over the report interval.") dsmonPdistTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonPdistTopNIndex.setDescription("An index that uniquely identifies an entry in the\ndsmonPdistTopNTable among those in the same report. This\nindex is between 1 and N, where N is the number of entries\nin this report. Note that 'N' may change over time, and may\nalso be less than the dsmonPdistTopNCtlGrantedSize value\nassociated with this entry.") dsmonPdistTopNPDLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNPDLocalIndex.setDescription("The protocolDirLocalIndex value which identifies the\nprotocol associated with this entry.\n\nIf the protocolDirEntry associated with the\nprotocolDirLocalIndex with the same value as this object is\nde-activated or deleted, then the agent MUST delete this\ndsmonPdistTopN entry.") dsmonPdistTopNAggGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4, 1, 3), DsmonCounterAggGroupIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNAggGroup.setDescription("The DSCP counter aggregation group index value associated\nwith protocol identified in this entry. This object\nidentifies the dsmonAggGroupEntry with the same\ndsmonAggControlIndex value as the associated\ndsmonPdistCtlAggProfile object and the same\ndsmonAggGroupIndex value as this object.") dsmonPdistTopNRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNRate.setDescription("The amount of change in the selected variable during this\nsampling interval. The selected variable is this protocol's\ninstance of the object selected by\ndsmonPdistTopNCtlRateBase.\n\nIf the associated dsmonPdistTopNCtlRateBase is equal to\n'dsmonPdistTopNHCPkts' or 'dsmonPdistTopNHCOctets', then\nthis object will contain the the least significant 32 bits\nof the associated dsmonPdistTopNHCRate object.") dsmonPdistTopNRateOvfl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNRateOvfl.setDescription("The most significant 32 bits of the associated\ndsmonPdistTopNHCRate object.\n\nIf the associated dsmonPdistTopNCtlRateBase is equal to\n'dsmonPdistTopNHCPkts' or 'dsmonPdistTopNHCOctets', then\nthis object will contain the upper 32 bits of the associated\ndsmonPdistTopNHCRate object.\n\nIf the associated dsmonPdistTopNCtlRateBase is equal to\n'dsmonPdistTopNPkts' or 'dsmonPdistTopNOctets', then this\nobject will contain the value zero.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonPdistTopNHCRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 3, 4, 1, 6), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonPdistTopNHCRate.setDescription("The amount of change in the selected variable during this\nsampling interval. The selected variable is this protocol's\ninstance of the object selected by\ndsmonPdistTopNCtlRateBase.\n\nIf the associated dsmonPdistTopNCtlRateBase is equal to\n'dsmonPdistTopNPkts' or 'dsmonPdistTopNOctets', then this\nobject will contain the value zero, and the associated\ndsmonPdistTopNRate object will contain the change in the\nselected variable during the sampling interval.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonHostObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 1, 4)) dsmonHostCtlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1)) if mibBuilder.loadTexts: dsmonHostCtlTable.setDescription("Controls setup of per counter aggregation group, per\nnetwork layer host distribution statistics.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table. In this case,\nthe agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].") dsmonHostCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1)).setIndexNames((0, "DSMON-MIB", "dsmonHostCtlIndex")) if mibBuilder.loadTexts: dsmonHostCtlEntry.setDescription("A conceptual row in the dsmonHostCtlTable.\n\nEntries are created and deleted from this table by\nmanagement action only, using the dsmonHostCtlStatus\nRowStatus object.\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nActivation of a control row in this table will cause an\nassociated dsmonHostTable to be created and maintained by\nthe agent.") dsmonHostCtlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonHostCtlIndex.setDescription("An arbitrary and unique index for this dsmonHostCtlEntry.") dsmonHostCtlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostCtlDataSource.setDescription("The source of data for the associated dsmonHostTable.\n\nNote that only packets that contain a network protocol\nencapsulation which contains a DS field [RFC2474] will be\ncounted in this table.\n\nThis object MUST NOT be modified if the associated\ndsmonHostCtlStatus object is equal to active(1).") dsmonHostCtlAggProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 3), DsmonCounterAggProfileIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostCtlAggProfile.setDescription("The dsmonAggControlIndex value identifying the counter\naggregation profile which should be used on behalf of this\ndsmonHostCtlEntry.\n\nThe associated dsmonAggControlEntry and\ndsmonAggProfileEntries, identified by the same\ndsmonAggControlIndex index value, MUST be active in order\nfor this entry to remain active. It is possible for the\ncounter aggregation configuration to change from a valid to\ninvalid state for this dsmonHost collection. In this case,\nthe associated dsmonHostCtlStatus object will be changed to\nthe 'notReady' state, and data collection will not occur on\nbehalf of this control entry.\n\nNote that an agent MAY choose to limit the actual number of\ncounter aggregation profiles which may be applied to a\nparticular data source.\n\nThis object MUST NOT be modified if the associated\ndsmonHostCtlStatus object is equal to active(1).") dsmonHostCtlMaxDesiredEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1,-1),ValueRangeConstraint(1,2147483647),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostCtlMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the\ndsmonHostTable on behalf of this control entry. The probe\nwill not create more than this number of associated entries\nin the table, but MAY choose to create fewer entries in this\ntable for any reason including the lack of resources.\n\n\n\nIf this value is set to -1, the probe MAY create any number\nof entries in this table.\n\nThis object MUST NOT be modified if the associated\ndsmonHostCtlStatus object is equal to active(1).") dsmonHostCtlIPv4PrefixLen = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(8, 32)).clone(32)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostCtlIPv4PrefixLen.setDescription("The number of 'leftmost' contiguous bits in the host\naddress field for encapsulations of IPv4, that should be\nmaintained in this collection. This object controls how the\ndsmonHostAddress object is derived for packets which contain\nan encapsulation of IPv4.\n\nIf this object has a value less than 32, then 'm' rightmost\nbits, where 'm' is equal to '32 -\ndsmonHostCtlIPv4PrefixLen', will be cleared to zero for\ncounting purposes only. The 'leftmost' bit is the most\nsignificant bit of the first network-byte-order octet of the\naddress.\n\nIf this object is equal to 32, then no bits are cleared in\neach dsmonHostAddress field.\n\nThis object MUST NOT be modified if the associated\ndsmonHostCtlStatus object is equal to active(1).") dsmonHostCtlIPv6PrefixLen = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(8, 128)).clone(128)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostCtlIPv6PrefixLen.setDescription("The number of 'leftmost' contiguous bits in the host\naddress field for encapsulations of IPv6, that should be\nmaintained in this collection. This object controls how the\ndsmonHostAddress object is derived for packets which contain\nan encapsulation of IPv6.\n\nIf this object has a value less than 128, then 'm' rightmost\nbits, where 'm' is equal to '128 -\n\n\n\ndsmonHostCtlIPv6PrefixLen', will be cleared to zero for\ncounting purposes only. The 'leftmost' bit is the most\nsignificant bit of the first network-byte-order octet of the\naddress.\n\nIf this object is equal to 128, then no bits are cleared in\neach dsmonHostAddress field.\n\nThis object MUST NOT be modified if the associated\ndsmonHostCtlStatus object is equal to active(1).") dsmonHostCtlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostCtlDroppedFrames.setDescription("The total number of frames which were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nfor which the probe chose not to count for the associated\ndsmonHost entries for whatever reason. Most often, this\nevent occurs when the probe is out of some resources and\ndecides to shed load from this collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that if the dsmonHostTable is inactive because no\nappropriate protocols are enabled in the protocol directory,\nthis value SHOULD be 0.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") dsmonHostCtlInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostCtlInserts.setDescription("The number of times a dsmonHost entry has been inserted\ninto the dsmonHost table. If an entry is inserted, then\ndeleted, and then inserted, this counter will be incremented\nby 2.\n\n\n\n\nTo allow for efficient implementation strategies, agents MAY\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal data\nstructures to differ from those visible via SNMP for short\nperiods of time. This counter may reflect the internal data\nstructures for those short periods of time.\n\nNote that the table size can be determined by subtracting\ndsmonHostCtlDeletes from dsmonHostCtlInserts.") dsmonHostCtlDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostCtlDeletes.setDescription("The number of times a dsmonHost entry has been deleted from\nthe dsmonHost table (for any reason). If an entry is\ndeleted, then inserted, and then deleted, this counter will\nbe incremented by 2.\n\nTo allow for efficient implementation strategies, agents MAY\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal data\nstructures to differ from those visible via SNMP for short\nperiods of time. This counter may reflect the internal data\nstructures for those short periods of time.\n\nNote that the table size can be determined by subtracting\ndsmonHostCtlDeletes from dsmonHostCtlInserts.") dsmonHostCtlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 10), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostCtlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\ndetect if the table has been deleted and recreated between\npolls.") dsmonHostCtlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 11), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostCtlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonHostCtlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostCtlStatus.setDescription("The status of this dsmonHostCtlEntry.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonHostTable shall be deleted.") dsmonHostTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2)) if mibBuilder.loadTexts: dsmonHostTable.setDescription("A collection of statistics for particular network protocols\nwhich contain a DS field, and that has been discovered on a\nparticular dataSource.\n\nThe probe will add to this table all appropriate network\nprotocols, for each network address seen as the source or\ndestination address in all packets with no MAC errors, and\nwill increment octet and packet counts in the table for all\npackets with no MAC errors.\n\nIf the dsmonAggControlLocked object is equal to 'false',\nthen all entries in this table will be deleted, and the\nagent will not process packets on behalf of any\ndsmonHostCtlEntry.") dsmonHostEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1)).setIndexNames((0, "DSMON-MIB", "dsmonHostCtlIndex"), (0, "DSMON-MIB", "dsmonHostTimeMark"), (0, "DSMON-MIB", "dsmonAggGroupIndex"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "DSMON-MIB", "dsmonHostAddress")) if mibBuilder.loadTexts: dsmonHostEntry.setDescription("A list of information on Differentiated Services DSCP\nusage, containing packet and octet counters for each counter\naggregation group index configured for collection per host\naddress, as identified in the dsmonAggProfileTable.\n\nThe dsmonHostCtlIndex value in the index identifies the\ndsmonHostCtlEntry on whose behalf this entry was created.\n\nThe protocolDirLocalIndex value in the index identifies the\nspecific network layer protocol encapsulation associated\nwith each entry, and the network protocol type of the\ndsmonHostAddress object. It MUST identify a\nprotocolDirEntry which contains a DS field (e.g., IPv4 or\nIPv6). Note that if a protocol encapsulation with multiple\nnetwork layers is specified, then associated entries in this\ntable refer to the innermost network protocol layer host\naddress.\n\nThe dsmonAggGroupIndex value in the index is determined by\nexamining the DSCP value in each monitored packet, and the\ndsmonAggProfileTable entry configured for that value.\n\nAn example of the indexing of this entry is\ndsmonHostOutPkts.1.27273.3.200.4.171.69.120.0") dsmonHostTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonHostTimeMark.setDescription("The Time Filter index for this table. This object may be\nused by a management station to retrieve only rows which\nhave been created or modified since a particular time. Note\nthat the current value for a row are always returned and the\nTimeFilter is not a historical data archiving mechanism.\nRefer to RFC 2021 [RFC2021] for a detailed description of\nTimeFilter operation.") dsmonHostAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 110))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonHostAddress.setDescription("The network address for this dsmonHostEntry.\n\nThis object is encoded according to the protocol type\nindicated by the protocolDirLocalIndex value in the index.\n\nIn addition, this object may have some 'rightmost' bits\ncleared to zero for counting purposes, as indicated by the\nassociated dsmonHostCtlIPv4PrefixLen or\ndsmonHostCtlIPv6PrefixLen objects.") dsmonHostInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostInPkts.setDescription("The number of packets without errors, using one of the DSCP\nvalues in the indicated counter aggregation group, and\ntransmitted to this address, since this entry was added to\nthe dsmonHostTable. Note that this is the number of link-\nlayer packets, so if a single network-layer packet is\nfragmented into several link-layer frames, this counter is\nincremented several times.") dsmonHostInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostInOctets.setDescription("The number of octets in all packets, transmitted to this\naddress and using one of the DSCP values in the indicated\ncounter aggregation group, since this entry was added to the\ndsmonHostTable (excluding framing bits but including FCS\noctets), excluding those octets in packets that contained\nerrors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that\ncontained the protocol.") dsmonHostInOvflPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostInOvflPkts.setDescription("The number of times the associated dsmonHostInPkts counter\nhas overflowed. Note that this object will only be\ninstantiated if the associated dsmonHostInHCPkts object is\nalso instantiated for a particular dataSource.") dsmonHostInOvflOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 6), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostInOvflOctets.setDescription("The number of times the associated dsmonHostInOctets\ncounter has overflowed. Note that this object will only be\ninstantiated if the associated dsmonHostInHCOctets object is\nalso instantiated for a particular dataSource.") dsmonHostInHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 7), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostInHCPkts.setDescription("The 64-bit version of the dsmonHostInPkts object.\n\nNote that this object will only be instantiated if the RMON\n\n\n\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonHostInHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 8), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostInHCOctets.setDescription("The 64-bit version of the dsmonHostInOctets object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonHostOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 9), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostOutPkts.setDescription("The number of packets without errors, using one of the DSCP\nvalues in the indicated counter aggregation group, and\ntransmitted by this address, since this entry was added to\nthe dsmonHostTable. Note that this is the number of link-\nlayer packets, so if a single network-layer packet is\nfragmented into several link-layer frames, this counter is\nincremented several times.") dsmonHostOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 10), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostOutOctets.setDescription("The number of octets, transmitted by this address and using\none of the DSCP values in the identified counter aggregation\ngroup, since this entry was added to the dsmonHostTable\n(excluding framing bits but including FCS octets), excluding\nthose octets in packets that contained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that\ncontained the protocol.") dsmonHostOutOvflPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 11), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostOutOvflPkts.setDescription("The number of times the associated dsmonHostOutPkts counter\nhas overflowed. Note that this object will only be\ninstantiated if the associated dsmonHostOutHCPkts object is\nalso instantiated for a particular dataSource.") dsmonHostOutOvflOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 12), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostOutOvflOctets.setDescription("The number of times the associated dsmonHostOutOctets\ncounter has overflowed. Note that this object will only be\ninstantiated if the associated dsmonHostOutHCOctets object\nis also instantiated for a particular dataSource.") dsmonHostOutHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 13), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostOutHCPkts.setDescription("The 64-bit version of the dsmonHostOutPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonHostOutHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 14), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostOutHCOctets.setDescription("The 64-bit version of the dsmonHostOutOctets object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonHostCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 2, 1, 15), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostCreateTime.setDescription("The value of sysUpTime when this dsmonHost entry was last\ninstantiated by the agent. This can be used by the\nmanagement station to ensure that the entry has not been\ndeleted and recreated between polls.") dsmonHostTopNCtlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3)) if mibBuilder.loadTexts: dsmonHostTopNCtlTable.setDescription("A set of parameters that control the creation of a report\nof the top N dsmonHost entries according to a selected\nmetric.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table. In this case,\nthe agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].") dsmonHostTopNCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1)).setIndexNames((0, "DSMON-MIB", "dsmonHostTopNCtlIndex")) if mibBuilder.loadTexts: dsmonHostTopNCtlEntry.setDescription("A conceptual row in the dsmonHostTopNCtlTable.\n\nEntries are created and deleted from this table by\nmanagement action only, using the dsmonHostTopNCtlStatus\nRowStatus object.\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nActivation of a control row in this table will cause an\n\n\n\nassociated dsmonHostTopNTable to be created and maintained\nby the agent.") dsmonHostTopNCtlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonHostTopNCtlIndex.setDescription("An index that uniquely identifies an entry in the\ndsmonHostTopNCtlTable. Each such entry defines one Top N\nreport prepared for one RMON dataSource.") dsmonHostTopNCtlHostIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostTopNCtlHostIndex.setDescription("The dsmonHostTable for which a top N report will be\nprepared on behalf of this entry. The dsmonHostTable is\nidentified by the value of the dsmonHostCtlIndex for that\ntable - that value is used here to identify the particular\ntable.\n\nThis object MUST NOT be modified if the associated\ndsmonHostTopNCtlStatus object is equal to active(1).") dsmonHostTopNCtlRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(5,9,6,3,7,8,12,1,11,2,4,10,)).subtype(namedValues=NamedValues(("dsmonHostTopNInPkts", 1), ("dsmonHostTopNOutHCOctets", 10), ("dsmonHostTopNTotalHCPkts", 11), ("dsmonHostTopNTotalHCOctets", 12), ("dsmonHostTopNInOctets", 2), ("dsmonHostTopNOutPkts", 3), ("dsmonHostTopNOutOctets", 4), ("dsmonHostTopNTotalPkts", 5), ("dsmonHostTopNTotalOctets", 6), ("dsmonHostTopNInHCPkts", 7), ("dsmonHostTopNInHCOctets", 8), ("dsmonHostTopNOutHCPkts", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostTopNCtlRateBase.setDescription("The variable(s) for each dsmonHost that the\ndsmonHostTopNRate and dsmonHostTopNHCRate variables are\nbased upon. Each dsmonHostTopN report generated on behalf\nof this control entry will be ranked in descending order,\nbased on the associated dsmonHostTable counter(s),\nidentified by this object.\n\nThe following table identifies the dsmonHostTable counters\nassociated with each enumeration:\n\nEnumeration RateBase MIB Objects\n----------- --------------------\ndsmonHostTopNInPkts dsmonHostInPkts\ndsmonHostTopNInOctets dsmonHostInOctets\ndsmonHostTopNOutPkts dsmonHostOutPkts\ndsmonHostTopNOutOctets dsmonHostOutOctets\ndsmonHostTopNTotalPkts dsmonHostInPkts +\n dsmonHostOutPkts\ndsmonHostTopNTotalOctets dsmonHostInOctets +\n dsmonHostOutOctets\ndsmonHostTopNInHCPkts dsmonHostInHCPkts\ndsmonHostTopNInHCOctets dsmonHostInHCOctets\ndsmonHostTopNOutHCPkts dsmonHostOutHCPkts\ndsmonHostTopNOutHCOctets dsmonHostOutHCPkts\ndsmonHostTopNTotalHCPkts dsmonHostInHCPkts +\n dsmonHostOutHCPkts\ndsmonHostTopNTotalHCOctets dsmonHostInHCOctets +\n dsmonHostOutHCOctets\n\nThe following enumerations are only available if the agent\nsupports High Capacity monitoring:\n\ndsmonHostTopNInHCPkts\ndsmonHostTopNInHCOctets\n\n\n\ndsmonHostTopNOutHCPkts\ndsmonHostTopNOutHCOctets\ndsmonHostTopNTotalHCPkts\ndsmonHostTopNTotalHCOctets\n\nIt is an implementation-specific matter whether an agent can\ndetect an overflow condition resulting from the addition of\ntwo counter delta values for the following enumerations:\n\ndsmonHostTopNTotalPkts\ndsmonHostTopNTotalOctets\ndsmonHostTopNTotalHCPkts\ndsmonHostTopNTotalHCOctets\n\nIn the event such an overflow condition can be detected by\nthe agent, the associated dsmonHostTopNRate,\ndsmonHostTopNRateOvfl, and/or dsmonHostTopNHCRate objects\nshould be set to their maximum value.\n\nThis object MUST NOT be modified if the associated\ndsmonHostTopNCtlStatus object is equal to active(1).") dsmonHostTopNCtlTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(1800)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostTopNCtlTimeRemaining.setDescription("The number of seconds left in the report currently being\ncollected. When this object is modified by the management\nstation, a new collection is started, possibly aborting a\ncurrently running report. The new value is used as the\nrequested duration of this report, and is immediately loaded\ninto the associated dsmonHostTopNCtlDuration object.\n\nWhen the report finishes, the probe will automatically start\nanother collection with the same initial value of\ndsmonHostTopNCtlTimeRemaining. Thus the management station\nmay simply read the resulting reports repeatedly, checking\nthe startTime and duration each time to ensure that a report\nwas not missed or that the report parameters were not\nchanged.\n\nWhile the value of this object is non-zero, it decrements by\none per second until it reaches zero. At the time that this\nobject decrements to zero, the report is made accessible in\nthe dsmonHostTopNTable, overwriting any report that may be\n\n\n\nthere.\n\nWhen this object is modified by the management station, any\nassociated entries in the dsmonHostTopNTable shall be\ndeleted.") dsmonHostTopNCtlGeneratedReports = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNCtlGeneratedReports.setDescription("The number of reports that have been generated by this\nentry.") dsmonHostTopNCtlDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNCtlDuration.setDescription("The number of seconds that this report has collected during\nthe last sampling interval.\n\nWhen the associated dsmonHostTopNCtlTimeRemaining object is\nset, this object shall be set by the probe to the same value\nand shall not be modified until the next time the\ndsmonHostTopNCtlTimeRemaining is set.\n\nThis value shall be zero if no reports have been requested\nfor this dsmonHostTopNCtlEntry.") dsmonHostTopNCtlRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(150)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostTopNCtlRequestedSize.setDescription("The maximum number of dsmonHost entries requested for this\nreport.\n\nWhen this object is created or modified, the probe SHOULD\nset dsmonHostTopNCtlGrantedSize as closely to this object as\nis possible for the particular probe implementation and\n\n\n\navailable resources.") dsmonHostTopNCtlGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNCtlGrantedSize.setDescription("The maximum number of dsmonHost entries in this report.\n\nWhen the associated dsmonHostTopNCtlRequestedSize object is\ncreated or modified, the probe SHOULD set this object as\nclosely to the requested value as is possible for the\nparticular implementation and available resources. The\nprobe MUST NOT lower this value except as a result of a\nset to the associated dsmonHostTopNCtlRequestedSize\nobject.\n\nProtocol entries with the highest value of dsmonHostTopNRate\nor dsmonHostTopNHCRate (depending on the value of the\nassociated dsmonHostTopNCtlRateBase object) shall be placed\nin this table in decreasing order of this rate until there\nis no more room or until there are no more dsmonHost\nentries.") dsmonHostTopNCtlStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNCtlStartTime.setDescription("The value of sysUpTime when this top N report was last\nstarted. In other words, this is the time that the\nassociated dsmonHostTopNCtlTimeRemaining object was modified\nto start the requested report or the time the report was\nlast automatically (re)started.\n\nThis object may be used by the management station to\ndetermine if a report was missed or not.") dsmonHostTopNCtlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 10), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostTopNCtlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonHostTopNCtlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 3, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonHostTopNCtlStatus.setDescription("The status of this dsmonHostTopNCtlEntry.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonHostTopNTable shall be deleted by the\nagent.") dsmonHostTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4)) if mibBuilder.loadTexts: dsmonHostTopNTable.setDescription("A set of statistics for those dsmonHost entries that have\ncounted the highest number of octets or packets.\n\nIf the dsmonAggControlLocked object is equal to 'false',\nthen all entries in this table SHALL be deleted, and the\nagent will not process TopN reports on behalf of any\ndsmonHostTopNCtlEntry.\n\nWhen the dsmonAggControlLocked object is set to 'true', then\nparticular reports SHOULD be restarted from the beginning,\non behalf of all active rows in the dsmonHostTopNCtlTable.\n\nNote that dsmonHost entries which did not increment at all\nduring the report interval SHOULD NOT be included in\ndsmonHostTopN reports.") dsmonHostTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1)).setIndexNames((0, "DSMON-MIB", "dsmonHostTopNCtlIndex"), (0, "DSMON-MIB", "dsmonHostTopNIndex")) if mibBuilder.loadTexts: dsmonHostTopNEntry.setDescription("A conceptual row in the dsmonHostTopNTable.\n\nThe dsmonHostTopNCtlIndex value in the index identifies the\ndsmonHostTopNCtlEntry on whose behalf this entry was\ncreated.\n\nEntries in this table are ordered from 1 to 'N', where lower\nnumbers represent higher values of the rate base object,\nover the report interval.") dsmonHostTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonHostTopNIndex.setDescription("An index that uniquely identifies an entry in the\ndsmonHostTopNTable among those in the same report. This\nindex is between 1 and N, where N is the number of entries\nin this report.") dsmonHostTopNPDLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNPDLocalIndex.setDescription("The protocolDirLocalIndex value which identifies the\nprotocol associated with the dsmonHostTopNAddress object in\nthis entry.\n\nIf the protocolDirEntry associated with the\nprotocolDirLocalIndex with the same value as this object is\nde-activated or deleted, then the agent MUST delete this\ndsmonHostTopN entry.") dsmonHostTopNAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNAddress.setDescription("The dsmonHostAddress value for the network host identified\nin this entry. The associated dsmonHostTopNPDLocalIndex\nobject identifies the network protocol type and the encoding\nrules for this object.") dsmonHostTopNAggGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1, 4), DsmonCounterAggGroupIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNAggGroup.setDescription("The counter aggregation group index value associated with\nhost identified in this entry. This object identifies the\ndsmonAggGroupEntry with the same dsmonAggControlIndex value\nas the associated dsmonHostCtlAggProfile object and the same\ndsmonAggGroupIndex value as this object.") dsmonHostTopNRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNRate.setDescription("The amount of change in the selected variable during this\nsampling interval. The selected variable is this host's\ninstance of the object selected by dsmonHostTopNCtlRateBase.\n\nIf the associated dsmonHostTopNCtlRateBase indicates a High\nCapacity monitoring enumeration, (e.g.\n'dsmonHostTopNInHCPkts'), then this object will contain the\nthe least significant 32 bits of the associated\ndsmonHostTopNHCRate object.") dsmonHostTopNRateOvfl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNRateOvfl.setDescription("The most significant 32 bits of the associated\ndsmonHostTopNHCRate object.\n\n\n\nIf the associated dsmonHostTopNCtlRateBase is equal to any\nof the High Capacity monitoring enumerations (e.g.\n'dsmonHostTopNInHCPkts'), then this object will contain the\nupper 32 bits of the associated dsmonHostTopNHCRate object.\n\nIf the associated dsmonHostTopNCtlRateBase is not equal to\nany of High Capacity monitoring enumerations, then this\nobject will contain the value zero.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonHostTopNHCRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 4, 4, 1, 7), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonHostTopNHCRate.setDescription("The amount of change in the selected variable during this\nsampling interval. The selected variable is this host's\ninstance of the object selected by dsmonHostTopNCtlRateBase.\n\nIf the associated dsmonHostTopNCtlRateBase is not equal to\nany of the High Capacity monitoring enumerations (e.g.,\n'dsmonHostTopNInPkts'), then this object will contain the\nvalue zero, and the associated dsmonHostTopNRate object will\ncontain the change in the selected variable during the\nsampling interval.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonCapsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 1, 5)) dsmonCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 16, 26, 1, 5, 1), Bits().subtype(namedValues=NamedValues(("dsmonCounterAggControl", 0), ("dsmonStats", 1), ("dsmonCaps", 10), ("dsmonMatrix", 11), ("dsmonMatrixOvfl", 12), ("dsmonMatrixHC", 13), ("dsmonStatsOvfl", 2), ("dsmonStatsHC", 3), ("dsmonPdist", 4), ("dsmonPdistOvfl", 5), ("dsmonPdistHC", 6), ("dsmonHost", 7), ("dsmonHostOvfl", 8), ("dsmonHostHC", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonCapabilities.setDescription("This object provides an indication of the DSMON groups\nsupported by the agent. If a bit is set, then the agent\nimplements all of the objects in the DSMON object group,\nwhere bit 'n' represents the MIB group identified by the\nOBJECT IDENTIFIER value { dsmonGroups n+1 }.") dsmonMatrixObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 1, 6)) dsmonMatrixCtlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1)) if mibBuilder.loadTexts: dsmonMatrixCtlTable.setDescription("Controls setup of per counter aggregation group, per host-\npair, application protocol distribution statistics.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table. In this case,\nthe agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].") dsmonMatrixCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1)).setIndexNames((0, "DSMON-MIB", "dsmonMatrixCtlIndex")) if mibBuilder.loadTexts: dsmonMatrixCtlEntry.setDescription("A conceptual row in the dsmonMatrixCtlTable.\n\nEntries are created and deleted from this table by\nmanagement action only, using the dsmonMatrixCtlStatus\nRowStatus object.\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nActivation of a control row in this table will cause an\nassociated dsmonMatrixSDTable and dsmonMatrixDSTable to be\ncreated and maintained by the agent.") dsmonMatrixCtlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixCtlIndex.setDescription("An arbitrary and unique index for this\ndsmonMatrixCtlEntry.") dsmonMatrixCtlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixCtlDataSource.setDescription("The source of data for the associated dsmonMatrixSDTable\nand dsmonMatrixDSTable.\n\nNote that only packets that contain a network protocol\nencapsulation which contains a DS field [RFC2474] will be\ncounted in this table.\n\nThis object MUST NOT be modified if the associated\ndsmonMatrixCtlStatus object is equal to active(1).") dsmonMatrixCtlAggProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 3), DsmonCounterAggProfileIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixCtlAggProfile.setDescription("The dsmonAggControlIndex value identifying the counter\naggregation profile which should be used on behalf of this\ndsmonMatrixCtlEntry.\n\nThe associated dsmonAggControlEntry and\ndsmonAggProfileEntries, identified by the same\ndsmonAggControlIndex index value, MUST be active in order\nfor this entry to remain active. It is possible for the\ncounter aggregation configuration to change from a valid to\ninvalid state for this dsmonMatrix collection. In this\ncase, the associated dsmonMatrixCtlStatus object will be\nchanged to the 'notReady' state, and data collection will\nnot occur on behalf of this control entry.\n\nNote that an agent MAY choose to limit the actual number of\ncounter aggregation profiles which may be applied to a\nparticular data source.\n\nThis object MUST NOT be modified if the associated\ndsmonMatrixCtlStatus object is equal to active(1).") dsmonMatrixCtlMaxDesiredEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1,-1),ValueRangeConstraint(1,2147483647),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixCtlMaxDesiredEntries.setDescription("The maximum number of entries that are desired in the\ndsmonMatrix tables on behalf of this control entry. The\nprobe will not create more than this number of associated\nentries in these tables, but may choose to create fewer\nentries in this table for any reason including the lack of\nresources.\n\nIf this value is set to -1, the probe may create any number\nof entries in this table.\n\nThis object MUST NOT be modified if the associated\ndsmonMatrixCtlStatus object is equal to active(1).") dsmonMatrixCtlDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixCtlDroppedFrames.setDescription("The total number of frames which were received by the probe\nand therefore not accounted for in the *StatsDropEvents, but\nfor which the probe chose not to count for the associated\ndsmonMatrixSD and dsmonMatrixDS entries for whatever reason.\nMost often, this event occurs when the probe is out of some\nresources and decides to shed load from this collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that if the dsmonMatrix tables are inactive because no\nappropriate protocols are enabled in the protocol directory,\nthis value SHOULD be 0.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") dsmonMatrixCtlInserts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixCtlInserts.setDescription("The number of times a dsmonMatrix entry has been inserted\ninto the dsmonMatrix tables. If an entry is inserted, then\ndeleted, and then inserted, this counter will be incremented\nby 2. The addition of a conversation into both the\ndsmonMatrixSDTable and dsmonMatrixDSTable shall be counted\nas two insertions (even though every addition into one table\nmust be accompanied by an insertion into the other).\n\nTo allow for efficient implementation strategies, agents may\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal data\nstructures to differ from those visible via SNMP for short\nperiods of time. This counter may reflect the internal data\nstructures for those short periods of time. Note that the\nsum of the dsmonMatrixSDTable and dsmonMatrixDSTable sizes\ncan be determined by subtracting dsmonMatrixCtlDeletes from\ndsmonMatrixCtlInserts.") dsmonMatrixCtlDeletes = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixCtlDeletes.setDescription("The number of times a dsmonMatrix entry has been deleted\nfrom the dsmonMatrix tables (for any reason). If an entry\nis deleted, then inserted, and then deleted, this counter\nwill be incremented by 2. The deletion of a conversation\nfrom both the dsmonMatrixSDTable and dsmonMatrixDSTable\nshall be counted as two deletions (even though every\ndeletion from one table must be accompanied by a deletion\nfrom the other).\n\nTo allow for efficient implementation strategies, agents MAY\ndelay updating this object for short periods of time. For\nexample, an implementation strategy may allow internal data\nstructures to differ from those visible via SNMP for short\nperiods of time. This counter may reflect the internal data\nstructures for those short periods of time.\n\nNote that the sum of the dsmonMatrixSDTable and\ndsmonMatrixDSTable sizes can be determined by subtracting\ndsmonMatrixCtlDeletes from dsmonMatrixCtlInserts.") dsmonMatrixCtlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 8), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixCtlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This can be used by the management station to\ndetect if the table has been deleted and recreated between\npolls.") dsmonMatrixCtlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 9), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixCtlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonMatrixCtlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 1, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixCtlStatus.setDescription("The status of this dsmonMatrixCtlEntry.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonMatrixSDTable and dsmonMatrixDSTable\nshall be deleted.") dsmonMatrixSDTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2)) if mibBuilder.loadTexts: dsmonMatrixSDTable.setDescription("A list of application traffic matrix entries which collect\nstatistics for conversations of a particular application\nprotocol between two network-level addresses. This table is\nindexed first by the source address and then by the\n\n\n\ndestination address to make it convenient to collect all\nstatistics from a particular address.\n\nThe probe will add to this table all pairs of addresses for\nall protocols seen in all packets with no MAC errors, and\nwill increment octet and packet counts in the table for all\npackets with no MAC errors.") dsmonMatrixSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1)).setIndexNames((0, "DSMON-MIB", "dsmonMatrixCtlIndex"), (0, "DSMON-MIB", "dsmonMatrixTimeMark"), (0, "DSMON-MIB", "dsmonAggGroupIndex"), (0, "DSMON-MIB", "dsmonMatrixNLIndex"), (0, "DSMON-MIB", "dsmonMatrixSourceAddress"), (0, "DSMON-MIB", "dsmonMatrixDestAddress"), (0, "DSMON-MIB", "dsmonMatrixALIndex")) if mibBuilder.loadTexts: dsmonMatrixSDEntry.setDescription("A conceptual row in the dsmonMatrixSDTable.\n\nThe dsmonMatrixCtlIndex value in the index identifies the\ndsmonMatrixCtlEntry on whose behalf this entry was created.\n\nThe dsmonAggGroupIndex value in the index is determined by\nexamining the DSCP value in each monitored packet, and the\ndsmonAggProfileTable entry configured for that value.") dsmonMatrixTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixTimeMark.setDescription("The Time Filter index for this table. This object may be\nused by a management station to retrieve only rows which\nhave been created or modified since a particular time. Note\nthat the current value for a row are always returned and the\nTimeFilter is not a historical data archiving mechanism.\nRefer to RFC 2021 [RFC2021] for a detailed description of\nTimeFilter operation.") dsmonMatrixNLIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixNLIndex.setDescription("The protocolDirLocalIndex value of a protocolDirEntry\nrepresenting the specific network layer protocol\nencapsulation associated with each entry, and the network\nprotocol type of the dsmonMatrixSourceAddress and\ndsmonMatrixDestAddress objects.") dsmonMatrixSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 54))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixSourceAddress.setDescription("The network source address for this dsmonMatrix entry.\n\nThis is represented as an octet string with specific\nsemantics and length as identified by the dsmonMatrixNLIndex\ncomponent of the index.\n\nFor example, if the dsmonMatrixNLIndex indicates an\nencapsulation of IPv4, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IPv4 address, in\nnetwork byte order.") dsmonMatrixDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 54))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixDestAddress.setDescription("The network destination address for this dsmonMatrix entry.\n\n\n\nThis is represented as an octet string with specific\nsemantics and length as identified by the dsmonMatrixNLIndex\ncomponent of the index.\n\nFor example, if the dsmonMatrixNLIndex indicates an\nencapsulation of IPv4, this object is encoded as a length\noctet of 4, followed by the 4 octets of the IPv4 address, in\nnetwork byte order.") dsmonMatrixALIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixALIndex.setDescription("The protocolDirLocalIndex value of the protocolDirEntry\nrepresenting the specific application layer protocol\nassociated with each entry.\n\nIt MUST identify an protocolDirEntry which is a direct or\nindirect descendant of the protocolDirEntry identified by\nthe associated dsmonMatrixNLIndex object.") dsmonMatrixSDPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 6), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixSDPkts.setDescription("The number of packets of this protocol type (indicated by\nthe associated dsmonMatrixALIndex object) without errors\ntransmitted from the source address to the destination\naddress since this entry was added to the\ndsmonMatrixSDTable. Note that this is the number of link-\nlayer packets, so if a single network-layer packet is\nfragmented into several link-layer frames, this counter is\nincremented several times.") dsmonMatrixSDOvflPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixSDOvflPkts.setDescription("The number of times the associated dsmonMatrixSDPkts\ncounter has overflowed, since this entry was added to the\ndsmonMatrixSDTable.") dsmonMatrixSDHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 8), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixSDHCPkts.setDescription("The 64-bit version of the dsmonMatrixSDPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonMatrixSDOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 9), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixSDOctets.setDescription("The number of octets in packets of this protocol type\ntransmitted from the source address to the destination\naddress since this entry was added to the dsmonMatrixSDTable\n(excluding framing bits but including FCS octets), excluding\nthose octets in packets that contained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that\ncontained the protocol.") dsmonMatrixSDOvflOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 10), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixSDOvflOctets.setDescription("The number of times the associated dsmonMatrixSDOctets\ncounter has overflowed, since this entry was added to the\ndsmonMatrixSDTable.") dsmonMatrixSDHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 11), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixSDHCOctets.setDescription("The 64-bit version of the dsmonMatrixSDPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonMatrixSDCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 2, 1, 12), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixSDCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that\nthe entry has not been deleted and recreated between polls.") dsmonMatrixDSTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3)) if mibBuilder.loadTexts: dsmonMatrixDSTable.setDescription("A list of application traffic matrix entries which collect\nstatistics for conversations of a particular application\nprotocol between two network-level addresses. This table is\nindexed first by the destination address and then by the\nsource address to make it convenient to collect all\nstatistics from a particular address.\n\nThe probe will add to this table all pairs of addresses for\nall protocols seen in all packets with no MAC errors, and\nwill increment octet and packet counts in the table for all\npackets with no MAC errors.") dsmonMatrixDSEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1)).setIndexNames((0, "DSMON-MIB", "dsmonMatrixCtlIndex"), (0, "DSMON-MIB", "dsmonMatrixTimeMark"), (0, "DSMON-MIB", "dsmonAggGroupIndex"), (0, "DSMON-MIB", "dsmonMatrixNLIndex"), (0, "DSMON-MIB", "dsmonMatrixDestAddress"), (0, "DSMON-MIB", "dsmonMatrixSourceAddress"), (0, "DSMON-MIB", "dsmonMatrixALIndex")) if mibBuilder.loadTexts: dsmonMatrixDSEntry.setDescription("A conceptual row in the dsmonMatrixDSTable. Note that this\ntable is conceptually a re-ordered version of the\ndsmonMatrixSDTable. Therefore, all of the index values from\n\n\n\nthat table are used by reference, and their semantics are\nexactly as described in the dsmonMatrixSDTable.\n\nThe dsmonMatrixCtlIndex value in the index identifies the\ndsmonMatrixCtlEntry on whose behalf this entry was created.\n\nThe dsmonMatrixTimeMark value in the index identifies the\nTime Filter index for this table.\n\nThe dsmonAggGroupIndex value in the index is determined by\nexamining the DSCP value in each monitored packet, and the\ndsmonAggProfileTable entry configured for that value.\n\nThe dsmonMatrixNLIndex value in the index identifies the\nprotocolDirLocalIndex value of a protocolDirEntry\nrepresenting the specific network layer protocol\nencapsulation associated with each entry, and the network\nprotocol type of the dsmonMatrixSourceAddress and\ndsmonMatrixDestAddress objects.\n\nThe dsmonMatrixDestAddress value in the index identifies the\nnetwork destination address for this dsmonMatrix entry.\n\nThe dsmonMatrixSourceAddress value in the index identifies\nthe network source address for this dsmonMatrix entry.\n\nThe dsmonMatrixALIndex value in the index identifies the\nprotocolDirLocalIndex value of the protocolDirEntry\nrepresenting the specific application layer protocol\nassociated with each entry.") dsmonMatrixDSPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixDSPkts.setDescription("The number of packets of this protocol type (indicated by\nthe associated dsmonMatrixALIndex object) without errors\ntransmitted from the source address to the destination\naddress since this entry was added to the\ndsmonMatrixDSTable. Note that this is the number of link-\nlayer packets, so if a single network-layer packet is\nfragmented into several link-layer frames, this counter is\nincremented several times.") dsmonMatrixDSOvflPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixDSOvflPkts.setDescription("The number of times the associated dsmonMatrixDSPkts\ncounter has overflowed, since this entry was added to the\ndsmonMatrixDSTable.") dsmonMatrixDSHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1, 3), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixDSHCPkts.setDescription("The 64-bit version of the dsmonMatrixDSPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonMatrixDSOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixDSOctets.setDescription("The number of octets in packets of this protocol type\n\n\n\ntransmitted from the source address to the destination\naddress since this entry was added to the dsmonMatrixDSTable\n(excluding framing bits but including FCS octets), excluding\nthose octets in packets that contained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that\ncontained the protocol.") dsmonMatrixDSOvflOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixDSOvflOctets.setDescription("The number of times the associated dsmonMatrixDSOctets\ncounter has overflowed, since this entry was added to the\ndsmonMatrixDSTable.") dsmonMatrixDSHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1, 6), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixDSHCOctets.setDescription("The 64-bit version of the dsmonMatrixDSPkts object.\n\nNote that this object will only be instantiated if the RMON\nagent supports High Capacity monitoring for a particular\ndataSource.") dsmonMatrixDSCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 3, 1, 7), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixDSCreateTime.setDescription("The value of sysUpTime when this entry was last activated.\nThis can be used by the management station to ensure that\nthe entry has not been deleted and recreated between polls.") dsmonMatrixTopNCtlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4)) if mibBuilder.loadTexts: dsmonMatrixTopNCtlTable.setDescription("A set of parameters that control the creation of a report\nof the top N dsmonMatrix entries according to a selected\nmetric.\n\nNote that an agent MAY choose to limit the actual number of\nentries which may be created in this table. In this case,\nthe agent SHOULD return an error-status of\n'resourceUnavailable(13)', as per section 4.2.5 of the\n'Protocol Operations for SNMPv2' specification [RFC1905].") dsmonMatrixTopNCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1)).setIndexNames((0, "DSMON-MIB", "dsmonMatrixTopNCtlIndex")) if mibBuilder.loadTexts: dsmonMatrixTopNCtlEntry.setDescription("A conceptual row in the dsmonMatrixTopNCtlTable.\n\nEntries are created and deleted from this table by\nmanagement action only, using the dsmonMatrixTopNCtlStatus\nRowStatus object.\n\nThe agent SHOULD support non-volatile configuration of this\ntable, and upon system initialization, the table SHOULD be\ninitialized with the saved values.\n\nActivation of a control row in this table will cause an\nassociated dsmonMatrixTopNTable to be created and maintained\nby the agent.") dsmonMatrixTopNCtlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixTopNCtlIndex.setDescription("An index that uniquely identifies an entry in the\ndsmonMatrixTopNCtlTable. Each such entry defines one Top N\nreport prepared for one RMON dataSource.") dsmonMatrixTopNCtlMatrixIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixTopNCtlMatrixIndex.setDescription("The dsmonMatrixSDTable for which a top N report will be\nprepared on behalf of this entry. The dsmonMatrixSDTable is\nidentified by the same value of the dsmonMatrixCtlIndex\nobject.\n\nThis object MUST NOT be modified if the associated\ndsmonMatrixTopNCtlStatus object is equal to active(1).") dsmonMatrixTopNCtlRateBase = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,)).subtype(namedValues=NamedValues(("dsmonMatrixTopNPkts", 1), ("dsmonMatrixTopNOctets", 2), ("dsmonMatrixTopNHCPkts", 3), ("dsmonMatrixTopNHCOctets", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixTopNCtlRateBase.setDescription("The variable for each dsmonMatrixSD entry that the\ndsmonMatrixTopNRate and dsmonMatrixTopNHCRate variables are\nbased upon. Each dsmonMatrixTopN report generated on behalf\nof this control entry will be ranked in descending order,\nbased on the associated dsmonMatrixSDTable counter,\nidentified by this object.\n\nThe following table identifies the dsmonMatrixSDTable\ncounters associated with each enumeration:\n\nEnumeration RateBase MIB Objects\n\n\n\n----------- --------------------\ndsmonMatrixTopNPkts dsmonMatrixSDPkts\ndsmonMatrixTopNOctets dsmonMatrixSDOctets\ndsmonMatrixTopNHCPkts dsmonMatrixSDHCPkts\ndsmonMatrixTopNHCOctets dsmonMatrixSDHCOctets\n\nThe following enumerations are only available if the agent\nsupports High Capacity monitoring:\n\ndsmonMatrixTopNHCPkts\ndsmonMatrixTopNHCOctets\n\nThis object MUST NOT be modified if the associated\ndsmonMatrixTopNCtlStatus object is equal to active(1).") dsmonMatrixTopNCtlTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(1800)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixTopNCtlTimeRemaining.setDescription("The number of seconds left in the report currently being\ncollected. When this object is modified by the management\nstation, a new collection is started, possibly aborting a\ncurrently running report. The new value is used as the\nrequested duration of this report, and is immediately loaded\ninto the associated dsmonMatrixTopNCtlDuration object.\n\nWhen the report finishes, the probe will automatically start\nanother collection with the same initial value of\ndsmonMatrixTopNCtlTimeRemaining. Thus the management\nstation may simply read the resulting reports repeatedly,\nchecking the startTime and duration each time to ensure that\na report was not missed or that the report parameters were\nnot changed.\n\nWhile the value of this object is non-zero, it decrements by\none per second until it reaches zero. At the time that this\nobject decrements to zero, the report is made accessible in\nthe dsmonMatrixTopNTable, overwriting any report that may be\nthere.\n\nWhen this object is modified by the management station, any\nassociated entries in the dsmonMatrixTopNTable shall be\ndeleted.") dsmonMatrixTopNCtlGeneratedRpts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNCtlGeneratedRpts.setDescription("The number of reports that have been generated by this\nentry.") dsmonMatrixTopNCtlDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNCtlDuration.setDescription("The number of seconds that this report has collected during\nthe last sampling interval.\n\nWhen the associated dsmonMatrixTopNCtlTimeRemaining object\nis set, this object shall be set by the probe to the same\nvalue and shall not be modified until the next time the\ndsmonMatrixTopNCtlTimeRemaining is set.\n\nThis value shall be zero if no reports have been requested\nfor this dsmonMatrixTopNCtlEntry.") dsmonMatrixTopNCtlRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(150)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixTopNCtlRequestedSize.setDescription("The maximum number of dsmonMatrix entries requested for\nthis report.\n\nWhen this object is created or modified, the probe SHOULD\nset dsmonMatrixTopNCtlGrantedSize as closely to this object\nas is possible for the particular probe implementation and\navailable resources.") dsmonMatrixTopNCtlGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNCtlGrantedSize.setDescription("The maximum number of dsmonMatrix entries in this report.\n\nWhen the associated dsmonMatrixTopNCtlRequestedSize object\nis created or modified, the probe SHOULD set this object as\nclosely to the requested value as is possible for the\nparticular implementation and available resources. The\nprobe MUST NOT lower this value except as a result of a\nset to the associated dsmonMatrixTopNCtlRequestedSize\nobject.\n\nProtocol entries with the highest value of\ndsmonMatrixTopNRate or dsmonMatrixTopNHCRate (depending on\nthe value of the associated dsmonMatrixTopNCtlRateBase\nobject) shall be placed in this table in decreasing order of\nthis rate until there is no more room or until there are no\nmore dsmonMatrix entries.") dsmonMatrixTopNCtlStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNCtlStartTime.setDescription("The value of sysUpTime when this top N report was last\nstarted. In other words, this is the time that the\nassociated dsmonMatrixTopNCtlTimeRemaining object was\nmodified to start the requested report or the time the\nreport was last automatically (re)started.\n\nThis object may be used by the management station to\ndetermine if a report was missed or not.") dsmonMatrixTopNCtlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 10), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixTopNCtlOwner.setDescription("The entity that configured this entry and is therefore\nusing the resources assigned to it.") dsmonMatrixTopNCtlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 4, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dsmonMatrixTopNCtlStatus.setDescription("The status of this dsmonMatrixTopNCtlEntry.\n\nAn entry MUST NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the dsmonMatrixTopNTable shall be deleted by the\nagent.") dsmonMatrixTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5)) if mibBuilder.loadTexts: dsmonMatrixTopNTable.setDescription("A set of statistics for those dsmonMatrix entries that have\ncounted the highest number of octets or packets.\n\nIf the dsmonAggControlLocked object is equal to 'false',\nthen all entries in this table SHALL be deleted, and the\nagent will not process TopN reports on behalf of any\ndsmonMatrixTopNCtlEntry.\n\nWhen the dsmonAggControlLocked object is set to 'true', then\nparticular reports SHOULD be restarted from the beginning,\non behalf of all active rows in the dsmonMatrixTopNCtlTable.\n\nNote that dsmonMatrix entries which did not increment at all\nduring the report interval SHOULD NOT be included in\ndsmonMatrixTopN reports.") dsmonMatrixTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1)).setIndexNames((0, "DSMON-MIB", "dsmonMatrixTopNCtlIndex"), (0, "DSMON-MIB", "dsmonMatrixTopNIndex")) if mibBuilder.loadTexts: dsmonMatrixTopNEntry.setDescription("A conceptual row in the dsmonMatrixTopNTable.\n\nThe dsmonMatrixTopNCtlIndex value in the index identifies\nthe dsmonMatrixTopNCtlEntry on whose behalf this entry was\ncreated.\n\n\n\n\nEntries in this table are ordered from 1 to 'N', where lower\nnumbers represent higher values of the rate base object,\nover the report interval.") dsmonMatrixTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsmonMatrixTopNIndex.setDescription("An index that uniquely identifies an entry in the\ndsmonMatrixTopNTable among those in the same report. This\nindex is between 1 and N, where N is the number of entries\nin this report.") dsmonMatrixTopNAggGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 2), DsmonCounterAggGroupIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNAggGroup.setDescription("The counter aggregation group index value associated with\nhost identified in this entry. This object identifies the\ndsmonAggGroupEntry with the same dsmonAggControlIndex value\nas the associated dsmonMatrixCtlAggProfile object and the\nsame dsmonAggGroupIndex value as this object.") dsmonMatrixTopNNLIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNNLIndex.setDescription("The protocolDirLocalIndex value which identifies the\nprotocol associated with the dsmonMatrixTopNSourceAddress\nand dsmonMatrixTopNDestAddress objects in this entry.\n\nIf the protocolDirEntry associated with the\nprotocolDirLocalIndex with the same value as this object is\nde-activated or deleted, then the agent MUST delete this\ndsmonMatrixTopN entry.") dsmonMatrixTopNSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNSourceAddress.setDescription("The dsmonMatrixSDSourceAddress value for the source network\nhost identified in this entry. The associated\ndsmonMatrixTopNNLIndex object identifies the network\nprotocol type and the encoding rules for this object.") dsmonMatrixTopNDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNDestAddress.setDescription("The dsmonMatrixSDDestAddress value for the destination\nnetwork host identified in this entry. The associated\ndsmonMatrixTopNNLIndex object identifies the network\nprotocol type and the encoding rules for this object.") dsmonMatrixTopNALIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNALIndex.setDescription("The protocolDirLocalIndex value which identifies the\napplication protocol associated with this entry.\n\nIf the protocolDirEntry associated with the\n\n\n\nprotocolDirLocalIndex with the same value as this object is\nde-activated or deleted, then the agent MUST delete this\ndsmonMatrixTopN entry.") dsmonMatrixTopNPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNPktRate.setDescription("The number of packets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ncounted using the rules for counting the dsmonMatrixSDPkts\nobject.\n\nIf the value of dsmonMatrixTopNCtlRateBase is\ndsmonMatrixTopNPkts, this variable will be used to sort this\nreport.\n\nIf the value of the dsmonMatrixTopNCtlRateBase is\ndsmonMatrixTopNHCPkts or dsmonMatrixTopNHCOctets, then this\nobject will contain the the least significant 32 bits of the\nassociated dsmonMatrixTopNHCPktRate object.") dsmonMatrixTopNPktRateOvfl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNPktRateOvfl.setDescription("The most significant 32 bits of the associated\ndsmonMatrixTopNHCPktRate object.\n\nIf the associated dsmonMatrixTopNCtlRateBase is equal to\ndsmonMatrixTopNHCPkts or dsmonMatrixTopNHCOctets, then this\nobject will contain the most significant 32 bits of the\nassociated dsmonMatrixTopNHCPktRate object, otherwise this\nobject will contain the value zero.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonMatrixTopNHCPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 9), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNHCPktRate.setDescription("The number of packets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ncounted using the rules for counting the dsmonMatrixSDHCPkts\nobject.\n\nIf the value of dsmonMatrixTopNCtlRateBase is\ndsmonMatrixTopNHCPkts, this variable will be used to sort\nthis report.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonMatrixTopNRevPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNRevPktRate.setDescription("The number of packets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, counted using the rules for counting the\ndsmonMatrixDSPkts object (note that the corresponding\ndsmonMatrixSDPkts object selected is the one whose source\naddress is equal to dsmonMatrixTopNDestAddress and whose\ndestination address is equal to\ndsmonMatrixTopNSourceAddress.)") dsmonMatrixTopNRevPktRateOvfl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNRevPktRateOvfl.setDescription("The most significant 32 bits of the associated\ndsmonMatrixTopNHCRevPktRate object.\n\nIf the associated dsmonMatrixTopNCtlRateBase is equal to\ndsmonMatrixTopNHCPkts or dsmonMatrixTopNHCOCtets, then this\nobject will contain the most significant 32 bits of the\nassociated dsmonMatrixTopNHCRevPktRate object, otherwise\nthis object will contain the value zero.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonMatrixTopNHCRevPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 12), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNHCRevPktRate.setDescription("The number of packets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, counted using the rules for counting the\ndsmonMatrixDSHCPkts object (note that the corresponding\ndsmonMatrixSDHCPkts object selected is the one whose source\naddress is equal to dsmonMatrixTopNDestAddress and whose\ndestination address is equal to\ndsmonMatrixTopNSourceAddress.)\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonMatrixTopNOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNOctetRate.setDescription("The number of octets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ncounted using the rules for counting the dsmonMatrixSDOctets\nobject.\n\nIf the value of dsmonMatrixTopNCtlRateBase is\ndsmonMatrixTopNOctets, this variable will be used to sort\nthis report.\n\nIf the value of the dsmonMatrixTopNCtlRateBase is\ndsmonMatrixTopNHCPkts or dsmonMatrixTopNHCOctets, then this\nobject will contain the the least significant 32 bits of the\nassociated dsmonMatrixTopNHCPktRate object.") dsmonMatrixTopNOctetRateOvfl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNOctetRateOvfl.setDescription("The most significant 32 bits of the associated\ndsmonMatrixTopNHCOctetRate object.\n\nIf the associated dsmonMatrixTopNCtlRateBase is equal to\ndsmonMatrixTopNHCPkts or dsmonMatrixTopNHCOctets, then this\nobject will contain the most significant 32 bits of the\nassociated dsmonMatrixTopNHCOctetRate object, otherwise this\n\n\n\nobject will contain the value zero.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonMatrixTopNHCOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 15), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNHCOctetRate.setDescription("The number of octets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ncounted using the rules for counting the\ndsmonMatrixSDHCOctets object.\n\nIf the value of dsmonMatrixTopNCtlRateBase is\ndsmonMatrixTopNHCOctets, this variable will be used to sort\nthis report.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonMatrixTopNRevOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNRevOctetRate.setDescription("The number of octets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, counted using the rules for counting the\ndsmonMatrixDSOctets object (note that the corresponding\ndsmonMatrixSDOctets object selected is the one whose source\naddress is equal to dsmonMatrixTopNDestAddress and whose\ndestination address is equal to\ndsmonMatrixTopNSourceAddress.)") dsmonMatrixTopNRevOctetRateOvfl = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNRevOctetRateOvfl.setDescription("The most significant 32 bits of the associated\ndsmonMatrixTopNHCRevOctetRate object.\n\nIf the associated dsmonMatrixTopNCtlRateBase is equal to\n\n\n\ndsmonMatrixTopNHCPkts or dsmonMatrixTopNHCOCtets, then this\nobject will contain the most significant 32 bits of the\nassociated dsmonMatrixTopNHCRevPktRate object, otherwise\nthis object will contain the value zero.\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonMatrixTopNHCRevOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 26, 1, 6, 5, 1, 18), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsmonMatrixTopNHCRevOctetRate.setDescription("The number of octets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, counted using the rules for counting the\ndsmonMatrixDSHCOctets object (note that the corresponding\ndsmonMatrixSDHCOctets object selected is the one whose\nsource address is equal to dsmonMatrixTopNDestAddress and\nwhose destination address is equal to\ndsmonMatrixTopNSourceAddress.)\n\nThe agent MAY choose not to instantiate this object if High\nCapacity monitoring is not supported.") dsmonNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 2)) dsmonConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 3)) dsmonCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 3, 1)) dsmonGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 26, 3, 2)) # Augmentions # Groups dsmonCounterAggControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 1)).setObjects(*(("DSMON-MIB", "dsmonAggControlChanges"), ("DSMON-MIB", "dsmonAggGroupIndex"), ("DSMON-MIB", "dsmonAggControlOwner"), ("DSMON-MIB", "dsmonAggControlDescr"), ("DSMON-MIB", "dsmonAggGroupStatus"), ("DSMON-MIB", "dsmonAggControlLocked"), ("DSMON-MIB", "dsmonAggControlLastChangeTime"), ("DSMON-MIB", "dsmonAggGroupDescr"), ("DSMON-MIB", "dsmonAggControlStatus"), ("DSMON-MIB", "dsmonMaxAggGroups"), ) ) if mibBuilder.loadTexts: dsmonCounterAggControlGroup.setDescription("A collection of objects used to configure and manage\ncounter aggregation groups for DSMON collection purposes.") dsmonStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 2)).setObjects(*(("DSMON-MIB", "dsmonStatsOutPkts"), ("DSMON-MIB", "dsmonStatsControlOwner"), ("DSMON-MIB", "dsmonStatsControlDroppedFrames"), ("DSMON-MIB", "dsmonStatsControlAggProfile"), ("DSMON-MIB", "dsmonStatsControlCreateTime"), ("DSMON-MIB", "dsmonStatsInPkts"), ("DSMON-MIB", "dsmonStatsControlStatus"), ("DSMON-MIB", "dsmonStatsControlDataSource"), ("DSMON-MIB", "dsmonStatsOutOctets"), ("DSMON-MIB", "dsmonStatsInOctets"), ) ) if mibBuilder.loadTexts: dsmonStatsGroup.setDescription("A collection of objects providing per DSCP statistics.") dsmonStatsOvflGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 3)).setObjects(*(("DSMON-MIB", "dsmonStatsInOvflPkts"), ("DSMON-MIB", "dsmonStatsOutOvflOctets"), ("DSMON-MIB", "dsmonStatsOutOvflPkts"), ("DSMON-MIB", "dsmonStatsInOvflOctets"), ) ) if mibBuilder.loadTexts: dsmonStatsOvflGroup.setDescription("A collection of objects providing per-DSCP overflow\ncounters for systems with high capacity data sources, but\nwithout support for the Counter64 data type.") dsmonStatsHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 4)).setObjects(*(("DSMON-MIB", "dsmonStatsInHCPkts"), ("DSMON-MIB", "dsmonStatsOutHCPkts"), ("DSMON-MIB", "dsmonStatsOutHCOctets"), ("DSMON-MIB", "dsmonStatsInHCOctets"), ) ) if mibBuilder.loadTexts: dsmonStatsHCGroup.setDescription("A collection of objects providing per DSCP statistics for\nhigh capacity data sources.") dsmonPdistGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 5)).setObjects(*(("DSMON-MIB", "dsmonPdistTopNCtlRequestedSize"), ("DSMON-MIB", "dsmonPdistStatsOctets"), ("DSMON-MIB", "dsmonPdistStatsCreateTime"), ("DSMON-MIB", "dsmonPdistCtlInserts"), ("DSMON-MIB", "dsmonPdistTopNCtlStartTime"), ("DSMON-MIB", "dsmonPdistTopNRate"), ("DSMON-MIB", "dsmonPdistCtlMaxDesiredEntries"), ("DSMON-MIB", "dsmonPdistCtlCreateTime"), ("DSMON-MIB", "dsmonPdistTopNCtlPdistIndex"), ("DSMON-MIB", "dsmonPdistTopNCtlTimeRemaining"), ("DSMON-MIB", "dsmonPdistStatsPkts"), ("DSMON-MIB", "dsmonPdistCtlOwner"), ("DSMON-MIB", "dsmonPdistTopNCtlOwner"), ("DSMON-MIB", "dsmonPdistTopNCtlDuration"), ("DSMON-MIB", "dsmonPdistTopNCtlRateBase"), ("DSMON-MIB", "dsmonPdistCtlDeletes"), ("DSMON-MIB", "dsmonPdistCtlStatus"), ("DSMON-MIB", "dsmonPdistCtlDataSource"), ("DSMON-MIB", "dsmonPdistCtlAggProfile"), ("DSMON-MIB", "dsmonPdistTopNCtlStatus"), ("DSMON-MIB", "dsmonPdistTopNCtlGeneratedReprts"), ("DSMON-MIB", "dsmonPdistCtlDroppedFrames"), ("DSMON-MIB", "dsmonPdistTopNPDLocalIndex"), ("DSMON-MIB", "dsmonPdistTopNAggGroup"), ("DSMON-MIB", "dsmonPdistTopNCtlGrantedSize"), ) ) if mibBuilder.loadTexts: dsmonPdistGroup.setDescription("A collection of objects providing per protocol DSCP\nmonitoring extensions to the RMON-2 MIB.") dsmonPdistOvflGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 6)).setObjects(*(("DSMON-MIB", "dsmonPdistTopNRateOvfl"), ("DSMON-MIB", "dsmonPdistStatsOvflOctets"), ("DSMON-MIB", "dsmonPdistStatsOvflPkts"), ) ) if mibBuilder.loadTexts: dsmonPdistOvflGroup.setDescription("A collection of objects providing per-protocol DSCP\noverflow counters for systems with high capacity data\nsources, but without support for the Counter64 data type.") dsmonPdistHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 7)).setObjects(*(("DSMON-MIB", "dsmonPdistStatsHCPkts"), ("DSMON-MIB", "dsmonPdistTopNHCRate"), ("DSMON-MIB", "dsmonPdistStatsHCOctets"), ) ) if mibBuilder.loadTexts: dsmonPdistHCGroup.setDescription("A collection of objects providing per protocol DSCP\nmonitoring extensions to the RMON-2 MIB for High Capacity\nnetworks.") dsmonHostGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 8)).setObjects(*(("DSMON-MIB", "dsmonHostCtlAggProfile"), ("DSMON-MIB", "dsmonHostOutOctets"), ("DSMON-MIB", "dsmonHostInPkts"), ("DSMON-MIB", "dsmonHostCtlStatus"), ("DSMON-MIB", "dsmonHostCtlInserts"), ("DSMON-MIB", "dsmonHostOutPkts"), ("DSMON-MIB", "dsmonHostTopNCtlTimeRemaining"), ("DSMON-MIB", "dsmonHostTopNAggGroup"), ("DSMON-MIB", "dsmonHostCtlDataSource"), ("DSMON-MIB", "dsmonHostCtlMaxDesiredEntries"), ("DSMON-MIB", "dsmonHostCreateTime"), ("DSMON-MIB", "dsmonHostTopNCtlStartTime"), ("DSMON-MIB", "dsmonHostTopNCtlRateBase"), ("DSMON-MIB", "dsmonHostTopNCtlRequestedSize"), ("DSMON-MIB", "dsmonHostTopNAddress"), ("DSMON-MIB", "dsmonHostTopNCtlStatus"), ("DSMON-MIB", "dsmonHostTopNCtlDuration"), ("DSMON-MIB", "dsmonHostTopNCtlOwner"), ("DSMON-MIB", "dsmonHostTopNCtlGeneratedReports"), ("DSMON-MIB", "dsmonHostTopNPDLocalIndex"), ("DSMON-MIB", "dsmonHostInOctets"), ("DSMON-MIB", "dsmonHostTopNCtlGrantedSize"), ("DSMON-MIB", "dsmonHostCtlIPv6PrefixLen"), ("DSMON-MIB", "dsmonHostCtlDroppedFrames"), ("DSMON-MIB", "dsmonHostTopNCtlHostIndex"), ("DSMON-MIB", "dsmonHostTopNRate"), ("DSMON-MIB", "dsmonHostCtlIPv4PrefixLen"), ("DSMON-MIB", "dsmonHostCtlCreateTime"), ("DSMON-MIB", "dsmonHostCtlDeletes"), ("DSMON-MIB", "dsmonHostCtlOwner"), ) ) if mibBuilder.loadTexts: dsmonHostGroup.setDescription("A collection of objects providing per Host monitoring\n\n\n\nfunctions.") dsmonHostOvflGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 9)).setObjects(*(("DSMON-MIB", "dsmonHostOutOvflOctets"), ("DSMON-MIB", "dsmonHostTopNRateOvfl"), ("DSMON-MIB", "dsmonHostInOvflOctets"), ("DSMON-MIB", "dsmonHostOutOvflPkts"), ("DSMON-MIB", "dsmonHostInOvflPkts"), ) ) if mibBuilder.loadTexts: dsmonHostOvflGroup.setDescription("A collection of objects providing per host DSCP overflow\ncounters for systems with high capacity data sources, but\nwithout support for the Counter64 data type.") dsmonHostHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 10)).setObjects(*(("DSMON-MIB", "dsmonHostOutHCOctets"), ("DSMON-MIB", "dsmonHostOutHCPkts"), ("DSMON-MIB", "dsmonHostInHCOctets"), ("DSMON-MIB", "dsmonHostTopNHCRate"), ("DSMON-MIB", "dsmonHostInHCPkts"), ) ) if mibBuilder.loadTexts: dsmonHostHCGroup.setDescription("A collection of objects providing per Host monitoring\nfunctions for High Capacity networks.") dsmonCapsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 11)).setObjects(*(("DSMON-MIB", "dsmonCapabilities"), ) ) if mibBuilder.loadTexts: dsmonCapsGroup.setDescription("A collection of objects providing an indication of the\nDSMON monitoring functions supported by the agent.") dsmonMatrixGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 12)).setObjects(*(("DSMON-MIB", "dsmonMatrixCtlDeletes"), ("DSMON-MIB", "dsmonMatrixCtlCreateTime"), ("DSMON-MIB", "dsmonMatrixTopNCtlStatus"), ("DSMON-MIB", "dsmonMatrixTopNCtlRateBase"), ("DSMON-MIB", "dsmonMatrixTopNALIndex"), ("DSMON-MIB", "dsmonMatrixDSPkts"), ("DSMON-MIB", "dsmonMatrixTopNCtlDuration"), ("DSMON-MIB", "dsmonMatrixTopNCtlGrantedSize"), ("DSMON-MIB", "dsmonMatrixTopNAggGroup"), ("DSMON-MIB", "dsmonMatrixDSOctets"), ("DSMON-MIB", "dsmonMatrixTopNRevPktRate"), ("DSMON-MIB", "dsmonMatrixTopNCtlStartTime"), ("DSMON-MIB", "dsmonMatrixTopNRevOctetRate"), ("DSMON-MIB", "dsmonMatrixCtlDataSource"), ("DSMON-MIB", "dsmonMatrixSDOctets"), ("DSMON-MIB", "dsmonMatrixCtlAggProfile"), ("DSMON-MIB", "dsmonMatrixCtlDroppedFrames"), ("DSMON-MIB", "dsmonMatrixCtlStatus"), ("DSMON-MIB", "dsmonMatrixTopNPktRate"), ("DSMON-MIB", "dsmonMatrixTopNNLIndex"), ("DSMON-MIB", "dsmonMatrixTopNCtlRequestedSize"), ("DSMON-MIB", "dsmonMatrixTopNDestAddress"), ("DSMON-MIB", "dsmonMatrixCtlInserts"), ("DSMON-MIB", "dsmonMatrixCtlOwner"), ("DSMON-MIB", "dsmonMatrixTopNCtlGeneratedRpts"), ("DSMON-MIB", "dsmonMatrixTopNOctetRate"), ("DSMON-MIB", "dsmonMatrixTopNCtlTimeRemaining"), ("DSMON-MIB", "dsmonMatrixTopNCtlOwner"), ("DSMON-MIB", "dsmonMatrixSDPkts"), ("DSMON-MIB", "dsmonMatrixTopNSourceAddress"), ("DSMON-MIB", "dsmonMatrixDSCreateTime"), ("DSMON-MIB", "dsmonMatrixTopNCtlMatrixIndex"), ("DSMON-MIB", "dsmonMatrixSDCreateTime"), ("DSMON-MIB", "dsmonMatrixCtlMaxDesiredEntries"), ) ) if mibBuilder.loadTexts: dsmonMatrixGroup.setDescription("A collection of objects providing per conversation\nmonitoring functions.") dsmonMatrixOvflGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 13)).setObjects(*(("DSMON-MIB", "dsmonMatrixSDOvflPkts"), ("DSMON-MIB", "dsmonMatrixTopNPktRateOvfl"), ("DSMON-MIB", "dsmonMatrixDSOvflOctets"), ("DSMON-MIB", "dsmonMatrixSDOvflOctets"), ("DSMON-MIB", "dsmonMatrixTopNOctetRateOvfl"), ("DSMON-MIB", "dsmonMatrixDSOvflPkts"), ("DSMON-MIB", "dsmonMatrixTopNRevPktRateOvfl"), ("DSMON-MIB", "dsmonMatrixTopNRevOctetRateOvfl"), ) ) if mibBuilder.loadTexts: dsmonMatrixOvflGroup.setDescription("A collection of objects providing per conversation\nmonitoring functions for systems with high capacity data\nsources, but without support for the Counter64 data type.") dsmonMatrixHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 26, 3, 2, 14)).setObjects(*(("DSMON-MIB", "dsmonMatrixSDHCPkts"), ("DSMON-MIB", "dsmonMatrixTopNHCOctetRate"), ("DSMON-MIB", "dsmonMatrixDSHCPkts"), ("DSMON-MIB", "dsmonMatrixTopNHCRevOctetRate"), ("DSMON-MIB", "dsmonMatrixSDHCOctets"), ("DSMON-MIB", "dsmonMatrixDSHCOctets"), ("DSMON-MIB", "dsmonMatrixTopNHCPktRate"), ("DSMON-MIB", "dsmonMatrixTopNHCRevPktRate"), ) ) if mibBuilder.loadTexts: dsmonMatrixHCGroup.setDescription("A collection of objects providing per conversation\nmonitoring functions for High Capacity networks.") # Compliances dsmonCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 26, 3, 1, 1)).setObjects(*(("DSMON-MIB", "dsmonHostGroup"), ("DSMON-MIB", "dsmonStatsHCGroup"), ("DSMON-MIB", "dsmonHostHCGroup"), ("DSMON-MIB", "dsmonStatsGroup"), ("DSMON-MIB", "dsmonCounterAggControlGroup"), ("DSMON-MIB", "dsmonMatrixGroup"), ("DSMON-MIB", "dsmonPdistGroup"), ("DSMON-MIB", "dsmonPdistHCGroup"), ("DSMON-MIB", "dsmonCapsGroup"), ("DSMON-MIB", "dsmonMatrixHCGroup"), ) ) if mibBuilder.loadTexts: dsmonCompliance.setDescription("Describes the requirements for conformance to the\nDifferentiated Services Monitoring MIB.") dsmonHCCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 26, 3, 1, 2)).setObjects(*(("DSMON-MIB", "dsmonHostGroup"), ("DSMON-MIB", "dsmonStatsHCGroup"), ("DSMON-MIB", "dsmonHostHCGroup"), ("DSMON-MIB", "dsmonStatsGroup"), ("DSMON-MIB", "dsmonCounterAggControlGroup"), ("DSMON-MIB", "dsmonMatrixGroup"), ("DSMON-MIB", "dsmonPdistGroup"), ("DSMON-MIB", "dsmonPdistHCGroup"), ("DSMON-MIB", "dsmonCapsGroup"), ("DSMON-MIB", "dsmonMatrixHCGroup"), ) ) if mibBuilder.loadTexts: dsmonHCCompliance.setDescription("Describes the requirements for conformance to the\nDifferentiated Services Monitoring MIB for agents which also\nsupport High Capacity monitoring and the Counter64 data\ntype.") dsmonHCNoC64Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 26, 3, 1, 3)).setObjects(*(("DSMON-MIB", "dsmonHostGroup"), ("DSMON-MIB", "dsmonPdistGroup"), ("DSMON-MIB", "dsmonMatrixHCGroup"), ("DSMON-MIB", "dsmonStatsOvflGroup"), ("DSMON-MIB", "dsmonStatsHCGroup"), ("DSMON-MIB", "dsmonCounterAggControlGroup"), ("DSMON-MIB", "dsmonHostOvflGroup"), ("DSMON-MIB", "dsmonMatrixGroup"), ("DSMON-MIB", "dsmonHostHCGroup"), ("DSMON-MIB", "dsmonStatsGroup"), ("DSMON-MIB", "dsmonPdistHCGroup"), ("DSMON-MIB", "dsmonMatrixOvflGroup"), ("DSMON-MIB", "dsmonPdistOvflGroup"), ("DSMON-MIB", "dsmonCapsGroup"), ) ) if mibBuilder.loadTexts: dsmonHCNoC64Compliance.setDescription("Describes the requirements for conformance to the\nDifferentiated Services Monitoring MIB for an agent which\nsupports high capacity monitoring, but does not support the\nCounter64 data type (e.g., only supports the SNMPv1\nprotocol).") # Exports # Module identity mibBuilder.exportSymbols("DSMON-MIB", PYSNMP_MODULE_ID=dsmonMIB) # Types mibBuilder.exportSymbols("DSMON-MIB", DsmonCounterAggGroupIndex=DsmonCounterAggGroupIndex, DsmonCounterAggProfileIndex=DsmonCounterAggProfileIndex) # Objects mibBuilder.exportSymbols("DSMON-MIB", dsmonMIB=dsmonMIB, dsmonObjects=dsmonObjects, dsmonAggObjects=dsmonAggObjects, dsmonMaxAggGroups=dsmonMaxAggGroups, dsmonAggControlLocked=dsmonAggControlLocked, dsmonAggControlChanges=dsmonAggControlChanges, dsmonAggControlLastChangeTime=dsmonAggControlLastChangeTime, dsmonAggControlTable=dsmonAggControlTable, dsmonAggControlEntry=dsmonAggControlEntry, dsmonAggControlIndex=dsmonAggControlIndex, dsmonAggControlDescr=dsmonAggControlDescr, dsmonAggControlOwner=dsmonAggControlOwner, dsmonAggControlStatus=dsmonAggControlStatus, dsmonAggProfileTable=dsmonAggProfileTable, dsmonAggProfileEntry=dsmonAggProfileEntry, dsmonAggProfileDSCP=dsmonAggProfileDSCP, dsmonAggGroupIndex=dsmonAggGroupIndex, dsmonAggGroupTable=dsmonAggGroupTable, dsmonAggGroupEntry=dsmonAggGroupEntry, dsmonAggGroupDescr=dsmonAggGroupDescr, dsmonAggGroupStatus=dsmonAggGroupStatus, dsmonStatsObjects=dsmonStatsObjects, dsmonStatsControlTable=dsmonStatsControlTable, dsmonStatsControlEntry=dsmonStatsControlEntry, dsmonStatsControlIndex=dsmonStatsControlIndex, dsmonStatsControlDataSource=dsmonStatsControlDataSource, dsmonStatsControlAggProfile=dsmonStatsControlAggProfile, dsmonStatsControlDroppedFrames=dsmonStatsControlDroppedFrames, dsmonStatsControlCreateTime=dsmonStatsControlCreateTime, dsmonStatsControlOwner=dsmonStatsControlOwner, dsmonStatsControlStatus=dsmonStatsControlStatus, dsmonStatsTable=dsmonStatsTable, dsmonStatsEntry=dsmonStatsEntry, dsmonStatsInPkts=dsmonStatsInPkts, dsmonStatsInOctets=dsmonStatsInOctets, dsmonStatsInOvflPkts=dsmonStatsInOvflPkts, dsmonStatsInOvflOctets=dsmonStatsInOvflOctets, dsmonStatsInHCPkts=dsmonStatsInHCPkts, dsmonStatsInHCOctets=dsmonStatsInHCOctets, dsmonStatsOutPkts=dsmonStatsOutPkts, dsmonStatsOutOctets=dsmonStatsOutOctets, dsmonStatsOutOvflPkts=dsmonStatsOutOvflPkts, dsmonStatsOutOvflOctets=dsmonStatsOutOvflOctets, dsmonStatsOutHCPkts=dsmonStatsOutHCPkts, dsmonStatsOutHCOctets=dsmonStatsOutHCOctets, dsmonPdistObjects=dsmonPdistObjects, dsmonPdistCtlTable=dsmonPdistCtlTable, dsmonPdistCtlEntry=dsmonPdistCtlEntry, dsmonPdistCtlIndex=dsmonPdistCtlIndex, dsmonPdistCtlDataSource=dsmonPdistCtlDataSource, dsmonPdistCtlAggProfile=dsmonPdistCtlAggProfile, dsmonPdistCtlMaxDesiredEntries=dsmonPdistCtlMaxDesiredEntries, dsmonPdistCtlDroppedFrames=dsmonPdistCtlDroppedFrames, dsmonPdistCtlInserts=dsmonPdistCtlInserts, dsmonPdistCtlDeletes=dsmonPdistCtlDeletes, dsmonPdistCtlCreateTime=dsmonPdistCtlCreateTime, dsmonPdistCtlOwner=dsmonPdistCtlOwner, dsmonPdistCtlStatus=dsmonPdistCtlStatus, dsmonPdistStatsTable=dsmonPdistStatsTable, dsmonPdistStatsEntry=dsmonPdistStatsEntry, dsmonPdistTimeMark=dsmonPdistTimeMark, dsmonPdistStatsPkts=dsmonPdistStatsPkts, dsmonPdistStatsOctets=dsmonPdistStatsOctets, dsmonPdistStatsOvflPkts=dsmonPdistStatsOvflPkts, dsmonPdistStatsOvflOctets=dsmonPdistStatsOvflOctets, dsmonPdistStatsHCPkts=dsmonPdistStatsHCPkts, dsmonPdistStatsHCOctets=dsmonPdistStatsHCOctets, dsmonPdistStatsCreateTime=dsmonPdistStatsCreateTime, dsmonPdistTopNCtlTable=dsmonPdistTopNCtlTable, dsmonPdistTopNCtlEntry=dsmonPdistTopNCtlEntry, dsmonPdistTopNCtlIndex=dsmonPdistTopNCtlIndex, dsmonPdistTopNCtlPdistIndex=dsmonPdistTopNCtlPdistIndex, dsmonPdistTopNCtlRateBase=dsmonPdistTopNCtlRateBase, dsmonPdistTopNCtlTimeRemaining=dsmonPdistTopNCtlTimeRemaining, dsmonPdistTopNCtlGeneratedReprts=dsmonPdistTopNCtlGeneratedReprts, dsmonPdistTopNCtlDuration=dsmonPdistTopNCtlDuration, dsmonPdistTopNCtlRequestedSize=dsmonPdistTopNCtlRequestedSize, dsmonPdistTopNCtlGrantedSize=dsmonPdistTopNCtlGrantedSize, dsmonPdistTopNCtlStartTime=dsmonPdistTopNCtlStartTime, dsmonPdistTopNCtlOwner=dsmonPdistTopNCtlOwner, dsmonPdistTopNCtlStatus=dsmonPdistTopNCtlStatus, dsmonPdistTopNTable=dsmonPdistTopNTable, dsmonPdistTopNEntry=dsmonPdistTopNEntry, dsmonPdistTopNIndex=dsmonPdistTopNIndex, dsmonPdistTopNPDLocalIndex=dsmonPdistTopNPDLocalIndex, dsmonPdistTopNAggGroup=dsmonPdistTopNAggGroup, dsmonPdistTopNRate=dsmonPdistTopNRate, dsmonPdistTopNRateOvfl=dsmonPdistTopNRateOvfl, dsmonPdistTopNHCRate=dsmonPdistTopNHCRate, dsmonHostObjects=dsmonHostObjects, dsmonHostCtlTable=dsmonHostCtlTable, dsmonHostCtlEntry=dsmonHostCtlEntry, dsmonHostCtlIndex=dsmonHostCtlIndex, dsmonHostCtlDataSource=dsmonHostCtlDataSource, dsmonHostCtlAggProfile=dsmonHostCtlAggProfile, dsmonHostCtlMaxDesiredEntries=dsmonHostCtlMaxDesiredEntries, dsmonHostCtlIPv4PrefixLen=dsmonHostCtlIPv4PrefixLen, dsmonHostCtlIPv6PrefixLen=dsmonHostCtlIPv6PrefixLen, dsmonHostCtlDroppedFrames=dsmonHostCtlDroppedFrames, dsmonHostCtlInserts=dsmonHostCtlInserts, dsmonHostCtlDeletes=dsmonHostCtlDeletes, dsmonHostCtlCreateTime=dsmonHostCtlCreateTime, dsmonHostCtlOwner=dsmonHostCtlOwner, dsmonHostCtlStatus=dsmonHostCtlStatus, dsmonHostTable=dsmonHostTable, dsmonHostEntry=dsmonHostEntry, dsmonHostTimeMark=dsmonHostTimeMark, dsmonHostAddress=dsmonHostAddress, dsmonHostInPkts=dsmonHostInPkts, dsmonHostInOctets=dsmonHostInOctets, dsmonHostInOvflPkts=dsmonHostInOvflPkts, dsmonHostInOvflOctets=dsmonHostInOvflOctets, dsmonHostInHCPkts=dsmonHostInHCPkts, dsmonHostInHCOctets=dsmonHostInHCOctets, dsmonHostOutPkts=dsmonHostOutPkts, dsmonHostOutOctets=dsmonHostOutOctets, dsmonHostOutOvflPkts=dsmonHostOutOvflPkts, dsmonHostOutOvflOctets=dsmonHostOutOvflOctets, dsmonHostOutHCPkts=dsmonHostOutHCPkts, dsmonHostOutHCOctets=dsmonHostOutHCOctets, dsmonHostCreateTime=dsmonHostCreateTime, dsmonHostTopNCtlTable=dsmonHostTopNCtlTable, dsmonHostTopNCtlEntry=dsmonHostTopNCtlEntry, dsmonHostTopNCtlIndex=dsmonHostTopNCtlIndex, dsmonHostTopNCtlHostIndex=dsmonHostTopNCtlHostIndex, dsmonHostTopNCtlRateBase=dsmonHostTopNCtlRateBase) mibBuilder.exportSymbols("DSMON-MIB", dsmonHostTopNCtlTimeRemaining=dsmonHostTopNCtlTimeRemaining, dsmonHostTopNCtlGeneratedReports=dsmonHostTopNCtlGeneratedReports, dsmonHostTopNCtlDuration=dsmonHostTopNCtlDuration, dsmonHostTopNCtlRequestedSize=dsmonHostTopNCtlRequestedSize, dsmonHostTopNCtlGrantedSize=dsmonHostTopNCtlGrantedSize, dsmonHostTopNCtlStartTime=dsmonHostTopNCtlStartTime, dsmonHostTopNCtlOwner=dsmonHostTopNCtlOwner, dsmonHostTopNCtlStatus=dsmonHostTopNCtlStatus, dsmonHostTopNTable=dsmonHostTopNTable, dsmonHostTopNEntry=dsmonHostTopNEntry, dsmonHostTopNIndex=dsmonHostTopNIndex, dsmonHostTopNPDLocalIndex=dsmonHostTopNPDLocalIndex, dsmonHostTopNAddress=dsmonHostTopNAddress, dsmonHostTopNAggGroup=dsmonHostTopNAggGroup, dsmonHostTopNRate=dsmonHostTopNRate, dsmonHostTopNRateOvfl=dsmonHostTopNRateOvfl, dsmonHostTopNHCRate=dsmonHostTopNHCRate, dsmonCapsObjects=dsmonCapsObjects, dsmonCapabilities=dsmonCapabilities, dsmonMatrixObjects=dsmonMatrixObjects, dsmonMatrixCtlTable=dsmonMatrixCtlTable, dsmonMatrixCtlEntry=dsmonMatrixCtlEntry, dsmonMatrixCtlIndex=dsmonMatrixCtlIndex, dsmonMatrixCtlDataSource=dsmonMatrixCtlDataSource, dsmonMatrixCtlAggProfile=dsmonMatrixCtlAggProfile, dsmonMatrixCtlMaxDesiredEntries=dsmonMatrixCtlMaxDesiredEntries, dsmonMatrixCtlDroppedFrames=dsmonMatrixCtlDroppedFrames, dsmonMatrixCtlInserts=dsmonMatrixCtlInserts, dsmonMatrixCtlDeletes=dsmonMatrixCtlDeletes, dsmonMatrixCtlCreateTime=dsmonMatrixCtlCreateTime, dsmonMatrixCtlOwner=dsmonMatrixCtlOwner, dsmonMatrixCtlStatus=dsmonMatrixCtlStatus, dsmonMatrixSDTable=dsmonMatrixSDTable, dsmonMatrixSDEntry=dsmonMatrixSDEntry, dsmonMatrixTimeMark=dsmonMatrixTimeMark, dsmonMatrixNLIndex=dsmonMatrixNLIndex, dsmonMatrixSourceAddress=dsmonMatrixSourceAddress, dsmonMatrixDestAddress=dsmonMatrixDestAddress, dsmonMatrixALIndex=dsmonMatrixALIndex, dsmonMatrixSDPkts=dsmonMatrixSDPkts, dsmonMatrixSDOvflPkts=dsmonMatrixSDOvflPkts, dsmonMatrixSDHCPkts=dsmonMatrixSDHCPkts, dsmonMatrixSDOctets=dsmonMatrixSDOctets, dsmonMatrixSDOvflOctets=dsmonMatrixSDOvflOctets, dsmonMatrixSDHCOctets=dsmonMatrixSDHCOctets, dsmonMatrixSDCreateTime=dsmonMatrixSDCreateTime, dsmonMatrixDSTable=dsmonMatrixDSTable, dsmonMatrixDSEntry=dsmonMatrixDSEntry, dsmonMatrixDSPkts=dsmonMatrixDSPkts, dsmonMatrixDSOvflPkts=dsmonMatrixDSOvflPkts, dsmonMatrixDSHCPkts=dsmonMatrixDSHCPkts, dsmonMatrixDSOctets=dsmonMatrixDSOctets, dsmonMatrixDSOvflOctets=dsmonMatrixDSOvflOctets, dsmonMatrixDSHCOctets=dsmonMatrixDSHCOctets, dsmonMatrixDSCreateTime=dsmonMatrixDSCreateTime, dsmonMatrixTopNCtlTable=dsmonMatrixTopNCtlTable, dsmonMatrixTopNCtlEntry=dsmonMatrixTopNCtlEntry, dsmonMatrixTopNCtlIndex=dsmonMatrixTopNCtlIndex, dsmonMatrixTopNCtlMatrixIndex=dsmonMatrixTopNCtlMatrixIndex, dsmonMatrixTopNCtlRateBase=dsmonMatrixTopNCtlRateBase, dsmonMatrixTopNCtlTimeRemaining=dsmonMatrixTopNCtlTimeRemaining, dsmonMatrixTopNCtlGeneratedRpts=dsmonMatrixTopNCtlGeneratedRpts, dsmonMatrixTopNCtlDuration=dsmonMatrixTopNCtlDuration, dsmonMatrixTopNCtlRequestedSize=dsmonMatrixTopNCtlRequestedSize, dsmonMatrixTopNCtlGrantedSize=dsmonMatrixTopNCtlGrantedSize, dsmonMatrixTopNCtlStartTime=dsmonMatrixTopNCtlStartTime, dsmonMatrixTopNCtlOwner=dsmonMatrixTopNCtlOwner, dsmonMatrixTopNCtlStatus=dsmonMatrixTopNCtlStatus, dsmonMatrixTopNTable=dsmonMatrixTopNTable, dsmonMatrixTopNEntry=dsmonMatrixTopNEntry, dsmonMatrixTopNIndex=dsmonMatrixTopNIndex, dsmonMatrixTopNAggGroup=dsmonMatrixTopNAggGroup, dsmonMatrixTopNNLIndex=dsmonMatrixTopNNLIndex, dsmonMatrixTopNSourceAddress=dsmonMatrixTopNSourceAddress, dsmonMatrixTopNDestAddress=dsmonMatrixTopNDestAddress, dsmonMatrixTopNALIndex=dsmonMatrixTopNALIndex, dsmonMatrixTopNPktRate=dsmonMatrixTopNPktRate, dsmonMatrixTopNPktRateOvfl=dsmonMatrixTopNPktRateOvfl, dsmonMatrixTopNHCPktRate=dsmonMatrixTopNHCPktRate, dsmonMatrixTopNRevPktRate=dsmonMatrixTopNRevPktRate, dsmonMatrixTopNRevPktRateOvfl=dsmonMatrixTopNRevPktRateOvfl, dsmonMatrixTopNHCRevPktRate=dsmonMatrixTopNHCRevPktRate, dsmonMatrixTopNOctetRate=dsmonMatrixTopNOctetRate, dsmonMatrixTopNOctetRateOvfl=dsmonMatrixTopNOctetRateOvfl, dsmonMatrixTopNHCOctetRate=dsmonMatrixTopNHCOctetRate, dsmonMatrixTopNRevOctetRate=dsmonMatrixTopNRevOctetRate, dsmonMatrixTopNRevOctetRateOvfl=dsmonMatrixTopNRevOctetRateOvfl, dsmonMatrixTopNHCRevOctetRate=dsmonMatrixTopNHCRevOctetRate, dsmonNotifications=dsmonNotifications, dsmonConformance=dsmonConformance, dsmonCompliances=dsmonCompliances, dsmonGroups=dsmonGroups) # Groups mibBuilder.exportSymbols("DSMON-MIB", dsmonCounterAggControlGroup=dsmonCounterAggControlGroup, dsmonStatsGroup=dsmonStatsGroup, dsmonStatsOvflGroup=dsmonStatsOvflGroup, dsmonStatsHCGroup=dsmonStatsHCGroup, dsmonPdistGroup=dsmonPdistGroup, dsmonPdistOvflGroup=dsmonPdistOvflGroup, dsmonPdistHCGroup=dsmonPdistHCGroup, dsmonHostGroup=dsmonHostGroup, dsmonHostOvflGroup=dsmonHostOvflGroup, dsmonHostHCGroup=dsmonHostHCGroup, dsmonCapsGroup=dsmonCapsGroup, dsmonMatrixGroup=dsmonMatrixGroup, dsmonMatrixOvflGroup=dsmonMatrixOvflGroup, dsmonMatrixHCGroup=dsmonMatrixHCGroup) # Compliances mibBuilder.exportSymbols("DSMON-MIB", dsmonCompliance=dsmonCompliance, dsmonHCCompliance=dsmonHCCompliance, dsmonHCNoC64Compliance=dsmonHCNoC64Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-MALLOC-MIB.py0000644000014400001440000000522311736645136021114 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-MALLOC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:06 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANAmallocRangeSource(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,3,) namedValues = NamedValues(("other", 1), ("manual", 2), ("local", 3), ) class IANAscopeSource(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,1,4,3,2,) namedValues = NamedValues(("other", 1), ("manual", 2), ("local", 3), ("mzap", 4), ("madcap", 5), ) # Objects ianaMallocMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 102)).setRevisions(("2003-01-27 12:00",)) if mibBuilder.loadTexts: ianaMallocMIB.setOrganization("IANA") if mibBuilder.loadTexts: ianaMallocMIB.setContactInfo(" Internet Assigned Numbers Authority\nInternet Corporation for Assigned Names and Numbers\n4676 Admiralty Way, Suite 330\nMarina del Rey, CA 90292-6601\n\nPhone: +1 310 823 9358\nEMail: iana&iana.org") if mibBuilder.loadTexts: ianaMallocMIB.setDescription("This MIB module defines the IANAscopeSource and\nIANAmallocRangeSource textual conventions for use in MIBs\nwhich need to identify ways of learning multicast scope and\nrange information.\n\nAny additions or changes to the contents of this MIB module\nrequire either publication of an RFC, or Designated Expert\nReview as defined in the Guidelines for Writing IANA\nConsiderations Section document. The Designated Expert will\nbe selected by the IESG Area Director(s) of the Transport\nArea.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-MALLOC-MIB", PYSNMP_MODULE_ID=ianaMallocMIB) # Types mibBuilder.exportSymbols("IANA-MALLOC-MIB", IANAmallocRangeSource=IANAmallocRangeSource, IANAscopeSource=IANAscopeSource) # Objects mibBuilder.exportSymbols("IANA-MALLOC-MIB", ianaMallocMIB=ianaMallocMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/NOTIFICATION-LOG-MIB.py0000644000014400001440000006372211736645137021755 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NOTIFICATION-LOG-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:24 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, SnmpEngineID, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString", "SnmpEngineID") ( ModuleCompliance, ObjectGroup, NotificationGroup) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Opaque, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Opaque", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, RowStatus, StorageType, TAddress, TDomain, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "StorageType", "TAddress", "TDomain", "TimeStamp") # Objects notificationLogMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 92)).setRevisions(("2000-11-27 00:00",)) if mibBuilder.loadTexts: notificationLogMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: notificationLogMIB.setContactInfo("Ramanathan Kavasseri\nCisco Systems, Inc.\n170 West Tasman Drive,\nSan Jose CA 95134-1706.\nPhone: +1 408 527 2446\nEmail: ramk@cisco.com") if mibBuilder.loadTexts: notificationLogMIB.setDescription("The MIB module for logging SNMP Notifications, that is, Traps\n\n\nand Informs.") notificationLogMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 92, 1)) nlmConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 92, 1, 1)) nlmConfigGlobalEntryLimit = MibScalar((1, 3, 6, 1, 2, 1, 92, 1, 1, 1), Unsigned32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nlmConfigGlobalEntryLimit.setDescription("The maximum number of notification entries that may be held\nin nlmLogTable for all nlmLogNames added together. A particular\nsetting does not guarantee that much data can be held.\n\nIf an application changes the limit while there are\nNotifications in the log, the oldest Notifications MUST be\ndiscarded to bring the log down to the new limit - thus the\nvalue of nlmConfigGlobalEntryLimit MUST take precedence over\nthe values of nlmConfigGlobalAgeOut and nlmConfigLogEntryLimit,\neven if the Notification being discarded has been present for\nfewer minutes than the value of nlmConfigGlobalAgeOut, or if\nthe named log has fewer entries than that specified in\nnlmConfigLogEntryLimit.\n\nA value of 0 means no limit.\n\nPlease be aware that contention between multiple managers\ntrying to set this object to different values MAY affect the\nreliability and completeness of data seen by each manager.") nlmConfigGlobalAgeOut = MibScalar((1, 3, 6, 1, 2, 1, 92, 1, 1, 2), Unsigned32().clone(1440)).setMaxAccess("readwrite").setUnits("minutes") if mibBuilder.loadTexts: nlmConfigGlobalAgeOut.setDescription("The number of minutes a Notification SHOULD be kept in a log\nbefore it is automatically removed.\n\nIf an application changes the value of nlmConfigGlobalAgeOut,\nNotifications older than the new time MAY be discarded to meet the\nnew time.\n\nA value of 0 means no age out.\n\nPlease be aware that contention between multiple managers\ntrying to set this object to different values MAY affect the\nreliability and completeness of data seen by each manager.") nlmConfigLogTable = MibTable((1, 3, 6, 1, 2, 1, 92, 1, 1, 3)) if mibBuilder.loadTexts: nlmConfigLogTable.setDescription("A table of logging control entries.") nlmConfigLogEntry = MibTableRow((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1)).setIndexNames((0, "NOTIFICATION-LOG-MIB", "nlmLogName")) if mibBuilder.loadTexts: nlmConfigLogEntry.setDescription("A logging control entry. Depending on the entry's storage type\nentries may be supplied by the system or created and deleted by\napplications using nlmConfigLogEntryStatus.") nlmLogName = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlmLogName.setDescription("The name of the log.\n\nAn implementation may allow multiple named logs, up to some\nimplementation-specific limit (which may be none). A\nzero-length log name is reserved for creation and deletion by\nthe managed system, and MUST be used as the default log name by\nsystems that do not support named logs.") nlmConfigLogFilterName = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlmConfigLogFilterName.setDescription("A value of snmpNotifyFilterProfileName as used as an index\ninto the snmpNotifyFilterTable in the SNMP Notification MIB,\nspecifying the locally or remotely originated Notifications\nto be filtered out and not logged in this log.\n\nA zero-length value or a name that does not identify an\nexisting entry in snmpNotifyFilterTable indicate no\nNotifications are to be logged in this log.") nlmConfigLogEntryLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1, 3), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlmConfigLogEntryLimit.setDescription("The maximum number of notification entries that can be held in\nnlmLogTable for this named log. A particular setting does not\nguarantee that that much data can be held.\n\nIf an application changes the limit while there are\nNotifications in the log, the oldest Notifications are discarded\nto bring the log down to the new limit.\n\n\n\nA value of 0 indicates no limit.\n\nPlease be aware that contention between multiple managers\ntrying to set this object to different values MAY affect the\nreliability and completeness of data seen by each manager.") nlmConfigLogAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlmConfigLogAdminStatus.setDescription("Control to enable or disable the log without otherwise\ndisturbing the log's entry.\n\nPlease be aware that contention between multiple managers\ntrying to set this object to different values MAY affect the\nreliability and completeness of data seen by each manager.") nlmConfigLogOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("disabled", 1), ("operational", 2), ("noFilter", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmConfigLogOperStatus.setDescription("The operational status of this log:\n\ndisabled administratively disabled\n\noperational administratively enabled and working\n\nnoFilter administratively enabled but either\n nlmConfigLogFilterName is zero length\n or does not name an existing entry in\n snmpNotifyFilterTable") nlmConfigLogStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1, 6), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlmConfigLogStorageType.setDescription("The storage type of this conceptual row.") nlmConfigLogEntryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 1, 3, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nlmConfigLogEntryStatus.setDescription("Control for creating and deleting entries. Entries may be\nmodified while active.\n\nFor non-null-named logs, the managed system records the security\ncredentials from the request that sets nlmConfigLogStatus\nto 'active' and uses that identity to apply access control to\nthe objects in the Notification to decide if that Notification\nmay be logged.") nlmStats = MibIdentifier((1, 3, 6, 1, 2, 1, 92, 1, 2)) nlmStatsGlobalNotificationsLogged = MibScalar((1, 3, 6, 1, 2, 1, 92, 1, 2, 1), Counter32()).setMaxAccess("readonly").setUnits("notifications") if mibBuilder.loadTexts: nlmStatsGlobalNotificationsLogged.setDescription("The number of Notifications put into the nlmLogTable. This\ncounts a Notification once for each log entry, so a Notification\n put into multiple logs is counted multiple times.") nlmStatsGlobalNotificationsBumped = MibScalar((1, 3, 6, 1, 2, 1, 92, 1, 2, 2), Counter32()).setMaxAccess("readonly").setUnits("notifications") if mibBuilder.loadTexts: nlmStatsGlobalNotificationsBumped.setDescription("The number of log entries discarded to make room for a new entry\ndue to lack of resources or the value of nlmConfigGlobalEntryLimit\nor nlmConfigLogEntryLimit. This does not include entries discarded\ndue to the value of nlmConfigGlobalAgeOut.") nlmStatsLogTable = MibTable((1, 3, 6, 1, 2, 1, 92, 1, 2, 3)) if mibBuilder.loadTexts: nlmStatsLogTable.setDescription("A table of Notification log statistics entries.") nlmStatsLogEntry = MibTableRow((1, 3, 6, 1, 2, 1, 92, 1, 2, 3, 1)) if mibBuilder.loadTexts: nlmStatsLogEntry.setDescription("A Notification log statistics entry.") nlmStatsLogNotificationsLogged = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 2, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmStatsLogNotificationsLogged.setDescription("The number of Notifications put in this named log.") nlmStatsLogNotificationsBumped = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 2, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmStatsLogNotificationsBumped.setDescription("The number of log entries discarded from this named log to make\nroom for a new entry due to lack of resources or the value of\nnlmConfigGlobalEntryLimit or nlmConfigLogEntryLimit. This does not\ninclude entries discarded due to the value of\nnlmConfigGlobalAgeOut.") nlmLog = MibIdentifier((1, 3, 6, 1, 2, 1, 92, 1, 3)) nlmLogTable = MibTable((1, 3, 6, 1, 2, 1, 92, 1, 3, 1)) if mibBuilder.loadTexts: nlmLogTable.setDescription("A table of Notification log entries.\n\nIt is an implementation-specific matter whether entries in this\ntable are preserved across initializations of the management\nsystem. In general one would expect that they are not.\n\nNote that keeping entries across initializations of the\nmanagement system leads to some confusion with counters and\nTimeStamps, since both of those are based on sysUpTime, which\nresets on management initialization. In this situation,\ncounters apply only after the reset and nlmLogTime for entries\nmade before the reset MUST be set to 0.") nlmLogEntry = MibTableRow((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1)).setIndexNames((0, "NOTIFICATION-LOG-MIB", "nlmLogName"), (0, "NOTIFICATION-LOG-MIB", "nlmLogIndex")) if mibBuilder.loadTexts: nlmLogEntry.setDescription("A Notification log entry.\n\nEntries appear in this table when Notifications occur and pass\nfiltering by nlmConfigLogFilterName and access control. They are\nremoved to make way for new entries due to lack of resources or\nthe values of nlmConfigGlobalEntryLimit, nlmConfigGlobalAgeOut, or\nnlmConfigLogEntryLimit.\n\nIf adding an entry would exceed nlmConfigGlobalEntryLimit or system\nresources in general, the oldest entry in any log SHOULD be removed\nto make room for the new one.\n\nIf adding an entry would exceed nlmConfigLogEntryLimit the oldest\nentry in that log SHOULD be removed to make room for the new one.\n\nBefore the managed system puts a locally-generated Notification\ninto a non-null-named log it assures that the creator of the log\nhas access to the information in the Notification. If not it\ndoes not log that Notification in that log.") nlmLogIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlmLogIndex.setDescription("A monotonically increasing integer for the sole purpose of\nindexing entries within the named log. When it reaches the\nmaximum value, an extremely unlikely event, the agent wraps the\nvalue back to 1.") nlmLogTime = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogTime.setDescription("The value of sysUpTime when the entry was placed in the log. If\nthe entry occurred before the most recent management system\ninitialization this object value MUST be set to zero.") nlmLogDateAndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogDateAndTime.setDescription("The local date and time when the entry was logged, instantiated\nonly by systems that have date and time capability.") nlmLogEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 4), SnmpEngineID()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogEngineID.setDescription("The identification of the SNMP engine at which the Notification\n\n\noriginated.\n\nIf the log can contain Notifications from only one engine\nor the Trap is in SNMPv1 format, this object is a zero-length\nstring.") nlmLogEngineTAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 5), TAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogEngineTAddress.setDescription("The transport service address of the SNMP engine from which the\nNotification was received, formatted according to the corresponding\nvalue of nlmLogEngineTDomain. This is used to identify the source\nof an SNMPv1 trap, since an nlmLogEngineId cannot be extracted\nfrom the SNMPv1 trap pdu.\n\nThis object MUST always be instantiated, even if the log\ncan contain Notifications from only one engine.\n\nPlease be aware that the nlmLogEngineTAddress may not uniquely\nidentify the SNMP engine from which the Notification was received.\nFor example, if an SNMP engine uses DHCP or NAT to obtain\nip addresses, the address it uses may be shared with other\nnetwork devices, and hence will not uniquely identify the\nSNMP engine.") nlmLogEngineTDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 6), TDomain()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogEngineTDomain.setDescription("Indicates the kind of transport service by which a Notification\nwas received from an SNMP engine. nlmLogEngineTAddress contains\nthe transport service address of the SNMP engine from which\nthis Notification was received.\n\nPossible values for this object are presently found in the\nTransport Mappings for SNMPv2 document (RFC 1906 [8]).") nlmLogContextEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 7), SnmpEngineID()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogContextEngineID.setDescription("If the Notification was received in a protocol which has a\ncontextEngineID element like SNMPv3, this object has that value.\nOtherwise its value is a zero-length string.") nlmLogContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogContextName.setDescription("The name of the SNMP MIB context from which the Notification came.\nFor SNMPv1 Traps this is the community string from the Trap.") nlmLogNotificationID = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 1, 1, 9), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogNotificationID.setDescription("The NOTIFICATION-TYPE object identifier of the Notification that\noccurred.") nlmLogVariableTable = MibTable((1, 3, 6, 1, 2, 1, 92, 1, 3, 2)) if mibBuilder.loadTexts: nlmLogVariableTable.setDescription("A table of variables to go with Notification log entries.") nlmLogVariableEntry = MibTableRow((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1)).setIndexNames((0, "NOTIFICATION-LOG-MIB", "nlmLogName"), (0, "NOTIFICATION-LOG-MIB", "nlmLogIndex"), (0, "NOTIFICATION-LOG-MIB", "nlmLogVariableIndex")) if mibBuilder.loadTexts: nlmLogVariableEntry.setDescription("A Notification log entry variable.\n\nEntries appear in this table when there are variables in\nthe varbind list of a Notification in nlmLogTable.") nlmLogVariableIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nlmLogVariableIndex.setDescription("A monotonically increasing integer, starting at 1 for a given\nnlmLogIndex, for indexing variables within the logged\nNotification.") nlmLogVariableID = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableID.setDescription("The variable's object identifier.") nlmLogVariableValueType = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,7,5,3,8,2,9,1,)).subtype(namedValues=NamedValues(("counter32", 1), ("unsigned32", 2), ("timeTicks", 3), ("integer32", 4), ("ipAddress", 5), ("octetString", 6), ("objectId", 7), ("counter64", 8), ("opaque", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableValueType.setDescription("The type of the value. One and only one of the value\nobjects that follow must be instantiated, based on this type.") nlmLogVariableCounter32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableCounter32Val.setDescription("The value when nlmLogVariableType is 'counter32'.") nlmLogVariableUnsigned32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableUnsigned32Val.setDescription("The value when nlmLogVariableType is 'unsigned32'.") nlmLogVariableTimeTicksVal = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableTimeTicksVal.setDescription("The value when nlmLogVariableType is 'timeTicks'.") nlmLogVariableInteger32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableInteger32Val.setDescription("The value when nlmLogVariableType is 'integer32'.") nlmLogVariableOctetStringVal = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 8), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableOctetStringVal.setDescription("The value when nlmLogVariableType is 'octetString'.") nlmLogVariableIpAddressVal = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 9), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableIpAddressVal.setDescription("The value when nlmLogVariableType is 'ipAddress'.\nAlthough this seems to be unfriendly for IPv6, we\nhave to recognize that there are a number of older\nMIBs that do contain an IPv4 format address, known\nas IpAddress.\n\nIPv6 addresses are represented using TAddress or\nInetAddress, and so the underlying datatype is\n\n\nOCTET STRING, and their value would be stored in\nthe nlmLogVariableOctetStringVal column.") nlmLogVariableOidVal = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 10), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableOidVal.setDescription("The value when nlmLogVariableType is 'objectId'.") nlmLogVariableCounter64Val = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableCounter64Val.setDescription("The value when nlmLogVariableType is 'counter64'.") nlmLogVariableOpaqueVal = MibTableColumn((1, 3, 6, 1, 2, 1, 92, 1, 3, 2, 1, 12), Opaque()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlmLogVariableOpaqueVal.setDescription("The value when nlmLogVariableType is 'opaque'.") notificationLogMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 92, 3)) notificationLogMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 92, 3, 1)) notificationLogMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 92, 3, 2)) # Augmentions nlmConfigLogEntry.registerAugmentions(("NOTIFICATION-LOG-MIB", "nlmStatsLogEntry")) nlmStatsLogEntry.setIndexNames(*nlmConfigLogEntry.getIndexNames()) # Groups notificationLogConfigGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 92, 3, 2, 1)).setObjects(*(("NOTIFICATION-LOG-MIB", "nlmConfigGlobalEntryLimit"), ("NOTIFICATION-LOG-MIB", "nlmConfigLogFilterName"), ("NOTIFICATION-LOG-MIB", "nlmConfigLogStorageType"), ("NOTIFICATION-LOG-MIB", "nlmConfigLogEntryStatus"), ("NOTIFICATION-LOG-MIB", "nlmConfigGlobalAgeOut"), ("NOTIFICATION-LOG-MIB", "nlmConfigLogAdminStatus"), ("NOTIFICATION-LOG-MIB", "nlmConfigLogOperStatus"), ("NOTIFICATION-LOG-MIB", "nlmConfigLogEntryLimit"), ) ) if mibBuilder.loadTexts: notificationLogConfigGroup.setDescription("Notification log configuration management.") notificationLogStatsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 92, 3, 2, 2)).setObjects(*(("NOTIFICATION-LOG-MIB", "nlmStatsGlobalNotificationsLogged"), ("NOTIFICATION-LOG-MIB", "nlmStatsLogNotificationsLogged"), ("NOTIFICATION-LOG-MIB", "nlmStatsGlobalNotificationsBumped"), ("NOTIFICATION-LOG-MIB", "nlmStatsLogNotificationsBumped"), ) ) if mibBuilder.loadTexts: notificationLogStatsGroup.setDescription("Notification log statistics.") notificationLogLogGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 92, 3, 2, 3)).setObjects(*(("NOTIFICATION-LOG-MIB", "nlmLogEngineID"), ("NOTIFICATION-LOG-MIB", "nlmLogContextName"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableCounter32Val"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableOctetStringVal"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableIpAddressVal"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableInteger32Val"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableOpaqueVal"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableUnsigned32Val"), ("NOTIFICATION-LOG-MIB", "nlmLogContextEngineID"), ("NOTIFICATION-LOG-MIB", "nlmLogNotificationID"), ("NOTIFICATION-LOG-MIB", "nlmLogEngineTDomain"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableCounter64Val"), ("NOTIFICATION-LOG-MIB", "nlmLogEngineTAddress"), ("NOTIFICATION-LOG-MIB", "nlmLogTime"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableID"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableValueType"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableOidVal"), ("NOTIFICATION-LOG-MIB", "nlmLogVariableTimeTicksVal"), ) ) if mibBuilder.loadTexts: notificationLogLogGroup.setDescription("Notification log data.") notificationLogDateGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 92, 3, 2, 4)).setObjects(*(("NOTIFICATION-LOG-MIB", "nlmLogDateAndTime"), ) ) if mibBuilder.loadTexts: notificationLogDateGroup.setDescription("Conditionally mandatory notification log data.\nThis group is mandatory on systems that keep wall\nclock date and time and should not be implemented\non systems that do not have a wall clock date.") # Compliances notificationLogMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 92, 3, 1, 1)).setObjects(*(("NOTIFICATION-LOG-MIB", "notificationLogDateGroup"), ("NOTIFICATION-LOG-MIB", "notificationLogStatsGroup"), ("NOTIFICATION-LOG-MIB", "notificationLogConfigGroup"), ("NOTIFICATION-LOG-MIB", "notificationLogLogGroup"), ) ) if mibBuilder.loadTexts: notificationLogMIBCompliance.setDescription("The compliance statement for entities which implement\nthe Notification Log MIB.") # Exports # Module identity mibBuilder.exportSymbols("NOTIFICATION-LOG-MIB", PYSNMP_MODULE_ID=notificationLogMIB) # Objects mibBuilder.exportSymbols("NOTIFICATION-LOG-MIB", notificationLogMIB=notificationLogMIB, notificationLogMIBObjects=notificationLogMIBObjects, nlmConfig=nlmConfig, nlmConfigGlobalEntryLimit=nlmConfigGlobalEntryLimit, nlmConfigGlobalAgeOut=nlmConfigGlobalAgeOut, nlmConfigLogTable=nlmConfigLogTable, nlmConfigLogEntry=nlmConfigLogEntry, nlmLogName=nlmLogName, nlmConfigLogFilterName=nlmConfigLogFilterName, nlmConfigLogEntryLimit=nlmConfigLogEntryLimit, nlmConfigLogAdminStatus=nlmConfigLogAdminStatus, nlmConfigLogOperStatus=nlmConfigLogOperStatus, nlmConfigLogStorageType=nlmConfigLogStorageType, nlmConfigLogEntryStatus=nlmConfigLogEntryStatus, nlmStats=nlmStats, nlmStatsGlobalNotificationsLogged=nlmStatsGlobalNotificationsLogged, nlmStatsGlobalNotificationsBumped=nlmStatsGlobalNotificationsBumped, nlmStatsLogTable=nlmStatsLogTable, nlmStatsLogEntry=nlmStatsLogEntry, nlmStatsLogNotificationsLogged=nlmStatsLogNotificationsLogged, nlmStatsLogNotificationsBumped=nlmStatsLogNotificationsBumped, nlmLog=nlmLog, nlmLogTable=nlmLogTable, nlmLogEntry=nlmLogEntry, nlmLogIndex=nlmLogIndex, nlmLogTime=nlmLogTime, nlmLogDateAndTime=nlmLogDateAndTime, nlmLogEngineID=nlmLogEngineID, nlmLogEngineTAddress=nlmLogEngineTAddress, nlmLogEngineTDomain=nlmLogEngineTDomain, nlmLogContextEngineID=nlmLogContextEngineID, nlmLogContextName=nlmLogContextName, nlmLogNotificationID=nlmLogNotificationID, nlmLogVariableTable=nlmLogVariableTable, nlmLogVariableEntry=nlmLogVariableEntry, nlmLogVariableIndex=nlmLogVariableIndex, nlmLogVariableID=nlmLogVariableID, nlmLogVariableValueType=nlmLogVariableValueType, nlmLogVariableCounter32Val=nlmLogVariableCounter32Val, nlmLogVariableUnsigned32Val=nlmLogVariableUnsigned32Val, nlmLogVariableTimeTicksVal=nlmLogVariableTimeTicksVal, nlmLogVariableInteger32Val=nlmLogVariableInteger32Val, nlmLogVariableOctetStringVal=nlmLogVariableOctetStringVal, nlmLogVariableIpAddressVal=nlmLogVariableIpAddressVal, nlmLogVariableOidVal=nlmLogVariableOidVal, nlmLogVariableCounter64Val=nlmLogVariableCounter64Val, nlmLogVariableOpaqueVal=nlmLogVariableOpaqueVal, notificationLogMIBConformance=notificationLogMIBConformance, notificationLogMIBCompliances=notificationLogMIBCompliances, notificationLogMIBGroups=notificationLogMIBGroups) # Groups mibBuilder.exportSymbols("NOTIFICATION-LOG-MIB", notificationLogConfigGroup=notificationLogConfigGroup, notificationLogStatsGroup=notificationLogStatsGroup, notificationLogLogGroup=notificationLogLogGroup, notificationLogDateGroup=notificationLogDateGroup) # Compliances mibBuilder.exportSymbols("NOTIFICATION-LOG-MIB", notificationLogMIBCompliance=notificationLogMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/NET-SNMP-EXTEND-MIB.py0000644000014400001440000002505211736645137021630 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NET-SNMP-EXTEND-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:23 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( nsExtensions, ) = mibBuilder.importSymbols("NET-SNMP-AGENT-MIB", "nsExtensions") ( NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( DisplayString, RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "StorageType") # Objects netSnmpExtendMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 8072, 1, 3, 1)).setRevisions(("2010-03-17 00:00","2004-05-08 00:00",)) if mibBuilder.loadTexts: netSnmpExtendMIB.setOrganization("www.net-snmp.org") if mibBuilder.loadTexts: netSnmpExtendMIB.setContactInfo("postal: Wes Hardaker\nP.O. Box 382\nDavis CA 95617\n\nemail: net-snmp-coders@lists.sourceforge.net") if mibBuilder.loadTexts: netSnmpExtendMIB.setDescription("Defines a framework for scripted extensions for the Net-SNMP agent.") nsExtendObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2)) nsExtendNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsExtendNumEntries.setDescription("The number of rows in the nsExtendConfigTable") nsExtendConfigTable = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2)) if mibBuilder.loadTexts: nsExtendConfigTable.setDescription("A table of scripted extensions - configuration and (basic) output.") nsExtendConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1)).setIndexNames((0, "NET-SNMP-EXTEND-MIB", "nsExtendToken")) if mibBuilder.loadTexts: nsExtendConfigEntry.setDescription("A conceptual row within the extension table.") nsExtendToken = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 1), DisplayString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsExtendToken.setDescription("An arbitrary token to identify this extension entry") nsExtendCommand = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 2), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendCommand.setDescription("The full path of the command binary (or script) to run") nsExtendArgs = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 3), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendArgs.setDescription("Any command-line arguments for the command") nsExtendInput = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 4), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendInput.setDescription("The standard input for the command") nsExtendCacheTime = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 5), Integer32().clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendCacheTime.setDescription("The length of time for which the output of\nthis command will be cached. During this time,\nretrieving the output-related values will not\nreinvoke the command.\nA value of -1 indicates that the output results\nshould not be cached at all, and retrieving each\nindividual output-related value will invoke the\ncommand afresh.") nsExtendExecType = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("exec", 1), ("shell", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendExecType.setDescription("The mechanism used to invoke the command.") nsExtendRunType = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("run-on-read", 1), ("run-on-set", 2), ("run-command", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendRunType.setDescription("Used to implement 'push-button' command invocation.\nThe command for a 'run-on-read' entry will be invoked\nwhenever one of the corresponding output-related\ninstances is requested (and assuming the cached value\nis not still current).\nThe command for a 'run-on-set' entry will only be invoked\non receipt of a SET assignment for this object with the\nvalue 'run-command'.\nReading an instance of this object will always return either\n'run-on-read' or 'run-on-set'.") nsExtendStorage = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 20), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendStorage.setDescription("The storage type for this conceptual row.") nsExtendStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 2, 1, 21), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nsExtendStatus.setDescription("Used to create new rows in the table, in the standard manner.\nNote that is valid for an instance to be left with the value\nnotInService(2) indefinitely - i.e. the meaning of 'abnormally\nlong' (see RFC 2579, RowStatus) for this table is infinite.") nsExtendOutput1Table = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 3)) if mibBuilder.loadTexts: nsExtendOutput1Table.setDescription("A table of scripted extensions - configuration and (basic) output.") nsExtendOutput1Entry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 3, 1)) if mibBuilder.loadTexts: nsExtendOutput1Entry.setDescription("A conceptual row within the extension table.") nsExtendOutput1Line = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 3, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsExtendOutput1Line.setDescription("The first line of output from the command") nsExtendOutputFull = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 3, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsExtendOutputFull.setDescription("The full output from the command, as a single string") nsExtendOutNumLines = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsExtendOutNumLines.setDescription("The number of lines of output (and hence\nthe number of rows in nsExtendOutputTable\nrelating to this particular entry).") nsExtendResult = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsExtendResult.setDescription("The return value of the command.") nsExtendOutput2Table = MibTable((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 4)) if mibBuilder.loadTexts: nsExtendOutput2Table.setDescription("A table of (line-based) output from scripted extensions.") nsExtendOutput2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 4, 1)).setIndexNames((0, "NET-SNMP-EXTEND-MIB", "nsExtendToken"), (0, "NET-SNMP-EXTEND-MIB", "nsExtendLineIndex")) if mibBuilder.loadTexts: nsExtendOutput2Entry.setDescription("A conceptual row within the line-based output table.") nsExtendLineIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nsExtendLineIndex.setDescription("The index of this line of output.\nFor a given nsExtendToken, this will run from\n1 to the corresponding value of nsExtendNumLines.") nsExtendOutLine = MibTableColumn((1, 3, 6, 1, 4, 1, 8072, 1, 3, 2, 4, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsExtendOutLine.setDescription("A single line of output from the extension command.") nsExtendGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1, 3, 3)) # Augmentions nsExtendConfigEntry.registerAugmentions(("NET-SNMP-EXTEND-MIB", "nsExtendOutput1Entry")) nsExtendOutput1Entry.setIndexNames(*nsExtendConfigEntry.getIndexNames()) # Groups nsExtendConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 1, 3, 3, 1)).setObjects(*(("NET-SNMP-EXTEND-MIB", "nsExtendNumEntries"), ("NET-SNMP-EXTEND-MIB", "nsExtendExecType"), ("NET-SNMP-EXTEND-MIB", "nsExtendCacheTime"), ("NET-SNMP-EXTEND-MIB", "nsExtendInput"), ("NET-SNMP-EXTEND-MIB", "nsExtendStatus"), ("NET-SNMP-EXTEND-MIB", "nsExtendRunType"), ("NET-SNMP-EXTEND-MIB", "nsExtendStorage"), ("NET-SNMP-EXTEND-MIB", "nsExtendArgs"), ("NET-SNMP-EXTEND-MIB", "nsExtendCommand"), ) ) if mibBuilder.loadTexts: nsExtendConfigGroup.setDescription("Objects relating to the configuration of extension commands.") nsExtendOutputGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 8072, 1, 3, 3, 2)).setObjects(*(("NET-SNMP-EXTEND-MIB", "nsExtendResult"), ("NET-SNMP-EXTEND-MIB", "nsExtendOutNumLines"), ("NET-SNMP-EXTEND-MIB", "nsExtendOutLine"), ("NET-SNMP-EXTEND-MIB", "nsExtendOutput1Line"), ("NET-SNMP-EXTEND-MIB", "nsExtendOutputFull"), ) ) if mibBuilder.loadTexts: nsExtendOutputGroup.setDescription("Objects relating to the output of extension commands.") # Exports # Module identity mibBuilder.exportSymbols("NET-SNMP-EXTEND-MIB", PYSNMP_MODULE_ID=netSnmpExtendMIB) # Objects mibBuilder.exportSymbols("NET-SNMP-EXTEND-MIB", netSnmpExtendMIB=netSnmpExtendMIB, nsExtendObjects=nsExtendObjects, nsExtendNumEntries=nsExtendNumEntries, nsExtendConfigTable=nsExtendConfigTable, nsExtendConfigEntry=nsExtendConfigEntry, nsExtendToken=nsExtendToken, nsExtendCommand=nsExtendCommand, nsExtendArgs=nsExtendArgs, nsExtendInput=nsExtendInput, nsExtendCacheTime=nsExtendCacheTime, nsExtendExecType=nsExtendExecType, nsExtendRunType=nsExtendRunType, nsExtendStorage=nsExtendStorage, nsExtendStatus=nsExtendStatus, nsExtendOutput1Table=nsExtendOutput1Table, nsExtendOutput1Entry=nsExtendOutput1Entry, nsExtendOutput1Line=nsExtendOutput1Line, nsExtendOutputFull=nsExtendOutputFull, nsExtendOutNumLines=nsExtendOutNumLines, nsExtendResult=nsExtendResult, nsExtendOutput2Table=nsExtendOutput2Table, nsExtendOutput2Entry=nsExtendOutput2Entry, nsExtendLineIndex=nsExtendLineIndex, nsExtendOutLine=nsExtendOutLine, nsExtendGroups=nsExtendGroups) # Groups mibBuilder.exportSymbols("NET-SNMP-EXTEND-MIB", nsExtendConfigGroup=nsExtendConfigGroup, nsExtendOutputGroup=nsExtendOutputGroup) pysnmp-mibs-0.1.3/pysnmp_mibs/IANATn3270eTC-MIB.py0000644000014400001440000001051611736645136021362 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANATn3270eTC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:07 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANATn3270DeviceType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,100,10,9,3,1,7,5,8,6,4,) namedValues = NamedValues(("ibm3278d2", 1), ("ibm3287d1", 10), ("unknown", 100), ("ibm3278d2E", 2), ("ibm3278d3", 3), ("ibm3278d3E", 4), ("ibm3278d4", 5), ("ibm3278d4E", 6), ("ibm3278d5", 7), ("ibm3278d5E", 8), ("ibmDynamic", 9), ) class IANATn3270Functions(Bits): namedValues = NamedValues(("transmitBinary", 0), ("timemark", 1), ("endOfRecord", 2), ("terminalType", 3), ("tn3270Regime", 4), ("scsCtlCodes", 5), ("dataStreamCtl", 6), ("responses", 7), ("bindImage", 8), ("sysreq", 9), ) class IANATn3270ResourceType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,4,) namedValues = NamedValues(("other", 1), ("terminal", 2), ("printer", 3), ("terminalOrPrinter", 4), ) class IANATn3270eAddrType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,2,) namedValues = NamedValues(("unknown", 0), ("ipv4", 1), ("ipv6", 2), ) class IANATn3270eAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class IANATn3270eClientType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(7,9,1,8,5,10,2,3,4,6,) namedValues = NamedValues(("none", 1), ("x509dn", 10), ("other", 2), ("ipv4", 3), ("ipv6", 4), ("domainName", 5), ("truncDomainName", 6), ("string", 7), ("certificate", 8), ("userId", 9), ) class IANATn3270eLogData(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(6,2048),) # Objects ianaTn3270eTcMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 61)).setRevisions(("2000-05-10 00:00","1999-09-01 10:00",)) if mibBuilder.loadTexts: ianaTn3270eTcMib.setOrganization("IANA") if mibBuilder.loadTexts: ianaTn3270eTcMib.setContactInfo("Internet Assigned Numbers Authority\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358 x20\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaTn3270eTcMib.setDescription("This module defines a set of textual conventions\nfor use by the TN3270E-MIB and the TN3270E-RT-MIB.\n\nAny additions or changes to the contents of this\nMIB module must first be discussed on the tn3270e\nworking group list at: tn3270e&list.nih.gov\nand approved by one of the following TN3270E\nworking group contacts:\n\n Ed Bailey (co-chair) - elbailey&us.ibm.com\n Michael Boe (co-chair) - mboe&cisco.com\n Ken White - kennethw&vnet.ibm.com\n Robert Moore - remoore&us.ibm.com\n\nThe above list of contacts can be altered with\nthe approval of the two co-chairs.\n\nThe Textual Conventions defined within this MIB have\nno security issues associated with them unless\nexplicitly stated in their corresponding\nDESCRIPTION clause.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANATn3270eTC-MIB", PYSNMP_MODULE_ID=ianaTn3270eTcMib) # Types mibBuilder.exportSymbols("IANATn3270eTC-MIB", IANATn3270DeviceType=IANATn3270DeviceType, IANATn3270Functions=IANATn3270Functions, IANATn3270ResourceType=IANATn3270ResourceType, IANATn3270eAddrType=IANATn3270eAddrType, IANATn3270eAddress=IANATn3270eAddress, IANATn3270eClientType=IANATn3270eClientType, IANATn3270eLogData=IANATn3270eLogData) # Objects mibBuilder.exportSymbols("IANATn3270eTC-MIB", ianaTn3270eTcMib=ianaTn3270eTcMib) pysnmp-mibs-0.1.3/pysnmp_mibs/INET-ADDRESS-MIB.py0000644000014400001440000001151611736645136021263 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python INET-ADDRESS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:09 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class InetAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class InetAddressDNS(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,255) class InetAddressIPv4(TextualConvention, OctetString): displayHint = "1d.1d.1d.1d" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 class InetAddressIPv4z(TextualConvention, OctetString): displayHint = "1d.1d.1d.1d%4d" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class InetAddressIPv6(TextualConvention, OctetString): displayHint = "2x:2x:2x:2x:2x:2x:2x:2x" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(16,16) fixedLength = 16 class InetAddressIPv6z(TextualConvention, OctetString): displayHint = "2x:2x:2x:2x:2x:2x:2x:2x%4d" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(20,20) fixedLength = 20 class InetAddressPrefixLength(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,2040) class InetAddressType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(16,1,4,0,2,3,) namedValues = NamedValues(("unknown", 0), ("ipv4", 1), ("dns", 16), ("ipv6", 2), ("ipv4z", 3), ("ipv6z", 4), ) class InetAutonomousSystemNumber(TextualConvention, Unsigned32): displayHint = "d" class InetPortNumber(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,65535) class InetScopeType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,14,3,5,1,8,) namedValues = NamedValues(("interfaceLocal", 1), ("global", 14), ("linkLocal", 2), ("subnetLocal", 3), ("adminLocal", 4), ("siteLocal", 5), ("organizationLocal", 8), ) class InetVersion(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,2,) namedValues = NamedValues(("unknown", 0), ("ipv4", 1), ("ipv6", 2), ) class InetZoneIndex(TextualConvention, Unsigned32): displayHint = "d" # Objects inetAddressMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 76)).setRevisions(("2005-02-04 00:00","2002-05-09 00:00","2000-06-08 00:00",)) if mibBuilder.loadTexts: inetAddressMIB.setOrganization("IETF Operations and Management Area") if mibBuilder.loadTexts: inetAddressMIB.setContactInfo("Juergen Schoenwaelder (Editor)\nInternational University Bremen\nP.O. Box 750 561\n28725 Bremen, Germany\n\nPhone: +49 421 200-3587\nEMail: j.schoenwaelder@iu-bremen.de\n\nSend comments to .") if mibBuilder.loadTexts: inetAddressMIB.setDescription("This MIB module defines textual conventions for\nrepresenting Internet addresses. An Internet\naddress can be an IPv4 address, an IPv6 address,\nor a DNS domain name. This module also defines\ntextual conventions for Internet port numbers,\nautonomous system numbers, and the length of an\nInternet address prefix.\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is part of RFC 4001, see the RFC\nitself for full legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("INET-ADDRESS-MIB", PYSNMP_MODULE_ID=inetAddressMIB) # Types mibBuilder.exportSymbols("INET-ADDRESS-MIB", InetAddress=InetAddress, InetAddressDNS=InetAddressDNS, InetAddressIPv4=InetAddressIPv4, InetAddressIPv4z=InetAddressIPv4z, InetAddressIPv6=InetAddressIPv6, InetAddressIPv6z=InetAddressIPv6z, InetAddressPrefixLength=InetAddressPrefixLength, InetAddressType=InetAddressType, InetAutonomousSystemNumber=InetAutonomousSystemNumber, InetPortNumber=InetPortNumber, InetScopeType=InetScopeType, InetVersion=InetVersion, InetZoneIndex=InetZoneIndex) # Objects mibBuilder.exportSymbols("INET-ADDRESS-MIB", inetAddressMIB=inetAddressMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/POLICY-BASED-MANAGEMENT-MIB.py0000644000014400001440000023451711736645137022677 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python POLICY-BASED-MANAGEMENT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:27 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, RowPointer, RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowPointer", "RowStatus", "StorageType", "TextualConvention") # Types class PmUTF8String(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,65535) # Objects pmMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 124)).setRevisions(("2005-02-07 00:00",)) if mibBuilder.loadTexts: pmMib.setOrganization("IETF SNMP Configuration Working Group") if mibBuilder.loadTexts: pmMib.setContactInfo("\n\n\n\n\nSteve Waldbusser\nPhone: +1-650-948-6500\nFax: +1-650-745-0671\nEmail: waldbusser@nextbeacon.com\n\nJon Saperia (WG Co-chair)\nJDS Consulting, Inc.\n84 Kettell Plain Road.\nStow MA 01775\nUSA\nPhone: +1-978-461-0249\nFax: +1-617-249-0874\nEmail: saperia@jdscons.com\n\nThippanna Hongal\nRiverstone Networks, Inc.\n5200 Great America Parkway\nSanta Clara, CA, 95054\nUSA\n\nPhone: +1-408-878-6562\nFax: +1-408-878-6501\nEmail: hongal@riverstonenet.com\n\nDavid Partain (WG Co-chair)\nPostal: Ericsson AB\n P.O. Box 1248\n SE-581 12 Linkoping\n Sweden\nTel: +46 13 28 41 44\nE-mail: David.Partain@ericsson.com\n\nAny questions or comments about this document can also be\ndirected to the working group at snmpconf@snmp.com.") if mibBuilder.loadTexts: pmMib.setDescription("The MIB module for policy-based configuration of SNMP\ninfrastructures.\n\nCopyright (C) The Internet Society (2005). This version of\nthis MIB module is part of RFC 4011; see the RFC itself for\nfull legal notices.") pmNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 124, 0)) pmPolicyTable = MibTable((1, 3, 6, 1, 2, 1, 124, 1)) if mibBuilder.loadTexts: pmPolicyTable.setDescription("The policy table. A policy is a pairing of a\npolicyCondition and a policyAction that is used to apply the\naction to a selected set of elements.") pmPolicyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 1, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyAdminGroup"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyIndex")) if mibBuilder.loadTexts: pmPolicyEntry.setDescription("An entry in the policy table representing one policy.") pmPolicyAdminGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 1), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmPolicyAdminGroup.setDescription("An administratively assigned string that can be used to group\npolicies for convenience, for readability, or to simplify\nconfiguration of access control.\n\nThe value of this string does not affect policy processing in\nany way. If grouping is not desired or necessary, this object\nmay be set to a zero-length string.") pmPolicyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmPolicyIndex.setDescription("A unique index for this policy entry, unique among all\npolicies regardless of administrative group.") pmPolicyPrecedenceGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 3), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyPrecedenceGroup.setDescription("An administratively assigned string that is used to group\npolicies. For each element, only one policy in the same\nprecedence group may be active on that element. If multiple\npolicies would be active on an element (because their\nconditions return non-zero), the execution environment will\nonly allow the policy with the highest value of\npmPolicyPrecedence to be active.\n\nAll values of this object must have been successfully\ntransformed by Stringprep RFC 3454. Management stations\nmust perform this translation and must only set this object to\nstring values that have been transformed.") pmPolicyPrecedence = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyPrecedence.setDescription("If, while checking to see which policy conditions match an\nelement, 2 or more ready policies in the same precedence group\nmatch the same element, the pmPolicyPrecedence object provides\nthe rule to arbitrate which single policy will be active on\n'this element'. Of policies in the same precedence group, only\nthe ready and matching policy with the highest precedence\nvalue (e.g., 2 is higher than 1) will have its policy action\nperiodically executed on 'this element'.\n\nWhen a policy is active on an element but the condition ceases\nto match the element, its action (if currently running) will\nbe allowed to finish and then the condition-matching ready\npolicy with the next-highest precedence will immediately\nbecome active (and have its action run immediately). If the\ncondition of a higher-precedence ready policy suddenly begins\nmatching an element, the previously-active policy's action (if\ncurrently running) will be allowed to finish and then the\nhigher precedence policy will immediately become active. Its\naction will run immediately, and any lower-precedence matching\npolicy will not be active anymore.\n\nIn the case where multiple ready policies share the highest\nvalue, it is an implementation-dependent matter as to which\nsingle policy action will be chosen.\n\nNote that if it is necessary to take certain actions after a\npolicy is no longer active on an element, these actions should\nbe included in a lower-precedence policy that is in the same\nprecedence group.") pmPolicySchedule = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicySchedule.setDescription("This policy will be ready if any of the associated schedule\nentries are active.\n\nIf the value of this object is 0, this policy is always\nready.\n\nIf the value of this object is non-zero but doesn't\nrefer to a schedule group that includes an active schedule,\nthen the policy will not be ready, even if this is due to a\nmisconfiguration of this object or the pmSchedTable.") pmPolicyElementTypeFilter = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 6), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyElementTypeFilter.setDescription("This object specifies the element types for which this policy\ncan be executed.\n\nThe format of this object will be a sequence of\npmElementTypeRegOIDPrefix values, encoded in the following\nBNF form:\n\nelementTypeFilter: oid [ ';' oid ]*\n oid: subid [ '.' subid ]*\n subid: '0' | decimal_constant\n\nFor example, to register for the policy to be run on all\ninterface elements, the 'ifEntry' element type will be\nregistered as '1.3.6.1.2.1.2.2.1'.\n\nIf a value is included that does not represent a registered\npmElementTypeRegOIDPrefix, then that value will be ignored.") pmPolicyConditionScriptIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: pmPolicyConditionScriptIndex.setDescription("A pointer to the row or rows in the pmPolicyCodeTable that\ncontain the condition code for this policy. When a policy\nentry is created, a pmPolicyCodeIndex value unused by this\npolicy's adminGroup will be assigned to this object.\n\nA policy condition is one or more PolicyScript statements\nthat result(s) in a boolean value that represents whether\nan element is a member of a set of elements upon which an\naction is to be performed. If a policy is ready and the\ncondition returns true for an element of a proper element\ntype, and if no higher-precedence policy should be active,\nthen the policy is active on that element.\n\nCondition evaluation stops immediately when any run-time\nexception is detected, and the policyAction is not executed.\n\nThe policyCondition is evaluated for various elements. Any\nelement for which the policyCondition returns any nonzero value\nwill match the condition and will have the associated\n\n\n\npolicyAction executed on that element unless a\nhigher-precedence policy in the same precedence group also\nmatches 'this element'.\n\nIf the condition object is empty (contains no code) or\notherwise does not return a value, the element will not be\nmatched.\n\nWhen this condition is executed, if SNMP requests are made to\nthe local system and secModel/secName/secLevel aren't\nspecified, access to objects is under the security\ncredentials of the requester who most recently modified the\nassociated pmPolicyAdminStatus object. If SNMP requests are\nmade in which secModel/secName/secLevel are specified, then\nthe specified credentials are retrieved from the local\nconfiguration datastore only if VACM is configured to\nallow access to the requester who most recently modified the\nassociated pmPolicyAdminStatus object. See the Security\nConsiderations section for more information.") pmPolicyActionScriptIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: pmPolicyActionScriptIndex.setDescription("A pointer to the row or rows in the pmPolicyCodeTable that\ncontain the action code for this policy. When a policy entry\nis created, a pmPolicyCodeIndex value unused by this policy's\nadminGroup will be assigned to this object.\n\nA PolicyAction is an operation performed on a\nset of elements for which the policy is active.\n\nAction evaluation stops immediately when any run-time\nexception is detected.\n\nWhen this condition is executed, if SNMP requests are made to\nthe local system and secModel/secName/secLevel aren't\nspecified, access to objects is under the security\ncredentials of the requester who most recently modified the\nassociated pmPolicyAdminStatus object. If SNMP requests are\nmade in which secModel/secName/secLevel are specified, then\nthe specified credentials are retrieved from the local\nconfiguration datastore only if VACM is configured to\nallow access to the requester who most recently modified the\nassociated pmPolicyAdminStatus object. See the Security\nConsiderations section for more information.") pmPolicyParameters = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyParameters.setDescription("From time to time, policy scripts may seek one or more\nparameters (e.g., site-specific constants). These parameters\nmay be installed with the script in this object and are\naccessible to the script via the getParameters() function. If\nit is necessary for multiple parameters to be passed to the\nscript, the script can choose whatever encoding/delimiting\nmechanism is most appropriate.") pmPolicyConditionMaxLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyConditionMaxLatency.setDescription("Every element under the control of this agent is\nre-checked periodically to see whether it is under control\nof this policy by re-running the condition for this policy.\nThis object lets the manager control the maximum amount of\ntime that may pass before an element is re-checked.\n\nIn other words, in any given interval of this duration, all\nelements must be re-checked. Note that how the policy agent\nschedules the checking of various elements within this\ninterval is an implementation-dependent matter.\nImplementations may wish to re-run a condition more\nquickly if they note a change to the role strings for an\nelement.") pmPolicyActionMaxLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyActionMaxLatency.setDescription("Every element that matches this policy's condition and is\ntherefore under control of this policy will have this policy's\naction executed periodically to ensure that the element\nremains in the state dictated by the policy.\nThis object lets the manager control the maximum amount of\n\n\n\ntime that may pass before an element has the action run on\nit.\n\nIn other words, in any given interval of this duration, all\nelements under control of this policy must have the action run\non them. Note that how the policy agent schedules the policy\naction on various elements within this interval is an\nimplementation-dependent matter.") pmPolicyMaxIterations = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 12), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyMaxIterations.setDescription("If a condition or action script iterates in loops too many\ntimes in one invocation, the execution environment may\nconsider it in an infinite loop or otherwise not acting\nas intended and may be terminated by the execution\nenvironment. The execution environment will count the\ncumulative number of times all 'for' or 'while' loops iterated\nand will apply a threshold to determine when to terminate the\nscript. What threshold the execution environment uses is an\nimplementation-dependent manner, but the value of\nthis object SHOULD be the basis for choosing the threshold for\neach script. The value of this object represents a\npolicy-specific threshold and can be tuned for policies of\nvarying workloads. If this value is zero, no\nthreshold will be enforced except for any\nimplementation-dependent maximum. Regardless of this value,\nthe agent is allowed to terminate any script invocation that\nexceeds a local CPU or memory limitation.\n\nNote that the condition and action invocations are tracked\nseparately.") pmPolicyDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 13), PmUTF8String()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyDescription.setDescription("A description of this rule and its significance, typically\nprovided by a human.") pmPolicyMatches = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pmPolicyMatches.setDescription("The number of elements that, in their most recent execution\nof the associated condition, were matched by the condition.") pmPolicyAbnormalTerminations = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pmPolicyAbnormalTerminations.setDescription("The number of elements that, in their most recent execution\nof the associated condition or action, have experienced a\nrun-time exception and terminated abnormally. Note that if a\npolicy was experiencing a run-time exception while processing\na particular element but runs normally on a subsequent\ninvocation, this number can decline.") pmPolicyExecutionErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pmPolicyExecutionErrors.setDescription("The total number of times that execution of this policy's\ncondition or action has been terminated due to run-time\nexceptions.") pmPolicyDebugging = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("off", 1), ("on", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyDebugging.setDescription("The status of debugging for this policy. If this is turned\non(2), log entries will be created in the pmDebuggingTable\nfor each run-time exception that is experienced by this\npolicy.") pmPolicyAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("enabled", 2), ("enabledAutoRemove", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyAdminStatus.setDescription("The administrative status of this policy.\n\nThe policy will be valid only if the associated\npmPolicyRowStatus is set to active(1) and this object is set\nto enabled(2) or enabledAutoRemove(3).\n\nIf this object is set to enabledAutoRemove(3), the next time\nthe associated schedule moves from the active state to the\ninactive state, this policy will immediately be deleted,\nincluding any associated entries in the pmPolicyCodeTable.\n\nThe following related objects may not be changed unless this\nobject is set to disabled(1):\n pmPolicyPrecedenceGroup, pmPolicyPrecedence,\n pmPolicySchedule, pmPolicyElementTypeFilter,\n pmPolicyConditionScriptIndex, pmPolicyActionScriptIndex,\n pmPolicyParameters, and any pmPolicyCodeTable row\n referenced by this policy.\nIn order to change any of these parameters, the policy must\nbe moved to the disabled(1) state, changed, and then\nre-enabled.\n\nWhen this policy moves to either enabled state from the\ndisabled state, any cached values of policy condition must be\nerased, and any Policy or PolicyElement scratchpad values for\nthis policy should be removed. Policy execution will begin by\ntesting the policy condition on all appropriate elements.") pmPolicyStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 19), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyStorageType.setDescription("This object defines whether this policy and any associated\nentries in the pmPolicyCodeTable are kept in volatile storage\nand lost upon reboot or if this row is backed up by\nnon-volatile or permanent storage.\n\n\n\n\nIf the value of this object is 'permanent', the values for\nthe associated pmPolicyAdminStatus object must remain\nwritable.") pmPolicyRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 1, 1, 20), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyRowStatus.setDescription("The row status of this pmPolicyEntry.\n\nThe status may not be set to active if any of the related\nentries in the pmPolicyCode table do not have a status of\nactive or if any of the objects in this row are not set to\nvalid values. Only the following objects may be modified\nwhile in the active state:\n pmPolicyParameters\n pmPolicyConditionMaxLatency\n pmPolicyActionMaxLatency\n pmPolicyDebugging\n pmPolicyAdminStatus\n\nIf this row is deleted, any associated entries in the\npmPolicyCodeTable will be deleted as well.") pmPolicyCodeTable = MibTable((1, 3, 6, 1, 2, 1, 124, 2)) if mibBuilder.loadTexts: pmPolicyCodeTable.setDescription("The pmPolicyCodeTable stores the code for policy conditions and\nactions.\n\nAn example of the relationships between the code table and the\npolicy table follows:\n\npmPolicyTable\n AdminGroup Index ConditionScriptIndex ActionScriptIndex\nA '' 1 1 2\nB 'oper' 1 1 2\nC 'oper' 2 3 4\n\npmPolicyCodeTable\nAdminGroup ScriptIndex Segment Note\n\n\n\n'' 1 1 Filter for policy A\n'' 2 1 Action for policy A\n'oper' 1 1 Filter for policy B\n'oper' 2 1 Action 1/2 for policy B\n'oper' 2 2 Action 2/2 for policy B\n'oper' 3 1 Filter for policy C\n'oper' 4 1 Action for policy C\n\nIn this example, there are 3 policies: 1 in the '' adminGroup,\nand 2 in the 'oper' adminGroup. Policy A has been assigned\nscript indexes 1 and 2 (these script indexes are assigned out of\na separate pool per adminGroup), with 1 code segment each for\nthe filter and the action. Policy B has been assigned script\nindexes 1 and 2 (out of the pool for the 'oper' adminGroup).\nWhile the filter has 1 segment, the action is longer and is\nloaded into 2 segments. Finally, Policy C has been assigned\nscript indexes 3 and 4, with 1 code segment each for the filter\nand the action.") pmPolicyCodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 2, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyAdminGroup"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyCodeScriptIndex"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyCodeSegment")) if mibBuilder.loadTexts: pmPolicyCodeEntry.setDescription("An entry in the policy code table representing one code\nsegment. Entries that share a common AdminGroup/ScriptIndex\npair make up a single script. Valid values of ScriptIndex are\nretrieved from pmPolicyConditionScriptIndex and\npmPolicyActionScriptIndex after a pmPolicyEntry is\ncreated. Segments of code can then be written to this table\nwith the learned ScriptIndex values.\n\nThe StorageType of this entry is determined by the value of\nthe associated pmPolicyStorageType.\n\nThe pmPolicyAdminGroup element of the index represents the\nadministrative group of the policy of which this code entry is\na part.") pmPolicyCodeScriptIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmPolicyCodeScriptIndex.setDescription("A unique index for each policy condition or action. The code\nfor each such condition or action may be composed of multiple\nentries in this table if the code cannot fit in one entry.\nValues of pmPolicyCodeScriptIndex may not be used unless\nthey have previously been assigned in the\npmPolicyConditionScriptIndex or pmPolicyActionScriptIndex\nobjects.") pmPolicyCodeSegment = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmPolicyCodeSegment.setDescription("A unique index for each segment of a policy condition or\naction.\n\nWhen a policy condition or action spans multiple entries in\nthis table, the code of that policy starts from the\nlowest-numbered segment and continues with increasing segment\nvalues until it ends with the highest-numbered segment.") pmPolicyCodeText = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 2, 1, 3), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(1, 1024))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyCodeText.setDescription("A segment of policy code (condition or action). Lengthy\nPolicy conditions or actions may be stored in multiple\nsegments in this table that share the same value of\npmPolicyCodeScriptIndex. When multiple segments are used, it\nis recommended that each segment be as large as is practical.\n\nEntries in this table are associated with policies by values\nof the pmPolicyConditionScriptIndex and\npmPolicyActionScriptIndex objects. If the status of the\nrelated policy is active, then this object may not be\nmodified.") pmPolicyCodeStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmPolicyCodeStatus.setDescription("The status of this code entry.\n\nEntries in this table are associated with policies by values\nof the pmPolicyConditionScriptIndex and\npmPolicyActionScriptIndex objects. If the status of the\nrelated policy is active, then this object can not be\nmodified (i.e., deleted or set to notInService), nor may new\nentries be created.\n\nIf the status of this object is active, no objects in this\nrow may be modified.") pmElementTypeRegTable = MibTable((1, 3, 6, 1, 2, 1, 124, 3)) if mibBuilder.loadTexts: pmElementTypeRegTable.setDescription("A registration table for element types managed by this\nsystem.\n\nThe Element Type Registration table allows the manager to\nlearn what element types are being managed by the system and\nto register new types, if necessary. An element type is\nregistered by providing the OID of an SNMP object (i.e.,\nwithout the instance). Each SNMP instance that exists under\nthat object is a distinct element. The index of the element is\nthe index part of the discovered OID. This index will be\nsupplied to policy conditions and actions so that this code\ncan inspect and configure the element.\n\nFor example, this table might contain the following entries.\nThe first three are agent-installed, and the 4th was\ndownloaded by a management station:\n\nOIDPrefix MaxLatency Description StorageType\nifEntry 100 mS interfaces - builtin readOnly\n0.0 100 mS system element - builtin readOnly\nfrCircuitEntry 100 mS FR Circuits - builtin readOnly\nhrSWRunEntry 60 sec Running Processes volatile\n\n\n\n\nNote that agents may automatically configure elements in this\ntable for frequently used element types (interfaces, circuits,\netc.). In particular, it may configure elements for whom\ndiscovery is optimized in one or both of the following ways:\n\n1. The agent may discover elements by scanning internal data\n structures as opposed to issuing local SNMP requests. It is\n possible to recreate the exact semantics described in this\n table even if local SNMP requests are not issued.\n\n2. The agent may receive asynchronous notification of new\n elements (for example, 'card inserted') and use that\n information to instantly create elements rather than\n through polling. A similar feature might be available for\n the deletion of elements.\n\nNote that the disposition of agent-installed entries is\ndescribed by the pmPolicyStorageType object.") pmElementTypeRegEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 3, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmElementTypeRegOIDPrefix")) if mibBuilder.loadTexts: pmElementTypeRegEntry.setDescription("A registration of an element type.\n\nNote that some values of this table's index may result in an\ninstance name that exceeds a length of 128 sub-identifiers,\nwhich exceeds the maximum for the SNMP protocol.\nImplementations should take care to avoid such values.") pmElementTypeRegOIDPrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 3, 1, 2), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmElementTypeRegOIDPrefix.setDescription("This OBJECT IDENTIFIER value identifies a table in which all\n\n\n\nelements of this type will be found. Every row in the\nreferenced table will be treated as an element for the\nperiod of time that it remains in the table. The agent will\nthen execute policy conditions and actions as appropriate on\neach of these elements.\n\nThis object identifier value is specified down to the 'entry'\ncomponent (e.g., ifEntry) of the identifier.\n\nThe index of each discovered row will be passed to each\ninvocation of the policy condition and policy action.\n\nThe actual mechanism by which instances are discovered is\nimplementation dependent. Periodic walks of the table to\ndiscover the rows in the table is one such mechanism. This\nmechanism has the advantage that it can be performed by an\nagent with no knowledge of the names, syntax, or semantics\nof the MIB objects in the table. This mechanism also serves as\nthe reference design. Other implementation-dependent\nmechanisms may be implemented that are more efficient (perhaps\nbecause they are hard coded) or that don't require polling.\nThese mechanisms must discover the same elements as would the\ntable-walking reference design.\n\nThis object can contain a OBJECT IDENTIFIER, '0.0'.\n'0.0' represents the single instance of the system\nitself and provides an execution context for policies to\noperate on the 'system element' and on MIB objects\nmodeled as scalars. For example, '0.0' gives an execution\ncontext for policy-based selection of the operating system\ncode version (likely modeled as a scalar MIB object). The\nelement type '0.0' always exists; as a consequence, no actual\ndiscovery will take place, and the pmElementTypeRegMaxLatency\nobject will have no effect for the '0.0' element\ntype. However, if the '0.0' element type is not registered in\nthe table, policies will not be executed on the '0.0' element.\n\nWhen a policy is invoked on behalf of a '0.0' entry in this\ntable, the element name will be '0.0', and there is no index\nof 'this element' (in other words, it has zero length).\n\nAs this object is used in the index for the\npmElementTypeRegTable, users of this table should be careful\nnot to create entries that would result in instance names with\nmore than 128 sub-identifiers.") pmElementTypeRegMaxLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 3, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmElementTypeRegMaxLatency.setDescription("The PM agent is responsible for discovering new elements of\ntypes that are registered. This object lets the manager\ncontrol the maximum amount of time that may pass between the\ntime an element is created and when it is discovered.\n\nIn other words, in any given interval of this duration, all\nnew elements must be discovered. Note that how the policy\nagent schedules the checking of various elements within this\ninterval is an implementation-dependent matter.") pmElementTypeRegDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 3, 1, 4), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmElementTypeRegDescription.setDescription("A descriptive label for this registered type.") pmElementTypeRegStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 3, 1, 5), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmElementTypeRegStorageType.setDescription("This object defines whether this row is kept\nin volatile storage and lost upon reboot or\nbacked up by non-volatile or permanent storage.\n\nIf the value of this object is 'permanent', no values in the\nassociated row have to be writable.") pmElementTypeRegRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 3, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmElementTypeRegRowStatus.setDescription("The status of this registration entry.\n\nIf the value of this object is active, no objects in this row\nmay be modified.") pmRoleTable = MibTable((1, 3, 6, 1, 2, 1, 124, 4)) if mibBuilder.loadTexts: pmRoleTable.setDescription("The pmRoleTable is a read-create table that organizes role\nstrings sorted by element. This table is used to create and\nmodify role strings and their associations, as well as to allow\na management station to learn about the existence of roles and\ntheir associations.\n\nIt is the responsibility of the agent to keep track of any\nre-indexing of the underlying SNMP elements and to continue to\nassociate role strings with the element with which they were\ninitially configured.\n\nPolicy MIB agents that have elements in multiple local SNMP\ncontexts have to allow some roles to be assigned to elements\nin particular contexts. This is particularly true when some\nelements have the same names in different contexts and the\ncontext is required to disambiguate them. In those situations,\na value for the pmRoleContextName may be provided. When a\npmRoleContextName value is not provided, the assignment is to\nthe element in the default context.\n\nPolicy MIB agents that discover elements on other systems and\nexecute policies on their behalf need to have access to role\ninformation for these remote elements. In such situations,\nrole assignments for other systems can be stored in this table\nby providing values for the pmRoleContextEngineID parameters.\n\nFor example:\nExample:\nelement role context ctxEngineID #comment\nifindex.1 gold local, default context\nifindex.2 gold local, default context\nrepeaterid.1 foo rptr1 local, rptr1 context\nrepeaterid.1 bar rptr2 local, rptr2 context\nifindex.1 gold '' A different system\nifindex.1 gold '' B different system\n\n The agent must store role string associations in non-volatile\n storage.") pmRoleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 4, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmRoleElement"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmRoleContextName"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmRoleContextEngineID"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmRoleString")) if mibBuilder.loadTexts: pmRoleEntry.setDescription("A role string entry associates a role string with an\nindividual element.\n\nNote that some combinations of index values may result in an\ninstance name that exceeds a length of 128 sub-identifiers,\nwhich exceeds the maximum for the SNMP\nprotocol. Implementations should take care to avoid such\ncombinations.") pmRoleElement = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 4, 1, 1), RowPointer()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmRoleElement.setDescription("The element with which this role string is associated.\n\nFor example, if the element is interface 3, then this object\nwill contain the OID for 'ifIndex.3'.\n\nIf the agent assigns new indexes in the MIB table to\nrepresent the same underlying element (re-indexing), the\nagent will modify this value to contain the new index for the\nunderlying element.\n\nAs this object is used in the index for the pmRoleTable,\nusers of this table should be careful not to create entries\nthat would result in instance names with more than 128\nsub-identifiers.") pmRoleContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 4, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmRoleContextName.setDescription("If the associated element is not in the default SNMP context\nfor the target system, this object is used to identify the\ncontext. If the element is in the default context, this object\nis equal to the empty string.") pmRoleContextEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 4, 1, 3), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,32),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmRoleContextEngineID.setDescription("If the associated element is on a remote system, this object\nis used to identify the remote system. This object contains\nthe contextEngineID of the system for which this role string\nassignment is valid. If the element is on the local system\nthis object will be the empty string.") pmRoleString = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 4, 1, 4), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmRoleString.setDescription("The role string that is associated with an element through\nthis table. All role strings must have been successfully\ntransformed by Stringprep RFC 3454. Management stations\nmust perform this translation and must only set this object\nto string values that have been transformed.\n\nA role string is an administratively specified characteristic\nof a managed element (for example, an interface). It is a\nselector for policy rules, that determines the applicability of\nthe rule to a particular managed element.") pmRoleStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 4, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmRoleStatus.setDescription("The status of this role string.\n\n\n\n\n\nIf the value of this object is active, no object in this row\nmay be modified.") pmCapabilitiesTable = MibTable((1, 3, 6, 1, 2, 1, 124, 5)) if mibBuilder.loadTexts: pmCapabilitiesTable.setDescription("The pmCapabilitiesTable contains a description of\nthe inherent capabilities of the system so that\nmanagement stations can learn of an agent's capabilities and\ndifferentially install policies based on the capabilities.\n\nCapabilities are expressed at the system level. There can be\nvariation in how capabilities are realized from one vendor or\nmodel to the next. Management systems should consider these\ndifferences before selecting which policy to install in a\nsystem.") pmCapabilitiesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 5, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmCapabilitiesType")) if mibBuilder.loadTexts: pmCapabilitiesEntry.setDescription("A capabilities entry holds an OID indicating support for a\nparticular capability. Capabilities may include hardware and\nsoftware functions and the implementation of MIB\nModules. The semantics of the OID are defined in the\ndescription of pmCapabilitiesType.\n\nEntries appear in this table if any element in the system has\na specific capability. A capability should appear in this\ntable only once, regardless of the number of elements in the\nsystem with that capability. An entry is removed from this\ntable when the last element in the system that has the\ncapability is removed. In some cases, capabilities are\ndynamic and exist only in software. This table should have an\nentry for the capability even if there are no current\ninstances. Examples include systems with database or WEB\nservices. While the system has the ability to create new\ndatabases or WEB services, the entry should exist. In these\ncases, the ability to create these services could come from\nother processes that are running in the system, even though\nthere are no currently open databases or WEB servers running.\n\n\n\nCapabilities may include the implementation of MIB Modules\nbut need not be limited to those that represent MIB Modules\nwith one or more configurable objects. It may also be\nvaluable to include entries for capabilities that do not\ninclude configuration objects, as that information, in\ncombination with other entries in this table, might be used\nby the management software to determine whether to\ninstall a policy.\n\nVendor software may also add entries in this table to express\ncapabilities from their private branch.\n\nNote that some values of this table's index may result in an\ninstance name that exceeds a length of 128 sub-identifiers,\nwhich exceeds the maximum for the SNMP\nprotocol. Implementations should take care to avoid such\nvalues.") pmCapabilitiesType = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 5, 1, 1), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: pmCapabilitiesType.setDescription("There are three types of OIDs that may be present in the\npmCapabilitiesType object:\n\n1) The OID of a MODULE-COMPLIANCE macro that represents the\nhighest level of compliance realized by the agent for that\nMIB Module. For example, an agent that implements the OSPF\nMIB Module at the highest level of compliance would have the\nvalue of '1.3.6.1.2.1.14.15.2' in the pmCapabilitiesType\nobject. For software that realizes standard MIB\nModules that do not have compliance statements, the base OID\nof the MIB Module should be used instead. If the OSPF MIB\nModule had not been created with a compliance statement, then\nthe correct value of the pmCapabilitiesType would be\n'1.3.6.1.2.1.14'. In the cases where multiple compliance\nstatements in a MIB Module are supported by the agent, and\nwhere one compliance statement does not by definition include\nthe other, each of the compliance OIDs would have entries in\nthis table.\n\n\n\n\nMIB Documents can contain more than one MIB Module. In the\ncase of OSPF, there is a second MIB Module\nthat describes notifications for the OSPF Version 2 Protocol.\nIf the agent also realizes these functions, an entry will\nalso exist for those capabilities in this table.\n\n2) Vendors should install OIDs in this table that represent\nvendor-specific capabilities. These capabilities can be\nexpressed just as those described above for MIB Modules on\nthe standards track. In addition, vendors may install any\nOID they desire from their registered branch. The OIDs may be\nat any level of granularity, from the root of their entire\nbranch to an instance of a single OID. There is no\nrestriction on the number of registrations they may make,\nthough care should be taken to avoid unnecessary entries.\n\n3) OIDs that represent one capability or a collection of\ncapabilities that could be any collection of MIB Objects or\nhardware or software functions may be created in working\ngroups and registered in a MIB Module. Other entities (e.g.,\nvendors) may also make registrations. Software will register\nthese standard capability OIDs, as well as vendor specific\nOIDs.\n\nIf the OID for a known capability is not present in the\ntable, then it should be assumed that the capability is not\nimplemented.\n\nAs this object is used in the index for the\npmCapabilitiesTable, users of this table should be careful\nnot to create entries that would result in instance names\nwith more than 128 sub-identifiers.") pmCapabilitiesOverrideTable = MibTable((1, 3, 6, 1, 2, 1, 124, 6)) if mibBuilder.loadTexts: pmCapabilitiesOverrideTable.setDescription("The pmCapabilitiesOverrideTable allows management stations\nto override pmCapabilitiesTable entries that have been\nregistered by the agent. This facility can be used to avoid\nsituations in which managers in the network send policies to\na system that has advertised a capability in the\npmCapabilitiesTable but that should not be installed on this\nparticular system. One example could be newly deployed\n\n\n\nequipment that is still in a trial state in a trial state or\nresources reserved for some other administrative reason.\nThis table can also be used to override entries in the\npmCapabilitiesTable through the use of the\npmCapabilitiesOverrideState object. Capabilities can also be\ndeclared available in this table that were not registered in\nthe pmCapabilitiesTable. A management application can make\nan entry in this table for any valid OID and declare the\ncapability available by setting the\npmCapabilitiesOverrideState for that row to valid(1).") pmCapabilitiesOverrideEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 6, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmCapabilitiesOverrideType")) if mibBuilder.loadTexts: pmCapabilitiesOverrideEntry.setDescription("An entry in this table indicates whether a particular\ncapability is valid or invalid.\n\nNote that some values of this table's index may result in an\ninstance name that exceeds a length of 128 sub-identifiers,\nwhich exceeds the maximum for the SNMP\nprotocol. Implementations should take care to avoid such\nvalues.") pmCapabilitiesOverrideType = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 6, 1, 1), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmCapabilitiesOverrideType.setDescription("This is the OID of the capability that is declared valid or\ninvalid by the pmCapabilitiesOverrideState value for this\nrow. Any valid OID, as described in the pmCapabilitiesTable,\nis permitted in the pmCapabilitiesOverrideType object. This\nmeans that capabilities can be expressed at any level, from a\nspecific instance of an object to a table or entire module.\nThere are no restrictions on whether these objects are from\nstandards track MIB documents or in the private branch of the\nMIB.\n\n\n\nIf an entry exists in this table for which there is a\ncorresponding entry in the pmCapabilitiesTable, then this entry\nshall have precedence over the entry in the\npmCapabilitiesTable. All entries in this table must be\npreserved across reboots.\n\nAs this object is used in the index for the\npmCapabilitiesOverrideTable, users of this table should be\ncareful not to create entries that would result in instance\nnames with more than 128 sub-identifiers.") pmCapabilitiesOverrideState = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 6, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("invalid", 1), ("valid", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmCapabilitiesOverrideState.setDescription("A pmCapabilitiesOverrideState of invalid indicates that\nmanagement software should not send policies to this system\nfor the capability identified in the\npmCapabilitiesOverrideType for this row of the table. This\nbehavior is the same whether the capability represented by\nthe pmCapabilitiesOverrideType exists only in this table\n(that is, it was installed by an external management\napplication) or exists in this table as well as the\npmCapabilitiesTable. This would be the case when a manager\nwanted to disable a capability that the native management\nsystem found and registered in the pmCapabilitiesTable.\n\nAn entry in this table that has a pmCapabilitiesOverrideState\nof valid should be treated as though it appeared in the\npmCapabilitiesTable. If the entry also exists in the\npmCapabilitiesTable in the pmCapabilitiesType object, and if\nthe value of this object is valid, then the system shall\noperate as though this entry did not exist and policy\ninstallations and executions will continue in a normal\nfashion.") pmCapabilitiesOverrideRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 6, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmCapabilitiesOverrideRowStatus.setDescription("The row status of this pmCapabilitiesOverrideEntry.\n\n\n\nIf the value of this object is active, no object in this row\nmay be modified.") pmSchedLocalTime = MibScalar((1, 3, 6, 1, 2, 1, 124, 7), DateAndTime().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readonly") if mibBuilder.loadTexts: pmSchedLocalTime.setDescription("The local time used by the scheduler. Schedules that\nrefer to calendar time will use the local time indicated\nby this object. An implementation MUST return all 11 bytes\nof the DateAndTime textual-convention so that a manager\nmay retrieve the offset from GMT time.") pmSchedTable = MibTable((1, 3, 6, 1, 2, 1, 124, 8)) if mibBuilder.loadTexts: pmSchedTable.setDescription("This table defines schedules for policies.") pmSchedEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 8, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmSchedIndex")) if mibBuilder.loadTexts: pmSchedEntry.setDescription("An entry describing a particular schedule.\n\nUnless noted otherwise, writable objects of this row can be\nmodified independently of the current value of pmSchedRowStatus,\npmSchedAdminStatus and pmSchedOperStatus. In particular, it\nis legal to modify pmSchedWeekDay, pmSchedMonth, and\npmSchedDay when pmSchedRowStatus is active.") pmSchedIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmSchedIndex.setDescription("The locally unique, administratively assigned index for this\nscheduling entry.") pmSchedGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedGroupIndex.setDescription("The locally unique, administratively assigned index for the\nschedule group this scheduling entry belongs to.\n\nTo assign multiple schedule entries to the same group, the\npmSchedGroupIndex of each entry in the group will be set to\nthe same value. This pmSchedGroupIndex value must be equal to\nthe pmSchedIndex of one of the entries in the group. If the\nentry whose pmSchedIndex equals the pmSchedGroupIndex\nfor the group is deleted, the agent will assign a new\npmSchedGroupIndex to all remaining members of the group.\n\nIf an entry is not a member of a group, its pmSchedGroupIndex\nmust be assigned to the value of its pmSchedIndex.\n\nPolicies that are controlled by a group of schedule entries\nare active when any schedule in the group is active.") pmSchedDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 3), PmUTF8String().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedDescr.setDescription("The human-readable description of the purpose of this\nscheduling entry.") pmSchedTimePeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 4), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedTimePeriod.setDescription("The overall range of calendar dates and times over which this\nschedule is active. It is stored in a slightly extended version\nof the format for a 'period-explicit' defined in RFC 2445.\nThis format is expressed as a string representing the\nstarting date and time, in which the character 'T' indicates\nthe beginning of the time portion, followed by the solidus\ncharacter, '/', followed by a similar string representing an\nend date and time. The start of the period MUST be before the\nend of the period. Date-Time values are expressed as\nsubstrings of the form 'yyyymmddThhmmss'. For example:\n\n 20000101T080000/20000131T130000\n\n January 1, 2000, 0800 through January 31, 2000, 1PM\n\nThe 'Date with UTC time' format defined in RFC 2445 in which\nthe Date-Time string ends with the character 'Z' is not\nallowed.\n\nThis 'period-explicit' format is also extended to allow two\nspecial cases in which one of the Date-Time strings is\nreplaced with a special string defined in RFC 2445:\n\n1. If the first Date-Time value is replaced with the string\n 'THISANDPRIOR', then the value indicates that the schedule\n is active at any time prior to the Date-Time that appears\n after the '/'.\n\n2. If the second Date-Time is replaced with the string\n 'THISANDFUTURE', then the value indicates that the schedule\n is active at any time after the Date-Time that appears\n before the '/'.\n\n\n\n\nNote that although RFC 2445 defines these two strings, they are\nnot specified for use in the 'period-explicit' format. The use\nof these strings represents an extension to the\n'period-explicit' format.") pmSchedMonth = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 5), Bits().subtype(namedValues=NamedValues(("january", 0), ("february", 1), ("november", 10), ("december", 11), ("march", 2), ("april", 3), ("may", 4), ("june", 5), ("july", 6), ("august", 7), ("september", 8), ("october", 9), )).clone(("january","february","march","april","may","june","july","august","september","october","november","december",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedMonth.setDescription("Within the overall time period specified in the\npmSchedTimePeriod object, the value of this object specifies\nthe specific months within that time period when the schedule\nis active. Setting all bits will cause the schedule to act\nindependently of the month.") pmSchedDay = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 6), Bits().subtype(namedValues=NamedValues(("d1", 0), ("d2", 1), ("d11", 10), ("d12", 11), ("d13", 12), ("d14", 13), ("d15", 14), ("d16", 15), ("d17", 16), ("d18", 17), ("d19", 18), ("d20", 19), ("d3", 2), ("d21", 20), ("d22", 21), ("d23", 22), ("d24", 23), ("d25", 24), ("d26", 25), ("d27", 26), ("d28", 27), ("d29", 28), ("d30", 29), ("d4", 3), ("d31", 30), ("r1", 31), ("r2", 32), ("r3", 33), ("r4", 34), ("r5", 35), ("r6", 36), ("r7", 37), ("r8", 38), ("r9", 39), ("d5", 4), ("r10", 40), ("r11", 41), ("r12", 42), ("r13", 43), ("r14", 44), ("r15", 45), ("r16", 46), ("r17", 47), ("r18", 48), ("r19", 49), ("d6", 5), ("r20", 50), ("r21", 51), ("r22", 52), ("r23", 53), ("r24", 54), ("r25", 55), ("r26", 56), ("r27", 57), ("r28", 58), ("r29", 59), ("d7", 6), ("r30", 60), ("r31", 61), ("d8", 7), ("d9", 8), ("d10", 9), )).clone(("d1","d2","d3","d4","d5","d6","d7","d8","d9","d10","d11","d12","d13","d14","d15","d16","d17","d18","d19","d20","d21","d22","d23","d24","d25","d26","d27","d28","d29","d30","d31","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12","r13","r14","r15","r16","r17","r18","r19","r20","r21","r22","r23","r24","r25","r26","r27","r28","r29","r30","r31",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedDay.setDescription("Within the overall time period specified in the\npmSchedTimePeriod object, the value of this object specifies\nthe specific days of the month within that time period when\nthe schedule is active.\n\nThere are two sets of bits one can use to define the day\nwithin a month:\n\nEnumerations starting with the letter 'd' indicate a\nday in a month relative to the first day of a month.\nThe first day of the month can therefore be specified\nby setting the bit d1(0), and d31(30) means the last\nday of a month with 31 days.\n\nEnumerations starting with the letter 'r' indicate a\nday in a month in reverse order, relative to the last\nday of a month. The last day in the month can therefore\nbe specified by setting the bit r1(31), and r31(61) means\nthe first day of a month with 31 days.\n\nSetting multiple bits will include several days in the set\nof possible days for this schedule. Setting all bits starting\nwith the letter 'd' or all bits starting with the letter 'r'\nwill cause the schedule to act independently of the day of the\nmonth.") pmSchedWeekDay = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 7), Bits().subtype(namedValues=NamedValues(("sunday", 0), ("monday", 1), ("tuesday", 2), ("wednesday", 3), ("thursday", 4), ("friday", 5), ("saturday", 6), )).clone(("sunday","monday","tuesday","wednesday","thursday","friday","saturday",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedWeekDay.setDescription("Within the overall time period specified in the\npmSchedTimePeriod object, the value of this object specifies\nthe specific days of the week within that time period when\nthe schedule is active. Setting all bits will cause the\nschedule to act independently of the day of the week.") pmSchedTimeOfDay = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 8), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 15)).clone('T000000/T235959')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedTimeOfDay.setDescription("Within the overall time period specified in the\npmSchedTimePeriod object, the value of this object specifies\nthe range of times in a day when the schedule is active.\n\nThis value is stored in a format based on the RFC 2445 format\nfor 'time': The character 'T' followed by a 'time' string,\nfollowed by the solidus character, '/', followed by the\ncharacter 'T', followed by a second time string. The first time\nindicates the beginning of the range, and the second time\nindicates the end. Thus, this value takes the following\nform:\n\n 'Thhmmss/Thhmmss'.\n\nThe second substring always identifies a later time than the\nfirst substring. To allow for ranges that span midnight,\nhowever, the value of the second string may be smaller than\nthe value of the first substring. Thus, 'T080000/T210000'\nidentifies the range from 0800 until 2100, whereas\n'T210000/T080000' identifies the range from 2100 until 0800 of\nthe following day.\n\nWhen a range spans midnight, by definition it includes parts\nof two successive days. When one of these days is also\nselected by either the MonthOfYearMask, DayOfMonthMask, and/or\nDayOfWeekMask, but the other day is not, then the policy is\nactive only during the portion of the range that falls on the\nselected day. For example, if the range extends from 2100\n\n\n\nuntil 0800, and the day of week mask selects Monday and\nTuesday, then the policy is active during the following three\nintervals:\n\n From midnight Sunday until 0800 Monday\n From 2100 Monday until 0800 Tuesday\n From 2100 Tuesday until 23:59:59 Tuesday\n\n Setting this value to 'T000000/T235959' will cause the\n schedule to act independently of the time of day.") pmSchedLocalOrUtc = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("localTime", 1), ("utcTime", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedLocalOrUtc.setDescription("This object indicates whether the times represented in the\nTimePeriod object and in the various Mask objects represent\nlocal times or UTC times.") pmSchedStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 10), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedStorageType.setDescription("This object defines whether this schedule entry is kept\nin volatile storage and lost upon reboot or\nbacked up by non-volatile or permanent storage.\n\nConceptual rows having the value 'permanent' must allow write\naccess to the columnar objects pmSchedDescr, pmSchedWeekDay,\npmSchedMonth, and pmSchedDay.\n\nIf the value of this object is 'permanent', no values in the\nassociated row have to be writable.") pmSchedRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 8, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pmSchedRowStatus.setDescription("The status of this schedule entry.\n\nIf the value of this object is active, no object in this row\nmay be modified.") pmTrackingPETable = MibTable((1, 3, 6, 1, 2, 1, 124, 9)) if mibBuilder.loadTexts: pmTrackingPETable.setDescription("The pmTrackingPETable describes what elements\nare active (under control of) a policy. This table is indexed\nin order to optimize retrieval of the entire status for a\ngiven policy.") pmTrackingPEEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 9, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyIndex"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmTrackingPEElement"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmTrackingPEContextName"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmTrackingPEContextEngineID")) if mibBuilder.loadTexts: pmTrackingPEEntry.setDescription("An entry in the pmTrackingPETable. The pmPolicyIndex in\nthe index specifies the policy tracked by this entry.\n\nNote that some combinations of index values may result in an\ninstance name that exceeds a length of 128 sub-identifiers,\nwhich exceeds the maximum for the SNMP\nprotocol. Implementations should take care to avoid such\ncombinations.") pmTrackingPEElement = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 9, 1, 1), RowPointer()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmTrackingPEElement.setDescription("The element that is acted upon by the associated policy.\n\nAs this object is used in the index for the\npmTrackingPETable, users of this table should be careful not\nto create entries that would result in instance names with\nmore than 128 sub-identifiers.") pmTrackingPEContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 9, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmTrackingPEContextName.setDescription("If the associated element is not in the default SNMP context\nfor the target system, this object is used to identify the\ncontext. If the element is in the default context, this object\nis equal to the empty string.") pmTrackingPEContextEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 9, 1, 3), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,32),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmTrackingPEContextEngineID.setDescription("If the associated element is on a remote system, this object\nis used to identify the remote system. This object contains\nthe contextEngineID of the system on which the associated\nelement resides. If the element is on the local system,\nthis object will be the empty string.") pmTrackingPEInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 9, 1, 4), Bits().subtype(namedValues=NamedValues(("actionSkippedDueToPrecedence", 0), ("conditionRunTimeException", 1), ("conditionUserSignal", 2), ("actionRunTimeException", 3), ("actionUserSignal", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pmTrackingPEInfo.setDescription("This object returns information about the previous policy\nscript executions.\n\nIf the actionSkippedDueToPrecedence(1) bit is set, the last\nexecution of the associated policy condition returned non-zero,\nbut the action is not active, because it was trumped by a\nmatching policy condition in the same precedence group with a\nhigher precedence value.\n\nIf the conditionRunTimeException(2) bit is set, the last\nexecution of the associated policy condition encountered a\nrun-time exception and aborted.\n\nIf the conditionUserSignal(3) bit is set, the last\nexecution of the associated policy condition called the\nsignalError() function.\n\nIf the actionRunTimeException(4) bit is set, the last\nexecution of the associated policy action encountered a\nrun-time exception and aborted.\n\nIf the actionUserSignal(5) bit is set, the last\nexecution of the associated policy action called the\nsignalError() function.\n\nEntries will only exist in this table of one or more bits are\nset. In particular, if an entry does not exist for a\nparticular policy/element combination, it can be assumed that\nthe policy's condition did not match 'this element'.") pmTrackingEPTable = MibTable((1, 3, 6, 1, 2, 1, 124, 10)) if mibBuilder.loadTexts: pmTrackingEPTable.setDescription("The pmTrackingEPTable describes what policies\nare controlling an element. This table is indexed in\norder to optimize retrieval of the status of all policies\nactive for a given element.") pmTrackingEPEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 10, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmTrackingEPElement"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmTrackingEPContextName"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmTrackingEPContextEngineID"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyIndex")) if mibBuilder.loadTexts: pmTrackingEPEntry.setDescription("An entry in the pmTrackingEPTable. Entries exist for all\nelement/policy combinations for which the policy's condition\nmatches and only if the schedule for the policy is active.\n\nThe pmPolicyIndex in the index specifies the policy\ntracked by this entry.\n\nNote that some combinations of index values may result in an\ninstance name that exceeds a length of 128 sub-identifiers,\nwhich exceeds the maximum for the SNMP protocol.\nImplementations should take care to avoid such combinations.") pmTrackingEPElement = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 10, 1, 1), RowPointer()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmTrackingEPElement.setDescription("The element acted upon by the associated policy.\n\nAs this object is used in the index for the\npmTrackingEPTable, users of this table should be careful\nnot to create entries that would result in instance names\nwith more than 128 sub-identifiers.") pmTrackingEPContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 10, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmTrackingEPContextName.setDescription("If the associated element is not in the default SNMP context\n\n\n\nfor the target system, this object is used to identify the\ncontext. If the element is in the default context, this object\nis equal to the empty string.") pmTrackingEPContextEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 10, 1, 3), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,32),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmTrackingEPContextEngineID.setDescription("If the associated element is on a remote system, this object\nis used to identify the remote system. This object contains\nthe contextEngineID of the system on which the associated\nelement resides. If the element is on the local system,\nthis object will be the empty string.") pmTrackingEPStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 10, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("on", 1), ("forceOff", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pmTrackingEPStatus.setDescription("This entry will only exist if the calendar for the policy is\nactive and if the associated policyCondition returned 1 for\n'this element'.\n\nA policy can be forcibly disabled on a particular element\nby setting this value to forceOff(2). The agent should then\nact as though the policyCondition failed for 'this element'.\nThe forceOff(2) state will persist (even across reboots) until\nthis value is set to on(1) by a management request. The\nforceOff(2) state may be set even if the entry does not\npreviously exist so that future policy invocations can be\navoided.\n\nUnless forcibly disabled, if this entry exists, its value\nwill be on(1).") pmDebuggingTable = MibTable((1, 3, 6, 1, 2, 1, 124, 11)) if mibBuilder.loadTexts: pmDebuggingTable.setDescription("Policies that have debugging turned on will generate a log\nentry in the policy debugging table for every runtime\nexception that occurs in either the condition or action\ncode.\n\nThe pmDebuggingTable logs debugging messages when\npolicies experience run-time exceptions in either the condition\nor action code and the associated pmPolicyDebugging object\nhas been turned on.\n\nThe maximum number of debugging entries that will be stored\nand the maximum length of time an entry will be kept are an\nimplementation-dependent manner. If entries must\nbe discarded to make room for new entries, the oldest entries\nmust be discarded first.\n\nIf the system restarts, all debugging entries may be deleted.") pmDebuggingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 124, 11, 1)).setIndexNames((0, "POLICY-BASED-MANAGEMENT-MIB", "pmPolicyIndex"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmDebuggingElement"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmDebuggingContextName"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmDebuggingContextEngineID"), (0, "POLICY-BASED-MANAGEMENT-MIB", "pmDebuggingLogIndex")) if mibBuilder.loadTexts: pmDebuggingEntry.setDescription("An entry in the pmDebuggingTable. The pmPolicyIndex in the\nindex specifies the policy that encountered the exception\nthat led to this log entry.\n\nNote that some combinations of index values may result in an\ninstance name that exceeds a length of 128 sub-identifiers,\nwhich exceeds the maximum for the SNMP protocol.\nImplementations should take care to avoid such combinations.") pmDebuggingElement = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 11, 1, 1), RowPointer()).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmDebuggingElement.setDescription("The element the policy was executing on when it encountered\nthe error that led to this log entry.\n\nFor example, if the element is interface 3, then this object\nwill contain the OID for 'ifIndex.3'.\n\nAs this object is used in the index for the\npmDebuggingTable, users of this table should be careful\nnot to create entries that would result in instance names\nwith more than 128 sub-identifiers.") pmDebuggingContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 11, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmDebuggingContextName.setDescription("If the associated element is not in the default SNMP context\nfor the target system, this object is used to identify the\ncontext. If the element is in the default context, this object\nis equal to the empty string.") pmDebuggingContextEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 11, 1, 3), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,32),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmDebuggingContextEngineID.setDescription("If the associated element is on a remote system, this object\nis used to identify the remote system. This object contains\nthe contextEngineID of the system on which the associated\nelement resides. If the element is on the local system,\nthis object will be the empty string.") pmDebuggingLogIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 11, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pmDebuggingLogIndex.setDescription("A unique index for this log entry among other log entries\nfor this policy/element combination.") pmDebuggingMessage = MibTableColumn((1, 3, 6, 1, 2, 1, 124, 11, 1, 5), PmUTF8String().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: pmDebuggingMessage.setDescription("An error message generated by the policy execution\nenvironment. It is recommended that this message include the\ntime of day when the message was generated, if known.") pmConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 124, 12)) pmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 124, 12, 1)) pmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 124, 12, 2)) pmBaseFunctionLibrary = MibIdentifier((1, 3, 6, 1, 2, 1, 124, 12, 2, 4)) # Augmentions # Notifications pmNewRoleNotification = NotificationType((1, 3, 6, 1, 2, 1, 124, 0, 1)).setObjects(*(("POLICY-BASED-MANAGEMENT-MIB", "pmRoleStatus"), ) ) if mibBuilder.loadTexts: pmNewRoleNotification.setDescription("The pmNewRoleNotification is sent when an agent is configured\nwith its first instance of a previously unused role string\n(not every time a new element is given a particular role).\n\nAn instance of the pmRoleStatus object is sent containing\nthe new roleString in its index. In the event that two or\nmore elements are given the same role simultaneously, it is an\nimplementation-dependent matter as to which pmRoleTable\ninstance will be included in the notification.") pmNewCapabilityNotification = NotificationType((1, 3, 6, 1, 2, 1, 124, 0, 2)).setObjects(*(("POLICY-BASED-MANAGEMENT-MIB", "pmCapabilitiesType"), ) ) if mibBuilder.loadTexts: pmNewCapabilityNotification.setDescription("The pmNewCapabilityNotification is sent when an agent\ngains a new capability that did not previously exist in any\nelement on the system (not every time an element gains a\nparticular capability).\n\nAn instance of the pmCapabilitiesType object is sent containing\nthe identity of the new capability. In the event that two or\nmore elements gain the same capability simultaneously, it is an\nimplementation-dependent matter as to which pmCapabilitiesType\ninstance will be included in the notification.") pmAbnormalTermNotification = NotificationType((1, 3, 6, 1, 2, 1, 124, 0, 3)).setObjects(*(("POLICY-BASED-MANAGEMENT-MIB", "pmTrackingPEInfo"), ) ) if mibBuilder.loadTexts: pmAbnormalTermNotification.setDescription("The pmAbnormalTermNotification is sent when a policy's\npmPolicyAbnormalTerminations gauge value changes from zero to\nany value greater than zero and no such notification has been\nsent for that policy in the last 5 minutes.\n\nThe notification contains an instance of the pmTrackingPEInfo\nobject where the pmPolicyIndex component of the index\nidentifies the associated policy and the rest of the index\nidentifies an element on which the policy failed.") # Groups pmPolicyManagementGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 124, 12, 2, 1)).setObjects(*(("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyExecutionErrors"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyCodeStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmElementTypeRegMaxLatency"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicySchedule"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyMatches"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyAdminStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyAbnormalTerminations"), ("POLICY-BASED-MANAGEMENT-MIB", "pmCapabilitiesType"), ("POLICY-BASED-MANAGEMENT-MIB", "pmRoleStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyPrecedenceGroup"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyStorageType"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyConditionMaxLatency"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyRowStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyDebugging"), ("POLICY-BASED-MANAGEMENT-MIB", "pmCapabilitiesOverrideRowStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmElementTypeRegDescription"), ("POLICY-BASED-MANAGEMENT-MIB", "pmCapabilitiesOverrideState"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyActionMaxLatency"), ("POLICY-BASED-MANAGEMENT-MIB", "pmTrackingPEInfo"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyCodeText"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyActionScriptIndex"), ("POLICY-BASED-MANAGEMENT-MIB", "pmElementTypeRegRowStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmDebuggingMessage"), ("POLICY-BASED-MANAGEMENT-MIB", "pmTrackingEPStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyElementTypeFilter"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyConditionScriptIndex"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyPrecedence"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyDescription"), ("POLICY-BASED-MANAGEMENT-MIB", "pmElementTypeRegStorageType"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyMaxIterations"), ("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyParameters"), ) ) if mibBuilder.loadTexts: pmPolicyManagementGroup.setDescription("Objects that allow for the creation and management of\nconfiguration policies.") pmSchedGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 124, 12, 2, 2)).setObjects(*(("POLICY-BASED-MANAGEMENT-MIB", "pmSchedMonth"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedGroupIndex"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedDay"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedDescr"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedStorageType"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedLocalTime"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedTimePeriod"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedLocalOrUtc"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedRowStatus"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedTimeOfDay"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedWeekDay"), ) ) if mibBuilder.loadTexts: pmSchedGroup.setDescription("Objects that allow for the scheduling of policies.") pmNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 124, 12, 2, 3)).setObjects(*(("POLICY-BASED-MANAGEMENT-MIB", "pmNewRoleNotification"), ("POLICY-BASED-MANAGEMENT-MIB", "pmAbnormalTermNotification"), ("POLICY-BASED-MANAGEMENT-MIB", "pmNewCapabilityNotification"), ) ) if mibBuilder.loadTexts: pmNotificationGroup.setDescription("Notifications sent by an Policy MIB agent.") # Compliances pmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 124, 12, 1, 1)).setObjects(*(("POLICY-BASED-MANAGEMENT-MIB", "pmPolicyManagementGroup"), ("POLICY-BASED-MANAGEMENT-MIB", "pmNotificationGroup"), ("POLICY-BASED-MANAGEMENT-MIB", "pmSchedGroup"), ) ) if mibBuilder.loadTexts: pmCompliance.setDescription("Describes the requirements for conformance to\nthe Policy-Based Management MIB") # Exports # Module identity mibBuilder.exportSymbols("POLICY-BASED-MANAGEMENT-MIB", PYSNMP_MODULE_ID=pmMib) # Types mibBuilder.exportSymbols("POLICY-BASED-MANAGEMENT-MIB", PmUTF8String=PmUTF8String) # Objects mibBuilder.exportSymbols("POLICY-BASED-MANAGEMENT-MIB", pmMib=pmMib, pmNotifications=pmNotifications, pmPolicyTable=pmPolicyTable, pmPolicyEntry=pmPolicyEntry, pmPolicyAdminGroup=pmPolicyAdminGroup, pmPolicyIndex=pmPolicyIndex, pmPolicyPrecedenceGroup=pmPolicyPrecedenceGroup, pmPolicyPrecedence=pmPolicyPrecedence, pmPolicySchedule=pmPolicySchedule, pmPolicyElementTypeFilter=pmPolicyElementTypeFilter, pmPolicyConditionScriptIndex=pmPolicyConditionScriptIndex, pmPolicyActionScriptIndex=pmPolicyActionScriptIndex, pmPolicyParameters=pmPolicyParameters, pmPolicyConditionMaxLatency=pmPolicyConditionMaxLatency, pmPolicyActionMaxLatency=pmPolicyActionMaxLatency, pmPolicyMaxIterations=pmPolicyMaxIterations, pmPolicyDescription=pmPolicyDescription, pmPolicyMatches=pmPolicyMatches, pmPolicyAbnormalTerminations=pmPolicyAbnormalTerminations, pmPolicyExecutionErrors=pmPolicyExecutionErrors, pmPolicyDebugging=pmPolicyDebugging, pmPolicyAdminStatus=pmPolicyAdminStatus, pmPolicyStorageType=pmPolicyStorageType, pmPolicyRowStatus=pmPolicyRowStatus, pmPolicyCodeTable=pmPolicyCodeTable, pmPolicyCodeEntry=pmPolicyCodeEntry, pmPolicyCodeScriptIndex=pmPolicyCodeScriptIndex, pmPolicyCodeSegment=pmPolicyCodeSegment, pmPolicyCodeText=pmPolicyCodeText, pmPolicyCodeStatus=pmPolicyCodeStatus, pmElementTypeRegTable=pmElementTypeRegTable, pmElementTypeRegEntry=pmElementTypeRegEntry, pmElementTypeRegOIDPrefix=pmElementTypeRegOIDPrefix, pmElementTypeRegMaxLatency=pmElementTypeRegMaxLatency, pmElementTypeRegDescription=pmElementTypeRegDescription, pmElementTypeRegStorageType=pmElementTypeRegStorageType, pmElementTypeRegRowStatus=pmElementTypeRegRowStatus, pmRoleTable=pmRoleTable, pmRoleEntry=pmRoleEntry, pmRoleElement=pmRoleElement, pmRoleContextName=pmRoleContextName, pmRoleContextEngineID=pmRoleContextEngineID, pmRoleString=pmRoleString, pmRoleStatus=pmRoleStatus, pmCapabilitiesTable=pmCapabilitiesTable, pmCapabilitiesEntry=pmCapabilitiesEntry, pmCapabilitiesType=pmCapabilitiesType, pmCapabilitiesOverrideTable=pmCapabilitiesOverrideTable, pmCapabilitiesOverrideEntry=pmCapabilitiesOverrideEntry, pmCapabilitiesOverrideType=pmCapabilitiesOverrideType, pmCapabilitiesOverrideState=pmCapabilitiesOverrideState, pmCapabilitiesOverrideRowStatus=pmCapabilitiesOverrideRowStatus, pmSchedLocalTime=pmSchedLocalTime, pmSchedTable=pmSchedTable, pmSchedEntry=pmSchedEntry, pmSchedIndex=pmSchedIndex, pmSchedGroupIndex=pmSchedGroupIndex, pmSchedDescr=pmSchedDescr, pmSchedTimePeriod=pmSchedTimePeriod, pmSchedMonth=pmSchedMonth, pmSchedDay=pmSchedDay, pmSchedWeekDay=pmSchedWeekDay, pmSchedTimeOfDay=pmSchedTimeOfDay, pmSchedLocalOrUtc=pmSchedLocalOrUtc, pmSchedStorageType=pmSchedStorageType, pmSchedRowStatus=pmSchedRowStatus, pmTrackingPETable=pmTrackingPETable, pmTrackingPEEntry=pmTrackingPEEntry, pmTrackingPEElement=pmTrackingPEElement, pmTrackingPEContextName=pmTrackingPEContextName, pmTrackingPEContextEngineID=pmTrackingPEContextEngineID, pmTrackingPEInfo=pmTrackingPEInfo, pmTrackingEPTable=pmTrackingEPTable, pmTrackingEPEntry=pmTrackingEPEntry, pmTrackingEPElement=pmTrackingEPElement, pmTrackingEPContextName=pmTrackingEPContextName, pmTrackingEPContextEngineID=pmTrackingEPContextEngineID, pmTrackingEPStatus=pmTrackingEPStatus, pmDebuggingTable=pmDebuggingTable, pmDebuggingEntry=pmDebuggingEntry, pmDebuggingElement=pmDebuggingElement, pmDebuggingContextName=pmDebuggingContextName, pmDebuggingContextEngineID=pmDebuggingContextEngineID, pmDebuggingLogIndex=pmDebuggingLogIndex, pmDebuggingMessage=pmDebuggingMessage, pmConformance=pmConformance, pmCompliances=pmCompliances, pmGroups=pmGroups, pmBaseFunctionLibrary=pmBaseFunctionLibrary) # Notifications mibBuilder.exportSymbols("POLICY-BASED-MANAGEMENT-MIB", pmNewRoleNotification=pmNewRoleNotification, pmNewCapabilityNotification=pmNewCapabilityNotification, pmAbnormalTermNotification=pmAbnormalTermNotification) # Groups mibBuilder.exportSymbols("POLICY-BASED-MANAGEMENT-MIB", pmPolicyManagementGroup=pmPolicyManagementGroup, pmSchedGroup=pmSchedGroup, pmNotificationGroup=pmNotificationGroup) # Compliances mibBuilder.exportSymbols("POLICY-BASED-MANAGEMENT-MIB", pmCompliance=pmCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/VDSL-LINE-MIB.py0000644000014400001440000026514311736645141020741 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python VDSL-LINE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:49 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( HCPerfCurrentCount, HCPerfIntervalCount, HCPerfIntervalThreshold, HCPerfInvalidIntervals, HCPerfTimeElapsed, HCPerfValidIntervals, ) = mibBuilder.importSymbols("HC-PerfHist-TC-MIB", "HCPerfCurrentCount", "HCPerfIntervalCount", "HCPerfIntervalThreshold", "HCPerfInvalidIntervals", "HCPerfTimeElapsed", "HCPerfValidIntervals") ( ZeroBasedCounter64, ) = mibBuilder.importSymbols("HCNUM-TC", "ZeroBasedCounter64") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TruthValue") # Types class VdslLineCodingType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("other", 1), ("mcm", 2), ("scm", 3), ) class VdslLineEntity(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("vtuc", 1), ("vtur", 2), ) # Objects vdslMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 97)).setRevisions(("2004-02-19 00:00",)) if mibBuilder.loadTexts: vdslMIB.setOrganization("ADSLMIB Working Group") if mibBuilder.loadTexts: vdslMIB.setContactInfo("WG-email: adslmib@ietf.org\nInfo: https://www1.ietf.org/mailman/listinfo/adslmib\n\nChair: Mike Sneed\n Sand Channel Systems\nPostal: P.O. Box 37324\n Raleigh, NC 27627-7324\n USA\nEmail: sneedmike@hotmail.com\nPhone: +1 206 600 7022\n\nCo-editor: Bob Ray\n PESA Switching Systems, Inc.\nPostal: 330-A Wynn Drive\n Huntsville, AL 35805\n USA\nEmail: rray@pesa.com\nPhone: +1 256 726 9200 ext. 142\n\nCo-editor: Rajesh Abbi\n Alcatel USA\nPostal: 2301 Sugar Bush Road\n Raleigh, NC 27612-3339\n USA\nEmail: Rajesh.Abbi@alcatel.com\nPhone: +1 919 850 6194") if mibBuilder.loadTexts: vdslMIB.setDescription("The MIB module defining objects for the management of a pair\nof VDSL transceivers at each end of the VDSL line. Each such\nline has an entry in an ifTable which may include multiple\ntransceiver lines. An agent may reside at either end of the\nVDSL line. However, the MIB is designed to require no\nmanagement communication between them beyond that inherent in\nthe low-level VDSL line protocol. The agent may monitor and\ncontrol this protocol for its needs.\n\n\n\nVDSL lines may support optional Fast or Interleaved channels.\nIf these are supported, additional entries corresponding to the\nsupported channels must be created in the ifTable. Thus a VDSL\nline that supports both channels will have three entries in the\nifTable, one for each physical, fast, and interleaved, whose\nifType values are equal to vdsl(97), fast(125), and\ninterleaved(124), respectively. The ifStackTable is used to\nrepresent the relationship between the entries.\n\nNaming Conventions:\n Vtuc -- (VTUC) transceiver at near (Central) end of line\n Vtur -- (VTUR) transceiver at Remote end of line\n Vtu -- One of either Vtuc or Vtur\n Curr -- Current\n Prev -- Previous\n Atn -- Attenuation\n ES -- Errored Second.\n SES -- Severely Errored Second\n UAS -- Unavailable Second\n LCS -- Line Code Specific\n Lof -- Loss of Frame\n Lol -- Loss of Link\n Los -- Loss of Signal\n Lpr -- Loss of Power\n xxxs -- Sum of Seconds in which xxx has occured\n (e.g., xxx = Lof, Los, Lpr, Lol)\n Max -- Maximum\n Mgn -- Margin\n Min -- Minimum\n Psd -- Power Spectral Density\n Snr -- Signal to Noise Ratio\n Tx -- Transmit\n Blks -- Blocks\n\nCopyright (C) The Internet Society (2004). This version\nof this MIB module is part of RFC 3728: see the RFC\nitself for full legal notices.") vdslLineMib = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 97, 1)) vdslNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 97, 1, 0)) vdslMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 97, 1, 1)) vdslLineTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 1)) if mibBuilder.loadTexts: vdslLineTable.setDescription("This table includes common attributes describing\nboth ends of the line. It is required for all VDSL\nphysical interfaces. VDSL physical interfaces are\nthose ifEntries where ifType is equal to vdsl(97).") vdslLineEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: vdslLineEntry.setDescription("An entry in the vdslLineTable.") vdslLineCoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 1, 1, 1), VdslLineCodingType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineCoding.setDescription("Specifies the VDSL coding type used on this line.") vdslLineType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,5,)).subtype(namedValues=NamedValues(("noChannel", 1), ("fastOnly", 2), ("interleavedOnly", 3), ("fastOrInterleaved", 4), ("fastAndInterleaved", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineType.setDescription("Defines the type of VDSL physical line entity that exists,\nby defining whether and how the line is channelized. If\n\n\n\n\n\n\n\n\n\nthe line is channelized, the value will be other than\nnoChannel(1). This object defines which channel type(s)\nare supported. Defined values are:\n\nnoChannel(1) -- no channels exist\nfastOnly(2) -- only fast channel exists\ninterleavedOnly(3) -- only interleaved channel exists\nfastOrInterleaved(4) -- either fast or interleaved channel\n -- exist, but only one at a time\nfastAndInterleaved(5) -- both fast and interleaved channels\n -- exist\n\nNote that 'slow' and 'interleaved' refer to the same\nchannel. In the case that the line is channelized, the\nmanager can use the ifStackTable to determine the ifIndex\nfor the associated channel(s).") vdslLineConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('DEFVAL')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vdslLineConfProfile.setDescription("The value of this object identifies the row in the VDSL\nLine Configuration Profile Table, vdslLineConfProfileTable,\nwhich applies for this VDSL line, and channels if\napplicable.\n\nThis object MUST be maintained in a persistent manner.") vdslLineAlarmConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 1, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('DEFVAL')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vdslLineAlarmConfProfile.setDescription("The value of this object identifies the row in the VDSL\nLine Alarm Configuration Profile Table,\nvdslLineAlarmConfProfileTable, which applies to this\nVDSL line, and channels if applicable.\n\nThis object MUST be maintained in a persistent manner.") vdslPhysTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2)) if mibBuilder.loadTexts: vdslPhysTable.setDescription("This table provides one row for each Vtu. Each row\ncontains the Physical Layer Parameters table for that\nVtu. VDSL physical interfaces are those ifEntries where\nifType is equal to vdsl(97).") vdslPhysEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide")) if mibBuilder.loadTexts: vdslPhysEntry.setDescription("An entry in the vdslPhysTable.") vdslPhysSide = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 1), VdslLineEntity()).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslPhysSide.setDescription("Identifies whether the transceiver is the Vtuc or Vtur.") vdslPhysInvSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysInvSerialNumber.setDescription("The vendor specific string that identifies the\n\n\n\nvendor equipment.") vdslPhysInvVendorID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysInvVendorID.setDescription("The vendor ID code is a copy of the binary vendor\nidentification field expressed as readable characters\nin hexadecimal notation.") vdslPhysInvVersionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysInvVersionNumber.setDescription("The vendor specific version number sent by this Vtu\nas part of the initialization messages. It is a copy\nof the binary version number field expressed as\nreadable characters in hexadecimal notation.") vdslPhysCurrSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysCurrSnrMgn.setDescription("Noise Margin as seen by this Vtu with respect to its\nreceived signal in 0.25dB. The effective range is\n-31.75 to +31.75 dB.") vdslPhysCurrAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 6), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysCurrAtn.setDescription("Measured difference in the total power transmitted by\nthe peer Vtu and the total power received by this Vtu.\nThe effective range is 0 to +63.75 dB.") vdslPhysCurrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 7), Bits().subtype(namedValues=NamedValues(("noDefect", 0), ("lossOfFraming", 1), ("lossOfSignal", 2), ("lossOfPower", 3), ("lossOfSignalQuality", 4), ("lossOfLink", 5), ("dataInitFailure", 6), ("configInitFailure", 7), ("protocolInitFailure", 8), ("noPeerVtuPresent", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysCurrStatus.setDescription("Indicates current state of the Vtu line. This is a\nbit-map of possible conditions. The various bit\npositions are:\n\n0 noDefect There are no defects on the line.\n\n1 lossOfFraming Vtu failure due to not receiving\n a valid frame.\n\n2 lossOfSignal Vtu failure due to not receiving\n signal.\n\n3 lossOfPower Vtu failure due to loss of power.\n\n4 lossOfSignalQuality Loss of Signal Quality is declared\n when the Noise Margin falls below\n the Minimum Noise Margin, or the\n bit-error-rate exceeds 10^-7.\n\n5 lossOfLink Vtu failure due to inability to\n link with peer Vtu. Set whenever\n the transceiver is in the 'Warm\n Start' state.\n\n6 dataInitFailure Vtu failure during initialization\n due to bit errors corrupting\n startup exchange data.\n\n\n\n\n7 configInitFailure Vtu failure during initialization\n due to peer Vtu not able to\n support requested configuration.\n\n8 protocolInitFailure Vtu failure during initialization\n due to incompatible protocol used\n by the peer Vtu.\n\n9 noPeerVtuPresent Vtu failure during initialization\n due to no activation sequence\n detected from peer Vtu.\n\nThis is intended to supplement ifOperStatus.") vdslPhysCurrOutputPwr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 160))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysCurrOutputPwr.setDescription("Measured total output power transmitted by this VTU.\nThis is the measurement that was reported during\nthe last activation sequence.") vdslPhysCurrAttainableRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysCurrAttainableRate.setDescription("Indicates the maximum currently attainable data rate\nin steps of 1000 bits/second by the Vtu. This value\nwill be equal to or greater than vdslPhysCurrLineRate.\nNote that for SCM, the minimum and maximum data rates\nare equal. Note: 1 kbps = 1000 bps.") vdslPhysCurrLineRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 2, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPhysCurrLineRate.setDescription("Indicates the current data rate in steps of 1000\nbits/second by the Vtu. This value will be less than\nor equal to vdslPhysCurrAttainableRate. Note: 1 kbps =\n1000 bps.") vdslChanTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 3)) if mibBuilder.loadTexts: vdslChanTable.setDescription("This table provides one row for each Vtu channel.\nVDSL channel interfaces are those ifEntries where\nifType is equal to interleave(124) or fast(125).") vdslChanEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide")) if mibBuilder.loadTexts: vdslChanEntry.setDescription("An entry in the vdslChanTable.") vdslChanInterleaveDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 3, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanInterleaveDelay.setDescription("Interleave Delay for this channel.\n\nInterleave delay applies only to the interleave\n(slow) channel and defines the mapping (relative\nspacing) between subsequent input bytes at the\n\n\n\ninterleaver input and their placement in the bit\nstream at the interleaver output. Larger numbers\nprovide greater separation between consecutive\ninput bytes in the output bit stream allowing for\nimproved impulse noise immunity at the expense of\npayload latency.\n\nIn the case where the ifType is fast(125), return\na value of zero.") vdslChanCrcBlockLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 3, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCrcBlockLength.setDescription("Indicates the length of the channel data-block\non which the CRC operates.") vdslChanCurrTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 3, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurrTxRate.setDescription("Actual transmit data rate on this channel. Note: 1\nkbps = 1000 bps.") vdslChanCurrTxSlowBurstProtect = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 3, 1, 4), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 1275))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurrTxSlowBurstProtect.setDescription("Actual level of impulse noise (burst) protection\nfor an interleaved (slow) channel. This parameter is\nnot applicable to fast channels. For fast channels,\na value of zero shall be returned.") vdslChanCurrTxFastFec = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 3, 1, 5), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 50))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurrTxFastFec.setDescription("Actual Forward Error Correction (FEC) redundancy\nrelated overhead for a fast channel. This parameter\nis not applicable to an interleaved (slow) channel.\nFor interleaved channels, a value of zero shall be\nreturned.") vdslPerfDataTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4)) if mibBuilder.loadTexts: vdslPerfDataTable.setDescription("This table provides one row for each VDSL physical\ninterface. VDSL physical interfaces are those ifEntries\nwhere ifType is equal to vdsl(97).") vdslPerfDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide")) if mibBuilder.loadTexts: vdslPerfDataEntry.setDescription("An entry in the vdslPerfDataTable.") vdslPerfDataValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 1), HCPerfValidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataValidIntervals.setDescription("Valid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslPerfDataInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 2), HCPerfInvalidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataInvalidIntervals.setDescription("Invalid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslPerfDataLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataLofs.setDescription("Count of seconds since the unit was last reset that there\nwas Loss of Framing.") vdslPerfDataLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataLoss.setDescription("Count of seconds since the unit was last reset that there\nwas Loss of Signal.") vdslPerfDataLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataLprs.setDescription("Count of seconds since the unit was last reset that there\nwas Loss of Power.") vdslPerfDataLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataLols.setDescription("Count of seconds since the unit was last reset that there\nwas Loss of Link.") vdslPerfDataESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataESs.setDescription("Count of Errored Seconds since the unit was last reset.\nAn Errored Second is a one-second interval containing one\nor more CRC anomalies, or one or more LOS or LOF defects.") vdslPerfDataSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataSESs.setDescription("Count of Severely Errored Seconds since the unit was last\nreset.") vdslPerfDataUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataUASs.setDescription("Count of Unavailable Seconds since the unit was last\nreset.") vdslPerfDataInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataInits.setDescription("Count of the line initialization attempts since the unit\nwas last reset. This count includes both successful and\nfailed attempts.") vdslPerfDataCurr15MinTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 11), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinTimeElapsed.setDescription("Total elapsed seconds in this interval.") vdslPerfDataCurr15MinLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 12), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinLofs.setDescription("Count of seconds during this interval that there\nwas Loss of Framing.") vdslPerfDataCurr15MinLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 13), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinLoss.setDescription("Count of seconds during this interval that there\nwas Loss of Signal.") vdslPerfDataCurr15MinLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 14), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinLprs.setDescription("Count of seconds during this interval that there\nwas Loss of Power.") vdslPerfDataCurr15MinLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 15), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinLols.setDescription("Count of seconds during this interval that there\nwas Loss of Link.") vdslPerfDataCurr15MinESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 16), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinESs.setDescription("Count of Errored Seconds during this interval. An Errored\nSecond is a one-second interval containing one or more CRC\nanomalies, or one or more LOS or LOF defects.") vdslPerfDataCurr15MinSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 17), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinSESs.setDescription("Count of Severely Errored Seconds during this interval.") vdslPerfDataCurr15MinUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 18), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinUASs.setDescription("Count of Unavailable Seconds during this interval.") vdslPerfDataCurr15MinInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 19), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr15MinInits.setDescription("Count of the line initialization attempts during this\ninterval. This count includes both successful and\nfailed attempts.") vdslPerfData1DayValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 20), HCPerfValidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfData1DayValidIntervals.setDescription("Valid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslPerfData1DayInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 21), HCPerfInvalidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfData1DayInvalidIntervals.setDescription("Invalid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslPerfDataCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 22), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayTimeElapsed.setDescription("Number of seconds that have elapsed since the beginning\nof the current 1-day interval.") vdslPerfDataCurr1DayLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 23), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayLofs.setDescription("Count of Loss of Framing (LOF) Seconds since the\nbeginning of the current 1-day interval.") vdslPerfDataCurr1DayLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 24), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayLoss.setDescription("Count of Loss of Signal (LOS) Seconds since the beginning\nof the current 1-day interval.") vdslPerfDataCurr1DayLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 25), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayLprs.setDescription("Count of Loss of Power (LPR) Seconds since the beginning\nof the current 1-day interval.") vdslPerfDataCurr1DayLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 26), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayLols.setDescription("Count of Loss of Link (LOL) Seconds since the beginning\nof the current 1-day interval.") vdslPerfDataCurr1DayESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 27), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayESs.setDescription("Count of Errored Seconds (ES) since the beginning\nof the current 1-day interval.") vdslPerfDataCurr1DaySESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 28), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DaySESs.setDescription("Count of Severely Errored Seconds (SES) since the\nbeginning of the current 1-day interval.") vdslPerfDataCurr1DayUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 29), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayUASs.setDescription("Count of Unavailable Seconds (UAS) since the beginning\nof the current 1-day interval.") vdslPerfDataCurr1DayInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 4, 1, 30), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfDataCurr1DayInits.setDescription("Count of the line initialization attempts since the\nbeginning of the current 1-day interval. This count\nincludes both successful and failed attempts.") vdslPerfIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5)) if mibBuilder.loadTexts: vdslPerfIntervalTable.setDescription("This table provides one row for each Vtu performance\ndata collection interval. VDSL physical interfaces are\n\n\n\nthose ifEntries where ifType is equal to vdsl(97).") vdslPerfIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide"), (0, "VDSL-LINE-MIB", "vdslPerfIntervalNumber")) if mibBuilder.loadTexts: vdslPerfIntervalEntry.setDescription("An entry in the vdslPerfIntervalTable.") vdslPerfIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslPerfIntervalNumber.setDescription("Performance Data Interval number 1 is the most recent\nprevious interval; interval 96 is 24 hours ago.\nIntervals 2 to 96 are optional.") vdslPerfIntervalLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 2), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalLofs.setDescription("Count of seconds in the interval when there was Loss\nof Framing.") vdslPerfIntervalLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 3), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalLoss.setDescription("Count of seconds in the interval when there was Loss\nof Signal.") vdslPerfIntervalLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 4), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalLprs.setDescription("Count of seconds in the interval when there was Loss\nof Power.") vdslPerfIntervalLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 5), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalLols.setDescription("Count of seconds in the interval when there was Loss\nof Link.") vdslPerfIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 6), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalESs.setDescription("Count of Errored Seconds (ES) in the interval. An Errored\nSecond is a one-second interval containing one or more CRC\nanomalies, one or more LOS or LOF defects.") vdslPerfIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 7), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalSESs.setDescription("Count of Severely Errored Seconds in the interval.") vdslPerfIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 8), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalUASs.setDescription("Count of Unavailable Seconds in the interval.") vdslPerfIntervalInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 5, 1, 9), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerfIntervalInits.setDescription("Count of the line initialization attempts during this\ninterval. This count includes both successful and\nfailed attempts.") vdslPerf1DayIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6)) if mibBuilder.loadTexts: vdslPerf1DayIntervalTable.setDescription("This table provides one row for each VDSL performance\ndata collection interval. This table contains live data\nfrom equipment. As such, it is NOT persistent.") vdslPerf1DayIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide"), (0, "VDSL-LINE-MIB", "vdslPerf1DayIntervalNumber")) if mibBuilder.loadTexts: vdslPerf1DayIntervalEntry.setDescription("An entry in the vdslPerf1DayIntervalTable.") vdslPerf1DayIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslPerf1DayIntervalNumber.setDescription("History Data Interval number. Interval 1 is the most\nrecent previous day; interval 30 is 30 days ago. Intervals\n2 to 30 are optional.") vdslPerf1DayIntervalMoniSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 2), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalMoniSecs.setDescription("The amount of time in the 1-day interval over which the\nperformance monitoring information is actually counted.\nThis value will be the same as the interval duration except\nin a situation where performance monitoring data could not\nbe collected for any reason.") vdslPerf1DayIntervalLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalLofs.setDescription("Count of Loss of Frame (LOF) Seconds during the 1-day\ninterval as measured by vdslPerf1DayIntervalMoniSecs.") vdslPerf1DayIntervalLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalLoss.setDescription("Count of Loss of Signal (LOS) Seconds during the 1-day\ninterval as measured by vdslPerf1DayIntervalMoniSecs.") vdslPerf1DayIntervalLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalLprs.setDescription("Count of Loss of Power (LPR) Seconds during the 1-day\ninterval as measured by vdslPerf1DayIntervalMoniSecs.") vdslPerf1DayIntervalLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalLols.setDescription("Count of Loss of Link (LOL) Seconds during the 1-day\ninterval as measured by vdslPerf1DayIntervalMoniSecs.") vdslPerf1DayIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalESs.setDescription("Count of Errored Seconds (ES) during the 1-day\ninterval as measured by vdslPerf1DayIntervalMoniSecs.") vdslPerf1DayIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalSESs.setDescription("Count of Severely Errored Seconds (SES) during the 1-day\ninterval as measured by vdslPerf1DayIntervalMoniSecs.") vdslPerf1DayIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalUASs.setDescription("Count of Unavailable Seconds (UAS) during the 1-day\ninterval as measured by vdslPerf1DayIntervalMoniSecs.") vdslPerf1DayIntervalInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 6, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslPerf1DayIntervalInits.setDescription("Count of the line initialization attempts during the\n1-day interval as measured by vdslPerf1DayIntervalMoniSecs.\nThis count includes both successful and failed attempts.") vdslChanPerfDataTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7)) if mibBuilder.loadTexts: vdslChanPerfDataTable.setDescription("This table provides one row for each Vtu channel.\nVDSL channel interfaces are those ifEntries where\nifType is equal to interleave(124) or fast(125).") vdslChanPerfDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide")) if mibBuilder.loadTexts: vdslChanPerfDataEntry.setDescription("An entry in the vdslChanPerfDataTable.") vdslChanValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 1), HCPerfValidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanValidIntervals.setDescription("Valid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslChanInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 2), HCPerfInvalidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanInvalidIntervals.setDescription("Invalid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslChanFixedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 3), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanFixedOctets.setDescription("Count of corrected octets since the unit was last reset.") vdslChanBadBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanBadBlks.setDescription("Count of uncorrectable blocks since the unit was last\nreset.") vdslChanCurr15MinTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 5), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurr15MinTimeElapsed.setDescription("Total elapsed seconds in this interval.") vdslChanCurr15MinFixedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 6), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurr15MinFixedOctets.setDescription("Count of corrected octets in this interval.") vdslChanCurr15MinBadBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 7), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurr15MinBadBlks.setDescription("Count of uncorrectable blocks in this interval.") vdslChan1DayValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 8), HCPerfValidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChan1DayValidIntervals.setDescription("Valid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslChan1DayInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 9), HCPerfInvalidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChan1DayInvalidIntervals.setDescription("Invalid Intervals per definition found in\nHC-PerfHist-TC-MIB.") vdslChanCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 10), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurr1DayTimeElapsed.setDescription("Number of seconds that have elapsed since the beginning\nof the current 1-day interval.") vdslChanCurr1DayFixedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 11), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurr1DayFixedOctets.setDescription("Count of corrected octets since the beginning of the\ncurrent 1-day interval.") vdslChanCurr1DayBadBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 7, 1, 12), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanCurr1DayBadBlks.setDescription("Count of uncorrectable blocks since the beginning of the\ncurrent 1-day interval.") vdslChanIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 8)) if mibBuilder.loadTexts: vdslChanIntervalTable.setDescription("This table provides one row for each Vtu channel data\ncollection interval. VDSL channel interfaces are those\nifEntries where ifType is equal to interleave(124) or\nfast(125).") vdslChanIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide"), (0, "VDSL-LINE-MIB", "vdslChanIntervalNumber")) if mibBuilder.loadTexts: vdslChanIntervalEntry.setDescription("An entry in the vdslChanIntervalTable.") vdslChanIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 8, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslChanIntervalNumber.setDescription("Performance Data Interval number 1 is the most recent\nprevious interval; interval 96 is 24 hours ago.\nIntervals 2 to 96 are optional.") vdslChanIntervalFixedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 8, 1, 2), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanIntervalFixedOctets.setDescription("Count of corrected octets in this interval.") vdslChanIntervalBadBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 8, 1, 3), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChanIntervalBadBlks.setDescription("Count of uncorrectable blocks in this interval.") vdslChan1DayIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 9)) if mibBuilder.loadTexts: vdslChan1DayIntervalTable.setDescription("This table provides one row for each VDSL performance\ndata collection interval. This table contains live data\nfrom equipment. As such, it is NOT persistent.") vdslChan1DayIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-MIB", "vdslPhysSide"), (0, "VDSL-LINE-MIB", "vdslChan1DayIntervalNumber")) if mibBuilder.loadTexts: vdslChan1DayIntervalEntry.setDescription("An entry in the vdslChan1DayIntervalTable.") vdslChan1DayIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 9, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslChan1DayIntervalNumber.setDescription("History Data Interval number. Interval 1 is the most\nrecent previous day; interval 30 is 30 days ago. Intervals\n2 to 30 are optional.") vdslChan1DayIntervalMoniSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 9, 1, 2), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChan1DayIntervalMoniSecs.setDescription("The amount of time in the 1-day interval over which the\nperformance monitoring information is actually counted.\nThis value will be the same as the interval duration except\nin a situation where performance monitoring data could not\nbe collected for any reason.") vdslChan1DayIntervalFixedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 9, 1, 3), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChan1DayIntervalFixedOctets.setDescription("Count of corrected octets in this interval.") vdslChan1DayIntervalBadBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 9, 1, 4), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslChan1DayIntervalBadBlks.setDescription("Count of uncorrectable blocks in this interval.") vdslLineConfProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11)) if mibBuilder.loadTexts: vdslLineConfProfileTable.setDescription("This table contains information on the VDSL line\nconfiguration. One entry in this table reflects a\nprofile defined by a manager which can be used to\nconfigure the VDSL line.\n\nEntries in this table MUST be maintained in a\npersistent manner.") vdslLineConfProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName")) if mibBuilder.loadTexts: vdslLineConfProfileEntry.setDescription("Each entry consists of a list of parameters that\nrepresents the configuration of a VDSL line.\n\nA default profile with an index of 'DEFVAL', will\nalways exist and its parameters will be set to vendor\nspecific values, unless otherwise specified in this\ndocument.") vdslLineConfProfileName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineConfProfileName.setDescription("This object identifies a row in this table.\n\nA default profile with an index of 'DEFVAL', will\nalways exist and its parameters will be set to vendor\nspecific values, unless otherwise specified in this\ndocument.") vdslLineConfDownRateMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("manual", 1), ("adaptAtInit", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownRateMode.setDescription("Specifies the rate selection behavior for the line\nin the downstream direction.\n\nmanual(1) forces the rate to the configured rate\nadaptAtInit(2) adapts the line based upon line quality.") vdslLineConfUpRateMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("manual", 1), ("adaptAtInit", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpRateMode.setDescription("Specifies the rate selection behavior for the line\nin the upstream direction.\n\nmanual(1) forces the rate to the configured rate\nadaptAtInit(2) adapts the line based upon line quality.") vdslLineConfDownMaxPwr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 58)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownMaxPwr.setDescription("Specifies the maximum aggregate downstream power\nlevel in the range 0 to 14.5 dBm.") vdslLineConfUpMaxPwr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 58)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpMaxPwr.setDescription("Specifies the maximum aggregate upstream power\nlevel in the range 0 to 14.5 dBm.") vdslLineConfDownMaxSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownMaxSnrMgn.setDescription("Specifies the maximum downstream Signal/Noise Margin\nin units of 0.25 dB, for a range of 0 to 31.75 dB.") vdslLineConfDownMinSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownMinSnrMgn.setDescription("Specifies the minimum downstream Signal/Noise Margin\nin units of 0.25 dB, for a range of 0 to 31.75 dB.") vdslLineConfDownTargetSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownTargetSnrMgn.setDescription("Specifies the target downstream Signal/Noise Margin\nin units of 0.25 dB, for a range of 0 to 31.75 dB.\nThis is the Noise Margin the transceivers must achieve\nwith a BER of 10^-7 or better to successfully complete\ninitialization.") vdslLineConfUpMaxSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpMaxSnrMgn.setDescription("Specifies the maximum upstream Signal/Noise Margin\nin units of 0.25 dB, for a range of 0 to 31.75 dB.") vdslLineConfUpMinSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpMinSnrMgn.setDescription("Specifies the minimum upstream Signal/Noise Margin\nin units of 0.25 dB, for a range of 0 to 31.75 dB.") vdslLineConfUpTargetSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpTargetSnrMgn.setDescription("Specifies the target upstream Signal/Noise Margin in\nunits of 0.25 dB, for a range of 0 to 31.75 dB. This\nis the Noise Margin the transceivers must achieve with\na BER of 10^-7 or better to successfully complete\ninitialization.") vdslLineConfDownFastMaxDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 12), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownFastMaxDataRate.setDescription("Specifies the maximum downstream fast channel\ndata rate in steps of 1000 bits/second.") vdslLineConfDownFastMinDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 13), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownFastMinDataRate.setDescription("Specifies the minimum downstream fast channel\ndata rate in steps of 1000 bits/second.") vdslLineConfDownSlowMaxDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 14), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownSlowMaxDataRate.setDescription("Specifies the maximum downstream slow channel\ndata rate in steps of 1000 bits/second.\n\nThe maximum aggregate downstream transmit speed\nof the line can be derived from the sum of maximum\ndownstream fast and slow channel data rates.") vdslLineConfDownSlowMinDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 15), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownSlowMinDataRate.setDescription("Specifies the minimum downstream slow channel\ndata rate in steps of 1000 bits/second.\n\nThe minimum aggregate downstream transmit speed\nof the line can be derived from the sum of minimum\ndownstream fast and slow channel data rates.") vdslLineConfUpFastMaxDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 16), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpFastMaxDataRate.setDescription("Specifies the maximum upstream fast channel\ndata rate in steps of 1000 bits/second.\n\nThe maximum aggregate upstream transmit speed\nof the line can be derived from the sum of maximum\nupstream fast and slow channel data rates.") vdslLineConfUpFastMinDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 17), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpFastMinDataRate.setDescription("Specifies the minimum upstream fast channel\ndata rate in steps of 1000 bits/second.\n\n\n\nThe minimum aggregate upstream transmit speed\nof the line can be derived from the sum of minimum\nupstream fast and slow channel data rates.") vdslLineConfUpSlowMaxDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 18), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpSlowMaxDataRate.setDescription("Specifies the maximum upstream slow channel\ndata rate in steps of 1000 bits/second.") vdslLineConfUpSlowMinDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 19), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpSlowMinDataRate.setDescription("Specifies the minimum upstream slow channel\ndata rate in steps of 1000 bits/second.") vdslLineConfDownRateRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 20), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownRateRatio.setDescription("For dynamic rate adaptation at startup, the allocation\nof data rate in excess of the minimum data rate for each\nchannel is controlled by the object. This object specifies\nthe ratio of the allocation of the excess data rate between\nthe fast and the slow channels. This allocation represents\ndownstream Fast Channel Allocation / Slow Channel\nAllocation.") vdslLineConfUpRateRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 21), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpRateRatio.setDescription("For dynamic rate adaptation at startup, the allocation\nof data rate in excess of the minimum data rate for each\nchannel is controlled by the object. This object specifies\nthe ratio of the allocation of the excess data rate between\nthe fast and the slow channels. This allocation represents\nupstream Fast Channel Allocation/Slow Channel Allocation.") vdslLineConfDownMaxInterDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownMaxInterDelay.setDescription("Specifies the maximum interleave delay for the\ndownstream slow channel.") vdslLineConfUpMaxInterDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 23), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpMaxInterDelay.setDescription("Specifies the maximum interleave delay for the\nupstream slow channel.") vdslLineConfDownPboControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("disabled", 1), ("auto", 2), ("manual", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownPboControl.setDescription("Downstream power backoff (PBO) control for this\nline. For transceivers which do not support downstream\nPBO control, this object MUST be fixed at disabled(1).\nIf auto(2) is selected, the transceiver will automatically\nadjust the power backoff. If manual(3) is selected,\n\n\n\nthen the transceiver will use the value from\nvdslLineConfDownPboLevel.") vdslLineConfUpPboControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("disabled", 1), ("auto", 2), ("manual", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpPboControl.setDescription("Upstream power backoff (PBO) control for this\nline. For transceivers which do not support upstream\nPBO control, this object MUST be fixed at disabled(1).\nIf auto(2) is selected, the transceiver will automatically\nadjust the power backoff. If manual(3) is selected,\nthen the transceiver will use the value from\nvdslLineConfUpPboLevel.") vdslLineConfDownPboLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 26), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 160)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownPboLevel.setDescription("Specifies the downstream backoff level to be used\nwhen vdslLineConfDownPboControl = manual(3).") vdslLineConfUpPboLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 27), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 160)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpPboLevel.setDescription("Specifies the upstream backoff level to be used\nwhen vdslLineConfUpPboControl = manual(3).") vdslLineConfDeploymentScenario = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 28), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("fttCab", 1), ("fttEx", 2), ("other", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDeploymentScenario.setDescription("The VDSL line deployment scenario. When using\nfttCab(1), the VTU-C is located in a street cabinet.\nWhen using fttEx(2), the VTU-C is located at the\ncentral office. Changes to this value will have\nno effect on the transceiver.") vdslLineConfAdslPresence = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 29), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("adslOverPots", 2), ("adslOverISDN", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfAdslPresence.setDescription("Indicates presence of ADSL service in the associated\ncable bundle/binder.\n\nnone(1) indicates no ADSL service in the bundle\nadslOverPots(2) indicates ADSL service over POTS is\n present in the bundle\nadslOverISDN(3) indicates ADSL service over ISDN is\n present in the bundle") vdslLineConfApplicableStandard = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 30), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("ansi", 1), ("etsi", 2), ("itu", 3), ("other", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfApplicableStandard.setDescription("The VDSL standard to be used for the line.\n\nansi(1) indicates ANSI standard\netsi(2) indicates ETSI standard\nitu(3) indicates ITU standard\nother(4) indicates a standard other than the above.") vdslLineConfBandPlan = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 31), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("bandPlan997", 1), ("bandPlan998", 2), ("bandPlanFx", 3), ("other", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfBandPlan.setDescription("The VDSL band plan to be used for the line.\n\nbandPlan997(1) is to be used for\n ITU-T G.993.1 Bandplan-B\n ETSI Bandplan\n ANSI Plan 997\n\nbandPlan998(2) is to be used for\n ITU-T G.993.1 Bandplan-A\n ANSI Plan 998\n\nbandPlanFx(3) is to be used for\n ITU-T G.993.1 Bandplan-C.\n\nother(4) is to be used for\n non-standard bandplans.\n\nIf this object is set to bandPlanFx(3), then the\nobject vdslLineConfBandPlanFx MUST also be set.") vdslLineConfBandPlanFx = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 32), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(3750, 12000)).clone(3750)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfBandPlanFx.setDescription("The frequency limit between bands D2 and U2 when\nvdslLineConfBandPlan is set to bandPlanFx(3).") vdslLineConfBandOptUsage = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 33), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("unused", 1), ("upstream", 2), ("downstream", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfBandOptUsage.setDescription("Defines the VDSL link use of the optional frequency\nrange [25kHz - 138kHz] (Opt).\n\nunused(1) indicates Opt is unused\nupstream(2) indicates Opt usage is for upstream\ndownstream(3) indicates Opt usage is for downstream.") vdslLineConfUpPsdTemplate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 34), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("templateMask1", 1), ("templateMask2", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpPsdTemplate.setDescription("The upstream PSD template to be used for the line.\nHere, templateMask1(1) refers to a notched mask that\nlimits the transmitted PSD within the internationally\nstandardized HAM (Handheld Amateur Radio) radio bands,\nwhile templateMask2(2) refers to an unnotched mask.\n\nThe masks themselves depend upon the applicable\nstandard being used (vdslLineConfApplicableStandard).") vdslLineConfDownPsdTemplate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 35), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("templateMask1", 1), ("templateMask2", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownPsdTemplate.setDescription("The downstream PSD template to be used for the line.\nHere, templateMask1(1) refers to a notched mask that\nlimits the transmitted PSD within the internationally\nstandardized HAM (Handheld Amateur Radio) radio bands,\nwhile templateMask2(2) refers to an unnotched mask.\n\nThe masks themselves depend upon the applicable\nstandard being used (vdslLineConfApplicableStandard).") vdslLineConfHamBandMask = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 36), Bits().subtype(namedValues=NamedValues(("customNotch1", 0), ("customNotch2", 1), ("amateurBand30m", 2), ("amateurBand40m", 3), ("amateurBand80m", 4), ("amateurBand160m", 5), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfHamBandMask.setDescription("The transmit power spectral density mask code, used\nto avoid interference with HAM (Handheld Amateur Radio)\nradio bands by introducing power control (notching) in one\nor more of these bands.\n\nAmateur radio band notching is defined in the VDSL\nspectrum as follows:\n\nBand Start Frequency Stop Frequency\n---- ------------------ --------------------------------\n30m 1810 kHz 2000 kHz\n40m 3500 kHz 3800 kHz (ETSI); 4000 kHz (ANSI)\n80m 7000 kHz 7100 kHz (ETSI); 7300 kHz (ANSI)\n160m 10100 kHz 10150 kHz\n\n\n\nNotching for each standard band can be enabled or disabled\nvia the bit mask.\n\nTwo custom notches may be specified. If either of these\nare enabled via the bit mask, then the following objects\nMUST be specified:\n\nIf customNotch1 is enabled, then both\n vdslLineConfCustomNotch1Start\n vdslLineConfCustomNotch1Stop\nMUST be specified.\n\nIf customNotch2 is enabled, then both\n vdslLineConfCustomNotch2Start\n vdslLineConfCustomNotch2Stop\nMUST be specified.") vdslLineConfCustomNotch1Start = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 37), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfCustomNotch1Start.setDescription("Specifies the start frequency of custom HAM (Handheld\nAmateur Radio) notch 1. vdslLineConfCustomNotch1Start MUST\nbe less than or equal to vdslLineConfCustomNotch1Stop.") vdslLineConfCustomNotch1Stop = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 38), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfCustomNotch1Stop.setDescription("Specifies the stop frequency of custom HAM (Handheld\nAmateur Radio) notch 1. vdslLineConfCustomNotch1Stop MUST\nbe greater than or equal to vdslLineConfCustomNotch1Start.") vdslLineConfCustomNotch2Start = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 39), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfCustomNotch2Start.setDescription("Specifies the start frequency of custom HAM (Handheld\nAmateur Radio) notch 2. vdslLineConfCustomNotch2Start MUST\nbe less than or equal to vdslLineConfCustomNotch2Stop.") vdslLineConfCustomNotch2Stop = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 40), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfCustomNotch2Stop.setDescription("Specifies the stop frequency of custom HAM (Handheld\nAmateur Radio) notch 2. vdslLineConfCustomNotch2Stop MUST\nbe greater than or equal to vdslLineConfCustomNotch2Start.") vdslLineConfDownTargetSlowBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 41), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1275)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownTargetSlowBurst.setDescription("Specifies the target level of impulse noise (burst)\nprotection for an interleaved (slow) channel.") vdslLineConfUpTargetSlowBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 42), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1275)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpTargetSlowBurst.setDescription("Specifies the target level of impulse noise (burst)\nprotection for an interleaved (slow) channel.") vdslLineConfDownMaxFastFec = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 43), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 50)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfDownMaxFastFec.setDescription("This parameter provisions the maximum level of Forward\nError Correction (FEC) redundancy related overhead to\nbe maintained for a fast channel.") vdslLineConfUpMaxFastFec = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 44), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 50)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfUpMaxFastFec.setDescription("This parameter provisions the maximum level of Forward\nError Correction (FEC) redundancy related overhead to\nbe maintained for a fast channel.") vdslLineConfLineType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 45), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,5,)).subtype(namedValues=NamedValues(("noChannel", 1), ("fastOnly", 2), ("interleavedOnly", 3), ("fastOrInterleaved", 4), ("fastAndInterleaved", 5), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfLineType.setDescription("This parameter provisions the VDSL physical entity at\nstart-up by defining whether and how the line will be\nchannelized, i.e., which channel type(s) are supported.\nIf the line is to be channelized, the value will be other\nthan noChannel(1).\n\nThis configuration can be activated only during start-up.\nAfterwards, the value of vdslLineType coincides with the\nvalue of vdslLineConfLineType. Depending on this value,\nthe corresponding entries in the ifTable for the\ninterleaved and the fast channels are enabled or disabled\naccording to the value of their ifOperStatus.\n\nDefined values are:\n\n\n\nnoChannel(1) -- no channels exist\nfastOnly(2) -- only fast channel exists\ninterleavedOnly(3) -- only interleaved channel exists\nfastOrInterleaved(4) -- either fast or interleaved channel\n -- exists, but only one at a time\nfastAndInterleaved(5) -- both fast and interleaved channels\n -- exist\n\nNote that 'slow' and 'interleaved' refer to the same\nchannel.") vdslLineConfProfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 11, 1, 46), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineConfProfRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile activated by setting this object to 'active'.\nWhen 'active' is set, the system will validate the profile.\n\nBefore a profile can be deleted or taken out of service\n(by setting this object to 'destroy' or 'outOfService'),\nit must be first unreferenced from all associated lines.\n\nAn 'active' profile may be modified at any time. Note\nthat some changes may require that any referenced lines be\nrestarted (e.g., vdslLineConfLineType).") vdslLineAlarmConfProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20)) if mibBuilder.loadTexts: vdslLineAlarmConfProfileTable.setDescription("This table contains information on the VDSL line alarm\nconfiguration. One entry in this table reflects a profile\ndefined by a manager which can be used to configure the\nVDSL line alarm thresholds.\n\n\n\n\nEntries in this table MUST be maintained in a\npersistent manner.") vdslLineAlarmConfProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineAlarmConfProfileName")) if mibBuilder.loadTexts: vdslLineAlarmConfProfileEntry.setDescription("Each entry consists of a list of parameters that\nrepresents the configuration of a VDSL line alarm\nprofile.\n\nA default profile with an index of 'DEFVAL', will\nalways exist and its parameters will be set to vendor\nspecific values, unless otherwise specified in this\ndocument.") vdslLineAlarmConfProfileName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineAlarmConfProfileName.setDescription("The name for this profile as specified by an\nadministrator.") vdslLineAlarmConfThresh15MinLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 2), HCPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfThresh15MinLofs.setDescription("This object configures the threshold for the number of\nloss of frame seconds (lofs) within any given 15-minute\nperformance data collection interval. If the value of\nloss of frame seconds in a particular 15-minute collection\ninterval reaches/exceeds this value, a\nvdslPerfLofsThreshNotification notification will be\ngenerated. No more than one notification will be sent\nper interval.") vdslLineAlarmConfThresh15MinLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 3), HCPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfThresh15MinLoss.setDescription("This object configures the threshold for the number of\nloss of signal seconds (loss) within any given 15-minute\nperformance data collection interval. If the value of\nloss of signal seconds in a particular 15-minute\ncollection interval reaches/exceeds this value, a\nvdslPerfLossThreshNotification notification will be\ngenerated. One notification will be sent per interval\nper endpoint.") vdslLineAlarmConfThresh15MinLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 4), HCPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfThresh15MinLprs.setDescription("This object configures the threshold for the number of\nloss of power seconds (lprs) within any given 15-minute\nperformance data collection interval. If the value of\nloss of power seconds in a particular 15-minute collection\ninterval reaches/exceeds this value, a\nvdslPerfLprsThreshNotification notification will be\ngenerated. No more than one notification will be sent\nper interval.") vdslLineAlarmConfThresh15MinLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 5), HCPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfThresh15MinLols.setDescription("This object configures the threshold for the number of\nloss of link seconds (lols) within any given 15-minute\nperformance data collection interval. If the value of\nloss of power seconds in a particular 15-minute collection\ninterval reaches/exceeds this value, a\nvdslPerfLolsThreshNotification notification will be\ngenerated. No more than one notification will be sent\nper interval.") vdslLineAlarmConfThresh15MinESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 6), HCPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfThresh15MinESs.setDescription("This object configures the threshold for the number of\nerrored seconds (ESs) within any given 15-minute\nperformance data collection interval. If the value of\nerrored seconds in a particular 15-minute collection\ninterval reaches/exceeds this value, a\nvdslPerfESsThreshNotification notification will be\ngenerated. No more than one notification will be sent\nper interval.") vdslLineAlarmConfThresh15MinSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 7), HCPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfThresh15MinSESs.setDescription("This object configures the threshold for the number of\nseverely errored seconds (SESs) within any given 15-minute\nperformance data collection interval. If the value of\nseverely errored seconds in a particular 15-minute\ncollection interval reaches/exceeds this value, a\nvdslPerfSESsThreshNotification notification will be\ngenerated. No more than one notification will be sent\nper interval.") vdslLineAlarmConfThresh15MinUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 8), HCPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfThresh15MinUASs.setDescription("This object configures the threshold for the number of\nunavailable seconds (UASs) within any given 15-minute\nperformance data collection interval. If the value of\nunavailable seconds in a particular 15-minute collection\ninterval reaches/exceeds this value, a\nvdslPerfUASsThreshNotification notification will be\ngenerated. No more than one notification will be sent\nper interval.") vdslLineAlarmConfInitFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 9), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfInitFailure.setDescription("This object specifies if a vdslInitFailureNotification\nnotification will be generated if an initialization\nfailure occurs.") vdslLineAlarmConfProfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 97, 1, 1, 20, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineAlarmConfProfRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile activated by setting this object to 'active'.\nWhen 'active' is set, the system will validate the profile.\n\nBefore a profile can be deleted or taken out of service,\n(by setting this object to 'destroy' or 'outOfService') it\nmust be first unreferenced from all associated lines.\n\nAn 'active' profile may be modified at any time.") vdslConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 97, 1, 3)) vdslGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 97, 1, 3, 1)) vdslCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 97, 1, 3, 2)) # Augmentions # Notifications vdslPerfLofsThreshNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 1)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLofs"), ) ) if mibBuilder.loadTexts: vdslPerfLofsThreshNotification.setDescription("Loss of Framing 15-minute interval threshold\n(vdslLineAlarmConfThresh15MinLofs) reached.") vdslPerfLossThreshNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 2)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLoss"), ) ) if mibBuilder.loadTexts: vdslPerfLossThreshNotification.setDescription("Loss of Signal 15-minute interval threshold\n(vdslLineAlarmConfThresh15MinLoss) reached.") vdslPerfLprsThreshNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 3)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLprs"), ) ) if mibBuilder.loadTexts: vdslPerfLprsThreshNotification.setDescription("Loss of Power 15-minute interval threshold\n(vdslLineAlarmConfThresh15MinLprs) reached.") vdslPerfLolsThreshNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 4)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLols"), ) ) if mibBuilder.loadTexts: vdslPerfLolsThreshNotification.setDescription("Loss of Link 15-minute interval threshold\n(vdslLineAlarmConfThresh15MinLols) reached.") vdslPerfESsThreshNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 5)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr15MinESs"), ) ) if mibBuilder.loadTexts: vdslPerfESsThreshNotification.setDescription("Errored Seconds 15-minute interval threshold\n(vdslLineAlarmConfThresh15MinESs) reached.") vdslPerfSESsThreshNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 6)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr15MinSESs"), ) ) if mibBuilder.loadTexts: vdslPerfSESsThreshNotification.setDescription("Severely Errored Seconds 15-minute interval threshold\n(vdslLineAlarmConfThresh15MinSESs) reached.") vdslPerfUASsThreshNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 7)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr15MinUASs"), ) ) if mibBuilder.loadTexts: vdslPerfUASsThreshNotification.setDescription("Unavailable Seconds 15-minute interval threshold\n(vdslLineAlarmConfThresh15MinUASs) reached.") vdslDownMaxSnrMgnNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 8)).setObjects(*(("VDSL-LINE-MIB", "vdslPhysCurrSnrMgn"), ) ) if mibBuilder.loadTexts: vdslDownMaxSnrMgnNotification.setDescription("The downstream Signal to Noise Margin exceeded\nvdslLineConfDownMaxSnrMgn. The object\nvdslPhysCurrSnrMgn will contain the Signal to Noise\nmargin as measured by the VTU-R.") vdslDownMinSnrMgnNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 9)).setObjects(*(("VDSL-LINE-MIB", "vdslPhysCurrSnrMgn"), ) ) if mibBuilder.loadTexts: vdslDownMinSnrMgnNotification.setDescription("The downstream Signal to Noise Margin fell below\nvdslLineConfDownMinSnrMgn. The object vdslPhysCurrSnrMgn\nwill contain the Signal to Noise margin as measured by\nthe VTU-R.") vdslUpMaxSnrMgnNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 10)).setObjects(*(("VDSL-LINE-MIB", "vdslPhysCurrSnrMgn"), ) ) if mibBuilder.loadTexts: vdslUpMaxSnrMgnNotification.setDescription("The upstream Signal to Noise Margin exceeded\nvdslLineConfUpMaxSnrMgn. The object vdslPhysCurrSnrMgn\nwill contain the Signal to Noise margin as measured\nby the VTU-C.") vdslUpMinSnrMgnNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 11)).setObjects(*(("VDSL-LINE-MIB", "vdslPhysCurrSnrMgn"), ) ) if mibBuilder.loadTexts: vdslUpMinSnrMgnNotification.setDescription("The upstream Signal to Noise Margin fell below\nvdslLineConfUpMinSnrMgn. The object vdslPhysCurrSnrMgn\nwill contain the Signal to Noise margin as measured\nby the VTU-C.") vdslInitFailureNotification = NotificationType((1, 3, 6, 1, 2, 1, 10, 97, 1, 0, 12)).setObjects(*(("VDSL-LINE-MIB", "vdslPhysCurrStatus"), ) ) if mibBuilder.loadTexts: vdslInitFailureNotification.setDescription("Vtu initialization failed. See vdslPhysCurrStatus for\npotential reasons.") # Groups vdslGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 97, 1, 3, 1, 1)).setObjects(*(("VDSL-LINE-MIB", "vdslPerfDataCurr1DayESs"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalLols"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalSESs"), ("VDSL-LINE-MIB", "vdslPerfData1DayInvalidIntervals"), ("VDSL-LINE-MIB", "vdslLineConfDownSlowMaxDataRate"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinTimeElapsed"), ("VDSL-LINE-MIB", "vdslLineConfUpSlowMinDataRate"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DayLols"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLprs"), ("VDSL-LINE-MIB", "vdslChanCurrTxSlowBurstProtect"), ("VDSL-LINE-MIB", "vdslLineConfUpTargetSnrMgn"), ("VDSL-LINE-MIB", "vdslLineConfUpPboLevel"), ("VDSL-LINE-MIB", "vdslChan1DayIntervalFixedOctets"), ("VDSL-LINE-MIB", "vdslLineConfUpRateRatio"), ("VDSL-LINE-MIB", "vdslPerfDataESs"), ("VDSL-LINE-MIB", "vdslLineConfCustomNotch2Start"), ("VDSL-LINE-MIB", "vdslLineAlarmConfProfile"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalLoss"), ("VDSL-LINE-MIB", "vdslLineConfCustomNotch2Stop"), ("VDSL-LINE-MIB", "vdslLineConfHamBandMask"), ("VDSL-LINE-MIB", "vdslLineConfProfRowStatus"), ("VDSL-LINE-MIB", "vdslLineConfDownMaxFastFec"), ("VDSL-LINE-MIB", "vdslPerfDataInits"), ("VDSL-LINE-MIB", "vdslLineAlarmConfThresh15MinLofs"), ("VDSL-LINE-MIB", "vdslPhysCurrAttainableRate"), ("VDSL-LINE-MIB", "vdslPerfDataSESs"), ("VDSL-LINE-MIB", "vdslLineConfAdslPresence"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinSESs"), ("VDSL-LINE-MIB", "vdslPerfIntervalLprs"), ("VDSL-LINE-MIB", "vdslPhysCurrAtn"), ("VDSL-LINE-MIB", "vdslLineConfApplicableStandard"), ("VDSL-LINE-MIB", "vdslChanCurr1DayBadBlks"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalUASs"), ("VDSL-LINE-MIB", "vdslLineConfDownPboControl"), ("VDSL-LINE-MIB", "vdslLineConfUpPsdTemplate"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DaySESs"), ("VDSL-LINE-MIB", "vdslPerfIntervalLofs"), ("VDSL-LINE-MIB", "vdslChanCurr1DayTimeElapsed"), ("VDSL-LINE-MIB", "vdslLineAlarmConfInitFailure"), ("VDSL-LINE-MIB", "vdslLineConfBandPlanFx"), ("VDSL-LINE-MIB", "vdslPerfDataLofs"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DayLprs"), ("VDSL-LINE-MIB", "vdslLineConfUpMaxSnrMgn"), ("VDSL-LINE-MIB", "vdslPerfIntervalESs"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLoss"), ("VDSL-LINE-MIB", "vdslPerfDataValidIntervals"), ("VDSL-LINE-MIB", "vdslLineConfUpFastMinDataRate"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DayLoss"), ("VDSL-LINE-MIB", "vdslLineConfDownFastMaxDataRate"), ("VDSL-LINE-MIB", "vdslLineConfUpFastMaxDataRate"), ("VDSL-LINE-MIB", "vdslLineConfDownMaxSnrMgn"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalLprs"), ("VDSL-LINE-MIB", "vdslPerfDataUASs"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLols"), ("VDSL-LINE-MIB", "vdslLineConfUpTargetSlowBurst"), ("VDSL-LINE-MIB", "vdslChanFixedOctets"), ("VDSL-LINE-MIB", "vdslLineConfDownRateRatio"), ("VDSL-LINE-MIB", "vdslChanValidIntervals"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalLofs"), ("VDSL-LINE-MIB", "vdslPhysInvVersionNumber"), ("VDSL-LINE-MIB", "vdslLineConfDownTargetSlowBurst"), ("VDSL-LINE-MIB", "vdslLineConfDownMaxInterDelay"), ("VDSL-LINE-MIB", "vdslLineConfBandPlan"), ("VDSL-LINE-MIB", "vdslPerfDataLoss"), ("VDSL-LINE-MIB", "vdslChanInvalidIntervals"), ("VDSL-LINE-MIB", "vdslChanBadBlks"), ("VDSL-LINE-MIB", "vdslPerfIntervalInits"), ("VDSL-LINE-MIB", "vdslChan1DayIntervalBadBlks"), ("VDSL-LINE-MIB", "vdslLineConfDownPsdTemplate"), ("VDSL-LINE-MIB", "vdslChan1DayIntervalMoniSecs"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DayInits"), ("VDSL-LINE-MIB", "vdslLineType"), ("VDSL-LINE-MIB", "vdslPhysCurrLineRate"), ("VDSL-LINE-MIB", "vdslLineConfProfile"), ("VDSL-LINE-MIB", "vdslLineConfCustomNotch1Stop"), ("VDSL-LINE-MIB", "vdslLineConfLineType"), ("VDSL-LINE-MIB", "vdslLineAlarmConfThresh15MinLoss"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinESs"), ("VDSL-LINE-MIB", "vdslPhysInvSerialNumber"), ("VDSL-LINE-MIB", "vdslLineConfDeploymentScenario"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DayTimeElapsed"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalESs"), ("VDSL-LINE-MIB", "vdslChan1DayValidIntervals"), ("VDSL-LINE-MIB", "vdslPhysInvVendorID"), ("VDSL-LINE-MIB", "vdslChanCurr15MinTimeElapsed"), ("VDSL-LINE-MIB", "vdslChanIntervalBadBlks"), ("VDSL-LINE-MIB", "vdslPerfDataInvalidIntervals"), ("VDSL-LINE-MIB", "vdslLineConfUpSlowMaxDataRate"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinUASs"), ("VDSL-LINE-MIB", "vdslPerfDataLprs"), ("VDSL-LINE-MIB", "vdslLineConfDownPboLevel"), ("VDSL-LINE-MIB", "vdslChanCurr1DayFixedOctets"), ("VDSL-LINE-MIB", "vdslPerfData1DayValidIntervals"), ("VDSL-LINE-MIB", "vdslLineCoding"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DayUASs"), ("VDSL-LINE-MIB", "vdslPerfIntervalLoss"), ("VDSL-LINE-MIB", "vdslChanInterleaveDelay"), ("VDSL-LINE-MIB", "vdslChan1DayInvalidIntervals"), ("VDSL-LINE-MIB", "vdslLineConfUpMinSnrMgn"), ("VDSL-LINE-MIB", "vdslLineConfDownMinSnrMgn"), ("VDSL-LINE-MIB", "vdslChanCurr15MinBadBlks"), ("VDSL-LINE-MIB", "vdslPerfDataCurr1DayLofs"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinInits"), ("VDSL-LINE-MIB", "vdslLineAlarmConfThresh15MinUASs"), ("VDSL-LINE-MIB", "vdslLineConfDownSlowMinDataRate"), ("VDSL-LINE-MIB", "vdslLineConfUpMaxInterDelay"), ("VDSL-LINE-MIB", "vdslPerfIntervalLols"), ("VDSL-LINE-MIB", "vdslLineAlarmConfThresh15MinSESs"), ("VDSL-LINE-MIB", "vdslPhysCurrSnrMgn"), ("VDSL-LINE-MIB", "vdslLineAlarmConfThresh15MinESs"), ("VDSL-LINE-MIB", "vdslPerfDataCurr15MinLofs"), ("VDSL-LINE-MIB", "vdslLineConfDownTargetSnrMgn"), ("VDSL-LINE-MIB", "vdslLineConfUpMaxFastFec"), ("VDSL-LINE-MIB", "vdslChanCurrTxRate"), ("VDSL-LINE-MIB", "vdslLineConfUpPboControl"), ("VDSL-LINE-MIB", "vdslPerfIntervalUASs"), ("VDSL-LINE-MIB", "vdslLineConfDownFastMinDataRate"), ("VDSL-LINE-MIB", "vdslChanCrcBlockLength"), ("VDSL-LINE-MIB", "vdslChanCurr15MinFixedOctets"), ("VDSL-LINE-MIB", "vdslLineConfCustomNotch1Start"), ("VDSL-LINE-MIB", "vdslChanCurrTxFastFec"), ("VDSL-LINE-MIB", "vdslLineAlarmConfThresh15MinLols"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalMoniSecs"), ("VDSL-LINE-MIB", "vdslLineConfDownMaxPwr"), ("VDSL-LINE-MIB", "vdslChanIntervalFixedOctets"), ("VDSL-LINE-MIB", "vdslPhysCurrOutputPwr"), ("VDSL-LINE-MIB", "vdslLineAlarmConfProfRowStatus"), ("VDSL-LINE-MIB", "vdslPerf1DayIntervalInits"), ("VDSL-LINE-MIB", "vdslLineAlarmConfThresh15MinLprs"), ("VDSL-LINE-MIB", "vdslLineConfUpMaxPwr"), ("VDSL-LINE-MIB", "vdslPerfDataLols"), ("VDSL-LINE-MIB", "vdslLineConfUpRateMode"), ("VDSL-LINE-MIB", "vdslPerfIntervalSESs"), ("VDSL-LINE-MIB", "vdslLineConfDownRateMode"), ("VDSL-LINE-MIB", "vdslLineConfBandOptUsage"), ("VDSL-LINE-MIB", "vdslPhysCurrStatus"), ) ) if mibBuilder.loadTexts: vdslGroup.setDescription("A collection of objects providing information about\na VDSL Line.") vdslNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 97, 1, 3, 1, 2)).setObjects(*(("VDSL-LINE-MIB", "vdslUpMinSnrMgnNotification"), ("VDSL-LINE-MIB", "vdslPerfUASsThreshNotification"), ("VDSL-LINE-MIB", "vdslInitFailureNotification"), ("VDSL-LINE-MIB", "vdslPerfLprsThreshNotification"), ("VDSL-LINE-MIB", "vdslPerfLofsThreshNotification"), ("VDSL-LINE-MIB", "vdslUpMaxSnrMgnNotification"), ("VDSL-LINE-MIB", "vdslPerfLossThreshNotification"), ("VDSL-LINE-MIB", "vdslPerfLolsThreshNotification"), ("VDSL-LINE-MIB", "vdslPerfESsThreshNotification"), ("VDSL-LINE-MIB", "vdslDownMaxSnrMgnNotification"), ("VDSL-LINE-MIB", "vdslPerfSESsThreshNotification"), ("VDSL-LINE-MIB", "vdslDownMinSnrMgnNotification"), ) ) if mibBuilder.loadTexts: vdslNotificationGroup.setDescription("This group supports notifications of significant\nconditions associated with VDSL Lines.") # Compliances vdslLineMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 97, 1, 3, 2, 1)).setObjects(*(("VDSL-LINE-MIB", "vdslGroup"), ("VDSL-LINE-MIB", "vdslNotificationGroup"), ) ) if mibBuilder.loadTexts: vdslLineMibCompliance.setDescription("The compliance statement for SNMP entities which\nmanage VDSL interfaces.") # Exports # Module identity mibBuilder.exportSymbols("VDSL-LINE-MIB", PYSNMP_MODULE_ID=vdslMIB) # Types mibBuilder.exportSymbols("VDSL-LINE-MIB", VdslLineCodingType=VdslLineCodingType, VdslLineEntity=VdslLineEntity) # Objects mibBuilder.exportSymbols("VDSL-LINE-MIB", vdslMIB=vdslMIB, vdslLineMib=vdslLineMib, vdslNotifications=vdslNotifications, vdslMibObjects=vdslMibObjects, vdslLineTable=vdslLineTable, vdslLineEntry=vdslLineEntry, vdslLineCoding=vdslLineCoding, vdslLineType=vdslLineType, vdslLineConfProfile=vdslLineConfProfile, vdslLineAlarmConfProfile=vdslLineAlarmConfProfile, vdslPhysTable=vdslPhysTable, vdslPhysEntry=vdslPhysEntry, vdslPhysSide=vdslPhysSide, vdslPhysInvSerialNumber=vdslPhysInvSerialNumber, vdslPhysInvVendorID=vdslPhysInvVendorID, vdslPhysInvVersionNumber=vdslPhysInvVersionNumber, vdslPhysCurrSnrMgn=vdslPhysCurrSnrMgn, vdslPhysCurrAtn=vdslPhysCurrAtn, vdslPhysCurrStatus=vdslPhysCurrStatus, vdslPhysCurrOutputPwr=vdslPhysCurrOutputPwr, vdslPhysCurrAttainableRate=vdslPhysCurrAttainableRate, vdslPhysCurrLineRate=vdslPhysCurrLineRate, vdslChanTable=vdslChanTable, vdslChanEntry=vdslChanEntry, vdslChanInterleaveDelay=vdslChanInterleaveDelay, vdslChanCrcBlockLength=vdslChanCrcBlockLength, vdslChanCurrTxRate=vdslChanCurrTxRate, vdslChanCurrTxSlowBurstProtect=vdslChanCurrTxSlowBurstProtect, vdslChanCurrTxFastFec=vdslChanCurrTxFastFec, vdslPerfDataTable=vdslPerfDataTable, vdslPerfDataEntry=vdslPerfDataEntry, vdslPerfDataValidIntervals=vdslPerfDataValidIntervals, vdslPerfDataInvalidIntervals=vdslPerfDataInvalidIntervals, vdslPerfDataLofs=vdslPerfDataLofs, vdslPerfDataLoss=vdslPerfDataLoss, vdslPerfDataLprs=vdslPerfDataLprs, vdslPerfDataLols=vdslPerfDataLols, vdslPerfDataESs=vdslPerfDataESs, vdslPerfDataSESs=vdslPerfDataSESs, vdslPerfDataUASs=vdslPerfDataUASs, vdslPerfDataInits=vdslPerfDataInits, vdslPerfDataCurr15MinTimeElapsed=vdslPerfDataCurr15MinTimeElapsed, vdslPerfDataCurr15MinLofs=vdslPerfDataCurr15MinLofs, vdslPerfDataCurr15MinLoss=vdslPerfDataCurr15MinLoss, vdslPerfDataCurr15MinLprs=vdslPerfDataCurr15MinLprs, vdslPerfDataCurr15MinLols=vdslPerfDataCurr15MinLols, vdslPerfDataCurr15MinESs=vdslPerfDataCurr15MinESs, vdslPerfDataCurr15MinSESs=vdslPerfDataCurr15MinSESs, vdslPerfDataCurr15MinUASs=vdslPerfDataCurr15MinUASs, vdslPerfDataCurr15MinInits=vdslPerfDataCurr15MinInits, vdslPerfData1DayValidIntervals=vdslPerfData1DayValidIntervals, vdslPerfData1DayInvalidIntervals=vdslPerfData1DayInvalidIntervals, vdslPerfDataCurr1DayTimeElapsed=vdslPerfDataCurr1DayTimeElapsed, vdslPerfDataCurr1DayLofs=vdslPerfDataCurr1DayLofs, vdslPerfDataCurr1DayLoss=vdslPerfDataCurr1DayLoss, vdslPerfDataCurr1DayLprs=vdslPerfDataCurr1DayLprs, vdslPerfDataCurr1DayLols=vdslPerfDataCurr1DayLols, vdslPerfDataCurr1DayESs=vdslPerfDataCurr1DayESs, vdslPerfDataCurr1DaySESs=vdslPerfDataCurr1DaySESs, vdslPerfDataCurr1DayUASs=vdslPerfDataCurr1DayUASs, vdslPerfDataCurr1DayInits=vdslPerfDataCurr1DayInits, vdslPerfIntervalTable=vdslPerfIntervalTable, vdslPerfIntervalEntry=vdslPerfIntervalEntry, vdslPerfIntervalNumber=vdslPerfIntervalNumber, vdslPerfIntervalLofs=vdslPerfIntervalLofs, vdslPerfIntervalLoss=vdslPerfIntervalLoss, vdslPerfIntervalLprs=vdslPerfIntervalLprs, vdslPerfIntervalLols=vdslPerfIntervalLols, vdslPerfIntervalESs=vdslPerfIntervalESs, vdslPerfIntervalSESs=vdslPerfIntervalSESs, vdslPerfIntervalUASs=vdslPerfIntervalUASs, vdslPerfIntervalInits=vdslPerfIntervalInits, vdslPerf1DayIntervalTable=vdslPerf1DayIntervalTable, vdslPerf1DayIntervalEntry=vdslPerf1DayIntervalEntry, vdslPerf1DayIntervalNumber=vdslPerf1DayIntervalNumber, vdslPerf1DayIntervalMoniSecs=vdslPerf1DayIntervalMoniSecs, vdslPerf1DayIntervalLofs=vdslPerf1DayIntervalLofs, vdslPerf1DayIntervalLoss=vdslPerf1DayIntervalLoss, vdslPerf1DayIntervalLprs=vdslPerf1DayIntervalLprs, vdslPerf1DayIntervalLols=vdslPerf1DayIntervalLols, vdslPerf1DayIntervalESs=vdslPerf1DayIntervalESs, vdslPerf1DayIntervalSESs=vdslPerf1DayIntervalSESs, vdslPerf1DayIntervalUASs=vdslPerf1DayIntervalUASs, vdslPerf1DayIntervalInits=vdslPerf1DayIntervalInits, vdslChanPerfDataTable=vdslChanPerfDataTable, vdslChanPerfDataEntry=vdslChanPerfDataEntry, vdslChanValidIntervals=vdslChanValidIntervals, vdslChanInvalidIntervals=vdslChanInvalidIntervals, vdslChanFixedOctets=vdslChanFixedOctets, vdslChanBadBlks=vdslChanBadBlks, vdslChanCurr15MinTimeElapsed=vdslChanCurr15MinTimeElapsed, vdslChanCurr15MinFixedOctets=vdslChanCurr15MinFixedOctets, vdslChanCurr15MinBadBlks=vdslChanCurr15MinBadBlks, vdslChan1DayValidIntervals=vdslChan1DayValidIntervals, vdslChan1DayInvalidIntervals=vdslChan1DayInvalidIntervals, vdslChanCurr1DayTimeElapsed=vdslChanCurr1DayTimeElapsed, vdslChanCurr1DayFixedOctets=vdslChanCurr1DayFixedOctets, vdslChanCurr1DayBadBlks=vdslChanCurr1DayBadBlks, vdslChanIntervalTable=vdslChanIntervalTable, vdslChanIntervalEntry=vdslChanIntervalEntry, vdslChanIntervalNumber=vdslChanIntervalNumber, vdslChanIntervalFixedOctets=vdslChanIntervalFixedOctets, vdslChanIntervalBadBlks=vdslChanIntervalBadBlks, vdslChan1DayIntervalTable=vdslChan1DayIntervalTable, vdslChan1DayIntervalEntry=vdslChan1DayIntervalEntry, vdslChan1DayIntervalNumber=vdslChan1DayIntervalNumber, vdslChan1DayIntervalMoniSecs=vdslChan1DayIntervalMoniSecs, vdslChan1DayIntervalFixedOctets=vdslChan1DayIntervalFixedOctets, vdslChan1DayIntervalBadBlks=vdslChan1DayIntervalBadBlks, vdslLineConfProfileTable=vdslLineConfProfileTable, vdslLineConfProfileEntry=vdslLineConfProfileEntry, vdslLineConfProfileName=vdslLineConfProfileName, vdslLineConfDownRateMode=vdslLineConfDownRateMode, vdslLineConfUpRateMode=vdslLineConfUpRateMode, vdslLineConfDownMaxPwr=vdslLineConfDownMaxPwr, vdslLineConfUpMaxPwr=vdslLineConfUpMaxPwr, vdslLineConfDownMaxSnrMgn=vdslLineConfDownMaxSnrMgn, vdslLineConfDownMinSnrMgn=vdslLineConfDownMinSnrMgn, vdslLineConfDownTargetSnrMgn=vdslLineConfDownTargetSnrMgn, vdslLineConfUpMaxSnrMgn=vdslLineConfUpMaxSnrMgn, vdslLineConfUpMinSnrMgn=vdslLineConfUpMinSnrMgn, vdslLineConfUpTargetSnrMgn=vdslLineConfUpTargetSnrMgn, vdslLineConfDownFastMaxDataRate=vdslLineConfDownFastMaxDataRate, vdslLineConfDownFastMinDataRate=vdslLineConfDownFastMinDataRate, vdslLineConfDownSlowMaxDataRate=vdslLineConfDownSlowMaxDataRate, vdslLineConfDownSlowMinDataRate=vdslLineConfDownSlowMinDataRate) mibBuilder.exportSymbols("VDSL-LINE-MIB", vdslLineConfUpFastMaxDataRate=vdslLineConfUpFastMaxDataRate, vdslLineConfUpFastMinDataRate=vdslLineConfUpFastMinDataRate, vdslLineConfUpSlowMaxDataRate=vdslLineConfUpSlowMaxDataRate, vdslLineConfUpSlowMinDataRate=vdslLineConfUpSlowMinDataRate, vdslLineConfDownRateRatio=vdslLineConfDownRateRatio, vdslLineConfUpRateRatio=vdslLineConfUpRateRatio, vdslLineConfDownMaxInterDelay=vdslLineConfDownMaxInterDelay, vdslLineConfUpMaxInterDelay=vdslLineConfUpMaxInterDelay, vdslLineConfDownPboControl=vdslLineConfDownPboControl, vdslLineConfUpPboControl=vdslLineConfUpPboControl, vdslLineConfDownPboLevel=vdslLineConfDownPboLevel, vdslLineConfUpPboLevel=vdslLineConfUpPboLevel, vdslLineConfDeploymentScenario=vdslLineConfDeploymentScenario, vdslLineConfAdslPresence=vdslLineConfAdslPresence, vdslLineConfApplicableStandard=vdslLineConfApplicableStandard, vdslLineConfBandPlan=vdslLineConfBandPlan, vdslLineConfBandPlanFx=vdslLineConfBandPlanFx, vdslLineConfBandOptUsage=vdslLineConfBandOptUsage, vdslLineConfUpPsdTemplate=vdslLineConfUpPsdTemplate, vdslLineConfDownPsdTemplate=vdslLineConfDownPsdTemplate, vdslLineConfHamBandMask=vdslLineConfHamBandMask, vdslLineConfCustomNotch1Start=vdslLineConfCustomNotch1Start, vdslLineConfCustomNotch1Stop=vdslLineConfCustomNotch1Stop, vdslLineConfCustomNotch2Start=vdslLineConfCustomNotch2Start, vdslLineConfCustomNotch2Stop=vdslLineConfCustomNotch2Stop, vdslLineConfDownTargetSlowBurst=vdslLineConfDownTargetSlowBurst, vdslLineConfUpTargetSlowBurst=vdslLineConfUpTargetSlowBurst, vdslLineConfDownMaxFastFec=vdslLineConfDownMaxFastFec, vdslLineConfUpMaxFastFec=vdslLineConfUpMaxFastFec, vdslLineConfLineType=vdslLineConfLineType, vdslLineConfProfRowStatus=vdslLineConfProfRowStatus, vdslLineAlarmConfProfileTable=vdslLineAlarmConfProfileTable, vdslLineAlarmConfProfileEntry=vdslLineAlarmConfProfileEntry, vdslLineAlarmConfProfileName=vdslLineAlarmConfProfileName, vdslLineAlarmConfThresh15MinLofs=vdslLineAlarmConfThresh15MinLofs, vdslLineAlarmConfThresh15MinLoss=vdslLineAlarmConfThresh15MinLoss, vdslLineAlarmConfThresh15MinLprs=vdslLineAlarmConfThresh15MinLprs, vdslLineAlarmConfThresh15MinLols=vdslLineAlarmConfThresh15MinLols, vdslLineAlarmConfThresh15MinESs=vdslLineAlarmConfThresh15MinESs, vdslLineAlarmConfThresh15MinSESs=vdslLineAlarmConfThresh15MinSESs, vdslLineAlarmConfThresh15MinUASs=vdslLineAlarmConfThresh15MinUASs, vdslLineAlarmConfInitFailure=vdslLineAlarmConfInitFailure, vdslLineAlarmConfProfRowStatus=vdslLineAlarmConfProfRowStatus, vdslConformance=vdslConformance, vdslGroups=vdslGroups, vdslCompliances=vdslCompliances) # Notifications mibBuilder.exportSymbols("VDSL-LINE-MIB", vdslPerfLofsThreshNotification=vdslPerfLofsThreshNotification, vdslPerfLossThreshNotification=vdslPerfLossThreshNotification, vdslPerfLprsThreshNotification=vdslPerfLprsThreshNotification, vdslPerfLolsThreshNotification=vdslPerfLolsThreshNotification, vdslPerfESsThreshNotification=vdslPerfESsThreshNotification, vdslPerfSESsThreshNotification=vdslPerfSESsThreshNotification, vdslPerfUASsThreshNotification=vdslPerfUASsThreshNotification, vdslDownMaxSnrMgnNotification=vdslDownMaxSnrMgnNotification, vdslDownMinSnrMgnNotification=vdslDownMinSnrMgnNotification, vdslUpMaxSnrMgnNotification=vdslUpMaxSnrMgnNotification, vdslUpMinSnrMgnNotification=vdslUpMinSnrMgnNotification, vdslInitFailureNotification=vdslInitFailureNotification) # Groups mibBuilder.exportSymbols("VDSL-LINE-MIB", vdslGroup=vdslGroup, vdslNotificationGroup=vdslNotificationGroup) # Compliances mibBuilder.exportSymbols("VDSL-LINE-MIB", vdslLineMibCompliance=vdslLineMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ADSL2-LINE-TC-MIB.py0000644000014400001440000003007611736645134021277 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ADSL2-LINE-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:38 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "transmission") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class Adsl2ChAtmStatus(Bits): namedValues = NamedValues(("noDefect", 0), ("noCellDelineation", 1), ("lossOfCellDelineation", 2), ) class Adsl2ChPtmStatus(Bits): namedValues = NamedValues(("noDefect", 0), ("outOfSync", 1), ) class Adsl2ConfPmsForce(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,0,) namedValues = NamedValues(("l3toL0", 0), ("l0toL2", 2), ("l0orL2toL3", 3), ) class Adsl2Direction(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("upstream", 1), ("downstream", 2), ) class Adsl2InitResult(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,1,3,4,2,0,) namedValues = NamedValues(("noFail", 0), ("configError", 1), ("configNotFeasible", 2), ("commFail", 3), ("noPeerAtu", 4), ("otherCause", 5), ) class Adsl2LConfProfPmMode(Bits): namedValues = NamedValues(("allowTransitionsToIdle", 0), ("allowTransitionsToLowPower", 1), ) class Adsl2LastTransmittedState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(14,118,131,105,117,124,127,11,104,108,16,102,123,113,29,2,24,8,4,15,17,122,13,27,30,19,22,125,130,5,106,110,119,107,121,101,103,18,6,115,100,1,7,3,120,9,129,126,112,26,21,116,128,10,114,0,32,111,25,23,28,109,20,31,12,) namedValues = NamedValues(("atucG9941", 0), ("atucQuiet1", 1), ("atucMsgfmt", 10), ("aturG9941", 100), ("aturQuiet1", 101), ("aturComb1", 102), ("aturQuiet2", 103), ("aturComb2", 104), ("aturIcomb1", 105), ("aturLineprob", 106), ("aturQuiet3", 107), ("aturComb3", 108), ("aturIcomb2", 109), ("atucMsgpcb", 11), ("aturMsgfmt", 110), ("aturMsgpcb", 111), ("aturReverb1", 112), ("aturQuiet4", 113), ("aturReverb2", 114), ("aturQuiet5", 115), ("aturReverb3", 116), ("aturEct", 117), ("aturReverb4", 118), ("aturSegue1", 119), ("atucQuiet4", 12), ("aturReverb5", 120), ("aturSegue2", 121), ("aturMsg1", 122), ("aturMedley", 123), ("aturExchmarker", 124), ("aturMsg2", 125), ("aturReverb6", 126), ("aturSegue3", 127), ("aturParams", 128), ("aturReverb7", 129), ("atucReverb1", 13), ("aturSegue4", 130), ("aturShowtime", 131), ("atucTref1", 14), ("atucReverb2", 15), ("atucEct", 16), ("atucReverb3", 17), ("atucTref2", 18), ("atucReverb4", 19), ("atucComb1", 2), ("atucSegue1", 20), ("atucMsg1", 21), ("atucReverb5", 22), ("atucSegue2", 23), ("atucMedley", 24), ("atucExchmarker", 25), ("atucMsg2", 26), ("atucReverb6", 27), ("atucSegue3", 28), ("atucParams", 29), ("atucQuiet2", 3), ("atucReverb7", 30), ("atucSegue4", 31), ("atucShowtime", 32), ("atucComb2", 4), ("atucIcomb1", 5), ("atucLineprob", 6), ("atucQuiet3", 7), ("atucComb3", 8), ("atucIComb2", 9), ) class Adsl2LdsfResult(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,11,10,4,6,1,2,7,8,5,3,) namedValues = NamedValues(("none", 1), ("tableFull", 10), ("noResources", 11), ("success", 2), ("inProgress", 3), ("unsupported", 4), ("cannotRun", 5), ("aborted", 6), ("failed", 7), ("illegalMode", 8), ("adminUp", 9), ) class Adsl2LineLdsf(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,) namedValues = NamedValues(("inhibit", 0), ("force", 1), ) class Adsl2LineStatus(Bits): namedValues = NamedValues(("noDefect", 0), ("lossOfFrame", 1), ("lossOfSignal", 2), ("lossOfPower", 3), ("initFailure", 4), ) class Adsl2MaxBer(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,) namedValues = NamedValues(("eminus3", 1), ("eminus5", 2), ("eminus7", 3), ) class Adsl2OperationModes(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(30,8,23,20,40,18,26,25,37,36,38,1,28,2,19,10,14,9,11,24,32,15,31,29,21,22,27,33,39,41,) namedValues = NamedValues(("defMode", 1), ("g9923IsdnNonOverlapped", 10), ("g9923isdnOverlapped", 11), ("g9924potsNonOverlapped", 14), ("g9924potsOverlapped", 15), ("g9923AnnexIAllDigNonOverlapped", 18), ("g9923AnnexIAllDigOverlapped", 19), ("adsl", 2), ("g9923AnnexJAllDigNonOverlapped", 20), ("g9923AnnexJAllDigOverlapped", 21), ("g9924AnnexIAllDigNonOverlapped", 22), ("g9924AnnexIAllDigOverlapped", 23), ("g9923AnnexLMode1NonOverlapped", 24), ("g9923AnnexLMode2NonOverlapped", 25), ("g9923AnnexLMode3Overlapped", 26), ("g9923AnnexLMode4Overlapped", 27), ("g9923AnnexMPotsNonOverlapped", 28), ("g9923AnnexMPotsOverlapped", 29), ("g9925PotsNonOverlapped", 30), ("g9925PotsOverlapped", 31), ("g9925IsdnNonOverlapped", 32), ("g9925isdnOverlapped", 33), ("g9925AnnexIAllDigNonOverlapped", 36), ("g9925AnnexIAllDigOverlapped", 37), ("g9925AnnexJAllDigNonOverlapped", 38), ("g9925AnnexJAllDigOverlapped", 39), ("g9925AnnexMPotsNonOverlapped", 40), ("g9925AnnexMPotsOverlapped", 41), ("g9923PotsNonOverlapped", 8), ("g9923PotsOverlapped", 9), ) class Adsl2PowerMngState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,4,1,2,) namedValues = NamedValues(("l0", 1), ("l1", 2), ("l2", 3), ("l3", 4), ) class Adsl2PsdMaskDs(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,96) class Adsl2PsdMaskUs(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,12) class Adsl2RaMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,3,2,) namedValues = NamedValues(("manual", 1), ("raInit", 2), ("dynamicRa", 3), ) class Adsl2RfiDs(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,64) class Adsl2ScMaskDs(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,64) class Adsl2ScMaskUs(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,8) class Adsl2SymbolProtection(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(16,5,8,17,7,1,9,10,6,15,11,4,3,2,18,14,12,13,) namedValues = NamedValues(("noProtection", 1), ("eightSymbols", 10), ("nineSymbols", 11), ("tenSymbols", 12), ("elevenSymbols", 13), ("twelveSymbols", 14), ("thirteeSymbols", 15), ("fourteenSymbols", 16), ("fifteenSymbols", 17), ("sixteenSymbols", 18), ("halfSymbol", 2), ("singleSymbol", 3), ("twoSymbols", 4), ("threeSymbols", 5), ("fourSymbols", 6), ("fiveSymbols", 7), ("sixSymbols", 8), ("sevenSymbols", 9), ) class Adsl2TransmissionModeType(Bits): namedValues = NamedValues(("ansit1413", 0), ("etsi", 1), ("g9922tcmIsdnNonOverlapped", 10), ("g9922tcmIsdnOverlapped", 11), ("g9921tcmIsdnSymmetric", 12), ("reserved1", 13), ("reserved2", 14), ("reserved3", 15), ("reserved4", 16), ("reserved5", 17), ("g9923PotsNonOverlapped", 18), ("g9923PotsOverlapped", 19), ("g9921PotsNonOverlapped", 2), ("g9923IsdnNonOverlapped", 20), ("g9923isdnOverlapped", 21), ("reserved6", 22), ("reserved7", 23), ("g9924potsNonOverlapped", 24), ("g9924potsOverlapped", 25), ("reserved8", 26), ("reserved9", 27), ("g9923AnnexIAllDigNonOverlapped", 28), ("g9923AnnexIAllDigOverlapped", 29), ("g9921PotsOverlapped", 3), ("g9923AnnexJAllDigNonOverlapped", 30), ("g9923AnnexJAllDigOverlapped", 31), ("g9924AnnexIAllDigNonOverlapped", 32), ("g9924AnnexIAllDigOverlapped", 33), ("g9923AnnexLMode1NonOverlapped", 34), ("g9923AnnexLMode2NonOverlapped", 35), ("g9923AnnexLMode3Overlapped", 36), ("g9923AnnexLMode4Overlapped", 37), ("g9923AnnexMPotsNonOverlapped", 38), ("g9923AnnexMPotsOverlapped", 39), ("g9921IsdnNonOverlapped", 4), ("g9925PotsNonOverlapped", 40), ("g9925PotsOverlapped", 41), ("g9925IsdnNonOverlapped", 42), ("g9925isdnOverlapped", 43), ("reserved10", 44), ("reserved11", 45), ("g9925AnnexIAllDigNonOverlapped", 46), ("g9925AnnexIAllDigOverlapped", 47), ("g9925AnnexJAllDigNonOverlapped", 48), ("g9925AnnexJAllDigOverlapped", 49), ("g9921isdnOverlapped", 5), ("g9925AnnexMPotsNonOverlapped", 50), ("g9925AnnexMPotsOverlapped", 51), ("reserved12", 52), ("reserved13", 53), ("reserved14", 54), ("reserved15", 55), ("g9921tcmIsdnNonOverlapped", 6), ("g9921tcmIsdnOverlapped", 7), ("g9922potsNonOverlapped", 8), ("g9922potsOverlapped", 9), ) class Adsl2Tssi(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,96) class Adsl2Unit(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("atuc", 1), ("atur", 2), ) # Objects adsl2TCMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 238, 2)).setRevisions(("2006-10-04 00:00",)) if mibBuilder.loadTexts: adsl2TCMIB.setOrganization("ADSLMIB Working Group") if mibBuilder.loadTexts: adsl2TCMIB.setContactInfo("WG-email: adslmib@ietf.org\nInfo: https://www1.ietf.org/mailman/listinfo/adslmib\n\n Chair: Mike Sneed\n Sand Channel Systems\n Postal: P.O. Box 37324\n Raleigh NC 27627-732\n Email: sneedmike@hotmail.com\n Phone: +1 206 600 7022\n\n Co-Chair & Co-editor:\n Menachem Dodge\n ECI Telecom Ltd.\n Postal: 30 Hasivim St.\n Petach Tikva 49517,\n Israel.\n Email: mbdodge@ieee.org\n Phone: +972 3 926 8421\n\n\n\n\n\n\n Co-editor: Moti Morgenstern\n ECI Telecom Ltd.\n Postal: 30 Hasivim St.\n Petach Tikva 49517,\n Israel.\n Email: moti.morgenstern@ecitele.com\n Phone: +972 3 926 6258\n\n Co-editor: Scott Baillie\n NEC Australia\n Postal: 649-655 Springvale Road,\n Mulgrave, Victoria 3170,\n Australia.\n Email: scott.baillie@nec.com.au\n Phone: +61 3 9264 3986\n\n Co-editor: Umberto Bonollo\n NEC Australia\n Postal: 649-655 Springvale Road,\n Mulgrave, Victoria 3170,\n Australia.\n Email: umberto.bonollo@nec.com.au\n Phone: +61 3 9264 3385\n ") if mibBuilder.loadTexts: adsl2TCMIB.setDescription("This MIB Module provides Textual Conventions to be\nused by the ADSL2-LINE-MIB module for the purpose of\nmanaging ADSL, ADSL2, and ADSL2+ lines.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4706: see the RFC itself for\nfull legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("ADSL2-LINE-TC-MIB", PYSNMP_MODULE_ID=adsl2TCMIB) # Types mibBuilder.exportSymbols("ADSL2-LINE-TC-MIB", Adsl2ChAtmStatus=Adsl2ChAtmStatus, Adsl2ChPtmStatus=Adsl2ChPtmStatus, Adsl2ConfPmsForce=Adsl2ConfPmsForce, Adsl2Direction=Adsl2Direction, Adsl2InitResult=Adsl2InitResult, Adsl2LConfProfPmMode=Adsl2LConfProfPmMode, Adsl2LastTransmittedState=Adsl2LastTransmittedState, Adsl2LdsfResult=Adsl2LdsfResult, Adsl2LineLdsf=Adsl2LineLdsf, Adsl2LineStatus=Adsl2LineStatus, Adsl2MaxBer=Adsl2MaxBer, Adsl2OperationModes=Adsl2OperationModes, Adsl2PowerMngState=Adsl2PowerMngState, Adsl2PsdMaskDs=Adsl2PsdMaskDs, Adsl2PsdMaskUs=Adsl2PsdMaskUs, Adsl2RaMode=Adsl2RaMode, Adsl2RfiDs=Adsl2RfiDs, Adsl2ScMaskDs=Adsl2ScMaskDs, Adsl2ScMaskUs=Adsl2ScMaskUs, Adsl2SymbolProtection=Adsl2SymbolProtection, Adsl2TransmissionModeType=Adsl2TransmissionModeType, Adsl2Tssi=Adsl2Tssi, Adsl2Unit=Adsl2Unit) # Objects mibBuilder.exportSymbols("ADSL2-LINE-TC-MIB", adsl2TCMIB=adsl2TCMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/ROHC-UNCOMPRESSED-MIB.py0000644000014400001440000001507411736645137022105 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ROHC-UNCOMPRESSED-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:35 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( rohcChannelID, rohcContextCID, ) = mibBuilder.importSymbols("ROHC-MIB", "rohcChannelID", "rohcContextCID") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") # Objects rohcUncmprMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 113)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: rohcUncmprMIB.setOrganization("IETF Robust Header Compression Working Group") if mibBuilder.loadTexts: rohcUncmprMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/rohc-charter.html\n\nMailing Lists:\nGeneral Discussion: rohc@ietf.org\nTo Subscribe: rohc-request@ietf.org\nIn Body: subscribe your_email_address\n\nEditor:\nJuergen Quittek\nNEC Europe Ltd.\nNetwork Laboratories\nKurfuersten-Anlage 36\n69221 Heidelberg\nGermany\nTel: +49 6221 90511-15\nEMail: quittek@netlab.nec.de") if mibBuilder.loadTexts: rohcUncmprMIB.setDescription("This MIB module defines a set of objects for monitoring\nand configuring RObust Header Compression (ROHC).\nThe objects are specific to ROHC uncompressed\n(profile 0x0000).\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3816. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html") rohcUncmprObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 113, 1)) rohcUncmprContextTable = MibTable((1, 3, 6, 1, 2, 1, 113, 1, 1)) if mibBuilder.loadTexts: rohcUncmprContextTable.setDescription("This table lists and describes ROHC uncompressed profile\nspecific properties of compressor contexts and\ndecompressor contexts. It extends the rohcContextTable\nof the ROHC-MIB module.") rohcUncmprContextEntry = MibTableRow((1, 3, 6, 1, 2, 1, 113, 1, 1, 1)).setIndexNames((0, "ROHC-MIB", "rohcChannelID"), (0, "ROHC-MIB", "rohcContextCID")) if mibBuilder.loadTexts: rohcUncmprContextEntry.setDescription("An entry describing a particular context.") rohcUncmprContextState = MibTableColumn((1, 3, 6, 1, 2, 1, 113, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("initAndRefresh", 1), ("normal", 2), ("noContext", 3), ("fullContext", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcUncmprContextState.setDescription("State of the context. States initAndRefresh(1) and normal(2)\nare states of compressor contexts, states noContext(3)\nand fullContext(4) are states of decompressor contexts.") rohcUncmprContextMode = MibTableColumn((1, 3, 6, 1, 2, 1, 113, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("unidirectional", 1), ("bidirectional", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcUncmprContextMode.setDescription("Mode of the context.") rohcUncmprContextACKs = MibTableColumn((1, 3, 6, 1, 2, 1, 113, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcUncmprContextACKs.setDescription("The number of all positive feedbacks (ACK) sent or\nreceived in this context, respectively.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable of the ROHC-MIB.") rohcUncmprConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 113, 2)) rohcUncmprCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 113, 2, 1)) rohcUncmprGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 113, 2, 2)) # Augmentions # Groups rohcUncmprContextGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 113, 2, 2, 1)).setObjects(*(("ROHC-UNCOMPRESSED-MIB", "rohcUncmprContextMode"), ("ROHC-UNCOMPRESSED-MIB", "rohcUncmprContextState"), ) ) if mibBuilder.loadTexts: rohcUncmprContextGroup.setDescription("A collection of objects providing information about\nROHC uncompressed compressors and decompressors.") rohcUncmprStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 113, 2, 2, 2)).setObjects(*(("ROHC-UNCOMPRESSED-MIB", "rohcUncmprContextACKs"), ) ) if mibBuilder.loadTexts: rohcUncmprStatisticsGroup.setDescription("An object providing context statistics.") # Compliances rohcUncmprCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 113, 2, 1, 1)).setObjects(*(("ROHC-UNCOMPRESSED-MIB", "rohcUncmprStatisticsGroup"), ("ROHC-UNCOMPRESSED-MIB", "rohcUncmprContextGroup"), ) ) if mibBuilder.loadTexts: rohcUncmprCompliance.setDescription("The compliance statement for SNMP entities that implement\nthe ROHC-UNCOMPRESSED-MIB.\n\nNote that compliance with this compliance\nstatement requires compliance with the\nrohcCompliance MODULE-COMPLIANCE statement of the\nROHC-MIB and with the ifCompliance3 MODULE-COMPLIANCE\nstatement of the IF-MIB (RFC2863).") # Exports # Module identity mibBuilder.exportSymbols("ROHC-UNCOMPRESSED-MIB", PYSNMP_MODULE_ID=rohcUncmprMIB) # Objects mibBuilder.exportSymbols("ROHC-UNCOMPRESSED-MIB", rohcUncmprMIB=rohcUncmprMIB, rohcUncmprObjects=rohcUncmprObjects, rohcUncmprContextTable=rohcUncmprContextTable, rohcUncmprContextEntry=rohcUncmprContextEntry, rohcUncmprContextState=rohcUncmprContextState, rohcUncmprContextMode=rohcUncmprContextMode, rohcUncmprContextACKs=rohcUncmprContextACKs, rohcUncmprConformance=rohcUncmprConformance, rohcUncmprCompliances=rohcUncmprCompliances, rohcUncmprGroups=rohcUncmprGroups) # Groups mibBuilder.exportSymbols("ROHC-UNCOMPRESSED-MIB", rohcUncmprContextGroup=rohcUncmprContextGroup, rohcUncmprStatisticsGroup=rohcUncmprStatisticsGroup) # Compliances mibBuilder.exportSymbols("ROHC-UNCOMPRESSED-MIB", rohcUncmprCompliance=rohcUncmprCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-RSCN-MIB.py0000644000014400001440000006220311736645141021032 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-RSCN-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcAddressIdOrZero, FcNameIdOrZero, fcmInstanceIndex, fcmSwitchIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcAddressIdOrZero", "FcNameIdOrZero", "fcmInstanceIndex", "fcmSwitchIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue") ( T11NsGs4RejectReasonCode, ) = mibBuilder.importSymbols("T11-FC-NAME-SERVER-MIB", "T11NsGs4RejectReasonCode") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Objects t11FcRscnMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 161)).setRevisions(("2007-01-08 00:00",)) if mibBuilder.loadTexts: t11FcRscnMIB.setOrganization("For the initial versions, T11.\nFor later versions, the IETF's IMSS Working Group.") if mibBuilder.loadTexts: t11FcRscnMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: cds@cisco.com\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: kzm@cisco.com") if mibBuilder.loadTexts: t11FcRscnMIB.setDescription("The MIB module for the management of registrations\n\n\n\nby Nx_Ports to receive RSCNs (Registered State Change\nNotifications) on a Fibre Channel Fabric, as defined\nin FC-LS, and for the monitoring of RSCNs sent/received\nor rejected in a Fibre Channel Fabric.\n\nCopyright (C) The Internet Society (2007). This version of\nthis MIB module is part of RFC 4983; see the RFC itself for\nfull legal notices.") t11FcRscnNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 0)) t11FcRscnObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 1)) t11FcRscnRegistrations = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 1, 1)) t11FcRscnRegTable = MibTable((1, 3, 6, 1, 2, 1, 161, 1, 1, 1)) if mibBuilder.loadTexts: t11FcRscnRegTable.setDescription("A table of Nx_Ports that have registered to receive\nRSCNs on all Fabrics configured on one or more Fibre\nChannel switches.") t11FcRscnRegEntry = MibTableRow((1, 3, 6, 1, 2, 1, 161, 1, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-RSCN-MIB", "t11FcRscnFabricIndex"), (0, "T11-FC-RSCN-MIB", "t11FcRscnRegFcId")) if mibBuilder.loadTexts: t11FcRscnRegEntry.setDescription("An entry containing information about one Nx_Port that\nhas registered with a particular switch (identified by\nvalues of fcmInstanceIndex and fcmSwitchIndex) for a\nparticular Fabric (identified by a t11FcRscnFabricIndex\nvalue).") t11FcRscnFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 1, 1, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRscnFabricIndex.setDescription("An index value that uniquely identifies a particular\nFabric.\n\nIn a Fabric conformant to FC-SW-4, multiple Virtual Fabrics\ncan operate within one (or more) physical infrastructures.\nIn such a case, this index value is used to uniquely\nidentify a particular Fabric within a physical\ninfrastructure.\n\nIn a Fabric that has (or can have) only a single Fabric\noperating within the physical infrastructure, the\nvalue of this Fabric Index will always be 1.") t11FcRscnRegFcId = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 1, 1, 1, 2), FcAddressIdOrZero().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FcRscnRegFcId.setDescription("The Fibre Channel Address Identifier of the\nregistering Nx_Port.") t11FcRscnRegType = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 1, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("fromFabricController", 0), ("fromNxPort", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnRegType.setDescription("This object indicates the type of registration\ndesired by the registering Nx_Port, one bit per type:\n\n'fromFabricController' -- RSCNs generated for events\n\n\n\n detected by the Fabric Controller.\n\n'fromNxPorts' -- RSCNs generated for events\n detected by the affected Nx_Port.") t11FcRscnStats = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 1, 2)) t11FcRscnStatsTable = MibTable((1, 3, 6, 1, 2, 1, 161, 1, 2, 1)) if mibBuilder.loadTexts: t11FcRscnStatsTable.setDescription("The RSCN-related statistics on all Fabrics configured\non one or more Fibre Channel switches.\n\nTwo levels of statistics are included:\n\n 1) counters at the message-type level, for:\n - the number of SCRs received/rejected,\n - the number of RSCNs sent/received/rejected,\n - the number of SW_RSCNs sent/received/rejected.\n\n 2) counters of sent/received RSCNs per 'Event\n Qualifier' value. Note that if and when several\n RSCN events are coalesced into a single RSCN\n message, then that message may be counted in\n more than one of these counters.") t11FcRscnStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-RSCN-MIB", "t11FcRscnFabricIndex")) if mibBuilder.loadTexts: t11FcRscnStatsEntry.setDescription("An entry containing statistics for a particular Fabric\n(identified by a t11FcRscnFabricIndex value) on a particular\nswitch (identified by values of fcmInstanceIndex and\nfcmSwitchIndex).") t11FcRscnInScrs = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInScrs.setDescription("The number of SCRs received from Nx_Ports\nby this switch on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInRscns.setDescription("The number of RSCNs received from Nx_Ports\nby this switch on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnOutRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnOutRscns.setDescription("The number of RSCNs transmitted to Nx_Ports\nby this switch on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInSwRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInSwRscns.setDescription("The number of SW_RSCNs received by this switch from\nother switches on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnOutSwRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnOutSwRscns.setDescription("The number of SW_RSCNs transmitted by this switch\nfrom other switches on this Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnScrRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnScrRejects.setDescription("The number of SCRs rejected by this switch on\nthis Fabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnRscnRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnRscnRejects.setDescription("The number of RSCNs rejected by this switch on this\nFabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnSwRscnRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnSwRscnRejects.setDescription("The number of SW_RSCN rejected by this switch on this\nFabric.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInUnspecifiedRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInUnspecifiedRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) received by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0000'b\nmeaning 'Event is not specified'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnOutUnspecifiedRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnOutUnspecifiedRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) sent by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0000'b\nmeaning 'Event is not specified'.\n\n\n\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInChangedAttribRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInChangedAttribRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) received by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0002'b\nmeaning 'Changed Port Attribute'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnOutChangedAttribRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnOutChangedAttribRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) sent by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0002'b\nmeaning 'Changed Port Attribute'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInChangedServiceRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInChangedServiceRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) received by this switch on this Fabric which\n\n\n\ncontained an RSCN Event Qualifier value of '0003'b\nmeaning 'Changed Service Object'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnOutChangedServiceRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnOutChangedServiceRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) sent by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0003'b\nmeaning 'Changed Service Object'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInChangedSwitchRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInChangedSwitchRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) received by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0004'b\nmeaning 'Changed Switch Configuration'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnOutChangedSwitchRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnOutChangedSwitchRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) sent by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0004'b\nmeaning 'Changed Switch Configuration'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInRemovedRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnInRemovedRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) received by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0005'b\nmeaning 'Removed Object'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnOutRemovedRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnOutRemovedRscns.setDescription("The number of Registered State Change Notifications\n(RSCNs) sent by this switch on this Fabric which\ncontained an RSCN Event Qualifier value of '0005'b\nmeaning 'Removed Object'.\n\nThis counter has no discontinuities other than\nthose that all Counter32s have when sysUpTime=0.") t11FcRscnInformation = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 1, 3)) t11FcRscnNotifyControlTable = MibTable((1, 3, 6, 1, 2, 1, 161, 1, 3, 1)) if mibBuilder.loadTexts: t11FcRscnNotifyControlTable.setDescription("A table of control information for notifications\ngenerated due to the rejection of an SCR or RSCN.") t11FcRscnNotifyControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-RSCN-MIB", "t11FcRscnFabricIndex")) if mibBuilder.loadTexts: t11FcRscnNotifyControlEntry.setDescription("Each entry contains notification control information\nconcerning the rejection of RSCN/SCRs for a particular\nFabric (identified by the value of t11FcRscnFabricIndex)\nby a particular switch (identified by values of\nfcmInstanceIndex and fcmSwitchIndex).") t11FcRscnIlsRejectNotifyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcRscnIlsRejectNotifyEnable.setDescription("This object specifies if a t11FcRscnIlsRejectReqNotify\nnotification should be generated when this switch\nrejects an SW_RSCN on this Fabric.\n\nValues written to this object should be retained\nover agent reboots.") t11FcRscnElsRejectNotifyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FcRscnElsRejectNotifyEnable.setDescription("This object specifies if a t11FcRscnElsRejectReqNotify\nnotification should be generated when this switch\nrejects an RSCN or SCR on this Fabric.\n\nValues written to this object should be retained\nover agent reboots.") t11FcRscnRejectedRequestString = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnRejectedRequestString.setDescription("The binary content of the RSCN, SCR, or SW_RSCN that\nwas most recently rejected by this switch on this Fabric.\nThe value is formatted as an octet string (in network\nbyte order) as described in the relevant Fibre Channel\nstandard, containing the payload (which is typically a\nlist of affected ports and error codes) of the rejected\nRSCN or SCR as described in FC-LS, or the rejected\nSW_RSCN as described in FC-SW-4.\n\nThis object contains the zero-length string if and when\nthe RSCN/SCR/SW_RSCN payload is unavailable. When the\nlength of this object is 255 octets, it contains the\nfirst 255 octets of the payload (in network byte order).") t11FcRscnRejectedRequestSource = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1, 4), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnRejectedRequestSource.setDescription("The WWN that was the source of the RSCN, SCR, or\nSW_RSCN that was most recently rejected by this switch\non this Fabric.") t11FcRscnRejectReasonCode = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1, 5), T11NsGs4RejectReasonCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnRejectReasonCode.setDescription("This object contains the Reason Code of the most recent\nrejection by this switch of an RSCN, SCR or SW_RSCN on\nthis Fabric.") t11FcRscnRejectReasonCodeExp = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnRejectReasonCodeExp.setDescription("This object contains the Reason Code Explanation\nof the most recent rejection by this switch of an\nRSCN, SCR or SW_RSCN on this Fabric.") t11FcRscnRejectReasonVendorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 161, 1, 3, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FcRscnRejectReasonVendorCode.setDescription("This object contains the Reason Vendor Specific\nCode of the most recent rejection by this switch\nof an RSCN, SCR or SW_RSCN on this Fabric.") t11FcRscnConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 2)) t11FcRscnCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 2, 1)) t11FcRscnGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 161, 2, 2)) # Augmentions # Notifications t11FcRscnElsRejectReqNotify = NotificationType((1, 3, 6, 1, 2, 1, 161, 0, 1)).setObjects(*(("T11-FC-RSCN-MIB", "t11FcRscnRejectedRequestSource"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonCodeExp"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonVendorCode"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonCode"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectedRequestString"), ) ) if mibBuilder.loadTexts: t11FcRscnElsRejectReqNotify.setDescription("This notification is generated when a switch rejects\nan SCR or RSCN.\n\nThe value of t11FcRscnRejectedRequestString indicates the\nbinary content of the rejected request if available, or\nthe zero-length string otherwise. The source of the\nrejected request is given by t11FcRscnRejectedRequestSource,\nand the reason for rejection is given by the values of\nt11FcRscnRejectReasonCode, t11FcRscnRejectReasonCodeExp\nand t11FcRscnRejectReasonVendorCode.") t11FcRscnIlsRejectReqNotify = NotificationType((1, 3, 6, 1, 2, 1, 161, 0, 2)).setObjects(*(("T11-FC-RSCN-MIB", "t11FcRscnRejectedRequestSource"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonCodeExp"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonVendorCode"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonCode"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectedRequestString"), ) ) if mibBuilder.loadTexts: t11FcRscnIlsRejectReqNotify.setDescription("This notification is generated when a switch rejects\nan SW_RSCN.\n\nThe value of t11FcRscnRejectedRequestString indicates the\nbinary content of the rejected request if available, or\nthe zero-length string otherwise. The source of the\nrejected request is given by t11FcRscnRejectedRequestSource,\nand the reason for rejection is given by the values of\nt11FcRscnRejectReasonCode, t11FcRscnRejectReasonCodeExp\nand t11FcRscnRejectReasonVendorCode.") # Groups t11FcRscnRegistrationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 161, 2, 2, 1)).setObjects(*(("T11-FC-RSCN-MIB", "t11FcRscnRegType"), ) ) if mibBuilder.loadTexts: t11FcRscnRegistrationGroup.setDescription("A collection of objects for monitoring RSCN\nregistrations.") t11FcRscnStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 161, 2, 2, 2)).setObjects(*(("T11-FC-RSCN-MIB", "t11FcRscnInChangedAttribRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnOutSwRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnInChangedSwitchRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnOutChangedServiceRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnSwRscnRejects"), ("T11-FC-RSCN-MIB", "t11FcRscnInChangedServiceRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnOutUnspecifiedRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnOutRemovedRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnOutChangedSwitchRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnRscnRejects"), ("T11-FC-RSCN-MIB", "t11FcRscnScrRejects"), ("T11-FC-RSCN-MIB", "t11FcRscnOutRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnOutChangedAttribRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnInRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnInRemovedRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnInScrs"), ("T11-FC-RSCN-MIB", "t11FcRscnInSwRscns"), ("T11-FC-RSCN-MIB", "t11FcRscnInUnspecifiedRscns"), ) ) if mibBuilder.loadTexts: t11FcRscnStatsGroup.setDescription("A collection of objects for collecting RSCN-related\nstatistics.") t11FcRscnNotifyControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 161, 2, 2, 3)).setObjects(*(("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonCodeExp"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonVendorCode"), ("T11-FC-RSCN-MIB", "t11FcRscnIlsRejectNotifyEnable"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectReasonCode"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectedRequestString"), ("T11-FC-RSCN-MIB", "t11FcRscnRejectedRequestSource"), ("T11-FC-RSCN-MIB", "t11FcRscnElsRejectNotifyEnable"), ) ) if mibBuilder.loadTexts: t11FcRscnNotifyControlGroup.setDescription("A collection of notification control and\nnotification information objects.") t11FcRscnNotifyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 161, 2, 2, 4)).setObjects(*(("T11-FC-RSCN-MIB", "t11FcRscnIlsRejectReqNotify"), ("T11-FC-RSCN-MIB", "t11FcRscnElsRejectReqNotify"), ) ) if mibBuilder.loadTexts: t11FcRscnNotifyGroup.setDescription("A collection of notifications for monitoring\nILS and ELS rejections by the RSCN module.") # Compliances t11FcRscnCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 161, 2, 1, 1)).setObjects(*(("T11-FC-RSCN-MIB", "t11FcRscnNotifyControlGroup"), ("T11-FC-RSCN-MIB", "t11FcRscnNotifyGroup"), ("T11-FC-RSCN-MIB", "t11FcRscnStatsGroup"), ("T11-FC-RSCN-MIB", "t11FcRscnRegistrationGroup"), ) ) if mibBuilder.loadTexts: t11FcRscnCompliance.setDescription("The compliance statement for entities that implement\nthis MIB.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-RSCN-MIB", PYSNMP_MODULE_ID=t11FcRscnMIB) # Objects mibBuilder.exportSymbols("T11-FC-RSCN-MIB", t11FcRscnMIB=t11FcRscnMIB, t11FcRscnNotifications=t11FcRscnNotifications, t11FcRscnObjects=t11FcRscnObjects, t11FcRscnRegistrations=t11FcRscnRegistrations, t11FcRscnRegTable=t11FcRscnRegTable, t11FcRscnRegEntry=t11FcRscnRegEntry, t11FcRscnFabricIndex=t11FcRscnFabricIndex, t11FcRscnRegFcId=t11FcRscnRegFcId, t11FcRscnRegType=t11FcRscnRegType, t11FcRscnStats=t11FcRscnStats, t11FcRscnStatsTable=t11FcRscnStatsTable, t11FcRscnStatsEntry=t11FcRscnStatsEntry, t11FcRscnInScrs=t11FcRscnInScrs, t11FcRscnInRscns=t11FcRscnInRscns, t11FcRscnOutRscns=t11FcRscnOutRscns, t11FcRscnInSwRscns=t11FcRscnInSwRscns, t11FcRscnOutSwRscns=t11FcRscnOutSwRscns, t11FcRscnScrRejects=t11FcRscnScrRejects, t11FcRscnRscnRejects=t11FcRscnRscnRejects, t11FcRscnSwRscnRejects=t11FcRscnSwRscnRejects, t11FcRscnInUnspecifiedRscns=t11FcRscnInUnspecifiedRscns, t11FcRscnOutUnspecifiedRscns=t11FcRscnOutUnspecifiedRscns, t11FcRscnInChangedAttribRscns=t11FcRscnInChangedAttribRscns, t11FcRscnOutChangedAttribRscns=t11FcRscnOutChangedAttribRscns, t11FcRscnInChangedServiceRscns=t11FcRscnInChangedServiceRscns, t11FcRscnOutChangedServiceRscns=t11FcRscnOutChangedServiceRscns, t11FcRscnInChangedSwitchRscns=t11FcRscnInChangedSwitchRscns, t11FcRscnOutChangedSwitchRscns=t11FcRscnOutChangedSwitchRscns, t11FcRscnInRemovedRscns=t11FcRscnInRemovedRscns, t11FcRscnOutRemovedRscns=t11FcRscnOutRemovedRscns, t11FcRscnInformation=t11FcRscnInformation, t11FcRscnNotifyControlTable=t11FcRscnNotifyControlTable, t11FcRscnNotifyControlEntry=t11FcRscnNotifyControlEntry, t11FcRscnIlsRejectNotifyEnable=t11FcRscnIlsRejectNotifyEnable, t11FcRscnElsRejectNotifyEnable=t11FcRscnElsRejectNotifyEnable, t11FcRscnRejectedRequestString=t11FcRscnRejectedRequestString, t11FcRscnRejectedRequestSource=t11FcRscnRejectedRequestSource, t11FcRscnRejectReasonCode=t11FcRscnRejectReasonCode, t11FcRscnRejectReasonCodeExp=t11FcRscnRejectReasonCodeExp, t11FcRscnRejectReasonVendorCode=t11FcRscnRejectReasonVendorCode, t11FcRscnConformance=t11FcRscnConformance, t11FcRscnCompliances=t11FcRscnCompliances, t11FcRscnGroups=t11FcRscnGroups) # Notifications mibBuilder.exportSymbols("T11-FC-RSCN-MIB", t11FcRscnElsRejectReqNotify=t11FcRscnElsRejectReqNotify, t11FcRscnIlsRejectReqNotify=t11FcRscnIlsRejectReqNotify) # Groups mibBuilder.exportSymbols("T11-FC-RSCN-MIB", t11FcRscnRegistrationGroup=t11FcRscnRegistrationGroup, t11FcRscnStatsGroup=t11FcRscnStatsGroup, t11FcRscnNotifyControlGroup=t11FcRscnNotifyControlGroup, t11FcRscnNotifyGroup=t11FcRscnNotifyGroup) # Compliances mibBuilder.exportSymbols("T11-FC-RSCN-MIB", t11FcRscnCompliance=t11FcRscnCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-LC-ATM-STD-MIB.py0000644000014400001440000002450611736645137021563 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-LC-ATM-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:19 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AtmVpIdentifier, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmVpIdentifier") ( mplsInterfaceIndex, ) = mibBuilder.importSymbols("MPLS-LSR-STD-MIB", "mplsInterfaceIndex") ( MplsAtmVcIdentifier, mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsAtmVcIdentifier", "mplsStdMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, StorageType, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TruthValue") # Objects mplsLcAtmStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 9)).setRevisions(("2006-01-12 00:00",)) if mibBuilder.loadTexts: mplsLcAtmStdMIB.setOrganization("Multiprotocol Label Switching (MPLS) Working Group") if mibBuilder.loadTexts: mplsLcAtmStdMIB.setContactInfo(" Thomas D. Nadeau\nPostal: Cisco Systems, Inc.\n 250 Apollo Drive\n Chelmsford, MA 01824\nTel: +1-978-244-3051\nEmail: tnadeau@cisco.com\n\n Subrahmanya Hegde\nPostal: Cisco Systems, Inc.\n 225 East Tazman Drive\nTel: +1-408-525-6562\nEmail: subrah@cisco.com\nGeneral comments should be sent to mpls@uu.net") if mibBuilder.loadTexts: mplsLcAtmStdMIB.setDescription("This MIB module contains managed object definitions for\nMPLS Label-Controlled ATM interfaces as defined in\n[RFC3035].\n\nCopyright (C) The Internet Society (2006). This\nversion of this MIB module is part of RFC 4368; see\nthe RFC itself for full legal notices.") mplsLcAtmStdNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 9, 0)) mplsLcAtmStdObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 9, 1)) mplsLcAtmStdInterfaceConfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1)) if mibBuilder.loadTexts: mplsLcAtmStdInterfaceConfTable.setDescription("This table specifies per-interface MPLS LC-ATM\ncapability and associated information. In particular,\nthis table sparsely extends the MPLS-LSR-STD-MIB's\nmplsInterfaceConfTable.") mplsLcAtmStdInterfaceConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1)).setIndexNames((0, "MPLS-LSR-STD-MIB", "mplsInterfaceIndex")) if mibBuilder.loadTexts: mplsLcAtmStdInterfaceConfEntry.setDescription("An entry in this table is created by an LSR for\nevery interface capable of supporting MPLS LC-ATM.\nEach entry in this table will exist only if a\ncorresponding entry in ifTable and mplsInterfaceConfTable\nexists. If the associated entries in ifTable and\nmplsInterfaceConfTable are deleted, the corresponding\nentry in this table must also be deleted shortly\nthereafter.") mplsLcAtmStdCtrlVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 1), AtmVpIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmStdCtrlVpi.setDescription("This is the VPI value over which this\nLSR is willing to accept control traffic on\nthis interface.") mplsLcAtmStdCtrlVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 2), MplsAtmVcIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmStdCtrlVci.setDescription("This is the VCI value over which this\nLSR is willing to accept control traffic\non this interface.") mplsLcAtmStdUnlabTrafVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 3), AtmVpIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmStdUnlabTrafVpi.setDescription("This is the VPI value over which this\nLSR is willing to accept unlabeled traffic\non this interface.") mplsLcAtmStdUnlabTrafVci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 4), MplsAtmVcIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmStdUnlabTrafVci.setDescription("This is the VCI value over which this\nLSR is willing to accept unlabeled traffic\non this interface.") mplsLcAtmStdVcMerge = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmStdVcMerge.setDescription("If set to true(1), indicates that this interface\nis capable of ATM VC merge; otherwise, it MUST\nbe set to false(2).") mplsLcAtmVcDirectlyConnected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 6), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmVcDirectlyConnected.setDescription("This value indicates whether an LC-ATM is directly\nor indirectly (by means of a VP) connected. If set to\ntrue(1), indicates that this interface is directly\nconnected LC-ATM; otherwise, it MUST be set to\nfalse(2). Note that although it can be intimated\nfrom RFC 3057 that multiple VPs may be used,\nin practice only a single one is used, and therefore\nthe authors of this MIB module have chosen to model\nit as such.") mplsLcAtmLcAtmVPI = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 7), AtmVpIdentifier().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmLcAtmVPI.setDescription("This is the VPI value used for indirectly\nconnected LC-ATM interfaces. For these\ninterfaces, the VPI field is not\navailable to MPLS, and the label MUST be\nencoded entirely within the VCI field\n(see [RFC3035]). If the interface is directly\nconnected, this value MUST be set to zero.") mplsLcAtmStdIfConfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmStdIfConfRowStatus.setDescription("This object is used to create and\ndelete entries in this table. When configuring\nentries in this table, the corresponding\nifEntry and mplsInterfaceConfEntry\nMUST exist beforehand. If a manager attempts to\ncreate an entry for a corresponding\nmplsInterfaceConfEntry that does not support LC-ATM,\nthe agent MUST return an inconsistentValue error.\nIf this table is implemented read-only, then the\nagent must set this object to active(1) when this\nrow is made active. If this table is implemented\nwritable, then an agent MUST not allow modification\nto its objects once this value is set to active(1),\nexcept to mplsLcAtmStdIfConfRowStatus and\nmplsLcAtmStdIfConfStorageType.") mplsLcAtmStdIfConfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 9, 1, 1, 1, 9), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsLcAtmStdIfConfStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent(4)'\nneed not allow write-access to any columnar\nobjects in the row.") mplsLcAtmStdConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 9, 2)) mplsLcAtmStdCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 9, 2, 1)) mplsLcAtmStdGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 9, 2, 2)) # Augmentions # Groups mplsLcAtmStdIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 9, 2, 2, 1)).setObjects(*(("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdVcMerge"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdUnlabTrafVci"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdIfConfStorageType"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdIfConfRowStatus"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdCtrlVpi"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdUnlabTrafVpi"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmLcAtmVPI"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdCtrlVci"), ("MPLS-LC-ATM-STD-MIB", "mplsLcAtmVcDirectlyConnected"), ) ) if mibBuilder.loadTexts: mplsLcAtmStdIfGroup.setDescription("Collection of objects needed for MPLS LC-ATM\n\n\n\ninterface configuration.") # Compliances mplsLcAtmStdModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 9, 2, 1, 1)).setObjects(*(("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdIfGroup"), ) ) if mibBuilder.loadTexts: mplsLcAtmStdModuleFullCompliance.setDescription("Compliance statement for agents that provide\nfull support for MPLS-LC-ATM-STD-MIB. Such\ndevices can be monitored and also be configured\nusing this MIB module.") mplsLcAtmStdModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 9, 2, 1, 2)).setObjects(*(("MPLS-LC-ATM-STD-MIB", "mplsLcAtmStdIfGroup"), ) ) if mibBuilder.loadTexts: mplsLcAtmStdModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only\nprovide read-only support for MPLS-LC-ATM-STD-MIB.\nSuch devices can be monitored but cannot be configured\nusing this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-LC-ATM-STD-MIB", PYSNMP_MODULE_ID=mplsLcAtmStdMIB) # Objects mibBuilder.exportSymbols("MPLS-LC-ATM-STD-MIB", mplsLcAtmStdMIB=mplsLcAtmStdMIB, mplsLcAtmStdNotifications=mplsLcAtmStdNotifications, mplsLcAtmStdObjects=mplsLcAtmStdObjects, mplsLcAtmStdInterfaceConfTable=mplsLcAtmStdInterfaceConfTable, mplsLcAtmStdInterfaceConfEntry=mplsLcAtmStdInterfaceConfEntry, mplsLcAtmStdCtrlVpi=mplsLcAtmStdCtrlVpi, mplsLcAtmStdCtrlVci=mplsLcAtmStdCtrlVci, mplsLcAtmStdUnlabTrafVpi=mplsLcAtmStdUnlabTrafVpi, mplsLcAtmStdUnlabTrafVci=mplsLcAtmStdUnlabTrafVci, mplsLcAtmStdVcMerge=mplsLcAtmStdVcMerge, mplsLcAtmVcDirectlyConnected=mplsLcAtmVcDirectlyConnected, mplsLcAtmLcAtmVPI=mplsLcAtmLcAtmVPI, mplsLcAtmStdIfConfRowStatus=mplsLcAtmStdIfConfRowStatus, mplsLcAtmStdIfConfStorageType=mplsLcAtmStdIfConfStorageType, mplsLcAtmStdConformance=mplsLcAtmStdConformance, mplsLcAtmStdCompliances=mplsLcAtmStdCompliances, mplsLcAtmStdGroups=mplsLcAtmStdGroups) # Groups mibBuilder.exportSymbols("MPLS-LC-ATM-STD-MIB", mplsLcAtmStdIfGroup=mplsLcAtmStdIfGroup) # Compliances mibBuilder.exportSymbols("MPLS-LC-ATM-STD-MIB", mplsLcAtmStdModuleFullCompliance=mplsLcAtmStdModuleFullCompliance, mplsLcAtmStdModuleReadOnlyCompliance=mplsLcAtmStdModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ATM-TC-MIB.py0000644000014400001440000003455411736645135020374 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ATM-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "TimeTicks", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class AtmAddr(TextualConvention, OctetString): displayHint = "1x" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,40) class AtmConnCastType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("p2p", 1), ("p2mpRoot", 2), ("p2mpLeaf", 3), ) class AtmConnKind(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,2,5,3,) namedValues = NamedValues(("pvc", 1), ("svcIncoming", 2), ("svcOutgoing", 3), ("spvcInitiator", 4), ("spvcTarget", 5), ) class AtmIlmiNetworkPrefix(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(8,8),ValueSizeConstraint(13,13),) class AtmInterfaceType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,5,8,7,12,10,1,3,13,11,9,2,6,) namedValues = NamedValues(("other", 1), ("atmfPnni1Dot0", 10), ("atmfBici2Dot0", 11), ("atmfUniPvcOnly", 12), ("atmfNniPvcOnly", 13), ("autoConfig", 2), ("ituDss2", 3), ("atmfUni3Dot0", 4), ("atmfUni3Dot1", 5), ("atmfUni4Dot0", 6), ("atmfIispUni3Dot0", 7), ("atmfIispUni3Dot1", 8), ("atmfIispUni4Dot0", 9), ) class AtmServiceCategory(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,5,1,6,4,3,) namedValues = NamedValues(("other", 1), ("cbr", 2), ("rtVbr", 3), ("nrtVbr", 4), ("abr", 5), ("ubr", 6), ) class AtmSigDescrParamIndex(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class AtmTrafficDescrParamIndex(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class AtmVcIdentifier(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class AtmVorXAdminStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("up", 1), ("down", 2), ) class AtmVorXOperStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,2,) namedValues = NamedValues(("up", 1), ("down", 2), ("unknown", 3), ) class AtmVpIdentifier(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,4095) class AtmVorXLastChange(TimeTicks): pass # Objects atmTrafficDescriptorTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 1)) atmNoTrafficDescriptor = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 1)) if mibBuilder.loadTexts: atmNoTrafficDescriptor.setDescription("This identifies the no ATM traffic\ndescriptor type. Parameters 1, 2, 3, 4,\nand 5 are not used. This traffic descriptor\ntype can be used for best effort traffic.") atmNoClpNoScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 2)) if mibBuilder.loadTexts: atmNoClpNoScr.setDescription("This traffic descriptor type is for no CLP\nand no Sustained Cell Rate. The use of the\nparameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: not used\nParameter 3: not used\nParameter 4: not used\nParameter 5: not used.") atmClpNoTaggingNoScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 3)) if mibBuilder.loadTexts: atmClpNoTaggingNoScr.setDescription("This traffic descriptor is for CLP without\ntagging and no Sustained Cell Rate. The use\nof the parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: peak cell rate in cells/second\n for CLP=0 traffic\nParameter 3: not used\nParameter 4: not used\nParameter 5: not used.") atmClpTaggingNoScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 4)) if mibBuilder.loadTexts: atmClpTaggingNoScr.setDescription("This traffic descriptor is for CLP with\ntagging and no Sustained Cell Rate. The use\nof the parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: peak cell rate in cells/second\n for CLP=0 traffic, excess\n tagged as CLP=1\nParameter 3: not used\nParameter 4: not used\nParameter 5: not used.") atmNoClpScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 5)) if mibBuilder.loadTexts: atmNoClpScr.setDescription("This traffic descriptor type is for no CLP\nwith Sustained Cell Rate. The use of the\nparameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: sustainable cell rate in cells/second\n for CLP=0+1 traffic\nParameter 3: maximum burst size in cells\nParameter 4: not used\nParameter 5: not used.") atmClpNoTaggingScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 6)) if mibBuilder.loadTexts: atmClpNoTaggingScr.setDescription("This traffic descriptor type is for CLP with\nSustained Cell Rate and no tagging. The use\nof the parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: sustainable cell rate in cells/second\n for CLP=0 traffic\nParameter 3: maximum burst size in cells\nParameter 4: not used\nParameter 5: not used.") atmClpTaggingScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 7)) if mibBuilder.loadTexts: atmClpTaggingScr.setDescription("This traffic descriptor type is for CLP with\ntagging and Sustained Cell Rate. The use of\nthe parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: sustainable cell rate in cells/second\n for CLP=0 traffic, excess tagged as\n CLP=1\nParameter 3: maximum burst size in cells\nParameter 4: not used\nParameter 5: not used.") atmClpNoTaggingMcr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 8)) if mibBuilder.loadTexts: atmClpNoTaggingMcr.setDescription("This traffic descriptor type is for CLP with\nMinimum Cell Rate and no tagging. The use of\nthe parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: CDVT in tenths of microseconds\nParameter 3: minimum cell rate in cells/second\nParameter 4: unused\nParameter 5: unused.") atmClpTransparentNoScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 9)) if mibBuilder.loadTexts: atmClpTransparentNoScr.setDescription("This traffic descriptor type is for the CLP-\ntransparent model and no Sustained Cell Rate.\nThe use of the parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: CDVT in tenths of microseconds\nParameter 3: not used\nParameter 4: not used\nParameter 5: not used.\n\nThis traffic descriptor type is applicable to\nconnections following the CBR.1 conformance\ndefinition.\n\nConnections specifying this traffic descriptor\ntype will be rejected at UNI 3.0 or UNI 3.1\ninterfaces. For a similar traffic descriptor\ntype that can be accepted at UNI 3.0 and\nUNI 3.1 interfaces, see atmNoClpNoScr.") atmClpTransparentScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 10)) if mibBuilder.loadTexts: atmClpTransparentScr.setDescription("This traffic descriptor type is for the CLP-\ntransparent model with Sustained Cell Rate.\nThe use of the parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: sustainable cell rate in cells/second\n for CLP=0+1 traffic\nParameter 3: maximum burst size in cells\nParameter 4: CDVT in tenths of microseconds\nParameter 5: not used.\n\nThis traffic descriptor type is applicable to\nconnections following the VBR.1 conformance\ndefinition.\nConnections specifying this traffic descriptor\ntype will be rejected at UNI 3.0 or UNI 3.1\ninterfaces. For a similar traffic descriptor\ntype that can be accepted at UNI 3.0 and\nUNI 3.1 interfaces, see atmNoClpScr.") atmNoClpTaggingNoScr = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 11)) if mibBuilder.loadTexts: atmNoClpTaggingNoScr.setDescription("This traffic descriptor type is for no CLP\nwith tagging and no Sustained Cell Rate. The\nuse of the parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: CDVT in tenths of microseconds\nParameter 3: not used\nParameter 4: not used\nParameter 5: not used.\n\nThis traffic descriptor type is applicable to\nconnections following the UBR.2 conformance\ndefinition .") atmNoClpNoScrCdvt = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 12)) if mibBuilder.loadTexts: atmNoClpNoScrCdvt.setDescription("This traffic descriptor type is for no CLP\nand no Sustained Cell Rate. The use of the\nparameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: CDVT in tenths of microseconds\nParameter 3: not used\nParameter 4: not used\nParameter 5: not used.\n\nThis traffic descriptor type is applicable to\nCBR connections following the UNI 3.0/3.1\nconformance definition for PCR CLP=0+1.\nThese CBR connections differ from CBR.1\nconnections in that the CLR objective\napplies only to the CLP=0 cell flow.\n\nThis traffic descriptor type is also\napplicable to connections following the UBR.1\nconformance definition.") atmNoClpScrCdvt = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 13)) if mibBuilder.loadTexts: atmNoClpScrCdvt.setDescription("This traffic descriptor type is for no CLP\nwith Sustained Cell Rate. The use of the\nparameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: sustainable cell rate in cells/second\n for CLP=0+1 traffic\nParameter 3: maximum burst size in cells\nParameter 4: CDVT in tenths of microseconds\nParameter 5: not used.\n\nThis traffic descriptor type is applicable\nto VBR connections following the UNI 3.0/3.1\nconformance definition for PCR CLP=0+1 and\nSCR CLP=0+1. These VBR connections\ndiffer from VBR.1 connections in that\nthe CLR objective applies only to the CLP=0\ncell flow.") atmClpNoTaggingScrCdvt = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 14)) if mibBuilder.loadTexts: atmClpNoTaggingScrCdvt.setDescription("This traffic descriptor type is for CLP with\nSustained Cell Rate and no tagging. The use\nof the parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: sustainable cell rate in cells/second\n for CLP=0 traffic\nParameter 3: maximum burst size in cells\nParameter 4: CDVT in tenths of microseconds\nParameter 5: not used.\n\nThis traffic descriptor type is applicable to\nconnections following the VBR.2 conformance\ndefinition.") atmClpTaggingScrCdvt = ObjectIdentity((1, 3, 6, 1, 2, 1, 37, 1, 1, 15)) if mibBuilder.loadTexts: atmClpTaggingScrCdvt.setDescription("This traffic descriptor type is for CLP with\ntagging and Sustained Cell Rate. The use of\nthe parameter vector for this type:\nParameter 1: peak cell rate in cells/second\n for CLP=0+1 traffic\nParameter 2: sustainable cell rate in cells/second\n for CLP=0 traffic, excess tagged as\n CLP=1\nParameter 3: maximum burst size in cells\nParameter 4: CDVT in tenths of microseconds\nParameter 5: not used.\n\nThis traffic descriptor type is applicable to\nconnections following the VBR.3 conformance\ndefinition.") atmTCMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 37, 3)).setRevisions(("1998-10-19 02:00",)) if mibBuilder.loadTexts: atmTCMIB.setOrganization("IETF AToMMIB Working Group") if mibBuilder.loadTexts: atmTCMIB.setContactInfo(" Michael Noto\nPostal: 3Com Corporation\n 5400 Bayfront Plaza, M/S 3109\n Santa Clara, CA 95052\n USA\nTel: +1 408 326 2218\nE-mail: mike_noto@3com.com\n\n Ethan Mickey Spiegel\nPostal: Cisco Systems\n 170 W. Tasman Dr.\n San Jose, CA 95134\n USA\nTel: +1 408 526 6408\nE-mail: mspiegel@cisco.com\n\n Kaj Tesink\nPostal: Bellcore\n 331 Newman Springs Road\n Red Bank, NJ 07701\n USA\nTel: +1 732 758 5254\nFax: +1 732 758 4177\nE-mail: kaj@bellcore.com") if mibBuilder.loadTexts: atmTCMIB.setDescription("This MIB Module provides Textual Conventions\nand OBJECT-IDENTITY Objects to be used by\nATM systems.") atmObjectIdentities = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 3, 1)) # Augmentions # Exports # Module identity mibBuilder.exportSymbols("ATM-TC-MIB", PYSNMP_MODULE_ID=atmTCMIB) # Types mibBuilder.exportSymbols("ATM-TC-MIB", AtmAddr=AtmAddr, AtmConnCastType=AtmConnCastType, AtmConnKind=AtmConnKind, AtmIlmiNetworkPrefix=AtmIlmiNetworkPrefix, AtmInterfaceType=AtmInterfaceType, AtmServiceCategory=AtmServiceCategory, AtmSigDescrParamIndex=AtmSigDescrParamIndex, AtmTrafficDescrParamIndex=AtmTrafficDescrParamIndex, AtmVcIdentifier=AtmVcIdentifier, AtmVorXAdminStatus=AtmVorXAdminStatus, AtmVorXOperStatus=AtmVorXOperStatus, AtmVpIdentifier=AtmVpIdentifier, AtmVorXLastChange=AtmVorXLastChange) # Objects mibBuilder.exportSymbols("ATM-TC-MIB", atmTrafficDescriptorTypes=atmTrafficDescriptorTypes, atmNoTrafficDescriptor=atmNoTrafficDescriptor, atmNoClpNoScr=atmNoClpNoScr, atmClpNoTaggingNoScr=atmClpNoTaggingNoScr, atmClpTaggingNoScr=atmClpTaggingNoScr, atmNoClpScr=atmNoClpScr, atmClpNoTaggingScr=atmClpNoTaggingScr, atmClpTaggingScr=atmClpTaggingScr, atmClpNoTaggingMcr=atmClpNoTaggingMcr, atmClpTransparentNoScr=atmClpTransparentNoScr, atmClpTransparentScr=atmClpTransparentScr, atmNoClpTaggingNoScr=atmNoClpTaggingNoScr, atmNoClpNoScrCdvt=atmNoClpNoScrCdvt, atmNoClpScrCdvt=atmNoClpScrCdvt, atmClpNoTaggingScrCdvt=atmClpNoTaggingScrCdvt, atmClpTaggingScrCdvt=atmClpTaggingScrCdvt, atmTCMIB=atmTCMIB, atmObjectIdentities=atmObjectIdentities) pysnmp-mibs-0.1.3/pysnmp_mibs/RIPv2-MIB.py0000644000014400001440000003526511736645137020353 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RIPv2-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:33 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention") # Types class RouteTag(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(2,2) fixedLength = 2 # Objects rip2 = ModuleIdentity((1, 3, 6, 1, 2, 1, 23)).setRevisions(("1994-07-27 22:53",)) if mibBuilder.loadTexts: rip2.setOrganization("IETF RIP-II Working Group") if mibBuilder.loadTexts: rip2.setContactInfo(" Fred Baker\nPostal: Cisco Systems\n 519 Lado Drive\n Santa Barbara, California 93111\nTel: +1 805 681 0115\nE-Mail: fbaker@cisco.com\n\nPostal: Gary Malkin\n Xylogics, Inc.\n 53 Third Avenue\n Burlington, MA 01803\n\nPhone: (617) 272-8140\nEMail: gmalkin@Xylogics.COM") if mibBuilder.loadTexts: rip2.setDescription("The MIB module to describe the RIP2 Version 2 Protocol") rip2Globals = MibIdentifier((1, 3, 6, 1, 2, 1, 23, 1)) rip2GlobalRouteChanges = MibScalar((1, 3, 6, 1, 2, 1, 23, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2GlobalRouteChanges.setDescription("The number of route changes made to the IP Route\nDatabase by RIP. This does not include the refresh\nof a route's age.") rip2GlobalQueries = MibScalar((1, 3, 6, 1, 2, 1, 23, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2GlobalQueries.setDescription("The number of responses sent to RIP queries\nfrom other systems.") rip2IfStatTable = MibTable((1, 3, 6, 1, 2, 1, 23, 2)) if mibBuilder.loadTexts: rip2IfStatTable.setDescription("A list of subnets which require separate\nstatus monitoring in RIP.") rip2IfStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 23, 2, 1)).setIndexNames((0, "RIPv2-MIB", "rip2IfStatAddress")) if mibBuilder.loadTexts: rip2IfStatEntry.setDescription("A Single Routing Domain in a single Subnet.") rip2IfStatAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2IfStatAddress.setDescription("The IP Address of this system on the indicated\nsubnet. For unnumbered interfaces, the value 0.0.0.N,\nwhere the least significant 24 bits (N) is the ifIndex\nfor the IP Interface in network byte order.") rip2IfStatRcvBadPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2IfStatRcvBadPackets.setDescription("The number of RIP response packets received by\nthe RIP process which were subsequently discarded\nfor any reason (e.g. a version 0 packet, or an\nunknown command type).") rip2IfStatRcvBadRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2IfStatRcvBadRoutes.setDescription("The number of routes, in valid RIP packets,\nwhich were ignored for any reason (e.g. unknown\naddress family, or invalid metric).") rip2IfStatSentUpdates = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2IfStatSentUpdates.setDescription("The number of triggered RIP updates actually\nsent on this interface. This explicitly does\nNOT include full updates sent containing new\ninformation.") rip2IfStatStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 2, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfStatStatus.setDescription("Writing invalid has the effect of deleting\nthis interface.") rip2IfConfTable = MibTable((1, 3, 6, 1, 2, 1, 23, 3)) if mibBuilder.loadTexts: rip2IfConfTable.setDescription("A list of subnets which require separate\nconfiguration in RIP.") rip2IfConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 23, 3, 1)).setIndexNames((0, "RIPv2-MIB", "rip2IfConfAddress")) if mibBuilder.loadTexts: rip2IfConfEntry.setDescription("A Single Routing Domain in a single Subnet.") rip2IfConfAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2IfConfAddress.setDescription("The IP Address of this system on the indicated\nsubnet. For unnumbered interfaces, the value 0.0.0.N,\nwhere the least significant 24 bits (N) is the ifIndex\nfor the IP Interface in network byte order.") rip2IfConfDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 2), RouteTag().clone(hexValue='0000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfDomain.setDescription("Value inserted into the Routing Domain field\nof all RIP packets sent on this interface.") rip2IfConfAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("noAuthentication", 1), ("simplePassword", 2), ("md5", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfAuthType.setDescription("The type of Authentication used on this\ninterface.") rip2IfConfAuthKey = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 16)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfAuthKey.setDescription("The value to be used as the Authentication Key\nwhenever the corresponding instance of\nrip2IfConfAuthType has a value other than\nnoAuthentication. A modification of the corresponding\ninstance of rip2IfConfAuthType does not modify\nthe rip2IfConfAuthKey value. If a string shorter\nthan 16 octets is supplied, it will be left-\njustified and padded to 16 octets, on the right,\nwith nulls (0x00).\n\nReading this object always results in an OCTET\nSTRING of length zero; authentication may not\nbe bypassed by reading the MIB object.") rip2IfConfSend = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,6,4,2,5,3,)).subtype(namedValues=NamedValues(("doNotSend", 1), ("ripVersion1", 2), ("rip1Compatible", 3), ("ripVersion2", 4), ("ripV1Demand", 5), ("ripV2Demand", 6), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfSend.setDescription("What the router sends on this interface.\nripVersion1 implies sending RIP updates compliant\nwith RFC 1058. rip1Compatible implies\nbroadcasting RIP-2 updates using RFC 1058 route\nsubsumption rules. ripVersion2 implies\nmulticasting RIP-2 updates. ripV1Demand indicates\nthe use of Demand RIP on a WAN interface under RIP\nVersion 1 rules. ripV2Demand indicates the use of\nDemand RIP on a WAN interface under Version 2 rules.") rip2IfConfReceive = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("rip1", 1), ("rip2", 2), ("rip1OrRip2", 3), ("doNotRecieve", 4), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfReceive.setDescription("This indicates which version of RIP updates\nare to be accepted. Note that rip2 and\nrip1OrRip2 implies reception of multicast\npackets.") rip2IfConfDefaultMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfDefaultMetric.setDescription("This variable indicates the metric that is to\nbe used for the default route entry in RIP updates\noriginated on this interface. A value of zero\nindicates that no default route should be\noriginated; in this case, a default route via\nanother router may be propagated.") rip2IfConfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfStatus.setDescription("Writing invalid has the effect of deleting\nthis interface.") rip2IfConfSrcAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 3, 1, 9), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rip2IfConfSrcAddress.setDescription("The IP Address this system will use as a source\naddress on this interface. If it is a numbered\ninterface, this MUST be the same value as\nrip2IfConfAddress. On unnumbered interfaces,\nit must be the value of rip2IfConfAddress for\nsome interface on the system.") rip2PeerTable = MibTable((1, 3, 6, 1, 2, 1, 23, 4)) if mibBuilder.loadTexts: rip2PeerTable.setDescription("A list of RIP Peers.") rip2PeerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 23, 4, 1)).setIndexNames((0, "RIPv2-MIB", "rip2PeerAddress"), (0, "RIPv2-MIB", "rip2PeerDomain")) if mibBuilder.loadTexts: rip2PeerEntry.setDescription("Information regarding a single routing peer.") rip2PeerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 4, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2PeerAddress.setDescription("The IP Address that the peer is using as its source\naddress. Note that on an unnumbered link, this may\nnot be a member of any subnet on the system.") rip2PeerDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 4, 1, 2), RouteTag()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2PeerDomain.setDescription("The value in the Routing Domain field in RIP\npackets received from the peer. As domain suuport\nis deprecated, this must be zero.") rip2PeerLastUpdate = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 4, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2PeerLastUpdate.setDescription("The value of sysUpTime when the most recent\nRIP update was received from this system.") rip2PeerVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2PeerVersion.setDescription("The RIP version number in the header of the\nlast RIP packet received.") rip2PeerRcvBadPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2PeerRcvBadPackets.setDescription("The number of RIP response packets from this\npeer discarded as invalid.") rip2PeerRcvBadRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 23, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rip2PeerRcvBadRoutes.setDescription("The number of routes from this peer that were\nignored because the entry format was invalid.") rip2Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 23, 5)) rip2Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 23, 5, 1)) rip2Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 23, 5, 2)) # Augmentions # Groups rip2GlobalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 23, 5, 1, 1)).setObjects(*(("RIPv2-MIB", "rip2GlobalRouteChanges"), ("RIPv2-MIB", "rip2GlobalQueries"), ) ) if mibBuilder.loadTexts: rip2GlobalGroup.setDescription("This group defines global controls for RIP-II systems.") rip2IfStatGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 23, 5, 1, 2)).setObjects(*(("RIPv2-MIB", "rip2IfStatRcvBadPackets"), ("RIPv2-MIB", "rip2IfStatStatus"), ("RIPv2-MIB", "rip2IfStatAddress"), ("RIPv2-MIB", "rip2IfStatRcvBadRoutes"), ("RIPv2-MIB", "rip2IfStatSentUpdates"), ) ) if mibBuilder.loadTexts: rip2IfStatGroup.setDescription("This group defines interface statistics for RIP-II systems.") rip2IfConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 23, 5, 1, 3)).setObjects(*(("RIPv2-MIB", "rip2IfConfSrcAddress"), ("RIPv2-MIB", "rip2IfConfAuthKey"), ("RIPv2-MIB", "rip2IfConfSend"), ("RIPv2-MIB", "rip2IfConfAddress"), ("RIPv2-MIB", "rip2IfConfReceive"), ("RIPv2-MIB", "rip2IfConfAuthType"), ("RIPv2-MIB", "rip2IfConfStatus"), ("RIPv2-MIB", "rip2IfConfDefaultMetric"), ) ) if mibBuilder.loadTexts: rip2IfConfGroup.setDescription("This group defines interface configuration for RIP-II systems.") rip2PeerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 23, 5, 1, 4)).setObjects(*(("RIPv2-MIB", "rip2PeerAddress"), ("RIPv2-MIB", "rip2PeerLastUpdate"), ("RIPv2-MIB", "rip2PeerRcvBadPackets"), ("RIPv2-MIB", "rip2PeerVersion"), ("RIPv2-MIB", "rip2PeerRcvBadRoutes"), ("RIPv2-MIB", "rip2PeerDomain"), ) ) if mibBuilder.loadTexts: rip2PeerGroup.setDescription("This group defines peer information for RIP-II systems.") # Compliances rip2Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 23, 5, 2, 1)).setObjects(*(("RIPv2-MIB", "rip2IfConfGroup"), ("RIPv2-MIB", "rip2GlobalGroup"), ("RIPv2-MIB", "rip2IfStatGroup"), ("RIPv2-MIB", "rip2PeerGroup"), ) ) if mibBuilder.loadTexts: rip2Compliance.setDescription("The compliance statement ") # Exports # Module identity mibBuilder.exportSymbols("RIPv2-MIB", PYSNMP_MODULE_ID=rip2) # Types mibBuilder.exportSymbols("RIPv2-MIB", RouteTag=RouteTag) # Objects mibBuilder.exportSymbols("RIPv2-MIB", rip2=rip2, rip2Globals=rip2Globals, rip2GlobalRouteChanges=rip2GlobalRouteChanges, rip2GlobalQueries=rip2GlobalQueries, rip2IfStatTable=rip2IfStatTable, rip2IfStatEntry=rip2IfStatEntry, rip2IfStatAddress=rip2IfStatAddress, rip2IfStatRcvBadPackets=rip2IfStatRcvBadPackets, rip2IfStatRcvBadRoutes=rip2IfStatRcvBadRoutes, rip2IfStatSentUpdates=rip2IfStatSentUpdates, rip2IfStatStatus=rip2IfStatStatus, rip2IfConfTable=rip2IfConfTable, rip2IfConfEntry=rip2IfConfEntry, rip2IfConfAddress=rip2IfConfAddress, rip2IfConfDomain=rip2IfConfDomain, rip2IfConfAuthType=rip2IfConfAuthType, rip2IfConfAuthKey=rip2IfConfAuthKey, rip2IfConfSend=rip2IfConfSend, rip2IfConfReceive=rip2IfConfReceive, rip2IfConfDefaultMetric=rip2IfConfDefaultMetric, rip2IfConfStatus=rip2IfConfStatus, rip2IfConfSrcAddress=rip2IfConfSrcAddress, rip2PeerTable=rip2PeerTable, rip2PeerEntry=rip2PeerEntry, rip2PeerAddress=rip2PeerAddress, rip2PeerDomain=rip2PeerDomain, rip2PeerLastUpdate=rip2PeerLastUpdate, rip2PeerVersion=rip2PeerVersion, rip2PeerRcvBadPackets=rip2PeerRcvBadPackets, rip2PeerRcvBadRoutes=rip2PeerRcvBadRoutes, rip2Conformance=rip2Conformance, rip2Groups=rip2Groups, rip2Compliances=rip2Compliances) # Groups mibBuilder.exportSymbols("RIPv2-MIB", rip2GlobalGroup=rip2GlobalGroup, rip2IfStatGroup=rip2IfStatGroup, rip2IfConfGroup=rip2IfConfGroup, rip2PeerGroup=rip2PeerGroup) # Compliances mibBuilder.exportSymbols("RIPv2-MIB", rip2Compliance=rip2Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/HC-RMON-MIB.py0000644000014400001440000034456511736645136020521 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HC-RMON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:03 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( CounterBasedGauge64, ZeroBasedCounter64, ) = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64", "ZeroBasedCounter64") ( OwnerString, capture, captureBufferControlIndex, captureBufferIndex, etherHistoryIndex, etherHistorySampleIndex, etherStatsIndex, history, hostAddress, hostIndex, hostTimeCreationOrder, hostTimeIndex, hostTopN, hostTopNIndex, hostTopNReport, hosts, matrix, matrixDSDestAddress, matrixDSIndex, matrixDSSourceAddress, matrixSDDestAddress, matrixSDIndex, matrixSDSourceAddress, rmon, rmonEtherStatsGroup, rmonEthernetHistoryGroup, rmonFilterGroup, rmonHistoryControlGroup, rmonHostGroup, rmonHostTopNGroup, rmonMatrixGroup, rmonPacketCaptureGroup, statistics, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "capture", "captureBufferControlIndex", "captureBufferIndex", "etherHistoryIndex", "etherHistorySampleIndex", "etherStatsIndex", "history", "hostAddress", "hostIndex", "hostTimeCreationOrder", "hostTimeIndex", "hostTopN", "hostTopNIndex", "hostTopNReport", "hosts", "matrix", "matrixDSDestAddress", "matrixDSIndex", "matrixDSSourceAddress", "matrixSDDestAddress", "matrixSDIndex", "matrixSDSourceAddress", "rmon", "rmonEtherStatsGroup", "rmonEthernetHistoryGroup", "rmonFilterGroup", "rmonHistoryControlGroup", "rmonHostGroup", "rmonHostTopNGroup", "rmonMatrixGroup", "rmonPacketCaptureGroup", "statistics") ( ZeroBasedCounter32, addressMapGroup, addressMapGroup, alHost, alHostGroup, alHostTimeMark, alMatrix, alMatrixDSTimeMark, alMatrixGroup, alMatrixSDTimeMark, alMatrixTopNControlIndex, alMatrixTopNIndex, hlHostControlIndex, hlMatrixControlIndex, nlHost, nlHostAddress, nlHostGroup, nlHostGroup, nlHostTimeMark, nlMatrix, nlMatrixDSDestAddress, nlMatrixDSSourceAddress, nlMatrixDSTimeMark, nlMatrixGroup, nlMatrixGroup, nlMatrixSDDestAddress, nlMatrixSDSourceAddress, nlMatrixSDTimeMark, nlMatrixTopNControlIndex, nlMatrixTopNIndex, probeConfig, probeInformationGroup, probeInformationGroup, protocolDirLocalIndex, protocolDirectoryGroup, protocolDirectoryGroup, protocolDist, protocolDistControlIndex, protocolDistributionGroup, protocolDistributionGroup, rmon1EnhancementGroup, rmon1EnhancementGroup, rmonConformance, usrHistory, usrHistoryControlIndex, usrHistoryGroup, usrHistoryGroup, usrHistoryObjectIndex, usrHistorySampleIndex, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32", "addressMapGroup", "addressMapGroup", "alHost", "alHostGroup", "alHostTimeMark", "alMatrix", "alMatrixDSTimeMark", "alMatrixGroup", "alMatrixSDTimeMark", "alMatrixTopNControlIndex", "alMatrixTopNIndex", "hlHostControlIndex", "hlMatrixControlIndex", "nlHost", "nlHostAddress", "nlHostGroup", "nlHostGroup", "nlHostTimeMark", "nlMatrix", "nlMatrixDSDestAddress", "nlMatrixDSSourceAddress", "nlMatrixDSTimeMark", "nlMatrixGroup", "nlMatrixGroup", "nlMatrixSDDestAddress", "nlMatrixSDSourceAddress", "nlMatrixSDTimeMark", "nlMatrixTopNControlIndex", "nlMatrixTopNIndex", "probeConfig", "probeInformationGroup", "probeInformationGroup", "protocolDirLocalIndex", "protocolDirectoryGroup", "protocolDirectoryGroup", "protocolDist", "protocolDistControlIndex", "protocolDistributionGroup", "protocolDistributionGroup", "rmon1EnhancementGroup", "rmon1EnhancementGroup", "rmonConformance", "usrHistory", "usrHistoryControlIndex", "usrHistoryGroup", "usrHistoryGroup", "usrHistoryObjectIndex", "usrHistorySampleIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TimeStamp") # Objects etherStatsHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 7)) if mibBuilder.loadTexts: etherStatsHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\netherStatsTable.") etherStatsHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 7, 1)).setIndexNames((0, "RMON-MIB", "etherStatsIndex")) if mibBuilder.loadTexts: etherStatsHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\netherStatsEntry. These objects will be created by the agent\nfor all etherStatsEntries it deems appropriate.") etherStatsHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowPkts.setDescription("The number of times the associated etherStatsPkts\ncounter has overflowed.") etherStatsHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityPkts.setDescription("The total number of packets (including bad packets,\nbroadcast packets, and multicast packets) received.") etherStatsHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowOctets.setDescription("The number of times the associated etherStatsOctets\ncounter has overflowed.") etherStatsHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOctets.setDescription("The total number of octets of data (including\nthose in bad packets) received on the\nnetwork (excluding framing bits but including\nFCS octets).\n\nIf the network is half-duplex Fast Ethernet, this\nobject can be used as a reasonable estimate of\nutilization. If greater precision is desired, the\netherStatsHighCapacityPkts and\netherStatsHighCapacityOctets objects should be sampled\nbefore and after a common interval. The differences\nin the sampled values are Pkts and Octets,\nrespectively, and the number of seconds in the\ninterval is Interval. These values\nare used to calculate the Utilization as follows:\n\n\n\n\n\n\n Pkts * (.96 + .64) + (Octets * .08)\nUtilization = -------------------------------------\n Interval * 10,000\n\nThe result of this equation is the value Utilization\nwhich is the percent utilization of the ethernet\nsegment on a scale of 0 to 100 percent.\n\nThis table is not appropriate for monitoring full-duplex\nethernets. If the network is a full-duplex ethernet and the\nmediaIndependentTable is monitoring that network, the\nutilization can be calculated as follows:\n\n1) Determine the utilization of the inbound path by using\n the appropriate equation (for ethernet or fast ethernet)\n to determine the utilization, substituting\n mediaIndependentInPkts for etherStatsHighCapacityPkts, and\n mediaIndependentInOctets for etherStatsHighCapacityOctets.\n Call the resulting utilization inUtilization.\n\n2) Determine the utilization of the outbound path by using\n the same equation to determine the utilization, substituting\n mediaIndependentOutPkts for etherStatsHighCapacityPkts, and\n mediaIndependentOutOctets for etherStatsHighCapacityOctets.\n Call the resulting utilization outUtilization.\n\n3) The utilization is the maximum of inUtilization and\n outUtilization. This metric shows the amount of percentage\n of bandwidth that is left before congestion will be\n experienced on the link.") etherStatsHighCapacityOverflowPkts64Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowPkts64Octets.setDescription("The number of times the associated etherStatsPkts64Octets\ncounter has overflowed.") etherStatsHighCapacityPkts64Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityPkts64Octets.setDescription("The total number of packets (including bad\npackets) received that were 64 octets in length\n(excluding framing bits but including FCS octets).") etherStatsHighCapacityOverflowPkts65to127Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowPkts65to127Octets.setDescription("The number of times the associated etherStatsPkts65to127Octets\ncounter has overflowed.") etherStatsHighCapacityPkts65to127Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityPkts65to127Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n65 and 127 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsHighCapacityOverflowPkts128to255Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowPkts128to255Octets.setDescription("The number of times the associated etherStatsPkts128to255Octets\ncounter has overflowed.") etherStatsHighCapacityPkts128to255Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityPkts128to255Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n128 and 255 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsHighCapacityOverflowPkts256to511Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowPkts256to511Octets.setDescription("The number of times the associated etherStatsPkts256to511Octets\ncounter has overflowed.") etherStatsHighCapacityPkts256to511Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityPkts256to511Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n256 and 511 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsHighCapacityOverflowPkts512to1023Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowPkts512to1023Octets.setDescription("The number of times the associated\netherStatsPkts512to1023Octets counter has overflowed.") etherStatsHighCapacityPkts512to1023Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityPkts512to1023Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n512 and 1023 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherStatsHighCapacityOverflowPkts1024to1518Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityOverflowPkts1024to1518Octets.setDescription("The number of times the associated\netherStatsPkts1024to1518Octets counter has overflowed.") etherStatsHighCapacityPkts1024to1518Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 7, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherStatsHighCapacityPkts1024to1518Octets.setDescription("The total number of packets (including bad\npackets) received that were between\n1024 and 1518 octets in length inclusive\n(excluding framing bits but including FCS octets).") etherHistoryHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 6)) if mibBuilder.loadTexts: etherHistoryHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\netherHistoryTable.") etherHistoryHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 6, 1)).setIndexNames((0, "RMON-MIB", "etherHistoryIndex"), (0, "RMON-MIB", "etherHistorySampleIndex")) if mibBuilder.loadTexts: etherHistoryHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\netherHistoryEntry. These objects will be created by the agent\nfor all etherHistoryEntries associated with whichever\nhistoryControlEntries it deems appropriate. (i.e., either all\netherHistoryHighCapacityEntries associated with a particular\nhistoryControlEntry will be created, or none of them will\nbe.)") etherHistoryHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 6, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryHighCapacityOverflowPkts.setDescription("The number of times the associated etherHistoryPkts\nGauge overflowed during this sampling interval.") etherHistoryHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 6, 1, 2), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryHighCapacityPkts.setDescription("The total number of packets (including bad packets,\nbroadcast packets, and multicast packets) received during\nthis sampling interval.") etherHistoryHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 6, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryHighCapacityOverflowOctets.setDescription("The number of times the associated etherHistoryOctets\ncounter has overflowed during this sampling interval.") etherHistoryHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 6, 1, 4), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etherHistoryHighCapacityOctets.setDescription("The total number of octets of data (including\nthose in bad packets) received on the\nnetwork (excluding framing bits but including\nFCS octets) during this sampling interval.") hostHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 5)) if mibBuilder.loadTexts: hostHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nhostTable.") hostHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 5, 1)).setIndexNames((0, "RMON-MIB", "hostIndex"), (0, "RMON-MIB", "hostAddress")) if mibBuilder.loadTexts: hostHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nhostEntry. These objects will be created by the agent\nfor all hostEntries associated with whichever\nhostControlEntries it deems appropriate. (i.e., either all\nhostHighCapacityEntries associated with a particular\nhostControlEntry will be created, or none of them will\nbe.)") hostHighCapacityInOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityInOverflowPkts.setDescription("The number of times the associated hostInPkts\ncounter has overflowed.") hostHighCapacityInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityInPkts.setDescription("The number of good packets transmitted to\nthis address since it was added to the\nhostHighCapacityTable.") hostHighCapacityOutOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityOutOverflowPkts.setDescription("The number of times the associated hostOutPkts\ncounter has overflowed.") hostHighCapacityOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityOutPkts.setDescription("The number of packets, including bad packets, transmitted\nby this address since it was added to the\nhostHighCapacityTable.") hostHighCapacityInOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityInOverflowOctets.setDescription("The number of times the associated hostInOctets\ncounter has overflowed.") hostHighCapacityInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityInOctets.setDescription("The number of octets transmitted to this address\nsince it was added to the hostHighCapacityTable (excluding\nframing bits but including FCS octets), except for\n\n\n\nthose octets in bad packets.") hostHighCapacityOutOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityOutOverflowOctets.setDescription("The number of times the associated hostOutOctets\ncounter has overflowed.") hostHighCapacityOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 5, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostHighCapacityOutOctets.setDescription("The number of octets transmitted by this address\nsince it was added to the hostHighCapacityTable (excluding\nframing bits but including FCS octets), including\nthose octets in bad packets.") hostTimeHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 4, 6)) if mibBuilder.loadTexts: hostTimeHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nhostTimeTable.") hostTimeHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 4, 6, 1)).setIndexNames((0, "RMON-MIB", "hostTimeIndex"), (0, "RMON-MIB", "hostTimeCreationOrder")) if mibBuilder.loadTexts: hostTimeHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nhostTimeEntry. These objects will be created by the agent\nfor all hostTimeEntries associated with whichever\nhostControlEntries it deems appropriate. (i.e., either all\nhostTimeHighCapacityEntries associated with a particular\nhostControlEntry will be created, or none of them will\nbe.)") hostTimeHighCapacityInOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityInOverflowPkts.setDescription("The number of times the associated hostTimeInPkts\ncounter has overflowed.") hostTimeHighCapacityInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityInPkts.setDescription("The number of good packets transmitted to this address\nsince it was added to the hostTimeHighCapacityTable.") hostTimeHighCapacityOutOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityOutOverflowPkts.setDescription("The number of times the associated hostTimeOutPkts\ncounter has overflowed.") hostTimeHighCapacityOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityOutPkts.setDescription("The number of packets, including bad packets, transmitted\nby this address since it was added to the\nhostTimeHighCapacityTable.") hostTimeHighCapacityInOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityInOverflowOctets.setDescription("The number of times the associated hostTimeInOctets\ncounter has overflowed.") hostTimeHighCapacityInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityInOctets.setDescription("The number of octets transmitted to this address\nsince it was added to the hostTimeHighCapacityTable\n(excluding framing bits but including FCS octets),\nexcept for those octets in bad packets.") hostTimeHighCapacityOutOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityOutOverflowOctets.setDescription("The number of times the associated hostTimeOutOctets\ncounter has overflowed.") hostTimeHighCapacityOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 4, 6, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTimeHighCapacityOutOctets.setDescription("The number of octets transmitted by this address since\nit was added to the hostTimeTable (excluding framing\nbits but including FCS octets), including those\n\n\n\noctets in bad packets.") hostTopNHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 5, 3)) if mibBuilder.loadTexts: hostTopNHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nhostTopNTable when hostTopNRateBase specifies a High Capacity\nTopN Report.") hostTopNHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 5, 3, 1)).setIndexNames((0, "RMON-MIB", "hostTopNReport"), (0, "RMON-MIB", "hostTopNIndex")) if mibBuilder.loadTexts: hostTopNHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nhostTopNEntry when hostTopNRateBase specifies a High Capacity\nTopN Report. These objects will be created by the agent\nfor all hostTopNEntries associated with whichever\nhostTopNControlEntries have a hostTopNRateBase that specify\na high capacity report.") hostTopNHighCapacityAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 3, 1, 1), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNHighCapacityAddress.setDescription("The physical address of this host.") hostTopNHighCapacityBaseRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 3, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNHighCapacityBaseRate.setDescription("The amount of change in the selected variable\nduring this sampling interval, modulo 2^32. The\nselected variable is this host's instance of the\nobject selected by hostTopNRateBase.") hostTopNHighCapacityOverflowRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 3, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNHighCapacityOverflowRate.setDescription("The amount of change in the selected variable\nduring this sampling interval, divided by 2^32, truncating\nfractions (i.e., X DIV 2^32). The selected variable is\nthis host's instance of the object selected by\nhostTopNRateBase.") hostTopNHighCapacityRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 5, 3, 1, 4), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostTopNHighCapacityRate.setDescription("The amount of change in the selected variable\nduring this sampling interval. The selected\nvariable is this host's instance of the object\nselected by hostTopNRateBase.") matrixSDHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 5)) if mibBuilder.loadTexts: matrixSDHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nmatrixSDTable.") matrixSDHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 5, 1)).setIndexNames((0, "RMON-MIB", "matrixSDIndex"), (0, "RMON-MIB", "matrixSDSourceAddress"), (0, "RMON-MIB", "matrixSDDestAddress")) if mibBuilder.loadTexts: matrixSDHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nmatrixSDEntry. These objects will be created by the agent\n\n\n\nfor all matrixSDEntries associated with whichever\nmatrixControlEntries it deems appropriate. (i.e., either all\nmatrixSDHighCapacityEntries associated with a particular\nmatrixControlEntry will be created, or none of them will\nbe.)") matrixSDHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDHighCapacityOverflowPkts.setDescription("The number of times the associated matrixSDPkts\ncounter has overflowed.") matrixSDHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 5, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDHighCapacityPkts.setDescription("The number of packets transmitted from the source\naddress to the destination address (this number\nincludes bad packets).") matrixSDHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDHighCapacityOverflowOctets.setDescription("The number of times the associated matrixSDOctets\ncounter has overflowed.") matrixSDHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 5, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixSDHighCapacityOctets.setDescription("The number of octets (excluding framing bits but\nincluding FCS octets) contained in all packets\ntransmitted from the source address to the\ndestination address.") matrixDSHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 6, 6)) if mibBuilder.loadTexts: matrixDSHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nmatrixDSTable.") matrixDSHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 6, 6, 1)).setIndexNames((0, "RMON-MIB", "matrixDSIndex"), (0, "RMON-MIB", "matrixDSDestAddress"), (0, "RMON-MIB", "matrixDSSourceAddress")) if mibBuilder.loadTexts: matrixDSHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\nmatrixDSEntry. These objects will be created by the agent\nfor all matrixDSEntries associated with whichever\nmatrixControlEntries it deems appropriate. (i.e., either all\nmatrixDSHighCapacityEntries associated with a particular\nmatrixControlEntry will be created, or none of them will\nbe.)") matrixDSHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSHighCapacityOverflowPkts.setDescription("The number of times the associated matrixDSPkts\ncounter has overflowed.") matrixDSHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 6, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSHighCapacityPkts.setDescription("The number of packets transmitted from the source\naddress to the destination address (this number\nincludes bad packets).") matrixDSHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSHighCapacityOverflowOctets.setDescription("The number of times the associated matrixDSOctets\ncounter has overflowed.") matrixDSHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 6, 6, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: matrixDSHighCapacityOctets.setDescription("The number of octets (excluding framing bits\nbut including FCS octets) contained in all packets\ntransmitted from the source address to the\ndestination address.") captureBufferHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 8, 3)) if mibBuilder.loadTexts: captureBufferHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-1\n\n\n\ncaptureBufferTable.") captureBufferHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 8, 3, 1)).setIndexNames((0, "RMON-MIB", "captureBufferControlIndex"), (0, "RMON-MIB", "captureBufferIndex")) if mibBuilder.loadTexts: captureBufferHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-1\ncaptureBufferEntry. These objects will be created by the agent\nfor all captureBufferEntries associated with whichever\nbufferControlEntries it deems appropriate. (i.e., either all\ncaptureBufferHighCapacityEntries associated with a particular\nbufferControlEntry will be created, or none of them will\nbe.)") captureBufferPacketHighCapacityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 8, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 999999))).setMaxAccess("readonly") if mibBuilder.loadTexts: captureBufferPacketHighCapacityTime.setDescription("The number of nanoseconds that had passed since this capture\nbuffer was first turned on when this packet was captured,\nmodulo 10^6.\n\nThis object is used in conjunction with the\ncaptureBufferPacketTime object. This object returns the\nnumber of nano-seconds to be added to to number of\nmilli-seconds obtained from the captureBufferPacketTime\nobject, to obtain more accurate inter packet arrival time.") protocolDistStatsHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 12, 3)) if mibBuilder.loadTexts: protocolDistStatsHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nprotocolDistStatsTable.") protocolDistStatsHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 12, 3, 1)).setIndexNames((0, "RMON2-MIB", "protocolDistControlIndex"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: protocolDistStatsHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nprotocolDistStatsTable. These objects will be created by the\nagent for all protocolDistStatsEntries associated with\nwhichever protocolDistControlEntries it deems appropriate.\n(i.e., either all protocolDistStatsHighCapacityEntries\nassociated with a particular protocolDistControlEntry will be\ncreated, or none of them will be.)") protocolDistStatsHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 3, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistStatsHighCapacityOverflowPkts.setDescription("The number of times the associated protocolDistStatsPkts\ncounter has overflowed.") protocolDistStatsHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 3, 1, 2), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistStatsHighCapacityPkts.setDescription("The number of packets without errors received of this\nprotocol type. Note that this is the number of link-layer\npackets, so if a single network-layer packet is fragmented\ninto several link-layer frames, this counter is incremented\nseveral times.") protocolDistStatsHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 3, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistStatsHighCapacityOverflowOctets.setDescription("The number of times the associated protocolDistStatsOctets\ncounter has overflowed.") protocolDistStatsHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 12, 3, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: protocolDistStatsHighCapacityOctets.setDescription("The number of octets in packets received of this protocol\ntype since it was added to the protocolDistStatsTable\n(excluding framing bits but including FCS octets), except for\nthose octets in packets that contained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that contained\nthe protocol.") nlHostHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 14, 3)) if mibBuilder.loadTexts: nlHostHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlHostTable.") nlHostHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 14, 3, 1)).setIndexNames((0, "RMON2-MIB", "hlHostControlIndex"), (0, "RMON2-MIB", "nlHostTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlHostAddress")) if mibBuilder.loadTexts: nlHostHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlHostEntry. These objects will be created by the agent\nfor all nlHostEntries associated with whichever\nhlHostControlEntries it deems appropriate. (i.e., either all\nnlHostHighCapacityEntries associated with a particular\nhlHostControlEntry will be created, or none of them will\nbe.)") nlHostHighCapacityInOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityInOverflowPkts.setDescription("The number of times the associated nlHostInPkts\ncounter has overflowed.") nlHostHighCapacityInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 2), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityInPkts.setDescription("The number of packets without errors transmitted to\nthis address since it was added to the nlHostHighCapacityTable.\nNote that this is the number of link-layer packets, so if a\nsingle network-layer packet is fragmented into several\nlink-layer frames, this counter is incremented several times.") nlHostHighCapacityOutOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityOutOverflowPkts.setDescription("The number of times the associated nlHostOutPkts\ncounter has overflowed.") nlHostHighCapacityOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityOutPkts.setDescription("The number of packets without errors transmitted by\nthis address since it was added to the nlHostHighCapacityTable.\nNote that this is the number of link-layer packets, so if a\nsingle network-layer packet is fragmented into several\nlink-layer frames, this counter is incremented several times.") nlHostHighCapacityInOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityInOverflowOctets.setDescription("The number of times the associated nlHostInOctets\ncounter has overflowed.") nlHostHighCapacityInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 6), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityInOctets.setDescription("The number of octets transmitted to this address\nsince it was added to the nlHostHighCapacityTable\n(excluding framing bits but including FCS octets),\nexcluding those octets in packets that contained\nerrors.\n\nNote this doesn't count just those octets in the\nparticular protocol frames, but includes the entire\npacket that contained the protocol.") nlHostHighCapacityOutOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityOutOverflowOctets.setDescription("The number of times the associated nlHostOutOctets\ncounter has overflowed.") nlHostHighCapacityOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 14, 3, 1, 8), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlHostHighCapacityOutOctets.setDescription("The number of octets transmitted by this address\nsince it was added to the nlHostHighCapacityTable\n(excluding framing bits but including FCS octets),\nexcluding those octets in packets that contained\nerrors.\n\nNote this doesn't count just those octets in the\nparticular protocol frames, but includes the entire\npacket that contained the protocol.") nlMatrixSDHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 6)) if mibBuilder.loadTexts: nlMatrixSDHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlMatrixTable.") nlMatrixSDHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 6, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "nlMatrixSDTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixSDSourceAddress"), (0, "RMON2-MIB", "nlMatrixSDDestAddress")) if mibBuilder.loadTexts: nlMatrixSDHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlMatrixEntry. These objects will be created by the agent\nfor all nlMatrixSDEntries associated with whichever\nhlMatrixControlEntries it deems appropriate. (i.e., either all\nnlMatrixSDHighCapacityEntries associated with a particular\nhlMatrixControlEntry will be created, or none of them will\nbe.)") nlMatrixSDHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 6, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixSDHighCapacityOverflowPkts.setDescription("The number of times the associated nlMatrixSDPkts\ncounter has overflowed.") nlMatrixSDHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 6, 1, 2), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixSDHighCapacityPkts.setDescription("The number of packets without errors transmitted from the\nsource address to the destination address since this entry was\nadded to the nlMatrixSDHighCapacityTable. Note that this is\nthe number of link-layer packets, so if a single network-layer\npacket is fragmented into several link-layer frames, this\ncounter is incremented several times.") nlMatrixSDHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 6, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixSDHighCapacityOverflowOctets.setDescription("The number of times the associated nlMatrixSDOctets\ncounter has overflowed.") nlMatrixSDHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 6, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixSDHighCapacityOctets.setDescription("The number of octets transmitted from the source address to\nthe destination address since this entry was added to the\n\n\n\nnlMatrixSDHighCapacityTable (excluding framing bits but\nincluding FCS octets), excluding those octets in packets that\ncontained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that contained\nthe protocol.") nlMatrixDSHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 7)) if mibBuilder.loadTexts: nlMatrixDSHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlMatrixDSTable.") nlMatrixDSHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 7, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "nlMatrixDSTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixDSDestAddress"), (0, "RMON2-MIB", "nlMatrixDSSourceAddress")) if mibBuilder.loadTexts: nlMatrixDSHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlMatrixDSEntry. These objects will be created by the agent\nfor all nlMatrixDSEntries associated with whichever\nhlmatrixControlEntries it deems appropriate. (i.e., either all\nnlMatrixDSHighCapacityEntries associated with a particular\nhlMatrixControlEntry will be created, or none of them will\nbe.)") nlMatrixDSHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 7, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixDSHighCapacityOverflowPkts.setDescription("The number of times the associated nlMatrixDSPkts\ncounter has overflowed.") nlMatrixDSHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 7, 1, 2), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixDSHighCapacityPkts.setDescription("The number of packets without errors transmitted from the\nsource address to the destination address since this entry was\nadded to the nlMatrixDSHighCapacityTable. Note that this is\nthe number of link-layer packets, so if a single network-layer\npacket is fragmented into several link-layer frames, this\ncounter is incremented several times.") nlMatrixDSHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 7, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixDSHighCapacityOverflowOctets.setDescription("The number of times the associated nlMatrixDSOctets\ncounter has overflowed.") nlMatrixDSHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 7, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixDSHighCapacityOctets.setDescription("The number of octets transmitted from the source address\nto the destination address since this entry was added to the\nnlMatrixDSHighCapacityTable (excluding framing bits but\nincluding FCS octets), excluding those octets in packets that\ncontained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that contained\nthe protocol.") nlMatrixTopNHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 15, 8)) if mibBuilder.loadTexts: nlMatrixTopNHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlMatrixTopNTable when nlMatrixTopNControlRateBase specifies\na High Capacity TopN Report.") nlMatrixTopNHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 15, 8, 1)).setIndexNames((0, "RMON2-MIB", "nlMatrixTopNControlIndex"), (0, "RMON2-MIB", "nlMatrixTopNIndex")) if mibBuilder.loadTexts: nlMatrixTopNHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nnlMatrixTopNEntry when nlMatrixTopNControlRateBase specifies\na High Capacity TopN Report. These objects will be created by\nthe agent for all nlMatrixTopNEntries associated with whichever\nnlMatrixTopNControlEntries have a nlMatrixTopNControlRateBase\nthat specify a high capacity report.") nlMatrixTopNHighCapacityProtocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityProtocolDirLocalIndex.setDescription("The protocolDirLocalIndex of the network layer protocol of\n\n\n\nthis entry's network address.") nlMatrixTopNHighCapacitySourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacitySourceAddress.setDescription("The network layer address of the source host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated nlMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the protocolDirLocalIndex indicates an\nencapsulation of ip, this object is encoded as a length\noctet of 4, followed by the 4 octets of the ip address,\nin network byte order.") nlMatrixTopNHighCapacityDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityDestAddress.setDescription("The network layer address of the destination host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated nlMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the nlMatrixTopNProtocolDirLocalIndex\nindicates an encapsulation of ip, this object is encoded as a\nlength octet of 4, followed by the 4 octets of the ip address,\nin network byte order.") nlMatrixTopNHighCapacityBasePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityBasePktRate.setDescription("The number of packets seen from the source host\nto the destination host during this sampling interval,\nmodulo 2^32, counted using the rules for counting the\n\n\n\nnlMatrixSDPkts object.") nlMatrixTopNHighCapacityOverflowPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityOverflowPktRate.setDescription("The number of packets seen from the source host\nto the destination host during this sampling interval,\ndivided by 2^32, truncating fractions (i.e., X DIV 2^32),\nand counted using the rules for counting the\nnlMatrixSDPkts object.") nlMatrixTopNHighCapacityPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 6), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityPktRate.setDescription("The number of packets seen from the source host to the\ndestination host during this sampling interval, counted\nusing the rules for counting the nlMatrixSDPkts object.\nIf the value of nlMatrixTopNControlRateBase is\nnlMatrixTopNHighCapacityPkts, this variable will be\nused to sort this report.") nlMatrixTopNHighCapacityReverseBasePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityReverseBasePktRate.setDescription("The number of packets seen from the destination host to the\nsource host during this sampling interval, modulo 2^32, counted\nusing the rules for counting the nlMatrixSDPkts object (note\nthat the corresponding nlMatrixSDPkts object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNHighCapacityPkts, the sort of topN entries is\nbased entirely on nlMatrixTopNHighCapacityPktRate, and not on\nthe value of this object.") nlMatrixTopNHighCapacityReverseOverflowPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityReverseOverflowPktRate.setDescription("The number of packets seen from the destination host to the\nsource host during this sampling interval, divided by 2^32,\ntruncating fractions (i.e., X DIV 2^32), and counted\nusing the rules for counting the nlMatrixSDPkts object (note\nthat the corresponding nlMatrixSDPkts object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNHighCapacityPkts, the sort of topN entries is\nbased entirely on nlMatrixTopNHighCapacityPktRate, and not on\nthe value of this object.") nlMatrixTopNHighCapacityReversePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 9), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityReversePktRate.setDescription("The number of packets seen from the destination host to the\nsource host during this sampling interval, counted\nusing the rules for counting the nlMatrixSDPkts object (note\nthat the corresponding nlMatrixSDPkts object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNHighCapacityPkts, the sort of topN entries is\nbased entirely on nlMatrixTopNHighCapacityPktRate, and not on\nthe value of this object.") nlMatrixTopNHighCapacityBaseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityBaseOctetRate.setDescription("The number of octets seen from the source host to the\ndestination host during this sampling interval, modulo 2^32,\ncounted using the rules for counting the nlMatrixSDOctets\nobject.") nlMatrixTopNHighCapacityOverflowOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityOverflowOctetRate.setDescription("The number of octets seen from the source host\nto the destination host during this sampling interval,\ndivided by 2^32, truncating fractions (i.e., X DIV 2^32),\nand counted using the rules for counting the\nnlMatrixSDOctets object.") nlMatrixTopNHighCapacityOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 12), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityOctetRate.setDescription("The number of octets seen from the source host\nto the destination host during this sampling interval,\ncounted using the rules for counting the\nnlMatrixSDOctets object.\nIf the value of nlMatrixTopNControlRateBase is\nnlMatrixTopNHighCapacityOctets, this variable will be used\nto sort this report.") nlMatrixTopNHighCapacityReverseBaseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityReverseBaseOctetRate.setDescription("The number of octets seen from the destination host to the\nsource host during this sampling interval, modulo 2^32, counted\nusing the rules for counting the nlMatrixSDOctets object (note\nthat the corresponding nlMatrixSDOctets object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\n\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNHighCapacityOctets, the sort of topN entries is\nbased entirely on nlMatrixTopNHighCapacityOctetRate, and not on\nthe value of this object.") nlMatrixTopNHighCapacityReverseOverflowOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityReverseOverflowOctetRate.setDescription("The number of octets seen from the destination host to the\nsource host during this sampling interval, divided by 2^32,\ntruncating fractions (i.e., X DIV 2^32), and counted\nusing the rules for counting the nlMatrixSDOctets object (note\nthat the corresponding nlMatrixSDOctets object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNHighCapacityOctets, the sort of topN entries is\nbased entirely on nlMatrixTopNHighCapacityOctetRate, and not on\nthe value of this object.") nlMatrixTopNHighCapacityReverseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 15, 8, 1, 15), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nlMatrixTopNHighCapacityReverseOctetRate.setDescription("The number of octets seen from the destination host to the\nsource host during this sampling interval, counted\nusing the rules for counting the nlMatrixSDOctets object (note\nthat the corresponding nlMatrixSDOctets object selected is the\none whose source address is equal to nlMatrixTopNDestAddress\nand whose destination address is equal to\nnlMatrixTopNSourceAddress.)\n\nNote that if the value of nlMatrixTopNControlRateBase is equal\nto nlMatrixTopNHighCapacityOctets, the sort of topN entries is\nbased entirely on nlMatrixTopNHighCapacityOctetRate, and not on\nthe value of this object.") alHostHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 16, 2)) if mibBuilder.loadTexts: alHostHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalHostTable.") alHostHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 16, 2, 1)).setIndexNames((0, "RMON2-MIB", "hlHostControlIndex"), (0, "RMON2-MIB", "alHostTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlHostAddress"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: alHostHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalHostEntry. These objects will be created by the agent\nfor all alHostEntries associated with whichever\nhlHostControlEntries it deems appropriate. (i.e., either all\nalHostHighCapacityEntries associated with a particular\nhlHostControlEntry will be created, or none of them will\nbe.)") alHostHighCapacityInOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityInOverflowPkts.setDescription("The number of times the associated alHostInPkts\ncounter has overflowed.") alHostHighCapacityInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 2), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityInPkts.setDescription("The number of packets of this protocol type without errors\ntransmitted to this address since it was added to the\nalHostHighCapacityTable. Note that this is the number of\nlink-layer packets, so if a single network-layer packet\nis fragmented into several link-layer frames, this counter\nis incremented several times.") alHostHighCapacityOutOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityOutOverflowPkts.setDescription("The number of times the associated alHostOutPkts\ncounter has overflowed.") alHostHighCapacityOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityOutPkts.setDescription("The number of packets of this protocol type without errors\ntransmitted by this address since it was added to the\nalHostHighCapacityTable. Note that this is the number of\nlink-layer packets, so if a single network-layer packet\nis fragmented into several link-layer frames, this counter\nis incremented several times.") alHostHighCapacityInOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityInOverflowOctets.setDescription("The number of times the associated alHostInOctets\ncounter has overflowed.") alHostHighCapacityInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 6), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityInOctets.setDescription("The number of octets transmitted to this address\nof this protocol type since it was added to the\nalHostHighCapacityTable (excluding framing bits but\nincluding FCS octets), excluding those octets in\npackets that contained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that contained\nthe protocol.") alHostHighCapacityOutOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityOutOverflowOctets.setDescription("The number of times the associated alHostOutOctets\ncounter has overflowed.") alHostHighCapacityOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 16, 2, 1, 8), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alHostHighCapacityOutOctets.setDescription("The number of octets transmitted by this address\nof this protocol type since it was added to the\nalHostHighCapacityTable (excluding framing bits but\nincluding FCS octets), excluding those octets in\npackets that contained errors.\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that contained\nthe protocol.") alMatrixSDHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 17, 5)) if mibBuilder.loadTexts: alMatrixSDHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalMatrixSDTable.") alMatrixSDHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 17, 5, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "alMatrixSDTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixSDSourceAddress"), (0, "RMON2-MIB", "nlMatrixSDDestAddress"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: alMatrixSDHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalMatrixSDEntry. These objects will be created by the agent\nfor all alMatrixSDEntries associated with whichever\nhlMatrixControlEntries it deems appropriate. (i.e., either all\nalMatrixSDHighCapacityEntries associated with a particular\nhlMatrixControlEntry will be created, or none of them will\nbe.)") alMatrixSDHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 5, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixSDHighCapacityOverflowPkts.setDescription("The number of times the associated alMatrixSDPkts\ncounter has overflowed.") alMatrixSDHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 5, 1, 2), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixSDHighCapacityPkts.setDescription("The number of good packets of this protocol type\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixSDHighCapacityTable.\nNote that this is the number of link-layer packets, so if a\nsingle network-layer packet is fragmented into several\nlink-layer frames, this counter is incremented several times.") alMatrixSDHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 5, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixSDHighCapacityOverflowOctets.setDescription("The number of times the associated alMatrixSDOctets\ncounter has overflowed.") alMatrixSDHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 5, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixSDHighCapacityOctets.setDescription("The number of octets in good packets of this protocol type\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixSDHighCapacityTable\n(excluding framing bits but including FCS octets).\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that contained\nthe protocol.") alMatrixDSHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 17, 6)) if mibBuilder.loadTexts: alMatrixDSHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalMatrixDSTable.") alMatrixDSHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 17, 6, 1)).setIndexNames((0, "RMON2-MIB", "hlMatrixControlIndex"), (0, "RMON2-MIB", "alMatrixDSTimeMark"), (0, "RMON2-MIB", "protocolDirLocalIndex"), (0, "RMON2-MIB", "nlMatrixDSDestAddress"), (0, "RMON2-MIB", "nlMatrixDSSourceAddress"), (0, "RMON2-MIB", "protocolDirLocalIndex")) if mibBuilder.loadTexts: alMatrixDSHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalMatrixSDTable. These objects will be created by the agent\nfor all alMatrixDSEntries associated with whichever\nhlMatrixControlEntries it deems appropriate. (i.e., either all\nalMatrixDSHighCapacityEntries associated with a particular\nhlMatrixControlEntry will be created, or none of them will\nbe.)") alMatrixDSHighCapacityOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 6, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixDSHighCapacityOverflowPkts.setDescription("The number of times the associated alMatrixDSPkts\ncounter has overflowed.") alMatrixDSHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 6, 1, 2), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixDSHighCapacityPkts.setDescription("The number of good packets of this protocol type\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixDSHighCapacityTable.\nNote that this is the number of link-layer packets, so if a\nsingle network-layer packet is fragmented into several\nlink-layer frames, this counter is incremented several times.") alMatrixDSHighCapacityOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 6, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixDSHighCapacityOverflowOctets.setDescription("The number of times the associated alMatrixDSOctets\ncounter has overflowed.") alMatrixDSHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 6, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixDSHighCapacityOctets.setDescription("The number of octets in good packets of this protocol type\ntransmitted from the source address to the destination address\nsince this entry was added to the alMatrixDSHighCapacityTable\n(excluding framing bits but including FCS octets).\n\nNote this doesn't count just those octets in the particular\nprotocol frames, but includes the entire packet that contained\nthe protocol.") alMatrixTopNHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 17, 7)) if mibBuilder.loadTexts: alMatrixTopNHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalMatrixTopNTable when alMatrixTopNControlRateBase specifies\na High Capacity TopN Report.") alMatrixTopNHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 17, 7, 1)).setIndexNames((0, "RMON2-MIB", "alMatrixTopNControlIndex"), (0, "RMON2-MIB", "alMatrixTopNIndex")) if mibBuilder.loadTexts: alMatrixTopNHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nalMatrixTopNEntry when alMatrixTopNControlRateBase specifies\na High Capacity TopN Report. These objects will be created by\nthe agent for all alMatrixTopNEntries associated with whichever\nalMatrixTopNControlEntries have a alMatrixTopNControlRateBase\nthat specify a high capacity report.") alMatrixTopNHighCapacityProtocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityProtocolDirLocalIndex.setDescription("The protocolDirLocalIndex of the network layer protocol of\nthis entry's network address.") alMatrixTopNHighCapacitySourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacitySourceAddress.setDescription("The network layer address of the source host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated alMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the alMatrixTopNProtocolDirLocalIndex\nindicates an encapsulation of ip, this object is encoded as a\nlength octet of 4, followed by the 4 octets of the ip address,\nin network byte order.") alMatrixTopNHighCapacityDestAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityDestAddress.setDescription("The network layer address of the destination host in this\nconversation.\n\nThis is represented as an octet string with\nspecific semantics and length as identified\nby the associated alMatrixTopNProtocolDirLocalIndex.\n\nFor example, if the alMatrixTopNProtocolDirLocalIndex\nindicates an encapsulation of ip, this object is encoded as a\nlength octet of 4, followed by the 4 octets of the ip address,\nin network byte order.") alMatrixTopNHighCapacityAppProtocolDirLocalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityAppProtocolDirLocalIndex.setDescription("The type of the protocol counted by this entry.") alMatrixTopNHighCapacityBasePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityBasePktRate.setDescription("The number of packets seen of this protocol from the\nsource host to the destination host during this sampling\ninterval, modulo 2^32, counted using the rules for counting\nthe alMatrixSDPkts object.") alMatrixTopNHighCapacityOverflowPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityOverflowPktRate.setDescription("The number of packets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ndivided by 2^32, truncating fractions (i.e., X DIV 2^32),\nand counted using the rules for counting the\nalMatrixSDPkts object.") alMatrixTopNHighCapacityPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 7), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityPktRate.setDescription("The number of packets seen of this protocol from the source\nhost to the destination host during this sampling interval,\ncounted using the rules for counting the\nalMatrixSDPkts object.\nIf the value of alMatrixTopNControlRateBase is\nalMatrixTopNTerminalsPkts, alMatrixTopNAllPkts,\nalMatrixTopNTerminalsHighCapacityPkts, or\nalMatrixTopNAllHighCapacityPkts, this variable will be used\nto sort this report.") alMatrixTopNHighCapacityReverseBasePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityReverseBasePktRate.setDescription("The number of packets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, modulo 2^32, counted using the rules for counting\nthe alMatrixSDPkts object (note that the corresponding\nalMatrixSDPkts object selected is the one whose source address\nis equal to alMatrixTopNDestAddress and whose destination\naddress is equal to alMatrixTopNSourceAddress.)") alMatrixTopNHighCapacityReverseOverflowPktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityReverseOverflowPktRate.setDescription("The number of packets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, divided by 2^32, truncating fractions\n(i.e., X DIV 2^32), and counted using the rules for\ncounting the alMatrixSDPkts object (note that the\ncorresponding alMatrixSDPkts object selected is the\none whose source address is equal to alMatrixTopNDestAddress\nand whose destination address is equal to\nalMatrixTopNSourceAddress.)") alMatrixTopNHighCapacityReversePktRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 10), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityReversePktRate.setDescription("The number of packets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, counted using the rules for counting the\nalMatrixSDPkts object (note that the corresponding\nalMatrixSDPkts object selected is the one whose source address\nis equal to alMatrixTopNDestAddress and whose destination\naddress is equal to alMatrixTopNSourceAddress.)") alMatrixTopNHighCapacityBaseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityBaseOctetRate.setDescription("The number of octets seen of this protocol from the source host\nto the destination host during this sampling interval,\nmodulo 2^32, counted using the rules for counting the\nalMatrixSDOctets object.") alMatrixTopNHighCapacityOverflowOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityOverflowOctetRate.setDescription("The number of octets seen of this protocol from the source host\nto the destination host during this sampling interval,\ndivided by 2^32, truncating fractions (i.e., X DIV 2^32),\nand counted using the rules for counting the\nalMatrixSDOctets object.") alMatrixTopNHighCapacityOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 13), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityOctetRate.setDescription("The number of octets seen of this protocol from the source host\nto the destination host during this sampling interval,\n\n\n\ncounted using the rules for counting the\nalMatrixSDOctets object.\nIf the value of alMatrixTopNControlRateBase is\nalMatrixTopNTerminalsOctets, alMatrixTopNAllOctets,\nalMatrixTopNTerminalsHighCapacityOctets, or\nalMatrixTopNAllHighCapacityOctets, this variable will be used\nto sort this report.") alMatrixTopNHighCapacityReverseBaseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityReverseBaseOctetRate.setDescription("The number of octets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, modulo 2^32, counted using the rules for counting\nthe alMatrixSDOctets object (note that the corresponding\nalMatrixSDOctets object selected is the one whose source\naddress is equal to alMatrixTopNDestAddress and whose\ndestination address is equal to alMatrixTopNSourceAddress.)") alMatrixTopNHighCapacityReverseOverflowOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityReverseOverflowOctetRate.setDescription("The number of octets seen of this protocol from the\ndestination host to the source host during this sampling\ninterval, divided by 2^32, truncating fractions (i.e., X DIV\n2^32), and counted using the rules for counting the\nalMatrixSDOctets object (note that the corresponding\nalMatrixSDOctets object selected is the one whose source\naddress is equal to alMatrixTopNDestAddress and whose\ndestination address is equal to alMatrixTopNSourceAddress.)") alMatrixTopNHighCapacityReverseOctetRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 17, 7, 1, 16), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: alMatrixTopNHighCapacityReverseOctetRate.setDescription("The number of octets seen of this protocol from the\ndestination host to the source host during this sampling\n\n\n\ninterval, counted using the rules for counting the\nalMatrixSDOctets object (note that the corresponding\nalMatrixSDOctets object selected is the one whose source\naddress is equal to alMatrixTopNDestAddress and whose\ndestination address is equal to alMatrixTopNSourceAddress.)") usrHistoryHighCapacityTable = MibTable((1, 3, 6, 1, 2, 1, 16, 18, 4)) if mibBuilder.loadTexts: usrHistoryHighCapacityTable.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nusrHistoryTable.") usrHistoryHighCapacityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 18, 4, 1)).setIndexNames((0, "RMON2-MIB", "usrHistoryControlIndex"), (0, "RMON2-MIB", "usrHistorySampleIndex"), (0, "RMON2-MIB", "usrHistoryObjectIndex")) if mibBuilder.loadTexts: usrHistoryHighCapacityEntry.setDescription("Contains the High Capacity RMON extensions to the RMON-2\nusrHistoryEntry. These objects will be created by the agent\nfor all usrHistoryEntries associated with whichever\nusrHistoryControlEntries it deems appropriate. (i.e., either all\nusrHistoryHighCapacityEntries associated with a particular\nusrHistoryControlEntry will be created, or none of them will\nbe.)") usrHistoryHighCapacityOverflowAbsValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 4, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: usrHistoryHighCapacityOverflowAbsValue.setDescription("The absolute value (i.e. unsigned value) of the\nuser-specified statistic during the last sampling period,\ndivided by 2^32, truncating fractions (i.e., X DIV 2^32).\nThe value during the current sampling period is not made\navailable until the period is completed.\n\n\n\n\nTo obtain the true value for this sampling interval, the\nassociated instance of usrHistoryValStatus should be checked,\nand usrHistoryAbsValue adjusted as necessary.\n\nIf the MIB instance could not be accessed during the sampling\ninterval, then this object will have a value of zero and the\nassociated instance of usrHistoryValStatus will be set to\n'valueNotAvailable(1)'.") usrHistoryHighCapacityAbsValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 18, 4, 1, 2), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: usrHistoryHighCapacityAbsValue.setDescription("The absolute value (i.e. unsigned value) of the\nuser-specified statistic during the last sampling period. The\nvalue during the current sampling period is not made available\nuntil the period is completed.\n\nTo obtain the true value for this sampling interval, the\nassociated instance of usrHistoryValStatus should be checked,\nand usrHistoryHighCapacityAbsValue adjusted as necessary.\n\nIf the MIB instance could not be accessed during the sampling\ninterval, then this object will have a value of zero and the\nassociated instance of usrHistoryValStatus will be set to\n'valueNotAvailable(1)'.") hcRMONCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 16), Bits().subtype(namedValues=NamedValues(("mediaIndependentGroup", 0), ("etherStatsHighCapacityGroup", 1), ("nlMatrixTopNHighCapacityGroup", 10), ("alHostHighCapacityGroup", 11), ("alMatrixHighCapacityGroup", 12), ("alMatrixTopNHighCapacityGroup", 13), ("usrHistoryHighCapacityGroup", 14), ("etherHistoryHighCapacityGroup", 2), ("hostHighCapacityGroup", 3), ("hostTopNHighCapacityGroup", 4), ("matrixHighCapacityGroup", 5), ("captureBufferHighCapacityGroup", 6), ("protocolDistributionHighCapacityGroup", 7), ("nlHostHighCapacityGroup", 8), ("nlMatrixHighCapacityGroup", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hcRMONCapabilities.setDescription("An indication of the High Capacity RMON MIB groups supported\non at least one interface by this probe.") hcRMON = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 20, 5)).setRevisions(("2002-05-08 00:00",)) if mibBuilder.loadTexts: hcRMON.setOrganization("IETF RMON MIB Working Group") if mibBuilder.loadTexts: hcRMON.setContactInfo("Steve Waldbusser\n\nPhone: +1-650-948-6500\nFax: +1-650-745-0671\nEmail: waldbusser@nextbeacon.com\n\nAndy Bierman\nWG Chair\nabierman@cisco.com\n\nRMONMIB WG Mailing List\nrmonmib@ietf.org\nhttp://www.ietf.org/mailman/listinfo/rmonmib") if mibBuilder.loadTexts: hcRMON.setDescription("The MIB module for managing remote monitoring\ndevice implementations. This MIB module\naugments the original RMON MIB as specified in\nRFC 2819 and RFC 1513 and RMON-2 MIB as specified in\nRFC 2021.") hcRmonMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 6)) hcRmonMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 7)) mediaIndependentStats = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 21)) mediaIndependentTable = MibTable((1, 3, 6, 1, 2, 1, 16, 21, 1)) if mibBuilder.loadTexts: mediaIndependentTable.setDescription("Media independent statistics for promiscuous monitoring of\nany media.\n\nThe following table defines media independent statistics that\nprovide information for full and/or half-duplex links as well\nas high capacity links.\n\nFor half-duplex links, or full-duplex-capable links operating\nin half-duplex mode, the mediaIndependentIn* objects shall be\nused and the mediaIndependentOut* objects shall not increment.\n\nFor full-duplex links, the mediaIndependentOut* objects shall\nbe present and shall increment. Whenever possible, the probe\nshould count packets moving away from the closest terminating\nequipment as output packets. Failing that, the probe should\ncount packets moving away from the DTE as output packets.") mediaIndependentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 21, 1, 1)).setIndexNames((0, "HC-RMON-MIB", "mediaIndependentIndex")) if mibBuilder.loadTexts: mediaIndependentEntry.setDescription("Media independent statistics for promiscuous monitoring of\nany media.") mediaIndependentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mediaIndependentIndex.setDescription("The value of this object uniquely identifies this\nmediaIndependent entry.") mediaIndependentDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mediaIndependentDataSource.setDescription("This object identifies the source of the data that\nthis mediaIndependent entry is configured to analyze. This\nsource can be any interface on this device.\nIn order to identify a particular interface, this\nobject shall identify the instance of the ifIndex\nobject, defined in RFC 1213 and RFC 2233 [16,17], for\nthe desired interface. For example, if an entry\nwere to receive data from interface #1, this object\nwould be set to ifIndex.1.\n\nThe statistics in this group reflect all packets\non the local network segment attached to the\nidentified interface.\n\nAn agent may or may not be able to tell if\nfundamental changes to the media of the interface\nhave occurred and necessitate a deletion of\nthis entry. For example, a hot-pluggable ethernet\ncard could be pulled out and replaced by a\n\n\n\ntoken-ring card. In such a case, if the agent has\nsuch knowledge of the change, it is recommended that\nit delete this entry.\n\nThis object may not be modified if the associated\nmediaIndependentStatus object is equal to active(1).") mediaIndependentDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentDropEvents.setDescription("The total number of events in which packets\nwere dropped by the probe due to lack of resources.\nNote that this number is not necessarily the number of\npackets dropped; it is just the number of times this\ncondition has been detected.") mediaIndependentDroppedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentDroppedFrames.setDescription("The total number of frames which were received by the probe\nand therefore not accounted for in the\nmediaIndependentDropEvents, but for which the probe chose not\nto count for this entry for whatever reason. Most often, this\nevent occurs when the probe is out of some resources and\ndecides to shed load from this collection.\n\nThis count does not include packets that were not counted\nbecause they had MAC-layer errors.\n\nNote that, unlike the dropEvents counter, this number is the\nexact number of frames dropped.") mediaIndependentInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInPkts.setDescription("The total number of packets (including bad packets,\n\n\n\nbroadcast packets, and multicast packets) received\non a half-duplex link or on the inbound connection of a\nfull-duplex link.") mediaIndependentInOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInOverflowPkts.setDescription("The number of times the associated\nmediaIndependentInPkts counter has overflowed.") mediaIndependentInHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInHighCapacityPkts.setDescription("The total number of packets (including bad packets,\nbroadcast packets, and multicast packets) received\non a half-duplex link or on the inbound connection of a\nfull-duplex link.") mediaIndependentOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutPkts.setDescription("The total number of packets (including bad packets,\nbroadcast packets, and multicast packets) received on a\nfull-duplex link in the direction of the network.") mediaIndependentOutOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutOverflowPkts.setDescription("The number of times the associated\nmediaIndependentOutPkts counter has overflowed.") mediaIndependentOutHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutHighCapacityPkts.setDescription("The total number of packets (including bad packets,\nbroadcast packets, and multicast packets) received on a\nfull-duplex link in the direction of the network.") mediaIndependentInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInOctets.setDescription("The total number of octets of data (including those in bad\npackets) received (excluding framing bits but including FCS\noctets) on a half-duplex link or on the inbound connection of\na full-duplex link.") mediaIndependentInOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInOverflowOctets.setDescription("The number of times the associated\nmediaIndependentInOctets counter has overflowed.") mediaIndependentInHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInHighCapacityOctets.setDescription("The total number of octets of data (including those in bad\npackets) received (excluding framing bits but\nincluding FCS octets) on a half-duplex link or on the inbound\nconnection of a full-duplex link.") mediaIndependentOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutOctets.setDescription("The total number of octets of data (including those in bad\npackets) received on a full-duplex link in the direction of\nthe network (excluding framing bits but including FCS\noctets).") mediaIndependentOutOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutOverflowOctets.setDescription("The number of times the associated\nmediaIndependentOutOctets counter has overflowed.") mediaIndependentOutHighCapacityOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutHighCapacityOctets.setDescription("The total number of octets of data (including those in bad\npackets) received on a full-duplex link in the direction of\nthe network (excluding framing bits but including FCS\noctets).") mediaIndependentInNUCastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInNUCastPkts.setDescription("The total number of non-unicast packets (including bad\npackets) received on a half-duplex link or on the inbound\nconnection of a full-duplex link.") mediaIndependentInNUCastOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInNUCastOverflowPkts.setDescription("The number of times the associated\nmediaIndependentInNUCastPkts counter has overflowed.") mediaIndependentInNUCastHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInNUCastHighCapacityPkts.setDescription("The total number of non-unicast packets (including bad\npackets) received on a half-duplex link or on the inbound\nconnection of a full-duplex link.") mediaIndependentOutNUCastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutNUCastPkts.setDescription("The total number of non-unicast packets (including bad\npackets) received on a full-duplex link in the direction of\nthe network.") mediaIndependentOutNUCastOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutNUCastOverflowPkts.setDescription("The number of times the associated\nmediaIndependentOutNUCastPkts counter has overflowed.") mediaIndependentOutNUCastHighCapacityPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutNUCastHighCapacityPkts.setDescription("The total number of packets (including bad packets)\nreceived on a full-duplex link in the direction of the\nnetwork.") mediaIndependentInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInErrors.setDescription("The total number of bad packets received on a\nhalf-duplex link or on the inbound connection of a\nfull-duplex link.") mediaIndependentOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutErrors.setDescription("The total number of bad packets received on a full-duplex\nlink in the direction of the network.") mediaIndependentInputSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 25), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentInputSpeed.setDescription("The nominal maximum speed in kilobits per second of this\nhalf-duplex link or on the inbound connection of this\nfull-duplex link. If the speed is unknown or there is no fixed\nmaximum (e.g. a compressed link), this value shall be zero.") mediaIndependentOutputSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 26), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentOutputSpeed.setDescription("The nominal maximum speed in kilobits per second of this\nfull-duplex link in the direction of the network. If the speed\nis unknown, the link is half-duplex, or there is no fixed\nmaximum (e.g. a compressed link), this value shall be zero.") mediaIndependentDuplexMode = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 27), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("halfduplex", 1), ("fullduplex", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentDuplexMode.setDescription("The current mode of this link.\n\nNote that if the link has full-duplex capabilities but\nis operating in half-duplex mode, this value will be\nhalfduplex(1).") mediaIndependentDuplexChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentDuplexChanges.setDescription("The number of times this link has changed from full-duplex\nmode to half-duplex mode or from half-duplex mode to\nfull-duplex mode.") mediaIndependentDuplexLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 29), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mediaIndependentDuplexLastChange.setDescription("The value of sysUpTime at the time the duplex status\nof this link last changed.") mediaIndependentOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 30), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mediaIndependentOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") mediaIndependentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 21, 1, 1, 31), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mediaIndependentStatus.setDescription("The status of this media independent statistics entry.") # Augmentions # Groups mediaIndependentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 1)).setObjects(*(("HC-RMON-MIB", "mediaIndependentInErrors"), ("HC-RMON-MIB", "mediaIndependentInNUCastOverflowPkts"), ("HC-RMON-MIB", "mediaIndependentDuplexMode"), ("HC-RMON-MIB", "mediaIndependentOutHighCapacityPkts"), ("HC-RMON-MIB", "mediaIndependentOwner"), ("HC-RMON-MIB", "mediaIndependentOutPkts"), ("HC-RMON-MIB", "mediaIndependentOutNUCastPkts"), ("HC-RMON-MIB", "mediaIndependentOutOctets"), ("HC-RMON-MIB", "mediaIndependentInNUCastPkts"), ("HC-RMON-MIB", "mediaIndependentOutNUCastOverflowPkts"), ("HC-RMON-MIB", "mediaIndependentInHighCapacityOctets"), ("HC-RMON-MIB", "mediaIndependentDataSource"), ("HC-RMON-MIB", "mediaIndependentStatus"), ("HC-RMON-MIB", "mediaIndependentInPkts"), ("HC-RMON-MIB", "mediaIndependentInHighCapacityPkts"), ("HC-RMON-MIB", "mediaIndependentDuplexLastChange"), ("HC-RMON-MIB", "mediaIndependentInNUCastHighCapacityPkts"), ("HC-RMON-MIB", "mediaIndependentInOverflowOctets"), ("HC-RMON-MIB", "mediaIndependentDroppedFrames"), ("HC-RMON-MIB", "mediaIndependentInputSpeed"), ("HC-RMON-MIB", "mediaIndependentDuplexChanges"), ("HC-RMON-MIB", "mediaIndependentInOverflowPkts"), ("HC-RMON-MIB", "mediaIndependentOutErrors"), ("HC-RMON-MIB", "mediaIndependentOutNUCastHighCapacityPkts"), ("HC-RMON-MIB", "mediaIndependentOutputSpeed"), ("HC-RMON-MIB", "mediaIndependentInOctets"), ("HC-RMON-MIB", "mediaIndependentOutOverflowOctets"), ("HC-RMON-MIB", "mediaIndependentOutHighCapacityOctets"), ("HC-RMON-MIB", "mediaIndependentOutOverflowPkts"), ("HC-RMON-MIB", "mediaIndependentDropEvents"), ) ) if mibBuilder.loadTexts: mediaIndependentGroup.setDescription("Collects utilization statistics for any type of network.") etherStatsHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 2)).setObjects(*(("HC-RMON-MIB", "etherStatsHighCapacityOverflowPkts"), ("HC-RMON-MIB", "etherStatsHighCapacityOverflowPkts256to511Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityPkts256to511Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityPkts65to127Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityOctets"), ("HC-RMON-MIB", "etherStatsHighCapacityPkts128to255Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityOverflowOctets"), ("HC-RMON-MIB", "etherStatsHighCapacityPkts1024to1518Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityOverflowPkts512to1023Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityOverflowPkts64Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityPkts512to1023Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityPkts64Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityOverflowPkts65to127Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityOverflowPkts128to255Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityOverflowPkts1024to1518Octets"), ("HC-RMON-MIB", "etherStatsHighCapacityPkts"), ) ) if mibBuilder.loadTexts: etherStatsHighCapacityGroup.setDescription("Collects utilization statistics for ethernet networks.") etherHistoryHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 3)).setObjects(*(("HC-RMON-MIB", "etherHistoryHighCapacityPkts"), ("HC-RMON-MIB", "etherHistoryHighCapacityOverflowOctets"), ("HC-RMON-MIB", "etherHistoryHighCapacityOverflowPkts"), ("HC-RMON-MIB", "etherHistoryHighCapacityOctets"), ) ) if mibBuilder.loadTexts: etherHistoryHighCapacityGroup.setDescription("Collects utilization statistics for ethernet networks.") hostHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 4)).setObjects(*(("HC-RMON-MIB", "hostHighCapacityOutOctets"), ("HC-RMON-MIB", "hostTimeHighCapacityOutOverflowOctets"), ("HC-RMON-MIB", "hostHighCapacityOutPkts"), ("HC-RMON-MIB", "hostTimeHighCapacityOutOctets"), ("HC-RMON-MIB", "hostHighCapacityInOctets"), ("HC-RMON-MIB", "hostHighCapacityInOverflowOctets"), ("HC-RMON-MIB", "hostTimeHighCapacityInPkts"), ("HC-RMON-MIB", "hostHighCapacityOutOverflowPkts"), ("HC-RMON-MIB", "hostTimeHighCapacityInOverflowPkts"), ("HC-RMON-MIB", "hostTimeHighCapacityOutOverflowPkts"), ("HC-RMON-MIB", "hostHighCapacityInOverflowPkts"), ("HC-RMON-MIB", "hostTimeHighCapacityOutPkts"), ("HC-RMON-MIB", "hostHighCapacityInPkts"), ("HC-RMON-MIB", "hostTimeHighCapacityInOverflowOctets"), ("HC-RMON-MIB", "hostHighCapacityOutOverflowOctets"), ("HC-RMON-MIB", "hostTimeHighCapacityInOctets"), ) ) if mibBuilder.loadTexts: hostHighCapacityGroup.setDescription("Collects utilization and error statistics per host.") hostTopNHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 5)).setObjects(*(("HC-RMON-MIB", "hostTopNHighCapacityAddress"), ("HC-RMON-MIB", "hostTopNHighCapacityOverflowRate"), ("HC-RMON-MIB", "hostTopNHighCapacityBaseRate"), ("HC-RMON-MIB", "hostTopNHighCapacityRate"), ) ) if mibBuilder.loadTexts: hostTopNHighCapacityGroup.setDescription("Prepares sorted reports of utilization and error statistics\nper host.") matrixHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 6)).setObjects(*(("HC-RMON-MIB", "matrixSDHighCapacityOctets"), ("HC-RMON-MIB", "matrixDSHighCapacityOverflowOctets"), ("HC-RMON-MIB", "matrixSDHighCapacityPkts"), ("HC-RMON-MIB", "matrixSDHighCapacityOverflowPkts"), ("HC-RMON-MIB", "matrixDSHighCapacityPkts"), ("HC-RMON-MIB", "matrixDSHighCapacityOverflowPkts"), ("HC-RMON-MIB", "matrixSDHighCapacityOverflowOctets"), ("HC-RMON-MIB", "matrixDSHighCapacityOctets"), ) ) if mibBuilder.loadTexts: matrixHighCapacityGroup.setDescription("Collects utilization statistics per conversation.") captureBufferHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 7)).setObjects(*(("HC-RMON-MIB", "captureBufferPacketHighCapacityTime"), ) ) if mibBuilder.loadTexts: captureBufferHighCapacityGroup.setDescription("Provides finer granularity time stamps.") protocolDistributionHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 8)).setObjects(*(("HC-RMON-MIB", "protocolDistStatsHighCapacityPkts"), ("HC-RMON-MIB", "protocolDistStatsHighCapacityOverflowOctets"), ("HC-RMON-MIB", "protocolDistStatsHighCapacityOverflowPkts"), ("HC-RMON-MIB", "protocolDistStatsHighCapacityOctets"), ) ) if mibBuilder.loadTexts: protocolDistributionHighCapacityGroup.setDescription("Collects the relative amounts of octets and packets for the\ndifferent protocols detected on a network segment.") nlHostHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 9)).setObjects(*(("HC-RMON-MIB", "nlHostHighCapacityInOctets"), ("HC-RMON-MIB", "nlHostHighCapacityInPkts"), ("HC-RMON-MIB", "nlHostHighCapacityOutOverflowPkts"), ("HC-RMON-MIB", "nlHostHighCapacityOutOverflowOctets"), ("HC-RMON-MIB", "nlHostHighCapacityOutOctets"), ("HC-RMON-MIB", "nlHostHighCapacityOutPkts"), ("HC-RMON-MIB", "nlHostHighCapacityInOverflowOctets"), ("HC-RMON-MIB", "nlHostHighCapacityInOverflowPkts"), ) ) if mibBuilder.loadTexts: nlHostHighCapacityGroup.setDescription("Counts the amount of traffic sent from and to each network\naddress discovered by the probe.") nlMatrixHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 10)).setObjects(*(("HC-RMON-MIB", "nlMatrixSDHighCapacityOverflowPkts"), ("HC-RMON-MIB", "nlMatrixDSHighCapacityOverflowPkts"), ("HC-RMON-MIB", "nlMatrixDSHighCapacityOctets"), ("HC-RMON-MIB", "nlMatrixDSHighCapacityPkts"), ("HC-RMON-MIB", "nlMatrixDSHighCapacityOverflowOctets"), ("HC-RMON-MIB", "nlMatrixSDHighCapacityOverflowOctets"), ("HC-RMON-MIB", "nlMatrixSDHighCapacityOctets"), ("HC-RMON-MIB", "nlMatrixSDHighCapacityPkts"), ) ) if mibBuilder.loadTexts: nlMatrixHighCapacityGroup.setDescription("Counts the amount of traffic sent between each pair of\nnetwork addresses discovered by the probe.") nlMatrixTopNHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 11)).setObjects(*(("HC-RMON-MIB", "nlMatrixTopNHighCapacityPktRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityOctetRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityReverseOverflowPktRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityReverseBasePktRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityReverseBaseOctetRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityReverseOverflowOctetRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityBaseOctetRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityProtocolDirLocalIndex"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityDestAddress"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityReversePktRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacitySourceAddress"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityReverseOctetRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityBasePktRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityOverflowPktRate"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityOverflowOctetRate"), ) ) if mibBuilder.loadTexts: nlMatrixTopNHighCapacityGroup.setDescription("Prepares sorted reports of the amount of traffic sent between\neach pair of network addresses discovered by the probe.") alHostHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 12)).setObjects(*(("HC-RMON-MIB", "alHostHighCapacityOutOverflowPkts"), ("HC-RMON-MIB", "alHostHighCapacityInOverflowOctets"), ("HC-RMON-MIB", "alHostHighCapacityInOctets"), ("HC-RMON-MIB", "alHostHighCapacityOutOverflowOctets"), ("HC-RMON-MIB", "alHostHighCapacityInPkts"), ("HC-RMON-MIB", "alHostHighCapacityInOverflowPkts"), ("HC-RMON-MIB", "alHostHighCapacityOutOctets"), ("HC-RMON-MIB", "alHostHighCapacityOutPkts"), ) ) if mibBuilder.loadTexts: alHostHighCapacityGroup.setDescription("Counts the amount of traffic, by protocol, sent from and to\neach network address discovered by the probe.") alMatrixHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 13)).setObjects(*(("HC-RMON-MIB", "alMatrixDSHighCapacityPkts"), ("HC-RMON-MIB", "alMatrixDSHighCapacityOverflowOctets"), ("HC-RMON-MIB", "alMatrixSDHighCapacityOctets"), ("HC-RMON-MIB", "alMatrixSDHighCapacityPkts"), ("HC-RMON-MIB", "alMatrixSDHighCapacityOverflowOctets"), ("HC-RMON-MIB", "alMatrixSDHighCapacityOverflowPkts"), ("HC-RMON-MIB", "alMatrixDSHighCapacityOctets"), ("HC-RMON-MIB", "alMatrixDSHighCapacityOverflowPkts"), ) ) if mibBuilder.loadTexts: alMatrixHighCapacityGroup.setDescription("Counts the amount of traffic, by protocol, sent between each\npair of network addresses discovered by the\nprobe.") alMatrixTopNHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 14)).setObjects(*(("HC-RMON-MIB", "alMatrixTopNHighCapacityOctetRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityOverflowOctetRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityReverseOverflowPktRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityReverseOctetRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityReverseBasePktRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityProtocolDirLocalIndex"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityReverseBaseOctetRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityBaseOctetRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityReverseOverflowOctetRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityPktRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityDestAddress"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityOverflowPktRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityAppProtocolDirLocalIndex"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityReversePktRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityBasePktRate"), ("HC-RMON-MIB", "alMatrixTopNHighCapacitySourceAddress"), ) ) if mibBuilder.loadTexts: alMatrixTopNHighCapacityGroup.setDescription("Prepares sorted reports of the amount of traffic per protocol\nsent between each pair of network addresses discovered by the\nprobe.") usrHistoryHighCapacityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 15)).setObjects(*(("HC-RMON-MIB", "usrHistoryHighCapacityOverflowAbsValue"), ("HC-RMON-MIB", "usrHistoryHighCapacityAbsValue"), ) ) if mibBuilder.loadTexts: usrHistoryHighCapacityGroup.setDescription("Provides user-defined collection of historical information\nfrom MIB objects on the probe with scalability to statistics\nfrom high-capacity networks.") hcRMONInformationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 7, 16)).setObjects(*(("HC-RMON-MIB", "hcRMONCapabilities"), ) ) if mibBuilder.loadTexts: hcRMONInformationGroup.setDescription("An indication of the high capacity RMON groups supported on\nat least one interface by this probe.") # Compliances hcMediaIndependentCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 6, 1)).setObjects(*(("HC-RMON-MIB", "mediaIndependentGroup"), ("HC-RMON-MIB", "hcRMONInformationGroup"), ) ) if mibBuilder.loadTexts: hcMediaIndependentCompliance.setDescription("Describes the requirements for conformance to the\nHigh Capacity Media Independent Group.") hcRmon1MIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 6, 2)).setObjects(*(("RMON-MIB", "rmonEthernetHistoryGroup"), ("HC-RMON-MIB", "matrixHighCapacityGroup"), ("RMON-MIB", "rmonFilterGroup"), ("RMON-MIB", "rmonMatrixGroup"), ("RMON-MIB", "rmonPacketCaptureGroup"), ("RMON-MIB", "rmonHistoryControlGroup"), ("HC-RMON-MIB", "etherStatsHighCapacityGroup"), ("HC-RMON-MIB", "hostHighCapacityGroup"), ("RMON-MIB", "rmonEtherStatsGroup"), ("HC-RMON-MIB", "captureBufferHighCapacityGroup"), ("HC-RMON-MIB", "etherHistoryHighCapacityGroup"), ("RMON-MIB", "rmonHostTopNGroup"), ("RMON-MIB", "rmonHostGroup"), ("HC-RMON-MIB", "hostTopNHighCapacityGroup"), ) ) if mibBuilder.loadTexts: hcRmon1MIBCompliance.setDescription("Describes the requirements for conformance to the High\nCapacity RMON-1 MIB") hcRmon2MIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 6, 3)).setObjects(*(("HC-RMON-MIB", "nlMatrixTopNHighCapacityGroup"), ("RMON2-MIB", "nlMatrixGroup"), ("RMON2-MIB", "usrHistoryGroup"), ("HC-RMON-MIB", "nlHostHighCapacityGroup"), ("RMON2-MIB", "probeInformationGroup"), ("HC-RMON-MIB", "hcRMONInformationGroup"), ("RMON2-MIB", "protocolDirectoryGroup"), ("RMON2-MIB", "rmon1EnhancementGroup"), ("HC-RMON-MIB", "protocolDistributionHighCapacityGroup"), ("RMON2-MIB", "addressMapGroup"), ("HC-RMON-MIB", "nlMatrixHighCapacityGroup"), ("HC-RMON-MIB", "usrHistoryHighCapacityGroup"), ("RMON2-MIB", "protocolDistributionGroup"), ("RMON2-MIB", "nlHostGroup"), ) ) if mibBuilder.loadTexts: hcRmon2MIBCompliance.setDescription("Describes the requirements for conformance to\nthe High Capacity RMON-2 MIB") hcRmon2MIBApplicationLayerCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 6, 4)).setObjects(*(("RMON2-MIB", "alMatrixGroup"), ("RMON2-MIB", "alHostGroup"), ("HC-RMON-MIB", "hcRMONInformationGroup"), ("HC-RMON-MIB", "nlMatrixTopNHighCapacityGroup"), ("RMON2-MIB", "probeInformationGroup"), ("RMON2-MIB", "rmon1EnhancementGroup"), ("RMON2-MIB", "addressMapGroup"), ("HC-RMON-MIB", "protocolDistributionHighCapacityGroup"), ("HC-RMON-MIB", "alMatrixHighCapacityGroup"), ("RMON2-MIB", "nlMatrixGroup"), ("RMON2-MIB", "usrHistoryGroup"), ("HC-RMON-MIB", "nlMatrixHighCapacityGroup"), ("HC-RMON-MIB", "alHostHighCapacityGroup"), ("HC-RMON-MIB", "usrHistoryHighCapacityGroup"), ("RMON2-MIB", "protocolDirectoryGroup"), ("HC-RMON-MIB", "nlHostHighCapacityGroup"), ("HC-RMON-MIB", "alMatrixTopNHighCapacityGroup"), ("RMON2-MIB", "protocolDistributionGroup"), ("RMON2-MIB", "nlHostGroup"), ) ) if mibBuilder.loadTexts: hcRmon2MIBApplicationLayerCompliance.setDescription("Describes the requirements for conformance to\nthe High Capacity RMON-2 MIB with Application Layer\nEnhancements.") # Exports # Module identity mibBuilder.exportSymbols("HC-RMON-MIB", PYSNMP_MODULE_ID=hcRMON) # Objects mibBuilder.exportSymbols("HC-RMON-MIB", etherStatsHighCapacityTable=etherStatsHighCapacityTable, etherStatsHighCapacityEntry=etherStatsHighCapacityEntry, etherStatsHighCapacityOverflowPkts=etherStatsHighCapacityOverflowPkts, etherStatsHighCapacityPkts=etherStatsHighCapacityPkts, etherStatsHighCapacityOverflowOctets=etherStatsHighCapacityOverflowOctets, etherStatsHighCapacityOctets=etherStatsHighCapacityOctets, etherStatsHighCapacityOverflowPkts64Octets=etherStatsHighCapacityOverflowPkts64Octets, etherStatsHighCapacityPkts64Octets=etherStatsHighCapacityPkts64Octets, etherStatsHighCapacityOverflowPkts65to127Octets=etherStatsHighCapacityOverflowPkts65to127Octets, etherStatsHighCapacityPkts65to127Octets=etherStatsHighCapacityPkts65to127Octets, etherStatsHighCapacityOverflowPkts128to255Octets=etherStatsHighCapacityOverflowPkts128to255Octets, etherStatsHighCapacityPkts128to255Octets=etherStatsHighCapacityPkts128to255Octets, etherStatsHighCapacityOverflowPkts256to511Octets=etherStatsHighCapacityOverflowPkts256to511Octets, etherStatsHighCapacityPkts256to511Octets=etherStatsHighCapacityPkts256to511Octets, etherStatsHighCapacityOverflowPkts512to1023Octets=etherStatsHighCapacityOverflowPkts512to1023Octets, etherStatsHighCapacityPkts512to1023Octets=etherStatsHighCapacityPkts512to1023Octets, etherStatsHighCapacityOverflowPkts1024to1518Octets=etherStatsHighCapacityOverflowPkts1024to1518Octets, etherStatsHighCapacityPkts1024to1518Octets=etherStatsHighCapacityPkts1024to1518Octets, etherHistoryHighCapacityTable=etherHistoryHighCapacityTable, etherHistoryHighCapacityEntry=etherHistoryHighCapacityEntry, etherHistoryHighCapacityOverflowPkts=etherHistoryHighCapacityOverflowPkts, etherHistoryHighCapacityPkts=etherHistoryHighCapacityPkts, etherHistoryHighCapacityOverflowOctets=etherHistoryHighCapacityOverflowOctets, etherHistoryHighCapacityOctets=etherHistoryHighCapacityOctets, hostHighCapacityTable=hostHighCapacityTable, hostHighCapacityEntry=hostHighCapacityEntry, hostHighCapacityInOverflowPkts=hostHighCapacityInOverflowPkts, hostHighCapacityInPkts=hostHighCapacityInPkts, hostHighCapacityOutOverflowPkts=hostHighCapacityOutOverflowPkts, hostHighCapacityOutPkts=hostHighCapacityOutPkts, hostHighCapacityInOverflowOctets=hostHighCapacityInOverflowOctets, hostHighCapacityInOctets=hostHighCapacityInOctets, hostHighCapacityOutOverflowOctets=hostHighCapacityOutOverflowOctets, hostHighCapacityOutOctets=hostHighCapacityOutOctets, hostTimeHighCapacityTable=hostTimeHighCapacityTable, hostTimeHighCapacityEntry=hostTimeHighCapacityEntry, hostTimeHighCapacityInOverflowPkts=hostTimeHighCapacityInOverflowPkts, hostTimeHighCapacityInPkts=hostTimeHighCapacityInPkts, hostTimeHighCapacityOutOverflowPkts=hostTimeHighCapacityOutOverflowPkts, hostTimeHighCapacityOutPkts=hostTimeHighCapacityOutPkts, hostTimeHighCapacityInOverflowOctets=hostTimeHighCapacityInOverflowOctets, hostTimeHighCapacityInOctets=hostTimeHighCapacityInOctets, hostTimeHighCapacityOutOverflowOctets=hostTimeHighCapacityOutOverflowOctets, hostTimeHighCapacityOutOctets=hostTimeHighCapacityOutOctets, hostTopNHighCapacityTable=hostTopNHighCapacityTable, hostTopNHighCapacityEntry=hostTopNHighCapacityEntry, hostTopNHighCapacityAddress=hostTopNHighCapacityAddress, hostTopNHighCapacityBaseRate=hostTopNHighCapacityBaseRate, hostTopNHighCapacityOverflowRate=hostTopNHighCapacityOverflowRate, hostTopNHighCapacityRate=hostTopNHighCapacityRate, matrixSDHighCapacityTable=matrixSDHighCapacityTable, matrixSDHighCapacityEntry=matrixSDHighCapacityEntry, matrixSDHighCapacityOverflowPkts=matrixSDHighCapacityOverflowPkts, matrixSDHighCapacityPkts=matrixSDHighCapacityPkts, matrixSDHighCapacityOverflowOctets=matrixSDHighCapacityOverflowOctets, matrixSDHighCapacityOctets=matrixSDHighCapacityOctets, matrixDSHighCapacityTable=matrixDSHighCapacityTable, matrixDSHighCapacityEntry=matrixDSHighCapacityEntry, matrixDSHighCapacityOverflowPkts=matrixDSHighCapacityOverflowPkts, matrixDSHighCapacityPkts=matrixDSHighCapacityPkts, matrixDSHighCapacityOverflowOctets=matrixDSHighCapacityOverflowOctets, matrixDSHighCapacityOctets=matrixDSHighCapacityOctets, captureBufferHighCapacityTable=captureBufferHighCapacityTable, captureBufferHighCapacityEntry=captureBufferHighCapacityEntry, captureBufferPacketHighCapacityTime=captureBufferPacketHighCapacityTime, protocolDistStatsHighCapacityTable=protocolDistStatsHighCapacityTable, protocolDistStatsHighCapacityEntry=protocolDistStatsHighCapacityEntry, protocolDistStatsHighCapacityOverflowPkts=protocolDistStatsHighCapacityOverflowPkts, protocolDistStatsHighCapacityPkts=protocolDistStatsHighCapacityPkts, protocolDistStatsHighCapacityOverflowOctets=protocolDistStatsHighCapacityOverflowOctets, protocolDistStatsHighCapacityOctets=protocolDistStatsHighCapacityOctets, nlHostHighCapacityTable=nlHostHighCapacityTable, nlHostHighCapacityEntry=nlHostHighCapacityEntry, nlHostHighCapacityInOverflowPkts=nlHostHighCapacityInOverflowPkts, nlHostHighCapacityInPkts=nlHostHighCapacityInPkts, nlHostHighCapacityOutOverflowPkts=nlHostHighCapacityOutOverflowPkts, nlHostHighCapacityOutPkts=nlHostHighCapacityOutPkts, nlHostHighCapacityInOverflowOctets=nlHostHighCapacityInOverflowOctets, nlHostHighCapacityInOctets=nlHostHighCapacityInOctets, nlHostHighCapacityOutOverflowOctets=nlHostHighCapacityOutOverflowOctets, nlHostHighCapacityOutOctets=nlHostHighCapacityOutOctets, nlMatrixSDHighCapacityTable=nlMatrixSDHighCapacityTable, nlMatrixSDHighCapacityEntry=nlMatrixSDHighCapacityEntry, nlMatrixSDHighCapacityOverflowPkts=nlMatrixSDHighCapacityOverflowPkts, nlMatrixSDHighCapacityPkts=nlMatrixSDHighCapacityPkts, nlMatrixSDHighCapacityOverflowOctets=nlMatrixSDHighCapacityOverflowOctets, nlMatrixSDHighCapacityOctets=nlMatrixSDHighCapacityOctets, nlMatrixDSHighCapacityTable=nlMatrixDSHighCapacityTable, nlMatrixDSHighCapacityEntry=nlMatrixDSHighCapacityEntry, nlMatrixDSHighCapacityOverflowPkts=nlMatrixDSHighCapacityOverflowPkts, nlMatrixDSHighCapacityPkts=nlMatrixDSHighCapacityPkts, nlMatrixDSHighCapacityOverflowOctets=nlMatrixDSHighCapacityOverflowOctets, nlMatrixDSHighCapacityOctets=nlMatrixDSHighCapacityOctets, nlMatrixTopNHighCapacityTable=nlMatrixTopNHighCapacityTable, nlMatrixTopNHighCapacityEntry=nlMatrixTopNHighCapacityEntry, nlMatrixTopNHighCapacityProtocolDirLocalIndex=nlMatrixTopNHighCapacityProtocolDirLocalIndex, nlMatrixTopNHighCapacitySourceAddress=nlMatrixTopNHighCapacitySourceAddress, nlMatrixTopNHighCapacityDestAddress=nlMatrixTopNHighCapacityDestAddress, nlMatrixTopNHighCapacityBasePktRate=nlMatrixTopNHighCapacityBasePktRate, nlMatrixTopNHighCapacityOverflowPktRate=nlMatrixTopNHighCapacityOverflowPktRate, nlMatrixTopNHighCapacityPktRate=nlMatrixTopNHighCapacityPktRate, nlMatrixTopNHighCapacityReverseBasePktRate=nlMatrixTopNHighCapacityReverseBasePktRate, nlMatrixTopNHighCapacityReverseOverflowPktRate=nlMatrixTopNHighCapacityReverseOverflowPktRate, nlMatrixTopNHighCapacityReversePktRate=nlMatrixTopNHighCapacityReversePktRate, nlMatrixTopNHighCapacityBaseOctetRate=nlMatrixTopNHighCapacityBaseOctetRate, nlMatrixTopNHighCapacityOverflowOctetRate=nlMatrixTopNHighCapacityOverflowOctetRate, nlMatrixTopNHighCapacityOctetRate=nlMatrixTopNHighCapacityOctetRate, nlMatrixTopNHighCapacityReverseBaseOctetRate=nlMatrixTopNHighCapacityReverseBaseOctetRate, nlMatrixTopNHighCapacityReverseOverflowOctetRate=nlMatrixTopNHighCapacityReverseOverflowOctetRate, nlMatrixTopNHighCapacityReverseOctetRate=nlMatrixTopNHighCapacityReverseOctetRate, alHostHighCapacityTable=alHostHighCapacityTable, alHostHighCapacityEntry=alHostHighCapacityEntry, alHostHighCapacityInOverflowPkts=alHostHighCapacityInOverflowPkts, alHostHighCapacityInPkts=alHostHighCapacityInPkts, alHostHighCapacityOutOverflowPkts=alHostHighCapacityOutOverflowPkts, alHostHighCapacityOutPkts=alHostHighCapacityOutPkts, alHostHighCapacityInOverflowOctets=alHostHighCapacityInOverflowOctets, alHostHighCapacityInOctets=alHostHighCapacityInOctets, alHostHighCapacityOutOverflowOctets=alHostHighCapacityOutOverflowOctets, alHostHighCapacityOutOctets=alHostHighCapacityOutOctets, alMatrixSDHighCapacityTable=alMatrixSDHighCapacityTable, alMatrixSDHighCapacityEntry=alMatrixSDHighCapacityEntry, alMatrixSDHighCapacityOverflowPkts=alMatrixSDHighCapacityOverflowPkts, alMatrixSDHighCapacityPkts=alMatrixSDHighCapacityPkts, alMatrixSDHighCapacityOverflowOctets=alMatrixSDHighCapacityOverflowOctets, alMatrixSDHighCapacityOctets=alMatrixSDHighCapacityOctets) mibBuilder.exportSymbols("HC-RMON-MIB", alMatrixDSHighCapacityTable=alMatrixDSHighCapacityTable, alMatrixDSHighCapacityEntry=alMatrixDSHighCapacityEntry, alMatrixDSHighCapacityOverflowPkts=alMatrixDSHighCapacityOverflowPkts, alMatrixDSHighCapacityPkts=alMatrixDSHighCapacityPkts, alMatrixDSHighCapacityOverflowOctets=alMatrixDSHighCapacityOverflowOctets, alMatrixDSHighCapacityOctets=alMatrixDSHighCapacityOctets, alMatrixTopNHighCapacityTable=alMatrixTopNHighCapacityTable, alMatrixTopNHighCapacityEntry=alMatrixTopNHighCapacityEntry, alMatrixTopNHighCapacityProtocolDirLocalIndex=alMatrixTopNHighCapacityProtocolDirLocalIndex, alMatrixTopNHighCapacitySourceAddress=alMatrixTopNHighCapacitySourceAddress, alMatrixTopNHighCapacityDestAddress=alMatrixTopNHighCapacityDestAddress, alMatrixTopNHighCapacityAppProtocolDirLocalIndex=alMatrixTopNHighCapacityAppProtocolDirLocalIndex, alMatrixTopNHighCapacityBasePktRate=alMatrixTopNHighCapacityBasePktRate, alMatrixTopNHighCapacityOverflowPktRate=alMatrixTopNHighCapacityOverflowPktRate, alMatrixTopNHighCapacityPktRate=alMatrixTopNHighCapacityPktRate, alMatrixTopNHighCapacityReverseBasePktRate=alMatrixTopNHighCapacityReverseBasePktRate, alMatrixTopNHighCapacityReverseOverflowPktRate=alMatrixTopNHighCapacityReverseOverflowPktRate, alMatrixTopNHighCapacityReversePktRate=alMatrixTopNHighCapacityReversePktRate, alMatrixTopNHighCapacityBaseOctetRate=alMatrixTopNHighCapacityBaseOctetRate, alMatrixTopNHighCapacityOverflowOctetRate=alMatrixTopNHighCapacityOverflowOctetRate, alMatrixTopNHighCapacityOctetRate=alMatrixTopNHighCapacityOctetRate, alMatrixTopNHighCapacityReverseBaseOctetRate=alMatrixTopNHighCapacityReverseBaseOctetRate, alMatrixTopNHighCapacityReverseOverflowOctetRate=alMatrixTopNHighCapacityReverseOverflowOctetRate, alMatrixTopNHighCapacityReverseOctetRate=alMatrixTopNHighCapacityReverseOctetRate, usrHistoryHighCapacityTable=usrHistoryHighCapacityTable, usrHistoryHighCapacityEntry=usrHistoryHighCapacityEntry, usrHistoryHighCapacityOverflowAbsValue=usrHistoryHighCapacityOverflowAbsValue, usrHistoryHighCapacityAbsValue=usrHistoryHighCapacityAbsValue, hcRMONCapabilities=hcRMONCapabilities, hcRMON=hcRMON, hcRmonMIBCompliances=hcRmonMIBCompliances, hcRmonMIBGroups=hcRmonMIBGroups, mediaIndependentStats=mediaIndependentStats, mediaIndependentTable=mediaIndependentTable, mediaIndependentEntry=mediaIndependentEntry, mediaIndependentIndex=mediaIndependentIndex, mediaIndependentDataSource=mediaIndependentDataSource, mediaIndependentDropEvents=mediaIndependentDropEvents, mediaIndependentDroppedFrames=mediaIndependentDroppedFrames, mediaIndependentInPkts=mediaIndependentInPkts, mediaIndependentInOverflowPkts=mediaIndependentInOverflowPkts, mediaIndependentInHighCapacityPkts=mediaIndependentInHighCapacityPkts, mediaIndependentOutPkts=mediaIndependentOutPkts, mediaIndependentOutOverflowPkts=mediaIndependentOutOverflowPkts, mediaIndependentOutHighCapacityPkts=mediaIndependentOutHighCapacityPkts, mediaIndependentInOctets=mediaIndependentInOctets, mediaIndependentInOverflowOctets=mediaIndependentInOverflowOctets, mediaIndependentInHighCapacityOctets=mediaIndependentInHighCapacityOctets, mediaIndependentOutOctets=mediaIndependentOutOctets, mediaIndependentOutOverflowOctets=mediaIndependentOutOverflowOctets, mediaIndependentOutHighCapacityOctets=mediaIndependentOutHighCapacityOctets, mediaIndependentInNUCastPkts=mediaIndependentInNUCastPkts, mediaIndependentInNUCastOverflowPkts=mediaIndependentInNUCastOverflowPkts, mediaIndependentInNUCastHighCapacityPkts=mediaIndependentInNUCastHighCapacityPkts, mediaIndependentOutNUCastPkts=mediaIndependentOutNUCastPkts, mediaIndependentOutNUCastOverflowPkts=mediaIndependentOutNUCastOverflowPkts, mediaIndependentOutNUCastHighCapacityPkts=mediaIndependentOutNUCastHighCapacityPkts, mediaIndependentInErrors=mediaIndependentInErrors, mediaIndependentOutErrors=mediaIndependentOutErrors, mediaIndependentInputSpeed=mediaIndependentInputSpeed, mediaIndependentOutputSpeed=mediaIndependentOutputSpeed, mediaIndependentDuplexMode=mediaIndependentDuplexMode, mediaIndependentDuplexChanges=mediaIndependentDuplexChanges, mediaIndependentDuplexLastChange=mediaIndependentDuplexLastChange, mediaIndependentOwner=mediaIndependentOwner, mediaIndependentStatus=mediaIndependentStatus) # Groups mibBuilder.exportSymbols("HC-RMON-MIB", mediaIndependentGroup=mediaIndependentGroup, etherStatsHighCapacityGroup=etherStatsHighCapacityGroup, etherHistoryHighCapacityGroup=etherHistoryHighCapacityGroup, hostHighCapacityGroup=hostHighCapacityGroup, hostTopNHighCapacityGroup=hostTopNHighCapacityGroup, matrixHighCapacityGroup=matrixHighCapacityGroup, captureBufferHighCapacityGroup=captureBufferHighCapacityGroup, protocolDistributionHighCapacityGroup=protocolDistributionHighCapacityGroup, nlHostHighCapacityGroup=nlHostHighCapacityGroup, nlMatrixHighCapacityGroup=nlMatrixHighCapacityGroup, nlMatrixTopNHighCapacityGroup=nlMatrixTopNHighCapacityGroup, alHostHighCapacityGroup=alHostHighCapacityGroup, alMatrixHighCapacityGroup=alMatrixHighCapacityGroup, alMatrixTopNHighCapacityGroup=alMatrixTopNHighCapacityGroup, usrHistoryHighCapacityGroup=usrHistoryHighCapacityGroup, hcRMONInformationGroup=hcRMONInformationGroup) # Compliances mibBuilder.exportSymbols("HC-RMON-MIB", hcMediaIndependentCompliance=hcMediaIndependentCompliance, hcRmon1MIBCompliance=hcRmon1MIBCompliance, hcRmon2MIBCompliance=hcRmon2MIBCompliance, hcRmon2MIBApplicationLayerCompliance=hcRmon2MIBApplicationLayerCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPMROUTE-STD-MIB.py0000644000014400001440000007455711736645136021353 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPMROUTE-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:11 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAipMRouteProtocol, IANAipRouteProtocol, ) = mibBuilder.importSymbols("IANA-RTPROTO-MIB", "IANAipMRouteProtocol", "IANAipRouteProtocol") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TruthValue") # Types class LanguageTag(TextualConvention, OctetString): displayHint = "100a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,100) # Objects ipMRouteStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 83)).setRevisions(("2000-09-22 00:00",)) if mibBuilder.loadTexts: ipMRouteStdMIB.setOrganization("IETF IDMR Working Group") if mibBuilder.loadTexts: ipMRouteStdMIB.setContactInfo(" Dave Thaler\nMicrosoft Corporation\nOne Microsoft Way\nRedmond, WA 98052-6399\nUS\n\nPhone: +1 425 703 8835\nEMail: dthaler@microsoft.com") if mibBuilder.loadTexts: ipMRouteStdMIB.setDescription("The MIB module for management of IP Multicast routing, but\nindependent of the specific multicast routing protocol in\nuse.") ipMRouteMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 83, 1)) ipMRoute = MibIdentifier((1, 3, 6, 1, 2, 1, 83, 1, 1)) ipMRouteEnable = MibScalar((1, 3, 6, 1, 2, 1, 83, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMRouteEnable.setDescription("The enabled status of IP Multicast routing on this router.") ipMRouteTable = MibTable((1, 3, 6, 1, 2, 1, 83, 1, 1, 2)) if mibBuilder.loadTexts: ipMRouteTable.setDescription("The (conceptual) table containing multicast routing\ninformation for IP datagrams sent by particular sources to\nthe IP multicast groups known to this router.") ipMRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1)).setIndexNames((0, "IPMROUTE-STD-MIB", "ipMRouteGroup"), (0, "IPMROUTE-STD-MIB", "ipMRouteSource"), (0, "IPMROUTE-STD-MIB", "ipMRouteSourceMask")) if mibBuilder.loadTexts: ipMRouteEntry.setDescription("An entry (conceptual row) containing the multicast routing\ninformation for IP datagrams from a particular source and\naddressed to a particular IP multicast group address.\nDiscontinuities in counters in this entry can be detected by\nobserving the value of ipMRouteUpTime.") ipMRouteGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteGroup.setDescription("The IP multicast group address for which this entry\ncontains multicast routing information.") ipMRouteSource = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteSource.setDescription("The network address which when combined with the\ncorresponding value of ipMRouteSourceMask identifies the\nsources for which this entry contains multicast routing\ninformation.") ipMRouteSourceMask = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteSourceMask.setDescription("The network mask which when combined with the corresponding\nvalue of ipMRouteSource identifies the sources for which\nthis entry contains multicast routing information.") ipMRouteUpstreamNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteUpstreamNeighbor.setDescription("The address of the upstream neighbor (e.g., RPF neighbor)\nfrom which IP datagrams from these sources to this multicast\naddress are received, or 0.0.0.0 if the upstream neighbor is\nunknown (e.g., in CBT).") ipMRouteInIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 5), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteInIfIndex.setDescription("The value of ifIndex for the interface on which IP\ndatagrams sent by these sources to this multicast address\nare received. A value of 0 indicates that datagrams are not\nsubject to an incoming interface check, but may be accepted\non multiple interfaces (e.g., in CBT).") ipMRouteUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteUpTime.setDescription("The time since the multicast routing information\nrepresented by this entry was learned by the router.") ipMRouteExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteExpiryTime.setDescription("The minimum amount of time remaining before this entry will\nbe aged out. The value 0 indicates that the entry is not\nsubject to aging.") ipMRoutePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRoutePkts.setDescription("The number of packets which this router has received from\nthese sources and addressed to this multicast group\naddress.") ipMRouteDifferentInIfPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteDifferentInIfPackets.setDescription("The number of packets which this router has received from\nthese sources and addressed to this multicast group address,\nwhich were dropped because they were not received on the\ninterface indicated by ipMRouteInIfIndex. Packets which are\nnot subject to an incoming interface check (e.g., using CBT)\nare not counted.") ipMRouteOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteOctets.setDescription("The number of octets contained in IP datagrams which were\nreceived from these sources and addressed to this multicast\ngroup address, and which were forwarded by this router.") ipMRouteProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 11), IANAipMRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteProtocol.setDescription("The multicast routing protocol via which this multicast\nforwarding entry was learned.") ipMRouteRtProto = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 12), IANAipRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteRtProto.setDescription("The routing mechanism via which the route used to find the\nupstream or parent interface for this multicast forwarding\nentry was learned. Inclusion of values for routing\nprotocols is not intended to imply that those protocols need\nbe supported.") ipMRouteRtAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 13), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteRtAddress.setDescription("The address portion of the route used to find the upstream\nor parent interface for this multicast forwarding entry.") ipMRouteRtMask = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 14), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteRtMask.setDescription("The mask associated with the route used to find the upstream\nor parent interface for this multicast forwarding entry.") ipMRouteRtType = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("unicast", 1), ("multicast", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteRtType.setDescription("The reason the given route was placed in the (logical)\nmulticast Routing Information Base (RIB). A value of\nunicast means that the route would normally be placed only\nin the unicast RIB, but was placed in the multicast RIB\n(instead or in addition) due to local configuration, such as\nwhen running PIM over RIP. A value of multicast means that\n\n\nthe route was explicitly added to the multicast RIB by the\nrouting protocol, such as DVMRP or Multiprotocol BGP.") ipMRouteHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 2, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteHCOctets.setDescription("The number of octets contained in IP datagrams which were\nreceived from these sources and addressed to this multicast\ngroup address, and which were forwarded by this router.\nThis object is a 64-bit version of ipMRouteOctets.") ipMRouteNextHopTable = MibTable((1, 3, 6, 1, 2, 1, 83, 1, 1, 3)) if mibBuilder.loadTexts: ipMRouteNextHopTable.setDescription("The (conceptual) table containing information on the next-\nhops on outgoing interfaces for routing IP multicast\ndatagrams. Each entry is one of a list of next-hops on\noutgoing interfaces for particular sources sending to a\nparticular multicast group address.") ipMRouteNextHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1)).setIndexNames((0, "IPMROUTE-STD-MIB", "ipMRouteNextHopGroup"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopSource"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopSourceMask"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopIfIndex"), (0, "IPMROUTE-STD-MIB", "ipMRouteNextHopAddress")) if mibBuilder.loadTexts: ipMRouteNextHopEntry.setDescription("An entry (conceptual row) in the list of next-hops on\noutgoing interfaces to which IP multicast datagrams from\nparticular sources to a IP multicast group address are\nrouted. Discontinuities in counters in this entry can be\ndetected by observing the value of ipMRouteUpTime.") ipMRouteNextHopGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteNextHopGroup.setDescription("The IP multicast group for which this entry specifies a\nnext-hop on an outgoing interface.") ipMRouteNextHopSource = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteNextHopSource.setDescription("The network address which when combined with the\ncorresponding value of ipMRouteNextHopSourceMask identifies\nthe sources for which this entry specifies a next-hop on an\noutgoing interface.") ipMRouteNextHopSourceMask = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteNextHopSourceMask.setDescription("The network mask which when combined with the corresponding\nvalue of ipMRouteNextHopSource identifies the sources for\nwhich this entry specifies a next-hop on an outgoing\ninterface.") ipMRouteNextHopIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 4), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteNextHopIfIndex.setDescription("The ifIndex value of the interface for the outgoing\ninterface for this next-hop.") ipMRouteNextHopAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 5), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteNextHopAddress.setDescription("The address of the next-hop specific to this entry. For\nmost interfaces, this is identical to ipMRouteNextHopGroup.\nNBMA interfaces, however, may have multiple next-hop\naddresses out a single outgoing interface.") ipMRouteNextHopState = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("pruned", 1), ("forwarding", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteNextHopState.setDescription("An indication of whether the outgoing interface and next-\nhop represented by this entry is currently being used to\nforward IP datagrams. The value 'forwarding' indicates it\nis currently being used; the value 'pruned' indicates it is\nnot.") ipMRouteNextHopUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteNextHopUpTime.setDescription("The time since the multicast routing information\nrepresented by this entry was learned by the router.") ipMRouteNextHopExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteNextHopExpiryTime.setDescription("The minimum amount of time remaining before this entry will\nbe aged out. If ipMRouteNextHopState is pruned(1), the\nremaining time until the prune expires and the state reverts\nto forwarding(2). Otherwise, the remaining time until this\nentry is removed from the table. The time remaining may be\ncopied from ipMRouteExpiryTime if the protocol in use for\nthis entry does not specify next-hop timers. The value 0\n\n\nindicates that the entry is not subject to aging.") ipMRouteNextHopClosestMemberHops = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteNextHopClosestMemberHops.setDescription("The minimum number of hops between this router and any\nmember of this IP multicast group reached via this next-hop\non this outgoing interface. Any IP multicast datagrams for\nthe group which have a TTL less than this number of hops\nwill not be forwarded to this next-hop.") ipMRouteNextHopProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 10), IANAipMRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteNextHopProtocol.setDescription("The routing mechanism via which this next-hop was learned.") ipMRouteNextHopPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteNextHopPkts.setDescription("The number of packets which have been forwarded using this\nroute.") ipMRouteInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 83, 1, 1, 4)) if mibBuilder.loadTexts: ipMRouteInterfaceTable.setDescription("The (conceptual) table containing multicast routing\ninformation specific to interfaces.") ipMRouteInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1)).setIndexNames((0, "IPMROUTE-STD-MIB", "ipMRouteInterfaceIfIndex")) if mibBuilder.loadTexts: ipMRouteInterfaceEntry.setDescription("An entry (conceptual row) containing the multicast routing\ninformation for a particular interface.") ipMRouteInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteInterfaceIfIndex.setDescription("The ifIndex value of the interface for which this entry\ncontains information.") ipMRouteInterfaceTtl = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMRouteInterfaceTtl.setDescription("The datagram TTL threshold for the interface. Any IP\nmulticast datagrams with a TTL less than this threshold will\nnot be forwarded out the interface. The default value of 0\nmeans all multicast packets are forwarded out the\ninterface.") ipMRouteInterfaceProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 3), IANAipMRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteInterfaceProtocol.setDescription("The routing protocol running on this interface.") ipMRouteInterfaceRateLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 4), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMRouteInterfaceRateLimit.setDescription("The rate-limit, in kilobits per second, of forwarded\nmulticast traffic on the interface. A rate-limit of 0\nindicates that no rate limiting is done.") ipMRouteInterfaceInMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteInterfaceInMcastOctets.setDescription("The number of octets of multicast packets that have arrived\non the interface, including framing characters. This object\nis similar to ifInOctets in the Interfaces MIB, except that\nonly multicast packets are counted.") ipMRouteInterfaceOutMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteInterfaceOutMcastOctets.setDescription("The number of octets of multicast packets that have been\nsent on the interface.") ipMRouteInterfaceHCInMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteInterfaceHCInMcastOctets.setDescription("The number of octets of multicast packets that have arrived\non the interface, including framing characters. This object\nis a 64-bit version of ipMRouteInterfaceInMcastOctets. It\nis similar to ifHCInOctets in the Interfaces MIB, except\nthat only multicast packets are counted.") ipMRouteInterfaceHCOutMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 4, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteInterfaceHCOutMcastOctets.setDescription("The number of octets of multicast packets that have been\n\n\nsent on the interface. This object is a 64-bit version of\nipMRouteInterfaceOutMcastOctets.") ipMRouteBoundaryTable = MibTable((1, 3, 6, 1, 2, 1, 83, 1, 1, 5)) if mibBuilder.loadTexts: ipMRouteBoundaryTable.setDescription("The (conceptual) table listing the router's scoped\nmulticast address boundaries.") ipMRouteBoundaryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 83, 1, 1, 5, 1)).setIndexNames((0, "IPMROUTE-STD-MIB", "ipMRouteBoundaryIfIndex"), (0, "IPMROUTE-STD-MIB", "ipMRouteBoundaryAddress"), (0, "IPMROUTE-STD-MIB", "ipMRouteBoundaryAddressMask")) if mibBuilder.loadTexts: ipMRouteBoundaryEntry.setDescription("An entry (conceptual row) in the ipMRouteBoundaryTable\nrepresenting a scoped boundary.") ipMRouteBoundaryIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 5, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteBoundaryIfIndex.setDescription("The IfIndex value for the interface to which this boundary\napplies. Packets with a destination address in the\nassociated address/mask range will not be forwarded out this\ninterface.") ipMRouteBoundaryAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 5, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteBoundaryAddress.setDescription("The group address which when combined with the\ncorresponding value of ipMRouteBoundaryAddressMask\nidentifies the group range for which the scoped boundary\nexists. Scoped addresses must come from the range 239.x.x.x\nas specified in RFC 2365.") ipMRouteBoundaryAddressMask = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 5, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteBoundaryAddressMask.setDescription("The group address mask which when combined with the\ncorresponding value of ipMRouteBoundaryAddress identifies\nthe group range for which the scoped boundary exists.") ipMRouteBoundaryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 5, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMRouteBoundaryStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table.") ipMRouteScopeNameTable = MibTable((1, 3, 6, 1, 2, 1, 83, 1, 1, 6)) if mibBuilder.loadTexts: ipMRouteScopeNameTable.setDescription("The (conceptual) table listing the multicast scope names.") ipMRouteScopeNameEntry = MibTableRow((1, 3, 6, 1, 2, 1, 83, 1, 1, 6, 1)).setIndexNames((0, "IPMROUTE-STD-MIB", "ipMRouteScopeNameAddress"), (0, "IPMROUTE-STD-MIB", "ipMRouteScopeNameAddressMask"), (1, "IPMROUTE-STD-MIB", "ipMRouteScopeNameLanguage")) if mibBuilder.loadTexts: ipMRouteScopeNameEntry.setDescription("An entry (conceptual row) in the ipMRouteScopeNameTable\nrepresenting a multicast scope name.") ipMRouteScopeNameAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 6, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteScopeNameAddress.setDescription("The group address which when combined with the\ncorresponding value of ipMRouteScopeNameAddressMask\nidentifies the group range associated with the multicast\nscope. Scoped addresses must come from the range\n239.x.x.x.") ipMRouteScopeNameAddressMask = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 6, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteScopeNameAddressMask.setDescription("The group address mask which when combined with the\ncorresponding value of ipMRouteScopeNameAddress identifies\nthe group range associated with the multicast scope.") ipMRouteScopeNameLanguage = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 6, 1, 3), LanguageTag()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMRouteScopeNameLanguage.setDescription("The RFC 1766-style language tag associated with the scope\nname.") ipMRouteScopeNameString = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 6, 1, 4), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMRouteScopeNameString.setDescription("The textual name associated with the multicast scope. The\nvalue of this object should be suitable for displaying to\nend-users, such as when allocating a multicast address in\nthis scope. When no name is specified, the default value of\nthis object should be the string 239.x.x.x/y with x and y\nreplaced appropriately to describe the address and mask\nlength associated with the scope.") ipMRouteScopeNameDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 6, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMRouteScopeNameDefault.setDescription("If true, indicates a preference that the name in the\nfollowing language should be used by applications if no name\nis available in a desired language.") ipMRouteScopeNameStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 83, 1, 1, 6, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMRouteScopeNameStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table.") ipMRouteEntryCount = MibScalar((1, 3, 6, 1, 2, 1, 83, 1, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMRouteEntryCount.setDescription("The number of rows in the ipMRouteTable. This can be used\nto monitor the multicast routing table size.") ipMRouteMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 83, 2)) ipMRouteMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 83, 2, 1)) ipMRouteMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 83, 2, 2)) # Augmentions # Groups ipMRouteMIBBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 83, 2, 2, 1)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteInIfIndex"), ("IPMROUTE-STD-MIB", "ipMRouteUpTime"), ("IPMROUTE-STD-MIB", "ipMRouteUpstreamNeighbor"), ("IPMROUTE-STD-MIB", "ipMRouteInterfaceOutMcastOctets"), ("IPMROUTE-STD-MIB", "ipMRouteInterfaceInMcastOctets"), ("IPMROUTE-STD-MIB", "ipMRouteExpiryTime"), ("IPMROUTE-STD-MIB", "ipMRouteNextHopState"), ("IPMROUTE-STD-MIB", "ipMRouteInterfaceRateLimit"), ("IPMROUTE-STD-MIB", "ipMRouteEntryCount"), ("IPMROUTE-STD-MIB", "ipMRouteNextHopExpiryTime"), ("IPMROUTE-STD-MIB", "ipMRouteInterfaceTtl"), ("IPMROUTE-STD-MIB", "ipMRouteNextHopPkts"), ("IPMROUTE-STD-MIB", "ipMRouteEnable"), ("IPMROUTE-STD-MIB", "ipMRouteInterfaceProtocol"), ("IPMROUTE-STD-MIB", "ipMRouteNextHopProtocol"), ("IPMROUTE-STD-MIB", "ipMRouteProtocol"), ("IPMROUTE-STD-MIB", "ipMRouteNextHopUpTime"), ) ) if mibBuilder.loadTexts: ipMRouteMIBBasicGroup.setDescription("A collection of objects to support basic management of IP\nMulticast routing.") ipMRouteMIBHopCountGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 83, 2, 2, 2)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteNextHopClosestMemberHops"), ) ) if mibBuilder.loadTexts: ipMRouteMIBHopCountGroup.setDescription("A collection of objects to support management of the use of\nhop counts in IP Multicast routing.") ipMRouteMIBBoundaryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 83, 2, 2, 3)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteScopeNameString"), ("IPMROUTE-STD-MIB", "ipMRouteBoundaryStatus"), ("IPMROUTE-STD-MIB", "ipMRouteScopeNameDefault"), ("IPMROUTE-STD-MIB", "ipMRouteScopeNameStatus"), ) ) if mibBuilder.loadTexts: ipMRouteMIBBoundaryGroup.setDescription("A collection of objects to support management of scoped\nmulticast address boundaries.") ipMRouteMIBPktsOutGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 83, 2, 2, 4)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteNextHopPkts"), ) ) if mibBuilder.loadTexts: ipMRouteMIBPktsOutGroup.setDescription("A collection of objects to support management of packet\ncounters for each outgoing interface entry of a route.") ipMRouteMIBHCInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 83, 2, 2, 5)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteHCOctets"), ("IPMROUTE-STD-MIB", "ipMRouteInterfaceHCInMcastOctets"), ("IPMROUTE-STD-MIB", "ipMRouteInterfaceHCOutMcastOctets"), ) ) if mibBuilder.loadTexts: ipMRouteMIBHCInterfaceGroup.setDescription("A collection of objects providing information specific to\nhigh speed (greater than 20,000,000 bits/second) network\ninterfaces.") ipMRouteMIBRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 83, 2, 2, 6)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteRtType"), ("IPMROUTE-STD-MIB", "ipMRouteRtAddress"), ("IPMROUTE-STD-MIB", "ipMRouteRtProto"), ("IPMROUTE-STD-MIB", "ipMRouteRtMask"), ) ) if mibBuilder.loadTexts: ipMRouteMIBRouteGroup.setDescription("A collection of objects providing information on the\nrelationship between multicast routing information, and the\nIP Forwarding Table.") ipMRouteMIBPktsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 83, 2, 2, 7)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteOctets"), ("IPMROUTE-STD-MIB", "ipMRoutePkts"), ("IPMROUTE-STD-MIB", "ipMRouteDifferentInIfPackets"), ) ) if mibBuilder.loadTexts: ipMRouteMIBPktsGroup.setDescription("A collection of objects to support management of packet\ncounters for each forwarding entry.") # Compliances ipMRouteMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 83, 2, 1, 1)).setObjects(*(("IPMROUTE-STD-MIB", "ipMRouteMIBRouteGroup"), ("IPMROUTE-STD-MIB", "ipMRouteMIBBoundaryGroup"), ("IPMROUTE-STD-MIB", "ipMRouteMIBHCInterfaceGroup"), ("IPMROUTE-STD-MIB", "ipMRouteMIBBasicGroup"), ) ) if mibBuilder.loadTexts: ipMRouteMIBCompliance.setDescription("The compliance statement for the IP Multicast MIB.") # Exports # Module identity mibBuilder.exportSymbols("IPMROUTE-STD-MIB", PYSNMP_MODULE_ID=ipMRouteStdMIB) # Types mibBuilder.exportSymbols("IPMROUTE-STD-MIB", LanguageTag=LanguageTag) # Objects mibBuilder.exportSymbols("IPMROUTE-STD-MIB", ipMRouteStdMIB=ipMRouteStdMIB, ipMRouteMIBObjects=ipMRouteMIBObjects, ipMRoute=ipMRoute, ipMRouteEnable=ipMRouteEnable, ipMRouteTable=ipMRouteTable, ipMRouteEntry=ipMRouteEntry, ipMRouteGroup=ipMRouteGroup, ipMRouteSource=ipMRouteSource, ipMRouteSourceMask=ipMRouteSourceMask, ipMRouteUpstreamNeighbor=ipMRouteUpstreamNeighbor, ipMRouteInIfIndex=ipMRouteInIfIndex, ipMRouteUpTime=ipMRouteUpTime, ipMRouteExpiryTime=ipMRouteExpiryTime, ipMRoutePkts=ipMRoutePkts, ipMRouteDifferentInIfPackets=ipMRouteDifferentInIfPackets, ipMRouteOctets=ipMRouteOctets, ipMRouteProtocol=ipMRouteProtocol, ipMRouteRtProto=ipMRouteRtProto, ipMRouteRtAddress=ipMRouteRtAddress, ipMRouteRtMask=ipMRouteRtMask, ipMRouteRtType=ipMRouteRtType, ipMRouteHCOctets=ipMRouteHCOctets, ipMRouteNextHopTable=ipMRouteNextHopTable, ipMRouteNextHopEntry=ipMRouteNextHopEntry, ipMRouteNextHopGroup=ipMRouteNextHopGroup, ipMRouteNextHopSource=ipMRouteNextHopSource, ipMRouteNextHopSourceMask=ipMRouteNextHopSourceMask, ipMRouteNextHopIfIndex=ipMRouteNextHopIfIndex, ipMRouteNextHopAddress=ipMRouteNextHopAddress, ipMRouteNextHopState=ipMRouteNextHopState, ipMRouteNextHopUpTime=ipMRouteNextHopUpTime, ipMRouteNextHopExpiryTime=ipMRouteNextHopExpiryTime, ipMRouteNextHopClosestMemberHops=ipMRouteNextHopClosestMemberHops, ipMRouteNextHopProtocol=ipMRouteNextHopProtocol, ipMRouteNextHopPkts=ipMRouteNextHopPkts, ipMRouteInterfaceTable=ipMRouteInterfaceTable, ipMRouteInterfaceEntry=ipMRouteInterfaceEntry, ipMRouteInterfaceIfIndex=ipMRouteInterfaceIfIndex, ipMRouteInterfaceTtl=ipMRouteInterfaceTtl, ipMRouteInterfaceProtocol=ipMRouteInterfaceProtocol, ipMRouteInterfaceRateLimit=ipMRouteInterfaceRateLimit, ipMRouteInterfaceInMcastOctets=ipMRouteInterfaceInMcastOctets, ipMRouteInterfaceOutMcastOctets=ipMRouteInterfaceOutMcastOctets, ipMRouteInterfaceHCInMcastOctets=ipMRouteInterfaceHCInMcastOctets, ipMRouteInterfaceHCOutMcastOctets=ipMRouteInterfaceHCOutMcastOctets, ipMRouteBoundaryTable=ipMRouteBoundaryTable, ipMRouteBoundaryEntry=ipMRouteBoundaryEntry, ipMRouteBoundaryIfIndex=ipMRouteBoundaryIfIndex, ipMRouteBoundaryAddress=ipMRouteBoundaryAddress, ipMRouteBoundaryAddressMask=ipMRouteBoundaryAddressMask, ipMRouteBoundaryStatus=ipMRouteBoundaryStatus, ipMRouteScopeNameTable=ipMRouteScopeNameTable, ipMRouteScopeNameEntry=ipMRouteScopeNameEntry, ipMRouteScopeNameAddress=ipMRouteScopeNameAddress, ipMRouteScopeNameAddressMask=ipMRouteScopeNameAddressMask, ipMRouteScopeNameLanguage=ipMRouteScopeNameLanguage, ipMRouteScopeNameString=ipMRouteScopeNameString, ipMRouteScopeNameDefault=ipMRouteScopeNameDefault, ipMRouteScopeNameStatus=ipMRouteScopeNameStatus, ipMRouteEntryCount=ipMRouteEntryCount, ipMRouteMIBConformance=ipMRouteMIBConformance, ipMRouteMIBCompliances=ipMRouteMIBCompliances, ipMRouteMIBGroups=ipMRouteMIBGroups) # Groups mibBuilder.exportSymbols("IPMROUTE-STD-MIB", ipMRouteMIBBasicGroup=ipMRouteMIBBasicGroup, ipMRouteMIBHopCountGroup=ipMRouteMIBHopCountGroup, ipMRouteMIBBoundaryGroup=ipMRouteMIBBoundaryGroup, ipMRouteMIBPktsOutGroup=ipMRouteMIBPktsOutGroup, ipMRouteMIBHCInterfaceGroup=ipMRouteMIBHCInterfaceGroup, ipMRouteMIBRouteGroup=ipMRouteMIBRouteGroup, ipMRouteMIBPktsGroup=ipMRouteMIBPktsGroup) # Compliances mibBuilder.exportSymbols("IPMROUTE-STD-MIB", ipMRouteMIBCompliance=ipMRouteMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOCS-IETF-BPI2-MIB.py0000644000014400001440000031116311736645135021410 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOCS-IETF-BPI2-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:51 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, MacAddress, RowStatus, StorageType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "MacAddress", "RowStatus", "StorageType", "TextualConvention", "TruthValue") # Types class DocsBpkmDataAuthentAlg(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,) namedValues = NamedValues(("none", 0), ("hmacSha196", 1), ) class DocsBpkmDataEncryptAlg(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,5,4,2,3,) namedValues = NamedValues(("none", 0), ("des56CbcMode", 1), ("des40CbcMode", 2), ("t3Des128CbcMode", 3), ("aes128CbcMode", 4), ("aes256CbcMode", 5), ) class DocsBpkmSAType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,2,3,1,) namedValues = NamedValues(("none", 0), ("primary", 1), ("static", 2), ("dynamic", 3), ) class DocsSAId(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,16383) class DocsSAIdOrZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,16383) class DocsX509ASN1DEREncodedCertificate(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,4096) # Objects docsBpi2MIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 126)).setRevisions(("2005-07-20 00:00",)) if mibBuilder.loadTexts: docsBpi2MIB.setOrganization("IETF IP over Cable Data Network (IPCDN)\nWorking Group") if mibBuilder.loadTexts: docsBpi2MIB.setContactInfo("---------------------------------------\nStuart M. Green\nE-mail: rubbersoul3@yahoo.com\n---------------------------------------\nKaz Ozawa\nAutomotive Systems Development Center\nTOSHIBA CORPORATION\n1-1, Shibaura 1-Chome\nMinato-ku, Tokyo 105-8001\nJapan\nPhone: +81-3-3457-8569\nFax: +81-3-5444-9325\nE-mail: Kazuyoshi.Ozawa@toshiba.co.jp\n---------------------------------------\nAlexander Katsnelson\nPostal:\nTel: +1-303-680-3924\nE-mail: katsnelson6@peoplepc.com\n---------------------------------------\nEduardo Cardona\nPostal:\nCable Television Laboratories, Inc.\n858 Coal Creek Circle\nLouisville, CO 80027- 9750\nU.S.A.\nTel: +1 303 661 9100\nFax: +1 303 661 9199\nE-mail: e.cardona@cablelabs.com\n---------------------------------------\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn.\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn.\nCo-chairs: Richard Woundy, rwoundy@cisco.com\n Jean-Francois Mule, jfm@cablelabs.com") if mibBuilder.loadTexts: docsBpi2MIB.setDescription("This is the MIB module for the DOCSIS Baseline\nPrivacy Plus Interface (BPI+) at cable modems (CMs)\nand cable modem termination systems (CMTSs).\n\nCopyright (C) The Internet Society (2005). This\n\n\n\nversion of this MIB module is part of RFC 4131; see\nthe RFC itself for full legal notices.") docsBpi2Notification = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 0)) docsBpi2MIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1)) docsBpi2CmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1, 1)) docsBpi2CmBaseTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 1, 1)) if mibBuilder.loadTexts: docsBpi2CmBaseTable.setDescription("This table describes the basic and authorization-\nrelated Baseline Privacy Plus attributes of each CM MAC\ninterface.") docsBpi2CmBaseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsBpi2CmBaseEntry.setDescription("Each entry contains objects describing attributes of\none CM MAC interface. An entry in this table exists for\neach ifEntry with an ifType of docsCableMaclayer(127).") docsBpi2CmPrivacyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmPrivacyEnable.setDescription("This object identifies whether this CM is\nprovisioned to run Baseline Privacy Plus.") docsBpi2CmPublicKey = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 524))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmPublicKey.setDescription("The value of this object is a DER-encoded\nRSAPublicKey ASN.1 type string, as defined in the RSA\nEncryption Standard (PKCS #1), corresponding to the\npublic key of the CM.") docsBpi2CmAuthState = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,5,2,1,3,)).subtype(namedValues=NamedValues(("start", 1), ("authWait", 2), ("authorized", 3), ("reauthWait", 4), ("authRejectWait", 5), ("silent", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthState.setDescription("The value of this object is the state of the CM\nauthorization FSM. The start state indicates that FSM is\nin its initial state.") docsBpi2CmAuthKeySequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthKeySequenceNumber.setDescription("The value of this object is the most recent\nauthorization key sequence number for this FSM.") docsBpi2CmAuthExpiresOld = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthExpiresOld.setDescription("The value of this object is the actual clock time for\nexpiration of the immediate predecessor of the most recent\nauthorization key for this FSM. If this FSM has only one\nauthorization key, then the value is the time of activation\nof this FSM.") docsBpi2CmAuthExpiresNew = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 6), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthExpiresNew.setDescription("The value of this object is the actual clock time for\nexpiration of the most recent authorization key for this\nFSM.") docsBpi2CmAuthReset = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 7), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmAuthReset.setDescription("Setting this object to 'true' generates a Reauthorize\nevent in the authorization FSM. Reading this object always\nreturns FALSE.\n\nThis object is for testing purposes only, and therefore it\nis not required to be associated with a last reset\nobject.") docsBpi2CmAuthGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6047999))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthGraceTime.setDescription("The value of this object is the grace time for an\nauthorization key in seconds. A CM is expected to start\ntrying to get a new authorization key beginning\nAuthGraceTime seconds before the most recent authorization\nkey actually expires.") docsBpi2CmTEKGraceTime = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 302399))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKGraceTime.setDescription("The value of this object is the grace time for\nthe TEK in seconds. The CM is expected to start trying to\nacquire a new TEK beginning TEK GraceTime seconds before\nthe expiration of the most recent TEK.") docsBpi2CmAuthWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthWaitTimeout.setDescription("The value of this object is the Authorize Wait\nTimeout in seconds.") docsBpi2CmReauthWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmReauthWaitTimeout.setDescription("The value of this object is the Reauthorize Wait\nTimeout in seconds.") docsBpi2CmOpWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmOpWaitTimeout.setDescription("The value of this object is the Operational Wait\nTimeout in seconds.") docsBpi2CmRekeyWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmRekeyWaitTimeout.setDescription("The value of this object is the Rekey Wait Timeout\nin seconds.") docsBpi2CmAuthRejectWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 600))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthRejectWaitTimeout.setDescription("The value of this object is the Authorization Reject\nWait Timeout in seconds.") docsBpi2CmSAMapWaitTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmSAMapWaitTimeout.setDescription("The value of this object is the retransmission\ninterval, in seconds, of SA Map Requests from the MAP Wait\nstate.") docsBpi2CmSAMapMaxRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmSAMapMaxRetries.setDescription("The value of this object is the maximum number of\nMap Request retries allowed.") docsBpi2CmAuthentInfos = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthentInfos.setDescription("The value of this object is the number of times\nthe CM has transmitted an Authentication Information\nmessage. Discontinuities in the value of this counter can\noccur at re-initialization of the management system, and at\nother times as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmAuthRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthRequests.setDescription("The value of this object is the number of times the CM\nhas transmitted an Authorization Request message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmAuthReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthReplies.setDescription("The value of this object is the number of times the CM\nhas received an Authorization Reply message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmAuthRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthRejects.setDescription("The value of this object is the number of times the CM\nhas received an Authorization Reject message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmAuthInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthInvalids.setDescription("The value of this object is the count of times the CM\nhas received an Authorization Invalid message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmAuthRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,11,8,3,)).subtype(namedValues=NamedValues(("none", 1), ("timeOfDayNotAcquired", 11), ("unknown", 2), ("unauthorizedCm", 3), ("unauthorizedSaid", 4), ("permanentAuthorizationFailure", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthRejectErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent\nAuthorization Reject message received by the CM. This has\nthe value unknown(2) if the last Error-Code value was 0 and\nnone(1) if no Authorization Reject message has been received\nsince reboot.") docsBpi2CmAuthRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 23), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthRejectErrorString.setDescription("The value of this object is the text string in the\nmost recent Authorization Reject message received by the\nCM. This is a zero length string if no Authorization\nReject message has been received since reboot.") docsBpi2CmAuthInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,6,5,3,7,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedCm", 3), ("unsolicited", 5), ("invalidKeySequence", 6), ("keyRequestAuthenticationFailure", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthInvalidErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent\nAuthorization Invalid message received by the CM. This has\nthe value unknown(2) if the last Error-Code value was 0 and\nnone(1) if no Authorization Invalid message has been received\nsince reboot.") docsBpi2CmAuthInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 1, 1, 25), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmAuthInvalidErrorString.setDescription("The value of this object is the text string in the\nmost recent Authorization Invalid message received by the\nCM. This is a zero length string if no Authorization\n\n\n\nInvalid message has been received since reboot.") docsBpi2CmTEKTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 1, 2)) if mibBuilder.loadTexts: docsBpi2CmTEKTable.setDescription("This table describes the attributes of each CM\nTraffic Encryption Key (TEK) association. The CM maintains\n(no more than) one TEK association per SAID per CM MAC\ninterface.") docsBpi2CmTEKEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKSAId")) if mibBuilder.loadTexts: docsBpi2CmTEKEntry.setDescription("Each entry contains objects describing the TEK\nassociation attributes of one SAID. The CM MUST create one\nentry per SAID, regardless of whether the SAID was obtained\nfrom a Registration Response message, from an Authorization\nReply message, or from any dynamic SAID establishment\nmechanisms.") docsBpi2CmTEKSAId = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 1), DocsSAId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmTEKSAId.setDescription("The value of this object is the DOCSIS Security\nAssociation ID (SAID).") docsBpi2CmTEKSAType = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 2), DocsBpkmSAType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKSAType.setDescription("The value of this object is the type of security\nassociation.") docsBpi2CmTEKDataEncryptAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 3), DocsBpkmDataEncryptAlg()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKDataEncryptAlg.setDescription("The value of this object is the data encryption\nalgorithm for this SAID.") docsBpi2CmTEKDataAuthentAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 4), DocsBpkmDataAuthentAlg()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKDataAuthentAlg.setDescription("The value of this object is the data authentication\nalgorithm for this SAID.") docsBpi2CmTEKState = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(6,2,4,1,5,3,)).subtype(namedValues=NamedValues(("start", 1), ("opWait", 2), ("opReauthWait", 3), ("operational", 4), ("rekeyWait", 5), ("rekeyReauthWait", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKState.setDescription("The value of this object is the state of the\nindicated TEK FSM. The start(1) state indicates that the\nFSM is in its initial state.") docsBpi2CmTEKKeySequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKKeySequenceNumber.setDescription("The value of this object is the most recent TEK\nkey sequence number for this TEK FSM.") docsBpi2CmTEKExpiresOld = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 7), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKExpiresOld.setDescription("The value of this object is the actual clock time for\nexpiration of the immediate predecessor of the most recent\nTEK for this FSM. If this FSM has only one TEK, then the\nvalue is the time of activation of this FSM.") docsBpi2CmTEKExpiresNew = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 8), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKExpiresNew.setDescription("The value of this object is the actual clock time for\nexpiration of the most recent TEK for this FSM.") docsBpi2CmTEKKeyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKKeyRequests.setDescription("The value of this object is the number of times the CM\nhas transmitted a Key Request message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmTEKKeyReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKKeyReplies.setDescription("The value of this object is the number of times the CM\nhas received a Key Reply message, including a message whose\nauthentication failed.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmTEKKeyRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKKeyRejects.setDescription("The value of this object is the number of times the CM\nhas received a Key Reject message, including a message\nwhose authentication failed.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmTEKInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKInvalids.setDescription("The value of this object is the number of times the CM\nhas received a TEK Invalid message, including a message\nwhose authentication failed.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmTEKAuthPends = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKAuthPends.setDescription("The value of this object is the count of times an\nAuthorization Pending (Auth Pend) event occurred in this\nFSM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\n\n\n\nifCounterDiscontinuityTime.") docsBpi2CmTEKKeyRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedSaid", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKKeyRejectErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent Key Reject\nmessage received by the CM. This has the value unknown(2) if\nthe last Error-Code value was 0 and none(1) if no Key\nReject message has been received since registration.") docsBpi2CmTEKKeyRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 15), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKKeyRejectErrorString.setDescription("The value of this object is the text string in the\nmost recent Key Reject message received by the CM. This is\na zero length string if no Key Reject message has been\nreceived since registration.") docsBpi2CmTEKInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,6,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("invalidKeySequence", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKInvalidErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent TEK Invalid\nmessage received by the CM. This has the value unknown(2) if\nthe last Error-Code value was 0 and none(1) if no TEK\nInvalid message has been received since registration.") docsBpi2CmTEKInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 2, 1, 17), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmTEKInvalidErrorString.setDescription("The value of this object is the text string in the\nmost recent TEK Invalid message received by the CM. This is\na zero length string if no TEK Invalid message has been\nreceived since registration.") docsBpi2CmMulticastObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1, 1, 3)) docsBpi2CmIpMulticastMapTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1)) if mibBuilder.loadTexts: docsBpi2CmIpMulticastMapTable.setDescription("This table maps multicast IP addresses to SAIDs per\nCM MAC Interface.\nIt is intended to map multicast IP addresses associated\nwith SA MAP Request messages.") docsBpi2CmIpMulticastMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastIndex")) if mibBuilder.loadTexts: docsBpi2CmIpMulticastMapEntry.setDescription("Each entry contains objects describing the mapping of\none multicast IP address to one SAID, as well as\nassociated state, message counters, and error information.\n\nAn entry may be removed from this table upon the reception\nof an SA Map Reject.") docsBpi2CmIpMulticastIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmIpMulticastIndex.setDescription("The index of this row.") docsBpi2CmIpMulticastAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastAddressType.setDescription("The type of Internet address for\ndocsBpi2CmIpMulticastAddress.") docsBpi2CmIpMulticastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastAddress.setDescription("This object represents the IP multicast address\nto be mapped. The type of this address is determined by\nthe value of the docsBpi2CmIpMulticastAddressType object.") docsBpi2CmIpMulticastSAId = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 4), DocsSAIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastSAId.setDescription("This object represents the SAID to which the IP\nmulticast address has been mapped. If no SA Map Reply has\nbeen received for the IP address, this object should have\nthe value 0.") docsBpi2CmIpMulticastSAMapState = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("start", 1), ("mapWait", 2), ("mapped", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastSAMapState.setDescription("The value of this object is the state of the SA\nMapping FSM for this IP.") docsBpi2CmIpMulticastSAMapRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastSAMapRequests.setDescription("The value of this object is the number of times the\nCM has transmitted an SA Map Request message for this IP.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\n\n\n\nifCounterDiscontinuityTime.") docsBpi2CmIpMulticastSAMapReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastSAMapReplies.setDescription("The value of this object is the number of times the\nCM has received an SA Map Reply message for this IP.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmIpMulticastSAMapRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastSAMapRejects.setDescription("The value of this object is the number of times the\nCM has received an SA MAP Reject message for this IP.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmIpMulticastSAMapRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,9,10,)).subtype(namedValues=NamedValues(("none", 1), ("dsFlowNotMappedToSA", 10), ("unknown", 2), ("noAuthForRequestedDSFlow", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastSAMapRejectErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent SA Map\nReject message sent in response to an SA Map Request for\nThis IP. It has the value none(1) if no SA MAP Reject\nmessage has been received since entry creation.") docsBpi2CmIpMulticastSAMapRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 3, 1, 1, 10), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmIpMulticastSAMapRejectErrorString.setDescription("The value of this object is the text string in\nthe most recent SA Map Reject message sent in response to\nan SA Map Request for this IP. It is a zero length string\nif no SA Map Reject message has been received since entry\ncreation.") docsBpi2CmCertObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1, 1, 4)) docsBpi2CmDeviceCertTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 1, 4, 1)) if mibBuilder.loadTexts: docsBpi2CmDeviceCertTable.setDescription("This table describes the Baseline Privacy Plus\ndevice certificates for each CM MAC interface.") docsBpi2CmDeviceCertEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 1, 4, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsBpi2CmDeviceCertEntry.setDescription("Each entry contains the device certificates of\none CM MAC interface. An entry in this table exists for\neach ifEntry with an ifType of docsCableMaclayer(127).") docsBpi2CmDeviceCmCert = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 4, 1, 1, 1), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmDeviceCmCert.setDescription("The X509 DER-encoded cable modem certificate.\nNote: This object can be set only when the value is the\nzero-length OCTET STRING; otherwise, an error of\n'inconsistentValue' is returned. Once the object\ncontains the certificate, its access MUST be read-only\nand persists after re-initialization of the\nmanaged system.") docsBpi2CmDeviceManufCert = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 4, 1, 1, 2), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmDeviceManufCert.setDescription("The X509 DER-encoded manufacturer certificate that\nsigned the cable modem certificate.") docsBpi2CmCryptoSuiteTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 1, 5)) if mibBuilder.loadTexts: docsBpi2CmCryptoSuiteTable.setDescription("This table describes the Baseline Privacy Plus\ncryptographic suite capabilities for each CM MAC\ninterface.") docsBpi2CmCryptoSuiteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmCryptoSuiteIndex")) if mibBuilder.loadTexts: docsBpi2CmCryptoSuiteEntry.setDescription("Each entry contains a cryptographic suite pair\nthat this CM MAC supports.") docsBpi2CmCryptoSuiteIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmCryptoSuiteIndex.setDescription("The index for a cryptographic suite row.") docsBpi2CmCryptoSuiteDataEncryptAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 5, 1, 2), DocsBpkmDataEncryptAlg()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmCryptoSuiteDataEncryptAlg.setDescription("The value of this object is the data encryption\nalgorithm for this cryptographic suite capability.") docsBpi2CmCryptoSuiteDataAuthentAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 1, 5, 1, 3), DocsBpkmDataAuthentAlg()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmCryptoSuiteDataAuthentAlg.setDescription("The value of this object is the data authentication\nalgorithm for this cryptographic suite capability.") docsBpi2CmtsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1, 2)) docsBpi2CmtsBaseTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 2, 1)) if mibBuilder.loadTexts: docsBpi2CmtsBaseTable.setDescription("This table describes the basic Baseline Privacy\nattributes of each CMTS MAC interface.") docsBpi2CmtsBaseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: docsBpi2CmtsBaseEntry.setDescription("Each entry contains objects describing attributes of\none CMTS MAC interface. An entry in this table exists for\neach ifEntry with an ifType of docsCableMaclayer(127).") docsBpi2CmtsDefaultAuthLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6048000)).clone(604800)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsDefaultAuthLifetime.setDescription("The value of this object is the default lifetime, in\nseconds, that the CMTS assigns to a new authorization key.\nThis object value persists after re-initialization of the\nmanaged system.") docsBpi2CmtsDefaultTEKLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 604800)).clone(43200)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsDefaultTEKLifetime.setDescription("The value of this object is the default lifetime, in\nseconds, that the CMTS assigns to a new Traffic Encryption\nKey (TEK).\nThis object value persists after re-initialization of the\nmanaged system.") docsBpi2CmtsDefaultSelfSignedManufCertTrust = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("trusted", 1), ("untrusted", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsDefaultSelfSignedManufCertTrust.setDescription("This object determines the default trust of\nself-signed manufacturer certificate entries, contained\nin docsBpi2CmtsCACertTable, and created after this\nobject is set.\nThis object need not persist after re-initialization\nof the managed system.") docsBpi2CmtsCheckCertValidityPeriods = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsCheckCertValidityPeriods.setDescription("Setting this object to 'true' causes all chained and\nroot certificates in the chain to have their validity\nperiods checked against the current time of day, when\nthe CMTS receives an Authorization Request from the\nCM.\nA 'false' setting causes all certificates in the chain\nnot to have their validity periods checked against the\ncurrent time of day.\nThis object need not persist after re-initialization\nof the managed system.") docsBpi2CmtsAuthentInfos = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthentInfos.setDescription("The value of this object is the number of times the\nCMTS has received an Authentication Information message\nfrom any CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\n\n\n\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthRequests.setDescription("The value of this object is the number of times the\nCMTS has received an Authorization Request message from any\nCM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthReplies.setDescription("The value of this object is the number of times the\nCMTS has transmitted an Authorization Reply message to any\nCM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthRejects.setDescription("The value of this object is the number of times the\nCMTS has transmitted an Authorization Reject message to any\n\n\n\nCM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthInvalids.setDescription("The value of this object is the number of times\nthe CMTS has transmitted an Authorization Invalid message\nto any CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsSAMapRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsSAMapRequests.setDescription("The value of this object is the number of times the\nCMTS has received an SA Map Request message from any CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsSAMapReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsSAMapReplies.setDescription("The value of this object is the number of times the\nCMTS has transmitted an SA Map Reply message to any CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsSAMapRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsSAMapRejects.setDescription("The value of this object is the number of times the\nCMTS has transmitted an SA Map Reject message to any CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 2, 2)) if mibBuilder.loadTexts: docsBpi2CmtsAuthTable.setDescription("This table describes the attributes of each CM\nauthorization association. The CMTS maintains one\nauthorization association with each Baseline Privacy-\nenabled CM, registered on each CMTS MAC interface,\nregardless of whether the CM is authorized or rejected.") docsBpi2CmtsAuthEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmMacAddress")) if mibBuilder.loadTexts: docsBpi2CmtsAuthEntry.setDescription("Each entry contains objects describing attributes of\none authorization association. The CMTS MUST create one\nentry per CM per MAC interface, based on the receipt of an\nAuthorization Request message, and MUST not delete the\nentry until the CM loses registration.") docsBpi2CmtsAuthCmMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmMacAddress.setDescription("The value of this object is the physical address of\nthe CM to which the authorization association applies.") docsBpi2CmtsAuthCmBpiVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(0,1,)).subtype(namedValues=NamedValues(("bpi", 0), ("bpiPlus", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmBpiVersion.setDescription("The value of this object is the version of Baseline\nPrivacy for which this CM has registered. The value\n'bpiplus' represents the value of BPI-Version Attribute of\nthe Baseline Privacy Key Management BPKM attribute\nBPI-Version (1). The value 'bpi' is used to represent the\nCM registered using DOCSIS 1.0 Baseline Privacy.") docsBpi2CmtsAuthCmPublicKey = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 524))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmPublicKey.setDescription("The value of this object is a DER-encoded\nRSAPublicKey ASN.1 type string, as defined in the RSA\nEncryption Standard (PKCS #1), corresponding to the\npublic key of the CM. This is the zero-length OCTET\nSTRING if the CMTS does not retain the public key.") docsBpi2CmtsAuthCmKeySequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmKeySequenceNumber.setDescription("The value of this object is the most recent\nauthorization key sequence number for this CM.") docsBpi2CmtsAuthCmExpiresOld = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmExpiresOld.setDescription("The value of this object is the actual clock time\nfor expiration of the immediate predecessor of the most\nrecent authorization key for this FSM. If this FSM has only\none authorization key, then the value is the time of\nactivation of this FSM.\nNote: This object has no meaning for CMs running in BPI\nmode; therefore, this object is not instantiated for entries\nassociated to those CMs.") docsBpi2CmtsAuthCmExpiresNew = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 6), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmExpiresNew.setDescription("The value of this object is the actual clock\ntime for expiration of the most recent authorization key\nfor this FSM.") docsBpi2CmtsAuthCmLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6048000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmLifetime.setDescription("The value of this object is the lifetime, in seconds,\nthat the CMTS assigns to an authorization key for this CM.") docsBpi2CmtsAuthCmReset = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,4,1,)).subtype(namedValues=NamedValues(("noResetRequested", 1), ("invalidateAuth", 2), ("sendAuthInvalid", 3), ("invalidateTeks", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmReset.setDescription("Setting this object to invalidateAuth(2) causes the\nCMTS to invalidate the current CM authorization key(s), but\nnot to transmit an Authorization Invalid message nor to\ninvalidate the primary SAID's TEKs. Setting this object to\nsendAuthInvalid(3) causes the CMTS to invalidate the\ncurrent CM authorization key(s), and to transmit an\nAuthorization Invalid message to the CM, but not to\ninvalidate the primary SAID's TEKs. Setting this object to\ninvalidateTeks(4) causes the CMTS to invalidate the current\nCM authorization key(s), to transmit an Authorization\nInvalid message to the CM, and to invalidate the TEKs\nassociated with this CM's primary SAID.\nFor BPI mode, substitute all of the CM's unicast\nTEKs for the primary SAID's TEKs in the previous\nparagraph.\nReading this object returns the most recently set\nvalue of this object or, if the object has not been set\nsince entry creation, returns noResetRequested(1).") docsBpi2CmtsAuthCmInfos = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmInfos.setDescription("The value of this object is the number of times the\nCMTS has received an Authentication Information message\nfrom this CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthCmRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmRequests.setDescription("The value of this object is the number of times the\nCMTS has received an Authorization Request message from\n\n\n\nthis CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthCmReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmReplies.setDescription("The value of this object is the number of times the\nCMTS has transmitted an Authorization Reply message to this\nCM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthCmRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmRejects.setDescription("The value of this object is the number of times the\nCMTS has transmitted an Authorization Reject message to\nthis CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthCmInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCmInvalids.setDescription("The value of this object is the number of times the\nCMTS has transmitted an Authorization Invalid message to\nthis CM.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsAuthRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,11,8,3,)).subtype(namedValues=NamedValues(("none", 1), ("timeOfDayNotAcquired", 11), ("unknown", 2), ("unauthorizedCm", 3), ("unauthorizedSaid", 4), ("permanentAuthorizationFailure", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthRejectErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent\nAuthorization Reject message transmitted to the CM. This has\nthe value unknown(2) if the last Error-Code value was 0 and\nnone(1) if no Authorization Reject message has been\ntransmitted to the CM since entry creation.") docsBpi2CmtsAuthRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 15), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthRejectErrorString.setDescription("The value of this object is the text string in the\nmost recent Authorization Reject message transmitted to the\nCM. This is a zero length string if no Authorization\nReject message has been transmitted to the CM since entry\ncreation.") docsBpi2CmtsAuthInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,6,5,3,7,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedCm", 3), ("unsolicited", 5), ("invalidKeySequence", 6), ("keyRequestAuthenticationFailure", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthInvalidErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent\nAuthorization Invalid message transmitted to the CM. This\nhas the value unknown(2) if the last Error-Code value was 0\nand none(1) if no Authorization Invalid message has been\ntransmitted to the CM since entry creation.") docsBpi2CmtsAuthInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 17), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthInvalidErrorString.setDescription("The value of this object is the text string in the\nmost recent Authorization Invalid message transmitted to\nthe CM. This is a zero length string if no Authorization\nInvalid message has been transmitted to the CM since entry\ncreation.") docsBpi2CmtsAuthPrimarySAId = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 18), DocsSAIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthPrimarySAId.setDescription("The value of this object is the Primary Security\nAssociation identifier. For BPI mode, the value must be\n\n\n\nany unicast SID.") docsBpi2CmtsAuthBpkmCmCertValid = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,0,3,1,2,4,)).subtype(namedValues=NamedValues(("unknown", 0), ("validCmChained", 1), ("validCmTrusted", 2), ("invalidCmUntrusted", 3), ("invalidCAUntrusted", 4), ("invalidCmOther", 5), ("invalidCAOther", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthBpkmCmCertValid.setDescription("Contains the reason why a CM's certificate is deemed\nvalid or invalid.\nReturn unknown(0) if the CM is running BPI mode.\nValidCmChained(1) means the certificate is valid\n because it chains to a valid certificate.\nValidCmTrusted(2) means the certificate is valid\n because it has been provisioned (in the\n docsBpi2CmtsProvisionedCmCert table) to be trusted.\nInvalidCmUntrusted(3) means the certificate is invalid\n because it has been provisioned (in the\n docsBpi2CmtsProvisionedCmCert table) to be untrusted.\nInvalidCAUntrusted(4) means the certificate is invalid\n because it chains to an untrusted certificate.\nInvalidCmOther(5) and InvalidCAOther(6) refer to\n errors in parsing, validity periods, etc., which are\n attributable to the CM certificate or its chain,\n respectively; additional information may be found\n in docsBpi2AuthRejectErrorString for these types\n of errors.") docsBpi2CmtsAuthBpkmCmCert = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 20), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthBpkmCmCert.setDescription("The X509 CM Certificate sent as part of a BPKM\nAuthorization Request.\nNote: The zero-length OCTET STRING must be returned if the\nEntire certificate is not retained in the CMTS.") docsBpi2CmtsAuthCACertIndexPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 2, 1, 21), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsAuthCACertIndexPtr.setDescription("A row index into docsBpi2CmtsCACertTable.\nReturns the index in docsBpi2CmtsCACertTable to which\nCA certificate this CM is chained to. A value of\n0 means it could not be found or not applicable.") docsBpi2CmtsTEKTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 2, 3)) if mibBuilder.loadTexts: docsBpi2CmtsTEKTable.setDescription("This table describes the attributes of each\nTraffic Encryption Key (TEK) association. The CMTS\nMaintains one TEK association per SAID on each CMTS MAC\ninterface.") docsBpi2CmtsTEKEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKSAId")) if mibBuilder.loadTexts: docsBpi2CmtsTEKEntry.setDescription("Each entry contains objects describing attributes of\none TEK association on a particular CMTS MAC interface. The\nCMTS MUST create one entry per SAID per MAC interface,\nbased on the receipt of a Key Request message, and MUST not\ndelete the entry before the CM authorization for the SAID\n\n\n\npermanently expires.") docsBpi2CmtsTEKSAId = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 1), DocsSAId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmtsTEKSAId.setDescription("The value of this object is the DOCSIS Security\nAssociation ID (SAID).") docsBpi2CmtsTEKSAType = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 2), DocsBpkmSAType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKSAType.setDescription("The value of this object is the type of security\nassociation. 'dynamic' does not apply to CMs running in\nBPI mode. Unicast BPI TEKs must utilize the 'primary'\nencoding, and multicast BPI TEKs must utilize the 'static'\nencoding.") docsBpi2CmtsTEKDataEncryptAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 3), DocsBpkmDataEncryptAlg()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKDataEncryptAlg.setDescription("The value of this object is the data encryption\nalgorithm for this SAID.") docsBpi2CmtsTEKDataAuthentAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 4), DocsBpkmDataAuthentAlg()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKDataAuthentAlg.setDescription("The value of this object is the data authentication\nalgorithm for this SAID.") docsBpi2CmtsTEKLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 604800))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsTEKLifetime.setDescription("The value of this object is the lifetime, in\nseconds, that the CMTS assigns to keys for this TEK\nassociation.") docsBpi2CmtsTEKKeySequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKKeySequenceNumber.setDescription("The value of this object is the most recent TEK\n\n\n\nkey sequence number for this SAID.") docsBpi2CmtsTEKExpiresOld = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 7), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKExpiresOld.setDescription("The value of this object is the actual clock time\nfor expiration of the immediate predecessor of the most\nrecent TEK for this FSM. If this FSM has only one TEK, then\nthe value is the time of activation of this FSM.") docsBpi2CmtsTEKExpiresNew = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 8), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKExpiresNew.setDescription("The value of this object is the actual clock time\nfor expiration of the most recent TEK for this FSM.") docsBpi2CmtsTEKReset = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CmtsTEKReset.setDescription("Setting this object to 'true' causes the CMTS to\ninvalidate all currently active TEKs and to generate new\nTEKs for the associated SAID; the CMTS MAY also generate\nunsolicited TEK Invalid messages, to optimize the TEK\nsynchronization between the CMTS and the CM(s). Reading\nthis object always returns FALSE.") docsBpi2CmtsKeyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsKeyRequests.setDescription("The value of this object is the number of times the\nCMTS has received a Key Request message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsKeyReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsKeyReplies.setDescription("The value of this object is the number of times the\nCMTS has transmitted a Key Reply message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsKeyRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsKeyRejects.setDescription("The value of this object is the number of times the\nCMTS has transmitted a Key Reject message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsTEKInvalids = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKInvalids.setDescription("The value of this object is the number of times the\nCMTS has transmitted a TEK Invalid message.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsKeyRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("unauthorizedSaid", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsKeyRejectErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent Key Reject\nmessage sent in response to a Key Request for this SAID.\nThis has the value unknown(2) if the last Error-Code value\nwas 0 and none(1) if no Key Reject message has been\nreceived since registration.") docsBpi2CmtsKeyRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 15), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsKeyRejectErrorString.setDescription("The value of this object is the text string in\nthe most recent Key Reject message sent in response to a\nKey Request for this SAID. This is a zero length string if\nno Key Reject message has been received since\nregistration.") docsBpi2CmtsTEKInvalidErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,6,)).subtype(namedValues=NamedValues(("none", 1), ("unknown", 2), ("invalidKeySequence", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKInvalidErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent TEK\nInvalid message sent in association with this SAID. This\nhas the value unknown(2) if the last Error-Code value was 0\nand none(1) if no TEK Invalid message has been received\nsince registration.") docsBpi2CmtsTEKInvalidErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 3, 1, 17), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsTEKInvalidErrorString.setDescription("The value of this object is the text string in\nthe most recent TEK Invalid message sent in association\nwith this SAID. This is a zero length string if no TEK\nInvalid message has been received since registration.") docsBpi2CmtsMulticastObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1, 2, 4)) docsBpi2CmtsIpMulticastMapTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1)) if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastMapTable.setDescription("This table maps multicast IP addresses to SAIDs.\nIf a multicast IP address is mapped by multiple rows\nin the table, the row with the lowest\ndocsBpi2CmtsIpMulticastIndex must be utilized for the\nmapping.") docsBpi2CmtsIpMulticastMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastIndex")) if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastMapEntry.setDescription("Each entry contains objects describing the mapping of\na set of multicast IP address and the mask to one SAID\nassociated to a CMTS MAC Interface, as well as associated\nmessage counters and error information.") docsBpi2CmtsIpMulticastIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastIndex.setDescription("The index of this row. Conceptual rows having the\nvalue 'permanent' need not allow write-access to any\ncolumnar objects in the row.") docsBpi2CmtsIpMulticastAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 2), InetAddressType().clone('ipv4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastAddressType.setDescription("The type of Internet address for\ndocsBpi2CmtsIpMulticastAddress\nand docsBpi2CmtsIpMulticastMask.") docsBpi2CmtsIpMulticastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastAddress.setDescription("This object represents the IP multicast address\nto be mapped, in conjunction with\ndocsBpi2CmtsIpMulticastMask. The type of this address is\ndetermined by the value of the object\ndocsBpi2CmtsIpMulticastAddressType.") docsBpi2CmtsIpMulticastMask = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 4), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastMask.setDescription("This object represents the IP multicast address mask\nfor this row.\nAn IP multicast address matches this row if the logical\nAND of the address with docsBpi2CmtsIpMulticastMask is\nidentical to the logical AND of\ndocsBpi2CmtsIpMulticastAddr with\ndocsBpi2CmtsIpMulticastMask. The type of this address is\ndetermined by the value of the object\ndocsBpi2CmtsIpMulticastAddressType.\nNote: For IPv6, this object need not represent a\ncontiguous netmask; e.g., to associate a SAID to a\nmulticast group matching 'any' multicast scope. The TC\n\n\n\nInetAddressPrefixLength is not used, as it only\nrepresents contiguous netmask.") docsBpi2CmtsIpMulticastSAId = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 5), DocsSAIdOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastSAId.setDescription("This object represents the multicast SAID to be\nused in this IP multicast address mapping entry.") docsBpi2CmtsIpMulticastSAType = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 6), DocsBpkmSAType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastSAType.setDescription("The value of this object is the type of security\nassociation. 'dynamic' does not apply to CMs running in\nBPI mode. Unicast BPI TEKs must utilize the 'primary'\nencoding, and multicast BPI TEKs must utilize the 'static'\nencoding. By default, SNMP created entries set this object\nto 'static' if not set at row creation.") docsBpi2CmtsIpMulticastDataEncryptAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 7), DocsBpkmDataEncryptAlg().clone('des56CbcMode')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastDataEncryptAlg.setDescription("The value of this object is the data encryption\nalgorithm for this IP.") docsBpi2CmtsIpMulticastDataAuthentAlg = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 8), DocsBpkmDataAuthentAlg().clone('none')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastDataAuthentAlg.setDescription("The value of this object is the data authentication\n\n\n\nalgorithm for this IP.") docsBpi2CmtsIpMulticastSAMapRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastSAMapRequests.setDescription("The value of this object is the number of times the\nCMTS has received an SA Map Request message for this IP.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsIpMulticastSAMapReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastSAMapReplies.setDescription("The value of this object is the number of times the\nCMTS has transmitted an SA Map Reply message for this IP.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsIpMulticastSAMapRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastSAMapRejects.setDescription("The value of this object is the number of times the\nCMTS has transmitted an SA Map Reject message for this IP.\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\n\n\n\ntimes as indicated by the value of\nifCounterDiscontinuityTime.") docsBpi2CmtsIpMulticastSAMapRejectErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,9,10,)).subtype(namedValues=NamedValues(("none", 1), ("dsFlowNotMappedToSA", 10), ("unknown", 2), ("noAuthForRequestedDSFlow", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastSAMapRejectErrorCode.setDescription("The value of this object is the enumerated\ndescription of the Error-Code in the most recent SA Map\nReject message sent in response to an SA Map Request for\nthis IP. It has the value unknown(2) if the last Error-Code\nValue was 0 and none(1) if no SA MAP Reject message has\nbeen received since entry creation.") docsBpi2CmtsIpMulticastSAMapRejectErrorString = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 13), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastSAMapRejectErrorString.setDescription("The value of this object is the text string in\nthe most recent SA Map Reject message sent in response to\nan SA Map Request for this IP. It is a zero length string\nif no SA Map Reject message has been received since entry\ncreation.") docsBpi2CmtsIpMulticastMapControl = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 14), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastMapControl.setDescription("This object controls and reflects the IP multicast\naddress mapping entry. There is no restriction on the\nability to change values in this row while the row is\nactive.\nA created row can be set to active only after the\nCorresponding instances of docsBpi2CmtsIpMulticastAddress,\ndocsBpi2CmtsIpMulticastMask, docsBpi2CmtsIpMulticastSAId,\nand docsBpi2CmtsIpMulticastSAType have all been set.") docsBpi2CmtsIpMulticastMapStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 1, 1, 15), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsIpMulticastMapStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not allow\nwrite-access to any columnar objects in the row.") docsBpi2CmtsMulticastAuthTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 2)) if mibBuilder.loadTexts: docsBpi2CmtsMulticastAuthTable.setDescription("This table describes the multicast SAID\nauthorization for each CM on each CMTS MAC interface.") docsBpi2CmtsMulticastAuthEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmtsMulticastAuthSAId"), (0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmtsMulticastAuthCmMacAddress")) if mibBuilder.loadTexts: docsBpi2CmtsMulticastAuthEntry.setDescription("Each entry contains objects describing the key\nauthorization of one cable modem for one multicast SAID\nfor one CMTS MAC interface.\nRow entries persist after re-initialization of\nthe managed system.") docsBpi2CmtsMulticastAuthSAId = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 2, 1, 1), DocsSAId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmtsMulticastAuthSAId.setDescription("This object represents the multicast SAID for\nauthorization.") docsBpi2CmtsMulticastAuthCmMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 2, 1, 2), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmtsMulticastAuthCmMacAddress.setDescription("This object represents the MAC address of the CM\nto which the multicast SAID authorization applies.") docsBpi2CmtsMulticastAuthControl = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 4, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsMulticastAuthControl.setDescription("The status of this conceptual row for the\nauthorization of multicast SAIDs to CMs.") docsBpi2CmtsCertObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1, 2, 5)) docsBpi2CmtsProvisionedCmCertTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 1)) if mibBuilder.loadTexts: docsBpi2CmtsProvisionedCmCertTable.setDescription("A table of CM certificate trust entries provisioned\nto the CMTS. The trust object for a certificate in this\ntable has an overriding effect on the validity object of a\ncertificate in the authorization table, as long as the\nentire contents of the two certificates are identical.") docsBpi2CmtsProvisionedCmCertEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 1, 1)).setIndexNames((0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmtsProvisionedCmCertMacAddress")) if mibBuilder.loadTexts: docsBpi2CmtsProvisionedCmCertEntry.setDescription("An entry in the CMTS's provisioned CM certificate\ntable. Row entries persist after re-initialization of\nthe managed system.") docsBpi2CmtsProvisionedCmCertMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 1, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmtsProvisionedCmCertMacAddress.setDescription("The index of this row.") docsBpi2CmtsProvisionedCmCertTrust = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("trusted", 1), ("untrusted", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsProvisionedCmCertTrust.setDescription("Trust state for the provisioned CM certificate entry.\nNote: Setting this object need only override the validity\nof CM certificates sent in future authorization requests;\ninstantaneous effect need not occur.") docsBpi2CmtsProvisionedCmCertSource = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("snmp", 1), ("configurationFile", 2), ("externalDatabase", 3), ("other", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsProvisionedCmCertSource.setDescription("This object indicates how the certificate reached the\nCMTS. Other(4) means that it originated from a source not\nidentified above.") docsBpi2CmtsProvisionedCmCertStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsProvisionedCmCertStatus.setDescription("The status of this conceptual row. Values in this row\ncannot be changed while the row is 'active'.") docsBpi2CmtsProvisionedCmCert = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 1, 1, 5), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsProvisionedCmCert.setDescription("An X509 DER-encoded Certificate Authority\ncertificate.\nNote: The zero-length OCTET STRING must be returned, on\n\n\n\nreads, if the entire certificate is not retained in the\nCMTS.") docsBpi2CmtsCACertTable = MibTable((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2)) if mibBuilder.loadTexts: docsBpi2CmtsCACertTable.setDescription("The table of known Certificate Authority certificates\nacquired by this device.") docsBpi2CmtsCACertEntry = MibTableRow((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1)).setIndexNames((0, "DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertIndex")) if mibBuilder.loadTexts: docsBpi2CmtsCACertEntry.setDescription("A row in the Certificate Authority certificate\ntable. Row entries with the trust status 'trusted',\n'untrusted', or 'root' persist after re-initialization\n of the managed system.") docsBpi2CmtsCACertIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsBpi2CmtsCACertIndex.setDescription("The index for this row.") docsBpi2CmtsCACertSubject = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsCACertSubject.setDescription("The subject name exactly as it is encoded in the\nX509 certificate.\nThe organizationName portion of the certificate's subject\nname must be present. All other fields are optional. Any\noptional field present must be prepended with \n(carriage return, U+000D) (line feed, U+000A).\nOrdering of fields present must conform to the following:\n\norganizationName \ncountryName \nstateOrProvinceName \nlocalityName \norganizationalUnitName \norganizationalUnitName= \ncommonName") docsBpi2CmtsCACertIssuer = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsCACertIssuer.setDescription("The issuer name exactly as it is encoded in the\nX509 certificate.\nThe commonName portion of the certificate's issuer\nname must be present. All other fields are optional. Any\noptional field present must be prepended with \n(carriage return, U+000D) (line feed, U+000A).\nOrdering of fields present must conform to the following:\n\nCommonName \ncountryName \n\n\n\nstateOrProvinceName \nlocalityName \norganizationName \norganizationalUnitName \norganizationalUnitName=") docsBpi2CmtsCACertSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsCACertSerialNumber.setDescription("This CA certificate's serial number, represented as\nan octet string.") docsBpi2CmtsCACertTrust = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,3,1,)).subtype(namedValues=NamedValues(("trusted", 1), ("untrusted", 2), ("chained", 3), ("root", 4), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsCACertTrust.setDescription("This object controls the trust status of this\ncertificate. Root certificates must be given root(4)\ntrust; manufacturer certificates must not be given root(4)\ntrust. Trust on root certificates must not change.\nNote: Setting this object need only affect the validity of\nCM certificates sent in future authorization requests;\ninstantaneous effect need not occur.") docsBpi2CmtsCACertSource = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,5,6,4,2,)).subtype(namedValues=NamedValues(("snmp", 1), ("configurationFile", 2), ("externalDatabase", 3), ("other", 4), ("authentInfo", 5), ("compiledIntoCode", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsCACertSource.setDescription("This object indicates how the certificate reached\nthe CMTS. Other(4) means that it originated from a source\nnot identified above.") docsBpi2CmtsCACertStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsCACertStatus.setDescription("The status of this conceptual row. An attempt\nto set writable columnar values while this row is active\nbehaves as follows:\n- Sets to the object docsBpi2CmtsCACertTrust are allowed.\n- Sets to the object docsBpi2CmtsCACert will return an\n error of 'inconsistentValue'.\nA newly created entry cannot be set to active until the\nvalue of docsBpi2CmtsCACert is being set.") docsBpi2CmtsCACert = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 8), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsBpi2CmtsCACert.setDescription("An X509 DER-encoded Certificate Authority\ncertificate.\nTo help identify certificates, either this object or\ndocsBpi2CmtsCACertThumbprint must be returned by a CMTS for\nself-signed CA certificates.\n\nNote: The zero-length OCTET STRING must be returned, on\nreads, if the entire certificate is not retained in the\nCMTS.") docsBpi2CmtsCACertThumbprint = MibTableColumn((1, 3, 6, 1, 2, 1, 126, 1, 2, 5, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CmtsCACertThumbprint.setDescription("The SHA-1 hash of a CA certificate.\nTo help identify certificates, either this object or\ndocsBpi2CmtsCACert must be returned by a CMTS for\nself-signed CA certificates.\n\nNote: The zero-length OCTET STRING must be returned, on\nreads, if the CA certificate thumb print is not retained\nin the CMTS.") docsBpi2CodeDownloadControl = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 1, 4)) docsBpi2CodeDownloadStatusCode = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(5,3,6,2,1,7,4,)).subtype(namedValues=NamedValues(("configFileCvcVerified", 1), ("configFileCvcRejected", 2), ("snmpCvcVerified", 3), ("snmpCvcRejected", 4), ("codeFileVerified", 5), ("codeFileRejected", 6), ("other", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeDownloadStatusCode.setDescription("The value indicates the result of the latest config\nfile CVC verification, SNMP CVC verification, or code file\n\n\n\nverification.") docsBpi2CodeDownloadStatusString = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeDownloadStatusString.setDescription("The value of this object indicates the additional\ninformation to the status code. The value will include\nthe error code and error description, which will be defined\nseparately.") docsBpi2CodeMfgOrgName = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeMfgOrgName.setDescription("The value of this object is the device manufacturer's\norganizationName.") docsBpi2CodeMfgCodeAccessStart = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 4), DateAndTime().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeMfgCodeAccessStart.setDescription("The value of this object is the device manufacturer's\ncurrent codeAccessStart value. This value will always\nrefer to Greenwich Mean Time (GMT), and the value\nformat must contain TimeZone information (fields 8-10).") docsBpi2CodeMfgCvcAccessStart = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 5), DateAndTime().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeMfgCvcAccessStart.setDescription("The value of this object is the device manufacturer's\ncurrent cvcAccessStart value. This value will always\nrefer to Greenwich Mean Time (GMT), and the value\nformat must contain TimeZone information (fields 8-10).") docsBpi2CodeCoSignerOrgName = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeCoSignerOrgName.setDescription("The value of this object is the co-signer's\norganizationName. The value is a zero length string if\nthe co-signer is not specified.") docsBpi2CodeCoSignerCodeAccessStart = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 7), DateAndTime().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeCoSignerCodeAccessStart.setDescription("The value of this object is the co-signer's current\ncodeAccessStart value. This value will always refer to\nGreenwich Mean Time (GMT), and the value format must contain\nTimeZone information (fields 8-10).\nIf docsBpi2CodeCoSignerOrgName is a zero\nlength string, the value of this object is meaningless.") docsBpi2CodeCoSignerCvcAccessStart = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 8), DateAndTime().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readonly") if mibBuilder.loadTexts: docsBpi2CodeCoSignerCvcAccessStart.setDescription("The value of this object is the co-signer's current\ncvcAccessStart value. This value will always refer to\n\n\n\nGreenwich Mean Time (GMT), and the value format must contain\nTimeZone information (fields 8-10).\nIf docsBpi2CodeCoSignerOrgName is a zero\nlength string, the value of this object is meaningless.") docsBpi2CodeCvcUpdate = MibScalar((1, 3, 6, 1, 2, 1, 126, 1, 4, 9), DocsX509ASN1DEREncodedCertificate()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsBpi2CodeCvcUpdate.setDescription("Setting a CVC to this object triggers the device\nto verify the CVC and update the cvcAccessStart values.\nThe content of this object is then discarded.\nIf the device is not enabled to upgrade codefiles, or if\nthe CVC verification fails, the CVC will be rejected.\nReading this object always returns the zero-length OCTET\nSTRING.") docsBpi2Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 2)) docsBpi2Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 2, 1)) docsBpi2Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 126, 2, 2)) # Augmentions # Groups docsBpi2CmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 126, 2, 2, 1)).setObjects(*(("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKExpiresNew"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthInvalids"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKExpiresOld"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastSAId"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthRequests"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthReset"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthWaitTimeout"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastSAMapRejectErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmCryptoSuiteDataEncryptAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthInvalidErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastSAMapState"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthRejectErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKInvalids"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthExpiresOld"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmPrivacyEnable"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmOpWaitTimeout"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastAddress"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastSAMapRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKState"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmRekeyWaitTimeout"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthGraceTime"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKKeyRejectErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthentInfos"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKKeyRequests"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmReauthWaitTimeout"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKAuthPends"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKDataEncryptAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthKeySequenceNumber"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastSAMapRejectErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKDataAuthentAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKKeyReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKKeySequenceNumber"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKInvalidErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKKeyRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthRejectWaitTimeout"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKSAType"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastAddressType"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthInvalidErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthState"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKInvalidErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmPublicKey"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthRejectErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKGraceTime"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmCryptoSuiteDataAuthentAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmAuthExpiresNew"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmSAMapMaxRetries"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastSAMapReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmSAMapWaitTimeout"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmDeviceCmCert"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmDeviceManufCert"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmTEKKeyRejectErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmIpMulticastSAMapRequests"), ) ) if mibBuilder.loadTexts: docsBpi2CmGroup.setDescription("This collection of objects provides CM BPI+ status\nand control.") docsBpi2CmtsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 126, 2, 2, 2)).setObjects(*(("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastMask"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKExpiresOld"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsSAMapRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsKeyRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsProvisionedCmCertTrust"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmKeySequenceNumber"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastDataAuthentAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastSAMapReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsProvisionedCmCertSource"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCACertIndexPtr"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmPublicKey"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsProvisionedCmCert"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKInvalids"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthInvalids"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertIssuer"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertSource"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastSAMapRequests"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKInvalidErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertStatus"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmExpiresNew"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsKeyRejectErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthBpkmCmCertValid"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmRequests"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastSAType"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastSAMapRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthRejects"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsDefaultTEKLifetime"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmExpiresOld"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthentInfos"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsKeyRequests"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKExpiresNew"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsProvisionedCmCertStatus"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertSerialNumber"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthRejectErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthBpkmCmCert"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertThumbprint"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKReset"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACert"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertTrust"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastAddressType"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmBpiVersion"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthPrimarySAId"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsKeyRejectErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKSAType"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCheckCertValidityPeriods"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthRejectErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmInfos"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastSAId"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsDefaultAuthLifetime"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsSAMapRequests"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmReset"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKInvalidErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmInvalids"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKDataAuthentAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastSAMapRejectErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthCmLifetime"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthRequests"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastAddress"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastMapControl"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthInvalidErrorCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsSAMapReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsKeyReplies"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastDataEncryptAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKKeySequenceNumber"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsDefaultSelfSignedManufCertTrust"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsAuthInvalidErrorString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsCACertSubject"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKDataEncryptAlg"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsTEKLifetime"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastMapStorageType"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsMulticastAuthControl"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsIpMulticastSAMapRejectErrorCode"), ) ) if mibBuilder.loadTexts: docsBpi2CmtsGroup.setDescription("This collection of objects provides CMTS BPI+ status\nand control.") docsBpi2CodeDownloadGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 126, 2, 2, 3)).setObjects(*(("DOCS-IETF-BPI2-MIB", "docsBpi2CodeMfgOrgName"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeDownloadStatusCode"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeCoSignerOrgName"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeCvcUpdate"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeDownloadStatusString"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeCoSignerCvcAccessStart"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeMfgCodeAccessStart"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeMfgCvcAccessStart"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeCoSignerCodeAccessStart"), ) ) if mibBuilder.loadTexts: docsBpi2CodeDownloadGroup.setDescription("This collection of objects provides authenticated\nsoftware download support.") # Compliances docsBpi2CmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 126, 2, 1, 1)).setObjects(*(("DOCS-IETF-BPI2-MIB", "docsBpi2CmGroup"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CodeDownloadGroup"), ) ) if mibBuilder.loadTexts: docsBpi2CmCompliance.setDescription("This is the compliance statement for CMs that\nimplement the DOCSIS Baseline Privacy Interface Plus.") docsBpi2CmtsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 126, 2, 1, 2)).setObjects(*(("DOCS-IETF-BPI2-MIB", "docsBpi2CodeDownloadGroup"), ("DOCS-IETF-BPI2-MIB", "docsBpi2CmtsGroup"), ) ) if mibBuilder.loadTexts: docsBpi2CmtsCompliance.setDescription("This is the compliance statement for CMTSs that\nimplement the DOCSIS Baseline Privacy Interface Plus.") # Exports # Module identity mibBuilder.exportSymbols("DOCS-IETF-BPI2-MIB", PYSNMP_MODULE_ID=docsBpi2MIB) # Types mibBuilder.exportSymbols("DOCS-IETF-BPI2-MIB", DocsBpkmDataAuthentAlg=DocsBpkmDataAuthentAlg, DocsBpkmDataEncryptAlg=DocsBpkmDataEncryptAlg, DocsBpkmSAType=DocsBpkmSAType, DocsSAId=DocsSAId, DocsSAIdOrZero=DocsSAIdOrZero, DocsX509ASN1DEREncodedCertificate=DocsX509ASN1DEREncodedCertificate) # Objects mibBuilder.exportSymbols("DOCS-IETF-BPI2-MIB", docsBpi2MIB=docsBpi2MIB, docsBpi2Notification=docsBpi2Notification, docsBpi2MIBObjects=docsBpi2MIBObjects, docsBpi2CmObjects=docsBpi2CmObjects, docsBpi2CmBaseTable=docsBpi2CmBaseTable, docsBpi2CmBaseEntry=docsBpi2CmBaseEntry, docsBpi2CmPrivacyEnable=docsBpi2CmPrivacyEnable, docsBpi2CmPublicKey=docsBpi2CmPublicKey, docsBpi2CmAuthState=docsBpi2CmAuthState, docsBpi2CmAuthKeySequenceNumber=docsBpi2CmAuthKeySequenceNumber, docsBpi2CmAuthExpiresOld=docsBpi2CmAuthExpiresOld, docsBpi2CmAuthExpiresNew=docsBpi2CmAuthExpiresNew, docsBpi2CmAuthReset=docsBpi2CmAuthReset, docsBpi2CmAuthGraceTime=docsBpi2CmAuthGraceTime, docsBpi2CmTEKGraceTime=docsBpi2CmTEKGraceTime, docsBpi2CmAuthWaitTimeout=docsBpi2CmAuthWaitTimeout, docsBpi2CmReauthWaitTimeout=docsBpi2CmReauthWaitTimeout, docsBpi2CmOpWaitTimeout=docsBpi2CmOpWaitTimeout, docsBpi2CmRekeyWaitTimeout=docsBpi2CmRekeyWaitTimeout, docsBpi2CmAuthRejectWaitTimeout=docsBpi2CmAuthRejectWaitTimeout, docsBpi2CmSAMapWaitTimeout=docsBpi2CmSAMapWaitTimeout, docsBpi2CmSAMapMaxRetries=docsBpi2CmSAMapMaxRetries, docsBpi2CmAuthentInfos=docsBpi2CmAuthentInfos, docsBpi2CmAuthRequests=docsBpi2CmAuthRequests, docsBpi2CmAuthReplies=docsBpi2CmAuthReplies, docsBpi2CmAuthRejects=docsBpi2CmAuthRejects, docsBpi2CmAuthInvalids=docsBpi2CmAuthInvalids, docsBpi2CmAuthRejectErrorCode=docsBpi2CmAuthRejectErrorCode, docsBpi2CmAuthRejectErrorString=docsBpi2CmAuthRejectErrorString, docsBpi2CmAuthInvalidErrorCode=docsBpi2CmAuthInvalidErrorCode, docsBpi2CmAuthInvalidErrorString=docsBpi2CmAuthInvalidErrorString, docsBpi2CmTEKTable=docsBpi2CmTEKTable, docsBpi2CmTEKEntry=docsBpi2CmTEKEntry, docsBpi2CmTEKSAId=docsBpi2CmTEKSAId, docsBpi2CmTEKSAType=docsBpi2CmTEKSAType, docsBpi2CmTEKDataEncryptAlg=docsBpi2CmTEKDataEncryptAlg, docsBpi2CmTEKDataAuthentAlg=docsBpi2CmTEKDataAuthentAlg, docsBpi2CmTEKState=docsBpi2CmTEKState, docsBpi2CmTEKKeySequenceNumber=docsBpi2CmTEKKeySequenceNumber, docsBpi2CmTEKExpiresOld=docsBpi2CmTEKExpiresOld, docsBpi2CmTEKExpiresNew=docsBpi2CmTEKExpiresNew, docsBpi2CmTEKKeyRequests=docsBpi2CmTEKKeyRequests, docsBpi2CmTEKKeyReplies=docsBpi2CmTEKKeyReplies, docsBpi2CmTEKKeyRejects=docsBpi2CmTEKKeyRejects, docsBpi2CmTEKInvalids=docsBpi2CmTEKInvalids, docsBpi2CmTEKAuthPends=docsBpi2CmTEKAuthPends, docsBpi2CmTEKKeyRejectErrorCode=docsBpi2CmTEKKeyRejectErrorCode, docsBpi2CmTEKKeyRejectErrorString=docsBpi2CmTEKKeyRejectErrorString, docsBpi2CmTEKInvalidErrorCode=docsBpi2CmTEKInvalidErrorCode, docsBpi2CmTEKInvalidErrorString=docsBpi2CmTEKInvalidErrorString, docsBpi2CmMulticastObjects=docsBpi2CmMulticastObjects, docsBpi2CmIpMulticastMapTable=docsBpi2CmIpMulticastMapTable, docsBpi2CmIpMulticastMapEntry=docsBpi2CmIpMulticastMapEntry, docsBpi2CmIpMulticastIndex=docsBpi2CmIpMulticastIndex, docsBpi2CmIpMulticastAddressType=docsBpi2CmIpMulticastAddressType, docsBpi2CmIpMulticastAddress=docsBpi2CmIpMulticastAddress, docsBpi2CmIpMulticastSAId=docsBpi2CmIpMulticastSAId, docsBpi2CmIpMulticastSAMapState=docsBpi2CmIpMulticastSAMapState, docsBpi2CmIpMulticastSAMapRequests=docsBpi2CmIpMulticastSAMapRequests, docsBpi2CmIpMulticastSAMapReplies=docsBpi2CmIpMulticastSAMapReplies, docsBpi2CmIpMulticastSAMapRejects=docsBpi2CmIpMulticastSAMapRejects, docsBpi2CmIpMulticastSAMapRejectErrorCode=docsBpi2CmIpMulticastSAMapRejectErrorCode, docsBpi2CmIpMulticastSAMapRejectErrorString=docsBpi2CmIpMulticastSAMapRejectErrorString, docsBpi2CmCertObjects=docsBpi2CmCertObjects, docsBpi2CmDeviceCertTable=docsBpi2CmDeviceCertTable, docsBpi2CmDeviceCertEntry=docsBpi2CmDeviceCertEntry, docsBpi2CmDeviceCmCert=docsBpi2CmDeviceCmCert, docsBpi2CmDeviceManufCert=docsBpi2CmDeviceManufCert, docsBpi2CmCryptoSuiteTable=docsBpi2CmCryptoSuiteTable, docsBpi2CmCryptoSuiteEntry=docsBpi2CmCryptoSuiteEntry, docsBpi2CmCryptoSuiteIndex=docsBpi2CmCryptoSuiteIndex, docsBpi2CmCryptoSuiteDataEncryptAlg=docsBpi2CmCryptoSuiteDataEncryptAlg, docsBpi2CmCryptoSuiteDataAuthentAlg=docsBpi2CmCryptoSuiteDataAuthentAlg, docsBpi2CmtsObjects=docsBpi2CmtsObjects, docsBpi2CmtsBaseTable=docsBpi2CmtsBaseTable, docsBpi2CmtsBaseEntry=docsBpi2CmtsBaseEntry, docsBpi2CmtsDefaultAuthLifetime=docsBpi2CmtsDefaultAuthLifetime, docsBpi2CmtsDefaultTEKLifetime=docsBpi2CmtsDefaultTEKLifetime, docsBpi2CmtsDefaultSelfSignedManufCertTrust=docsBpi2CmtsDefaultSelfSignedManufCertTrust, docsBpi2CmtsCheckCertValidityPeriods=docsBpi2CmtsCheckCertValidityPeriods, docsBpi2CmtsAuthentInfos=docsBpi2CmtsAuthentInfos, docsBpi2CmtsAuthRequests=docsBpi2CmtsAuthRequests, docsBpi2CmtsAuthReplies=docsBpi2CmtsAuthReplies, docsBpi2CmtsAuthRejects=docsBpi2CmtsAuthRejects, docsBpi2CmtsAuthInvalids=docsBpi2CmtsAuthInvalids, docsBpi2CmtsSAMapRequests=docsBpi2CmtsSAMapRequests, docsBpi2CmtsSAMapReplies=docsBpi2CmtsSAMapReplies, docsBpi2CmtsSAMapRejects=docsBpi2CmtsSAMapRejects, docsBpi2CmtsAuthTable=docsBpi2CmtsAuthTable, docsBpi2CmtsAuthEntry=docsBpi2CmtsAuthEntry, docsBpi2CmtsAuthCmMacAddress=docsBpi2CmtsAuthCmMacAddress, docsBpi2CmtsAuthCmBpiVersion=docsBpi2CmtsAuthCmBpiVersion, docsBpi2CmtsAuthCmPublicKey=docsBpi2CmtsAuthCmPublicKey, docsBpi2CmtsAuthCmKeySequenceNumber=docsBpi2CmtsAuthCmKeySequenceNumber, docsBpi2CmtsAuthCmExpiresOld=docsBpi2CmtsAuthCmExpiresOld, docsBpi2CmtsAuthCmExpiresNew=docsBpi2CmtsAuthCmExpiresNew, docsBpi2CmtsAuthCmLifetime=docsBpi2CmtsAuthCmLifetime, docsBpi2CmtsAuthCmReset=docsBpi2CmtsAuthCmReset, docsBpi2CmtsAuthCmInfos=docsBpi2CmtsAuthCmInfos, docsBpi2CmtsAuthCmRequests=docsBpi2CmtsAuthCmRequests, docsBpi2CmtsAuthCmReplies=docsBpi2CmtsAuthCmReplies, docsBpi2CmtsAuthCmRejects=docsBpi2CmtsAuthCmRejects, docsBpi2CmtsAuthCmInvalids=docsBpi2CmtsAuthCmInvalids, docsBpi2CmtsAuthRejectErrorCode=docsBpi2CmtsAuthRejectErrorCode, docsBpi2CmtsAuthRejectErrorString=docsBpi2CmtsAuthRejectErrorString, docsBpi2CmtsAuthInvalidErrorCode=docsBpi2CmtsAuthInvalidErrorCode, docsBpi2CmtsAuthInvalidErrorString=docsBpi2CmtsAuthInvalidErrorString, docsBpi2CmtsAuthPrimarySAId=docsBpi2CmtsAuthPrimarySAId, docsBpi2CmtsAuthBpkmCmCertValid=docsBpi2CmtsAuthBpkmCmCertValid, docsBpi2CmtsAuthBpkmCmCert=docsBpi2CmtsAuthBpkmCmCert, docsBpi2CmtsAuthCACertIndexPtr=docsBpi2CmtsAuthCACertIndexPtr, docsBpi2CmtsTEKTable=docsBpi2CmtsTEKTable, docsBpi2CmtsTEKEntry=docsBpi2CmtsTEKEntry, docsBpi2CmtsTEKSAId=docsBpi2CmtsTEKSAId, docsBpi2CmtsTEKSAType=docsBpi2CmtsTEKSAType, docsBpi2CmtsTEKDataEncryptAlg=docsBpi2CmtsTEKDataEncryptAlg, docsBpi2CmtsTEKDataAuthentAlg=docsBpi2CmtsTEKDataAuthentAlg, docsBpi2CmtsTEKLifetime=docsBpi2CmtsTEKLifetime, docsBpi2CmtsTEKKeySequenceNumber=docsBpi2CmtsTEKKeySequenceNumber, docsBpi2CmtsTEKExpiresOld=docsBpi2CmtsTEKExpiresOld, docsBpi2CmtsTEKExpiresNew=docsBpi2CmtsTEKExpiresNew, docsBpi2CmtsTEKReset=docsBpi2CmtsTEKReset, docsBpi2CmtsKeyRequests=docsBpi2CmtsKeyRequests, docsBpi2CmtsKeyReplies=docsBpi2CmtsKeyReplies, docsBpi2CmtsKeyRejects=docsBpi2CmtsKeyRejects, docsBpi2CmtsTEKInvalids=docsBpi2CmtsTEKInvalids) mibBuilder.exportSymbols("DOCS-IETF-BPI2-MIB", docsBpi2CmtsKeyRejectErrorCode=docsBpi2CmtsKeyRejectErrorCode, docsBpi2CmtsKeyRejectErrorString=docsBpi2CmtsKeyRejectErrorString, docsBpi2CmtsTEKInvalidErrorCode=docsBpi2CmtsTEKInvalidErrorCode, docsBpi2CmtsTEKInvalidErrorString=docsBpi2CmtsTEKInvalidErrorString, docsBpi2CmtsMulticastObjects=docsBpi2CmtsMulticastObjects, docsBpi2CmtsIpMulticastMapTable=docsBpi2CmtsIpMulticastMapTable, docsBpi2CmtsIpMulticastMapEntry=docsBpi2CmtsIpMulticastMapEntry, docsBpi2CmtsIpMulticastIndex=docsBpi2CmtsIpMulticastIndex, docsBpi2CmtsIpMulticastAddressType=docsBpi2CmtsIpMulticastAddressType, docsBpi2CmtsIpMulticastAddress=docsBpi2CmtsIpMulticastAddress, docsBpi2CmtsIpMulticastMask=docsBpi2CmtsIpMulticastMask, docsBpi2CmtsIpMulticastSAId=docsBpi2CmtsIpMulticastSAId, docsBpi2CmtsIpMulticastSAType=docsBpi2CmtsIpMulticastSAType, docsBpi2CmtsIpMulticastDataEncryptAlg=docsBpi2CmtsIpMulticastDataEncryptAlg, docsBpi2CmtsIpMulticastDataAuthentAlg=docsBpi2CmtsIpMulticastDataAuthentAlg, docsBpi2CmtsIpMulticastSAMapRequests=docsBpi2CmtsIpMulticastSAMapRequests, docsBpi2CmtsIpMulticastSAMapReplies=docsBpi2CmtsIpMulticastSAMapReplies, docsBpi2CmtsIpMulticastSAMapRejects=docsBpi2CmtsIpMulticastSAMapRejects, docsBpi2CmtsIpMulticastSAMapRejectErrorCode=docsBpi2CmtsIpMulticastSAMapRejectErrorCode, docsBpi2CmtsIpMulticastSAMapRejectErrorString=docsBpi2CmtsIpMulticastSAMapRejectErrorString, docsBpi2CmtsIpMulticastMapControl=docsBpi2CmtsIpMulticastMapControl, docsBpi2CmtsIpMulticastMapStorageType=docsBpi2CmtsIpMulticastMapStorageType, docsBpi2CmtsMulticastAuthTable=docsBpi2CmtsMulticastAuthTable, docsBpi2CmtsMulticastAuthEntry=docsBpi2CmtsMulticastAuthEntry, docsBpi2CmtsMulticastAuthSAId=docsBpi2CmtsMulticastAuthSAId, docsBpi2CmtsMulticastAuthCmMacAddress=docsBpi2CmtsMulticastAuthCmMacAddress, docsBpi2CmtsMulticastAuthControl=docsBpi2CmtsMulticastAuthControl, docsBpi2CmtsCertObjects=docsBpi2CmtsCertObjects, docsBpi2CmtsProvisionedCmCertTable=docsBpi2CmtsProvisionedCmCertTable, docsBpi2CmtsProvisionedCmCertEntry=docsBpi2CmtsProvisionedCmCertEntry, docsBpi2CmtsProvisionedCmCertMacAddress=docsBpi2CmtsProvisionedCmCertMacAddress, docsBpi2CmtsProvisionedCmCertTrust=docsBpi2CmtsProvisionedCmCertTrust, docsBpi2CmtsProvisionedCmCertSource=docsBpi2CmtsProvisionedCmCertSource, docsBpi2CmtsProvisionedCmCertStatus=docsBpi2CmtsProvisionedCmCertStatus, docsBpi2CmtsProvisionedCmCert=docsBpi2CmtsProvisionedCmCert, docsBpi2CmtsCACertTable=docsBpi2CmtsCACertTable, docsBpi2CmtsCACertEntry=docsBpi2CmtsCACertEntry, docsBpi2CmtsCACertIndex=docsBpi2CmtsCACertIndex, docsBpi2CmtsCACertSubject=docsBpi2CmtsCACertSubject, docsBpi2CmtsCACertIssuer=docsBpi2CmtsCACertIssuer, docsBpi2CmtsCACertSerialNumber=docsBpi2CmtsCACertSerialNumber, docsBpi2CmtsCACertTrust=docsBpi2CmtsCACertTrust, docsBpi2CmtsCACertSource=docsBpi2CmtsCACertSource, docsBpi2CmtsCACertStatus=docsBpi2CmtsCACertStatus, docsBpi2CmtsCACert=docsBpi2CmtsCACert, docsBpi2CmtsCACertThumbprint=docsBpi2CmtsCACertThumbprint, docsBpi2CodeDownloadControl=docsBpi2CodeDownloadControl, docsBpi2CodeDownloadStatusCode=docsBpi2CodeDownloadStatusCode, docsBpi2CodeDownloadStatusString=docsBpi2CodeDownloadStatusString, docsBpi2CodeMfgOrgName=docsBpi2CodeMfgOrgName, docsBpi2CodeMfgCodeAccessStart=docsBpi2CodeMfgCodeAccessStart, docsBpi2CodeMfgCvcAccessStart=docsBpi2CodeMfgCvcAccessStart, docsBpi2CodeCoSignerOrgName=docsBpi2CodeCoSignerOrgName, docsBpi2CodeCoSignerCodeAccessStart=docsBpi2CodeCoSignerCodeAccessStart, docsBpi2CodeCoSignerCvcAccessStart=docsBpi2CodeCoSignerCvcAccessStart, docsBpi2CodeCvcUpdate=docsBpi2CodeCvcUpdate, docsBpi2Conformance=docsBpi2Conformance, docsBpi2Compliances=docsBpi2Compliances, docsBpi2Groups=docsBpi2Groups) # Groups mibBuilder.exportSymbols("DOCS-IETF-BPI2-MIB", docsBpi2CmGroup=docsBpi2CmGroup, docsBpi2CmtsGroup=docsBpi2CmtsGroup, docsBpi2CodeDownloadGroup=docsBpi2CodeDownloadGroup) # Compliances mibBuilder.exportSymbols("DOCS-IETF-BPI2-MIB", docsBpi2CmCompliance=docsBpi2CmCompliance, docsBpi2CmtsCompliance=docsBpi2CmtsCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/BGP4-MIB.py0000644000014400001440000010116011736645135020127 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python BGP4-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") # Objects bgp = ModuleIdentity((1, 3, 6, 1, 2, 1, 15)).setRevisions(("2006-01-11 00:00","1994-05-05 00:00","1991-10-26 18:39",)) if mibBuilder.loadTexts: bgp.setOrganization("IETF IDR Working Group") if mibBuilder.loadTexts: bgp.setContactInfo("E-mail: idr@ietf.org\n\nJeffrey Haas, Susan Hares (Editors)\nNextHop Technologies\n825 Victors Way\nSuite 100\nAnn Arbor, MI 48108-2738\nTel: +1 734 222-1600\nFax: +1 734 222-1602\nE-mail: jhaas@nexthop.com\n skh@nexthop.com") if mibBuilder.loadTexts: bgp.setDescription("The MIB module for the BGP-4 protocol.\n\nCopyright (C) The Internet Society (2006). This\nversion of this MIB module is part of RFC 4273;\nsee the RFC itself for full legal notices.") bgpNotification = MibIdentifier((1, 3, 6, 1, 2, 1, 15, 0)) bgpVersion = MibScalar((1, 3, 6, 1, 2, 1, 15, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpVersion.setDescription("Vector of supported BGP protocol version\nnumbers. Each peer negotiates the version\nfrom this vector. Versions are identified\nvia the string of bits contained within this\nobject. The first octet contains bits 0 to\n7, the second octet contains bits 8 to 15,\nand so on, with the most significant bit\nreferring to the lowest bit number in the\noctet (e.g., the MSB of the first octet\nrefers to bit 0). If a bit, i, is present\nand set, then the version (i+1) of the BGP\nis supported.") bgpLocalAs = MibScalar((1, 3, 6, 1, 2, 1, 15, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpLocalAs.setDescription("The local autonomous system number.") bgpPeerTable = MibTable((1, 3, 6, 1, 2, 1, 15, 3)) if mibBuilder.loadTexts: bgpPeerTable.setDescription("BGP peer table. This table contains,\none entry per BGP peer, information about the\nconnections with BGP peers.") bgpPeerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 15, 3, 1)).setIndexNames((0, "BGP4-MIB", "bgpPeerRemoteAddr")) if mibBuilder.loadTexts: bgpPeerEntry.setDescription("Entry containing information about the\nconnection with a BGP peer.") bgpPeerIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerIdentifier.setDescription("The BGP Identifier of this entry's BGP peer.\nThis entry MUST be 0.0.0.0 unless the\nbgpPeerState is in the openconfirm or the\nestablished state.") bgpPeerState = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(6,5,4,1,2,3,)).subtype(namedValues=NamedValues(("idle", 1), ("connect", 2), ("active", 3), ("opensent", 4), ("openconfirm", 5), ("established", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerState.setDescription("The BGP peer connection state.") bgpPeerAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("stop", 1), ("start", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bgpPeerAdminStatus.setDescription("The desired state of the BGP connection.\nA transition from 'stop' to 'start' will cause\nthe BGP Manual Start Event to be generated.\nA transition from 'start' to 'stop' will cause\nthe BGP Manual Stop Event to be generated.\nThis parameter can be used to restart BGP peer\nconnections. Care should be used in providing\nwrite access to this object without adequate\nauthentication.") bgpPeerNegotiatedVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerNegotiatedVersion.setDescription("The negotiated version of BGP running between\nthe two peers.\n\nThis entry MUST be zero (0) unless the\nbgpPeerState is in the openconfirm or the\n\n\n\nestablished state.\n\nNote that legal values for this object are\nbetween 0 and 255.") bgpPeerLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerLocalAddr.setDescription("The local IP address of this entry's BGP\nconnection.") bgpPeerLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerLocalPort.setDescription("The local port for the TCP connection between\nthe BGP peers.") bgpPeerRemoteAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 7), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerRemoteAddr.setDescription("The remote IP address of this entry's BGP\npeer.") bgpPeerRemotePort = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerRemotePort.setDescription("The remote port for the TCP connection\nbetween the BGP peers. Note that the\nobjects bgpPeerLocalAddr,\nbgpPeerLocalPort, bgpPeerRemoteAddr, and\nbgpPeerRemotePort provide the appropriate\nreference to the standard MIB TCP\nconnection table.") bgpPeerRemoteAs = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerRemoteAs.setDescription("The remote autonomous system number received in\nthe BGP OPEN message.") bgpPeerInUpdates = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerInUpdates.setDescription("The number of BGP UPDATE messages\nreceived on this connection.") bgpPeerOutUpdates = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerOutUpdates.setDescription("The number of BGP UPDATE messages\ntransmitted on this connection.") bgpPeerInTotalMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerInTotalMessages.setDescription("The total number of messages received\nfrom the remote peer on this connection.") bgpPeerOutTotalMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerOutTotalMessages.setDescription("The total number of messages transmitted to\nthe remote peer on this connection.") bgpPeerLastError = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerLastError.setDescription("The last error code and subcode seen by this\npeer on this connection. If no error has\noccurred, this field is zero. Otherwise, the\nfirst byte of this two byte OCTET STRING\ncontains the error code, and the second byte\ncontains the subcode.") bgpPeerFsmEstablishedTransitions = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerFsmEstablishedTransitions.setDescription("The total number of times the BGP FSM\ntransitioned into the established state\nfor this peer.") bgpPeerFsmEstablishedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerFsmEstablishedTime.setDescription("This timer indicates how long (in\nseconds) this peer has been in the\nestablished state or how long\nsince this peer was last in the\nestablished state. It is set to zero when\na new peer is configured or when the router is\n\n\n\nbooted.") bgpPeerConnectRetryInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bgpPeerConnectRetryInterval.setDescription("Time interval (in seconds) for the\nConnectRetry timer. The suggested value\nfor this timer is 120 seconds.") bgpPeerHoldTime = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(3,65535),))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerHoldTime.setDescription("Time interval (in seconds) for the Hold\nTimer established with the peer. The\nvalue of this object is calculated by this\nBGP speaker, using the smaller of the\nvalues in bgpPeerHoldTimeConfigured and the\nHold Time received in the OPEN message.\n\nThis value must be at least three seconds\nif it is not zero (0).\n\nIf the Hold Timer has not been established\nwith the peer this object MUST have a value\nof zero (0).\n\nIf the bgpPeerHoldTimeConfigured object has\na value of (0), then this object MUST have a\nvalue of (0).") bgpPeerKeepAlive = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 21845))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerKeepAlive.setDescription("Time interval (in seconds) for the KeepAlive\ntimer established with the peer. The value\nof this object is calculated by this BGP\nspeaker such that, when compared with\nbgpPeerHoldTime, it has the same proportion\nthat bgpPeerKeepAliveConfigured has,\ncompared with bgpPeerHoldTimeConfigured.\n\nIf the KeepAlive timer has not been established\nwith the peer, this object MUST have a value\nof zero (0).\n\nIf the of bgpPeerKeepAliveConfigured object\nhas a value of (0), then this object MUST have\na value of (0).") bgpPeerHoldTimeConfigured = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(3,65535),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bgpPeerHoldTimeConfigured.setDescription("Time interval (in seconds) for the Hold Time\nconfigured for this BGP speaker with this\npeer. This value is placed in an OPEN\nmessage sent to this peer by this BGP\nspeaker, and is compared with the Hold\nTime field in an OPEN message received\nfrom the peer when determining the Hold\nTime (bgpPeerHoldTime) with the peer.\nThis value must not be less than three\nseconds if it is not zero (0). If it is\nzero (0), the Hold Time is NOT to be\nestablished with the peer. The suggested\nvalue for this timer is 90 seconds.") bgpPeerKeepAliveConfigured = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 21845))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bgpPeerKeepAliveConfigured.setDescription("Time interval (in seconds) for the\nKeepAlive timer configured for this BGP\nspeaker with this peer. The value of this\nobject will only determine the\nKEEPALIVE messages' frequency relative to\nthe value specified in\nbgpPeerHoldTimeConfigured; the actual\ntime interval for the KEEPALIVE messages is\nindicated by bgpPeerKeepAlive. A\nreasonable maximum value for this timer\nwould be one third of that of\nbgpPeerHoldTimeConfigured.\nIf the value of this object is zero (0),\nno periodical KEEPALIVE messages are sent\nto the peer after the BGP connection has\nbeen established. The suggested value for\nthis timer is 30 seconds.") bgpPeerMinASOriginationInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bgpPeerMinASOriginationInterval.setDescription("Time interval (in seconds) for the\nMinASOriginationInterval timer.\nThe suggested value for this timer is 15\nseconds.") bgpPeerMinRouteAdvertisementInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bgpPeerMinRouteAdvertisementInterval.setDescription("Time interval (in seconds) for the\nMinRouteAdvertisementInterval timer.\nThe suggested value for this timer is 30\nseconds for EBGP connections and 5\nseconds for IBGP connections.") bgpPeerInUpdateElapsedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 3, 1, 24), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPeerInUpdateElapsedTime.setDescription("Elapsed time (in seconds) since the last BGP\nUPDATE message was received from the peer.\nEach time bgpPeerInUpdates is incremented,\nthe value of this object is set to zero (0).") bgpIdentifier = MibScalar((1, 3, 6, 1, 2, 1, 15, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpIdentifier.setDescription("The BGP Identifier of the local system.") bgpRcvdPathAttrTable = MibTable((1, 3, 6, 1, 2, 1, 15, 5)) if mibBuilder.loadTexts: bgpRcvdPathAttrTable.setDescription("The BGP Received Path Attribute Table\ncontains information about paths to\n\n\n\ndestination networks, received from all\npeers running BGP version 3 or less.") bgpPathAttrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 15, 5, 1)).setIndexNames((0, "BGP4-MIB", "bgpPathAttrDestNetwork"), (0, "BGP4-MIB", "bgpPathAttrPeer")) if mibBuilder.loadTexts: bgpPathAttrEntry.setDescription("Information about a path to a network.") bgpPathAttrPeer = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 5, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPathAttrPeer.setDescription("The IP address of the peer where the path\ninformation was learned.") bgpPathAttrDestNetwork = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 5, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPathAttrDestNetwork.setDescription("The address of the destination network.") bgpPathAttrOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 5, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("igp", 1), ("egp", 2), ("incomplete", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPathAttrOrigin.setDescription("The ultimate origin of the path information.") bgpPathAttrASPath = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 5, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPathAttrASPath.setDescription("The set of ASes that must be traversed to reach\nthe network. This object is probably best\nrepresented as SEQUENCE OF INTEGER. For SMI\ncompatibility, though, it is represented as\nOCTET STRING. Each AS is represented as a pair\nof octets according to the following algorithm:\n\n first-byte-of-pair = ASNumber / 256;\n second-byte-of-pair = ASNumber & 255;") bgpPathAttrNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 5, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPathAttrNextHop.setDescription("The address of the border router that should\nbe used for the destination network.") bgpPathAttrInterASMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgpPathAttrInterASMetric.setDescription("The optional inter-AS metric. If this\nattribute has not been provided for this route,\nthe value for this object is 0.") bgp4PathAttrTable = MibTable((1, 3, 6, 1, 2, 1, 15, 6)) if mibBuilder.loadTexts: bgp4PathAttrTable.setDescription("The BGP-4 Received Path Attribute Table\ncontains information about paths to\ndestination networks, received from all\nBGP4 peers.") bgp4PathAttrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 15, 6, 1)).setIndexNames((0, "BGP4-MIB", "bgp4PathAttrIpAddrPrefix"), (0, "BGP4-MIB", "bgp4PathAttrIpAddrPrefixLen"), (0, "BGP4-MIB", "bgp4PathAttrPeer")) if mibBuilder.loadTexts: bgp4PathAttrEntry.setDescription("Information about a path to a network.") bgp4PathAttrPeer = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrPeer.setDescription("The IP address of the peer where the path\ninformation was learned.") bgp4PathAttrIpAddrPrefixLen = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrIpAddrPrefixLen.setDescription("Length in bits of the IP address prefix in\nthe Network Layer Reachability\nInformation field.") bgp4PathAttrIpAddrPrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrIpAddrPrefix.setDescription("An IP address prefix in the Network Layer\nReachability Information field. This object\n\n\n\nis an IP address containing the prefix with\nlength specified by\nbgp4PathAttrIpAddrPrefixLen.\nAny bits beyond the length specified by\nbgp4PathAttrIpAddrPrefixLen are zeroed.") bgp4PathAttrOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("igp", 1), ("egp", 2), ("incomplete", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrOrigin.setDescription("The ultimate origin of the path\ninformation.") bgp4PathAttrASPathSegment = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrASPathSegment.setDescription("The sequence of AS path segments. Each AS\npath segment is represented by a triple\n.\n\nThe type is a 1-octet field that has two\npossible values:\n 1 AS_SET: unordered set of ASes that a\n route in the UPDATE message\n has traversed\n\n 2 AS_SEQUENCE: ordered set of ASes that\n a route in the UPDATE message\n has traversed.\n\nThe length is a 1-octet field containing the\n\n\n\nnumber of ASes in the value field.\n\nThe value field contains one or more AS\nnumbers. Each AS is represented in the octet\nstring as a pair of octets according to the\nfollowing algorithm:\n\n first-byte-of-pair = ASNumber / 256;\n second-byte-of-pair = ASNumber & 255;\n\nKnown Issues:\no BGP Confederations will result in\n a type of either 3 or 4.\no An AS Path may be longer than 255 octets.\n This may result in this object containing\n a truncated AS Path.") bgp4PathAttrNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 6), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrNextHop.setDescription("The address of the border router that\nshould be used for the destination\nnetwork. This address is the NEXT_HOP\naddress received in the UPDATE packet.") bgp4PathAttrMultiExitDisc = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrMultiExitDisc.setDescription("This metric is used to discriminate\nbetween multiple exit points to an\nadjacent autonomous system. A value of -1\nindicates the absence of this attribute.\n\nKnown Issues:\no The BGP-4 specification uses an\n unsigned 32 bit number. Thus, this\n\n\n\n object cannot represent the full\n range of the protocol.") bgp4PathAttrLocalPref = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrLocalPref.setDescription("The originating BGP4 speaker's degree of\npreference for an advertised route. A\nvalue of -1 indicates the absence of this\nattribute.\n\nKnown Issues:\no The BGP-4 specification uses an\n unsigned 32 bit number and thus this\n object cannot represent the full\n range of the protocol.") bgp4PathAttrAtomicAggregate = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("lessSpecificRouteNotSelected", 1), ("lessSpecificRouteSelected", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrAtomicAggregate.setDescription("If the ATOMIC_AGGREGATE attribute is present\nin the Path Attributes then this object MUST\nhave a value of 'lessSpecificRouteNotSelected'.\n\nIf the ATOMIC_AGGREGATE attribute is missing\nin the Path Attributes then this object MUST\nhave a value of 'lessSpecificRouteSelected'.\n\nNote that ATOMIC_AGGREGATE is now a primarily\ninformational attribute.") bgp4PathAttrAggregatorAS = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrAggregatorAS.setDescription("The AS number of the last BGP4 speaker that\nperformed route aggregation. A value of\nzero (0) indicates the absence of this\nattribute.\n\nNote that propagation of AS of zero is illegal\nin the Internet.") bgp4PathAttrAggregatorAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 11), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrAggregatorAddr.setDescription("The IP address of the last BGP4 speaker\nthat performed route aggregation. A\nvalue of 0.0.0.0 indicates the absence\nof this attribute.") bgp4PathAttrCalcLocalPref = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrCalcLocalPref.setDescription("The degree of preference calculated by the\nreceiving BGP4 speaker for an advertised\nroute. A value of -1 indicates the\nabsence of this attribute.\n\nKnown Issues:\no The BGP-4 specification uses an\n unsigned 32 bit number and thus this\n object cannot represent the full\n range of the protocol.") bgp4PathAttrBest = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrBest.setDescription("An indication of whether this route\nwas chosen as the best BGP4 route for this\ndestination.") bgp4PathAttrUnknown = MibTableColumn((1, 3, 6, 1, 2, 1, 15, 6, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: bgp4PathAttrUnknown.setDescription("One or more path attributes not understood by\nthis BGP4 speaker.\n\nPath attributes are recorded in the Update Path\nattribute format of type, length, value.\n\nSize zero (0) indicates the absence of such\nattributes.\n\nOctets beyond the maximum size, if any, are not\nrecorded by this object.\n\nKnown Issues:\no Attributes understood by this speaker, but not\n represented in this MIB, are unavailable to\n the agent.") bgpTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 15, 7)) bgp4MIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 15, 8)) bgp4MIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 15, 8, 1)) bgp4MIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 15, 8, 2)) # Augmentions # Notifications bgpEstablishedNotification = NotificationType((1, 3, 6, 1, 2, 1, 15, 0, 1)).setObjects(*(("BGP4-MIB", "bgpPeerRemoteAddr"), ("BGP4-MIB", "bgpPeerState"), ("BGP4-MIB", "bgpPeerLastError"), ) ) if mibBuilder.loadTexts: bgpEstablishedNotification.setDescription("The bgpEstablishedNotification event is generated\nwhen the BGP FSM enters the established state.\n\nThis Notification replaces the bgpEstablished\nNotification.") bgpBackwardTransNotification = NotificationType((1, 3, 6, 1, 2, 1, 15, 0, 2)).setObjects(*(("BGP4-MIB", "bgpPeerRemoteAddr"), ("BGP4-MIB", "bgpPeerState"), ("BGP4-MIB", "bgpPeerLastError"), ) ) if mibBuilder.loadTexts: bgpBackwardTransNotification.setDescription("The bgpBackwardTransNotification event is\ngenerated when the BGP FSM moves from a higher\nnumbered state to a lower numbered state.\n\nThis Notification replaces the\nbgpBackwardsTransition Notification.") bgpEstablished = NotificationType((1, 3, 6, 1, 2, 1, 15, 7, 1)).setObjects(*(("BGP4-MIB", "bgpPeerState"), ("BGP4-MIB", "bgpPeerLastError"), ) ) if mibBuilder.loadTexts: bgpEstablished.setDescription("The bgpEstablished event is generated when\nthe BGP FSM enters the established state.\n\nThis Notification has been replaced by the\nbgpEstablishedNotification Notification.") bgpBackwardTransition = NotificationType((1, 3, 6, 1, 2, 1, 15, 7, 2)).setObjects(*(("BGP4-MIB", "bgpPeerState"), ("BGP4-MIB", "bgpPeerLastError"), ) ) if mibBuilder.loadTexts: bgpBackwardTransition.setDescription("The bgpBackwardTransition event is generated\nwhen the BGP FSM moves from a higher numbered\nstate to a lower numbered state.\n\nThis Notification has been replaced by the\nbgpBackwardTransNotification Notification.") # Groups bgp4MIBGlobalsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 15, 8, 2, 1)).setObjects(*(("BGP4-MIB", "bgpVersion"), ("BGP4-MIB", "bgpLocalAs"), ("BGP4-MIB", "bgpIdentifier"), ) ) if mibBuilder.loadTexts: bgp4MIBGlobalsGroup.setDescription("A collection of objects providing\ninformation on global BGP state.") bgp4MIBPeerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 15, 8, 2, 2)).setObjects(*(("BGP4-MIB", "bgpPeerKeepAlive"), ("BGP4-MIB", "bgpPeerOutUpdates"), ("BGP4-MIB", "bgpPeerRemoteAs"), ("BGP4-MIB", "bgpPeerLastError"), ("BGP4-MIB", "bgpPeerMinRouteAdvertisementInterval"), ("BGP4-MIB", "bgpPeerMinASOriginationInterval"), ("BGP4-MIB", "bgpPeerLocalPort"), ("BGP4-MIB", "bgpPeerInTotalMessages"), ("BGP4-MIB", "bgpPeerRemotePort"), ("BGP4-MIB", "bgpPeerConnectRetryInterval"), ("BGP4-MIB", "bgpPeerState"), ("BGP4-MIB", "bgpPeerInUpdateElapsedTime"), ("BGP4-MIB", "bgpPeerInUpdates"), ("BGP4-MIB", "bgpPeerAdminStatus"), ("BGP4-MIB", "bgpPeerKeepAliveConfigured"), ("BGP4-MIB", "bgpPeerOutTotalMessages"), ("BGP4-MIB", "bgpPeerHoldTime"), ("BGP4-MIB", "bgpPeerFsmEstablishedTransitions"), ("BGP4-MIB", "bgpPeerLocalAddr"), ("BGP4-MIB", "bgpPeerHoldTimeConfigured"), ("BGP4-MIB", "bgpPeerRemoteAddr"), ("BGP4-MIB", "bgpPeerIdentifier"), ("BGP4-MIB", "bgpPeerFsmEstablishedTime"), ("BGP4-MIB", "bgpPeerNegotiatedVersion"), ) ) if mibBuilder.loadTexts: bgp4MIBPeerGroup.setDescription("A collection of objects for managing\nBGP peers.") bgpRcvdPathAttrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 15, 8, 2, 3)).setObjects(*(("BGP4-MIB", "bgpPathAttrInterASMetric"), ("BGP4-MIB", "bgpPathAttrPeer"), ("BGP4-MIB", "bgpPathAttrOrigin"), ("BGP4-MIB", "bgpPathAttrDestNetwork"), ("BGP4-MIB", "bgpPathAttrASPath"), ("BGP4-MIB", "bgpPathAttrNextHop"), ) ) if mibBuilder.loadTexts: bgpRcvdPathAttrGroup.setDescription("A collection of objects for managing BGP-3 and\nearlier path entries.\n\nThis conformance group, like BGP-3, is obsolete.") bgp4MIBPathAttrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 15, 8, 2, 4)).setObjects(*(("BGP4-MIB", "bgp4PathAttrMultiExitDisc"), ("BGP4-MIB", "bgp4PathAttrAtomicAggregate"), ("BGP4-MIB", "bgp4PathAttrBest"), ("BGP4-MIB", "bgp4PathAttrOrigin"), ("BGP4-MIB", "bgp4PathAttrPeer"), ("BGP4-MIB", "bgp4PathAttrIpAddrPrefix"), ("BGP4-MIB", "bgp4PathAttrNextHop"), ("BGP4-MIB", "bgp4PathAttrASPathSegment"), ("BGP4-MIB", "bgp4PathAttrIpAddrPrefixLen"), ("BGP4-MIB", "bgp4PathAttrUnknown"), ("BGP4-MIB", "bgp4PathAttrLocalPref"), ("BGP4-MIB", "bgp4PathAttrAggregatorAddr"), ("BGP4-MIB", "bgp4PathAttrAggregatorAS"), ("BGP4-MIB", "bgp4PathAttrCalcLocalPref"), ) ) if mibBuilder.loadTexts: bgp4MIBPathAttrGroup.setDescription("A collection of objects for managing\nBGP path entries.") bgp4MIBTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 15, 8, 2, 5)).setObjects(*(("BGP4-MIB", "bgpBackwardTransition"), ("BGP4-MIB", "bgpEstablished"), ) ) if mibBuilder.loadTexts: bgp4MIBTrapGroup.setDescription("A collection of notifications for signaling\nchanges in BGP peer relationships.\n\nObsoleted by bgp4MIBNotificationGroup") bgp4MIBNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 15, 8, 2, 6)).setObjects(*(("BGP4-MIB", "bgpEstablishedNotification"), ("BGP4-MIB", "bgpBackwardTransNotification"), ) ) if mibBuilder.loadTexts: bgp4MIBNotificationGroup.setDescription("A collection of notifications for signaling\nchanges in BGP peer relationships.\n\nObsoletes bgp4MIBTrapGroup.") # Compliances bgp4MIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 15, 8, 1, 1)).setObjects(*(("BGP4-MIB", "bgp4MIBPeerGroup"), ("BGP4-MIB", "bgp4MIBGlobalsGroup"), ("BGP4-MIB", "bgp4MIBNotificationGroup"), ("BGP4-MIB", "bgp4MIBPathAttrGroup"), ) ) if mibBuilder.loadTexts: bgp4MIBCompliance.setDescription("The compliance statement for entities which\nimplement the BGP4 mib.") bgp4MIBDeprecatedCompliances = ModuleCompliance((1, 3, 6, 1, 2, 1, 15, 8, 1, 2)).setObjects(*(("BGP4-MIB", "bgp4MIBTrapGroup"), ) ) if mibBuilder.loadTexts: bgp4MIBDeprecatedCompliances.setDescription("The compliance statement documenting deprecated\nobjects in the BGP4 mib.") bgp4MIBObsoleteCompliances = ModuleCompliance((1, 3, 6, 1, 2, 1, 15, 8, 1, 3)).setObjects(*(("BGP4-MIB", "bgpRcvdPathAttrGroup"), ) ) if mibBuilder.loadTexts: bgp4MIBObsoleteCompliances.setDescription("The compliance statement documenting obsolete\nobjects in the BGP4 mib.") # Exports # Module identity mibBuilder.exportSymbols("BGP4-MIB", PYSNMP_MODULE_ID=bgp) # Objects mibBuilder.exportSymbols("BGP4-MIB", bgp=bgp, bgpNotification=bgpNotification, bgpVersion=bgpVersion, bgpLocalAs=bgpLocalAs, bgpPeerTable=bgpPeerTable, bgpPeerEntry=bgpPeerEntry, bgpPeerIdentifier=bgpPeerIdentifier, bgpPeerState=bgpPeerState, bgpPeerAdminStatus=bgpPeerAdminStatus, bgpPeerNegotiatedVersion=bgpPeerNegotiatedVersion, bgpPeerLocalAddr=bgpPeerLocalAddr, bgpPeerLocalPort=bgpPeerLocalPort, bgpPeerRemoteAddr=bgpPeerRemoteAddr, bgpPeerRemotePort=bgpPeerRemotePort, bgpPeerRemoteAs=bgpPeerRemoteAs, bgpPeerInUpdates=bgpPeerInUpdates, bgpPeerOutUpdates=bgpPeerOutUpdates, bgpPeerInTotalMessages=bgpPeerInTotalMessages, bgpPeerOutTotalMessages=bgpPeerOutTotalMessages, bgpPeerLastError=bgpPeerLastError, bgpPeerFsmEstablishedTransitions=bgpPeerFsmEstablishedTransitions, bgpPeerFsmEstablishedTime=bgpPeerFsmEstablishedTime, bgpPeerConnectRetryInterval=bgpPeerConnectRetryInterval, bgpPeerHoldTime=bgpPeerHoldTime, bgpPeerKeepAlive=bgpPeerKeepAlive, bgpPeerHoldTimeConfigured=bgpPeerHoldTimeConfigured, bgpPeerKeepAliveConfigured=bgpPeerKeepAliveConfigured, bgpPeerMinASOriginationInterval=bgpPeerMinASOriginationInterval, bgpPeerMinRouteAdvertisementInterval=bgpPeerMinRouteAdvertisementInterval, bgpPeerInUpdateElapsedTime=bgpPeerInUpdateElapsedTime, bgpIdentifier=bgpIdentifier, bgpRcvdPathAttrTable=bgpRcvdPathAttrTable, bgpPathAttrEntry=bgpPathAttrEntry, bgpPathAttrPeer=bgpPathAttrPeer, bgpPathAttrDestNetwork=bgpPathAttrDestNetwork, bgpPathAttrOrigin=bgpPathAttrOrigin, bgpPathAttrASPath=bgpPathAttrASPath, bgpPathAttrNextHop=bgpPathAttrNextHop, bgpPathAttrInterASMetric=bgpPathAttrInterASMetric, bgp4PathAttrTable=bgp4PathAttrTable, bgp4PathAttrEntry=bgp4PathAttrEntry, bgp4PathAttrPeer=bgp4PathAttrPeer, bgp4PathAttrIpAddrPrefixLen=bgp4PathAttrIpAddrPrefixLen, bgp4PathAttrIpAddrPrefix=bgp4PathAttrIpAddrPrefix, bgp4PathAttrOrigin=bgp4PathAttrOrigin, bgp4PathAttrASPathSegment=bgp4PathAttrASPathSegment, bgp4PathAttrNextHop=bgp4PathAttrNextHop, bgp4PathAttrMultiExitDisc=bgp4PathAttrMultiExitDisc, bgp4PathAttrLocalPref=bgp4PathAttrLocalPref, bgp4PathAttrAtomicAggregate=bgp4PathAttrAtomicAggregate, bgp4PathAttrAggregatorAS=bgp4PathAttrAggregatorAS, bgp4PathAttrAggregatorAddr=bgp4PathAttrAggregatorAddr, bgp4PathAttrCalcLocalPref=bgp4PathAttrCalcLocalPref, bgp4PathAttrBest=bgp4PathAttrBest, bgp4PathAttrUnknown=bgp4PathAttrUnknown, bgpTraps=bgpTraps, bgp4MIBConformance=bgp4MIBConformance, bgp4MIBCompliances=bgp4MIBCompliances, bgp4MIBGroups=bgp4MIBGroups) # Notifications mibBuilder.exportSymbols("BGP4-MIB", bgpEstablishedNotification=bgpEstablishedNotification, bgpBackwardTransNotification=bgpBackwardTransNotification, bgpEstablished=bgpEstablished, bgpBackwardTransition=bgpBackwardTransition) # Groups mibBuilder.exportSymbols("BGP4-MIB", bgp4MIBGlobalsGroup=bgp4MIBGlobalsGroup, bgp4MIBPeerGroup=bgp4MIBPeerGroup, bgpRcvdPathAttrGroup=bgpRcvdPathAttrGroup, bgp4MIBPathAttrGroup=bgp4MIBPathAttrGroup, bgp4MIBTrapGroup=bgp4MIBTrapGroup, bgp4MIBNotificationGroup=bgp4MIBNotificationGroup) # Compliances mibBuilder.exportSymbols("BGP4-MIB", bgp4MIBCompliance=bgp4MIBCompliance, bgp4MIBDeprecatedCompliances=bgp4MIBDeprecatedCompliances, bgp4MIBObsoleteCompliances=bgp4MIBObsoleteCompliances) pysnmp-mibs-0.1.3/pysnmp_mibs/HPR-IP-MIB.py0000644000014400001440000003530411736645136020401 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HPR-IP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:04 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( SnaControlPointName, ) = mibBuilder.importSymbols("APPN-MIB", "SnaControlPointName") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( hprCompliances, hprGroups, hprObjects, ) = mibBuilder.importSymbols("HPR-MIB", "hprCompliances", "hprGroups", "hprObjects") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( DisplayString, RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention") # Types class AppnTrafficType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,5,4,) namedValues = NamedValues(("low", 1), ("medium", 2), ("high", 3), ("network", 4), ("llcAndFnRoutedNlp", 5), ) class AppnTOSPrecedence(DisplayString): subtypeSpec = DisplayString.subtypeSpec+ValueSizeConstraint(3,3) fixedLength = 3 # Objects hprIp = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 6, 1, 5)).setRevisions(("1998-09-24 00:00",)) if mibBuilder.loadTexts: hprIp.setOrganization("IETF SNA NAU MIB WG / AIW APPN MIBs SIG") if mibBuilder.loadTexts: hprIp.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: hprIp.setDescription("The MIB module for HPR over IP. This module contains two\ngroups:\n\n - the HPR over IP Monitoring Group provides a count of the UDP\n packets sent by a link station for each APPN traffic type.\n\n - the HPR over IP Configuration Group provides for reading and\n setting the mappings between APPN traffic types and TOS\n Precedence settings in the IP header. These mappings are\n configured at the APPN port level, and are inherited by the\n APPN connection networks and link stations associated with an\n APPN port. A port-level mapping can, however, be overridden\n for a particular connection network or link station.") hprIpActiveLsTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 1)) if mibBuilder.loadTexts: hprIpActiveLsTable.setDescription("The HPR/IP active link station table. This table provides\ncounts of the number of UDP packets sent for each APPN\ntraffic type.") hprIpActiveLsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 1, 1)).setIndexNames((0, "HPR-IP-MIB", "hprIpActiveLsLsName"), (0, "HPR-IP-MIB", "hprIpActiveLsAppnTrafficType")) if mibBuilder.loadTexts: hprIpActiveLsEntry.setDescription("Entry of the HPR/IP link station table.") hprIpActiveLsLsName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpActiveLsLsName.setDescription("Administratively assigned name for the link station. If this\nobject has the same value as the appnLsName in the APPN MIB,\nthen the two objects are referring to the same APPN link\nstation.") hprIpActiveLsAppnTrafficType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 1, 1, 2), AppnTrafficType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpActiveLsAppnTrafficType.setDescription("APPN traffic type being sent through the link station.") hprIpActiveLsUdpPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hprIpActiveLsUdpPackets.setDescription("The count of outgoing UDP packets carrying this type of APPN\ntraffic. A discontinuity in the counter is indicated by the\nappnLsCounterDisconTime object in the APPN MIB.") hprIpAppnPortTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 2)) if mibBuilder.loadTexts: hprIpAppnPortTable.setDescription("The HPR/IP APPN port table. This table supports reading and\nsetting the mapping between APPN traffic types and TOS\nPrecedence settings for all the link stations at this APPN\nport. This mapping can be overridden for an individual link\nstation or an individual connection network via, respectively,\nthe hprIpLsTOSPrecedence and the hprIpCnTOSPrecedence objects.") hprIpAppnPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 2, 1)).setIndexNames((0, "HPR-IP-MIB", "hprIpAppnPortName"), (0, "HPR-IP-MIB", "hprIpAppnPortAppnTrafficType")) if mibBuilder.loadTexts: hprIpAppnPortEntry.setDescription("Entry of the HPR/IP APPN port table. Entries exist for\nevery APPN port defined to support HPR over IP.") hprIpAppnPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpAppnPortName.setDescription("Administratively assigned name for this APPN port. If this\nobject has the same value as the appnPortName in the APPN MIB,\nthen the two objects are referring to the same APPN port.") hprIpAppnPortAppnTrafficType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 2, 1, 2), AppnTrafficType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpAppnPortAppnTrafficType.setDescription("APPN traffic type sent through the port.") hprIpAppnPortTOSPrecedence = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 2, 1, 3), AppnTOSPrecedence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hprIpAppnPortTOSPrecedence.setDescription("A setting for the three TOS Precedence bits in the IP Type of\nService field for this APPN traffic type.\n\nWhen this value is changed via a Set operation, the new setting\nfor the TOS Precedence bits takes effect immediately, rather\nthan waiting for some event such as reinitialization of the\nport or of the APPN node itself.") hprIpLsTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 3)) if mibBuilder.loadTexts: hprIpLsTable.setDescription("The HPR/IP link station table. Values for TOS Precedence at\nthe link station level override those at the level of the\ncontaining port. If there is no entry in this table for a\ngiven link station, then that link station inherits its TOS\nPrecedence values from its port.") hprIpLsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 3, 1)).setIndexNames((0, "HPR-IP-MIB", "hprIpLsLsName"), (0, "HPR-IP-MIB", "hprIpLsAppnTrafficType")) if mibBuilder.loadTexts: hprIpLsEntry.setDescription("Entry of the HPR/IP link station table.") hprIpLsLsName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 3, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpLsLsName.setDescription("Administratively assigned name for the link station. If this\nobject has the same value as the appnLsName in the APPN MIB,\nthen the two objects are referring to the same APPN link\nstation.") hprIpLsAppnTrafficType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 3, 1, 2), AppnTrafficType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpLsAppnTrafficType.setDescription("APPN traffic type sent through the link station.") hprIpLsTOSPrecedence = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 3, 1, 3), AppnTOSPrecedence()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hprIpLsTOSPrecedence.setDescription("A setting for the three TOS Precedence bits in the IP Type of\nService field for this APPN traffic type.\n\nWhen this value is changed via a Set operation, the new setting\nfor the TOS Precedence bits takes effect immediately, rather\nthan waiting for some event such as reinitialization of the\nport or of the APPN node itself.") hprIpLsRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hprIpLsRowStatus.setDescription("This object allows entries to be created and deleted in the\nhprIpLsTable. As soon as an entry becomes active, the mapping\nbetween APPN traffic types and TOS Precedence settings that it\nspecifies becomes effective.\n\nThe value of the other accessible object in this entry,\nhprIpLsTOSPrecedence, can be changed via a Set operation when\nthis object's value is active(1).\n\nAn entry in this table is deleted by setting this object to\ndestroy(6). Deleting an entry in this table causes the\nlink station to revert to the default TOS Precedence\nmapping for its port.") hprIpCnTable = MibTable((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 4)) if mibBuilder.loadTexts: hprIpCnTable.setDescription("The HPR/IP connection network table. Values for TOS\nPrecedence at the connection network level override those at\nthe level of the containing port. If there is no entry in\nthis table for a given connection network, then that\nconnection network inherits its TOS Precedence values from\nits port.\n\nA node may have connections to a given connection network\nthrough multiple ports. There is no provision in the HPR-IP\narchitecture for variations in TOS Precedence values for\na single connection network based on the port through which\ntraffic is flowing to the connection network. Thus an entry\nin this table overrides the port-level settings for all the\nports through which the node can reach the connection\nnetwork.") hprIpCnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 4, 1)).setIndexNames((0, "HPR-IP-MIB", "hprIpCnVrnName"), (0, "HPR-IP-MIB", "hprIpCnAppnTrafficType")) if mibBuilder.loadTexts: hprIpCnEntry.setDescription("Entry of the HPR/IP connection network table.") hprIpCnVrnName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 4, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpCnVrnName.setDescription("SNA control point name of the virtual routing node (VRN) that\nidentifies the connection network in the APPN topology\ndatabase. If this object has the same value as the appnVrnName\nin the APPN MIB, then the two objects are referring\nto the same APPN VRN.") hprIpCnAppnTrafficType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 4, 1, 2), AppnTrafficType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hprIpCnAppnTrafficType.setDescription("APPN traffic type sent to this connection network.") hprIpCnTOSPrecedence = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 4, 1, 3), AppnTOSPrecedence()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hprIpCnTOSPrecedence.setDescription("A setting for the three TOS Precedence bits in the IP Type of\nService field for this APPN traffic type. This setting applies\nto all traffic sent to this connection network by this node,\nregardless of the port through which the traffic is sent.\n\nWhen this value is changed via a Set operation, the new setting\nfor the TOS Precedence bits takes effect immediately, rather\nthan waiting for some event such as reinitialization of a\nport or of the APPN node itself.") hprIpCnRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 6, 1, 5, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hprIpCnRowStatus.setDescription("This object allows entries to be created and deleted in the\nhprIpCnTable. As soon as an entry becomes active, the mapping\nbetween APPN traffic types and TOS Precedence settings that it\nspecifies becomes effective.\n\nThe value of the other accessible object in this entry,\nhprIpCnTOSPrecedence, can be changed via a Set operation when\nthis object's value is active(1).\n\nAn entry in this table is deleted by setting this object to\ndestroy(6). Deleting an entry in this table causes the\nconnection network to revert to the default TOS Precedence\nmapping for each port through which it is accessed.") # Augmentions # Groups hprIpMonitoringGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 6, 2, 2, 5)).setObjects(*(("HPR-IP-MIB", "hprIpActiveLsUdpPackets"), ) ) if mibBuilder.loadTexts: hprIpMonitoringGroup.setDescription("An object for counting outgoing HPR/IP traffic for each APPN\ntraffic type.") hprIpConfigurationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 6, 2, 2, 6)).setObjects(*(("HPR-IP-MIB", "hprIpLsTOSPrecedence"), ("HPR-IP-MIB", "hprIpCnTOSPrecedence"), ("HPR-IP-MIB", "hprIpAppnPortTOSPrecedence"), ("HPR-IP-MIB", "hprIpLsRowStatus"), ("HPR-IP-MIB", "hprIpCnRowStatus"), ) ) if mibBuilder.loadTexts: hprIpConfigurationGroup.setDescription("A collection of HPR/IP objects representing the mappings\nbetween APPN traffic types and TOS Precedence bits at the APPN\nport, APPN link station, and APPN connection network levels.") # Compliances hprIpCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 6, 2, 1, 2)).setObjects(*(("HPR-IP-MIB", "hprIpMonitoringGroup"), ("HPR-IP-MIB", "hprIpConfigurationGroup"), ) ) if mibBuilder.loadTexts: hprIpCompliance.setDescription("Compliance statement for the HPR over IP MIB module.") # Exports # Module identity mibBuilder.exportSymbols("HPR-IP-MIB", PYSNMP_MODULE_ID=hprIp) # Types mibBuilder.exportSymbols("HPR-IP-MIB", AppnTrafficType=AppnTrafficType, AppnTOSPrecedence=AppnTOSPrecedence) # Objects mibBuilder.exportSymbols("HPR-IP-MIB", hprIp=hprIp, hprIpActiveLsTable=hprIpActiveLsTable, hprIpActiveLsEntry=hprIpActiveLsEntry, hprIpActiveLsLsName=hprIpActiveLsLsName, hprIpActiveLsAppnTrafficType=hprIpActiveLsAppnTrafficType, hprIpActiveLsUdpPackets=hprIpActiveLsUdpPackets, hprIpAppnPortTable=hprIpAppnPortTable, hprIpAppnPortEntry=hprIpAppnPortEntry, hprIpAppnPortName=hprIpAppnPortName, hprIpAppnPortAppnTrafficType=hprIpAppnPortAppnTrafficType, hprIpAppnPortTOSPrecedence=hprIpAppnPortTOSPrecedence, hprIpLsTable=hprIpLsTable, hprIpLsEntry=hprIpLsEntry, hprIpLsLsName=hprIpLsLsName, hprIpLsAppnTrafficType=hprIpLsAppnTrafficType, hprIpLsTOSPrecedence=hprIpLsTOSPrecedence, hprIpLsRowStatus=hprIpLsRowStatus, hprIpCnTable=hprIpCnTable, hprIpCnEntry=hprIpCnEntry, hprIpCnVrnName=hprIpCnVrnName, hprIpCnAppnTrafficType=hprIpCnAppnTrafficType, hprIpCnTOSPrecedence=hprIpCnTOSPrecedence, hprIpCnRowStatus=hprIpCnRowStatus) # Groups mibBuilder.exportSymbols("HPR-IP-MIB", hprIpMonitoringGroup=hprIpMonitoringGroup, hprIpConfigurationGroup=hprIpConfigurationGroup) # Compliances mibBuilder.exportSymbols("HPR-IP-MIB", hprIpCompliance=hprIpCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/COPS-CLIENT-MIB.py0000644000014400001440000007164611736645135021172 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python COPS-CLIENT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:46 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TextualConvention, TimeInterval, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeInterval", "TimeStamp") # Types class CopsAuthType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,0,3,5,1,) namedValues = NamedValues(("authNone", 0), ("authOther", 1), ("authIpSecAh", 2), ("authIpSecEsp", 3), ("authTls", 4), ("authCopsIntegrity", 5), ) class CopsClientState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,1,6,3,5,) namedValues = NamedValues(("copsClientInvalid", 1), ("copsClientTcpconnected", 2), ("copsClientAuthenticating", 3), ("copsClientSecAccepted", 4), ("copsClientAccepted", 5), ("copsClientTimingout", 6), ) class CopsErrorCode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,14,12,6,7,5,15,1,3,11,0,4,8,10,9,13,) namedValues = NamedValues(("errorOther", 0), ("errorBadHandle", 1), ("errorUnspecified", 10), ("errorShuttingDown", 11), ("errorRedirectToPreferredServer", 12), ("errorUnknownCopsObject", 13), ("errorAuthenticationFailure", 14), ("errorAuthenticationMissing", 15), ("errorInvalidHandleReference", 2), ("errorBadMessageFormat", 3), ("errorUnableToProcess", 4), ("errorMandatoryClientSiMissing", 5), ("errorUnsupportedClientType", 6), ("errorMandatoryCopsObjectMissing", 7), ("errorClientFailure", 8), ("errorCommunicationFailure", 9), ) class CopsServerEntryType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("copsServerStatic", 1), ("copsServerRedirect", 2), ) class CopsTcpPort(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) # Objects copsClientMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 89)).setRevisions(("2000-09-28 00:00",)) if mibBuilder.loadTexts: copsClientMIB.setOrganization("IETF RSVP Admission Policy Working Group") if mibBuilder.loadTexts: copsClientMIB.setContactInfo(" Andrew Smith (WG co-chair)\nPhone: +1 408 579 2821\nEmail: ah_smith@pacbell.net\n\n Mark Stevens (WG co-chair)\nPhone: +1 978 287 9102\nEmail: markstevens@lucent.com\n\nEditor: Andrew Smith\nPhone: +1 408 579 2821\nEmail: ah_smith@pacbell.net\n\nEditor: David Partain\nPhone: +46 13 28 41 44\nEmail: David.Partain@ericsson.com\n\nEditor: John Seligson\nPhone: +1 408 495 2992\nEmail: jseligso@nortelnetworks.com") if mibBuilder.loadTexts: copsClientMIB.setDescription("The COPS Client MIB module") copsClientMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 89, 1)) copsClientCapabilitiesGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 89, 1, 1)) copsClientCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 89, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("copsClientVersion1", 0), ("copsClientAuthIpSecAh", 1), ("copsClientAuthIpSecEsp", 2), ("copsClientAuthTls", 3), ("copsClientAuthInteg", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientCapabilities.setDescription("A list of the optional capabilities that this COPS client\nsupports.") copsClientStatusGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 89, 1, 2)) copsClientServerCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 89, 1, 2, 1)) if mibBuilder.loadTexts: copsClientServerCurrentTable.setDescription("A table of information regarding COPS servers as seen from the\npoint of view of a COPS client. This table contains entries\nfor both statically-configured and dynamically-learned servers\n(from a PDP Redirect operation). One entry exists in this table\nfor each COPS Client-Type served by the COPS server. In addition,\nan entry will exist with copsClientServerClientType 0 (zero)\nrepresenting information about the underlying connection itself:\nthis is consistent with the COPS specification which reserves\nthis value for this purpose.") copsClientServerCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1)).setIndexNames((0, "COPS-CLIENT-MIB", "copsClientServerAddressType"), (0, "COPS-CLIENT-MIB", "copsClientServerAddress"), (0, "COPS-CLIENT-MIB", "copsClientServerClientType")) if mibBuilder.loadTexts: copsClientServerCurrentEntry.setDescription("A set of information regarding a single COPS server serving\na single COPS Client-Type from the point of view of a COPS\nclient.") copsClientServerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: copsClientServerAddressType.setDescription("The type of address in copsClientServerAddress.") copsClientServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: copsClientServerAddress.setDescription("The IPv4, IPv6 or DNS address of a COPS Server. Note that,\nsince this is an index to the table, the DNS name must be\nshort enough to fit into the maximum length of indices allowed\nby the management protocol in use.") copsClientServerClientType = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: copsClientServerClientType.setDescription("The COPS protocol Client-Type for which this entry\napplies. Multiple Client-Types can be served by a single\nCOPS server. The value 0 (zero) indicates that this\nentry contains information about the underlying connection\nitself.") copsClientServerTcpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 4), CopsTcpPort()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientServerTcpPort.setDescription("The TCP port number on the COPS server to which the\nclient should connect/is connected.") copsClientServerType = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 5), CopsServerEntryType()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientServerType.setDescription("Indicator of the source of this COPS server information.\nCOPS servers may be configured by network management\ninto copsClientServerConfigTable and appear in this entry\nwith type copsServerStatic(1). Alternatively, the may be\nnotified from another COPS server by means of the COPS\nPDP-Redirect mechanism and appear as copsServerRedirect(2).") copsClientServerAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 6), CopsAuthType()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientServerAuthType.setDescription("Indicator of the current security mode in use between\nclient and this COPS server.") copsClientServerLastConnAttempt = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientServerLastConnAttempt.setDescription("Timestamp of the last time that this client attempted to\nconnect to this COPS server.") copsClientState = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 8), CopsClientState()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientState.setDescription("The state of the connection and COPS protocol with respect\n\n\nto this COPS server.") copsClientServerKeepaliveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 9), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientServerKeepaliveTime.setDescription("The value of the COPS protocol Keepalive timeout, in\ncentiseconds, currently in use by this client, as\nspecified by this COPS server in the Client-Accept operation.\nA value of zero indicates no keepalive activity is expected.") copsClientServerAccountingTime = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 10), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientServerAccountingTime.setDescription("The value of the COPS protocol Accounting timeout, in\ncentiseconds, currently in use by this client, as specified\nby the COPS server in the Client-Accept operation. A value\nof zero indicates no accounting activity is to be performed.") copsClientInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientInPkts.setDescription("A count of the total number of COPS messages that this client\nhas received from this COPS server marked for this Client-Type.\nThis value is cumulative since agent restart and is not zeroed\non new connections.") copsClientOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientOutPkts.setDescription("A count of the total number of COPS messages that this client\nhas sent to this COPS server marked for this Client-Type. This\nvalue is cumulative since agent restart and is not zeroed on new\n\n\nconnections.") copsClientInErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientInErrs.setDescription("A count of the total number of COPS messages that this client\nhas received from this COPS server marked for this Client-Type\nthat contained errors in syntax. This value is cumulative since\nagent restart and is not zeroed on new connections.") copsClientLastError = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 14), CopsErrorCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientLastError.setDescription("The code contained in the last COPS protocol Error Object\nreceived by this client from this COPS server marked for this\nClient-Type. This value is not zeroed on COPS Client-Open\noperations.") copsClientTcpConnectAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientTcpConnectAttempts.setDescription("A count of the number of times that this COPS client has tried\n(successfully or otherwise) to open an TCP connection to a COPS\nserver. This value is cumulative since agent restart and is not\nzeroed on new connections. This value is not incremented for\nentries representing a non-zero Client-Type.") copsClientTcpConnectFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientTcpConnectFailures.setDescription("A count of the number of times that this COPS client has failed\nto open an TCP connection to a COPS server. This value is\ncumulative since agent restart and is not zeroed on new\nconnections. This value is not incremented for\n\n\nentries representing a non-zero Client-Type.") copsClientOpenAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientOpenAttempts.setDescription("A count of the number of times that this COPS client has tried\nto perform a COPS Client-Open to a COPS server for this\nClient-Type. This value is cumulative since agent restart and is\nnot zeroed on new connections.") copsClientOpenFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientOpenFailures.setDescription("A count of the number of times that this COPS client has failed\nto perform a COPS Client-Open to a COPS server for this\nClient-Type. This value is cumulative since agent restart and is\nnot zeroed on new connections.") copsClientErrUnsupportClienttype = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrUnsupportClienttype.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers that referred to Client-Types\nthat are unsupported by this client. This value is cumulative\nsince agent restart and is not zeroed on new connections. This\nvalue is not incremented for entries representing a non-zero\nClient-Type.") copsClientErrUnsupportedVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrUnsupportedVersion.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers marked for this Client-Type that\nhad a COPS protocol Version number that is unsupported by this\nclient. This value is cumulative since agent restart and is not\nzeroed on new connections.") copsClientErrLengthMismatch = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrLengthMismatch.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers marked for this Client-Type that\nhad a COPS protocol Message Length that did not match the actual\nreceived message. This value is cumulative since agent restart\nand is not zeroed on new connections.") copsClientErrUnknownOpcode = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrUnknownOpcode.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers marked for this Client-Type that\nhad a COPS protocol Op Code that was unrecognised by this\nclient. This value is cumulative since agent restart and is not\nzeroed on new connections.") copsClientErrUnknownCnum = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrUnknownCnum.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers marked for this Client-Type that\ncontained a COPS protocol object C-Num that was unrecognised by\nthis client. This value is cumulative since agent restart and is\nnot zeroed on new connections.") copsClientErrBadCtype = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrBadCtype.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers marked for this Client-Type that\ncontained a COPS protocol object C-Type that was not defined for\nthe C-Nums known by this client. This value is cumulative since\nagent restart and is not zeroed on new connections.") copsClientErrBadSends = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrBadSends.setDescription("A count of the total number of COPS messages that this client\nattempted to send to COPS servers marked for this Client-Type\nthat resulted in a transmit error. This value is cumulative\nsince agent restart and is not zeroed on new connections.") copsClientErrWrongObjects = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrWrongObjects.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers marked for this Client-Type that\ndid not contain a permitted set of COPS protocol objects. This\nvalue is cumulative since agent restart and is not zeroed on new\nconnections.") copsClientErrWrongOpcode = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrWrongOpcode.setDescription("A count of the total number of COPS messages that this client\nhas received from COPS servers marked for this Client-Type that\nhad a COPS protocol Op Code that should not have been sent to a\nCOPS client e.g. Open-Requests. This value is cumulative since\nagent restart and is not zeroed on new connections.") copsClientKaTimedoutClients = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientKaTimedoutClients.setDescription("A count of the total number of times that this client has\nbeen shut down for this Client-Type by COPS servers that had\ndetected a COPS protocol Keepalive timeout. This value is\ncumulative since agent restart and is not zeroed on new\nconnections.") copsClientErrAuthFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrAuthFailures.setDescription("A count of the total number of times that this client has\nreceived a COPS message marked for this Client-Type which\ncould not be authenticated using the authentication mechanism\nused by this client.") copsClientErrAuthMissing = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 2, 1, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: copsClientErrAuthMissing.setDescription("A count of the total number of times that this client has\nreceived a COPS message marked for this Client-Type which did not\ncontain authentication information.") copsClientConfigGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 89, 1, 3)) copsClientServerConfigTable = MibTable((1, 3, 6, 1, 2, 1, 89, 1, 3, 1)) if mibBuilder.loadTexts: copsClientServerConfigTable.setDescription("Table of possible COPS servers to try to connect to in order\nof copsClientServerConfigPriority. There may be multiple\nentries in this table for the same server and client-type which\nspecify different security mechanisms: these mechanisms will\nbe attempted by the client in the priority order given. Note\nthat a server learned by means of PDPRedirect always takes\npriority over any of these configured entries.") copsClientServerConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1)).setIndexNames((0, "COPS-CLIENT-MIB", "copsClientServerConfigAddrType"), (0, "COPS-CLIENT-MIB", "copsClientServerConfigAddress"), (0, "COPS-CLIENT-MIB", "copsClientServerConfigClientType"), (0, "COPS-CLIENT-MIB", "copsClientServerConfigAuthType")) if mibBuilder.loadTexts: copsClientServerConfigEntry.setDescription("A set of configuration information regarding a single\n\n\nCOPS server from the point of view of a COPS client.") copsClientServerConfigAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: copsClientServerConfigAddrType.setDescription("The type of address in copsClientServerConfigAddress.") copsClientServerConfigAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: copsClientServerConfigAddress.setDescription("The IPv4, IPv6 or DNS address of a COPS Server. Note that,\nsince this is an index to the table, the DNS name must be\nshort enough to fit into the maximum length of indices allowed\nby the management protocol in use.") copsClientServerConfigClientType = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: copsClientServerConfigClientType.setDescription("The COPS protocol Client-Type for which this entry\napplies and for which this COPS server is capable\nof serving. Multiple Client-Types can be served by a\nsingle COPS server.") copsClientServerConfigAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1, 4), CopsAuthType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: copsClientServerConfigAuthType.setDescription("The type of authentication mechanism for this COPS client\nto request when negotiating security at the start of a\nconnection to a COPS server.") copsClientServerConfigTcpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1, 5), CopsTcpPort()).setMaxAccess("readcreate") if mibBuilder.loadTexts: copsClientServerConfigTcpPort.setDescription("The TCP port number on the COPS server to which the\nclient should connect.") copsClientServerConfigPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1, 6), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: copsClientServerConfigPriority.setDescription("The priority of this entry relative to other entries.\nCOPS client will attempt to contact COPS servers for the\nappropriate Client-Type. Higher numbers are tried first. The\norder to be used amongst server entries with the same priority\nis undefined. COPS servers that are notified to the client using\nthe COPS protocol PDP-Redirect mechanism are always used in\npreference to any entries in this table.") copsClientServerConfigRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 89, 1, 3, 1, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: copsClientServerConfigRowStatus.setDescription("State of this entry in the table.") copsClientServerConfigRetryAlgrm = MibScalar((1, 3, 6, 1, 2, 1, 89, 1, 3, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("sequential", 2), ("roundRobin", 3), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: copsClientServerConfigRetryAlgrm.setDescription("The algorithm by which the client should retry when it\nfails to connect to a COPS server.") copsClientServerConfigRetryCount = MibScalar((1, 3, 6, 1, 2, 1, 89, 1, 3, 3), Unsigned32().clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: copsClientServerConfigRetryCount.setDescription("A retry count for use by the retry algorithm. Each retry\nalgorithm needs to specify how it uses this value.\n\nFor the 'sequential(2)' algorithm, this value is the\nnumber of times the client should retry to connect\nto one COPS server before moving on to another.\nFor the 'roundRobin(3)' algorithm, this value is not used.") copsClientServerConfigRetryIntvl = MibScalar((1, 3, 6, 1, 2, 1, 89, 1, 3, 4), TimeInterval().clone('1000')).setMaxAccess("readwrite").setUnits("centi-seconds") if mibBuilder.loadTexts: copsClientServerConfigRetryIntvl.setDescription("A retry interval for use by the retry algorithm. Each retry\nalgorithm needs to specify how it uses this value.\n\nFor the 'sequential(2)' algorithm, this value is the time to\nwait between retries of a connection to the same COPS server.\n\nFor the 'roundRobin(3)' algorithm, the client always attempts\nto connect to each Server in turn, until one succeeds or they\nall fail; if they all fail, then the client waits for the value\nof this interval before restarting the algorithm.") copsClientConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 89, 2)) copsClientGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 89, 2, 1)) copsClientCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 89, 2, 2)) # Augmentions # Groups copsDeviceStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 89, 2, 1, 1)).setObjects(*(("COPS-CLIENT-MIB", "copsClientOutPkts"), ("COPS-CLIENT-MIB", "copsClientServerType"), ("COPS-CLIENT-MIB", "copsClientErrAuthFailures"), ("COPS-CLIENT-MIB", "copsClientErrUnknownCnum"), ("COPS-CLIENT-MIB", "copsClientErrLengthMismatch"), ("COPS-CLIENT-MIB", "copsClientServerKeepaliveTime"), ("COPS-CLIENT-MIB", "copsClientServerLastConnAttempt"), ("COPS-CLIENT-MIB", "copsClientErrAuthMissing"), ("COPS-CLIENT-MIB", "copsClientInErrs"), ("COPS-CLIENT-MIB", "copsClientTcpConnectFailures"), ("COPS-CLIENT-MIB", "copsClientErrUnknownOpcode"), ("COPS-CLIENT-MIB", "copsClientTcpConnectAttempts"), ("COPS-CLIENT-MIB", "copsClientErrBadCtype"), ("COPS-CLIENT-MIB", "copsClientOpenFailures"), ("COPS-CLIENT-MIB", "copsClientLastError"), ("COPS-CLIENT-MIB", "copsClientServerAuthType"), ("COPS-CLIENT-MIB", "copsClientErrWrongObjects"), ("COPS-CLIENT-MIB", "copsClientInPkts"), ("COPS-CLIENT-MIB", "copsClientCapabilities"), ("COPS-CLIENT-MIB", "copsClientState"), ("COPS-CLIENT-MIB", "copsClientKaTimedoutClients"), ("COPS-CLIENT-MIB", "copsClientErrUnsupportedVersion"), ("COPS-CLIENT-MIB", "copsClientServerTcpPort"), ("COPS-CLIENT-MIB", "copsClientErrBadSends"), ("COPS-CLIENT-MIB", "copsClientErrWrongOpcode"), ("COPS-CLIENT-MIB", "copsClientErrUnsupportClienttype"), ("COPS-CLIENT-MIB", "copsClientOpenAttempts"), ("COPS-CLIENT-MIB", "copsClientServerAccountingTime"), ) ) if mibBuilder.loadTexts: copsDeviceStatusGroup.setDescription("A collection of objects for monitoring the status of\nconnections to COPS servers and statistics for a COPS client.") copsDeviceConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 89, 2, 1, 2)).setObjects(*(("COPS-CLIENT-MIB", "copsClientServerConfigPriority"), ("COPS-CLIENT-MIB", "copsClientServerConfigRetryIntvl"), ("COPS-CLIENT-MIB", "copsClientServerConfigTcpPort"), ("COPS-CLIENT-MIB", "copsClientServerConfigRetryAlgrm"), ("COPS-CLIENT-MIB", "copsClientServerConfigRowStatus"), ("COPS-CLIENT-MIB", "copsClientServerConfigRetryCount"), ) ) if mibBuilder.loadTexts: copsDeviceConfigGroup.setDescription("A collection of objects for configuring COPS server\n\n\ninformation.") # Compliances copsClientCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 89, 2, 2, 1)).setObjects(*(("COPS-CLIENT-MIB", "copsDeviceConfigGroup"), ("COPS-CLIENT-MIB", "copsDeviceStatusGroup"), ) ) if mibBuilder.loadTexts: copsClientCompliance.setDescription("The compliance statement for device support of\nmanagement of the COPS client.") # Exports # Module identity mibBuilder.exportSymbols("COPS-CLIENT-MIB", PYSNMP_MODULE_ID=copsClientMIB) # Types mibBuilder.exportSymbols("COPS-CLIENT-MIB", CopsAuthType=CopsAuthType, CopsClientState=CopsClientState, CopsErrorCode=CopsErrorCode, CopsServerEntryType=CopsServerEntryType, CopsTcpPort=CopsTcpPort) # Objects mibBuilder.exportSymbols("COPS-CLIENT-MIB", copsClientMIB=copsClientMIB, copsClientMIBObjects=copsClientMIBObjects, copsClientCapabilitiesGroup=copsClientCapabilitiesGroup, copsClientCapabilities=copsClientCapabilities, copsClientStatusGroup=copsClientStatusGroup, copsClientServerCurrentTable=copsClientServerCurrentTable, copsClientServerCurrentEntry=copsClientServerCurrentEntry, copsClientServerAddressType=copsClientServerAddressType, copsClientServerAddress=copsClientServerAddress, copsClientServerClientType=copsClientServerClientType, copsClientServerTcpPort=copsClientServerTcpPort, copsClientServerType=copsClientServerType, copsClientServerAuthType=copsClientServerAuthType, copsClientServerLastConnAttempt=copsClientServerLastConnAttempt, copsClientState=copsClientState, copsClientServerKeepaliveTime=copsClientServerKeepaliveTime, copsClientServerAccountingTime=copsClientServerAccountingTime, copsClientInPkts=copsClientInPkts, copsClientOutPkts=copsClientOutPkts, copsClientInErrs=copsClientInErrs, copsClientLastError=copsClientLastError, copsClientTcpConnectAttempts=copsClientTcpConnectAttempts, copsClientTcpConnectFailures=copsClientTcpConnectFailures, copsClientOpenAttempts=copsClientOpenAttempts, copsClientOpenFailures=copsClientOpenFailures, copsClientErrUnsupportClienttype=copsClientErrUnsupportClienttype, copsClientErrUnsupportedVersion=copsClientErrUnsupportedVersion, copsClientErrLengthMismatch=copsClientErrLengthMismatch, copsClientErrUnknownOpcode=copsClientErrUnknownOpcode, copsClientErrUnknownCnum=copsClientErrUnknownCnum, copsClientErrBadCtype=copsClientErrBadCtype, copsClientErrBadSends=copsClientErrBadSends, copsClientErrWrongObjects=copsClientErrWrongObjects, copsClientErrWrongOpcode=copsClientErrWrongOpcode, copsClientKaTimedoutClients=copsClientKaTimedoutClients, copsClientErrAuthFailures=copsClientErrAuthFailures, copsClientErrAuthMissing=copsClientErrAuthMissing, copsClientConfigGroup=copsClientConfigGroup, copsClientServerConfigTable=copsClientServerConfigTable, copsClientServerConfigEntry=copsClientServerConfigEntry, copsClientServerConfigAddrType=copsClientServerConfigAddrType, copsClientServerConfigAddress=copsClientServerConfigAddress, copsClientServerConfigClientType=copsClientServerConfigClientType, copsClientServerConfigAuthType=copsClientServerConfigAuthType, copsClientServerConfigTcpPort=copsClientServerConfigTcpPort, copsClientServerConfigPriority=copsClientServerConfigPriority, copsClientServerConfigRowStatus=copsClientServerConfigRowStatus, copsClientServerConfigRetryAlgrm=copsClientServerConfigRetryAlgrm, copsClientServerConfigRetryCount=copsClientServerConfigRetryCount, copsClientServerConfigRetryIntvl=copsClientServerConfigRetryIntvl, copsClientConformance=copsClientConformance, copsClientGroups=copsClientGroups, copsClientCompliances=copsClientCompliances) # Groups mibBuilder.exportSymbols("COPS-CLIENT-MIB", copsDeviceStatusGroup=copsDeviceStatusGroup, copsDeviceConfigGroup=copsDeviceConfigGroup) # Compliances mibBuilder.exportSymbols("COPS-CLIENT-MIB", copsClientCompliance=copsClientCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RTP-MIB.py0000644000014400001440000007324611736645137020117 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RTP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:36 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TAddress, TDomain, TestAndIncr, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TAddress", "TDomain", "TestAndIncr", "TimeStamp", "TruthValue") ( Utf8String, ) = mibBuilder.importSymbols("SYSAPPL-MIB", "Utf8String") # Objects rtpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 87)).setRevisions(("2000-10-02 00:00",)) if mibBuilder.loadTexts: rtpMIB.setOrganization("IETF AVT Working Group\nEmail: rem-conf@es.net") if mibBuilder.loadTexts: rtpMIB.setContactInfo("Mark Baugher\nPostal: Intel Corporation\n 2111 NE 25th Avenue\n Hillsboro, OR 97124\n\n\n United States\nTel: +1 503 466 8406\nEmail: mbaugher@passedge.com\n\n Bill Strahm\nPostal: Intel Corporation\n 2111 NE 25th Avenue\n Hillsboro, OR 97124\n United States\nTel: +1 503 264 4632\nEmail: bill.strahm@intel.com\n\n Irina Suconick\nPostal: Ennovate Networks\n 60 Codman Hill Rd.,\n Boxboro, Ma 01719\nTel: +1 781-505-2155\nEmail: irina@ennovatenetworks.com") if mibBuilder.loadTexts: rtpMIB.setDescription("The managed objects of RTP systems. The MIB is\nstructured around three types of information.\n1. General information about RTP sessions such\n as the session address.\n2. Information about RTP streams being sent to\n an RTP session by a particular sender.\n3. Information about RTP streams received on an\n RTP session by a particular receiver from a\n particular sender.\n There are two types of RTP Systems, RTP hosts and\n RTP monitors. As described below, certain objects\n are unique to a particular type of RTP System. An\n RTP host may also function as an RTP monitor.\n Refer to RFC 1889, 'RTP: A Transport Protocol for\n Real-Time Applications,' section 3.0, for definitions.") rtpMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 87, 1)) rtpSessionNewIndex = MibScalar((1, 3, 6, 1, 2, 1, 87, 1, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtpSessionNewIndex.setDescription("This object is used to assign values to rtpSessionIndex\nas described in 'Textual Conventions for SMIv2'. For an RTP\nsystem that supports the creation of rows, the network manager\nwould read the object, and then write the value back in\nthe Set that creates a new instance of rtpSessionEntry. If\nthe Set fails with the code 'inconsistentValue,' then the\nprocess must be repeated; If the Set succeeds, then the object\nis incremented, and the new instance is created according to\nthe manager's directions. However, if the RTP agent is not\nacting as a monitor, only the RTP agent may create conceptual\nrows in the RTP session table.") rtpSessionInverseTable = MibTable((1, 3, 6, 1, 2, 1, 87, 1, 2)) if mibBuilder.loadTexts: rtpSessionInverseTable.setDescription("Maps rtpSessionDomain, rtpSessionRemAddr, and rtpSessionLocAddr\nTAddress pairs to one or more rtpSessionIndex values, each\ndescribing a row in the rtpSessionTable. This makes it possible\nto retrieve the row(s) in the rtpSessionTable corresponding to a\ngiven session without having to walk the entire (potentially\nlarge) table.") rtpSessionInverseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 87, 1, 2, 1)).setIndexNames((0, "RTP-MIB", "rtpSessionDomain"), (0, "RTP-MIB", "rtpSessionRemAddr"), (0, "RTP-MIB", "rtpSessionLocAddr"), (0, "RTP-MIB", "rtpSessionIndex")) if mibBuilder.loadTexts: rtpSessionInverseEntry.setDescription("Each entry corresponds to exactly one entry in the\nrtpSessionTable - the entry containing the tuple,\nrtpSessionDomain, rtpSessionRemAddr, rtpSessionLocAddr\nand rtpSessionIndex.") rtpSessionInverseStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 2, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSessionInverseStartTime.setDescription("The value of SysUpTime at the time that this row was\ncreated.") rtpSessionTable = MibTable((1, 3, 6, 1, 2, 1, 87, 1, 3)) if mibBuilder.loadTexts: rtpSessionTable.setDescription("There's one entry in rtpSessionTable for each RTP session\non which packets are being sent, received, and/or\nmonitored.") rtpSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 87, 1, 3, 1)).setIndexNames((0, "RTP-MIB", "rtpSessionIndex")) if mibBuilder.loadTexts: rtpSessionEntry.setDescription("Data in rtpSessionTable uniquely identify an RTP session. A\nhost RTP agent MUST create a read-only row for each session to\nwhich packets are being sent or received. Rows MUST be created\nby the RTP Agent at the start of a session when one or more\nsenders or receivers are observed. Rows created by an RTP agent\nMUST be deleted when the session is over and there are no\nrtpRcvrEntry and no rtpSenderEntry for this session. An RTP\nsession SHOULD be monitored to create management information on\nall RTP streams being sent or received when the\nrtpSessionMonitor has the TruthValue of 'true(1)'. An RTP\nmonitor SHOULD permit row creation with the side effect of\ncausing the RTP System to join the multicast session for the\npurposes of gathering management information (additional\nconceptual rows are created in the rtpRcvrTable and\nrtpSenderTable). Thus, rtpSessionTable rows SHOULD be created\nfor RTP session monitoring purposes. Rows created by a\nmanagement application SHOULD be deleted via SNMP operations by\n\n\nmanagement applications. Rows created by management operations\nare deleted by management operations by setting\nrtpSessionRowStatus to 'destroy(6)'.") rtpSessionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rtpSessionIndex.setDescription("The index of the conceptual row which is for SNMP purposes\nonly and has no relation to any protocol value. There is\nno requirement that these rows are created or maintained\nsequentially.") rtpSessionDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 2), TDomain()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rtpSessionDomain.setDescription("The transport-layer protocol used for sending or receiving\nthe stream of RTP data packets on this session.\nCannot be changed if rtpSessionRowStatus is 'active'.") rtpSessionRemAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 3), TAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rtpSessionRemAddr.setDescription("The address to which RTP packets are sent by the RTP system.\nIn an IP multicast RTP session, this is the single address used\n\n\nby all senders and receivers of RTP session data. In a unicast\nRTP session this is the unicast address of the remote RTP system.\n'The destination address pair may be common for all participants,\nas in the case of IP multicast, or may be different for each, as\nin the case of individual unicast network address pairs.' See\nRFC 1889, 'RTP: A Transport Protocol for Real-Time Applications,'\nsec. 3. The transport service is identified by rtpSessionDomain.\nFor snmpUDPDomain, this is an IP address and even-numbered UDP\nPort with the RTCP being sent on the next higher odd-numbered\nport, see RFC 1889, sec. 5.") rtpSessionLocAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 4), TAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSessionLocAddr.setDescription("The local address used by the RTP system. In an IP multicast\nRTP session, rtpSessionRemAddr will be the same IP multicast\naddress as rtpSessionLocAddr. In a unicast RTP session,\nrtpSessionRemAddr and rtpSessionLocAddr will have different\nunicast addresses. See RFC 1889, 'RTP: A Transport Protocol for\nReal-Time Applications,' sec. 3. The transport service is\nidentified by rtpSessionDomain. For snmpUDPDomain, this is an IP\naddress and even-numbered UDP Port with the RTCP being sent on\nthe next higher odd-numbered port, see RFC 1889, sec. 5.") rtpSessionIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 5), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rtpSessionIfIndex.setDescription("The ifIndex value is set to the corresponding value\nfrom IF-MIB (See RFC 2233, 'The Interfaces Group MIB using\nSMIv2'). This is the interface that the RTP stream is being sent\nto or received from, or in the case of an RTP Monitor the\ninterface that RTCP packets will be received on. Cannot be\nchanged if rtpSessionRowStatus is 'active'.") rtpSessionSenderJoins = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSessionSenderJoins.setDescription("The number of senders that have been observed to have\njoined the session since this conceptual row was created\n\n\n(rtpSessionStartTime). A sender 'joins' an RTP\nsession by sending to it. Senders that leave and then\nre-join following an RTCP BYE (see RFC 1889, 'RTP: A\nTransport Protocol for Real-Time Applications,' sec. 6.6)\nor session timeout may be counted twice. Every time a new\nRTP sender is detected either using RTP or RTCP, this counter\nis incremented.") rtpSessionReceiverJoins = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSessionReceiverJoins.setDescription("The number of receivers that have been been observed to\nhave joined this session since this conceptual row was\ncreated (rtpSessionStartTime). A receiver 'joins' an RTP\nsession by sending RTCP Receiver Reports to the session.\nReceivers that leave and then re-join following an RTCP BYE\n(see RFC 1889, 'RTP: A Transport Protocol for Real-Time\nApplications,' sec. 6.6) or session timeout may be counted\ntwice.") rtpSessionByes = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSessionByes.setDescription("A count of RTCP BYE (see RFC 1889, 'RTP: A Transport\nProtocol for Real-Time Applications,' sec. 6.6) messages\nreceived by this entity.") rtpSessionStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSessionStartTime.setDescription("The value of SysUpTime at the time that this row was\ncreated.") rtpSessionMonitor = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSessionMonitor.setDescription("Boolean, Set to 'true(1)' if remote senders or receivers in\naddition to the local RTP System are to be monitored using RTCP.\nRTP Monitors MUST initialize to 'true(1)' and RTP Hosts SHOULD\ninitialize this 'false(2)'. Note that because 'host monitor'\nsystems are receiving RTCP from their remote participants they\nMUST set this value to 'true(1)'.") rtpSessionRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 3, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rtpSessionRowStatus.setDescription("Value of 'active' when RTP or RTCP messages are being\nsent or received by an RTP System. A newly-created\nconceptual row must have the all read-create objects\ninitialized before becoming 'active'.\nA conceptual row that is in the 'notReady' or 'notInService'\nstate MAY be removed after 5 minutes.") rtpSenderInverseTable = MibTable((1, 3, 6, 1, 2, 1, 87, 1, 4)) if mibBuilder.loadTexts: rtpSenderInverseTable.setDescription("Maps rtpSenderAddr, rtpSessionIndex, to the rtpSenderSSRC\nindex of the rtpSenderTable. This table allows management\napplications to find entries sorted by rtpSenderAddr rather than\nsorted by rtpSessionIndex. Given the rtpSessionDomain and\nrtpSenderAddr, a set of rtpSessionIndex and rtpSenderSSRC values\ncan be returned from a tree walk. When rtpSessionIndex is\nspecified in the SNMP Get-Next operations, one or more\nrtpSenderSSRC values may be returned.") rtpSenderInverseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 87, 1, 4, 1)).setIndexNames((0, "RTP-MIB", "rtpSessionDomain"), (0, "RTP-MIB", "rtpSenderAddr"), (0, "RTP-MIB", "rtpSessionIndex"), (0, "RTP-MIB", "rtpSenderSSRC")) if mibBuilder.loadTexts: rtpSenderInverseEntry.setDescription("Each entry corresponds to exactly one entry in the\nrtpSenderTable - the entry containing the index pair,\nrtpSessionIndex, rtpSenderSSRC.") rtpSenderInverseStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 4, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderInverseStartTime.setDescription("The value of SysUpTime at the time that this row was\ncreated.") rtpSenderTable = MibTable((1, 3, 6, 1, 2, 1, 87, 1, 5)) if mibBuilder.loadTexts: rtpSenderTable.setDescription("Table of information about a sender or senders to an RTP\nSession. RTP sending hosts MUST have an entry in this table\nfor each stream being sent. RTP receiving hosts MAY have an\nentry in this table for each sending stream being received by\nthis host. RTP monitors MUST create an entry for each observed\nsender to a multicast RTP Session as a side-effect when a\nconceptual row in the rtpSessionTable is made 'active' by a\nmanager.") rtpSenderEntry = MibTableRow((1, 3, 6, 1, 2, 1, 87, 1, 5, 1)).setIndexNames((0, "RTP-MIB", "rtpSessionIndex"), (0, "RTP-MIB", "rtpSenderSSRC")) if mibBuilder.loadTexts: rtpSenderEntry.setDescription("Each entry contains information from a single RTP Sender\nSynchronization Source (SSRC, see RFC 1889 'RTP: A Transport\nProtocol for Real-Time Applications' sec.6). The session is\nidentified to the the SNMP entity by rtpSessionIndex.\nRows are removed by the RTP agent when a BYE is received\nfrom the sender or when the sender times out (see RFC\n1889, Sec. 6.2.1) or when the rtpSessionEntry is deleted.") rtpSenderSSRC = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 1), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rtpSenderSSRC.setDescription("The RTP SSRC, or synchronization source identifier of the\nsender. The RTP session address plus an SSRC uniquely\nidentify a sender to an RTP session (see RFC 1889, 'RTP: A\nTransport Protocol for Real-Time Applications' sec.3).") rtpSenderCNAME = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 2), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderCNAME.setDescription("The RTP canonical name of the sender.") rtpSenderAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 3), TAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderAddr.setDescription("The unicast transport source address of the sender. In the\ncase of an RTP Monitor this address is the address that the\nsender is using to send its RTCP Sender Reports.") rtpSenderPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderPackets.setDescription("Count of RTP packets sent by this sender, or observed by\n\n\nan RTP monitor, since rtpSenderStartTime.") rtpSenderOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderOctets.setDescription("Count of non-header RTP octets sent by this sender, or observed\nby an RTP monitor, since rtpSenderStartTime.") rtpSenderTool = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 6), Utf8String().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderTool.setDescription("Name of the application program source of the stream.") rtpSenderSRs = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderSRs.setDescription("A count of the number of RTCP Sender Reports that have\nbeen sent from this sender, or observed if the RTP entity\nis a monitor, since rtpSenderStartTime.") rtpSenderSRTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderSRTime.setDescription("rtpSenderSRTime is the value of SysUpTime at the time that\nthe last SR was received from this sender, in the case of a\nmonitor or receiving host. Or sent by this sender, in the\ncase of a sending host.") rtpSenderPT = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderPT.setDescription("Payload type from the RTP header of the most recently received\nRTP Packet (see RFC 1889, 'RTP: A Transport Protocol for\n\n\nReal-Time Applications' sec. 5).") rtpSenderStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 5, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpSenderStartTime.setDescription("The value of SysUpTime at the time that this row was\ncreated.") rtpRcvrInverseTable = MibTable((1, 3, 6, 1, 2, 1, 87, 1, 6)) if mibBuilder.loadTexts: rtpRcvrInverseTable.setDescription("Maps rtpRcvrAddr and rtpSessionIndex to the rtpRcvrSRCSSRC and\nrtpRcvrSSRC indexes of the rtpRcvrTable. This table allows\nmanagement applications to find entries sorted by rtpRcvrAddr\nrather than by rtpSessionIndex. Given rtpSessionDomain and\nrtpRcvrAddr, a set of rtpSessionIndex, rtpRcvrSRCSSRC, and\nrtpRcvrSSRC values can be returned from a tree walk. When\nrtpSessionIndex is specified in SNMP Get-Next operations, one or\nmore rtpRcvrSRCSSRC and rtpRcvrSSRC pairs may be returned.") rtpRcvrInverseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 87, 1, 6, 1)).setIndexNames((0, "RTP-MIB", "rtpSessionDomain"), (0, "RTP-MIB", "rtpRcvrAddr"), (0, "RTP-MIB", "rtpSessionIndex"), (0, "RTP-MIB", "rtpRcvrSRCSSRC"), (0, "RTP-MIB", "rtpRcvrSSRC")) if mibBuilder.loadTexts: rtpRcvrInverseEntry.setDescription("Each entry corresponds to exactly one entry in the\nrtpRcvrTable - the entry containing the index pair,\nrtpSessionIndex, rtpRcvrSSRC.") rtpRcvrInverseStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 6, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrInverseStartTime.setDescription("The value of SysUpTime at the time that this row was\ncreated.") rtpRcvrTable = MibTable((1, 3, 6, 1, 2, 1, 87, 1, 7)) if mibBuilder.loadTexts: rtpRcvrTable.setDescription("Table of information about a receiver or receivers of RTP\nsession data. RTP hosts that receive RTP session packets\nMUST create an entry in this table for that receiver/sender\npair. RTP hosts that send RTP session packets MAY create\nan entry in this table for each receiver to their stream\nusing RTCP feedback from the RTP group. RTP monitors\ncreate an entry for each observed RTP session receiver as\na side effect when a conceptual row in the rtpSessionTable\nis made 'active' by a manager.") rtpRcvrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 87, 1, 7, 1)).setIndexNames((0, "RTP-MIB", "rtpSessionIndex"), (0, "RTP-MIB", "rtpRcvrSRCSSRC"), (0, "RTP-MIB", "rtpRcvrSSRC")) if mibBuilder.loadTexts: rtpRcvrEntry.setDescription("Each entry contains information from a single RTP\nSynchronization Source that is receiving packets from the\nsender identified by rtpRcvrSRCSSRC (SSRC, see RFC 1889,\n'RTP: A Transport Protocol for Real-Time Applications'\nsec.6). The session is identified to the the RTP Agent entity\nby rtpSessionIndex. Rows are removed by the RTP agent when\na BYE is received from the sender or when the sender times\nout (see RFC 1889, Sec. 6.2.1) or when the rtpSessionEntry is\ndeleted.") rtpRcvrSRCSSRC = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 1), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rtpRcvrSRCSSRC.setDescription("The RTP SSRC, or synchronization source identifier of the\nsender. The RTP session address plus an SSRC uniquely\nidentify a sender or receiver of an RTP stream (see RFC\n1889, 'RTP: A Transport Protocol for Real-Time\nApplications' sec.3).") rtpRcvrSSRC = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 2), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rtpRcvrSSRC.setDescription("The RTP SSRC, or synchronization source identifier of the\nreceiver. The RTP session address plus an SSRC uniquely\nidentify a receiver of an RTP stream (see RFC 1889, 'RTP:\nA Transport Protocol for Real-Time Applications' sec.3).") rtpRcvrCNAME = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 3), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrCNAME.setDescription("The RTP canonical name of the receiver.") rtpRcvrAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 4), TAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrAddr.setDescription("The unicast transport address on which the receiver is\nreceiving RTP packets and/or RTCP Receiver Reports.") rtpRcvrRTT = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrRTT.setDescription("The round trip time measurement taken by the source of the\nRTP stream based on the algorithm described on sec. 6 of\nRFC 1889, 'RTP: A Transport Protocol for Real-Time\nApplications.' This algorithm can produce meaningful\nresults when the RTP agent has the same clock as the stream\nsender (when the RTP monitor is also the sending host for the\nparticular receiver). Otherwise, the entity should return\n'noSuchInstance' in response to queries against rtpRcvrRTT.") rtpRcvrLostPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrLostPackets.setDescription("A count of RTP packets lost as observed by this receiver\nsince rtpRcvrStartTime.") rtpRcvrJitter = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrJitter.setDescription("An estimate of delay variation as observed by this\nreceiver. (see RFC 1889, 'RTP: A Transport Protocol\nfor Real-Time Applications' sec.6.3.1 and A.8).") rtpRcvrTool = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 8), Utf8String().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrTool.setDescription("Name of the application program source of the stream.") rtpRcvrRRs = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrRRs.setDescription("A count of the number of RTCP Receiver Reports that have\nbeen sent from this receiver, or observed if the RTP entity\nis a monitor, since rtpRcvrStartTime.") rtpRcvrRRTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrRRTime.setDescription("rtpRcvrRRTime is the value of SysUpTime at the time that the\nlast RTCP Receiver Report was received from this receiver, in\nthe case of a monitor or RR receiver (the RTP Sender). It is\nthe value of SysUpTime at the time that the last RR was sent by\nthis receiver in the case of an RTP receiver sending the RR.") rtpRcvrPT = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrPT.setDescription("Static or dynamic payload type from the RTP header (see\nRFC 1889, 'RTP: A Transport Protocol for Real-Time\nApplications' sec. 5).") rtpRcvrPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrPackets.setDescription("Count of RTP packets received by this RTP host receiver\nsince rtpRcvrStartTime.") rtpRcvrOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrOctets.setDescription("Count of non-header RTP octets received by this receiving RTP\nhost since rtpRcvrStartTime.") rtpRcvrStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 87, 1, 7, 1, 14), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtpRcvrStartTime.setDescription("The value of SysUpTime at the time that this row was\ncreated.") rtpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 87, 2)) rtpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 87, 2, 1)) rtpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 87, 2, 2)) # Augmentions # Groups rtpSystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 87, 2, 1, 1)).setObjects(*(("RTP-MIB", "rtpSenderPackets"), ("RTP-MIB", "rtpRcvrRRs"), ("RTP-MIB", "rtpSenderStartTime"), ("RTP-MIB", "rtpSessionMonitor"), ("RTP-MIB", "rtpSessionStartTime"), ("RTP-MIB", "rtpSenderAddr"), ("RTP-MIB", "rtpSenderSRs"), ("RTP-MIB", "rtpRcvrAddr"), ("RTP-MIB", "rtpRcvrCNAME"), ("RTP-MIB", "rtpSessionIfIndex"), ("RTP-MIB", "rtpSessionByes"), ("RTP-MIB", "rtpSessionRemAddr"), ("RTP-MIB", "rtpSessionDomain"), ("RTP-MIB", "rtpSenderOctets"), ("RTP-MIB", "rtpRcvrLostPackets"), ("RTP-MIB", "rtpSenderTool"), ("RTP-MIB", "rtpRcvrJitter"), ("RTP-MIB", "rtpSenderSRTime"), ("RTP-MIB", "rtpRcvrStartTime"), ("RTP-MIB", "rtpSenderCNAME"), ("RTP-MIB", "rtpSessionReceiverJoins"), ("RTP-MIB", "rtpRcvrRRTime"), ("RTP-MIB", "rtpSessionSenderJoins"), ("RTP-MIB", "rtpRcvrTool"), ) ) if mibBuilder.loadTexts: rtpSystemGroup.setDescription("Objects available to all RTP Systems.") rtpHostGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 87, 2, 1, 2)).setObjects(*(("RTP-MIB", "rtpRcvrPackets"), ("RTP-MIB", "rtpSenderPT"), ("RTP-MIB", "rtpSessionLocAddr"), ("RTP-MIB", "rtpRcvrRTT"), ("RTP-MIB", "rtpRcvrOctets"), ("RTP-MIB", "rtpRcvrPT"), ) ) if mibBuilder.loadTexts: rtpHostGroup.setDescription("Objects that are available to RTP Host systems, but may not\nbe available to RTP Monitor systems.") rtpMonitorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 87, 2, 1, 3)).setObjects(*(("RTP-MIB", "rtpSessionNewIndex"), ("RTP-MIB", "rtpSessionRowStatus"), ) ) if mibBuilder.loadTexts: rtpMonitorGroup.setDescription("Objects used to create rows in the RTP Session Table. These\nobjects are not needed if the system does not create rows.") rtpInverseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 87, 2, 1, 4)).setObjects(*(("RTP-MIB", "rtpSenderInverseStartTime"), ("RTP-MIB", "rtpRcvrInverseStartTime"), ("RTP-MIB", "rtpSessionInverseStartTime"), ) ) if mibBuilder.loadTexts: rtpInverseGroup.setDescription("Objects used in the Inverse Lookup Tables.") # Compliances rtpHostCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 87, 2, 2, 1)).setObjects(*(("RTP-MIB", "rtpSystemGroup"), ("RTP-MIB", "rtpHostGroup"), ("RTP-MIB", "rtpMonitorGroup"), ("RTP-MIB", "rtpInverseGroup"), ) ) if mibBuilder.loadTexts: rtpHostCompliance.setDescription("Host implementations MUST comply.") rtpMonitorCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 87, 2, 2, 2)).setObjects(*(("RTP-MIB", "rtpSystemGroup"), ("RTP-MIB", "rtpHostGroup"), ("RTP-MIB", "rtpMonitorGroup"), ("RTP-MIB", "rtpInverseGroup"), ) ) if mibBuilder.loadTexts: rtpMonitorCompliance.setDescription("Monitor implementations must comply. RTP Monitors are not\nrequired to support creation or deletion.") # Exports # Module identity mibBuilder.exportSymbols("RTP-MIB", PYSNMP_MODULE_ID=rtpMIB) # Objects mibBuilder.exportSymbols("RTP-MIB", rtpMIB=rtpMIB, rtpMIBObjects=rtpMIBObjects, rtpSessionNewIndex=rtpSessionNewIndex, rtpSessionInverseTable=rtpSessionInverseTable, rtpSessionInverseEntry=rtpSessionInverseEntry, rtpSessionInverseStartTime=rtpSessionInverseStartTime, rtpSessionTable=rtpSessionTable, rtpSessionEntry=rtpSessionEntry, rtpSessionIndex=rtpSessionIndex, rtpSessionDomain=rtpSessionDomain, rtpSessionRemAddr=rtpSessionRemAddr, rtpSessionLocAddr=rtpSessionLocAddr, rtpSessionIfIndex=rtpSessionIfIndex, rtpSessionSenderJoins=rtpSessionSenderJoins, rtpSessionReceiverJoins=rtpSessionReceiverJoins, rtpSessionByes=rtpSessionByes, rtpSessionStartTime=rtpSessionStartTime, rtpSessionMonitor=rtpSessionMonitor, rtpSessionRowStatus=rtpSessionRowStatus, rtpSenderInverseTable=rtpSenderInverseTable, rtpSenderInverseEntry=rtpSenderInverseEntry, rtpSenderInverseStartTime=rtpSenderInverseStartTime, rtpSenderTable=rtpSenderTable, rtpSenderEntry=rtpSenderEntry, rtpSenderSSRC=rtpSenderSSRC, rtpSenderCNAME=rtpSenderCNAME, rtpSenderAddr=rtpSenderAddr, rtpSenderPackets=rtpSenderPackets, rtpSenderOctets=rtpSenderOctets, rtpSenderTool=rtpSenderTool, rtpSenderSRs=rtpSenderSRs, rtpSenderSRTime=rtpSenderSRTime, rtpSenderPT=rtpSenderPT, rtpSenderStartTime=rtpSenderStartTime, rtpRcvrInverseTable=rtpRcvrInverseTable, rtpRcvrInverseEntry=rtpRcvrInverseEntry, rtpRcvrInverseStartTime=rtpRcvrInverseStartTime, rtpRcvrTable=rtpRcvrTable, rtpRcvrEntry=rtpRcvrEntry, rtpRcvrSRCSSRC=rtpRcvrSRCSSRC, rtpRcvrSSRC=rtpRcvrSSRC, rtpRcvrCNAME=rtpRcvrCNAME, rtpRcvrAddr=rtpRcvrAddr, rtpRcvrRTT=rtpRcvrRTT, rtpRcvrLostPackets=rtpRcvrLostPackets, rtpRcvrJitter=rtpRcvrJitter, rtpRcvrTool=rtpRcvrTool, rtpRcvrRRs=rtpRcvrRRs, rtpRcvrRRTime=rtpRcvrRRTime, rtpRcvrPT=rtpRcvrPT, rtpRcvrPackets=rtpRcvrPackets, rtpRcvrOctets=rtpRcvrOctets, rtpRcvrStartTime=rtpRcvrStartTime, rtpConformance=rtpConformance, rtpGroups=rtpGroups, rtpCompliances=rtpCompliances) # Groups mibBuilder.exportSymbols("RTP-MIB", rtpSystemGroup=rtpSystemGroup, rtpHostGroup=rtpHostGroup, rtpMonitorGroup=rtpMonitorGroup, rtpInverseGroup=rtpInverseGroup) # Compliances mibBuilder.exportSymbols("RTP-MIB", rtpHostCompliance=rtpHostCompliance, rtpMonitorCompliance=rtpMonitorCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ENTITY-STATE-TC-MIB.py0000644000014400001440000000641311736645136021637 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ENTITY-STATE-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:57 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class EntityAdminState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,1,3,) namedValues = NamedValues(("unknown", 1), ("locked", 2), ("shuttingDown", 3), ("unlocked", 4), ) class EntityAlarmStatus(Bits): namedValues = NamedValues(("unknown", 0), ("underRepair", 1), ("critical", 2), ("major", 3), ("minor", 4), ("warning", 5), ("indeterminate", 6), ) class EntityOperState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,3,2,) namedValues = NamedValues(("unknown", 1), ("disabled", 2), ("enabled", 3), ("testing", 4), ) class EntityStandbyStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,3,2,) namedValues = NamedValues(("unknown", 1), ("hotStandby", 2), ("coldStandby", 3), ("providingService", 4), ) class EntityUsageState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,1,2,3,) namedValues = NamedValues(("unknown", 1), ("idle", 2), ("active", 3), ("busy", 4), ) # Objects entityStateTc = ModuleIdentity((1, 3, 6, 1, 2, 1, 130)).setRevisions(("2005-11-22 00:00",)) if mibBuilder.loadTexts: entityStateTc.setOrganization("IETF Entity MIB Working Group") if mibBuilder.loadTexts: entityStateTc.setContactInfo("General Discussion: entmib@ietf.org\nTo Subscribe:\nhttp://www.ietf.org/mailman/listinfo/entmib\n\nhttp://www.ietf.org/html.charters/entmib-charter.html\n\nSharon Chisholm\nNortel Networks\nPO Box 3511 Station C\nOttawa, Ont. K1Y 4H7\nCanada\nschishol@nortel.com\n\nDavid T. Perkins\n548 Qualbrook Ct\nSan Jose, CA 95110\nUSA\nPhone: 408 394-8702\ndperkins@snmpinfo.com") if mibBuilder.loadTexts: entityStateTc.setDescription("This MIB defines state textual conventions.\n\nCopyright (C) The Internet Society 2005. This version\nof this MIB module is part of RFC 4268; see the RFC\nitself for full legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("ENTITY-STATE-TC-MIB", PYSNMP_MODULE_ID=entityStateTc) # Types mibBuilder.exportSymbols("ENTITY-STATE-TC-MIB", EntityAdminState=EntityAdminState, EntityAlarmStatus=EntityAlarmStatus, EntityOperState=EntityOperState, EntityStandbyStatus=EntityStandbyStatus, EntityUsageState=EntityUsageState) # Objects mibBuilder.exportSymbols("ENTITY-STATE-TC-MIB", entityStateTc=entityStateTc) pysnmp-mibs-0.1.3/pysnmp_mibs/IPV6-FLOW-LABEL-MIB.py0000644000014400001440000000456411736645136021554 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPV6-FLOW-LABEL-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:12 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IPv6FlowLabel(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,1048575) class IPv6FlowLabelOrAny(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(-1,1048575) # Objects ipv6FlowLabelMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 103)).setRevisions(("2003-08-28 00:00",)) if mibBuilder.loadTexts: ipv6FlowLabelMIB.setOrganization("IETF Operations and Management Area") if mibBuilder.loadTexts: ipv6FlowLabelMIB.setContactInfo("Bert Wijnen (Editor)\nLucent Technologies\nSchagen 33\n3461 GL Linschoten\nNetherlands\n\n\n\n\n\nPhone: +31 348-407-775\nEMail: bwijnen@lucent.com\n\nSend comments to .") if mibBuilder.loadTexts: ipv6FlowLabelMIB.setDescription("This MIB module provides commonly used textual\nconventions for IPv6 Flow Labels.\n\nCopyright (C) The Internet Society (2003). This\nversion of this MIB module is part of RFC 3595,\nsee the RFC itself for full legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IPV6-FLOW-LABEL-MIB", PYSNMP_MODULE_ID=ipv6FlowLabelMIB) # Types mibBuilder.exportSymbols("IPV6-FLOW-LABEL-MIB", IPv6FlowLabel=IPv6FlowLabel, IPv6FlowLabelOrAny=IPv6FlowLabelOrAny) # Objects mibBuilder.exportSymbols("IPV6-FLOW-LABEL-MIB", ipv6FlowLabelMIB=ipv6FlowLabelMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-FSPF-MIB.py0000644000014400001440000010740011736645140021021 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-FSPF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcDomainIdOrZero, fcmInstanceIndex, fcmSwitchIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcDomainIdOrZero", "fcmInstanceIndex", "fcmSwitchIndex") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TruthValue") ( t11FamConfigDomainId, ) = mibBuilder.importSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamConfigDomainId") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Types class T11FspfInterfaceState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,6,5,4,) namedValues = NamedValues(("down", 1), ("init", 2), ("dbExchange", 3), ("dbAckwait", 4), ("dbWait", 5), ("full", 6), ) class T11FspfLinkType(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,255) class T11FspfLsrType(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,255) class T11FspfLastCreationTime(TimeTicks): pass # Objects t11FcFspfMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 143)).setRevisions(("2006-08-14 00:00",)) if mibBuilder.loadTexts: t11FcFspfMIB.setOrganization("T11") if mibBuilder.loadTexts: t11FcFspfMIB.setContactInfo("Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: cds@cisco.com\n\n\n\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA USA 95134\nEmail: kzm@cisco.com") if mibBuilder.loadTexts: t11FcFspfMIB.setDescription("The MIB module for managing the Fabric Shortest Path\nFirst (FSPF) protocol. FSPF is specified in FC-SW-4.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4626; see the RFC itself for\nfull legal notices.") t11FspfNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 143, 0)) t11FspfObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 143, 1)) t11FspfConfiguration = MibIdentifier((1, 3, 6, 1, 2, 1, 143, 1, 1)) t11FspfTable = MibTable((1, 3, 6, 1, 2, 1, 143, 1, 1, 1)) if mibBuilder.loadTexts: t11FspfTable.setDescription("This table allows the users to configure and monitor FSPF's\nper-Fabric parameters and statistics on all Fabrics known to\nlocally managed switches.\n\nEntries are created/removed by the agent if and when\n(Virtual) Fabrics are created/deleted.") t11FspfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FSPF-MIB", "t11FspfFabricIndex")) if mibBuilder.loadTexts: t11FspfEntry.setDescription("An entry containing FSPF variables, parameters, and\nstatistics on a particular switch (identified by values\nof fcmInstanceIndex and fcmSwitchIndex) for a particular\nFabric (identified by a t11FspfFabricIndex value).\n\n(Note that the local switch's per-fabric Domain-ID is\navailable in t11FamConfigDomainId, which is defined in\nT11-FC-FABRIC-ADDR-MGR-MIB.)") t11FspfFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FspfFabricIndex.setDescription("A unique index value that uniquely identifies a\nparticular Fabric.\n\nIn a Fabric conformant to FC-SW-4, multiple Virtual Fabrics\ncan operate within one (or more) physical infrastructures.\nIn such a case, index value is used to uniquely identify a\nparticular Fabric within a physical infrastructure.\n\nIn a Fabric that has (can have) only a single Fabric\noperating within the physical infrastructure, the\nvalue of this Fabric Index will always be 1.") t11FspfMinLsArrival = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(1000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FspfMinLsArrival.setDescription("The minimum time after accepting a Link State Record\n(LSR) on this Fabric before accepting another update of\nthe same LSR on the same Fabric.\n\nAn LSR update that is not accepted because of this time\ninterval is discarded.") t11FspfMinLsInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(5000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FspfMinLsInterval.setDescription("The minimum time after this switch sends an LSR on this\nFabric before it will send another update of the same LSR\non the same Fabric.") t11FspfLsRefreshTime = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 4), Unsigned32().clone(30)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLsRefreshTime.setDescription("The interval between transmission of refresh LSRs on this\nFabric.") t11FspfMaxAge = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 5), Unsigned32().clone(60)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfMaxAge.setDescription("The maximum age an LSR will be retained in the FSPF\ndatabase on this Fabric. An LSR is removed from the\ndatabase after MaxAge is reached.") t11FspfMaxAgeDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfMaxAgeDiscards.setDescription("The number of LSRs discarded due to their age reaching\nt11FspfMaxAge in this Fabric. The last discontinuity of\nthis counter is indicated by t11FspfCreateTime.") t11FspfPathComputations = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfPathComputations.setDescription("The number of times that the path computation algorithm\nhas been invoked by this Switch on this Fabric to compute\na set of minimum cost paths for this Fabric. The last\n\n\n\ndiscontinuity of this counter is indicated by\nt11FspfCreateTime.") t11FspfChecksumErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfChecksumErrors.setDescription("The number of FSPF checksum errors that were detected\nlocally (and therefore discarded) on this Fabric.\nThe last discontinuity of this counter is indicated by\nt11FspfCreateTime.") t11FspfLsrs = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLsrs.setDescription("The current number of entries for this Fabric in the\nt11FspfLsrTable.") t11FspfCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 10), T11FspfLastCreationTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfCreateTime.setDescription("The value of sysUpTime when this entry was last created.") t11FspfAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FspfAdminStatus.setDescription("The desired state of FSPF in this Fabric. If value of\nthis object is set to 'up', then FSPF is enabled in\nthis Fabric. If set to 'down', then FSPF is disabled\nin this Fabric -- when FSPF is disabled, FSPF provides\n\n\n\nno routes to be included in the T11-FC-ROUTE-MIB module.\n(see the T11-FC-ROUTE-MIB).") t11FspfOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfOperStatus.setDescription("State of FSPF in this Fabric. If 't11FspfAdminStatus' is\n'down', then the 't11FspfOperStatus' should be 'down'.\nIf 't11FspfAdminStatus' is changed to 'up', then\n't11FspfOperStatus' should change to 'up' as and when\nFSPF is active in this Fabric.") t11FspfNbrStateChangNotifyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 13), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FspfNbrStateChangNotifyEnable.setDescription("Specifies whether or not the local agent should\nissue the notification 't11FspfNbrStateChangNotify'\nwhen the local switch learns of a change of state\nin the FSPF Neighbor Finite State Machine on an\ninterface in this Fabric.\nIf the value of the object is 'true, then the\nnotification is generated. If the value is 'false',\nnotification is not generated.") t11FspfSetToDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("default", 1), ("noOp", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FspfSetToDefault.setDescription("Setting this value to 'default' changes the value of each\nand every writable object in this row to its default\n\n\n\nvalue.\n\nNo action is taken if this object is set to 'noOp'.\nThe value of the object, when read, is always 'noOp'.") t11FspfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 1, 1, 15), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11FspfStorageType.setDescription("The storage type for read-write objects in this\nconceptual row.\n\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") t11FspfIfTable = MibTable((1, 3, 6, 1, 2, 1, 143, 1, 1, 2)) if mibBuilder.loadTexts: t11FspfIfTable.setDescription("This table allows the users to configure and monitor\nthe FSPF parameters that are per-interface (identified\nby a t11FspfIfIndex value), per-Fabric (identified by a\nt11FspfFabricIndex value), and per-switch (identified by\nvalues of fcmInstanceIndex and fcmSwitchIndex).\n\nCreating a row in this table via t11FspfIfRowStatus\nprovides the means to specify non-default parameter value(s)\nfor an interface at a time when the relevant row in this\ntable would not otherwise exist because the interface is\neither down or it is not an E_Port, but the corresponding\nrow in the t11FspfTable must already exist.\n\nAfter the non-default values have been specified for a\nport's parameters, they need to be retained in this table,\neven when the port becomes 'isolated'. However, having\nunnecessary rows in this table clutters it up and makes\nthose rows that are useful harder for an NMS to find.\nTherefore, when an E_Port becomes isolated, its row gets\ndeleted if and only if all of its parameter values are the\ndefault values; also, when an E_Port becomes non-isolated\n\n\n\nin a particular Fabric, a row in this table needs to exist\nand is automatically created, if necessary.\n\nThe specific conditions for an automated/implicit deletion\nof a row are:\na) if the corresponding interface is no longer an E_Port\n (e.g., a G_Port which is dynamically determined to be an\n F_Port), and all configurable parameters have default\n values; or\nb) if the interface identified by t11FspfIfIndex no longer\n exists (e.g., because a line-card is physically removed);\n or\nc) if the corresponding row in the t11FspfTable is deleted.") t11FspfIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FSPF-MIB", "t11FspfFabricIndex"), (0, "T11-FC-FSPF-MIB", "t11FspfIfIndex")) if mibBuilder.loadTexts: t11FspfIfEntry.setDescription("An entry containing FSPF information for the interface\nidentified by t11FspfIfIndex, on the fabric identified\nby t11FspfFabricIndex, on the switch identified by\nfcmSwitchIndex.") t11FspfIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FspfIfIndex.setDescription("The value of ifIndex that identifies the local\nFibre Channel interface for which this entry\ncontains FSPF information.") t11FspfIfHelloInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfHelloInterval.setDescription("Interval between the periodic HELLO messages sent on this\ninterface in this Fabric to verify the link health. Note\nthat this value must be same at both ends of a link in\nthis Fabric.") t11FspfIfDeadInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(2, 65535)).clone(80)).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfDeadInterval.setDescription("Maximum time for which no HELLO messages can be received\non this interface in this Fabric. After this time, the\ninterface is assumed to be broken and removed from the\ndatabase. Note that this value must be greater than the\nHELLO interval specified on this interface in this Fabric.") t11FspfIfRetransmitInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfRetransmitInterval.setDescription("The time after which an unacknowledged LSR is\nretransmitted on this interface in this Fabric.") t11FspfIfInLsuPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfInLsuPkts.setDescription("Number of Link State Update (LSU) packets received on\nthis interface in this Fabric. The last discontinuity\nof this counter is indicated by t11FspfIfCreateTime.") t11FspfIfInLsaPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfInLsaPkts.setDescription("Number of Link State Acknowledgement (LSA) packets\nreceived on this interface in this Fabric. The last\ndiscontinuity of this counter is indicated by\nt11FspfIfCreateTime.") t11FspfIfOutLsuPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfOutLsuPkts.setDescription("Number of Link State Update (LSU) packets transmitted\non this interface in this Fabric. The last\ndiscontinuity of this counter is indicated by\nt11FspfIfCreateTime.") t11FspfIfOutLsaPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfOutLsaPkts.setDescription("Number of Link State Acknowledgement (LSA) packets\ntransmitted on this interface in this Fabric. The\nlast discontinuity of this counter is indicated by\nt11FspfIfCreateTime.") t11FspfIfOutHelloPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfOutHelloPkts.setDescription("Number of HELLO packets transmitted on this interface in\nthis Fabric. The last discontinuity of this counter is\nindicated by t11FspfIfCreateTime.") t11FspfIfInHelloPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfInHelloPkts.setDescription("Number of HELLO packets received on this interface in\nthis Fabric. The last discontinuity of this counter is\nindicated by t11FspfIfCreateTime.") t11FspfIfRetransmittedLsuPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfRetransmittedLsuPkts.setDescription("The number of LSU packets that contained one or more\nretransmitted LSRs, and that were transmitted on this\ninterface in this Fabric. The last discontinuity of\nthis counter is indicated by t11FspfIfCreateTime.") t11FspfIfInErrorPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfInErrorPkts.setDescription("Number of invalid FSPF control packets received on this\ninterface in this Fabric. The last discontinuity of\nthis counter is indicated by t11FspfIfCreateTime.") t11FspfIfNbrState = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 13), T11FspfInterfaceState()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfNbrState.setDescription("The state of FSPF's 'neighbor state machine', which is\nthe operational state of the interaction with the\n\n\n\nneighbor's interface that is connected to this interface.\n\nIf the 't11FspfIfAdminStatus' is 'down', then this object\nshould be 'down'. If the 't11FspfIfAdminStatus' is 'up',\nthen this object's value depends on the state of FSPF's\n'neighbor state machine' on this interface in this\nFabric.") t11FspfIfNbrDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 14), FcDomainIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfNbrDomainId.setDescription("The Domain Id of the neighbor in this Fabric.") t11FspfIfNbrPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfNbrPortIndex.setDescription("The index, as known by the neighbor, of the neighbor's\ninterface that is connected to this interface in this\nFabric.") t11FspfIfAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfAdminStatus.setDescription("The desired state of FSPF on this interface in this\nFabric, whenever 't11FspfAdminStatus' is 'up'.\nIf the value of this object is set to 'up', then FSPF is\nenabled on this interface in this Fabric. If set to\n'down', then FSPF is disabled on this interface in this\nFabric. Note that the operational state of FSPF on an\ninterface is given by t11FspfIfNbrState.") t11FspfIfCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 17), T11FspfLastCreationTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfIfCreateTime.setDescription("The value of sysUpTime when this entry was last\ncreated.") t11FspfIfSetToDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("default", 1), ("noOp", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfSetToDefault.setDescription("Setting this value to 'default' changes the value of each\nand every writable object in this row to its default\nvalue.\n\nIf all the configuration parameters have their default\nvalues, and if the interface is down, then the row is\ndeleted automatically.\n\nNo action is taken if this object is set to 'noOp'.\nThe value of the object, when read, is always 'noOp'.") t11FspfIfLinkCostFactor = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 19), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfLinkCostFactor.setDescription("The administrative factor used in calculating the cost\nof sending a frame on this interface in this Fabric.\n\nThe formula used to calculate the link cost is:\n\n Link Cost = S * (1.0625e12 / ifSpeed)\nwhere:\n S = (the value of this object / 100)\n ifSpeed = interface speed (as defined in the IF-MIB).") t11FspfIfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 20), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") t11FspfIfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 1, 2, 1, 21), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FspfIfRowStatus.setDescription("The status of the conceptual row.\n\nThis object can be used to create an entry only if there\nis an entry in the t11FspfTable for the corresponding\nFabric, and if the interface is either isolated or is a\nnon-E_port.\n\nSetting this object to 'destroy' will typically fail;\nto reverse the creation process, set the corresponding\ninstance of t11FspfIfSetToDefault to 'default'.") t11FspfIfPrevNbrState = MibScalar((1, 3, 6, 1, 2, 1, 143, 1, 1, 3), T11FspfInterfaceState()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: t11FspfIfPrevNbrState.setDescription("The previous state of FSPF's Neighbor Finite State\nMachine on an interface.\n\nThis object is only used in the\n't11FspfNbrStateChangNotify' notification.") t11FspfDatabase = MibIdentifier((1, 3, 6, 1, 2, 1, 143, 1, 2)) t11FspfLsrTable = MibTable((1, 3, 6, 1, 2, 1, 143, 1, 2, 1)) if mibBuilder.loadTexts: t11FspfLsrTable.setDescription("This table is the database of all the latest\nincarnations of the Link State Records (LSRs) that\nare currently contained in the topology database,\nfor all interfaces on all Fabrics known to\nlocally managed switches.\n\nA Fabric's topology database contains the LSRs that\nhave been either issued or received by a local switch on\nthat Fabric, and that have not reached t11FspfMaxAge.") t11FspfLsrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FSPF-MIB", "t11FspfFabricIndex"), (0, "T11-FC-FSPF-MIB", "t11FspfLsrDomainId"), (0, "T11-FC-FSPF-MIB", "t11FspfLsrType")) if mibBuilder.loadTexts: t11FspfLsrEntry.setDescription("This gives information for the most recent update of an\nLSR. There is one entry for every LSR issued or received\nby a locally managed switch (identified by\nfcmInstanceIndex and fcmSwitchIndex) in a Fabric\n(identified by t11FspfFabricIndex).") t11FspfLsrDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1, 1), FcDomainIdOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FspfLsrDomainId.setDescription("Domain Id of the LSR owner in this Fabric. It is the\nLink State Id of this LSR.") t11FspfLsrType = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1, 2), T11FspfLsrType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FspfLsrType.setDescription("Type of this LSR.") t11FspfLsrAdvDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1, 3), FcDomainIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLsrAdvDomainId.setDescription("Domain Id of the switch that is advertising the LSR on\nthe behalf of the switch owning it.") t11FspfLsrAge = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLsrAge.setDescription("The time since this LSR was inserted into the database.") t11FspfLsrIncarnationNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLsrIncarnationNumber.setDescription("The link state incarnation number of this LSR. This is\nused to identify most recent instance of an LSR while\nupdating the topology database when an LSR is received.\nThe updating of an LSR includes incrementing its\nincarnation number prior to transmission of the updated\nLSR. So, the most recent LSR is the one with the\nlargest incarnation number.") t11FspfLsrCheckSum = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLsrCheckSum.setDescription("The checksum of the LSR.") t11FspfLsrLinks = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65355))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLsrLinks.setDescription("Number of entries in the t11FspfLinkTable associated with\nthis LSR.") t11FspfLinkNumber = MibScalar((1, 3, 6, 1, 2, 1, 143, 1, 2, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLinkNumber.setDescription("The number of rows in the t11FspfLinkTable.") t11FspfLinkTable = MibTable((1, 3, 6, 1, 2, 1, 143, 1, 2, 4)) if mibBuilder.loadTexts: t11FspfLinkTable.setDescription("This table contains the list of Inter-Switch Links and\ntheir information that is part of an LSR, either\nreceived or transmitted.") t11FspfLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 143, 1, 2, 4, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FSPF-MIB", "t11FspfFabricIndex"), (0, "T11-FC-FSPF-MIB", "t11FspfLsrDomainId"), (0, "T11-FC-FSPF-MIB", "t11FspfLsrType"), (0, "T11-FC-FSPF-MIB", "t11FspfLinkIndex")) if mibBuilder.loadTexts: t11FspfLinkEntry.setDescription("An entry that contains information about a link\ncontained in an LSR in this Fabric. An entry is created\nwhenever a new link appears in an (issued or received)\nLSR. An entry is deleted when a link no longer appears\nin an (issued or received) LSR.") t11FspfLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FspfLinkIndex.setDescription("An arbitrary index of this link.") t11FspfLinkNbrDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 4, 1, 2), FcDomainIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLinkNbrDomainId.setDescription("The Domain Id of the neighbor on the other end of this\nlink in this Fabric.") t11FspfLinkPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLinkPortIndex.setDescription("The source E_port of this link, as indicated by the index\nvalue in the LSR received from the switch identified by\n't11FspfLsrDomainId'.") t11FspfLinkNbrPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 4, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLinkNbrPortIndex.setDescription("The destination E_port of this link, as indicated by the\nindex value in the LSR received from the switch identified\nby 't11FspfLinkNbrDomainId'.") t11FspfLinkType = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 4, 1, 5), T11FspfLinkType()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLinkType.setDescription("The type of this link.") t11FspfLinkCost = MibTableColumn((1, 3, 6, 1, 2, 1, 143, 1, 2, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FspfLinkCost.setDescription("The cost of sending a frame on this link in this Fabric.\nLink cost is calculated using the formula:\n\n link cost = S * (1.0625e12 / Signalling Rate)\n\nFor issued LSRs, S is determined by the value of\nt11FspfIfLinkCostFactor for the corresponding interface\n\n\n\nand Fabric.") t11FspfConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 143, 2)) t11FspfMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 143, 2, 1)) t11FspfMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 143, 2, 2)) # Augmentions # Notifications t11FspfNbrStateChangNotify = NotificationType((1, 3, 6, 1, 2, 1, 143, 0, 1)).setObjects(*(("IF-MIB", "ifIndex"), ("T11-FC-FSPF-MIB", "t11FspfIfNbrDomainId"), ("T11-FC-FSPF-MIB", "t11FspfIfNbrState"), ("T11-FC-FSPF-MIB", "t11FspfIfPrevNbrState"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamConfigDomainId"), ) ) if mibBuilder.loadTexts: t11FspfNbrStateChangNotify.setDescription("This notification signifies that there has been a change in\nthe state of an FSPF neighbor. This is generated when the\nFSPF state changes to a terminal state, through either\nregression (i.e., goes from Full to Init or Down) or\nprogression (i.e., from any state to Full). The value of\n't11FspfIfNbrState' is the state of the neighbor after the\nchange.") # Groups t11FspfGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 143, 2, 2, 1)).setObjects(*(("T11-FC-FSPF-MIB", "t11FspfAdminStatus"), ("T11-FC-FSPF-MIB", "t11FspfChecksumErrors"), ("T11-FC-FSPF-MIB", "t11FspfPathComputations"), ("T11-FC-FSPF-MIB", "t11FspfLsRefreshTime"), ("T11-FC-FSPF-MIB", "t11FspfOperStatus"), ("T11-FC-FSPF-MIB", "t11FspfCreateTime"), ("T11-FC-FSPF-MIB", "t11FspfLsrs"), ("T11-FC-FSPF-MIB", "t11FspfMaxAge"), ("T11-FC-FSPF-MIB", "t11FspfMinLsArrival"), ("T11-FC-FSPF-MIB", "t11FspfMaxAgeDiscards"), ("T11-FC-FSPF-MIB", "t11FspfSetToDefault"), ("T11-FC-FSPF-MIB", "t11FspfNbrStateChangNotifyEnable"), ("T11-FC-FSPF-MIB", "t11FspfStorageType"), ("T11-FC-FSPF-MIB", "t11FspfMinLsInterval"), ) ) if mibBuilder.loadTexts: t11FspfGeneralGroup.setDescription("A collection of objects for displaying and\nconfiguring FSPF parameters.") t11FspfIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 143, 2, 2, 2)).setObjects(*(("T11-FC-FSPF-MIB", "t11FspfIfRowStatus"), ("T11-FC-FSPF-MIB", "t11FspfIfRetransmitInterval"), ("T11-FC-FSPF-MIB", "t11FspfIfNbrState"), ("T11-FC-FSPF-MIB", "t11FspfIfDeadInterval"), ("T11-FC-FSPF-MIB", "t11FspfIfHelloInterval"), ("T11-FC-FSPF-MIB", "t11FspfIfNbrDomainId"), ("T11-FC-FSPF-MIB", "t11FspfIfPrevNbrState"), ("T11-FC-FSPF-MIB", "t11FspfIfNbrPortIndex"), ("T11-FC-FSPF-MIB", "t11FspfIfLinkCostFactor"), ("T11-FC-FSPF-MIB", "t11FspfIfSetToDefault"), ("T11-FC-FSPF-MIB", "t11FspfIfAdminStatus"), ("T11-FC-FSPF-MIB", "t11FspfIfCreateTime"), ("T11-FC-FSPF-MIB", "t11FspfIfStorageType"), ) ) if mibBuilder.loadTexts: t11FspfIfGroup.setDescription("A collection of objects for displaying the FSPF\ninterface information.") t11FspfIfCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 143, 2, 2, 3)).setObjects(*(("T11-FC-FSPF-MIB", "t11FspfIfOutLsuPkts"), ("T11-FC-FSPF-MIB", "t11FspfIfInErrorPkts"), ("T11-FC-FSPF-MIB", "t11FspfIfOutLsaPkts"), ("T11-FC-FSPF-MIB", "t11FspfIfInLsaPkts"), ("T11-FC-FSPF-MIB", "t11FspfIfInHelloPkts"), ("T11-FC-FSPF-MIB", "t11FspfIfInLsuPkts"), ("T11-FC-FSPF-MIB", "t11FspfIfRetransmittedLsuPkts"), ("T11-FC-FSPF-MIB", "t11FspfIfOutHelloPkts"), ) ) if mibBuilder.loadTexts: t11FspfIfCounterGroup.setDescription("A collection of objects for counting particular\nFSPF-packet occurrences on an interface.") t11FspfDatabaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 143, 2, 2, 4)).setObjects(*(("T11-FC-FSPF-MIB", "t11FspfLinkPortIndex"), ("T11-FC-FSPF-MIB", "t11FspfLinkNumber"), ("T11-FC-FSPF-MIB", "t11FspfLsrCheckSum"), ("T11-FC-FSPF-MIB", "t11FspfLinkNbrPortIndex"), ("T11-FC-FSPF-MIB", "t11FspfLsrAge"), ("T11-FC-FSPF-MIB", "t11FspfLinkNbrDomainId"), ("T11-FC-FSPF-MIB", "t11FspfLsrLinks"), ("T11-FC-FSPF-MIB", "t11FspfLinkCost"), ("T11-FC-FSPF-MIB", "t11FspfLsrIncarnationNumber"), ("T11-FC-FSPF-MIB", "t11FspfLinkType"), ("T11-FC-FSPF-MIB", "t11FspfLsrAdvDomainId"), ) ) if mibBuilder.loadTexts: t11FspfDatabaseGroup.setDescription("A collection of objects for displaying the FSPF\ntopology database information.") t11FspfNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 143, 2, 2, 5)).setObjects(*(("T11-FC-FSPF-MIB", "t11FspfNbrStateChangNotify"), ) ) if mibBuilder.loadTexts: t11FspfNotificationGroup.setDescription("A collection of notifications for FSPF.") # Compliances t11FspfMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 143, 2, 1, 1)).setObjects(*(("T11-FC-FSPF-MIB", "t11FspfIfCounterGroup"), ("T11-FC-FSPF-MIB", "t11FspfDatabaseGroup"), ("T11-FC-FSPF-MIB", "t11FspfGeneralGroup"), ("T11-FC-FSPF-MIB", "t11FspfNotificationGroup"), ("T11-FC-FSPF-MIB", "t11FspfIfGroup"), ) ) if mibBuilder.loadTexts: t11FspfMIBCompliance.setDescription("The compliance statement for entities that\nimplement the FSPF.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-FSPF-MIB", PYSNMP_MODULE_ID=t11FcFspfMIB) # Types mibBuilder.exportSymbols("T11-FC-FSPF-MIB", T11FspfInterfaceState=T11FspfInterfaceState, T11FspfLinkType=T11FspfLinkType, T11FspfLsrType=T11FspfLsrType, T11FspfLastCreationTime=T11FspfLastCreationTime) # Objects mibBuilder.exportSymbols("T11-FC-FSPF-MIB", t11FcFspfMIB=t11FcFspfMIB, t11FspfNotifications=t11FspfNotifications, t11FspfObjects=t11FspfObjects, t11FspfConfiguration=t11FspfConfiguration, t11FspfTable=t11FspfTable, t11FspfEntry=t11FspfEntry, t11FspfFabricIndex=t11FspfFabricIndex, t11FspfMinLsArrival=t11FspfMinLsArrival, t11FspfMinLsInterval=t11FspfMinLsInterval, t11FspfLsRefreshTime=t11FspfLsRefreshTime, t11FspfMaxAge=t11FspfMaxAge, t11FspfMaxAgeDiscards=t11FspfMaxAgeDiscards, t11FspfPathComputations=t11FspfPathComputations, t11FspfChecksumErrors=t11FspfChecksumErrors, t11FspfLsrs=t11FspfLsrs, t11FspfCreateTime=t11FspfCreateTime, t11FspfAdminStatus=t11FspfAdminStatus, t11FspfOperStatus=t11FspfOperStatus, t11FspfNbrStateChangNotifyEnable=t11FspfNbrStateChangNotifyEnable, t11FspfSetToDefault=t11FspfSetToDefault, t11FspfStorageType=t11FspfStorageType, t11FspfIfTable=t11FspfIfTable, t11FspfIfEntry=t11FspfIfEntry, t11FspfIfIndex=t11FspfIfIndex, t11FspfIfHelloInterval=t11FspfIfHelloInterval, t11FspfIfDeadInterval=t11FspfIfDeadInterval, t11FspfIfRetransmitInterval=t11FspfIfRetransmitInterval, t11FspfIfInLsuPkts=t11FspfIfInLsuPkts, t11FspfIfInLsaPkts=t11FspfIfInLsaPkts, t11FspfIfOutLsuPkts=t11FspfIfOutLsuPkts, t11FspfIfOutLsaPkts=t11FspfIfOutLsaPkts, t11FspfIfOutHelloPkts=t11FspfIfOutHelloPkts, t11FspfIfInHelloPkts=t11FspfIfInHelloPkts, t11FspfIfRetransmittedLsuPkts=t11FspfIfRetransmittedLsuPkts, t11FspfIfInErrorPkts=t11FspfIfInErrorPkts, t11FspfIfNbrState=t11FspfIfNbrState, t11FspfIfNbrDomainId=t11FspfIfNbrDomainId, t11FspfIfNbrPortIndex=t11FspfIfNbrPortIndex, t11FspfIfAdminStatus=t11FspfIfAdminStatus, t11FspfIfCreateTime=t11FspfIfCreateTime, t11FspfIfSetToDefault=t11FspfIfSetToDefault, t11FspfIfLinkCostFactor=t11FspfIfLinkCostFactor, t11FspfIfStorageType=t11FspfIfStorageType, t11FspfIfRowStatus=t11FspfIfRowStatus, t11FspfIfPrevNbrState=t11FspfIfPrevNbrState, t11FspfDatabase=t11FspfDatabase, t11FspfLsrTable=t11FspfLsrTable, t11FspfLsrEntry=t11FspfLsrEntry, t11FspfLsrDomainId=t11FspfLsrDomainId, t11FspfLsrType=t11FspfLsrType, t11FspfLsrAdvDomainId=t11FspfLsrAdvDomainId, t11FspfLsrAge=t11FspfLsrAge, t11FspfLsrIncarnationNumber=t11FspfLsrIncarnationNumber, t11FspfLsrCheckSum=t11FspfLsrCheckSum, t11FspfLsrLinks=t11FspfLsrLinks, t11FspfLinkNumber=t11FspfLinkNumber, t11FspfLinkTable=t11FspfLinkTable, t11FspfLinkEntry=t11FspfLinkEntry, t11FspfLinkIndex=t11FspfLinkIndex, t11FspfLinkNbrDomainId=t11FspfLinkNbrDomainId, t11FspfLinkPortIndex=t11FspfLinkPortIndex, t11FspfLinkNbrPortIndex=t11FspfLinkNbrPortIndex, t11FspfLinkType=t11FspfLinkType, t11FspfLinkCost=t11FspfLinkCost, t11FspfConformance=t11FspfConformance, t11FspfMIBCompliances=t11FspfMIBCompliances, t11FspfMIBGroups=t11FspfMIBGroups) # Notifications mibBuilder.exportSymbols("T11-FC-FSPF-MIB", t11FspfNbrStateChangNotify=t11FspfNbrStateChangNotify) # Groups mibBuilder.exportSymbols("T11-FC-FSPF-MIB", t11FspfGeneralGroup=t11FspfGeneralGroup, t11FspfIfGroup=t11FspfIfGroup, t11FspfIfCounterGroup=t11FspfIfCounterGroup, t11FspfDatabaseGroup=t11FspfDatabaseGroup, t11FspfNotificationGroup=t11FspfNotificationGroup) # Compliances mibBuilder.exportSymbols("T11-FC-FSPF-MIB", t11FspfMIBCompliance=t11FspfMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SIP-COMMON-MIB.py0000644000014400001440000020537411736645137021072 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SIP-COMMON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:37 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetPortNumber") ( applIndex, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "applIndex") ( SipTCEntityRole, SipTCMethodName, SipTCOptionTagHeaders, SipTCTransportProtocol, ) = mibBuilder.importSymbols("SIP-TC-MIB", "SipTCEntityRole", "SipTCMethodName", "SipTCOptionTagHeaders", "SipTCTransportProtocol") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TimeStamp", "TruthValue") # Objects sipCommonMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 149)).setRevisions(("2007-04-20 00:00",)) if mibBuilder.loadTexts: sipCommonMIB.setOrganization("IETF Session Initiation Protocol Working Group") if mibBuilder.loadTexts: sipCommonMIB.setContactInfo("SIP WG email: sip@ietf.org\n\nCo-editor Kevin Lingle\n Cisco Systems, Inc.\npostal: 7025 Kit Creek Road\n P.O. Box 14987\n Research Triangle Park, NC 27709\n USA\nemail: klingle@cisco.com\nphone: +1 919 476 2029\n\nCo-editor Joon Maeng\nemail: jmaeng@austin.rr.com\n\nCo-editor Jean-Francois Mule\n CableLabs\n\n\npostal: 858 Coal Creek Circle\n Louisville, CO 80027\n USA\nemail: jf.mule@cablelabs.com\nphone: +1 303 661 9100\n\nCo-editor Dave Walker\nemail: drwalker@rogers.com") if mibBuilder.loadTexts: sipCommonMIB.setDescription("Session Initiation Protocol (SIP) Common MIB module. This\nmodule defines objects that may be common to all SIP entities.\n\nSIP is an application-layer signaling protocol for creating,\nmodifying and terminating multimedia sessions with one or more\nparticipants. These sessions include Internet multimedia\nconferences and Internet telephone calls. SIP is defined in\nRFC 3261 (June 2002).\n\nThis MIB is defined for managing objects that are common to\nSIP User Agents (UAs), Proxy, Redirect, and Registrar servers.\nObjects specific to each of these entities MAY be managed using\nentity specific MIBs defined in other modules.\n\nCopyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4780; see the RFC itself for\nfull legal notices.") sipCommonMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 0)) sipCommonMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1)) sipCommonCfgBase = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 1)) sipCommonCfgTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 1, 1)) if mibBuilder.loadTexts: sipCommonCfgTable.setDescription("This table contains the common configuration objects applicable\nto all SIP entities.") sipCommonCfgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipCommonCfgEntry.setDescription("A row of common configuration.\n\nEach row represents objects for a particular SIP entity\ninstance present in this system. applIndex is used to uniquely\nidentify these instances of SIP entities and correlate them\nthrough the common framework of the NETWORK-SERVICES-MIB (RFC\n2788).") sipCommonCfgProtocolVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgProtocolVersion.setDescription("This object will reflect the version of SIP supported by this\nSIP entity. It will follow the same format as SIP version\ninformation contained in the SIP messages generated by this SIP\nentity. For example, entities supporting SIP version 2 will\nreturn 'SIP/2.0' as dictated by the standard.") sipCommonCfgServiceOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,7,5,1,6,2,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("up", 2), ("down", 3), ("congested", 4), ("restarting", 5), ("quiescing", 6), ("testing", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgServiceOperStatus.setDescription("This object contains the current operational state of\nthe SIP application.\n\nunknown : The operational status cannot be determined\n for some reason.\nup : The application is operating normally and is\n processing (receiving and possibly issuing) SIP\n requests and responses.\ndown : The application is currently unable to process\n SIP messages.\ncongested : The application is operational but no additional\n\n\n\n inbound transactions can be accommodated at the\n moment.\nrestarting : The application is currently unavailable, but it\n is in the process of restarting and will\n presumably, soon be able to process SIP messages.\nquiescing : The application is currently operational\n but has been administratively put into\n quiescence mode. Additional inbound\n transactions MAY be rejected.\ntesting : The application is currently in test mode\n and MAY not be able to process SIP messages.\n\nThe operational status values defined for this object are not\nbased on any specific information contained in the SIP\nstandard.") sipCommonCfgServiceStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgServiceStartTime.setDescription("The value of sysUpTime at the time the SIP entity was last\nstarted. If started prior to the last re-initialization of the\nlocal network management subsystem, then this object contains a\nzero value.") sipCommonCfgServiceLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgServiceLastChange.setDescription("The value of sysUpTime at the time the SIP entity entered its\ncurrent operational state. If the current state was entered\nprior to the last re-initialization of the local network\nmanagement subsystem, then this object contains a zero value.") sipCommonCfgOrganization = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgOrganization.setDescription("This object contains the organization name that the SIP entity\ninserts into Organization headers of SIP messages processed by\nthis system. If the string is empty, no Organization header is\nto be generated.") sipCommonCfgMaxTransactions = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgMaxTransactions.setDescription("This object indicates the maximum number of simultaneous\ntransactions per second that the SIP entity can manage. In\ngeneral, the value of this object SHOULD reflect a level of\ntransaction processing per second that is considered high\nenough to impact the system's CPU and/or memory resources to\nthe point of deteriorating SIP call processing but not high\nenough to cause catastrophic system failure.") sipCommonCfgServiceNotifEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 7), Bits().subtype(namedValues=NamedValues(("sipCommonServiceColdStart", 0), ("sipCommonServiceWarmStart", 1), ("sipCommonServiceStatusChanged", 2), )).clone(("sipCommonServiceColdStart","sipCommonServiceWarmStart",))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sipCommonCfgServiceNotifEnable.setDescription("This object specifies which SIP service related notifications\nare enabled. Each bit represents a specific notification. If\na bit has a value 1, the associated notification is enabled and\nwill be generated by the SIP entity at the appropriate time.\n\nSupport for these notifications is OPTIONAL: either none or all\nnotification values are supported. If an implementation does\nnot support this object, it should return a 'noSuchObject'\nexception to an SNMP GET operation. If notifications are\nsupported, this object's default value SHOULD reflect\nsipCommonServiceColdStart and sipCommonServiceWarmStart enabled\nand sipCommonServiceStatusChanged disabled.\n\nThis object value SHOULD persist across reboots.") sipCommonCfgEntityType = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 1, 1, 8), SipTCEntityRole()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgEntityType.setDescription("This object identifies the list of SIP entities to which this\nrow is related. It is defined as a bit map. Each bit\nrepresents a type of SIP entity. If a bit has value 1, the\nSIP entity represented by this row plays the role of this\nentity type. If a bit has value 0, the SIP entity represented\nby this row does not act as this entity type. Combinations\nof bits can be set when the SIP entity plays multiple SIP\nroles.") sipCommonPortTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 1, 2)) if mibBuilder.loadTexts: sipCommonPortTable.setDescription("This table contains the list of ports that each SIP entity in\nthis system is allowed to use. These ports can be advertised\nusing the Contact header in a REGISTER request or response.") sipCommonPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 1, 2, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-COMMON-MIB", "sipCommonPort")) if mibBuilder.loadTexts: sipCommonPortEntry.setDescription("Specification of a particular port.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonPort = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 2, 1, 1), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipCommonPort.setDescription("This object reflects a particular port that can be used by the\nSIP application.") sipCommonPortTransportRcv = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 2, 1, 2), SipTCTransportProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonPortTransportRcv.setDescription("This object will specify the transport protocol the SIP entity\nwill use to receive SIP messages.\n\nThis object is a bit map. Each bit represents a transport\nprotocol. If a bit has value 1, then that transport protocol\nis currently being used. If a bit has value 0, then that\ntransport protocol is currently not being used.") sipCommonOptionTagTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 1, 3)) if mibBuilder.loadTexts: sipCommonOptionTagTable.setDescription("This table contains a list of the SIP option tags (SIP\nextensions) that are either required, supported, or\nunsupported by the SIP entity. These option tags are\nused in the Require, Proxy-Require, Supported, and\nUnsupported header fields.\n\nExample: If a user agent client supports, and requires the\nserver to support, reliability of provisional responses\n(RFC 3262), this table contains a row with the option tag string\n'100rel' in sipCommonOptionTag and the OCTET STRING value of\n'1010 0000' or '0xA0' in sipCommonOptionTagHeaderField.\n\nIf a server does not support the required feature (indicated in\na Require header to a UAS, or in a Proxy-Require to a Proxy\nServer), the server returns a 420 Bad Extension listing the\nfeature in an Unsupported header.\n\nNormally, the list of such features supported by an entity is\nstatic (i.e., will not change over time).") sipCommonOptionTagEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 1, 3, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-COMMON-MIB", "sipCommonOptionTagIndex")) if mibBuilder.loadTexts: sipCommonOptionTagEntry.setDescription("A particular SIP option tag (extension) supported or\nunsupported by the SIP entity, and which may be supported or\nrequired by a peer.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonOptionTagIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipCommonOptionTagIndex.setDescription("This object uniquely identifies a conceptual row in the table.") sipCommonOptionTag = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 3, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonOptionTag.setDescription("This object indicates the SIP option tag. The option tag names\nare registered with IANA and available at http://www.iana.org.") sipCommonOptionTagHeaderField = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 3, 1, 3), SipTCOptionTagHeaders()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonOptionTagHeaderField.setDescription("This object indicates whether the SIP option tag is supported\n(Supported header), unsupported (Unsupported header), or\nrequired (Require or Proxy-Require header) by the SIP entity.\nA SIP option tag may be both supported and required.") sipCommonMethodSupportedTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 1, 4)) if mibBuilder.loadTexts: sipCommonMethodSupportedTable.setDescription("This table contains a list of methods supported by each SIP\nentity in this system (see the standard set of SIP methods in\nSection 7.1 of RFC 3261). Any additional methods that may be\nincorporated into the SIP protocol can be represented by this\ntable without any requirement to update this MIB module.\n\nThe table is informational in nature and conveys capabilities\nof the managed system to the SNMP Manager.\n\nFrom a protocol point of view, the list of methods advertised\nby the SIP entity in the Allow header (Section 20.5 of RFC\n3261) MUST be consistent with the methods reflected in this\ntable.") sipCommonMethodSupportedEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 1, 4, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-COMMON-MIB", "sipCommonMethodSupportedIndex")) if mibBuilder.loadTexts: sipCommonMethodSupportedEntry.setDescription("A particular method supported by the SIP entity.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonMethodSupportedIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipCommonMethodSupportedIndex.setDescription("This object uniquely identifies a conceptual row in the table\nand reflects an assigned number used to identify a specific\nSIP method.\n\nThis identifier is suitable for referencing the associated\nmethod throughout this and other MIBs supported by this managed\nsystem.") sipCommonMethodSupportedName = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 1, 4, 1, 2), SipTCMethodName()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonMethodSupportedName.setDescription("This object reflects the supported method's name. The method\nname MUST be all upper case (e.g., 'INVITE').") sipCommonCfgTimer = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 2)) sipCommonCfgTimerTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 2, 1)) if mibBuilder.loadTexts: sipCommonCfgTimerTable.setDescription("This table contains timer configuration objects applicable to\nSIP user agent and SIP stateful Proxy Server entities.") sipCommonCfgTimerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipCommonCfgTimerEntry.setDescription("A row of timer configuration.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).\nThe objects in this table entry SHOULD be non-volatile and\ntheir value SHOULD be kept at reboot.") sipCommonCfgTimerA = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 1000)).clone(500)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerA.setDescription("This object reflects the initial value for the retransmit timer\nfor the INVITE method. The retransmit timer doubles after each\nretransmission, ensuring an exponential backoff in network\ntraffic. This object represents the initial time a SIP entity\nwill wait to receive a provisional response to an INVITE before\nresending the INVITE request.") sipCommonCfgTimerB = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(32000, 300000)).clone(32000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerB.setDescription("This object reflects the maximum time a SIP entity will wait to\nreceive a final response to an INVITE. The timer is started\nupon transmission of the initial INVITE request.") sipCommonCfgTimerC = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(180000, 300000)).clone(180000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerC.setDescription("This object reflects the maximum time a SIP Proxy Server will\nwait to receive a provisional response to an INVITE. The Timer\nC MUST be set for each client transaction when an INVITE\nrequest is proxied.") sipCommonCfgTimerD = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 300000)).clone(32000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerD.setDescription("This object reflects the amount of time that the server\ntransaction can remain in the 'Completed' state when unreliable\ntransports are used. The default value MUST be equal to or\ngreater than 32000 for UDP transport, and its value MUST be 0\nfor TCP/SCTP transport.") sipCommonCfgTimerE = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 1000)).clone(500)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerE.setDescription("This object reflects the initial value for the retransmit timer\nfor a non-INVITE method while in 'Trying' state. The\nretransmit timer doubles after each retransmission until it\nreaches T2 to ensure an exponential backoff in network traffic.\nThis object represents the initial time a SIP entity will wait\nto receive a provisional response to the request before\nresending the non-INVITE request.") sipCommonCfgTimerF = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(32000, 300000)).clone(32000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerF.setDescription("This object reflects the maximum time a SIP entity will wait to\nreceive a final response to a non-INVITE request. The timer is\nstarted upon transmission of the initial request.") sipCommonCfgTimerG = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000)).clone(500)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerG.setDescription("This object reflects the initial value for the retransmit timer\nfor final responses to INVITE requests. If timer G fires, the\nresponse is passed to the transport layer again for\nretransmission, and timer G is set to fire in MIN(2*T1, T2)\nseconds. From then on, when timer G fires, the response is\npassed to the transport again for transmission, and timer G is\nreset with a value that doubles, unless that value exceeds T2,\nin which case, it is reset with the value of T2. The default\nvalue MUST be T1 for UDP transport, and its value MUST be 0 for\nreliable transport like TCP/SCTP.") sipCommonCfgTimerH = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(32000, 300000)).clone(32000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerH.setDescription("This object reflects the maximum time a server will wait to\nreceive an ACK before it abandons retransmitting the response.\n\n\n\nThe timer is started upon entering the 'Completed' state.") sipCommonCfgTimerI = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000)).clone(5000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerI.setDescription("This object reflects the maximum time a SIP entity will wait to\nreceive additional ACK message retransmissions.\n\nThe timer is started upon entering the 'Confirmed' state. The\ndefault value MUST be T4 for UDP transport and its value MUST\nbe 0 for reliable transport like TCP/SCTP.") sipCommonCfgTimerJ = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(32000, 300000)).clone(32000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerJ.setDescription("This object reflects the maximum time a SIP server will wait to\nreceive retransmissions of non-INVITE requests. The timer is\nstarted upon entering the 'Completed' state for non-INVITE\ntransactions. When timer J fires, the server MUST transition to\nthe 'Terminated' state.") sipCommonCfgTimerK = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000)).clone(5000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerK.setDescription("This object reflects the maximum time a SIP client will wait to\nreceive retransmissions of responses to non-INVITE requests.\nThe timer is started upon entering the 'Completed' state for\n\n\n\nnon-INVITE transactions. When timer K fires, the server MUST\ntransition to the 'Terminated' state. The default value MUST\nbe T4 for UDP transport, and its value MUST be 0 for reliable\ntransport like TCP/SCTP.") sipCommonCfgTimerT1 = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(200, 10000)).clone(500)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerT1.setDescription("This object reflects the T1 timer for a SIP entity. T1 is an\nestimate of the round-trip time (RTT) between the client and\nserver transactions.") sipCommonCfgTimerT2 = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(200, 10000)).clone(4000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerT2.setDescription("This object reflects the T2 timer for a SIP entity. T2 is the\nmaximum retransmit interval for non-INVITE requests and INVITE\nresponses. It's used in various parts of the protocol to reset\nother Timer* objects to this value.") sipCommonCfgTimerT4 = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 2, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(200, 10000)).clone(5000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonCfgTimerT4.setDescription("This object reflects the T4 timer for a SIP entity. T4 is the\nmaximum duration a message will remain in the network. It\nrepresents the amount of time the network will take to clear\nmessages between client and server transactions. It's used in\n\n\n\nvarious parts of the protocol to reset other Timer* objects to\nthis value.") sipCommonSummaryStats = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 3)) sipCommonSummaryStatsTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 3, 1)) if mibBuilder.loadTexts: sipCommonSummaryStatsTable.setDescription("This table contains the summary statistics objects applicable\nto all SIP entities. Each row represents those objects for a\nparticular SIP entity present in this system.") sipCommonSummaryStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 3, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipCommonSummaryStatsEntry.setDescription("A row of summary statistics.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonSummaryInRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonSummaryInRequests.setDescription("This object indicates the total number of SIP request messages\nreceived by the SIP entity, including retransmissions.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonSummaryDisconTime object in the same\nrow.") sipCommonSummaryOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonSummaryOutRequests.setDescription("This object contains the total number of SIP request messages\nsent out (originated and relayed) by the SIP entity. Where a\nparticular message is sent more than once, for example as a\nretransmission or as a result of forking, each transmission is\ncounted separately.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonSummaryDisconTime object in the same\nrow.") sipCommonSummaryInResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonSummaryInResponses.setDescription("This object contains the total number of SIP response messages\nreceived by the SIP entity, including retransmissions.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonSummaryDisconTime object in the same\nrow.") sipCommonSummaryOutResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonSummaryOutResponses.setDescription("This object contains the total number of SIP response messages\nsent (originated and relayed) by the SIP entity including\nretransmissions.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonSummaryDisconTime object in the same\nrow.") sipCommonSummaryTotalTransactions = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonSummaryTotalTransactions.setDescription("This object contains a count of the number of transactions that\nare in progress and transactions that have reached the\n'Terminated' state. It is not applicable to stateless SIP Proxy\nServers.\n\nA SIP transaction occurs between a client and a server, and\ncomprises all messages from the first request sent from the\nclient to the server, up to a final (non-1xx) response sent\nfrom the server to the client.\n\nIf the request is INVITE and the final response is a non-2xx,\nthe transaction also include an ACK to the response. The ACK\nfor a 2xx response to an INVITE request is a separate\ntransaction.\n\nThe branch ID parameter in the Via header field values serves\nas a transaction identifier.\n\nA transaction is identified by the CSeq sequence number within\na single call leg. The ACK request has the same CSeq number as\nthe corresponding INVITE request, but comprises a transaction\nof its own.\n\nIn the case of a forked request, each branch counts as a single\ntransaction.\n\nFor a transaction stateless Proxy Server, this counter is\nalways 0.\n\n\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonSummaryDisconTime object in the same\nrow.") sipCommonSummaryDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 3, 1, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonSummaryDisconTime.setDescription("The value of the sysUpTime object when the counters for the\nsummary statistics objects in this row last experienced a\ndiscontinuity.") sipCommonMethodStats = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 4)) sipCommonMethodStatsTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 4, 1)) if mibBuilder.loadTexts: sipCommonMethodStatsTable.setDescription("This table contains the method statistics objects for SIP\nentities. Each row represents those objects for a particular\nSIP entity present in this system.") sipCommonMethodStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 4, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-COMMON-MIB", "sipCommonMethodStatsName")) if mibBuilder.loadTexts: sipCommonMethodStatsEntry.setDescription("A row of per entity method statistics.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonMethodStatsName = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 4, 1, 1, 1), SipTCMethodName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipCommonMethodStatsName.setDescription("This object uniquely identifies the SIP method related to the\nobjects in a particular row.") sipCommonMethodStatsOutbounds = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 4, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonMethodStatsOutbounds.setDescription("This object reflects the total number of requests sent by the\nSIP entity, excluding retransmissions. Retransmissions are\ncounted separately and are not reflected in this counter. A\nManagement Station can detect discontinuities in this counter\nby monitoring the sipCommonMethodStatsDisconTime object in the\nsame row.") sipCommonMethodStatsInbounds = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 4, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonMethodStatsInbounds.setDescription("This object reflects the total number of requests received by\nthe SIP entity. Retransmissions are counted separately and are\nnot reflected in this counter. A Management Station can detect\ndiscontinuities in this counter by monitoring the\nsipCommonMethodStatsDisconTime object in the same row.") sipCommonMethodStatsDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 4, 1, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonMethodStatsDisconTime.setDescription("The value of the sysUpTime object when the counters for the\nmethod statistics objects in this row last experienced a\ndiscontinuity.") sipCommonStatusCode = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 5)) sipCommonStatusCodeTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 5, 1)) if mibBuilder.loadTexts: sipCommonStatusCodeTable.setDescription("This table contains the list of SIP status codes that each SIP\nentity in this system has been requested to monitor. It is the\nmechanism by which specific status codes are monitored.\nEntries created in this table must not persist across reboots.") sipCommonStatusCodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 5, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-COMMON-MIB", "sipCommonStatusCodeMethod"), (0, "SIP-COMMON-MIB", "sipCommonStatusCodeValue")) if mibBuilder.loadTexts: sipCommonStatusCodeEntry.setDescription("This row contains information on a particular SIP status code\nthat the SIP entity has been requested to monitor. Entries\ncreated in this table must not persist across reboots.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonStatusCodeMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 1, 1, 1), SipTCMethodName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipCommonStatusCodeMethod.setDescription("This object uniquely identifies a conceptual row in the\ntable.") sipCommonStatusCodeValue = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 999))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipCommonStatusCodeValue.setDescription("This object contains a SIP status code value that the SIP\nentity has been requested to monitor. All of the other\ninformation in the row is related to this value.") sipCommonStatusCodeIns = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonStatusCodeIns.setDescription("This object reflects the total number of response messages\nreceived by the SIP entity with the status code value contained\nin the sipCommonStatusCodeValue column.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service, or when the\nmonitoring of the status code is temporarily disabled. A\nManagement Station can detect discontinuities in this counter\nby monitoring the sipCommonStatusCodeDisconTime object in the\nsame row.") sipCommonStatusCodeOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonStatusCodeOuts.setDescription("This object reflects the total number of response messages sent\nby the SIP entity with the status code value contained in the\nsipCommonStatusCodeValue column.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service, or when the\nmonitoring of the Status code is temporarily disabled. A\nManagement Station can detect discontinuities in this counter\nby monitoring the sipCommonStatusCodeDisconTime object in the\nsame row.") sipCommonStatusCodeRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sipCommonStatusCodeRowStatus.setDescription("The row augmentation in sipCommonStatusCodeNotifTable will be\ngoverned by the value of this RowStatus.\n\nThe values 'createAndGo' and 'destroy' are the only valid\nvalues allowed for this object. If a row exists, it will\nreflect a status of 'active' when queried.") sipCommonStatusCodeDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 1, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonStatusCodeDisconTime.setDescription("The value of the sysUpTime object when the counters for the\nstatus code statistics objects in this row last experienced\na discontinuity.") sipCommonStatusCodeNotifTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 5, 2)) if mibBuilder.loadTexts: sipCommonStatusCodeNotifTable.setDescription("This table contains objects to control notifications related to\nparticular status codes that each SIP entity in this system has\nbeen requested to monitor.\n\nThere is an entry in this table corresponding to each entry in\nsipCommonStatusCodeTable. Therefore, this table augments\nsipCommonStatusCodeTable and utilizes the same index\nmethodology.\n\nThe objects in this table are not included directly in the\nsipCommonStatusCodeTable simply to keep the status code\nnotification control objects separate from the actual status\ncode statistics.") sipCommonStatusCodeNotifEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 5, 2, 1)) if mibBuilder.loadTexts: sipCommonStatusCodeNotifEntry.setDescription("This row contains information controlling notifications for a\nparticular SIP status code that the SIP entity has been\nrequested to monitor.") sipCommonStatusCodeNotifSend = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 2, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sipCommonStatusCodeNotifSend.setDescription("This object controls whether a sipCommonStatusCodeNotif is\nemitted when the status code value specified by\nsipCommonStatusCodeValue is sent or received. If the value of\nthis object is 'true', then a notification is sent. If it is\n'false', no notification is sent.\nNote well that a notification MAY be emitted for every message\nsent or received that contains the particular status code.\nDepending on the status code involved, this can cause a\nsignificant number of notification emissions that could be\ndetrimental to network performance. Managers are forewarned to\nbe prudent in the use of this object to enable notifications.\nLook to sipCommonStatusCodeNotifEmitMode for alternative\ncontrols for sipCommonStatusCodeNotif emissions.") sipCommonStatusCodeNotifEmitMode = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("normal", 1), ("oneShot", 2), ("triggered", 3), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sipCommonStatusCodeNotifEmitMode.setDescription("The object sipCommonStatusCodeNotifSend MUST be set to 'true'\nfor the values of this object to have any effect. It is\nRECOMMENDED that the desired emit mode be established by this\nobject prior to setting sipCommonStatusCodeNotifSend to 'true'.\nThis object and the sipCommonStatusCodeNotifSend object can\nobviously be set independently, but their respective values\nwill have a dependency on each other and the resulting\nnotifications.\n\nThis object specifies the mode for emissions of\nsipCommonStatusCodeNotif notifications.\n\nnormal : sipCommonStatusCodeNotif notifications will be\n emitted by the system for each SIP response\n message sent or received that contains the\n desired status code.\n\noneShot : Only one sipCommonStatusCodeNotif notification\n will be emitted. It will be the next SIP response\n message sent or received that contains the\n desired status code.\n\n No more notifications are emitted until this\n object is set to 'oneShot' again or set to\n 'normal'. This option is provided as a means of\n quelling the potential promiscuous behavior that\n can be associated with the\n sipCommonStatusCodeNotif.\n\ntriggered : This value is only readable and cannot be set. It\n reflects that the 'oneShot' case has occurred,\n and indicates that the mode needs to be reset to\n get further notifications. The mode is reset by\n setting this object to 'oneShot' or 'normal'.") sipCommonStatusCodeNotifThresh = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 2, 1, 3), Unsigned32().clone(500)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sipCommonStatusCodeNotifThresh.setDescription("This object specifies the number of response messages sent or\nreceived by this system that are considered excessive. Based\non crossing that threshold, a\nsipCommonStatusCodeThreshExceededInNotif notification or a\nsipCommonStatusCodeThreshExceededOutNotif will be sent. The\nsipCommonStatusCodeThreshExceededInNotif and\n\n\n\nsipCommonStatusCodeThreshExceededOutNotif notifications can be\nused as an early warning mechanism in lieu of using\nsipCommonStatusCodeNotif.\n\nNote that the configuration applied by this object will be\napplied equally to inbound and outbound response messages.") sipCommonStatusCodeNotifInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 5, 2, 1, 4), Unsigned32().clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sipCommonStatusCodeNotifInterval.setDescription("This object specifies the time interval over which, if\nsipCommonStatusCodeThresh is exceeded with respect to sent or\nreceived messages, a sipCommonStatusCodeThreshExceededInNotif\nor sipCommonStatusCodeThreshExceededOutNotif notification will\nbe sent.\n\nNote that the configuration applied by this object will be\napplied equally to inbound and outbound response messages.") sipCommonStatsTrans = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 6)) sipCommonTransCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 6, 1)) if mibBuilder.loadTexts: sipCommonTransCurrentTable.setDescription("This table contains information on the transactions currently\nawaiting definitive responses by each SIP entity in this\nsystem.\n\nThis table does not apply to transaction stateless Proxy\nServers.") sipCommonTransCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 6, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipCommonTransCurrentEntry.setDescription("Information on a particular SIP entity's current transactions.\n\n\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonTransCurrentactions = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 6, 1, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonTransCurrentactions.setDescription("This object contains the number of transactions awaiting\ndefinitive (non-1xx) response. In the case of a forked\nrequest, each branch counts as a single transaction\ncorresponding to the entity identified by applIndex.") sipCommonStatsRetry = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 7)) sipCommonStatsRetryTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 7, 1)) if mibBuilder.loadTexts: sipCommonStatsRetryTable.setDescription("This table contains retry statistics objects applicable to each\nSIP entity in this system.") sipCommonStatsRetryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 7, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-COMMON-MIB", "sipCommonStatsRetryMethod")) if mibBuilder.loadTexts: sipCommonStatsRetryEntry.setDescription("A row of retry statistics.\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through the\ncommon framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonStatsRetryMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 7, 1, 1, 1), SipTCMethodName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipCommonStatsRetryMethod.setDescription("This object uniquely identifies the SIP method related to the\nobjects in a row.") sipCommonStatsRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 7, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonStatsRetries.setDescription("This object reflects the total number of request\nretransmissions that have been sent by the SIP entity. Note\nthat there could be multiple retransmissions per request.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonStatsRetryDisconTime object in the same\nrow.") sipCommonStatsRetryFinalResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 7, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonStatsRetryFinalResponses.setDescription("This object reflects the total number of Final Response retries\nthat have been sent by the SIP entity. Note that there could\nbe multiple retransmissions per request.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\n\n\n\nmonitoring the sipCommonStatsRetryDisconTime object in the same\nrow.") sipCommonStatsRetryNonFinalResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 7, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonStatsRetryNonFinalResponses.setDescription("This object reflects the total number of non-Final Response\nretries that have been sent by the SIP entity.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonStatsRetryDisconTime object in the same\nrow.") sipCommonStatsRetryDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 7, 1, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonStatsRetryDisconTime.setDescription("The value of the sysUpTime object when the counters for the\nretry statistics objects in this row last experienced a\ndiscontinuity.") sipCommonOtherStats = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 8)) sipCommonOtherStatsTable = MibTable((1, 3, 6, 1, 2, 1, 149, 1, 8, 1)) if mibBuilder.loadTexts: sipCommonOtherStatsTable.setDescription("This table contains other common statistics supported by each\nSIP entity in this system.") sipCommonOtherStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 149, 1, 8, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: sipCommonOtherStatsEntry.setDescription("Information on a particular SIP entity's other common\nstatistics.\n\n\n\nEach row represents those objects for a particular SIP entity\npresent in this system. applIndex is used to uniquely identify\nthese instances of SIP entities and correlate them through\nthe common framework of the NETWORK-SERVICES-MIB (RFC 2788).") sipCommonOtherStatsNumUnsupportedUris = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 8, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonOtherStatsNumUnsupportedUris.setDescription("Number of RequestURIs received with an unsupported scheme.\nA server normally responds to such requests with a 400 Bad\nRequest status code.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonOtherStatsDisconTime object in the same\nrow.") sipCommonOtherStatsNumUnsupportedMethods = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 8, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonOtherStatsNumUnsupportedMethods.setDescription("Number of SIP requests received with unsupported methods. A\nserver normally responds to such requests with a 501 (Not\nImplemented) or 405 (Method Not Allowed).\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonOtherStatsDisconTime object in the same\nrow.") sipCommonOtherStatsOtherwiseDiscardedMsgs = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 8, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonOtherStatsOtherwiseDiscardedMsgs.setDescription("Number of SIP messages received that, for any number of\nreasons, was discarded without a response.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the SIP entity or service. A Management\nStation can detect discontinuities in this counter by\nmonitoring the sipCommonOtherStatsDisconTime object in the same\nrow.") sipCommonOtherStatsDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 149, 1, 8, 1, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipCommonOtherStatsDisconTime.setDescription("The value of the sysUpTime object when the counters for the\nstatistics objects in this row last experienced a\ndiscontinuity.") sipCommonNotifObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 1, 9)) sipCommonStatusCodeNotifTo = MibScalar((1, 3, 6, 1, 2, 1, 149, 1, 9, 1), SnmpAdminString()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: sipCommonStatusCodeNotifTo.setDescription("This object contains the value of the To header in the message\ncontaining the status code that caused the notification. The\nheader name will be part of this object value. For example,\n'To: Watson '.") sipCommonStatusCodeNotifFrom = MibScalar((1, 3, 6, 1, 2, 1, 149, 1, 9, 2), SnmpAdminString()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: sipCommonStatusCodeNotifFrom.setDescription("This object contains the value of the From header in the\nmessage containing the status code that caused the\n\n\n\nnotification. The header name will be part of this object\nvalue. For example, 'From: Watson '.") sipCommonStatusCodeNotifCallId = MibScalar((1, 3, 6, 1, 2, 1, 149, 1, 9, 3), SnmpAdminString()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: sipCommonStatusCodeNotifCallId.setDescription("This object contains the value of the Call-ID in the message\ncontaining the status code that caused the notification. The\nheader name will be part of this object value. For example,\n'Call-ID: 5551212@example.com'.") sipCommonStatusCodeNotifCSeq = MibScalar((1, 3, 6, 1, 2, 1, 149, 1, 9, 4), Unsigned32()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: sipCommonStatusCodeNotifCSeq.setDescription("This object contains the CSeq value in the message containing\nthe status code that caused the notification. The header name\nwill be part of this object value. For example, 'CSeq: 1722\nINVITE'.") sipCommonNotifApplIndex = MibScalar((1, 3, 6, 1, 2, 1, 149, 1, 9, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: sipCommonNotifApplIndex.setDescription("This object contains the applIndex as described in RFC 2788.\nThis object is created in order to allow a variable binding\ncontaining a value of applIndex in a notification.") sipCommonNotifSequenceNumber = MibScalar((1, 3, 6, 1, 2, 1, 149, 1, 9, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: sipCommonNotifSequenceNumber.setDescription("This object contains a sequence number for each notification\ngenerated by this SIP entity. Each notification SHOULD have a\nunique sequence number. A network manager can use this\ninformation to determine whether notifications from a\n\n\n\nparticular SIP entity have been missed. The value of this\nobject MUST start at 1 and increase by 1 with each generated\nnotification. If a system restarts, the sequence number MAY\nstart again from 1.") sipCommonMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 2)) sipCommonMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 2, 1)) sipCommonMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 149, 2, 2)) # Augmentions sipCommonStatusCodeEntry.registerAugmentions(("SIP-COMMON-MIB", "sipCommonStatusCodeNotifEntry")) sipCommonStatusCodeNotifEntry.setIndexNames(*sipCommonStatusCodeEntry.getIndexNames()) # Notifications sipCommonStatusCodeNotif = NotificationType((1, 3, 6, 1, 2, 1, 149, 0, 1)).setObjects(*(("SIP-COMMON-MIB", "sipCommonStatusCodeNotifFrom"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifCSeq"), ("SIP-COMMON-MIB", "sipCommonStatusCodeOuts"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifCallId"), ("SIP-COMMON-MIB", "sipCommonStatusCodeIns"), ("SIP-COMMON-MIB", "sipCommonNotifSequenceNumber"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifTo"), ("SIP-COMMON-MIB", "sipCommonNotifApplIndex"), ) ) if mibBuilder.loadTexts: sipCommonStatusCodeNotif.setDescription("Signifies that a specific status code has been sent or received\nby the system.") sipCommonStatusCodeThreshExceededInNotif = NotificationType((1, 3, 6, 1, 2, 1, 149, 0, 2)).setObjects(*(("SIP-COMMON-MIB", "sipCommonStatusCodeIns"), ("SIP-COMMON-MIB", "sipCommonNotifSequenceNumber"), ("SIP-COMMON-MIB", "sipCommonNotifApplIndex"), ) ) if mibBuilder.loadTexts: sipCommonStatusCodeThreshExceededInNotif.setDescription("Signifies that a specific status code was found to have been\nreceived by the system frequently enough to exceed the\nconfigured threshold. This notification can be used as\nan early warning mechanism in lieu of using\nsipCommonStatusCodeNotif.") sipCommonStatusCodeThreshExceededOutNotif = NotificationType((1, 3, 6, 1, 2, 1, 149, 0, 3)).setObjects(*(("SIP-COMMON-MIB", "sipCommonStatusCodeOuts"), ("SIP-COMMON-MIB", "sipCommonNotifSequenceNumber"), ("SIP-COMMON-MIB", "sipCommonNotifApplIndex"), ) ) if mibBuilder.loadTexts: sipCommonStatusCodeThreshExceededOutNotif.setDescription("Signifies that a specific status code was found to have been\nsent by the system enough to exceed the configured threshold.\nThis notification can be used as an early warning mechanism in\nlieu of using sipCommonStatusCodeNotif.") sipCommonServiceColdStart = NotificationType((1, 3, 6, 1, 2, 1, 149, 0, 4)).setObjects(*(("SIP-COMMON-MIB", "sipCommonCfgServiceStartTime"), ("SIP-COMMON-MIB", "sipCommonNotifSequenceNumber"), ("SIP-COMMON-MIB", "sipCommonNotifApplIndex"), ) ) if mibBuilder.loadTexts: sipCommonServiceColdStart.setDescription("Signifies that the SIP service has reinitialized itself or\nstarted for the first time. This SHOULD result from a hard\n'down' to 'up' administrative status change. The configuration\nor behavior of the service MAY be altered.") sipCommonServiceWarmStart = NotificationType((1, 3, 6, 1, 2, 1, 149, 0, 5)).setObjects(*(("SIP-COMMON-MIB", "sipCommonCfgServiceLastChange"), ("SIP-COMMON-MIB", "sipCommonNotifSequenceNumber"), ("SIP-COMMON-MIB", "sipCommonNotifApplIndex"), ) ) if mibBuilder.loadTexts: sipCommonServiceWarmStart.setDescription("Signifies that the SIP service has reinitialized itself and is\nrestarting after an administrative 'reset'. The configuration\nor behavior of the service MAY be altered.") sipCommonServiceStatusChanged = NotificationType((1, 3, 6, 1, 2, 1, 149, 0, 6)).setObjects(*(("SIP-COMMON-MIB", "sipCommonCfgServiceLastChange"), ("SIP-COMMON-MIB", "sipCommonNotifSequenceNumber"), ("SIP-COMMON-MIB", "sipCommonCfgServiceOperStatus"), ("SIP-COMMON-MIB", "sipCommonNotifApplIndex"), ) ) if mibBuilder.loadTexts: sipCommonServiceStatusChanged.setDescription("Signifies that the SIP service operational status has changed.") # Groups sipCommonConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 1)).setObjects(*(("SIP-COMMON-MIB", "sipCommonCfgServiceNotifEnable"), ("SIP-COMMON-MIB", "sipCommonCfgMaxTransactions"), ("SIP-COMMON-MIB", "sipCommonCfgEntityType"), ("SIP-COMMON-MIB", "sipCommonCfgServiceOperStatus"), ("SIP-COMMON-MIB", "sipCommonOptionTag"), ("SIP-COMMON-MIB", "sipCommonMethodSupportedName"), ("SIP-COMMON-MIB", "sipCommonPortTransportRcv"), ("SIP-COMMON-MIB", "sipCommonOptionTagHeaderField"), ("SIP-COMMON-MIB", "sipCommonCfgServiceLastChange"), ("SIP-COMMON-MIB", "sipCommonCfgServiceStartTime"), ("SIP-COMMON-MIB", "sipCommonCfgProtocolVersion"), ) ) if mibBuilder.loadTexts: sipCommonConfigGroup.setDescription("A collection of objects providing configuration common to all\nSIP entities.") sipCommonInformationalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 2)).setObjects(*(("SIP-COMMON-MIB", "sipCommonCfgOrganization"), ) ) if mibBuilder.loadTexts: sipCommonInformationalGroup.setDescription("A collection of objects providing configuration common to all\nSIP entities.") sipCommonConfigTimerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 3)).setObjects(*(("SIP-COMMON-MIB", "sipCommonCfgTimerT1"), ("SIP-COMMON-MIB", "sipCommonCfgTimerT2"), ("SIP-COMMON-MIB", "sipCommonCfgTimerT4"), ("SIP-COMMON-MIB", "sipCommonCfgTimerH"), ("SIP-COMMON-MIB", "sipCommonCfgTimerI"), ("SIP-COMMON-MIB", "sipCommonCfgTimerJ"), ("SIP-COMMON-MIB", "sipCommonCfgTimerK"), ("SIP-COMMON-MIB", "sipCommonCfgTimerA"), ("SIP-COMMON-MIB", "sipCommonCfgTimerB"), ("SIP-COMMON-MIB", "sipCommonCfgTimerC"), ("SIP-COMMON-MIB", "sipCommonCfgTimerD"), ("SIP-COMMON-MIB", "sipCommonCfgTimerE"), ("SIP-COMMON-MIB", "sipCommonCfgTimerF"), ("SIP-COMMON-MIB", "sipCommonCfgTimerG"), ) ) if mibBuilder.loadTexts: sipCommonConfigTimerGroup.setDescription("A collection of objects providing timer configuration common to\nall SIP entities.") sipCommonStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 4)).setObjects(*(("SIP-COMMON-MIB", "sipCommonSummaryInResponses"), ("SIP-COMMON-MIB", "sipCommonOtherStatsNumUnsupportedMethods"), ("SIP-COMMON-MIB", "sipCommonSummaryOutRequests"), ("SIP-COMMON-MIB", "sipCommonSummaryDisconTime"), ("SIP-COMMON-MIB", "sipCommonMethodStatsOutbounds"), ("SIP-COMMON-MIB", "sipCommonMethodStatsDisconTime"), ("SIP-COMMON-MIB", "sipCommonSummaryOutResponses"), ("SIP-COMMON-MIB", "sipCommonStatusCodeRowStatus"), ("SIP-COMMON-MIB", "sipCommonOtherStatsOtherwiseDiscardedMsgs"), ("SIP-COMMON-MIB", "sipCommonOtherStatsDisconTime"), ("SIP-COMMON-MIB", "sipCommonStatusCodeOuts"), ("SIP-COMMON-MIB", "sipCommonSummaryTotalTransactions"), ("SIP-COMMON-MIB", "sipCommonStatusCodeDisconTime"), ("SIP-COMMON-MIB", "sipCommonMethodStatsInbounds"), ("SIP-COMMON-MIB", "sipCommonStatusCodeIns"), ("SIP-COMMON-MIB", "sipCommonOtherStatsNumUnsupportedUris"), ("SIP-COMMON-MIB", "sipCommonTransCurrentactions"), ("SIP-COMMON-MIB", "sipCommonSummaryInRequests"), ) ) if mibBuilder.loadTexts: sipCommonStatsGroup.setDescription("A collection of objects providing statistics common to all SIP\nentities.") sipCommonStatsRetryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 5)).setObjects(*(("SIP-COMMON-MIB", "sipCommonStatsRetryNonFinalResponses"), ("SIP-COMMON-MIB", "sipCommonStatsRetryFinalResponses"), ("SIP-COMMON-MIB", "sipCommonStatsRetries"), ("SIP-COMMON-MIB", "sipCommonStatsRetryDisconTime"), ) ) if mibBuilder.loadTexts: sipCommonStatsRetryGroup.setDescription("A collection of objects providing retry statistics.") sipCommonNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 6)).setObjects(*(("SIP-COMMON-MIB", "sipCommonServiceWarmStart"), ("SIP-COMMON-MIB", "sipCommonServiceStatusChanged"), ("SIP-COMMON-MIB", "sipCommonServiceColdStart"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotif"), ("SIP-COMMON-MIB", "sipCommonStatusCodeThreshExceededOutNotif"), ("SIP-COMMON-MIB", "sipCommonStatusCodeThreshExceededInNotif"), ) ) if mibBuilder.loadTexts: sipCommonNotifGroup.setDescription("A collection of notifications common to all SIP entities.") sipCommonStatusCodeNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 7)).setObjects(*(("SIP-COMMON-MIB", "sipCommonStatusCodeNotifEmitMode"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifThresh"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifSend"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifInterval"), ) ) if mibBuilder.loadTexts: sipCommonStatusCodeNotifGroup.setDescription("A collection of objects related to the control and attribution\nof notifications common to all SIP entities.") sipCommonNotifObjectsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 149, 2, 2, 8)).setObjects(*(("SIP-COMMON-MIB", "sipCommonStatusCodeNotifFrom"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifCSeq"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifTo"), ("SIP-COMMON-MIB", "sipCommonNotifApplIndex"), ("SIP-COMMON-MIB", "sipCommonStatusCodeNotifCallId"), ("SIP-COMMON-MIB", "sipCommonNotifSequenceNumber"), ) ) if mibBuilder.loadTexts: sipCommonNotifObjectsGroup.setDescription("A collection of accessible-for-notify objects related to the\nnotification defined in this MIB module.") # Compliances sipCommonCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 149, 2, 1, 1)).setObjects(*(("SIP-COMMON-MIB", "sipCommonStatusCodeNotifGroup"), ("SIP-COMMON-MIB", "sipCommonConfigGroup"), ("SIP-COMMON-MIB", "sipCommonNotifGroup"), ("SIP-COMMON-MIB", "sipCommonNotifObjectsGroup"), ("SIP-COMMON-MIB", "sipCommonStatsRetryGroup"), ("SIP-COMMON-MIB", "sipCommonConfigTimerGroup"), ("SIP-COMMON-MIB", "sipCommonStatsGroup"), ("SIP-COMMON-MIB", "sipCommonInformationalGroup"), ) ) if mibBuilder.loadTexts: sipCommonCompliance.setDescription("The compliance statement for SIP entities.") # Exports # Module identity mibBuilder.exportSymbols("SIP-COMMON-MIB", PYSNMP_MODULE_ID=sipCommonMIB) # Objects mibBuilder.exportSymbols("SIP-COMMON-MIB", sipCommonMIB=sipCommonMIB, sipCommonMIBNotifications=sipCommonMIBNotifications, sipCommonMIBObjects=sipCommonMIBObjects, sipCommonCfgBase=sipCommonCfgBase, sipCommonCfgTable=sipCommonCfgTable, sipCommonCfgEntry=sipCommonCfgEntry, sipCommonCfgProtocolVersion=sipCommonCfgProtocolVersion, sipCommonCfgServiceOperStatus=sipCommonCfgServiceOperStatus, sipCommonCfgServiceStartTime=sipCommonCfgServiceStartTime, sipCommonCfgServiceLastChange=sipCommonCfgServiceLastChange, sipCommonCfgOrganization=sipCommonCfgOrganization, sipCommonCfgMaxTransactions=sipCommonCfgMaxTransactions, sipCommonCfgServiceNotifEnable=sipCommonCfgServiceNotifEnable, sipCommonCfgEntityType=sipCommonCfgEntityType, sipCommonPortTable=sipCommonPortTable, sipCommonPortEntry=sipCommonPortEntry, sipCommonPort=sipCommonPort, sipCommonPortTransportRcv=sipCommonPortTransportRcv, sipCommonOptionTagTable=sipCommonOptionTagTable, sipCommonOptionTagEntry=sipCommonOptionTagEntry, sipCommonOptionTagIndex=sipCommonOptionTagIndex, sipCommonOptionTag=sipCommonOptionTag, sipCommonOptionTagHeaderField=sipCommonOptionTagHeaderField, sipCommonMethodSupportedTable=sipCommonMethodSupportedTable, sipCommonMethodSupportedEntry=sipCommonMethodSupportedEntry, sipCommonMethodSupportedIndex=sipCommonMethodSupportedIndex, sipCommonMethodSupportedName=sipCommonMethodSupportedName, sipCommonCfgTimer=sipCommonCfgTimer, sipCommonCfgTimerTable=sipCommonCfgTimerTable, sipCommonCfgTimerEntry=sipCommonCfgTimerEntry, sipCommonCfgTimerA=sipCommonCfgTimerA, sipCommonCfgTimerB=sipCommonCfgTimerB, sipCommonCfgTimerC=sipCommonCfgTimerC, sipCommonCfgTimerD=sipCommonCfgTimerD, sipCommonCfgTimerE=sipCommonCfgTimerE, sipCommonCfgTimerF=sipCommonCfgTimerF, sipCommonCfgTimerG=sipCommonCfgTimerG, sipCommonCfgTimerH=sipCommonCfgTimerH, sipCommonCfgTimerI=sipCommonCfgTimerI, sipCommonCfgTimerJ=sipCommonCfgTimerJ, sipCommonCfgTimerK=sipCommonCfgTimerK, sipCommonCfgTimerT1=sipCommonCfgTimerT1, sipCommonCfgTimerT2=sipCommonCfgTimerT2, sipCommonCfgTimerT4=sipCommonCfgTimerT4, sipCommonSummaryStats=sipCommonSummaryStats, sipCommonSummaryStatsTable=sipCommonSummaryStatsTable, sipCommonSummaryStatsEntry=sipCommonSummaryStatsEntry, sipCommonSummaryInRequests=sipCommonSummaryInRequests, sipCommonSummaryOutRequests=sipCommonSummaryOutRequests, sipCommonSummaryInResponses=sipCommonSummaryInResponses, sipCommonSummaryOutResponses=sipCommonSummaryOutResponses, sipCommonSummaryTotalTransactions=sipCommonSummaryTotalTransactions, sipCommonSummaryDisconTime=sipCommonSummaryDisconTime, sipCommonMethodStats=sipCommonMethodStats, sipCommonMethodStatsTable=sipCommonMethodStatsTable, sipCommonMethodStatsEntry=sipCommonMethodStatsEntry, sipCommonMethodStatsName=sipCommonMethodStatsName, sipCommonMethodStatsOutbounds=sipCommonMethodStatsOutbounds, sipCommonMethodStatsInbounds=sipCommonMethodStatsInbounds, sipCommonMethodStatsDisconTime=sipCommonMethodStatsDisconTime, sipCommonStatusCode=sipCommonStatusCode, sipCommonStatusCodeTable=sipCommonStatusCodeTable, sipCommonStatusCodeEntry=sipCommonStatusCodeEntry, sipCommonStatusCodeMethod=sipCommonStatusCodeMethod, sipCommonStatusCodeValue=sipCommonStatusCodeValue, sipCommonStatusCodeIns=sipCommonStatusCodeIns, sipCommonStatusCodeOuts=sipCommonStatusCodeOuts, sipCommonStatusCodeRowStatus=sipCommonStatusCodeRowStatus, sipCommonStatusCodeDisconTime=sipCommonStatusCodeDisconTime, sipCommonStatusCodeNotifTable=sipCommonStatusCodeNotifTable, sipCommonStatusCodeNotifEntry=sipCommonStatusCodeNotifEntry, sipCommonStatusCodeNotifSend=sipCommonStatusCodeNotifSend, sipCommonStatusCodeNotifEmitMode=sipCommonStatusCodeNotifEmitMode, sipCommonStatusCodeNotifThresh=sipCommonStatusCodeNotifThresh, sipCommonStatusCodeNotifInterval=sipCommonStatusCodeNotifInterval, sipCommonStatsTrans=sipCommonStatsTrans, sipCommonTransCurrentTable=sipCommonTransCurrentTable, sipCommonTransCurrentEntry=sipCommonTransCurrentEntry, sipCommonTransCurrentactions=sipCommonTransCurrentactions, sipCommonStatsRetry=sipCommonStatsRetry, sipCommonStatsRetryTable=sipCommonStatsRetryTable, sipCommonStatsRetryEntry=sipCommonStatsRetryEntry, sipCommonStatsRetryMethod=sipCommonStatsRetryMethod, sipCommonStatsRetries=sipCommonStatsRetries, sipCommonStatsRetryFinalResponses=sipCommonStatsRetryFinalResponses, sipCommonStatsRetryNonFinalResponses=sipCommonStatsRetryNonFinalResponses, sipCommonStatsRetryDisconTime=sipCommonStatsRetryDisconTime, sipCommonOtherStats=sipCommonOtherStats, sipCommonOtherStatsTable=sipCommonOtherStatsTable, sipCommonOtherStatsEntry=sipCommonOtherStatsEntry, sipCommonOtherStatsNumUnsupportedUris=sipCommonOtherStatsNumUnsupportedUris, sipCommonOtherStatsNumUnsupportedMethods=sipCommonOtherStatsNumUnsupportedMethods, sipCommonOtherStatsOtherwiseDiscardedMsgs=sipCommonOtherStatsOtherwiseDiscardedMsgs, sipCommonOtherStatsDisconTime=sipCommonOtherStatsDisconTime, sipCommonNotifObjects=sipCommonNotifObjects, sipCommonStatusCodeNotifTo=sipCommonStatusCodeNotifTo, sipCommonStatusCodeNotifFrom=sipCommonStatusCodeNotifFrom, sipCommonStatusCodeNotifCallId=sipCommonStatusCodeNotifCallId, sipCommonStatusCodeNotifCSeq=sipCommonStatusCodeNotifCSeq, sipCommonNotifApplIndex=sipCommonNotifApplIndex, sipCommonNotifSequenceNumber=sipCommonNotifSequenceNumber, sipCommonMIBConformance=sipCommonMIBConformance, sipCommonMIBCompliances=sipCommonMIBCompliances, sipCommonMIBGroups=sipCommonMIBGroups) # Notifications mibBuilder.exportSymbols("SIP-COMMON-MIB", sipCommonStatusCodeNotif=sipCommonStatusCodeNotif, sipCommonStatusCodeThreshExceededInNotif=sipCommonStatusCodeThreshExceededInNotif, sipCommonStatusCodeThreshExceededOutNotif=sipCommonStatusCodeThreshExceededOutNotif, sipCommonServiceColdStart=sipCommonServiceColdStart, sipCommonServiceWarmStart=sipCommonServiceWarmStart, sipCommonServiceStatusChanged=sipCommonServiceStatusChanged) # Groups mibBuilder.exportSymbols("SIP-COMMON-MIB", sipCommonConfigGroup=sipCommonConfigGroup, sipCommonInformationalGroup=sipCommonInformationalGroup, sipCommonConfigTimerGroup=sipCommonConfigTimerGroup, sipCommonStatsGroup=sipCommonStatsGroup, sipCommonStatsRetryGroup=sipCommonStatsRetryGroup, sipCommonNotifGroup=sipCommonNotifGroup, sipCommonStatusCodeNotifGroup=sipCommonStatusCodeNotifGroup, sipCommonNotifObjectsGroup=sipCommonNotifObjectsGroup) # Compliances mibBuilder.exportSymbols("SIP-COMMON-MIB", sipCommonCompliance=sipCommonCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/APPN-MIB.py0000644000014400001440000052541611736645134020206 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APPN-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAifType, ) = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") ( snanauMIB, ) = mibBuilder.importSymbols("SNA-NAU-MIB", "snanauMIB") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32") ( DateAndTime, DisplayString, RowPointer, TextualConvention, TimeStamp, TruthValue, VariablePointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "RowPointer", "TextualConvention", "TimeStamp", "TruthValue", "VariablePointer") # Types class AppnTgDelay(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,1) fixedLength = 1 class AppnTgDlcData(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,64) class AppnTgEffectiveCapacity(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,1) fixedLength = 1 class AppnTgSecurity(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(192,128,64,160,32,96,1,) namedValues = NamedValues(("nonsecure", 1), ("guardedConduit", 128), ("encrypted", 160), ("guardedRadiation", 192), ("publicSwitchedNetwork", 32), ("undergroundCable", 64), ("secureConduit", 96), ) class AppnTopologyEntryTimeLeft(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,15) class DisplayableDlcAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,64) class SnaClassOfServiceName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,8) class SnaControlPointName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(3,17) class SnaModeName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,8) class SnaNodeIdentification(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class SnaSenseData(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class AppnLinkStationCounter(Counter32): pass class AppnNodeCounter(Counter32): pass class AppnPortCounter(Counter32): pass # Objects appnMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 4)).setRevisions(("1998-07-15 18:00","1998-05-26 18:00","1997-07-31 18:00","1997-03-31 18:00","1997-03-20 12:00",)) if mibBuilder.loadTexts: appnMIB.setOrganization("IETF SNA NAU MIB WG / AIW APPN MIBs SIG") if mibBuilder.loadTexts: appnMIB.setContactInfo("\n\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: appnMIB.setDescription("This is the MIB module for objects used to\nmanage network devices with APPN capabilities.") appnObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1)) appnNode = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 1)) appnGeneralInfoAndCaps = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1)) appnNodeCpName = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 1), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeCpName.setDescription("Administratively assigned network name for this node.") appnNodeMibVersion = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeMibVersion.setDescription("The value of LAST-UPDATED from this module's MODULE-IDENTITY\nmacro. This object gives a Management Station an easy way of\ndetermining the level of the MIB supported by an agent.\n\nSince this object incorporates the Year 2000-unfriendly\n2-digit year specified in SMI for the LAST-UPDATED field, and\nsince it was not found to be particularly useful, it has been\ndeprecated. No replacement object has been defined.") appnNodeId = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 3), SnaNodeIdentification()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeId.setDescription("This node's Node Identification, which it sends in bytes\n2-5 of XID.") appnNodeType = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,)).subtype(namedValues=NamedValues(("networkNode", 1), ("endNode", 2), ("t21len", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeType.setDescription("Type of APPN node:\n\nnetworkNode(1) - APPN network node\nendNode(2) - APPN end node\nt21len(4) - LEN end node\n\nNote: A branch network node SHALL return endNode(2)\nas the value of this object. A management application\ncan distinguish between a branch network node and an\nactual end node by retrieving the appnNodeBrNn object.") appnNodeUpTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 5), TimeTicks()).setMaxAccess("readonly").setUnits("hundredths of a second") if mibBuilder.loadTexts: appnNodeUpTime.setDescription("Amount of time (in hundredths of a second) since the APPN node\nwas last reinitialized.") appnNodeParallelTg = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeParallelTg.setDescription("Indicates whether this node supports parallel TGs.") appnNodeAdaptiveBindPacing = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeAdaptiveBindPacing.setDescription("Indicates whether this node supports adaptive bind pacing for\ndependent LUs.") appnNodeHprSupport = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("noHprSupport", 1), ("hprBaseOnly", 2), ("rtpTower", 3), ("controlFlowsOverRtpTower", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeHprSupport.setDescription("Indicates this node's level of support for high-performance\nrouting (HPR):\n noHprSupport(1) - no HPR support\n hprBaseOnly(2) - HPR base (option set 1400)\n supported\n rtpTower(3) - HPR base and RTP tower\n (option set 1401) supported\n controlFlowsOverRtpTower(4) - HPR base, RTP tower, and\n control flows over RTP\n (option set 1402) supported\n\nThis object corresponds to cv4580, byte 9, bits 3-4.") appnNodeMaxSessPerRtpConn = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeMaxSessPerRtpConn.setDescription("This object represents a configuration parameter indicating\nthe maximum number of sessions that the APPN node is to put on\nany HPR connection. The value is zero if not applicable.") appnNodeHprIntRteSetups = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 10), AppnNodeCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeHprIntRteSetups.setDescription("The total number of HPR route setups received for routes\npassing through this node since the node was last\nreinitialized.") appnNodeHprIntRteRejects = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 11), AppnNodeCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeHprIntRteRejects.setDescription("The number of HPR route setups rejected by this node for\nroutes passing through it since the node was last\nreinitialized.") appnNodeHprOrgRteSetups = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 12), AppnNodeCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeHprOrgRteSetups.setDescription("The total number of HPR route setups sent for routes\noriginating in this node since the node was last\nreinitialized.") appnNodeHprOrgRteRejects = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 13), AppnNodeCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeHprOrgRteRejects.setDescription("The number of HPR route setups rejected by other nodes for\nroutes originating in this node since the node was last\nreinitialized.") appnNodeHprEndRteSetups = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 14), AppnNodeCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeHprEndRteSetups.setDescription("The total number of HPR route setups received for routes\nending in this node since the node was last reinitialized.") appnNodeHprEndRteRejects = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 15), AppnNodeCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeHprEndRteRejects.setDescription("The number of HPR route setups rejected by this node for\nroutes ending in it since the node was last reinitialized.") appnNodeCounterDisconTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 16), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeCounterDisconTime.setDescription("The value of the sysUpTime object the last time the APPN node\nwas reinitialized.") appnNodeLsCounterType = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("noAnr", 2), ("anrForLocalNces", 3), ("allAnr", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeLsCounterType.setDescription("Indicates which ANR traffic, if any, the node includes in the\ncounts returned by the APPN link station counters\nappnLsInXidBytes, appnLsInMsgBytes, appnLsInXidFrames,\nappnLsInMsgFrames, appnLsOutXidBytes, appnLsOutMsgBytes,\nappnLsOutXidFrames, and appnLsOutMsgFrames. These counters\nare always incremented for ISR traffic.\n\nThe following values are defined:\n\n other(1) - the node does something different\n from all the options listed below\n noAnr(2) - the node does not include any ANR\n traffic in these counts\n anrForLocalNces(3) - the node includes in these counts\n ANR traffic for RTP connections\n that terminate in this node, but\n not ANR traffic for RTP connections\n that pass through this node without\n terminating in it\n allAnr(4) - the node includes all ANR traffic\n in these counts.") appnNodeBrNn = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeBrNn.setDescription("Indicates whether this node is currently configured as a\nbranch network node.\n\nNote: throughout the remainder of this MIB module, branch\nnetwork node is treated as a third node type, parallel to\nnetwork node and end node. This is not how branch network\nnodes are treated in the base APPN architecture, but it\nincreases clarity to do it here.") appnNnUniqueInfoAndCaps = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2)) appnNodeNnCentralDirectory = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnCentralDirectory.setDescription("Indicates whether this node supports central directory\nservices.\n\nThis object corresponds to cv4580, byte 8, bit 1.") appnNodeNnTreeCache = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("noCache", 1), ("cacheNoIncrUpdate", 2), ("cacheWithIncrUpdate", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnTreeCache.setDescription("Indicates this node's level of support for caching of route\ntrees. Three levels are specified:\n\n noCache(1) - caching of route trees is not\n supported\n cacheNoIncrUpdate(2) - caching of route trees is\n supported, but without incremental\n updates\n cacheWithIncrUpdate(3) - caching of route trees with\n incremental updates is supported") appnNodeNnRouteAddResist = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnRouteAddResist.setDescription("Route addition resistance.\n\nThis administratively assigned value indicates the relative\ndesirability of using this node for intermediate session\ntraffic. The value, which can be any integer 0-255, is used\nin route computation. The lower the value, the more\ndesirable the node is for intermediate routing.\n\nThis object corresponds to cv4580, byte 6.") appnNodeNnIsr = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnIsr.setDescription("Indicates whether the node supports intermediate session\nrouting.\n\nThis object corresponds to cv4580, byte 8, bit 2.") appnNodeNnFrsn = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnFrsn.setDescription("The last flow-reduction sequence number (FRSN) sent by this\nnode in a topology update to an adjacent network node.") appnNodeNnPeriBorderSup = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnPeriBorderSup.setDescription("Indicates whether this node has peripheral border node\nsupport.\n\nThis object corresponds to cv4580, byte 9, bit 0.") appnNodeNnInterchangeSup = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnInterchangeSup.setDescription("Indicates whether this node has interchange node support.\n\nThis object corresponds to cv4580, byte 9, bit 1.") appnNodeNnExteBorderSup = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnExteBorderSup.setDescription("Indicates whether this node has extended border node support.\n\nThis object corresponds to cv4580, byte 9, bit 2.") appnNodeNnSafeStoreFreq = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readwrite").setUnits("TDUs") if mibBuilder.loadTexts: appnNodeNnSafeStoreFreq.setDescription("The topology safe store frequency.\n\nIf this number is not zero, then the topology database is saved\neach time the total number of topology database updates (TDUs)\nreceived by this node increases by this number. A value of\nzero indicates that the topology database is not being saved.") appnNodeNnRsn = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnRsn.setDescription("Resource sequence number for this node, which it assigns and\ncontrols.\n\nThis object corresponds to the numeric value in cv4580, bytes\n2-5.") appnNodeNnCongested = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnCongested.setDescription("Indicates whether this node is congested. Other network nodes\nstop routing traffic to this node while this flag is on.\n\nThis object corresponds to cv4580, byte 7, bit 0.") appnNodeNnIsrDepleted = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnIsrDepleted.setDescription("Indicate whether intermediated session routing resources are\ndepleted. Other network nodes stop routing traffic through\nthis node while this flag is on.\n\nThis object corresponds to cv4580, byte 7, bit 1.") appnNodeNnQuiescing = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnQuiescing.setDescription("Indicates whether the node is quiescing.\n\nThis object corresponds to cv4580, byte 7, bit 5.") appnNodeNnGateway = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 2, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeNnGateway.setDescription("Indicates whether the node has gateway services support.\n\nThis object corresponds to cv4580, byte 8, bit 0.") appnEnUniqueCaps = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 3)) appnNodeEnModeCosMap = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 3, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeEnModeCosMap.setDescription("Indicates whether this end node supports mode name to COS name\nmapping.") appnNodeEnNnServer = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 3, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeEnNnServer.setDescription("The fully qualified name of the current NN server for this end\nnode. An NN server is identified using the format specified in\nthe SnaControlPointName textual convention. The value is a\nzero-length string when there is no active NN server.\n\nA branch network node shall also implement this object.") appnNodeEnLuSearch = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 3, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNodeEnLuSearch.setDescription("Indicates whether the node is to be searched for LUs as part\nof a network broadcast search.\n\nA branch network node shall also implement this object.") appnPortInformation = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4)) appnPortTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1)) if mibBuilder.loadTexts: appnPortTable.setDescription("The Port table describes the configuration and current status\nof the ports used by APPN. When it is known to the APPN\ncomponent, an OBJECT IDENTIFIER pointing to additional\ninformation related to the port is included. This may, but\nneed not, be a RowPointer to an ifTable entry for a DLC\ninterface immediately 'below' the port.") appnPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1)).setIndexNames((0, "APPN-MIB", "appnPortName")) if mibBuilder.loadTexts: appnPortEntry.setDescription("The port name is used as the index to this table.") appnPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnPortName.setDescription("Administratively assigned name for this APPN port.") appnPortCommand = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,2,)).subtype(namedValues=NamedValues(("deactivate", 1), ("activate", 2), ("recycle", 3), ("ready", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appnPortCommand.setDescription("Object by which a Management Station can activate, deactivate,\nor recycle (i.e., cause to be deactivated and then immediately\nactivated) a port, by setting the value to activate(1),\ndeactivate(2), or recycle(3), respectively. The value ready(4)\nis returned on GET operations until a SET has been processed;\nafter that the value received on the most recent SET is\nreturned.") appnPortOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("inactive", 1), ("pendactive", 2), ("active", 3), ("pendinact", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortOperState.setDescription("Indicates the current state of this port:\n\ninactive(1) - port is inactive\npendactive(2) - port is pending active\nactive(3) - port is active\npendinact(4) - port is pending inactive") appnPortDlcType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 4), IANAifType()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortDlcType.setDescription("The type of DLC interface, distinguished according to the\nprotocol immediately 'below' this layer.") appnPortPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("leased", 1), ("switched", 2), ("sharedAccessFacilities", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortPortType.setDescription("Identifies the type of line used by this port:\n\nleased(1) - leased line\nswitched(2) - switched line\nsharedAccessFacilities(3) - shared access facility, such\n as a LAN.") appnPortSIMRIM = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortSIMRIM.setDescription("Indicates whether Set Initialization Mode (SIM) and Receive\nInitialization Mode (RIM) are supported for this port.") appnPortLsRole = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("negotiable", 3), ("abm", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortLsRole.setDescription("Initial role for link stations activated through this port.\nThe values map to the following settings in the initial XID,\nwhere 'ABM' indicates asynchronous balanced mode and 'NRM'\nindicated normal response mode:\n\n primary(1): ABM support = 0 ( = NRM)\n role = 01 ( = primary)\n secondary(2): ABM support = 0 ( = NRM)\n role = 00 ( = secondary)\n negotiable(3): ABM support = 0 ( = NRM)\n role = 11 ( = negotiable)\n abm(4): ABM support = 1 ( = ABM)\n role = 11 ( = negotiable)") appnPortNegotLs = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortNegotLs.setDescription("Indicates whether the node supports negotiable link stations\nfor this port.") appnPortDynamicLinkSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortDynamicLinkSupport.setDescription("Indicates whether this node allows call-in on this port from\nnodes not defined locally.") appnPortMaxRcvBtuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(99, 32767))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortMaxRcvBtuSize.setDescription("Maximum Basic Transmission Unit (BTU) size that a link station\non this port can receive.\n\nThis object corresponds to bytes 21-22 of XID3.") appnPortMaxIframeWindow = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortMaxIframeWindow.setDescription("Maximum number of I-frames that can be received by the XID\nsender before an acknowledgement is received.") appnPortDefLsGoodXids = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 12), AppnPortCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortDefLsGoodXids.setDescription("The total number of successful XID exchanges that have\noccurred on all defined link stations on this port since the\nlast time this port was started.") appnPortDefLsBadXids = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 13), AppnPortCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortDefLsBadXids.setDescription("The total number of unsuccessful XID exchanges that have\noccurred on all defined link stations on this port since the\nlast time this port was started.") appnPortDynLsGoodXids = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 14), AppnPortCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortDynLsGoodXids.setDescription("The total number of successful XID exchanges that have\noccurred on all dynamic link stations on this port since the\nlast time this port was started.") appnPortDynLsBadXids = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 15), AppnPortCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortDynLsBadXids.setDescription("The total number of unsuccessful XID exchanges that have\noccurred on all dynamic link stations on this port since the\nlast time this port was started.") appnPortSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 16), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortSpecific.setDescription("Identifies the object, e.g., one in a DLC-specific MIB, that\ncan provide additional information related to this port.\n\nIf the agent is unable to identify such an object, the value\n0.0 is returned.") appnPortDlcLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 17), DisplayableDlcAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortDlcLocalAddr.setDescription("Local DLC address of this port.") appnPortCounterDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 4, 1, 1, 18), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnPortCounterDisconTime.setDescription("The value of the sysUpTime object the last time the port was\nstarted.") appnLinkStationInformation = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5)) appnLsTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1)) if mibBuilder.loadTexts: appnLsTable.setDescription("This table contains detailed information about the link\nstation configuration and its current status.") appnLsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1)).setIndexNames((0, "APPN-MIB", "appnLsName")) if mibBuilder.loadTexts: appnLsEntry.setDescription("This table is indexed by the link station name.") appnLsName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnLsName.setDescription("Administratively assigned name for the link station.\nThe name can be from one to ten characters.") appnLsCommand = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,2,)).subtype(namedValues=NamedValues(("deactivate", 1), ("activate", 2), ("recycle", 3), ("ready", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appnLsCommand.setDescription("Object by which a Management Station can activate, deactivate,\nor recycle (i.e., cause to be deactivated and then immediately\nreactivated) a link station, by setting the value to\nactivate(1), deactivate(2), or recycle(3), respectively. The\nvalue ready(4) is returned on GET operations until a SET has\nbeen processed; after that the value received on the most\nrecent SET is returned.") appnLsOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(10,8,1,5,7,4,2,6,3,9,11,)).subtype(namedValues=NamedValues(("inactive", 1), ("sentDiscImmed", 10), ("otherPendingInact", 11), ("sentConnectOut", 2), ("pendXidExch", 3), ("sendActAs", 4), ("sendSetMode", 5), ("otherPendingActive", 6), ("active", 7), ("sentDeactAsOrd", 8), ("sentDiscOrd", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsOperState.setDescription("State of this link station. The comments map these more\ngranular states to the 'traditional' four states for SNA\nresources. Values (2) through (5) represent the normal\nprogression of states when a link station is being activated.\nValue (6) represents some other state of a link station in\nthe process of being activated. Values (8) through (10)\nrepresent different ways a link station can be deactivated.\nValue (11) represents some other state of a link station in\nthe process of being deactivated.") appnLsPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsPortName.setDescription("Administratively assigned name for the port associated with\nthis link station. The name can be from one to ten\ncharacters.") appnLsDlcType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 5), IANAifType()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsDlcType.setDescription("The type of DLC interface, distinguished according to the\nprotocol immediately 'below' this layer.") appnLsDynamic = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsDynamic.setDescription("Identifies whether this is a dynamic link station. Dynamic\nlink stations are created when links that have not been locally\ndefined are established by adjacent nodes.") appnLsAdjCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 7), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsAdjCpName.setDescription("Fully qualified name of the adjacent node for this link\nstation. An adjacent node is identified using the format\nspecified in the SnaControlPointName textual convention.\n\nThe value of this object is determined as follows:\n\n 1. If the adjacent node's name was received on XID, it\n is returned.\n\n 2. If the adjacent node's name was not received on XID,\n but a locally-defined value is available, it is\n returned.\n\n 3. Otherwise a string of length 0 is returned, indicating\n that no name is known for the adjacent node.") appnLsAdjNodeType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,255,1,4,)).subtype(namedValues=NamedValues(("networkNode", 1), ("endNode", 2), ("unknown", 255), ("t21len", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsAdjNodeType.setDescription("Node type of the adjacent node on this link:\n\nnetworkNode(1) - APPN network node\nendNode(2) - APPN end node\nt21len(4) - LEN end node\nunknown(255) - the agent does not know the node type\n of the adjacent node") appnLsTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsTgNum.setDescription("Number associated with the TG to this link station, with a\nrange from 0 to 256. A value of 256 indicates that the TG\nnumber has not been negotiated and is unknown at this time.") appnLsLimResource = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsLimResource.setDescription("Indicates whether the link station is a limited resource. A\nlink station that is a limited resource is deactivated when it\nis no longer in use.") appnLsActOnDemand = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsActOnDemand.setDescription("Indicates whether the link station is activatable on demand.\n\nSuch a link station is reported in the topology as active\nregardless of its actual state, so that it can be considered in\nroute calculations. If the link station is inactive and is\nchosen for a route, it will be activated at that time.") appnLsMigration = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsMigration.setDescription("Indicates whether this link station will be used for\nconnections to down-level or migration partners.\n\nIn general, migration nodes do not append their CP names on\nXID3. Such nodes: (1) will not support parallel TGs, (2)\nshould be sent an ACTIVATE PHYSICAL UNIT (ACTPU), provided that\nthe partner supports ACTPUs, and (3) should not be sent\nsegmented BINDs. However, if this node receives an XID3 with\nan appended CP name, then the partner node will not be treated\nas a migration node.\n\n In the case of DYNAMIC TGs this object should be set to 'no'.") appnLsPartnerNodeId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 13), SnaNodeIdentification()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsPartnerNodeId.setDescription("The partner's Node Identification, from bytes 2-5 of the XID\nreceived from the partner. If this value is not available,\nthen the characters '00000000' are returned.") appnLsCpCpSessionSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsCpCpSessionSupport.setDescription("Indicates whether CP-CP sessions are supported by this\nlink station. For a dynamic link, this object represents\nthe default ('Admin') value.") appnLsMaxSendBtuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(99, 32767))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsMaxSendBtuSize.setDescription("Numeric value between 99 and 32767 inclusive indicating the\nmaximum number of bytes in a Basic Transmission Unit (BTU) sent\non this link.\n\nWhen the link state (returned by the appnLsOperState object) is\ninactive or pending active, the value configured at this node\nis returned. When the link state is active, the value that was\nnegotiated for it is returned. This negotiated value is the\nsmaller of the value configured at this node and the partner's\nmaximum receive BTU length, received in XID.") appnLsInXidBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 16), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsInXidBytes.setDescription("Number of XID bytes received. All of the bytes in the SNA\nbasic transmission unit (BTU), i.e., all of the bytes in the\nDLC XID Information Field, are counted.") appnLsInMsgBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 17), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsInMsgBytes.setDescription("Number of message (I-frame) bytes received. All of the bytes\nin the SNA basic transmission unit (BTU), including the\ntransmission header (TH), are counted.") appnLsInXidFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 18), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsInXidFrames.setDescription("Number of XID frames received.") appnLsInMsgFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 19), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsInMsgFrames.setDescription("Number of message (I-frame) frames received.") appnLsOutXidBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 20), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsOutXidBytes.setDescription("Number of XID bytes sent. All of the bytes in the SNA basic\ntransmission unit (BTU), i.e., all of the bytes in the DLC XID\nInformation Field, are counted.") appnLsOutMsgBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 21), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsOutMsgBytes.setDescription("Number of message (I-frame) bytes sent. All of the bytes\nin the SNA basic transmission unit (BTU), including the\ntransmission header (TH), are counted.") appnLsOutXidFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 22), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsOutXidFrames.setDescription("Number of XID frames sent.") appnLsOutMsgFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 23), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsOutMsgFrames.setDescription("Number of message (I-frame) frames sent.") appnLsEchoRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 24), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsEchoRsps.setDescription("Number of echo responses returned from adjacent link station.\nA response should be returned for each test frame sent by this\nnode. Test frames are sent to adjacent nodes periodically to\nverify connectivity and to measure the actual round trip time,\nthat is, the time interval from when the test frame is sent\nuntil when the response is received.") appnLsCurrentDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 25), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsCurrentDelay.setDescription("The time that it took for the last test signal to be sent and\nreturned from this link station to the adjacent link station.\nThis time is represented in milliseconds.") appnLsMaxDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 26), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsMaxDelay.setDescription("The longest time it took for a test signal to be sent and\nreturned from this link station to the adjacent link station.\nThis time is represented in milliseconds .\n\nThe value 0 is returned if no test signal has been sent and\nreturned.") appnLsMinDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 27), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsMinDelay.setDescription("The shortest time it took for a test signal to be sent and\nreturned from this link station to the adjacent link station.\nThis time is represented in milliseconds.\n\nThe value 0 is returned if no test signal has been sent and\nreturned.") appnLsMaxDelayTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 28), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsMaxDelayTime.setDescription("The time when the longest delay occurred. This time can be\nused to identify when this high water mark occurred in relation\nto other events in the APPN node, for example, the time at\nwhich an APPC session was either terminated or failed to be\nestablished. This latter time is available in the\nappcHistSessTime object in the APPC MIB.\n\nThe value 00000000 is returned if no test signal has been sent\nand returned.") appnLsGoodXids = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 29), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsGoodXids.setDescription("The total number of successful XID exchanges that have\noccurred on this link station since the time it was started.") appnLsBadXids = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 30), AppnLinkStationCounter()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsBadXids.setDescription("The total number of unsuccessful XID exchanges that have\noccurred on this link station since the time it was started.") appnLsSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 31), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsSpecific.setDescription("Identifies the object, e.g., one in a DLC-specific MIB, that\ncan provide additional information related to this link\nstation.\n\nIf the agent is unable to identify such an object, the value\n0.0 is returned.") appnLsActiveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 32), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsActiveTime.setDescription("The cumulative amount of time since the node was last\nreinitialized, measured in hundredths of a second, that this\nlink station has been in the active state. A zero value\nindicates that the link station has never been active since\nthe node was last reinitialized.") appnLsCurrentStateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 33), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsCurrentStateTime.setDescription("The amount of time, measured in hundredths of a second, that\nthe link station has been in its current state.") appnLsHprSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 34), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("noHprSupport", 1), ("hprBaseOnly", 2), ("rtpTower", 3), ("controlFlowsOverRtpTower", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsHprSup.setDescription("Indicates the level of high performance routing (HPR) support\nover this link:\n\n noHprSupport(1) - no HPR support\n hprBaseOnly(2) - HPR base (option set 1400)\n supported\n rtpTower(3) - HPR base and RTP tower\n (option set 1401) supported\n controlFlowsOverRtpTower(4) - HPR base, RTP tower, and\n control flows over RTP\n (option set 1402) supported\n\nIf the link is not active, the defined value is returned.") appnLsErrRecoSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 35), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsErrRecoSup.setDescription("Indicates whether the link station is supporting\nHPR link-level error recovery.") appnLsForAnrLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 36), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsForAnrLabel.setDescription("The forward Automatic Network Routing (ANR) label for this\nlink station. If the link does not support HPR or the value is\nunknown, a zero-length string is returned.") appnLsRevAnrLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 37), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsRevAnrLabel.setDescription("The reverse Automatic Network Routing (ANR) label for this\nlink station. If the link does not support HPR or the value is\nunknown, a zero-length string is returned.") appnLsCpCpNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 38), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsCpCpNceId.setDescription("The network connection endpoint identifier (NCE ID) for CP-CP\nsessions if this node supports the HPR transport tower, a\nzero-length string if the value is unknown or not meaningful\nfor this node.") appnLsRouteNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 39), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsRouteNceId.setDescription("The network connection endpoint identifier (NCE ID) for Route\nSetup if this node supports the HPR transport tower, a zero-\nlength string if the value is unknown or not meaningful for\nthis node.") appnLsBfNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 40), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsBfNceId.setDescription("The network connection endpoint identifier (NCE ID) for the\nAPPN/HPR boundary function if this node supports the HPR\ntransport tower, a zero-length string if the value is unknown\nor not meaningful for this node.") appnLsLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 41), DisplayableDlcAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsLocalAddr.setDescription("Local address of this link station.") appnLsRemoteAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 42), DisplayableDlcAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsRemoteAddr.setDescription("Address of the remote link station on this link.") appnLsRemoteLsName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 43), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsRemoteLsName.setDescription("Remote link station discovered from the XID exchange.\nThe name can be from one to ten characters. A zero-length\nstring indicates that the value is not known.") appnLsCounterDisconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 44), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsCounterDisconTime.setDescription("The value of the sysUpTime object the last time the link\nstation was started.") appnLsMltgMember = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 1, 1, 45), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsMltgMember.setDescription("Indicates whether the link is a member of a multi-link TG. If\nthe link's TG has been brought up as a multi-link TG, then the\nlink is reported as a member of a multi-link TG, even if it is\ncurrently the only active link in the TG.") appnLsStatusTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2)) if mibBuilder.loadTexts: appnLsStatusTable.setDescription("This table contains information related to exceptional and\npotentially exceptional conditions that occurred during the\nactivation, XID exchange, and termination of a connection. No\nentries are created when these activities proceed normally.\n\nIt is an implementation option when entries are removed from\nthis table.") appnLsStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1)).setIndexNames((0, "APPN-MIB", "appnLsStatusIndex")) if mibBuilder.loadTexts: appnLsStatusEntry.setDescription("This table is indexed by the LsStatusIndex, which is an\ninteger that is continuously updated until it eventually\nwraps.") appnLsStatusIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnLsStatusIndex.setDescription("Table index. The value of the index begins at zero\nand is incremented up to a maximum value of 2**31-1\n(2,147,483,647) before wrapping.") appnLsStatusTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusTime.setDescription("Time when the exception condition occurred. This time can be\nused to identify when this event occurred in relation to other\nevents in the APPN node, for example, the time at which an APPC\nsession was either terminated or failed to be established.\nThis latter time is available in the appcHistSessTime object in\nthe APPC MIB.") appnLsStatusLsName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusLsName.setDescription("Administratively assigned name for the link station\nexperiencing the condition.") appnLsStatusCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 4), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusCpName.setDescription("Fully qualified name of the adjacent node for this link\nstation. An adjacent node is identified using the format\nspecified in the SnaControlPointName textual convention.\n\nThe value of this object is determined as follows:\n\n 1. If the adjacent node's name was received on XID, it\n is returned.\n\n 2. If the adjacent node's name was not received on XID,\n but a locally-defined value is available, it is\n returned.\n\n 3. Otherwise a string of length 0 is returned, indicating\n that no name is known for the adjacent node.") appnLsStatusPartnerId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 5), SnaNodeIdentification()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusPartnerId.setDescription("The partner's Node Identification, from bytes 2-5 of the XID\nreceived from the partner. If this value is not available,\nthen the characters '00000000' are returned.") appnLsStatusTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusTgNum.setDescription("Number associated with the TG to this link station, with a\nrange from 0 to 256. A value of 256 indicates that the TG\nnumber was unknown at the time of the failure.") appnLsStatusGeneralSense = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 7), SnaSenseData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusGeneralSense.setDescription("The error sense data associated with the start sequence of\nactivation of a link up to the beginning of the XID sequence.\n\nThis is the sense data that came from Configuration Services\nwhenever the link did not activate or when it went inactive.") appnLsStatusRetry = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusRetry.setDescription("Indicates whether the node will retry the start request to\nactivate the link.") appnLsStatusEndSense = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 9), SnaSenseData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusEndSense.setDescription("The sense data associated with the termination of the link\nconnection to adjacent node.\n\nThis is the sense data that came from the DLC layer.") appnLsStatusXidLocalSense = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 10), SnaSenseData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusXidLocalSense.setDescription("The sense data associated with the rejection of the XID.\n\nThis is the sense data that came from the local node (this\nnode) when it built the XID Negotiation Error control vector\n(cv22) to send to the remote node.") appnLsStatusXidRemoteSense = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 11), SnaSenseData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusXidRemoteSense.setDescription("The sense data the adjacent node returned to this node\nindicating the reason the XID was rejected.\n\nThis is the sense data that came from the remote node in the\nXID Negotiation Error control vector (cv22) it sent to the\nlocal node (this node).") appnLsStatusXidByteInError = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusXidByteInError.setDescription("This object identifies the actual byte in the XID that caused\nthe error. The value 65536 indicates that the object has no\nmeaning.\n\nFor values in the range 0-65535, this object corresponds to\nbytes 2-3 of the XID Negotiation (X'22') control vector.") appnLsStatusXidBitInError = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusXidBitInError.setDescription("This object identifies the actual bit in error (0 through 7)\nwithin the errored byte of the XID. The value 8 indicates that\nthis object has no meaning.\n\nFor values in the range 0-7, this object corresponds to byte 4\nof the XID Negotiation (X'22') control vector.") appnLsStatusDlcType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 14), IANAifType()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusDlcType.setDescription("The type of DLC interface, distinguished according to the\nprotocol immediately 'below' this layer.") appnLsStatusLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 15), DisplayableDlcAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusLocalAddr.setDescription("Local address of this link station.") appnLsStatusRemoteAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 5, 2, 1, 16), DisplayableDlcAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLsStatusRemoteAddr.setDescription("Address of the remote link station on this link.") appnVrnInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 6)) appnVrnTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 6, 1)) if mibBuilder.loadTexts: appnVrnTable.setDescription("This table relates a virtual routing node to an APPN port.") appnVrnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 6, 1, 1)).setIndexNames((0, "APPN-MIB", "appnVrnName"), (0, "APPN-MIB", "appnVrnTgNum"), (0, "APPN-MIB", "appnVrnPortName")) if mibBuilder.loadTexts: appnVrnEntry.setDescription("This table is indexed by the virtual routing node name, TG\nnumber, and port name. There will be a matching entry in the\nappnLocalTgTable to represent status and characteristics of the\nTG representing each virtual routing node definition.") appnVrnName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 6, 1, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnVrnName.setDescription("Administratively assigned name of the virtual routing node.\nThis is a fully qualified name, and matches the appnLocalTgDest\nname in the appnLocalTgTable.") appnVrnTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 6, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnVrnTgNum.setDescription("Number associated with the transmission group representing\nthis virtual routing node definition.") appnVrnPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 1, 6, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnVrnPortName.setDescription("The name of the port this virtual routing node definition is\ndefined to.") appnNn = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 2)) appnNnTopo = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 1)) appnNnTopoMaxNodes = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 1, 1), Gauge32()).setMaxAccess("readonly").setUnits("node entries") if mibBuilder.loadTexts: appnNnTopoMaxNodes.setDescription("Maximum number of node entries allowed in the APPN topology\ndatabase. It is an implementation choice whether to count only\nnetwork-node entries, or to count all node entries. If the\nnumber of node entries exceeds this value, APPN will issue an\nAlert and the node can no longer participate as a network node.\nThe value 0 indicates that the local node has no defined limit,\nand the number of node entries is bounded only by memory.") appnNnTopoCurNumNodes = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 1, 2), Gauge32()).setMaxAccess("readonly").setUnits("node entries") if mibBuilder.loadTexts: appnNnTopoCurNumNodes.setDescription("Current number of node entries in this node's topology\ndatabase. It is an implementation choice whether to count only\nnetwork-node entries, or to count all node entries, but an\nimplementation must make the same choice here that it makes for\nthe appnNnTopoMaxNodes object. If this value exceeds the\nmaximum number of nodes allowed (appnNnTopoMaxNodes, if that\nfield in not 0), APPN Alert CPDB002 is issued.") appnNnTopoNodePurges = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 1, 3), AppnNodeCounter()).setMaxAccess("readonly").setUnits("node entries") if mibBuilder.loadTexts: appnNnTopoNodePurges.setDescription("Total number of topology node records purged from this node's\ntopology database since the node was last reinitialized.") appnNnTopoTgPurges = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 1, 4), AppnNodeCounter()).setMaxAccess("readonly").setUnits("TG entries") if mibBuilder.loadTexts: appnNnTopoTgPurges.setDescription("Total number of topology TG records purged from this node's\ntopology database since the node was last reinitialized.") appnNnTopoTotalTduWars = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 1, 5), AppnNodeCounter()).setMaxAccess("readonly").setUnits("TDU wars") if mibBuilder.loadTexts: appnNnTopoTotalTduWars.setDescription("Number of TDU wars detected by this node since its last\ninitialization.") appnNnTopology = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2)) appnNnTopologyFRTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3)) if mibBuilder.loadTexts: appnNnTopologyFRTable.setDescription("Portion of the APPN topology database that describes all of\nthe APPN network nodes and virtual routing nodes known to this\nnode.") appnNnTopologyFREntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1)).setIndexNames((0, "APPN-MIB", "appnNnNodeFRFrsn"), (0, "APPN-MIB", "appnNnNodeFRName")) if mibBuilder.loadTexts: appnNnTopologyFREntry.setDescription("The FRSN and the fully qualified node name are used to index\nthis table.") appnNnNodeFRFrsn = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 1), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnNnNodeFRFrsn.setDescription("Flow reduction sequence numbers (FRSNs) are associated with\nTopology Database Updates (TDUs) and are unique only within\neach APPN network node. A TDU can be associated with multiple\nAPPN resources. This FRSN indicates the last relative time\nthis resource was updated at the agent node.") appnNnNodeFRName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 2), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnNnNodeFRName.setDescription("Administratively assigned network name that is locally defined\nat each network node.") appnNnNodeFREntryTimeLeft = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 3), AppnTopologyEntryTimeLeft()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFREntryTimeLeft.setDescription("Number of days before deletion of this network node entry.") appnNnNodeFRType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,)).subtype(namedValues=NamedValues(("networkNode", 1), ("virtualRoutingNode", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRType.setDescription("Type of APPN node.") appnNnNodeFRRsn = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRRsn.setDescription("Resource sequence number, which is assigned and controlled by\nthe network node that owns this resource. An odd number\nindicates that information about the resource is inconsistent.\n\nThis object corresponds to the numeric value in cv4580, bytes\n2-5.") appnNnNodeFRRouteAddResist = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRRouteAddResist.setDescription("Route addition resistance.\n\nThis administratively assigned value indicates the relative\ndesirability of using this node for intermediate session\ntraffic. The value, which can be any integer 0-255, is used\nin route computation. The lower the value, the more\ndesirable the node is for intermediate routing.\n\nThis object corresponds to cv4580, byte 6.") appnNnNodeFRCongested = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRCongested.setDescription("Indicates whether this node is congested. This node is not be\nincluded in route selection by other nodes when this congestion\nexists.\n\nThis object corresponds to cv4580, byte 7, bit 0.") appnNnNodeFRIsrDepleted = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRIsrDepleted.setDescription("Indicates whether intermediate session routing resources are\ndepleted. This node is not included in intermediate route\nselection by other nodes when resources are depleted.\n\nThis object corresponds to cv4580, byte 7, bit 1.") appnNnNodeFRQuiescing = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRQuiescing.setDescription("Indicates whether the node is quiescing. This node is not\nincluded in route selection by other nodes when the node is\nquiescing.\n\nThis object corresponds to cv4580, byte 7, bit 5.") appnNnNodeFRGateway = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRGateway.setDescription("Indicates whether the node provide gateway services.\n\nThis object corresponds to cv4580, byte 8, bit 0.") appnNnNodeFRCentralDirectory = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRCentralDirectory.setDescription("Indicates whether the node supports central directory\nservices.\n\nThis object corresponds to cv4580, byte 8, bit 1.") appnNnNodeFRIsr = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRIsr.setDescription("Indicates whether the node supports intermediate session\nrouting (ISR).\n\nThis object corresponds to cv4580, byte 8, bit 2.") appnNnNodeFRGarbageCollect = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRGarbageCollect.setDescription("Indicates whether the node has been marked for garbage\ncollection (deletion from the topology database) upon the next\ngarbage collection cycle.\n\nThis object corresponds to cv4580, byte 7, bit 3.") appnNnNodeFRHprSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("noHprSupport", 1), ("hprBaseOnly", 2), ("rtpTower", 3), ("controlFlowsOverRtpTower", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRHprSupport.setDescription("Indicates the node's level of support for high-performance\nrouting (HPR):\n\n noHprSupport(1) - no HPR support\n hprBaseOnly(2) - HPR base (option set 1400)\n supported\n rtpTower(3) - HPR base and RTP tower\n (option set 1401) supported\n controlFlowsOverRtpTower(4) - HPR base, RTP tower, and\n control flows over RTP\n (option set 1402) supported\n\nThis object corresponds to cv4580, byte 9, bits 3-4.") appnNnNodeFRPeriBorderSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRPeriBorderSup.setDescription("Indicates whether this node has peripheral border node\nsupport.\n\nThis object corresponds to cv4580, byte 9, bit 0.") appnNnNodeFRInterchangeSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRInterchangeSup.setDescription("Indicates whether this node has interchange node support.\n\nThis object corresponds to cv4580, byte 9, bit 1.") appnNnNodeFRExteBorderSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 17), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRExteBorderSup.setDescription("Indicates whether this node has extended border node\nsupport.\n\nThis object corresponds to cv4580, byte 9, bit 2.") appnNnNodeFRBranchAwareness = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 3, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnNodeFRBranchAwareness.setDescription("Indicates whether this node supports branch awareness.\n\nThis object corresponds to cv4580, byte 8, bit 4.") appnNnTgTopologyFRTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4)) if mibBuilder.loadTexts: appnNnTgTopologyFRTable.setDescription("Portion of the APPN topology database that describes all of\nthe APPN transmissions groups between nodes in the database.") appnNnTgTopologyFREntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1)).setIndexNames((0, "APPN-MIB", "appnNnTgFRFrsn"), (0, "APPN-MIB", "appnNnTgFROwner"), (0, "APPN-MIB", "appnNnTgFRDest"), (0, "APPN-MIB", "appnNnTgFRNum")) if mibBuilder.loadTexts: appnNnTgTopologyFREntry.setDescription("This table is indexed by four columns: FRSN, TG owner fully\nqualified node name, TG destination fully qualified node name,\nand TG number.") appnNnTgFRFrsn = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 1), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnNnTgFRFrsn.setDescription("Flow reduction sequence numbers (FRSNs) are associated with\nTopology Database Updates (TDUs) and are unique only within\neach APPN network node. A TDU can be associated with multiple\nAPPN resources. This FRSN indicates the last time this\nresource was updated at this node.") appnNnTgFROwner = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 2), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnNnTgFROwner.setDescription("Administratively assigned name for the originating node for\nthis TG. This is the same name specified in the node table.") appnNnTgFRDest = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 3), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnNnTgFRDest.setDescription("Administratively assigned fully qualified network name for the\ndestination node for this TG.") appnNnTgFRNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnNnTgFRNum.setDescription("Number associated with this transmission group. Range is\n0-255.") appnNnTgFREntryTimeLeft = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 5), AppnTopologyEntryTimeLeft()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFREntryTimeLeft.setDescription("Number of days before deletion of this network node TG entry\nif it is not operational or has an odd (inconsistent) RSN.") appnNnTgFRDestVirtual = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRDestVirtual.setDescription("Indicates whether the destination node is a virtual routing\nnode.") appnNnTgFRDlcData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 7), AppnTgDlcData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRDlcData.setDescription("DLC-specific data related to a link connection network.") appnNnTgFRRsn = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRRsn.setDescription("Current owning node's resource sequence number for this\nresource. An odd number indicates that information about the\nresource is inconsistent.\n\nThis object corresponds to the numeric value in cv47, bytes\n2-5") appnNnTgFROperational = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFROperational.setDescription("Indicates whether the transmission group is operational.\n\nThis object corresponds to cv47, byte 6, bit 0.") appnNnTgFRQuiescing = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRQuiescing.setDescription("Indicates whether the transmission group is quiescing.\n\nIf the TG owner is either an extended border node or a\nbranch-aware network node (indicated, respectively, by\nthe appnNnNodeFRExteBorderSup and appnNnNodeFRBranchAwareness\nobjects in the corresponding appnNnTopologyFREntry), then\nthis indicator is artificially set to TRUE in the APPN\ntopology database, to remove the TG from other nodes'\nroute calculations. A management application can\ndetermine whether the TG is actually quiescing by\nexamining its appnLocalTgQuiescing object at the TG owner.\n\nThis object corresponds to cv47, byte 6, bit 2.") appnNnTgFRCpCpSession = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("supportedUnknownStatus", 1), ("supportedActive", 2), ("notSupported", 3), ("supportedNotActive", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRCpCpSession.setDescription("Indicates whether CP-CP sessions are supported on this TG, and\nwhether the TG owner's contention-winner session is active on\nthis TG. Some nodes in the network are not able to\ndifferentiate support and status of CP-CP sessions, and thus\nmay report the 'supportedUnknownStatus' value.\n\nThis object corresponds to cv47, byte 6, bits 3-4.") appnNnTgFREffCap = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 12), AppnTgEffectiveCapacity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFREffCap.setDescription("Effective capacity for this TG.") appnNnTgFRConnCost = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRConnCost.setDescription("Cost per connect time.\n\nThis is an administratively assigned value representing the\nrelative cost per unit of time to use this TG. Range is from\n0, which means no cost, to 255, which indicates maximum cost.\n\nThis object corresponds to cv47, byte 13.") appnNnTgFRByteCost = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRByteCost.setDescription("Cost per byte transmitted.\n\nThis is an administratively assigned value representing the\nrelative cost of transmitting a byte over this TG. Range is\nfrom 0, which means no cost, to 255, which indicates maximum\ncost.\n\nThis object corresponds to cv47, byte 14.") appnNnTgFRSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 15), AppnTgSecurity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRSecurity.setDescription("Administratively assigned security level of this TG.\n\nThis object corresponds to cv47, byte 16.") appnNnTgFRDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 16), AppnTgDelay()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRDelay.setDescription("Administratively assigned delay associated with this TG.\n\nThis object corresponds to cv47, byte 17.") appnNnTgFRUsr1 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRUsr1.setDescription("First user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.\n\nThis object corresponds to cv47, byte 19.") appnNnTgFRUsr2 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRUsr2.setDescription("Second user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.\n\nThis object corresponds to cv47, byte 20.") appnNnTgFRUsr3 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRUsr3.setDescription("Third user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.\n\nThis object corresponds to cv47, byte 21.") appnNnTgFRGarbageCollect = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 20), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRGarbageCollect.setDescription("Indicates whether the TG has been marked for garbage\ncollection (deletion from the topology database) upon the next\ngarbage collection cycle.\n\nThis object corresponds to cv47, byte 6, bit 1.") appnNnTgFRSubareaNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRSubareaNum.setDescription("The subarea number associated with this TG.\n\nThis object corresponds to cv4680, bytes m+2 through m+5.") appnNnTgFRHprSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRHprSup.setDescription("Indicates whether high performance routing (HPR)\nis supported over this TG.\n\nThis object corresponds to cv4680, byte m+1, bit 2.") appnNnTgFRDestHprTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRDestHprTrans.setDescription("Indicates whether the destination node supports\nhigh performance routing (HPR) transport tower.\n\nThis object corresponds to cv4680, byte m+1, bit 7.") appnNnTgFRTypeIndicator = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("appnOrBfTg", 2), ("interchangeTg", 3), ("virtualRouteTg", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRTypeIndicator.setDescription("Indicates the type of the TG.\n\nThis object corresponds to cv4680, byte m+1, bits 3-4.") appnNnTgFRIntersubnet = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 25), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRIntersubnet.setDescription("Indicates whether the transmission group is an intersubnet TG,\nwhich defines a border between subnetworks.\n\nThis object corresponds to cv4680, byte m+1, bit 5.") appnNnTgFRMltgLinkType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRMltgLinkType.setDescription("This object indicates whether the transmission group is a\nmulti-link TG. A TG that has been brought up as a multi-link\nTG is reported as one, even if it currently has only one link\nactive.\n\nThis object corresponds to cv47, byte 6, bit 5.") appnNnTgFRBranchTg = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 2, 2, 4, 1, 27), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnNnTgFRBranchTg.setDescription("Indicates whether the transmission group is a branch TG\n(equivalently, whether the destination of the transmission\ngroup is a branch network node).\n\nThis object corresponds to cv4680, byte m+1, bit 1.") appnLocalTopology = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 3)) appnLocalTgTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1)) if mibBuilder.loadTexts: appnLocalTgTable.setDescription("TG Table describes all of the TGs owned by this node. The TG\ndestination can be a virtual node, network node, LEN node, or\nend node.") appnLocalTgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1)).setIndexNames((0, "APPN-MIB", "appnLocalTgDest"), (0, "APPN-MIB", "appnLocalTgNum")) if mibBuilder.loadTexts: appnLocalTgEntry.setDescription("This table is indexed by the destination CpName and the TG\nnumber.") appnLocalTgDest = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnLocalTgDest.setDescription("Administratively assigned name of the destination node for\nthis TG. This is the fully qualified name of a network node,\nend node, LEN node, or virtual routing node.") appnLocalTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnLocalTgNum.setDescription("Number associated with this transmission group.") appnLocalTgDestVirtual = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgDestVirtual.setDescription("Indicates whether the destination node for this TG is a\nvirtual routing node.") appnLocalTgDlcData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 4), AppnTgDlcData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgDlcData.setDescription("DLC-specific data related to a link connection network.") appnLocalTgPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgPortName.setDescription("Administratively assigned name for the local port associated\nwith this TG. A zero-length string indicates that this value\nis unknown.") appnLocalTgQuiescing = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgQuiescing.setDescription("Indicates whether the transmission group is quiescing.") appnLocalTgOperational = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgOperational.setDescription("Indicates whether the transmission group is operational.") appnLocalTgCpCpSession = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("supportedUnknownStatus", 1), ("supportedActive", 2), ("notSupported", 3), ("supportedNotActive", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgCpCpSession.setDescription("Indicates whether CP-CP sessions are supported on this TG, and\nwhether the TG owner's contention-winner session is active on\nthis TG. Some nodes in the network are not able to\ndifferentiate support and status of CP-CP sessions, and thus\nmay report the 'supportedUnknownStatus' value.") appnLocalTgEffCap = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 9), AppnTgEffectiveCapacity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgEffCap.setDescription("Effective capacity for this TG.") appnLocalTgConnCost = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgConnCost.setDescription("Cost per connect time: a value representing the relative cost\nper unit of time to use the TG. Range is from 0, which means\nno cost, to 255.") appnLocalTgByteCost = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgByteCost.setDescription("Relative cost of transmitting a byte over this link.\nRange is from 0 (lowest cost) to 255.") appnLocalTgSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 12), AppnTgSecurity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgSecurity.setDescription("Administratively assigned security level of this TG.") appnLocalTgDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 13), AppnTgDelay()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgDelay.setDescription("Administratively assigned delay associated with this TG.") appnLocalTgUsr1 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgUsr1.setDescription("First user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.") appnLocalTgUsr2 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgUsr2.setDescription("Second user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.") appnLocalTgUsr3 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgUsr3.setDescription("Third user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.") appnLocalTgHprSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("noHprSupport", 1), ("hprBaseOnly", 2), ("rtpTower", 3), ("controlFlowsOverRtpTower", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgHprSup.setDescription("Indicates the level of high performance routing (HPR) support\nover this TG :\n\n noHprSupport(1) - no HPR support\n hprBaseOnly(2) - HPR base (option set 1400)\n supported\n rtpTower(3) - HPR base and RTP tower\n (option set 1401) supported\n controlFlowsOverRtpTower(4) - HPR base, RTP tower, and\n control flows over RTP\n (option set 1402) supported") appnLocalTgIntersubnet = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgIntersubnet.setDescription("Indicates whether the transmission group is an intersubnet TG,\nwhich defines a border between subnetworks.") appnLocalTgMltgLinkType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgMltgLinkType.setDescription("This object indicates whether the transmission group is a\nmulti-link TG. A TG that has been brought up as a multi-link\nTG is reported as one, even if it currently has only one link\nactive.") appnLocalTgBranchLinkType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 1, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(5,255,3,1,4,2,)).subtype(namedValues=NamedValues(("other", 1), ("uplink", 2), ("unknown", 255), ("downlink", 3), ("downlinkToBranchNetworkNode", 4), ("none", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalTgBranchLinkType.setDescription("Branch link type of this TG:\nother(1) = the agent has determined the TG's\n branch link type to be a value other\n than branch uplink or branch\n downlink. This is the value used\n for a connection network TG owned by\n a branch network node.\nuplink(2) = the TG is a branch uplink.\ndownlink(3) = the TG is a branch downlink to an\n end node.\ndownlinkToBranchNetworkNode(4) = the TG is a branch\n downlink to a cascaded branch\n network node.\nnone(5) = the TG is not a branch TG.\nunknown(255) = the agent cannot determine the\n branch link type of the TG.") appnLocalEnTgTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2)) if mibBuilder.loadTexts: appnLocalEnTgTable.setDescription("Table describing all of the TGs owned by the end nodes known\nto this node via TG registration. This node does not represent\nits own view of the TG on behalf of the partner node in this\ntable. The TG destination can be a virtual routing node,\nnetwork node, or end node.") appnLocalEnTgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1)).setIndexNames((0, "APPN-MIB", "appnLocalEnTgOrigin"), (0, "APPN-MIB", "appnLocalEnTgDest"), (0, "APPN-MIB", "appnLocalEnTgNum")) if mibBuilder.loadTexts: appnLocalEnTgEntry.setDescription("This table requires multiple indexes to uniquely identify each\nTG. They are originating CPname, destination CPname, and the\nTG number.") appnLocalEnTgOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnLocalEnTgOrigin.setDescription("Administratively assigned name of the origin node for this\nTG. This is a fully qualified network name.") appnLocalEnTgDest = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 2), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnLocalEnTgDest.setDescription("Administratively assigned name of the destination node for\nthis TG. This is the fully qualified name of a network node,\nend node, LEN node, or virtual routing node.") appnLocalEnTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnLocalEnTgNum.setDescription("Number associated with this transmission group.") appnLocalEnTgEntryTimeLeft = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 4), AppnTopologyEntryTimeLeft()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgEntryTimeLeft.setDescription("Number of days before deletion of this end node TG entry.") appnLocalEnTgDestVirtual = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgDestVirtual.setDescription("Indicates whether the destination node is a virtual routing\nnode.") appnLocalEnTgDlcData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 6), AppnTgDlcData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgDlcData.setDescription("DLC-specific data related to a link connection network.") appnLocalEnTgOperational = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgOperational.setDescription("Indicates whether the transmission group is operational.") appnLocalEnTgCpCpSession = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,)).subtype(namedValues=NamedValues(("supportedUnknownStatus", 1), ("supportedActive", 2), ("notSupported", 3), ("supportedNotActive", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgCpCpSession.setDescription("Indicates whether CP-CP sessions are supported on this TG, and\nwhether the TG owner's contention-winner session is active on\nthis TG. Some nodes in the network are not able to\ndifferentiate support and status of CP-CP sessions, and thus\nmay report the 'supportedUnknownStatus' value.") appnLocalEnTgEffCap = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 9), AppnTgEffectiveCapacity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgEffCap.setDescription("Effective capacity for this TG.") appnLocalEnTgConnCost = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgConnCost.setDescription("Cost per connect time: a value representing the relative cost\nper unit of time to use the TG. Range is from 0, which means\nno cost, to 255.") appnLocalEnTgByteCost = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgByteCost.setDescription("Relative cost of transmitting a byte over this link.\nRange is from 0, which means no cost, to 255.") appnLocalEnTgSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 12), AppnTgSecurity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgSecurity.setDescription("Administratively assigned security level of this TG.") appnLocalEnTgDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 13), AppnTgDelay()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgDelay.setDescription("Administratively assigned delay associated with this TG.") appnLocalEnTgUsr1 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgUsr1.setDescription("First user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.") appnLocalEnTgUsr2 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgUsr2.setDescription("Second user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.") appnLocalEnTgUsr3 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgUsr3.setDescription("Third user-defined TG characteristic for this TG. This is\nan administratively assigned value associated with the TG.") appnLocalEnTgMltgLinkType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 3, 2, 1, 17), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnLocalEnTgMltgLinkType.setDescription("This object indicates whether the transmission group is a\nmulti-link TG. A TG that has been brought up as a multi-link\nTG is reported as one, even if it currently has only one link\nactive.") appnDir = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 4)) appnDirPerf = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1)) appnDirMaxCaches = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 1), Unsigned32()).setMaxAccess("readonly").setUnits("directory entries") if mibBuilder.loadTexts: appnDirMaxCaches.setDescription("Maximum number of cache entries allowed. This is an\nadministratively assigned value.") appnDirCurCaches = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 2), Gauge32()).setMaxAccess("readonly").setUnits("directory entries") if mibBuilder.loadTexts: appnDirCurCaches.setDescription("Current number of cache entries.") appnDirCurHomeEntries = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 3), Gauge32()).setMaxAccess("readonly").setUnits("directory entries") if mibBuilder.loadTexts: appnDirCurHomeEntries.setDescription("Current number of home entries.") appnDirRegEntries = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 4), Gauge32()).setMaxAccess("readonly").setUnits("directory entries") if mibBuilder.loadTexts: appnDirRegEntries.setDescription("Current number of registered entries.") appnDirInLocates = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 5), AppnNodeCounter()).setMaxAccess("readonly").setUnits("Locate messages") if mibBuilder.loadTexts: appnDirInLocates.setDescription("Number of directed Locates received since the node was last\nreinitialized.") appnDirInBcastLocates = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 6), AppnNodeCounter()).setMaxAccess("readonly").setUnits("Locate messages") if mibBuilder.loadTexts: appnDirInBcastLocates.setDescription("Number of broadcast Locates received since the node was last\nreinitialized.") appnDirOutLocates = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 7), AppnNodeCounter()).setMaxAccess("readonly").setUnits("Locate messages") if mibBuilder.loadTexts: appnDirOutLocates.setDescription("Number of directed Locates sent since the node was last\nreinitialized.") appnDirOutBcastLocates = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 8), AppnNodeCounter()).setMaxAccess("readonly").setUnits("Locate messages") if mibBuilder.loadTexts: appnDirOutBcastLocates.setDescription("Number of broadcast Locates sent since the node was last\nreinitialized.") appnDirNotFoundLocates = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 9), AppnNodeCounter()).setMaxAccess("readonly").setUnits("Locate messages") if mibBuilder.loadTexts: appnDirNotFoundLocates.setDescription("Number of directed Locates returned with a 'not found' since\nthe node was last reinitialized.") appnDirNotFoundBcastLocates = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 10), AppnNodeCounter()).setMaxAccess("readonly").setUnits("Locate messages") if mibBuilder.loadTexts: appnDirNotFoundBcastLocates.setDescription("Number of broadcast Locates returned with a 'not found' since\nthe node was last reinitialized.") appnDirLocateOutstands = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 1, 11), Gauge32()).setMaxAccess("readonly").setUnits("Locate messages") if mibBuilder.loadTexts: appnDirLocateOutstands.setDescription("Current number of outstanding Locates, both directed and\nbroadcast. This value varies. A value of zero indicates\nthat no Locates are unanswered.") appnDirTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2)) if mibBuilder.loadTexts: appnDirTable.setDescription("Table containing information about all known LUs.") appnDirEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2, 1)).setIndexNames((0, "APPN-MIB", "appnDirLuName")) if mibBuilder.loadTexts: appnDirEntry.setDescription("This table is indexed by the LU name.") appnDirLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnDirLuName.setDescription("Fully qualified network LU name in the domain of the\nserving network node. Entries take one of three forms:\n\n - Explicit entries do not contain the character '*'.\n - Partial wildcard entries have the form 'ccc*', where\n 'ccc' represents one to sixteen characters in a\n legal SNA LuName.\n - A full wildcard entry consists of the single\n character '*'") appnDirNnServerName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2, 1, 2), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnDirNnServerName.setDescription("Fully qualified control point (CP) name of the network node\nserver. For unassociated end node entries, a zero-length\nstring is returned.") appnDirLuOwnerName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2, 1, 3), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnDirLuOwnerName.setDescription("Fully qualified CP name of the node at which the LU is\nlocated. This name is the same as the serving NN name when\nthe LU is located at a network node. It is also the same as\nthe fully qualified LU name when this is the control point\nLU for this node.") appnDirLuLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("local", 1), ("domain", 2), ("xdomain", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnDirLuLocation.setDescription("Specifies the location of the LU with respect to the local\nnode.") appnDirType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("home", 1), ("cache", 2), ("registered", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnDirType.setDescription("Directory types are:\n1 - Home\n The LU is in the domain of the local node, and the LU\n information has been configured at the local node.\n\n2 - Cache\n The LU has previously been located by a broadcast\n search, and the location information has been saved.\n3 - Registered\n The LU is at an end node that is in the domain\n of the local network node. Registered entries\n are registered by the served end node.") appnDirApparentLuOwnerName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 4, 2, 1, 6), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnDirApparentLuOwnerName.setDescription("Fully qualified CP name of the node at which the LU appears to\nbe located. This object and the appnDirLuOwnerName object are\nrelated as follows:\n\nImplementations that support this object save in their\ndirectory database information about an LU's owning control\npoint that was communicated in two control vectors:\n\n - an Associated Resource Entry (X'3C') CV with resource\n type X'00F4' (ENCP)\n\n - a Real Owning Control Point (X'4A') CV.\n\nThe X'4A' CV is created by a branch network node to preserve\nthe name of the real owning control point for an LU below the\nbranch network node, before it overwrites this name with its\nown name in the X'3C' CV. The X'4A' CV is not present for LUs\nthat are not below branch network nodes.\n\nIf the information a node has about an LU's owning CP came only\nin a X'3C' CV, then the name from the X'3C' is returned in the\nappnDirLuOwnerName object, and a null string is returned in\nthis object.\n\nIf the information a node has about an LU's owning CP came in\nboth X'3C' and X'4A' CVs, then the name from the X'4A' is\nreturned in the appnDirLuOwnerName object, and the name from\nthe X'3C' (which will be the branch network node's name) is\nreturned in this object.") appnCos = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 5)) appnCosModeTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 1)) if mibBuilder.loadTexts: appnCosModeTable.setDescription("Table representing all of the defined mode names for this\nnode. The table contains the matching COS name for each\nmode name.") appnCosModeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 1, 1)).setIndexNames((0, "APPN-MIB", "appnCosModeName")) if mibBuilder.loadTexts: appnCosModeEntry.setDescription("This table is indexed by the mode name.") appnCosModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 1, 1, 1), SnaModeName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnCosModeName.setDescription("Administratively assigned name for this mode.") appnCosModeCosName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 1, 1, 2), SnaClassOfServiceName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosModeCosName.setDescription("Administratively assigned name for this class of service.") appnCosNameTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 2)) if mibBuilder.loadTexts: appnCosNameTable.setDescription("Table mapping all of the defined class-of-service names for\nthis node to their network transmission priorities.") appnCosNameEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 2, 1)).setIndexNames((0, "APPN-MIB", "appnCosName")) if mibBuilder.loadTexts: appnCosNameEntry.setDescription("The COS name is the index to this table.") appnCosName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 2, 1, 1), SnaClassOfServiceName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnCosName.setDescription("Administratively assigned name for this class of service.") appnCosTransPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,1,)).subtype(namedValues=NamedValues(("low", 1), ("medium", 2), ("high", 3), ("network", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTransPriority.setDescription("Transmission priority for this class of service:\n\nlow(1) - (X'01'): low priority\nmedium(2) - (X'02'): medium priority\nhigh(3) - (X'03'): high priority\nnetwork(4) - (X'04'): network priority") appnCosNodeRowTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3)) if mibBuilder.loadTexts: appnCosNodeRowTable.setDescription("This table contains all node-row information for all classes\nof service defined in this node.") appnCosNodeRowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1)).setIndexNames((0, "APPN-MIB", "appnCosNodeRowName"), (0, "APPN-MIB", "appnCosNodeRowIndex")) if mibBuilder.loadTexts: appnCosNodeRowEntry.setDescription("A node entry for a given class of service.") appnCosNodeRowName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1, 1), SnaClassOfServiceName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnCosNodeRowName.setDescription("Administratively assigned name for this class of service.") appnCosNodeRowIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnCosNodeRowIndex.setDescription("Subindex under appnCosNodeRowName, corresponding to a row in\nthe node table for the class of service identified in\nappnCosNodeRowName.\n\nFor each class of service, this subindex orders rows in the\nappnCosNodeRowTable in the same order as that used for route\ncalculation in the APPN node.") appnCosNodeRowWgt = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosNodeRowWgt.setDescription("Weight to be associated with the nodes that fit the criteria\nspecified by this node row.\n\nThis value can either be a character representation of an\ninteger, or a formula for calculating the weight.") appnCosNodeRowResistMin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosNodeRowResistMin.setDescription("Minimum route addition resistance value for this node.\nRange of values is 0-255. The lower the value, the more\ndesirable the node is for intermediate routing.") appnCosNodeRowResistMax = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosNodeRowResistMax.setDescription("Maximum route addition resistance value for this node.\nRange of values is 0-255. The lower the value, the more\ndesirable the node is for intermediate routing.") appnCosNodeRowMinCongestAllow = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosNodeRowMinCongestAllow.setDescription("Indicates whether low congestion will be tolerated. This\nobject and appnCosNodeRowMaxCongestAllow together delineate a\nrange of acceptable congestion states for a node. For the\nordered pair (minimum congestion allowed, maximum congestion\nallowed), the values are interpreted as follows:\n\n - (0,0): only low congestion is acceptable\n - (0,1): either low or high congestion is acceptable\n - (1,1): only high congestion is acceptable.\n\nNote that the combination (1,0) is not defined, since it\nwould identify a range whose lower bound was high congestion\nand whose upper bound was low congestion.") appnCosNodeRowMaxCongestAllow = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosNodeRowMaxCongestAllow.setDescription("Indicates whether low congestion will be tolerated. This\nobject and appnCosNodeRowMinCongestAllow together delineate a\nrange of acceptable congestion states for a node. For the\nordered pair (minimum congestion allowed, maximum congestion\nallowed), the values are interpreted as follows:\n - (0,0): only low congestion is acceptable\n - (0,1): either low or high congestion is acceptable\n - (1,1): only high congestion is acceptable.\n\nNote that the combination (1,0) is not defined, since it\nwould identify a range whose lower bound was high congestion\nand whose upper bound was low congestion.") appnCosTgRowTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4)) if mibBuilder.loadTexts: appnCosTgRowTable.setDescription("Table containing all the TG-row information for all classes of\nservice defined in this node.") appnCosTgRowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1)).setIndexNames((0, "APPN-MIB", "appnCosTgRowName"), (0, "APPN-MIB", "appnCosTgRowIndex")) if mibBuilder.loadTexts: appnCosTgRowEntry.setDescription("A TG entry for a given class of service.") appnCosTgRowName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 1), SnaClassOfServiceName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnCosTgRowName.setDescription("Administratively assigned name for this class of service.") appnCosTgRowIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnCosTgRowIndex.setDescription("Subindex under appnCosTgRowName, corresponding to a row in the\nTG table for the class of service identified in\nappnCosTgRowName.\n\nFor each class of service, this subindex orders rows in the\nappnCosTgRowTable in the same order as that used for route\ncalculation in the APPN node.") appnCosTgRowWgt = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowWgt.setDescription("Weight to be associated with the TGs that fit the criteria\nspecified by this TG row.\n\nThis value can either be a character representation of an\ninteger, or a formula for calculating the weight.") appnCosTgRowEffCapMin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 4), AppnTgEffectiveCapacity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowEffCapMin.setDescription("Minimum acceptable capacity for this class of service.") appnCosTgRowEffCapMax = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 5), AppnTgEffectiveCapacity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowEffCapMax.setDescription("Maximum acceptable capacity for this class of service.") appnCosTgRowConnCostMin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowConnCostMin.setDescription("Minimum acceptable cost per connect time for this class of\nservice.\n\nCost per connect time: a value representing the relative\ncost per unit of time to use this TG. Range is from 0, which\nmeans no cost, to 255.") appnCosTgRowConnCostMax = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowConnCostMax.setDescription("Maximum acceptable cost per connect time for this class of\nservice.\n\nCost per connect time: a value representing the relative\ncost per unit of time to use this TG. Range is from 0, which\nmeans no cost, to 255.") appnCosTgRowByteCostMin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowByteCostMin.setDescription("Minimum acceptable cost per byte transmitted for this class\nof service.\n\nCost per byte transmitted: a value representing the relative\ncost per unit of time to use this TG. Range is from 0, which\nmeans no cost, to 255.") appnCosTgRowByteCostMax = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowByteCostMax.setDescription("Maximum acceptable cost per byte transmitted for this class\nof service.\n\nCost per byte transmitted: a value representing the relative\ncost of transmitting a byte over this TG. Range is from 0,\nwhich means no cost, to 255.") appnCosTgRowSecurityMin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 10), AppnTgSecurity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowSecurityMin.setDescription("Minimum acceptable security for this class of service.") appnCosTgRowSecurityMax = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 11), AppnTgSecurity()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowSecurityMax.setDescription("Maximum acceptable security for this class of service.") appnCosTgRowDelayMin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 12), AppnTgDelay()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowDelayMin.setDescription("Minimum acceptable propagation delay for this class of\nservice.") appnCosTgRowDelayMax = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 13), AppnTgDelay()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowDelayMax.setDescription("Maximum acceptable propagation delay for this class of\nservice.") appnCosTgRowUsr1Min = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowUsr1Min.setDescription("Minimum acceptable value for this user-defined\ncharacteristic.") appnCosTgRowUsr1Max = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowUsr1Max.setDescription("Maximum acceptable value for this user-defined\ncharacteristic.") appnCosTgRowUsr2Min = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowUsr2Min.setDescription("Minimum acceptable value for this user-defined\ncharacteristic.") appnCosTgRowUsr2Max = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowUsr2Max.setDescription("Maximum acceptable value for this user-defined\ncharacteristic.") appnCosTgRowUsr3Min = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowUsr3Min.setDescription("Minimum acceptable value for this user-defined\ncharacteristic.") appnCosTgRowUsr3Max = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 5, 4, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnCosTgRowUsr3Max.setDescription("Maximum acceptable value for this user-defined\ncharacteristic.") appnSessIntermediate = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 6)) appnIsInGlobal = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1)) appnIsInGlobeCtrAdminStatus = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ("ready", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appnIsInGlobeCtrAdminStatus.setDescription("Object by which a Management Station can deactivate or\nactivate capture of intermediate-session counts and names, by\nsetting the value to notActive(1) or active(2), respectively.\nThe value ready(3) is returned on GET operations until a SET\nhas been processed; after that the value received on the most\nrecent SET is returned.\n\nThe counts referred to here are the eight objects in the\nAppnIsInTable, from appnIsInP2SFmdPius through\nappnIsInS2PNonFmdBytes. The names are the four objects in this\ntable, from appnIsInPriLuName through appnIsInCosName.\n\nSetting this object to the following values has the following\neffects:\n\n notActive(1) stop collecting count data. If a count\n is queried, it returns the value 0.\n Collection of names may, but need not be,\n disabled.\n active(2) start collecting count data. If it is\n supported, collection of names is enabled.") appnIsInGlobeCtrOperStatus = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInGlobeCtrOperStatus.setDescription("Indicates whether or not the intermediate session counts\nare active. The counts referred to here are the eight\nobjects in the AppnIsInTable, from appnIsInP2SFmdPius through\nappnIsInS2PNonFmdBytes. These eight counts are of type\nUnsigned32 rather than Counter32 because when this object\nenters the notActive state, either because a Management\nStation has set appnInInGlobeCtrAdminStatus to notActive or\nbecause of a locally-initiated transition, the counts are\nall reset to 0.\n\nThe values for this object are:\n\n notActive(1): collection of counts is not active; if it\n is queried, a count returns the value 0.\n active(2): collection of counts is active.") appnIsInGlobeCtrStatusTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1, 3), TimeTicks()).setMaxAccess("readonly").setUnits("hundredths of a second") if mibBuilder.loadTexts: appnIsInGlobeCtrStatusTime.setDescription("The time since the appnIsInGlobeCtrOperStatus object last\nchanged, measured in hundredths of a second. This time can be\nused to identify when this change occurred in relation to other\nevents in the agent, such as the last time the APPN node was\nreinitialized.") appnIsInGlobeRscv = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appnIsInGlobeRscv.setDescription("Indicates the current route selection control vector (RSCV)\ncollection option in effect, and allows a Management Station to\nchange the option.\n\nThe values for this object are:\n\n notActive(1): collection of route selection control vectors\n is not active.\n active(2): collection of route selection control vectors\n is active.") appnIsInGlobeRscvTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1, 5), TimeTicks()).setMaxAccess("readonly").setUnits("hundredths of a second") if mibBuilder.loadTexts: appnIsInGlobeRscvTime.setDescription("The time since the appnIsInGlobeRscv object last changed,\nmeasured in hundredths of a second. This time can be used to\nidentify when this change occurred in relation to other events\nin the agent, such as the last time the APPN node was\nreinitialized.") appnIsInGlobeActSess = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1, 6), Gauge32()).setMaxAccess("readonly").setUnits("sessions") if mibBuilder.loadTexts: appnIsInGlobeActSess.setDescription("The number of currently active intermediate sessions.") appnIsInGlobeHprBfActSess = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 1, 7), Gauge32()).setMaxAccess("readonly").setUnits("sessions") if mibBuilder.loadTexts: appnIsInGlobeHprBfActSess.setDescription("The number of currently active HPR intermediate sessions.") appnIsInTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2)) if mibBuilder.loadTexts: appnIsInTable.setDescription("Intermediate Session Information Table") appnIsInEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1)).setIndexNames((0, "APPN-MIB", "appnIsInFqCpName"), (0, "APPN-MIB", "appnIsInPcid")) if mibBuilder.loadTexts: appnIsInEntry.setDescription("Entry of Intermediate Session Information Table.") appnIsInFqCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnIsInFqCpName.setDescription("The network-qualified control point name of the node at which\nthe session and PCID originated. For APPN and LEN nodes, this\nis either CP name of the APPN node at which the origin LU is\nlocated or the CP name of the NN serving the LEN node at which\nthe origin LU is located. For resources served by a dependent\nLU requester (DLUR), it is the name of the owning system\nservices control point (SSCP).") appnIsInPcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnIsInPcid.setDescription("The procedure correlation identifier (PCID) of a session. It\nis an 8-byte value assigned by the primary LU.") appnIsInSessState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("inactive", 1), ("pendactive", 2), ("active", 3), ("pendinact", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appnIsInSessState.setDescription("Indicates the state of the session:\n\ninactive(1) - session is inactive\npendactive(2) - session is pending active\nactive(3) - session is active\npendinact(4) - session is pending inactive\n\nActive sessions can be deactivated by setting this object\nto inactive(1).") appnIsInPriLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPriLuName.setDescription("The primary LU name of the session. A zero-length\nstring indicates that this name is not available.") appnIsInSecLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSecLuName.setDescription("The secondary LU name of the session. A zero-length\nstring indicates that this name is not available.") appnIsInModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 6), SnaModeName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInModeName.setDescription("The mode name used for this session.") appnIsInCosName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 7), SnaClassOfServiceName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInCosName.setDescription("The Class of Service (COS) name used for this session.") appnIsInTransPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,1,)).subtype(namedValues=NamedValues(("low", 1), ("medium", 2), ("high", 3), ("network", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInTransPriority.setDescription("Transmission priority for this class of service. Values are:\n\nlow(1) - (X'01'): low priority\nmedium(2) - (X'02'): medium priority\nhigh(3) - (X'03'): high priority\nnetwork(4) - (X'04'): network priority") appnIsInSessType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,5,)).subtype(namedValues=NamedValues(("unknown", 1), ("lu62", 2), ("lu0thru3", 3), ("lu62dlur", 4), ("lu0thru3dlur", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSessType.setDescription("The type of intermediate session. Defined values are\n\nunknown The session type is not known.\n\nlu62 A session between LUs of type 6.2\n (as indicated by the LU type in Bind)\n\nlu0thru3 A session between LUs of type 0, 1, 2, or 3\n (as indicated by the LU type in Bind)\n\nlu62dlur A session between LUs of type 6.2\n (as indicated by the LU type in Bind).\n One of the LUs is a dependent LU supported\n by the dependent LU requester (DLUR)\n function at this node.\n\nlu0thru3dlur A session between LUs of type 0, 1, 2, or 3\n (as indicated by the LU type in Bind)\n One of the LUs is a dependent LU supported\n by the dependent LU requester (DLUR)\n function at this node.") appnIsInSessUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 10), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSessUpTime.setDescription("Length of time the session has been active, measured in\nhundredths of a second.") appnIsInCtrUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInCtrUpTime.setDescription("Length of time the session counters have been active, measured\nin hundredths of a second.") appnIsInP2SFmdPius = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInP2SFmdPius.setDescription("Number of function management data (FMD) path information\nunits (PIUs) sent from the Primary LU to the Secondary LU since\nthe counts were last activated.") appnIsInS2PFmdPius = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 13), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInS2PFmdPius.setDescription("Number of FMD PIUs sent from the Secondary LU to the Primary\nLU since the counts were last activated.") appnIsInP2SNonFmdPius = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 14), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInP2SNonFmdPius.setDescription("Number of non-FMD PIUs sent from the Primary LU to the\nSecondary LU since the counts were last activated.") appnIsInS2PNonFmdPius = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 15), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInS2PNonFmdPius.setDescription("Number of non-FMD PIUs sent from the Secondary LU to the\nPrimary LU since the counts were last activated.") appnIsInP2SFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 16), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInP2SFmdBytes.setDescription("Number of FMD bytes sent from the Primary LU to the Secondary\nLU since the counts were last activated.") appnIsInS2PFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInS2PFmdBytes.setDescription("Number of FMD bytes sent from the Secondary LU to the Primary\nLU since the counts were last activated.") appnIsInP2SNonFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 18), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInP2SNonFmdBytes.setDescription("Number of non-FMD bytes sent from the Primary LU to the\nSecondary LU since the counts were last activated.") appnIsInS2PNonFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 19), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInS2PNonFmdBytes.setDescription("Number of non-FMD bytes sent from the Secondary LU to the\nPrimary LU since the counts were last activated.") appnIsInPsAdjCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 20), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsAdjCpName.setDescription("The primary stage adjacent CP name of this session. If the\nsession stage traverses an RTP connection, the CP name of the\nremote RTP endpoint is returned.") appnIsInPsAdjTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 300))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsAdjTgNum.setDescription("The primary stage adjacent transmission group (TG) number\nassociated with this session. If the session stage traverses\nan RTP connection, the value 256 is returned.\n\nValues between 257 and 300 are available for other possible\nTG 'stand-ins' that may be added to APPN in the future.") appnIsInPsSendMaxBtuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(99, 32767))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsSendMaxBtuSize.setDescription("The primary stage maximum basic transmission unit (BTU) size\nfor sending data.") appnIsInPsSendPacingType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("fixed", 1), ("adaptive", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsSendPacingType.setDescription("The primary stage type of pacing being used for sending data.") appnIsInPsSendRpc = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 24), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsSendRpc.setDescription("The primary stage send residual pace count. This represents\nthe primary stage number of message units (MUs) that can still\nbe sent in the current session window.") appnIsInPsSendNxWndwSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 25), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsSendNxWndwSize.setDescription("The primary stage size of the next window which will be used\nto send data.") appnIsInPsRecvPacingType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 26), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("fixed", 1), ("adaptive", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsRecvPacingType.setDescription("The primary stage type of pacing being used for receiving\ndata.") appnIsInPsRecvRpc = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 27), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsRecvRpc.setDescription("The primary stage receive residual pace count. This\nrepresents the primary stage number of message units (MUs) that\ncan still be received in the current session window.") appnIsInPsRecvNxWndwSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 28), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInPsRecvNxWndwSize.setDescription("The primary stage size of the next window which will be used\nto receive data.") appnIsInSsAdjCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 29), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsAdjCpName.setDescription("The secondary stage adjacent CP name of this session. If the\nsession stage traverses an RTP connection, the CP name of the\nremote RTP endpoint is returned.") appnIsInSsAdjTgNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 300))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsAdjTgNum.setDescription("The secondary stage adjacent transmission group (TG) number\nassociated with this session. If the session stage traverses\nan RTP connection, the value 256 is returned.\n\nValues between 257 and 300 are available for other possible\nTG 'stand-ins' that may be added to APPN in the future.") appnIsInSsSendMaxBtuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(99, 32767))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsSendMaxBtuSize.setDescription("The secondary stage maximum basic transmission unit (BTU) size\nfor sending data.") appnIsInSsSendPacingType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 32), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("fixed", 1), ("adaptive", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsSendPacingType.setDescription("The secondary stage type of pacing being used for sending\ndata.") appnIsInSsSendRpc = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 33), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsSendRpc.setDescription("The secondary stage send residual pace count. This represents\nthe secondary stage number of message units (MUs) that can\nstill be sent in the current session window.") appnIsInSsSendNxWndwSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 34), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsSendNxWndwSize.setDescription("The secondary stage size of the next window which will be used\nto send data.") appnIsInSsRecvPacingType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 35), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("fixed", 1), ("adaptive", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsRecvPacingType.setDescription("The secondary stage type of pacing being used for receiving\ndata.") appnIsInSsRecvRpc = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 36), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsRecvRpc.setDescription("The secondary stage receive residual pace count. This\nrepresents the secondary stage number of message units (MUs)\nthat can still be received in the current session window.") appnIsInSsRecvNxWndwSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 37), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInSsRecvNxWndwSize.setDescription("The secondary stage size of the next window which will be used\nto receive data.") appnIsInRouteInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 38), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInRouteInfo.setDescription("The route selection control vector (RSCV X'2B') used for this\nsession. It is present for APPN nodes; but is not present for\nLEN nodes. The format of this vector is described in SNA\nFormats. If no RSCV is available, a zero-length string is\nreturned.") appnIsInRtpNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 39), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInRtpNceId.setDescription("The HPR local Network Connection Endpoint of the session.") appnIsInRtpTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 2, 1, 40), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsInRtpTcid.setDescription("The RTP connection local TCID of the session.") appnIsRtpTable = MibTable((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 3)) if mibBuilder.loadTexts: appnIsRtpTable.setDescription("A table indicating how many ISR sessions are transported by\neach RTP connection.") appnIsRtpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 3, 1)).setIndexNames((0, "APPN-MIB", "appnIsRtpNceId"), (0, "APPN-MIB", "appnIsRtpTcid")) if mibBuilder.loadTexts: appnIsRtpEntry.setDescription("Entry of Intermediate Session RTP Table.") appnIsRtpNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 3, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnIsRtpNceId.setDescription("The local Network Connection Endpoint of the RTP connection.") appnIsRtpTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: appnIsRtpTcid.setDescription("The local TCID of the RTP connection.") appnIsRtpSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 4, 1, 6, 3, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appnIsRtpSessions.setDescription("The number of intermediate sessions using this RTP\nconnection.") appnTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 2)) alertIdNumber = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 2, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("notifyonly") if mibBuilder.loadTexts: alertIdNumber.setDescription("A 32-bit SNA Management Services (SNA/MS) Alert ID Number, as\nspecified in SNA/MS Formats.") affectedObject = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 2, 3), VariablePointer()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: affectedObject.setDescription("The MIB object associated with the Alert condition, if there\nis an object associated with it. If no associated object can\nbe identified, the value 0.0 is passed in the trap.") appnConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 3)) appnCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 3, 1)) appnGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 3, 2)) # Augmentions # Notifications alertTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 2, 1)).setObjects(*(("APPN-MIB", "alertIdNumber"), ("APPN-MIB", "affectedObject"), ) ) if mibBuilder.loadTexts: alertTrap.setDescription("This trap carries a 32-bit SNA Management Services (SNA/MS)\nAlert ID Number, as specified in SNA/MS Formats.") # Groups appnGeneralConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 1)).setObjects(*(("APPN-MIB", "appnNodeAdaptiveBindPacing"), ("APPN-MIB", "appnNodeType"), ("APPN-MIB", "appnNodeCpName"), ("APPN-MIB", "appnNodeHprSupport"), ("APPN-MIB", "appnNodeParallelTg"), ("APPN-MIB", "appnNodeMibVersion"), ("APPN-MIB", "appnNodeCounterDisconTime"), ("APPN-MIB", "appnNodeUpTime"), ("APPN-MIB", "appnNodeId"), ) ) if mibBuilder.loadTexts: appnGeneralConfGroup.setDescription("A collection of objects providing the instrumentation of\nAPPN general information and capabilities.\n\nThis RFC 2155-level group was deprecated when the\nappnNodeMibVersion object was removed and the\nappnNodeLsCounterType and appnNodeBrNn objects were added.") appnPortConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 2)).setObjects(*(("APPN-MIB", "appnPortMaxIframeWindow"), ("APPN-MIB", "appnPortOperState"), ("APPN-MIB", "appnPortCommand"), ("APPN-MIB", "appnPortLsRole"), ("APPN-MIB", "appnPortPortType"), ("APPN-MIB", "appnPortDynamicLinkSupport"), ("APPN-MIB", "appnPortDlcType"), ("APPN-MIB", "appnPortDynLsBadXids"), ("APPN-MIB", "appnPortDefLsGoodXids"), ("APPN-MIB", "appnPortNegotLs"), ("APPN-MIB", "appnPortSpecific"), ("APPN-MIB", "appnPortDefLsBadXids"), ("APPN-MIB", "appnPortSIMRIM"), ("APPN-MIB", "appnPortMaxRcvBtuSize"), ("APPN-MIB", "appnPortDlcLocalAddr"), ("APPN-MIB", "appnPortDynLsGoodXids"), ("APPN-MIB", "appnPortCounterDisconTime"), ) ) if mibBuilder.loadTexts: appnPortConfGroup.setDescription("A collection of objects providing the instrumentation of\nAPPN port information.") appnLinkConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 3)).setObjects(*(("APPN-MIB", "appnLsLimResource"), ("APPN-MIB", "appnLsCurrentDelay"), ("APPN-MIB", "appnLsLocalAddr"), ("APPN-MIB", "appnLsStatusLsName"), ("APPN-MIB", "appnLsCounterDisconTime"), ("APPN-MIB", "appnLsCurrentStateTime"), ("APPN-MIB", "appnLsPartnerNodeId"), ("APPN-MIB", "appnLsOutXidFrames"), ("APPN-MIB", "appnLsStatusXidBitInError"), ("APPN-MIB", "appnLsAdjCpName"), ("APPN-MIB", "appnLsStatusXidRemoteSense"), ("APPN-MIB", "appnLsMinDelay"), ("APPN-MIB", "appnLsStatusRetry"), ("APPN-MIB", "appnLsAdjNodeType"), ("APPN-MIB", "appnLsCpCpSessionSupport"), ("APPN-MIB", "appnLsStatusGeneralSense"), ("APPN-MIB", "appnLsInXidFrames"), ("APPN-MIB", "appnLsMaxSendBtuSize"), ("APPN-MIB", "appnLsCommand"), ("APPN-MIB", "appnLsDynamic"), ("APPN-MIB", "appnLsSpecific"), ("APPN-MIB", "appnLsGoodXids"), ("APPN-MIB", "appnLsTgNum"), ("APPN-MIB", "appnLsStatusXidByteInError"), ("APPN-MIB", "appnLsDlcType"), ("APPN-MIB", "appnLsStatusDlcType"), ("APPN-MIB", "appnLsPortName"), ("APPN-MIB", "appnLsOutMsgFrames"), ("APPN-MIB", "appnLsOutXidBytes"), ("APPN-MIB", "appnLsBadXids"), ("APPN-MIB", "appnLsMaxDelay"), ("APPN-MIB", "appnLsStatusXidLocalSense"), ("APPN-MIB", "appnLsStatusEndSense"), ("APPN-MIB", "appnLsStatusPartnerId"), ("APPN-MIB", "appnLsRemoteLsName"), ("APPN-MIB", "appnLsMigration"), ("APPN-MIB", "appnLsStatusRemoteAddr"), ("APPN-MIB", "appnLsOperState"), ("APPN-MIB", "appnLsStatusTime"), ("APPN-MIB", "appnLsStatusTgNum"), ("APPN-MIB", "appnLsMaxDelayTime"), ("APPN-MIB", "appnLsEchoRsps"), ("APPN-MIB", "appnLsActiveTime"), ("APPN-MIB", "appnLsStatusLocalAddr"), ("APPN-MIB", "appnLsInXidBytes"), ("APPN-MIB", "appnLsStatusCpName"), ("APPN-MIB", "appnLsHprSup"), ("APPN-MIB", "appnLsInMsgBytes"), ("APPN-MIB", "appnLsActOnDemand"), ("APPN-MIB", "appnLsInMsgFrames"), ("APPN-MIB", "appnLsOutMsgBytes"), ("APPN-MIB", "appnLsRemoteAddr"), ) ) if mibBuilder.loadTexts: appnLinkConfGroup.setDescription("A collection of objects providing the instrumentation of\nAPPN link information.\n\nThis RFC 2155-level group was deprecated when the\nappnLsMltgMember object was added.") appnLocalTgConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 4)).setObjects(*(("APPN-MIB", "appnLocalTgOperational"), ("APPN-MIB", "appnLocalTgQuiescing"), ("APPN-MIB", "appnLocalTgPortName"), ("APPN-MIB", "appnLocalTgUsr3"), ("APPN-MIB", "appnLocalTgIntersubnet"), ("APPN-MIB", "appnLocalTgDlcData"), ("APPN-MIB", "appnLocalTgEffCap"), ("APPN-MIB", "appnLocalTgUsr2"), ("APPN-MIB", "appnLocalTgConnCost"), ("APPN-MIB", "appnLocalTgHprSup"), ("APPN-MIB", "appnLocalTgByteCost"), ("APPN-MIB", "appnLocalTgDestVirtual"), ("APPN-MIB", "appnLocalTgCpCpSession"), ("APPN-MIB", "appnLocalTgSecurity"), ("APPN-MIB", "appnLocalTgDelay"), ("APPN-MIB", "appnLocalTgUsr1"), ) ) if mibBuilder.loadTexts: appnLocalTgConfGroup.setDescription("A collection of objects providing the instrumentation of\nAPPN local TG information.\n\nThis RFC 2155-level group was deprecated when the\nappnLocalTgMltgLinkType object was added.") appnDirTableConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 5)).setObjects(*(("APPN-MIB", "appnDirType"), ("APPN-MIB", "appnDirNnServerName"), ("APPN-MIB", "appnDirLuOwnerName"), ("APPN-MIB", "appnDirLuLocation"), ) ) if mibBuilder.loadTexts: appnDirTableConfGroup.setDescription("A collection of objects providing the instrumentation of the\nAPPN directory database.\n\nThis RFC 2155-level group was deprecated when the\nappnDirApparentLuOwnerName object was added.") appnNnUniqueConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 6)).setObjects(*(("APPN-MIB", "appnNodeNnIsr"), ("APPN-MIB", "appnNodeNnCentralDirectory"), ("APPN-MIB", "appnNodeNnIsrDepleted"), ("APPN-MIB", "appnNodeNnRouteAddResist"), ("APPN-MIB", "appnNodeNnInterchangeSup"), ("APPN-MIB", "appnNodeNnPeriBorderSup"), ("APPN-MIB", "appnNodeNnRsn"), ("APPN-MIB", "appnNodeNnQuiescing"), ("APPN-MIB", "appnNodeNnSafeStoreFreq"), ("APPN-MIB", "appnNodeNnExteBorderSup"), ("APPN-MIB", "appnNodeNnTreeCache"), ("APPN-MIB", "appnNodeNnFrsn"), ("APPN-MIB", "appnNodeNnCongested"), ("APPN-MIB", "appnNodeNnGateway"), ) ) if mibBuilder.loadTexts: appnNnUniqueConfGroup.setDescription("A collection of objects providing instrumentation unique\nto APPN network nodes.") appnEnUniqueConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 7)).setObjects(*(("APPN-MIB", "appnNodeEnModeCosMap"), ("APPN-MIB", "appnNodeEnLuSearch"), ("APPN-MIB", "appnNodeEnNnServer"), ) ) if mibBuilder.loadTexts: appnEnUniqueConfGroup.setDescription("A collection of objects providing instrumentation for\nAPPN end nodes. Some of these objects also appear in the\ninstrumentation for a branch network node.") appnVrnConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 8)).setObjects(*(("APPN-MIB", "appnVrnPortName"), ) ) if mibBuilder.loadTexts: appnVrnConfGroup.setDescription("An object providing the instrumentation for virtual\nrouting node support in an APPN node.") appnNnTopoConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 9)).setObjects(*(("APPN-MIB", "appnNnTgFRDestHprTrans"), ("APPN-MIB", "appnNnTgFRDestVirtual"), ("APPN-MIB", "appnNnTgFREntryTimeLeft"), ("APPN-MIB", "appnNnNodeFRRouteAddResist"), ("APPN-MIB", "appnNnTgFRRsn"), ("APPN-MIB", "appnNnNodeFRQuiescing"), ("APPN-MIB", "appnNnNodeFRCentralDirectory"), ("APPN-MIB", "appnNnTgFRUsr3"), ("APPN-MIB", "appnNnTopoTgPurges"), ("APPN-MIB", "appnNnTgFREffCap"), ("APPN-MIB", "appnNnNodeFRGateway"), ("APPN-MIB", "appnNnTopoCurNumNodes"), ("APPN-MIB", "appnNnTgFRSecurity"), ("APPN-MIB", "appnNnNodeFRIsrDepleted"), ("APPN-MIB", "appnNnTgFRHprSup"), ("APPN-MIB", "appnNnTgFRTypeIndicator"), ("APPN-MIB", "appnNnTgFRUsr1"), ("APPN-MIB", "appnNnNodeFRHprSupport"), ("APPN-MIB", "appnNnTgFRIntersubnet"), ("APPN-MIB", "appnNnNodeFRPeriBorderSup"), ("APPN-MIB", "appnNnTgFRDlcData"), ("APPN-MIB", "appnNnNodeFRRsn"), ("APPN-MIB", "appnNnTopoMaxNodes"), ("APPN-MIB", "appnNnTgFRGarbageCollect"), ("APPN-MIB", "appnNnNodeFRGarbageCollect"), ("APPN-MIB", "appnNnTgFROperational"), ("APPN-MIB", "appnNnTgFRUsr2"), ("APPN-MIB", "appnNnTgFRByteCost"), ("APPN-MIB", "appnNnTgFRCpCpSession"), ("APPN-MIB", "appnNnTopoNodePurges"), ("APPN-MIB", "appnNnTgFRSubareaNum"), ("APPN-MIB", "appnNnTopoTotalTduWars"), ("APPN-MIB", "appnNnNodeFREntryTimeLeft"), ("APPN-MIB", "appnNnNodeFRInterchangeSup"), ("APPN-MIB", "appnNnTgFRDelay"), ("APPN-MIB", "appnNnNodeFRType"), ("APPN-MIB", "appnNnNodeFRIsr"), ("APPN-MIB", "appnNnNodeFRCongested"), ("APPN-MIB", "appnNnTgFRConnCost"), ("APPN-MIB", "appnNnNodeFRExteBorderSup"), ("APPN-MIB", "appnNnTgFRQuiescing"), ) ) if mibBuilder.loadTexts: appnNnTopoConfGroup.setDescription("The appnNnTopoConfGroup is mandatory only for network\nnodes.\n\nThis RFC 2155-level group was deprecated when the\nappnNnNodeFRBranchAwareness, appnNnTgFRMltgLinkType, and\nappnNnFRBranchTg objects were added.") appnLocalEnTopoConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 10)).setObjects(*(("APPN-MIB", "appnLocalEnTgDestVirtual"), ("APPN-MIB", "appnLocalEnTgDlcData"), ("APPN-MIB", "appnLocalEnTgDelay"), ("APPN-MIB", "appnLocalEnTgConnCost"), ("APPN-MIB", "appnLocalEnTgEntryTimeLeft"), ("APPN-MIB", "appnLocalEnTgCpCpSession"), ("APPN-MIB", "appnLocalEnTgUsr3"), ("APPN-MIB", "appnLocalEnTgUsr2"), ("APPN-MIB", "appnLocalEnTgUsr1"), ("APPN-MIB", "appnLocalEnTgEffCap"), ("APPN-MIB", "appnLocalEnTgByteCost"), ("APPN-MIB", "appnLocalEnTgOperational"), ("APPN-MIB", "appnLocalEnTgSecurity"), ) ) if mibBuilder.loadTexts: appnLocalEnTopoConfGroup.setDescription("The appnLocalEnTopoConfGroup is mandatory only for network\nnodes.\n\nThis RFC 2155-level group was deprecated when the\nappnLocalEnTgMltgLinkType object was added.") appnLocalDirPerfConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 11)).setObjects(*(("APPN-MIB", "appnDirInBcastLocates"), ("APPN-MIB", "appnDirCurHomeEntries"), ("APPN-MIB", "appnDirNotFoundBcastLocates"), ("APPN-MIB", "appnDirMaxCaches"), ("APPN-MIB", "appnDirRegEntries"), ("APPN-MIB", "appnDirCurCaches"), ("APPN-MIB", "appnDirNotFoundLocates"), ("APPN-MIB", "appnDirInLocates"), ("APPN-MIB", "appnDirLocateOutstands"), ("APPN-MIB", "appnDirOutBcastLocates"), ("APPN-MIB", "appnDirOutLocates"), ) ) if mibBuilder.loadTexts: appnLocalDirPerfConfGroup.setDescription("The appnLocalDirPerfConfGroup is mandatory only for APPN\nnetwork nodes and end nodes.") appnCosConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 12)).setObjects(*(("APPN-MIB", "appnCosTgRowEffCapMin"), ("APPN-MIB", "appnCosTgRowUsr3Min"), ("APPN-MIB", "appnCosTgRowSecurityMax"), ("APPN-MIB", "appnCosTransPriority"), ("APPN-MIB", "appnCosTgRowConnCostMax"), ("APPN-MIB", "appnCosTgRowSecurityMin"), ("APPN-MIB", "appnCosTgRowUsr2Max"), ("APPN-MIB", "appnCosNodeRowWgt"), ("APPN-MIB", "appnCosTgRowConnCostMin"), ("APPN-MIB", "appnCosTgRowUsr1Min"), ("APPN-MIB", "appnCosTgRowDelayMin"), ("APPN-MIB", "appnCosNodeRowMaxCongestAllow"), ("APPN-MIB", "appnCosNodeRowResistMax"), ("APPN-MIB", "appnCosTgRowByteCostMin"), ("APPN-MIB", "appnCosTgRowUsr2Min"), ("APPN-MIB", "appnCosNodeRowResistMin"), ("APPN-MIB", "appnCosModeCosName"), ("APPN-MIB", "appnCosTgRowDelayMax"), ("APPN-MIB", "appnCosTgRowUsr1Max"), ("APPN-MIB", "appnCosTgRowEffCapMax"), ("APPN-MIB", "appnCosTgRowUsr3Max"), ("APPN-MIB", "appnCosTgRowByteCostMax"), ("APPN-MIB", "appnCosNodeRowMinCongestAllow"), ("APPN-MIB", "appnCosTgRowWgt"), ) ) if mibBuilder.loadTexts: appnCosConfGroup.setDescription("The appnCosConfGroup is mandatory only for APPN network\nnodes and end nodes.") appnIntSessConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 13)).setObjects(*(("APPN-MIB", "appnIsInGlobeCtrOperStatus"), ("APPN-MIB", "appnIsInSsAdjCpName"), ("APPN-MIB", "appnIsInGlobeCtrStatusTime"), ("APPN-MIB", "appnIsInSessType"), ("APPN-MIB", "appnIsInP2SNonFmdPius"), ("APPN-MIB", "appnIsInGlobeCtrAdminStatus"), ("APPN-MIB", "appnIsInSecLuName"), ("APPN-MIB", "appnIsInSsRecvRpc"), ("APPN-MIB", "appnIsInP2SNonFmdBytes"), ("APPN-MIB", "appnIsInPsSendPacingType"), ("APPN-MIB", "appnIsInSsAdjTgNum"), ("APPN-MIB", "appnIsInCtrUpTime"), ("APPN-MIB", "appnIsInPriLuName"), ("APPN-MIB", "appnIsInGlobeActSess"), ("APPN-MIB", "appnIsInPsRecvPacingType"), ("APPN-MIB", "appnIsInModeName"), ("APPN-MIB", "appnIsInP2SFmdPius"), ("APPN-MIB", "appnIsInS2PNonFmdBytes"), ("APPN-MIB", "appnIsInS2PFmdBytes"), ("APPN-MIB", "appnIsInPsRecvNxWndwSize"), ("APPN-MIB", "appnIsInPsSendMaxBtuSize"), ("APPN-MIB", "appnIsInSsRecvPacingType"), ("APPN-MIB", "appnIsInS2PNonFmdPius"), ("APPN-MIB", "appnIsInSsSendNxWndwSize"), ("APPN-MIB", "appnIsInPsRecvRpc"), ("APPN-MIB", "appnIsInGlobeRscvTime"), ("APPN-MIB", "appnIsInSessState"), ("APPN-MIB", "appnIsInS2PFmdPius"), ("APPN-MIB", "appnIsInSsRecvNxWndwSize"), ("APPN-MIB", "appnIsInPsSendNxWndwSize"), ("APPN-MIB", "appnIsInP2SFmdBytes"), ("APPN-MIB", "appnIsInPsSendRpc"), ("APPN-MIB", "appnIsInSsSendPacingType"), ("APPN-MIB", "appnIsInPsAdjTgNum"), ("APPN-MIB", "appnIsInSsSendMaxBtuSize"), ("APPN-MIB", "appnIsInCosName"), ("APPN-MIB", "appnIsInSessUpTime"), ("APPN-MIB", "appnIsInSsSendRpc"), ("APPN-MIB", "appnIsInGlobeRscv"), ("APPN-MIB", "appnIsInPsAdjCpName"), ("APPN-MIB", "appnIsInRouteInfo"), ("APPN-MIB", "appnIsInTransPriority"), ) ) if mibBuilder.loadTexts: appnIntSessConfGroup.setDescription("The appnIntSessConfGroup is mandatory only for network\nnodes.") appnHprBaseConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 14)).setObjects(*(("APPN-MIB", "appnNodeHprIntRteRejects"), ("APPN-MIB", "appnLsRevAnrLabel"), ("APPN-MIB", "appnLsErrRecoSup"), ("APPN-MIB", "appnNodeHprIntRteSetups"), ("APPN-MIB", "appnLsForAnrLabel"), ) ) if mibBuilder.loadTexts: appnHprBaseConfGroup.setDescription("The appnHprBaseConfGroup is mandatory only for nodes that\nimplement the HPR base (APPN option set 1400).") appnHprRtpConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 15)).setObjects(*(("APPN-MIB", "appnNodeHprOrgRteRejects"), ("APPN-MIB", "appnNodeHprOrgRteSetups"), ("APPN-MIB", "appnLsBfNceId"), ("APPN-MIB", "appnNodeHprEndRteRejects"), ("APPN-MIB", "appnNodeHprEndRteSetups"), ("APPN-MIB", "appnNodeMaxSessPerRtpConn"), ) ) if mibBuilder.loadTexts: appnHprRtpConfGroup.setDescription("The appnHprRtpConfGroup is mandatory only for nodes that\nimplement the HPR RTP tower (APPN option set 1401).") appnHprCtrlFlowsRtpConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 16)).setObjects(*(("APPN-MIB", "appnLsCpCpNceId"), ("APPN-MIB", "appnLsRouteNceId"), ) ) if mibBuilder.loadTexts: appnHprCtrlFlowsRtpConfGroup.setDescription("The appnHprCtrlFlowsRtpConfGroup is mandatory only for nodes\nthat implement the HPR Control Flows over RTP tower (APPN\noption set 1402).") appnHprBfConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 17)).setObjects(*(("APPN-MIB", "appnIsInGlobeHprBfActSess"), ("APPN-MIB", "appnIsRtpSessions"), ("APPN-MIB", "appnIsInRtpTcid"), ("APPN-MIB", "appnIsInRtpNceId"), ) ) if mibBuilder.loadTexts: appnHprBfConfGroup.setDescription("The appnHprBfConfGroup is mandatory only for nodes that\nimplement the APPN/HPR boundary function.") appnTrapConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 18)).setObjects(*(("APPN-MIB", "alertIdNumber"), ("APPN-MIB", "affectedObject"), ) ) if mibBuilder.loadTexts: appnTrapConfGroup.setDescription("The appnTrapConfGroup is optional for all APPN nodes. Nodes\nimplementing this group shall also implement the\nappnTrapNotifGroup.") appnTrapNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 19)).setObjects(*(("APPN-MIB", "alertTrap"), ) ) if mibBuilder.loadTexts: appnTrapNotifGroup.setDescription("The appnTrapNotifGroup is optional for all APPN nodes.\nNodes implementing this group shall also implement the\nappnTrapConfGroup.") appnBrNnConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 20)).setObjects(*(("APPN-MIB", "appnNodeEnLuSearch"), ("APPN-MIB", "appnLocalTgBranchLinkType"), ("APPN-MIB", "appnNodeEnNnServer"), ) ) if mibBuilder.loadTexts: appnBrNnConfGroup.setDescription("A collection of objects providing instrumentation for\nbranch network nodes. Some of these objects also appear\nin the instrumentation for an end node.\n\nNote: A branch network node always returns endNode(2)\nas the value of the appnNodeType object from the\nappnGeneralConfGroup2 conformance group.") appnGeneralConfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 26)).setObjects(*(("APPN-MIB", "appnNodeAdaptiveBindPacing"), ("APPN-MIB", "appnNodeType"), ("APPN-MIB", "appnNodeCpName"), ("APPN-MIB", "appnNodeHprSupport"), ("APPN-MIB", "appnNodeParallelTg"), ("APPN-MIB", "appnNodeUpTime"), ("APPN-MIB", "appnNodeCounterDisconTime"), ("APPN-MIB", "appnNodeBrNn"), ("APPN-MIB", "appnNodeId"), ("APPN-MIB", "appnNodeLsCounterType"), ) ) if mibBuilder.loadTexts: appnGeneralConfGroup2.setDescription("A collection of objects providing the instrumentation of\nAPPN general information and capabilities.") appnLinkConfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 27)).setObjects(*(("APPN-MIB", "appnLsLimResource"), ("APPN-MIB", "appnLsCurrentDelay"), ("APPN-MIB", "appnLsLocalAddr"), ("APPN-MIB", "appnLsStatusLsName"), ("APPN-MIB", "appnLsCounterDisconTime"), ("APPN-MIB", "appnLsCurrentStateTime"), ("APPN-MIB", "appnLsPartnerNodeId"), ("APPN-MIB", "appnLsOutXidFrames"), ("APPN-MIB", "appnLsStatusXidBitInError"), ("APPN-MIB", "appnLsAdjCpName"), ("APPN-MIB", "appnLsStatusXidRemoteSense"), ("APPN-MIB", "appnLsMinDelay"), ("APPN-MIB", "appnLsStatusRetry"), ("APPN-MIB", "appnLsAdjNodeType"), ("APPN-MIB", "appnLsCpCpSessionSupport"), ("APPN-MIB", "appnLsStatusGeneralSense"), ("APPN-MIB", "appnLsInXidFrames"), ("APPN-MIB", "appnLsMaxSendBtuSize"), ("APPN-MIB", "appnLsCommand"), ("APPN-MIB", "appnLsDynamic"), ("APPN-MIB", "appnLsSpecific"), ("APPN-MIB", "appnLsGoodXids"), ("APPN-MIB", "appnLsTgNum"), ("APPN-MIB", "appnLsStatusXidByteInError"), ("APPN-MIB", "appnLsDlcType"), ("APPN-MIB", "appnLsStatusDlcType"), ("APPN-MIB", "appnLsPortName"), ("APPN-MIB", "appnLsOutMsgFrames"), ("APPN-MIB", "appnLsOutXidBytes"), ("APPN-MIB", "appnLsMltgMember"), ("APPN-MIB", "appnLsBadXids"), ("APPN-MIB", "appnLsMaxDelay"), ("APPN-MIB", "appnLsStatusXidLocalSense"), ("APPN-MIB", "appnLsStatusEndSense"), ("APPN-MIB", "appnLsStatusPartnerId"), ("APPN-MIB", "appnLsRemoteLsName"), ("APPN-MIB", "appnLsMigration"), ("APPN-MIB", "appnLsStatusRemoteAddr"), ("APPN-MIB", "appnLsOperState"), ("APPN-MIB", "appnLsStatusTime"), ("APPN-MIB", "appnLsStatusTgNum"), ("APPN-MIB", "appnLsMaxDelayTime"), ("APPN-MIB", "appnLsEchoRsps"), ("APPN-MIB", "appnLsActiveTime"), ("APPN-MIB", "appnLsStatusLocalAddr"), ("APPN-MIB", "appnLsInXidBytes"), ("APPN-MIB", "appnLsStatusCpName"), ("APPN-MIB", "appnLsHprSup"), ("APPN-MIB", "appnLsInMsgBytes"), ("APPN-MIB", "appnLsActOnDemand"), ("APPN-MIB", "appnLsInMsgFrames"), ("APPN-MIB", "appnLsOutMsgBytes"), ("APPN-MIB", "appnLsRemoteAddr"), ) ) if mibBuilder.loadTexts: appnLinkConfGroup2.setDescription("A collection of objects providing the instrumentation of\nAPPN link information.") appnLocalTgConfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 28)).setObjects(*(("APPN-MIB", "appnLocalTgOperational"), ("APPN-MIB", "appnLocalTgQuiescing"), ("APPN-MIB", "appnLocalTgPortName"), ("APPN-MIB", "appnLocalTgUsr3"), ("APPN-MIB", "appnLocalTgIntersubnet"), ("APPN-MIB", "appnLocalTgDlcData"), ("APPN-MIB", "appnLocalTgEffCap"), ("APPN-MIB", "appnLocalTgMltgLinkType"), ("APPN-MIB", "appnLocalTgUsr2"), ("APPN-MIB", "appnLocalTgConnCost"), ("APPN-MIB", "appnLocalTgHprSup"), ("APPN-MIB", "appnLocalTgByteCost"), ("APPN-MIB", "appnLocalTgDestVirtual"), ("APPN-MIB", "appnLocalTgCpCpSession"), ("APPN-MIB", "appnLocalTgSecurity"), ("APPN-MIB", "appnLocalTgDelay"), ("APPN-MIB", "appnLocalTgUsr1"), ) ) if mibBuilder.loadTexts: appnLocalTgConfGroup2.setDescription("A collection of objects providing the instrumentation of\nAPPN local TG information.") appnDirTableConfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 29)).setObjects(*(("APPN-MIB", "appnDirType"), ("APPN-MIB", "appnDirNnServerName"), ("APPN-MIB", "appnDirApparentLuOwnerName"), ("APPN-MIB", "appnDirLuOwnerName"), ("APPN-MIB", "appnDirLuLocation"), ) ) if mibBuilder.loadTexts: appnDirTableConfGroup2.setDescription("A collection of objects providing the instrumentation of the\nAPPN directory database.") appnNnTopoConfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 30)).setObjects(*(("APPN-MIB", "appnNnNodeFRRouteAddResist"), ("APPN-MIB", "appnNnTgFRHprSup"), ("APPN-MIB", "appnNnTgFRBranchTg"), ("APPN-MIB", "appnNnTgFREffCap"), ("APPN-MIB", "appnNnTopoCurNumNodes"), ("APPN-MIB", "appnNnNodeFRIsrDepleted"), ("APPN-MIB", "appnNnTgFRMltgLinkType"), ("APPN-MIB", "appnNnTgFRGarbageCollect"), ("APPN-MIB", "appnNnTgFRDestVirtual"), ("APPN-MIB", "appnNnTgFRSubareaNum"), ("APPN-MIB", "appnNnTgFRDestHprTrans"), ("APPN-MIB", "appnNnNodeFRCentralDirectory"), ("APPN-MIB", "appnNnNodeFRGateway"), ("APPN-MIB", "appnNnTgFRByteCost"), ("APPN-MIB", "appnNnTopoTotalTduWars"), ("APPN-MIB", "appnNnNodeFREntryTimeLeft"), ("APPN-MIB", "appnNnTgFRIntersubnet"), ("APPN-MIB", "appnNnTgFRRsn"), ("APPN-MIB", "appnNnTgFRSecurity"), ("APPN-MIB", "appnNnTgFRTypeIndicator"), ("APPN-MIB", "appnNnTgFRDlcData"), ("APPN-MIB", "appnNnTgFREntryTimeLeft"), ("APPN-MIB", "appnNnNodeFRGarbageCollect"), ("APPN-MIB", "appnNnTgFROperational"), ("APPN-MIB", "appnNnTgFRUsr2"), ("APPN-MIB", "appnNnTgFRUsr3"), ("APPN-MIB", "appnNnTgFRUsr1"), ("APPN-MIB", "appnNnTgFRConnCost"), ("APPN-MIB", "appnNnTgFRDelay"), ("APPN-MIB", "appnNnNodeFRType"), ("APPN-MIB", "appnNnNodeFRIsr"), ("APPN-MIB", "appnNnTgFRQuiescing"), ("APPN-MIB", "appnNnNodeFRRsn"), ("APPN-MIB", "appnNnNodeFRInterchangeSup"), ("APPN-MIB", "appnNnNodeFRQuiescing"), ("APPN-MIB", "appnNnTopoTgPurges"), ("APPN-MIB", "appnNnNodeFRHprSupport"), ("APPN-MIB", "appnNnNodeFRPeriBorderSup"), ("APPN-MIB", "appnNnTopoMaxNodes"), ("APPN-MIB", "appnNnTgFRCpCpSession"), ("APPN-MIB", "appnNnTopoNodePurges"), ("APPN-MIB", "appnNnNodeFRBranchAwareness"), ("APPN-MIB", "appnNnNodeFRCongested"), ("APPN-MIB", "appnNnNodeFRExteBorderSup"), ) ) if mibBuilder.loadTexts: appnNnTopoConfGroup2.setDescription("The appnNnTopoConfGroup is mandatory only for network\nnodes.") appnLocalEnTopoConfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 31)).setObjects(*(("APPN-MIB", "appnLocalEnTgDestVirtual"), ("APPN-MIB", "appnLocalEnTgDlcData"), ("APPN-MIB", "appnLocalEnTgDelay"), ("APPN-MIB", "appnLocalEnTgConnCost"), ("APPN-MIB", "appnLocalEnTgEntryTimeLeft"), ("APPN-MIB", "appnLocalEnTgMltgLinkType"), ("APPN-MIB", "appnLocalEnTgCpCpSession"), ("APPN-MIB", "appnLocalEnTgUsr3"), ("APPN-MIB", "appnLocalEnTgUsr2"), ("APPN-MIB", "appnLocalEnTgUsr1"), ("APPN-MIB", "appnLocalEnTgEffCap"), ("APPN-MIB", "appnLocalEnTgByteCost"), ("APPN-MIB", "appnLocalEnTgOperational"), ("APPN-MIB", "appnLocalEnTgSecurity"), ) ) if mibBuilder.loadTexts: appnLocalEnTopoConfGroup2.setDescription("A collection of objects providing the instrumentation\nof the information that a network node possesses about\nthe end nodes directly attached to it.") # Compliances appnCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 4, 3, 1, 1)).setObjects(*(("APPN-MIB", "appnTrapNotifGroup"), ("APPN-MIB", "appnLocalDirPerfConfGroup"), ("APPN-MIB", "appnEnUniqueConfGroup"), ("APPN-MIB", "appnHprBfConfGroup"), ("APPN-MIB", "appnNnTopoConfGroup"), ("APPN-MIB", "appnIntSessConfGroup"), ("APPN-MIB", "appnLinkConfGroup"), ("APPN-MIB", "appnGeneralConfGroup"), ("APPN-MIB", "appnCosConfGroup"), ("APPN-MIB", "appnLocalTgConfGroup"), ("APPN-MIB", "appnNnUniqueConfGroup"), ("APPN-MIB", "appnHprCtrlFlowsRtpConfGroup"), ("APPN-MIB", "appnVrnConfGroup"), ("APPN-MIB", "appnPortConfGroup"), ("APPN-MIB", "appnHprRtpConfGroup"), ("APPN-MIB", "appnDirTableConfGroup"), ("APPN-MIB", "appnTrapConfGroup"), ("APPN-MIB", "appnLocalEnTopoConfGroup"), ("APPN-MIB", "appnHprBaseConfGroup"), ) ) if mibBuilder.loadTexts: appnCompliance.setDescription("The compliance statement for the SNMPv2 entities that\nimplement the APPN MIB.\n\nThis is the compliance statement for the RFC 2155-level version\nof the APPN MIB. It was deprecated as new objects were added\nto the MIB for MLTG, branch network node, and other extensions\nto the APPN architecture.") appnCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 4, 3, 1, 3)).setObjects(*(("APPN-MIB", "appnTrapNotifGroup"), ("APPN-MIB", "appnLocalDirPerfConfGroup"), ("APPN-MIB", "appnEnUniqueConfGroup"), ("APPN-MIB", "appnHprBfConfGroup"), ("APPN-MIB", "appnBrNnConfGroup"), ("APPN-MIB", "appnHprBaseConfGroup"), ("APPN-MIB", "appnGeneralConfGroup2"), ("APPN-MIB", "appnTrapConfGroup"), ("APPN-MIB", "appnLocalTgConfGroup2"), ("APPN-MIB", "appnCosConfGroup"), ("APPN-MIB", "appnIntSessConfGroup"), ("APPN-MIB", "appnHprCtrlFlowsRtpConfGroup"), ("APPN-MIB", "appnNnUniqueConfGroup"), ("APPN-MIB", "appnLinkConfGroup2"), ("APPN-MIB", "appnVrnConfGroup"), ("APPN-MIB", "appnLocalEnTopoConfGroup2"), ("APPN-MIB", "appnPortConfGroup"), ("APPN-MIB", "appnHprRtpConfGroup"), ("APPN-MIB", "appnNnTopoConfGroup2"), ("APPN-MIB", "appnDirTableConfGroup2"), ) ) if mibBuilder.loadTexts: appnCompliance2.setDescription("The compliance statement for the SNMPv2 entities that\nimplement the APPN MIB.\n\nIn the descriptions for the conditionally mandatory groups that\nfollow, the branch network node is treated as a third node type,\nparallel to network node and end node. This is not how branch\nnetwork nodes are treated in the base APPN architecture, but it\nincreases clarity here to do it.") # Exports # Module identity mibBuilder.exportSymbols("APPN-MIB", PYSNMP_MODULE_ID=appnMIB) # Types mibBuilder.exportSymbols("APPN-MIB", AppnTgDelay=AppnTgDelay, AppnTgDlcData=AppnTgDlcData, AppnTgEffectiveCapacity=AppnTgEffectiveCapacity, AppnTgSecurity=AppnTgSecurity, AppnTopologyEntryTimeLeft=AppnTopologyEntryTimeLeft, DisplayableDlcAddress=DisplayableDlcAddress, SnaClassOfServiceName=SnaClassOfServiceName, SnaControlPointName=SnaControlPointName, SnaModeName=SnaModeName, SnaNodeIdentification=SnaNodeIdentification, SnaSenseData=SnaSenseData, AppnLinkStationCounter=AppnLinkStationCounter, AppnNodeCounter=AppnNodeCounter, AppnPortCounter=AppnPortCounter) # Objects mibBuilder.exportSymbols("APPN-MIB", appnMIB=appnMIB, appnObjects=appnObjects, appnNode=appnNode, appnGeneralInfoAndCaps=appnGeneralInfoAndCaps, appnNodeCpName=appnNodeCpName, appnNodeMibVersion=appnNodeMibVersion, appnNodeId=appnNodeId, appnNodeType=appnNodeType, appnNodeUpTime=appnNodeUpTime, appnNodeParallelTg=appnNodeParallelTg, appnNodeAdaptiveBindPacing=appnNodeAdaptiveBindPacing, appnNodeHprSupport=appnNodeHprSupport, appnNodeMaxSessPerRtpConn=appnNodeMaxSessPerRtpConn, appnNodeHprIntRteSetups=appnNodeHprIntRteSetups, appnNodeHprIntRteRejects=appnNodeHprIntRteRejects, appnNodeHprOrgRteSetups=appnNodeHprOrgRteSetups, appnNodeHprOrgRteRejects=appnNodeHprOrgRteRejects, appnNodeHprEndRteSetups=appnNodeHprEndRteSetups, appnNodeHprEndRteRejects=appnNodeHprEndRteRejects, appnNodeCounterDisconTime=appnNodeCounterDisconTime, appnNodeLsCounterType=appnNodeLsCounterType, appnNodeBrNn=appnNodeBrNn, appnNnUniqueInfoAndCaps=appnNnUniqueInfoAndCaps, appnNodeNnCentralDirectory=appnNodeNnCentralDirectory, appnNodeNnTreeCache=appnNodeNnTreeCache, appnNodeNnRouteAddResist=appnNodeNnRouteAddResist, appnNodeNnIsr=appnNodeNnIsr, appnNodeNnFrsn=appnNodeNnFrsn, appnNodeNnPeriBorderSup=appnNodeNnPeriBorderSup, appnNodeNnInterchangeSup=appnNodeNnInterchangeSup, appnNodeNnExteBorderSup=appnNodeNnExteBorderSup, appnNodeNnSafeStoreFreq=appnNodeNnSafeStoreFreq, appnNodeNnRsn=appnNodeNnRsn, appnNodeNnCongested=appnNodeNnCongested, appnNodeNnIsrDepleted=appnNodeNnIsrDepleted, appnNodeNnQuiescing=appnNodeNnQuiescing, appnNodeNnGateway=appnNodeNnGateway, appnEnUniqueCaps=appnEnUniqueCaps, appnNodeEnModeCosMap=appnNodeEnModeCosMap, appnNodeEnNnServer=appnNodeEnNnServer, appnNodeEnLuSearch=appnNodeEnLuSearch, appnPortInformation=appnPortInformation, appnPortTable=appnPortTable, appnPortEntry=appnPortEntry, appnPortName=appnPortName, appnPortCommand=appnPortCommand, appnPortOperState=appnPortOperState, appnPortDlcType=appnPortDlcType, appnPortPortType=appnPortPortType, appnPortSIMRIM=appnPortSIMRIM, appnPortLsRole=appnPortLsRole, appnPortNegotLs=appnPortNegotLs, appnPortDynamicLinkSupport=appnPortDynamicLinkSupport, appnPortMaxRcvBtuSize=appnPortMaxRcvBtuSize, appnPortMaxIframeWindow=appnPortMaxIframeWindow, appnPortDefLsGoodXids=appnPortDefLsGoodXids, appnPortDefLsBadXids=appnPortDefLsBadXids, appnPortDynLsGoodXids=appnPortDynLsGoodXids, appnPortDynLsBadXids=appnPortDynLsBadXids, appnPortSpecific=appnPortSpecific, appnPortDlcLocalAddr=appnPortDlcLocalAddr, appnPortCounterDisconTime=appnPortCounterDisconTime, appnLinkStationInformation=appnLinkStationInformation, appnLsTable=appnLsTable, appnLsEntry=appnLsEntry, appnLsName=appnLsName, appnLsCommand=appnLsCommand, appnLsOperState=appnLsOperState, appnLsPortName=appnLsPortName, appnLsDlcType=appnLsDlcType, appnLsDynamic=appnLsDynamic, appnLsAdjCpName=appnLsAdjCpName, appnLsAdjNodeType=appnLsAdjNodeType, appnLsTgNum=appnLsTgNum, appnLsLimResource=appnLsLimResource, appnLsActOnDemand=appnLsActOnDemand, appnLsMigration=appnLsMigration, appnLsPartnerNodeId=appnLsPartnerNodeId, appnLsCpCpSessionSupport=appnLsCpCpSessionSupport, appnLsMaxSendBtuSize=appnLsMaxSendBtuSize, appnLsInXidBytes=appnLsInXidBytes, appnLsInMsgBytes=appnLsInMsgBytes, appnLsInXidFrames=appnLsInXidFrames, appnLsInMsgFrames=appnLsInMsgFrames, appnLsOutXidBytes=appnLsOutXidBytes, appnLsOutMsgBytes=appnLsOutMsgBytes, appnLsOutXidFrames=appnLsOutXidFrames, appnLsOutMsgFrames=appnLsOutMsgFrames, appnLsEchoRsps=appnLsEchoRsps, appnLsCurrentDelay=appnLsCurrentDelay, appnLsMaxDelay=appnLsMaxDelay, appnLsMinDelay=appnLsMinDelay, appnLsMaxDelayTime=appnLsMaxDelayTime, appnLsGoodXids=appnLsGoodXids, appnLsBadXids=appnLsBadXids, appnLsSpecific=appnLsSpecific, appnLsActiveTime=appnLsActiveTime, appnLsCurrentStateTime=appnLsCurrentStateTime, appnLsHprSup=appnLsHprSup, appnLsErrRecoSup=appnLsErrRecoSup, appnLsForAnrLabel=appnLsForAnrLabel, appnLsRevAnrLabel=appnLsRevAnrLabel, appnLsCpCpNceId=appnLsCpCpNceId, appnLsRouteNceId=appnLsRouteNceId, appnLsBfNceId=appnLsBfNceId, appnLsLocalAddr=appnLsLocalAddr, appnLsRemoteAddr=appnLsRemoteAddr, appnLsRemoteLsName=appnLsRemoteLsName, appnLsCounterDisconTime=appnLsCounterDisconTime, appnLsMltgMember=appnLsMltgMember, appnLsStatusTable=appnLsStatusTable, appnLsStatusEntry=appnLsStatusEntry, appnLsStatusIndex=appnLsStatusIndex, appnLsStatusTime=appnLsStatusTime, appnLsStatusLsName=appnLsStatusLsName, appnLsStatusCpName=appnLsStatusCpName, appnLsStatusPartnerId=appnLsStatusPartnerId, appnLsStatusTgNum=appnLsStatusTgNum, appnLsStatusGeneralSense=appnLsStatusGeneralSense, appnLsStatusRetry=appnLsStatusRetry, appnLsStatusEndSense=appnLsStatusEndSense, appnLsStatusXidLocalSense=appnLsStatusXidLocalSense, appnLsStatusXidRemoteSense=appnLsStatusXidRemoteSense, appnLsStatusXidByteInError=appnLsStatusXidByteInError, appnLsStatusXidBitInError=appnLsStatusXidBitInError, appnLsStatusDlcType=appnLsStatusDlcType) mibBuilder.exportSymbols("APPN-MIB", appnLsStatusLocalAddr=appnLsStatusLocalAddr, appnLsStatusRemoteAddr=appnLsStatusRemoteAddr, appnVrnInfo=appnVrnInfo, appnVrnTable=appnVrnTable, appnVrnEntry=appnVrnEntry, appnVrnName=appnVrnName, appnVrnTgNum=appnVrnTgNum, appnVrnPortName=appnVrnPortName, appnNn=appnNn, appnNnTopo=appnNnTopo, appnNnTopoMaxNodes=appnNnTopoMaxNodes, appnNnTopoCurNumNodes=appnNnTopoCurNumNodes, appnNnTopoNodePurges=appnNnTopoNodePurges, appnNnTopoTgPurges=appnNnTopoTgPurges, appnNnTopoTotalTduWars=appnNnTopoTotalTduWars, appnNnTopology=appnNnTopology, appnNnTopologyFRTable=appnNnTopologyFRTable, appnNnTopologyFREntry=appnNnTopologyFREntry, appnNnNodeFRFrsn=appnNnNodeFRFrsn, appnNnNodeFRName=appnNnNodeFRName, appnNnNodeFREntryTimeLeft=appnNnNodeFREntryTimeLeft, appnNnNodeFRType=appnNnNodeFRType, appnNnNodeFRRsn=appnNnNodeFRRsn, appnNnNodeFRRouteAddResist=appnNnNodeFRRouteAddResist, appnNnNodeFRCongested=appnNnNodeFRCongested, appnNnNodeFRIsrDepleted=appnNnNodeFRIsrDepleted, appnNnNodeFRQuiescing=appnNnNodeFRQuiescing, appnNnNodeFRGateway=appnNnNodeFRGateway, appnNnNodeFRCentralDirectory=appnNnNodeFRCentralDirectory, appnNnNodeFRIsr=appnNnNodeFRIsr, appnNnNodeFRGarbageCollect=appnNnNodeFRGarbageCollect, appnNnNodeFRHprSupport=appnNnNodeFRHprSupport, appnNnNodeFRPeriBorderSup=appnNnNodeFRPeriBorderSup, appnNnNodeFRInterchangeSup=appnNnNodeFRInterchangeSup, appnNnNodeFRExteBorderSup=appnNnNodeFRExteBorderSup, appnNnNodeFRBranchAwareness=appnNnNodeFRBranchAwareness, appnNnTgTopologyFRTable=appnNnTgTopologyFRTable, appnNnTgTopologyFREntry=appnNnTgTopologyFREntry, appnNnTgFRFrsn=appnNnTgFRFrsn, appnNnTgFROwner=appnNnTgFROwner, appnNnTgFRDest=appnNnTgFRDest, appnNnTgFRNum=appnNnTgFRNum, appnNnTgFREntryTimeLeft=appnNnTgFREntryTimeLeft, appnNnTgFRDestVirtual=appnNnTgFRDestVirtual, appnNnTgFRDlcData=appnNnTgFRDlcData, appnNnTgFRRsn=appnNnTgFRRsn, appnNnTgFROperational=appnNnTgFROperational, appnNnTgFRQuiescing=appnNnTgFRQuiescing, appnNnTgFRCpCpSession=appnNnTgFRCpCpSession, appnNnTgFREffCap=appnNnTgFREffCap, appnNnTgFRConnCost=appnNnTgFRConnCost, appnNnTgFRByteCost=appnNnTgFRByteCost, appnNnTgFRSecurity=appnNnTgFRSecurity, appnNnTgFRDelay=appnNnTgFRDelay, appnNnTgFRUsr1=appnNnTgFRUsr1, appnNnTgFRUsr2=appnNnTgFRUsr2, appnNnTgFRUsr3=appnNnTgFRUsr3, appnNnTgFRGarbageCollect=appnNnTgFRGarbageCollect, appnNnTgFRSubareaNum=appnNnTgFRSubareaNum, appnNnTgFRHprSup=appnNnTgFRHprSup, appnNnTgFRDestHprTrans=appnNnTgFRDestHprTrans, appnNnTgFRTypeIndicator=appnNnTgFRTypeIndicator, appnNnTgFRIntersubnet=appnNnTgFRIntersubnet, appnNnTgFRMltgLinkType=appnNnTgFRMltgLinkType, appnNnTgFRBranchTg=appnNnTgFRBranchTg, appnLocalTopology=appnLocalTopology, appnLocalTgTable=appnLocalTgTable, appnLocalTgEntry=appnLocalTgEntry, appnLocalTgDest=appnLocalTgDest, appnLocalTgNum=appnLocalTgNum, appnLocalTgDestVirtual=appnLocalTgDestVirtual, appnLocalTgDlcData=appnLocalTgDlcData, appnLocalTgPortName=appnLocalTgPortName, appnLocalTgQuiescing=appnLocalTgQuiescing, appnLocalTgOperational=appnLocalTgOperational, appnLocalTgCpCpSession=appnLocalTgCpCpSession, appnLocalTgEffCap=appnLocalTgEffCap, appnLocalTgConnCost=appnLocalTgConnCost, appnLocalTgByteCost=appnLocalTgByteCost, appnLocalTgSecurity=appnLocalTgSecurity, appnLocalTgDelay=appnLocalTgDelay, appnLocalTgUsr1=appnLocalTgUsr1, appnLocalTgUsr2=appnLocalTgUsr2, appnLocalTgUsr3=appnLocalTgUsr3, appnLocalTgHprSup=appnLocalTgHprSup, appnLocalTgIntersubnet=appnLocalTgIntersubnet, appnLocalTgMltgLinkType=appnLocalTgMltgLinkType, appnLocalTgBranchLinkType=appnLocalTgBranchLinkType, appnLocalEnTgTable=appnLocalEnTgTable, appnLocalEnTgEntry=appnLocalEnTgEntry, appnLocalEnTgOrigin=appnLocalEnTgOrigin, appnLocalEnTgDest=appnLocalEnTgDest, appnLocalEnTgNum=appnLocalEnTgNum, appnLocalEnTgEntryTimeLeft=appnLocalEnTgEntryTimeLeft, appnLocalEnTgDestVirtual=appnLocalEnTgDestVirtual, appnLocalEnTgDlcData=appnLocalEnTgDlcData, appnLocalEnTgOperational=appnLocalEnTgOperational, appnLocalEnTgCpCpSession=appnLocalEnTgCpCpSession, appnLocalEnTgEffCap=appnLocalEnTgEffCap, appnLocalEnTgConnCost=appnLocalEnTgConnCost, appnLocalEnTgByteCost=appnLocalEnTgByteCost, appnLocalEnTgSecurity=appnLocalEnTgSecurity, appnLocalEnTgDelay=appnLocalEnTgDelay, appnLocalEnTgUsr1=appnLocalEnTgUsr1, appnLocalEnTgUsr2=appnLocalEnTgUsr2, appnLocalEnTgUsr3=appnLocalEnTgUsr3, appnLocalEnTgMltgLinkType=appnLocalEnTgMltgLinkType, appnDir=appnDir, appnDirPerf=appnDirPerf, appnDirMaxCaches=appnDirMaxCaches, appnDirCurCaches=appnDirCurCaches, appnDirCurHomeEntries=appnDirCurHomeEntries, appnDirRegEntries=appnDirRegEntries, appnDirInLocates=appnDirInLocates, appnDirInBcastLocates=appnDirInBcastLocates, appnDirOutLocates=appnDirOutLocates, appnDirOutBcastLocates=appnDirOutBcastLocates, appnDirNotFoundLocates=appnDirNotFoundLocates, appnDirNotFoundBcastLocates=appnDirNotFoundBcastLocates, appnDirLocateOutstands=appnDirLocateOutstands, appnDirTable=appnDirTable, appnDirEntry=appnDirEntry, appnDirLuName=appnDirLuName, appnDirNnServerName=appnDirNnServerName, appnDirLuOwnerName=appnDirLuOwnerName, appnDirLuLocation=appnDirLuLocation, appnDirType=appnDirType) mibBuilder.exportSymbols("APPN-MIB", appnDirApparentLuOwnerName=appnDirApparentLuOwnerName, appnCos=appnCos, appnCosModeTable=appnCosModeTable, appnCosModeEntry=appnCosModeEntry, appnCosModeName=appnCosModeName, appnCosModeCosName=appnCosModeCosName, appnCosNameTable=appnCosNameTable, appnCosNameEntry=appnCosNameEntry, appnCosName=appnCosName, appnCosTransPriority=appnCosTransPriority, appnCosNodeRowTable=appnCosNodeRowTable, appnCosNodeRowEntry=appnCosNodeRowEntry, appnCosNodeRowName=appnCosNodeRowName, appnCosNodeRowIndex=appnCosNodeRowIndex, appnCosNodeRowWgt=appnCosNodeRowWgt, appnCosNodeRowResistMin=appnCosNodeRowResistMin, appnCosNodeRowResistMax=appnCosNodeRowResistMax, appnCosNodeRowMinCongestAllow=appnCosNodeRowMinCongestAllow, appnCosNodeRowMaxCongestAllow=appnCosNodeRowMaxCongestAllow, appnCosTgRowTable=appnCosTgRowTable, appnCosTgRowEntry=appnCosTgRowEntry, appnCosTgRowName=appnCosTgRowName, appnCosTgRowIndex=appnCosTgRowIndex, appnCosTgRowWgt=appnCosTgRowWgt, appnCosTgRowEffCapMin=appnCosTgRowEffCapMin, appnCosTgRowEffCapMax=appnCosTgRowEffCapMax, appnCosTgRowConnCostMin=appnCosTgRowConnCostMin, appnCosTgRowConnCostMax=appnCosTgRowConnCostMax, appnCosTgRowByteCostMin=appnCosTgRowByteCostMin, appnCosTgRowByteCostMax=appnCosTgRowByteCostMax, appnCosTgRowSecurityMin=appnCosTgRowSecurityMin, appnCosTgRowSecurityMax=appnCosTgRowSecurityMax, appnCosTgRowDelayMin=appnCosTgRowDelayMin, appnCosTgRowDelayMax=appnCosTgRowDelayMax, appnCosTgRowUsr1Min=appnCosTgRowUsr1Min, appnCosTgRowUsr1Max=appnCosTgRowUsr1Max, appnCosTgRowUsr2Min=appnCosTgRowUsr2Min, appnCosTgRowUsr2Max=appnCosTgRowUsr2Max, appnCosTgRowUsr3Min=appnCosTgRowUsr3Min, appnCosTgRowUsr3Max=appnCosTgRowUsr3Max, appnSessIntermediate=appnSessIntermediate, appnIsInGlobal=appnIsInGlobal, appnIsInGlobeCtrAdminStatus=appnIsInGlobeCtrAdminStatus, appnIsInGlobeCtrOperStatus=appnIsInGlobeCtrOperStatus, appnIsInGlobeCtrStatusTime=appnIsInGlobeCtrStatusTime, appnIsInGlobeRscv=appnIsInGlobeRscv, appnIsInGlobeRscvTime=appnIsInGlobeRscvTime, appnIsInGlobeActSess=appnIsInGlobeActSess, appnIsInGlobeHprBfActSess=appnIsInGlobeHprBfActSess, appnIsInTable=appnIsInTable, appnIsInEntry=appnIsInEntry, appnIsInFqCpName=appnIsInFqCpName, appnIsInPcid=appnIsInPcid, appnIsInSessState=appnIsInSessState, appnIsInPriLuName=appnIsInPriLuName, appnIsInSecLuName=appnIsInSecLuName, appnIsInModeName=appnIsInModeName, appnIsInCosName=appnIsInCosName, appnIsInTransPriority=appnIsInTransPriority, appnIsInSessType=appnIsInSessType, appnIsInSessUpTime=appnIsInSessUpTime, appnIsInCtrUpTime=appnIsInCtrUpTime, appnIsInP2SFmdPius=appnIsInP2SFmdPius, appnIsInS2PFmdPius=appnIsInS2PFmdPius, appnIsInP2SNonFmdPius=appnIsInP2SNonFmdPius, appnIsInS2PNonFmdPius=appnIsInS2PNonFmdPius, appnIsInP2SFmdBytes=appnIsInP2SFmdBytes, appnIsInS2PFmdBytes=appnIsInS2PFmdBytes, appnIsInP2SNonFmdBytes=appnIsInP2SNonFmdBytes, appnIsInS2PNonFmdBytes=appnIsInS2PNonFmdBytes, appnIsInPsAdjCpName=appnIsInPsAdjCpName, appnIsInPsAdjTgNum=appnIsInPsAdjTgNum, appnIsInPsSendMaxBtuSize=appnIsInPsSendMaxBtuSize, appnIsInPsSendPacingType=appnIsInPsSendPacingType, appnIsInPsSendRpc=appnIsInPsSendRpc, appnIsInPsSendNxWndwSize=appnIsInPsSendNxWndwSize, appnIsInPsRecvPacingType=appnIsInPsRecvPacingType, appnIsInPsRecvRpc=appnIsInPsRecvRpc, appnIsInPsRecvNxWndwSize=appnIsInPsRecvNxWndwSize, appnIsInSsAdjCpName=appnIsInSsAdjCpName, appnIsInSsAdjTgNum=appnIsInSsAdjTgNum, appnIsInSsSendMaxBtuSize=appnIsInSsSendMaxBtuSize, appnIsInSsSendPacingType=appnIsInSsSendPacingType, appnIsInSsSendRpc=appnIsInSsSendRpc, appnIsInSsSendNxWndwSize=appnIsInSsSendNxWndwSize, appnIsInSsRecvPacingType=appnIsInSsRecvPacingType, appnIsInSsRecvRpc=appnIsInSsRecvRpc, appnIsInSsRecvNxWndwSize=appnIsInSsRecvNxWndwSize, appnIsInRouteInfo=appnIsInRouteInfo, appnIsInRtpNceId=appnIsInRtpNceId, appnIsInRtpTcid=appnIsInRtpTcid, appnIsRtpTable=appnIsRtpTable, appnIsRtpEntry=appnIsRtpEntry, appnIsRtpNceId=appnIsRtpNceId, appnIsRtpTcid=appnIsRtpTcid, appnIsRtpSessions=appnIsRtpSessions, appnTraps=appnTraps, alertIdNumber=alertIdNumber, affectedObject=affectedObject, appnConformance=appnConformance, appnCompliances=appnCompliances, appnGroups=appnGroups) # Notifications mibBuilder.exportSymbols("APPN-MIB", alertTrap=alertTrap) # Groups mibBuilder.exportSymbols("APPN-MIB", appnGeneralConfGroup=appnGeneralConfGroup, appnPortConfGroup=appnPortConfGroup, appnLinkConfGroup=appnLinkConfGroup, appnLocalTgConfGroup=appnLocalTgConfGroup, appnDirTableConfGroup=appnDirTableConfGroup, appnNnUniqueConfGroup=appnNnUniqueConfGroup, appnEnUniqueConfGroup=appnEnUniqueConfGroup, appnVrnConfGroup=appnVrnConfGroup, appnNnTopoConfGroup=appnNnTopoConfGroup, appnLocalEnTopoConfGroup=appnLocalEnTopoConfGroup, appnLocalDirPerfConfGroup=appnLocalDirPerfConfGroup, appnCosConfGroup=appnCosConfGroup, appnIntSessConfGroup=appnIntSessConfGroup, appnHprBaseConfGroup=appnHprBaseConfGroup, appnHprRtpConfGroup=appnHprRtpConfGroup, appnHprCtrlFlowsRtpConfGroup=appnHprCtrlFlowsRtpConfGroup, appnHprBfConfGroup=appnHprBfConfGroup, appnTrapConfGroup=appnTrapConfGroup, appnTrapNotifGroup=appnTrapNotifGroup, appnBrNnConfGroup=appnBrNnConfGroup, appnGeneralConfGroup2=appnGeneralConfGroup2, appnLinkConfGroup2=appnLinkConfGroup2, appnLocalTgConfGroup2=appnLocalTgConfGroup2, appnDirTableConfGroup2=appnDirTableConfGroup2, appnNnTopoConfGroup2=appnNnTopoConfGroup2, appnLocalEnTopoConfGroup2=appnLocalEnTopoConfGroup2) # Compliances mibBuilder.exportSymbols("APPN-MIB", appnCompliance=appnCompliance, appnCompliance2=appnCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-ITU-ALARM-TC-MIB.py0000644000014400001440000002157711736645136021756 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-ITU-ALARM-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:06 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANAItuEventType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,7,8,10,6,9,4,2,11,1,5,) namedValues = NamedValues(("other", 1), ("securityServiceOrMechanismViolation", 10), ("timeDomainViolation", 11), ("communicationsAlarm", 2), ("qualityOfServiceAlarm", 3), ("processingErrorAlarm", 4), ("equipmentAlarm", 5), ("environmentalAlarm", 6), ("integrityViolation", 7), ("operationalViolation", 8), ("physicalViolation", 9), ) class IANAItuProbableCause(Integer): subtypeSpec = Integer.subtypeSpec+ConstraintsUnion(SingleValueConstraint(136,54,111,73,10,152,19,201,542,11,108,600,62,523,552,64,524,18,507,543,72,162,520,605,112,519,604,55,106,14,101,105,157,56,102,615,515,525,75,550,51,76,202,65,529,608,68,160,514,74,53,132,518,521,511,528,203,22,607,207,109,118,1,107,549,6,120,80,532,103,15,538,12,512,554,517,158,205,546,535,504,603,9,52,25,545,609,551,547,7,63,503,500,21,509,527,114,153,119,164,26,57,78,20,610,66,165,536,506,540,113,526,530,116,510,79,131,513,5,71,127,129,541,124,204,115,104,), SingleValueConstraint(166,206,163,125,555,154,544,539,110,3,117,61,533,17,77,67,123,126,611,58,534,505,82,69,159,81,508,155,606,537,130,502,522,613,128,134,133,13,24,60,8,70,548,161,2,516,23,135,121,1024,531,156,553,122,16,601,602,501,614,612,151,4,59,)) namedValues = NamedValues(("aIS", 1), ("transmissionError", 10), ("airCompressorFailure", 101), ("airConditioningFailure", 102), ("other", 1024), ("airDryerFailure", 103), ("batteryDischarging", 104), ("batteryFailure", 105), ("commercialPowerFailure", 106), ("coolingFanFailure", 107), ("engineFailure", 108), ("fireDetectorFailure", 109), ("remoteAlarmInterface", 11), ("fuseFailure", 110), ("generatorFailure", 111), ("lowBatteryThreshold", 112), ("pumpFailure", 113), ("rectifierFailure", 114), ("rectifierHighVoltage", 115), ("rectifierLowFVoltage", 116), ("ventilationsSystemFailure", 117), ("enclosureDoorOpen", 118), ("explosiveGas", 119), ("excessiveBER", 12), ("fire", 120), ("flood", 121), ("highHumidity", 122), ("highTemperature", 123), ("highWind", 124), ("iceBuildUp", 125), ("intrusionDetection", 126), ("lowFuel", 127), ("lowHumidity", 128), ("lowCablePressure", 129), ("pathTraceMismatch", 13), ("lowTemperatue", 130), ("lowWater", 131), ("smoke", 132), ("toxicGas", 133), ("coolingSystemFailure", 134), ("externalEquipmentFailure", 135), ("externalPointFailure", 136), ("unavailable", 14), ("signalLabelMismatch", 15), ("storageCapacityProblem", 151), ("memoryMismatch", 152), ("corruptData", 153), ("outOfCPUCycles", 154), ("sfwrEnvironmentProblem", 155), ("sfwrDownloadFailure", 156), ("lossOfRealTimel", 157), ("applicationSubsystemFailure", 158), ("configurationOrCustomisationError", 159), ("lossOfMultiFrame", 16), ("databaseInconsistency", 160), ("fileError", 161), ("outOfMemory", 162), ("softwareError", 163), ("timeoutExpired", 164), ("underlayingResourceUnavailable", 165), ("versionMismatch", 166), ("receiveFailure", 17), ("transmitFailure", 18), ("modulationFailure", 19), ("callSetUpFailure", 2), ("demodulationFailure", 20), ("bandwidthReduced", 201), ("congestion", 202), ("excessiveErrorRate", 203), ("excessiveResponseTime", 204), ("excessiveRetransmissionRate", 205), ("reducedLoggingCapability", 206), ("systemResourcesOverload", 207), ("broadcastChannelFailure", 21), ("connectionEstablishmentError", 22), ("invalidMessageReceived", 23), ("localNodeTransmissionError", 24), ("remoteNodeTransmissionError", 25), ("routingFailure", 26), ("degradedSignal", 3), ("farEndReceiverFailure", 4), ("framingError", 5), ("adapterError", 500), ("applicationSubsystemFailture", 501), ("bandwidthReducedX733", 502), ("callEstablishmentError", 503), ("communicationsProtocolError", 504), ("communicationsSubsystemFailure", 505), ("configurationOrCustomizationError", 506), ("congestionX733", 507), ("coruptData", 508), ("cpuCyclesLimitExceeded", 509), ("backplaneFailure", 51), ("dataSetOrModemError", 510), ("degradedSignalX733", 511), ("dteDceInterfaceError", 512), ("enclosureDoorOpenX733", 513), ("equipmentMalfunction", 514), ("excessiveVibration", 515), ("fileErrorX733", 516), ("fireDetected", 517), ("framingErrorX733", 518), ("heatingVentCoolingSystemProblem", 519), ("dataSetProblem", 52), ("humidityUnacceptable", 520), ("inputOutputDeviceError", 521), ("inputDeviceError", 522), ("lanError", 523), ("leakDetected", 524), ("localNodeTransmissionErrorX733", 525), ("lossOfFrameX733", 526), ("lossOfSignalX733", 527), ("materialSupplyExhausted", 528), ("multiplexerProblemX733", 529), ("equipmentIdentifierDuplication", 53), ("outOfMemoryX733", 530), ("ouputDeviceError", 531), ("performanceDegraded", 532), ("powerProblems", 533), ("pressureUnacceptable", 534), ("processorProblems", 535), ("pumpFailureX733", 536), ("queueSizeExceeded", 537), ("receiveFailureX733", 538), ("receiverFailureX733", 539), ("externalIFDeviceProblem", 54), ("remoteNodeTransmissionErrorX733", 540), ) + NamedValues(("resourceAtOrNearingCapacity", 541), ("responseTimeExecessive", 542), ("retransmissionRateExcessive", 543), ("softwareErrorX733", 544), ("softwareProgramAbnormallyTerminated", 545), ("softwareProgramError", 546), ("storageCapacityProblemX733", 547), ("temperatureUnacceptable", 548), ("thresholdCrossed", 549), ("lineCardProblem", 55), ("timingProblemX733", 550), ("toxicLeakDetected", 551), ("transmitFailureX733", 552), ("transmiterFailure", 553), ("underlyingResourceUnavailable", 554), ("versionMismatchX733", 555), ("multiplexerProblem", 56), ("nEIdentifierDuplication", 57), ("powerProblem", 58), ("processorProblem", 59), ("lossOfFrame", 6), ("protectionPathFailure", 60), ("authenticationFailure", 600), ("breachOfConfidentiality", 601), ("cableTamper", 602), ("delayedInformation", 603), ("denialOfService", 604), ("duplicateInformation", 605), ("informationMissing", 606), ("informationModificationDetected", 607), ("informationOutOfSequence", 608), ("keyExpired", 609), ("receiverFailure", 61), ("nonRepudiationFailure", 610), ("outOfHoursActivity", 611), ("outOfService", 612), ("proceduralError", 613), ("unauthorizedAccessAttempt", 614), ("unexpectedInformation", 615), ("replaceableUnitMissing", 62), ("replaceableUnitTypeMismatch", 63), ("synchronizationSourceMismatch", 64), ("terminalProblem", 65), ("timingProblem", 66), ("transmitterFailure", 67), ("trunkCardProblem", 68), ("replaceableUnitProblem", 69), ("lossOfPointer", 7), ("realTimeClockFailure", 70), ("antennaFailure", 71), ("batteryChargingFailure", 72), ("diskFailure", 73), ("frequencyHoppingFailure", 74), ("iODeviceError", 75), ("lossOfSynchronisation", 76), ("lossOfRedundancy", 77), ("powerSupplyFailure", 78), ("signalQualityEvaluationFailure", 79), ("lossOfSignal", 8), ("tranceiverFailure", 80), ("protectionMechanismFailure", 81), ("protectingResourceFailure", 82), ("payloadTypeMismatch", 9), ) # Objects ianaItuAlarmNumbers = ModuleIdentity((1, 3, 6, 1, 2, 1, 119)).setRevisions(("2004-09-09 00:00",)) if mibBuilder.loadTexts: ianaItuAlarmNumbers.setOrganization("IANA") if mibBuilder.loadTexts: ianaItuAlarmNumbers.setContactInfo("Postal: Internet Assigned Numbers Authority\nInternet Corporation for Assigned Names\nand Numbers\n4676 Admiralty Way, Suite 330\nMarina del Rey, CA 90292-6601\nUSA\n\nTel: +1 310-823-9358\nE-Mail: iana@iana.org") if mibBuilder.loadTexts: ianaItuAlarmNumbers.setDescription("The MIB module defines the ITU Alarm\ntextual convention for objects expected to require\nregular extension.\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3877. For full legal notices see the RFC\nitself. Supplementary information may be available on:\nhttp://www.ietf.org/copyrights/ianamib.html") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-ITU-ALARM-TC-MIB", PYSNMP_MODULE_ID=ianaItuAlarmNumbers) # Types mibBuilder.exportSymbols("IANA-ITU-ALARM-TC-MIB", IANAItuEventType=IANAItuEventType, IANAItuProbableCause=IANAItuProbableCause) # Objects mibBuilder.exportSymbols("IANA-ITU-ALARM-TC-MIB", ianaItuAlarmNumbers=ianaItuAlarmNumbers) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-L3VPN-STD-MIB.py0000644000014400001440000015206711736645137021514 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-L3VPN-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:19 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAipRouteProtocol, ) = mibBuilder.importSymbols("IANA-RTPROTO-MIB", "IANAipRouteProtocol") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetAutonomousSystemNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetAutonomousSystemNumber") ( MplsIndexType, ) = mibBuilder.importSymbols("MPLS-LSR-STD-MIB", "MplsIndexType") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") ( VPNIdOrZero, ) = mibBuilder.importSymbols("VPN-TC-STD-MIB", "VPNIdOrZero") # Types class MplsL3VpnName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,31) class MplsL3VpnRouteDistinguisher(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,256) class MplsL3VpnRtType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("import", 1), ("export", 2), ("both", 3), ) # Objects mplsL3VpnMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 11)).setRevisions(("2006-01-23 00:00",)) if mibBuilder.loadTexts: mplsL3VpnMIB.setOrganization("IETF Layer-3 Virtual Private\nNetworks Working Group.") if mibBuilder.loadTexts: mplsL3VpnMIB.setContactInfo(" Thomas D. Nadeau\ntnadeau@cisco.com\n\nHarmen van der Linde\nhavander@cisco.com\n\nComments and discussion to l3vpn@ietf.org") if mibBuilder.loadTexts: mplsL3VpnMIB.setDescription("This MIB contains managed object definitions for the\nLayer-3 Multiprotocol Label Switching Virtual\nPrivate Networks.\n\nCopyright (C) The Internet Society (2006). This\nversion of this MIB module is part of RFC4382; see\nthe RFC itself for full legal notices.") mplsL3VpnNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 0)) mplsL3VpnObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 1)) mplsL3VpnScalars = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1)) mplsL3VpnConfiguredVrfs = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnConfiguredVrfs.setDescription("The number of VRFs that are configured on this node.") mplsL3VpnActiveVrfs = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnActiveVrfs.setDescription("The number of VRFs that are active on this node.\nThat is, those VRFs whose corresponding mplsL3VpnVrfOperStatus\nobject value is equal to operational (1).") mplsL3VpnConnectedInterfaces = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnConnectedInterfaces.setDescription("Total number of interfaces connected to a VRF.") mplsL3VpnNotificationEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mplsL3VpnNotificationEnable.setDescription("If this object is true, then it enables the\ngeneration of all notifications defined in\nthis MIB. This object's value should be\npreserved across agent reboots.") mplsL3VpnVrfConfMaxPossRts = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfConfMaxPossRts.setDescription("Denotes maximum number of routes that the device\nwill allow all VRFs jointly to hold. If this value is\nset to 0, this indicates that the device is\nunable to determine the absolute maximum. In this\ncase, the configured maximum MAY not actually\nbe allowed by the device.") mplsL3VpnVrfConfRteMxThrshTime = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1, 6), Unsigned32().clone(0)).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: mplsL3VpnVrfConfRteMxThrshTime.setDescription("Denotes the interval in seconds, at which the route max threshold\nnotification may be reissued after the maximum value has been\nexceeded (or has been reached if mplsL3VpnVrfConfMaxRoutes and\nmplsL3VpnVrfConfHighRteThresh are equal) and the initial\nnotification has been issued. This value is intended to prevent\ncontinuous generation of notifications by an agent in the event\nthat routes are continually added to a VRF after it has reached\nits maximum value. If this value is set to 0, the agent should\nonly issue a single notification at the time that the maximum\nthreshold has been reached, and should not issue any more\nnotifications until the value of routes has fallen below the\nconfigured threshold value. This is the recommended default\nbehavior.") mplsL3VpnIllLblRcvThrsh = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 1, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mplsL3VpnIllLblRcvThrsh.setDescription("The number of illegally received labels above which\nthe mplsNumVrfSecIllglLblThrshExcd notification\nis issued. The persistence of this value mimics\nthat of the device's configuration.") mplsL3VpnConf = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2)) mplsL3VpnIfConfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 1)) if mibBuilder.loadTexts: mplsL3VpnIfConfTable.setDescription("This table specifies per-interface MPLS capability\nand associated information.") mplsL3VpnIfConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 1, 1)).setIndexNames((0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfName"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnIfConfIndex")) if mibBuilder.loadTexts: mplsL3VpnIfConfEntry.setDescription("An entry in this table is created by an LSR for\nevery interface capable of supporting MPLS L3VPN.\nEach entry in this table is meant to correspond to\nan entry in the Interfaces Table.") mplsL3VpnIfConfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 1, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnIfConfIndex.setDescription("This is a unique index for an entry in the\nmplsL3VpnIfConfTable. A non-zero index for an\nentry indicates the ifIndex for the corresponding\ninterface entry in the MPLS-VPN-layer in the ifTable.\nNote that this table does not necessarily correspond\none-to-one with all entries in the Interface MIB\nhaving an ifType of MPLS-layer; rather, only those\nthat are enabled for MPLS L3VPN functionality.") mplsL3VpnIfVpnClassification = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("carrierOfCarrier", 1), ("enterprise", 2), ("interProvider", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnIfVpnClassification.setDescription("Denotes whether this link participates in a\ncarrier's carrier, enterprise, or inter-provider\nscenario.") mplsL3VpnIfVpnRouteDistProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("none", 0), ("bgp", 1), ("ospf", 2), ("rip", 3), ("isis", 4), ("static", 5), ("other", 6), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnIfVpnRouteDistProtocol.setDescription("Denotes the route distribution protocol across the\nPE-CE link. Note that more than one routing protocol\nmay be enabled at the same time; thus, this object is\nspecified as a bitmask. For example, static(5) and\nospf(2) are a typical configuration.") mplsL3VpnIfConfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 1, 1, 4), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnIfConfStorageType.setDescription("The storage type for this VPN If entry.\nConceptual rows having the value 'permanent'\nneed not allow write access to any columnar\nobjects in the row.") mplsL3VpnIfConfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnIfConfRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. Rows in this\ntable signify that the specified interface is\nassociated with this VRF. If the row creation\noperation succeeds, the interface will have been\nassociated with the specified VRF, otherwise the\nagent MUST not allow the association. If the agent\nonly allows read-only operations on this table, it\nMUST create entries in this table as they are created\non the device. When a row in this table is in\nactive(1) state, no objects in that row can be\nmodified except mplsL3VpnIfConfStorageType and\nmplsL3VpnIfConfRowStatus.") mplsL3VpnVrfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2)) if mibBuilder.loadTexts: mplsL3VpnVrfTable.setDescription("This table specifies per-interface MPLS L3VPN\nVRF Table capability and associated information.\nEntries in this table define VRF routing instances\nassociated with MPLS/VPN interfaces. Note that\nmultiple interfaces can belong to the same VRF\ninstance. The collection of all VRF instances\ncomprises an actual VPN.") mplsL3VpnVrfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1)).setIndexNames((0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfName")) if mibBuilder.loadTexts: mplsL3VpnVrfEntry.setDescription("An entry in this table is created by an LSR for\nevery VRF capable of supporting MPLS L3VPN. The\nindexing provides an ordering of VRFs per-VPN\ninterface.") mplsL3VpnVrfName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 1), MplsL3VpnName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfName.setDescription("The human-readable name of this VPN. This MAY\nbe equivalent to the [RFC2685] VPN-ID, but may\nalso vary. If it is set to the VPN ID, it MUST\nbe equivalent to the value of mplsL3VpnVrfVpnId.\nIt is strongly recommended that all sites supporting\nVRFs that are part of the same VPN use the same\nnaming convention for VRFs as well as the same VPN\nID.") mplsL3VpnVrfVpnId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 2), VPNIdOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfVpnId.setDescription("The VPN ID as specified in [RFC2685]. If a VPN ID\nhas not been specified for this VRF, then this\nvariable SHOULD be set to a zero-length OCTET\nSTRING.") mplsL3VpnVrfDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 3), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfDescription.setDescription("The human-readable description of this VRF.") mplsL3VpnVrfRD = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 4), MplsL3VpnRouteDistinguisher().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRD.setDescription("The route distinguisher for this VRF.") mplsL3VpnVrfCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfCreationTime.setDescription("The time at which this VRF entry was created.") mplsL3VpnVrfOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfOperStatus.setDescription("Denotes whether or not a VRF is operational. A VRF is\nup(1) when there is at least one interface associated\nwith the VRF whose ifOperStatus is up(1). A VRF is\ndown(2) when:\na. There does not exist at least one interface whose\n ifOperStatus is up(1).\nb. There are no interfaces associated with the VRF.") mplsL3VpnVrfActiveInterfaces = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfActiveInterfaces.setDescription("Total number of interfaces connected to this VRF with\nifOperStatus = up(1).\n\nThis value should increase when an interface is associated\nwith the corresponding VRF and its corresponding ifOperStatus\nis equal to up(1). If an interface is associated whose\nifOperStatus is not up(1), then the value is not incremented\nuntil such time as it transitions to this state.\n\nThis value should be decremented when an interface is\ndisassociated with a VRF or the corresponding ifOperStatus\ntransitions out of the up(1) state to any other state.") mplsL3VpnVrfAssociatedInterfaces = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfAssociatedInterfaces.setDescription("Total number of interfaces connected to this VRF\n(independent of ifOperStatus type).") mplsL3VpnVrfConfMidRteThresh = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 9), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfConfMidRteThresh.setDescription("Denotes mid-level water marker for the number\nof routes that this VRF may hold.") mplsL3VpnVrfConfHighRteThresh = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 10), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfConfHighRteThresh.setDescription("Denotes high-level water marker for the number of\nroutes that this VRF may hold.") mplsL3VpnVrfConfMaxRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 11), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfConfMaxRoutes.setDescription("Denotes maximum number of routes that this VRF is\nconfigured to hold. This value MUST be less than or\nequal to mplsL3VpnVrfConfMaxPossRts unless it is set\nto 0.") mplsL3VpnVrfConfLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 12), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfConfLastChanged.setDescription("The value of sysUpTime at the time of the last\nchange of this table entry, which includes changes of\nVRF parameters defined in this table or addition or\ndeletion of interfaces associated with this VRF.") mplsL3VpnVrfConfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfConfRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table.\n\n\n\n\nWhen a row in this table is in active(1) state, no\nobjects in that row can be modified except\nmplsL3VpnVrfConfAdminStatus, mplsL3VpnVrfConfRowStatus,\nand mplsL3VpnVrfConfStorageType.") mplsL3VpnVrfConfAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfConfAdminStatus.setDescription("Indicates the desired operational status of this\nVRF.") mplsL3VpnVrfConfStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 2, 1, 15), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfConfStorageType.setDescription("The storage type for this VPN VRF entry.\nConceptual rows having the value 'permanent'\nneed not allow write access to any columnar\nobjects in the row.") mplsL3VpnVrfRTTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3)) if mibBuilder.loadTexts: mplsL3VpnVrfRTTable.setDescription("This table specifies per-VRF route target association.\nEach entry identifies a connectivity policy supported\nas part of a VPN.") mplsL3VpnVrfRTEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3, 1)).setIndexNames((0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfName"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRTIndex"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRTType")) if mibBuilder.loadTexts: mplsL3VpnVrfRTEntry.setDescription("An entry in this table is created by an LSR for\neach route target configured for a VRF supporting\na MPLS L3VPN instance. The indexing provides an\nordering per-VRF instance. See [RFC4364] for a\ncomplete definition of a route target.") mplsL3VpnVrfRTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRTIndex.setDescription("Auxiliary index for route targets configured for a\nparticular VRF.") mplsL3VpnVrfRTType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3, 1, 3), MplsL3VpnRtType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRTType.setDescription("The route target distribution type.") mplsL3VpnVrfRT = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3, 1, 4), MplsL3VpnRouteDistinguisher().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRT.setDescription("The route target distribution policy.") mplsL3VpnVrfRTDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3, 1, 5), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRTDescr.setDescription("Description of the route target.") mplsL3VpnVrfRTRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRTRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. When a row in this\ntable is in active(1) state, no objects in that row\ncan be modified except mplsL3VpnVrfRTRowStatus.") mplsL3VpnVrfRTStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 3, 1, 7), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRTStorageType.setDescription("The storage type for this VPN route target (RT) entry.\nConceptual rows having the value 'permanent'\nneed not allow write access to any columnar\nobjects in the row.") mplsL3VpnVrfSecTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 6)) if mibBuilder.loadTexts: mplsL3VpnVrfSecTable.setDescription("This table specifies per MPLS L3VPN VRF Table\nsecurity-related counters.") mplsL3VpnVrfSecEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 6, 1)) if mibBuilder.loadTexts: mplsL3VpnVrfSecEntry.setDescription("An entry in this table is created by an LSR for\nevery VRF capable of supporting MPLS L3VPN. Each\nentry in this table is used to indicate security-related\ninformation for each VRF entry.") mplsL3VpnVrfSecIllegalLblVltns = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfSecIllegalLblVltns.setDescription("Indicates the number of illegally received\nlabels on this VPN/VRF.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsL3VpnVrfSecDiscontinuityTime.") mplsL3VpnVrfSecDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 2, 6, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfSecDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich any one or more of this entry's counters suffered\na discontinuity. If no such discontinuities have\noccurred since the last re-initialization of the local\nmanagement subsystem, then this object contains a zero\nvalue.") mplsL3VpnPerf = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3)) mplsL3VpnVrfPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3, 1)) if mibBuilder.loadTexts: mplsL3VpnVrfPerfTable.setDescription("This table specifies per MPLS L3VPN VRF Table performance\n\n\n\ninformation.") mplsL3VpnVrfPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3, 1, 1)) if mibBuilder.loadTexts: mplsL3VpnVrfPerfEntry.setDescription("An entry in this table is created by an LSR for\nevery VRF capable of supporting MPLS L3VPN.") mplsL3VpnVrfPerfRoutesAdded = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfPerfRoutesAdded.setDescription("Indicates the number of routes added to this VPN/VRF\nsince the last discontinuity. Discontinuities in\nthe value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsL3VpnVrfPerfDiscTime.") mplsL3VpnVrfPerfRoutesDeleted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfPerfRoutesDeleted.setDescription("Indicates the number of routes removed from this VPN/VRF.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsL3VpnVrfPerfDiscTime.") mplsL3VpnVrfPerfCurrNumRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfPerfCurrNumRoutes.setDescription("Indicates the number of routes currently used by this\nVRF.") mplsL3VpnVrfPerfRoutesDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfPerfRoutesDropped.setDescription("This counter should be incremented when the number of routes\ncontained by the specified VRF exceeds or attempts to exceed\nthe maximum allowed value as indicated by\nmplsL3VpnVrfMaxRouteThreshold.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsL3VpnVrfPerfDiscTime.") mplsL3VpnVrfPerfDiscTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 3, 1, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfPerfDiscTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich any one or more of this entry's counters suffered\na discontinuity. If no such discontinuities have\noccurred since the last re-initialization of the local\nmanagement subsystem, then this object contains a zero\nvalue.") mplsL3VpnRoute = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4)) mplsL3VpnVrfRteTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1)) if mibBuilder.loadTexts: mplsL3VpnVrfRteTable.setDescription("This table specifies per-interface MPLS L3VPN VRF Table\nrouting information. Entries in this table define VRF routing\nentries associated with the specified MPLS/VPN interfaces. Note\n\n\n\nthat this table contains both BGP and Interior Gateway Protocol\nIGP routes, as both may appear in the same VRF.") mplsL3VpnVrfRteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1)).setIndexNames((0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfName"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrDestType"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrDest"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrPfxLen"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrPolicy"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrNHopType"), (0, "MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrNextHop")) if mibBuilder.loadTexts: mplsL3VpnVrfRteEntry.setDescription("An entry in this table is created by an LSR for every route\npresent configured (either dynamically or statically) within\nthe context of a specific VRF capable of supporting MPLS/BGP\nVPN. The indexing provides an ordering of VRFs per-VPN\ninterface.\n\nImplementers need to be aware that there are quite a few\nindex objects that together can exceed the size allowed\nfor an Object Identifier (OID). So implementers must make\nsure that OIDs of column instances in this table will have\nno more than 128 sub-identifiers, otherwise they cannot be\naccessed using SNMPv1, SNMPv2c, or SNMPv3.") mplsL3VpnVrfRteInetCidrDestType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrDestType.setDescription("The type of the mplsL3VpnVrfRteInetCidrDest address, as\ndefined in the InetAddress MIB.\n\nOnly those address types that may appear in an actual\nrouting table are allowed as values of this object.") mplsL3VpnVrfRteInetCidrDest = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrDest.setDescription("The destination IP address of this route.\n\nThe type of this address is determined by the value of\nthe mplsL3VpnVrfRteInetCidrDestType object.\n\nThe values for the index objects\nmplsL3VpnVrfRteInetCidrDest and\nmplsL3VpnVrfRteInetCidrPfxLen must be consistent. When\nthe value of mplsL3VpnVrfRteInetCidrDest is x, then\nthe bitwise logical-AND of x with the value of the mask\nformed from the corresponding index object\nmplsL3VpnVrfRteInetCidrPfxLen MUST be\nequal to x. If not, then the index pair is not\nconsistent and an inconsistentName error must be\nreturned on SET or CREATE requests.") mplsL3VpnVrfRteInetCidrPfxLen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 3), InetAddressPrefixLength().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrPfxLen.setDescription("Indicates the number of leading one bits that form the\n\n\n\nmask to be logical-ANDed with the destination address\nbefore being compared to the value in the\nmplsL3VpnVrfRteInetCidrDest field.\n\nThe values for the index objects\nmplsL3VpnVrfRteInetCidrDest and\nmplsL3VpnVrfRteInetCidrPfxLen must be consistent. When\nthe value of mplsL3VpnVrfRteInetCidrDest is x, then the\nbitwise logical-AND of x with the value of the mask\nformed from the corresponding index object\nmplsL3VpnVrfRteInetCidrPfxLen MUST be\nequal to x. If not, then the index pair is not\nconsistent and an inconsistentName error must be\nreturned on SET or CREATE requests.") mplsL3VpnVrfRteInetCidrPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 4), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrPolicy.setDescription("This object is an opaque object without any defined\nsemantics. Its purpose is to serve as an additional\nindex that may delineate between multiple entries to\nthe same destination. The value { 0 0 } shall be used\nas the default value for this object.") mplsL3VpnVrfRteInetCidrNHopType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 5), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrNHopType.setDescription("The type of the mplsL3VpnVrfRteInetCidrNextHop address,\nas defined in the InetAddress MIB.\n\nValue should be set to unknown(0) for non-remote\nroutes.\n\nOnly those address types that may appear in an actual\nrouting table are allowed as values of this object.") mplsL3VpnVrfRteInetCidrNextHop = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 6), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrNextHop.setDescription("On remote routes, the address of the next system en\nroute. For non-remote routes, a zero-length string.\nThe type of this address is determined by the value of\nthe mplsL3VpnVrfRteInetCidrNHopType object.") mplsL3VpnVrfRteInetCidrIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 7), InterfaceIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrIfIndex.setDescription("The ifIndex value that identifies the local interface\nthrough which the next hop of this route should be\nreached. A value of 0 is valid and represents the\nscenario where no interface is specified.") mplsL3VpnVrfRteInetCidrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(4,5,1,2,3,)).subtype(namedValues=NamedValues(("other", 1), ("reject", 2), ("local", 3), ("remote", 4), ("blackhole", 5), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrType.setDescription("The type of route. Note that local(3) refers to a\nroute for which the next hop is the final destination;\nremote(4) refers to a route for which the next hop is\nnot the final destination.\n\nRoutes that do not result in traffic forwarding or\nrejection should not be displayed even if the\nimplementation keeps them stored internally.\n\nreject(2) refers to a route that, if matched, discards\nthe message as unreachable and returns a notification\n(e.g., ICMP error) to the message sender. This is used\nin some protocols as a means of correctly aggregating\nroutes.\n\nblackhole(5) refers to a route that, if matched,\n\n\n\ndiscards the message silently.") mplsL3VpnVrfRteInetCidrProto = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 9), IANAipRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrProto.setDescription("The routing mechanism via which this route was learned.\nInclusion of values for gateway routing protocols is\nnot intended to imply that hosts should support those\nprotocols.") mplsL3VpnVrfRteInetCidrAge = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrAge.setDescription("The number of seconds since this route was last updated\nor otherwise determined to be correct. Note that no\nsemantics of 'too old' can be implied except through\nknowledge of the routing protocol by which the route\nwas learned.") mplsL3VpnVrfRteInetCidrNextHopAS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 11), InetAutonomousSystemNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrNextHopAS.setDescription("The Autonomous System Number of the next hop. The\nsemantics of this object are determined by the\nrouting protocol specified in the route's\nmplsL3VpnVrfRteInetCidrProto value. When this\nobject is unknown or not relevant, its value should\nbe set to zero.") mplsL3VpnVrfRteInetCidrMetric1 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrMetric1.setDescription("The primary routing metric for this route. The\nsemantics of this metric are determined by the\n\n\n\nrouting protocol specified in the route's\nmplsL3VpnVrfRteInetCidrProto value. If this\nmetric is not used, its value should be set to\n-1.") mplsL3VpnVrfRteInetCidrMetric2 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrMetric2.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing\nprotocol specified in the route's\nmplsL3VpnVrfRteInetCidrProto\nvalue. If this metric is not used, its value should be\nset to -1.") mplsL3VpnVrfRteInetCidrMetric3 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrMetric3.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing\nprotocol specified in the route's\nmplsL3VpnVrfRteInetCidrProto\nvalue. If this metric is not used, its value should be\nset to -1.") mplsL3VpnVrfRteInetCidrMetric4 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrMetric4.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing\nprotocol specified in the route's\nmplsL3VpnVrfRteInetCidrProto value. If this metric\nis not used, its value should be set to -1.") mplsL3VpnVrfRteInetCidrMetric5 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrMetric5.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the routing\nprotocol specified in the route's\nmplsL3VpnVrfRteInetCidrProto value. If this metric is\nnot used, its value should be set to -1.") mplsL3VpnVrfRteXCPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 17), MplsIndexType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteXCPointer.setDescription("Index into mplsXCTable that identifies which cross-\nconnect entry is associated with this VRF route entry\nby containing the mplsXCIndex of that cross-connect entry.\nThe string containing the single-octet 0x00 indicates that\na label stack is not associated with this route entry. This\ncan be the case because the label bindings have not yet\nbeen established, or because some change in the agent has\nremoved them.\n\nWhen the label stack associated with this VRF route is created,\nit MUST establish the associated cross-connect\nentry in the mplsXCTable and then set that index to the value\nof this object. Changes to the cross-connect object in the\nmplsXCTable MUST automatically be reflected in the value of\nthis object. If this object represents a static routing entry,\nthen the manager must ensure that this entry is maintained\nconsistently in the corresponding mplsXCTable as well.") mplsL3VpnVrfRteInetCidrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 11, 1, 4, 1, 1, 18), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsL3VpnVrfRteInetCidrStatus.setDescription("The row status variable, used according to row\ninstallation and removal conventions.\n\n\n\nA row entry cannot be modified when the status is\nmarked as active(1).") mplsL3VpnConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 2)) mplsL3VpnGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1)) mplsL3VpnCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 2)) # Augmentions mplsL3VpnVrfEntry.registerAugmentions(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfEntry")) mplsL3VpnVrfPerfEntry.setIndexNames(*mplsL3VpnVrfEntry.getIndexNames()) mplsL3VpnVrfEntry.registerAugmentions(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfSecEntry")) mplsL3VpnVrfSecEntry.setIndexNames(*mplsL3VpnVrfEntry.getIndexNames()) # Notifications mplsL3VpnVrfUp = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 11, 0, 1)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfConfRowStatus"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfOperStatus"), ) ) if mibBuilder.loadTexts: mplsL3VpnVrfUp.setDescription("This notification is generated when:\na. No interface is associated with this VRF, and the first\n (and only first) interface associated with it has its\n ifOperStatus change to up(1).\n\nb. One interface is associated with this VRF, and\n the ifOperStatus of this interface changes to up(1).\n\nc. Multiple interfaces are associated with this VRF, and the\n ifOperStatus of all interfaces is down(2), and the first\n of those interfaces has its ifOperStatus change to up(1).") mplsL3VpnVrfDown = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 11, 0, 2)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfConfRowStatus"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfOperStatus"), ) ) if mibBuilder.loadTexts: mplsL3VpnVrfDown.setDescription("This notification is generated when:\na. One interface is associated with this VRF, and\n the ifOperStatus of this interface changes from up(1)\n to down(2).\n\nb. Multiple interfaces are associated with this VRF, and\n the ifOperStatus of all except one of these interfaces is\n equal to up(1), and the ifOperStatus of that interface\n changes from up(1) to down(2).\n\nc. The last interface with ifOperStatus equal to up(1)\n is disassociated from a VRF.") mplsL3VpnVrfRouteMidThreshExceeded = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 11, 0, 3)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfMidRteThresh"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfCurrNumRoutes"), ) ) if mibBuilder.loadTexts: mplsL3VpnVrfRouteMidThreshExceeded.setDescription("This notification is generated when the number of routes\ncontained by the specified VRF exceeds the value indicated by\nmplsL3VpnVrfMidRouteThreshold. A single notification MUST be\ngenerated when this threshold is exceeded, and no other\nnotifications of this type should be issued until the value\nof mplsL3VpnVrfPerfCurrNumRoutes has fallen below that of\nmplsL3VpnVrfConfMidRteThresh.") mplsL3VpnVrfNumVrfRouteMaxThreshExceeded = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 11, 0, 4)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfHighRteThresh"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfCurrNumRoutes"), ) ) if mibBuilder.loadTexts: mplsL3VpnVrfNumVrfRouteMaxThreshExceeded.setDescription("This notification is generated when the number of routes\ncontained by the specified VRF exceeds or attempts to exceed\nthe maximum allowed value as indicated by\nmplsL3VpnVrfMaxRouteThreshold. In cases where\nmplsL3VpnVrfConfHighRteThresh is set to the same value\nas mplsL3VpnVrfConfMaxRoutes, mplsL3VpnVrfConfHighRteThresh\nneed not be exceeded; rather, just reached for this notification\nto be issued.\n\nNote that mplsL3VpnVrfConfRteMxThrshTime denotes the interval\nat which the this notification will be reissued after the\nmaximum value has been exceeded (or reached if\nmplsL3VpnVrfConfMaxRoutes and mplsL3VpnVrfConfHighRteThresh are\nequal) and the initial notification has been issued. This value\nis intended to prevent continuous generation of notifications by\nan agent in the event that routes are continually added to a VRF\nafter it has reached its maximum value. The default value is 0\nminutes. If this value is set to 0, the agent should only issue\na single notification at the time that the maximum threshold has\nbeen reached, and should not issue any more notifications until\nthe value of routes has fallen below the configured threshold\nvalue.") mplsL3VpnNumVrfSecIllglLblThrshExcd = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 11, 0, 5)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfSecIllegalLblVltns"), ) ) if mibBuilder.loadTexts: mplsL3VpnNumVrfSecIllglLblThrshExcd.setDescription("This notification is generated when the number of illegal\nlabel violations on a VRF as indicated by\n\n\n\nmplsL3VpnVrfSecIllegalLblVltns has exceeded\nmplsL3VpnIllLblRcvThrsh. The threshold is not\nincluded in the varbind here because the value of\nmplsL3VpnVrfSecIllegalLblVltns should be one greater than\nthe threshold at the time this notification is issued.") mplsL3VpnNumVrfRouteMaxThreshCleared = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 11, 0, 6)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfHighRteThresh"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfCurrNumRoutes"), ) ) if mibBuilder.loadTexts: mplsL3VpnNumVrfRouteMaxThreshCleared.setDescription("This notification is generated only after the number of routes\ncontained by the specified VRF exceeds or attempts to exceed\nthe maximum allowed value as indicated by\nmplsVrfMaxRouteThreshold, and then falls below this value. The\nemission of this notification informs the operator that the\nerror condition has been cleared without the operator having to\nquery the device.\n\nNote that mplsL3VpnVrfConfRteMxThrshTime denotes the interval at\nwhich the mplsNumVrfRouteMaxThreshExceeded notification will\nbe reissued after the maximum value has been exceeded (or\nreached if mplsL3VpnVrfConfMaxRoutes and\nmplsL3VpnVrfConfHighRteThresh are equal) and the initial\nnotification has been issued. Therefore,\nthe generation of this notification should also be emitted with\nthis same frequency (assuming that the error condition is\ncleared). Specifically, if the error condition is reached and\ncleared several times during the period of time specified in\nmplsL3VpnVrfConfRteMxThrshTime, only a single notification will\nbe issued to indicate the first instance of the error condition\nas well as the first time the error condition is cleared.\nThis behavior is intended to prevent continuous generation of\nnotifications by an agent in the event that routes are\ncontinually added and removed to/from a VRF after it has\nreached its maximum value. The default value is 0. If this\nvalue is set to 0, the agent should issue a notification\nwhenever the maximum threshold has been cleared.") # Groups mplsL3VpnScalarGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 1)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfRteMxThrshTime"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnNotificationEnable"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnActiveVrfs"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfMaxPossRts"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnConfiguredVrfs"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnIllLblRcvThrsh"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnConnectedInterfaces"), ) ) if mibBuilder.loadTexts: mplsL3VpnScalarGroup.setDescription("Collection of scalar objects required for MPLS VPN\nmanagement.") mplsL3VpnVrfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 2)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfVpnId"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfLastChanged"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRD"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfActiveInterfaces"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfMaxRoutes"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfStorageType"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfDescription"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfHighRteThresh"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfRowStatus"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfAdminStatus"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfOperStatus"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfConfMidRteThresh"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfCreationTime"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfAssociatedInterfaces"), ) ) if mibBuilder.loadTexts: mplsL3VpnVrfGroup.setDescription("Collection of objects needed for MPLS VPN VRF\nmanagement.") mplsL3VpnIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 3)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfVpnClassification"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfVpnRouteDistProtocol"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfConfRowStatus"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfConfStorageType"), ) ) if mibBuilder.loadTexts: mplsL3VpnIfGroup.setDescription("Collection of objects needed for MPLS VPN interface\nmanagement.") mplsL3VpnPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 4)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfCurrNumRoutes"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfRoutesAdded"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfRoutesDeleted"), ) ) if mibBuilder.loadTexts: mplsL3VpnPerfGroup.setDescription("Collection of objects needed for MPLS VPN\nperformance information.") mplsL3VpnPerfRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 5)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfRoutesDropped"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfPerfDiscTime"), ) ) if mibBuilder.loadTexts: mplsL3VpnPerfRouteGroup.setDescription("Collection of objects needed to track MPLS VPN\nrouting table dropped routes.") mplsL3VpnSecGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 7)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfSecDiscontinuityTime"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfSecIllegalLblVltns"), ) ) if mibBuilder.loadTexts: mplsL3VpnSecGroup.setDescription("Collection of objects needed for MPLS VPN\nsecurity-related information.") mplsL3VpnVrfRteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 8)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrIfIndex"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrNextHopAS"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteXCPointer"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrAge"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrMetric4"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrMetric5"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrMetric2"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrMetric3"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrMetric1"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrType"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrProto"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteInetCidrStatus"), ) ) if mibBuilder.loadTexts: mplsL3VpnVrfRteGroup.setDescription("Objects required for VRF route table management.") mplsL3VpnVrfRTGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 9)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRTStorageType"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRTRowStatus"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRTDescr"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRT"), ) ) if mibBuilder.loadTexts: mplsL3VpnVrfRTGroup.setDescription("Objects required for VRF route target management.") mplsL3VpnNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 1, 10)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnNumVrfRouteMaxThreshCleared"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfDown"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfUp"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRouteMidThreshExceeded"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfNumVrfRouteMaxThreshExceeded"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnNumVrfSecIllglLblThrshExcd"), ) ) if mibBuilder.loadTexts: mplsL3VpnNotificationGroup.setDescription("Objects required for MPLS VPN notifications.") # Compliances mplsL3VpnModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 2, 1)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRTGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnScalarGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnPerfGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnSecGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnNotificationGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnPerfRouteGroup"), ) ) if mibBuilder.loadTexts: mplsL3VpnModuleFullCompliance.setDescription("Compliance statement for agents that provide full support\nfor the MPLS-L3VPN-STD-MIB") mplsL3VpnModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 11, 2, 2, 2)).setObjects(*(("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRTGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnScalarGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnPerfGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnSecGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnVrfRteGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnNotificationGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnIfGroup"), ("MPLS-L3VPN-STD-MIB", "mplsL3VpnPerfRouteGroup"), ) ) if mibBuilder.loadTexts: mplsL3VpnModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only\nprovide read-only support for MPLS-L3VPN-STD-MIB.\nSuch devices can then be monitored but cannot be\nconfigured using this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-L3VPN-STD-MIB", PYSNMP_MODULE_ID=mplsL3VpnMIB) # Types mibBuilder.exportSymbols("MPLS-L3VPN-STD-MIB", MplsL3VpnName=MplsL3VpnName, MplsL3VpnRouteDistinguisher=MplsL3VpnRouteDistinguisher, MplsL3VpnRtType=MplsL3VpnRtType) # Objects mibBuilder.exportSymbols("MPLS-L3VPN-STD-MIB", mplsL3VpnMIB=mplsL3VpnMIB, mplsL3VpnNotifications=mplsL3VpnNotifications, mplsL3VpnObjects=mplsL3VpnObjects, mplsL3VpnScalars=mplsL3VpnScalars, mplsL3VpnConfiguredVrfs=mplsL3VpnConfiguredVrfs, mplsL3VpnActiveVrfs=mplsL3VpnActiveVrfs, mplsL3VpnConnectedInterfaces=mplsL3VpnConnectedInterfaces, mplsL3VpnNotificationEnable=mplsL3VpnNotificationEnable, mplsL3VpnVrfConfMaxPossRts=mplsL3VpnVrfConfMaxPossRts, mplsL3VpnVrfConfRteMxThrshTime=mplsL3VpnVrfConfRteMxThrshTime, mplsL3VpnIllLblRcvThrsh=mplsL3VpnIllLblRcvThrsh, mplsL3VpnConf=mplsL3VpnConf, mplsL3VpnIfConfTable=mplsL3VpnIfConfTable, mplsL3VpnIfConfEntry=mplsL3VpnIfConfEntry, mplsL3VpnIfConfIndex=mplsL3VpnIfConfIndex, mplsL3VpnIfVpnClassification=mplsL3VpnIfVpnClassification, mplsL3VpnIfVpnRouteDistProtocol=mplsL3VpnIfVpnRouteDistProtocol, mplsL3VpnIfConfStorageType=mplsL3VpnIfConfStorageType, mplsL3VpnIfConfRowStatus=mplsL3VpnIfConfRowStatus, mplsL3VpnVrfTable=mplsL3VpnVrfTable, mplsL3VpnVrfEntry=mplsL3VpnVrfEntry, mplsL3VpnVrfName=mplsL3VpnVrfName, mplsL3VpnVrfVpnId=mplsL3VpnVrfVpnId, mplsL3VpnVrfDescription=mplsL3VpnVrfDescription, mplsL3VpnVrfRD=mplsL3VpnVrfRD, mplsL3VpnVrfCreationTime=mplsL3VpnVrfCreationTime, mplsL3VpnVrfOperStatus=mplsL3VpnVrfOperStatus, mplsL3VpnVrfActiveInterfaces=mplsL3VpnVrfActiveInterfaces, mplsL3VpnVrfAssociatedInterfaces=mplsL3VpnVrfAssociatedInterfaces, mplsL3VpnVrfConfMidRteThresh=mplsL3VpnVrfConfMidRteThresh, mplsL3VpnVrfConfHighRteThresh=mplsL3VpnVrfConfHighRteThresh, mplsL3VpnVrfConfMaxRoutes=mplsL3VpnVrfConfMaxRoutes, mplsL3VpnVrfConfLastChanged=mplsL3VpnVrfConfLastChanged, mplsL3VpnVrfConfRowStatus=mplsL3VpnVrfConfRowStatus, mplsL3VpnVrfConfAdminStatus=mplsL3VpnVrfConfAdminStatus, mplsL3VpnVrfConfStorageType=mplsL3VpnVrfConfStorageType, mplsL3VpnVrfRTTable=mplsL3VpnVrfRTTable, mplsL3VpnVrfRTEntry=mplsL3VpnVrfRTEntry, mplsL3VpnVrfRTIndex=mplsL3VpnVrfRTIndex, mplsL3VpnVrfRTType=mplsL3VpnVrfRTType, mplsL3VpnVrfRT=mplsL3VpnVrfRT, mplsL3VpnVrfRTDescr=mplsL3VpnVrfRTDescr, mplsL3VpnVrfRTRowStatus=mplsL3VpnVrfRTRowStatus, mplsL3VpnVrfRTStorageType=mplsL3VpnVrfRTStorageType, mplsL3VpnVrfSecTable=mplsL3VpnVrfSecTable, mplsL3VpnVrfSecEntry=mplsL3VpnVrfSecEntry, mplsL3VpnVrfSecIllegalLblVltns=mplsL3VpnVrfSecIllegalLblVltns, mplsL3VpnVrfSecDiscontinuityTime=mplsL3VpnVrfSecDiscontinuityTime, mplsL3VpnPerf=mplsL3VpnPerf, mplsL3VpnVrfPerfTable=mplsL3VpnVrfPerfTable, mplsL3VpnVrfPerfEntry=mplsL3VpnVrfPerfEntry, mplsL3VpnVrfPerfRoutesAdded=mplsL3VpnVrfPerfRoutesAdded, mplsL3VpnVrfPerfRoutesDeleted=mplsL3VpnVrfPerfRoutesDeleted, mplsL3VpnVrfPerfCurrNumRoutes=mplsL3VpnVrfPerfCurrNumRoutes, mplsL3VpnVrfPerfRoutesDropped=mplsL3VpnVrfPerfRoutesDropped, mplsL3VpnVrfPerfDiscTime=mplsL3VpnVrfPerfDiscTime, mplsL3VpnRoute=mplsL3VpnRoute, mplsL3VpnVrfRteTable=mplsL3VpnVrfRteTable, mplsL3VpnVrfRteEntry=mplsL3VpnVrfRteEntry, mplsL3VpnVrfRteInetCidrDestType=mplsL3VpnVrfRteInetCidrDestType, mplsL3VpnVrfRteInetCidrDest=mplsL3VpnVrfRteInetCidrDest, mplsL3VpnVrfRteInetCidrPfxLen=mplsL3VpnVrfRteInetCidrPfxLen, mplsL3VpnVrfRteInetCidrPolicy=mplsL3VpnVrfRteInetCidrPolicy, mplsL3VpnVrfRteInetCidrNHopType=mplsL3VpnVrfRteInetCidrNHopType, mplsL3VpnVrfRteInetCidrNextHop=mplsL3VpnVrfRteInetCidrNextHop, mplsL3VpnVrfRteInetCidrIfIndex=mplsL3VpnVrfRteInetCidrIfIndex, mplsL3VpnVrfRteInetCidrType=mplsL3VpnVrfRteInetCidrType, mplsL3VpnVrfRteInetCidrProto=mplsL3VpnVrfRteInetCidrProto, mplsL3VpnVrfRteInetCidrAge=mplsL3VpnVrfRteInetCidrAge, mplsL3VpnVrfRteInetCidrNextHopAS=mplsL3VpnVrfRteInetCidrNextHopAS, mplsL3VpnVrfRteInetCidrMetric1=mplsL3VpnVrfRteInetCidrMetric1, mplsL3VpnVrfRteInetCidrMetric2=mplsL3VpnVrfRteInetCidrMetric2, mplsL3VpnVrfRteInetCidrMetric3=mplsL3VpnVrfRteInetCidrMetric3, mplsL3VpnVrfRteInetCidrMetric4=mplsL3VpnVrfRteInetCidrMetric4, mplsL3VpnVrfRteInetCidrMetric5=mplsL3VpnVrfRteInetCidrMetric5, mplsL3VpnVrfRteXCPointer=mplsL3VpnVrfRteXCPointer, mplsL3VpnVrfRteInetCidrStatus=mplsL3VpnVrfRteInetCidrStatus, mplsL3VpnConformance=mplsL3VpnConformance, mplsL3VpnGroups=mplsL3VpnGroups, mplsL3VpnCompliances=mplsL3VpnCompliances) # Notifications mibBuilder.exportSymbols("MPLS-L3VPN-STD-MIB", mplsL3VpnVrfUp=mplsL3VpnVrfUp, mplsL3VpnVrfDown=mplsL3VpnVrfDown, mplsL3VpnVrfRouteMidThreshExceeded=mplsL3VpnVrfRouteMidThreshExceeded, mplsL3VpnVrfNumVrfRouteMaxThreshExceeded=mplsL3VpnVrfNumVrfRouteMaxThreshExceeded, mplsL3VpnNumVrfSecIllglLblThrshExcd=mplsL3VpnNumVrfSecIllglLblThrshExcd, mplsL3VpnNumVrfRouteMaxThreshCleared=mplsL3VpnNumVrfRouteMaxThreshCleared) # Groups mibBuilder.exportSymbols("MPLS-L3VPN-STD-MIB", mplsL3VpnScalarGroup=mplsL3VpnScalarGroup, mplsL3VpnVrfGroup=mplsL3VpnVrfGroup, mplsL3VpnIfGroup=mplsL3VpnIfGroup, mplsL3VpnPerfGroup=mplsL3VpnPerfGroup, mplsL3VpnPerfRouteGroup=mplsL3VpnPerfRouteGroup, mplsL3VpnSecGroup=mplsL3VpnSecGroup, mplsL3VpnVrfRteGroup=mplsL3VpnVrfRteGroup, mplsL3VpnVrfRTGroup=mplsL3VpnVrfRTGroup, mplsL3VpnNotificationGroup=mplsL3VpnNotificationGroup) # Compliances mibBuilder.exportSymbols("MPLS-L3VPN-STD-MIB", mplsL3VpnModuleFullCompliance=mplsL3VpnModuleFullCompliance, mplsL3VpnModuleReadOnlyCompliance=mplsL3VpnModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/TIME-AGGREGATE-MIB.py0000644000014400001440000002513511736645141021461 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TIME-AGGREGATE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:45 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( OwnerString, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Opaque, TimeTicks, experimental, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Opaque", "TimeTicks", "experimental") ( RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention") # Types class CompressedTimeAggrMOValue(Opaque): subtypeSpec = Opaque.subtypeSpec+ValueSizeConstraint(0,1024) class TAggrMOErrorStatus(Opaque): subtypeSpec = Opaque.subtypeSpec+ValueSizeConstraint(0,1024) class TimeAggrMOValue(Opaque): subtypeSpec = Opaque.subtypeSpec+ValueSizeConstraint(0,1024) # Objects tAggrMIB = ModuleIdentity((1, 3, 6, 1, 3, 124)).setRevisions(("2006-04-27 00:00",)) if mibBuilder.loadTexts: tAggrMIB.setOrganization("Cyber Solutions Inc. NetMan Working Group") if mibBuilder.loadTexts: tAggrMIB.setContactInfo(" Glenn Mansfield Keeni\nPostal: Cyber Solutions Inc.\n 6-6-3, Minami Yoshinari\n Aoba-ku, Sendai, Japan 989-3204.\n Tel: +81-22-303-4012\n Fax: +81-22-303-4015\nE-mail: glenn@cysols.com\n\nSupport Group E-mail: mibsupport@cysols.com") if mibBuilder.loadTexts: tAggrMIB.setDescription("The MIB for servicing Time-Based aggregate\nobjects.\n\nCopyright (C) The Internet Society (2006). This\nversion of this MIB module is part of RFC 4498;\nsee the RFC itself for full legal notices.") tAggrCtlTable = MibTable((1, 3, 6, 1, 3, 124, 1)) if mibBuilder.loadTexts: tAggrCtlTable.setDescription("The Time-Based aggregation control table. It controls\nthe aggregation of the samples of MO instances. There\nwill be a row for each TAgMO.") tAggrCtlEntry = MibTableRow((1, 3, 6, 1, 3, 124, 1, 1)).setIndexNames((0, "TIME-AGGREGATE-MIB", "tAggrCtlEntryID")) if mibBuilder.loadTexts: tAggrCtlEntry.setDescription("A row of the control table that defines one Time-Based\naggregate MO (TAgMO).") tAggrCtlEntryID = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tAggrCtlEntryID.setDescription("A locally unique, administratively assigned name\nfor this aggregated MO. It is used as an index to\nuniquely identify this row in the table.") tAggrCtlMOInstance = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlMOInstance.setDescription("The sampled values of this MO instance will be\naggregated by the TAgMO.") tAggrCtlAgMODescr = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlAgMODescr.setDescription("A textual description of the aggregate object.") tAggrCtlInterval = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 4), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlInterval.setDescription("The interval, in microseconds, at which the MO instance\npointed at by tAggrInstance will be sampled for\nTime-Based aggregation.") tAggrCtlSamples = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 5), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlSamples.setDescription("The number of times at which the MO instance referred\nto by tAggrInstance will be sampled for Time-Based\naggregation.") tAggrCtlCompressionAlgorithm = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("none", 1), ("deflate", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlCompressionAlgorithm.setDescription("The compression algorithm that will be used by\nthe agent to compress the value of the TAgMO.\nThe deflate algorithm and corresponding data format\nspecification is described in RFC 1951. It is\ncompatible with the widely used gzip utility.") tAggrCtlEntryOwner = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 7), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlEntryOwner.setDescription("A textual description of the entity that created\nthis entry.") tAggrCtlEntryStorageType = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 8), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlEntryStorageType.setDescription("This object defines whether the parameters defined in\nthis row are kept in volatile storage and lost upon\nreboot or backed up by non-volatile (permanent)\nstorage.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") tAggrCtlEntryStatus = MibTableColumn((1, 3, 6, 1, 3, 124, 1, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tAggrCtlEntryStatus.setDescription("The row status variable, used according to row\ninstallation and removal conventions.\nObjects in a row can be modified only when the value of\nthis object in the corresponding conceptual row is not\n'active'.\nThus, to modify one or more of the objects in this\nconceptual row,\n a. change the row status to 'notInService',\n b. change the values of the row, and\n c. change the row status to 'active'.\nThe tAggrCtlEntryStatus may be changed to 'active' iff\nall the MOs in the conceptual row have been assigned\nvalid values.") tAggrDataTable = MibTable((1, 3, 6, 1, 3, 124, 2)) if mibBuilder.loadTexts: tAggrDataTable.setDescription("This is the data table. Each row of this table contains\ninformation about a TAgMO indexed by tAggrCtlEntryID.\ntAggrCtlEntryID is the key to the table. It is used to\nidentify instances of the TAgMO that are present in the\ntable.") tAggrDataEntry = MibTableRow((1, 3, 6, 1, 3, 124, 2, 1)).setIndexNames((0, "TIME-AGGREGATE-MIB", "tAggrCtlEntryID")) if mibBuilder.loadTexts: tAggrDataEntry.setDescription("Entry containing information pertaining\nto a TAgMO.") tAggrDataRecord = MibTableColumn((1, 3, 6, 1, 3, 124, 2, 1, 1), TimeAggrMOValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: tAggrDataRecord.setDescription("The snapshot value of the TAgMO.") tAggrDataRecordCompressed = MibTableColumn((1, 3, 6, 1, 3, 124, 2, 1, 2), CompressedTimeAggrMOValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: tAggrDataRecordCompressed.setDescription("The compressed value of the TAgMO.\nThe compression algorithm will depend on the\ntAggrCtlCompressionAlgorithm given in the corresponding\ntAggrCtlEntry. If the value of the corresponding\ntAggrCtlCompressionAlgorithm is (1) 'none', then the\n\n\n\nvalue of all instances of this object will be a string\nof zero length.\nNote that the access privileges to this object will be\ngoverned by the access privileges of the corresponding MO\ninstance. Thus, an entity attempting to access an\ninstance of this MO MUST have access rights to the\ninstance object pointed at by tAggrCtlMOInstance and this\nMO instance.") tAggrDataErrorRecord = MibTableColumn((1, 3, 6, 1, 3, 124, 2, 1, 3), TAggrMOErrorStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: tAggrDataErrorRecord.setDescription("The error status corresponding to the MO instance\nsamples aggregated in tAggrDataRecord (and\ntAggrDataRecordCompressed).") tAggrConformance = MibIdentifier((1, 3, 6, 1, 3, 124, 3)) tAggrGroups = MibIdentifier((1, 3, 6, 1, 3, 124, 3, 1)) tAggrCompliances = MibIdentifier((1, 3, 6, 1, 3, 124, 3, 2)) # Augmentions # Groups tAggrMibBasicGroup = ObjectGroup((1, 3, 6, 1, 3, 124, 3, 1, 1)).setObjects(*(("TIME-AGGREGATE-MIB", "tAggrCtlMOInstance"), ("TIME-AGGREGATE-MIB", "tAggrCtlEntryStatus"), ("TIME-AGGREGATE-MIB", "tAggrDataErrorRecord"), ("TIME-AGGREGATE-MIB", "tAggrCtlEntryStorageType"), ("TIME-AGGREGATE-MIB", "tAggrDataRecordCompressed"), ("TIME-AGGREGATE-MIB", "tAggrCtlAgMODescr"), ("TIME-AGGREGATE-MIB", "tAggrCtlInterval"), ("TIME-AGGREGATE-MIB", "tAggrCtlCompressionAlgorithm"), ("TIME-AGGREGATE-MIB", "tAggrDataRecord"), ("TIME-AGGREGATE-MIB", "tAggrCtlSamples"), ("TIME-AGGREGATE-MIB", "tAggrCtlEntryOwner"), ) ) if mibBuilder.loadTexts: tAggrMibBasicGroup.setDescription("A collection of objects for Time-Based aggregation\nof MOs.") # Compliances tAggrMibCompliance = ModuleCompliance((1, 3, 6, 1, 3, 124, 3, 2, 1)).setObjects(*(("TIME-AGGREGATE-MIB", "tAggrMibBasicGroup"), ) ) if mibBuilder.loadTexts: tAggrMibCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the TIME-AGGREGATE-MIB.") # Exports # Module identity mibBuilder.exportSymbols("TIME-AGGREGATE-MIB", PYSNMP_MODULE_ID=tAggrMIB) # Types mibBuilder.exportSymbols("TIME-AGGREGATE-MIB", CompressedTimeAggrMOValue=CompressedTimeAggrMOValue, TAggrMOErrorStatus=TAggrMOErrorStatus, TimeAggrMOValue=TimeAggrMOValue) # Objects mibBuilder.exportSymbols("TIME-AGGREGATE-MIB", tAggrMIB=tAggrMIB, tAggrCtlTable=tAggrCtlTable, tAggrCtlEntry=tAggrCtlEntry, tAggrCtlEntryID=tAggrCtlEntryID, tAggrCtlMOInstance=tAggrCtlMOInstance, tAggrCtlAgMODescr=tAggrCtlAgMODescr, tAggrCtlInterval=tAggrCtlInterval, tAggrCtlSamples=tAggrCtlSamples, tAggrCtlCompressionAlgorithm=tAggrCtlCompressionAlgorithm, tAggrCtlEntryOwner=tAggrCtlEntryOwner, tAggrCtlEntryStorageType=tAggrCtlEntryStorageType, tAggrCtlEntryStatus=tAggrCtlEntryStatus, tAggrDataTable=tAggrDataTable, tAggrDataEntry=tAggrDataEntry, tAggrDataRecord=tAggrDataRecord, tAggrDataRecordCompressed=tAggrDataRecordCompressed, tAggrDataErrorRecord=tAggrDataErrorRecord, tAggrConformance=tAggrConformance, tAggrGroups=tAggrGroups, tAggrCompliances=tAggrCompliances) # Groups mibBuilder.exportSymbols("TIME-AGGREGATE-MIB", tAggrMibBasicGroup=tAggrMibBasicGroup) # Compliances mibBuilder.exportSymbols("TIME-AGGREGATE-MIB", tAggrMibCompliance=tAggrMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RAQMON-MIB.py0000644000014400001440000013635111736645137020444 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RAQMON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:31 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( rmon, ) = mibBuilder.importSymbols("RMON-MIB", "rmon") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( DateAndTime, RowPointer, RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowPointer", "RowStatus", "TruthValue") # Objects raqmonMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 31)).setRevisions(("2006-10-10 00:00",)) if mibBuilder.loadTexts: raqmonMIB.setOrganization("IETF RMON MIB Working Group") if mibBuilder.loadTexts: raqmonMIB.setContactInfo("WG Charter:\nhttp://www.ietf.org/html.charters/rmonmib-charter.html\n\nMailing lists:\n General Discussion: rmonmib@ietf.org\n To Subscribe: rmonmib-requests@ietf.org\n In Body: subscribe your_email_address\n\nChair: Andy Bierman\n Email: ietf@andybierman.com\n\nEditor: Dan Romascanu\n Avaya\n Email: dromasca@avaya.com") if mibBuilder.loadTexts: raqmonMIB.setDescription("Real-Time Application QoS Monitoring MIB.\n\nCopyright (c) The Internet Society (2006).\nThis version of this MIB module is part of\nRFC 4711; See the RFC itself for full legal notices.") raqmonNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 0)) raqmonMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 1)) raqmonSession = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 1, 1)) raqmonParticipantTable = MibTable((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1)) if mibBuilder.loadTexts: raqmonParticipantTable.setDescription("This table contains information about participants in\nboth active and closed (terminated) sessions.") raqmonParticipantEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1)).setIndexNames((0, "RAQMON-MIB", "raqmonParticipantStartDate"), (0, "RAQMON-MIB", "raqmonParticipantIndex")) if mibBuilder.loadTexts: raqmonParticipantEntry.setDescription("Each row contains information for a single session\n(application) run by one participant.\nIndexation by the start time of the session aims\nto ease sorting by management applications. Agents MUST\nNOT report identical start times for any two sessions\non the same host.\nRows are removed for inactive sessions\nwhen implementation-specific age or space limits are\nreached.") raqmonParticipantStartDate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 1), DateAndTime()).setMaxAccess("noaccess") if mibBuilder.loadTexts: raqmonParticipantStartDate.setDescription("The date and time of this entry.\nIt will be the date and time\nof the first report received.") raqmonParticipantIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: raqmonParticipantIndex.setDescription("The index of the conceptual row, which is for SNMP\npurposes only and has no relation to any protocol value.\n\nThere is no requirement that these rows be created or\nmaintained sequentially. The index will be unique for a\nparticular date and time.") raqmonParticipantReportCaps = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("raqmonPartRepDsrcName", 0), ("raqmonPartRepRecvName", 1), ("raqmonPartApplicationDelay", 10), ("raqmonPartRepIAJitter", 11), ("raqmonPartRepIPDV", 12), ("raqmonPartRepRcvdPackets", 13), ("raqmonPartRepRcvdOctets", 14), ("raqmonPartRepSentPackets", 15), ("raqmonPartRepSentOctets", 16), ("raqmonPartRepCumPacketsLoss", 17), ("raqmonPartRepFractionPacketsLoss", 18), ("raqmonPartRepCumDiscards", 19), ("raqmonPartRepDsrcPort", 2), ("raqmonPartRepFractionDiscards", 20), ("raqmonPartRepSrcPayloadType", 21), ("raqmonPartRepDestPayloadType", 22), ("raqmonPartRepSrcLayer2Priority", 23), ("raqmonPartRepSrcTosDscp", 24), ("raqmonPartRepDestLayer2Priority", 25), ("raqmonPartRepDestTosDscp", 26), ("raqmonPartRepCPU", 27), ("raqmonPartRepMemory", 28), ("raqmonPartRepAppName", 29), ("raqmonPartRepRecvPort", 3), ("raqmonPartRepSetupTime", 4), ("raqmonPartRepSetupDelay", 5), ("raqmonPartRepSessionDuration", 6), ("raqmonPartRepSetupStatus", 7), ("raqmonPartRepRTEnd2EndNetDelay", 8), ("raqmonPartRepOWEnd2EndNetDelay", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantReportCaps.setDescription("The Report capabilities of the participant, as perceived\nby the Collector.\n\nIf the participant can report the Data Source Name as\ndefined in [RFC4710], Section 5.3, then the\nraqmonPartRepDsrcName bit will be set.\n\nIf the participant can report the Receiver Name as\ndefined in [RFC4710], Section 5.4, then the\nraqmonPartRepRecvName bit will be set.\n\nIf the participant can report the Data Source Port as\ndefined in [RFC4710], Section 5.5, then the\nraqmonPartRepDsrcPort bit will be set.\n\nIf the participant can report the Receiver Port as\ndefined in [RFC4710], Section 5.6, then the\nraqmonPartRepRecvPort bit will be set.\n\nIf the participant can report the Session Setup Time as\ndefined in [RFC4710], Section 5.7, then the\nraqmonPartRepSetupTime bit will be set.\n\nIf the participant can report the Session Setup Delay as\ndefined in [RFC4710], Section 5.8, then the\nraqmonPartRepSetupDelay bit will be set.\n\n\n\n\nIf the participant can report the Session Duration as\ndefined in [RFC4710], Section 5.9, then the\nraqmonPartRepSessionDuration bit will be set.\n\nIf the participant can report the Setup Status as\ndefined in [RFC4710], Section 5.10, then the\nraqmonPartRepSetupStatus bit will be set.\n\nIf the participant can report the Round-Trip End-to-end\nNetwork Delay as defined in [RFC4710], Section 5.11,\nthen the raqmonPartRepRTEnd2EndNetDelay bit will be set.\n\nIf the participant can report the One-way End-to-end\nNetwork Delay as defined in [RFC4710], Section 5.12,\nthen the raqmonPartRepOWEnd2EndNetDelay bit will be set.\n\nIf the participant can report the Application Delay as\ndefined in [RFC4710], Section 5.13, then the\nraqmonPartApplicationDelay bit will be set.\n\nIf the participant can report the Inter-Arrival Jitter\nas defined in [RFC4710], Section 5.14, then the\nraqmonPartRepIAJitter bit will be set.\n\nIf the participant can report the IP Packet Delay\nVariation as defined in [RFC4710], Section 5.15, then\nthe raqmonPartRepIPDV bit will be set.\n\nIf the participant can report the number of application\npackets received as defined in [RFC4710], Section 5.16,\nthen the raqmonPartRepRcvdPackets bit will be set.\n\nIf the participant can report the number of application\noctets received as defined in [RFC4710], Section 5.17,\nthen the raqmonPartRepRcvdOctets bit will be set.\n\nIf the participant can report the number of application\npackets sent as defined in [RFC4710], Section 5.18, then\nthe raqmonPartRepSentPackets bit will be set.\n\nIf the participant can report the number of application\noctets sent as defined in [RFC4710], Section 5.19, then\nthe raqmonPartRepSentOctets bit will be set.\n\nIf the participant can report the number of cumulative\npackets lost as defined in [RFC4710], Section 5.20, then\nthe raqmonPartRepCumPacketsLoss bit will be set.\n\n\n\n\nIf the participant can report the fraction of packet\nloss as defined in [RFC4710], Section 5.21, then the\nraqmonPartRepFractionPacketsLoss bit will be set.\n\nIf the participant can report the number of cumulative\ndiscards as defined in [RFC4710], Section 5.22, then the\nraqmonPartRepCumDiscards bit will be set.\n\nIf the participant can report the fraction of discards\nas defined in [RFC4710], Section 5.23, then the\nraqmonPartRepFractionDiscards bit will be set.\n\nIf the participant can report the Source Payload Type as\ndefined in [RFC4710], Section 5.24, then the\nraqmonPartRepSrcPayloadType bit will be set.\n\nIf the participant can report the Destination Payload\nType as defined in [RFC4710], Section 5.25, then the\nraqmonPartRepDestPayloadType bit will be set.\n\nIf the participant can report the Source Layer 2\nPriority as defined in [RFC4710], Section 5.26, then the\nraqmonPartRepSrcLayer2Priority bit will be set.\n\nIf the participant can report the Source DSCP/ToS value\nas defined in [RFC4710], Section 5.27, then the\nraqmonPartRepSrcToSDscp bit will be set.\n\nIf the participant can report the Destination Layer 2\nPriority as defined in [RFC4710], Section 5.28, then the\nraqmonPartRepDestLayer2Priority bit will be set.\n\nIf the participant can report the Destination DSCP/ToS\nValue as defined in [RFC4710], Section 5.29, then the\nraqmonPartRepDestToSDscp bit will be set.\n\nIf the participant can report the CPU utilization as\ndefined in [RFC4710], Section 5.30, then the\nraqmonPartRepCPU bit will be set.\n\nIf the participant can report the memory utilization as\ndefined in [RFC4710], Section 5.31, then the\nraqmonPartRepMemory bit will be set.\n\nIf the participant can report the Application Name as\ndefined in [RFC4710], Section 5.32, then the\nraqmonPartRepAppName bit will be set.\n\n\n\n\nThe capability of reporting of a specific metric does\nnot mandate that the metric must be reported permanently\nby the data source to the respective collector. Some\ndata sources MAY be configured not to send a metric, or\nsome metrics may not be relevant to the specific\napplication.") raqmonParticipantAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantAddrType.setDescription("The type of the Internet address of the participant for\nthis session.") raqmonParticipantAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantAddr.setDescription("The Internet Address of the participant for this\nsession. Formatting of this object is determined\nby the value of raqmonParticipantAddrType.") raqmonParticipantSendPort = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 6), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantSendPort.setDescription("Port from which session data is sent.\nIf the value was not reported to the collector,\nthis object will have the value 0.") raqmonParticipantRecvPort = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 7), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantRecvPort.setDescription("Port on which session data is received.\nIf the value was not reported to the collector,\nthis object will have the value 0.") raqmonParticipantSetupDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantSetupDelay.setDescription("Session setup time.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantName = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantName.setDescription("The data source name for the participant.") raqmonParticipantAppName = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantAppName.setDescription("A string giving the name and possibly the version\nof the application generating the stream, e.g.,\n'videotool 1.2.'\n\nThis information may be useful for debugging purposes\nand is similar to the Mailer or Mail-System-Version SMTP\nheaders. The tool value is expected to remain constant\nfor the duration of the session.") raqmonParticipantQosCount = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantQosCount.setDescription("The current number of entries in the raqmonQosTable\nfor this participant and session.") raqmonParticipantEndDate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 12), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantEndDate.setDescription("The date and time of the most recent report received.") raqmonParticipantDestPayloadType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantDestPayloadType.setDescription("Destination Payload Type.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantSrcPayloadType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantSrcPayloadType.setDescription("Source Payload Type.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantActive = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantActive.setDescription("Value 'true' indicates that the session\nfor this participant is active (open).\nValue 'false' indicates that the session\nis closed (terminated).") raqmonParticipantPeer = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 16), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantPeer.setDescription("The pointer to the corresponding entry in this table for\nthe other peer participant. If there is no such entry\nin the participant table of the collector represented by\nthis SNMP agent, then the value will be { 0 0 }.") raqmonParticipantPeerAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 17), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantPeerAddrType.setDescription("The type of the Internet address of the peer participant\nfor this session.") raqmonParticipantPeerAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 18), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantPeerAddr.setDescription("The Internet Address of the peer participant for this\nsession. Formatting of this object is determined by\nthe value of raqmonParticipantPeerAddrType.") raqmonParticipantSrcL2Priority = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantSrcL2Priority.setDescription("Source Layer 2 Priority.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantDestL2Priority = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantDestL2Priority.setDescription("Destination Layer 2 Priority.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantSrcDSCP = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantSrcDSCP.setDescription("Source Layer 3 DSCP value.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantDestDSCP = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantDestDSCP.setDescription("Destination Layer 3 DSCP value.") raqmonParticipantCpuMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantCpuMean.setDescription("Mean CPU utilization.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantCpuMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantCpuMin.setDescription("Minimum CPU utilization.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantCpuMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantCpuMax.setDescription("Maximum CPU utilization.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantMemoryMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantMemoryMean.setDescription("Mean memory utilization.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantMemoryMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantMemoryMin.setDescription("Minimum memory utilization.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantMemoryMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantMemoryMax.setDescription("Maximum memory utilization.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantNetRTTMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantNetRTTMean.setDescription("Mean round-trip end-to-end network\ndelay over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantNetRTTMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantNetRTTMin.setDescription("Minimum round-trip end-to-end network delay\nover the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantNetRTTMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantNetRTTMax.setDescription("Maximum round-trip end-to-end network delay\nover the entire session.\nIf the value was not reported to the collector,\n\n\n\nthis object will have the value -1.") raqmonParticipantIAJitterMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantIAJitterMean.setDescription("Mean inter-arrival jitter over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantIAJitterMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantIAJitterMin.setDescription("Minimum inter-arrival jitter over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantIAJitterMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantIAJitterMax.setDescription("Maximum inter-arrival jitter over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantIPDVMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantIPDVMean.setDescription("Mean IP packet delay variation over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantIPDVMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantIPDVMin.setDescription("Minimum IP packet delay variation over the entire\nsession. If the value was not reported to the\ncollector, this object will have the value -1.") raqmonParticipantIPDVMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantIPDVMax.setDescription("Maximum IP packet delay variation over the entire\nsession. If the value was not reported to the\ncollector, this object will have the value -1.") raqmonParticipantNetOwdMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantNetOwdMean.setDescription("Mean Network one-way delay over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantNetOwdMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantNetOwdMin.setDescription("Minimum Network one-way delay over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantNetOwdMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantNetOwdMax.setDescription("Maximum Network one-way delay over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantAppDelayMean = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantAppDelayMean.setDescription("Mean application delay over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantAppDelayMin = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantAppDelayMin.setDescription("Minimum application delay over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantAppDelayMax = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 43), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantAppDelayMax.setDescription("Maximum application delay over the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantPacketsRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantPacketsRcvd.setDescription("Count of packets received for the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantPacketsSent = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantPacketsSent.setDescription("Count of packets sent for the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantOctetsRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantOctetsRcvd.setDescription("Count of octets received for the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantOctetsSent = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 47), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantOctetsSent.setDescription("Count of octets sent for the entire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantLostPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 48), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantLostPackets.setDescription("Count of packets lost by this receiver for the entire\nsession.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantLostPacketsFrct = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 49), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantLostPacketsFrct.setDescription("Fraction of lost packets out of total packets received.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 50), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantDiscards.setDescription("Count of packets discarded by this receiver for the\nentire session.\nIf the value was not reported to the collector,\nthis object will have the value -1.") raqmonParticipantDiscardsFrct = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 1, 1, 51), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantDiscardsFrct.setDescription("Fraction of discarded packets out of total packets\nreceived. If the value was not reported to the\ncollector, this object will have the value -1.") raqmonQosTable = MibTable((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2)) if mibBuilder.loadTexts: raqmonQosTable.setDescription("Table of historical information about quality-of-service\ndata during sessions.") raqmonQosEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1)).setIndexNames((0, "RAQMON-MIB", "raqmonParticipantStartDate"), (0, "RAQMON-MIB", "raqmonParticipantIndex"), (0, "RAQMON-MIB", "raqmonQosTime")) if mibBuilder.loadTexts: raqmonQosEntry.setDescription("Each entry contains information from a single RAQMON\npacket, related to a single session\n(application) run by one participant.\nIndexation by the start time of the session aims\nto ease sorting by management applications. Agents MUST\nNOT report identical start times for any two sessions\n\n\n\non the same host.\nRows are removed for inactive sessions when\nimplementation-specific time or space limits are\nreached.") raqmonQosTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: raqmonQosTime.setDescription("Time of this entry measured from the start of the\ncorresponding participant session.") raqmonQoSEnd2EndNetDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQoSEnd2EndNetDelay.setDescription("The round-trip time.\nWill contain the previous value if there was no report\nfor this time, or -1 if the value has never\nbeen reported.") raqmonQoSInterArrivalJitter = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQoSInterArrivalJitter.setDescription("An estimate of delay variation as observed by this\nreceiver. Will contain the previous value if there\nwas no report for this time, or -1 if the value\nhas never been reported.") raqmonQosRcvdPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQosRcvdPackets.setDescription("Count of packets received by this receiver since the\nprevious entry. Will contain the previous value if\nthere was no report for this time, or -1 if the value\nhas never been reported.") raqmonQosRcvdOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQosRcvdOctets.setDescription("Count of octets received by this receiver since the\nprevious report. Will contain the previous value if\nthere was no report for this time, or -1 if the value\nhas never been reported.") raqmonQosSentPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQosSentPackets.setDescription("Count of packets sent since the previous report.\nWill contain the previous value if there\n\n\n\nwas no report for this time, or -1 if the value\nhas never been reported.") raqmonQosSentOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQosSentOctets.setDescription("Count of octets sent since the previous report.\nWill contain the previous value if there\nwas no report for this time, or -1 if the value\nhas never been reported.") raqmonQosLostPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQosLostPackets.setDescription("A count of packets lost as observed by this receiver\nsince the previous report. Will contain the previous\nvalue if there was no report for this time, or -1 if\nthe value has never been reported.") raqmonQosSessionStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 2, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonQosSessionStatus.setDescription("The session status. Will contain the previous value\nif there was no report for this time or the zero-length\nstring if no value was ever reported.") raqmonParticipantAddrTable = MibTable((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 3)) if mibBuilder.loadTexts: raqmonParticipantAddrTable.setDescription("Maps raqmonParticipantAddr to the index of the\nraqmonParticipantTable. This table allows\nmanagement applications to find entries\nsorted by raqmonParticipantAddr rather than\nraqmonParticipantStartDate.") raqmonParticipantAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 3, 1)).setIndexNames((0, "RAQMON-MIB", "raqmonParticipantAddrType"), (0, "RAQMON-MIB", "raqmonParticipantAddr"), (0, "RAQMON-MIB", "raqmonParticipantStartDate"), (0, "RAQMON-MIB", "raqmonParticipantIndex")) if mibBuilder.loadTexts: raqmonParticipantAddrEntry.setDescription("Each entry corresponds to exactly one entry in the\nraqmonParticipantEntry: the entry containing the\nindex pair raqmonParticipantStartDate,\nraqmonParticipantIndex.\n\nNote that there is no concern about the indexation of\nthis table exceeding the limits defined by RFC 2578,\nSection 3.5. According to [RFC4710], Section\n5.1, only IPv4 and IPv6 addresses can be reported as\nparticipant addresses.") raqmonParticipantAddrEndDate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 1, 3, 1, 1), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonParticipantAddrEndDate.setDescription("The value of raqmonParticipantEndDate for the\ncorresponding raqmonParticipantEntry.") raqmonException = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 1, 2)) raqmonSessionExceptionTable = MibTable((1, 3, 6, 1, 2, 1, 16, 31, 1, 2, 2)) if mibBuilder.loadTexts: raqmonSessionExceptionTable.setDescription("This table defines thresholds for the management\nstation to get notifications about sessions that\nencountered poor quality of service.\n\nThe information in this table MUST be persistent\nacross agent reboots.") raqmonSessionExceptionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 31, 1, 2, 2, 1)).setIndexNames((0, "RAQMON-MIB", "raqmonSessionExceptionIndex")) if mibBuilder.loadTexts: raqmonSessionExceptionEntry.setDescription("A conceptual row in the raqmonSessionExceptionTable.") raqmonSessionExceptionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 2, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: raqmonSessionExceptionIndex.setDescription("An index that uniquely identifies an\nentry in the raqmonSessionExceptionTable.\nManagement applications can determine unused indices\nby performing GetNext or GetBulk operations on the\nTable.") raqmonSessionExceptionIAJitterThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 2, 2, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: raqmonSessionExceptionIAJitterThreshold.setDescription("Threshold for jitter.\nThe value during a session must be greater than or\nequal to this value for an exception to be created.") raqmonSessionExceptionNetRTTThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 2, 2, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: raqmonSessionExceptionNetRTTThreshold.setDescription("Threshold for round-trip time.\nThe value during a session must be greater than or\nequal to this value for an exception to be created.") raqmonSessionExceptionLostPacketsThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 2, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: raqmonSessionExceptionLostPacketsThreshold.setDescription("Threshold for lost packets in units of tenths\nof a percent. The value during a session must\nbe greater than or equal to this value for an\nexception to be created.") raqmonSessionExceptionRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 31, 1, 2, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: raqmonSessionExceptionRowStatus.setDescription("This object has a value of 'active' when\nexceptions are being monitored by the system.\nA newly-created conceptual row must have all\nthe read-create objects initialized before\nbecoming 'active'. A conceptual row that is in\nthe 'notReady' or 'notInService' state MAY be\nremoved after 5 minutes. No writeable objects\ncan be changed while the row is active.") raqmonConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 1, 3)) raqmonConfigPort = MibScalar((1, 3, 6, 1, 2, 1, 16, 31, 1, 3, 1), InetPortNumber()).setMaxAccess("readwrite") if mibBuilder.loadTexts: raqmonConfigPort.setDescription("The UDP port to listen on for RAQMON reports,\nrunning on transport protocols other than SNMP.\nIf the RAQMON PDU transport protocol is SNMP,\na write operation on this object has no effect, as\nthe standard port 162 is always used.\nThe value of this object MUST be persistent across\nagent reboots.") raqmonConfigPduTransport = MibScalar((1, 3, 6, 1, 2, 1, 16, 31, 1, 3, 2), Bits().subtype(namedValues=NamedValues(("other", 0), ("tcp", 1), ("snmp", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: raqmonConfigPduTransport.setDescription("The PDU transport(s) used by this collector.\nIf other(0) is set, the collector supports a\ntransport other than SNMP or TCP.\nIf tcp(1) is set, the collector supports TCP as a\ntransport protocol.\nIf snmp(2) is set, the collector supports SNMP as a\ntransport protocol.") raqmonConfigRaqmonPdus = MibScalar((1, 3, 6, 1, 2, 1, 16, 31, 1, 3, 3), Counter32()).setMaxAccess("readonly").setUnits("PDUs") if mibBuilder.loadTexts: raqmonConfigRaqmonPdus.setDescription("Count of RAQMON PDUs received by the Collector.") raqmonConfigRDSTimeout = MibScalar((1, 3, 6, 1, 2, 1, 16, 31, 1, 3, 4), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: raqmonConfigRDSTimeout.setDescription("The number of seconds since the reception of the\nlast RAQMON PDU from a RDS after which a session\n\n\n\nbetween the respective RDS and the collector will be\nconsidered terminated.\nThe value of this object MUST be persistent across\nagent reboots.") raqmonConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 2)) raqmonCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 2, 1)) raqmonGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 31, 2, 2)) # Augmentions # Notifications raqmonSessionAlarm = NotificationType((1, 3, 6, 1, 2, 1, 16, 31, 0, 1)).setObjects(*(("RAQMON-MIB", "raqmonParticipantAddr"), ("RAQMON-MIB", "raqmonQosLostPackets"), ("RAQMON-MIB", "raqmonParticipantPeerAddrType"), ("RAQMON-MIB", "raqmonQoSInterArrivalJitter"), ("RAQMON-MIB", "raqmonQoSEnd2EndNetDelay"), ("RAQMON-MIB", "raqmonQosRcvdPackets"), ("RAQMON-MIB", "raqmonParticipantName"), ("RAQMON-MIB", "raqmonParticipantPeerAddr"), ) ) if mibBuilder.loadTexts: raqmonSessionAlarm.setDescription("A notification generated by an entry in the\nraqmonSessionExceptionTable.") # Groups raqmonCollectorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 31, 2, 2, 1)).setObjects(*(("RAQMON-MIB", "raqmonParticipantNetOwdMax"), ("RAQMON-MIB", "raqmonParticipantPeerAddrType"), ("RAQMON-MIB", "raqmonParticipantAddrEndDate"), ("RAQMON-MIB", "raqmonQoSEnd2EndNetDelay"), ("RAQMON-MIB", "raqmonQosSentOctets"), ("RAQMON-MIB", "raqmonParticipantSendPort"), ("RAQMON-MIB", "raqmonParticipantNetOwdMin"), ("RAQMON-MIB", "raqmonParticipantPeerAddr"), ("RAQMON-MIB", "raqmonParticipantNetOwdMean"), ("RAQMON-MIB", "raqmonSessionExceptionRowStatus"), ("RAQMON-MIB", "raqmonConfigRaqmonPdus"), ("RAQMON-MIB", "raqmonParticipantEndDate"), ("RAQMON-MIB", "raqmonParticipantIPDVMean"), ("RAQMON-MIB", "raqmonParticipantCpuMax"), ("RAQMON-MIB", "raqmonParticipantDestDSCP"), ("RAQMON-MIB", "raqmonParticipantSrcPayloadType"), ("RAQMON-MIB", "raqmonParticipantMemoryMax"), ("RAQMON-MIB", "raqmonParticipantAddrType"), ("RAQMON-MIB", "raqmonQosSentPackets"), ("RAQMON-MIB", "raqmonConfigRDSTimeout"), ("RAQMON-MIB", "raqmonConfigPduTransport"), ("RAQMON-MIB", "raqmonParticipantMemoryMin"), ("RAQMON-MIB", "raqmonParticipantReportCaps"), ("RAQMON-MIB", "raqmonParticipantMemoryMean"), ("RAQMON-MIB", "raqmonParticipantLostPackets"), ("RAQMON-MIB", "raqmonParticipantCpuMean"), ("RAQMON-MIB", "raqmonParticipantAppDelayMean"), ("RAQMON-MIB", "raqmonParticipantIPDVMin"), ("RAQMON-MIB", "raqmonParticipantNetRTTMin"), ("RAQMON-MIB", "raqmonParticipantIAJitterMin"), ("RAQMON-MIB", "raqmonParticipantCpuMin"), ("RAQMON-MIB", "raqmonParticipantDiscards"), ("RAQMON-MIB", "raqmonParticipantSrcDSCP"), ("RAQMON-MIB", "raqmonSessionExceptionNetRTTThreshold"), ("RAQMON-MIB", "raqmonParticipantNetRTTMax"), ("RAQMON-MIB", "raqmonParticipantIPDVMax"), ("RAQMON-MIB", "raqmonParticipantAppName"), ("RAQMON-MIB", "raqmonParticipantDestL2Priority"), ("RAQMON-MIB", "raqmonParticipantAddr"), ("RAQMON-MIB", "raqmonParticipantAppDelayMax"), ("RAQMON-MIB", "raqmonParticipantDestPayloadType"), ("RAQMON-MIB", "raqmonParticipantActive"), ("RAQMON-MIB", "raqmonParticipantSrcL2Priority"), ("RAQMON-MIB", "raqmonParticipantLostPacketsFrct"), ("RAQMON-MIB", "raqmonParticipantIAJitterMax"), ("RAQMON-MIB", "raqmonQosRcvdOctets"), ("RAQMON-MIB", "raqmonParticipantOctetsRcvd"), ("RAQMON-MIB", "raqmonParticipantPeer"), ("RAQMON-MIB", "raqmonQosLostPackets"), ("RAQMON-MIB", "raqmonParticipantSetupDelay"), ("RAQMON-MIB", "raqmonParticipantIAJitterMean"), ("RAQMON-MIB", "raqmonQoSInterArrivalJitter"), ("RAQMON-MIB", "raqmonSessionExceptionIAJitterThreshold"), ("RAQMON-MIB", "raqmonQosSessionStatus"), ("RAQMON-MIB", "raqmonConfigPort"), ("RAQMON-MIB", "raqmonQosRcvdPackets"), ("RAQMON-MIB", "raqmonParticipantName"), ("RAQMON-MIB", "raqmonParticipantRecvPort"), ("RAQMON-MIB", "raqmonParticipantPacketsSent"), ("RAQMON-MIB", "raqmonParticipantQosCount"), ("RAQMON-MIB", "raqmonSessionExceptionLostPacketsThreshold"), ("RAQMON-MIB", "raqmonParticipantPacketsRcvd"), ("RAQMON-MIB", "raqmonParticipantDiscardsFrct"), ("RAQMON-MIB", "raqmonParticipantNetRTTMean"), ("RAQMON-MIB", "raqmonParticipantOctetsSent"), ("RAQMON-MIB", "raqmonParticipantAppDelayMin"), ) ) if mibBuilder.loadTexts: raqmonCollectorGroup.setDescription("Objects used in RAQMON by a collector.") raqmonCollectorNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 16, 31, 2, 2, 2)).setObjects(*(("RAQMON-MIB", "raqmonSessionAlarm"), ) ) if mibBuilder.loadTexts: raqmonCollectorNotificationsGroup.setDescription("Notifications emitted by a RAQMON collector.") # Compliances raqmonCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 31, 2, 1, 1)).setObjects(*(("RAQMON-MIB", "raqmonCollectorGroup"), ("RAQMON-MIB", "raqmonCollectorNotificationsGroup"), ) ) if mibBuilder.loadTexts: raqmonCompliance.setDescription("Describes the requirements for conformance to the\nRAQMON MIB.") # Exports # Module identity mibBuilder.exportSymbols("RAQMON-MIB", PYSNMP_MODULE_ID=raqmonMIB) # Objects mibBuilder.exportSymbols("RAQMON-MIB", raqmonMIB=raqmonMIB, raqmonNotifications=raqmonNotifications, raqmonMIBObjects=raqmonMIBObjects, raqmonSession=raqmonSession, raqmonParticipantTable=raqmonParticipantTable, raqmonParticipantEntry=raqmonParticipantEntry, raqmonParticipantStartDate=raqmonParticipantStartDate, raqmonParticipantIndex=raqmonParticipantIndex, raqmonParticipantReportCaps=raqmonParticipantReportCaps, raqmonParticipantAddrType=raqmonParticipantAddrType, raqmonParticipantAddr=raqmonParticipantAddr, raqmonParticipantSendPort=raqmonParticipantSendPort, raqmonParticipantRecvPort=raqmonParticipantRecvPort, raqmonParticipantSetupDelay=raqmonParticipantSetupDelay, raqmonParticipantName=raqmonParticipantName, raqmonParticipantAppName=raqmonParticipantAppName, raqmonParticipantQosCount=raqmonParticipantQosCount, raqmonParticipantEndDate=raqmonParticipantEndDate, raqmonParticipantDestPayloadType=raqmonParticipantDestPayloadType, raqmonParticipantSrcPayloadType=raqmonParticipantSrcPayloadType, raqmonParticipantActive=raqmonParticipantActive, raqmonParticipantPeer=raqmonParticipantPeer, raqmonParticipantPeerAddrType=raqmonParticipantPeerAddrType, raqmonParticipantPeerAddr=raqmonParticipantPeerAddr, raqmonParticipantSrcL2Priority=raqmonParticipantSrcL2Priority, raqmonParticipantDestL2Priority=raqmonParticipantDestL2Priority, raqmonParticipantSrcDSCP=raqmonParticipantSrcDSCP, raqmonParticipantDestDSCP=raqmonParticipantDestDSCP, raqmonParticipantCpuMean=raqmonParticipantCpuMean, raqmonParticipantCpuMin=raqmonParticipantCpuMin, raqmonParticipantCpuMax=raqmonParticipantCpuMax, raqmonParticipantMemoryMean=raqmonParticipantMemoryMean, raqmonParticipantMemoryMin=raqmonParticipantMemoryMin, raqmonParticipantMemoryMax=raqmonParticipantMemoryMax, raqmonParticipantNetRTTMean=raqmonParticipantNetRTTMean, raqmonParticipantNetRTTMin=raqmonParticipantNetRTTMin, raqmonParticipantNetRTTMax=raqmonParticipantNetRTTMax, raqmonParticipantIAJitterMean=raqmonParticipantIAJitterMean, raqmonParticipantIAJitterMin=raqmonParticipantIAJitterMin, raqmonParticipantIAJitterMax=raqmonParticipantIAJitterMax, raqmonParticipantIPDVMean=raqmonParticipantIPDVMean, raqmonParticipantIPDVMin=raqmonParticipantIPDVMin, raqmonParticipantIPDVMax=raqmonParticipantIPDVMax, raqmonParticipantNetOwdMean=raqmonParticipantNetOwdMean, raqmonParticipantNetOwdMin=raqmonParticipantNetOwdMin, raqmonParticipantNetOwdMax=raqmonParticipantNetOwdMax, raqmonParticipantAppDelayMean=raqmonParticipantAppDelayMean, raqmonParticipantAppDelayMin=raqmonParticipantAppDelayMin, raqmonParticipantAppDelayMax=raqmonParticipantAppDelayMax, raqmonParticipantPacketsRcvd=raqmonParticipantPacketsRcvd, raqmonParticipantPacketsSent=raqmonParticipantPacketsSent, raqmonParticipantOctetsRcvd=raqmonParticipantOctetsRcvd, raqmonParticipantOctetsSent=raqmonParticipantOctetsSent, raqmonParticipantLostPackets=raqmonParticipantLostPackets, raqmonParticipantLostPacketsFrct=raqmonParticipantLostPacketsFrct, raqmonParticipantDiscards=raqmonParticipantDiscards, raqmonParticipantDiscardsFrct=raqmonParticipantDiscardsFrct, raqmonQosTable=raqmonQosTable, raqmonQosEntry=raqmonQosEntry, raqmonQosTime=raqmonQosTime, raqmonQoSEnd2EndNetDelay=raqmonQoSEnd2EndNetDelay, raqmonQoSInterArrivalJitter=raqmonQoSInterArrivalJitter, raqmonQosRcvdPackets=raqmonQosRcvdPackets, raqmonQosRcvdOctets=raqmonQosRcvdOctets, raqmonQosSentPackets=raqmonQosSentPackets, raqmonQosSentOctets=raqmonQosSentOctets, raqmonQosLostPackets=raqmonQosLostPackets, raqmonQosSessionStatus=raqmonQosSessionStatus, raqmonParticipantAddrTable=raqmonParticipantAddrTable, raqmonParticipantAddrEntry=raqmonParticipantAddrEntry, raqmonParticipantAddrEndDate=raqmonParticipantAddrEndDate, raqmonException=raqmonException, raqmonSessionExceptionTable=raqmonSessionExceptionTable, raqmonSessionExceptionEntry=raqmonSessionExceptionEntry, raqmonSessionExceptionIndex=raqmonSessionExceptionIndex, raqmonSessionExceptionIAJitterThreshold=raqmonSessionExceptionIAJitterThreshold, raqmonSessionExceptionNetRTTThreshold=raqmonSessionExceptionNetRTTThreshold, raqmonSessionExceptionLostPacketsThreshold=raqmonSessionExceptionLostPacketsThreshold, raqmonSessionExceptionRowStatus=raqmonSessionExceptionRowStatus, raqmonConfig=raqmonConfig, raqmonConfigPort=raqmonConfigPort, raqmonConfigPduTransport=raqmonConfigPduTransport, raqmonConfigRaqmonPdus=raqmonConfigRaqmonPdus, raqmonConfigRDSTimeout=raqmonConfigRDSTimeout, raqmonConformance=raqmonConformance, raqmonCompliances=raqmonCompliances, raqmonGroups=raqmonGroups) # Notifications mibBuilder.exportSymbols("RAQMON-MIB", raqmonSessionAlarm=raqmonSessionAlarm) # Groups mibBuilder.exportSymbols("RAQMON-MIB", raqmonCollectorGroup=raqmonCollectorGroup, raqmonCollectorNotificationsGroup=raqmonCollectorNotificationsGroup) # Compliances mibBuilder.exportSymbols("RAQMON-MIB", raqmonCompliance=raqmonCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PPP-LCP-MIB.py0000644000014400001440000005330111736645137020513 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PPP-LCP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:28 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") # Objects ppp = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23)) pppLcp = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 1)) pppLink = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 1, 1)) pppLinkStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1)) if mibBuilder.loadTexts: pppLinkStatusTable.setDescription("A table containing PPP-link specific variables\nfor this PPP implementation.") pppLinkStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppLinkStatusEntry.setDescription("Management information about a particular PPP\nLink.") pppLinkStatusPhysicalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusPhysicalIndex.setDescription("The value of ifIndex that identifies the\nlower-level interface over which this PPP Link\nis operating. This interface would usually be\nan HDLC or RS-232 type of interface. If there\nis no lower-layer interface element, or there\nis no ifEntry for the element, or the element\ncan not be identified, then the value of this\nobject is 0. For example, suppose that PPP is\noperating over a serial port. This would use\ntwo entries in the ifTable. The PPP could be\nrunning over `interface' number 123 and the\nserial port could be running over `interface'\nnumber 987. Therefore, ifSpecific.123 would\ncontain the OBJECT IDENTIFIER ppp\npppLinkStatusPhysicalIndex.123 would contain\n987, and ifSpecific.987 would contain the\nOBJECT IDENTIFIER for the serial-port's media-\nspecific MIB.") pppLinkStatusBadAddresses = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusBadAddresses.setDescription("The number of packets received with an\nincorrect Address Field. This counter is a\ncomponent of the ifInErrors variable that is\nassociated with the interface that represents\nthis PPP Link.") pppLinkStatusBadControls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusBadControls.setDescription("The number of packets received on this link\nwith an incorrect Control Field. This counter\nis a component of the ifInErrors variable that\nis associated with the interface that\nrepresents this PPP Link.") pppLinkStatusPacketTooLongs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusPacketTooLongs.setDescription("The number of received packets that have been\ndiscarded because their length exceeded the\nMRU. This counter is a component of the\nifInErrors variable that is associated with the\ninterface that represents this PPP Link. NOTE,\npackets which are longer than the MRU but which\nare successfully received and processed are NOT\nincluded in this count.") pppLinkStatusBadFCSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusBadFCSs.setDescription("The number of received packets that have been\ndiscarded due to having an incorrect FCS. This\ncounter is a component of the ifInErrors\nvariable that is associated with the interface\nthat represents this PPP Link.") pppLinkStatusLocalMRU = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusLocalMRU.setDescription("The current value of the MRU for the local PPP\nEntity. This value is the MRU that the remote\nentity is using when sending packets to the\nlocal PPP entity. The value of this object is\nmeaningful only when the link has reached the\nopen state (ifOperStatus is up).") pppLinkStatusRemoteMRU = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusRemoteMRU.setDescription("The current value of the MRU for the remote\nPPP Entity. This value is the MRU that the\nlocal entity is using when sending packets to\nthe remote PPP entity. The value of this object\nis meaningful only when the link has reached\nthe open state (ifOperStatus is up).") pppLinkStatusLocalToPeerACCMap = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusLocalToPeerACCMap.setDescription("The current value of the ACC Map used for\nsending packets from the local PPP entity to\nthe remote PPP entity. The value of this object\nis meaningful only when the link has reached\nthe open state (ifOperStatus is up).") pppLinkStatusPeerToLocalACCMap = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusPeerToLocalACCMap.setDescription("The ACC Map used by the remote PPP entity when\ntransmitting packets to the local PPP entity.\nThe value of this object is meaningful only\nwhen the link has reached the open state\n(ifOperStatus is up).") pppLinkStatusLocalToRemoteProtocolCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusLocalToRemoteProtocolCompression.setDescription("Indicates whether the local PPP entity will\nuse Protocol Compression when transmitting\npackets to the remote PPP entity. The value of\nthis object is meaningful only when the link\nhas reached the open state (ifOperStatus is\nup).") pppLinkStatusRemoteToLocalProtocolCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusRemoteToLocalProtocolCompression.setDescription("Indicates whether the remote PPP entity will\nuse Protocol Compression when transmitting\npackets to the local PPP entity. The value of\nthis object is meaningful only when the link\nhas reached the open state (ifOperStatus is\nup).") pppLinkStatusLocalToRemoteACCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusLocalToRemoteACCompression.setDescription("Indicates whether the local PPP entity will\nuse Address and Control Compression when\ntransmitting packets to the remote PPP entity.\nThe value of this object is meaningful only\nwhen the link has reached the open state\n(ifOperStatus is up).") pppLinkStatusRemoteToLocalACCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusRemoteToLocalACCompression.setDescription("Indicates whether the remote PPP entity will\nuse Address and Control Compression when\ntransmitting packets to the local PPP entity.\nThe value of this object is meaningful only\nwhen the link has reached the open state\n(ifOperStatus is up).") pppLinkStatusTransmitFcsSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusTransmitFcsSize.setDescription("The size of the Frame Check Sequence (FCS) in\nbits that the local node will generate when\nsending packets to the remote node. The value\nof this object is meaningful only when the link\nhas reached the open state (ifOperStatus is\nup).") pppLinkStatusReceiveFcsSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLinkStatusReceiveFcsSize.setDescription("The size of the Frame Check Sequence (FCS) in\nbits that the remote node will generate when\nsending packets to the local node. The value of\nthis object is meaningful only when the link\nhas reached the open state (ifOperStatus is\nup).") pppLinkConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 2)) if mibBuilder.loadTexts: pppLinkConfigTable.setDescription("A table containing the LCP configuration\nparameters for this PPP Link. These variables\nrepresent the initial configuration of the PPP\nLink. The actual values of the parameters may\nbe changed when the link is brought up via the\nLCP options negotiation mechanism.") pppLinkConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppLinkConfigEntry.setDescription("Configuration information about a particular\nPPP Link.") pppLinkConfigInitialMRU = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(1500)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppLinkConfigInitialMRU.setDescription("The initial Maximum Receive Unit (MRU) that\nthe local PPP entity will advertise to the\nremote entity. If the value of this variable is\n0 then the local PPP entity will not advertise\nany MRU to the remote entity and the default\nMRU will be assumed. Changing this object will\nhave effect when the link is next restarted.") pppLinkConfigReceiveACCMap = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4).clone(hexValue='ffffffff')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppLinkConfigReceiveACCMap.setDescription("The Asynchronous-Control-Character-Map (ACC)\nthat the local PPP entity requires for use on\nits receive side. In effect, this is the ACC\nMap that is required in order to ensure that\nthe local modem will successfully receive all\ncharacters. The actual ACC map used on the\nreceive side of the link will be a combination\nof the local node's pppLinkConfigReceiveACCMap\nand the remote node's\npppLinkConfigTransmitACCMap. Changing this\nobject will have effect when the link is next\nrestarted.") pppLinkConfigTransmitACCMap = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4).clone(hexValue='ffffffff')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppLinkConfigTransmitACCMap.setDescription("The Asynchronous-Control-Character-Map (ACC)\nthat the local PPP entity requires for use on\nits transmit side. In effect, this is the ACC\nMap that is required in order to ensure that\nall characters can be successfully transmitted\nthrough the local modem. The actual ACC map\nused on the transmit side of the link will be a\ncombination of the local node's\npppLinkConfigTransmitACCMap and the remote\nnode's pppLinkConfigReceiveACCMap. Changing\nthis object will have effect when the link is\nnext restarted.") pppLinkConfigMagicNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("false", 1), ("true", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppLinkConfigMagicNumber.setDescription("If true(2) then the local node will attempt to\nperform Magic Number negotiation with the\nremote node. If false(1) then this negotiation\nis not performed. In any event, the local node\nwill comply with any magic number negotiations\nattempted by the remote node, per the PPP\nspecification. Changing this object will have\neffect when the link is next restarted.") pppLinkConfigFcsSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128)).clone(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppLinkConfigFcsSize.setDescription("The size of the FCS, in bits, the local node\nwill attempt to negotiate for use with the\nremote node. Regardless of the value of this\nobject, the local node will comply with any FCS\nsize negotiations initiated by the remote node,\nper the PPP specification. Changing this object\nwill have effect when the link is next\nrestarted.") pppLqr = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 1, 2)) pppLqrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1)) if mibBuilder.loadTexts: pppLqrTable.setDescription("Table containing the LQR parameters and\nstatistics for the local PPP entity.") pppLqrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppLqrEntry.setDescription("LQR information for a particular PPP link. A\nPPP link will have an entry in this table if\nand only if LQR Quality Monitoring has been\nsuccessfully negotiated for said link.") pppLqrQuality = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("good", 1), ("bad", 2), ("not-determined", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLqrQuality.setDescription("The current quality of the link as declared by\nthe local PPP entity's Link-Quality Management\nmodules. No effort is made to define good or\nbad, nor the policy used to determine it. The\nnot-determined value indicates that the entity\ndoes not actually evaluate the link's quality.\nThis value is used to disambiguate the\n`determined to be good' case from the `no\ndetermination made and presumed to be good'\ncase.") pppLqrInGoodOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLqrInGoodOctets.setDescription("The LQR InGoodOctets counter for this link.") pppLqrLocalPeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLqrLocalPeriod.setDescription("The LQR reporting period, in hundredths of a\nsecond that is in effect for the local PPP\nentity.") pppLqrRemotePeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLqrRemotePeriod.setDescription("The LQR reporting period, in hundredths of a\nsecond, that is in effect for the remote PPP\nentity.") pppLqrOutLQRs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLqrOutLQRs.setDescription("The value of the OutLQRs counter on the local\nnode for the link identified by ifIndex.") pppLqrInLQRs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLqrInLQRs.setDescription("The value of the InLQRs counter on the local\nnode for the link identified by ifIndex.") pppLqrConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 2)) if mibBuilder.loadTexts: pppLqrConfigTable.setDescription("Table containing the LQR Configuration\nparameters for the local PPP entity.") pppLqrConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppLqrConfigEntry.setDescription("LQR configuration information for a particular\nPPP link.") pppLqrConfigPeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppLqrConfigPeriod.setDescription("The LQR Reporting Period that the local PPP\nentity will attempt to negotiate with the\nremote entity, in units of hundredths of a\nsecond. Changing this object will have effect\nwhen the link is next restarted.") pppLqrConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("enabled", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppLqrConfigStatus.setDescription("If enabled(2) then the local node will attempt\nto perform LQR negotiation with the remote\nnode. If disabled(1) then this negotiation is\nnot performed. In any event, the local node\nwill comply with any magic number negotiations\nattempted by the remote node, per the PPP\nspecification. Changing this object will have\neffect when the link is next restarted.\nSetting this object to the value disabled(1)\nhas the effect of invalidating the\ncorresponding entry in the pppLqrConfigTable\nobject. It is an implementation-specific matter\nas to whether the agent removes an invalidated\nentry from the table. Accordingly, management\nstations must be prepared to receive tabular\ninformation from agents that corresponds to\nentries not currently in use.") pppLqrExtnsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 3)) if mibBuilder.loadTexts: pppLqrExtnsTable.setDescription("Table containing additional LQR information\nfor the local PPP entity.") pppLqrExtnsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppLqrExtnsEntry.setDescription("Extended LQR information for a particular PPP\nlink. Assuming that this group has been\nimplemented, a PPP link will have an entry in\nthis table if and only if LQR Quality\nMonitoring has been successfully negotiated for\nsaid link.") pppLqrExtnsLastReceivedLqrPacket = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 1, 2, 3, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(68, 68)).setFixedLength(68)).setMaxAccess("readonly") if mibBuilder.loadTexts: pppLqrExtnsLastReceivedLqrPacket.setDescription("This object contains the most recently\nreceived LQR packet. The format of the packet\nis as described in the LQM Protocol\nspecificiation. All fields of the packet,\nincluding the `save' fields, are stored in this\nobject.\n\nThe LQR packet is stored in network byte order.\nThe LAP-B and PPP headers are not stored in\nthis object; the first four octets of this\nvariable contain the Magic-Number field, the\nsecond four octets contain the LastOutLQRs\nfield and so on. The last four octets of this\nobject contain the SaveInOctets field of the\nLQR packet.") pppTests = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 1, 3)) pppEchoTest = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 1, 3, 1)) pppDiscardTest = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 1, 3, 2)) # Augmentions # Exports # Objects mibBuilder.exportSymbols("PPP-LCP-MIB", ppp=ppp, pppLcp=pppLcp, pppLink=pppLink, pppLinkStatusTable=pppLinkStatusTable, pppLinkStatusEntry=pppLinkStatusEntry, pppLinkStatusPhysicalIndex=pppLinkStatusPhysicalIndex, pppLinkStatusBadAddresses=pppLinkStatusBadAddresses, pppLinkStatusBadControls=pppLinkStatusBadControls, pppLinkStatusPacketTooLongs=pppLinkStatusPacketTooLongs, pppLinkStatusBadFCSs=pppLinkStatusBadFCSs, pppLinkStatusLocalMRU=pppLinkStatusLocalMRU, pppLinkStatusRemoteMRU=pppLinkStatusRemoteMRU, pppLinkStatusLocalToPeerACCMap=pppLinkStatusLocalToPeerACCMap, pppLinkStatusPeerToLocalACCMap=pppLinkStatusPeerToLocalACCMap, pppLinkStatusLocalToRemoteProtocolCompression=pppLinkStatusLocalToRemoteProtocolCompression, pppLinkStatusRemoteToLocalProtocolCompression=pppLinkStatusRemoteToLocalProtocolCompression, pppLinkStatusLocalToRemoteACCompression=pppLinkStatusLocalToRemoteACCompression, pppLinkStatusRemoteToLocalACCompression=pppLinkStatusRemoteToLocalACCompression, pppLinkStatusTransmitFcsSize=pppLinkStatusTransmitFcsSize, pppLinkStatusReceiveFcsSize=pppLinkStatusReceiveFcsSize, pppLinkConfigTable=pppLinkConfigTable, pppLinkConfigEntry=pppLinkConfigEntry, pppLinkConfigInitialMRU=pppLinkConfigInitialMRU, pppLinkConfigReceiveACCMap=pppLinkConfigReceiveACCMap, pppLinkConfigTransmitACCMap=pppLinkConfigTransmitACCMap, pppLinkConfigMagicNumber=pppLinkConfigMagicNumber, pppLinkConfigFcsSize=pppLinkConfigFcsSize, pppLqr=pppLqr, pppLqrTable=pppLqrTable, pppLqrEntry=pppLqrEntry, pppLqrQuality=pppLqrQuality, pppLqrInGoodOctets=pppLqrInGoodOctets, pppLqrLocalPeriod=pppLqrLocalPeriod, pppLqrRemotePeriod=pppLqrRemotePeriod, pppLqrOutLQRs=pppLqrOutLQRs, pppLqrInLQRs=pppLqrInLQRs, pppLqrConfigTable=pppLqrConfigTable, pppLqrConfigEntry=pppLqrConfigEntry, pppLqrConfigPeriod=pppLqrConfigPeriod, pppLqrConfigStatus=pppLqrConfigStatus, pppLqrExtnsTable=pppLqrExtnsTable, pppLqrExtnsEntry=pppLqrExtnsEntry, pppLqrExtnsLastReceivedLqrPacket=pppLqrExtnsLastReceivedLqrPacket, pppTests=pppTests, pppEchoTest=pppEchoTest, pppDiscardTest=pppDiscardTest) pysnmp-mibs-0.1.3/pysnmp_mibs/PTOPO-MIB.py0000644000014400001440000005560511736645137020352 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PTOPO-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:29 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( PhysicalIndex, ) = mibBuilder.importSymbols("ENTITY-MIB", "PhysicalIndex") ( AddressFamilyNumbers, ) = mibBuilder.importSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", "AddressFamilyNumbers") ( TimeFilter, ) = mibBuilder.importSymbols("RMON2-MIB", "TimeFilter") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( AutonomousType, RowStatus, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "RowStatus", "TextualConvention", "TimeStamp", "TruthValue") # Types class PtopoAddrSeenState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,3,4,) namedValues = NamedValues(("notUsed", 1), ("unknown", 2), ("oneAddr", 3), ("multiAddr", 4), ) class PtopoChassisId(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,32) class PtopoChassisIdType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,3,4,5,) namedValues = NamedValues(("chasIdEntPhysicalAlias", 1), ("chasIdIfAlias", 2), ("chasIdPortEntPhysicalAlias", 3), ("chasIdMacAddress", 4), ("chasIdPtopoGenAddr", 5), ) class PtopoGenAddr(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,20) class PtopoPortId(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,32) class PtopoPortIdType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,1,3,2,) namedValues = NamedValues(("portIdIfAlias", 1), ("portIdEntPhysicalAlias", 2), ("portIdMacAddr", 3), ("portIdPtopoGenAddr", 4), ) # Objects ptopoMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 79)).setRevisions(("2000-09-21 00:00",)) if mibBuilder.loadTexts: ptopoMIB.setOrganization("IETF; PTOPOMIB Working Group") if mibBuilder.loadTexts: ptopoMIB.setContactInfo("PTOPOMIB WG Discussion:\nptopo@3com.com\nSubscription:\nmajordomo@3com.com\n msg body: [un]subscribe ptopomib\n\nAndy Bierman\nCisco Systems Inc.\n170 West Tasman Drive\nSan Jose, CA 95134\n408-527-3711\nabierman@cisco.com\n\nKendall S. Jones\nNortel Networks\n4401 Great America Parkway\nSanta Clara, CA 95054\n408-495-7356\nkejones@nortelnetworks.com") if mibBuilder.loadTexts: ptopoMIB.setDescription("The MIB module for physical topology information.") ptopoMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 1)) ptopoData = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 1, 1)) ptopoConnTable = MibTable((1, 3, 6, 1, 2, 1, 79, 1, 1, 1)) if mibBuilder.loadTexts: ptopoConnTable.setDescription("This table contains one or more rows per physical network\nconnection known to this agent. The agent may wish to\nensure that only one ptopoConnEntry is present for each\nlocal port, or it may choose to maintain multiple\nptopoConnEntries for the same local port.\n\nEntries based on lower numbered identifier types are\npreferred over higher numbered identifier types, i.e., lower\nvalues of the ptopoConnRemoteChassisType and\nptopoConnRemotePortType objects.") ptopoConnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1)).setIndexNames((0, "PTOPO-MIB", "ptopoConnTimeMark"), (0, "PTOPO-MIB", "ptopoConnLocalChassis"), (0, "PTOPO-MIB", "ptopoConnLocalPort"), (0, "PTOPO-MIB", "ptopoConnIndex")) if mibBuilder.loadTexts: ptopoConnEntry.setDescription("Information about a particular physical network connection.\nEntries may be created and deleted in this table, either\nmanually or by the agent, if a physical topology discovery\nprocess is active.") ptopoConnTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ptopoConnTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter textual\nconvention in RFC 2021 to see how this works.") ptopoConnLocalChassis = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 2), PhysicalIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ptopoConnLocalChassis.setDescription("The entPhysicalIndex value used to identify the chassis\ncomponent associated with the local connection endpoint.") ptopoConnLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 3), PhysicalIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ptopoConnLocalPort.setDescription("The entPhysicalIndex value used to identify the port\ncomponent associated with the local connection endpoint.") ptopoConnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ptopoConnIndex.setDescription("This object represents an arbitrary local integer value\nused by this agent to identify a particular connection\ninstance, unique only for the indicated local connection\nendpoint.\n\nA particular ptopoConnIndex value may be reused in the event\nan entry is aged out and later re-learned with the same (or\ndifferent) remote chassis and port identifiers.\n\nAn agent is encouraged to assign monotonically increasing\nindex values to new entries, starting with one, after each\n\n\nreboot. It is considered unlikely that the ptopoConnIndex\nwill wrap between reboots.") ptopoConnRemoteChassisType = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 5), PtopoChassisIdType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnRemoteChassisType.setDescription("The type of encoding used to identify the chassis\nassociated with the remote connection endpoint.\n\nThis object may not be modified if the associated\nptopoConnRowStatus object has a value of active(1).") ptopoConnRemoteChassis = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 6), PtopoChassisId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnRemoteChassis.setDescription("The string value used to identify the chassis component\nassociated with the remote connection endpoint.\n\nThis object may not be modified if the associated\nptopoConnRowStatus object has a value of active(1).") ptopoConnRemotePortType = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 7), PtopoPortIdType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnRemotePortType.setDescription("The type of port identifier encoding used in the associated\n'ptopoConnRemotePort' object.\n\nThis object may not be modified if the associated\nptopoConnRowStatus object has a value of active(1).") ptopoConnRemotePort = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 8), PtopoPortId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnRemotePort.setDescription("The string value used to identify the port component\nassociated with the remote connection endpoint.\n\n\n\nThis object may not be modified if the associated\nptopoConnRowStatus object has a value of active(1).") ptopoConnDiscAlgorithm = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 9), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptopoConnDiscAlgorithm.setDescription("An indication of the algorithm used to discover the\ninformation contained in this conceptual row.\n\nA value of ptopoDiscoveryLocal indicates this entry was\nconfigured by the local agent, without use of a discovery\nprotocol.\n\nA value of { 0 0 } indicates this entry was created manually\nby an NMS via the associated RowStatus object. ") ptopoConnAgentNetAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 10), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnAgentNetAddrType.setDescription("This network address type of the associated\nptopoConnNetAddr object, unless that object contains a zero\nlength string. In such a case, an NMS application should\nignore any returned value for this object.\n\nThis object may not be modified if the associated\nptopoConnRowStatus object has a value of active(1).") ptopoConnAgentNetAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 11), PtopoGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnAgentNetAddr.setDescription("This object identifies a network address which may be used\nto reach an SNMP agent entity containing information for the\nchassis and port components represented by the associated\n'ptopoConnRemoteChassis' and 'ptopoConnRemotePort' objects.\nIf no such address is known, then this object shall contain\nan empty string.\n\nThis object may not be modified if the associated\nptopoConnRowStatus object has a value of active(1).") ptopoConnMultiMacSASeen = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 12), PtopoAddrSeenState()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptopoConnMultiMacSASeen.setDescription("This object indicates if multiple unicast source MAC\naddresses have been detected by the agent from the remote\nconnection endpoint, since the creation of this entry.\n\nIf this entry has an associated ptopoConnRemoteChassisType\nand/or ptopoConnRemotePortType value other than\n'portIdMacAddr(3)', then the value 'notUsed(1)' is returned.\n\nOtherwise, one of the following conditions must be true:\n\nIf the agent has not yet detected any unicast source MAC\naddresses from the remote port, then the value 'unknown(2)'\nis returned.\n\nIf the agent has detected exactly one unicast source MAC\naddress from the remote port, then the value 'oneAddr(3)' is\nreturned.\n\nIf the agent has detected more than one unicast source MAC\naddress from the remote port, then the value 'multiAddr(4)'\nis returned.") ptopoConnMultiNetSASeen = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 13), PtopoAddrSeenState()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptopoConnMultiNetSASeen.setDescription("This object indicates if multiple network layer source\naddresses have been detected by the agent from the remote\nconnection endpoint, since the creation of this entry.\n\nIf this entry has an associated ptopoConnRemoteChassisType\nor ptopoConnRemotePortType value other than\n'portIdGenAddr(4)' then the value 'notUsed(1)' is returned.\n\nOtherwise, one of the following conditions must be true:\n\nIf the agent has not yet detected any network source\naddresses of the appropriate type from the remote port, then\nthe value 'unknown(2)' is returned.\n\n\nIf the agent has detected exactly one network source address\nof the appropriate type from the remote port, then the value\n'oneAddr(3)' is returned.\n\nIf the agent has detected more than one network source\naddress (of the same appropriate type) from the remote port,\nthis the value 'multiAddr(4)' is returned.") ptopoConnIsStatic = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 14), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnIsStatic.setDescription("This object identifies static ptopoConnEntries. If this\nobject has the value 'true(1)', then this entry is not\nsubject to any age-out mechanisms implemented by the agent.\n\nIf this object has the value 'false(2)', then this entry is\nsubject to all age-out mechanisms implemented by the agent.\n\nThis object may not be modified if the associated\nptopoConnRowStatus object has a value of active(1).") ptopoConnLastVerifyTime = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 15), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptopoConnLastVerifyTime.setDescription("If the associated value of ptopoConnIsStatic is equal to\n'false(2)', then this object contains the value of sysUpTime\nat the time the conceptual row was last verified by the\nagent, e.g., via reception of a topology protocol message,\npertaining to the associated remote chassis and port.\n\nIf the associated value of ptopoConnIsStatic is equal to\n'true(1)', then this object shall contain the value of\nsysUpTime at the time this entry was last activated (i.e.,\nptopoConnRowStatus set to 'active(1)').") ptopoConnRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 79, 1, 1, 1, 1, 16), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ptopoConnRowStatus.setDescription("The status of this conceptual row.") ptopoGeneral = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 1, 2)) ptopoLastChangeTime = MibScalar((1, 3, 6, 1, 2, 1, 79, 1, 2, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptopoLastChangeTime.setDescription("The value of sysUpTime at the time a conceptual row is\ncreated, modified, or deleted in the ptopoConnTable.\n\nAn NMS can use this object to reduce polling of the\nptopoData group objects.") ptopoConnTabInserts = MibScalar((1, 3, 6, 1, 2, 1, 79, 1, 2, 2), Counter32()).setMaxAccess("readonly").setUnits("table entries") if mibBuilder.loadTexts: ptopoConnTabInserts.setDescription("The number of times an entry has been inserted into the\nptopoConnTable.") ptopoConnTabDeletes = MibScalar((1, 3, 6, 1, 2, 1, 79, 1, 2, 3), Counter32()).setMaxAccess("readonly").setUnits("table entries") if mibBuilder.loadTexts: ptopoConnTabDeletes.setDescription("The number of times an entry has been deleted from the\nptopoConnTable.") ptopoConnTabDrops = MibScalar((1, 3, 6, 1, 2, 1, 79, 1, 2, 4), Counter32()).setMaxAccess("readonly").setUnits("table entries") if mibBuilder.loadTexts: ptopoConnTabDrops.setDescription("The number of times an entry would have been added to the\nptopoConnTable, (e.g., via information learned from a\ntopology protocol), but was not because of insufficient\nresources.") ptopoConnTabAgeouts = MibScalar((1, 3, 6, 1, 2, 1, 79, 1, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ptopoConnTabAgeouts.setDescription("The number of times an entry has been deleted from the\nptopoConnTable because the information timeliness interval\nfor that entry has expired.") ptopoConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 1, 3)) ptopoConfigTrapInterval = MibScalar((1, 3, 6, 1, 2, 1, 79, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(5,3600),)).clone(0)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: ptopoConfigTrapInterval.setDescription("This object controls the transmission of PTOPO\nnotifications.\n\nIf this object has a value of zero, then no\nptopoConfigChange notifications will be transmitted by the\nagent.\n\nIf this object has a non-zero value, then the agent must not\ngenerate more than one ptopoConfigChange trap-event in the\nindicated period, where a 'trap-event' is the transmission\nof a single notification PDU type to a list of notification\ndestinations. If additional configuration changes occur\nwithin the indicated throttling period, then these trap-\nevents must be suppressed by the agent. An NMS should\nperiodically check the value of ptopoLastChangeTime to\ndetect any missed ptopoConfigChange trap-events, e.g. due to\nthrottling or transmission loss.\n\n\n\nIf notification transmission is enabled, the suggested\ndefault throttling period is 60 seconds, but transmission\nshould be disabled by default.\n\nIf the agent is capable of storing non-volatile\nconfiguration, then the value of this object must be\nrestored after a re-initialization of the management\nsystem.") ptopoConfigMaxHoldTime = MibScalar((1, 3, 6, 1, 2, 1, 79, 1, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(300)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: ptopoConfigMaxHoldTime.setDescription("This object specifies the desired time interval for which\nan agent will maintain dynamic ptopoConnEntries.\n\nAfter the specified number of seconds since the last time an\nentry was verified, in the absence of new verification\n(e.g., receipt of a topology protocol message), the agent\nshall remove the entry. Note that entries may not always be\nremoved immediately, but may possibly be removed at periodic\ngarbage collection intervals.\nThis object only affects dynamic ptopoConnEntries, i.e. for\nwhich ptopoConnIsStatic equals 'false(2)'. Static entries\nare not aged out.\n\nNote that dynamic ptopoConnEntries may also be removed by\nthe agent due to the expired timeliness of learned topology\ninformation (e.g., timeliness interval for a remote port\nexpires). The actual age-out interval for a given entry is\ndefined by the following formula:\n\n age-out-time =\n min(ptopoConfigMaxHoldTime, )\n\nwhere is determined by the\ndiscovery algorithm, and may be different for each entry.") ptopoMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 2)) ptopoMIBTrapPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 2, 0)) ptopoRegistrationPoints = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 3)) ptopoDiscoveryMechanisms = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 3, 1)) ptopoDiscoveryLocal = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 3, 1, 1)) ptopoConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 4)) ptopoCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 4, 1)) ptopoGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 79, 4, 2)) # Augmentions # Notifications ptopoConfigChange = NotificationType((1, 3, 6, 1, 2, 1, 79, 2, 0, 1)).setObjects(*(("PTOPO-MIB", "ptopoConnTabAgeouts"), ("PTOPO-MIB", "ptopoConnTabDrops"), ("PTOPO-MIB", "ptopoConnTabInserts"), ("PTOPO-MIB", "ptopoConnTabDeletes"), ) ) if mibBuilder.loadTexts: ptopoConfigChange.setDescription("A ptopoConfigChange notification is sent when the value of\nptopoLastChangeTime changes. It can be utilized by an NMS to\ntrigger physical topology table maintenance polls.\n\nNote that transmission of ptopoConfigChange notifications\nare throttled by the agent, as specified by the\n'ptopoConfigTrapInterval' object.") # Groups ptopoDataGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 79, 4, 2, 1)).setObjects(*(("PTOPO-MIB", "ptopoConnRowStatus"), ("PTOPO-MIB", "ptopoConnRemoteChassisType"), ("PTOPO-MIB", "ptopoConnLastVerifyTime"), ("PTOPO-MIB", "ptopoConnRemotePortType"), ("PTOPO-MIB", "ptopoConnMultiMacSASeen"), ("PTOPO-MIB", "ptopoConnRemoteChassis"), ("PTOPO-MIB", "ptopoConnAgentNetAddrType"), ("PTOPO-MIB", "ptopoConnRemotePort"), ("PTOPO-MIB", "ptopoConnMultiNetSASeen"), ("PTOPO-MIB", "ptopoConnAgentNetAddr"), ("PTOPO-MIB", "ptopoConnDiscAlgorithm"), ("PTOPO-MIB", "ptopoConnIsStatic"), ) ) if mibBuilder.loadTexts: ptopoDataGroup.setDescription("The collection of objects which are used to represent\nphysical topology information for which a single agent\nprovides management information.\n\nThis group is mandatory for all implementations of the PTOPO\nMIB.") ptopoGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 79, 4, 2, 2)).setObjects(*(("PTOPO-MIB", "ptopoConnTabInserts"), ("PTOPO-MIB", "ptopoConnTabDrops"), ("PTOPO-MIB", "ptopoConnTabAgeouts"), ("PTOPO-MIB", "ptopoLastChangeTime"), ("PTOPO-MIB", "ptopoConnTabDeletes"), ) ) if mibBuilder.loadTexts: ptopoGeneralGroup.setDescription("The collection of objects which are used to report the\ngeneral status of the PTOPO MIB implementation.\n\nThis group is mandatory for all agents which implement the\nPTOPO MIB.") ptopoConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 79, 4, 2, 3)).setObjects(*(("PTOPO-MIB", "ptopoConfigTrapInterval"), ("PTOPO-MIB", "ptopoConfigMaxHoldTime"), ) ) if mibBuilder.loadTexts: ptopoConfigGroup.setDescription("The collection of objects which are used to configure the\nPTOPO MIB implementation behavior.\n\nThis group is mandatory for agents which implement the PTOPO\nMIB.") ptopoNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 79, 4, 2, 4)).setObjects(*(("PTOPO-MIB", "ptopoConfigChange"), ) ) if mibBuilder.loadTexts: ptopoNotificationsGroup.setDescription("The collection of notifications used to indicate PTOPO MIB\ndata consistency and general status information.\n\nThis group is mandatory for agents which implement the PTOPO\nMIB.") # Compliances ptopoCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 79, 4, 1, 1)).setObjects(*(("PTOPO-MIB", "ptopoDataGroup"), ("PTOPO-MIB", "ptopoGeneralGroup"), ("PTOPO-MIB", "ptopoNotificationsGroup"), ("PTOPO-MIB", "ptopoConfigGroup"), ) ) if mibBuilder.loadTexts: ptopoCompliance.setDescription("The compliance statement for SNMP entities which implement\nthe PTOPO MIB.") # Exports # Module identity mibBuilder.exportSymbols("PTOPO-MIB", PYSNMP_MODULE_ID=ptopoMIB) # Types mibBuilder.exportSymbols("PTOPO-MIB", PtopoAddrSeenState=PtopoAddrSeenState, PtopoChassisId=PtopoChassisId, PtopoChassisIdType=PtopoChassisIdType, PtopoGenAddr=PtopoGenAddr, PtopoPortId=PtopoPortId, PtopoPortIdType=PtopoPortIdType) # Objects mibBuilder.exportSymbols("PTOPO-MIB", ptopoMIB=ptopoMIB, ptopoMIBObjects=ptopoMIBObjects, ptopoData=ptopoData, ptopoConnTable=ptopoConnTable, ptopoConnEntry=ptopoConnEntry, ptopoConnTimeMark=ptopoConnTimeMark, ptopoConnLocalChassis=ptopoConnLocalChassis, ptopoConnLocalPort=ptopoConnLocalPort, ptopoConnIndex=ptopoConnIndex, ptopoConnRemoteChassisType=ptopoConnRemoteChassisType, ptopoConnRemoteChassis=ptopoConnRemoteChassis, ptopoConnRemotePortType=ptopoConnRemotePortType, ptopoConnRemotePort=ptopoConnRemotePort, ptopoConnDiscAlgorithm=ptopoConnDiscAlgorithm, ptopoConnAgentNetAddrType=ptopoConnAgentNetAddrType, ptopoConnAgentNetAddr=ptopoConnAgentNetAddr, ptopoConnMultiMacSASeen=ptopoConnMultiMacSASeen, ptopoConnMultiNetSASeen=ptopoConnMultiNetSASeen, ptopoConnIsStatic=ptopoConnIsStatic, ptopoConnLastVerifyTime=ptopoConnLastVerifyTime, ptopoConnRowStatus=ptopoConnRowStatus, ptopoGeneral=ptopoGeneral, ptopoLastChangeTime=ptopoLastChangeTime, ptopoConnTabInserts=ptopoConnTabInserts, ptopoConnTabDeletes=ptopoConnTabDeletes, ptopoConnTabDrops=ptopoConnTabDrops, ptopoConnTabAgeouts=ptopoConnTabAgeouts, ptopoConfig=ptopoConfig, ptopoConfigTrapInterval=ptopoConfigTrapInterval, ptopoConfigMaxHoldTime=ptopoConfigMaxHoldTime, ptopoMIBNotifications=ptopoMIBNotifications, ptopoMIBTrapPrefix=ptopoMIBTrapPrefix, ptopoRegistrationPoints=ptopoRegistrationPoints, ptopoDiscoveryMechanisms=ptopoDiscoveryMechanisms, ptopoDiscoveryLocal=ptopoDiscoveryLocal, ptopoConformance=ptopoConformance, ptopoCompliances=ptopoCompliances, ptopoGroups=ptopoGroups) # Notifications mibBuilder.exportSymbols("PTOPO-MIB", ptopoConfigChange=ptopoConfigChange) # Groups mibBuilder.exportSymbols("PTOPO-MIB", ptopoDataGroup=ptopoDataGroup, ptopoGeneralGroup=ptopoGeneralGroup, ptopoConfigGroup=ptopoConfigGroup, ptopoNotificationsGroup=ptopoNotificationsGroup) # Compliances mibBuilder.exportSymbols("PTOPO-MIB", ptopoCompliance=ptopoCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IGMP-STD-MIB.py0000644000014400001440000004233611736645136020631 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IGMP-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:09 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue") # Objects igmpStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 85)).setRevisions(("2000-09-28 00:00",)) if mibBuilder.loadTexts: igmpStdMIB.setOrganization("IETF IDMR Working Group.") if mibBuilder.loadTexts: igmpStdMIB.setContactInfo(" Dave Thaler\nMicrosoft Corporation\nOne Microsoft Way\nRedmond, WA 98052-6399\nUS\n\nPhone: +1 425 703 8835\nEMail: dthaler@microsoft.com") if mibBuilder.loadTexts: igmpStdMIB.setDescription("The MIB module for IGMP Management.") igmpMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 85, 1)) igmpInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 85, 1, 1)) if mibBuilder.loadTexts: igmpInterfaceTable.setDescription("The (conceptual) table listing the interfaces on which IGMP\nis enabled.") igmpInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 85, 1, 1, 1)).setIndexNames((0, "IGMP-STD-MIB", "igmpInterfaceIfIndex")) if mibBuilder.loadTexts: igmpInterfaceEntry.setDescription("An entry (conceptual row) representing an interface on\nwhich IGMP is enabled.") igmpInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: igmpInterfaceIfIndex.setDescription("The ifIndex value of the interface for which IGMP is\nenabled.") igmpInterfaceQueryInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 2), Unsigned32().clone(125)).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpInterfaceQueryInterval.setDescription("The frequency at which IGMP Host-Query packets are\ntransmitted on this interface.") igmpInterfaceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpInterfaceStatus.setDescription("The activation of a row enables IGMP on the interface. The\ndestruction of a row disables IGMP on the interface.") igmpInterfaceVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 4), Unsigned32().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpInterfaceVersion.setDescription("The version of IGMP which is running on this interface.\nThis object can be used to configure a router capable of\nrunning either value. For IGMP to function correctly, all\nrouters on a LAN must be configured to run the same version\nof IGMP on that LAN.") igmpInterfaceQuerier = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpInterfaceQuerier.setDescription("The address of the IGMP Querier on the IP subnet to which\n\n\nthis interface is attached.") igmpInterfaceQueryMaxResponseTime = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpInterfaceQueryMaxResponseTime.setDescription("The maximum query response time advertised in IGMPv2\nqueries on this interface.") igmpInterfaceQuerierUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpInterfaceQuerierUpTime.setDescription("The time since igmpInterfaceQuerier was last changed.") igmpInterfaceQuerierExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpInterfaceQuerierExpiryTime.setDescription("The amount of time remaining before the Other Querier\nPresent Timer expires. If the local system is the querier,\nthe value of this object is zero.") igmpInterfaceVersion1QuerierTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 9), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpInterfaceVersion1QuerierTimer.setDescription("The time remaining until the host assumes that there are no\nIGMPv1 routers present on the interface. While this is non-\nzero, the host will reply to all queries with version 1\nmembership reports.") igmpInterfaceWrongVersionQueries = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpInterfaceWrongVersionQueries.setDescription("The number of queries received whose IGMP version does not\nmatch igmpInterfaceVersion, over the lifetime of the row\nentry. IGMP requires that all routers on a LAN be\nconfigured to run the same version of IGMP. Thus, if any\nqueries are received with the wrong version, this indicates\na configuration error.") igmpInterfaceJoins = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpInterfaceJoins.setDescription("The number of times a group membership has been added on\nthis interface; that is, the number of times an entry for\nthis interface has been added to the Cache Table. This\nobject gives an indication of the amount of IGMP activity\nover the lifetime of the row entry.") igmpInterfaceProxyIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 12), InterfaceIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpInterfaceProxyIfIndex.setDescription("Some devices implement a form of IGMP proxying whereby\nmemberships learned on the interface represented by this\nrow, cause IGMP Host Membership Reports to be sent on the\ninterface whose ifIndex value is given by this object. Such\na device would implement the igmpV2RouterMIBGroup only on\nits router interfaces (those interfaces with non-zero\nigmpInterfaceProxyIfIndex). Typically, the value of this\nobject is 0, indicating that no proxying is being done.") igmpInterfaceGroups = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpInterfaceGroups.setDescription("The current number of entries for this interface in the\nCache Table.") igmpInterfaceRobustness = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpInterfaceRobustness.setDescription("The Robustness Variable allows tuning for the expected\npacket loss on a subnet. If a subnet is expected to be\nlossy, the Robustness Variable may be increased. IGMP is\nrobust to (Robustness Variable-1) packet losses.") igmpInterfaceLastMembQueryIntvl = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpInterfaceLastMembQueryIntvl.setDescription("The Last Member Query Interval is the Max Response Time\ninserted into Group-Specific Queries sent in response to\nLeave Group messages, and is also the amount of time between\nGroup-Specific Query messages. This value may be tuned to\nmodify the leave latency of the network. A reduced value\nresults in reduced time to detect the loss of the last\nmember of a group. The value of this object is irrelevant\nif igmpInterfaceVersion is 1.") igmpCacheTable = MibTable((1, 3, 6, 1, 2, 1, 85, 1, 2)) if mibBuilder.loadTexts: igmpCacheTable.setDescription("The (conceptual) table listing the IP multicast groups for\nwhich there are members on a particular interface.") igmpCacheEntry = MibTableRow((1, 3, 6, 1, 2, 1, 85, 1, 2, 1)).setIndexNames((0, "IGMP-STD-MIB", "igmpCacheAddress"), (0, "IGMP-STD-MIB", "igmpCacheIfIndex")) if mibBuilder.loadTexts: igmpCacheEntry.setDescription("An entry (conceptual row) in the igmpCacheTable.") igmpCacheAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: igmpCacheAddress.setDescription("The IP multicast group address for which this entry\ncontains information.") igmpCacheIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: igmpCacheIfIndex.setDescription("The interface for which this entry contains information for\nan IP multicast group address.") igmpCacheSelf = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 3), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpCacheSelf.setDescription("An indication of whether the local system is a member of\nthis group address on this interface.") igmpCacheLastReporter = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpCacheLastReporter.setDescription("The IP address of the source of the last membership report\nreceived for this IP Multicast group address on this\ninterface. If no membership report has been received, this\nobject has the value 0.0.0.0.") igmpCacheUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpCacheUpTime.setDescription("The time elapsed since this entry was created.") igmpCacheExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpCacheExpiryTime.setDescription("The minimum amount of time remaining before this entry will\nbe aged out. A value of 0 indicates that the entry is only\npresent because igmpCacheSelf is true and that if the router\nleft the group, this entry would be aged out immediately.\nNote that some implementations may process membership\nreports from the local system in the same way as reports\nfrom other hosts, so a value of 0 is not required.") igmpCacheStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: igmpCacheStatus.setDescription("The status of this entry.") igmpCacheVersion1HostTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 85, 1, 2, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpCacheVersion1HostTimer.setDescription("The time remaining until the local router will assume that\nthere are no longer any IGMP version 1 members on the IP\nsubnet attached to this interface. Upon hearing any IGMPv1\nMembership Report, this value is reset to the group\nmembership timer. While this time remaining is non-zero,\nthe local router ignores any IGMPv2 Leave messages for this\ngroup that it receives on this interface.") igmpMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 85, 2)) igmpMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 85, 2, 1)) igmpMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 85, 2, 2)) # Augmentions # Groups igmpBaseMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 85, 2, 2, 1)).setObjects(*(("IGMP-STD-MIB", "igmpInterfaceStatus"), ("IGMP-STD-MIB", "igmpCacheSelf"), ("IGMP-STD-MIB", "igmpCacheStatus"), ) ) if mibBuilder.loadTexts: igmpBaseMIBGroup.setDescription("The basic collection of objects providing management of\nIGMP version 1 or 2.") igmpRouterMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 85, 2, 2, 2)).setObjects(*(("IGMP-STD-MIB", "igmpInterfaceQuerierExpiryTime"), ("IGMP-STD-MIB", "igmpCacheExpiryTime"), ("IGMP-STD-MIB", "igmpInterfaceQuerierUpTime"), ("IGMP-STD-MIB", "igmpCacheLastReporter"), ("IGMP-STD-MIB", "igmpInterfaceQueryInterval"), ("IGMP-STD-MIB", "igmpCacheUpTime"), ("IGMP-STD-MIB", "igmpInterfaceJoins"), ("IGMP-STD-MIB", "igmpInterfaceGroups"), ) ) if mibBuilder.loadTexts: igmpRouterMIBGroup.setDescription("A collection of additional objects for management of IGMP\nversion 1 or 2 in routers.") igmpV2HostMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 85, 2, 2, 3)).setObjects(*(("IGMP-STD-MIB", "igmpInterfaceVersion1QuerierTimer"), ) ) if mibBuilder.loadTexts: igmpV2HostMIBGroup.setDescription("A collection of additional objects for management of IGMP\nversion 2 in hosts.") igmpHostOptMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 85, 2, 2, 4)).setObjects(*(("IGMP-STD-MIB", "igmpInterfaceQuerier"), ("IGMP-STD-MIB", "igmpCacheLastReporter"), ) ) if mibBuilder.loadTexts: igmpHostOptMIBGroup.setDescription("A collection of optional objects for IGMP hosts.\nSupporting this group can be especially useful in an\nenvironment with a router which does not support the IGMP\nMIB.") igmpV2RouterMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 85, 2, 2, 5)).setObjects(*(("IGMP-STD-MIB", "igmpInterfaceLastMembQueryIntvl"), ("IGMP-STD-MIB", "igmpInterfaceQueryMaxResponseTime"), ("IGMP-STD-MIB", "igmpCacheVersion1HostTimer"), ("IGMP-STD-MIB", "igmpInterfaceWrongVersionQueries"), ("IGMP-STD-MIB", "igmpInterfaceQuerier"), ("IGMP-STD-MIB", "igmpInterfaceVersion"), ("IGMP-STD-MIB", "igmpInterfaceRobustness"), ) ) if mibBuilder.loadTexts: igmpV2RouterMIBGroup.setDescription("A collection of additional objects for management of IGMP\nversion 2 in routers.") igmpV2ProxyMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 85, 2, 2, 6)).setObjects(*(("IGMP-STD-MIB", "igmpInterfaceProxyIfIndex"), ) ) if mibBuilder.loadTexts: igmpV2ProxyMIBGroup.setDescription("A collection of additional objects for management of IGMP\nproxy devices.") # Compliances igmpV1HostMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 85, 2, 1, 1)).setObjects(*(("IGMP-STD-MIB", "igmpBaseMIBGroup"), ) ) if mibBuilder.loadTexts: igmpV1HostMIBCompliance.setDescription("The compliance statement for hosts running IGMPv1 and\nimplementing the IGMP MIB.") igmpV1RouterMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 85, 2, 1, 2)).setObjects(*(("IGMP-STD-MIB", "igmpRouterMIBGroup"), ("IGMP-STD-MIB", "igmpBaseMIBGroup"), ) ) if mibBuilder.loadTexts: igmpV1RouterMIBCompliance.setDescription("The compliance statement for routers running IGMPv1 and\nimplementing the IGMP MIB.") igmpV2HostMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 85, 2, 1, 3)).setObjects(*(("IGMP-STD-MIB", "igmpBaseMIBGroup"), ("IGMP-STD-MIB", "igmpV2HostMIBGroup"), ) ) if mibBuilder.loadTexts: igmpV2HostMIBCompliance.setDescription("The compliance statement for hosts running IGMPv2 and\nimplementing the IGMP MIB.") igmpV2RouterMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 85, 2, 1, 4)).setObjects(*(("IGMP-STD-MIB", "igmpV2RouterMIBGroup"), ("IGMP-STD-MIB", "igmpRouterMIBGroup"), ("IGMP-STD-MIB", "igmpBaseMIBGroup"), ) ) if mibBuilder.loadTexts: igmpV2RouterMIBCompliance.setDescription("The compliance statement for routers running IGMPv2 and\nimplementing the IGMP MIB.") # Exports # Module identity mibBuilder.exportSymbols("IGMP-STD-MIB", PYSNMP_MODULE_ID=igmpStdMIB) # Objects mibBuilder.exportSymbols("IGMP-STD-MIB", igmpStdMIB=igmpStdMIB, igmpMIBObjects=igmpMIBObjects, igmpInterfaceTable=igmpInterfaceTable, igmpInterfaceEntry=igmpInterfaceEntry, igmpInterfaceIfIndex=igmpInterfaceIfIndex, igmpInterfaceQueryInterval=igmpInterfaceQueryInterval, igmpInterfaceStatus=igmpInterfaceStatus, igmpInterfaceVersion=igmpInterfaceVersion, igmpInterfaceQuerier=igmpInterfaceQuerier, igmpInterfaceQueryMaxResponseTime=igmpInterfaceQueryMaxResponseTime, igmpInterfaceQuerierUpTime=igmpInterfaceQuerierUpTime, igmpInterfaceQuerierExpiryTime=igmpInterfaceQuerierExpiryTime, igmpInterfaceVersion1QuerierTimer=igmpInterfaceVersion1QuerierTimer, igmpInterfaceWrongVersionQueries=igmpInterfaceWrongVersionQueries, igmpInterfaceJoins=igmpInterfaceJoins, igmpInterfaceProxyIfIndex=igmpInterfaceProxyIfIndex, igmpInterfaceGroups=igmpInterfaceGroups, igmpInterfaceRobustness=igmpInterfaceRobustness, igmpInterfaceLastMembQueryIntvl=igmpInterfaceLastMembQueryIntvl, igmpCacheTable=igmpCacheTable, igmpCacheEntry=igmpCacheEntry, igmpCacheAddress=igmpCacheAddress, igmpCacheIfIndex=igmpCacheIfIndex, igmpCacheSelf=igmpCacheSelf, igmpCacheLastReporter=igmpCacheLastReporter, igmpCacheUpTime=igmpCacheUpTime, igmpCacheExpiryTime=igmpCacheExpiryTime, igmpCacheStatus=igmpCacheStatus, igmpCacheVersion1HostTimer=igmpCacheVersion1HostTimer, igmpMIBConformance=igmpMIBConformance, igmpMIBCompliances=igmpMIBCompliances, igmpMIBGroups=igmpMIBGroups) # Groups mibBuilder.exportSymbols("IGMP-STD-MIB", igmpBaseMIBGroup=igmpBaseMIBGroup, igmpRouterMIBGroup=igmpRouterMIBGroup, igmpV2HostMIBGroup=igmpV2HostMIBGroup, igmpHostOptMIBGroup=igmpHostOptMIBGroup, igmpV2RouterMIBGroup=igmpV2RouterMIBGroup, igmpV2ProxyMIBGroup=igmpV2ProxyMIBGroup) # Compliances mibBuilder.exportSymbols("IGMP-STD-MIB", igmpV1HostMIBCompliance=igmpV1HostMIBCompliance, igmpV1RouterMIBCompliance=igmpV1RouterMIBCompliance, igmpV2HostMIBCompliance=igmpV2HostMIBCompliance, igmpV2RouterMIBCompliance=igmpV2RouterMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SCTP-MIB.py0000644000014400001440000012036511736645137020216 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SCTP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:36 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "TruthValue") # Objects sctpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 104)).setRevisions(("2004-09-02 00:00",)) if mibBuilder.loadTexts: sctpMIB.setOrganization("IETF SIGTRAN Working Group") if mibBuilder.loadTexts: sctpMIB.setContactInfo("\nWG EMail: sigtran@ietf.org\n\nWeb Page:\n http://www.ietf.org/html.charters/sigtran-charter.html\n\nChair: Lyndon Ong\n Ciena Corporation\n 0480 Ridgeview Drive\n Cupertino, CA 95014\n USA\n Tel:\n Email: lyong@ciena.com\n\nEditors: Maria-Carmen Belinchon\n R&D Department\n Ericsson Espana S. A.\n Via de los Poblados, 13\n 28033 Madrid\n Spain\n Tel: +34 91 339 3535\n Email: Maria.C.Belinchon@ericsson.com\n\n Jose-Javier Pastor-Balbas\n R&D Department\n Ericsson Espana S. A.\n Via de los Poblados, 13\n 28033 Madrid\n Spain\n Tel: +34 91 339 1397\n Email: J.Javier.Pastor@ericsson.com") if mibBuilder.loadTexts: sctpMIB.setDescription("The MIB module for managing SCTP implementations.\n\nCopyright (C) The Internet Society (2004). This version of\nthis MIB module is part of RFC 3873; see the RFC itself for\nfull legal notices. ") sctpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 104, 1)) sctpStats = MibIdentifier((1, 3, 6, 1, 2, 1, 104, 1, 1)) sctpCurrEstab = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpCurrEstab.setDescription("The number of associations for which the current state is\neither ESTABLISHED, SHUTDOWN-RECEIVED or SHUTDOWN-PENDING.") sctpActiveEstabs = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpActiveEstabs.setDescription("The number of times that associations have made a direct\ntransition to the ESTABLISHED state from the COOKIE-ECHOED\nstate: COOKIE-ECHOED -> ESTABLISHED. The upper layer initiated\nthe association attempt.") sctpPassiveEstabs = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpPassiveEstabs.setDescription("The number of times that associations have made a direct\ntransition to the ESTABLISHED state from the CLOSED state:\nCLOSED -> ESTABLISHED. The remote endpoint initiated the\nassociation attempt.") sctpAborteds = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAborteds.setDescription("The number of times that associations have made a direct\ntransition to the CLOSED state from any state using the\nprimitive 'ABORT': AnyState --Abort--> CLOSED. Ungraceful\ntermination of the association.") sctpShutdowns = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpShutdowns.setDescription("The number of times that associations have made a direct\ntransition to the CLOSED state from either the SHUTDOWN-SENT\nstate or the SHUTDOWN-ACK-SENT state. Graceful termination of\nthe association.") sctpOutOfBlues = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpOutOfBlues.setDescription("The number of out of the blue packets received by the host.\nAn out of the blue packet is an SCTP packet correctly formed,\nincluding the proper checksum, but for which the receiver was\nunable to identify an appropriate association.") sctpChecksumErrors = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpChecksumErrors.setDescription("The number of SCTP packets received with an invalid\nchecksum.") sctpOutCtrlChunks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpOutCtrlChunks.setDescription("The number of SCTP control chunks sent (retransmissions are\nnot included). Control chunks are those chunks different from\nDATA.") sctpOutOrderChunks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpOutOrderChunks.setDescription("The number of SCTP ordered data chunks sent (retransmissions\nare not included).") sctpOutUnorderChunks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpOutUnorderChunks.setDescription("The number of SCTP unordered chunks (data chunks in which the\nU bit is set to 1) sent (retransmissions are not included).") sctpInCtrlChunks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpInCtrlChunks.setDescription("The number of SCTP control chunks received (no duplicate\nchunks included).") sctpInOrderChunks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpInOrderChunks.setDescription("The number of SCTP ordered data chunks received (no duplicate\nchunks included).") sctpInUnorderChunks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpInUnorderChunks.setDescription("The number of SCTP unordered chunks (data chunks in which the\nU bit is set to 1) received (no duplicate chunks included).") sctpFragUsrMsgs = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpFragUsrMsgs.setDescription("The number of user messages that have to be fragmented\nbecause of the MTU.") sctpReasmUsrMsgs = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpReasmUsrMsgs.setDescription("The number of user messages reassembled, after conversion\ninto DATA chunks.") sctpOutSCTPPacks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpOutSCTPPacks.setDescription("The number of SCTP packets sent. Retransmitted DATA chunks\nare included.") sctpInSCTPPacks = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpInSCTPPacks.setDescription("The number of SCTP packets received. Duplicates are\nincluded.") sctpDiscontinuityTime = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 1, 18), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany one or more of this general statistics counters suffered a\ndiscontinuity. The relevant counters are the specific\ninstances associated with this interface of any Counter32 or\nCounter64 object contained in the SCTP layer statistics\n(defined below sctpStats branch). If no such discontinuities\nhave occurred since the last re-initialization of the local\nmanagement subsystem, then this object contains a zero value.") sctpParams = MibIdentifier((1, 3, 6, 1, 2, 1, 104, 1, 2)) sctpRtoAlgorithm = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 2, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("other", 1), ("vanj", 2), )).clone(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpRtoAlgorithm.setDescription("The algorithm used to determine the timeout value (T3-rtx)\nused for re-transmitting unacknowledged chunks.") sctpRtoMin = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 2, 2), Unsigned32().clone(1000)).setMaxAccess("readonly").setUnits("milliseconds") if mibBuilder.loadTexts: sctpRtoMin.setDescription("The minimum value permitted by a SCTP implementation for the\nretransmission timeout value, measured in milliseconds. More\nrefined semantics for objects of this type depend upon the\nalgorithm used to determine the retransmission timeout value.\n\nA retransmission time value of zero means immediate\nretransmission.\n\nThe value of this object has to be lower than or equal to\nstcpRtoMax's value.") sctpRtoMax = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 2, 3), Unsigned32().clone(60000)).setMaxAccess("readonly").setUnits("milliseconds") if mibBuilder.loadTexts: sctpRtoMax.setDescription("The maximum value permitted by a SCTP implementation for the\nretransmission timeout value, measured in milliseconds. More\nrefined semantics for objects of this type depend upon the\nalgorithm used to determine the retransmission timeout value.\n\nA retransmission time value of zero means immediate re-\ntransmission.\n\n\n\n\n\nThe value of this object has to be greater than or equal to\nstcpRtoMin's value.") sctpRtoInitial = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 2, 4), Unsigned32().clone(3000)).setMaxAccess("readonly").setUnits("milliseconds") if mibBuilder.loadTexts: sctpRtoInitial.setDescription("The initial value for the retransmission timer.\n\nA retransmission time value of zero means immediate re-\ntransmission.") sctpMaxAssocs = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpMaxAssocs.setDescription("The limit on the total number of associations the entity can\nsupport. In entities where the maximum number of associations\nis dynamic, this object should contain the value -1.") sctpValCookieLife = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 2, 6), Unsigned32().clone(60000)).setMaxAccess("readonly").setUnits("milliseconds") if mibBuilder.loadTexts: sctpValCookieLife.setDescription("Valid cookie life in the 4-way start-up handshake procedure.") sctpMaxInitRetr = MibScalar((1, 3, 6, 1, 2, 1, 104, 1, 2, 7), Unsigned32().clone(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpMaxInitRetr.setDescription("The maximum number of retransmissions at the start-up phase\n(INIT and COOKIE ECHO chunks). ") sctpAssocTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 3)) if mibBuilder.loadTexts: sctpAssocTable.setDescription("A table containing SCTP association-specific information.") sctpAssocEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 3, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocId")) if mibBuilder.loadTexts: sctpAssocEntry.setDescription("General common variables and statistics for the whole\nassociation.") sctpAssocId = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sctpAssocId.setDescription("Association Identification. Value identifying the\nassociation. ") sctpAssocRemHostName = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemHostName.setDescription("The peer's DNS name. This object needs to have the same\nformat as the encoding in the DNS protocol. This implies that\nthe domain name can be up to 255 octets long, each octet being\n0<=x<=255 as value with US-ASCII A-Z having a case insensitive\nmatching.\n\nIf no DNS domain name was received from the peer at init time\n(embedded in the INIT or INIT-ACK chunk), this object is\nmeaningless. In such cases the object MUST contain a zero-\nlength string value. Otherwise, it contains the remote host\nname received at init time.") sctpAssocLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 3), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocLocalPort.setDescription("The local SCTP port number used for this association.") sctpAssocRemPort = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 4), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemPort.setDescription("The remote SCTP port number used for this association.") sctpAssocRemPrimAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemPrimAddrType.setDescription("The internet type of primary remote IP address. ") sctpAssocRemPrimAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 6), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemPrimAddr.setDescription("The primary remote IP address. The type of this address is\ndetermined by the value of sctpAssocRemPrimAddrType.\n\nThe client side will know this value after INIT_ACK message\nreception, the server side will know this value when sending\nINIT_ACK message. However, values will be filled in at\nestablished(4) state.") sctpAssocHeartBeatInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 7), Unsigned32().clone(30000)).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocHeartBeatInterval.setDescription("The current heartbeat interval..\n\nZero value means no HeartBeat, even when the concerned\nsctpAssocRemAddrHBFlag object is true.") sctpAssocState = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(5,4,2,6,9,1,8,7,3,)).subtype(namedValues=NamedValues(("closed", 1), ("cookieWait", 2), ("cookieEchoed", 3), ("established", 4), ("shutdownPending", 5), ("shutdownSent", 6), ("shutdownReceived", 7), ("shutdownAckSent", 8), ("deleteTCB", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sctpAssocState.setDescription("The state of this SCTP association.\n\nAs in TCP, deleteTCB(9) is the only value that may be set by a\nmanagement station. If any other value is received, then the\nagent must return a wrongValue error.\n\nIf a management station sets this object to the value\ndeleteTCB(9), then this has the effect of deleting the TCB (as\ndefined in SCTP) of the corresponding association on the\nmanaged node, resulting in immediate termination of the\nassociation.\n\nAs an implementation-specific option, an ABORT chunk may be\nsent from the managed node to the other SCTP endpoint as a\nresult of setting the deleteTCB(9) value. The ABORT chunk\nimplies an ungraceful association shutdown.") sctpAssocInStreams = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocInStreams.setDescription("Inbound Streams according to the negotiation at association\nstart up.") sctpAssocOutStreams = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocOutStreams.setDescription("Outbound Streams according to the negotiation at association\nstart up. ") sctpAssocMaxRetr = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 11), Unsigned32().clone(10)).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocMaxRetr.setDescription("The maximum number of data retransmissions in the association\ncontext. This value is specific for each association and the\nupper layer can change it by calling the appropriate\nprimitives. This value has to be smaller than the addition of\nall the maximum number for all the paths\n(sctpAssocRemAddrMaxPathRtx).\n\n\n\nA value of zero value means no retransmissions.") sctpAssocPrimProcess = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocPrimProcess.setDescription("This object identifies the system level process which holds\nprimary responsibility for the SCTP association.\nWherever possible, this should be the system's native unique\nidentification number. The special value 0 can be used to\nindicate that no primary process is known.\n\nNote that the value of this object can be used as a pointer\ninto the swRunTable of the HOST-RESOURCES-MIB(if the value is\nsmaller than 2147483647) or into the sysApplElmtRunTable of\nthe SYSAPPL-MIB.") sctpAssocT1expireds = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocT1expireds.setDescription("The T1 timer determines how long to wait for an\nacknowledgement after sending an INIT or COOKIE-ECHO chunk.\nThis object reflects the number of times the T1 timer expires\nwithout having received the acknowledgement.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of sctpAssocDiscontinuityTime.") sctpAssocT2expireds = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocT2expireds.setDescription("The T2 timer determines how long to wait for an\nacknowledgement after sending a SHUTDOWN or SHUTDOWN-ACK\nchunk. This object reflects the number of times that T2- timer\nexpired.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of sctpAssocDiscontinuityTime.") sctpAssocRtxChunks = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRtxChunks.setDescription("When T3-rtx expires, the DATA chunks that triggered the T3\ntimer will be re-sent according with the retransmissions\nrules. Every DATA chunk that was included in the SCTP packet\nthat triggered the T3-rtx timer must be added to the value of\nthis counter.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of sctpAssocDiscontinuityTime.") sctpAssocStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 16), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocStartTime.setDescription("The value of sysUpTime at the time that the association\nrepresented by this row enters the ESTABLISHED state, i.e.,\nthe sctpAssocState object is set to established(4). The\nvalue of this object will be zero:\n- before the association enters the established(4)\n state, or\n\n\n\n\n- if the established(4) state was entered prior to\n the last re-initialization of the local network management\n subsystem.") sctpAssocDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 3, 1, 17), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany one or more of this SCTP association counters suffered a\ndiscontinuity. The relevant counters are the specific\ninstances associated with this interface of any Counter32 or\nCounter64 object contained in the sctpAssocTable or\nsctpLocalAddrTable or sctpRemAddrTable. If no such\ndiscontinuities have occurred since the last re-initialization\nof the local management subsystem, then this object contains a\nzero value. ") sctpAssocLocalAddrTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 4)) if mibBuilder.loadTexts: sctpAssocLocalAddrTable.setDescription("Expanded table of sctpAssocTable based on the AssocId index.\nThis table shows data related to each local IP address which\nis used by this association.") sctpAssocLocalAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 4, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocId"), (0, "SCTP-MIB", "sctpAssocLocalAddrType"), (0, "SCTP-MIB", "sctpAssocLocalAddr")) if mibBuilder.loadTexts: sctpAssocLocalAddrEntry.setDescription("Local information about the available addresses. There will\nbe an entry for every local IP address defined for this\n\n\n\nassociation.\nImplementors need to be aware that if the size of\nsctpAssocLocalAddr exceeds 114 octets then OIDs of column\ninstances in this table will have more than 128 sub-\nidentifiers and cannot be accessed using SNMPv1, SNMPv2c, or\nSNMPv3.") sctpAssocLocalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 4, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: sctpAssocLocalAddrType.setDescription("Internet type of local IP address used for this association.") sctpAssocLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 4, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: sctpAssocLocalAddr.setDescription("The value of a local IP address available for this\nassociation. The type of this address is determined by the\nvalue of sctpAssocLocalAddrType.") sctpAssocLocalAddrStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 4, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocLocalAddrStartTime.setDescription("The value of sysUpTime at the time that this row was\ncreated.") sctpAssocRemAddrTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 5)) if mibBuilder.loadTexts: sctpAssocRemAddrTable.setDescription("Expanded table of sctpAssocTable based on the AssocId index.\nThis table shows data related to each remote peer IP address\nwhich is used by this association.") sctpAssocRemAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 5, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocId"), (0, "SCTP-MIB", "sctpAssocRemAddrType"), (0, "SCTP-MIB", "sctpAssocRemAddr")) if mibBuilder.loadTexts: sctpAssocRemAddrEntry.setDescription("Information about the most important variables for every\nremote IP address. There will be an entry for every remote IP\naddress defined for this association.\n\nImplementors need to be aware that if the size of\nsctpAssocRemAddr exceeds 114 octets then OIDs of column\ninstances in this table will have more than 128 sub-\nidentifiers and cannot be accessed using SNMPv1, SNMPv2c, or\nSNMPv3.") sctpAssocRemAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: sctpAssocRemAddrType.setDescription("Internet type of a remote IP address available for this\nassociation.") sctpAssocRemAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: sctpAssocRemAddr.setDescription("The value of a remote IP address available for this\nassociation. The type of this address is determined by the\nvalue of sctpAssocLocalAddrType.") sctpAssocRemAddrActive = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemAddrActive.setDescription("This object gives information about the reachability of this\nspecific remote IP address.\n\nWhen the object is set to 'true' (1), the remote IP address is\nunderstood as Active. Active means that the threshold of no\nanswers received from this IP address has not been reached.\n\n\n\n\n\n\nWhen the object is set to 'false' (2), the remote IP address\nis understood as Inactive. Inactive means that either no\nheartbeat or any other message was received from this address,\nreaching the threshold defined by the protocol.") sctpAssocRemAddrHBActive = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemAddrHBActive.setDescription("This object indicates whether the optional Heartbeat check\nassociated to one destination transport address is activated\nor not (value equal to true or false, respectively). ") sctpAssocRemAddrRTO = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemAddrRTO.setDescription("The current Retransmission Timeout. T3-rtx timer as defined\nin the protocol SCTP.") sctpAssocRemAddrMaxPathRtx = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 6), Unsigned32().clone(5)).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemAddrMaxPathRtx.setDescription("Maximum number of DATA chunks retransmissions allowed to a\nremote IP address before it is considered inactive, as defined\nin RFC2960.") sctpAssocRemAddrRtx = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemAddrRtx.setDescription("Number of DATA chunks retransmissions to this specific IP\naddress. When T3-rtx expires, the DATA chunk that triggered\nthe T3 timer will be re-sent according to the retransmissions\nrules. Every DATA chunk that is included in a SCTP packet and\nwas transmitted to this specific IP address before, will be\nincluded in this counter.\n\nDiscontinuities in the value of this counter can occur at re-\ninitialization of the management system, and at other times as\nindicated by the value of sctpAssocDiscontinuityTime.") sctpAssocRemAddrStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 5, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpAssocRemAddrStartTime.setDescription("The value of sysUpTime at the time that this row was\ncreated.") sctpLookupLocalPortTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 6)) if mibBuilder.loadTexts: sctpLookupLocalPortTable.setDescription("With the use of this table, a list of associations which are\n\n\n\nusing the specified local port can be retrieved.") sctpLookupLocalPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 6, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocLocalPort"), (0, "SCTP-MIB", "sctpAssocId")) if mibBuilder.loadTexts: sctpLookupLocalPortEntry.setDescription("This table is indexed by local port and association ID.\nSpecifying a local port, we would get a list of the\nassociations whose local port is the one specified.") sctpLookupLocalPortStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 6, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpLookupLocalPortStartTime.setDescription("The value of sysUpTime at the time that this row was created.\n\nAs the table will be created after the sctpAssocTable\ncreation, this value could be equal to the sctpAssocStartTime\nobject from the main table.") sctpLookupRemPortTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 7)) if mibBuilder.loadTexts: sctpLookupRemPortTable.setDescription("With the use of this table, a list of associations which are\nusing the specified remote port can be got") sctpLookupRemPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 7, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocRemPort"), (0, "SCTP-MIB", "sctpAssocId")) if mibBuilder.loadTexts: sctpLookupRemPortEntry.setDescription("This table is indexed by remote port and association ID.\nSpecifying a remote port we would get a list of the\nassociations whose local port is the one specified ") sctpLookupRemPortStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 7, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpLookupRemPortStartTime.setDescription("The value of sysUpTime at the time that this row was created.\n\nAs the table will be created after the sctpAssocTable\ncreation, this value could be equal to the sctpAssocStartTime\nobject from the main table.") sctpLookupRemHostNameTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 8)) if mibBuilder.loadTexts: sctpLookupRemHostNameTable.setDescription("With the use of this table, a list of associations with that\nparticular host can be retrieved.") sctpLookupRemHostNameEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 8, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocRemHostName"), (0, "SCTP-MIB", "sctpAssocId")) if mibBuilder.loadTexts: sctpLookupRemHostNameEntry.setDescription("This table is indexed by remote host name and association ID.\nSpecifying a host name we would get a list of the associations\nspecifying that host name as the remote one.\n\nImplementors need to be aware that if the size of\nsctpAssocRemHostName exceeds 115 octets then OIDs of column\ninstances in this table will have more than 128 sub-\nidentifiers and cannot be accessed using SNMPv1, SNMPv2c, or\nSNMPv3.") sctpLookupRemHostNameStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 8, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpLookupRemHostNameStartTime.setDescription("The value of sysUpTime at the time that this row was created.\n\nAs the table will be created after the sctpAssocTable\ncreation, this value could be equal to the sctpAssocStartTime\nobject from the main table.") sctpLookupRemPrimIPAddrTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 9)) if mibBuilder.loadTexts: sctpLookupRemPrimIPAddrTable.setDescription("With the use of this table, a list of associations that have\nthe specified IP address as primary within the remote set of\nactive addresses can be retrieved.") sctpLookupRemPrimIPAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 9, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocRemPrimAddrType"), (0, "SCTP-MIB", "sctpAssocRemPrimAddr"), (0, "SCTP-MIB", "sctpAssocId")) if mibBuilder.loadTexts: sctpLookupRemPrimIPAddrEntry.setDescription("This table is indexed by primary address and association ID.\nSpecifying a primary address, we would get a list of the\nassociations that have the specified remote IP address marked\nas primary.\nImplementors need to be aware that if the size of\nsctpAssocRemPrimAddr exceeds 114 octets then OIDs of column\ninstances in this table will have more than 128 sub-\nidentifiers and cannot be accessed using SNMPv1, SNMPv2c, or\nSNMPv3.") sctpLookupRemPrimIPAddrStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 9, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpLookupRemPrimIPAddrStartTime.setDescription("The value of SysUpTime at the time that this row was created.\n\nAs the table will be created after the sctpAssocTable\ncreation, this value could be equal to the sctpAssocStartTime\nobject from the main table.") sctpLookupRemIPAddrTable = MibTable((1, 3, 6, 1, 2, 1, 104, 1, 10)) if mibBuilder.loadTexts: sctpLookupRemIPAddrTable.setDescription("With the use of this table, a list of associations that have\nthe specified IP address as one of the remote ones can be\nretrieved. ") sctpLookupRemIPAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 104, 1, 10, 1)).setIndexNames((0, "SCTP-MIB", "sctpAssocRemAddrType"), (0, "SCTP-MIB", "sctpAssocRemAddr"), (0, "SCTP-MIB", "sctpAssocId")) if mibBuilder.loadTexts: sctpLookupRemIPAddrEntry.setDescription("This table is indexed by a remote IP address and association\nID. Specifying an IP address we would get a list of the\nassociations that have the specified IP address included\nwithin the set of remote IP addresses.") sctpLookupRemIPAddrStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 104, 1, 10, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: sctpLookupRemIPAddrStartTime.setDescription("The value of SysUpTime at the time that this row was created.\n\nAs the table will be created after the sctpAssocTable\ncreation, this value could be equal to the sctpAssocStartTime\nobject from the main table.") sctpMibConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 104, 2)) sctpMibCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 104, 2, 1)) sctpMibGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 104, 2, 2)) # Augmentions # Groups sctpLayerParamsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 104, 2, 2, 1)).setObjects(*(("SCTP-MIB", "sctpMaxAssocs"), ("SCTP-MIB", "sctpValCookieLife"), ("SCTP-MIB", "sctpRtoMin"), ("SCTP-MIB", "sctpMaxInitRetr"), ("SCTP-MIB", "sctpRtoInitial"), ("SCTP-MIB", "sctpRtoAlgorithm"), ("SCTP-MIB", "sctpRtoMax"), ) ) if mibBuilder.loadTexts: sctpLayerParamsGroup.setDescription("Common parameters for the SCTP layer, i.e., for all the\nassociations. They can usually be referred to as configuration\nparameters.") sctpStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 104, 2, 2, 2)).setObjects(*(("SCTP-MIB", "sctpAborteds"), ("SCTP-MIB", "sctpOutUnorderChunks"), ("SCTP-MIB", "sctpDiscontinuityTime"), ("SCTP-MIB", "sctpChecksumErrors"), ("SCTP-MIB", "sctpAssocT1expireds"), ("SCTP-MIB", "sctpOutSCTPPacks"), ("SCTP-MIB", "sctpAssocRtxChunks"), ("SCTP-MIB", "sctpActiveEstabs"), ("SCTP-MIB", "sctpInCtrlChunks"), ("SCTP-MIB", "sctpInOrderChunks"), ("SCTP-MIB", "sctpOutOrderChunks"), ("SCTP-MIB", "sctpInSCTPPacks"), ("SCTP-MIB", "sctpReasmUsrMsgs"), ("SCTP-MIB", "sctpAssocRemAddrRtx"), ("SCTP-MIB", "sctpOutCtrlChunks"), ("SCTP-MIB", "sctpOutOfBlues"), ("SCTP-MIB", "sctpCurrEstab"), ("SCTP-MIB", "sctpPassiveEstabs"), ("SCTP-MIB", "sctpShutdowns"), ("SCTP-MIB", "sctpAssocT2expireds"), ("SCTP-MIB", "sctpFragUsrMsgs"), ("SCTP-MIB", "sctpInUnorderChunks"), ) ) if mibBuilder.loadTexts: sctpStatsGroup.setDescription("Statistics group. It includes the objects to collect state\nchanges in the SCTP protocol local layer and flow control\nstatistics.") sctpPerAssocParamsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 104, 2, 2, 3)).setObjects(*(("SCTP-MIB", "sctpAssocInStreams"), ("SCTP-MIB", "sctpAssocHeartBeatInterval"), ("SCTP-MIB", "sctpAssocRemAddrRTO"), ("SCTP-MIB", "sctpAssocDiscontinuityTime"), ("SCTP-MIB", "sctpAssocRemPrimAddrType"), ("SCTP-MIB", "sctpAssocRemAddrActive"), ("SCTP-MIB", "sctpAssocRemAddrHBActive"), ("SCTP-MIB", "sctpAssocRemAddrMaxPathRtx"), ("SCTP-MIB", "sctpAssocLocalPort"), ("SCTP-MIB", "sctpAssocState"), ("SCTP-MIB", "sctpAssocRemPort"), ("SCTP-MIB", "sctpAssocPrimProcess"), ("SCTP-MIB", "sctpAssocMaxRetr"), ("SCTP-MIB", "sctpAssocLocalAddrStartTime"), ("SCTP-MIB", "sctpAssocStartTime"), ("SCTP-MIB", "sctpAssocRemAddrStartTime"), ("SCTP-MIB", "sctpAssocOutStreams"), ("SCTP-MIB", "sctpAssocRemPrimAddr"), ("SCTP-MIB", "sctpAssocRemHostName"), ) ) if mibBuilder.loadTexts: sctpPerAssocParamsGroup.setDescription("The SCTP group of objects to manage per-association\nparameters. These variables include all the SCTP basic\nfeatures.") sctpPerAssocStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 104, 2, 2, 4)).setObjects(*(("SCTP-MIB", "sctpAssocRemAddrRtx"), ("SCTP-MIB", "sctpAssocT1expireds"), ("SCTP-MIB", "sctpAssocT2expireds"), ("SCTP-MIB", "sctpAssocRtxChunks"), ) ) if mibBuilder.loadTexts: sctpPerAssocStatsGroup.setDescription("Per Association Statistics group. It includes the objects to\ncollect flow control statistics per association.") sctpInverseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 104, 2, 2, 5)).setObjects(*(("SCTP-MIB", "sctpLookupRemHostNameStartTime"), ("SCTP-MIB", "sctpLookupRemIPAddrStartTime"), ("SCTP-MIB", "sctpLookupRemPortStartTime"), ("SCTP-MIB", "sctpLookupLocalPortStartTime"), ("SCTP-MIB", "sctpLookupRemPrimIPAddrStartTime"), ) ) if mibBuilder.loadTexts: sctpInverseGroup.setDescription("Objects used in the inverse lookup tables.") # Compliances sctpMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 104, 2, 1, 1)).setObjects(*(("SCTP-MIB", "sctpLayerParamsGroup"), ("SCTP-MIB", "sctpPerAssocStatsGroup"), ("SCTP-MIB", "sctpPerAssocParamsGroup"), ("SCTP-MIB", "sctpStatsGroup"), ("SCTP-MIB", "sctpInverseGroup"), ) ) if mibBuilder.loadTexts: sctpMibCompliance.setDescription("The compliance statement for SNMP entities which implement\nthis SCTP MIB Module.\n\nThere are a number of INDEX objects that cannot be represented\nin the form of OBJECT clauses in SMIv2, but for which we have\nthe following compliance requirements, expressed in OBJECT\nclause form in this description clause:\n\n-- OBJECT sctpAssocLocalAddrType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- It is only required to have IPv4 and IPv6 addresses without\n-- zone indices.\n-- The address with zone indices is required if an\n-- implementation can connect multiple zones.\n--\n-- OBJECT sctpAssocLocalAddr\n-- SYNTAX InetAddress (SIZE(4|16))\n-- DESCRIPTION\n-- An implementation is only required to support globally\n-- unique IPv4 and IPv6 addresses.\n--\n-- OBJECT sctpAssocRemAddrType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- It is only required to have IPv4 and IPv6 addresses without\n-- zone indices.\n-- The address with zone indices is required if an\n-- implementation can connect multiple zones.\n--\n-- OBJECT sctpAssocRemAddr\n-- SYNTAX InetAddress (SIZE(4|16))\n-- DESCRIPTION\n-- An implementation is only required to support globally\n-- unique IPv4 and IPv6 addresses.\n--") # Exports # Module identity mibBuilder.exportSymbols("SCTP-MIB", PYSNMP_MODULE_ID=sctpMIB) # Objects mibBuilder.exportSymbols("SCTP-MIB", sctpMIB=sctpMIB, sctpObjects=sctpObjects, sctpStats=sctpStats, sctpCurrEstab=sctpCurrEstab, sctpActiveEstabs=sctpActiveEstabs, sctpPassiveEstabs=sctpPassiveEstabs, sctpAborteds=sctpAborteds, sctpShutdowns=sctpShutdowns, sctpOutOfBlues=sctpOutOfBlues, sctpChecksumErrors=sctpChecksumErrors, sctpOutCtrlChunks=sctpOutCtrlChunks, sctpOutOrderChunks=sctpOutOrderChunks, sctpOutUnorderChunks=sctpOutUnorderChunks, sctpInCtrlChunks=sctpInCtrlChunks, sctpInOrderChunks=sctpInOrderChunks, sctpInUnorderChunks=sctpInUnorderChunks, sctpFragUsrMsgs=sctpFragUsrMsgs, sctpReasmUsrMsgs=sctpReasmUsrMsgs, sctpOutSCTPPacks=sctpOutSCTPPacks, sctpInSCTPPacks=sctpInSCTPPacks, sctpDiscontinuityTime=sctpDiscontinuityTime, sctpParams=sctpParams, sctpRtoAlgorithm=sctpRtoAlgorithm, sctpRtoMin=sctpRtoMin, sctpRtoMax=sctpRtoMax, sctpRtoInitial=sctpRtoInitial, sctpMaxAssocs=sctpMaxAssocs, sctpValCookieLife=sctpValCookieLife, sctpMaxInitRetr=sctpMaxInitRetr, sctpAssocTable=sctpAssocTable, sctpAssocEntry=sctpAssocEntry, sctpAssocId=sctpAssocId, sctpAssocRemHostName=sctpAssocRemHostName, sctpAssocLocalPort=sctpAssocLocalPort, sctpAssocRemPort=sctpAssocRemPort, sctpAssocRemPrimAddrType=sctpAssocRemPrimAddrType, sctpAssocRemPrimAddr=sctpAssocRemPrimAddr, sctpAssocHeartBeatInterval=sctpAssocHeartBeatInterval, sctpAssocState=sctpAssocState, sctpAssocInStreams=sctpAssocInStreams, sctpAssocOutStreams=sctpAssocOutStreams, sctpAssocMaxRetr=sctpAssocMaxRetr, sctpAssocPrimProcess=sctpAssocPrimProcess, sctpAssocT1expireds=sctpAssocT1expireds, sctpAssocT2expireds=sctpAssocT2expireds, sctpAssocRtxChunks=sctpAssocRtxChunks, sctpAssocStartTime=sctpAssocStartTime, sctpAssocDiscontinuityTime=sctpAssocDiscontinuityTime, sctpAssocLocalAddrTable=sctpAssocLocalAddrTable, sctpAssocLocalAddrEntry=sctpAssocLocalAddrEntry, sctpAssocLocalAddrType=sctpAssocLocalAddrType, sctpAssocLocalAddr=sctpAssocLocalAddr, sctpAssocLocalAddrStartTime=sctpAssocLocalAddrStartTime, sctpAssocRemAddrTable=sctpAssocRemAddrTable, sctpAssocRemAddrEntry=sctpAssocRemAddrEntry, sctpAssocRemAddrType=sctpAssocRemAddrType, sctpAssocRemAddr=sctpAssocRemAddr, sctpAssocRemAddrActive=sctpAssocRemAddrActive, sctpAssocRemAddrHBActive=sctpAssocRemAddrHBActive, sctpAssocRemAddrRTO=sctpAssocRemAddrRTO, sctpAssocRemAddrMaxPathRtx=sctpAssocRemAddrMaxPathRtx, sctpAssocRemAddrRtx=sctpAssocRemAddrRtx, sctpAssocRemAddrStartTime=sctpAssocRemAddrStartTime, sctpLookupLocalPortTable=sctpLookupLocalPortTable, sctpLookupLocalPortEntry=sctpLookupLocalPortEntry, sctpLookupLocalPortStartTime=sctpLookupLocalPortStartTime, sctpLookupRemPortTable=sctpLookupRemPortTable, sctpLookupRemPortEntry=sctpLookupRemPortEntry, sctpLookupRemPortStartTime=sctpLookupRemPortStartTime, sctpLookupRemHostNameTable=sctpLookupRemHostNameTable, sctpLookupRemHostNameEntry=sctpLookupRemHostNameEntry, sctpLookupRemHostNameStartTime=sctpLookupRemHostNameStartTime, sctpLookupRemPrimIPAddrTable=sctpLookupRemPrimIPAddrTable, sctpLookupRemPrimIPAddrEntry=sctpLookupRemPrimIPAddrEntry, sctpLookupRemPrimIPAddrStartTime=sctpLookupRemPrimIPAddrStartTime, sctpLookupRemIPAddrTable=sctpLookupRemIPAddrTable, sctpLookupRemIPAddrEntry=sctpLookupRemIPAddrEntry, sctpLookupRemIPAddrStartTime=sctpLookupRemIPAddrStartTime, sctpMibConformance=sctpMibConformance, sctpMibCompliances=sctpMibCompliances, sctpMibGroups=sctpMibGroups) # Groups mibBuilder.exportSymbols("SCTP-MIB", sctpLayerParamsGroup=sctpLayerParamsGroup, sctpStatsGroup=sctpStatsGroup, sctpPerAssocParamsGroup=sctpPerAssocParamsGroup, sctpPerAssocStatsGroup=sctpPerAssocStatsGroup, sctpInverseGroup=sctpInverseGroup) # Compliances mibBuilder.exportSymbols("SCTP-MIB", sctpMibCompliance=sctpMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/PerfHist-TC-MIB.py0000644000014400001440000000464711736645137021501 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PerfHist-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:25 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Gauge32, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class PerfCurrentCount(Gauge32): pass class PerfIntervalCount(Gauge32): pass class PerfTotalCount(Gauge32): pass # Objects perfHistTCMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 58)).setRevisions(("2003-08-13 00:00","1998-11-07 11:00",)) if mibBuilder.loadTexts: perfHistTCMIB.setOrganization("IETF AToM MIB WG") if mibBuilder.loadTexts: perfHistTCMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/atommib-charter.html\n\nMailing Lists:\nGeneral Discussion: atommib@research.telcordia.com\nTo Subscribe: atommib-request@research.telcordia.com\n\nEditor: Kaj Tesink\nPostal: Telcordia Technologies\n 331 Newman Springs Road\n Red Bank, NJ 07701\n USA\nTel: +1 732 758 5254\nE-mail: kaj@research.telcordia.com") if mibBuilder.loadTexts: perfHistTCMIB.setDescription("This MIB Module provides Textual Conventions\nto be used by systems supporting 15 minute\nbased performance history counts.\n\nCopyright (C) The Internet Society (2003).\nThis version of this MIB module is part of\nRFC 3593; see the RFC itself for full\nlegal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("PerfHist-TC-MIB", PYSNMP_MODULE_ID=perfHistTCMIB) # Types mibBuilder.exportSymbols("PerfHist-TC-MIB", PerfCurrentCount=PerfCurrentCount, PerfIntervalCount=PerfIntervalCount, PerfTotalCount=PerfTotalCount) # Objects mibBuilder.exportSymbols("PerfHist-TC-MIB", perfHistTCMIB=perfHistTCMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/PARALLEL-MIB.py0000644000014400001440000002233511736645137020637 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PARALLEL-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:25 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") # Objects para = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 34)).setRevisions(("1994-05-26 17:00",)) if mibBuilder.loadTexts: para.setOrganization("IETF Character MIB Working Group") if mibBuilder.loadTexts: para.setContactInfo(" Bob Stewart\nPostal: Xyplex, Inc.\n 295 Foster Street\n Littleton, MA 01460\n\n Tel: 508-952-4816\n Fax: 508-952-4887\nE-mail: rlstewart@eng.xyplex.com") if mibBuilder.loadTexts: para.setDescription("The MIB module for Parallel-printer-like hardware devices.") paraNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 34, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraNumber.setDescription("The number of ports (regardless of their current\nstate) in the Parallel-printer-like port table.") paraPortTable = MibTable((1, 3, 6, 1, 2, 1, 10, 34, 2)) if mibBuilder.loadTexts: paraPortTable.setDescription("A list of port entries. The number of entries is\ngiven by the value of paraNumber.") paraPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 34, 2, 1)).setIndexNames((0, "PARALLEL-MIB", "paraPortIndex")) if mibBuilder.loadTexts: paraPortEntry.setDescription("Status and parameter values for a port.") paraPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 2, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraPortIndex.setDescription("The value of ifIndex for the port. By convention\nand if possible, hardware port numbers map directly\nto external connectors. The value for each port must\nremain constant at least from one re-initialization\nof the network management agent to the next.") paraPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("centronics", 2), ("dataproducts", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: paraPortType.setDescription("The port's hardware type.") paraPortInSigNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraPortInSigNumber.setDescription("The number of input signals for the port in the\ninput signal table (paraPortInSigTable). The table\ncontains entries only for those signals the software\ncan detect and that are useful to observe.") paraPortOutSigNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraPortOutSigNumber.setDescription("The number of output signals for the port in the\noutput signal table (paraPortOutSigTable). The\ntable contains entries only for those signals the\nsoftware can assert and that are useful to observe.") paraInSigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 34, 3)) if mibBuilder.loadTexts: paraInSigTable.setDescription("A list of port input control signal entries.") paraInSigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 34, 3, 1)).setIndexNames((0, "PARALLEL-MIB", "paraInSigPortIndex"), (0, "PARALLEL-MIB", "paraInSigName")) if mibBuilder.loadTexts: paraInSigEntry.setDescription("Input control signal status for a hardware port.") paraInSigPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 3, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraInSigPortIndex.setDescription("The value of paraPortIndex for the port to which\nthis entry belongs.") paraInSigName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,5,4,2,)).subtype(namedValues=NamedValues(("power", 1), ("online", 2), ("busy", 3), ("paperout", 4), ("fault", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: paraInSigName.setDescription("Identification of a hardware signal.") paraInSigState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("on", 2), ("off", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: paraInSigState.setDescription("The current signal state.") paraInSigChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraInSigChanges.setDescription("The number of times the signal has changed from\n'on' to 'off' or from 'off' to 'on'.") paraOutSigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 34, 4)) if mibBuilder.loadTexts: paraOutSigTable.setDescription("A list of port output control signal entries.") paraOutSigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 34, 4, 1)).setIndexNames((0, "PARALLEL-MIB", "paraOutSigPortIndex"), (0, "PARALLEL-MIB", "paraOutSigName")) if mibBuilder.loadTexts: paraOutSigEntry.setDescription("Output control signal status for a hardware port.") paraOutSigPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 4, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraOutSigPortIndex.setDescription("The value of paraPortIndex for the port to which\nthis entry belongs.") paraOutSigName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,5,4,2,)).subtype(namedValues=NamedValues(("power", 1), ("online", 2), ("busy", 3), ("paperout", 4), ("fault", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: paraOutSigName.setDescription("Identification of a hardware signal.") paraOutSigState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("on", 2), ("off", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: paraOutSigState.setDescription("The current signal state.") paraOutSigChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 34, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: paraOutSigChanges.setDescription("The number of times the signal has changed from\n'on' to 'off' or from 'off' to 'on'.") paraConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 34, 5)) paraGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 34, 5, 1)) paraCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 34, 5, 2)) # Augmentions # Groups paraGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 34, 5, 1, 1)).setObjects(*(("PARALLEL-MIB", "paraNumber"), ("PARALLEL-MIB", "paraOutSigChanges"), ("PARALLEL-MIB", "paraInSigState"), ("PARALLEL-MIB", "paraInSigName"), ("PARALLEL-MIB", "paraPortType"), ("PARALLEL-MIB", "paraPortIndex"), ("PARALLEL-MIB", "paraInSigChanges"), ("PARALLEL-MIB", "paraOutSigState"), ("PARALLEL-MIB", "paraPortInSigNumber"), ("PARALLEL-MIB", "paraInSigPortIndex"), ("PARALLEL-MIB", "paraOutSigName"), ("PARALLEL-MIB", "paraPortOutSigNumber"), ("PARALLEL-MIB", "paraOutSigPortIndex"), ) ) if mibBuilder.loadTexts: paraGroup.setDescription("A collection of objects providing information\napplicable to all Parallel-printer-like interfaces.") # Compliances paraCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 34, 5, 2, 1)).setObjects(*(("PARALLEL-MIB", "paraGroup"), ) ) if mibBuilder.loadTexts: paraCompliance.setDescription("The compliance statement for SNMPv2 entities\nwhich have Parallel-printer-like hardware\ninterfaces.") # Exports # Module identity mibBuilder.exportSymbols("PARALLEL-MIB", PYSNMP_MODULE_ID=para) # Objects mibBuilder.exportSymbols("PARALLEL-MIB", para=para, paraNumber=paraNumber, paraPortTable=paraPortTable, paraPortEntry=paraPortEntry, paraPortIndex=paraPortIndex, paraPortType=paraPortType, paraPortInSigNumber=paraPortInSigNumber, paraPortOutSigNumber=paraPortOutSigNumber, paraInSigTable=paraInSigTable, paraInSigEntry=paraInSigEntry, paraInSigPortIndex=paraInSigPortIndex, paraInSigName=paraInSigName, paraInSigState=paraInSigState, paraInSigChanges=paraInSigChanges, paraOutSigTable=paraOutSigTable, paraOutSigEntry=paraOutSigEntry, paraOutSigPortIndex=paraOutSigPortIndex, paraOutSigName=paraOutSigName, paraOutSigState=paraOutSigState, paraOutSigChanges=paraOutSigChanges, paraConformance=paraConformance, paraGroups=paraGroups, paraCompliances=paraCompliances) # Groups mibBuilder.exportSymbols("PARALLEL-MIB", paraGroup=paraGroup) # Compliances mibBuilder.exportSymbols("PARALLEL-MIB", paraCompliance=paraCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MOBILEIPV6-MIB.py0000644000014400001440000036235611736645137021071 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MOBILEIPV6-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:18 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ipv6InterfaceIfIndex, ) = mibBuilder.importSymbols("IP-MIB", "ipv6InterfaceIfIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TextualConvention", "TimeStamp", "TruthValue") # Types class Mip6BURequestRejectionCode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,3,10,11,5,12,9,7,2,6,8,) namedValues = NamedValues(("reasonUnspecified", 1), ("expiredCareofNonceIndex", 10), ("expiredNonces", 11), ("registrationTypeChangeDisallowed", 12), ("admProhibited", 2), ("insufficientResource", 3), ("homeRegistrationNotSupported", 4), ("notHomeSubnet", 5), ("notHomeAgentForThisMobileNode", 6), ("duplicateAddressDetectionFailed", 7), ("sequenceNumberOutOfWindow", 8), ("expiredHomeNonceIndex", 9), ) # Objects mip6MIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 133)).setRevisions(("2006-02-01 00:00",)) if mibBuilder.loadTexts: mip6MIB.setOrganization("IETF mip6 Working Group") if mibBuilder.loadTexts: mip6MIB.setContactInfo(" Glenn Mansfield Keeni\nPostal: Cyber Solutions Inc.\n 6-6-3, Minami Yoshinari\n Aoba-ku, Sendai, Japan 989-3204.\n Tel: +81-22-303-4012\n Fax: +81-22-303-4015\nE-mail: glenn@cysols.com\n\n Kenichi Nagami\nPostal: INTEC NetCore Inc.\n 1-3-3, Shin-suna\n Koto-ku, Tokyo, 135-0075\n Japan\n\n Tel: +81-3-5665-5069\nE-mail: nagami@inetcore.com\n\n Kazuhide Koide\nPostal: Tohoku University\n 2-1-1, Katahira\n Aoba-ku, Sendai, 980-8577\n Japan\n\n Tel: +81-22-217-5454\nE-mail: koide@shiratori.riec.tohoku.ac.jp\n\n\n\n Sri Gundavelli\nPostal: Cisco Systems\n 170 W.Tasman Drive,\n San Jose, CA 95134\n USA\n\n Tel: +1-408-527-6109\nE-mail: sgundave@cisco.com\n\nSupport Group E-mail: mip6@ietf.org") if mibBuilder.loadTexts: mip6MIB.setDescription("The MIB module for monitoring Mobile-IPv6\nentities.\n\nCopyright (C) The Internet Society 2006. This\nversion of this MIB module is part of RFC 4295;\nsee the RFC itself for full legal notices.") mip6Notifications = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 0)) mip6Objects = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1)) mip6Core = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 1)) mip6System = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 1, 1)) mip6Capabilities = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("mobileNode", 0), ("homeAgent", 1), ("correspondentNode", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6Capabilities.setDescription("This object indicates the Mobile IPv6 functions that\nare supported by this managed entity. Multiple\nMobile IPv6 functions may be supported by a single\nentity.") mip6Status = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mip6Status.setDescription("This object indicates whether the Mobile IPv6\nfunction is enabled for the managed entity. If it\nis enabled, the agent discovery and registration\nfunctions will be operational.\nChanging the status from enabled(1) to disabled(2)\nwill terminate the agent discovery and registration\nfunctions. On the other hand, changing the status\nfrom disabled(2) to enabled(1) will start the agent\ndiscovery and registration functions.\n\nThe value of this object SHOULD remain unchanged\nacross reboots of the managed entity.") mip6Bindings = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 1, 2)) mip6BindingCacheTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1)) if mibBuilder.loadTexts: mip6BindingCacheTable.setDescription("This table models the Binding Cache on the\nmanaged entity. The cache is maintained by home\nagents and correspondent nodes. It contains\nboth correspondent registration entries and home\nregistration entries.\n\nEntries in this table are not required to survive\na reboot of the managed entity.") mip6BindingCacheEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1)).setIndexNames((0, "MOBILEIPV6-MIB", "mip6BindingHomeAddressType"), (0, "MOBILEIPV6-MIB", "mip6BindingHomeAddress")) if mibBuilder.loadTexts: mip6BindingCacheEntry.setDescription("This entry represents a conceptual row in the\nbinding cache table. It represents a single Binding\nUpdate.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6BindingHomeAddress\nexceeds 113, then OIDs of column\ninstances in this row will have more than 128\nsub-identifiers and cannot be accessed using\nSNMPv1, SNMPv2c, or SNMPv3.") mip6BindingHomeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6BindingHomeAddressType.setDescription("The InetAddressType of the mip6BindingHomeAddress\nthat follows.") mip6BindingHomeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6BindingHomeAddress.setDescription("The home address of the mobile node corresponding\nto the Binding Cache entry. This field is used as\nthe key for searching the mobile node's current\ncare-of address in the Binding Cache.\n\nThe type of the address represented by this object\nis specified by the corresponding\nmip6BindingHomeAddressType object.") mip6BindingCOAType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingCOAType.setDescription("The InetAddressType of the mip6BindingCOA that\nfollows.") mip6BindingCOA = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingCOA.setDescription("The care-of address of the mobile node indicated by\nthe home address field (mip6BindingHomeAddress) in\nthis Binding Cache entry.\n\nThe type of the address represented by this object\nis specified by the corresponding mip6BindingCOAType\nobject.") mip6BindingTimeRegistered = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingTimeRegistered.setDescription("The timestamp when this Binding Cache entry was\ncreated.") mip6BindingTimeGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingTimeGranted.setDescription("The lifetime in seconds granted to the mobile node\nfor this registration.") mip6BindingTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingTimeRemaining.setDescription("The lifetime in seconds remaining for this\nregistration.") mip6BindingHomeRegn = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHomeRegn.setDescription("This object indicates whether or not this Binding\nCache entry is a home registration entry (applicable\nonly on nodes that support home agent\nfunctionality).") mip6BindingMaxSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingMaxSeq.setDescription("The maximum value of the Sequence Number field\nreceived in previous Binding Updates for this home\naddress (mip6BindingHomeAddress).") mip6BindingUsageTS = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 10), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingUsageTS.setDescription("The timestamp when this entry was last looked up.") mip6BindingUsageCount = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingUsageCount.setDescription("The number of times this entry was looked up.") mip6BindingAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mip6BindingAdminStatus.setDescription("This is an administrative object used to control\nthe status of a binding cache entry. By default\nthe value will be 'active'(1).\nA value of 'inactive'(2) will indicate that the\nvalidity of the entry is suspended. It does not\nexist in the binding cache for all practical\npurposes.\nThe state can be changed from 'active' to\n'inactive' by operator intervention.\nCausing the state to change to 'inactive' results\nin the entry being deleted from the cache.\nAttempts to change the status from 'inactive'\nto 'active' will be rejected.") mip6BindingHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2)) if mibBuilder.loadTexts: mip6BindingHistoryTable.setDescription("A table containing a record of the bindings.") mip6BindingHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1)).setIndexNames((0, "MOBILEIPV6-MIB", "mip6BindingHstHomeAddressType"), (0, "MOBILEIPV6-MIB", "mip6BindingHstHomeAddress"), (0, "MOBILEIPV6-MIB", "mip6BindingHstIndex")) if mibBuilder.loadTexts: mip6BindingHistoryEntry.setDescription("The record of a binding.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6BindingHstHomeAddress\nexceeds 112, then OIDs of column\ninstances in this row will have more than 128\nsub-identifiers and cannot be accessed using\nSNMPv1, SNMPv2c, or SNMPv3.") mip6BindingHstHomeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6BindingHstHomeAddressType.setDescription("The InetAddressType of the\nmip6BindingHstHomeAddress that follows.") mip6BindingHstHomeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6BindingHstHomeAddress.setDescription("Mobile node's home address.\n\nThe type of the address represented by this object\nis specified by the corresponding\nmip6BindingHstHomeAddressType object.") mip6BindingHstIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6BindingHstIndex.setDescription("The index to uniquely identify this record along\nwith the mobile node's HomeAddress type and\nHomeAddress. It should be monotonically increasing.\nIt may wrap after reaching its max value.") mip6BindingHstCOAType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHstCOAType.setDescription("The InetAddressType of the mip6BindingHstCOA that\nfollows.") mip6BindingHstCOA = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHstCOA.setDescription("Mobile node's care-of address. One mobile node can\nhave multiple bindings with different\ncare-of addresses.\nThe type of the address represented by this object\nis specified by the corresponding\nmip6BindingHstCOAType object.") mip6BindingHstTimeRegistered = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 6), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHstTimeRegistered.setDescription("The timestamp when this Binding Cache entry was\ncreated.") mip6BindingHstTimeExpired = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 7), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHstTimeExpired.setDescription("The timestamp when this Binding Cache entry expired.") mip6BindingHstHomeRegn = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHstHomeRegn.setDescription("This object indicates whether or not this Binding\nCache entry is a home registration entry (applicable\nonly on nodes that support home agent\nfunctionality).") mip6BindingHstUsageTS = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 9), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHstUsageTS.setDescription("The timestamp when this entry was last looked up.") mip6BindingHstUsageCount = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 2, 2, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6BindingHstUsageCount.setDescription("The number of times this entry was looked up.") mip6Stats = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 1, 3)) mip6TotalTraffic = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1)) mip6InOctets = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6InOctets.setDescription("The total number of octets in the MIPv6 datagrams\nreceived by the MIPv6 entity. This will include\ndatagrams with the Mobility Header, the Home Address\noption in the Destination Option extension header\n(Next Header value = 60), or the type 2 Routing\nHeader. It will also include the IPv6 datagrams that\nare reverse tunneled to a home agent from a mobile\nnode's home address.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HCInOctets = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCInOctets.setDescription("The total number of octets in the MIPv6 datagrams\nreceived by the MIPv6 entity. This will include\ndatagrams with the Mobility Header, the Home Address\noption in the Destination Option extension header\n(Next Header value = 60), or the type 2 Routing\nHeader. It will also include the IPv6 datagrams that\nare reverse tunneled to a home agent from a mobile\nnode's home address.\nThis object is a 64-bit version of mip6InOctets.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6InPkts = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6InPkts.setDescription("The number of MIPv6 datagrams received by the MIPv6\nentity. This will include datagrams with the\nMobility Header, the Home Address option in the\nDestination Option extension header (Next Header\nvalue = 60), or the type 2 Routing Header.\nIt will also include the IPv6 datagrams that are\nreverse tunneled to a home agent from a mobile\nnode's home address.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HCInPkts = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCInPkts.setDescription("The number of MIPv6 datagrams received by the MIPv6\nentity. This will include datagrams with the\nMobility Header, the Home Address option in the\nDestination Option extension header (Next Header\nvalue = 60), or the type 2 Routing Header. It will\nalso include the IPv6 datagrams that are reverse\ntunneled to a home agent from a mobile node's home\naddress.\nThis object is a 64-bit version of mip6InPkts.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6OutOctets = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6OutOctets.setDescription("The total number of octets in the MIPv6 datagrams\nsent by the MIPv6 entity. This will include\ndatagrams with the Mobility Header, the Home Address\noption in the Destination Option extension header\n(Next Header value = 60), or the type 2 Routing\nHeader. It will also include the IPv6 datagrams that\nare reverse tunneled to a home agent from a mobile\nnode's home address.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HCOutOctets = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCOutOctets.setDescription("The total number of octets in the MIPv6 datagrams\nsent by the MIPv6 entity. This will include\ndatagrams with the Mobility Header, the Home Address\noption in the Destination Option extension header\n(Next Header value = 60), or the type 2 Routing\nHeader. It will also include the IPv6 datagrams that\nare reverse tunneled to a home agent from a mobile\nnode's home address.\nThis object is a 64-bit version of mip6OutOctets.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6OutPkts = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6OutPkts.setDescription("The number of MIPv6 datagrams sent by the MIPv6\nentity. This will include the datagrams with\nMobility Header, the Home Address option in the\nDestination Option extension header (Next Header\nvalue = 60), or the type 2 Routing Header. It will\nalso include the IPv6 datagrams that are reverse\ntunneled to a home agent from a mobile node's home\naddress.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HCOutPkts = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCOutPkts.setDescription("The number of MIPv6 datagrams sent by the MIPv6\nentity. This will include datagrams with the\nMobility Header, the Home Address option in the\nDestination Option extension header (Next Header\nvalue = 60), or the type 2 Routing Header. It will\nalso include the IPv6 datagrams that are reverse\ntunneled to a home agent from a mobile node's home\naddress.\nThis object is a 64-bit version of mip6OutPkts.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CounterDiscontinuityTime = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CounterDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of this MIPv6 entities\nglobal counters, viz., counters with OID prefix\n'mip6TotalTraffic' or 'mip6CnGlobalStats' or\n'mip6HaGlobalStats' suffered a discontinuity.\nIf no such discontinuities have occurred since the\nlast re-initialization of the local management\nsubsystem, then this object will have a zero value.") mip6NodeTrafficTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2)) if mibBuilder.loadTexts: mip6NodeTrafficTable.setDescription("A table containing MIPv6 traffic counters per mobile\nnode.") mip6NodeTrafficEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1)).setIndexNames((0, "MOBILEIPV6-MIB", "mip6BindingHomeAddressType"), (0, "MOBILEIPV6-MIB", "mip6BindingHomeAddress")) if mibBuilder.loadTexts: mip6NodeTrafficEntry.setDescription("The MIPv6 traffic statistics for a mobile node.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6BindingHomeAddress\nexceeds 113, then OIDs of column\ninstances in this row will have more than 128\nsub-identifiers and cannot be accessed using\nSNMPv1, SNMPv2c, or SNMPv3.") mip6NodeInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6NodeInOctets.setDescription("The total number of octets in the MIPv6 datagrams\nreceived from the mobile node by the MIPv6 entity.\nThis will include datagrams with the Mobility\nHeader or the Home Address option in the Destination\nOption extension header (Next Header value = 60).\nIt will also include the IPv6 datagrams that are\nreverse tunneled to a home agent from the mobile\nnode's home address.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6HCNodeInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCNodeInOctets.setDescription("The total number of octets in the MIPv6 datagrams\nreceived from the mobile node by the MIPv6 entity.\nThis will include datagrams with the Mobility\nHeader or the Home Address option in the Destination\nOption extension header (Next Header value = 60).\nIt will also include the IPv6 datagrams that are\nreverse tunneled to a home agent from the mobile\nnode's home address.\nThis object is a 64-bit version of mip6NodeInOctets.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6NodeInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6NodeInPkts.setDescription("The number of MIPv6 datagrams received from the\nmobile node by the MIPv6 entity. This will include\nthe datagrams with the Mobility Header or\nthe Home Address option in the Destination\nOption extension header (Next Header value = 60).\nIt will also include the IPv6 datagrams that are\nreverse tunneled to a home agent from the mobile\nnode's home address.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6HCNodeInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCNodeInPkts.setDescription("The number of MIPv6 datagrams received from the\nmobile node by the MIPv6 entity. This will include\ndatagrams with the Mobility Header or the Home\nAddress option in the Destination Option extension\nheader (Next Header value = 60). It will also\ninclude the IPv6 datagrams that are reverse tunneled\nto a home agent from the mobile node's home address.\nThis object is a 64-bit version of mip6NodeInPkts.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6NodeOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6NodeOutOctets.setDescription("The total number of octets in the MIPv6 datagrams\nsent to the mobile node by the MIPv6 entity. This\nwill include datagrams with the Mobility Header\nor the type 2 Routing Header. It will also include\nthe IPv6 datagrams that are tunneled by a home agent\nto the mobile node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6HCNodeOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCNodeOutOctets.setDescription("The total number of octets in the MIPv6 datagrams\nsent to the mobile node by the MIPv6 entity. This\nwill include datagrams with the Mobility Header\nor the type 2 Routing Header. It will also include\nthe IPv6 datagrams that are tunneled by a home agent\nto the mobile node.\nThis object is a 64-bit version of mip6NodeOutOctets.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6NodeOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6NodeOutPkts.setDescription("The number of MIPv6 datagrams sent to the mobile\nnode by the MIPv6 entity. This will include\ndatagrams with the Mobility Header or the type 2\nRouting Header. It will also include the IPv6\ndatagrams that are tunneled by a home agent to the\nmobile node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6HCNodeOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HCNodeOutPkts.setDescription("The number of MIPv6 datagrams sent to the mobile\nnode by the MIPv6 entity. This will include\ndatagrams with the Mobility Header or the type 2\nRouting Header. It will also include the IPv6\ndatagrams that are tunneled by a home agent to the\nmobile node.\nThis object is a 64-bit version of mip6NodeOutOctets.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6NodeCtrDiscontinuityTime.") mip6NodeCtrDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 1, 3, 2, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6NodeCtrDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of the counters in this row\nsuffered a discontinuity. The relevant counters are\nthe specific instances of any Counter32 or Counter64\nobjects in this row.\nIf no such discontinuities have occurred since the\nlast re-initialization of the local management\nsubsystem, then this object contains a zero value.") mip6Mn = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 2)) mip6MnSystem = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 2, 1)) mip6MnHomeAddressTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 2, 1, 1)) if mibBuilder.loadTexts: mip6MnHomeAddressTable.setDescription("A table containing registration status for all the\nhome addresses pertaining to the mobile node.") mip6MnHomeAddressEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 2, 1, 1, 1)).setIndexNames((0, "MOBILEIPV6-MIB", "mip6MnHomeAddressType"), (0, "MOBILEIPV6-MIB", "mip6MnHomeAddress")) if mibBuilder.loadTexts: mip6MnHomeAddressEntry.setDescription("The registration status for a home address.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6MnHomeAddress\nexceeds 113, then OIDs of column instances in\nthis row will have more than 128 sub-identifiers and\ncannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") mip6MnHomeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 1, 1, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6MnHomeAddressType.setDescription("The InetAddressType of the mip6MnHomeAddress that\nfollows.") mip6MnHomeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 1, 1, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6MnHomeAddress.setDescription("A unicast routable address assigned to the mobile\nnode. This is used as the 'permanent address' of the\nmobile node in the sense that it remains unchanged\nregardless of the mobile node's current point of\nattachment. If mobile node doesn't have a home\naddress assigned yet, then this object will take the\ndefault 'unspecified' value ::0.\n\nThe type of the address represented by this object\nis specified by the corresponding\nmip6MnHomeAddressType object.") mip6MnHomeAddressState = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,5,2,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("home", 2), ("registered", 3), ("pending", 4), ("isolated", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnHomeAddressState.setDescription("This object indicates the state of the mobile node:\nunknown -- The state of the mobile node\n cannot be determined.\nhome -- mobile node is on the home network.\nregistered -- mobile node is on a foreign network\n and is registered with the home\n agent.\npending -- mobile node has sent registration\n request to the home agent and is\n waiting for the reply.\nisolated -- mobile node is isolated from network,\n i.e., it is not in its home network,\n it is not registered, and no\n registration ack is pending.") mip6MnConf = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 2, 2)) mip6MnDiscoveryRequests = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnDiscoveryRequests.setDescription("Total number of ICMP Dynamic Home Agent Address\nDiscovery Requests sent by the mobile node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnDiscoveryReplies = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnDiscoveryReplies.setDescription("Total number of ICMP Dynamic Home Agent Address\nDiscovery Replies received by the mobile node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnDiscoveryTimeouts = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnDiscoveryTimeouts.setDescription("Total number of ICMP Dynamic Home Agent Address\nDiscovery Requests that timed out.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnPrefixSolicitationsSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnPrefixSolicitationsSent.setDescription("Total number of ICMP Mobile Prefix Solicitations\nsent by the mobile node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnPrefixAdvsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnPrefixAdvsRecd.setDescription("Total number of ICMP Mobile Prefix Advertisements\nreceived by the mobile node. This will include the\nICMP Mobile Prefix Advertisements that failed the\nvalidity checks.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnPrefixAdvsIgnored = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnPrefixAdvsIgnored.setDescription("Total number of Mobile Prefix Advertisements\ndiscarded by the validity check.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnMovedToFN = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnMovedToFN.setDescription("Number of times the mobile node has detected\nmovement to a foreign network from another\nforeign network or from the home network, has\nreconstructed its care-of address and has initiated\nthe care-of address registration process.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnMovedToHN = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnMovedToHN.setDescription("Number of times the mobile node has detected\nmovement from a foreign network to its home\nnetwork.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnRegistration = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 2, 3)) mip6MnBLTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1)) if mibBuilder.loadTexts: mip6MnBLTable.setDescription("This table corresponds to the Binding Update List\n(BL) that is maintained by the mobile node. The list\nholds an item for every binding that the mobile node\nhas established or is trying to establish. Both\ncorrespondent and home registrations are included in\nthis table. Entries from the table are deleted as\nthe lifetime of the binding expires.") mip6MnBLEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1)).setIndexNames((0, "MOBILEIPV6-MIB", "mip6MnHomeAddressType"), (0, "MOBILEIPV6-MIB", "mip6MnHomeAddress"), (0, "MOBILEIPV6-MIB", "mip6MnBLNodeAddressType"), (0, "MOBILEIPV6-MIB", "mip6MnBLNodeAddress")) if mibBuilder.loadTexts: mip6MnBLEntry.setDescription("Information about a Binding Update sent by the\nmobile node either to its home agent or to one of\nits correspondent nodes.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6MnHomeAddress and\nmip6MnBLNodeAddress exceeds 111, then OIDs of column\ninstances in this row will have more than 128\nsub-identifiers and cannot be accessed using\nSNMPv1, SNMPv2c, or SNMPv3.") mip6MnBLNodeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6MnBLNodeAddressType.setDescription("The InetAddressType of the mip6MnBLNodeAddress\nthat follows.") mip6MnBLNodeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6MnBLNodeAddress.setDescription("The address of the agent as used in the destination\naddress of the Binding Update. The agent\nmay be a home agent or a correspondent node.\n\nThe type of the address represented by this object\nis specified by the corresponding\nmip6MnBLNodeAddressType object.") mip6MnBLCOAType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLCOAType.setDescription("The InetAddressType of the mip6MnBLCOA that follows.") mip6MnBLCOA = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLCOA.setDescription("Care-of address that the mobile node intends to\nregister in the Binding Update request.\n\nThe type of the address represented by this object\nis specified by the corresponding mip6MnBLCOAType\nobject.") mip6MnBLLifeTimeRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLLifeTimeRequested.setDescription("The lifetime requested by the mobile node (in\nseconds) in the Binding Update.") mip6MnBLLifeTimeGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLLifeTimeGranted.setDescription("The lifetime granted to the mobile node for this\nbinding. This field will be inaccessible if the\nBinding Update request has not been accepted.\nThe lifetime remaining (lR) can be calculated using\nthe current time (cT), mip6MnBLAcceptedTime (aT) and\nmip6MnBLLifeTimeGranted (lG) as follows:\n lR = lG - (cT - aT).\nWhen lR is zero, this entry will be deleted from the\nBinding Update List and consequently from this\ntable.") mip6MnBLMaxSeq = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLMaxSeq.setDescription("The maximum value of the Sequence Number field sent\nin previous Binding Updates to this destination.") mip6MnBLTimeSent = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 8), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLTimeSent.setDescription("The time when the last (re-)transmission occurred.") mip6MnBLAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLAccepted.setDescription("true(1) if the mobile node has received a\nbinding acknowledgment indicating that service has\nbeen accepted (status code 0 or 1); false(2)\notherwise. false(2) implies that the registration\nis still pending.") mip6MnBLAcceptedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 10), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLAcceptedTime.setDescription("The time at which the mobile node receives a binding\nacknowledgment indicating that Binding Update has\nbeen accepted (status code 0 or 1);\nThis object will be inaccessible if the Binding\nUpdate request is still pending.") mip6MnBLRetransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLRetransmissions.setDescription("The number of Binding Update retransmissions.") mip6MnBLDontSendBUFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 1, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBLDontSendBUFlag.setDescription("true(1) indicates that future binding updates\nwill not be sent to mip6MnBLNodeAddress.\nfalse(2) implies that binding updates will be\nsent to mip6MnBLNodeAddress.\nThe mobile node sets this flag in the when it\nreceives an ICMP Parameter Problem, Code 1,\nerror message in response to a return\nroutability message or Binding Update sent to\nmip6MnBLNodeAddress.") mip6MnRegnCounters = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2)) mip6MnMobilityMessagesSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnMobilityMessagesSent.setDescription("The total number of mobility messages, i.e., IPv6\ndatagrams with Mobility Header, sent by the mobile\nnode. There are 3 types of mobility messages, viz.,\nHome Test Init, Care-of Test Init, and Binding\nUpdates, that are sent by mobile nodes.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnMobilityMessagesRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnMobilityMessagesRecd.setDescription("The total number of mobility messages, i.e., IPv6\ndatagrams with Mobility Header, received by the\nmobile node. There are 5 types of mobility\nmessages, viz., Home Test, Care-of Test, Binding\nAcknowledgment, Binding Refresh Request, and Binding\nError, that are sent to mobile nodes.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnBUsToHA = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBUsToHA.setDescription("Total number of Binding Updates sent to the mobile\nnode's home agent(s).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnBUAcksFromHA = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBUAcksFromHA.setDescription("Total number of valid binding acknowledgments\nreceived from the mobile node's home agent(s).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnBUsToCN = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBUsToCN.setDescription("Total number of Binding Updates sent to\ncorrespondent nodes by the mobile node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnBUAcksFromCN = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBUAcksFromCN.setDescription("Total number of valid Binding Update acks\nreceived from all the correspondent nodes.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnBindingErrorsFromCN = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBindingErrorsFromCN.setDescription("Total number of Binding Error messages received\nby mobile node from CN.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnICMPErrorsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnICMPErrorsRecd.setDescription("Total number of ICMP Error messages of type ICMP\nParameter Problem, Code 1 or Code 2, received by\nthe mobile node from a correspondent node in\nresponse to a return routability procedure, a\nBinding Update, or a packet with the Home Address\noption.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6MnBRRequestsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 2, 3, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6MnBRRequestsRecd.setDescription("The total number of Binding Refresh requests\nreceived by the mobile node from correspondent\nnodes.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6Cn = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 3)) mip6CnSystem = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 3, 1)) mip6CnStats = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 3, 2)) mip6CnGlobalStats = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1)) mip6CnHomeTestInitsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnHomeTestInitsRecd.setDescription("Total number of Home Test Init messages received.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnHomeTestsSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnHomeTestsSent.setDescription("Total number of Home Test messages sent. If a Home\nTest Init message is found to be valid, a Home Test\nmessage will be generated and sent. Otherwise the\nHome Test message is silently discarded.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnCareOfTestInitsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnCareOfTestInitsRecd.setDescription("Total number of Care-of Test Init messages received.") mip6CnCareOfTestsSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnCareOfTestsSent.setDescription("Total number of Care-of Test messages sent. If a\nCare-of Test Init message is found to be valid, a\nCare-of Test message will be generated and sent.\nOtherwise the Care-of Test message is silently\ndiscarded.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnBUsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBUsRecd.setDescription("Total number of Binding Updates received by the\ncorrespondent node from mobile nodes.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnBUAcksSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBUAcksSent.setDescription("Total number of acknowledgments sent by the\ncorrespondent node for the Binding Updates received.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnBRsSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBRsSent.setDescription("Total number of Binding Refresh Request messages\nsent by the correspondent node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnBindingErrors = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBindingErrors.setDescription("Total number of Binding Error messages sent by the\ncorrespondent node to the mobile node.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnBUsAccepted = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBUsAccepted.setDescription("Total number of Binding Updates accepted by the\ncorrespondent node. If a Binding Acknowledgment\nmessage is sent for the Binding Update request,\nthe Status code field in the message will have\na value less than 128.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnBUsRejected = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBUsRejected.setDescription("Total number of Binding Update requests rejected\nby the correspondent node. If a Binding\nAcknowledgment message has been sent for the Binding\nUpdate request, the Status code field in the\nmessage will have a value greater than or equal to\n128. Otherwise the Binding Update request will be\nsilently discarded.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnReasonUnspecified = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnReasonUnspecified.setDescription("Total number of Binding Update requests rejected by\nthe correspondent node with status code in the\nBinding Acknowledgment message indicating 'reason\nunspecified' (Code 128).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnInsufficientResource = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnInsufficientResource.setDescription("Total number of Binding Update requests rejected by\nthe correspondent node with status code in the\nBinding Acknowledgment message indicating\n'insufficient resources' (Code 130).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnHomeRegnNotSupported = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnHomeRegnNotSupported.setDescription("Total number of Binding Update requests rejected by\ncorrespondent node with status code in the Binding\nAcknowledgment message indicating 'home registration\nnot supported' (Code 131).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnSeqNumberOutOfWindow = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnSeqNumberOutOfWindow.setDescription("Total number of Binding Updates rejected by\ncorrespondent node with status code in the Binding\nAcknowledgment message indicating 'sequence number\nout of window' (Code 135).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnExpiredHomeNonceIndex = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnExpiredHomeNonceIndex.setDescription("The total number of Binding Updates rejected by\ncorrespondent node with status code in the Binding\nAcknowledgment message indicating 'expired home\nnonce index' (Code 136).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnExpiredCareOfNonceIndex = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnExpiredCareOfNonceIndex.setDescription("The total number of Binding Updates rejected by\ncorrespondent node with status code in the Binding\nAcknowledgment message indicating 'expired\ncare-of nonce index' (Code 137).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnExpiredNonce = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnExpiredNonce.setDescription("The total number of Binding Updates rejected by\ncorrespondent node with status code in the Binding\nAcknowledgment message indicating 'expired nonces'\n(Code 138), i.e., the correspondent node no longer\nrecognizes the Home Nonce Index value and the\nCare-of Nonce Index value.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnRegTypeChangeDisallowed = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnRegTypeChangeDisallowed.setDescription("The total number of Binding Updates rejected by\ncorrespondent node with status code in the Binding\nAcknowledgment message indicating 'registration\ntype change disallowed' (Code 139), i.e., a binding\nalready exists for the given home address and the\nhome registration flag has a different value than\nthe Home Registration (H) bit in the Binding Update.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6CnCounterTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2)) if mibBuilder.loadTexts: mip6CnCounterTable.setDescription("A table containing each mobile .") mip6CnCounterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1)).setIndexNames((0, "MOBILEIPV6-MIB", "mip6BindingHomeAddressType"), (0, "MOBILEIPV6-MIB", "mip6BindingHomeAddress")) if mibBuilder.loadTexts: mip6CnCounterEntry.setDescription("The set of correspondent node counters for a mobile\nnode.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6BindingHomeAddress\nexceeds 113, then OIDs of column instances in\nthis row will have more than 128 sub-identifiers and\ncannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") mip6CnBURequestsAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBURequestsAccepted.setDescription("Total number of Binding Update requests from the\nmobile node accepted by the correspondent node.\nIf Binding Acknowledgment messages are sent, then\nthe status code in the message will have a value\nless than 128.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CnCtrDiscontinuityTime.") mip6CnBURequestsRejected = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBURequestsRejected.setDescription("Total number of Binding Update requests from the\nmobile node that have been rejected by the\ncorrespondent node. This includes the Binding Update\nrequests for which a Binding Acknowledgment message\nhas been sent with status code value greater than or\nequal to 128 and the Binding Acknowledgment requests\nthat have been silently discarded.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CnCtrDiscontinuityTime.") mip6CnBCEntryCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBCEntryCreationTime.setDescription("The time when the current Binding Cache entry was\ncreated for the mobile node.") mip6CnBUAcceptedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBUAcceptedTime.setDescription("The time at which the last Binding Update was\naccepted by the correspondent node and the\ncorresponding Binding Cache entry was updated.") mip6CnBURejectionTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBURejectionTime.setDescription("The time at which the last Binding Update message\nwas rejected by the correspondent node.\nIf there have been no rejections, then this object\nwill be inaccessible.") mip6CnBURejectionCode = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1, 6), Mip6BURequestRejectionCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnBURejectionCode.setDescription("If a Binding Acknowledgment is sent to the mobile\nnode, this is the status code (> 128) that is\nreturned in the Binding Acknowledgment.\nIn case a Binding Acknowledgment is not sent to\nthe mobile node, then this will be the value\nof the Status code that corresponds to the reason\nof the rejection. If there have been no\nrejections, then this object will be inaccessible.") mip6CnCtrDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 3, 2, 2, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6CnCtrDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of counters in this row,\nviz., instances of 'mip6CnBURequestsAccepted' and\n'mip6CnBURequestsRejected', suffered a discontinuity.\nIf no such discontinuities have occurred since the\nlast re-initialization of the local management\nsubsystem, then this object will have a zero value.") mip6Ha = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 4)) mip6HaAdvertisement = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 4, 1)) mip6HaAdvsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaAdvsRecd.setDescription("Total number of valid Router Advertisements\nreceived with the Home Agent (H) bit set, on\nall the links on which it is serving as a Home\nAgent.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaAdvsSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaAdvsSent.setDescription("Total number of unsolicited multicast Router\nAdvertisements sent with the Home Agent (H) bit set,\non all the links on which the router is serving as\na Home Agent.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaConfTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 3)) if mibBuilder.loadTexts: mip6HaConfTable.setDescription("A table containing configurable advertisement\nparameters for all interfaces on which the\nhome agent service is advertised.\nIt is RECOMMENDED that the last written values\nof the objects in the conceptual rows of this\n\n\n\ntable will remain unchanged across reboots of\nthe managed entity provided that the interfaces\nhave not been renumbered after the reboot.") mip6HaConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 3, 1)).setIndexNames((0, "IP-MIB", "ipv6InterfaceIfIndex")) if mibBuilder.loadTexts: mip6HaConfEntry.setDescription("Advertisement parameters for an interface.\nThe instances of the columnar objects in this entry\npertain to the interface that is uniquely identified\nby the ipv6InterfaceIfIndex of the interface. The\nsame ipv6InterfaceIfIndex object is used to uniquely\nidentify instances of the columnar objects of this\nconceptual row.") mip6HaAdvPreference = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mip6HaAdvPreference.setDescription("The preference value for the home agent to\nbe used in the Router Advertisements. Higher\nvalue denotes greater preference.") mip6HaAdvLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mip6HaAdvLifetime.setDescription("The lifetime value for the home agent to be\nused in the Router Advertisements.") mip6HaPrefixAdv = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mip6HaPrefixAdv.setDescription("Indicates whether the home agent should support\nsending of the ICMP Mobile Prefix Advertisements.\nIf it is disabled(2), the home agent will not\nsend ICMP Mobile Prefix Advertisements to the\nmobile nodes.\nThe state can be changed from enabled(1) to\ndisabled(2) and vice versa by operator\nintervention.\nCausing the state to change from enabled(1) to\ndisabled(2) will result in the home agent\ndisabling the Prefix advertisement function.\nOn the other hand, changing the status from\ndisabled(2) to enabled(1) will start the prefix\nadvertisement function.") mip6HaPrefixSolicitation = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mip6HaPrefixSolicitation.setDescription("Indicates whether the home agent should respond\nto ICMP Mobile Prefix Solicitation messages it\nreceives from the mobile nodes. By default, the\nvalue will be set to enabled(1). If it is\ndisabled(2), the home agent will not respond to\nany ICMP Mobile Prefix Solicitation messages.\nThe state can be changed from enabled(1) to\ndisabled(2), by operator intervention. Causing\nthe state to change from enabled(1) to\ndisabled(2) will result in the home agent not\nresponding to any ICMP Mobile Prefix\nSolicitation messages it receives from the\nmobile nodes.") mip6HaMCastCtlMsgSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mip6HaMCastCtlMsgSupport.setDescription("Indicates whether the home agent should enable\nsupport for the processing of the multicast\ngroup membership control messages it receives\nfrom the mobile nodes. By default, the value\nwill be set to enabled(1). If it is\ndisabled(2), the home agent will not process\nany multicast group control messages it receives\nfrom the mobile nodes.\nThe state can be changed from enabled(1) to\ndisabled(2), by operator intervention. Causing\nthe state to change from enabled(1) to\ndisabled(2) will result in the home agent\ndisabling the processing of the multicast group\ncontrol messages it received from the mobile\nnodes.") mip6HaListTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 4)) if mibBuilder.loadTexts: mip6HaListTable.setDescription("This table models the Home Agents List that contains\nthe list of all routers that are acting as home\nagents on each of the interfaces on which the home\nagent service is offered by this router.") mip6HaListEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 4, 1)).setIndexNames((0, "IP-MIB", "ipv6InterfaceIfIndex"), (0, "MOBILEIPV6-MIB", "mip6HaLinkLocalAddressType"), (0, "MOBILEIPV6-MIB", "mip6HaLinkLocalAddress")) if mibBuilder.loadTexts: mip6HaListEntry.setDescription("Information about a router that is offering home\nagent service.\nThe instances of the columnar objects in this entry\npertain to an interface for a particular value of\nmip6HaLinkLocalAddressType and\nmip6HaLinkLocalAddress. The interface is uniquely\nidentified by its ipv6InterfaceIfIndex. The same\nipv6InterfaceIfIndex object is used in conjunction\nwith the mip6HaLinkLocalAddressType and\nmip6HaLinkLocalAddress to uniquely identify\ninstances of the columnar objects of this row.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6HaLinkLocalAddress\nexceeds 112, then OIDs of column instances in\nthis row will have more than 128 sub-identifiers and\ncannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") mip6HaLinkLocalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 4, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6HaLinkLocalAddressType.setDescription("The address type for the link-local address\nof the home agent that follows.") mip6HaLinkLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 4, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6HaLinkLocalAddress.setDescription("The link local address of the home agent.\n\nThe type of the address represented by this object\nis specified by the corresponding\nmip6HaLinkLocalAddressType object.") mip6HaPreference = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaPreference.setDescription("The preference value of this home agent.\nHigher values indicate a more preferable home\nagent. The preference value is obtained from\nthe preference field of the received Router\nAdvertisement.") mip6HaRecvLifeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 4, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaRecvLifeTime.setDescription("The lifetime for this home agent.") mip6HaRecvTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 4, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaRecvTimeStamp.setDescription("The time when the home agent advertisement was\nreceived.") mip6HaGlAddrTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 5)) if mibBuilder.loadTexts: mip6HaGlAddrTable.setDescription("This table contains the global addresses of the home\nagents in the Home Agents List.") mip6HaGlAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 5, 1)).setIndexNames((0, "IP-MIB", "ipv6InterfaceIfIndex"), (0, "MOBILEIPV6-MIB", "mip6HaLinkLocalAddressType"), (0, "MOBILEIPV6-MIB", "mip6HaLinkLocalAddress"), (0, "MOBILEIPV6-MIB", "mip6HaGaAddrSeqNo")) if mibBuilder.loadTexts: mip6HaGlAddrEntry.setDescription("A global address for a home agent in the Home Agents\nList.\nThe instances of the columnar objects in this entry\npertain to an interface for a particular value of\nmip6HaLinkLocalAddressType, mip6HaLinkLocalAddress\nand mip6HaGaAddrSeqNo.\nThe mip6HaGaAddrSeqNo object is used to distinguish\nbetween multiple instances of the home agent global\naddresses on the same interface for the same set of\nmip6HaLinkLocalAddressType, mip6HaLinkLocalAddress,\nvalues.\nThere is no upper-bound on the maximum number of\nglobal addresses on an interface but, for practical\npurposes, the upper-bound of the value\nmip6HaGaAddrSeqNo is set to 1024.\nThe interface is uniquely identified by its\nipv6InterfaceIfIndex. The same ipv6InterfaceIfIndex\nobject is used in conjunction with the\nmip6HaLinkLocalAddressType, mip6HaLinkLocalAddress,\nand mip6HaGaAddrSeqNo to uniquely identify instances\nof the columnar objects of this row.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6HaLinkLocalAddress\nexceeds 111, then OIDs of column instances in\nthis row will have more than 128 sub-identifiers and\ncannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") mip6HaGaAddrSeqNo = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mip6HaGaAddrSeqNo.setDescription("The index that along with ipv6InterfaceIfIndex,\nmip6HaLinkLocalAddressType, and\nmip6HaLinkLocalAddress uniquely identifies this row.") mip6HaGaGlobalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 5, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaGaGlobalAddressType.setDescription("The address type for the global address of the\nhome agent that follows.") mip6HaGaGlobalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 1, 5, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaGaGlobalAddress.setDescription("A global address of the home agent.\n\nThe type of the address represented by this object\nis specified by the corresponding\nmip6HaGaGlobalAddressType object.") mip6HaStats = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 4, 2)) mip6HaGlobalStats = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1)) mip6HaHomeTestInitsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaHomeTestInitsRecd.setDescription("Total number of Home Test Init messages received by\nthe home agent. This will include Home Test Init\nmessages that failed the validity checks.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaHomeTestsSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaHomeTestsSent.setDescription("Total number of Home Test messages sent by the\nhome agent.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaBUsRecd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBUsRecd.setDescription("Total number of Binding Updates received by the\nhome agent.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaBUAcksSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBUAcksSent.setDescription("Total number of Binding Acknowledgments sent\nby the home agent.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaBRAdviceSent = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBRAdviceSent.setDescription("Total number of Binding Acknowledgments sent\nby the home agent with Binding Refresh Advice\nmobility option included.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaBUsAccepted = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBUsAccepted.setDescription("Total number of Binding Updates accepted by this HA.\nBinding Acknowledgment with status code of 0 or 1.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaPrefDiscoverReqd = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaPrefDiscoverReqd.setDescription("The total number of Binding Acknowledgments sent by\nthe home agent with status code indicating 'accepted\nbut prefix discovery necessary' (Code 1).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaReasonUnspecified = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaReasonUnspecified.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'reason\nunspecified' (Code 128).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaAdmProhibited = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaAdmProhibited.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'administratively\nprohibited' (Code 129).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaInsufficientResource = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaInsufficientResource.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'insufficient\nresources' (Code 130).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaHomeRegnNotSupported = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaHomeRegnNotSupported.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'home\nregistration not supported' (Code 131).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaNotHomeSubnet = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaNotHomeSubnet.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'not home subnet'\n(Code 132).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaNotHomeAgentForThisMN = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaNotHomeAgentForThisMN.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'not home agent\nfor this mobile node' (Code 133).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaDupAddrDetectionFailed = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaDupAddrDetectionFailed.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'Duplicate\nAddress Detection failed' (Code 134).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaSeqNumberOutOfWindow = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaSeqNumberOutOfWindow.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'sequence number\nout of window' (Code 135).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaExpiredHomeNonceIndex = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaExpiredHomeNonceIndex.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'expired home\nnonce index' (Code 136).\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaRegTypeChangeDisallowed = MibScalar((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaRegTypeChangeDisallowed.setDescription("Total number of Binding Update requests rejected by\nthe home agent with status code in the Binding\nAcknowledgment message indicating 'registration\ntype change disallowed' (Code 139), i.e., a binding\nalready exists for the given home address and the\nhome registration flag has a different value than\nthe Home Registration (H) bit in the Binding Update.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6CounterDiscontinuityTime.") mip6HaCounterTable = MibTable((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2)) if mibBuilder.loadTexts: mip6HaCounterTable.setDescription("A table containing registration statistics for all\nmobile nodes registered with the home agent.") mip6HaCounterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1)).setIndexNames((0, "MOBILEIPV6-MIB", "mip6BindingHomeAddressType"), (0, "MOBILEIPV6-MIB", "mip6BindingHomeAddress")) if mibBuilder.loadTexts: mip6HaCounterEntry.setDescription("Home agent registration statistics for a mobile\nnode.\n\nImplementors need to be aware that if the total\nnumber of octets in mip6BindingHomeAddress\nexceeds 113, then OIDs of column instances in\nthis row will have more than 128 sub-identifiers and\ncannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") mip6HaBURequestsAccepted = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBURequestsAccepted.setDescription("Total number of service requests for the mobile node\naccepted by the home agent.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6HaCtrDiscontinuityTime.") mip6HaBURequestsDenied = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBURequestsDenied.setDescription("Total number of service requests for the mobile node\nrejected by the home agent.\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times as indicated by the value of\nmip6HaCtrDiscontinuityTime.") mip6HaBCEntryCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBCEntryCreationTime.setDescription("The time when the current Binding Cache entry was\ncreated for the mobile node.") mip6HaBUAcceptedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBUAcceptedTime.setDescription("The time at which the last Binding Update was\naccepted by the home agent for this mobile node.") mip6HaBURejectionTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaBURejectionTime.setDescription("The time at which the last Binding Update was\nrejected by the home agent for this mobile node.\nIf there have been no rejections, then this object\nwill be inaccessible.") mip6HaRecentBURejectionCode = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1, 6), Mip6BURequestRejectionCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaRecentBURejectionCode.setDescription("If a Binding Acknowledgment is sent to the mobile\nnode, this is the status code (> 128) that is\nreturned in the Binding Acknowledgment.\nIn case a Binding Acknowledgment is not sent to the\nmobile node, then this will be the value of the\nstatus code that corresponds to the reason of the\nrejection.\nIf there have been no rejections, then this object\nwill be inaccessible.") mip6HaCtrDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 133, 1, 4, 2, 2, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mip6HaCtrDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of counters in this row,\nviz., instances of 'mip6HaBURequestsAccepted' and\n'mip6HaBURequestsRejected', suffered a discontinuity.\nIf no such discontinuities have occurred since the\nlast re-initialization of the local management\nsubsystem, then this object will have a zero value.") mip6Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 2)) mip6Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 2, 1)) mip6Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 133, 2, 2)) # Augmentions # Notifications mip6MnRegistered = NotificationType((1, 3, 6, 1, 2, 1, 133, 0, 1)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingCOAType"), ("MOBILEIPV6-MIB", "mip6BindingTimeRegistered"), ("MOBILEIPV6-MIB", "mip6BindingCOA"), ) ) if mibBuilder.loadTexts: mip6MnRegistered.setDescription("This notification is sent by a home agent when\na mobile node registers with the home agent\nfor the first time.\nNotifications will not be sent for subsequent\nupdates and/or refreshes.\nThe MO instances in the notifications will be\nidentified by the mip6BindingHomeAddressType\nand mip6BindingHomeAddress for the mobile node\nin the mip6BindingCacheTable.") mip6MnDeRegistered = NotificationType((1, 3, 6, 1, 2, 1, 133, 0, 2)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingCOAType"), ("MOBILEIPV6-MIB", "mip6BindingTimeRegistered"), ("MOBILEIPV6-MIB", "mip6BindingCOA"), ) ) if mibBuilder.loadTexts: mip6MnDeRegistered.setDescription("This notification is sent by a home agent every\ntime a mobile node de-registers with the home\nagent by sending a Binding Update that requests\nthe home agent to delete a binding.\nThe MO instances in the notifications will be\nidentified by the mip6BindingHomeAddressType\nand mip6BindingHomeAddress for the mobile node\nin the mip6BindingCacheTable.") mip6MnCOAChanged = NotificationType((1, 3, 6, 1, 2, 1, 133, 0, 3)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingCOAType"), ("MOBILEIPV6-MIB", "mip6BindingTimeRegistered"), ("MOBILEIPV6-MIB", "mip6BindingCOA"), ) ) if mibBuilder.loadTexts: mip6MnCOAChanged.setDescription("This notification is sent by a home agent every\ntime a mobile node sends a Binding Update with\na new care-of address (for an existing Binding\nCache entry).\nNotifications will not be sent for subsequent\nupdates and/or refreshes for the same Care-of\naddress.\nThe registration of a new care-of address may\nindicate that the mobile node has moved or that\nthe primary care-of address of the mobile node\nhas become deprecated.\nThe MO instances in the notifications will be\nidentified by the mip6BindingHomeAddressType\nand mip6BindingHomeAddress for the mobile node\nin the mip6BindingCacheTable.") mip6MnBindingExpiredAtHA = NotificationType((1, 3, 6, 1, 2, 1, 133, 0, 4)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingCOAType"), ("MOBILEIPV6-MIB", "mip6BindingTimeRegistered"), ("MOBILEIPV6-MIB", "mip6BindingCOA"), ) ) if mibBuilder.loadTexts: mip6MnBindingExpiredAtHA.setDescription("This notification is sent by a home agent when a\nbinding for the mobile node at the home agent\nexpired (no timely Binding Updates were received).\nThe MO instances in the notifications will be\nidentified by the mip6BindingHomeAddressType\nand mip6BindingHomeAddress for the mobile node\nin the mip6BindingCacheTable.") mip6MnBindingExpiredAtCN = NotificationType((1, 3, 6, 1, 2, 1, 133, 0, 5)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingCOAType"), ("MOBILEIPV6-MIB", "mip6BindingTimeRegistered"), ("MOBILEIPV6-MIB", "mip6BindingCOA"), ) ) if mibBuilder.loadTexts: mip6MnBindingExpiredAtCN.setDescription("This notification is sent by a correspondent node\nwhen a binding for the mobile node at the\ncorrespondent node expired (no timely Binding\nUpdates were received).\nThe MO instances in the notifications will be\nidentified by the mip6BindingHomeAddressType\nand mip6BindingHomeAddress for the mobile node\nin the mip6BindingCacheTable.") # Groups mip6SystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 1)).setObjects(*(("MOBILEIPV6-MIB", "mip6Capabilities"), ("MOBILEIPV6-MIB", "mip6Status"), ) ) if mibBuilder.loadTexts: mip6SystemGroup.setDescription(" A collection of objects for basic MIPv6\nmonitoring.") mip6BindingCacheGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 2)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingCOAType"), ("MOBILEIPV6-MIB", "mip6BindingUsageCount"), ("MOBILEIPV6-MIB", "mip6BindingTimeRemaining"), ("MOBILEIPV6-MIB", "mip6BindingUsageTS"), ("MOBILEIPV6-MIB", "mip6BindingAdminStatus"), ("MOBILEIPV6-MIB", "mip6BindingTimeRegistered"), ("MOBILEIPV6-MIB", "mip6BindingTimeGranted"), ("MOBILEIPV6-MIB", "mip6BindingCOA"), ("MOBILEIPV6-MIB", "mip6BindingMaxSeq"), ("MOBILEIPV6-MIB", "mip6BindingHomeRegn"), ) ) if mibBuilder.loadTexts: mip6BindingCacheGroup.setDescription(" A collection of objects for monitoring the\nBinding Cache.") mip6BindingHstGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 3)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingHstUsageTS"), ("MOBILEIPV6-MIB", "mip6BindingHstCOA"), ("MOBILEIPV6-MIB", "mip6BindingHstTimeExpired"), ("MOBILEIPV6-MIB", "mip6BindingHstCOAType"), ("MOBILEIPV6-MIB", "mip6BindingHstTimeRegistered"), ("MOBILEIPV6-MIB", "mip6BindingHstUsageCount"), ("MOBILEIPV6-MIB", "mip6BindingHstHomeRegn"), ) ) if mibBuilder.loadTexts: mip6BindingHstGroup.setDescription(" A collection of objects for monitoring the\nBinding History. This can be used to monitor\nthe movement of the mobile node.") mip6TotalTrafficGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 4)).setObjects(*(("MOBILEIPV6-MIB", "mip6InOctets"), ("MOBILEIPV6-MIB", "mip6InPkts"), ("MOBILEIPV6-MIB", "mip6OutPkts"), ("MOBILEIPV6-MIB", "mip6HCOutOctets"), ("MOBILEIPV6-MIB", "mip6OutOctets"), ("MOBILEIPV6-MIB", "mip6HCOutPkts"), ("MOBILEIPV6-MIB", "mip6CounterDiscontinuityTime"), ("MOBILEIPV6-MIB", "mip6HCInOctets"), ("MOBILEIPV6-MIB", "mip6HCInPkts"), ) ) if mibBuilder.loadTexts: mip6TotalTrafficGroup.setDescription(" A collection of objects for monitoring the\ntotal MIPv6 traffic.") mip6NodeTrafficGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 5)).setObjects(*(("MOBILEIPV6-MIB", "mip6NodeOutOctets"), ("MOBILEIPV6-MIB", "mip6NodeInPkts"), ("MOBILEIPV6-MIB", "mip6NodeCtrDiscontinuityTime"), ("MOBILEIPV6-MIB", "mip6HCNodeInOctets"), ("MOBILEIPV6-MIB", "mip6NodeInOctets"), ("MOBILEIPV6-MIB", "mip6HCNodeInPkts"), ("MOBILEIPV6-MIB", "mip6NodeOutPkts"), ("MOBILEIPV6-MIB", "mip6HCNodeOutPkts"), ("MOBILEIPV6-MIB", "mip6HCNodeOutOctets"), ) ) if mibBuilder.loadTexts: mip6NodeTrafficGroup.setDescription(" A collection of objects for monitoring the\nMIPv6 traffic due to a mobile node.") mip6MnSystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 6)).setObjects(*(("MOBILEIPV6-MIB", "mip6MnHomeAddressState"), ) ) if mibBuilder.loadTexts: mip6MnSystemGroup.setDescription(" A collection of objects for basic monitoring\nof the mobile node.") mip6MnConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 7)).setObjects(*(("MOBILEIPV6-MIB", "mip6MnDiscoveryRequests"), ("MOBILEIPV6-MIB", "mip6MnPrefixAdvsRecd"), ("MOBILEIPV6-MIB", "mip6MnDiscoveryTimeouts"), ("MOBILEIPV6-MIB", "mip6MnPrefixSolicitationsSent"), ("MOBILEIPV6-MIB", "mip6MnMovedToHN"), ("MOBILEIPV6-MIB", "mip6MnPrefixAdvsIgnored"), ("MOBILEIPV6-MIB", "mip6MnMovedToFN"), ("MOBILEIPV6-MIB", "mip6MnDiscoveryReplies"), ) ) if mibBuilder.loadTexts: mip6MnConfGroup.setDescription(" A collection of objects for monitoring\nthe advertisement-related info on the\nmobile node.") mip6MnRegistrationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 8)).setObjects(*(("MOBILEIPV6-MIB", "mip6MnBLCOAType"), ("MOBILEIPV6-MIB", "mip6MnICMPErrorsRecd"), ("MOBILEIPV6-MIB", "mip6MnBindingErrorsFromCN"), ("MOBILEIPV6-MIB", "mip6MnBUsToCN"), ("MOBILEIPV6-MIB", "mip6MnBLCOA"), ("MOBILEIPV6-MIB", "mip6MnMobilityMessagesSent"), ("MOBILEIPV6-MIB", "mip6MnBLLifeTimeRequested"), ("MOBILEIPV6-MIB", "mip6MnBLAccepted"), ("MOBILEIPV6-MIB", "mip6MnMobilityMessagesRecd"), ("MOBILEIPV6-MIB", "mip6MnBLRetransmissions"), ("MOBILEIPV6-MIB", "mip6MnBLLifeTimeGranted"), ("MOBILEIPV6-MIB", "mip6MnBLTimeSent"), ("MOBILEIPV6-MIB", "mip6MnBLDontSendBUFlag"), ("MOBILEIPV6-MIB", "mip6MnBLMaxSeq"), ("MOBILEIPV6-MIB", "mip6MnBRRequestsRecd"), ("MOBILEIPV6-MIB", "mip6MnBUAcksFromHA"), ("MOBILEIPV6-MIB", "mip6MnBUAcksFromCN"), ("MOBILEIPV6-MIB", "mip6MnBUsToHA"), ("MOBILEIPV6-MIB", "mip6MnBLAcceptedTime"), ) ) if mibBuilder.loadTexts: mip6MnRegistrationGroup.setDescription(" A collection of objects for monitoring\nthe registration statistics for the mobile node.") mip6CnStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 9)).setObjects(*(("MOBILEIPV6-MIB", "mip6CnCtrDiscontinuityTime"), ("MOBILEIPV6-MIB", "mip6CnBURejectionCode"), ("MOBILEIPV6-MIB", "mip6CnBURequestsRejected"), ("MOBILEIPV6-MIB", "mip6CnBCEntryCreationTime"), ("MOBILEIPV6-MIB", "mip6CnBURejectionTime"), ("MOBILEIPV6-MIB", "mip6CnBUAcceptedTime"), ("MOBILEIPV6-MIB", "mip6CnBURequestsAccepted"), ) ) if mibBuilder.loadTexts: mip6CnStatsGroup.setDescription(" A collection of objects for monitoring\nthe control messages and corresponding\nstatistics for each mobile node\ncommunicating with the correspondent\nnode.") mip6HaSystemGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 10)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaAdvsRecd"), ("MOBILEIPV6-MIB", "mip6HaPrefixAdv"), ("MOBILEIPV6-MIB", "mip6HaPrefixSolicitation"), ("MOBILEIPV6-MIB", "mip6HaAdvLifetime"), ("MOBILEIPV6-MIB", "mip6HaMCastCtlMsgSupport"), ("MOBILEIPV6-MIB", "mip6HaAdvsSent"), ("MOBILEIPV6-MIB", "mip6HaAdvPreference"), ) ) if mibBuilder.loadTexts: mip6HaSystemGroup.setDescription(" A collection of objects for monitoring\nthe advertisement-related parameters and\nstatistics for the home agent.") mip6HaListGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 11)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaGaGlobalAddress"), ("MOBILEIPV6-MIB", "mip6HaPreference"), ("MOBILEIPV6-MIB", "mip6HaRecvTimeStamp"), ("MOBILEIPV6-MIB", "mip6HaGaGlobalAddressType"), ("MOBILEIPV6-MIB", "mip6HaRecvLifeTime"), ) ) if mibBuilder.loadTexts: mip6HaListGroup.setDescription(" A collection of objects for monitoring\nthe Home Agent List on the home agent.") mip6HaStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 12)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaBURejectionTime"), ("MOBILEIPV6-MIB", "mip6HaBURequestsAccepted"), ("MOBILEIPV6-MIB", "mip6HaRecentBURejectionCode"), ("MOBILEIPV6-MIB", "mip6HaBUAcceptedTime"), ("MOBILEIPV6-MIB", "mip6HaCtrDiscontinuityTime"), ("MOBILEIPV6-MIB", "mip6HaBURequestsDenied"), ("MOBILEIPV6-MIB", "mip6HaBCEntryCreationTime"), ) ) if mibBuilder.loadTexts: mip6HaStatsGroup.setDescription(" A collection of objects for monitoring\nregistration-related statistics on the home agent.") mip6CnGlobalStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 13)).setObjects(*(("MOBILEIPV6-MIB", "mip6CnSeqNumberOutOfWindow"), ("MOBILEIPV6-MIB", "mip6CnCareOfTestInitsRecd"), ("MOBILEIPV6-MIB", "mip6CnBUsAccepted"), ("MOBILEIPV6-MIB", "mip6CnExpiredHomeNonceIndex"), ("MOBILEIPV6-MIB", "mip6CnReasonUnspecified"), ("MOBILEIPV6-MIB", "mip6CnHomeTestsSent"), ("MOBILEIPV6-MIB", "mip6CnBindingErrors"), ("MOBILEIPV6-MIB", "mip6CnHomeRegnNotSupported"), ("MOBILEIPV6-MIB", "mip6CnBUAcksSent"), ("MOBILEIPV6-MIB", "mip6CnRegTypeChangeDisallowed"), ("MOBILEIPV6-MIB", "mip6CnExpiredNonce"), ("MOBILEIPV6-MIB", "mip6CnBUsRejected"), ("MOBILEIPV6-MIB", "mip6CnInsufficientResource"), ("MOBILEIPV6-MIB", "mip6CnCareOfTestsSent"), ("MOBILEIPV6-MIB", "mip6CnExpiredCareOfNonceIndex"), ("MOBILEIPV6-MIB", "mip6CnHomeTestInitsRecd"), ("MOBILEIPV6-MIB", "mip6CnBUsRecd"), ("MOBILEIPV6-MIB", "mip6CnBRsSent"), ) ) if mibBuilder.loadTexts: mip6CnGlobalStatsGroup.setDescription(" A collection of objects for monitoring\nadvertisement and registration statistics on\na correspondent node.") mip6HaGlobalStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 14)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaBUsAccepted"), ("MOBILEIPV6-MIB", "mip6HaInsufficientResource"), ("MOBILEIPV6-MIB", "mip6HaHomeRegnNotSupported"), ("MOBILEIPV6-MIB", "mip6HaBRAdviceSent"), ("MOBILEIPV6-MIB", "mip6HaSeqNumberOutOfWindow"), ("MOBILEIPV6-MIB", "mip6HaPrefDiscoverReqd"), ("MOBILEIPV6-MIB", "mip6HaBUAcksSent"), ("MOBILEIPV6-MIB", "mip6HaDupAddrDetectionFailed"), ("MOBILEIPV6-MIB", "mip6HaRegTypeChangeDisallowed"), ("MOBILEIPV6-MIB", "mip6HaReasonUnspecified"), ("MOBILEIPV6-MIB", "mip6HaAdmProhibited"), ("MOBILEIPV6-MIB", "mip6HaNotHomeAgentForThisMN"), ("MOBILEIPV6-MIB", "mip6HaExpiredHomeNonceIndex"), ("MOBILEIPV6-MIB", "mip6HaHomeTestsSent"), ("MOBILEIPV6-MIB", "mip6HaBUsRecd"), ("MOBILEIPV6-MIB", "mip6HaHomeTestInitsRecd"), ("MOBILEIPV6-MIB", "mip6HaNotHomeSubnet"), ) ) if mibBuilder.loadTexts: mip6HaGlobalStatsGroup.setDescription(" A collection of objects for monitoring\nadvertisement and registration statistics on\na home agent.") mip6BindingCacheCtlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 15)).setObjects(*(("MOBILEIPV6-MIB", "mip6BindingAdminStatus"), ) ) if mibBuilder.loadTexts: mip6BindingCacheCtlGroup.setDescription("A collection of objects for controlling the\nBinding Cache.") mip6NotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 133, 2, 1, 16)).setObjects(*(("MOBILEIPV6-MIB", "mip6MnCOAChanged"), ("MOBILEIPV6-MIB", "mip6MnBindingExpiredAtHA"), ("MOBILEIPV6-MIB", "mip6MnDeRegistered"), ("MOBILEIPV6-MIB", "mip6MnRegistered"), ("MOBILEIPV6-MIB", "mip6MnBindingExpiredAtCN"), ) ) if mibBuilder.loadTexts: mip6NotificationGroup.setDescription("A collection of notifications from a home agent\nor correspondent node to the Manager about the\nstatus of a mobile node.") # Compliances mip6CoreCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 1)).setObjects(*(("MOBILEIPV6-MIB", "mip6SystemGroup"), ) ) if mibBuilder.loadTexts: mip6CoreCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB.") mip6Compliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 2)).setObjects(*(("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ("MOBILEIPV6-MIB", "mip6BindingCacheGroup"), ("MOBILEIPV6-MIB", "mip6SystemGroup"), ) ) if mibBuilder.loadTexts: mip6Compliance2.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and support\nmonitoring of the Binding Cache and the Total\nTraffic.\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--") mip6Compliance3 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 3)).setObjects(*(("MOBILEIPV6-MIB", "mip6NodeTrafficGroup"), ("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ("MOBILEIPV6-MIB", "mip6BindingCacheGroup"), ("MOBILEIPV6-MIB", "mip6BindingHstGroup"), ("MOBILEIPV6-MIB", "mip6SystemGroup"), ) ) if mibBuilder.loadTexts: mip6Compliance3.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring of the Binding Cache,\nthe Binding History, the total traffic, and\nthe mobile node-wide traffic.\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHstHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the\n-- mip6BindingHstHomeAddress object.\n--\n-- OBJECT mip6BindingHstHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the\n-- mip6BindingHstHomeAddress object.\n--") mip6CoreReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 4)).setObjects(*(("MOBILEIPV6-MIB", "mip6SystemGroup"), ) ) if mibBuilder.loadTexts: mip6CoreReadOnlyCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB without support\nfor read-write (i.e., in read-only mode).") mip6ReadOnlyCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 5)).setObjects(*(("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ("MOBILEIPV6-MIB", "mip6BindingCacheGroup"), ("MOBILEIPV6-MIB", "mip6SystemGroup"), ) ) if mibBuilder.loadTexts: mip6ReadOnlyCompliance2.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB without support\nfor read-write (i.e., in read-only mode) and\nsupport monitoring of the Binding Cache and Total\nTraffic.\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--") mip6ReadOnlyCompliance3 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 6)).setObjects(*(("MOBILEIPV6-MIB", "mip6NodeTrafficGroup"), ("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ("MOBILEIPV6-MIB", "mip6BindingCacheGroup"), ("MOBILEIPV6-MIB", "mip6BindingHstGroup"), ("MOBILEIPV6-MIB", "mip6SystemGroup"), ) ) if mibBuilder.loadTexts: mip6ReadOnlyCompliance3.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB without support\nfor read-write (i.e., in read-only mode) and support\nmonitoring of the Binding Cache, the Binding History,\nthe total traffic, and the mobile node-wide traffic.\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHstHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the\n-- mip6BindingHstHomeAddress object.\n--\n\n\n\n-- OBJECT mip6BindingHstHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the\n-- mip6BindingHstHomeAddress object.\n--") mip6MnCoreCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 7)).setObjects(*(("MOBILEIPV6-MIB", "mip6MnSystemGroup"), ) ) if mibBuilder.loadTexts: mip6MnCoreCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring of the basic mobile node\nfunctionality.\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6MnHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6MnHomeAddress\n-- object.\n--\n-- OBJECT mip6MnHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n\n\n\n-- ipv6 addresses for the mip6MnHomeAddress\n-- object.\n--") mip6MnCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 8)).setObjects(*(("MOBILEIPV6-MIB", "mip6MnConfGroup"), ("MOBILEIPV6-MIB", "mip6MnRegistrationGroup"), ("MOBILEIPV6-MIB", "mip6MnSystemGroup"), ("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ) ) if mibBuilder.loadTexts: mip6MnCompliance2.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring of the mobile node\nfunctionality specifically the Discovery- and\nRegistration-related statistics,\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6MnHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6MnHomeAddress\n-- object.\n--\n-- OBJECT mip6MnHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6MnHomeAddress\n-- object.\n--\n-- OBJECT mip6MnBLNodeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6MnBLNodeAddress\n-- object.\n--\n-- OBJECT mip6MnBLNodeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6MnBLNodeAddress\n-- object.\n\n\n\n--") mip6CnCoreCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 9)).setObjects(*(("MOBILEIPV6-MIB", "mip6CnGlobalStatsGroup"), ("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ) ) if mibBuilder.loadTexts: mip6CnCoreCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring of the basic correspondent node\nfunctionality.") mip6CnCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 10)).setObjects(*(("MOBILEIPV6-MIB", "mip6CnGlobalStatsGroup"), ("MOBILEIPV6-MIB", "mip6CnStatsGroup"), ("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ) ) if mibBuilder.loadTexts: mip6CnCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring of the basic correspondent node\nfunctionality.\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.") mip6HaCoreCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 11)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaSystemGroup"), ) ) if mibBuilder.loadTexts: mip6HaCoreCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring of the basic home agent\nfunctionality.") mip6HaCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 12)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaGlobalStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaListGroup"), ("MOBILEIPV6-MIB", "mip6HaStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaSystemGroup"), ("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ) ) if mibBuilder.loadTexts: mip6HaCompliance2.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring of the home agent\nfunctionality specifically the Home Agent List\nand the home-agent-registration-related statistics,\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddressType\n\n\n\n-- SYNTAX InetAddressType { ipv6z(4) }\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddress\n-- SYNTAX InetAddress (SIZE(20))\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--") mip6HaCompliance3 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 13)).setObjects(*(("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ("MOBILEIPV6-MIB", "mip6HaStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaSystemGroup"), ("MOBILEIPV6-MIB", "mip6HaGlobalStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaListGroup"), ("MOBILEIPV6-MIB", "mip6BindingCacheCtlGroup"), ) ) if mibBuilder.loadTexts: mip6HaCompliance3.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport monitoring and control of the home agent\nfunctionality specifically the Home Agent List\nand the home-agent-registration-related statistics,\n\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n\n\n\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddressType\n-- SYNTAX InetAddressType { ipv6z(4) }\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddress\n-- SYNTAX InetAddress (SIZE(20))\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--") mip6HaCoreReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 14)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaSystemGroup"), ) ) if mibBuilder.loadTexts: mip6HaCoreReadOnlyCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB without support\nfor read-write (i.e., in read-only mode) and\nsupport monitoring of the basic home agent\nfunctionality.") mip6HaReadOnlyCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 15)).setObjects(*(("MOBILEIPV6-MIB", "mip6HaGlobalStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaListGroup"), ("MOBILEIPV6-MIB", "mip6HaStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaSystemGroup"), ("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ) ) if mibBuilder.loadTexts: mip6HaReadOnlyCompliance2.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB without support\nfor read-write (i.e., in read-only mode) and\nsupport monitoring of the home agent\nfunctionality specifically the Home Agent List\nand the home-agent-registration-related statistics.\n\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddressType\n-- SYNTAX InetAddressType { ipv6z(4) }\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddress\n-- SYNTAX InetAddress (SIZE(20))\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--") mip6HaReadOnlyCompliance3 = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 16)).setObjects(*(("MOBILEIPV6-MIB", "mip6TotalTrafficGroup"), ("MOBILEIPV6-MIB", "mip6HaStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaSystemGroup"), ("MOBILEIPV6-MIB", "mip6HaGlobalStatsGroup"), ("MOBILEIPV6-MIB", "mip6HaListGroup"), ("MOBILEIPV6-MIB", "mip6BindingCacheCtlGroup"), ) ) if mibBuilder.loadTexts: mip6HaReadOnlyCompliance3.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB without support\nfor read-write (i.e., in read-only mode) and\nsupport monitoring and control of the home agent\nfunctionality specifically the Home Agent List\nand the home-agent-registration-related statistics,\n\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddressType\n-- SYNTAX InetAddressType { ipv6z(4) }\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--\n-- OBJECT mip6HaLinkLocalAddress\n-- SYNTAX InetAddress (SIZE(20))\n-- DESCRIPTION\n-- This MIB module requires support for local\n-- ipv6 addresses for the mip6HaLinkLocalAddress\n-- object.\n--") mip6NotificationCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 133, 2, 2, 17)).setObjects(*(("MOBILEIPV6-MIB", "mip6NotificationGroup"), ) ) if mibBuilder.loadTexts: mip6NotificationCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the MOBILEIPV6-MIB and\nsupport Notification from home agent or\ncorrespondent node to management stations\nabout the mobile node status.\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2,\nbut for which there are compliance requirements,\nexpressed in OBJECT clause form in this description:\n\n\n\n-- OBJECT mip6BindingHomeAddressType\n-- SYNTAX InetAddressType { ipv6(2) }\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.\n--\n-- OBJECT mip6BindingHomeAddress\n-- SYNTAX InetAddress (SIZE(16))\n-- DESCRIPTION\n-- This MIB module requires support for global\n-- ipv6 addresses for the mip6BindingHomeAddress\n-- object.") # Exports # Module identity mibBuilder.exportSymbols("MOBILEIPV6-MIB", PYSNMP_MODULE_ID=mip6MIB) # Types mibBuilder.exportSymbols("MOBILEIPV6-MIB", Mip6BURequestRejectionCode=Mip6BURequestRejectionCode) # Objects mibBuilder.exportSymbols("MOBILEIPV6-MIB", mip6MIB=mip6MIB, mip6Notifications=mip6Notifications, mip6Objects=mip6Objects, mip6Core=mip6Core, mip6System=mip6System, mip6Capabilities=mip6Capabilities, mip6Status=mip6Status, mip6Bindings=mip6Bindings, mip6BindingCacheTable=mip6BindingCacheTable, mip6BindingCacheEntry=mip6BindingCacheEntry, mip6BindingHomeAddressType=mip6BindingHomeAddressType, mip6BindingHomeAddress=mip6BindingHomeAddress, mip6BindingCOAType=mip6BindingCOAType, mip6BindingCOA=mip6BindingCOA, mip6BindingTimeRegistered=mip6BindingTimeRegistered, mip6BindingTimeGranted=mip6BindingTimeGranted, mip6BindingTimeRemaining=mip6BindingTimeRemaining, mip6BindingHomeRegn=mip6BindingHomeRegn, mip6BindingMaxSeq=mip6BindingMaxSeq, mip6BindingUsageTS=mip6BindingUsageTS, mip6BindingUsageCount=mip6BindingUsageCount, mip6BindingAdminStatus=mip6BindingAdminStatus, mip6BindingHistoryTable=mip6BindingHistoryTable, mip6BindingHistoryEntry=mip6BindingHistoryEntry, mip6BindingHstHomeAddressType=mip6BindingHstHomeAddressType, mip6BindingHstHomeAddress=mip6BindingHstHomeAddress, mip6BindingHstIndex=mip6BindingHstIndex, mip6BindingHstCOAType=mip6BindingHstCOAType, mip6BindingHstCOA=mip6BindingHstCOA, mip6BindingHstTimeRegistered=mip6BindingHstTimeRegistered, mip6BindingHstTimeExpired=mip6BindingHstTimeExpired, mip6BindingHstHomeRegn=mip6BindingHstHomeRegn, mip6BindingHstUsageTS=mip6BindingHstUsageTS, mip6BindingHstUsageCount=mip6BindingHstUsageCount, mip6Stats=mip6Stats, mip6TotalTraffic=mip6TotalTraffic, mip6InOctets=mip6InOctets, mip6HCInOctets=mip6HCInOctets, mip6InPkts=mip6InPkts, mip6HCInPkts=mip6HCInPkts, mip6OutOctets=mip6OutOctets, mip6HCOutOctets=mip6HCOutOctets, mip6OutPkts=mip6OutPkts, mip6HCOutPkts=mip6HCOutPkts, mip6CounterDiscontinuityTime=mip6CounterDiscontinuityTime, mip6NodeTrafficTable=mip6NodeTrafficTable, mip6NodeTrafficEntry=mip6NodeTrafficEntry, mip6NodeInOctets=mip6NodeInOctets, mip6HCNodeInOctets=mip6HCNodeInOctets, mip6NodeInPkts=mip6NodeInPkts, mip6HCNodeInPkts=mip6HCNodeInPkts, mip6NodeOutOctets=mip6NodeOutOctets, mip6HCNodeOutOctets=mip6HCNodeOutOctets, mip6NodeOutPkts=mip6NodeOutPkts, mip6HCNodeOutPkts=mip6HCNodeOutPkts, mip6NodeCtrDiscontinuityTime=mip6NodeCtrDiscontinuityTime, mip6Mn=mip6Mn, mip6MnSystem=mip6MnSystem, mip6MnHomeAddressTable=mip6MnHomeAddressTable, mip6MnHomeAddressEntry=mip6MnHomeAddressEntry, mip6MnHomeAddressType=mip6MnHomeAddressType, mip6MnHomeAddress=mip6MnHomeAddress, mip6MnHomeAddressState=mip6MnHomeAddressState, mip6MnConf=mip6MnConf, mip6MnDiscoveryRequests=mip6MnDiscoveryRequests, mip6MnDiscoveryReplies=mip6MnDiscoveryReplies, mip6MnDiscoveryTimeouts=mip6MnDiscoveryTimeouts, mip6MnPrefixSolicitationsSent=mip6MnPrefixSolicitationsSent, mip6MnPrefixAdvsRecd=mip6MnPrefixAdvsRecd, mip6MnPrefixAdvsIgnored=mip6MnPrefixAdvsIgnored, mip6MnMovedToFN=mip6MnMovedToFN, mip6MnMovedToHN=mip6MnMovedToHN, mip6MnRegistration=mip6MnRegistration, mip6MnBLTable=mip6MnBLTable, mip6MnBLEntry=mip6MnBLEntry, mip6MnBLNodeAddressType=mip6MnBLNodeAddressType, mip6MnBLNodeAddress=mip6MnBLNodeAddress, mip6MnBLCOAType=mip6MnBLCOAType, mip6MnBLCOA=mip6MnBLCOA, mip6MnBLLifeTimeRequested=mip6MnBLLifeTimeRequested, mip6MnBLLifeTimeGranted=mip6MnBLLifeTimeGranted, mip6MnBLMaxSeq=mip6MnBLMaxSeq, mip6MnBLTimeSent=mip6MnBLTimeSent, mip6MnBLAccepted=mip6MnBLAccepted, mip6MnBLAcceptedTime=mip6MnBLAcceptedTime, mip6MnBLRetransmissions=mip6MnBLRetransmissions, mip6MnBLDontSendBUFlag=mip6MnBLDontSendBUFlag, mip6MnRegnCounters=mip6MnRegnCounters, mip6MnMobilityMessagesSent=mip6MnMobilityMessagesSent, mip6MnMobilityMessagesRecd=mip6MnMobilityMessagesRecd, mip6MnBUsToHA=mip6MnBUsToHA, mip6MnBUAcksFromHA=mip6MnBUAcksFromHA, mip6MnBUsToCN=mip6MnBUsToCN, mip6MnBUAcksFromCN=mip6MnBUAcksFromCN, mip6MnBindingErrorsFromCN=mip6MnBindingErrorsFromCN, mip6MnICMPErrorsRecd=mip6MnICMPErrorsRecd, mip6MnBRRequestsRecd=mip6MnBRRequestsRecd, mip6Cn=mip6Cn, mip6CnSystem=mip6CnSystem, mip6CnStats=mip6CnStats, mip6CnGlobalStats=mip6CnGlobalStats, mip6CnHomeTestInitsRecd=mip6CnHomeTestInitsRecd, mip6CnHomeTestsSent=mip6CnHomeTestsSent, mip6CnCareOfTestInitsRecd=mip6CnCareOfTestInitsRecd, mip6CnCareOfTestsSent=mip6CnCareOfTestsSent, mip6CnBUsRecd=mip6CnBUsRecd, mip6CnBUAcksSent=mip6CnBUAcksSent, mip6CnBRsSent=mip6CnBRsSent, mip6CnBindingErrors=mip6CnBindingErrors, mip6CnBUsAccepted=mip6CnBUsAccepted, mip6CnBUsRejected=mip6CnBUsRejected, mip6CnReasonUnspecified=mip6CnReasonUnspecified, mip6CnInsufficientResource=mip6CnInsufficientResource, mip6CnHomeRegnNotSupported=mip6CnHomeRegnNotSupported, mip6CnSeqNumberOutOfWindow=mip6CnSeqNumberOutOfWindow, mip6CnExpiredHomeNonceIndex=mip6CnExpiredHomeNonceIndex, mip6CnExpiredCareOfNonceIndex=mip6CnExpiredCareOfNonceIndex, mip6CnExpiredNonce=mip6CnExpiredNonce, mip6CnRegTypeChangeDisallowed=mip6CnRegTypeChangeDisallowed, mip6CnCounterTable=mip6CnCounterTable, mip6CnCounterEntry=mip6CnCounterEntry, mip6CnBURequestsAccepted=mip6CnBURequestsAccepted, mip6CnBURequestsRejected=mip6CnBURequestsRejected, mip6CnBCEntryCreationTime=mip6CnBCEntryCreationTime, mip6CnBUAcceptedTime=mip6CnBUAcceptedTime, mip6CnBURejectionTime=mip6CnBURejectionTime) mibBuilder.exportSymbols("MOBILEIPV6-MIB", mip6CnBURejectionCode=mip6CnBURejectionCode, mip6CnCtrDiscontinuityTime=mip6CnCtrDiscontinuityTime, mip6Ha=mip6Ha, mip6HaAdvertisement=mip6HaAdvertisement, mip6HaAdvsRecd=mip6HaAdvsRecd, mip6HaAdvsSent=mip6HaAdvsSent, mip6HaConfTable=mip6HaConfTable, mip6HaConfEntry=mip6HaConfEntry, mip6HaAdvPreference=mip6HaAdvPreference, mip6HaAdvLifetime=mip6HaAdvLifetime, mip6HaPrefixAdv=mip6HaPrefixAdv, mip6HaPrefixSolicitation=mip6HaPrefixSolicitation, mip6HaMCastCtlMsgSupport=mip6HaMCastCtlMsgSupport, mip6HaListTable=mip6HaListTable, mip6HaListEntry=mip6HaListEntry, mip6HaLinkLocalAddressType=mip6HaLinkLocalAddressType, mip6HaLinkLocalAddress=mip6HaLinkLocalAddress, mip6HaPreference=mip6HaPreference, mip6HaRecvLifeTime=mip6HaRecvLifeTime, mip6HaRecvTimeStamp=mip6HaRecvTimeStamp, mip6HaGlAddrTable=mip6HaGlAddrTable, mip6HaGlAddrEntry=mip6HaGlAddrEntry, mip6HaGaAddrSeqNo=mip6HaGaAddrSeqNo, mip6HaGaGlobalAddressType=mip6HaGaGlobalAddressType, mip6HaGaGlobalAddress=mip6HaGaGlobalAddress, mip6HaStats=mip6HaStats, mip6HaGlobalStats=mip6HaGlobalStats, mip6HaHomeTestInitsRecd=mip6HaHomeTestInitsRecd, mip6HaHomeTestsSent=mip6HaHomeTestsSent, mip6HaBUsRecd=mip6HaBUsRecd, mip6HaBUAcksSent=mip6HaBUAcksSent, mip6HaBRAdviceSent=mip6HaBRAdviceSent, mip6HaBUsAccepted=mip6HaBUsAccepted, mip6HaPrefDiscoverReqd=mip6HaPrefDiscoverReqd, mip6HaReasonUnspecified=mip6HaReasonUnspecified, mip6HaAdmProhibited=mip6HaAdmProhibited, mip6HaInsufficientResource=mip6HaInsufficientResource, mip6HaHomeRegnNotSupported=mip6HaHomeRegnNotSupported, mip6HaNotHomeSubnet=mip6HaNotHomeSubnet, mip6HaNotHomeAgentForThisMN=mip6HaNotHomeAgentForThisMN, mip6HaDupAddrDetectionFailed=mip6HaDupAddrDetectionFailed, mip6HaSeqNumberOutOfWindow=mip6HaSeqNumberOutOfWindow, mip6HaExpiredHomeNonceIndex=mip6HaExpiredHomeNonceIndex, mip6HaRegTypeChangeDisallowed=mip6HaRegTypeChangeDisallowed, mip6HaCounterTable=mip6HaCounterTable, mip6HaCounterEntry=mip6HaCounterEntry, mip6HaBURequestsAccepted=mip6HaBURequestsAccepted, mip6HaBURequestsDenied=mip6HaBURequestsDenied, mip6HaBCEntryCreationTime=mip6HaBCEntryCreationTime, mip6HaBUAcceptedTime=mip6HaBUAcceptedTime, mip6HaBURejectionTime=mip6HaBURejectionTime, mip6HaRecentBURejectionCode=mip6HaRecentBURejectionCode, mip6HaCtrDiscontinuityTime=mip6HaCtrDiscontinuityTime, mip6Conformance=mip6Conformance, mip6Groups=mip6Groups, mip6Compliances=mip6Compliances) # Notifications mibBuilder.exportSymbols("MOBILEIPV6-MIB", mip6MnRegistered=mip6MnRegistered, mip6MnDeRegistered=mip6MnDeRegistered, mip6MnCOAChanged=mip6MnCOAChanged, mip6MnBindingExpiredAtHA=mip6MnBindingExpiredAtHA, mip6MnBindingExpiredAtCN=mip6MnBindingExpiredAtCN) # Groups mibBuilder.exportSymbols("MOBILEIPV6-MIB", mip6SystemGroup=mip6SystemGroup, mip6BindingCacheGroup=mip6BindingCacheGroup, mip6BindingHstGroup=mip6BindingHstGroup, mip6TotalTrafficGroup=mip6TotalTrafficGroup, mip6NodeTrafficGroup=mip6NodeTrafficGroup, mip6MnSystemGroup=mip6MnSystemGroup, mip6MnConfGroup=mip6MnConfGroup, mip6MnRegistrationGroup=mip6MnRegistrationGroup, mip6CnStatsGroup=mip6CnStatsGroup, mip6HaSystemGroup=mip6HaSystemGroup, mip6HaListGroup=mip6HaListGroup, mip6HaStatsGroup=mip6HaStatsGroup, mip6CnGlobalStatsGroup=mip6CnGlobalStatsGroup, mip6HaGlobalStatsGroup=mip6HaGlobalStatsGroup, mip6BindingCacheCtlGroup=mip6BindingCacheCtlGroup, mip6NotificationGroup=mip6NotificationGroup) # Compliances mibBuilder.exportSymbols("MOBILEIPV6-MIB", mip6CoreCompliance=mip6CoreCompliance, mip6Compliance2=mip6Compliance2, mip6Compliance3=mip6Compliance3, mip6CoreReadOnlyCompliance=mip6CoreReadOnlyCompliance, mip6ReadOnlyCompliance2=mip6ReadOnlyCompliance2, mip6ReadOnlyCompliance3=mip6ReadOnlyCompliance3, mip6MnCoreCompliance=mip6MnCoreCompliance, mip6MnCompliance2=mip6MnCompliance2, mip6CnCoreCompliance=mip6CnCoreCompliance, mip6CnCompliance=mip6CnCompliance, mip6HaCoreCompliance=mip6HaCoreCompliance, mip6HaCompliance2=mip6HaCompliance2, mip6HaCompliance3=mip6HaCompliance3, mip6HaCoreReadOnlyCompliance=mip6HaCoreReadOnlyCompliance, mip6HaReadOnlyCompliance2=mip6HaReadOnlyCompliance2, mip6HaReadOnlyCompliance3=mip6HaReadOnlyCompliance3, mip6NotificationCompliance=mip6NotificationCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-TC-STD-MIB.py0000644000014400001440000001474111736645137021154 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-TC-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:21 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "Unsigned32", "transmission") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class MplsAtmVcIdentifier(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(32,65535) class MplsBitRate(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class MplsBurstSize(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class MplsExtendedTunnelId(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class MplsLSPID(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(2,2),ValueSizeConstraint(6,6),) class MplsLabel(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class MplsLabelDistributionMethod(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("downstreamOnDemand", 1), ("downstreamUnsolicited", 2), ) class MplsLdpIdentifier(TextualConvention, OctetString): displayHint = "1d.1d.1d.1d:2d" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(6,6) fixedLength = 6 class MplsLdpLabelType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,) namedValues = NamedValues(("generic", 1), ("atm", 2), ("frameRelay", 3), ) class MplsLspType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,4,) namedValues = NamedValues(("unknown", 1), ("terminatingLsp", 2), ("originatingLsp", 3), ("crossConnectingLsp", 4), ) class MplsLsrIdentifier(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 class MplsOwner(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,6,4,5,1,3,7,) namedValues = NamedValues(("unknown", 1), ("other", 2), ("snmp", 3), ("ldp", 4), ("crldp", 5), ("rsvpTe", 6), ("policyAgent", 7), ) class MplsPathIndex(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class MplsPathIndexOrZero(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class MplsRetentionMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("conservative", 1), ("liberal", 2), ) class MplsTunnelAffinity(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class MplsTunnelIndex(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,65535) class MplsTunnelInstanceIndex(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class TeHopAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,32) class TeHopAddressAS(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 class TeHopAddressType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,0,2,5,4,) namedValues = NamedValues(("unknown", 0), ("ipv4", 1), ("ipv6", 2), ("asnumber", 3), ("unnum", 4), ("lspid", 5), ) class TeHopAddressUnnum(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 # Objects mplsStdMIB = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166)) mplsTCStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 1)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsTCStdMIB.setOrganization("IETF Multiprotocol Label Switching (MPLS) Working\nGroup.") if mibBuilder.loadTexts: mplsTCStdMIB.setContactInfo(" Thomas D. Nadeau\n\n\n\nCisco Systems, Inc.\ntnadeau@cisco.com\n\nJoan Cucchiara\nMarconi Communications, Inc.\njcucchiara@mindspring.com\n\nCheenu Srinivasan\nBloomberg L.P.\ncheenu@bloomberg.net\n\nArun Viswanathan\nForce10 Networks, Inc.\narunv@force10networks.com\n\nHans Sjostrand\nipUnplugged\nhans@ipunplugged.com\n\nKireeti Kompella\nJuniper Networks\nkireeti@juniper.net\n\nEmail comments to the MPLS WG Mailing List at\nmpls@uu.net.") if mibBuilder.loadTexts: mplsTCStdMIB.setDescription("Copyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3811. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html\n\nThis MIB module defines TEXTUAL-CONVENTIONs\nfor concepts used in Multiprotocol Label\nSwitching (MPLS) networks.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("MPLS-TC-STD-MIB", PYSNMP_MODULE_ID=mplsTCStdMIB) # Types mibBuilder.exportSymbols("MPLS-TC-STD-MIB", MplsAtmVcIdentifier=MplsAtmVcIdentifier, MplsBitRate=MplsBitRate, MplsBurstSize=MplsBurstSize, MplsExtendedTunnelId=MplsExtendedTunnelId, MplsLSPID=MplsLSPID, MplsLabel=MplsLabel, MplsLabelDistributionMethod=MplsLabelDistributionMethod, MplsLdpIdentifier=MplsLdpIdentifier, MplsLdpLabelType=MplsLdpLabelType, MplsLspType=MplsLspType, MplsLsrIdentifier=MplsLsrIdentifier, MplsOwner=MplsOwner, MplsPathIndex=MplsPathIndex, MplsPathIndexOrZero=MplsPathIndexOrZero, MplsRetentionMode=MplsRetentionMode, MplsTunnelAffinity=MplsTunnelAffinity, MplsTunnelIndex=MplsTunnelIndex, MplsTunnelInstanceIndex=MplsTunnelInstanceIndex, TeHopAddress=TeHopAddress, TeHopAddressAS=TeHopAddressAS, TeHopAddressType=TeHopAddressType, TeHopAddressUnnum=TeHopAddressUnnum) # Objects mibBuilder.exportSymbols("MPLS-TC-STD-MIB", mplsStdMIB=mplsStdMIB, mplsTCStdMIB=mplsTCStdMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/IP-MIB.py0000644000014400001440000047072411736645136017763 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:11 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetVersion, InetZoneIndex, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetVersion", "InetZoneIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( PhysAddress, RowPointer, RowStatus, StorageType, TextualConvention, TestAndIncr, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "PhysAddress", "RowPointer", "RowStatus", "StorageType", "TextualConvention", "TestAndIncr", "TimeStamp", "TruthValue") # Types class IpAddressOriginTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,6,2,5,) namedValues = NamedValues(("other", 1), ("manual", 2), ("dhcp", 4), ("linklayer", 5), ("random", 6), ) class IpAddressPrefixOriginTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,3,2,5,) namedValues = NamedValues(("other", 1), ("manual", 2), ("wellknown", 3), ("dhcp", 4), ("routeradv", 5), ) class IpAddressStatusTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,1,8,6,2,3,7,5,) namedValues = NamedValues(("preferred", 1), ("deprecated", 2), ("invalid", 3), ("inaccessible", 4), ("unknown", 5), ("tentative", 6), ("duplicate", 7), ("optimistic", 8), ) class Ipv6AddressIfIdentifierTC(TextualConvention, OctetString): displayHint = "2x:" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,8) # Objects ip = MibIdentifier((1, 3, 6, 1, 2, 1, 4)) ipForwarding = MibScalar((1, 3, 6, 1, 2, 1, 4, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("forwarding", 1), ("notForwarding", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipForwarding.setDescription("The indication of whether this entity is acting as an IPv4\nrouter in respect to the forwarding of datagrams received\nby, but not addressed to, this entity. IPv4 routers forward\ndatagrams. IPv4 hosts do not (except those source-routed\nvia the host).\n\nWhen this object is written, the entity should save the\nchange to non-volatile storage and restore the object from\nnon-volatile storage upon re-initialization of the system.\nNote: a stronger requirement is not used because this object\nwas previously defined.") ipDefaultTTL = MibScalar((1, 3, 6, 1, 2, 1, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipDefaultTTL.setDescription("The default value inserted into the Time-To-Live field of\nthe IPv4 header of datagrams originated at this entity,\nwhenever a TTL value is not supplied by the transport layer\n\n\n\nprotocol.\n\nWhen this object is written, the entity should save the\nchange to non-volatile storage and restore the object from\nnon-volatile storage upon re-initialization of the system.\nNote: a stronger requirement is not used because this object\nwas previously defined.") ipInReceives = MibScalar((1, 3, 6, 1, 2, 1, 4, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipInReceives.setDescription("The total number of input datagrams received from\ninterfaces, including those received in error.\n\nThis object has been deprecated, as a new IP version-neutral\n\n\n\ntable has been added. It is loosely replaced by\nipSystemStatsInRecieves.") ipInHdrErrors = MibScalar((1, 3, 6, 1, 2, 1, 4, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipInHdrErrors.setDescription("The number of input datagrams discarded due to errors in\ntheir IPv4 headers, including bad checksums, version number\nmismatch, other format errors, time-to-live exceeded, errors\ndiscovered in processing their IPv4 options, etc.\n\nThis object has been deprecated as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsInHdrErrors.") ipInAddrErrors = MibScalar((1, 3, 6, 1, 2, 1, 4, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipInAddrErrors.setDescription("The number of input datagrams discarded because the IPv4\naddress in their IPv4 header's destination field was not a\nvalid address to be received at this entity. This count\nincludes invalid addresses (e.g., 0.0.0.0) and addresses of\nunsupported Classes (e.g., Class E). For entities which are\nnot IPv4 routers, and therefore do not forward datagrams,\nthis counter includes datagrams discarded because the\ndestination address was not a local address.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsInAddrErrors.") ipForwDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 4, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipForwDatagrams.setDescription("The number of input datagrams for which this entity was not\ntheir final IPv4 destination, as a result of which an\nattempt was made to find a route to forward them to that\nfinal destination. In entities which do not act as IPv4\nrouters, this counter will include only those packets which\n\n\n\nwere Source-Routed via this entity, and the Source-Route\noption processing was successful.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsInForwDatagrams.") ipInUnknownProtos = MibScalar((1, 3, 6, 1, 2, 1, 4, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipInUnknownProtos.setDescription("The number of locally-addressed datagrams received\nsuccessfully but discarded because of an unknown or\nunsupported protocol.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsInUnknownProtos.") ipInDiscards = MibScalar((1, 3, 6, 1, 2, 1, 4, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipInDiscards.setDescription("The number of input IPv4 datagrams for which no problems\nwere encountered to prevent their continued processing, but\nwhich were discarded (e.g., for lack of buffer space). Note\nthat this counter does not include any datagrams discarded\nwhile awaiting re-assembly.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsInDiscards.") ipInDelivers = MibScalar((1, 3, 6, 1, 2, 1, 4, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipInDelivers.setDescription("The total number of input datagrams successfully delivered\nto IPv4 user-protocols (including ICMP).\n\nThis object has been deprecated as a new IP version neutral\ntable has been added. It is loosely replaced by\n\n\n\nipSystemStatsIndelivers.") ipOutRequests = MibScalar((1, 3, 6, 1, 2, 1, 4, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOutRequests.setDescription("The total number of IPv4 datagrams which local IPv4 user\nprotocols (including ICMP) supplied to IPv4 in requests for\ntransmission. Note that this counter does not include any\ndatagrams counted in ipForwDatagrams.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsOutRequests.") ipOutDiscards = MibScalar((1, 3, 6, 1, 2, 1, 4, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOutDiscards.setDescription("The number of output IPv4 datagrams for which no problem was\nencountered to prevent their transmission to their\ndestination, but which were discarded (e.g., for lack of\nbuffer space). Note that this counter would include\ndatagrams counted in ipForwDatagrams if any such packets met\nthis (discretionary) discard criterion.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsOutDiscards.") ipOutNoRoutes = MibScalar((1, 3, 6, 1, 2, 1, 4, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipOutNoRoutes.setDescription("The number of IPv4 datagrams discarded because no route\ncould be found to transmit them to their destination. Note\nthat this counter includes any packets counted in\nipForwDatagrams which meet this `no-route' criterion. Note\nthat this includes any datagrams which a host cannot route\nbecause all of its default routers are down.\n\nThis object has been deprecated, as a new IP version-neutral\n\n\n\ntable has been added. It is loosely replaced by\nipSystemStatsOutNoRoutes.") ipReasmTimeout = MibScalar((1, 3, 6, 1, 2, 1, 4, 13), Integer32()).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: ipReasmTimeout.setDescription("The maximum number of seconds that received fragments are\nheld while they are awaiting reassembly at this entity.") ipReasmReqds = MibScalar((1, 3, 6, 1, 2, 1, 4, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipReasmReqds.setDescription("The number of IPv4 fragments received which needed to be\nreassembled at this entity.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsReasmReqds.") ipReasmOKs = MibScalar((1, 3, 6, 1, 2, 1, 4, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipReasmOKs.setDescription("The number of IPv4 datagrams successfully re-assembled.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsReasmOKs.") ipReasmFails = MibScalar((1, 3, 6, 1, 2, 1, 4, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipReasmFails.setDescription("The number of failures detected by the IPv4 re-assembly\nalgorithm (for whatever reason: timed out, errors, etc).\nNote that this is not necessarily a count of discarded IPv4\nfragments since some algorithms (notably the algorithm in\nRFC 815) can lose track of the number of fragments by\ncombining them as they are received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsReasmFails.") ipFragOKs = MibScalar((1, 3, 6, 1, 2, 1, 4, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipFragOKs.setDescription("The number of IPv4 datagrams that have been successfully\nfragmented at this entity.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsOutFragOKs.") ipFragFails = MibScalar((1, 3, 6, 1, 2, 1, 4, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipFragFails.setDescription("The number of IPv4 datagrams that have been discarded\nbecause they needed to be fragmented at this entity but\ncould not be, e.g., because their Don't Fragment flag was\nset.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nipSystemStatsOutFragFails.") ipFragCreates = MibScalar((1, 3, 6, 1, 2, 1, 4, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipFragCreates.setDescription("The number of IPv4 datagram fragments that have been\ngenerated as a result of fragmentation at this entity.\n\nThis object has been deprecated as a new IP version neutral\ntable has been added. It is loosely replaced by\nipSystemStatsOutFragCreates.") ipAddrTable = MibTable((1, 3, 6, 1, 2, 1, 4, 20)) if mibBuilder.loadTexts: ipAddrTable.setDescription("The table of addressing information relevant to this\nentity's IPv4 addresses.\n\nThis table has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by the\nipAddressTable although several objects that weren't deemed\nuseful weren't carried forward while another\n(ipAdEntReasmMaxSize) was moved to the ipv4InterfaceTable.") ipAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 20, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr")) if mibBuilder.loadTexts: ipAddrEntry.setDescription("The addressing information for one of this entity's IPv4\naddresses.") ipAdEntAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 20, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAdEntAddr.setDescription("The IPv4 address to which this entry's addressing\ninformation pertains.") ipAdEntIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 20, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAdEntIfIndex.setDescription("The index value which uniquely identifies the interface to\nwhich this entry is applicable. The interface identified by\na particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipAdEntNetMask = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 20, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAdEntNetMask.setDescription("The subnet mask associated with the IPv4 address of this\nentry. The value of the mask is an IPv4 address with all\nthe network bits set to 1 and all the hosts bits set to 0.") ipAdEntBcastAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 20, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAdEntBcastAddr.setDescription("The value of the least-significant bit in the IPv4 broadcast\naddress used for sending datagrams on the (logical)\ninterface associated with the IPv4 address of this entry.\nFor example, when the Internet standard all-ones broadcast\naddress is used, the value will be 1. This value applies to\nboth the subnet and network broadcast addresses used by the\nentity on this (logical) interface.") ipAdEntReasmMaxSize = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 20, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAdEntReasmMaxSize.setDescription("The size of the largest IPv4 datagram which this entity can\nre-assemble from incoming IPv4 fragmented datagrams received\non this interface.") ipNetToMediaTable = MibTable((1, 3, 6, 1, 2, 1, 4, 22)) if mibBuilder.loadTexts: ipNetToMediaTable.setDescription("The IPv4 Address Translation table used for mapping from\nIPv4 addresses to physical addresses.\n\nThis table has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by the\nipNetToPhysicalTable.") ipNetToMediaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 22, 1)).setIndexNames((0, "IP-MIB", "ipNetToMediaIfIndex"), (0, "IP-MIB", "ipNetToMediaNetAddress")) if mibBuilder.loadTexts: ipNetToMediaEntry.setDescription("Each entry contains one IpAddress to `physical' address\nequivalence.") ipNetToMediaIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 22, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipNetToMediaIfIndex.setDescription("The interface on which this entry's equivalence is\neffective. The interface identified by a particular value\nof this index is the same interface as identified by the\n\n\n\nsame value of the IF-MIB's ifIndex.\n\nThis object predates the rule limiting index objects to a\nmax access value of 'not-accessible' and so continues to use\na value of 'read-create'.") ipNetToMediaPhysAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 22, 1, 2), PhysAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipNetToMediaPhysAddress.setDescription("The media-dependent `physical' address. This object should\nreturn 0 when this entry is in the 'incomplete' state.\n\nAs the entries in this table are typically not persistent\nwhen this object is written the entity should not save the\nchange to non-volatile storage. Note: a stronger\nrequirement is not used because this object was previously\ndefined.") ipNetToMediaNetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 22, 1, 3), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipNetToMediaNetAddress.setDescription("The IpAddress corresponding to the media-dependent\n`physical' address.\n\nThis object predates the rule limiting index objects to a\nmax access value of 'not-accessible' and so continues to use\na value of 'read-create'.") ipNetToMediaType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 22, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("dynamic", 3), ("static", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipNetToMediaType.setDescription("The type of mapping.\n\nSetting this object to the value invalid(2) has the effect\n\n\n\nof invalidating the corresponding entry in the\nipNetToMediaTable. That is, it effectively dis-associates\nthe interface identified with said entry from the mapping\nidentified with said entry. It is an implementation-\nspecific matter as to whether the agent removes an\ninvalidated entry from the table. Accordingly, management\nstations must be prepared to receive tabular information\nfrom agents that corresponds to entries not currently in\nuse. Proper interpretation of such entries requires\nexamination of the relevant ipNetToMediaType object.\n\nAs the entries in this table are typically not persistent\nwhen this object is written the entity should not save the\nchange to non-volatile storage. Note: a stronger\nrequirement is not used because this object was previously\ndefined.") ipRoutingDiscards = MibScalar((1, 3, 6, 1, 2, 1, 4, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipRoutingDiscards.setDescription("The number of routing entries which were chosen to be\ndiscarded even though they are valid. One possible reason\nfor discarding such an entry could be to free-up buffer\nspace for other routing entries.\n\n\n\nThis object was defined in pre-IPv6 versions of the IP MIB.\nIt was implicitly IPv4 only, but the original specifications\ndid not indicate this protocol restriction. In order to\nclarify the specifications, this object has been deprecated\nand a similar, but more thoroughly clarified, object has\nbeen added to the IP-FORWARD-MIB.") ipv6IpForwarding = MibScalar((1, 3, 6, 1, 2, 1, 4, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("forwarding", 1), ("notForwarding", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6IpForwarding.setDescription("The indication of whether this entity is acting as an IPv6\nrouter on any interface in respect to the forwarding of\ndatagrams received by, but not addressed to, this entity.\nIPv6 routers forward datagrams. IPv6 hosts do not (except\nthose source-routed via the host).\n\nWhen this object is written, the entity SHOULD save the\nchange to non-volatile storage and restore the object from\nnon-volatile storage upon re-initialization of the system.") ipv6IpDefaultHopLimit = MibScalar((1, 3, 6, 1, 2, 1, 4, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6IpDefaultHopLimit.setDescription("The default value inserted into the Hop Limit field of the\nIPv6 header of datagrams originated at this entity whenever\na Hop Limit value is not supplied by the transport layer\nprotocol.\n\nWhen this object is written, the entity SHOULD save the\nchange to non-volatile storage and restore the object from\nnon-volatile storage upon re-initialization of the system.") ipv4InterfaceTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 4, 27), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv4InterfaceTableLastChange.setDescription("The value of sysUpTime on the most recent occasion at which\na row in the ipv4InterfaceTable was added or deleted, or\nwhen an ipv4InterfaceReasmMaxSize or an\nipv4InterfaceEnableStatus object was modified.\n\nIf new objects are added to the ipv4InterfaceTable that\nrequire the ipv4InterfaceTableLastChange to be updated when\nthey are modified, they must specify that requirement in\ntheir description clause.") ipv4InterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 4, 28)) if mibBuilder.loadTexts: ipv4InterfaceTable.setDescription("The table containing per-interface IPv4-specific\ninformation.") ipv4InterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 28, 1)).setIndexNames((0, "IP-MIB", "ipv4InterfaceIfIndex")) if mibBuilder.loadTexts: ipv4InterfaceEntry.setDescription("An entry containing IPv4-specific information for a specific\ninterface.") ipv4InterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 28, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv4InterfaceIfIndex.setDescription("The index value that uniquely identifies the interface to\nwhich this entry is applicable. The interface identified by\na particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipv4InterfaceReasmMaxSize = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 28, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv4InterfaceReasmMaxSize.setDescription("The size of the largest IPv4 datagram that this entity can\nre-assemble from incoming IPv4 fragmented datagrams received\non this interface.") ipv4InterfaceEnableStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 28, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv4InterfaceEnableStatus.setDescription("The indication of whether IPv4 is enabled (up) or disabled\n(down) on this interface. This object does not affect the\nstate of the interface itself, only its connection to an\nIPv4 stack. The IF-MIB should be used to control the state\nof the interface.") ipv4InterfaceRetransmitTime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 28, 1, 4), Unsigned32().clone(1000)).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv4InterfaceRetransmitTime.setDescription("The time between retransmissions of ARP requests to a\nneighbor when resolving the address or when probing the\nreachability of a neighbor.") ipv6InterfaceTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 4, 29), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6InterfaceTableLastChange.setDescription("The value of sysUpTime on the most recent occasion at which\na row in the ipv6InterfaceTable was added or deleted or when\nan ipv6InterfaceReasmMaxSize, ipv6InterfaceIdentifier,\nipv6InterfaceEnableStatus, ipv6InterfaceReachableTime,\nipv6InterfaceRetransmitTime, or ipv6InterfaceForwarding\nobject was modified.\n\nIf new objects are added to the ipv6InterfaceTable that\nrequire the ipv6InterfaceTableLastChange to be updated when\nthey are modified, they must specify that requirement in\ntheir description clause.") ipv6InterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 4, 30)) if mibBuilder.loadTexts: ipv6InterfaceTable.setDescription("The table containing per-interface IPv6-specific\ninformation.") ipv6InterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 30, 1)).setIndexNames((0, "IP-MIB", "ipv6InterfaceIfIndex")) if mibBuilder.loadTexts: ipv6InterfaceEntry.setDescription("An entry containing IPv6-specific information for a given\ninterface.") ipv6InterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 30, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6InterfaceIfIndex.setDescription("The index value that uniquely identifies the interface to\nwhich this entry is applicable. The interface identified by\na particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipv6InterfaceReasmMaxSize = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 30, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1500, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6InterfaceReasmMaxSize.setDescription("The size of the largest IPv6 datagram that this entity can\nre-assemble from incoming IPv6 fragmented datagrams received\non this interface.") ipv6InterfaceIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 30, 1, 3), Ipv6AddressIfIdentifierTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6InterfaceIdentifier.setDescription("The Interface Identifier for this interface. The Interface\nIdentifier is combined with an address prefix to form an\ninterface address.\n\nBy default, the Interface Identifier is auto-configured\naccording to the rules of the link type to which this\ninterface is attached.\n\n\n\n\nA zero length identifier may be used where appropriate. One\npossible example is a loopback interface.") ipv6InterfaceEnableStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 30, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6InterfaceEnableStatus.setDescription("The indication of whether IPv6 is enabled (up) or disabled\n(down) on this interface. This object does not affect the\nstate of the interface itself, only its connection to an\nIPv6 stack. The IF-MIB should be used to control the state\nof the interface.\n\nWhen this object is written, the entity SHOULD save the\nchange to non-volatile storage and restore the object from\nnon-volatile storage upon re-initialization of the system.") ipv6InterfaceReachableTime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 30, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6InterfaceReachableTime.setDescription("The time a neighbor is considered reachable after receiving\na reachability confirmation.") ipv6InterfaceRetransmitTime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 30, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6InterfaceRetransmitTime.setDescription("The time between retransmissions of Neighbor Solicitation\nmessages to a neighbor when resolving the address or when\nprobing the reachability of a neighbor.") ipv6InterfaceForwarding = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 30, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("forwarding", 1), ("notForwarding", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6InterfaceForwarding.setDescription("The indication of whether this entity is acting as an IPv6\nrouter on this interface with respect to the forwarding of\ndatagrams received by, but not addressed to, this entity.\nIPv6 routers forward datagrams. IPv6 hosts do not (except\nthose source-routed via the host).\n\nThis object is constrained by ipv6IpForwarding and is\nignored if ipv6IpForwarding is set to notForwarding. Those\nsystems that do not provide per-interface control of the\nforwarding function should set this object to forwarding for\nall interfaces and allow the ipv6IpForwarding object to\ncontrol the forwarding capability.\n\nWhen this object is written, the entity SHOULD save the\nchange to non-volatile storage and restore the object from\nnon-volatile storage upon re-initialization of the system.") ipTrafficStats = MibIdentifier((1, 3, 6, 1, 2, 1, 4, 31)) ipSystemStatsTable = MibTable((1, 3, 6, 1, 2, 1, 4, 31, 1)) if mibBuilder.loadTexts: ipSystemStatsTable.setDescription("The table containing system wide, IP version specific\ntraffic statistics. This table and the ipIfStatsTable\ncontain similar objects whose difference is in their\ngranularity. Where this table contains system wide traffic\nstatistics, the ipIfStatsTable contains the same statistics\nbut counted on a per-interface basis.") ipSystemStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 31, 1, 1)).setIndexNames((0, "IP-MIB", "ipSystemStatsIPVersion")) if mibBuilder.loadTexts: ipSystemStatsEntry.setDescription("A statistics entry containing system-wide objects for a\nparticular IP version.") ipSystemStatsIPVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 1), InetVersion()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipSystemStatsIPVersion.setDescription("The IP version of this row.") ipSystemStatsInReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInReceives.setDescription("The total number of input IP datagrams received, including\nthose received in error.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCInReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCInReceives.setDescription("The total number of input IP datagrams received, including\nthose received in error. This object counts the same\ndatagrams as ipSystemStatsInReceives, but allows for larger\nvalues.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInOctets.setDescription("The total number of octets received in input IP datagrams,\nincluding those received in error. Octets from datagrams\ncounted in ipSystemStatsInReceives MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCInOctets.setDescription("The total number of octets received in input IP datagrams,\nincluding those received in error. This object counts the\nsame octets as ipSystemStatsInOctets, but allows for larger\n\n\n\nvalues.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInHdrErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInHdrErrors.setDescription("The number of input IP datagrams discarded due to errors in\ntheir IP headers, including version number mismatch, other\nformat errors, hop count exceeded, errors discovered in\nprocessing their IP options, etc.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInNoRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInNoRoutes.setDescription("The number of input IP datagrams discarded because no route\ncould be found to transmit them to their destination.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInAddrErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInAddrErrors.setDescription("The number of input IP datagrams discarded because the IP\naddress in their IP header's destination field was not a\nvalid address to be received at this entity. This count\nincludes invalid addresses (e.g., ::0). For entities\nthat are not IP routers and therefore do not forward\n\n\n\ndatagrams, this counter includes datagrams discarded\nbecause the destination address was not a local address.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInUnknownProtos = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInUnknownProtos.setDescription("The number of locally-addressed IP datagrams received\nsuccessfully but discarded because of an unknown or\nunsupported protocol.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these datagrams were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the datagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInTruncatedPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInTruncatedPkts.setDescription("The number of input IP datagrams discarded because the\ndatagram frame didn't carry enough data.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInForwDatagrams.setDescription("The number of input datagrams for which this entity was not\ntheir final IP destination and for which this entity\nattempted to find a route to forward them to that final\ndestination. In entities that do not act as IP routers,\nthis counter will include only those datagrams that were\nSource-Routed via this entity, and the Source-Route\nprocessing was successful.\n\nWhen tracking interface statistics, the counter of the\nincoming interface is incremented for each datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCInForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCInForwDatagrams.setDescription("The number of input datagrams for which this entity was not\ntheir final IP destination and for which this entity\nattempted to find a route to forward them to that final\ndestination. This object counts the same packets as\nipSystemStatsInForwDatagrams, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsReasmReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsReasmReqds.setDescription("The number of IP fragments received that needed to be\nreassembled at this interface.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these fragments were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the fragments.\n\nDiscontinuities in the value of this counter can occur at\n\n\n\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsReasmOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsReasmOKs.setDescription("The number of IP datagrams successfully reassembled.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these datagrams were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the datagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsReasmFails = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsReasmFails.setDescription("The number of failures detected by the IP re-assembly\nalgorithm (for whatever reason: timed out, errors, etc.).\nNote that this is not necessarily a count of discarded IP\nfragments since some algorithms (notably the algorithm in\nRFC 815) can lose track of the number of fragments by\ncombining them as they are received.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these fragments were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the fragments.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInDiscards.setDescription("The number of input IP datagrams for which no problems were\nencountered to prevent their continued processing, but\nwere discarded (e.g., for lack of buffer space). Note that\nthis counter does not include any datagrams discarded while\nawaiting re-assembly.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInDelivers = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInDelivers.setDescription("The total number of datagrams successfully delivered to IP\nuser-protocols (including ICMP).\n\nWhen tracking interface statistics, the counter of the\ninterface to which these datagrams were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the datagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCInDelivers = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCInDelivers.setDescription("The total number of datagrams successfully delivered to IP\nuser-protocols (including ICMP). This object counts the\nsame packets as ipSystemStatsInDelivers, but allows for\nlarger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutRequests.setDescription("The total number of IP datagrams that local IP user-\nprotocols (including ICMP) supplied to IP in requests for\ntransmission. Note that this counter does not include any\ndatagrams counted in ipSystemStatsOutForwDatagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCOutRequests.setDescription("The total number of IP datagrams that local IP user-\nprotocols (including ICMP) supplied to IP in requests for\ntransmission. This object counts the same packets as\nipSystemStatsOutRequests, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutNoRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutNoRoutes.setDescription("The number of locally generated IP datagrams discarded\nbecause no route could be found to transmit them to their\ndestination.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutForwDatagrams.setDescription("The number of datagrams for which this entity was not their\nfinal IP destination and for which it was successful in\nfinding a path to their final destination. In entities\nthat do not act as IP routers, this counter will include\nonly those datagrams that were Source-Routed via this\nentity, and the Source-Route processing was successful.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for a successfully\nforwarded datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCOutForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCOutForwDatagrams.setDescription("The number of datagrams for which this entity was not their\nfinal IP destination and for which it was successful in\nfinding a path to their final destination. This object\ncounts the same packets as ipSystemStatsOutForwDatagrams,\nbut allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutDiscards.setDescription("The number of output IP datagrams for which no problem was\nencountered to prevent their transmission to their\ndestination, but were discarded (e.g., for lack of\nbuffer space). Note that this counter would include\n\n\n\ndatagrams counted in ipSystemStatsOutForwDatagrams if any\nsuch datagrams met this (discretionary) discard criterion.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutFragReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutFragReqds.setDescription("The number of IP datagrams that would require fragmentation\nin order to be transmitted.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for a successfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutFragOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutFragOKs.setDescription("The number of IP datagrams that have been successfully\nfragmented.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for a successfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutFragFails = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutFragFails.setDescription("The number of IP datagrams that have been discarded because\nthey needed to be fragmented but could not be. This\nincludes IPv4 packets that have the DF bit set and IPv6\npackets that are being forwarded and exceed the outgoing\nlink MTU.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for an unsuccessfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutFragCreates = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutFragCreates.setDescription("The number of output datagram fragments that have been\ngenerated as a result of IP fragmentation.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for a successfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutTransmits = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutTransmits.setDescription("The total number of IP datagrams that this entity supplied\nto the lower layers for transmission. This includes\ndatagrams generated locally and those forwarded by this\nentity.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\n\n\n\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCOutTransmits = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 31), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCOutTransmits.setDescription("The total number of IP datagrams that this entity supplied\nto the lower layers for transmission. This object counts\nthe same datagrams as ipSystemStatsOutTransmits, but allows\nfor larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutOctets.setDescription("The total number of octets in IP datagrams delivered to the\nlower layers for transmission. Octets from datagrams\ncounted in ipSystemStatsOutTransmits MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 33), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCOutOctets.setDescription("The total number of octets in IP datagrams delivered to the\nlower layers for transmission. This objects counts the same\noctets as ipSystemStatsOutOctets, but allows for larger\nvalues.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\n\n\n\nipSystemStatsDiscontinuityTime.") ipSystemStatsInMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInMcastPkts.setDescription("The number of IP multicast datagrams received.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCInMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 35), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCInMcastPkts.setDescription("The number of IP multicast datagrams received. This object\ncounts the same datagrams as ipSystemStatsInMcastPkts but\nallows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInMcastOctets.setDescription("The total number of octets received in IP multicast\ndatagrams. Octets from datagrams counted in\nipSystemStatsInMcastPkts MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCInMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 37), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCInMcastOctets.setDescription("The total number of octets received in IP multicast\ndatagrams. This object counts the same octets as\nipSystemStatsInMcastOctets, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutMcastPkts.setDescription("The number of IP multicast datagrams transmitted.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCOutMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 39), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCOutMcastPkts.setDescription("The number of IP multicast datagrams transmitted. This\nobject counts the same datagrams as\nipSystemStatsOutMcastPkts, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutMcastOctets.setDescription("The total number of octets transmitted in IP multicast\ndatagrams. Octets from datagrams counted in\n\n\n\nipSystemStatsOutMcastPkts MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCOutMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 41), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCOutMcastOctets.setDescription("The total number of octets transmitted in IP multicast\ndatagrams. This object counts the same octets as\nipSystemStatsOutMcastOctets, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsInBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsInBcastPkts.setDescription("The number of IP broadcast datagrams received.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCInBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 43), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCInBcastPkts.setDescription("The number of IP broadcast datagrams received. This object\ncounts the same datagrams as ipSystemStatsInBcastPkts but\nallows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\n\n\n\nipSystemStatsDiscontinuityTime.") ipSystemStatsOutBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsOutBcastPkts.setDescription("The number of IP broadcast datagrams transmitted.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsHCOutBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 45), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsHCOutBcastPkts.setDescription("The number of IP broadcast datagrams transmitted. This\nobject counts the same datagrams as\nipSystemStatsOutBcastPkts, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipSystemStatsDiscontinuityTime.") ipSystemStatsDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 46), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany one or more of this entry's counters suffered a\ndiscontinuity.\n\nIf no such discontinuities have occurred since the last re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") ipSystemStatsRefreshRate = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 1, 1, 47), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSystemStatsRefreshRate.setDescription("The minimum reasonable polling interval for this entry.\nThis object provides an indication of the minimum amount of\ntime required to update the counters in this entry.") ipIfStatsTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 4, 31, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsTableLastChange.setDescription("The value of sysUpTime on the most recent occasion at which\na row in the ipIfStatsTable was added or deleted.\n\nIf new objects are added to the ipIfStatsTable that require\nthe ipIfStatsTableLastChange to be updated when they are\nmodified, they must specify that requirement in their\ndescription clause.") ipIfStatsTable = MibTable((1, 3, 6, 1, 2, 1, 4, 31, 3)) if mibBuilder.loadTexts: ipIfStatsTable.setDescription("The table containing per-interface traffic statistics. This\ntable and the ipSystemStatsTable contain similar objects\nwhose difference is in their granularity. Where this table\ncontains per-interface statistics, the ipSystemStatsTable\ncontains the same statistics, but counted on a system wide\nbasis.") ipIfStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 31, 3, 1)).setIndexNames((0, "IP-MIB", "ipIfStatsIPVersion"), (0, "IP-MIB", "ipIfStatsIfIndex")) if mibBuilder.loadTexts: ipIfStatsEntry.setDescription("An interface statistics entry containing objects for a\nparticular interface and version of IP.") ipIfStatsIPVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 1), InetVersion()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipIfStatsIPVersion.setDescription("The IP version of this row.") ipIfStatsIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipIfStatsIfIndex.setDescription("The index value that uniquely identifies the interface to\nwhich this entry is applicable. The interface identified by\na particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipIfStatsInReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInReceives.setDescription("The total number of input IP datagrams received, including\nthose received in error.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCInReceives = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCInReceives.setDescription("The total number of input IP datagrams received, including\nthose received in error. This object counts the same\ndatagrams as ipIfStatsInReceives, but allows for larger\nvalues.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInOctets.setDescription("The total number of octets received in input IP datagrams,\nincluding those received in error. Octets from datagrams\ncounted in ipIfStatsInReceives MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCInOctets.setDescription("The total number of octets received in input IP datagrams,\nincluding those received in error. This object counts the\nsame octets as ipIfStatsInOctets, but allows for larger\nvalues.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInHdrErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInHdrErrors.setDescription("The number of input IP datagrams discarded due to errors in\ntheir IP headers, including version number mismatch, other\nformat errors, hop count exceeded, errors discovered in\nprocessing their IP options, etc.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInNoRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInNoRoutes.setDescription("The number of input IP datagrams discarded because no route\ncould be found to transmit them to their destination.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInAddrErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInAddrErrors.setDescription("The number of input IP datagrams discarded because the IP\naddress in their IP header's destination field was not a\nvalid address to be received at this entity. This count\nincludes invalid addresses (e.g., ::0). For entities that\nare not IP routers and therefore do not forward datagrams,\nthis counter includes datagrams discarded because the\ndestination address was not a local address.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInUnknownProtos = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInUnknownProtos.setDescription("The number of locally-addressed IP datagrams received\nsuccessfully but discarded because of an unknown or\nunsupported protocol.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these datagrams were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the datagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\n\n\n\nipIfStatsDiscontinuityTime.") ipIfStatsInTruncatedPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInTruncatedPkts.setDescription("The number of input IP datagrams discarded because the\ndatagram frame didn't carry enough data.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInForwDatagrams.setDescription("The number of input datagrams for which this entity was not\ntheir final IP destination and for which this entity\nattempted to find a route to forward them to that final\ndestination. In entities that do not act as IP routers,\nthis counter will include only those datagrams that were\nSource-Routed via this entity, and the Source-Route\nprocessing was successful.\n\nWhen tracking interface statistics, the counter of the\nincoming interface is incremented for each datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCInForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCInForwDatagrams.setDescription("The number of input datagrams for which this entity was not\ntheir final IP destination and for which this entity\nattempted to find a route to forward them to that final\ndestination. This object counts the same packets as\n\n\n\nipIfStatsInForwDatagrams, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsReasmReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsReasmReqds.setDescription("The number of IP fragments received that needed to be\nreassembled at this interface.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these fragments were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the fragments.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsReasmOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsReasmOKs.setDescription("The number of IP datagrams successfully reassembled.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these datagrams were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the datagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsReasmFails = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsReasmFails.setDescription("The number of failures detected by the IP re-assembly\nalgorithm (for whatever reason: timed out, errors, etc.).\nNote that this is not necessarily a count of discarded IP\nfragments since some algorithms (notably the algorithm in\nRFC 815) can lose track of the number of fragments by\ncombining them as they are received.\n\nWhen tracking interface statistics, the counter of the\ninterface to which these fragments were addressed is\nincremented. This interface might not be the same as the\ninput interface for some of the fragments.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInDiscards.setDescription("The number of input IP datagrams for which no problems were\nencountered to prevent their continued processing, but\nwere discarded (e.g., for lack of buffer space). Note that\nthis counter does not include any datagrams discarded while\nawaiting re-assembly.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInDelivers = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInDelivers.setDescription("The total number of datagrams successfully delivered to IP\nuser-protocols (including ICMP).\n\nWhen tracking interface statistics, the counter of the\ninterface to which these datagrams were addressed is\nincremented. This interface might not be the same as the\n\n\n\ninput interface for some of the datagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCInDelivers = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCInDelivers.setDescription("The total number of datagrams successfully delivered to IP\nuser-protocols (including ICMP). This object counts the\nsame packets as ipIfStatsInDelivers, but allows for larger\nvalues.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutRequests.setDescription("The total number of IP datagrams that local IP user-\nprotocols (including ICMP) supplied to IP in requests for\ntransmission. Note that this counter does not include any\ndatagrams counted in ipIfStatsOutForwDatagrams.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCOutRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCOutRequests.setDescription("The total number of IP datagrams that local IP user-\nprotocols (including ICMP) supplied to IP in requests for\ntransmission. This object counts the same packets as\n\n\n\nipIfStatsOutRequests, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutForwDatagrams.setDescription("The number of datagrams for which this entity was not their\nfinal IP destination and for which it was successful in\nfinding a path to their final destination. In entities\nthat do not act as IP routers, this counter will include\nonly those datagrams that were Source-Routed via this\nentity, and the Source-Route processing was successful.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for a successfully\nforwarded datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCOutForwDatagrams = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCOutForwDatagrams.setDescription("The number of datagrams for which this entity was not their\nfinal IP destination and for which it was successful in\nfinding a path to their final destination. This object\ncounts the same packets as ipIfStatsOutForwDatagrams, but\nallows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\n\n\n\nipIfStatsDiscontinuityTime.") ipIfStatsOutDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutDiscards.setDescription("The number of output IP datagrams for which no problem was\nencountered to prevent their transmission to their\ndestination, but were discarded (e.g., for lack of\nbuffer space). Note that this counter would include\ndatagrams counted in ipIfStatsOutForwDatagrams if any such\ndatagrams met this (discretionary) discard criterion.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutFragReqds = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutFragReqds.setDescription("The number of IP datagrams that would require fragmentation\nin order to be transmitted.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for a successfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutFragOKs = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutFragOKs.setDescription("The number of IP datagrams that have been successfully\nfragmented.\n\nWhen tracking interface statistics, the counter of the\n\n\n\noutgoing interface is incremented for a successfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutFragFails = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutFragFails.setDescription("The number of IP datagrams that have been discarded because\nthey needed to be fragmented but could not be. This\nincludes IPv4 packets that have the DF bit set and IPv6\npackets that are being forwarded and exceed the outgoing\nlink MTU.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for an unsuccessfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutFragCreates = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutFragCreates.setDescription("The number of output datagram fragments that have been\ngenerated as a result of IP fragmentation.\n\nWhen tracking interface statistics, the counter of the\noutgoing interface is incremented for a successfully\nfragmented datagram.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutTransmits = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutTransmits.setDescription("The total number of IP datagrams that this entity supplied\nto the lower layers for transmission. This includes\ndatagrams generated locally and those forwarded by this\nentity.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCOutTransmits = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 31), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCOutTransmits.setDescription("The total number of IP datagrams that this entity supplied\nto the lower layers for transmission. This object counts\nthe same datagrams as ipIfStatsOutTransmits, but allows for\nlarger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutOctets.setDescription("The total number of octets in IP datagrams delivered to the\nlower layers for transmission. Octets from datagrams\ncounted in ipIfStatsOutTransmits MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 33), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCOutOctets.setDescription("The total number of octets in IP datagrams delivered to the\nlower layers for transmission. This objects counts the same\noctets as ipIfStatsOutOctets, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInMcastPkts.setDescription("The number of IP multicast datagrams received.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCInMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 35), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCInMcastPkts.setDescription("The number of IP multicast datagrams received. This object\ncounts the same datagrams as ipIfStatsInMcastPkts, but\nallows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInMcastOctets.setDescription("The total number of octets received in IP multicast\n\n\n\ndatagrams. Octets from datagrams counted in\nipIfStatsInMcastPkts MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCInMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 37), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCInMcastOctets.setDescription("The total number of octets received in IP multicast\ndatagrams. This object counts the same octets as\nipIfStatsInMcastOctets, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutMcastPkts.setDescription("The number of IP multicast datagrams transmitted.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCOutMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 39), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCOutMcastPkts.setDescription("The number of IP multicast datagrams transmitted. This\nobject counts the same datagrams as ipIfStatsOutMcastPkts,\nbut allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\n\n\n\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutMcastOctets.setDescription("The total number of octets transmitted in IP multicast\ndatagrams. Octets from datagrams counted in\nipIfStatsOutMcastPkts MUST be counted here.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCOutMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 41), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCOutMcastOctets.setDescription("The total number of octets transmitted in IP multicast\ndatagrams. This object counts the same octets as\nipIfStatsOutMcastOctets, but allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsInBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsInBcastPkts.setDescription("The number of IP broadcast datagrams received.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCInBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 43), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCInBcastPkts.setDescription("The number of IP broadcast datagrams received. This object\ncounts the same datagrams as ipIfStatsInBcastPkts, but\nallows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsOutBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsOutBcastPkts.setDescription("The number of IP broadcast datagrams transmitted.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsHCOutBcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 45), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsHCOutBcastPkts.setDescription("The number of IP broadcast datagrams transmitted. This\nobject counts the same datagrams as ipIfStatsOutBcastPkts,\nbut allows for larger values.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nipIfStatsDiscontinuityTime.") ipIfStatsDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 46), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\n\n\n\nany one or more of this entry's counters suffered a\ndiscontinuity.\n\nIf no such discontinuities have occurred since the last re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") ipIfStatsRefreshRate = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 31, 3, 1, 47), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipIfStatsRefreshRate.setDescription("The minimum reasonable polling interval for this entry.\nThis object provides an indication of the minimum amount of\ntime required to update the counters in this entry.") ipAddressPrefixTable = MibTable((1, 3, 6, 1, 2, 1, 4, 32)) if mibBuilder.loadTexts: ipAddressPrefixTable.setDescription("This table allows the user to determine the source of an IP\naddress or set of IP addresses, and allows other tables to\nshare the information via pointer rather than by copying.\n\nFor example, when the node configures both a unicast and\nanycast address for a prefix, the ipAddressPrefix objects\nfor those addresses will point to a single row in this\ntable.\n\nThis table primarily provides support for IPv6 prefixes, and\nseveral of the objects are less meaningful for IPv4. The\ntable continues to allow IPv4 addresses to allow future\nflexibility. In order to promote a common configuration,\nthis document includes suggestions for default values for\nIPv4 prefixes. Each of these values may be overridden if an\nobject is meaningful to the node.\n\nAll prefixes used by this entity should be included in this\ntable independent of how the entity learned the prefix.\n(This table isn't limited to prefixes learned from router\n\n\n\nadvertisements.)") ipAddressPrefixEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 32, 1)).setIndexNames((0, "IP-MIB", "ipAddressPrefixIfIndex"), (0, "IP-MIB", "ipAddressPrefixType"), (0, "IP-MIB", "ipAddressPrefixPrefix"), (0, "IP-MIB", "ipAddressPrefixLength")) if mibBuilder.loadTexts: ipAddressPrefixEntry.setDescription("An entry in the ipAddressPrefixTable.") ipAddressPrefixIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipAddressPrefixIfIndex.setDescription("The index value that uniquely identifies the interface on\nwhich this prefix is configured. The interface identified\nby a particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipAddressPrefixType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 2), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipAddressPrefixType.setDescription("The address type of ipAddressPrefix.") ipAddressPrefixPrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 3), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipAddressPrefixPrefix.setDescription("The address prefix. The address type of this object is\nspecified in ipAddressPrefixType. The length of this object\nis the standard length for objects of that type (4 or 16\nbytes). Any bits after ipAddressPrefixLength must be zero.\n\nImplementors need to be aware that, if the size of\nipAddressPrefixPrefix exceeds 114 octets, then OIDS of\ninstances of columns in this row will have more than 128\nsub-identifiers and cannot be accessed using SNMPv1,\nSNMPv2c, or SNMPv3.") ipAddressPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 4), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipAddressPrefixLength.setDescription("The prefix length associated with this prefix.\n\nThe value 0 has no special meaning for this object. It\nsimply refers to address '::/0'.") ipAddressPrefixOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 5), IpAddressPrefixOriginTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressPrefixOrigin.setDescription("The origin of this prefix.") ipAddressPrefixOnLinkFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressPrefixOnLinkFlag.setDescription("This object has the value 'true(1)', if this prefix can be\nused for on-link determination; otherwise, the value is\n'false(2)'.\n\nThe default for IPv4 prefixes is 'true(1)'.") ipAddressPrefixAutonomousFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressPrefixAutonomousFlag.setDescription("Autonomous address configuration flag. When true(1),\nindicates that this prefix can be used for autonomous\naddress configuration (i.e., can be used to form a local\ninterface address). If false(2), it is not used to auto-\nconfigure a local interface address.\n\nThe default for IPv4 prefixes is 'false(2)'.") ipAddressPrefixAdvPreferredLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressPrefixAdvPreferredLifetime.setDescription("The remaining length of time, in seconds, that this prefix\nwill continue to be preferred, i.e., time until deprecation.\n\nA value of 4,294,967,295 represents infinity.\n\nThe address generated from a deprecated prefix should no\nlonger be used as a source address in new communications,\nbut packets received on such an interface are processed as\nexpected.\n\nThe default for IPv4 prefixes is 4,294,967,295 (infinity).") ipAddressPrefixAdvValidLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 32, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressPrefixAdvValidLifetime.setDescription("The remaining length of time, in seconds, that this prefix\nwill continue to be valid, i.e., time until invalidation. A\nvalue of 4,294,967,295 represents infinity.\n\nThe address generated from an invalidated prefix should not\nappear as the destination or source address of a packet.\n\n\n\n\nThe default for IPv4 prefixes is 4,294,967,295 (infinity).") ipAddressSpinLock = MibScalar((1, 3, 6, 1, 2, 1, 4, 33), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipAddressSpinLock.setDescription("An advisory lock used to allow cooperating SNMP managers to\ncoordinate their use of the set operation in creating or\nmodifying rows within this table.\n\nIn order to use this lock to coordinate the use of set\noperations, managers should first retrieve\nipAddressTableSpinLock. They should then determine the\nappropriate row to create or modify. Finally, they should\nissue the appropriate set command, including the retrieved\nvalue of ipAddressSpinLock. If another manager has altered\nthe table in the meantime, then the value of\nipAddressSpinLock will have changed, and the creation will\nfail as it will be specifying an incorrect value for\nipAddressSpinLock. It is suggested, but not required, that\nthe ipAddressSpinLock be the first var bind for each set of\nobjects representing a 'row' in a PDU.") ipAddressTable = MibTable((1, 3, 6, 1, 2, 1, 4, 34)) if mibBuilder.loadTexts: ipAddressTable.setDescription("This table contains addressing information relevant to the\nentity's interfaces.\n\nThis table does not contain multicast address information.\nTables for such information should be contained in multicast\nspecific MIBs, such as RFC 3019.\n\nWhile this table is writable, the user will note that\nseveral objects, such as ipAddressOrigin, are not. The\nintention in allowing a user to write to this table is to\nallow them to add or remove any entry that isn't\n\n\n\npermanent. The user should be allowed to modify objects\nand entries when that would not cause inconsistencies\nwithin the table. Allowing write access to objects, such\nas ipAddressOrigin, could allow a user to insert an entry\nand then label it incorrectly.\n\nNote well: When including IPv6 link-local addresses in this\ntable, the entry must use an InetAddressType of 'ipv6z' in\norder to differentiate between the possible interfaces.") ipAddressEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 34, 1)).setIndexNames((0, "IP-MIB", "ipAddressAddrType"), (0, "IP-MIB", "ipAddressAddr")) if mibBuilder.loadTexts: ipAddressEntry.setDescription("An address mapping for a particular interface.") ipAddressAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipAddressAddrType.setDescription("The address type of ipAddressAddr.") ipAddressAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipAddressAddr.setDescription("The IP address to which this entry's addressing information\n\n\n\npertains. The address type of this object is specified in\nipAddressAddrType.\n\nImplementors need to be aware that if the size of\nipAddressAddr exceeds 116 octets, then OIDS of instances of\ncolumns in this row will have more than 128 sub-identifiers\nand cannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") ipAddressIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 3), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipAddressIfIndex.setDescription("The index value that uniquely identifies the interface to\nwhich this entry is applicable. The interface identified by\na particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("unicast", 1), ("anycast", 2), ("broadcast", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipAddressType.setDescription("The type of address. broadcast(3) is not a valid value for\nIPv6 addresses (RFC 3513).") ipAddressPrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 5), RowPointer().clone('0.0')).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressPrefix.setDescription("A pointer to the row in the prefix table to which this\naddress belongs. May be { 0 0 } if there is no such row.") ipAddressOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 6), IpAddressOriginTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressOrigin.setDescription("The origin of the address.") ipAddressStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 7), IpAddressStatusTC().clone('preferred')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipAddressStatus.setDescription("The status of the address, describing if the address can be\nused for communication.\n\nIn the absence of other information, an IPv4 address is\nalways preferred(1).") ipAddressCreated = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressCreated.setDescription("The value of sysUpTime at the time this entry was created.\nIf this entry was created prior to the last re-\ninitialization of the local network management subsystem,\nthen this object contains a zero value.") ipAddressLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipAddressLastChanged.setDescription("The value of sysUpTime at the time this entry was last\nupdated. If this entry was updated prior to the last re-\ninitialization of the local network management subsystem,\nthen this object contains a zero value.") ipAddressRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipAddressRowStatus.setDescription("The status of this conceptual row.\n\nThe RowStatus TC requires that this DESCRIPTION clause\nstates under which circumstances other objects in this row\n\n\n\ncan be modified. The value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.\n\nA conceptual row can not be made active until the\nipAddressIfIndex has been set to a valid index.") ipAddressStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 34, 1, 11), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipAddressStorageType.setDescription("The storage type for this conceptual row. If this object\nhas a value of 'permanent', then no other objects are\nrequired to be able to be modified.") ipNetToPhysicalTable = MibTable((1, 3, 6, 1, 2, 1, 4, 35)) if mibBuilder.loadTexts: ipNetToPhysicalTable.setDescription("The IP Address Translation table used for mapping from IP\naddresses to physical addresses.\n\nThe Address Translation tables contain the IP address to\n'physical' address equivalences. Some interfaces do not use\ntranslation tables for determining address equivalences\n(e.g., DDN-X.25 has an algorithmic method); if all\ninterfaces are of this type, then the Address Translation\ntable is empty, i.e., has zero entries.\n\nWhile many protocols may be used to populate this table, ARP\nand Neighbor Discovery are the most likely\noptions.") ipNetToPhysicalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 35, 1)).setIndexNames((0, "IP-MIB", "ipNetToPhysicalIfIndex"), (0, "IP-MIB", "ipNetToPhysicalNetAddressType"), (0, "IP-MIB", "ipNetToPhysicalNetAddress")) if mibBuilder.loadTexts: ipNetToPhysicalEntry.setDescription("Each entry contains one IP address to `physical' address\nequivalence.") ipNetToPhysicalIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipNetToPhysicalIfIndex.setDescription("The index value that uniquely identifies the interface to\nwhich this entry is applicable. The interface identified by\na particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipNetToPhysicalNetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 2), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipNetToPhysicalNetAddressType.setDescription("The type of ipNetToPhysicalNetAddress.") ipNetToPhysicalNetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 3), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipNetToPhysicalNetAddress.setDescription("The IP Address corresponding to the media-dependent\n`physical' address. The address type of this object is\nspecified in ipNetToPhysicalAddressType.\n\nImplementors need to be aware that if the size of\n\n\n\nipNetToPhysicalNetAddress exceeds 115 octets, then OIDS of\ninstances of columns in this row will have more than 128\nsub-identifiers and cannot be accessed using SNMPv1,\nSNMPv2c, or SNMPv3.") ipNetToPhysicalPhysAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 4), PhysAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipNetToPhysicalPhysAddress.setDescription("The media-dependent `physical' address.\n\nAs the entries in this table are typically not persistent\nwhen this object is written the entity SHOULD NOT save the\nchange to non-volatile storage.") ipNetToPhysicalLastUpdated = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipNetToPhysicalLastUpdated.setDescription("The value of sysUpTime at the time this entry was last\nupdated. If this entry was updated prior to the last re-\ninitialization of the local network management subsystem,\nthen this object contains a zero value.") ipNetToPhysicalType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,5,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("dynamic", 3), ("static", 4), ("local", 5), )).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipNetToPhysicalType.setDescription("The type of mapping.\n\nSetting this object to the value invalid(2) has the effect\nof invalidating the corresponding entry in the\nipNetToPhysicalTable. That is, it effectively dis-\nassociates the interface identified with said entry from the\nmapping identified with said entry. It is an\nimplementation-specific matter as to whether the agent\n\n\n\nremoves an invalidated entry from the table. Accordingly,\nmanagement stations must be prepared to receive tabular\ninformation from agents that corresponds to entries not\ncurrently in use. Proper interpretation of such entries\nrequires examination of the relevant ipNetToPhysicalType\nobject.\n\nThe 'dynamic(3)' type indicates that the IP address to\nphysical addresses mapping has been dynamically resolved\nusing e.g., IPv4 ARP or the IPv6 Neighbor Discovery\nprotocol.\n\nThe 'static(4)' type indicates that the mapping has been\nstatically configured. Both of these refer to entries that\nprovide mappings for other entities addresses.\n\nThe 'local(5)' type indicates that the mapping is provided\nfor an entity's own interface address.\n\nAs the entries in this table are typically not persistent\nwhen this object is written the entity SHOULD NOT save the\nchange to non-volatile storage.") ipNetToPhysicalState = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,7,6,2,4,5,)).subtype(namedValues=NamedValues(("reachable", 1), ("stale", 2), ("delay", 3), ("probe", 4), ("invalid", 5), ("unknown", 6), ("incomplete", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipNetToPhysicalState.setDescription("The Neighbor Unreachability Detection state for the\ninterface when the address mapping in this entry is used.\nIf Neighbor Unreachability Detection is not in use (e.g. for\nIPv4), this object is always unknown(6).") ipNetToPhysicalRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 35, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipNetToPhysicalRowStatus.setDescription("The status of this conceptual row.\n\nThe RowStatus TC requires that this DESCRIPTION clause\nstates under which circumstances other objects in this row\ncan be modified. The value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.\n\nA conceptual row can not be made active until the\nipNetToPhysicalPhysAddress object has been set.\n\nNote that if the ipNetToPhysicalType is set to 'invalid',\nthe managed node may delete the entry independent of the\nstate of this object.") ipv6ScopeZoneIndexTable = MibTable((1, 3, 6, 1, 2, 1, 4, 36)) if mibBuilder.loadTexts: ipv6ScopeZoneIndexTable.setDescription("The table used to describe IPv6 unicast and multicast scope\nzones.\n\nFor those objects that have names rather than numbers, the\nnames were chosen to coincide with the names used in the\nIPv6 address architecture document. ") ipv6ScopeZoneIndexEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 36, 1)).setIndexNames((0, "IP-MIB", "ipv6ScopeZoneIndexIfIndex")) if mibBuilder.loadTexts: ipv6ScopeZoneIndexEntry.setDescription("Each entry contains the list of scope identifiers on a given\ninterface.") ipv6ScopeZoneIndexIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6ScopeZoneIndexIfIndex.setDescription("The index value that uniquely identifies the interface to\nwhich these scopes belong. The interface identified by a\nparticular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipv6ScopeZoneIndexLinkLocal = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 2), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexLinkLocal.setDescription("The zone index for the link-local scope on this interface.") ipv6ScopeZoneIndex3 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 3), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndex3.setDescription("The zone index for scope 3 on this interface.") ipv6ScopeZoneIndexAdminLocal = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 4), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexAdminLocal.setDescription("The zone index for the admin-local scope on this interface.") ipv6ScopeZoneIndexSiteLocal = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 5), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexSiteLocal.setDescription("The zone index for the site-local scope on this interface.") ipv6ScopeZoneIndex6 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 6), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndex6.setDescription("The zone index for scope 6 on this interface.") ipv6ScopeZoneIndex7 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 7), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndex7.setDescription("The zone index for scope 7 on this interface.") ipv6ScopeZoneIndexOrganizationLocal = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 8), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexOrganizationLocal.setDescription("The zone index for the organization-local scope on this\ninterface.") ipv6ScopeZoneIndex9 = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 9), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndex9.setDescription("The zone index for scope 9 on this interface.") ipv6ScopeZoneIndexA = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 10), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexA.setDescription("The zone index for scope A on this interface.") ipv6ScopeZoneIndexB = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 11), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexB.setDescription("The zone index for scope B on this interface.") ipv6ScopeZoneIndexC = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 12), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexC.setDescription("The zone index for scope C on this interface.") ipv6ScopeZoneIndexD = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 36, 1, 13), InetZoneIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6ScopeZoneIndexD.setDescription("The zone index for scope D on this interface.") ipDefaultRouterTable = MibTable((1, 3, 6, 1, 2, 1, 4, 37)) if mibBuilder.loadTexts: ipDefaultRouterTable.setDescription("The table used to describe the default routers known to this\n\n\n\nentity.") ipDefaultRouterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 37, 1)).setIndexNames((0, "IP-MIB", "ipDefaultRouterAddressType"), (0, "IP-MIB", "ipDefaultRouterAddress"), (0, "IP-MIB", "ipDefaultRouterIfIndex")) if mibBuilder.loadTexts: ipDefaultRouterEntry.setDescription("Each entry contains information about a default router known\nto this entity.") ipDefaultRouterAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 37, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipDefaultRouterAddressType.setDescription("The address type for this row.") ipDefaultRouterAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 37, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipDefaultRouterAddress.setDescription("The IP address of the default router represented by this\nrow. The address type of this object is specified in\nipDefaultRouterAddressType.\n\nImplementers need to be aware that if the size of\nipDefaultRouterAddress exceeds 115 octets, then OIDS of\ninstances of columns in this row will have more than 128\nsub-identifiers and cannot be accessed using SNMPv1,\nSNMPv2c, or SNMPv3.") ipDefaultRouterIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 37, 1, 3), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipDefaultRouterIfIndex.setDescription("The index value that uniquely identifies the interface by\nwhich the router can be reached. The interface identified\nby a particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipDefaultRouterLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 37, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipDefaultRouterLifetime.setDescription("The remaining length of time, in seconds, that this router\nwill continue to be useful as a default router. A value of\nzero indicates that it is no longer useful as a default\nrouter. It is left to the implementer of the MIB as to\nwhether a router with a lifetime of zero is removed from the\nlist.\n\nFor IPv6, this value should be extracted from the router\nadvertisement messages.") ipDefaultRouterPreference = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 37, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,0,-2,-1,)).subtype(namedValues=NamedValues(("low", -1), ("reserved", -2), ("medium", 0), ("high", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipDefaultRouterPreference.setDescription("An indication of preference given to this router as a\ndefault router as described in he Default Router\nPreferences document. Treating the value as a\n2 bit signed integer allows for simple arithmetic\ncomparisons.\n\nFor IPv4 routers or IPv6 routers that are not using the\nupdated router advertisement format, this object is set to\nmedium (0).") ipv6RouterAdvertSpinLock = MibScalar((1, 3, 6, 1, 2, 1, 4, 38), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6RouterAdvertSpinLock.setDescription("An advisory lock used to allow cooperating SNMP managers to\ncoordinate their use of the set operation in creating or\nmodifying rows within this table.\n\nIn order to use this lock to coordinate the use of set\noperations, managers should first retrieve\nipv6RouterAdvertSpinLock. They should then determine the\nappropriate row to create or modify. Finally, they should\nissue the appropriate set command including the retrieved\nvalue of ipv6RouterAdvertSpinLock. If another manager has\naltered the table in the meantime, then the value of\nipv6RouterAdvertSpinLock will have changed and the creation\nwill fail as it will be specifying an incorrect value for\nipv6RouterAdvertSpinLock. It is suggested, but not\nrequired, that the ipv6RouterAdvertSpinLock be the first var\nbind for each set of objects representing a 'row' in a PDU.") ipv6RouterAdvertTable = MibTable((1, 3, 6, 1, 2, 1, 4, 39)) if mibBuilder.loadTexts: ipv6RouterAdvertTable.setDescription("The table containing information used to construct router\nadvertisements.") ipv6RouterAdvertEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 39, 1)).setIndexNames((0, "IP-MIB", "ipv6RouterAdvertIfIndex")) if mibBuilder.loadTexts: ipv6RouterAdvertEntry.setDescription("An entry containing information used to construct router\nadvertisements.\n\nInformation in this table is persistent, and when this\nobject is written, the entity SHOULD save the change to\nnon-volatile storage.") ipv6RouterAdvertIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6RouterAdvertIfIndex.setDescription("The index value that uniquely identifies the interface on\nwhich router advertisements constructed with this\ninformation will be transmitted. The interface identified\nby a particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipv6RouterAdvertSendAdverts = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 2), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertSendAdverts.setDescription("A flag indicating whether the router sends periodic\nrouter advertisements and responds to router solicitations\non this interface.") ipv6RouterAdvertMaxInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(4, 1800)).clone(600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertMaxInterval.setDescription("The maximum time allowed between sending unsolicited router\n\n\n\nadvertisements from this interface.") ipv6RouterAdvertMinInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(3, 1350))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertMinInterval.setDescription("The minimum time allowed between sending unsolicited router\nadvertisements from this interface.\n\nThe default is 0.33 * ipv6RouterAdvertMaxInterval, however,\nin the case of a low value for ipv6RouterAdvertMaxInterval,\nthe minimum value for this object is restricted to 3.") ipv6RouterAdvertManagedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertManagedFlag.setDescription("The true/false value to be placed into the 'managed address\nconfiguration' flag field in router advertisements sent from\nthis interface.") ipv6RouterAdvertOtherConfigFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 6), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertOtherConfigFlag.setDescription("The true/false value to be placed into the 'other stateful\nconfiguration' flag field in router advertisements sent from\nthis interface.") ipv6RouterAdvertLinkMTU = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 7), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertLinkMTU.setDescription("The value to be placed in MTU options sent by the router on\nthis interface.\n\nA value of zero indicates that no MTU options are sent.") ipv6RouterAdvertReachableTime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600000)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertReachableTime.setDescription("The value to be placed in the reachable time field in router\nadvertisement messages sent from this interface.\n\nA value of zero in the router advertisement indicates that\nthe advertisement isn't specifying a value for reachable\ntime.") ipv6RouterAdvertRetransmitTime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 9), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertRetransmitTime.setDescription("The value to be placed in the retransmit timer field in\nrouter advertisements sent from this interface.\n\nA value of zero in the router advertisement indicates that\nthe advertisement isn't specifying a value for retrans\ntime.") ipv6RouterAdvertCurHopLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertCurHopLimit.setDescription("The default value to be placed in the current hop limit\nfield in router advertisements sent from this interface.\n\n\n\nThe value should be set to the current diameter of the\nInternet.\n\nA value of zero in the router advertisement indicates that\nthe advertisement isn't specifying a value for curHopLimit.\n\nThe default should be set to the value specified in the IANA\nweb pages (www.iana.org) at the time of implementation.") ipv6RouterAdvertDefaultLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 11), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(4,9000),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertDefaultLifetime.setDescription("The value to be placed in the router lifetime field of\nrouter advertisements sent from this interface. This value\nMUST be either 0 or between ipv6RouterAdvertMaxInterval and\n9000 seconds.\n\nA value of zero indicates that the router is not to be used\nas a default router.\n\nThe default is 3 * ipv6RouterAdvertMaxInterval.") ipv6RouterAdvertRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 4, 39, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipv6RouterAdvertRowStatus.setDescription("The status of this conceptual row.\n\nAs all objects in this conceptual row have default values, a\nrow can be created and made active by setting this object\nappropriately.\n\nThe RowStatus TC requires that this DESCRIPTION clause\nstates under which circumstances other objects in this row\ncan be modified. The value of this object has no effect on\nwhether other objects in this conceptual row can be\nmodified.") icmp = MibIdentifier((1, 3, 6, 1, 2, 1, 5)) icmpInMsgs = MibScalar((1, 3, 6, 1, 2, 1, 5, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInMsgs.setDescription("The total number of ICMP messages which the entity received.\nNote that this counter includes all those counted by\nicmpInErrors.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nicmpStatsInMsgs.") icmpInErrors = MibScalar((1, 3, 6, 1, 2, 1, 5, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInErrors.setDescription("The number of ICMP messages which the entity received but\ndetermined as having ICMP-specific errors (bad ICMP\nchecksums, bad length, etc.).\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nicmpStatsInErrors.") icmpInDestUnreachs = MibScalar((1, 3, 6, 1, 2, 1, 5, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInDestUnreachs.setDescription("The number of ICMP Destination Unreachable messages\nreceived.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInTimeExcds = MibScalar((1, 3, 6, 1, 2, 1, 5, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInTimeExcds.setDescription("The number of ICMP Time Exceeded messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInParmProbs = MibScalar((1, 3, 6, 1, 2, 1, 5, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInParmProbs.setDescription("The number of ICMP Parameter Problem messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInSrcQuenchs = MibScalar((1, 3, 6, 1, 2, 1, 5, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInSrcQuenchs.setDescription("The number of ICMP Source Quench messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInRedirects = MibScalar((1, 3, 6, 1, 2, 1, 5, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInRedirects.setDescription("The number of ICMP Redirect messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInEchos = MibScalar((1, 3, 6, 1, 2, 1, 5, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInEchos.setDescription("The number of ICMP Echo (request) messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInEchoReps = MibScalar((1, 3, 6, 1, 2, 1, 5, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInEchoReps.setDescription("The number of ICMP Echo Reply messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInTimestamps = MibScalar((1, 3, 6, 1, 2, 1, 5, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInTimestamps.setDescription("The number of ICMP Timestamp (request) messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInTimestampReps = MibScalar((1, 3, 6, 1, 2, 1, 5, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInTimestampReps.setDescription("The number of ICMP Timestamp Reply messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInAddrMasks = MibScalar((1, 3, 6, 1, 2, 1, 5, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInAddrMasks.setDescription("The number of ICMP Address Mask Request messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpInAddrMaskReps = MibScalar((1, 3, 6, 1, 2, 1, 5, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpInAddrMaskReps.setDescription("The number of ICMP Address Mask Reply messages received.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutMsgs = MibScalar((1, 3, 6, 1, 2, 1, 5, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutMsgs.setDescription("The total number of ICMP messages which this entity\nattempted to send. Note that this counter includes all\nthose counted by icmpOutErrors.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nicmpStatsOutMsgs.") icmpOutErrors = MibScalar((1, 3, 6, 1, 2, 1, 5, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutErrors.setDescription("The number of ICMP messages which this entity did not send\ndue to problems discovered within ICMP, such as a lack of\nbuffers. This value should not include errors discovered\noutside the ICMP layer, such as the inability of IP to route\nthe resultant datagram. In some implementations, there may\nbe no types of error which contribute to this counter's\nvalue.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by\nicmpStatsOutErrors.") icmpOutDestUnreachs = MibScalar((1, 3, 6, 1, 2, 1, 5, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutDestUnreachs.setDescription("The number of ICMP Destination Unreachable messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutTimeExcds = MibScalar((1, 3, 6, 1, 2, 1, 5, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutTimeExcds.setDescription("The number of ICMP Time Exceeded messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutParmProbs = MibScalar((1, 3, 6, 1, 2, 1, 5, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutParmProbs.setDescription("The number of ICMP Parameter Problem messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutSrcQuenchs = MibScalar((1, 3, 6, 1, 2, 1, 5, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutSrcQuenchs.setDescription("The number of ICMP Source Quench messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutRedirects = MibScalar((1, 3, 6, 1, 2, 1, 5, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutRedirects.setDescription("The number of ICMP Redirect messages sent. For a host, this\nobject will always be zero, since hosts do not send\nredirects.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutEchos = MibScalar((1, 3, 6, 1, 2, 1, 5, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutEchos.setDescription("The number of ICMP Echo (request) messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutEchoReps = MibScalar((1, 3, 6, 1, 2, 1, 5, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutEchoReps.setDescription("The number of ICMP Echo Reply messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutTimestamps = MibScalar((1, 3, 6, 1, 2, 1, 5, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutTimestamps.setDescription("The number of ICMP Timestamp (request) messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutTimestampReps = MibScalar((1, 3, 6, 1, 2, 1, 5, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutTimestampReps.setDescription("The number of ICMP Timestamp Reply messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutAddrMasks = MibScalar((1, 3, 6, 1, 2, 1, 5, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutAddrMasks.setDescription("The number of ICMP Address Mask Request messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpOutAddrMaskReps = MibScalar((1, 3, 6, 1, 2, 1, 5, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpOutAddrMaskReps.setDescription("The number of ICMP Address Mask Reply messages sent.\n\nThis object has been deprecated, as a new IP version-neutral\ntable has been added. It is loosely replaced by a column in\nthe icmpMsgStatsTable.") icmpStatsTable = MibTable((1, 3, 6, 1, 2, 1, 5, 29)) if mibBuilder.loadTexts: icmpStatsTable.setDescription("The table of generic system-wide ICMP counters.") icmpStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 5, 29, 1)).setIndexNames((0, "IP-MIB", "icmpStatsIPVersion")) if mibBuilder.loadTexts: icmpStatsEntry.setDescription("A conceptual row in the icmpStatsTable.") icmpStatsIPVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 29, 1, 1), InetVersion()).setMaxAccess("noaccess") if mibBuilder.loadTexts: icmpStatsIPVersion.setDescription("The IP version of the statistics.") icmpStatsInMsgs = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 29, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpStatsInMsgs.setDescription("The total number of ICMP messages that the entity received.\nNote that this counter includes all those counted by\nicmpStatsInErrors.") icmpStatsInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 29, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpStatsInErrors.setDescription("The number of ICMP messages that the entity received but\ndetermined as having ICMP-specific errors (bad ICMP\nchecksums, bad length, etc.).") icmpStatsOutMsgs = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 29, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpStatsOutMsgs.setDescription("The total number of ICMP messages that the entity attempted\nto send. Note that this counter includes all those counted\nby icmpStatsOutErrors.") icmpStatsOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 29, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpStatsOutErrors.setDescription("The number of ICMP messages that this entity did not send\ndue to problems discovered within ICMP, such as a lack of\nbuffers. This value should not include errors discovered\noutside the ICMP layer, such as the inability of IP to route\nthe resultant datagram. In some implementations, there may\nbe no types of error that contribute to this counter's\nvalue.") icmpMsgStatsTable = MibTable((1, 3, 6, 1, 2, 1, 5, 30)) if mibBuilder.loadTexts: icmpMsgStatsTable.setDescription("The table of system-wide per-version, per-message type ICMP\ncounters.") icmpMsgStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 5, 30, 1)).setIndexNames((0, "IP-MIB", "icmpMsgStatsIPVersion"), (0, "IP-MIB", "icmpMsgStatsType")) if mibBuilder.loadTexts: icmpMsgStatsEntry.setDescription("A conceptual row in the icmpMsgStatsTable.\n\nThe system should track each ICMP type value, even if that\nICMP type is not supported by the system. However, a\ngiven row need not be instantiated unless a message of that\ntype has been processed, i.e., the row for\nicmpMsgStatsType=X MAY be instantiated before but MUST be\ninstantiated after the first message with Type=X is\nreceived or transmitted. After receiving or transmitting\nany succeeding messages with Type=X, the relevant counter\nmust be incremented.") icmpMsgStatsIPVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 30, 1, 1), InetVersion()).setMaxAccess("noaccess") if mibBuilder.loadTexts: icmpMsgStatsIPVersion.setDescription("The IP version of the statistics.") icmpMsgStatsType = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 30, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: icmpMsgStatsType.setDescription("The ICMP type field of the message type being counted by\nthis row.\n\nNote that ICMP message types are scoped by the address type\nin use.") icmpMsgStatsInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 30, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpMsgStatsInPkts.setDescription("The number of input packets for this AF and type.") icmpMsgStatsOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 5, 30, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: icmpMsgStatsOutPkts.setDescription("The number of output packets for this AF and type.") ipMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 48)).setRevisions(("2006-02-02 00:00","1994-11-01 00:00","1991-03-31 00:00",)) if mibBuilder.loadTexts: ipMIB.setOrganization("IETF IPv6 MIB Revision Team") if mibBuilder.loadTexts: ipMIB.setContactInfo("Editor:\n\n\n\nShawn A. Routhier\nInterworking Labs\n108 Whispering Pines Dr. Suite 235\nScotts Valley, CA 95066\nUSA\nEMail: ") if mibBuilder.loadTexts: ipMIB.setDescription("The MIB module for managing IP and ICMP implementations, but\nexcluding their management of IP routes.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4293; see the RFC itself for\nfull legal notices.") ipMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 48, 2)) ipMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 48, 2, 1)) ipMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 48, 2, 2)) # Augmentions # Groups ipGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 1)).setObjects(*(("IP-MIB", "ipInDelivers"), ("IP-MIB", "ipOutDiscards"), ("IP-MIB", "ipForwDatagrams"), ("IP-MIB", "ipReasmFails"), ("IP-MIB", "ipForwarding"), ("IP-MIB", "ipRoutingDiscards"), ("IP-MIB", "ipNetToMediaNetAddress"), ("IP-MIB", "ipNetToMediaType"), ("IP-MIB", "ipInHdrErrors"), ("IP-MIB", "ipFragFails"), ("IP-MIB", "ipAdEntReasmMaxSize"), ("IP-MIB", "ipInReceives"), ("IP-MIB", "ipReasmTimeout"), ("IP-MIB", "ipFragCreates"), ("IP-MIB", "ipAdEntIfIndex"), ("IP-MIB", "ipDefaultTTL"), ("IP-MIB", "ipInUnknownProtos"), ("IP-MIB", "ipReasmOKs"), ("IP-MIB", "ipAdEntAddr"), ("IP-MIB", "ipOutNoRoutes"), ("IP-MIB", "ipNetToMediaIfIndex"), ("IP-MIB", "ipInAddrErrors"), ("IP-MIB", "ipFragOKs"), ("IP-MIB", "ipOutRequests"), ("IP-MIB", "ipNetToMediaPhysAddress"), ("IP-MIB", "ipReasmReqds"), ("IP-MIB", "ipAdEntNetMask"), ("IP-MIB", "ipAdEntBcastAddr"), ("IP-MIB", "ipInDiscards"), ) ) if mibBuilder.loadTexts: ipGroup.setDescription("The ip group of objects providing for basic management of IP\nentities, exclusive of the management of IP routes.\n\n\n\n\nAs part of the version independence, this group has been\ndeprecated. ") icmpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 2)).setObjects(*(("IP-MIB", "icmpOutRedirects"), ("IP-MIB", "icmpOutTimestamps"), ("IP-MIB", "icmpOutAddrMasks"), ("IP-MIB", "icmpInTimestamps"), ("IP-MIB", "icmpInEchos"), ("IP-MIB", "icmpInMsgs"), ("IP-MIB", "icmpInParmProbs"), ("IP-MIB", "icmpOutParmProbs"), ("IP-MIB", "icmpOutTimeExcds"), ("IP-MIB", "icmpInDestUnreachs"), ("IP-MIB", "icmpOutEchoReps"), ("IP-MIB", "icmpOutMsgs"), ("IP-MIB", "icmpOutTimestampReps"), ("IP-MIB", "icmpOutErrors"), ("IP-MIB", "icmpOutDestUnreachs"), ("IP-MIB", "icmpOutSrcQuenchs"), ("IP-MIB", "icmpOutAddrMaskReps"), ("IP-MIB", "icmpInAddrMaskReps"), ("IP-MIB", "icmpInTimeExcds"), ("IP-MIB", "icmpInErrors"), ("IP-MIB", "icmpOutEchos"), ("IP-MIB", "icmpInAddrMasks"), ("IP-MIB", "icmpInRedirects"), ("IP-MIB", "icmpInTimestampReps"), ("IP-MIB", "icmpInSrcQuenchs"), ("IP-MIB", "icmpInEchoReps"), ) ) if mibBuilder.loadTexts: icmpGroup.setDescription("The icmp group of objects providing ICMP statistics.\n\nAs part of the version independence, this group has been\ndeprecated. ") ipv4GeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 3)).setObjects(*(("IP-MIB", "ipForwarding"), ("IP-MIB", "ipReasmTimeout"), ("IP-MIB", "ipDefaultTTL"), ) ) if mibBuilder.loadTexts: ipv4GeneralGroup.setDescription("The group of IPv4-specific objects for basic management of\nIPv4 entities.") ipv4IfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 4)).setObjects(*(("IP-MIB", "ipv4InterfaceEnableStatus"), ("IP-MIB", "ipv4InterfaceRetransmitTime"), ("IP-MIB", "ipv4InterfaceReasmMaxSize"), ) ) if mibBuilder.loadTexts: ipv4IfGroup.setDescription("The group of IPv4-specific objects for basic management of\nIPv4 interfaces.") ipv6GeneralGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 5)).setObjects(*(("IP-MIB", "ipv6IpForwarding"), ("IP-MIB", "ipv6IpDefaultHopLimit"), ) ) if mibBuilder.loadTexts: ipv6GeneralGroup2.setDescription("The IPv6 group of objects providing for basic management of\nIPv6 entities.") ipv6IfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 6)).setObjects(*(("IP-MIB", "ipv6InterfaceRetransmitTime"), ("IP-MIB", "ipv6InterfaceReachableTime"), ("IP-MIB", "ipv6InterfaceEnableStatus"), ("IP-MIB", "ipv6InterfaceIdentifier"), ("IP-MIB", "ipv6InterfaceReasmMaxSize"), ("IP-MIB", "ipv6InterfaceForwarding"), ) ) if mibBuilder.loadTexts: ipv6IfGroup.setDescription("The group of IPv6-specific objects for basic management of\nIPv6 interfaces.") ipLastChangeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 7)).setObjects(*(("IP-MIB", "ipv6InterfaceTableLastChange"), ("IP-MIB", "ipIfStatsTableLastChange"), ("IP-MIB", "ipv4InterfaceTableLastChange"), ) ) if mibBuilder.loadTexts: ipLastChangeGroup.setDescription("The last change objects associated with this MIB. These\nobjects are optional for all agents. They SHOULD be\nimplemented on agents where it is possible to determine the\nproper values. Where it is not possible to determine the\nproper values, for example when the tables are split amongst\nseveral sub-agents using AgentX, the agent MUST NOT\nimplement these objects to return an incorrect or static\nvalue.") ipSystemStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 8)).setObjects(*(("IP-MIB", "ipSystemStatsOutTransmits"), ("IP-MIB", "ipSystemStatsInMcastOctets"), ("IP-MIB", "ipSystemStatsOutFragOKs"), ("IP-MIB", "ipSystemStatsInTruncatedPkts"), ("IP-MIB", "ipSystemStatsRefreshRate"), ("IP-MIB", "ipSystemStatsInDelivers"), ("IP-MIB", "ipSystemStatsOutRequests"), ("IP-MIB", "ipSystemStatsInMcastPkts"), ("IP-MIB", "ipSystemStatsInHdrErrors"), ("IP-MIB", "ipSystemStatsOutMcastPkts"), ("IP-MIB", "ipSystemStatsReasmFails"), ("IP-MIB", "ipSystemStatsReasmReqds"), ("IP-MIB", "ipSystemStatsInDiscards"), ("IP-MIB", "ipSystemStatsOutNoRoutes"), ("IP-MIB", "ipSystemStatsInReceives"), ("IP-MIB", "ipSystemStatsInUnknownProtos"), ("IP-MIB", "ipSystemStatsDiscontinuityTime"), ("IP-MIB", "ipSystemStatsOutDiscards"), ("IP-MIB", "ipSystemStatsReasmOKs"), ("IP-MIB", "ipSystemStatsInNoRoutes"), ("IP-MIB", "ipSystemStatsOutMcastOctets"), ("IP-MIB", "ipSystemStatsOutFragReqds"), ("IP-MIB", "ipSystemStatsOutFragCreates"), ("IP-MIB", "ipSystemStatsOutFragFails"), ("IP-MIB", "ipSystemStatsOutOctets"), ("IP-MIB", "ipSystemStatsInOctets"), ("IP-MIB", "ipSystemStatsOutForwDatagrams"), ("IP-MIB", "ipSystemStatsInAddrErrors"), ("IP-MIB", "ipSystemStatsInForwDatagrams"), ) ) if mibBuilder.loadTexts: ipSystemStatsGroup.setDescription("IP system wide statistics.") ipv4SystemStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 9)).setObjects(*(("IP-MIB", "ipSystemStatsInBcastPkts"), ("IP-MIB", "ipSystemStatsOutBcastPkts"), ) ) if mibBuilder.loadTexts: ipv4SystemStatsGroup.setDescription("IPv4 only system wide statistics.") ipSystemStatsHCOctetGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 10)).setObjects(*(("IP-MIB", "ipSystemStatsHCInOctets"), ("IP-MIB", "ipSystemStatsHCOutOctets"), ("IP-MIB", "ipSystemStatsHCOutMcastOctets"), ("IP-MIB", "ipSystemStatsHCInMcastOctets"), ) ) if mibBuilder.loadTexts: ipSystemStatsHCOctetGroup.setDescription("IP system wide statistics for systems that may overflow the\nstandard octet counters within 1 hour.") ipSystemStatsHCPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 11)).setObjects(*(("IP-MIB", "ipSystemStatsHCInReceives"), ("IP-MIB", "ipSystemStatsHCOutTransmits"), ("IP-MIB", "ipSystemStatsHCInForwDatagrams"), ("IP-MIB", "ipSystemStatsHCInDelivers"), ("IP-MIB", "ipSystemStatsHCOutForwDatagrams"), ("IP-MIB", "ipSystemStatsHCOutMcastPkts"), ("IP-MIB", "ipSystemStatsHCOutRequests"), ("IP-MIB", "ipSystemStatsHCInMcastPkts"), ) ) if mibBuilder.loadTexts: ipSystemStatsHCPacketGroup.setDescription("IP system wide statistics for systems that may overflow the\nstandard packet counters within 1 hour.") ipv4SystemStatsHCPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 12)).setObjects(*(("IP-MIB", "ipSystemStatsHCInBcastPkts"), ("IP-MIB", "ipSystemStatsHCOutBcastPkts"), ) ) if mibBuilder.loadTexts: ipv4SystemStatsHCPacketGroup.setDescription("IPv4 only system wide statistics for systems that may\noverflow the standard packet counters within 1 hour.") ipIfStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 13)).setObjects(*(("IP-MIB", "ipIfStatsOutFragOKs"), ("IP-MIB", "ipIfStatsRefreshRate"), ("IP-MIB", "ipIfStatsOutFragFails"), ("IP-MIB", "ipIfStatsInReceives"), ("IP-MIB", "ipIfStatsOutFragReqds"), ("IP-MIB", "ipIfStatsOutMcastPkts"), ("IP-MIB", "ipIfStatsOutForwDatagrams"), ("IP-MIB", "ipIfStatsOutMcastOctets"), ("IP-MIB", "ipIfStatsInNoRoutes"), ("IP-MIB", "ipIfStatsReasmOKs"), ("IP-MIB", "ipIfStatsInMcastPkts"), ("IP-MIB", "ipIfStatsDiscontinuityTime"), ("IP-MIB", "ipIfStatsOutDiscards"), ("IP-MIB", "ipIfStatsInAddrErrors"), ("IP-MIB", "ipIfStatsInHdrErrors"), ("IP-MIB", "ipIfStatsInOctets"), ("IP-MIB", "ipIfStatsInTruncatedPkts"), ("IP-MIB", "ipIfStatsOutRequests"), ("IP-MIB", "ipIfStatsInDiscards"), ("IP-MIB", "ipIfStatsInDelivers"), ("IP-MIB", "ipIfStatsOutFragCreates"), ("IP-MIB", "ipIfStatsReasmReqds"), ("IP-MIB", "ipIfStatsInForwDatagrams"), ("IP-MIB", "ipIfStatsInUnknownProtos"), ("IP-MIB", "ipIfStatsReasmFails"), ("IP-MIB", "ipIfStatsOutOctets"), ("IP-MIB", "ipIfStatsInMcastOctets"), ("IP-MIB", "ipIfStatsOutTransmits"), ) ) if mibBuilder.loadTexts: ipIfStatsGroup.setDescription("IP per-interface statistics.") ipv4IfStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 14)).setObjects(*(("IP-MIB", "ipIfStatsInBcastPkts"), ("IP-MIB", "ipIfStatsOutBcastPkts"), ) ) if mibBuilder.loadTexts: ipv4IfStatsGroup.setDescription("IPv4 only per-interface statistics.") ipIfStatsHCOctetGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 15)).setObjects(*(("IP-MIB", "ipIfStatsHCOutOctets"), ("IP-MIB", "ipIfStatsHCInMcastOctets"), ("IP-MIB", "ipIfStatsHCOutMcastOctets"), ("IP-MIB", "ipIfStatsHCInOctets"), ) ) if mibBuilder.loadTexts: ipIfStatsHCOctetGroup.setDescription("IP per-interfaces statistics for systems that include\ninterfaces that may overflow the standard octet\ncounters within 1 hour.") ipIfStatsHCPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 16)).setObjects(*(("IP-MIB", "ipIfStatsHCOutTransmits"), ("IP-MIB", "ipIfStatsHCInReceives"), ("IP-MIB", "ipIfStatsHCInMcastPkts"), ("IP-MIB", "ipIfStatsHCOutForwDatagrams"), ("IP-MIB", "ipIfStatsHCOutRequests"), ("IP-MIB", "ipIfStatsHCInForwDatagrams"), ("IP-MIB", "ipIfStatsHCInDelivers"), ("IP-MIB", "ipIfStatsHCOutMcastPkts"), ) ) if mibBuilder.loadTexts: ipIfStatsHCPacketGroup.setDescription("IP per-interfaces statistics for systems that include\ninterfaces that may overflow the standard packet counters\nwithin 1 hour.") ipv4IfStatsHCPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 17)).setObjects(*(("IP-MIB", "ipIfStatsHCOutBcastPkts"), ("IP-MIB", "ipIfStatsHCInBcastPkts"), ) ) if mibBuilder.loadTexts: ipv4IfStatsHCPacketGroup.setDescription("IPv4 only per-interface statistics for systems that include\ninterfaces that may overflow the standard packet counters\nwithin 1 hour.") ipAddressPrefixGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 18)).setObjects(*(("IP-MIB", "ipAddressPrefixOnLinkFlag"), ("IP-MIB", "ipAddressPrefixOrigin"), ("IP-MIB", "ipAddressPrefixAdvValidLifetime"), ("IP-MIB", "ipAddressPrefixAutonomousFlag"), ("IP-MIB", "ipAddressPrefixAdvPreferredLifetime"), ) ) if mibBuilder.loadTexts: ipAddressPrefixGroup.setDescription("The group of objects for providing information about address\nprefixes used by this node.") ipAddressGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 19)).setObjects(*(("IP-MIB", "ipAddressType"), ("IP-MIB", "ipAddressStorageType"), ("IP-MIB", "ipAddressCreated"), ("IP-MIB", "ipAddressOrigin"), ("IP-MIB", "ipAddressSpinLock"), ("IP-MIB", "ipAddressIfIndex"), ("IP-MIB", "ipAddressLastChanged"), ("IP-MIB", "ipAddressStatus"), ("IP-MIB", "ipAddressPrefix"), ("IP-MIB", "ipAddressRowStatus"), ) ) if mibBuilder.loadTexts: ipAddressGroup.setDescription("The group of objects for providing information about the\naddresses relevant to this entity's interfaces.") ipNetToPhysicalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 20)).setObjects(*(("IP-MIB", "ipNetToPhysicalPhysAddress"), ("IP-MIB", "ipNetToPhysicalType"), ("IP-MIB", "ipNetToPhysicalRowStatus"), ("IP-MIB", "ipNetToPhysicalState"), ("IP-MIB", "ipNetToPhysicalLastUpdated"), ) ) if mibBuilder.loadTexts: ipNetToPhysicalGroup.setDescription("The group of objects for providing information about the\nmappings of network address to physical address known to\nthis node.") ipv6ScopeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 21)).setObjects(*(("IP-MIB", "ipv6ScopeZoneIndexAdminLocal"), ("IP-MIB", "ipv6ScopeZoneIndex6"), ("IP-MIB", "ipv6ScopeZoneIndexA"), ("IP-MIB", "ipv6ScopeZoneIndex9"), ("IP-MIB", "ipv6ScopeZoneIndexB"), ("IP-MIB", "ipv6ScopeZoneIndexC"), ("IP-MIB", "ipv6ScopeZoneIndexD"), ("IP-MIB", "ipv6ScopeZoneIndexLinkLocal"), ("IP-MIB", "ipv6ScopeZoneIndexSiteLocal"), ("IP-MIB", "ipv6ScopeZoneIndex3"), ("IP-MIB", "ipv6ScopeZoneIndexOrganizationLocal"), ("IP-MIB", "ipv6ScopeZoneIndex7"), ) ) if mibBuilder.loadTexts: ipv6ScopeGroup.setDescription("The group of objects for managing IPv6 scope zones.") ipDefaultRouterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 22)).setObjects(*(("IP-MIB", "ipDefaultRouterPreference"), ("IP-MIB", "ipDefaultRouterLifetime"), ) ) if mibBuilder.loadTexts: ipDefaultRouterGroup.setDescription("The group of objects for providing information about default\nrouters known to this node.") ipv6RouterAdvertGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 23)).setObjects(*(("IP-MIB", "ipv6RouterAdvertLinkMTU"), ("IP-MIB", "ipv6RouterAdvertRowStatus"), ("IP-MIB", "ipv6RouterAdvertRetransmitTime"), ("IP-MIB", "ipv6RouterAdvertMinInterval"), ("IP-MIB", "ipv6RouterAdvertSpinLock"), ("IP-MIB", "ipv6RouterAdvertMaxInterval"), ("IP-MIB", "ipv6RouterAdvertDefaultLifetime"), ("IP-MIB", "ipv6RouterAdvertSendAdverts"), ("IP-MIB", "ipv6RouterAdvertReachableTime"), ("IP-MIB", "ipv6RouterAdvertOtherConfigFlag"), ("IP-MIB", "ipv6RouterAdvertManagedFlag"), ("IP-MIB", "ipv6RouterAdvertCurHopLimit"), ) ) if mibBuilder.loadTexts: ipv6RouterAdvertGroup.setDescription("The group of objects for controlling information advertised\nby IPv6 routers.") icmpStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 48, 2, 2, 24)).setObjects(*(("IP-MIB", "icmpMsgStatsInPkts"), ("IP-MIB", "icmpStatsInMsgs"), ("IP-MIB", "icmpStatsInErrors"), ("IP-MIB", "icmpMsgStatsOutPkts"), ("IP-MIB", "icmpStatsOutMsgs"), ("IP-MIB", "icmpStatsOutErrors"), ) ) if mibBuilder.loadTexts: icmpStatsGroup.setDescription("The group of objects providing ICMP statistics.") # Compliances ipMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 48, 2, 1, 1)).setObjects(*(("IP-MIB", "icmpGroup"), ("IP-MIB", "ipGroup"), ) ) if mibBuilder.loadTexts: ipMIBCompliance.setDescription("The compliance statement for systems that implement only\nIPv4. For version-independence, this compliance statement\nis deprecated in favor of ipMIBCompliance2.") ipMIBCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 48, 2, 1, 2)).setObjects(*(("IP-MIB", "ipSystemStatsHCPacketGroup"), ("IP-MIB", "ipv6ScopeGroup"), ("IP-MIB", "ipDefaultRouterGroup"), ("IP-MIB", "ipLastChangeGroup"), ("IP-MIB", "ipNetToPhysicalGroup"), ("IP-MIB", "ipv6GeneralGroup2"), ("IP-MIB", "ipSystemStatsGroup"), ("IP-MIB", "ipSystemStatsHCOctetGroup"), ("IP-MIB", "icmpStatsGroup"), ("IP-MIB", "ipv4SystemStatsGroup"), ("IP-MIB", "ipAddressPrefixGroup"), ("IP-MIB", "ipv6IfGroup"), ("IP-MIB", "ipv4SystemStatsHCPacketGroup"), ("IP-MIB", "ipv6RouterAdvertGroup"), ("IP-MIB", "ipv4IfStatsHCPacketGroup"), ("IP-MIB", "ipAddressGroup"), ("IP-MIB", "ipIfStatsGroup"), ("IP-MIB", "ipIfStatsHCPacketGroup"), ("IP-MIB", "ipv4GeneralGroup"), ("IP-MIB", "ipv4IfGroup"), ("IP-MIB", "ipIfStatsHCOctetGroup"), ("IP-MIB", "ipv4IfStatsGroup"), ) ) if mibBuilder.loadTexts: ipMIBCompliance2.setDescription("The compliance statement for systems that implement IP -\neither IPv4 or IPv6.\n\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2, but\nfor which we have the following compliance requirements,\nexpressed in OBJECT clause form in this description\nclause:\n\n\n\n\n-- OBJECT ipSystemStatsIPVersion\n-- SYNTAX InetVersion {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- This MIB requires support for only IPv4 and IPv6\n-- versions.\n--\n-- OBJECT ipIfStatsIPVersion\n-- SYNTAX InetVersion {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- This MIB requires support for only IPv4 and IPv6\n-- versions.\n--\n-- OBJECT icmpStatsIPVersion\n-- SYNTAX InetVersion {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- This MIB requires support for only IPv4 and IPv6\n-- versions.\n--\n-- OBJECT icmpMsgStatsIPVersion\n-- SYNTAX InetVersion {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- This MIB requires support for only IPv4 and IPv6\n-- versions.\n--\n-- OBJECT ipAddressPrefixType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- This MIB requires support for only global IPv4 and\n-- IPv6 address types.\n--\n-- OBJECT ipAddressPrefixPrefix\n-- SYNTAX InetAddress (Size(4 | 16))\n-- DESCRIPTION\n-- This MIB requires support for only global IPv4 and\n-- IPv6 addresses and so the size can be either 4 or\n-- 16 bytes.\n--\n-- OBJECT ipAddressAddrType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This MIB requires support for only global and\n-- non-global IPv4 and IPv6 address types.\n--\n-- OBJECT ipAddressAddr\n-- SYNTAX InetAddress (Size(4 | 8 | 16 | 20))\n-- DESCRIPTION\n-- This MIB requires support for only global and\n\n\n\n-- non-global IPv4 and IPv6 addresses and so the size\n-- can be 4, 8, 16, or 20 bytes.\n--\n-- OBJECT ipNetToPhysicalNetAddressType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This MIB requires support for only global and\n-- non-global IPv4 and IPv6 address types.\n--\n-- OBJECT ipNetToPhysicalNetAddress\n-- SYNTAX InetAddress (Size(4 | 8 | 16 | 20))\n-- DESCRIPTION\n-- This MIB requires support for only global and\n-- non-global IPv4 and IPv6 addresses and so the size\n-- can be 4, 8, 16, or 20 bytes.\n--\n-- OBJECT ipDefaultRouterAddressType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This MIB requires support for only global and\n-- non-global IPv4 and IPv6 address types.\n--\n-- OBJECT ipDefaultRouterAddress\n-- SYNTAX InetAddress (Size(4 | 8 | 16 | 20))\n-- DESCRIPTION\n-- This MIB requires support for only global and\n-- non-global IPv4 and IPv6 addresses and so the size\n-- can be 4, 8, 16, or 20 bytes.") # Exports # Module identity mibBuilder.exportSymbols("IP-MIB", PYSNMP_MODULE_ID=ipMIB) # Types mibBuilder.exportSymbols("IP-MIB", IpAddressOriginTC=IpAddressOriginTC, IpAddressPrefixOriginTC=IpAddressPrefixOriginTC, IpAddressStatusTC=IpAddressStatusTC, Ipv6AddressIfIdentifierTC=Ipv6AddressIfIdentifierTC) # Objects mibBuilder.exportSymbols("IP-MIB", ip=ip, ipForwarding=ipForwarding, ipDefaultTTL=ipDefaultTTL, ipInReceives=ipInReceives, ipInHdrErrors=ipInHdrErrors, ipInAddrErrors=ipInAddrErrors, ipForwDatagrams=ipForwDatagrams, ipInUnknownProtos=ipInUnknownProtos, ipInDiscards=ipInDiscards, ipInDelivers=ipInDelivers, ipOutRequests=ipOutRequests, ipOutDiscards=ipOutDiscards, ipOutNoRoutes=ipOutNoRoutes, ipReasmTimeout=ipReasmTimeout, ipReasmReqds=ipReasmReqds, ipReasmOKs=ipReasmOKs, ipReasmFails=ipReasmFails, ipFragOKs=ipFragOKs, ipFragFails=ipFragFails, ipFragCreates=ipFragCreates, ipAddrTable=ipAddrTable, ipAddrEntry=ipAddrEntry, ipAdEntAddr=ipAdEntAddr, ipAdEntIfIndex=ipAdEntIfIndex, ipAdEntNetMask=ipAdEntNetMask, ipAdEntBcastAddr=ipAdEntBcastAddr, ipAdEntReasmMaxSize=ipAdEntReasmMaxSize, ipNetToMediaTable=ipNetToMediaTable, ipNetToMediaEntry=ipNetToMediaEntry, ipNetToMediaIfIndex=ipNetToMediaIfIndex, ipNetToMediaPhysAddress=ipNetToMediaPhysAddress, ipNetToMediaNetAddress=ipNetToMediaNetAddress, ipNetToMediaType=ipNetToMediaType, ipRoutingDiscards=ipRoutingDiscards, ipv6IpForwarding=ipv6IpForwarding, ipv6IpDefaultHopLimit=ipv6IpDefaultHopLimit, ipv4InterfaceTableLastChange=ipv4InterfaceTableLastChange, ipv4InterfaceTable=ipv4InterfaceTable, ipv4InterfaceEntry=ipv4InterfaceEntry, ipv4InterfaceIfIndex=ipv4InterfaceIfIndex, ipv4InterfaceReasmMaxSize=ipv4InterfaceReasmMaxSize, ipv4InterfaceEnableStatus=ipv4InterfaceEnableStatus, ipv4InterfaceRetransmitTime=ipv4InterfaceRetransmitTime, ipv6InterfaceTableLastChange=ipv6InterfaceTableLastChange, ipv6InterfaceTable=ipv6InterfaceTable, ipv6InterfaceEntry=ipv6InterfaceEntry, ipv6InterfaceIfIndex=ipv6InterfaceIfIndex, ipv6InterfaceReasmMaxSize=ipv6InterfaceReasmMaxSize, ipv6InterfaceIdentifier=ipv6InterfaceIdentifier, ipv6InterfaceEnableStatus=ipv6InterfaceEnableStatus, ipv6InterfaceReachableTime=ipv6InterfaceReachableTime, ipv6InterfaceRetransmitTime=ipv6InterfaceRetransmitTime, ipv6InterfaceForwarding=ipv6InterfaceForwarding, ipTrafficStats=ipTrafficStats, ipSystemStatsTable=ipSystemStatsTable, ipSystemStatsEntry=ipSystemStatsEntry, ipSystemStatsIPVersion=ipSystemStatsIPVersion, ipSystemStatsInReceives=ipSystemStatsInReceives, ipSystemStatsHCInReceives=ipSystemStatsHCInReceives, ipSystemStatsInOctets=ipSystemStatsInOctets, ipSystemStatsHCInOctets=ipSystemStatsHCInOctets, ipSystemStatsInHdrErrors=ipSystemStatsInHdrErrors, ipSystemStatsInNoRoutes=ipSystemStatsInNoRoutes, ipSystemStatsInAddrErrors=ipSystemStatsInAddrErrors, ipSystemStatsInUnknownProtos=ipSystemStatsInUnknownProtos, ipSystemStatsInTruncatedPkts=ipSystemStatsInTruncatedPkts, ipSystemStatsInForwDatagrams=ipSystemStatsInForwDatagrams, ipSystemStatsHCInForwDatagrams=ipSystemStatsHCInForwDatagrams, ipSystemStatsReasmReqds=ipSystemStatsReasmReqds, ipSystemStatsReasmOKs=ipSystemStatsReasmOKs, ipSystemStatsReasmFails=ipSystemStatsReasmFails, ipSystemStatsInDiscards=ipSystemStatsInDiscards, ipSystemStatsInDelivers=ipSystemStatsInDelivers, ipSystemStatsHCInDelivers=ipSystemStatsHCInDelivers, ipSystemStatsOutRequests=ipSystemStatsOutRequests, ipSystemStatsHCOutRequests=ipSystemStatsHCOutRequests, ipSystemStatsOutNoRoutes=ipSystemStatsOutNoRoutes, ipSystemStatsOutForwDatagrams=ipSystemStatsOutForwDatagrams, ipSystemStatsHCOutForwDatagrams=ipSystemStatsHCOutForwDatagrams, ipSystemStatsOutDiscards=ipSystemStatsOutDiscards, ipSystemStatsOutFragReqds=ipSystemStatsOutFragReqds, ipSystemStatsOutFragOKs=ipSystemStatsOutFragOKs, ipSystemStatsOutFragFails=ipSystemStatsOutFragFails, ipSystemStatsOutFragCreates=ipSystemStatsOutFragCreates, ipSystemStatsOutTransmits=ipSystemStatsOutTransmits, ipSystemStatsHCOutTransmits=ipSystemStatsHCOutTransmits, ipSystemStatsOutOctets=ipSystemStatsOutOctets, ipSystemStatsHCOutOctets=ipSystemStatsHCOutOctets, ipSystemStatsInMcastPkts=ipSystemStatsInMcastPkts, ipSystemStatsHCInMcastPkts=ipSystemStatsHCInMcastPkts, ipSystemStatsInMcastOctets=ipSystemStatsInMcastOctets, ipSystemStatsHCInMcastOctets=ipSystemStatsHCInMcastOctets, ipSystemStatsOutMcastPkts=ipSystemStatsOutMcastPkts, ipSystemStatsHCOutMcastPkts=ipSystemStatsHCOutMcastPkts, ipSystemStatsOutMcastOctets=ipSystemStatsOutMcastOctets, ipSystemStatsHCOutMcastOctets=ipSystemStatsHCOutMcastOctets, ipSystemStatsInBcastPkts=ipSystemStatsInBcastPkts, ipSystemStatsHCInBcastPkts=ipSystemStatsHCInBcastPkts, ipSystemStatsOutBcastPkts=ipSystemStatsOutBcastPkts, ipSystemStatsHCOutBcastPkts=ipSystemStatsHCOutBcastPkts, ipSystemStatsDiscontinuityTime=ipSystemStatsDiscontinuityTime, ipSystemStatsRefreshRate=ipSystemStatsRefreshRate, ipIfStatsTableLastChange=ipIfStatsTableLastChange, ipIfStatsTable=ipIfStatsTable, ipIfStatsEntry=ipIfStatsEntry, ipIfStatsIPVersion=ipIfStatsIPVersion, ipIfStatsIfIndex=ipIfStatsIfIndex, ipIfStatsInReceives=ipIfStatsInReceives, ipIfStatsHCInReceives=ipIfStatsHCInReceives, ipIfStatsInOctets=ipIfStatsInOctets, ipIfStatsHCInOctets=ipIfStatsHCInOctets, ipIfStatsInHdrErrors=ipIfStatsInHdrErrors, ipIfStatsInNoRoutes=ipIfStatsInNoRoutes, ipIfStatsInAddrErrors=ipIfStatsInAddrErrors, ipIfStatsInUnknownProtos=ipIfStatsInUnknownProtos, ipIfStatsInTruncatedPkts=ipIfStatsInTruncatedPkts, ipIfStatsInForwDatagrams=ipIfStatsInForwDatagrams, ipIfStatsHCInForwDatagrams=ipIfStatsHCInForwDatagrams, ipIfStatsReasmReqds=ipIfStatsReasmReqds, ipIfStatsReasmOKs=ipIfStatsReasmOKs, ipIfStatsReasmFails=ipIfStatsReasmFails, ipIfStatsInDiscards=ipIfStatsInDiscards, ipIfStatsInDelivers=ipIfStatsInDelivers, ipIfStatsHCInDelivers=ipIfStatsHCInDelivers, ipIfStatsOutRequests=ipIfStatsOutRequests, ipIfStatsHCOutRequests=ipIfStatsHCOutRequests) mibBuilder.exportSymbols("IP-MIB", ipIfStatsOutForwDatagrams=ipIfStatsOutForwDatagrams, ipIfStatsHCOutForwDatagrams=ipIfStatsHCOutForwDatagrams, ipIfStatsOutDiscards=ipIfStatsOutDiscards, ipIfStatsOutFragReqds=ipIfStatsOutFragReqds, ipIfStatsOutFragOKs=ipIfStatsOutFragOKs, ipIfStatsOutFragFails=ipIfStatsOutFragFails, ipIfStatsOutFragCreates=ipIfStatsOutFragCreates, ipIfStatsOutTransmits=ipIfStatsOutTransmits, ipIfStatsHCOutTransmits=ipIfStatsHCOutTransmits, ipIfStatsOutOctets=ipIfStatsOutOctets, ipIfStatsHCOutOctets=ipIfStatsHCOutOctets, ipIfStatsInMcastPkts=ipIfStatsInMcastPkts, ipIfStatsHCInMcastPkts=ipIfStatsHCInMcastPkts, ipIfStatsInMcastOctets=ipIfStatsInMcastOctets, ipIfStatsHCInMcastOctets=ipIfStatsHCInMcastOctets, ipIfStatsOutMcastPkts=ipIfStatsOutMcastPkts, ipIfStatsHCOutMcastPkts=ipIfStatsHCOutMcastPkts, ipIfStatsOutMcastOctets=ipIfStatsOutMcastOctets, ipIfStatsHCOutMcastOctets=ipIfStatsHCOutMcastOctets, ipIfStatsInBcastPkts=ipIfStatsInBcastPkts, ipIfStatsHCInBcastPkts=ipIfStatsHCInBcastPkts, ipIfStatsOutBcastPkts=ipIfStatsOutBcastPkts, ipIfStatsHCOutBcastPkts=ipIfStatsHCOutBcastPkts, ipIfStatsDiscontinuityTime=ipIfStatsDiscontinuityTime, ipIfStatsRefreshRate=ipIfStatsRefreshRate, ipAddressPrefixTable=ipAddressPrefixTable, ipAddressPrefixEntry=ipAddressPrefixEntry, ipAddressPrefixIfIndex=ipAddressPrefixIfIndex, ipAddressPrefixType=ipAddressPrefixType, ipAddressPrefixPrefix=ipAddressPrefixPrefix, ipAddressPrefixLength=ipAddressPrefixLength, ipAddressPrefixOrigin=ipAddressPrefixOrigin, ipAddressPrefixOnLinkFlag=ipAddressPrefixOnLinkFlag, ipAddressPrefixAutonomousFlag=ipAddressPrefixAutonomousFlag, ipAddressPrefixAdvPreferredLifetime=ipAddressPrefixAdvPreferredLifetime, ipAddressPrefixAdvValidLifetime=ipAddressPrefixAdvValidLifetime, ipAddressSpinLock=ipAddressSpinLock, ipAddressTable=ipAddressTable, ipAddressEntry=ipAddressEntry, ipAddressAddrType=ipAddressAddrType, ipAddressAddr=ipAddressAddr, ipAddressIfIndex=ipAddressIfIndex, ipAddressType=ipAddressType, ipAddressPrefix=ipAddressPrefix, ipAddressOrigin=ipAddressOrigin, ipAddressStatus=ipAddressStatus, ipAddressCreated=ipAddressCreated, ipAddressLastChanged=ipAddressLastChanged, ipAddressRowStatus=ipAddressRowStatus, ipAddressStorageType=ipAddressStorageType, ipNetToPhysicalTable=ipNetToPhysicalTable, ipNetToPhysicalEntry=ipNetToPhysicalEntry, ipNetToPhysicalIfIndex=ipNetToPhysicalIfIndex, ipNetToPhysicalNetAddressType=ipNetToPhysicalNetAddressType, ipNetToPhysicalNetAddress=ipNetToPhysicalNetAddress, ipNetToPhysicalPhysAddress=ipNetToPhysicalPhysAddress, ipNetToPhysicalLastUpdated=ipNetToPhysicalLastUpdated, ipNetToPhysicalType=ipNetToPhysicalType, ipNetToPhysicalState=ipNetToPhysicalState, ipNetToPhysicalRowStatus=ipNetToPhysicalRowStatus, ipv6ScopeZoneIndexTable=ipv6ScopeZoneIndexTable, ipv6ScopeZoneIndexEntry=ipv6ScopeZoneIndexEntry, ipv6ScopeZoneIndexIfIndex=ipv6ScopeZoneIndexIfIndex, ipv6ScopeZoneIndexLinkLocal=ipv6ScopeZoneIndexLinkLocal, ipv6ScopeZoneIndex3=ipv6ScopeZoneIndex3, ipv6ScopeZoneIndexAdminLocal=ipv6ScopeZoneIndexAdminLocal, ipv6ScopeZoneIndexSiteLocal=ipv6ScopeZoneIndexSiteLocal, ipv6ScopeZoneIndex6=ipv6ScopeZoneIndex6, ipv6ScopeZoneIndex7=ipv6ScopeZoneIndex7, ipv6ScopeZoneIndexOrganizationLocal=ipv6ScopeZoneIndexOrganizationLocal, ipv6ScopeZoneIndex9=ipv6ScopeZoneIndex9, ipv6ScopeZoneIndexA=ipv6ScopeZoneIndexA, ipv6ScopeZoneIndexB=ipv6ScopeZoneIndexB, ipv6ScopeZoneIndexC=ipv6ScopeZoneIndexC, ipv6ScopeZoneIndexD=ipv6ScopeZoneIndexD, ipDefaultRouterTable=ipDefaultRouterTable, ipDefaultRouterEntry=ipDefaultRouterEntry, ipDefaultRouterAddressType=ipDefaultRouterAddressType, ipDefaultRouterAddress=ipDefaultRouterAddress, ipDefaultRouterIfIndex=ipDefaultRouterIfIndex, ipDefaultRouterLifetime=ipDefaultRouterLifetime, ipDefaultRouterPreference=ipDefaultRouterPreference, ipv6RouterAdvertSpinLock=ipv6RouterAdvertSpinLock, ipv6RouterAdvertTable=ipv6RouterAdvertTable, ipv6RouterAdvertEntry=ipv6RouterAdvertEntry, ipv6RouterAdvertIfIndex=ipv6RouterAdvertIfIndex, ipv6RouterAdvertSendAdverts=ipv6RouterAdvertSendAdverts, ipv6RouterAdvertMaxInterval=ipv6RouterAdvertMaxInterval, ipv6RouterAdvertMinInterval=ipv6RouterAdvertMinInterval, ipv6RouterAdvertManagedFlag=ipv6RouterAdvertManagedFlag, ipv6RouterAdvertOtherConfigFlag=ipv6RouterAdvertOtherConfigFlag, ipv6RouterAdvertLinkMTU=ipv6RouterAdvertLinkMTU, ipv6RouterAdvertReachableTime=ipv6RouterAdvertReachableTime, ipv6RouterAdvertRetransmitTime=ipv6RouterAdvertRetransmitTime, ipv6RouterAdvertCurHopLimit=ipv6RouterAdvertCurHopLimit, ipv6RouterAdvertDefaultLifetime=ipv6RouterAdvertDefaultLifetime, ipv6RouterAdvertRowStatus=ipv6RouterAdvertRowStatus, icmp=icmp, icmpInMsgs=icmpInMsgs, icmpInErrors=icmpInErrors, icmpInDestUnreachs=icmpInDestUnreachs, icmpInTimeExcds=icmpInTimeExcds, icmpInParmProbs=icmpInParmProbs, icmpInSrcQuenchs=icmpInSrcQuenchs, icmpInRedirects=icmpInRedirects, icmpInEchos=icmpInEchos, icmpInEchoReps=icmpInEchoReps, icmpInTimestamps=icmpInTimestamps, icmpInTimestampReps=icmpInTimestampReps, icmpInAddrMasks=icmpInAddrMasks, icmpInAddrMaskReps=icmpInAddrMaskReps, icmpOutMsgs=icmpOutMsgs, icmpOutErrors=icmpOutErrors, icmpOutDestUnreachs=icmpOutDestUnreachs, icmpOutTimeExcds=icmpOutTimeExcds, icmpOutParmProbs=icmpOutParmProbs, icmpOutSrcQuenchs=icmpOutSrcQuenchs, icmpOutRedirects=icmpOutRedirects, icmpOutEchos=icmpOutEchos, icmpOutEchoReps=icmpOutEchoReps, icmpOutTimestamps=icmpOutTimestamps, icmpOutTimestampReps=icmpOutTimestampReps, icmpOutAddrMasks=icmpOutAddrMasks, icmpOutAddrMaskReps=icmpOutAddrMaskReps, icmpStatsTable=icmpStatsTable, icmpStatsEntry=icmpStatsEntry, icmpStatsIPVersion=icmpStatsIPVersion) mibBuilder.exportSymbols("IP-MIB", icmpStatsInMsgs=icmpStatsInMsgs, icmpStatsInErrors=icmpStatsInErrors, icmpStatsOutMsgs=icmpStatsOutMsgs, icmpStatsOutErrors=icmpStatsOutErrors, icmpMsgStatsTable=icmpMsgStatsTable, icmpMsgStatsEntry=icmpMsgStatsEntry, icmpMsgStatsIPVersion=icmpMsgStatsIPVersion, icmpMsgStatsType=icmpMsgStatsType, icmpMsgStatsInPkts=icmpMsgStatsInPkts, icmpMsgStatsOutPkts=icmpMsgStatsOutPkts, ipMIB=ipMIB, ipMIBConformance=ipMIBConformance, ipMIBCompliances=ipMIBCompliances, ipMIBGroups=ipMIBGroups) # Groups mibBuilder.exportSymbols("IP-MIB", ipGroup=ipGroup, icmpGroup=icmpGroup, ipv4GeneralGroup=ipv4GeneralGroup, ipv4IfGroup=ipv4IfGroup, ipv6GeneralGroup2=ipv6GeneralGroup2, ipv6IfGroup=ipv6IfGroup, ipLastChangeGroup=ipLastChangeGroup, ipSystemStatsGroup=ipSystemStatsGroup, ipv4SystemStatsGroup=ipv4SystemStatsGroup, ipSystemStatsHCOctetGroup=ipSystemStatsHCOctetGroup, ipSystemStatsHCPacketGroup=ipSystemStatsHCPacketGroup, ipv4SystemStatsHCPacketGroup=ipv4SystemStatsHCPacketGroup, ipIfStatsGroup=ipIfStatsGroup, ipv4IfStatsGroup=ipv4IfStatsGroup, ipIfStatsHCOctetGroup=ipIfStatsHCOctetGroup, ipIfStatsHCPacketGroup=ipIfStatsHCPacketGroup, ipv4IfStatsHCPacketGroup=ipv4IfStatsHCPacketGroup, ipAddressPrefixGroup=ipAddressPrefixGroup, ipAddressGroup=ipAddressGroup, ipNetToPhysicalGroup=ipNetToPhysicalGroup, ipv6ScopeGroup=ipv6ScopeGroup, ipDefaultRouterGroup=ipDefaultRouterGroup, ipv6RouterAdvertGroup=ipv6RouterAdvertGroup, icmpStatsGroup=icmpStatsGroup) # Compliances mibBuilder.exportSymbols("IP-MIB", ipMIBCompliance=ipMIBCompliance, ipMIBCompliance2=ipMIBCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/DISMAN-PING-MIB.py0000644000014400001440000012151111736645135021143 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DISMAN-PING-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, RowStatus, StorageType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "StorageType", "TextualConvention", "TruthValue") # Types class OperationResponseStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,8,5,6,11,4,9,7,2,3,10,) namedValues = NamedValues(("responseReceived", 1), ("unableToResolveDnsName", 10), ("invalidHostAddress", 11), ("unknown", 2), ("internalError", 3), ("requestTimedOut", 4), ("unknownDestinationAddress", 5), ("noRouteToTarget", 6), ("interfaceInactiveToTarget", 7), ("arpFailure", 8), ("maxConcurrentLimitReached", 9), ) # Objects pingMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 80)).setRevisions(("2006-06-13 00:00","2000-09-21 00:00",)) if mibBuilder.loadTexts: pingMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: pingMIB.setContactInfo("Juergen Quittek\n\nNEC Europe Ltd.\nNetwork Laboratories\nKurfuersten-Anlage 36\n69115 Heidelberg\nGermany\n\nPhone: +49 6221 4342-115\n\n\n\nEmail: quittek@netlab.nec.de") if mibBuilder.loadTexts: pingMIB.setDescription("The Ping MIB (DISMAN-PING-MIB) provides the capability of\ncontrolling the use of the ping function at a remote\nhost.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4560; see the RFC itself for\nfull legal notices.") pingNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 80, 0)) pingObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 80, 1)) pingMaxConcurrentRequests = MibScalar((1, 3, 6, 1, 2, 1, 80, 1, 1), Unsigned32().clone(10)).setMaxAccess("readwrite").setUnits("requests") if mibBuilder.loadTexts: pingMaxConcurrentRequests.setDescription("The maximum number of concurrent active ping requests\nthat are allowed within an agent implementation. A value\nof 0 for this object implies that there is no limit for\nthe number of concurrent active requests in effect.\n\n\n\n\nThe limit applies only to new requests being activated.\nWhen a new value is set, the agent will continue processing\nall the requests already active, even if their number\nexceeds the limit just imposed.") pingCtlTable = MibTable((1, 3, 6, 1, 2, 1, 80, 1, 2)) if mibBuilder.loadTexts: pingCtlTable.setDescription("Defines the ping Control Table for providing, via SNMP,\nthe capability of performing ping operations at\na remote host. The results of these operations are\nstored in the pingResultsTable and the\npingProbeHistoryTable.") pingCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 80, 1, 2, 1)).setIndexNames((0, "DISMAN-PING-MIB", "pingCtlOwnerIndex"), (0, "DISMAN-PING-MIB", "pingCtlTestName")) if mibBuilder.loadTexts: pingCtlEntry.setDescription("Defines an entry in the pingCtlTable. The first index\nelement, pingCtlOwnerIndex, is of type SnmpAdminString,\na textual convention that allows for use of the SNMPv3\nView-Based Access Control Model (RFC 3415, VACM)\nand that allows a management application to identify its\nentries. The second index, pingCtlTestName (also an\nSnmpAdminString), enables the same management\napplication to have multiple outstanding requests.") pingCtlOwnerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pingCtlOwnerIndex.setDescription("To facilitate the provisioning of access control by a\nsecurity administrator using the View-Based Access\nControl Model (RFC 2575, VACM) for tables in which\nmultiple users may need to create or\nmodify entries independently, the initial index is used\nas an 'owner index'. Such an initial index has a syntax\nof SnmpAdminString and can thus be trivially mapped to a\nsecurityName or groupName defined in VACM, in\naccordance with a security policy.\n\nWhen used in conjunction with such a security policy, all\nentries in the table belonging to a particular user (or\ngroup) will have the same value for this initial index.\nFor a given user's entries in a particular table, the\nobject identifiers for the information in these entries\nwill have the same subidentifiers (except for the 'column'\nsubidentifier) up to the end of the encoded owner index.\nTo configure VACM to permit access to this portion of the\ntable, one would create vacmViewTreeFamilyTable entries\nwith the value of vacmViewTreeFamilySubtree including\nthe owner index portion, and vacmViewTreeFamilyMask\n'wildcarding' the column subidentifier. More elaborate\nconfigurations are possible.") pingCtlTestName = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pingCtlTestName.setDescription("The name of the ping test. This is locally unique, within\nthe scope of a pingCtlOwnerIndex.") pingCtlTargetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 3), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlTargetAddressType.setDescription("Specifies the type of host address to be used at a remote\nhost for performing a ping operation.") pingCtlTargetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 4), InetAddress().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlTargetAddress.setDescription("Specifies the host address to be used at a remote host for\nperforming a ping operation. The host address type is\ndetermined by the value of the corresponding\npingCtlTargetAddressType.\n\nA value for this object MUST be set prior to transitioning\nits corresponding pingCtlEntry to active(1) via\npingCtlRowStatus.") pingCtlDataSize = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65507)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlDataSize.setDescription("Specifies the size of the data portion to be\ntransmitted in a ping operation, in octets. Whether this\nvalue can be applied depends on the selected\nimplementation method for performing a ping operation,\nindicated by pingCtlType in the same conceptual row.\nIf the method used allows applying the value contained\n\n\n\nin this object, then it MUST be applied. If the specified\nsize is not appropriate for the chosen ping method, the\nimplementation SHOULD use whatever size (appropriate to\nthe method) is closest to the specified size.\n\nThe maximum value for this object was computed by\nsubtracting the smallest possible IP header size of\n20 octets (IPv4 header with no options) and the UDP\nheader size of 8 octets from the maximum IP packet size.\nAn IP packet has a maximum size of 65535 octets\n(excluding IPv6 Jumbograms).") pingCtlTimeOut = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlTimeOut.setDescription("Specifies the time-out value, in seconds, for a\nremote ping operation.") pingCtlProbeCount = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlProbeCount.setDescription("Specifies the number of times to perform a ping\noperation at a remote host as part of a single ping test.") pingCtlAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlAdminStatus.setDescription("Reflects the desired state that a pingCtlEntry should be\nin:\n\n\n\n\n enabled(1) - Attempt to activate the test as defined by\n this pingCtlEntry.\n disabled(2) - Deactivate the test as defined by this\n pingCtlEntry.\n\nRefer to the corresponding pingResultsOperStatus to\ndetermine the operational state of the test defined by\nthis entry.") pingCtlDataFill = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024)).clone(hexValue='00')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlDataFill.setDescription("The content of this object is used together with the\ncorresponding pingCtlDataSize value to determine how to\nfill the data portion of a probe packet. The option of\nselecting a data fill pattern can be useful when links\nare compressed or have data pattern sensitivities. The\ncontents of pingCtlDataFill should be repeated in a ping\npacket when the size of the data portion of the ping\npacket is greater than the size of pingCtlDataFill.") pingCtlFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 10), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlFrequency.setDescription("The number of seconds to wait before repeating a ping test\nas defined by the value of the various objects in the\ncorresponding row.\n\nA single ping test consists of a series of ping probes.\nThe number of probes is determined by the value of the\ncorresponding pingCtlProbeCount object. After a single\ntest is completed the number of seconds as defined by the\nvalue of pingCtlFrequency MUST elapse before the\nnext ping test is started.\n\nA value of 0 for this object implies that the test\nas defined by the corresponding entry will not be\nrepeated.") pingCtlMaxRows = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 11), Unsigned32().clone(50)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlMaxRows.setDescription("The maximum number of corresponding entries allowed\nin the pingProbeHistoryTable. An implementation of this\nMIB will remove the oldest corresponding entry in the\npingProbeHistoryTable to allow the addition of an\nnew entry once the number of corresponding rows in the\npingProbeHistoryTable reaches this value.\n\nOld entries are not removed when a new test is\nstarted. Entries are added to the pingProbeHistoryTable\nuntil pingCtlMaxRows is reached before entries begin to\nbe removed.\n\nA value of 0 for this object disables creation of\npingProbeHistoryTable entries.") pingCtlStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 12), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") pingCtlTrapGeneration = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 13), Bits().subtype(namedValues=NamedValues(("probeFailure", 0), ("testFailure", 1), ("testCompletion", 2), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlTrapGeneration.setDescription("The value of this object determines when and whether\nto generate a notification for this entry:\n\n\n\nprobeFailure(0) - Generate a pingProbeFailed\n notification subject to the value of\n pingCtlTrapProbeFailureFilter. The object\n pingCtlTrapProbeFailureFilter can be used\n to specify the number of consecutive probe\n failures that are required before a\n pingProbeFailed notification can be generated.\ntestFailure(1) - Generate a pingTestFailed\n notification. In this instance the object\n pingCtlTrapTestFailureFilter can be used to\n determine the number of probe failures that\n signal when a test fails.\ntestCompletion(2) - Generate a pingTestCompleted\n notification.\n\nBy default, no bits are set, indicating that\nnone of the above options is selected.") pingCtlTrapProbeFailureFilter = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlTrapProbeFailureFilter.setDescription("The value of this object is used to determine when\nto generate a pingProbeFailed NOTIFICATION.\n\nSetting BIT probeFailure(0) of object\npingCtlTrapGeneration to '1' implies that a\npingProbeFailed NOTIFICATION is generated only when\n\na number of consecutive ping probes equal to the\nvalue of pingCtlTrapProbeFailureFilter fail within\na given ping test. After triggering the notification,\nthe probe failure counter is reset to zero.") pingCtlTrapTestFailureFilter = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlTrapTestFailureFilter.setDescription("The value of this object is used to determine when\nto generate a pingTestFailed NOTIFICATION.\n\nSetting BIT testFailure(1) of object\n\n\n\npingCtlTrapGeneration to '1' implies that a\npingTestFailed NOTIFICATION is generated only when\na number of consecutive ping tests equal to the\nvalue of pingCtlTrapProbeFailureFilter fail.\nAfter triggering the notification, the test failure\ncounter is reset to zero.") pingCtlType = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 16), ObjectIdentifier().clone((1, 3, 6, 1, 2, 1, 80, 3, 1))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlType.setDescription("The value of this object is used either to report or\nto select the implementation method to be used for\ncalculating a ping response time. The value of this\nobject MAY be selected from pingImplementationTypeDomains.\n\nAdditional implementation types SHOULD be allocated as\nrequired by implementers of the DISMAN-PING-MIB under\ntheir enterprise-specific registration point and not\nbeneath pingImplementationTypeDomains.") pingCtlDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 17), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlDescr.setDescription("The purpose of this object is to provide a\ndescriptive name of the remote ping test.") pingCtlSourceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 18), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlSourceAddressType.setDescription("Specifies the type of the source address,\npingCtlSourceAddress, to be used at a remote host\nwhen a ping operation is performed.") pingCtlSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 19), InetAddress().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlSourceAddress.setDescription("Use the specified IP address (which must be given in\nnumeric form, not as a hostname) as the source address\nin outgoing probe packets. On hosts with more than one\nIP address, this option can be used to select the address\nto be used. If the IP address is not one of this\nmachine's interface addresses, an error is returned and\nnothing is sent. A zero-length octet string value for\nthis object disables source address specification.\n\nThe address type (InetAddressType) that relates to\nthis object is specified by the corresponding value\nof pingCtlSourceAddressType.") pingCtlIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 20), InterfaceIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlIfIndex.setDescription("Setting this object to an interface's ifIndex prior\nto starting a remote ping operation directs\nthe ping probes to be transmitted over the\nspecified interface. A value of zero for this object\nmeans that this option is not enabled.") pingCtlByPassRouteTable = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 21), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlByPassRouteTable.setDescription("The purpose of this object is to enable optional\nbypassing the route table. If enabled, the remote\nhost will bypass the normal routing tables and send\ndirectly to a host on an attached network. If the\nhost is not on a directly attached network, an\nerror is returned. This option can be used to perform\nthe ping operation to a local host through an\ninterface that has no route defined (e.g., after the\ninterface was dropped by the routing daemon at the host).") pingCtlDSField = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlDSField.setDescription("Specifies the value to store in the Type of Service\n(TOS) octet in the IPv4 header or in the Traffic\nClass octet in the IPv6 header, respectively, of the\nIP packet used to encapsulate the ping probe.\n\nThe octet to be set in the IP header contains the\nDifferentiated Services (DS) Field in the six most\nsignificant bits.\n\nThis option can be used to determine what effect an\nexplicit DS Field setting has on a ping response.\nNot all values are legal or meaningful. A value of 0\nmeans that the function represented by this option is\nnot supported. DS Field usage is often not supported\nby IP implementations, and not all values are supported.\nRefer to RFC 2474 and RFC 3260 for guidance on usage of\nthis field.") pingCtlRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 2, 1, 23), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pingCtlRowStatus.setDescription("This object allows entries to be created and deleted\nin the pingCtlTable. Deletion of an entry in this\ntable results in the deletion of all corresponding (same\npingCtlOwnerIndex and pingCtlTestName index values)\npingResultsTable and pingProbeHistoryTable entries.\n\nA value MUST be specified for pingCtlTargetAddress\nprior to acceptance of a transition to active(1) state.\n\nWhen a value for pingCtlTargetAddress is set,\n\n\n\nthe value of object pingCtlRowStatus changes\nfrom notReady(3) to notInService(2).\n\nActivation of a remote ping operation is controlled\nvia pingCtlAdminStatus, not by changing\nthis object's value to active(1).\n\nTransitions in and out of active(1) state are not\nallowed while an entry's pingResultsOperStatus is\nactive(1), with the exception that deletion of\nan entry in this table by setting its RowStatus\nobject to destroy(6) will stop an active\nping operation.\n\nThe operational state of a ping operation\ncan be determined by examination of its\npingResultsOperStatus object.") pingResultsTable = MibTable((1, 3, 6, 1, 2, 1, 80, 1, 3)) if mibBuilder.loadTexts: pingResultsTable.setDescription("Defines the Ping Results Table for providing\nthe capability of performing ping operations at\na remote host. The results of these operations are\nstored in the pingResultsTable and the pingProbeHistoryTable.\n\nAn entry is added to the pingResultsTable when an\npingCtlEntry is started by successful transition\nof its pingCtlAdminStatus object to enabled(1).\n\nIf the object pingCtlAdminStatus already has the value\nenabled(1), and if the corresponding pingResultsOperStatus\nobject has the value completed(3), then successfully writing\nenabled(1) to object pingCtlAdminStatus re-initializes the\nalready existing entry in the pingResultsTable. The values\nof objects in the re-initialized entry are the same as the\nvalues of objects in a new entry would be.\n\nAn entry is removed from the pingResultsTable when\nits corresponding pingCtlEntry is deleted.") pingResultsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 80, 1, 3, 1)).setIndexNames((0, "DISMAN-PING-MIB", "pingCtlOwnerIndex"), (0, "DISMAN-PING-MIB", "pingCtlTestName")) if mibBuilder.loadTexts: pingResultsEntry.setDescription("Defines an entry in the pingResultsTable. The\npingResultsTable has the same indexing as the\npingCtlTable so that a pingResultsEntry\ncorresponds to the pingCtlEntry that caused it to\nbe created.") pingResultsOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("completed", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsOperStatus.setDescription("Reflects the operational state of a pingCtlEntry:\n\nenabled(1) - Test is active.\ndisabled(2) - Test has stopped.\ncompleted(3) - Test is completed.") pingResultsIpTargetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 2), InetAddressType().clone('unknown')).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsIpTargetAddressType.setDescription("This object indicates the type of address stored\nin the corresponding pingResultsIpTargetAddress\nobject.") pingResultsIpTargetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 3), InetAddress().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsIpTargetAddress.setDescription("This object reports the IP address associated\nwith a pingCtlTargetAddress value when the destination\naddress is specified as a DNS name. The value of\nthis object should be a zero-length octet string\nwhen a DNS name is not specified or when a\nspecified DNS name fails to resolve.\n\nThe address type (InetAddressType) that relates to\nthis object is specified by the corresponding value\nof pingResultsIpTargetAddressType.") pingResultsMinRtt = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsMinRtt.setDescription("The minimum ping round-trip-time (RTT) received. A value\nof 0 for this object implies that no RTT has been received.") pingResultsMaxRtt = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsMaxRtt.setDescription("The maximum ping round-trip-time (RTT) received. A value\nof 0 for this object implies that no RTT has been received.") pingResultsAverageRtt = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsAverageRtt.setDescription("The current average ping round-trip-time (RTT).") pingResultsProbeResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsProbeResponses.setDescription("Number of responses received for the corresponding\npingCtlEntry and pingResultsEntry. The value of this object\nMUST be reported as 0 when no probe responses have been\nreceived.") pingResultsSentProbes = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsSentProbes.setDescription("The value of this object reflects the number of probes sent\nfor the corresponding pingCtlEntry and pingResultsEntry.\nThe value of this object MUST be reported as 0 when no probes\nhave been sent.") pingResultsRttSumOfSquares = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsRttSumOfSquares.setDescription("This object contains the sum of the squares for all ping\nresponses received. Its purpose is to enable standard\ndeviation calculation. The value of this object MUST\nbe reported as 0 when no ping responses have been\nreceived.") pingResultsLastGoodProbe = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 3, 1, 10), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingResultsLastGoodProbe.setDescription("Date and time when the last response was received for\na probe.") pingProbeHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 80, 1, 4)) if mibBuilder.loadTexts: pingProbeHistoryTable.setDescription("Defines a table for storing the results of ping\noperations. The number of entries in this table is\nlimited per entry in the pingCtlTable by the value\nof the corresponding pingCtlMaxRows object.\n\nAn entry in this table is created when the result of\na ping probe is determined. The initial 2 instance\nidentifier index values identify the pingCtlEntry\nthat a probe result (pingProbeHistoryEntry) belongs\nto. An entry is removed from this table when\nits corresponding pingCtlEntry is deleted.\n\nAn implementation of this MIB will remove the oldest\nentry in the pingProbeHistoryTable of the\ncorresponding entry in the pingCtlTable to allow\nthe addition of an new entry once the number of rows\nin the pingProbeHistoryTable reaches the value\nspecified by pingCtlMaxRows for the corresponding\nentry in the pingCtlTable.") pingProbeHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 80, 1, 4, 1)).setIndexNames((0, "DISMAN-PING-MIB", "pingCtlOwnerIndex"), (0, "DISMAN-PING-MIB", "pingCtlTestName"), (0, "DISMAN-PING-MIB", "pingProbeHistoryIndex")) if mibBuilder.loadTexts: pingProbeHistoryEntry.setDescription("Defines an entry in the pingProbeHistoryTable.\nThe first two index elements identify the\npingCtlEntry that a pingProbeHistoryEntry belongs\nto. The third index element selects a single\nprobe result.") pingProbeHistoryIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: pingProbeHistoryIndex.setDescription("An entry in this table is created when the result of\na ping probe is determined. The initial 2 instance\nidentifier index values identify the pingCtlEntry\nthat a probe result (pingProbeHistoryEntry) belongs\nto.\n\nAn implementation MUST start assigning\npingProbeHistoryIndex values at 1 and wrap after\nexceeding the maximum possible value as defined by\nthe limit of this object ('ffffffff'h).") pingProbeHistoryResponse = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 4, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingProbeHistoryResponse.setDescription("The amount of time measured in milliseconds from when\na probe was sent to when its response was received or\nwhen it timed out. The value of this object is reported\nas 0 when it is not possible to transmit a probe.") pingProbeHistoryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 4, 1, 3), OperationResponseStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingProbeHistoryStatus.setDescription("The result of a particular probe done by a remote host.") pingProbeHistoryLastRC = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingProbeHistoryLastRC.setDescription("The last implementation-method-specific reply code received.\nIf the ICMP Echo capability is being used, then a successful\nprobe ends when an ICMP response is received that contains\nthe code ICMP_ECHOREPLY(0). The ICMP codes are maintained\nby IANA. Standardized ICMP codes are listed at\nhttp://www.iana.org/assignments/icmp-parameters.\nThe ICMPv6 codes are listed at\nhttp://www.iana.org/assignments/icmpv6-parameters.") pingProbeHistoryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 80, 1, 4, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: pingProbeHistoryTime.setDescription("Timestamp for when this probe result was determined.") pingConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 80, 2)) pingCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 80, 2, 1)) pingGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 80, 2, 2)) pingImplementationTypeDomains = MibIdentifier((1, 3, 6, 1, 2, 1, 80, 3)) pingIcmpEcho = ObjectIdentity((1, 3, 6, 1, 2, 1, 80, 3, 1)) if mibBuilder.loadTexts: pingIcmpEcho.setDescription("Indicates that an implementation is using the Internet\nControl Message Protocol (ICMP) 'ECHO' facility.") pingUdpEcho = ObjectIdentity((1, 3, 6, 1, 2, 1, 80, 3, 2)) if mibBuilder.loadTexts: pingUdpEcho.setDescription("Indicates that an implementation is using the UDP echo\nport (7).") pingSnmpQuery = ObjectIdentity((1, 3, 6, 1, 2, 1, 80, 3, 3)) if mibBuilder.loadTexts: pingSnmpQuery.setDescription("Indicates that an implementation is using an SNMP query\nto calculate a round trip time.") pingTcpConnectionAttempt = ObjectIdentity((1, 3, 6, 1, 2, 1, 80, 3, 4)) if mibBuilder.loadTexts: pingTcpConnectionAttempt.setDescription("Indicates that an implementation is attempting to\nconnect to a TCP port in order to calculate a round\ntrip time.") # Augmentions # Notifications pingProbeFailed = NotificationType((1, 3, 6, 1, 2, 1, 80, 0, 1)).setObjects(*(("DISMAN-PING-MIB", "pingCtlTargetAddress"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddressType"), ("DISMAN-PING-MIB", "pingResultsAverageRtt"), ("DISMAN-PING-MIB", "pingResultsRttSumOfSquares"), ("DISMAN-PING-MIB", "pingResultsOperStatus"), ("DISMAN-PING-MIB", "pingResultsMinRtt"), ("DISMAN-PING-MIB", "pingResultsMaxRtt"), ("DISMAN-PING-MIB", "pingResultsProbeResponses"), ("DISMAN-PING-MIB", "pingCtlTargetAddressType"), ("DISMAN-PING-MIB", "pingResultsLastGoodProbe"), ("DISMAN-PING-MIB", "pingResultsSentProbes"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddress"), ) ) if mibBuilder.loadTexts: pingProbeFailed.setDescription("Generated when a probe failure is detected, when the\n\n\n\ncorresponding pingCtlTrapGeneration object is set to\nprobeFailure(0), subject to the value of\npingCtlTrapProbeFailureFilter. The object\npingCtlTrapProbeFailureFilter can be used to specify the\nnumber of consecutive probe failures that are required\nbefore this notification can be generated.") pingTestFailed = NotificationType((1, 3, 6, 1, 2, 1, 80, 0, 2)).setObjects(*(("DISMAN-PING-MIB", "pingCtlTargetAddress"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddressType"), ("DISMAN-PING-MIB", "pingResultsAverageRtt"), ("DISMAN-PING-MIB", "pingResultsRttSumOfSquares"), ("DISMAN-PING-MIB", "pingResultsOperStatus"), ("DISMAN-PING-MIB", "pingResultsMinRtt"), ("DISMAN-PING-MIB", "pingResultsMaxRtt"), ("DISMAN-PING-MIB", "pingResultsProbeResponses"), ("DISMAN-PING-MIB", "pingCtlTargetAddressType"), ("DISMAN-PING-MIB", "pingResultsLastGoodProbe"), ("DISMAN-PING-MIB", "pingResultsSentProbes"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddress"), ) ) if mibBuilder.loadTexts: pingTestFailed.setDescription("Generated when a ping test is determined to have failed,\nwhen the corresponding pingCtlTrapGeneration object is\nset to testFailure(1). In this instance,\npingCtlTrapTestFailureFilter should specify the number of\nprobes in a test required to have failed in order to\nconsider the test failed.") pingTestCompleted = NotificationType((1, 3, 6, 1, 2, 1, 80, 0, 3)).setObjects(*(("DISMAN-PING-MIB", "pingCtlTargetAddress"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddressType"), ("DISMAN-PING-MIB", "pingResultsAverageRtt"), ("DISMAN-PING-MIB", "pingResultsRttSumOfSquares"), ("DISMAN-PING-MIB", "pingResultsOperStatus"), ("DISMAN-PING-MIB", "pingResultsMinRtt"), ("DISMAN-PING-MIB", "pingResultsMaxRtt"), ("DISMAN-PING-MIB", "pingResultsProbeResponses"), ("DISMAN-PING-MIB", "pingCtlTargetAddressType"), ("DISMAN-PING-MIB", "pingResultsLastGoodProbe"), ("DISMAN-PING-MIB", "pingResultsSentProbes"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddress"), ) ) if mibBuilder.loadTexts: pingTestCompleted.setDescription("Generated at the completion of a ping test when the\ncorresponding pingCtlTrapGeneration object has the\ntestCompletion(2) bit set.") # Groups pingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 80, 2, 2, 1)).setObjects(*(("DISMAN-PING-MIB", "pingCtlTargetAddress"), ("DISMAN-PING-MIB", "pingCtlProbeCount"), ("DISMAN-PING-MIB", "pingCtlIfIndex"), ("DISMAN-PING-MIB", "pingResultsAverageRtt"), ("DISMAN-PING-MIB", "pingMaxConcurrentRequests"), ("DISMAN-PING-MIB", "pingProbeHistoryResponse"), ("DISMAN-PING-MIB", "pingResultsRttSumOfSquares"), ("DISMAN-PING-MIB", "pingProbeHistoryStatus"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddress"), ("DISMAN-PING-MIB", "pingCtlSourceAddress"), ("DISMAN-PING-MIB", "pingResultsOperStatus"), ("DISMAN-PING-MIB", "pingCtlRowStatus"), ("DISMAN-PING-MIB", "pingCtlSourceAddressType"), ("DISMAN-PING-MIB", "pingResultsProbeResponses"), ("DISMAN-PING-MIB", "pingCtlDSField"), ("DISMAN-PING-MIB", "pingCtlType"), ("DISMAN-PING-MIB", "pingResultsMaxRtt"), ("DISMAN-PING-MIB", "pingCtlTargetAddressType"), ("DISMAN-PING-MIB", "pingCtlTrapGeneration"), ("DISMAN-PING-MIB", "pingCtlTrapTestFailureFilter"), ("DISMAN-PING-MIB", "pingCtlFrequency"), ("DISMAN-PING-MIB", "pingResultsSentProbes"), ("DISMAN-PING-MIB", "pingCtlTrapProbeFailureFilter"), ("DISMAN-PING-MIB", "pingCtlDescr"), ("DISMAN-PING-MIB", "pingProbeHistoryLastRC"), ("DISMAN-PING-MIB", "pingCtlMaxRows"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddressType"), ("DISMAN-PING-MIB", "pingCtlTimeOut"), ("DISMAN-PING-MIB", "pingCtlDataFill"), ("DISMAN-PING-MIB", "pingCtlStorageType"), ("DISMAN-PING-MIB", "pingCtlByPassRouteTable"), ("DISMAN-PING-MIB", "pingCtlDataSize"), ("DISMAN-PING-MIB", "pingResultsMinRtt"), ("DISMAN-PING-MIB", "pingCtlAdminStatus"), ) ) if mibBuilder.loadTexts: pingGroup.setDescription("The group of objects that constitute the remote ping\ncapability.") pingTimeStampGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 80, 2, 2, 2)).setObjects(*(("DISMAN-PING-MIB", "pingResultsLastGoodProbe"), ("DISMAN-PING-MIB", "pingProbeHistoryTime"), ) ) if mibBuilder.loadTexts: pingTimeStampGroup.setDescription("The group of DateAndTime objects.") pingNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 80, 2, 2, 3)).setObjects(*(("DISMAN-PING-MIB", "pingTestCompleted"), ("DISMAN-PING-MIB", "pingTestFailed"), ("DISMAN-PING-MIB", "pingProbeFailed"), ) ) if mibBuilder.loadTexts: pingNotificationsGroup.setDescription("The notification that are required to be supported by\nimplementations of this MIB.") pingMinimumGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 80, 2, 2, 4)).setObjects(*(("DISMAN-PING-MIB", "pingResultsIpTargetAddressType"), ("DISMAN-PING-MIB", "pingResultsAverageRtt"), ("DISMAN-PING-MIB", "pingMaxConcurrentRequests"), ("DISMAN-PING-MIB", "pingResultsRttSumOfSquares"), ("DISMAN-PING-MIB", "pingResultsOperStatus"), ("DISMAN-PING-MIB", "pingCtlSourceAddressType"), ("DISMAN-PING-MIB", "pingResultsProbeResponses"), ("DISMAN-PING-MIB", "pingCtlType"), ("DISMAN-PING-MIB", "pingCtlTargetAddressType"), ("DISMAN-PING-MIB", "pingCtlTrapGeneration"), ("DISMAN-PING-MIB", "pingCtlTimeOut"), ("DISMAN-PING-MIB", "pingCtlStorageType"), ("DISMAN-PING-MIB", "pingCtlDataSize"), ("DISMAN-PING-MIB", "pingResultsIpTargetAddress"), ("DISMAN-PING-MIB", "pingCtlTargetAddress"), ("DISMAN-PING-MIB", "pingCtlProbeCount"), ("DISMAN-PING-MIB", "pingCtlSourceAddress"), ("DISMAN-PING-MIB", "pingResultsMinRtt"), ("DISMAN-PING-MIB", "pingResultsMaxRtt"), ("DISMAN-PING-MIB", "pingCtlDSField"), ("DISMAN-PING-MIB", "pingResultsLastGoodProbe"), ("DISMAN-PING-MIB", "pingCtlAdminStatus"), ("DISMAN-PING-MIB", "pingCtlTrapTestFailureFilter"), ("DISMAN-PING-MIB", "pingCtlFrequency"), ("DISMAN-PING-MIB", "pingResultsSentProbes"), ("DISMAN-PING-MIB", "pingCtlTrapProbeFailureFilter"), ("DISMAN-PING-MIB", "pingCtlDescr"), ("DISMAN-PING-MIB", "pingCtlMaxRows"), ("DISMAN-PING-MIB", "pingCtlDataFill"), ("DISMAN-PING-MIB", "pingCtlByPassRouteTable"), ("DISMAN-PING-MIB", "pingCtlIfIndex"), ) ) if mibBuilder.loadTexts: pingMinimumGroup.setDescription("The group of objects that constitute the remote ping\ncapability.") pingCtlRowStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 80, 2, 2, 5)).setObjects(*(("DISMAN-PING-MIB", "pingCtlRowStatus"), ) ) if mibBuilder.loadTexts: pingCtlRowStatusGroup.setDescription("The RowStatus object of the pingCtlTable.") pingHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 80, 2, 2, 6)).setObjects(*(("DISMAN-PING-MIB", "pingProbeHistoryLastRC"), ("DISMAN-PING-MIB", "pingProbeHistoryStatus"), ("DISMAN-PING-MIB", "pingProbeHistoryTime"), ("DISMAN-PING-MIB", "pingProbeHistoryResponse"), ) ) if mibBuilder.loadTexts: pingHistoryGroup.setDescription("The group of objects that constitute the history\ncapability.") # Compliances pingCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 80, 2, 1, 1)).setObjects(*(("DISMAN-PING-MIB", "pingGroup"), ("DISMAN-PING-MIB", "pingTimeStampGroup"), ("DISMAN-PING-MIB", "pingNotificationsGroup"), ) ) if mibBuilder.loadTexts: pingCompliance.setDescription("The compliance statement for the DISMAN-PING-MIB. This\ncompliance statement has been deprecated because the\ngroup pingGroup and the pingTimeStampGroup have been\nsplit and deprecated. The pingFullCompliance statement\nis semantically identical to the deprecated\npingCompliance statement.") pingFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 80, 2, 1, 2)).setObjects(*(("DISMAN-PING-MIB", "pingHistoryGroup"), ("DISMAN-PING-MIB", "pingNotificationsGroup"), ("DISMAN-PING-MIB", "pingMinimumGroup"), ("DISMAN-PING-MIB", "pingCtlRowStatusGroup"), ) ) if mibBuilder.loadTexts: pingFullCompliance.setDescription("The compliance statement for SNMP entities that\nfully implement the DISMAN-PING-MIB.") pingMinimumCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 80, 2, 1, 3)).setObjects(*(("DISMAN-PING-MIB", "pingHistoryGroup"), ("DISMAN-PING-MIB", "pingNotificationsGroup"), ("DISMAN-PING-MIB", "pingMinimumGroup"), ("DISMAN-PING-MIB", "pingCtlRowStatusGroup"), ) ) if mibBuilder.loadTexts: pingMinimumCompliance.setDescription("The minimum compliance statement for SNMP entities\nthat implement the minimal subset of the\nDISMAN-PING-MIB. Implementors might choose this\nsubset for small devices with limited resources.") # Exports # Module identity mibBuilder.exportSymbols("DISMAN-PING-MIB", PYSNMP_MODULE_ID=pingMIB) # Types mibBuilder.exportSymbols("DISMAN-PING-MIB", OperationResponseStatus=OperationResponseStatus) # Objects mibBuilder.exportSymbols("DISMAN-PING-MIB", pingMIB=pingMIB, pingNotifications=pingNotifications, pingObjects=pingObjects, pingMaxConcurrentRequests=pingMaxConcurrentRequests, pingCtlTable=pingCtlTable, pingCtlEntry=pingCtlEntry, pingCtlOwnerIndex=pingCtlOwnerIndex, pingCtlTestName=pingCtlTestName, pingCtlTargetAddressType=pingCtlTargetAddressType, pingCtlTargetAddress=pingCtlTargetAddress, pingCtlDataSize=pingCtlDataSize, pingCtlTimeOut=pingCtlTimeOut, pingCtlProbeCount=pingCtlProbeCount, pingCtlAdminStatus=pingCtlAdminStatus, pingCtlDataFill=pingCtlDataFill, pingCtlFrequency=pingCtlFrequency, pingCtlMaxRows=pingCtlMaxRows, pingCtlStorageType=pingCtlStorageType, pingCtlTrapGeneration=pingCtlTrapGeneration, pingCtlTrapProbeFailureFilter=pingCtlTrapProbeFailureFilter, pingCtlTrapTestFailureFilter=pingCtlTrapTestFailureFilter, pingCtlType=pingCtlType, pingCtlDescr=pingCtlDescr, pingCtlSourceAddressType=pingCtlSourceAddressType, pingCtlSourceAddress=pingCtlSourceAddress, pingCtlIfIndex=pingCtlIfIndex, pingCtlByPassRouteTable=pingCtlByPassRouteTable, pingCtlDSField=pingCtlDSField, pingCtlRowStatus=pingCtlRowStatus, pingResultsTable=pingResultsTable, pingResultsEntry=pingResultsEntry, pingResultsOperStatus=pingResultsOperStatus, pingResultsIpTargetAddressType=pingResultsIpTargetAddressType, pingResultsIpTargetAddress=pingResultsIpTargetAddress, pingResultsMinRtt=pingResultsMinRtt, pingResultsMaxRtt=pingResultsMaxRtt, pingResultsAverageRtt=pingResultsAverageRtt, pingResultsProbeResponses=pingResultsProbeResponses, pingResultsSentProbes=pingResultsSentProbes, pingResultsRttSumOfSquares=pingResultsRttSumOfSquares, pingResultsLastGoodProbe=pingResultsLastGoodProbe, pingProbeHistoryTable=pingProbeHistoryTable, pingProbeHistoryEntry=pingProbeHistoryEntry, pingProbeHistoryIndex=pingProbeHistoryIndex, pingProbeHistoryResponse=pingProbeHistoryResponse, pingProbeHistoryStatus=pingProbeHistoryStatus, pingProbeHistoryLastRC=pingProbeHistoryLastRC, pingProbeHistoryTime=pingProbeHistoryTime, pingConformance=pingConformance, pingCompliances=pingCompliances, pingGroups=pingGroups, pingImplementationTypeDomains=pingImplementationTypeDomains, pingIcmpEcho=pingIcmpEcho, pingUdpEcho=pingUdpEcho, pingSnmpQuery=pingSnmpQuery, pingTcpConnectionAttempt=pingTcpConnectionAttempt) # Notifications mibBuilder.exportSymbols("DISMAN-PING-MIB", pingProbeFailed=pingProbeFailed, pingTestFailed=pingTestFailed, pingTestCompleted=pingTestCompleted) # Groups mibBuilder.exportSymbols("DISMAN-PING-MIB", pingGroup=pingGroup, pingTimeStampGroup=pingTimeStampGroup, pingNotificationsGroup=pingNotificationsGroup, pingMinimumGroup=pingMinimumGroup, pingCtlRowStatusGroup=pingCtlRowStatusGroup, pingHistoryGroup=pingHistoryGroup) # Compliances mibBuilder.exportSymbols("DISMAN-PING-MIB", pingCompliance=pingCompliance, pingFullCompliance=pingFullCompliance, pingMinimumCompliance=pingMinimumCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DISMAN-NSLOOKUP-MIB.py0000644000014400001440000004053611736645135021667 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DISMAN-NSLOOKUP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus") # Objects lookupMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 82)).setRevisions(("2006-06-13 00:00","2000-09-21 00:00",)) if mibBuilder.loadTexts: lookupMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: lookupMIB.setContactInfo("Juergen Quittek\n\n\n\nNEC Europe Ltd.\nNetwork Laboratories\nKurfuersten-Anlage 36\n69115 Heidelberg\nGermany\n\nPhone: +49 6221 4342-115\nEmail: quittek@netlab.nec.de") if mibBuilder.loadTexts: lookupMIB.setDescription("The Lookup MIB (DISMAN-NSLOOKUP-MIB) enables determination\nof either the name(s) corresponding to a host address or of\nthe address(es) associated with a host name at a remote\nhost.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4560; see the RFC itself for\nfull legal notices.") lookupObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 82, 1)) lookupMaxConcurrentRequests = MibScalar((1, 3, 6, 1, 2, 1, 82, 1, 1), Unsigned32().clone(10)).setMaxAccess("readwrite").setUnits("requests") if mibBuilder.loadTexts: lookupMaxConcurrentRequests.setDescription("The maximum number of concurrent active lookup requests\nthat are allowed within an agent implementation. A value\nof 0 for this object implies that there is no limit for\nthe number of concurrent active requests in effect.\n\nThe limit applies only to new requests being activated.\nWhen a new value is set, the agent will continue processing\nall the requests already active, even if their number\nexceed the limit just imposed.") lookupPurgeTime = MibScalar((1, 3, 6, 1, 2, 1, 82, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400)).clone(900)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: lookupPurgeTime.setDescription("The amount of time to wait before automatically\ndeleting an entry in the lookupCtlTable and any\ndependent lookupResultsTable entries\nafter the lookup operation represented by a\nlookupCtlEntry has been completed.\nA lookupCtEntry is considered complete\nwhen its lookupCtlOperStatus object has a\nvalue of completed(3).\n\nA value of 0 indicates that automatic deletion\nof entries is disabled.") lookupCtlTable = MibTable((1, 3, 6, 1, 2, 1, 82, 1, 3)) if mibBuilder.loadTexts: lookupCtlTable.setDescription("Defines the Lookup Control Table for providing\nthe capability of performing a lookup operation\nfor a symbolic host name or for a host address\nfrom a remote host.") lookupCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 82, 1, 3, 1)).setIndexNames((0, "DISMAN-NSLOOKUP-MIB", "lookupCtlOwnerIndex"), (0, "DISMAN-NSLOOKUP-MIB", "lookupCtlOperationName")) if mibBuilder.loadTexts: lookupCtlEntry.setDescription("Defines an entry in the lookupCtlTable. A\nlookupCtlEntry is initially indexed by\nlookupCtlOwnerIndex, which is a type of SnmpAdminString,\na textual convention that allows for the use of the SNMPv3\nView-Based Access Control Model (RFC 3415, VACM)\nand that also allows a management application to identify\nits entries. The second index element,\nlookupCtlOperationName, enables the same\nlookupCtlOwnerIndex entity to have multiple outstanding\nrequests. The value of lookupCtlTargetAddressType\ndetermines which lookup function to perform.") lookupCtlOwnerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: lookupCtlOwnerIndex.setDescription("To facilitate the provisioning of access control by a\nsecurity administrator using the View-Based Access\nControl Model (RFC 2575, VACM) for tables in which\nmultiple users may need to create or\nmodify entries independently, the initial index is used as\nan 'owner index'. Such an initial index has a syntax of\nSnmpAdminString and can thus be trivially mapped to a\n\n\nsecurityName or groupName defined in VACM, in\naccordance with a security policy.\n\nWhen used in conjunction with such a security policy all\nentries in the table belonging to a particular user (or\ngroup) will have the same value for this initial index.\nFor a given user's entries in a particular table, the\nobject identifiers for the information in these entries\nwill have the same subidentifiers (except for the\n'column' subidentifier) up to the end of the encoded\nowner index. To configure VACM to permit access to this\nportion of the table, one would create\nvacmViewTreeFamilyTable entries with the value of\nvacmViewTreeFamilySubtree including the owner index\nportion, and vacmViewTreeFamilyMask 'wildcarding' the\ncolumn subidentifier. More elaborate configurations\nare possible.") lookupCtlOperationName = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: lookupCtlOperationName.setDescription("The name of a lookup operation. This is locally unique,\nwithin the scope of an lookupCtlOwnerIndex.") lookupCtlTargetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 3), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: lookupCtlTargetAddressType.setDescription("Specifies the type of address for performing a\nlookup operation for a symbolic host name or for a host\naddress from a remote host.\n\nSpecification of dns(16) as the value for this object\nmeans that a function such as, for example, getaddrinfo()\nor gethostbyname() should be performed to return one or\nmore numeric addresses. Use of a value of either ipv4(1)\nor ipv6(2) means that a functions such as, for example,\ngetnameinfo() or gethostbyaddr() should be used to return\nthe symbolic names associated with a host.") lookupCtlTargetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 4), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lookupCtlTargetAddress.setDescription("Specifies the address used for a resolver lookup at a\nremote host. The corresponding lookupCtlTargetAddressType\nobjects determines its type, as well as the function\nthat can be requested.\n\nA value for this object MUST be set prior to\ntransitioning its corresponding lookupCtlEntry to\nactive(1) via lookupCtlRowStatus.") lookupCtlOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("notStarted", 2), ("completed", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lookupCtlOperStatus.setDescription("Reflects the operational state of an lookupCtlEntry:\n\nenabled(1) - Operation is active.\nnotStarted(2) - Operation has not been enabled.\ncompleted(3) - Operation has been completed.\n\nAn operation is automatically enabled(1) when its\nlookupCtlRowStatus object is transitioned to active(1)\nstatus. Until this occurs, lookupCtlOperStatus MUST\nreport a value of notStarted(2). After the lookup\noperation is completed (success or failure), the value\nfor lookupCtlOperStatus MUST be transitioned to\ncompleted(3).") lookupCtlTime = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lookupCtlTime.setDescription("Reports the number of milliseconds that a lookup\noperation required to be completed at a remote host.\nCompleted means operation failure as well as\n\n\nsuccess.") lookupCtlRc = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lookupCtlRc.setDescription("The system-specific return code from a lookup\noperation. All implementations MUST return a value\nof 0 for this object when the remote lookup\noperation succeeds. A non-zero value for this\nobjects indicates failure. It is recommended that\nimplementations return the error codes that are\ngenerated by the lookup function used.") lookupCtlRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 3, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lookupCtlRowStatus.setDescription("This object allows entries to be created and deleted\nin the lookupCtlTable.\n\nA remote lookup operation is started when an\nentry in this table is created via an SNMP set\nrequest and the entry is activated. This\noccurs by setting the value of this object\nto CreateAndGo(4) during row creation or\nby setting this object to active(1) after\nthe row is created.\n\nA value MUST be specified for lookupCtlTargetAddress\nprior to the acceptance of a transition to active(1) state.\nA remote lookup operation starts when its entry\nfirst becomes active(1). Transitions in and\nout of active(1) state have no effect on the\noperational behavior of a remote lookup\noperation, with the exception that deletion of\nan entry in this table by setting its RowStatus\nobject to destroy(6) will stop an active\nremote lookup operation.\n\nThe operational state of a remote lookup operation\ncan be determined by examination of its\nlookupCtlOperStatus object.") lookupResultsTable = MibTable((1, 3, 6, 1, 2, 1, 82, 1, 4)) if mibBuilder.loadTexts: lookupResultsTable.setDescription("Defines the Lookup Results Table for providing\nthe capability of determining the results of a\noperation at a remote host.\n\nOne or more entries are added to the\nlookupResultsTable when a lookup operation,\nas reflected by an lookupCtlEntry, is completed\nsuccessfully. All entries related to a\nsuccessful lookup operation MUST be added\nto the lookupResultsTable at the same time\nthat the associating lookupCtlOperStatus\nobject is transitioned to completed(2).\n\nThe number of entries added depends on the\nresults determined for a particular lookup\noperation. All entries associated with an\nlookupCtlEntry are removed when the\nlookupCtlEntry is deleted.\n\nA remote host can be multi-homed and have more than one IP\naddress associated with it (returned by lookup function),\nor it can have more than one symbolic name (returned\nby lookup function).\n\nA function such as, for example, getnameinfo() or\ngethostbyaddr() is called with a host address as its\nparameter and is used primarily to determine a symbolic\nname to associate with the host address. Entries in the\nlookupResultsTable MUST be made for each host name\nreturned. If the function identifies an 'official host\nname,' then this symbolic name MUST be assigned a\nlookupResultsIndex of 1.\n\nA function such as, for example, getaddrinfo() or\ngethostbyname() is called with a symbolic host name and is\nused primarily to retrieve a host address. The entries\n\n\nMUST be stored in the order that they are retrieved from\nthe lookup function. lookupResultsIndex 1 MUST be\nassigned to the first entry.") lookupResultsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 82, 1, 4, 1)).setIndexNames((0, "DISMAN-NSLOOKUP-MIB", "lookupCtlOwnerIndex"), (0, "DISMAN-NSLOOKUP-MIB", "lookupCtlOperationName"), (0, "DISMAN-NSLOOKUP-MIB", "lookupResultsIndex")) if mibBuilder.loadTexts: lookupResultsEntry.setDescription("Defines an entry in the lookupResultsTable. The\nfirst two index elements identify the\nlookupCtlEntry that a lookupResultsEntry belongs\nto. The third index element selects a single\nlookup operation result.") lookupResultsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: lookupResultsIndex.setDescription("Entries in the lookupResultsTable are created when\nthe result of a lookup operation is determined.\n\nEntries MUST be stored in the lookupResultsTable in\nthe order that they are retrieved. Values assigned\nto lookupResultsIndex MUST start at 1 and increase\nconsecutively.") lookupResultsAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 4, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: lookupResultsAddressType.setDescription("Indicates the type of result of a remote lookup\noperation. A value of unknown(0) implies either that\nthe operation hasn't been started or that\nit has failed.") lookupResultsAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 82, 1, 4, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: lookupResultsAddress.setDescription("Reflects a result for a remote lookup operation\nas per the value of lookupResultsAddressType.\n\nThe address type (InetAddressType) that relates to\nthis object is specified by the corresponding value\nof lookupResultsAddress.") lookupConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 82, 2)) lookupCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 82, 2, 1)) lookupGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 82, 2, 2)) # Augmentions # Groups lookupGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 82, 2, 2, 1)).setObjects(*(("DISMAN-NSLOOKUP-MIB", "lookupCtlOperStatus"), ("DISMAN-NSLOOKUP-MIB", "lookupCtlTargetAddress"), ("DISMAN-NSLOOKUP-MIB", "lookupCtlRowStatus"), ("DISMAN-NSLOOKUP-MIB", "lookupMaxConcurrentRequests"), ("DISMAN-NSLOOKUP-MIB", "lookupCtlRc"), ("DISMAN-NSLOOKUP-MIB", "lookupResultsAddress"), ("DISMAN-NSLOOKUP-MIB", "lookupResultsAddressType"), ("DISMAN-NSLOOKUP-MIB", "lookupCtlTime"), ("DISMAN-NSLOOKUP-MIB", "lookupCtlTargetAddressType"), ("DISMAN-NSLOOKUP-MIB", "lookupPurgeTime"), ) ) if mibBuilder.loadTexts: lookupGroup.setDescription("The group of objects that constitute the remote\nLookup operation.") # Compliances lookupCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 82, 2, 1, 1)).setObjects(*(("DISMAN-NSLOOKUP-MIB", "lookupGroup"), ) ) if mibBuilder.loadTexts: lookupCompliance.setDescription("The compliance statement for SNMP entities that\nfully implement the DISMAN-NSLOOKUP-MIB.") lookupMinimumCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 82, 2, 1, 2)).setObjects(*(("DISMAN-NSLOOKUP-MIB", "lookupGroup"), ) ) if mibBuilder.loadTexts: lookupMinimumCompliance.setDescription("The minimum compliance statement for SNMP entities\nthat implement the minimal subset of the\nDISMAN-NSLOOKUP-MIB. Implementors might choose this\nsubset for small devices with limited resources.") # Exports # Module identity mibBuilder.exportSymbols("DISMAN-NSLOOKUP-MIB", PYSNMP_MODULE_ID=lookupMIB) # Objects mibBuilder.exportSymbols("DISMAN-NSLOOKUP-MIB", lookupMIB=lookupMIB, lookupObjects=lookupObjects, lookupMaxConcurrentRequests=lookupMaxConcurrentRequests, lookupPurgeTime=lookupPurgeTime, lookupCtlTable=lookupCtlTable, lookupCtlEntry=lookupCtlEntry, lookupCtlOwnerIndex=lookupCtlOwnerIndex, lookupCtlOperationName=lookupCtlOperationName, lookupCtlTargetAddressType=lookupCtlTargetAddressType, lookupCtlTargetAddress=lookupCtlTargetAddress, lookupCtlOperStatus=lookupCtlOperStatus, lookupCtlTime=lookupCtlTime, lookupCtlRc=lookupCtlRc, lookupCtlRowStatus=lookupCtlRowStatus, lookupResultsTable=lookupResultsTable, lookupResultsEntry=lookupResultsEntry, lookupResultsIndex=lookupResultsIndex, lookupResultsAddressType=lookupResultsAddressType, lookupResultsAddress=lookupResultsAddress, lookupConformance=lookupConformance, lookupCompliances=lookupCompliances, lookupGroups=lookupGroups) # Groups mibBuilder.exportSymbols("DISMAN-NSLOOKUP-MIB", lookupGroup=lookupGroup) # Compliances mibBuilder.exportSymbols("DISMAN-NSLOOKUP-MIB", lookupCompliance=lookupCompliance, lookupMinimumCompliance=lookupMinimumCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/COFFEE-POT-MIB.py0000644000014400001440000001171211736645135021025 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python COFFEE-POT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:45 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( DisplayString, TimeInterval, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TimeInterval") # Objects coffee = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 132)).setRevisions(("1998-03-23 17:00",)) if mibBuilder.loadTexts: coffee.setOrganization("Networked Appliance Management Working Group") if mibBuilder.loadTexts: coffee.setContactInfo(" Michael Slavitch\nLoran Technologies,\n955 Green Valley Crescent\nOttawa, Ontario Canada K2A 0B6\n\nTel: 613-723-7505\nFax: 613-723-7209\nE-mail: slavitch@loran.com") if mibBuilder.loadTexts: coffee.setDescription("The MIB Module for coffee vending devices.") potName = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: potName.setDescription("The vendor description of the pot under management") potCapacity = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: potCapacity.setDescription("The number of units of beverage supported by this device\n(regardless of its current state) .") potType = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("automatic-drip", 1), ("percolator", 2), ("french-press", 3), ("espresso", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: potType.setDescription("The brew type of the coffee pot.") potLocation = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: potLocation.setDescription("The physical location of the pot in question") potMonitor = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 132, 6)) potOperStatus = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 6, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,5,4,3,)).subtype(namedValues=NamedValues(("off", 1), ("brewing", 2), ("holding", 3), ("other", 4), ("waiting", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: potOperStatus.setDescription("The operating status of the pot in question. Note\nthat this is a read-only feature. Current hardware\nprevents us from changing the port state via SNMP.") potLevel = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 6, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: potLevel.setDescription("The number of units of coffee under management. The\nunits of level are defined in potMetric below.") potMetric = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 6, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,5,4,2,)).subtype(namedValues=NamedValues(("espresso", 1), ("demi-tasse", 2), ("cup", 3), ("mug", 4), ("bucket", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: potMetric.setDescription("The vendor description of the pot under management") potStartTime = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 6, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: potStartTime.setDescription("The time in seconds since Jan 1 1970 to start the pot\nif and only if potOperStatus is waiting(5)") lastStartTime = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 6, 5), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: lastStartTime.setDescription("The amount of time, in TimeTicks, since the coffee\nmaking process was initiated.") potTemperature = MibScalar((1, 3, 6, 1, 2, 1, 10, 132, 6, 6), Integer32()).setMaxAccess("readonly").setUnits("degrees Centigrade") if mibBuilder.loadTexts: potTemperature.setDescription("The ambient temperature of the coffee within the pot") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("COFFEE-POT-MIB", PYSNMP_MODULE_ID=coffee) # Objects mibBuilder.exportSymbols("COFFEE-POT-MIB", coffee=coffee, potName=potName, potCapacity=potCapacity, potType=potType, potLocation=potLocation, potMonitor=potMonitor, potOperStatus=potOperStatus, potLevel=potLevel, potMetric=potMetric, potStartTime=potStartTime, lastStartTime=lastStartTime, potTemperature=potTemperature) pysnmp-mibs-0.1.3/pysnmp_mibs/ETHER-CHIPSET-MIB.py0000644000014400001440000005602511736645136021411 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ETHER-CHIPSET-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:57 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( dot3, ) = mibBuilder.importSymbols("EtherLike-MIB", "dot3") ( Bits, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "TimeTicks", "mib-2") # Objects dot3ChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8)) dot3ChipSetAMD = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 1)) dot3ChipSetAMD7990 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 1)) if mibBuilder.loadTexts: dot3ChipSetAMD7990.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am7990 Local Area Network\nController for Ethernet (LANCE).") dot3ChipSetAMD79900 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 2)) if mibBuilder.loadTexts: dot3ChipSetAMD79900.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79900 chip.") dot3ChipSetAMD79C940 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 3)) if mibBuilder.loadTexts: dot3ChipSetAMD79C940.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C940 Media Access Controller\nfor Ethernet (MACE).") dot3ChipSetAMD79C90 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 4)) if mibBuilder.loadTexts: dot3ChipSetAMD79C90.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C90 CMOS Local Area Network\nController for Ethernet (C-LANCE).") dot3ChipSetAMD79C960 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 5)) if mibBuilder.loadTexts: dot3ChipSetAMD79C960.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C960 PCnet-ISA Single Chip\nEthernet Controller for ISA.") dot3ChipSetAMD79C961 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 6)) if mibBuilder.loadTexts: dot3ChipSetAMD79C961.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C961 PCnet-ISA+ Single Chip\nPlug & Play Full-Duplex Ethernet Controller\nfor ISA.") dot3ChipSetAMD79C961A = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 7)) if mibBuilder.loadTexts: dot3ChipSetAMD79C961A.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C961A PCnet-ISA II Single Chip\nPlug & Play Full-Duplex Ethernet Controller\nfor ISA.") dot3ChipSetAMD79C965 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 8)) if mibBuilder.loadTexts: dot3ChipSetAMD79C965.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C965 PCnet-32 Single Chip\nEthernet Controller for PCI.") dot3ChipSetAMD79C970 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 9)) if mibBuilder.loadTexts: dot3ChipSetAMD79C970.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C970 PCnet PCI Single Chip\nEthernet Controller for PCI Local Bus.") dot3ChipSetAMD79C970A = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 10)) if mibBuilder.loadTexts: dot3ChipSetAMD79C970A.setDescription("The authoritative identifier for the Advanced\nMicro Devices AM79C970A PCnet PCI II Single Chip\nFull-Duplex Ethernet Controller for PCI Local\nBus.") dot3ChipSetAMD79C971 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 11)) if mibBuilder.loadTexts: dot3ChipSetAMD79C971.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C971 PCnet-FAST Single Chip\nFull-Duplex 10/100 Mbps Ethernet Controller for\nPCI Local Bus.") dot3ChipSetAMD79C972 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 1, 12)) if mibBuilder.loadTexts: dot3ChipSetAMD79C972.setDescription("The authoritative identifier for the Advanced\nMicro Devices Am79C972 PCnet-FAST+ Enhanced\n10/100 Mbps PCI Ethernet Controller with OnNow\nSupport.") dot3ChipSetIntel = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 2)) dot3ChipSetIntel82586 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 2, 1)) if mibBuilder.loadTexts: dot3ChipSetIntel82586.setDescription("The authoritative identifier for the Intel\n82586 IEEE 802.3 Ethernet LAN Coprocessor.") dot3ChipSetIntel82596 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 2, 2)) if mibBuilder.loadTexts: dot3ChipSetIntel82596.setDescription("The authoritative identifier for the Intel\n82596 High-Performance 32-Bit Local Area Network\nCoprocessor.") dot3ChipSetIntel82595 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 2, 3)) if mibBuilder.loadTexts: dot3ChipSetIntel82595.setDescription("The authoritative identifier for the Intel\n82595 High Integration Ethernet Controller.") dot3ChipSetIntel82557 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 2, 4)) if mibBuilder.loadTexts: dot3ChipSetIntel82557.setDescription("The authoritative identifier for the Intel\n82557 Fast Ethernet PCI Bus Lan Controller.") dot3ChipSetIntel82558 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 2, 5)) if mibBuilder.loadTexts: dot3ChipSetIntel82558.setDescription("The authoritative identifier for the Intel\n82558 Fast Ethernet PCI Bus LAN Controller with\nIntegrated PHY.") dot3ChipSetSeeq = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 3)) dot3ChipSetSeeq8003 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 1)) if mibBuilder.loadTexts: dot3ChipSetSeeq8003.setDescription("The authoritative identifier for the SEEQ\n8003 chip set.") dot3ChipSetSeeq80C03 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 2)) if mibBuilder.loadTexts: dot3ChipSetSeeq80C03.setDescription("The authoritative identifier for the SEEQ\n80C03 Full-Duplex CMOS Ethernet Data Link\nController (MAC).") dot3ChipSetSeeq84C30 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 3)) if mibBuilder.loadTexts: dot3ChipSetSeeq84C30.setDescription("The authoritative identifier for the SEEQ\n4-Port 84C30 Full-Duplex CMOS Ethernet 10\nMBit/Sec Data Link Controller (MAC).") dot3ChipSetSeeq8431 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 4)) if mibBuilder.loadTexts: dot3ChipSetSeeq8431.setDescription("The authoritative identifier for the SEEQ\n4-Port 8431 Full-Duplex CMOS Ethernet 10\nMBit/Sec Data Link Controller (MAC).") dot3ChipSetSeeq80C300 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 5)) if mibBuilder.loadTexts: dot3ChipSetSeeq80C300.setDescription("The authoritative identifier for the SEEQ\n80C300 Full-Duplex CMOS Ethernet 10/100\nMbit/Sec Data Link Controller (MAC).") dot3ChipSetSeeq84C300 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 6)) if mibBuilder.loadTexts: dot3ChipSetSeeq84C300.setDescription("The authoritative identifier for the SEEQ\n4-Port 84C300 Fast Ethernet Controller (MAC).") dot3ChipSetSeeq84301 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 7)) if mibBuilder.loadTexts: dot3ChipSetSeeq84301.setDescription("The authoritative identifier for the SEEQ\n4-Port 84301 Fast Ethernet Controller (MAC).") dot3ChipSetSeeq84302 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 8)) if mibBuilder.loadTexts: dot3ChipSetSeeq84302.setDescription("The authoritative identifier for the SEEQ\n4-Port 84302 Fast Ethernet Controller (MAC).") dot3ChipSetSeeq8100 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 3, 9)) if mibBuilder.loadTexts: dot3ChipSetSeeq8100.setDescription("The authoritative identifier for the SEEQ\n8100 Gigabit Ethernet Controller (MAC & PCS).") dot3ChipSetNational = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 4)) dot3ChipSetNational8390 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 1)) if mibBuilder.loadTexts: dot3ChipSetNational8390.setDescription("The authoritative identifier for the National\nSemiconductor DP8390 Network Interface\nController.") dot3ChipSetNationalSonic = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 2)) if mibBuilder.loadTexts: dot3ChipSetNationalSonic.setDescription("The authoritative identifier for the National\nSemiconductor DP83932 Systems-Oriented Network\nInterface Controller (SONIC).") dot3ChipSetNational83901 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 3)) if mibBuilder.loadTexts: dot3ChipSetNational83901.setDescription("The authoritative identifier for the National\nSemiconductor DP83901 Serial Network Interface\nController (SNIC).") dot3ChipSetNational83902 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 4)) if mibBuilder.loadTexts: dot3ChipSetNational83902.setDescription("The authoritative identifier for the National\nSemiconductor DP83902 Serial Network Interface\nController for Twisted Pair (ST-NIC).") dot3ChipSetNational83905 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 5)) if mibBuilder.loadTexts: dot3ChipSetNational83905.setDescription("The authoritative identifier for the National\nSemiconductor DP83905 AT Local Area Network\nTwisted-Pair Interface (AT/LANTIC).") dot3ChipSetNational83907 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 6)) if mibBuilder.loadTexts: dot3ChipSetNational83907.setDescription("The authoritative identifier for the National\nSemiconductor DP83907 AT Twisted-Pair Enhanced\nCoaxial Network Interface Controller\n(AT/LANTIC II).") dot3ChipSetNational83916 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 7)) if mibBuilder.loadTexts: dot3ChipSetNational83916.setDescription("The authoritative identifier for the National\nSemiconductor DP83916 Systems-Oriented Network\nInterface Controller (SONIC-16).") dot3ChipSetNational83934 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 8)) if mibBuilder.loadTexts: dot3ChipSetNational83934.setDescription("The authoritative identifier for the National\nSemiconductor DP83934 Systems-Oriented Network\nInterface Controller with Twisted Pair Interface\n(SONIC-T).") dot3ChipSetNational83936 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 4, 9)) if mibBuilder.loadTexts: dot3ChipSetNational83936.setDescription("The authoritative identifier for the National\nSemiconductor DP83936AVUL Full-Duplex Systems-\nOriented Network Interface Controller with\nTwisted Pair Interface (SONIC-T).") dot3ChipSetFujitsu = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 5)) dot3ChipSetFujitsu86950 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 5, 1)) if mibBuilder.loadTexts: dot3ChipSetFujitsu86950.setDescription("The authoritative identifier for the Fujitsu\n86950 chip.") dot3ChipSetFujitsu86960 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 5, 2)) if mibBuilder.loadTexts: dot3ChipSetFujitsu86960.setDescription("The authoritative identifier for the Fujitsu\nMB86960 Network Interface Controller with\nEncoder/Decoder (NICE).") dot3ChipSetFujitsu86964 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 5, 3)) if mibBuilder.loadTexts: dot3ChipSetFujitsu86964.setDescription("The authoritative identifier for the Fujitsu\nMB86964 Ethernet Controller with 10BASE-T\nTranceiver.") dot3ChipSetFujitsu86965A = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 5, 4)) if mibBuilder.loadTexts: dot3ChipSetFujitsu86965A.setDescription("The authoritative identifier for the Fujitsu\nMB86965A EtherCoupler Single-Chip Ethernet\nController.") dot3ChipSetFujitsu86965B = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 5, 5)) if mibBuilder.loadTexts: dot3ChipSetFujitsu86965B.setDescription("The authoritative identifier for the Fujitsu\nMB86965B EtherCoupler Single-Chip Ethernet\nController (supports full-duplex).") dot3ChipSetDigital = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 6)) dot3ChipSetDigitalDC21040 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 6, 1)) if mibBuilder.loadTexts: dot3ChipSetDigitalDC21040.setDescription("The authoritative identifier for the Digital\nSemiconductor DC21040 chip.") dot3ChipSetDigital21041 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 6, 2)) if mibBuilder.loadTexts: dot3ChipSetDigital21041.setDescription("The authoritative identifier for the Digital\nSemiconductor 21041 PCI Ethernet LAN\nController.") dot3ChipSetDigital21140 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 6, 3)) if mibBuilder.loadTexts: dot3ChipSetDigital21140.setDescription("The authoritative identifier for the Digital\nSemiconductor 21140 PCI Fast Ethernet LAN\nController.") dot3ChipSetDigital21143 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 6, 4)) if mibBuilder.loadTexts: dot3ChipSetDigital21143.setDescription("The authoritative identifier for the Digital\nSemiconductor 21143 PCI/CardBus 10/100-Mb/s\nEthernet LAN Controller.") dot3ChipSetDigital21340 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 6, 5)) if mibBuilder.loadTexts: dot3ChipSetDigital21340.setDescription("The authoritative identifier for the Digital\nSemiconductor 21340 10/100-MB/s managed buffered\nport switch.") dot3ChipSetDigital21440 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 6, 6)) if mibBuilder.loadTexts: dot3ChipSetDigital21440.setDescription("The authoritative identifier for the Digital\nSemiconductor 21440 Multiport 10/100Mbps\nEthernet Controller.") dot3ChipSetDigital21540 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 6, 7)) if mibBuilder.loadTexts: dot3ChipSetDigital21540.setDescription("The authoritative identifier for the Digital\nSemiconductor 21540 PCI/CardBus Ethernet LAN\nController with Modem Interface.") dot3ChipSetTI = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 7)) dot3ChipSetTIE100 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 7, 1)) if mibBuilder.loadTexts: dot3ChipSetTIE100.setDescription("The authoritative identifier for the Texas\nInstruments TNETE100 ThunderLAN PCI Fast\nEthernet Controller.") dot3ChipSetTIE110 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 7, 2)) if mibBuilder.loadTexts: dot3ChipSetTIE110.setDescription("The authoritative identifier for the Texas\nInstruments TNETE110 ThunderLAN PCI 10BASE-T\nEthernet Adapter.") dot3ChipSetTIX3100 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 7, 3)) if mibBuilder.loadTexts: dot3ChipSetTIX3100.setDescription("The authoritative identifier for the Texas\nInstruments TNETX3100 Desktop ThunderSWITCH\n8/2.") dot3ChipSetTIX3150 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 7, 4)) if mibBuilder.loadTexts: dot3ChipSetTIX3150.setDescription("The authoritative identifier for the Texas\nInstruments TNETX3150 ThunderSWITCH 12/3.") dot3ChipSetTIX3270 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 7, 5)) if mibBuilder.loadTexts: dot3ChipSetTIX3270.setDescription("The authoritative identifier for the Texas\nInstruments TNETX3270 ThunderSWITCH 24/3.") dot3ChipSetToshiba = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 8)) dot3ChipSetToshibaTC35815F = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 8, 1)) if mibBuilder.loadTexts: dot3ChipSetToshibaTC35815F.setDescription("The authoritative identifier for the Toshiba\nTC35815F PCI-Based 100/10Mbps Ethernet\nController.") dot3ChipSetLucent = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 9)) dot3ChipSetLucentATT1MX10 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 9, 1)) if mibBuilder.loadTexts: dot3ChipSetLucentATT1MX10.setDescription("The authoritative identifier for the Lucent\nTechnologies ATT1MX10 (Spinnaker) Quad MAC and\nTranceiver for Ethernet Frame Switching.") dot3ChipSetLucentLUC3M08 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 9, 2)) if mibBuilder.loadTexts: dot3ChipSetLucentLUC3M08.setDescription("The authoritative identifier for the Lucent\nTechnologies LUC3M08 Eight Ethernet MACs for\n10/100 Mbits/s Frame Switching.") dot3ChipSetGalileo = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 10)) dot3ChipSetGalileoGT48001 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 10, 1)) if mibBuilder.loadTexts: dot3ChipSetGalileoGT48001.setDescription("The authoritative identifier for the Galileo\nTechnology GT-48001A Switched Ethernet\nController.") dot3ChipSetGalileoGT48002 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 10, 2)) if mibBuilder.loadTexts: dot3ChipSetGalileoGT48002.setDescription("The authoritative identifier for the Galileo\nTechnology GT-48002A Switched Fast Ethernet\nController.") dot3ChipSetGalileoGT48004 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 10, 3)) if mibBuilder.loadTexts: dot3ChipSetGalileoGT48004.setDescription("The authoritative identifier for the Galileo\nTechnology GT-48004A Four Port Fast Ethernet\nSwitch for Multiport 10/100BASE-X Systems.") dot3ChipSetGalileoGT48207 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 10, 4)) if mibBuilder.loadTexts: dot3ChipSetGalileoGT48207.setDescription("The authoritative identifier for the Galileo\nTechnology GT-48207 Low-Cost 10 Port Switched\nEthernet Controller for 10+10/100BASE-X.") dot3ChipSetGalileoGT48208 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 10, 5)) if mibBuilder.loadTexts: dot3ChipSetGalileoGT48208.setDescription("The authoritative identifier for the Galileo\nTechnology GT-48208 Advanced 10 Port Switched\nEthernet Controller for 10+10/100BASE-X.") dot3ChipSetGalileoGT48212 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 10, 6)) if mibBuilder.loadTexts: dot3ChipSetGalileoGT48212.setDescription("The authoritative identifier for the Galileo\nTechnology GT-48212 Advanced 14 Port Switched\nEthernet Controller for 10+10/100BASE-X.") dot3ChipSetJato = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 11)) dot3ChipSetJatoJT1001 = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 11, 1)) if mibBuilder.loadTexts: dot3ChipSetJatoJT1001.setDescription("The authoritative identifier for the Jato\nTechnologies JT1001 GigEMAC Server\n10/100/1000Mbps Ethernet Controller with PCI\ninterface.") dot3ChipSetXaQti = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 8, 12)) dot3ChipSetXaQtiXQ11800FP = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 12, 1)) if mibBuilder.loadTexts: dot3ChipSetXaQtiXQ11800FP.setDescription("The authoritative identifier for the XaQTI\nXQ11800FP XMAC II Gigabit Ethernet Media Access\nController.") dot3ChipSetXaQtiXQ18110FP = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 8, 12, 2)) if mibBuilder.loadTexts: dot3ChipSetXaQtiXQ18110FP.setDescription("The authoritative identifier for the XaQTI\nXQ18110FP GigaPower Protocol Accelerator.") etherChipsetMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 70)).setRevisions(("1999-08-24 04:00",)) if mibBuilder.loadTexts: etherChipsetMIB.setOrganization("IETF 802.3 Hub MIB Working Group") if mibBuilder.loadTexts: etherChipsetMIB.setContactInfo("WG E-mail: hubmib@hprnd.rose.hp.com\nTo subscribe: hubmib-request@hprnd.rose.hp.com\n\n Chair: Dan Romascanu\n Postal: Lucent Technologies\n Atidum Technology Park, Bldg. 3\n Tel Aviv 61131\n Israel\n Tel: +972 3 645 8414\n E-mail: dromasca@lucent.com\n\n Editor: John Flick\n Postal: Hewlett-Packard Company\n 8000 Foothills Blvd. M/S 5556\n Roseville, CA 95747-5556\n USA\n Tel: +1 916 785 4018\n Fax: +1 916 785 3583\n E-mail: johnf@rose.hp.com") if mibBuilder.loadTexts: etherChipsetMIB.setDescription("This MIB module contains registered values for\nuse by the dot3StatsEtherChipSet object in\nthe EtherLike-MIB. This object is used to\nidentify the MAC hardware used to communicate\non an interface.\n\nNote that the dot3StatsEtherChipSet object\nhas been deprecated. The primary purpose of\nthis module is to capture historic assignments\nmade by the various IETF working groups that\nhave been responsible for maintaining the\nEtherLike-MIB. Implementations which support\nthe dot3StatsEtherChipSet object for backwards\ncompatability may continue to use these values.\nFor those chipsets not represented in this\nmodule, registration is required in other\ndocumentation, e.g., assignment within that\npart of the registration tree delegated to\nindividual enterprises (see RFC 1155 and RFC\n1902).") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("ETHER-CHIPSET-MIB", PYSNMP_MODULE_ID=etherChipsetMIB) # Objects mibBuilder.exportSymbols("ETHER-CHIPSET-MIB", dot3ChipSets=dot3ChipSets, dot3ChipSetAMD=dot3ChipSetAMD, dot3ChipSetAMD7990=dot3ChipSetAMD7990, dot3ChipSetAMD79900=dot3ChipSetAMD79900, dot3ChipSetAMD79C940=dot3ChipSetAMD79C940, dot3ChipSetAMD79C90=dot3ChipSetAMD79C90, dot3ChipSetAMD79C960=dot3ChipSetAMD79C960, dot3ChipSetAMD79C961=dot3ChipSetAMD79C961, dot3ChipSetAMD79C961A=dot3ChipSetAMD79C961A, dot3ChipSetAMD79C965=dot3ChipSetAMD79C965, dot3ChipSetAMD79C970=dot3ChipSetAMD79C970, dot3ChipSetAMD79C970A=dot3ChipSetAMD79C970A, dot3ChipSetAMD79C971=dot3ChipSetAMD79C971, dot3ChipSetAMD79C972=dot3ChipSetAMD79C972, dot3ChipSetIntel=dot3ChipSetIntel, dot3ChipSetIntel82586=dot3ChipSetIntel82586, dot3ChipSetIntel82596=dot3ChipSetIntel82596, dot3ChipSetIntel82595=dot3ChipSetIntel82595, dot3ChipSetIntel82557=dot3ChipSetIntel82557, dot3ChipSetIntel82558=dot3ChipSetIntel82558, dot3ChipSetSeeq=dot3ChipSetSeeq, dot3ChipSetSeeq8003=dot3ChipSetSeeq8003, dot3ChipSetSeeq80C03=dot3ChipSetSeeq80C03, dot3ChipSetSeeq84C30=dot3ChipSetSeeq84C30, dot3ChipSetSeeq8431=dot3ChipSetSeeq8431, dot3ChipSetSeeq80C300=dot3ChipSetSeeq80C300, dot3ChipSetSeeq84C300=dot3ChipSetSeeq84C300, dot3ChipSetSeeq84301=dot3ChipSetSeeq84301, dot3ChipSetSeeq84302=dot3ChipSetSeeq84302, dot3ChipSetSeeq8100=dot3ChipSetSeeq8100, dot3ChipSetNational=dot3ChipSetNational, dot3ChipSetNational8390=dot3ChipSetNational8390, dot3ChipSetNationalSonic=dot3ChipSetNationalSonic, dot3ChipSetNational83901=dot3ChipSetNational83901, dot3ChipSetNational83902=dot3ChipSetNational83902, dot3ChipSetNational83905=dot3ChipSetNational83905, dot3ChipSetNational83907=dot3ChipSetNational83907, dot3ChipSetNational83916=dot3ChipSetNational83916, dot3ChipSetNational83934=dot3ChipSetNational83934, dot3ChipSetNational83936=dot3ChipSetNational83936, dot3ChipSetFujitsu=dot3ChipSetFujitsu, dot3ChipSetFujitsu86950=dot3ChipSetFujitsu86950, dot3ChipSetFujitsu86960=dot3ChipSetFujitsu86960, dot3ChipSetFujitsu86964=dot3ChipSetFujitsu86964, dot3ChipSetFujitsu86965A=dot3ChipSetFujitsu86965A, dot3ChipSetFujitsu86965B=dot3ChipSetFujitsu86965B, dot3ChipSetDigital=dot3ChipSetDigital, dot3ChipSetDigitalDC21040=dot3ChipSetDigitalDC21040, dot3ChipSetDigital21041=dot3ChipSetDigital21041, dot3ChipSetDigital21140=dot3ChipSetDigital21140, dot3ChipSetDigital21143=dot3ChipSetDigital21143, dot3ChipSetDigital21340=dot3ChipSetDigital21340, dot3ChipSetDigital21440=dot3ChipSetDigital21440, dot3ChipSetDigital21540=dot3ChipSetDigital21540, dot3ChipSetTI=dot3ChipSetTI, dot3ChipSetTIE100=dot3ChipSetTIE100, dot3ChipSetTIE110=dot3ChipSetTIE110, dot3ChipSetTIX3100=dot3ChipSetTIX3100, dot3ChipSetTIX3150=dot3ChipSetTIX3150, dot3ChipSetTIX3270=dot3ChipSetTIX3270, dot3ChipSetToshiba=dot3ChipSetToshiba, dot3ChipSetToshibaTC35815F=dot3ChipSetToshibaTC35815F, dot3ChipSetLucent=dot3ChipSetLucent, dot3ChipSetLucentATT1MX10=dot3ChipSetLucentATT1MX10, dot3ChipSetLucentLUC3M08=dot3ChipSetLucentLUC3M08, dot3ChipSetGalileo=dot3ChipSetGalileo, dot3ChipSetGalileoGT48001=dot3ChipSetGalileoGT48001, dot3ChipSetGalileoGT48002=dot3ChipSetGalileoGT48002, dot3ChipSetGalileoGT48004=dot3ChipSetGalileoGT48004, dot3ChipSetGalileoGT48207=dot3ChipSetGalileoGT48207, dot3ChipSetGalileoGT48208=dot3ChipSetGalileoGT48208, dot3ChipSetGalileoGT48212=dot3ChipSetGalileoGT48212, dot3ChipSetJato=dot3ChipSetJato, dot3ChipSetJatoJT1001=dot3ChipSetJatoJT1001, dot3ChipSetXaQti=dot3ChipSetXaQti, dot3ChipSetXaQtiXQ11800FP=dot3ChipSetXaQtiXQ11800FP, dot3ChipSetXaQtiXQ18110FP=dot3ChipSetXaQtiXQ18110FP, etherChipsetMIB=etherChipsetMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/OSPF-TRAP-MIB.py0000644000014400001440000005177111736645137020764 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python OSPF-TRAP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:25 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ospf, ospfAddressLessIf, ospfAreaId, ospfAreaNssaTranslatorState, ospfExtLsdbLimit, ospfIfIpAddress, ospfIfState, ospfLsdbAreaId, ospfLsdbLsid, ospfLsdbRouterId, ospfLsdbType, ospfNbrAddressLessIndex, ospfNbrIpAddr, ospfNbrRestartHelperAge, ospfNbrRestartHelperExitReason, ospfNbrRestartHelperStatus, ospfNbrRtrId, ospfNbrState, ospfRestartExitReason, ospfRestartInterval, ospfRestartStatus, ospfRouterId, ospfVirtIfAreaId, ospfVirtIfNeighbor, ospfVirtIfState, ospfVirtNbrArea, ospfVirtNbrRestartHelperAge, ospfVirtNbrRestartHelperExitReason, ospfVirtNbrRestartHelperStatus, ospfVirtNbrRtrId, ospfVirtNbrState, ) = mibBuilder.importSymbols("OSPF-MIB", "ospf", "ospfAddressLessIf", "ospfAreaId", "ospfAreaNssaTranslatorState", "ospfExtLsdbLimit", "ospfIfIpAddress", "ospfIfState", "ospfLsdbAreaId", "ospfLsdbLsid", "ospfLsdbRouterId", "ospfLsdbType", "ospfNbrAddressLessIndex", "ospfNbrIpAddr", "ospfNbrRestartHelperAge", "ospfNbrRestartHelperExitReason", "ospfNbrRestartHelperStatus", "ospfNbrRtrId", "ospfNbrState", "ospfRestartExitReason", "ospfRestartInterval", "ospfRestartStatus", "ospfRouterId", "ospfVirtIfAreaId", "ospfVirtIfNeighbor", "ospfVirtIfState", "ospfVirtNbrArea", "ospfVirtNbrRestartHelperAge", "ospfVirtNbrRestartHelperExitReason", "ospfVirtNbrRestartHelperStatus", "ospfVirtNbrRtrId", "ospfVirtNbrState") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") # Objects ospfTrap = ModuleIdentity((1, 3, 6, 1, 2, 1, 14, 16)).setRevisions(("2006-11-10 00:00","1995-01-20 12:25",)) if mibBuilder.loadTexts: ospfTrap.setOrganization("IETF OSPF Working Group") if mibBuilder.loadTexts: ospfTrap.setContactInfo("WG E-Mail: ospf@ietf.org\n\nWG Chairs: acee@cisco.com\n rohit@gmail.com\n\nEditors: Dan Joyal\n Nortel\n 600 Technology Park Drive\n Billerica, MA 01821\n djoyal@nortel.com\n\n Piotr Galecki\n Airvana\n 19 Alpha Road\n Chelmsford, MA 01824\n pgalecki@airvana.com\n\n Spencer Giacalone\n CSFB\n Eleven Madison Ave\n New York, NY 10010-3629\n\n\n spencer.giacalone@gmail.com") if mibBuilder.loadTexts: ospfTrap.setDescription("The MIB module to describe traps for the OSPF\nVersion 2 Protocol.\n\nCopyright (C) The IETF Trust (2006).\nThis version of this MIB module is part of\nRFC 4750; see the RFC itself for full legal\nnotices.") ospfTrapControl = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 16, 1)) ospfSetTrap = MibScalar((1, 3, 6, 1, 2, 1, 14, 16, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ospfSetTrap.setDescription("A 4-octet string serving as a bit map for\nthe trap events defined by the OSPF traps. This\nobject is used to enable and disable specific\nOSPF traps where a 1 in the bit field\nrepresents enabled. The right-most bit (least\nsignificant) represents trap 0.\n\nThis object is persistent and when written\n\n\n\nthe entity SHOULD save the change to non-volatile\nstorage.") ospfConfigErrorType = MibScalar((1, 3, 6, 1, 2, 1, 14, 16, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(9,11,7,4,8,2,5,3,1,6,12,10,13,)).subtype(namedValues=NamedValues(("badVersion", 1), ("optionMismatch", 10), ("mtuMismatch", 11), ("duplicateRouterId", 12), ("noError", 13), ("areaMismatch", 2), ("unknownNbmaNbr", 3), ("unknownVirtualNbr", 4), ("authTypeMismatch", 5), ("authFailure", 6), ("netMaskMismatch", 7), ("helloIntervalMismatch", 8), ("deadIntervalMismatch", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfConfigErrorType.setDescription("Potential types of configuration conflicts.\nUsed by the ospfConfigError and\nospfConfigVirtError traps. When the last value\nof a trap using this object is needed, but no\ntraps of that type have been sent, this value\npertaining to this object should be returned as\nnoError.") ospfPacketType = MibScalar((1, 3, 6, 1, 2, 1, 14, 16, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(5,3,6,4,2,1,)).subtype(namedValues=NamedValues(("hello", 1), ("dbDescript", 2), ("lsReq", 3), ("lsUpdate", 4), ("lsAck", 5), ("nullPacket", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfPacketType.setDescription("OSPF packet types. When the last value of a trap\nusing this object is needed, but no traps of\nthat type have been sent, this value pertaining\nto this object should be returned as nullPacket.") ospfPacketSrc = MibScalar((1, 3, 6, 1, 2, 1, 14, 16, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ospfPacketSrc.setDescription("The IP address of an inbound packet that cannot\nbe identified by a neighbor instance. When\nthe last value of a trap using this object is\nneeded, but no traps of that type have been sent,\nthis value pertaining to this object should\nbe returned as 0.0.0.0.") ospfTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 16, 2)) ospfTrapConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 16, 3)) ospfTrapGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 16, 3, 1)) ospfTrapCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 14, 16, 3, 2)) # Augmentions # Notifications ospfVirtIfStateChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 1)).setObjects(*(("OSPF-MIB", "ospfVirtIfAreaId"), ("OSPF-MIB", "ospfVirtIfNeighbor"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfVirtIfState"), ) ) if mibBuilder.loadTexts: ospfVirtIfStateChange.setDescription("An ospfVirtIfStateChange trap signifies that there\nhas been a change in the state of an OSPF virtual\ninterface.\n\nThis trap should be generated when the interface\nstate regresses (e.g., goes from Point-to-Point to Down)\nor progresses to a terminal state\n(i.e., Point-to-Point).") ospfNbrStateChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 2)).setObjects(*(("OSPF-MIB", "ospfNbrAddressLessIndex"), ("OSPF-MIB", "ospfNbrState"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfNbrIpAddr"), ("OSPF-MIB", "ospfNbrRtrId"), ) ) if mibBuilder.loadTexts: ospfNbrStateChange.setDescription("An ospfNbrStateChange trap signifies that\nthere has been a change in the state of a\nnon-virtual OSPF neighbor. This trap should be\ngenerated when the neighbor state regresses\n(e.g., goes from Attempt or Full to 1-Way or\nDown) or progresses to a terminal state (e.g.,\n\n\n\n2-Way or Full). When an neighbor transitions\nfrom or to Full on non-broadcast multi-access\nand broadcast networks, the trap should be\ngenerated by the designated router. A designated\nrouter transitioning to Down will be noted by\nospfIfStateChange.") ospfVirtNbrStateChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 3)).setObjects(*(("OSPF-MIB", "ospfVirtNbrRtrId"), ("OSPF-MIB", "ospfVirtNbrState"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfVirtNbrArea"), ) ) if mibBuilder.loadTexts: ospfVirtNbrStateChange.setDescription("An ospfVirtNbrStateChange trap signifies that there\nhas been a change in the state of an OSPF virtual\nneighbor. This trap should be generated\nwhen the neighbor state regresses (e.g., goes\nfrom Attempt or Full to 1-Way or Down) or\nprogresses to a terminal state (e.g., Full).") ospfIfConfigError = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 4)).setObjects(*(("OSPF-MIB", "ospfIfIpAddress"), ("OSPF-TRAP-MIB", "ospfPacketType"), ("OSPF-TRAP-MIB", "ospfConfigErrorType"), ("OSPF-MIB", "ospfAddressLessIf"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-TRAP-MIB", "ospfPacketSrc"), ) ) if mibBuilder.loadTexts: ospfIfConfigError.setDescription("An ospfIfConfigError trap signifies that a\npacket has been received on a non-virtual\ninterface from a router whose configuration\nparameters conflict with this router's\nconfiguration parameters. Note that the event\noptionMismatch should cause a trap only if it\nprevents an adjacency from forming.") ospfVirtIfConfigError = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 5)).setObjects(*(("OSPF-MIB", "ospfVirtIfAreaId"), ("OSPF-MIB", "ospfVirtIfNeighbor"), ("OSPF-TRAP-MIB", "ospfConfigErrorType"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-TRAP-MIB", "ospfPacketType"), ) ) if mibBuilder.loadTexts: ospfVirtIfConfigError.setDescription("An ospfVirtIfConfigError trap signifies that a\npacket has been received on a virtual interface\nfrom a router whose configuration parameters\nconflict with this router's configuration\nparameters. Note that the event optionMismatch\nshould cause a trap only if it prevents an\nadjacency from forming.") ospfIfAuthFailure = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 6)).setObjects(*(("OSPF-MIB", "ospfIfIpAddress"), ("OSPF-TRAP-MIB", "ospfPacketType"), ("OSPF-TRAP-MIB", "ospfConfigErrorType"), ("OSPF-MIB", "ospfAddressLessIf"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-TRAP-MIB", "ospfPacketSrc"), ) ) if mibBuilder.loadTexts: ospfIfAuthFailure.setDescription("An ospfIfAuthFailure trap signifies that a\npacket has been received on a non-virtual\ninterface from a router whose authentication key\nor authentication type conflicts with this\nrouter's authentication key or authentication\ntype.") ospfVirtIfAuthFailure = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 7)).setObjects(*(("OSPF-MIB", "ospfVirtIfAreaId"), ("OSPF-MIB", "ospfVirtIfNeighbor"), ("OSPF-TRAP-MIB", "ospfConfigErrorType"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-TRAP-MIB", "ospfPacketType"), ) ) if mibBuilder.loadTexts: ospfVirtIfAuthFailure.setDescription("An ospfVirtIfAuthFailure trap signifies that a\npacket has been received on a virtual interface\nfrom a router whose authentication key or\nauthentication type conflicts with this router's\nauthentication key or authentication type.") ospfIfRxBadPacket = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 8)).setObjects(*(("OSPF-TRAP-MIB", "ospfPacketSrc"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfIfIpAddress"), ("OSPF-TRAP-MIB", "ospfPacketType"), ("OSPF-MIB", "ospfAddressLessIf"), ) ) if mibBuilder.loadTexts: ospfIfRxBadPacket.setDescription("An ospfIfRxBadPacket trap signifies that an\nOSPF packet has been received on a non-virtual\ninterface that cannot be parsed.") ospfVirtIfRxBadPacket = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 9)).setObjects(*(("OSPF-MIB", "ospfVirtIfAreaId"), ("OSPF-MIB", "ospfVirtIfNeighbor"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-TRAP-MIB", "ospfPacketType"), ) ) if mibBuilder.loadTexts: ospfVirtIfRxBadPacket.setDescription("An ospfVirtIfRxBadPacket trap signifies that an OSPF\npacket has been received on a virtual interface\nthat cannot be parsed.") ospfTxRetransmit = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 10)).setObjects(*(("OSPF-MIB", "ospfLsdbRouterId"), ("OSPF-MIB", "ospfIfIpAddress"), ("OSPF-TRAP-MIB", "ospfPacketType"), ("OSPF-MIB", "ospfLsdbLsid"), ("OSPF-MIB", "ospfLsdbType"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfNbrRtrId"), ("OSPF-MIB", "ospfAddressLessIf"), ) ) if mibBuilder.loadTexts: ospfTxRetransmit.setDescription("An ospfTxRetransmit trap signifies than an\nOSPF packet has been retransmitted on a\nnon-virtual interface. All packets that may be\nretransmitted are associated with an LSDB entry.\nThe LS type, LS ID, and Router ID are used to\nidentify the LSDB entry.") ospfVirtIfTxRetransmit = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 11)).setObjects(*(("OSPF-TRAP-MIB", "ospfPacketType"), ("OSPF-MIB", "ospfLsdbLsid"), ("OSPF-MIB", "ospfLsdbType"), ("OSPF-MIB", "ospfVirtIfNeighbor"), ("OSPF-MIB", "ospfLsdbRouterId"), ("OSPF-MIB", "ospfVirtIfAreaId"), ("OSPF-MIB", "ospfRouterId"), ) ) if mibBuilder.loadTexts: ospfVirtIfTxRetransmit.setDescription("An ospfVirtIfTxRetransmit trap signifies than an\nOSPF packet has been retransmitted on a virtual\ninterface. All packets that may be retransmitted\nare associated with an LSDB entry. The LS\ntype, LS ID, and Router ID are used to identify\nthe LSDB entry.") ospfOriginateLsa = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 12)).setObjects(*(("OSPF-MIB", "ospfLsdbLsid"), ("OSPF-MIB", "ospfLsdbRouterId"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfLsdbType"), ("OSPF-MIB", "ospfLsdbAreaId"), ) ) if mibBuilder.loadTexts: ospfOriginateLsa.setDescription("An ospfOriginateLsa trap signifies that a new\nLSA has been originated by this router. This\ntrap should not be invoked for simple refreshes\nof LSAs (which happens every 30 minutes), but\ninstead will only be invoked when an LSA is\n(re)originated due to a topology change.\nAdditionally, this trap does not include LSAs that\nare being flushed because they have reached\nMaxAge.") ospfMaxAgeLsa = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 13)).setObjects(*(("OSPF-MIB", "ospfLsdbLsid"), ("OSPF-MIB", "ospfLsdbRouterId"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfLsdbType"), ("OSPF-MIB", "ospfLsdbAreaId"), ) ) if mibBuilder.loadTexts: ospfMaxAgeLsa.setDescription("An ospfMaxAgeLsa trap signifies that one of\nthe LSAs in the router's link state database has\naged to MaxAge.") ospfLsdbOverflow = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 14)).setObjects(*(("OSPF-MIB", "ospfExtLsdbLimit"), ("OSPF-MIB", "ospfRouterId"), ) ) if mibBuilder.loadTexts: ospfLsdbOverflow.setDescription("An ospfLsdbOverflow trap signifies that the\nnumber of LSAs in the router's link state\ndatabase has exceeded ospfExtLsdbLimit.") ospfLsdbApproachingOverflow = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 15)).setObjects(*(("OSPF-MIB", "ospfExtLsdbLimit"), ("OSPF-MIB", "ospfRouterId"), ) ) if mibBuilder.loadTexts: ospfLsdbApproachingOverflow.setDescription("An ospfLsdbApproachingOverflow trap signifies\nthat the number of LSAs in the router's\nlink state database has exceeded ninety percent of\nospfExtLsdbLimit.") ospfIfStateChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 16)).setObjects(*(("OSPF-MIB", "ospfIfState"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfIfIpAddress"), ("OSPF-MIB", "ospfAddressLessIf"), ) ) if mibBuilder.loadTexts: ospfIfStateChange.setDescription("An ospfIfStateChange trap signifies that there\nhas been a change in the state of a non-virtual\nOSPF interface. This trap should be generated\nwhen the interface state regresses (e.g., goes\nfrom Dr to Down) or progresses to a terminal\nstate (i.e., Point-to-Point, DR Other, Dr, or\nBackup).") ospfNssaTranslatorStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 17)).setObjects(*(("OSPF-MIB", "ospfAreaNssaTranslatorState"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfAreaId"), ) ) if mibBuilder.loadTexts: ospfNssaTranslatorStatusChange.setDescription("An ospfNssaTranslatorStatusChange trap indicates that\nthere has been a change in the router's ability to\ntranslate OSPF type-7 LSAs into OSPF type-5 LSAs.\nThis trap should be generated when the translator\nstatus transitions from or to any defined status on\na per-area basis.") ospfRestartStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 18)).setObjects(*(("OSPF-MIB", "ospfRestartExitReason"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfRestartInterval"), ("OSPF-MIB", "ospfRestartStatus"), ) ) if mibBuilder.loadTexts: ospfRestartStatusChange.setDescription("An ospfRestartStatusChange trap signifies that\nthere has been a change in the graceful restart\nstate for the router. This trap should be\ngenerated when the router restart status\nchanges.") ospfNbrRestartHelperStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 19)).setObjects(*(("OSPF-MIB", "ospfNbrRestartHelperStatus"), ("OSPF-MIB", "ospfNbrRestartHelperExitReason"), ("OSPF-MIB", "ospfNbrRtrId"), ("OSPF-MIB", "ospfNbrAddressLessIndex"), ("OSPF-MIB", "ospfRouterId"), ("OSPF-MIB", "ospfNbrIpAddr"), ("OSPF-MIB", "ospfNbrRestartHelperAge"), ) ) if mibBuilder.loadTexts: ospfNbrRestartHelperStatusChange.setDescription("An ospfNbrRestartHelperStatusChange trap signifies that\nthere has been a change in the graceful restart\nhelper state for the neighbor. This trap should be\ngenerated when the neighbor restart helper status\ntransitions for a neighbor.") ospfVirtNbrRestartHelperStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 14, 16, 2, 20)).setObjects(*(("OSPF-MIB", "ospfVirtNbrRtrId"), ("OSPF-MIB", "ospfVirtNbrArea"), ("OSPF-MIB", "ospfVirtNbrRestartHelperStatus"), ("OSPF-MIB", "ospfVirtNbrRestartHelperAge"), ("OSPF-MIB", "ospfVirtNbrRestartHelperExitReason"), ("OSPF-MIB", "ospfRouterId"), ) ) if mibBuilder.loadTexts: ospfVirtNbrRestartHelperStatusChange.setDescription("An ospfVirtNbrRestartHelperStatusChange trap signifies\nthat there has been a change in the graceful restart\nhelper state for the virtual neighbor. This trap should\nbe generated when the virtual neighbor restart helper\nstatus transitions for a virtual neighbor.") # Groups ospfTrapControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 16, 3, 1, 1)).setObjects(*(("OSPF-TRAP-MIB", "ospfSetTrap"), ("OSPF-TRAP-MIB", "ospfConfigErrorType"), ("OSPF-TRAP-MIB", "ospfPacketType"), ("OSPF-TRAP-MIB", "ospfPacketSrc"), ) ) if mibBuilder.loadTexts: ospfTrapControlGroup.setDescription("These objects are required to control traps\nfrom OSPF systems.") ospfTrapEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 14, 16, 3, 1, 2)).setObjects(*(("OSPF-TRAP-MIB", "ospfLsdbOverflow"), ("OSPF-TRAP-MIB", "ospfVirtIfRxBadPacket"), ("OSPF-TRAP-MIB", "ospfNbrStateChange"), ("OSPF-TRAP-MIB", "ospfVirtIfTxRetransmit"), ("OSPF-TRAP-MIB", "ospfVirtNbrStateChange"), ("OSPF-TRAP-MIB", "ospfNssaTranslatorStatusChange"), ("OSPF-TRAP-MIB", "ospfVirtNbrRestartHelperStatusChange"), ("OSPF-TRAP-MIB", "ospfVirtIfAuthFailure"), ("OSPF-TRAP-MIB", "ospfVirtIfStateChange"), ("OSPF-TRAP-MIB", "ospfVirtIfConfigError"), ("OSPF-TRAP-MIB", "ospfIfConfigError"), ("OSPF-TRAP-MIB", "ospfTxRetransmit"), ("OSPF-TRAP-MIB", "ospfRestartStatusChange"), ("OSPF-TRAP-MIB", "ospfIfAuthFailure"), ("OSPF-TRAP-MIB", "ospfIfStateChange"), ("OSPF-TRAP-MIB", "ospfMaxAgeLsa"), ("OSPF-TRAP-MIB", "ospfIfRxBadPacket"), ("OSPF-TRAP-MIB", "ospfLsdbApproachingOverflow"), ("OSPF-TRAP-MIB", "ospfOriginateLsa"), ("OSPF-TRAP-MIB", "ospfNbrRestartHelperStatusChange"), ) ) if mibBuilder.loadTexts: ospfTrapEventGroup.setDescription("A grouping of OSPF trap events, as specified\nin NOTIFICATION-TYPE constructs.") # Compliances ospfTrapCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 14, 16, 3, 2, 1)).setObjects(*(("OSPF-TRAP-MIB", "ospfTrapControlGroup"), ) ) if mibBuilder.loadTexts: ospfTrapCompliance.setDescription("The compliance statement.") ospfTrapCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 14, 16, 3, 2, 2)).setObjects(*(("OSPF-TRAP-MIB", "ospfTrapControlGroup"), ("OSPF-TRAP-MIB", "ospfTrapEventGroup"), ) ) if mibBuilder.loadTexts: ospfTrapCompliance2.setDescription("The compliance statement.") # Exports # Module identity mibBuilder.exportSymbols("OSPF-TRAP-MIB", PYSNMP_MODULE_ID=ospfTrap) # Objects mibBuilder.exportSymbols("OSPF-TRAP-MIB", ospfTrap=ospfTrap, ospfTrapControl=ospfTrapControl, ospfSetTrap=ospfSetTrap, ospfConfigErrorType=ospfConfigErrorType, ospfPacketType=ospfPacketType, ospfPacketSrc=ospfPacketSrc, ospfTraps=ospfTraps, ospfTrapConformance=ospfTrapConformance, ospfTrapGroups=ospfTrapGroups, ospfTrapCompliances=ospfTrapCompliances) # Notifications mibBuilder.exportSymbols("OSPF-TRAP-MIB", ospfVirtIfStateChange=ospfVirtIfStateChange, ospfNbrStateChange=ospfNbrStateChange, ospfVirtNbrStateChange=ospfVirtNbrStateChange, ospfIfConfigError=ospfIfConfigError, ospfVirtIfConfigError=ospfVirtIfConfigError, ospfIfAuthFailure=ospfIfAuthFailure, ospfVirtIfAuthFailure=ospfVirtIfAuthFailure, ospfIfRxBadPacket=ospfIfRxBadPacket, ospfVirtIfRxBadPacket=ospfVirtIfRxBadPacket, ospfTxRetransmit=ospfTxRetransmit, ospfVirtIfTxRetransmit=ospfVirtIfTxRetransmit, ospfOriginateLsa=ospfOriginateLsa, ospfMaxAgeLsa=ospfMaxAgeLsa, ospfLsdbOverflow=ospfLsdbOverflow, ospfLsdbApproachingOverflow=ospfLsdbApproachingOverflow, ospfIfStateChange=ospfIfStateChange, ospfNssaTranslatorStatusChange=ospfNssaTranslatorStatusChange, ospfRestartStatusChange=ospfRestartStatusChange, ospfNbrRestartHelperStatusChange=ospfNbrRestartHelperStatusChange, ospfVirtNbrRestartHelperStatusChange=ospfVirtNbrRestartHelperStatusChange) # Groups mibBuilder.exportSymbols("OSPF-TRAP-MIB", ospfTrapControlGroup=ospfTrapControlGroup, ospfTrapEventGroup=ospfTrapEventGroup) # Compliances mibBuilder.exportSymbols("OSPF-TRAP-MIB", ospfTrapCompliance=ospfTrapCompliance, ospfTrapCompliance2=ospfTrapCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/DS3-MIB.py0000644000014400001440000014741211736645136020037 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DS3-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:55 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( PerfCurrentCount, PerfIntervalCount, PerfTotalCount, ) = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfCurrentCount", "PerfIntervalCount", "PerfTotalCount") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( DisplayString, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TimeStamp", "TruthValue") # Objects ds3 = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 30)).setRevisions(("2004-09-08 00:00","1998-08-01 21:30","1993-01-25 20:28",)) if mibBuilder.loadTexts: ds3.setOrganization("IETF AToM MIB Working Group") if mibBuilder.loadTexts: ds3.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/atommib-charter.html\n\nMailing Lists:\nGeneral Discussion: atommib@research.telcordia.com\nTo Subscribe: atommib-request@research.telcordia.com\n\nEditor: Orly Nicklass\n\nPostal: RAD Data Communications, Ltd.\n Ziv Tower, 24 Roul Walenberg\n Tel Aviv, Israel, 69719\n\n Tel: +9723 765 9969\nE-mail: orly_n@rad.com") if mibBuilder.loadTexts: ds3.setDescription("The is the MIB module that describes\nDS3 and E3 interfaces objects.\n\nCopyright (c) The Internet Society (2004). This\nversion of this MIB module is part of RFC 3896;\nsee the RFC itself for full legal notices.") dsx3ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 5)) if mibBuilder.loadTexts: dsx3ConfigTable.setDescription("The DS3/E3 Configuration table.") dsx3ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 5, 1)).setIndexNames((0, "DS3-MIB", "dsx3LineIndex")) if mibBuilder.loadTexts: dsx3ConfigEntry.setDescription("An entry in the DS3/E3 Configuration table.") dsx3LineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3LineIndex.setDescription("This object should be made equal to ifIndex. The\nnext paragraph describes its previous usage.\nMaking the object equal to ifIndex allows proper\nuse of ifStackTable.\n\nPreviously, this object was the identifier of a\nDS3/E3 Interface on a managed device. If there is\nan ifEntry that is directly associated with this\nand only this DS3/E3 interface, it should have the\nsame value as ifIndex. Otherwise, number the\ndsx3LineIndices with an unique identifier\nfollowing the rules of choosing a number that is\ngreater than ifNumber and numbering the inside\ninterfaces (e.g., equipment side) with even\nnumbers and outside interfaces (e.g., network side)\nwith odd numbers.") dsx3IfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IfIndex.setDescription("This value for this object is equal to the value\nof ifIndex from the Interfaces table of MIB II\n(RFC 1213).") dsx3TimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TimeElapsed.setDescription("The number of seconds that have elapsed since the\n\n\n\nbeginning of the near end current error-\nmeasurement period. If, for some reason, such as\nan adjustment in the system's time-of-day clock,\nthe current interval exceeds the maximum value,\nthe agent will return the maximum value.") dsx3ValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3ValidIntervals.setDescription("The number of previous near end intervals for\nwhich data was collected. The value will be 96\nunless the interface was brought online within the\nlast 24 hours, in which case the value will be the\nnumber of complete 15 minute near end intervals\nsince the interface has been online. In the case\nwhere the agent is a proxy, it is possible that\nsome intervals are unavailable. In this case,\nthis interval is the maximum interval number for\nwhich data is available.") dsx3LineType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,9,8,4,3,1,7,2,)).subtype(namedValues=NamedValues(("dsx3other", 1), ("dsx3M23", 2), ("dsx3SYNTRAN", 3), ("dsx3CbitParity", 4), ("dsx3ClearChannel", 5), ("e3other", 6), ("e3Framed", 7), ("e3Plcp", 8), ("dsx3M13", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3LineType.setDescription("This variable indicates the variety of DS3 C-bit\nor E3 application implementing this interface. The\ntype of interface affects the interpretation of\nthe usage and error statistics. The rate of DS3\nis 44.736 Mbps and E3 is 34.368 Mbps. The\ndsx3ClearChannel value means that the C-bits are\nnot used except for sending/receiving AIS. The\nvalues, in sequence, describe:\n\n\n\n\n TITLE: SPECIFICATION:\n dsx3M23 ANSI T1.107-1988\n dsx3SYNTRAN ANSI T1.107-1988\n dsx3CbitParity ANSI T1.107a-1990\n dsx3ClearChannel ANSI T1.102-1987\n e3Framed CCITT G.751\n e3Plcp ETSI T/NA(91)18\n dsx3M13 ANSI T1.107a-1990.") dsx3LineCoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("dsx3Other", 1), ("dsx3B3ZS", 2), ("e3HDB3", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3LineCoding.setDescription("This variable describes the variety of Zero Code\nSuppression used on this interface, which in turn\naffects a number of its characteristics.\ndsx3B3ZS and e3HDB3 refer to the use of specified\npatterns of normal bits and bipolar violations\nwhich are used to replace sequences of zero bits\nof a specified length.") dsx3SendCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,6,3,4,5,1,)).subtype(namedValues=NamedValues(("dsx3SendNoCode", 1), ("dsx3SendLineCode", 2), ("dsx3SendPayloadCode", 3), ("dsx3SendResetCode", 4), ("dsx3SendDS1LoopCode", 5), ("dsx3SendTestPattern", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3SendCode.setDescription("This variable indicates what type of code is\nbeing sent across the DS3/E3 interface by the\ndevice. (These are optional for E3 interfaces.)\nSetting this variable causes the interface to\nbegin sending the code requested.\nThe values mean:\n\n dsx3SendNoCode\n sending looped or normal data\n\n dsx3SendLineCode\n sending a request for a line loopback\n\n dsx3SendPayloadCode\n sending a request for a payload loopback\n (i.e., all DS1/E1s in a DS3/E3 frame)\n\n dsx3SendResetCode\n sending a loopback deactivation request\n\n dsx3SendDS1LoopCode\n requesting to loopback a particular DS1/E1\n within a DS3/E3 frame. The DS1/E1 is\n indicated in dsx3Ds1ForRemoteLoop.\n\n dsx3SendTestPattern\n sending a test pattern.") dsx3CircuitIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3CircuitIdentifier.setDescription("This variable contains the transmission vendor's\ncircuit identifier, for the purpose of\nfacilitating troubleshooting.") dsx3LoopbackConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,6,5,2,)).subtype(namedValues=NamedValues(("dsx3NoLoop", 1), ("dsx3PayloadLoop", 2), ("dsx3LineLoop", 3), ("dsx3OtherLoop", 4), ("dsx3InwardLoop", 5), ("dsx3DualLoop", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3LoopbackConfig.setDescription("This variable represents the desired loopback\nconfiguration of the DS3/E3 interface.\nThe values mean:\n\ndsx3NoLoop\n Not in the loopback state. A device that is\n not capable of performing a loopback on\n the interface shall always return this as\n its value.\n\ndsx3PayloadLoop\n The received signal at this interface is looped\n through the device. Typically the received signal\n is looped back for retransmission after it has\n passed through the device's framing function.\n\ndsx3LineLoop\n The received signal at this interface does not\n go through the device (minimum penetration) but\n is looped back out.\n\ndsx3OtherLoop\n Loopbacks that are not defined here.\n\ndsx3InwardLoop\n The sent signal at this interface is looped back\n through the device.\n\ndsx3DualLoop\n Both dsx1LineLoop and dsx1InwardLoop will be\n active simultaneously.") dsx3LineStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3LineStatus.setDescription("This variable indicates the Line Status of the\ninterface. It contains loopback state information\nand failure state information. The dsx3LineStatus\nis a bit map represented as a sum, therefore, it\ncan represent multiple failures and a loopback\n(see dsx3LoopbackConfig object for the type of\nloopback) simultaneously. The dsx3NoAlarm must be\nset if and only if no other flag is set.\n\nIf the dsx3loopbackState bit is set, the loopback\nin effect can be determined from the\ndsx3loopbackConfig object.\nThe various bit positions are:\n1 dsx3NoAlarm No alarm present\n2 dsx3RcvRAIFailure Receiving Yellow/Remote\n Alarm Indication\n4 dsx3XmitRAIAlarm Transmitting Yellow/Remote\n Alarm Indication\n8 dsx3RcvAIS Receiving AIS failure state\n16 dsx3XmitAIS Transmitting AIS\n32 dsx3LOF Receiving LOF failure state\n64 dsx3LOS Receiving LOS failure state\n128 dsx3LoopbackState Looping the received signal\n256 dsx3RcvTestCode Receiving a Test Pattern\n512 dsx3OtherFailure any line status not defined\n here\n1024 dsx3UnavailSigState Near End in Unavailable\n Signal State\n2048 dsx3NetEquipOOS Carrier Equipment Out of\n Service") dsx3TransmitClockSource = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("loopTiming", 1), ("localTiming", 2), ("throughTiming", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3TransmitClockSource.setDescription("The source of Transmit Clock.\n\n\n\n\nloopTiming indicates that the recovered receive\nclock is used as the transmit clock.\n\nlocalTiming indicates that a local clock source is\nused or that an external clock is attached to the\nbox containing the interface.\n\nthroughTiming indicates that transmit clock is\nderived from the recovered receive clock of\nanother DS3 interface.") dsx3InvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3InvalidIntervals.setDescription(" The number of intervals in the range from 0 to\ndsx3ValidIntervals for which no data is available.\nThis object will typically be zero except in cases\nwhere the data for some intervals are not\navailable (e.g., in proxy situations).") dsx3LineLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3LineLength.setDescription("The length of the ds3 line in meters. This\nobject provides information for line build out\ncircuitry if it exists and can use this object to\nadjust the line build out.") dsx3LineStatusLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 14), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3LineStatusLastChange.setDescription("The value of MIB II's sysUpTime object at the\ntime this DS3/E3 entered its current line status\nstate. If the current state was entered prior to\nthe last re-initialization of the proxy-agent,\nthen this object contains a zero value.") dsx3LineStatusChangeTrapEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3LineStatusChangeTrapEnable.setDescription("Indicates whether dsx3LineStatusChange traps\nshould be generated for this interface.") dsx3LoopbackStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3LoopbackStatus.setDescription("This variable represents the current state of the\nloopback on the DS3 interface. It contains\ninformation about loopbacks established by a\nmanager and remotely from the far end.\n\nThe dsx3LoopbackStatus is a bit map represented as\na sum, therefore is can represent multiple\nloopbacks simultaneously.\n\nThe various bit positions are:\n 1 dsx3NoLoopback\n 2 dsx3NearEndPayloadLoopback\n 4 dsx3NearEndLineLoopback\n 8 dsx3NearEndOtherLoopback\n16 dsx3NearEndInwardLoopback\n32 dsx3FarEndPayloadLoopback\n64 dsx3FarEndLineLoopback") dsx3Channelization = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("disabled", 1), ("enabledDs1", 2), ("enabledDs2", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3Channelization.setDescription("Indicates whether this ds3/e3 is channelized or\nunchannelized. The value of enabledDs1 indicates\n\n\n\nthat this is a DS3 channelized into DS1s. The\nvalue of enabledDs3 indicated that this is a DS3\nchannelized into DS2s. Setting this object will\ncause the creation or deletion of DS2 or DS1\nentries in the ifTable. ") dsx3Ds1ForRemoteLoop = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 5, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 29))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3Ds1ForRemoteLoop.setDescription("Indicates which DS1/E1 on this DS3/E3 will be\nindicated in the remote ds1 loopback request. A\nvalue of 0 means no DS1 will be looped. A value\nof 29 means all DS1s/E1s will be looped.") dsx3CurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 6)) if mibBuilder.loadTexts: dsx3CurrentTable.setDescription("The DS3/E3 current table contains various\nstatistics being collected for the current 15\nminute interval.") dsx3CurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 6, 1)).setIndexNames((0, "DS3-MIB", "dsx3CurrentIndex")) if mibBuilder.loadTexts: dsx3CurrentEntry.setDescription("An entry in the DS3/E3 Current table.") dsx3CurrentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentIndex.setDescription("The index value which uniquely identifies the\nDS3/E3 interface to which this entry is\napplicable. The interface identified by a\nparticular value of this index is the same\ninterface as identified by the same value an\ndsx3LineIndex object instance.") dsx3CurrentPESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentPESs.setDescription("The counter associated with the number of P-bit\nErrored Seconds.") dsx3CurrentPSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentPSESs.setDescription("The counter associated with the number of P-bit\nSeverely Errored Seconds.") dsx3CurrentSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentSEFSs.setDescription("The counter associated with the number of\nSeverely Errored Framing Seconds.") dsx3CurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentUASs.setDescription("The counter associated with the number of\nUnavailable Seconds.") dsx3CurrentLCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentLCVs.setDescription("The counter associated with the number of Line\nCoding Violations.") dsx3CurrentPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentPCVs.setDescription("The counter associated with the number of P-bit\nCoding Violations.") dsx3CurrentLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentLESs.setDescription("The number of Line Errored Seconds.") dsx3CurrentCCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentCCVs.setDescription("The number of C-bit Coding Violations.") dsx3CurrentCESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentCESs.setDescription("The number of C-bit Errored Seconds.") dsx3CurrentCSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 6, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3CurrentCSESs.setDescription("The number of C-bit Severely Errored Seconds.") dsx3IntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 7)) if mibBuilder.loadTexts: dsx3IntervalTable.setDescription("The DS3/E3 Interval Table contains various\nstatistics collected by each DS3/E3 Interface over\nthe previous 24 hours of operation. The past 24\nhours are broken into 96 completed 15 minute\nintervals. Each row in this table represents one\nsuch interval (identified by dsx3IntervalNumber)\nand for one specific interface (identified by\ndsx3IntervalIndex).") dsx3IntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 7, 1)).setIndexNames((0, "DS3-MIB", "dsx3IntervalIndex"), (0, "DS3-MIB", "dsx3IntervalNumber")) if mibBuilder.loadTexts: dsx3IntervalEntry.setDescription("An entry in the DS3/E3 Interval table.") dsx3IntervalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalIndex.setDescription("The index value which uniquely identifies the\nDS3/E3 interface to which this entry is\napplicable. The interface identified by a\nparticular value of this index is the same\ninterface as identified by the same value an\ndsx3LineIndex object instance.") dsx3IntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalNumber.setDescription("A number between 1 and 96, where 1 is the most\nrecently completed 15 minute interval and 96 is\nthe 15 minutes interval completed 23 hours and 45\nminutes prior to interval 1.") dsx3IntervalPESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalPESs.setDescription("The counter associated with the number of P-bit\nErrored Seconds.") dsx3IntervalPSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalPSESs.setDescription("The counter associated with the number of P-bit\nSeverely Errored Seconds.") dsx3IntervalSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalSEFSs.setDescription("The counter associated with the number of\nSeverely Errored Framing Seconds.") dsx3IntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalUASs.setDescription("The counter associated with the number of\nUnavailable Seconds. This object may decrease if\nthe occurrence of unavailable seconds occurs across\nan interval boundary.") dsx3IntervalLCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalLCVs.setDescription("The counter associated with the number of Line\nCoding Violations.") dsx3IntervalPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalPCVs.setDescription("The counter associated with the number of P-bit\nCoding Violations.") dsx3IntervalLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalLESs.setDescription("The number of Line Errored Seconds (BPVs or\nillegal zero sequences).") dsx3IntervalCCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalCCVs.setDescription("The number of C-bit Coding Violations.") dsx3IntervalCESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalCESs.setDescription("The number of C-bit Errored Seconds.") dsx3IntervalCSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalCSESs.setDescription("The number of C-bit Severely Errored Seconds.") dsx3IntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 7, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3IntervalValidData.setDescription(" This variable indicates if the data for this\ninterval is valid.") dsx3TotalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 8)) if mibBuilder.loadTexts: dsx3TotalTable.setDescription("The DS3/E3 Total Table contains the cumulative\nsum of the various statistics for the 24 hour\nperiod preceding the current interval.") dsx3TotalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 8, 1)).setIndexNames((0, "DS3-MIB", "dsx3TotalIndex")) if mibBuilder.loadTexts: dsx3TotalEntry.setDescription("An entry in the DS3/E3 Total table.") dsx3TotalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalIndex.setDescription("The index value which uniquely identifies the\nDS3/E3 interface to which this entry is\napplicable. The interface identified by a\nparticular value of this index is the same\ninterface as identified by the same value an\ndsx3LineIndex object instance.") dsx3TotalPESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 2), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalPESs.setDescription("The counter associated with the number of P-bit\nErrored Seconds, encountered by a DS3 interface in\nthe previous 24 hour interval. Invalid 15 minute\nintervals count as 0.") dsx3TotalPSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 3), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalPSESs.setDescription("The counter associated with the number of P-bit\nSeverely Errored Seconds, encountered by a DS3\ninterface in the previous 24 hour interval.\nInvalid 15 minute intervals count as 0.") dsx3TotalSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 4), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalSEFSs.setDescription("The counter associated with the number of\nSeverely Errored Framing Seconds, encountered by a\nDS3/E3 interface in the previous 24 hour interval.\nInvalid 15 minute intervals count as 0.") dsx3TotalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 5), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalUASs.setDescription("The counter associated with the number of\nUnavailable Seconds, encountered by a DS3\ninterface in the previous 24 hour interval.\nInvalid 15 minute intervals count as 0.") dsx3TotalLCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 6), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalLCVs.setDescription("The counter associated with the number of Line\nCoding Violations encountered by a DS3/E3\ninterface in the previous 24 hour interval.\nInvalid 15 minute intervals count as 0.") dsx3TotalPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 7), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalPCVs.setDescription("The counter associated with the number of P-bit\n\n\n\nCoding Violations, encountered by a DS3 interface\nin the previous 24 hour interval. Invalid 15\nminute intervals count as 0.") dsx3TotalLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 8), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalLESs.setDescription("The number of Line Errored Seconds (BPVs or\nillegal zero sequences) encountered by a DS3/E3\ninterface in the previous 24 hour interval.\nInvalid 15 minute intervals count as 0.") dsx3TotalCCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 9), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalCCVs.setDescription("The number of C-bit Coding Violations encountered\nby a DS3 interface in the previous 24 hour\ninterval. Invalid 15 minute intervals count as 0.") dsx3TotalCESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 10), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalCESs.setDescription("The number of C-bit Errored Seconds encountered\nby a DS3 interface in the previous 24 hour\ninterval. Invalid 15 minute intervals count as 0.") dsx3TotalCSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 8, 1, 11), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3TotalCSESs.setDescription("The number of C-bit Severely Errored Seconds\nencountered by a DS3 interface in the previous 24\nhour interval. Invalid 15 minute intervals count\nas 0.") dsx3FarEndConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 9)) if mibBuilder.loadTexts: dsx3FarEndConfigTable.setDescription("The DS3 Far End Configuration Table contains\nconfiguration information reported in the C-bits\nfrom the remote end.") dsx3FarEndConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 9, 1)).setIndexNames((0, "DS3-MIB", "dsx3FarEndLineIndex")) if mibBuilder.loadTexts: dsx3FarEndConfigEntry.setDescription("An entry in the DS3 Far End Configuration table.") dsx3FarEndLineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 9, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndLineIndex.setDescription("The index value which uniquely identifies the DS3\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\n\n\n\nindex is the same interface as identified by the\nsame value an dsx3LineIndex object instance.") dsx3FarEndEquipCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 9, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3FarEndEquipCode.setDescription("This is the Far End Equipment Identification code\nthat describes the specific piece of equipment.\nIt is sent within the Path Identification\nMessage.") dsx3FarEndLocationIDCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 9, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 11))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3FarEndLocationIDCode.setDescription("This is the Far End Location Identification code\nthat describes the specific location of the\nequipment. It is sent within the Path\nIdentification Message.") dsx3FarEndFrameIDCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 9, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3FarEndFrameIDCode.setDescription("This is the Far End Frame Identification code\nthat identifies where the equipment is located\nwithin a building at a given location. It is sent\nwithin the Path Identification Message.") dsx3FarEndUnitCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 9, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3FarEndUnitCode.setDescription("This is the Far End code that identifies the\nequipment location within a bay. It is sent\nwithin the Path Identification Message.") dsx3FarEndFacilityIDCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 9, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 38))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3FarEndFacilityIDCode.setDescription("This code identifies a specific Far End DS3 path.\nIt is sent within the Path Identification\nMessage.") dsx3FarEndCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 10)) if mibBuilder.loadTexts: dsx3FarEndCurrentTable.setDescription("The DS3 Far End Current table contains various\nstatistics being collected for the current 15\nminute interval. The statistics are collected\nfrom the far end block error code within the C-\nbits.") dsx3FarEndCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 10, 1)).setIndexNames((0, "DS3-MIB", "dsx3FarEndCurrentIndex")) if mibBuilder.loadTexts: dsx3FarEndCurrentEntry.setDescription("An entry in the DS3 Far End Current table.") dsx3FarEndCurrentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndCurrentIndex.setDescription("The index value which uniquely identifies the DS3\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is identical to the interface identified by\nthe same value of dsx3LineIndex.") dsx3FarEndTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndTimeElapsed.setDescription("The number of seconds that have elapsed since the\nbeginning of the far end current error-measurement\nperiod. If, for some reason, such as an adjustment\nin the system's time-of-day clock, the current\ninterval exceeds the maximum value, the agent will\nreturn the maximum value.") dsx3FarEndValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndValidIntervals.setDescription("The number of previous far end intervals for\nwhich data was collected. The value will be 96\nunless the interface was brought online within the\nlast 24 hours, in which case the value will be the\nnumber of complete 15 minute far end intervals\nsince the interface has been online. In the case\nwhere the agent is a proxy, it is possible that\nsome intervals are unavailable. In this case,\nthis interval is the maximum interval number for\nwhich data is available.") dsx3FarEndCurrentCESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndCurrentCESs.setDescription("The counter associated with the number of Far End\nC-bit Errored Seconds.") dsx3FarEndCurrentCSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndCurrentCSESs.setDescription("The counter associated with the number of Far End\nC-bit Severely Errored Seconds.") dsx3FarEndCurrentCCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndCurrentCCVs.setDescription("The counter associated with the number of Far End\nC-bit Coding Violations reported via the far end\nblock error count.") dsx3FarEndCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndCurrentUASs.setDescription("The counter associated with the number of Far End\nunavailable seconds.") dsx3FarEndInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 10, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndInvalidIntervals.setDescription(" The number of intervals in the range from 0 to\ndsx3FarEndValidIntervals for which no data is\navailable. This object will typically be zero\nexcept in cases where the data for some intervals\nare not available (e.g., in proxy situations).") dsx3FarEndIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 11)) if mibBuilder.loadTexts: dsx3FarEndIntervalTable.setDescription("The DS3 Far End Interval Table contains various\n\n\n\nstatistics collected by each DS3 interface over\nthe previous 24 hours of operation. The past 24\nhours are broken into 96 completed 15 minute\nintervals.") dsx3FarEndIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 11, 1)).setIndexNames((0, "DS3-MIB", "dsx3FarEndIntervalIndex"), (0, "DS3-MIB", "dsx3FarEndIntervalNumber")) if mibBuilder.loadTexts: dsx3FarEndIntervalEntry.setDescription("An entry in the DS3 Far End Interval table.") dsx3FarEndIntervalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 11, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndIntervalIndex.setDescription("The index value which uniquely identifies the DS3\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is identical to the interface identified by\nthe same value of dsx3LineIndex.") dsx3FarEndIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndIntervalNumber.setDescription("A number between 1 and 96, where 1 is the most\nrecently completed 15 minute interval and 96 is\n\n\n\nthe 15 minutes interval completed 23 hours and 45\nminutes prior to interval 1.") dsx3FarEndIntervalCESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 11, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndIntervalCESs.setDescription("The counter associated with the number of Far End\nC-bit Errored Seconds encountered by a DS3\ninterface in one of the previous 96, individual 15\nminute, intervals. In the case where the agent is\na proxy and data is not available, return\nnoSuchInstance.") dsx3FarEndIntervalCSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 11, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndIntervalCSESs.setDescription("The counter associated with the number of Far End\nC-bit Severely Errored Seconds.") dsx3FarEndIntervalCCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 11, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndIntervalCCVs.setDescription("The counter associated with the number of Far End\nC-bit Coding Violations reported via the far end\nblock error count.") dsx3FarEndIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 11, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndIntervalUASs.setDescription("The counter associated with the number of Far End\nunavailable seconds.") dsx3FarEndIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 11, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndIntervalValidData.setDescription(" This variable indicates if the data for this\ninterval is valid.") dsx3FarEndTotalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 12)) if mibBuilder.loadTexts: dsx3FarEndTotalTable.setDescription("The DS3 Far End Total Table contains the\ncumulative sum of the various statistics for the\n24 hour period preceding the current interval.") dsx3FarEndTotalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 12, 1)).setIndexNames((0, "DS3-MIB", "dsx3FarEndTotalIndex")) if mibBuilder.loadTexts: dsx3FarEndTotalEntry.setDescription("An entry in the DS3 Far End Total table.") dsx3FarEndTotalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 12, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndTotalIndex.setDescription("The index value which uniquely identifies the DS3\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is identical to the interface identified by\nthe same value of dsx3LineIndex.") dsx3FarEndTotalCESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 12, 1, 2), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndTotalCESs.setDescription("The counter associated with the number of Far End\nC-bit Errored Seconds encountered by a DS3\ninterface in the previous 24 hour interval.\nInvalid 15 minute intervals count as 0.") dsx3FarEndTotalCSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 12, 1, 3), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndTotalCSESs.setDescription("The counter associated with the number of Far End\nC-bit Severely Errored Seconds encountered by a\nDS3 interface in the previous 24 hour interval.\nInvalid 15 minute intervals count as 0.") dsx3FarEndTotalCCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 12, 1, 4), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndTotalCCVs.setDescription("The counter associated with the number of Far End\nC-bit Coding Violations reported via the far end\nblock error count encountered by a DS3 interface\nin the previous 24 hour interval. Invalid 15\nminute intervals count as 0.") dsx3FarEndTotalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 12, 1, 5), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FarEndTotalUASs.setDescription("The counter associated with the number of Far End\nunavailable seconds encountered by a DS3 interface\nin the previous 24 hour interval. Invalid 15\nminute intervals count as 0.") dsx3FracTable = MibTable((1, 3, 6, 1, 2, 1, 10, 30, 13)) if mibBuilder.loadTexts: dsx3FracTable.setDescription("This table is deprecated in favour of using\nifStackTable.\n\nImplementation of this table was optional. It was\ndesigned for those systems dividing a DS3/E3 into\nchannels containing different data streams that\nare of local interest.\n\nThe DS3/E3 fractional table identifies which\nDS3/E3 channels associated with a CSU are being\nused to support a logical interface, i.e., an\nentry in the interfaces table from the Internet-\nstandard MIB.\n\nFor example, consider a DS3 device with 4 high\nspeed links carrying router traffic, a feed for\nvoice, a feed for video, and a synchronous channel\nfor a non-routed protocol. We might describe the\nallocation of channels, in the dsx3FracTable, as\nfollows:\ndsx3FracIfIndex.2. 1 = 3 dsx3FracIfIndex.2.15 = 4\ndsx3FracIfIndex.2. 2 = 3 dsx3FracIfIndex.2.16 = 6\ndsx3FracIfIndex.2. 3 = 3 dsx3FracIfIndex.2.17 = 6\ndsx3FracIfIndex.2. 4 = 3 dsx3FracIfIndex.2.18 = 6\ndsx3FracIfIndex.2. 5 = 3 dsx3FracIfIndex.2.19 = 6\ndsx3FracIfIndex.2. 6 = 3 dsx3FracIfIndex.2.20 = 6\ndsx3FracIfIndex.2. 7 = 4 dsx3FracIfIndex.2.21 = 6\ndsx3FracIfIndex.2. 8 = 4 dsx3FracIfIndex.2.22 = 6\ndsx3FracIfIndex.2. 9 = 4 dsx3FracIfIndex.2.23 = 6\ndsx3FracIfIndex.2.10 = 4 dsx3FracIfIndex.2.24 = 6\ndsx3FracIfIndex.2.11 = 4 dsx3FracIfIndex.2.25 = 6\ndsx3FracIfIndex.2.12 = 5 dsx3FracIfIndex.2.26 = 6\ndsx3FracIfIndex.2.13 = 5 dsx3FracIfIndex.2.27 = 6\ndsx3FracIfIndex.2.14 = 5 dsx3FracIfIndex.2.28 = 6\nFor dsx3M23, dsx3 SYNTRAN, dsx3CbitParity, and\ndsx3ClearChannel there are 28 legal channels,\nnumbered 1 through 28.\n\nFor e3Framed there are 16 legal channels, numbered\n1 through 16. The channels (1..16) correspond\ndirectly to the equivalently numbered time-slots.") dsx3FracEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 30, 13, 1)).setIndexNames((0, "DS3-MIB", "dsx3FracIndex"), (0, "DS3-MIB", "dsx3FracNumber")) if mibBuilder.loadTexts: dsx3FracEntry.setDescription("An entry in the DS3 Fractional table.") dsx3FracIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FracIndex.setDescription("The index value which uniquely identifies the\nDS3 interface to which this entry is applicable\nThe interface identified by a particular value\nof this index is the same interface as\nidentified by the same value an dsx3LineIndex\nobject instance.") dsx3FracNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 13, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx3FracNumber.setDescription("The channel number for this entry.") dsx3FracIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 30, 13, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx3FracIfIndex.setDescription("An index value that uniquely identifies an\ninterface. The interface identified by a\nparticular value of this index is the same\ninterface as identified by the same value an\n\n\n\nifIndex object instance. If no interface is\ncurrently using a channel, the value should be\nzero. If a single interface occupies more than\none time slot, that ifIndex value will be found\nin multiple time slots.") ds3Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 30, 14)) ds3Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 30, 14, 1)) ds3Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 30, 14, 2)) ds3Traps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 30, 15)) # Augmentions # Notifications dsx3LineStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 10, 30, 15, 0, 1)).setObjects(*(("DS3-MIB", "dsx3LineStatusLastChange"), ("DS3-MIB", "dsx3LineStatus"), ) ) if mibBuilder.loadTexts: dsx3LineStatusChange.setDescription("A dsx3LineStatusChange trap is sent when the\nvalue of an instance of dsx3LineStatus changes. It\ncan be utilized by an NMS to trigger polls. When\nthe line status change results in a lower level\nline status change (i.e., ds1), then no traps for\nthe lower level are sent.") # Groups ds3NearEndConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 30, 14, 1, 1)).setObjects(*(("DS3-MIB", "dsx3LineStatus"), ("DS3-MIB", "dsx3TransmitClockSource"), ("DS3-MIB", "dsx3Ds1ForRemoteLoop"), ("DS3-MIB", "dsx3LineIndex"), ("DS3-MIB", "dsx3TimeElapsed"), ("DS3-MIB", "dsx3CircuitIdentifier"), ("DS3-MIB", "dsx3LoopbackConfig"), ("DS3-MIB", "dsx3InvalidIntervals"), ("DS3-MIB", "dsx3ValidIntervals"), ("DS3-MIB", "dsx3LineLength"), ("DS3-MIB", "dsx3LineCoding"), ("DS3-MIB", "dsx3Channelization"), ("DS3-MIB", "dsx3SendCode"), ("DS3-MIB", "dsx3LoopbackStatus"), ("DS3-MIB", "dsx3LineType"), ) ) if mibBuilder.loadTexts: ds3NearEndConfigGroup.setDescription("A collection of objects providing configuration\ninformation applicable to all DS3/E3 interfaces.") ds3NearEndStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 30, 14, 1, 2)).setObjects(*(("DS3-MIB", "dsx3TotalIndex"), ("DS3-MIB", "dsx3IntervalCESs"), ("DS3-MIB", "dsx3CurrentLCVs"), ("DS3-MIB", "dsx3IntervalUASs"), ("DS3-MIB", "dsx3TotalCCVs"), ("DS3-MIB", "dsx3CurrentPSESs"), ("DS3-MIB", "dsx3TotalSEFSs"), ("DS3-MIB", "dsx3IntervalNumber"), ("DS3-MIB", "dsx3TotalCSESs"), ("DS3-MIB", "dsx3TotalPCVs"), ("DS3-MIB", "dsx3CurrentLESs"), ("DS3-MIB", "dsx3IntervalLCVs"), ("DS3-MIB", "dsx3IntervalLESs"), ("DS3-MIB", "dsx3CurrentSEFSs"), ("DS3-MIB", "dsx3IntervalCSESs"), ("DS3-MIB", "dsx3CurrentIndex"), ("DS3-MIB", "dsx3TotalUASs"), ("DS3-MIB", "dsx3CurrentUASs"), ("DS3-MIB", "dsx3CurrentCESs"), ("DS3-MIB", "dsx3CurrentCSESs"), ("DS3-MIB", "dsx3IntervalPCVs"), ("DS3-MIB", "dsx3CurrentCCVs"), ("DS3-MIB", "dsx3IntervalIndex"), ("DS3-MIB", "dsx3TotalPESs"), ("DS3-MIB", "dsx3IntervalCCVs"), ("DS3-MIB", "dsx3TotalLCVs"), ("DS3-MIB", "dsx3IntervalValidData"), ("DS3-MIB", "dsx3TotalLESs"), ("DS3-MIB", "dsx3IntervalPSESs"), ("DS3-MIB", "dsx3IntervalPESs"), ("DS3-MIB", "dsx3TotalPSESs"), ("DS3-MIB", "dsx3TotalCESs"), ("DS3-MIB", "dsx3IntervalSEFSs"), ("DS3-MIB", "dsx3CurrentPCVs"), ("DS3-MIB", "dsx3CurrentPESs"), ) ) if mibBuilder.loadTexts: ds3NearEndStatisticsGroup.setDescription("A collection of objects providing statistics\ninformation applicable to all DS3/E3 interfaces.") ds3FarEndGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 30, 14, 1, 3)).setObjects(*(("DS3-MIB", "dsx3FarEndFacilityIDCode"), ("DS3-MIB", "dsx3FarEndFrameIDCode"), ("DS3-MIB", "dsx3FarEndTotalCCVs"), ("DS3-MIB", "dsx3FarEndCurrentCESs"), ("DS3-MIB", "dsx3FarEndCurrentUASs"), ("DS3-MIB", "dsx3FarEndTotalUASs"), ("DS3-MIB", "dsx3FarEndIntervalNumber"), ("DS3-MIB", "dsx3FarEndCurrentCCVs"), ("DS3-MIB", "dsx3FarEndEquipCode"), ("DS3-MIB", "dsx3FarEndInvalidIntervals"), ("DS3-MIB", "dsx3FarEndTimeElapsed"), ("DS3-MIB", "dsx3FarEndTotalCESs"), ("DS3-MIB", "dsx3FarEndIntervalCCVs"), ("DS3-MIB", "dsx3FarEndLineIndex"), ("DS3-MIB", "dsx3FarEndIntervalIndex"), ("DS3-MIB", "dsx3FarEndUnitCode"), ("DS3-MIB", "dsx3FarEndValidIntervals"), ("DS3-MIB", "dsx3FarEndCurrentCSESs"), ("DS3-MIB", "dsx3FarEndLocationIDCode"), ("DS3-MIB", "dsx3FarEndIntervalUASs"), ("DS3-MIB", "dsx3FarEndTotalIndex"), ("DS3-MIB", "dsx3FarEndTotalCSESs"), ("DS3-MIB", "dsx3FarEndIntervalValidData"), ("DS3-MIB", "dsx3FarEndCurrentIndex"), ("DS3-MIB", "dsx3FarEndIntervalCESs"), ("DS3-MIB", "dsx3FarEndIntervalCSESs"), ) ) if mibBuilder.loadTexts: ds3FarEndGroup.setDescription("A collection of objects providing remote\nconfiguration and statistics information\napplicable to C-bit Parity and SYNTRAN DS3\ninterfaces.") ds3DeprecatedGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 30, 14, 1, 4)).setObjects(*(("DS3-MIB", "dsx3IfIndex"), ("DS3-MIB", "dsx3FracNumber"), ("DS3-MIB", "dsx3FracIfIndex"), ("DS3-MIB", "dsx3FracIndex"), ) ) if mibBuilder.loadTexts: ds3DeprecatedGroup.setDescription("A collection of obsolete objects that may be\nimplemented for backwards compatibility.") ds3NearEndOptionalConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 30, 14, 1, 5)).setObjects(*(("DS3-MIB", "dsx3LineStatusLastChange"), ("DS3-MIB", "dsx3LineStatusChangeTrapEnable"), ) ) if mibBuilder.loadTexts: ds3NearEndOptionalConfigGroup.setDescription("A collection of objects that may be implemented\non DS3/E3 interfaces.") ds3NearEndOptionalTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 30, 14, 1, 6)).setObjects(*(("DS3-MIB", "dsx3LineStatusChange"), ) ) if mibBuilder.loadTexts: ds3NearEndOptionalTrapGroup.setDescription("A collection of notifications that may be\nimplemented on DS3/E3 interfaces.") # Compliances ds3Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 30, 14, 2, 1)).setObjects(*(("DS3-MIB", "ds3NearEndOptionalConfigGroup"), ("DS3-MIB", "ds3NearEndStatisticsGroup"), ("DS3-MIB", "ds3NearEndConfigGroup"), ("DS3-MIB", "ds3NearEndOptionalTrapGroup"), ("DS3-MIB", "ds3FarEndGroup"), ) ) if mibBuilder.loadTexts: ds3Compliance.setDescription("The compliance statement for DS3/E3 interfaces.") # Exports # Module identity mibBuilder.exportSymbols("DS3-MIB", PYSNMP_MODULE_ID=ds3) # Objects mibBuilder.exportSymbols("DS3-MIB", ds3=ds3, dsx3ConfigTable=dsx3ConfigTable, dsx3ConfigEntry=dsx3ConfigEntry, dsx3LineIndex=dsx3LineIndex, dsx3IfIndex=dsx3IfIndex, dsx3TimeElapsed=dsx3TimeElapsed, dsx3ValidIntervals=dsx3ValidIntervals, dsx3LineType=dsx3LineType, dsx3LineCoding=dsx3LineCoding, dsx3SendCode=dsx3SendCode, dsx3CircuitIdentifier=dsx3CircuitIdentifier, dsx3LoopbackConfig=dsx3LoopbackConfig, dsx3LineStatus=dsx3LineStatus, dsx3TransmitClockSource=dsx3TransmitClockSource, dsx3InvalidIntervals=dsx3InvalidIntervals, dsx3LineLength=dsx3LineLength, dsx3LineStatusLastChange=dsx3LineStatusLastChange, dsx3LineStatusChangeTrapEnable=dsx3LineStatusChangeTrapEnable, dsx3LoopbackStatus=dsx3LoopbackStatus, dsx3Channelization=dsx3Channelization, dsx3Ds1ForRemoteLoop=dsx3Ds1ForRemoteLoop, dsx3CurrentTable=dsx3CurrentTable, dsx3CurrentEntry=dsx3CurrentEntry, dsx3CurrentIndex=dsx3CurrentIndex, dsx3CurrentPESs=dsx3CurrentPESs, dsx3CurrentPSESs=dsx3CurrentPSESs, dsx3CurrentSEFSs=dsx3CurrentSEFSs, dsx3CurrentUASs=dsx3CurrentUASs, dsx3CurrentLCVs=dsx3CurrentLCVs, dsx3CurrentPCVs=dsx3CurrentPCVs, dsx3CurrentLESs=dsx3CurrentLESs, dsx3CurrentCCVs=dsx3CurrentCCVs, dsx3CurrentCESs=dsx3CurrentCESs, dsx3CurrentCSESs=dsx3CurrentCSESs, dsx3IntervalTable=dsx3IntervalTable, dsx3IntervalEntry=dsx3IntervalEntry, dsx3IntervalIndex=dsx3IntervalIndex, dsx3IntervalNumber=dsx3IntervalNumber, dsx3IntervalPESs=dsx3IntervalPESs, dsx3IntervalPSESs=dsx3IntervalPSESs, dsx3IntervalSEFSs=dsx3IntervalSEFSs, dsx3IntervalUASs=dsx3IntervalUASs, dsx3IntervalLCVs=dsx3IntervalLCVs, dsx3IntervalPCVs=dsx3IntervalPCVs, dsx3IntervalLESs=dsx3IntervalLESs, dsx3IntervalCCVs=dsx3IntervalCCVs, dsx3IntervalCESs=dsx3IntervalCESs, dsx3IntervalCSESs=dsx3IntervalCSESs, dsx3IntervalValidData=dsx3IntervalValidData, dsx3TotalTable=dsx3TotalTable, dsx3TotalEntry=dsx3TotalEntry, dsx3TotalIndex=dsx3TotalIndex, dsx3TotalPESs=dsx3TotalPESs, dsx3TotalPSESs=dsx3TotalPSESs, dsx3TotalSEFSs=dsx3TotalSEFSs, dsx3TotalUASs=dsx3TotalUASs, dsx3TotalLCVs=dsx3TotalLCVs, dsx3TotalPCVs=dsx3TotalPCVs, dsx3TotalLESs=dsx3TotalLESs, dsx3TotalCCVs=dsx3TotalCCVs, dsx3TotalCESs=dsx3TotalCESs, dsx3TotalCSESs=dsx3TotalCSESs, dsx3FarEndConfigTable=dsx3FarEndConfigTable, dsx3FarEndConfigEntry=dsx3FarEndConfigEntry, dsx3FarEndLineIndex=dsx3FarEndLineIndex, dsx3FarEndEquipCode=dsx3FarEndEquipCode, dsx3FarEndLocationIDCode=dsx3FarEndLocationIDCode, dsx3FarEndFrameIDCode=dsx3FarEndFrameIDCode, dsx3FarEndUnitCode=dsx3FarEndUnitCode, dsx3FarEndFacilityIDCode=dsx3FarEndFacilityIDCode, dsx3FarEndCurrentTable=dsx3FarEndCurrentTable, dsx3FarEndCurrentEntry=dsx3FarEndCurrentEntry, dsx3FarEndCurrentIndex=dsx3FarEndCurrentIndex, dsx3FarEndTimeElapsed=dsx3FarEndTimeElapsed, dsx3FarEndValidIntervals=dsx3FarEndValidIntervals, dsx3FarEndCurrentCESs=dsx3FarEndCurrentCESs, dsx3FarEndCurrentCSESs=dsx3FarEndCurrentCSESs, dsx3FarEndCurrentCCVs=dsx3FarEndCurrentCCVs, dsx3FarEndCurrentUASs=dsx3FarEndCurrentUASs, dsx3FarEndInvalidIntervals=dsx3FarEndInvalidIntervals, dsx3FarEndIntervalTable=dsx3FarEndIntervalTable, dsx3FarEndIntervalEntry=dsx3FarEndIntervalEntry, dsx3FarEndIntervalIndex=dsx3FarEndIntervalIndex, dsx3FarEndIntervalNumber=dsx3FarEndIntervalNumber, dsx3FarEndIntervalCESs=dsx3FarEndIntervalCESs, dsx3FarEndIntervalCSESs=dsx3FarEndIntervalCSESs, dsx3FarEndIntervalCCVs=dsx3FarEndIntervalCCVs, dsx3FarEndIntervalUASs=dsx3FarEndIntervalUASs, dsx3FarEndIntervalValidData=dsx3FarEndIntervalValidData, dsx3FarEndTotalTable=dsx3FarEndTotalTable, dsx3FarEndTotalEntry=dsx3FarEndTotalEntry, dsx3FarEndTotalIndex=dsx3FarEndTotalIndex, dsx3FarEndTotalCESs=dsx3FarEndTotalCESs, dsx3FarEndTotalCSESs=dsx3FarEndTotalCSESs, dsx3FarEndTotalCCVs=dsx3FarEndTotalCCVs, dsx3FarEndTotalUASs=dsx3FarEndTotalUASs, dsx3FracTable=dsx3FracTable, dsx3FracEntry=dsx3FracEntry, dsx3FracIndex=dsx3FracIndex, dsx3FracNumber=dsx3FracNumber, dsx3FracIfIndex=dsx3FracIfIndex, ds3Conformance=ds3Conformance, ds3Groups=ds3Groups, ds3Compliances=ds3Compliances, ds3Traps=ds3Traps) # Notifications mibBuilder.exportSymbols("DS3-MIB", dsx3LineStatusChange=dsx3LineStatusChange) # Groups mibBuilder.exportSymbols("DS3-MIB", ds3NearEndConfigGroup=ds3NearEndConfigGroup, ds3NearEndStatisticsGroup=ds3NearEndStatisticsGroup, ds3FarEndGroup=ds3FarEndGroup, ds3DeprecatedGroup=ds3DeprecatedGroup, ds3NearEndOptionalConfigGroup=ds3NearEndOptionalConfigGroup, ds3NearEndOptionalTrapGroup=ds3NearEndOptionalTrapGroup) # Compliances mibBuilder.exportSymbols("DS3-MIB", ds3Compliance=ds3Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/CIRCUIT-IF-MIB.py0000644000014400001440000002645111736645135021042 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python CIRCUIT-IF-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:45 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowPointer, RowStatus, StorageType, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "RowStatus", "StorageType", "TextualConvention", "TimeStamp") # Types class CiFlowDirection(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("transmit", 1), ("receive", 2), ("both", 3), ) # Objects circuitIfMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 94)).setRevisions(("2002-01-03 00:00",)) if mibBuilder.loadTexts: circuitIfMIB.setOrganization("IETF Frame Relay Service MIB Working Group") if mibBuilder.loadTexts: circuitIfMIB.setContactInfo("IETF Frame Relay Service MIB (frnetmib) Working Group\n\nWG Charter: http://www.ietf.org/html.charters/\n frnetmib-charter.html\nWG-email: frnetmib@sunroof.eng.sun.com\nSubscribe: frnetmib-request@sunroof.eng.sun.com\nEmail Archive: ftp://ftp.ietf.org/ietf-mail-archive/frnetmib\n\nChair: Andy Malis\n Vivace Networks\nEmail: Andy.Malis@vivacenetworks.com\n\nWG editor: Robert Steinberger\n Paradyne Networks and\n Fujitsu Network Communications\nEmail: robert.steinberger@fnc.fujitsu.com\n\nCo-author: Orly Nicklass\n RAD Data Communications Ltd.\nEMail: Orly_n@rad.co.il") if mibBuilder.loadTexts: circuitIfMIB.setDescription("The MIB module to allow insertion of selected circuit into\nthe ifTable.") ciObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 94, 1)) ciCircuitTable = MibTable((1, 3, 6, 1, 2, 1, 94, 1, 1)) if mibBuilder.loadTexts: ciCircuitTable.setDescription("The Circuit Interface Circuit Table.") ciCircuitEntry = MibTableRow((1, 3, 6, 1, 2, 1, 94, 1, 1, 1)).setIndexNames((0, "CIRCUIT-IF-MIB", "ciCircuitObject"), (0, "CIRCUIT-IF-MIB", "ciCircuitFlow")) if mibBuilder.loadTexts: ciCircuitEntry.setDescription("An entry in the Circuit Interface Circuit Table.") ciCircuitObject = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 1, 1, 1), RowPointer()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ciCircuitObject.setDescription("This value contains the RowPointer that uniquely\n\n\ndescribes the circuit that is to be added to this table.\nAny RowPointer that will force the size of OBJECT\nIDENTIFIER of the row to grow beyond the legal limit\nMUST be rejected.\n\nThe purpose of this object is to point a network manager\nto the table in which the circuit was created as well as\ndefine the circuit on which the interface is defined.\n\nValid tables for this object include the frCircuitTable\nfrom the Frame Relay DTE MIB(FRAME-RELAY-DTE-MIB), the\nfrPVCEndptTable from the Frame Relay Service MIB\n(FRNETSERV-MIB), and the aal5VccTable from the ATM MIB\n(ATM MIB). However, including circuits from other MIB\ntables IS NOT prohibited.") ciCircuitFlow = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 1, 1, 2), CiFlowDirection()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ciCircuitFlow.setDescription("The direction of data flow through the circuit for which\nthe virtual interface is defined. The following define\nthe information that the virtual interface will report.\n\n transmit(1) - Only transmitted frames\n receive(2) - Only received frames\n both(3) - Both transmitted and received frames.\n\nIt is recommended that the ifDescr of the circuit\ninterfaces that are not both(3) SHOULD have text warning\nthe operators that the particular interface represents\nonly half the traffic on the circuit.") ciCircuitStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ciCircuitStatus.setDescription("The status of the current row. This object is\nused to add, delete, and disable rows in this\ntable. When the status changes to active(1), a row\nwill also be added to the interface map table below\nand a row will be added to the ifTable. These rows\nSHOULD not be removed until the status is changed\nfrom active(1). The value of ifIndex for the row that\n\n\nis added to the ifTable is determined by the agent\nand MUST follow the rules of the ifTable. The value\nof ifType for that interface will be frDlciEndPt(193)\nfor a frame relay circuit, atmVciEndPt(194) for an\nATM circuit, or another ifType defining the circuit\ntype for any other circuit.\n\nWhen this object is set to destroy(6), the associated\nrow in the interface map table will be removed and the\nifIndex will be removed from the ifTable. Removing\nthe ifIndex MAY initiate a chain of events that causes\nchanges to other tables as well.\n\nThe rows added to this table MUST have a valid object\nidentifier for ciCircuitObject. This means that the\nreferenced object must exist and it must be in a table\nthat supports circuits.\n\nThe object referenced by ciCircuitObject MUST exist\nprior to transitioning a row to active(1). If at any\npoint the object referenced by ciCircuitObject does not\nexist or the row containing it is not in the active(1)\nstate, the status SHOULD either age out the row or\nreport notReady(3). The effects transitioning from\nactive(1) to notReady(3) are the same as those caused\nby setting the status to destroy(6).\n\nEach row in this table relies on information from other\nMIB modules. The rules persistence of data SHOULD follow\nthe same rules as those of the underlying MIB module.\nFor example, if the circuit defined by ciCircuitObject\nwould normally be stored in non-volatile memory, then\nthe row SHOULD also be non-volatile.") ciCircuitIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 1, 1, 4), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: ciCircuitIfIndex.setDescription("The ifIndex that the agent assigns to this row.") ciCircuitCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 1, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ciCircuitCreateTime.setDescription("This object returns the value of sysUpTime at the time\nthe value of ciCircuitStatus last transitioned to\nactive(1). If ciCircuitStatus has never been active(1),\nthis object SHOULD return 0.") ciCircuitStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 1, 1, 6), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ciCircuitStorageType.setDescription("The storage type used for this row.") ciIfMapTable = MibTable((1, 3, 6, 1, 2, 1, 94, 1, 2)) if mibBuilder.loadTexts: ciIfMapTable.setDescription("The Circuit Interface Map Table.") ciIfMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 94, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: ciIfMapEntry.setDescription("An entry in the Circuit Interface Map Table.") ciIfMapObject = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 2, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: ciIfMapObject.setDescription("This value contains the value of RowPointer that\ncorresponds to the current ifIndex.") ciIfMapFlow = MibTableColumn((1, 3, 6, 1, 2, 1, 94, 1, 2, 1, 2), CiFlowDirection()).setMaxAccess("readonly") if mibBuilder.loadTexts: ciIfMapFlow.setDescription("The value contains the value of ciCircuitFlow that\ncorresponds to the current ifIndex.") ciIfLastChange = MibScalar((1, 3, 6, 1, 2, 1, 94, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ciIfLastChange.setDescription("The value of sysUpTime at the most recent change to\nciCircuitStatus for any row in ciCircuitTable.") ciIfNumActive = MibScalar((1, 3, 6, 1, 2, 1, 94, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ciIfNumActive.setDescription("The number of active rows in ciCircuitTable.") ciCapabilities = MibIdentifier((1, 3, 6, 1, 2, 1, 94, 2)) ciConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 94, 3)) ciMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 94, 3, 1)) ciMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 94, 3, 2)) # Augmentions # Groups ciCircuitGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 94, 3, 1, 1)).setObjects(*(("CIRCUIT-IF-MIB", "ciCircuitStatus"), ("CIRCUIT-IF-MIB", "ciCircuitStorageType"), ("CIRCUIT-IF-MIB", "ciCircuitIfIndex"), ("CIRCUIT-IF-MIB", "ciCircuitCreateTime"), ) ) if mibBuilder.loadTexts: ciCircuitGroup.setDescription("A collection of required objects providing\ninformation from the circuit table.") ciIfMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 94, 3, 1, 2)).setObjects(*(("CIRCUIT-IF-MIB", "ciIfMapObject"), ("CIRCUIT-IF-MIB", "ciIfMapFlow"), ) ) if mibBuilder.loadTexts: ciIfMapGroup.setDescription("A collection of required objects providing\ninformation from the interface map table.") ciStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 94, 3, 1, 3)).setObjects(*(("CIRCUIT-IF-MIB", "ciIfNumActive"), ("CIRCUIT-IF-MIB", "ciIfLastChange"), ) ) if mibBuilder.loadTexts: ciStatsGroup.setDescription("A collection of statistical metrics used to help manage\nthe ciCircuitTable.") # Compliances ciCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 94, 3, 2, 1)).setObjects(*(("CIRCUIT-IF-MIB", "ciCircuitGroup"), ("CIRCUIT-IF-MIB", "ciStatsGroup"), ("CIRCUIT-IF-MIB", "ciIfMapGroup"), ) ) if mibBuilder.loadTexts: ciCompliance.setDescription("The compliance statement for SNMP entities\n\n\nwhich support of the Circuit Interfaces MIB module.\nThis group defines the minimum level of support\nrequired for compliance.") # Exports # Module identity mibBuilder.exportSymbols("CIRCUIT-IF-MIB", PYSNMP_MODULE_ID=circuitIfMIB) # Types mibBuilder.exportSymbols("CIRCUIT-IF-MIB", CiFlowDirection=CiFlowDirection) # Objects mibBuilder.exportSymbols("CIRCUIT-IF-MIB", circuitIfMIB=circuitIfMIB, ciObjects=ciObjects, ciCircuitTable=ciCircuitTable, ciCircuitEntry=ciCircuitEntry, ciCircuitObject=ciCircuitObject, ciCircuitFlow=ciCircuitFlow, ciCircuitStatus=ciCircuitStatus, ciCircuitIfIndex=ciCircuitIfIndex, ciCircuitCreateTime=ciCircuitCreateTime, ciCircuitStorageType=ciCircuitStorageType, ciIfMapTable=ciIfMapTable, ciIfMapEntry=ciIfMapEntry, ciIfMapObject=ciIfMapObject, ciIfMapFlow=ciIfMapFlow, ciIfLastChange=ciIfLastChange, ciIfNumActive=ciIfNumActive, ciCapabilities=ciCapabilities, ciConformance=ciConformance, ciMIBGroups=ciMIBGroups, ciMIBCompliances=ciMIBCompliances) # Groups mibBuilder.exportSymbols("CIRCUIT-IF-MIB", ciCircuitGroup=ciCircuitGroup, ciIfMapGroup=ciIfMapGroup, ciStatsGroup=ciStatsGroup) # Compliances mibBuilder.exportSymbols("CIRCUIT-IF-MIB", ciCompliance=ciCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/VPN-TC-STD-MIB.py0000644000014400001440000000450011736645141021027 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python VPN-TC-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:49 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class VPNId(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(7,7) fixedLength = 7 class VPNIdOrZero(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(7,7),) # Objects vpnTcMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 129)).setRevisions(("2005-11-15 00:00",)) if mibBuilder.loadTexts: vpnTcMIB.setOrganization("Layer 3 Virtual Private Networks (L3VPN) Working Group.") if mibBuilder.loadTexts: vpnTcMIB.setContactInfo("Benson Schliesser\nbensons@savvis.net\n\nThomas D. Nadeau\ntnadeau@cisco.com\n\nThis TC MIB is a product of the PPVPN\nhttp://www.ietf.org/html.charters/ppvpn-charter.html\nand subsequently the L3VPN\nhttp://www.ietf.org/html.charters/l3vpn-charter.html\nworking groups.\n\nComments and discussion should be directed to\nl3vpn@ietf.org") if mibBuilder.loadTexts: vpnTcMIB.setDescription("This MIB contains TCs for VPNs.\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is part of RFC 4265; see the RFC\nitself for full legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("VPN-TC-STD-MIB", PYSNMP_MODULE_ID=vpnTcMIB) # Types mibBuilder.exportSymbols("VPN-TC-STD-MIB", VPNId=VPNId, VPNIdOrZero=VPNIdOrZero) # Objects mibBuilder.exportSymbols("VPN-TC-STD-MIB", vpnTcMIB=vpnTcMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/Finisher-MIB.py0000644000014400001440000007153311736645136021215 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python Finisher-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:59 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( hrDeviceIndex, ) = mibBuilder.importSymbols("HOST-RESOURCES-MIB", "hrDeviceIndex") ( FinAttributeTypeTC, FinDeviceTypeTC, ) = mibBuilder.importSymbols("IANA-FINISHER-MIB", "FinAttributeTypeTC", "FinDeviceTypeTC") ( PrtInputTypeTC, PrtMarkerSuppliesTypeTC, ) = mibBuilder.importSymbols("IANA-PRINTER-MIB", "PrtInputTypeTC", "PrtMarkerSuppliesTypeTC") ( PresentOnOff, PrtCapacityUnitTC, PrtLocalizedDescriptionStringTC, PrtMarkerSuppliesClassTC, PrtMarkerSuppliesSupplyUnitTC, PrtMediaUnitTC, PrtSubUnitStatusTC, printmib, prtMIBConformance, ) = mibBuilder.importSymbols("Printer-MIB", "PresentOnOff", "PrtCapacityUnitTC", "PrtLocalizedDescriptionStringTC", "PrtMarkerSuppliesClassTC", "PrtMarkerSuppliesSupplyUnitTC", "PrtMediaUnitTC", "PrtSubUnitStatusTC", "printmib", "prtMIBConformance") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") # Objects finMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 2, 6)) finDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 30)) finDeviceTable = MibTable((1, 3, 6, 1, 2, 1, 43, 30, 1)) if mibBuilder.loadTexts: finDeviceTable.setDescription("This table defines the finishing device subunits,\nincluding information regarding possible configuration\noptions and the status for each finisher device subunit.") finDeviceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 30, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finDeviceIndex")) if mibBuilder.loadTexts: finDeviceEntry.setDescription("There is an entry in the finishing device table for each\npossible finisher process. Each individual finisher process is\nimplemented by a finishing device represented in this table.") finDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: finDeviceIndex.setDescription("A unique value used to identify a finisher process.\nAlthough these values may change due to a major\nreconfiguration of the printer system (e.g., the addition\nof new finishing processes), the values are normally\nexpected to remain stable across successive power cycles.") finDeviceType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 2), FinDeviceTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceType.setDescription("Defines the type of finishing process associated with this\ntable row entry.") finDevicePresentOnOff = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 3), PresentOnOff().clone('notPresent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDevicePresentOnOff.setDescription("Indicates if this finishing device subunit is available\nand whether the device subunit is enabled.") finDeviceCapacityUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 4), PrtCapacityUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceCapacityUnit.setDescription("The unit of measure for specifying the capacity of this\nfinisher device subunit.") finDeviceMaxCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceMaxCapacity.setDescription("The maximum capacity of this finisher device subunit in\nfinDeviceCapacityUnits. If the device can reliably sense\nthis value, the value is sensed by the finisher device\n\n\nand is read-only: otherwise the value may be written by a\nmanagement or control console application. The value (-1)\nmeans other and specifically indicates that the device\nplaces no restrictions on this parameter. The value (-2)\nmeans unknown.") finDeviceCurrentCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceCurrentCapacity.setDescription("The current capacity of this finisher device subunit in\nfinDeviceCapacityUnits. If the device can reliably sense\nthis value, the value is sensed by the finisher and is\nread-only: otherwise the value may be written by a\nmanagement or control console application. The value (-1)\nmeans other and specifically indicates that the device\nplaces no restrictions on this parameter. The value (-2)\nmeans unknown.") finDeviceAssociatedMediaPaths = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceAssociatedMediaPaths.setDescription("Indicates the media paths which can supply media for this\nfinisher device. The value of this object is a bit map in an\noctet string with each position representing the value of a\nprtMediaPathIndex. For a media path that can be a source\nfor this finisher device subunit, the bit position equal\nto one less than the value of prtMediaPathIndex will be set.\nThe bits are numbered starting with the most significant bit of\nthe first byte being bit 0, the least significant bit of the\nfirst byte being bit 7, the most significant of the second byte\nbeing bit 8, and so on.") finDeviceAssociatedOutputs = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceAssociatedOutputs.setDescription("Indicates the printer output subunits this finisher device\nsubunit services. The value of this object is a bit map in an\n\n\noctet string with each position representing the value of a\nprtOutputIndex. For an output subunit that is serviced\nby this finisher device subunit, the bit position equal\nto one less than the value of prtOutputIndex will be set.\nThe bits are numbered starting with the most significant bit of\nthe first byte being bit 0, the least significant bit of the\nfirst byte being bit 7, the most significant of the second byte\nbeing bit 8, and so on.") finDeviceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 9), PrtSubUnitStatusTC().clone('5')).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceStatus.setDescription("Indicates the current status of this finisher device\nsubunit.") finDeviceDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 10), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceDescription.setDescription("A free form text description of this device subunit in the\nlocalization specified by prtGeneralCurrentLocalization.") finSupply = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 31)) finSupplyTable = MibTable((1, 3, 6, 1, 2, 1, 43, 31, 1)) if mibBuilder.loadTexts: finSupplyTable.setDescription("Each unique source of supply is an entry in the finisher\nsupply table. Each supply entry has its own\ncharacteristics associated with it such as colorant and\n\n\ncurrent supply level.") finSupplyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 31, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finSupplyIndex")) if mibBuilder.loadTexts: finSupplyEntry.setDescription("A list of finisher devices, with their associated\nsupplies and supplies characteristics.") finSupplyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: finSupplyIndex.setDescription("A unique value used by a finisher to identify this supply\ncontainer/receptacle. Although these values may change\ndue to a major reconfiguration of the finisher (e.g., the\naddition of new supply sources to the finisher), values\nare normally expected to remain stable across successive\npower cycles.") finSupplyDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyDeviceIndex.setDescription("The value of finDeviceIndex corresponding to the finishing\ndevice subunit with which this finisher supply is associated.\nThe value zero indicates the associated finishing device is\nUnknown.") finSupplyClass = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 3), PrtMarkerSuppliesClassTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyClass.setDescription("This value indicates whether this supply entity\nrepresents a supply that is consumed or a container that\nis filled.") finSupplyType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 4), PrtMarkerSuppliesTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyType.setDescription("The type of this supply.") finSupplyDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 5), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyDescription.setDescription("The description of this supply/receptacle in text useful\nfor operators and management applications and in the\nlocalization specified by prtGeneralCurrentLocalization.") finSupplyUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 6), PrtMarkerSuppliesSupplyUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyUnit.setDescription("Unit of measure of this finisher supply container or\nreceptacle.") finSupplyMaxCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMaxCapacity.setDescription("The maximum capacity of this supply container/receptacle\nexpressed in Supply Units. If this supply container/\nreceptacle can reliably sense this value, the value is\nsensed and is read-only; otherwise the value may be\nwritten by a control panel or management application. The\nvalue (-1) means other and places no restrictions on this\n\n\n\nparameter. The value (-2) means unknown.") finSupplyCurrentLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-3, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyCurrentLevel.setDescription("The current level if this supply is a container; the\nremaining space if this supply is a receptacle. If this\nsupply container/receptacle can reliably sense this value,\nthe value is sensed and is read-only; otherwise the value\nmay be written by a control panel or management\napplication. The value (-1) means other and places no\nrestrictions on this parameter. The value (-2) means\nunknown. A value of (-3) means that the printer knows there\nis some supply or remaining space.") finSupplyColorName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyColorName.setDescription("The name of the color associated with this supply.") finSupplyMediaInput = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 32)) finSupplyMediaInputTable = MibTable((1, 3, 6, 1, 2, 1, 43, 32, 1)) if mibBuilder.loadTexts: finSupplyMediaInputTable.setDescription("The input subunits associated with a finisher supply media\nare each represented by an entry in this table.") finSupplyMediaInputEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 32, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finSupplyMediaInputIndex")) if mibBuilder.loadTexts: finSupplyMediaInputEntry.setDescription("A list of finisher supply media input subunit features and\ncharacteristics.") finSupplyMediaInputIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: finSupplyMediaInputIndex.setDescription("A unique value used by a finisher to identify this supply\nmedia input subunit. Although these values may change\ndue to a major reconfiguration of the finisher (e.g., the\naddition of new supply media input sources to the\nfinisher), values are normally expected to remain stable\nacross successive power cycles.") finSupplyMediaInputDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputDeviceIndex.setDescription("The value of finDeviceIndex corresponding to the finishing\ndevice subunit with which this finisher media supply is\nassociated. The value zero indicates the associated device\nis unknown.") finSupplyMediaInputSupplyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputSupplyIndex.setDescription("The value of finSupplyIndex corresponding to the finishing\nsupply subunit with which this finisher media supply is\nassociated. The value zero indicates the associated finishing\nsupply is unknown or there is no applicable finisher supply\ntable entry.") finSupplyMediaInputType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 4), PrtInputTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputType.setDescription("The type of technology (discriminated primarily according\nto the feeder mechanism type) employed by the input\nsubunit.") finSupplyMediaInputDimUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 5), PrtMediaUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputDimUnit.setDescription("The unit of measure for specifying dimensional values for\nthis input device.") finSupplyMediaInputMediaDimFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaDimFeedDir.setDescription("This object provides the value of the dimension in the\nfeed direction of the media that is placed or will be\nplaced in this input device. Feed dimension measurements\nare taken parallel to the feed direction of the device and\nmeasured in finSupplyMediaInputDimUnits. If this input\ndevice can reliably sense this value, the value is sensed\nand is read-only access. Otherwise the value is read-write\naccess and may be written by management or control panel\napplications. The value (-1) means other and specifically\nindicates that this device places no restrictions on this\nparameter. The value (-2) indicates unknown. ") finSupplyMediaInputMediaDimXFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaDimXFeedDir.setDescription("This object provides the value of the dimension across the\nfeed direction of the media that is placed or will be\nplaced in this input device. The cross feed direction is\nninety degrees relative to the feed direction on this\ndevice and measured in finSupplyMediaInputDimUnits. If\nthis input device can reliably sense this value, the value\nis sensed and is read-only access. Otherwise the value is\nread-write access and may be written by management or\ncontrol panel applications. The value (-1) means other and\nspecifically indicates that this device places no\n\n\n\nrestrictions on this parameter. The value (-2) indicates\nunknown. ") finSupplyMediaInputStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 8), PrtSubUnitStatusTC().clone('5')).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputStatus.setDescription("This value indicates the current status of this input\ndevice.") finSupplyMediaInputMediaName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaName.setDescription("The name of the current media contained in this input\ndevice. Examples are Engineering Manual Cover, Section A Tab\nDivider or any ISO standard names.") finSupplyMediaInputName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputName.setDescription("The name assigned to this input subunit.") finSupplyMediaInputDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 11), PrtLocalizedDescriptionStringTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputDescription.setDescription("A free form text description of this input subunit in the\nlocalization specified by prtGeneralCurrentLocalization.") finSupplyMediaInputSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 12), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputSecurity.setDescription("Indicates if this subunit has some security associated\nwith it.") finSupplyMediaInputMediaWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 13), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaWeight.setDescription("The weight of the media associated with this Input device\nin grams per meter squared. The value (-1) means other\nand specifically indicates that the device places no\nrestriction on this parameter. The value (-2) means\nunknown. This object can be used to calculate the weight\nof individual pages processed by the document finisher.\nThis value, when multiplied by the number of pages in a\nfinished set, can be used to calculate the weight of a set\nbefore it is inserted into a mailing envelope.") finSupplyMediaInputMediaThickness = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaThickness.setDescription("This object identifies the thickness of the input media\nprocessed by this document input subunit measured in\nmicrometers. This value may be used by devices (or\noperators) to set up proper machine tolerances for the\nfeeder operation. The value (-2) indicates that the media\nthickness is unknown or not used in the setup for this\ninput subunit.") finSupplyMediaInputMediaType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaType.setDescription("The name of the type of medium associated with this input\nsubunit. ") finDeviceAttribute = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 33)) finDeviceAttributeTable = MibTable((1, 3, 6, 1, 2, 1, 43, 33, 1)) if mibBuilder.loadTexts: finDeviceAttributeTable.setDescription("The attribute table defines special parameters that are\napplicable only to a minority of the finisher devices.\nAn attribute table entry is used, rather than unique\nobjects, to minimize the number of MIB objects and to\nallow for expansion without the addition of MIB objects.\nEach finisher device is represented by a separate row\nin the device subunit attribute table.") finDeviceAttributeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 33, 1, 1)).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finDeviceIndex"), (0, "Finisher-MIB", "finDeviceAttributeTypeIndex"), (0, "Finisher-MIB", "finDeviceAttributeInstanceIndex")) if mibBuilder.loadTexts: finDeviceAttributeEntry.setDescription("Each entry defines a finisher function parameter that\ncannot be represented by an object in the finisher\ndevice subunit table.") finDeviceAttributeTypeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 1), FinAttributeTypeTC()).setMaxAccess("noaccess") if mibBuilder.loadTexts: finDeviceAttributeTypeIndex.setDescription("Defines the attribute type represented by this row.") finDeviceAttributeInstanceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: finDeviceAttributeInstanceIndex.setDescription("An index that allows the discrimination of an attribute\ninstance when the same attribute occurs multiple times for\na specific instance of a finisher function. The value of\nthis index shall be 1 if only a single instance of the\nattribute occurs for the specific finisher function.\nAdditional values shall be assigned in a contiguous manner.") finDeviceAttributeValueAsInteger = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceAttributeValueAsInteger.setDescription("Defines the integer value of the attribute. The value of\nthe attribute is represented as an integer if the\nfinAttributeTypeTC description for the attribute has the\ntag 'INTEGER:'.\n\nDepending upon the attribute enum definition, this object\nmay be either an integer, a counter, an index, or an enum.\nAttributes for which the concept of an integer value is\nnot meaningful SHALL return a value of -1 for this\nattribute.") finDeviceAttributeValueAsOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceAttributeValueAsOctets.setDescription("Contains the octet string value of the attribute. The\nvalue of the attribute is represented as a string if the\nfinAttributeTypeTC description for the attribute has the\ntag 'OCTETS:'.\n\n\n\nDepending upon the attribute enum definition, this object\nmay be either a coded character set string (text) or a\nbinary octet string. Attributes for which the concept of\nan octet string value is not meaningful SHALL contain a\nzero length string.") finisherMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 111)).setRevisions(("2004-06-02 00:00",)) if mibBuilder.loadTexts: finisherMIB.setOrganization("PWG IEEE/ISTO Printer Working Group") if mibBuilder.loadTexts: finisherMIB.setContactInfo("Harry Lewis\nIBM\nPhone (303) 924-5337\nEmail: harryl@us.ibm.com\n\nSend comments to the printmib WG using the Finisher MIB\nProject (FIN) Mailing List: fin@pwg.org\n\nFor further information, access the PWG web page under 'Finisher\nMIB': http://www.pwg.org/\n\nImplementers of this specification are encouraged to join the\nfin mailing list in order to participate in discussions on any\nclarifications needed and registration proposals being reviewed\nin order to achieve consensus.") if mibBuilder.loadTexts: finisherMIB.setDescription("The MIB module for management of printers.\nCopyright (C) The Internet Society (2004). This\nversion of this MIB module was published\n\n\n\nin RFC 3806. For full legal notices see the RFC itself.") # Augmentions # Groups finDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 6, 1)).setObjects(*(("Finisher-MIB", "finDeviceStatus"), ("Finisher-MIB", "finDeviceDescription"), ("Finisher-MIB", "finDevicePresentOnOff"), ("Finisher-MIB", "finDeviceAssociatedOutputs"), ("Finisher-MIB", "finDeviceCurrentCapacity"), ("Finisher-MIB", "finDeviceMaxCapacity"), ("Finisher-MIB", "finDeviceCapacityUnit"), ("Finisher-MIB", "finDeviceType"), ("Finisher-MIB", "finDeviceAssociatedMediaPaths"), ) ) if mibBuilder.loadTexts: finDeviceGroup.setDescription("The finisher device group.") finSupplyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 6, 2)).setObjects(*(("Finisher-MIB", "finSupplyMaxCapacity"), ("Finisher-MIB", "finSupplyCurrentLevel"), ("Finisher-MIB", "finSupplyColorName"), ("Finisher-MIB", "finSupplyDeviceIndex"), ("Finisher-MIB", "finSupplyDescription"), ("Finisher-MIB", "finSupplyClass"), ("Finisher-MIB", "finSupplyUnit"), ("Finisher-MIB", "finSupplyType"), ) ) if mibBuilder.loadTexts: finSupplyGroup.setDescription("The finisher supply group.") finSupplyMediaInputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 6, 3)).setObjects(*(("Finisher-MIB", "finSupplyMediaInputDeviceIndex"), ("Finisher-MIB", "finSupplyMediaInputMediaName"), ("Finisher-MIB", "finSupplyMediaInputType"), ("Finisher-MIB", "finSupplyMediaInputMediaDimFeedDir"), ("Finisher-MIB", "finSupplyMediaInputMediaWeight"), ("Finisher-MIB", "finSupplyMediaInputMediaThickness"), ("Finisher-MIB", "finSupplyMediaInputStatus"), ("Finisher-MIB", "finSupplyMediaInputMediaDimXFeedDir"), ("Finisher-MIB", "finSupplyMediaInputDescription"), ("Finisher-MIB", "finSupplyMediaInputDimUnit"), ("Finisher-MIB", "finSupplyMediaInputMediaType"), ("Finisher-MIB", "finSupplyMediaInputSupplyIndex"), ("Finisher-MIB", "finSupplyMediaInputSecurity"), ("Finisher-MIB", "finSupplyMediaInputName"), ) ) if mibBuilder.loadTexts: finSupplyMediaInputGroup.setDescription("The finisher supply, media input group.") finDeviceAttributeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 6, 4)).setObjects(*(("Finisher-MIB", "finDeviceAttributeValueAsInteger"), ("Finisher-MIB", "finDeviceAttributeValueAsOctets"), ) ) if mibBuilder.loadTexts: finDeviceAttributeGroup.setDescription("The finisher device attribute group. This group is mandatory\nfor a finisher device that contains an inserter subunit.") # Compliances finMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 43, 2, 5)).setObjects(*(("Finisher-MIB", "finDeviceGroup"), ("Finisher-MIB", "finSupplyMediaInputGroup"), ("Finisher-MIB", "finSupplyGroup"), ("Finisher-MIB", "finDeviceAttributeGroup"), ) ) if mibBuilder.loadTexts: finMIBCompliance.setDescription("The compliance statement for agents that implement the\nfinisher MIB.") # Exports # Module identity mibBuilder.exportSymbols("Finisher-MIB", PYSNMP_MODULE_ID=finisherMIB) # Objects mibBuilder.exportSymbols("Finisher-MIB", finMIBGroups=finMIBGroups, finDevice=finDevice, finDeviceTable=finDeviceTable, finDeviceEntry=finDeviceEntry, finDeviceIndex=finDeviceIndex, finDeviceType=finDeviceType, finDevicePresentOnOff=finDevicePresentOnOff, finDeviceCapacityUnit=finDeviceCapacityUnit, finDeviceMaxCapacity=finDeviceMaxCapacity, finDeviceCurrentCapacity=finDeviceCurrentCapacity, finDeviceAssociatedMediaPaths=finDeviceAssociatedMediaPaths, finDeviceAssociatedOutputs=finDeviceAssociatedOutputs, finDeviceStatus=finDeviceStatus, finDeviceDescription=finDeviceDescription, finSupply=finSupply, finSupplyTable=finSupplyTable, finSupplyEntry=finSupplyEntry, finSupplyIndex=finSupplyIndex, finSupplyDeviceIndex=finSupplyDeviceIndex, finSupplyClass=finSupplyClass, finSupplyType=finSupplyType, finSupplyDescription=finSupplyDescription, finSupplyUnit=finSupplyUnit, finSupplyMaxCapacity=finSupplyMaxCapacity, finSupplyCurrentLevel=finSupplyCurrentLevel, finSupplyColorName=finSupplyColorName, finSupplyMediaInput=finSupplyMediaInput, finSupplyMediaInputTable=finSupplyMediaInputTable, finSupplyMediaInputEntry=finSupplyMediaInputEntry, finSupplyMediaInputIndex=finSupplyMediaInputIndex, finSupplyMediaInputDeviceIndex=finSupplyMediaInputDeviceIndex, finSupplyMediaInputSupplyIndex=finSupplyMediaInputSupplyIndex, finSupplyMediaInputType=finSupplyMediaInputType, finSupplyMediaInputDimUnit=finSupplyMediaInputDimUnit, finSupplyMediaInputMediaDimFeedDir=finSupplyMediaInputMediaDimFeedDir, finSupplyMediaInputMediaDimXFeedDir=finSupplyMediaInputMediaDimXFeedDir, finSupplyMediaInputStatus=finSupplyMediaInputStatus, finSupplyMediaInputMediaName=finSupplyMediaInputMediaName, finSupplyMediaInputName=finSupplyMediaInputName, finSupplyMediaInputDescription=finSupplyMediaInputDescription, finSupplyMediaInputSecurity=finSupplyMediaInputSecurity, finSupplyMediaInputMediaWeight=finSupplyMediaInputMediaWeight, finSupplyMediaInputMediaThickness=finSupplyMediaInputMediaThickness, finSupplyMediaInputMediaType=finSupplyMediaInputMediaType, finDeviceAttribute=finDeviceAttribute, finDeviceAttributeTable=finDeviceAttributeTable, finDeviceAttributeEntry=finDeviceAttributeEntry, finDeviceAttributeTypeIndex=finDeviceAttributeTypeIndex, finDeviceAttributeInstanceIndex=finDeviceAttributeInstanceIndex, finDeviceAttributeValueAsInteger=finDeviceAttributeValueAsInteger, finDeviceAttributeValueAsOctets=finDeviceAttributeValueAsOctets, finisherMIB=finisherMIB) # Groups mibBuilder.exportSymbols("Finisher-MIB", finDeviceGroup=finDeviceGroup, finSupplyGroup=finSupplyGroup, finSupplyMediaInputGroup=finSupplyMediaInputGroup, finDeviceAttributeGroup=finDeviceAttributeGroup) # Compliances mibBuilder.exportSymbols("Finisher-MIB", finMIBCompliance=finMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/Q-BRIDGE-MIB.py0000644000014400001440000021135111736645137020573 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python Q-BRIDGE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:29 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( dot1dBasePort, dot1dBasePortEntry, dot1dBridge, ) = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePort", "dot1dBasePortEntry", "dot1dBridge") ( EnabledStatus, ) = mibBuilder.importSymbols("P-BRIDGE-MIB", "EnabledStatus") ( TimeFilter, ) = mibBuilder.importSymbols("RMON2-MIB", "TimeFilter") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32") ( MacAddress, RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "RowStatus", "TextualConvention", "TruthValue") # Types class PortList(OctetString): pass class VlanId(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,4094) class VlanIdOrAny(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,4095) class VlanIdOrAnyOrNone(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,4095) class VlanIdOrNone(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,4094) class VlanIndex(TextualConvention, Unsigned32): displayHint = "d" # Objects qBridgeMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 17, 7)).setRevisions(("2006-01-09 00:00","1999-08-25 00:00",)) if mibBuilder.loadTexts: qBridgeMIB.setOrganization("IETF Bridge MIB Working Group") if mibBuilder.loadTexts: qBridgeMIB.setContactInfo("Email: Bridge-mib@ietf.org\nietfmibs@ops.ietf.org\n\nDavid Levi\nPostal: Nortel Networks\n4655 Great America Parkway\nSanta Clara, CA 95054\nUSA\nPhone: +1 865 686 0432\nEmail: dlevi@nortel.com\n\nDavid Harrington\nPostal: Effective Software\n50 Harding Rd.\nPortsmouth, NH 03801\nUSA\nPhone: +1 603 436 8634\nEmail: ietfdbh@comcast.net\n\n\n\nLes Bell\nPostal: Hemel Hempstead, Herts. HP2 7YU\nUK\nEmail: elbell@ntlworld.com\n\nAndrew Smith\nPostal: Beijing Harbour Networks\nJiuling Building\n21 North Xisanhuan Ave.\nBeijing, 100089\nPRC\nFax: +1 415 345 1827\nEmail: ah_smith@acm.org\n\nPaul Langille\nPostal: Newbridge Networks\n5 Corporate Drive\nAndover, MA 01810\nUSA\nPhone: +1 978 691 4665\nEmail: langille@newbridge.com\n\nAnil Rijhsinghani\nPostal: Accton Technology Corporation\n5 Mount Royal Ave\nMarlboro, MA 01752\nUSA\nPhone:\nEmail: anil@accton.com\n\nKeith McCloghrie\nPostal: Cisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134-1706\nUSA\nPhone: +1 408 526 5260\nEmail: kzm@cisco.com") if mibBuilder.loadTexts: qBridgeMIB.setDescription("The VLAN Bridge MIB module for managing Virtual Bridged\nLocal Area Networks, as defined by IEEE 802.1Q-2003,\nincluding Restricted Vlan Registration defined by\nIEEE 802.1u-2001 and Vlan Classification defined by\nIEEE 802.1v-2001.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4363; See the RFC itself for\nfull legal notices.") qBridgeMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 1)) dot1qBase = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 1, 1)) dot1qVlanVersionNumber = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,)).subtype(namedValues=NamedValues(("version1", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qVlanVersionNumber.setDescription("The version number of IEEE 802.1Q that this device\nsupports.") dot1qMaxVlanId = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 1, 2), VlanId()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qMaxVlanId.setDescription("The maximum IEEE 802.1Q VLAN-ID that this device\n\n\n\nsupports.") dot1qMaxSupportedVlans = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qMaxSupportedVlans.setDescription("The maximum number of IEEE 802.1Q VLANs that this\ndevice supports.") dot1qNumVlans = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qNumVlans.setDescription("The current number of IEEE 802.1Q VLANs that are\nconfigured in this device.") dot1qGvrpStatus = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 1, 5), EnabledStatus().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qGvrpStatus.setDescription("The administrative status requested by management for\nGVRP. The value enabled(1) indicates that GVRP should\nbe enabled on this device, on all ports for which it has\nnot been specifically disabled. When disabled(2), GVRP\nis disabled on all ports, and all GVRP packets will be\nforwarded transparently. This object affects all GVRP\nApplicant and Registrar state machines. A transition\nfrom disabled(2) to enabled(1) will cause a reset of all\nGVRP state machines on all ports.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qTp = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 1, 2)) dot1qFdbTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 1)) if mibBuilder.loadTexts: dot1qFdbTable.setDescription("A table that contains configuration and control\ninformation for each Filtering Database currently\noperating on this device. Entries in this table appear\nautomatically when VLANs are assigned FDB IDs in the\ndot1qVlanCurrentTable.") dot1qFdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 1, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qFdbId")) if mibBuilder.loadTexts: dot1qFdbEntry.setDescription("Information about a specific Filtering Database.") dot1qFdbId = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 1, 1, 1), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qFdbId.setDescription("The identity of this Filtering Database.") dot1qFdbDynamicCount = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qFdbDynamicCount.setDescription("The current number of dynamic entries in this\nFiltering Database.") dot1qTpFdbTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 2)) if mibBuilder.loadTexts: dot1qTpFdbTable.setDescription("A table that contains information about unicast entries\nfor which the device has forwarding and/or filtering\ninformation. This information is used by the\ntransparent bridging function in determining how to\npropagate a received frame.") dot1qTpFdbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 2, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qFdbId"), (0, "Q-BRIDGE-MIB", "dot1qTpFdbAddress")) if mibBuilder.loadTexts: dot1qTpFdbEntry.setDescription("Information about a specific unicast MAC address for\nwhich the device has some forwarding and/or filtering\ninformation.") dot1qTpFdbAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 2, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qTpFdbAddress.setDescription("A unicast MAC address for which the device has\nforwarding and/or filtering information.") dot1qTpFdbPort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpFdbPort.setDescription("Either the value '0', or the port number of the port on\nwhich a frame having a source address equal to the value\nof the corresponding instance of dot1qTpFdbAddress has\nbeen seen. A value of '0' indicates that the port\nnumber has not been learned but that the device does\nhave some forwarding/filtering information about this\naddress (e.g., in the dot1qStaticUnicastTable).\nImplementors are encouraged to assign the port value to\nthis object whenever it is learned, even for addresses\nfor which the corresponding value of dot1qTpFdbStatus is\nnot learned(3).") dot1qTpFdbStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,5,3,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("learned", 3), ("self", 4), ("mgmt", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpFdbStatus.setDescription("The status of this entry. The meanings of the values\nare:\n other(1) - none of the following. This may include\n the case where some other MIB object (not the\n corresponding instance of dot1qTpFdbPort, nor an\n entry in the dot1qStaticUnicastTable) is being\n used to determine if and how frames addressed to\n the value of the corresponding instance of\n dot1qTpFdbAddress are being forwarded.\n invalid(2) - this entry is no longer valid (e.g., it\n\n\n\n was learned but has since aged out), but has not\n yet been flushed from the table.\n learned(3) - the value of the corresponding instance\n of dot1qTpFdbPort was learned and is being used.\n self(4) - the value of the corresponding instance of\n dot1qTpFdbAddress represents one of the device's\n addresses. The corresponding instance of\n dot1qTpFdbPort indicates which of the device's\n ports has this address.\n mgmt(5) - the value of the corresponding instance of\n dot1qTpFdbAddress is also the value of an\n existing instance of dot1qStaticAddress.") dot1qTpGroupTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 3)) if mibBuilder.loadTexts: dot1qTpGroupTable.setDescription("A table containing filtering information for VLANs\nconfigured into the bridge by (local or network)\nmanagement, or learned dynamically, specifying the set of\nports to which frames received on a VLAN for this FDB\nand containing a specific Group destination address are\nallowed to be forwarded.") dot1qTpGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 3, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "Q-BRIDGE-MIB", "dot1qTpGroupAddress")) if mibBuilder.loadTexts: dot1qTpGroupEntry.setDescription("Filtering information configured into the bridge by\nmanagement, or learned dynamically, specifying the set of\nports to which frames received on a VLAN and containing\na specific Group destination address are allowed to be\nforwarded. The subset of these ports learned dynamically\nis also provided.") dot1qTpGroupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 3, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qTpGroupAddress.setDescription("The destination Group MAC address in a frame to which\nthis entry's filtering information applies.") dot1qTpGroupEgressPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 3, 1, 2), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpGroupEgressPorts.setDescription("The complete set of ports, in this VLAN, to which\nframes destined for this Group MAC address are currently\nbeing explicitly forwarded. This does not include ports\nfor which this address is only implicitly forwarded, in\nthe dot1qForwardAllPorts list.") dot1qTpGroupLearnt = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 3, 1, 3), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpGroupLearnt.setDescription("The subset of ports in dot1qTpGroupEgressPorts that\nwere learned by GMRP or some other dynamic mechanism, in\nthis Filtering database.") dot1qForwardAllTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 4)) if mibBuilder.loadTexts: dot1qForwardAllTable.setDescription("A table containing forwarding information for each\n\n\n\nVLAN, specifying the set of ports to which forwarding of\nall multicasts applies, configured statically by\nmanagement or dynamically by GMRP. An entry appears in\nthis table for all VLANs that are currently\ninstantiated.") dot1qForwardAllEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 4, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: dot1qForwardAllEntry.setDescription("Forwarding information for a VLAN, specifying the set\nof ports to which all multicasts should be forwarded,\nconfigured statically by management or dynamically by\nGMRP.") dot1qForwardAllPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 4, 1, 1), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qForwardAllPorts.setDescription("The complete set of ports in this VLAN to which all\nmulticast group-addressed frames are to be forwarded.\nThis includes ports for which this need has been\ndetermined dynamically by GMRP, or configured statically\nby management.") dot1qForwardAllStaticPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 4, 1, 2), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qForwardAllStaticPorts.setDescription("The set of ports configured by management in this VLAN\nto which all multicast group-addressed frames are to be\nforwarded. Ports entered in this list will also appear\nin the complete set shown by dot1qForwardAllPorts. This\nvalue will be restored after the device is reset. This\nonly applies to ports that are members of the VLAN,\ndefined by dot1qVlanCurrentEgressPorts. A port may not\nbe added in this set if it is already a member of the\nset of ports in dot1qForwardAllForbiddenPorts. The\ndefault value is a string of ones of appropriate length,\nto indicate the standard behaviour of using basic\nfiltering services, i.e., forward all multicasts to all\nports.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qForwardAllForbiddenPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 4, 1, 3), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qForwardAllForbiddenPorts.setDescription("The set of ports configured by management in this VLAN\nfor which the Service Requirement attribute Forward All\nMulticast Groups may not be dynamically registered by\nGMRP. This value will be restored after the device is\nreset. A port may not be added in this set if it is\nalready a member of the set of ports in\ndot1qForwardAllStaticPorts. The default value is a\nstring of zeros of appropriate length.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qForwardUnregisteredTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 5)) if mibBuilder.loadTexts: dot1qForwardUnregisteredTable.setDescription("A table containing forwarding information for each\nVLAN, specifying the set of ports to which forwarding of\nmulticast group-addressed frames for which no\nmore specific forwarding information applies. This is\nconfigured statically by management and determined\ndynamically by GMRP. An entry appears in this table for\nall VLANs that are currently instantiated.") dot1qForwardUnregisteredEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 5, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: dot1qForwardUnregisteredEntry.setDescription("Forwarding information for a VLAN, specifying the set\nof ports to which all multicasts for which there is no\nmore specific forwarding information shall be forwarded.\nThis is configured statically by management or\ndynamically by GMRP.") dot1qForwardUnregisteredPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 5, 1, 1), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qForwardUnregisteredPorts.setDescription("The complete set of ports in this VLAN to which\nmulticast group-addressed frames for which there is no\nmore specific forwarding information will be forwarded.\nThis includes ports for which this need has been\ndetermined dynamically by GMRP, or configured statically\nby management.") dot1qForwardUnregisteredStaticPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 5, 1, 2), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qForwardUnregisteredStaticPorts.setDescription("The set of ports configured by management, in this\nVLAN, to which multicast group-addressed frames for\nwhich there is no more specific forwarding information\n\n\n\nare to be forwarded. Ports entered in this list will\nalso appear in the complete set shown by\ndot1qForwardUnregisteredPorts. This value will be\nrestored after the device is reset. A port may not be\nadded in this set if it is already a member of the set\nof ports in dot1qForwardUnregisteredForbiddenPorts. The\ndefault value is a string of zeros of appropriate\nlength, although this has no effect with the default\nvalue of dot1qForwardAllStaticPorts.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qForwardUnregisteredForbiddenPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 2, 5, 1, 3), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qForwardUnregisteredForbiddenPorts.setDescription("The set of ports configured by management in this VLAN\nfor which the Service Requirement attribute Forward\nUnregistered Multicast Groups may not be dynamically\nregistered by GMRP. This value will be restored after\nthe device is reset. A port may not be added in this\nset if it is already a member of the set of ports in\ndot1qForwardUnregisteredStaticPorts. The default value\nis a string of zeros of appropriate length.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qStatic = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 1, 3)) dot1qStaticUnicastTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 1)) if mibBuilder.loadTexts: dot1qStaticUnicastTable.setDescription("A table containing filtering information for Unicast\nMAC addresses for each Filtering Database, configured\ninto the device by (local or network) management\nspecifying the set of ports to which frames received\nfrom specific ports and containing specific unicast\ndestination addresses are allowed to be forwarded. A\nvalue of zero in this table (as the port number from\n\n\n\nwhich frames with a specific destination address are\nreceived) is used to specify all ports for which there\nis no specific entry in this table for that particular\ndestination address. Entries are valid for unicast\naddresses only.") dot1qStaticUnicastEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 1, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qFdbId"), (0, "Q-BRIDGE-MIB", "dot1qStaticUnicastAddress"), (0, "Q-BRIDGE-MIB", "dot1qStaticUnicastReceivePort")) if mibBuilder.loadTexts: dot1qStaticUnicastEntry.setDescription("Filtering information configured into the device by\n(local or network) management specifying the set of\nports to which frames received from a specific port and\ncontaining a specific unicast destination address are\nallowed to be forwarded.") dot1qStaticUnicastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 1, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qStaticUnicastAddress.setDescription("The destination MAC address in a frame to which this\nentry's filtering information applies. This object must\ntake the value of a unicast address.") dot1qStaticUnicastReceivePort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qStaticUnicastReceivePort.setDescription("Either the value '0' or the port number of the port\nfrom which a frame must be received in order for this\nentry's filtering information to apply. A value of zero\nindicates that this entry applies on all ports of the\ndevice for which there is no other applicable entry.") dot1qStaticUnicastAllowedToGoTo = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 1, 1, 3), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qStaticUnicastAllowedToGoTo.setDescription("The set of ports for which a frame with a specific\nunicast address will be flooded in the event that it\nhas not been learned. It also specifies the set of\nports on which a specific unicast address may be dynamically\nlearned. The dot1qTpFdbTable will have an equivalent\nentry with a dot1qTpFdbPort value of '0' until this\naddress has been learned, at which point it will be updated\nwith the port the address has been seen on. This only\napplies to ports that are members of the VLAN, defined\nby dot1qVlanCurrentEgressPorts. The default value of\nthis object is a string of ones of appropriate length.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qStaticUnicastStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,5,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("permanent", 3), ("deleteOnReset", 4), ("deleteOnTimeout", 5), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qStaticUnicastStatus.setDescription("This object indicates the status of this entry.\nother(1) - this entry is currently in use, but\n\n\n\n the conditions under which it will remain\n so differ from the following values.\ninvalid(2) - writing this value to the object\n removes the corresponding entry.\npermanent(3) - this entry is currently in use\n and will remain so after the next reset of\n the bridge.\ndeleteOnReset(4) - this entry is currently in\n use and will remain so until the next\n reset of the bridge.\ndeleteOnTimeout(5) - this entry is currently in\n use and will remain so until it is aged out.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qStaticMulticastTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 2)) if mibBuilder.loadTexts: dot1qStaticMulticastTable.setDescription("A table containing filtering information for Multicast\nand Broadcast MAC addresses for each VLAN, configured\ninto the device by (local or network) management\nspecifying the set of ports to which frames received\nfrom specific ports and containing specific Multicast\nand Broadcast destination addresses are allowed to be\nforwarded. A value of zero in this table (as the port\nnumber from which frames with a specific destination\naddress are received) is used to specify all ports for\nwhich there is no specific entry in this table for that\nparticular destination address. Entries are valid for\nMulticast and Broadcast addresses only.") dot1qStaticMulticastEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 2, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "Q-BRIDGE-MIB", "dot1qStaticMulticastAddress"), (0, "Q-BRIDGE-MIB", "dot1qStaticMulticastReceivePort")) if mibBuilder.loadTexts: dot1qStaticMulticastEntry.setDescription("Filtering information configured into the device by\n(local or network) management specifying the set of\nports to which frames received from this specific port\n\n\n\nfor this VLAN and containing this Multicast or Broadcast\ndestination address are allowed to be forwarded.") dot1qStaticMulticastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 2, 1, 1), MacAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qStaticMulticastAddress.setDescription("The destination MAC address in a frame to which this\nentry's filtering information applies. This object must\ntake the value of a Multicast or Broadcast address.") dot1qStaticMulticastReceivePort = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qStaticMulticastReceivePort.setDescription("Either the value '0' or the port number of the port\nfrom which a frame must be received in order for this\nentry's filtering information to apply. A value of zero\nindicates that this entry applies on all ports of the\ndevice for which there is no other applicable entry.") dot1qStaticMulticastStaticEgressPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 2, 1, 3), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qStaticMulticastStaticEgressPorts.setDescription("The set of ports to which frames received from a\nspecific port and destined for a specific Multicast or\nBroadcast MAC address must be forwarded, regardless of\nany dynamic information, e.g., from GMRP. A port may not\nbe added in this set if it is already a member of the\nset of ports in dot1qStaticMulticastForbiddenEgressPorts.\nThe default value of this object is a string of ones of\nappropriate length.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qStaticMulticastForbiddenEgressPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 2, 1, 4), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qStaticMulticastForbiddenEgressPorts.setDescription("The set of ports to which frames received from a\nspecific port and destined for a specific Multicast or\nBroadcast MAC address must not be forwarded, regardless\nof any dynamic information, e.g., from GMRP. A port may\nnot be added in this set if it is already a member of the\nset of ports in dot1qStaticMulticastStaticEgressPorts.\nThe default value of this object is a string of zeros of\nappropriate length.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qStaticMulticastStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 3, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,5,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("permanent", 3), ("deleteOnReset", 4), ("deleteOnTimeout", 5), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qStaticMulticastStatus.setDescription("This object indicates the status of this entry.\nother(1) - this entry is currently in use, but\n the conditions under which it will remain\n so differ from the following values.\n\n\n\ninvalid(2) - writing this value to the object\n removes the corresponding entry.\npermanent(3) - this entry is currently in use\n and will remain so after the next reset of\n the bridge.\ndeleteOnReset(4) - this entry is currently in\n use and will remain so until the next\n reset of the bridge.\ndeleteOnTimeout(5) - this entry is currently in\n use and will remain so until it is aged out.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qVlan = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 1, 4)) dot1qVlanNumDeletes = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qVlanNumDeletes.setDescription("The number of times a VLAN entry has been deleted from\nthe dot1qVlanCurrentTable (for any reason). If an entry\nis deleted, then inserted, and then deleted, this\ncounter will be incremented by 2.") dot1qVlanCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2)) if mibBuilder.loadTexts: dot1qVlanCurrentTable.setDescription("A table containing current configuration information\nfor each VLAN currently configured into the device by\n(local or network) management, or dynamically created\nas a result of GVRP requests received.") dot1qVlanCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanTimeMark"), (0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: dot1qVlanCurrentEntry.setDescription("Information for a VLAN configured into the device by\n\n\n\n(local or network) management, or dynamically created\nas a result of GVRP requests received.") dot1qVlanTimeMark = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1, 1), TimeFilter()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qVlanTimeMark.setDescription("A TimeFilter for this entry. See the TimeFilter\ntextual convention to see how this works.") dot1qVlanIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1, 2), VlanIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qVlanIndex.setDescription("The VLAN-ID or other identifier referring to this VLAN.") dot1qVlanFdbId = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qVlanFdbId.setDescription("The Filtering Database used by this VLAN. This is one\nof the dot1qFdbId values in the dot1qFdbTable. This\nvalue is allocated automatically by the device whenever\n\n\n\nthe VLAN is created: either dynamically by GVRP, or by\nmanagement, in dot1qVlanStaticTable. Allocation of this\nvalue follows the learning constraints defined for this\nVLAN in dot1qLearningConstraintsTable.") dot1qVlanCurrentEgressPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qVlanCurrentEgressPorts.setDescription("The set of ports that are transmitting traffic for\nthis VLAN as either tagged or untagged frames.") dot1qVlanCurrentUntaggedPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1, 5), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qVlanCurrentUntaggedPorts.setDescription("The set of ports that are transmitting traffic for\nthis VLAN as untagged frames.") dot1qVlanStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("other", 1), ("permanent", 2), ("dynamicGvrp", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qVlanStatus.setDescription("This object indicates the status of this entry.\nother(1) - this entry is currently in use, but the\n conditions under which it will remain so differ\n from the following values.\npermanent(2) - this entry, corresponding to an entry\n in dot1qVlanStaticTable, is currently in use and\n will remain so after the next reset of the\n device. The port lists for this entry include\n ports from the equivalent dot1qVlanStaticTable\n entry and ports learned dynamically.\ndynamicGvrp(3) - this entry is currently in use\n\n\n\n and will remain so until removed by GVRP. There\n is no static entry for this VLAN, and it will be\n removed when the last port leaves the VLAN.") dot1qVlanCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 2, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qVlanCreationTime.setDescription("The value of sysUpTime when this VLAN was created.") dot1qVlanStaticTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 3)) if mibBuilder.loadTexts: dot1qVlanStaticTable.setDescription("A table containing static configuration information for\neach VLAN configured into the device by (local or\nnetwork) management. All entries are permanent and will\nbe restored after the device is reset.") dot1qVlanStaticEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 3, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: dot1qVlanStaticEntry.setDescription("Static information for a VLAN configured into the\ndevice by (local or network) management.") dot1qVlanStaticName = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1qVlanStaticName.setDescription("An administratively assigned string, which may be used\nto identify the VLAN.") dot1qVlanStaticEgressPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 3, 1, 2), PortList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1qVlanStaticEgressPorts.setDescription("The set of ports that are permanently assigned to the\negress list for this VLAN by management. Changes to a\nbit in this object affect the per-port, per-VLAN\nRegistrar control for Registration Fixed for the\nrelevant GVRP state machine on each port. A port may\nnot be added in this set if it is already a member of\nthe set of ports in dot1qVlanForbiddenEgressPorts. The\ndefault value of this object is a string of zeros of\nappropriate length, indicating not fixed.") dot1qVlanForbiddenEgressPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 3, 1, 3), PortList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1qVlanForbiddenEgressPorts.setDescription("The set of ports that are prohibited by management\nfrom being included in the egress list for this VLAN.\nChanges to this object that cause a port to be included\nor excluded affect the per-port, per-VLAN Registrar\ncontrol for Registration Forbidden for the relevant GVRP\nstate machine on each port. A port may not be added in\nthis set if it is already a member of the set of ports\nin dot1qVlanStaticEgressPorts. The default value of\nthis object is a string of zeros of appropriate length,\nexcluding all ports from the forbidden set.") dot1qVlanStaticUntaggedPorts = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 3, 1, 4), PortList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1qVlanStaticUntaggedPorts.setDescription("The set of ports that should transmit egress packets\nfor this VLAN as untagged. The default value of this\nobject for the default VLAN (dot1qVlanIndex = 1) is a string\nof appropriate length including all ports. There is no\nspecified default for other VLANs. If a device agent cannot\nsupport the set of ports being set, then it will reject the\nset operation with an error. For example, a\nmanager might attempt to set more than one VLAN to be untagged\non egress where the device does not support this IEEE 802.1Q\noption.") dot1qVlanStaticRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 3, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1qVlanStaticRowStatus.setDescription("This object indicates the status of this entry.") dot1qNextFreeLocalVlanIndex = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(4096,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qNextFreeLocalVlanIndex.setDescription("The next available value for dot1qVlanIndex of a local\nVLAN entry in dot1qVlanStaticTable. This will report\nvalues >=4096 if a new Local VLAN may be created or else\nthe value 0 if this is not possible.\n\nA row creation operation in this table for an entry with a local\nVlanIndex value may fail if the current value of this object\nis not used as the index. Even if the value read is used,\nthere is no guarantee that it will still be the valid index\nwhen the create operation is attempted; another manager may\nhave already got in during the intervening time interval.\nIn this case, dot1qNextFreeLocalVlanIndex should be re-read\n\n\n\nand the creation re-tried with the new value.\n\nThis value will automatically change when the current value is\nused to create a new row.") dot1qPortVlanTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5)) if mibBuilder.loadTexts: dot1qPortVlanTable.setDescription("A table containing per-port control and status\ninformation for VLAN configuration in the device.") dot1qPortVlanEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1)) if mibBuilder.loadTexts: dot1qPortVlanEntry.setDescription("Information controlling VLAN configuration for a port\non the device. This is indexed by dot1dBasePort.") dot1qPvid = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1, 1), VlanIndex().clone('1')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qPvid.setDescription("The PVID, the VLAN-ID assigned to untagged frames or\nPriority-Tagged frames received on this port.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qPortAcceptableFrameTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("admitAll", 1), ("admitOnlyVlanTagged", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qPortAcceptableFrameTypes.setDescription("When this is admitOnlyVlanTagged(2), the device will\ndiscard untagged frames or Priority-Tagged frames\nreceived on this port. When admitAll(1), untagged\nframes or Priority-Tagged frames received on this port\nwill be accepted and assigned to a VID based on the\nPVID and VID Set for this port.\n\nThis control does not affect VLAN-independent Bridge\nProtocol Data Unit (BPDU) frames, such as GVRP and\nSpanning Tree Protocol (STP). It does affect VLAN-\ndependent BPDU frames, such as GMRP.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qPortIngressFiltering = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qPortIngressFiltering.setDescription("When this is true(1), the device will discard incoming\nframes for VLANs that do not include this Port in its\n\n\n\nMember set. When false(2), the port will accept all\nincoming frames.\n\nThis control does not affect VLAN-independent BPDU\nframes, such as GVRP and STP. It does affect VLAN-\ndependent BPDU frames, such as GMRP.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qPortGvrpStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1, 4), EnabledStatus().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qPortGvrpStatus.setDescription("The state of GVRP operation on this port. The value\nenabled(1) indicates that GVRP is enabled on this port,\nas long as dot1qGvrpStatus is also enabled for this\ndevice. When disabled(2) but dot1qGvrpStatus is still\nenabled for the device, GVRP is disabled on this port:\nany GVRP packets received will be silently discarded, and\nno GVRP registrations will be propagated from other\nports. This object affects all GVRP Applicant and\nRegistrar state machines on this port. A transition\nfrom disabled(2) to enabled(1) will cause a reset of all\nGVRP state machines on this port.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qPortGvrpFailedRegistrations = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qPortGvrpFailedRegistrations.setDescription("The total number of failed GVRP registrations, for any\nreason, on this port.") dot1qPortGvrpLastPduOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1, 6), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qPortGvrpLastPduOrigin.setDescription("The Source MAC Address of the last GVRP message\nreceived on this port.") dot1qPortRestrictedVlanRegistration = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 5, 1, 7), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qPortRestrictedVlanRegistration.setDescription("The state of Restricted VLAN Registration on this port.\nIf the value of this control is true(1), then creation\nof a new dynamic VLAN entry is permitted only if there\nis a Static VLAN Registration Entry for the VLAN concerned,\nin which the Registrar Administrative Control value for\nthis port is Normal Registration.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qPortVlanStatisticsTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6)) if mibBuilder.loadTexts: dot1qPortVlanStatisticsTable.setDescription("A table containing per-port, per-VLAN statistics for\ntraffic received. Separate objects are provided for both the\nmost-significant and least-significant bits of statistics\ncounters for ports that are associated with this transparent\nbridge. The most-significant bit objects are only required on\nhigh-capacity interfaces, as defined in the conformance clauses\nfor these objects. This mechanism is provided as a way to read\n64-bit counters for agents that support only SNMPv1.\n\nNote that the reporting of most-significant and least-\nsignificant counter bits separately runs the risk of missing\nan overflow of the lower bits in the interval between sampling.\nThe manager must be aware of this possibility, even within the\nsame varbindlist, when interpreting the results of a request or\n\n\n\nasynchronous notification.") dot1qPortVlanStatisticsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: dot1qPortVlanStatisticsEntry.setDescription("Traffic statistics for a VLAN on an interface.") dot1qTpVlanPortInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortInFrames.setDescription("The number of valid frames received by this port from\nits segment that were classified as belonging to this\nVLAN. Note that a frame received on this port is\ncounted by this object if and only if it is for a\nprotocol being processed by the local forwarding process\nfor this VLAN. This object includes received bridge\nmanagement frames classified as belonging to this VLAN\n(e.g., GMRP, but not GVRP or STP.") dot1qTpVlanPortOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortOutFrames.setDescription("The number of valid frames transmitted by this port to\nits segment from the local forwarding process for this\nVLAN. This includes bridge management frames originated\nby this device that are classified as belonging to this\nVLAN (e.g., GMRP, but not GVRP or STP).") dot1qTpVlanPortInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortInDiscards.setDescription("The number of valid frames received by this port from\nits segment that were classified as belonging to this\nVLAN and that were discarded due to VLAN-related reasons.\nSpecifically, the IEEE 802.1Q counters for Discard\nInbound and Discard on Ingress Filtering.") dot1qTpVlanPortInOverflowFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortInOverflowFrames.setDescription("The number of times the associated\ndot1qTpVlanPortInFrames counter has overflowed.") dot1qTpVlanPortOutOverflowFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortOutOverflowFrames.setDescription("The number of times the associated\ndot1qTpVlanPortOutFrames counter has overflowed.") dot1qTpVlanPortInOverflowDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortInOverflowDiscards.setDescription("The number of times the associated\ndot1qTpVlanPortInDiscards counter has overflowed.") dot1qPortVlanHCStatisticsTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 7)) if mibBuilder.loadTexts: dot1qPortVlanHCStatisticsTable.setDescription("A table containing per-port, per-VLAN statistics for\ntraffic on high-capacity interfaces.") dot1qPortVlanHCStatisticsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 7, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: dot1qPortVlanHCStatisticsEntry.setDescription("Traffic statistics for a VLAN on a high-capacity\ninterface.") dot1qTpVlanPortHCInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 7, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortHCInFrames.setDescription("The number of valid frames received by this port from\nits segment that were classified as belonging to this\nVLAN. Note that a frame received on this port is\ncounted by this object if and only if it is for a\n\n\n\nprotocol being processed by the local forwarding process\nfor this VLAN. This object includes received bridge\nmanagement frames classified as belonging to this VLAN\n(e.g., GMRP, but not GVRP or STP).") dot1qTpVlanPortHCOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 7, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortHCOutFrames.setDescription("The number of valid frames transmitted by this port to\nits segment from the local forwarding process for this\nVLAN. This includes bridge management frames originated\nby this device that are classified as belonging to this\nVLAN (e.g., GMRP, but not GVRP or STP).") dot1qTpVlanPortHCInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 7, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1qTpVlanPortHCInDiscards.setDescription("The number of valid frames received by this port from\nits segment that were classified as belonging to this\nVLAN and that were discarded due to VLAN-related reasons.\nSpecifically, the IEEE 802.1Q counters for Discard\nInbound and Discard on Ingress Filtering.") dot1qLearningConstraintsTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 8)) if mibBuilder.loadTexts: dot1qLearningConstraintsTable.setDescription("A table containing learning constraints for sets of\nShared and Independent VLANs.") dot1qLearningConstraintsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 8, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qConstraintVlan"), (0, "Q-BRIDGE-MIB", "dot1qConstraintSet")) if mibBuilder.loadTexts: dot1qLearningConstraintsEntry.setDescription("A learning constraint defined for a VLAN.") dot1qConstraintVlan = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 8, 1, 1), VlanIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qConstraintVlan.setDescription("The index of the row in dot1qVlanCurrentTable for the\nVLAN constrained by this entry.") dot1qConstraintSet = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1qConstraintSet.setDescription("The identity of the constraint set to which\ndot1qConstraintVlan belongs. These values may be chosen\nby the management station.") dot1qConstraintType = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 8, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("independent", 1), ("shared", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1qConstraintType.setDescription("The type of constraint this entry defines.\nindependent(1) - the VLAN, dot1qConstraintVlan,\n uses a filtering database independent from all\n other VLANs in the same set, defined by\n dot1qConstraintSet.\nshared(2) - the VLAN, dot1qConstraintVlan, shares\n the same filtering database as all other VLANs\n in the same set, defined by dot1qConstraintSet.") dot1qConstraintStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 8, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1qConstraintStatus.setDescription("The status of this entry.") dot1qConstraintSetDefault = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qConstraintSetDefault.setDescription("The identity of the constraint set to which a VLAN\nbelongs, if there is not an explicit entry for that VLAN\nin dot1qLearningConstraintsTable.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1qConstraintTypeDefault = MibScalar((1, 3, 6, 1, 2, 1, 17, 7, 1, 4, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("independent", 1), ("shared", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1qConstraintTypeDefault.setDescription("The type of constraint set to which a VLAN belongs, if\nthere is not an explicit entry for that VLAN in\ndot1qLearningConstraintsTable. The types are as defined\nfor dot1qConstraintType.\n\nThe value of this object MUST be retained across\n\n\n\nreinitializations of the management system.") dot1vProtocol = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 1, 5)) dot1vProtocolGroupTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 1)) if mibBuilder.loadTexts: dot1vProtocolGroupTable.setDescription("A table that contains mappings from Protocol\nTemplates to Protocol Group Identifiers used for\nPort-and-Protocol-based VLAN Classification.") dot1vProtocolGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 1, 1)).setIndexNames((0, "Q-BRIDGE-MIB", "dot1vProtocolTemplateFrameType"), (0, "Q-BRIDGE-MIB", "dot1vProtocolTemplateProtocolValue")) if mibBuilder.loadTexts: dot1vProtocolGroupEntry.setDescription("A mapping from a Protocol Template to a Protocol\nGroup Identifier.") dot1vProtocolTemplateFrameType = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,2,5,1,)).subtype(namedValues=NamedValues(("ethernet", 1), ("rfc1042", 2), ("snap8021H", 3), ("snapOther", 4), ("llcOther", 5), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1vProtocolTemplateFrameType.setDescription("The data-link encapsulation format or the\n'detagged_frame_type' in a Protocol Template.") dot1vProtocolTemplateProtocolValue = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 1, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(2,2),ValueSizeConstraint(5,5),))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1vProtocolTemplateProtocolValue.setDescription("The identification of the protocol above the data-link\nlayer in a Protocol Template. Depending on the\nframe type, the octet string will have one of the\nfollowing values:\n\nFor 'ethernet', 'rfc1042' and 'snap8021H',\n this is the 16-bit (2-octet) IEEE 802.3 Type Field.\nFor 'snapOther',\n this is the 40-bit (5-octet) PID.\nFor 'llcOther',\n this is the 2-octet IEEE 802.2 Link Service Access\n Point (LSAP) pair: first octet for Destination Service\n Access Point (DSAP) and second octet for Source Service\n Access Point (SSAP).") dot1vProtocolGroupId = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1vProtocolGroupId.setDescription("Represents a group of protocols that are associated\ntogether when assigning a VID to a frame.") dot1vProtocolGroupRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1vProtocolGroupRowStatus.setDescription("This object indicates the status of this entry.") dot1vProtocolPortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 2)) if mibBuilder.loadTexts: dot1vProtocolPortTable.setDescription("A table that contains VID sets used for\nPort-and-Protocol-based VLAN Classification.") dot1vProtocolPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 2, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "Q-BRIDGE-MIB", "dot1vProtocolPortGroupId")) if mibBuilder.loadTexts: dot1vProtocolPortEntry.setDescription("A VID set for a port.") dot1vProtocolPortGroupId = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1vProtocolPortGroupId.setDescription("Designates a group of protocols in the Protocol\nGroup Database.") dot1vProtocolPortGroupVid = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1vProtocolPortGroupVid.setDescription("The VID associated with a group of protocols for\neach port.") dot1vProtocolPortRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 7, 1, 5, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dot1vProtocolPortRowStatus.setDescription("This object indicates the status of this entry.") qBridgeConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 2)) qBridgeGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 2, 1)) qBridgeCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 7, 2, 2)) # Augmentions dot1dBasePortEntry, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePortEntry") dot1dBasePortEntry.registerAugmentions(("Q-BRIDGE-MIB", "dot1qPortVlanEntry")) dot1qPortVlanEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) # Groups qBridgeBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 1)).setObjects(*(("Q-BRIDGE-MIB", "dot1qNumVlans"), ("Q-BRIDGE-MIB", "dot1qVlanVersionNumber"), ("Q-BRIDGE-MIB", "dot1qGvrpStatus"), ("Q-BRIDGE-MIB", "dot1qMaxVlanId"), ("Q-BRIDGE-MIB", "dot1qMaxSupportedVlans"), ) ) if mibBuilder.loadTexts: qBridgeBaseGroup.setDescription("A collection of objects providing device-level control\nand status information for the Virtual LAN bridge\nservices.") qBridgeFdbUnicastGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 2)).setObjects(*(("Q-BRIDGE-MIB", "dot1qFdbDynamicCount"), ("Q-BRIDGE-MIB", "dot1qTpFdbStatus"), ("Q-BRIDGE-MIB", "dot1qTpFdbPort"), ) ) if mibBuilder.loadTexts: qBridgeFdbUnicastGroup.setDescription("A collection of objects providing information about all\nunicast addresses, learned dynamically or statically\nconfigured by management, in each Filtering Database.") qBridgeFdbMulticastGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 3)).setObjects(*(("Q-BRIDGE-MIB", "dot1qTpGroupEgressPorts"), ("Q-BRIDGE-MIB", "dot1qTpGroupLearnt"), ) ) if mibBuilder.loadTexts: qBridgeFdbMulticastGroup.setDescription("A collection of objects providing information about all\nmulticast addresses, learned dynamically or statically\nconfigured by management, in each Filtering Database.") qBridgeServiceRequirementsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 4)).setObjects(*(("Q-BRIDGE-MIB", "dot1qForwardUnregisteredStaticPorts"), ("Q-BRIDGE-MIB", "dot1qForwardAllForbiddenPorts"), ("Q-BRIDGE-MIB", "dot1qForwardUnregisteredForbiddenPorts"), ("Q-BRIDGE-MIB", "dot1qForwardUnregisteredPorts"), ("Q-BRIDGE-MIB", "dot1qForwardAllStaticPorts"), ("Q-BRIDGE-MIB", "dot1qForwardAllPorts"), ) ) if mibBuilder.loadTexts: qBridgeServiceRequirementsGroup.setDescription("A collection of objects providing information about\nservice requirements, learned dynamically or statically\nconfigured by management, in each Filtering Database.") qBridgeFdbStaticGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 5)).setObjects(*(("Q-BRIDGE-MIB", "dot1qStaticMulticastStatus"), ("Q-BRIDGE-MIB", "dot1qStaticUnicastStatus"), ("Q-BRIDGE-MIB", "dot1qStaticMulticastForbiddenEgressPorts"), ("Q-BRIDGE-MIB", "dot1qStaticUnicastAllowedToGoTo"), ("Q-BRIDGE-MIB", "dot1qStaticMulticastStaticEgressPorts"), ) ) if mibBuilder.loadTexts: qBridgeFdbStaticGroup.setDescription("A collection of objects providing information about\nunicast and multicast addresses statically configured by\nmanagement, in each Filtering Database or VLAN.") qBridgeVlanGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 6)).setObjects(*(("Q-BRIDGE-MIB", "dot1qVlanNumDeletes"), ("Q-BRIDGE-MIB", "dot1qVlanStatus"), ("Q-BRIDGE-MIB", "dot1qVlanCurrentEgressPorts"), ("Q-BRIDGE-MIB", "dot1qVlanFdbId"), ("Q-BRIDGE-MIB", "dot1qVlanCreationTime"), ("Q-BRIDGE-MIB", "dot1qVlanCurrentUntaggedPorts"), ) ) if mibBuilder.loadTexts: qBridgeVlanGroup.setDescription("A collection of objects providing information about\nall VLANs currently configured on this device.") qBridgeVlanStaticGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 7)).setObjects(*(("Q-BRIDGE-MIB", "dot1qVlanStaticName"), ("Q-BRIDGE-MIB", "dot1qNextFreeLocalVlanIndex"), ("Q-BRIDGE-MIB", "dot1qVlanForbiddenEgressPorts"), ("Q-BRIDGE-MIB", "dot1qVlanStaticUntaggedPorts"), ("Q-BRIDGE-MIB", "dot1qVlanStaticEgressPorts"), ("Q-BRIDGE-MIB", "dot1qVlanStaticRowStatus"), ) ) if mibBuilder.loadTexts: qBridgeVlanStaticGroup.setDescription("A collection of objects providing information about\nVLANs statically configured by management.") qBridgePortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 8)).setObjects(*(("Q-BRIDGE-MIB", "dot1qPortAcceptableFrameTypes"), ("Q-BRIDGE-MIB", "dot1qPortGvrpStatus"), ("Q-BRIDGE-MIB", "dot1qPortIngressFiltering"), ("Q-BRIDGE-MIB", "dot1qPortGvrpLastPduOrigin"), ("Q-BRIDGE-MIB", "dot1qPvid"), ("Q-BRIDGE-MIB", "dot1qPortGvrpFailedRegistrations"), ) ) if mibBuilder.loadTexts: qBridgePortGroup.setDescription("A collection of objects providing port-level VLAN\ncontrol and status information for all ports.") qBridgeVlanStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 9)).setObjects(*(("Q-BRIDGE-MIB", "dot1qTpVlanPortOutFrames"), ("Q-BRIDGE-MIB", "dot1qTpVlanPortInDiscards"), ("Q-BRIDGE-MIB", "dot1qTpVlanPortInFrames"), ) ) if mibBuilder.loadTexts: qBridgeVlanStatisticsGroup.setDescription("A collection of objects providing per-port packet\nstatistics for all VLANs currently configured on this\ndevice.") qBridgeVlanStatisticsOverflowGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 10)).setObjects(*(("Q-BRIDGE-MIB", "dot1qTpVlanPortOutOverflowFrames"), ("Q-BRIDGE-MIB", "dot1qTpVlanPortInOverflowDiscards"), ("Q-BRIDGE-MIB", "dot1qTpVlanPortInOverflowFrames"), ) ) if mibBuilder.loadTexts: qBridgeVlanStatisticsOverflowGroup.setDescription("A collection of objects providing overflow counters for\nper-port packet statistics for all VLANs currently configured\non this device for high-capacity interfaces, defined as those\nthat have the value of the corresponding instance of\nifSpeed greater than 650,000,000 bits/second.") qBridgeVlanHCStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 11)).setObjects(*(("Q-BRIDGE-MIB", "dot1qTpVlanPortHCInDiscards"), ("Q-BRIDGE-MIB", "dot1qTpVlanPortHCInFrames"), ("Q-BRIDGE-MIB", "dot1qTpVlanPortHCOutFrames"), ) ) if mibBuilder.loadTexts: qBridgeVlanHCStatisticsGroup.setDescription("A collection of objects providing per-port packet\nstatistics for all VLANs currently configured on this\ndevice for high-capacity interfaces, defined as those\nthat have the value of the corresponding instance of\nifSpeed greater than 650,000,000 bits/second.") qBridgeLearningConstraintsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 12)).setObjects(*(("Q-BRIDGE-MIB", "dot1qConstraintType"), ("Q-BRIDGE-MIB", "dot1qConstraintStatus"), ) ) if mibBuilder.loadTexts: qBridgeLearningConstraintsGroup.setDescription("A collection of objects defining the Filtering Database\nconstraints all VLANs have with each other.") qBridgeLearningConstraintDefaultGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 13)).setObjects(*(("Q-BRIDGE-MIB", "dot1qConstraintSetDefault"), ("Q-BRIDGE-MIB", "dot1qConstraintTypeDefault"), ) ) if mibBuilder.loadTexts: qBridgeLearningConstraintDefaultGroup.setDescription("A collection of objects defining the default Filtering\nDatabase constraints for VLANs that have no specific\nconstraints defined.") qBridgeClassificationDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 14)).setObjects(*(("Q-BRIDGE-MIB", "dot1vProtocolGroupRowStatus"), ("Q-BRIDGE-MIB", "dot1vProtocolGroupId"), ) ) if mibBuilder.loadTexts: qBridgeClassificationDeviceGroup.setDescription("VLAN classification information for the bridge.") qBridgeClassificationPortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 15)).setObjects(*(("Q-BRIDGE-MIB", "dot1vProtocolPortGroupVid"), ("Q-BRIDGE-MIB", "dot1vProtocolPortRowStatus"), ) ) if mibBuilder.loadTexts: qBridgeClassificationPortGroup.setDescription("VLAN classification information for individual ports.") qBridgePortGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 7, 2, 1, 16)).setObjects(*(("Q-BRIDGE-MIB", "dot1qPortAcceptableFrameTypes"), ("Q-BRIDGE-MIB", "dot1qPortGvrpStatus"), ("Q-BRIDGE-MIB", "dot1qPortIngressFiltering"), ("Q-BRIDGE-MIB", "dot1qPortGvrpLastPduOrigin"), ("Q-BRIDGE-MIB", "dot1qPortRestrictedVlanRegistration"), ("Q-BRIDGE-MIB", "dot1qPvid"), ("Q-BRIDGE-MIB", "dot1qPortGvrpFailedRegistrations"), ) ) if mibBuilder.loadTexts: qBridgePortGroup2.setDescription("A collection of objects providing port-level VLAN\ncontrol and status information for all ports.") # Compliances qBridgeCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 7, 2, 2, 1)).setObjects(*(("Q-BRIDGE-MIB", "qBridgeFdbUnicastGroup"), ("Q-BRIDGE-MIB", "qBridgeFdbStaticGroup"), ("Q-BRIDGE-MIB", "qBridgeFdbMulticastGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanStatisticsOverflowGroup"), ("Q-BRIDGE-MIB", "qBridgePortGroup"), ("Q-BRIDGE-MIB", "qBridgeBaseGroup"), ("Q-BRIDGE-MIB", "qBridgeServiceRequirementsGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanStaticGroup"), ("Q-BRIDGE-MIB", "qBridgeLearningConstraintDefaultGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanGroup"), ("Q-BRIDGE-MIB", "qBridgeLearningConstraintsGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanHCStatisticsGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanStatisticsGroup"), ) ) if mibBuilder.loadTexts: qBridgeCompliance.setDescription("The compliance statement for device support of Virtual\nLAN Bridge services.\n\nRFC2674 was silent about the expected persistence of the\nread-write objects in this MIB module. Applications MUST\nNOT assume that the values of the read-write objects are\npersistent across reinitializations of the management\nsystem and MUST NOT assume that the values are not\npersistent across reinitializations of the management\nsystem.") qBridgeCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 7, 2, 2, 2)).setObjects(*(("Q-BRIDGE-MIB", "qBridgeFdbUnicastGroup"), ("Q-BRIDGE-MIB", "qBridgeClassificationPortGroup"), ("Q-BRIDGE-MIB", "qBridgeFdbStaticGroup"), ("Q-BRIDGE-MIB", "qBridgeFdbMulticastGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanStatisticsOverflowGroup"), ("Q-BRIDGE-MIB", "qBridgeClassificationDeviceGroup"), ("Q-BRIDGE-MIB", "qBridgeBaseGroup"), ("Q-BRIDGE-MIB", "qBridgeServiceRequirementsGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanStaticGroup"), ("Q-BRIDGE-MIB", "qBridgeLearningConstraintDefaultGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanGroup"), ("Q-BRIDGE-MIB", "qBridgeLearningConstraintsGroup"), ("Q-BRIDGE-MIB", "qBridgeVlanHCStatisticsGroup"), ("Q-BRIDGE-MIB", "qBridgePortGroup2"), ("Q-BRIDGE-MIB", "qBridgeVlanStatisticsGroup"), ) ) if mibBuilder.loadTexts: qBridgeCompliance2.setDescription("The compliance statement for device support of Virtual\nLAN Bridge services.\n\nThis document clarifies the persistence requirements for\nthe read-write objects in this MIB module. All\nimplementations claiming compliance to qBridgeCompliance2\nMUST retain the values of those read-write objects that\nspecify this requirement.") # Exports # Module identity mibBuilder.exportSymbols("Q-BRIDGE-MIB", PYSNMP_MODULE_ID=qBridgeMIB) # Types mibBuilder.exportSymbols("Q-BRIDGE-MIB", PortList=PortList, VlanId=VlanId, VlanIdOrAny=VlanIdOrAny, VlanIdOrAnyOrNone=VlanIdOrAnyOrNone, VlanIdOrNone=VlanIdOrNone, VlanIndex=VlanIndex) # Objects mibBuilder.exportSymbols("Q-BRIDGE-MIB", qBridgeMIB=qBridgeMIB, qBridgeMIBObjects=qBridgeMIBObjects, dot1qBase=dot1qBase, dot1qVlanVersionNumber=dot1qVlanVersionNumber, dot1qMaxVlanId=dot1qMaxVlanId, dot1qMaxSupportedVlans=dot1qMaxSupportedVlans, dot1qNumVlans=dot1qNumVlans, dot1qGvrpStatus=dot1qGvrpStatus, dot1qTp=dot1qTp, dot1qFdbTable=dot1qFdbTable, dot1qFdbEntry=dot1qFdbEntry, dot1qFdbId=dot1qFdbId, dot1qFdbDynamicCount=dot1qFdbDynamicCount, dot1qTpFdbTable=dot1qTpFdbTable, dot1qTpFdbEntry=dot1qTpFdbEntry, dot1qTpFdbAddress=dot1qTpFdbAddress, dot1qTpFdbPort=dot1qTpFdbPort, dot1qTpFdbStatus=dot1qTpFdbStatus, dot1qTpGroupTable=dot1qTpGroupTable, dot1qTpGroupEntry=dot1qTpGroupEntry, dot1qTpGroupAddress=dot1qTpGroupAddress, dot1qTpGroupEgressPorts=dot1qTpGroupEgressPorts, dot1qTpGroupLearnt=dot1qTpGroupLearnt, dot1qForwardAllTable=dot1qForwardAllTable, dot1qForwardAllEntry=dot1qForwardAllEntry, dot1qForwardAllPorts=dot1qForwardAllPorts, dot1qForwardAllStaticPorts=dot1qForwardAllStaticPorts, dot1qForwardAllForbiddenPorts=dot1qForwardAllForbiddenPorts, dot1qForwardUnregisteredTable=dot1qForwardUnregisteredTable, dot1qForwardUnregisteredEntry=dot1qForwardUnregisteredEntry, dot1qForwardUnregisteredPorts=dot1qForwardUnregisteredPorts, dot1qForwardUnregisteredStaticPorts=dot1qForwardUnregisteredStaticPorts, dot1qForwardUnregisteredForbiddenPorts=dot1qForwardUnregisteredForbiddenPorts, dot1qStatic=dot1qStatic, dot1qStaticUnicastTable=dot1qStaticUnicastTable, dot1qStaticUnicastEntry=dot1qStaticUnicastEntry, dot1qStaticUnicastAddress=dot1qStaticUnicastAddress, dot1qStaticUnicastReceivePort=dot1qStaticUnicastReceivePort, dot1qStaticUnicastAllowedToGoTo=dot1qStaticUnicastAllowedToGoTo, dot1qStaticUnicastStatus=dot1qStaticUnicastStatus, dot1qStaticMulticastTable=dot1qStaticMulticastTable, dot1qStaticMulticastEntry=dot1qStaticMulticastEntry, dot1qStaticMulticastAddress=dot1qStaticMulticastAddress, dot1qStaticMulticastReceivePort=dot1qStaticMulticastReceivePort, dot1qStaticMulticastStaticEgressPorts=dot1qStaticMulticastStaticEgressPorts, dot1qStaticMulticastForbiddenEgressPorts=dot1qStaticMulticastForbiddenEgressPorts, dot1qStaticMulticastStatus=dot1qStaticMulticastStatus, dot1qVlan=dot1qVlan, dot1qVlanNumDeletes=dot1qVlanNumDeletes, dot1qVlanCurrentTable=dot1qVlanCurrentTable, dot1qVlanCurrentEntry=dot1qVlanCurrentEntry, dot1qVlanTimeMark=dot1qVlanTimeMark, dot1qVlanIndex=dot1qVlanIndex, dot1qVlanFdbId=dot1qVlanFdbId, dot1qVlanCurrentEgressPorts=dot1qVlanCurrentEgressPorts, dot1qVlanCurrentUntaggedPorts=dot1qVlanCurrentUntaggedPorts, dot1qVlanStatus=dot1qVlanStatus, dot1qVlanCreationTime=dot1qVlanCreationTime, dot1qVlanStaticTable=dot1qVlanStaticTable, dot1qVlanStaticEntry=dot1qVlanStaticEntry, dot1qVlanStaticName=dot1qVlanStaticName, dot1qVlanStaticEgressPorts=dot1qVlanStaticEgressPorts, dot1qVlanForbiddenEgressPorts=dot1qVlanForbiddenEgressPorts, dot1qVlanStaticUntaggedPorts=dot1qVlanStaticUntaggedPorts, dot1qVlanStaticRowStatus=dot1qVlanStaticRowStatus, dot1qNextFreeLocalVlanIndex=dot1qNextFreeLocalVlanIndex, dot1qPortVlanTable=dot1qPortVlanTable, dot1qPortVlanEntry=dot1qPortVlanEntry, dot1qPvid=dot1qPvid, dot1qPortAcceptableFrameTypes=dot1qPortAcceptableFrameTypes, dot1qPortIngressFiltering=dot1qPortIngressFiltering, dot1qPortGvrpStatus=dot1qPortGvrpStatus, dot1qPortGvrpFailedRegistrations=dot1qPortGvrpFailedRegistrations, dot1qPortGvrpLastPduOrigin=dot1qPortGvrpLastPduOrigin, dot1qPortRestrictedVlanRegistration=dot1qPortRestrictedVlanRegistration, dot1qPortVlanStatisticsTable=dot1qPortVlanStatisticsTable, dot1qPortVlanStatisticsEntry=dot1qPortVlanStatisticsEntry, dot1qTpVlanPortInFrames=dot1qTpVlanPortInFrames, dot1qTpVlanPortOutFrames=dot1qTpVlanPortOutFrames, dot1qTpVlanPortInDiscards=dot1qTpVlanPortInDiscards, dot1qTpVlanPortInOverflowFrames=dot1qTpVlanPortInOverflowFrames, dot1qTpVlanPortOutOverflowFrames=dot1qTpVlanPortOutOverflowFrames, dot1qTpVlanPortInOverflowDiscards=dot1qTpVlanPortInOverflowDiscards, dot1qPortVlanHCStatisticsTable=dot1qPortVlanHCStatisticsTable, dot1qPortVlanHCStatisticsEntry=dot1qPortVlanHCStatisticsEntry, dot1qTpVlanPortHCInFrames=dot1qTpVlanPortHCInFrames, dot1qTpVlanPortHCOutFrames=dot1qTpVlanPortHCOutFrames, dot1qTpVlanPortHCInDiscards=dot1qTpVlanPortHCInDiscards, dot1qLearningConstraintsTable=dot1qLearningConstraintsTable, dot1qLearningConstraintsEntry=dot1qLearningConstraintsEntry, dot1qConstraintVlan=dot1qConstraintVlan, dot1qConstraintSet=dot1qConstraintSet, dot1qConstraintType=dot1qConstraintType, dot1qConstraintStatus=dot1qConstraintStatus, dot1qConstraintSetDefault=dot1qConstraintSetDefault, dot1qConstraintTypeDefault=dot1qConstraintTypeDefault, dot1vProtocol=dot1vProtocol, dot1vProtocolGroupTable=dot1vProtocolGroupTable, dot1vProtocolGroupEntry=dot1vProtocolGroupEntry, dot1vProtocolTemplateFrameType=dot1vProtocolTemplateFrameType, dot1vProtocolTemplateProtocolValue=dot1vProtocolTemplateProtocolValue, dot1vProtocolGroupId=dot1vProtocolGroupId, dot1vProtocolGroupRowStatus=dot1vProtocolGroupRowStatus, dot1vProtocolPortTable=dot1vProtocolPortTable, dot1vProtocolPortEntry=dot1vProtocolPortEntry, dot1vProtocolPortGroupId=dot1vProtocolPortGroupId, dot1vProtocolPortGroupVid=dot1vProtocolPortGroupVid, dot1vProtocolPortRowStatus=dot1vProtocolPortRowStatus, qBridgeConformance=qBridgeConformance, qBridgeGroups=qBridgeGroups, qBridgeCompliances=qBridgeCompliances) # Groups mibBuilder.exportSymbols("Q-BRIDGE-MIB", qBridgeBaseGroup=qBridgeBaseGroup, qBridgeFdbUnicastGroup=qBridgeFdbUnicastGroup, qBridgeFdbMulticastGroup=qBridgeFdbMulticastGroup, qBridgeServiceRequirementsGroup=qBridgeServiceRequirementsGroup, qBridgeFdbStaticGroup=qBridgeFdbStaticGroup, qBridgeVlanGroup=qBridgeVlanGroup, qBridgeVlanStaticGroup=qBridgeVlanStaticGroup, qBridgePortGroup=qBridgePortGroup, qBridgeVlanStatisticsGroup=qBridgeVlanStatisticsGroup, qBridgeVlanStatisticsOverflowGroup=qBridgeVlanStatisticsOverflowGroup, qBridgeVlanHCStatisticsGroup=qBridgeVlanHCStatisticsGroup, qBridgeLearningConstraintsGroup=qBridgeLearningConstraintsGroup, qBridgeLearningConstraintDefaultGroup=qBridgeLearningConstraintDefaultGroup, qBridgeClassificationDeviceGroup=qBridgeClassificationDeviceGroup, qBridgeClassificationPortGroup=qBridgeClassificationPortGroup, qBridgePortGroup2=qBridgePortGroup2) # Compliances mibBuilder.exportSymbols("Q-BRIDGE-MIB", qBridgeCompliance=qBridgeCompliance, qBridgeCompliance2=qBridgeCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/IPV6-TCP-MIB.py0000644000014400001440000001724211736645136020613 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPV6-TCP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:13 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Ipv6Address, Ipv6IfIndexOrZero, ) = mibBuilder.importSymbols("IPV6-TC", "Ipv6Address", "Ipv6IfIndexOrZero") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, experimental, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "experimental", "mib-2") # Objects tcp = MibIdentifier((1, 3, 6, 1, 2, 1, 6)) ipv6TcpConnTable = MibTable((1, 3, 6, 1, 2, 1, 6, 16)) if mibBuilder.loadTexts: ipv6TcpConnTable.setDescription("A table containing TCP connection-specific information,\nfor only those connections whose endpoints are IPv6 addresses.") ipv6TcpConnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 6, 16, 1)).setIndexNames((0, "IPV6-TCP-MIB", "ipv6TcpConnLocalAddress"), (0, "IPV6-TCP-MIB", "ipv6TcpConnLocalPort"), (0, "IPV6-TCP-MIB", "ipv6TcpConnRemAddress"), (0, "IPV6-TCP-MIB", "ipv6TcpConnRemPort"), (0, "IPV6-TCP-MIB", "ipv6TcpConnIfIndex")) if mibBuilder.loadTexts: ipv6TcpConnEntry.setDescription("A conceptual row of the ipv6TcpConnTable containing\ninformation about a particular current TCP connection.\nEach row of this table is transient, in that it ceases to\nexist when (or soon after) the connection makes the transition\nto the CLOSED state.\n\nNote that conceptual rows in this table require an additional\nindex object compared to tcpConnTable, since IPv6 addresses\nare not guaranteed to be unique on the managed node.") ipv6TcpConnLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 16, 1, 1), Ipv6Address()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6TcpConnLocalAddress.setDescription("The local IPv6 address for this TCP connection. In\nthe case of a connection in the listen state which\nis willing to accept connections for any IPv6\naddress associated with the managed node, the value\n::0 is used.") ipv6TcpConnLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 16, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6TcpConnLocalPort.setDescription("The local port number for this TCP connection.") ipv6TcpConnRemAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 16, 1, 3), Ipv6Address()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6TcpConnRemAddress.setDescription("The remote IPv6 address for this TCP connection.") ipv6TcpConnRemPort = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 16, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6TcpConnRemPort.setDescription("The remote port number for this TCP connection.") ipv6TcpConnIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 16, 1, 5), Ipv6IfIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6TcpConnIfIndex.setDescription("An index object used to disambiguate conceptual rows in\nthe table, since the connection 4-tuple may not be unique.\n\nIf the connection's remote address (ipv6TcpConnRemAddress)\nis a link-local address and the connection's local address\n(ipv6TcpConnLocalAddress) is not a link-local address, this\nobject identifies a local interface on the same link as\nthe connection's remote link-local address.\n\nOtherwise, this object identifies the local interface that\nis associated with the ipv6TcpConnLocalAddress for this\nTCP connection. If such a local interface cannot be determined,\nthis object should take on the value 0. (A possible example\nof this would be if the value of ipv6TcpConnLocalAddress is ::0.)\n\nThe interface identified by a particular non-0 value of this\nindex is the same interface as identified by the same value\nof ipv6IfIndex.\n\nThe value of this object must remain constant during the life\nof the TCP connection.") ipv6TcpConnState = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 16, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,7,8,5,11,9,12,1,10,2,3,)).subtype(namedValues=NamedValues(("closed", 1), ("closing", 10), ("timeWait", 11), ("deleteTCB", 12), ("listen", 2), ("synSent", 3), ("synReceived", 4), ("established", 5), ("finWait1", 6), ("finWait2", 7), ("closeWait", 8), ("lastAck", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipv6TcpConnState.setDescription("The state of this TCP connection.\n\nThe only value which may be set by a management station is\ndeleteTCB(12). Accordingly, it is appropriate for an agent\nto return an error response (`badValue' for SNMPv1, 'wrongValue'\nfor SNMPv2) if a management station attempts to set this\nobject to any other value.\n\nIf a management station sets this object to the value\ndeleteTCB(12), then this has the effect of deleting the TCB\n(as defined in RFC 793) of the corresponding connection on\nthe managed node, resulting in immediate termination of the\nconnection.\nAs an implementation-specific option, a RST segment may be\nsent from the managed node to the other TCP endpoint (note\nhowever that RST segments are not sent reliably).") ipv6TcpMIB = ModuleIdentity((1, 3, 6, 1, 3, 86)).setRevisions(("1998-01-29 00:00",)) if mibBuilder.loadTexts: ipv6TcpMIB.setOrganization("IETF IPv6 MIB Working Group") if mibBuilder.loadTexts: ipv6TcpMIB.setContactInfo(" Mike Daniele\n\nPostal: Compaq Computer Corporation\n 110 Spitbrook Rd\n Nashua, NH 03062.\n US\n\nPhone: +1 603 884 1423\nEmail: daniele@zk3.dec.com") if mibBuilder.loadTexts: ipv6TcpMIB.setDescription("The MIB module for entities implementing TCP over IPv6.") ipv6TcpConformance = MibIdentifier((1, 3, 6, 1, 3, 86, 2)) ipv6TcpCompliances = MibIdentifier((1, 3, 6, 1, 3, 86, 2, 1)) ipv6TcpGroups = MibIdentifier((1, 3, 6, 1, 3, 86, 2, 2)) # Augmentions # Groups ipv6TcpGroup = ObjectGroup((1, 3, 6, 1, 3, 86, 2, 2, 1)).setObjects(*(("IPV6-TCP-MIB", "ipv6TcpConnState"), ) ) if mibBuilder.loadTexts: ipv6TcpGroup.setDescription("The group of objects providing management of\nTCP over IPv6.") # Compliances ipv6TcpCompliance = ModuleCompliance((1, 3, 6, 1, 3, 86, 2, 1, 1)).setObjects(*(("IPV6-TCP-MIB", "ipv6TcpGroup"), ) ) if mibBuilder.loadTexts: ipv6TcpCompliance.setDescription("The compliance statement for SNMPv2 entities which\nimplement TCP over IPv6.") # Exports # Module identity mibBuilder.exportSymbols("IPV6-TCP-MIB", PYSNMP_MODULE_ID=ipv6TcpMIB) # Objects mibBuilder.exportSymbols("IPV6-TCP-MIB", tcp=tcp, ipv6TcpConnTable=ipv6TcpConnTable, ipv6TcpConnEntry=ipv6TcpConnEntry, ipv6TcpConnLocalAddress=ipv6TcpConnLocalAddress, ipv6TcpConnLocalPort=ipv6TcpConnLocalPort, ipv6TcpConnRemAddress=ipv6TcpConnRemAddress, ipv6TcpConnRemPort=ipv6TcpConnRemPort, ipv6TcpConnIfIndex=ipv6TcpConnIfIndex, ipv6TcpConnState=ipv6TcpConnState, ipv6TcpMIB=ipv6TcpMIB, ipv6TcpConformance=ipv6TcpConformance, ipv6TcpCompliances=ipv6TcpCompliances, ipv6TcpGroups=ipv6TcpGroups) # Groups mibBuilder.exportSymbols("IPV6-TCP-MIB", ipv6TcpGroup=ipv6TcpGroup) # Compliances mibBuilder.exportSymbols("IPV6-TCP-MIB", ipv6TcpCompliance=ipv6TcpCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MIDCOM-MIB.py0000644000014400001440000023272611736645137020422 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MIDCOM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:17 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetPortNumber") ( NatBindIdOrZero, ) = mibBuilder.importSymbols("NAT-MIB", "NatBindIdOrZero") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TruthValue") # Types class MidcomNatBindMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("addressBind", 1), ("addressPortBind", 2), ("none", 3), ) class MidcomNatSessionIdOrZero(TextualConvention, Unsigned32): displayHint = "d" # Objects midcomMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 171)).setRevisions(("2007-08-09 10:11",)) if mibBuilder.loadTexts: midcomMIB.setOrganization("IETF Middlebox Communication Working Group") if mibBuilder.loadTexts: midcomMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/midcom-charter.html\n\nMailing Lists:\nGeneral Discussion: midcom@ietf.org\nTo Subscribe: midcom-request@ietf.org\nIn Body: subscribe your_email_address\n\nCo-editor:\nJuergen Quittek\nNEC Europe Ltd.\nKurfuersten-Anlage 36\n69115 Heidelberg\nGermany\nTel: +49 6221 4342-115\nEmail: quittek@nw.neclab.eu\n\nCo-editor:\nMartin Stiemerling\nNEC Europe Ltd.\nKurfuersten-Anlage 36\n69115 Heidelberg\nGermany\nTel: +49 6221 4342-113\nEmail: stiemerling@nw.neclab.eu\n\nCo-editor:\nPyda Srisuresh\nKazeon Systems, Inc.\n1161 San Antonio Rd.\nMountain View, CA 94043\nU.S.A.\nTel: +1 408 836-4773\nEmail: srisuresh@yahoo.com") if mibBuilder.loadTexts: midcomMIB.setDescription("This MIB module defines a set of basic objects for\nconfiguring middleboxes, such as firewalls and network\n\n\n\naddress translators, in order to enable communication\nacross these devices.\n\nManaged objects defined in this MIB module are structured\nin three kinds of objects:\n - transaction objects required according to the MIDCOM\n protocol requirements defined in RFC 3304 and according\n to the MIDCOM protocol semantics defined in RFC 3989,\n - configuration objects that can be used for retrieving or\n setting parameters of the implementation of transaction\n objects,\n - optional monitoring objects that provide information\n about used resource and statistics\n\nThe transaction objects are organized in two subtrees:\n - objects modeling MIDCOM policy rules in the\n midcomRuleTable\n - objects modeling MIDCOM policy rule groups in the\n midcomGroupTable\n\nNote that typically, configuration objects are not intended\nto be written by MIDCOM clients. In general, write access\nto these objects needs to be restricted more strictly than\nwrite access to objects in the transaction subtrees.\n\nCopyright (C) The Internet Society (2008). This version\nof this MIB module is part of RFC 5190; see the RFC\nitself for full legal notices.") midcomNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 0)) midcomObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 1)) midcomTransaction = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 1, 1)) midcomRuleTable = MibTable((1, 3, 6, 1, 2, 1, 171, 1, 1, 3)) if mibBuilder.loadTexts: midcomRuleTable.setDescription("This table lists policy rules.\n\nIt is indexed by the midcomRuleOwner, the\nmidcomGroupIndex, and the midcomRuleIndex.\nThis implies that a rule is a member of exactly\none group and that group membership cannot\nbe changed.\n\nEntries can be deleted by writing to\nmidcomGroupLifetime or midcomRuleLifetime\nand potentially also to midcomRuleStorageTime.") midcomRuleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1)).setIndexNames((0, "MIDCOM-MIB", "midcomRuleOwner"), (0, "MIDCOM-MIB", "midcomGroupIndex"), (0, "MIDCOM-MIB", "midcomRuleIndex")) if mibBuilder.loadTexts: midcomRuleEntry.setDescription("An entry describing a particular MIDCOM policy rule.") midcomRuleOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: midcomRuleOwner.setDescription("The manager who owns this row in the midcomRuleTable.\n\nThis object SHOULD uniquely identify an authenticated\nMIDCOM client. This object is part of the table index to\nallow for the use of the SNMPv3 View-based Access Control\nModel (VACM, RFC 3415).") midcomRuleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: midcomRuleIndex.setDescription("The value of this object must be unique in\ncombination with the values of the objects\nmidcomRuleOwner and midcomGroupIndex in this row.") midcomRuleAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("reserve", 1), ("enable", 2), ("notSet", 3), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleAdminStatus.setDescription("The value of this object indicates the desired status of\nthe policy rule. See the definition of midcomRuleOperStatus\nfor a description of the values.\n\nWhen a midcomRuleEntry is created without explicitly setting\nthis object, its value will be notSet(3).\n\nHowever, a SET request can only set this object to either\nreserve(1) or enable(2). Attempts to set this object to\nnotSet(3) will always fail with an 'inconsistentValue'\nerror. Note that this error code is SNMP specific. If the\nMIB module is used with other protocols than SNMP, errors\nwith similar semantics specific to those protocols should\nbe returned.\n\nWhen the midcomRuleAdminStatus object is set, then the\nMIDCOM-MIB implementation will try to read the respective\nrelevant objects of the entry and try to achieve the\ncorresponding midcomRuleOperStatus.\n\nSetting midcomRuleAdminStatus to value reserve(1) when\nobject midcomRuleOperStatus has a value of reserved(7)\ndoes not have any effect on the policy rule.\nSetting midcomRuleAdminStatus to value enable(2) when\nobject midcomRuleOperStatus has a value of enabled(8)\ndoes not have any effect on the policy rule.\n\nDepending on whether the midcomRuleAdminStatus is set to\nreserve(1) or enable(2), several objects must be set in\nadvance. They serve as parameters of the policy rule to be\nestablished.\n\n\n\n\nWhen object midcomRuleAdminStatus is set to reserve(1),\nthen the following objects in the same entry are of\nrelevance:\n - midcomRuleInterface\n - midcomRuleTransportProtocol\n - midcomRulePortRange\n - midcomRuleInternalIpVersion\n - midcomRuleExternalIpVersion\n - midcomRuleInternalIpAddr\n - midcomRuleInternalIpPrefixLength\n - midcomRuleInternalPort\n - midcomRuleLifetime\n\nMIDCOM-MIB implementation may also consider the value\nof object midcomRuleMaxIdleTime when establishing\na reserve rule.\n\nWhen object midcomRuleAdminStatus is set to enable(2),\nthen the following objects in the same entry are of\nrelevance:\n - midcomRuleInterface\n - midcomRuleFlowDirection\n - midcomRuleMaxIdleTime\n - midcomRuleTransportProtocol\n - midcomRulePortRange\n - midcomRuleInternalIpVersion\n - midcomRuleExternalIpVersion\n - midcomRuleInternalIpAddr\n - midcomRuleInternalIpPrefixLength\n - midcomRuleInternalPort\n - midcomRuleExternalIpAddr\n - midcomRuleExternalIpPrefixLength\n - midcomRuleExternalPort\n - midcomRuleLifetime\n\nWhen retrieved, the object returns the last set value.\nIf no value has been set, it returns the default value\nnotSet(3).") midcomRuleOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,6,8,5,7,12,11,9,4,2,10,1,)).subtype(namedValues=NamedValues(("newEntry", 1), ("terminatedOnRequest", 10), ("terminated", 11), ("genericError", 12), ("setting", 2), ("checkingRequest", 3), ("incorrectRequest", 4), ("processingRequest", 5), ("requestRejected", 6), ("reserved", 7), ("enabled", 8), ("timedOut", 9), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRuleOperStatus.setDescription("The actual status of the policy rule. The\nmidcomRuleOperStatus object may have the following values:\n\n- newEntry(1) indicates that the entry in the\n midcomRuleTable was created, but not modified yet.\n Such an entry needs to be filled with values specifying\n a request first.\n\n- setting(2) indicates that the entry has been already\n modified after generating it, but no request was made\n yet.\n\n- checkingRequest(3) indicates that midcomRuleAdminStatus\n has recently been set and that the MIDCOM-MIB\n implementation is currently checking the parameters of\n the request. This is a transient state. The value of\n this object will change to either incorrectRequest(4)\n or processingRequest(5) without any external\n interaction. A MIDCOM-MIB implementation MAY return\n this value while checking request parameters.\n\n- incorrectRequest(4) indicates that checking a request\n resulted in detecting an incorrect value in one of the\n objects containing request parameters. The failure\n reason is indicated by the value of midcomRuleError.\n\n- processingRequest(5) indicates that\n midcomRuleAdminStatus has recently been set and that\n the MIDCOM-MIB implementation is currently processing\n the request and trying to configure the middlebox\n accordingly. This is a transient state. The value of\n this object will change to either requestRejected(6),\n reserved(7), or enabled(8) without any external\n interaction. A MIDCOM-MIB implementation MAY return\n this value while processing a request.\n\n- requestRejected(6) indicates that a request to establish\n\n\n\n a policy rule specified by the entry was rejected. The\n reason for rejection is indicated by the value of\n midcomRuleError.\n\n- reserved(7) indicates that the entry describes an\n established policy reserve rule.\n These values of MidcomRuleEntry are meaningful\n for a reserved policy rule:\n - midcomRuleMaxIdleTime\n - midcomRuleInterface\n - midcomRuleTransportProtocol\n - midcomRulePortRange\n - midcomRuleInternalIpVersion\n - midcomRuleExternalIpVersion\n - midcomRuleInternalIpAddr\n - midcomRuleInternalIpPrefixLength\n - midcomRuleInternalPort\n - midcomRuleOutsideIpAddr\n - midcomRuleOutsidePort\n - midcomRuleLifetime\n\n- enabled(8) indicates that the entry describes an\n established policy enable rule.\n These values of MidcomRuleEntry are meaningful\n for an enabled policy rule:\n\n - midcomRuleFlowDirection\n - midcomRuleInterface\n - midcomRuleMaxIdleTime\n - midcomRuleTransportProtocol\n - midcomRulePortRange\n - midcomRuleInternalIpVersion\n - midcomRuleExternalIpVersion\n - midcomRuleInternalIpAddr\n - midcomRuleInternalIpPrefixLength\n - midcomRuleInternalPort\n - midcomRuleExternalIpAddr\n - midcomRuleExternalIpPrefixLength\n - midcomRuleExternalPort\n - midcomRuleInsideIpAddr\n - midcomRuleInsidePort\n - midcomRuleOutsideIpAddr\n - midcomRuleOutsidePort\n - midcomRuleLifetime\n\n- timedOut(9) indicates that the lifetime of a previously\n established policy rule has expired and that the policy\n rule is terminated for this reason.\n\n\n\n- terminatedOnRequest(10) indicates that a previously\n established policy rule was terminated by an SNMP\n manager setting the midcomRuleLifetime to 0 or\n setting midcomGroupLifetime to 0.\n\n- terminated(11) indicates that a previously established\n policy rule was terminated by the MIDCOM-MIB\n implementation for a reason other than lifetime\n expiration or an explicit request from a MIDCOM client.\n\n- genericError(12) indicates that the policy rule\n specified by the entry is not established due to\n an error condition not listed above.\n\nThe states timedOut(9), terminatedOnRequest(10), and\nterminated(11) are referred to as termination states.\n\nThe states incorrectRequest(4), requestRejected(6),\nand genericError(12) are referred to as error states.\n\nThe checkingRequest(3) and processingRequest(5)\nstates are transient states, which will lead to either\none of the error states or the reserved(7) state or the\nenabled(8) state. MIDCOM-MIB implementations MAY return\nthese values when checking or processing requests.") midcomRuleStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 6), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleStorageType.setDescription("When retrieved, this object returns the storage\ntype of the policy rule. Writing to this object can\nchange the storage type of the particular row from\nvolatile(2) to nonVolatile(3) or vice versa.\n\nAttempts to set this object to permanent will always\nfail with an 'inconsistentValue' error. Note that this\nerror code is SNMP specific. If the MIB module is used\nwith other protocols than SNMP, errors with similar\nsemantics specific to those protocols should be\nreturned.\n\nIf midcomRuleStorageType has the value permanent(4),\nthen all objects in this row whose MAX-ACCESS value\nis read-create must be read-only.") midcomRuleStorageTime = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 7), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleStorageTime.setDescription("The value of this object specifies how long this row\ncan exist in the midcomRuleTable after the\nmidcomRuleOperStatus switched to a termination state or\nto an error state. This object returns the remaining\ntime that the row may exist before it is aged out.\n\nAfter expiration or termination of the context, the value\nof this object ticks backwards. The entry in the\nmidcomRuleTable is destroyed when the value reaches 0.\n\nThe value of this object may be set in order to increase\nor reduce the remaining time that the row may exist.\nSetting the value to 0 will destroy this entry as soon as\nthe midcomRuleOperStatus switched to a termination state\nor to an error state.\n\nNote that there is no guarantee that the row is stored as\nlong as this object indicates. At any time, the MIDCOM-\nMIB implementation may decide to remove a row describing\na terminated policy rule before the storage time of the\ncorresponding row in the midcomRuleTable reaches the\nvalue of 0. In this case, the information stored in this\nrow is not available anymore.\n\nIf object midcomRuleStorageType indicates that the policy\nrule has the storage type permanent(4), then this object has\na constant value of 4294967295.") midcomRuleError = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 8), SnmpAdminString().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRuleError.setDescription("This object contains a descriptive error message if\nthe transition into the operational status reserved(7)\nor enabled(8) failed. Implementations must reset the\nerror message to a zero-length string when a new\n\n\n\nattempt to change the policy rule status to reserved(7)\nor enabled(8) is started.\n\nRECOMMENDED values to be returned in particular cases\ninclude\n - 'lack of IP addresses'\n - 'lack of port numbers'\n - 'lack of resources'\n - 'specified NAT interface does not exist'\n - 'specified NAT interface does not support NAT'\n - 'conflict with already existing policy rule'\n - 'no internal IP wildcarding allowed'\n - 'no external IP wildcarding allowed'\n\nThe semantics of these error messages and the corresponding\nbehavior of the MIDCOM-MIB implementation are specified\nin sections 2.3.9 and 2.3.10 of RFC 3989.") midcomRuleInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 9), InterfaceIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleInterface.setDescription("This object indicates the IP interface for which\nenforcement of a policy rule is requested or performed,\nrespectively.\n\nThe interface is identified by its index in the ifTable\n(see IF-MIB in RFC 2863). If the object has a value of 0,\nthen no particular interface is indicated.\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1) or setting(2), then this object can be\nwritten by a manager in order to request its preference\nconcerning the interface at which it requests NAT service.\nThe default value of 0 indicates that the manager does not\nhave a preferred interface or does not have sufficient\ntopology information for specifying one. Writing to this\nobject in any state other than newEntry(1) or setting(2)\nwill always fail with an 'inconsistentValue' error.\n\n\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue reserved(7) or enabled(8), then this object indicates\nthe interface at which NAT service for this rule is\nperformed. If NAT service is not required for enforcing\nthe policy rule, then the value of this object is 0. Also,\nif the MIDCOM-MIB implementation cannot indicate an\ninterface, because it does not have this information or\nbecause NAT service is not offered at a particular single\ninterface, then the value of the object is 0.\n\nNote that the index of a particular interface in the\nifTable may change after a re-initialization of the\nmiddlebox, for example, after adding another interface to\nit. In such a case, the value of this object may change,\nbut the interface referred to by the MIDCOM-MIB MUST still\nbe the same. If, after a re-initialization of the\nmiddlebox, the interface referred to before\nre-initialization cannot be uniquely mapped anymore to a\nparticular entry in the ifTable, then the value of object\nmidcomRuleOperStatus of the same entry MUST be changed to\nterminated(11).\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleFlowDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("inbound", 1), ("outbound", 2), ("biDirectional", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleFlowDirection.setDescription("This parameter specifies the direction of enabled\ncommunication, either inbound(1), outbound(2), or\nbiDirectional(3).\n\nThe semantics of this object depends on the protocol\nthe rule relates to. If the rule is independent of\n\n\n\nthe transport protocol (midcomRuleTransportProtocol\nhas a value of 0) or if the transport protocol is UDP,\nthen the value of midcomRuleFlowDirection indicates\nthe direction of packets traversing the middlebox.\n\nIn this case, value inbound(1) indicates that packets\nare traversing from outside to inside, value outbound(2)\nindicates that packets are traversing from inside to\noutside. For both values, inbound(1) and outbound(2)\npackets can traverse the middlebox only unidirectional.\nA bidirectional flow is indicated by value\nbiDirectional(3).\n\nIf the transport protocol is TCP, the packet flow is\nalways bidirectional, but the value of\nmidcomRuleFlowDirection indicates that:\n\n - inbound(1): bidirectional TCP packet flow.\n First packet, with TCP SYN flag set, must arrive\n at an outside interface of the middlebox.\n\n - outbound(2): bidirectional TCP packet flow.\n First packet, with TCP SYN flag set, must arrive\n at an inside interface of the middlebox.\n\n - biDirectional(3): bidirectional TCP packet flow.\n First packet, with TCP SYN flag set, may arrive\n at an inside or an outside interface of the middlebox.\n\nThis object is used as input to a request for\nestablishing a policy enable rule as well as for\nindicating the properties of an established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue of either newEntry(1), setting(2), or reserved(7),\nthen this object can be written by a manager in order to\nspecify a requested direction to be enabled by a policy\nrule. Writing to this object in any state other than\nnewEntry(1), setting(2), or reserved(7) will always fail\nwith an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue enabled(8), then this object indicates the enabled\n\n\n\nflow direction.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleMaxIdleTime = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 11), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleMaxIdleTime.setDescription("Maximum idle time of the policy rule in seconds.\n\nIf no packet to which the policy rule applies passes the\nmiddlebox for the specified midcomRuleMaxIdleTime, then\nthe policy rule enters the termination state timedOut(9).\n\nA value of 0 indicates that the policy does not require\nan individual idle time and that instead, a default idle\ntime chosen by the middlebox is used.\n\nA value of 4294967295 ( = 2^32 - 1 ) indicates that the\npolicy does not time out if it is idle.\n\nThis object is used as input to a request for\nestablishing a policy enable rule as well as for\nindicating the properties of an established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue of either newEntry(1), setting(2), or reserved(7),\nthen this object can be written by a manager in order to\nspecify a maximum idle time for the policy rule to be\nrequested. Writing to this object in any state others\nthan newEntry(1), setting(2), or reserved(7) will always\nfail with an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue enabled(8), then this object indicates the maximum\nidle time of the policy rule. Note that even if a maximum\nidle time greater than zero was requested, the middlebox\n\n\n\nmay not be able to support maximum idle times and set the\nvalue of this object to zero when entering state\nenabled(8).\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleTransportProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleTransportProtocol.setDescription("The transport protocol.\n\nValid values for midcomRuleTransportProtocol\nother than zero are defined at:\nhttp://www.iana.org/assignments/protocol-numbers\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue of either newEntry(1) or setting(2), then this\nobject can be written by a manager in order to specify a\nrequested transport protocol. If translation of an IP\naddress only is requested, then this object must have the\ndefault value 0. Writing to this object in any state\nother than newEntry(1) or setting(2) will always fail\nwith an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue reserved(7) or enabled(8), then this object\nindicates which transport protocol is enforced by this\npolicy rule. A value of 0 indicates a rule acting on IP\naddresses only.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRulePortRange = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("single", 1), ("pair", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRulePortRange.setDescription("The range of port numbers.\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule. It is relevant to the\noperation of the MIDCOM-MIB implementation only if the\nvalue of object midcomTransportProtocol in the same entry\nhas a value other than 0.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1) or setting(2), then this object can be\nwritten by a manager in order to specify the requested\nsize of the port range. With single(1) just a single\nport number is requested, with pair(2) a consecutive pair\nof port numbers is requested with the lower number being\neven. Requesting a consecutive pair of port numbers may\nbe used by RTP [RFC3550] and may even be required to\nsupport older RTP applications.\n\nWriting to this object in any state other than\nnewEntry(1), setting(2) or reserved(7) will always fail\nwith an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue of either reserved(7) or enabled(8), then this\nobject will have the value that it had before the\ntransition to this state.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleInternalIpVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 14), InetAddressType().clone('ipv4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleInternalIpVersion.setDescription("IP version of the internal address (A0) and the inside\naddress (A1). Allowed values are ipv4(1), ipv6(2),\nipv4z(3), and ipv6z(4).\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1) or setting(2), then this object can be\nwritten by a manager in order to specify the IP version\nrequired at the inside of the middlebox. Writing to this\nobject in any state other than newEntry(1) or setting(2)\nwill always fail with an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue reserved(7) or enabled(8), then this object\nindicates the internal/inside IP version.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleExternalIpVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 15), InetAddressType().clone('ipv4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleExternalIpVersion.setDescription("IP version of the external address (A3) and the outside\naddress (A2). Allowed values are ipv4(1) and ipv6(2).\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\n\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1) or setting(2), then this object can be\nwritten by a manager in order to specify the IP version\nrequired at the outside of the middlebox. Writing to\nthis object in any state other than newEntry(1) or\nsetting(2) will always fail with an 'inconsistentValue'\nerror.\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue reserved(7) or enabled(8), then this object\nindicates the external/outside IP version.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7) or\nenabled(8), then the value of this object is irrelevant.") midcomRuleInternalIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 16), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleInternalIpAddr.setDescription("The internal IP address (A0).\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1) or setting(2), then this object can be\nwritten by a manager in order to specify the internal IP\naddress for which a reserve policy rule or a enable policy\nrule is requested to be established. Writing to this\nobject in any state other than newEntry(1) or setting(2)\nwill always fail with an 'inconsistentValue' error.\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue reserved(7) or enabled(8), then this object will\nhave the value which it had before the transition to this\n\n\n\nstate.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7) or\nenabled(8), then the value of this object is irrelevant.") midcomRuleInternalIpPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 17), InetAddressPrefixLength().clone('128')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleInternalIpPrefixLength.setDescription("The prefix length of the internal IP address used for\nwildcarding. A value of 0 indicates a full wildcard;\nin this case, the value of midcomRuleInternalIpAddr is\nirrelevant. If midcomRuleInternalIpVersion has a value\nof ipv4(1), then a value > 31 indicates no wildcarding\nat all. If midcomRuleInternalIpVersion has a value\nof ipv4(2), then a value > 127 indicates no wildcarding\nat all. A MIDCOM-MIB implementation that does not\nsupport IP address wildcarding MUST implement this object\nas read-only with a value of 128. A MIDCOM that does\nnot support wildcarding based on prefix length MAY\nrestrict allowed values for this object to 0 and 128.\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1) or setting(2), then this object can be\nwritten by a manager in order to specify the prefix length\nof the internal IP address for which a reserve policy rule\nor an enable policy rule is requested to be established.\nWriting to this object in any state other than newEntry(1)\nor setting(2) will always fail with an 'inconsistentValue'\nerror.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue reserved(7) or enabled(8), then this object will\nhave the value which it had before the transition to this\nstate.\n\n\n\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleInternalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 18), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleInternalPort.setDescription("The internal port number. A value of 0 is a wildcard.\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule. It is relevant to the\noperation of the MIDCOM-MIB implementation only if the\nvalue of object midcomTransportProtocol in the same entry\nhas a value other than 0.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1) or setting(2), then this object can be\nwritten by a manager in order to specify the internal port\nnumber for which a reserve policy rule or an enable policy\nrule is requested to be established. Writing to this\nobject in any state other than newEntry(1) or setting(2)\nwill always fail with an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue reserved(7) or enabled(8), then this object will\nhave the value that it had before the transition to this\nstate.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleExternalIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 19), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleExternalIpAddr.setDescription("The external IP address (A3).\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1), setting(2), or reserved(7), then this\nobject can be written by a manager in order to specify the\nexternal IP address for which an enable policy rule is\nrequested to be established. Writing to this object in\nany state other than newEntry(1), setting(2), or reserved(7)\nwill always fail with an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue enabled(8), then this object will have the value\nthat it had before the transition to this state.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleExternalIpPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 20), InetAddressPrefixLength().clone('128')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleExternalIpPrefixLength.setDescription("The prefix length of the external IP address used for\nwildcarding. A value of 0 indicates a full wildcard;\nin this case, the value of midcomRuleExternalIpAddr is\nirrelevant. If midcomRuleExternalIpVersion has a value\nof ipv4(1), then a value > 31 indicates no wildcarding\nat all. If midcomRuleExternalIpVersion has a value\nof ipv4(2), then a value > 127 indicates no wildcarding\nat all. A MIDCOM-MIB implementation that does not\nsupport IP address wildcarding MUST implement this object\nas read-only with a value of 128. A MIDCOM that does\nnot support wildcarding based on prefix length MAY\nrestrict allowed values for this object to 0 and 128.\n\nThis object is used as input to a request for establishing\n\n\n\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1), setting(2), or reserved(7), then this\nobject can be written by a manager in order to specify the\nprefix length of the external IP address for which an\nenable policy rule is requested to be established.\nWriting to this object in any state other than\nnewEntry(1), setting(2), or reserved(7) will always fail\nwith an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue enabled(8), then this object will have the value\nthat it had before the transition to this state.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleExternalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 21), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleExternalPort.setDescription("The external port number. A value of 0 is a wildcard.\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule. It is relevant to the\noperation of the MIDCOM-MIB implementation only if the\nvalue of object midcomTransportProtocol in the same entry\nhas a value other than 0.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue newEntry(1), setting(2) or reserved(7), then this\nobject can be written by a manager in order to specify the\nexternal port number for which an enable policy rule is\nrequested to be established. Writing to this object in\nany state other than newEntry(1), setting(2) or reserved(7)\nwill always fail with an 'inconsistentValue' error.\n\n\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has the\nvalue enabled(8), then this object will have the value\nwhich it had before the transition to this state.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7) or\nenabled(8), then the value of this object is irrelevant.") midcomRuleInsideIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 22), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRuleInsideIpAddr.setDescription("The inside IP address at the middlebox (A1).\n\nThe value of this object is relevant only if\nobject midcomRuleOperStatus of the same entry has\na value of either reserved(7) or enabled(8).") midcomRuleInsidePort = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 23), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRuleInsidePort.setDescription("The inside port number at the middlebox.\nA value of 0 is a wildcard.\n\nThe value of this object is relevant only if\nobject midcomRuleOperStatus of the same entry has\na value of either reserved(7) or enabled(8).") midcomRuleOutsideIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 24), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRuleOutsideIpAddr.setDescription("The outside IP address at the middlebox (A2).\n\nThe value of this object is relevant only if\n\n\n\nobject midcomRuleOperStatus of the same entry has\na value of either reserved(7) or enabled(8).") midcomRuleOutsidePort = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 25), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRuleOutsidePort.setDescription("The outside port number at the middlebox.\nA value of 0 is a wildcard.\n\nThe value of this object is relevant only if\nobject midcomRuleOperStatus of the same entry has\na value of either reserved(7) or enabled(8).") midcomRuleLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 26), Unsigned32().clone(180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleLifetime.setDescription("The remaining lifetime in seconds of this policy rule.\n\nLifetime of a policy rule starts when object\nmidcomRuleOperStatus in the same entry enters either\nstate reserved(7) or state enabled(8).\n\nThis object is used as input to a request for establishing\na policy rule as well as for indicating the properties of\nan established policy rule.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue of either newEntry(1) or setting(2), then this\nobject can be written by a manager in order to specify\nthe requested lifetime of a policy rule to be established.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue of either reserved(7) or enabled(8), then this\nobject indicates the (continuously decreasing) remaining\nlifetime of the established policy rule. Note that when\nentering state reserved(7) or enabled(8), the MIDCOM-MIB\nimplementation can choose a lifetime shorter than the one\nrequested.\n\nUnlike other parameters of the policy rule, this parameter\ncan still be written in state reserved(7) and enabled(8).\n\n\n\nWriting to this object is processed by the MIDCOM-MIB\nimplementation by choosing a lifetime value that is\ngreater than 0 and less than or equal to the minimum of\nthe requested value and the value specified by object\nmidcomConfigMaxLifetime:\n\n 0 <= lt_granted <= MINIMUM(lt_requested, lt_maximum)\n\nwhere:\n - lt_granted is the actually granted lifetime by the\n MIDCOM-MIB implementation\n - lt_requested is the requested lifetime of the MIDCOM\n client\n - lt_maximum is the value of object\n midcomConfigMaxLifetime\n\nSNMP SET requests to this object may be rejected or the\nvalue of the object after an accepted SET operation may be\nless than the value that was contained in the SNMP SET\nrequest.\n\nSuccessfully writing a value of 0 terminates the policy\nrule. Note that after a policy rule is terminated, still\nthe entry will exist as long as indicated by the value of\nmidcomRuleStorageTime.\n\nWriting to this object in any state other than\nnewEntry(1), setting(2), reserved(7), or enabled(7)\nwill always fail with an 'inconsistentValue' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nIf object midcomRuleOperStatus of the same entry has a\nvalue other than newEntry(1), setting(2), reserved(7), or\nenabled(8), then the value of this object is irrelevant.") midcomRuleRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 3, 1, 27), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: midcomRuleRowStatus.setDescription("A control that allows entries to be added and removed from\nthis table.\n\n\n\nEntries can also be removed from this table by setting\nobjects midcomRuleLifetime and midcomRuleStorageTime of\nan entry to 0.\n\nAttempts to set a row notInService(2) where the value\nof the midcomRuleStorageType object is permanent(4) or\nreadOnly(5) will result in an 'notWritable' error.\n\nNote that this error code is SNMP specific. If the MIB\nmodule is used with other protocols than SNMP, errors with\nsimilar semantics specific to those protocols should be\nreturned.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.") midcomGroupTable = MibTable((1, 3, 6, 1, 2, 1, 171, 1, 1, 4)) if mibBuilder.loadTexts: midcomGroupTable.setDescription("This table lists all current policy rule groups.\n\nEntries in this table are created or removed\nimplicitly when entries in the midcomRuleTable are\ncreated or removed, respectively. A group entry\nin this table only exists as long as there are\nmember rules of this group in the midcomRuleTable.\n\nThe table serves for listing the existing groups and\ntheir remaining lifetimes and for changing lifetimes\nof groups and implicitly of all group members.\nGroups and all their member policy rules can only be\ndeleted by deleting all member policies in the\nmidcomRuleTable.\n\nSetting midcomGroupLifetime will result in setting\nthe lifetime of all policy members to the same value.") midcomGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 171, 1, 1, 4, 1)).setIndexNames((0, "MIDCOM-MIB", "midcomRuleOwner"), (0, "MIDCOM-MIB", "midcomGroupIndex")) if mibBuilder.loadTexts: midcomGroupEntry.setDescription("An entry describing properties of a particular\nMIDCOM policy rule group.") midcomGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: midcomGroupIndex.setDescription("The index of this group for the midcomRuleOwner.\nA group is identified by the combination of\nmidcomRuleOwner and midcomGroupIndex.\n\nThe value of this index must be unique per\nmidcomRuleOwner.") midcomGroupLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: midcomGroupLifetime.setDescription("When retrieved, this object delivers the maximum\nlifetime in seconds of all member rules of this group,\ni.e., of all rows in the midcomRuleTable that have the\nsame values for midcomRuleOwner and midcomGroupIndex.\n\nSuccessfully writing to this object modifies the\nlifetime of all member policies. Successfully\nwriting a value of 0 terminates all member policies\nand implicitly deletes the group as soon as all member\nentries are removed from the midcomRuleTable.\n\nNote that after a group's lifetime is expired or is\nset to 0, still the corresponding entry in the\nmidcomGroupTable will exist as long as terminated\nmember policy rules are stored as entries in the\n\n\n\nmidcomRuleTable.\n\nWriting to this object is processed by the MIDCOM-MIB\nimplementation by choosing a lifetime value that is\ngreater than 0 and less than or equal to the minimum of\nthe requested value and the value specified by object\nmidcomConfigMaxLifetime:\n\n 0 <= lt_granted <= MINIMUM(lt_requested, lt_maximum)\n\nwhere:\n - lt_granted is the actually granted lifetime by the\n MIDCOM-MIB implementation\n - lt_requested is the requested lifetime of the MIDCOM\n client\n - lt_maximum is the value of object\n midcomConfigMaxLifetime\n\nSNMP SET requests to this object may be rejected or the\nvalue of the object after an accepted SET operation may be\nless than the value that was contained in the SNMP SET\nrequest.") midcomConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 1, 2)) midcomConfigMaxLifetime = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 2, 1), Unsigned32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: midcomConfigMaxLifetime.setDescription("When retrieved, this object returns the maximum lifetime,\nin seconds, that this middlebox allows policy rules to\nhave.") midcomConfigPersistentRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 2, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: midcomConfigPersistentRules.setDescription("When retrieved, this object returns true(1) if the\nMIDCOM-MIB implementation can store policy rules\npersistently. Otherwise, it returns false(2).\n\nA value of true(1) indicates that there may be\nentries in the midcomRuleTable with object\nmidcomRuleStorageType set to value nonVolatile(3).") midcomConfigIfTable = MibTable((1, 3, 6, 1, 2, 1, 171, 1, 2, 3)) if mibBuilder.loadTexts: midcomConfigIfTable.setDescription("This table indicates capabilities of the MIDCOM-MIB\nimplementation per IP interface.\n\nThe table is indexed by the object midcomConfigIfIndex.\n\nFor indexing a single interface, this object contains\nthe value of the ifIndex object that is associated\nwith the interface. If an entry with\nmidcomConfigIfIndex = 0 occurs, then bits set in\nobjects of this entry apply to all interfaces for which\nthere is no entry in this table with the interface's\nindex.") midcomConfigIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 171, 1, 2, 3, 1)).setIndexNames((0, "MIDCOM-MIB", "midcomConfigIfIndex")) if mibBuilder.loadTexts: midcomConfigIfEntry.setDescription("An entry describing the capabilities of a middlebox\nwith respect to the indexed IP interface.") midcomConfigIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 2, 3, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: midcomConfigIfIndex.setDescription("The index of an entry in the midcomConfigIfTable.\n\nFor values different from zero, this object\nidentifies an IP interface by containing the same\nvalue as the ifIndex object associated with the\ninterface.\n\nNote that the index of a particular interface in the\nifTable may change after a re-initialization of the\nmiddlebox, for example, after adding another interface to\nit. In such a case, the value of this object may change,\nbut the interface referred to by the MIDCOM-MIB MUST still\nbe the same. If, after a re-initialization of the\nmiddlebox, the interface referred to before\nre-initialization cannot be uniquely mapped anymore to a\nparticular entry in the ifTable, then the value of object\nmidcomConfigIfEnabled of the same entry MUST be changed to\nfalse(2).\n\nIf the object has a value of 0, then values\nspecified by further objects of the same entry\napply to all interfaces for which there is no\nexplicit entry in the midcomConfigIfTable.") midcomConfigIfBits = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 2, 3, 1, 2), Bits().subtype(namedValues=NamedValues(("ipv4", 0), ("ipv6", 1), ("addressWildcards", 2), ("portWildcards", 3), ("firewall", 4), ("nat", 5), ("portTranslation", 6), ("protocolTranslation", 7), ("twiceNat", 8), ("inside", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomConfigIfBits.setDescription("When retrieved, this object returns a set of bits\nindicating the capabilities (or configuration) of\nthe middlebox with respect to the referenced IP interface.\nIf the index equals 0, then all set bits apply to all\ninterfaces.\n\nIf the ipv4(0) bit is set, then the middlebox supports\nIPv4 at the indexed IP interface.\n\nIf the ipv6(1) bit is set, then the middlebox supports\nIPv6 at the indexed IP interface.\n\nIf the addressWildcards(2) bit is set, then the\nmiddlebox supports IP address wildcarding at the indexed\nIP interface.\n\nIf the portWildcards(3) bit is set, then the\nmiddlebox supports port wildcarding at the indexed\nIP interface.\n\nIf the firewall(4) bit is set, then the middlebox offers\nfirewall functionality at the indexed interface.\n\nIf the nat(5) bit is set, then the middlebox offers\nnetwork address translation service at the indexed\ninterface.\n\nIf the portTranslation(6) bit is set, then the middlebox\noffers port translation service at the indexed interface.\nThis bit is only relevant if nat(5) is set.\n\nIf the protocolTranslation(7) bit is set, then the\nmiddlebox offers protocol translation service between\nIPv4 and IPv6 at the indexed interface. This bit is only\nrelevant if nat(5) is set.\n\nIf the twiceNat(8) bit is set, then the middlebox offers\ntwice network address translation service at the indexed\ninterface. This bit is only relevant if nat(5) is set.\n\nIf the inside(9) bit is set, then the indexed interface is\n\n\n\nan inside interface with respect to NAT functionality.\nOtherwise, it is an outside interface. This bit is only\nrelevant if nat(5) is set. An SNMP agent supporting both\nthe MIDCOM-MIB module and the NAT-MIB module SHOULD ensure\nthat the value of this object is consistent with the values\nof corresponding objects in the NAT-MIB module.") midcomConfigIfEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 2, 3, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: midcomConfigIfEnabled.setDescription("The value of this object indicates the availability of\nthe middlebox service described by midcomConfigIfBits\nat the indexed IP interface.\n\nBy writing to this object, the MIDCOM support for the\nentire IP interface can be switched on or off. Setting\nthis object to false(2) immediately stops middlebox\nsupport at the indexed IP interface. This implies that\nall policy rules that use NAT or firewall resources at\nthe indexed IP interface are terminated immediately.\nIn this case, the MIDCOM agent MUST send\nmidcomUnsolicitedRuleEvent to all MIDCOM clients that\nhave access to one of the terminated rules.") midcomConfigFirewallTable = MibTable((1, 3, 6, 1, 2, 1, 171, 1, 2, 4)) if mibBuilder.loadTexts: midcomConfigFirewallTable.setDescription("This table lists the firewall configuration per IP interface.\n\nIt can be used for configuring how policy rules created by\nMIDCOM clients are realized as firewall rules of a firewall\nimplementation. Particularly, the priority used for MIDCOM\npolicy rules can be configured. For a single firewall\nimplementation at a particular IP interface, all MIDCOM\npolicy rules are realized as firewall rules with the same\n\n\n\npriority. Also, a firewall rule group name can be\nconfigured.\n\nThe table is indexed by the object midcomConfigFirewallIndex.\nFor indexing a single interface, this object contains the\nvalue of the ifIndex object that is associated with the\ninterface. If an entry with midcomConfigFirewallIndex = 0\noccurs, then bits set in objects of this entry apply to all\ninterfaces for which there is no entry in this table for the\ninterface's index.") midcomConfigFirewallEntry = MibTableRow((1, 3, 6, 1, 2, 1, 171, 1, 2, 4, 1)).setIndexNames((0, "MIDCOM-MIB", "midcomConfigFirewallIndex")) if mibBuilder.loadTexts: midcomConfigFirewallEntry.setDescription("An entry describing a particular set of\nfirewall resources.") midcomConfigFirewallIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 2, 4, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: midcomConfigFirewallIndex.setDescription("The index of an entry in the midcomConfigFirewallTable.\n\nFor values different from 0, this object identifies an\nIP interface by containing the same value as the ifIndex\nobject associated with the interface.\n\nNote that the index of a particular interface in the\nifTable may change after a re-initialization of the\nmiddlebox, for example, after adding another interface to\nit. In such a case, the value of this object may change,\nbut the interface referred to by the MIDCOM-MIB MUST still\nbe the same. If, after a re-initialization of the\nmiddlebox, the interface referred to before\nre-initialization cannot be uniquely mapped anymore to a\nparticular entry in the ifTable, then the entry in the\n\n\n\nmidcomConfigFirewallTable MUST be deleted.\n\nIf the object has a value of 0, then values specified by\nfurther objects of the same entry apply to all interfaces\nfor which there is no explicit entry in the\nmidcomConfigFirewallTable.") midcomConfigFirewallGroupId = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 2, 4, 1, 2), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: midcomConfigFirewallGroupId.setDescription("The firewall rule group to which all firewall rules are\nassigned that the MIDCOM server creates for the interface\nindicated by object midcomConfigFirewallIndex. If the\nvalue of object midcomConfigFirewallIndex is 0, then all\nfirewall rules of the MIDCOM server that are created for\ninterfaces with no specific entry in the\nmidcomConfigFirewallTable are assigned to the firewall\nrule group indicated by the value of this object.") midcomConfigFirewallPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 2, 4, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: midcomConfigFirewallPriority.setDescription("The priority assigned to all firewall rules that the\nMIDCOM server creates for the interface indicated by\nobject midcomConfigFirewallIndex. If the value of object\nmidcomConfigFirewallIndex is 0, then this priority is\nassigned to all firewall rules of the MIDCOM server that\nare created for interfaces for which there is no specific\nentry in the midcomConfigFirewallTable.") midcomMonitoring = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 1, 3)) midcomResourceTable = MibTable((1, 3, 6, 1, 2, 1, 171, 1, 3, 1)) if mibBuilder.loadTexts: midcomResourceTable.setDescription("This table lists all used middlebox resources per\nMIDCOM policy rule.\n\nThe midcomResourceTable augments the\n\n\n\nmidcomRuleTable.") midcomResourceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1)) if mibBuilder.loadTexts: midcomResourceEntry.setDescription("An entry describing a particular set of middlebox\nresources.") midcomRscNatInternalAddrBindMode = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1, 4), MidcomNatBindMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRscNatInternalAddrBindMode.setDescription("An indication of whether this policy rule uses an address\nNAT bind or an address-port NAT bind for binding the\ninternal address.\n\nIf the MIDCOM-MIB module is operated together with\nthe NAT-MIB module (RFC 4008) then object\nmidcomRscNatInternalAddrBindMode contains the same\nvalue as the corresponding object\nnatSessionPrivateSrcEPBindMode of the NAT-MIB module.") midcomRscNatInternalAddrBindId = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1, 5), NatBindIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRscNatInternalAddrBindId.setDescription("This object references to the allocated internal NAT\nbind that is used by this policy rule. A NAT bind\ndescribes the mapping of internal addresses to\noutside addresses. MIDCOM-MIB implementations can\n\n\n\nread this object to learn the corresponding NAT bind\nresource for this particular policy rule.\n\nIf the MIDCOM-MIB module is operated together with\nthe NAT-MIB module (RFC 4008) then object\nmidcomRscNatInternalAddrBindId contains the same\nvalue as the corresponding object\nnatSessionPrivateSrcEPBindId of the NAT-MIB module.") midcomRscNatInsideAddrBindMode = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1, 6), MidcomNatBindMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRscNatInsideAddrBindMode.setDescription("An indication of whether this policy rule uses an address\nNAT bind or an address-port NAT bind for binding the\nexternal address.\n\nIf the MIDCOM-MIB module is operated together with\nthe NAT-MIB module (RFC 4008), then object\nmidcomRscNatInsideAddrBindMode contains the same\nvalue as the corresponding object\nnatSessionPrivateDstEPBindMode of the NAT-MIB module.") midcomRscNatInsideAddrBindId = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1, 7), NatBindIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRscNatInsideAddrBindId.setDescription("This object refers to the allocated external NAT\nbind that is used by this policy rule. A NAT bind\ndescribes the mapping of external addresses to\ninside addresses. MIDCOM-MIB implementations can\nread this object to learn the corresponding NAT bind\nresource for this particular policy rule.\n\nIf the MIDCOM-MIB module is operated together with the\nNAT-MIB module (RFC 4008), then object\nmidcomRscNatInsideAddrBindId contains the same\nvalue as the corresponding object\nnatSessionPrivateDstEPBindId of the NAT-MIB module.") midcomRscNatSessionId1 = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1, 8), MidcomNatSessionIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRscNatSessionId1.setDescription("This object refers to the first allocated NAT session for\nthis policy rule. MIDCOM-MIB implementations can read this\nobject to learn whether or not a NAT session for a\nparticular policy rule is used. A value of 0 means that no\nNAT session is allocated for this policy rule. A value\nother than 0 refers to the NAT session.") midcomRscNatSessionId2 = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1, 9), MidcomNatSessionIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRscNatSessionId2.setDescription("This object refers to the second allocated NAT session for\nthis policy rule. MIDCOM-MIB implementations can read this\nobject to learn whether or not a NAT session for a\nparticular policy rule is used. A value of 0 means that no\nNAT session is allocated for this policy rule. A value\nother than 0 refers to the NAT session.") midcomRscFirewallRuleId = MibTableColumn((1, 3, 6, 1, 2, 1, 171, 1, 3, 1, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomRscFirewallRuleId.setDescription("This object refers to the allocated firewall\nrule in the firewall engine for this policy rule.\nMIDCOM-MIB implementations can read this value to\nlearn whether a firewall rule for this particular\npolicy rule is used or not. A value of 0 means that\nno firewall rule is allocated for this policy rule.\nA value other than 0 refers to the firewall rule\nnumber within the firewall engine.") midcomStatistics = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 1, 3, 2)) midcomCurrentOwners = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomCurrentOwners.setDescription("The number of different values for midcomRuleOwner\nfor all current entries in the midcomRuleTable.") midcomTotalRejectedRuleEntries = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalRejectedRuleEntries.setDescription("The total number of failed attempts to create an entry\nin the midcomRuleTable.") midcomCurrentRulesIncomplete = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomCurrentRulesIncomplete.setDescription("The current number of policy rules that are incomplete.\n\nPolicy rules are loaded via row entries in the\nmidcomRuleTable. This object counts policy rules that are\nloaded but not fully specified, i.e., they are in state\nnewEntry(1) or setting(2).") midcomTotalIncorrectReserveRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalIncorrectReserveRules.setDescription("The total number of policy reserve rules that failed\nparameter check and entered state incorrectRequest(4).") midcomTotalRejectedReserveRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalRejectedReserveRules.setDescription("The total number of policy reserve rules that failed\nwhile being processed and entered state requestRejected(6).") midcomCurrentActiveReserveRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomCurrentActiveReserveRules.setDescription("The number of currently active policy reserve rules.") midcomTotalExpiredReserveRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalExpiredReserveRules.setDescription("The total number of expired policy reserve rules\n(entered termination state timedOut(9)).") midcomTotalTerminatedOnRqReserveRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalTerminatedOnRqReserveRules.setDescription("The total number of policy reserve rules that were\nterminated on request (entered termination state\nterminatedOnRequest(10)).") midcomTotalTerminatedReserveRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalTerminatedReserveRules.setDescription("The total number of policy reserve rules that were\nterminated, but not on request (entered termination state\nterminated(11)).") midcomTotalIncorrectEnableRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalIncorrectEnableRules.setDescription("The total number of policy enable rules that failed\nparameter check and entered state incorrectRequest(4).") midcomTotalRejectedEnableRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalRejectedEnableRules.setDescription("The total number of policy enable rules that failed\nwhile being processed and entered state requestRejected(6).") midcomCurrentActiveEnableRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomCurrentActiveEnableRules.setDescription("The number of currently active policy enable rules.") midcomTotalExpiredEnableRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalExpiredEnableRules.setDescription("The total number of expired policy enable rules\n(entered termination state timedOut(9)).") midcomTotalTerminatedOnRqEnableRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalTerminatedOnRqEnableRules.setDescription("The total number of policy enable rules that were\nterminated on request (entered termination state\nterminatedOnRequest(10)).") midcomTotalTerminatedEnableRules = MibScalar((1, 3, 6, 1, 2, 1, 171, 1, 3, 2, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: midcomTotalTerminatedEnableRules.setDescription("The total number of policy enable rules that were\nterminated, but not on request (entered termination state\nterminated(11)).") midcomConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 2)) midcomCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 2, 1)) midcomGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 171, 2, 2)) # Augmentions midcomRuleEntry.registerAugmentions(("MIDCOM-MIB", "midcomResourceEntry")) midcomResourceEntry.setIndexNames(*midcomRuleEntry.getIndexNames()) # Notifications midcomUnsolicitedRuleEvent = NotificationType((1, 3, 6, 1, 2, 1, 171, 0, 1)).setObjects(*(("MIDCOM-MIB", "midcomRuleLifetime"), ("MIDCOM-MIB", "midcomRuleOperStatus"), ) ) if mibBuilder.loadTexts: midcomUnsolicitedRuleEvent.setDescription("This notification is generated whenever the value of\nmidcomRuleOperStatus enters any error state or any\ntermination state without an explicit trigger by a\nMIDCOM client.") midcomSolicitedRuleEvent = NotificationType((1, 3, 6, 1, 2, 1, 171, 0, 2)).setObjects(*(("MIDCOM-MIB", "midcomRuleLifetime"), ("MIDCOM-MIB", "midcomRuleOperStatus"), ) ) if mibBuilder.loadTexts: midcomSolicitedRuleEvent.setDescription("This notification is generated whenever the value\nof midcomRuleOperStatus enters one of the states\n{reserved, enabled, any error state, any termination state}\nas a result of a MIDCOM agent writing successfully to\nobject midcomRuleAdminStatus.\n\nIn addition, it is generated when the lifetime of\na rule was changed by successfully writing to object\nmidcomRuleLifetime.") midcomSolicitedGroupEvent = NotificationType((1, 3, 6, 1, 2, 1, 171, 0, 3)).setObjects(*(("MIDCOM-MIB", "midcomGroupLifetime"), ) ) if mibBuilder.loadTexts: midcomSolicitedGroupEvent.setDescription("This notification is generated for indicating that the\nlifetime of all member rules of the group was changed by\nsuccessfully writing to object midcomGroupLifetime.\n\nNote that this notification is only sent if the lifetime\nof a group was changed by successfully writing to object\nmidcomGroupLifetime. No notification is sent\n - if a group's lifetime is changed by writing to object\n midcomRuleLifetime of any of its member policies,\n - if a group's lifetime expires (in this case,\n notifications are sent for all member policies), or\n - if the group is terminated by terminating the last\n of its member policies without writing to object\n midcomGroupLifetime.") # Groups midcomRuleGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 171, 2, 2, 1)).setObjects(*(("MIDCOM-MIB", "midcomRuleLifetime"), ("MIDCOM-MIB", "midcomRuleRowStatus"), ("MIDCOM-MIB", "midcomRuleStorageTime"), ("MIDCOM-MIB", "midcomRuleOutsideIpAddr"), ("MIDCOM-MIB", "midcomRulePortRange"), ("MIDCOM-MIB", "midcomRuleInterface"), ("MIDCOM-MIB", "midcomRuleMaxIdleTime"), ("MIDCOM-MIB", "midcomRuleExternalPort"), ("MIDCOM-MIB", "midcomRuleInternalIpAddr"), ("MIDCOM-MIB", "midcomRuleInternalIpPrefixLength"), ("MIDCOM-MIB", "midcomRuleExternalIpVersion"), ("MIDCOM-MIB", "midcomRuleOperStatus"), ("MIDCOM-MIB", "midcomRuleFlowDirection"), ("MIDCOM-MIB", "midcomRuleInsideIpAddr"), ("MIDCOM-MIB", "midcomRuleStorageType"), ("MIDCOM-MIB", "midcomGroupLifetime"), ("MIDCOM-MIB", "midcomRuleAdminStatus"), ("MIDCOM-MIB", "midcomRuleError"), ("MIDCOM-MIB", "midcomRuleExternalIpPrefixLength"), ("MIDCOM-MIB", "midcomRuleTransportProtocol"), ("MIDCOM-MIB", "midcomRuleInsidePort"), ("MIDCOM-MIB", "midcomRuleInternalPort"), ("MIDCOM-MIB", "midcomRuleInternalIpVersion"), ("MIDCOM-MIB", "midcomRuleExternalIpAddr"), ("MIDCOM-MIB", "midcomRuleOutsidePort"), ) ) if mibBuilder.loadTexts: midcomRuleGroup.setDescription("A collection of objects providing information about\npolicy rules and policy rule groups.") midcomCapabilitiesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 171, 2, 2, 2)).setObjects(*(("MIDCOM-MIB", "midcomConfigIfEnabled"), ("MIDCOM-MIB", "midcomConfigPersistentRules"), ("MIDCOM-MIB", "midcomConfigIfBits"), ("MIDCOM-MIB", "midcomConfigMaxLifetime"), ) ) if mibBuilder.loadTexts: midcomCapabilitiesGroup.setDescription("A collection of objects providing information about\nthe capabilities of a middlebox.") midcomConfigFirewallGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 171, 2, 2, 3)).setObjects(*(("MIDCOM-MIB", "midcomConfigFirewallGroupId"), ("MIDCOM-MIB", "midcomConfigFirewallPriority"), ) ) if mibBuilder.loadTexts: midcomConfigFirewallGroup.setDescription("A collection of objects providing information about\nthe firewall rule group and firewall rule priority to\nbe used by firewalls loaded through MIDCOM.") midcomResourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 171, 2, 2, 4)).setObjects(*(("MIDCOM-MIB", "midcomRscNatInternalAddrBindMode"), ("MIDCOM-MIB", "midcomRscNatInsideAddrBindMode"), ("MIDCOM-MIB", "midcomRscNatInsideAddrBindId"), ("MIDCOM-MIB", "midcomRscNatSessionId2"), ("MIDCOM-MIB", "midcomRscNatSessionId1"), ("MIDCOM-MIB", "midcomRscFirewallRuleId"), ("MIDCOM-MIB", "midcomRscNatInternalAddrBindId"), ) ) if mibBuilder.loadTexts: midcomResourceGroup.setDescription("A collection of objects providing information about\nthe used NAT and firewall resources.") midcomStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 171, 2, 2, 5)).setObjects(*(("MIDCOM-MIB", "midcomTotalRejectedRuleEntries"), ("MIDCOM-MIB", "midcomTotalTerminatedEnableRules"), ("MIDCOM-MIB", "midcomTotalTerminatedReserveRules"), ("MIDCOM-MIB", "midcomTotalTerminatedOnRqEnableRules"), ("MIDCOM-MIB", "midcomCurrentRulesIncomplete"), ("MIDCOM-MIB", "midcomTotalExpiredEnableRules"), ("MIDCOM-MIB", "midcomTotalIncorrectEnableRules"), ("MIDCOM-MIB", "midcomCurrentOwners"), ("MIDCOM-MIB", "midcomTotalExpiredReserveRules"), ("MIDCOM-MIB", "midcomTotalRejectedReserveRules"), ("MIDCOM-MIB", "midcomCurrentActiveEnableRules"), ("MIDCOM-MIB", "midcomTotalIncorrectReserveRules"), ("MIDCOM-MIB", "midcomCurrentActiveReserveRules"), ("MIDCOM-MIB", "midcomTotalRejectedEnableRules"), ("MIDCOM-MIB", "midcomTotalTerminatedOnRqReserveRules"), ) ) if mibBuilder.loadTexts: midcomStatisticsGroup.setDescription("A collection of objects providing statistical\ninformation about the MIDCOM server.") midcomNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 171, 2, 2, 6)).setObjects(*(("MIDCOM-MIB", "midcomUnsolicitedRuleEvent"), ("MIDCOM-MIB", "midcomSolicitedGroupEvent"), ("MIDCOM-MIB", "midcomSolicitedRuleEvent"), ) ) if mibBuilder.loadTexts: midcomNotificationsGroup.setDescription("The notifications emitted by the midcomMIB.") # Compliances midcomCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 171, 2, 1, 1)).setObjects(*(("MIDCOM-MIB", "midcomRuleGroup"), ("MIDCOM-MIB", "midcomResourceGroup"), ("MIDCOM-MIB", "midcomNotificationsGroup"), ("MIDCOM-MIB", "midcomStatisticsGroup"), ("MIDCOM-MIB", "midcomConfigFirewallGroup"), ("MIDCOM-MIB", "midcomCapabilitiesGroup"), ) ) if mibBuilder.loadTexts: midcomCompliance.setDescription("The compliance statement for implementations of the\nMIDCOM-MIB module.\n\nNote that compliance with this compliance\nstatement requires compliance with the\nifCompliance3 MODULE-COMPLIANCE statement of the\nIF-MIB [RFC2863].") # Exports # Module identity mibBuilder.exportSymbols("MIDCOM-MIB", PYSNMP_MODULE_ID=midcomMIB) # Types mibBuilder.exportSymbols("MIDCOM-MIB", MidcomNatBindMode=MidcomNatBindMode, MidcomNatSessionIdOrZero=MidcomNatSessionIdOrZero) # Objects mibBuilder.exportSymbols("MIDCOM-MIB", midcomMIB=midcomMIB, midcomNotifications=midcomNotifications, midcomObjects=midcomObjects, midcomTransaction=midcomTransaction, midcomRuleTable=midcomRuleTable, midcomRuleEntry=midcomRuleEntry, midcomRuleOwner=midcomRuleOwner, midcomRuleIndex=midcomRuleIndex, midcomRuleAdminStatus=midcomRuleAdminStatus, midcomRuleOperStatus=midcomRuleOperStatus, midcomRuleStorageType=midcomRuleStorageType, midcomRuleStorageTime=midcomRuleStorageTime, midcomRuleError=midcomRuleError, midcomRuleInterface=midcomRuleInterface, midcomRuleFlowDirection=midcomRuleFlowDirection, midcomRuleMaxIdleTime=midcomRuleMaxIdleTime, midcomRuleTransportProtocol=midcomRuleTransportProtocol, midcomRulePortRange=midcomRulePortRange, midcomRuleInternalIpVersion=midcomRuleInternalIpVersion, midcomRuleExternalIpVersion=midcomRuleExternalIpVersion, midcomRuleInternalIpAddr=midcomRuleInternalIpAddr, midcomRuleInternalIpPrefixLength=midcomRuleInternalIpPrefixLength, midcomRuleInternalPort=midcomRuleInternalPort, midcomRuleExternalIpAddr=midcomRuleExternalIpAddr, midcomRuleExternalIpPrefixLength=midcomRuleExternalIpPrefixLength, midcomRuleExternalPort=midcomRuleExternalPort, midcomRuleInsideIpAddr=midcomRuleInsideIpAddr, midcomRuleInsidePort=midcomRuleInsidePort, midcomRuleOutsideIpAddr=midcomRuleOutsideIpAddr, midcomRuleOutsidePort=midcomRuleOutsidePort, midcomRuleLifetime=midcomRuleLifetime, midcomRuleRowStatus=midcomRuleRowStatus, midcomGroupTable=midcomGroupTable, midcomGroupEntry=midcomGroupEntry, midcomGroupIndex=midcomGroupIndex, midcomGroupLifetime=midcomGroupLifetime, midcomConfig=midcomConfig, midcomConfigMaxLifetime=midcomConfigMaxLifetime, midcomConfigPersistentRules=midcomConfigPersistentRules, midcomConfigIfTable=midcomConfigIfTable, midcomConfigIfEntry=midcomConfigIfEntry, midcomConfigIfIndex=midcomConfigIfIndex, midcomConfigIfBits=midcomConfigIfBits, midcomConfigIfEnabled=midcomConfigIfEnabled, midcomConfigFirewallTable=midcomConfigFirewallTable, midcomConfigFirewallEntry=midcomConfigFirewallEntry, midcomConfigFirewallIndex=midcomConfigFirewallIndex, midcomConfigFirewallGroupId=midcomConfigFirewallGroupId, midcomConfigFirewallPriority=midcomConfigFirewallPriority, midcomMonitoring=midcomMonitoring, midcomResourceTable=midcomResourceTable, midcomResourceEntry=midcomResourceEntry, midcomRscNatInternalAddrBindMode=midcomRscNatInternalAddrBindMode, midcomRscNatInternalAddrBindId=midcomRscNatInternalAddrBindId, midcomRscNatInsideAddrBindMode=midcomRscNatInsideAddrBindMode, midcomRscNatInsideAddrBindId=midcomRscNatInsideAddrBindId, midcomRscNatSessionId1=midcomRscNatSessionId1, midcomRscNatSessionId2=midcomRscNatSessionId2, midcomRscFirewallRuleId=midcomRscFirewallRuleId, midcomStatistics=midcomStatistics, midcomCurrentOwners=midcomCurrentOwners, midcomTotalRejectedRuleEntries=midcomTotalRejectedRuleEntries, midcomCurrentRulesIncomplete=midcomCurrentRulesIncomplete, midcomTotalIncorrectReserveRules=midcomTotalIncorrectReserveRules, midcomTotalRejectedReserveRules=midcomTotalRejectedReserveRules, midcomCurrentActiveReserveRules=midcomCurrentActiveReserveRules, midcomTotalExpiredReserveRules=midcomTotalExpiredReserveRules, midcomTotalTerminatedOnRqReserveRules=midcomTotalTerminatedOnRqReserveRules, midcomTotalTerminatedReserveRules=midcomTotalTerminatedReserveRules, midcomTotalIncorrectEnableRules=midcomTotalIncorrectEnableRules, midcomTotalRejectedEnableRules=midcomTotalRejectedEnableRules, midcomCurrentActiveEnableRules=midcomCurrentActiveEnableRules, midcomTotalExpiredEnableRules=midcomTotalExpiredEnableRules, midcomTotalTerminatedOnRqEnableRules=midcomTotalTerminatedOnRqEnableRules, midcomTotalTerminatedEnableRules=midcomTotalTerminatedEnableRules, midcomConformance=midcomConformance, midcomCompliances=midcomCompliances, midcomGroups=midcomGroups) # Notifications mibBuilder.exportSymbols("MIDCOM-MIB", midcomUnsolicitedRuleEvent=midcomUnsolicitedRuleEvent, midcomSolicitedRuleEvent=midcomSolicitedRuleEvent, midcomSolicitedGroupEvent=midcomSolicitedGroupEvent) # Groups mibBuilder.exportSymbols("MIDCOM-MIB", midcomRuleGroup=midcomRuleGroup, midcomCapabilitiesGroup=midcomCapabilitiesGroup, midcomConfigFirewallGroup=midcomConfigFirewallGroup, midcomResourceGroup=midcomResourceGroup, midcomStatisticsGroup=midcomStatisticsGroup, midcomNotificationsGroup=midcomNotificationsGroup) # Compliances mibBuilder.exportSymbols("MIDCOM-MIB", midcomCompliance=midcomCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/UDP-MIB.py0000644000014400001440000004405511736645141020071 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python UDP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") # Objects udp = MibIdentifier((1, 3, 6, 1, 2, 1, 7)) udpInDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 7, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpInDatagrams.setDescription("The total number of UDP datagrams delivered to UDP\nusers.\n\n\n\n\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by discontinuities in the\nvalue of sysUpTime.") udpNoPorts = MibScalar((1, 3, 6, 1, 2, 1, 7, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpNoPorts.setDescription("The total number of received UDP datagrams for which\nthere was no application at the destination port.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by discontinuities in the\nvalue of sysUpTime.") udpInErrors = MibScalar((1, 3, 6, 1, 2, 1, 7, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpInErrors.setDescription("The number of received UDP datagrams that could not be\ndelivered for reasons other than the lack of an\napplication at the destination port.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by discontinuities in the\nvalue of sysUpTime.") udpOutDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 7, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpOutDatagrams.setDescription("The total number of UDP datagrams sent from this\nentity.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by discontinuities in the\nvalue of sysUpTime.") udpTable = MibTable((1, 3, 6, 1, 2, 1, 7, 5)) if mibBuilder.loadTexts: udpTable.setDescription("A table containing IPv4-specific UDP listener\ninformation. It contains information about all local\nIPv4 UDP end-points on which an application is\ncurrently accepting datagrams. This table has been\ndeprecated in favor of the version neutral\nudpEndpointTable.") udpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 7, 5, 1)).setIndexNames((0, "UDP-MIB", "udpLocalAddress"), (0, "UDP-MIB", "udpLocalPort")) if mibBuilder.loadTexts: udpEntry.setDescription("Information about a particular current UDP listener.") udpLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 5, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpLocalAddress.setDescription("The local IP address for this UDP listener. In the\ncase of a UDP listener that is willing to accept\ndatagrams for any IP interface associated with the\nnode, the value 0.0.0.0 is used.") udpLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: udpLocalPort.setDescription("The local port number for this UDP listener.") udpEndpointTable = MibTable((1, 3, 6, 1, 2, 1, 7, 7)) if mibBuilder.loadTexts: udpEndpointTable.setDescription("A table containing information about this entity's UDP\nendpoints on which a local application is currently\naccepting or sending datagrams.\n\n\n\n\n\nThe address type in this table represents the address\ntype used for the communication, irrespective of the\nhigher-layer abstraction. For example, an application\nusing IPv6 'sockets' to communicate via IPv4 between\n::ffff:10.0.0.1 and ::ffff:10.0.0.2 would use\nInetAddressType ipv4(1).\n\nUnlike the udpTable in RFC 2013, this table also allows\nthe representation of an application that completely\nspecifies both local and remote addresses and ports. A\nlistening application is represented in three possible\nways:\n\n1) An application that is willing to accept both IPv4\n and IPv6 datagrams is represented by a\n udpEndpointLocalAddressType of unknown(0) and a\n udpEndpointLocalAddress of ''h (a zero-length\n octet-string).\n\n2) An application that is willing to accept only IPv4\n or only IPv6 datagrams is represented by a\n udpEndpointLocalAddressType of the appropriate\n address type and a udpEndpointLocalAddress of\n '0.0.0.0' or '::' respectively.\n\n3) An application that is listening for datagrams only\n for a specific IP address but from any remote\n system is represented by a\n udpEndpointLocalAddressType of the appropriate\n address type, with udpEndpointLocalAddress\n specifying the local address.\n\nIn all cases where the remote is a wildcard, the\nudpEndpointRemoteAddressType is unknown(0), the\nudpEndpointRemoteAddress is ''h (a zero-length\noctet-string), and the udpEndpointRemotePort is 0.\n\nIf the operating system is demultiplexing UDP packets\nby remote address and port, or if the application has\n'connected' the socket specifying a default remote\naddress and port, the udpEndpointRemote* values should\nbe used to reflect this.") udpEndpointEntry = MibTableRow((1, 3, 6, 1, 2, 1, 7, 7, 1)).setIndexNames((0, "UDP-MIB", "udpEndpointLocalAddressType"), (0, "UDP-MIB", "udpEndpointLocalAddress"), (0, "UDP-MIB", "udpEndpointLocalPort"), (0, "UDP-MIB", "udpEndpointRemoteAddressType"), (0, "UDP-MIB", "udpEndpointRemoteAddress"), (0, "UDP-MIB", "udpEndpointRemotePort"), (0, "UDP-MIB", "udpEndpointInstance")) if mibBuilder.loadTexts: udpEndpointEntry.setDescription("Information about a particular current UDP endpoint.\n\nImplementers need to be aware that if the total number\nof elements (octets or sub-identifiers) in\nudpEndpointLocalAddress and udpEndpointRemoteAddress\nexceeds 111, then OIDs of column instances in this table\nwill have more than 128 sub-identifiers and cannot be\naccessed using SNMPv1, SNMPv2c, or SNMPv3.") udpEndpointLocalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpEndpointLocalAddressType.setDescription("The address type of udpEndpointLocalAddress. Only\nIPv4, IPv4z, IPv6, and IPv6z addresses are expected, or\nunknown(0) if datagrams for all local IP addresses are\naccepted.") udpEndpointLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpEndpointLocalAddress.setDescription("The local IP address for this UDP endpoint.\n\nThe value of this object can be represented in three\n\n\n\npossible ways, depending on the characteristics of the\nlistening application:\n\n1. For an application that is willing to accept both\n IPv4 and IPv6 datagrams, the value of this object\n must be ''h (a zero-length octet-string), with\n the value of the corresponding instance of the\n udpEndpointLocalAddressType object being unknown(0).\n\n2. For an application that is willing to accept only IPv4\n or only IPv6 datagrams, the value of this object\n must be '0.0.0.0' or '::', respectively, while the\n corresponding instance of the\n udpEndpointLocalAddressType object represents the\n appropriate address type.\n\n3. For an application that is listening for data\n destined only to a specific IP address, the value\n of this object is the specific IP address for which\n this node is receiving packets, with the\n corresponding instance of the\n udpEndpointLocalAddressType object representing the\n appropriate address type.\n\nAs this object is used in the index for the\nudpEndpointTable, implementors of this table should be\ncareful not to create entries that would result in OIDs\nwith more than 128 subidentifiers; else the information\ncannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") udpEndpointLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 3), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpEndpointLocalPort.setDescription("The local port number for this UDP endpoint.") udpEndpointRemoteAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 4), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpEndpointRemoteAddressType.setDescription("The address type of udpEndpointRemoteAddress. Only\nIPv4, IPv4z, IPv6, and IPv6z addresses are expected, or\nunknown(0) if datagrams for all remote IP addresses are\naccepted. Also, note that some combinations of\n\n\n\nudpEndpointLocalAdressType and\nudpEndpointRemoteAddressType are not supported. In\nparticular, if the value of this object is not\nunknown(0), it is expected to always refer to the\nsame IP version as udpEndpointLocalAddressType.") udpEndpointRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 5), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpEndpointRemoteAddress.setDescription("The remote IP address for this UDP endpoint. If\ndatagrams from any remote system are to be accepted,\nthis value is ''h (a zero-length octet-string).\nOtherwise, it has the type described by\nudpEndpointRemoteAddressType and is the address of the\nremote system from which datagrams are to be accepted\n(or to which all datagrams will be sent).\n\nAs this object is used in the index for the\nudpEndpointTable, implementors of this table should be\ncareful not to create entries that would result in OIDs\nwith more than 128 subidentifiers; else the information\ncannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.") udpEndpointRemotePort = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 6), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpEndpointRemotePort.setDescription("The remote port number for this UDP endpoint. If\ndatagrams from any remote system are to be accepted,\nthis value is zero.") udpEndpointInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: udpEndpointInstance.setDescription("The instance of this tuple. This object is used to\ndistinguish among multiple processes 'connected' to\nthe same UDP endpoint. For example, on a system\nimplementing the BSD sockets interface, this would be\nused to support the SO_REUSEADDR and SO_REUSEPORT\nsocket options.") udpEndpointProcess = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 7, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpEndpointProcess.setDescription("The system's process ID for the process associated with\nthis endpoint, or zero if there is no such process.\nThis value is expected to be the same as\nHOST-RESOURCES-MIB::hrSWRunIndex or SYSAPPL-MIB::\nsysApplElmtRunIndex for some row in the appropriate\ntables.") udpHCInDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 7, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpHCInDatagrams.setDescription("The total number of UDP datagrams delivered to UDP\nusers, for devices that can receive more than 1\nmillion UDP datagrams per second.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by discontinuities in the\nvalue of sysUpTime.") udpHCOutDatagrams = MibScalar((1, 3, 6, 1, 2, 1, 7, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpHCOutDatagrams.setDescription("The total number of UDP datagrams sent from this\nentity, for devices that can transmit more than 1\nmillion UDP datagrams per second.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by discontinuities in the\nvalue of sysUpTime.") udpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 50)).setRevisions(("2005-05-20 00:00","1994-11-01 00:00","1991-03-31 00:00",)) if mibBuilder.loadTexts: udpMIB.setOrganization("IETF IPv6 Working Group\nhttp://www.ietf.org/html.charters/ipv6-charter.html") if mibBuilder.loadTexts: udpMIB.setContactInfo("Bill Fenner (editor)\n\nAT&T Labs -- Research\n75 Willow Rd.\nMenlo Park, CA 94025\n\nPhone: +1 650 330-7893\nEmail: \n\nJohn Flick (editor)\n\nHewlett-Packard Company\n8000 Foothills Blvd. M/S 5557\nRoseville, CA 95747\n\nPhone: +1 916 785 4018\nEmail: \n\nSend comments to ") if mibBuilder.loadTexts: udpMIB.setDescription("The MIB module for managing UDP implementations.\nCopyright (C) The Internet Society (2005). This\nversion of this MIB module is part of RFC 4113;\nsee the RFC itself for full legal notices.") udpMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 50, 2)) udpMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 50, 2, 1)) udpMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 50, 2, 2)) # Augmentions # Groups udpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 50, 2, 2, 1)).setObjects(*(("UDP-MIB", "udpLocalAddress"), ("UDP-MIB", "udpOutDatagrams"), ("UDP-MIB", "udpLocalPort"), ("UDP-MIB", "udpInDatagrams"), ("UDP-MIB", "udpNoPorts"), ("UDP-MIB", "udpInErrors"), ) ) if mibBuilder.loadTexts: udpGroup.setDescription("The deprecated group of objects providing for\nmanagement of UDP over IPv4.") udpBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 50, 2, 2, 2)).setObjects(*(("UDP-MIB", "udpOutDatagrams"), ("UDP-MIB", "udpNoPorts"), ("UDP-MIB", "udpInErrors"), ("UDP-MIB", "udpInDatagrams"), ) ) if mibBuilder.loadTexts: udpBaseGroup.setDescription("The group of objects providing for counters of UDP\nstatistics.") udpHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 50, 2, 2, 3)).setObjects(*(("UDP-MIB", "udpHCInDatagrams"), ("UDP-MIB", "udpHCOutDatagrams"), ) ) if mibBuilder.loadTexts: udpHCGroup.setDescription("The group of objects providing for counters of high\nspeed UDP implementations.") udpEndpointGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 50, 2, 2, 4)).setObjects(*(("UDP-MIB", "udpEndpointProcess"), ) ) if mibBuilder.loadTexts: udpEndpointGroup.setDescription("The group of objects providing for the IP version\nindependent management of UDP 'endpoints'.") # Compliances udpMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 50, 2, 1, 1)).setObjects(*(("UDP-MIB", "udpGroup"), ) ) if mibBuilder.loadTexts: udpMIBCompliance.setDescription("The compliance statement for IPv4-only systems that\nimplement UDP. For IP version independence, this\ncompliance statement is deprecated in favor of\nudpMIBCompliance2. However, agents are still\nencouraged to implement these objects in order to\ninteroperate with the deployed base of managers.") udpMIBCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 50, 2, 1, 2)).setObjects(*(("UDP-MIB", "udpHCGroup"), ("UDP-MIB", "udpEndpointGroup"), ("UDP-MIB", "udpBaseGroup"), ) ) if mibBuilder.loadTexts: udpMIBCompliance2.setDescription("The compliance statement for systems that implement\nUDP.\n\nThere are a number of INDEX objects that cannot be\nrepresented in the form of OBJECT clauses in SMIv2, but\nfor which we have the following compliance\nrequirements, expressed in OBJECT clause form in this\ndescription clause:\n\n-- OBJECT udpEndpointLocalAddressType\n-- SYNTAX InetAddressType { unknown(0), ipv4(1),\n-- ipv6(2), ipv4z(3),\n-- ipv6z(4) }\n-- DESCRIPTION\n-- Support for dns(5) is not required.\n-- OBJECT udpEndpointLocalAddress\n\n\n\n-- SYNTAX InetAddress (SIZE(0|4|8|16|20))\n-- DESCRIPTION\n-- Support is only required for zero-length\n-- octet-strings, and for scoped and unscoped\n-- IPv4 and IPv6 addresses.\n-- OBJECT udpEndpointRemoteAddressType\n-- SYNTAX InetAddressType { unknown(0), ipv4(1),\n-- ipv6(2), ipv4z(3),\n-- ipv6z(4) }\n-- DESCRIPTION\n-- Support for dns(5) is not required.\n-- OBJECT udpEndpointRemoteAddress\n-- SYNTAX InetAddress (SIZE(0|4|8|16|20))\n-- DESCRIPTION\n-- Support is only required for zero-length\n-- octet-strings, and for scoped and unscoped\n-- IPv4 and IPv6 addresses.") # Exports # Module identity mibBuilder.exportSymbols("UDP-MIB", PYSNMP_MODULE_ID=udpMIB) # Objects mibBuilder.exportSymbols("UDP-MIB", udp=udp, udpInDatagrams=udpInDatagrams, udpNoPorts=udpNoPorts, udpInErrors=udpInErrors, udpOutDatagrams=udpOutDatagrams, udpTable=udpTable, udpEntry=udpEntry, udpLocalAddress=udpLocalAddress, udpLocalPort=udpLocalPort, udpEndpointTable=udpEndpointTable, udpEndpointEntry=udpEndpointEntry, udpEndpointLocalAddressType=udpEndpointLocalAddressType, udpEndpointLocalAddress=udpEndpointLocalAddress, udpEndpointLocalPort=udpEndpointLocalPort, udpEndpointRemoteAddressType=udpEndpointRemoteAddressType, udpEndpointRemoteAddress=udpEndpointRemoteAddress, udpEndpointRemotePort=udpEndpointRemotePort, udpEndpointInstance=udpEndpointInstance, udpEndpointProcess=udpEndpointProcess, udpHCInDatagrams=udpHCInDatagrams, udpHCOutDatagrams=udpHCOutDatagrams, udpMIB=udpMIB, udpMIBConformance=udpMIBConformance, udpMIBCompliances=udpMIBCompliances, udpMIBGroups=udpMIBGroups) # Groups mibBuilder.exportSymbols("UDP-MIB", udpGroup=udpGroup, udpBaseGroup=udpBaseGroup, udpHCGroup=udpHCGroup, udpEndpointGroup=udpEndpointGroup) # Compliances mibBuilder.exportSymbols("UDP-MIB", udpMIBCompliance=udpMIBCompliance, udpMIBCompliance2=udpMIBCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/TRIP-MIB.py0000644000014400001440000016551111736645141020220 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TRIP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( applIndex, applRFC2788Group, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "applIndex", "applRFC2788Group") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, RowStatus, StorageType, TimeInterval, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "StorageType", "TimeInterval", "TimeStamp", "TruthValue") ( TripAddressFamily, TripAppProtocol, TripCommunityId, TripId, TripItad, TripProtocolVersion, TripSendReceiveMode, ) = mibBuilder.importSymbols("TRIP-TC-MIB", "TripAddressFamily", "TripAppProtocol", "TripCommunityId", "TripId", "TripItad", "TripProtocolVersion", "TripSendReceiveMode") # Objects tripMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 116)).setRevisions(("2004-09-02 00:00",)) if mibBuilder.loadTexts: tripMIB.setOrganization("IETF IPTel Working Group.\n\n\nMailing list: iptel@lists.bell-labs.com") if mibBuilder.loadTexts: tripMIB.setContactInfo("Co-editor David Zinman\npostal: 265 Ridley Blvd.\n Toronto ON, M5M 4N8\n Canada\nemail: dzinman@rogers.com\nphone: +1 416 433 4298\n\nCo-editor: David Walker\n Sedna Wireless Inc.\npostal: 495 March Road, Suite 500\n Ottawa, ON K2K 3G1\n Canada\nemail: david.walker@sedna-wireless.com\nphone: +1 613 878 8142\n\nCo-editor Jianping Jiang\n Syndesis Limited\npostal: 30 Fulton Way\n Richmond Hill, ON L4B 1J5\n Canada\n\nemail: jjiang@syndesis.com\nphone: +1 905 886-7818 x2515") if mibBuilder.loadTexts: tripMIB.setDescription("The MIB module describing Telephony Routing over IP\n(TRIP). TRIP is a policy driven inter-administrative\ndomain protocol for advertising the reachability of\ntelephony destinations between location servers (LS), and\nfor advertising attributes of the routes to those\ndestinations.\n\nCopyright (C) The Internet Society (2004). This version of\nthis MIB module is part of RFC 3872, see the RFC itself\nfor full legal notices.") tripMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 116, 0)) tripMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 116, 1)) tripCfgTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 1)) if mibBuilder.loadTexts: tripCfgTable.setDescription("This table contains the common configuration objects\napplicable to all TRIP applications referenced by the\napplIndex. Each row represents those objects for a\nparticular TRIP LS present in this system. The\ninstances of TRIP LS's are uniquely identified by the\napplIndex. The objects in this table SHOULD be\nnonVolatile and survive a reboot.") tripCfgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: tripCfgEntry.setDescription("A row of common configuration.") tripCfgProtocolVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 1), TripProtocolVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripCfgProtocolVersion.setDescription("This object will reflect the version of TRIP\nsupported by this system. It follows the same\nformat as TRIP version information contained\nin the TRIP messages generated by this TRIP entity.") tripCfgItad = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 2), TripItad()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgItad.setDescription("The Internet Telephony Administrative domain (ITAD)\nof this LS.") tripCfgIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 3), TripId()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripCfgIdentifier.setDescription("The object that identifies this TRIP Client.") tripCfgAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgAdminStatus.setDescription("The desired TRIP state.\n\nup(1) : Set the application to normal operation.\n\ndown(2): Set the application to a state where it will\n not process TRIP messages.\n\nSetting this object should be reflected in\ntripCfgOperStatus. If an unknown error occurs\ntripCfgOperStatus will return unknown(0).") tripCfgOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,0,3,1,)).subtype(namedValues=NamedValues(("unknown", 0), ("up", 1), ("down", 2), ("faulty", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripCfgOperStatus.setDescription("The current operational state of the TRIP protocol.\n\nunknown(0): The operating status of the application is\n unknown.\n\nup(1): The application is operating normally, and\n is ready to process (receive and issue) TRIP\n requests and responses.\n\ndown(2): The application is currently not processing\n TRIP messages. This occurs if the TRIP\n application is in an initialization state or\n if tripCfgAdminStatus is set to down(2).\n\nfaulty(3): The application is not operating normally due\n to a fault in the system.\n\nIf tripCfgAdminStatus is down(2) then tripOperStatus SHOULD\nbe down(2). If tripAdminStatus is changed to up(1) then\ntripOperStatus SHOULD change to up(1) if there is no\nfault that prevents the TRIP protocol from moving to the\nup(1) state.") tripCfgAddrIAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 6), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripCfgAddrIAddrType.setDescription("The type of Inet Address of the tripAddr.") tripCfgAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 7), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripCfgAddr.setDescription("The network address of the local LS that the peer\nconnects to. The type of address depends on the object\ntripCfgAddrIAddrType. The type of this address is\ndetermined by the value of the\ntripCfgAddrIAddrType object.") tripCfgPort = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 8), InetPortNumber()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgPort.setDescription("The local tcp/udp port on the local LS that the peer\nconnects to.") tripCfgMinItadOriginationInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgMinItadOriginationInterval.setDescription("The minimum amount of time that MUST elapse between\nadvertisement of the update message that reports changes\nwithin the LS's own ITAD.") tripCfgMinRouteAdvertisementInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgMinRouteAdvertisementInterval.setDescription("Specifies minimal interval between successive\nadvertisements to a particular destination from an LS.") tripCfgMaxPurgeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgMaxPurgeTime.setDescription("Indicates the interval that the LS MUST maintain routes\nmarked as withdrawn in its database.") tripCfgDisableTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(180)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgDisableTime.setDescription("Indicates the interval that the TRIP module of the\nLS MUST be disabled while routes originated by this\nLS with high sequence numbers can be removed.") tripCfgSendReceiveMode = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 13), TripSendReceiveMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripCfgSendReceiveMode.setDescription("The operational mode of the TRIP entity running on this\nsystem.") tripCfgStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 1, 1, 14), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tripCfgStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access\nto any columnar objects in the row.") tripRouteTypeTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 2)) if mibBuilder.loadTexts: tripRouteTypeTable.setDescription("The TRIP peer Route Type table contains one entry per\nsupported protocol - address family pair. The objects in\nthis table are volatile and are refreshed after a reboot.") tripRouteTypeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 2, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "TRIP-MIB", "tripRouteTypeAddrInetType"), (0, "TRIP-MIB", "tripRouteTypeAddr"), (0, "TRIP-MIB", "tripRouteTypePort"), (0, "TRIP-MIB", "tripRouteTypeProtocolId"), (0, "TRIP-MIB", "tripRouteTypeAddrFamilyId")) if mibBuilder.loadTexts: tripRouteTypeEntry.setDescription("An entry containing information about the route type\nthat a particular TRIP entity supports. Each entry\nrepresents information about either the local or a remote\nLS peer. The object tripRouteTypePeer is used to\ndistinguish this. In the case of a local LS, the\naddress/port information will reflect the values\nconfigured in tripCfgTable. In the case of a remote\npeer, the address/port information will reflect the\nvalues of an entry in the tripPeerTable.\n\nImplementation need to be aware that if the size of\ntripRouteTypeAddr exceeds 111 sub-IDs, then OIDs of column\ninstances in this table will have more than 128 sub-IDs\nand cannot be accessed using SNMPv1, SNMPv2c, or snmpv3.") tripRouteTypeAddrInetType = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 2, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteTypeAddrInetType.setDescription("The type of Inet Address of the tripRouteTypeAddr.") tripRouteTypeAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 2, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteTypeAddr.setDescription("The network address of this entry's TRIP peer LS. The\ntype of this address is determined by the value of the\ntripRouteTypeAddrInetType object.") tripRouteTypePort = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 2, 1, 3), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteTypePort.setDescription("The port for the TCP connection between this and\nan associated TRIP peer.") tripRouteTypeProtocolId = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 2, 1, 4), TripAppProtocol()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteTypeProtocolId.setDescription("The object identifier of a protocol that the associated\npeer is using.") tripRouteTypeAddrFamilyId = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 2, 1, 5), TripAddressFamily()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteTypeAddrFamilyId.setDescription("The object identifier of an address family that the\nassociated peer belongs to.") tripRouteTypePeer = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("local", 1), ("remote", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteTypePeer.setDescription("This object identifies whether this entry is\n\n\n\nassociated with a 'local' or 'remote' LS peer.") tripSupportedCommunityTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 3)) if mibBuilder.loadTexts: tripSupportedCommunityTable.setDescription("The list of TRIP communities that this LS supports. A\nTRIP community is a group of destinations that share\ncommon properties.\n\nThe TRIP Supported Communities entry is used to group\ndestinations so that the routing decision can be based\non the identity of the group.") tripSupportedCommunityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 3, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "TRIP-MIB", "tripSupportedCommunityId")) if mibBuilder.loadTexts: tripSupportedCommunityEntry.setDescription("Entry containing information about a community. A TRIP\ncommunity is a group of destinations that share some\ncommon property. This attribute is used so that routing\ndecisions can be based on the identity of the group.") tripSupportedCommunityId = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 3, 1, 1), TripCommunityId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripSupportedCommunityId.setDescription("The identifier of the supported Community.") tripSupportedCommunityItad = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 3, 1, 2), TripItad()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripSupportedCommunityItad.setDescription("The ITAD of the community.") tripSupportedCommunityStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 3, 1, 3), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripSupportedCommunityStorage.setDescription("The storage type for this conceptual row. Conceptual\nrows having the value 'permanent' need not allow write-\naccess to any columnar objects in the row. It is not a\nrequirement that this storage be non volatile.") tripSupportedCommunityRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripSupportedCommunityRowStatus.setDescription("The row status of the entry. This object is REQUIRED\nto create or delete rows by a manager. A value for\ntripSupportedCommunityItad MUST be set for row creation\nto be successful. If the instance already exists for a\nparticular applIndex, the row create operation will\nfail.\n\nThe value of this object has no effect on whether\nother objects in this conceptual row can be modified.") tripPeerTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 4)) if mibBuilder.loadTexts: tripPeerTable.setDescription("The TRIP peer table. This table contains one entry per\nTRIP peer, and information about the connection with\n\n\n\nthe peer.") tripPeerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 4, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "TRIP-MIB", "tripPeerRemoteAddrInetType"), (0, "TRIP-MIB", "tripPeerRemoteAddr"), (0, "TRIP-MIB", "tripPeerRemotePort")) if mibBuilder.loadTexts: tripPeerEntry.setDescription("Entry containing information about the connection with\na TRIP peer.\n\nImplementation need to be aware that if the size of\ntripPeerRemoteAddr exceeds 113 sub-IDs, then OIDs of\ncolumn instances in this table will have more than 128\nsub-IDs and cannot be accessed using SNMPv1, SNMPv2c, or\nsnmpv3.") tripPeerRemoteAddrInetType = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripPeerRemoteAddrInetType.setDescription("The type of Inet Address of the tripPeerRemoteAddr.") tripPeerRemoteAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripPeerRemoteAddr.setDescription("The IP address of this entry's TRIP peer LS. The type of\nthis address is determined by the value of the\ntripPeerRemoteAddrInetType object.") tripPeerRemotePort = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 3), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripPeerRemotePort.setDescription("The remote port for the TCP connection between the\nTRIP peers.") tripPeerIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 4), TripId()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerIdentifier.setDescription("TRIP identifier of the peer.") tripPeerState = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(6,5,4,1,2,3,)).subtype(namedValues=NamedValues(("idle", 1), ("connect", 2), ("active", 3), ("openSent", 4), ("openConfirm", 5), ("established", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerState.setDescription("TRIP Peer Finite State Machine state.\n\nidle(1) : The initial state. Local LS refuses all\n incoming connections. No application\n resources are allocated to processing\n information about the remote peer.\n\nconnect(2) : Local LS waiting for a transport\n protocol connection to be completed to\n the peer, and is listening for inbound\n transport connections from the peer.\n\nactive(3) : Local LS is listening for an inbound\n connection from the peer, but is not in\n the process of initiating a connection\n to the remote peer.\n\nopenSent(4) : Local LS has sent an OPEN message to its\n peer and is waiting for an OPEN message\n from the remote peer.\n\nopenConfirm(5): Local LS has sent an OPEN message to the\n remote peer, received an OPEN message from\n the remote peer, and sent a KEEPALIVE\n message in response to the OPEN. The local\n LS is now waiting for a KEEPALIVE message\n or a NOTIFICATION message in response to\n its OPEN message.\n\nestablished(6): LS can exchange UPDATE, NOTIFICATION, and\n KEEPALIVE messages with its peer.") tripPeerAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerAdminStatus.setDescription("This object is used to affect the TRIP connection\nstate.\n\nup(1) : Allow a connection with the peer LS.\n\ndown(2) : disconnect the connection from the peer LS and\n do not allow any further connections to this\n\n\n\n peer.\n\nIf this value is set to down(2) then tripPeerState will\nhave the value of idle(1).") tripPeerNegotiatedVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 7), TripProtocolVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerNegotiatedVersion.setDescription("The negotiated version of TRIP running between this\nlocal entity and this peer.") tripPeerSendReceiveMode = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 8), TripSendReceiveMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerSendReceiveMode.setDescription("The operational mode of this peer.") tripPeerRemoteItad = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 9), TripItad()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerRemoteItad.setDescription("The Internet Telephony Administrative domain of\nthis peer.") tripPeerConnectRetryInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(120)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerConnectRetryInterval.setDescription("Specifies the initial amount of time that will elapse\nbetween connection retry. This value SHOULD double\nafter each attempt up to the value of\ntripPeerMaxRetryInterval. This value MUST always be less\nthan or equal to the value of tripPeerMaxRetryInterval.\nAttempts to set this value higher than the max retry\nwill not be allowed.") tripPeerMaxRetryInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(360)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerMaxRetryInterval.setDescription("Specifies the maximum amount of time that will elapse\nbetween connection retries. Once the value of\ntripPeerConnectRetryInterval has reached this value, no\nmore retries will be attempted. Attempts to set this\nvalue lower than the retry interval SHOULD not be\nallowed.") tripPeerHoldTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerHoldTime.setDescription("The time interval in seconds for the hold timer that\nis established with the peer. The value of this object\nis the smaller of the values in\ntripPeerHoldTimeConfigured and the hold time received\nin the open message.") tripPeerKeepAlive = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerKeepAlive.setDescription("Specifies the amount of time that MUST elapse between\nkeep alive messages. This value is negotiated with the\nremote when a connection is established.") tripPeerHoldTimeConfigured = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 14), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(3,65535),)).clone(240)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerHoldTimeConfigured.setDescription("Specifies the maximum time that MAY elapse between the\nreceipt of successive keepalive or update message. A value\nof 0 means that keepalive or update messages will not be\n\n\n\nsent.") tripPeerKeepAliveConfigured = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerKeepAliveConfigured.setDescription("Specifies the amount of time that MUST elapse between\nkeep alive messages.") tripPeerMaxPurgeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerMaxPurgeTime.setDescription("Indicates the interval that the LS MUST maintain routes\nmarked as withdrawn in its database.") tripPeerDisableTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerDisableTime.setDescription("Indicate the interval that the TRIP module of the remote\npeer LS MUST be disabled while routes originated by the\nlocal LS with high sequence numbers can be removed.") tripPeerLearned = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 18), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerLearned.setDescription("Indicates whether this entry was learned or\nconfigured.") tripPeerStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 19), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerStorage.setDescription("The storage type for this conceptual row. Conceptual\nrows having the value 'permanent' need not allow write-\naccess to any columnar objects in the row. It is not a\nrequirement that this storage be non volatile.") tripPeerRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 4, 1, 20), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tripPeerRowStatus.setDescription("The row status of the entry. This object is REQUIRED to\ncreate or delete rows remotely by a manager. If the\ninstance already exists for a particular applIndex, the\nrow create operation will fail.\n\nThe value of this object has no effect on whether\nother objects in this conceptual row can be modified.\n\nEntries in this table can be learned by the TRIP\napplication, or provisioned through this table.") tripPeerStatisticsTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 5)) if mibBuilder.loadTexts: tripPeerStatisticsTable.setDescription("The TRIP peer stats table. This table contains one\nentry per remote TRIP peer, and statistics related to the\nconnection with the remote peer. The objects in this\ntable are volatile.") tripPeerStatisticsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 5, 1)) if mibBuilder.loadTexts: tripPeerStatisticsEntry.setDescription("Entry containing information about the connection with\na TRIP peer.") tripPeerInUpdates = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerInUpdates.setDescription("The number of TRIP update messages received from this\nremote peer since the last restart of this location\nserver.") tripPeerOutUpdates = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerOutUpdates.setDescription("The number of TRIP update messages sent to this remote\npeer since the last restart of this LS.") tripPeerInTotalMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerInTotalMessages.setDescription("The total number of TRIP messages received from the\nremote peer on this connection since the last restart\nof this LS.") tripPeerOutTotalMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerOutTotalMessages.setDescription("The total number of outgoing TRIP messages sent to the\nremote peer since the last restart of this LS.") tripPeerFsmEstablishedTransitions = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerFsmEstablishedTransitions.setDescription("The number of times the remote peer has transitioned\ninto the established state since the last restart of this\nLS.") tripPeerFsmEstablishedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 6), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerFsmEstablishedTime.setDescription("Indicates the time and date that this remote peer entered\nthe 'established' state.") tripPeerInUpdateElapsedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 7), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerInUpdateElapsedTime.setDescription("Elapsed time in hundredths of seconds since the last\nTRIP update message was received from this remote peer.") tripPeerStateChangeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 5, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripPeerStateChangeTime.setDescription("The value of sysUpTime when the last state change of\ntripPeerState took place.") tripRouteTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 6)) if mibBuilder.loadTexts: tripRouteTable.setDescription("The TRIP route table containing information about\nreachable routes that are to be added to service by the\nreceiving LS. The objects in this table are volatile\nand are refreshed when this LS rediscovers its route\ntable.") tripRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 6, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "TRIP-MIB", "tripRouteAppProtocol"), (0, "TRIP-MIB", "tripRouteAddressFamily"), (0, "TRIP-MIB", "tripRouteAddress"), (0, "TRIP-MIB", "tripRoutePeer")) if mibBuilder.loadTexts: tripRouteEntry.setDescription("Information about a route to a called destination.") tripRouteAppProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 1), TripAppProtocol()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteAppProtocol.setDescription("The protocol for which this entry of the routing table\nis maintained.") tripRouteAddressFamily = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 2), TripAddressFamily()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteAddressFamily.setDescription("Specifies the type of address for the destination\nroute.") tripRouteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 105))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteAddress.setDescription("This is the address (prefix) of the family type given\nby Address Family of the destination. It is the prefix\nof addresses reachable from this gateway via the next\nhop server. The SIZE value of 105 has been assigned due\nto the sub identifier of object types length limitation\nas defined in SMIv2.") tripRoutePeer = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 4), TripId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRoutePeer.setDescription("The identifier of the peer where the route information\nwas learned.") tripRouteTRIBMask = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 5), Bits().subtype(namedValues=NamedValues(("adjTribIns", 0), ("extTrib", 1), ("locTrib", 2), ("adjTribOut", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteTRIBMask.setDescription("Indicates which Telephony Routing Information Base (TRIB)\nthis entry belongs to. This is\na bit-map of possible types. If the bit has a value of\n1, then the entry is a member of the corresponding TRIB\ntype. If the bit has a value of 0 then the entry is not\na member of the TRIP type. The various bit positions\nare:\n\n0 adjTribIns The entry is of type adj-TRIBs-ins,\n stores routing information that has\n been learned from inbound UPDATE\n messages.\n1 extTrib The entry is of type ext-TRIB, the\n best route for a given destination.\n2 locTrib The entry is of type loc-TRIB contains\n the local TRIP routing information\n that the LS has selected.\n3 adjTribOut The entry is of type adj-TRIBs-out,\n stores the information that the local\n LS has selected for advertisement to\n its external peers.") tripRouteAddressSequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteAddressSequenceNumber.setDescription("Indicates the version of the destination route\noriginated by the LS identified by\ntripRouteAddressOriginatorId intra-domain attribute.") tripRouteAddressOriginatorId = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 7), TripId()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteAddressOriginatorId.setDescription("This is an intra-domain attribute indicating the\ninternal LS that originated the route into the ITAD.") tripRouteNextHopServerIAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 8), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteNextHopServerIAddrType.setDescription("The type of Inet Address of the tripRouteNextHopServer.") tripRouteNextHopServer = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 9), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteNextHopServer.setDescription("Indicates the next hop that messages of a given protocol\ndestined for tripRouteAddress SHOULD be sent to. The type\nof this address is determined by the value of the\ntripRouteNextHopServerIAddrType object.") tripRouteNextHopServerPort = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 10), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteNextHopServerPort.setDescription("The port of the next hop server that this route\nwill use.") tripRouteNextHopServerItad = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 11), TripItad()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteNextHopServerItad.setDescription("Indicates the domain of the next hop.") tripRouteMultiExitDisc = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteMultiExitDisc.setDescription("The Multiple Exit Discriminator allows an LS to\ndiscriminate between, and indicate preference for,\notherwise similar routes to a neighbouring domain.\nA higher value represents a more preferred routing\nobject.") tripRouteLocalPref = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteLocalPref.setDescription("Indicated the local LS's degree of preference for an\nadvertised route destination.") tripRouteAdvertisementPath = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 252))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteAdvertisementPath.setDescription("Identifies the sequence of domains through which this\nadvertisement has passed.\n\nThis object is probably best represented as sequence of\nTripItads. For SMI compatibility, though, it is\nrepresented as an OCTET STRING. This object is a sequence\nof ITADs where each set of 4 octets corresponds to a TRIP\nITAD in network byte order.") tripRouteRoutedPath = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 252))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteRoutedPath.setDescription("Identifies the ITADs through which messages sent using\nthis route would pass. These are a subset of\ntripRouteAdvertisementPath.\n\nThis object is probably best represented as sequence of\nTripItads. For SMI compatibility, though, it is\nrepresented as OCTET STRING. This object is a sequence\nof ITADs where each set of 4 octets corresponds to a TRIP\nITAD in network byte order.") tripRouteAtomicAggregate = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteAtomicAggregate.setDescription("Indicates that a route MAY traverse domains not listed\nin tripRouteRoutedPath. If an LS selects the less\nspecific route from a set of overlapping routes, then\nthis value returns TRUE.") tripRouteUnknown = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteUnknown.setDescription("This object contains one or more attributes that were not\nunderstood, and because they were transitive, were dropped\nduring aggregation. They take the format of a triple\n, of\nvariable length. If no attributes were dropped, this\nreturns an OCTET STRING of size 0.") tripRouteWithdrawn = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteWithdrawn.setDescription("Indicates if this route is to be removed from service\nby the receiving LS.") tripRouteConverted = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteConverted.setDescription("Indicates if this route has been converted to a\ndifferent application protocol than it had originally.") tripRouteReceivedTime = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 6, 1, 20), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteReceivedTime.setDescription("The value of sysUpTime when this route was received.") tripRouteCommunityTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 7)) if mibBuilder.loadTexts: tripRouteCommunityTable.setDescription("A table containing a list of TRIP communities associated\nwith a route. Each instance of tripRouteTypeEntry that has\nthe tripRouteTypePeer object set to remote(2) has an\ninstance in the tripRouteTable as a parent. The objects\nin this table are volatile and are refreshed after a\nreboot.") tripRouteCommunityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 7, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "TRIP-MIB", "tripRouteAppProtocol"), (0, "TRIP-MIB", "tripRouteAddressFamily"), (0, "TRIP-MIB", "tripRouteAddress"), (0, "TRIP-MIB", "tripRoutePeer"), (0, "TRIP-MIB", "tripRouteCommunityId")) if mibBuilder.loadTexts: tripRouteCommunityEntry.setDescription("Information about communities associated with a route.\nAn entry with a tripRouteAddress of 00 and a\ntripRoutePeer of 0 refers to the local LS.") tripRouteCommunityId = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 7, 1, 1), TripCommunityId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripRouteCommunityId.setDescription("The community identifier.") tripRouteCommunityItad = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 7, 1, 2), TripItad()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripRouteCommunityItad.setDescription("The ITAD associated with this community.") tripItadTopologyTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 8)) if mibBuilder.loadTexts: tripItadTopologyTable.setDescription("The sequence of link connections between peers within an\nITAD. The objects in this table are volatile and are\nrefreshed after a reboot.") tripItadTopologyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 8, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "TRIP-MIB", "tripItadTopologyOrigId")) if mibBuilder.loadTexts: tripItadTopologyEntry.setDescription("Information about a peer of the LS identified by\ntripItadTopologyOrigId.") tripItadTopologyOrigId = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 8, 1, 1), TripId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tripItadTopologyOrigId.setDescription("Indicates the internal LS that originated the ITAD\ntopology information into the ITAD.") tripItadTopologySeqNum = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 8, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: tripItadTopologySeqNum.setDescription("Indicates the version of the ITAD topology originated\nby the LS identified by tripItadTopologyOrigId.") tripItadTopologyIdTable = MibTable((1, 3, 6, 1, 2, 1, 116, 1, 9)) if mibBuilder.loadTexts: tripItadTopologyIdTable.setDescription("The list of other LS's within the ITAD domain that the\nLS identified by tripItadTopologyOrigId is currently\npeering. Each instance of tripItadTopologyIdEntry has an\ninstance in the tripItadTopologyTable as a parent. The\nobjects in this table are volatile and are refreshed\nafter a reboot.") tripItadTopologyIdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 116, 1, 9, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "TRIP-MIB", "tripItadTopologyOrigId"), (0, "TRIP-MIB", "tripItadTopologyId")) if mibBuilder.loadTexts: tripItadTopologyIdEntry.setDescription("Information about a peer to the LS identified by\ntripItadTopologyOrigId.") tripItadTopologyId = MibTableColumn((1, 3, 6, 1, 2, 1, 116, 1, 9, 1, 1), TripId()).setMaxAccess("readonly") if mibBuilder.loadTexts: tripItadTopologyId.setDescription("The index into this entry. Indicates the other location\nservers within the ITAD domain that this LS identified\nby tripItadTopologyOrigId is currently peering.") tripMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 116, 2)) tripMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 116, 2, 1)) tripMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 116, 2, 2)) tripMIBNotifObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 116, 3)) tripNotifApplIndex = MibScalar((1, 3, 6, 1, 2, 1, 116, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: tripNotifApplIndex.setDescription("This object contains the application Index. It is used\nto bind this notification with a specific instance of\nTRIP entity.") tripNotifPeerAddrInetType = MibScalar((1, 3, 6, 1, 2, 1, 116, 3, 2), InetAddressType()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: tripNotifPeerAddrInetType.setDescription("The type of Inet Address of the tripNotifPeerAddr.") tripNotifPeerAddr = MibScalar((1, 3, 6, 1, 2, 1, 116, 3, 3), InetAddress()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: tripNotifPeerAddr.setDescription("The IP address of this entry's TRIP peer LS. This object\ncontains the value of tripPeerRemoteAddr. The type of this\naddress is determined by the value of the\ntripNotifPeerAddrInetType object.") tripNotifPeerErrCode = MibScalar((1, 3, 6, 1, 2, 1, 116, 3, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(6,3,4,1,7,5,2,)).subtype(namedValues=NamedValues(("messageHeader", 1), ("openMessage", 2), ("updateMessage", 3), ("holdTimerExpired", 4), ("finiteStateMachine", 5), ("cease", 6), ("tripNotification", 7), ))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: tripNotifPeerErrCode.setDescription("Notification message of TRIP error. The meaning of this\nvalue is applicable to the following functions:\n\nmessageHeader(1)\n - All errors detected while processing the TRIP message\n header.\n\nopenMessage(2)\n - All errors detected while processing the OPEN message.\n\nupdateMessage(3)\n - All errors detected while processing the UPDATE\n message.\n\nholdTimerExpired(4)\n - A notification generated when the hold timer expires.\n\nfiniteStateMachine(5)\n - All errors detected by the TRIP Finite State Machine.\n\ncease(6)\n - Any fatal error condition that the rest of the values\n do not cover.\n\ntripNotification(7)\n - Any error encountered while sending a notification\n message.") tripNotifPeerErrSubcode = MibScalar((1, 3, 6, 1, 2, 1, 116, 3, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: tripNotifPeerErrSubcode.setDescription("The sub error code associated with error code. The\n\n\n\nmeaning of this value is dependent on the value of\ntripNotifPeerErrCode.\n\nMessage Header (1) Error Subcodes:\n1 - Bad Message Length.\n2 - Bad Message Type.\n\nOPEN Message (2) Error Subcodes:\n1 - Unsupported Version Number.\n2 - Bad Peer ITAD.\n3 - Bad TRIP Identifier.\n4 - Unsupported Optional Parameter.\n5 - Unacceptable Hold Time.\n6 - Unsupported Capability.\n7 - Capability Mismatch.\n\nUPDATE Message (3) Error Subcodes:\n1 - Malformed Attribute List.\n2 - Unrecognized Well-known Attribute.\n3 - Missing Well-known Mandatory Attribute.\n4 - Attribute Flags Error.\n5 - Attribute Length Error.\n6 - Invalid Attribute.") # Augmentions tripPeerEntry.registerAugmentions(("TRIP-MIB", "tripPeerStatisticsEntry")) tripPeerStatisticsEntry.setIndexNames(*tripPeerEntry.getIndexNames()) # Notifications tripConnectionEstablished = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 1)).setObjects(*(("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerAddr"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ) ) if mibBuilder.loadTexts: tripConnectionEstablished.setDescription("The TRIP Connection Established event is generated when\nthe TRIP finite state machine enters the ESTABLISHED\nstate.") tripConnectionDropped = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 2)).setObjects(*(("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerAddr"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ) ) if mibBuilder.loadTexts: tripConnectionDropped.setDescription("The TRIP Connection Dropped event is generated when the\n\n\n\nTRIP finite state machine leaves the ESTABLISHED state.") tripFSM = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 3)).setObjects(*(("TRIP-MIB", "tripNotifPeerErrCode"), ("TRIP-MIB", "tripPeerState"), ("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerErrSubcode"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ("TRIP-MIB", "tripNotifPeerAddr"), ) ) if mibBuilder.loadTexts: tripFSM.setDescription("The trip FSM Event is generated when any error is\ndetected by the TRIP Finite State Machine.") tripOpenMessageError = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 4)).setObjects(*(("TRIP-MIB", "tripNotifPeerErrCode"), ("TRIP-MIB", "tripPeerState"), ("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerErrSubcode"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ("TRIP-MIB", "tripNotifPeerAddr"), ) ) if mibBuilder.loadTexts: tripOpenMessageError.setDescription("Errors detected while processing the OPEN message.") tripUpdateMessageError = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 5)).setObjects(*(("TRIP-MIB", "tripNotifPeerErrCode"), ("TRIP-MIB", "tripPeerState"), ("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerErrSubcode"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ("TRIP-MIB", "tripNotifPeerAddr"), ) ) if mibBuilder.loadTexts: tripUpdateMessageError.setDescription("Errors detected while processing the UPDATE message.") tripHoldTimerExpired = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 6)).setObjects(*(("TRIP-MIB", "tripNotifPeerErrCode"), ("TRIP-MIB", "tripPeerState"), ("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerErrSubcode"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ("TRIP-MIB", "tripNotifPeerAddr"), ) ) if mibBuilder.loadTexts: tripHoldTimerExpired.setDescription("The system does not receive successive messages within\nthe period specified by the negotiated Hold Time.") tripConnectionCollision = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 7)).setObjects(*(("TRIP-MIB", "tripNotifApplIndex"), ) ) if mibBuilder.loadTexts: tripConnectionCollision.setDescription("A pair of LSs tried to simultaneously to establish a\ntransport connection to each other.") tripCease = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 8)).setObjects(*(("TRIP-MIB", "tripNotifPeerErrCode"), ("TRIP-MIB", "tripPeerState"), ("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerErrSubcode"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ("TRIP-MIB", "tripNotifPeerAddr"), ) ) if mibBuilder.loadTexts: tripCease.setDescription("A TRIP peer MAY choose at any given time to close its TRIP\nconnection by sending this notification message. However,\nthe Cease notification message MUST NOT be used when a\nfatal error occurs.") tripNotificationErr = NotificationType((1, 3, 6, 1, 2, 1, 116, 0, 9)).setObjects(*(("TRIP-MIB", "tripNotifApplIndex"), ) ) if mibBuilder.loadTexts: tripNotificationErr.setDescription("Generated if there is an error detected in a TRIP\nnotification message sent with another cause. Note that\nthe TRIP notification referred to in this object is not\nan SNMP notification, it is a specific message described\nin the TRIP specification.") # Groups tripConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 116, 2, 2, 1)).setObjects(*(("TRIP-MIB", "tripSupportedCommunityItad"), ("TRIP-MIB", "tripCfgOperStatus"), ("TRIP-MIB", "tripCfgIdentifier"), ("TRIP-MIB", "tripCfgProtocolVersion"), ("TRIP-MIB", "tripCfgAdminStatus"), ("TRIP-MIB", "tripCfgPort"), ("TRIP-MIB", "tripRouteTypePeer"), ("TRIP-MIB", "tripCfgItad"), ("TRIP-MIB", "tripCfgAddrIAddrType"), ("TRIP-MIB", "tripCfgStorage"), ("TRIP-MIB", "tripCfgDisableTime"), ("TRIP-MIB", "tripSupportedCommunityStorage"), ("TRIP-MIB", "tripCfgMinRouteAdvertisementInterval"), ("TRIP-MIB", "tripCfgSendReceiveMode"), ("TRIP-MIB", "tripCfgMinItadOriginationInterval"), ("TRIP-MIB", "tripCfgAddr"), ("TRIP-MIB", "tripCfgMaxPurgeTime"), ("TRIP-MIB", "tripSupportedCommunityRowStatus"), ) ) if mibBuilder.loadTexts: tripConfigGroup.setDescription("The global objects for configuring trip.") tripPeerTableConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 116, 2, 2, 2)).setObjects(*(("TRIP-MIB", "tripPeerKeepAlive"), ("TRIP-MIB", "tripPeerStorage"), ("TRIP-MIB", "tripPeerKeepAliveConfigured"), ("TRIP-MIB", "tripPeerState"), ("TRIP-MIB", "tripPeerNegotiatedVersion"), ("TRIP-MIB", "tripPeerDisableTime"), ("TRIP-MIB", "tripPeerMaxPurgeTime"), ("TRIP-MIB", "tripPeerLearned"), ("TRIP-MIB", "tripPeerMaxRetryInterval"), ("TRIP-MIB", "tripPeerRowStatus"), ("TRIP-MIB", "tripPeerIdentifier"), ("TRIP-MIB", "tripPeerConnectRetryInterval"), ("TRIP-MIB", "tripPeerHoldTime"), ("TRIP-MIB", "tripPeerRemoteItad"), ("TRIP-MIB", "tripPeerHoldTimeConfigured"), ("TRIP-MIB", "tripPeerSendReceiveMode"), ("TRIP-MIB", "tripPeerAdminStatus"), ) ) if mibBuilder.loadTexts: tripPeerTableConfigGroup.setDescription("The global objects for configuring the TRIP peer\ntable.") tripPeerTableStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 116, 2, 2, 3)).setObjects(*(("TRIP-MIB", "tripPeerOutTotalMessages"), ("TRIP-MIB", "tripPeerFsmEstablishedTransitions"), ("TRIP-MIB", "tripPeerStateChangeTime"), ("TRIP-MIB", "tripPeerInUpdateElapsedTime"), ("TRIP-MIB", "tripPeerInUpdates"), ("TRIP-MIB", "tripPeerFsmEstablishedTime"), ("TRIP-MIB", "tripPeerOutUpdates"), ("TRIP-MIB", "tripPeerInTotalMessages"), ) ) if mibBuilder.loadTexts: tripPeerTableStatsGroup.setDescription("The global statistics the TRIP peer table.") tripRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 116, 2, 2, 4)).setObjects(*(("TRIP-MIB", "tripRouteNextHopServerPort"), ("TRIP-MIB", "tripRouteAddressOriginatorId"), ("TRIP-MIB", "tripRouteNextHopServerItad"), ("TRIP-MIB", "tripRouteLocalPref"), ("TRIP-MIB", "tripRouteAdvertisementPath"), ("TRIP-MIB", "tripRouteMultiExitDisc"), ("TRIP-MIB", "tripRouteAtomicAggregate"), ("TRIP-MIB", "tripRouteUnknown"), ("TRIP-MIB", "tripRouteAddressSequenceNumber"), ("TRIP-MIB", "tripRouteConverted"), ("TRIP-MIB", "tripRouteNextHopServer"), ("TRIP-MIB", "tripRouteTRIBMask"), ("TRIP-MIB", "tripRouteCommunityItad"), ("TRIP-MIB", "tripRouteReceivedTime"), ("TRIP-MIB", "tripRouteNextHopServerIAddrType"), ("TRIP-MIB", "tripRouteWithdrawn"), ("TRIP-MIB", "tripRouteRoutedPath"), ) ) if mibBuilder.loadTexts: tripRouteGroup.setDescription("The global objects for configuring route attribute.") tripItadTopologyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 116, 2, 2, 5)).setObjects(*(("TRIP-MIB", "tripItadTopologySeqNum"), ("TRIP-MIB", "tripItadTopologyId"), ) ) if mibBuilder.loadTexts: tripItadTopologyGroup.setDescription("The objects that define the TRIP ITAD topology.") tripNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 116, 2, 2, 6)).setObjects(*(("TRIP-MIB", "tripConnectionDropped"), ("TRIP-MIB", "tripNotificationErr"), ("TRIP-MIB", "tripOpenMessageError"), ("TRIP-MIB", "tripFSM"), ("TRIP-MIB", "tripUpdateMessageError"), ("TRIP-MIB", "tripConnectionEstablished"), ("TRIP-MIB", "tripHoldTimerExpired"), ("TRIP-MIB", "tripConnectionCollision"), ("TRIP-MIB", "tripCease"), ) ) if mibBuilder.loadTexts: tripNotificationGroup.setDescription("A collection of notifications defined for TRIP.") tripNotifObjectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 116, 2, 2, 7)).setObjects(*(("TRIP-MIB", "tripNotifPeerErrCode"), ("TRIP-MIB", "tripNotifPeerErrSubcode"), ("TRIP-MIB", "tripNotifApplIndex"), ("TRIP-MIB", "tripNotifPeerAddr"), ("TRIP-MIB", "tripNotifPeerAddrInetType"), ) ) if mibBuilder.loadTexts: tripNotifObjectGroup.setDescription("The collection of objects that specify information for\nTRIP notifications.") # Compliances tripMIBFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 116, 2, 1, 1)).setObjects(*(("TRIP-MIB", "tripNotificationGroup"), ("TRIP-MIB", "tripItadTopologyGroup"), ("TRIP-MIB", "tripNotifObjectGroup"), ("TRIP-MIB", "tripRouteGroup"), ("NETWORK-SERVICES-MIB", "applRFC2788Group"), ("TRIP-MIB", "tripPeerTableConfigGroup"), ("TRIP-MIB", "tripPeerTableStatsGroup"), ("TRIP-MIB", "tripConfigGroup"), ) ) if mibBuilder.loadTexts: tripMIBFullCompliance.setDescription("The compliance statement for TRIP entities that\nimplement this MIB module in read-write mode, such\nthat it can be used for both monitoring and configuring\nthe TRIP entity.\n\nThere is one INDEX object that cannot be represented in\nthe form of OBJECT clauses in SMIv2, but for which there\nis a compliance requirement, expressed in OBJECT clause\nform in this description:\n\n-- OBJECT tripRouteTypeAddrInetType\n-- SYNTAX InetAddressType (ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4))\n-- DESCRIPTION\n-- This MIB requires support for global and\n-- non-global ipv4 and ipv6 addresses.\n--\n-- OBJECT tripRouteTypeAddr\n-- SYNTAX InetAddress (SIZE (4 | 8 | 16 | 20))\n-- DESCRIPTION\n-- This MIB requires support for global and\n-- non-global IPv4 and IPv6 addresses.\n--") tripMIBReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 116, 2, 1, 2)).setObjects(*(("TRIP-MIB", "tripNotificationGroup"), ("TRIP-MIB", "tripItadTopologyGroup"), ("TRIP-MIB", "tripNotifObjectGroup"), ("TRIP-MIB", "tripRouteGroup"), ("NETWORK-SERVICES-MIB", "applRFC2788Group"), ("TRIP-MIB", "tripPeerTableConfigGroup"), ("TRIP-MIB", "tripPeerTableStatsGroup"), ("TRIP-MIB", "tripConfigGroup"), ) ) if mibBuilder.loadTexts: tripMIBReadOnlyCompliance.setDescription("The compliance statement for TRIP entities that\nimplement this MIB module in read only mode. Such TRIP\nentities can then only be monitored, but not be\nconfigured via this MIB module.\n\nIn read-only mode, the manager will not be able to add,\nremove or modify rows to any table, however the TRIP\napplication may modify, remove or add rows to a table.\n\nThere is one INDEX object that cannot be represented in\nthe form of OBJECT clauses in SMIv2, but for which there\nis a compliance requirement, expressed in OBJECT clause\nform in this description:\n\n-- OBJECT tripRouteTypeAddrInetType\n-- SYNTAX InetAddressType (ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4))\n-- DESCRIPTION\n-- This MIB requires support for global and\n-- non-global ipv4 and ipv6 addresses.\n--\n-- OBJECT tripRouteTypeAddr\n-- SYNTAX InetAddress (SIZE (4 | 8 | 16 | 20))\n-- DESCRIPTION\n-- This MIB requires support for global and\n\n\n\n-- non-global IPv4 and IPv6 addresses.\n--") # Exports # Module identity mibBuilder.exportSymbols("TRIP-MIB", PYSNMP_MODULE_ID=tripMIB) # Objects mibBuilder.exportSymbols("TRIP-MIB", tripMIB=tripMIB, tripMIBNotifications=tripMIBNotifications, tripMIBObjects=tripMIBObjects, tripCfgTable=tripCfgTable, tripCfgEntry=tripCfgEntry, tripCfgProtocolVersion=tripCfgProtocolVersion, tripCfgItad=tripCfgItad, tripCfgIdentifier=tripCfgIdentifier, tripCfgAdminStatus=tripCfgAdminStatus, tripCfgOperStatus=tripCfgOperStatus, tripCfgAddrIAddrType=tripCfgAddrIAddrType, tripCfgAddr=tripCfgAddr, tripCfgPort=tripCfgPort, tripCfgMinItadOriginationInterval=tripCfgMinItadOriginationInterval, tripCfgMinRouteAdvertisementInterval=tripCfgMinRouteAdvertisementInterval, tripCfgMaxPurgeTime=tripCfgMaxPurgeTime, tripCfgDisableTime=tripCfgDisableTime, tripCfgSendReceiveMode=tripCfgSendReceiveMode, tripCfgStorage=tripCfgStorage, tripRouteTypeTable=tripRouteTypeTable, tripRouteTypeEntry=tripRouteTypeEntry, tripRouteTypeAddrInetType=tripRouteTypeAddrInetType, tripRouteTypeAddr=tripRouteTypeAddr, tripRouteTypePort=tripRouteTypePort, tripRouteTypeProtocolId=tripRouteTypeProtocolId, tripRouteTypeAddrFamilyId=tripRouteTypeAddrFamilyId, tripRouteTypePeer=tripRouteTypePeer, tripSupportedCommunityTable=tripSupportedCommunityTable, tripSupportedCommunityEntry=tripSupportedCommunityEntry, tripSupportedCommunityId=tripSupportedCommunityId, tripSupportedCommunityItad=tripSupportedCommunityItad, tripSupportedCommunityStorage=tripSupportedCommunityStorage, tripSupportedCommunityRowStatus=tripSupportedCommunityRowStatus, tripPeerTable=tripPeerTable, tripPeerEntry=tripPeerEntry, tripPeerRemoteAddrInetType=tripPeerRemoteAddrInetType, tripPeerRemoteAddr=tripPeerRemoteAddr, tripPeerRemotePort=tripPeerRemotePort, tripPeerIdentifier=tripPeerIdentifier, tripPeerState=tripPeerState, tripPeerAdminStatus=tripPeerAdminStatus, tripPeerNegotiatedVersion=tripPeerNegotiatedVersion, tripPeerSendReceiveMode=tripPeerSendReceiveMode, tripPeerRemoteItad=tripPeerRemoteItad, tripPeerConnectRetryInterval=tripPeerConnectRetryInterval, tripPeerMaxRetryInterval=tripPeerMaxRetryInterval, tripPeerHoldTime=tripPeerHoldTime, tripPeerKeepAlive=tripPeerKeepAlive, tripPeerHoldTimeConfigured=tripPeerHoldTimeConfigured, tripPeerKeepAliveConfigured=tripPeerKeepAliveConfigured, tripPeerMaxPurgeTime=tripPeerMaxPurgeTime, tripPeerDisableTime=tripPeerDisableTime, tripPeerLearned=tripPeerLearned, tripPeerStorage=tripPeerStorage, tripPeerRowStatus=tripPeerRowStatus, tripPeerStatisticsTable=tripPeerStatisticsTable, tripPeerStatisticsEntry=tripPeerStatisticsEntry, tripPeerInUpdates=tripPeerInUpdates, tripPeerOutUpdates=tripPeerOutUpdates, tripPeerInTotalMessages=tripPeerInTotalMessages, tripPeerOutTotalMessages=tripPeerOutTotalMessages, tripPeerFsmEstablishedTransitions=tripPeerFsmEstablishedTransitions, tripPeerFsmEstablishedTime=tripPeerFsmEstablishedTime, tripPeerInUpdateElapsedTime=tripPeerInUpdateElapsedTime, tripPeerStateChangeTime=tripPeerStateChangeTime, tripRouteTable=tripRouteTable, tripRouteEntry=tripRouteEntry, tripRouteAppProtocol=tripRouteAppProtocol, tripRouteAddressFamily=tripRouteAddressFamily, tripRouteAddress=tripRouteAddress, tripRoutePeer=tripRoutePeer, tripRouteTRIBMask=tripRouteTRIBMask, tripRouteAddressSequenceNumber=tripRouteAddressSequenceNumber, tripRouteAddressOriginatorId=tripRouteAddressOriginatorId, tripRouteNextHopServerIAddrType=tripRouteNextHopServerIAddrType, tripRouteNextHopServer=tripRouteNextHopServer, tripRouteNextHopServerPort=tripRouteNextHopServerPort, tripRouteNextHopServerItad=tripRouteNextHopServerItad, tripRouteMultiExitDisc=tripRouteMultiExitDisc, tripRouteLocalPref=tripRouteLocalPref, tripRouteAdvertisementPath=tripRouteAdvertisementPath, tripRouteRoutedPath=tripRouteRoutedPath, tripRouteAtomicAggregate=tripRouteAtomicAggregate, tripRouteUnknown=tripRouteUnknown, tripRouteWithdrawn=tripRouteWithdrawn, tripRouteConverted=tripRouteConverted, tripRouteReceivedTime=tripRouteReceivedTime, tripRouteCommunityTable=tripRouteCommunityTable, tripRouteCommunityEntry=tripRouteCommunityEntry, tripRouteCommunityId=tripRouteCommunityId, tripRouteCommunityItad=tripRouteCommunityItad, tripItadTopologyTable=tripItadTopologyTable, tripItadTopologyEntry=tripItadTopologyEntry, tripItadTopologyOrigId=tripItadTopologyOrigId, tripItadTopologySeqNum=tripItadTopologySeqNum, tripItadTopologyIdTable=tripItadTopologyIdTable, tripItadTopologyIdEntry=tripItadTopologyIdEntry, tripItadTopologyId=tripItadTopologyId, tripMIBConformance=tripMIBConformance, tripMIBCompliances=tripMIBCompliances, tripMIBGroups=tripMIBGroups, tripMIBNotifObjects=tripMIBNotifObjects, tripNotifApplIndex=tripNotifApplIndex, tripNotifPeerAddrInetType=tripNotifPeerAddrInetType, tripNotifPeerAddr=tripNotifPeerAddr, tripNotifPeerErrCode=tripNotifPeerErrCode, tripNotifPeerErrSubcode=tripNotifPeerErrSubcode) # Notifications mibBuilder.exportSymbols("TRIP-MIB", tripConnectionEstablished=tripConnectionEstablished, tripConnectionDropped=tripConnectionDropped, tripFSM=tripFSM, tripOpenMessageError=tripOpenMessageError, tripUpdateMessageError=tripUpdateMessageError, tripHoldTimerExpired=tripHoldTimerExpired, tripConnectionCollision=tripConnectionCollision, tripCease=tripCease, tripNotificationErr=tripNotificationErr) # Groups mibBuilder.exportSymbols("TRIP-MIB", tripConfigGroup=tripConfigGroup, tripPeerTableConfigGroup=tripPeerTableConfigGroup, tripPeerTableStatsGroup=tripPeerTableStatsGroup, tripRouteGroup=tripRouteGroup, tripItadTopologyGroup=tripItadTopologyGroup, tripNotificationGroup=tripNotificationGroup, tripNotifObjectGroup=tripNotifObjectGroup) # Compliances mibBuilder.exportSymbols("TRIP-MIB", tripMIBFullCompliance=tripMIBFullCompliance, tripMIBReadOnlyCompliance=tripMIBReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/Modem-MIB.py0000644000014400001440000013177111736645137020511 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python Modem-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:18 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Objects mdmMib = MibIdentifier((1, 3, 6, 1, 2, 1, 38)) mdmMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 38, 1)).setRevisions(("1994-06-12 00:00",)) if mibBuilder.loadTexts: mdmMIB.setOrganization("IETF Modem Management Working Group") if mibBuilder.loadTexts: mdmMIB.setContactInfo(" Steven Waldbusser\nPostal: Carnegie Mellon University\n 5000 Forbes Ave\n Pittsburgh, PA, 15213\n US\n\n Tel: +1 412 268 6628\n Fax: +1 412 268 4987\nE-mail: waldbusser@cmu.edu") if mibBuilder.loadTexts: mdmMIB.setDescription("The MIB module for management of dial-up modems.") mdmMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 38, 1, 1)) mdmNumber = MibScalar((1, 3, 6, 1, 2, 1, 38, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmNumber.setDescription("The number of modem rows in the modem table. This value\ndefines the maximum value of the mdmIndex object.") mdmIDTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 2)) if mibBuilder.loadTexts: mdmIDTable.setDescription("The base table for the modems managed by this MIB. The\nmdmLineTable, mdmDTEInterfaceTable, mdmCallControlTable, and\nmdmStatsTable all augment the rows defined in this table.") mdmIDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 2, 1)).setIndexNames((0, "Modem-MIB", "mdmIndex")) if mibBuilder.loadTexts: mdmIDEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mdmIndex.setDescription("A unique number for each modem that ranges from 1 to\nmdmNumber. The value must remain constant at least from one\nre-initialization of the network management agent to the\nnext.") mdmIDManufacturerOID = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmIDManufacturerOID.setDescription("This value is intended to identify the manufacturer, model,\nand version of this modem. This may be used to identify the\nexistance of enterprise-specific functions and behaviours.") mdmIDProductDetails = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 79))).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmIDProductDetails.setDescription("A textual description of this device, including the\nmanufacturer's name, modem model name, hardware revision,\nfirmware revision, and optionally, its serial number. The\nexact format of this description is defined by the vendor.\nThis description may only contain characters from the NVT\nASCII character set.") mdmLineTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 3)) if mibBuilder.loadTexts: mdmLineTable.setDescription("The modem Line Table augments the modem ID table.") mdmLineEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 3, 1)) if mibBuilder.loadTexts: mdmLineEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmLineCarrierLossTime = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmLineCarrierLossTime.setDescription("Duration in 10ths of a second the modem waits after loss of\ncarrier before hanging up. If this value is set to `255',\nthe modem will not hang up upon loss of carrier. This\nallows the modem to distinguish between a momentary lapse in\nline quality and a true disconnect and can be useful to tune\nthe tolerance of the modem to lines of poor quality.") mdmLineState = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(6,1,2,4,5,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("onHook", 2), ("offHook", 3), ("connected", 4), ("busiedOut", 5), ("reset", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmLineState.setDescription("Allows the inspection and alteration of the state of the\nmodem. Management commands may change the state to `on-\nhook', `busied-out', or `reset' from any state. No other\nalterations are permitted from the management protocol.\nWhen this object is set to reset, the modem shall be reset\nand the value will change to the modem's new, implementation\ndependent state.") mdmLineCapabilitiesTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 4)) if mibBuilder.loadTexts: mdmLineCapabilitiesTable.setDescription("A list of protocol capabilities for this modem.") mdmLineCapabilitiesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 4, 1)).setIndexNames((0, "Modem-MIB", "mdmIndex"), (0, "Modem-MIB", "mdmLineCapabilitiesIndex")) if mibBuilder.loadTexts: mdmLineCapabilitiesEntry.setDescription("A listing of the protocol(s) that this modem is capable of.\nEntries in this table are created only by the agent. One\nentry exists for each protocol that the modem is capable of,\nregardless of whether that protocol is enabled or not.\n\nThis table is useful for providing an inventory of the\ncapabilities on a modem, and allowing the manager to enable\nor disable capabilities from the menu of available\npossibilities. Row creation is not required to enable or\ndisable capabilities.") mdmLineCapabilitiesIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 4, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mdmLineCapabilitiesIndex.setDescription("A unique index for this capabilities entry.") mdmLineCapabilitiesID = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 4, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmLineCapabilitiesID.setDescription("An identifier for this capability. Standard protocol\ncapabilities will have identifiers registered in this\ndocument or other companion standards documents.\nProprietary protocol capabilities will be registered by\ntheir respective organization. All capabilities, standard\nor vendor-specific, shall be registered in this table.") mdmLineCapabilitiesEnableRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("disabled", 1), ("optional", 2), ("preferred", 3), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmLineCapabilitiesEnableRequested.setDescription("The requested configuration of this capability. If this\nvalue is 'disabled(1)', this is a request to disable this\nprotocol. If this value is 'preferred(3)', this is a\nrequest to enable this protocol, and to prefer it in any\nnegotiation over other appropriate protocols that have a\nvalue of 'optional(2)'.") mdmLineCapabilitiesEnableGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 4, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("disabled", 1), ("optional", 2), ("preferred", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmLineCapabilitiesEnableGranted.setDescription("The actual configuration of this capability. The agent\nshall attempt to set this as close as possible to the\nassociated mdmLineCapabilitiesEnableRequested value. The\nagent shall make this determination in an implementation-\nspecific manner that may take into account the configuration\nof other capabilities or other considerations. The modem\nwill choose in an implementation-specific manner between\nmultiple mutually-exclusive capabilities that each have the\nsame (non-disabled) value. However, the modem must prefer\nall capabilities with a value of 'preferred(3)' over all\ncapabilities with a value of 'optional(2)'.\n\nIn other words, if there are one or more mutually-exclusive\ncapabilities (e.g. V.32 and V.32bis) that are set to\n`preferred', the agent must choose one in an\nimplementation-specific manner. Otherwise, if there are one\nor more mutually-exclusive capabilities that are set to\n`optional', the agent must choose one in an implementation-\nspecific manner.") mdmLineCapabilities = MibIdentifier((1, 3, 6, 1, 2, 1, 38, 1, 1, 5)) mdmLineCapabilitiesV21 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 1)) if mibBuilder.loadTexts: mdmLineCapabilitiesV21.setDescription("ITU V.21") mdmLineCapabilitiesV22 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 2)) if mibBuilder.loadTexts: mdmLineCapabilitiesV22.setDescription("ITU V.22") mdmLineCapabilitiesV22bis = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 3)) if mibBuilder.loadTexts: mdmLineCapabilitiesV22bis.setDescription("ITU V.22bis") mdmLineCapabilitiesV23CC = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 4)) if mibBuilder.loadTexts: mdmLineCapabilitiesV23CC.setDescription("ITU V.23CC") mdmLineCapabilitiesV23SC = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 5)) if mibBuilder.loadTexts: mdmLineCapabilitiesV23SC.setDescription("ITU V.23SC") mdmLineCapabilitiesV25bis = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 6)) if mibBuilder.loadTexts: mdmLineCapabilitiesV25bis.setDescription("ITU V.25bis") mdmLineCapabilitiesV26bis = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 7)) if mibBuilder.loadTexts: mdmLineCapabilitiesV26bis.setDescription("ITU V.26bis") mdmLineCapabilitiesV26ter = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 8)) if mibBuilder.loadTexts: mdmLineCapabilitiesV26ter.setDescription("ITU V.26ter") mdmLineCapabilitiesV27ter = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 9)) if mibBuilder.loadTexts: mdmLineCapabilitiesV27ter.setDescription("ITU V.27ter") mdmLineCapabilitiesV32 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 10)) if mibBuilder.loadTexts: mdmLineCapabilitiesV32.setDescription("ITU V.32") mdmLineCapabilitiesV32bis = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 11)) if mibBuilder.loadTexts: mdmLineCapabilitiesV32bis.setDescription("ITU V.32bis") mdmLineCapabilitiesV32terbo = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 12)) if mibBuilder.loadTexts: mdmLineCapabilitiesV32terbo.setDescription("ITU V.32terbo") mdmLineCapabilitiesVFC = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 13)) if mibBuilder.loadTexts: mdmLineCapabilitiesVFC.setDescription("ITU V.FC") mdmLineCapabilitiesV34 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 14)) if mibBuilder.loadTexts: mdmLineCapabilitiesV34.setDescription("ITU V.34") mdmLineCapabilitiesV42 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 15)) if mibBuilder.loadTexts: mdmLineCapabilitiesV42.setDescription("ITU V.42") mdmLineCapabilitiesV42bis = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 16)) if mibBuilder.loadTexts: mdmLineCapabilitiesV42bis.setDescription("ITU V.42bis") mdmLineCapabilitiesMNP1 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 17)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP1.setDescription("MNP1") mdmLineCapabilitiesMNP2 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 18)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP2.setDescription("MNP2") mdmLineCapabilitiesMNP3 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 19)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP3.setDescription("MNP3") mdmLineCapabilitiesMNP4 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 20)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP4.setDescription("MNP4") mdmLineCapabilitiesMNP5 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 21)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP5.setDescription("MNP5") mdmLineCapabilitiesMNP6 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 22)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP6.setDescription("MNP6") mdmLineCapabilitiesMNP7 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 23)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP7.setDescription("MNP7") mdmLineCapabilitiesMNP8 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 24)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP8.setDescription("MNP8") mdmLineCapabilitiesMNP9 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 25)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP9.setDescription("MNP9") mdmLineCapabilitiesMNP10 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 26)) if mibBuilder.loadTexts: mdmLineCapabilitiesMNP10.setDescription("MNP10") mdmLineCapabilitiesV29 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 27)) if mibBuilder.loadTexts: mdmLineCapabilitiesV29.setDescription("ITU V.29") mdmLineCapabilitiesV33 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 28)) if mibBuilder.loadTexts: mdmLineCapabilitiesV33.setDescription("ITU V.33") mdmLineCapabilitiesBell208 = ObjectIdentity((1, 3, 6, 1, 2, 1, 38, 1, 1, 5, 29)) if mibBuilder.loadTexts: mdmLineCapabilitiesBell208.setDescription("Bell 208") mdmDTEInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 6)) if mibBuilder.loadTexts: mdmDTEInterfaceTable.setDescription("The modem DTE Interface Table augments the modem ID table.") mdmDTEInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 6, 1)) if mibBuilder.loadTexts: mdmDTEInterfaceEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmDTEActionDTROnToOff = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 6, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("ignore", 1), ("escapeToCommandMode", 2), ("disconnectCall", 3), ("resetModem", 4), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmDTEActionDTROnToOff.setDescription("Defines the action the modem will take when DTR drops.\n\nIf the value is set to ignore(1), the modem takes no action\nwhen DTR drops. Typically, mdmDTEActionDTROffToOn would\nalso be set to ignore(1) if this object is set to ignore(1).\n\nIf the value is escapeToCommandMode(2), the modem remains\nconnected and enters command mode. If the value is\ndisconnectCall(3), the current call (if any) is terminated\nand the modem will not auto-answer while DTR is off. If the\nvalue is resetModem(4), the current call (if any) is\nterminated and the modem is reset.") mdmDTEActionDTROffToOn = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 6, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("ignore", 1), ("enableDial", 2), ("autoAnswerEnable", 3), ("establishConnection", 4), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmDTEActionDTROffToOn.setDescription("Defines the action the modem will take when DTR is raised.\n\nIf the value is set to ignore(1), the modem takes no action\nwhen DTR is raised. Typically, mdmDTEActionDTROnToOff would\nalso be set to ignore(1) if this object is set to ignore(1).\n\nIf the value is set to enableDial(2), the modem prepares to\ndial an outgoing call. If the value is set to\nautoAnswerEnable(3), the modem will be configured to answer\nany incoming call. If the value is set to\nestablishConnection(4), the modem dials an implementation\nspecific number.\n\nImmediately after any reset or power-on of the modem, if the\nDTR is high, the action specified here will be executed.") mdmDTESyncTimingSource = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 6, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,)).subtype(namedValues=NamedValues(("internal", 1), ("external", 2), ("loopback", 3), ("network", 4), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmDTESyncTimingSource.setDescription("The clock source for synchronous transmissions. If set to\ninternal(1), the modem is the clock source and sends the\nclock signals to the DTE. If set to external(2), the\ntransmit clock signals are provided by the DTE. If\nloopback(3), the modem receiver clock is used for the\ntransmit clock. If network(4), the clock signals are\nsupplied by the DCE interface.\n\nIf the modem is not in synchronous mode, setting this object\nwill have no effect on the current operations of the modem.") mdmDTESyncAsyncMode = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 6, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("async", 1), ("sync", 2), ("syncAfterDial", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmDTESyncAsyncMode.setDescription("The operational mode of the modem. If the value is\nsyncAfterDial(3), the modem will accept commands in\nasynchronous mode and change to synchronous mode to pass\ndata after a dial sequence has been executed.") mdmDTEInactivityTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 6, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmDTEInactivityTimeout.setDescription("The amount of idle time in minutes that the modem will wait\nbefore disconnecting a connection. When a call is connected\nand no data is transferred (continuous marking condition) on\nboth circuits 103 and 104 for the specified time, the DCE\ndisconnects the call. If the value is 0, no idle disconnect\nwill occur. This function applies to asynchronous dial\noperations only and is intended for administrative control\nover idle connections.") mdmCallControlTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 7)) if mibBuilder.loadTexts: mdmCallControlTable.setDescription("The modem Call Control Table augments the modem ID table.") mdmCallControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 7, 1)) if mibBuilder.loadTexts: mdmCallControlEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmCCRingsBeforeAnswer = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 7, 1, 1), Integer32().clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmCCRingsBeforeAnswer.setDescription("Determines which ring the modem will wait to answer the\nphone on. If this value is `0', the modem will not go\noffhook and answer a call when a ring signal is detected.") mdmCCCallSetUpFailTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmCCCallSetUpFailTimer.setDescription("This parameter specifies the amount of time, in seconds,\nthat the modem shall allow between either answering a call\n(automatically or manually) or completion of dialing, and\nestablishment of a connection with the remote modem. If no\nconnection is established during this time, the modem\ndisconnects from the line and returns a result code\nindicating the cause of the disconnection. In TIA-602, this\nis controlled by the value in the S7 register.") mdmCCResultCodeEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 7, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("numericEnabled", 2), ("verboseEnabled", 3), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmCCResultCodeEnable.setDescription("When disabled, the DCE shall issue no 'result codes' of any\nkind to the DTE either in response to unsolicited events\n(eg. ring signal), or commands. In TIA-602, this is\ncontrolled by the ATQ command. When numericEnabled, the DCE\nshall issue result codes in numeric form. When\nverboseEnabled, the DCE shall issue result codes in a\nverbose, textual form.") mdmCCEscapeAction = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 7, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("ignoreEscape", 1), ("hangUp", 2), ("enterCommandMode", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmCCEscapeAction.setDescription("The modem's action upon successfully recognizing the\n'escape to command mode' character sequence.") mdmCCCallDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 7, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmCCCallDuration.setDescription("Present or last completed connection time in seconds. If\nthere have been no previous connections, this value should\nbe -1.") mdmCCConnectionFailReason = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 7, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(33,10,1,32,11,41,30,4,2,5,40,20,3,6,42,31,)).subtype(namedValues=NamedValues(("unknown", 1), ("powerLoss", 10), ("equipmentFailure", 11), ("other", 2), ("dtrDrop", 20), ("managementCommand", 3), ("noDialTone", 30), ("lineBusy", 31), ("noAnswer", 32), ("voiceDetected", 33), ("inactivityTimeout", 4), ("carrierLost", 40), ("trainingFailed", 41), ("faxDetected", 42), ("mnpIncompatibility", 5), ("protocolError", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmCCConnectionFailReason.setDescription("Indicates the reason that the last connection or attempt\nfailed. The meaning of each reason code is explained below.\n\n unknown:\nThis code means the failure reason is unknown or\nthere has been no previous call.\n\n other:\nThis code used when no other code is applicable.\nAdditional vendor information may be available\nelsewhere.\n\n managementCommand:\nA management command terminated the call. These\ncommands include escaping to command mode, initiating\ndialing, restoring lines, and disconnecting.\n\n inactivityTimeout:\nThe call was terminated because it was inactive for\nat the minimum duration specified.\n\n mnpIncompatibility:\nThe modems are unable to resolve MNP protocol\ndifferences.\n\n protocolError:\nAn error occured in one of protocol in use. Further\ninformation is required to determine in which\nprotocol the error occurred, and the exact nature of\nthe error.\n\n powerLoss:\nThe modem lost power and disconnected the call.\n\n equipmentFailure:\nThe modem equipment failed.\n\n dtrDrop:\nDTR has been turned off while the modem is to\ndisconnect on DTR drop. (Ref: V.58 cct108TurnedOff)\n\n noDialTone:\nIf the modem is to monitor for call progress tones,\nbut the modem has failed to detect dial tone while\nattempting to dial a number.\n\n lineBusy:\nBusy signal is detected while busy signal detection\nis enabled, or while the 'W' or '@' dial modifier is\nused. (Ref: V.58 engagedTone)\n\n noAnswer:\nThe call was not answered.\n\n voiceDetected:\nA voice was detected on the call.\n\n carrierLost:\nIndicates that the modem has disconnected due to\ndetection of loss of carrier. In TIA-602, the S10\nregister determines the time that loss of carrier\nmust be detected before the modem disconnects.\n\n trainingFailed:\nIndicates that the modems did not successfully train\nand reach data mode on the previous connection.\n\n faxDetected:\nA fax was detected on the call.") mdmCCStoredDialStringTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 8)) if mibBuilder.loadTexts: mdmCCStoredDialStringTable.setDescription("The table of stored dial strings.") mdmCCStoredDialStringEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 8, 1)).setIndexNames((0, "Modem-MIB", "mdmIndex"), (0, "Modem-MIB", "mdmCCStoredDialStringIndex")) if mibBuilder.loadTexts: mdmCCStoredDialStringEntry.setDescription("A stored dial string.") mdmCCStoredDialStringIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mdmCCStoredDialStringIndex.setDescription("The unique index of a particular dial string.") mdmCCStoredDialString = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 8, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mdmCCStoredDialString.setDescription("A dial string stored in the modem.") mdmECTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 9)) if mibBuilder.loadTexts: mdmECTable.setDescription("The modem error correcting table augments the modem ID\ntable.") mdmECEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 9, 1)) if mibBuilder.loadTexts: mdmECEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmECErrorControlUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 9, 1, 1), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmECErrorControlUsed.setDescription("Indicates the error control method used during the current\nor previous call. This shall be one of the values for error\ncontrol protocols registered in the capabilities table for\nthis modem. If no error control protocol is in use, this\nobject shall have the value '{0 0}'.") mdmDCTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 10)) if mibBuilder.loadTexts: mdmDCTable.setDescription("The modem data compression table augments the modem ID\ntable.") mdmDCEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 10, 1)) if mibBuilder.loadTexts: mdmDCEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmDCCompressionTypeUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 10, 1, 1), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmDCCompressionTypeUsed.setDescription("Indicates the data compression method used during the\ncurrent or previous call. This shall be one of the values\nfor compression protocols registered in the capabilities\ntable for this modem. If no compression protocol is in use,\nthis object shall have the value '{0 0}'.") mdmSCTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 11)) if mibBuilder.loadTexts: mdmSCTable.setDescription("The modem signal convertor table augments the modem ID\ntable.") mdmSCEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 11, 1)) if mibBuilder.loadTexts: mdmSCEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmSCCurrentLineTransmitRate = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 11, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmSCCurrentLineTransmitRate.setDescription("The current link transmit rate of a connection, or the last\nlink transmit rate of the last connection in bits per\nsecond.") mdmSCCurrentLineReceiveRate = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 11, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmSCCurrentLineReceiveRate.setDescription("The current link receive rate of a connection, or the last\nlink receive rate of the last connection in bits per\nsecond.") mdmSCInitialLineTransmitRate = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 11, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmSCInitialLineTransmitRate.setDescription("The initial link transmit rate of the current connection,\nor the initial link transmit rate of the last connection in\nbits per second.") mdmSCInitialLineReceiveRate = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 11, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmSCInitialLineReceiveRate.setDescription("The initial link receive rate of the current connection, or\nthe initial link receive rate of the last connection in bits\nper second.") mdmSCModulationSchemeUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 11, 1, 5), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmSCModulationSchemeUsed.setDescription("The modulation scheme of the current or previous call.\nThis shall be one of the values for modulation protocols\nregistered in the capabilities table for this modem.") mdmStatsTable = MibTable((1, 3, 6, 1, 2, 1, 38, 1, 1, 12)) if mibBuilder.loadTexts: mdmStatsTable.setDescription("The modem statistics Table augments the modem ID table.") mdmStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1)) if mibBuilder.loadTexts: mdmStatsEntry.setDescription("Entries in this table are created only by the agent. One\nentry exists for each modem managed by the agent.") mdmStatsRingNoAnswers = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsRingNoAnswers.setDescription("The number of events in which ringing was detected but the\ncall was not answered.") mdmStatsIncomingConnectionFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsIncomingConnectionFailures.setDescription("The number of incoming connection requests that this modem\nanswered in which it could not train with the other DCE.") mdmStatsIncomingConnectionCompletions = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsIncomingConnectionCompletions.setDescription("The number of incoming connection requests that this modem\nanswered and successfully trained with the other DCE.") mdmStatsFailedDialAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsFailedDialAttempts.setDescription("The number of call attempts that failed because the modem\ndidn't go off hook, or there was no dialtone.") mdmStatsOutgoingConnectionFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsOutgoingConnectionFailures.setDescription("The number of outgoing calls from this modem which\nsucessfully went off hook and dialed, in which it could not\ntrain with the other DCE.") mdmStatsOutgoingConnectionCompletions = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsOutgoingConnectionCompletions.setDescription("The number of outgoing calls from this modem which resulted\nin successfully training with the other DCE.") mdmStatsRetrains = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsRetrains.setDescription("The number of retrains experienced on connections on this\nline.") mdmStats2400OrLessConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStats2400OrLessConnections.setDescription("The number of connections initially established at a\nmodulation speed of 2400 bits per second or less.") mdmStats2400To14400Connections = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStats2400To14400Connections.setDescription("The number of connections initially established at a\nmodulation speed of greater than 2400 bits per second and\nless than 14400 bits per second.") mdmStatsGreaterThan14400Connections = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsGreaterThan14400Connections.setDescription("The number of connections initially established at a\nmodulation speed of greater than 14400 bits per second.") mdmStatsErrorControlledConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsErrorControlledConnections.setDescription("The number of established connections using an error\ncontrol protocol.") mdmStatsCompressedConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsCompressedConnections.setDescription("The number of established connections using a compression\nprotocol.") mdmStatsCompressionEfficiency = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsCompressionEfficiency.setDescription("The number of bytes transferred into the compression\nencoder divided by the number of bytes transferred out of\nthe encoder, multiplied by 100 for either the current or\nlast call. If a data compression protocol is not in use,\nthis value shall be `100'.") mdmStatsSentOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsSentOctets.setDescription("The number of octets presented to the modem by the DTE.") mdmStatsReceivedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsReceivedOctets.setDescription("The number of octets presented to the DTE by the modem.") mdmStatsSentDataFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsSentDataFrames.setDescription("The number of data frames sent on the line interface. If\nthere is no frame-oriented protocol in use on the line\ninterface, this counter shall not increment.") mdmStatsReceivedDataFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsReceivedDataFrames.setDescription("The number of data frames received on the line interface.\nIf there is no frame-oriented protocol in use on the line\ninterface, this counter shall not increment.") mdmStatsResentFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsResentFrames.setDescription("The number of times this modem retransmits frames on the\nline interface. If there is no frame-oriented protocol in\nuse on the line interface, this counter shall not\nincrement.") mdmStatsErrorFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 38, 1, 1, 12, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mdmStatsErrorFrames.setDescription("The number of block errors received on the link. If there\nis no frame-oriented protocol in use on the line interface,\nthis counter shall not increment.") mdmConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 38, 1, 2)) mdmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 38, 1, 2, 1)) mdmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 38, 1, 2, 2)) # Augmentions mdmIDEntry.registerAugmentions(("Modem-MIB", "mdmLineEntry")) mdmLineEntry.setIndexNames(*mdmIDEntry.getIndexNames()) mdmIDEntry.registerAugmentions(("Modem-MIB", "mdmStatsEntry")) mdmStatsEntry.setIndexNames(*mdmIDEntry.getIndexNames()) mdmIDEntry.registerAugmentions(("Modem-MIB", "mdmDTEInterfaceEntry")) mdmDTEInterfaceEntry.setIndexNames(*mdmIDEntry.getIndexNames()) mdmIDEntry.registerAugmentions(("Modem-MIB", "mdmDCEntry")) mdmDCEntry.setIndexNames(*mdmIDEntry.getIndexNames()) mdmIDEntry.registerAugmentions(("Modem-MIB", "mdmECEntry")) mdmECEntry.setIndexNames(*mdmIDEntry.getIndexNames()) mdmIDEntry.registerAugmentions(("Modem-MIB", "mdmCallControlEntry")) mdmCallControlEntry.setIndexNames(*mdmIDEntry.getIndexNames()) mdmIDEntry.registerAugmentions(("Modem-MIB", "mdmSCEntry")) mdmSCEntry.setIndexNames(*mdmIDEntry.getIndexNames()) # Groups mdmIDGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 1)).setObjects(*(("Modem-MIB", "mdmIDManufacturerOID"), ("Modem-MIB", "mdmIDProductDetails"), ) ) if mibBuilder.loadTexts: mdmIDGroup.setDescription("A collection of objects that identify the manufacturer and\nmodel information for a modem.") mdmLineInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 2)).setObjects(*(("Modem-MIB", "mdmLineCapabilitiesEnableGranted"), ("Modem-MIB", "mdmLineCapabilitiesEnableRequested"), ("Modem-MIB", "mdmLineCapabilitiesID"), ("Modem-MIB", "mdmLineState"), ("Modem-MIB", "mdmLineCarrierLossTime"), ) ) if mibBuilder.loadTexts: mdmLineInterfaceGroup.setDescription("A collection of objects that describe the configuration and\nstate of the modem's line interface.") mdmDTEInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 3)).setObjects(*(("Modem-MIB", "mdmDTEActionDTROnToOff"), ("Modem-MIB", "mdmDTESyncAsyncMode"), ("Modem-MIB", "mdmDTEInactivityTimeout"), ("Modem-MIB", "mdmDTEActionDTROffToOn"), ("Modem-MIB", "mdmDTESyncTimingSource"), ) ) if mibBuilder.loadTexts: mdmDTEInterfaceGroup.setDescription("A collection of objects that describe the configuration and\nstate of the modem's DTE interface.") mdmCallControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 4)).setObjects(*(("Modem-MIB", "mdmCCCallSetUpFailTimer"), ("Modem-MIB", "mdmCCCallDuration"), ("Modem-MIB", "mdmCCEscapeAction"), ("Modem-MIB", "mdmCCStoredDialString"), ("Modem-MIB", "mdmCCResultCodeEnable"), ("Modem-MIB", "mdmCCConnectionFailReason"), ("Modem-MIB", "mdmCCRingsBeforeAnswer"), ) ) if mibBuilder.loadTexts: mdmCallControlGroup.setDescription("A collection of objects that describe the configuration of\ncall control capabilities on the modem and the status of\ncalls placed with this modem.") mdmErrorControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 5)).setObjects(*(("Modem-MIB", "mdmECErrorControlUsed"), ) ) if mibBuilder.loadTexts: mdmErrorControlGroup.setDescription("A collection of objects that describe the configuration and\nstate of error control on a modem.") mdmDataCompressionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 6)).setObjects(*(("Modem-MIB", "mdmDCCompressionTypeUsed"), ) ) if mibBuilder.loadTexts: mdmDataCompressionGroup.setDescription("A collection of objects that describe the configuration and\nstate of data compression on a modem.") mdmSignalConvertorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 7)).setObjects(*(("Modem-MIB", "mdmSCCurrentLineTransmitRate"), ("Modem-MIB", "mdmSCInitialLineReceiveRate"), ("Modem-MIB", "mdmSCModulationSchemeUsed"), ("Modem-MIB", "mdmSCInitialLineTransmitRate"), ("Modem-MIB", "mdmSCCurrentLineReceiveRate"), ) ) if mibBuilder.loadTexts: mdmSignalConvertorGroup.setDescription("A collection of objects that describe the configuration and\nstate of error control on a modem.") mdmStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 38, 1, 2, 2, 8)).setObjects(*(("Modem-MIB", "mdmStatsOutgoingConnectionFailures"), ("Modem-MIB", "mdmStatsOutgoingConnectionCompletions"), ("Modem-MIB", "mdmStatsFailedDialAttempts"), ("Modem-MIB", "mdmStatsSentOctets"), ("Modem-MIB", "mdmStatsResentFrames"), ("Modem-MIB", "mdmStatsCompressionEfficiency"), ("Modem-MIB", "mdmStats2400OrLessConnections"), ("Modem-MIB", "mdmStatsSentDataFrames"), ("Modem-MIB", "mdmStatsIncomingConnectionFailures"), ("Modem-MIB", "mdmStatsIncomingConnectionCompletions"), ("Modem-MIB", "mdmStatsErrorControlledConnections"), ("Modem-MIB", "mdmStats2400To14400Connections"), ("Modem-MIB", "mdmStatsReceivedOctets"), ("Modem-MIB", "mdmStatsRetrains"), ("Modem-MIB", "mdmStatsCompressedConnections"), ("Modem-MIB", "mdmStatsReceivedDataFrames"), ("Modem-MIB", "mdmStatsGreaterThan14400Connections"), ("Modem-MIB", "mdmStatsErrorFrames"), ("Modem-MIB", "mdmStatsRingNoAnswers"), ) ) if mibBuilder.loadTexts: mdmStatisticsGroup.setDescription("A collection of objects that describe the state of calls on\nthis modem.") # Compliances mdmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 38, 1, 2, 1, 1)).setObjects(*(("Modem-MIB", "mdmStatisticsGroup"), ("Modem-MIB", "mdmLineInterfaceGroup"), ("Modem-MIB", "mdmIDGroup"), ("Modem-MIB", "mdmDTEInterfaceGroup"), ("Modem-MIB", "mdmErrorControlGroup"), ("Modem-MIB", "mdmDataCompressionGroup"), ("Modem-MIB", "mdmCallControlGroup"), ("Modem-MIB", "mdmSignalConvertorGroup"), ) ) if mibBuilder.loadTexts: mdmCompliance.setDescription("The compliance statement for SNMPv2 entities which\nimplement the modem MIB.") # Exports # Module identity mibBuilder.exportSymbols("Modem-MIB", PYSNMP_MODULE_ID=mdmMIB) # Objects mibBuilder.exportSymbols("Modem-MIB", mdmMib=mdmMib, mdmMIB=mdmMIB, mdmMIBObjects=mdmMIBObjects, mdmNumber=mdmNumber, mdmIDTable=mdmIDTable, mdmIDEntry=mdmIDEntry, mdmIndex=mdmIndex, mdmIDManufacturerOID=mdmIDManufacturerOID, mdmIDProductDetails=mdmIDProductDetails, mdmLineTable=mdmLineTable, mdmLineEntry=mdmLineEntry, mdmLineCarrierLossTime=mdmLineCarrierLossTime, mdmLineState=mdmLineState, mdmLineCapabilitiesTable=mdmLineCapabilitiesTable, mdmLineCapabilitiesEntry=mdmLineCapabilitiesEntry, mdmLineCapabilitiesIndex=mdmLineCapabilitiesIndex, mdmLineCapabilitiesID=mdmLineCapabilitiesID, mdmLineCapabilitiesEnableRequested=mdmLineCapabilitiesEnableRequested, mdmLineCapabilitiesEnableGranted=mdmLineCapabilitiesEnableGranted, mdmLineCapabilities=mdmLineCapabilities, mdmLineCapabilitiesV21=mdmLineCapabilitiesV21, mdmLineCapabilitiesV22=mdmLineCapabilitiesV22, mdmLineCapabilitiesV22bis=mdmLineCapabilitiesV22bis, mdmLineCapabilitiesV23CC=mdmLineCapabilitiesV23CC, mdmLineCapabilitiesV23SC=mdmLineCapabilitiesV23SC, mdmLineCapabilitiesV25bis=mdmLineCapabilitiesV25bis, mdmLineCapabilitiesV26bis=mdmLineCapabilitiesV26bis, mdmLineCapabilitiesV26ter=mdmLineCapabilitiesV26ter, mdmLineCapabilitiesV27ter=mdmLineCapabilitiesV27ter, mdmLineCapabilitiesV32=mdmLineCapabilitiesV32, mdmLineCapabilitiesV32bis=mdmLineCapabilitiesV32bis, mdmLineCapabilitiesV32terbo=mdmLineCapabilitiesV32terbo, mdmLineCapabilitiesVFC=mdmLineCapabilitiesVFC, mdmLineCapabilitiesV34=mdmLineCapabilitiesV34, mdmLineCapabilitiesV42=mdmLineCapabilitiesV42, mdmLineCapabilitiesV42bis=mdmLineCapabilitiesV42bis, mdmLineCapabilitiesMNP1=mdmLineCapabilitiesMNP1, mdmLineCapabilitiesMNP2=mdmLineCapabilitiesMNP2, mdmLineCapabilitiesMNP3=mdmLineCapabilitiesMNP3, mdmLineCapabilitiesMNP4=mdmLineCapabilitiesMNP4, mdmLineCapabilitiesMNP5=mdmLineCapabilitiesMNP5, mdmLineCapabilitiesMNP6=mdmLineCapabilitiesMNP6, mdmLineCapabilitiesMNP7=mdmLineCapabilitiesMNP7, mdmLineCapabilitiesMNP8=mdmLineCapabilitiesMNP8, mdmLineCapabilitiesMNP9=mdmLineCapabilitiesMNP9, mdmLineCapabilitiesMNP10=mdmLineCapabilitiesMNP10, mdmLineCapabilitiesV29=mdmLineCapabilitiesV29, mdmLineCapabilitiesV33=mdmLineCapabilitiesV33, mdmLineCapabilitiesBell208=mdmLineCapabilitiesBell208, mdmDTEInterfaceTable=mdmDTEInterfaceTable, mdmDTEInterfaceEntry=mdmDTEInterfaceEntry, mdmDTEActionDTROnToOff=mdmDTEActionDTROnToOff, mdmDTEActionDTROffToOn=mdmDTEActionDTROffToOn, mdmDTESyncTimingSource=mdmDTESyncTimingSource, mdmDTESyncAsyncMode=mdmDTESyncAsyncMode, mdmDTEInactivityTimeout=mdmDTEInactivityTimeout, mdmCallControlTable=mdmCallControlTable, mdmCallControlEntry=mdmCallControlEntry, mdmCCRingsBeforeAnswer=mdmCCRingsBeforeAnswer, mdmCCCallSetUpFailTimer=mdmCCCallSetUpFailTimer, mdmCCResultCodeEnable=mdmCCResultCodeEnable, mdmCCEscapeAction=mdmCCEscapeAction, mdmCCCallDuration=mdmCCCallDuration, mdmCCConnectionFailReason=mdmCCConnectionFailReason, mdmCCStoredDialStringTable=mdmCCStoredDialStringTable, mdmCCStoredDialStringEntry=mdmCCStoredDialStringEntry, mdmCCStoredDialStringIndex=mdmCCStoredDialStringIndex, mdmCCStoredDialString=mdmCCStoredDialString, mdmECTable=mdmECTable, mdmECEntry=mdmECEntry, mdmECErrorControlUsed=mdmECErrorControlUsed, mdmDCTable=mdmDCTable, mdmDCEntry=mdmDCEntry, mdmDCCompressionTypeUsed=mdmDCCompressionTypeUsed, mdmSCTable=mdmSCTable, mdmSCEntry=mdmSCEntry, mdmSCCurrentLineTransmitRate=mdmSCCurrentLineTransmitRate, mdmSCCurrentLineReceiveRate=mdmSCCurrentLineReceiveRate, mdmSCInitialLineTransmitRate=mdmSCInitialLineTransmitRate, mdmSCInitialLineReceiveRate=mdmSCInitialLineReceiveRate, mdmSCModulationSchemeUsed=mdmSCModulationSchemeUsed, mdmStatsTable=mdmStatsTable, mdmStatsEntry=mdmStatsEntry, mdmStatsRingNoAnswers=mdmStatsRingNoAnswers, mdmStatsIncomingConnectionFailures=mdmStatsIncomingConnectionFailures, mdmStatsIncomingConnectionCompletions=mdmStatsIncomingConnectionCompletions, mdmStatsFailedDialAttempts=mdmStatsFailedDialAttempts, mdmStatsOutgoingConnectionFailures=mdmStatsOutgoingConnectionFailures, mdmStatsOutgoingConnectionCompletions=mdmStatsOutgoingConnectionCompletions, mdmStatsRetrains=mdmStatsRetrains, mdmStats2400OrLessConnections=mdmStats2400OrLessConnections, mdmStats2400To14400Connections=mdmStats2400To14400Connections, mdmStatsGreaterThan14400Connections=mdmStatsGreaterThan14400Connections, mdmStatsErrorControlledConnections=mdmStatsErrorControlledConnections, mdmStatsCompressedConnections=mdmStatsCompressedConnections, mdmStatsCompressionEfficiency=mdmStatsCompressionEfficiency, mdmStatsSentOctets=mdmStatsSentOctets, mdmStatsReceivedOctets=mdmStatsReceivedOctets, mdmStatsSentDataFrames=mdmStatsSentDataFrames, mdmStatsReceivedDataFrames=mdmStatsReceivedDataFrames, mdmStatsResentFrames=mdmStatsResentFrames, mdmStatsErrorFrames=mdmStatsErrorFrames, mdmConformance=mdmConformance, mdmCompliances=mdmCompliances, mdmGroups=mdmGroups) # Groups mibBuilder.exportSymbols("Modem-MIB", mdmIDGroup=mdmIDGroup, mdmLineInterfaceGroup=mdmLineInterfaceGroup, mdmDTEInterfaceGroup=mdmDTEInterfaceGroup, mdmCallControlGroup=mdmCallControlGroup, mdmErrorControlGroup=mdmErrorControlGroup, mdmDataCompressionGroup=mdmDataCompressionGroup, mdmSignalConvertorGroup=mdmSignalConvertorGroup, mdmStatisticsGroup=mdmStatisticsGroup) # Compliances mibBuilder.exportSymbols("Modem-MIB", mdmCompliance=mdmCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/TCPIPX-MIB.py0000644000014400001440000002242411736645141020444 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TCPIPX-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, enterprises, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "enterprises") # Types class IpxAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(10,10) fixedLength = 10 # Objects novell = MibIdentifier((1, 3, 6, 1, 4, 1, 23)) mibDoc = MibIdentifier((1, 3, 6, 1, 4, 1, 23, 2)) tcpx = MibIdentifier((1, 3, 6, 1, 4, 1, 23, 2, 29)) tcpxTcp = MibIdentifier((1, 3, 6, 1, 4, 1, 23, 2, 29, 1)) tcpIpxConnTable = MibTable((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 1)) if mibBuilder.loadTexts: tcpIpxConnTable.setDescription("A table containing information specific on\nTCP connection over IPX network layer.") tcpIpxConnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 1, 1)).setIndexNames((0, "TCPIPX-MIB", "tcpIpxConnLocalAddress"), (0, "TCPIPX-MIB", "tcpIpxConnLocalPort"), (0, "TCPIPX-MIB", "tcpIpxConnRemAddress"), (0, "TCPIPX-MIB", "tcpIpxConnRemPort")) if mibBuilder.loadTexts: tcpIpxConnEntry.setDescription("Information about a particular current TCP\nconnection over IPX An object of this type is\ntransient, in that it ceases to exist when (or\nsoon after) the connection makes the transition\nto the CLOSED state.") tcpIpxConnState = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,7,8,5,11,9,12,1,10,2,3,)).subtype(namedValues=NamedValues(("closed", 1), ("closing", 10), ("timeWait", 11), ("deleteTCB", 12), ("listen", 2), ("synSent", 3), ("synReceived", 4), ("established", 5), ("finWait1", 6), ("finWait2", 7), ("closeWait", 8), ("lastAck", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpIpxConnState.setDescription("The state of this TCP connection.\n\nThe only value which may be set by a management\nstation is deleteTCB(12). Accordingly, it is\nappropriate for an agent to return a `badValue'\nresponse if a management station attempts to set\nthis object to any other value.\n\nIf a management station sets this object to the\nvalue deleteTCB(12), then this has the effect of\ndeleting the TCB (as defined in RFC 793) of the\ncorresponding connection on the managed node,\nresulting in immediate termination of the\nconnection.\n\nAs an implementation-specific option, a RST\nsegment may be sent from the managed node to the\nother TCP endpoint (note however that RST\nsegments are not sent reliably).") tcpIpxConnLocalAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 1, 1, 2), IpxAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpIpxConnLocalAddress.setDescription("The local IPX address for this TCP connection.\nIn the case of a connection in the listen state\nwhich is willing to accept connections for any\ninterface, the value 00000000:000000000000 is\nused. See tcpUnspecConnTable for connections in\nthe listen state which is willing to accept\nconnects for any IP interface associated with\nthe node.") tcpIpxConnLocalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpIpxConnLocalPort.setDescription("The local port number for this TCP connection.") tcpIpxConnRemAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 1, 1, 4), IpxAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpIpxConnRemAddress.setDescription("The remote IPX address for this TCP connection.") tcpIpxConnRemPort = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpIpxConnRemPort.setDescription("The remote port number for this TCP connection.") tcpUnspecConnTable = MibTable((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 2)) if mibBuilder.loadTexts: tcpUnspecConnTable.setDescription("A table containing information specific on\nTCP connection over unspecified network layer.") tcpUnspecConnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 2, 1)).setIndexNames((0, "TCPIPX-MIB", "tcpUnspecConnLocalPort")) if mibBuilder.loadTexts: tcpUnspecConnEntry.setDescription("Information about a particular current TCP\nconnection over unspecified network layer. An\nobject of this type is transient, in that it\nceases to exist when the connection makes\ntransition beyond LISTEN state, or when (or\nsoon after) the connection makes transition\nto the CLOSED state,") tcpUnspecConnState = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 2, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(12,2,1,)).subtype(namedValues=NamedValues(("closed", 1), ("deleteTCB", 12), ("listen", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpUnspecConnState.setDescription("The state of this TCP connection.\n\nSince the TCP connection can belong to this table\nonly when its state is less than SYN_SENT, only\nclosed and listen state apply.\n\nThe only value which may be set by a management\nstation is deleteTCB(12). Accordingly, it is\nappropriate for an agent to return a `badValue'\nresponse if a management station attempts to set\nthis object to any other value.\n\nIf a management station sets this object to the\nvalue deleteTCB(12), then this has the effect of\ndeleting the TCB (as defined in RFC 793) of the\ncorresponding connection on the managed node,\nresulting in immediate termination of the\nconnection.\n\nAs an implementation-specific option, a RST\nsegment may be sent from the managed node to the\nother TCP endpoint (note however that RST\nsegments are not sent reliably).") tcpUnspecConnLocalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpUnspecConnLocalPort.setDescription("The local port number for this TCP connection.") tcpxUdp = MibIdentifier((1, 3, 6, 1, 4, 1, 23, 2, 29, 2)) udpIpxTable = MibTable((1, 3, 6, 1, 4, 1, 23, 2, 29, 2, 1)) if mibBuilder.loadTexts: udpIpxTable.setDescription("A table containing UDP listener information.") udpIpxEntry = MibTableRow((1, 3, 6, 1, 4, 1, 23, 2, 29, 2, 1, 1)).setIndexNames((0, "TCPIPX-MIB", "udpIpxLocalAddress"), (0, "TCPIPX-MIB", "udpIpxLocalPort")) if mibBuilder.loadTexts: udpIpxEntry.setDescription("Information about a particular current UDP\nlistener.") udpIpxLocalAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 2, 1, 1, 1), IpxAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: udpIpxLocalAddress.setDescription("The local IPX address for this UDP listener. In\nthe case of a UDP listener which is willing to\naccept datagrams for any interface, the value\n00000000:000000000000 is used. See\nudpUnspecTable for UDP listener which is\nwilling to accept datagrams from any network\nlayer.") udpIpxLocalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: udpIpxLocalPort.setDescription("The local port number for this UDP listener.") udpUnspecTable = MibTable((1, 3, 6, 1, 4, 1, 23, 2, 29, 2, 2)) if mibBuilder.loadTexts: udpUnspecTable.setDescription("A table containing UDP listener information.") udpUnspecEntry = MibTableRow((1, 3, 6, 1, 4, 1, 23, 2, 29, 2, 2, 1)).setIndexNames((0, "TCPIPX-MIB", "udpUnspecLocalPort")) if mibBuilder.loadTexts: udpUnspecEntry.setDescription("Information about a particular current UDP\nlistener.") udpUnspecLocalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 23, 2, 29, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: udpUnspecLocalPort.setDescription("The local port number for this UDP listener.") # Augmentions # Exports # Types mibBuilder.exportSymbols("TCPIPX-MIB", IpxAddress=IpxAddress) # Objects mibBuilder.exportSymbols("TCPIPX-MIB", novell=novell, mibDoc=mibDoc, tcpx=tcpx, tcpxTcp=tcpxTcp, tcpIpxConnTable=tcpIpxConnTable, tcpIpxConnEntry=tcpIpxConnEntry, tcpIpxConnState=tcpIpxConnState, tcpIpxConnLocalAddress=tcpIpxConnLocalAddress, tcpIpxConnLocalPort=tcpIpxConnLocalPort, tcpIpxConnRemAddress=tcpIpxConnRemAddress, tcpIpxConnRemPort=tcpIpxConnRemPort, tcpUnspecConnTable=tcpUnspecConnTable, tcpUnspecConnEntry=tcpUnspecConnEntry, tcpUnspecConnState=tcpUnspecConnState, tcpUnspecConnLocalPort=tcpUnspecConnLocalPort, tcpxUdp=tcpxUdp, udpIpxTable=udpIpxTable, udpIpxEntry=udpIpxEntry, udpIpxLocalAddress=udpIpxLocalAddress, udpIpxLocalPort=udpIpxLocalPort, udpUnspecTable=udpUnspecTable, udpUnspecEntry=udpUnspecEntry, udpUnspecLocalPort=udpUnspecLocalPort) pysnmp-mibs-0.1.3/pysnmp_mibs/RDBMS-MIB.py0000644000014400001440000014010511736645137020306 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RDBMS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:31 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( hrSystem, ) = mibBuilder.importSymbols("HOST-RESOURCES-MIB", "hrSystem") ( applGroups, applIndex, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "applGroups", "applIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( AutonomousType, DateAndTime, DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "DateAndTime", "DisplayString") # Objects rdbmsMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 39)).setRevisions(("1994-06-15 06:55",)) if mibBuilder.loadTexts: rdbmsMIB.setOrganization("IETF RDBMSMIB Working Group") if mibBuilder.loadTexts: rdbmsMIB.setContactInfo(" David Brower\n\nPostal: The ASK Group, INGRES DBMS Development\n 1080 Marina Village Parkway\n Alameda, CA 94501\n US\n\n Tel: +1 510 748 3418\n Fax: +1 510 748 2770\n\nE-mail: daveb@ingres.com") if mibBuilder.loadTexts: rdbmsMIB.setDescription("The MIB module to describe objects for generic relational\ndatabases.") rdbmsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 39, 1)) rdbmsDbTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 1)) if mibBuilder.loadTexts: rdbmsDbTable.setDescription("The table of databases installed on a system.") rdbmsDbEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 1, 1)).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex")) if mibBuilder.loadTexts: rdbmsDbEntry.setDescription("An entry for a single database on the host. Whether a\nparticular database is represented by a row in rdbmsDbTable\nmay be dependent on the activity level of that database,\naccording to the product's implementation. An instance of\nrdbmsRelState having the value active, other, or restricted\nimplies that an entry, corresponding to that instance, will\nbe present.") rdbmsDbIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rdbmsDbIndex.setDescription("A numeric index, unique among all the databases from all\nproducts on this host. This value is a surrogate for the\nconceptually unique key, which is {PrivateMibOID,\ndatabasename}") rdbmsDbPrivateMibOID = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbPrivateMibOID.setDescription("The authoritative identification for the private MIB for\nthis database, presumably based on the vendor, e.g., {\nenterprises 111 } for Oracle\ndatabases, {enterprises 757 } for\nIngres databases, { enterprises 897 } for Sybase databases, etc.\n\nIf no OBJECT IDENTIFIER exists for the private MIB, attempts\nto access this object will return noSuchName (SNMPv1)\nor noSuchInstance (SNMPv2).") rdbmsDbVendorName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbVendorName.setDescription("The name of the vendor whose RDBMS manages this database,\nfor informational purposes.") rdbmsDbName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbName.setDescription("The name of this database, in a product specific format. The\nproduct may need to qualify the name in some way to resolve\nconflicts if it is possible for a database name to be\nduplicated on a host. It might be necessary to construct a\nhierarchical name embedding the RDBMS instance/installation\non the host, and/or the owner of the database. For instance,\n'/test-installation/database-owner/database-name'.") rdbmsDbContact = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 1, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsDbContact.setDescription("The textual identification of the contact person for this\nmanaged database, together with information on how to contact\nthis person.\n\nNote: if there is no server associated with this database, an\nagent may need to keep this in other persistent storage,\ne.g., a configuration file.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsDbInfoTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 2)) if mibBuilder.loadTexts: rdbmsDbInfoTable.setDescription("The table of additional information about databases present\non the host.") rdbmsDbInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 2, 1)).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex")) if mibBuilder.loadTexts: rdbmsDbInfoEntry.setDescription("Information that must be present if the database is actively\nopened. If the database is not actively opened, then\nattempts to access corresponding instances in this table may\nresult in either noSuchName (SNMPv1) or noSuchInstance\n(SNMPv2). 'Actively opened' means at least one of the\nrdbmsRelState entries for this database in the rdbmsRelTable\nis active(2).") rdbmsDbInfoProductName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 2, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbInfoProductName.setDescription("The textual product name of the server that created or last\nrestructured this database. The format is product specific.") rdbmsDbInfoVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 2, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbInfoVersion.setDescription("The version number of the server that created or last\nrestructured this database. The format is product specific.") rdbmsDbInfoSizeUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,5,1,2,4,)).subtype(namedValues=NamedValues(("bytes", 1), ("kbytes", 2), ("mbytes", 3), ("gbytes", 4), ("tbytes", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbInfoSizeUnits.setDescription("Identification of the units used to measure the size of this\ndatabase in rdbmsDbInfoSizeAllocated and rdbmsDbInfoSizeUsed.\nbytes(1) indicates individual bytes, kbytes(2) indicates\nunits of kilobytes, mbytes(3) indicates units of megabytes,\ngbytes(4) indicates units of gigabytes, and tbytes(5)\nindicates units of terabytes. All are binary multiples -- 1K\n= 1024. If writable, changes here are reflected in the get\nvalues of the associated objects.") rdbmsDbInfoSizeAllocated = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsDbInfoSizeAllocated.setDescription("The estimated size of this database (in\nrdbmsDbInfoSizeUnits), which is the disk space that has been\nallocated to it and is no longer available to users on this\nhost. rdbmsDbInfoSize does not necessarily indicate the\namount of space actually in use for database data. Some\ndatabases may support extending allocated size, and others\nmay not.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsDbInfoSizeUsed = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbInfoSizeUsed.setDescription("The estimated size of this database, in rdbmsDbInfoSizeUnits,\nwhich is actually in use for database data.") rdbmsDbInfoLastBackup = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 2, 1, 6), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbInfoLastBackup.setDescription("The date and time that the latest complete or partial backup\nof the database was taken. If a database has never been\nbacked up, then attempts to access this object will\nresult in either noSuchName (SNMPv1) or noSuchInstance\n(SNMPv2).") rdbmsDbParamTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 3)) if mibBuilder.loadTexts: rdbmsDbParamTable.setDescription("The table of configuration parameters for a database.\nEntries should be populated according to the following\nguidelines:\n(1) The value should be specified through administrative\n (human) intervention.\n(2) It should be configured on a per-database basis.\n(3) One of the following is true:\n (a) The parameter has a non-numeric value;\n (b) The current value is numeric, but it only changes due\n to human intervention;\n (c) The current value is numeric and dynamic, but the\n RDBMS does not track access/allocation failures\n related to the parameter;\n (d) The current value is numeric and dynamic, the\n RDBMS tracks changes in access/allocation failures\n related to the parameter, but the failure has no\n significant impact on RDBMS performance or\n availability.\n (e) The current value is numeric and dynamic, the\n RDBMS tracks changes in access/allocation failures\n related to the parameter, the failure has\n significant impact on RDBMS performance or\n availability, and is shown in the\n rdbmsDbLimitedResource table.") rdbmsDbParamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 3, 1)).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"), (0, "RDBMS-MIB", "rdbmsDbParamName"), (0, "RDBMS-MIB", "rdbmsDbParamSubIndex")) if mibBuilder.loadTexts: rdbmsDbParamEntry.setDescription("An entry for a single configuration parameter for a database.\nParameters with single values have a subindex value of one.\nIf the parameter is naturally considered to contain a\nvariable number of members of a class, e.g. members of the\nDBA user group, or files which are part of the database, then\nit must be presented as a set of rows. If, on the other\nhand, the parameter represents a set of choices from a class,\ne.g. the permissions on a file or the options chosen out of\nthe set of all options allowed, AND is guaranteed to always\nfit in the 255 character length of a DisplayString, then it\nmay be presented as a comma separated list with a subindex\nvalue of one. Zero may not be used as a subindex value.\n\nIf the database is not actively opened, then attempts\nto access corresponding instances in this table may result in\neither noSuchName (SNMPv1) or noSuchInstance (SNMPv2).\n'Actively opened' means at least one of the\nrdbmsRelState entries for this database in the rdbmsRelTable\nis active(2).") rdbmsDbParamName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 3, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rdbmsDbParamName.setDescription("The name of a configuration parameter for a database. This\nname is product-specific. The length is limited to 64\ncharacters to constrain the number of sub-identifiers needed\nfor instance identification (and to minimize network\ntraffic).") rdbmsDbParamSubIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rdbmsDbParamSubIndex.setDescription("The subindex value for this parameter. If the parameter is\nnaturally considered to contain a variable number of members\nof a class, e.g. members of the DBA user group, or files\nwhich are part of the database, then it must be presented as\na set of rows. If, on the other hand, the parameter\nrepresents a set of choices from a class, e.g. the\npermissions on a file or the options chosen out of the set of\nall options allowed, AND is guaranteed to always fit in the\n255 character length of a DisplayString, then it may be\npresented as a comma separated list with a subindex value of\none. Zero may not be used as a value.") rdbmsDbParamID = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 3, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbParamID.setDescription("The ID of the parameter which may be described in some other\nMIB (e.g., an enterprise-specific MIB module). If there is\nno ID for this rdbmsDbParamName, attempts to access this\nobject will return noSuchName (SNMPv1) or noSuchInstance\n(SNMPv2).") rdbmsDbParamCurrValue = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 3, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsDbParamCurrValue.setDescription("The value for a configuration parameter now in effect, the\nactual setting for the database. While there may multiple\nvalues in the temporal domain of interest (for instance, the\nvalue to take effect at the next restart), this is the\ncurrent setting.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsDbParamComment = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 3, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsDbParamComment.setDescription("Annotation which describes the purpose of a configuration\nparameter or the reason for a particular parameter's\nsetting.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsDbLimitedResourceTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 4)) if mibBuilder.loadTexts: rdbmsDbLimitedResourceTable.setDescription("The table of limited resources that are kept per-database.") rdbmsDbLimitedResourceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 4, 1)).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"), (0, "RDBMS-MIB", "rdbmsDbLimitedResourceName")) if mibBuilder.loadTexts: rdbmsDbLimitedResourceEntry.setDescription("An entry for a single limited resource kept per-database.\nA limited resource has maximum use determined by a parameter\nthat might or might not be changeable at run time, or visible\nin the rdbmsDbParamTable. Examples would be the number of\navailable locks, or disk space on a partition. Arrays of\nresources are supported through an integer sub index, which\nshould have the value of one for single-instance names.\n\nLimited resources that are shared across databases, are best\nput in the rdbmsSvrLimitedResourceTable instead of this one.\nIf the database is not actively opened, then attempts to\naccess corresponding instances in this table may result in\neither noSuchName (SNMPv1) or noSuchInstance (SNMPv2).\n'Actively opened' means at least one of the rdbmsRelState\nentries for this database in the rdbmsRelTable is active(2).") rdbmsDbLimitedResourceName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 4, 1, 1), DisplayString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rdbmsDbLimitedResourceName.setDescription("The name of the resource, for instance 'global locks' or\n'locks for the FOO database', or 'data space on /dev/rdsk/5s0\nfor FOO'. The length is limited to 64 characters to constrain\nthe number of sub-identifiers needed for instance\nidentification (and to minimize network traffic).") rdbmsDbLimitedResourceID = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 4, 1, 2), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbLimitedResourceID.setDescription("The ID of the resource which may be described in some other\nMIB (e.g., an enterprise-specific MIB module). If there is\nno ID for this rdbmsDbLimitedResourceName, attempts to access\nthis object will return noSuchName (SNMPv1) or noSuchInstance\n(SNMPv2).") rdbmsDbLimitedResourceLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsDbLimitedResourceLimit.setDescription("The maximum value the resource use may attain.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsDbLimitedResourceCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbLimitedResourceCurrent.setDescription("The current value for the resource.") rdbmsDbLimitedResourceHighwater = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbLimitedResourceHighwater.setDescription("The maximum value of the resource seen since applUpTime\nwas reset for the earliest server which has the database\nactively opened.\n\nIf there are two servers with the database open, and the\noldest one dies, the proper way to invalidate the value is by\nresetting sysUpTime.") rdbmsDbLimitedResourceFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsDbLimitedResourceFailures.setDescription("The number of times the system wanted to exceed the limit of\nthe resource since applUpTime was reset for the earliest\nserver which has the database actively opened.\n\nIf there are two servers with the DB open, and the\noldest one dies, the proper way to invalidate the value is by\nresetting sysUpTime.") rdbmsDbLimitedResourceDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 4, 1, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsDbLimitedResourceDescription.setDescription("A description of the resource and the meaning of the integer\nunits used for Limit, Current, and Highwater.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsSrvTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 5)) if mibBuilder.loadTexts: rdbmsSrvTable.setDescription("The table of database servers running or installed\non a system.") rdbmsSrvEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 5, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: rdbmsSrvEntry.setDescription("An entry for a single database server. A server is an\nindependent entity that provides access to one or more\ndatabases. Failure of one does not affect access to\ndatabases through any other servers. There might be one or\nmore servers providing access to a database. A server may be\na 'process' or collection of 'processes', as interpreted by\nthe product.") rdbmsSrvPrivateMibOID = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 5, 1, 1), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvPrivateMibOID.setDescription("The authoritative identification for the private MIB for this\nserver, presumably based on the vendor, e.g., { enterprises\n111 } for Oracle servers, {\nenterprises 757 } for Ingres\nservers, { enterprises 897 } for\nSybase servers, etc.\n\nIf no OBJECT IDENTIFIER exists for the private MIB, attempts\nto access this object will return noSuchName (SNMPv1)\nor noSuchInstance (SNMPv2).") rdbmsSrvVendorName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 5, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvVendorName.setDescription("The name of the vendor whose RDBMS manages this database,\nfor informational purposes.") rdbmsSrvProductName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 5, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvProductName.setDescription("The product name of this server. This is normally the\nvendor's formal name for the product, in product specific\nformat.") rdbmsSrvContact = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 5, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsSrvContact.setDescription("The textual identification of the contact person for this\nmanaged server, together with information on how to contact\nthis person.\n\nNote: if there is no active server associated with this\nobject, an agent may need to keep this in other persistent\nstorage, e.g., a configuration file.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsSrvInfoTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 6)) if mibBuilder.loadTexts: rdbmsSrvInfoTable.setDescription("The table of additional information about database servers.\n\nEntries in this table correspond to applications in the\nNETWORK-SERVICES-MIB applTable. Some objects in that table are\napplication-specific. When they are associated with an RDBMS\nserver in this table, the objects have the following\nmeanings.\n\napplName - The name of this server, i.e., the process or\ngroup of processes providing access to this database. The\nexact format will be product and host specific.\n\napplVersion - The version number of this server, in product\nspecific format.\n\napplOperStatus - up(1) means operational and available for\ngeneral use. down(2) means the server is not available for\nuse, but is known to the agent. The other states have broad\nmeaning, and may need to be supplemented by the vendor\nprivate MIB. Halted(3) implies an administrative state of\nunavailability. Congested(4) implies a resource or or\nadministrative limit is prohibiting new inbound associations.\nThe 'available soon' description of restarting(5) may include\nan indeterminate amount of recovery.\n\napplLastChange is the time the agent noticed the most recent\nchange to applOperStatus.\n\napplInboundAssociation is the number of currently active\nlocal and remote conversations (usually SQL connects).\n\napplOutboundAssociations is not provided by this MIB.\n\napplAccumulatedInboundAssociations is the total number of\nlocal and remote conversations started since the server came\nup.\n\napplAccumulatedOutbound associations is not provided by this\nMIB.\n\napplLastInboundActivity is the time the most recent local or\nremote conversation was attempted or disconnected.\n\napplLastOutboundActivity is not provided by this MIB.\n\napplRejectedInboundAssociations is the number of local or\nremote conversations rejected by the server for\nadministrative reasons or because of resource limitations.\n\napplFailedOutboundAssociations is not provided by this MIB.") rdbmsSrvInfoEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 6, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: rdbmsSrvInfoEntry.setDescription("Information that must be present for a single 'up' database\nserver, with visibility determined by the value of the\ncorresponding applOperStatus object. If an instance of\napplOperStatus is not up(1), then attempts to access\ncorresponding instances in this table may result in either\nnoSuchName (SNMPv1) or noSuchInstance (SNMPv2) being returned\nby the agent.") rdbmsSrvInfoStartupTime = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 1), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoStartupTime.setDescription("The date and time at which this server was last started.") rdbmsSrvInfoFinishedTransactions = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoFinishedTransactions.setDescription("The number of transactions visible to this server that have\nbeen completed by either commit or abort. Some database\noperations, such as read-only queries, may not result in the\ncreation of a transaction.") rdbmsSrvInfoDiskReads = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoDiskReads.setDescription("The total number of reads of database files issued to the\noperating system by this server since startup. Numbers are\nnot comparable between products. What constitutes a\nreadand how it is accounted is product-specific.") rdbmsSrvInfoLogicalReads = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoLogicalReads.setDescription("The total number of logical reads of database files made\ninternally by this server since startup. The values of this\nobject and those of rdbmsSrvInfoDiskReads reveal the effect\nof caching on read operation. Numbers are not comparable\nbetween products, and may only be meaningful when aggregated\nacross all servers sharing a common cache.") rdbmsSrvInfoDiskWrites = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoDiskWrites.setDescription("The total number of writes to database files issued to the\noperating system by this server since startup. Numbers are\nnot comparable between products.") rdbmsSrvInfoLogicalWrites = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoLogicalWrites.setDescription("The total number of times parts of the database files have\nbeen marked 'dirty' and in need of writing to the disk. This\nvalue and rdbmsSrvInfoDiskWrites give some indication of the\neffect of 'write-behind' strategies in reducing the number of\ndisk writes compared to database operations. Because the\nwrites may be done by servers other than those marking the\nparts of the database files dirty, these values may only be\nmeaningful when aggregated across all servers sharing a\ncommon cache. Numbers are not comparable between products.") rdbmsSrvInfoPageReads = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoPageReads.setDescription("The total number of pages in database files read by this\nserver since startup. 'Pages' are product specific units of\ndisk i/o operations. This value, along with\nrdbmsSrvInfoDiskReads, reveals the effect of any grouping\nread-ahead that may be used to enhance performance of some\nqueries, such as scans.") rdbmsSrvInfoPageWrites = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoPageWrites.setDescription("The total number of pages in database files written by this\nserver since startup. Pages are product-specific units of\ndisk I/O. This value, with rdbmsSrvInfoDiskWrites, shows the\neffect of write strategies that collapse logical writes of\ncontiguous pages into single calls to the operating system.") rdbmsSrvInfoDiskOutOfSpaces = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoDiskOutOfSpaces.setDescription("The total number of times the server has been unable to\nobtain disk space that it wanted, since server startup. This\nwould be inspected by an agent on receipt of an\nrdbmsOutOfSpace trap.") rdbmsSrvInfoHandledRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoHandledRequests.setDescription("The total number of requests made to the server on inbound\nassociations. The meaning of 'requests' is product specific,\nand is not comparable between products.\n\nThis is intended to encapsulate high level semantic\noperations between clients and servers, or between peers.\nFor instance, one request might correspond to a 'select' or\nan 'insert' statement. It is not intended to capture disk\ni/o described in rdbmsSrvInfoDiskReads and\nrdbmsSrvInfoDiskWrites.") rdbmsSrvInfoRequestRecvs = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoRequestRecvs.setDescription("The number of receive operations made processing any requests\non inbound associations. The meaning of operations is product\nspecific, and is not comparable between products.\n\nThis is intended to capture lower-level i/o operations than\nshown by HandledRequests, between clients and servers, or\nbetween peers. For instance, it might roughly correspond to\nthe amount of data given with an 'insert' statement. It is\nnot intended to capture disk i/o described in\nrdbmsSrvInfoDiskReads and rdbmsSrvInfoDiskWrites.") rdbmsSrvInfoRequestSends = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoRequestSends.setDescription("The number of send operations made processing requests\nhandled on inbound associations. The meaning of operations\nis product specific, and is not comparable between products.\nThis is intended to capture lower-level i/o operations than\nshown by HandledRequests, between between clients and\nservers, or between peers. It might roughly correspond to\nthe number of rows returned by a 'select' statement. It is\nnot intended to capture disk i/o described in DiskReads.") rdbmsSrvInfoHighwaterInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvInfoHighwaterInboundAssociations.setDescription("The greatest number of inbound associations that have been\nsimultaneously open to this server since startup.") rdbmsSrvInfoMaxInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 6, 1, 14), Gauge32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsSrvInfoMaxInboundAssociations.setDescription("The greatest number of inbound associations that can be\nsimultaneously open with this server. If there is no limit,\nthen the value should be zero.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsSrvParamTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 7)) if mibBuilder.loadTexts: rdbmsSrvParamTable.setDescription("The table of configuration parameters for a server. Entries\nshould be populated according to the following guidelines:\n(1) The value should be specified through administrative\n (human) intervention.\n(2) It should be configured on a per-server or a more global\n basis, with duplicate entries for each server sharing\n use of the parameter.\n(3) One of the following is true:\n (a) The parameter has a non-numeric value;\n (b) The current value is numeric, but it only changes due\n to human intervention;\n (c) The current value is numeric and dynamic, but the\n RDBMS does not track access/allocation failures\n related to the parameter;\n (d) The current value is numeric and dynamic, the\n RDBMS tracks changes in access/allocation failures\n related to the parameter, but the failure has no\n significant impact on RDBMS performance or\n availability.\n (e) The current value is numeric and dynamic, the\n RDBMS tracks changes in access/allocation failures\n related to the parameter, the failure has\n significant impact on RDBMS performance or\n availability, and is shown in the\n rdbmsSrvLimitedResource table.") rdbmsSrvParamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 7, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "RDBMS-MIB", "rdbmsSrvParamName"), (0, "RDBMS-MIB", "rdbmsSrvParamSubIndex")) if mibBuilder.loadTexts: rdbmsSrvParamEntry.setDescription("An entry for a single configuration parameter for a server.\nParameters with single values have a subindex value of one.\nIf the parameter is naturally considered to contain a\nvariable number of members of a class, e.g. members of the\nDBA user group, or tracepoints active in the server, then it\nmust be presented as a set of rows. If, on the other hand,\nthe parameter represents a set of choices from a class,\ne.g. the permissions on a file or the options chosen out of\nthe set of all options allowed, AND is guaranteed to always\nfit in the 255 character length of a DisplayString, then it\nmay be presented as a comma separated list with a subindex\nvalue of one. Zero may not be used as a subindex value.\n\nEntries for a server must be present if the value of the\ncorresponding applOperStatus object is up(1). If an instance\nof applOperStatus is not up(1), then attempts to access\ncorresponding instances in this table may result in either\nnoSuchName (SNMPv1) or noSuchInstance (SNMPv2) being returned\nby the agent.") rdbmsSrvParamName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 7, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rdbmsSrvParamName.setDescription("The name of a configuration parameter for a server. This\nname is product-specific. The length is limited to 64\ncharacters to constrain the number of sub-identifiers needed\nfor instance identification (and to minimize network\ntraffic).") rdbmsSrvParamSubIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rdbmsSrvParamSubIndex.setDescription("The subindex value for this parameter. If the parameter is\nnaturally considered to contain a variable number of members\nof a class, e.g. members of the DBA user group, or files\nwhich are part of the database, then it must be presented as\na set of rows. If, on the other hand, the parameter\nrepresents a set of choices from a class, e.g. the\npermissions on a file or the options chosen out of the set of\nall options allowed, AND is guaranteed to always fit in the\n255 character length of a DisplayString, then it may be\npresented as a comma separated list with a subindex value of\none. Zero may not be used as a value.") rdbmsSrvParamID = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 7, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvParamID.setDescription("The ID of the parameter which may be described in some\nother MIB. If there is no ID for this rdbmsSrvParamName,\nattempts to access this object will return noSuchName\n(SNMPv1) or noSuchInstance (SNMPv2).") rdbmsSrvParamCurrValue = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 7, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsSrvParamCurrValue.setDescription("The value for a configuration parameter now in effect, the\nactual setting for the server. While there may multiple\nvalues in the temporal domain of interest (for instance, the\nvalue to take effect at the next restart), this is the\ncurrent setting.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsSrvParamComment = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 7, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsSrvParamComment.setDescription("Annotation which describes the purpose of a configuration\nparameter or the reason for a particular parameter's\nsetting.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsSrvLimitedResourceTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 8)) if mibBuilder.loadTexts: rdbmsSrvLimitedResourceTable.setDescription("The table of limited resources relevant to a server.") rdbmsSrvLimitedResourceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 8, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "RDBMS-MIB", "rdbmsSrvLimitedResourceName")) if mibBuilder.loadTexts: rdbmsSrvLimitedResourceEntry.setDescription("An entry for a single limited resource kept by the server.\nA limited resource has maximum use determined by a parameter\nthat might or might not changeable at run time, or visible in\nthe rbmsSrvParamTable. Examples would be the number of\navailable locks, or number of concurrent executions allowed\nin a server. Arrays of resources are supported through an\ninteger subindex, which should have the value of one for\nsingle-instance names.\n\nLimited resources that are shared across servers or databases\nare best duplicated in this table across\nall servers accessing the resource.") rdbmsSrvLimitedResourceName = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 8, 1, 1), DisplayString()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rdbmsSrvLimitedResourceName.setDescription("The name of the resource, for instance 'threads' or\n'semaphores', or 'buffer pages'") rdbmsSrvLimitedResourceID = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 8, 1, 2), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvLimitedResourceID.setDescription("The ID of the resource which may be described in some other\nMIB. If there is no ID for this rdbmsSrvLimitedResourceName,\nattempts to access this object will return noSuchName\n(SNMPv1) or noSuchInstance (SNMPv2).") rdbmsSrvLimitedResourceLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 8, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsSrvLimitedResourceLimit.setDescription("The maximum value the resource use may attain.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsSrvLimitedResourceCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 8, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvLimitedResourceCurrent.setDescription("The current value for the resource.") rdbmsSrvLimitedResourceHighwater = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 8, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvLimitedResourceHighwater.setDescription("The maximum value of the resource seen since applUpTime\nwas reset.") rdbmsSrvLimitedResourceFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 8, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsSrvLimitedResourceFailures.setDescription("The number of times the system wanted to exceed the limit of\nthe resource since applUpTime was reset.") rdbmsSrvLimitedResourceDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 8, 1, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rdbmsSrvLimitedResourceDescription.setDescription("A description of the resource and the meaning of the integer\nunits used for Limit, Current, and Highwater.\n\nNote that a compliant agent does not need to\nallow write access to this object.") rdbmsRelTable = MibTable((1, 3, 6, 1, 2, 1, 39, 1, 9)) if mibBuilder.loadTexts: rdbmsRelTable.setDescription("A table relating databases and servers present on a host.") rdbmsRelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 39, 1, 9, 1)).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"), (0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: rdbmsRelEntry.setDescription("An entry relating a single database server to a single\ndatabase to which it may provide access. The table is\nindexed first by the index of rdbmsDbTable, and then\nrdbmsSrvTable, so that all servers capable of providing\naccess to a given database may be found by SNMP traversal\noperations (get-next and get-bulk). The makeup of this table\ndepends on the product's architecture, e.g. if it is one\nserver - many databases, then each server will appear n\ntimes, where n is the number of databases it may access, and\neach database will appear once. If the architecture is one\ndatabase - many servers, then each server will appear once\nand each database will appear n times, where n is the number\nof servers that may be accessing it.") rdbmsRelState = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 9, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,5,4,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("active", 2), ("available", 3), ("restricted", 4), ("unavailable", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsRelState.setDescription("The state of this server's access to this database.\nActive(2) means the server is actively using the database.\nAvailable(3) means the server could use the database if\nnecessary. Restricted(4) means the database is in some\nadministratively determined state of less-than-complete\navailability. Unavailable(5) means the database is not\navailable through this server. Other(1) means the\ndatabase/server is in some other condition, possibly\ndescribed in the vendor private MIB.") rdbmsRelActiveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 39, 1, 9, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: rdbmsRelActiveTime.setDescription("The time the database was made active by the server. If an\ninstance of rdbmsRelState is not active(1), then attempts to\naccess the corresponding instance of this object may result\nin either noSuchName (SNMPv1) or noSuchInstance (SNMPv2)\nbeing returned by the agent.") rdbmsWellKnownLimitedResources = MibIdentifier((1, 3, 6, 1, 2, 1, 39, 1, 10)) rdbmsLogSpace = ObjectIdentity((1, 3, 6, 1, 2, 1, 39, 1, 10, 1)) if mibBuilder.loadTexts: rdbmsLogSpace.setDescription("Storage allocated for redo and undo logs.") rdbmsTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 39, 2)) rdbmsConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 39, 3)) rdbmsCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 39, 3, 1)) rdbmsGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 39, 3, 2)) # Augmentions # Notifications rdbmsStateChange = NotificationType((1, 3, 6, 1, 2, 1, 39, 2, 1)).setObjects(*(("RDBMS-MIB", "rdbmsRelState"), ) ) if mibBuilder.loadTexts: rdbmsStateChange.setDescription("An rdbmsStateChange trap signifies that one of the database\nserver/databases managed by this agent has changed its\nrdbmsRelState in a way that makes it less accessible for use.\nFor these purposes, both active(2) and available(3) are\nconsidered fully accessible. The state sent with the trap is\nthe new, less accessible state.") rdbmsOutOfSpace = NotificationType((1, 3, 6, 1, 2, 1, 39, 2, 2)).setObjects(*(("RDBMS-MIB", "rdbmsSrvInfoDiskOutOfSpaces"), ) ) if mibBuilder.loadTexts: rdbmsOutOfSpace.setDescription("An rdbmsOutOfSpace trap signifies that one of the database\nservers managed by this agent has been unable to allocate\nspace for one of the databases managed by this agent. Care\nshould be taken to avoid flooding the network with these\ntraps.") # Groups rdbmsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 39, 3, 2, 1)).setObjects(*(("RDBMS-MIB", "rdbmsDbVendorName"), ("RDBMS-MIB", "rdbmsSrvParamComment"), ("RDBMS-MIB", "rdbmsSrvInfoPageWrites"), ("RDBMS-MIB", "rdbmsSrvInfoRequestRecvs"), ("RDBMS-MIB", "rdbmsDbLimitedResourceHighwater"), ("RDBMS-MIB", "rdbmsSrvInfoLogicalReads"), ("RDBMS-MIB", "rdbmsDbLimitedResourceLimit"), ("RDBMS-MIB", "rdbmsSrvInfoHighwaterInboundAssociations"), ("RDBMS-MIB", "rdbmsDbContact"), ("RDBMS-MIB", "rdbmsDbInfoSizeAllocated"), ("RDBMS-MIB", "rdbmsSrvContact"), ("RDBMS-MIB", "rdbmsDbParamCurrValue"), ("RDBMS-MIB", "rdbmsSrvInfoFinishedTransactions"), ("RDBMS-MIB", "rdbmsSrvInfoMaxInboundAssociations"), ("RDBMS-MIB", "rdbmsSrvLimitedResourceCurrent"), ("RDBMS-MIB", "rdbmsSrvLimitedResourceDescription"), ("RDBMS-MIB", "rdbmsDbLimitedResourceFailures"), ("RDBMS-MIB", "rdbmsDbInfoSizeUnits"), ("RDBMS-MIB", "rdbmsRelActiveTime"), ("RDBMS-MIB", "rdbmsDbInfoSizeUsed"), ("RDBMS-MIB", "rdbmsDbInfoVersion"), ("RDBMS-MIB", "rdbmsSrvInfoHandledRequests"), ("RDBMS-MIB", "rdbmsSrvInfoRequestSends"), ("RDBMS-MIB", "rdbmsSrvVendorName"), ("RDBMS-MIB", "rdbmsSrvInfoStartupTime"), ("RDBMS-MIB", "rdbmsSrvLimitedResourceHighwater"), ("RDBMS-MIB", "rdbmsSrvPrivateMibOID"), ("RDBMS-MIB", "rdbmsSrvParamCurrValue"), ("RDBMS-MIB", "rdbmsSrvLimitedResourceLimit"), ("RDBMS-MIB", "rdbmsDbInfoLastBackup"), ("RDBMS-MIB", "rdbmsDbInfoProductName"), ("RDBMS-MIB", "rdbmsDbName"), ("RDBMS-MIB", "rdbmsDbPrivateMibOID"), ("RDBMS-MIB", "rdbmsSrvInfoDiskWrites"), ("RDBMS-MIB", "rdbmsDbLimitedResourceDescription"), ("RDBMS-MIB", "rdbmsSrvLimitedResourceFailures"), ("RDBMS-MIB", "rdbmsSrvProductName"), ("RDBMS-MIB", "rdbmsDbParamComment"), ("RDBMS-MIB", "rdbmsSrvInfoPageReads"), ("RDBMS-MIB", "rdbmsDbLimitedResourceCurrent"), ("RDBMS-MIB", "rdbmsSrvInfoLogicalWrites"), ("RDBMS-MIB", "rdbmsRelState"), ("RDBMS-MIB", "rdbmsSrvInfoDiskReads"), ) ) if mibBuilder.loadTexts: rdbmsGroup.setDescription("A collection of objects providing basic instrumentation of an\nRDBMS entity.") # Compliances rdbmsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 39, 3, 1, 1)).setObjects(*(("RDBMS-MIB", "rdbmsGroup"), ("HOST-RESOURCES-MIB", "hrSystem"), ("NETWORK-SERVICES-MIB", "applGroups"), ) ) if mibBuilder.loadTexts: rdbmsCompliance.setDescription("The compliance statement for SNMP entities which\nimplement the RDBMS MIB") # Exports # Module identity mibBuilder.exportSymbols("RDBMS-MIB", PYSNMP_MODULE_ID=rdbmsMIB) # Objects mibBuilder.exportSymbols("RDBMS-MIB", rdbmsMIB=rdbmsMIB, rdbmsObjects=rdbmsObjects, rdbmsDbTable=rdbmsDbTable, rdbmsDbEntry=rdbmsDbEntry, rdbmsDbIndex=rdbmsDbIndex, rdbmsDbPrivateMibOID=rdbmsDbPrivateMibOID, rdbmsDbVendorName=rdbmsDbVendorName, rdbmsDbName=rdbmsDbName, rdbmsDbContact=rdbmsDbContact, rdbmsDbInfoTable=rdbmsDbInfoTable, rdbmsDbInfoEntry=rdbmsDbInfoEntry, rdbmsDbInfoProductName=rdbmsDbInfoProductName, rdbmsDbInfoVersion=rdbmsDbInfoVersion, rdbmsDbInfoSizeUnits=rdbmsDbInfoSizeUnits, rdbmsDbInfoSizeAllocated=rdbmsDbInfoSizeAllocated, rdbmsDbInfoSizeUsed=rdbmsDbInfoSizeUsed, rdbmsDbInfoLastBackup=rdbmsDbInfoLastBackup, rdbmsDbParamTable=rdbmsDbParamTable, rdbmsDbParamEntry=rdbmsDbParamEntry, rdbmsDbParamName=rdbmsDbParamName, rdbmsDbParamSubIndex=rdbmsDbParamSubIndex, rdbmsDbParamID=rdbmsDbParamID, rdbmsDbParamCurrValue=rdbmsDbParamCurrValue, rdbmsDbParamComment=rdbmsDbParamComment, rdbmsDbLimitedResourceTable=rdbmsDbLimitedResourceTable, rdbmsDbLimitedResourceEntry=rdbmsDbLimitedResourceEntry, rdbmsDbLimitedResourceName=rdbmsDbLimitedResourceName, rdbmsDbLimitedResourceID=rdbmsDbLimitedResourceID, rdbmsDbLimitedResourceLimit=rdbmsDbLimitedResourceLimit, rdbmsDbLimitedResourceCurrent=rdbmsDbLimitedResourceCurrent, rdbmsDbLimitedResourceHighwater=rdbmsDbLimitedResourceHighwater, rdbmsDbLimitedResourceFailures=rdbmsDbLimitedResourceFailures, rdbmsDbLimitedResourceDescription=rdbmsDbLimitedResourceDescription, rdbmsSrvTable=rdbmsSrvTable, rdbmsSrvEntry=rdbmsSrvEntry, rdbmsSrvPrivateMibOID=rdbmsSrvPrivateMibOID, rdbmsSrvVendorName=rdbmsSrvVendorName, rdbmsSrvProductName=rdbmsSrvProductName, rdbmsSrvContact=rdbmsSrvContact, rdbmsSrvInfoTable=rdbmsSrvInfoTable, rdbmsSrvInfoEntry=rdbmsSrvInfoEntry, rdbmsSrvInfoStartupTime=rdbmsSrvInfoStartupTime, rdbmsSrvInfoFinishedTransactions=rdbmsSrvInfoFinishedTransactions, rdbmsSrvInfoDiskReads=rdbmsSrvInfoDiskReads, rdbmsSrvInfoLogicalReads=rdbmsSrvInfoLogicalReads, rdbmsSrvInfoDiskWrites=rdbmsSrvInfoDiskWrites, rdbmsSrvInfoLogicalWrites=rdbmsSrvInfoLogicalWrites, rdbmsSrvInfoPageReads=rdbmsSrvInfoPageReads, rdbmsSrvInfoPageWrites=rdbmsSrvInfoPageWrites, rdbmsSrvInfoDiskOutOfSpaces=rdbmsSrvInfoDiskOutOfSpaces, rdbmsSrvInfoHandledRequests=rdbmsSrvInfoHandledRequests, rdbmsSrvInfoRequestRecvs=rdbmsSrvInfoRequestRecvs, rdbmsSrvInfoRequestSends=rdbmsSrvInfoRequestSends, rdbmsSrvInfoHighwaterInboundAssociations=rdbmsSrvInfoHighwaterInboundAssociations, rdbmsSrvInfoMaxInboundAssociations=rdbmsSrvInfoMaxInboundAssociations, rdbmsSrvParamTable=rdbmsSrvParamTable, rdbmsSrvParamEntry=rdbmsSrvParamEntry, rdbmsSrvParamName=rdbmsSrvParamName, rdbmsSrvParamSubIndex=rdbmsSrvParamSubIndex, rdbmsSrvParamID=rdbmsSrvParamID, rdbmsSrvParamCurrValue=rdbmsSrvParamCurrValue, rdbmsSrvParamComment=rdbmsSrvParamComment, rdbmsSrvLimitedResourceTable=rdbmsSrvLimitedResourceTable, rdbmsSrvLimitedResourceEntry=rdbmsSrvLimitedResourceEntry, rdbmsSrvLimitedResourceName=rdbmsSrvLimitedResourceName, rdbmsSrvLimitedResourceID=rdbmsSrvLimitedResourceID, rdbmsSrvLimitedResourceLimit=rdbmsSrvLimitedResourceLimit, rdbmsSrvLimitedResourceCurrent=rdbmsSrvLimitedResourceCurrent, rdbmsSrvLimitedResourceHighwater=rdbmsSrvLimitedResourceHighwater, rdbmsSrvLimitedResourceFailures=rdbmsSrvLimitedResourceFailures, rdbmsSrvLimitedResourceDescription=rdbmsSrvLimitedResourceDescription, rdbmsRelTable=rdbmsRelTable, rdbmsRelEntry=rdbmsRelEntry, rdbmsRelState=rdbmsRelState, rdbmsRelActiveTime=rdbmsRelActiveTime, rdbmsWellKnownLimitedResources=rdbmsWellKnownLimitedResources, rdbmsLogSpace=rdbmsLogSpace, rdbmsTraps=rdbmsTraps, rdbmsConformance=rdbmsConformance, rdbmsCompliances=rdbmsCompliances, rdbmsGroups=rdbmsGroups) # Notifications mibBuilder.exportSymbols("RDBMS-MIB", rdbmsStateChange=rdbmsStateChange, rdbmsOutOfSpace=rdbmsOutOfSpace) # Groups mibBuilder.exportSymbols("RDBMS-MIB", rdbmsGroup=rdbmsGroup) # Compliances mibBuilder.exportSymbols("RDBMS-MIB", rdbmsCompliance=rdbmsCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/LMP-MIB.py0000644000014400001440000027673111736645137020106 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python LMP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:16 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") ( TeLinkEncodingType, teLinkIncomingIfId, teLinkRemoteIpAddr, ) = mibBuilder.importSymbols("TE-LINK-STD-MIB", "TeLinkEncodingType", "teLinkIncomingIfId", "teLinkRemoteIpAddr") # Types class LmpInterval(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,65535) class LmpNodeId(TextualConvention, OctetString): displayHint = "1d.1d.1d.1d" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 class LmpRetransmitInterval(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) # Objects lmpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 227)).setRevisions(("2006-08-14 00:00","2006-01-11 00:00",)) if mibBuilder.loadTexts: lmpMIB.setOrganization("Common Control and Measurement Protocols (CCAMP)\nWorking Group") if mibBuilder.loadTexts: lmpMIB.setContactInfo(" Martin Dubuc\nEmail: dubuc.consulting@sympatico.ca\n\n Thomas D. Nadeau\nEmail: tnadeau@cisco.com\n\n Jonathan P. Lang\nEmail: jplang@ieee.org\n\n Evan McGinnis\nEmail: emcginnis@hammerheadsystems.com\n\n Adrian Farrel\nEmail: adrian@olddog.co.uk") if mibBuilder.loadTexts: lmpMIB.setDescription("Copyright (C) 2006 The Internet Society. This version of\nthe MIB module is part of RFC 4631; see the RFC itself\nfor full legal notices.\n\nThis MIB module contains managed object definitions for\nthe Link Management Protocol (LMP) as\ndefined in 'Link Management Protocol'.") lmpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 227, 0)) lmpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 227, 1)) lmpAdminStatus = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpAdminStatus.setDescription("The desired operational status of LMP on the node.\n\n\n\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpOperStatus = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpOperStatus.setDescription("The actual operational status of LMP on the node.") lmpNbrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 3)) if mibBuilder.loadTexts: lmpNbrTable.setDescription("This table specifies the neighbor node(s) to which control\nchannels may be established.") lmpNbrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1)).setIndexNames((0, "LMP-MIB", "lmpNbrNodeId")) if mibBuilder.loadTexts: lmpNbrEntry.setDescription("An entry in this table is created by a LMP-enabled device for\nevery pair of nodes that can establish control channels.") lmpNbrNodeId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 1), LmpNodeId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: lmpNbrNodeId.setDescription("This is a unique index for an entry in the LmpNbrTable.\nThis value represents the remote Node ID.") lmpNbrRetransmitInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 2), LmpRetransmitInterval().clone('500')).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpNbrRetransmitInterval.setDescription("This object specifies the initial retransmission interval that\nis used for the retransmission of messages that require\nacknowledgement. This object, along with lmpNbrRetryLimit,\nis used to implement the congestion-handling mechanism defined\nin Section 10 of the Link Management Protocol specification,\nwhich is based on RFC 2914.") lmpNbrRetryLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 3), Unsigned32().clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpNbrRetryLimit.setDescription("This object specifies the maximum number of times a message\nis transmitted without being acknowledged. A value of 0 is used\nto indicate that a node should never stop retransmission.\nThis object, along with lmpNbrRetransmitInterval, is\nused to implement the congestion-handling mechanism as defined\nin Section 10 of the Link Management Protocol specification,\nwhich is based on RFC 2914.") lmpNbrRetransmitDelta = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 4), Unsigned32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpNbrRetransmitDelta.setDescription("This object governs the speed with which the sender increases\nthe retransmission interval, as explained in Section 10 of the\nLink Management Protocol specification, which is based on\nRFC 2914. This value is a power used to express the\nexponential backoff. The ratio of two successive retransmission\nintervals is (1 + Delta).") lmpNbrAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpNbrAdminStatus.setDescription("The desired operational status of LMP to this remote node.") lmpNbrOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpNbrOperStatus.setDescription("The actual operational status of LMP to this remote node.") lmpNbrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpNbrRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. None of the writable objects\nin a row can be changed if the status is active(1).\nAll read-create objects must have valid and consistent\nvalues before the row can be activated.") lmpNbrStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 3, 1, 8), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpNbrStorageType.setDescription("The storage type for this conceptual row in the\nlmpNbrTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\n\n\n\ncolumnar object in the row.") lmpCcHelloIntervalDefault = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 4), LmpInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpCcHelloIntervalDefault.setDescription("This object specifies the default value for the HelloInterval\nparameter used in the Hello protocol keep-alive phase. It\nindicates how frequently LMP Hello messages will be sent. It\nis used as the default value for lmpCcHelloInterval.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpCcHelloIntervalDefaultMin = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 5), LmpInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpCcHelloIntervalDefaultMin.setDescription("This object specifies the default minimum value for the\nHelloInterval parameter. It is used as a default value\nfor lmpCcHelloIntervalMin. Implementations should save the\nvalue of this object in persistent memory so that it survives\nrestarts or reboot.") lmpCcHelloIntervalDefaultMax = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 6), LmpInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpCcHelloIntervalDefaultMax.setDescription("This object specifies the default maximum value for the\nHelloInterval parameter. It is used as a default value\nfor lmpCcHelloIntervalMax. Implementations should save the\nvalue of this object in persistent memory so that it survives\nrestarts or reboot.") lmpCcHelloDeadIntervalDefault = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 7), LmpInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpCcHelloDeadIntervalDefault.setDescription("This object specifies the default HelloDeadInterval parameter\nto use in the Hello protocol keep-alive phase. It indicates\nhow long a device should wait before declaring the control\nchannel dead. The HelloDeadInterval parameter should be at\nleast three times the value of HelloInterval. It is used as\na default value for lmpCcHelloDeadInterval. Implementations\nshould save the value of this object in persistent memory so\nthat it survives restarts or reboot.") lmpCcHelloDeadIntervalDefaultMin = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 8), LmpInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpCcHelloDeadIntervalDefaultMin.setDescription("This object specifies the default minimum value for the\nHelloDeadInterval parameter. It is used as a default value\nfor lmpCcHelloDeadIntervalMin. Implementations should save\nthe value of this object in persistent memory so that it\nsurvives restarts or reboot.") lmpCcHelloDeadIntervalDefaultMax = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 9), LmpInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpCcHelloDeadIntervalDefaultMax.setDescription("This object specifies the default maximum value for the\nHelloDeadInterval parameter. It is used as a default value\nfor lmpCcHelloDeadIntervalMax. Implementations should save the\nvalue of this object in persistent memory so that it survives\nrestarts or reboot.") lmpControlChannelTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 10)) if mibBuilder.loadTexts: lmpControlChannelTable.setDescription("This table specifies LMP control channel information.") lmpControlChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1)).setIndexNames((0, "LMP-MIB", "lmpCcId")) if mibBuilder.loadTexts: lmpControlChannelEntry.setDescription("An entry in this table is created by an LMP-enabled device for\nevery control channel. Whenever a new entry is created with\nlmpCcIsIf set to true(1), a corresponding entry is\ncreated in ifTable as well (see RFC 2863).") lmpCcId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: lmpCcId.setDescription("This value represents the local control channel identifier.\nThe control channel identifier is a non-zero 32-bit number.") lmpCcUnderlyingIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcUnderlyingIfIndex.setDescription("If lmpCcIsIf is set to true(1), this object carries the\nindex into the ifTable of the entry that represents the\nLMP interface over which LMP will transmit its traffic.\nIf this object is set to zero but lmpCcIsIf is set to\ntrue(1), the control channel is not currently associated\nwith any underlying interface, and the control channel's\noperational status must not be up(1); nor should the\ncontrol channel forward or receive traffic.\nIf lmpCcIsIf is set to false(2), this object should be set\nto zero and ignored.") lmpCcIsIf = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 3), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcIsIf.setDescription("In implementations where the control channels are modeled\nas interfaces, the value of this object is true(1), and\nthis control channel is represented by an interface in\nthe interfaces group table as indicated by the value of\nlmpCcUnderlyingIfIndex. If control channels are not\nmodeled as interfaces, the value of this object is\nfalse(2), and there is no corresponding interface for\nthis control channel in the interfaces group table;\nthe value of lmpCcUnderlyingIfIndex should be\nignored.") lmpCcNbrNodeId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 4), LmpNodeId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcNbrNodeId.setDescription("This is the Node ID of the control channel remote node.\nThis value either is configured or gets created by the node\nwhen a Config message is received or when an outgoing Config\nmessage is acknowledged by the remote node.") lmpCcRemoteId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcRemoteId.setDescription("This value represents the remote control channel identifier\n(32-bit number). It is determined during the negotiation\nphase. A value of zero means that the remote control channel\nidentifier has not yet been learned.") lmpCcRemoteAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 6), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcRemoteAddressType.setDescription("This value represents the remote control channel IP address\ntype. In point-to-point configuration, this value can be set\nto unknown(0).") lmpCcRemoteIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 7), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcRemoteIpAddr.setDescription("This value represents the remote control channel Internet\naddress for numbered control channel. The type of this\naddress is determined by lmpCcRemoteAddressType.\nThe control channel must be numbered on non-point-to-point\nconfiguration. For point-to-point configuration, the\nremote control channel address can be of type unknown,\nin which case this object must be a zero-length string. The\nlmpCcRemoteId object then identifies the unnumbered\naddress.") lmpCcSetupRole = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("active", 1), ("passive", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcSetupRole.setDescription("The role that this node should take during establishment\nof this control channel. An active node will initiate\nestablishment. A passive node will wait for the remote node\nto initiate. A pair of nodes that both take the passive role\nwill never establish communications.") lmpCcAuthentication = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 9), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcAuthentication.setDescription("This object indicates whether the control channel must use\nauthentication.") lmpCcHelloInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 10), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcHelloInterval.setDescription("This object specifies the value of the HelloInterval\nparameter. The default value for this object should be\nset to lmpCcHelloIntervalDefault.") lmpCcHelloIntervalMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 11), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcHelloIntervalMin.setDescription("This object specifies the minimum value for the\nHelloInterval parameter. The default value for this\nobject should be set to lmpCcHelloIntervalMinDefault.") lmpCcHelloIntervalMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 12), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcHelloIntervalMax.setDescription("This object specifies the maximum value for the\nHelloInterval parameter. The default value for this\nobject should be set to lmpCcHelloIntervalMaxDefault.") lmpCcHelloIntervalNegotiated = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 13), LmpInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcHelloIntervalNegotiated.setDescription("Once the control channel is active, this object represents\nthe negotiated HelloInterval value.") lmpCcHelloDeadInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 14), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcHelloDeadInterval.setDescription("This object specifies the value of the HelloDeadInterval\nparameter. The default value for this object should be\nset to lmpCcHelloDeadIntervalDefault.") lmpCcHelloDeadIntervalMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 15), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcHelloDeadIntervalMin.setDescription("This object specifies the minimum value for the\nHelloDeadInterval parameter. The default value for this\nobject should be set to lmpCcHelloDeadIntervalMinDefault.") lmpCcHelloDeadIntervalMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 16), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcHelloDeadIntervalMax.setDescription("This object specifies the maximum value for the\nHelloDeadInterval parameter. The default value for this\nobject should be set to lmpCcHelloIntervalMaxDefault.") lmpCcHelloDeadIntervalNegotiated = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 17), LmpInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcHelloDeadIntervalNegotiated.setDescription("Once the control channel is active, this object represents\nthe negotiated HelloDeadInterval value.") lmpCcLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 18), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLastChange.setDescription("The value of sysUpTime at the time the control channel entered\nits current operational state. If the current state was\nentered prior to the last re-initialization of the local\nnetwork management subsystem, then this object contains a\nzero value.") lmpCcAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcAdminStatus.setDescription("The desired operational status of this control channel.") lmpCcOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(3,6,1,2,5,4,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("configSnd", 3), ("configRcv", 4), ("active", 5), ("goingDown", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcOperStatus.setDescription("The actual operational status of this control channel.") lmpCcRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 21), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. None of the writable objects\nin a row can be changed if the status is active(1).\nAll read-create objects must have valid and consistent\nvalues before the row can be activated.") lmpCcStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 10, 1, 22), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpCcStorageType.setDescription("The storage type for this conceptual row in the\nlmpControlChannelTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") lmpControlChannelPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 11)) if mibBuilder.loadTexts: lmpControlChannelPerfTable.setDescription("This table specifies LMP control channel performance\ncounters.") lmpControlChannelPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1)).setIndexNames((0, "LMP-MIB", "lmpCcId")) if mibBuilder.loadTexts: lmpControlChannelPerfEntry.setDescription("An entry in this table is created by a LMP-enabled device for\nevery control channel. lmpCcCounterDiscontinuityTime is used\nto indicate potential discontinuity for all counter objects\nin this table.") lmpCcInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcInOctets.setDescription("The total number of LMP message octets received on the\ncontrol channel.") lmpCcInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcInDiscards.setDescription("The number of inbound packets that were chosen to be\ndiscarded even though no errors had been detected. One\npossible reason for discarding such a packet could be to\nfree up buffer space.") lmpCcInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcInErrors.setDescription("The number of inbound packets that contained errors\npreventing them from being processed by LMP.") lmpCcOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcOutOctets.setDescription("The total number of LMP message octets transmitted out of\nthe control channel.") lmpCcOutDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcOutDiscards.setDescription("The number of outbound packets that were chosen to be\ndiscarded even though no errors had been detected to\nprevent their being transmitted. One possible reason\nfor discarding such a packet could be to free up buffer\nspace.") lmpCcOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcOutErrors.setDescription("The number of outbound packets that could not be\ntransmitted because of errors.") lmpCcConfigReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcConfigReceived.setDescription("This object counts the number of Config messages that have\nbeen received on this control channel.") lmpCcConfigSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcConfigSent.setDescription("This object counts the number of Config messages that have\nbeen sent on this control channel.") lmpCcConfigRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcConfigRetransmit.setDescription("This object counts the number of Config messages that\nhave been retransmitted over this control channel.") lmpCcConfigAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcConfigAckReceived.setDescription("This object counts the number of ConfigAck messages that have\nbeen received on this control channel.") lmpCcConfigAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcConfigAckSent.setDescription("This object counts the number of ConfigAck messages that have\nbeen sent on this control channel.") lmpCcConfigNackReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcConfigNackReceived.setDescription("This object counts the number of ConfigNack messages that have\nbeen received on this control channel.") lmpCcConfigNackSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcConfigNackSent.setDescription("This object counts the number of ConfigNack messages that have\nbeen sent on this control channel.") lmpCcHelloReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcHelloReceived.setDescription("This object counts the number of Hello messages that have\nbeen received on this control channel.") lmpCcHelloSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcHelloSent.setDescription("This object counts the number of Hello messages that have\nbeen sent on this control channel.") lmpCcBeginVerifyReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcBeginVerifyReceived.setDescription("This object counts the number of BeginVerify messages that have\nbeen received on this control channel.") lmpCcBeginVerifySent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcBeginVerifySent.setDescription("This object counts the number of BeginVerify messages that have\nbeen sent on this control channel.") lmpCcBeginVerifyRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcBeginVerifyRetransmit.setDescription("This object counts the number of BeginVerify messages that\nhave been retransmitted over this control channel.") lmpCcBeginVerifyAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcBeginVerifyAckReceived.setDescription("This object counts the number of BeginVerifyAck messages that\nhave been received on this control channel.") lmpCcBeginVerifyAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcBeginVerifyAckSent.setDescription("This object counts the number of BeginVerifyAck messages that\nhave been sent on this control channel.") lmpCcBeginVerifyNackReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcBeginVerifyNackReceived.setDescription("This object counts the number of BeginVerifyNack messages that\nhave been received on this control channel.") lmpCcBeginVerifyNackSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcBeginVerifyNackSent.setDescription("This object counts the number of BeginVerifyNack messages that\nhave been sent on this control channel.") lmpCcEndVerifyReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcEndVerifyReceived.setDescription("This object counts the number of EndVerify messages that have\nbeen received on this control channel.") lmpCcEndVerifySent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcEndVerifySent.setDescription("This object counts the number of EndVerify messages that have\nbeen sent on this control channel.") lmpCcEndVerifyRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcEndVerifyRetransmit.setDescription("This object counts the number of EndVerify messages that\nhave been retransmitted over this control channel.") lmpCcEndVerifyAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcEndVerifyAckReceived.setDescription("This object counts the number of EndVerifyAck messages that\nhave been received on this control channel.") lmpCcEndVerifyAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcEndVerifyAckSent.setDescription("This object counts the number of EndVerifyAck messages that\nhave been sent on this control channel.") lmpCcTestStatusSuccessReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusSuccessReceived.setDescription("This object counts the number of TestStatusSuccess messages\nthat have been received on this control channel.") lmpCcTestStatusSuccessSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusSuccessSent.setDescription("This object counts the number of TestStatusSuccess messages\nthat have been sent on this control channel.") lmpCcTestStatusSuccessRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusSuccessRetransmit.setDescription("This object counts the number of TestStatusSuccess messages\nthat have been retransmitted over this control channel.") lmpCcTestStatusFailureReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusFailureReceived.setDescription("This object counts the number of TestStatusFailure messages\nthat have been received on this control channel.") lmpCcTestStatusFailureSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusFailureSent.setDescription("This object counts the number of TestStatusFailure messages\nthat have been sent on this control channel.") lmpCcTestStatusFailureRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusFailureRetransmit.setDescription("This object counts the number of TestStatusFailure messages\nthat have been retransmitted over this control channel.") lmpCcTestStatusAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusAckReceived.setDescription("This object counts the number of TestStatusAck messages\nthat have been received on this control channel.") lmpCcTestStatusAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcTestStatusAckSent.setDescription("This object counts the number of TestStatusAck messages\nthat have been sent on this control channel.") lmpCcLinkSummaryReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLinkSummaryReceived.setDescription("This object counts the number of LinkSummary messages\nthat have been received on this control channel.") lmpCcLinkSummarySent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLinkSummarySent.setDescription("This object counts the number of LinkSummary messages\nthat have been sent on this control channel.") lmpCcLinkSummaryRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLinkSummaryRetransmit.setDescription("This object counts the number of LinkSummary messages that\nhave been retransmitted over this control channel.") lmpCcLinkSummaryAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLinkSummaryAckReceived.setDescription("This object counts the number of LinkSummaryAck messages\nthat have been received on this control channel.") lmpCcLinkSummaryAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLinkSummaryAckSent.setDescription("This object counts the number of LinkSummaryAck messages\nthat have been sent on this control channel.") lmpCcLinkSummaryNackReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLinkSummaryNackReceived.setDescription("This object counts the number of LinkSummaryNack messages\nthat have been received on this control channel.") lmpCcLinkSummaryNackSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcLinkSummaryNackSent.setDescription("This object counts the number of LinkSummaryNack messages\nthat have been sent on this control channel.") lmpCcChannelStatusReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusReceived.setDescription("This object counts the number of ChannelStatus messages\nthat have been received on this control channel.") lmpCcChannelStatusSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusSent.setDescription("This object counts the number of ChannelStatus messages\nthat have been sent on this control channel.") lmpCcChannelStatusRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusRetransmit.setDescription("This object counts the number of ChannelStatus messages\nthat have been retransmitted on this control channel.") lmpCcChannelStatusAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusAckReceived.setDescription("This object counts the number of ChannelStatusAck messages\nthat have been received on this control channel.") lmpCcChannelStatusAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 47), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusAckSent.setDescription("This object counts the number of ChannelStatus messages\nthat have been sent on this control channel.") lmpCcChannelStatusReqReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 48), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusReqReceived.setDescription("This object counts the number of ChannelStatusRequest messages\nthat have been received on this control channel.") lmpCcChannelStatusReqSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 49), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusReqSent.setDescription("This object counts the number of ChannelStatusRequest messages\nthat have been sent on this control channel.") lmpCcChannelStatusReqRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 50), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusReqRetransmit.setDescription("This object counts the number of ChannelStatusRequest messages\nthat have been retransmitted on this control channel.") lmpCcChannelStatusRspReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 51), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusRspReceived.setDescription("This object counts the number of ChannelStatusResponse messages\nthat have been received on this control channel.") lmpCcChannelStatusRspSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 52), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcChannelStatusRspSent.setDescription("This object counts the number of ChannelStatusResponse messages\nthat have been sent on this control channel.") lmpCcCounterDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 11, 1, 53), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpCcCounterDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\none or more of this control channel's counters suffered a\ndiscontinuity. The relevant counters are the specific\ninstances associated with this control channel of any\nCounter32 object contained in the lmpControlChannelPerfTable.\nIf no such discontinuities have occurred since the last re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") lmpTeLinkTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 12)) if mibBuilder.loadTexts: lmpTeLinkTable.setDescription("This table specifies the LMP-specific TE link information.\nOverall TE link information is kept in three separate tables:\nifTable for interface-specific information, lmpTeLinkTable\nfor LMP specific information, and teLinkTable for generic\nTE link information. ifIndex is the common index to all\ntables.") lmpTeLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: lmpTeLinkEntry.setDescription("An entry in this table exists for each ifEntry with an\nifType of teLink(200) that is managed by LMP. An ifEntry with\nan ifIndex must exist before the corresponding lmpTeLinkEntry is\ncreated. If a TE link entry in the ifTable is destroyed, then\nso is the corresponding entry in the lmpTeLinkTable. The\nadministrative status value is controlled from the ifEntry.\nSetting the administrative status to testing prompts LMP to\nstart link verification on the TE link. Information about the\nTE link that is not LMP specific is contained in the\nteLinkTable of the TE-LINK-STD-MIB MIB module.") lmpTeLinkNbrRemoteNodeId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1, 1), LmpNodeId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpTeLinkNbrRemoteNodeId.setDescription("This is the Node ID of the TE link remote node. This value\nmay be learned during the control channel parameter negotiation\n\n\n\nphase (in the Config message). Node ID is an address whose\ntype must be IPv4.") lmpTeLinkVerification = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1, 2), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpTeLinkVerification.setDescription("This object indicates whether the LMP link verification\nprocedure is enabled for this TE link.") lmpTeLinkFaultManagement = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1, 3), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpTeLinkFaultManagement.setDescription("This object indicates whether the LMP fault management procedure\nis enabled on this TE link.") lmpTeLinkDwdm = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1, 4), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpTeLinkDwdm.setDescription("This object indicates whether the LMP DWDM procedure is enabled\non this TE link.") lmpTeLinkOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ("init", 4), ("degraded", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkOperStatus.setDescription("The actual operational status of this TE link. The status\nis set to testing when the TE link is performing link\nverification. A degraded state indicates that there is\n\n\n\nno active control channel between the pair of nodes that\nform the endpoints of the TE link, but that at least one\ndata-bearing link on the TE link is allocated.") lmpTeLinkRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpTeLinkRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. None of the writable objects\nin a row can be changed if the status is active(1).\nAll read-create objects must have valid and consistent\nvalues before the row can be activated.") lmpTeLinkStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 12, 1, 7), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpTeLinkStorageType.setDescription("The storage type for this conceptual row in the\nlmpTeLinkTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") lmpGlobalLinkVerificationInterval = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 13), Unsigned32()).setMaxAccess("readwrite").setUnits("milliseconds") if mibBuilder.loadTexts: lmpGlobalLinkVerificationInterval.setDescription("This object indicates how often the link verification\nprocedure is executed. The interval is in milliseconds.\nA value of 0 is used to indicate that the link\nverification procedure should not be executed. The\ninterval specified in this object should be large enough\nto allow the verification procedure to be completed\nbefore the start of the next interval.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpLinkVerificationTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 14)) if mibBuilder.loadTexts: lmpLinkVerificationTable.setDescription("This table specifies TE link information associated with the\nLMP verification procedure.") lmpLinkVerificationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: lmpLinkVerificationEntry.setDescription("An entry in this table is created by an LMP-enabled device for\nevery TE link that supports the LMP verification\nprocedure.") lmpLinkVerifyInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 1), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyInterval.setDescription("This object specifies the VerifyInterval parameter used\nin the LMP link verification process. It indicates the\ninterval at which the Test messages are sent.") lmpLinkVerifyDeadInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 2), LmpInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyDeadInterval.setDescription("This object specifies the VerifyDeadInterval parameter used\nin the verification of the physical connectivity of data-\nbearing links. It specifies the observation period used to\ndetect a Test message at the remote node.") lmpLinkVerifyTransportMechanism = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 3), Bits().subtype(namedValues=NamedValues(("payload", 0), ("dccSectionOverheadBytes", 1), ("dccLineOverheadBytes", 2), ("j0Trace", 3), ("j1Trace", 4), ("j2Trace", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyTransportMechanism.setDescription("This defines the transport mechanism for the Test messages. The\nscope of this bit mask is restricted to each link encoding\ntype. The local node will set the bits corresponding to the\nvarious mechanisms it can support for transmitting LMP Test\nmessages. The receiver chooses the appropriate mechanism in the\nBeginVerifyAck message.") lmpLinkVerifyAllLinks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 4), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyAllLinks.setDescription("A value of true(1) for this object indicates that the\nverification process checks all unallocated links; otherwise,\nonly the new ports or component links that have been added to\nthis TE link are verified.") lmpLinkVerifyTransmissionRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 5), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyTransmissionRate.setDescription("This is the transmission rate of the data link over which\nthe Test messages will be transmitted and is expressed in\nbytes per second.") lmpLinkVerifyWavelength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 6), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyWavelength.setDescription("This value corresponds to the wavelength at\nwhich the Test messages will be transmitted and is\nmeasured in nanometers (nm). If each data-bearing link\ncorresponds to a separate wavelength, then this value should\nbe set to 0.") lmpLinkVerifyRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. None of the writable objects\nin a row can be changed if the status is active(1).\nAll read-create objects must have valid and consistent\nvalues before the row can be activated.") lmpLinkVerifyStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 14, 1, 8), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpLinkVerifyStorageType.setDescription("The storage type for this conceptual row in the\nlmpLinkVerificationTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\n\n\n\ncolumnar object in the row.") lmpTeLinkPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 15)) if mibBuilder.loadTexts: lmpTeLinkPerfTable.setDescription("This table specifies LMP TE link performance counters.") lmpTeLinkPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: lmpTeLinkPerfEntry.setDescription("An entry in this table is created by an LMP-enabled device for\nevery TE link. lmpTeCounterDiscontinuityTime is used\nto indicate potential discontinuity for all counter objects\nin this table.") lmpTeInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeInOctets.setDescription("The total number of LMP message octets received for\nthis TE link.") lmpTeOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeOutOctets.setDescription("The total number of LMP message octets transmitted out\nfor this TE link.") lmpTeBeginVerifyReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeBeginVerifyReceived.setDescription("This object counts the number of BeginVerify messages that have\n\n\n\nbeen received for this TE link.") lmpTeBeginVerifySent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeBeginVerifySent.setDescription("This object counts the number of BeginVerify messages that have\nbeen sent for this TE link.") lmpTeBeginVerifyRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeBeginVerifyRetransmit.setDescription("This object counts the number of BeginVerify messages that\nhave been retransmitted for this TE link.") lmpTeBeginVerifyAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeBeginVerifyAckReceived.setDescription("This object counts the number of BeginVerifyAck messages that\nhave been received for this TE link.") lmpTeBeginVerifyAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeBeginVerifyAckSent.setDescription("This object counts the number of BeginVerifyAck messages that\nhave been sent for this TE link.") lmpTeBeginVerifyNackReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeBeginVerifyNackReceived.setDescription("This object counts the number of BeginVerifyNack messages that\nhave been received for this TE link.") lmpTeBeginVerifyNackSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeBeginVerifyNackSent.setDescription("This object counts the number of BeginVerifyNack messages that\nhave been sent for this TE link.") lmpTeEndVerifyReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeEndVerifyReceived.setDescription("This object counts the number of EndVerify messages that have\nbeen received for this TE link.") lmpTeEndVerifySent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeEndVerifySent.setDescription("This object counts the number of EndVerify messages that have\nbeen sent for this TE link.") lmpTeEndVerifyRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeEndVerifyRetransmit.setDescription("This object counts the number of EndVerify messages that\nhave been retransmitted over this control channel.") lmpTeEndVerifyAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeEndVerifyAckReceived.setDescription("This object counts the number of EndVerifyAck messages that\nhave been received for this TE link.") lmpTeEndVerifyAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeEndVerifyAckSent.setDescription("This object counts the number of EndVerifyAck messages that\nhave been sent for this TE link.") lmpTeTestStatusSuccessReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusSuccessReceived.setDescription("This object counts the number of TestStatusSuccess messages\nthat have been received for this TE link.") lmpTeTestStatusSuccessSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusSuccessSent.setDescription("This object counts the number of TestStatusSuccess messages\nthat have been sent for this TE link.") lmpTeTestStatusSuccessRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusSuccessRetransmit.setDescription("This object counts the number of TestStatusSuccess messages\nthat have been retransmitted for this TE link.") lmpTeTestStatusFailureReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusFailureReceived.setDescription("This object counts the number of TestStatusFailure messages\nthat have been received for this TE link.") lmpTeTestStatusFailureSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusFailureSent.setDescription("This object counts the number of TestStatusFailure messages\n\n\n\nthat have been sent for this TE link.") lmpTeTestStatusFailureRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusFailureRetransmit.setDescription("This object counts the number of TestStatusFailure messages\nthat have been retransmitted on this TE link.") lmpTeTestStatusAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusAckReceived.setDescription("This object counts the number of TestStatusAck messages that\nhave been received for this TE link.") lmpTeTestStatusAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeTestStatusAckSent.setDescription("This object counts the number of TestStatusAck messages that\nhave been sent for this TE link.") lmpTeLinkSummaryReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkSummaryReceived.setDescription("This object counts the number of LinkSummary messages that\nhave been received for this TE link.") lmpTeLinkSummarySent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkSummarySent.setDescription("This object counts the number of LinkSummary messages that\nhave been sent for this TE link.") lmpTeLinkSummaryRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkSummaryRetransmit.setDescription("This object counts the number of LinkSummary messages that\nhave been retransmitted over this control channel.") lmpTeLinkSummaryAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkSummaryAckReceived.setDescription("This object counts the number of LinkSummaryAck messages that\nhave been received for this TE link.") lmpTeLinkSummaryAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkSummaryAckSent.setDescription("This object counts the number of LinkSummaryAck messages that\nhave been sent for this TE link.") lmpTeLinkSummaryNackReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkSummaryNackReceived.setDescription("This object counts the number of LinkSummaryNack messages that\nhave been received for this TE link.") lmpTeLinkSummaryNackSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeLinkSummaryNackSent.setDescription("This object counts the number of LinkSummaryNack messages that\nhave been sent for this TE link.") lmpTeChannelStatusReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusReceived.setDescription("This object counts the number of ChannelStatus messages that\nhave been received for this TE link.") lmpTeChannelStatusSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusSent.setDescription("This object counts the number of ChannelStatus messages that\nhave been sent for this TE link.") lmpTeChannelStatusRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusRetransmit.setDescription("This object counts the number of ChannelStatus messages that\nhave been retransmitted for this TE link.") lmpTeChannelStatusAckReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusAckReceived.setDescription("This object counts the number of ChannelStatusAck messages\nthat have been received for this TE link.") lmpTeChannelStatusAckSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusAckSent.setDescription("This object counts the number of ChannelStatus messages\nthat have been sent for this TE link.") lmpTeChannelStatusReqReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusReqReceived.setDescription("This object counts the number of ChannelStatusRequest messages\n\n\n\nthat have been received for this TE link.") lmpTeChannelStatusReqSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusReqSent.setDescription("This object counts the number of ChannelStatusRequest messages\nthat have been sent for this TE link.") lmpTeChannelStatusReqRetransmit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusReqRetransmit.setDescription("This object counts the number of ChannelStatusRequest messages\nthat have been retransmitted for this TE link.") lmpTeChannelStatusRspReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusRspReceived.setDescription("This object counts the number of ChannelStatusResponse messages\nthat have been received for this TE link.") lmpTeChannelStatusRspSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeChannelStatusRspSent.setDescription("This object counts the number of ChannelStatusResponse messages\nthat have been sent for this TE link.") lmpTeCounterDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 15, 1, 40), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpTeCounterDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\none or more of this TE link's counters suffered a\ndiscontinuity. The relevant counters are the specific\ninstances associated with this TE link of any Counter32\n\n\n\nobject contained in the lmpTeLinkPerfTable. If\nno such discontinuities have occurred since the last re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") lmpDataLinkTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 16)) if mibBuilder.loadTexts: lmpDataLinkTable.setDescription("This table specifies the data-bearing links managed by the\nLMP.") lmpDataLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: lmpDataLinkEntry.setDescription("An entry in this table exists for each ifEntry that represents\na data-bearing link. An ifEntry with an ifIndex must exist\nbefore the corresponding lmpDataLinkEntry is created.\nIf an entry representing the data-bearing link is destroyed in\nthe ifTable, then so is the corresponding entry in the\nlmpDataLinkTable. The administrative status value is\ncontrolled from the ifEntry. The index to this table is also\nused to get information in the componentLinkTable\nof the TE-LINK-STD-MIB MIB module.") lmpDataLinkType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("port", 1), ("componentLink", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkType.setDescription("This attribute specifies whether this data-bearing link is\na port or a component link. Component links are multiplex\ncapable, whereas ports are not multiplex capable.") lmpDataLinkAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 2), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpDataLinkAddressType.setDescription("This attribute specifies the data-bearing link IP address\ntype. If the data-bearing link is unnumbered, the address\ntype must be set to unknown(0).") lmpDataLinkIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpDataLinkIpAddr.setDescription("The local Internet address for numbered links. The type\nof this address is determined by the value of\nlmpDataLinkAddressType object.\n\nFor IPv4 and IPv6 numbered links, this object represents\nthe local IP address associated with the data-bearing\nlink. For an unnumbered link, the local address is\nof type unknown, and this object is set to the zero-length\nstring; the ifIndex object then identifies the\nunnumbered address.") lmpDataLinkRemoteIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 4), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpDataLinkRemoteIpAddress.setDescription("The remote Internet address for numbered data-bearing links.\nThe type of this address is determined by the\nlmpDataLinkAddressType object.\n\nFor IPv4 and IPv6 numbered links, this object represents the\nremote IP address associated with the data-bearing link. For\nan unnumbered link, the remote address is of type unknown,\nand this object is set to the zero-length string; the\nlmpDataLinkRemoteIfId object then identifies the unnumbered\naddress.\n\nThis information is either configured manually or\ncommunicated by the remote node during the link verification\nprocedure.") lmpDataLinkRemoteIfId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 5), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpDataLinkRemoteIfId.setDescription("Interface identifier of the remote end point. This\ninformation is either configured manually or\ncommunicated by the remote node during the link verification\nprocedure.") lmpDataLinkEncodingType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 6), TeLinkEncodingType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpDataLinkEncodingType.setDescription("The encoding type of the data-bearing link.") lmpDataLinkActiveOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,4,1,)).subtype(namedValues=NamedValues(("upAlloc", 1), ("upFree", 2), ("down", 3), ("testing", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkActiveOperStatus.setDescription("The actual operational status of this data-bearing link\n\n\n\n(active FSM).") lmpDataLinkPassiveOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,1,)).subtype(namedValues=NamedValues(("upAlloc", 1), ("upFree", 2), ("down", 3), ("psvTst", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkPassiveOperStatus.setDescription("The actual operational status of this data-bearing link\n(passive FSM).") lmpDataLinkRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpDataLinkRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. None of the writable objects\nin a row can be changed if the status is active(1).\nAll read-create objects must have valid and consistent\nvalues before the row can be activated.") lmpDataLinkStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 16, 1, 10), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: lmpDataLinkStorageType.setDescription("The storage type for this conceptual row in the\nlmpDataLinkTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") lmpDataLinkPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 227, 1, 17)) if mibBuilder.loadTexts: lmpDataLinkPerfTable.setDescription("This table specifies the data-bearing links LMP performance\ncounters.") lmpDataLinkPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: lmpDataLinkPerfEntry.setDescription("An entry in this table contains information about\nthe LMP performance counters for the data-bearing links.\nlmpDataLinkDiscontinuityTime is used to indicate potential\ndiscontinuity for all counter objects in this table.") lmpDataLinkTestReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkTestReceived.setDescription("This object counts the number of Test messages that have\nbeen received on this data-bearing link.") lmpDataLinkTestSent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkTestSent.setDescription("This object counts the number of Test messages that have\nbeen sent on this data-bearing link.") lmpDataLinkActiveTestSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkActiveTestSuccess.setDescription("This object counts the number of data-bearing link tests\nthat were successful on the active side of this data-\nbearing link.") lmpDataLinkActiveTestFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkActiveTestFailure.setDescription("This object counts the number of data-bearing link tests\nthat failed on the active side of this data-bearing link.") lmpDataLinkPassiveTestSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkPassiveTestSuccess.setDescription("This object counts the number of data-bearing link tests\nthat were successful on the passive side of this data-\nbearing link.") lmpDataLinkPassiveTestFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkPassiveTestFailure.setDescription("This object counts the number of data-bearing link tests\nthat failed on the passive side of this data-bearing link.") lmpDataLinkDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 227, 1, 17, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmpDataLinkDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\none or more of this data-bearing link's counters suffered\na discontinuity. The relevant counters are the specific\ninstances associated with this data-bearing link of any\nCounter32 object contained in the lmpDataLinkPerfTable. If\n\n\n\nno such discontinuities have occurred since the last re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") lmpNotificationMaxRate = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 18), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpNotificationMaxRate.setDescription("The LMP notification rate depends on the size of the network,\nthe type of links, the network configuration, the\nreliability of the network, etc.\n\nWhen this MIB was designed, care was taken to minimize the\namount of notifications generated for LMP purposes. Wherever\npossible, notifications are state driven, meaning that the\nnotifications are sent only when the system changes state.\nThe only notifications that are repeated and that could cause a\nproblem as far as congestion is concerned are the ones\nassociated with data link verification.\nWithout any considerations to handling of these\nnotifications, a problem may arise if the number of data\nlinks is high. Since the data link verification notifications\ncan happen only once per data link per link verification\ninterval, the notification rate should be sustainable if one\nchooses an appropriate link verification interval for a given\nnetwork configuration. For instance, a network of 100 nodes\nwith 5 links of 128 wavelengths each and a link verification\nof 1 minute, where no more than 10% of the links failed at any\ngiven time, would have 1 notification per second sent from\neach node, or 100 notifications per second for the whole\nnetwork. The rest of the notifications are negligible\ncompared to this number.\n\nTo alleviate the congestion problem, the\nlmpNotificationMaxRate object can be used to implement a\nthrottling mechanism. It is also possible to enable/disable\ncertain type of notifications.\n\nThis variable indicates the maximum number of\nnotifications issued per minute. If events occur\nmore rapidly, the implementation may simply fail to\n\n\n\nemit these notifications during that period or may\nqueue them until an appropriate time. A value of 0\nmeans that no throttling is applied and events may be\nnotified at the rate at which they occur.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpLinkPropertyNotificationsEnabled = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 19), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpLinkPropertyNotificationsEnabled.setDescription("If this object is true(1), then it enables the\ngeneration of lmpTeLinkPropertyMismatch\nand lmpDataLinkPropertyMismatch notifications;\notherwise, these notifications are not emitted.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpUnprotectedNotificationsEnabled = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 20), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpUnprotectedNotificationsEnabled.setDescription("If this object is true(1), then it enables the\ngeneration of lmpUnprotected notifications;\notherwise, these notifications are not emitted.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpCcUpDownNotificationsEnabled = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 21), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpCcUpDownNotificationsEnabled.setDescription("If this object is true(1), then it enables the generation of\nlmpControlChannelUp and lmpControlChannelDown notifications;\notherwise, these notifications are not emitted.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpTeLinkNotificationsEnabled = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 22), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpTeLinkNotificationsEnabled.setDescription("If this object is true(1), then it enables the\ngeneration of lmpTeLinkDegraded and lmpTeLinkNotDegraded\nnotifications; otherwise, these notifications are not emitted.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpDataLinkNotificationsEnabled = MibScalar((1, 3, 6, 1, 2, 1, 10, 227, 1, 23), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmpDataLinkNotificationsEnabled.setDescription("If this object is true(1), then it enables the\ngeneration of lmpDataLinkVerificationFailure\nnotification; otherwise, these notifications are not emitted.\nImplementations should save the value of this object in\npersistent memory so that it survives restarts or reboot.") lmpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 227, 2)) lmpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 227, 2, 1)) lmpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 227, 2, 2)) # Augmentions # Notifications lmpTeLinkPropertyMismatch = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 1)).setObjects(*(("TE-LINK-STD-MIB", "teLinkIncomingIfId"), ("TE-LINK-STD-MIB", "teLinkRemoteIpAddr"), ) ) if mibBuilder.loadTexts: lmpTeLinkPropertyMismatch.setDescription("This notification is generated when a TE link property\nmismatch is detected on the node. The received remote TE link\nID of the misconfigured TE link is represented by either\nteLinkRemoteIpAddr or teLinkIncomingIfId, depending on whether\nthe TE link is numbered or unnumbered. This notification\nshould not be sent unless lmpLinkPropertyNotificationsEnabled\nis true(1). It is recommended that this notification be\nreported only the first time a mismatch is detected.\nOtherwise, for a given TE link, this notification can occur\nno more than once per verification interval\n(lmpGlobalLinkVerificationInterval).") lmpDataLinkPropertyMismatch = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 2)).setObjects(*(("LMP-MIB", "lmpDataLinkType"), ("LMP-MIB", "lmpDataLinkRemoteIfId"), ) ) if mibBuilder.loadTexts: lmpDataLinkPropertyMismatch.setDescription("This notification is generated when a data-bearing link\nproperty mismatch is detected on the node. lmpDataLinkType\nis used to identify the local identifiers associated with\nthe data link. (The data link interface index can be used\nto determine the TE link interface index, as this\nrelationship is captured in the interface stack table.)\nThe remote entity interface ID is the remote entity\ninterface ID received in the LinkSummary message.\nThis notification should not be sent unless\nlmpLinkPropertyNotificationsEnabled is true(1). It is\nrecommended that this notification be reported only the\nfirst time a mismatch is detected. Otherwise, for a given\ndata link, this notification can occur no more than once\nper verification interval (lmpGlobalLinkVerificationInterval).") lmpUnprotected = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 3)).setObjects(*(("LMP-MIB", "lmpCcNbrNodeId"), ) ) if mibBuilder.loadTexts: lmpUnprotected.setDescription("This notification is generated when there is more than one\ncontrol channel between LMP neighbors and the last redundant\ncontrol channel has failed. If the remaining operational\ncontrol channel fails, then there will be no more control\nchannels between the pair of nodes and all the TE links\nbetween the pair of nodes, will go to degraded state. This\nnotification should not be sent unless\nlmpUnprotectedNotificationsEnabled is set to true(1).") lmpControlChannelUp = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 4)).setObjects(*(("LMP-MIB", "lmpCcAdminStatus"), ("LMP-MIB", "lmpCcOperStatus"), ) ) if mibBuilder.loadTexts: lmpControlChannelUp.setDescription("This notification is generated when a control\nchannel transitions to the up operational state. This\nnotification should not be sent unless\nlmpCcUpDownNotificationsEnabled is true(1).") lmpControlChannelDown = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 5)).setObjects(*(("LMP-MIB", "lmpCcAdminStatus"), ("LMP-MIB", "lmpCcOperStatus"), ) ) if mibBuilder.loadTexts: lmpControlChannelDown.setDescription("This notification is generated when a control channel\ntransitions out of the up operational state. This\nnotification should not be sent unless\nlmpCcUpDownNotificationsEnabled is true(1).") lmpTeLinkDegraded = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 6)).setObjects(*(("LMP-MIB", "lmpTeLinkOperStatus"), ) ) if mibBuilder.loadTexts: lmpTeLinkDegraded.setDescription("This notification is generated when a lmpTeLinkOperStatus\nobject for a TE link enters the degraded state. This\nnotification should not be sent unless\nlmpTeLinkNotificationsEnabled is true(1).") lmpTeLinkNotDegraded = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 7)).setObjects(*(("LMP-MIB", "lmpTeLinkOperStatus"), ) ) if mibBuilder.loadTexts: lmpTeLinkNotDegraded.setDescription("This notification is generated when a lmpTeLinkOperStatus\nobject for a TE link leaves the degraded state. This\nnotification should not be sent unless\nlmpTeLinkNotificationsEnabled is true(1).") lmpDataLinkVerificationFailure = NotificationType((1, 3, 6, 1, 2, 1, 10, 227, 0, 8)).setObjects(*(("LMP-MIB", "lmpDataLinkActiveOperStatus"), ("LMP-MIB", "lmpDataLinkPassiveOperStatus"), ) ) if mibBuilder.loadTexts: lmpDataLinkVerificationFailure.setDescription("This notification is generated when a data-bearing\nlink verification fails. This notification should not be sent\nunless lmpDataLinkNotificationsEnabled is true(1). For a given\ndata link, this notification can occur no more than once per\nverification interval (lmpGlobalLinkVerificationInterval).") # Groups lmpNodeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 1)).setObjects(*(("LMP-MIB", "lmpNbrRowStatus"), ("LMP-MIB", "lmpNbrAdminStatus"), ("LMP-MIB", "lmpOperStatus"), ("LMP-MIB", "lmpNbrOperStatus"), ("LMP-MIB", "lmpUnprotectedNotificationsEnabled"), ("LMP-MIB", "lmpAdminStatus"), ("LMP-MIB", "lmpNbrStorageType"), ("LMP-MIB", "lmpNotificationMaxRate"), ) ) if mibBuilder.loadTexts: lmpNodeGroup.setDescription("Collection of objects that represent LMP node\nconfiguration.") lmpControlChannelGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 2)).setObjects(*(("LMP-MIB", "lmpCcOperStatus"), ("LMP-MIB", "lmpNbrOperStatus"), ("LMP-MIB", "lmpCcUpDownNotificationsEnabled"), ("LMP-MIB", "lmpNbrRetransmitDelta"), ("LMP-MIB", "lmpCcHelloDeadIntervalDefaultMax"), ("LMP-MIB", "lmpCcRowStatus"), ("LMP-MIB", "lmpCcNbrNodeId"), ("LMP-MIB", "lmpCcSetupRole"), ("LMP-MIB", "lmpCcHelloIntervalDefaultMax"), ("LMP-MIB", "lmpCcRemoteIpAddr"), ("LMP-MIB", "lmpNbrRowStatus"), ("LMP-MIB", "lmpCcHelloDeadIntervalDefaultMin"), ("LMP-MIB", "lmpCcHelloDeadIntervalDefault"), ("LMP-MIB", "lmpCcHelloIntervalMax"), ("LMP-MIB", "lmpCcHelloIntervalMin"), ("LMP-MIB", "lmpNbrRetryLimit"), ("LMP-MIB", "lmpCcHelloIntervalDefaultMin"), ("LMP-MIB", "lmpCcAuthentication"), ("LMP-MIB", "lmpNbrAdminStatus"), ("LMP-MIB", "lmpCcHelloDeadInterval"), ("LMP-MIB", "lmpCcHelloInterval"), ("LMP-MIB", "lmpCcHelloIntervalNegotiated"), ("LMP-MIB", "lmpCcHelloDeadIntervalMax"), ("LMP-MIB", "lmpNbrRetransmitInterval"), ("LMP-MIB", "lmpCcStorageType"), ("LMP-MIB", "lmpCcRemoteId"), ("LMP-MIB", "lmpCcHelloDeadIntervalNegotiated"), ("LMP-MIB", "lmpCcRemoteAddressType"), ("LMP-MIB", "lmpNbrStorageType"), ("LMP-MIB", "lmpCcHelloIntervalDefault"), ("LMP-MIB", "lmpCcHelloDeadIntervalMin"), ) ) if mibBuilder.loadTexts: lmpControlChannelGroup.setDescription("Objects that can be used to configure LMP interface.") lmpCcIsInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 3)).setObjects(*(("LMP-MIB", "lmpCcIsIf"), ) ) if mibBuilder.loadTexts: lmpCcIsInterfaceGroup.setDescription("Objects that can be used to configure control channels\nthat are interfaces.") lmpCcIsNotInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 4)).setObjects(*(("LMP-MIB", "lmpCcAdminStatus"), ("LMP-MIB", "lmpCcIsIf"), ("LMP-MIB", "lmpCcUnderlyingIfIndex"), ("LMP-MIB", "lmpCcLastChange"), ) ) if mibBuilder.loadTexts: lmpCcIsNotInterfaceGroup.setDescription("Objects that can be used to configure control channels\nthat are not interfaces.") lmpLinkPropertyCorrelationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 5)).setObjects(*(("LMP-MIB", "lmpLinkPropertyNotificationsEnabled"), ) ) if mibBuilder.loadTexts: lmpLinkPropertyCorrelationGroup.setDescription("Collection of objects used to configure the link\nproperty correlation procedure.") lmpLinkVerificationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 6)).setObjects(*(("LMP-MIB", "lmpLinkVerifyRowStatus"), ("LMP-MIB", "lmpLinkVerifyTransportMechanism"), ("LMP-MIB", "lmpLinkVerifyInterval"), ("LMP-MIB", "lmpLinkVerifyTransmissionRate"), ("LMP-MIB", "lmpLinkVerifyAllLinks"), ("LMP-MIB", "lmpDataLinkNotificationsEnabled"), ("LMP-MIB", "lmpLinkVerifyWavelength"), ("LMP-MIB", "lmpGlobalLinkVerificationInterval"), ("LMP-MIB", "lmpLinkVerifyDeadInterval"), ("LMP-MIB", "lmpLinkVerifyStorageType"), ) ) if mibBuilder.loadTexts: lmpLinkVerificationGroup.setDescription("Collection of objects that represent the link\nverification procedure configuration.") lmpPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 7)).setObjects(*(("LMP-MIB", "lmpCcInErrors"), ("LMP-MIB", "lmpDataLinkPassiveTestSuccess"), ("LMP-MIB", "lmpTeEndVerifyRetransmit"), ("LMP-MIB", "lmpCcChannelStatusAckSent"), ("LMP-MIB", "lmpCcLinkSummaryRetransmit"), ("LMP-MIB", "lmpTeLinkSummarySent"), ("LMP-MIB", "lmpCcBeginVerifySent"), ("LMP-MIB", "lmpCcChannelStatusReqReceived"), ("LMP-MIB", "lmpTeChannelStatusRetransmit"), ("LMP-MIB", "lmpCcChannelStatusAckReceived"), ("LMP-MIB", "lmpTeBeginVerifyRetransmit"), ("LMP-MIB", "lmpCcTestStatusFailureReceived"), ("LMP-MIB", "lmpCcConfigAckSent"), ("LMP-MIB", "lmpTeLinkSummaryAckSent"), ("LMP-MIB", "lmpTeCounterDiscontinuityTime"), ("LMP-MIB", "lmpTeChannelStatusReqSent"), ("LMP-MIB", "lmpCcChannelStatusReqSent"), ("LMP-MIB", "lmpCcTestStatusFailureSent"), ("LMP-MIB", "lmpTeChannelStatusSent"), ("LMP-MIB", "lmpTeLinkSummaryReceived"), ("LMP-MIB", "lmpCcTestStatusAckSent"), ("LMP-MIB", "lmpCcTestStatusFailureRetransmit"), ("LMP-MIB", "lmpCcOutDiscards"), ("LMP-MIB", "lmpCcTestStatusSuccessRetransmit"), ("LMP-MIB", "lmpCcConfigNackReceived"), ("LMP-MIB", "lmpCcBeginVerifyAckReceived"), ("LMP-MIB", "lmpCcLinkSummaryNackReceived"), ("LMP-MIB", "lmpTeBeginVerifyAckSent"), ("LMP-MIB", "lmpCcEndVerifySent"), ("LMP-MIB", "lmpCcConfigReceived"), ("LMP-MIB", "lmpCcBeginVerifyAckSent"), ("LMP-MIB", "lmpTeLinkSummaryNackSent"), ("LMP-MIB", "lmpDataLinkDiscontinuityTime"), ("LMP-MIB", "lmpCcEndVerifyAckReceived"), ("LMP-MIB", "lmpCcChannelStatusRetransmit"), ("LMP-MIB", "lmpTeEndVerifyAckReceived"), ("LMP-MIB", "lmpDataLinkActiveTestSuccess"), ("LMP-MIB", "lmpTeChannelStatusReqReceived"), ("LMP-MIB", "lmpCcChannelStatusRspReceived"), ("LMP-MIB", "lmpDataLinkActiveTestFailure"), ("LMP-MIB", "lmpTeTestStatusAckSent"), ("LMP-MIB", "lmpTeTestStatusFailureSent"), ("LMP-MIB", "lmpTeTestStatusFailureRetransmit"), ("LMP-MIB", "lmpCcInOctets"), ("LMP-MIB", "lmpTeBeginVerifyNackReceived"), ("LMP-MIB", "lmpTeChannelStatusReqRetransmit"), ("LMP-MIB", "lmpCcHelloSent"), ("LMP-MIB", "lmpCcChannelStatusSent"), ("LMP-MIB", "lmpTeBeginVerifyAckReceived"), ("LMP-MIB", "lmpCcHelloReceived"), ("LMP-MIB", "lmpTeLinkSummaryRetransmit"), ("LMP-MIB", "lmpCcInDiscards"), ("LMP-MIB", "lmpCcLinkSummarySent"), ("LMP-MIB", "lmpTeChannelStatusAckReceived"), ("LMP-MIB", "lmpCcLinkSummaryNackSent"), ("LMP-MIB", "lmpCcBeginVerifyReceived"), ("LMP-MIB", "lmpCcTestStatusSuccessSent"), ("LMP-MIB", "lmpCcChannelStatusRspSent"), ("LMP-MIB", "lmpCcLinkSummaryAckReceived"), ("LMP-MIB", "lmpTeLinkSummaryAckReceived"), ("LMP-MIB", "lmpTeTestStatusSuccessReceived"), ("LMP-MIB", "lmpCcConfigSent"), ("LMP-MIB", "lmpCcCounterDiscontinuityTime"), ("LMP-MIB", "lmpCcTestStatusSuccessReceived"), ("LMP-MIB", "lmpCcTestStatusAckReceived"), ("LMP-MIB", "lmpTeChannelStatusReceived"), ("LMP-MIB", "lmpTeLinkSummaryNackReceived"), ("LMP-MIB", "lmpCcEndVerifyReceived"), ("LMP-MIB", "lmpCcLinkSummaryReceived"), ("LMP-MIB", "lmpTeEndVerifyReceived"), ("LMP-MIB", "lmpCcChannelStatusReceived"), ("LMP-MIB", "lmpDataLinkTestSent"), ("LMP-MIB", "lmpTeTestStatusSuccessRetransmit"), ("LMP-MIB", "lmpCcOutOctets"), ("LMP-MIB", "lmpCcConfigNackSent"), ("LMP-MIB", "lmpDataLinkTestReceived"), ("LMP-MIB", "lmpCcBeginVerifyNackReceived"), ("LMP-MIB", "lmpTeOutOctets"), ("LMP-MIB", "lmpTeInOctets"), ("LMP-MIB", "lmpTeChannelStatusRspReceived"), ("LMP-MIB", "lmpCcBeginVerifyNackSent"), ("LMP-MIB", "lmpTeChannelStatusAckSent"), ("LMP-MIB", "lmpCcOutErrors"), ("LMP-MIB", "lmpDataLinkPassiveTestFailure"), ("LMP-MIB", "lmpCcEndVerifyAckSent"), ("LMP-MIB", "lmpCcBeginVerifyRetransmit"), ("LMP-MIB", "lmpTeTestStatusFailureReceived"), ("LMP-MIB", "lmpTeEndVerifySent"), ("LMP-MIB", "lmpTeBeginVerifyNackSent"), ("LMP-MIB", "lmpTeEndVerifyAckSent"), ("LMP-MIB", "lmpTeChannelStatusRspSent"), ("LMP-MIB", "lmpTeTestStatusAckReceived"), ("LMP-MIB", "lmpCcEndVerifyRetransmit"), ("LMP-MIB", "lmpTeBeginVerifyReceived"), ("LMP-MIB", "lmpCcChannelStatusReqRetransmit"), ("LMP-MIB", "lmpCcConfigRetransmit"), ("LMP-MIB", "lmpTeTestStatusSuccessSent"), ("LMP-MIB", "lmpTeBeginVerifySent"), ("LMP-MIB", "lmpCcLinkSummaryAckSent"), ("LMP-MIB", "lmpCcConfigAckReceived"), ) ) if mibBuilder.loadTexts: lmpPerfGroup.setDescription("Collection of objects used to provide performance\ninformation about LMP interfaces and data-bearing links.") lmpTeLinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 8)).setObjects(*(("LMP-MIB", "lmpTeLinkNotificationsEnabled"), ("LMP-MIB", "lmpTeLinkFaultManagement"), ("LMP-MIB", "lmpTeLinkDwdm"), ("LMP-MIB", "lmpTeLinkVerification"), ("LMP-MIB", "lmpTeLinkNbrRemoteNodeId"), ("LMP-MIB", "lmpTeLinkStorageType"), ("LMP-MIB", "lmpTeLinkRowStatus"), ("LMP-MIB", "lmpTeLinkOperStatus"), ) ) if mibBuilder.loadTexts: lmpTeLinkGroup.setDescription("Objects that can be used to configure TE links.") lmpDataLinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 9)).setObjects(*(("LMP-MIB", "lmpDataLinkType"), ("LMP-MIB", "lmpDataLinkActiveOperStatus"), ("LMP-MIB", "lmpDataLinkRemoteIfId"), ("LMP-MIB", "lmpDataLinkRowStatus"), ("LMP-MIB", "lmpDataLinkIpAddr"), ("LMP-MIB", "lmpDataLinkPassiveOperStatus"), ("LMP-MIB", "lmpDataLinkStorageType"), ("LMP-MIB", "lmpDataLinkEncodingType"), ("LMP-MIB", "lmpDataLinkRemoteIpAddress"), ("LMP-MIB", "lmpDataLinkAddressType"), ) ) if mibBuilder.loadTexts: lmpDataLinkGroup.setDescription("Collection of objects that represent data-bearing link\nconfiguration.") lmpNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 227, 2, 2, 10)).setObjects(*(("LMP-MIB", "lmpTeLinkNotDegraded"), ("LMP-MIB", "lmpUnprotected"), ("LMP-MIB", "lmpTeLinkPropertyMismatch"), ("LMP-MIB", "lmpDataLinkVerificationFailure"), ("LMP-MIB", "lmpDataLinkPropertyMismatch"), ("LMP-MIB", "lmpControlChannelDown"), ("LMP-MIB", "lmpControlChannelUp"), ("LMP-MIB", "lmpTeLinkDegraded"), ) ) if mibBuilder.loadTexts: lmpNotificationGroup.setDescription("Set of notifications defined in this module.") # Compliances lmpModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 227, 2, 1, 1)).setObjects(*(("LMP-MIB", "lmpCcIsInterfaceGroup"), ("LMP-MIB", "lmpCcIsNotInterfaceGroup"), ("LMP-MIB", "lmpLinkVerificationGroup"), ("LMP-MIB", "lmpDataLinkGroup"), ("LMP-MIB", "lmpNotificationGroup"), ("LMP-MIB", "lmpControlChannelGroup"), ("LMP-MIB", "lmpPerfGroup"), ("LMP-MIB", "lmpNodeGroup"), ("LMP-MIB", "lmpLinkPropertyCorrelationGroup"), ("LMP-MIB", "lmpTeLinkGroup"), ) ) if mibBuilder.loadTexts: lmpModuleFullCompliance.setDescription("Compliance statement for agents that support the\nconfiguration and monitoring of LMP MIB.") lmpModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 227, 2, 1, 2)).setObjects(*(("LMP-MIB", "lmpCcIsInterfaceGroup"), ("LMP-MIB", "lmpCcIsNotInterfaceGroup"), ("LMP-MIB", "lmpLinkVerificationGroup"), ("LMP-MIB", "lmpDataLinkGroup"), ("LMP-MIB", "lmpNotificationGroup"), ("LMP-MIB", "lmpControlChannelGroup"), ("LMP-MIB", "lmpPerfGroup"), ("LMP-MIB", "lmpNodeGroup"), ("LMP-MIB", "lmpLinkPropertyCorrelationGroup"), ("LMP-MIB", "lmpTeLinkGroup"), ) ) if mibBuilder.loadTexts: lmpModuleReadOnlyCompliance.setDescription("Compliance statement for agents that support the\nmonitoring of the LMP MIB.") # Exports # Module identity mibBuilder.exportSymbols("LMP-MIB", PYSNMP_MODULE_ID=lmpMIB) # Types mibBuilder.exportSymbols("LMP-MIB", LmpInterval=LmpInterval, LmpNodeId=LmpNodeId, LmpRetransmitInterval=LmpRetransmitInterval) # Objects mibBuilder.exportSymbols("LMP-MIB", lmpMIB=lmpMIB, lmpNotifications=lmpNotifications, lmpObjects=lmpObjects, lmpAdminStatus=lmpAdminStatus, lmpOperStatus=lmpOperStatus, lmpNbrTable=lmpNbrTable, lmpNbrEntry=lmpNbrEntry, lmpNbrNodeId=lmpNbrNodeId, lmpNbrRetransmitInterval=lmpNbrRetransmitInterval, lmpNbrRetryLimit=lmpNbrRetryLimit, lmpNbrRetransmitDelta=lmpNbrRetransmitDelta, lmpNbrAdminStatus=lmpNbrAdminStatus, lmpNbrOperStatus=lmpNbrOperStatus, lmpNbrRowStatus=lmpNbrRowStatus, lmpNbrStorageType=lmpNbrStorageType, lmpCcHelloIntervalDefault=lmpCcHelloIntervalDefault, lmpCcHelloIntervalDefaultMin=lmpCcHelloIntervalDefaultMin, lmpCcHelloIntervalDefaultMax=lmpCcHelloIntervalDefaultMax, lmpCcHelloDeadIntervalDefault=lmpCcHelloDeadIntervalDefault, lmpCcHelloDeadIntervalDefaultMin=lmpCcHelloDeadIntervalDefaultMin, lmpCcHelloDeadIntervalDefaultMax=lmpCcHelloDeadIntervalDefaultMax, lmpControlChannelTable=lmpControlChannelTable, lmpControlChannelEntry=lmpControlChannelEntry, lmpCcId=lmpCcId, lmpCcUnderlyingIfIndex=lmpCcUnderlyingIfIndex, lmpCcIsIf=lmpCcIsIf, lmpCcNbrNodeId=lmpCcNbrNodeId, lmpCcRemoteId=lmpCcRemoteId, lmpCcRemoteAddressType=lmpCcRemoteAddressType, lmpCcRemoteIpAddr=lmpCcRemoteIpAddr, lmpCcSetupRole=lmpCcSetupRole, lmpCcAuthentication=lmpCcAuthentication, lmpCcHelloInterval=lmpCcHelloInterval, lmpCcHelloIntervalMin=lmpCcHelloIntervalMin, lmpCcHelloIntervalMax=lmpCcHelloIntervalMax, lmpCcHelloIntervalNegotiated=lmpCcHelloIntervalNegotiated, lmpCcHelloDeadInterval=lmpCcHelloDeadInterval, lmpCcHelloDeadIntervalMin=lmpCcHelloDeadIntervalMin, lmpCcHelloDeadIntervalMax=lmpCcHelloDeadIntervalMax, lmpCcHelloDeadIntervalNegotiated=lmpCcHelloDeadIntervalNegotiated, lmpCcLastChange=lmpCcLastChange, lmpCcAdminStatus=lmpCcAdminStatus, lmpCcOperStatus=lmpCcOperStatus, lmpCcRowStatus=lmpCcRowStatus, lmpCcStorageType=lmpCcStorageType, lmpControlChannelPerfTable=lmpControlChannelPerfTable, lmpControlChannelPerfEntry=lmpControlChannelPerfEntry, lmpCcInOctets=lmpCcInOctets, lmpCcInDiscards=lmpCcInDiscards, lmpCcInErrors=lmpCcInErrors, lmpCcOutOctets=lmpCcOutOctets, lmpCcOutDiscards=lmpCcOutDiscards, lmpCcOutErrors=lmpCcOutErrors, lmpCcConfigReceived=lmpCcConfigReceived, lmpCcConfigSent=lmpCcConfigSent, lmpCcConfigRetransmit=lmpCcConfigRetransmit, lmpCcConfigAckReceived=lmpCcConfigAckReceived, lmpCcConfigAckSent=lmpCcConfigAckSent, lmpCcConfigNackReceived=lmpCcConfigNackReceived, lmpCcConfigNackSent=lmpCcConfigNackSent, lmpCcHelloReceived=lmpCcHelloReceived, lmpCcHelloSent=lmpCcHelloSent, lmpCcBeginVerifyReceived=lmpCcBeginVerifyReceived, lmpCcBeginVerifySent=lmpCcBeginVerifySent, lmpCcBeginVerifyRetransmit=lmpCcBeginVerifyRetransmit, lmpCcBeginVerifyAckReceived=lmpCcBeginVerifyAckReceived, lmpCcBeginVerifyAckSent=lmpCcBeginVerifyAckSent, lmpCcBeginVerifyNackReceived=lmpCcBeginVerifyNackReceived, lmpCcBeginVerifyNackSent=lmpCcBeginVerifyNackSent, lmpCcEndVerifyReceived=lmpCcEndVerifyReceived, lmpCcEndVerifySent=lmpCcEndVerifySent, lmpCcEndVerifyRetransmit=lmpCcEndVerifyRetransmit, lmpCcEndVerifyAckReceived=lmpCcEndVerifyAckReceived, lmpCcEndVerifyAckSent=lmpCcEndVerifyAckSent, lmpCcTestStatusSuccessReceived=lmpCcTestStatusSuccessReceived, lmpCcTestStatusSuccessSent=lmpCcTestStatusSuccessSent, lmpCcTestStatusSuccessRetransmit=lmpCcTestStatusSuccessRetransmit, lmpCcTestStatusFailureReceived=lmpCcTestStatusFailureReceived, lmpCcTestStatusFailureSent=lmpCcTestStatusFailureSent, lmpCcTestStatusFailureRetransmit=lmpCcTestStatusFailureRetransmit, lmpCcTestStatusAckReceived=lmpCcTestStatusAckReceived, lmpCcTestStatusAckSent=lmpCcTestStatusAckSent, lmpCcLinkSummaryReceived=lmpCcLinkSummaryReceived, lmpCcLinkSummarySent=lmpCcLinkSummarySent, lmpCcLinkSummaryRetransmit=lmpCcLinkSummaryRetransmit, lmpCcLinkSummaryAckReceived=lmpCcLinkSummaryAckReceived, lmpCcLinkSummaryAckSent=lmpCcLinkSummaryAckSent, lmpCcLinkSummaryNackReceived=lmpCcLinkSummaryNackReceived, lmpCcLinkSummaryNackSent=lmpCcLinkSummaryNackSent, lmpCcChannelStatusReceived=lmpCcChannelStatusReceived, lmpCcChannelStatusSent=lmpCcChannelStatusSent, lmpCcChannelStatusRetransmit=lmpCcChannelStatusRetransmit, lmpCcChannelStatusAckReceived=lmpCcChannelStatusAckReceived, lmpCcChannelStatusAckSent=lmpCcChannelStatusAckSent, lmpCcChannelStatusReqReceived=lmpCcChannelStatusReqReceived, lmpCcChannelStatusReqSent=lmpCcChannelStatusReqSent, lmpCcChannelStatusReqRetransmit=lmpCcChannelStatusReqRetransmit, lmpCcChannelStatusRspReceived=lmpCcChannelStatusRspReceived, lmpCcChannelStatusRspSent=lmpCcChannelStatusRspSent, lmpCcCounterDiscontinuityTime=lmpCcCounterDiscontinuityTime, lmpTeLinkTable=lmpTeLinkTable, lmpTeLinkEntry=lmpTeLinkEntry, lmpTeLinkNbrRemoteNodeId=lmpTeLinkNbrRemoteNodeId, lmpTeLinkVerification=lmpTeLinkVerification, lmpTeLinkFaultManagement=lmpTeLinkFaultManagement, lmpTeLinkDwdm=lmpTeLinkDwdm, lmpTeLinkOperStatus=lmpTeLinkOperStatus, lmpTeLinkRowStatus=lmpTeLinkRowStatus, lmpTeLinkStorageType=lmpTeLinkStorageType, lmpGlobalLinkVerificationInterval=lmpGlobalLinkVerificationInterval, lmpLinkVerificationTable=lmpLinkVerificationTable, lmpLinkVerificationEntry=lmpLinkVerificationEntry, lmpLinkVerifyInterval=lmpLinkVerifyInterval, lmpLinkVerifyDeadInterval=lmpLinkVerifyDeadInterval, lmpLinkVerifyTransportMechanism=lmpLinkVerifyTransportMechanism, lmpLinkVerifyAllLinks=lmpLinkVerifyAllLinks, lmpLinkVerifyTransmissionRate=lmpLinkVerifyTransmissionRate, lmpLinkVerifyWavelength=lmpLinkVerifyWavelength, lmpLinkVerifyRowStatus=lmpLinkVerifyRowStatus, lmpLinkVerifyStorageType=lmpLinkVerifyStorageType, lmpTeLinkPerfTable=lmpTeLinkPerfTable, lmpTeLinkPerfEntry=lmpTeLinkPerfEntry, lmpTeInOctets=lmpTeInOctets, lmpTeOutOctets=lmpTeOutOctets, lmpTeBeginVerifyReceived=lmpTeBeginVerifyReceived, lmpTeBeginVerifySent=lmpTeBeginVerifySent) mibBuilder.exportSymbols("LMP-MIB", lmpTeBeginVerifyRetransmit=lmpTeBeginVerifyRetransmit, lmpTeBeginVerifyAckReceived=lmpTeBeginVerifyAckReceived, lmpTeBeginVerifyAckSent=lmpTeBeginVerifyAckSent, lmpTeBeginVerifyNackReceived=lmpTeBeginVerifyNackReceived, lmpTeBeginVerifyNackSent=lmpTeBeginVerifyNackSent, lmpTeEndVerifyReceived=lmpTeEndVerifyReceived, lmpTeEndVerifySent=lmpTeEndVerifySent, lmpTeEndVerifyRetransmit=lmpTeEndVerifyRetransmit, lmpTeEndVerifyAckReceived=lmpTeEndVerifyAckReceived, lmpTeEndVerifyAckSent=lmpTeEndVerifyAckSent, lmpTeTestStatusSuccessReceived=lmpTeTestStatusSuccessReceived, lmpTeTestStatusSuccessSent=lmpTeTestStatusSuccessSent, lmpTeTestStatusSuccessRetransmit=lmpTeTestStatusSuccessRetransmit, lmpTeTestStatusFailureReceived=lmpTeTestStatusFailureReceived, lmpTeTestStatusFailureSent=lmpTeTestStatusFailureSent, lmpTeTestStatusFailureRetransmit=lmpTeTestStatusFailureRetransmit, lmpTeTestStatusAckReceived=lmpTeTestStatusAckReceived, lmpTeTestStatusAckSent=lmpTeTestStatusAckSent, lmpTeLinkSummaryReceived=lmpTeLinkSummaryReceived, lmpTeLinkSummarySent=lmpTeLinkSummarySent, lmpTeLinkSummaryRetransmit=lmpTeLinkSummaryRetransmit, lmpTeLinkSummaryAckReceived=lmpTeLinkSummaryAckReceived, lmpTeLinkSummaryAckSent=lmpTeLinkSummaryAckSent, lmpTeLinkSummaryNackReceived=lmpTeLinkSummaryNackReceived, lmpTeLinkSummaryNackSent=lmpTeLinkSummaryNackSent, lmpTeChannelStatusReceived=lmpTeChannelStatusReceived, lmpTeChannelStatusSent=lmpTeChannelStatusSent, lmpTeChannelStatusRetransmit=lmpTeChannelStatusRetransmit, lmpTeChannelStatusAckReceived=lmpTeChannelStatusAckReceived, lmpTeChannelStatusAckSent=lmpTeChannelStatusAckSent, lmpTeChannelStatusReqReceived=lmpTeChannelStatusReqReceived, lmpTeChannelStatusReqSent=lmpTeChannelStatusReqSent, lmpTeChannelStatusReqRetransmit=lmpTeChannelStatusReqRetransmit, lmpTeChannelStatusRspReceived=lmpTeChannelStatusRspReceived, lmpTeChannelStatusRspSent=lmpTeChannelStatusRspSent, lmpTeCounterDiscontinuityTime=lmpTeCounterDiscontinuityTime, lmpDataLinkTable=lmpDataLinkTable, lmpDataLinkEntry=lmpDataLinkEntry, lmpDataLinkType=lmpDataLinkType, lmpDataLinkAddressType=lmpDataLinkAddressType, lmpDataLinkIpAddr=lmpDataLinkIpAddr, lmpDataLinkRemoteIpAddress=lmpDataLinkRemoteIpAddress, lmpDataLinkRemoteIfId=lmpDataLinkRemoteIfId, lmpDataLinkEncodingType=lmpDataLinkEncodingType, lmpDataLinkActiveOperStatus=lmpDataLinkActiveOperStatus, lmpDataLinkPassiveOperStatus=lmpDataLinkPassiveOperStatus, lmpDataLinkRowStatus=lmpDataLinkRowStatus, lmpDataLinkStorageType=lmpDataLinkStorageType, lmpDataLinkPerfTable=lmpDataLinkPerfTable, lmpDataLinkPerfEntry=lmpDataLinkPerfEntry, lmpDataLinkTestReceived=lmpDataLinkTestReceived, lmpDataLinkTestSent=lmpDataLinkTestSent, lmpDataLinkActiveTestSuccess=lmpDataLinkActiveTestSuccess, lmpDataLinkActiveTestFailure=lmpDataLinkActiveTestFailure, lmpDataLinkPassiveTestSuccess=lmpDataLinkPassiveTestSuccess, lmpDataLinkPassiveTestFailure=lmpDataLinkPassiveTestFailure, lmpDataLinkDiscontinuityTime=lmpDataLinkDiscontinuityTime, lmpNotificationMaxRate=lmpNotificationMaxRate, lmpLinkPropertyNotificationsEnabled=lmpLinkPropertyNotificationsEnabled, lmpUnprotectedNotificationsEnabled=lmpUnprotectedNotificationsEnabled, lmpCcUpDownNotificationsEnabled=lmpCcUpDownNotificationsEnabled, lmpTeLinkNotificationsEnabled=lmpTeLinkNotificationsEnabled, lmpDataLinkNotificationsEnabled=lmpDataLinkNotificationsEnabled, lmpConformance=lmpConformance, lmpCompliances=lmpCompliances, lmpGroups=lmpGroups) # Notifications mibBuilder.exportSymbols("LMP-MIB", lmpTeLinkPropertyMismatch=lmpTeLinkPropertyMismatch, lmpDataLinkPropertyMismatch=lmpDataLinkPropertyMismatch, lmpUnprotected=lmpUnprotected, lmpControlChannelUp=lmpControlChannelUp, lmpControlChannelDown=lmpControlChannelDown, lmpTeLinkDegraded=lmpTeLinkDegraded, lmpTeLinkNotDegraded=lmpTeLinkNotDegraded, lmpDataLinkVerificationFailure=lmpDataLinkVerificationFailure) # Groups mibBuilder.exportSymbols("LMP-MIB", lmpNodeGroup=lmpNodeGroup, lmpControlChannelGroup=lmpControlChannelGroup, lmpCcIsInterfaceGroup=lmpCcIsInterfaceGroup, lmpCcIsNotInterfaceGroup=lmpCcIsNotInterfaceGroup, lmpLinkPropertyCorrelationGroup=lmpLinkPropertyCorrelationGroup, lmpLinkVerificationGroup=lmpLinkVerificationGroup, lmpPerfGroup=lmpPerfGroup, lmpTeLinkGroup=lmpTeLinkGroup, lmpDataLinkGroup=lmpDataLinkGroup, lmpNotificationGroup=lmpNotificationGroup) # Compliances mibBuilder.exportSymbols("LMP-MIB", lmpModuleFullCompliance=lmpModuleFullCompliance, lmpModuleReadOnlyCompliance=lmpModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-FABRIC-LOCK-MIB.py0000644000014400001440000004471111736645140021744 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-FABRIC-LOCK-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:41 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( fcmInstanceIndex, fcmSwitchIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "fcmInstanceIndex", "fcmSwitchIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowStatus, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus") ( T11NsGs4RejectReasonCode, ) = mibBuilder.importSymbols("T11-FC-NAME-SERVER-MIB", "T11NsGs4RejectReasonCode") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Objects t11FabricLockMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 159)).setRevisions(("2007-06-27 00:00",)) if mibBuilder.loadTexts: t11FabricLockMIB.setOrganization("For the initial versions, T11.\nFor later versions, the IETF's IMSS Working Group.") if mibBuilder.loadTexts: t11FabricLockMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: cds@cisco.com\n\nKeith McCloghrie\n\n\n\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nEMail: kzm@cisco.com") if mibBuilder.loadTexts: t11FabricLockMIB.setDescription("The MIB module for the management of locks on a Fibre\nChannel Fabric. A Fibre Channel Fabric lock is used to\nensure serialized access to some types of management data\nrelated to a Fabric, e.g., the Fabric's Zoning Database.\n\nSome (managing) applications generate Fabric locks by\ninitiating server sessions. Server sessions are\ndefined generically in FC-GS-5 to represent a collection of\none or more requests to the session's server, e.g., to the\nZone Server. Such a session is started by a Server Session\nBegin (SSB) request, and terminated by a Server Session End\n(SSE) request. The switch receiving the SSB is called the\n'managing' switch. Some applications require the\n'managing' switch to lock the Fabric for the particular\napplication, e.g., for Enhanced Zoning, before it can\nrespond successfully to the SSB. On receipt of the\nsubsequent SSE, the lock is released. For this usage, the\nmanaging switch sends an Acquire Change Authorization (ACA)\nrequest to other switches to lock the Fabric.\n\nFor some other applications, a managing switch locks the\nFabric using an Enhanced Acquire Change Authorization (EACA)\nrequest, which identifies the application on whose behalf\nthe Fabric is being locked with an Application_ID.\n\nFabric locks can also be requested more directly, e.g.,\nthrough the use of this MIB. In these situations, the term\n'managing' switch is used to indicate the switch that\nreceives such a request and executes it by issuing either\nACA or EACA requests to other switches in the Fabric.\n\nThis MIB module defines information about the 'managing'\nswitch for currently-active Fabric locks.\n\nCopyright (C) The IETF Trust (2007). This version\nof this MIB module is part of RFC 4936; see the RFC\nitself for full legal notices.") t11FLockMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 159, 0)) t11FLockMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 159, 1)) t11FLockConfiguration = MibIdentifier((1, 3, 6, 1, 2, 1, 159, 1, 1)) t11FLockTable = MibTable((1, 3, 6, 1, 2, 1, 159, 1, 1, 1)) if mibBuilder.loadTexts: t11FLockTable.setDescription("A table containing information about the 'managing'\nswitch of each current Fabric lock, e.g., for the\ntypes of Servers defined in FC-GS-5.\n\nEach entry in this table represents either:\n\n1) a current Fabric lock,\n2) an in-progress attempt, requested via SNMP, to set up\n a lock, or\n3) a failed attempt, requested via SNMP, to set up a lock.\n\nIf an entry is created via t11FLockRowStatus, but the\nattempt to obtain the lock fails, then the entry continues\nto exist until it is deleted via t11FLockRowStatus, or\nit is overwritten by the lock being established via\na means other than SNMP. However, rows created via\nt11FLockRowStatus are not retained over restarts.") t11FLockEntry = MibTableRow((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex"), (0, "T11-FC-FABRIC-LOCK-MIB", "t11FLockFabricIndex"), (0, "T11-FC-FABRIC-LOCK-MIB", "t11FLockApplicationID")) if mibBuilder.loadTexts: t11FLockEntry.setDescription("Each entry contains information specific to a current\nFabric lock set up by a particular 'managing' switch on a\nparticular Fabric. The 'managing switch' is identified by\nvalues of fcmInstanceIndex and fcmSwitchIndex.\n\nServer sessions for several different types of servers\nare defined in FC-GS-5. The behavior of a server with\n\n\n\nrespect to commands received within a server session is\nspecified for each type of server. For some types,\nparameter changes can only be made within the context of a\nsession, and the setting up of a session requires that the\nFabric be locked. A Fabric is locked by one switch, called\nthe 'managing' switch, sending Acquire Change Authorization\n(ACA) requests to all other switches in the Fabric.\n\nFor other applications, a Fabric lock is established by the\n'managing' switch sending Enhanced Acquire Change\nAuthorization (EACA) requests to other switches in the\nFabric. Each EACA request includes an Application_ID\nvalue to identify the application requesting the lock.\n\nFor the benefit of this MIB module, a distinct value of\nApplication_ID has also been assigned/reserved (see\nANSI INCITS T11/06-679v0, titled 'FC-SW-5 Letter to\nT11.5') as a means of distinguishing locks established via\nAcquire Change Authorization (ACA) requests. This\nadditional assignment allows an Application_ID to be used to\nuniquely identify any active lock amongst all those\nestablished by either an EACA or an ACA.\n\nWhenever a Fabric is locked, by the sending of either an ACA\nor an EACA, a row gets created in the representation of this\ntable for the 'managing' switch.\n\nIn order to process SNMP SetRequests that make parameter\nchanges for the relevant types of servers (e.g., to the\nZoning Database), the SNMP agent must get serialized access\nto the Fabric (for the relevant type of management data),\ni.e., the Fabric must be locked by creating an entry in\nthis table via an SNMP SetRequest. Creating an entry in\nthis table via an SNMP SetRequest causes an ACA or an EACA\nto be sent to all other switches in the Fabric. The value\nof t11FLockApplicationID for such an entry determines\nwhether an ACA or an EACA is sent.\n\nIf an entry in this table is created by an SNMP SetRequest,\nthe value of the t11FLockInitiatorType object in that entry\nwill normally be 'snmp'. A row for which the value of\nt11FLockInitiatorType is not 'snmp' cannot be modified\nvia SNMP. In particular, it cannot be deleted via\nt11FLockRowStatus. Note that it's possible for a row to be\ncreated by an SNMP SetRequest, but for the setup of the lock\nto fail, and immediately thereafter be replaced by a lock\nsuccessfully set up by some other means; in such a case, the\nvalue of t11FLockInitiatorType would change as and when the\n\n\n\nlock was set up by the other means, and so the row could\nnot thereafter be deleted via t11FLockRowStatus.\n\nFC-GS-5 mentions various error situations in which a\nFabric lock is released so as to avoid a deadlock. In\nsuch situations, the agent removes the corresponding row\nin this table as and when the lock is released. This can\nhappen for all values of t11FLockInitiatorType.") t11FLockFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FLockFabricIndex.setDescription("A unique index value that uniquely identifies a\nparticular Fabric.\n\nIn a Fabric conformant to FC-SW-4, multiple Virtual Fabrics\ncan operate within one (or more) physical infrastructures,\nand this index value is used to uniquely identify a\n\n\n\nparticular (physical or virtual) Fabric within a physical\ninfrastructure.\n\nIn a Fabric conformant to versions earlier than FC-SW-4,\nonly a single Fabric could operate within a physical\ninfrastructure, and thus, the value of this Fabric Index\nwas defined to always be 1.") t11FLockApplicationID = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11FLockApplicationID.setDescription("The Application_ID value that identifies the type of\napplication for which the Fabric is locked.\n\nA lock established via Acquire Change Authorization (ACA)\ndoes not, strictly speaking, have an Application_ID value.\nHowever, the value 'FF'h (255 decimal) has been reserved\nby T11 to be used as the value of this MIB object as and\nwhen a lock is established by an ACA. This value was\ninitially documented in a letter from the FC-SW-5 Editor\nto T11.5, which was approved by the T11 and T11.5 plenary\nmeetings on October 5, 2006.") t11FLockInitiatorType = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,3,)).subtype(namedValues=NamedValues(("other", 1), ("ssb", 2), ("cli", 3), ("snmp", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockInitiatorType.setDescription("This object specifies what type of initiator generated\nthe request that caused this lock to be established:\n\n other - none of the following.\n\n\n\n ssb - this lock was established due to the\n receipt of an SSB, e.g., from a GS-5\n client.\n cli - this lock was established in order\n to process a Command Line Interface\n (CLI) command.\n snmp - this lock was established as a result\n of an SNMP SetRequest.") t11FLockInitiator = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockInitiator.setDescription("This object specifies the initiator whose request\ncaused this lock to be established.\n\nIf the value of the corresponding instance\nof t11FLockInitiatorType is 'ssb', this\nobject will contain the FC_ID of the client\nthat issued the Server Session Begin (SSB)\nthat required the lock to be established.\n\nIf the value of the corresponding instance\nof t11FLockInitiatorType object is 'cli', this\nobject will contain the user name of the CLI\n(Command Line Interface) user on whose behalf\nthe lock was established.\n\nIf the value of the corresponding instance of\nt11FLockInitiatorType is 'snmp', this object\nwill contain the SNMP securityName used by the\nSNMPv3 message containing the SetRequest that\ncreated this row. (If the row was created via\nSNMPv1 or SNMPv2c, then the appropriate value of\nthe snmpCommunitySecurityName is used.)") t11FLockInitiatorIpAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockInitiatorIpAddrType.setDescription("This object specifies the type of IP address contained\nin the corresponding instance of t11FLockInitiatorIpAddr.\nIf the IP address of the location of the initiator is\nunknown or not applicable, this object has the value:\n'unknown'.") t11FLockInitiatorIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 6), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockInitiatorIpAddr.setDescription("This object specifies the IP address of the location\nof the initiator that established this lock via a\nrequest of the type given by the corresponding instance\nof t11FLockInitiatorType. In cases where the\ncorresponding instance of t11FLockInitiatorIpAddrType has\nthe value: 'unknown', the value of this object is the\nzero-length string.") t11FLockStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("active", 1), ("settingUp", 2), ("rejectFailure", 3), ("otherFailure", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockStatus.setDescription("This object gives the current status of the lock:\n\n'active' -- the lock is currently established.\n'settingUp' -- the 'managing' switch is currently\n attempting to set up the lock, e.g.,\n it is waiting to receive Accepts\n for ACAs from every switch in the\n Fabric.\n\n\n\n'rejectFailure' -- the 'managing' switch's attempt to\n set up the lock was rejected with\n the reason codes given by:\n t11FLockRejectReasonCode,\n t11FLockRejectReasonCodeExp and\n t11FLockRejectReasonVendorCode.\n'otherFailure' -- the 'managing' switch's attempt\n to set up the lock failed (but no\n reason codes are available).\n\nFor values of t11FLockInitiatorType other than 'snmp',\na row is only required to be instantiated in this table\nwhen the value of this object is 'active'.\n\nIf the value of the corresponding instance of\nt11FLockInitiatorType is 'snmp', the initial value of this\nobject when the row is first created is 'settingUp'. As\nand when the setup succeeds, the value transitions to\n'active'. If the setup fails, the value transitions to\neither 'rejectFailure' or 'otherFailure'. Note that such a\nfailure value is overwritten on the next attempt to obtain\nthe lock, which could be immediately after the failure,\ne.g., by a GS-5 client.\n\nWhen the value of this object is 'rejectFailure', the\nrejection's reason codes are given by the corresponding\nvalues of t11FLockRejectReasonCode,\nt11FLockRejectReasonCodeExp and\nt11FLockRejectReasonVendorCode.") t11FLockRejectReasonCode = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 8), T11NsGs4RejectReasonCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockRejectReasonCode.setDescription("When the value of the corresponding instance of\nt11FLockStatus is 'rejectFailure', this object contains\nthe rejection's reason code.") t11FLockRejectReasonCodeExp = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockRejectReasonCodeExp.setDescription("When the value of the corresponding instance of\nt11FLockStatus is 'rejectFailure', this object contains\nthe rejection's reason code explanation.") t11FLockRejectReasonVendorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11FLockRejectReasonVendorCode.setDescription("When the value of the corresponding instance of\nt11FLockStatus is 'rejectFailure', this object contains\nthe rejection's vendor-specific code.") t11FLockRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 159, 1, 1, 1, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: t11FLockRowStatus.setDescription("The status of this conceptual row.\n\nA row in this table can be modified or deleted via\nthis object only when the row's value of\nt11FLockInitiatorType is 'snmp'.") t11FLockMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 159, 2)) t11FLockMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 159, 2, 1)) t11FLockMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 159, 2, 2)) # Augmentions # Groups t11FLockActiveGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 159, 2, 2, 1)).setObjects(*(("T11-FC-FABRIC-LOCK-MIB", "t11FLockInitiator"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockRejectReasonCode"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockRejectReasonVendorCode"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockInitiatorIpAddrType"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockRowStatus"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockStatus"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockRejectReasonCodeExp"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockInitiatorType"), ("T11-FC-FABRIC-LOCK-MIB", "t11FLockInitiatorIpAddr"), ) ) if mibBuilder.loadTexts: t11FLockActiveGroup.setDescription("A collection of objects containing information\nabout current Fabric locks.") # Compliances t11FLockMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 159, 2, 1, 1)).setObjects(*(("T11-FC-FABRIC-LOCK-MIB", "t11FLockActiveGroup"), ) ) if mibBuilder.loadTexts: t11FLockMIBCompliance.setDescription("The compliance statement for entities that support\nFabric locks in support of GS-5 Server applications.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-FABRIC-LOCK-MIB", PYSNMP_MODULE_ID=t11FabricLockMIB) # Objects mibBuilder.exportSymbols("T11-FC-FABRIC-LOCK-MIB", t11FabricLockMIB=t11FabricLockMIB, t11FLockMIBNotifications=t11FLockMIBNotifications, t11FLockMIBObjects=t11FLockMIBObjects, t11FLockConfiguration=t11FLockConfiguration, t11FLockTable=t11FLockTable, t11FLockEntry=t11FLockEntry, t11FLockFabricIndex=t11FLockFabricIndex, t11FLockApplicationID=t11FLockApplicationID, t11FLockInitiatorType=t11FLockInitiatorType, t11FLockInitiator=t11FLockInitiator, t11FLockInitiatorIpAddrType=t11FLockInitiatorIpAddrType, t11FLockInitiatorIpAddr=t11FLockInitiatorIpAddr, t11FLockStatus=t11FLockStatus, t11FLockRejectReasonCode=t11FLockRejectReasonCode, t11FLockRejectReasonCodeExp=t11FLockRejectReasonCodeExp, t11FLockRejectReasonVendorCode=t11FLockRejectReasonVendorCode, t11FLockRowStatus=t11FLockRowStatus, t11FLockMIBConformance=t11FLockMIBConformance, t11FLockMIBCompliances=t11FLockMIBCompliances, t11FLockMIBGroups=t11FLockMIBGroups) # Groups mibBuilder.exportSymbols("T11-FC-FABRIC-LOCK-MIB", t11FLockActiveGroup=t11FLockActiveGroup) # Compliances mibBuilder.exportSymbols("T11-FC-FABRIC-LOCK-MIB", t11FLockMIBCompliance=t11FLockMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MALLOC-MIB.py0000644000014400001440000012543111736645137020413 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MALLOC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:16 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAmallocRangeSource, IANAscopeSource, ) = mibBuilder.importSymbols("IANA-MALLOC-MIB", "IANAmallocRangeSource", "IANAscopeSource") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( LanguageTag, ) = mibBuilder.importSymbols("IPMROUTE-STD-MIB", "LanguageTag") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TruthValue") # Objects mallocMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 101)).setRevisions(("2003-06-09 00:00",)) if mibBuilder.loadTexts: mallocMIB.setOrganization("IETF MALLOC Working Group") if mibBuilder.loadTexts: mallocMIB.setContactInfo(" WG-EMail: malloc@catarina.usc.edu\nSubscribe: malloc-request@catarina.usc.edu\nArchive: catarina.usc.edu/pub/multicast/malloc/\n\nCo-chair/editor:\nDave Thaler\nMicrosoft Corporation\nOne Microsoft Way\nRedmond, WA 98052\nEMail: dthaler@microsoft.com\n\nCo-chair:\nSteve Hanna\nSun Microsystems, Inc.\nOne Network Drive\nBurlington, MA 01803\nEMail: steve.hanna@sun.com") if mibBuilder.loadTexts: mallocMIB.setDescription("The MIB module for management of multicast address\nallocation.\n\nCopyright (C) The Internet Society (2003). This version of\nthis MIB module is part of RFC 3559; see the RFC itself for\nfull legal notices.") mallocMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 101, 1)) malloc = MibIdentifier((1, 3, 6, 1, 2, 1, 101, 1, 1)) mallocCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("startTime", 0), ("serverMobility", 1), ("retryAfter", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocCapabilities.setDescription("This object describes the capabilities which a client or\nserver supports. The startTime bit indicates that\nallocations with a future start time are supported. The\nserverMobility bit indicates that allocations can be renewed\nor released from a server other than the one granting the\noriginal allocation. The retryAfter bit indicates support\nfor a waiting state where the client may check back at a\nlater time to get the status of its request.") mallocScopeTable = MibTable((1, 3, 6, 1, 2, 1, 101, 1, 1, 2)) if mibBuilder.loadTexts: mallocScopeTable.setDescription("The (conceptual) table containing information on multicast\nscopes from which addresses may be allocated. Entries in\nthis table may be dynamically discovered via some other\n\n\n\nprotocol, such as MZAP, or may be statically configured,\nsuch as in an isolated network environment. Each scope is\nassociated with a range of multicast addresses, and ranges\nfor different rows must be disjoint.") mallocScopeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1)).setIndexNames((0, "MALLOC-MIB", "mallocScopeAddressType"), (0, "MALLOC-MIB", "mallocScopeFirstAddress")) if mibBuilder.loadTexts: mallocScopeEntry.setDescription("An entry (conceptual row) containing the information on a\nparticular multicast scope.") mallocScopeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mallocScopeAddressType.setDescription("The type of the addresses in the multicast scope range.\nLegal values correspond to the subset of address families\nfor which multicast address allocation is supported.") mallocScopeFirstAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mallocScopeFirstAddress.setDescription("The first address in the multicast scope range. The type\nof this address is determined by the value of the\nmallocScopeAddressType object.") mallocScopeLastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 3), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeLastAddress.setDescription("The last address in the multicast scope range. The type of\nthis address is determined by the value of the\nmallocScopeAddressType object.") mallocScopeHopLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeHopLimit.setDescription("The default IPv4 TTL or IPv6 hop limit which applications\nshould use for groups within the scope.") mallocScopeStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table. If write\naccess is supported, the other writable objects in this\ntable may be modified even while the status is `active'.") mallocScopeSource = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 6), IANAscopeSource()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocScopeSource.setDescription("The method by which this entry was learned.") mallocScopeDivisible = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 7), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeDivisible.setDescription("If false, the server may allocate addresses out of the\nentire range. If true, the server must not allocate\n\n\n\naddresses out of the entire range, but may only allocate\naddresses out of a subrange learned via another method.\nCreating or deleting a scope which is not divisible has the\nside effect of creating or deleting the corresponding entry\nin the mallocAllocRangeTable. Deleting a scope which is\ndivisible has the side effect of deleting any corresponding\nentries in the mallocAllocRangeTable, and the\nmallocRequestTable.") mallocScopeServerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 8), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeServerAddressType.setDescription("The type of the address of a multicast address allocation\nserver to which a request may be sent.") mallocScopeServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 9), InetAddress().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeServerAddress.setDescription("The address of a multicast address allocation server to\nwhich a request may be sent. The default value is an zero-\nlength address, indicating that no server is known. The\ntype of this address is determined by the value of the\nmallocScopeServerAddressType object.") mallocScopeSSM = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 10), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeSSM.setDescription("Indicates whether the scope is a Source-Specific Multicast\n(SSM) range.") mallocScopeStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 2, 1, 11), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to\nany columnar objects in the row.") mallocScopeNameTable = MibTable((1, 3, 6, 1, 2, 1, 101, 1, 1, 3)) if mibBuilder.loadTexts: mallocScopeNameTable.setDescription("The (conceptual) table containing information on multicast\nscope names. Entries in this table may be dynamically\ndiscovered via some other protocol, such as MZAP, or may be\nstatically configured, such as in an isolated network\nenvironment.") mallocScopeNameEntry = MibTableRow((1, 3, 6, 1, 2, 1, 101, 1, 1, 3, 1)).setIndexNames((0, "MALLOC-MIB", "mallocScopeAddressType"), (0, "MALLOC-MIB", "mallocScopeFirstAddress"), (1, "MALLOC-MIB", "mallocScopeNameLangName")) if mibBuilder.loadTexts: mallocScopeNameEntry.setDescription("An entry (conceptual row) containing the information on a\nparticular multicast scope name.") mallocScopeNameLangName = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 3, 1, 1), LanguageTag().subtype(subtypeSpec=ValueSizeConstraint(1, 94))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mallocScopeNameLangName.setDescription("The RFC 3066 language tag for the language of the scope\nname.") mallocScopeNameScopeName = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 3, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeNameScopeName.setDescription("The textual name associated with the multicast scope. The\nvalue of this object should be suitable for displaying to\nend-users, such as when allocating a multicast address in\nthis scope. If the scope is an IPv4 scope, and no name is\nspecified, the default value of this object should be the\nstring 239.x.x.x/y with x and y replaced appropriately to\ndescribe the address and mask length associated with the\nscope. If the scope is an IPv6 scope, and no name is\nspecified, the default value of this object should\ngenerically describe the scope level (e.g., site).") mallocScopeNameDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 3, 1, 3), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeNameDefault.setDescription("If true, indicates a preference that the name in the\nassociated language should be used by applications if no\nname is available in a desired language.") mallocScopeNameStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeNameStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table. If write\naccess is supported, the other writable objects in this\ntable may be modified even while the status is `active'.") mallocScopeNameStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 3, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocScopeNameStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to\nany columnar objects in the row.") mallocAllocRangeTable = MibTable((1, 3, 6, 1, 2, 1, 101, 1, 1, 4)) if mibBuilder.loadTexts: mallocAllocRangeTable.setDescription("The (conceptual) table containing information on subranges\nof addresses from which the device may allocate addresses,\nif it is a MAAS. If the device is a Prefix Coordinator, any\nranges which the device is advertising to MAAS's will be in\nthis table. Note that the device may be both a MAAS and a\nPrefix Coordinator.\n\nAddress ranges for different rows must be disjoint, and must\nbe contained with the address range of the corresponding row\nof the mallocScopeTable.\n\nDeleting an allocation range has the side effect of deleting\nany entries within that range from the mallocAddressTable.") mallocAllocRangeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1)).setIndexNames((0, "MALLOC-MIB", "mallocScopeAddressType"), (0, "MALLOC-MIB", "mallocScopeFirstAddress"), (0, "MALLOC-MIB", "mallocAllocRangeFirstAddress")) if mibBuilder.loadTexts: mallocAllocRangeEntry.setDescription("An entry (conceptual row) containing the information on a\nparticular allocation range.") mallocAllocRangeFirstAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 1), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mallocAllocRangeFirstAddress.setDescription("The first address in the allocation range. The type of\nthis address is determined by the value of the\nmallocScopeAddressType object.") mallocAllocRangeLastAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocAllocRangeLastAddress.setDescription("The last address in the allocation range. The type of this\naddress is determined by the value of the\nmallocScopeAddressType object.") mallocAllocRangeStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocAllocRangeStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table. If write\naccess is supported, the other writable objects in this\ntable may be modified even while the status is `active'.") mallocAllocRangeSource = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 4), IANAmallocRangeSource()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAllocRangeSource.setDescription("The means by which this entry was learned.") mallocAllocRangeLifetime = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 5), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocAllocRangeLifetime.setDescription("The number of seconds remaining in the lifetime of the\n(sub)range out of which addresses are being allocated. A\nvalue of 0 indicates that the range is not subject to\naging.") mallocAllocRangeMaxLeaseAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 6), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocAllocRangeMaxLeaseAddrs.setDescription("The maximum number of addresses which the server is willing\nto grant for each future request in this range. A value of\n0 means that no specific limit is enforced, as long as the\nserver has valid addresses to allocate.") mallocAllocRangeMaxLeaseTime = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 7), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocAllocRangeMaxLeaseTime.setDescription("The maximum lifetime which the server will grant for future\nrequests in this range. A value of 0 means that no\nadditional limit is enforced beyond that of\nmallocAllocRangeLifetime.") mallocAllocRangeNumAllocatedAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAllocRangeNumAllocatedAddrs.setDescription("The number of addresses in the range which have been\nallocated. This value can be used to determine the current\naddress space utilization within the scoped range. This\n\n\n\nshould match the total number of addresses for this scope\ncovered by entries in the mallocAddressTable.") mallocAllocRangeNumOfferedAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAllocRangeNumOfferedAddrs.setDescription("The number of addresses in the range which have been\noffered. This number should match the sum of\nmallocRequestNumAddrs for all entries in the\nmallocRequestTable in the offered state. Together with\nmallocAllocRangeNumAllocatedAddrs and\nmallocAllocRangeNumTryingAddrs, this can be used to\ndetermine the address space utilization within the scoped\nrange in the immediate future.") mallocAllocRangeNumWaitingAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAllocRangeNumWaitingAddrs.setDescription("The number of addresses in the range which have been\nrequested, but whose state is waiting, while the server\nattempts to acquire more address space.") mallocAllocRangeNumTryingAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAllocRangeNumTryingAddrs.setDescription("The number of addresses in the scope covered by entries in\nthe mallocRequestTable in the trying state.") mallocAllocRangeAdvertisable = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 12), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocAllocRangeAdvertisable.setDescription("The value of this object is true if the range is eligible\nto be advertised to other MAASs. When the row is first\ncreated, the default value of this object is true if the\nscope is divisible, and is false otherwise.") mallocAllocRangeTotalAllocatedAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAllocRangeTotalAllocatedAddrs.setDescription("The approximate number of addresses in the range which have\nbeen allocated by any MAAS, as determined by a Prefix\nCoordinator. This object need only be present if\nmallocAllocRangeAdvertisable is true. If the number is\nunknown, a value of 0 may be reported.") mallocAllocRangeTotalRequestedAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAllocRangeTotalRequestedAddrs.setDescription("The approximate number of addresses in the range for which\nthere is potential demand among MAASs, as determined by a\nPrefix Coordinator. This object need only be present if\nmallocAllocRangeAdvertisable is true. If the number is\nunknown, a value of 0 may be reported.") mallocAllocRangeStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 4, 1, 15), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mallocAllocRangeStorage.setDescription("The storage type for this conceptual row. Conceptual rows\nhaving the value 'permanent' need not allow write-access to\nany columnar objects in the row.") mallocRequestTable = MibTable((1, 3, 6, 1, 2, 1, 101, 1, 1, 5)) if mibBuilder.loadTexts: mallocRequestTable.setDescription("The (conceptual) table containing information on allocation\nrequests, whether allocated or in progress. This table may\nalso be used to determine which clients are responsible for\nhigh address space utilization within a given scope.\n\n\n\nEntries in this table reflect requests dynamically received\nby an address allocation protocol.") mallocRequestEntry = MibTableRow((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1)).setIndexNames((0, "MALLOC-MIB", "mallocRequestId")) if mibBuilder.loadTexts: mallocRequestEntry.setDescription("An entry (conceptual row) containing the information on a\nparticular allocation request.") mallocRequestId = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mallocRequestId.setDescription("An arbitrary value identifying this row.") mallocRequestScopeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestScopeAddressType.setDescription("The type of the first address of the scope to which the\nrequest applies. Legal values correspond to the subset of\naddress families for which multicast address allocation is\nsupported.") mallocRequestScopeFirstAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestScopeFirstAddress.setDescription("The first address of the scope to which the request\napplies. This must match mallocScopeFirstAddress for some\nrow in the mallocScopeTable. The type of this address is\ndetermined by the value of the mallocRequestScopeAddressType\nobject.") mallocRequestStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestStartTime.setDescription("The number of seconds remaining before the start time of\nthe request. A value of 0 means that the allocation is\ncurrently in effect.") mallocRequestEndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestEndTime.setDescription("The number of seconds remaining before the end time of the\nrequest.") mallocRequestNumAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestNumAddrs.setDescription("The number of addresses requested. If the addresses have\nbeen allocated, this number should match the total number of\naddresses for this request covered by entries in the\nmallocAddressTable.") mallocRequestState = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("allocated", 1), ("offered", 2), ("waiting", 3), ("trying", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestState.setDescription("The state of the request. A value of allocated(1)\nindicates that one or more entries for this request are\npresent in the mallocAddressTable. A value of offered(2)\nindicates that addresses have been offered to the client\n(e.g. via a MADCAP OFFER message), but the allocation has\nnot been committed. A value of waiting(3) indicates that\nthe allocation is blocked while the server attempts to\nacquire more space from which it can allocate addresses. A\nvalue of trying(4) means that no addresses have been offered\nto the client, but that an attempt to allocate is in\nprogress.") mallocRequestClientAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 8), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestClientAddressType.setDescription("The type of the address of the client that (last) requested\nthis allocation.") mallocRequestClientAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 9), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestClientAddress.setDescription("The address of the client that (last) requested this\nallocation. The type of this address is determined by the\nvalue of the mallocRequestClientAddressType object.") mallocRequestServerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 10), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestServerAddressType.setDescription("The type of the address of the server to which the request\nwas (last) sent.") mallocRequestServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 11), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestServerAddress.setDescription("The address of the server to which the request was (last)\nsent. The type of this address is determined by the value\nof the mallocRequestServerAddressType object.") mallocRequestLeaseIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 5, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocRequestLeaseIdentifier.setDescription("The Lease Identifier of this request. If the allocation\nmechanism in use does not use Lease Identifiers, then the\nvalue is a 0-length string.") mallocAddressTable = MibTable((1, 3, 6, 1, 2, 1, 101, 1, 1, 6)) if mibBuilder.loadTexts: mallocAddressTable.setDescription("The (conceptual) table containing information on blocks of\nallocated addresses. This table may be used to map a given\nmulticast group address to the associated request.") mallocAddressEntry = MibTableRow((1, 3, 6, 1, 2, 1, 101, 1, 1, 6, 1)).setIndexNames((0, "MALLOC-MIB", "mallocAddressAddressType"), (0, "MALLOC-MIB", "mallocAddressFirstAddress")) if mibBuilder.loadTexts: mallocAddressEntry.setDescription("An entry (conceptual row) containing the information on a\nparticular block of allocated addresses. The block of\naddresses covered by each entry in this table must fall\nwithin a range corresponding to an entry in the\nmallocAllocRangeTable.") mallocAddressAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 6, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mallocAddressAddressType.setDescription("The type of the first address in the allocated block.\nLegal values correspond to the subset of address families\nfor which multicast address allocation is supported.") mallocAddressFirstAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 6, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mallocAddressFirstAddress.setDescription("The first address in the allocated block. The type of this\naddress is determined by the value of the\nmallocAddressAddressType object.") mallocAddressNumAddrs = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAddressNumAddrs.setDescription("The number of addresses in the allocated block.") mallocAddressRequestId = MibTableColumn((1, 3, 6, 1, 2, 1, 101, 1, 1, 6, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mallocAddressRequestId.setDescription("The index of the request which caused this block of\naddresses to be allocated. This value must match the value\nof mallocRequestId for some entry in the\nmallocRequestTable.") madcap = MibIdentifier((1, 3, 6, 1, 2, 1, 101, 1, 2)) madcapConfig = ObjectIdentity((1, 3, 6, 1, 2, 1, 101, 1, 2, 1)) if mibBuilder.loadTexts: madcapConfig.setDescription("Group of objects that count various MADCAP events.") madcapConfigExtraAllocationTime = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 1, 1), Unsigned32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: madcapConfigExtraAllocationTime.setDescription("The amount of extra time on either side of a lease which\nthe MADCAP server allocates to allow for clock skew among\nclients.") madcapConfigNoResponseDelay = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 1, 2), Unsigned32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: madcapConfigNoResponseDelay.setDescription("The amount of time the MADCAP client allows for receiving a\nresponse from a MADCAP server.") madcapConfigOfferHold = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: madcapConfigOfferHold.setDescription("The amount of time the MADCAP server will reserve an\naddress for after sending an OFFER message in anticipation\nof receiving a REQUEST message.") madcapConfigResponseCacheInterval = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 300))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: madcapConfigResponseCacheInterval.setDescription("The amount of time the MADCAP server uses to detect\nduplicate messages.") madcapConfigClockSkewAllowance = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: madcapConfigClockSkewAllowance.setDescription("The clock skew threshold used by the MADCAP server to\ngenerate Excessive Clock Skew errors.") madcapCounters = ObjectIdentity((1, 3, 6, 1, 2, 1, 101, 1, 2, 2)) if mibBuilder.loadTexts: madcapCounters.setDescription("A group of objects that count various MADCAP events.") madcapTotalErrors = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapTotalErrors.setDescription("The total number of transactions for which the MADCAP\nserver has detected an error of any type, regardless of\nwhether the server ignored the request or generated a NAK.") madcapRequestsDenied = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapRequestsDenied.setDescription("The number of valid requests for which the MADCAP server\ncould not complete an allocation, regardless of whether NAKs\nwere sent. This corresponds to the Valid Request Could Not\nBe Completed error code in MADCAP.") madcapInvalidRequests = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapInvalidRequests.setDescription("The number of invalid requests received by the MADCAP\nserver, regardless of whether NAKs were sent. This\ncorresponds to the Invalid Request error code in MADCAP.") madcapExcessiveClockSkews = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapExcessiveClockSkews.setDescription("The number of requests received by the MADCAP server with\nan excessive clock skew, regardless of whether NAKs were\nsent. This corresponds to the Excessive Clock Skew error\ncode in MADCAP.") madcapBadLeaseIds = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapBadLeaseIds.setDescription("The number of requests received by the MADCAP server with\nan unrecognized Lease Identifier, regardless of whether NAKs\nwere sent. This corresponds to the Lease Identifier Not\nRecognized error code in MADCAP.") madcapDiscovers = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapDiscovers.setDescription("The number of DISCOVER messages received by the MADCAP\nserver.") madcapInforms = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapInforms.setDescription("The number of INFORM messages received by the MADCAP\nserver.") madcapRequests = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapRequests.setDescription("The number of REQUEST messages received by the MADCAP\nserver.") madcapRenews = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapRenews.setDescription("The number of RENEW messages received by the MADCAP\nserver.") madcapReleases = MibScalar((1, 3, 6, 1, 2, 1, 101, 1, 2, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: madcapReleases.setDescription("The number of RELEASE messages received by the MADCAP\nserver.") mallocConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 101, 2)) mallocCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 101, 2, 1)) mallocGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 101, 2, 2)) # Augmentions # Groups mallocBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 101, 2, 2, 1)).setObjects(*(("MALLOC-MIB", "mallocRequestState"), ("MALLOC-MIB", "mallocRequestScopeFirstAddress"), ("MALLOC-MIB", "mallocAddressRequestId"), ("MALLOC-MIB", "mallocRequestScopeAddressType"), ("MALLOC-MIB", "mallocAddressNumAddrs"), ("MALLOC-MIB", "mallocRequestStartTime"), ("MALLOC-MIB", "mallocRequestNumAddrs"), ("MALLOC-MIB", "mallocCapabilities"), ("MALLOC-MIB", "mallocRequestEndTime"), ) ) if mibBuilder.loadTexts: mallocBasicGroup.setDescription("The basic collection of objects providing management of IP\nmulticast address allocation.") mallocServerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 101, 2, 2, 2)).setObjects(*(("MALLOC-MIB", "mallocAllocRangeMaxLeaseTime"), ("MALLOC-MIB", "mallocScopeHopLimit"), ("MALLOC-MIB", "mallocScopeStorage"), ("MALLOC-MIB", "mallocRequestClientAddressType"), ("MALLOC-MIB", "mallocAllocRangeStorage"), ("MALLOC-MIB", "mallocAllocRangeMaxLeaseAddrs"), ("MALLOC-MIB", "mallocScopeNameScopeName"), ("MALLOC-MIB", "mallocAllocRangeNumOfferedAddrs"), ("MALLOC-MIB", "mallocAllocRangeLifetime"), ("MALLOC-MIB", "mallocAllocRangeNumTryingAddrs"), ("MALLOC-MIB", "mallocAllocRangeNumAllocatedAddrs"), ("MALLOC-MIB", "mallocScopeNameDefault"), ("MALLOC-MIB", "mallocAllocRangeNumWaitingAddrs"), ("MALLOC-MIB", "mallocScopeNameStorage"), ("MALLOC-MIB", "mallocAllocRangeLastAddress"), ("MALLOC-MIB", "mallocAllocRangeStatus"), ("MALLOC-MIB", "mallocScopeSSM"), ("MALLOC-MIB", "mallocScopeStatus"), ("MALLOC-MIB", "mallocAllocRangeSource"), ("MALLOC-MIB", "mallocScopeNameStatus"), ("MALLOC-MIB", "mallocScopeDivisible"), ("MALLOC-MIB", "mallocScopeLastAddress"), ("MALLOC-MIB", "mallocRequestClientAddress"), ("MALLOC-MIB", "mallocScopeSource"), ) ) if mibBuilder.loadTexts: mallocServerGroup.setDescription("A collection of objects providing management of multicast\naddress allocation in servers.") mallocClientGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 101, 2, 2, 3)).setObjects(*(("MALLOC-MIB", "mallocRequestServerAddressType"), ("MALLOC-MIB", "mallocRequestServerAddress"), ) ) if mibBuilder.loadTexts: mallocClientGroup.setDescription("A collection of objects providing management of multicast\naddress allocation in clients.") madcapServerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 101, 2, 2, 4)).setObjects(*(("MALLOC-MIB", "madcapRenews"), ("MALLOC-MIB", "madcapTotalErrors"), ("MALLOC-MIB", "madcapExcessiveClockSkews"), ("MALLOC-MIB", "madcapRequestsDenied"), ("MALLOC-MIB", "madcapConfigOfferHold"), ("MALLOC-MIB", "madcapInvalidRequests"), ("MALLOC-MIB", "madcapDiscovers"), ("MALLOC-MIB", "madcapConfigExtraAllocationTime"), ("MALLOC-MIB", "madcapConfigClockSkewAllowance"), ("MALLOC-MIB", "madcapInforms"), ("MALLOC-MIB", "madcapRequests"), ("MALLOC-MIB", "madcapReleases"), ("MALLOC-MIB", "madcapConfigResponseCacheInterval"), ("MALLOC-MIB", "madcapBadLeaseIds"), ) ) if mibBuilder.loadTexts: madcapServerGroup.setDescription("A collection of objects providing management of MADCAP\nservers.") madcapClientGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 101, 2, 2, 5)).setObjects(*(("MALLOC-MIB", "mallocRequestLeaseIdentifier"), ("MALLOC-MIB", "madcapConfigNoResponseDelay"), ) ) if mibBuilder.loadTexts: madcapClientGroup.setDescription("A collection of objects providing management of MADCAP\nclients.") mallocClientScopeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 101, 2, 2, 6)).setObjects(*(("MALLOC-MIB", "mallocScopeStorage"), ("MALLOC-MIB", "mallocScopeHopLimit"), ("MALLOC-MIB", "mallocScopeSSM"), ("MALLOC-MIB", "mallocScopeNameScopeName"), ("MALLOC-MIB", "mallocScopeServerAddressType"), ("MALLOC-MIB", "mallocScopeNameStatus"), ("MALLOC-MIB", "mallocScopeLastAddress"), ("MALLOC-MIB", "mallocScopeNameDefault"), ("MALLOC-MIB", "mallocScopeServerAddress"), ("MALLOC-MIB", "mallocScopeNameStorage"), ("MALLOC-MIB", "mallocScopeStatus"), ("MALLOC-MIB", "mallocScopeSource"), ) ) if mibBuilder.loadTexts: mallocClientScopeGroup.setDescription("A collection of objects providing management of multicast\nscope information in clients.") mallocPrefixCoordinatorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 101, 2, 2, 7)).setObjects(*(("MALLOC-MIB", "mallocAllocRangeAdvertisable"), ("MALLOC-MIB", "mallocAllocRangeLastAddress"), ("MALLOC-MIB", "mallocAllocRangeStatus"), ("MALLOC-MIB", "mallocAllocRangeStorage"), ("MALLOC-MIB", "mallocAllocRangeLifetime"), ("MALLOC-MIB", "mallocAllocRangeSource"), ("MALLOC-MIB", "mallocScopeDivisible"), ("MALLOC-MIB", "mallocScopeLastAddress"), ("MALLOC-MIB", "mallocAllocRangeTotalAllocatedAddrs"), ("MALLOC-MIB", "mallocAllocRangeTotalRequestedAddrs"), ("MALLOC-MIB", "mallocScopeSource"), ) ) if mibBuilder.loadTexts: mallocPrefixCoordinatorGroup.setDescription("A collection of objects for managing Prefix Coordinators.") # Compliances mallocServerReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 101, 2, 1, 1)).setObjects(*(("MALLOC-MIB", "mallocServerGroup"), ("MALLOC-MIB", "madcapServerGroup"), ("MALLOC-MIB", "mallocBasicGroup"), ) ) if mibBuilder.loadTexts: mallocServerReadOnlyCompliance.setDescription("The compliance statement for multicast address allocation\nservers implementing the MALLOC MIB without support for\nread-create (i.e., in read-only mode). Such a server can\nthen be monitored but can not be configured with this MIB.") mallocClientReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 101, 2, 1, 2)).setObjects(*(("MALLOC-MIB", "madcapClientGroup"), ("MALLOC-MIB", "mallocClientGroup"), ("MALLOC-MIB", "mallocClientScopeGroup"), ("MALLOC-MIB", "mallocBasicGroup"), ) ) if mibBuilder.loadTexts: mallocClientReadOnlyCompliance.setDescription("The compliance statement for clients implementing the\nMALLOC MIB without support for read-create (i.e., in read-\nonly mode). Such clients can then be monitored but can not\nbe configured with this MIB.") mallocPrefixCoordinatorReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 101, 2, 1, 3)).setObjects(*(("MALLOC-MIB", "mallocPrefixCoordinatorGroup"), ("MALLOC-MIB", "mallocBasicGroup"), ) ) if mibBuilder.loadTexts: mallocPrefixCoordinatorReadOnlyCompliance.setDescription("The compliance statement for prefix coordinators\nimplementing the MALLOC MIB without support for read-create\n(i.e., in read-only mode). Such devices can then be\nmonitored but can not be configured with this MIB.") mallocServerFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 101, 2, 1, 4)).setObjects(*(("MALLOC-MIB", "mallocServerGroup"), ("MALLOC-MIB", "madcapServerGroup"), ("MALLOC-MIB", "mallocBasicGroup"), ) ) if mibBuilder.loadTexts: mallocServerFullCompliance.setDescription("The compliance statement for multicast address allocation\nservers implementing the MALLOC MIB with support for read-\ncreate. Such servers can then be both monitored and\nconfigured with this MIB.") mallocClientFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 101, 2, 1, 5)).setObjects(*(("MALLOC-MIB", "madcapClientGroup"), ("MALLOC-MIB", "mallocClientGroup"), ("MALLOC-MIB", "mallocClientScopeGroup"), ("MALLOC-MIB", "mallocBasicGroup"), ) ) if mibBuilder.loadTexts: mallocClientFullCompliance.setDescription("The compliance statement for hosts implementing the MALLOC\nMIB with support for read-create. Such clients can then be\nboth monitored and configured with this MIB.") mallocPrefixCoordinatorFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 101, 2, 1, 6)).setObjects(*(("MALLOC-MIB", "mallocPrefixCoordinatorGroup"), ("MALLOC-MIB", "mallocBasicGroup"), ) ) if mibBuilder.loadTexts: mallocPrefixCoordinatorFullCompliance.setDescription("The compliance statement for prefix coordinators\nimplementing the MALLOC MIB with support for read-create.\nSuch devices can then be both monitored and configured with\nthis MIB.") # Exports # Module identity mibBuilder.exportSymbols("MALLOC-MIB", PYSNMP_MODULE_ID=mallocMIB) # Objects mibBuilder.exportSymbols("MALLOC-MIB", mallocMIB=mallocMIB, mallocMIBObjects=mallocMIBObjects, malloc=malloc, mallocCapabilities=mallocCapabilities, mallocScopeTable=mallocScopeTable, mallocScopeEntry=mallocScopeEntry, mallocScopeAddressType=mallocScopeAddressType, mallocScopeFirstAddress=mallocScopeFirstAddress, mallocScopeLastAddress=mallocScopeLastAddress, mallocScopeHopLimit=mallocScopeHopLimit, mallocScopeStatus=mallocScopeStatus, mallocScopeSource=mallocScopeSource, mallocScopeDivisible=mallocScopeDivisible, mallocScopeServerAddressType=mallocScopeServerAddressType, mallocScopeServerAddress=mallocScopeServerAddress, mallocScopeSSM=mallocScopeSSM, mallocScopeStorage=mallocScopeStorage, mallocScopeNameTable=mallocScopeNameTable, mallocScopeNameEntry=mallocScopeNameEntry, mallocScopeNameLangName=mallocScopeNameLangName, mallocScopeNameScopeName=mallocScopeNameScopeName, mallocScopeNameDefault=mallocScopeNameDefault, mallocScopeNameStatus=mallocScopeNameStatus, mallocScopeNameStorage=mallocScopeNameStorage, mallocAllocRangeTable=mallocAllocRangeTable, mallocAllocRangeEntry=mallocAllocRangeEntry, mallocAllocRangeFirstAddress=mallocAllocRangeFirstAddress, mallocAllocRangeLastAddress=mallocAllocRangeLastAddress, mallocAllocRangeStatus=mallocAllocRangeStatus, mallocAllocRangeSource=mallocAllocRangeSource, mallocAllocRangeLifetime=mallocAllocRangeLifetime, mallocAllocRangeMaxLeaseAddrs=mallocAllocRangeMaxLeaseAddrs, mallocAllocRangeMaxLeaseTime=mallocAllocRangeMaxLeaseTime, mallocAllocRangeNumAllocatedAddrs=mallocAllocRangeNumAllocatedAddrs, mallocAllocRangeNumOfferedAddrs=mallocAllocRangeNumOfferedAddrs, mallocAllocRangeNumWaitingAddrs=mallocAllocRangeNumWaitingAddrs, mallocAllocRangeNumTryingAddrs=mallocAllocRangeNumTryingAddrs, mallocAllocRangeAdvertisable=mallocAllocRangeAdvertisable, mallocAllocRangeTotalAllocatedAddrs=mallocAllocRangeTotalAllocatedAddrs, mallocAllocRangeTotalRequestedAddrs=mallocAllocRangeTotalRequestedAddrs, mallocAllocRangeStorage=mallocAllocRangeStorage, mallocRequestTable=mallocRequestTable, mallocRequestEntry=mallocRequestEntry, mallocRequestId=mallocRequestId, mallocRequestScopeAddressType=mallocRequestScopeAddressType, mallocRequestScopeFirstAddress=mallocRequestScopeFirstAddress, mallocRequestStartTime=mallocRequestStartTime, mallocRequestEndTime=mallocRequestEndTime, mallocRequestNumAddrs=mallocRequestNumAddrs, mallocRequestState=mallocRequestState, mallocRequestClientAddressType=mallocRequestClientAddressType, mallocRequestClientAddress=mallocRequestClientAddress, mallocRequestServerAddressType=mallocRequestServerAddressType, mallocRequestServerAddress=mallocRequestServerAddress, mallocRequestLeaseIdentifier=mallocRequestLeaseIdentifier, mallocAddressTable=mallocAddressTable, mallocAddressEntry=mallocAddressEntry, mallocAddressAddressType=mallocAddressAddressType, mallocAddressFirstAddress=mallocAddressFirstAddress, mallocAddressNumAddrs=mallocAddressNumAddrs, mallocAddressRequestId=mallocAddressRequestId, madcap=madcap, madcapConfig=madcapConfig, madcapConfigExtraAllocationTime=madcapConfigExtraAllocationTime, madcapConfigNoResponseDelay=madcapConfigNoResponseDelay, madcapConfigOfferHold=madcapConfigOfferHold, madcapConfigResponseCacheInterval=madcapConfigResponseCacheInterval, madcapConfigClockSkewAllowance=madcapConfigClockSkewAllowance, madcapCounters=madcapCounters, madcapTotalErrors=madcapTotalErrors, madcapRequestsDenied=madcapRequestsDenied, madcapInvalidRequests=madcapInvalidRequests, madcapExcessiveClockSkews=madcapExcessiveClockSkews, madcapBadLeaseIds=madcapBadLeaseIds, madcapDiscovers=madcapDiscovers, madcapInforms=madcapInforms, madcapRequests=madcapRequests, madcapRenews=madcapRenews, madcapReleases=madcapReleases, mallocConformance=mallocConformance, mallocCompliances=mallocCompliances, mallocGroups=mallocGroups) # Groups mibBuilder.exportSymbols("MALLOC-MIB", mallocBasicGroup=mallocBasicGroup, mallocServerGroup=mallocServerGroup, mallocClientGroup=mallocClientGroup, madcapServerGroup=madcapServerGroup, madcapClientGroup=madcapClientGroup, mallocClientScopeGroup=mallocClientScopeGroup, mallocPrefixCoordinatorGroup=mallocPrefixCoordinatorGroup) # Compliances mibBuilder.exportSymbols("MALLOC-MIB", mallocServerReadOnlyCompliance=mallocServerReadOnlyCompliance, mallocClientReadOnlyCompliance=mallocClientReadOnlyCompliance, mallocPrefixCoordinatorReadOnlyCompliance=mallocPrefixCoordinatorReadOnlyCompliance, mallocServerFullCompliance=mallocServerFullCompliance, mallocClientFullCompliance=mallocClientFullCompliance, mallocPrefixCoordinatorFullCompliance=mallocPrefixCoordinatorFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/TUNNEL-MIB.py0000644000014400001440000005721111736645141020444 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TUNNEL-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAtunnelType, ) = mibBuilder.importSymbols("IANAifType-MIB", "IANAtunnelType") ( InterfaceIndexOrZero, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( IPv6FlowLabelOrAny, ) = mibBuilder.importSymbols("IPV6-FLOW-LABEL-MIB", "IPv6FlowLabelOrAny") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType") # Objects tunnelMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 131)).setRevisions(("2005-05-16 00:00","1999-08-24 12:00",)) if mibBuilder.loadTexts: tunnelMIB.setOrganization("IETF IP Version 6 (IPv6) Working Group") if mibBuilder.loadTexts: tunnelMIB.setContactInfo(" Dave Thaler\nMicrosoft Corporation\nOne Microsoft Way\nRedmond, WA 98052-6399\nEMail: dthaler@microsoft.com") if mibBuilder.loadTexts: tunnelMIB.setDescription("The MIB module for management of IP Tunnels,\nindependent of the specific encapsulation scheme in\nuse.\n\nCopyright (C) The Internet Society (2005). This\nversion of this MIB module is part of RFC 4087; see\nthe RFC itself for full legal notices.") tunnelMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 131, 1)) tunnel = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 131, 1, 1)) tunnelIfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1)) if mibBuilder.loadTexts: tunnelIfTable.setDescription("The (conceptual) table containing information on\nconfigured tunnels.") tunnelIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: tunnelIfEntry.setDescription("An entry (conceptual row) containing the information\non a particular configured tunnel.") tunnelIfLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tunnelIfLocalAddress.setDescription("The address of the local endpoint of the tunnel\n(i.e., the source address used in the outer IP\nheader), or 0.0.0.0 if unknown or if the tunnel is\nover IPv6.\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelIfLocalInetAddress.") tunnelIfRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tunnelIfRemoteAddress.setDescription("The address of the remote endpoint of the tunnel\n(i.e., the destination address used in the outer IP\nheader), or 0.0.0.0 if unknown, or an IPv6 address, or\n\n\n\nthe tunnel is not a point-to-point link (e.g., if it\nis a 6to4 tunnel).\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelIfRemoteInetAddress.") tunnelIfEncapsMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 3), IANAtunnelType()).setMaxAccess("readonly") if mibBuilder.loadTexts: tunnelIfEncapsMethod.setDescription("The encapsulation method used by the tunnel.") tunnelIfHopLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tunnelIfHopLimit.setDescription("The IPv4 TTL or IPv6 Hop Limit to use in the outer IP\nheader. A value of 0 indicates that the value is\ncopied from the payload's header.") tunnelIfSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("ipsec", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tunnelIfSecurity.setDescription("The method used by the tunnel to secure the outer IP\nheader. The value ipsec indicates that IPsec is used\nbetween the tunnel endpoints for authentication or\nencryption or both. More specific security-related\ninformation may be available in a MIB module for the\nsecurity protocol in use.") tunnelIfTOS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tunnelIfTOS.setDescription("The method used to set the high 6 bits (the\n\n\n\ndifferentiated services codepoint) of the IPv4 TOS or\nIPv6 Traffic Class in the outer IP header. A value of\n-1 indicates that the bits are copied from the\npayload's header. A value of -2 indicates that a\ntraffic conditioner is invoked and more information\nmay be available in a traffic conditioner MIB module.\nA value between 0 and 63 inclusive indicates that the\nbit field is set to the indicated value.\n\nNote: instead of the name tunnelIfTOS, a better name\nwould have been tunnelIfDSCPMethod, but the existing\nname appeared in RFC 2667 and existing objects cannot\nbe renamed.") tunnelIfFlowLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 7), IPv6FlowLabelOrAny()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tunnelIfFlowLabel.setDescription("The method used to set the IPv6 Flow Label value.\nThis object need not be present in rows where\ntunnelIfAddressType indicates the tunnel is not over\nIPv6. A value of -1 indicates that a traffic\nconditioner is invoked and more information may be\navailable in a traffic conditioner MIB. Any other\nvalue indicates that the Flow Label field is set to\nthe indicated value.") tunnelIfAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 8), InetAddressType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tunnelIfAddressType.setDescription("The type of address in the corresponding\ntunnelIfLocalInetAddress and tunnelIfRemoteInetAddress\nobjects.") tunnelIfLocalInetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 9), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tunnelIfLocalInetAddress.setDescription("The address of the local endpoint of the tunnel\n(i.e., the source address used in the outer IP\nheader). If the address is unknown, the value is\n\n\n\n0.0.0.0 for IPv4 or :: for IPv6. The type of this\nobject is given by tunnelIfAddressType.") tunnelIfRemoteInetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 10), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tunnelIfRemoteInetAddress.setDescription("The address of the remote endpoint of the tunnel\n(i.e., the destination address used in the outer IP\nheader). If the address is unknown or the tunnel is\nnot a point-to-point link (e.g., if it is a 6to4\ntunnel), the value is 0.0.0.0 for tunnels over IPv4 or\n:: for tunnels over IPv6. The type of this object is\ngiven by tunnelIfAddressType.") tunnelIfEncapsLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tunnelIfEncapsLimit.setDescription("The maximum number of additional encapsulations\npermitted for packets undergoing encapsulation at this\nnode. A value of -1 indicates that no limit is\npresent (except as a result of the packet size).") tunnelConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2)) if mibBuilder.loadTexts: tunnelConfigTable.setDescription("The (conceptual) table containing information on\nconfigured tunnels. This table can be used to map a\nset of tunnel endpoints to the associated ifIndex\nvalue. It can also be used for row creation. Note\nthat every row in the tunnelIfTable with a fixed IPv4\ndestination address should have a corresponding row in\nthe tunnelConfigTable, regardless of whether it was\ncreated via SNMP.\n\nSince this table does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigTable.") tunnelConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2, 1)).setIndexNames((0, "TUNNEL-MIB", "tunnelConfigLocalAddress"), (0, "TUNNEL-MIB", "tunnelConfigRemoteAddress"), (0, "TUNNEL-MIB", "tunnelConfigEncapsMethod"), (0, "TUNNEL-MIB", "tunnelConfigID")) if mibBuilder.loadTexts: tunnelConfigEntry.setDescription("An entry (conceptual row) containing the information\non a particular configured tunnel.\n\nSince this entry does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigEntry.") tunnelConfigLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelConfigLocalAddress.setDescription("The address of the local endpoint of the tunnel, or\n0.0.0.0 if the device is free to choose any of its\naddresses at tunnel establishment time.\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigLocalAddress.") tunnelConfigRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelConfigRemoteAddress.setDescription("The address of the remote endpoint of the tunnel.\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigRemoteAddress.") tunnelConfigEncapsMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2, 1, 3), IANAtunnelType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelConfigEncapsMethod.setDescription("The encapsulation method used by the tunnel.\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigEncapsMethod.") tunnelConfigID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelConfigID.setDescription("An identifier used to distinguish between multiple\ntunnels of the same encapsulation method, with the\nsame endpoints. If the encapsulation protocol only\nallows one tunnel per set of endpoint addresses (such\nas for GRE or IP-in-IP), the value of this object is\n1. For encapsulation methods (such as L2F) which\nallow multiple parallel tunnels, the manager is\nresponsible for choosing any ID which does not\nconflict with an existing row, such as choosing a\nrandom number.\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigID.") tunnelConfigIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2, 1, 5), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: tunnelConfigIfIndex.setDescription("If the value of tunnelConfigStatus for this row is\nactive, then this object contains the value of ifIndex\ncorresponding to the tunnel interface. A value of 0\nis not legal in the active state, and means that the\ninterface index has not yet been assigned.\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigIfIndex.") tunnelConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tunnelConfigStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table. The\nagent need not support setting this object to\ncreateAndWait or notInService since there are no other\nwritable objects in this table, and writable objects\nin rows of corresponding tables such as the\ntunnelIfTable may be modified while this row is\nactive.\n\nTo create a row in this table for an encapsulation\nmethod which does not support multiple parallel\ntunnels with the same endpoints, the management\nstation should simply use a tunnelConfigID of 1, and\nset tunnelConfigStatus to createAndGo. For\nencapsulation methods such as L2F which allow multiple\nparallel tunnels, the management station may select a\npseudo-random number to use as the tunnelConfigID and\nset tunnelConfigStatus to createAndGo. In the event\nthat this ID is already in use and an\ninconsistentValue is returned in response to the set\noperation, the management station should simply select\na new pseudo-random number and retry the operation.\n\nCreating a row in this table will cause an interface\nindex to be assigned by the agent in an\nimplementation-dependent manner, and corresponding\nrows will be instantiated in the ifTable and the\ntunnelIfTable. The status of this row will become\nactive as soon as the agent assigns the interface\nindex, regardless of whether the interface is\noperationally up.\n\nDeleting a row in this table will likewise delete the\ncorresponding row in the ifTable and in the\ntunnelIfTable.\n\nSince this object does not support IPv6, it is\ndeprecated in favor of tunnelInetConfigStatus.") tunnelInetConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3)) if mibBuilder.loadTexts: tunnelInetConfigTable.setDescription("The (conceptual) table containing information on\nconfigured tunnels. This table can be used to map a\nset of tunnel endpoints to the associated ifIndex\nvalue. It can also be used for row creation. Note\nthat every row in the tunnelIfTable with a fixed\ndestination address should have a corresponding row in\nthe tunnelInetConfigTable, regardless of whether it\nwas created via SNMP.") tunnelInetConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1)).setIndexNames((0, "TUNNEL-MIB", "tunnelInetConfigAddressType"), (0, "TUNNEL-MIB", "tunnelInetConfigLocalAddress"), (0, "TUNNEL-MIB", "tunnelInetConfigRemoteAddress"), (0, "TUNNEL-MIB", "tunnelInetConfigEncapsMethod"), (0, "TUNNEL-MIB", "tunnelInetConfigID")) if mibBuilder.loadTexts: tunnelInetConfigEntry.setDescription("An entry (conceptual row) containing the information\non a particular configured tunnel. Note that there is\na 128 subid maximum for object OIDs. Implementers\nneed to be aware that if the total number of octets in\ntunnelInetConfigLocalAddress and\ntunnelInetConfigRemoteAddress exceeds 110 then OIDs of\ncolumn instances in this table will have more than 128\nsub-identifiers and cannot be accessed using SNMPv1,\nSNMPv2c, or SNMPv3. In practice this is not expected\nto be a problem since IPv4 and IPv6 addresses will not\ncause the limit to be reached, but if other types are\nsupported by an agent, care must be taken to ensure\nthat the sum of the lengths do not cause the limit to\nbe exceeded.") tunnelInetConfigAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelInetConfigAddressType.setDescription("The address type over which the tunnel encapsulates\npackets.") tunnelInetConfigLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelInetConfigLocalAddress.setDescription("The address of the local endpoint of the tunnel, or\n0.0.0.0 (for IPv4) or :: (for IPv6) if the device is\nfree to choose any of its addresses at tunnel\nestablishment time.") tunnelInetConfigRemoteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 3), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelInetConfigRemoteAddress.setDescription("The address of the remote endpoint of the tunnel.") tunnelInetConfigEncapsMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 4), IANAtunnelType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelInetConfigEncapsMethod.setDescription("The encapsulation method used by the tunnel.") tunnelInetConfigID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tunnelInetConfigID.setDescription("An identifier used to distinguish between multiple\ntunnels of the same encapsulation method, with the\nsame endpoints. If the encapsulation protocol only\nallows one tunnel per set of endpoint addresses (such\nas for GRE or IP-in-IP), the value of this object is\n1. For encapsulation methods (such as L2F) which\nallow multiple parallel tunnels, the manager is\nresponsible for choosing any ID which does not\n\n\n\nconflict with an existing row, such as choosing a\nrandom number.") tunnelInetConfigIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 6), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: tunnelInetConfigIfIndex.setDescription("If the value of tunnelInetConfigStatus for this row\nis active, then this object contains the value of\nifIndex corresponding to the tunnel interface. A\nvalue of 0 is not legal in the active state, and means\nthat the interface index has not yet been assigned.") tunnelInetConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tunnelInetConfigStatus.setDescription("The status of this row, by which new entries may be\ncreated, or old entries deleted from this table. The\nagent need not support setting this object to\ncreateAndWait or notInService since there are no other\nwritable objects in this table, and writable objects\nin rows of corresponding tables such as the\ntunnelIfTable may be modified while this row is\nactive.\n\nTo create a row in this table for an encapsulation\nmethod which does not support multiple parallel\ntunnels with the same endpoints, the management\nstation should simply use a tunnelInetConfigID of 1,\nand set tunnelInetConfigStatus to createAndGo. For\nencapsulation methods such as L2F which allow multiple\nparallel tunnels, the management station may select a\npseudo-random number to use as the tunnelInetConfigID\nand set tunnelInetConfigStatus to createAndGo. In the\nevent that this ID is already in use and an\ninconsistentValue is returned in response to the set\noperation, the management station should simply select\na new pseudo-random number and retry the operation.\n\nCreating a row in this table will cause an interface\nindex to be assigned by the agent in an\nimplementation-dependent manner, and corresponding\nrows will be instantiated in the ifTable and the\n\n\n\ntunnelIfTable. The status of this row will become\nactive as soon as the agent assigns the interface\nindex, regardless of whether the interface is\noperationally up.\n\nDeleting a row in this table will likewise delete the\ncorresponding row in the ifTable and in the\ntunnelIfTable.") tunnelInetConfigStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 131, 1, 1, 3, 1, 8), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tunnelInetConfigStorageType.setDescription("The storage type of this row. If the row is\npermanent(4), no objects in the row need be writable.") tunnelMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 131, 2)) tunnelMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 131, 2, 1)) tunnelMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 131, 2, 2)) # Augmentions # Groups tunnelMIBBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 131, 2, 2, 1)).setObjects(*(("TUNNEL-MIB", "tunnelConfigIfIndex"), ("TUNNEL-MIB", "tunnelIfHopLimit"), ("TUNNEL-MIB", "tunnelIfEncapsMethod"), ("TUNNEL-MIB", "tunnelIfLocalAddress"), ("TUNNEL-MIB", "tunnelIfRemoteAddress"), ("TUNNEL-MIB", "tunnelIfSecurity"), ("TUNNEL-MIB", "tunnelConfigStatus"), ("TUNNEL-MIB", "tunnelIfTOS"), ) ) if mibBuilder.loadTexts: tunnelMIBBasicGroup.setDescription("A collection of objects to support basic management\n\n\n\nof IPv4 Tunnels. Since this group cannot support\nIPv6, it is deprecated in favor of\ntunnelMIBInetGroup.") tunnelMIBInetGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 131, 2, 2, 2)).setObjects(*(("TUNNEL-MIB", "tunnelIfRemoteInetAddress"), ("TUNNEL-MIB", "tunnelInetConfigStorageType"), ("TUNNEL-MIB", "tunnelIfFlowLabel"), ("TUNNEL-MIB", "tunnelIfEncapsLimit"), ("TUNNEL-MIB", "tunnelIfEncapsMethod"), ("TUNNEL-MIB", "tunnelIfTOS"), ("TUNNEL-MIB", "tunnelIfAddressType"), ("TUNNEL-MIB", "tunnelIfSecurity"), ("TUNNEL-MIB", "tunnelInetConfigStatus"), ("TUNNEL-MIB", "tunnelIfHopLimit"), ("TUNNEL-MIB", "tunnelInetConfigIfIndex"), ("TUNNEL-MIB", "tunnelIfLocalInetAddress"), ) ) if mibBuilder.loadTexts: tunnelMIBInetGroup.setDescription("A collection of objects to support basic management\nof IPv4 and IPv6 Tunnels.") # Compliances tunnelMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 131, 2, 1, 1)).setObjects(*(("TUNNEL-MIB", "tunnelMIBBasicGroup"), ) ) if mibBuilder.loadTexts: tunnelMIBCompliance.setDescription("The (deprecated) IPv4-only compliance statement for\nthe IP Tunnel MIB.\n\nThis is deprecated in favor of\ntunnelMIBInetFullCompliance and\ntunnelMIBInetReadOnlyCompliance.") tunnelMIBInetFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 131, 2, 1, 2)).setObjects(*(("TUNNEL-MIB", "tunnelMIBInetGroup"), ) ) if mibBuilder.loadTexts: tunnelMIBInetFullCompliance.setDescription("The full compliance statement for the IP Tunnel MIB.") tunnelMIBInetReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 131, 2, 1, 3)).setObjects(*(("TUNNEL-MIB", "tunnelMIBInetGroup"), ) ) if mibBuilder.loadTexts: tunnelMIBInetReadOnlyCompliance.setDescription("The read-only compliance statement for the IP Tunnel\nMIB.") # Exports # Module identity mibBuilder.exportSymbols("TUNNEL-MIB", PYSNMP_MODULE_ID=tunnelMIB) # Objects mibBuilder.exportSymbols("TUNNEL-MIB", tunnelMIB=tunnelMIB, tunnelMIBObjects=tunnelMIBObjects, tunnel=tunnel, tunnelIfTable=tunnelIfTable, tunnelIfEntry=tunnelIfEntry, tunnelIfLocalAddress=tunnelIfLocalAddress, tunnelIfRemoteAddress=tunnelIfRemoteAddress, tunnelIfEncapsMethod=tunnelIfEncapsMethod, tunnelIfHopLimit=tunnelIfHopLimit, tunnelIfSecurity=tunnelIfSecurity, tunnelIfTOS=tunnelIfTOS, tunnelIfFlowLabel=tunnelIfFlowLabel, tunnelIfAddressType=tunnelIfAddressType, tunnelIfLocalInetAddress=tunnelIfLocalInetAddress, tunnelIfRemoteInetAddress=tunnelIfRemoteInetAddress, tunnelIfEncapsLimit=tunnelIfEncapsLimit, tunnelConfigTable=tunnelConfigTable, tunnelConfigEntry=tunnelConfigEntry, tunnelConfigLocalAddress=tunnelConfigLocalAddress, tunnelConfigRemoteAddress=tunnelConfigRemoteAddress, tunnelConfigEncapsMethod=tunnelConfigEncapsMethod, tunnelConfigID=tunnelConfigID, tunnelConfigIfIndex=tunnelConfigIfIndex, tunnelConfigStatus=tunnelConfigStatus, tunnelInetConfigTable=tunnelInetConfigTable, tunnelInetConfigEntry=tunnelInetConfigEntry, tunnelInetConfigAddressType=tunnelInetConfigAddressType, tunnelInetConfigLocalAddress=tunnelInetConfigLocalAddress, tunnelInetConfigRemoteAddress=tunnelInetConfigRemoteAddress, tunnelInetConfigEncapsMethod=tunnelInetConfigEncapsMethod, tunnelInetConfigID=tunnelInetConfigID, tunnelInetConfigIfIndex=tunnelInetConfigIfIndex, tunnelInetConfigStatus=tunnelInetConfigStatus, tunnelInetConfigStorageType=tunnelInetConfigStorageType, tunnelMIBConformance=tunnelMIBConformance, tunnelMIBCompliances=tunnelMIBCompliances, tunnelMIBGroups=tunnelMIBGroups) # Groups mibBuilder.exportSymbols("TUNNEL-MIB", tunnelMIBBasicGroup=tunnelMIBBasicGroup, tunnelMIBInetGroup=tunnelMIBInetGroup) # Compliances mibBuilder.exportSymbols("TUNNEL-MIB", tunnelMIBCompliance=tunnelMIBCompliance, tunnelMIBInetFullCompliance=tunnelMIBInetFullCompliance, tunnelMIBInetReadOnlyCompliance=tunnelMIBInetReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-FTN-STD-MIB.py0000644000014400001440000007101611736645137021273 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-FTN-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:18 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Dscp, ) = mibBuilder.importSymbols("DIFFSERV-DSCP-TC", "Dscp") ( InterfaceIndexOrZero, ifCounterDiscontinuityGroup, ifGeneralInformationGroup, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifCounterDiscontinuityGroup", "ifGeneralInformationGroup") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowPointer, RowStatus, StorageType, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "RowStatus", "StorageType", "TextualConvention", "TimeStamp") # Types class MplsFTNEntryIndex(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class MplsFTNEntryIndexOrZero(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) # Objects mplsFTNStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 8)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsFTNStdMIB.setOrganization("Multiprotocol Label Switching (MPLS) Working Group") if mibBuilder.loadTexts: mplsFTNStdMIB.setContactInfo("\nThomas D. Nadeau\nPostal: Cisco Systems, Inc.\n250 Apollo Drive\nChelmsford, MA 01824\nTel: +1-978-244-3051\nEmail: tnadeau@cisco.com\n\nCheenu Srinivasan\nPostal: Bloomberg L.P.\n499 Park Avenue\nNew York, NY 10022\nTel: +1-212-893-3682\nEmail: cheenu@bloomberg.net\n\nArun Viswanathan\nPostal: Force10 Networks, Inc.\n1440 McCarthy Blvd\nMilpitas, CA 95035\nTel: +1-408-571-3516\nEmail: arunv@force10networks.com\n\nIETF MPLS Working Group email: mpls@uu.net") if mibBuilder.loadTexts: mplsFTNStdMIB.setDescription("Copyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3814. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html\n\nThis MIB module contains managed object definitions for\nspecifying FEC to NHLFE (FTN) mappings and corresponding\nperformance for MPLS.") mplsFTNNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 8, 0)) mplsFTNObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 8, 1)) mplsFTNIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 1), MplsFTNEntryIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFTNIndexNext.setDescription("This object contains the next available valid value to\nbe used for mplsFTNIndex when creating entries in the\nmplsFTNTable.\n\nWhen creating a new conceptual row (configuration\nentry) in mplsFTNTable with an SNMP SET operation the\ncommand generator (Network Management Application) must\nfirst issue a management protocol retrieval operation\nto obtain the current value of this object.\n\nIf the command responder (agent) does not wish to allow\ncreation of more entries in mplsFTNTable, possibly\nbecause of resource exhaustion, this object MUST return\na value of 0.\n\nIf a non-zero value is returned the Network Management\n\n\n\nApplication must determine whether the value is indeed\nstill unused since two Network Management Applications\nmay attempt to create a row simultaneously and use the\nsame value.\n\nIf it is currently unused and the SET succeeds, the\nagent MUST change the value of this object to a\ncurrently unused non-zero value (according to an\nimplementation specific algorithm) or zero (if no\nfurther row creation will be permitted).\n\nIf the value is in use, however, the SET fails and the\nNetwork Management Application must then reread this\nobject to obtain a new usable value.") mplsFTNTableLastChanged = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFTNTableLastChanged.setDescription("Indicates the last time an entry was added, deleted or\nmodified in mplsFTNTable. Management stations should\nconsult this object to determine if mplsFTNTable\nrequires their attention. This object is particularly\nuseful for applications performing a retrieval on\nmplsFTNTable to ensure that the table is not modified\nduring the retrieval operation.") mplsFTNTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3)) if mibBuilder.loadTexts: mplsFTNTable.setDescription("This table contains the currently defined FTN entries.\nThis table allows FEC to NHLFE mappings to be\nspecified. Each entry in this table defines a rule to\nbe applied to incoming packets (on interfaces that the\nFTN entry is activated on using mplsFTNMapTable) and an\naction to be taken on matching packets\n(mplsFTNActionPointer).\n\nThis table supports 6-tuple matching rules based on one\nor more of source address range, destination address\nrange, source port range, destination port range, IPv4\n\n\n\nProtocol field or IPv6 next-header field and the\nDiffServ Code Point (DSCP) to be specified.\n\nThe action pointer points either to instance of\nmplsXCEntry in MPLS-LSR-STD-MIB when the NHLFE is a non-\nTE LSP, or to an instance of mplsTunnelEntry in the\nMPLS-TE-STD-MIB when the NHLFE is an originating TE\ntunnel.") mplsFTNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1)).setIndexNames((0, "MPLS-FTN-STD-MIB", "mplsFTNIndex")) if mibBuilder.loadTexts: mplsFTNEntry.setDescription("Each entry represents one FTN entry which defines a\nrule to compare incoming packets with and an action to\nbe taken on matching packets.") mplsFTNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 1), MplsFTNEntryIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsFTNIndex.setDescription("This is the unique index for a conceptual row in\nmplsFTNTable.\n\nTo create a new conceptual row in mplsFTNTable a\nNetwork Management Application SHOULD retrieve the\ncurrent value of mplsFTNIndexNext to determine the next\nvalid available value of mplsFTNIndex.") mplsFTNRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNRowStatus.setDescription("Used for controlling the creation and deletion of this\nrow. All writeable objects in this row may be modified\nat any time. If a Network Management Application\nattempts to delete a conceptual row by setting this\nobject to 'destroy' and there are one or more entries\nin mplsFTNMapTable pointing to the row (i.e., when\nmplsFTNIndex of the conceptual row being deleted is\nequal to mplsFTNMapCurrIndex for one or more entries in\nmplsFTNMapTable), the agent MUST also destroy the\ncorresponding entries in mplsFTNMapTable.") mplsFTNDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 3), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNDescr.setDescription("The description of this FTN entry. Since the index for\nthis table has no particular significance or meaning,\nthis object should contain some meaningful text that an\noperator could use to further distinguish entries in\nthis table.") mplsFTNMask = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 4), Bits().subtype(namedValues=NamedValues(("sourceAddr", 0), ("destAddr", 1), ("sourcePort", 2), ("destPort", 3), ("protocol", 4), ("dscp", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNMask.setDescription("This bit map indicates which of the fields described\nnext, namely source address range, destination address\nrange, source port range, destination port range, IPv4\nProtocol field or IPv6 next-header field and\nDifferentiated Services Code Point (DSCP) is active for\nthis FTN entry. If a particular bit is set to zero then\nthe corresponding field in the packet MUST be ignored\nfor comparison purposes.") mplsFTNAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 5), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNAddrType.setDescription("This object determines the type of address contained in\nthe source and destination address objects\n(mplsFTNSourceAddrMin, mplsFTNSourceAddrMax,\nmplsFTNDestAddrMin and mplsFTNDestAddrMax) of a\nconceptual row.\n\nThis object MUST NOT be set to unknown(0) when\nmplsFTNMask has bit positions sourceAddr(0) or\ndestAddr(1) set to one.\n\nWhen both these bit positions of mplsFTNMask are set to\nzero the value of mplsFTNAddrType SHOULD be set to\nunknown(0) and the corresponding source and destination\n\n\n\naddress objects SHOULD be set to zero-length strings.") mplsFTNSourceAddrMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 6), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNSourceAddrMin.setDescription("The lower end of the source address range. The type of\nthis object is determined by the corresponding\nmplsFTNAddrType object.") mplsFTNSourceAddrMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 7), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNSourceAddrMax.setDescription("The upper end of the source address range. The type of\nthis object is determined by the corresponding\nmplsFTNAddrType object.") mplsFTNDestAddrMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 8), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNDestAddrMin.setDescription("The lower end of the destination address range. The\ntype of this object is determined by the corresponding\nmplsFTNAddrType object.") mplsFTNDestAddrMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 9), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNDestAddrMax.setDescription("The higher end of the destination address range. The\ntype of this object is determined by the corresponding\nmplsFTNAddrType object.") mplsFTNSourcePortMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 10), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNSourcePortMin.setDescription("The lower end of the source port range.") mplsFTNSourcePortMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 11), InetPortNumber().clone('65535')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNSourcePortMax.setDescription("The higher end of the source port range ") mplsFTNDestPortMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 12), InetPortNumber().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNDestPortMin.setDescription("The lower end of the destination port range.") mplsFTNDestPortMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 13), InetPortNumber().clone('65535')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNDestPortMax.setDescription("The higher end of the destination port range.") mplsFTNProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNProtocol.setDescription("The IP protocol to match against the IPv4 protocol\nnumber or IPv6 Next-Header number in the packet. A\nvalue of 255 means match all. Note that the protocol\nnumber of 255 is reserved by IANA, and Next-Header\nnumber of 0 is used in IPv6.") mplsFTNDscp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 15), Dscp()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNDscp.setDescription("The contents of the DSCP field.") mplsFTNActionType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("redirectLsp", 1), ("redirectTunnel", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNActionType.setDescription("The type of action to be taken on packets matching this\nFTN entry.") mplsFTNActionPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 17), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNActionPointer.setDescription("If mplsFTNActionType is redirectLsp(1), then this\nobject MUST contain zeroDotZero or point to a instance\nof mplsXCEntry indicating the LSP to redirect matching\npackets to.\n\nIf mplsFTNActionType is redirectTunnel(2), then this\nobject MUST contain zeroDotZero or point to a instance\nof mplsTunnelEntry indicating the MPLS TE tunnel to\nredirect matching packets to.\n\nIf this object points to a conceptual row instance in a\ntable consistent with mplsFTNActionType but this\ninstance does not currently exist then no action will\nbe taken on packets matching such an FTN entry till\nthis instance comes into existence.\n\nIf this object contains zeroDotZero then no action will\nbe taken on packets matching such an FTN entry till it\nis populated with a valid pointer consistent with the\nvalue of mplsFTNActionType as explained above.") mplsFTNStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 3, 1, 18), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNStorageType.setDescription("The storage type for this FTN entry. Conceptual rows\nhaving the value 'permanent' need not allow write-\naccess to any columnar objects in the row.") mplsFTNMapTableLastChanged = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFTNMapTableLastChanged.setDescription("Indicates the last time an entry was added, deleted or\nmodified in mplsFTNMapTable. Management stations should\nconsult this object to determine if the table requires\ntheir attention. This object is particularly useful\nfor applications performing a retrieval on\nmplsFTNMapTable to ensure that the table is not\nmodified during the retrieval operation.") mplsFTNMapTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 5)) if mibBuilder.loadTexts: mplsFTNMapTable.setDescription("This table contains objects which provide the\ncapability to apply or map FTN rules as defined by\nentries in mplsFTNTable to specific interfaces in the\nsystem. FTN rules are compared with incoming packets\nin the order in which they are applied on an interface.\n\nThe indexing structure of mplsFTNMapTable is as\nfollows.\n\n- mplsFTNMapIndex indicates the interface to which the\n rule is being applied. A value of 0 represents the\n application of the rule to all interfaces.\n\n\n\n\n- mplsFTNMapPrevIndex specifies the rule on the\n interface prior to the one being applied. A value of\n 0 specifies that the rule is being inserted at the\n head of the list of rules currently applied to the\n interface.\n\n- mplsFTNMapCurrIndex is the index in mplsFTNTable\n corresponding to the rule being applied.\n\nThis indexing structure makes the entries in the table\nbehave like items in a linked-list. The object\nmplsFTNMapPrevIndex in each conceptual row is a pointer\nto the previous entry that is applied to a particular\ninterface. This allows a new entry to be 'inserted' at\nan arbitrary position in a list of entries currently\napplied to an interface. This object is self-\nadjusting, i.e., its value is automatically adjusted by\nthe agent, if necessary, after an insertion or deletion\noperation.\n\nUsing this linked-list structure, one can retrieve FTN\nentries in the order of application on a per-interface\nbasis as follows:\n\n- To determine the first FTN entry on an interface\n with index ifIndex perform a GETNEXT retrieval\n operation on mplsFTNMapRowStatus.ifIndex.0.0; the\n returned object, if one exists, is (say)\n mplsFTNMapRowStatus.ifIndex.0.n (mplsFTNMapRowStatus\n is the first accessible columnar object in the\n conceptual row). Then the index of the first FTN\n entry applied on this interface is n.\n\n- To determine the FTN entry applied to an interface\n after the one indexed by n perform a GETNEXT\n retrieval operation on\n mplsFTNMapRowStatus.ifIndex.n.0. If such an entry\n exists the returned object would be of the form\n mplsFTNMapRowStatus.ifIndex.n.m. Then the index of\n the next FTN entry applied on this interface is m.\n\n- If the FTN entry indexed by n is the last entry\n applied to the interface with index ifIndex then the\n object returned would either be:\n\n 1.mplsFTNMapRowStatus.ifIndexNext.0.k, where\n ifIndexNext is the index of the next interface in\n\n\n\n ifTable to which an FTN entry has been applied, in\n which case k is the index of the first FTN entry\n applied to the interface with index ifIndexNext;\n\n or:\n\n 2.mplsFTNMapStorageType.firstIfIndex.0.p, if there\n are no more entries in mplsFTNMapTable, where\n firstIfIndex is the first entry in ifTable to\n which an FTN entry has been mapped.\n\nUse the above steps to retrieve all the applied FTN\nentries on a per-interface basis in application order.\nNote that the number of retrieval operations is the\nsame as the number of applied FTN entries (i.e., the\nminimum number of GETNEXT operations needed using any\nindexing scheme).\n\nAgents MUST NOT allow the same FTN entry as specified\nby mplsFTNMapCurrIndex to be applied multiple times to\nthe same interface.\n\nAgents MUST NOT allow the creation of rows in this\ntable until the corresponding rows are created in the\nmplsFTNTable.\n\nIf a row in mplsFTNTable is destroyed, the agent MUST\ndestroy the corresponding entries (i.e., ones with a\nmatching value of mplsFTNCurrIndex) in this table as\nwell.") mplsFTNMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 5, 1)).setIndexNames((0, "MPLS-FTN-STD-MIB", "mplsFTNMapIndex"), (0, "MPLS-FTN-STD-MIB", "mplsFTNMapPrevIndex"), (0, "MPLS-FTN-STD-MIB", "mplsFTNMapCurrIndex")) if mibBuilder.loadTexts: mplsFTNMapEntry.setDescription("Each conceptual row represents the application of an\nFTN rule at a specific position in the list of FTN\nrules applied on an interface. ") mplsFTNMapIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 5, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsFTNMapIndex.setDescription("The interface index that this FTN entry is being\napplied to. A value of zero indicates an entry that is\napplied all interfaces.\n\nEntries mapped to an interface by specifying its (non-\nzero) interface index in mplsFTNMapIndex are applied\nahead of entries with mplsFTNMapIndex equal to zero.") mplsFTNMapPrevIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 5, 1, 2), MplsFTNEntryIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsFTNMapPrevIndex.setDescription("The index of the previous FTN entry that was applied to\nthis interface. The special value zero indicates that\nthis should be the first FTN entry in the list.") mplsFTNMapCurrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 5, 1, 3), MplsFTNEntryIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsFTNMapCurrIndex.setDescription("Index of the current FTN entry that is being applied to\nthis interface.") mplsFTNMapRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 5, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,6,4,)).subtype(namedValues=NamedValues(("active", 1), ("createAndGo", 4), ("destroy", 6), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNMapRowStatus.setDescription("Used for controlling the creation and deletion of this\nrow.\n\nAll writable objects in this row may be modified at any\ntime.\n\nIf a conceptual row in mplsFTNMapTable points to a\nconceptual row in mplsFTNTable which is subsequently\ndeleted, the corresponding conceptual row in\nmplsFTNMapTable MUST also be deleted by the agent.") mplsFTNMapStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 5, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsFTNMapStorageType.setDescription("The storage type for this entry. Conceptual rows\nhaving the value 'permanent' need not allow write-\naccess to any columnar objects in this row.") mplsFTNPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 6)) if mibBuilder.loadTexts: mplsFTNPerfTable.setDescription("This table contains performance statistics on FTN\nentries on a per-interface basis.") mplsFTNPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 6, 1)).setIndexNames((0, "MPLS-FTN-STD-MIB", "mplsFTNPerfIndex"), (0, "MPLS-FTN-STD-MIB", "mplsFTNPerfCurrIndex")) if mibBuilder.loadTexts: mplsFTNPerfEntry.setDescription("Each entry contains performance information for the\nspecified interface and an FTN entry mapped to this\ninterface.") mplsFTNPerfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 6, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsFTNPerfIndex.setDescription("The interface index of an interface that an FTN entry\nhas been applied/mapped to. Each instance of this\nobject corresponds to an instance of mplsFTNMapIndex.") mplsFTNPerfCurrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 6, 1, 2), MplsFTNEntryIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsFTNPerfCurrIndex.setDescription("Index of an FTN entry that has been applied/mapped to\nthe specified interface. Each instance of this object\ncorresponds to an instance of mplsFTNMapCurrIndex.") mplsFTNPerfMatchedPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 6, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFTNPerfMatchedPackets.setDescription("Number of packets that matched the specified FTN entry\nif it is applied/mapped to the specified interface.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsFTNDiscontinuityTime.") mplsFTNPerfMatchedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 6, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFTNPerfMatchedOctets.setDescription("Number of octets that matched the specified FTN entry\nif it is applied/mapped to the specified interface.\n\n\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, and at\nother times as indicated by the value of\nmplsFTNDiscontinuityTime.") mplsFTNPerfDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 8, 1, 6, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsFTNPerfDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich any one or more of this entry's counters suffered\na discontinuity. If no such discontinuities have\noccurred since the last re-initialization of the local\nmanagement subsystem, then this object contains a zero\nvalue.") mplsFTNConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 8, 2)) mplsFTNGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 8, 2, 1)) mplsFTNCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 8, 2, 2)) # Augmentions # Groups mplsFTNRuleGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 8, 2, 1, 1)).setObjects(*(("MPLS-FTN-STD-MIB", "mplsFTNSourcePortMax"), ("MPLS-FTN-STD-MIB", "mplsFTNAddrType"), ("MPLS-FTN-STD-MIB", "mplsFTNIndexNext"), ("MPLS-FTN-STD-MIB", "mplsFTNDestPortMin"), ("MPLS-FTN-STD-MIB", "mplsFTNTableLastChanged"), ("MPLS-FTN-STD-MIB", "mplsFTNDestPortMax"), ("MPLS-FTN-STD-MIB", "mplsFTNDestAddrMin"), ("MPLS-FTN-STD-MIB", "mplsFTNStorageType"), ("MPLS-FTN-STD-MIB", "mplsFTNSourceAddrMin"), ("MPLS-FTN-STD-MIB", "mplsFTNDescr"), ("MPLS-FTN-STD-MIB", "mplsFTNProtocol"), ("MPLS-FTN-STD-MIB", "mplsFTNSourcePortMin"), ("MPLS-FTN-STD-MIB", "mplsFTNDestAddrMax"), ("MPLS-FTN-STD-MIB", "mplsFTNActionPointer"), ("MPLS-FTN-STD-MIB", "mplsFTNActionType"), ("MPLS-FTN-STD-MIB", "mplsFTNSourceAddrMax"), ("MPLS-FTN-STD-MIB", "mplsFTNDscp"), ("MPLS-FTN-STD-MIB", "mplsFTNRowStatus"), ("MPLS-FTN-STD-MIB", "mplsFTNMask"), ) ) if mibBuilder.loadTexts: mplsFTNRuleGroup.setDescription("Collection of objects that implement MPLS FTN rules.") mplsFTNMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 8, 2, 1, 2)).setObjects(*(("MPLS-FTN-STD-MIB", "mplsFTNMapTableLastChanged"), ("MPLS-FTN-STD-MIB", "mplsFTNMapStorageType"), ("MPLS-FTN-STD-MIB", "mplsFTNMapRowStatus"), ) ) if mibBuilder.loadTexts: mplsFTNMapGroup.setDescription("Collection of objects that implement activation of MPLS\nFTN entries on interfaces.") mplsFTNPerfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 8, 2, 1, 3)).setObjects(*(("MPLS-FTN-STD-MIB", "mplsFTNPerfDiscontinuityTime"), ("MPLS-FTN-STD-MIB", "mplsFTNPerfMatchedOctets"), ("MPLS-FTN-STD-MIB", "mplsFTNPerfMatchedPackets"), ) ) if mibBuilder.loadTexts: mplsFTNPerfGroup.setDescription("Collection of objects providing MPLS FTN performance\ninformation.") # Compliances mplsFTNModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 8, 2, 2, 1)).setObjects(*(("MPLS-FTN-STD-MIB", "mplsFTNMapGroup"), ("MPLS-FTN-STD-MIB", "mplsFTNPerfGroup"), ("MPLS-FTN-STD-MIB", "mplsFTNRuleGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ) ) if mibBuilder.loadTexts: mplsFTNModuleFullCompliance.setDescription("Compliance statement for agents that provide full\nsupport for MPLS-FTN-STD-MIB.") mplsFTNModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 8, 2, 2, 2)).setObjects(*(("MPLS-FTN-STD-MIB", "mplsFTNMapGroup"), ("MPLS-FTN-STD-MIB", "mplsFTNPerfGroup"), ("MPLS-FTN-STD-MIB", "mplsFTNRuleGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ) ) if mibBuilder.loadTexts: mplsFTNModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only\n\n\n\nprovide read-only support for MPLS-FTN-STD-MIB. Such\ndevices can then be monitored but cannot be configured\nusing this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-FTN-STD-MIB", PYSNMP_MODULE_ID=mplsFTNStdMIB) # Types mibBuilder.exportSymbols("MPLS-FTN-STD-MIB", MplsFTNEntryIndex=MplsFTNEntryIndex, MplsFTNEntryIndexOrZero=MplsFTNEntryIndexOrZero) # Objects mibBuilder.exportSymbols("MPLS-FTN-STD-MIB", mplsFTNStdMIB=mplsFTNStdMIB, mplsFTNNotifications=mplsFTNNotifications, mplsFTNObjects=mplsFTNObjects, mplsFTNIndexNext=mplsFTNIndexNext, mplsFTNTableLastChanged=mplsFTNTableLastChanged, mplsFTNTable=mplsFTNTable, mplsFTNEntry=mplsFTNEntry, mplsFTNIndex=mplsFTNIndex, mplsFTNRowStatus=mplsFTNRowStatus, mplsFTNDescr=mplsFTNDescr, mplsFTNMask=mplsFTNMask, mplsFTNAddrType=mplsFTNAddrType, mplsFTNSourceAddrMin=mplsFTNSourceAddrMin, mplsFTNSourceAddrMax=mplsFTNSourceAddrMax, mplsFTNDestAddrMin=mplsFTNDestAddrMin, mplsFTNDestAddrMax=mplsFTNDestAddrMax, mplsFTNSourcePortMin=mplsFTNSourcePortMin, mplsFTNSourcePortMax=mplsFTNSourcePortMax, mplsFTNDestPortMin=mplsFTNDestPortMin, mplsFTNDestPortMax=mplsFTNDestPortMax, mplsFTNProtocol=mplsFTNProtocol, mplsFTNDscp=mplsFTNDscp, mplsFTNActionType=mplsFTNActionType, mplsFTNActionPointer=mplsFTNActionPointer, mplsFTNStorageType=mplsFTNStorageType, mplsFTNMapTableLastChanged=mplsFTNMapTableLastChanged, mplsFTNMapTable=mplsFTNMapTable, mplsFTNMapEntry=mplsFTNMapEntry, mplsFTNMapIndex=mplsFTNMapIndex, mplsFTNMapPrevIndex=mplsFTNMapPrevIndex, mplsFTNMapCurrIndex=mplsFTNMapCurrIndex, mplsFTNMapRowStatus=mplsFTNMapRowStatus, mplsFTNMapStorageType=mplsFTNMapStorageType, mplsFTNPerfTable=mplsFTNPerfTable, mplsFTNPerfEntry=mplsFTNPerfEntry, mplsFTNPerfIndex=mplsFTNPerfIndex, mplsFTNPerfCurrIndex=mplsFTNPerfCurrIndex, mplsFTNPerfMatchedPackets=mplsFTNPerfMatchedPackets, mplsFTNPerfMatchedOctets=mplsFTNPerfMatchedOctets, mplsFTNPerfDiscontinuityTime=mplsFTNPerfDiscontinuityTime, mplsFTNConformance=mplsFTNConformance, mplsFTNGroups=mplsFTNGroups, mplsFTNCompliances=mplsFTNCompliances) # Groups mibBuilder.exportSymbols("MPLS-FTN-STD-MIB", mplsFTNRuleGroup=mplsFTNRuleGroup, mplsFTNMapGroup=mplsFTNMapGroup, mplsFTNPerfGroup=mplsFTNPerfGroup) # Compliances mibBuilder.exportSymbols("MPLS-FTN-STD-MIB", mplsFTNModuleFullCompliance=mplsFTNModuleFullCompliance, mplsFTNModuleReadOnlyCompliance=mplsFTNModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/LANGTAG-TC-MIB.py0000644000014400001440000000357311736645137021027 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python LANGTAG-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:16 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class LangTag(TextualConvention, OctetString): displayHint = "1a" subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(2,63),) # Objects langTagTcMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 165)).setRevisions(("2007-11-09 00:00",)) if mibBuilder.loadTexts: langTagTcMIB.setOrganization("IETF Operations and Management (OPS) Area") if mibBuilder.loadTexts: langTagTcMIB.setContactInfo("EMail: ops-area@ietf.org\nHome page: http://www.ops.ietf.org/") if mibBuilder.loadTexts: langTagTcMIB.setDescription("This MIB module defines a textual convention for\nrepresenting BCP 47 language tags.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("LANGTAG-TC-MIB", PYSNMP_MODULE_ID=langTagTcMIB) # Types mibBuilder.exportSymbols("LANGTAG-TC-MIB", LangTag=LangTag) # Objects mibBuilder.exportSymbols("LANGTAG-TC-MIB", langTagTcMIB=langTagTcMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/VDSL-LINE-EXT-MCM-MIB.py0000644000014400001440000006124211736645141022003 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python VDSL-LINE-EXT-MCM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus") ( vdslLineConfProfileName, ) = mibBuilder.importSymbols("VDSL-LINE-MIB", "vdslLineConfProfileName") # Objects vdslExtMCMMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 229)).setRevisions(("2005-04-28 00:00",)) if mibBuilder.loadTexts: vdslExtMCMMIB.setOrganization("ADSLMIB Working Group") if mibBuilder.loadTexts: vdslExtMCMMIB.setContactInfo("WG-email: adslmib@ietf.org\nInfo: https://www1.ietf.org/mailman/listinfo/adslmib\n\nChair: Mike Sneed\n Sand Channel Systems\nPostal: P.O. Box 37324\n Raleigh NC 27627-732\nEmail: sneedmike@hotmail.com\nPhone: +1 206 600 7022\n\nCo-Chair/Co-editor:\n Bob Ray\n PESA Switching Systems, Inc.\nPostal: 330-A Wynn Drive\n Huntsville, AL 35805\n USA\nEmail: rray@pesa.com\nPhone: +1 256 726 9200 ext. 142\n\n\n\n\nCo-editor: Menachem Dodge\n ECI Telecom Ltd.\nPostal: 30 hasivim St.\n Petach Tikva 49517,\n Israel.\nEmail: mbdodge@ieee.org\nPhone: +972 3 926 8421") if mibBuilder.loadTexts: vdslExtMCMMIB.setDescription("The VDSL-LINE-MIB found in RFC 3728 defines objects for\nthe management of a pair of VDSL transceivers at each end of\nthe VDSL line. The VDSL-LINE-MIB configures and monitors the\nline code independent parameters (TC layer) of the VDSL line.\nThis MIB module is an optional extension of the VDSL-LINE-MIB\nand defines objects for configuration and monitoring of the\nline code specific (LCS) elements (PMD layer) for VDSL lines\nusing MCM coding. The objects in this extension MIB MUST NOT\nbe used for VDSL lines using Single Carrier Modulation (SCM)\nline coding. If an object in this extension MIB is referenced\nby a line which does not use MCM, it has no effect on the\noperation of that line.\n\nNaming Conventions:\n Vtuc -- (VTUC) transceiver at near (Central) end of line\n Vtur -- (VTUR) transceiver at Remote end of line\n Vtu -- One of either Vtuc or Vtur\n Curr -- Current\n LCS -- Line Code Specific\n Max -- Maximum\n PSD -- Power Spectral Density\n Rx -- Receive\n Tx -- Transmit\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is part of RFC 4070: see the RFC\nitself for full legal notices.") vdslLineExtMCMMib = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 229, 1)) vdslLineExtMCMMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 229, 1, 1)) vdslLineMCMConfProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 1)) if mibBuilder.loadTexts: vdslLineMCMConfProfileTable.setDescription("This table contains additional information on multiple\ncarrier VDSL lines. One entry in this table reflects a\nprofile defined by a manager which can be used to\nconfigure the VDSL line.\n\nIf an entry in this table is referenced by a line which\ndoes not use MCM, it has no effect on the operation of that\nline.\n\nAll read-create-objects defined in this table SHOULD be\nstored persistently.") vdslLineMCMConfProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 1, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName")) if mibBuilder.loadTexts: vdslLineMCMConfProfileEntry.setDescription("Each entry consists of a list of parameters that\nrepresents the configuration of a multiple carrier\nmodulation VDSL modem.") vdslLineMCMConfProfileTxWindowLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxWindowLength.setDescription("Specifies the length of the transmit window, counted\nin samples at the sampling rate corresponding to the\nnegotiated value of N.") vdslLineMCMConfProfileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile is activated by setting this object to `active'.\nWhen `active' is set, the system will validate the profile.\n\nNone of the columns in this row may be modified while the\nrow is in the 'active' state.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`notInService') it must first be unreferenced\nfrom all associated lines.") vdslLineMCMConfProfileTxBandTable = MibTable((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 2)) if mibBuilder.loadTexts: vdslLineMCMConfProfileTxBandTable.setDescription("This table contains transmit band descriptor configuration\ninformation for a VDSL line. Each entry in this table\nreflects the configuration for one of possibly many bands\nwith a multiple carrier modulation (MCM) VDSL line.\nThese entries are defined by a manager and can be used to\nconfigure the VDSL line.\n\nIf an entry in this table is referenced by a line which\ndoes not use MCM, it has no effect on the operation of that\nline.\n\nAll read-create-objects defined in this table SHOULD be\nstored persistently.") vdslLineMCMConfProfileTxBandEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 2, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName"), (0, "VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxBandNumber")) if mibBuilder.loadTexts: vdslLineMCMConfProfileTxBandEntry.setDescription("Each entry consists of a transmit band descriptor, which\nis defined by a start and a stop tone index.") vdslLineMCMConfProfileTxBandNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxBandNumber.setDescription("The index for this band descriptor entry.") vdslLineMCMConfProfileTxBandStart = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxBandStart.setDescription("Start tone index for this band.") vdslLineMCMConfProfileTxBandStop = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxBandStop.setDescription("Stop tone index for this band.") vdslLineMCMConfProfileTxBandRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxBandRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\nA profile is activated by setting this object to `active'.\nWhen `active' is set, the system will validate the profile.\n\n\n\n\nEach entry must be internally consistent, the Stop Tone must\nbe greater than the Start Tone. Each entry must also be\nexternally consistent, all entries indexed by a specific\nprofile must not overlap. Validation of the profile will\ncheck both internal and external consistency.\n\nNone of the columns in this row may be modified while the\nrow is in the 'active' state.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`notInService') it must be first unreferenced\nfrom all associated lines.") vdslLineMCMConfProfileRxBandTable = MibTable((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 3)) if mibBuilder.loadTexts: vdslLineMCMConfProfileRxBandTable.setDescription("This table contains receive band descriptor configuration\ninformation for a VDSL line. Each entry in this table\nreflects the configuration for one of possibly many bands\nwith a multiple carrier modulation (MCM) VDSL line.\nThese entries are defined by a manager and can be used to\nconfigure the VDSL line.\n\nIf an entry in this table is referenced by a line which\ndoes not use MCM, it has no effect on the operation of that\nline.\n\nAll read-create-objects defined in this table SHOULD be\nstored persistently.") vdslLineMCMConfProfileRxBandEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 3, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName"), (0, "VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileRxBandNumber")) if mibBuilder.loadTexts: vdslLineMCMConfProfileRxBandEntry.setDescription("Each entry consists of a transmit band descriptor, which\nis defined by a start and a stop tone index.") vdslLineMCMConfProfileRxBandNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineMCMConfProfileRxBandNumber.setDescription("The index for this band descriptor entry.") vdslLineMCMConfProfileRxBandStart = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileRxBandStart.setDescription("Start tone index for this band.") vdslLineMCMConfProfileRxBandStop = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileRxBandStop.setDescription("Stop tone index for this band.") vdslLineMCMConfProfileRxBandRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 3, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileRxBandRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile is activated by setting this object to `active'.\nWhen `active' is set, the system will validate the profile.\nEach entry must be internally consistent, the Stop Tone must\nbe greater than the Start Tone. Each entry must also be\nexternally consistent, all entries indexed by a specific\n\n\n\nprofile must not overlap. Validation of the profile will\ncheck both internal and external consistency.\n\nNone of the columns in this row may be modified while the\nrow is in the 'active' state.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`notInService') it must be first unreferenced\nfrom all associated lines.") vdslLineMCMConfProfileTxPSDTable = MibTable((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 4)) if mibBuilder.loadTexts: vdslLineMCMConfProfileTxPSDTable.setDescription("This table contains transmit PSD mask descriptor\nconfiguration information for a VDSL line. Each entry in\nthis table reflects the configuration for one tone within\na multiple carrier modulation (MCM) VDSL line. These\nentries are defined by a manager and can be used to\nconfigure the VDSL line.\n\nIf an entry in this table is referenced by a line which\ndoes not use MCM, it has no effect on the operation of that\nline.\n\nAll read-create-objects defined in this table SHOULD be\nstored persistently.") vdslLineMCMConfProfileTxPSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 4, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName"), (0, "VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxPSDNumber")) if mibBuilder.loadTexts: vdslLineMCMConfProfileTxPSDEntry.setDescription("Each entry consists of a transmit PSD mask descriptor,\nwhich defines the power spectral density (PSD) for a tone.") vdslLineMCMConfProfileTxPSDNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxPSDNumber.setDescription("The index for this mask descriptor entry.") vdslLineMCMConfProfileTxPSDTone = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxPSDTone.setDescription("The tone index for which the PSD is being specified.") vdslLineMCMConfProfileTxPSDPSD = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxPSDPSD.setDescription("Power Spectral Density level in steps of 0.5dBm/Hz with\nan offset of -140dBm/Hz.") vdslLineMCMConfProfileTxPSDRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileTxPSDRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile is activated by setting this object to `active'.\nWhen `active' is set, the system will validate the profile.\n\nNone of the columns in this row may be modified while the\nrow is in the 'active' state.\n\nBefore a profile can be deleted or taken out of\n\n\n\nservice, (by setting this object to `destroy' or\n`notInService') it must be first unreferenced\nfrom all associated lines.") vdslLineMCMConfProfileMaxTxPSDTable = MibTable((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 5)) if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxTxPSDTable.setDescription("This table contains transmit maximum PSD mask descriptor\nconfiguration information for a VDSL line. Each entry in\nthis table reflects the configuration for one tone within\na multiple carrier modulation (MCM) VDSL modem. These\nentries are defined by a manager and can be used to\nconfigure the VDSL line.\n\nIf an entry in this table is referenced by a line which\ndoes not use MCM, it has no effect on the operation of that\nline.\n\nAll read-create-objects defined in this table SHOULD be\nstored persistently.") vdslLineMCMConfProfileMaxTxPSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 5, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName"), (0, "VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxTxPSDNumber")) if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxTxPSDEntry.setDescription("Each entry consists of a transmit PSD mask descriptor,\nwhich defines the maximum power spectral density (PSD)\nfor a tone.") vdslLineMCMConfProfileMaxTxPSDNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxTxPSDNumber.setDescription("The index for this band descriptor entry.") vdslLineMCMConfProfileMaxTxPSDTone = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 5, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxTxPSDTone.setDescription("The tone index for which the PSD is being specified.\nThere must not be multiple rows defined, for a particular\nprofile, with the same value for this field.") vdslLineMCMConfProfileMaxTxPSDPSD = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 5, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxTxPSDPSD.setDescription("Power Spectral Density level in steps of 0.5dBm/Hz with\nan offset of -140dBm/Hz.") vdslLineMCMConfProfileMaxTxPSDRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 5, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxTxPSDRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\nA profile is activated by setting this object to `active'.\nWhen `active' is set, the system will validate the profile.\nThere must be only one entry in this table for each tone\nassociated with a specific profile. This will be checked\nduring the validation process.\n\nNone of the columns in this row may be modified while the\nrow is in the 'active' state.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`notInService') it must be first unreferenced\nfrom all associated lines.") vdslLineMCMConfProfileMaxRxPSDTable = MibTable((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 6)) if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxRxPSDTable.setDescription("This table contains maximum receive PSD mask descriptor\nconfiguration information for a VDSL line. Each entry in\nthis table reflects the configuration for one tone within\na multiple carrier modulation (MCM) VDSL modem. These\nentries are defined by a manager and can be used to\nconfigure the VDSL line.\n\nIf an entry in this table is referenced by a line which\ndoes not use MCM, it has no effect on the operation of that\nline.\n\nAll read-create-objects defined in this table SHOULD be\nstored persistently.") vdslLineMCMConfProfileMaxRxPSDEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 6, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName"), (0, "VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxRxPSDNumber")) if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxRxPSDEntry.setDescription("Each entry consists of a transmit PSD mask descriptor,\nwhich defines the power spectral density (PSD) for a\ntone.") vdslLineMCMConfProfileMaxRxPSDNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxRxPSDNumber.setDescription("The index for this band descriptor entry.") vdslLineMCMConfProfileMaxRxPSDTone = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 6, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxRxPSDTone.setDescription("The tone index for which the PSD is being specified.\nThere must not be multiple rows defined, for a particular\nprofile, with the same value for this field.") vdslLineMCMConfProfileMaxRxPSDPSD = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxRxPSDPSD.setDescription("Power Spectral Density level in steps of 0.5dBm/Hz with\nan offset of -140dBm/Hz.") vdslLineMCMConfProfileMaxRxPSDRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 229, 1, 1, 6, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineMCMConfProfileMaxRxPSDRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile is activated by setting this object to `active'.\nWhen `active' is set, the system will validate the profile.\nThere must be only one entry in this table for each tone\nassociated with a specific profile. This will be checked\nduring the validation process.\n\nNone of the columns in this row may be modified while the\nrow is in the 'active' state.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`notInService') it must be first unreferenced\nfrom all associated lines.") vdslLineExtMCMConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 229, 1, 2)) vdslLineExtMCMGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 229, 1, 2, 1)) vdslLineExtMCMCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 229, 1, 2, 2)) # Augmentions # Groups vdslLineExtMCMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 229, 1, 2, 1, 1)).setObjects(*(("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxTxPSDPSD"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileRxBandStop"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxTxPSDTone"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxRxPSDRowStatus"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxTxPSDRowStatus"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxBandStop"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxRxPSDTone"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxPSDPSD"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxBandStart"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileRxBandStart"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxBandRowStatus"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileMaxRxPSDPSD"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxWindowLength"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileRowStatus"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileRxBandRowStatus"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxPSDRowStatus"), ("VDSL-LINE-EXT-MCM-MIB", "vdslLineMCMConfProfileTxPSDTone"), ) ) if mibBuilder.loadTexts: vdslLineExtMCMGroup.setDescription("A collection of objects providing configuration\n\n\n\ninformation for a VDSL line based upon multiple\ncarrier modulation modem.") # Compliances vdslLineExtMCMMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 229, 1, 2, 2, 1)).setObjects(*(("VDSL-LINE-EXT-MCM-MIB", "vdslLineExtMCMGroup"), ) ) if mibBuilder.loadTexts: vdslLineExtMCMMibCompliance.setDescription("The compliance statement for SNMP entities which\nmanage VDSL interfaces.") # Exports # Module identity mibBuilder.exportSymbols("VDSL-LINE-EXT-MCM-MIB", PYSNMP_MODULE_ID=vdslExtMCMMIB) # Objects mibBuilder.exportSymbols("VDSL-LINE-EXT-MCM-MIB", vdslExtMCMMIB=vdslExtMCMMIB, vdslLineExtMCMMib=vdslLineExtMCMMib, vdslLineExtMCMMibObjects=vdslLineExtMCMMibObjects, vdslLineMCMConfProfileTable=vdslLineMCMConfProfileTable, vdslLineMCMConfProfileEntry=vdslLineMCMConfProfileEntry, vdslLineMCMConfProfileTxWindowLength=vdslLineMCMConfProfileTxWindowLength, vdslLineMCMConfProfileRowStatus=vdslLineMCMConfProfileRowStatus, vdslLineMCMConfProfileTxBandTable=vdslLineMCMConfProfileTxBandTable, vdslLineMCMConfProfileTxBandEntry=vdslLineMCMConfProfileTxBandEntry, vdslLineMCMConfProfileTxBandNumber=vdslLineMCMConfProfileTxBandNumber, vdslLineMCMConfProfileTxBandStart=vdslLineMCMConfProfileTxBandStart, vdslLineMCMConfProfileTxBandStop=vdslLineMCMConfProfileTxBandStop, vdslLineMCMConfProfileTxBandRowStatus=vdslLineMCMConfProfileTxBandRowStatus, vdslLineMCMConfProfileRxBandTable=vdslLineMCMConfProfileRxBandTable, vdslLineMCMConfProfileRxBandEntry=vdslLineMCMConfProfileRxBandEntry, vdslLineMCMConfProfileRxBandNumber=vdslLineMCMConfProfileRxBandNumber, vdslLineMCMConfProfileRxBandStart=vdslLineMCMConfProfileRxBandStart, vdslLineMCMConfProfileRxBandStop=vdslLineMCMConfProfileRxBandStop, vdslLineMCMConfProfileRxBandRowStatus=vdslLineMCMConfProfileRxBandRowStatus, vdslLineMCMConfProfileTxPSDTable=vdslLineMCMConfProfileTxPSDTable, vdslLineMCMConfProfileTxPSDEntry=vdslLineMCMConfProfileTxPSDEntry, vdslLineMCMConfProfileTxPSDNumber=vdslLineMCMConfProfileTxPSDNumber, vdslLineMCMConfProfileTxPSDTone=vdslLineMCMConfProfileTxPSDTone, vdslLineMCMConfProfileTxPSDPSD=vdslLineMCMConfProfileTxPSDPSD, vdslLineMCMConfProfileTxPSDRowStatus=vdslLineMCMConfProfileTxPSDRowStatus, vdslLineMCMConfProfileMaxTxPSDTable=vdslLineMCMConfProfileMaxTxPSDTable, vdslLineMCMConfProfileMaxTxPSDEntry=vdslLineMCMConfProfileMaxTxPSDEntry, vdslLineMCMConfProfileMaxTxPSDNumber=vdslLineMCMConfProfileMaxTxPSDNumber, vdslLineMCMConfProfileMaxTxPSDTone=vdslLineMCMConfProfileMaxTxPSDTone, vdslLineMCMConfProfileMaxTxPSDPSD=vdslLineMCMConfProfileMaxTxPSDPSD, vdslLineMCMConfProfileMaxTxPSDRowStatus=vdslLineMCMConfProfileMaxTxPSDRowStatus, vdslLineMCMConfProfileMaxRxPSDTable=vdslLineMCMConfProfileMaxRxPSDTable, vdslLineMCMConfProfileMaxRxPSDEntry=vdslLineMCMConfProfileMaxRxPSDEntry, vdslLineMCMConfProfileMaxRxPSDNumber=vdslLineMCMConfProfileMaxRxPSDNumber, vdslLineMCMConfProfileMaxRxPSDTone=vdslLineMCMConfProfileMaxRxPSDTone, vdslLineMCMConfProfileMaxRxPSDPSD=vdslLineMCMConfProfileMaxRxPSDPSD, vdslLineMCMConfProfileMaxRxPSDRowStatus=vdslLineMCMConfProfileMaxRxPSDRowStatus, vdslLineExtMCMConformance=vdslLineExtMCMConformance, vdslLineExtMCMGroups=vdslLineExtMCMGroups, vdslLineExtMCMCompliances=vdslLineExtMCMCompliances) # Groups mibBuilder.exportSymbols("VDSL-LINE-EXT-MCM-MIB", vdslLineExtMCMGroup=vdslLineExtMCMGroup) # Compliances mibBuilder.exportSymbols("VDSL-LINE-EXT-MCM-MIB", vdslLineExtMCMMibCompliance=vdslLineExtMCMMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RADIUS-ACC-SERVER-MIB.py0000644000014400001440000006130111736645137022016 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RADIUS-ACC-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:30 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") # Objects radiusMIB = ObjectIdentity((1, 3, 6, 1, 2, 1, 67)) if mibBuilder.loadTexts: radiusMIB.setDescription("The OID assigned to RADIUS MIB work by the IANA.") radiusAccounting = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2)) radiusAccServMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 67, 2, 1)).setRevisions(("2006-08-21 00:00","1999-06-11 00:00",)) if mibBuilder.loadTexts: radiusAccServMIB.setOrganization("IETF RADIUS Extensions Working Group.") if mibBuilder.loadTexts: radiusAccServMIB.setContactInfo(" Bernard Aboba\nMicrosoft\nOne Microsoft Way\nRedmond, WA 98052\nUS\n\n\n\nPhone: +1 425 936 6605\nEMail: bernarda@microsoft.com") if mibBuilder.loadTexts: radiusAccServMIB.setDescription("The MIB module for entities implementing the server\nside of the Remote Authentication Dial-In User\nService (RADIUS) accounting protocol. Copyright (C)\nThe Internet Society (2006). This version of this\nMIB module is part of RFC 4671; see the RFC itself\nfor full legal notices.") radiusAccServMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 1, 1)) radiusAccServ = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1)) radiusAccServIdent = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 1), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServIdent.setDescription("The implementation identification string for the\nRADIUS accounting server software in use on the\nsystem, for example, 'FNS-2.1'.") radiusAccServUpTime = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServUpTime.setDescription("If the server has a persistent state (e.g., a\nprocess), this value will be the time elapsed (in\nhundredths of a second) since the server process was\nstarted. For software without persistent state, this\nvalue will be zero.") radiusAccServResetTime = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServResetTime.setDescription("If the server has a persistent state (e.g., a process)\nand supports a 'reset' operation (e.g., can be told to\nre-read configuration files), this value will be the\ntime elapsed (in hundredths of a second) since the\nserver was 'reset.' For software that does not\nhave persistence or does not support a 'reset'\noperation, this value will be zero.") radiusAccServConfigReset = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("other", 1), ("reset", 2), ("initializing", 3), ("running", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusAccServConfigReset.setDescription("Status/action object to reinitialize any persistent\nserver state. When set to reset(2), any persistent\nserver state (such as a process) is reinitialized as\nif the server had just been started. This value will\nnever be returned by a read operation. When read,\none of the following values will be returned:\n other(1) - server in some unknown state;\n initializing(3) - server (re)initializing;\n running(4) - server currently running.") radiusAccServTotalRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalRequests.setDescription("The number of packets received on the\naccounting port.") radiusAccServTotalInvalidRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalInvalidRequests.setDescription("The number of RADIUS Accounting-Request packets\nreceived from unknown addresses.") radiusAccServTotalDupRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalDupRequests.setDescription("The number of duplicate RADIUS Accounting-Request\npackets received.") radiusAccServTotalResponses = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalResponses.setDescription("The number of RADIUS Accounting-Response packets\nsent.") radiusAccServTotalMalformedRequests = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalMalformedRequests.setDescription("The number of malformed RADIUS Accounting-Request\npackets received. Bad authenticators or unknown\ntypes are not included as malformed Access-Requests.") radiusAccServTotalBadAuthenticators = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalBadAuthenticators.setDescription("The number of RADIUS Accounting-Request packets\nthat contained an invalid authenticator.") radiusAccServTotalPacketsDropped = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalPacketsDropped.setDescription("The number of incoming packets silently discarded\nfor a reason other than malformed, bad authenticators,\nor unknown types.") radiusAccServTotalNoRecords = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalNoRecords.setDescription("The number of RADIUS Accounting-Request packets\nthat were received and responded to but not\nrecorded.") radiusAccServTotalUnknownTypes = MibScalar((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly").setUnits("packets") if mibBuilder.loadTexts: radiusAccServTotalUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received.") radiusAccClientTable = MibTable((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14)) if mibBuilder.loadTexts: radiusAccClientTable.setDescription("The (conceptual) table listing the RADIUS accounting\nclients with which the server shares a secret.") radiusAccClientEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1)).setIndexNames((0, "RADIUS-ACC-SERVER-MIB", "radiusAccClientIndex")) if mibBuilder.loadTexts: radiusAccClientEntry.setDescription("An entry (conceptual row) representing a RADIUS\naccounting client with which the server shares a\nsecret.") radiusAccClientIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAccClientIndex.setDescription("A number uniquely identifying each RADIUS accounting\nclient with which this server communicates.") radiusAccClientAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientAddress.setDescription("The NAS-IP-Address of the RADIUS accounting client\n\n\n\nreferred to in this table entry.") radiusAccClientID = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientID.setDescription("The NAS-Identifier of the RADIUS accounting client\nreferred to in this table entry. This is not\nnecessarily the same as sysName in MIB II.") radiusAccServPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServPacketsDropped.setDescription("The number of incoming packets received\nfrom this client and silently discarded\nfor a reason other than malformed, bad\nauthenticators, or unknown types.") radiusAccServRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServRequests.setDescription("The number of packets received from this\nclient on the accounting port.") radiusAccServDupRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServDupRequests.setDescription("The number of duplicate RADIUS Accounting-Request\npackets received from this client.") radiusAccServResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServResponses.setDescription("The number of RADIUS Accounting-Response packets\nsent to this client.") radiusAccServBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServBadAuthenticators.setDescription("The number of RADIUS Accounting-Request packets\nthat contained invalid authenticators received\nfrom this client.") radiusAccServMalformedRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServMalformedRequests.setDescription("The number of malformed RADIUS Accounting-Request\npackets that were received from this client.\nBad authenticators and unknown types\nare not included as malformed Accounting-Requests.") radiusAccServNoRecords = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServNoRecords.setDescription("The number of RADIUS Accounting-Request packets\nthat were received and responded to but not\nrecorded.") radiusAccServUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 14, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this client.") radiusAccClientExtTable = MibTable((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15)) if mibBuilder.loadTexts: radiusAccClientExtTable.setDescription("The (conceptual) table listing the RADIUS accounting\nclients with which the server shares a secret.") radiusAccClientExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1)).setIndexNames((0, "RADIUS-ACC-SERVER-MIB", "radiusAccClientExtIndex")) if mibBuilder.loadTexts: radiusAccClientExtEntry.setDescription("An entry (conceptual row) representing a RADIUS\naccounting client with which the server shares a\nsecret.") radiusAccClientExtIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusAccClientExtIndex.setDescription("A number uniquely identifying each RADIUS accounting\nclient with which this server communicates.") radiusAccClientInetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientInetAddressType.setDescription("The type of address format used for the\nradiusAccClientInetAddress object.") radiusAccClientInetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientInetAddress.setDescription("The IP address of the RADIUS accounting\nclient referred to in this table entry, using\nthe IPv6 address format.") radiusAccClientExtID = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccClientExtID.setDescription("The NAS-Identifier of the RADIUS accounting client\nreferred to in this table entry. This is not\nnecessarily the same as sysName in MIB II.") radiusAccServExtPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtPacketsDropped.setDescription("The number of incoming packets received from this\nclient and silently discarded for a reason other\nthan malformed, bad authenticators, or unknown types.\nThis counter may experience a discontinuity when the\nRADIUS Accounting Server module within the managed\nentity is reinitialized, as indicated by the current\nvalue of radiusAccServerCounterDiscontinuity.") radiusAccServExtRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtRequests.setDescription("The number of packets received from this\nclient on the accounting port. This counter\nmay experience a discontinuity when the\nRADIUS Accounting Server module within the\nmanaged entity is reinitialized, as indicated by\nthe current value of\nradiusAccServerCounterDiscontinuity.") radiusAccServExtDupRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtDupRequests.setDescription("The number of duplicate RADIUS Accounting-Request\npackets received from this client. This counter\n\n\n\nmay experience a discontinuity when the RADIUS\nAccounting Server module within the managed\nentity is reinitialized, as indicated by the\ncurrent value of\nradiusAccServerCounterDiscontinuity.") radiusAccServExtResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtResponses.setDescription("The number of RADIUS Accounting-Response packets\nsent to this client. This counter may experience\na discontinuity when the RADIUS Accounting Server\nmodule within the managed entity is reinitialized,\nas indicated by the current value of\nradiusAccServerCounterDiscontinuity.") radiusAccServExtBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtBadAuthenticators.setDescription("The number of RADIUS Accounting-Request packets\nthat contained invalid authenticators received\nfrom this client. This counter may experience a\ndiscontinuity when the RADIUS Accounting Server\nmodule within the managed entity is reinitialized,\nas indicated by the current value of\nradiusAccServerCounterDiscontinuity.") radiusAccServExtMalformedRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtMalformedRequests.setDescription("The number of malformed RADIUS Accounting-Request\npackets that were received from this client.\nBad authenticators and unknown types are not\n\n\n\nincluded as malformed Accounting-Requests. This\ncounter may experience a discontinuity when the\nRADIUS Accounting Server module within the managed\nentity is reinitialized, as indicated by the current\nvalue of radiusAccServerCounterDiscontinuity.") radiusAccServExtNoRecords = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtNoRecords.setDescription("The number of RADIUS Accounting-Request packets\nthat were received and responded to but not\nrecorded. This counter may experience a\ndiscontinuity when the RADIUS Accounting Server\nmodule within the managed entity is reinitialized,\nas indicated by the current value of\nradiusAccServerCounterDiscontinuity.") radiusAccServExtUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServExtUnknownTypes.setDescription("The number of RADIUS packets of unknown type that\nwere received from this client. This counter may\nexperience a discontinuity when the RADIUS Accounting\nServer module within the managed entity is\nreinitialized, as indicated by the current value of\nradiusAccServerCounterDiscontinuity.") radiusAccServerCounterDiscontinuity = MibTableColumn((1, 3, 6, 1, 2, 1, 67, 2, 1, 1, 1, 15, 1, 13), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusAccServerCounterDiscontinuity.setDescription("The number of centiseconds since the last\ndiscontinuity in the RADIUS Accounting Server\ncounters. A discontinuity may be the result of\na reinitialization of the RADIUS Accounting Server\n\n\n\nmodule within the managed entity.") radiusAccServMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 1, 2)) radiusAccServMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 1, 2, 1)) radiusAccServMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 67, 2, 1, 2, 2)) # Augmentions # Groups radiusAccServMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 2, 1, 2, 2, 1)).setObjects(*(("RADIUS-ACC-SERVER-MIB", "radiusAccServResetTime"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServDupRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServMalformedRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalBadAuthenticators"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalUnknownTypes"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServIdent"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalMalformedRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalDupRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccClientAddress"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServConfigReset"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServUpTime"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalResponses"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServBadAuthenticators"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServResponses"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServPacketsDropped"), ("RADIUS-ACC-SERVER-MIB", "radiusAccClientID"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServNoRecords"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServUnknownTypes"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalPacketsDropped"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalInvalidRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalNoRecords"), ) ) if mibBuilder.loadTexts: radiusAccServMIBGroup.setDescription("The collection of objects providing management of\na RADIUS Accounting Server.") radiusAccServExtMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 67, 2, 1, 2, 2, 2)).setObjects(*(("RADIUS-ACC-SERVER-MIB", "radiusAccServIdent"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServerCounterDiscontinuity"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServResetTime"), ("RADIUS-ACC-SERVER-MIB", "radiusAccClientInetAddressType"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtNoRecords"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtPacketsDropped"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalBadAuthenticators"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalUnknownTypes"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtResponses"), ("RADIUS-ACC-SERVER-MIB", "radiusAccClientInetAddress"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalMalformedRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalDupRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServConfigReset"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtDupRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServUpTime"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalResponses"), ("RADIUS-ACC-SERVER-MIB", "radiusAccClientExtID"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtUnknownTypes"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalNoRecords"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtMalformedRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalRequests"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalPacketsDropped"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServExtBadAuthenticators"), ("RADIUS-ACC-SERVER-MIB", "radiusAccServTotalInvalidRequests"), ) ) if mibBuilder.loadTexts: radiusAccServExtMIBGroup.setDescription("The collection of objects providing management of\na RADIUS Accounting Server.") # Compliances radiusAccServMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 2, 1, 2, 1, 1)).setObjects(*(("RADIUS-ACC-SERVER-MIB", "radiusAccServMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAccServMIBCompliance.setDescription("The compliance statement for accounting servers\nimplementing the RADIUS Accounting Server MIB.\nImplementation of this module is for IPv4-only\nentities, or for backwards compatibility use with\nentities that support both IPv4 and IPv6.") radiusAccServExtMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 67, 2, 1, 2, 1, 2)).setObjects(*(("RADIUS-ACC-SERVER-MIB", "radiusAccServExtMIBGroup"), ) ) if mibBuilder.loadTexts: radiusAccServExtMIBCompliance.setDescription("The compliance statement for accounting\nservers implementing the RADIUS Accounting\nServer IPv6 Extensions MIB. Implementation of\nthis module is for entities that support IPv6,\nor support IPv4 and IPv6.") # Exports # Module identity mibBuilder.exportSymbols("RADIUS-ACC-SERVER-MIB", PYSNMP_MODULE_ID=radiusAccServMIB) # Objects mibBuilder.exportSymbols("RADIUS-ACC-SERVER-MIB", radiusMIB=radiusMIB, radiusAccounting=radiusAccounting, radiusAccServMIB=radiusAccServMIB, radiusAccServMIBObjects=radiusAccServMIBObjects, radiusAccServ=radiusAccServ, radiusAccServIdent=radiusAccServIdent, radiusAccServUpTime=radiusAccServUpTime, radiusAccServResetTime=radiusAccServResetTime, radiusAccServConfigReset=radiusAccServConfigReset, radiusAccServTotalRequests=radiusAccServTotalRequests, radiusAccServTotalInvalidRequests=radiusAccServTotalInvalidRequests, radiusAccServTotalDupRequests=radiusAccServTotalDupRequests, radiusAccServTotalResponses=radiusAccServTotalResponses, radiusAccServTotalMalformedRequests=radiusAccServTotalMalformedRequests, radiusAccServTotalBadAuthenticators=radiusAccServTotalBadAuthenticators, radiusAccServTotalPacketsDropped=radiusAccServTotalPacketsDropped, radiusAccServTotalNoRecords=radiusAccServTotalNoRecords, radiusAccServTotalUnknownTypes=radiusAccServTotalUnknownTypes, radiusAccClientTable=radiusAccClientTable, radiusAccClientEntry=radiusAccClientEntry, radiusAccClientIndex=radiusAccClientIndex, radiusAccClientAddress=radiusAccClientAddress, radiusAccClientID=radiusAccClientID, radiusAccServPacketsDropped=radiusAccServPacketsDropped, radiusAccServRequests=radiusAccServRequests, radiusAccServDupRequests=radiusAccServDupRequests, radiusAccServResponses=radiusAccServResponses, radiusAccServBadAuthenticators=radiusAccServBadAuthenticators, radiusAccServMalformedRequests=radiusAccServMalformedRequests, radiusAccServNoRecords=radiusAccServNoRecords, radiusAccServUnknownTypes=radiusAccServUnknownTypes, radiusAccClientExtTable=radiusAccClientExtTable, radiusAccClientExtEntry=radiusAccClientExtEntry, radiusAccClientExtIndex=radiusAccClientExtIndex, radiusAccClientInetAddressType=radiusAccClientInetAddressType, radiusAccClientInetAddress=radiusAccClientInetAddress, radiusAccClientExtID=radiusAccClientExtID, radiusAccServExtPacketsDropped=radiusAccServExtPacketsDropped, radiusAccServExtRequests=radiusAccServExtRequests, radiusAccServExtDupRequests=radiusAccServExtDupRequests, radiusAccServExtResponses=radiusAccServExtResponses, radiusAccServExtBadAuthenticators=radiusAccServExtBadAuthenticators, radiusAccServExtMalformedRequests=radiusAccServExtMalformedRequests, radiusAccServExtNoRecords=radiusAccServExtNoRecords, radiusAccServExtUnknownTypes=radiusAccServExtUnknownTypes, radiusAccServerCounterDiscontinuity=radiusAccServerCounterDiscontinuity, radiusAccServMIBConformance=radiusAccServMIBConformance, radiusAccServMIBCompliances=radiusAccServMIBCompliances, radiusAccServMIBGroups=radiusAccServMIBGroups) # Groups mibBuilder.exportSymbols("RADIUS-ACC-SERVER-MIB", radiusAccServMIBGroup=radiusAccServMIBGroup, radiusAccServExtMIBGroup=radiusAccServExtMIBGroup) # Compliances mibBuilder.exportSymbols("RADIUS-ACC-SERVER-MIB", radiusAccServMIBCompliance=radiusAccServMIBCompliance, radiusAccServExtMIBCompliance=radiusAccServExtMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPMCAST-MIB.py0000644000014400001440000023462111736645136020545 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPMCAST-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:10 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( CounterBasedGauge64, ) = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64") ( IANAipMRouteProtocol, IANAipRouteProtocol, ) = mibBuilder.importSymbols("IANA-RTPROTO-MIB", "IANAipMRouteProtocol", "IANAipRouteProtocol") ( InterfaceIndex, InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") ( InetAddress, InetAddressPrefixLength, InetAddressType, InetVersion, InetZoneIndex, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressPrefixLength", "InetAddressType", "InetVersion", "InetZoneIndex") ( LangTag, ) = mibBuilder.importSymbols("LANGTAG-TC-MIB", "LangTag") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter64, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter64", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TimeStamp", "TruthValue") # Objects ipMcastMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 168)).setRevisions(("2007-11-09 00:00",)) if mibBuilder.loadTexts: ipMcastMIB.setOrganization("IETF MBONE Deployment (MBONED) Working Group") if mibBuilder.loadTexts: ipMcastMIB.setContactInfo("David McWalter\nData Connection Limited\n\n\n\n100 Church Street\nEnfield, EN2 6BQ\nUK\n\nPhone: +44 208 366 1177\nEMail: dmcw@dataconnection.com\n\nDave Thaler\nMicrosoft Corporation\nOne Microsoft Way\nRedmond, WA 98052-6399\nUS\n\nPhone: +1 425 703 8835\nEMail: dthaler@dthaler.microsoft.com\n\nAndrew Kessler\nCisco Systems\n425 E. Tasman Drive\nSan Jose, CA 95134\nUS\n\nPhone: +1 408 526 5139\nEMail: kessler@cisco.com") if mibBuilder.loadTexts: ipMcastMIB.setDescription("The MIB module for management of IP Multicast, including\nmulticast routing, data forwarding, and data reception.\n\nCopyright (C) The IETF Trust (2007). This version of this\nMIB module is part of RFC 5132; see the RFC itself for full\nlegal notices.") ipMcast = MibIdentifier((1, 3, 6, 1, 2, 1, 168, 1)) ipMcastEnabled = MibScalar((1, 3, 6, 1, 2, 1, 168, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMcastEnabled.setDescription("The enabled status of IP Multicast function on this\nsystem.\n\nThe storage type of this object is determined by\nipMcastDeviceConfigStorageType.") ipMcastRouteEntryCount = MibScalar((1, 3, 6, 1, 2, 1, 168, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteEntryCount.setDescription("The number of rows in the ipMcastRouteTable. This can be\nused to check for multicast routing activity, and to monitor\nthe multicast routing table size.") ipMcastInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 3)) if mibBuilder.loadTexts: ipMcastInterfaceTable.setDescription("The (conceptual) table used to manage the multicast\nprotocol active on an interface.") ipMcastInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 3, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastInterfaceIPVersion"), (0, "IPMCAST-MIB", "ipMcastInterfaceIfIndex")) if mibBuilder.loadTexts: ipMcastInterfaceEntry.setDescription("An entry (conceptual row) containing the multicast protocol\ninformation for a particular interface.\n\nPer-interface multicast forwarding statistics are also\navailable in ipIfStatsTable.") ipMcastInterfaceIPVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 3, 1, 1), InetVersion()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastInterfaceIPVersion.setDescription("The IP version of this row.") ipMcastInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 3, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastInterfaceIfIndex.setDescription("The index value that uniquely identifies the interface to\nwhich this entry is applicable. The interface identified by\na particular value of this index is the same interface as\nidentified by the same value of the IF-MIB's ifIndex.") ipMcastInterfaceTtl = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 256)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMcastInterfaceTtl.setDescription("The datagram Time to Live (TTL) threshold for the\ninterface. Any IP multicast datagrams with a TTL (IPv4) or\nHop Limit (IPv6) less than this threshold will not be\nforwarded out the interface. The default value of 0 means\nall multicast packets are forwarded out the interface. A\nvalue of 256 means that no multicast packets are forwarded\nout the interface.") ipMcastInterfaceRateLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 3, 1, 4), Unsigned32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMcastInterfaceRateLimit.setDescription("The rate-limit, in kilobits per second, of forwarded\nmulticast traffic on the interface. A rate-limit of 0\nindicates that no rate limiting is done.") ipMcastInterfaceStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 3, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMcastInterfaceStorageType.setDescription("The storage type for this row. Rows having the value\n'permanent' need not allow write-access to any columnar\nobjects in the row.") ipMcastSsmRangeTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 4)) if mibBuilder.loadTexts: ipMcastSsmRangeTable.setDescription("This table is used to create and manage the range(s) of\ngroup addresses to which SSM semantics should be applied.") ipMcastSsmRangeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 4, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastSsmRangeAddressType"), (0, "IPMCAST-MIB", "ipMcastSsmRangeAddress"), (0, "IPMCAST-MIB", "ipMcastSsmRangePrefixLength")) if mibBuilder.loadTexts: ipMcastSsmRangeEntry.setDescription("An entry (conceptual row) containing a range of group\naddresses to which SSM semantics should be applied.\n\nObject Identifiers (OIDs) are limited to 128\nsub-identifiers, but this limit is not enforced by the\nsyntax of this entry. In practice, this does not present\na problem, because IP address types allowed by conformance\nstatements do not exceed this limit.") ipMcastSsmRangeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 4, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastSsmRangeAddressType.setDescription("The address type of the multicast group prefix.") ipMcastSsmRangeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 4, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastSsmRangeAddress.setDescription("The multicast group address which, when combined with\nipMcastSsmRangePrefixLength, gives the group prefix for this\nSSM range. The InetAddressType is given by\nipMcastSsmRangeAddressType.\n\nThis address object is only significant up to\nipMcastSsmRangePrefixLength bits. The remaining address\nbits are set to zero. This is especially important for this\nindex field, which is part of the index of this entry. Any\nnon-zero bits would signify an entirely different entry.\n\nFor IPv6 SSM address ranges, only ranges prefixed by\nFF3x::/16 are permitted, where 'x' is a valid IPv6 RFC 4291\nmulticast address scope. The syntax of the address range is\ngiven by RFC 3306, Sections 4 and 7.\n\nFor addresses of type ipv4z or ipv6z, the appended zone\nindex is significant even though it lies beyond the prefix\nlength. The use of these address types indicate that this\nSSM range entry applies only within the given zone. Zone\nindex zero is not valid in this table.\n\nIf non-global scope SSM range entries are present, then\nconsistent ipMcastBoundaryTable entries are required on\nrouters at the zone boundary.") ipMcastSsmRangePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 4, 1, 3), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastSsmRangePrefixLength.setDescription("The length in bits of the mask which, when combined with\n\n\n\nipMcastSsmRangeAddress, gives the group prefix for this SSM\nrange.\n\nThe InetAddressType is given by ipMcastSsmRangeAddressType.\nFor values 'ipv4' and 'ipv4z', this object must be in the\nrange 4..32. For values 'ipv6' and 'ipv6z', this object\nmust be in the range 8..128.") ipMcastSsmRangeRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastSsmRangeRowStatus.setDescription("The status of this row, by which rows in this table can\nbe created and destroyed.\n\nThis status object can be set to active(1) without setting\nany other columnar objects in this entry.\n\nAll writeable objects in this entry can be modified when the\nstatus of this entry is active(1).") ipMcastSsmRangeStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 4, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastSsmRangeStorageType.setDescription("The storage type for this row. Rows having the value\n'permanent' need not allow write-access to any columnar\nobjects in the row.") ipMcastRouteTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 5)) if mibBuilder.loadTexts: ipMcastRouteTable.setDescription("The (conceptual) table containing multicast routing\ninformation for IP datagrams sent by particular sources\n\n\n\nto the IP multicast groups known to this router.") ipMcastRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 5, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastRouteGroupAddressType"), (0, "IPMCAST-MIB", "ipMcastRouteGroup"), (0, "IPMCAST-MIB", "ipMcastRouteGroupPrefixLength"), (0, "IPMCAST-MIB", "ipMcastRouteSourceAddressType"), (0, "IPMCAST-MIB", "ipMcastRouteSource"), (0, "IPMCAST-MIB", "ipMcastRouteSourcePrefixLength")) if mibBuilder.loadTexts: ipMcastRouteEntry.setDescription("An entry (conceptual row) containing the multicast routing\ninformation for IP datagrams from a particular source and\naddressed to a particular IP multicast group address.\n\nOIDs are limited to 128 sub-identifiers, but this limit\nis not enforced by the syntax of this entry. In practice,\nthis does not present a problem, because IP address types\nallowed by conformance statements do not exceed this limit.") ipMcastRouteGroupAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteGroupAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastRouteGroup. Legal values correspond to\nthe subset of address families for which multicast\nforwarding is supported.") ipMcastRouteGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteGroup.setDescription("The IP multicast group address which, when combined with\nthe corresponding value specified in\nipMcastRouteGroupPrefixLength, identifies the groups for\nwhich this entry contains multicast routing information.\n\nThis address object is only significant up to\nipMcastRouteGroupPrefixLength bits. The remaining address\nbits are set to zero. This is especially important for this\nindex field, which is part of the index of this entry. Any\nnon-zero bits would signify an entirely different entry.\n\nFor addresses of type ipv4z or ipv6z, the appended zone\nindex is significant even though it lies beyond the prefix\nlength. The use of these address types indicate that this\nforwarding state applies only within the given zone. Zone\nindex zero is not valid in this table.") ipMcastRouteGroupPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 3), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteGroupPrefixLength.setDescription("The length in bits of the mask which, when combined with\nthe corresponding value of ipMcastRouteGroup, identifies the\ngroups for which this entry contains multicast routing\ninformation.\n\nThe InetAddressType is given by\n\n\n\nipMcastRouteGroupAddressType. For values 'ipv4' and\n'ipv4z', this object must be in the range 4..32. For values\n'ipv6' and 'ipv6z', this object must be in the range\n8..128.") ipMcastRouteSourceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 4), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteSourceAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastRouteSource.\n\nA value of unknown(0) indicates a non-source-specific entry,\ncorresponding to all sources in the group. Otherwise, the\nvalue MUST be the same as the value of\nipMcastRouteGroupType.") ipMcastRouteSource = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 5), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteSource.setDescription("The network address which, when combined with the\ncorresponding value of ipMcastRouteSourcePrefixLength,\nidentifies the sources for which this entry contains\nmulticast routing information.\n\nThis address object is only significant up to\nipMcastRouteSourcePrefixLength bits. The remaining address\nbits are set to zero. This is especially important for this\nindex field, which is part of the index of this entry. Any\nnon-zero bits would signify an entirely different entry.\n\nFor addresses of type ipv4z or ipv6z, the appended zone\nindex is significant even though it lies beyond the prefix\nlength. The use of these address types indicate that this\nsource address applies only within the given zone. Zone\nindex zero is not valid in this table.") ipMcastRouteSourcePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 6), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteSourcePrefixLength.setDescription("The length in bits of the mask which, when combined with\nthe corresponding value of ipMcastRouteSource, identifies\nthe sources for which this entry contains multicast routing\ninformation.\n\nThe InetAddressType is given by\nipMcastRouteSourceAddressType. For the value 'unknown',\nthis object must be zero. For values 'ipv4' and 'ipv4z',\nthis object must be in the range 4..32. For values 'ipv6'\nand 'ipv6z', this object must be in the range 8..128.") ipMcastRouteUpstreamNeighborType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 7), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteUpstreamNeighborType.setDescription("A value indicating the address family of the address\ncontained in ipMcastRouteUpstreamNeighbor.\n\nAn address type of unknown(0) indicates that the upstream\nneighbor is unknown, for example in BIDIR-PIM.") ipMcastRouteUpstreamNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 8), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteUpstreamNeighbor.setDescription("The address of the upstream neighbor (for example, RPF\nneighbor) from which IP datagrams from these sources to\nthis multicast address are received.") ipMcastRouteInIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 9), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteInIfIndex.setDescription("The value of ifIndex for the interface on which IP\ndatagrams sent by these sources to this multicast address\nare received. A value of 0 indicates that datagrams are not\nsubject to an incoming interface check, but may be accepted\non multiple interfaces (for example, in BIDIR-PIM).") ipMcastRouteTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteTimeStamp.setDescription("The value of sysUpTime at which the multicast routing\ninformation represented by this entry was learned by the\nrouter.\n\nIf this information was present at the most recent re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") ipMcastRouteExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteExpiryTime.setDescription("The minimum amount of time remaining before this entry will\nbe aged out. The value 0 indicates that the entry is not\nsubject to aging. If ipMcastRouteNextHopState is pruned(1),\nthis object represents the remaining time until the prune\nexpires. If this timer expires, state reverts to\nforwarding(2). Otherwise, this object represents the time\nuntil this entry is removed from the table.") ipMcastRouteProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 12), IANAipMRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteProtocol.setDescription("The multicast routing protocol via which this multicast\nforwarding entry was learned.") ipMcastRouteRtProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 13), IANAipRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteRtProtocol.setDescription("The routing mechanism via which the route used to find the\nupstream or parent interface for this multicast forwarding\nentry was learned.") ipMcastRouteRtAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 14), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteRtAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastRouteRtAddress.") ipMcastRouteRtAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 15), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteRtAddress.setDescription("The address portion of the route used to find the upstream\nor parent interface for this multicast forwarding entry.\n\nThis address object is only significant up to\nipMcastRouteRtPrefixLength bits. The remaining address bits\nare set to zero.\n\nFor addresses of type ipv4z or ipv6z, the appended zone\nindex is significant even though it lies beyond the prefix\nlength. The use of these address types indicate that this\nforwarding state applies only within the given zone. Zone\nindex zero is not valid in this table.") ipMcastRouteRtPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 16), InetAddressPrefixLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteRtPrefixLength.setDescription("The length in bits of the mask associated with the route\nused to find the upstream or parent interface for this\nmulticast forwarding entry.\n\nThe InetAddressType is given by ipMcastRouteRtAddressType.\nFor values 'ipv4' and 'ipv4z', this object must be in the\nrange 4..32. For values 'ipv6' and 'ipv6z', this object\nmust be in the range 8..128.") ipMcastRouteRtType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("unicast", 1), ("multicast", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteRtType.setDescription("The reason the given route was placed in the (logical)\nmulticast Routing Information Base (RIB). A value of\nunicast means that the route would normally be placed only\nin the unicast RIB, but was placed in the multicast RIB\ndue (instead or in addition) to local configuration, such as\nwhen running PIM over RIP. A value of multicast means that\nthe route was explicitly added to the multicast RIB by the\nrouting protocol, such as the Distance Vector Multicast\nRouting Protocol (DVMRP) or Multiprotocol BGP.") ipMcastRouteOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteOctets.setDescription("The number of octets contained in IP datagrams that were\nreceived from these sources and addressed to this multicast\ngroup address, and which were forwarded by this router.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteTimeStamp.") ipMcastRoutePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRoutePkts.setDescription("The number of packets routed using this multicast route\nentry.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteTimeStamp.") ipMcastRouteTtlDropOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteTtlDropOctets.setDescription("The number of octets contained in IP datagrams that this\nrouter has received from these sources and addressed to this\nmulticast group address, which were dropped because the TTL\n(IPv4) or Hop Limit (IPv6) was decremented to zero, or to a\nvalue less than ipMcastInterfaceTtl for all next hops.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteTimeStamp.") ipMcastRouteTtlDropPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteTtlDropPackets.setDescription("The number of packets that this router has received from\nthese sources and addressed to this multicast group address,\nwhich were dropped because the TTL (IPv4) or Hop Limit\n(IPv6) was decremented to zero, or to a value less than\nipMcastInterfaceTtl for all next hops.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteTimeStamp.") ipMcastRouteDifferentInIfOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteDifferentInIfOctets.setDescription("The number of octets contained in IP datagrams that this\nrouter has received from these sources and addressed to this\nmulticast group address, which were dropped because they\nwere received on an unexpected interface.\n\nFor RPF checking protocols (such as PIM-SM), these packets\narrived on interfaces other than ipMcastRouteInIfIndex, and\nwere dropped because of this failed RPF check. (RPF paths\nare 'Reverse Path Forwarding' paths; the unicast routes to\nthe expected origin of multicast data flows).\n\n\n\n\nOther protocols may drop packets on an incoming interface\ncheck for different reasons (for example, BIDIR-PIM performs\na DF check on receipt of packets). All packets dropped as a\nresult of an incoming interface check are counted here.\n\nIf this counter increases rapidly, this indicates a problem.\nA significant quantity of multicast data is arriving at this\nrouter on unexpected interfaces, and is not being forwarded.\n\nFor guidance, if the rate of increase of this counter\nexceeds 1% of the rate of increase of ipMcastRouteOctets,\nthen there are multicast routing problems that require\ninvestigation.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteTimeStamp.") ipMcastRouteDifferentInIfPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteDifferentInIfPackets.setDescription("The number of packets which this router has received from\nthese sources and addressed to this multicast group address,\nwhich were dropped because they were received on an\nunexpected interface.\n\nFor RPF checking protocols (such as PIM-SM), these packets\narrived on interfaces other than ipMcastRouteInIfIndex, and\nwere dropped because of this failed RPF check. (RPF paths\nare 'Reverse Path Forwarding' path; the unicast routes to\nthe expected origin of multicast data flows).\n\nOther protocols may drop packets on an incoming interface\ncheck for different reasons (for example, BIDIR-PIM performs\na DF check on receipt of packets). All packets dropped as a\nresult of an incoming interface check are counted here.\n\nIf this counter increases rapidly, this indicates a problem.\nA significant quantity of multicast data is arriving at this\nrouter on unexpected interfaces, and is not being forwarded.\n\nFor guidance, if the rate of increase of this counter\n\n\n\nexceeds 1% of the rate of increase of ipMcastRoutePkts, then\nthere are multicast routing problems that require\ninvestigation.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteTimeStamp.") ipMcastRouteBps = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 5, 1, 24), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteBps.setDescription("Bits per second forwarded by this router using this\nmulticast routing entry.\n\nThis value is a sample; it is the number of bits forwarded\nduring the last whole 1 second sampling period. The value\nduring the current 1 second sampling period is not made\navailable until the period is completed.\n\nThe quantity being sampled is the same as that measured by\nipMcastRouteOctets. The units and the sampling method are\ndifferent.") ipMcastRouteNextHopTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 6)) if mibBuilder.loadTexts: ipMcastRouteNextHopTable.setDescription("The (conceptual) table containing information on the\nnext-hops on outgoing interfaces for routing IP multicast\ndatagrams. Each entry is one of a list of next-hops on\noutgoing interfaces for particular sources sending to a\nparticular multicast group address.") ipMcastRouteNextHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 6, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastRouteNextHopGroupAddressType"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopGroup"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopGroupPrefixLength"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopSourceAddressType"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopSource"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopSourcePrefixLength"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopIfIndex"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopAddressType"), (0, "IPMCAST-MIB", "ipMcastRouteNextHopAddress")) if mibBuilder.loadTexts: ipMcastRouteNextHopEntry.setDescription("An entry (conceptual row) in the list of next-hops on\noutgoing interfaces to which IP multicast datagrams from\nparticular sources to an IP multicast group address are\nrouted.\n\nOIDs are limited to 128 sub-identifiers, but this limit\nis not enforced by the syntax of this entry. In practice,\nthis does not present a problem, because IP address types\nallowed by conformance statements do not exceed this limit.") ipMcastRouteNextHopGroupAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopGroupAddressType.setDescription("A value indicating the address family of the address\n\n\n\ncontained in ipMcastRouteNextHopGroup. Legal values\ncorrespond to the subset of address families for which\nmulticast forwarding is supported.") ipMcastRouteNextHopGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopGroup.setDescription("The IP multicast group address which, when combined with\nthe corresponding value specified in\nipMcastRouteNextHopGroupPrefixLength, identifies the groups\nfor which this entry contains multicast forwarding\ninformation.\n\nThis address object is only significant up to\nipMcastRouteNextHopGroupPrefixLength bits. The remaining\naddress bits are set to zero. This is especially important\nfor this index field, which is part of the index of this\nentry. Any non-zero bits would signify an entirely\ndifferent entry.\n\nFor addresses of type ipv4z or ipv6z, the appended zone\nindex is significant even though it lies beyond the prefix\nlength. The use of these address types indicate that this\nforwarding state applies only within the given zone. Zone\nindex zero is not valid in this table.") ipMcastRouteNextHopGroupPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 3), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopGroupPrefixLength.setDescription("The length in bits of the mask which, when combined with\nthe corresponding value of ipMcastRouteGroup, identifies the\ngroups for which this entry contains multicast routing\ninformation.\n\nThe InetAddressType is given by\nipMcastRouteNextHopGroupAddressType. For values 'ipv4' and\n'ipv4z', this object must be in the range 4..32. For values\n'ipv6' and 'ipv6z', this object must be in the range\n8..128.") ipMcastRouteNextHopSourceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 4), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopSourceAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastRouteNextHopSource.\n\nA value of unknown(0) indicates a non-source-specific entry,\ncorresponding to all sources in the group. Otherwise, the\nvalue MUST be the same as the value of\nipMcastRouteNextHopGroupType.") ipMcastRouteNextHopSource = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 5), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopSource.setDescription("The network address which, when combined with the\ncorresponding value of the mask specified in\nipMcastRouteNextHopSourcePrefixLength, identifies the\nsources for which this entry specifies a next-hop on an\noutgoing interface.\n\nThis address object is only significant up to\nipMcastRouteNextHopSourcePrefixLength bits. The remaining\naddress bits are set to zero. This is especially important\nfor this index field, which is part of the index of this\nentry. Any non-zero bits would signify an entirely\ndifferent entry.\n\nFor addresses of type ipv4z or ipv6z, the appended zone\nindex is significant even though it lies beyond the prefix\nlength. The use of these address types indicate that this\nsource address applies only within the given zone. Zone\nindex zero is not valid in this table.") ipMcastRouteNextHopSourcePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 6), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopSourcePrefixLength.setDescription("The length in bits of the mask which, when combined with\nthe corresponding value specified in\nipMcastRouteNextHopSource, identifies the sources for which\nthis entry specifies a next-hop on an outgoing interface.\n\n\n\n\nThe InetAddressType is given by\nipMcastRouteNextHopSourceAddressType. For the value\n'unknown', this object must be zero. For values 'ipv4' and\n'ipv4z', this object must be in the range 4..32. For values\n'ipv6' and 'ipv6z', this object must be in the range\n8..128.") ipMcastRouteNextHopIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 7), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopIfIndex.setDescription("The ifIndex value of the interface for the outgoing\ninterface for this next-hop.") ipMcastRouteNextHopAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 8), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastRouteNextHopAddress.") ipMcastRouteNextHopAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 9), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastRouteNextHopAddress.setDescription("The address of the next-hop specific to this entry. For\nmost interfaces, this is identical to\nipMcastRouteNextHopGroup. Non-Broadcast Multi-Access\n(NBMA) interfaces, however, may\nhave multiple next-hop addresses out a single outgoing\ninterface.") ipMcastRouteNextHopState = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("pruned", 1), ("forwarding", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteNextHopState.setDescription("An indication of whether the outgoing interface and next-\nhop represented by this entry is currently being used to\nforward IP datagrams. The value 'forwarding' indicates it\nis currently being used; the value 'pruned' indicates it is\n\n\n\nnot.") ipMcastRouteNextHopTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteNextHopTimeStamp.setDescription("The value of sysUpTime at which the multicast routing\ninformation represented by this entry was learned by the\nrouter.\n\nIf this information was present at the most recent re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") ipMcastRouteNextHopExpiryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 12), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteNextHopExpiryTime.setDescription("The minimum amount of time remaining before this entry will\nbe aged out. If ipMcastRouteNextHopState is pruned(1), the\nremaining time until the prune expires and the state reverts\nto forwarding(2). Otherwise, the remaining time until this\nentry is removed from the table. The time remaining may be\ncopied from ipMcastRouteExpiryTime if the protocol in use\nfor this entry does not specify next-hop timers. The value\n0 indicates that the entry is not subject to aging.") ipMcastRouteNextHopClosestMemberHops = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteNextHopClosestMemberHops.setDescription("The minimum number of hops between this router and any\nmember of this IP multicast group reached via this next-hop\non this outgoing interface. Any IP multicast datagrams for\nthe group that have a TTL (IPv4) or Hop Count (IPv6) less\nthan this number of hops will not be forwarded to this\nnext-hop.\n\nA value of 0 means all multicast datagrams are forwarded out\nthe interface. A value of 256 means that no multicast\ndatagrams are forwarded out the interface.\n\n\n\n\nThis is an optimization applied by multicast routing\nprotocols that explicitly track hop counts to downstream\nlisteners. Multicast protocols that are not aware of hop\ncounts to downstream listeners set this object to 0.") ipMcastRouteNextHopProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 14), IANAipMRouteProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteNextHopProtocol.setDescription("The routing mechanism via which this next-hop was learned.") ipMcastRouteNextHopOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteNextHopOctets.setDescription("The number of octets of multicast packets that have been\nforwarded using this route.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteNextHopTimeStamp.") ipMcastRouteNextHopPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 6, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastRouteNextHopPkts.setDescription("The number of packets which have been forwarded using this\nroute.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of routes being\nremoved and replaced, which can be detected by observing\nthe value of ipMcastRouteNextHopTimeStamp.") ipMcastBoundaryTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 7)) if mibBuilder.loadTexts: ipMcastBoundaryTable.setDescription("The (conceptual) table listing the system's multicast scope\nzone boundaries.") ipMcastBoundaryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 7, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastBoundaryIfIndex"), (0, "IPMCAST-MIB", "ipMcastBoundaryAddressType"), (0, "IPMCAST-MIB", "ipMcastBoundaryAddress"), (0, "IPMCAST-MIB", "ipMcastBoundaryAddressPrefixLength")) if mibBuilder.loadTexts: ipMcastBoundaryEntry.setDescription("An entry (conceptual row) describing one of this device's\nmulticast scope zone boundaries.\n\nOIDs are limited to 128 sub-identifiers, but this limit\nis not enforced by the syntax of this entry. In practice,\nthis does not present a problem, because IP address types\nallowed by conformance statements do not exceed this limit.") ipMcastBoundaryIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastBoundaryIfIndex.setDescription("The IfIndex value for the interface to which this boundary\napplies. Packets with a destination address in the\n\n\n\nassociated address/mask range will not be forwarded over\nthis interface.\n\nFor IPv4, zone boundaries cut through links. Therefore,\nthis is an external interface. This may be either a\nphysical or virtual interface (tunnel, encapsulation, and\nso forth.)\n\nFor IPv6, zone boundaries cut through nodes. Therefore,\nthis is a virtual interface within the node. This is not\nan external interface, either real or virtual. Packets\ncrossing this interface neither arrive at nor leave the\nnode, but only move between zones within the node.") ipMcastBoundaryAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 2), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastBoundaryAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastBoundaryAddress. Legal values\ncorrespond to the subset of address families for which\nmulticast forwarding is supported.") ipMcastBoundaryAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 3), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastBoundaryAddress.setDescription("The group address which, when combined with the\ncorresponding value of ipMcastBoundaryAddressPrefixLength,\nidentifies the group range for which the scoped boundary\nexists. Scoped IPv4 multicast address ranges must be\nprefixed by 239.0.0.0/8. Scoped IPv6 multicast address\nranges are FF0x::/16, where x is a valid RFC 4291 multicast\nscope.\n\nAn IPv6 address prefixed by FF1x::/16 is a non-permanently-\nassigned address. An IPv6 address prefixed by FF3x::/16 is\na unicast-prefix-based multicast addresses. A zone boundary\nfor FF0x::/16 implies an identical boundary for these other\nprefixes. No separate FF1x::/16 or FF3x::/16 entries exist\nin this table.\n\nThis address object is only significant up to\n\n\n\nipMcastBoundaryAddressPrefixLength bits. The remaining\naddress bits are set to zero. This is especially important\nfor this index field, which is part of the index of this\nentry. Any non-zero bits would signify an entirely\ndifferent entry.") ipMcastBoundaryAddressPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 4), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastBoundaryAddressPrefixLength.setDescription("The length in bits of the mask which when, combined with\nthe corresponding value of ipMcastBoundaryAddress,\nidentifies the group range for which the scoped boundary\nexists.\n\nThe InetAddressType is given by ipMcastBoundaryAddressType.\nFor values 'ipv4' and 'ipv4z', this object must be in the\nrange 4..32. For values 'ipv6' and 'ipv6z', this object\nmust be set to 16.") ipMcastBoundaryTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastBoundaryTimeStamp.setDescription("The value of sysUpTime at which the multicast boundary\ninformation represented by this entry was learned by the\nrouter.\n\nIf this information was present at the most recent re-\ninitialization of the local management subsystem, then this\nobject contains a zero value.") ipMcastBoundaryDroppedMcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastBoundaryDroppedMcastOctets.setDescription("The number of octets of multicast packets that have been\ndropped as a result of this zone boundary configuration.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of boundary\n\n\n\nconfiguration being removed and replaced, which can be\ndetected by observing the value of\nipMcastBoundaryTimeStamp.") ipMcastBoundaryDroppedMcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastBoundaryDroppedMcastPkts.setDescription("The number of multicast packets that have been dropped as a\nresult of this zone boundary configuration.\n\nDiscontinuities in this monotonically increasing value\noccur at re-initialization of the management system.\nDiscontinuities can also occur as a result of boundary\nconfiguration being removed and replaced, which can be\ndetected by observing the value of\nipMcastBoundaryTimeStamp.") ipMcastBoundaryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastBoundaryStatus.setDescription("The status of this row, by which rows in this table can\nbe created and destroyed.\n\nThis status object can be set to active(1) without setting\nany other columnar objects in this entry.\n\nAll writeable objects in this entry can be modified when the\nstatus of this entry is active(1).") ipMcastBoundaryStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 7, 1, 9), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastBoundaryStorageType.setDescription("The storage type for this row. Rows having the value\n'permanent' need not allow write-access to any columnar\nobjects in the row.") ipMcastScopeNameTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 8)) if mibBuilder.loadTexts: ipMcastScopeNameTable.setDescription("The (conceptual) table listing multicast scope names.") ipMcastScopeNameEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 8, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastScopeNameAddressType"), (0, "IPMCAST-MIB", "ipMcastScopeNameAddress"), (0, "IPMCAST-MIB", "ipMcastScopeNameAddressPrefixLength"), (0, "IPMCAST-MIB", "ipMcastScopeNameLanguage")) if mibBuilder.loadTexts: ipMcastScopeNameEntry.setDescription("An entry (conceptual row) that names a multicast address\nscope.\n\nOIDs are limited to 128 sub-identifiers, but this limit\nis not enforced by the syntax of this entry. In practice,\nthis does not present a problem, because IP address types\nallowed by conformance statements do not exceed this limit.") ipMcastScopeNameAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastScopeNameAddressType.setDescription("A value indicating the address family of the address\n\n\n\ncontained in ipMcastScopeNameAddress. Legal values\ncorrespond to the subset of address families for which\nmulticast forwarding is supported.") ipMcastScopeNameAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastScopeNameAddress.setDescription("The group address which, when combined with the\ncorresponding value of ipMcastScopeNameAddressPrefixLength,\nidentifies the group range associated with the multicast\nscope. Scoped IPv4 multicast address ranges must be\nprefixed by 239.0.0.0/8. Scoped IPv6 multicast address\nranges are FF0x::/16, where x is a valid RFC 4291 multicast\nscope.\n\nAn IPv6 address prefixed by FF1x::/16 is a non-permanently-\nassigned address. An IPv6 address prefixed by FF3x::/16 is\na unicast-prefix-based multicast addresses. A scope\nFF0x::/16 implies an identical scope name for these other\nprefixes. No separate FF1x::/16 or FF3x::/16 entries exist\nin this table.\n\nThis address object is only significant up to\nipMcastScopeNameAddressPrefixLength bits. The remaining\naddress bits are set to zero. This is especially important\nfor this index field, which is part of the index of this\nentry. Any non-zero bits would signify an entirely\ndifferent entry.") ipMcastScopeNameAddressPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 3), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastScopeNameAddressPrefixLength.setDescription("The length in bits of the mask which, when combined with\nthe corresponding value of ipMcastScopeNameAddress,\nidentifies the group range associated with the multicast\nscope.\n\nThe InetAddressType is given by ipMcastScopeNameAddressType.\nFor values 'ipv4' and 'ipv4z', this object must be in the\nrange 4..32. For values 'ipv6' and 'ipv6z', this object\nmust be set to 16.") ipMcastScopeNameLanguage = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 4), LangTag()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastScopeNameLanguage.setDescription("Language tag associated with the scope name.") ipMcastScopeNameString = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 5), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastScopeNameString.setDescription("The textual name associated with the multicast scope. The\nvalue of this object should be suitable for displaying to\nend-users, such as when allocating a multicast address in\nthis scope.\n\nWhen no name is specified, the default value of this object\nfor IPv4 should be the string 239.x.x.x/y with x and y\nreplaced with decimal values to describe the address and\nmask length associated with the scope.\n\nWhen no name is specified, the default value of this object\nfor IPv6 should be the string FF0x::/16, with x replaced by\nthe hexadecimal value for the RFC 4291 multicast scope.\n\nAn IPv6 address prefixed by FF1x::/16 is a non-permanently-\nassigned address. An IPv6 address prefixed by FF3x::/16 is\na unicast-prefix-based multicast addresses. A scope\nFF0x::/16 implies an identical scope name for these other\nprefixes. No separate FF1x::/16 or FF3x::/16 entries exist\nin this table.") ipMcastScopeNameDefault = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 6), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastScopeNameDefault.setDescription("If true, indicates a preference that the name in the\nfollowing language should be used by applications if no name\nis available in a desired language.") ipMcastScopeNameStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastScopeNameStatus.setDescription("The status of this row, by which rows in this table can\nbe created and destroyed. Before the row can be activated,\nthe object ipMcastScopeNameString must be set to a valid\nvalue. All writeable objects in this entry can be modified\nwhen the status is active(1).") ipMcastScopeNameStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 8, 1, 8), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ipMcastScopeNameStorageType.setDescription("The storage type for this row. Rows having the value\n'permanent' need not allow write-access to any columnar\nobjects in the row.") ipMcastLocalListenerTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 9)) if mibBuilder.loadTexts: ipMcastLocalListenerTable.setDescription("The (conceptual) table listing local applications or\nservices that have joined multicast groups as listeners.\n\nEntries exist for all addresses in the multicast range for\nall applications and services as they are classified on this\ndevice.") ipMcastLocalListenerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 9, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastLocalListenerGroupAddressType"), (0, "IPMCAST-MIB", "ipMcastLocalListenerGroupAddress"), (0, "IPMCAST-MIB", "ipMcastLocalListenerSourceAddressType"), (0, "IPMCAST-MIB", "ipMcastLocalListenerSourceAddress"), (0, "IPMCAST-MIB", "ipMcastLocalListenerSourcePrefixLength"), (0, "IPMCAST-MIB", "ipMcastLocalListenerIfIndex"), (0, "IPMCAST-MIB", "ipMcastLocalListenerRunIndex")) if mibBuilder.loadTexts: ipMcastLocalListenerEntry.setDescription("An entry (conceptual row) identifying a local application\nor service that has joined a multicast group as a listener.\n\n\n\n\nOIDs are limited to 128 sub-identifiers, but this limit\nis not enforced by the syntax of this entry. In practice,\nthis does not present a problem, because IP address types\nallowed by conformance statements do not exceed this limit.") ipMcastLocalListenerGroupAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 9, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastLocalListenerGroupAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastLocalListenerGroupAddress. Legal values\ncorrespond to the subset of address families for which\nmulticast is supported.") ipMcastLocalListenerGroupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 9, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastLocalListenerGroupAddress.setDescription("The IP multicast group for which this entry specifies\nlocally joined applications or services.") ipMcastLocalListenerSourceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 9, 1, 3), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastLocalListenerSourceAddressType.setDescription("A value indicating the address family of the address\ncontained in ipMcastLocalListenerSource.\n\nA value of unknown(0) indicates a non-source-specific entry,\ncorresponding to all sources in the group. Otherwise, the\nvalue MUST be the same as the value of\nipMcastLocalListenerGroupAddressType.") ipMcastLocalListenerSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 9, 1, 4), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastLocalListenerSourceAddress.setDescription("The network address which, when combined with the\ncorresponding value of the mask specified in\nipMcastLocalListenerSourcePrefixLength, identifies the\nsources for which this entry specifies a local listener.\n\nThis address object is only significant up to\nipMcastLocalListenerSourcePrefixLength bits. The remaining\naddress bits are set to zero. This is especially important\nfor this index field, which is part of the index of this\nentry. Any non-zero bits would signify an entirely\ndifferent entry.\n\nFor addresses of type ipv4z or ipv6z, the appended zone\nindex is significant even though it lies beyond the prefix\nlength. The use of these address types indicate that this\nlistener address applies only within the given zone. Zone\nindex zero is not valid in this table.") ipMcastLocalListenerSourcePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 9, 1, 5), InetAddressPrefixLength()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastLocalListenerSourcePrefixLength.setDescription("The length in bits of the mask which, when combined with\nthe corresponding value specified in\nipMcastLocalListenerSource, identifies the sources for which\nthis entry specifies a local listener.\n\nThe InetAddressType is given by\nipMcastLocalListenerSourceAddressType. For the value\n'unknown', this object must be zero. For values 'ipv4' and\n'ipv4z', this object must be in the range 4..32. For values\n'ipv6' and 'ipv6z', this object must be in the range\n\n\n\n8..128.") ipMcastLocalListenerIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 9, 1, 6), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastLocalListenerIfIndex.setDescription("The IfIndex value of the interface for which this entry\nspecifies a local listener.") ipMcastLocalListenerRunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 9, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastLocalListenerRunIndex.setDescription("A unique value corresponding to a piece of software running\non this router or host system. Where possible, this should\nbe the system's native, unique identification number.\n\nThis identifier is platform-specific. It may correspond to\na process ID or application instance number.\n\nA value of zero indicates that the application instance(s)\ncannot be identified. A value of zero indicates that one or\nmore unidentified applications have joined the specified\nmulticast groups (for the specified sources) as listeners.") ipMcastZoneTable = MibTable((1, 3, 6, 1, 2, 1, 168, 1, 10)) if mibBuilder.loadTexts: ipMcastZoneTable.setDescription("The (conceptual) table listing scope zones on this device.") ipMcastZoneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 168, 1, 10, 1)).setIndexNames((0, "IPMCAST-MIB", "ipMcastZoneIndex")) if mibBuilder.loadTexts: ipMcastZoneEntry.setDescription("An entry (conceptual row) describing a scope zone on this\ndevice.") ipMcastZoneIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 10, 1, 1), InetZoneIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipMcastZoneIndex.setDescription("This zone index uniquely identifies a zone on a device.\n\nEach zone is for a given scope. Scope-level information in\nthis table is for the unique scope that corresponds to this\nzone.\n\nZero is a special value used to request the default zone for\na given scope. Zero is not a valid value for this object.\n\nTo test whether ipMcastZoneIndex is the default zone for\nthis scope, test whether ipMcastZoneIndex is equal to\nipMcastZoneScopeDefaultZoneIndex.") ipMcastZoneScopeDefaultZoneIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 10, 1, 2), InetZoneIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastZoneScopeDefaultZoneIndex.setDescription("The default zone index for this scope. This is the zone\nthat this device will use if the default (zero) zone is\nrequested for this scope.\n\nZero is not a valid value for this object.") ipMcastZoneScopeAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 10, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastZoneScopeAddressType.setDescription("The IP address type for which this scope zone exists.") ipMcastZoneScopeAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 10, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastZoneScopeAddress.setDescription("The multicast group address which, when combined with\nipMcastZoneScopeAddressPrefixLength, gives the multicast\naddress range for this scope. The InetAddressType is given\nby ipMcastZoneScopeAddressType.\n\nScoped IPv4 multicast address ranges are prefixed by\n239.0.0.0/8. Scoped IPv6 multicast address ranges are\nFF0x::/16, where x is a valid RFC 4291 multicast scope.\n\nAn IPv6 address prefixed by FF1x::/16 is a non-permanently-\nassigned address. An IPv6 address prefixed by FF3x::/16 is\na unicast-prefix-based multicast addresses. A scope\nFF0x::/16 implies an identical scope for these other\nprefixes. No separate FF1x::/16 or FF3x::/16 entries exist\nin this table.\n\nThis address object is only significant up to\nipMcastZoneScopeAddressPrefixLength bits. The remaining\naddress bits are set to zero.") ipMcastZoneScopeAddressPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 168, 1, 10, 1, 5), InetAddressPrefixLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipMcastZoneScopeAddressPrefixLength.setDescription("The length in bits of the mask which, when combined\nwith ipMcastZoneScopeAddress, gives the multicast address\nprefix for this scope.\n\nThe InetAddressType is given by ipMcastZoneScopeAddressType.\nFor values 'ipv4' and 'ipv4z', this object must be in the\nrange 4..32. For values 'ipv6' and 'ipv6z', this object\nmust be set to 16.") ipMcastDeviceConfigStorageType = MibScalar((1, 3, 6, 1, 2, 1, 168, 1, 11), StorageType().clone('nonVolatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipMcastDeviceConfigStorageType.setDescription("The storage type used for the global IP multicast\nconfiguration of this device, comprised of the objects\nlisted below. If this storage type takes the value\n'permanent', write-access to the listed objects need not be\nallowed.\n\nThe objects described by this storage type are:\nipMcastEnabled.") ipMcastMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 168, 2)) ipMcastMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 168, 2, 1)) ipMcastMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 168, 2, 2)) # Augmentions # Groups ipMcastMIBBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 1)).setObjects(*(("IPMCAST-MIB", "ipMcastDeviceConfigStorageType"), ("IPMCAST-MIB", "ipMcastEnabled"), ("IPMCAST-MIB", "ipMcastRouteEntryCount"), ) ) if mibBuilder.loadTexts: ipMcastMIBBasicGroup.setDescription("A collection of objects to support basic management of IP\nMulticast protocols.") ipMcastMIBSsmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 2)).setObjects(*(("IPMCAST-MIB", "ipMcastSsmRangeRowStatus"), ("IPMCAST-MIB", "ipMcastSsmRangeStorageType"), ) ) if mibBuilder.loadTexts: ipMcastMIBSsmGroup.setDescription("A collection of objects to support management of Source-\nSpecific Multicast routing.") ipMcastMIBRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 3)).setObjects(*(("IPMCAST-MIB", "ipMcastRouteUpstreamNeighborType"), ("IPMCAST-MIB", "ipMcastRouteNextHopState"), ("IPMCAST-MIB", "ipMcastRouteInIfIndex"), ("IPMCAST-MIB", "ipMcastRouteNextHopExpiryTime"), ("IPMCAST-MIB", "ipMcastRouteNextHopTimeStamp"), ("IPMCAST-MIB", "ipMcastRouteExpiryTime"), ("IPMCAST-MIB", "ipMcastInterfaceStorageType"), ("IPMCAST-MIB", "ipMcastRouteTimeStamp"), ("IPMCAST-MIB", "ipMcastInterfaceRateLimit"), ("IPMCAST-MIB", "ipMcastInterfaceTtl"), ("IPMCAST-MIB", "ipMcastRouteUpstreamNeighbor"), ) ) if mibBuilder.loadTexts: ipMcastMIBRouteGroup.setDescription("A collection of objects to support basic management of IP\nMulticast routing.") ipMcastMIBRouteDiagnosticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 4)).setObjects(*(("IPMCAST-MIB", "ipMcastRouteTtlDropPackets"), ("IPMCAST-MIB", "ipMcastRouteDifferentInIfPackets"), ("IPMCAST-MIB", "ipMcastRoutePkts"), ) ) if mibBuilder.loadTexts: ipMcastMIBRouteDiagnosticsGroup.setDescription("A collection of routing diagnostic packet counters.") ipMcastMIBPktsOutGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 5)).setObjects(*(("IPMCAST-MIB", "ipMcastRouteNextHopTimeStamp"), ("IPMCAST-MIB", "ipMcastRouteNextHopPkts"), ) ) if mibBuilder.loadTexts: ipMcastMIBPktsOutGroup.setDescription("A collection of objects to support management of packet\ncounters for each outgoing interface entry of a route.") ipMcastMIBHopCountGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 6)).setObjects(*(("IPMCAST-MIB", "ipMcastRouteNextHopClosestMemberHops"), ) ) if mibBuilder.loadTexts: ipMcastMIBHopCountGroup.setDescription("A collection of objects to support management of the use of\nhop counts in IP Multicast routing.") ipMcastMIBRouteOctetsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 7)).setObjects(*(("IPMCAST-MIB", "ipMcastRouteOctets"), ("IPMCAST-MIB", "ipMcastRouteDifferentInIfOctets"), ("IPMCAST-MIB", "ipMcastRouteTimeStamp"), ("IPMCAST-MIB", "ipMcastRouteNextHopOctets"), ("IPMCAST-MIB", "ipMcastRouteNextHopTimeStamp"), ("IPMCAST-MIB", "ipMcastRouteTtlDropOctets"), ) ) if mibBuilder.loadTexts: ipMcastMIBRouteOctetsGroup.setDescription("A collection of objects to support management of octet\ncounters for each forwarding entry.") ipMcastMIBRouteBpsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 8)).setObjects(*(("IPMCAST-MIB", "ipMcastRouteBps"), ) ) if mibBuilder.loadTexts: ipMcastMIBRouteBpsGroup.setDescription("A collection of objects to support sampling of data rate\nin bits per second for each forwarding entry.") ipMcastMIBRouteProtoGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 9)).setObjects(*(("IPMCAST-MIB", "ipMcastRouteRtProtocol"), ("IPMCAST-MIB", "ipMcastRouteRtAddress"), ("IPMCAST-MIB", "ipMcastRouteRtPrefixLength"), ("IPMCAST-MIB", "ipMcastRouteProtocol"), ("IPMCAST-MIB", "ipMcastRouteRtType"), ("IPMCAST-MIB", "ipMcastRouteNextHopProtocol"), ("IPMCAST-MIB", "ipMcastRouteRtAddressType"), ) ) if mibBuilder.loadTexts: ipMcastMIBRouteProtoGroup.setDescription("A collection of objects providing information on the\nrelationship between multicast routing information and the\nIP Forwarding Table.") ipMcastMIBLocalListenerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 10)).setObjects(*(("IPMCAST-MIB", "ipMcastLocalListenerRunIndex"), ) ) if mibBuilder.loadTexts: ipMcastMIBLocalListenerGroup.setDescription("A collection of objects to support management of local\nlisteners on hosts or routers.") ipMcastMIBBoundaryIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 11)).setObjects(*(("IPMCAST-MIB", "ipMcastBoundaryStorageType"), ("IPMCAST-MIB", "ipMcastBoundaryTimeStamp"), ("IPMCAST-MIB", "ipMcastBoundaryDroppedMcastOctets"), ("IPMCAST-MIB", "ipMcastZoneScopeDefaultZoneIndex"), ("IPMCAST-MIB", "ipMcastBoundaryStatus"), ("IPMCAST-MIB", "ipMcastZoneScopeAddress"), ("IPMCAST-MIB", "ipMcastZoneScopeAddressType"), ("IPMCAST-MIB", "ipMcastBoundaryDroppedMcastPkts"), ("IPMCAST-MIB", "ipMcastZoneScopeAddressPrefixLength"), ) ) if mibBuilder.loadTexts: ipMcastMIBBoundaryIfGroup.setDescription("A collection of objects to support management of multicast\nscope zone boundaries.") ipMcastMIBScopeNameGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 168, 2, 2, 12)).setObjects(*(("IPMCAST-MIB", "ipMcastScopeNameDefault"), ("IPMCAST-MIB", "ipMcastScopeNameStatus"), ("IPMCAST-MIB", "ipMcastScopeNameStorageType"), ("IPMCAST-MIB", "ipMcastScopeNameString"), ) ) if mibBuilder.loadTexts: ipMcastMIBScopeNameGroup.setDescription("A collection of objects to support management of multicast\naddress scope names.") # Compliances ipMcastMIBComplianceHost = ModuleCompliance((1, 3, 6, 1, 2, 1, 168, 2, 1, 1)).setObjects(*(("IPMCAST-MIB", "ipMcastMIBBasicGroup"), ("IPMCAST-MIB", "ipMcastMIBScopeNameGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteDiagnosticsGroup"), ("IPMCAST-MIB", "ipMcastMIBSsmGroup"), ("IPMCAST-MIB", "ipMcastMIBBoundaryIfGroup"), ("IPMCAST-MIB", "ipMcastMIBLocalListenerGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteGroup"), ) ) if mibBuilder.loadTexts: ipMcastMIBComplianceHost.setDescription("The compliance statement for hosts supporting IPMCAST-MIB.\n\nSupport for either InetAddressType ipv4 or ipv6 is\nmandatory; support for both InetAddressTypes ipv4 and ipv6\nis optional. Support for types ipv4z and ipv6z is\noptional.\n\n-- OBJECT ipMcastLocalListenerGroupAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastLocalListenerGroupAddress\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastLocalListenerSourceAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastLocalListenerSourceAddress\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.") ipMcastMIBComplianceRouter = ModuleCompliance((1, 3, 6, 1, 2, 1, 168, 2, 1, 2)).setObjects(*(("IPMCAST-MIB", "ipMcastMIBRouteProtoGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteOctetsGroup"), ("IPMCAST-MIB", "ipMcastMIBPktsOutGroup"), ("IPMCAST-MIB", "ipMcastMIBLocalListenerGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteBpsGroup"), ("IPMCAST-MIB", "ipMcastMIBBasicGroup"), ("IPMCAST-MIB", "ipMcastMIBScopeNameGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteDiagnosticsGroup"), ("IPMCAST-MIB", "ipMcastMIBHopCountGroup"), ("IPMCAST-MIB", "ipMcastMIBSsmGroup"), ("IPMCAST-MIB", "ipMcastMIBBoundaryIfGroup"), ) ) if mibBuilder.loadTexts: ipMcastMIBComplianceRouter.setDescription("The compliance statement for routers supporting\nIPMCAST-MIB.\n\nSupport for either InetAddressType ipv4 or ipv6 is\nmandatory; support for both InetAddressTypes ipv4 and ipv6\nis optional. Support for types ipv4z and ipv6z is\noptional.\n\n-- OBJECT ipMcastSsmRangeAddressType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2), ipv4z(3),\n-- ipv6z(4)}\n\n\n\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastSsmRangeAddress\n-- SYNTAX InetAddress (SIZE (4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteGroupAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteGroup\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteSourceAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteSource\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteNextHopGroupAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteNextHopGroup\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteNextHopSourceAddressType\n\n\n\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteNextHopSource\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteNextHopAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteNextHopAddress\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.") ipMcastMIBComplianceBorderRouter = ModuleCompliance((1, 3, 6, 1, 2, 1, 168, 2, 1, 3)).setObjects(*(("IPMCAST-MIB", "ipMcastMIBRouteProtoGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteOctetsGroup"), ("IPMCAST-MIB", "ipMcastMIBPktsOutGroup"), ("IPMCAST-MIB", "ipMcastMIBLocalListenerGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteBpsGroup"), ("IPMCAST-MIB", "ipMcastMIBBasicGroup"), ("IPMCAST-MIB", "ipMcastMIBScopeNameGroup"), ("IPMCAST-MIB", "ipMcastMIBRouteDiagnosticsGroup"), ("IPMCAST-MIB", "ipMcastMIBHopCountGroup"), ("IPMCAST-MIB", "ipMcastMIBSsmGroup"), ("IPMCAST-MIB", "ipMcastMIBBoundaryIfGroup"), ) ) if mibBuilder.loadTexts: ipMcastMIBComplianceBorderRouter.setDescription("The compliance statement for routers on scope\nboundaries supporting IPMCAST-MIB.\n\nSupport for either InetAddressType ipv4z or ipv6z is\nmandatory; support for both InetAddressTypes ipv4z and\nipv6z is optional.\n\n-- OBJECT ipMcastSsmRangeAddressType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2), ipv4z(3),\n-- ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastSsmRangeAddress\n-- SYNTAX InetAddress (SIZE (4|8|16|20))\n\n\n\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteGroupAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 or ipv6.\n--\n-- OBJECT ipMcastRouteGroup\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastRouteSourceAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastRouteSource\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastRouteNextHopGroupAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastRouteNextHopGroup\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastRouteNextHopSourceAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n\n\n\n--\n-- OBJECT ipMcastRouteNextHopSource\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastRouteNextHopAddressType\n-- SYNTAX InetAddressType {unknown(0), ipv4(1), ipv6(2),\n-- ipv4z(3), ipv6z(4)}\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastRouteNextHopAddress\n-- SYNTAX InetAddress (SIZE (0|4|8|16|20))\n-- DESCRIPTION\n-- This compliance requires support for unknown and\n-- either ipv4 and ipv4z or ipv6 and ipv6z.\n--\n-- OBJECT ipMcastBoundaryAddressType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastBoundaryAddress\n-- SYNTAX InetAddress (SIZE (4|16)\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastScopeNameAddressType\n-- SYNTAX InetAddressType {ipv4(1), ipv6(2)}\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.\n--\n-- OBJECT ipMcastScopeNameAddress\n-- SYNTAX InetAddress (SIZE (4|16)\n-- DESCRIPTION\n-- This compliance requires support for ipv4 or ipv6.") # Exports # Module identity mibBuilder.exportSymbols("IPMCAST-MIB", PYSNMP_MODULE_ID=ipMcastMIB) # Objects mibBuilder.exportSymbols("IPMCAST-MIB", ipMcastMIB=ipMcastMIB, ipMcast=ipMcast, ipMcastEnabled=ipMcastEnabled, ipMcastRouteEntryCount=ipMcastRouteEntryCount, ipMcastInterfaceTable=ipMcastInterfaceTable, ipMcastInterfaceEntry=ipMcastInterfaceEntry, ipMcastInterfaceIPVersion=ipMcastInterfaceIPVersion, ipMcastInterfaceIfIndex=ipMcastInterfaceIfIndex, ipMcastInterfaceTtl=ipMcastInterfaceTtl, ipMcastInterfaceRateLimit=ipMcastInterfaceRateLimit, ipMcastInterfaceStorageType=ipMcastInterfaceStorageType, ipMcastSsmRangeTable=ipMcastSsmRangeTable, ipMcastSsmRangeEntry=ipMcastSsmRangeEntry, ipMcastSsmRangeAddressType=ipMcastSsmRangeAddressType, ipMcastSsmRangeAddress=ipMcastSsmRangeAddress, ipMcastSsmRangePrefixLength=ipMcastSsmRangePrefixLength, ipMcastSsmRangeRowStatus=ipMcastSsmRangeRowStatus, ipMcastSsmRangeStorageType=ipMcastSsmRangeStorageType, ipMcastRouteTable=ipMcastRouteTable, ipMcastRouteEntry=ipMcastRouteEntry, ipMcastRouteGroupAddressType=ipMcastRouteGroupAddressType, ipMcastRouteGroup=ipMcastRouteGroup, ipMcastRouteGroupPrefixLength=ipMcastRouteGroupPrefixLength, ipMcastRouteSourceAddressType=ipMcastRouteSourceAddressType, ipMcastRouteSource=ipMcastRouteSource, ipMcastRouteSourcePrefixLength=ipMcastRouteSourcePrefixLength, ipMcastRouteUpstreamNeighborType=ipMcastRouteUpstreamNeighborType, ipMcastRouteUpstreamNeighbor=ipMcastRouteUpstreamNeighbor, ipMcastRouteInIfIndex=ipMcastRouteInIfIndex, ipMcastRouteTimeStamp=ipMcastRouteTimeStamp, ipMcastRouteExpiryTime=ipMcastRouteExpiryTime, ipMcastRouteProtocol=ipMcastRouteProtocol, ipMcastRouteRtProtocol=ipMcastRouteRtProtocol, ipMcastRouteRtAddressType=ipMcastRouteRtAddressType, ipMcastRouteRtAddress=ipMcastRouteRtAddress, ipMcastRouteRtPrefixLength=ipMcastRouteRtPrefixLength, ipMcastRouteRtType=ipMcastRouteRtType, ipMcastRouteOctets=ipMcastRouteOctets, ipMcastRoutePkts=ipMcastRoutePkts, ipMcastRouteTtlDropOctets=ipMcastRouteTtlDropOctets, ipMcastRouteTtlDropPackets=ipMcastRouteTtlDropPackets, ipMcastRouteDifferentInIfOctets=ipMcastRouteDifferentInIfOctets, ipMcastRouteDifferentInIfPackets=ipMcastRouteDifferentInIfPackets, ipMcastRouteBps=ipMcastRouteBps, ipMcastRouteNextHopTable=ipMcastRouteNextHopTable, ipMcastRouteNextHopEntry=ipMcastRouteNextHopEntry, ipMcastRouteNextHopGroupAddressType=ipMcastRouteNextHopGroupAddressType, ipMcastRouteNextHopGroup=ipMcastRouteNextHopGroup, ipMcastRouteNextHopGroupPrefixLength=ipMcastRouteNextHopGroupPrefixLength, ipMcastRouteNextHopSourceAddressType=ipMcastRouteNextHopSourceAddressType, ipMcastRouteNextHopSource=ipMcastRouteNextHopSource, ipMcastRouteNextHopSourcePrefixLength=ipMcastRouteNextHopSourcePrefixLength, ipMcastRouteNextHopIfIndex=ipMcastRouteNextHopIfIndex, ipMcastRouteNextHopAddressType=ipMcastRouteNextHopAddressType, ipMcastRouteNextHopAddress=ipMcastRouteNextHopAddress, ipMcastRouteNextHopState=ipMcastRouteNextHopState, ipMcastRouteNextHopTimeStamp=ipMcastRouteNextHopTimeStamp, ipMcastRouteNextHopExpiryTime=ipMcastRouteNextHopExpiryTime, ipMcastRouteNextHopClosestMemberHops=ipMcastRouteNextHopClosestMemberHops, ipMcastRouteNextHopProtocol=ipMcastRouteNextHopProtocol, ipMcastRouteNextHopOctets=ipMcastRouteNextHopOctets, ipMcastRouteNextHopPkts=ipMcastRouteNextHopPkts, ipMcastBoundaryTable=ipMcastBoundaryTable, ipMcastBoundaryEntry=ipMcastBoundaryEntry, ipMcastBoundaryIfIndex=ipMcastBoundaryIfIndex, ipMcastBoundaryAddressType=ipMcastBoundaryAddressType, ipMcastBoundaryAddress=ipMcastBoundaryAddress, ipMcastBoundaryAddressPrefixLength=ipMcastBoundaryAddressPrefixLength, ipMcastBoundaryTimeStamp=ipMcastBoundaryTimeStamp, ipMcastBoundaryDroppedMcastOctets=ipMcastBoundaryDroppedMcastOctets, ipMcastBoundaryDroppedMcastPkts=ipMcastBoundaryDroppedMcastPkts, ipMcastBoundaryStatus=ipMcastBoundaryStatus, ipMcastBoundaryStorageType=ipMcastBoundaryStorageType, ipMcastScopeNameTable=ipMcastScopeNameTable, ipMcastScopeNameEntry=ipMcastScopeNameEntry, ipMcastScopeNameAddressType=ipMcastScopeNameAddressType, ipMcastScopeNameAddress=ipMcastScopeNameAddress, ipMcastScopeNameAddressPrefixLength=ipMcastScopeNameAddressPrefixLength, ipMcastScopeNameLanguage=ipMcastScopeNameLanguage, ipMcastScopeNameString=ipMcastScopeNameString, ipMcastScopeNameDefault=ipMcastScopeNameDefault, ipMcastScopeNameStatus=ipMcastScopeNameStatus, ipMcastScopeNameStorageType=ipMcastScopeNameStorageType, ipMcastLocalListenerTable=ipMcastLocalListenerTable, ipMcastLocalListenerEntry=ipMcastLocalListenerEntry, ipMcastLocalListenerGroupAddressType=ipMcastLocalListenerGroupAddressType, ipMcastLocalListenerGroupAddress=ipMcastLocalListenerGroupAddress, ipMcastLocalListenerSourceAddressType=ipMcastLocalListenerSourceAddressType, ipMcastLocalListenerSourceAddress=ipMcastLocalListenerSourceAddress, ipMcastLocalListenerSourcePrefixLength=ipMcastLocalListenerSourcePrefixLength, ipMcastLocalListenerIfIndex=ipMcastLocalListenerIfIndex, ipMcastLocalListenerRunIndex=ipMcastLocalListenerRunIndex, ipMcastZoneTable=ipMcastZoneTable, ipMcastZoneEntry=ipMcastZoneEntry, ipMcastZoneIndex=ipMcastZoneIndex, ipMcastZoneScopeDefaultZoneIndex=ipMcastZoneScopeDefaultZoneIndex, ipMcastZoneScopeAddressType=ipMcastZoneScopeAddressType, ipMcastZoneScopeAddress=ipMcastZoneScopeAddress, ipMcastZoneScopeAddressPrefixLength=ipMcastZoneScopeAddressPrefixLength, ipMcastDeviceConfigStorageType=ipMcastDeviceConfigStorageType, ipMcastMIBConformance=ipMcastMIBConformance, ipMcastMIBCompliances=ipMcastMIBCompliances, ipMcastMIBGroups=ipMcastMIBGroups) # Groups mibBuilder.exportSymbols("IPMCAST-MIB", ipMcastMIBBasicGroup=ipMcastMIBBasicGroup, ipMcastMIBSsmGroup=ipMcastMIBSsmGroup, ipMcastMIBRouteGroup=ipMcastMIBRouteGroup, ipMcastMIBRouteDiagnosticsGroup=ipMcastMIBRouteDiagnosticsGroup, ipMcastMIBPktsOutGroup=ipMcastMIBPktsOutGroup, ipMcastMIBHopCountGroup=ipMcastMIBHopCountGroup, ipMcastMIBRouteOctetsGroup=ipMcastMIBRouteOctetsGroup, ipMcastMIBRouteBpsGroup=ipMcastMIBRouteBpsGroup, ipMcastMIBRouteProtoGroup=ipMcastMIBRouteProtoGroup, ipMcastMIBLocalListenerGroup=ipMcastMIBLocalListenerGroup, ipMcastMIBBoundaryIfGroup=ipMcastMIBBoundaryIfGroup, ipMcastMIBScopeNameGroup=ipMcastMIBScopeNameGroup) # Compliances mibBuilder.exportSymbols("IPMCAST-MIB", ipMcastMIBComplianceHost=ipMcastMIBComplianceHost, ipMcastMIBComplianceRouter=ipMcastMIBComplianceRouter, ipMcastMIBComplianceBorderRouter=ipMcastMIBComplianceBorderRouter) pysnmp-mibs-0.1.3/pysnmp_mibs/SIP-UA-MIB.py0000644000014400001440000001572711736645137020410 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SIP-UA-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:38 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( applIndex, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "applIndex") ( SipTCEntityRole, ) = mibBuilder.importSymbols("SIP-TC-MIB", "SipTCEntityRole") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") # Objects sipUAMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 150)).setRevisions(("2007-04-20 00:00",)) if mibBuilder.loadTexts: sipUAMIB.setOrganization("IETF Session Initiation Protocol Working Group") if mibBuilder.loadTexts: sipUAMIB.setContactInfo("SIP WG email: sip@ietf.org\n\nCo-editor Kevin Lingle\n\n\n\n Cisco Systems, Inc.\npostal: 7025 Kit Creek Road\n P.O. Box 14987\n Research Triangle Park, NC 27709\n USA\nemail: klingle@cisco.com\nphone: +1 919 476 2029\n\nCo-editor Joon Maeng\nemail: jmaeng@austin.rr.com\n\nCo-editor Jean-Francois Mule\n CableLabs\npostal: 858 Coal Creek Circle\n Louisville, CO 80027\n USA\nemail: jf.mule@cablelabs.com\nphone: +1 303 661 9100\n\nCo-editor Dave Walker\nemail: drwalker@rogers.com") if mibBuilder.loadTexts: sipUAMIB.setDescription("Session Initiation Protocol (SIP) User Agent (UA) MIB module.\n\nSIP is an application-layer signaling protocol for creating,\nmodifying, and terminating multimedia sessions with one or more\nparticipants. These sessions include Internet multimedia\nconferences and Internet telephone calls. SIP is defined in\nRFC 3261 (June 2002).\n\nA User Agent is an application that contains both a User Agent\nClient (UAC) and a User Agent Server (UAS). A UAC is an\napplication that initiates a SIP request. A UAS is an\napplication that contacts the user when a SIP request is\nreceived and that returns a response on behalf of the user.\nThe response accepts, rejects, or redirects the request.\n\nCopyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4780; see the RFC itself for\nfull legal notices.") sipUAMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 150, 1)) sipUACfgServer = MibIdentifier((1, 3, 6, 1, 2, 1, 150, 1, 1)) sipUACfgServerTable = MibTable((1, 3, 6, 1, 2, 1, 150, 1, 1, 1)) if mibBuilder.loadTexts: sipUACfgServerTable.setDescription("This table contains SIP server configuration objects applicable\nto each SIP user agent in this system.") sipUACfgServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 150, 1, 1, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-UA-MIB", "sipUACfgServerIndex")) if mibBuilder.loadTexts: sipUACfgServerEntry.setDescription("A row of server configuration.\n\nEach row represents those objects for a particular SIP user\nagent present in this system. applIndex is used to uniquely\nidentify these instances of SIP user agents and correlate\nthem through the common framework of the NETWORK-SERVICES-MIB\n(RFC 2788). The same value of applIndex used in the\ncorresponding SIP-COMMON-MIB is used here.") sipUACfgServerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 150, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sipUACfgServerIndex.setDescription("A unique identifier of a server address when multiple addresses\n\n\nare configured by the SIP entity. If one address isn't\nreachable, then another can be tried.") sipUACfgServerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 150, 1, 1, 1, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipUACfgServerAddressType.setDescription("This object reflects the type of address contained in the\nassociated instance of sipUACfgServerAddress.") sipUACfgServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 150, 1, 1, 1, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipUACfgServerAddress.setDescription("This object reflects the address of a SIP server this user\nagent will use to proxy/redirect calls. The type of this\naddress is determined by the value of the\nsipUACfgServerAddressType object.") sipUACfgServerRole = MibTableColumn((1, 3, 6, 1, 2, 1, 150, 1, 1, 1, 1, 4), SipTCEntityRole()).setMaxAccess("readonly") if mibBuilder.loadTexts: sipUACfgServerRole.setDescription("This object reflects the function of the SIP server this user\nagent should communicate with: registrar, proxy (outbound\nproxy), etc.") sipUAMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 150, 2)) sipUAMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 150, 2, 1)) sipUAMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 150, 2, 2)) # Augmentions # Groups sipUAConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 150, 2, 2, 1)).setObjects(*(("SIP-UA-MIB", "sipUACfgServerAddressType"), ("SIP-UA-MIB", "sipUACfgServerAddress"), ("SIP-UA-MIB", "sipUACfgServerRole"), ) ) if mibBuilder.loadTexts: sipUAConfigGroup.setDescription("A collection of objects providing information about the\nconfiguration of SIP User Agents.") # Compliances sipUACompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 150, 2, 1, 1)).setObjects(*(("SIP-UA-MIB", "sipUAConfigGroup"), ) ) if mibBuilder.loadTexts: sipUACompliance.setDescription("The compliance statement for SIP entities that implement the\nSIP-UA-MIB module.") # Exports # Module identity mibBuilder.exportSymbols("SIP-UA-MIB", PYSNMP_MODULE_ID=sipUAMIB) # Objects mibBuilder.exportSymbols("SIP-UA-MIB", sipUAMIB=sipUAMIB, sipUAMIBObjects=sipUAMIBObjects, sipUACfgServer=sipUACfgServer, sipUACfgServerTable=sipUACfgServerTable, sipUACfgServerEntry=sipUACfgServerEntry, sipUACfgServerIndex=sipUACfgServerIndex, sipUACfgServerAddressType=sipUACfgServerAddressType, sipUACfgServerAddress=sipUACfgServerAddress, sipUACfgServerRole=sipUACfgServerRole, sipUAMIBConformance=sipUAMIBConformance, sipUAMIBCompliances=sipUAMIBCompliances, sipUAMIBGroups=sipUAMIBGroups) # Groups mibBuilder.exportSymbols("SIP-UA-MIB", sipUAConfigGroup=sipUAConfigGroup) # Compliances mibBuilder.exportSymbols("SIP-UA-MIB", sipUACompliance=sipUACompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ATM2-MIB.py0000644000014400001440000032075711736645135020155 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ATM2-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:43 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( atmInterfaceConfEntry, atmMIBObjects, atmVcCrossConnectEntry, atmVclEntry, atmVclVci, atmVclVpi, atmVpCrossConnectEntry, atmVplEntry, atmVplVpi, ) = mibBuilder.importSymbols("ATM-MIB", "atmInterfaceConfEntry", "atmMIBObjects", "atmVcCrossConnectEntry", "atmVclEntry", "atmVclVci", "atmVclVpi", "atmVpCrossConnectEntry", "atmVplEntry", "atmVplVpi") ( AtmAddr, AtmIlmiNetworkPrefix, AtmInterfaceType, AtmSigDescrParamIndex, AtmTrafficDescrParamIndex, AtmVcIdentifier, AtmVpIdentifier, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmAddr", "AtmIlmiNetworkPrefix", "AtmInterfaceType", "AtmSigDescrParamIndex", "AtmTrafficDescrParamIndex", "AtmVcIdentifier", "AtmVpIdentifier") ( InterfaceIndex, InterfaceIndexOrZero, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TimeStamp", "TruthValue") # Objects atm2MIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 37, 1, 14)).setRevisions(("2003-09-23 00:00",)) if mibBuilder.loadTexts: atm2MIB.setOrganization("IETF AToMMIB Working Group") if mibBuilder.loadTexts: atm2MIB.setContactInfo("AToMMIB WG\nhttp://www.ietf.org/html.charters/atommib-charter.html\nEditors:\n Faye Ly\nPostal: Pedestal Networks\n 6503 Dumbarton Circle\n Fremont, CA 94555\n USA\nTel: +1 510 896 2908\nE-Mail: faye@pedestalnetworks.com\n\n Michael Noto\nPostal: Cisco Systems\n 170 W. Tasman Drive\n San Jose, CA 95134-1706\n USA\n\nE-mail: mnoto@cisco.com\n\n Andrew Smith\nPostal: Consultant\n\nE-Mail: ah_smith@acm.org\n\n Ethan Mickey Spiegel\nPostal: Cisco Systems\n 170 W. Tasman Drive\n San Jose, CA 95134-1706\n USA\nTel: +1 408 526 6408\nFax: +1 408 526 6488\nE-Mail: mspiegel@cisco.com\n\n Kaj Tesink\nPostal: Telcordia Technologies\n 331 Newman Springs Road\n\n\n\n Red Bank, NJ 07701\n USA\nTel: +1 732 758 5254\nE-mail: kaj@research.telcordia.com") if mibBuilder.loadTexts: atm2MIB.setDescription("Copyright (C) The Internet Society (2003). This version of\nthis MIB module is part of RFC 3606; see the RFC itself for\nfull legal notices.\n\nThis MIB Module is a supplement to the ATM-MIB\ndefined in RFC 2515.") atm2MIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 14, 1)) atmSvcVpCrossConnectTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1)) if mibBuilder.loadTexts: atmSvcVpCrossConnectTable.setDescription("The ATM SVPC Cross-Connect table. A\nbi-directional VP cross-connect between two\nswitched VPLs is modeled as one entry in this\ntable. A Soft PVPC cross-connect, between a\nsoft permanent VPL and a switched VPL, is\nalso modeled as one entry in this table.") atmSvcVpCrossConnectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1)).setIndexNames((0, "ATM2-MIB", "atmSvcVpCrossConnectIndex"), (0, "ATM2-MIB", "atmSvcVpCrossConnectLowIfIndex"), (0, "ATM2-MIB", "atmSvcVpCrossConnectLowVpi"), (0, "ATM2-MIB", "atmSvcVpCrossConnectHighIfIndex"), (0, "ATM2-MIB", "atmSvcVpCrossConnectHighVpi")) if mibBuilder.loadTexts: atmSvcVpCrossConnectEntry.setDescription("An entry in the ATM SVPC Cross-Connect table.\nThis entry is used to model a bi-directional\nATM VP cross-connect between two VPLs.") atmSvcVpCrossConnectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVpCrossConnectIndex.setDescription("A unique value to identify this SVPC\ncross-connect. For each VP associated\nwith this cross-connect, the agent reports\nthis cross-connect index value in the\natmVplCrossConnectIdentifer attribute of the\n\n\n\ncorresponding atmVplTable entries.") atmSvcVpCrossConnectLowIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVpCrossConnectLowIfIndex.setDescription("The value of this object is equal to the\nifIndex value of the ATM interface port for this\nSVPC cross-connect. The term low implies\nthat this ATM interface has the numerically lower\nifIndex value than the other ATM interface\nidentified in the same atmSvcVpCrossConnectEntry.") atmSvcVpCrossConnectLowVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1, 3), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVpCrossConnectLowVpi.setDescription("The value of this object is equal to the VPI\nvalue associated with the SVPC cross-connect\nat the ATM interface that is identified by\natmSvcVpCrossConnectLowIfIndex. The VPI value\ncannot exceed the number supported by the\natmInterfaceCurrentMaxSvpcVpi at the low ATM interface\nport.") atmSvcVpCrossConnectHighIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1, 4), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVpCrossConnectHighIfIndex.setDescription("The value of this object is equal to the\nifIndex value of the ATM interface port for\nthis SVC VP cross-connect. The term high\nimplies that this ATM interface has the\nnumerically higher ifIndex value than the\nother ATM interface identified in the same\natmSvcVpCrossConnectEntry.") atmSvcVpCrossConnectHighVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1, 5), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVpCrossConnectHighVpi.setDescription("The value of this object is equal to the VPI\nvalue associated with the SVPC cross-connect\nat the ATM interface that is identified by\natmSvcVpCrossConnectHighIfIndex. The VPI value\ncannot exceed the number supported by the\natmInterfaceCurrentMaxSvpcVpi at the high ATM interface\nport.") atmSvcVpCrossConnectCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSvcVpCrossConnectCreationTime.setDescription("The value of the sysUpTime object\nat the time this bi-directional SVPC\ncross-connect was created. If the current\nstate was entered prior to the last\nre-initialization of the agent, then this\nobject contains a zero value.") atmSvcVpCrossConnectRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 1, 1, 7), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSvcVpCrossConnectRowStatus.setDescription("This object is used to delete rows in the\natmSvcVpCrossConnectTable.") atmSvcVcCrossConnectTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2)) if mibBuilder.loadTexts: atmSvcVcCrossConnectTable.setDescription("The ATM SVCC Cross-Connect table. A\nbi-directional VC cross-connect between two\nswitched VCLs is modeled as one entry in\nthis table. A Soft PVCC cross-connect,\nbetween a soft permanent VCL and a switched\nVCL, is also modeled as one entry in this\ntable.") atmSvcVcCrossConnectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1)).setIndexNames((0, "ATM2-MIB", "atmSvcVcCrossConnectIndex"), (0, "ATM2-MIB", "atmSvcVcCrossConnectLowIfIndex"), (0, "ATM2-MIB", "atmSvcVcCrossConnectLowVpi"), (0, "ATM2-MIB", "atmSvcVcCrossConnectLowVci"), (0, "ATM2-MIB", "atmSvcVcCrossConnectHighIfIndex"), (0, "ATM2-MIB", "atmSvcVcCrossConnectHighVpi"), (0, "ATM2-MIB", "atmSvcVcCrossConnectHighVci")) if mibBuilder.loadTexts: atmSvcVcCrossConnectEntry.setDescription("An entry in the ATM SVCC Cross-Connect table.\nThis entry is used to model a bi-directional ATM\nVC cross-connect between two VCLs.") atmSvcVcCrossConnectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVcCrossConnectIndex.setDescription("A unique value to identify this SVCC cross-connect.\nFor each VP associated with this cross-connect, the\nagent reports this cross-connect index value in the\natmVclCrossConnectIdentifier attribute of the\ncorresponding atmVplTable entries.") atmSvcVcCrossConnectLowIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVcCrossConnectLowIfIndex.setDescription("The value of this object is equal to the\nifIndex value of the ATM interface port for this\n\n\n\nSVCC cross-connect. The term low implies that\nthis ATM interface has the numerically lower\nifIndex value than the other ATM interface\nidentified in the same atmSvcVcCrossConnectEntry.") atmSvcVcCrossConnectLowVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 3), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVcCrossConnectLowVpi.setDescription("The value of this object is equal to the VPI\nvalue associated with the SVCC cross-connect\nat the ATM interface that is identified by\natmSvcVcCrossConnectLowIfIndex. The VPI value\ncannot exceed the number supported by the\natmInterfaceCurrentMaxSvccVpi at the low ATM interface\nport.") atmSvcVcCrossConnectLowVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 4), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVcCrossConnectLowVci.setDescription("The value of this object is equal to the VCI\nvalue associated with the SVCC cross-connect\nat the ATM interface that is identified by\natmSvcVcCrossConnectLowIfIndex. The VCI value\ncannot exceed the number supported by the\natmInterfaceCurrentMaxSvccVci at the low ATM interface\nport.") atmSvcVcCrossConnectHighIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 5), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVcCrossConnectHighIfIndex.setDescription("The value of this object is equal to the\nifIndex value for the ATM interface port for\nthis SVCC cross-connect. The term high implies\nthat this ATM interface has the numerically\nhigher ifIndex value than the other ATM interface\nidentified in the same atmSvcVcCrossConnectEntry.") atmSvcVcCrossConnectHighVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 6), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVcCrossConnectHighVpi.setDescription("The value of this object is equal to the VPI\nvalue associated with the SVCC cross-connect\nat the ATM interface that is identified by\natmSvcVcCrossConnectHighIfIndex. The VPI value\ncannot exceed the number supported by the\natmInterfaceCurrentMaxSvccVpi at the high ATM interface\nport.") atmSvcVcCrossConnectHighVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 7), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSvcVcCrossConnectHighVci.setDescription("The value of this object is equal to the VCI\nvalue associated with the SVCC cross-connect\nat the ATM interface that is identified by\natmSvcVcCrossConnectHighIfIndex. The VCI value\ncannot exceed the number supported by the\natmInterfaceMaxVciBits at the high ATM interface\nport.") atmSvcVcCrossConnectCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSvcVcCrossConnectCreationTime.setDescription("The value of the sysUpTime object\nat the time this bi-directional SVCC\ncross-connect was created. If the current\nstate was entered prior to the last\nre-initialization of the agent, then this\nobject contains a zero value.") atmSvcVcCrossConnectRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 2, 1, 9), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSvcVcCrossConnectRowStatus.setDescription("This object is used to delete rows in the\natmSvcVcCrossConnectTable.") atmSigStatTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3)) if mibBuilder.loadTexts: atmSigStatTable.setDescription("This table contains ATM interface signalling\nstatistics, one entry per ATM signalling\ninterface.") atmSigStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: atmSigStatEntry.setDescription("This list contains signalling statistics variables.") atmSigSSCOPConEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigSSCOPConEvents.setDescription("SSCOP Connection Events Counter. This counter counts\nthe sum of the following errors:\n\n1) SSCOP Connection Disconnect Counter\n\n The abnormal occurrence of this event is\n characterized by the expiry of Timer_NO_RESPONSE.\n (This event is communicated to the layer management\n with MAA-ERROR code P. See ITU-T Q.2110.)\n\n 2) SSCOP Connection Initiation Failure\n\n This condition indicates the inability to establish\n an SSCOP connection. This event occurs whenever the\n number of expiries of the connection control timer\n (Timer_CC) equals or exceeds the MaxCC, or upon\n receipt of a connection reject message BGREJ PDU.\n (This event is communicated to layer management with\n MAA-ERROR code O. See ITU-T Q.2110.)\n\n 3) SSCOP Connection Re-Establ/Resynch\n\n This event occurs upon receipt of a BGN PDU or\n RS PDU.") atmSigSSCOPErrdPdus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigSSCOPErrdPdus.setDescription("SSCOP Errored PDUs Counter. This counter counts the\nsum of the following errors:\n\n1) Invalid PDUs.\n These are defined in SSCOP and consist of PDUs\n with an incorrect length (MAA-ERROR code U), an\n undefined PDU type code, or that are not 32-bit\n aligned.\n\n2) PDUs that result in MAA-ERROR codes and are\n\n\n\n discarded.\n\nSee MAA-ERROR codes A-D, F-M, and Q-T defined in\nITU-T Q.2110.") atmSigDetectSetupAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectSetupAttempts.setDescription("Call Setup Attempts Counter. This counter counts\nthe number of call setup attempts (both successful\nand unsuccessful) detected on this interface.") atmSigEmitSetupAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitSetupAttempts.setDescription("Call Setup Attempts Counter. This counter counts\nthe number of call setup attempts (both successful\nand unsuccessful) transmitted on this interface.") atmSigDetectUnavailRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectUnavailRoutes.setDescription("Number of Route Unavailability detected on this interface.\nThis counter is incremented when a RELEASE, RELEASE COMPLETE\n(only when not preceded by a RELEASE message for the same\ncall), ADD PARTY REJECT, or STATUS message that\ncontains one of the following cause code values is\nreceived (Note: These cause values\napply to both UNI3.0 and UNI3.1):\n\nCause Value Meaning\n\n\n\n\n\n 1 unallocated (unassigned) number\n 2 no route to specified transit network\n 3 no route to destination\n\nNOTE: For this counter, RELEASE COMPLETE\nmessages that are a reply to a previous RELEASE\nmessage and contain the same cause value, are\nredundant (for counting purposes) and should not\nbe counted.") atmSigEmitUnavailRoutes = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitUnavailRoutes.setDescription("Number of Route Unavailability transmitted from this\ninterface. This counter is incremented when a RELEASE,\nRELEASE COMPLETE (only when not preceded by a RELEASE\nmessage for the same call), ADD PARTY REJECT, or\nSTATUS message that contains one of the following cause\ncode values is transmitted (Note: These cause values apply\nto both UNI3.0 and UNI3.1):\n\nCause Value Meaning\n\n 1 unallocated (unassigned) number\n 2 no route to specified transit network\n 3 no route to destination\n\nNOTE: For this counter, RELEASE COMPLETE\nmessages that are a reply to a previous RELEASE\nmessage and contain the same cause value, are\nredundant (for counting purposes) and should not\nbe counted.") atmSigDetectUnavailResrcs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectUnavailResrcs.setDescription("Number of Resource Unavailability detected on this\ninterface. This counter is incremented when a RELEASE,\nRELEASE COMPLETE (only when not preceded by a RELEASE\nmessage for the same call), ADD PARTY REJECT, or\nSTATUS message that contains one of the following\n\n\n\ncause code values is received (Note: These cause\nvalues apply to both UNI3.0 and UNI3.1 unless\notherwise stated):\n\nCause Value Meaning\n\n 35 requested VPCI/VCI not available\n 37 user cell rate not available (UNI3.1\n only)\n 38 network out of order\n 41 temporary failure\n 45 no VPCI/VCI available\n 47 resource unavailable, unspecified\n 49 Quality of Service unavailable\n 51 user cell rate not available (UNI3.0\n only)\n 58 bearer capability not presently\n available\n 63 Service or option not available,\n unspecified\n 92 too many pending add party requests\n\nNOTE: For this counter, RELEASE COMPLETE\nmessages that are a reply to a previous RELEASE\nmessage and contain the same cause value, are\nredundant (for counting purposes) and should not\nbe counted.") atmSigEmitUnavailResrcs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitUnavailResrcs.setDescription("Number of Resource Unavailability transmitted from this\ninterface. This counter is incremented when a RELEASE,\nRELEASE COMPLETE (only when not preceded by a RELEASE message\nfor the same call), ADD PARTY REJECT, or STATUS message that\ncontains one of the following cause code values is transmitted\n(Note: These cause values apply to both UNI3.0 and UNI3.1\nunless otherwise stated):\n\nCause Value Meaning\n\n 35 requested VPCI/VCI not available\n 37 user cell rate not available (UNI3.1\n only)\n 38 network out of order\n\n\n\n 41 temporary failure\n 45 no VPCI/VCI available\n 47 resource unavailable, unspecified\n 49 Quality of Service unavailable\n 51 user cell rate not available (UNI3.0\n only)\n 58 bearer capability not presently\n available\n 63 Service or option not available,\n unspecified\n 92 too many pending add party requests\n\nNOTE: For this counter, RELEASE COMPLETE messages that are a\nreply to a previous RELEASE message and contain the same cause\nvalue, are redundant (for counting purposes) and should not be\ncounted.") atmSigDetectCldPtyEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectCldPtyEvents.setDescription("Number of Called Party Responsible For Unsuccessful Call\ndetected on this interface. This counter is incremented when a\nRELEASE, RELEASE COMPLETE (only when not preceded by a RELEASE\nmessage for the same call), ADD PARTY REJECT, or STATUS message\nthat contains one of the following cause code values is\nreceived (Note: These cause values apply to both UNI3.0 and\nUNI3.1):\n\nCause Value Meaning\n\n 17 user busy\n 18 no user responding\n 21 call rejected\n 22 number changed\n 23 user rejects all calls with calling\n line identification restriction (CLIR)\n 27 destination out of order\n 31 normal, unspecified\n 88 incompatible destination\n\n\nNOTE: For this counter, RELEASE COMPLETE messages that are a\nreply to a previous RELEASE message and contain the same cause\nvalue, are redundant (for counting purposes) and should not be\n\n\n\ncounted.\n\nNote: Cause Value #30 'response to STATUS ENQUIRY' was not\nincluded in this memo since it did not apply to a hard\nfailure.") atmSigEmitCldPtyEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitCldPtyEvents.setDescription("Number of Called Party Responsible For Unsuccessful Call\ntransmitted from this interface. This counter is incremented\nwhen a RELEASE, RELEASE COMPLETE (only when not preceded by a\nRELEASE message for the same call), ADD PARTY REJECT, or STATUS\nmessage that contains one of the following cause code values is\ntransmitted (Note: These cause values apply to both UNI3.0 and\nUNI3.1):\n\nCause Value Meaning\n\n 17 user busy\n 18 no user responding\n 21 call rejected\n 22 number changed\n 23 user rejects all calls with calling\n line identification restriction (CLIR)\n 27 destination out of order\n 31 normal, unspecified\n 88 incompatible destination\n\nNOTE: For this counter, RELEASE COMPLETE messages that are a\nreply to a previous RELEASE message and contain the same cause\nvalue, are redundant (for counting purposes) and should not be\ncounted.\n\nNote: Cause Value #30 'response to STATUS ENQUIRY' was not\nincluded in this memo since it did not apply to a hard failure.") atmSigDetectMsgErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectMsgErrors.setDescription("Number of Incorrect Messages detected on this interface. The\nIncorrect Messages Counter reflects any sort of incorrect\ninformation in a message. This includes:\n\n- RELEASE, RELEASE COMPLETE, ADD PARTY REJECT,\n and STATUS messages transmitted, that contain any of\n the Cause values listed below.\n\n- Ignored messages. These messages are dropped\n because the message was so damaged that it could\n not be further processed. A list of dropped\n messages is compiled below:\n\n 1. Message with invalid protocol discriminator\n\n 2. Message with errors in the call reference I.E.\n - Bits 5-8 of the first octet not equal to\n '0000'\n - Bits 1-4 of the first octet indicating a\n length other than 3 octets\n - RELEASE COMPLETE message received with a\n call reference that does not relate to a\n call active or in progress\n - SETUP message received with call reference\n flag incorrectly set to 1\n - SETUP message received with a call\n reference for a call that is already\n active or in progress.\n\n 3. Message too short\n\nThe following cause values are monitored by this counter (Note:\nThese cause values apply to both UNI3.0 and UNI3.1 unless\notherwise stated):\n\nCause Value Meaning\n\n 10 VPCI/VCI unacceptable (UNI3.0 only)\n 36 VPCI/VCI assignment failure (UNI3.1 only)\n 81 invalid call reference value\n 82 identified channel does not exist\n 89 invalid endpoint reference\n 96 mandatory information element is missing\n 97 message type non-existent or not\n implemented\n 99 information element non-existent or not\n implemented\n\n\n\n 100 invalid information element contents\n 101 message not compatible with call state\n 104 incorrect message length\n 111 protocol error, unspecified\n\n NOTE: For this counter, RELEASE COMPLETE messages that are\n a reply to a previous RELEASE message and contain the same\n cause value, are redundant (for counting purposes) and\n should not be counted.") atmSigEmitMsgErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitMsgErrors.setDescription("Number of Incorrect Messages transmitted on this interface.\nThe Incorrect Messages Counter reflects any sort of incorrect\ninformation in a message. This includes:\n\n- RELEASE, RELEASE COMPLETE, ADD PARTY REJECT,\n and STATUS messages transmitted or\n received, that contain any of the Cause values\n listed below.\n\n- Ignored messages. These messages are dropped\n because the message was so damaged that it could\n not be further processed. A list of dropped\n messages is compiled below:\n\n 1. Message with invalid protocol discriminator\n\n 2. Message with errors in the call reference I.E.\n - Bits 5-8 of the first octet not equal to\n '0000'\n - Bits 1-4 of the first octet indicating a\n length other than 3 octets\n - RELEASE COMPLETE message received with a\n call reference that does not relate to a\n call active or in progress\n - SETUP message received with call reference\n flag incorrectly set to 1\n - SETUP message received with a call\n reference for a call that is already\n active or in progress.\n\n 3. Message too short\n\n\n\nThe following cause values are monitored by this counter\n(Note: These cause values apply to both UNI3.0 and UNI3.1\nunless otherwise stated):\n\nCause Value Meaning\n\n 10 VPCI/VCI unacceptable (UNI3.0 only)\n 36 VPCI/VCI assignment failure (UNI3.1 only)\n 81 invalid call reference value\n 82 identified channel does not exist\n 89 invalid endpoint reference\n 96 mandatory information element is missing\n 97 message type non-existent or not\n implemented\n 99 information element non-existent or not\n implemented\n 100 invalid information element contents\n 101 message not compatible with call state\n 104 incorrect message length\n 111 protocol error, unspecified\n\n NOTE: For this counter, RELEASE COMPLETE messages that are\n a reply to a previous RELEASE message and contain the same\n cause value, are redundant (for counting purposes) and\n should not be counted.") atmSigDetectClgPtyEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectClgPtyEvents.setDescription("Number of Calling Party Events detected on this interface.\nThis counter monitors error events that occur due to the\noriginating user doing something wrong. This counter is\nincremented when a RELEASE, RELEASE COMPLETE (only when not\npreceded by a RELEASE message for the same call), ADD PARTY\nREJECT, or STATUS message that contains one of the following\ncause code values is received (Note: These cause values\napply to both UNI3.0 and UNI3.1):\n\nCause Value Meaning\n\n 28 invalid number format (address incomplete)\n 43 access information discarded\n 57 bearer capability not authorized\n 65 bearer capability not implemented\n\n\n\n 73 unsupported combination of traffic\n parameters\n 78 AAL parameters cannot be supported (UNI3.1\n only)\n 91 invalid transit network selection\n 93 AAL parameters cannot be supported (UNI3.0\n only)\n\n NOTE: For this counter, RELEASE COMPLETE messages that\n are a reply to a previous RELEASE message and contain\n the same cause value, are redundant (for counting purposes)\n and should not be counted.") atmSigEmitClgPtyEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitClgPtyEvents.setDescription("Number of Calling Party Events transmitted from this interface.\nThis counter monitors error events that occur due to the\noriginating user doing something wrong. This counter is\nincremented when a RELEASE, RELEASE COMPLETE (only when not\npreceded by a RELEASE message for the same call), ADD PARTY\nREJECT, or STATUS message that contains one of the following\ncause code values is transmitted (Note: These cause values\napply to both UNI3.0 and UNI3.1):\n\nCause Value Meaning\n\n 28 invalid number format (address incomplete)\n 43 access information discarded\n 57 bearer capability not authorized\n 65 bearer capability not implemented\n 73 unsupported combination of traffic\n parameters\n 78 AAL parameters cannot be supported (UNI3.1\n only)\n 91 invalid transit network selection\n 93 AAL parameters cannot be supported (UNI3.0\n only)\n\n NOTE: For this counter, RELEASE COMPLETE messages that are\n a reply to a previous RELEASE message and contain the same\n cause value, are redundant (for counting purposes) and\n should not be counted.") atmSigDetectTimerExpireds = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectTimerExpireds.setDescription("Number of Timer Expiries detected on this interface. The Timer\nExpiries Counter provides a count of network timer expiries, and\nto some extent, host or switch timer expiries. The conditions\nfor incrementing this counter are:\n\n - Expiry of any network timer\n\n - Receipt of a RELEASE or RELEASE COMPLETE\n message with Cause #102, 'recovery on\n timer expiry'.\n\n NOTE: For this counter, RELEASE COMPLETE messages that are\n a reply to a previous RELEASE message and contain the same\n cause value, are redundant (for counting purposes) and\n should not be counted.") atmSigEmitTimerExpireds = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitTimerExpireds.setDescription("Number of Timer Expiries transmitted from this interface.\nThe Timer Expiries Counter provides a count of network timer\nexpiries, and to some extent, host or switch timer expiries.\nThe conditions for incrementing this counter are:\n\n - Expiry of any network timer\n\n - Receipt of a RELEASE or RELEASE COMPLETE\n message with Cause #102, 'recovery on\n timer expiry'.\n\nNOTE: For this counter, RELEASE COMPLETE messages that are a\nreply to a previous RELEASE message and contain the same cause\nvalue, are redundant (for counting purposes) and should not be\ncounted.") atmSigDetectRestarts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigDetectRestarts.setDescription("Number of Restart Activity errors detected on this interface.\nThe Restart Activity Counter provides a count of host, switch,\nor network restart activity. This counter is incremented when\nreceiving a RESTART message.") atmSigEmitRestarts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigEmitRestarts.setDescription("Number of Restart Activity errors transmitted from this\ninterface. The Restart Activity Counter provides a count of\nhost, switch, or network restart activity. This counter is\nincremented when transmitting a RESTART message.") atmSigInEstabls = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigInEstabls.setDescription("Number of SVCs established at this signalling entity for\nincoming connections.") atmSigOutEstabls = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 3, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmSigOutEstabls.setDescription("Number of SVCs established at this signalling entity for\noutgoing connections.") atmSigSupportTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4)) if mibBuilder.loadTexts: atmSigSupportTable.setDescription("This table contains ATM local interface configuration\nparameters, one entry per ATM signalling interface.") atmSigSupportEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: atmSigSupportEntry.setDescription("This list contains signalling configuration parameters\nand state variables.") atmSigSupportClgPtyNumDel = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportClgPtyNumDel.setDescription("This object indicates whether the Calling Party Number\nInformation Element is transferred to the called party\naddress. The value of this object can be:\n\n - enabled(1) This Information Element is transferred\n to the called party\n\n - disabled(2) This Information Element is NOT\n transferred to the called party.") atmSigSupportClgPtySubAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportClgPtySubAddr.setDescription("This object indicates whether to accept and transfer the Calling\nParty Subaddress Information Element from the calling party to\nthe called party. Calling party subaddress information shall\nonly be transferred to the called party if calling party number\ndelivery is enabled (i.e., atmSigSupportClgPtyNumDel =\n'enabled(1)'. The value of this object can be:\n\n - enabled(1) This Information Element is transferred\n to the called party\n\n - disabled(2) This Information Element is NOT\n transferred to the called party.") atmSigSupportCldPtySubAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportCldPtySubAddr.setDescription("This object indicates whether to accept, transfer, and deliver\nthe Called Party Subaddress Information Element from the calling\nparty to the called party. The value of this object can be:\n\n - enabled(1) This Information Element is transferred\n to the called party\n\n - disabled(2) This Information Element is NOT\n transferred to the called party.") atmSigSupportHiLyrInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportHiLyrInfo.setDescription("This object indicates whether to accept, transfer, and deliver\nthe Broadband High Layer Information Element from the calling\nparty to the called party. The value of this object can be:\n\n - enabled(1) This Information Element is transferred\n to the called party\n\n\n\n\n - disabled(2) This Information Element is NOT\n transferred to the called party.") atmSigSupportLoLyrInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportLoLyrInfo.setDescription("This object indicates whether to accept, transfer, and deliver\nthe Broadband Low Layer Information Element from the calling\nparty to the called party. The value of this object can be:\n\n - enabled(1) This Information Element is transferred\n to the called party\n\n - disabled(2) This Information Element is NOT\n transferred to the called party.") atmSigSupportBlliRepeatInd = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportBlliRepeatInd.setDescription("This object indicates whether to accept, transfer, and deliver\nthe Broadband Repeat Indicator with two or three instances of\nthe Broadband Low Layer Information Element for low layer\ninformation selection from the calling party to the called\nparty. This object's value should always be disabled(2) if\nthe value of atmSigSupportLolyrInfo is disabled(2).\n\nThe value of this object can be:\n\n- enabled(1) This Information Element is transferred\n to the called party\n\n- disabled(2) This Information Element is NOT\n transferred to the called party.") atmSigSupportAALInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportAALInfo.setDescription("This object indicates whether to accept, transfer, and deliver\nthe ATM Adaptation Layer Parameters Information Element from the\ncalling party to the called party. The value of this object can\nbe:\n\n - enabled(1) This Information Element is transferred\n to the called party\n\n - disabled(2) This Information Element is NOT\n transferred to the called party.") atmSigSupportPrefCarrier = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 4, 1, 8), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmSigSupportPrefCarrier.setDescription("This parameter identifies the carrier to which intercarrier\ncalls originated from this interface are routed when transit\nnetwork selection information is not provided by the calling\nparty. If a Carrier Identification Code (CIC) is used the\nparameter shall contain the CIC. For three-digit CICs, the first\noctet shall be '0' and the CIC is contained in the three\nfollowing octets. If the preferred carrier feature is not\nsupported the value is a zero-length string.") atmSigDescrParamTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5)) if mibBuilder.loadTexts: atmSigDescrParamTable.setDescription("A table contains signalling capabilities of VCLs except the\nTraffic Descriptor. Traffic descriptors are described in\nthe atmTrafficDescrParamTable.") atmSigDescrParamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1)).setIndexNames((0, "ATM2-MIB", "atmSigDescrParamIndex")) if mibBuilder.loadTexts: atmSigDescrParamEntry.setDescription("Each entry in this table represents a\nset of signalling capabilities that can\nbe applied to a VCL. There is no requirement\nfor unique entries, except that the index must\nbe unique.") atmSigDescrParamIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 1), AtmSigDescrParamIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSigDescrParamIndex.setDescription("The value of this object is used by the\natmVclGenSigDescrIndex object in the atmVclGenTable to\nidentify a row in this table.") atmSigDescrParamAalType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,2,4,1,3,)).subtype(namedValues=NamedValues(("other", 1), ("aal1", 2), ("aal34", 3), ("aal5", 4), ("userDefined", 5), ("aal2", 6), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamAalType.setDescription("The AAL type. The value of this object is set to other(1)\nwhen not defined.") atmSigDescrParamAalSscsType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,4,5,3,)).subtype(namedValues=NamedValues(("other", 1), ("assured", 2), ("nonassured", 3), ("frameRelay", 4), ("null", 5), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamAalSscsType.setDescription("The SSCS type used by this entry.") atmSigDescrParamBhliType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,2,3,4,)).subtype(namedValues=NamedValues(("other", 1), ("iso", 2), ("user", 3), ("hiProfile", 4), ("vendorSpecific", 5), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBhliType.setDescription("The Broadband high layer type.") atmSigDescrParamBhliInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBhliInfo.setDescription("The Broadband high layer information. When\natmSigDescrParamBhliType is set to iso(2), the value of this\nobject is a zero length string. When\natmSigDescrParamBhliType is set to user(3), the value of\nthis object is an octet string with length ranging from 0 to\n8. When atmSigDescrParamBhliType is set to hiProfile(4),\nthe value of this object is a length of 4 octet string\ncontaining user to user profile identifier. When\natmSigDescrParamBhliType is set to vendorSpecific(5), the\nvalue of this object is a length of 7 octet string, where\nthe most significant 3 octets consist of a globally-\nadministered OUI, and the least significant 4 octets are the\nvender administered application OUI.") atmSigDescrParamBbcConnConf = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("ptp", 1), ("ptmp", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBbcConnConf.setDescription("The Broadband bearer capability user plane connection\nconfiguration parameter.") atmSigDescrParamBlliLayer2 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(5,2,3,12,8,7,13,11,9,14,1,10,6,4,)).subtype(namedValues=NamedValues(("other", 1), ("iso88022", 10), ("x75slp", 11), ("q922", 12), ("userDef", 13), ("iso7776", 14), ("iso1745", 2), ("q921", 3), ("x25linklayer", 4), ("x25multilink", 5), ("lapb", 6), ("hdlcArm", 7), ("hdlcNrm", 8), ("hdlcAbm", 9), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBlliLayer2.setDescription("The Broadband low layer information, protocol type of layer\n2. The value of this object is other(1) if layer 2 protocol\nis not used.") atmSigDescrParamBlliLayer3 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(5,4,6,1,3,2,8,7,)).subtype(namedValues=NamedValues(("other", 1), ("x25pkt", 2), ("isoiec8208", 3), ("x223iso8878", 4), ("isoiec8473", 5), ("t70", 6), ("tr9577", 7), ("userDef", 8), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBlliLayer3.setDescription("The Broadband low layer information, protocol type of layer\n\n\n\n3. The value of this object is other(1) if layer 3 protocol\nis not used.") atmSigDescrParamBlliPktSize = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(9,2,8,3,5,10,7,6,1,4,)).subtype(namedValues=NamedValues(("other", 1), ("s4096", 10), ("s16", 2), ("s32", 3), ("s64", 4), ("s128", 5), ("s256", 6), ("s512", 7), ("s1024", 8), ("s2048", 9), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBlliPktSize.setDescription("The default packet size defined in B-LLI.") atmSigDescrParamBlliSnapId = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("true", 2), ("false", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBlliSnapId.setDescription("The SNAP ID used for Broadband low layer protocol layer 3.\nThe value of this object is other(1) if\natmSigDescrParamBlliLayer3 is set to other(1).") atmSigDescrParamBlliOuiPid = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 11), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,5),)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamBlliOuiPid.setDescription("The OUI/PID encoding for Broadband low layer protocol layer\n3. The value of this object is a zero length string if\natmSigDescrParamBlliLayer3 is set to other(1). When used,\nit is always 5 octets with the most significant octet as the\nOUI Octet 1 and the least significant octet as the PID Octet\n2.") atmSigDescrParamRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 5, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSigDescrParamRowStatus.setDescription("This object is used to create and delete rows in the\natmSigDescrParamTable.") atmIfRegisteredAddrTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 6)) if mibBuilder.loadTexts: atmIfRegisteredAddrTable.setDescription("This table contains a list of ATM addresses that can be used for\ncalls to and from a given interface by a switch or service. The\nATM addresses are either registered by the endsystem via ILMI or\nstatically configured. This table does not expose PNNI\nreachability information. ILMI registered addresses cannot be\ndeleted using this table. This table only applies to switches\nand network services.") atmIfRegisteredAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM2-MIB", "atmIfRegAddrAddress")) if mibBuilder.loadTexts: atmIfRegisteredAddrEntry.setDescription("An entry in the ATM Interface Registered Address table.") atmIfRegAddrAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 6, 1, 1), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmIfRegAddrAddress.setDescription("An address registered for a given switch or service interface.") atmIfRegAddrAddressSource = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 6, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("static", 2), ("dynamic", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIfRegAddrAddressSource.setDescription("The type of address source for a given ATM Address. The value\ndynamic(3) is indicated when ILMI is used.") atmIfRegAddrOrgScope = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 6, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(7,15,6,13,8,1,9,2,4,3,5,14,11,10,12,)).subtype(namedValues=NamedValues(("localNetwork", 1), ("communityMinusOne", 10), ("intraCommunity", 11), ("communityPlusOne", 12), ("regional", 13), ("interRegional", 14), ("global", 15), ("localNetworkPlusOne", 2), ("localNetworkPlusTwo", 3), ("siteMinusOne", 4), ("intraSite", 5), ("sitePlusOne", 6), ("organizationMinusOne", 7), ("intraOrganization", 8), ("organizationPlusOne", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmIfRegAddrOrgScope.setDescription("This object indicates the organizational scope for\nthe referenced address. The information of the\nreferenced address shall not be distributed outside\nthe indicated scope. Refer to Annex 5.3 of ATM\nForum UNI Signalling 4.0 for guidelines regarding\nthe use of organizational scopes.\n\nThis value cannot be configured for ILMI-registered\naddresses.\n\nThe default values for organizational scope are\nlocalNetwork(1) for ATM group addresses, and\nglobal(15) for individual addresses.") atmIfRegAddrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 6, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmIfRegAddrRowStatus.setDescription("This object is used to create and delete rows in the\natmIfRegisteredAddrTable. Rows created dynamically (e.g., ILMI-\nregistered addresses) cannot be deleted using this object.") atmVclAddrTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 7)) if mibBuilder.loadTexts: atmVclAddrTable.setDescription("This table provides a mapping between the atmVclTable and\nthe ATM called party/calling party address. This table can\nbe used to retrieve the calling party and called party ATM\naddress pair for a given VCL. Note that there can be more\nthan one pair of calling party and called party ATM\naddresses for a VCL in a point to multi-point call.") atmVclAddrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci"), (0, "ATM2-MIB", "atmVclAddrAddr")) if mibBuilder.loadTexts: atmVclAddrEntry.setDescription("Each entry in this table represents a binding between a VCL\nand an ATM address associated with this call. This ATM\n\n\n\naddress can be either the called party address or the\ncalling party address. There can be more than one pair of\ncalling/called party ATM addresses associated with the VCL\nentry for point to multi-point calls. Objects\natmVclAddrType, and atmVclAddrRowStatus are\nrequired during row creation.") atmVclAddrAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 7, 1, 1), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVclAddrAddr.setDescription("An ATM address on one end of the VCL. For SVCs, the agent\nsupplies the value of this object at creation time. For PVC\nVCL, the manager can supply the value of this object during\nor after the PVC VCL creation.") atmVclAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 7, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("callingParty", 1), ("calledParty", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclAddrType.setDescription("The type of ATM Address represented by the object\natmVclAddrAddr. Choices are either the calling party ATM\naddress or the called party ATM address.") atmVclAddrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 7, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclAddrRowStatus.setDescription("This object is used to create or destroy an\nentry from this table. Note that the manager entity\n\n\n\ncan only destroy the PVC VCLs.") atmAddrVclTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 8)) if mibBuilder.loadTexts: atmAddrVclTable.setDescription("This table provides an alternative way to retrieve the\natmVclTable. This table can be used to retrieve the\nindexing to the atmVclTable by an ATM address.") atmAddrVclEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 8, 1)).setIndexNames((0, "ATM2-MIB", "atmVclAddrAddr"), (0, "ATM2-MIB", "atmAddrVclAtmIfIndex"), (0, "ATM2-MIB", "atmAddrVclVpi"), (0, "ATM2-MIB", "atmAddrVclVci")) if mibBuilder.loadTexts: atmAddrVclEntry.setDescription("Each entry in this table represents an entry in the\natmVclTable of the ATM-MIB by its ATM address. The ATM\naddress is either the calling or called party ATM address\nof the call. Entries in this table are read only.\nThey show up when entries are created in the\natmVclAddrTable.") atmAddrVclAtmIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 8, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAddrVclAtmIfIndex.setDescription("The interface index of the ATM interface to which this\nVCL pertains. This object combined with the\natmAddrVclVpi and atmAddrVclVci objects serves as an\nindex to the atmVclTable.") atmAddrVclVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 8, 1, 2), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAddrVclVpi.setDescription("The VPI value of the VCL. This object combined with the\natmAddrVclAtmIfIndex and atmAddrVclVci objects serves as\nan index to the atmVclTable.") atmAddrVclVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 8, 1, 3), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmAddrVclVci.setDescription("The VCI value of the VCL. This object combined with the\natmAddrVclAtmIfIndex and atmAddrVclVpi objects serves as\nan index to the atmVclTable.") atmAddrVclAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 8, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("callingParty", 1), ("calledParty", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmAddrVclAddrType.setDescription("The type of ATM Address represented by the object\natmVclAddrAddr. Choices are either calling party address\nor called party address.") atmVplStatTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9)) if mibBuilder.loadTexts: atmVplStatTable.setDescription("This table contains all statistics counters per VPL. It is\nused to monitor the usage of the VPL in terms of incoming\ncells and outgoing cells.") atmVplStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVplVpi")) if mibBuilder.loadTexts: atmVplStatEntry.setDescription("Each entry in this table represents a VPL.") atmVplStatTotalCellIns = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplStatTotalCellIns.setDescription("The total number of valid ATM cells received by this VPL\nincluding both CLP=0 and CLP=1 cells. The cells are\ncounted prior to the application of the traffic policing.") atmVplStatClp0CellIns = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplStatClp0CellIns.setDescription("The number of valid ATM cells received by this VPL with\nCLP=0. The cells are counted prior to the application of\nthe traffic policing.") atmVplStatTotalDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplStatTotalDiscards.setDescription("The total number of valid ATM cells discarded by the\ntraffic policing entity. This includes cells originally\nreceived with CLP=0 and CLP=1.") atmVplStatClp0Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplStatClp0Discards.setDescription("The total number of valid ATM cells received with CLP=0 and\ndiscarded by the traffic policing entity.") atmVplStatTotalCellOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplStatTotalCellOuts.setDescription("The total number of valid ATM cells transmitted by this\nVPL. This includes both CLP=0 and CLP=1 cells.") atmVplStatClp0CellOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplStatClp0CellOuts.setDescription("The total number of valid ATM cells transmitted with CLP=0\nby this VPL.") atmVplStatClp0Tagged = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 9, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplStatClp0Tagged.setDescription("The total number of valid ATM cells tagged by the traffic\npolicing entity from CLP=0 to CLP=1.") atmVplLogicalPortTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 10)) if mibBuilder.loadTexts: atmVplLogicalPortTable.setDescription("Indicates whether the VPL is an ATM Logical Port interface\n(ifType=80).") atmVplLogicalPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 10, 1)) if mibBuilder.loadTexts: atmVplLogicalPortEntry.setDescription("An entry with information about the ATM Logical Port\ninterface.") atmVplLogicalPortDef = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 10, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notLogicalIf", 1), ("isLogicalIf", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVplLogicalPortDef.setDescription("Indicates whether the VPC at this VPL interface is an ATM\nLogical Port interface.") atmVplLogicalPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 10, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplLogicalPortIndex.setDescription("The ifTable index of the ATM logical port interface\nassociated with this VPL. The distinguished value of zero\nindicates that the agent has not (yet) assigned such an\nifTable Index. The zero value must be assigned by the agent\nif the value of atmVplLogicalPortDef is set to notLogicalIf,\nor if the VPL row is not active.") atmVclStatTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11)) if mibBuilder.loadTexts: atmVclStatTable.setDescription("This table contains all statistics counters per VCL. It is\nused to monitor the usage of the VCL in terms of incoming\ncells and outgoing cells.") atmVclStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci")) if mibBuilder.loadTexts: atmVclStatEntry.setDescription("Each entry in this table represents a VCL.") atmVclStatTotalCellIns = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclStatTotalCellIns.setDescription("The total number of valid ATM cells received by this VCL\nincluding both CLP=0 and CLP=1 cells. The cells are counted\nprior to the application of the traffic policing.") atmVclStatClp0CellIns = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclStatClp0CellIns.setDescription("The number of valid ATM cells received by this VCL with\nCLP=0. The cells are counted prior to the application of\nthe traffic policing.") atmVclStatTotalDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclStatTotalDiscards.setDescription("The total number of valid ATM cells discarded by the\ntraffic policing entity. This includes cells originally\nreceived with CLP=0 and CLP=1.") atmVclStatClp0Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclStatClp0Discards.setDescription("The total number of valid ATM cells received with CLP=0\nand discarded by the traffic policing entity.") atmVclStatTotalCellOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclStatTotalCellOuts.setDescription("The total number of valid ATM cells transmitted by this\nVCL. This includes both CLP=0 and CLP=1 cells.") atmVclStatClp0CellOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclStatClp0CellOuts.setDescription("The total number of valid ATM cells transmitted with CLP=0\nby this VCL.") atmVclStatClp0Tagged = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 11, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclStatClp0Tagged.setDescription("The total number of valid ATM cells tagged by the traffic\npolicing entity from CLP=0 to CLP=1.") atmAal5VclStatTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 12)) if mibBuilder.loadTexts: atmAal5VclStatTable.setDescription("This table provides a collection of objects providing AAL5\nconfiguration and performance statistics of a VCL.") atmAal5VclStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 12, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci")) if mibBuilder.loadTexts: atmAal5VclStatEntry.setDescription("Each entry in this table represents an AAL5 VCL, and\nis indexed by ifIndex values of AAL5 interfaces and\nthe associated VPI/VCI values.") atmAal5VclInPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 12, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmAal5VclInPkts.setDescription("The number of AAL5 CPCS PDUs received on the AAL5 VCC at\nthe interface identified by the ifIndex.") atmAal5VclOutPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 12, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmAal5VclOutPkts.setDescription("The number of AAL5 CPCS PDUs transmitted on the AAL5 VCC\nat the interface identified by the ifIndex.") atmAal5VclInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 12, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmAal5VclInOctets.setDescription("The number of octets contained in AAL5 CPCS PDUs received\non the AAL5 VCC at the interface identified by the ifIndex.") atmAal5VclOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 12, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmAal5VclOutOctets.setDescription("The number of octets contained in AAL5 CPCS PDUs\ntransmitted on the AAL5 VCC at the interface identified by\nthe ifIndex.") atmVclGenTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 13)) if mibBuilder.loadTexts: atmVclGenTable.setDescription("General Information for each VC.") atmVclGenEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 13, 1)) if mibBuilder.loadTexts: atmVclGenEntry.setDescription("An entry with general information about the ATM VC.") atmVclGenSigDescrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 13, 1, 1), AtmSigDescrParamIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclGenSigDescrIndex.setDescription("The value of this object identifies the row in the ATM\nSignalling Descriptor Parameter Table which applies to this\nVCL.") atmInterfaceExtTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14)) if mibBuilder.loadTexts: atmInterfaceExtTable.setDescription("This table contains ATM interface configuration and monitoring\ninformation not defined in the atmInterfaceConfTable from the\nATM-MIB. This includes the type of connection setup procedures,\nILMI information, and information on the VPI/VCI range.") atmInterfaceExtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1)) if mibBuilder.loadTexts: atmInterfaceExtEntry.setDescription("An entry extends the atmInterfaceConfEntry defined in the ATM-\nMIB. Each entry corresponds to an ATM interface.") atmIntfConfigType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 1), AtmInterfaceType().clone('autoConfig')).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfConfigType.setDescription("The type of connection setup procedures configured for the ATM\ninterface. Setting this variable to a value of 'other' is not\nallowed.") atmIntfActualType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 2), AtmInterfaceType()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfActualType.setDescription("The type of connection setup procedures currently being used on\nthe interface. This may reflect a manually configured value for\nthe interface type, or may be determined by other means such as\nauto-configuration. A value of `autoConfig' indicates that\nauto-configuration was requested but has not yet been completed.") atmIntfConfigSide = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("user", 2), ("network", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfConfigSide.setDescription("The configured role of the managed entity as one side of the ATM\ninterface. This value does not apply when the object\natmIntfConfigType is set to `autoConfig', `atmfPnni1Dot0', or\n`atmfBici2Dot0'.") atmIntfActualSide = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("user", 2), ("network", 3), ("symmetric", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfActualSide.setDescription("The current role used by the managed entity to represent one\nside of the ATM interface.") atmIntfIlmiAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 5), Bits().subtype(namedValues=NamedValues(("ilmi", 0), ("ilmiAddressRegistration", 1), ("ilmiConnectivity", 2), ("ilmiPvcPvpMgmt", 3), ("ilmiSigVccParamNegotiation", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfIlmiAdminStatus.setDescription("Indicates which components of ILMI are administratively enabled\non this interface. If the 'ilmi' bit is not set, then no ILMI\ncomponents are operational. ILMI components other than auto-\nconfiguration that are not represented in the value have their\nadministrative status determined according to the 'ilmi' bit.\nThe ILMI auto-configuration component is enabled/disabled by the\natmIntfConfigType object.") atmIntfIlmiOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 6), Bits().subtype(namedValues=NamedValues(("ilmi", 0), ("ilmiAddressRegistration", 1), ("ilmiConnectivity", 2), ("ilmiPvcPvpMgmt", 3), ("ilmiSigVccParamNegotiation", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfIlmiOperStatus.setDescription("Indicates which components of ILMI are operational on this\ninterface.") atmIntfIlmiFsmState = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(7,9,6,1,4,5,2,8,3,)).subtype(namedValues=NamedValues(("stopped", 1), ("linkFailing", 2), ("establishing", 3), ("configuring", 4), ("retrievingNetworkPrefixes", 5), ("registeringNetworkPrefixes", 6), ("retrievingAddresses", 7), ("registeringAddresses", 8), ("verifying", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfIlmiFsmState.setDescription("Indicates the state of the ILMI Finite State Machine associated\nwith this interface.") atmIntfIlmiEstablishConPollIntvl = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfIlmiEstablishConPollIntvl.setDescription("The amount of time S between successive transmissions of ILMI\nmessages on this interface for the purpose of detecting\nestablishment of ILMI connectivity.") atmIntfIlmiCheckConPollIntvl = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfIlmiCheckConPollIntvl.setDescription("The amount of time T between successive transmissions of ILMI\nmessages on this interface for the purpose of detecting loss of\nILMI connectivity. The distinguished value zero disables ILMI\nconnectivity procedures on this interface.") atmIntfIlmiConPollInactFactor = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfIlmiConPollInactFactor.setDescription("The number K of consecutive polls on this interface for which no\nILMI response message is received before ILMI connectivity is\ndeclared lost.") atmIntfIlmiPublicPrivateIndctr = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("other", 1), ("public", 2), ("private", 3), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfIlmiPublicPrivateIndctr.setDescription("Specifies whether this end of the interface is advertised in\nILMI as a device of the `public' or `private' type.") atmInterfaceConfMaxSvpcVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceConfMaxSvpcVpi.setDescription("The maximum VPI that the signalling stack on the ATM interface\nis configured to support for allocation to switched virtual path\nconnections.") atmInterfaceCurrentMaxSvpcVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceCurrentMaxSvpcVpi.setDescription("The maximum VPI that the signalling stack on the ATM interface\nmay currently allocate to switched virtual path connections.\nThis value is the minimum of atmInterfaceConfMaxSvpcVpi, and the\natmInterfaceMaxSvpcVpi of the interface's UNI/NNI peer.\n\nIf the interface does not negotiate with its peer to determine\nthe maximum VPI that can be allocated to SVPCs on the interface,\nthen the value of this object must equal\natmInterfaceConfMaxSvpcVpi. ") atmInterfaceConfMaxSvccVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceConfMaxSvccVpi.setDescription("The maximum VPI that the signalling stack on the ATM interface\nis configured to support for allocation to switched virtual\nchannel connections.") atmInterfaceCurrentMaxSvccVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceCurrentMaxSvccVpi.setDescription("The maximum VPI that the signalling stack on the ATM interface\nmay currently allocate to switched virtual channel connections.\nThis value is the minimum of atmInterfaceConfMaxSvccVpi, and the\natmInterfaceConfMaxSvccVpi of the interface's UNI/NNI peer.\n\nIf the interface does not negotiate with its peer to determine\nthe maximum VPI that can be allocated to SVCCs on the interface,\nthen the value of this object must equal\natmInterfaceConfMaxSvccVpi.") atmInterfaceConfMinSvccVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceConfMinSvccVci.setDescription("The minimum VCI that the signalling stack on the ATM interface\nis configured to support for allocation to switched virtual\nchannel connections.") atmInterfaceCurrentMinSvccVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceCurrentMinSvccVci.setDescription("The minimum VCI that the signalling stack on the ATM interface\nmay currently allocate to switched virtual channel connections.\nThis value is the maximum of atmInterfaceConfMinSvccVci, and the\natmInterfaceConfMinSvccVci of the interface's UNI/NNI peer.\nIf the interface does not negotiate with its peer to determine\nthe minimum VCI that can be allocated to SVCCs on the interface,\nthen the value of this object must equal\natmInterfaceConfMinSvccVci.") atmIntfSigVccRxTrafficDescrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 18), AtmTrafficDescrParamIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfSigVccRxTrafficDescrIndex.setDescription("This object identifies the row in the atmTrafficDescrParamTable\nused during ILMI auto-configuration to specify the advertised\nsignalling VCC traffic parameters for the receive direction.\nThe traffic descriptor resulting from ILMI auto-configuration of\nthe signalling VCC is indicated in the atmVclTable.") atmIntfSigVccTxTrafficDescrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 19), AtmTrafficDescrParamIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfSigVccTxTrafficDescrIndex.setDescription("This object identifies the row in the atmTrafficDescrParamTable\nused during ILMI auto-configuration to specify the advertised\nsignalling VCC traffic parameters for the transmit direction.\nThe traffic descriptor resulting from ILMI auto-configuration of\nthe signalling VCC is indicated in the atmVclTable.") atmIntfPvcFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfPvcFailures.setDescription("The number of times the operational status of a PVPL or PVCL on\nthis interface has gone down.") atmIntfCurrentlyFailingPVpls = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfCurrentlyFailingPVpls.setDescription("The current number of VPLs on this interface for which there is\nan active row in the atmVplTable having an atmVplConnKind value\nof `pvc' and an atmVplOperStatus with a value other than `up'.") atmIntfCurrentlyFailingPVcls = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 22), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfCurrentlyFailingPVcls.setDescription("The current number of VCLs on this interface for which there is\nan active row in the atmVclTable having an atmVclConnKind value\nof `pvc' and an atmVclOperStatus with a value other than `up'.") atmIntfPvcFailuresTrapEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 23), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfPvcFailuresTrapEnable.setDescription("Allows the generation of traps in response to PVCL or PVPL\nfailures on this interface.") atmIntfPvcNotificationInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmIntfPvcNotificationInterval.setDescription("The minimum interval between the sending of\natmIntfPvcFailuresTrap notifications for this interface.") atmIntfLeafSetupFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfLeafSetupFailures.setDescription("Number of setup failures. For root, this is the number of\nrejected setup requests and for leaf, this is the number of setup\nfailure received.") atmIntfLeafSetupRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 14, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmIntfLeafSetupRequests.setDescription("Number of setup requests. For root, this includes both incoming\nsetup request and root intiated setup requests.") atmIlmiSrvcRegTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15)) if mibBuilder.loadTexts: atmIlmiSrvcRegTable.setDescription("This table contains a list of all the ATM network services known\nby this device.\n\nThe characteristics of these services are made available through\nthe ILMI, using the ILMI general-purpose service registry MIB.\nThese services may be made available to all ATM interfaces\n(atmIlmiSrvcRegIndex = 0) or to some specific ATM interfaces only\n(atmIlmiSrvcRegIndex = ATM interface index).") atmIlmiSrvcRegEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15, 1)).setIndexNames((0, "ATM2-MIB", "atmIlmiSrvcRegIndex"), (0, "ATM2-MIB", "atmIlmiSrvcRegServiceID"), (0, "ATM2-MIB", "atmIlmiSrvcRegAddressIndex")) if mibBuilder.loadTexts: atmIlmiSrvcRegEntry.setDescription("Information about a single service provider that is available to\nthe user-side of an adjacent device through the ILMI.\n\nImplementors need to be aware that if the size of the\natmIlmiSrvcRegServiceID exceeds 112 sub-identifiers then OIDs of\n\n\n\ncolumn instances in this table will have more than 128 sub-\nidentifiers and cannot be accessed using SNMPv1, SNMPv2, or\nSNMPv3.") atmIlmiSrvcRegIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15, 1, 1), InterfaceIndexOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmIlmiSrvcRegIndex.setDescription("The ATM interface where the service defined in this entry can be\nmade available to an ATM device attached to this interface.\n\nThe value of 0 has a special meaning: when an ATM service is\ndefined in an entry whose atmIlmiSrvcRegIndex is zero, the ATM\nservice is available to ATM devices connected to any ATM\ninterface. (default value(s)).\n\nWhen the user-side of an adjacent device queries the content of\nthe ILMI service registry MIB (using the ILMI protocol), the\nlocal network-side responds with the ATM services defined in\natmIlmiSrvcRegTable entries, provided that these entries are\nindexed by:\n\n- the corresponding ifIndex value (atmIlmiSrvcRegIndex\n equal to the ifIndex of the interface to which the\n adjacent device is connected) - zero (atmIlmiSrvcRegIndex=0).") atmIlmiSrvcRegServiceID = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15, 1, 2), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmIlmiSrvcRegServiceID.setDescription("This is the service identifier which uniquely identifies the\n\n\n\ntype of service at the address provided in the table. The object\nidentifiers for the LAN Emulation Configuration Server (LECS) and\nthe ATM Name Server (ANS) are defined in the ATM Forum ILMI\nService Registry MIB. The object identifiers for the ATMARP\nServer, the Multicast Address Resolution Server (MARS), and the\nNHRP Server (NHS) are defined in RFC 2601, RFC 2602, and RFC\n2603, respectively.") atmIlmiSrvcRegAddressIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmIlmiSrvcRegAddressIndex.setDescription("An arbitrary integer to differentiate multiple rows containing\ndifferent ATM addresses for the same service on the same\ninterface. This number need NOT be the same as the corresponding\nILMI atmfSrvcRegAddressIndex MIB object.") atmIlmiSrvcRegATMAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15, 1, 4), AtmAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmIlmiSrvcRegATMAddress.setDescription("This is the full address of the service. The user-side of the\nadjacent device may use this address to establish a connection\nwith the service.") atmIlmiSrvcRegParm1 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmIlmiSrvcRegParm1.setDescription("An octet string used according to the value of\natmIlmiSrvcRegServiceID.") atmIlmiSrvcRegRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 15, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmIlmiSrvcRegRowStatus.setDescription("This object is used to create or destroy an entry from this\ntable.") atmIlmiNetworkPrefixTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 16)) if mibBuilder.loadTexts: atmIlmiNetworkPrefixTable.setDescription("A table specifying per-interface network prefix(es) supplied by\nthe network side of the UNI during ILMI address registration.\nWhen no network prefixes are specified for a particular\ninterface, one or more network prefixes based on the switch\naddress(es) may be used for ILMI address registration.") atmIlmiNetworkPrefixEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 16, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM2-MIB", "atmIlmiNetPrefixPrefix")) if mibBuilder.loadTexts: atmIlmiNetworkPrefixEntry.setDescription("Information about a single network prefix supplied by the\nnetwork side of the UNI during ILMI address registration. Note\nthat the index variable atmIlmiNetPrefixPrefix is a variable-\nlength string, and as such the rule for variable-length strings\nin section 7.7 of RFC 2578 applies.") atmIlmiNetPrefixPrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 16, 1, 1), AtmIlmiNetworkPrefix()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmIlmiNetPrefixPrefix.setDescription("The network prefix specified for use in ILMI address\nregistration.") atmIlmiNetPrefixRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 16, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmIlmiNetPrefixRowStatus.setDescription("Used to create, delete, activate and de-activate network\nprefixes used in ILMI address registration.") atmSwitchAddressTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 17)) if mibBuilder.loadTexts: atmSwitchAddressTable.setDescription("This table contains one or more ATM endsystem addresses on a\nper-switch basis. These addresses are used to identify the\nswitch. When no ILMI network prefixes are configured for certain\ninterfaces, network prefixes based on the switch address(es) may\nbe used for ILMI address registration.") atmSwitchAddressEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 17, 1)).setIndexNames((0, "ATM2-MIB", "atmSwitchAddressIndex")) if mibBuilder.loadTexts: atmSwitchAddressEntry.setDescription("An entry in the ATM Switch Address table.") atmSwitchAddressIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 17, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmSwitchAddressIndex.setDescription("An arbitrary index used to enumerate the ATM endsystem addresses\nfor this switch.") atmSwitchAddressAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 17, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(13,13),ValueSizeConstraint(20,20),))).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSwitchAddressAddress.setDescription("An ATM endsystem address or address prefix used to identify this\nswitch. When no ESI or SEL field is specified, the switch may\ngenerate the ESI and SEL fields automatically to obtain a\ncomplete 20-byte ATM endsystem address.") atmSwitchAddressRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 17, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmSwitchAddressRowStatus.setDescription("Used to create, delete, activate, and de-activate addresses used\nto identify this switch.") atmVpCrossConnectXTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 18)) if mibBuilder.loadTexts: atmVpCrossConnectXTable.setDescription("This table contains one row per VP Cross-Connect represented in\nthe atmVpCrossConnectTable.") atmVpCrossConnectXEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 18, 1)) if mibBuilder.loadTexts: atmVpCrossConnectXEntry.setDescription("Information about a particular ATM VP Cross-Connect.\nEach entry provides an two objects that name the Cross-Connect.\nOne is assigned by the Service User and the other by the Service\nProvider.") atmVpCrossConnectUserName = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 18, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVpCrossConnectUserName.setDescription("This is a service user assigned textual representation of a VPC\nPVC.") atmVpCrossConnectProviderName = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 18, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVpCrossConnectProviderName.setDescription("This is a system supplied textual representation of VPC PVC. It\nis assigned by the service provider.") atmVcCrossConnectXTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 19)) if mibBuilder.loadTexts: atmVcCrossConnectXTable.setDescription("This table contains one row per VC Cross-Connect represented in\nthe atmVcCrossConnectTable.") atmVcCrossConnectXEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 19, 1)) if mibBuilder.loadTexts: atmVcCrossConnectXEntry.setDescription("Information about a particular ATM VC Cross-Connect.\nEach entry provides an two objects that name the Cross-Connect.\nOne is assigned by the Service User and the other by the Service\nProvider.") atmVcCrossConnectUserName = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 19, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVcCrossConnectUserName.setDescription("This is a service user assigned textual representation of a VCC\n\n\n\nPVC.") atmVcCrossConnectProviderName = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 19, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVcCrossConnectProviderName.setDescription("This is a system supplied textual representation of VCC PVC. It\nis assigned by the service provider.") atmCurrentlyFailingPVplTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 20)) if mibBuilder.loadTexts: atmCurrentlyFailingPVplTable.setDescription("A table indicating all VPLs for which there is an active row in\nthe atmVplTable having an atmVplConnKind value of `pvc' and an\natmVplOperStatus with a value other than `up'.") atmCurrentlyFailingPVplEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 20, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVplVpi")) if mibBuilder.loadTexts: atmCurrentlyFailingPVplEntry.setDescription("Each entry in this table represents a VPL for which the\natmVplRowStatus is `active', the atmVplConnKind is `pvc', and the\natmVplOperStatus is other than `up'.") atmCurrentlyFailingPVplTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 20, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCurrentlyFailingPVplTimeStamp.setDescription("The time at which this PVPL began to fail.") atmCurrentlyFailingPVclTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 21)) if mibBuilder.loadTexts: atmCurrentlyFailingPVclTable.setDescription("A table indicating all VCLs for which there is an active row in\nthe atmVclTable having an atmVclConnKind value of `pvc' and an\natmVclOperStatus with a value other than `up'.") atmCurrentlyFailingPVclEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 21, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci")) if mibBuilder.loadTexts: atmCurrentlyFailingPVclEntry.setDescription("Each entry in this table represents a VCL for which the\natmVclRowStatus is `active', the atmVclConnKind is `pvc', and the\natmVclOperStatus is other than `up'.") atmCurrentlyFailingPVclTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 14, 1, 21, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmCurrentlyFailingPVclTimeStamp.setDescription("The time at which this PVCL began to fail.") atm2MIBTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 14, 2)) atmPvcTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 14, 2, 1)) atmPvcTrapsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 14, 2, 1, 0)) atm2MIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 14, 3)) atm2MIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1)) atm2MIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 2)) # Augmentions atmVclEntry, = mibBuilder.importSymbols("ATM-MIB", "atmVclEntry") atmVclEntry.registerAugmentions(("ATM2-MIB", "atmVclGenEntry")) atmVclGenEntry.setIndexNames(*atmVclEntry.getIndexNames()) atmVcCrossConnectEntry, = mibBuilder.importSymbols("ATM-MIB", "atmVcCrossConnectEntry") atmVcCrossConnectEntry.registerAugmentions(("ATM2-MIB", "atmVcCrossConnectXEntry")) atmVcCrossConnectXEntry.setIndexNames(*atmVcCrossConnectEntry.getIndexNames()) atmVpCrossConnectEntry, = mibBuilder.importSymbols("ATM-MIB", "atmVpCrossConnectEntry") atmVpCrossConnectEntry.registerAugmentions(("ATM2-MIB", "atmVpCrossConnectXEntry")) atmVpCrossConnectXEntry.setIndexNames(*atmVpCrossConnectEntry.getIndexNames()) atmInterfaceConfEntry, = mibBuilder.importSymbols("ATM-MIB", "atmInterfaceConfEntry") atmInterfaceConfEntry.registerAugmentions(("ATM2-MIB", "atmInterfaceExtEntry")) atmInterfaceExtEntry.setIndexNames(*atmInterfaceConfEntry.getIndexNames()) atmVplEntry, = mibBuilder.importSymbols("ATM-MIB", "atmVplEntry") atmVplEntry.registerAugmentions(("ATM2-MIB", "atmVplLogicalPortEntry")) atmVplLogicalPortEntry.setIndexNames(*atmVplEntry.getIndexNames()) # Notifications atmIntfPvcFailuresTrap = NotificationType((1, 3, 6, 1, 2, 1, 37, 1, 14, 2, 1, 0, 1)).setObjects(*(("IF-MIB", "ifIndex"), ("ATM2-MIB", "atmIntfCurrentlyFailingPVcls"), ("ATM2-MIB", "atmIntfCurrentlyFailingPVpls"), ("ATM2-MIB", "atmIntfPvcFailures"), ) ) if mibBuilder.loadTexts: atmIntfPvcFailuresTrap.setDescription("A notification indicating that one or more PVPLs or PVCLs on\nthis interface has failed since the last atmPvcFailuresTrap was\nsent. If this trap has not been sent for the last\natmIntfPvcNotificationInterval, then it will be sent on the next\nincrement of atmIntfPvcFailures.") # Groups atmCommonGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 1)).setObjects(*(("ATM2-MIB", "atmIntfPvcFailures"), ("ATM2-MIB", "atmSigEmitSetupAttempts"), ("ATM2-MIB", "atmCurrentlyFailingPVplTimeStamp"), ("ATM2-MIB", "atmIntfCurrentlyFailingPVcls"), ("ATM2-MIB", "atmIntfIlmiConPollInactFactor"), ("ATM2-MIB", "atmIntfSigVccRxTrafficDescrIndex"), ("ATM2-MIB", "atmSigEmitCldPtyEvents"), ("ATM2-MIB", "atmSigDetectCldPtyEvents"), ("ATM2-MIB", "atmSigSSCOPConEvents"), ("ATM2-MIB", "atmSigEmitClgPtyEvents"), ("ATM2-MIB", "atmIntfSigVccTxTrafficDescrIndex"), ("ATM2-MIB", "atmIntfActualType"), ("ATM2-MIB", "atmSigInEstabls"), ("ATM2-MIB", "atmIntfCurrentlyFailingPVpls"), ("ATM2-MIB", "atmInterfaceConfMinSvccVci"), ("ATM2-MIB", "atmIntfIlmiOperStatus"), ("ATM2-MIB", "atmIntfConfigType"), ("ATM2-MIB", "atmIntfIlmiEstablishConPollIntvl"), ("ATM2-MIB", "atmSigOutEstabls"), ("ATM2-MIB", "atmIntfIlmiFsmState"), ("ATM2-MIB", "atmSigEmitTimerExpireds"), ("ATM2-MIB", "atmSigDetectClgPtyEvents"), ("ATM2-MIB", "atmSigEmitRestarts"), ("ATM2-MIB", "atmIntfLeafSetupRequests"), ("ATM2-MIB", "atmVplLogicalPortIndex"), ("ATM2-MIB", "atmIntfActualSide"), ("ATM2-MIB", "atmVplLogicalPortDef"), ("ATM2-MIB", "atmSigDetectRestarts"), ("ATM2-MIB", "atmInterfaceConfMaxSvccVpi"), ("ATM2-MIB", "atmSigDetectMsgErrors"), ("ATM2-MIB", "atmIntfPvcFailuresTrapEnable"), ("ATM2-MIB", "atmIntfPvcNotificationInterval"), ("ATM2-MIB", "atmInterfaceConfMaxSvpcVpi"), ("ATM2-MIB", "atmSigEmitUnavailResrcs"), ("ATM2-MIB", "atmSigSSCOPErrdPdus"), ("ATM2-MIB", "atmInterfaceCurrentMaxSvccVpi"), ("ATM2-MIB", "atmInterfaceCurrentMaxSvpcVpi"), ("ATM2-MIB", "atmSigEmitMsgErrors"), ("ATM2-MIB", "atmIntfIlmiCheckConPollIntvl"), ("ATM2-MIB", "atmSigDetectUnavailRoutes"), ("ATM2-MIB", "atmIntfConfigSide"), ("ATM2-MIB", "atmSigDetectSetupAttempts"), ("ATM2-MIB", "atmCurrentlyFailingPVclTimeStamp"), ("ATM2-MIB", "atmSigDetectTimerExpireds"), ("ATM2-MIB", "atmSigDetectUnavailResrcs"), ("ATM2-MIB", "atmIntfIlmiPublicPrivateIndctr"), ("ATM2-MIB", "atmIntfLeafSetupFailures"), ("ATM2-MIB", "atmInterfaceCurrentMinSvccVci"), ("ATM2-MIB", "atmSigEmitUnavailRoutes"), ("ATM2-MIB", "atmIntfIlmiAdminStatus"), ) ) if mibBuilder.loadTexts: atmCommonGroup.setDescription("A collection of objects providing information\nfor a Switch/Service/Host that implements\nATM interfaces.") atmCommonStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 2)).setObjects(*(("ATM2-MIB", "atmVclStatClp0Tagged"), ("ATM2-MIB", "atmVclStatTotalCellIns"), ("ATM2-MIB", "atmVplStatClp0CellOuts"), ("ATM2-MIB", "atmVplStatTotalDiscards"), ("ATM2-MIB", "atmVplStatClp0Tagged"), ("ATM2-MIB", "atmVclStatClp0Discards"), ("ATM2-MIB", "atmVplStatClp0CellIns"), ("ATM2-MIB", "atmVplStatTotalCellIns"), ("ATM2-MIB", "atmVclStatClp0CellOuts"), ("ATM2-MIB", "atmVclStatTotalCellOuts"), ("ATM2-MIB", "atmVplStatClp0Discards"), ("ATM2-MIB", "atmVclStatClp0CellIns"), ("ATM2-MIB", "atmVclStatTotalDiscards"), ("ATM2-MIB", "atmVplStatTotalCellOuts"), ) ) if mibBuilder.loadTexts: atmCommonStatsGroup.setDescription("A collection of objects providing information\n\n\n\nfor a Switch/Service/Host that implements\nATM VCL and VPL Statistics") atmSwitchServcGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 3)).setObjects(*(("ATM2-MIB", "atmIfRegAddrOrgScope"), ("ATM2-MIB", "atmIlmiSrvcRegParm1"), ("ATM2-MIB", "atmIlmiSrvcRegRowStatus"), ("ATM2-MIB", "atmIfRegAddrAddressSource"), ("ATM2-MIB", "atmIlmiSrvcRegATMAddress"), ("ATM2-MIB", "atmSvcVpCrossConnectRowStatus"), ("ATM2-MIB", "atmSvcVpCrossConnectCreationTime"), ("ATM2-MIB", "atmSvcVcCrossConnectCreationTime"), ("ATM2-MIB", "atmIfRegAddrRowStatus"), ("ATM2-MIB", "atmSvcVcCrossConnectRowStatus"), ("ATM2-MIB", "atmIlmiNetPrefixRowStatus"), ) ) if mibBuilder.loadTexts: atmSwitchServcGroup.setDescription("A collection of objects providing information\nfor a Switch/Service that implements ATM interfaces.") atmSwitchServcSigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 4)).setObjects(*(("ATM2-MIB", "atmSigSupportHiLyrInfo"), ("ATM2-MIB", "atmSigSupportBlliRepeatInd"), ("ATM2-MIB", "atmSigSupportClgPtySubAddr"), ("ATM2-MIB", "atmSigSupportClgPtyNumDel"), ("ATM2-MIB", "atmSigSupportLoLyrInfo"), ("ATM2-MIB", "atmSigSupportCldPtySubAddr"), ("ATM2-MIB", "atmSigSupportAALInfo"), ("ATM2-MIB", "atmSigSupportPrefCarrier"), ) ) if mibBuilder.loadTexts: atmSwitchServcSigGroup.setDescription("A collection of objects providing information\nfor a Switch/Service that implements ATM signalling.") atmSwitchServcNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 5)).setObjects(*(("ATM2-MIB", "atmIntfPvcFailuresTrap"), ) ) if mibBuilder.loadTexts: atmSwitchServcNotifGroup.setDescription("A collection of notifications providing information\nfor a Switch/Service that implements ATM interfaces.") atmSwitchGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 6)).setObjects(*(("ATM2-MIB", "atmSwitchAddressAddress"), ("ATM2-MIB", "atmSwitchAddressRowStatus"), ) ) if mibBuilder.loadTexts: atmSwitchGroup.setDescription("A collection of objects providing information\nfor an ATM switch.") atmServcGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 7)).setObjects(*(("ATM2-MIB", "atmVcCrossConnectProviderName"), ("ATM2-MIB", "atmVcCrossConnectUserName"), ("ATM2-MIB", "atmVpCrossConnectProviderName"), ("ATM2-MIB", "atmVpCrossConnectUserName"), ) ) if mibBuilder.loadTexts: atmServcGroup.setDescription("A collection of objects providing information\nfor an ATM Network Service.") atmHostGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 8)).setObjects(*(("ATM2-MIB", "atmVclGenSigDescrIndex"), ("ATM2-MIB", "atmAal5VclInPkts"), ("ATM2-MIB", "atmAal5VclOutOctets"), ("ATM2-MIB", "atmVclAddrType"), ("ATM2-MIB", "atmAal5VclInOctets"), ("ATM2-MIB", "atmAddrVclAddrType"), ("ATM2-MIB", "atmVclAddrRowStatus"), ("ATM2-MIB", "atmAal5VclOutPkts"), ) ) if mibBuilder.loadTexts: atmHostGroup.setDescription("A collection of objects providing information\nfor a Host that implements ATM interfaces.") atmHostSigDescrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 1, 9)).setObjects(*(("ATM2-MIB", "atmSigDescrParamAalType"), ("ATM2-MIB", "atmSigDescrParamRowStatus"), ("ATM2-MIB", "atmSigDescrParamAalSscsType"), ("ATM2-MIB", "atmSigDescrParamBlliSnapId"), ("ATM2-MIB", "atmSigDescrParamBhliType"), ("ATM2-MIB", "atmSigDescrParamBhliInfo"), ("ATM2-MIB", "atmSigDescrParamBbcConnConf"), ("ATM2-MIB", "atmSigDescrParamBlliOuiPid"), ("ATM2-MIB", "atmSigDescrParamBlliPktSize"), ("ATM2-MIB", "atmSigDescrParamBlliLayer3"), ("ATM2-MIB", "atmSigDescrParamBlliLayer2"), ) ) if mibBuilder.loadTexts: atmHostSigDescrGroup.setDescription("A collection of objects providing information\nfor a Host that implements ATM interfaces.") # Compliances atm2MIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 37, 1, 14, 3, 2, 1)).setObjects(*(("ATM2-MIB", "atmCommonStatsGroup"), ("ATM2-MIB", "atmSwitchServcGroup"), ("ATM2-MIB", "atmSwitchServcSigGroup"), ("ATM2-MIB", "atmCommonGroup"), ("ATM2-MIB", "atmHostSigDescrGroup"), ("ATM2-MIB", "atmSwitchServcNotifGroup"), ("ATM2-MIB", "atmServcGroup"), ("ATM2-MIB", "atmSwitchGroup"), ("ATM2-MIB", "atmHostGroup"), ) ) if mibBuilder.loadTexts: atm2MIBCompliance.setDescription("The compliance statement for SNMP entities which represent ATM\ninterfaces. The compliance statements are used to determine\nif a particular group or object applies to hosts,\nnetworks/switches, or both. The Common group is defined as\napplicable to all three.") # Exports # Module identity mibBuilder.exportSymbols("ATM2-MIB", PYSNMP_MODULE_ID=atm2MIB) # Objects mibBuilder.exportSymbols("ATM2-MIB", atm2MIB=atm2MIB, atm2MIBObjects=atm2MIBObjects, atmSvcVpCrossConnectTable=atmSvcVpCrossConnectTable, atmSvcVpCrossConnectEntry=atmSvcVpCrossConnectEntry, atmSvcVpCrossConnectIndex=atmSvcVpCrossConnectIndex, atmSvcVpCrossConnectLowIfIndex=atmSvcVpCrossConnectLowIfIndex, atmSvcVpCrossConnectLowVpi=atmSvcVpCrossConnectLowVpi, atmSvcVpCrossConnectHighIfIndex=atmSvcVpCrossConnectHighIfIndex, atmSvcVpCrossConnectHighVpi=atmSvcVpCrossConnectHighVpi, atmSvcVpCrossConnectCreationTime=atmSvcVpCrossConnectCreationTime, atmSvcVpCrossConnectRowStatus=atmSvcVpCrossConnectRowStatus, atmSvcVcCrossConnectTable=atmSvcVcCrossConnectTable, atmSvcVcCrossConnectEntry=atmSvcVcCrossConnectEntry, atmSvcVcCrossConnectIndex=atmSvcVcCrossConnectIndex, atmSvcVcCrossConnectLowIfIndex=atmSvcVcCrossConnectLowIfIndex, atmSvcVcCrossConnectLowVpi=atmSvcVcCrossConnectLowVpi, atmSvcVcCrossConnectLowVci=atmSvcVcCrossConnectLowVci, atmSvcVcCrossConnectHighIfIndex=atmSvcVcCrossConnectHighIfIndex, atmSvcVcCrossConnectHighVpi=atmSvcVcCrossConnectHighVpi, atmSvcVcCrossConnectHighVci=atmSvcVcCrossConnectHighVci, atmSvcVcCrossConnectCreationTime=atmSvcVcCrossConnectCreationTime, atmSvcVcCrossConnectRowStatus=atmSvcVcCrossConnectRowStatus, atmSigStatTable=atmSigStatTable, atmSigStatEntry=atmSigStatEntry, atmSigSSCOPConEvents=atmSigSSCOPConEvents, atmSigSSCOPErrdPdus=atmSigSSCOPErrdPdus, atmSigDetectSetupAttempts=atmSigDetectSetupAttempts, atmSigEmitSetupAttempts=atmSigEmitSetupAttempts, atmSigDetectUnavailRoutes=atmSigDetectUnavailRoutes, atmSigEmitUnavailRoutes=atmSigEmitUnavailRoutes, atmSigDetectUnavailResrcs=atmSigDetectUnavailResrcs, atmSigEmitUnavailResrcs=atmSigEmitUnavailResrcs, atmSigDetectCldPtyEvents=atmSigDetectCldPtyEvents, atmSigEmitCldPtyEvents=atmSigEmitCldPtyEvents, atmSigDetectMsgErrors=atmSigDetectMsgErrors, atmSigEmitMsgErrors=atmSigEmitMsgErrors, atmSigDetectClgPtyEvents=atmSigDetectClgPtyEvents, atmSigEmitClgPtyEvents=atmSigEmitClgPtyEvents, atmSigDetectTimerExpireds=atmSigDetectTimerExpireds, atmSigEmitTimerExpireds=atmSigEmitTimerExpireds, atmSigDetectRestarts=atmSigDetectRestarts, atmSigEmitRestarts=atmSigEmitRestarts, atmSigInEstabls=atmSigInEstabls, atmSigOutEstabls=atmSigOutEstabls, atmSigSupportTable=atmSigSupportTable, atmSigSupportEntry=atmSigSupportEntry, atmSigSupportClgPtyNumDel=atmSigSupportClgPtyNumDel, atmSigSupportClgPtySubAddr=atmSigSupportClgPtySubAddr, atmSigSupportCldPtySubAddr=atmSigSupportCldPtySubAddr, atmSigSupportHiLyrInfo=atmSigSupportHiLyrInfo, atmSigSupportLoLyrInfo=atmSigSupportLoLyrInfo, atmSigSupportBlliRepeatInd=atmSigSupportBlliRepeatInd, atmSigSupportAALInfo=atmSigSupportAALInfo, atmSigSupportPrefCarrier=atmSigSupportPrefCarrier, atmSigDescrParamTable=atmSigDescrParamTable, atmSigDescrParamEntry=atmSigDescrParamEntry, atmSigDescrParamIndex=atmSigDescrParamIndex, atmSigDescrParamAalType=atmSigDescrParamAalType, atmSigDescrParamAalSscsType=atmSigDescrParamAalSscsType, atmSigDescrParamBhliType=atmSigDescrParamBhliType, atmSigDescrParamBhliInfo=atmSigDescrParamBhliInfo, atmSigDescrParamBbcConnConf=atmSigDescrParamBbcConnConf, atmSigDescrParamBlliLayer2=atmSigDescrParamBlliLayer2, atmSigDescrParamBlliLayer3=atmSigDescrParamBlliLayer3, atmSigDescrParamBlliPktSize=atmSigDescrParamBlliPktSize, atmSigDescrParamBlliSnapId=atmSigDescrParamBlliSnapId, atmSigDescrParamBlliOuiPid=atmSigDescrParamBlliOuiPid, atmSigDescrParamRowStatus=atmSigDescrParamRowStatus, atmIfRegisteredAddrTable=atmIfRegisteredAddrTable, atmIfRegisteredAddrEntry=atmIfRegisteredAddrEntry, atmIfRegAddrAddress=atmIfRegAddrAddress, atmIfRegAddrAddressSource=atmIfRegAddrAddressSource, atmIfRegAddrOrgScope=atmIfRegAddrOrgScope, atmIfRegAddrRowStatus=atmIfRegAddrRowStatus, atmVclAddrTable=atmVclAddrTable, atmVclAddrEntry=atmVclAddrEntry, atmVclAddrAddr=atmVclAddrAddr, atmVclAddrType=atmVclAddrType, atmVclAddrRowStatus=atmVclAddrRowStatus, atmAddrVclTable=atmAddrVclTable, atmAddrVclEntry=atmAddrVclEntry, atmAddrVclAtmIfIndex=atmAddrVclAtmIfIndex, atmAddrVclVpi=atmAddrVclVpi, atmAddrVclVci=atmAddrVclVci, atmAddrVclAddrType=atmAddrVclAddrType, atmVplStatTable=atmVplStatTable, atmVplStatEntry=atmVplStatEntry, atmVplStatTotalCellIns=atmVplStatTotalCellIns, atmVplStatClp0CellIns=atmVplStatClp0CellIns, atmVplStatTotalDiscards=atmVplStatTotalDiscards, atmVplStatClp0Discards=atmVplStatClp0Discards, atmVplStatTotalCellOuts=atmVplStatTotalCellOuts, atmVplStatClp0CellOuts=atmVplStatClp0CellOuts, atmVplStatClp0Tagged=atmVplStatClp0Tagged, atmVplLogicalPortTable=atmVplLogicalPortTable, atmVplLogicalPortEntry=atmVplLogicalPortEntry, atmVplLogicalPortDef=atmVplLogicalPortDef, atmVplLogicalPortIndex=atmVplLogicalPortIndex, atmVclStatTable=atmVclStatTable, atmVclStatEntry=atmVclStatEntry, atmVclStatTotalCellIns=atmVclStatTotalCellIns, atmVclStatClp0CellIns=atmVclStatClp0CellIns, atmVclStatTotalDiscards=atmVclStatTotalDiscards, atmVclStatClp0Discards=atmVclStatClp0Discards, atmVclStatTotalCellOuts=atmVclStatTotalCellOuts, atmVclStatClp0CellOuts=atmVclStatClp0CellOuts, atmVclStatClp0Tagged=atmVclStatClp0Tagged, atmAal5VclStatTable=atmAal5VclStatTable, atmAal5VclStatEntry=atmAal5VclStatEntry, atmAal5VclInPkts=atmAal5VclInPkts, atmAal5VclOutPkts=atmAal5VclOutPkts, atmAal5VclInOctets=atmAal5VclInOctets, atmAal5VclOutOctets=atmAal5VclOutOctets, atmVclGenTable=atmVclGenTable, atmVclGenEntry=atmVclGenEntry, atmVclGenSigDescrIndex=atmVclGenSigDescrIndex, atmInterfaceExtTable=atmInterfaceExtTable, atmInterfaceExtEntry=atmInterfaceExtEntry, atmIntfConfigType=atmIntfConfigType, atmIntfActualType=atmIntfActualType, atmIntfConfigSide=atmIntfConfigSide, atmIntfActualSide=atmIntfActualSide, atmIntfIlmiAdminStatus=atmIntfIlmiAdminStatus, atmIntfIlmiOperStatus=atmIntfIlmiOperStatus, atmIntfIlmiFsmState=atmIntfIlmiFsmState, atmIntfIlmiEstablishConPollIntvl=atmIntfIlmiEstablishConPollIntvl) mibBuilder.exportSymbols("ATM2-MIB", atmIntfIlmiCheckConPollIntvl=atmIntfIlmiCheckConPollIntvl, atmIntfIlmiConPollInactFactor=atmIntfIlmiConPollInactFactor, atmIntfIlmiPublicPrivateIndctr=atmIntfIlmiPublicPrivateIndctr, atmInterfaceConfMaxSvpcVpi=atmInterfaceConfMaxSvpcVpi, atmInterfaceCurrentMaxSvpcVpi=atmInterfaceCurrentMaxSvpcVpi, atmInterfaceConfMaxSvccVpi=atmInterfaceConfMaxSvccVpi, atmInterfaceCurrentMaxSvccVpi=atmInterfaceCurrentMaxSvccVpi, atmInterfaceConfMinSvccVci=atmInterfaceConfMinSvccVci, atmInterfaceCurrentMinSvccVci=atmInterfaceCurrentMinSvccVci, atmIntfSigVccRxTrafficDescrIndex=atmIntfSigVccRxTrafficDescrIndex, atmIntfSigVccTxTrafficDescrIndex=atmIntfSigVccTxTrafficDescrIndex, atmIntfPvcFailures=atmIntfPvcFailures, atmIntfCurrentlyFailingPVpls=atmIntfCurrentlyFailingPVpls, atmIntfCurrentlyFailingPVcls=atmIntfCurrentlyFailingPVcls, atmIntfPvcFailuresTrapEnable=atmIntfPvcFailuresTrapEnable, atmIntfPvcNotificationInterval=atmIntfPvcNotificationInterval, atmIntfLeafSetupFailures=atmIntfLeafSetupFailures, atmIntfLeafSetupRequests=atmIntfLeafSetupRequests, atmIlmiSrvcRegTable=atmIlmiSrvcRegTable, atmIlmiSrvcRegEntry=atmIlmiSrvcRegEntry, atmIlmiSrvcRegIndex=atmIlmiSrvcRegIndex, atmIlmiSrvcRegServiceID=atmIlmiSrvcRegServiceID, atmIlmiSrvcRegAddressIndex=atmIlmiSrvcRegAddressIndex, atmIlmiSrvcRegATMAddress=atmIlmiSrvcRegATMAddress, atmIlmiSrvcRegParm1=atmIlmiSrvcRegParm1, atmIlmiSrvcRegRowStatus=atmIlmiSrvcRegRowStatus, atmIlmiNetworkPrefixTable=atmIlmiNetworkPrefixTable, atmIlmiNetworkPrefixEntry=atmIlmiNetworkPrefixEntry, atmIlmiNetPrefixPrefix=atmIlmiNetPrefixPrefix, atmIlmiNetPrefixRowStatus=atmIlmiNetPrefixRowStatus, atmSwitchAddressTable=atmSwitchAddressTable, atmSwitchAddressEntry=atmSwitchAddressEntry, atmSwitchAddressIndex=atmSwitchAddressIndex, atmSwitchAddressAddress=atmSwitchAddressAddress, atmSwitchAddressRowStatus=atmSwitchAddressRowStatus, atmVpCrossConnectXTable=atmVpCrossConnectXTable, atmVpCrossConnectXEntry=atmVpCrossConnectXEntry, atmVpCrossConnectUserName=atmVpCrossConnectUserName, atmVpCrossConnectProviderName=atmVpCrossConnectProviderName, atmVcCrossConnectXTable=atmVcCrossConnectXTable, atmVcCrossConnectXEntry=atmVcCrossConnectXEntry, atmVcCrossConnectUserName=atmVcCrossConnectUserName, atmVcCrossConnectProviderName=atmVcCrossConnectProviderName, atmCurrentlyFailingPVplTable=atmCurrentlyFailingPVplTable, atmCurrentlyFailingPVplEntry=atmCurrentlyFailingPVplEntry, atmCurrentlyFailingPVplTimeStamp=atmCurrentlyFailingPVplTimeStamp, atmCurrentlyFailingPVclTable=atmCurrentlyFailingPVclTable, atmCurrentlyFailingPVclEntry=atmCurrentlyFailingPVclEntry, atmCurrentlyFailingPVclTimeStamp=atmCurrentlyFailingPVclTimeStamp, atm2MIBTraps=atm2MIBTraps, atmPvcTraps=atmPvcTraps, atmPvcTrapsPrefix=atmPvcTrapsPrefix, atm2MIBConformance=atm2MIBConformance, atm2MIBGroups=atm2MIBGroups, atm2MIBCompliances=atm2MIBCompliances) # Notifications mibBuilder.exportSymbols("ATM2-MIB", atmIntfPvcFailuresTrap=atmIntfPvcFailuresTrap) # Groups mibBuilder.exportSymbols("ATM2-MIB", atmCommonGroup=atmCommonGroup, atmCommonStatsGroup=atmCommonStatsGroup, atmSwitchServcGroup=atmSwitchServcGroup, atmSwitchServcSigGroup=atmSwitchServcSigGroup, atmSwitchServcNotifGroup=atmSwitchServcNotifGroup, atmSwitchGroup=atmSwitchGroup, atmServcGroup=atmServcGroup, atmHostGroup=atmHostGroup, atmHostSigDescrGroup=atmHostSigDescrGroup) # Compliances mibBuilder.exportSymbols("ATM2-MIB", atm2MIBCompliance=atm2MIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RADIUS-DYNAUTH-CLIENT-MIB.py0000644000014400001440000006712611736645137022527 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RADIUS-DYNAUTH-CLIENT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:31 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") # Objects radiusDynAuthClientMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 145)).setRevisions(("2006-09-29 00:00","2006-08-29 00:00",)) if mibBuilder.loadTexts: radiusDynAuthClientMIB.setOrganization("IETF RADEXT Working Group") if mibBuilder.loadTexts: radiusDynAuthClientMIB.setContactInfo(" Stefaan De Cnodder\n\n\n\nAlcatel\nFrancis Wellesplein 1\nB-2018 Antwerp\nBelgium\n\nPhone: +32 3 240 85 15\nEMail: stefaan.de_cnodder@alcatel.be\n\nNagi Reddy Jonnala\nCisco Systems, Inc.\nDivyasree Chambers, B Wing,\nO'Shaugnessy Road,\nBangalore-560027, India.\n\nPhone: +91 94487 60828\nEMail: njonnala@cisco.com\n\nMurtaza Chiba\nCisco Systems, Inc.\n170 West Tasman Dr.\nSan Jose CA, 95134\n\nPhone: +1 408 525 7198\nEMail: mchiba@cisco.com ") if mibBuilder.loadTexts: radiusDynAuthClientMIB.setDescription("The MIB module for entities implementing the client\nside of the Dynamic Authorization Extensions to the\nRemote Authentication Dial-In User Service (RADIUS)\nprotocol. Copyright (C) The Internet Society (2006).\nInitial version as published in RFC 4672;\nfor full legal notices see the RFC itself.") radiusDynAuthClientMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 145, 1)) radiusDynAuthClientScalars = MibIdentifier((1, 3, 6, 1, 2, 1, 145, 1, 1)) radiusDynAuthClientDisconInvalidServerAddresses = MibScalar((1, 3, 6, 1, 2, 1, 145, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconInvalidServerAddresses.setDescription("The number of Disconnect-Ack and Disconnect-NAK packets\n\n\n\nreceived from unknown addresses. This counter may\nexperience a discontinuity when the DAC module\n(re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoAInvalidServerAddresses = MibScalar((1, 3, 6, 1, 2, 1, 145, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoAInvalidServerAddresses.setDescription("The number of CoA-Ack and CoA-NAK packets received from\nunknown addresses. Disconnect-NAK packets received\nfrom unknown addresses. This counter may experience a\ndiscontinuity when the DAC module (re)starts, as\nindicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthServerTable = MibTable((1, 3, 6, 1, 2, 1, 145, 1, 2)) if mibBuilder.loadTexts: radiusDynAuthServerTable.setDescription("The (conceptual) table listing the RADIUS Dynamic\nAuthorization Servers with which the client shares a\nsecret.") radiusDynAuthServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 145, 1, 2, 1)).setIndexNames((0, "RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthServerIndex")) if mibBuilder.loadTexts: radiusDynAuthServerEntry.setDescription("An entry (conceptual row) representing one Dynamic\nAuthorization Server with which the client shares a\nsecret.") radiusDynAuthServerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusDynAuthServerIndex.setDescription("A number uniquely identifying each RADIUS Dynamic\nAuthorization Server with which this Dynamic\nAuthorization Client communicates. This number is\nallocated by the agent implementing this MIB module\nand is unique in this context.") radiusDynAuthServerAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerAddressType.setDescription("The type of IP address of the RADIUS Dynamic\nAuthorization Server referred to in this table entry.") radiusDynAuthServerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerAddress.setDescription("The IP address value of the RADIUS Dynamic\nAuthorization Server referred to in this table entry\nusing the version neutral IP address format. The type\nof this address is determined by the value of the\nradiusDynAuthServerAddressType object.") radiusDynAuthServerClientPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 4), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerClientPortNumber.setDescription("The UDP destination port that the RADIUS Dynamic\nAuthorization Client is using to send requests to this\nserver. The value zero is invalid.") radiusDynAuthServerID = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerID.setDescription("The NAS-Identifier of the RADIUS Dynamic Authorization\nServer referred to in this table entry. This is not\nnecessarily the same as sysName in MIB II.") radiusDynAuthClientRoundTripTime = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientRoundTripTime.setDescription("The time interval (in hundredths of a second) between\nthe most recent Disconnect or CoA request and the\nreceipt of the corresponding Disconnect or CoA reply.\nA value of zero is returned if no reply has been\nreceived yet from this server.") radiusDynAuthClientDisconRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconRequests.setDescription("The number of RADIUS Disconnect-Requests sent\nto this Dynamic Authorization Server. This also\nincludes the RADIUS Disconnect-Requests that have a\nService-Type attribute with value 'Authorize Only'.\nDisconnect-NAK packets received from unknown addresses.\nThis counter may experience a discontinuity when the\nDAC module (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconAuthOnlyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconAuthOnlyRequests.setDescription("The number of RADIUS Disconnect-Requests that include a\nService-Type attribute with value 'Authorize Only'\nsent to this Dynamic Authorization Server.\nDisconnect-NAK packets received from unknown addresses.\nThis counter may experience a discontinuity when the\nDAC module (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconRetransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconRetransmissions.setDescription("The number of RADIUS Disconnect-request packets\nretransmitted to this RADIUS Dynamic Authorization\nServer. Disconnect-NAK packets received from unknown\naddresses. This counter may experience a discontinuity\nwhen the DAC module (re)starts, as indicated by the\nvalue of radiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconAcks.setDescription("The number of RADIUS Disconnect-ACK packets\nreceived from this Dynamic Authorization Server. This\ncounter may experience a discontinuity when the DAC\nmodule (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconNaks = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconNaks.setDescription("The number of RADIUS Disconnect-NAK packets\nreceived from this Dynamic Authorization Server.\nThis includes the RADIUS Disconnect-NAK packets\nreceived with a Service-Type attribute with value\n'Authorize Only' and the RADIUS Disconnect-NAK\npackets received if no session context was found. This\ncounter may experience a discontinuity when the DAC\nmodule (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconNakAuthOnlyRequest = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconNakAuthOnlyRequest.setDescription("The number of RADIUS Disconnect-NAK packets\nthat include a Service-Type attribute with value\n'Authorize Only' received from this Dynamic\nAuthorization Server. This counter may experience a\ndiscontinuity when the DAC module (re)starts, as\n\n\n\nindicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconNakSessNoContext = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconNakSessNoContext.setDescription("The number of RADIUS Disconnect-NAK packets\nreceived from this Dynamic Authorization Server\nbecause no session context was found; i.e., it\nincludes an Error-Cause attribute with value 503\n('Session Context Not Found'). This counter may\nexperience a discontinuity when the DAC module\n(re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientMalformedDisconResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientMalformedDisconResponses.setDescription("The number of malformed RADIUS Disconnect-Ack and\nDisconnect-NAK packets received from this Dynamic\nAuthorization Server. Bad authenticators and unknown\ntypes are not included as malformed Disconnect-Ack and\nDisconnect-NAK packets. This counter may experience a\ndiscontinuity when the DAC module (re)starts, as\nindicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconBadAuthenticators.setDescription("The number of RADIUS Disconnect-Ack and Disconnect-NAK\npackets that contained invalid Authenticator field\nreceived from this Dynamic Authorization Server. This\ncounter may experience a discontinuity when the DAC\nmodule (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconPendingRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconPendingRequests.setDescription("The number of RADIUS Disconnect-request packets\ndestined for this server that have not yet timed out\nor received a response. This variable is incremented\nwhen an Disconnect-Request is sent and decremented\ndue to receipt of a Disconnect-Ack, a Disconnect-NAK,\na timeout, or a retransmission.") radiusDynAuthClientDisconTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconTimeouts.setDescription("The number of Disconnect request timeouts to this\nserver. After a timeout, the client may retry to the\nsame server or give up. A retry to the same server is\ncounted as a retransmit and as a timeout. A send\nto a different server is counted as a\nDisconnect-Request and as a timeout. This counter\nmay experience a discontinuity when the DAC module\n(re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientDisconPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientDisconPacketsDropped.setDescription("The number of incoming Disconnect-Ack and\nDisconnect-NAK packets from this Dynamic Authorization\nServer silently discarded by the client application for\nsome reason other than malformed, bad authenticators,\nor unknown types. This counter may experience a\ndiscontinuity when the DAC module (re)starts, as\nindicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoARequests = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoARequests.setDescription("The number of RADIUS CoA-Requests sent to this\nDynamic Authorization Server. This also includes\nCoA requests that have a Service-Type attribute\nwith value 'Authorize Only'. This counter may\nexperience a discontinuity when the DAC module\n(re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoAAuthOnlyRequest = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoAAuthOnlyRequest.setDescription("The number of RADIUS CoA-requests that include a\nService-Type attribute with value 'Authorize Only'\nsent to this Dynamic Authorization Client. This\ncounter may experience a discontinuity when the DAC\nmodule (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoARetransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoARetransmissions.setDescription("The number of RADIUS CoA-request packets\nretransmitted to this RADIUS Dynamic Authorization\nServer. This counter may experience a discontinuity\nwhen the DAC module (re)starts, as indicated by the\nvalue of radiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoAAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoAAcks.setDescription("The number of RADIUS CoA-ACK packets received from\nthis Dynamic Authorization Server. This counter may\nexperience a discontinuity when the DAC module\n(re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoANaks = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoANaks.setDescription("The number of RADIUS CoA-NAK packets received from\nthis Dynamic Authorization Server. This includes the\nRADIUS CoA-NAK packets received with a Service-Type\nattribute with value 'Authorize Only' and the RADIUS\nCoA-NAK packets received because no session context\n\n\n\nwas found. This counter may experience a discontinuity\nwhen the DAC module (re)starts, as indicated by the\nvalue of radiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoANakAuthOnlyRequest = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoANakAuthOnlyRequest.setDescription("The number of RADIUS CoA-NAK packets that include a\nService-Type attribute with value 'Authorize Only'\nreceived from this Dynamic Authorization Server. This\ncounter may experience a discontinuity when the DAC\nmodule (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoANakSessNoContext = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoANakSessNoContext.setDescription("The number of RADIUS CoA-NAK packets received from\nthis Dynamic Authorization Server because no session\ncontext was found; i.e., it includes an Error-Cause\nattribute with value 503 ('Session Context Not Found').\nThis counter may experience a discontinuity when the\nDAC module (re)starts as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientMalformedCoAResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientMalformedCoAResponses.setDescription("The number of malformed RADIUS CoA-Ack and CoA-NAK\npackets received from this Dynamic Authorization\nServer. Bad authenticators and unknown types are\nnot included as malformed CoA-Ack and CoA-NAK packets.\nThis counter may experience a discontinuity when the\nDAC module (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoABadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoABadAuthenticators.setDescription("The number of RADIUS CoA-Ack and CoA-NAK packets\nthat contained invalid Authenticator field\nreceived from this Dynamic Authorization Server.\nThis counter may experience a discontinuity when the\nDAC module (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoAPendingRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 28), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoAPendingRequests.setDescription("The number of RADIUS CoA-request packets destined for\nthis server that have not yet timed out or received a\nresponse. This variable is incremented when an\nCoA-Request is sent and decremented due to receipt of\na CoA-Ack, a CoA-NAK, or a timeout, or a\nretransmission.") radiusDynAuthClientCoATimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoATimeouts.setDescription("The number of CoA request timeouts to this server.\nAfter a timeout, the client may retry to the same\nserver or give up. A retry to the same server is\ncounted as a retransmit and as a timeout. A send to\na different server is counted as a CoA-Request and\nas a timeout. This counter may experience a\ndiscontinuity when the DAC module (re)starts, as\nindicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCoAPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCoAPacketsDropped.setDescription("The number of incoming CoA-Ack and CoA-NAK from this\nDynamic Authorization Server silently discarded by the\nclient application for some reason other than\nmalformed, bad authenticators, or unknown types. This\ncounter may experience a discontinuity when the DAC\nmodule (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientUnknownTypes.setDescription("The number of incoming packets of unknown types\nthat were received on the Dynamic Authorization port.\nThis counter may experience a discontinuity when the\nDAC module (re)starts, as indicated by the value of\nradiusDynAuthClientCounterDiscontinuity.") radiusDynAuthClientCounterDiscontinuity = MibTableColumn((1, 3, 6, 1, 2, 1, 145, 1, 2, 1, 32), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientCounterDiscontinuity.setDescription("The time (in hundredths of a second) since the\nlast counter discontinuity. A discontinuity may\nbe the result of a reinitialization of the DAC\nmodule within the managed entity.") radiusDynAuthClientMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 145, 2)) radiusDynAuthClientMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 145, 2, 1)) radiusDynAuthClientMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 145, 2, 2)) # Augmentions # Groups radiusDynAuthClientMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 145, 2, 2, 1)).setObjects(*(("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoARequests"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthServerID"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoABadAuthenticators"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconTimeouts"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconRetransmissions"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconBadAuthenticators"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientUnknownTypes"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoANaks"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoAAcks"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientMalformedDisconResponses"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthServerClientPortNumber"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoAPacketsDropped"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconInvalidServerAddresses"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconPacketsDropped"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconPendingRequests"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoAPendingRequests"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoARetransmissions"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCounterDiscontinuity"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconAcks"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconRequests"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientMalformedCoAResponses"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoATimeouts"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientRoundTripTime"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoAInvalidServerAddresses"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconNaks"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthServerAddressType"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthServerAddress"), ) ) if mibBuilder.loadTexts: radiusDynAuthClientMIBGroup.setDescription("The collection of objects providing management of\na RADIUS Dynamic Authorization Client.") radiusDynAuthClientAuthOnlyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 145, 2, 2, 2)).setObjects(*(("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoAAuthOnlyRequest"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoANakAuthOnlyRequest"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconNakAuthOnlyRequest"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconAuthOnlyRequests"), ) ) if mibBuilder.loadTexts: radiusDynAuthClientAuthOnlyGroup.setDescription("The collection of objects supporting the RADIUS\nmessages including Service-Type attribute with\nvalue 'Authorize Only'.") radiusDynAuthClientNoSessGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 145, 2, 2, 3)).setObjects(*(("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientDisconNakSessNoContext"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientCoANakSessNoContext"), ) ) if mibBuilder.loadTexts: radiusDynAuthClientNoSessGroup.setDescription("The collection of objects supporting the RADIUS\nmessages that are referring to non-existing sessions.") # Compliances radiusDynAuthClientMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 145, 2, 1, 1)).setObjects(*(("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientNoSessGroup"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientAuthOnlyGroup"), ("RADIUS-DYNAUTH-CLIENT-MIB", "radiusDynAuthClientMIBGroup"), ) ) if mibBuilder.loadTexts: radiusDynAuthClientMIBCompliance.setDescription("The compliance statement for entities implementing\nthe RADIUS Dynamic Authorization Client.\nImplementation of this module is for entities that\nsupport IPv4 and/or IPv6.") # Exports # Module identity mibBuilder.exportSymbols("RADIUS-DYNAUTH-CLIENT-MIB", PYSNMP_MODULE_ID=radiusDynAuthClientMIB) # Objects mibBuilder.exportSymbols("RADIUS-DYNAUTH-CLIENT-MIB", radiusDynAuthClientMIB=radiusDynAuthClientMIB, radiusDynAuthClientMIBObjects=radiusDynAuthClientMIBObjects, radiusDynAuthClientScalars=radiusDynAuthClientScalars, radiusDynAuthClientDisconInvalidServerAddresses=radiusDynAuthClientDisconInvalidServerAddresses, radiusDynAuthClientCoAInvalidServerAddresses=radiusDynAuthClientCoAInvalidServerAddresses, radiusDynAuthServerTable=radiusDynAuthServerTable, radiusDynAuthServerEntry=radiusDynAuthServerEntry, radiusDynAuthServerIndex=radiusDynAuthServerIndex, radiusDynAuthServerAddressType=radiusDynAuthServerAddressType, radiusDynAuthServerAddress=radiusDynAuthServerAddress, radiusDynAuthServerClientPortNumber=radiusDynAuthServerClientPortNumber, radiusDynAuthServerID=radiusDynAuthServerID, radiusDynAuthClientRoundTripTime=radiusDynAuthClientRoundTripTime, radiusDynAuthClientDisconRequests=radiusDynAuthClientDisconRequests, radiusDynAuthClientDisconAuthOnlyRequests=radiusDynAuthClientDisconAuthOnlyRequests, radiusDynAuthClientDisconRetransmissions=radiusDynAuthClientDisconRetransmissions, radiusDynAuthClientDisconAcks=radiusDynAuthClientDisconAcks, radiusDynAuthClientDisconNaks=radiusDynAuthClientDisconNaks, radiusDynAuthClientDisconNakAuthOnlyRequest=radiusDynAuthClientDisconNakAuthOnlyRequest, radiusDynAuthClientDisconNakSessNoContext=radiusDynAuthClientDisconNakSessNoContext, radiusDynAuthClientMalformedDisconResponses=radiusDynAuthClientMalformedDisconResponses, radiusDynAuthClientDisconBadAuthenticators=radiusDynAuthClientDisconBadAuthenticators, radiusDynAuthClientDisconPendingRequests=radiusDynAuthClientDisconPendingRequests, radiusDynAuthClientDisconTimeouts=radiusDynAuthClientDisconTimeouts, radiusDynAuthClientDisconPacketsDropped=radiusDynAuthClientDisconPacketsDropped, radiusDynAuthClientCoARequests=radiusDynAuthClientCoARequests, radiusDynAuthClientCoAAuthOnlyRequest=radiusDynAuthClientCoAAuthOnlyRequest, radiusDynAuthClientCoARetransmissions=radiusDynAuthClientCoARetransmissions, radiusDynAuthClientCoAAcks=radiusDynAuthClientCoAAcks, radiusDynAuthClientCoANaks=radiusDynAuthClientCoANaks, radiusDynAuthClientCoANakAuthOnlyRequest=radiusDynAuthClientCoANakAuthOnlyRequest, radiusDynAuthClientCoANakSessNoContext=radiusDynAuthClientCoANakSessNoContext, radiusDynAuthClientMalformedCoAResponses=radiusDynAuthClientMalformedCoAResponses, radiusDynAuthClientCoABadAuthenticators=radiusDynAuthClientCoABadAuthenticators, radiusDynAuthClientCoAPendingRequests=radiusDynAuthClientCoAPendingRequests, radiusDynAuthClientCoATimeouts=radiusDynAuthClientCoATimeouts, radiusDynAuthClientCoAPacketsDropped=radiusDynAuthClientCoAPacketsDropped, radiusDynAuthClientUnknownTypes=radiusDynAuthClientUnknownTypes, radiusDynAuthClientCounterDiscontinuity=radiusDynAuthClientCounterDiscontinuity, radiusDynAuthClientMIBConformance=radiusDynAuthClientMIBConformance, radiusDynAuthClientMIBCompliances=radiusDynAuthClientMIBCompliances, radiusDynAuthClientMIBGroups=radiusDynAuthClientMIBGroups) # Groups mibBuilder.exportSymbols("RADIUS-DYNAUTH-CLIENT-MIB", radiusDynAuthClientMIBGroup=radiusDynAuthClientMIBGroup, radiusDynAuthClientAuthOnlyGroup=radiusDynAuthClientAuthOnlyGroup, radiusDynAuthClientNoSessGroup=radiusDynAuthClientNoSessGroup) # Compliances mibBuilder.exportSymbols("RADIUS-DYNAUTH-CLIENT-MIB", radiusDynAuthClientMIBCompliance=radiusDynAuthClientMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-TC-MIB.py0000644000014400001440000000416211736645141020305 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:43 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class T11FabricIndex(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4095) # Objects t11TcMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 136)).setRevisions(("2006-03-02 00:00",)) if mibBuilder.loadTexts: t11TcMIB.setOrganization("T11") if mibBuilder.loadTexts: t11TcMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nPhone: +1 408 853-9172\nEMail: cds@cisco.com\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA USA 95134\nPhone: +1 408-526-5260\nEMail: kzm@cisco.com") if mibBuilder.loadTexts: t11TcMIB.setDescription("This module defines textual conventions used in T11 MIBs.\n\nCopyright (C) The Internet Society (2006). This version\nof this MIB module is part of RFC 4439; see the RFC\nitself for full legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("T11-TC-MIB", PYSNMP_MODULE_ID=t11TcMIB) # Types mibBuilder.exportSymbols("T11-TC-MIB", T11FabricIndex=T11FabricIndex) # Objects mibBuilder.exportSymbols("T11-TC-MIB", t11TcMIB=t11TcMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/RFC1382-MIB.py0000644000014400001440000021271611736645137020377 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RFC1382-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:33 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( EntryStatus, ) = mibBuilder.importSymbols("RFC1271-MIB", "EntryStatus") ( IfIndexType, PositiveInteger, ) = mibBuilder.importSymbols("RFC1381-MIB", "IfIndexType", "PositiveInteger") ( Bits, Counter32, Gauge32, Integer32, Integer32, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "transmission") ( DisplayString, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") # Types class X121Address(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,17) # Objects x25 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5)) x25AdmnTable = MibTable((1, 3, 6, 1, 2, 1, 10, 5, 1)) if mibBuilder.loadTexts: x25AdmnTable.setDescription("This table contains the administratively\nset configuration parameters for an X.25\nPacket Level Entity (PLE).\n\nMost of the objects in this table have\ncorresponding objects in the x25OperTable.\nThis table contains the values as last set\nby the administrator. The x25OperTable\ncontains the values actually in use by an\nX.25 PLE.\n\nChanging an administrative value may or may\nnot change a current operating value. The\noperating value may not change until the\ninterface is restarted. Some\nimplementations may change the values\nimmediately upon changing the administrative\ntable. All implementations are required to\nload the values from the administrative\ntable when initializing a PLE.") x25AdmnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 5, 1, 1)).setIndexNames((0, "RFC1382-MIB", "x25AdmnIndex")) if mibBuilder.loadTexts: x25AdmnEntry.setDescription("Entries of x25AdmnTable.") x25AdmnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25AdmnIndex.setDescription("The ifIndex value for the X.25 Interface.") x25AdmnInterfaceMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("dte", 1), ("dce", 2), ("dxe", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnInterfaceMode.setDescription("Identifies DCE/DTE mode in which the\ninterface operates. A value of dxe\nindicates the mode will be determined by XID\nnegotiation.") x25AdmnMaxActiveCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnMaxActiveCircuits.setDescription("The maximum number of circuits this PLE can\nsupport; including PVCs.") x25AdmnPacketSequencing = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("modulo8", 1), ("modulo128", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnPacketSequencing.setDescription("The modulus of the packet sequence number\nspace.") x25AdmnRestartTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 5), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnRestartTimer.setDescription("The T20 restart timer in milliseconds.") x25AdmnCallTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 6), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnCallTimer.setDescription("The T21 Call timer in milliseconds.") x25AdmnResetTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 7), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnResetTimer.setDescription("The T22 Reset timer in milliseconds.") x25AdmnClearTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 8), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnClearTimer.setDescription("The T23 Clear timer in milliseconds.") x25AdmnWindowTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 9), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnWindowTimer.setDescription("The T24 window status transmission timer in\nmilliseconds. A value of 2147483647\nindicates no window timer in use.") x25AdmnDataRxmtTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 10), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnDataRxmtTimer.setDescription("The T25 data retransmission timer in\nmilliseconds. A value of 2147483647\nindicates no data retransmission timer in\nuse.") x25AdmnInterruptTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 11), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnInterruptTimer.setDescription("The T26 interrupt timer in milliseconds. A\nvalue of 2147483647 indicates no interrupt\ntimer in use.") x25AdmnRejectTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 12), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnRejectTimer.setDescription("The T27 Reject retransmission timer in\nmilliseconds. A value of 2147483647\nindicates no reject timer in use.") x25AdmnRegistrationRequestTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 13), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnRegistrationRequestTimer.setDescription("The T28 registration timer in milliseconds.\nA value of 2147483647 indicates no\nregistration timer in use.") x25AdmnMinimumRecallTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 14), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnMinimumRecallTimer.setDescription("Minimum time interval between unsuccessful\ncall attempts in milliseconds.") x25AdmnRestartCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnRestartCount.setDescription("The R20 restart retransmission count.") x25AdmnResetCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnResetCount.setDescription("The r22 Reset retransmission count.") x25AdmnClearCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnClearCount.setDescription("The r23 Clear retransmission count.") x25AdmnDataRxmtCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnDataRxmtCount.setDescription("The R25 Data retransmission count. This\nvalue is irrelevant if the\nx25AdmnDataRxmtTimer indicates no timer in\nuse.") x25AdmnRejectCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnRejectCount.setDescription("The R27 reject retransmission count. This\nvalue is irrelevant if the\nx25AdmnRejectTimer indicates no timer in\nuse.") x25AdmnRegistrationRequestCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnRegistrationRequestCount.setDescription("The R28 Registration retransmission Count.\nThis value is irrelevant if the\nx25AdmnRegistrationRequestTimer indicates no\ntimer in use.") x25AdmnNumberPVCs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnNumberPVCs.setDescription("The number of PVC configured for this PLE.\nThe PVCs use channel numbers from 1 to this\nnumber.") x25AdmnDefCallParamId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 22), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnDefCallParamId.setDescription("This identifies the instance of the\nx25CallParmIndex for the entry in the\nx25CallParmTable which contains the default\ncall parameters for this PLE.") x25AdmnLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 23), X121Address()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnLocalAddress.setDescription("The local address for this PLE subnetwork.\nA zero length address maybe returned by PLEs\nthat only support PVCs.") x25AdmnProtocolVersionSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 1, 1, 24), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25AdmnProtocolVersionSupported.setDescription("Identifies the version of the X.25 protocol\nthis interface should support. Object\nidentifiers for common versions are defined\nbelow in the x25ProtocolVersion subtree.") x25OperTable = MibTable((1, 3, 6, 1, 2, 1, 10, 5, 2)) if mibBuilder.loadTexts: x25OperTable.setDescription("The operation parameters in use by the X.25\nPLE.") x25OperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 5, 2, 1)).setIndexNames((0, "RFC1382-MIB", "x25OperIndex")) if mibBuilder.loadTexts: x25OperEntry.setDescription("Entries of x25OperTable.") x25OperIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperIndex.setDescription("The ifIndex value for the X.25 interface.") x25OperInterfaceMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("dte", 1), ("dce", 2), ("dxe", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperInterfaceMode.setDescription("Identifies DCE/DTE mode in which the\ninterface operates. A value of dxe\nindicates the role will be determined by XID\nnegotiation at the Link Layer and that\nnegotiation has not yet taken place.") x25OperMaxActiveCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperMaxActiveCircuits.setDescription("Maximum number of circuits this PLE can\nsupport.") x25OperPacketSequencing = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("modulo8", 1), ("modulo128", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperPacketSequencing.setDescription("The modulus of the packet sequence number\nspace.") x25OperRestartTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 5), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperRestartTimer.setDescription("The T20 restart timer in milliseconds.") x25OperCallTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 6), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperCallTimer.setDescription("The T21 Call timer in milliseconds.") x25OperResetTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 7), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperResetTimer.setDescription("The T22 Reset timer in milliseconds.") x25OperClearTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 8), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperClearTimer.setDescription("The T23 Clear timer in milliseconds.") x25OperWindowTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 9), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperWindowTimer.setDescription("The T24 window status transmission timer\nmilliseconds. A value of 2147483647\nindicates no window timer in use.") x25OperDataRxmtTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 10), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperDataRxmtTimer.setDescription("The T25 Data Retransmission timer in\nmilliseconds. A value of 2147483647\nindicates no data retransmission timer in\nuse.") x25OperInterruptTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 11), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperInterruptTimer.setDescription("The T26 Interrupt timer in milliseconds. A\nvalue of 2147483647 indicates interrupts are\nnot being used.") x25OperRejectTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 12), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperRejectTimer.setDescription("The T27 Reject retransmission timer in\nmilliseconds. A value of 2147483647\nindicates no reject timer in use.") x25OperRegistrationRequestTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 13), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperRegistrationRequestTimer.setDescription("The T28 registration timer in milliseconds.\nA value of 2147483647 indicates no\nregistration timer in use.") x25OperMinimumRecallTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 14), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperMinimumRecallTimer.setDescription("Minimum time interval between unsuccessful\ncall attempts in milliseconds.") x25OperRestartCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperRestartCount.setDescription("The R20 restart retransmission count.") x25OperResetCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperResetCount.setDescription("The r22 Reset retransmission count.") x25OperClearCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperClearCount.setDescription("The r23 Clear retransmission count.") x25OperDataRxmtCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperDataRxmtCount.setDescription("The R25 Data retransmission count. This\nvalue is undefined if the\nx25OperDataRxmtTimer indicates no timer in\nuse.") x25OperRejectCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperRejectCount.setDescription("The R27 reject retransmission count. This\nvalue is undefined if the x25OperRejectTimer\nindicates no timer in use.") x25OperRegistrationRequestCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperRegistrationRequestCount.setDescription("The R28 Registration retransmission Count.\nThis value is undefined if the\nx25OperREgistrationRequestTimer indicates no\ntimer in use.") x25OperNumberPVCs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperNumberPVCs.setDescription("The number of PVC configured for this PLE.\nThe PVCs use channel numbers from 1 to this\nnumber.") x25OperDefCallParamId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 22), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperDefCallParamId.setDescription("This identifies the instance of the\nx25CallParmIndex for the entry in the\nx25CallParmTable that contains the default\ncall parameters for this PLE.") x25OperLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 23), X121Address()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperLocalAddress.setDescription("The local address for this PLE subnetwork.\nA zero length address maybe returned by PLEs\nthat only support PVCs.") x25OperDataLinkId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 24), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperDataLinkId.setDescription("This identifies the instance of the index\nobject in the first table of the most device\nspecific MIB for the interface used by this\nPLE.") x25OperProtocolVersionSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 2, 1, 25), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25OperProtocolVersionSupported.setDescription("Identifies the version of the X.25 protocol\nthis interface supports. Object identifiers\nfor common versions are defined below in the\nx25ProtocolVersion subtree.") x25StatTable = MibTable((1, 3, 6, 1, 2, 1, 10, 5, 3)) if mibBuilder.loadTexts: x25StatTable.setDescription("Statistics information about this X.25\nPLE.") x25StatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 5, 3, 1)).setIndexNames((0, "RFC1382-MIB", "x25StatIndex")) if mibBuilder.loadTexts: x25StatEntry.setDescription("Entries of the x25StatTable.") x25StatIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatIndex.setDescription("The ifIndex value for the X.25 interface.") x25StatInCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInCalls.setDescription("The number of incoming calls received.") x25StatInCallRefusals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInCallRefusals.setDescription("The number of incoming calls refused. This\nincludes calls refused by the PLE and by\nhigher layers. This also includes calls\ncleared because of restricted fast select.") x25StatInProviderInitiatedClears = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInProviderInitiatedClears.setDescription("The number of clear requests with a cause\ncode other than DTE initiated.") x25StatInRemotelyInitiatedResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInRemotelyInitiatedResets.setDescription("The number of reset requests received with\ncause code DTE initiated.") x25StatInProviderInitiatedResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInProviderInitiatedResets.setDescription("The number of reset requests received with\ncause code other than DTE initiated.") x25StatInRestarts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInRestarts.setDescription("The number of remotely initiated (including\nprovider initiated) restarts experienced by\nthe PLE excluding the restart associated\nwith bringing up the PLE interface. This\nonly counts restarts received when the PLE\nalready has an established connection with\nthe remove PLE.") x25StatInDataPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInDataPackets.setDescription("The number of data packets received.") x25StatInAccusedOfProtocolErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInAccusedOfProtocolErrors.setDescription("The number of packets received containing a\nprocedure error cause code. These include\nclear, reset, restart, or diagnostic\npackets.") x25StatInInterrupts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInInterrupts.setDescription("The number of interrupt packets received by\nthe PLE or over the PVC/VC.") x25StatOutCallAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatOutCallAttempts.setDescription("The number of calls attempted.") x25StatOutCallFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatOutCallFailures.setDescription("The number of call attempts which failed.\nThis includes calls that were cleared\nbecause of restrictive fast select.") x25StatOutInterrupts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatOutInterrupts.setDescription("The number of interrupt packets send by the\nPLE or over the PVC/VC.") x25StatOutDataPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatOutDataPackets.setDescription("The number of data packets sent by this\nPLE.") x25StatOutgoingCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatOutgoingCircuits.setDescription("The number of active outgoing circuits.\nThis includes call requests sent but not yet\nconfirmed. This does not count PVCs.") x25StatIncomingCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatIncomingCircuits.setDescription("The number of active Incoming Circuits.\nThis includes call indications received but\nnot yet acknowledged. This does not count\nPVCs.") x25StatTwowayCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatTwowayCircuits.setDescription("The number of active two-way Circuits.\nThis includes call requests sent but not yet\nconfirmed. This does not count PVCs.") x25StatRestartTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatRestartTimeouts.setDescription("The number of times the T20 restart timer\nexpired.") x25StatCallTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatCallTimeouts.setDescription("The number of times the T21 call timer\nexpired.") x25StatResetTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatResetTimeouts.setDescription("The number of times the T22 reset timer\nexpired.") x25StatClearTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatClearTimeouts.setDescription("The number of times the T23 clear timer\nexpired.") x25StatDataRxmtTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatDataRxmtTimeouts.setDescription("The number of times the T25 data timer\nexpired.") x25StatInterruptTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatInterruptTimeouts.setDescription("The number of times the T26 interrupt timer\nexpired.") x25StatRetryCountExceededs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatRetryCountExceededs.setDescription("The number of times a retry counter was\nexhausted.") x25StatClearCountExceededs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 3, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25StatClearCountExceededs.setDescription("The number of times the R23 clear count was\nexceeded.") x25ChannelTable = MibTable((1, 3, 6, 1, 2, 1, 10, 5, 4)) if mibBuilder.loadTexts: x25ChannelTable.setDescription("These objects contain information about the\nchannel number configuration in an X.25 PLE.\nThese values are the configured values.\nchanges in these values after the interfaces\nhas started may not be reflected in the\noperating PLE.") x25ChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 5, 4, 1)).setIndexNames((0, "RFC1382-MIB", "x25ChannelIndex")) if mibBuilder.loadTexts: x25ChannelEntry.setDescription("Entries of x25ChannelTable.") x25ChannelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 4, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ChannelIndex.setDescription("The ifIndex value for the X.25 Interface.") x25ChannelLIC = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25ChannelLIC.setDescription("Lowest Incoming channel.") x25ChannelHIC = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25ChannelHIC.setDescription("Highest Incoming channel. A value of zero\nindicates no channels in this range.") x25ChannelLTC = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25ChannelLTC.setDescription("Lowest Two-way channel.") x25ChannelHTC = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25ChannelHTC.setDescription("Highest Two-way channel. A value of zero\nindicates no channels in this range.") x25ChannelLOC = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25ChannelLOC.setDescription("Lowest outgoing channel.") x25ChannelHOC = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25ChannelHOC.setDescription("Highest outgoing channel. A value of zero\nindicates no channels in this range.") x25CircuitTable = MibTable((1, 3, 6, 1, 2, 1, 10, 5, 5)) if mibBuilder.loadTexts: x25CircuitTable.setDescription("These objects contain general information\nabout a specific circuit of an X.25 PLE.") x25CircuitEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 5, 5, 1)).setIndexNames((0, "RFC1382-MIB", "x25CircuitIndex"), (0, "RFC1382-MIB", "x25CircuitChannel")) if mibBuilder.loadTexts: x25CircuitEntry.setDescription("Entries of x25CircuitTable.") x25CircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 1), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitIndex.setDescription("The ifIndex value for the X.25 Interface.") x25CircuitChannel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitChannel.setDescription("The channel number for this circuit.") x25CircuitStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,6,4,9,5,1,3,8,10,7,)).subtype(namedValues=NamedValues(("invalid", 1), ("other", 10), ("closed", 2), ("calling", 3), ("open", 4), ("clearing", 5), ("pvc", 6), ("pvcResetting", 7), ("startClear", 8), ("startPvcResetting", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CircuitStatus.setDescription("This object reports the current status of\nthe circuit.\n\nAn existing instance of this object can only\nbe set to startClear, startPvcResetting, or\ninvalid. An instance with the value calling\nor open can only be set to startClear and\nthat action will start clearing the circuit.\nAn instance with the value PVC can only be\nset to startPvcResetting or invalid and that\naction resets the PVC or deletes the circuit\nrespectively. The values startClear or\nstartPvcResetting will never be returned by\nan agent. An attempt to set the status of\nan existing instance to a value other than\none of these values will result in an error.\n\nA non-existing instance can be set to PVC to\ncreate a PVC if the implementation supports\ndynamic creation of PVCs. Some\nimplementations may only allow creation and\ndeletion of PVCs if the interface is down.\nSince the instance identifier will supply\nthe PLE index and the channel number,\nsetting this object alone supplies\nsufficient information to create the\ninstance. All the DEFVAL clauses for the\nother objects of this table are appropriate\nfor creating a PVC; PLEs creating entries\nfor placed or accepted calls will use values\nappropriate for the call rather than the\nvalue of the DEFVAL clause. Two managers\ntrying to create the same PVC can determine\nfrom the return code which manager succeeded\nand which failed (the failing manager fails\nbecause it can not set a value of PVC for an\nexisting object).\nAn entry in the closed or invalid state may\nbe deleted or reused at the agent's\nconvence. If the entry is kept in the\nclosed state, the values of the parameters\nassociated with the entry must be correct.\nClosed implies the values in the circuit\ntable are correct.\n\nThe value of invalid indicates the other\nvalues in the table are invalid. Many\nagents may never return a value of invalid\nbecause they dynamically allocate and free\nunused table entries. An agent for a\nstatically configured systems can return\ninvalid to indicate the entry has not yet\nbeen used so the counters contain no\ninformation.") x25CircuitEstablishTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitEstablishTime.setDescription("The value of sysUpTime when the channel was\nassociated with this circuit. For outgoing\nSVCs, this is the time the first call packet\nwas sent. For incoming SVCs, this is the\ntime the call indication was received. For\nPVCs this is the time the PVC was able to\npass data to a higher layer entity without\nloss of data.") x25CircuitDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("incoming", 1), ("outgoing", 2), ("pvc", 3), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CircuitDirection.setDescription("The direction of the call that established\nthis circuit.") x25CircuitInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitInOctets.setDescription("The number of octets of user data delivered\nto upper layer.") x25CircuitInPdus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitInPdus.setDescription("The number of PDUs received for this\ncircuit.") x25CircuitInRemotelyInitiatedResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitInRemotelyInitiatedResets.setDescription("The number of Resets received for this\ncircuit with cause code of DTE initiated.") x25CircuitInProviderInitiatedResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitInProviderInitiatedResets.setDescription("The number of Resets received for this\ncircuit with cause code other than DTE\ninitiated.") x25CircuitInInterrupts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitInInterrupts.setDescription("The number of interrupt packets received\nfor this circuit.") x25CircuitOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitOutOctets.setDescription("The number of octets of user data sent for\nthis circuit.") x25CircuitOutPdus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitOutPdus.setDescription("The number of PDUs sent for this circuit.") x25CircuitOutInterrupts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitOutInterrupts.setDescription("The number of interrupt packets sent on\nthis circuit.") x25CircuitDataRetransmissionTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitDataRetransmissionTimeouts.setDescription("The number of times the T25 data\nretransmission timer expired for this\ncircuit.") x25CircuitResetTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitResetTimeouts.setDescription("The number of times the T22 reset timer\nexpired for this circuit.") x25CircuitInterruptTimeouts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CircuitInterruptTimeouts.setDescription("The number of times the T26 Interrupt timer\nexpired for this circuit.") x25CircuitCallParamId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 17), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CircuitCallParamId.setDescription("This identifies the instance of the\nx25CallParmIndex for the entry in the\nx25CallParmTable which contains the call\nparameters in use with this circuit. The\nentry referenced must contain the values\nthat are currently in use by the circuit\nrather than proposed values. A value of\nNULL indicates the circuit is a PVC or is\nusing all the default parameters.") x25CircuitCalledDteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 18), X121Address().clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CircuitCalledDteAddress.setDescription("For incoming calls, this is the called\naddress from the call indication packet.\nFor outgoing calls, this is the called\naddress from the call confirmation packet.\nThis will be zero length for PVCs.") x25CircuitCallingDteAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 19), X121Address().clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CircuitCallingDteAddress.setDescription("For incoming calls, this is the calling\naddress from the call indication packet.\nFor outgoing calls, this is the calling\naddress from the call confirmation packet.\nThis will be zero length for PVCs.") x25CircuitOriginallyCalledAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 20), X121Address().clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CircuitOriginallyCalledAddress.setDescription("For incoming calls, this is the address in\nthe call Redirection or Call Deflection\nNotification facility if the call was\ndeflected or redirected, otherwise it will\nbe called address from the call indication\npacket. For outgoing calls, this is the\naddress from the call request packet. This\nwill be zero length for PVCs.") x25CircuitDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 5, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CircuitDescr.setDescription("A descriptive string associated with this\ncircuit. This provides a place for the\nagent to supply any descriptive information\nit knows about the use or owner of the\ncircuit. The agent may return the process\nidentifier and user name for the process\nusing the circuit. Alternative the agent\nmay return the name of the configuration\nentry that caused a bridge to establish the\ncircuit. A zero length value indicates the\nagent doesn't have any additional\ninformation.") x25ClearedCircuitEntriesRequested = MibScalar((1, 3, 6, 1, 2, 1, 10, 5, 6), PositiveInteger()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25ClearedCircuitEntriesRequested.setDescription("The requested number of entries for the\nagent to keep in the x25ClearedCircuit\ntable.") x25ClearedCircuitEntriesGranted = MibScalar((1, 3, 6, 1, 2, 1, 10, 5, 7), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitEntriesGranted.setDescription("The actual number of entries the agent will\nkeep in the x25ClearedCircuit Table.") x25ClearedCircuitTable = MibTable((1, 3, 6, 1, 2, 1, 10, 5, 8)) if mibBuilder.loadTexts: x25ClearedCircuitTable.setDescription("A table of entries about closed circuits.\nEntries must be made in this table whenever\ncircuits are closed and the close request or\nclose indication packet contains a clearing\ncause other than DTE Originated or a\nDiagnostic code field other than Higher\nLayer Initiated disconnection-normal. An\nagent may optionally make entries for normal\ncloses (to record closing facilities or\nother information).\n\nAgents will delete the oldest entry in the\ntable when adding a new entry would exceed\nagent resources. Agents are required to\nkeep the last entry put in the table and may\nkeep more entries. The object\nx25OperClearEntriesGranted returns the\nmaximum number of entries kept in the\ntable.") x25ClearedCircuitEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 5, 8, 1)).setIndexNames((0, "RFC1382-MIB", "x25ClearedCircuitIndex")) if mibBuilder.loadTexts: x25ClearedCircuitEntry.setDescription("Information about a cleared circuit.") x25ClearedCircuitIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 1), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitIndex.setDescription("An index that uniquely distinguishes one\nentry in the clearedCircuitTable from\nanother. This index will start at\n2147483647 and will decrease by one for each\nnew entry added to the table. Upon reaching\none, the index will reset to 2147483647.\nBecause the index starts at 2147483647 and\ndecreases, a manager may do a getnext on\nentry zero and obtain the most recent entry.\nWhen the index has the value of 1, the next\nentry will delete all entries in the table\nand that entry will be numbered 2147483647.") x25ClearedCircuitPleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 2), IfIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitPleIndex.setDescription("The value of ifIndex for the PLE which\ncleared the circuit that created the entry.") x25ClearedCircuitTimeEstablished = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitTimeEstablished.setDescription("The value of sysUpTime when the circuit was\nestablished. This will be the same value\nthat was in the x25CircuitEstablishTime for\nthe circuit.") x25ClearedCircuitTimeCleared = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitTimeCleared.setDescription("The value of sysUpTime when the circuit was\ncleared. For locally initiated clears, this\nwill be the time when the clear confirmation\nwas received. For remotely initiated\nclears, this will be the time when the clear\nindication was received.") x25ClearedCircuitChannel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitChannel.setDescription("The channel number for the circuit that was\ncleared.") x25ClearedCircuitClearingCause = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitClearingCause.setDescription("The Clearing Cause from the clear request\nor clear indication packet that cleared the\ncircuit.") x25ClearedCircuitDiagnosticCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitDiagnosticCode.setDescription("The Diagnostic Code from the clear request\nor clear indication packet that cleared the\ncircuit.") x25ClearedCircuitInPdus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitInPdus.setDescription("The number of PDUs received on the\ncircuit.") x25ClearedCircuitOutPdus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitOutPdus.setDescription("The number of PDUs transmitted on the\ncircuit.") x25ClearedCircuitCalledAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 10), X121Address()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitCalledAddress.setDescription("The called address from the cleared\ncircuit.") x25ClearedCircuitCallingAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 11), X121Address()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitCallingAddress.setDescription("The calling address from the cleared\ncircuit.") x25ClearedCircuitClearFacilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 8, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 109))).setMaxAccess("readonly") if mibBuilder.loadTexts: x25ClearedCircuitClearFacilities.setDescription("The facilities field from the clear request\nor clear indication packet that cleared the\ncircuit. A size of zero indicates no\nfacilities were present.") x25CallParmTable = MibTable((1, 3, 6, 1, 2, 1, 10, 5, 9)) if mibBuilder.loadTexts: x25CallParmTable.setDescription("These objects contain the parameters that\ncan be varied between X.25 calls. The\nentries in this table are independent of the\nPLE. There exists only one of these tables\nfor the entire system. The indexes for the\nentries are independent of any PLE or any\ncircuit. Other tables reference entries in\nthis table. Entries in this table can be\nused for default PLE parameters, for\nparameters to use to place/answer a call,\nfor the parameters currently in use for a\ncircuit, or parameters that were used by a\ncircuit.\n\nThe number of references to a given set of\nparameters can be found in the\nx25CallParmRefCount object sharing the same\ninstance identifier with the parameters.\nThe value of this reference count also\naffects the access of the objects in this\ntable. An object in this table with the\nsame instance identifier as the instance\nidentifier of an x25CallParmRefCount must be\nconsider associated with that reference\ncount. An object with an associated\nreference count of zero can be written (if\nits ACCESS clause allows it). An object\nwith an associated reference count greater\nthan zero can not be written (regardless of\nthe ACCESS clause). This ensures that a set\nof call parameters being referenced from\nanother table can not be modified or changed\nin a ways inappropriate for continued use by\nthat table.") x25CallParmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 5, 9, 1)).setIndexNames((0, "RFC1382-MIB", "x25CallParmIndex")) if mibBuilder.loadTexts: x25CallParmEntry.setDescription("Entries of x25CallParmTable.") x25CallParmIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 1), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CallParmIndex.setDescription("A value that distinguishes this entry from\nanother entry. Entries in this table are\nreferenced from other objects which identify\ncall parameters.\n\nIt is impossible to know which other objects\nin the MIB reference entries in the table by\nlooking at this table. Because of this,\nchanges to parameters must be accomplished\nby creating a new entry in this table and\nthen changing the referencing table to\nidentify the new entry.\n\nNote that an agent will only use the values\nin this table when another table is changed\nto reference those values. The number of\nother tables that reference an index object\nin this table can be found in\nx25CallParmRefCount. The value of the\nreference count will affect the writability\nof the objects as explained above.\n\nEntries in this table which have a reference\ncount of zero maybe deleted at the convence\nof the agent. Care should be taken by the\nagent to give the NMS sufficient time to\ncreate a reference to newly created entries.\n\nShould a Management Station not find a free\nindex with which to create a new entry, it\nmay feel free to delete entries with a\nreference count of zero. However in doing\nso the Management Station much realize it\nmay impact other Management Stations.") x25CallParmStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 2), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmStatus.setDescription("The status of this call parameter entry.\nSee RFC 1271 for details of usage.") x25CallParmRefCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 3), PositiveInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: x25CallParmRefCount.setDescription("The number of references know by a\nmanagement station to exist to this set of\ncall parameters. This is the number of\nother objects that have returned a value of,\nand will return a value of, the index for\nthis set of call parameters. Examples of\nsuch objects are the x25AdmnDefCallParamId,\nx25OperDataLinkId, or x25AdmnDefCallParamId\nobjects defined above.") x25CallParmInPacketSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmInPacketSize.setDescription("The maximum receive packet size in octets\nfor a circuit. A size of zero for a circuit\nmeans use the PLE default size. A size of\nzero for the PLE means use a default size of\n128.") x25CallParmOutPacketSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmOutPacketSize.setDescription("The maximum transmit packet size in octets\nfor a circuit. A size of zero for a circuit\nmeans use the PLE default size. A size of\nzero for the PLE default means use a default\nsize of 128.") x25CallParmInWindowSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmInWindowSize.setDescription("The receive window size for a circuit. A\nsize of zero for a circuit means use the PLE\ndefault size. A size of zero for the PLE\ndefault means use 2.") x25CallParmOutWindowSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmOutWindowSize.setDescription("The transmit window size for a circuit. A\nsize of zero for a circuit means use the PLE\ndefault size. A size of zero for the PLE\ndefault means use 2.") x25CallParmAcceptReverseCharging = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,2,)).subtype(namedValues=NamedValues(("default", 1), ("accept", 2), ("refuse", 3), ("neverAccept", 4), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmAcceptReverseCharging.setDescription("An enumeration defining if the PLE will\naccept or refuse charges. A value of\ndefault for a circuit means use the PLE\ndefault value. A value of neverAccept is\nonly used for the PLE default and indicates\nthe PLE will never accept reverse charging.\nA value of default for a PLE default means\nrefuse.") x25CallParmProposeReverseCharging = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("default", 1), ("reverse", 2), ("local", 3), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmProposeReverseCharging.setDescription("An enumeration defining if the PLE should\npropose reverse or local charging. The\nvalue of default for a circuit means use the\nPLE default. The value of default for the\nPLE default means use local.") x25CallParmFastSelect = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,6,3,4,5,2,)).subtype(namedValues=NamedValues(("default", 1), ("notSpecified", 2), ("fastSelect", 3), ("restrictedFastResponse", 4), ("noFastSelect", 5), ("noRestrictedFastResponse", 6), )).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmFastSelect.setDescription("Expresses preference for use of fast select\nfacility. The value of default for a\ncircuit is the PLE default. A value of\ndefault for the PLE means noFastSelect. A\nvalue of noFastSelect or\nnoRestrictedFastResponse indicates a circuit\nmay not use fast select or restricted fast\nresponse.") x25CallParmInThruPutClasSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(7,13,5,6,4,17,10,11,8,2,16,1,12,18,14,15,3,9,)).subtype(namedValues=NamedValues(("tcReserved1", 1), ("tc9600", 10), ("tc19200", 11), ("tc48000", 12), ("tc64000", 13), ("tcReserved14", 14), ("tcReserved15", 15), ("tcReserved0", 16), ("tcNone", 17), ("tcDefault", 18), ("tcReserved2", 2), ("tc75", 3), ("tc150", 4), ("tc300", 5), ("tc600", 6), ("tc1200", 7), ("tc2400", 8), ("tc4800", 9), )).clone(17)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmInThruPutClasSize.setDescription("The incoming throughput class to negotiate.\nA value of tcDefault for a circuit means use\nthe PLE default. A value of tcDefault for\nthe PLE default means tcNone. A value of\ntcNone means do not negotiate throughtput\nclass.") x25CallParmOutThruPutClasSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(7,13,5,6,4,17,10,11,8,2,16,1,12,18,14,15,3,9,)).subtype(namedValues=NamedValues(("tcReserved1", 1), ("tc9600", 10), ("tc19200", 11), ("tc48000", 12), ("tc64000", 13), ("tcReserved14", 14), ("tcReserved15", 15), ("tcReserved0", 16), ("tcNone", 17), ("tcDefault", 18), ("tcReserved2", 2), ("tc75", 3), ("tc150", 4), ("tc300", 5), ("tc600", 6), ("tc1200", 7), ("tc2400", 8), ("tc4800", 9), )).clone(17)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmOutThruPutClasSize.setDescription("The outgoing throughput class to negotiate.\nA value of tcDefault for a circuit means use\nthe PLE default. A value of tcDefault for\nthe PLE default means use tcNone. A value\nof tcNone means do not negotiate throughtput\nclass.") x25CallParmCug = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmCug.setDescription("The Closed User Group to specify. This\nconsists of two or four octets containing\nthe characters 0 through 9. A zero length\nstring indicates no facility requested. A\nstring length of three containing the\ncharacters DEF for a circuit means use the\nPLE default, (the PLE default parameter may\nnot reference an entry of DEF.)") x25CallParmCugoa = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmCugoa.setDescription("The Closed User Group with Outgoing Access\nto specify. This consists of two or four\noctets containing the characters 0 through\n9. A string length of three containing the\ncharacters DEF for a circuit means use the\nPLE default (the PLE default parameters may\nnot reference an entry of DEF). A zero\nlength string indicates no facility\nrequested.") x25CallParmBcug = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 3)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmBcug.setDescription("The Bilateral Closed User Group to specify.\nThis consists of two octets containing the\ncharacters 0 through 9. A string length of\nthree containing the characters DEF for a\ncircuit means use the PLE default (the PLE\ndefault parameter may not reference an entry\nof DEF). A zero length string indicates no\nfacility requested.") x25CallParmNui = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 108)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmNui.setDescription("The Network User Identifier facility. This\nis binary value to be included immediately\nafter the length field. The PLE will supply\nthe length octet. A zero length string\nindicates no facility requested. This value\nis ignored for the PLE default parameters\nentry.") x25CallParmChargingInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("default", 1), ("noFacility", 2), ("noChargingInfo", 3), ("chargingInfo", 4), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmChargingInfo.setDescription("The charging Information facility. A value\nof default for a circuit means use the PLE\ndefault. The value of default for the\ndefault PLE parameters means use noFacility.\nThe value of noFacility means do not include\na facility.") x25CallParmRpoa = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 108)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmRpoa.setDescription("The RPOA facility. The octet string\ncontains n * 4 sequences of the characters\n0-9 to specify a facility with n entries.\nThe octet string containing the 3 characters\nDEF for a circuit specifies use of the PLE\ndefault (the entry for the PLE default may\nnot contain DEF). A zero length string\nindicates no facility requested.") x25CallParmTrnstDly = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65537)).clone(65536)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmTrnstDly.setDescription("The Transit Delay Selection and Indication\nvalue. A value of 65536 indicates no\nfacility requested. A value of 65537 for a\ncircuit means use the PLE default (the PLE\ndefault parameters entry may not use the\nvalue 65537). The value 65535 may only be\nused to indicate the value in use by a\ncircuit.") x25CallParmCallingExt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmCallingExt.setDescription("The Calling Extension facility. This\ncontains one of the following:\n\nA sequence of hex digits with the value to\nbe put in the facility. These digits will be\nconverted to binary by the agent and put in\nthe facility. These octets do not include\nthe length octet.\n\nA value containing the three character DEF\nfor a circuit means use the PLE default,\n(the entry for the PLE default parameters\nmay not use the value DEF).\n\nA zero length string indicates no facility\nrequested.") x25CallParmCalledExt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmCalledExt.setDescription("The Called Extension facility. This\ncontains one of the following:\n\nA sequence of hex digits with the value to\nbe put in the facility. These digits will be\nconverted to binary by the agent and put in\nthe facility. These octets do not include\nthe length octet.\n\nA value containing the three character DEF\nfor a circuit means use the PLE default,\n(the entry for the PLE default parameters\nmay not use the value DEF).\n\nA zero length string indicates no facility\nrequested.") x25CallParmInMinThuPutCls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 17)).clone(17)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmInMinThuPutCls.setDescription("The minimum input throughput Class. A\nvalue of 16 for a circuit means use the PLE\ndefault (the PLE parameters entry may not\nuse this value). A value of 17 indicates no\nfacility requested.") x25CallParmOutMinThuPutCls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 17)).clone(17)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmOutMinThuPutCls.setDescription("The minimum output throughput Class. A\nvalue of 16 for a circuit means use the PLE\ndefault (the PLE parameters entry may not\nuse this value). A value of 17 indicates no\nfacility requested.") x25CallParmEndTrnsDly = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 24), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmEndTrnsDly.setDescription("The End-to-End Transit Delay to negotiate.\nAn octet string of length 2, 4, or 6\ncontains the facility encoded as specified\nin ISO/IEC 8208 section 15.3.2.4. An octet\nstring of length 3 containing the three\ncharacter DEF for a circuit means use the\nPLE default (the entry for the PLE default\ncan not contain the characters DEF). A zero\nlength string indicates no facility\nrequested.") x25CallParmPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 25), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmPriority.setDescription("The priority facility to negotiate. The\noctet string encoded as specified in ISO/IEC\n8208 section 15.3.2.5. A zero length string\nindicates no facility requested. The entry\nfor the PLE default parameters must be zero\nlength.") x25CallParmProtection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 26), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 108)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmProtection.setDescription("A string contains the following:\nA hex string containing the value for the\nprotection facility. This will be converted\nfrom hex to the octets actually in the\npacket by the agent. The agent will supply\nthe length field and the length octet is not\ncontained in this string.\n\nAn string containing the 3 characters DEF\nfor a circuit means use the PLE default (the\nentry for the PLE default parameters may not\nuse the value DEF).\n\nA zero length string mean no facility\nrequested.") x25CallParmExptData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 27), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("default", 1), ("noExpeditedData", 2), ("expeditedData", 3), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmExptData.setDescription("The Expedited Data facility to negotiate.\nA value of default for a circuit means use\nthe PLE default value. The entry for the\nPLE default parameters may not have the\nvalue default.") x25CallParmUserData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 28), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmUserData.setDescription("The call user data as placed in the packet.\nA zero length string indicates no call user\ndata. If both the circuit call parameters\nand the PLE default have call user data\ndefined, the data from the circuit call\nparameters will be used. If only the PLE\nhas data defined, the PLE entry will be\nused. If neither the circuit call\nparameters or the PLE default entry has a\nvalue, no call user data will be sent.") x25CallParmCallingNetworkFacilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 29), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 108)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmCallingNetworkFacilities.setDescription("The calling network facilities. The\nfacilities are encoded here exactly as\nencoded in the call packet. These\nfacilities do not include the marker\nfacility code.\n\nA zero length string in the entry for the\nparameter to use when establishing a circuit\nmeans use the PLE default. A zero length\nstring in the entry for PLE default\nparameters indicates no default facilities.") x25CallParmCalledNetworkFacilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 5, 9, 1, 30), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 108)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: x25CallParmCalledNetworkFacilities.setDescription("The called network facilities. The\nfacilities are encoded here exactly as\nencoded in the call packet. These\nfacilities do not include the marker\nfacility code.\n\nA zero length string in the entry for the\nparameter to use when establishing a circuit\nmeans use the PLE default. A zero length\nstring in the entry for PLE default\nparameters indicates no default facilities.") x25ProtocolVersion = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5, 10)) x25protocolCcittV1976 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5, 10, 1)) x25protocolCcittV1980 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5, 10, 2)) x25protocolCcittV1984 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5, 10, 3)) x25protocolCcittV1988 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5, 10, 4)) x25protocolIso8208V1987 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5, 10, 5)) x25protocolIso8208V1989 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 5, 10, 6)) # Augmentions # Notifications x25Restart = NotificationType((1, 3, 6, 1, 2, 1, 10, 5, 0, 1)).setObjects(*(("RFC1382-MIB", "x25OperIndex"), ) ) if mibBuilder.loadTexts: x25Restart.setDescription("This trap means the X.25 PLE sent or\nreceived a restart packet. The restart that\nbrings up the link should not send a\nx25Restart trap so the interface should send\na linkUp trap. Sending this trap means the\nagent does not send a linkDown and linkUp\ntrap.") x25Reset = NotificationType((1, 3, 6, 1, 2, 1, 10, 5, 0, 2)).setObjects(*(("RFC1382-MIB", "x25CircuitChannel"), ("RFC1382-MIB", "x25CircuitIndex"), ) ) if mibBuilder.loadTexts: x25Reset.setDescription("If the PLE sends or receives a reset, the\nagent should send an x25Reset trap.") # Exports # Types mibBuilder.exportSymbols("RFC1382-MIB", X121Address=X121Address) # Objects mibBuilder.exportSymbols("RFC1382-MIB", x25=x25, x25AdmnTable=x25AdmnTable, x25AdmnEntry=x25AdmnEntry, x25AdmnIndex=x25AdmnIndex, x25AdmnInterfaceMode=x25AdmnInterfaceMode, x25AdmnMaxActiveCircuits=x25AdmnMaxActiveCircuits, x25AdmnPacketSequencing=x25AdmnPacketSequencing, x25AdmnRestartTimer=x25AdmnRestartTimer, x25AdmnCallTimer=x25AdmnCallTimer, x25AdmnResetTimer=x25AdmnResetTimer, x25AdmnClearTimer=x25AdmnClearTimer, x25AdmnWindowTimer=x25AdmnWindowTimer, x25AdmnDataRxmtTimer=x25AdmnDataRxmtTimer, x25AdmnInterruptTimer=x25AdmnInterruptTimer, x25AdmnRejectTimer=x25AdmnRejectTimer, x25AdmnRegistrationRequestTimer=x25AdmnRegistrationRequestTimer, x25AdmnMinimumRecallTimer=x25AdmnMinimumRecallTimer, x25AdmnRestartCount=x25AdmnRestartCount, x25AdmnResetCount=x25AdmnResetCount, x25AdmnClearCount=x25AdmnClearCount, x25AdmnDataRxmtCount=x25AdmnDataRxmtCount, x25AdmnRejectCount=x25AdmnRejectCount, x25AdmnRegistrationRequestCount=x25AdmnRegistrationRequestCount, x25AdmnNumberPVCs=x25AdmnNumberPVCs, x25AdmnDefCallParamId=x25AdmnDefCallParamId, x25AdmnLocalAddress=x25AdmnLocalAddress, x25AdmnProtocolVersionSupported=x25AdmnProtocolVersionSupported, x25OperTable=x25OperTable, x25OperEntry=x25OperEntry, x25OperIndex=x25OperIndex, x25OperInterfaceMode=x25OperInterfaceMode, x25OperMaxActiveCircuits=x25OperMaxActiveCircuits, x25OperPacketSequencing=x25OperPacketSequencing, x25OperRestartTimer=x25OperRestartTimer, x25OperCallTimer=x25OperCallTimer, x25OperResetTimer=x25OperResetTimer, x25OperClearTimer=x25OperClearTimer, x25OperWindowTimer=x25OperWindowTimer, x25OperDataRxmtTimer=x25OperDataRxmtTimer, x25OperInterruptTimer=x25OperInterruptTimer, x25OperRejectTimer=x25OperRejectTimer, x25OperRegistrationRequestTimer=x25OperRegistrationRequestTimer, x25OperMinimumRecallTimer=x25OperMinimumRecallTimer, x25OperRestartCount=x25OperRestartCount, x25OperResetCount=x25OperResetCount, x25OperClearCount=x25OperClearCount, x25OperDataRxmtCount=x25OperDataRxmtCount, x25OperRejectCount=x25OperRejectCount, x25OperRegistrationRequestCount=x25OperRegistrationRequestCount, x25OperNumberPVCs=x25OperNumberPVCs, x25OperDefCallParamId=x25OperDefCallParamId, x25OperLocalAddress=x25OperLocalAddress, x25OperDataLinkId=x25OperDataLinkId, x25OperProtocolVersionSupported=x25OperProtocolVersionSupported, x25StatTable=x25StatTable, x25StatEntry=x25StatEntry, x25StatIndex=x25StatIndex, x25StatInCalls=x25StatInCalls, x25StatInCallRefusals=x25StatInCallRefusals, x25StatInProviderInitiatedClears=x25StatInProviderInitiatedClears, x25StatInRemotelyInitiatedResets=x25StatInRemotelyInitiatedResets, x25StatInProviderInitiatedResets=x25StatInProviderInitiatedResets, x25StatInRestarts=x25StatInRestarts, x25StatInDataPackets=x25StatInDataPackets, x25StatInAccusedOfProtocolErrors=x25StatInAccusedOfProtocolErrors, x25StatInInterrupts=x25StatInInterrupts, x25StatOutCallAttempts=x25StatOutCallAttempts, x25StatOutCallFailures=x25StatOutCallFailures, x25StatOutInterrupts=x25StatOutInterrupts, x25StatOutDataPackets=x25StatOutDataPackets, x25StatOutgoingCircuits=x25StatOutgoingCircuits, x25StatIncomingCircuits=x25StatIncomingCircuits, x25StatTwowayCircuits=x25StatTwowayCircuits, x25StatRestartTimeouts=x25StatRestartTimeouts, x25StatCallTimeouts=x25StatCallTimeouts, x25StatResetTimeouts=x25StatResetTimeouts, x25StatClearTimeouts=x25StatClearTimeouts, x25StatDataRxmtTimeouts=x25StatDataRxmtTimeouts, x25StatInterruptTimeouts=x25StatInterruptTimeouts, x25StatRetryCountExceededs=x25StatRetryCountExceededs, x25StatClearCountExceededs=x25StatClearCountExceededs, x25ChannelTable=x25ChannelTable, x25ChannelEntry=x25ChannelEntry, x25ChannelIndex=x25ChannelIndex, x25ChannelLIC=x25ChannelLIC, x25ChannelHIC=x25ChannelHIC, x25ChannelLTC=x25ChannelLTC, x25ChannelHTC=x25ChannelHTC, x25ChannelLOC=x25ChannelLOC, x25ChannelHOC=x25ChannelHOC, x25CircuitTable=x25CircuitTable, x25CircuitEntry=x25CircuitEntry, x25CircuitIndex=x25CircuitIndex, x25CircuitChannel=x25CircuitChannel, x25CircuitStatus=x25CircuitStatus, x25CircuitEstablishTime=x25CircuitEstablishTime, x25CircuitDirection=x25CircuitDirection, x25CircuitInOctets=x25CircuitInOctets, x25CircuitInPdus=x25CircuitInPdus, x25CircuitInRemotelyInitiatedResets=x25CircuitInRemotelyInitiatedResets, x25CircuitInProviderInitiatedResets=x25CircuitInProviderInitiatedResets, x25CircuitInInterrupts=x25CircuitInInterrupts, x25CircuitOutOctets=x25CircuitOutOctets, x25CircuitOutPdus=x25CircuitOutPdus, x25CircuitOutInterrupts=x25CircuitOutInterrupts, x25CircuitDataRetransmissionTimeouts=x25CircuitDataRetransmissionTimeouts, x25CircuitResetTimeouts=x25CircuitResetTimeouts, x25CircuitInterruptTimeouts=x25CircuitInterruptTimeouts, x25CircuitCallParamId=x25CircuitCallParamId, x25CircuitCalledDteAddress=x25CircuitCalledDteAddress, x25CircuitCallingDteAddress=x25CircuitCallingDteAddress, x25CircuitOriginallyCalledAddress=x25CircuitOriginallyCalledAddress, x25CircuitDescr=x25CircuitDescr, x25ClearedCircuitEntriesRequested=x25ClearedCircuitEntriesRequested, x25ClearedCircuitEntriesGranted=x25ClearedCircuitEntriesGranted, x25ClearedCircuitTable=x25ClearedCircuitTable, x25ClearedCircuitEntry=x25ClearedCircuitEntry, x25ClearedCircuitIndex=x25ClearedCircuitIndex, x25ClearedCircuitPleIndex=x25ClearedCircuitPleIndex, x25ClearedCircuitTimeEstablished=x25ClearedCircuitTimeEstablished, x25ClearedCircuitTimeCleared=x25ClearedCircuitTimeCleared, x25ClearedCircuitChannel=x25ClearedCircuitChannel, x25ClearedCircuitClearingCause=x25ClearedCircuitClearingCause, x25ClearedCircuitDiagnosticCode=x25ClearedCircuitDiagnosticCode, x25ClearedCircuitInPdus=x25ClearedCircuitInPdus, x25ClearedCircuitOutPdus=x25ClearedCircuitOutPdus) mibBuilder.exportSymbols("RFC1382-MIB", x25ClearedCircuitCalledAddress=x25ClearedCircuitCalledAddress, x25ClearedCircuitCallingAddress=x25ClearedCircuitCallingAddress, x25ClearedCircuitClearFacilities=x25ClearedCircuitClearFacilities, x25CallParmTable=x25CallParmTable, x25CallParmEntry=x25CallParmEntry, x25CallParmIndex=x25CallParmIndex, x25CallParmStatus=x25CallParmStatus, x25CallParmRefCount=x25CallParmRefCount, x25CallParmInPacketSize=x25CallParmInPacketSize, x25CallParmOutPacketSize=x25CallParmOutPacketSize, x25CallParmInWindowSize=x25CallParmInWindowSize, x25CallParmOutWindowSize=x25CallParmOutWindowSize, x25CallParmAcceptReverseCharging=x25CallParmAcceptReverseCharging, x25CallParmProposeReverseCharging=x25CallParmProposeReverseCharging, x25CallParmFastSelect=x25CallParmFastSelect, x25CallParmInThruPutClasSize=x25CallParmInThruPutClasSize, x25CallParmOutThruPutClasSize=x25CallParmOutThruPutClasSize, x25CallParmCug=x25CallParmCug, x25CallParmCugoa=x25CallParmCugoa, x25CallParmBcug=x25CallParmBcug, x25CallParmNui=x25CallParmNui, x25CallParmChargingInfo=x25CallParmChargingInfo, x25CallParmRpoa=x25CallParmRpoa, x25CallParmTrnstDly=x25CallParmTrnstDly, x25CallParmCallingExt=x25CallParmCallingExt, x25CallParmCalledExt=x25CallParmCalledExt, x25CallParmInMinThuPutCls=x25CallParmInMinThuPutCls, x25CallParmOutMinThuPutCls=x25CallParmOutMinThuPutCls, x25CallParmEndTrnsDly=x25CallParmEndTrnsDly, x25CallParmPriority=x25CallParmPriority, x25CallParmProtection=x25CallParmProtection, x25CallParmExptData=x25CallParmExptData, x25CallParmUserData=x25CallParmUserData, x25CallParmCallingNetworkFacilities=x25CallParmCallingNetworkFacilities, x25CallParmCalledNetworkFacilities=x25CallParmCalledNetworkFacilities, x25ProtocolVersion=x25ProtocolVersion, x25protocolCcittV1976=x25protocolCcittV1976, x25protocolCcittV1980=x25protocolCcittV1980, x25protocolCcittV1984=x25protocolCcittV1984, x25protocolCcittV1988=x25protocolCcittV1988, x25protocolIso8208V1987=x25protocolIso8208V1987, x25protocolIso8208V1989=x25protocolIso8208V1989) # Notifications mibBuilder.exportSymbols("RFC1382-MIB", x25Restart=x25Restart, x25Reset=x25Reset) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-GMPLS-TC-MIB.py0000644000014400001440000001167511736645136021343 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-GMPLS-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:05 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANAGmplsAdminStatusInformationTC(Bits): namedValues = NamedValues(("reflect", 0), ("reserved1", 1), ("reserved10", 10), ("reserved11", 11), ("reserved12", 12), ("reserved13", 13), ("reserved14", 14), ("reserved15", 15), ("reserved16", 16), ("reserved17", 17), ("reserved18", 18), ("reserved19", 19), ("reserved2", 2), ("reserved20", 20), ("reserved21", 21), ("reserved22", 22), ("reserved23", 23), ("reserved24", 24), ("reserved25", 25), ("reserved26", 26), ("reserved27", 27), ("reserved28", 28), ("testing", 29), ("reserved3", 3), ("administrativelyDown", 30), ("deleteInProgress", 31), ("reserved4", 4), ("reserved5", 5), ("reserved6", 6), ("reserved7", 7), ("reserved8", 8), ("reserved9", 9), ) class IANAGmplsGeneralizedPidTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(18,28,44,46,21,15,14,23,30,0,8,53,24,42,50,7,13,43,26,5,27,51,48,58,49,10,31,11,38,47,20,17,16,22,9,29,6,52,40,45,54,12,36,55,19,41,25,56,32,34,57,33,37,) namedValues = NamedValues(("unknown", 0), ("asynchDS2T2", 10), ("bitsynchDS2T2", 11), ("reservedByRFC3471first", 12), ("asynchE1", 13), ("bytesynchE1", 14), ("bytesynch31ByDS0", 15), ("asynchDS1T1", 16), ("bitsynchDS1T1", 17), ("bytesynchDS1T1", 18), ("vc1vc12", 19), ("reservedByRFC3471second", 20), ("reservedByRFC3471third", 21), ("ds1SFAsynch", 22), ("ds1ESFAsynch", 23), ("ds3M23Asynch", 24), ("ds3CBitParityAsynch", 25), ("vtLovc", 26), ("stsSpeHovc", 27), ("posNoScramble16BitCrc", 28), ("posNoScramble32BitCrc", 29), ("posScramble16BitCrc", 30), ("posScramble32BitCrc", 31), ("atm", 32), ("ethernet", 33), ("sdhSonet", 34), ("digitalwrapper", 36), ("lambda", 37), ("ansiEtsiPdh", 38), ("lapsSdh", 40), ("fddi", 41), ("dqdb", 42), ("fiberChannel3", 43), ("hdlc", 44), ("ethernetV2DixOnly", 45), ("ethernet802dot3Only", 46), ("g709ODUj", 47), ("g709OTUk", 48), ("g709CBRorCBRa", 49), ("asynchE4", 5), ("g709CBRb", 50), ("g709BSOT", 51), ("g709BSNT", 52), ("gfpIPorPPP", 53), ("gfpEthernetMAC", 54), ("gfpEthernetPHY", 55), ("g709ESCON", 56), ("g709FICON", 57), ("g709FiberChannel", 58), ("asynchDS3T3", 6), ("asynchE3", 7), ("bitsynchE3", 8), ("bytesynchE3", 9), ) class IANAGmplsLSPEncodingTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,13,3,11,5,2,1,8,7,12,0,) namedValues = NamedValues(("tunnelLspNotGmpls", 0), ("tunnelLspPacket", 1), ("tunnelLspFiberChannel", 11), ("tunnelDigitalPath", 12), ("tunnelOpticalChannel", 13), ("tunnelLspEthernet", 2), ("tunnelLspAnsiEtsiPdh", 3), ("tunnelLspSdhSonet", 5), ("tunnelLspDigitalWrapper", 7), ("tunnelLspLambda", 8), ("tunnelLspFiber", 9), ) class IANAGmplsSwitchingTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(150,100,51,200,2,0,1,4,3,) namedValues = NamedValues(("unknown", 0), ("psc1", 1), ("tdm", 100), ("lsc", 150), ("psc2", 2), ("fsc", 200), ("psc3", 3), ("psc4", 4), ("l2sc", 51), ) # Objects ianaGmpls = ModuleIdentity((1, 3, 6, 1, 2, 1, 152)).setRevisions(("2007-02-27 00:00",)) if mibBuilder.loadTexts: ianaGmpls.setOrganization("IANA") if mibBuilder.loadTexts: ianaGmpls.setContactInfo("Internet Assigned Numbers Authority\nPostal: 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\nTel: +1 310 823 9358\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaGmpls.setDescription("Copyright (C) The IETF Trust (2007). The initial version\nof this MIB module was published in RFC 4802. For full legal\nnotices see the RFC itself. Supplementary information\nmay be available on:\nhttp://www.ietf.org/copyrights/ianamib.html") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-GMPLS-TC-MIB", PYSNMP_MODULE_ID=ianaGmpls) # Types mibBuilder.exportSymbols("IANA-GMPLS-TC-MIB", IANAGmplsAdminStatusInformationTC=IANAGmplsAdminStatusInformationTC, IANAGmplsGeneralizedPidTC=IANAGmplsGeneralizedPidTC, IANAGmplsLSPEncodingTypeTC=IANAGmplsLSPEncodingTypeTC, IANAGmplsSwitchingTypeTC=IANAGmplsSwitchingTypeTC) # Objects mibBuilder.exportSymbols("IANA-GMPLS-TC-MIB", ianaGmpls=ianaGmpls) pysnmp-mibs-0.1.3/pysnmp_mibs/Job-Monitoring-MIB.py0000644000014400001440000012203411736645137022275 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python Job-Monitoring-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:15 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, enterprises, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "enterprises") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class JmAttributeTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(90,51,74,175,115,52,93,174,22,6,94,36,23,38,195,70,54,170,171,151,114,8,55,132,1,173,56,150,7,172,113,75,76,112,9,192,190,111,25,95,91,29,34,73,50,152,193,194,31,96,32,26,30,92,4,3,72,5,110,130,21,35,53,20,77,28,71,131,97,33,27,24,191,37,) namedValues = NamedValues(("other", 1), ("impressionsSpooled", 110), ("impressionsSentToDevice", 111), ("impressionsInterpreted", 112), ("impressionsCompletedCurrentCopy", 113), ("fullColorImpressionsCompleted", 114), ("highlightColorImpressionsCompleted", 115), ("pagesRequested", 130), ("pagesCompleted", 131), ("pagesCompletedCurrentCopy", 132), ("sheetsRequested", 150), ("sheetsCompleted", 151), ("sheetsCompletedCurrentCopy", 152), ("mediumRequested", 170), ("mediumConsumed", 171), ("colorantRequested", 172), ("colorantConsumed", 173), ("mediumTypeConsumed", 174), ("mediumSizeConsumed", 175), ("jobSubmissionToServerTime", 190), ("jobSubmissionTime", 191), ("jobStartedBeingHeldTime", 192), ("jobStartedProcessingTime", 193), ("jobCompletionTime", 194), ("jobProcessingCPUTime", 195), ("jobURI", 20), ("jobAccountName", 21), ("serverAssignedJobName", 22), ("jobName", 23), ("jobServiceTypes", 24), ("jobSourceChannelIndex", 25), ("jobSourcePlatformType", 26), ("submittingServerName", 27), ("submittingApplicationName", 28), ("jobOriginatingHost", 29), ("jobStateReasons2", 3), ("deviceNameRequested", 30), ("queueNameRequested", 31), ("physicalDevice", 32), ("numberOfDocuments", 33), ("fileName", 34), ("documentName", 35), ("jobComment", 36), ("documentFormatIndex", 37), ("documentFormat", 38), ("jobStateReasons3", 4), ("jobStateReasons4", 5), ("jobPriority", 50), ("jobProcessAfterDateAndTime", 51), ("jobHold", 52), ("jobHoldUntil", 53), ("outputBin", 54), ("sides", 55), ("finishing", 56), ("processingMessage", 6), ("processingMessageNaturalLangTag", 7), ("printQualityRequested", 70), ("printQualityUsed", 71), ("printerResolutionRequested", 72), ("printerResolutionUsed", 73), ("tonerEcomonyRequested", 74), ("tonerEcomonyUsed", 75), ("tonerDensityRequested", 76), ("tonerDensityUsed", 77), ("jobCodedCharSet", 8), ("jobNaturalLanguageTag", 9), ("jobCopiesRequested", 90), ("jobCopiesCompleted", 91), ("documentCopiesRequested", 92), ("documentCopiesCompleted", 93), ("jobKOctetsTransferred", 94), ("sheetCompletedCopyNumber", 95), ("sheetCompletedDocumentNumber", 96), ("jobCollationType", 97), ) class JmBooleanTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,4,) namedValues = NamedValues(("unknown", 2), ("false", 3), ("true", 4), ) class JmFinishingTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,7,2,6,4,5,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("none", 3), ("staple", 4), ("punch", 5), ("cover", 6), ("bind", 7), ) class JmJobCollationTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,5,2,3,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("uncollatedSheets", 3), ("collatedDocuments", 4), ("uncollatedDocuments", 5), ) class JmJobServiceTypesTC(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class JmJobSourcePlatformTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,12,5,10,2,4,11,3,1,7,6,8,) namedValues = NamedValues(("other", 1), ("sptVMS", 10), ("sptWindows", 11), ("sptNetWare", 12), ("unknown", 2), ("sptUNIX", 3), ("sptOS2", 4), ("sptPCDOS", 5), ("sptNT", 6), ("sptMVS", 7), ("sptVM", 8), ("sptOS400", 9), ) class JmJobStateReasons1TC(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class JmJobStateReasons2TC(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class JmJobStateReasons3TC(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class JmJobStateReasons4TC(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class JmJobStateTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(6,9,5,7,8,2,4,3,) namedValues = NamedValues(("unknown", 2), ("pending", 3), ("pendingHeld", 4), ("processing", 5), ("processingStopped", 6), ("canceled", 7), ("aborted", 8), ("completed", 9), ) class JmJobStringTC(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,63) class JmJobSubmissionIDTypeTC(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,1) fixedLength = 1 class JmMediumTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(12,13,2,11,5,9,8,1,6,4,3,10,7,) namedValues = NamedValues(("other", 1), ("tabStock", 10), ("multiPartForm", 11), ("labels", 12), ("multiLayer", 13), ("unknown", 2), ("stationery", 3), ("transparency", 4), ("envelope", 5), ("envelopePlain", 6), ("envelopeWindow", 7), ("continuousLong", 8), ("continuousShort", 9), ) class JmNaturalLanguageTagTC(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,63) class JmPrintQualityTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,1,3,2,4,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("draft", 3), ("normal", 4), ("high", 5), ) class JmPrinterResolutionTC(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(9,9) fixedLength = 9 class JmTimeStampTC(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class JmTonerEconomyTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,3,2,) namedValues = NamedValues(("unknown", 2), ("off", 3), ("on", 4), ) class JmUTF8StringTC(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,63) # Objects jobmonMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2699, 1, 1)).setRevisions(("1999-02-19 00:00",)) if mibBuilder.loadTexts: jobmonMIB.setOrganization("Printer Working Group (PWG)") if mibBuilder.loadTexts: jobmonMIB.setContactInfo("Tom Hastings\nPostal: Xerox Corp.\n Mail stop ESAE-231\n 701 S. Aviation Blvd.\n El Segundo, CA 90245\n\nTel: (301)333-6413\nFax: (301)333-5514\nE-mail: hastings@cp10.es.xerox.com\n\nSend questions and comments to the Printer Working Group (PWG)\nusing the Job Monitoring Project (JMP) Mailing List:\njmp@pwg.org\n\nFor further information, including how to subscribe to the\njmp mailing list, access the PWG web page under 'JMP':\n\n http://www.pwg.org/\n\nImplementers of this specification are encouraged to join the\njmp mailing list in order to participate in discussions on any\nclarifications needed and registration proposals being reviewed\nin order to achieve consensus.") if mibBuilder.loadTexts: jobmonMIB.setDescription("The MIB module for monitoring job in servers, printers, and\nother devices.\n\nVersion: 1.0") jobmonMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1)) jmGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1)) jmGeneralTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1)) if mibBuilder.loadTexts: jmGeneralTable.setDescription("The jmGeneralTable consists of information of a general nature\nthat are per-job-set, but are not per-job. See Section 2\nentitled 'Terminology and Job Model' for the definition of a\njob set.\n\nThe MANDATORY-GROUP macro specifies that this group is\nMANDATORY.") jmGeneralEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1)).setIndexNames((0, "Job-Monitoring-MIB", "jmGeneralJobSetIndex")) if mibBuilder.loadTexts: jmGeneralEntry.setDescription("Information about a job set (queue).\n\nAn entry SHALL exist in this table for each job set.") jmGeneralJobSetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32767))).setMaxAccess("noaccess") if mibBuilder.loadTexts: jmGeneralJobSetIndex.setDescription("A unique value for each job set in this MIB. The jmJobTable\nand jmAttributeTable tables have this same index as their\nprimary index.\n\nThe value(s) of the jmGeneralJobSetIndex SHALL be persistent\nacross power cycles, so that clients that have retained\njmGeneralJobSetIndex values will access the same job sets upon\nsubsequent power-up.\n\nAn implementation that has only one job set, such as a printer\nwith a single queue, SHALL hard code this object with the value\n1.\n\nSee Section 2 entitled 'Terminology and Job Model' for the\ndefinition of a job set.\nCorresponds to the first index in jmJobTable and\njmAttributeTable.") jmGeneralNumberOfActiveJobs = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmGeneralNumberOfActiveJobs.setDescription("The current number of 'active' jobs in the jmJobIDTable,\njmJobTable, and jmAttributeTable, i.e., the total number of\njobs that are in the pending, processing, or processingStopped\nstates. See the JmJobStateTC textual-convention for the exact\nspecification of the semantics of the job states.") jmGeneralOldestActiveJobIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmGeneralOldestActiveJobIndex.setDescription("The jmJobIndex of the oldest job that is still in one of the\n'active' states (pending, processing, or processingStopped).\nIn other words, the index of the 'active' job that has been in\nthe job tables the longest.\n\nIf there are no active jobs, the agent SHALL set the value of\nthis object to 0.\n\nSee Section 3.2 entitled 'The Job Tables and the Oldest Active\nand Newest Active Indexes' for a description of the usage of\nthis object.") jmGeneralNewestActiveJobIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmGeneralNewestActiveJobIndex.setDescription("The jmJobIndex of the newest job that is in one of the\n'active' states (pending, processing, or processingStopped).\nIn other words, the index of the 'active' job that has been\nmost recently added to the job tables.\n\nWhen all jobs become 'inactive', i.e., enter the pendingHeld,\ncompleted, canceled, or aborted states, the agent SHALL set the\nvalue of this object to 0.\n\nSee Section 3.2 entitled 'The Job Tables and the Oldest Active\nand Newest Active Indexes' for a description of the usage of\nthis object.") jmGeneralJobPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(15, 2147483647)).clone(60)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmGeneralJobPersistence.setDescription("The minimum time in seconds for this instance of the Job Set\nthat an entry SHALL remain in the jmJobIDTable and jmJobTable\nafter processing has completed, i.e., the minimum time in\nseconds starting when the job enters the completed, canceled,\nor aborted state.\n\nConfiguring this object is implementation-dependent.\n\nThis value SHALL be equal to or greater than the value of\njmGeneralAttributePersistence. This value SHOULD be at least\n60 which gives a monitoring or accounting application one\nminute in which to poll for job data.") jmGeneralAttributePersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(15, 2147483647)).clone(60)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmGeneralAttributePersistence.setDescription("The minimum time in seconds for this instance of the Job Set\nthat an entry SHALL remain in the jmAttributeTable after\nprocessing has completed , i.e., the time in seconds starting\nwhen the job enters the completed, canceled, or aborted state.\n\nConfiguring this object is implementation-dependent.\n\nThis value SHOULD be at least 60 which gives a monitoring or\naccounting application one minute in which to poll for job\ndata.") jmGeneralJobSetName = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 1, 1, 1, 7), JmUTF8StringTC().subtype(subtypeSpec=ValueSizeConstraint(0, 63)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: jmGeneralJobSetName.setDescription("The human readable name of this job set assigned by the system\nadministrator (by means outside of this MIB). Typically, this\nname SHOULD be the name of the job queue. If a server or\ndevice has only a single job set, this object can be the\nadministratively assigned name of the server or device itself.\nThis name does not need to be unique, though each job set in a\nsingle Job Monitoring MIB SHOULD have distinct names.\n\nNOTE - If the job set corresponds to a single printer and the\nPrinter MIB is implemented, this value SHOULD be the same as\nthe prtGeneralPrinterName object in the draft Printer MIB\n[print-mib-draft]. If the job set corresponds to an IPP\nPrinter, this value SHOULD be the same as the IPP 'printer-\nname' Printer attribute.\n\nNOTE - The purpose of this object is to help the user of the\njob monitoring application distinguish between several job sets\nin implementations that support more than one job set.\n\nSee the OBJECT compliance macro for the minimum maximum length\nrequired for conformance.") jmJobID = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 2)) jmJobIDTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 2, 1)) if mibBuilder.loadTexts: jmJobIDTable.setDescription("The jmJobIDTable provides a correspondence map (1) between the\njob submission ID that a client uses to refer to a job and (2)\nthe jmGeneralJobSetIndex and jmJobIndex that the Job Monitoring\nMIB agent assigned to the job and that are used to access the\njob in all of the other tables in the MIB. If a monitoring\napplication already knows the jmGeneralJobSetIndex and the\njmJobIndex of the job it is querying, that application NEED NOT\nuse the jmJobIDTable.\n\nThe MANDATORY-GROUP macro specifies that this group is\nMANDATORY.") jmJobIDEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 2, 1, 1)).setIndexNames((0, "Job-Monitoring-MIB", "jmJobSubmissionID")) if mibBuilder.loadTexts: jmJobIDEntry.setDescription("The map from (1) the jmJobSubmissionID to (2) the\njmGeneralJobSetIndex and jmJobIndex.\n\nAn entry SHALL exist in this table for each job currently known\nto the agent for all job sets and job states. There MAY be\nmore than one jmJobIDEntry that maps to a single job. This\nmany to one mapping can occur when more than one network entity\nalong the job submission path supplies a job submission ID.\nSee Section 3.5. However, each job SHALL appear once and in\none and only one job set.") jmJobSubmissionID = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 2, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(48, 48)).setFixedLength(48)).setMaxAccess("noaccess") if mibBuilder.loadTexts: jmJobSubmissionID.setDescription("A quasi-unique 48-octet fixed-length string ID which\nidentifies the job within a particular client-server\nenvironment. There are multiple formats for the\njmJobSubmissionID. Each format SHALL be uniquely identified.\nSee the JmJobSubmissionIDTypeTC textual convention. Each\nformat SHALL be registered using the procedures of a type 2\nenum. See section 3.7.3 entitled: 'PWG Registration of Job\nSubmission Id Formats'.\n\nIf the requester (client or server) does not supply a job\nsubmission ID in the job submission protocol, then the\nrecipient (server or device) SHALL assign a job submission ID\nusing any of the standard formats that have been reserved for\nagents and adding the final 8 octets to distinguish the ID from\nothers submitted from the same requester.\n\nThe monitoring application, whether in the client or running\nseparately, MAY use the job submission ID to help identify\nwhich jmJobIndex was assigned by the agent, i.e., in which row\nthe job information is in the other tables.\n\nNOTE - fixed-length is used so that a management application\ncan use a shortened GetNext varbind (in SNMPv1 and SNMPv2) in\norder to get the next submission ID, disregarding the remainder\nof the ID in order to access jobs independent of the trailing\nidentifier part, e.g., to get all jobs submitted by a\nparticular jmJobOwner or submitted from a particular MAC\naddress.\n\nSee the JmJobSubmissionIDTypeTC textual convention.\nSee APPENDIX B - Support of Job Submission Protocols.") jmJobIDJobSetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobIDJobSetIndex.setDescription("This object contains the value of the jmGeneralJobSetIndex for\nthe job with the jmJobSubmissionID value, i.e., the job set\nindex of the job set in which the job was placed when that\nserver or device accepted the job. This 16-bit value in\ncombination with the jmJobIDJobIndex value permits the\nmanagement application to access the other tables to obtain the\njob-specific objects for this job.\n\nSee jmGeneralJobSetIndex in the jmGeneralTable.") jmJobIDJobIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobIDJobIndex.setDescription("This object contains the value of the jmJobIndex for the job\nwith the jmJobSubmissionID value, i.e., the job index for the\njob when the server or device accepted the job. This value, in\ncombination with the jmJobIDJobSetIndex value, permits the\nmanagement application to access the other tables to obtain the\njob-specific objects for this job.\n\nSee jmJobIndex in the jmJobTable.") jmJob = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3)) jmJobTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1)) if mibBuilder.loadTexts: jmJobTable.setDescription("The jmJobTable consists of basic job state and status\ninformation for each job in a job set that (1) monitoring\napplications need to be able to access in a single SNMP Get\noperation, (2) that have a single value per job, and (3) that\nSHALL always be implemented.\n\nThe MANDATORY-GROUP macro specifies that this group is\nMANDATORY.") jmJobEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1)).setIndexNames((0, "Job-Monitoring-MIB", "jmGeneralJobSetIndex"), (0, "Job-Monitoring-MIB", "jmJobIndex")) if mibBuilder.loadTexts: jmJobEntry.setDescription("Basic per-job state and status information.\n\nAn entry SHALL exist in this table for each job, no matter what\nthe state of the job is. Each job SHALL appear in one and only\none job set.\n\nSee Section 3.2 entitled 'The Job Tables'.") jmJobIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: jmJobIndex.setDescription("The sequential, monatonically increasing identifier index for\nthe job generated by the server or device when that server or\ndevice accepted the job. This index value permits the\nmanagement application to access the other tables to obtain the\njob-specific row entries.\n\nSee Section 3.2 entitled 'The Job Tables and the Oldest Active\nand Newest Active Indexes'.\nSee Section 3.5 entitled 'Job Identification'.\nSee also jmGeneralNewestActiveJobIndex for the largest value of\njmJobIndex.\nSee JmJobSubmissionIDTypeTC for a limit on the size of this\nindex if the agent represents it as an 8-digit decimal number.") jmJobState = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 2), JmJobStateTC().clone('unknown')).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobState.setDescription("The current state of the job (pending, processing, completed,\netc.). Agents SHALL implement only those states which are\nappropriate for the particular implementation. However,\nmanagement applications SHALL be prepared to receive all the\nstandard job states.\n\nThe final value for this object SHALL be one of: completed,\ncanceled, or aborted. The minimum length of time that the\nagent SHALL maintain MIB data for a job in the completed,\ncanceled, or aborted state before removing the job data from\nthe jmJobIDTable and jmJobTable is specified by the value of\nthe jmGeneralJobPersistence object.") jmJobStateReasons1 = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 3), JmJobStateReasons1TC().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobStateReasons1.setDescription("Additional information about the job's current state, i.e.,\ninformation that augments the value of the job's jmJobState\nobject.\n\nImplementation of any reason values is OPTIONAL, but an agent\nSHOULD return any reason information available. These values\nMAY be used with any job state or states for which the reason\nmakes sense. Since the Job State Reasons will be more dynamic\nthan the Job State, it is recommended that a job monitoring\napplication read this object every time jmJobState is read.\nWhen the agent cannot provide a reason for the current state of\nthe job, the value of the jmJobStateReasons1 object and\njobStateReasonsN attributes SHALL be 0.\n\nThe jobStateReasonsN (N=2..4) attributes provide further\nadditional information about the job's current state.") jmNumberOfInterveningJobs = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmNumberOfInterveningJobs.setDescription("The number of jobs that are expected to complete processing\nbefore this job has completed processing according to the\nimplementation's queuing algorithm, if no other jobs were to be\nsubmitted. In other words, this value is the job's queue\nposition. The agent SHALL return a value of 0 for this\nattribute when the job is the next job to complete processing\n(or has completed processing).") jmJobKOctetsPerCopyRequested = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobKOctetsPerCopyRequested.setDescription("The total size in K (1024) octets of the document(s) being\nrequested to be processed in the job. The agent SHALL round\nthe actual number of octets up to the next highest K. Thus 0\noctets is represented as '0', 1-1024 octets is represented as\n'1', 1025-2048 is represented as '2', etc.\n\nIn computing this value, the server/device SHALL NOT include\nthe multiplicative factors contributed by (1) the number of\ndocument copies, and (2) the number of job copies, independent\nof whether the device can process multiple copies of the job or\ndocument without making multiple passes over the job or\ndocument data and independent of whether the output is collated\nor not. Thus the server/device computation is independent of\nthe implementation and indicates the size of the document(s)\nmeasured in K octets independent of the number of copies.") jmJobKOctetsProcessed = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobKOctetsProcessed.setDescription("The total number of octets processed by the server or device\nmeasured in units of K (1024) octets so far. The agent SHALL\nround the actual number of octets processed up to the next\nhigher K. Thus 0 octets is represented as '0', 1-1024 octets\nis represented as '1', 1025-2048 octets is '2', etc. For\nprinting devices, this value is the number interpreted by the\npage description language interpreter rather than what has been\nmarked on media.\n\nFor implementations where multiple copies are produced by the\ninterpreter with only a single pass over the data, the final\nvalue SHALL be equal to the value of the\njmJobKOctetsPerCopyRequested object. For implementations where\nmultiple copies are produced by the interpreter by processing\nthe data for each copy, the final value SHALL be a multiple of\nthe value of the jmJobKOctetsPerCopyRequested object.\n\nNOTE - See the impressionsCompletedCurrentCopy and\npagesCompletedCurrentCopy attributes for attributes that are\nreset on each document copy.\n\nNOTE - The jmJobKOctetsProcessed object can be used with the\njmJobKOctetsPerCopyRequested object to provide an indication of\nthe relative progress of the job, provided that the\nmultiplicative factor is taken into account for some\nimplementations of multiple copies.") jmJobImpressionsPerCopyRequested = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobImpressionsPerCopyRequested.setDescription("The total size in number of impressions of the document(s)\nsubmitted.\n\nIn computing this value, the server/device SHALL NOT include\nthe multiplicative factors contributed by (1) the number of\ndocument copies, and (2) the number of job copies, independent\nof whether the device can process multiple copies of the job or\ndocument without making multiple passes over the job or\ndocument data and independent of whether the output is collated\nor not. Thus the server/device computation is independent of\nthe implementation and reflects the size of the document(s)\nmeasured in impressions independent of the number of copies.\n\nSee the definition of the term 'impression' in Section 2.") jmJobImpressionsCompleted = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobImpressionsCompleted.setDescription("The total number of impressions completed for this job so far.\nFor printing devices, the impressions completed includes\ninterpreting, marking, and stacking the output. For other\ntypes of job services, the number of impressions completed\nincludes the number of impressions processed.\n\nNOTE - See the impressionsCompletedCurrentCopy and\npagesCompletedCurrentCopy attributes for attributes that are\nreset on each document copy.\n\nNOTE - The jmJobImpressionsCompleted object can be used with\nthe jmJobImpressionsPerCopyRequested object to provide an\nindication of the relative progress of the job, provided that\nthe multiplicative factor is taken into account for some\nimplementations of multiple copies.\n\nSee the definition of the term 'impression' in Section 2 and\nthe counting example in Section 3.4 entitled 'Monitoring Job\nProgress'.") jmJobOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 3, 1, 1, 9), JmJobStringTC().subtype(subtypeSpec=ValueSizeConstraint(0, 63)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: jmJobOwner.setDescription("The coded character set name of the user that submitted the\njob. The method of assigning this user name will be system\nand/or site specific but the method MUST ensure that the name\nis unique to the network that is visible to the client and\ntarget device.\n\nThis value SHOULD be the most authenticated name of the user\nsubmitting the job.\n\nSee the OBJECT compliance macro for the minimum maximum length\nrequired for conformance.") jmAttribute = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 4)) jmAttributeTable = MibTable((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 4, 1)) if mibBuilder.loadTexts: jmAttributeTable.setDescription("The jmAttributeTable SHALL contain attributes of the job and\ndocument(s) for each job in a job set. Instead of allocating\ndistinct objects for each attribute, each attribute is\nrepresented as a separate row in the jmAttributeTable.\n\nThe MANDATORY-GROUP macro specifies that this group is\nMANDATORY. An agent SHALL implement any attribute if (1) the\nserver or device supports the functionality represented by the\nattribute and (2) the information is available to the agent. ") jmAttributeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 4, 1, 1)).setIndexNames((0, "Job-Monitoring-MIB", "jmGeneralJobSetIndex"), (0, "Job-Monitoring-MIB", "jmJobIndex"), (0, "Job-Monitoring-MIB", "jmAttributeTypeIndex"), (0, "Job-Monitoring-MIB", "jmAttributeInstanceIndex")) if mibBuilder.loadTexts: jmAttributeEntry.setDescription("Attributes representing information about the job and\ndocument(s) or resources required and/or consumed.\n\nEach entry in the jmAttributeTable is a per-job entry with an\nextra index for each type of attribute (jmAttributeTypeIndex)\nthat a job can have and an additional index\n(jmAttributeInstanceIndex) for those attributes that can have\nmultiple instances per job. The jmAttributeTypeIndex object\nSHALL contain an enum type that indicates the type of attribute\n(see the JmAttributeTypeTC textual-convention). The value of\nthe attribute SHALL be represented in either the\njmAttributeValueAsInteger or jmAttributeValueAsOctets objects,\nand/or both, as specified in the JmAttributeTypeTC textual-\nconvention.\n\nThe agent SHALL create rows in the jmAttributeTable as the\nserver or device is able to discover the attributes either from\nthe job submission protocol itself or from the document PDL.\nAs the documents are interpreted, the interpreter MAY discover\nadditional attributes and so the agent adds additional rows to\nthis table. As the attributes that represent resources are\nactually consumed, the usage counter contained in the\njmAttributeValueAsInteger object is incremented according to\nthe units indicated in the description of the JmAttributeTypeTC\nenum.\n\nThe agent SHALL maintain each row in the jmAttributeTable for\nat least the minimum time after a job completes as specified by\nthe jmGeneralAttributePersistence object.\n\nZero or more entries SHALL exist in this table for each job in\na job set.\n\nSee Section 3.3 entitled 'The Attribute Mechanism' for a\ndescription of the jmAttributeTable.") jmAttributeTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 4, 1, 1, 1), JmAttributeTypeTC()).setMaxAccess("noaccess") if mibBuilder.loadTexts: jmAttributeTypeIndex.setDescription("The type of attribute that this row entry represents.\n\nThe type MAY identify information about the job or document(s)\nor MAY identify a resource required to process the job before\nthe job start processing and/or consumed by the job as the job\nis processed.\n\nExamples of job attributes (i.e., apply to the job as a whole)\nthat have only one instance per job include:\njobCopiesRequested(90), documentCopiesRequested(92),\njobCopiesCompleted(91), documentCopiesCompleted(93), while\nexamples of job attributes that may have more than one instance\nper job include: documentFormatIndex(37), and\ndocumentFormat(38).\n\nExamples of document attributes (one instance per document)\ninclude: fileName(34), and documentName(35).\n\nExamples of required and consumed resource attributes include:\npagesRequested(130), mediumRequested(170), pagesCompleted(131),\nand mediumConsumed(171), respectively.") jmAttributeInstanceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32767))).setMaxAccess("noaccess") if mibBuilder.loadTexts: jmAttributeInstanceIndex.setDescription("A running 16-bit index of the attributes of the same type for\neach job. For those attributes with only a single instance per\njob, this index value SHALL be 1. For those attributes that\nare a single value per document, the index value SHALL be the\ndocument number, starting with 1 for the first document in the\njob. Jobs with only a single document SHALL use the index\nvalue of 1. For those attributes that can have multiple values\nper job or per document, such as documentFormatIndex(37) or\ndocumentFormat(38), the index SHALL be a running index for the\njob as a whole, starting at 1.") jmAttributeValueAsInteger = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readonly") if mibBuilder.loadTexts: jmAttributeValueAsInteger.setDescription("The integer value of the attribute. The value of the\nattribute SHALL be represented as an integer if the enum\ndescription in the JmAttributeTypeTC textual-convention\ndefinition has the tag: 'INTEGER:'.\n\nDepending on the enum definition, this object value MAY be an\ninteger, a counter, an index, or an enum, depending on the\njmAttributeTypeIndex value. The units of this value are\nspecified in the enum description.\n\nFor those attributes that are accumulating job consumption as\nthe job is processed as specified in the JmAttributeTypeTC\ntextual-convention, SHALL contain the final value after the job\ncompletes processing, i.e., this value SHALL indicate the total\nusage of this resource made by the job.\n\nA monitoring application is able to copy this value to a\nsuitable longer term storage for later processing as part of an\naccounting system.\n\nSince the agent MAY add attributes representing resources to\nthis table while the job is waiting to be processed or being\nprocessed, which can be a long time before any of the resources\nare actually used, the agent SHALL set the value of the\njmAttributeValueAsInteger object to 0 for resources that the\njob has not yet consumed.\n\nAttributes for which the concept of an integer value is\nmeaningless, such as fileName(34), jobName, and\nprocessingMessage, do not have the 'INTEGER:' tag in the\nJmAttributeTypeTC definition and so an agent SHALL always\nreturn a value of '-1' to indicate 'other' for the value of the\njmAttributeValueAsInteger object for these attributes.\n\nFor attributes which do have the 'INTEGER:' tag in the\nJmAttributeTypeTC definition, if the integer value is not (yet)\nknown, the agent either (1) SHALL not materialize the row in\nthe jmAttributeTable until the value is known or (2) SHALL\nreturn a '-2' to represent an 'unknown' counting integer value,\na '0' to represent an 'unknown' index value, and a '2' to\nrepresent an 'unknown(2)' enum value.") jmAttributeValueAsOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 2699, 1, 1, 1, 4, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: jmAttributeValueAsOctets.setDescription("The octet string value of the attribute. The value of the\nattribute SHALL be represented as an OCTET STRING if the enum\ndescription in the JmAttributeTypeTC textual-convention\ndefinition has the tag: 'OCTETS:'.\n\nDepending on the enum definition, this object value MAY be a\ncoded character set string (text), such as 'JmUTF8StringTC', or\na binary octet string, such as 'DateAndTime'.\n\nAttributes for which the concept of an octet string value is\nmeaningless, such as pagesCompleted, do not have the tag\n'OCTETS:' in the JmAttributeTypeTC definition and so the agent\nSHALL always return a zero length string for the value of the\njmAttributeValueAsOctets object.\n\nFor attributes which do have the 'OCTETS:' tag in the\nJmAttributeTypeTC definition, if the OCTET STRING value is not\n(yet) known, the agent either SHALL NOT materialize the row in\nthe jmAttributeTable until the value is known or SHALL return a\nzero-length string.") jobmonMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 2)) jmMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 3)) jmMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2699, 1, 1, 3, 2)) # Augmentions # Groups jmGeneralGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 1, 3, 2, 1)).setObjects(*(("Job-Monitoring-MIB", "jmGeneralJobPersistence"), ("Job-Monitoring-MIB", "jmGeneralJobSetName"), ("Job-Monitoring-MIB", "jmGeneralOldestActiveJobIndex"), ("Job-Monitoring-MIB", "jmGeneralNumberOfActiveJobs"), ("Job-Monitoring-MIB", "jmGeneralAttributePersistence"), ("Job-Monitoring-MIB", "jmGeneralNewestActiveJobIndex"), ) ) if mibBuilder.loadTexts: jmGeneralGroup.setDescription("The general group.") jmJobIDGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 1, 3, 2, 2)).setObjects(*(("Job-Monitoring-MIB", "jmJobIDJobSetIndex"), ("Job-Monitoring-MIB", "jmJobIDJobIndex"), ) ) if mibBuilder.loadTexts: jmJobIDGroup.setDescription("The job ID group.") jmJobGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 1, 3, 2, 3)).setObjects(*(("Job-Monitoring-MIB", "jmJobImpressionsCompleted"), ("Job-Monitoring-MIB", "jmJobImpressionsPerCopyRequested"), ("Job-Monitoring-MIB", "jmJobOwner"), ("Job-Monitoring-MIB", "jmJobKOctetsPerCopyRequested"), ("Job-Monitoring-MIB", "jmNumberOfInterveningJobs"), ("Job-Monitoring-MIB", "jmJobKOctetsProcessed"), ("Job-Monitoring-MIB", "jmJobState"), ("Job-Monitoring-MIB", "jmJobStateReasons1"), ) ) if mibBuilder.loadTexts: jmJobGroup.setDescription("The job group.") jmAttributeGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2699, 1, 1, 3, 2, 4)).setObjects(*(("Job-Monitoring-MIB", "jmAttributeValueAsOctets"), ("Job-Monitoring-MIB", "jmAttributeValueAsInteger"), ) ) if mibBuilder.loadTexts: jmAttributeGroup.setDescription("The attribute group.") # Compliances jmMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2699, 1, 1, 3, 1)).setObjects(*(("Job-Monitoring-MIB", "jmJobIDGroup"), ("Job-Monitoring-MIB", "jmJobGroup"), ("Job-Monitoring-MIB", "jmGeneralGroup"), ("Job-Monitoring-MIB", "jmAttributeGroup"), ) ) if mibBuilder.loadTexts: jmMIBCompliance.setDescription("The compliance statement for agents that implement the\njob monitoring MIB.") # Exports # Module identity mibBuilder.exportSymbols("Job-Monitoring-MIB", PYSNMP_MODULE_ID=jobmonMIB) # Types mibBuilder.exportSymbols("Job-Monitoring-MIB", JmAttributeTypeTC=JmAttributeTypeTC, JmBooleanTC=JmBooleanTC, JmFinishingTC=JmFinishingTC, JmJobCollationTypeTC=JmJobCollationTypeTC, JmJobServiceTypesTC=JmJobServiceTypesTC, JmJobSourcePlatformTypeTC=JmJobSourcePlatformTypeTC, JmJobStateReasons1TC=JmJobStateReasons1TC, JmJobStateReasons2TC=JmJobStateReasons2TC, JmJobStateReasons3TC=JmJobStateReasons3TC, JmJobStateReasons4TC=JmJobStateReasons4TC, JmJobStateTC=JmJobStateTC, JmJobStringTC=JmJobStringTC, JmJobSubmissionIDTypeTC=JmJobSubmissionIDTypeTC, JmMediumTypeTC=JmMediumTypeTC, JmNaturalLanguageTagTC=JmNaturalLanguageTagTC, JmPrintQualityTC=JmPrintQualityTC, JmPrinterResolutionTC=JmPrinterResolutionTC, JmTimeStampTC=JmTimeStampTC, JmTonerEconomyTC=JmTonerEconomyTC, JmUTF8StringTC=JmUTF8StringTC) # Objects mibBuilder.exportSymbols("Job-Monitoring-MIB", jobmonMIB=jobmonMIB, jobmonMIBObjects=jobmonMIBObjects, jmGeneral=jmGeneral, jmGeneralTable=jmGeneralTable, jmGeneralEntry=jmGeneralEntry, jmGeneralJobSetIndex=jmGeneralJobSetIndex, jmGeneralNumberOfActiveJobs=jmGeneralNumberOfActiveJobs, jmGeneralOldestActiveJobIndex=jmGeneralOldestActiveJobIndex, jmGeneralNewestActiveJobIndex=jmGeneralNewestActiveJobIndex, jmGeneralJobPersistence=jmGeneralJobPersistence, jmGeneralAttributePersistence=jmGeneralAttributePersistence, jmGeneralJobSetName=jmGeneralJobSetName, jmJobID=jmJobID, jmJobIDTable=jmJobIDTable, jmJobIDEntry=jmJobIDEntry, jmJobSubmissionID=jmJobSubmissionID, jmJobIDJobSetIndex=jmJobIDJobSetIndex, jmJobIDJobIndex=jmJobIDJobIndex, jmJob=jmJob, jmJobTable=jmJobTable, jmJobEntry=jmJobEntry, jmJobIndex=jmJobIndex, jmJobState=jmJobState, jmJobStateReasons1=jmJobStateReasons1, jmNumberOfInterveningJobs=jmNumberOfInterveningJobs, jmJobKOctetsPerCopyRequested=jmJobKOctetsPerCopyRequested, jmJobKOctetsProcessed=jmJobKOctetsProcessed, jmJobImpressionsPerCopyRequested=jmJobImpressionsPerCopyRequested, jmJobImpressionsCompleted=jmJobImpressionsCompleted, jmJobOwner=jmJobOwner, jmAttribute=jmAttribute, jmAttributeTable=jmAttributeTable, jmAttributeEntry=jmAttributeEntry, jmAttributeTypeIndex=jmAttributeTypeIndex, jmAttributeInstanceIndex=jmAttributeInstanceIndex, jmAttributeValueAsInteger=jmAttributeValueAsInteger, jmAttributeValueAsOctets=jmAttributeValueAsOctets, jobmonMIBNotifications=jobmonMIBNotifications, jmMIBConformance=jmMIBConformance, jmMIBGroups=jmMIBGroups) # Groups mibBuilder.exportSymbols("Job-Monitoring-MIB", jmGeneralGroup=jmGeneralGroup, jmJobIDGroup=jmJobIDGroup, jmJobGroup=jmJobGroup, jmAttributeGroup=jmAttributeGroup) # Compliances mibBuilder.exportSymbols("Job-Monitoring-MIB", jmMIBCompliance=jmMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/EtherLike-MIB.py0000644000014400001440000016540011736645136021317 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python EtherLike-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:57 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2", "transmission") ( TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue") # Objects dot3 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7)) dot3StatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 7, 2)) if mibBuilder.loadTexts: dot3StatsTable.setDescription("Statistics for a collection of ethernet-like\ninterfaces attached to a particular system.\nThere will be one row in this table for each\nethernet-like interface in the system.") dot3StatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 7, 2, 1)).setIndexNames((0, "EtherLike-MIB", "dot3StatsIndex")) if mibBuilder.loadTexts: dot3StatsEntry.setDescription("Statistics for a particular interface to an\nethernet-like medium.") dot3StatsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsIndex.setDescription("An index value that uniquely identifies an\ninterface to an ethernet-like medium. The\ninterface identified by a particular value of\nthis index is the same interface as identified\nby the same value of ifIndex.") dot3StatsAlignmentErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsAlignmentErrors.setDescription("A count of frames received on a particular\ninterface that are not an integral number of\noctets in length and do not pass the FCS check.\n\nThe count represented by an instance of this\nobject is incremented when the alignmentError\nstatus is returned by the MAC service to the\nLLC (or other MAC user). Received frames for\nwhich multiple error conditions pertain are,\naccording to the conventions of IEEE 802.3\nLayer Management, counted exclusively according\n\n\n\nto the error status presented to the LLC.\n\nThis counter does not increment for group\nencoding schemes greater than 4 bits per group.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCStatsAlignmentErrors object for 10 Gb/s\nor faster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsFCSErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsFCSErrors.setDescription("A count of frames received on a particular\ninterface that are an integral number of octets\nin length but do not pass the FCS check. This\ncount does not include frames received with\nframe-too-long or frame-too-short error.\n\nThe count represented by an instance of this\nobject is incremented when the frameCheckError\nstatus is returned by the MAC service to the\nLLC (or other MAC user). Received frames for\nwhich multiple error conditions pertain are,\naccording to the conventions of IEEE 802.3\nLayer Management, counted exclusively according\nto the error status presented to the LLC.\n\nNote: Coding errors detected by the physical\nlayer for speeds above 10 Mb/s will cause the\nframe to fail the FCS check.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\n\n\n\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCStatsFCSErrors object for 10 Gb/s or\nfaster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsSingleCollisionFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsSingleCollisionFrames.setDescription("A count of frames that are involved in a single\ncollision, and are subsequently transmitted\nsuccessfully.\n\nA frame that is counted by an instance of this\nobject is also counted by the corresponding\ninstance of either the ifOutUcastPkts,\nifOutMulticastPkts, or ifOutBroadcastPkts,\nand is not counted by the corresponding\ninstance of the dot3StatsMultipleCollisionFrames\nobject.\n\nThis counter does not increment when the\ninterface is operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsMultipleCollisionFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsMultipleCollisionFrames.setDescription("A count of frames that are involved in more\n\n\n\nthan one collision and are subsequently\ntransmitted successfully.\n\nA frame that is counted by an instance of this\nobject is also counted by the corresponding\ninstance of either the ifOutUcastPkts,\nifOutMulticastPkts, or ifOutBroadcastPkts,\nand is not counted by the corresponding\ninstance of the dot3StatsSingleCollisionFrames\nobject.\n\nThis counter does not increment when the\ninterface is operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsSQETestErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsSQETestErrors.setDescription("A count of times that the SQE TEST ERROR\nis received on a particular interface. The\nSQE TEST ERROR is set in accordance with the\nrules for verification of the SQE detection\nmechanism in the PLS Carrier Sense Function as\ndescribed in IEEE Std. 802.3, 2000 Edition,\nsection 7.2.4.6.\n\nThis counter does not increment on interfaces\noperating at speeds greater than 10 Mb/s, or on\ninterfaces operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsDeferredTransmissions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsDeferredTransmissions.setDescription("A count of frames for which the first\ntransmission attempt on a particular interface\nis delayed because the medium is busy.\n\nThe count represented by an instance of this\nobject does not include frames involved in\ncollisions.\n\nThis counter does not increment when the\ninterface is operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsLateCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsLateCollisions.setDescription("The number of times that a collision is\ndetected on a particular interface later than\none slotTime into the transmission of a packet.\n\nA (late) collision included in a count\nrepresented by an instance of this object is\nalso considered as a (generic) collision for\npurposes of other collision-related\nstatistics.\n\nThis counter does not increment when the\ninterface is operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsExcessiveCollisions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsExcessiveCollisions.setDescription("A count of frames for which transmission on a\nparticular interface fails due to excessive\ncollisions.\n\nThis counter does not increment when the\ninterface is operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsInternalMacTransmitErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsInternalMacTransmitErrors.setDescription("A count of frames for which transmission on a\nparticular interface fails due to an internal\nMAC sublayer transmit error. A frame is only\ncounted by an instance of this object if it is\nnot counted by the corresponding instance of\neither the dot3StatsLateCollisions object, the\ndot3StatsExcessiveCollisions object, or the\ndot3StatsCarrierSenseErrors object.\n\nThe precise meaning of the count represented by\nan instance of this object is implementation-\nspecific. In particular, an instance of this\nobject may represent a count of transmission\nerrors on a particular interface that are not\notherwise counted.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCStatsInternalMacTransmitErrors object for\n10 Gb/s or faster interfaces.\n\nDiscontinuities in the value of this counter can\n\n\n\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsCarrierSenseErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsCarrierSenseErrors.setDescription("The number of times that the carrier sense\ncondition was lost or never asserted when\nattempting to transmit a frame on a particular\ninterface.\n\nThe count represented by an instance of this\nobject is incremented at most once per\ntransmission attempt, even if the carrier sense\ncondition fluctuates during a transmission\nattempt.\n\nThis counter does not increment when the\ninterface is operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsFrameTooLongs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsFrameTooLongs.setDescription("A count of frames received on a particular\ninterface that exceed the maximum permitted\nframe size.\n\nThe count represented by an instance of this\nobject is incremented when the frameTooLong\nstatus is returned by the MAC service to the\nLLC (or other MAC user). Received frames for\nwhich multiple error conditions pertain are,\n\n\n\naccording to the conventions of IEEE 802.3\nLayer Management, counted exclusively according\nto the error status presented to the LLC.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 80 minutes if\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCStatsFrameTooLongs object for 10 Gb/s\nor faster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsInternalMacReceiveErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsInternalMacReceiveErrors.setDescription("A count of frames for which reception on a\nparticular interface fails due to an internal\nMAC sublayer receive error. A frame is only\ncounted by an instance of this object if it is\nnot counted by the corresponding instance of\neither the dot3StatsFrameTooLongs object, the\ndot3StatsAlignmentErrors object, or the\ndot3StatsFCSErrors object.\n\nThe precise meaning of the count represented by\nan instance of this object is implementation-\nspecific. In particular, an instance of this\nobject may represent a count of receive errors\non a particular interface that are not\notherwise counted.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\n\n\n\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCStatsInternalMacReceiveErrors object for\n10 Gb/s or faster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsEtherChipSet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 17), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsEtherChipSet.setDescription("******** THIS OBJECT IS DEPRECATED ********\n\nThis object contains an OBJECT IDENTIFIER\nwhich identifies the chipset used to\nrealize the interface. Ethernet-like\ninterfaces are typically built out of\nseveral different chips. The MIB implementor\nis presented with a decision of which chip\nto identify via this object. The implementor\nshould identify the chip which is usually\ncalled the Medium Access Control chip.\nIf no such chip is easily identifiable,\nthe implementor should identify the chip\nwhich actually gathers the transmit\nand receive statistics and error\nindications. This would allow a\nmanager station to correlate the\nstatistics and the chip generating\nthem, giving it the ability to take\ninto account any known anomalies\nin the chip.\n\nThis object has been deprecated. Implementation\nfeedback indicates that it is of limited use for\ndebugging network problems in the field, and\nthe administrative overhead involved in\nmaintaining a registry of chipset OIDs is not\njustified.") dot3StatsSymbolErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsSymbolErrors.setDescription("For an interface operating at 100 Mb/s, the\nnumber of times there was an invalid data symbol\nwhen a valid carrier was present.\n\nFor an interface operating in half-duplex mode\nat 1000 Mb/s, the number of times the receiving\nmedia is non-idle (a carrier event) for a period\nof time equal to or greater than slotTime, and\nduring which there was at least one occurrence\nof an event that causes the PHY to indicate\n'Data reception error' or 'carrier extend error'\non the GMII.\n\nFor an interface operating in full-duplex mode\nat 1000 Mb/s, the number of times the receiving\nmedia is non-idle (a carrier event) for a period\nof time equal to or greater than minFrameSize,\nand during which there was at least one\noccurrence of an event that causes the PHY to\nindicate 'Data reception error' on the GMII.\n\nFor an interface operating at 10 Gb/s, the\nnumber of times the receiving media is non-idle\n(a carrier event) for a period of time equal to\nor greater than minFrameSize, and during which\nthere was at least one occurrence of an event\nthat causes the PHY to indicate 'Receive Error'\non the XGMII.\n\nThe count represented by an instance of this\nobject is incremented at most once per carrier\nevent, even if multiple symbol errors occur\nduring the carrier event. This count does\nnot increment if a collision is present.\n\nThis counter does not increment when the\ninterface is operating at 10 Mb/s.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\n\n\n\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCStatsSymbolErrors object for 10 Gb/s\nor faster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3StatsDuplexStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("halfDuplex", 2), ("fullDuplex", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsDuplexStatus.setDescription("The current mode of operation of the MAC\nentity. 'unknown' indicates that the current\nduplex mode could not be determined.\n\nManagement control of the duplex mode is\naccomplished through the MAU MIB. When\nan interface does not support autonegotiation,\nor when autonegotiation is not enabled, the\nduplex mode is controlled using\nifMauDefaultType. When autonegotiation is\nsupported and enabled, duplex mode is controlled\nusing ifMauAutoNegAdvertisedBits. In either\ncase, the currently operating duplex mode is\nreflected both in this object and in ifMauType.\n\nNote that this object provides redundant\ninformation with ifMauType. Normally, redundant\nobjects are discouraged. However, in this\ninstance, it allows a management application to\ndetermine the duplex status of an interface\nwithout having to know every possible value of\nifMauType. This was felt to be sufficiently\nvaluable to justify the redundancy.") dot3StatsRateControlAbility = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 20), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsRateControlAbility.setDescription("'true' for interfaces operating at speeds above\n1000 Mb/s that support Rate Control through\nlowering the average data rate of the MAC\nsublayer, with frame granularity, and 'false'\notherwise.") dot3StatsRateControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 2, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("rateControlOff", 1), ("rateControlOn", 2), ("unknown", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3StatsRateControlStatus.setDescription("The current Rate Control mode of operation of\nthe MAC sublayer of this interface.") dot3CollTable = MibTable((1, 3, 6, 1, 2, 1, 10, 7, 5)) if mibBuilder.loadTexts: dot3CollTable.setDescription("A collection of collision histograms for a\nparticular set of interfaces.") dot3CollEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 7, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "EtherLike-MIB", "dot3CollCount")) if mibBuilder.loadTexts: dot3CollEntry.setDescription("A cell in the histogram of per-frame\ncollisions for a particular interface. An\n\n\n\ninstance of this object represents the\nfrequency of individual MAC frames for which\nthe transmission (successful or otherwise) on a\nparticular interface is accompanied by a\nparticular number of media collisions.") dot3CollCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot3CollCount.setDescription("The number of per-frame media collisions for\nwhich a particular collision histogram cell\nrepresents the frequency on a particular\ninterface.") dot3CollFrequencies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3CollFrequencies.setDescription("A count of individual MAC frames for which the\ntransmission (successful or otherwise) on a\nparticular interface occurs after the\nframe has experienced exactly the number\nof collisions in the associated\ndot3CollCount object.\n\nFor example, a frame which is transmitted\non interface 77 after experiencing\nexactly 4 collisions would be indicated\nby incrementing only dot3CollFrequencies.77.4.\nNo other instance of dot3CollFrequencies would\nbe incremented in this example.\n\nThis counter does not increment when the\ninterface is operating in full-duplex mode.\n\nDiscontinuities in the value of this counter can\n\n\n\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3Tests = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 6)) dot3TestTdr = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 6, 1)) if mibBuilder.loadTexts: dot3TestTdr.setDescription("******** THIS IDENTITY IS DEPRECATED *******\n\nThe Time-Domain Reflectometry (TDR) test is\nspecific to ethernet-like interfaces of type\n10Base5 and 10Base2. The TDR value may be\nuseful in determining the approximate distance\nto a cable fault. It is advisable to repeat\nthis test to check for a consistent resulting\nTDR value, to verify that there is a fault.\n\nA TDR test returns as its result the time\ninterval, measured in 10 MHz ticks or 100 nsec\nunits, between the start of TDR test\ntransmission and the subsequent detection of a\ncollision or deassertion of carrier. On\nsuccessful completion of a TDR test, the result\nis stored as the value of an appropriate\ninstance of an appropriate vendor specific MIB\nobject, and the OBJECT IDENTIFIER of that\ninstance is stored in the appropriate instance\nof the appropriate test result code object\n(thereby indicating where the result has been\nstored).\n\nThis object identity has been deprecated, since\nthe ifTestTable in the IF-MIB was deprecated,\nand there is no longer a standard mechanism for\ninitiating an interface test. This left no\nstandard way of using this object identity.") dot3TestLoopBack = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 6, 2)) if mibBuilder.loadTexts: dot3TestLoopBack.setDescription("******** THIS IDENTITY IS DEPRECATED *******\n\nThis test configures the MAC chip and executes\nan internal loopback test of memory, data paths,\nand the MAC chip logic. This loopback test can\nonly be executed if the interface is offline.\nOnce the test has completed, the MAC chip should\n\n\n\nbe reinitialized for network operation, but it\nshould remain offline.\n\nIf an error occurs during a test, the\nappropriate test result object will be set\nto indicate a failure. The two OBJECT\nIDENTIFIER values dot3ErrorInitError and\ndot3ErrorLoopbackError may be used to provided\nmore information as values for an appropriate\ntest result code object.\n\nThis object identity has been deprecated, since\nthe ifTestTable in the IF-MIB was deprecated,\nand there is no longer a standard mechanism for\ninitiating an interface test. This left no\nstandard way of using this object identity.") dot3Errors = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 7, 7)) dot3ErrorInitError = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 7, 1)) if mibBuilder.loadTexts: dot3ErrorInitError.setDescription("******** THIS IDENTITY IS DEPRECATED *******\n\nCouldn't initialize MAC chip for test.\n\nThis object identity has been deprecated, since\nthe ifTestTable in the IF-MIB was deprecated,\nand there is no longer a standard mechanism for\ninitiating an interface test. This left no\nstandard way of using this object identity.") dot3ErrorLoopbackError = ObjectIdentity((1, 3, 6, 1, 2, 1, 10, 7, 7, 2)) if mibBuilder.loadTexts: dot3ErrorLoopbackError.setDescription("******** THIS IDENTITY IS DEPRECATED *******\n\nExpected data not received (or not received\ncorrectly) in loopback test.\n\nThis object identity has been deprecated, since\nthe ifTestTable in the IF-MIB was deprecated,\nand there is no longer a standard mechanism for\ninitiating an interface test. This left no\nstandard way of using this object identity.") dot3ControlTable = MibTable((1, 3, 6, 1, 2, 1, 10, 7, 9)) if mibBuilder.loadTexts: dot3ControlTable.setDescription("A table of descriptive and status information\nabout the MAC Control sublayer on the\nethernet-like interfaces attached to a\nparticular system. There will be one row in\nthis table for each ethernet-like interface in\nthe system which implements the MAC Control\nsublayer. If some, but not all, of the\nethernet-like interfaces in the system implement\nthe MAC Control sublayer, there will be fewer\nrows in this table than in the dot3StatsTable.") dot3ControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 7, 9, 1)).setIndexNames((0, "EtherLike-MIB", "dot3StatsIndex")) if mibBuilder.loadTexts: dot3ControlEntry.setDescription("An entry in the table, containing information\nabout the MAC Control sublayer on a single\nethernet-like interface.") dot3ControlFunctionsSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 9, 1, 1), Bits().subtype(namedValues=NamedValues(("pause", 0), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ControlFunctionsSupported.setDescription("A list of the possible MAC Control functions\nimplemented for this interface.") dot3ControlInUnknownOpcodes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 9, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3ControlInUnknownOpcodes.setDescription("A count of MAC Control frames received on this\ninterface that contain an opcode that is not\nsupported by this device.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCControlInUnknownOpcodes object for 10 Gb/s\nor faster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCControlInUnknownOpcodes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 9, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCControlInUnknownOpcodes.setDescription("A count of MAC Control frames received on this\ninterface that contain an opcode that is not\nsupported by this device.\n\nThis counter is a 64 bit version of\ndot3ControlInUnknownOpcodes. It should be used\non interfaces operating at 10 Gb/s or faster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3PauseTable = MibTable((1, 3, 6, 1, 2, 1, 10, 7, 10)) if mibBuilder.loadTexts: dot3PauseTable.setDescription("A table of descriptive and status information\nabout the MAC Control PAUSE function on the\nethernet-like interfaces attached to a\nparticular system. There will be one row in\nthis table for each ethernet-like interface in\nthe system which supports the MAC Control PAUSE\nfunction (i.e., the 'pause' bit in the\ncorresponding instance of\ndot3ControlFunctionsSupported is set). If some,\nbut not all, of the ethernet-like interfaces in\nthe system implement the MAC Control PAUSE\nfunction (for example, if some interfaces only\nsupport half-duplex), there will be fewer rows\nin this table than in the dot3StatsTable.") dot3PauseEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 7, 10, 1)).setIndexNames((0, "EtherLike-MIB", "dot3StatsIndex")) if mibBuilder.loadTexts: dot3PauseEntry.setDescription("An entry in the table, containing information\nabout the MAC Control PAUSE function on a single\nethernet-like interface.") dot3PauseAdminMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 10, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,3,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("enabledXmit", 2), ("enabledRcv", 3), ("enabledXmitAndRcv", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3PauseAdminMode.setDescription("This object is used to configure the default\nadministrative PAUSE mode for this interface.\n\nThis object represents the\nadministratively-configured PAUSE mode for this\ninterface. If auto-negotiation is not enabled\nor is not implemented for the active MAU\nattached to this interface, the value of this\nobject determines the operational PAUSE mode\nof the interface whenever it is operating in\nfull-duplex mode. In this case, a set to this\nobject will force the interface into the\nspecified mode.\n\nIf auto-negotiation is implemented and enabled\nfor the MAU attached to this interface, the\nPAUSE mode for this interface is determined by\nauto-negotiation, and the value of this object\ndenotes the mode to which the interface will\nautomatically revert if/when auto-negotiation is\nlater disabled. Note that when auto-negotiation\nis running, administrative control of the PAUSE\nmode may be accomplished using the\nifMauAutoNegCapAdvertisedBits object in the\nMAU-MIB.\n\nNote that the value of this object is ignored\nwhen the interface is not operating in\nfull-duplex mode.\n\nAn attempt to set this object to\n'enabledXmit(2)' or 'enabledRcv(3)' will fail\non interfaces that do not support operation\nat greater than 100 Mb/s.") dot3PauseOperMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 10, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,3,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("enabledXmit", 2), ("enabledRcv", 3), ("enabledXmitAndRcv", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3PauseOperMode.setDescription("This object reflects the PAUSE mode currently\n\n\n\nin use on this interface, as determined by\neither (1) the result of the auto-negotiation\nfunction or (2) if auto-negotiation is not\nenabled or is not implemented for the active MAU\nattached to this interface, by the value of\ndot3PauseAdminMode. Interfaces operating at\n100 Mb/s or less will never return\n'enabledXmit(2)' or 'enabledRcv(3)'. Interfaces\noperating in half-duplex mode will always return\n'disabled(1)'. Interfaces on which\nauto-negotiation is enabled but not yet\ncompleted should return the value\n'disabled(1)'.") dot3InPauseFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 10, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3InPauseFrames.setDescription("A count of MAC Control frames received on this\ninterface with an opcode indicating the PAUSE\noperation.\n\nThis counter does not increment when the\ninterface is operating in half-duplex mode.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCInPauseFrames object for 10 Gb/s or\nfaster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3OutPauseFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 10, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OutPauseFrames.setDescription("A count of MAC Control frames transmitted on\nthis interface with an opcode indicating the\nPAUSE operation.\n\nThis counter does not increment when the\ninterface is operating in half-duplex mode.\n\nFor interfaces operating at 10 Gb/s, this\ncounter can roll over in less than 5 minutes if\nit is incrementing at its maximum rate. Since\nthat amount of time could be less than a\nmanagement station's poll cycle time, in order\nto avoid a loss of information, a management\nstation is advised to poll the\ndot3HCOutPauseFrames object for 10 Gb/s or\nfaster interfaces.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCInPauseFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 10, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCInPauseFrames.setDescription("A count of MAC Control frames received on this\ninterface with an opcode indicating the PAUSE\noperation.\n\nThis counter does not increment when the\ninterface is operating in half-duplex mode.\n\nThis counter is a 64 bit version of\ndot3InPauseFrames. It should be used on\ninterfaces operating at 10 Gb/s or faster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCOutPauseFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 10, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCOutPauseFrames.setDescription("A count of MAC Control frames transmitted on\nthis interface with an opcode indicating the\nPAUSE operation.\n\nThis counter does not increment when the\ninterface is operating in half-duplex mode.\n\nThis counter is a 64 bit version of\ndot3OutPauseFrames. It should be used on\ninterfaces operating at 10 Gb/s or faster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 7, 11)) if mibBuilder.loadTexts: dot3HCStatsTable.setDescription("A table containing 64-bit versions of error\ncounters from the dot3StatsTable. The 32-bit\nversions of these counters may roll over quite\nquickly on higher speed ethernet interfaces.\nThe counters that have 64-bit versions in this\ntable are the counters that apply to full-duplex\ninterfaces, since 10 Gb/s and faster\nethernet-like interfaces do not support\nhalf-duplex, and very few 1000 Mb/s\nethernet-like interfaces support half-duplex.\n\nEntries in this table are recommended for\ninterfaces capable of operating at 1000 Mb/s or\nfaster, and are required for interfaces capable\nof operating at 10 Gb/s or faster. Lower speed\nethernet-like interfaces do not need entries in\nthis table, in which case there may be fewer\nentries in this table than in the\ndot3StatsTable. However, implementations\ncontaining interfaces with a mix of speeds may\nchoose to implement entries in this table for\n\n\n\nall ethernet-like interfaces.") dot3HCStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 7, 11, 1)).setIndexNames((0, "EtherLike-MIB", "dot3StatsIndex")) if mibBuilder.loadTexts: dot3HCStatsEntry.setDescription("An entry containing 64-bit statistics for a\nsingle ethernet-like interface.") dot3HCStatsAlignmentErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 11, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCStatsAlignmentErrors.setDescription("A count of frames received on a particular\ninterface that are not an integral number of\noctets in length and do not pass the FCS check.\n\nThe count represented by an instance of this\nobject is incremented when the alignmentError\nstatus is returned by the MAC service to the\nLLC (or other MAC user). Received frames for\nwhich multiple error conditions pertain are,\naccording to the conventions of IEEE 802.3\nLayer Management, counted exclusively according\nto the error status presented to the LLC.\n\nThis counter does not increment for group\nencoding schemes greater than 4 bits per group.\n\nThis counter is a 64 bit version of\ndot3StatsAlignmentErrors. It should be used\non interfaces operating at 10 Gb/s or faster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\n\n\n\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCStatsFCSErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 11, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCStatsFCSErrors.setDescription("A count of frames received on a particular\ninterface that are an integral number of octets\nin length but do not pass the FCS check. This\ncount does not include frames received with\nframe-too-long or frame-too-short error.\n\nThe count represented by an instance of this\nobject is incremented when the frameCheckError\nstatus is returned by the MAC service to the\nLLC (or other MAC user). Received frames for\nwhich multiple error conditions pertain are,\naccording to the conventions of IEEE 802.3\nLayer Management, counted exclusively according\nto the error status presented to the LLC.\n\nNote: Coding errors detected by the physical\nlayer for speeds above 10 Mb/s will cause the\nframe to fail the FCS check.\n\nThis counter is a 64 bit version of\ndot3StatsFCSErrors. It should be used on\ninterfaces operating at 10 Gb/s or faster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCStatsInternalMacTransmitErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 11, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCStatsInternalMacTransmitErrors.setDescription("A count of frames for which transmission on a\nparticular interface fails due to an internal\nMAC sublayer transmit error. A frame is only\n\n\n\ncounted by an instance of this object if it is\nnot counted by the corresponding instance of\neither the dot3StatsLateCollisions object, the\ndot3StatsExcessiveCollisions object, or the\ndot3StatsCarrierSenseErrors object.\n\nThe precise meaning of the count represented by\nan instance of this object is implementation-\nspecific. In particular, an instance of this\nobject may represent a count of transmission\nerrors on a particular interface that are not\notherwise counted.\n\nThis counter is a 64 bit version of\ndot3StatsInternalMacTransmitErrors. It should\nbe used on interfaces operating at 10 Gb/s or\nfaster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCStatsFrameTooLongs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 11, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCStatsFrameTooLongs.setDescription("A count of frames received on a particular\ninterface that exceed the maximum permitted\nframe size.\n\nThe count represented by an instance of this\nobject is incremented when the frameTooLong\nstatus is returned by the MAC service to the\nLLC (or other MAC user). Received frames for\nwhich multiple error conditions pertain are,\naccording to the conventions of IEEE 802.3\nLayer Management, counted exclusively according\nto the error status presented to the LLC.\n\nThis counter is a 64 bit version of\ndot3StatsFrameTooLongs. It should be used on\ninterfaces operating at 10 Gb/s or faster.\n\nDiscontinuities in the value of this counter can\n\n\n\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCStatsInternalMacReceiveErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 11, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCStatsInternalMacReceiveErrors.setDescription("A count of frames for which reception on a\nparticular interface fails due to an internal\nMAC sublayer receive error. A frame is only\ncounted by an instance of this object if it is\nnot counted by the corresponding instance of\neither the dot3StatsFrameTooLongs object, the\ndot3StatsAlignmentErrors object, or the\ndot3StatsFCSErrors object.\n\nThe precise meaning of the count represented by\nan instance of this object is implementation-\nspecific. In particular, an instance of this\nobject may represent a count of receive errors\non a particular interface that are not\notherwise counted.\n\nThis counter is a 64 bit version of\ndot3StatsInternalMacReceiveErrors. It should be\nused on interfaces operating at 10 Gb/s or\nfaster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") dot3HCStatsSymbolErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 7, 11, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3HCStatsSymbolErrors.setDescription("For an interface operating at 100 Mb/s, the\nnumber of times there was an invalid data symbol\nwhen a valid carrier was present.\n\n\n\n\nFor an interface operating in half-duplex mode\nat 1000 Mb/s, the number of times the receiving\nmedia is non-idle (a carrier event) for a period\nof time equal to or greater than slotTime, and\nduring which there was at least one occurrence\nof an event that causes the PHY to indicate\n'Data reception error' or 'carrier extend error'\non the GMII.\n\nFor an interface operating in full-duplex mode\nat 1000 Mb/s, the number of times the receiving\nmedia is non-idle (a carrier event) for a period\nof time equal to or greater than minFrameSize,\nand during which there was at least one\noccurrence of an event that causes the PHY to\nindicate 'Data reception error' on the GMII.\n\nFor an interface operating at 10 Gb/s, the\nnumber of times the receiving media is non-idle\n(a carrier event) for a period of time equal to\nor greater than minFrameSize, and during which\nthere was at least one occurrence of an event\nthat causes the PHY to indicate 'Receive Error'\non the XGMII.\n\nThe count represented by an instance of this\nobject is incremented at most once per carrier\nevent, even if multiple symbol errors occur\nduring the carrier event. This count does\nnot increment if a collision is present.\n\nThis counter is a 64 bit version of\ndot3StatsSymbolErrors. It should be used on\ninterfaces operating at 10 Gb/s or faster.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") etherMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 35)).setRevisions(("2003-09-19 00:00","1999-08-24 04:00","1998-06-03 21:50","1994-02-03 04:00",)) if mibBuilder.loadTexts: etherMIB.setOrganization("IETF Ethernet Interfaces and Hub MIB\nWorking Group") if mibBuilder.loadTexts: etherMIB.setContactInfo("WG E-mail: hubmib@ietf.org\nTo subscribe: hubmib-request@ietf.org\n\n Chair: Dan Romascanu\n Postal: Avaya Inc.\n Atidum Technology Park, Bldg. 3\n Tel Aviv 61131\n Israel\n Tel: +972 3 645 8414\n E-mail: dromasca@avaya.com\n\n Editor: John Flick\n Postal: Hewlett-Packard Company\n 8000 Foothills Blvd. M/S 5557\n Roseville, CA 95747-5557\n USA\n Tel: +1 916 785 4018\n Fax: +1 916 785 1199\n E-mail: johnf@rose.hp.com") if mibBuilder.loadTexts: etherMIB.setDescription("The MIB module to describe generic objects for\nethernet-like network interfaces.\n\nThe following reference is used throughout this\nMIB module:\n\n[IEEE 802.3 Std] refers to:\n IEEE Std 802.3, 2002 Edition: 'IEEE Standard\n\n\n\n for Information technology -\n Telecommunications and information exchange\n between systems - Local and metropolitan\n area networks - Specific requirements -\n Part 3: Carrier sense multiple access with\n collision detection (CSMA/CD) access method\n and physical layer specifications', as\n amended by IEEE Std 802.3ae-2002:\n 'Amendment: Media Access Control (MAC)\n Parameters, Physical Layer, and Management\n Parameters for 10 Gb/s Operation', August,\n 2002.\n\nOf particular interest is Clause 30, '10 Mb/s,\n100 Mb/s, 1000 Mb/s, and 10 Gb/s Management'.\n\nCopyright (C) The Internet Society (2003). This\nversion of this MIB module is part of RFC 3635;\nsee the RFC itself for full legal notices.") etherMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 35, 1)) etherConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 35, 2)) etherGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 35, 2, 1)) etherCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 35, 2, 2)) # Augmentions # Groups etherStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 1)).setObjects(*(("EtherLike-MIB", "dot3StatsInternalMacTransmitErrors"), ("EtherLike-MIB", "dot3StatsFCSErrors"), ("EtherLike-MIB", "dot3StatsSingleCollisionFrames"), ("EtherLike-MIB", "dot3StatsIndex"), ("EtherLike-MIB", "dot3StatsInternalMacReceiveErrors"), ("EtherLike-MIB", "dot3StatsMultipleCollisionFrames"), ("EtherLike-MIB", "dot3StatsCarrierSenseErrors"), ("EtherLike-MIB", "dot3StatsExcessiveCollisions"), ("EtherLike-MIB", "dot3StatsEtherChipSet"), ("EtherLike-MIB", "dot3StatsSQETestErrors"), ("EtherLike-MIB", "dot3StatsAlignmentErrors"), ("EtherLike-MIB", "dot3StatsDeferredTransmissions"), ("EtherLike-MIB", "dot3StatsLateCollisions"), ("EtherLike-MIB", "dot3StatsFrameTooLongs"), ) ) if mibBuilder.loadTexts: etherStatsGroup.setDescription("********* THIS GROUP IS DEPRECATED **********\n\nA collection of objects providing information\napplicable to all ethernet-like network\ninterfaces.\n\nThis object group has been deprecated and\nreplaced by etherStatsBaseGroup and\netherStatsLowSpeedGroup.") etherCollisionTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 2)).setObjects(*(("EtherLike-MIB", "dot3CollFrequencies"), ) ) if mibBuilder.loadTexts: etherCollisionTableGroup.setDescription("A collection of objects providing a histogram\nof packets successfully transmitted after\nexperiencing exactly N collisions.") etherStats100MbsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 3)).setObjects(*(("EtherLike-MIB", "dot3StatsInternalMacTransmitErrors"), ("EtherLike-MIB", "dot3StatsFCSErrors"), ("EtherLike-MIB", "dot3StatsSingleCollisionFrames"), ("EtherLike-MIB", "dot3StatsIndex"), ("EtherLike-MIB", "dot3StatsInternalMacReceiveErrors"), ("EtherLike-MIB", "dot3StatsMultipleCollisionFrames"), ("EtherLike-MIB", "dot3StatsCarrierSenseErrors"), ("EtherLike-MIB", "dot3StatsExcessiveCollisions"), ("EtherLike-MIB", "dot3StatsSymbolErrors"), ("EtherLike-MIB", "dot3StatsEtherChipSet"), ("EtherLike-MIB", "dot3StatsFrameTooLongs"), ("EtherLike-MIB", "dot3StatsAlignmentErrors"), ("EtherLike-MIB", "dot3StatsDeferredTransmissions"), ("EtherLike-MIB", "dot3StatsLateCollisions"), ) ) if mibBuilder.loadTexts: etherStats100MbsGroup.setDescription("********* THIS GROUP IS DEPRECATED **********\n\nA collection of objects providing information\napplicable to 100 Mb/sec ethernet-like network\ninterfaces.\n\nThis object group has been deprecated and\nreplaced by etherStatsBaseGroup and\netherStatsHighSpeedGroup.") etherStatsBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 4)).setObjects(*(("EtherLike-MIB", "dot3StatsInternalMacTransmitErrors"), ("EtherLike-MIB", "dot3StatsFCSErrors"), ("EtherLike-MIB", "dot3StatsSingleCollisionFrames"), ("EtherLike-MIB", "dot3StatsIndex"), ("EtherLike-MIB", "dot3StatsInternalMacReceiveErrors"), ("EtherLike-MIB", "dot3StatsMultipleCollisionFrames"), ("EtherLike-MIB", "dot3StatsCarrierSenseErrors"), ("EtherLike-MIB", "dot3StatsExcessiveCollisions"), ("EtherLike-MIB", "dot3StatsFrameTooLongs"), ("EtherLike-MIB", "dot3StatsAlignmentErrors"), ("EtherLike-MIB", "dot3StatsDeferredTransmissions"), ("EtherLike-MIB", "dot3StatsLateCollisions"), ) ) if mibBuilder.loadTexts: etherStatsBaseGroup.setDescription("********* THIS GROUP IS DEPRECATED **********\n\nA collection of objects providing information\napplicable to all ethernet-like network\ninterfaces.\n\nThis object group has been deprecated and\nreplaced by etherStatsBaseGroup2 and\netherStatsHalfDuplexGroup, to separate\nobjects which must be implemented by all\nethernet-like network interfaces from\nobjects that need only be implemented on\nethernet-like network interfaces that are\ncapable of half-duplex operation.") etherStatsLowSpeedGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 5)).setObjects(*(("EtherLike-MIB", "dot3StatsSQETestErrors"), ) ) if mibBuilder.loadTexts: etherStatsLowSpeedGroup.setDescription("A collection of objects providing information\n\n\n\napplicable to ethernet-like network interfaces\ncapable of operating at 10 Mb/s or slower in\nhalf-duplex mode.") etherStatsHighSpeedGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 6)).setObjects(*(("EtherLike-MIB", "dot3StatsSymbolErrors"), ) ) if mibBuilder.loadTexts: etherStatsHighSpeedGroup.setDescription("A collection of objects providing information\napplicable to ethernet-like network interfaces\ncapable of operating at 100 Mb/s or faster.") etherDuplexGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 7)).setObjects(*(("EtherLike-MIB", "dot3StatsDuplexStatus"), ) ) if mibBuilder.loadTexts: etherDuplexGroup.setDescription("A collection of objects providing information\nabout the duplex mode of an ethernet-like\nnetwork interface.") etherControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 8)).setObjects(*(("EtherLike-MIB", "dot3ControlFunctionsSupported"), ("EtherLike-MIB", "dot3ControlInUnknownOpcodes"), ) ) if mibBuilder.loadTexts: etherControlGroup.setDescription("A collection of objects providing information\nabout the MAC Control sublayer on ethernet-like\nnetwork interfaces.") etherControlPauseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 9)).setObjects(*(("EtherLike-MIB", "dot3PauseOperMode"), ("EtherLike-MIB", "dot3OutPauseFrames"), ("EtherLike-MIB", "dot3PauseAdminMode"), ("EtherLike-MIB", "dot3InPauseFrames"), ) ) if mibBuilder.loadTexts: etherControlPauseGroup.setDescription("A collection of objects providing information\nabout and control of the MAC Control PAUSE\nfunction on ethernet-like network interfaces.") etherStatsBaseGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 10)).setObjects(*(("EtherLike-MIB", "dot3StatsInternalMacTransmitErrors"), ("EtherLike-MIB", "dot3StatsFCSErrors"), ("EtherLike-MIB", "dot3StatsFrameTooLongs"), ("EtherLike-MIB", "dot3StatsIndex"), ("EtherLike-MIB", "dot3StatsInternalMacReceiveErrors"), ("EtherLike-MIB", "dot3StatsAlignmentErrors"), ) ) if mibBuilder.loadTexts: etherStatsBaseGroup2.setDescription("A collection of objects providing information\napplicable to all ethernet-like network\ninterfaces.") etherStatsHalfDuplexGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 11)).setObjects(*(("EtherLike-MIB", "dot3StatsExcessiveCollisions"), ("EtherLike-MIB", "dot3StatsSingleCollisionFrames"), ("EtherLike-MIB", "dot3StatsDeferredTransmissions"), ("EtherLike-MIB", "dot3StatsMultipleCollisionFrames"), ("EtherLike-MIB", "dot3StatsLateCollisions"), ("EtherLike-MIB", "dot3StatsCarrierSenseErrors"), ) ) if mibBuilder.loadTexts: etherStatsHalfDuplexGroup.setDescription("A collection of objects providing information\napplicable only to half-duplex ethernet-like\nnetwork interfaces.") etherHCStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 12)).setObjects(*(("EtherLike-MIB", "dot3HCStatsInternalMacTransmitErrors"), ("EtherLike-MIB", "dot3HCStatsSymbolErrors"), ("EtherLike-MIB", "dot3HCStatsAlignmentErrors"), ("EtherLike-MIB", "dot3HCStatsFrameTooLongs"), ("EtherLike-MIB", "dot3HCStatsFCSErrors"), ("EtherLike-MIB", "dot3HCStatsInternalMacReceiveErrors"), ) ) if mibBuilder.loadTexts: etherHCStatsGroup.setDescription("A collection of objects providing high-capacity\nstatistics applicable to higher-speed\nethernet-like network interfaces.") etherHCControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 13)).setObjects(*(("EtherLike-MIB", "dot3HCControlInUnknownOpcodes"), ) ) if mibBuilder.loadTexts: etherHCControlGroup.setDescription("A collection of objects providing high-capacity\nstatistics for the MAC Control sublayer on\nhigher-speed ethernet-like network interfaces.") etherHCControlPauseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 14)).setObjects(*(("EtherLike-MIB", "dot3HCOutPauseFrames"), ("EtherLike-MIB", "dot3HCInPauseFrames"), ) ) if mibBuilder.loadTexts: etherHCControlPauseGroup.setDescription("A collection of objects providing high-capacity\nstatistics for the MAC Control PAUSE function on\nhigher-speed ethernet-like network interfaces.") etherRateControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 35, 2, 1, 15)).setObjects(*(("EtherLike-MIB", "dot3StatsRateControlStatus"), ("EtherLike-MIB", "dot3StatsRateControlAbility"), ) ) if mibBuilder.loadTexts: etherRateControlGroup.setDescription("A collection of objects providing information\nabout the Rate Control function on ethernet-like\ninterfaces.") # Compliances etherCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 35, 2, 2, 1)).setObjects(*(("EtherLike-MIB", "etherStatsGroup"), ("EtherLike-MIB", "etherCollisionTableGroup"), ) ) if mibBuilder.loadTexts: etherCompliance.setDescription("******** THIS COMPLIANCE IS DEPRECATED ********\n\nThe compliance statement for managed network\nentities which have ethernet-like network\ninterfaces.\n\nThis compliance is deprecated and replaced by\ndot3Compliance.") ether100MbsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 35, 2, 2, 2)).setObjects(*(("EtherLike-MIB", "etherCollisionTableGroup"), ("EtherLike-MIB", "etherStats100MbsGroup"), ) ) if mibBuilder.loadTexts: ether100MbsCompliance.setDescription("******** THIS COMPLIANCE IS DEPRECATED ********\n\nThe compliance statement for managed network\nentities which have 100 Mb/sec ethernet-like\nnetwork interfaces.\n\nThis compliance is deprecated and replaced by\ndot3Compliance.") dot3Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 35, 2, 2, 3)).setObjects(*(("EtherLike-MIB", "etherStatsBaseGroup"), ("EtherLike-MIB", "etherCollisionTableGroup"), ("EtherLike-MIB", "etherDuplexGroup"), ("EtherLike-MIB", "etherControlPauseGroup"), ("EtherLike-MIB", "etherStatsLowSpeedGroup"), ("EtherLike-MIB", "etherControlGroup"), ("EtherLike-MIB", "etherStatsHighSpeedGroup"), ) ) if mibBuilder.loadTexts: dot3Compliance.setDescription("******** THIS COMPLIANCE IS DEPRECATED ********\n\nThe compliance statement for managed network\nentities which have ethernet-like network\ninterfaces.\n\nThis compliance is deprecated and replaced by\ndot3Compliance2.") dot3Compliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 35, 2, 2, 4)).setObjects(*(("EtherLike-MIB", "etherDuplexGroup"), ("EtherLike-MIB", "etherControlPauseGroup"), ("EtherLike-MIB", "etherStatsLowSpeedGroup"), ("EtherLike-MIB", "etherCollisionTableGroup"), ("EtherLike-MIB", "etherControlGroup"), ("EtherLike-MIB", "etherStatsBaseGroup2"), ("EtherLike-MIB", "etherHCControlPauseGroup"), ("EtherLike-MIB", "etherHCStatsGroup"), ("EtherLike-MIB", "etherRateControlGroup"), ("EtherLike-MIB", "etherHCControlGroup"), ("EtherLike-MIB", "etherStatsHalfDuplexGroup"), ("EtherLike-MIB", "etherStatsHighSpeedGroup"), ) ) if mibBuilder.loadTexts: dot3Compliance2.setDescription("The compliance statement for managed network\nentities which have ethernet-like network\ninterfaces.\n\nNote that compliance with this MIB module\nrequires compliance with the ifCompliance3\nMODULE-COMPLIANCE statement of the IF-MIB\n(RFC2863). In addition, compliance with this\nMIB module requires compliance with the\nmauModIfCompl3 MODULE-COMPLIANCE statement of\nthe MAU-MIB (RFC3636).") # Exports # Module identity mibBuilder.exportSymbols("EtherLike-MIB", PYSNMP_MODULE_ID=etherMIB) # Objects mibBuilder.exportSymbols("EtherLike-MIB", dot3=dot3, dot3StatsTable=dot3StatsTable, dot3StatsEntry=dot3StatsEntry, dot3StatsIndex=dot3StatsIndex, dot3StatsAlignmentErrors=dot3StatsAlignmentErrors, dot3StatsFCSErrors=dot3StatsFCSErrors, dot3StatsSingleCollisionFrames=dot3StatsSingleCollisionFrames, dot3StatsMultipleCollisionFrames=dot3StatsMultipleCollisionFrames, dot3StatsSQETestErrors=dot3StatsSQETestErrors, dot3StatsDeferredTransmissions=dot3StatsDeferredTransmissions, dot3StatsLateCollisions=dot3StatsLateCollisions, dot3StatsExcessiveCollisions=dot3StatsExcessiveCollisions, dot3StatsInternalMacTransmitErrors=dot3StatsInternalMacTransmitErrors, dot3StatsCarrierSenseErrors=dot3StatsCarrierSenseErrors, dot3StatsFrameTooLongs=dot3StatsFrameTooLongs, dot3StatsInternalMacReceiveErrors=dot3StatsInternalMacReceiveErrors, dot3StatsEtherChipSet=dot3StatsEtherChipSet, dot3StatsSymbolErrors=dot3StatsSymbolErrors, dot3StatsDuplexStatus=dot3StatsDuplexStatus, dot3StatsRateControlAbility=dot3StatsRateControlAbility, dot3StatsRateControlStatus=dot3StatsRateControlStatus, dot3CollTable=dot3CollTable, dot3CollEntry=dot3CollEntry, dot3CollCount=dot3CollCount, dot3CollFrequencies=dot3CollFrequencies, dot3Tests=dot3Tests, dot3TestTdr=dot3TestTdr, dot3TestLoopBack=dot3TestLoopBack, dot3Errors=dot3Errors, dot3ErrorInitError=dot3ErrorInitError, dot3ErrorLoopbackError=dot3ErrorLoopbackError, dot3ControlTable=dot3ControlTable, dot3ControlEntry=dot3ControlEntry, dot3ControlFunctionsSupported=dot3ControlFunctionsSupported, dot3ControlInUnknownOpcodes=dot3ControlInUnknownOpcodes, dot3HCControlInUnknownOpcodes=dot3HCControlInUnknownOpcodes, dot3PauseTable=dot3PauseTable, dot3PauseEntry=dot3PauseEntry, dot3PauseAdminMode=dot3PauseAdminMode, dot3PauseOperMode=dot3PauseOperMode, dot3InPauseFrames=dot3InPauseFrames, dot3OutPauseFrames=dot3OutPauseFrames, dot3HCInPauseFrames=dot3HCInPauseFrames, dot3HCOutPauseFrames=dot3HCOutPauseFrames, dot3HCStatsTable=dot3HCStatsTable, dot3HCStatsEntry=dot3HCStatsEntry, dot3HCStatsAlignmentErrors=dot3HCStatsAlignmentErrors, dot3HCStatsFCSErrors=dot3HCStatsFCSErrors, dot3HCStatsInternalMacTransmitErrors=dot3HCStatsInternalMacTransmitErrors, dot3HCStatsFrameTooLongs=dot3HCStatsFrameTooLongs, dot3HCStatsInternalMacReceiveErrors=dot3HCStatsInternalMacReceiveErrors, dot3HCStatsSymbolErrors=dot3HCStatsSymbolErrors, etherMIB=etherMIB, etherMIBObjects=etherMIBObjects, etherConformance=etherConformance, etherGroups=etherGroups, etherCompliances=etherCompliances) # Groups mibBuilder.exportSymbols("EtherLike-MIB", etherStatsGroup=etherStatsGroup, etherCollisionTableGroup=etherCollisionTableGroup, etherStats100MbsGroup=etherStats100MbsGroup, etherStatsBaseGroup=etherStatsBaseGroup, etherStatsLowSpeedGroup=etherStatsLowSpeedGroup, etherStatsHighSpeedGroup=etherStatsHighSpeedGroup, etherDuplexGroup=etherDuplexGroup, etherControlGroup=etherControlGroup, etherControlPauseGroup=etherControlPauseGroup, etherStatsBaseGroup2=etherStatsBaseGroup2, etherStatsHalfDuplexGroup=etherStatsHalfDuplexGroup, etherHCStatsGroup=etherHCStatsGroup, etherHCControlGroup=etherHCControlGroup, etherHCControlPauseGroup=etherHCControlPauseGroup, etherRateControlGroup=etherRateControlGroup) # Compliances mibBuilder.exportSymbols("EtherLike-MIB", etherCompliance=etherCompliance, ether100MbsCompliance=ether100MbsCompliance, dot3Compliance=dot3Compliance, dot3Compliance2=dot3Compliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/DIFFSERV-CONFIG-MIB.py0000644000014400001440000002212511736645135021611 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DIFFSERV-CONFIG-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:47 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2", "zeroDotZero") ( DateAndTime, RowPointer, RowStatus, StorageType, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowPointer", "RowStatus", "StorageType") # Objects diffServConfigMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 108)).setRevisions(("2004-01-22 00:00",)) if mibBuilder.loadTexts: diffServConfigMib.setOrganization("SNMPCONF WG") if mibBuilder.loadTexts: diffServConfigMib.setContactInfo("SNMPCONF Working Group\nhttp://www.ietf.org/html.charters/snmpconf-charter.html\nWG mailing list: snmpconf@snmp.com\n\nEditors:\nHarrie Hazewinkel\nI.Net\nvia Darwin 85\n20019 - Settimo Milanese (MI)\nItaly\nEMail: harrie@inet.it\n\nDavid Partain\nEricsson AB\nP.O. Box 1248\nSE-581 12 Linkoping\nSweden\nE-mail: David.Partain@ericsson.com") if mibBuilder.loadTexts: diffServConfigMib.setDescription("This MIB module contains differentiated services\nspecific managed objects to perform higher-level\nconfiguration management. This MIB allows policies\nto use 'templates' to instantiate Differentiated\nServices functional datapath configurations to\nbe assigned (associated with an interface and\ndirection) when a policy is activated.\n\nCopyright (C) The Internet Society (2004). This version\nof this MIB module is part of RFC 3747; see the RFC\nitself for full legal notices.") diffServConfigMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 108, 1)) diffServConfigTable = MibTable((1, 3, 6, 1, 2, 1, 108, 1, 2)) if mibBuilder.loadTexts: diffServConfigTable.setDescription("A table which defines the various per-hop-behaviors\nfor which the system has default 'templates'.") diffServConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 108, 1, 2, 1)).setIndexNames((0, "DIFFSERV-CONFIG-MIB", "diffServConfigId")) if mibBuilder.loadTexts: diffServConfigEntry.setDescription("An entry defining a per-hop-behavior. Each entry in\nthis table combines the various parameters (entries)\ninto a specific per-hop-behavior. Entries in this\ntable might be defined by a vendor (pre-configured)\nor defined by a management application.") diffServConfigId = MibTableColumn((1, 3, 6, 1, 2, 1, 108, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 116))).setMaxAccess("noaccess") if mibBuilder.loadTexts: diffServConfigId.setDescription("A unique id for the per-hop-behavior policy for at\nleast the SNMP agent. For ease of administration the\nvalue may be unique within an administrative domain,\nbut this is not required.\n\nThe range of up to 116 octets is chosen to stay within\nthe SMI limit of 128 sub-identifiers in an object\nidentifier.") diffServConfigDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 108, 1, 2, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServConfigDescr.setDescription("A human-readable description to identify this defined\nper-hop-behavior. Note that this is an SnmpAdminString,\nwhich permits UTF-8 strings. An administratively assigned\nidentifier for a template that would be unique within\nan administrative domain. It is up to the management\napplications to agree how these are assigned within the\nadministrative domain. Once a description, such as\n'EF' is assigned, that has a certain set of parameters\nthat achieve 'EF' from box to box. Management\napplication code or script code can then scan\nthe table to find the proper template and then\nassign it.") diffServConfigOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 108, 1, 2, 1, 3), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServConfigOwner.setDescription("The owner who created this entry.") diffServConfigLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 108, 1, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: diffServConfigLastChange.setDescription("The date and time when this entry was last changed.") diffServConfigStart = MibTableColumn((1, 3, 6, 1, 2, 1, 108, 1, 2, 1, 5), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServConfigStart.setDescription("The pointer to a functional datapath configuration template as\nset up in the DIFFSERV-MIB. This RowPointer should\npoint to an instance of one of:\n diffServClfrEntry\n diffServMeterEntry\n diffServActionEntry\n diffServAlgDropEntry\n diffServQEntry\n\n\n\n\nA value of zeroDotZero in this attribute indicates no\nfurther Diffserv treatment is performed on traffic of\nthis functional datapath. This also means that the\ntemplate described by this row is not defined.\n\nIf the row pointed to does not exist, the treatment\nis as if this attribute contains a value of zeroDotZero.") diffServConfigStorage = MibTableColumn((1, 3, 6, 1, 2, 1, 108, 1, 2, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServConfigStorage.setDescription("The type of storage used for this row.\n\nSince an entry in this table serves as a starting\npoint for a configuration, it is recommended that\nall entries comprising the configuration started by\ndiffServConfigStart follow the storage type of this\nentry. Otherwise, after agent reboots a configuration\nmay differ. It may very well be that the agent is\nnot capable of detecting such changes and therefore,\nthe management application should verify the correct\nconfiguration after a reboot. Rows with a StorageType\nof 'permanent' do not need to allow write access to\nany of the columnar objects in that row.") diffServConfigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 108, 1, 2, 1, 7), RowStatus().clone('notInService')).setMaxAccess("readcreate") if mibBuilder.loadTexts: diffServConfigStatus.setDescription("RowStatus object used for creation and deletion of\nrows in this table. All writable objects in this row\nmay be modified at any time.") diffServConfigMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 108, 2)) diffServConfigMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 108, 2, 1)) diffServConfigMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 108, 2, 2)) # Augmentions # Groups diffServConfigMIBConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 108, 2, 2, 1)).setObjects(*(("DIFFSERV-CONFIG-MIB", "diffServConfigDescr"), ("DIFFSERV-CONFIG-MIB", "diffServConfigStatus"), ("DIFFSERV-CONFIG-MIB", "diffServConfigStorage"), ("DIFFSERV-CONFIG-MIB", "diffServConfigLastChange"), ("DIFFSERV-CONFIG-MIB", "diffServConfigOwner"), ("DIFFSERV-CONFIG-MIB", "diffServConfigStart"), ) ) if mibBuilder.loadTexts: diffServConfigMIBConfigGroup.setDescription("The per-hop-behavior Group defines the MIB objects that\ndescribe the configuration template for the per-hop-behavior.") # Compliances diffServConfigMIBFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 108, 2, 1, 1)).setObjects(*(("DIFFSERV-CONFIG-MIB", "diffServConfigMIBConfigGroup"), ) ) if mibBuilder.loadTexts: diffServConfigMIBFullCompliance.setDescription("The full compliance for this MIB module.\n\nFor this compliance level the 'diffServMIBFullCompliance'\nmust be met, since this MIB module depends on it in order\nto provide the configuration entries.") # Exports # Module identity mibBuilder.exportSymbols("DIFFSERV-CONFIG-MIB", PYSNMP_MODULE_ID=diffServConfigMib) # Objects mibBuilder.exportSymbols("DIFFSERV-CONFIG-MIB", diffServConfigMib=diffServConfigMib, diffServConfigMIBObjects=diffServConfigMIBObjects, diffServConfigTable=diffServConfigTable, diffServConfigEntry=diffServConfigEntry, diffServConfigId=diffServConfigId, diffServConfigDescr=diffServConfigDescr, diffServConfigOwner=diffServConfigOwner, diffServConfigLastChange=diffServConfigLastChange, diffServConfigStart=diffServConfigStart, diffServConfigStorage=diffServConfigStorage, diffServConfigStatus=diffServConfigStatus, diffServConfigMIBConformance=diffServConfigMIBConformance, diffServConfigMIBCompliances=diffServConfigMIBCompliances, diffServConfigMIBGroups=diffServConfigMIBGroups) # Groups mibBuilder.exportSymbols("DIFFSERV-CONFIG-MIB", diffServConfigMIBConfigGroup=diffServConfigMIBConfigGroup) # Compliances mibBuilder.exportSymbols("DIFFSERV-CONFIG-MIB", diffServConfigMIBFullCompliance=diffServConfigMIBFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DIAL-CONTROL-MIB.py0000644000014400001440000012615011736645135021270 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DIAL-CONTROL-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:46 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAifType, ) = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") ( InterfaceIndex, InterfaceIndexOrZero, ifIndex, ifOperStatus, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero", "ifIndex", "ifOperStatus") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( DisplayString, RowStatus, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "TimeStamp") # Types class AbsoluteCounter32(Unsigned32): pass # Objects dialControlMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 21)).setRevisions(("1996-09-23 15:44",)) if mibBuilder.loadTexts: dialControlMib.setOrganization("IETF ISDN Working Group") if mibBuilder.loadTexts: dialControlMib.setContactInfo(" Guenter Roeck\nPostal: cisco Systems\n 170 West Tasman Drive\n San Jose, CA 95134\n U.S.A.\nPhone: +1 408 527 3143\nE-mail: groeck@cisco.com") if mibBuilder.loadTexts: dialControlMib.setDescription("The MIB module to describe peer information for\ndemand access and possibly other kinds of interfaces.") dialControlMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 1)) dialCtlConfiguration = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 1, 1)) dialCtlAcceptMode = MibScalar((1, 3, 6, 1, 2, 1, 10, 21, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("acceptNone", 1), ("acceptAll", 2), ("acceptKnown", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dialCtlAcceptMode.setDescription("The security level for acceptance of incoming calls.\nacceptNone(1) - incoming calls will not be accepted\nacceptAll(2) - incoming calls will be accepted,\n even if there is no matching entry\n in the dialCtlPeerCfgTable\nacceptKnown(3) - incoming calls will be accepted only\n if there is a matching entry in the\n dialCtlPeerCfgTable") dialCtlTrapEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 21, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dialCtlTrapEnable.setDescription("This object indicates whether dialCtlPeerCallInformation\nand dialCtlPeerCallSetup traps should be generated for\nall peers. If the value of this object is enabled(1),\ntraps will be generated for all peers. If the value\nof this object is disabled(2), traps will be generated\nonly for peers having dialCtlPeerCfgTrapEnable set\nto enabled(1).") dialCtlPeer = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 1, 2)) dialCtlPeerCfgTable = MibTable((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1)) if mibBuilder.loadTexts: dialCtlPeerCfgTable.setDescription("The list of peers from which the managed device\nwill accept calls or to which it will place them.") dialCtlPeerCfgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1)).setIndexNames((0, "DIAL-CONTROL-MIB", "dialCtlPeerCfgId"), (0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dialCtlPeerCfgEntry.setDescription("Configuration data for a single Peer. This entry is\neffectively permanent, and contains information\nto identify the peer, how to connect to the peer,\nhow to identify the peer and its permissions.\nThe value of dialCtlPeerCfgOriginateAddress must be\nspecified before a new row in this table can become\nactive(1). Any writeable parameters in an existing entry\ncan be modified while the entry is active. The modification\nwill take effect when the peer in question will be\ncalled the next time.\nAn entry in this table can only be created if the\nassociated ifEntry already exists.") dialCtlPeerCfgId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dialCtlPeerCfgId.setDescription("This object identifies a single peer. There may\nbe several entries in this table for one peer,\ndefining different ways of reaching this peer.\nThus, there may be several entries in this table\nwith the same value of dialCtlPeerCfgId.\nMultiple entries for one peer may be used to support\nmultilink as well as backup lines.\nA single peer will be identified by a unique value\nof this object. Several entries for one peer MUST\nhave the same value of dialCtlPeerCfgId, but different\nifEntries and thus different values of ifIndex.") dialCtlPeerCfgIfType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 2), IANAifType().clone('other')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgIfType.setDescription("The interface type to be used for calling this peer.\nIn case of ISDN, the value of isdn(63) is to be used.") dialCtlPeerCfgLowerIf = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 3), InterfaceIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgLowerIf.setDescription("ifIndex value of an interface the peer will have to be\ncalled on. For example, on an ISDN interface, this can be\nthe ifIndex value of a D channel or the ifIndex value of a\nB channel, whatever is appropriate for a given peer.\nAs an example, for Basic Rate leased lines it will be\nnecessary to specify a B channel ifIndex, while for\nsemi-permanent connections the D channel ifIndex has\nto be specified.\nIf the interface can be dynamically assigned, this object\nhas a value of zero.") dialCtlPeerCfgOriginateAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 4), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgOriginateAddress.setDescription("Call Address at which the peer will be called.\nThink of this as the set of characters following 'ATDT '\nor the 'phone number' included in a D channel call request.\n\nThe structure of this information will be switch type\nspecific. If there is no address information required\nfor reaching the peer, i.e., for leased lines,\nthis object will be a zero length string.") dialCtlPeerCfgAnswerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 5), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgAnswerAddress.setDescription("Calling Party Number information element, as for example\npassed in an ISDN SETUP message by a PBX or switch,\nfor incoming calls.\nThis address can be used to identify the peer.\nIf this address is either unknown or identical\nto dialCtlPeerCfgOriginateAddress, this object will be\na zero length string.") dialCtlPeerCfgSubAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 6), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgSubAddress.setDescription("Subaddress at which the peer will be called.\nIf the subaddress is undefined for the given media or\nunused, this is a zero length string.") dialCtlPeerCfgClosedUserGroup = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 7), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgClosedUserGroup.setDescription("Closed User Group at which the peer will be called.\nIf the Closed User Group is undefined for the given media\nor unused, this is a zero length string.") dialCtlPeerCfgSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgSpeed.setDescription("The desired information transfer speed in bits/second\nwhen calling this peer.\nThe detailed media specific information, e.g. information\ntype and information transfer rate for ISDN circuits,\nhas to be extracted from this object.\nIf the transfer speed to be used is unknown or the default\nspeed for this type of interfaces, the value of this object\nmay be zero.") dialCtlPeerCfgInfoType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(10,7,8,3,4,5,6,1,2,9,)).subtype(namedValues=NamedValues(("other", 1), ("fax", 10), ("speech", 2), ("unrestrictedDigital", 3), ("unrestrictedDigital56", 4), ("restrictedDigital", 5), ("audio31", 6), ("audio7", 7), ("video", 8), ("packetSwitched", 9), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgInfoType.setDescription("The Information Transfer Capability to be used when\ncalling this peer.\n\nspeech(2) refers to a non-data connection, whereas\naudio31(6) and audio7(7) refer to data mode\nconnections.") dialCtlPeerCfgPermission = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(3,5,1,4,2,)).subtype(namedValues=NamedValues(("originate", 1), ("answer", 2), ("both", 3), ("callback", 4), ("none", 5), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgPermission.setDescription("Applicable permissions. callback(4) either rejects the\ncall and then calls back, or uses the 'Reverse charging'\ninformation element if it is available.\nNote that callback(4) is supposed to control charging, not\nsecurity, and applies to callback prior to accepting a\ncall. Callback for security reasons can be handled using\nPPP callback.") dialCtlPeerCfgInactivityTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgInactivityTimer.setDescription("The connection will be automatically disconnected\nif no longer carrying useful data for a time\nperiod, in seconds, specified in this object.\nUseful data in this context refers to forwarding\npackets, including routing information; it\nexcludes the encapsulator maintenance frames.\nA value of zero means the connection will not be\nautomatically taken down due to inactivity,\nwhich implies that it is a dedicated circuit.") dialCtlPeerCfgMinDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgMinDuration.setDescription("Minimum duration of a call in seconds, starting from the\ntime the call is connected until the call is disconnected.\nThis is to accomplish the fact that in most countries\ncharging applies to units of time, which should be matched\nas closely as possible.") dialCtlPeerCfgMaxDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgMaxDuration.setDescription("Maximum call duration in seconds. Zero means 'unlimited'.") dialCtlPeerCfgCarrierDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgCarrierDelay.setDescription("The call timeout time in seconds. The default value\nof zero means that the call timeout as specified for\nthe media in question will apply.") dialCtlPeerCfgCallRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgCallRetries.setDescription("The number of calls to a non-responding address\nthat may be made. A retry count of zero means\nthere is no bound. The intent is to bound\nthe number of successive calls to an address\nwhich is inaccessible, or which refuses those calls.\n\nSome countries regulate the number of call retries\nto a given peer that can be made.") dialCtlPeerCfgRetryDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgRetryDelay.setDescription("The time in seconds between call retries if a peer\ncannot be reached.\nA value of zero means that call retries may be done\nwithout any delay.") dialCtlPeerCfgFailureDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgFailureDelay.setDescription("The time in seconds after which call attempts are\nto be placed again after a peer has been noticed\nto be unreachable, i.e. after dialCtlPeerCfgCallRetries\nunsuccessful call attempts.\nA value of zero means that a peer will not be called\nagain after dialCtlPeerCfgCallRetries unsuccessful call\nattempts.") dialCtlPeerCfgTrapEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgTrapEnable.setDescription("This object indicates whether dialCtlPeerCallInformation\nand dialCtlPeerCallSetup traps should be generated for\nthis peer.") dialCtlPeerCfgStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 1, 1, 19), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dialCtlPeerCfgStatus.setDescription("Status of one row in this table.") dialCtlPeerStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2)) if mibBuilder.loadTexts: dialCtlPeerStatsTable.setDescription("Statistics information for each peer entry.\nThere will be one entry in this table for each entry\nin the dialCtlPeerCfgTable.") dialCtlPeerStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1)) if mibBuilder.loadTexts: dialCtlPeerStatsEntry.setDescription("Statistics information for a single Peer. This entry\nis effectively permanent, and contains information\ndescribing the last call attempt as well as supplying\nstatistical information.") dialCtlPeerStatsConnectTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 1), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsConnectTime.setDescription("Accumulated connect time to the peer since system startup.\nThis is the total connect time, i.e. the connect time\nfor outgoing calls plus the time for incoming calls.") dialCtlPeerStatsChargedUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 2), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsChargedUnits.setDescription("The total number of charging units applying to this\npeer since system startup.\nOnly the charging units applying to the local interface,\ni.e. for originated calls or for calls with 'Reverse\ncharging' being active, will be counted here.") dialCtlPeerStatsSuccessCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 3), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsSuccessCalls.setDescription("Number of completed calls to this peer.") dialCtlPeerStatsFailCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 4), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsFailCalls.setDescription("Number of failed call attempts to this peer since system\nstartup.") dialCtlPeerStatsAcceptCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 5), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsAcceptCalls.setDescription("Number of calls from this peer accepted since system\nstartup.") dialCtlPeerStatsRefuseCalls = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 6), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsRefuseCalls.setDescription("Number of calls from this peer refused since system\nstartup.") dialCtlPeerStatsLastDisconnectCause = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsLastDisconnectCause.setDescription("The encoded network cause value associated with the last\ncall.\nThis object will be updated whenever a call is started\nor cleared.\nThe value of this object will depend on the interface type\nas well as on the protocol and protocol version being\nused on this interface. Some references for possible cause\nvalues are given below.") dialCtlPeerStatsLastDisconnectText = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsLastDisconnectText.setDescription("ASCII text describing the reason for the last call\ntermination.\nThis object exists because it would be impossible for\na management station to store all possible cause values\nfor all types of interfaces. It should be used only if\na management station is unable to decode the value of\ndialCtlPeerStatsLastDisconnectCause.\n\nThis object will be updated whenever a call is started\nor cleared.") dialCtlPeerStatsLastSetupTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 2, 2, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dialCtlPeerStatsLastSetupTime.setDescription("The value of sysUpTime when the last call to this peer\nwas started.\nFor ISDN media, this will be the time when the setup\nmessage was received from or sent to the network.\nThis object will be updated whenever a call is started\nor cleared.") callActive = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 1, 3)) callActiveTable = MibTable((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1)) if mibBuilder.loadTexts: callActiveTable.setDescription("A table containing information about active\ncalls to a specific destination.") callActiveEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1)).setIndexNames((0, "DIAL-CONTROL-MIB", "callActiveSetupTime"), (0, "DIAL-CONTROL-MIB", "callActiveIndex")) if mibBuilder.loadTexts: callActiveEntry.setDescription("The information regarding a single active Connection.\nAn entry in this table will be created when a call is\nstarted. An entry in this table will be deleted when\nan active call clears.") callActiveSetupTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 1), TimeStamp()).setMaxAccess("noaccess") if mibBuilder.loadTexts: callActiveSetupTime.setDescription("The value of sysUpTime when the call associated to this\nentry was started. This will be useful for an NMS to\nretrieve all calls after a specific time. Also, this object\ncan be useful in finding large delays between the time the\ncall was started and the time the call was connected.\nFor ISDN media, this will be the time when the setup\nmessage was received from or sent to the network.") callActiveIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: callActiveIndex.setDescription("Small index variable to distinguish calls that start in\nthe same hundredth of a second.") callActivePeerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActivePeerAddress.setDescription("The number this call is connected to. If the number is\nnot available, then it will have a length of zero.") callActivePeerSubAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActivePeerSubAddress.setDescription("The subaddress this call is connected to. If the subaddress\nis undefined or not available, this will be a zero length\nstring.") callActivePeerId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: callActivePeerId.setDescription("This is the Id value of the peer table entry\nto which this call was made. If a peer table entry\nfor this call does not exist or is unknown, the value\nof this object will be zero.") callActivePeerIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: callActivePeerIfIndex.setDescription("This is the ifIndex value of the peer table entry\nto which this call was made. If a peer table entry\nfor this call does not exist or is unknown, the value\nof this object will be zero.") callActiveLogicalIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 7), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveLogicalIfIndex.setDescription("This is the ifIndex value of the logical interface through\nwhich this call was made. For ISDN media, this would be\nthe ifIndex of the B channel which was used for this call.\nIf the ifIndex value is unknown, the value of this object\nwill be zero.") callActiveConnectTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveConnectTime.setDescription("The value of sysUpTime when the call was connected.\nIf the call is not connected, this object will have a\nvalue of zero.") callActiveCallState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("connecting", 2), ("connected", 3), ("active", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveCallState.setDescription("The current call state.\nunknown(1) - The call state is unknown.\nconnecting(2) - A connection attempt (outgoing call)\n is being made.\nconnected(3) - An incoming call is in the process\n of validation.\nactive(4) - The call is active.") callActiveCallOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("originate", 1), ("answer", 2), ("callback", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveCallOrigin.setDescription("The call origin.") callActiveChargedUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 11), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveChargedUnits.setDescription("The number of charged units for this connection.\nFor incoming calls or if charging information is\nnot supplied by the switch, the value of this object\nwill be zero.") callActiveInfoType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(10,7,8,3,4,5,6,1,2,9,)).subtype(namedValues=NamedValues(("other", 1), ("fax", 10), ("speech", 2), ("unrestrictedDigital", 3), ("unrestrictedDigital56", 4), ("restrictedDigital", 5), ("audio31", 6), ("audio7", 7), ("video", 8), ("packetSwitched", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveInfoType.setDescription("The information type for this call.") callActiveTransmitPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 13), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveTransmitPackets.setDescription("The number of packets which were transmitted for this\ncall.") callActiveTransmitBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 14), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveTransmitBytes.setDescription("The number of bytes which were transmitted for this\ncall.") callActiveReceivePackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 15), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveReceivePackets.setDescription("The number of packets which were received for this\ncall.") callActiveReceiveBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 3, 1, 1, 16), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callActiveReceiveBytes.setDescription("The number of bytes which were received for this call.") callHistory = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 1, 4)) callHistoryTableMaxLength = MibScalar((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: callHistoryTableMaxLength.setDescription("The upper limit on the number of entries that the\ncallHistoryTable may contain. A value of 0\nwill prevent any history from being retained. When\nthis table is full, the oldest entry will be deleted\nand the new one will be created.") callHistoryRetainTimer = MibScalar((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite").setUnits("minutes") if mibBuilder.loadTexts: callHistoryRetainTimer.setDescription("The minimum amount of time that an callHistoryEntry\nwill be maintained before being deleted. A value of\n0 will prevent any history from being retained in the\ncallHistoryTable, but will neither prevent callCompletion\ntraps being generated nor affect other tables.") callHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3)) if mibBuilder.loadTexts: callHistoryTable.setDescription("A table containing information about specific\ncalls to a specific destination.") callHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1)).setIndexNames((0, "DIAL-CONTROL-MIB", "callActiveSetupTime"), (0, "DIAL-CONTROL-MIB", "callActiveIndex")) if mibBuilder.loadTexts: callHistoryEntry.setDescription("The information regarding a single Connection.") callHistoryPeerAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryPeerAddress.setDescription("The number this call was connected to. If the number is\nnot available, then it will have a length of zero.") callHistoryPeerSubAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryPeerSubAddress.setDescription("The subaddress this call was connected to. If the subaddress\nis undefined or not available, this will be a zero length\nstring.") callHistoryPeerId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryPeerId.setDescription("This is the Id value of the peer table entry\nto which this call was made. If a peer table entry\nfor this call does not exist, the value of this object\nwill be zero.") callHistoryPeerIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryPeerIfIndex.setDescription("This is the ifIndex value of the peer table entry\nto which this call was made. If a peer table entry\nfor this call does not exist, the value of this object\nwill be zero.") callHistoryLogicalIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 5), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryLogicalIfIndex.setDescription("This is the ifIndex value of the logical interface through\nwhich this call was made. For ISDN media, this would be\nthe ifIndex of the B channel which was used for this call.") callHistoryDisconnectCause = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryDisconnectCause.setDescription("The encoded network cause value associated with this call.\n\nThe value of this object will depend on the interface type\nas well as on the protocol and protocol version being\nused on this interface. Some references for possible cause\nvalues are given below.") callHistoryDisconnectText = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryDisconnectText.setDescription("ASCII text describing the reason for call termination.\n\nThis object exists because it would be impossible for\na management station to store all possible cause values\nfor all types of interfaces. It should be used only if\na management station is unable to decode the value of\ndialCtlPeerStatsLastDisconnectCause.") callHistoryConnectTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 8), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryConnectTime.setDescription("The value of sysUpTime when the call was connected.") callHistoryDisconnectTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryDisconnectTime.setDescription("The value of sysUpTime when the call was disconnected.") callHistoryCallOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("originate", 1), ("answer", 2), ("callback", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryCallOrigin.setDescription("The call origin.") callHistoryChargedUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 11), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryChargedUnits.setDescription("The number of charged units for this connection.\nFor incoming calls or if charging information is\nnot supplied by the switch, the value of this object\nwill be zero.") callHistoryInfoType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(10,7,8,3,4,5,6,1,2,9,)).subtype(namedValues=NamedValues(("other", 1), ("fax", 10), ("speech", 2), ("unrestrictedDigital", 3), ("unrestrictedDigital56", 4), ("restrictedDigital", 5), ("audio31", 6), ("audio7", 7), ("video", 8), ("packetSwitched", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryInfoType.setDescription("The information type for this call.") callHistoryTransmitPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 13), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryTransmitPackets.setDescription("The number of packets which were transmitted while this\ncall was active.") callHistoryTransmitBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 14), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryTransmitBytes.setDescription("The number of bytes which were transmitted while this\ncall was active.") callHistoryReceivePackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 15), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryReceivePackets.setDescription("The number of packets which were received while this\ncall was active.") callHistoryReceiveBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 21, 1, 4, 3, 1, 16), AbsoluteCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: callHistoryReceiveBytes.setDescription("The number of bytes which were received while this\ncall was active.") dialControlMibTrapPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 2)) dialControlMibTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 2, 0)) dialControlMibConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 3)) dialControlMibCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 3, 1)) dialControlMibGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 21, 3, 2)) # Augmentions dialCtlPeerCfgEntry.registerAugmentions(("DIAL-CONTROL-MIB", "dialCtlPeerStatsEntry")) dialCtlPeerStatsEntry.setIndexNames(*dialCtlPeerCfgEntry.getIndexNames()) # Notifications dialCtlPeerCallInformation = NotificationType((1, 3, 6, 1, 2, 1, 10, 21, 2, 0, 1)).setObjects(*(("DIAL-CONTROL-MIB", "callHistoryDisconnectCause"), ("DIAL-CONTROL-MIB", "callHistoryPeerSubAddress"), ("DIAL-CONTROL-MIB", "callHistoryLogicalIfIndex"), ("DIAL-CONTROL-MIB", "callHistoryCallOrigin"), ("DIAL-CONTROL-MIB", "callHistoryPeerIfIndex"), ("DIAL-CONTROL-MIB", "callHistoryPeerAddress"), ("DIAL-CONTROL-MIB", "callHistoryDisconnectTime"), ("DIAL-CONTROL-MIB", "callHistoryPeerId"), ("DIAL-CONTROL-MIB", "callHistoryInfoType"), ("DIAL-CONTROL-MIB", "callHistoryConnectTime"), ("IF-MIB", "ifOperStatus"), ) ) if mibBuilder.loadTexts: dialCtlPeerCallInformation.setDescription("This trap/inform is sent to the manager whenever\na successful call clears, or a failed call attempt\nis determined to have ultimately failed. In the\nevent that call retry is active, then this is after\nall retry attempts have failed. However, only one such\ntrap is sent in between successful call attempts;\nsubsequent call attempts result in no trap.\nifOperStatus will return the operational status of the\nvirtual interface associated with the peer to whom\nthis call was made to.") dialCtlPeerCallSetup = NotificationType((1, 3, 6, 1, 2, 1, 10, 21, 2, 0, 2)).setObjects(*(("DIAL-CONTROL-MIB", "callActivePeerSubAddress"), ("DIAL-CONTROL-MIB", "callActivePeerAddress"), ("DIAL-CONTROL-MIB", "callActivePeerIfIndex"), ("DIAL-CONTROL-MIB", "callActiveLogicalIfIndex"), ("DIAL-CONTROL-MIB", "callActiveInfoType"), ("DIAL-CONTROL-MIB", "callActiveCallOrigin"), ("DIAL-CONTROL-MIB", "callActivePeerId"), ("IF-MIB", "ifOperStatus"), ) ) if mibBuilder.loadTexts: dialCtlPeerCallSetup.setDescription("This trap/inform is sent to the manager whenever\na call setup message is received or sent.\nifOperStatus will return the operational status of the\nvirtual interface associated with the peer to whom\nthis call was made to.") # Groups dialControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 21, 3, 2, 1)).setObjects(*(("DIAL-CONTROL-MIB", "dialCtlPeerCfgIfType"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgPermission"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgClosedUserGroup"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgCarrierDelay"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgLowerIf"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgOriginateAddress"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgRetryDelay"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsLastDisconnectText"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgMaxDuration"), ("DIAL-CONTROL-MIB", "dialCtlTrapEnable"), ("DIAL-CONTROL-MIB", "dialCtlAcceptMode"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsConnectTime"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsAcceptCalls"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgSpeed"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsSuccessCalls"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsRefuseCalls"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgCallRetries"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsChargedUnits"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgStatus"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsLastSetupTime"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgMinDuration"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgSubAddress"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgAnswerAddress"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsFailCalls"), ("DIAL-CONTROL-MIB", "dialCtlPeerStatsLastDisconnectCause"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgInactivityTimer"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgTrapEnable"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgFailureDelay"), ("DIAL-CONTROL-MIB", "dialCtlPeerCfgInfoType"), ) ) if mibBuilder.loadTexts: dialControlGroup.setDescription("A collection of objects providing the DIAL CONTROL\ncapability.") callActiveGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 21, 3, 2, 2)).setObjects(*(("DIAL-CONTROL-MIB", "callActiveReceivePackets"), ("DIAL-CONTROL-MIB", "callActivePeerAddress"), ("DIAL-CONTROL-MIB", "callActivePeerId"), ("DIAL-CONTROL-MIB", "callActivePeerSubAddress"), ("DIAL-CONTROL-MIB", "callActivePeerIfIndex"), ("DIAL-CONTROL-MIB", "callActiveTransmitBytes"), ("DIAL-CONTROL-MIB", "callActiveInfoType"), ("DIAL-CONTROL-MIB", "callActiveConnectTime"), ("DIAL-CONTROL-MIB", "callActiveCallState"), ("DIAL-CONTROL-MIB", "callActiveReceiveBytes"), ("DIAL-CONTROL-MIB", "callActiveTransmitPackets"), ("DIAL-CONTROL-MIB", "callActiveLogicalIfIndex"), ("DIAL-CONTROL-MIB", "callActiveChargedUnits"), ("DIAL-CONTROL-MIB", "callActiveCallOrigin"), ) ) if mibBuilder.loadTexts: callActiveGroup.setDescription("A collection of objects providing the active call\ncapability.") callHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 21, 3, 2, 3)).setObjects(*(("DIAL-CONTROL-MIB", "callHistoryReceiveBytes"), ("DIAL-CONTROL-MIB", "callHistoryDisconnectCause"), ("DIAL-CONTROL-MIB", "callHistoryCallOrigin"), ("DIAL-CONTROL-MIB", "callHistoryReceivePackets"), ("DIAL-CONTROL-MIB", "callHistoryLogicalIfIndex"), ("DIAL-CONTROL-MIB", "callHistoryInfoType"), ("DIAL-CONTROL-MIB", "callHistoryTransmitPackets"), ("DIAL-CONTROL-MIB", "callHistoryDisconnectText"), ("DIAL-CONTROL-MIB", "callHistoryPeerSubAddress"), ("DIAL-CONTROL-MIB", "callHistoryPeerIfIndex"), ("DIAL-CONTROL-MIB", "callHistoryRetainTimer"), ("DIAL-CONTROL-MIB", "callHistoryPeerAddress"), ("DIAL-CONTROL-MIB", "callHistoryTableMaxLength"), ("DIAL-CONTROL-MIB", "callHistoryTransmitBytes"), ("DIAL-CONTROL-MIB", "callHistoryDisconnectTime"), ("DIAL-CONTROL-MIB", "callHistoryPeerId"), ("DIAL-CONTROL-MIB", "callHistoryConnectTime"), ("DIAL-CONTROL-MIB", "callHistoryChargedUnits"), ) ) if mibBuilder.loadTexts: callHistoryGroup.setDescription("A collection of objects providing the Call History\ncapability.") callNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 21, 3, 2, 4)).setObjects(*(("DIAL-CONTROL-MIB", "dialCtlPeerCallSetup"), ("DIAL-CONTROL-MIB", "dialCtlPeerCallInformation"), ) ) if mibBuilder.loadTexts: callNotificationsGroup.setDescription("The notifications which a Dial Control MIB entity is\nrequired to implement.") # Compliances dialControlMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 21, 3, 1, 1)).setObjects(*(("DIAL-CONTROL-MIB", "callActiveGroup"), ("DIAL-CONTROL-MIB", "callHistoryGroup"), ("DIAL-CONTROL-MIB", "dialControlGroup"), ("DIAL-CONTROL-MIB", "callNotificationsGroup"), ) ) if mibBuilder.loadTexts: dialControlMibCompliance.setDescription("The compliance statement for entities which\nimplement the DIAL CONTROL MIB") # Exports # Module identity mibBuilder.exportSymbols("DIAL-CONTROL-MIB", PYSNMP_MODULE_ID=dialControlMib) # Types mibBuilder.exportSymbols("DIAL-CONTROL-MIB", AbsoluteCounter32=AbsoluteCounter32) # Objects mibBuilder.exportSymbols("DIAL-CONTROL-MIB", dialControlMib=dialControlMib, dialControlMibObjects=dialControlMibObjects, dialCtlConfiguration=dialCtlConfiguration, dialCtlAcceptMode=dialCtlAcceptMode, dialCtlTrapEnable=dialCtlTrapEnable, dialCtlPeer=dialCtlPeer, dialCtlPeerCfgTable=dialCtlPeerCfgTable, dialCtlPeerCfgEntry=dialCtlPeerCfgEntry, dialCtlPeerCfgId=dialCtlPeerCfgId, dialCtlPeerCfgIfType=dialCtlPeerCfgIfType, dialCtlPeerCfgLowerIf=dialCtlPeerCfgLowerIf, dialCtlPeerCfgOriginateAddress=dialCtlPeerCfgOriginateAddress, dialCtlPeerCfgAnswerAddress=dialCtlPeerCfgAnswerAddress, dialCtlPeerCfgSubAddress=dialCtlPeerCfgSubAddress, dialCtlPeerCfgClosedUserGroup=dialCtlPeerCfgClosedUserGroup, dialCtlPeerCfgSpeed=dialCtlPeerCfgSpeed, dialCtlPeerCfgInfoType=dialCtlPeerCfgInfoType, dialCtlPeerCfgPermission=dialCtlPeerCfgPermission, dialCtlPeerCfgInactivityTimer=dialCtlPeerCfgInactivityTimer, dialCtlPeerCfgMinDuration=dialCtlPeerCfgMinDuration, dialCtlPeerCfgMaxDuration=dialCtlPeerCfgMaxDuration, dialCtlPeerCfgCarrierDelay=dialCtlPeerCfgCarrierDelay, dialCtlPeerCfgCallRetries=dialCtlPeerCfgCallRetries, dialCtlPeerCfgRetryDelay=dialCtlPeerCfgRetryDelay, dialCtlPeerCfgFailureDelay=dialCtlPeerCfgFailureDelay, dialCtlPeerCfgTrapEnable=dialCtlPeerCfgTrapEnable, dialCtlPeerCfgStatus=dialCtlPeerCfgStatus, dialCtlPeerStatsTable=dialCtlPeerStatsTable, dialCtlPeerStatsEntry=dialCtlPeerStatsEntry, dialCtlPeerStatsConnectTime=dialCtlPeerStatsConnectTime, dialCtlPeerStatsChargedUnits=dialCtlPeerStatsChargedUnits, dialCtlPeerStatsSuccessCalls=dialCtlPeerStatsSuccessCalls, dialCtlPeerStatsFailCalls=dialCtlPeerStatsFailCalls, dialCtlPeerStatsAcceptCalls=dialCtlPeerStatsAcceptCalls, dialCtlPeerStatsRefuseCalls=dialCtlPeerStatsRefuseCalls, dialCtlPeerStatsLastDisconnectCause=dialCtlPeerStatsLastDisconnectCause, dialCtlPeerStatsLastDisconnectText=dialCtlPeerStatsLastDisconnectText, dialCtlPeerStatsLastSetupTime=dialCtlPeerStatsLastSetupTime, callActive=callActive, callActiveTable=callActiveTable, callActiveEntry=callActiveEntry, callActiveSetupTime=callActiveSetupTime, callActiveIndex=callActiveIndex, callActivePeerAddress=callActivePeerAddress, callActivePeerSubAddress=callActivePeerSubAddress, callActivePeerId=callActivePeerId, callActivePeerIfIndex=callActivePeerIfIndex, callActiveLogicalIfIndex=callActiveLogicalIfIndex, callActiveConnectTime=callActiveConnectTime, callActiveCallState=callActiveCallState, callActiveCallOrigin=callActiveCallOrigin, callActiveChargedUnits=callActiveChargedUnits, callActiveInfoType=callActiveInfoType, callActiveTransmitPackets=callActiveTransmitPackets, callActiveTransmitBytes=callActiveTransmitBytes, callActiveReceivePackets=callActiveReceivePackets, callActiveReceiveBytes=callActiveReceiveBytes, callHistory=callHistory, callHistoryTableMaxLength=callHistoryTableMaxLength, callHistoryRetainTimer=callHistoryRetainTimer, callHistoryTable=callHistoryTable, callHistoryEntry=callHistoryEntry, callHistoryPeerAddress=callHistoryPeerAddress, callHistoryPeerSubAddress=callHistoryPeerSubAddress, callHistoryPeerId=callHistoryPeerId, callHistoryPeerIfIndex=callHistoryPeerIfIndex, callHistoryLogicalIfIndex=callHistoryLogicalIfIndex, callHistoryDisconnectCause=callHistoryDisconnectCause, callHistoryDisconnectText=callHistoryDisconnectText, callHistoryConnectTime=callHistoryConnectTime, callHistoryDisconnectTime=callHistoryDisconnectTime, callHistoryCallOrigin=callHistoryCallOrigin, callHistoryChargedUnits=callHistoryChargedUnits, callHistoryInfoType=callHistoryInfoType, callHistoryTransmitPackets=callHistoryTransmitPackets, callHistoryTransmitBytes=callHistoryTransmitBytes, callHistoryReceivePackets=callHistoryReceivePackets, callHistoryReceiveBytes=callHistoryReceiveBytes, dialControlMibTrapPrefix=dialControlMibTrapPrefix, dialControlMibTraps=dialControlMibTraps, dialControlMibConformance=dialControlMibConformance, dialControlMibCompliances=dialControlMibCompliances, dialControlMibGroups=dialControlMibGroups) # Notifications mibBuilder.exportSymbols("DIAL-CONTROL-MIB", dialCtlPeerCallInformation=dialCtlPeerCallInformation, dialCtlPeerCallSetup=dialCtlPeerCallSetup) # Groups mibBuilder.exportSymbols("DIAL-CONTROL-MIB", dialControlGroup=dialControlGroup, callActiveGroup=callActiveGroup, callHistoryGroup=callHistoryGroup, callNotificationsGroup=callNotificationsGroup) # Compliances mibBuilder.exportSymbols("DIAL-CONTROL-MIB", dialControlMibCompliance=dialControlMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/NHRP-MIB.py0000644000014400001440000025307111736645137020215 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NHRP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:23 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AddressFamilyNumbers, ) = mibBuilder.importSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", "AddressFamilyNumbers") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") # Types class NhrpGenAddr(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,64) # Objects nhrpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 71)).setRevisions(("1999-08-26 00:00",)) if mibBuilder.loadTexts: nhrpMIB.setOrganization("Internetworking Over NBMA (ion) Working Group") if mibBuilder.loadTexts: nhrpMIB.setContactInfo("Maria Greene (maria@xedia.com)\nContractor\n\nJoan Cucchiara (joan@ironbridgenetworks.com)\nIronBridge Networks\n\nJames V. Luciani (luciani@baynetworks.com)\nBay Networks") if mibBuilder.loadTexts: nhrpMIB.setDescription("This MIB contains managed object definitions for the Next\nHop Resolution Procol, NHRP, as defined in RFC 2332 [17].") nhrpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 71, 1)) nhrpGeneralObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 71, 1, 1)) nhrpNextIndex = MibScalar((1, 3, 6, 1, 2, 1, 71, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpNextIndex.setDescription("This scalar is used for creating rows in the\nnhrpClientTable and the nhrpServerTable.\nThe value of this variable is a currently unused value\nfor nhrpClientIndex and nhrpServerIndex.\nThe value returned when reading this variable must be\nunique for the NHC's and NHS's indices associated with\nthis row. Subsequent attempts to read this variable\nmust return different values.\n\nNOTE: this object exists in the General Group because\nit is to be used in establishing rows in the\nnhrpClientTable and the nhrpServerTable. In other words,\nthe value retrieved from this object could become the\nvalue of nhrpClientIndex and nhprServerIndex.\n\nIn the situation of an agent re-initialization the value\nof this object must be saved in non-volatile storage.\n\nThis variable will return the special value 0 if no new\nrows can be created.") nhrpCacheTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 1, 2)) if mibBuilder.loadTexts: nhrpCacheTable.setDescription("This table contains mappings between internetwork layer\naddresses and NBMA subnetwork layer addresses.") nhrpCacheEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1)).setIndexNames((0, "NHRP-MIB", "nhrpCacheInternetworkAddrType"), (0, "NHRP-MIB", "nhrpCacheInternetworkAddr"), (0, "IF-MIB", "ifIndex"), (0, "NHRP-MIB", "nhrpCacheIndex")) if mibBuilder.loadTexts: nhrpCacheEntry.setDescription("A cached mapping between an internetwork layer address\nand an NBMA address. Entries can be created by the\nnetwork administrator using the nhrpCacheRowStatus\ncolumn, or they may be added dynamically based on\nprotocol operation (including NHRP, SCSP, and others,\nsuch as ATMARP).\n\nWhen created based by NHRP protocol operations\nthis entry is largely based on contents contained in\nthe Client Information Entry (CIE).\nZero or more Client Information Entries (CIEs) may be\nincluded in the NHRP Packet. For a complete description\nof the CIE, refer to Section 5.2.0.1 of\nRFC 2332 [17].") nhrpCacheInternetworkAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 1), AddressFamilyNumbers()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpCacheInternetworkAddrType.setDescription("The internetwork layer address type of this Next Hop\nResolution Cache entry. The value of this object indicates\nhow to interpret the values of nhrpCacheInternetworkAddr\nand nhrpCacheNextHopInternetworkAddr.") nhrpCacheInternetworkAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 2), NhrpGenAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpCacheInternetworkAddr.setDescription("The value of the internetwork address of the\ndestination.") nhrpCacheIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpCacheIndex.setDescription("An identifier for this entry that has local\nsignificance within the scope of the General\nGroup. This identifier is used here to\nuniquely identify this row, and also used\nin the 'nhrpPurgeTable' for the value of\nthe 'nhrpPurgeCacheIdentifier'.") nhrpCachePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpCachePrefixLength.setDescription("The number of bits that define the internetwork layer\nprefix associated with the nhrpCacheInternetworkAddr.") nhrpCacheNextHopInternetworkAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 5), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCacheNextHopInternetworkAddr.setDescription("The value of the internetwork address of the next hop.") nhrpCacheNbmaAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 6), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCacheNbmaAddrType.setDescription("The NBMA address type. The value of this\nobject indicates how to interpret\nthe values of nhrpCacheNbmaAddr and\nnhrpCacheNbmaSubaddr.") nhrpCacheNbmaAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 7), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCacheNbmaAddr.setDescription("The value of the NBMA subnetwork address of the next\nhop.") nhrpCacheNbmaSubaddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 8), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCacheNbmaSubaddr.setDescription("The value of the NBMA subaddress of the next hop. If\nthere is no subaddress concept for the NBMA address\nfamily, this value will be a zero-length OCTET STRING.") nhrpCacheType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(6,1,8,5,2,3,4,7,)).subtype(namedValues=NamedValues(("other", 1), ("register", 2), ("resolveAuthoritative", 3), ("resoveNonauthoritative", 4), ("transit", 5), ("administrativelyAdded", 6), ("atmarp", 7), ("scsp", 8), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCacheType.setDescription("An indication of how this cache entry\nwas created. The values are:\n\n'other(1)' The entry was added by some\n other means.\n\n'register(2)' In a server, added based on a\n client registration.\n\n'resolveAuthoritative(3)' In a client, added based on\n receiving an Authoritative\n NHRP Resolution Reply.\n'resolveNonauthoritative(4)' In a client, added based on\n receiving a Nonauthoritative\n NHRP Resolution Reply.\n\n'transit(5)' In a transit server, added by\n examining a forwarded NHRP\n packet.\n\n'administrativelyAdded(6)' In a client or server,\n manually added by the\n administrator. The\n StorageType of this entry is\n reflected in\n 'nhrpCacheStorageType'.\n\n'atmarp(7)' The entry was added due to an\n ATMARP.\n\n'scsp(8)' The entry was added due to\n SCSP.\n\n\nWhen the entry is under creation using the\nnhrpCacheRowStatus column, the only value that can be\nspecified by the administrator is 'administrativelyAdded'.\nAttempting to set any other value will cause an\n'inconsistentValue' error.\n\nThe value cannot be modified once the entry is active.") nhrpCacheState = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("incomplete", 1), ("ackReply", 2), ("nakReply", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpCacheState.setDescription("An indication of the state of this entry. The values are:\n\n'incomplete(1)' The client has sent a NHRP Resolution\n Request but has not yet received the\n NHRP Resolution Reply.\n'ackReply(2)' For a client or server, this is a\n cached valid mapping.\n\n'nakReply(3)' For a client or server, this is a\n cached NAK mapping.") nhrpCacheHoldingTimeValid = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpCacheHoldingTimeValid.setDescription("True(1) is returned if the value of\n'nhrpCacheType' is not\n'administrativelyAdded'. Since the\nvalue of 'nhrpCacheType' was not\nconfigured by a user, the value of\n'nhrpCacheHoldingTime' is\nconsidered valid. In other words, the value of\n'nhrpCacheHoldingTime' represents\nthe Holding Time for the cache Entry.\n\nIf 'nhrpCacheType has been configured by a\nuser, (i.e. the value of 'nhrpCacheType' is\n'administrativelyAdded') then false(2) will be returned.\nThis indicates that the value of\n'nhrpCacheHoldingTime' is undefined because this row\ncould possibly be backed up in nonvolatile storage.") nhrpCacheHoldingTime = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpCacheHoldingTime.setDescription("If the value of 'nhrpCacheHoldingTimeValid is\ntrue(1) then this object represents the number\nof seconds that the cache entry will remain in this\ntable. When this value reaches 0 (zero) the row should\nbe deleted.\n\nIf the value of 'nhrpCacheHoldingTimeValid is\nfalse(2) then this object is undefined.") nhrpCacheNegotiatedMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpCacheNegotiatedMtu.setDescription("The maximum transmission unit (MTU) that was negotiated\nor registered for this entity. In other words, this is the\nactual MTU being used.") nhrpCachePreference = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCachePreference.setDescription("An object which reflects the Preference value of the\nClient Information Entry (CIE).\n\nZero or more Client Information Entries (CIEs) may be\nincluded in the NHRP Packet. One of the fields in the\nCIE is the Preference. For a complete description of\nthe CIE, refer to Section 5.2.0.1 of RFC 2332 [17].") nhrpCacheStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 15), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCacheStorageType.setDescription("This value only has meaning when the 'nhrpCacheType'\nhas the value of 'administrativelyAdded'.\n\nWhen the row is created due to being\n'administrativelyAdded', this object reflects whether\nthis row is kept in volatile storage\nand lost upon reboot or if this row is backed up by\nnon-volatile or permanent storage.\n\nIf the value of 'nhrpCacheType' has a value which\nis not 'administrativelyAdded, then the value of this\nobject is 'other(1)'.") nhrpCacheRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 2, 1, 16), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpCacheRowStatus.setDescription("An object that allows entries in this table to be\ncreated and deleted using the RowStatus convention.") nhrpPurgeReqTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 1, 3)) if mibBuilder.loadTexts: nhrpPurgeReqTable.setDescription("This table will track Purge Request Information.") nhrpPurgeReqEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 1, 3, 1)).setIndexNames((0, "NHRP-MIB", "nhrpPurgeIndex")) if mibBuilder.loadTexts: nhrpPurgeReqEntry.setDescription("Information regarding a Purge Request.") nhrpPurgeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpPurgeIndex.setDescription("An index for this entry that has local significance\nwithin the scope of this table.") nhrpPurgeCacheIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpPurgeCacheIdentifier.setDescription("This object identifies which row in\n'nhrpCacheTable' is being purged. This object\nshould have the same value as the 'nhrpCacheIndex'\nin the 'nhrpCacheTable'.") nhrpPurgePrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpPurgePrefixLength.setDescription("In the case of NHRP Purge Requests, this specifies the\nequivalence class of addresses which match the first\n'Prefix Length' bit positions of the Client Protocol\nAddress specified in the Client Information Entry (CIE).") nhrpPurgeRequestID = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 3, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpPurgeRequestID.setDescription("The Request ID used in the purge request.") nhrpPurgeReplyExpected = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 3, 1, 5), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpPurgeReplyExpected.setDescription("An indication of whether this Purge Request has the\n'N' Bit cleared (off).") nhrpPurgeRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 1, 3, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpPurgeRowStatus.setDescription("An object that allows entries in this table to be\ncreated and deleted using the RowStatus convention.") nhrpClientObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 71, 1, 2)) nhrpClientTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 2, 1)) if mibBuilder.loadTexts: nhrpClientTable.setDescription("Information about NHRP clients (NHCs) managed by this\nagent.") nhrpClientEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1)).setIndexNames((0, "NHRP-MIB", "nhrpClientIndex")) if mibBuilder.loadTexts: nhrpClientEntry.setDescription("Information about a single NHC.") nhrpClientIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpClientIndex.setDescription("An identifier for the NHRP client that is unique within\nthe scope of this agent. The 'nhrpNextIndex' value\nshould be consulted (read), prior to creating a row in\nthis table, and the value returned from reading\n'nhrpNextIndex' should be used as this object's value.") nhrpClientInternetworkAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 2), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientInternetworkAddrType.setDescription("The type of the internetwork layer address of this\nclient. This object indicates how the value of\nnhrpClientInternetworkAddr is to be interpreted.") nhrpClientInternetworkAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 3), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientInternetworkAddr.setDescription("The value of the internetwork layer address of this\nclient.") nhrpClientNbmaAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 4), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNbmaAddrType.setDescription("The type of the NBMA subnetwork address of this client.\nThis object indicates how the values of\nnhrpClientNbmaAddr and nhrpClientNbmaSubaddr are to be\ninterpreted.") nhrpClientNbmaAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 5), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNbmaAddr.setDescription("The NBMA subnetwork address of this client.") nhrpClientNbmaSubaddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 6), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNbmaSubaddr.setDescription("The NBMA subaddress of this client. For NBMA address\nfamilies without a subaddress concept, this will be a\nzero-length OCTET STRING.") nhrpClientInitialRequestTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 900)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientInitialRequestTimeout.setDescription("The number of seconds that the client will wait before\ntiming out an NHRP initial request. This object only has\nmeaning for the initial timeout period.") nhrpClientRegistrationRequestRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientRegistrationRequestRetries.setDescription("The number of times the client will retry the\nregistration request before failure. A value of\n0 means don't retry. A value of 65535 means\nretry forever.") nhrpClientResolutionRequestRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientResolutionRequestRetries.setDescription("The number of times the client will retry the resolution\nrequest before failure. A value of 0 means don't retry.\nA value of 65535 means retry forever.") nhrpClientPurgeRequestRetries = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientPurgeRequestRetries.setDescription("The number of times the client will retry a purge request\nbefore failure. A value of 0 means don't retry. A value of\n65535 means retry forever.") nhrpClientDefaultMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(9180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientDefaultMtu.setDescription("The default maximum transmission unit (MTU) of the\nLIS/LAG which this client should use. This object\nwill be initialized by the agent to the default MTU\nof the LIS/LAG (which is 9180) unless a different MTU\nvalue is specified during creation of this Client.") nhrpClientHoldTime = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(900)).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientHoldTime.setDescription("The hold time the client will register.") nhrpClientRequestID = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 13), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientRequestID.setDescription("The Request ID used to register this client with its\nserver. According to Section 5.2.3 of the NHRP\nSpecification, RFC 2332 [17], the Request ID must\nbe kept in non-volatile storage, so that if an NHC\ncrashes and re-initializes, it will use a different\nRequest ID during the registration process\nwhen reregistering with the same NHS.") nhrpClientStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 14), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientStorageType.setDescription("This object defines whether this row is kept in\nvolatile storage and lost upon a Client crash or\nreboot situation, or if this row is backed up by\nnonvolatile or permanent storage.") nhrpClientRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 1, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientRowStatus.setDescription("An object that allows entries in this table to be\ncreated and deleted using the RowStatus convention.") nhrpClientRegistrationTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 2, 2)) if mibBuilder.loadTexts: nhrpClientRegistrationTable.setDescription("A table of Registration Request Information that\nneeds to be maintained by the NHCs (clients).") nhrpClientRegistrationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 2, 2, 1)).setIndexNames((0, "NHRP-MIB", "nhrpClientIndex"), (0, "NHRP-MIB", "nhrpClientRegIndex")) if mibBuilder.loadTexts: nhrpClientRegistrationEntry.setDescription("An NHC needs to maintain registration request information\nbetween the NHC and the NHS. An entry in this table\nrepresents information for a single registration request.") nhrpClientRegIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpClientRegIndex.setDescription("An identifier for this entry such that it\nidentifies a specific Registration Request from\nthe NHC represented by the nhrpClientIndex.") nhrpClientRegUniqueness = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("requestUnique", 1), ("requestNotUnique", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientRegUniqueness.setDescription("The Uniqueness indicator for this Registration Request.\nIf this object has the value of requestUnique(1), then\nthe Uniqueness bit is set in the the NHRP Registration\nRequest represented by this row. The value cannot\nbe changed once the row is created.") nhrpClientRegState = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("registering", 2), ("ackRegisterReply", 3), ("nakRegisterReply", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientRegState.setDescription("The registration state of this client. The values are:\n'other(1)' The state of the registration\n request is not one of\n 'registering',\n 'ackRegisterReply' or\n 'nakRegisterReply'.\n\n'registering(2)' A registration request has\n been issued and a registration\n reply is expected.\n\n'ackRegisterReply(3)' A positive registration reply\n has been received.\n\n'nakRegisterReply(4)' The client has received a\n negative registration\n reply (NAK).") nhrpClientRegRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientRegRowStatus.setDescription("An object that allows entries in this table to be\ncreated and deleted using the RowStatus convention.") nhrpClientNhsTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 2, 3)) if mibBuilder.loadTexts: nhrpClientNhsTable.setDescription("A table of NHSes that are available for use by this NHC\n(client). By default, the agent will add an entry to this\ntable that corresponds to the client's default router.") nhrpClientNhsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1)).setIndexNames((0, "NHRP-MIB", "nhrpClientIndex"), (0, "NHRP-MIB", "nhrpClientNhsIndex")) if mibBuilder.loadTexts: nhrpClientNhsEntry.setDescription("An NHS that may be used by an NHC.") nhrpClientNhsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpClientNhsIndex.setDescription("An identifier for an NHS available to an NHC.") nhrpClientNhsInternetworkAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 2), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNhsInternetworkAddrType.setDescription("The type of the internetwork layer address of the\nNHRP server represented in this entry. This object\nindicates how the value of\nnhrpClientNhsInternetworkAddr is to be interpreted.") nhrpClientNhsInternetworkAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 3), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNhsInternetworkAddr.setDescription("The value of the destination internetwork layer\naddress of the NHRP server represented by this\nentry. If this value is not known, this will be\na zero-length OCTET STRING.") nhrpClientNhsNbmaAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 4), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNhsNbmaAddrType.setDescription("The type of the NBMA subnetwork address of the NHRP\nServer represented by this entry. This object indicates\nhow the values of nhrpClientNhsNbmaAddr and\nnhrpClientNhsNbmaSubaddr are to be interpreted.") nhrpClientNhsNbmaAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 5), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNhsNbmaAddr.setDescription("The NBMA subnetwork address of the NHS. The type of\nthe address is indicated by the corresponding value of\nnhrpClientNhsNbmaAddrType.") nhrpClientNhsNbmaSubaddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 6), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNhsNbmaSubaddr.setDescription("The NBMA subaddress of the NHS. For NMBA address\nfamilies that do not have the concept of subaddress,\n this will be a zero-length OCTET STRING.") nhrpClientNhsInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientNhsInUse.setDescription("An indication of whether this NHS is in use by the NHC.") nhrpClientNhsRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 3, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpClientNhsRowStatus.setDescription("An object that allows entries in this table to be\ncreated and deleted using the RowStatus convention.") nhrpClientStatTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 2, 4)) if mibBuilder.loadTexts: nhrpClientStatTable.setDescription("This table contains statistics collected by NHRP\nclients.") nhrpClientStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1)).setIndexNames((0, "NHRP-MIB", "nhrpClientIndex")) if mibBuilder.loadTexts: nhrpClientStatEntry.setDescription("Statistics collected by a NHRP client.") nhrpClientStatTxResolveReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatTxResolveReq.setDescription("The number of NHRP Resolution Requests transmitted\nby this client.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxResolveReplyAck = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxResolveReplyAck.setDescription("The number of positively acknowledged NHRP Resolution\nReplies received by this client.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxResolveReplyNakProhibited = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxResolveReplyNakProhibited.setDescription("The number of NAKed NHRP Resolution Replies received\nby this client that contained the code indicating\n'Administratively Prohibited'.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxResolveReplyNakInsufResources = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxResolveReplyNakInsufResources.setDescription("The number of NAKed NHRP Resolution Replies received\nby this client that contained the code indicating\n'Insufficient Resources'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxResolveReplyNakNoBinding = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxResolveReplyNakNoBinding.setDescription("The number of NAKed NHRP Resolution Replies received\nby this client that contained the code indicating\n'No Internetworking Layer Address to NBMA Address\nBinding Exists'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxResolveReplyNakNotUnique = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxResolveReplyNakNotUnique.setDescription("The number of NAKed NHRP Resolution Replies received\nby this client that contained the code indicating\n'Binding Exists But Is Not Unique'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatTxRegisterReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatTxRegisterReq.setDescription("The number of NHRP Registration Requests transmitted\nby this client.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxRegisterAck = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxRegisterAck.setDescription("The number of positively acknowledged NHRP Registration\nReplies received by this client.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxRegisterNakProhibited = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxRegisterNakProhibited.setDescription("The number of NAKed NHRP Registration Replies received\nby this client that contained the code indicating\n'Administratively Prohibited'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxRegisterNakInsufResources = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxRegisterNakInsufResources.setDescription("The number of NAKed NHRP Registration Replies received\nby this client that contained the code indicating\n'Insufficient Resources'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxRegisterNakAlreadyReg = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxRegisterNakAlreadyReg.setDescription("The number of NAKed NHRP Registration Replies received\nby this client that contained the code indicating 'Unique\nInternetworking Layer Address Already Registered'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxPurgeReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxPurgeReq.setDescription("The number of NHRP Purge Requests received by this\nclient.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatTxPurgeReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatTxPurgeReq.setDescription("The number of NHRP Purge Requests transmitted by this\nclient.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxPurgeReply = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxPurgeReply.setDescription("The number of NHRP Purge Replies received by this\nclient.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatTxPurgeReply = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatTxPurgeReply.setDescription("The number of NHRP Purge Replies transmitted by this\nclient.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatTxErrorIndication = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatTxErrorIndication.setDescription("The number of NHRP Error Indication packets transmitted\nby this client.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrUnrecognizedExtension = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrUnrecognizedExtension.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code\n'Unrecognized Extension'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrLoopDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrLoopDetected.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code 'NHRP Loop Detected'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrProtoAddrUnreachable = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrProtoAddrUnreachable.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code 'Protocol Address\nUnreachable'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrProtoError = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrProtoError.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code 'Protocol Error'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrSduSizeExceeded = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrSduSizeExceeded.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code 'NHRP SDU Size\n\nExceeded'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrInvalidExtension = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrInvalidExtension.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code 'Invalid Extension'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrAuthenticationFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrAuthenticationFailure.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code 'Authentication\nFailure'.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatRxErrHopCountExceeded = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatRxErrHopCountExceeded.setDescription("The number of NHRP Error Indication packets received\nby this client with the error code 'Hop Count Exceeded'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Client re-initialization and at\nother times as indicated by the value of\nnhrpClientStatDiscontinuityTime.") nhrpClientStatDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 2, 4, 1, 25), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpClientStatDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich any one or more of this Client's counters\nsuffered a discontinuity. If no such discontinuities\nhave occurred since the last re-initialization of the\nlocal management subsystem or the NHRP Client\nre-initialization associated with this entry, then\nthis object contains a zero value.") nhrpServerObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 71, 1, 3)) nhrpServerTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 3, 1)) if mibBuilder.loadTexts: nhrpServerTable.setDescription("This table contains information for a set of NHSes\nassociated with this agent.") nhrpServerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1)).setIndexNames((0, "NHRP-MIB", "nhrpServerIndex")) if mibBuilder.loadTexts: nhrpServerEntry.setDescription("Information about a single NHS.") nhrpServerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpServerIndex.setDescription("An identifier for the server that is unique within the\nscope of this agent.") nhrpServerInternetworkAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 2), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerInternetworkAddrType.setDescription("The type of the internetwork layer address of this\nserver. This object is used to interpret the value of\nnhrpServerInternetworkAddr.") nhrpServerInternetworkAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 3), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerInternetworkAddr.setDescription("The value of the internetwork layer address of this\nserver.") nhrpServerNbmaAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 4), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNbmaAddrType.setDescription("The type of the NBMA subnetwork address of this server.\nThis object is used to interpret the value of\nnhrpServerNbmaAddr.") nhrpServerNbmaAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 5), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNbmaAddr.setDescription("The value of the NBMA subnetwork address of this\nserver.") nhrpServerNbmaSubaddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 6), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNbmaSubaddr.setDescription("The value of the NBMA subaddress of this server.\nFor NBMA address families without a subaddress\nconcept, this will be a zero-length OCTET STRING.") nhrpServerStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 7), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerStorageType.setDescription("This object defines whether this row is kept in\nvolatile storage and lost upon a Server crash or\nreboot situation, or if this row is backed up by\nnonvolatile or permanent storage.") nhrpServerRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 1, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerRowStatus.setDescription("An object that allows entries in this table to be\ncreated and deleted using the RowStatus convention.") nhrpServerCacheTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 3, 2)) if mibBuilder.loadTexts: nhrpServerCacheTable.setDescription("This table extends the nhrpCacheTable for\nNHSes. If the nhrpCacheTable has a row added due to\nan NHS or based on information regarding an NHS then\na row is also added in this table.\n\nThe rows in this table will be created when rows in\nthe nhrpCacheTable are created. However, there may\nbe rows created in the nhrpCacheTable which do not\nhave corresponding rows in this table. For example,\nif the nhrpCacheTable has a row added due to a Next\nHop Client which is co-resident on the same device\nas the NHS, a row will not be added to this table.") nhrpServerCacheEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 3, 2, 1)).setIndexNames((0, "NHRP-MIB", "nhrpCacheInternetworkAddrType"), (0, "NHRP-MIB", "nhrpCacheInternetworkAddr"), (0, "IF-MIB", "ifIndex"), (0, "NHRP-MIB", "nhrpCacheIndex")) if mibBuilder.loadTexts: nhrpServerCacheEntry.setDescription("Additional information kept by a NHS for a relevant\nNext Hop Resolution Cache entry.") nhrpServerCacheAuthoritative = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerCacheAuthoritative.setDescription("An indication of whether this cache entry is\nauthoritative, which means the entry was added because\nof a direct registration request with this server or\nby Server Cache Synchronization Protocol (SCSP) from\nan authoritative source.") nhrpServerCacheUniqueness = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 2, 1, 2), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerCacheUniqueness.setDescription("The Uniqueness indicator for this cache\nentry used in duplicate address detection. This value\ncannot be changed after the entry is active.") nhrpServerNhcTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 3, 3)) if mibBuilder.loadTexts: nhrpServerNhcTable.setDescription("A table of NHCs that are available for use by this NHS\n(Server).") nhrpServerNhcEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1)).setIndexNames((0, "NHRP-MIB", "nhrpServerIndex"), (0, "NHRP-MIB", "nhrpServerNhcIndex")) if mibBuilder.loadTexts: nhrpServerNhcEntry.setDescription("An NHC that may be used by an NHS.") nhrpServerNhcIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: nhrpServerNhcIndex.setDescription("An identifier for an NHC available to an NHS.") nhrpServerNhcPrefixLength = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNhcPrefixLength.setDescription("The number of bits that define the internetwork\nlayer prefix associated with the\nnhrpServerNhcInternetworkAddr.") nhrpServerNhcInternetworkAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 3), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNhcInternetworkAddrType.setDescription("The type of the internetwork layer address of the\nNHRP Client represented in this entry. This object\nindicates how the value of nhrpServerNhcInternetworkAddr\nis to be interpreted.") nhrpServerNhcInternetworkAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 4), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNhcInternetworkAddr.setDescription("The value of the internetwork layer address of\nthe NHRP Client represented by this entry. If this\nvalue is not known, this will be a zero-length\nOCTET STRING.") nhrpServerNhcNbmaAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 5), AddressFamilyNumbers()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNhcNbmaAddrType.setDescription("The type of the NBMA subnetwork address of the NHRP\nClient represented by this entry. This object indicates\nhow the values of nhrpServerNhcNbmaAddr and\nnhrpServerNhcNbmaSubaddr are to be interpreted.") nhrpServerNhcNbmaAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 6), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNhcNbmaAddr.setDescription("The NBMA subnetwork address of the NHC. The type of the\naddress is indicated by the corresponding value of\nnhrpServerNbmaAddrType.") nhrpServerNhcNbmaSubaddr = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 7), NhrpGenAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNhcNbmaSubaddr.setDescription("The NBMA subaddress of the NHC. For NMBA address familes\nthat do not have the concept of subaddress, this will\nbe a zero-length OCTET STRING.") nhrpServerNhcInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerNhcInUse.setDescription("An indication of whether this NHC is in use by the NHS.") nhrpServerNhcRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 3, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: nhrpServerNhcRowStatus.setDescription("An object that allows entries in this table to be\ncreated and deleted using the RowStatus convention.") nhrpServerStatTable = MibTable((1, 3, 6, 1, 2, 1, 71, 1, 3, 4)) if mibBuilder.loadTexts: nhrpServerStatTable.setDescription("Statistics collected by Next Hop Servers.") nhrpServerStatEntry = MibTableRow((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1)).setIndexNames((0, "NHRP-MIB", "nhrpServerIndex")) if mibBuilder.loadTexts: nhrpServerStatEntry.setDescription("Statistics for a particular NHS. The statistics are\nbroken into received (Rx), transmitted (Tx)\nand forwarded (Fw). Forwarded (Fw) would be done\nby a transit NHS.") nhrpServerStatRxResolveReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxResolveReq.setDescription("The number of NHRP Resolution Requests received by this\nserver.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxResolveReplyAck = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxResolveReplyAck.setDescription("The number of positively acknowledged NHRP\nResolution Replies transmitted by this server.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxResolveReplyNakProhibited = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxResolveReplyNakProhibited.setDescription("The number of NAKed NHRP Resolution Replies\ntransmitted by this server with the code\n'Administratively Prohibited'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxResolveReplyNakInsufResources = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxResolveReplyNakInsufResources.setDescription("The number of NAKed NHRP Resolution Replies\ntransmitted by this server with the code\n'Insufficient Resources'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxResolveReplyNakNoBinding = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxResolveReplyNakNoBinding.setDescription("The number of NAKed NHRP Resolution Replies\ntransmitted by this server with the code\n'No Internetworking Layer Address to NBMA\nAddress Binding Exists'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxResolveReplyNakNotUnique = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxResolveReplyNakNotUnique.setDescription("The number of NAKed NHRP Resolution Replies\ntransmitted by this server with the code\n'Binding Exists But Is Not Unique'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxRegisterReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxRegisterReq.setDescription("The number of NHRP Registration Requests received\nby this server.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxRegisterAck = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxRegisterAck.setDescription("The number of positively acknowledged NHRP Registration\nReplies transmitted by this server.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxRegisterNakProhibited = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxRegisterNakProhibited.setDescription("The number of NAKed NHRP Registration Replies\ntransmitted by this server with the code\n'Administratively Prohibited'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxRegisterNakInsufResources = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxRegisterNakInsufResources.setDescription("The number of NAKed NHRP Registration Replies\ntransmitted by this server with the code\n'Insufficient Resources'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxRegisterNakAlreadyReg = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxRegisterNakAlreadyReg.setDescription("The number of NAKed NHRP Registration Replies\ntransmitted by this server with the code\n'Unique Internetworking Layer Address Already\nRegistered'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxPurgeReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxPurgeReq.setDescription("The number of NHRP Purge Requests received by\nthis server.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxPurgeReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxPurgeReq.setDescription("The number of NHRP Purge Requests transmitted by this\nserver.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxPurgeReply = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxPurgeReply.setDescription("The number of NHRP Purge Replies received by this\nserver.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxPurgeReply = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxPurgeReply.setDescription("The number of NHRP Purge Replies transmitted by\nthis server.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrUnrecognizedExtension = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrUnrecognizedExtension.setDescription("The number of NHRP Error Indication packets received\nby this server with the error code\n\n'Unrecognized Extension'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrLoopDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrLoopDetected.setDescription("The number of NHRP Error Indication packets received\nby this server with the error code 'NHRP Loop Detected'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrProtoAddrUnreachable = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrProtoAddrUnreachable.setDescription("The number of NHRP Error Indication packets received\nby this server with the error code 'Protocol Address\nUnreachable'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrProtoError = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrProtoError.setDescription("The number of NHRP Error Indication packets received\nby this server with the error code 'Protocol Error'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrSduSizeExceeded = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrSduSizeExceeded.setDescription("The number of NHRP Error Indication packets received\nby this server with the error code 'NHRP SDU Size\nExceeded'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrInvalidExtension = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrInvalidExtension.setDescription("The number of NHRP Error Indication packets received\nby this server with the error code 'Invalid Extension'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrInvalidResReplyReceived = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrInvalidResReplyReceived.setDescription("The number of NHRP Error Indication packets received\nby this server with the error code 'Invalid Resolution\nReply Received'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrAuthenticationFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrAuthenticationFailure.setDescription("The number of NHRP Error Indication packets\nreceived by this server with the error code\n'Authentication Failure'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatRxErrHopCountExceeded = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatRxErrHopCountExceeded.setDescription("The number of NHRP Error Indication packets\nreceived by this server with the error code\n'Hop Count Exceeded'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrUnrecognizedExtension = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrUnrecognizedExtension.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error code\n'Unrecognized Extension'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrLoopDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrLoopDetected.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error code\n'NHRP Loop Detected'.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrProtoAddrUnreachable = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrProtoAddrUnreachable.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error code\n'Protocol Address Unreachable'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrProtoError = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrProtoError.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error\ncode 'Protocol Error'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrSduSizeExceeded = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrSduSizeExceeded.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error code\n'NHRP SDU Size Exceeded'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrInvalidExtension = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrInvalidExtension.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error code\n\n'Invalid Extension'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrAuthenticationFailure = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrAuthenticationFailure.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error code\n'Authentication Failure'.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatTxErrHopCountExceeded = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatTxErrHopCountExceeded.setDescription("The number of NHRP Error Indication packets\ntransmitted by this server with the error\ncode 'Hop Count Exceeded'.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatFwResolveReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatFwResolveReq.setDescription("The number of NHRP Resolution Requests\nforwarded by this server acting as a transit NHS.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatFwResolveReply = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatFwResolveReply.setDescription("The number of NHRP Resolution Replies forwarded\nby this server acting as a transit NHS.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatFwRegisterReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatFwRegisterReq.setDescription("The number of NHRP Registration Requests forwarded\nby this server acting as a transit NHS.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatFwRegisterReply = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatFwRegisterReply.setDescription("The number of NHRP Registration Replies forwarded\nby this server acting as a transit NHS.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatFwPurgeReq = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatFwPurgeReq.setDescription("The number of NHRP Purge Requests forwarded\nby this server acting as a transit NHS.\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatFwPurgeReply = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatFwPurgeReply.setDescription("The number of NHRP Purge Replies forwarded by this\nserver acting as a transit NHS.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatFwErrorIndication = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatFwErrorIndication.setDescription("The number of NHRP Error Indication packets forwarded\nby this server acting as a transit NHS.\n\nDiscontinuities in the value of this counter can occur\nat re-initialization of the management system, at\nNHRP Server re-initialization and at\nother times as indicated by the value of\nnhrpServerStatDiscontinuityTime.") nhrpServerStatDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 71, 1, 3, 4, 1, 40), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: nhrpServerStatDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich any one or more of this Server's counters\nsuffered a discontinuity. If no such discontinuities\nhave occurred since the last re-initialization of the\nlocal management subsystem or the NHRP Server\nre-initialization associated with this entry, then\nthis object contains a zero value.") nhrpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 71, 2)) nhrpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 71, 2, 1)) nhrpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 71, 2, 2)) # Augmentions # Groups nhrpGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 71, 2, 2, 1)).setObjects(*(("NHRP-MIB", "nhrpCacheNegotiatedMtu"), ("NHRP-MIB", "nhrpPurgeCacheIdentifier"), ("NHRP-MIB", "nhrpPurgeReplyExpected"), ("NHRP-MIB", "nhrpCachePreference"), ("NHRP-MIB", "nhrpCachePrefixLength"), ("NHRP-MIB", "nhrpCacheNbmaAddrType"), ("NHRP-MIB", "nhrpPurgeRowStatus"), ("NHRP-MIB", "nhrpCacheState"), ("NHRP-MIB", "nhrpCacheNbmaAddr"), ("NHRP-MIB", "nhrpPurgeRequestID"), ("NHRP-MIB", "nhrpCacheNextHopInternetworkAddr"), ("NHRP-MIB", "nhrpCacheHoldingTime"), ("NHRP-MIB", "nhrpCacheStorageType"), ("NHRP-MIB", "nhrpCacheRowStatus"), ("NHRP-MIB", "nhrpCacheType"), ("NHRP-MIB", "nhrpPurgePrefixLength"), ("NHRP-MIB", "nhrpCacheHoldingTimeValid"), ("NHRP-MIB", "nhrpNextIndex"), ("NHRP-MIB", "nhrpCacheNbmaSubaddr"), ) ) if mibBuilder.loadTexts: nhrpGeneralGroup.setDescription("Objects that apply to both NHRP clients and NHRP\nservers.") nhrpClientGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 71, 2, 2, 2)).setObjects(*(("NHRP-MIB", "nhrpClientStatRxRegisterNakProhibited"), ("NHRP-MIB", "nhrpClientStatRxErrUnrecognizedExtension"), ("NHRP-MIB", "nhrpClientStatTxRegisterReq"), ("NHRP-MIB", "nhrpClientRegistrationRequestRetries"), ("NHRP-MIB", "nhrpClientNbmaSubaddr"), ("NHRP-MIB", "nhrpClientStatRxRegisterAck"), ("NHRP-MIB", "nhrpClientStatTxPurgeReply"), ("NHRP-MIB", "nhrpClientRegState"), ("NHRP-MIB", "nhrpClientStatRxPurgeReq"), ("NHRP-MIB", "nhrpClientInitialRequestTimeout"), ("NHRP-MIB", "nhrpClientStatRxRegisterNakInsufResources"), ("NHRP-MIB", "nhrpClientDefaultMtu"), ("NHRP-MIB", "nhrpClientStatRxErrLoopDetected"), ("NHRP-MIB", "nhrpClientStatRxErrSduSizeExceeded"), ("NHRP-MIB", "nhrpClientStatRxResolveReplyNakNoBinding"), ("NHRP-MIB", "nhrpClientStorageType"), ("NHRP-MIB", "nhrpClientNbmaAddrType"), ("NHRP-MIB", "nhrpClientRequestID"), ("NHRP-MIB", "nhrpClientStatTxErrorIndication"), ("NHRP-MIB", "nhrpClientNhsRowStatus"), ("NHRP-MIB", "nhrpClientHoldTime"), ("NHRP-MIB", "nhrpClientStatRxErrAuthenticationFailure"), ("NHRP-MIB", "nhrpClientNhsInUse"), ("NHRP-MIB", "nhrpClientStatRxErrInvalidExtension"), ("NHRP-MIB", "nhrpClientStatRxErrHopCountExceeded"), ("NHRP-MIB", "nhrpClientNhsNbmaAddrType"), ("NHRP-MIB", "nhrpClientStatRxResolveReplyNakProhibited"), ("NHRP-MIB", "nhrpClientStatRxErrProtoAddrUnreachable"), ("NHRP-MIB", "nhrpClientStatRxResolveReplyNakInsufResources"), ("NHRP-MIB", "nhrpClientStatRxRegisterNakAlreadyReg"), ("NHRP-MIB", "nhrpClientRegUniqueness"), ("NHRP-MIB", "nhrpClientRegRowStatus"), ("NHRP-MIB", "nhrpClientResolutionRequestRetries"), ("NHRP-MIB", "nhrpClientStatTxPurgeReq"), ("NHRP-MIB", "nhrpClientNhsNbmaSubaddr"), ("NHRP-MIB", "nhrpClientStatDiscontinuityTime"), ("NHRP-MIB", "nhrpClientNhsInternetworkAddr"), ("NHRP-MIB", "nhrpClientStatRxResolveReplyNakNotUnique"), ("NHRP-MIB", "nhrpClientInternetworkAddrType"), ("NHRP-MIB", "nhrpClientPurgeRequestRetries"), ("NHRP-MIB", "nhrpClientStatRxPurgeReply"), ("NHRP-MIB", "nhrpClientStatRxErrProtoError"), ("NHRP-MIB", "nhrpClientInternetworkAddr"), ("NHRP-MIB", "nhrpClientNhsNbmaAddr"), ("NHRP-MIB", "nhrpClientNbmaAddr"), ("NHRP-MIB", "nhrpClientStatTxResolveReq"), ("NHRP-MIB", "nhrpClientNhsInternetworkAddrType"), ("NHRP-MIB", "nhrpClientStatRxResolveReplyAck"), ("NHRP-MIB", "nhrpClientRowStatus"), ) ) if mibBuilder.loadTexts: nhrpClientGroup.setDescription("Objects that apply only to NHRP clients.") nhrpServerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 71, 2, 2, 3)).setObjects(*(("NHRP-MIB", "nhrpServerStatRxErrSduSizeExceeded"), ("NHRP-MIB", "nhrpServerNhcNbmaSubaddr"), ("NHRP-MIB", "nhrpServerStatFwPurgeReply"), ("NHRP-MIB", "nhrpServerCacheUniqueness"), ("NHRP-MIB", "nhrpServerNhcInternetworkAddr"), ("NHRP-MIB", "nhrpServerNbmaAddr"), ("NHRP-MIB", "nhrpServerStatFwRegisterReply"), ("NHRP-MIB", "nhrpServerNhcInternetworkAddrType"), ("NHRP-MIB", "nhrpServerStatTxResolveReplyNakProhibited"), ("NHRP-MIB", "nhrpServerStatTxResolveReplyNakNotUnique"), ("NHRP-MIB", "nhrpServerStatTxResolveReplyAck"), ("NHRP-MIB", "nhrpServerStatTxRegisterNakProhibited"), ("NHRP-MIB", "nhrpServerStatRxErrProtoError"), ("NHRP-MIB", "nhrpServerStatTxPurgeReq"), ("NHRP-MIB", "nhrpServerStatRxErrUnrecognizedExtension"), ("NHRP-MIB", "nhrpServerNhcPrefixLength"), ("NHRP-MIB", "nhrpServerStatRxErrHopCountExceeded"), ("NHRP-MIB", "nhrpServerStatFwResolveReply"), ("NHRP-MIB", "nhrpServerStatTxPurgeReply"), ("NHRP-MIB", "nhrpServerStatRxErrLoopDetected"), ("NHRP-MIB", "nhrpServerNbmaAddrType"), ("NHRP-MIB", "nhrpServerStatFwErrorIndication"), ("NHRP-MIB", "nhrpServerNhcNbmaAddrType"), ("NHRP-MIB", "nhrpServerStatTxRegisterAck"), ("NHRP-MIB", "nhrpServerStatTxErrHopCountExceeded"), ("NHRP-MIB", "nhrpServerStorageType"), ("NHRP-MIB", "nhrpServerStatTxErrAuthenticationFailure"), ("NHRP-MIB", "nhrpServerStatTxErrProtoError"), ("NHRP-MIB", "nhrpServerStatRxErrInvalidExtension"), ("NHRP-MIB", "nhrpServerInternetworkAddrType"), ("NHRP-MIB", "nhrpServerNhcInUse"), ("NHRP-MIB", "nhrpServerInternetworkAddr"), ("NHRP-MIB", "nhrpServerNbmaSubaddr"), ("NHRP-MIB", "nhrpServerStatTxResolveReplyNakInsufResources"), ("NHRP-MIB", "nhrpServerStatRxRegisterReq"), ("NHRP-MIB", "nhrpServerStatTxErrUnrecognizedExtension"), ("NHRP-MIB", "nhrpServerStatRxResolveReq"), ("NHRP-MIB", "nhrpServerStatTxErrProtoAddrUnreachable"), ("NHRP-MIB", "nhrpServerStatFwResolveReq"), ("NHRP-MIB", "nhrpServerCacheAuthoritative"), ("NHRP-MIB", "nhrpServerStatTxResolveReplyNakNoBinding"), ("NHRP-MIB", "nhrpServerStatTxErrLoopDetected"), ("NHRP-MIB", "nhrpServerRowStatus"), ("NHRP-MIB", "nhrpServerStatTxErrInvalidExtension"), ("NHRP-MIB", "nhrpServerStatRxErrAuthenticationFailure"), ("NHRP-MIB", "nhrpServerStatRxPurgeReq"), ("NHRP-MIB", "nhrpServerStatRxPurgeReply"), ("NHRP-MIB", "nhrpServerStatDiscontinuityTime"), ("NHRP-MIB", "nhrpServerStatTxRegisterNakAlreadyReg"), ("NHRP-MIB", "nhrpServerNhcRowStatus"), ("NHRP-MIB", "nhrpServerNhcNbmaAddr"), ("NHRP-MIB", "nhrpServerStatRxErrProtoAddrUnreachable"), ("NHRP-MIB", "nhrpServerStatRxErrInvalidResReplyReceived"), ("NHRP-MIB", "nhrpServerStatFwRegisterReq"), ("NHRP-MIB", "nhrpServerStatFwPurgeReq"), ("NHRP-MIB", "nhrpServerStatTxRegisterNakInsufResources"), ("NHRP-MIB", "nhrpServerStatTxErrSduSizeExceeded"), ) ) if mibBuilder.loadTexts: nhrpServerGroup.setDescription("Objects that apply only to NHRP servers.") # Compliances nhrpModuleCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 71, 2, 1, 1)).setObjects(*(("NHRP-MIB", "nhrpClientGroup"), ("NHRP-MIB", "nhrpGeneralGroup"), ("NHRP-MIB", "nhrpServerGroup"), ) ) if mibBuilder.loadTexts: nhrpModuleCompliance.setDescription("The compliance statement for the NHRP MIB.") # Exports # Module identity mibBuilder.exportSymbols("NHRP-MIB", PYSNMP_MODULE_ID=nhrpMIB) # Types mibBuilder.exportSymbols("NHRP-MIB", NhrpGenAddr=NhrpGenAddr) # Objects mibBuilder.exportSymbols("NHRP-MIB", nhrpMIB=nhrpMIB, nhrpObjects=nhrpObjects, nhrpGeneralObjects=nhrpGeneralObjects, nhrpNextIndex=nhrpNextIndex, nhrpCacheTable=nhrpCacheTable, nhrpCacheEntry=nhrpCacheEntry, nhrpCacheInternetworkAddrType=nhrpCacheInternetworkAddrType, nhrpCacheInternetworkAddr=nhrpCacheInternetworkAddr, nhrpCacheIndex=nhrpCacheIndex, nhrpCachePrefixLength=nhrpCachePrefixLength, nhrpCacheNextHopInternetworkAddr=nhrpCacheNextHopInternetworkAddr, nhrpCacheNbmaAddrType=nhrpCacheNbmaAddrType, nhrpCacheNbmaAddr=nhrpCacheNbmaAddr, nhrpCacheNbmaSubaddr=nhrpCacheNbmaSubaddr, nhrpCacheType=nhrpCacheType, nhrpCacheState=nhrpCacheState, nhrpCacheHoldingTimeValid=nhrpCacheHoldingTimeValid, nhrpCacheHoldingTime=nhrpCacheHoldingTime, nhrpCacheNegotiatedMtu=nhrpCacheNegotiatedMtu, nhrpCachePreference=nhrpCachePreference, nhrpCacheStorageType=nhrpCacheStorageType, nhrpCacheRowStatus=nhrpCacheRowStatus, nhrpPurgeReqTable=nhrpPurgeReqTable, nhrpPurgeReqEntry=nhrpPurgeReqEntry, nhrpPurgeIndex=nhrpPurgeIndex, nhrpPurgeCacheIdentifier=nhrpPurgeCacheIdentifier, nhrpPurgePrefixLength=nhrpPurgePrefixLength, nhrpPurgeRequestID=nhrpPurgeRequestID, nhrpPurgeReplyExpected=nhrpPurgeReplyExpected, nhrpPurgeRowStatus=nhrpPurgeRowStatus, nhrpClientObjects=nhrpClientObjects, nhrpClientTable=nhrpClientTable, nhrpClientEntry=nhrpClientEntry, nhrpClientIndex=nhrpClientIndex, nhrpClientInternetworkAddrType=nhrpClientInternetworkAddrType, nhrpClientInternetworkAddr=nhrpClientInternetworkAddr, nhrpClientNbmaAddrType=nhrpClientNbmaAddrType, nhrpClientNbmaAddr=nhrpClientNbmaAddr, nhrpClientNbmaSubaddr=nhrpClientNbmaSubaddr, nhrpClientInitialRequestTimeout=nhrpClientInitialRequestTimeout, nhrpClientRegistrationRequestRetries=nhrpClientRegistrationRequestRetries, nhrpClientResolutionRequestRetries=nhrpClientResolutionRequestRetries, nhrpClientPurgeRequestRetries=nhrpClientPurgeRequestRetries, nhrpClientDefaultMtu=nhrpClientDefaultMtu, nhrpClientHoldTime=nhrpClientHoldTime, nhrpClientRequestID=nhrpClientRequestID, nhrpClientStorageType=nhrpClientStorageType, nhrpClientRowStatus=nhrpClientRowStatus, nhrpClientRegistrationTable=nhrpClientRegistrationTable, nhrpClientRegistrationEntry=nhrpClientRegistrationEntry, nhrpClientRegIndex=nhrpClientRegIndex, nhrpClientRegUniqueness=nhrpClientRegUniqueness, nhrpClientRegState=nhrpClientRegState, nhrpClientRegRowStatus=nhrpClientRegRowStatus, nhrpClientNhsTable=nhrpClientNhsTable, nhrpClientNhsEntry=nhrpClientNhsEntry, nhrpClientNhsIndex=nhrpClientNhsIndex, nhrpClientNhsInternetworkAddrType=nhrpClientNhsInternetworkAddrType, nhrpClientNhsInternetworkAddr=nhrpClientNhsInternetworkAddr, nhrpClientNhsNbmaAddrType=nhrpClientNhsNbmaAddrType, nhrpClientNhsNbmaAddr=nhrpClientNhsNbmaAddr, nhrpClientNhsNbmaSubaddr=nhrpClientNhsNbmaSubaddr, nhrpClientNhsInUse=nhrpClientNhsInUse, nhrpClientNhsRowStatus=nhrpClientNhsRowStatus, nhrpClientStatTable=nhrpClientStatTable, nhrpClientStatEntry=nhrpClientStatEntry, nhrpClientStatTxResolveReq=nhrpClientStatTxResolveReq, nhrpClientStatRxResolveReplyAck=nhrpClientStatRxResolveReplyAck, nhrpClientStatRxResolveReplyNakProhibited=nhrpClientStatRxResolveReplyNakProhibited, nhrpClientStatRxResolveReplyNakInsufResources=nhrpClientStatRxResolveReplyNakInsufResources, nhrpClientStatRxResolveReplyNakNoBinding=nhrpClientStatRxResolveReplyNakNoBinding, nhrpClientStatRxResolveReplyNakNotUnique=nhrpClientStatRxResolveReplyNakNotUnique, nhrpClientStatTxRegisterReq=nhrpClientStatTxRegisterReq, nhrpClientStatRxRegisterAck=nhrpClientStatRxRegisterAck, nhrpClientStatRxRegisterNakProhibited=nhrpClientStatRxRegisterNakProhibited, nhrpClientStatRxRegisterNakInsufResources=nhrpClientStatRxRegisterNakInsufResources, nhrpClientStatRxRegisterNakAlreadyReg=nhrpClientStatRxRegisterNakAlreadyReg, nhrpClientStatRxPurgeReq=nhrpClientStatRxPurgeReq, nhrpClientStatTxPurgeReq=nhrpClientStatTxPurgeReq, nhrpClientStatRxPurgeReply=nhrpClientStatRxPurgeReply, nhrpClientStatTxPurgeReply=nhrpClientStatTxPurgeReply, nhrpClientStatTxErrorIndication=nhrpClientStatTxErrorIndication, nhrpClientStatRxErrUnrecognizedExtension=nhrpClientStatRxErrUnrecognizedExtension, nhrpClientStatRxErrLoopDetected=nhrpClientStatRxErrLoopDetected, nhrpClientStatRxErrProtoAddrUnreachable=nhrpClientStatRxErrProtoAddrUnreachable, nhrpClientStatRxErrProtoError=nhrpClientStatRxErrProtoError, nhrpClientStatRxErrSduSizeExceeded=nhrpClientStatRxErrSduSizeExceeded, nhrpClientStatRxErrInvalidExtension=nhrpClientStatRxErrInvalidExtension, nhrpClientStatRxErrAuthenticationFailure=nhrpClientStatRxErrAuthenticationFailure, nhrpClientStatRxErrHopCountExceeded=nhrpClientStatRxErrHopCountExceeded, nhrpClientStatDiscontinuityTime=nhrpClientStatDiscontinuityTime, nhrpServerObjects=nhrpServerObjects, nhrpServerTable=nhrpServerTable, nhrpServerEntry=nhrpServerEntry, nhrpServerIndex=nhrpServerIndex, nhrpServerInternetworkAddrType=nhrpServerInternetworkAddrType, nhrpServerInternetworkAddr=nhrpServerInternetworkAddr, nhrpServerNbmaAddrType=nhrpServerNbmaAddrType, nhrpServerNbmaAddr=nhrpServerNbmaAddr, nhrpServerNbmaSubaddr=nhrpServerNbmaSubaddr, nhrpServerStorageType=nhrpServerStorageType, nhrpServerRowStatus=nhrpServerRowStatus, nhrpServerCacheTable=nhrpServerCacheTable, nhrpServerCacheEntry=nhrpServerCacheEntry, nhrpServerCacheAuthoritative=nhrpServerCacheAuthoritative, nhrpServerCacheUniqueness=nhrpServerCacheUniqueness, nhrpServerNhcTable=nhrpServerNhcTable, nhrpServerNhcEntry=nhrpServerNhcEntry, nhrpServerNhcIndex=nhrpServerNhcIndex, nhrpServerNhcPrefixLength=nhrpServerNhcPrefixLength, nhrpServerNhcInternetworkAddrType=nhrpServerNhcInternetworkAddrType, nhrpServerNhcInternetworkAddr=nhrpServerNhcInternetworkAddr, nhrpServerNhcNbmaAddrType=nhrpServerNhcNbmaAddrType, nhrpServerNhcNbmaAddr=nhrpServerNhcNbmaAddr, nhrpServerNhcNbmaSubaddr=nhrpServerNhcNbmaSubaddr, nhrpServerNhcInUse=nhrpServerNhcInUse, nhrpServerNhcRowStatus=nhrpServerNhcRowStatus, nhrpServerStatTable=nhrpServerStatTable, nhrpServerStatEntry=nhrpServerStatEntry, nhrpServerStatRxResolveReq=nhrpServerStatRxResolveReq, nhrpServerStatTxResolveReplyAck=nhrpServerStatTxResolveReplyAck, nhrpServerStatTxResolveReplyNakProhibited=nhrpServerStatTxResolveReplyNakProhibited, nhrpServerStatTxResolveReplyNakInsufResources=nhrpServerStatTxResolveReplyNakInsufResources, nhrpServerStatTxResolveReplyNakNoBinding=nhrpServerStatTxResolveReplyNakNoBinding, nhrpServerStatTxResolveReplyNakNotUnique=nhrpServerStatTxResolveReplyNakNotUnique, nhrpServerStatRxRegisterReq=nhrpServerStatRxRegisterReq) mibBuilder.exportSymbols("NHRP-MIB", nhrpServerStatTxRegisterAck=nhrpServerStatTxRegisterAck, nhrpServerStatTxRegisterNakProhibited=nhrpServerStatTxRegisterNakProhibited, nhrpServerStatTxRegisterNakInsufResources=nhrpServerStatTxRegisterNakInsufResources, nhrpServerStatTxRegisterNakAlreadyReg=nhrpServerStatTxRegisterNakAlreadyReg, nhrpServerStatRxPurgeReq=nhrpServerStatRxPurgeReq, nhrpServerStatTxPurgeReq=nhrpServerStatTxPurgeReq, nhrpServerStatRxPurgeReply=nhrpServerStatRxPurgeReply, nhrpServerStatTxPurgeReply=nhrpServerStatTxPurgeReply, nhrpServerStatRxErrUnrecognizedExtension=nhrpServerStatRxErrUnrecognizedExtension, nhrpServerStatRxErrLoopDetected=nhrpServerStatRxErrLoopDetected, nhrpServerStatRxErrProtoAddrUnreachable=nhrpServerStatRxErrProtoAddrUnreachable, nhrpServerStatRxErrProtoError=nhrpServerStatRxErrProtoError, nhrpServerStatRxErrSduSizeExceeded=nhrpServerStatRxErrSduSizeExceeded, nhrpServerStatRxErrInvalidExtension=nhrpServerStatRxErrInvalidExtension, nhrpServerStatRxErrInvalidResReplyReceived=nhrpServerStatRxErrInvalidResReplyReceived, nhrpServerStatRxErrAuthenticationFailure=nhrpServerStatRxErrAuthenticationFailure, nhrpServerStatRxErrHopCountExceeded=nhrpServerStatRxErrHopCountExceeded, nhrpServerStatTxErrUnrecognizedExtension=nhrpServerStatTxErrUnrecognizedExtension, nhrpServerStatTxErrLoopDetected=nhrpServerStatTxErrLoopDetected, nhrpServerStatTxErrProtoAddrUnreachable=nhrpServerStatTxErrProtoAddrUnreachable, nhrpServerStatTxErrProtoError=nhrpServerStatTxErrProtoError, nhrpServerStatTxErrSduSizeExceeded=nhrpServerStatTxErrSduSizeExceeded, nhrpServerStatTxErrInvalidExtension=nhrpServerStatTxErrInvalidExtension, nhrpServerStatTxErrAuthenticationFailure=nhrpServerStatTxErrAuthenticationFailure, nhrpServerStatTxErrHopCountExceeded=nhrpServerStatTxErrHopCountExceeded, nhrpServerStatFwResolveReq=nhrpServerStatFwResolveReq, nhrpServerStatFwResolveReply=nhrpServerStatFwResolveReply, nhrpServerStatFwRegisterReq=nhrpServerStatFwRegisterReq, nhrpServerStatFwRegisterReply=nhrpServerStatFwRegisterReply, nhrpServerStatFwPurgeReq=nhrpServerStatFwPurgeReq, nhrpServerStatFwPurgeReply=nhrpServerStatFwPurgeReply, nhrpServerStatFwErrorIndication=nhrpServerStatFwErrorIndication, nhrpServerStatDiscontinuityTime=nhrpServerStatDiscontinuityTime, nhrpConformance=nhrpConformance, nhrpCompliances=nhrpCompliances, nhrpGroups=nhrpGroups) # Groups mibBuilder.exportSymbols("NHRP-MIB", nhrpGeneralGroup=nhrpGeneralGroup, nhrpClientGroup=nhrpClientGroup, nhrpServerGroup=nhrpServerGroup) # Compliances mibBuilder.exportSymbols("NHRP-MIB", nhrpModuleCompliance=nhrpModuleCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-FINISHER-MIB.py0000644000014400001440000001633211736645136021357 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-FINISHER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:05 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class FinAttributeTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,15,13,82,20,162,81,31,19,80,50,8,10,17,83,40,160,14,100,5,16,12,9,7,18,161,130,11,4,1,30,6,) namedValues = NamedValues(("other", 1), ("finReferenceEdge", 10), ("slittingType", 100), ("finAxisOffset", 11), ("finJogEdge", 12), ("finHeadLocation", 13), ("wrappingType", 130), ("finOperationRestrictions", 14), ("finNumberOfPositions", 15), ("namedConfiguration", 16), ("stackOutputType", 160), ("stackOffset", 161), ("stackRotation", 162), ("finMediaTypeRestriction", 17), ("finPrinterInputTraySupported", 18), ("finPreviousFinishingOperation", 19), ("finNextFinishingOperation", 20), ("deviceName", 3), ("stitchingType", 30), ("stitchingDirection", 31), ("deviceVendorName", 4), ("foldingType", 40), ("deviceModel", 5), ("bindingType", 50), ("deviceVersion", 6), ("deviceSerialNumber", 7), ("maximumSheets", 8), ("punchHoleType", 80), ("punchHoleSizeLongDim", 81), ("punchHoleSizeShortDim", 82), ("punchPattern", 83), ("finProcessOffsetUnits", 9), ) class FinBindingTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(6,11,10,7,9,2,8,5,1,4,) namedValues = NamedValues(("other", 1), ("comb", 10), ("padding", 11), ("unknown", 2), ("tape", 4), ("plastic", 5), ("velo", 6), ("perfect", 7), ("spiral", 8), ("adhesive", 9), ) class FinDeviceTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(10,8,11,15,2,18,6,17,7,9,16,5,1,13,4,12,14,3,) namedValues = NamedValues(("other", 1), ("slitter", 10), ("separationCutter", 11), ("imprinter", 12), ("wrapper", 13), ("bander", 14), ("makeEnvelope", 15), ("stacker", 16), ("sheetRotator", 17), ("inserter", 18), ("unknown", 2), ("stitcher", 3), ("folder", 4), ("binder", 5), ("trimmer", 6), ("dieCutter", 7), ("puncher", 8), ("perforater", 9), ) class FinEdgeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,5,6,3,) namedValues = NamedValues(("topEdge", 3), ("bottomEdge", 4), ("leftEdge", 5), ("rightEdge", 6), ) class FinFoldingTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,1,2,3,5,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("zFold", 3), ("halfFold", 4), ("letterFold", 5), ) class FinPunchHoleTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,5,2,6,7,3,4,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("round", 3), ("oblong", 4), ("square", 5), ("rectangular", 6), ("star", 7), ) class FinPunchPatternTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,10,16,13,7,2,6,9,14,12,8,1,17,11,5,15,18,) namedValues = NamedValues(("other", 1), ("twoHoleMetric", 10), ("swedish4Hole", 11), ("twoHoleUSSide", 12), ("fiveHoleUS", 13), ("sevenHoleUS", 14), ("mixed7H4S", 15), ("norweg6Hole", 16), ("metric26Hole", 17), ("metric30Hole", 18), ("unknown", 2), ("twoHoleUSTop", 4), ("threeHoleUS", 5), ("twoHoleDIN", 6), ("fourHoleDIN", 7), ("twentyTwoHoleUS", 8), ("nineteenHoleUS", 9), ) class FinSlittingTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,4,1,5,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("slitAndSeparate", 4), ("slitAndMerge", 5), ) class FinStackOutputTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,6,2,4,5,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("straight", 4), ("offset", 5), ("crissCross", 6), ) class FinStitchingAngleTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,2,5,3,) namedValues = NamedValues(("unknown", 2), ("horizontal", 3), ("vertical", 4), ("slanted", 5), ) class FinStitchingDirTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,3,4,) namedValues = NamedValues(("unknown", 2), ("topDown", 3), ("bottomUp", 4), ) class FinStitchingTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,8,9,6,5,10,2,1,7,) namedValues = NamedValues(("other", 1), ("stapleDual", 10), ("unknown", 2), ("stapleTopLeft", 4), ("stapleBottomLeft", 5), ("stapleTopRight", 6), ("stapleBottomRight", 7), ("saddleStitch", 8), ("edgeStitch", 9), ) class FinWrappingTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,5,1,4,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("shrinkWrap", 4), ("paperWrap", 5), ) # Objects ianafinisherMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 110)).setRevisions(("2004-06-02 00:00",)) if mibBuilder.loadTexts: ianafinisherMIB.setOrganization("IANA") if mibBuilder.loadTexts: ianafinisherMIB.setContactInfo("Internet Assigned Numbers Authority\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianafinisherMIB.setDescription("This MIB module defines a set of finishing-related\nTEXTUAL-CONVENTIONs for use in Finisher MIB (RFC 3806)\nand other MIBs which need to specify finishing\nmechanism details.\n\nAny additions or changes to the contents of this MIB\nmodule require either publication of an RFC, or\nDesignated Expert Review as defined in RFC 2434,\nGuidelines for Writing an IANA Considerations Section\nin RFCs. The Designated Expert will be selected by\nthe IESG Area Director(s) of the Applications Area.\n\nCopyright (C) The Internet Society (2004). The\n\ninitial version of this MIB module was published\nin RFC 3806. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-FINISHER-MIB", PYSNMP_MODULE_ID=ianafinisherMIB) # Types mibBuilder.exportSymbols("IANA-FINISHER-MIB", FinAttributeTypeTC=FinAttributeTypeTC, FinBindingTypeTC=FinBindingTypeTC, FinDeviceTypeTC=FinDeviceTypeTC, FinEdgeTC=FinEdgeTC, FinFoldingTypeTC=FinFoldingTypeTC, FinPunchHoleTypeTC=FinPunchHoleTypeTC, FinPunchPatternTC=FinPunchPatternTC, FinSlittingTypeTC=FinSlittingTypeTC, FinStackOutputTypeTC=FinStackOutputTypeTC, FinStitchingAngleTypeTC=FinStitchingAngleTypeTC, FinStitchingDirTypeTC=FinStitchingDirTypeTC, FinStitchingTypeTC=FinStitchingTypeTC, FinWrappingTypeTC=FinWrappingTypeTC) # Objects mibBuilder.exportSymbols("IANA-FINISHER-MIB", ianafinisherMIB=ianafinisherMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/TOKEN-RING-RMON-MIB.py0000644000014400001440000022471211736645141021627 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TOKEN-RING-RMON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:46 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( EntryStatus, OwnerString, history, rmon, statistics, ) = mibBuilder.importSymbols("RFC1271-MIB", "EntryStatus", "OwnerString", "history", "rmon", "statistics") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks") # Types class MacAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(6,6) fixedLength = 6 class TimeInterval(Integer32): pass # Objects tokenRingMLStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 2)) if mibBuilder.loadTexts: tokenRingMLStatsTable.setDescription("A list of Mac-Layer Token Ring statistics\nentries.") tokenRingMLStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 2, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "tokenRingMLStatsIndex")) if mibBuilder.loadTexts: tokenRingMLStatsEntry.setDescription("A collection of Mac-Layer statistics kept for a\nparticular Token Ring interface.") tokenRingMLStatsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsIndex.setDescription("The value of this object uniquely identifies this\ntokenRingMLStats entry.") tokenRingMLStatsDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenRingMLStatsDataSource.setDescription("This object identifies the source of the data\nthat this tokenRingMLStats entry is configured to\nanalyze. This source can be any tokenRing\ninterface on this device. In order to identify a\nparticular interface, this object shall identify\nthe instance of the ifIndex object, defined in\nMIB-II [3], for the desired interface. For\nexample, if an entry were to receive data from\ninterface #1, this object would be set to\nifIndex.1.\n\nThe statistics in this group reflect all error\nreports on the local network segment attached to\nthe identified interface.\n\nThis object may not be modified if the associated\ntokenRingMLStatsStatus object is equal to\nvalid(1).") tokenRingMLStatsDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsDropEvents.setDescription("The total number of events in which packets were\ndropped by the probe due to lack of resources.\nNote that this number is not necessarily the\nnumber of packets dropped; it is just the number\nof times this condition has been detected. This\nvalue is the same as the corresponding\ntokenRingPStatsDropEvents.") tokenRingMLStatsMacOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsMacOctets.setDescription("The total number of octets of data in MAC packets\n(excluding those that were not good frames)\nreceived on the network (excluding framing bits\nbut including FCS octets).") tokenRingMLStatsMacPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsMacPkts.setDescription("The total number of MAC packets (excluding\npackets that were not good frames) received.") tokenRingMLStatsRingPurgeEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsRingPurgeEvents.setDescription("The total number of times that the ring enters\nthe ring purge state from normal ring state. The\nring purge state that comes in response to the\nclaim token or beacon state is not counted.") tokenRingMLStatsRingPurgePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsRingPurgePkts.setDescription("The total number of ring purge MAC packets\ndetected by probe.") tokenRingMLStatsBeaconEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsBeaconEvents.setDescription("The total number of times that the ring enters a\nbeaconing state (beaconFrameStreamingState,\nbeaconBitStreamingState,\nbeaconSetRecoveryModeState, or\nbeaconRingSignalLossState) from a non-beaconing\nstate. Note that a change of the source address\nof the beacon packet does not constitute a new\nbeacon event.") tokenRingMLStatsBeaconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 9), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsBeaconTime.setDescription("The total amount of time that the ring has been\nin the beaconing state.") tokenRingMLStatsBeaconPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsBeaconPkts.setDescription("The total number of beacon MAC packets detected\nby the probe.") tokenRingMLStatsClaimTokenEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsClaimTokenEvents.setDescription("The total number of times that the ring enters\nthe claim token state from normal ring state or\nring purge state. The claim token state that\ncomes in response to a beacon state is not\ncounted.") tokenRingMLStatsClaimTokenPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsClaimTokenPkts.setDescription("The total number of claim token MAC packets\ndetected by the probe.") tokenRingMLStatsNAUNChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsNAUNChanges.setDescription("The total number of NAUN changes detected by the\nprobe.") tokenRingMLStatsLineErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsLineErrors.setDescription("The total number of line errors reported in error\nreporting packets detected by the probe.") tokenRingMLStatsInternalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsInternalErrors.setDescription("The total number of adapter internal errors\nreported in error reporting packets detected by\nthe probe.") tokenRingMLStatsBurstErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsBurstErrors.setDescription("The total number of burst errors reported in\nerror reporting packets detected by the probe.") tokenRingMLStatsACErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsACErrors.setDescription("The total number of AC (Address Copied) errors\nreported in error reporting packets detected by\nthe probe.") tokenRingMLStatsAbortErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsAbortErrors.setDescription("The total number of abort delimiters reported in\nerror reporting packets detected by the probe.") tokenRingMLStatsLostFrameErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsLostFrameErrors.setDescription("The total number of lost frame errors reported in\nerror reporting packets detected by the probe.") tokenRingMLStatsCongestionErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsCongestionErrors.setDescription("The total number of receive congestion errors\nreported in error reporting packets detected by\nthe probe.") tokenRingMLStatsFrameCopiedErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsFrameCopiedErrors.setDescription("The total number of frame copied errors reported\nin error reporting packets detected by the probe.") tokenRingMLStatsFrequencyErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsFrequencyErrors.setDescription("The total number of frequency errors reported in\nerror reporting packets detected by the probe.") tokenRingMLStatsTokenErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsTokenErrors.setDescription("The total number of token errors reported in\nerror reporting packets detected by the probe.") tokenRingMLStatsSoftErrorReports = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsSoftErrorReports.setDescription("The total number of soft error report frames\ndetected by the probe.") tokenRingMLStatsRingPollEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLStatsRingPollEvents.setDescription("The total number of ring poll events detected by\nthe probe (i.e. the number of ring polls initiated\nby the active monitor that were detected).") tokenRingMLStatsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 26), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenRingMLStatsOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") tokenRingMLStatsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 2, 1, 27), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenRingMLStatsStatus.setDescription("The status of this tokenRingMLStats entry.") tokenRingPStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 1, 3)) if mibBuilder.loadTexts: tokenRingPStatsTable.setDescription("A list of promiscuous Token Ring statistics\nentries.") tokenRingPStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 1, 3, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "tokenRingPStatsIndex")) if mibBuilder.loadTexts: tokenRingPStatsEntry.setDescription("A collection of promiscuous statistics kept for\nnon-MAC packets on a particular Token Ring\ninterface.") tokenRingPStatsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsIndex.setDescription("The value of this object uniquely identifies this\ntokenRingPStats entry.") tokenRingPStatsDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 2), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenRingPStatsDataSource.setDescription("This object identifies the source of the data\nthat this tokenRingPStats entry is configured to\nanalyze. This source can be any tokenRing\ninterface on this device. In order to identify a\nparticular interface, this object shall identify\nthe instance of the ifIndex object, defined in\nMIB-II [3], for the desired interface. For\nexample, if an entry were to receive data from\ninterface #1, this object would be set to\nifIndex.1.\n\nThe statistics in this group reflect all non-MAC\npackets on the local network segment attached to\nthe identified interface.\n\nThis object may not be modified if the associated\ntokenRingPStatsStatus object is equal to\nvalid(1).") tokenRingPStatsDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDropEvents.setDescription("The total number of events in which packets were\ndropped by the probe due to lack of resources.\nNote that this number is not necessarily the\nnumber of packets dropped; it is just the number\nof times this condition has been detected. This\nvalue is the same as the corresponding\ntokenRingMLStatsDropEvents") tokenRingPStatsDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataOctets.setDescription("The total number of octets of data in good frames\nreceived on the network (excluding framing bits\nbut including FCS octets) in non-MAC packets.") tokenRingPStatsDataPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts.setDescription("The total number of non-MAC packets in good\nframes. received.") tokenRingPStatsDataBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataBroadcastPkts.setDescription("The total number of good non-MAC frames received\nthat were directed to an LLC broadcast address\n(0xFFFFFFFFFFFF or 0xC000FFFFFFFF).") tokenRingPStatsDataMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataMulticastPkts.setDescription("The total number of good non-MAC frames received\nthat were directed to a local or global multicast\nor functional address. Note that this number does\nnot include packets directed to the broadcast\naddress.") tokenRingPStatsDataPkts18to63Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts18to63Octets.setDescription("The total number of good non-MAC frames received\nthat were between 18 and 63 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts64to127Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts64to127Octets.setDescription("The total number of good non-MAC frames received\nthat were between 64 and 127 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts128to255Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts128to255Octets.setDescription("The total number of good non-MAC frames received\nthat were between 128 and 255 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts256to511Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts256to511Octets.setDescription("The total number of good non-MAC frames received\nthat were between 256 and 511 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts512to1023Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts512to1023Octets.setDescription("The total number of good non-MAC frames received\nthat were between 512 and 1023 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts1024to2047Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts1024to2047Octets.setDescription("The total number of good non-MAC frames received\nthat were between 1024 and 2047 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts2048to4095Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts2048to4095Octets.setDescription("The total number of good non-MAC frames received\nthat were between 2048 and 4095 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts4096to8191Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts4096to8191Octets.setDescription("The total number of good non-MAC frames received\nthat were between 4096 and 8191 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPkts8192to18000Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPkts8192to18000Octets.setDescription("The total number of good non-MAC frames received\nthat were between 8192 and 18000 octets in length\ninclusive, excluding framing bits but including\nFCS octets.") tokenRingPStatsDataPktsGreaterThan18000Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPStatsDataPktsGreaterThan18000Octets.setDescription("The total number of good non-MAC frames received\nthat were greater than 18000 octets in length,\nexcluding framing bits but including FCS octets.") tokenRingPStatsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 18), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenRingPStatsOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") tokenRingPStatsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 1, 3, 1, 19), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tokenRingPStatsStatus.setDescription("The status of this tokenRingPStats entry.") tokenRingMLHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 3)) if mibBuilder.loadTexts: tokenRingMLHistoryTable.setDescription("A list of Mac-Layer Token Ring statistics\nentries.") tokenRingMLHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 3, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "tokenRingMLHistoryIndex"), (0, "TOKEN-RING-RMON-MIB", "tokenRingMLHistorySampleIndex")) if mibBuilder.loadTexts: tokenRingMLHistoryEntry.setDescription("A collection of Mac-Layer statistics kept for a\nparticular Token Ring interface.") tokenRingMLHistoryIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryIndex.setDescription("The history of which this entry is a part. The\nhistory identified by a particular value of this\nindex is the same history as identified by the\nsame value of historyControlIndex.") tokenRingMLHistorySampleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistorySampleIndex.setDescription("An index that uniquely identifies the particular\nMac-Layer sample this entry represents among all\nMac-Layer samples associated with the same\nhistoryControlEntry. This index starts at 1 and\nincreases by one as each new sample is taken.") tokenRingMLHistoryIntervalStart = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryIntervalStart.setDescription("The value of sysUpTime at the start of the\ninterval over which this sample was measured. If\nthe probe keeps track of the time of day, it\nshould start the first sample of the history at a\ntime such that when the next hour of the day\nbegins, a sample is started at that instant. Note\nthat following this rule may require the probe to\ndelay collecting the first sample of the history,\nas each sample must be of the same interval. Also\nnote that the sample which is currently being\ncollected is not accessible in this table until\nthe end of its interval.") tokenRingMLHistoryDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryDropEvents.setDescription("The total number of events in which packets were\ndropped by the probe due to lack of resources\nduring this sampling interval. Note that this\nnumber is not necessarily the number of packets\ndropped, it is just the number of times this\ncondition has been detected.") tokenRingMLHistoryMacOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryMacOctets.setDescription("The total number of octets of data in MAC packets\n(excluding those that were not good frames)\nreceived on the network during this sampling\ninterval (excluding framing bits but including FCS\noctets).") tokenRingMLHistoryMacPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryMacPkts.setDescription("The total number of MAC packets (excluding those\nthat were not good frames) received during this\nsampling interval.") tokenRingMLHistoryRingPurgeEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryRingPurgeEvents.setDescription("The total number of times that the ring entered\nthe ring purge state from normal ring state during\nthis sampling interval. The ring purge state that\ncomes from the claim token or beacon state is not\ncounted.") tokenRingMLHistoryRingPurgePkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryRingPurgePkts.setDescription("The total number of Ring Purge MAC packets\ndetected by the probe during this sampling\ninterval.") tokenRingMLHistoryBeaconEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryBeaconEvents.setDescription("The total number of times that the ring enters a\nbeaconing state (beaconFrameStreamingState,\nbeaconBitStreamingState,\nbeaconSetRecoveryModeState, or\nbeaconRingSignalLossState) during this sampling\ninterval. Note that a change of the source\naddress of the beacon packet does not constitute a\nnew beacon event.") tokenRingMLHistoryBeaconTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 10), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryBeaconTime.setDescription("The amount of time that the ring has been in the\nbeaconing state during this sampling interval.") tokenRingMLHistoryBeaconPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryBeaconPkts.setDescription("The total number of beacon MAC packets detected\nby the probe during this sampling interval.") tokenRingMLHistoryClaimTokenEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryClaimTokenEvents.setDescription("The total number of times that the ring enters\nthe claim token state from normal ring state or\nring purge state during this sampling interval.\nThe claim token state that comes from the beacon\nstate is not counted.") tokenRingMLHistoryClaimTokenPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryClaimTokenPkts.setDescription("The total number of claim token MAC packets\ndetected by the probe during this sampling\ninterval.") tokenRingMLHistoryNAUNChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryNAUNChanges.setDescription("The total number of NAUN changes detected by the\nprobe during this sampling interval.") tokenRingMLHistoryLineErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryLineErrors.setDescription("The total number of line errors reported in error\nreporting packets detected by the probe during\nthis sampling interval.") tokenRingMLHistoryInternalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryInternalErrors.setDescription("The total number of adapter internal errors\nreported in error reporting packets detected by\nthe probe during this sampling interval.") tokenRingMLHistoryBurstErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryBurstErrors.setDescription("The total number of burst errors reported in\nerror reporting packets detected by the probe\nduring this sampling interval.") tokenRingMLHistoryACErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryACErrors.setDescription("The total number of AC (Address Copied) errors\nreported in error reporting packets detected by\nthe probe during this sampling interval.") tokenRingMLHistoryAbortErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryAbortErrors.setDescription("The total number of abort delimiters reported in\nerror reporting packets detected by the probe\nduring this sampling interval.") tokenRingMLHistoryLostFrameErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryLostFrameErrors.setDescription("The total number of lost frame errors reported in\nerror reporting packets detected by the probe\nduring this sampling interval.") tokenRingMLHistoryCongestionErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryCongestionErrors.setDescription("The total number of receive congestion errors\nreported in error reporting packets detected by\nthe probe during this sampling interval.") tokenRingMLHistoryFrameCopiedErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryFrameCopiedErrors.setDescription("The total number of frame copied errors reported\nin error reporting packets detected by the probe\nduring this sampling interval.") tokenRingMLHistoryFrequencyErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryFrequencyErrors.setDescription("The total number of frequency errors reported in\nerror reporting packets detected by the probe\nduring this sampling interval.") tokenRingMLHistoryTokenErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryTokenErrors.setDescription("The total number of token errors reported in\nerror reporting packets detected by the probe\nduring this sampling interval.") tokenRingMLHistorySoftErrorReports = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistorySoftErrorReports.setDescription("The total number of soft error report frames\ndetected by the probe during this sampling\ninterval.") tokenRingMLHistoryRingPollEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryRingPollEvents.setDescription("The total number of ring poll events detected by\nthe probe during this sampling interval.") tokenRingMLHistoryActiveStations = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 3, 1, 27), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingMLHistoryActiveStations.setDescription("The maximum number of active stations on the ring\ndetected by the probe during this sampling\ninterval.") tokenRingPHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 16, 2, 4)) if mibBuilder.loadTexts: tokenRingPHistoryTable.setDescription("A list of promiscuous Token Ring statistics\nentries.") tokenRingPHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 2, 4, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "tokenRingPHistoryIndex"), (0, "TOKEN-RING-RMON-MIB", "tokenRingPHistorySampleIndex")) if mibBuilder.loadTexts: tokenRingPHistoryEntry.setDescription("A collection of promiscuous statistics kept for a\nparticular Token Ring interface.") tokenRingPHistoryIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryIndex.setDescription("The history of which this entry is a part. The\nhistory identified by a particular value of this\nindex is the same history as identified by the\nsame value of historyControlIndex.") tokenRingPHistorySampleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistorySampleIndex.setDescription("An index that uniquely identifies the particular\nsample this entry represents among all samples\nassociated with the same historyControlEntry.\nThis index starts at 1 and increases by one as\neach new sample is taken.") tokenRingPHistoryIntervalStart = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryIntervalStart.setDescription("The value of sysUpTime at the start of the\ninterval over which this sample was measured. If\nthe probe keeps track of the time of day, it\nshould start the first sample of the history at a\ntime such that when the next hour of the day\nbegins, a sample is started at that instant. Note\nthat following this rule may require the probe to\ndelay collecting the first sample of the history,\nas each sample must be of the same interval. Also\nnote that the sample which is currently being\ncollected is not accessible in this table until\nthe end of its interval.") tokenRingPHistoryDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDropEvents.setDescription("The total number of events in which packets were\ndropped by the probe due to lack of resources\nduring this sampling interval. Note that this\nnumber is not necessarily the number of packets\ndropped, it is just the number of times this\ncondition has been detected.") tokenRingPHistoryDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataOctets.setDescription("The total number of octets of data in good frames\nreceived on the network (excluding framing bits\nbut including FCS octets) in non-MAC packets\nduring this sampling interval.") tokenRingPHistoryDataPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts.setDescription("The total number of good non-MAC frames received\nduring this sampling interval.") tokenRingPHistoryDataBroadcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataBroadcastPkts.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were directed\nto an LLC broadcast address (0xFFFFFFFFFFFF or\n0xC000FFFFFFFF).") tokenRingPHistoryDataMulticastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataMulticastPkts.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were directed\nto a local or global multicast or functional\naddress. Note that this number does not include\npackets directed to the broadcast address.") tokenRingPHistoryDataPkts18to63Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts18to63Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between 18\nand 63 octets in length inclusive, excluding\nframing bits but including FCS octets.") tokenRingPHistoryDataPkts64to127Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts64to127Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between 64\nand 127 octets in length inclusive, excluding\nframing bits but including FCS octets.") tokenRingPHistoryDataPkts128to255Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts128to255Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between\n128 and 255 octets in length inclusive, excluding\nframing bits but including FCS octets.") tokenRingPHistoryDataPkts256to511Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts256to511Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between\n256 and 511 octets in length inclusive, excluding\nframing bits but including FCS octets.") tokenRingPHistoryDataPkts512to1023Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts512to1023Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between\n512 and 1023 octets in length inclusive, excluding\nframing bits but including FCS octets.") tokenRingPHistoryDataPkts1024to2047Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts1024to2047Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between\n1024 and 2047 octets in length inclusive,\nexcluding framing bits but including FCS octets.") tokenRingPHistoryDataPkts2048to4095Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts2048to4095Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between\n2048 and 4095 octets in length inclusive,\nexcluding framing bits but including FCS octets.") tokenRingPHistoryDataPkts4096to8191Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts4096to8191Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between\n4096 and 8191 octets in length inclusive,\nexcluding framing bits but including FCS octets.") tokenRingPHistoryDataPkts8192to18000Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPkts8192to18000Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were between\n8192 and 18000 octets in length inclusive,\nexcluding framing bits but including FCS octets.") tokenRingPHistoryDataPktsGreaterThan18000Octets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 2, 4, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tokenRingPHistoryDataPktsGreaterThan18000Octets.setDescription("The total number of good non-MAC frames received\nduring this sampling interval that were greater\nthan 18000 octets in length, excluding framing\nbits but including FCS octets.") tokenRing = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 10)) ringStationControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 1)) if mibBuilder.loadTexts: ringStationControlTable.setDescription("A list of ringStation table control entries.") ringStationControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 1, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "ringStationControlIfIndex")) if mibBuilder.loadTexts: ringStationControlEntry.setDescription("A list of parameters that set up the discovery of\nstations on a particular interface and the\ncollection of statistics about these stations.") ringStationControlIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device\nfrom which ringStation data is collected. The\ninterface identified by a particular value of this\nobject is the same interface as identified by the\nsame value of the ifIndex object, defined in MIB-\nII [3].") ringStationControlTableSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlTableSize.setDescription("The number of ringStationEntries in the\nringStationTable associated with this\nringStationControlEntry.") ringStationControlActiveStations = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlActiveStations.setDescription("The number of active ringStationEntries in the\nringStationTable associated with this\nringStationControlEntry.") ringStationControlRingState = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,5,2,7,4,6,1,)).subtype(namedValues=NamedValues(("normalOperation", 1), ("ringPurgeState", 2), ("claimTokenState", 3), ("beaconFrameStreamingState", 4), ("beaconBitStreamingState", 5), ("beaconRingSignalLossState", 6), ("beaconSetRecoveryModeState", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlRingState.setDescription("The current status of this ring.") ringStationControlBeaconSender = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 5), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlBeaconSender.setDescription("The address of the sender of the last beacon\nframe received by the probe on this ring. If no\nbeacon frames have been received, this object\nshall be equal to six octets of zero.") ringStationControlBeaconNAUN = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 6), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlBeaconNAUN.setDescription("The address of the NAUN in the last beacon frame\nreceived by the probe on this ring. If no beacon\nframes have been received, this object shall be\nequal to six octets of zero.") ringStationControlActiveMonitor = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 7), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlActiveMonitor.setDescription("The address of the Active Monitor on this\nsegment. If this address is unknown, this object\nshall be equal to six octets of zero.") ringStationControlOrderChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationControlOrderChanges.setDescription("The number of add and delete events in the\nringStationOrderTable optionally associated with\nthis ringStationControlEntry.") ringStationControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 9), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ringStationControlOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") ringStationControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 1, 1, 10), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ringStationControlStatus.setDescription("The status of this ringStationControl entry.\n\nIf this object is not equal to valid(1), all\nassociated entries in the ringStationTable shall\nbe deleted by the agent.") ringStationTable = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 2)) if mibBuilder.loadTexts: ringStationTable.setDescription("A list of ring station entries. An entry will\nexist for each station that is now or has\npreviously been detected as physically present on\nthis ring.") ringStationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 2, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "ringStationIfIndex"), (0, "TOKEN-RING-RMON-MIB", "ringStationMacAddress")) if mibBuilder.loadTexts: ringStationEntry.setDescription("A collection of statistics for a particular\nstation that has been discovered on a ring\nmonitored by this device.") ringStationIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device\non which this station was detected. The interface\nidentified by a particular value of this object is\nthe same interface as identified by the same value\nof the ifIndex object, defined in MIB-II [3].") ringStationMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationMacAddress.setDescription("The physical address of this station.") ringStationLastNAUN = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationLastNAUN.setDescription("The physical address of last known NAUN of this\nstation.") ringStationStationStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ("forcedRemoval", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationStationStatus.setDescription("The status of this station on the ring.") ringStationLastEnterTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationLastEnterTime.setDescription("The value of sysUpTime at the time this station\nlast entered the ring. If the time is unknown,\nthis value shall be zero.") ringStationLastExitTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationLastExitTime.setDescription("The value of sysUpTime at the time the probe\ndetected that this station last exited the ring.\nIf the time is unknown, this value shall be zero.") ringStationDuplicateAddresses = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationDuplicateAddresses.setDescription("The number of times this station experienced a\nduplicate address error.") ringStationInLineErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationInLineErrors.setDescription("The total number of line errors reported by this\nstation in error reporting packets detected by the\nprobe.") ringStationOutLineErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationOutLineErrors.setDescription("The total number of line errors reported in error\nreporting packets sent by the nearest active\ndownstream neighbor of this station and detected\nby the probe.") ringStationInternalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationInternalErrors.setDescription("The total number of adapter internal errors\nreported by this station in error reporting\npackets detected by the probe.") ringStationInBurstErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationInBurstErrors.setDescription("The total number of burst errors reported by this\nstation in error reporting packets detected by the\nprobe.") ringStationOutBurstErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationOutBurstErrors.setDescription("The total number of burst errors reported in\nerror reporting packets sent by the nearest active\ndownstream neighbor of this station and detected\nby the probe.") ringStationACErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationACErrors.setDescription("The total number of AC (Address Copied) errors\nreported in error reporting packets sent by the\nnearest active downstream neighbor of this station\nand detected by the probe.") ringStationAbortErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationAbortErrors.setDescription("The total number of abort delimiters reported by\nthis station in error reporting packets detected\nby the probe.") ringStationLostFrameErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationLostFrameErrors.setDescription("The total number of lost frame errors reported by\nthis station in error reporting packets detected\nby the probe.") ringStationCongestionErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationCongestionErrors.setDescription("The total number of receive congestion errors\nreported by this station in error reporting\npackets detected by the probe.") ringStationFrameCopiedErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationFrameCopiedErrors.setDescription("The total number of frame copied errors reported\nby this station in error reporting packets\ndetected by the probe.") ringStationFrequencyErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationFrequencyErrors.setDescription("The total number of frequency errors reported by\nthis station in error reporting packets detected\nby the probe.") ringStationTokenErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationTokenErrors.setDescription("The total number of token errors reported by this\nstation in error reporting frames detected by the\nprobe.") ringStationInBeaconErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationInBeaconErrors.setDescription("The total number of beacon frames sent by this\nstation and detected by the probe.") ringStationOutBeaconErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationOutBeaconErrors.setDescription("The total number of beacon frames detected by the\nprobe that name this station as the NAUN.") ringStationInsertions = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationInsertions.setDescription("The number of times the probe detected this\nstation inserting onto the ring.") ringStationOrderTable = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 3)) if mibBuilder.loadTexts: ringStationOrderTable.setDescription("A list of ring station entries for stations in\nthe ring poll, ordered by their ring-order.") ringStationOrderEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 3, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "ringStationOrderIfIndex"), (0, "TOKEN-RING-RMON-MIB", "ringStationOrderOrderIndex")) if mibBuilder.loadTexts: ringStationOrderEntry.setDescription("A collection of statistics for a particular\nstation that is active on a ring monitored by this\ndevice. This table will contain information for\nevery interface that has a\nringStationControlStatus equal to valid.") ringStationOrderIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationOrderIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device\non which this station was detected. The interface\nidentified by a particular value of this object is\nthe same interface as identified by the same value\nof the ifIndex object, defined in MIB-II [3].") ringStationOrderOrderIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationOrderOrderIndex.setDescription("This index denotes the location of this station\nwith respect to other stations on the ring. This\nindex is one more than the number of hops\ndownstream that this station is from the rmon\nprobe. The rmon probe itself gets the value one.") ringStationOrderMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 3, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationOrderMacAddress.setDescription("The physical address of this station.") ringStationConfigControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 4)) if mibBuilder.loadTexts: ringStationConfigControlTable.setDescription("A list of ring station configuration control\nentries.") ringStationConfigControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 4, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "ringStationConfigControlIfIndex"), (0, "TOKEN-RING-RMON-MIB", "ringStationConfigControlMacAddress")) if mibBuilder.loadTexts: ringStationConfigControlEntry.setDescription("This entry controls active management of stations\nby the probe. One entry exists in this table for\neach active station in the ringStationTable.") ringStationConfigControlIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigControlIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device\non which this station was detected. The interface\nidentified by a particular value of this object is\nthe same interface as identified by the same value\nof the ifIndex object, defined in MIB-II [3].") ringStationConfigControlMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 4, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigControlMacAddress.setDescription("The physical address of this station.") ringStationConfigControlRemove = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("stable", 1), ("removing", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ringStationConfigControlRemove.setDescription("Setting this object to `removing(2)' causes a\nRemove Station MAC frame to be sent. The agent\nwill set this object to `stable(1)' after\nprocessing the request.") ringStationConfigControlUpdateStats = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 4, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("stable", 1), ("updating", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ringStationConfigControlUpdateStats.setDescription("Setting this object to `updating(2)' causes the\nconfiguration information associate with this\nentry to be updated. The agent will set this\nobject to `stable(1)' after processing the\nrequest.") ringStationConfigTable = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 5)) if mibBuilder.loadTexts: ringStationConfigTable.setDescription("A list of configuration entries for stations on a\nring monitored by this probe.") ringStationConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 5, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "ringStationConfigIfIndex"), (0, "TOKEN-RING-RMON-MIB", "ringStationConfigMacAddress")) if mibBuilder.loadTexts: ringStationConfigEntry.setDescription("A collection of statistics for a particular\nstation that has been discovered on a ring\nmonitored by this probe.") ringStationConfigIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device\non which this station was detected. The interface\nidentified by a particular value of this object is\nthe same interface as identified by the same value\nof the ifIndex object, defined in MIB-II [3].") ringStationConfigMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 5, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigMacAddress.setDescription("The physical address of this station.") ringStationConfigUpdateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 5, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigUpdateTime.setDescription("The value of sysUpTime at the time this\nconfiguration information was last updated\n(completely).") ringStationConfigLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 5, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigLocation.setDescription("The assigned physical location of this station.") ringStationConfigMicrocode = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 5, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(10, 10)).setFixedLength(10)).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigMicrocode.setDescription("The microcode EC level of this station.") ringStationConfigGroupAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 5, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigGroupAddress.setDescription("The low-order 4 octets of the group address\nrecognized by this station.") ringStationConfigFunctionalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 5, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: ringStationConfigFunctionalAddress.setDescription("the functional addresses recognized by this\nstation.") sourceRoutingStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 10, 6)) if mibBuilder.loadTexts: sourceRoutingStatsTable.setDescription("A list of source routing statistics entries.") sourceRoutingStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 10, 6, 1)).setIndexNames((0, "TOKEN-RING-RMON-MIB", "sourceRoutingStatsIfIndex")) if mibBuilder.loadTexts: sourceRoutingStatsEntry.setDescription("A collection of source routing statistics kept\nfor a particular Token Ring interface.") sourceRoutingStatsIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsIfIndex.setDescription("The value of this object uniquely identifies the\ninterface on this remote network monitoring device\non which source routing statistics will be\ndetected. The interface identified by a\nparticular value of this object is the same\ninterface as identified by the same value of the\nifIndex object, defined in MIB-II [3].") sourceRoutingStatsRingNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsRingNumber.setDescription("The ring number of the ring monitored by this\nentry. When any object in this entry is created,\nthe probe will attempt to discover the ring\nnumber. Only after the ring number is discovered\nwill this object be created. After creating an\nobject in this entry, the management station\nshould poll this object to detect when it is\ncreated. Only after this object is created can\nthe management station set the\nsourceRoutingStatsStatus entry to valid(1).") sourceRoutingStatsInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsInFrames.setDescription("The count of frames sent into this ring from\nanother ring.") sourceRoutingStatsOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsOutFrames.setDescription("The count of frames sent from this ring to\nanother ring.") sourceRoutingStatsThroughFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsThroughFrames.setDescription("The count of frames sent from another ring,\nthrough this ring, to another ring.") sourceRoutingStatsAllRoutesBroadcastFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsAllRoutesBroadcastFrames.setDescription("The total number of good frames received that\nwere All Routes Broadcast.") sourceRoutingStatsSingleRouteBroadcastFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsSingleRouteBroadcastFrames.setDescription("The total number of good frames received that\nwere Single Route Broadcast.") sourceRoutingStatsInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsInOctets.setDescription("The count of octets in good frames sent into this\nring from another ring.") sourceRoutingStatsOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsOutOctets.setDescription("The count of octets in good frames sent from this\nring to another ring.") sourceRoutingStatsThroughOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsThroughOctets.setDescription("The count of octets in good frames sent another\nring, through this ring, to another ring.") sourceRoutingStatsAllRoutesBroadcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsAllRoutesBroadcastOctets.setDescription("The total number of octets in good frames\nreceived that were All Routes Broadcast.") sourceRoutingStatsSingleRoutesBroadcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsSingleRoutesBroadcastOctets.setDescription("The total number of octets in good frames\nreceived that were Single Route Broadcast.") sourceRoutingStatsLocalLLCFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsLocalLLCFrames.setDescription("The total number of frames received who had no\nRIF field (or had a RIF field that only included\nthe local ring's number) and were not All Route\nBroadcast Frames.") sourceRoutingStats1HopFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats1HopFrames.setDescription("The total number of frames received whose route\nhad 1 hop, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStats2HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats2HopsFrames.setDescription("The total number of frames received whose route\nhad 2 hops, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStats3HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats3HopsFrames.setDescription("The total number of frames received whose route\nhad 3 hops, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStats4HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats4HopsFrames.setDescription("The total number of frames received whose route\nhad 4 hops, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStats5HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats5HopsFrames.setDescription("The total number of frames received whose route\nhad 5 hops, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStats6HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats6HopsFrames.setDescription("The total number of frames received whose route\nhad 6 hops, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStats7HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats7HopsFrames.setDescription("The total number of frames received whose route\nhad 7 hops, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStats8HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStats8HopsFrames.setDescription("The total number of frames received whose route\nhad 8 hops, were not All Route Broadcast Frames,\nand whose source or destination were on this ring\n(i.e. frames that had a RIF field and had this\nring number in the first or last entry of the RIF\nfield).") sourceRoutingStatsMoreThan8HopsFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sourceRoutingStatsMoreThan8HopsFrames.setDescription("The total number of frames received whose route\nhad more than 8 hops, were not All Route Broadcast\nFrames, and whose source or destination were on\nthis ring (i.e. frames that had a RIF field and\nhad this ring number in the first or last entry of\nthe RIF field).") sourceRoutingStatsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 23), OwnerString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sourceRoutingStatsOwner.setDescription("The entity that configured this entry and is\ntherefore using the resources assigned to it.") sourceRoutingStatsStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 10, 6, 1, 24), EntryStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sourceRoutingStatsStatus.setDescription("The status of this sourceRoutingStats entry.") # Augmentions # Exports # Types mibBuilder.exportSymbols("TOKEN-RING-RMON-MIB", MacAddress=MacAddress, TimeInterval=TimeInterval) # Objects mibBuilder.exportSymbols("TOKEN-RING-RMON-MIB", tokenRingMLStatsTable=tokenRingMLStatsTable, tokenRingMLStatsEntry=tokenRingMLStatsEntry, tokenRingMLStatsIndex=tokenRingMLStatsIndex, tokenRingMLStatsDataSource=tokenRingMLStatsDataSource, tokenRingMLStatsDropEvents=tokenRingMLStatsDropEvents, tokenRingMLStatsMacOctets=tokenRingMLStatsMacOctets, tokenRingMLStatsMacPkts=tokenRingMLStatsMacPkts, tokenRingMLStatsRingPurgeEvents=tokenRingMLStatsRingPurgeEvents, tokenRingMLStatsRingPurgePkts=tokenRingMLStatsRingPurgePkts, tokenRingMLStatsBeaconEvents=tokenRingMLStatsBeaconEvents, tokenRingMLStatsBeaconTime=tokenRingMLStatsBeaconTime, tokenRingMLStatsBeaconPkts=tokenRingMLStatsBeaconPkts, tokenRingMLStatsClaimTokenEvents=tokenRingMLStatsClaimTokenEvents, tokenRingMLStatsClaimTokenPkts=tokenRingMLStatsClaimTokenPkts, tokenRingMLStatsNAUNChanges=tokenRingMLStatsNAUNChanges, tokenRingMLStatsLineErrors=tokenRingMLStatsLineErrors, tokenRingMLStatsInternalErrors=tokenRingMLStatsInternalErrors, tokenRingMLStatsBurstErrors=tokenRingMLStatsBurstErrors, tokenRingMLStatsACErrors=tokenRingMLStatsACErrors, tokenRingMLStatsAbortErrors=tokenRingMLStatsAbortErrors, tokenRingMLStatsLostFrameErrors=tokenRingMLStatsLostFrameErrors, tokenRingMLStatsCongestionErrors=tokenRingMLStatsCongestionErrors, tokenRingMLStatsFrameCopiedErrors=tokenRingMLStatsFrameCopiedErrors, tokenRingMLStatsFrequencyErrors=tokenRingMLStatsFrequencyErrors, tokenRingMLStatsTokenErrors=tokenRingMLStatsTokenErrors, tokenRingMLStatsSoftErrorReports=tokenRingMLStatsSoftErrorReports, tokenRingMLStatsRingPollEvents=tokenRingMLStatsRingPollEvents, tokenRingMLStatsOwner=tokenRingMLStatsOwner, tokenRingMLStatsStatus=tokenRingMLStatsStatus, tokenRingPStatsTable=tokenRingPStatsTable, tokenRingPStatsEntry=tokenRingPStatsEntry, tokenRingPStatsIndex=tokenRingPStatsIndex, tokenRingPStatsDataSource=tokenRingPStatsDataSource, tokenRingPStatsDropEvents=tokenRingPStatsDropEvents, tokenRingPStatsDataOctets=tokenRingPStatsDataOctets, tokenRingPStatsDataPkts=tokenRingPStatsDataPkts, tokenRingPStatsDataBroadcastPkts=tokenRingPStatsDataBroadcastPkts, tokenRingPStatsDataMulticastPkts=tokenRingPStatsDataMulticastPkts, tokenRingPStatsDataPkts18to63Octets=tokenRingPStatsDataPkts18to63Octets, tokenRingPStatsDataPkts64to127Octets=tokenRingPStatsDataPkts64to127Octets, tokenRingPStatsDataPkts128to255Octets=tokenRingPStatsDataPkts128to255Octets, tokenRingPStatsDataPkts256to511Octets=tokenRingPStatsDataPkts256to511Octets, tokenRingPStatsDataPkts512to1023Octets=tokenRingPStatsDataPkts512to1023Octets, tokenRingPStatsDataPkts1024to2047Octets=tokenRingPStatsDataPkts1024to2047Octets, tokenRingPStatsDataPkts2048to4095Octets=tokenRingPStatsDataPkts2048to4095Octets, tokenRingPStatsDataPkts4096to8191Octets=tokenRingPStatsDataPkts4096to8191Octets, tokenRingPStatsDataPkts8192to18000Octets=tokenRingPStatsDataPkts8192to18000Octets, tokenRingPStatsDataPktsGreaterThan18000Octets=tokenRingPStatsDataPktsGreaterThan18000Octets, tokenRingPStatsOwner=tokenRingPStatsOwner, tokenRingPStatsStatus=tokenRingPStatsStatus, tokenRingMLHistoryTable=tokenRingMLHistoryTable, tokenRingMLHistoryEntry=tokenRingMLHistoryEntry, tokenRingMLHistoryIndex=tokenRingMLHistoryIndex, tokenRingMLHistorySampleIndex=tokenRingMLHistorySampleIndex, tokenRingMLHistoryIntervalStart=tokenRingMLHistoryIntervalStart, tokenRingMLHistoryDropEvents=tokenRingMLHistoryDropEvents, tokenRingMLHistoryMacOctets=tokenRingMLHistoryMacOctets, tokenRingMLHistoryMacPkts=tokenRingMLHistoryMacPkts, tokenRingMLHistoryRingPurgeEvents=tokenRingMLHistoryRingPurgeEvents, tokenRingMLHistoryRingPurgePkts=tokenRingMLHistoryRingPurgePkts, tokenRingMLHistoryBeaconEvents=tokenRingMLHistoryBeaconEvents, tokenRingMLHistoryBeaconTime=tokenRingMLHistoryBeaconTime, tokenRingMLHistoryBeaconPkts=tokenRingMLHistoryBeaconPkts, tokenRingMLHistoryClaimTokenEvents=tokenRingMLHistoryClaimTokenEvents, tokenRingMLHistoryClaimTokenPkts=tokenRingMLHistoryClaimTokenPkts, tokenRingMLHistoryNAUNChanges=tokenRingMLHistoryNAUNChanges, tokenRingMLHistoryLineErrors=tokenRingMLHistoryLineErrors, tokenRingMLHistoryInternalErrors=tokenRingMLHistoryInternalErrors, tokenRingMLHistoryBurstErrors=tokenRingMLHistoryBurstErrors, tokenRingMLHistoryACErrors=tokenRingMLHistoryACErrors, tokenRingMLHistoryAbortErrors=tokenRingMLHistoryAbortErrors, tokenRingMLHistoryLostFrameErrors=tokenRingMLHistoryLostFrameErrors, tokenRingMLHistoryCongestionErrors=tokenRingMLHistoryCongestionErrors, tokenRingMLHistoryFrameCopiedErrors=tokenRingMLHistoryFrameCopiedErrors, tokenRingMLHistoryFrequencyErrors=tokenRingMLHistoryFrequencyErrors, tokenRingMLHistoryTokenErrors=tokenRingMLHistoryTokenErrors, tokenRingMLHistorySoftErrorReports=tokenRingMLHistorySoftErrorReports, tokenRingMLHistoryRingPollEvents=tokenRingMLHistoryRingPollEvents, tokenRingMLHistoryActiveStations=tokenRingMLHistoryActiveStations, tokenRingPHistoryTable=tokenRingPHistoryTable, tokenRingPHistoryEntry=tokenRingPHistoryEntry, tokenRingPHistoryIndex=tokenRingPHistoryIndex, tokenRingPHistorySampleIndex=tokenRingPHistorySampleIndex, tokenRingPHistoryIntervalStart=tokenRingPHistoryIntervalStart, tokenRingPHistoryDropEvents=tokenRingPHistoryDropEvents, tokenRingPHistoryDataOctets=tokenRingPHistoryDataOctets, tokenRingPHistoryDataPkts=tokenRingPHistoryDataPkts, tokenRingPHistoryDataBroadcastPkts=tokenRingPHistoryDataBroadcastPkts, tokenRingPHistoryDataMulticastPkts=tokenRingPHistoryDataMulticastPkts, tokenRingPHistoryDataPkts18to63Octets=tokenRingPHistoryDataPkts18to63Octets, tokenRingPHistoryDataPkts64to127Octets=tokenRingPHistoryDataPkts64to127Octets, tokenRingPHistoryDataPkts128to255Octets=tokenRingPHistoryDataPkts128to255Octets, tokenRingPHistoryDataPkts256to511Octets=tokenRingPHistoryDataPkts256to511Octets, tokenRingPHistoryDataPkts512to1023Octets=tokenRingPHistoryDataPkts512to1023Octets, tokenRingPHistoryDataPkts1024to2047Octets=tokenRingPHistoryDataPkts1024to2047Octets, tokenRingPHistoryDataPkts2048to4095Octets=tokenRingPHistoryDataPkts2048to4095Octets, tokenRingPHistoryDataPkts4096to8191Octets=tokenRingPHistoryDataPkts4096to8191Octets, tokenRingPHistoryDataPkts8192to18000Octets=tokenRingPHistoryDataPkts8192to18000Octets, tokenRingPHistoryDataPktsGreaterThan18000Octets=tokenRingPHistoryDataPktsGreaterThan18000Octets, tokenRing=tokenRing, ringStationControlTable=ringStationControlTable, ringStationControlEntry=ringStationControlEntry, ringStationControlIfIndex=ringStationControlIfIndex, ringStationControlTableSize=ringStationControlTableSize, ringStationControlActiveStations=ringStationControlActiveStations, ringStationControlRingState=ringStationControlRingState, ringStationControlBeaconSender=ringStationControlBeaconSender, ringStationControlBeaconNAUN=ringStationControlBeaconNAUN, ringStationControlActiveMonitor=ringStationControlActiveMonitor, ringStationControlOrderChanges=ringStationControlOrderChanges, ringStationControlOwner=ringStationControlOwner, ringStationControlStatus=ringStationControlStatus, ringStationTable=ringStationTable, ringStationEntry=ringStationEntry, ringStationIfIndex=ringStationIfIndex, ringStationMacAddress=ringStationMacAddress, ringStationLastNAUN=ringStationLastNAUN, ringStationStationStatus=ringStationStationStatus, ringStationLastEnterTime=ringStationLastEnterTime, ringStationLastExitTime=ringStationLastExitTime, ringStationDuplicateAddresses=ringStationDuplicateAddresses, ringStationInLineErrors=ringStationInLineErrors, ringStationOutLineErrors=ringStationOutLineErrors, ringStationInternalErrors=ringStationInternalErrors, ringStationInBurstErrors=ringStationInBurstErrors, ringStationOutBurstErrors=ringStationOutBurstErrors) mibBuilder.exportSymbols("TOKEN-RING-RMON-MIB", ringStationACErrors=ringStationACErrors, ringStationAbortErrors=ringStationAbortErrors, ringStationLostFrameErrors=ringStationLostFrameErrors, ringStationCongestionErrors=ringStationCongestionErrors, ringStationFrameCopiedErrors=ringStationFrameCopiedErrors, ringStationFrequencyErrors=ringStationFrequencyErrors, ringStationTokenErrors=ringStationTokenErrors, ringStationInBeaconErrors=ringStationInBeaconErrors, ringStationOutBeaconErrors=ringStationOutBeaconErrors, ringStationInsertions=ringStationInsertions, ringStationOrderTable=ringStationOrderTable, ringStationOrderEntry=ringStationOrderEntry, ringStationOrderIfIndex=ringStationOrderIfIndex, ringStationOrderOrderIndex=ringStationOrderOrderIndex, ringStationOrderMacAddress=ringStationOrderMacAddress, ringStationConfigControlTable=ringStationConfigControlTable, ringStationConfigControlEntry=ringStationConfigControlEntry, ringStationConfigControlIfIndex=ringStationConfigControlIfIndex, ringStationConfigControlMacAddress=ringStationConfigControlMacAddress, ringStationConfigControlRemove=ringStationConfigControlRemove, ringStationConfigControlUpdateStats=ringStationConfigControlUpdateStats, ringStationConfigTable=ringStationConfigTable, ringStationConfigEntry=ringStationConfigEntry, ringStationConfigIfIndex=ringStationConfigIfIndex, ringStationConfigMacAddress=ringStationConfigMacAddress, ringStationConfigUpdateTime=ringStationConfigUpdateTime, ringStationConfigLocation=ringStationConfigLocation, ringStationConfigMicrocode=ringStationConfigMicrocode, ringStationConfigGroupAddress=ringStationConfigGroupAddress, ringStationConfigFunctionalAddress=ringStationConfigFunctionalAddress, sourceRoutingStatsTable=sourceRoutingStatsTable, sourceRoutingStatsEntry=sourceRoutingStatsEntry, sourceRoutingStatsIfIndex=sourceRoutingStatsIfIndex, sourceRoutingStatsRingNumber=sourceRoutingStatsRingNumber, sourceRoutingStatsInFrames=sourceRoutingStatsInFrames, sourceRoutingStatsOutFrames=sourceRoutingStatsOutFrames, sourceRoutingStatsThroughFrames=sourceRoutingStatsThroughFrames, sourceRoutingStatsAllRoutesBroadcastFrames=sourceRoutingStatsAllRoutesBroadcastFrames, sourceRoutingStatsSingleRouteBroadcastFrames=sourceRoutingStatsSingleRouteBroadcastFrames, sourceRoutingStatsInOctets=sourceRoutingStatsInOctets, sourceRoutingStatsOutOctets=sourceRoutingStatsOutOctets, sourceRoutingStatsThroughOctets=sourceRoutingStatsThroughOctets, sourceRoutingStatsAllRoutesBroadcastOctets=sourceRoutingStatsAllRoutesBroadcastOctets, sourceRoutingStatsSingleRoutesBroadcastOctets=sourceRoutingStatsSingleRoutesBroadcastOctets, sourceRoutingStatsLocalLLCFrames=sourceRoutingStatsLocalLLCFrames, sourceRoutingStats1HopFrames=sourceRoutingStats1HopFrames, sourceRoutingStats2HopsFrames=sourceRoutingStats2HopsFrames, sourceRoutingStats3HopsFrames=sourceRoutingStats3HopsFrames, sourceRoutingStats4HopsFrames=sourceRoutingStats4HopsFrames, sourceRoutingStats5HopsFrames=sourceRoutingStats5HopsFrames, sourceRoutingStats6HopsFrames=sourceRoutingStats6HopsFrames, sourceRoutingStats7HopsFrames=sourceRoutingStats7HopsFrames, sourceRoutingStats8HopsFrames=sourceRoutingStats8HopsFrames, sourceRoutingStatsMoreThan8HopsFrames=sourceRoutingStatsMoreThan8HopsFrames, sourceRoutingStatsOwner=sourceRoutingStatsOwner, sourceRoutingStatsStatus=sourceRoutingStatsStatus) pysnmp-mibs-0.1.3/pysnmp_mibs/APS-MIB.py0000644000014400001440000013240511736645135020064 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( RowStatus, StorageType, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp") # Types class ApsControlCommand(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("noCmd", 1), ("lockoutWorkingChannel", 2), ("clearLockoutWorkingChannel", 3), ) class ApsK1K2(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(2,2) fixedLength = 2 class ApsSwitchCommand(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(6,7,3,5,1,2,4,8,) namedValues = NamedValues(("noCmd", 1), ("clear", 2), ("lockoutOfProtection", 3), ("forcedSwitchWorkToProtect", 4), ("forcedSwitchProtectToWork", 5), ("manualSwitchWorkToProtect", 6), ("manualSwitchProtectToWork", 7), ("exercise", 8), ) # Objects apsMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 49)).setRevisions(("2003-02-28 00:00",)) if mibBuilder.loadTexts: apsMIB.setOrganization("IETF AToMMIB Working Group") if mibBuilder.loadTexts: apsMIB.setContactInfo(" Jim Kuhfeld\nPostal: RedBack Networks. Inc.\n300 Holger Way\nSan Jose, CA 95134-1362\nTel: +1 408 750 5465\nEmail: jkuhfeld@redback.com\n\nJeff Johnson\nPostal: RedBack Networks. Inc.\n300 Holger Way\nSan Jose, CA 95134-1362\nTel: +1 408 750 5460\nEmail: jeff@redback.com\n\nMichael Thatcher\nPostal: RedBack Networks. Inc.\n300 Holger Way\nSan Jose, CA 95134-1362\nTel: +1 408 750 5449\nEmail: thatcher@redback.com") if mibBuilder.loadTexts: apsMIB.setDescription("This management information module supports the configuration\nand management of SONET linear APS groups. The definitions and\ndescriptions used in this MIB have been derived from\nSynchronous Optical Network (SONET) Transport Systems:\nCommon Generic Criteria, GR-253-CORE Issue 3, September 2000,\nsection 5.3. The MIB is also consistent with the Multiplex\nSection Protection (MSP) protocol as specified in ITU-T\nRecommendation G.783, Characteristics of synchronous digital\nhierarchy (SDH) equipment function blocks, Annex A and B.\n\nCopyright (C) The Internet Society (2003). This version of\nthis MIB module is part of RFC 3498; see the RFC itself for\nfull legal notices.") apsMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 1)) apsConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 1, 1)) apsConfigGroups = MibScalar((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsConfigGroups.setDescription("The count of APS groups. This count includes all rows in\napsConfigTable, regardless of the value of apsConfigRowStatus.") apsConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2)) if mibBuilder.loadTexts: apsConfigTable.setDescription("This table lists the APS groups that have been configured\non the system.") apsConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1)).setIndexNames((1, "APS-MIB", "apsConfigName")) if mibBuilder.loadTexts: apsConfigEntry.setDescription("A conceptual row in the apsConfigTable.") apsConfigName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apsConfigName.setDescription("A textual name for the APS group.") apsConfigRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigRowStatus.setDescription("The status of this APS group entry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value. Also,\nall associated apsChanConfigEntry rows must represent\na set of consecutive channel numbers beginning with\n0 or 1, depending on the selected architecture.\n\nWhen set to notInService changes may be made to apsConfigMode,\napsConfigRevert, apsConfigDirection, apsConfigExtraTraffic,\napsConfigSdBerThreshold, apsConfigSfBerThreshold,\nand apsConfigWaitToRestore. Also, associated apsChanConfigTable\nobjects may be added, deleted and modified.") apsConfigMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("onePlusOne", 1), ("oneToN", 2), ("onePlusOneCompatible", 3), ("onePlusOneOptimized", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigMode.setDescription("The architecture of the APS group.\n\nonePlusOne\n\nThe 1+1 architecture permanently bridges the working\nline to the protection line.\n\noneToN\n\nThe 1:n architecture allows one protection channel to\nprotect up to n working channels. When a fault is detected\non one of the n working channels that channel is bridged\nover the protection channel.\n\nonePlusOneCompatible\n\n\n\n\n\n\nThis refers to 1 + 1 bidirectional switching compatible with\n1:n bidirectional switching as specified in ITU-T\nRecommendation G.783 (04/97) section A.3.4.1. Since this\nmode necessitates bidirectional switching, apsConfigDirection\nmust be set to bidirectional whenever onePlusOneCompatible\nis set.\n\nonePlusOneOptimized\n\nThis refers to 1 + 1 bidirectional switching optimized\nfor a network using predominantly 1 + 1 bidirectional\nswitching as specified in ITU-T Recommendation G.783 (04/97)\nsection B.1. Since this mode necessitates bidirectional\nswitching, apsConfigDirection must be set to bidirectional\nwhenever onePlusOneOptimized is set.\n\nThis object may not be modified if the associated\napsConfigRowStatus object is equal to active(1).") apsConfigRevert = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("nonrevertive", 1), ("revertive", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigRevert.setDescription("The revertive mode of the APS group.\n\nnonrevertive\n\nTraffic remains on the protection line until another switch\nrequest is received.\n\nrevertive\n\nWhen the condition that caused a switch to the protection\nline has been cleared the signal is switched back to the\nworking line. Since switching is revertive with the 1:n\narchitecture, apsConfigRevert must be set to revertive if\napsConfigMode is set to oneToN.\n\nSwitching may optionally be revertive with the 1+1 architecture.\n\nThis object may not be modified if the associated\napsConfigRowStatus object is equal to active(1). ") apsConfigDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("unidirectional", 1), ("bidirectional", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigDirection.setDescription("The directional mode of the APS group.\n\nunidirectional\n\nThe unidirectional mode provides protection in one direction.\n\nbidirectional\n\nThe bidirectional mode provides protection in both\ndirections.\n\nThis object may not be modified if the associated\napsConfigRowStatus object is equal to active(1). ") apsConfigExtraTraffic = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigExtraTraffic.setDescription("This object enables or disables the transfer of extra traffic\non the protection channel in a 1:n architecture. This object\nmust be set to disabled if the architecture is 1+1. It may be\nnecessary to disable this in order to interwork with other SONET\nnetwork elements that don't support extra traffic.\n\nThis object may not be modified if the associated\napsConfigRowStatus object is equal to active(1). ") apsConfigSdBerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 9)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigSdBerThreshold.setDescription("The Signal Degrade Bit Error Rate.\n\nThe negated value of this number is used as the exponent of\n10 for computing the threshold value for the Bit Error Rate\n(BER). For example, a value of 5 indicates a BER threshold of\n10^-5.\n\n\n\nThis object may be modified if the associated\napsConfigRowStatus object is equal to active(1).") apsConfigSfBerThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 5)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigSfBerThreshold.setDescription("The Signal Failure Bit Error Rate.\n\nThe negated value of this number is used as the exponent of\n10 for computing the threshold value for the Bit Error Rate\n(BER). For example, a value of 5 indicates a BER threshold of\n10^-5.\n\nThis object may be modified if the associated\napsConfigRowStatus object is equal to active(1).") apsConfigWaitToRestore = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 720)).clone(300)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigWaitToRestore.setDescription("The Wait To Restore period in seconds.\n\nAfter clearing of a condition that necessitated an\nautomatic switch, the wait to restore period must elapse\nbefore reverting. This is intended to avoid rapid switch\noscillations.\n\nGR-253-CORE specifies a Wait To Restore range of 5 to 12\nminutes. G.783 defines a 5 to 12 minute Wait To Restore\nrange in section 5.4.1.1.3, but also allows for a shorter\nWTR period in Table 2-1,\nWaitToRestore value (MI_WTRtime: 0..(5)..12 minutes).\n\nThis object may not be modified if the associated\napsConfigRowStatus object is equal to active(1).") apsConfigCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsConfigCreationTime.setDescription("The value of sysUpTime at the time the row was\ncreated") apsConfigStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 1, 2, 1, 11), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsConfigStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") apsStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 49, 1, 2)) if mibBuilder.loadTexts: apsStatusTable.setDescription("This table provides status information about APS groups\nthat have been configured on the system.") apsStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1)) if mibBuilder.loadTexts: apsStatusEntry.setDescription("A conceptual row in the apsStatusTable.") apsStatusK1K2Rcv = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 1), ApsK1K2()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusK1K2Rcv.setDescription("The current value of the K1 and K2 bytes received on the\nprotection channel.") apsStatusK1K2Trans = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 2), ApsK1K2()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusK1K2Trans.setDescription("The current value of the K1 and K2 bytes transmitted on the\nprotection channel.") apsStatusCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 3), Bits().subtype(namedValues=NamedValues(("modeMismatch", 0), ("channelMismatch", 1), ("psbf", 2), ("feplf", 3), ("extraTraffic", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusCurrent.setDescription("The current status of the APS group.\n\nmodeMismatch\n\nModes other than 1+1 unidirectional monitor protection line\nK2 bit 5, which indicates the architecture and K2 bits\n6-8, which indicate if the mode is unidirectional or\nbidirectional. A conflict between the current local mode\nand the received K2 mode information constitutes a\nmode mismatch.\n\n\n\n\nchannelMismatch\n\nThis bit indicates a mismatch between the transmitted K1\nchannel and the received K2 channel has been detected.\n\npsbf\n\nThis bit indicates a Protection Switch Byte Failure (PSBF) is\nin effect. This condition occurs when either an inconsistent\nAPS byte or an invalid code is detected. An inconsistent APS\nbyte occurs when no three consecutive K1 bytes of the last 12\nsuccessive frames are identical, starting with the last frame\ncontaining a previously consistent byte. An invalid code occurs\nwhen the incoming K1 byte contains an unused code or a code\nirrelevant for the specific switching operation (e.g., Reverse\nRequest while no switching request is outstanding) in three\nconsecutive frames. An invalid code also occurs when the\nincoming K1 byte contains an invalid channel number in three\nconsecutive frames.\n\nfeplf\n\nModes other than 1+1 unidirectional monitor the K1 byte\nfor Far-End Protection-Line failures. A Far-End\nProtection-Line defect is declared based on receiving\nSF on the protection line.\n\nextraTraffic\n\nThis bit indicates whether extra traffic is currently being\naccepted on the protection line. ") apsStatusModeMismatches = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusModeMismatches.setDescription("A count of Mode Mismatch conditions.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsStatusDiscontinuityTime.") apsStatusChannelMismatches = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusChannelMismatches.setDescription("A count of Channel Mismatch conditions.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsStatusDiscontinuityTime.") apsStatusPSBFs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusPSBFs.setDescription("A count of Protection Switch Byte Failure conditions.\nThis condition occurs when either an inconsistent APS\nbyte or an invalid code is detected. An inconsistent APS\nbyte occurs when no three consecutive K1 bytes of the last\n12 successive frames are identical, starting with the last\nframe containing a previously consistent byte. An invalid\ncode occurs when the incoming K1 byte contains an unused\ncode or a code irrelevant for the specific switching\noperation (e.g., Reverse Request while no switching request\nis outstanding) in three consecutive frames. An invalid code\nalso occurs when the incoming K1 byte contains an invalid\nchannel number in three consecutive frames.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsStatusDiscontinuityTime.") apsStatusFEPLFs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusFEPLFs.setDescription("A count of Far-End Protection-Line Failure conditions.\nThis condition is declared based on receiving SF on\nthe protection line in the K1 byte.\n\n\n\n\n\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsStatusDiscontinuityTime.") apsStatusSwitchedChannel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusSwitchedChannel.setDescription("This field is set to the number of the channel that is\ncurrently switched to protection. The value 0 indicates no\nchannel is switched to protection. The values 1-14 indicate\nthat working channel is switched to protection.") apsStatusDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 2, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsStatusDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany one or more of this APS group's counters suffered a\ndiscontinuity. The relevant counters are the specific\ninstances associated with this APS group of any Counter32\nobject contained in apsStatusTable. If no such\ndiscontinuities have occurred since the last re-initialization\nof the local management subsystem, then this object contains\na zero value.") apsMap = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 1, 3)) apsChanLTEs = MibScalar((1, 3, 6, 1, 2, 1, 10, 49, 1, 3, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanLTEs.setDescription("The count of SONET LTE interfaces on the system.\nEach interface that is included has an ifType value of\nsonet(39).") apsMapTable = MibTable((1, 3, 6, 1, 2, 1, 10, 49, 1, 3, 2)) if mibBuilder.loadTexts: apsMapTable.setDescription("This table lists the SONET LTE interfaces on the system.\nEach interface that is listed has an ifType value of\nsonet(39).") apsMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 49, 1, 3, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: apsMapEntry.setDescription("A conceptual row in the apsMapTable.") apsMapGroupName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 3, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: apsMapGroupName.setDescription("A textual name for the APS group which this channel is\nincluded in. If the channel is not part of an APS group\nthis value is set to a string of size 0.\n\nWhen an instance of apsChanConfigIfIndex is set equal to an\ninstance of ifIndex that has an ifType value of sonet(39),\napsMapGroupName is set equal to the corresponding value of\napsChanConfigGroupName.\n\nIf an instance of ifIndex that has an ifType value of\nsonet(39) ceases to be equal to an instance of\napsChanConfigIfIndex, either because of a change in the value\nof apsChanConfigIfIndex, or because of row deletion in the\nApsChanConfigTable, apsMapGroupName is set to a string of\nsize 0.") apsMapChanNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 14))).setMaxAccess("readonly") if mibBuilder.loadTexts: apsMapChanNumber.setDescription("This field is set to a unique channel number within an APS\ngroup. The value 0 indicates the null channel. The values\n1-14 define a working channel. If the SONET LTE is not part\nof an APS group this value is set to -1.\n\nWhen an instance of apsChanConfigIfIndex is set equal to an\ninstance of ifIndex that has an ifType value of sonet(39),\napsMapChanNumber is set equal to the corresponding value of\napsChanConfigNumber.\n\nIf an instance of ifIndex that has an ifType value of\nsonet(39) ceases to be equal to an instance of\napsChanConfigIfIndex, either because of a change in the\nvalue of apsChanConfigIfIndex, or because of row deletion\nin the ApsChanConfigTable, apsMapChanNumber is set to -1.") apsChanConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 49, 1, 4)) if mibBuilder.loadTexts: apsChanConfigTable.setDescription("This table lists the APS channels that have been configured\nin APS groups.") apsChanConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 49, 1, 4, 1)).setIndexNames((0, "APS-MIB", "apsChanConfigGroupName"), (0, "APS-MIB", "apsChanConfigNumber")) if mibBuilder.loadTexts: apsChanConfigEntry.setDescription("A conceptual row in the apsChanConfigTable.") apsChanConfigGroupName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 4, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apsChanConfigGroupName.setDescription("A textual name for the APS group which this channel is\nincluded in.") apsChanConfigNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14))).setMaxAccess("noaccess") if mibBuilder.loadTexts: apsChanConfigNumber.setDescription("This field is set to a unique channel number within an APS\ngroup. The value 0 indicates the null channel. The values\n1-14 define a working channel.\n\nThis field must be assigned a unique number within the group.") apsChanConfigRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 4, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsChanConfigRowStatus.setDescription("The status of this APS channel entry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nA row in the apsChanConfigTable may not be created,\ndeleted, set to notInService or otherwise modified\nif the apsChanConfigGroupName value is equal to an\napsConfigName value and the associated apsConfigRowStatus\nobject is equal to active. However, if the apsConfigRowStatus\nobject is equal to notInService, a row may be created, deleted\nor modified. In other words, a channel may not be added,\ndeleted or modified if the group is active.\n\n\n\nA row may be created with an apsChanConfigGroupName value\nthat is not equal to any existing instance of apsConfigName.\nThis action is the initial step in adding a SONET LTE to a\nnew APS group.\n\nIf this object is set to destroy, the associated instance\nof apsMapGroupName will be set to a string of size 0 and\nthe apsMapChanNumber will be set to -1. The channel status\nentry will also be deleted by this action.\n\napsChanConfigNumber must be set to a unique channel number\nwithin the APS group. The value 0 indicates the null channel.\nThe values 1-14 define a working channel. When an attempt is\nmade to set the corresponding apsConfigRowStatus field to\nactive the apsChanConfigNumber values of all entries with equal\napsChanConfigGroupName fields must represent a set of\nconsecutive integer values beginning with 0 or 1, depending on\nthe architecture of the group, and ending with n, where n is\ngreater than or equal to 1 and less than or equal to 14.\nOtherwise, the error inconsistentValue is returned to the\napsConfigRowStatus set attempt.") apsChanConfigIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 4, 1, 4), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsChanConfigIfIndex.setDescription("The Interface Index assigned to a SONET LTE. This is an\ninterface with ifType sonet(39). The value of this object\nmust be unique among all instances of apsChanConfigIfIndex.\nIn other words, a particular SONET LTE can only be configured\nin one APS group.\n\nThis object cannot be set if the apsChanConfigGroupName\ninstance associated with this row is equal to an instance of\napsConfigName and the corresponding apsConfigRowStatus object\nis set to active. In other words this value cannot be changed\nif the APS group is active. However, this value may be changed\nif the apsConfigRowStatus value is equal to notInService.") apsChanConfigPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("low", 1), ("high", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsChanConfigPriority.setDescription("The priority of the channel.\n\n\n\nThis field determines whether high or low priority\nSD and SF codes are used in K1 requests.\n\nThis field is only applicable if the channel is to be included\nin a group using the 1:n architecture. It is not applicable if\nthe channel is to be included in a group using the 1+1\narchitecture, and is ignored in that case.\n\nThis object cannot be set if the apsChanConfigGroupName\ninstance associated with this row is equal to an instance of\napsConfigName and the corresponding apsConfigRowStatus object\nis set to active. In other words this value cannot be changed\nif the APS group is active. However, this value may be changed\nif the apsConfigRowStatus value is equal to notInService.") apsChanConfigStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 4, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: apsChanConfigStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") apsCommandTable = MibTable((1, 3, 6, 1, 2, 1, 10, 49, 1, 5)) if mibBuilder.loadTexts: apsCommandTable.setDescription("This table allows commands to be sent to configured APS\ngroups.") apsCommandEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 49, 1, 5, 1)).setIndexNames((0, "APS-MIB", "apsChanConfigGroupName"), (0, "APS-MIB", "apsChanConfigNumber")) if mibBuilder.loadTexts: apsCommandEntry.setDescription("A conceptual row in the apsCommandTable. This row exists only\nif the associated apsConfigEntry is active.") apsCommandSwitch = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 5, 1, 1), ApsSwitchCommand()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apsCommandSwitch.setDescription("Allows the initiation of an APS switch command on the\nAPS group and channel specified by the index values.\n\nWhen read this object returns the last command written\nor noCmd if no command has been written to this\nchannel since initialization. The return of the last command\nwritten does not imply that this command is currently in\neffect. This request may have been preempted by a higher\npriority local or remote request. In order to determine the\ncurrent state of the APS group it is necessary to read\nthe objects apsStatusK1K2Rcv and apsStatusK1K2Trans.\n\nThe value lockoutOfProtection should only be applied to the\nprotection line channel since that switch command prevents any\nof the working channels from switching to the protection line.\nFollowing the same logic, forcedSwitchProtectToWork and\nmanualSwitchProtectToWork should only be applied to the\nprotection line channel.\n\nforcedSwitchWorkToProtect and manualSwitchWorkToProtect\nshould only be applied to a working channel.") apsCommandControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 5, 1, 2), ApsControlCommand()).setMaxAccess("readwrite") if mibBuilder.loadTexts: apsCommandControl.setDescription("Allows the initiation of an APS control command on the\nAPS group and channel specified by the index values.\n\n\n\n\n\n\nWhen read this object returns the last command written or\nnoCmd if no command has been written to this channel since\ninitialization.\n\nThis object does not apply to the protection line.") apsChanStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 49, 1, 6)) if mibBuilder.loadTexts: apsChanStatusTable.setDescription("This table contains status information for all SONET LTE\ninterfaces that are included in APS groups.") apsChanStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1)) if mibBuilder.loadTexts: apsChanStatusEntry.setDescription("A conceptual row in the apsChanStatusTable.") apsChanStatusCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1, 1), Bits().subtype(namedValues=NamedValues(("lockedOut", 0), ("sd", 1), ("sf", 2), ("switched", 3), ("wtr", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanStatusCurrent.setDescription("Indicates the current state of the port.\n\nlockedOut\n\nThis bit, when applied to a working channel, indicates that\nthe channel is prevented from switching to the protection\nline. When applied to the null channel, this bit indicates\nthat no working channel may switch to the protection line.\n\nsd\n\nA signal degrade condition is in effect.\n\nsf\n\nA signal failure condition is in effect.\n\nswitched\n\nThe switched bit is applied to a working channel if that\nchannel is currently switched to the protection line.\n\nwtr\n\nA Wait-to-Restore state is in effect.") apsChanStatusSignalDegrades = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanStatusSignalDegrades.setDescription("A count of Signal Degrade conditions. This condition\noccurs when the line Bit Error Rate exceeds the currently\nconfigured value of the relevant instance of\napsConfigSdBerThreshold.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsChanStatusDiscontinuityTime.") apsChanStatusSignalFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanStatusSignalFailures.setDescription("A count of Signal Failure conditions that have been\ndetected on the incoming signal. This condition occurs\nwhen a loss of signal, loss of frame, AIS-L or a Line\nbit error rate exceeding the currently configured value of\nthe relevant instance of apsConfigSfBerThreshold.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsChanStatusDiscontinuityTime.") apsChanStatusSwitchovers = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanStatusSwitchovers.setDescription("When queried with index value apsChanConfigNumber other than\n0, this object will return the number of times this channel\nhas switched to the protection line.\n\nWhen queried with index value apsChanConfigNumber set to 0,\nwhich is the protection line, this object will return the\nnumber of times that any working channel has been switched\nback to the working line from this protection line.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsChanStatusDiscontinuityTime.") apsChanStatusLastSwitchover = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanStatusLastSwitchover.setDescription("When queried with index value apsChanConfigNumber other than\n0, this object will return the value of sysUpTime when this\nchannel last completed a switch to the protection line. If\n\n\n\n\nthis channel has never switched to the protection line, the\nvalue 0 will be returned.\n\nWhen queried with index value apsChanConfigNumber set to 0,\nwhich is the protection line, this object will return the\nvalue of sysUpTime the last time that a working channel was\nswitched back to the working line from this protection line.\nIf no working channel has ever switched back to the working\nline from this protection line, the value 0 will be returned.") apsChanStatusSwitchoverSeconds = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanStatusSwitchoverSeconds.setDescription("The cumulative Protection Switching Duration (PSD) time in\nseconds. For a working channel, this is the cumulative number\nof seconds that service was carried on the protection line.\nFor the protection line, this is the cumulative number of\nseconds that the protection line has been used to carry any\nworking channel traffic. This information is only valid if\nrevertive switching is enabled. The value 0 will be returned\notherwise.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\napsChanStatusDiscontinuityTime. For example, if the value\nof an instance of apsChanStatusSwitchoverSeconds changes\nfrom a non-zero value to zero due to revertive switching\nbeing disabled, it is expected that the corresponding\nvalue of apsChanStatusDiscontinuityTime will be updated\nto reflect the time of the configuration change.") apsChanStatusDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 49, 1, 6, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: apsChanStatusDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany one or more of this channel's counters suffered a\ndiscontinuity. The relevant counters are the specific\ninstances associated with this channel of any Counter32\nobject contained in apsChanStatusTable. If no such\n\n\n\ndiscontinuities have occurred since the last re-initialization\nof the local management subsystem, then this object contains\na zero value.") apsNotificationEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 49, 1, 7), Bits().subtype(namedValues=NamedValues(("switchover", 0), ("modeMismatch", 1), ("channelMismatch", 2), ("psbf", 3), ("feplf", 4), )).clone(())).setMaxAccess("readwrite") if mibBuilder.loadTexts: apsNotificationEnable.setDescription("Provides the ability to enable and disable notifications\ndefined in this MIB.\n\nswitchover\n\nIndicates apsEventSwitchover notifications\nshould be generated.\n\nmodeMismatch\n\nIndicates apsEventModeMismatch notifications\nshould be generated.\n\nchannelMismatch\n\nIndicates apsEventChannelMismatch notifications\nshould be generated.\n\npsbf\n\nIndicates apsEventPSBF notifications\nshould be generated.\n\nfeplf\n\nIndicates apsEventFEPLF notifications\nshould be generated. ") apsMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 2)) apsNotificationsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 2, 0)) apsMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 3)) apsGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 3, 1)) apsCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 49, 3, 2)) # Augmentions apsChanConfigEntry.registerAugmentions(("APS-MIB", "apsChanStatusEntry")) apsChanStatusEntry.setIndexNames(*apsChanConfigEntry.getIndexNames()) apsConfigEntry.registerAugmentions(("APS-MIB", "apsStatusEntry")) apsStatusEntry.setIndexNames(*apsConfigEntry.getIndexNames()) # Notifications apsEventSwitchover = NotificationType((1, 3, 6, 1, 2, 1, 10, 49, 2, 0, 1)).setObjects(*(("APS-MIB", "apsChanStatusCurrent"), ("APS-MIB", "apsChanStatusSwitchovers"), ) ) if mibBuilder.loadTexts: apsEventSwitchover.setDescription("An apsEventSwitchover notification is sent when the\nvalue of an instance of apsChanStatusSwitchovers increments.") apsEventModeMismatch = NotificationType((1, 3, 6, 1, 2, 1, 10, 49, 2, 0, 2)).setObjects(*(("APS-MIB", "apsStatusModeMismatches"), ("APS-MIB", "apsStatusCurrent"), ) ) if mibBuilder.loadTexts: apsEventModeMismatch.setDescription("An apsEventModeMismatch notification is sent when the\nvalue of an instance of apsStatusModeMismatches increments.") apsEventChannelMismatch = NotificationType((1, 3, 6, 1, 2, 1, 10, 49, 2, 0, 3)).setObjects(*(("APS-MIB", "apsStatusCurrent"), ("APS-MIB", "apsStatusChannelMismatches"), ) ) if mibBuilder.loadTexts: apsEventChannelMismatch.setDescription("An apsEventChannelMismatch notification is sent when the\nvalue of an instance of apsStatusChannelMismatches increments.") apsEventPSBF = NotificationType((1, 3, 6, 1, 2, 1, 10, 49, 2, 0, 4)).setObjects(*(("APS-MIB", "apsStatusPSBFs"), ("APS-MIB", "apsStatusCurrent"), ) ) if mibBuilder.loadTexts: apsEventPSBF.setDescription("An apsEventPSBF notification is sent when the\nvalue of an instance of apsStatusPSBFs increments.") apsEventFEPLF = NotificationType((1, 3, 6, 1, 2, 1, 10, 49, 2, 0, 5)).setObjects(*(("APS-MIB", "apsStatusFEPLFs"), ("APS-MIB", "apsStatusCurrent"), ) ) if mibBuilder.loadTexts: apsEventFEPLF.setDescription("An apsEventFEPLFs notification is sent when the\nvalue of an instance of apsStatusFEPLFs increments.") # Groups apsConfigGeneral = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 1)).setObjects(*(("APS-MIB", "apsConfigRowStatus"), ("APS-MIB", "apsConfigDirection"), ("APS-MIB", "apsConfigSdBerThreshold"), ("APS-MIB", "apsNotificationEnable"), ("APS-MIB", "apsConfigMode"), ("APS-MIB", "apsConfigSfBerThreshold"), ("APS-MIB", "apsConfigStorageType"), ("APS-MIB", "apsConfigExtraTraffic"), ("APS-MIB", "apsConfigRevert"), ("APS-MIB", "apsConfigCreationTime"), ) ) if mibBuilder.loadTexts: apsConfigGeneral.setDescription("A collection of apsConfigTable objects providing configuration\ninformation applicable to all linear APS groups.") apsConfigWtr = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 2)).setObjects(*(("APS-MIB", "apsConfigWaitToRestore"), ) ) if mibBuilder.loadTexts: apsConfigWtr.setDescription("The apsConfigTable object that provides information which is\napplicable to groups supporting a configurable WTR period.") apsCommandOnePlusOne = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 3)).setObjects(*(("APS-MIB", "apsCommandSwitch"), ) ) if mibBuilder.loadTexts: apsCommandOnePlusOne.setDescription("The apsCommandTable object which is applicable to groups\nimplementing the linear APS 1+1 architecture. Also, set\noperations must be supported.") apsCommandOneToN = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 4)).setObjects(*(("APS-MIB", "apsCommandControl"), ("APS-MIB", "apsCommandSwitch"), ) ) if mibBuilder.loadTexts: apsCommandOneToN.setDescription("A collection of apsCommandTable objects which are applicable to\ngroups implementing the linear APS 1:n architecture. Also, set\noperations must be supported.") apsStatusGeneral = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 5)).setObjects(*(("APS-MIB", "apsStatusK1K2Rcv"), ("APS-MIB", "apsStatusFEPLFs"), ("APS-MIB", "apsStatusModeMismatches"), ("APS-MIB", "apsStatusDiscontinuityTime"), ("APS-MIB", "apsStatusCurrent"), ("APS-MIB", "apsStatusPSBFs"), ("APS-MIB", "apsStatusChannelMismatches"), ("APS-MIB", "apsStatusSwitchedChannel"), ("APS-MIB", "apsStatusK1K2Trans"), ) ) if mibBuilder.loadTexts: apsStatusGeneral.setDescription("A collection of apsStatusTable objects providing status\ninformation applicable to all linear APS groups.") apsChanGeneral = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 6)).setObjects(*(("APS-MIB", "apsChanStatusCurrent"), ("APS-MIB", "apsChanStatusLastSwitchover"), ("APS-MIB", "apsChanStatusSignalDegrades"), ("APS-MIB", "apsChanConfigIfIndex"), ("APS-MIB", "apsChanConfigRowStatus"), ("APS-MIB", "apsChanStatusSwitchovers"), ("APS-MIB", "apsChanStatusSignalFailures"), ("APS-MIB", "apsChanStatusSwitchoverSeconds"), ("APS-MIB", "apsChanConfigStorageType"), ("APS-MIB", "apsChanStatusDiscontinuityTime"), ) ) if mibBuilder.loadTexts: apsChanGeneral.setDescription("A collection of channel objects providing information\napplicable to all linear APS channels.") apsChanOneToN = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 7)).setObjects(*(("APS-MIB", "apsChanConfigPriority"), ) ) if mibBuilder.loadTexts: apsChanOneToN.setDescription("The apsChanConfigTable object that provides information which\nis only applicable to groups implementing the linear APS 1:n\narchitecture.") apsTotalsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 8)).setObjects(*(("APS-MIB", "apsChanLTEs"), ("APS-MIB", "apsConfigGroups"), ) ) if mibBuilder.loadTexts: apsTotalsGroup.setDescription("A collection of objects providing optional counts of configured\nAPS groups and SONET LTE interfaces.") apsMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 9)).setObjects(*(("APS-MIB", "apsMapChanNumber"), ("APS-MIB", "apsMapGroupName"), ) ) if mibBuilder.loadTexts: apsMapGroup.setDescription("A collection of apsMapTable objects providing a mapping\nfrom sonet(39) InterfaceIndex to group name and channel\nnumber for assigned APS channels and a list of unassigned\nsonet(39) interfaces.") apsEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 49, 3, 1, 10)).setObjects(*(("APS-MIB", "apsEventFEPLF"), ("APS-MIB", "apsEventSwitchover"), ("APS-MIB", "apsEventModeMismatch"), ("APS-MIB", "apsEventChannelMismatch"), ("APS-MIB", "apsEventPSBF"), ) ) if mibBuilder.loadTexts: apsEventGroup.setDescription("A collection of SONET linear APS notifications.") # Compliances apsFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 49, 3, 2, 1)).setObjects(*(("APS-MIB", "apsConfigGeneral"), ("APS-MIB", "apsChanOneToN"), ("APS-MIB", "apsCommandOneToN"), ("APS-MIB", "apsConfigWtr"), ("APS-MIB", "apsStatusGeneral"), ("APS-MIB", "apsCommandOnePlusOne"), ("APS-MIB", "apsChanGeneral"), ("APS-MIB", "apsMapGroup"), ("APS-MIB", "apsTotalsGroup"), ("APS-MIB", "apsEventGroup"), ) ) if mibBuilder.loadTexts: apsFullCompliance.setDescription("When this MIB is implemented with support for read-create, then\nsuch an implementation can claim read/write compliance. Linear\nAPS groups can then be both monitored and configured with this\nMIB.\n\nNote that An agent is not required to process SNMP Set Requests\nthat affect multiple control objects within this MIB. This is\nintended to simplify the processing of Set Requests for the\nvarious control tables by eliminating the possibility that a\nsingle Set PDU will contain multiple varbinds which are in\nconflict. ") apsReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 49, 3, 2, 2)).setObjects(*(("APS-MIB", "apsConfigGeneral"), ("APS-MIB", "apsChanOneToN"), ("APS-MIB", "apsCommandOneToN"), ("APS-MIB", "apsConfigWtr"), ("APS-MIB", "apsStatusGeneral"), ("APS-MIB", "apsCommandOnePlusOne"), ("APS-MIB", "apsChanGeneral"), ("APS-MIB", "apsMapGroup"), ("APS-MIB", "apsTotalsGroup"), ("APS-MIB", "apsEventGroup"), ) ) if mibBuilder.loadTexts: apsReadOnlyCompliance.setDescription("When this MIB is implemented without support for read-create\n(i.e. in read-only mode), then that implementation can claim\nread-only compliance. In that case, linear APS groups can be\nmonitored but cannot be configured with this MIB.") # Exports # Module identity mibBuilder.exportSymbols("APS-MIB", PYSNMP_MODULE_ID=apsMIB) # Types mibBuilder.exportSymbols("APS-MIB", ApsControlCommand=ApsControlCommand, ApsK1K2=ApsK1K2, ApsSwitchCommand=ApsSwitchCommand) # Objects mibBuilder.exportSymbols("APS-MIB", apsMIB=apsMIB, apsMIBObjects=apsMIBObjects, apsConfig=apsConfig, apsConfigGroups=apsConfigGroups, apsConfigTable=apsConfigTable, apsConfigEntry=apsConfigEntry, apsConfigName=apsConfigName, apsConfigRowStatus=apsConfigRowStatus, apsConfigMode=apsConfigMode, apsConfigRevert=apsConfigRevert, apsConfigDirection=apsConfigDirection, apsConfigExtraTraffic=apsConfigExtraTraffic, apsConfigSdBerThreshold=apsConfigSdBerThreshold, apsConfigSfBerThreshold=apsConfigSfBerThreshold, apsConfigWaitToRestore=apsConfigWaitToRestore, apsConfigCreationTime=apsConfigCreationTime, apsConfigStorageType=apsConfigStorageType, apsStatusTable=apsStatusTable, apsStatusEntry=apsStatusEntry, apsStatusK1K2Rcv=apsStatusK1K2Rcv, apsStatusK1K2Trans=apsStatusK1K2Trans, apsStatusCurrent=apsStatusCurrent, apsStatusModeMismatches=apsStatusModeMismatches, apsStatusChannelMismatches=apsStatusChannelMismatches, apsStatusPSBFs=apsStatusPSBFs, apsStatusFEPLFs=apsStatusFEPLFs, apsStatusSwitchedChannel=apsStatusSwitchedChannel, apsStatusDiscontinuityTime=apsStatusDiscontinuityTime, apsMap=apsMap, apsChanLTEs=apsChanLTEs, apsMapTable=apsMapTable, apsMapEntry=apsMapEntry, apsMapGroupName=apsMapGroupName, apsMapChanNumber=apsMapChanNumber, apsChanConfigTable=apsChanConfigTable, apsChanConfigEntry=apsChanConfigEntry, apsChanConfigGroupName=apsChanConfigGroupName, apsChanConfigNumber=apsChanConfigNumber, apsChanConfigRowStatus=apsChanConfigRowStatus, apsChanConfigIfIndex=apsChanConfigIfIndex, apsChanConfigPriority=apsChanConfigPriority, apsChanConfigStorageType=apsChanConfigStorageType, apsCommandTable=apsCommandTable, apsCommandEntry=apsCommandEntry, apsCommandSwitch=apsCommandSwitch, apsCommandControl=apsCommandControl, apsChanStatusTable=apsChanStatusTable, apsChanStatusEntry=apsChanStatusEntry, apsChanStatusCurrent=apsChanStatusCurrent, apsChanStatusSignalDegrades=apsChanStatusSignalDegrades, apsChanStatusSignalFailures=apsChanStatusSignalFailures, apsChanStatusSwitchovers=apsChanStatusSwitchovers, apsChanStatusLastSwitchover=apsChanStatusLastSwitchover, apsChanStatusSwitchoverSeconds=apsChanStatusSwitchoverSeconds, apsChanStatusDiscontinuityTime=apsChanStatusDiscontinuityTime, apsNotificationEnable=apsNotificationEnable, apsMIBNotifications=apsMIBNotifications, apsNotificationsPrefix=apsNotificationsPrefix, apsMIBConformance=apsMIBConformance, apsGroups=apsGroups, apsCompliances=apsCompliances) # Notifications mibBuilder.exportSymbols("APS-MIB", apsEventSwitchover=apsEventSwitchover, apsEventModeMismatch=apsEventModeMismatch, apsEventChannelMismatch=apsEventChannelMismatch, apsEventPSBF=apsEventPSBF, apsEventFEPLF=apsEventFEPLF) # Groups mibBuilder.exportSymbols("APS-MIB", apsConfigGeneral=apsConfigGeneral, apsConfigWtr=apsConfigWtr, apsCommandOnePlusOne=apsCommandOnePlusOne, apsCommandOneToN=apsCommandOneToN, apsStatusGeneral=apsStatusGeneral, apsChanGeneral=apsChanGeneral, apsChanOneToN=apsChanOneToN, apsTotalsGroup=apsTotalsGroup, apsMapGroup=apsMapGroup, apsEventGroup=apsEventGroup) # Compliances mibBuilder.exportSymbols("APS-MIB", apsFullCompliance=apsFullCompliance, apsReadOnlyCompliance=apsReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DISMAN-TRACEROUTE-MIB.py0000644000014400001440000014245211736645135022072 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DISMAN-TRACEROUTE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:49 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( OperationResponseStatus, ) = mibBuilder.importSymbols("DISMAN-PING-MIB", "OperationResponseStatus") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, RowStatus, StorageType, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "StorageType", "TruthValue") # Objects traceRouteMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 81)).setRevisions(("2006-06-13 00:00","2000-09-21 00:00",)) if mibBuilder.loadTexts: traceRouteMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: traceRouteMIB.setContactInfo("Juergen Quittek\n\nNEC Europe Ltd.\nNetwork Laboratories\nKurfuersten-Anlage 36\n69115 Heidelberg\nGermany\n\nPhone: +49 6221 4342-115\nEmail: quittek@netlab.nec.de") if mibBuilder.loadTexts: traceRouteMIB.setDescription("The Traceroute MIB (DISMAN-TRACEROUTE-MIB) provides\naccess to the traceroute capability at a remote host.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4560; see the RFC itself for\nfull legal notices.") traceRouteNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 81, 0)) traceRouteObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 81, 1)) traceRouteMaxConcurrentRequests = MibScalar((1, 3, 6, 1, 2, 1, 81, 1, 1), Unsigned32().clone(10)).setMaxAccess("readwrite").setUnits("requests") if mibBuilder.loadTexts: traceRouteMaxConcurrentRequests.setDescription("The maximum number of concurrent active traceroute requests\nthat are allowed within an agent implementation. A value\nof 0 for this object implies that there is no limit for\nthe number of concurrent active requests in effect.\n\nThe limit applies only to new requests being activated.\nWhen a new value is set, the agent will continue processing\nall the requests already active, even if their number\nexceeds the limit just imposed.") traceRouteCtlTable = MibTable((1, 3, 6, 1, 2, 1, 81, 1, 2)) if mibBuilder.loadTexts: traceRouteCtlTable.setDescription("Defines the Remote Operations Traceroute Control Table for\nproviding the capability of invoking traceroute from a remote\nhost. The results of traceroute operations can be stored in\nthe traceRouteResultsTable, traceRouteProbeHistoryTable, and\nthe traceRouteHopsTable.") traceRouteCtlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 81, 1, 2, 1)).setIndexNames((0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlOwnerIndex"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlTestName")) if mibBuilder.loadTexts: traceRouteCtlEntry.setDescription("Defines an entry in the traceRouteCtlTable. The first\nindex element, traceRouteCtlOwnerIndex, is of type\nSnmpAdminString, a textual convention that allows for\nuse of the SNMPv3 View-Based Access Control Model\n(RFC 3415, VACM) and that allows a management\napplication to identify its entries. The second index,\ntraceRouteCtlTestName (also an SnmpAdminString),\nenables the same management application to have\nmultiple requests outstanding.") traceRouteCtlOwnerIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: traceRouteCtlOwnerIndex.setDescription("To facilitate the provisioning of access control by a\nsecurity administrator using the View-Based Access\nControl Model (RFC 3415, VACM) for tables in which\nmultiple users may need to create or\nmodify entries independently, the initial index is used as\nan 'owner index'. Such an initial index has a syntax of\nSnmpAdminString and can thus be trivially mapped to a\nsecurityName or groupName defined in VACM, in\naccordance with a security policy.\n\nWhen used in conjunction with such a security policy,\nall entries in the table belonging to a particular user\n(or group) will have the same value for this initial\nindex. For a given user's entries in a particular\ntable, the object identifiers for the information in\nthese entries will have the same subidentifiers (except\nfor the 'column' subidentifier) up to the end of the\nencoded owner index. To configure VACM to permit access\nto this portion of the table, one would create\nvacmViewTreeFamilyTable entries with the value of\nvacmViewTreeFamilySubtree including the owner index\nportion, and vacmViewTreeFamilyMask 'wildcarding' the\ncolumn subidentifier. More elaborate configurations\nare possible.") traceRouteCtlTestName = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: traceRouteCtlTestName.setDescription("The name of a traceroute test. This is locally unique,\nwithin the scope of a traceRouteCtlOwnerIndex.") traceRouteCtlTargetAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 3), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlTargetAddressType.setDescription("Specifies the type of host address to be used on the\ntraceroute request at the remote host.") traceRouteCtlTargetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 4), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlTargetAddress.setDescription("Specifies the host address used on the\ntraceroute request at the remote host. The\nhost address type can be determined by\nexamining the value of the corresponding\ntraceRouteCtlTargetAddressType.\n\nA value for this object MUST be set prior to\ntransitioning its corresponding traceRouteCtlEntry to\nactive(1) via traceRouteCtlRowStatus.") traceRouteCtlByPassRouteTable = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlByPassRouteTable.setDescription("The purpose of this object is to enable optional\nbypassing the route table. If enabled, the remote\nhost will bypass the normal routing tables and send\ndirectly to a host on an attached network. If the\nhost is not on a directly attached network, an\nerror is returned. This option can be used to perform\nthe traceroute operation to a local host through an\ninterface that has no route defined (e.g., after the\ninterface was dropped by the routing daemon at the host).") traceRouteCtlDataSize = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65507)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlDataSize.setDescription("Specifies the size of the data portion of a traceroute\nrequest, in octets. If the RECOMMENDED traceroute method\n(UDP datagrams as probes) is used, then the value\ncontained in this object MUST be applied. If another\ntraceroute method is used for which the specified size\nis not appropriate, then the implementation SHOULD use\nwhatever size (appropriate to the method) is closest to\nthe specified size.\n\n\n\n\nThe maximum value for this object was computed by\nsubtracting the smallest possible IP header size of\n20 octets (IPv4 header with no options) and the UDP\nheader size of 8 octets from the maximum IP packet size.\nAn IP packet has a maximum size of 65535 octets\n(excluding IPv6 Jumbograms).") traceRouteCtlTimeOut = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlTimeOut.setDescription("Specifies the time-out value, in seconds, for\na traceroute request.") traceRouteCtlProbesPerHop = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlProbesPerHop.setDescription("Specifies the number of times to reissue a traceroute\nrequest with the same time-to-live (TTL) value.") traceRouteCtlPort = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(33434)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlPort.setDescription("Specifies the (initial) UDP port to send the traceroute\nrequest to. A port needs to be specified that is not in\nuse at the destination (target) host. The default\nvalue for this object is the IANA assigned port,\n33434, for the traceroute function.") traceRouteCtlMaxTtl = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlMaxTtl.setDescription("Specifies the maximum time-to-live value.") traceRouteCtlDSField = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlDSField.setDescription("Specifies the value to store in the Type of Service\n(TOS) octet in the IPv4 header or in the Traffic\nClass octet in the IPv6 header, respectively, of the\nIP packet used to encapsulate the traceroute probe.\n\nThe octet to be set in the IP header contains the\nDifferentiated Services (DS) Field in the six most\nsignificant bits.\n\nThis option can be used to determine what effect an\nexplicit DS Field setting has on a traceroute response.\nNot all values are legal or meaningful. A value of 0\nmeans that the function represented by this option is\nnot supported. DS Field usage is often not supported\nby IP implementations, and not all values are supported.\nRefer to RFC 2474 and RFC 3260 for guidance on usage of\nthis field.") traceRouteCtlSourceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 12), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlSourceAddressType.setDescription("Specifies the type of the source address,\ntraceRouteCtlSourceAddress, to be used at a remote host\nwhen a traceroute operation is performed.") traceRouteCtlSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 13), InetAddress().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlSourceAddress.setDescription("Use the specified IP address (which must be given as an\nIP number, not a hostname) as the source address in\noutgoing probe packets. On hosts with more than one IP\naddress, this option can be used to select the address\nto be used. If the IP address is not one of this\nmachine's interface addresses, an error is returned, and\nnothing is sent. A zero-length octet string value for\nthis object disables source address specification.\nThe address type (InetAddressType) that relates to\nthis object is specified by the corresponding value\nof traceRouteCtlSourceAddressType.") traceRouteCtlIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 14), InterfaceIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlIfIndex.setDescription("Setting this object to an interface's ifIndex prior\nto starting a remote traceroute operation directs\nthe traceroute probes to be transmitted over the\nspecified interface. A value of zero for this object\nimplies that this option is not enabled.") traceRouteCtlMiscOptions = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 15), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlMiscOptions.setDescription("Enables an application to specify implementation-dependent\noptions.") traceRouteCtlMaxFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(5)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlMaxFailures.setDescription("The value of this object indicates the maximum number\nof consecutive timeouts allowed before a remote traceroute\nrequest is terminated. A value of either 255 (maximum\nhop count/possible TTL value) or 0 indicates that the\nfunction of terminating a remote traceroute request when a\nspecific number of consecutive timeouts are detected is\ndisabled.") traceRouteCtlDontFragment = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 17), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlDontFragment.setDescription("This object enables setting of the don't fragment flag (DF)\nin the IP header for a probe. Use of this object enables\na manual PATH MTU test is performed.") traceRouteCtlInitialTtl = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 18), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlInitialTtl.setDescription("The value of this object specifies the initial TTL value to\nuse. This enables bypassing the initial (often well known)\nportion of a path.") traceRouteCtlFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 19), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlFrequency.setDescription("The number of seconds to wait before repeating a\ntraceroute test, as defined by the value of the\nvarious objects in the corresponding row.\n\nAfter a single test is completed the number of seconds\nas defined by the value of traceRouteCtlFrequency MUST\nelapse before the next traceroute test is started.\n\nA value of 0 for this object implies that the test\nas defined by the corresponding entry will not be\n\n\nrepeated.") traceRouteCtlStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 20), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") traceRouteCtlAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlAdminStatus.setDescription("Reflects the desired state that an traceRouteCtlEntry\nshould be in:\n\n enabled(1) - Attempt to activate the test as defined by\n this traceRouteCtlEntry.\n disabled(2) - Deactivate the test as defined by this\n traceRouteCtlEntry.\n\nRefer to the corresponding traceRouteResultsOperStatus to\ndetermine the operational state of the test defined by\nthis entry.") traceRouteCtlDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 22), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlDescr.setDescription("The purpose of this object is to provide a\ndescriptive name of the remote traceroute\ntest.") traceRouteCtlMaxRows = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 23), Unsigned32().clone(50)).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlMaxRows.setDescription("The maximum number of corresponding entries allowed\nin the traceRouteProbeHistoryTable. An implementation\nof this MIB will remove the oldest corresponding entry\nin the traceRouteProbeHistoryTable to allow the\naddition of an new entry once the number of\ncorresponding rows in the traceRouteProbeHistoryTable\nreaches this value.\n\nOld entries are not removed when a new test is\nstarted. Entries are added to the\ntraceRouteProbeHistoryTable until traceRouteCtlMaxRows\nis reached before entries begin to be removed.\nA value of 0 for this object disables creation of\ntraceRouteProbeHistoryTable entries.") traceRouteCtlTrapGeneration = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 24), Bits().subtype(namedValues=NamedValues(("pathChange", 0), ("testFailure", 1), ("testCompletion", 2), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlTrapGeneration.setDescription("The value of this object determines when and whether to\ngenerate a notification for this entry:\n\npathChange(0) - Generate a traceRoutePathChange\n notification when the current path varies from a\n previously determined path.\ntestFailure(1) - Generate a traceRouteTestFailed\n notification when the full path to a target\n can't be determined.\ntestCompletion(2) - Generate a traceRouteTestCompleted\n notification when the path to a target has been\n determined.\n\nThe value of this object defaults to an empty set,\nindicating that none of the above options has been\nselected.") traceRouteCtlCreateHopsEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 25), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlCreateHopsEntries.setDescription("The current path for a traceroute test is kept in the\ntraceRouteHopsTable on a per-hop basis when the value of\nthis object is true(1).") traceRouteCtlType = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 26), ObjectIdentifier().clone((1, 3, 6, 1, 2, 1, 81, 3, 1))).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlType.setDescription("The value of this object is used either to report or to\nselect the implementation method to be used for\nperforming a traceroute operation. The value of this\nobject may be selected from\ntraceRouteImplementationTypeDomains.\n\nAdditional implementation types should be allocated as\nrequired by implementers of the DISMAN-TRACEROUTE-MIB\nunder their enterprise specific registration point,\nnot beneath traceRouteImplementationTypeDomains.") traceRouteCtlRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 2, 1, 27), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: traceRouteCtlRowStatus.setDescription("This object allows entries to be created and deleted\nin the traceRouteCtlTable. Deletion of an entry in\nthis table results in a deletion of all corresponding (same\ntraceRouteCtlOwnerIndex and traceRouteCtlTestName\nindex values) traceRouteResultsTable,\ntraceRouteProbeHistoryTable, and traceRouteHopsTable\nentries.\n\nA value MUST be specified for traceRouteCtlTargetAddress\nprior to acceptance of a transition to active(1) state.\n\n\n\n\nWhen a value for pingCtlTargetAddress is set,\nthe value of object pingCtlRowStatus changes\nfrom notReady(3) to notInService(2).\n\nActivation of a remote traceroute operation is\ncontrolled via traceRouteCtlAdminStatus, and not\nby transitioning of this object's value to active(1).\n\nTransitions in and out of active(1) state are not\nallowed while an entry's traceRouteResultsOperStatus\nis active(1), with the exception that deletion of\nan entry in this table by setting its RowStatus\nobject to destroy(6) will stop an active\ntraceroute operation.\n\nThe operational state of an traceroute operation\ncan be determined by examination of the corresponding\ntraceRouteResultsOperStatus object.") traceRouteResultsTable = MibTable((1, 3, 6, 1, 2, 1, 81, 1, 3)) if mibBuilder.loadTexts: traceRouteResultsTable.setDescription("Defines the Remote Operations Traceroute Results Table for\nkeeping track of the status of a traceRouteCtlEntry.\n\nAn entry is added to the traceRouteResultsTable when an\ntraceRouteCtlEntry is started by successful transition\nof its traceRouteCtlAdminStatus object to enabled(1).\n\nIf the object traceRouteCtlAdminStatus already has the value\nenabled(1), and if the corresponding\ntraceRouteResultsOperStatus object has the value\ncompleted(3), then successfully writing enabled(1) to the\nobject traceRouteCtlAdminStatus re-initializes the already\nexisting entry in the traceRouteResultsTable. The values of\nobjects in the re-initialized entry are the same as\nthe values of objects in a new entry would be.\n\nAn entry is removed from the traceRouteResultsTable when\n\n\n\nits corresponding traceRouteCtlEntry is deleted.") traceRouteResultsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 81, 1, 3, 1)).setIndexNames((0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlOwnerIndex"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlTestName")) if mibBuilder.loadTexts: traceRouteResultsEntry.setDescription("Defines an entry in the traceRouteResultsTable. The\ntraceRouteResultsTable has the same indexing as the\ntraceRouteCtlTable so that a traceRouteResultsEntry\ncorresponds to the traceRouteCtlEntry that caused it to\nbe created.") traceRouteResultsOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("completed", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsOperStatus.setDescription("Reflects the operational state of an traceRouteCtlEntry:\n\nenabled(1) - Test is active.\ndisabled(2) - Test has stopped.\ncompleted(3) - Test is completed.") traceRouteResultsCurHopCount = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsCurHopCount.setDescription("Reflects the current TTL value (from 1 to\n255) for a remote traceroute operation.\nMaximum TTL value is determined by\ntraceRouteCtlMaxTtl.") traceRouteResultsCurProbeCount = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsCurProbeCount.setDescription("Reflects the current probe count (1..10) for\na remote traceroute operation. The maximum\nprobe count is determined by\ntraceRouteCtlProbesPerHop.") traceRouteResultsIpTgtAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsIpTgtAddrType.setDescription("This object indicates the type of address stored\nin the corresponding traceRouteResultsIpTgtAddr\nobject.") traceRouteResultsIpTgtAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsIpTgtAddr.setDescription("This object reports the IP address associated\nwith a traceRouteCtlTargetAddress value when the\ndestination address is specified as a DNS name.\nThe value of this object should be a zero-length\noctet string when a DNS name is not specified or\nwhen a specified DNS name fails to resolve.") traceRouteResultsTestAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsTestAttempts.setDescription("The current number of attempts to determine a path\nto a target. The value of this object MUST be started\nat 0.") traceRouteResultsTestSuccesses = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsTestSuccesses.setDescription("The current number of attempts to determine a path\nto a target that have succeeded. The value of this\nobject MUST be reported as 0 when no attempts have\nsucceeded.") traceRouteResultsLastGoodPath = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 3, 1, 8), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteResultsLastGoodPath.setDescription("The date and time when the last complete path\nwas determined. A path is complete if responses\nwere received or timeout occurred for each hop on\nthe path; i.e., for each TTL value from the value\nof the corresponding traceRouteCtlInitialTtl object\nup to the end of the path or (if no reply from the\ntarget IP address was received) up to the value of\nthe corresponding traceRouteCtlMaxTtl object.") traceRouteProbeHistoryTable = MibTable((1, 3, 6, 1, 2, 1, 81, 1, 4)) if mibBuilder.loadTexts: traceRouteProbeHistoryTable.setDescription("Defines the Remote Operations Traceroute Results Table\nfor storing the results of a traceroute operation.\n\nAn implementation of this MIB will remove the oldest\n\n\nentry in the traceRouteProbeHistoryTable of the\ncorresponding entry in the traceRouteCtlTable to allow\nthe addition of a new entry once the number of rows in\nthe traceRouteProbeHistoryTable reaches the value specified\nby traceRouteCtlMaxRows for the corresponding entry in the\ntraceRouteCtlTable.") traceRouteProbeHistoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 81, 1, 4, 1)).setIndexNames((0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlOwnerIndex"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlTestName"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryIndex"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryHopIndex"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryProbeIndex")) if mibBuilder.loadTexts: traceRouteProbeHistoryEntry.setDescription("Defines a table for storing the results of a traceroute\noperation. Entries in this table are limited by\nthe value of the corresponding traceRouteCtlMaxRows\nobject.\n\nThe first two index elements identify the\ntraceRouteCtlEntry that a traceRouteProbeHistoryEntry\nbelongs to. The third index element selects a single\ntraceroute operation result. The fourth and fifth indexes\nselect the hop and the probe for a particular\ntraceroute operation.") traceRouteProbeHistoryIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: traceRouteProbeHistoryIndex.setDescription("An entry in this table is created when the result of\na traceroute probe is determined. The initial 2 instance\nidentifier index values identify the traceRouteCtlEntry\nthat a probe result (traceRouteProbeHistoryEntry) belongs\nto. An entry is removed from this table when\nits corresponding traceRouteCtlEntry is deleted.\n\nAn implementation MUST start assigning\ntraceRouteProbeHistoryIndex values at 1 and wrap after\nexceeding the maximum possible value, as defined by the\nlimit of this object ('ffffffff'h).") traceRouteProbeHistoryHopIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: traceRouteProbeHistoryHopIndex.setDescription("Indicates which hop in a traceroute path the probe's\nresults are for. The value of this object is initially\ndetermined by the value of traceRouteCtlInitialTtl.") traceRouteProbeHistoryProbeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("noaccess") if mibBuilder.loadTexts: traceRouteProbeHistoryProbeIndex.setDescription("Indicates the index of a probe for a particular\nhop in a traceroute path. The number of probes per\nhop is determined by the value of the corresponding\ntraceRouteCtlProbesPerHop object.") traceRouteProbeHistoryHAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteProbeHistoryHAddrType.setDescription("This objects indicates the type of address stored\nin the corresponding traceRouteProbeHistoryHAddr\nobject.") traceRouteProbeHistoryHAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteProbeHistoryHAddr.setDescription("The address of a hop in a traceroute path. This object\nis not allowed to be a DNS name. The value of the\ncorresponding object, traceRouteProbeHistoryHAddrType,\nindicates this object's IP address type.") traceRouteProbeHistoryResponse = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteProbeHistoryResponse.setDescription("The amount of time measured in milliseconds from when\na probe was sent to when its response was received or\nwhen it timed out. The value of this object is reported\nas 0 when it is not possible to transmit a probe.") traceRouteProbeHistoryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 7), OperationResponseStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteProbeHistoryStatus.setDescription("The result of a traceroute operation made by a remote\nhost for a particular probe.") traceRouteProbeHistoryLastRC = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteProbeHistoryLastRC.setDescription("The last implementation-method-specific reply code received.\n\nTraceroute is usually implemented by transmitting a series of\nprobe packets with increasing time-to-live values. A probe\npacket is a UDP datagram encapsulated into an IP packet.\nEach hop in a path to the target (destination) host rejects\nthe probe packets (probe's TTL too small, ICMP reply) until\neither the maximum TTL is exceeded or the target host is\nreceived.") traceRouteProbeHistoryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 4, 1, 9), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteProbeHistoryTime.setDescription("Timestamp for when this probe's results were determined.") traceRouteHopsTable = MibTable((1, 3, 6, 1, 2, 1, 81, 1, 5)) if mibBuilder.loadTexts: traceRouteHopsTable.setDescription("Defines the Remote Operations Traceroute Hop Table for\nkeeping track of the results of traceroute tests on a\nper-hop basis.") traceRouteHopsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 81, 1, 5, 1)).setIndexNames((0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlOwnerIndex"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteCtlTestName"), (0, "DISMAN-TRACEROUTE-MIB", "traceRouteHopsHopIndex")) if mibBuilder.loadTexts: traceRouteHopsEntry.setDescription("Defines an entry in the traceRouteHopsTable.\nThe first two index elements identify the\ntraceRouteCtlEntry that a traceRouteHopsEntry\nbelongs to. The third index element,\ntraceRouteHopsHopIndex, selects a\nhop in a traceroute path.") traceRouteHopsHopIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: traceRouteHopsHopIndex.setDescription("Specifies the hop index for a traceroute hop. Values\nfor this object with respect to the same\ntraceRouteCtlOwnerIndex and traceRouteCtlTestName\nMUST start at 1 and be given increasing values for\nsubsequent hops. The value of traceRouteHopsHopIndex is not\nnecessarily the number of the hop on the traced path.\n\nThe traceRouteHopsTable keeps the current traceroute\npath per traceRouteCtlEntry if enabled by\nsetting the corresponding traceRouteCtlCreateHopsEntries\nto true(1).\n\nAll hops (traceRouteHopsTable entries) in a traceroute\npath MUST be updated at the same time when a traceroute\noperation is completed. Care needs to be applied when a path\neither changes or can't be determined. The initial portion\nof the path, up to the first hop change, MUST retain the\nsame traceRouteHopsHopIndex values. The remaining portion\nof the path SHOULD be assigned new traceRouteHopsHopIndex\nvalues.") traceRouteHopsIpTgtAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsIpTgtAddressType.setDescription("This object indicates the type of address stored\nin the corresponding traceRouteHopsIpTgtAddress\nobject.") traceRouteHopsIpTgtAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsIpTgtAddress.setDescription("This object reports the IP address associated with\n\n\n\nthe hop. A value for this object should be reported\nas a numeric IP address, not as a DNS name.\n\nThe address type (InetAddressType) that relates to\nthis object is specified by the corresponding value\nof pingCtlSourceAddressType.") traceRouteHopsMinRtt = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsMinRtt.setDescription("The minimum traceroute round-trip-time (RTT) received for\nthis hop. A value of 0 for this object implies that no\nRTT has been received.") traceRouteHopsMaxRtt = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsMaxRtt.setDescription("The maximum traceroute round-trip-time (RTT) received for\nthis hop. A value of 0 for this object implies that no\nRTT has been received.") traceRouteHopsAverageRtt = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsAverageRtt.setDescription("The current average traceroute round-trip-time (RTT) for\nthis hop.") traceRouteHopsRttSumOfSquares = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsRttSumOfSquares.setDescription("This object contains the sum of the squares of all\nround-trip-times received for this hop. Its purpose is\nto enable standard deviation calculation.") traceRouteHopsSentProbes = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsSentProbes.setDescription("The value of this object reflects the number of probes sent\nfor this hop during this traceroute test. The value of this\nobject should start at 0.") traceRouteHopsProbeResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsProbeResponses.setDescription("Number of responses received for this hop during this\ntraceroute test. This value of this object should start\nat 0.") traceRouteHopsLastGoodProbe = MibTableColumn((1, 3, 6, 1, 2, 1, 81, 1, 5, 1, 10), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: traceRouteHopsLastGoodProbe.setDescription("Date and time at which the last response was received for a\nprobe for this hop during this traceroute test.") traceRouteConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 81, 2)) traceRouteCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 81, 2, 1)) traceRouteGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 81, 2, 2)) traceRouteImplementationTypeDomains = MibIdentifier((1, 3, 6, 1, 2, 1, 81, 3)) traceRouteUsingUdpProbes = ObjectIdentity((1, 3, 6, 1, 2, 1, 81, 3, 1)) if mibBuilder.loadTexts: traceRouteUsingUdpProbes.setDescription("Indicates that an implementation is using UDP probes to\nperform the traceroute operation.") # Augmentions # Notifications traceRoutePathChange = NotificationType((1, 3, 6, 1, 2, 1, 81, 0, 1)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddrType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddr"), ) ) if mibBuilder.loadTexts: traceRoutePathChange.setDescription("The path to a target has changed.") traceRouteTestFailed = NotificationType((1, 3, 6, 1, 2, 1, 81, 0, 2)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddrType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddr"), ) ) if mibBuilder.loadTexts: traceRouteTestFailed.setDescription("Could not determine the path to a target.") traceRouteTestCompleted = NotificationType((1, 3, 6, 1, 2, 1, 81, 0, 3)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddrType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddr"), ) ) if mibBuilder.loadTexts: traceRouteTestCompleted.setDescription("The path to a target has just been determined.") # Groups traceRouteGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 81, 2, 2, 1)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMaxFailures"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlStorageType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlProbesPerHop"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryResponse"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryStatus"), ("DISMAN-TRACEROUTE-MIB", "traceRouteMaxConcurrentRequests"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlIfIndex"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMiscOptions"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlAdminStatus"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlFrequency"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsTestSuccesses"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlByPassRouteTable"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMaxRows"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlSourceAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDataSize"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDontFragment"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTimeOut"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlRowStatus"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlSourceAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlCreateHopsEntries"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMaxTtl"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryHAddr"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlInitialTtl"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddrType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsCurHopCount"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryLastRC"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTrapGeneration"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsTestAttempts"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDescr"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDSField"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddr"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsOperStatus"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryHAddrType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsCurProbeCount"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlPort"), ) ) if mibBuilder.loadTexts: traceRouteGroup.setDescription("The group of objects that constitute the remote traceroute\noperation.") traceRouteTimeStampGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 81, 2, 2, 2)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryTime"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsLastGoodPath"), ) ) if mibBuilder.loadTexts: traceRouteTimeStampGroup.setDescription("The group of DateAndTime objects.") traceRouteNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 81, 2, 2, 3)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteTestCompleted"), ("DISMAN-TRACEROUTE-MIB", "traceRouteTestFailed"), ("DISMAN-TRACEROUTE-MIB", "traceRoutePathChange"), ) ) if mibBuilder.loadTexts: traceRouteNotificationsGroup.setDescription("The notifications that are required to be supported by\nimplementations of this MIB.") traceRouteHopsTableGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 81, 2, 2, 4)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteHopsProbeResponses"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsSentProbes"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsLastGoodProbe"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsAverageRtt"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsIpTgtAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsMinRtt"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsRttSumOfSquares"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsIpTgtAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsMaxRtt"), ) ) if mibBuilder.loadTexts: traceRouteHopsTableGroup.setDescription("The group of objects that constitute the\ntraceRouteHopsTable.") traceRouteMinimumGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 81, 2, 2, 5)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMaxFailures"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlStorageType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlProbesPerHop"), ("DISMAN-TRACEROUTE-MIB", "traceRouteMaxConcurrentRequests"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlIfIndex"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMiscOptions"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlAdminStatus"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlFrequency"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsTestSuccesses"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlByPassRouteTable"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMaxRows"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlSourceAddressType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDataSize"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDontFragment"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTimeOut"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlSourceAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlCreateHopsEntries"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlMaxTtl"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlInitialTtl"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddrType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsCurHopCount"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTrapGeneration"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlTargetAddress"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsTestAttempts"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDescr"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlDSField"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsIpTgtAddr"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsLastGoodPath"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsOperStatus"), ("DISMAN-TRACEROUTE-MIB", "traceRouteResultsCurProbeCount"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlPort"), ) ) if mibBuilder.loadTexts: traceRouteMinimumGroup.setDescription("The group of objects that constitute the remote traceroute\noperation.") traceRouteCtlRowStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 81, 2, 2, 6)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteCtlRowStatus"), ) ) if mibBuilder.loadTexts: traceRouteCtlRowStatusGroup.setDescription("The RowStatus object of the traceRouteCtlTable.") traceRouteHistoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 81, 2, 2, 7)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryHAddr"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryLastRC"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryTime"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryStatus"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryHAddrType"), ("DISMAN-TRACEROUTE-MIB", "traceRouteProbeHistoryResponse"), ) ) if mibBuilder.loadTexts: traceRouteHistoryGroup.setDescription("The group of objects that constitute the history\ncapability.") # Compliances traceRouteCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 81, 2, 1, 1)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteNotificationsGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsTableGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteTimeStampGroup"), ) ) if mibBuilder.loadTexts: traceRouteCompliance.setDescription("The compliance statement for the DISMAN-TRACEROUTE-MIB.\nThis compliance statement has been deprecated because\nthe traceRouteGroup and the traceRouteTimeStampGroup\nhave been split and deprecated. The\ntraceRouteFullCompliance is semantically identical to the\ndeprecated traceRouteCompliance statement.") traceRouteFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 81, 2, 1, 2)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteHistoryGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsTableGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteNotificationsGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteMinimumGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlRowStatusGroup"), ) ) if mibBuilder.loadTexts: traceRouteFullCompliance.setDescription("The compliance statement for SNMP entities that\nfully implement the DISMAN-TRACEROUTE-MIB.") traceRouteMinimumCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 81, 2, 1, 3)).setObjects(*(("DISMAN-TRACEROUTE-MIB", "traceRouteHistoryGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteHopsTableGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteNotificationsGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteMinimumGroup"), ("DISMAN-TRACEROUTE-MIB", "traceRouteCtlRowStatusGroup"), ) ) if mibBuilder.loadTexts: traceRouteMinimumCompliance.setDescription("The minimum compliance statement for SNMP entities\nwhich implement the minimal subset of the\nDISMAN-TRACEROUTE-MIB. Implementors might choose this\nsubset for small devices with limited resources.") # Exports # Module identity mibBuilder.exportSymbols("DISMAN-TRACEROUTE-MIB", PYSNMP_MODULE_ID=traceRouteMIB) # Objects mibBuilder.exportSymbols("DISMAN-TRACEROUTE-MIB", traceRouteMIB=traceRouteMIB, traceRouteNotifications=traceRouteNotifications, traceRouteObjects=traceRouteObjects, traceRouteMaxConcurrentRequests=traceRouteMaxConcurrentRequests, traceRouteCtlTable=traceRouteCtlTable, traceRouteCtlEntry=traceRouteCtlEntry, traceRouteCtlOwnerIndex=traceRouteCtlOwnerIndex, traceRouteCtlTestName=traceRouteCtlTestName, traceRouteCtlTargetAddressType=traceRouteCtlTargetAddressType, traceRouteCtlTargetAddress=traceRouteCtlTargetAddress, traceRouteCtlByPassRouteTable=traceRouteCtlByPassRouteTable, traceRouteCtlDataSize=traceRouteCtlDataSize, traceRouteCtlTimeOut=traceRouteCtlTimeOut, traceRouteCtlProbesPerHop=traceRouteCtlProbesPerHop, traceRouteCtlPort=traceRouteCtlPort, traceRouteCtlMaxTtl=traceRouteCtlMaxTtl, traceRouteCtlDSField=traceRouteCtlDSField, traceRouteCtlSourceAddressType=traceRouteCtlSourceAddressType, traceRouteCtlSourceAddress=traceRouteCtlSourceAddress, traceRouteCtlIfIndex=traceRouteCtlIfIndex, traceRouteCtlMiscOptions=traceRouteCtlMiscOptions, traceRouteCtlMaxFailures=traceRouteCtlMaxFailures, traceRouteCtlDontFragment=traceRouteCtlDontFragment, traceRouteCtlInitialTtl=traceRouteCtlInitialTtl, traceRouteCtlFrequency=traceRouteCtlFrequency, traceRouteCtlStorageType=traceRouteCtlStorageType, traceRouteCtlAdminStatus=traceRouteCtlAdminStatus, traceRouteCtlDescr=traceRouteCtlDescr, traceRouteCtlMaxRows=traceRouteCtlMaxRows, traceRouteCtlTrapGeneration=traceRouteCtlTrapGeneration, traceRouteCtlCreateHopsEntries=traceRouteCtlCreateHopsEntries, traceRouteCtlType=traceRouteCtlType, traceRouteCtlRowStatus=traceRouteCtlRowStatus, traceRouteResultsTable=traceRouteResultsTable, traceRouteResultsEntry=traceRouteResultsEntry, traceRouteResultsOperStatus=traceRouteResultsOperStatus, traceRouteResultsCurHopCount=traceRouteResultsCurHopCount, traceRouteResultsCurProbeCount=traceRouteResultsCurProbeCount, traceRouteResultsIpTgtAddrType=traceRouteResultsIpTgtAddrType, traceRouteResultsIpTgtAddr=traceRouteResultsIpTgtAddr, traceRouteResultsTestAttempts=traceRouteResultsTestAttempts, traceRouteResultsTestSuccesses=traceRouteResultsTestSuccesses, traceRouteResultsLastGoodPath=traceRouteResultsLastGoodPath, traceRouteProbeHistoryTable=traceRouteProbeHistoryTable, traceRouteProbeHistoryEntry=traceRouteProbeHistoryEntry, traceRouteProbeHistoryIndex=traceRouteProbeHistoryIndex, traceRouteProbeHistoryHopIndex=traceRouteProbeHistoryHopIndex, traceRouteProbeHistoryProbeIndex=traceRouteProbeHistoryProbeIndex, traceRouteProbeHistoryHAddrType=traceRouteProbeHistoryHAddrType, traceRouteProbeHistoryHAddr=traceRouteProbeHistoryHAddr, traceRouteProbeHistoryResponse=traceRouteProbeHistoryResponse, traceRouteProbeHistoryStatus=traceRouteProbeHistoryStatus, traceRouteProbeHistoryLastRC=traceRouteProbeHistoryLastRC, traceRouteProbeHistoryTime=traceRouteProbeHistoryTime, traceRouteHopsTable=traceRouteHopsTable, traceRouteHopsEntry=traceRouteHopsEntry, traceRouteHopsHopIndex=traceRouteHopsHopIndex, traceRouteHopsIpTgtAddressType=traceRouteHopsIpTgtAddressType, traceRouteHopsIpTgtAddress=traceRouteHopsIpTgtAddress, traceRouteHopsMinRtt=traceRouteHopsMinRtt, traceRouteHopsMaxRtt=traceRouteHopsMaxRtt, traceRouteHopsAverageRtt=traceRouteHopsAverageRtt, traceRouteHopsRttSumOfSquares=traceRouteHopsRttSumOfSquares, traceRouteHopsSentProbes=traceRouteHopsSentProbes, traceRouteHopsProbeResponses=traceRouteHopsProbeResponses, traceRouteHopsLastGoodProbe=traceRouteHopsLastGoodProbe, traceRouteConformance=traceRouteConformance, traceRouteCompliances=traceRouteCompliances, traceRouteGroups=traceRouteGroups, traceRouteImplementationTypeDomains=traceRouteImplementationTypeDomains, traceRouteUsingUdpProbes=traceRouteUsingUdpProbes) # Notifications mibBuilder.exportSymbols("DISMAN-TRACEROUTE-MIB", traceRoutePathChange=traceRoutePathChange, traceRouteTestFailed=traceRouteTestFailed, traceRouteTestCompleted=traceRouteTestCompleted) # Groups mibBuilder.exportSymbols("DISMAN-TRACEROUTE-MIB", traceRouteGroup=traceRouteGroup, traceRouteTimeStampGroup=traceRouteTimeStampGroup, traceRouteNotificationsGroup=traceRouteNotificationsGroup, traceRouteHopsTableGroup=traceRouteHopsTableGroup, traceRouteMinimumGroup=traceRouteMinimumGroup, traceRouteCtlRowStatusGroup=traceRouteCtlRowStatusGroup, traceRouteHistoryGroup=traceRouteHistoryGroup) # Compliances mibBuilder.exportSymbols("DISMAN-TRACEROUTE-MIB", traceRouteCompliance=traceRouteCompliance, traceRouteFullCompliance=traceRouteFullCompliance, traceRouteMinimumCompliance=traceRouteMinimumCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/RSVP-MIB.py0000644000014400001440000021720611736645137020240 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RSVP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:36 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( BitRate, BurstSize, MessageSize, Port, Protocol, QosService, SessionNumber, SessionType, intSrvFlowStatus, ) = mibBuilder.importSymbols("INTEGRATED-SERVICES-MIB", "BitRate", "BurstSize", "MessageSize", "Port", "Protocol", "QosService", "SessionNumber", "SessionType", "intSrvFlowStatus") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowStatus, TextualConvention, TestAndIncr, TimeInterval, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TestAndIncr", "TimeInterval", "TimeStamp", "TruthValue") # Types class RefreshInterval(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class RsvpEncapsulation(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("ip", 1), ("udp", 2), ("both", 3), ) # Objects rsvp = ModuleIdentity((1, 3, 6, 1, 2, 1, 51)).setRevisions(("1995-11-03 05:00",)) if mibBuilder.loadTexts: rsvp.setOrganization("IETF RSVP Working Group") if mibBuilder.loadTexts: rsvp.setContactInfo(" Fred Baker\nPostal: Cisco Systems\n 519 Lado Drive\n Santa Barbara, California 93111\nTel: +1 805 681 0115\nE-Mail: fred@cisco.com\n John Krawczyk\nPostal: ArrowPoint Communications\n 235 Littleton Road\n Westford, Massachusetts 01886\nTel: +1 508 692 5875\nE-Mail: jjk@tiac.net\n\n Arun Sastry\nPostal: Cisco Systems\n 210 W. Tasman Drive\n San Jose, California 95134\nTel: +1 408 526 7685\nE-Mail: arun@cisco.com") if mibBuilder.loadTexts: rsvp.setDescription("The MIB module to describe the RSVP Protocol") rsvpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 51, 1)) rsvpSessionTable = MibTable((1, 3, 6, 1, 2, 1, 51, 1, 1)) if mibBuilder.loadTexts: rsvpSessionTable.setDescription("A table of all sessions seen by a given sys-\ntem.") rsvpSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 51, 1, 1, 1)).setIndexNames((0, "RSVP-MIB", "rsvpSessionNumber")) if mibBuilder.loadTexts: rsvpSessionEntry.setDescription("A single session seen by a given system.") rsvpSessionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 1), SessionNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rsvpSessionNumber.setDescription("The number of this session. This is for SNMP\nIndexing purposes only and has no relation to\nany protocol value.") rsvpSessionType = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 2), SessionType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionType.setDescription("The type of session (IP4, IP6, IP6 with flow\ninformation, etc).") rsvpSessionDestAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionDestAddr.setDescription("The destination address used by all senders in\nthis session. This object may not be changed\nwhen the value of the RowStatus object is 'ac-\ntive'.") rsvpSessionDestAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionDestAddrLength.setDescription("The CIDR prefix length of the session address,\nwhich is 32 for IP4 host and multicast ad-\ndresses, and 128 for IP6 addresses. This ob-\nject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpSessionProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 5), Protocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionProtocol.setDescription("The IP Protocol used by this session. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpSessionPort = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 6), Port()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionPort.setDescription("The UDP or TCP port number used as a destina-\ntion port for all senders in this session. If\nthe IP protocol in use, specified by rsvpSen-\nderProtocol, is 50 (ESP) or 51 (AH), this\nrepresents a virtual destination port number.\nA value of zero indicates that the IP protocol\nin use does not have ports. This object may\nnot be changed when the value of the RowStatus\nobject is 'active'.") rsvpSessionSenders = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionSenders.setDescription("The number of distinct senders currently known\nto be part of this session.") rsvpSessionReceivers = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionReceivers.setDescription("The number of reservations being requested of\nthis system for this session.") rsvpSessionRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 1, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSessionRequests.setDescription("The number of reservation requests this system\nis sending upstream for this session.") rsvpSenderTable = MibTable((1, 3, 6, 1, 2, 1, 51, 1, 2)) if mibBuilder.loadTexts: rsvpSenderTable.setDescription("Information describing the state information\ndisplayed by senders in PATH messages.") rsvpSenderEntry = MibTableRow((1, 3, 6, 1, 2, 1, 51, 1, 2, 1)).setIndexNames((0, "RSVP-MIB", "rsvpSessionNumber"), (0, "RSVP-MIB", "rsvpSenderNumber")) if mibBuilder.loadTexts: rsvpSenderEntry.setDescription("Information describing the state information\ndisplayed by a single sender's PATH message.") rsvpSenderNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 1), SessionNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rsvpSenderNumber.setDescription("The number of this sender. This is for SNMP\nIndexing purposes only and has no relation to\nany protocol value.") rsvpSenderType = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 2), SessionType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderType.setDescription("The type of session (IP4, IP6, IP6 with flow\ninformation, etc).") rsvpSenderDestAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderDestAddr.setDescription("The destination address used by all senders in\nthis session. This object may not be changed\nwhen the value of the RowStatus object is 'ac-\ntive'.") rsvpSenderAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAddr.setDescription("The source address used by this sender in this\nsession. This object may not be changed when\nthe value of the RowStatus object is 'active'.") rsvpSenderDestAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderDestAddrLength.setDescription("The length of the destination address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpSenderAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAddrLength.setDescription("The length of the sender's address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpSenderProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 7), Protocol()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderProtocol.setDescription("The IP Protocol used by this session. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpSenderDestPort = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 8), Port()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderDestPort.setDescription("The UDP or TCP port number used as a destina-\ntion port for all senders in this session. If\nthe IP protocol in use, specified by rsvpSen-\nderProtocol, is 50 (ESP) or 51 (AH), this\nrepresents a virtual destination port number.\nA value of zero indicates that the IP protocol\nin use does not have ports. This object may\nnot be changed when the value of the RowStatus\nobject is 'active'.") rsvpSenderPort = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 9), Port()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderPort.setDescription("The UDP or TCP port number used as a source\nport for this sender in this session. If the\nIP protocol in use, specified by rsvpSenderPro-\ntocol is 50 (ESP) or 51 (AH), this represents a\ngeneralized port identifier (GPI). A value of\nzero indicates that the IP protocol in use does\nnot have ports. This object may not be changed\nwhen the value of the RowStatus object is 'ac-\ntive'.") rsvpSenderFlowId = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSenderFlowId.setDescription("The flow ID that this sender is using, if\nthis is an IPv6 session.") rsvpSenderHopAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderHopAddr.setDescription("The address used by the previous RSVP hop\n(which may be the original sender).") rsvpSenderHopLih = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 12), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderHopLih.setDescription("The Logical Interface Handle used by the pre-\nvious RSVP hop (which may be the original\nsender).") rsvpSenderInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 13), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderInterface.setDescription("The ifIndex value of the interface on which\nthis PATH message was most recently received.") rsvpSenderTSpecRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 14), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderTSpecRate.setDescription("The Average Bit Rate of the sender's data\nstream. Within a transmission burst, the ar-\nrival rate may be as fast as rsvpSenderTSpec-\nPeakRate (if supported by the service model);\nhowever, averaged across two or more burst in-\ntervals, the rate should not exceed rsvpSen-\nderTSpecRate.\n\nNote that this is a prediction, often based on\nthe general capability of a type of codec or\nparticular encoding; the measured average rate\nmay be significantly lower.") rsvpSenderTSpecPeakRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 15), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderTSpecPeakRate.setDescription("The Peak Bit Rate of the sender's data stream.\nTraffic arrival is not expected to exceed this\nrate at any time, apart from the effects of\njitter in the network. If not specified in the\nTSpec, this returns zero or noSuchValue.") rsvpSenderTSpecBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 16), BurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderTSpecBurst.setDescription("The size of the largest burst expected from\nthe sender at a time.") rsvpSenderTSpecMinTU = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 17), MessageSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderTSpecMinTU.setDescription("The minimum message size for this flow. The\npolicing algorithm will treat smaller messages\nas though they are this size.") rsvpSenderTSpecMaxTU = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 18), MessageSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderTSpecMaxTU.setDescription("The maximum message size for this flow. The\nadmission algorithm will reject TSpecs whose\nMaximum Transmission Unit, plus the interface\nheaders, exceed the interface MTU.") rsvpSenderInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 19), RefreshInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderInterval.setDescription("The interval between refresh messages as ad-\nvertised by the Previous Hop.") rsvpSenderRSVPHop = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 20), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderRSVPHop.setDescription("If TRUE, the node believes that the previous\nIP hop is an RSVP hop. If FALSE, the node be-\nlieves that the previous IP hop may not be an\nRSVP hop.") rsvpSenderLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 21), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSenderLastChange.setDescription("The time of the last change in this PATH mes-\nsage; This is either the first time it was re-\nceived or the time of the most recent change in\nparameters.") rsvpSenderPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 22), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 65536))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderPolicy.setDescription("The contents of the policy object, displayed\nas an uninterpreted string of octets, including\nthe object header. In the absence of such an\nobject, this should be of zero length.") rsvpSenderAdspecBreak = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 23), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecBreak.setDescription("The global break bit general characterization\nparameter from the ADSPEC. If TRUE, at least\none non-IS hop was detected in the path. If\nFALSE, no non-IS hops were detected.") rsvpSenderAdspecHopCount = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecHopCount.setDescription("The hop count general characterization parame-\nter from the ADSPEC. A return of zero or\nnoSuchValue indicates one of the following con-\nditions:\n\n the invalid bit was set\n the parameter was not present") rsvpSenderAdspecPathBw = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 25), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecPathBw.setDescription("The path bandwidth estimate general character-\nization parameter from the ADSPEC. A return of\nzero or noSuchValue indicates one of the fol-\nlowing conditions:\n\n the invalid bit was set\n the parameter was not present") rsvpSenderAdspecMinLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 26), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecMinLatency.setDescription("The minimum path latency general characteriza-\ntion parameter from the ADSPEC. A return of\nzero or noSuchValue indicates one of the fol-\nlowing conditions:\n\n the invalid bit was set\n the parameter was not present") rsvpSenderAdspecMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecMtu.setDescription("The composed Maximum Transmission Unit general\ncharacterization parameter from the ADSPEC. A\nreturn of zero or noSuchValue indicates one of\nthe following conditions:\n\n the invalid bit was set\n the parameter was not present") rsvpSenderAdspecGuaranteedSvc = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 28), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedSvc.setDescription("If TRUE, the ADSPEC contains a Guaranteed Ser-\nvice fragment. If FALSE, the ADSPEC does not\ncontain a Guaranteed Service fragment.") rsvpSenderAdspecGuaranteedBreak = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 29), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedBreak.setDescription("If TRUE, the Guaranteed Service fragment has\nits 'break' bit set, indicating that one or\nmore nodes along the path do not support the\nguaranteed service. If FALSE, and rsvpSen-\nderAdspecGuaranteedSvc is TRUE, the 'break' bit\nis not set.\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns FALSE or noSuchValue.") rsvpSenderAdspecGuaranteedCtot = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 30), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedCtot.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the end-to-end composed value for the\nguaranteed service 'C' parameter. A return of\nzero or noSuchValue indicates one of the fol-\nlowing conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecGuaranteedDtot = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 31), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedDtot.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the end-to-end composed value for the\nguaranteed service 'D' parameter. A return of\nzero or noSuchValue indicates one of the fol-\nlowing conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecGuaranteedCsum = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 32), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedCsum.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the composed value for the guaranteed ser-\nvice 'C' parameter since the last reshaping\npoint. A return of zero or noSuchValue indi-\ncates one of the following conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecGuaranteedDsum = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 33), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedDsum.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the composed value for the guaranteed ser-\nvice 'D' parameter since the last reshaping\npoint. A return of zero or noSuchValue indi-\ncates one of the following conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecGuaranteedHopCount = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedHopCount.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the service-specific override of the hop\ncount general characterization parameter from\nthe ADSPEC. A return of zero or noSuchValue\nindicates one of the following conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecGuaranteedPathBw = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 35), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedPathBw.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the service-specific override of the path\nbandwidth estimate general characterization\nparameter from the ADSPEC. A return of zero or\nnoSuchValue indicates one of the following con-\nditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecGuaranteedMinLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 36), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedMinLatency.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the service-specific override of the minimum\npath latency general characterization parameter\nfrom the ADSPEC. A return of zero or noSuch-\nValue indicates one of the following condi-\ntions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecGuaranteedMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecGuaranteedMtu.setDescription("If rsvpSenderAdspecGuaranteedSvc is TRUE, this\nis the service-specific override of the com-\nposed Maximum Transmission Unit general charac-\nterization parameter from the ADSPEC. A return\nof zero or noSuchValue indicates one of the\nfollowing conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecGuaranteedSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecCtrlLoadSvc = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 38), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecCtrlLoadSvc.setDescription("If TRUE, the ADSPEC contains a Controlled Load\nService fragment. If FALSE, the ADSPEC does\nnot contain a Controlled Load Service frag-\nment.") rsvpSenderAdspecCtrlLoadBreak = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 39), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecCtrlLoadBreak.setDescription("If TRUE, the Controlled Load Service fragment\nhas its 'break' bit set, indicating that one or\nmore nodes along the path do not support the\ncontrolled load service. If FALSE, and\nrsvpSenderAdspecCtrlLoadSvc is TRUE, the\n'break' bit is not set.\n\nIf rsvpSenderAdspecCtrlLoadSvc is FALSE, this\nreturns FALSE or noSuchValue.") rsvpSenderAdspecCtrlLoadHopCount = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecCtrlLoadHopCount.setDescription("If rsvpSenderAdspecCtrlLoadSvc is TRUE, this\nis the service-specific override of the hop\ncount general characterization parameter from\nthe ADSPEC. A return of zero or noSuchValue\nindicates one of the following conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecCtrlLoadSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecCtrlLoadPathBw = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 41), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecCtrlLoadPathBw.setDescription("If rsvpSenderAdspecCtrlLoadSvc is TRUE, this\nis the service-specific override of the path\nbandwidth estimate general characterization\nparameter from the ADSPEC. A return of zero or\nnoSuchValue indicates one of the following con-\nditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecCtrlLoadSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecCtrlLoadMinLatency = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 42), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecCtrlLoadMinLatency.setDescription("If rsvpSenderAdspecCtrlLoadSvc is TRUE, this\nis the service-specific override of the minimum\npath latency general characterization parameter\nfrom the ADSPEC. A return of zero or noSuch-\nValue indicates one of the following condi-\ntions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecCtrlLoadSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderAdspecCtrlLoadMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 43), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderAdspecCtrlLoadMtu.setDescription("If rsvpSenderAdspecCtrlLoadSvc is TRUE, this\nis the service-specific override of the com-\nposed Maximum Transmission Unit general charac-\nterization parameter from the ADSPEC. A return\nof zero or noSuchValue indicates one of the\nfollowing conditions:\n\n the invalid bit was set\n the parameter was not present\n\nIf rsvpSenderAdspecCtrlLoadSvc is FALSE, this\nreturns zero or noSuchValue.") rsvpSenderStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 44), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpSenderStatus.setDescription("'active' for all active PATH messages. This\nobject may be used to install static PATH in-\nformation or delete PATH information.") rsvpSenderTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 2, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSenderTTL.setDescription("The TTL value in the RSVP header that was last\nreceived.") rsvpSenderOutInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 51, 1, 3)) if mibBuilder.loadTexts: rsvpSenderOutInterfaceTable.setDescription("List of outgoing interfaces that PATH messages\nuse. The ifIndex is the ifIndex value of the\negress interface.") rsvpSenderOutInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 51, 1, 3, 1)).setIndexNames((0, "RSVP-MIB", "rsvpSessionNumber"), (0, "RSVP-MIB", "rsvpSenderNumber"), (0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: rsvpSenderOutInterfaceEntry.setDescription("List of outgoing interfaces that a particular\nPATH message has.") rsvpSenderOutInterfaceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 3, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpSenderOutInterfaceStatus.setDescription("'active' for all active PATH messages.") rsvpResvTable = MibTable((1, 3, 6, 1, 2, 1, 51, 1, 4)) if mibBuilder.loadTexts: rsvpResvTable.setDescription("Information describing the state information\ndisplayed by receivers in RESV messages.") rsvpResvEntry = MibTableRow((1, 3, 6, 1, 2, 1, 51, 1, 4, 1)).setIndexNames((0, "RSVP-MIB", "rsvpSessionNumber"), (0, "RSVP-MIB", "rsvpResvNumber")) if mibBuilder.loadTexts: rsvpResvEntry.setDescription("Information describing the state information\ndisplayed by a single receiver's RESV message\nconcerning a single sender.") rsvpResvNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 1), SessionNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rsvpResvNumber.setDescription("The number of this reservation request. This\nis for SNMP Indexing purposes only and has no\nrelation to any protocol value.") rsvpResvType = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 2), SessionType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvType.setDescription("The type of session (IP4, IP6, IP6 with flow\ninformation, etc).") rsvpResvDestAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvDestAddr.setDescription("The destination address used by all senders in\nthis session. This object may not be changed\nwhen the value of the RowStatus object is 'ac-\ntive'.") rsvpResvSenderAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvSenderAddr.setDescription("The source address of the sender selected by\nthis reservation. The value of all zeroes in-\ndicates 'all senders'. This object may not be\nchanged when the value of the RowStatus object\nis 'active'.") rsvpResvDestAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvDestAddrLength.setDescription("The length of the destination address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvSenderAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvSenderAddrLength.setDescription("The length of the sender's address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 7), Protocol()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvProtocol.setDescription("The IP Protocol used by this session. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvDestPort = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 8), Port()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvDestPort.setDescription("The UDP or TCP port number used as a destina-\ntion port for all senders in this session. If\nthe IP protocol in use, specified by\nrsvpResvProtocol, is 50 (ESP) or 51 (AH), this\nrepresents a virtual destination port number.\nA value of zero indicates that the IP protocol\nin use does not have ports. This object may\nnot be changed when the value of the RowStatus\nobject is 'active'.") rsvpResvPort = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 9), Port()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvPort.setDescription("The UDP or TCP port number used as a source\nport for this sender in this session. If the\nIP protocol in use, specified by rsvpResvProto-\ncol is 50 (ESP) or 51 (AH), this represents a\ngeneralized port identifier (GPI). A value of\nzero indicates that the IP protocol in use does\nnot have ports. This object may not be changed\nwhen the value of the RowStatus object is 'ac-\ntive'.") rsvpResvHopAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvHopAddr.setDescription("The address used by the next RSVP hop (which\nmay be the ultimate receiver).") rsvpResvHopLih = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 11), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvHopLih.setDescription("The Logical Interface Handle received from the\nprevious RSVP hop (which may be the ultimate\nreceiver).") rsvpResvInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 12), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvInterface.setDescription("The ifIndex value of the interface on which\nthis RESV message was most recently received.") rsvpResvService = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 13), QosService()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvService.setDescription("The QoS Service classification requested by\nthe receiver.") rsvpResvTSpecRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 14), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvTSpecRate.setDescription("The Average Bit Rate of the sender's data\nstream. Within a transmission burst, the ar-\nrival rate may be as fast as rsvpResvTSpec-\nPeakRate (if supported by the service model);\nhowever, averaged across two or more burst in-\ntervals, the rate should not exceed\nrsvpResvTSpecRate.\n\nNote that this is a prediction, often based on\nthe general capability of a type of codec or\nparticular encoding; the measured average rate\nmay be significantly lower.") rsvpResvTSpecPeakRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 15), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvTSpecPeakRate.setDescription("The Peak Bit Rate of the sender's data stream.\nTraffic arrival is not expected to exceed this\nrate at any time, apart from the effects of\njitter in the network. If not specified in the\nTSpec, this returns zero or noSuchValue.") rsvpResvTSpecBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 16), BurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvTSpecBurst.setDescription("The size of the largest burst expected from\nthe sender at a time.\n\nIf this is less than the sender's advertised\nburst size, the receiver is asking the network\nto provide flow pacing beyond what would be\nprovided under normal circumstances. Such pac-\ning is at the network's option.") rsvpResvTSpecMinTU = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 17), MessageSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvTSpecMinTU.setDescription("The minimum message size for this flow. The\npolicing algorithm will treat smaller messages\nas though they are this size.") rsvpResvTSpecMaxTU = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 18), MessageSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvTSpecMaxTU.setDescription("The maximum message size for this flow. The\nadmission algorithm will reject TSpecs whose\nMaximum Transmission Unit, plus the interface\nheaders, exceed the interface MTU.") rsvpResvRSpecRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 19), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvRSpecRate.setDescription("If the requested service is Guaranteed, as\nspecified by rsvpResvService, this is the\nclearing rate that is being requested. Other-\nwise, it is zero, or the agent may return\nnoSuchValue.") rsvpResvRSpecSlack = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 20), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvRSpecSlack.setDescription("If the requested service is Guaranteed, as\nspecified by rsvpResvService, this is the delay\nslack. Otherwise, it is zero, or the agent may\nreturn noSuchValue.") rsvpResvInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 21), RefreshInterval()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvInterval.setDescription("The interval between refresh messages as ad-\nvertised by the Next Hop.") rsvpResvScope = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 22), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65536))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvScope.setDescription("The contents of the scope object, displayed as\nan uninterpreted string of octets, including\nthe object header. In the absence of such an\nobject, this should be of zero length.\n\nIf the length is non-zero, this contains a\nseries of IP4 or IP6 addresses.") rsvpResvShared = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 23), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvShared.setDescription("If TRUE, a reservation shared among senders is\nrequested. If FALSE, a reservation specific to\nthis sender is requested.") rsvpResvExplicit = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 24), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvExplicit.setDescription("If TRUE, individual senders are listed using\nFilter Specifications. If FALSE, all senders\nare implicitly selected. The Scope Object will\ncontain a list of senders that need to receive\nthis reservation request for the purpose of\nrouting the RESV message.") rsvpResvRSVPHop = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 25), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvRSVPHop.setDescription("If TRUE, the node believes that the previous\nIP hop is an RSVP hop. If FALSE, the node be-\nlieves that the previous IP hop may not be an\nRSVP hop.") rsvpResvLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 26), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvLastChange.setDescription("The time of the last change in this reserva-\ntion request; This is either the first time it\nwas received or the time of the most recent\nchange in parameters.") rsvpResvPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 27), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65536))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvPolicy.setDescription("The contents of the policy object, displayed\nas an uninterpreted string of octets, including\nthe object header. In the absence of such an\nobject, this should be of zero length.") rsvpResvStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 28), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpResvStatus.setDescription("'active' for all active RESV messages. This\nobject may be used to install static RESV in-\nformation or delete RESV information.") rsvpResvTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvTTL.setDescription("The TTL value in the RSVP header that was last\nreceived.") rsvpResvFlowId = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 4, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFlowId.setDescription("The flow ID that this receiver is using, if\nthis is an IPv6 session.") rsvpResvFwdTable = MibTable((1, 3, 6, 1, 2, 1, 51, 1, 5)) if mibBuilder.loadTexts: rsvpResvFwdTable.setDescription("Information describing the state information\ndisplayed upstream in RESV messages.") rsvpResvFwdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 51, 1, 5, 1)).setIndexNames((0, "RSVP-MIB", "rsvpSessionNumber"), (0, "RSVP-MIB", "rsvpResvFwdNumber")) if mibBuilder.loadTexts: rsvpResvFwdEntry.setDescription("Information describing the state information\ndisplayed upstream in an RESV message concern-\ning a single sender.") rsvpResvFwdNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 1), SessionNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rsvpResvFwdNumber.setDescription("The number of this reservation request. This\nis for SNMP Indexing purposes only and has no\nrelation to any protocol value.") rsvpResvFwdType = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 2), SessionType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdType.setDescription("The type of session (IP4, IP6, IP6 with flow\ninformation, etc).") rsvpResvFwdDestAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdDestAddr.setDescription("The destination address used by all senders in\nthis session. This object may not be changed\nwhen the value of the RowStatus object is 'ac-\ntive'.") rsvpResvFwdSenderAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdSenderAddr.setDescription("The source address of the sender selected by\nthis reservation. The value of all zeroes in-\ndicates 'all senders'. This object may not be\nchanged when the value of the RowStatus object\nis 'active'.") rsvpResvFwdDestAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdDestAddrLength.setDescription("The length of the destination address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvFwdSenderAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdSenderAddrLength.setDescription("The length of the sender's address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvFwdProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 7), Protocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdProtocol.setDescription("The IP Protocol used by a session. for secure\nsessions, this indicates IP Security. This ob-\nject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvFwdDestPort = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 8), Port()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdDestPort.setDescription("The UDP or TCP port number used as a destina-\ntion port for all senders in this session. If\nthe IP protocol in use, specified by\nrsvpResvFwdProtocol, is 50 (ESP) or 51 (AH),\nthis represents a virtual destination port\nnumber. A value of zero indicates that the IP\nprotocol in use does not have ports. This ob-\nject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvFwdPort = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 9), Port()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdPort.setDescription("The UDP or TCP port number used as a source\nport for this sender in this session. If the\nIP protocol in use, specified by\nrsvpResvFwdProtocol is 50 (ESP) or 51 (AH),\nthis represents a generalized port identifier\n(GPI). A value of zero indicates that the IP\nprotocol in use does not have ports. This ob-\nject may not be changed when the value of the\nRowStatus object is 'active'.") rsvpResvFwdHopAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdHopAddr.setDescription("The address of the (previous) RSVP that will\nreceive this message.") rsvpResvFwdHopLih = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdHopLih.setDescription("The Logical Interface Handle sent to the (pre-\nvious) RSVP that will receive this message.") rsvpResvFwdInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 12), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdInterface.setDescription("The ifIndex value of the interface on which\nthis RESV message was most recently sent.") rsvpResvFwdService = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 13), QosService()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdService.setDescription("The QoS Service classification requested.") rsvpResvFwdTSpecRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 14), BitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdTSpecRate.setDescription("The Average Bit Rate of the sender's data\nstream. Within a transmission burst, the ar-\nrival rate may be as fast as rsvpResvFwdTSpec-\nPeakRate (if supported by the service model);\nhowever, averaged across two or more burst in-\ntervals, the rate should not exceed\nrsvpResvFwdTSpecRate.\n\nNote that this is a prediction, often based on\nthe general capability of a type of codec or\nparticular encoding; the measured average rate\nmay be significantly lower.") rsvpResvFwdTSpecPeakRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 15), BitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdTSpecPeakRate.setDescription("The Peak Bit Rate of the sender's data stream\nTraffic arrival is not expected to exceed this\nrate at any time, apart from the effects of\njitter in the network. If not specified in the\nTSpec, this returns zero or noSuchValue.") rsvpResvFwdTSpecBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 16), BurstSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdTSpecBurst.setDescription("The size of the largest burst expected from\nthe sender at a time.\n\nIf this is less than the sender's advertised\nburst size, the receiver is asking the network\nto provide flow pacing beyond what would be\nprovided under normal circumstances. Such pac-\ning is at the network's option.") rsvpResvFwdTSpecMinTU = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 17), MessageSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdTSpecMinTU.setDescription("The minimum message size for this flow. The\npolicing algorithm will treat smaller messages\nas though they are this size.") rsvpResvFwdTSpecMaxTU = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 18), MessageSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdTSpecMaxTU.setDescription("The maximum message size for this flow. The\nadmission algorithm will reject TSpecs whose\nMaximum Transmission Unit, plus the interface\nheaders, exceed the interface MTU.") rsvpResvFwdRSpecRate = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 19), BitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdRSpecRate.setDescription("If the requested service is Guaranteed, as\nspecified by rsvpResvService, this is the\nclearing rate that is being requested. Other-\nwise, it is zero, or the agent may return\nnoSuchValue.") rsvpResvFwdRSpecSlack = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdRSpecSlack.setDescription("If the requested service is Guaranteed, as\nspecified by rsvpResvService, this is the delay\nslack. Otherwise, it is zero, or the agent may\nreturn noSuchValue.") rsvpResvFwdInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 21), RefreshInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdInterval.setDescription("The interval between refresh messages adver-\ntised to the Previous Hop.") rsvpResvFwdScope = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 22), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdScope.setDescription("The contents of the scope object, displayed as\nan uninterpreted string of octets, including\nthe object header. In the absence of such an\nobject, this should be of zero length.") rsvpResvFwdShared = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdShared.setDescription("If TRUE, a reservation shared among senders is\nrequested. If FALSE, a reservation specific to\nthis sender is requested.") rsvpResvFwdExplicit = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 24), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdExplicit.setDescription("If TRUE, individual senders are listed using\nFilter Specifications. If FALSE, all senders\nare implicitly selected. The Scope Object will\ncontain a list of senders that need to receive\nthis reservation request for the purpose of\nrouting the RESV message.") rsvpResvFwdRSVPHop = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 25), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdRSVPHop.setDescription("If TRUE, the node believes that the next IP\nhop is an RSVP hop. If FALSE, the node be-\nlieves that the next IP hop may not be an RSVP\nhop.") rsvpResvFwdLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 26), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdLastChange.setDescription("The time of the last change in this request;\nThis is either the first time it was sent or\nthe time of the most recent change in parame-\nters.") rsvpResvFwdPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 27), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdPolicy.setDescription("The contents of the policy object, displayed\nas an uninterpreted string of octets, including\nthe object header. In the absence of such an\nobject, this should be of zero length.") rsvpResvFwdStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 28), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rsvpResvFwdStatus.setDescription("'active' for all active RESV messages. This\nobject may be used to delete RESV information.") rsvpResvFwdTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdTTL.setDescription("The TTL value in the RSVP header that was last\nreceived.") rsvpResvFwdFlowId = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 5, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpResvFwdFlowId.setDescription("The flow ID that this receiver is using, if\nthis is an IPv6 session.") rsvpIfTable = MibTable((1, 3, 6, 1, 2, 1, 51, 1, 6)) if mibBuilder.loadTexts: rsvpIfTable.setDescription("The RSVP-specific attributes of the system's\ninterfaces.") rsvpIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 51, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: rsvpIfEntry.setDescription("The RSVP-specific attributes of the a given\ninterface.") rsvpIfUdpNbrs = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpIfUdpNbrs.setDescription("The number of neighbors perceived to be using\nonly the RSVP UDP Encapsulation.") rsvpIfIpNbrs = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpIfIpNbrs.setDescription("The number of neighbors perceived to be using\nonly the RSVP IP Encapsulation.") rsvpIfNbrs = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpIfNbrs.setDescription("The number of neighbors currently perceived;\nthis will exceed rsvpIfIpNbrs + rsvpIfUdpNbrs\nby the number of neighbors using both encapsu-\nlations.") rsvpIfRefreshBlockadeMultiple = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65536)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfRefreshBlockadeMultiple.setDescription("The value of the RSVP value 'Kb', Which is the\nminimum number of refresh intervals that\nblockade state will last once entered.") rsvpIfRefreshMultiple = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65536)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfRefreshMultiple.setDescription("The value of the RSVP value 'K', which is the\nnumber of refresh intervals which must elapse\n(minimum) before a PATH or RESV message which\nis not being refreshed will be aged out.") rsvpIfTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfTTL.setDescription("The value of SEND_TTL used on this interface\nfor messages this node originates. If set to\nzero, the node determines the TTL via other\nmeans.") rsvpIfRefreshInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 7), TimeInterval().clone('3000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfRefreshInterval.setDescription("The value of the RSVP value 'R', which is the\nminimum period between refresh transmissions of\na given PATH or RESV message on an interface.") rsvpIfRouteDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 8), TimeInterval().clone('200')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfRouteDelay.setDescription("The approximate period from the time a route\nis changed to the time a resulting message ap-\npears on the interface.") rsvpIfEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 9), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfEnabled.setDescription("If TRUE, RSVP is enabled on this Interface.\nIf FALSE, RSVP is not enabled on this inter-\nface.") rsvpIfUdpRequired = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 10), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfUdpRequired.setDescription("If TRUE, manual configuration forces the use\nof UDP encapsulation on the interface. If\nFALSE, UDP encapsulation is only used if rsvpI-\nfUdpNbrs is not zero.") rsvpIfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 6, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpIfStatus.setDescription("'active' on interfaces that are configured for\nRSVP.") rsvpNbrTable = MibTable((1, 3, 6, 1, 2, 1, 51, 1, 7)) if mibBuilder.loadTexts: rsvpNbrTable.setDescription("Information describing the Neighbors of an\nRSVP system.") rsvpNbrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 51, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "RSVP-MIB", "rsvpNbrAddress")) if mibBuilder.loadTexts: rsvpNbrEntry.setDescription("Information describing a single RSVP Neigh-\nbor.") rsvpNbrAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 7, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rsvpNbrAddress.setDescription("The IP4 or IP6 Address used by this neighbor.\nThis object may not be changed when the value\nof the RowStatus object is 'active'.") rsvpNbrProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 7, 1, 2), RsvpEncapsulation()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpNbrProtocol.setDescription("The encapsulation being used by this neigh-\nbor.") rsvpNbrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 51, 1, 7, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rsvpNbrStatus.setDescription("'active' for all neighbors. This object may\nbe used to configure neighbors. In the pres-\nence of configured neighbors, the implementa-\ntion may (but is not required to) limit the set\nof valid neighbors to those configured.") rsvpGenObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 51, 2)) rsvpBadPackets = MibScalar((1, 3, 6, 1, 2, 1, 51, 2, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rsvpBadPackets.setDescription("This object keeps a count of the number of bad\nRSVP packets received.") rsvpSenderNewIndex = MibScalar((1, 3, 6, 1, 2, 1, 51, 2, 2), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rsvpSenderNewIndex.setDescription("This object is used to assign values to\nrsvpSenderNumber as described in 'Textual Con-\nventions for SNMPv2'. The network manager\nreads the object, and then writes the value\nback in the SET that creates a new instance of\nrsvpSenderEntry. If the SET fails with the\ncode 'inconsistentValue', then the process must\nbe repeated; If the SET succeeds, then the ob-\nject is incremented, and the new instance is\ncreated according to the manager's directions.") rsvpResvNewIndex = MibScalar((1, 3, 6, 1, 2, 1, 51, 2, 3), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rsvpResvNewIndex.setDescription("This object is used to assign values to\nrsvpResvNumber as described in 'Textual Conven-\ntions for SNMPv2'. The network manager reads\nthe object, and then writes the value back in\nthe SET that creates a new instance of\nrsvpResvEntry. If the SET fails with the code\n'inconsistentValue', then the process must be\nrepeated; If the SET succeeds, then the object\nis incremented, and the new instance is created\naccording to the manager's directions.") rsvpResvFwdNewIndex = MibScalar((1, 3, 6, 1, 2, 1, 51, 2, 4), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rsvpResvFwdNewIndex.setDescription("This object is used to assign values to\nrsvpResvFwdNumber as described in 'Textual Con-\nventions for SNMPv2'. The network manager\nreads the object, and then writes the value\nback in the SET that creates a new instance of\nrsvpResvFwdEntry. If the SET fails with the\ncode 'inconsistentValue', then the process must\nbe repeated; If the SET succeeds, then the ob-\nject is incremented, and the new instance is\ncreated according to the manager's directions.") rsvpNotificationsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 51, 3)) rsvpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 51, 3, 0)) rsvpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 51, 4)) rsvpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 51, 4, 1)) rsvpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 51, 4, 2)) # Augmentions # Notifications newFlow = NotificationType((1, 3, 6, 1, 2, 1, 51, 3, 0, 1)).setObjects(*(("RSVP-MIB", "rsvpResvFwdStatus"), ("RSVP-MIB", "rsvpSessionDestAddr"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowStatus"), ("RSVP-MIB", "rsvpSenderStatus"), ("RSVP-MIB", "rsvpResvStatus"), ) ) if mibBuilder.loadTexts: newFlow.setDescription("The newFlow trap indicates that the originat-\ning system has installed a new flow in its\nclassifier, or (when reservation authorization\nis in view) is prepared to install such a flow\nin the classifier and is requesting authoriza-\ntion. The objects included with the Notifica-\ntion may be used to read further information\nusing the Integrated Services and RSVP MIBs.\nAuthorization or non-authorization may be\nenacted by a write to the variable intSrvFlowS-\ntatus.") lostFlow = NotificationType((1, 3, 6, 1, 2, 1, 51, 3, 0, 2)).setObjects(*(("RSVP-MIB", "rsvpResvFwdStatus"), ("RSVP-MIB", "rsvpSessionDestAddr"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowStatus"), ("RSVP-MIB", "rsvpSenderStatus"), ("RSVP-MIB", "rsvpResvStatus"), ) ) if mibBuilder.loadTexts: lostFlow.setDescription("The lostFlow trap indicates that the originat-\ning system has removed a flow from its classif-\nier.") # Groups rsvpSessionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 51, 4, 1, 1)).setObjects(*(("RSVP-MIB", "rsvpSessionReceivers"), ("RSVP-MIB", "rsvpSessionDestAddr"), ("RSVP-MIB", "rsvpSessionType"), ("RSVP-MIB", "rsvpSessionSenders"), ("RSVP-MIB", "rsvpSessionPort"), ("RSVP-MIB", "rsvpSessionRequests"), ("RSVP-MIB", "rsvpSessionDestAddrLength"), ("RSVP-MIB", "rsvpSessionProtocol"), ) ) if mibBuilder.loadTexts: rsvpSessionGroup.setDescription("These objects are required for RSVP Systems.") rsvpSenderGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 51, 4, 1, 2)).setObjects(*(("RSVP-MIB", "rsvpSenderInterval"), ("RSVP-MIB", "rsvpSenderAdspecBreak"), ("RSVP-MIB", "rsvpSenderHopAddr"), ("RSVP-MIB", "rsvpSenderInterface"), ("RSVP-MIB", "rsvpSenderTSpecMaxTU"), ("RSVP-MIB", "rsvpSenderAdspecPathBw"), ("RSVP-MIB", "rsvpSenderAdspecCtrlLoadHopCount"), ("RSVP-MIB", "rsvpSenderTSpecBurst"), ("RSVP-MIB", "rsvpSenderAdspecMinLatency"), ("RSVP-MIB", "rsvpSenderDestPort"), ("RSVP-MIB", "rsvpSenderNewIndex"), ("RSVP-MIB", "rsvpSenderDestAddr"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedBreak"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedMinLatency"), ("RSVP-MIB", "rsvpSenderHopLih"), ("RSVP-MIB", "rsvpSenderType"), ("RSVP-MIB", "rsvpSenderProtocol"), ("RSVP-MIB", "rsvpSenderAdspecCtrlLoadMinLatency"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedPathBw"), ("RSVP-MIB", "rsvpSenderAdspecCtrlLoadSvc"), ("RSVP-MIB", "rsvpSenderAdspecHopCount"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedMtu"), ("RSVP-MIB", "rsvpSenderAdspecCtrlLoadMtu"), ("RSVP-MIB", "rsvpSenderAdspecCtrlLoadBreak"), ("RSVP-MIB", "rsvpSenderAddrLength"), ("RSVP-MIB", "rsvpSenderAddr"), ("RSVP-MIB", "rsvpSenderStatus"), ("RSVP-MIB", "rsvpSenderAdspecCtrlLoadPathBw"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedDtot"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedDsum"), ("RSVP-MIB", "rsvpSenderTSpecRate"), ("RSVP-MIB", "rsvpSenderTSpecMinTU"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedCsum"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedCtot"), ("RSVP-MIB", "rsvpSenderPort"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedHopCount"), ("RSVP-MIB", "rsvpSenderAdspecMtu"), ("RSVP-MIB", "rsvpSenderDestAddrLength"), ("RSVP-MIB", "rsvpSenderPolicy"), ("RSVP-MIB", "rsvpSenderTSpecPeakRate"), ("RSVP-MIB", "rsvpSenderLastChange"), ("RSVP-MIB", "rsvpSenderRSVPHop"), ("RSVP-MIB", "rsvpSenderAdspecGuaranteedSvc"), ) ) if mibBuilder.loadTexts: rsvpSenderGroup.setDescription("These objects are required for RSVP Systems.") rsvpResvGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 51, 4, 1, 3)).setObjects(*(("RSVP-MIB", "rsvpResvNewIndex"), ("RSVP-MIB", "rsvpResvStatus"), ("RSVP-MIB", "rsvpResvShared"), ("RSVP-MIB", "rsvpResvHopAddr"), ("RSVP-MIB", "rsvpResvDestPort"), ("RSVP-MIB", "rsvpResvPolicy"), ("RSVP-MIB", "rsvpResvService"), ("RSVP-MIB", "rsvpResvTSpecMaxTU"), ("RSVP-MIB", "rsvpResvInterval"), ("RSVP-MIB", "rsvpResvScope"), ("RSVP-MIB", "rsvpResvTSpecPeakRate"), ("RSVP-MIB", "rsvpResvProtocol"), ("RSVP-MIB", "rsvpResvTSpecMinTU"), ("RSVP-MIB", "rsvpResvRSpecRate"), ("RSVP-MIB", "rsvpResvType"), ("RSVP-MIB", "rsvpResvRSVPHop"), ("RSVP-MIB", "rsvpResvTSpecRate"), ("RSVP-MIB", "rsvpResvDestAddr"), ("RSVP-MIB", "rsvpResvSenderAddr"), ("RSVP-MIB", "rsvpResvRSpecSlack"), ("RSVP-MIB", "rsvpResvInterface"), ("RSVP-MIB", "rsvpResvTSpecBurst"), ("RSVP-MIB", "rsvpResvPort"), ("RSVP-MIB", "rsvpResvLastChange"), ("RSVP-MIB", "rsvpResvExplicit"), ("RSVP-MIB", "rsvpResvDestAddrLength"), ("RSVP-MIB", "rsvpResvSenderAddrLength"), ("RSVP-MIB", "rsvpResvHopLih"), ) ) if mibBuilder.loadTexts: rsvpResvGroup.setDescription("These objects are required for RSVP Systems.") rsvpResvFwdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 51, 4, 1, 4)).setObjects(*(("RSVP-MIB", "rsvpResvFwdExplicit"), ("RSVP-MIB", "rsvpResvFwdTSpecMaxTU"), ("RSVP-MIB", "rsvpResvFwdLastChange"), ("RSVP-MIB", "rsvpResvFwdTSpecRate"), ("RSVP-MIB", "rsvpResvFwdNewIndex"), ("RSVP-MIB", "rsvpResvFwdTSpecMinTU"), ("RSVP-MIB", "rsvpResvFwdHopLih"), ("RSVP-MIB", "rsvpResvFwdDestPort"), ("RSVP-MIB", "rsvpResvFwdRSpecRate"), ("RSVP-MIB", "rsvpResvFwdDestAddrLength"), ("RSVP-MIB", "rsvpResvFwdShared"), ("RSVP-MIB", "rsvpResvFwdStatus"), ("RSVP-MIB", "rsvpResvFwdSenderAddrLength"), ("RSVP-MIB", "rsvpResvFwdTSpecPeakRate"), ("RSVP-MIB", "rsvpResvFwdProtocol"), ("RSVP-MIB", "rsvpResvFwdScope"), ("RSVP-MIB", "rsvpResvFwdRSVPHop"), ("RSVP-MIB", "rsvpResvFwdSenderAddr"), ("RSVP-MIB", "rsvpResvFwdInterval"), ("RSVP-MIB", "rsvpResvFwdHopAddr"), ("RSVP-MIB", "rsvpResvFwdPort"), ("RSVP-MIB", "rsvpResvFwdPolicy"), ("RSVP-MIB", "rsvpResvFwdInterface"), ("RSVP-MIB", "rsvpResvFwdDestAddr"), ("RSVP-MIB", "rsvpResvFwdService"), ("RSVP-MIB", "rsvpResvFwdTSpecBurst"), ("RSVP-MIB", "rsvpResvFwdRSpecSlack"), ("RSVP-MIB", "rsvpResvFwdType"), ) ) if mibBuilder.loadTexts: rsvpResvFwdGroup.setDescription("These objects are optional, used for some RSVP\nSystems.") rsvpIfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 51, 4, 1, 6)).setObjects(*(("RSVP-MIB", "rsvpIfEnabled"), ("RSVP-MIB", "rsvpIfStatus"), ("RSVP-MIB", "rsvpIfTTL"), ("RSVP-MIB", "rsvpIfRefreshInterval"), ("RSVP-MIB", "rsvpIfUdpRequired"), ("RSVP-MIB", "rsvpIfRouteDelay"), ("RSVP-MIB", "rsvpIfIpNbrs"), ("RSVP-MIB", "rsvpIfNbrs"), ("RSVP-MIB", "rsvpIfUdpNbrs"), ("RSVP-MIB", "rsvpIfRefreshBlockadeMultiple"), ("RSVP-MIB", "rsvpIfRefreshMultiple"), ) ) if mibBuilder.loadTexts: rsvpIfGroup.setDescription("These objects are required for RSVP Systems.") rsvpNbrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 51, 4, 1, 7)).setObjects(*(("RSVP-MIB", "rsvpNbrProtocol"), ("RSVP-MIB", "rsvpNbrStatus"), ) ) if mibBuilder.loadTexts: rsvpNbrGroup.setDescription("These objects are required for RSVP Systems.") rsvpNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 51, 4, 1, 8)).setObjects(*(("RSVP-MIB", "newFlow"), ("RSVP-MIB", "lostFlow"), ) ) if mibBuilder.loadTexts: rsvpNotificationGroup.setDescription("This notification is required for Systems sup-\nporting the RSVP Policy Module using an SNMP\ninterface to the Policy Manager.") # Compliances rsvpCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 51, 4, 2, 1)).setObjects(*(("RSVP-MIB", "rsvpNbrGroup"), ("RSVP-MIB", "rsvpNotificationGroup"), ("RSVP-MIB", "rsvpResvGroup"), ("RSVP-MIB", "rsvpSessionGroup"), ("RSVP-MIB", "rsvpIfGroup"), ("RSVP-MIB", "rsvpResvFwdGroup"), ("RSVP-MIB", "rsvpSenderGroup"), ) ) if mibBuilder.loadTexts: rsvpCompliance.setDescription("The compliance statement. Note that the im-\nplementation of this module requires implemen-\ntation of the Integrated Services MIB as well.") # Exports # Module identity mibBuilder.exportSymbols("RSVP-MIB", PYSNMP_MODULE_ID=rsvp) # Types mibBuilder.exportSymbols("RSVP-MIB", RefreshInterval=RefreshInterval, RsvpEncapsulation=RsvpEncapsulation) # Objects mibBuilder.exportSymbols("RSVP-MIB", rsvp=rsvp, rsvpObjects=rsvpObjects, rsvpSessionTable=rsvpSessionTable, rsvpSessionEntry=rsvpSessionEntry, rsvpSessionNumber=rsvpSessionNumber, rsvpSessionType=rsvpSessionType, rsvpSessionDestAddr=rsvpSessionDestAddr, rsvpSessionDestAddrLength=rsvpSessionDestAddrLength, rsvpSessionProtocol=rsvpSessionProtocol, rsvpSessionPort=rsvpSessionPort, rsvpSessionSenders=rsvpSessionSenders, rsvpSessionReceivers=rsvpSessionReceivers, rsvpSessionRequests=rsvpSessionRequests, rsvpSenderTable=rsvpSenderTable, rsvpSenderEntry=rsvpSenderEntry, rsvpSenderNumber=rsvpSenderNumber, rsvpSenderType=rsvpSenderType, rsvpSenderDestAddr=rsvpSenderDestAddr, rsvpSenderAddr=rsvpSenderAddr, rsvpSenderDestAddrLength=rsvpSenderDestAddrLength, rsvpSenderAddrLength=rsvpSenderAddrLength, rsvpSenderProtocol=rsvpSenderProtocol, rsvpSenderDestPort=rsvpSenderDestPort, rsvpSenderPort=rsvpSenderPort, rsvpSenderFlowId=rsvpSenderFlowId, rsvpSenderHopAddr=rsvpSenderHopAddr, rsvpSenderHopLih=rsvpSenderHopLih, rsvpSenderInterface=rsvpSenderInterface, rsvpSenderTSpecRate=rsvpSenderTSpecRate, rsvpSenderTSpecPeakRate=rsvpSenderTSpecPeakRate, rsvpSenderTSpecBurst=rsvpSenderTSpecBurst, rsvpSenderTSpecMinTU=rsvpSenderTSpecMinTU, rsvpSenderTSpecMaxTU=rsvpSenderTSpecMaxTU, rsvpSenderInterval=rsvpSenderInterval, rsvpSenderRSVPHop=rsvpSenderRSVPHop, rsvpSenderLastChange=rsvpSenderLastChange, rsvpSenderPolicy=rsvpSenderPolicy, rsvpSenderAdspecBreak=rsvpSenderAdspecBreak, rsvpSenderAdspecHopCount=rsvpSenderAdspecHopCount, rsvpSenderAdspecPathBw=rsvpSenderAdspecPathBw, rsvpSenderAdspecMinLatency=rsvpSenderAdspecMinLatency, rsvpSenderAdspecMtu=rsvpSenderAdspecMtu, rsvpSenderAdspecGuaranteedSvc=rsvpSenderAdspecGuaranteedSvc, rsvpSenderAdspecGuaranteedBreak=rsvpSenderAdspecGuaranteedBreak, rsvpSenderAdspecGuaranteedCtot=rsvpSenderAdspecGuaranteedCtot, rsvpSenderAdspecGuaranteedDtot=rsvpSenderAdspecGuaranteedDtot, rsvpSenderAdspecGuaranteedCsum=rsvpSenderAdspecGuaranteedCsum, rsvpSenderAdspecGuaranteedDsum=rsvpSenderAdspecGuaranteedDsum, rsvpSenderAdspecGuaranteedHopCount=rsvpSenderAdspecGuaranteedHopCount, rsvpSenderAdspecGuaranteedPathBw=rsvpSenderAdspecGuaranteedPathBw, rsvpSenderAdspecGuaranteedMinLatency=rsvpSenderAdspecGuaranteedMinLatency, rsvpSenderAdspecGuaranteedMtu=rsvpSenderAdspecGuaranteedMtu, rsvpSenderAdspecCtrlLoadSvc=rsvpSenderAdspecCtrlLoadSvc, rsvpSenderAdspecCtrlLoadBreak=rsvpSenderAdspecCtrlLoadBreak, rsvpSenderAdspecCtrlLoadHopCount=rsvpSenderAdspecCtrlLoadHopCount, rsvpSenderAdspecCtrlLoadPathBw=rsvpSenderAdspecCtrlLoadPathBw, rsvpSenderAdspecCtrlLoadMinLatency=rsvpSenderAdspecCtrlLoadMinLatency, rsvpSenderAdspecCtrlLoadMtu=rsvpSenderAdspecCtrlLoadMtu, rsvpSenderStatus=rsvpSenderStatus, rsvpSenderTTL=rsvpSenderTTL, rsvpSenderOutInterfaceTable=rsvpSenderOutInterfaceTable, rsvpSenderOutInterfaceEntry=rsvpSenderOutInterfaceEntry, rsvpSenderOutInterfaceStatus=rsvpSenderOutInterfaceStatus, rsvpResvTable=rsvpResvTable, rsvpResvEntry=rsvpResvEntry, rsvpResvNumber=rsvpResvNumber, rsvpResvType=rsvpResvType, rsvpResvDestAddr=rsvpResvDestAddr, rsvpResvSenderAddr=rsvpResvSenderAddr, rsvpResvDestAddrLength=rsvpResvDestAddrLength, rsvpResvSenderAddrLength=rsvpResvSenderAddrLength, rsvpResvProtocol=rsvpResvProtocol, rsvpResvDestPort=rsvpResvDestPort, rsvpResvPort=rsvpResvPort, rsvpResvHopAddr=rsvpResvHopAddr, rsvpResvHopLih=rsvpResvHopLih, rsvpResvInterface=rsvpResvInterface, rsvpResvService=rsvpResvService, rsvpResvTSpecRate=rsvpResvTSpecRate, rsvpResvTSpecPeakRate=rsvpResvTSpecPeakRate, rsvpResvTSpecBurst=rsvpResvTSpecBurst, rsvpResvTSpecMinTU=rsvpResvTSpecMinTU, rsvpResvTSpecMaxTU=rsvpResvTSpecMaxTU, rsvpResvRSpecRate=rsvpResvRSpecRate, rsvpResvRSpecSlack=rsvpResvRSpecSlack, rsvpResvInterval=rsvpResvInterval, rsvpResvScope=rsvpResvScope, rsvpResvShared=rsvpResvShared, rsvpResvExplicit=rsvpResvExplicit, rsvpResvRSVPHop=rsvpResvRSVPHop, rsvpResvLastChange=rsvpResvLastChange, rsvpResvPolicy=rsvpResvPolicy, rsvpResvStatus=rsvpResvStatus, rsvpResvTTL=rsvpResvTTL, rsvpResvFlowId=rsvpResvFlowId, rsvpResvFwdTable=rsvpResvFwdTable, rsvpResvFwdEntry=rsvpResvFwdEntry, rsvpResvFwdNumber=rsvpResvFwdNumber, rsvpResvFwdType=rsvpResvFwdType, rsvpResvFwdDestAddr=rsvpResvFwdDestAddr, rsvpResvFwdSenderAddr=rsvpResvFwdSenderAddr, rsvpResvFwdDestAddrLength=rsvpResvFwdDestAddrLength, rsvpResvFwdSenderAddrLength=rsvpResvFwdSenderAddrLength, rsvpResvFwdProtocol=rsvpResvFwdProtocol, rsvpResvFwdDestPort=rsvpResvFwdDestPort, rsvpResvFwdPort=rsvpResvFwdPort, rsvpResvFwdHopAddr=rsvpResvFwdHopAddr, rsvpResvFwdHopLih=rsvpResvFwdHopLih, rsvpResvFwdInterface=rsvpResvFwdInterface, rsvpResvFwdService=rsvpResvFwdService, rsvpResvFwdTSpecRate=rsvpResvFwdTSpecRate, rsvpResvFwdTSpecPeakRate=rsvpResvFwdTSpecPeakRate, rsvpResvFwdTSpecBurst=rsvpResvFwdTSpecBurst, rsvpResvFwdTSpecMinTU=rsvpResvFwdTSpecMinTU, rsvpResvFwdTSpecMaxTU=rsvpResvFwdTSpecMaxTU, rsvpResvFwdRSpecRate=rsvpResvFwdRSpecRate, rsvpResvFwdRSpecSlack=rsvpResvFwdRSpecSlack, rsvpResvFwdInterval=rsvpResvFwdInterval, rsvpResvFwdScope=rsvpResvFwdScope, rsvpResvFwdShared=rsvpResvFwdShared, rsvpResvFwdExplicit=rsvpResvFwdExplicit, rsvpResvFwdRSVPHop=rsvpResvFwdRSVPHop, rsvpResvFwdLastChange=rsvpResvFwdLastChange, rsvpResvFwdPolicy=rsvpResvFwdPolicy, rsvpResvFwdStatus=rsvpResvFwdStatus, rsvpResvFwdTTL=rsvpResvFwdTTL) mibBuilder.exportSymbols("RSVP-MIB", rsvpResvFwdFlowId=rsvpResvFwdFlowId, rsvpIfTable=rsvpIfTable, rsvpIfEntry=rsvpIfEntry, rsvpIfUdpNbrs=rsvpIfUdpNbrs, rsvpIfIpNbrs=rsvpIfIpNbrs, rsvpIfNbrs=rsvpIfNbrs, rsvpIfRefreshBlockadeMultiple=rsvpIfRefreshBlockadeMultiple, rsvpIfRefreshMultiple=rsvpIfRefreshMultiple, rsvpIfTTL=rsvpIfTTL, rsvpIfRefreshInterval=rsvpIfRefreshInterval, rsvpIfRouteDelay=rsvpIfRouteDelay, rsvpIfEnabled=rsvpIfEnabled, rsvpIfUdpRequired=rsvpIfUdpRequired, rsvpIfStatus=rsvpIfStatus, rsvpNbrTable=rsvpNbrTable, rsvpNbrEntry=rsvpNbrEntry, rsvpNbrAddress=rsvpNbrAddress, rsvpNbrProtocol=rsvpNbrProtocol, rsvpNbrStatus=rsvpNbrStatus, rsvpGenObjects=rsvpGenObjects, rsvpBadPackets=rsvpBadPackets, rsvpSenderNewIndex=rsvpSenderNewIndex, rsvpResvNewIndex=rsvpResvNewIndex, rsvpResvFwdNewIndex=rsvpResvFwdNewIndex, rsvpNotificationsPrefix=rsvpNotificationsPrefix, rsvpNotifications=rsvpNotifications, rsvpConformance=rsvpConformance, rsvpGroups=rsvpGroups, rsvpCompliances=rsvpCompliances) # Notifications mibBuilder.exportSymbols("RSVP-MIB", newFlow=newFlow, lostFlow=lostFlow) # Groups mibBuilder.exportSymbols("RSVP-MIB", rsvpSessionGroup=rsvpSessionGroup, rsvpSenderGroup=rsvpSenderGroup, rsvpResvGroup=rsvpResvGroup, rsvpResvFwdGroup=rsvpResvFwdGroup, rsvpIfGroup=rsvpIfGroup, rsvpNbrGroup=rsvpNbrGroup, rsvpNotificationGroup=rsvpNotificationGroup) # Compliances mibBuilder.exportSymbols("RSVP-MIB", rsvpCompliance=rsvpCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/FRAME-RELAY-DTE-MIB.py0000644000014400001440000007540511736645136021566 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FRAME-RELAY-DTE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:59 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( RowStatus, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeStamp") # Types class DLCI(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,8388607) # Objects frameRelayDTE = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 32)).setRevisions(("1997-05-01 02:29","1992-04-01 00:00",)) if mibBuilder.loadTexts: frameRelayDTE.setOrganization("IETF IPLPDN Working Group") if mibBuilder.loadTexts: frameRelayDTE.setContactInfo(" Caralyn Brown\nPostal: Cadia Networks, Inc.\n 1 Corporate Drive\n Andover, Massachusetts 01810\nTel: +1 508 689 2400 x133\nE-Mail: cbrown@cadia.com\n\n Fred Baker\nPostal: Cisco Systems\n 519 Lado Drive\n Santa Barbara, California 93111\nTel: +1 408 526 425\nE-Mail: fred@cisco.com") if mibBuilder.loadTexts: frameRelayDTE.setDescription("The MIB module to describe the use of a Frame Relay\ninterface by a DTE.") frameRelayTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 32, 0)) frDlcmiTable = MibTable((1, 3, 6, 1, 2, 1, 10, 32, 1)) if mibBuilder.loadTexts: frDlcmiTable.setDescription("The Parameters for the Data Link Connection Management\nInterface for the frame relay service on this\ninterface.") frDlcmiEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 32, 1, 1)).setIndexNames((0, "FRAME-RELAY-DTE-MIB", "frDlcmiIfIndex")) if mibBuilder.loadTexts: frDlcmiEntry.setDescription("The Parameters for a particular Data Link Connection\nManagement Interface.") frDlcmiIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDlcmiIfIndex.setDescription("The ifIndex value of the corresponding ifEntry.") frDlcmiState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(5,6,2,4,3,1,)).subtype(namedValues=NamedValues(("noLmiConfigured", 1), ("lmiRev1", 2), ("ansiT1617D", 3), ("ansiT1617B", 4), ("itut933A", 5), ("ansiT1617D1994", 6), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiState.setDescription("This variable states which Data Link Connection\nManagement scheme is active (and by implication, what\nDLCI it uses) on the Frame Relay interface.") frDlcmiAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("q921", 1), ("q922March90", 2), ("q922November90", 3), ("q922", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiAddress.setDescription("This variable states which address format is in use on\nthe Frame Relay interface.") frDlcmiAddressLen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,4,)).subtype(namedValues=NamedValues(("twoOctets", 2), ("threeOctets", 3), ("fourOctets", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiAddressLen.setDescription("This variable states the address length in octets. In\nthe case of Q922 format, the length indicates the\nentire length of the address including the control\nportion.") frDlcmiPollingInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 30)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiPollingInterval.setDescription("This is the number of seconds between successive\nstatus enquiry messages.") frDlcmiFullEnquiryInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(6)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiFullEnquiryInterval.setDescription("Number of status enquiry intervals that pass before\nissuance of a full status enquiry message.") frDlcmiErrorThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiErrorThreshold.setDescription("This is the maximum number of unanswered Status\nEnquiries the equipment shall accept before declaring\nthe interface down.") frDlcmiMonitoredEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiMonitoredEvents.setDescription("This is the number of status polling intervals over\nwhich the error threshold is counted. For example, if\nwithin 'MonitoredEvents' number of events the station\nreceives 'ErrorThreshold' number of errors, the\ninterface is marked as down.") frDlcmiMaxSupportedVCs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 9), DLCI()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiMaxSupportedVCs.setDescription("The maximum number of Virtual Circuits allowed for\nthis interface. Usually dictated by the Frame Relay\nnetwork.\n\nIn response to a SET, if a value less than zero or\nhigher than the agent's maximal capability is\nconfigured, the agent should respond badValue") frDlcmiMulticast = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("nonBroadcast", 1), ("broadcast", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiMulticast.setDescription("This indicates whether the Frame Relay interface is\nusing a multicast service.") frDlcmiStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("running", 1), ("fault", 2), ("initializing", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDlcmiStatus.setDescription("This indicates the status of the Frame Relay interface\nas determined by the performance of the dlcmi. If no\ndlcmi is running, the Frame Relay interface will stay\nin the running state indefinitely.") frDlcmiRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frDlcmiRowStatus.setDescription("SNMP Version 2 Row Status Variable. Writable objects\nin the table may be written in any RowStatus state.") frCircuitTable = MibTable((1, 3, 6, 1, 2, 1, 10, 32, 2)) if mibBuilder.loadTexts: frCircuitTable.setDescription("A table containing information about specific Data\nLink Connections (DLC) or virtual circuits.") frCircuitEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 32, 2, 1)).setIndexNames((0, "FRAME-RELAY-DTE-MIB", "frCircuitIfIndex"), (0, "FRAME-RELAY-DTE-MIB", "frCircuitDlci")) if mibBuilder.loadTexts: frCircuitEntry.setDescription("The information regarding a single Data Link\nConnection. Discontinuities in the counters contained\nin this table are indicated by the value in\nfrCircuitCreationTime.") frCircuitIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitIfIndex.setDescription("The ifIndex Value of the ifEntry this virtual circuit\nis layered onto.") frCircuitDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 2), DLCI()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitDlci.setDescription("The Data Link Connection Identifier for this virtual\ncircuit.") frCircuitState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("invalid", 1), ("active", 2), ("inactive", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frCircuitState.setDescription("Indicates whether the particular virtual circuit is\noperational. In the absence of a Data Link Connection\nManagement Interface, virtual circuit entries (rows)\nmay be created by setting virtual circuit state to\n'active', or deleted by changing Circuit state to\n'invalid'.\n\nWhether or not the row actually disappears is left to\nthe implementation, so this object may actually read as\n'invalid' for some arbitrary length of time. It is\nalso legal to set the state of a virtual circuit to\n'inactive' to temporarily disable a given circuit.\n\nThe use of 'invalid' is deprecated in this SNMP Version\n2 MIB, in favor of frCircuitRowStatus.") frCircuitReceivedFECNs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitReceivedFECNs.setDescription("Number of frames received from the network indicating\nforward congestion since the virtual circuit was\ncreated. This occurs when the remote DTE sets the FECN\nflag, or when a switch in the network enqueues the\nframe to a trunk whose transmission queue is\ncongested.") frCircuitReceivedBECNs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitReceivedBECNs.setDescription("Number of frames received from the network indicating\nbackward congestion since the virtual circuit was\ncreated. This occurs when the remote DTE sets the BECN\nflag, or when a switch in the network receives the\nframe from a trunk whose transmission queue is\ncongested.") frCircuitSentFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitSentFrames.setDescription("The number of frames sent from this virtual circuit\nsince it was created.") frCircuitSentOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitSentOctets.setDescription("The number of octets sent from this virtual circuit\nsince it was created. Octets counted are the full\nframe relay header and the payload, but do not include\nthe flag characters or CRC.") frCircuitReceivedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitReceivedFrames.setDescription("Number of frames received over this virtual circuit\nsince it was created.") frCircuitReceivedOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitReceivedOctets.setDescription("Number of octets received over this virtual circuit\nsince it was created. Octets counted include the full\nframe relay header, but do not include the flag\ncharacters or the CRC.") frCircuitCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitCreationTime.setDescription("The value of sysUpTime when the virtual circuit was\ncreated, whether by the Data Link Connection Management\nInterface or by a SetRequest.") frCircuitLastTimeChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitLastTimeChange.setDescription("The value of sysUpTime when last there was a change in\nthe virtual circuit state") frCircuitCommittedBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frCircuitCommittedBurst.setDescription("This variable indicates the maximum amount of data, in\nbits, that the network agrees to transfer under normal\nconditions, during the measurement interval.") frCircuitExcessBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frCircuitExcessBurst.setDescription("This variable indicates the maximum amount of\nuncommitted data bits that the network will attempt to\ndeliver over the measurement interval.\n\nBy default, if not configured when creating the entry,\nthe Excess Information Burst Size is set to the value\nof ifSpeed.") frCircuitThroughput = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frCircuitThroughput.setDescription("Throughput is the average number of 'Frame Relay\nInformation Field' bits transferred per second across a\nuser network interface in one direction, measured over\nthe measurement interval.\n\nIf the configured committed burst rate and throughput\nare both non-zero, the measurement interval, T, is\n T=frCircuitCommittedBurst/frCircuitThroughput.\n\nIf the configured committed burst rate and throughput\nare both zero, the measurement interval, T, is\n T=frCircuitExcessBurst/ifSpeed.") frCircuitMulticast = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("unicast", 1), ("oneWay", 2), ("twoWay", 3), ("nWay", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frCircuitMulticast.setDescription("This indicates whether this VC is used as a unicast VC\n(i.e. not multicast) or the type of multicast service\nsubscribed to") frCircuitType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("static", 1), ("dynamic", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitType.setDescription("Indication of whether the VC was manually created\n(static), or dynamically created (dynamic) via the data\nlink control management interface.") frCircuitDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitDiscards.setDescription("The number of inbound frames dropped because of format\nerrors, or because the VC is inactive.") frCircuitReceivedDEs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitReceivedDEs.setDescription("Number of frames received from the network indicating\nthat they were eligible for discard since the virtual\ncircuit was created. This occurs when the remote DTE\nsets the DE flag, or when in remote DTE's switch\ndetects that the frame was received as Excess Burst\ndata.") frCircuitSentDEs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCircuitSentDEs.setDescription("Number of frames sent to the network indicating that\nthey were eligible for discard since the virtual\ncircuit was created. This occurs when the local DTE\nsets the DE flag, indicating that during Network\ncongestion situations those frames should be discarded\nin preference of other frames sent without the DE bit\nset.") frCircuitLogicalIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 20), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frCircuitLogicalIfIndex.setDescription("Normally the same value as frDlcmiIfIndex, but\ndifferent when an implementation associates a virtual\nifEntry with a DLC or set of DLCs in order to associate\nhigher layer objects such as the ipAddrEntry with a\nsubset of the virtual circuits on a Frame Relay\ninterface. The type of such ifEntries is defined by the\nhigher layer object; for example, if PPP/Frame Relay is\nimplemented, the ifType of this ifEntry would be PPP.\nIf it is not so defined, as would be the case with an\nipAddrEntry, it should be of type Other.") frCircuitRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 2, 1, 21), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frCircuitRowStatus.setDescription("This object is used to create a new row or modify or\ndestroy an existing row in the manner described in the\ndefinition of the RowStatus textual convention.\nWritable objects in the table may be written in any\nRowStatus state.") frErrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 32, 3)) if mibBuilder.loadTexts: frErrTable.setDescription("A table containing information about Errors on the\nFrame Relay interface. Discontinuities in the counters\ncontained in this table are the same as apply to the\nifEntry associated with the Interface.") frErrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 32, 3, 1)).setIndexNames((0, "FRAME-RELAY-DTE-MIB", "frErrIfIndex")) if mibBuilder.loadTexts: frErrEntry.setDescription("The error information for a single frame relay\ninterface.") frErrIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 3, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: frErrIfIndex.setDescription("The ifIndex Value of the corresponding ifEntry.") frErrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(9,7,3,6,1,4,10,2,5,8,)).subtype(namedValues=NamedValues(("unknownError", 1), ("noErrorSinceReset", 10), ("receiveShort", 2), ("receiveLong", 3), ("illegalAddress", 4), ("unknownAddress", 5), ("dlcmiProtoErr", 6), ("dlcmiUnknownIE", 7), ("dlcmiSequenceErr", 8), ("dlcmiUnknownRpt", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frErrType.setDescription("The type of error that was last seen on this interface:\n\nreceiveShort: frame was not long enough to allow\ndemultiplexing - the address field was incomplete,\nor for virtual circuits using Multiprotocol over\nFrame Relay, the protocol identifier was missing\nor incomplete.\n\nreceiveLong: frame exceeded maximum length configured for this\n interface.\n\nillegalAddress: address field did not match configured format.\n\nunknownAddress: frame received on a virtual circuit which was not\n active or administratively disabled.\n\ndlcmiProtoErr: unspecified error occurred when attempting to\n interpret link maintenance frame.\n\ndlcmiUnknownIE: link maintenance frame contained an Information\n Element type which is not valid for the\n configured link maintenance protocol.\n\ndlcmiSequenceErr: link maintenance frame contained a sequence\n number other than the expected value.\n\ndlcmiUnknownRpt: link maintenance frame contained a Report Type\n Information Element whose value was not valid\n for the configured link maintenance protocol.\n\nnoErrorSinceReset: no errors have been detected since the last\n cold start or warm start.") frErrData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 3, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1600))).setMaxAccess("readonly") if mibBuilder.loadTexts: frErrData.setDescription("An octet string containing as much of the error packet\nas possible. As a minimum, it must contain the Q.922\nAddress or as much as was delivered. It is desirable\nto include all header and demultiplexing information.") frErrTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 3, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frErrTime.setDescription("The value of sysUpTime at which the error was\ndetected.") frErrFaults = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frErrFaults.setDescription("The number of times the interface has gone down since\nit was initialized.") frErrFaultTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 32, 3, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frErrFaultTime.setDescription("The value of sysUpTime at the time when the interface\nwas taken down due to excessive errors. Excessive\nerrors is defined as the time when a DLCMI exceeds the\nfrDlcmiErrorThreshold number of errors within\nfrDlcmiMonitoredEvents. See FrDlcmiEntry for further\ndetails.") frameRelayTrapControl = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 32, 4)) frTrapState = MibScalar((1, 3, 6, 1, 2, 1, 10, 32, 4, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frTrapState.setDescription("This variable indicates whether the system produces\nthe frDLCIStatusChange trap.") frTrapMaxRate = MibScalar((1, 3, 6, 1, 2, 1, 10, 32, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600000)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frTrapMaxRate.setDescription("This variable indicates the number of milliseconds\nthat must elapse between trap emissions. If events\noccur more rapidly, the impementation may simply fail\nto trap, or may queue traps until an appropriate time.") frConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 32, 6)) frGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 32, 6, 1)) frCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 32, 6, 2)) # Augmentions # Notifications frDLCIStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 10, 32, 0, 1)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frCircuitState"), ) ) if mibBuilder.loadTexts: frDLCIStatusChange.setDescription("This trap indicates that the indicated Virtual Circuit\nhas changed state. It has either been created or\ninvalidated, or has toggled between the active and\ninactive states. If, however, the reason for the state\nchange is due to the DLCMI going down, per-DLCI traps\nshould not be generated.") # Groups frPortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 1)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frDlcmiMonitoredEvents"), ("FRAME-RELAY-DTE-MIB", "frDlcmiState"), ("FRAME-RELAY-DTE-MIB", "frDlcmiMulticast"), ("FRAME-RELAY-DTE-MIB", "frDlcmiStatus"), ("FRAME-RELAY-DTE-MIB", "frDlcmiAddressLen"), ("FRAME-RELAY-DTE-MIB", "frDlcmiMaxSupportedVCs"), ("FRAME-RELAY-DTE-MIB", "frDlcmiPollingInterval"), ("FRAME-RELAY-DTE-MIB", "frDlcmiFullEnquiryInterval"), ("FRAME-RELAY-DTE-MIB", "frDlcmiIfIndex"), ("FRAME-RELAY-DTE-MIB", "frDlcmiErrorThreshold"), ("FRAME-RELAY-DTE-MIB", "frDlcmiAddress"), ("FRAME-RELAY-DTE-MIB", "frDlcmiRowStatus"), ) ) if mibBuilder.loadTexts: frPortGroup.setDescription("The objects necessary to control the Link Management\nInterface for a Frame Relay Interface as well as\nmaintain the error statistics on this interface.") frCircuitGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 2)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frCircuitDiscards"), ("FRAME-RELAY-DTE-MIB", "frCircuitState"), ("FRAME-RELAY-DTE-MIB", "frCircuitMulticast"), ("FRAME-RELAY-DTE-MIB", "frCircuitLogicalIfIndex"), ("FRAME-RELAY-DTE-MIB", "frCircuitSentDEs"), ("FRAME-RELAY-DTE-MIB", "frCircuitThroughput"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedBECNs"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedOctets"), ("FRAME-RELAY-DTE-MIB", "frCircuitDlci"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedFECNs"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedFrames"), ("FRAME-RELAY-DTE-MIB", "frCircuitSentOctets"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedDEs"), ("FRAME-RELAY-DTE-MIB", "frCircuitCommittedBurst"), ("FRAME-RELAY-DTE-MIB", "frCircuitCreationTime"), ("FRAME-RELAY-DTE-MIB", "frCircuitSentFrames"), ("FRAME-RELAY-DTE-MIB", "frCircuitRowStatus"), ("FRAME-RELAY-DTE-MIB", "frCircuitType"), ("FRAME-RELAY-DTE-MIB", "frCircuitExcessBurst"), ("FRAME-RELAY-DTE-MIB", "frCircuitIfIndex"), ("FRAME-RELAY-DTE-MIB", "frCircuitLastTimeChange"), ) ) if mibBuilder.loadTexts: frCircuitGroup.setDescription("The objects necessary to control the Virtual Circuits\nlayered onto a Frame Relay Interface.") frTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 3)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frTrapMaxRate"), ("FRAME-RELAY-DTE-MIB", "frTrapState"), ) ) if mibBuilder.loadTexts: frTrapGroup.setDescription("The objects necessary to control a Frame Relay\nInterface's notification messages.") frErrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 4)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frErrTime"), ("FRAME-RELAY-DTE-MIB", "frErrFaultTime"), ("FRAME-RELAY-DTE-MIB", "frErrFaults"), ("FRAME-RELAY-DTE-MIB", "frErrType"), ("FRAME-RELAY-DTE-MIB", "frErrData"), ("FRAME-RELAY-DTE-MIB", "frErrIfIndex"), ) ) if mibBuilder.loadTexts: frErrGroup.setDescription("Objects designed to assist in debugging Frame Relay\nInterfaces.") frNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 5)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frDLCIStatusChange"), ) ) if mibBuilder.loadTexts: frNotificationGroup.setDescription("Traps which may be used to enhance event driven\nmanagement of the interface.") frPortGroup0 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 6)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frDlcmiAddress"), ("FRAME-RELAY-DTE-MIB", "frDlcmiPollingInterval"), ("FRAME-RELAY-DTE-MIB", "frDlcmiFullEnquiryInterval"), ("FRAME-RELAY-DTE-MIB", "frDlcmiIfIndex"), ("FRAME-RELAY-DTE-MIB", "frDlcmiMaxSupportedVCs"), ("FRAME-RELAY-DTE-MIB", "frDlcmiMulticast"), ("FRAME-RELAY-DTE-MIB", "frDlcmiErrorThreshold"), ("FRAME-RELAY-DTE-MIB", "frDlcmiState"), ("FRAME-RELAY-DTE-MIB", "frDlcmiAddressLen"), ("FRAME-RELAY-DTE-MIB", "frDlcmiMonitoredEvents"), ) ) if mibBuilder.loadTexts: frPortGroup0.setDescription("The objects necessary to control the Link Management\nInterface for a Frame Relay Interface as well as\nmaintain the error statistics on this interface from\nRFC 1315.") frCircuitGroup0 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 7)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frCircuitState"), ("FRAME-RELAY-DTE-MIB", "frCircuitThroughput"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedBECNs"), ("FRAME-RELAY-DTE-MIB", "frCircuitDlci"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedFECNs"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedFrames"), ("FRAME-RELAY-DTE-MIB", "frCircuitCreationTime"), ("FRAME-RELAY-DTE-MIB", "frCircuitIfIndex"), ("FRAME-RELAY-DTE-MIB", "frCircuitReceivedOctets"), ("FRAME-RELAY-DTE-MIB", "frCircuitExcessBurst"), ("FRAME-RELAY-DTE-MIB", "frCircuitSentOctets"), ("FRAME-RELAY-DTE-MIB", "frCircuitCommittedBurst"), ("FRAME-RELAY-DTE-MIB", "frCircuitSentFrames"), ("FRAME-RELAY-DTE-MIB", "frCircuitLastTimeChange"), ) ) if mibBuilder.loadTexts: frCircuitGroup0.setDescription("The objects necessary to control the Virtual Circuits\nlayered onto a Frame Relay Interface from RFC 1315.") frErrGroup0 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 8)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frErrType"), ("FRAME-RELAY-DTE-MIB", "frErrTime"), ("FRAME-RELAY-DTE-MIB", "frErrIfIndex"), ("FRAME-RELAY-DTE-MIB", "frErrData"), ) ) if mibBuilder.loadTexts: frErrGroup0.setDescription("Objects designed to assist in debugging Frame Relay\nInterfaces from RFC 1315.") frTrapGroup0 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 32, 6, 1, 9)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frTrapState"), ) ) if mibBuilder.loadTexts: frTrapGroup0.setDescription("The objects necessary to control a Frame Relay\nInterface's notification messages from RFC 1315.") # Compliances frCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 32, 6, 2, 1)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frCircuitGroup"), ("FRAME-RELAY-DTE-MIB", "frErrGroup"), ("FRAME-RELAY-DTE-MIB", "frNotificationGroup"), ("FRAME-RELAY-DTE-MIB", "frPortGroup"), ("FRAME-RELAY-DTE-MIB", "frTrapGroup"), ) ) if mibBuilder.loadTexts: frCompliance.setDescription("The compliance statement ") frCompliance0 = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 32, 6, 2, 2)).setObjects(*(("FRAME-RELAY-DTE-MIB", "frNotificationGroup"), ("FRAME-RELAY-DTE-MIB", "frTrapGroup0"), ("FRAME-RELAY-DTE-MIB", "frCircuitGroup0"), ("FRAME-RELAY-DTE-MIB", "frPortGroup0"), ("FRAME-RELAY-DTE-MIB", "frErrGroup0"), ) ) if mibBuilder.loadTexts: frCompliance0.setDescription("The compliance statement for objects and the trap\ndefined in RFC 1315.") # Exports # Module identity mibBuilder.exportSymbols("FRAME-RELAY-DTE-MIB", PYSNMP_MODULE_ID=frameRelayDTE) # Types mibBuilder.exportSymbols("FRAME-RELAY-DTE-MIB", DLCI=DLCI) # Objects mibBuilder.exportSymbols("FRAME-RELAY-DTE-MIB", frameRelayDTE=frameRelayDTE, frameRelayTraps=frameRelayTraps, frDlcmiTable=frDlcmiTable, frDlcmiEntry=frDlcmiEntry, frDlcmiIfIndex=frDlcmiIfIndex, frDlcmiState=frDlcmiState, frDlcmiAddress=frDlcmiAddress, frDlcmiAddressLen=frDlcmiAddressLen, frDlcmiPollingInterval=frDlcmiPollingInterval, frDlcmiFullEnquiryInterval=frDlcmiFullEnquiryInterval, frDlcmiErrorThreshold=frDlcmiErrorThreshold, frDlcmiMonitoredEvents=frDlcmiMonitoredEvents, frDlcmiMaxSupportedVCs=frDlcmiMaxSupportedVCs, frDlcmiMulticast=frDlcmiMulticast, frDlcmiStatus=frDlcmiStatus, frDlcmiRowStatus=frDlcmiRowStatus, frCircuitTable=frCircuitTable, frCircuitEntry=frCircuitEntry, frCircuitIfIndex=frCircuitIfIndex, frCircuitDlci=frCircuitDlci, frCircuitState=frCircuitState, frCircuitReceivedFECNs=frCircuitReceivedFECNs, frCircuitReceivedBECNs=frCircuitReceivedBECNs, frCircuitSentFrames=frCircuitSentFrames, frCircuitSentOctets=frCircuitSentOctets, frCircuitReceivedFrames=frCircuitReceivedFrames, frCircuitReceivedOctets=frCircuitReceivedOctets, frCircuitCreationTime=frCircuitCreationTime, frCircuitLastTimeChange=frCircuitLastTimeChange, frCircuitCommittedBurst=frCircuitCommittedBurst, frCircuitExcessBurst=frCircuitExcessBurst, frCircuitThroughput=frCircuitThroughput, frCircuitMulticast=frCircuitMulticast, frCircuitType=frCircuitType, frCircuitDiscards=frCircuitDiscards, frCircuitReceivedDEs=frCircuitReceivedDEs, frCircuitSentDEs=frCircuitSentDEs, frCircuitLogicalIfIndex=frCircuitLogicalIfIndex, frCircuitRowStatus=frCircuitRowStatus, frErrTable=frErrTable, frErrEntry=frErrEntry, frErrIfIndex=frErrIfIndex, frErrType=frErrType, frErrData=frErrData, frErrTime=frErrTime, frErrFaults=frErrFaults, frErrFaultTime=frErrFaultTime, frameRelayTrapControl=frameRelayTrapControl, frTrapState=frTrapState, frTrapMaxRate=frTrapMaxRate, frConformance=frConformance, frGroups=frGroups, frCompliances=frCompliances) # Notifications mibBuilder.exportSymbols("FRAME-RELAY-DTE-MIB", frDLCIStatusChange=frDLCIStatusChange) # Groups mibBuilder.exportSymbols("FRAME-RELAY-DTE-MIB", frPortGroup=frPortGroup, frCircuitGroup=frCircuitGroup, frTrapGroup=frTrapGroup, frErrGroup=frErrGroup, frNotificationGroup=frNotificationGroup, frPortGroup0=frPortGroup0, frCircuitGroup0=frCircuitGroup0, frErrGroup0=frErrGroup0, frTrapGroup0=frTrapGroup0) # Compliances mibBuilder.exportSymbols("FRAME-RELAY-DTE-MIB", frCompliance=frCompliance, frCompliance0=frCompliance0) pysnmp-mibs-0.1.3/pysnmp_mibs/ADSL2-LINE-MIB.py0000644000014400001440000060351011736645134020772 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ADSL2-LINE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:37 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Adsl2ChAtmStatus, Adsl2ChPtmStatus, Adsl2ConfPmsForce, Adsl2Direction, Adsl2InitResult, Adsl2LConfProfPmMode, Adsl2LastTransmittedState, Adsl2LdsfResult, Adsl2LineLdsf, Adsl2LineStatus, Adsl2MaxBer, Adsl2OperationModes, Adsl2PowerMngState, Adsl2PsdMaskDs, Adsl2PsdMaskUs, Adsl2RaMode, Adsl2RfiDs, Adsl2ScMaskDs, Adsl2ScMaskUs, Adsl2SymbolProtection, Adsl2TransmissionModeType, Adsl2Tssi, Adsl2Unit, ) = mibBuilder.importSymbols("ADSL2-LINE-TC-MIB", "Adsl2ChAtmStatus", "Adsl2ChPtmStatus", "Adsl2ConfPmsForce", "Adsl2Direction", "Adsl2InitResult", "Adsl2LConfProfPmMode", "Adsl2LastTransmittedState", "Adsl2LdsfResult", "Adsl2LineLdsf", "Adsl2LineStatus", "Adsl2MaxBer", "Adsl2OperationModes", "Adsl2PowerMngState", "Adsl2PsdMaskDs", "Adsl2PsdMaskUs", "Adsl2RaMode", "Adsl2RfiDs", "Adsl2ScMaskDs", "Adsl2ScMaskUs", "Adsl2SymbolProtection", "Adsl2TransmissionModeType", "Adsl2Tssi", "Adsl2Unit") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( HCPerfIntervalThreshold, HCPerfTimeElapsed, ) = mibBuilder.importSymbols("HC-PerfHist-TC-MIB", "HCPerfIntervalThreshold", "HCPerfTimeElapsed") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue") # Objects adsl2MIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 238)).setRevisions(("2006-10-04 00:00",)) if mibBuilder.loadTexts: adsl2MIB.setOrganization("ADSLMIB Working Group") if mibBuilder.loadTexts: adsl2MIB.setContactInfo("WG-email: adslmib@ietf.org\nInfo: https://www1.ietf.org/mailman/listinfo/adslmib\n\n\n Chair: Mike Sneed\n Sand Channel Systems\n Postal: P.O. Box 37324\n Raleigh NC 27627-732\n Email: sneedmike@hotmail.com\n Phone: +1 206 600 7022\n\n Co-Chair & Co-editor:\n Menachem Dodge\n ECI Telecom Ltd.\n Postal: 30 Hasivim St.\n Petach Tikva 49517,\n Israel.\n Email: mbdodge@ieee.org\n Phone: +972 3 926 8421\n\n Co-editor: Moti Morgenstern\n ECI Telecom Ltd.\n Postal: 30 Hasivim St.\n Petach Tikva 49517,\n Israel.\n Email: moti.morgenstern@ecitele.com\n Phone: +972 3 926 6258\n\n Co-editor: Scott Baillie\n NEC Australia\n Postal: 649-655 Springvale Road,\n Mulgrave, Victoria 3170,\n Australia.\n Email: scott.baillie@nec.com.au\n Phone: +61 3 9264 3986\n\n Co-editor: Umberto Bonollo\n\n\n NEC Australia\n Postal: 649-655 Springvale Road,\n Mulgrave, Victoria 3170,\n Australia.\n Email: umberto.bonollo@nec.com.au\n Phone: +61 3 9264 3385\n ") if mibBuilder.loadTexts: adsl2MIB.setDescription("\nThis document defines a Management Information Base (MIB)\nmodule for use with network management protocols in the\nInternet community for the purpose of managing ADSL, ADSL2,\nand ADSL2+ lines. The MIB module described in RFC 2662\n[RFC2662] describes objects used for managing Asymmetric\nBit-Rate DSL (ADSL) interfaces per [T1E1.413], [G.992.1],\nand [G.992.2]. These object descriptions are based upon the\nspecifications for the ADSL Embedded Operations Channel\n(EOC) as defined in American National Standards Institute\n(ANSI) T1E1.413/1995 [T1E1.413] and International\nTelecommunication Union (ITU-T) G.992.1 [G.992.1] and\nG.992.2 [G.992.2].\n\nThis document does not obsolete RFC 2662 [RFC2662], but\nrather provides a more comprehensive management model that\nincludes the ADSL2 and ADSL2+ technologies per G.992.3,\nG.992.4, and G.992.5 ([G.992.3], [G.992.4], and [G.992.5],\nrespectively). In addition, objects have been added to\nimprove the management of ADSL, ADSL2, and ADSL2+ lines.\n\nAdditionally, the management framework for New Generation\nADSL lines specified by the Digital Subscriber Line Forum\n(DSLF) has been taken into consideration [TR-90]. That\nframework is based on ITU-T G.997.1 standard [G.997.1] as\nwell as two amendments: [G.997.1am1] and [G.997.1am2].\n\nNote that the revised ITU-T G.997.1 standard also refers to\nthe next generation of VDSL technology, known as VDSL2, per\nITU-T G.993.2 [G.993.2]. However, managing VDSL2 lines is\ncurrently beyond the scope of this document.\n\nThe MIB module is located in the MIB tree under MIB 2\ntransmission, as discussed in the IANA Considerations section\nof this document.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4706: see the RFC itself for\nfull legal notices.") adsl2 = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1)) adsl2Notifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 0)) adsl2Line = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 1)) adsl2LineTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1)) if mibBuilder.loadTexts: adsl2LineTable.setDescription("The table adsl2LineTable contains configuration,\ncommand, and status parameters of the ADSL2 line.\nThe index of this table is an interface index where the\ninterface has an ifType of adsl2plus(238).\n\nSeveral objects in this table MUST be maintained in a\npersistent manner.") adsl2LineEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adsl2LineEntry.setDescription("The table adsl2LineTable contains configuration,\ncommands, and status parameters of the ADSL2 line") adsl2LineCnfgTemplate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('DEFVAL')).setMaxAccess("readwrite") if mibBuilder.loadTexts: adsl2LineCnfgTemplate.setDescription("The value of this object identifies the row in the ADSL2 Line\nConfiguration Templates Table, (adsl2LineConfTemplateTable),\nwhich applies for this ADSL2 line.\n\nThis object MUST be maintained in a persistent manner.") adsl2LineAlarmCnfgTemplate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('DEFVAL')).setMaxAccess("readwrite") if mibBuilder.loadTexts: adsl2LineAlarmCnfgTemplate.setDescription("The value of this object identifies the row in the ADSL2 Line\nAlarm Configuration Template Table,\n(adsl2LineAlarmConfTemplateTable), which applies to this ADSL2\nline.\n\nThis object MUST be maintained in a persistent manner.") adsl2LineCmndConfPmsf = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 3), Adsl2ConfPmsForce().clone('l3toL0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: adsl2LineCmndConfPmsf.setDescription("Power management state forced. Defines the line states to be\nforced by the near-end ATU on this line. The various possible\nvalues are:\n l3toL0(0),\n l0toL2(2), or\n l0orL2toL3(3).\n\nThis object MUST be maintained in a persistent manner.") adsl2LineCmndConfLdsf = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 4), Adsl2LineLdsf().clone('inhibit')).setMaxAccess("readwrite") if mibBuilder.loadTexts: adsl2LineCmndConfLdsf.setDescription("Loop diagnostics mode forced (LDSF). Defines whether the line\nshould be forced into the loop diagnostics mode by the\nnear-end ATU on this line or only be responsive to loop\ndiagnostics initiated by the far-end ATU.\n\nThis object MUST be maintained in a persistent manner.\nHowever, in case the operator forces loop diagnostics mode\nthen the access node should reset the object (inhibit) when\nloop diagnostics mode procedures are completed.") adsl2LineCmndConfLdsfFailReason = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 5), Adsl2LdsfResult().clone('none')).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineCmndConfLdsfFailReason.setDescription("The status of the recent occasion the Loop diagnostics mode\nforced (LDSF) was issued for the associated line. Possible\nvalues are:\n none(1) - The default value in case LDSF was never\n requested for the associated line.\n success(2) - The recent command completed\n successfully.\n inProgress(3) - The Loop Diagnostics process is in\n progress.\n unsupported(4) - The NE or the line card doesn't support\n LDSF.\n cannotRun(5) - The NE cannot initiate the command, due\n to a nonspecific reason.\n aborted(6) - The Loop Diagnostics process aborted.\n failed(7) - The Loop Diagnostics process failed.\n illegalMode(8) - The NE cannot initiate the command, due\n to the specific mode of the relevant\n line.\n adminUp(9) - The NE cannot initiate the command, as\n the relevant line is administratively\n 'Up'.\n tableFull(10) - The NE cannot initiate the command, due\n to reaching the maximum number of rows\n in the results table.\n noResources(11) - The NE cannot initiate the command, due\n to lack of internal memory resources.") adsl2LineCmndAutomodeColdStart = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: adsl2LineCmndAutomodeColdStart.setDescription("Automode cold start forced. This parameter is defined\nin order to improve testing of the performance of ATUs\nsupporting automode when it is enabled in the MIB.\nChange the value of this parameter to 'true' indicates\na change in loop conditions applied to the devices under\ntest. The ATUs shall reset any historical information\nused for automode and for shortening G.994.1 handshake\n\n\nand initialization.\n\nAutomode is the case where multiple operation-modes are\nenabled through the adsl2LConfProfAtuTransSysEna object\nin the line configuration profile being used for the\nADSL line, and where the selection of the actual\noperation-mode depends not only on the common\ncapabilities of both ATUs (as exchanged in G.994.1), but\nalso on achievable data rates under given loop\nconditions.\n\nThis object MUST be maintained in a persistent manner.") adsl2LineStatusAtuTransSys = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 7), Adsl2TransmissionModeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusAtuTransSys.setDescription("The ATU Transmission System (ATS) in use.\nIt is coded in a bit-map representation with only a single bit\nset to '1' (the selected coding for the ADSL line). This\nparameter may be derived from the handshaking procedures\ndefined in Recommendation G.994.1. A set of ADSL2 line\ntransmission modes, with one bit per mode.") adsl2LineStatusPwrMngState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 8), Adsl2PowerMngState()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusPwrMngState.setDescription("The current power management state. One of four possible\npower management states:\n L0 - Synchronized and full transmission (i.e., Showtime).\n L1 - Low Power with reduced net data rate (G.992.2 only).\n L2 - Low Power with reduced net data rate (G.992.3 and\n G.992.4 only).\n L3 - No power.\nThe various possible values are: l0(1), l1(2), l2(3), or\nl3(4).") adsl2LineStatusInitResult = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 9), Adsl2InitResult()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusInitResult.setDescription("Indicates the result of the last full initialization performed\non the line. It is an enumeration type with the following\nvalues: noFail(0), configError(1), configNotFeasible(2),\ncommFail(3), noPeerAtu(4), or otherCause(5).") adsl2LineStatusLastStateDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 10), Adsl2LastTransmittedState()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusLastStateDs.setDescription("The last successful transmitted initialization state in\nthe downstream direction in the last full initialization\nperformed on the line.") adsl2LineStatusLastStateUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 11), Adsl2LastTransmittedState()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusLastStateUs.setDescription("The last successful transmitted initialization state in the\nupstream direction in the last full initialization performed\non the line.") adsl2LineStatusAtur = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 12), Adsl2LineStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusAtur.setDescription("Indicates current state (existing failures) of the ATU-R.\nThis is a bit-map of possible conditions.") adsl2LineStatusAtuc = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 13), Adsl2LineStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusAtuc.setDescription("Indicates current state (existing failures) of the ATU-C.\nThis is a bit-map of possible conditions.") adsl2LineStatusLnAttenDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,1270),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusLnAttenDs.setDescription("The measured difference in the total power transmitted by the\nATU-C and the total power received by the ATU-R over all sub-\ncarriers during diagnostics mode and initialization. It\nranges from 0 to 1270 units of 0.1 dB (physical values\nare 0 to 127 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the line\nattenuation is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the line\nattenuation measurement is currently unavailable.") adsl2LineStatusLnAttenUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,1270),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusLnAttenUs.setDescription("The measured difference in the total power transmitted by the\nATU-R and the total power received by the ATU-C over all sub-\ncarriers during diagnostics mode and initialization.\nIt ranges from 0 to 1270 units of 0.1 dB (physical values are\n0 to 127 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the line\nattenuation is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the line\nattenuation measurement is currently unavailable.") adsl2LineStatusSigAttenDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 16), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,1270),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusSigAttenDs.setDescription("The measured difference in the total power transmitted by the\nATU-C and the total power received by the ATU-R over all sub-\ncarriers during Showtime. It ranges from 0 to 1270 units of\n0.1 dB (physical values are 0 to 127 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the\nsignal attenuation is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the\nsignal attenuation measurement is currently unavailable.") adsl2LineStatusSigAttenUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 17), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,1270),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusSigAttenUs.setDescription("The measured difference in the total power transmitted by the\nATU-R and the total power received by the ATU-C over all sub-\ncarriers during Showtime. It ranges from 0 to 1270 units of\n0.1 dB (physical values are 0 to 127 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the\nsignal attenuation is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the\nsignal attenuation measurement is currently unavailable.") adsl2LineStatusSnrMarginDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-640,630),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusSnrMarginDs.setDescription("Downstream SNR Margin is the maximum increase in dB of the\nnoise power received at the ATU-R, such that the BER\nrequirements are met for all downstream bearer channels. It\nranges from -640 to 630 units of 0.1 dB (physical values are\n-64 to 63 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the\nSNR Margin is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the\nSNR Margin measurement is currently unavailable.") adsl2LineStatusSnrMarginUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-640,630),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusSnrMarginUs.setDescription("Upstream SNR Margin is the maximum increase in dB of the noise\npower received at the ATU-C, such that the BER requirements\nare met for all downstream bearer channels. It ranges from\n-640 to 630 units of 0.1 dB (physical values are -64 to\n63 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the\nSNR Margin is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the\nSNR Margin measurement is currently unavailable.") adsl2LineStatusAttainableRateDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusAttainableRateDs.setDescription("Maximum Attainable Data Rate Downstream.\nThe maximum downstream net data rate currently attainable by\nthe ATU-C transmitter and the ATU-R receiver, coded in\nbits/second.") adsl2LineStatusAttainableRateUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusAttainableRateUs.setDescription("Maximum Attainable Data Rate Upstream.\nThe maximum upstream net data rate currently attainable by the\nATU-R transmitter and the ATU-C receiver, coded in\nbits/second.") adsl2LineStatusActPsdDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-900,0),ValueRangeConstraint(2147483647,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusActPsdDs.setDescription("Actual Power Spectrum Density (PSD) Downstream. The average\ndownstream transmit PSD over the sub-carriers used for\ndownstream. It ranges from -900 to 0 units of 0.1 dB\n(physical values are -90 to 0 dBm/Hz).\nA value of 0x7FFFFFFF (2147483647) indicates the measurement\nis out of range to be represented.") adsl2LineStatusActPsdUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-900,0),ValueRangeConstraint(2147483647,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusActPsdUs.setDescription("Actual Power Spectrum Density (PSD) Upstream. The average\nupstream transmit PSD over the sub-carriers used for upstream.\nIt ranges from -900 to 0 units of 0.1 dB (physical values\nare -90 to 0 dBm/Hz).\nA value of 0x7FFFFFFF (2147483647) indicates the measurement\nis out of range to be represented.") adsl2LineStatusActAtpDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-310,310),ValueRangeConstraint(2147483647,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusActAtpDs.setDescription("Actual Aggregate Transmit Power Downstream. The total amount\nof transmit power delivered by the ATU-C at the U-C reference\npoint, at the instant of measurement. It ranges from -310 to\n310 units of 0.1 dB (physical values are -31 to 31 dBm).\nA value of 0x7FFFFFFF (2147483647) indicates the measurement\nis out of range to be represented.") adsl2LineStatusActAtpUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-310,310),ValueRangeConstraint(2147483647,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LineStatusActAtpUs.setDescription("Actual Aggregate Transmit Power Upstream. The total amount of\ntransmit power delivered by the ATU-R at the U-R\nreference point, at the instant of measurement. It ranges\n\n\nfrom -310 to 310 units of 0.1 dB (physical values are -31\nto 31 dBm).\nA value of 0x7FFFFFFF (2147483647) indicates the measurement\nis out of range to be represented.") adsl2Status = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 2)) adsl2ChannelStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1)) if mibBuilder.loadTexts: adsl2ChannelStatusTable.setDescription("The table adsl2ChannelStatusTable contains status\nparameters of the ADSL2 channel. This table contains live\ndata from equipment.") adsl2ChannelStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2ChStatusUnit")) if mibBuilder.loadTexts: adsl2ChannelStatusEntry.setDescription("The table adsl2ChannelStatusTable contains status\nparameters of the ADSL2 channel.\nThe index of this table consists of an interface index, where\nthe interface has an ifType value that is applicable\nfor a DSL channel, along with a termination unit.") adsl2ChStatusUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2ChStatusUnit.setDescription("The termination unit atuc(1) or atur(2).") adsl2ChStatusChannelNum = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2ChStatusChannelNum.setDescription("Provides the bearer channel number associated with this\nrow (i.e., the channel ifIndex).\nThis enables determining the channel configuration profile\nand the channel thresholds profile applicable for this\nbearer channel.") adsl2ChStatusActDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2ChStatusActDataRate.setDescription("The actual net data rate that the bearer channel is operating\nat, if in L0 power management state. In L1 or L2 states, it\nrelates to the previous L0 state. The data rate is coded in\nbits/second.") adsl2ChStatusPrevDataRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2ChStatusPrevDataRate.setDescription("The previous net data rate that the bearer channel was\noperating at just before the latest rate change event. This\ncould be a full or short initialization, fast retrain, DRA or\npower management transitions, excluding transitions between L0\nstate and L1 or L2 states. The data rate is coded in\nbits/second.") adsl2ChStatusActDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8176))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2ChStatusActDelay.setDescription("The actual one-way interleaving delay introduced by the\nPMS-TC in the direction of the bearer channel, if in L0\npower management state. In L1 or L2 states, it relates to\nthe previous L0 state. It is coded in ms (rounded to the\nnearest ms).") adsl2ChStatusAtmStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1, 6), Adsl2ChAtmStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2ChStatusAtmStatus.setDescription("Indicates the current state (existing failures) of the ADSL\nchannel in case its Data Path is ATM. This is a bit-map of\npossible conditions. The various bit positions are:\n noDefect(0),\n noCellDelineation(1), or\n lossOfCellDelineation(2).\nIn the case where the channel is not an ATM Data Path, the\nobject is set to '0'.") adsl2ChStatusPtmStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 1, 1, 7), Adsl2ChPtmStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2ChStatusPtmStatus.setDescription("Indicates the current state (existing failures) of the ADSL\nchannel in case its Data Path is PTM. This is a bit-map of\npossible conditions. The various bit positions are:\n noDefect(0), or\n outOfSync(1).\nIn the case where the channel is not a PTM Data Path, the\nobject is set to '0'.") adsl2SCStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2)) if mibBuilder.loadTexts: adsl2SCStatusTable.setDescription("The table adsl2SCStatusTable contains status parameters\nof the ADSL2 sub-carriers. The following points apply to this\ntable:\n1. The main purpose of this table is to hold the results\n of a DELT.\n2. This table also holds parameters obtained at line\n initialization time.\n3. The rows in this table are volatile; that is, they are\n lost if the SNMP agent is rebooted.\n4. Due to the large OCTET STRING attributes in this table,\n the worst case memory requirements for this table are\n very high. The manager may use the row status attribute\n of this table to delete rows in order to reclaim memory.\n5. The manager may create rows in this table. The SNMP\n agent may create rows in this table. Only the manager\n may delete rows in this table.\n6. The maximum number of rows allowable in this table is\n indicated by the scalar attribute\n adsl2ScalarSCMaxInterfaces.\n\n\n\n The number of rows available in this table is indicated\n by the scalar attribute adsl2ScalarSCAvailInterfaces.\n7. The SNMP agent is permitted to create rows in this table\n when a DELT completes successfully or when line\n initialization occurs. It is not mandatory for the SNMP\n agent to create rows in this table; hence, it may be\n necessary for the manager to create rows in this table\n before any results can be stored.\n8. If the manager attempts to create a row in this table\n and there are no more rows available, the creation\n attempt will fail, and the response to the SNMP SET PDU\n will contain the error noCreation(11).\n9. If the SNMP agent attempts to create a row in this table\n and there are no more rows available, the creation\n attempt will fail, and the attribute\n adsl2LineCmndConfLdsfFailReason will indicate the\n reason for the failure. The failure reason will be either\n tableFull(10) or noResources(11).\n10. An example of use of this table is as follows:\n Step 1. : The DELT is started by setting the\n : adsl2LineCmndConfLdsf from inhibit to force.\n Step 2. : The DELT completes, and valid data is\n : available.\n Step 3. : The row in the adsl2SCStatusTable where the\n : results will be stored does not yet exist so\n : the SNMP agent attempts to create the row.\n Step 4. : Due to a low memory condition, a row in the\n : adsl2SCStatusTable table cannot be created at\n : this time.\n Step 5. : The reason for the failure, tableFull(10), is\n : indicated in the adsl2LineCmndConfLdsfFailReason\n : attribute.\n11. Another example of use of this table is as follows :\n Step 1. : The DELT is started by setting the\n : adsl2LineCmndConfLdsf from inhibit to force.\n Step 2. : The DELT completes and valid data is\n : available.\n Step 3. : The row in the adsl2SCStatusTable where the\n : results will be stored does not yet exist so\n : the SNMP agent attempts to create the row.\n Step 4. : The row creation is successful.\n Step 5. : The value of the attribute\n : adsl2LineCmndConfLdsfFailReasonreason is set\n : to success(2).\n12. Another example of use of this table is as follows:\n Step 1. : The manager creates a row in adsl2SCStatusTable\n : for a particular ADSL2 line.\n Step 2. : The DELT is started on the above-mentioned\n\n\n\n : line by setting the adsl2LineCmndConfLdsf from\n : inhibit to force.\n Step 3. : The DELT completes, and valid data is\n : available.\n Step 4. : The value of the attribute\n : adsl2LineCmndConfLdsfFailReasonreason is set\n : to success(2).") adsl2SCStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2SCStatusDirection")) if mibBuilder.loadTexts: adsl2SCStatusEntry.setDescription("The table Adsl2SCStatusEntry contains status parameters\nof the ADSL2 sub-carriers.\nThe index of this table is an interface index where the\ninterface has an ifType of adsl2plus(238).") adsl2SCStatusDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 1), Adsl2Direction()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2SCStatusDirection.setDescription("The direction of the sub-carrier is either\nupstream or downstream.") adsl2SCStatusMtime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusMtime.setDescription("SNR Measurement Time. The number of symbols used to\nmeasure the SNR values on the respective transmission\ndirection. It should correspond to the value specified in the\nrecommendation (e.g., the number of symbols in 1 second\ntime interval for G.992.3). This parameter corresponds to\n1 second in loop diagnostic procedure and should be updated\notherwise.") adsl2SCStatusSnr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusSnr.setDescription("The SNR Margin per sub-carrier, expressing the ratio between\nthe received signal power and received noise power per\nsubscriber. It is an array of 512 octets, designed for\nsupporting up to 512 (downstream) sub-carriers.\nThe number of utilized octets on downstream direction depends\non NSCds, and on upstream direction it depends on NSCus. This\nvalue is referred to here as NSC.\nOctet i (0 <= i < NSC) is set to a value in the range 0 to\n254 to indicate that the respective downstream or upstream sub-\ncarrier i has SNR of: (-32 + Adsl2SubcarrierSnr(i)/2) in dB\n(i.e., -32 to 95dB).\nThe special value 255 means that no measurement could be done\nfor the subcarrier because it is out of the PSD mask passband\nor that the noise PSD is out of range to be represented.\nEach value in this array is 8 bits wide.") adsl2SCStatusBitsAlloc = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusBitsAlloc.setDescription("The bits allocation per sub-carrier. An array of 256 octets\n(512 nibbles), designed for supporting up to 512 (downstream)\nsub-carriers.\nThe number of utilized nibbles on downstream direction depends\non NSCds, and on upstream direction it depends on NSCus. This\nvalue is referred to here as NSC.\nNibble i (0 <= i < NSC) is set to a value in the range 0\nto 15 to indicate that the respective downstream or upstream\nsub-carrier i has the same amount of bits allocation.") adsl2SCStatusGainAlloc = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusGainAlloc.setDescription("The gain allocation per sub-carrier. An array of 512 16-bits\nvalues, designed for supporting up to 512 (downstream) sub-\ncarriers.\nThe number of utilized octets on downstream direction depends\non NSCds, and on upstream direction it depends on NSCus. This\nvalue is referred to here as NSC.\nValue i (0 <= i < NSC) is in the range 0 to 4093 to indicate\nthat the respective downstream or upstream sub-carrier i has the\nsame amount of gain value.\nThe gain value is represented as a multiple of 1/512 on a\nlinear scale. Each value in this array is 16 bits wide and is\nstored in big endian format.") adsl2SCStatusTssi = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 6), Adsl2Tssi()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusTssi.setDescription("The transmit spectrum shaping (TSSi) breakpoints expressed\nas the set of breakpoints exchanged during G.994.1.\nEach breakpoint is a pair of values occupying 3 octets with the\nfollowing structure:\nFirst 2 octets - Index of the subcarrier used in the context of\n\n\n\n the breakpoint.\nThird octet - The shaping parameter at the breakpoint.\nSubcarrier index is an unsigned number in the range 1 to either\nNSCds (downstream direction) or NSCus (upstream direction).\nThe shaping parameter value is in the range 0 to 127 (units of\n-0.5dB). The special value 127 indicates that the subcarrier\nis not transmitted.") adsl2SCStatusLinScale = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusLinScale.setDescription("The scale factor to be applied to the H(f) linear\nrepresentation values for the respective transmission direction.\nThis parameter is only available after a loop diagnostic\nprocedure.") adsl2SCStatusLinReal = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusLinReal.setDescription("An array of up to 512 complex H(f) linear representation\nvalues in linear scale for the respective transmission\ndirection. It is designed to support up to 512 (downstream)\nsub-carriers.\nThe number of utilized values on downstream direction depends\non NSCds, and on upstream direction it depends on NSCus. This\nvalue is referred to here as NSC.\nEach array entry represents the real component [referred to here\nas a(i)] of Hlin(f = i*Df) value for a particular sub-carrier\nindex i (0 <= i < NSC).\nHlin(f) is represented as ((scale/2^15)*((a(i)+j*b(i))/2^15)),\nwhere scale is Adsl2SubcarrierLinScale and a(i) and b(i)\n[provided by the Adsl2SubcarrierLinImg object] are in the range\n(-2^15+1) to (+2^15-1).\nA special value a(i)=b(i)= -2^15 indicates that no measurement\ncould be done for the subcarrier because it is out of the\npassband or that the attenuation is out of range to be\nrepresented. This parameter is only available after a loop\ndiagnostic procedure.\n\n\n\nEach value in this array is 16 bits wide and is stored in big\nendian format.") adsl2SCStatusLinImg = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusLinImg.setDescription("An array of up to 512 complex H(f) linear representation\nvalues in linear scale for the respective transmission\ndirection. It is designed to support up to 512 (downstream)\nsub-carriers.\nThe number of utilized values on downstream direction depends\non NSCds, and on upstream direction it depends on NSCus. This\nvalue is referred to here as NSC.\nEach array entry represents the imaginary component [referred\nto here as b(i)] of Hlin(f = i*Df) value for a particular sub-\ncarrier index i (0 <= i < NSC).\nHlin(f) is represented as ((scale/2^15)*((a(i)+j*b(i))/2^15)),\nwhere scale is Adsl2SubcarrierLinScale and a(i) [provided by\nthe Adsl2SubcarrierLinReal object] and b(i) are in the range\n(-2^15+1) to (+2^15-1).\nA special value a(i)=b(i)= -2^15 indicates that no measurement\ncould be done for the subcarrier because it is out of the\npassband or that the attenuation is out of range to be\nrepresented. This parameter is only available after a loop\ndiagnostic procedure.\nEach value in this array is 16 bits wide and is stored in big\nendian format.") adsl2SCStatusLogMt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusLogMt.setDescription("The number of symbols used to measure the H(f) logarithmic\nmeasurement values for the respective transmission direction.\nThis parameter should correspond to the value specified in the\nrecommendation (e.g., the number of symbols in 1 second\ntime interval for G.992.3). This parameter corresponds to 1\nsecond in loop diagnostic procedure and should be updated in\ninitialization") adsl2SCStatusLog = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusLog.setDescription("An array of up to 512 real H(f) logarithmic representation\nvalues in dB for the respective transmission direction. It is\ndesigned to support up to 512 (downstream) sub-carriers.\nThe number of utilized values on downstream direction depends\non NSCds, and on upstream direction it depends on NSCus. This\nvalue is referred to here as NSC.\nEach array entry represents the real Hlog(f = i*Df) value for a\nparticular sub-carrier index i, (0 <= i < NSC).\nThe real Hlog(f) value is represented as (6-m(i)/10), with m(i)\nin the range 0 to 1022. A special value m=1023 indicates that\nno measurement could be done for the subcarrier because it is\nout of the passband or that the attenuation is out of range to\nbe represented. This parameter is applicable in loop\ndiagnostic procedure and initialization.\nEach value in this array is 16 bits wide and is stored\nin big endian format.") adsl2SCStatusQlnMt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusQlnMt.setDescription("The number of symbols used to measure the Quiet Line Noise\nvalues on the respective transmission direction. This\nparameter should correspond to the value specified in the\nrecommendation (e.g., the number of symbols in 1 second time\ninterval for G.992.3). This parameter corresponds to 1 second\nin loop diagnostic procedure and should be updated in\ninitialization ") adsl2SCStatusQln = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusQln.setDescription("An array of up to 512 real Quiet Line Noise values in dBm/Hz\nfor the respective transmission direction. It is designed for\nup to 512 (downstream) sub-carriers.\nThe number of utilized values on downstream direction depends\non NSCds, and on upstream direction it depends on NSCus. This\nvalue is referred to here as NSC.\nEach array entry represents the QLN(f = i*Df) value for a\nparticular sub-carrier index i, (0 <= i < NSC).\nThe QLN(f) is represented as ( -23-n(i)/2), with n(i) in the\nrange 0 to 254. A special value n(i)=255 indicates that no\nmeasurement could be done for the subcarrier because it is out\nof the passband or that the noise PSD is out of range to be\nrepresented.\nThis parameter is applicable in loop diagnostic procedure and\ninitialization. Each value in this array is 8 bits wide.") adsl2SCStatusLnAtten = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 14), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,1270),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusLnAtten.setDescription("When referring to the downstream direction, it is the measured\ndifference in the total power transmitted by the ATU-C and the\ntotal power received by the ATU-R over all sub-carriers during\ndiagnostics mode.\nWhen referring to the upstream direction, it is the measured\ndifference in the total power transmitted by the ATU-R and the\ntotal power received by the ATU-C over all sub-carriers during\ndiagnostics mode.\nIt ranges from 0 to 1270 units of 0.1 dB (physical values are\n0 to 127 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the line\nattenuation is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the line\nattenuation measurement is unavailable.\nThis object reflects the value of the parameter following the\nmost recent DELT performed on the associated line. Once\nthe DELT process is over, the parameter no longer changes\nuntil the row is deleted or a new DELT process is initiated.") adsl2SCStatusSigAtten = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 15), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,1270),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusSigAtten.setDescription("When referring to the downstream direction, it is the measured\ndifference in the total power transmitted by the\nATU-C and the total power received by the ATU-R over all sub-\ncarriers during Showtime after the diagnostics mode.\nWhen referring to the upstream direction, it is the measured\ndifference in the total power transmitted by the\nATU-R and the total power received by the ATU-C over all sub-\ncarriers during Showtime after the diagnostics mode.\nIt ranges from 0 to 1270 units of 0.1 dB (physical values\nare 0 to 127 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the\nsignal attenuation is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the\nsignal attenuation measurement is unavailable.\nThis object reflects the value of the parameter following the\nmost recent DELT performed on the associated line. Once\nthe DELT process is over, the parameter no longer changes\nuntil the row is deleted or a new DELT process is initiated.") adsl2SCStatusSnrMargin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-640,630),ValueRangeConstraint(2147483646,2147483647),))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusSnrMargin.setDescription("SNR Margin is the maximum increase in dB of the noise power\nreceived at the ATU (ATU-R on downstream direction and ATU-C\non upstream direction), such that the BER requirements are met\nfor all bearer channels received at the ATU. It ranges from\n-640 to 630 units of 0.1 dB (physical values are -64 to\n63 dB).\nA special value of 0x7FFFFFFF (2147483647) indicates the\nSNR Margin is out of range to be represented.\nA special value of 0x7FFFFFFE (2147483646) indicates the\nSNR Margin measurement is currently unavailable.\nThis object reflects the value of the parameter following the\nmost recent DELT performed on the associated line. Once\n\n\n\nthe DELT process is over, the parameter no longer changes\nuntil the row is deleted or a new DELT process is initiated.") adsl2SCStatusAttainableRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusAttainableRate.setDescription("Maximum Attainable Data Rate. The maximum net data rate\ncurrently attainable by the ATU-C transmitter and ATU-R\nreceiver (when referring to downstream direction) or by the\nATU-R transmitter and ATU-C receiver (when referring to\nupstream direction). Value is coded in bits/second.\nThis object reflects the value of the parameter following the\nmost recent DELT performed on the associated line. Once\nthe DELT process is over, the parameter no longer changes\nuntil the row is deleted or a new DELT process is initiated.") adsl2SCStatusActAtp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2SCStatusActAtp.setDescription("Actual Aggregate Transmit Power from the ATU (ATU-R on\ndownstream direction and ATU-C on upstream direction), at the\ninstant of measurement. It ranges from -310 to 310 units of\n0.1 dB (physical values are -31 to 31 dBm). A value of all\n1's indicates the measurement is out of range to be\nrepresented.\nThis object reflects the value of the parameter following the\nmost recent DELT performed on the associated line. Once\nthe DELT process is over, the parameter no longer changes\nuntil the row is deleted or a new DELT process is initiated.") adsl2SCStatusRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 2, 2, 1, 19), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2SCStatusRowStatus.setDescription("Row Status. The manager may create and delete rows\nof this table. Please see the description of\nadsl2SCStatusTable above for more details.") adsl2Inventory = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 3)) adsl2LineInventoryTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1)) if mibBuilder.loadTexts: adsl2LineInventoryTable.setDescription("The table adsl2LineInventoryTable contains inventory of the\nADSL2 units.") adsl2LineInventoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2LInvUnit")) if mibBuilder.loadTexts: adsl2LineInventoryEntry.setDescription("The table adsl2LineInventoryTable contains inventory of the\nADSL2 units.\nThe index of this table is an interface index where the\ninterface has an ifType of adsl2plus(238).") adsl2LInvUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2LInvUnit.setDescription("The termination unit atuc(1) or atur(2).") adsl2LInvG994VendorId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LInvG994VendorId.setDescription("The ATU G.994.1 Vendor ID as inserted in the G.994.1 CL/CLR\nmessage. It consists of 8 binary octets, including a country\ncode followed by a (regionally allocated) provider code, as\ndefined in Recommendation T.35.") adsl2LInvSystemVendorId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LInvSystemVendorId.setDescription("The ATU System Vendor ID (identifies the ATU system\nintegrator) as inserted in the Overhead Messages (both ATUs\nfor G.992.3 and G.992.4) or in the Embedded Operations\nChannel (only ATU-R in G.992.1 and G.992.2). It consists of\n8 binary octets, with the same format as used for\nAdsl2InvG994VendorId.") adsl2LInvVersionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LInvVersionNumber.setDescription("The ATU version number (vendor-specific information) as\ninserted in the Overhead Messages (both ATUs for G.992.3 and\nG.992.4) or in the Embedded Operations Channel (only ATU-R in\nG.992.1 and G.992.2). It consists of up to 16 binary octets.") adsl2LInvSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LInvSerialNumber.setDescription("The ATU serial number (vendor-specific information) as\ninserted in the Overhead Messages (both ATUs for G.992.3 and\nG.992.4) or in the Embedded Operations Channel (only ATU-R in\n\n\n\nG.992.1 and G.992.2). It is vendor-specific information. It\nconsists of up to 32 ASCII characters.") adsl2LInvSelfTestResult = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LInvSelfTestResult.setDescription("The ATU self-test result, coded as a 32-bit value. The\nmost significant octet of the result is '0' if the self-test\npassed, and '1' if the self-test failed. The interpretation\nof the other octets is vendor discretionary.") adsl2LInvTransmissionCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 3, 1, 1, 7), Adsl2TransmissionModeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2LInvTransmissionCapabilities.setDescription("The ATU transmission system capability list of the different\ncoding types. It is coded in a bit-map representation with 1\nor more bits set. A bit set to '1' means that the ATU\nsupports the respective coding. The value may be derived\nfrom the handshaking procedures defined in G.994.1. A set\nof ADSL2 line transmission modes, with one bit per mode.") adsl2PM = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 4)) adsl2PMLine = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1)) adsl2PMLineCurrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1)) if mibBuilder.loadTexts: adsl2PMLineCurrTable.setDescription("The table adsl2PMLineCurrTable contains current Performance\nMonitoring results of ADSL2 lines.") adsl2PMLineCurrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMLCurrUnit")) if mibBuilder.loadTexts: adsl2PMLineCurrEntry.setDescription("The table adsl2PMLineCurrTable contains current Performance\nMonitoring results of ADSL2 lines.\nThe index of this table consists of an interface index, where\nthe interface has an ifType of adsl2plus(238), along with a\ntermination unit.\nThe PM counters in the table are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMLCurrUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMLCurrUnit.setDescription("The termination unit atuc(1) or atur(2).") adsl2PMLCurrValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrValidIntervals.setDescription("Valid intervals.") adsl2PMLCurrInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInvalidIntervals.setDescription("Invalid intervals.") adsl2PMLCurr15MTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 4), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr15MTimeElapsed.setDescription("Total elapsed seconds since this PM interval began.\nNote that the PM counters are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMLCurr15MFecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr15MFecs.setDescription("Count of seconds during this interval where there was at least\none FEC correction event for one or more bearer channels in\nthis line. This parameter is inhibited during UAS or SES.") adsl2PMLCurr15MEs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr15MEs.setDescription("Count of seconds during this interval where there was:\nATU-C: CRC-8 >= 1 for one or more bearer channels OR\n LOS >= 1 OR SEF >=1 OR LPR >= 1\nATU-R: FEBE >= 1 for one or more bearer channels OR\n LOS-FE >=1 OR RDI >=1 OR LPR-FE >=1 .\nThis parameter is inhibited during UAS.") adsl2PMLCurr15MSes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr15MSes.setDescription("Count of seconds during this interval where there was:\nATU-C: (CRC-8 summed over all bearer channels) >= 18 OR\n LOS >= 1 OR SEF >= 1 OR LPR >= 1\nATU-R: (FEBE summed over all bearer channels) >= 18 OR\n LOS-FE >= 1 OR RDI >= 1 OR LPR-FE >= 1 .\nThis parameter is inhibited during UAS.") adsl2PMLCurr15MLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr15MLoss.setDescription("Count of seconds during this interval where there was LOS (or\nLOS-FE for ATU-R).") adsl2PMLCurr15MUas = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr15MUas.setDescription("Count of seconds in Unavailability State during this\ninterval. Unavailability begins at the onset of 10\ncontiguous severely-errored seconds, and ends at the\nonset of 10 contiguous seconds with no severely-errored\nseconds.") adsl2PMLCurr1DayValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DayValidIntervals.setDescription("Valid intervals.") adsl2PMLCurr1DayInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DayInvalidIntervals.setDescription("Invalid intervals.") adsl2PMLCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 12), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DayTimeElapsed.setDescription("Total elapsed seconds since this PM interval began.\nNote that the PM counters are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMLCurr1DayFecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DayFecs.setDescription("Count of seconds during this interval where there was at least\none FEC correction event for one or more bearer channels in\nthis line. This parameter is inhibited during UAS or SES.") adsl2PMLCurr1DayEs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DayEs.setDescription("Count of seconds during this interval where there was:\nATU-C: CRC-8 >= 1 for one or more bearer channels OR\n LOS >= 1 OR SEF >= 1 OR LPR >= 1\nATU-R: FEBE >= 1 for one or more bearer channels OR\n LOS-FE >= 1 OR RDI >= 1 OR LPR-FE >= 1.\nThis parameter is inhibited during UAS.") adsl2PMLCurr1DaySes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DaySes.setDescription("Count of seconds during this interval where there was:\nATU-C: (CRC-8 summed over all bearer channels) >= 18 OR\n LOS >= 1 OR SEF >= 1 OR LPR >= 1\nATU-R: (FEBE summed over all bearer channels) >= 18 OR\n LOS-FE >= 1 OR RDI >= 1 OR LPR-FE >= 1\nThis parameter is inhibited during UAS.") adsl2PMLCurr1DayLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DayLoss.setDescription("Count of seconds during this interval where there was LOS (or\nLOS-FE for ATU-R).") adsl2PMLCurr1DayUas = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurr1DayUas.setDescription("Count of seconds in Unavailability State during this interval.\nUnavailability begins at the onset of 10 contiguous severely-\nerrored seconds, and ends at the onset of 10 contiguous\nseconds with no severely-errored seconds.") adsl2PMLineCurrInitTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2)) if mibBuilder.loadTexts: adsl2PMLineCurrInitTable.setDescription("The table adsl2PMLineCurrInitTable contains current\ninitialization counters of the ADSL2 line.\nThe PM counters in the table are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMLineCurrInitEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adsl2PMLineCurrInitEntry.setDescription("The table adsl2PMLineCurrInitTable contains current\ninitialization counters of the ADSL2 line.\nThe index of this table consists of an interface index, where\nthe interface has an ifType of adsl2plus(238), and a\ntermination unit.") adsl2PMLCurrInit15MTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit15MTimeElapsed.setDescription("Total elapsed seconds since this PM interval began.\nNote that the PM counters are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMLCurrInit15MFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit15MFullInits.setDescription("Count of full initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLCurrInit15MFailedFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit15MFailedFullInits.setDescription("Count of failed full initializations on the line during this\ninterval.") adsl2PMLCurrInit15MShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit15MShortInits.setDescription("Count of short initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLCurrInit15MFailedShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit15MFailedShortInits.setDescription("Count of failed short initializations on the line during this\ninterval.") adsl2PMLCurrInit1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit1DayTimeElapsed.setDescription("Total elapsed seconds since this PM interval began.\nNote that the PM counters are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMLCurrInit1DayFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit1DayFullInits.setDescription("Count of full initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLCurrInit1DayFailedFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit1DayFailedFullInits.setDescription("Count of failed full initializations on the line during this\ninterval.") adsl2PMLCurrInit1DayShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit1DayShortInits.setDescription("Count of short initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLCurrInit1DayFailedShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 2, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLCurrInit1DayFailedShortInits.setDescription("Count of failed short initializations on the line during this\ninterval.") adsl2PMLineHist15MinTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3)) if mibBuilder.loadTexts: adsl2PMLineHist15MinTable.setDescription("The table adsl2PMLineHist15MinTable contains PM line history\nfor 15min intervals of the ADSL2 line.") adsl2PMLineHist15MinEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMLHist15MUnit"), (0, "ADSL2-LINE-MIB", "adsl2PMLHist15MInterval")) if mibBuilder.loadTexts: adsl2PMLineHist15MinEntry.setDescription("The table adsl2PMLineHist15MinTable contains PM line history\nfor 15min intervals of the ADSL2 line.\nThe index of this table consists of an interface index, where\nthe interface has an ifType of adsl2plus(238), along with a\ntermination unit, and an interval number.") adsl2PMLHist15MUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMLHist15MUnit.setDescription("The termination unit atuc(1) or atur(2).") adsl2PMLHist15MInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMLHist15MInterval.setDescription("The interval number.") adsl2PMLHist15MMonitoredTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist15MMonitoredTime.setDescription("Total seconds monitored in this interval.") adsl2PMLHist15MFecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist15MFecs.setDescription("Count of seconds during this interval where there was at least\none FEC correction event for one or more bearer channels in\nthis line. This parameter is inhibited during UAS or SES.") adsl2PMLHist15MEs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist15MEs.setDescription("Count of seconds during this interval where there was:\nATU-C: CRC-8 >= 1 for one or more bearer channels OR\n LOS >= 1 OR SEF >= 1 OR LPR >= 1\nATU-R: FEBE >= 1 for one or more bearer channels OR\n LOS-FE >= 1 OR RDI >= 1 OR LPR-FE >= 1.\nThis parameter is inhibited during UAS.") adsl2PMLHist15MSes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist15MSes.setDescription("Count of seconds during this interval where there was:\nATU-C: (CRC-8 summed over all bearer channels) >= 18 OR\n LOS >= 1 OR SEF >= 1 OR LPR >= 1\nATU-R: (FEBE summed over all bearer channels) >= 18 OR\n LOS-FE >= 1 OR RDI >= 1 OR LPR-FE >= 1.\nThis parameter is inhibited during UAS.") adsl2PMLHist15MLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist15MLoss.setDescription("Count of seconds during this interval where there was LOS (or\nLOS-FE for ATU-R).") adsl2PMLHist15MUas = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist15MUas.setDescription("Count of seconds in Unavailability State during this interval.\nUnavailability begins at the onset of 10 contiguous severely-\nerrored seconds, and ends at the onset of 10 contiguous\nseconds with no severely-errored seconds.") adsl2PMLHist15MValidInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 3, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist15MValidInterval.setDescription("This variable indicates if the data for this interval is\nvalid.") adsl2PMLineHist1DayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4)) if mibBuilder.loadTexts: adsl2PMLineHist1DayTable.setDescription("The table adsl2PMLineHist1DayTable contains PM line history\nfor 24-hour intervals of the ADSL2 line.") adsl2PMLineHist1DayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMLHist1DUnit"), (0, "ADSL2-LINE-MIB", "adsl2PMLHist1DInterval")) if mibBuilder.loadTexts: adsl2PMLineHist1DayEntry.setDescription("The table adsl2PMLineHist1DayTable contains PM line history\nfor 24-hour intervals of the ADSL2 line.\n\n\n\nThe index of this table consists of an interface index, where\nthe interface has an ifType of adsl2plus(238), along with a\ntermination unit, and an interval number.") adsl2PMLHist1DUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMLHist1DUnit.setDescription("The termination unit.") adsl2PMLHist1DInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMLHist1DInterval.setDescription("The interval number.") adsl2PMLHist1DMonitoredTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist1DMonitoredTime.setDescription("Total seconds monitored in this interval.") adsl2PMLHist1DFecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist1DFecs.setDescription("Count of seconds during this interval where there was at least\none FEC correction event for one or more bearer channels in\nthis line. This parameter is inhibited during UAS or SES.") adsl2PMLHist1DEs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist1DEs.setDescription("Count of seconds during this interval where there was:\nATU-C: CRC-8 >= 1 for one or more bearer channels OR\n LOS >= 1 OR SEF >= 1 OR LPR >= 1\nATU-R: FEBE >= 1 for one or more bearer channels OR\n LOS-FE >= 1 OR RDI >= 1 OR LPR-FE >= 1.\nThis parameter is inhibited during UAS.") adsl2PMLHist1DSes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist1DSes.setDescription("Count of seconds during this interval where there was:\nATU-C: (CRC-8 summed over all bearer channels) >= 18 OR\n LOS >= 1 OR SEF >> 1 OR LPR >= 1\nATU-R: (FEBE summed over all bearer channels) >= 18 OR\n LOS-FE >= 1 OR RDI >= 1 OR LPR-FE >= 1.\nThis parameter is inhibited during UAS.") adsl2PMLHist1DLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist1DLoss.setDescription("Count of seconds during this interval where there was LOS (or\nLOS-FE for ATU-R).") adsl2PMLHist1DUas = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist1DUas.setDescription("Count of seconds in Unavailability State during this interval.\nUnavailability begins at the onset of 10 contiguous severely-\nerrored seconds, and ends at the onset of 10 contiguous\nseconds with no severely-errored seconds.") adsl2PMLHist1DValidInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 4, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHist1DValidInterval.setDescription("This variable indicates if the data for this interval is\nvalid.") adsl2PMLineInitHist15MinTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5)) if mibBuilder.loadTexts: adsl2PMLineInitHist15MinTable.setDescription("The table adsl2PMLineInitHist15MinTable contains PM line\ninitialization history for 15-minute intervals of the ADSL2\nline.") adsl2PMLineInitHist15MinEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMLHistInit15MInterval")) if mibBuilder.loadTexts: adsl2PMLineInitHist15MinEntry.setDescription("The table adsl2PMLineInitHist15MinTable contains PM line\n\n\n\ninitialization history for 15 minutes intervals of the ADSL2\nline.\nThe index of this table consists of an interface index, where\nthe interface has an ifType of adsl2plus(238), and an interval\nnumber.") adsl2PMLHistInit15MInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMLHistInit15MInterval.setDescription("The interval number.") adsl2PMLHistInit15MMonitoredTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistInit15MMonitoredTime.setDescription("Total seconds monitored in this interval.") adsl2PMLHistInit15MFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistInit15MFullInits.setDescription("Count of full initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLHistInit15MFailedFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistInit15MFailedFullInits.setDescription("Count of failed full initializations on the line during this\ninterval.") adsl2PMLHistInit15MShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistInit15MShortInits.setDescription("Count of short initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLHistInit15MFailedShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistInit15MFailedShortInits.setDescription("Count of failed short initializations on the line during this\ninterval.") adsl2PMLHistInit15MValidInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 5, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistInit15MValidInterval.setDescription("This variable indicates if the data for this interval is\nvalid.") adsl2PMLineInitHist1DayTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6)) if mibBuilder.loadTexts: adsl2PMLineInitHist1DayTable.setDescription("The table adsl2PMLineInitHist1DayTable contains PM line\ninitialization history for 24-hour intervals of the ADSL2\nline.") adsl2PMLineInitHist1DayEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMLHistinit1DInterval")) if mibBuilder.loadTexts: adsl2PMLineInitHist1DayEntry.setDescription("The table adsl2PMLineInitHist1DayTable contains PM line\ninitialization history for 24-hour intervals of the ADSL2\nline.\nThe index of this table consists of an interface index, where\nthe interface has an ifType of adsl2plus(238), and an interval\nnumber.") adsl2PMLHistinit1DInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMLHistinit1DInterval.setDescription("The interval number.") adsl2PMLHistinit1DMonitoredTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistinit1DMonitoredTime.setDescription("Total seconds monitored in this interval.") adsl2PMLHistinit1DFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistinit1DFullInits.setDescription("Count of full initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLHistinit1DFailedFullInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistinit1DFailedFullInits.setDescription("Count of failed full initializations on the line during this\ninterval.") adsl2PMLHistinit1DShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistinit1DShortInits.setDescription("Count of short initializations attempted on the line\n(successful and failed) during this interval.") adsl2PMLHistinit1DFailedShortInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistinit1DFailedShortInits.setDescription("Count of failed short initializations on the line during this\ninterval.") adsl2PMLHistinit1DValidInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 1, 6, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMLHistinit1DValidInterval.setDescription("This variable indicates if the data for this interval is\nvalid.") adsl2PMChannel = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2)) adsl2PMChCurrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1)) if mibBuilder.loadTexts: adsl2PMChCurrTable.setDescription("The table adsl2PMChCurrTable contains current Performance\nMonitoring results of the ADSL2 channel.\nThe PM counters in the table are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMChCurrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMChCurrUnit")) if mibBuilder.loadTexts: adsl2PMChCurrEntry.setDescription("The table adsl2PMChCurrTable contains current Performance\nMonitoring results of the ADSL2 channel.\nThe index of this table consists of an interface index, where\nthe interface has an ifType value that is applicable\nfor a DSL channel, along with a termination unit.") adsl2PMChCurrUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMChCurrUnit.setDescription("The termination unit.") adsl2PMChCurrValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurrValidIntervals.setDescription("Valid intervals.") adsl2PMChCurrInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurrInvalidIntervals.setDescription("Invalid intervals.") adsl2PMChCurr15MTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 4), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr15MTimeElapsed.setDescription("Total elapsed seconds since this PM interval began.\nNote that the PM counters are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMChCurr15MCodingViolations = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr15MCodingViolations.setDescription("Count of CRC-8 (FEBE for ATU-R) anomalies occurring in the\nchannel during the interval. This parameter is inhibited\nduring UAS or SES. If the CRC is applied over multiple\nchannels, then each related CRC-8 (or FEBE) anomaly should\nincrement each of the counters related to the individual\nchannels.") adsl2PMChCurr15MCorrectedBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr15MCorrectedBlocks.setDescription("Count of FEC (FFEC for ATU-R) anomalies (corrected code words)\noccurring in the channel during the interval. This parameter\nis inhibited during UAS or SES. If the FEC is applied over\nmultiple channels, then each related FEC (or FFEC) anomaly\nshould increment each of the counters related to the\nindividual channels.") adsl2PMChCurr1DayValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr1DayValidIntervals.setDescription("Valid intervals.") adsl2PMChCurr1DayInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr1DayInvalidIntervals.setDescription("Invalid intervals.") adsl2PMChCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 9), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr1DayTimeElapsed.setDescription("Total elapsed seconds since this PM interval began.\nNote that the PM counters are not reset even when the XTU\nis reinitialized. They are reinitialized only when the\nagent itself is reset or reinitialized.") adsl2PMChCurr1DayCodingViolations = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr1DayCodingViolations.setDescription("Count of CRC-8 (FEBE for ATU-R) anomalies occurring in the\nchannel during the interval. This parameter is inhibited\nduring UAS or SES. If the CRC is applied over multiple\nchannels, then each related CRC-8 (or FEBE) anomaly should\n\n\n\nincrement each of the counters related to the individual\nchannels.") adsl2PMChCurr1DayCorrectedBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 1, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChCurr1DayCorrectedBlocks.setDescription("Count of FEC (FFEC for ATU-R) anomalies (corrected code words)\noccurring in the channel during the interval. This parameter\nis inhibited during UAS or SES. If the FEC is applied over\nmultiple channels, then each related FEC (or FFEC) anomaly\nshould increment each of the counters related to the\nindividual channels.") adsl2PMChHist15MinTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2)) if mibBuilder.loadTexts: adsl2PMChHist15MinTable.setDescription("The table adsl2PMChCurrTable contains current Performance\nMonitoring results of the ADSL2 channel.") adsl2PMChHist15MinEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMChHist15MUnit"), (0, "ADSL2-LINE-MIB", "adsl2PMChHist15MInterval")) if mibBuilder.loadTexts: adsl2PMChHist15MinEntry.setDescription("The table adsl2PMChCurrTable contains current Performance\nMonitoring results of the ADSL2 channel.\nThe index of this table consists of an interface index, where\nthe interface has an ifType value that is applicable\nfor a DSL channel, along with a termination unit, and the\ninterval number.") adsl2PMChHist15MUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMChHist15MUnit.setDescription("The termination unit.") adsl2PMChHist15MInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMChHist15MInterval.setDescription("The interval number.") adsl2PMChHist15MMonitoredTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist15MMonitoredTime.setDescription("Total seconds monitored in this interval.") adsl2PMChHist15MCodingViolations = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist15MCodingViolations.setDescription("Count of CRC-8 (FEBE for ATU-R) anomalies occurring in the\nchannel during the interval. This parameter is inhibited\nduring UAS or SES. If the CRC is applied over multiple\nchannels, then each related CRC-8 (or FEBE) anomaly should\nincrement each of the counters related to the individual\nchannels.") adsl2PMChHist15MCorrectedBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist15MCorrectedBlocks.setDescription("Count of FEC (FFEC for ATU-R) anomalies (corrected code words)\noccurring in the channel during the interval. This parameter\nis inhibited during UAS or SES. If the FEC is applied over\nmultiple channels, then each related FEC (or FFEC) anomaly\nshould increment each of the counters related to the\nindividual channels.") adsl2PMChHist15MValidInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist15MValidInterval.setDescription("This variable indicates if the data for this interval is\nvalid.") adsl2PMChHist1DTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3)) if mibBuilder.loadTexts: adsl2PMChHist1DTable.setDescription("The table adsl2PMChHist1DayTable contains PM channel history\nfor 1-day intervals of ADSL2.") adsl2PMChHist1DEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL2-LINE-MIB", "adsl2PMChHist1DUnit"), (0, "ADSL2-LINE-MIB", "adsl2PMChHist1DInterval")) if mibBuilder.loadTexts: adsl2PMChHist1DEntry.setDescription("The table adsl2PMChHist1DayTable contains PM channel history\nfor 1-day intervals of ADSL2.\nThe index of this table consists of an interface index, where\nthe interface has an ifType value that is applicable\nfor a DSL channel, along with a termination unit, and the\ninterval number.") adsl2PMChHist1DUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3, 1, 1), Adsl2Unit()).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMChHist1DUnit.setDescription("The termination unit.") adsl2PMChHist1DInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2PMChHist1DInterval.setDescription("The interval number.") adsl2PMChHist1DMonitoredTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist1DMonitoredTime.setDescription("Total seconds monitored in this interval.") adsl2PMChHist1DCodingViolations = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist1DCodingViolations.setDescription("Count of CRC-8 (FEBE for ATU-R) anomalies occurring in the\nchannel during the interval. This parameter is inhibited\nduring UAS or SES. If the CRC is applied over multiple\n\n\n\nchannels, then each related CRC-8 (or FEBE) anomaly should\nincrement each of the counters related to the individual\nchannels.") adsl2PMChHist1DCorrectedBlocks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist1DCorrectedBlocks.setDescription("Count of FEC (FFEC for ATU-R) anomalies (corrected code words)\noccurring in the channel during the interval. This parameter\nis inhibited during UAS or SES. If the FEC is applied over\nmultiple channels, then each related FEC (or FFEC) anomaly\nshould increment each of the counters related to the\nindividual channels.") adsl2PMChHist1DValidInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 4, 2, 3, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adsl2PMChHist1DValidInterval.setDescription("This variable indicates if the data for this interval is\nvalid.") adsl2Profile = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 5)) adsl2ProfileLine = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1)) adsl2LineConfTemplateTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1)) if mibBuilder.loadTexts: adsl2LineConfTemplateTable.setDescription("The table adsl2LineConfTemplateTable contains ADSL2 line\nconfiguration templates.\n\nEntries in this table MUST be maintained in a\npersistent manner.") adsl2LineConfTemplateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1)).setIndexNames((0, "ADSL2-LINE-MIB", "adsl2LConfTempTemplateName")) if mibBuilder.loadTexts: adsl2LineConfTemplateEntry.setDescription("The table adsl2LineConfTemplateTable contains the ADSL2 line\nconfiguration template.\nA default template with an index of 'DEFVAL' will\nalways exist, and its parameters will be set to vendor-\nspecific values, unless otherwise specified in this document.") adsl2LConfTempTemplateName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2LConfTempTemplateName.setDescription("This object identifies a row in this table.") adsl2LConfTempLineProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('DEFVAL')).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempLineProfile.setDescription("The value of this object identifies the row in the ADSL2 Line\nConfiguration Profile Table, (adsl2LineConfProfTable),\nwhich applies for this ADSL2 line.") adsl2LConfTempChan1ConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('DEFVAL')).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan1ConfProfile.setDescription("The value of this object identifies the row in the ADSL2\nChannel Configuration Profile Table,\n(adsl2ChConfProfileTable) that applies to ADSL2 bearer\nchannel #1. The channel profile name specified here must\nmatch the name of an existing row in the\nadsl2ChConfProfileTable table.") adsl2LConfTempChan1RaRatioDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan1RaRatioDs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\ninto account for the bearer channel #1 when performing rate\nadaptation on Downstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over all\nbearer channels. Also, the 100 -\nadsl2LConfTempChan1RaRatioDs is the ratio of excess data\nrate to be assigned to all other bearer channels on Downstream\ndirection. The sum of rate adaptation ratios over all bearers\non the same direction shall be equal to 100%.") adsl2LConfTempChan1RaRatioUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan1RaRatioUs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\ninto account for the bearer channel #1 when performing rate\nadaptation on Upstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over all\nbearer channels. Also, the\n\n\n\n100 - adsl2LConfTempChan1RaRatioUs is the ratio of excess\ndata rate to be assigned to all other bearer channels on\nUpstream direction. The sum of rate adaptation ratios over\nall bearers on the same direction shall be equal to 100%.") adsl2LConfTempChan2ConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan2ConfProfile.setDescription("The value of this object identifies the row in the ADSL2\nChannel Configuration Profile Table\n(adsl2ChConfProfileTable) that applies to ADSL2 bearer\nchannel #2. If the channel is unused, then the object is set\nto a zero-length string.\nThis object may be set to a zero-length string only if\nadsl2LConfTempChan3ConfProfile contains a zero-length\nstring.") adsl2LConfTempChan2RaRatioDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan2RaRatioDs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\ninto account for the bearer channel #2 when performing rate\nadaptation on Downstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over all\nbearer channels. Also, the\n100 - adsl2LConfTempChan2RaRatioDs is the ratio of excess\ndata rate to be assigned to all other bearer channels on\nDownstream direction. The sum of rate adaptation ratios\nover all bearers on the same direction shall be equal to\n100%.") adsl2LConfTempChan2RaRatioUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan2RaRatioUs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\ninto account for the bearer channel #2 when performing rate\nadaptation on Upstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over all\nbearer channels. Also, the\n100 - adsl2LConfTempChan2RaRatioUs is the ratio of excess\ndata rate to be assigned to all other bearer channels on\nUpstream direction. The sum of rate adaptation ratios over\nall bearers on the same direction shall be equal to 100%.") adsl2LConfTempChan3ConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 9), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan3ConfProfile.setDescription("The value of this object identifies the row in the ADSL2\nChannel Configuration Profile Table\n(adsl2ChConfProfileTable) that applies to ADSL2 bearer\nchannel #3. If the channel is unused, then the object is set\nto a zero-length string.\nThis object may be set to a zero-length string only if\nadsl2LConfTempChan4ConfProfile contains a zero-length\nstring.\nThis object may be set to a non-zero-length string only if\nadsl2LConfTempChan2ConfProfile contains a non-zero-length\nstring.") adsl2LConfTempChan3RaRatioDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan3RaRatioDs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\ninto account for the bearer channel #3 when performing rate\nadaptation on Downstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over all\nbearer channels. Also, the 100 -\nadsl2LConfTempChan3RaRatioDs is the ratio of excess data\nrate to be assigned to all other bearer channels on Downstream\n\n\n\ndirection. The sum of rate adaptation ratios over all bearers\non the same direction shall be equal to 100%.") adsl2LConfTempChan3RaRatioUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan3RaRatioUs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\ninto account for the bearer channel #3 when performing rate\nadaptation on Upstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over all\nbearer channels. Also, the\n100 - adsl2LConfTempChan3RaRatioUs is the ratio of excess\ndata rate to be assigned to all other bearer channels on\nUpstream direction. The sum of rate adaptation ratios over\nall bearers on the same direction shall be equal to 100%.") adsl2LConfTempChan4ConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 12), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan4ConfProfile.setDescription("The value of this object identifies the row in the ADSL2\nChannel Configuration Profile Table\n(adsl2ChConfProfileTable) that applies to ADSL2 bearer\nchannel #4. If the channel is unused, then the object is set\nto a zero-length string.\nThis object may be set to a non-zero-length string only if\nadsl2LConfTempChan3ConfProfile contains a non-zero-length\nstring.") adsl2LConfTempChan4RaRatioDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan4RaRatioDs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\n\n\n\ninto account for the bearer channel #4 when performing rate\nadaptation on Downstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over all\nbearer channels. Also, the 100 -\nadsl2LConfTempChan4RaRatioDs is the ratio of\nexcess data rate to be assigned to all other bearer channels.\nThe sum of rate adaptation ratios over all bearers on the same\ndirection shall sum to 100%.") adsl2LConfTempChan4RaRatioUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempChan4RaRatioUs.setDescription("Rate Adaptation Ratio. The ratio (in %) that should be taken\ninto account for the bearer channel #4 when performing rate\nadaptation on Upstream. The ratio refers to the available\ndata rate in excess of the Minimum Data Rate, summed over\nall bearer channels. Also, the 100 -\nadsl2LConfTempChan4RaRatioUs is the\nratio of excess data rate to be assigned to all other bearer\nchannels. The sum of rate adaptation ratios over all bearers\non the same direction shall sum to 100%.") adsl2LConfTempRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 1, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfTempRowStatus.setDescription("This object is used to create a new row or to modify or\ndelete an existing row in this table.\n\nA template is activated by setting this object to 'active'.\nWhen 'active' is set, the system will validate the template.\n\nBefore a template can be deleted or taken out of service\n(by setting this object to 'destroy' or 'notInService'),\nit must first be unreferenced from all associated\nlines.") adsl2LineConfProfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 2)) if mibBuilder.loadTexts: adsl2LineConfProfTable.setDescription("The table adsl2LineConfProfTable contains ADSL2 line profile\nconfiguration.\n\nEntries in this table MUST be maintained in a\npersistent manner.") adsl2LineConfProfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 2, 1)).setIndexNames((0, "ADSL2-LINE-MIB", "adsl2LConfProfProfileName")) if mibBuilder.loadTexts: adsl2LineConfProfEntry.setDescription("The table adsl2LineConfProfTable contains ADSL2 line profile\nconfiguration.\n\nA default profile with an index of 'DEFVAL' will\nalways exist, and its parameters will be set to vendor-\nspecific values, unless otherwise specified in this document.") adsl2LConfProfProfileName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adsl2LConfProfProfileName.setDescription("This object identifies a row in this table.") adsl2LConfProfScMaskDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 2, 1, 2), Adsl2ScMaskDs()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfProfScMaskDs.setDescription("Sub-carriers mask. A bitmap of 512 bits that allows masking\nup to 512 downstream sub-carriers, depending on NSCds. If bit\ni (0 <= i < NSCds) is set to '1', the respective\ndownstream sub-carrier i is masked, and if set to '0', the\nrespective sub-carrier is unmasked. Note that there should\nalways be unmasked sub-carriers (i.e., the object cannot be\nall 1's). Also note that if NSCds < 512, all bits\ni (NSCds < i <= 512) should be set to '1'.") adsl2LConfProfScMaskUs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 2, 1, 3), Adsl2ScMaskUs()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfProfScMaskUs.setDescription("Sub-carriers mask. A bitmap of 64 bits that allows masking\nup to 64 downstream sub-carriers, depending on NSCds. If\nbit i (0 <= i < NSCus) is set to '1', the respective\nupstream sub-carrier i is masked, and if set to '0', the\nrespective sub-carrier is unmasked. Note that there\n\n\n\nshould always be unmasked sub-carriers (i.e., the object\ncannot be all 1's). Also note that if NSCus <\n64, all bits i (NSCus < i <= 64) should be set to '1'.") adsl2LConfProfRfiBandsDs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 238, 1, 5, 1, 2, 1, 4), Adsl2RfiDs()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adsl2LConfProfRfiBandsDs.setDescription("The subset of downstream PSD mask breakpoints that shall be\nused to notch an RFI band.\nThe specific interpolation around these points is defined in\nG.992.5. It is a bitmap of 512 bits that allows referring to\nup to 512 downstream sub-carriers, depending on NSCds. If bit\ni (0 <= i < NSCds) is set to '1', the respective downstream\nsub-carrier i is part of a notch filter, and if set to '0',\nthe respective sub-carrier is not part of a notch filter.\nThis information complements the specification provided by\nadsl2LConfProfPsdMaskDs.\nNote that if NSCds < 512, all bits i (NSCds= IdleCount\n\nThis comparison is done only if the corresponding\ntn3270eRtCollCtlType has average(3) and traps(5) selected.") tn3270eRtCollCtlBucketBndry1 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 1, 1, 8), Unsigned32().clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eRtCollCtlBucketBndry1.setDescription("The value of this object defines the range of transaction\nresponse times counted in the Tn3270eRtDataBucket1Rts\nobject: those less than or equal to this value.") tn3270eRtCollCtlBucketBndry2 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 1, 1, 9), Unsigned32().clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eRtCollCtlBucketBndry2.setDescription("The value of this object, together with that of the\ntn3270eRtCollCtlBucketBndry1 object, defines the range\nof transaction response times counted in the\nTn3270eRtDataBucket2Rts object: those greater than the\nvalue of the tn3270eRtCollCtlBucketBndry1 object, and\nless than or equal to the value of this object.") tn3270eRtCollCtlBucketBndry3 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 1, 1, 10), Unsigned32().clone(50)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eRtCollCtlBucketBndry3.setDescription("The value of this object, together with that of the\ntn3270eRtCollCtlBucketBndry2 object, defines the range of\ntransaction response times counted in the\nTn3270eRtDataBucket3Rts object: those greater than the\nvalue of the tn3270eRtCollCtlBucketBndry2 object, and less\nthan or equal to the value of this object.") tn3270eRtCollCtlBucketBndry4 = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 1, 1, 11), Unsigned32().clone(100)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eRtCollCtlBucketBndry4.setDescription("The value of this object, together with that of the\ntn3270eRtCollCtlBucketBndry3 object, defines the range\nof transaction response times counted in the\nTn3270eRtDataBucket4Rts object: those greater than the\nvalue of the tn3270eRtCollCtlBucketBndry3 object, and\nless than or equal to the value of this object.\n\nThe value of this object also defines the range of\ntransaction response times counted in the\nTn3270eRtDataBucket5Rts object: those greater than the\nvalue of this object.") tn3270eRtCollCtlRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tn3270eRtCollCtlRowStatus.setDescription("This object allows entries to be created and deleted\nin the tn3270eRtCollCtlTable. An entry in this table\nis deleted by setting this object to destroy(6).\nDeleting an entry in this table has the side-effect\nof removing all entries from the tn3270eRtDataTable\nthat are associated with the entry being deleted.") tn3270eRtDataTable = MibTable((1, 3, 6, 1, 2, 1, 34, 9, 1, 2)) if mibBuilder.loadTexts: tn3270eRtDataTable.setDescription("The response time data table. Entries in this table are\ncreated based on entries in the tn3270eRtCollCtlTable.") tn3270eRtDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1)).setIndexNames((0, "TN3270E-MIB", "tn3270eSrvrConfIndex"), (0, "TN3270E-MIB", "tn3270eClientGroupName"), (0, "TN3270E-RT-MIB", "tn3270eRtDataClientAddrType"), (0, "TN3270E-RT-MIB", "tn3270eRtDataClientAddress"), (0, "TN3270E-RT-MIB", "tn3270eRtDataClientPort")) if mibBuilder.loadTexts: tn3270eRtDataEntry.setDescription("Entries in this table are created based upon the\ntn3270eRtCollCtlTable. When the corresponding\ntn3270eRtCollCtlType has aggregate(0) specified, a single\nentry is created in this table, with a tn3270eRtDataClientAddrType\nof unknown(0), a zero-length octet string value for\ntn3270eRtDataClientAddress, and a tn3270eRtDataClientPort value of\n0. When aggregate(0) is not specified, a separate entry is\ncreated for each client in the group.\n\nNote that the following objects defined within an entry in this\ntable can wrap:\n tn3270eRtDataTotalRts\n tn3270eRtDataTotalIpRts\n tn3270eRtDataCountTrans\n tn3270eRtDataCountDrs\n tn3270eRtDataElapsRnTrpSq\n tn3270eRtDataElapsIpRtSq\n tn3270eRtDataBucket1Rts\n tn3270eRtDataBucket2Rts\n tn3270eRtDataBucket3Rts\n tn3270eRtDataBucket4Rts\n tn3270eRtDataBucket5Rts") tn3270eRtDataClientAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 1), IANATn3270eAddrType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eRtDataClientAddrType.setDescription("Indicates the type of address represented by the value\nof tn3270eRtDataClientAddress. The value unknown(0) is\nused if aggregate data is being collected for the client\ngroup.") tn3270eRtDataClientAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 2), IANATn3270eAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eRtDataClientAddress.setDescription("Contains the IP address of the TN3270 client being\nmonitored. A zero-length octet string is used if\naggregate data is being collected for the client group.") tn3270eRtDataClientPort = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tn3270eRtDataClientPort.setDescription("Contains the client port number of the TN3270 client being\nmonitored. The value 0 is used if aggregate data is being\ncollected for the client group, or if the\ntn3270eRtDataClientAddrType identifies an address type that\ndoes not support ports.") tn3270eRtDataAvgRt = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 4), Gauge32().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataAvgRt.setDescription("The average total response time measured over the last\ncollection interval.") tn3270eRtDataAvgIpRt = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 5), Gauge32().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataAvgIpRt.setDescription("The average IP response time measured over the last\ncollection interval.") tn3270eRtDataAvgCountTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataAvgCountTrans.setDescription("The sliding transaction count used for calculating the\nvalues of the tn3270eRtDataAvgRt and tn3270eRtDataAvgIpRt\nobjects. The actual transaction count is available in\nthe tn3270eRtDataCountTrans object.\n\nThe initial value of this object, before any averages have\nbeen calculated, is 0.") tn3270eRtDataIntTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 7), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataIntTimeStamp.setDescription("The date and time of the last interval that\ntn3270eRtDataAvgRt, tn3270eRtDataAvgIpRt, and\ntn3270eRtDataAvgCountTrans were calculated.\n\nPrior to the calculation of the first interval\naverages, this object returns the value\n0x0000000000000000000000. When this value is\nreturned, the remaining objects in the entry have\nno significance.") tn3270eRtDataTotalRts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataTotalRts.setDescription("The count of the total response times collected.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataTotalIpRts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataTotalIpRts.setDescription("The count of the total IP-network response times\ncollected.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataCountTrans = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataCountTrans.setDescription("The count of the total number of transactions detected.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataCountDrs = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataCountDrs.setDescription("The count of the total number of definite responses\ndetected.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataElapsRndTrpSq = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 12), Unsigned32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataElapsRndTrpSq.setDescription("The sum of the elapsed round trip time squared. The sum\nof the squares is kept in order to enable calculation of\na variance.") tn3270eRtDataElapsIpRtSq = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 13), Unsigned32().clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataElapsIpRtSq.setDescription("The sum of the elapsed IP round trip time squared.\nThe sum of the squares is kept in order to enable\ncalculation of a variance.") tn3270eRtDataBucket1Rts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataBucket1Rts.setDescription("The count of the response times falling into bucket 1.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataBucket2Rts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataBucket2Rts.setDescription("The count of the response times falling into bucket 2.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataBucket3Rts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataBucket3Rts.setDescription("The count of the response times falling into bucket 3.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataBucket4Rts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataBucket4Rts.setDescription("The count of the response times falling into bucket 4.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataBucket5Rts = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataBucket5Rts.setDescription("The count of the response times falling into bucket 5.\n\nA management application can detect discontinuities in this\ncounter by monitoring the tn3270eRtDataDiscontinuityTime\nobject.") tn3270eRtDataRtMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(0,2,1,)).subtype(namedValues=NamedValues(("none", 0), ("responses", 1), ("timingMark", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataRtMethod.setDescription("The value of this object indicates the method that was\nused in calculating the IP network time.\n\nThe value 'none(0) indicates that response times were not\ncalculated for the IP network.") tn3270eRtDataDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 9, 1, 2, 1, 20), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: tn3270eRtDataDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich one or more of this entry's counter objects\nsuffered a discontinuity. This may happen if a TN3270E\nserver is stopped and then restarted, and local methods\nare used to set up collection policy\n(tn3270eRtCollCtlTable entries).") tn3270eRtSpinLock = MibScalar((1, 3, 6, 1, 2, 1, 34, 9, 1, 3), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tn3270eRtSpinLock.setDescription("An advisory lock used to allow cooperating TN3270E-RT-MIB\napplications to coordinate their use of the\ntn3270eRtCollCtlTable.\nWhen creating a new entry or altering an existing entry\nin the tn3270eRtCollCtlTable, an application should make\nuse of tn3270eRtSpinLock to serialize application changes\nor additions.\n\nSince this is an advisory lock, the use of this lock is\nnot enforced.") tn3270eRtConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 9, 3)) tn3270eRtGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 9, 3, 1)) tn3270eRtCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 9, 3, 2)) # Augmentions # Notifications tn3270eRtExceeded = NotificationType((1, 3, 6, 1, 2, 1, 34, 9, 0, 1)).setObjects(*(("TN3270E-RT-MIB", "tn3270eRtDataAvgRt"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgCountTrans"), ("TN3270E-RT-MIB", "tn3270eRtDataRtMethod"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgIpRt"), ("TN3270E-RT-MIB", "tn3270eRtDataIntTimeStamp"), ) ) if mibBuilder.loadTexts: tn3270eRtExceeded.setDescription("This notification is generated when the average response\ntime, tn3270eRtDataAvgRt, exceeds\ntn3270eRtCollCtlThresholdHigh at the end of a collection\ninterval specified by tn3270eCollCtlSPeriod\ntimes tn3270eCollCtlSPMult. Note that the corresponding\ntn3270eCollCtlType must have traps(5) and average(3) set\nfor this notification to be generated. In addition,\ntn3270eRtDataAvgCountTrans, tn3270eRtCollCtlThreshHigh, and\ntn3270eRtDataAvgRt are algorithmically compared to\ntn3270eRtCollCtlIdleCount for determination if this\nnotification will be suppressed.") tn3270eRtOkay = NotificationType((1, 3, 6, 1, 2, 1, 34, 9, 0, 2)).setObjects(*(("TN3270E-RT-MIB", "tn3270eRtDataAvgRt"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgCountTrans"), ("TN3270E-RT-MIB", "tn3270eRtDataRtMethod"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgIpRt"), ("TN3270E-RT-MIB", "tn3270eRtDataIntTimeStamp"), ) ) if mibBuilder.loadTexts: tn3270eRtOkay.setDescription("This notification is generated when the average response\ntime, tn3270eRtDataAvgRt, falls below\ntn3270eRtCollCtlThresholdLow at the end of a collection\ninterval specified by tn3270eCollCtlSPeriod times\ntn3270eCollCtlSPMult, after a tn3270eRtExceeded\nnotification was generated. Note that the corresponding\ntn3270eCollCtlType must have traps(5) and average(3)\nset for this notification to be generated.") tn3270eRtCollStart = NotificationType((1, 3, 6, 1, 2, 1, 34, 9, 0, 3)).setObjects(*(("TN3270E-MIB", "tn3270eResMapElementType"), ("TN3270E-RT-MIB", "tn3270eRtDataRtMethod"), ) ) if mibBuilder.loadTexts: tn3270eRtCollStart.setDescription("This notification is generated when response time data\ncollection is enabled for a member of a client group.\nIn order for this notification to occur the corresponding\ntn3270eRtCollCtlType must have traps(5) selected.\n\ntn3270eResMapElementType contains a valid value only if\ntn3270eRtDataClientAddress contains a valid address\n(rather than a zero-length octet string).") tn3270eRtCollEnd = NotificationType((1, 3, 6, 1, 2, 1, 34, 9, 0, 4)).setObjects(*(("TN3270E-RT-MIB", "tn3270eRtDataBucket2Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataTotalIpRts"), ("TN3270E-RT-MIB", "tn3270eRtDataRtMethod"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket5Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataCountTrans"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket4Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket1Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket3Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataElapsRndTrpSq"), ("TN3270E-RT-MIB", "tn3270eRtDataIntTimeStamp"), ("TN3270E-RT-MIB", "tn3270eRtDataDiscontinuityTime"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgIpRt"), ("TN3270E-RT-MIB", "tn3270eRtDataTotalRts"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgRt"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgCountTrans"), ("TN3270E-RT-MIB", "tn3270eRtDataElapsIpRtSq"), ("TN3270E-RT-MIB", "tn3270eRtDataCountDrs"), ) ) if mibBuilder.loadTexts: tn3270eRtCollEnd.setDescription("This notification is generated when an tn3270eRtDataEntry\nis deleted after being active (actual data collected), in\norder to enable a management application monitoring an\ntn3270eRtDataEntry to get the entry's final values. Note\nthat the corresponding tn3270eCollCtlType must have traps(5)\nset for this notification to be generated.") # Groups tn3270eRtGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 9, 3, 1, 1)).setObjects(*(("TN3270E-RT-MIB", "tn3270eRtDataBucket2Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataTotalIpRts"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket5Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataCountTrans"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlIdleCount"), ("TN3270E-RT-MIB", "tn3270eRtSpinLock"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket4Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataCountDrs"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlSPMult"), ("TN3270E-RT-MIB", "tn3270eRtDataDiscontinuityTime"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlSPeriod"), ("TN3270E-RT-MIB", "tn3270eRtDataTotalRts"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlThreshLow"), ("TN3270E-RT-MIB", "tn3270eRtDataRtMethod"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlBucketBndry3"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlBucketBndry2"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlBucketBndry1"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket1Rts"), ("TN3270E-RT-MIB", "tn3270eRtDataElapsRndTrpSq"), ("TN3270E-RT-MIB", "tn3270eRtDataElapsIpRtSq"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgIpRt"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgRt"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlBucketBndry4"), ("TN3270E-RT-MIB", "tn3270eRtDataIntTimeStamp"), ("TN3270E-RT-MIB", "tn3270eRtDataBucket3Rts"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlRowStatus"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlThreshHigh"), ("TN3270E-RT-MIB", "tn3270eRtDataAvgCountTrans"), ("TN3270E-RT-MIB", "tn3270eRtCollCtlType"), ) ) if mibBuilder.loadTexts: tn3270eRtGroup.setDescription("This group is mandatory for all implementations that\nsupport the TN3270E-RT-MIB. ") tn3270eRtNotGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 9, 3, 1, 2)).setObjects(*(("TN3270E-RT-MIB", "tn3270eRtCollEnd"), ("TN3270E-RT-MIB", "tn3270eRtExceeded"), ("TN3270E-RT-MIB", "tn3270eRtOkay"), ("TN3270E-RT-MIB", "tn3270eRtCollStart"), ) ) if mibBuilder.loadTexts: tn3270eRtNotGroup.setDescription("The notifications that must be supported when the\nTN3270E-RT-MIB is implemented. ") # Compliances tn3270eRtCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 9, 3, 2, 1)).setObjects(*(("TN3270E-RT-MIB", "tn3270eRtNotGroup"), ("TN3270E-RT-MIB", "tn3270eRtGroup"), ) ) if mibBuilder.loadTexts: tn3270eRtCompliance.setDescription("The compliance statement for agents that support the\nTN327E-RT-MIB.") # Exports # Module identity mibBuilder.exportSymbols("TN3270E-RT-MIB", PYSNMP_MODULE_ID=tn3270eRtMIB) # Objects mibBuilder.exportSymbols("TN3270E-RT-MIB", tn3270eRtMIB=tn3270eRtMIB, tn3270eRtNotifications=tn3270eRtNotifications, tn3270eRtObjects=tn3270eRtObjects, tn3270eRtCollCtlTable=tn3270eRtCollCtlTable, tn3270eRtCollCtlEntry=tn3270eRtCollCtlEntry, tn3270eRtCollCtlType=tn3270eRtCollCtlType, tn3270eRtCollCtlSPeriod=tn3270eRtCollCtlSPeriod, tn3270eRtCollCtlSPMult=tn3270eRtCollCtlSPMult, tn3270eRtCollCtlThreshHigh=tn3270eRtCollCtlThreshHigh, tn3270eRtCollCtlThreshLow=tn3270eRtCollCtlThreshLow, tn3270eRtCollCtlIdleCount=tn3270eRtCollCtlIdleCount, tn3270eRtCollCtlBucketBndry1=tn3270eRtCollCtlBucketBndry1, tn3270eRtCollCtlBucketBndry2=tn3270eRtCollCtlBucketBndry2, tn3270eRtCollCtlBucketBndry3=tn3270eRtCollCtlBucketBndry3, tn3270eRtCollCtlBucketBndry4=tn3270eRtCollCtlBucketBndry4, tn3270eRtCollCtlRowStatus=tn3270eRtCollCtlRowStatus, tn3270eRtDataTable=tn3270eRtDataTable, tn3270eRtDataEntry=tn3270eRtDataEntry, tn3270eRtDataClientAddrType=tn3270eRtDataClientAddrType, tn3270eRtDataClientAddress=tn3270eRtDataClientAddress, tn3270eRtDataClientPort=tn3270eRtDataClientPort, tn3270eRtDataAvgRt=tn3270eRtDataAvgRt, tn3270eRtDataAvgIpRt=tn3270eRtDataAvgIpRt, tn3270eRtDataAvgCountTrans=tn3270eRtDataAvgCountTrans, tn3270eRtDataIntTimeStamp=tn3270eRtDataIntTimeStamp, tn3270eRtDataTotalRts=tn3270eRtDataTotalRts, tn3270eRtDataTotalIpRts=tn3270eRtDataTotalIpRts, tn3270eRtDataCountTrans=tn3270eRtDataCountTrans, tn3270eRtDataCountDrs=tn3270eRtDataCountDrs, tn3270eRtDataElapsRndTrpSq=tn3270eRtDataElapsRndTrpSq, tn3270eRtDataElapsIpRtSq=tn3270eRtDataElapsIpRtSq, tn3270eRtDataBucket1Rts=tn3270eRtDataBucket1Rts, tn3270eRtDataBucket2Rts=tn3270eRtDataBucket2Rts, tn3270eRtDataBucket3Rts=tn3270eRtDataBucket3Rts, tn3270eRtDataBucket4Rts=tn3270eRtDataBucket4Rts, tn3270eRtDataBucket5Rts=tn3270eRtDataBucket5Rts, tn3270eRtDataRtMethod=tn3270eRtDataRtMethod, tn3270eRtDataDiscontinuityTime=tn3270eRtDataDiscontinuityTime, tn3270eRtSpinLock=tn3270eRtSpinLock, tn3270eRtConformance=tn3270eRtConformance, tn3270eRtGroups=tn3270eRtGroups, tn3270eRtCompliances=tn3270eRtCompliances) # Notifications mibBuilder.exportSymbols("TN3270E-RT-MIB", tn3270eRtExceeded=tn3270eRtExceeded, tn3270eRtOkay=tn3270eRtOkay, tn3270eRtCollStart=tn3270eRtCollStart, tn3270eRtCollEnd=tn3270eRtCollEnd) # Groups mibBuilder.exportSymbols("TN3270E-RT-MIB", tn3270eRtGroup=tn3270eRtGroup, tn3270eRtNotGroup=tn3270eRtNotGroup) # Compliances mibBuilder.exportSymbols("TN3270E-RT-MIB", tn3270eRtCompliance=tn3270eRtCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPSEC-SPD-MIB.py0000644000014400001440000023043611736645136020734 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPSEC-SPD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:12 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IfDirection, diffServMIBMultiFieldClfrGroup, diffServMultiFieldClfrNextFree, ) = mibBuilder.importSymbols("DIFFSERV-MIB", "IfDirection", "diffServMIBMultiFieldClfrGroup", "diffServMultiFieldClfrNextFree") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, VariablePointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue", "VariablePointer") # Types class SpdAdminStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("enabled", 1), ("disabled", 2), ) class SpdBooleanOperator(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("or", 1), ("and", 2), ) class SpdIPPacketLogging(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(-1,65535) class SpdTimePeriod(TextualConvention, OctetString): displayHint = "31t" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,31) # Objects spdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 153)).setRevisions(("2007-02-07 00:00",)) if mibBuilder.loadTexts: spdMIB.setOrganization("IETF IP Security Policy Working Group") if mibBuilder.loadTexts: spdMIB.setContactInfo("Michael Baer\nP.O. Box 72682\nDavis, CA 95617\nPhone: +1 530 902 3131\nEmail: baerm@tislabs.com\n\nRicky Charlet\nEmail: rcharlet@alumni.calpoly.edu\n\nWes Hardaker\nSparta, Inc.\nP.O. Box 382\nDavis, CA 95617\nPhone: +1 530 792 1913\nEmail: hardaker@tislabs.com\n\nRobert Story\nRevelstone Software\nPO Box 1812\n\n\n\nTucker, GA 30085\nPhone: +1 770 617 3722\nEmail: rstory@ipsp.revelstone.com\n\nCliff Wang\nARO\n4300 S. Miami Blvd.\nDurham, NC 27703\nE-Mail: cliffwangmail@yahoo.com") if mibBuilder.loadTexts: spdMIB.setDescription("This MIB module defines configuration objects for managing\nIPsec Security Policies. In general, this MIB can be\nimplemented anywhere IPsec security services exist (e.g.,\nbump-in-the-wire, host, gateway, firewall, router, etc.).\n\nCopyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4807; see the RFC itself for\nfull legal notices.") spdConfigObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 1)) spdLocalConfigObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 1, 1)) spdIngressPolicyGroupName = MibScalar((1, 3, 6, 1, 2, 1, 153, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: spdIngressPolicyGroupName.setDescription("This object indicates the global system policy group that\nis to be applied on ingress packets (i.e., arriving at an\ninterface from a network) when a given endpoint does not\ncontain a policy definition in the spdEndpointToGroupTable.\nIts value can be used as an index into the\nspdGroupContentsTable to retrieve a list of policies. A\nzero length string indicates that no system-wide policy exists\nand the default policy of 'drop' SHOULD be executed for\ningress packets until one is imposed by either this object\nor by the endpoint processing a given packet.\n\nThis object MUST be persistent") spdEgressPolicyGroupName = MibScalar((1, 3, 6, 1, 2, 1, 153, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: spdEgressPolicyGroupName.setDescription("This object indicates the policy group containing the\nglobal system policy that is to be applied on egress\npackets (i.e., packets leaving an interface and entering a\nnetwork) when a given endpoint does not contain a policy\ndefinition in the spdEndpointToGroupTable. Its value can\nbe used as an index into the spdGroupContentsTable to\nretrieve a list of policies. A zero length string\nindicates that no system-wide policy exists and the default\npolicy of 'drop' SHOULD be executed for egress packets\nuntil one is imposed by either this object or by the\nendpoint processing a given packet.\n\nThis object MUST be persistent") spdEndpointToGroupTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 2)) if mibBuilder.loadTexts: spdEndpointToGroupTable.setDescription("This table maps policies (groupings) onto an endpoint\n(interface). A policy group assigned to an endpoint is then\nused to control access to the network traffic passing\nthrough that endpoint.\n\n\n\n\nIf an endpoint has been configured with a policy group and\nno rule within that policy group matches that packet, the\ndefault action in this case SHALL be to drop the packet.\n\nIf no policy group has been assigned to an endpoint, then\nthe policy group specified by spdIngressPolicyGroupName MUST\nbe used on traffic inbound from the network through that\nendpoint, and the policy group specified by\nspdEgressPolicyGroupName MUST be used for traffic outbound\nto the network through that endpoint.") spdEndpointToGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 2, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdEndGroupDirection"), (0, "IPSEC-SPD-MIB", "spdEndGroupInterface")) if mibBuilder.loadTexts: spdEndpointToGroupEntry.setDescription("A mapping assigning a policy group to an endpoint.") spdEndGroupDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 2, 1, 1), IfDirection()).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdEndGroupDirection.setDescription("This object indicates which direction of packets crossing\nthe interface are associated with which spdEndGroupName\nobject. Ingress packets, or packets into the device match\nwhen this value is inbound(1). Egress packets or packets\nout of the device match when this value is outbound(2).") spdEndGroupInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 2, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdEndGroupInterface.setDescription("This value matches the IF-MIB's ifTable's ifIndex column\nand indicates the interface associated with a given\nendpoint. This object can be used to uniquely identify an\nendpoint that a set of policy groups are applied to.") spdEndGroupName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdEndGroupName.setDescription("The policy group name to apply at this endpoint. The\nvalue of the spdEndGroupName object is then used as an\nindex into the spdGroupContentsTable to come up with a list\nof rules that MUST be applied at this endpoint.") spdEndGroupLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 2, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdEndGroupLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdEndGroupStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 2, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdEndGroupStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a storage\ntype of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdEndGroupRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdEndGroupRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nThis object is considered 'notReady' and MUST NOT be set to\nactive until one or more active rows exist within the\nspdGroupContentsTable for the group referenced by the\nspdEndGroupName object.") spdGroupContentsTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 3)) if mibBuilder.loadTexts: spdGroupContentsTable.setDescription("This table contains a list of rules and/or subgroups\ncontained within a given policy group. For a given value\nof spdGroupContName, the set of rows sharing that value\nforms a 'group'. The rows in a group MUST be processed\naccording to the value of the spdGroupContPriority object\nin each row. The processing MUST be executed starting with\nthe lowest value of spdGroupContPriority and in ascending\norder thereafter.\n\nIf an action is executed as the result of the processing of\na row in a group, the processing of further rows in that\ngroup MUST stop. Iterating to the next policy group row by\nfinding the next largest spdGroupContPriority object SHALL\nonly be done if no actions were run while processing the\ncurrent row for a given packet.") spdGroupContentsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 3, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdGroupContName"), (0, "IPSEC-SPD-MIB", "spdGroupContPriority")) if mibBuilder.loadTexts: spdGroupContentsEntry.setDescription("Defines a given sub-component within a policy group. A\nsub-component is either a rule or another group as\nindicated by spdGroupContComponentType and referenced by\nspdGroupContComponentName.") spdGroupContName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdGroupContName.setDescription("The administrative name of the group associated with this\nrow. A 'group' is formed by all the rows in this table that\nhave the same value of this object.") spdGroupContPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdGroupContPriority.setDescription("The priority (sequence number) of the sub-component in\na group that this row represents. This value indicates\nthe order that each row of this table MUST be processed\nfrom low to high. For example, a row with a priority of 0\nis processed before a row with a priority of 1, a 1 before\na 2, etc.") spdGroupContFilter = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 3), VariablePointer().clone('1.3.6.1.2.1.153.1.7.1.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdGroupContFilter.setDescription("spdGroupContFilter points to a filter that is evaluated\nto determine whether the spdGroupContComponentName within\nthis row is exercised. Managers can use this object to\nclassify groups of rules, or subgroups, together in order to\nachieve a greater degree of control and optimization over\nthe execution order of the items within the group. If the\n\n\n\nfilter evaluates to false, the rule or subgroup will be\nskipped and the next rule or subgroup will be evaluated\ninstead. This value can be used to indicate a scalar or\nrow in a table. When indicating a row in a table, this\nvalue MUST point to the first column instance in that row.\n\nAn example usage of this object would be to limit a\ngroup of rules to executing only when the IP packet\nbeing processed is designated to be processed by IKE.\nThis effectively creates a group of IKE-specific rules.\n\nThe following tables and scalars can be pointed to by this\ncolumn. All but diffServMultiFieldClfrTable are defined in\nthis MIB:\n\n diffServMultiFieldClfrTable\n spdIpOffsetFilterTable\n spdTimeFilterTable\n spdCompoundFilterTable\n spdTrueFilter\n spdIpsoHeaderFilterTable\n\nImplementations MAY choose to provide support for other\nfilter tables or scalars.\n\nIf this column is set to a VariablePointer value, which\nreferences a non-existent row in an otherwise supported\ntable, the inconsistentName exception MUST be returned. If\nthe table or scalar pointed to by the VariablePointer is\nnot supported at all, then an inconsistentValue exception\nMUST be returned.\n\nIf, during packet processing, a row in this table is applied\nto a packet and the value of this column in that row\nreferences a non-existent or non-supported object, the\npacket MUST be dropped.") spdGroupContComponentType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("group", 1), ("rule", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdGroupContComponentType.setDescription("Indicates whether the spdGroupContComponentName object\nis the name of another group defined within the\nspdGroupContentsTable or is the name of a rule defined\n\n\n\nwithin the spdRuleDefinitionTable.") spdGroupContComponentName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdGroupContComponentName.setDescription("The name of the policy rule or subgroup contained within\nthis row, as indicated by the spdGroupContComponentType\nobject.") spdGroupContLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdGroupContLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem,\nthis object SHOULD have a zero value.") spdGroupContStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 7), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdGroupContStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a storage\ntype of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdGroupContRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 3, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdGroupContRowStatus.setDescription("This object indicates the conceptual status of this row.\n\n\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nThis object MUST NOT be set to active until the row to\nwhich the spdGroupContComponentName points to exists and is\nactive.\n\nIf active, this object MUST remain active unless one of the\nfollowing two conditions are met:\n\nI. No active row in spdEndpointToGroupTable exists that\n references this row's group (i.e., indicate this row's\n spdGroupContName).\n\nII. Or at least one other active row in this table has a\n matching spdGroupContName.\n\nIf neither condition is met, an attempt to set this row to\nsomething other than active MUST result in an\ninconsistentValue error.") spdRuleDefinitionTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 4)) if mibBuilder.loadTexts: spdRuleDefinitionTable.setDescription("This table defines a rule by associating a filter\nor a set of filters to an action to be executed.") spdRuleDefinitionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 4, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdRuleDefName")) if mibBuilder.loadTexts: spdRuleDefinitionEntry.setDescription("A row defining a particular rule definition. A rule\ndefinition binds a filter pointer to an action pointer.") spdRuleDefName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdRuleDefName.setDescription("spdRuleDefName is the administratively assigned name of\nthe rule referred to by the spdGroupContComponentName\nobject.") spdRuleDefDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 2), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdRuleDefDescription.setDescription("A user defined string. This field MAY be used for\nadministrative tracking purposes.") spdRuleDefFilter = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 3), VariablePointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdRuleDefFilter.setDescription("spdRuleDefFilter points to a filter that is used to\nevaluate whether the action associated with this row is\nexecuted or not. The action will only execute if the\nfilter referenced by this object evaluates to TRUE after\nfirst applying any negation required by the\nspdRuleDefFilterNegated object.\n\nThe following tables and scalars can be pointed to by this\ncolumn. All but diffServMultiFieldClfrTable are defined in\nthis MIB. Implementations MAY choose to provide support\nfor other filter tables or scalars as well:\n\n diffServMultiFieldClfrTable\n\n\n\n spdIpOffsetFilterTable\n spdTimeFilterTable\n spdCompoundFilterTable\n spdTrueFilter\n\nIf this column is set to a VariablePointer value, which\nreferences a non-existent row in an otherwise supported\ntable, the inconsistentName exception MUST be returned. If\nthe table or scalar pointed to by the VariablePointer is\nnot supported at all, then an inconsistentValue exception\nMUST be returned.\n\nIf, during packet processing, this column has a value that\nreferences a non-existent or non-supported object, the\npacket MUST be dropped.") spdRuleDefFilterNegated = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 4), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdRuleDefFilterNegated.setDescription("spdRuleDefFilterNegated specifies whether or not the results of\nthe filter referenced by the spdRuleDefFilter object is\nnegated.") spdRuleDefAction = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 5), VariablePointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdRuleDefAction.setDescription("This column points to the action to be taken. It MAY,\nbut is not limited to, point to a row in one of the\nfollowing tables:\n\n spdCompoundActionTable\n ipsaSaPreconfiguredActionTable\n ipiaIkeActionTable\n ipiaIpsecActionTable\n\nIt MAY also point to one of the scalar objects beneath\nspdStaticActions.\n\nIf this object is set to a pointer to a row in an\nunsupported (or unknown) table, an inconsistentValue\n\n\n\nerror MUST be returned.\n\nIf this object is set to point to a non-existent row in an\notherwise supported table, an inconsistentName error MUST\nbe returned.\n\nIf, during packet processing, this column has a value that\nreferences a non-existent or non-supported object, the\npacket MUST be dropped.") spdRuleDefAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 6), SpdAdminStatus().clone('enabled')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdRuleDefAdminStatus.setDescription("Indicates whether the current rule definition is considered\nactive. If the value is enabled, the rule MUST be evaluated\nwhen processing packets. If the value is disabled, the\npacket processing MUST continue as if this rule's filter\nhad effectively failed.") spdRuleDefLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdRuleDefLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdRuleDefStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 8), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdRuleDefStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a\nstorage type of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\n\n\n\nto be writable.") spdRuleDefRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 4, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdRuleDefRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nThis object MUST NOT be set to active until the containing\nconditions, filters, and actions have been defined. Once\nactive, it MUST remain active until no active\npolicyGroupContents entries are referencing it. A failed\nattempt to do so MUST return an inconsistentValue error.") spdCompoundFilterTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 5)) if mibBuilder.loadTexts: spdCompoundFilterTable.setDescription("A table defining compound filters and their associated\nparameters. A row in this table can be pointed to by a\nspdRuleDefFilter object.") spdCompoundFilterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 5, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdCompFiltName")) if mibBuilder.loadTexts: spdCompoundFilterEntry.setDescription("An entry in the spdCompoundFilterTable. Each entry in this\ntable represents a compound filter. A filter defined by\nthis table is considered to have a TRUE return value if and\nonly if:\n\nspdCompFiltLogicType is AND and all of the sub-filters\nassociated with it, as defined in the spdSubfiltersTable,\nare all true themselves (after applying any required\n\n\n\nnegation, as defined by the ficFilterIsNegated object).\n\nspdCompFiltLogicType is OR and at least one of the\nsub-filters associated with it, as defined in the\nspdSubfiltersTable, is true itself (after applying any\nrequired negation, as defined by the ficFilterIsNegated\nobject.") spdCompFiltName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 5, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdCompFiltName.setDescription("A user definable string. This value is used as an index\ninto this table.") spdCompFiltDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 5, 1, 2), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdCompFiltDescription.setDescription("A user definable string. This field MAY be used for\nyour administrative tracking purposes.") spdCompFiltLogicType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 5, 1, 3), SpdBooleanOperator().clone('and')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdCompFiltLogicType.setDescription("Indicates whether the sub-component filters of this\ncompound filter are functionally ANDed or ORed together.") spdCompFiltLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 5, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdCompFiltLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdCompFiltStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 5, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdCompFiltStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a\nstorage type of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdCompFiltRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 5, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdCompFiltRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nOnce active, it MUST NOT have its value changed if any\nactive rows in the spdRuleDefinitionTable are currently\npointing at this row.") spdSubfiltersTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 6)) if mibBuilder.loadTexts: spdSubfiltersTable.setDescription("This table defines a list of filters contained within a\ngiven compound filter defined in the\nspdCompoundFilterTable.") spdSubfiltersEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 6, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdCompFiltName"), (0, "IPSEC-SPD-MIB", "spdSubFiltPriority")) if mibBuilder.loadTexts: spdSubfiltersEntry.setDescription("An entry in the spdSubfiltersTable. There is an entry in\nthis table for each sub-filter of all compound filters\npresent in the spdCompoundFilterTable.") spdSubFiltPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdSubFiltPriority.setDescription("The priority of a given filter within a compound filter.\nThe order of execution is from lowest to highest priority\nvalue (i.e., priority 0 before priority 1, 1 before 2,\netc.). Implementations MAY choose to follow this ordering,\nas set by the manager that created the rows. This can allow\na manager to intelligently construct filter lists such that\nfaster filters are evaluated first.") spdSubFiltSubfilter = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 6, 1, 2), VariablePointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdSubFiltSubfilter.setDescription("The OID of the contained filter. The value of this\nobject is a VariablePointer that references the filter to\nbe included in this compound filter.\n\nThe following tables and scalars can be pointed to by this\ncolumn. All but diffServMultiFieldClfrTable are defined in\nthis MIB. Implementations MAY choose to provide support\nfor other filter tables or scalars as well:\n\n diffServMultiFieldClfrTable\n spdIpsoHeaderFilterTable\n spdIpOffsetFilterTable\n spdTimeFilterTable\n spdCompoundFilterTable\n spdTrueFilter\n\nIf this column is set to a VariablePointer value that\nreferences a non-existent row in an otherwise supported\ntable, the inconsistentName exception MUST be returned. If\nthe table or scalar pointed to by the VariablePointer is\nnot supported at all, then an inconsistentValue exception\nMUST be returned.\n\nIf, during packet processing, this column has a value that\nreferences a non-existent or non-supported object, the\npacket MUST be dropped.") spdSubFiltSubfilterIsNegated = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 6, 1, 3), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdSubFiltSubfilterIsNegated.setDescription("Indicates whether or not the result of applying this sub-filter\nis negated.") spdSubFiltLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 6, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdSubFiltLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\n\n\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdSubFiltStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 6, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdSubFiltStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a\nstorage type of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdSubFiltRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 6, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdSubFiltRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nThis object cannot be made active until a filter\nreferenced by the spdSubFiltSubfilter object is both\ndefined and active. An attempt to do so MUST result in\nan inconsistentValue error.\n\nIf active, this object MUST remain active unless one of the\nfollowing two conditions are met:\n\nI. No active row in the SpdCompoundFilterTable exists\n that has a matching spdCompFiltName.\n\nII. Or, at least one other active row in this table has a\n matching spdCompFiltName.\n\nIf neither condition is met, an attempt to set this row to\nsomething other than active MUST result in an\ninconsistentValue error.") spdStaticFilters = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 1, 7)) spdTrueFilter = MibScalar((1, 3, 6, 1, 2, 1, 153, 1, 7, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: spdTrueFilter.setDescription("This scalar indicates a (automatic) true result for\na filter. That is, this is a filter that is always\ntrue; it is useful for adding as a default filter for a\ndefault action or a set of actions.") spdTrueFilterInstance = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 1, 7, 1, 0)) spdIpOffsetFilterTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 8)) if mibBuilder.loadTexts: spdIpOffsetFilterTable.setDescription("This table contains a list of filter definitions to be\nused within the spdRuleDefinitionTable or the\nspdSubfiltersTable.\n\nThis type of filter is used to compare an administrator\nspecified octet string to the octets at a particular\nlocation in a packet.") spdIpOffsetFilterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 8, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdIpOffFiltName")) if mibBuilder.loadTexts: spdIpOffsetFilterEntry.setDescription("A definition of a particular filter.") spdIpOffFiltName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 8, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdIpOffFiltName.setDescription("The administrative name for this filter.") spdIpOffFiltOffset = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 8, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpOffFiltOffset.setDescription("This is the byte offset from the front of the entire IP\npacket where the value or arithmetic comparison is done. A\nvalue of '0' indicates the first byte of the packet header.\nIf this value is greater than the length of the packet, the\nfilter represented by this row should be considered to\nfail.") spdIpOffFiltType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 8, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,6,4,3,5,)).subtype(namedValues=NamedValues(("equal", 1), ("notEqual", 2), ("arithmeticLess", 3), ("arithmeticGreaterOrEqual", 4), ("arithmeticGreater", 5), ("arithmeticLessOrEqual", 6), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpOffFiltType.setDescription("This defines the various tests that are used when\nevaluating a given filter.\n\nThe various tests definable in this table are as follows:\n\nequal:\n - Tests if the OCTET STRING, 'spdIpOffFiltValue', matches\n\n\n\n a value in the packet starting at the given offset in\n the packet and comparing the entire OCTET STRING of\n 'spdIpOffFiltValue'. Any values compared this way are\n assumed to be unsigned integer values in network byte\n order of the same length as 'spdIpOffFiltValue'.\n\nnotEqual:\n - Tests if the OCTET STRING, 'spdIpOffFiltValue', does\n not match a value in the packet starting at the given\n offset in the packet and comparing to the entire OCTET\n STRING of 'spdIpOffFiltValue'. Any values compared\n this way are assumed to be unsigned integer values in\n network byte order of the same length as\n 'spdIpOffFiltValue'.\n\narithmeticLess:\n - Tests if the OCTET STRING, 'spdIpOffFiltValue', is\n arithmetically less than ('<') the value starting at\n the given offset within the packet. The value in the\n packet is assumed to be an unsigned integer in network\n byte order of the same length as 'spdIpOffFiltValue'.\n\narithmeticGreaterOrEqual:\n - Tests if the OCTET STRING, 'spdIpOffFiltValue', is\n arithmetically greater than or equal to ('>=') the\n value starting at the given offset within the packet.\n The value in the packet is assumed to be an unsigned\n integer in network byte order of the same length as\n 'spdIpOffFiltValue'.\n\narithmeticGreater:\n - Tests if the OCTET STRING, 'spdIpOffFiltValue', is\n arithmetically greater than ('>') the value starting at\n the given offset within the packet. The value in the\n packet is assumed to be an unsigned integer in network\n byte order of the same length as 'spdIpOffFiltValue'.\n\narithmeticLessOrEqual:\n - Tests if the OCTET STRING, 'spdIpOffFiltValue', is\n arithmetically less than or equal to ('<=') the value\n starting at the given offset within the packet. The\n value in the packet is assumed to be an unsigned\n integer in network byte order of the same length as\n 'spdIpOffFiltValue'.") spdIpOffFiltValue = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 8, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1024))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpOffFiltValue.setDescription("spdIpOffFiltValue is used for match comparisons of a\npacket at spdIpOffFiltOffset.") spdIpOffFiltLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 8, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdIpOffFiltLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdIpOffFiltStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 8, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpOffFiltStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a\nstorage type of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdIpOffFiltRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 8, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpOffFiltRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nIf active, this object MUST remain active if it is\n\n\n\nreferenced by an active row in another table. An attempt\nto set it to anything other than active while it is\nreferenced by an active row in another table MUST result in\nan inconsistentValue error.") spdTimeFilterTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 9)) if mibBuilder.loadTexts: spdTimeFilterTable.setDescription("Defines a table of filters that can be used to\neffectively enable or disable policies based on a valid\ntime range.") spdTimeFilterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 9, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdTimeFiltName")) if mibBuilder.loadTexts: spdTimeFilterEntry.setDescription("A row describing a given time frame for which a policy\nis filtered on to activate or deactivate the rule.\n\nIf all the column objects in a row are true for the current\ntime, the row evaluates as 'true'. More explicitly, the\ntime matching column objects in a row MUST be logically\nANDed together to form the boolean true/false for the row.") spdTimeFiltName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdTimeFiltName.setDescription("An administratively assigned name for this filter.") spdTimeFiltPeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 2), SpdTimePeriod().clone('THISANDPRIOR/THISANDFUTURE')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdTimeFiltPeriod.setDescription("The valid time period for this filter. This column is\nconsidered 'true' if the current time is within the range of\nthis object.") spdTimeFiltMonthOfYearMask = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 3), Bits().subtype(namedValues=NamedValues(("january", 0), ("february", 1), ("november", 10), ("december", 11), ("march", 2), ("april", 3), ("may", 4), ("june", 5), ("july", 6), ("august", 7), ("september", 8), ("october", 9), )).clone(("january","february","march","april","may","june","july","august","september","october","november","december",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdTimeFiltMonthOfYearMask.setDescription("A bit mask that indicates acceptable months of the year.\nThis column evaluates to 'true' if the current month's bit\nis set.") spdTimeFiltDayOfMonthMask = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8).clone(hexValue='ffffffffffffffff')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdTimeFiltDayOfMonthMask.setDescription("Defines which days of the month the current time is\nvalid for. It is a sequence of 64 BITS, where each BIT\nrepresents a corresponding day of the month in forward or\nreverse order. Starting from the left-most bit, the first\n31 bits identify the day of the month, counting from the\nbeginning of the month. The following 31 bits (bits 32-62)\nindicate the day of the month, counting from the end of the\n\n\n\nmonth. For months with fewer than 31 days, the bits that\ncorrespond to the non-existent days of that month are\nignored (e.g., for non-leap year Februarys, bits 29-31 and\n60-62 are ignored).\n\nThis column evaluates to 'true' if the current day of the\nmonth's bit is set.\n\nFor example, a value of 0X'80 00 00 01 00 00 00 00'\nindicates that this column evaluates to true on the first\nand last days of the month.\n\nThe last two bits in the string MUST be zero.") spdTimeFiltDayOfWeekMask = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 5), Bits().subtype(namedValues=NamedValues(("sunday", 0), ("monday", 1), ("tuesday", 2), ("wednesday", 3), ("thursday", 4), ("friday", 5), ("saturday", 6), )).clone(("sunday","monday","tuesday","wednesday","thursday","friday","saturday",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdTimeFiltDayOfWeekMask.setDescription("A bit mask that defines which days of the week that the current\ntime is valid for. This column evaluates to 'true' if the\ncurrent day of the week's bit is set.") spdTimeFiltTimeOfDayMask = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 6), SpdTimePeriod().clone('00000000T000000/00000000T240000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdTimeFiltTimeOfDayMask.setDescription("Indicates the start and end time of the day for which this\nfilter evaluates to true. The date portions of the\nspdTimePeriod TC are ignored for purposes of evaluating this\nmask, and only the time-specific portions are used.\n\nThis column evaluates to 'true' if the current time of day\nis within the range of the start and end times of the day\nindicated by this object.") spdTimeFiltLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdTimeFiltLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdTimeFiltStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 8), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdTimeFiltStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a storage\ntype of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdTimeFiltRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 9, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdTimeFiltRowStatus.setDescription("This object indicates the conceptual status of this\nrow.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nIf active, this object MUST remain active if it is\nreferenced by an active row in another table. An attempt\nto set it to anything other than active while it is\nreferenced by an active row in another table MUST result in\nan inconsistentValue error.") spdIpsoHeaderFilterTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 10)) if mibBuilder.loadTexts: spdIpsoHeaderFilterTable.setDescription("This table contains a list of IPSO header filter\ndefinitions to be used within the spdRuleDefinitionTable or\nthe spdSubfiltersTable. IPSO headers and their values are\ndescribed in RFC 1108.") spdIpsoHeaderFilterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 10, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdIpsoHeadFiltName")) if mibBuilder.loadTexts: spdIpsoHeaderFilterEntry.setDescription("A definition of a particular filter.") spdIpsoHeadFiltName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 10, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdIpsoHeadFiltName.setDescription("The administrative name for this filter.") spdIpsoHeadFiltType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 10, 1, 2), Bits().subtype(namedValues=NamedValues(("classificationLevel", 0), ("protectionAuthority", 1), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpsoHeadFiltType.setDescription("This object indicates which of the IPSO header field a\npacket is filtered on for this row. If this object is set\nto classification(0), the spdIpsoHeadFiltClassification\n\n\n\nobject indicates how the packet is filtered. If this object\nis set to protectionAuthority(1), the\nspdIpsoHeadFiltProtectionAuth object indicates how the\npacket is filtered.") spdIpsoHeadFiltClassification = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 10, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(61,171,90,150,)).subtype(namedValues=NamedValues(("confidential", 150), ("unclassified", 171), ("topSecret", 61), ("secret", 90), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpsoHeadFiltClassification.setDescription("This object indicates the IPSO classification header field\nvalue that the packet MUST have for this row to evaluate to\n'true'.\n\nThe values of these enumerations are defined by RFC 1108.") spdIpsoHeadFiltProtectionAuth = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 10, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,0,4,1,)).subtype(namedValues=NamedValues(("genser", 0), ("siopesi", 1), ("sci", 2), ("nsa", 3), ("doe", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpsoHeadFiltProtectionAuth.setDescription("This object indicates the IPSO protection authority header\nfield value that the packet MUST have for this row to\nevaluate to 'true'.\n\nThe values of these enumerations are defined by RFC 1108.\nHence the reason the SMIv2 convention of not using 0 in\nenumerated lists is violated here.") spdIpsoHeadFiltLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 10, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdIpsoHeadFiltLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdIpsoHeadFiltStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 10, 1, 6), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpsoHeadFiltStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a storage\ntype of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdIpsoHeadFiltRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 10, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdIpsoHeadFiltRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nHowever, this object MUST NOT be set to active if the\nrequirements of the spdIpsoHeadFiltType object are not met.\nSpecifically, if the spdIpsoHeadFiltType bit for\nclassification(0) is set, the spdIpsoHeadFiltClassification\ncolumn MUST have a valid value for the row status to be set\nto active. If the spdIpsoHeadFiltType bit for\nprotectionAuthority(1) is set, the\nspdIpsoHeadFiltProtectionAuth column MUST have a valid\nvalue for the row status to be set to active.\n\nIf active, this object MUST remain active if it is\nreferenced by an active row in another table. An attempt\nto set it to anything other than active while it is\nreferenced by an active row in another table MUST result in\nan inconsistentValue error.") spdCompoundActionTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 11)) if mibBuilder.loadTexts: spdCompoundActionTable.setDescription("Table used to allow multiple actions to be associated\nwith a rule. It uses the spdSubactionsTable to do this.\nThe rows from spdSubactionsTable that are partially indexed\nby spdCompActName form the set of compound actions to be\nperformed. The spdCompActExecutionStrategy column in this\ntable indicates how those actions are processed.") spdCompoundActionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 11, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdCompActName")) if mibBuilder.loadTexts: spdCompoundActionEntry.setDescription("A row in the spdCompoundActionTable.") spdCompActName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 11, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdCompActName.setDescription("This is an administratively assigned name of this\ncompound action.") spdCompActExecutionStrategy = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 11, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("doAll", 1), ("doUntilSuccess", 2), ("doUntilFailure", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdCompActExecutionStrategy.setDescription("This object indicates how the sub-actions are executed\nbased on the success of the actions as they finish\nexecuting.\n\n\n\ndoAll - run each sub-action regardless of the\n exit status of the previous action.\n This parent action is always\n considered to have acted successfully.\n\ndoUntilSuccess - run each sub-action until one succeeds,\n at which point stop processing the\n sub-actions within this parent\n compound action. If one of the\n sub-actions did execute successfully,\n this parent action is also considered\n to have executed successfully.\n\ndoUntilFailure - run each sub-action until one fails,\n at which point stop processing the\n sub-actions within this compound\n action. If any sub-action fails, the\n result of this parent action is\n considered to have failed.") spdCompActLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 11, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdCompActLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdCompActStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 11, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdCompActStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a storage\ntype of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdCompActRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 11, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdCompActRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nOnce a row in the spdCompoundActionTable has been made\nactive, this object MUST NOT be set to destroy without\nfirst destroying all the contained rows listed in the\nspdSubactionsTable.") spdSubactionsTable = MibTable((1, 3, 6, 1, 2, 1, 153, 1, 12)) if mibBuilder.loadTexts: spdSubactionsTable.setDescription("This table contains a list of the sub-actions within a\ngiven compound action. Compound actions executing these\nactions MUST execute them in series based on the\nspdSubActPriority value, with the lowest value executing\nfirst.") spdSubactionsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 153, 1, 12, 1)).setIndexNames((0, "IPSEC-SPD-MIB", "spdCompActName"), (0, "IPSEC-SPD-MIB", "spdSubActPriority")) if mibBuilder.loadTexts: spdSubactionsEntry.setDescription("A row containing a reference to a given compound-action\nsub-action.") spdSubActPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: spdSubActPriority.setDescription("The priority of a given sub-action within a compound\naction. The order in which sub-actions MUST be executed\nare based on the value from this column, with the lowest\nnumeric value executing first (i.e., priority 0 before\npriority 1, 1 before 2, etc.).") spdSubActSubActionName = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 12, 1, 2), VariablePointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdSubActSubActionName.setDescription("This column points to the action to be taken. It MAY,\nbut is not limited to, point to a row in one of the\nfollowing tables:\n\n spdCompoundActionTable - Allowing recursion\n ipsaSaPreconfiguredActionTable\n ipiaIkeActionTable\n ipiaIpsecActionTable\n\nIt MAY also point to one of the scalar objects beneath\nspdStaticActions.\n\nIf this object is set to a pointer to a row in an\nunsupported (or unknown) table, an inconsistentValue\nerror MUST be returned.\n\nIf this object is set to point to a non-existent row in\nan otherwise supported table, an inconsistentName error\nMUST be returned.\n\nIf, during packet processing, this column has a value that\nreferences a non-existent or non-supported object, the\npacket MUST be dropped.") spdSubActLastChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 12, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: spdSubActLastChanged.setDescription("The value of sysUpTime when this row was last modified\nor created either through SNMP SETs or by some other\nexternal means.\n\nIf this row has not been modified since the last\nre-initialization of the network management subsystem, this\nobject SHOULD have a zero value.") spdSubActStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 12, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdSubActStorageType.setDescription("The storage type for this row. Rows in this table that\nwere created through an external process MAY have a storage\ntype of readOnly or permanent.\n\nFor a storage type of permanent, none of the columns have\nto be writable.") spdSubActRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 153, 1, 12, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: spdSubActRowStatus.setDescription("This object indicates the conceptual status of this row.\n\nThe value of this object has no effect on whether other\nobjects in this conceptual row can be modified.\n\nIf active, this object MUST remain active unless one of the\nfollowing two conditions are met. An attempt to set it to\nanything other than active while the following conditions\nare not met MUST result in an inconsistentValue error. The\ntwo conditions are:\n\nI. No active row in the spdCompoundActionTable exists\n which has a matching spdCompActName.\n\nII. Or, at least one other active row in this table has a\n matching spdCompActName.") spdStaticActions = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 1, 13)) spdDropAction = MibScalar((1, 3, 6, 1, 2, 1, 153, 1, 13, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: spdDropAction.setDescription("This scalar indicates that a packet MUST be dropped\nand SHOULD NOT have action/packet logging.") spdDropActionLog = MibScalar((1, 3, 6, 1, 2, 1, 153, 1, 13, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: spdDropActionLog.setDescription("This scalar indicates that a packet MUST be dropped\nand SHOULD have action/packet logging.") spdAcceptAction = MibScalar((1, 3, 6, 1, 2, 1, 153, 1, 13, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: spdAcceptAction.setDescription("This Scalar indicates that a packet MUST be accepted\n(pass-through) and SHOULD NOT have action/packet logging.") spdAcceptActionLog = MibScalar((1, 3, 6, 1, 2, 1, 153, 1, 13, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: spdAcceptActionLog.setDescription("This scalar indicates that a packet MUST be accepted\n(pass-through) and SHOULD have action/packet logging.") spdNotificationObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 2)) spdNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 2, 0)) spdNotificationVariables = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 2, 1)) spdActionExecuted = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 1), VariablePointer()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdActionExecuted.setDescription("Points to the action instance that was executed that\nresulted in the notification being sent.") spdIPEndpointAddType = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 2), InetAddressType()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdIPEndpointAddType.setDescription("Contains the address type for the interface that the\nnotification triggering packet is passing through.") spdIPEndpointAddress = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 3), InetAddress()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdIPEndpointAddress.setDescription("Contains the interface address for the interface that the\nnotification triggering packet is passing through.\n\nThe format of this object is specified by the\nspdIPEndpointAddType object.") spdIPSourceType = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 4), InetAddressType()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdIPSourceType.setDescription("Contains the source address type of the packet that\n\n\n\ntriggered the notification.") spdIPSourceAddress = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 5), InetAddress()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdIPSourceAddress.setDescription("Contains the source address of the packet that\ntriggered the notification.\n\nThe format of this object is specified by the\nspdIPSourceType object.") spdIPDestinationType = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 6), InetAddressType()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdIPDestinationType.setDescription("Contains the destination address type of the packet\nthat triggered the notification.") spdIPDestinationAddress = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 7), InetAddress()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdIPDestinationAddress.setDescription("Contains the destination address of the packet that\ntriggered the notification.\n\nThe format of this object is specified by the\nspdIPDestinationType object.") spdPacketDirection = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 8), IfDirection()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdPacketDirection.setDescription("Indicates if the packet that triggered the action in\nquestions was ingress (inbound) or egress (outbound).") spdPacketPart = MibScalar((1, 3, 6, 1, 2, 1, 153, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("notifyonly") if mibBuilder.loadTexts: spdPacketPart.setDescription("spdPacketPart is the front part of the full IP packet that\ntriggered this notification. The initial size limit is\ndetermined by the smaller of the size, indicated by:\n\nI. The value of the object with the TC syntax\n 'SpdIPPacketLogging' that indicated the packet SHOULD be\n logged and\n\nII. The size of the triggering packet.\n\nThe final limit is determined by the SNMP packet size when\nsending the notification. The maximum size that can be\nincluded will be the smaller of the initial size, given the\nabove, and the length that will fit in a single SNMP\nnotification packet after the rest of the notification's\nobjects and any other necessary packet data (headers encoding,\netc.) have been included in the packet.") spdConformanceObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 3)) spdCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 3, 1)) spdGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 3, 2)) spdActions = MibIdentifier((1, 3, 6, 1, 2, 1, 153, 4)) # Augmentions # Notifications spdActionNotification = NotificationType((1, 3, 6, 1, 2, 1, 153, 2, 0, 1)).setObjects(*(("IPSEC-SPD-MIB", "spdIPEndpointAddType"), ("IPSEC-SPD-MIB", "spdIPDestinationType"), ("IPSEC-SPD-MIB", "spdIPEndpointAddress"), ("IPSEC-SPD-MIB", "spdIPSourceAddress"), ("IPSEC-SPD-MIB", "spdPacketDirection"), ("IPSEC-SPD-MIB", "spdIPDestinationAddress"), ("IPSEC-SPD-MIB", "spdIPSourceType"), ("IPSEC-SPD-MIB", "spdActionExecuted"), ) ) if mibBuilder.loadTexts: spdActionNotification.setDescription("Notification that an action was executed by a rule.\nOnly actions with logging enabled will result in this\nnotification getting sent. The object includes the\nspdActionExecuted object, which will indicate which action\nwas executed within the scope of the rule. Additionally,\nthe spdIPSourceType, spdIPSourceAddress,\nspdIPDestinationType, and spdIPDestinationAddress objects\nare included to indicate the packet source and destination\nof the packet that triggered the action. Finally, the\nspdIPEndpointAddType, spdIPEndpointAddress, and\nspdPacketDirection objects indicate which interface the\nexecuted action was associated with, and if the packet was\ningress or egress through the endpoint.\n\nA spdActionNotification SHOULD be limited to a maximum of\none notification sent per minute for any action\nnotifications that do not have any other configuration\ncontrolling their send rate.\n\n\n\nNote that compound actions with multiple executed\nsub-actions may result in multiple notifications being sent\nfrom a single rule execution.") spdPacketNotification = NotificationType((1, 3, 6, 1, 2, 1, 153, 2, 0, 2)).setObjects(*(("IPSEC-SPD-MIB", "spdIPEndpointAddType"), ("IPSEC-SPD-MIB", "spdIPDestinationType"), ("IPSEC-SPD-MIB", "spdIPEndpointAddress"), ("IPSEC-SPD-MIB", "spdIPSourceAddress"), ("IPSEC-SPD-MIB", "spdPacketDirection"), ("IPSEC-SPD-MIB", "spdIPDestinationAddress"), ("IPSEC-SPD-MIB", "spdIPSourceType"), ("IPSEC-SPD-MIB", "spdPacketPart"), ("IPSEC-SPD-MIB", "spdActionExecuted"), ) ) if mibBuilder.loadTexts: spdPacketNotification.setDescription("Notification that a packet passed through a Security\nAssociation (SA). Only SAs created by actions with packet\nlogging enabled will result in this notification getting\nsent. The objects sent MUST include the spdActionExecuted,\nwhich will indicate which action was executed within the\nscope of the rule. Additionally, the spdIPSourceType,\nspdIPSourceAddress, spdIPDestinationType, and\nspdIPDestinationAddress objects MUST be included to\nindicate the packet source and destination of the packet\nthat triggered the action. The spdIPEndpointAddType,\nspdIPEndpointAddress, and spdPacketDirection objects are\nincluded to indicate which endpoint the packet was\nassociated with. Finally, spdPacketPart is included to\nenable sending a variable sized part of the front of the\npacket with the size dependent on the value of the object of\nTC syntax 'SpdIPPacketLogging', which indicated that logging\nshould be done.\n\nA spdPacketNotification SHOULD be limited to a maximum of\none notification sent per minute for any action\nnotifications that do not have any other configuration\ncontrolling their send rate.\n\nAn action notification SHOULD be limited to a maximum of\none notification sent per minute for any action\nnotifications that do not have any other configuration\ncontrolling their send rate.") # Groups spdEndpointGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 1)).setObjects(*(("IPSEC-SPD-MIB", "spdEndGroupRowStatus"), ("IPSEC-SPD-MIB", "spdEndGroupLastChanged"), ("IPSEC-SPD-MIB", "spdEndGroupStorageType"), ("IPSEC-SPD-MIB", "spdEndGroupName"), ) ) if mibBuilder.loadTexts: spdEndpointGroup.setDescription("This group is made up of objects from the IPsec Policy\nEndpoint Table.") spdGroupContentsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 2)).setObjects(*(("IPSEC-SPD-MIB", "spdGroupContComponentType"), ("IPSEC-SPD-MIB", "spdGroupContComponentName"), ("IPSEC-SPD-MIB", "spdGroupContStorageType"), ("IPSEC-SPD-MIB", "spdGroupContFilter"), ("IPSEC-SPD-MIB", "spdGroupContRowStatus"), ("IPSEC-SPD-MIB", "spdGroupContLastChanged"), ) ) if mibBuilder.loadTexts: spdGroupContentsGroup.setDescription("This group is made up of objects from the IPsec Policy\nGroup Contents Table.") spdIpsecSystemPolicyNameGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 3)).setObjects(*(("IPSEC-SPD-MIB", "spdEgressPolicyGroupName"), ("IPSEC-SPD-MIB", "spdIngressPolicyGroupName"), ) ) if mibBuilder.loadTexts: spdIpsecSystemPolicyNameGroup.setDescription("This group is made up of objects represent the System\nPolicy Group Names.") spdRuleDefinitionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 4)).setObjects(*(("IPSEC-SPD-MIB", "spdRuleDefDescription"), ("IPSEC-SPD-MIB", "spdRuleDefRowStatus"), ("IPSEC-SPD-MIB", "spdRuleDefFilterNegated"), ("IPSEC-SPD-MIB", "spdRuleDefAction"), ("IPSEC-SPD-MIB", "spdRuleDefAdminStatus"), ("IPSEC-SPD-MIB", "spdRuleDefLastChanged"), ("IPSEC-SPD-MIB", "spdRuleDefFilter"), ("IPSEC-SPD-MIB", "spdRuleDefStorageType"), ) ) if mibBuilder.loadTexts: spdRuleDefinitionGroup.setDescription("This group is made up of objects from the IPsec Policy Rule\nDefinition Table.") spdCompoundFilterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 5)).setObjects(*(("IPSEC-SPD-MIB", "spdSubFiltRowStatus"), ("IPSEC-SPD-MIB", "spdCompFiltLastChanged"), ("IPSEC-SPD-MIB", "spdSubFiltLastChanged"), ("IPSEC-SPD-MIB", "spdCompFiltLogicType"), ("IPSEC-SPD-MIB", "spdSubFiltSubfilterIsNegated"), ("IPSEC-SPD-MIB", "spdCompFiltRowStatus"), ("IPSEC-SPD-MIB", "spdCompFiltStorageType"), ("IPSEC-SPD-MIB", "spdSubFiltSubfilter"), ("IPSEC-SPD-MIB", "spdSubFiltStorageType"), ("IPSEC-SPD-MIB", "spdCompFiltDescription"), ) ) if mibBuilder.loadTexts: spdCompoundFilterGroup.setDescription("This group is made up of objects from the IPsec Policy\nCompound Filter Table and Sub-Filter Table Group.") spdStaticFilterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 6)).setObjects(*(("IPSEC-SPD-MIB", "spdTrueFilter"), ) ) if mibBuilder.loadTexts: spdStaticFilterGroup.setDescription("The static filter group. Currently this is just a true\nfilter.") spdIPOffsetFilterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 7)).setObjects(*(("IPSEC-SPD-MIB", "spdIpOffFiltValue"), ("IPSEC-SPD-MIB", "spdIpOffFiltStorageType"), ("IPSEC-SPD-MIB", "spdIpOffFiltRowStatus"), ("IPSEC-SPD-MIB", "spdIpOffFiltType"), ("IPSEC-SPD-MIB", "spdIpOffFiltOffset"), ("IPSEC-SPD-MIB", "spdIpOffFiltLastChanged"), ) ) if mibBuilder.loadTexts: spdIPOffsetFilterGroup.setDescription("This group is made up of objects from the IPsec Policy IP\nOffset Filter Table.") spdTimeFilterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 8)).setObjects(*(("IPSEC-SPD-MIB", "spdTimeFiltTimeOfDayMask"), ("IPSEC-SPD-MIB", "spdTimeFiltDayOfWeekMask"), ("IPSEC-SPD-MIB", "spdTimeFiltPeriod"), ("IPSEC-SPD-MIB", "spdTimeFiltLastChanged"), ("IPSEC-SPD-MIB", "spdTimeFiltRowStatus"), ("IPSEC-SPD-MIB", "spdTimeFiltDayOfMonthMask"), ("IPSEC-SPD-MIB", "spdTimeFiltStorageType"), ("IPSEC-SPD-MIB", "spdTimeFiltMonthOfYearMask"), ) ) if mibBuilder.loadTexts: spdTimeFilterGroup.setDescription("This group is made up of objects from the IPsec Policy Time\nFilter Table.") spdIpsoHeaderFilterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 9)).setObjects(*(("IPSEC-SPD-MIB", "spdIpsoHeadFiltType"), ("IPSEC-SPD-MIB", "spdIpsoHeadFiltLastChanged"), ("IPSEC-SPD-MIB", "spdIpsoHeadFiltProtectionAuth"), ("IPSEC-SPD-MIB", "spdIpsoHeadFiltClassification"), ("IPSEC-SPD-MIB", "spdIpsoHeadFiltStorageType"), ("IPSEC-SPD-MIB", "spdIpsoHeadFiltRowStatus"), ) ) if mibBuilder.loadTexts: spdIpsoHeaderFilterGroup.setDescription("This group is made up of objects from the IPsec Policy IPSO\nHeader Filter Table.") spdStaticActionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 10)).setObjects(*(("IPSEC-SPD-MIB", "spdAcceptActionLog"), ("IPSEC-SPD-MIB", "spdDropActionLog"), ("IPSEC-SPD-MIB", "spdAcceptAction"), ("IPSEC-SPD-MIB", "spdDropAction"), ) ) if mibBuilder.loadTexts: spdStaticActionGroup.setDescription("This group is made up of objects from the IPsec Policy\nStatic Actions.") spdCompoundActionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 11)).setObjects(*(("IPSEC-SPD-MIB", "spdSubActStorageType"), ("IPSEC-SPD-MIB", "spdSubActRowStatus"), ("IPSEC-SPD-MIB", "spdCompActStorageType"), ("IPSEC-SPD-MIB", "spdCompActLastChanged"), ("IPSEC-SPD-MIB", "spdCompActExecutionStrategy"), ("IPSEC-SPD-MIB", "spdSubActLastChanged"), ("IPSEC-SPD-MIB", "spdCompActRowStatus"), ("IPSEC-SPD-MIB", "spdSubActSubActionName"), ) ) if mibBuilder.loadTexts: spdCompoundActionGroup.setDescription("The IPsec Policy Compound Action Table and Actions In\n\n\n\nCompound Action Table Group.") spdActionLoggingObjectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 12)).setObjects(*(("IPSEC-SPD-MIB", "spdIPEndpointAddType"), ("IPSEC-SPD-MIB", "spdIPDestinationType"), ("IPSEC-SPD-MIB", "spdIPEndpointAddress"), ("IPSEC-SPD-MIB", "spdIPSourceAddress"), ("IPSEC-SPD-MIB", "spdPacketDirection"), ("IPSEC-SPD-MIB", "spdIPDestinationAddress"), ("IPSEC-SPD-MIB", "spdIPSourceType"), ("IPSEC-SPD-MIB", "spdPacketPart"), ("IPSEC-SPD-MIB", "spdActionExecuted"), ) ) if mibBuilder.loadTexts: spdActionLoggingObjectGroup.setDescription("This group is made up of all the Notification objects for\nthis MIB.") spdActionNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 153, 3, 2, 13)).setObjects(*(("IPSEC-SPD-MIB", "spdPacketNotification"), ("IPSEC-SPD-MIB", "spdActionNotification"), ) ) if mibBuilder.loadTexts: spdActionNotificationGroup.setDescription("This group is made up of all the Notifications for this MIB.") # Compliances spdRuleFilterFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 153, 3, 1, 1)).setObjects(*(("DIFFSERV-MIB", "diffServMIBMultiFieldClfrGroup"), ("IPSEC-SPD-MIB", "spdGroupContentsGroup"), ("IPSEC-SPD-MIB", "spdEndpointGroup"), ("IPSEC-SPD-MIB", "spdCompoundActionGroup"), ("IPSEC-SPD-MIB", "spdIPOffsetFilterGroup"), ("IPSEC-SPD-MIB", "spdStaticFilterGroup"), ("IPSEC-SPD-MIB", "spdCompoundFilterGroup"), ("IPSEC-SPD-MIB", "spdIpsoHeaderFilterGroup"), ("IPSEC-SPD-MIB", "spdStaticActionGroup"), ("IPSEC-SPD-MIB", "spdIpsecSystemPolicyNameGroup"), ("IPSEC-SPD-MIB", "spdRuleDefinitionGroup"), ("IPSEC-SPD-MIB", "spdTimeFilterGroup"), ) ) if mibBuilder.loadTexts: spdRuleFilterFullCompliance.setDescription("The compliance statement for SNMP entities that include\nan IPsec MIB implementation with Endpoint, Rules, and\nfilters support.\n\nWhen this MIB is implemented with support for read-create,\nthen such an implementation can claim full compliance. Such\ndevices can then be both monitored and configured with this\nMIB.") spdLoggingCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 153, 3, 1, 2)).setObjects(*(("IPSEC-SPD-MIB", "spdActionLoggingObjectGroup"), ("IPSEC-SPD-MIB", "spdActionNotificationGroup"), ) ) if mibBuilder.loadTexts: spdLoggingCompliance.setDescription("The compliance statement for SNMP entities that support\nsending notifications when actions are invoked.") spdRuleFilterReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 153, 3, 1, 3)).setObjects(*(("DIFFSERV-MIB", "diffServMIBMultiFieldClfrGroup"), ("IPSEC-SPD-MIB", "spdGroupContentsGroup"), ("IPSEC-SPD-MIB", "spdEndpointGroup"), ("IPSEC-SPD-MIB", "spdCompoundActionGroup"), ("IPSEC-SPD-MIB", "spdIPOffsetFilterGroup"), ("IPSEC-SPD-MIB", "spdStaticFilterGroup"), ("IPSEC-SPD-MIB", "spdCompoundFilterGroup"), ("IPSEC-SPD-MIB", "spdIpsoHeaderFilterGroup"), ("IPSEC-SPD-MIB", "spdStaticActionGroup"), ("IPSEC-SPD-MIB", "spdIpsecSystemPolicyNameGroup"), ("IPSEC-SPD-MIB", "spdRuleDefinitionGroup"), ("IPSEC-SPD-MIB", "spdTimeFilterGroup"), ) ) if mibBuilder.loadTexts: spdRuleFilterReadOnlyCompliance.setDescription("The compliance statement for SNMP entities that include\nan IPsec MIB implementation with Endpoint, Rules, and\nfilters support.\n\nIf this MIB is implemented without support for read-create\n(i.e., in read-only), it is not in full compliance, but it\ncan claim read-only compliance. Such a device can then be\nmonitored, but cannot be configured with this MIB.") # Exports # Module identity mibBuilder.exportSymbols("IPSEC-SPD-MIB", PYSNMP_MODULE_ID=spdMIB) # Types mibBuilder.exportSymbols("IPSEC-SPD-MIB", SpdAdminStatus=SpdAdminStatus, SpdBooleanOperator=SpdBooleanOperator, SpdIPPacketLogging=SpdIPPacketLogging, SpdTimePeriod=SpdTimePeriod) # Objects mibBuilder.exportSymbols("IPSEC-SPD-MIB", spdMIB=spdMIB, spdConfigObjects=spdConfigObjects, spdLocalConfigObjects=spdLocalConfigObjects, spdIngressPolicyGroupName=spdIngressPolicyGroupName, spdEgressPolicyGroupName=spdEgressPolicyGroupName, spdEndpointToGroupTable=spdEndpointToGroupTable, spdEndpointToGroupEntry=spdEndpointToGroupEntry, spdEndGroupDirection=spdEndGroupDirection, spdEndGroupInterface=spdEndGroupInterface, spdEndGroupName=spdEndGroupName, spdEndGroupLastChanged=spdEndGroupLastChanged, spdEndGroupStorageType=spdEndGroupStorageType, spdEndGroupRowStatus=spdEndGroupRowStatus, spdGroupContentsTable=spdGroupContentsTable, spdGroupContentsEntry=spdGroupContentsEntry, spdGroupContName=spdGroupContName, spdGroupContPriority=spdGroupContPriority, spdGroupContFilter=spdGroupContFilter, spdGroupContComponentType=spdGroupContComponentType, spdGroupContComponentName=spdGroupContComponentName, spdGroupContLastChanged=spdGroupContLastChanged, spdGroupContStorageType=spdGroupContStorageType, spdGroupContRowStatus=spdGroupContRowStatus, spdRuleDefinitionTable=spdRuleDefinitionTable, spdRuleDefinitionEntry=spdRuleDefinitionEntry, spdRuleDefName=spdRuleDefName, spdRuleDefDescription=spdRuleDefDescription, spdRuleDefFilter=spdRuleDefFilter, spdRuleDefFilterNegated=spdRuleDefFilterNegated, spdRuleDefAction=spdRuleDefAction, spdRuleDefAdminStatus=spdRuleDefAdminStatus, spdRuleDefLastChanged=spdRuleDefLastChanged, spdRuleDefStorageType=spdRuleDefStorageType, spdRuleDefRowStatus=spdRuleDefRowStatus, spdCompoundFilterTable=spdCompoundFilterTable, spdCompoundFilterEntry=spdCompoundFilterEntry, spdCompFiltName=spdCompFiltName, spdCompFiltDescription=spdCompFiltDescription, spdCompFiltLogicType=spdCompFiltLogicType, spdCompFiltLastChanged=spdCompFiltLastChanged, spdCompFiltStorageType=spdCompFiltStorageType, spdCompFiltRowStatus=spdCompFiltRowStatus, spdSubfiltersTable=spdSubfiltersTable, spdSubfiltersEntry=spdSubfiltersEntry, spdSubFiltPriority=spdSubFiltPriority, spdSubFiltSubfilter=spdSubFiltSubfilter, spdSubFiltSubfilterIsNegated=spdSubFiltSubfilterIsNegated, spdSubFiltLastChanged=spdSubFiltLastChanged, spdSubFiltStorageType=spdSubFiltStorageType, spdSubFiltRowStatus=spdSubFiltRowStatus, spdStaticFilters=spdStaticFilters, spdTrueFilter=spdTrueFilter, spdTrueFilterInstance=spdTrueFilterInstance, spdIpOffsetFilterTable=spdIpOffsetFilterTable, spdIpOffsetFilterEntry=spdIpOffsetFilterEntry, spdIpOffFiltName=spdIpOffFiltName, spdIpOffFiltOffset=spdIpOffFiltOffset, spdIpOffFiltType=spdIpOffFiltType, spdIpOffFiltValue=spdIpOffFiltValue, spdIpOffFiltLastChanged=spdIpOffFiltLastChanged, spdIpOffFiltStorageType=spdIpOffFiltStorageType, spdIpOffFiltRowStatus=spdIpOffFiltRowStatus, spdTimeFilterTable=spdTimeFilterTable, spdTimeFilterEntry=spdTimeFilterEntry, spdTimeFiltName=spdTimeFiltName, spdTimeFiltPeriod=spdTimeFiltPeriod, spdTimeFiltMonthOfYearMask=spdTimeFiltMonthOfYearMask, spdTimeFiltDayOfMonthMask=spdTimeFiltDayOfMonthMask, spdTimeFiltDayOfWeekMask=spdTimeFiltDayOfWeekMask, spdTimeFiltTimeOfDayMask=spdTimeFiltTimeOfDayMask, spdTimeFiltLastChanged=spdTimeFiltLastChanged, spdTimeFiltStorageType=spdTimeFiltStorageType, spdTimeFiltRowStatus=spdTimeFiltRowStatus, spdIpsoHeaderFilterTable=spdIpsoHeaderFilterTable, spdIpsoHeaderFilterEntry=spdIpsoHeaderFilterEntry, spdIpsoHeadFiltName=spdIpsoHeadFiltName, spdIpsoHeadFiltType=spdIpsoHeadFiltType, spdIpsoHeadFiltClassification=spdIpsoHeadFiltClassification, spdIpsoHeadFiltProtectionAuth=spdIpsoHeadFiltProtectionAuth, spdIpsoHeadFiltLastChanged=spdIpsoHeadFiltLastChanged, spdIpsoHeadFiltStorageType=spdIpsoHeadFiltStorageType, spdIpsoHeadFiltRowStatus=spdIpsoHeadFiltRowStatus, spdCompoundActionTable=spdCompoundActionTable, spdCompoundActionEntry=spdCompoundActionEntry, spdCompActName=spdCompActName, spdCompActExecutionStrategy=spdCompActExecutionStrategy, spdCompActLastChanged=spdCompActLastChanged, spdCompActStorageType=spdCompActStorageType, spdCompActRowStatus=spdCompActRowStatus, spdSubactionsTable=spdSubactionsTable, spdSubactionsEntry=spdSubactionsEntry, spdSubActPriority=spdSubActPriority, spdSubActSubActionName=spdSubActSubActionName, spdSubActLastChanged=spdSubActLastChanged, spdSubActStorageType=spdSubActStorageType, spdSubActRowStatus=spdSubActRowStatus, spdStaticActions=spdStaticActions, spdDropAction=spdDropAction, spdDropActionLog=spdDropActionLog, spdAcceptAction=spdAcceptAction, spdAcceptActionLog=spdAcceptActionLog, spdNotificationObjects=spdNotificationObjects, spdNotifications=spdNotifications, spdNotificationVariables=spdNotificationVariables, spdActionExecuted=spdActionExecuted, spdIPEndpointAddType=spdIPEndpointAddType, spdIPEndpointAddress=spdIPEndpointAddress, spdIPSourceType=spdIPSourceType, spdIPSourceAddress=spdIPSourceAddress, spdIPDestinationType=spdIPDestinationType, spdIPDestinationAddress=spdIPDestinationAddress, spdPacketDirection=spdPacketDirection, spdPacketPart=spdPacketPart, spdConformanceObjects=spdConformanceObjects, spdCompliances=spdCompliances, spdGroups=spdGroups, spdActions=spdActions) # Notifications mibBuilder.exportSymbols("IPSEC-SPD-MIB", spdActionNotification=spdActionNotification, spdPacketNotification=spdPacketNotification) # Groups mibBuilder.exportSymbols("IPSEC-SPD-MIB", spdEndpointGroup=spdEndpointGroup, spdGroupContentsGroup=spdGroupContentsGroup, spdIpsecSystemPolicyNameGroup=spdIpsecSystemPolicyNameGroup, spdRuleDefinitionGroup=spdRuleDefinitionGroup, spdCompoundFilterGroup=spdCompoundFilterGroup, spdStaticFilterGroup=spdStaticFilterGroup, spdIPOffsetFilterGroup=spdIPOffsetFilterGroup, spdTimeFilterGroup=spdTimeFilterGroup, spdIpsoHeaderFilterGroup=spdIpsoHeaderFilterGroup, spdStaticActionGroup=spdStaticActionGroup, spdCompoundActionGroup=spdCompoundActionGroup, spdActionLoggingObjectGroup=spdActionLoggingObjectGroup, spdActionNotificationGroup=spdActionNotificationGroup) # Compliances mibBuilder.exportSymbols("IPSEC-SPD-MIB", spdRuleFilterFullCompliance=spdRuleFilterFullCompliance, spdLoggingCompliance=spdLoggingCompliance, spdRuleFilterReadOnlyCompliance=spdRuleFilterReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/FR-MFR-MIB.py0000644000014400001440000006331211736645136020373 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FR-MFR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:00 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( RowStatus, TextualConvention, TestAndIncr, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TestAndIncr") # Types class MfrBundleLinkState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(8,7,3,5,4,1,6,2,) namedValues = NamedValues(("mfrBundleLinkStateAddSent", 1), ("mfrBundleLinkStateAddRx", 2), ("mfrBundleLinkStateAddAckRx", 3), ("mfrBundleLinkStateUp", 4), ("mfrBundleLinkStateIdlePending", 5), ("mfrBundleLinkStateIdle", 6), ("mfrBundleLinkStateDown", 7), ("mfrBundleLinkStateDownIdle", 8), ) # Objects mfrMib = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 47)).setRevisions(("2000-11-30 00:00",)) if mibBuilder.loadTexts: mfrMib.setOrganization("IETF Frame Relay Service MIB (frnetmib)\nWorking Group") if mibBuilder.loadTexts: mfrMib.setContactInfo("WG Charter:\nhttp://www.ietf.org/html.charters/frnetmib-charter.html\nWG-email: frnetmib@sunroof.eng.sun.com\nSubscribe: frnetmib-request@sunroof.eng.sun.com\nEmail Archive: ftp://ftp.ietf.org/ietf-mail-archive/frnetmib\n\nChair: Andy Malis\n Vivace Networks\nEmail: Andy.Malis@vivacenetworks.com\n\nWG editor: Prayson Pate\n Overture Networks\nEmail: prayson.pate@overturenetworks.com\n\nCo-author: Bob Lynch\n Overture Networks\n\n\nEMail: bob.lynch@overturenetworks.com\n\nCo-author: Kenneth Rehbehn\n Megisto Systems, Inc.\nEMail: krehbehn@megisto.com") if mibBuilder.loadTexts: mfrMib.setDescription("This is the MIB used to control and monitor the multilink\nframe relay (MFR) function described in FRF.16.") mfrMibScalarObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 1)) mfrBundleMaxNumBundles = MibScalar((1, 3, 6, 1, 2, 1, 10, 47, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleMaxNumBundles.setDescription("This object is used to inform the manager of the\nmaximum number of bundles supported by this device.") mfrBundleNextIndex = MibScalar((1, 3, 6, 1, 2, 1, 10, 47, 1, 2), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mfrBundleNextIndex.setDescription("This object is used to assist the manager in\nselecting a value for mfrBundleIndex during row creation\nin the mfrBundleTable. It can also be used to avoid race\nconditions with multiple managers trying to create\nrows in the table (see RFC 2494 [RFC2494] for one such\nalogrithm).") mfrMibBundleObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 2)) mfrBundleTable = MibTable((1, 3, 6, 1, 2, 1, 10, 47, 2, 3)) if mibBuilder.loadTexts: mfrBundleTable.setDescription("The bundle configuration and status table. There\nis a one-to-one correspondence between a bundle\nand an interface represented in the ifTable.\n\nThe following objects of the ifTable have specific\nmeaning for an MFR bundle:\n ifAdminStatus - the bundle admin status\n ifOperStatus - the bundle operational status\n ifSpeed - the current bandwidth of the bundle\n ifInUcastPkts - the number of frames received\n on the bundle\n ifOutUcastPkts - the number of frames transmitted\n on the bundle\n ifInErrors - frame (not fragment) errors\n ifOutErrors - frame (not fragment) errors\n ") mfrBundleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1)).setIndexNames((0, "FR-MFR-MIB", "mfrBundleIndex")) if mibBuilder.loadTexts: mfrBundleEntry.setDescription("An entry in the bundle table.") mfrBundleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mfrBundleIndex.setDescription("The index into the table. While this corresponds\nto an entry in the ifTable, the value of mfrBundleIndex\nneed not match that of the ifIndex in the ifTable.\nA manager can use mfrBundleNextIndex to select a unique\nmfrBundleIndex for creating a new row.") mfrBundleIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleIfIndex.setDescription("The value must match an entry in the interface\ntable whose ifType must be set to frf16MfrBundle(163).\n\nFor example: if the value of mfrBundleIfIndex is 10,\nthen a corresponding entry should be present in\n\n\nthe ifTable with an index of 10 and an ifType of 163.") mfrBundleRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleRowStatus.setDescription("The mfrBundleRowStatus object allows create, change,\nand delete operations on bundle entries.") mfrBundleNearEndName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 4), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleNearEndName.setDescription("The configured name of the bundle.") mfrBundleFragmentation = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("enable", 1), ("disable", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleFragmentation.setDescription("Controls whether the bundle performs/accepts\nfragmentation and re-assembly. The possible\nvalues are:\n\nenable(1) - Bundle links will fragment frames\n\ndisable(2) - Bundle links will not fragment\n frames.") mfrBundleMaxFragSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 8184)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleMaxFragSize.setDescription("The maximum fragment size supported. Note that this\n\n\nis only valid if mfrBundleFragmentation is set to enable(1).\n\nZero is not a valid fragment size.\n\nA bundle that does not support fragmentation must return\nthis object with a value of -1.") mfrBundleTimerHello = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 180)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleTimerHello.setDescription("The configured MFR Hello Timer value.") mfrBundleTimerAck = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleTimerAck.setDescription("The configured MFR T_ACK value.") mfrBundleCountMaxRetry = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleCountMaxRetry.setDescription("The MFR N_MAX_RETRY value.") mfrBundleActivationClass = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,2,)).subtype(namedValues=NamedValues(("mfrBundleActivationClassA", 1), ("mfrBundleActivationClassB", 2), ("mfrBundleActivationClassC", 3), ("mfrBundleActivationClassD", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleActivationClass.setDescription("Controls the conditions under which the bundle is activated.\nThe following settings are available:\n\n mfrBundleActivationClassA(1) - at least one must link up\n mfrBundleActivationClassB(2) - all links must be up\n mfrBundleActivationClassC(3) - a certain number must be\n up. Refer to\n mfrBundleThreshold for\n the required number.\n mfrBundleActivationClassD(4) - custom (implementation\n specific).") mfrBundleThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleThreshold.setDescription("Specifies the number of links that must be in operational\n'up' state before the bundle will transition to an\noperational up/active state. If the number of\noperational 'up' links falls below this value,\nthen the bundle will transition to an inactive\nstate.\n\nNote - this is only valid when mfrBundleActivationClass\nis set to mfrBundleActivationClassC or, depending upon the\nimplementation, to mfrBundleActivationClassD. A bundle that\nis not set to one of these must return this object with a\nvalue of -1.") mfrBundleMaxDiffDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleMaxDiffDelay.setDescription("The maximum delay difference between the bundle\nlinks.\n\n\nA value of -1 indicates that this object does not contain\na valid value") mfrBundleSeqNumSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("seqNumSize12bit", 1), ("seqNumSize24bit", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleSeqNumSize.setDescription("Controls whether the standard FRF.12 12-bit\nsequence number is used or the optional 24-bit\nsequence number.") mfrBundleMaxBundleLinks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleMaxBundleLinks.setDescription("The maximum number of bundle links supported for\nthis bundle.") mfrBundleLinksConfigured = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinksConfigured.setDescription("The number of links configured for the bundle.") mfrBundleLinksActive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinksActive.setDescription("The number of links that are active.") mfrBundleBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleBandwidth.setDescription("The amount of available bandwidth on the bundle") mfrBundleFarEndName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 18), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleFarEndName.setDescription("Name of the bundle received from the far end.") mfrBundleResequencingErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleResequencingErrors.setDescription("A count of the number of resequencing errors. Each event\nmay correspond to multiple lost frames. Example:\nSay sequence number 56, 59 and 60 is received for DLCI 100.\nIt is decided by some means that sequence 57 and 58 is lost.\nThis counter should then be incremented by ONE, even though\ntwo frames were lost.") mfrBundleIfIndexMappingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 47, 2, 4)) if mibBuilder.loadTexts: mfrBundleIfIndexMappingTable.setDescription("A table mapping the values of ifIndex to the\nmfrBundleIndex. This is required in order to find\nthe mfrBundleIndex given an ifIndex. The mapping of\nmfrBundleIndex to ifIndex is provided by the\nmfrBundleIfIndex entry in the mfrBundleTable.") mfrBundleIfIndexMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 47, 2, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: mfrBundleIfIndexMappingEntry.setDescription("Each row describes one ifIndex to mfrBundleIndex mapping.") mfrBundleIfIndexMappingIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 2, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleIfIndexMappingIndex.setDescription("The mfrBundleIndex of the given ifIndex.") mfrMibBundleLinkObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 3)) mfrBundleLinkTable = MibTable((1, 3, 6, 1, 2, 1, 10, 47, 3, 1)) if mibBuilder.loadTexts: mfrBundleLinkTable.setDescription("The bundle link configuration and status table. There\nis a one-to-one correspondence between a bundle link\nand a physical interface represented in the ifTable. The\nifIndex of the physical interface is used to index the\nbundle link table, and to create rows.\n\nThe following objects of the ifTable have specific\nmeaning for an MFR bundle link:\n\n ifAdminStatus - the bundle link admin status\n ifOperStatus - the bundle link operational\n status\n\n\n ifSpeed - the bandwidth of the bundle\n link interface\n ifInUcastPkts - the number of frames received\n on the bundle link\n ifOutUcastPkts - the number of frames transmitted\n on the bundle link\n ifInErrors - frame and fragment errors\n ifOutErrors - frame and fragment errors") mfrBundleLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: mfrBundleLinkEntry.setDescription("An entry in the bundle link table.") mfrBundleLinkRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 1), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleLinkRowStatus.setDescription("The mfrBundleLinkRowStatus object allows create, change,\nand delete operations on mfrBundleLink entries.\n\nThe create operation must fail if no physical interface\nis associated with the bundle link.") mfrBundleLinkConfigBundleIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleLinkConfigBundleIndex.setDescription("The mfrBundleLinkConfigBundleIndex object allows\nthe manager to control the bundle to which the bundle\nlink is assigned. If no value were in this field, then\nthe bundle would remain in NOT_READY rowStatus and be\nunable to go to active. With an appropriate mfrBundleIndex\nin this field, then we could put the mfrBundleLink row in\nNOT_IN_SERVICE or ACTIVE rowStatus.") mfrBundleLinkNearEndName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 3), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mfrBundleLinkNearEndName.setDescription("The configured bundle link name that is sent to the far end.") mfrBundleLinkState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 4), MfrBundleLinkState()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkState.setDescription("Current bundle link state as defined by the MFR protocol\ndescribed in Annex A of FRF.16.") mfrBundleLinkFarEndName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkFarEndName.setDescription("Name of bundle link received from far end.") mfrBundleLinkFarEndBundleName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkFarEndBundleName.setDescription("Name of far end bundle for this link received from far end.") mfrBundleLinkDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkDelay.setDescription("Current round-trip delay for this bundle link. The\nvalue -1 is returned when an implementation does not\nsupport measurement of the bundle link delay.") mfrBundleLinkFramesControlTx = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkFramesControlTx.setDescription("Number of MFR control frames sent.") mfrBundleLinkFramesControlRx = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkFramesControlRx.setDescription("Number of valid MFR control frames received.") mfrBundleLinkFramesControlInvalid = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkFramesControlInvalid.setDescription("The number of invalid MFR control frames received.") mfrBundleLinkTimerExpiredCount = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkTimerExpiredCount.setDescription("Number of times the T_HELLO or T_ACK timers expired.") mfrBundleLinkLoopbackSuspected = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkLoopbackSuspected.setDescription("The number of times a loopback has been suspected\n(based upon the use of magic numbers).") mfrBundleLinkUnexpectedSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkUnexpectedSequence.setDescription("The number of data MFR frames discarded because the sequence\nnumber of the frame for a DLCI was less than (delayed frame)\nor equal to (duplicate frame) the one expected for that DLCI.\n\nExample:\nSay frames with sequence numbers 56, 58, 59 is received for\nDLCI 100. While waiting for sequence number 57 another frame\nwith sequence number 58 arrives. Frame 58 is discarded and\nthe counter is incremented.") mfrBundleLinkMismatch = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 47, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mfrBundleLinkMismatch.setDescription("The number of times that the unit has been notified by the\nremote peer that the bundle name is inconsistent with other\nbundle links attached to the far-end bundle.") mfrMibTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 4)) mfrMibTrapsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 4, 0)) mfrMibConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 5)) mfrMibGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 5, 1)) mfrMibCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 47, 5, 2)) # Augmentions # Notifications mfrMibTrapBundleLinkMismatch = NotificationType((1, 3, 6, 1, 2, 1, 10, 47, 4, 0, 1)).setObjects(*(("FR-MFR-MIB", "mfrBundleFarEndName"), ("FR-MFR-MIB", "mfrBundleLinkNearEndName"), ("FR-MFR-MIB", "mfrBundleLinkFarEndBundleName"), ("FR-MFR-MIB", "mfrBundleLinkFarEndName"), ("FR-MFR-MIB", "mfrBundleNearEndName"), ) ) if mibBuilder.loadTexts: mfrMibTrapBundleLinkMismatch.setDescription("This trap indicates that a bundle link mismatch has\nbeen detected. The following objects are reported:\n\nmfrBundleNearEndName: configured name of near end bundle\n\nmfrBundleFarEndName: previously reported name of\n far end bundle\n\nmfrBundleLinkNearEndName: configured name of near end bundle\n\nmfrBundleLinkFarEndName: reported name of far end bundle\n\nmfrBundleLinkFarEndBundleName: currently reported name of\n far end bundle\n\nNote: that the configured items may have been configured\n automatically.\n\nNote: The mfrBundleLinkMismatch counter is incremented when\n the trap is sent.") # Groups mfrMibBundleGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 47, 5, 1, 1)).setObjects(*(("FR-MFR-MIB", "mfrBundleBandwidth"), ("FR-MFR-MIB", "mfrBundleIfIndexMappingIndex"), ("FR-MFR-MIB", "mfrBundleThreshold"), ("FR-MFR-MIB", "mfrBundleFarEndName"), ("FR-MFR-MIB", "mfrBundleSeqNumSize"), ("FR-MFR-MIB", "mfrBundleRowStatus"), ("FR-MFR-MIB", "mfrBundleCountMaxRetry"), ("FR-MFR-MIB", "mfrBundleResequencingErrors"), ("FR-MFR-MIB", "mfrBundleLinksActive"), ("FR-MFR-MIB", "mfrBundleNearEndName"), ("FR-MFR-MIB", "mfrBundleMaxDiffDelay"), ("FR-MFR-MIB", "mfrBundleTimerAck"), ("FR-MFR-MIB", "mfrBundleTimerHello"), ("FR-MFR-MIB", "mfrBundleMaxNumBundles"), ("FR-MFR-MIB", "mfrBundleMaxFragSize"), ("FR-MFR-MIB", "mfrBundleActivationClass"), ("FR-MFR-MIB", "mfrBundleNextIndex"), ("FR-MFR-MIB", "mfrBundleLinksConfigured"), ("FR-MFR-MIB", "mfrBundleMaxBundleLinks"), ("FR-MFR-MIB", "mfrBundleIfIndex"), ("FR-MFR-MIB", "mfrBundleFragmentation"), ) ) if mibBuilder.loadTexts: mfrMibBundleGroup.setDescription("Group of objects describing bundles.") mfrMibBundleLinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 47, 5, 1, 2)).setObjects(*(("FR-MFR-MIB", "mfrBundleLinkUnexpectedSequence"), ("FR-MFR-MIB", "mfrBundleLinkFarEndName"), ("FR-MFR-MIB", "mfrBundleLinkTimerExpiredCount"), ("FR-MFR-MIB", "mfrBundleLinkLoopbackSuspected"), ("FR-MFR-MIB", "mfrBundleLinkRowStatus"), ("FR-MFR-MIB", "mfrBundleLinkFramesControlInvalid"), ("FR-MFR-MIB", "mfrBundleLinkNearEndName"), ("FR-MFR-MIB", "mfrBundleLinkFarEndBundleName"), ("FR-MFR-MIB", "mfrBundleLinkDelay"), ("FR-MFR-MIB", "mfrBundleLinkFramesControlTx"), ("FR-MFR-MIB", "mfrBundleLinkMismatch"), ("FR-MFR-MIB", "mfrBundleLinkConfigBundleIndex"), ("FR-MFR-MIB", "mfrBundleLinkFramesControlRx"), ("FR-MFR-MIB", "mfrBundleLinkState"), ) ) if mibBuilder.loadTexts: mfrMibBundleLinkGroup.setDescription("Group of objects describing bundle links.") mfrMibTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 47, 5, 1, 3)).setObjects(*(("FR-MFR-MIB", "mfrMibTrapBundleLinkMismatch"), ) ) if mibBuilder.loadTexts: mfrMibTrapGroup.setDescription("Group of objects describing notifications (traps).") # Compliances mfrMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 47, 5, 2, 1)).setObjects(*(("FR-MFR-MIB", "mfrMibBundleGroup"), ("FR-MFR-MIB", "mfrMibTrapGroup"), ("FR-MFR-MIB", "mfrMibBundleLinkGroup"), ) ) if mibBuilder.loadTexts: mfrMibCompliance.setDescription("The compliance statement for equipment that implements\nthe FRF16 MIB. All of the current groups are mandatory,\nbut a number of objects may be read-only if the\nimplementation does not allow configuration.") # Exports # Module identity mibBuilder.exportSymbols("FR-MFR-MIB", PYSNMP_MODULE_ID=mfrMib) # Types mibBuilder.exportSymbols("FR-MFR-MIB", MfrBundleLinkState=MfrBundleLinkState) # Objects mibBuilder.exportSymbols("FR-MFR-MIB", mfrMib=mfrMib, mfrMibScalarObjects=mfrMibScalarObjects, mfrBundleMaxNumBundles=mfrBundleMaxNumBundles, mfrBundleNextIndex=mfrBundleNextIndex, mfrMibBundleObjects=mfrMibBundleObjects, mfrBundleTable=mfrBundleTable, mfrBundleEntry=mfrBundleEntry, mfrBundleIndex=mfrBundleIndex, mfrBundleIfIndex=mfrBundleIfIndex, mfrBundleRowStatus=mfrBundleRowStatus, mfrBundleNearEndName=mfrBundleNearEndName, mfrBundleFragmentation=mfrBundleFragmentation, mfrBundleMaxFragSize=mfrBundleMaxFragSize, mfrBundleTimerHello=mfrBundleTimerHello, mfrBundleTimerAck=mfrBundleTimerAck, mfrBundleCountMaxRetry=mfrBundleCountMaxRetry, mfrBundleActivationClass=mfrBundleActivationClass, mfrBundleThreshold=mfrBundleThreshold, mfrBundleMaxDiffDelay=mfrBundleMaxDiffDelay, mfrBundleSeqNumSize=mfrBundleSeqNumSize, mfrBundleMaxBundleLinks=mfrBundleMaxBundleLinks, mfrBundleLinksConfigured=mfrBundleLinksConfigured, mfrBundleLinksActive=mfrBundleLinksActive, mfrBundleBandwidth=mfrBundleBandwidth, mfrBundleFarEndName=mfrBundleFarEndName, mfrBundleResequencingErrors=mfrBundleResequencingErrors, mfrBundleIfIndexMappingTable=mfrBundleIfIndexMappingTable, mfrBundleIfIndexMappingEntry=mfrBundleIfIndexMappingEntry, mfrBundleIfIndexMappingIndex=mfrBundleIfIndexMappingIndex, mfrMibBundleLinkObjects=mfrMibBundleLinkObjects, mfrBundleLinkTable=mfrBundleLinkTable, mfrBundleLinkEntry=mfrBundleLinkEntry, mfrBundleLinkRowStatus=mfrBundleLinkRowStatus, mfrBundleLinkConfigBundleIndex=mfrBundleLinkConfigBundleIndex, mfrBundleLinkNearEndName=mfrBundleLinkNearEndName, mfrBundleLinkState=mfrBundleLinkState, mfrBundleLinkFarEndName=mfrBundleLinkFarEndName, mfrBundleLinkFarEndBundleName=mfrBundleLinkFarEndBundleName, mfrBundleLinkDelay=mfrBundleLinkDelay, mfrBundleLinkFramesControlTx=mfrBundleLinkFramesControlTx, mfrBundleLinkFramesControlRx=mfrBundleLinkFramesControlRx, mfrBundleLinkFramesControlInvalid=mfrBundleLinkFramesControlInvalid, mfrBundleLinkTimerExpiredCount=mfrBundleLinkTimerExpiredCount, mfrBundleLinkLoopbackSuspected=mfrBundleLinkLoopbackSuspected, mfrBundleLinkUnexpectedSequence=mfrBundleLinkUnexpectedSequence, mfrBundleLinkMismatch=mfrBundleLinkMismatch, mfrMibTraps=mfrMibTraps, mfrMibTrapsPrefix=mfrMibTrapsPrefix, mfrMibConformance=mfrMibConformance, mfrMibGroups=mfrMibGroups, mfrMibCompliances=mfrMibCompliances) # Notifications mibBuilder.exportSymbols("FR-MFR-MIB", mfrMibTrapBundleLinkMismatch=mfrMibTrapBundleLinkMismatch) # Groups mibBuilder.exportSymbols("FR-MFR-MIB", mfrMibBundleGroup=mfrMibBundleGroup, mfrMibBundleLinkGroup=mfrMibBundleLinkGroup, mfrMibTrapGroup=mfrMibTrapGroup) # Compliances mibBuilder.exportSymbols("FR-MFR-MIB", mfrMibCompliance=mfrMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ENTITY-MIB.py0000644000014400001440000013020511736645136020452 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ENTITY-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:56 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( AutonomousType, DateAndTime, RowPointer, TAddress, TDomain, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "DateAndTime", "RowPointer", "TAddress", "TDomain", "TextualConvention", "TimeStamp", "TruthValue") # Types class PhysicalClass(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,3,7,10,5,2,6,11,1,4,8,12,) namedValues = NamedValues(("other", 1), ("port", 10), ("stack", 11), ("cpu", 12), ("unknown", 2), ("chassis", 3), ("backplane", 4), ("container", 5), ("powerSupply", 6), ("fan", 7), ("sensor", 8), ("module", 9), ) class PhysicalIndex(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,2147483647) class PhysicalIndexOrZero(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class SnmpEngineIdOrNone(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,32) # Objects entityMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 47)).setRevisions(("2005-08-10 00:00","1999-12-07 00:00","1996-10-31 00:00",)) if mibBuilder.loadTexts: entityMIB.setOrganization("IETF ENTMIB Working Group") if mibBuilder.loadTexts: entityMIB.setContactInfo(" WG E-mail: entmib@ietf.org\nMailing list subscription info:\n http://www.ietf.org/mailman/listinfo/entmib\n\nAndy Bierman\nietf@andybierman.com\n\nKeith McCloghrie\nCisco Systems Inc.\n170 West Tasman Drive\nSan Jose, CA 95134\n\n\n\n+1 408-526-5260\nkzm@cisco.com") if mibBuilder.loadTexts: entityMIB.setDescription("The MIB module for representing multiple logical\nentities supported by a single SNMP agent.\n\nCopyright (C) The Internet Society (2005). This\nversion of this MIB module is part of RFC 4133; see\nthe RFC itself for full legal notices.") entityMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 1)) entityPhysical = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 1, 1)) entPhysicalTable = MibTable((1, 3, 6, 1, 2, 1, 47, 1, 1, 1)) if mibBuilder.loadTexts: entPhysicalTable.setDescription("This table contains one row per physical entity. There is\nalways at least one row for an 'overall' physical entity.") entPhysicalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1)).setIndexNames((0, "ENTITY-MIB", "entPhysicalIndex")) if mibBuilder.loadTexts: entPhysicalEntry.setDescription("Information about a particular physical entity.\n\nEach entry provides objects (entPhysicalDescr,\nentPhysicalVendorType, and entPhysicalClass) to help an NMS\nidentify and characterize the entry, and objects\n(entPhysicalContainedIn and entPhysicalParentRelPos) to help\nan NMS relate the particular entry to other entries in this\ntable.") entPhysicalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 1), PhysicalIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: entPhysicalIndex.setDescription("The index for this entry.") entPhysicalDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalDescr.setDescription("A textual description of physical entity. This object\nshould contain a string that identifies the manufacturer's\nname for the physical entity, and should be set to a\ndistinct value for each version or model of the physical\nentity.") entPhysicalVendorType = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalVendorType.setDescription("An indication of the vendor-specific hardware type of the\nphysical entity. Note that this is different from the\ndefinition of MIB-II's sysObjectID.\n\nAn agent should set this object to an enterprise-specific\nregistration identifier value indicating the specific\nequipment type in detail. The associated instance of\nentPhysicalClass is used to indicate the general type of\nhardware device.\n\nIf no vendor-specific registration identifier exists for\nthis physical entity, or the value is unknown by this agent,\nthen the value { 0 0 } is returned.") entPhysicalContainedIn = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 4), PhysicalIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalContainedIn.setDescription("The value of entPhysicalIndex for the physical entity which\n'contains' this physical entity. A value of zero indicates\nthis physical entity is not contained in any other physical\nentity. Note that the set of 'containment' relationships\ndefine a strict hierarchy; that is, recursion is not\nallowed.\n\nIn the event that a physical entity is contained by more\nthan one physical entity (e.g., double-wide modules), this\nobject should identify the containing entity with the lowest\nvalue of entPhysicalIndex.") entPhysicalClass = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 5), PhysicalClass()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalClass.setDescription("An indication of the general hardware type of the physical\nentity.\n\nAn agent should set this object to the standard enumeration\nvalue that most accurately indicates the general class of\nthe physical entity, or the primary class if there is more\nthan one entity.\n\nIf no appropriate standard registration identifier exists\nfor this physical entity, then the value 'other(1)' is\nreturned. If the value is unknown by this agent, then the\nvalue 'unknown(2)' is returned.") entPhysicalParentRelPos = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalParentRelPos.setDescription("An indication of the relative position of this 'child'\ncomponent among all its 'sibling' components. Sibling\ncomponents are defined as entPhysicalEntries that share the\nsame instance values of each of the entPhysicalContainedIn\nand entPhysicalClass objects.\n\nAn NMS can use this object to identify the relative ordering\nfor all sibling components of a particular parent\n(identified by the entPhysicalContainedIn instance in each\nsibling entry).\n\nIf possible, this value should match any external labeling\nof the physical component. For example, for a container\n(e.g., card slot) labeled as 'slot #3',\nentPhysicalParentRelPos should have the value '3'. Note\nthat the entPhysicalEntry for the module plugged in slot 3\nshould have an entPhysicalParentRelPos value of '1'.\n\nIf the physical position of this component does not match\nany external numbering or clearly visible ordering, then\nuser documentation or other external reference material\nshould be used to determine the parent-relative position.\nIf this is not possible, then the agent should assign a\nconsistent (but possibly arbitrary) ordering to a given set\nof 'sibling' components, perhaps based on internal\nrepresentation of the components.\n\n\n\n\nIf the agent cannot determine the parent-relative position\nfor some reason, or if the associated value of\nentPhysicalContainedIn is '0', then the value '-1' is\nreturned. Otherwise, a non-negative integer is returned,\nindicating the parent-relative position of this physical\nentity.\n\nParent-relative ordering normally starts from '1' and\ncontinues to 'N', where 'N' represents the highest\npositioned child entity. However, if the physical entities\n(e.g., slots) are labeled from a starting position of zero,\nthen the first sibling should be associated with an\nentPhysicalParentRelPos value of '0'. Note that this\nordering may be sparse or dense, depending on agent\nimplementation.\n\nThe actual values returned are not globally meaningful, as\neach 'parent' component may use different numbering\nalgorithms. The ordering is only meaningful among siblings\nof the same parent component.\n\nThe agent should retain parent-relative position values\nacross reboots, either through algorithmic assignment or use\nof non-volatile storage.") entPhysicalName = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalName.setDescription("The textual name of the physical entity. The value of this\nobject should be the name of the component as assigned by\nthe local device and should be suitable for use in commands\nentered at the device's `console'. This might be a text\nname (e.g., `console') or a simple component number (e.g.,\nport or module number, such as `1'), depending on the\nphysical component naming syntax of the device.\n\nIf there is no local name, or if this object is otherwise\nnot applicable, then this object contains a zero-length\nstring.\n\nNote that the value of entPhysicalName for two physical\nentities will be the same in the event that the console\ninterface does not distinguish between them, e.g., slot-1\nand the card in slot-1.") entPhysicalHardwareRev = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalHardwareRev.setDescription("The vendor-specific hardware revision string for the\nphysical entity. The preferred value is the hardware\nrevision identifier actually printed on the component itself\n(if present).\n\nNote that if revision information is stored internally in a\nnon-printable (e.g., binary) format, then the agent must\nconvert such information to a printable format, in an\nimplementation-specific manner.\n\nIf no specific hardware revision string is associated with\nthe physical component, or if this information is unknown to\nthe agent, then this object will contain a zero-length\nstring.") entPhysicalFirmwareRev = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalFirmwareRev.setDescription("The vendor-specific firmware revision string for the\nphysical entity.\n\nNote that if revision information is stored internally in a\nnon-printable (e.g., binary) format, then the agent must\nconvert such information to a printable format, in an\nimplementation-specific manner.\n\nIf no specific firmware programs are associated with the\nphysical component, or if this information is unknown to the\nagent, then this object will contain a zero-length string.") entPhysicalSoftwareRev = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalSoftwareRev.setDescription("The vendor-specific software revision string for the\nphysical entity.\n\nNote that if revision information is stored internally in a\n\n\n\nnon-printable (e.g., binary) format, then the agent must\nconvert such information to a printable format, in an\nimplementation-specific manner.\n\nIf no specific software programs are associated with the\nphysical component, or if this information is unknown to the\nagent, then this object will contain a zero-length string.") entPhysicalSerialNum = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 11), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: entPhysicalSerialNum.setDescription("The vendor-specific serial number string for the physical\nentity. The preferred value is the serial number string\nactually printed on the component itself (if present).\n\nOn the first instantiation of an physical entity, the value\nof entPhysicalSerialNum associated with that entity is set\nto the correct vendor-assigned serial number, if this\ninformation is available to the agent. If a serial number\nis unknown or non-existent, the entPhysicalSerialNum will be\nset to a zero-length string instead.\n\nNote that implementations that can correctly identify the\nserial numbers of all installed physical entities do not\nneed to provide write access to the entPhysicalSerialNum\nobject. Agents which cannot provide non-volatile storage\nfor the entPhysicalSerialNum strings are not required to\nimplement write access for this object.\n\nNot every physical component will have a serial number, or\neven need one. Physical entities for which the associated\nvalue of the entPhysicalIsFRU object is equal to 'false(2)'\n(e.g., the repeater ports within a repeater module), do not\nneed their own unique serial number. An agent does not have\nto provide write access for such entities, and may return a\nzero-length string.\n\nIf write access is implemented for an instance of\nentPhysicalSerialNum, and a value is written into the\ninstance, the agent must retain the supplied value in the\nentPhysicalSerialNum instance (associated with the same\nphysical entity) for as long as that entity remains\ninstantiated. This includes instantiations across all\nre-initializations/reboots of the network management system,\nincluding those resulting in a change of the physical\n\n\n\nentity's entPhysicalIndex value.") entPhysicalMfgName = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 12), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalMfgName.setDescription("The name of the manufacturer of this physical component.\nThe preferred value is the manufacturer name string actually\nprinted on the component itself (if present).\n\nNote that comparisons between instances of the\nentPhysicalModelName, entPhysicalFirmwareRev,\nentPhysicalSoftwareRev, and the entPhysicalSerialNum\nobjects, are only meaningful amongst entPhysicalEntries with\nthe same value of entPhysicalMfgName.\n\nIf the manufacturer name string associated with the physical\ncomponent is unknown to the agent, then this object will\ncontain a zero-length string.") entPhysicalModelName = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 13), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalModelName.setDescription("The vendor-specific model name identifier string associated\nwith this physical component. The preferred value is the\ncustomer-visible part number, which may be printed on the\ncomponent itself.\n\nIf the model name string associated with the physical\ncomponent is unknown to the agent, then this object will\ncontain a zero-length string.") entPhysicalAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 14), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: entPhysicalAlias.setDescription("This object is an 'alias' name for the physical entity, as\nspecified by a network manager, and provides a non-volatile\n'handle' for the physical entity.\n\nOn the first instantiation of a physical entity, the value\n\n\n\nof entPhysicalAlias associated with that entity is set to\nthe zero-length string. However, the agent may set the\nvalue to a locally unique default value, instead of a\nzero-length string.\n\nIf write access is implemented for an instance of\nentPhysicalAlias, and a value is written into the instance,\nthe agent must retain the supplied value in the\nentPhysicalAlias instance (associated with the same physical\nentity) for as long as that entity remains instantiated.\nThis includes instantiations across all\nre-initializations/reboots of the network management system,\nincluding those resulting in a change of the physical\nentity's entPhysicalIndex value.") entPhysicalAssetID = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 15), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: entPhysicalAssetID.setDescription("This object is a user-assigned asset tracking identifier\n(as specified by a network manager) for the physical entity,\nand provides non-volatile storage of this information.\n\nOn the first instantiation of a physical entity, the value\nof entPhysicalAssetID associated with that entity is set to\nthe zero-length string.\n\nNot every physical component will have an asset tracking\nidentifier, or even need one. Physical entities for which\nthe associated value of the entPhysicalIsFRU object is equal\nto 'false(2)' (e.g., the repeater ports within a repeater\nmodule), do not need their own unique asset tracking\nidentifier. An agent does not have to provide write access\nfor such entities, and may instead return a zero-length\nstring.\n\nIf write access is implemented for an instance of\nentPhysicalAssetID, and a value is written into the\ninstance, the agent must retain the supplied value in the\nentPhysicalAssetID instance (associated with the same\nphysical entity) for as long as that entity remains\ninstantiated. This includes instantiations across all\nre-initializations/reboots of the network management system,\nincluding those resulting in a change of the physical\nentity's entPhysicalIndex value.\n\n\n\n\nIf no asset tracking information is associated with the\nphysical component, then this object will contain a\nzero-length string.") entPhysicalIsFRU = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalIsFRU.setDescription("This object indicates whether or not this physical entity\nis considered a 'field replaceable unit' by the vendor. If\nthis object contains the value 'true(1)' then this\nentPhysicalEntry identifies a field replaceable unit. For\nall entPhysicalEntries that represent components\npermanently contained within a field replaceable unit, the\nvalue 'false(2)' should be returned for this object.") entPhysicalMfgDate = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 17), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalMfgDate.setDescription("This object contains the date of manufacturing of the\nmanaged entity. If the manufacturing date is unknown or not\nsupported, the object is not instantiated. The special\nvalue '0000000000000000'H may also be returned in this\ncase.") entPhysicalUris = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 1, 1, 1, 18), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: entPhysicalUris.setDescription("This object contains additional identification information\nabout the physical entity. The object contains URIs and,\ntherefore, the syntax of this object must conform to RFC\n3986, section 2.\n\nMultiple URIs may be present and are separated by white\nspace characters. Leading and trailing white space\ncharacters are ignored.\n\nIf no additional identification information is known\nabout the physical entity or supported, the object is not\ninstantiated. A zero length octet string may also be\n\n\n\nreturned in this case.") entityLogical = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 1, 2)) entLogicalTable = MibTable((1, 3, 6, 1, 2, 1, 47, 1, 2, 1)) if mibBuilder.loadTexts: entLogicalTable.setDescription("This table contains one row per logical entity. For agents\nthat implement more than one naming scope, at least one\nentry must exist. Agents which instantiate all MIB objects\nwithin a single naming scope are not required to implement\nthis table.") entLogicalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1)).setIndexNames((0, "ENTITY-MIB", "entLogicalIndex")) if mibBuilder.loadTexts: entLogicalEntry.setDescription("Information about a particular logical entity. Entities\nmay be managed by this agent or other SNMP agents (possibly)\nin the same chassis.") entLogicalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: entLogicalIndex.setDescription("The value of this object uniquely identifies the logical\nentity. The value should be a small positive integer; index\nvalues for different logical entities are not necessarily\ncontiguous.") entLogicalDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLogicalDescr.setDescription("A textual description of the logical entity. This object\nshould contain a string that identifies the manufacturer's\nname for the logical entity, and should be set to a distinct\nvalue for each version of the logical entity.") entLogicalType = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLogicalType.setDescription("An indication of the type of logical entity. This will\ntypically be the OBJECT IDENTIFIER name of the node in the\nSMI's naming hierarchy which represents the major MIB\nmodule, or the majority of the MIB modules, supported by the\nlogical entity. For example:\n a logical entity of a regular host/router -> mib-2\n a logical entity of a 802.1d bridge -> dot1dBridge\n a logical entity of a 802.3 repeater -> snmpDot3RptrMgmt\nIf an appropriate node in the SMI's naming hierarchy cannot\nbe identified, the value 'mib-2' should be used.") entLogicalCommunity = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: entLogicalCommunity.setDescription("An SNMPv1 or SNMPv2C community-string, which can be used to\naccess detailed management information for this logical\nentity. The agent should allow read access with this\ncommunity string (to an appropriate subset of all managed\nobjects) and may also return a community string based on the\nprivileges of the request used to read this object. Note\nthat an agent may return a community string with read-only\nprivileges, even if this object is accessed with a\nread-write community string. However, the agent must take\n\n\n\ncare not to return a community string that allows more\nprivileges than the community string used to access this\nobject.\n\nA compliant SNMP agent may wish to conserve naming scopes by\nrepresenting multiple logical entities in a single 'default'\nnaming scope. This is possible when the logical entities,\nrepresented by the same value of entLogicalCommunity, have\nno object instances in common. For example, 'bridge1' and\n'repeater1' may be part of the main naming scope, but at\nleast one additional community string is needed to represent\n'bridge2' and 'repeater2'.\n\nLogical entities 'bridge1' and 'repeater1' would be\nrepresented by sysOREntries associated with the 'default'\nnaming scope.\n\nFor agents not accessible via SNMPv1 or SNMPv2C, the value\nof this object is the empty string. This object may also\ncontain an empty string if a community string has not yet\nbeen assigned by the agent, or if no community string with\nsuitable access rights can be returned for a particular SNMP\nrequest.\n\nNote that this object is deprecated. Agents which implement\nSNMPv3 access should use the entLogicalContextEngineID and\nentLogicalContextName objects to identify the context\nassociated with each logical entity. SNMPv3 agents may\nreturn a zero-length string for this object, or may continue\nto return a community string (e.g., tri-lingual agent\nsupport).") entLogicalTAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 5), TAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLogicalTAddress.setDescription("The transport service address by which the logical entity\nreceives network management traffic, formatted according to\nthe corresponding value of entLogicalTDomain.\n\nFor snmpUDPDomain, a TAddress is 6 octets long: the initial\n4 octets contain the IP-address in network-byte order and\nthe last 2 contain the UDP port in network-byte order.\nConsult 'Transport Mappings for the Simple Network\nManagement Protocol' (STD 62, RFC 3417 [RFC3417]) for\nfurther information on snmpUDPDomain.") entLogicalTDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 6), TDomain()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLogicalTDomain.setDescription("Indicates the kind of transport service by which the\nlogical entity receives network management traffic.\nPossible values for this object are presently found in the\nTransport Mappings for Simple Network Management Protocol'\n(STD 62, RFC 3417 [RFC3417]).") entLogicalContextEngineID = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 7), SnmpEngineIdOrNone()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLogicalContextEngineID.setDescription("The authoritative contextEngineID that can be used to send\nan SNMP message concerning information held by this logical\nentity, to the address specified by the associated\n'entLogicalTAddress/entLogicalTDomain' pair.\n\nThis object, together with the associated\nentLogicalContextName object, defines the context associated\nwith a particular logical entity, and allows access to SNMP\nengines identified by a contextEngineId and contextName\npair.\n\nIf no value has been configured by the agent, a zero-length\nstring is returned, or the agent may choose not to\ninstantiate this object at all.") entLogicalContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 2, 1, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLogicalContextName.setDescription("The contextName that can be used to send an SNMP message\nconcerning information held by this logical entity, to the\naddress specified by the associated\n'entLogicalTAddress/entLogicalTDomain' pair.\n\nThis object, together with the associated\nentLogicalContextEngineID object, defines the context\nassociated with a particular logical entity, and allows\n\n\n\naccess to SNMP engines identified by a contextEngineId and\ncontextName pair.\n\nIf no value has been configured by the agent, a zero-length\nstring is returned, or the agent may choose not to\ninstantiate this object at all.") entityMapping = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 1, 3)) entLPMappingTable = MibTable((1, 3, 6, 1, 2, 1, 47, 1, 3, 1)) if mibBuilder.loadTexts: entLPMappingTable.setDescription("This table contains zero or more rows of logical entity to\nphysical equipment associations. For each logical entity\nknown by this agent, there are zero or more mappings to the\nphysical resources, which are used to realize that logical\nentity.\n\nAn agent should limit the number and nature of entries in\nthis table such that only meaningful and non-redundant\ninformation is returned. For example, in a system that\ncontains a single power supply, mappings between logical\nentities and the power supply are not useful and should not\nbe included.\n\nAlso, only the most appropriate physical component, which is\nclosest to the root of a particular containment tree, should\nbe identified in an entLPMapping entry.\n\nFor example, suppose a bridge is realized on a particular\nmodule, and all ports on that module are ports on this\nbridge. A mapping between the bridge and the module would\nbe useful, but additional mappings between the bridge and\neach of the ports on that module would be redundant (because\nthe entPhysicalContainedIn hierarchy can provide the same\ninformation). On the other hand, if more than one bridge\nwere utilizing ports on this module, then mappings between\neach bridge and the ports it used would be appropriate.\n\nAlso, in the case of a single backplane repeater, a mapping\nfor the backplane to the single repeater entity is not\nnecessary.") entLPMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 47, 1, 3, 1, 1)).setIndexNames((0, "ENTITY-MIB", "entLogicalIndex"), (0, "ENTITY-MIB", "entLPPhysicalIndex")) if mibBuilder.loadTexts: entLPMappingEntry.setDescription("Information about a particular logical entity to physical\nequipment association. Note that the nature of the\nassociation is not specifically identified in this entry.\nIt is expected that sufficient information exists in the\nMIBs used to manage a particular logical entity to infer how\nphysical component information is utilized.") entLPPhysicalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 3, 1, 1, 1), PhysicalIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLPPhysicalIndex.setDescription("The value of this object identifies the index value of a\nparticular entPhysicalEntry associated with the indicated\nentLogicalEntity.") entAliasMappingTable = MibTable((1, 3, 6, 1, 2, 1, 47, 1, 3, 2)) if mibBuilder.loadTexts: entAliasMappingTable.setDescription("This table contains zero or more rows, representing\nmappings of logical entity and physical component to\nexternal MIB identifiers. Each physical port in the system\nmay be associated with a mapping to an external identifier,\nwhich itself is associated with a particular logical\nentity's naming scope. A 'wildcard' mechanism is provided\nto indicate that an identifier is associated with more than\none logical entity.") entAliasMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 47, 1, 3, 2, 1)).setIndexNames((0, "ENTITY-MIB", "entPhysicalIndex"), (0, "ENTITY-MIB", "entAliasLogicalIndexOrZero")) if mibBuilder.loadTexts: entAliasMappingEntry.setDescription("Information about a particular physical equipment, logical\n\n\n\nentity to external identifier binding. Each logical\nentity/physical component pair may be associated with one\nalias mapping. The logical entity index may also be used as\na 'wildcard' (refer to the entAliasLogicalIndexOrZero object\nDESCRIPTION clause for details.)\n\nNote that only entPhysicalIndex values that represent\nphysical ports (i.e., associated entPhysicalClass value is\n'port(10)') are permitted to exist in this table.") entAliasLogicalIndexOrZero = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: entAliasLogicalIndexOrZero.setDescription("The value of this object identifies the logical entity\nthat defines the naming scope for the associated instance\nof the 'entAliasMappingIdentifier' object.\n\nIf this object has a non-zero value, then it identifies the\nlogical entity named by the same value of entLogicalIndex.\n\nIf this object has a value of zero, then the mapping between\nthe physical component and the alias identifier for this\nentAliasMapping entry is associated with all unspecified\nlogical entities. That is, a value of zero (the default\nmapping) identifies any logical entity that does not have\nan explicit entry in this table for a particular\nentPhysicalIndex/entAliasMappingIdentifier pair.\n\nFor example, to indicate that a particular interface (e.g.,\nphysical component 33) is identified by the same value of\nifIndex for all logical entities, the following instance\nmight exist:\n\n entAliasMappingIdentifier.33.0 = ifIndex.5\n\nIn the event an entPhysicalEntry is associated differently\nfor some logical entities, additional entAliasMapping\nentries may exist, e.g.:\n\n\n\n\n entAliasMappingIdentifier.33.0 = ifIndex.6\n entAliasMappingIdentifier.33.4 = ifIndex.1\n entAliasMappingIdentifier.33.5 = ifIndex.1\n entAliasMappingIdentifier.33.10 = ifIndex.12\n\nNote that entries with non-zero entAliasLogicalIndexOrZero\nindex values have precedence over zero-indexed entries. In\nthis example, all logical entities except 4, 5, and 10,\nassociate physical entity 33 with ifIndex.6.") entAliasMappingIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 3, 2, 1, 2), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: entAliasMappingIdentifier.setDescription("The value of this object identifies a particular conceptual\nrow associated with the indicated entPhysicalIndex and\nentLogicalIndex pair.\n\nBecause only physical ports are modeled in this table, only\nentries that represent interfaces or ports are allowed. If\nan ifEntry exists on behalf of a particular physical port,\nthen this object should identify the associated 'ifEntry'.\nFor repeater ports, the appropriate row in the\n'rptrPortGroupTable' should be identified instead.\n\nFor example, suppose a physical port was represented by\nentPhysicalEntry.3, entLogicalEntry.15 existed for a\nrepeater, and entLogicalEntry.22 existed for a bridge. Then\nthere might be two related instances of\nentAliasMappingIdentifier:\n entAliasMappingIdentifier.3.15 == rptrPortGroupIndex.5.2\n entAliasMappingIdentifier.3.22 == ifIndex.17\nIt is possible that other mappings (besides interfaces and\nrepeater ports) may be defined in the future, as required.\n\nBridge ports are identified by examining the Bridge MIB and\nappropriate ifEntries associated with each 'dot1dBasePort',\nand are thus not represented in this table.") entPhysicalContainsTable = MibTable((1, 3, 6, 1, 2, 1, 47, 1, 3, 3)) if mibBuilder.loadTexts: entPhysicalContainsTable.setDescription("A table that exposes the container/'containee'\nrelationships between physical entities. This table\nprovides all the information found by constructing the\nvirtual containment tree for a given entPhysicalTable, but\nin a more direct format.\n\nIn the event a physical entity is contained by more than one\nother physical entity (e.g., double-wide modules), this\ntable should include these additional mappings, which cannot\nbe represented in the entPhysicalTable virtual containment\ntree.") entPhysicalContainsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 47, 1, 3, 3, 1)).setIndexNames((0, "ENTITY-MIB", "entPhysicalIndex"), (0, "ENTITY-MIB", "entPhysicalChildIndex")) if mibBuilder.loadTexts: entPhysicalContainsEntry.setDescription("A single container/'containee' relationship.") entPhysicalChildIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 47, 1, 3, 3, 1, 1), PhysicalIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: entPhysicalChildIndex.setDescription("The value of entPhysicalIndex for the contained physical\nentity.") entityGeneral = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 1, 4)) entLastChangeTime = MibScalar((1, 3, 6, 1, 2, 1, 47, 1, 4, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: entLastChangeTime.setDescription("The value of sysUpTime at the time a conceptual row is\ncreated, modified, or deleted in any of these tables:\n - entPhysicalTable\n - entLogicalTable\n - entLPMappingTable\n - entAliasMappingTable\n\n\n\n - entPhysicalContainsTable") entityMIBTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 2)) entityMIBTrapPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 2, 0)) entityConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 3)) entityCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 3, 1)) entityGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 47, 3, 2)) # Augmentions # Notifications entConfigChange = NotificationType((1, 3, 6, 1, 2, 1, 47, 2, 0, 1)).setObjects(*() ) if mibBuilder.loadTexts: entConfigChange.setDescription("An entConfigChange notification is generated when the value\nof entLastChangeTime changes. It can be utilized by an NMS\nto trigger logical/physical entity table maintenance polls.\n\nAn agent should not generate more than one entConfigChange\n'notification-event' in a given time interval (five seconds\nis the suggested default). A 'notification-event' is the\ntransmission of a single trap or inform PDU to a list of\nnotification destinations.\n\nIf additional configuration changes occur within the\nthrottling period, then notification-events for these\nchanges should be suppressed by the agent until the current\nthrottling period expires. At the end of a throttling\nperiod, one notification-event should be generated if any\nconfiguration changes occurred since the start of the\nthrottling period. In such a case, another throttling\nperiod is started right away.\n\nAn NMS should periodically check the value of\nentLastChangeTime to detect any missed entConfigChange\nnotification-events, e.g., due to throttling or transmission\nloss.") # Groups entityPhysicalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 1)).setObjects(*(("ENTITY-MIB", "entPhysicalParentRelPos"), ("ENTITY-MIB", "entPhysicalVendorType"), ("ENTITY-MIB", "entPhysicalClass"), ("ENTITY-MIB", "entPhysicalName"), ("ENTITY-MIB", "entPhysicalContainedIn"), ("ENTITY-MIB", "entPhysicalDescr"), ) ) if mibBuilder.loadTexts: entityPhysicalGroup.setDescription("The collection of objects used to represent physical\nsystem components, for which a single agent provides\nmanagement information.") entityLogicalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 2)).setObjects(*(("ENTITY-MIB", "entLogicalDescr"), ("ENTITY-MIB", "entLogicalCommunity"), ("ENTITY-MIB", "entLogicalType"), ("ENTITY-MIB", "entLogicalTAddress"), ("ENTITY-MIB", "entLogicalTDomain"), ) ) if mibBuilder.loadTexts: entityLogicalGroup.setDescription("The collection of objects used to represent the list of\nlogical entities, for which a single agent provides\nmanagement information.") entityMappingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 3)).setObjects(*(("ENTITY-MIB", "entAliasMappingIdentifier"), ("ENTITY-MIB", "entLPPhysicalIndex"), ("ENTITY-MIB", "entPhysicalChildIndex"), ) ) if mibBuilder.loadTexts: entityMappingGroup.setDescription("The collection of objects used to represent the\nassociations between multiple logical entities, physical\ncomponents, interfaces, and port identifiers, for which a\nsingle agent provides management information.") entityGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 4)).setObjects(*(("ENTITY-MIB", "entLastChangeTime"), ) ) if mibBuilder.loadTexts: entityGeneralGroup.setDescription("The collection of objects used to represent general entity\ninformation, for which a single agent provides management\ninformation.") entityNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 5)).setObjects(*(("ENTITY-MIB", "entConfigChange"), ) ) if mibBuilder.loadTexts: entityNotificationsGroup.setDescription("The collection of notifications used to indicate Entity MIB\ndata consistency and general status information.") entityPhysical2Group = ObjectGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 6)).setObjects(*(("ENTITY-MIB", "entPhysicalSoftwareRev"), ("ENTITY-MIB", "entPhysicalHardwareRev"), ("ENTITY-MIB", "entPhysicalAlias"), ("ENTITY-MIB", "entPhysicalIsFRU"), ("ENTITY-MIB", "entPhysicalSerialNum"), ("ENTITY-MIB", "entPhysicalFirmwareRev"), ("ENTITY-MIB", "entPhysicalAssetID"), ("ENTITY-MIB", "entPhysicalModelName"), ("ENTITY-MIB", "entPhysicalMfgName"), ) ) if mibBuilder.loadTexts: entityPhysical2Group.setDescription("The collection of objects used to represent physical\nsystem components, for which a single agent provides\nmanagement information. This group augments the objects\ncontained in the entityPhysicalGroup.") entityLogical2Group = ObjectGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 7)).setObjects(*(("ENTITY-MIB", "entLogicalTDomain"), ("ENTITY-MIB", "entLogicalType"), ("ENTITY-MIB", "entLogicalContextEngineID"), ("ENTITY-MIB", "entLogicalTAddress"), ("ENTITY-MIB", "entLogicalDescr"), ("ENTITY-MIB", "entLogicalContextName"), ) ) if mibBuilder.loadTexts: entityLogical2Group.setDescription("The collection of objects used to represent the\nlist of logical entities, for which a single SNMP entity\nprovides management information.") entityPhysical3Group = ObjectGroup((1, 3, 6, 1, 2, 1, 47, 3, 2, 8)).setObjects(*(("ENTITY-MIB", "entPhysicalMfgDate"), ("ENTITY-MIB", "entPhysicalUris"), ) ) if mibBuilder.loadTexts: entityPhysical3Group.setDescription("The collection of objects used to represent physical\nsystem components, for which a single agent provides\nmanagement information. This group augments the objects\ncontained in the entityPhysicalGroup.") # Compliances entityCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 47, 3, 1, 1)).setObjects(*(("ENTITY-MIB", "entityPhysicalGroup"), ("ENTITY-MIB", "entityMappingGroup"), ("ENTITY-MIB", "entityGeneralGroup"), ("ENTITY-MIB", "entityNotificationsGroup"), ("ENTITY-MIB", "entityLogicalGroup"), ) ) if mibBuilder.loadTexts: entityCompliance.setDescription("The compliance statement for SNMP entities that implement\nversion 1 of the Entity MIB.") entity2Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 47, 3, 1, 2)).setObjects(*(("ENTITY-MIB", "entityMappingGroup"), ("ENTITY-MIB", "entityPhysicalGroup"), ("ENTITY-MIB", "entityPhysical2Group"), ("ENTITY-MIB", "entityGeneralGroup"), ("ENTITY-MIB", "entityLogical2Group"), ("ENTITY-MIB", "entityNotificationsGroup"), ) ) if mibBuilder.loadTexts: entity2Compliance.setDescription("The compliance statement for SNMP entities that implement\nversion 2 of the Entity MIB.") entity3Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 47, 3, 1, 3)).setObjects(*(("ENTITY-MIB", "entityMappingGroup"), ("ENTITY-MIB", "entityPhysicalGroup"), ("ENTITY-MIB", "entityPhysical2Group"), ("ENTITY-MIB", "entityGeneralGroup"), ("ENTITY-MIB", "entityLogical2Group"), ("ENTITY-MIB", "entityNotificationsGroup"), ("ENTITY-MIB", "entityPhysical3Group"), ) ) if mibBuilder.loadTexts: entity3Compliance.setDescription("The compliance statement for SNMP entities that implement\nversion 3 of the Entity MIB.") # Exports # Module identity mibBuilder.exportSymbols("ENTITY-MIB", PYSNMP_MODULE_ID=entityMIB) # Types mibBuilder.exportSymbols("ENTITY-MIB", PhysicalClass=PhysicalClass, PhysicalIndex=PhysicalIndex, PhysicalIndexOrZero=PhysicalIndexOrZero, SnmpEngineIdOrNone=SnmpEngineIdOrNone) # Objects mibBuilder.exportSymbols("ENTITY-MIB", entityMIB=entityMIB, entityMIBObjects=entityMIBObjects, entityPhysical=entityPhysical, entPhysicalTable=entPhysicalTable, entPhysicalEntry=entPhysicalEntry, entPhysicalIndex=entPhysicalIndex, entPhysicalDescr=entPhysicalDescr, entPhysicalVendorType=entPhysicalVendorType, entPhysicalContainedIn=entPhysicalContainedIn, entPhysicalClass=entPhysicalClass, entPhysicalParentRelPos=entPhysicalParentRelPos, entPhysicalName=entPhysicalName, entPhysicalHardwareRev=entPhysicalHardwareRev, entPhysicalFirmwareRev=entPhysicalFirmwareRev, entPhysicalSoftwareRev=entPhysicalSoftwareRev, entPhysicalSerialNum=entPhysicalSerialNum, entPhysicalMfgName=entPhysicalMfgName, entPhysicalModelName=entPhysicalModelName, entPhysicalAlias=entPhysicalAlias, entPhysicalAssetID=entPhysicalAssetID, entPhysicalIsFRU=entPhysicalIsFRU, entPhysicalMfgDate=entPhysicalMfgDate, entPhysicalUris=entPhysicalUris, entityLogical=entityLogical, entLogicalTable=entLogicalTable, entLogicalEntry=entLogicalEntry, entLogicalIndex=entLogicalIndex, entLogicalDescr=entLogicalDescr, entLogicalType=entLogicalType, entLogicalCommunity=entLogicalCommunity, entLogicalTAddress=entLogicalTAddress, entLogicalTDomain=entLogicalTDomain, entLogicalContextEngineID=entLogicalContextEngineID, entLogicalContextName=entLogicalContextName, entityMapping=entityMapping, entLPMappingTable=entLPMappingTable, entLPMappingEntry=entLPMappingEntry, entLPPhysicalIndex=entLPPhysicalIndex, entAliasMappingTable=entAliasMappingTable, entAliasMappingEntry=entAliasMappingEntry, entAliasLogicalIndexOrZero=entAliasLogicalIndexOrZero, entAliasMappingIdentifier=entAliasMappingIdentifier, entPhysicalContainsTable=entPhysicalContainsTable, entPhysicalContainsEntry=entPhysicalContainsEntry, entPhysicalChildIndex=entPhysicalChildIndex, entityGeneral=entityGeneral, entLastChangeTime=entLastChangeTime, entityMIBTraps=entityMIBTraps, entityMIBTrapPrefix=entityMIBTrapPrefix, entityConformance=entityConformance, entityCompliances=entityCompliances, entityGroups=entityGroups) # Notifications mibBuilder.exportSymbols("ENTITY-MIB", entConfigChange=entConfigChange) # Groups mibBuilder.exportSymbols("ENTITY-MIB", entityPhysicalGroup=entityPhysicalGroup, entityLogicalGroup=entityLogicalGroup, entityMappingGroup=entityMappingGroup, entityGeneralGroup=entityGeneralGroup, entityNotificationsGroup=entityNotificationsGroup, entityPhysical2Group=entityPhysical2Group, entityLogical2Group=entityLogical2Group, entityPhysical3Group=entityPhysical3Group) # Compliances mibBuilder.exportSymbols("ENTITY-MIB", entityCompliance=entityCompliance, entity2Compliance=entity2Compliance, entity3Compliance=entity3Compliance) pysnmp-mibs-0.1.3/pysnmp_mibs/HC-PerfHist-TC-MIB.py0000644000014400001440000000671111736645136021762 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HC-PerfHist-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:02 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class HCPerfIntervalThreshold(Unsigned32): subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,900) class HCPerfInvalidIntervals(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,96) class HCPerfTimeElapsed(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,86399) class HCPerfValidIntervals(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,96) class HCPerfCurrentCount(Counter64): pass class HCPerfIntervalCount(Counter64): pass class HCPerfTotalCount(Counter64): pass # Objects hcPerfHistTCMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 107)).setRevisions(("2004-02-03 00:00",)) if mibBuilder.loadTexts: hcPerfHistTCMIB.setOrganization("ADSLMIB Working Group") if mibBuilder.loadTexts: hcPerfHistTCMIB.setContactInfo("WG-email: adslmib@ietf.org\nInfo: https://www1.ietf.org/mailman/listinfo/adslmib\n\nChair: Mike Sneed\n Sand Channel Systems\nPostal: P.O. Box 37324\n Raleigh NC 27627-7324\n USA\nEmail: sneedmike@hotmail.com\nPhone: +1 206 600 7022\n\nCo-editor: Bob Ray\n PESA Switching Systems, Inc.\nPostal: 330-A Wynn Drive\n Huntsville, AL 35805\n USA\nEmail: rray@pesa.com\nPhone: +1 256 726 9200 ext. 142\n\nCo-editor: Rajesh Abbi\n Alcatel USA\nPostal: 2301 Sugar Bush Road\n Raleigh, NC 27612-3339\n USA\nEmail: Rajesh.Abbi@alcatel.com\nPhone: +1 919 850 6194") if mibBuilder.loadTexts: hcPerfHistTCMIB.setDescription("This MIB Module provides Textual Conventions to be\nused by systems supporting 15 minute based performance\nhistory counts that require high-capacity counts.\n\nCopyright (C) The Internet Society (2004). This version\nof this MIB module is part of RFC 3705: see the RFC\nitself for full legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("HC-PerfHist-TC-MIB", PYSNMP_MODULE_ID=hcPerfHistTCMIB) # Types mibBuilder.exportSymbols("HC-PerfHist-TC-MIB", HCPerfIntervalThreshold=HCPerfIntervalThreshold, HCPerfInvalidIntervals=HCPerfInvalidIntervals, HCPerfTimeElapsed=HCPerfTimeElapsed, HCPerfValidIntervals=HCPerfValidIntervals, HCPerfCurrentCount=HCPerfCurrentCount, HCPerfIntervalCount=HCPerfIntervalCount, HCPerfTotalCount=HCPerfTotalCount) # Objects mibBuilder.exportSymbols("HC-PerfHist-TC-MIB", hcPerfHistTCMIB=hcPerfHistTCMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/ISCSI-MIB.py0000644000014400001440000030340011736645136020307 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ISCSI-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:14 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( AutonomousType, RowPointer, RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "RowPointer", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") # Types class IscsiDigestMethod(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,4,) namedValues = NamedValues(("none", 1), ("other", 2), ("noDigest", 3), ("crc32c", 4), ) class IscsiName(TextualConvention, OctetString): displayHint = "223t" subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(16,223),) class IscsiTransportProtocol(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,255) # Objects iscsiMibModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 142)).setRevisions(("2006-05-22 00:00",)) if mibBuilder.loadTexts: iscsiMibModule.setOrganization("IETF IPS Working Group") if mibBuilder.loadTexts: iscsiMibModule.setContactInfo("\nMark Bakke\nCisco Systems, Inc\n7900 International Drive, Suite 400\nBloomington, MN\nUSA 55425\n\nE-mail: mbakke@cisco.com\n\nMarjorie Krueger\nHewlett-Packard\nNetworked Storage Architecture\nNetworked Storage Solutions Org.\n8000 Foothills Blvd.\nRoseville, CA 95747\n\n\n\n\nE-mail: marjorie_krueger@hp.com\n\nTom McSweeney\nIBM Corporation\n600 Park Offices Drive\nResearch Triangle Park, NC\nUSA 27709\n\nE-mail: tommcs@us.ibm.com\n\nJames Muchow\nQlogic Corp.\n6321 Bury Dr.\nEden Prairie, MN\nUSA 55346\n\nE-mail: james.muchow@qlogic.com") if mibBuilder.loadTexts: iscsiMibModule.setDescription("The iSCSI Protocol MIB module.\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4544; see the RFC itself for\nfull legal notices.") iscsiNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 0)) iscsiObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1)) iscsiInstance = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 1)) iscsiInstanceAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 1, 1)) if mibBuilder.loadTexts: iscsiInstanceAttributesTable.setDescription("A list of iSCSI instances present on the system.") iscsiInstanceAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex")) if mibBuilder.loadTexts: iscsiInstanceAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular iSCSI instance.") iscsiInstIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiInstIndex.setDescription("An arbitrary integer used to uniquely identify a particular\niSCSI instance. This index value must not be modified or\nreused by an agent unless a reboot has occurred. An agent\nshould attempt to keep this value persistent across reboots.") iscsiInstDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstDescr.setDescription("A UTF-8 string, determined by the implementation to\ndescribe the iSCSI instance. When only a single instance\nis present, this object may be set to the zero-length\nstring; with multiple iSCSI instances, it may be used in\nan implementation-dependent manner to describe the purpose\nof the respective instance.") iscsiInstVersionMin = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstVersionMin.setDescription("The minimum version number of the iSCSI specification\nsuch that this iSCSI instance supports this minimum\nvalue, the maximum value indicated by the corresponding\ninstance in iscsiInstVersionMax, and all versions in\nbetween.") iscsiInstVersionMax = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstVersionMax.setDescription("The maximum version number of the iSCSI specification\nsuch that this iSCSI instance supports this maximum\nvalue, the minimum value indicated by the corresponding\ninstance in iscsiInstVersionMin, and all versions in\nbetween.") iscsiInstVendorID = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstVendorID.setDescription("A UTF-8 string describing the manufacturer of the\nimplementation of this instance.") iscsiInstVendorVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstVendorVersion.setDescription("A UTF-8 string set by the manufacturer describing the\nversion of the implementation of this instance. The\nformat of this string is determined solely by the\nmanufacturer, and is for informational purposes only.\n\n\n\nIt is unrelated to the iSCSI specification version numbers.") iscsiInstPortalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstPortalNumber.setDescription("The number of rows in the iscsiPortalAttributesTable\nthat are currently associated with this iSCSI instance.") iscsiInstNodeNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstNodeNumber.setDescription("The number of rows in the iscsiNodeAttributesTable\nthat are currently associated with this iSCSI instance.") iscsiInstSessionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstSessionNumber.setDescription("The number of rows in the iscsiSessionAttributesTable\nthat are currently associated with this iSCSI instance.") iscsiInstSsnFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstSsnFailures.setDescription("This object counts the number of times a session belonging\nto this instance has been failed. If this counter has\nsuffered a discontinuity, the time of the last discontinuity\nis indicated in iscsiInstDiscontinuityTime.") iscsiInstLastSsnFailureType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 11), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstLastSsnFailureType.setDescription("The counter object in the iscsiInstSsnErrorStatsTable\nthat was incremented when the last session failure occurred.\n\nIf the reason for failure is not found in the\niscsiInstSsnErrorStatsTable, the value { 0.0 } is\nused instead.") iscsiInstLastSsnRmtNodeName = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 12), IscsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstLastSsnRmtNodeName.setDescription("The iSCSI name of the remote node from the failed\nsession.") iscsiInstDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 1, 1, 13), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstDiscontinuityTime.setDescription("The value of SysUpTime on the most recent occasion\nat which any one or more of this instance's counters\nsuffered a discontinuity.\n\nIf no such discontinuities have occurred since the last\nre-initialization of the local management subsystem,\nthen this object contains a zero value.") iscsiInstanceSsnErrorStatsTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 1, 2)) if mibBuilder.loadTexts: iscsiInstanceSsnErrorStatsTable.setDescription("Statistics regarding the occurrences of error types\nthat result in a session failure.") iscsiInstanceSsnErrorStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 1, 2, 1)) if mibBuilder.loadTexts: iscsiInstanceSsnErrorStatsEntry.setDescription("An entry (row) containing management information applicable\nto a particular iSCSI instance.") iscsiInstSsnDigestErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstSsnDigestErrors.setDescription("The count of sessions that were failed due to receipt of\na PDU containing header or data digest errors. If this\ncounter has suffered a discontinuity, the time of the last\ndiscontinuity is indicated in iscsiInstDiscontinuityTime.") iscsiInstSsnCxnTimeoutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstSsnCxnTimeoutErrors.setDescription("The count of sessions that were failed due to a sequence\nexceeding a time limit. If this counter has suffered a\ndiscontinuity, the time of the last discontinuity\nis indicated in iscsiInstDiscontinuityTime.") iscsiInstSsnFormatErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiInstSsnFormatErrors.setDescription("The count of sessions that were failed due to receipt of\na PDU that contained a format error. If this counter has\nsuffered a discontinuity, the time of the last discontinuity\nis indicated in iscsiInstDiscontinuityTime.") iscsiPortal = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 2)) iscsiPortalAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 2, 1)) if mibBuilder.loadTexts: iscsiPortalAttributesTable.setDescription("A list of transport endpoints (using TCP or another transport\nprotocol) used by this iSCSI instance. An iSCSI instance may\nuse a portal to listen for incoming connections to its targets,\nto initiate connections to other targets, or both.") iscsiPortalAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiPortalIndex")) if mibBuilder.loadTexts: iscsiPortalAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular portal instance.") iscsiPortalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiPortalIndex.setDescription("An arbitrary integer used to uniquely identify a particular\ntransport endpoint within this iSCSI instance. This index\nvalue must not be modified or reused by an agent unless a\nreboot has occurred. An agent should attempt to keep this\nvalue persistent across reboots.") iscsiPortalRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nWhen the value of this object is 'active', the values of\nthe other objects in this table cannot be changed.\nRows may be discarded using RowStatus.\n\nNote that creating a row in this table will typically\ncause the agent to create one or more rows in\niscsiTgtPortalAttributesTable and/or\niscsiIntrPortalAttributesTable.") iscsiPortalRoles = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("targetTypePortal", 0), ("initiatorTypePortal", 1), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalRoles.setDescription("A portal can operate in one or both of two roles:\nas a target portal and/or an initiator portal. If\nthe portal will operate in both roles, both bits\nmust be set.\n\nThis object will define a corresponding row that\n\n\n\nwill exist or must be created in the\niscsiTgtPortalAttributesTable, the\niscsiIntrPortalAttributesTable or both. If the\ntargetTypePortal bit is set, one or more corresponding\niscsiTgtPortalAttributesEntry rows will be found or\ncreated. If the initiatorTypePortal bit is set,\none or more corresponding iscsiIntrPortalAttributesEntry\nrows will be found or created. If both bits are set, one\nor more corresponding rows will be found or created in\none of the above tables.") iscsiPortalAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 4), InetAddressType().clone('ipv4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalAddrType.setDescription("The type of Internet Network Address contained in the\ncorresponding instance of the iscsiPortalAddr.") iscsiPortalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 5), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalAddr.setDescription("The portal's Internet Network Address, of the type\nspecified by the object iscsiPortalAddrType. If\niscsiPortalAddrType has the value 'dns', this address\ngets resolved to an IP address whenever a new iSCSI\nconnection is established using this portal.") iscsiPortalProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 6), IscsiTransportProtocol().clone('6')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalProtocol.setDescription("The portal's transport protocol.") iscsiPortalMaxRecvDataSegLength = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(512, 16777215)).clone(8192)).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalMaxRecvDataSegLength.setDescription("The maximum PDU length this portal can receive.\nThis may be constrained by hardware characteristics\nand individual implementations may choose not to\nallow this object to be changed.") iscsiPortalPrimaryHdrDigest = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 8), IscsiDigestMethod().clone('crc32c')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalPrimaryHdrDigest.setDescription("The preferred header digest for this portal.") iscsiPortalPrimaryDataDigest = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 9), IscsiDigestMethod().clone('crc32c')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalPrimaryDataDigest.setDescription("The preferred data digest method for this portal.") iscsiPortalSecondaryHdrDigest = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 10), IscsiDigestMethod().clone('noDigest')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalSecondaryHdrDigest.setDescription("An alternate header digest preference for this portal.") iscsiPortalSecondaryDataDigest = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 11), IscsiDigestMethod().clone('noDigest')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalSecondaryDataDigest.setDescription("An alternate data digest preference for this portal.") iscsiPortalRecvMarker = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 12), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalRecvMarker.setDescription("This object indicates whether or not this portal will\nrequest markers in its incoming data stream.") iscsiPortalStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 2, 1, 1, 13), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiPortalStorageType.setDescription("The storage type for this row. Rows in this table that were\ncreated through an external process may have a storage type of\nreadOnly or permanent.\n\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") iscsiTargetPortal = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 3)) iscsiTgtPortalAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 3, 1)) if mibBuilder.loadTexts: iscsiTgtPortalAttributesTable.setDescription("A list of transport endpoints (using TCP or another transport\nprotocol) on which this iSCSI instance listens for incoming\nconnections to its targets.") iscsiTgtPortalAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 3, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiPortalIndex"), (0, "ISCSI-MIB", "iscsiTgtPortalNodeIndexOrZero")) if mibBuilder.loadTexts: iscsiTgtPortalAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular portal instance that is used to listen for\nincoming connections to local targets. One or more rows in\nthis table is populated by the agent for each\n\n\n\niscsiPortalAttributesEntry row that has the bit\ntargetTypePortal set in its iscsiPortalRoles column.") iscsiTgtPortalNodeIndexOrZero = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiTgtPortalNodeIndexOrZero.setDescription("An arbitrary integer used to uniquely identify a\nparticular node within an iSCSI instance present\non the local system.\n\nFor implementations where each {portal, node} tuple\ncan have a different portal tag, this value will\nmap to the iscsiNodeIndex.\n\nFor implementations where the portal tag is the\nsame for a given portal regardless of which node\nis using the portal, the value 0 (zero) is used.") iscsiTgtPortalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 3, 1, 1, 2), InetPortNumber().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiTgtPortalPort.setDescription("The portal's transport protocol port number on which the\nportal listens for incoming iSCSI connections when the\nportal is used as a target portal. This object's storage\ntype is specified in iscsiPortalStorageType.") iscsiTgtPortalTag = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 3, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiTgtPortalTag.setDescription("The portal's aggregation tag when the portal is used as\na target portal. Multiple-connection sessions may\n\n\n\nbe aggregated over portals sharing an identical\naggregation tag. This object's storage type is\nspecified in iscsiPortalStorageType.") iscsiInitiatorPortal = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 4)) iscsiIntrPortalAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 4, 1)) if mibBuilder.loadTexts: iscsiIntrPortalAttributesTable.setDescription("A list of Internet Network Addresses (using TCP or another\ntransport protocol) from which this iSCSI instance may\ninitiate connections to other targets.") iscsiIntrPortalAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 4, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiPortalIndex"), (0, "ISCSI-MIB", "iscsiIntrPortalNodeIndexOrZero")) if mibBuilder.loadTexts: iscsiIntrPortalAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular portal instance that is used to initiate\nconnections to iSCSI targets. One or more rows in\nthis table is populated by the agent for each\niscsiPortalAttributesEntry row that has the bit\ninitiatorTypePortal set in its iscsiPortalRoles column.") iscsiIntrPortalNodeIndexOrZero = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiIntrPortalNodeIndexOrZero.setDescription("An arbitrary integer used to uniquely identify a\nparticular node within an iSCSI instance present\non the local system.\n\nFor implementations where each {portal, node} tuple\ncan have a different portal tag, this value will\nmap to the iscsiNodeIndex.\n\nFor implementations where the portal tag is the\nsame for a given portal regardless of which node\nis using the portal, the value 0 (zero) is used.") iscsiIntrPortalTag = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 4, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiIntrPortalTag.setDescription("The portal's aggregation tag when the portal is used as\nan initiator portal. Multiple-connection sessions may\nbe aggregated over portals sharing an identical\naggregation tag. This object's storage type is\nspecified in iscsiPortalStorageType.") iscsiNode = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 5)) iscsiNodeAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 5, 1)) if mibBuilder.loadTexts: iscsiNodeAttributesTable.setDescription("A list of iSCSI nodes belonging to each iSCSI instance\npresent on the local system. An iSCSI node can act as\nan initiator, a target, or both.") iscsiNodeAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiNodeIndex")) if mibBuilder.loadTexts: iscsiNodeAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular iSCSI node.") iscsiNodeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiNodeIndex.setDescription("An arbitrary integer used to uniquely identify a particular\nnode within an iSCSI instance. This index value must not be\nmodified or reused by an agent unless a reboot has occurred.\nAn agent should attempt to keep this value persistent across\nreboots.") iscsiNodeName = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 2), IscsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiNodeName.setDescription("This node's iSCSI name, which is independent of the location\nof the node, and can be resolved into a set of addresses\nthrough various discovery services.") iscsiNodeAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiNodeAlias.setDescription("A character string that is a human-readable name or\ndescription of the iSCSI node. If configured, this alias\nmay be communicated to the initiator or target node at\nthe remote end of the connection during a Login Request\nor Response message. This string is not used as an\nidentifier, but can be displayed by the system's user\ninterface in a list of initiators and/or targets to\nwhich it is connected.\n\nIf no alias exists, the value is a zero-length string.") iscsiNodeRoles = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 4), Bits().subtype(namedValues=NamedValues(("targetTypeNode", 0), ("initiatorTypeNode", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiNodeRoles.setDescription("A node can operate in one or both of two roles:\na target role and/or an initiator role. If the node\nwill operate in both roles, both bits must be set.\n\nThis object will also define the corresponding rows that\nwill exist in the iscsiTargetAttributesTable, the\niscsiInitiatorAttributesTable or both. If the\ntargetTypeNode bit is set, there will be a corresponding\niscsiTargetAttributesEntry. If the initiatorTypeNode bit\nis set, there will be a corresponding\niscsiInitiatorAttributesEntry. If both bits are set,\nthere will be a corresponding iscsiTgtPortalAttributesEntry\nand iscsiPortalAttributesEntry.") iscsiNodeTransportType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 5), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiNodeTransportType.setDescription("A pointer to the corresponding row in the appropriate\n\n\n\ntable for this SCSI transport, thereby allowing management\nstations to locate the SCSI-level device that is represented\nby this iscsiNode. For example, it will usually point to the\ncorresponding scsiTrnspt object in the SCSI MIB module.\n\nIf no corresponding row exists, the value 0.0 must be\nused to indicate this.") iscsiNodeInitialR2T = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiNodeInitialR2T.setDescription("This object indicates the InitialR2T preference for this\nnode:\ntrue = YES,\nfalse = will try to negotiate NO, will accept YES ") iscsiNodeImmediateData = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeImmediateData.setDescription("This object indicates ImmediateData preference for this\nnode:\ntrue = YES (but will accept NO),\nfalse = NO ") iscsiNodeMaxOutstandingR2T = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeMaxOutstandingR2T.setDescription("Maximum number of outstanding requests-to-transmit (R2Ts)\nallowed per iSCSI task.") iscsiNodeFirstBurstLength = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(512, 16777215)).clone(65536)).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeFirstBurstLength.setDescription("The maximum length (bytes) supported for unsolicited data\nto/from this node.") iscsiNodeMaxBurstLength = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(512, 16777215)).clone(262144)).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeMaxBurstLength.setDescription("The maximum number of bytes that can be sent within\na single sequence of Data-In or Data-Out PDUs.") iscsiNodeMaxConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeMaxConnections.setDescription("The maximum number of connections allowed in each\nsession to and/or from this node.") iscsiNodeDataSequenceInOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 12), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeDataSequenceInOrder.setDescription("The DataSequenceInOrder preference of this node.\n\n\n\nFalse (=No) indicates that iSCSI data PDU sequences may\nbe transferred in any order. True (=Yes) indicates that\ndata PDU sequences must be transferred using\ncontinuously increasing offsets, except during\nerror recovery.") iscsiNodeDataPDUInOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 13), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeDataPDUInOrder.setDescription("The DataPDUInOrder preference of this node.\nFalse (=No) indicates that iSCSI data PDUs within sequences\nmay be in any order. True (=Yes) indicates that data PDUs\nwithin sequences must be at continuously increasing\naddresses, with no gaps or overlay between PDUs.") iscsiNodeDefaultTime2Wait = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeDefaultTime2Wait.setDescription("The DefaultTime2Wait preference of this node. This is the\nminimum time, in seconds, to wait before attempting an\nexplicit/implicit logout or active iSCSI task reassignment\nafter an unexpected connection termination or a connection\nreset.") iscsiNodeDefaultTime2Retain = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeDefaultTime2Retain.setDescription("The DefaultTime2Retain preference of this node. This is\n\n\n\nthe maximum time, in seconds after an initial wait\n(Time2Wait), before which an active iSCSI task reassignment\nis still possible after an unexpected connection termination\nor a connection reset.") iscsiNodeErrorRecoveryLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeErrorRecoveryLevel.setDescription("The ErrorRecoveryLevel preference of this node.\nCurrently, only 0-2 are valid.\n\nThis object is designed to accommodate future error recovery\nlevels.\n\nHigher error recovery levels imply support in addition to\nsupport for the lower error level functions. In other words,\nerror level 2 implies support for levels 0-1, since those\nfunctions are subsets of error level 2.") iscsiNodeDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 17), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiNodeDiscontinuityTime.setDescription("The value of SysUpTime on the most recent occasion\nat which any one or more of this node's counters\nsuffered a discontinuity.\n\nIf no such discontinuities have occurred since the last\nre-initialization of the local management subsystem,\nthen this object contains a zero value.") iscsiNodeStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 5, 1, 1, 18), StorageType().clone('volatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: iscsiNodeStorageType.setDescription("The storage type for all read-write objects within this\nrow. Rows in this table are always created via an\nexternal process, and may have a storage type of readOnly\nor permanent. Conceptual rows having the value 'permanent'\nneed not allow write access to any columnar objects in\nthe row.\n\nIf this object has the value 'volatile', modifications\nto read-write objects in this row are not persistent\nacross reboots. If this object has the value\n'nonVolatile', modifications to objects in this row\nare persistent.\n\nAn implementation may choose to allow this object\nto be set to either 'nonVolatile' or 'volatile',\nallowing the management application to choose this\nbehavior.") iscsiTarget = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 6)) iscsiTargetAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 6, 1)) if mibBuilder.loadTexts: iscsiTargetAttributesTable.setDescription("A list of iSCSI nodes that can take on a target role,\nbelonging to each iSCSI instance present on the local\nsystem.") iscsiTargetAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 6, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiNodeIndex")) if mibBuilder.loadTexts: iscsiTargetAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular node that can take on a target role.") iscsiTgtLoginFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLoginFailures.setDescription("This object counts the number of times a login attempt to this\nlocal target has failed.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtLastFailureTime = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 1, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLastFailureTime.setDescription("The timestamp of the most recent failure of a login attempt\nto this target. A value of zero indicates that no such\nfailures have occurred since the last system boot.") iscsiTgtLastFailureType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 1, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLastFailureType.setDescription("The type of the most recent failure of a login attempt\nto this target, represented as the OID of the counter\nobject in iscsiTargetLoginStatsTable for which the\nrelevant instance was incremented. A value of 0.0\nindicates a type that is not represented by any of\nthe counters in iscsiTargetLoginStatsTable.") iscsiTgtLastIntrFailureName = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 1, 1, 4), IscsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLastIntrFailureName.setDescription("The iSCSI name of the initiator that failed the last\nlogin attempt.") iscsiTgtLastIntrFailureAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 1, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLastIntrFailureAddrType.setDescription("The type of Internet Network Address contained in the\ncorresponding instance of the iscsiTgtLastIntrFailureAddr.\nThe value 'dns' is not allowed.") iscsiTgtLastIntrFailureAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 1, 1, 6), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLastIntrFailureAddr.setDescription("An Internet Network Address, of the type specified by\nthe object iscsiTgtLastIntrFailureAddrType, giving the\nhost address of the initiator that failed the last login\nattempt.") iscsiTargetLoginStatsTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 6, 2)) if mibBuilder.loadTexts: iscsiTargetLoginStatsTable.setDescription("A table of counters that keep a record of the results\nof initiators' login attempts to this target.") iscsiTargetLoginStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 6, 2, 1)) if mibBuilder.loadTexts: iscsiTargetLoginStatsEntry.setDescription("An entry (row) containing counters for each result of\na login attempt to this target.") iscsiTgtLoginAccepts = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLoginAccepts.setDescription("The count of Login Response PDUs with status\n0x0000, Accept Login, transmitted by this\ntarget.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtLoginOtherFails = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLoginOtherFails.setDescription("The number of Login Response PDUs that were transmitted\nby this target and that were not counted by any other\nobject in the row.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtLoginRedirects = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLoginRedirects.setDescription("The count of Login Response PDUs with status class 0x01,\nRedirection, transmitted by this target.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtLoginAuthorizeFails = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLoginAuthorizeFails.setDescription("The count of Login Response PDUs with status 0x0202,\nForbidden Target, transmitted by this target.\n\nIf this counter is incremented, an iscsiTgtLoginFailure\nnotification should be generated.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtLoginAuthenticateFails = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLoginAuthenticateFails.setDescription("The count of Login Response PDUs with status 0x0201,\nAuthentication Failed, transmitted by this target.\n\nIf this counter is incremented, an iscsiTgtLoginFailure\nnotification should be generated.\n\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtLoginNegotiateFails = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLoginNegotiateFails.setDescription("The number of times a target has effectively refused a\nlogin because the parameter negotiation failed.\n\n\n\n\nIf this counter is incremented, an iscsiTgtLoginFailure\nnotification should be generated.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTargetLogoutStatsTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 6, 3)) if mibBuilder.loadTexts: iscsiTargetLogoutStatsTable.setDescription("When a target receives a Logout command, it responds\nwith a Logout Response that carries a status code.\nThis table contains counters for both normal and\nabnormal logout requests received by this target.") iscsiTargetLogoutStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 6, 3, 1)) if mibBuilder.loadTexts: iscsiTargetLogoutStatsEntry.setDescription("An entry (row) containing counters of Logout Response\nPDUs that were received by this target.") iscsiTgtLogoutNormals = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLogoutNormals.setDescription("The count of Logout Command PDUs received by this target,\nwith reason code 0 (closes the session).\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtLogoutOthers = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 6, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiTgtLogoutOthers.setDescription("The count of Logout Command PDUs received by this target,\nwith any reason code other than 0.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiTgtAuthorization = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 7)) iscsiTgtAuthAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 7, 1)) if mibBuilder.loadTexts: iscsiTgtAuthAttributesTable.setDescription("A list of initiator identities that are authorized to\naccess each target node within each iSCSI instance\npresent on the local system.") iscsiTgtAuthAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 7, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiNodeIndex"), (0, "ISCSI-MIB", "iscsiTgtAuthIndex")) if mibBuilder.loadTexts: iscsiTgtAuthAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a particular target node's authorized\ninitiator identity.") iscsiTgtAuthIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 7, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiTgtAuthIndex.setDescription("An arbitrary integer used to uniquely identify a particular\ntarget's authorized initiator identity within an iSCSI\ninstance present on the local system. This index value must\nnot be modified or reused by an agent unless a reboot has\noccurred. An agent should attempt to keep this value\npersistent across reboots.") iscsiTgtAuthRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 7, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiTgtAuthRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nWhen the value of this object is 'active', the values of\nthe other objects in this table cannot be changed.\nRows may be discarded using RowStatus.") iscsiTgtAuthIdentity = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 7, 1, 1, 3), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiTgtAuthIdentity.setDescription("A pointer to the corresponding user entry in the IPS-AUTH\nMIB module that will be allowed to access this iSCSI target.") iscsiTgtAuthStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 7, 1, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiTgtAuthStorageType.setDescription("The storage type for this row. Rows in this table that were\ncreated through an external process may have a storage type of\nreadOnly or permanent.\n\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") iscsiInitiator = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 8)) iscsiInitiatorAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 8, 1)) if mibBuilder.loadTexts: iscsiInitiatorAttributesTable.setDescription("A list of iSCSI nodes that can take on an initiator\nrole, belonging to each iSCSI instance present on\nthe local system.") iscsiInitiatorAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 8, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiNodeIndex")) if mibBuilder.loadTexts: iscsiInitiatorAttributesEntry.setDescription("An entry (row) containing management information\napplicable to a particular iSCSI node that has\ninitiator capabilities.") iscsiIntrLoginFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLoginFailures.setDescription("This object counts the number of times a login attempt from\nthis local initiator has failed.\nIf this counter has suffered a discontinuity, the time of the\n\n\n\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrLastFailureTime = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 1, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLastFailureTime.setDescription("The timestamp of the most recent failure of a login attempt\nfrom this initiator. A value of zero indicates that no such\nfailures have occurred since the last system boot.") iscsiIntrLastFailureType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 1, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLastFailureType.setDescription("The type of the most recent failure of a login attempt\nfrom this initiator, represented as the OID of the counter\nobject in iscsiInitiatorLoginStatsTable for which the\nrelevant instance was incremented. A value of 0.0\nindicates a type that is not represented by any of\nthe counters in iscsiInitiatorLoginStatsTable.") iscsiIntrLastTgtFailureName = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 1, 1, 4), IscsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLastTgtFailureName.setDescription("A UTF-8 string giving the name of the target that failed\nthe last login attempt.") iscsiIntrLastTgtFailureAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 1, 1, 5), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLastTgtFailureAddrType.setDescription("The type of Internet Network Address contained in the\ncorresponding instance of the iscsiIntrLastTgtFailureAddr.\nThe value 'dns' is not allowed.") iscsiIntrLastTgtFailureAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 1, 1, 6), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLastTgtFailureAddr.setDescription("An Internet Network Address, of the type specified by the\nobject iscsiIntrLastTgtFailureAddrType, giving the host\naddress of the target that failed the last login attempt.") iscsiInitiatorLoginStatsTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 8, 2)) if mibBuilder.loadTexts: iscsiInitiatorLoginStatsTable.setDescription("A table of counters which keep track of the results of\nthis initiator's login attempts.") iscsiInitiatorLoginStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 8, 2, 1)) if mibBuilder.loadTexts: iscsiInitiatorLoginStatsEntry.setDescription("An entry (row) containing counters of each result\nof this initiator's login attempts.") iscsiIntrLoginAcceptRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLoginAcceptRsps.setDescription("The count of Login Response PDUs with status\n0x0000, Accept Login, received by this initiator.\nIf this counter has suffered a discontinuity, the time of the\n\n\n\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrLoginOtherFailRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLoginOtherFailRsps.setDescription("The count of Login Response PDUs received by this\ninitiator with any status code not counted in the\nobjects below.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrLoginRedirectRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLoginRedirectRsps.setDescription("The count of Login Response PDUs with status class 0x01,\nRedirection, received by this initiator.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrLoginAuthFailRsps = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLoginAuthFailRsps.setDescription("The count of Login Response PDUs with status class 0x201,\nAuthentication Failed, received by this initiator.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrLoginAuthenticateFails = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLoginAuthenticateFails.setDescription("The number of times the initiator has aborted a\nlogin because the target could not be authenticated.\n\nNo response is generated.\n\nIf this counter is incremented, an iscsiIntrLoginFailure\nnotification should be generated.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrLoginNegotiateFails = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLoginNegotiateFails.setDescription("The number of times the initiator has aborted a\nlogin because parameter negotiation with the target\nfailed.\n\nNo response is generated.\n\nIf this counter is incremented, an iscsiIntrLoginFailure\nnotification should be generated.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiInitiatorLogoutStatsTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 8, 3)) if mibBuilder.loadTexts: iscsiInitiatorLogoutStatsTable.setDescription("When an initiator attempts to send a Logout command, the target\nresponds with a Logout Response that carries a status code.\n\n\n\nThis table contains a list of counters of Logout Response\nPDUs of each status code that was received by each\ninitiator belonging to this iSCSI instance present on this\nsystem.") iscsiInitiatorLogoutStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 8, 3, 1)) if mibBuilder.loadTexts: iscsiInitiatorLogoutStatsEntry.setDescription("An entry (row) containing counters of Logout Response\nPDUs of each status code that was generated by this\ninitiator.") iscsiIntrLogoutNormals = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLogoutNormals.setDescription("The count of Logout Command PDUs generated by this initiator\nwith reason code 0 (closes the session).\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrLogoutOthers = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 8, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiIntrLogoutOthers.setDescription("The count of Logout Command PDUs generated by this initiator\nwith any status code other than 0.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiNodeDiscontinuityTime.") iscsiIntrAuthorization = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 9)) iscsiIntrAuthAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 9, 1)) if mibBuilder.loadTexts: iscsiIntrAuthAttributesTable.setDescription("A list of target identities that each initiator\non the local system may access.") iscsiIntrAuthAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 9, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiNodeIndex"), (0, "ISCSI-MIB", "iscsiIntrAuthIndex")) if mibBuilder.loadTexts: iscsiIntrAuthAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular initiator node's authorized target identity.") iscsiIntrAuthIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 9, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiIntrAuthIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular initiator node's authorized target\nidentity within an iSCSI instance present on the\nlocal system. This index value must not be modified\nor reused by an agent unless a reboot has occurred.\nAn agent should attempt to keep this value persistent\nacross reboots.") iscsiIntrAuthRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 9, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiIntrAuthRowStatus.setDescription("This field allows entries to be dynamically added and\nremoved from this table via SNMP. When adding a row to\nthis table, all non-Index/RowStatus objects must be set.\nWhen the value of this object is 'active', the values of\nthe other objects in this table cannot be changed.\nRows may be discarded using RowStatus.") iscsiIntrAuthIdentity = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 9, 1, 1, 3), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiIntrAuthIdentity.setDescription("A pointer to the corresponding user entry in the IPS-AUTH\nMIB module to which this initiator node should attempt to\nestablish an iSCSI session.") iscsiIntrAuthStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 9, 1, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: iscsiIntrAuthStorageType.setDescription("The storage type for this row. Rows in this table that were\ncreated through an external process may have a storage type of\nreadOnly or permanent.\n\nConceptual rows having the value 'permanent' need not\nallow write access to any columnar objects in the row.") iscsiSession = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 10)) iscsiSessionAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 10, 1)) if mibBuilder.loadTexts: iscsiSessionAttributesTable.setDescription("A list of sessions belonging to each iSCSI instance\npresent on the system.") iscsiSessionAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiSsnNodeIndex"), (0, "ISCSI-MIB", "iscsiSsnIndex")) if mibBuilder.loadTexts: iscsiSessionAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular session.\n\nIf this session is a discovery session that is not attached\nto any particular node, the iscsiSsnNodeIndex will be zero.\nOtherwise, the iscsiSsnNodeIndex will have the same value as\niscsiNodeIndex.") iscsiSsnNodeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiSsnNodeIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular node within an iSCSI instance present\non the local system. For normal, non-discovery\nsessions, this value will map to the iscsiNodeIndex.\nFor discovery sessions that do not have a node\nassociated, the value 0 (zero) is used.") iscsiSsnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiSsnIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular session within an iSCSI instance present\non the local system. An agent should attempt to\nnot reuse index values unless a reboot has occurred.\niSCSI sessions are destroyed during a reboot; rows\nin this table are not persistent across reboots.") iscsiSsnDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("inboundSession", 1), ("outboundSession", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnDirection.setDescription("Direction of iSCSI session:\ninboundSession - session is established from an external\n initiator to a target within this iSCSI\n instance.\noutboundSession - session is established from an initiator\n within this iSCSI instance to an external\n target.") iscsiSsnInitiatorName = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 4), IscsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnInitiatorName.setDescription("If iscsiSsnDirection is Inbound, this object is a\nUTF-8 string that will contain the name of the remote\ninitiator. If this session is a discovery session that\n\n\n\ndoes not specify a particular initiator, this object\nwill contain a zero-length string.\n\nIf iscsiSsnDirection is Outbound, this object will\ncontain a zero-length string.") iscsiSsnTargetName = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 5), IscsiName()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnTargetName.setDescription("If iscsiSsnDirection is Outbound, this object is a\nUTF-8 string that will contain the name of the remote\ntarget. If this session is a discovery session that\ndoes not specify a particular target, this object will\ncontain a zero-length string.\n\nIf iscsiSsnDirection is Inbound, this object will\ncontain a zero-length string.") iscsiSsnTSIH = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnTSIH.setDescription("The target-defined identification handle for this session.") iscsiSsnISID = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnISID.setDescription("The initiator-defined portion of the iSCSI Session ID.") iscsiSsnInitiatorAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnInitiatorAlias.setDescription("A UTF-8 string that gives the alias communicated by the\n\n\n\ninitiator end of the session during the login phase.\n\nIf no alias exists, the value is a zero-length string.") iscsiSsnTargetAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnTargetAlias.setDescription("A UTF-8 string that gives the alias communicated by the\ntarget end of the session during the login phase.\n\nIf no alias exists, the value is a zero-length string.") iscsiSsnInitialR2T = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnInitialR2T.setDescription("If set to true, indicates that the initiator must wait\nfor an R2T before sending to the target. If set to false,\nthe initiator may send data immediately, within limits set\nby iscsiSsnFirstBurstLength and the expected data transfer\nlength of the request.") iscsiSsnImmediateData = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnImmediateData.setDescription("Indicates whether the initiator and target have agreed to\nsupport immediate data on this session.") iscsiSsnType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("normalSession", 1), ("discoverySession", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnType.setDescription("Type of iSCSI session:\nnormalSession - session is a normal iSCSI session\ndiscoverySession - session is being used only for discovery.") iscsiSsnMaxOutstandingR2T = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnMaxOutstandingR2T.setDescription("The maximum number of outstanding requests-to-transmit\n(R2Ts) per iSCSI task within this session.") iscsiSsnFirstBurstLength = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(512, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnFirstBurstLength.setDescription("The maximum length supported for unsolicited data sent\nwithin this session.") iscsiSsnMaxBurstLength = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(512, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnMaxBurstLength.setDescription("The maximum number of bytes that can be sent within\na single sequence of Data-In or Data-Out PDUs.") iscsiSsnConnectionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 16), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnConnectionNumber.setDescription("The number of transport protocol connections that currently\nbelong to this session.") iscsiSsnAuthIdentity = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 17), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnAuthIdentity.setDescription("This object contains a pointer to a row in the\nIPS-AUTH MIB module that identifies the authentication\nmethod being used on this session, as communicated\nduring the login phase.") iscsiSsnDataSequenceInOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnDataSequenceInOrder.setDescription("False indicates that iSCSI data PDU sequences may\nbe transferred in any order. True indicates that\ndata PDU sequences must be transferred using\ncontinuously increasing offsets, except during\nerror recovery.") iscsiSsnDataPDUInOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnDataPDUInOrder.setDescription("False indicates that iSCSI data PDUs within sequences\nmay be in any order. True indicates that data PDUs\nwithin sequences must be at continuously increasing\naddresses, with no gaps or overlay between PDUs.\n\nDefault is true.") iscsiSsnErrorRecoveryLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 20), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnErrorRecoveryLevel.setDescription("The level of error recovery negotiated between\nthe initiator and the target. Higher numbers\nrepresent more detailed recovery schemes.") iscsiSsnDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 1, 1, 21), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnDiscontinuityTime.setDescription("The value of SysUpTime on the most recent occasion\nat which any one or more of this session's counters\nsuffered a discontinuity.\nWhen a session is established, and this object is\ncreated, it is initialized to the current value\nof SysUpTime.") iscsiSessionStatsTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 10, 2)) if mibBuilder.loadTexts: iscsiSessionStatsTable.setDescription("A list of general iSCSI traffic counters for each of the\nsessions present on the system.") iscsiSessionStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 10, 2, 1)) if mibBuilder.loadTexts: iscsiSessionStatsEntry.setDescription("An entry (row) containing general iSCSI traffic counters\nfor a particular session.") iscsiSsnCmdPDUs = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnCmdPDUs.setDescription("The count of Command PDUs transferred on this session.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiSsnRspPDUs = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnRspPDUs.setDescription("The count of Response PDUs transferred on this session.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiSsnTxDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 2, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnTxDataOctets.setDescription("The count of data octets that were transmitted by\nthe local iSCSI node on this session.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiSsnRxDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnRxDataOctets.setDescription("The count of data octets that were received by\nthe local iSCSI node on this session.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiSsnLCTxDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnLCTxDataOctets.setDescription("A Low Capacity shadow object of iscsiSsnTxDataOctets\nfor those systems that don't support Counter64.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiSsnLCRxDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnLCRxDataOctets.setDescription("A Low Capacity shadow object of iscsiSsnRxDataOctets\nfor those systems that don't support Counter64.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiSessionCxnErrorStatsTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 10, 3)) if mibBuilder.loadTexts: iscsiSessionCxnErrorStatsTable.setDescription("A list of error counters for each of the sessions\npresent on this system.") iscsiSessionCxnErrorStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 10, 3, 1)) if mibBuilder.loadTexts: iscsiSessionCxnErrorStatsEntry.setDescription("An entry (row) containing error counters for\na particular session.") iscsiSsnCxnDigestErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnCxnDigestErrors.setDescription("The count of PDUs that were received on the session and\ncontained header or data digest errors.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiSsnCxnTimeoutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 10, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiSsnCxnTimeoutErrors.setDescription("The count of connections within this session\nthat have been terminated due to timeout.\nIf this counter has suffered a discontinuity, the time of the\nlast discontinuity is indicated in iscsiSsnDiscontinuityTime.") iscsiConnection = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 1, 11)) iscsiConnectionAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 142, 1, 11, 1)) if mibBuilder.loadTexts: iscsiConnectionAttributesTable.setDescription("A list of connections belonging to each iSCSI instance\npresent on the system.") iscsiConnectionAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1)).setIndexNames((0, "ISCSI-MIB", "iscsiInstIndex"), (0, "ISCSI-MIB", "iscsiSsnNodeIndex"), (0, "ISCSI-MIB", "iscsiSsnIndex"), (0, "ISCSI-MIB", "iscsiCxnIndex")) if mibBuilder.loadTexts: iscsiConnectionAttributesEntry.setDescription("An entry (row) containing management information applicable\nto a particular connection.") iscsiCxnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: iscsiCxnIndex.setDescription("An arbitrary integer used to uniquely identify a\nparticular connection of a particular session within\nan iSCSI instance present on the local system. An\nagent should attempt to not reuse index values unless\na reboot has occurred. iSCSI connections are destroyed\nduring a reboot; rows in this table are not persistent\nacross reboots.") iscsiCxnCid = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnCid.setDescription("The iSCSI Connection ID for this connection.") iscsiCxnState = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("login", 1), ("full", 2), ("logout", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnState.setDescription("The current state of this connection, from an iSCSI negotiation\npoint of view. Here are the states:\n\nlogin - The transport protocol connection has been established,\n but a valid iSCSI login response with the final bit set\n has not been sent or received.\nfull - A valid iSCSI login response with the final bit set\n has been sent or received.\nlogout - A valid iSCSI logout command has been sent or\n received, but the transport protocol connection has\n not yet been closed.") iscsiCxnAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnAddrType.setDescription("The type of Internet Network Addresses contained in the\ncorresponding instances of iscsiCxnLocalAddr and\niscsiCxnRemoteAddr.\nThe value 'dns' is not allowed.") iscsiCxnLocalAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnLocalAddr.setDescription("The local Internet Network Address, of the type specified\nby iscsiCxnAddrType, used by this connection.") iscsiCxnProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 6), IscsiTransportProtocol()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnProtocol.setDescription("The transport protocol over which this connection is\nrunning.") iscsiCxnLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 7), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnLocalPort.setDescription("The local transport protocol port used by this connection.\nThis object cannot have the value zero, since it represents\nan established connection.") iscsiCxnRemoteAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 8), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnRemoteAddr.setDescription("The remote Internet Network Address, of the type specified\nby iscsiCxnAddrType, used by this connection.") iscsiCxnRemotePort = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 9), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnRemotePort.setDescription("The remote transport protocol port used by this connection.\nThis object cannot have the value zero, since it represents\nan established connection.") iscsiCxnMaxRecvDataSegLength = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(512, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnMaxRecvDataSegLength.setDescription("The maximum data payload size supported for command\nor data PDUs able to be received on this connection.") iscsiCxnMaxXmitDataSegLength = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(512, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnMaxXmitDataSegLength.setDescription("The maximum data payload size supported for command\nor data PDUs to be sent on this connection.") iscsiCxnHeaderIntegrity = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 12), IscsiDigestMethod()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnHeaderIntegrity.setDescription("This object identifies the iSCSI header\ndigest scheme in use within this connection.") iscsiCxnDataIntegrity = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 13), IscsiDigestMethod()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnDataIntegrity.setDescription("This object identifies the iSCSI data\ndigest scheme in use within this connection.") iscsiCxnRecvMarker = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnRecvMarker.setDescription("This object indicates whether or not this connection\nis receiving markers in its incoming data stream.") iscsiCxnSendMarker = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnSendMarker.setDescription("This object indicates whether or not this connection\nis inserting markers in its outgoing data stream.") iscsiCxnVersionActive = MibTableColumn((1, 3, 6, 1, 2, 1, 142, 1, 11, 1, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: iscsiCxnVersionActive.setDescription("Active version number of the iSCSI specification negotiated\non this connection.") iscsiConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 2)) iscsiCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 2, 1)) iscsiGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 2, 2)) iscsiAdmin = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 3)) iscsiDescriptors = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 3, 1)) iscsiHeaderIntegrityTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 3, 1, 1)) iscsiHdrIntegrityNone = ObjectIdentity((1, 3, 6, 1, 2, 1, 142, 3, 1, 1, 1)) if mibBuilder.loadTexts: iscsiHdrIntegrityNone.setDescription("The authoritative identifier when no integrity\nscheme (for either the header or data) is being\n\n\n\nused.") iscsiHdrIntegrityCrc32c = ObjectIdentity((1, 3, 6, 1, 2, 1, 142, 3, 1, 1, 2)) if mibBuilder.loadTexts: iscsiHdrIntegrityCrc32c.setDescription("The authoritative identifier when the integrity\nscheme (for either the header or data) is CRC32c.") iscsiDataIntegrityTypes = MibIdentifier((1, 3, 6, 1, 2, 1, 142, 3, 1, 2)) iscsiDataIntegrityNone = ObjectIdentity((1, 3, 6, 1, 2, 1, 142, 3, 1, 2, 1)) if mibBuilder.loadTexts: iscsiDataIntegrityNone.setDescription("The authoritative identifier when no integrity\nscheme (for either the header or data) is being\nused.") iscsiDataIntegrityCrc32c = ObjectIdentity((1, 3, 6, 1, 2, 1, 142, 3, 1, 2, 2)) if mibBuilder.loadTexts: iscsiDataIntegrityCrc32c.setDescription("The authoritative identifier when the integrity\nscheme (for either the header or data) is CRC32c.") # Augmentions iscsiInstanceAttributesEntry.registerAugmentions(("ISCSI-MIB", "iscsiInstanceSsnErrorStatsEntry")) iscsiInstanceSsnErrorStatsEntry.setIndexNames(*iscsiInstanceAttributesEntry.getIndexNames()) iscsiTargetAttributesEntry.registerAugmentions(("ISCSI-MIB", "iscsiTargetLogoutStatsEntry")) iscsiTargetLogoutStatsEntry.setIndexNames(*iscsiTargetAttributesEntry.getIndexNames()) iscsiInitiatorAttributesEntry.registerAugmentions(("ISCSI-MIB", "iscsiInitiatorLogoutStatsEntry")) iscsiInitiatorLogoutStatsEntry.setIndexNames(*iscsiInitiatorAttributesEntry.getIndexNames()) iscsiTargetAttributesEntry.registerAugmentions(("ISCSI-MIB", "iscsiTargetLoginStatsEntry")) iscsiTargetLoginStatsEntry.setIndexNames(*iscsiTargetAttributesEntry.getIndexNames()) iscsiInitiatorAttributesEntry.registerAugmentions(("ISCSI-MIB", "iscsiInitiatorLoginStatsEntry")) iscsiInitiatorLoginStatsEntry.setIndexNames(*iscsiInitiatorAttributesEntry.getIndexNames()) iscsiSessionAttributesEntry.registerAugmentions(("ISCSI-MIB", "iscsiSessionCxnErrorStatsEntry")) iscsiSessionCxnErrorStatsEntry.setIndexNames(*iscsiSessionAttributesEntry.getIndexNames()) iscsiSessionAttributesEntry.registerAugmentions(("ISCSI-MIB", "iscsiSessionStatsEntry")) iscsiSessionStatsEntry.setIndexNames(*iscsiSessionAttributesEntry.getIndexNames()) # Notifications iscsiTgtLoginFailure = NotificationType((1, 3, 6, 1, 2, 1, 142, 0, 1)).setObjects(*(("ISCSI-MIB", "iscsiTgtLastIntrFailureName"), ("ISCSI-MIB", "iscsiTgtLastFailureType"), ("ISCSI-MIB", "iscsiTgtLastIntrFailureAddr"), ("ISCSI-MIB", "iscsiTgtLastIntrFailureAddrType"), ("ISCSI-MIB", "iscsiTgtLoginFailures"), ) ) if mibBuilder.loadTexts: iscsiTgtLoginFailure.setDescription("Sent when a login is failed by a target.\n\nTo avoid sending an excessive number of notifications due\nto multiple errors counted, an SNMP agent implementing this\nnotification SHOULD NOT send more than 3 notifications of\nthis type in any 10-second time period.") iscsiIntrLoginFailure = NotificationType((1, 3, 6, 1, 2, 1, 142, 0, 2)).setObjects(*(("ISCSI-MIB", "iscsiIntrLoginFailures"), ("ISCSI-MIB", "iscsiIntrLastFailureType"), ("ISCSI-MIB", "iscsiIntrLastTgtFailureName"), ("ISCSI-MIB", "iscsiIntrLastTgtFailureAddrType"), ("ISCSI-MIB", "iscsiIntrLastTgtFailureAddr"), ) ) if mibBuilder.loadTexts: iscsiIntrLoginFailure.setDescription("Sent when a login is failed by an initiator.\n\nTo avoid sending an excessive number of notifications due\nto multiple errors counted, an SNMP agent implementing this\nnotification SHOULD NOT send more than 3 notifications of\nthis type in any 10-second time period.") iscsiInstSessionFailure = NotificationType((1, 3, 6, 1, 2, 1, 142, 0, 3)).setObjects(*(("ISCSI-MIB", "iscsiInstLastSsnRmtNodeName"), ("ISCSI-MIB", "iscsiInstSsnFailures"), ("ISCSI-MIB", "iscsiInstLastSsnFailureType"), ) ) if mibBuilder.loadTexts: iscsiInstSessionFailure.setDescription("Sent when an active session is failed by either the initiator\nor the target.\n\nTo avoid sending an excessive number of notifications due\nto multiple errors counted, an SNMP agent implementing this\nnotification SHOULD NOT send more than 3 notifications of\nthis type in any 10-second time period.") # Groups iscsiInstanceAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 1)).setObjects(*(("ISCSI-MIB", "iscsiInstVendorVersion"), ("ISCSI-MIB", "iscsiInstLastSsnFailureType"), ("ISCSI-MIB", "iscsiInstVersionMin"), ("ISCSI-MIB", "iscsiInstDiscontinuityTime"), ("ISCSI-MIB", "iscsiInstVendorID"), ("ISCSI-MIB", "iscsiInstDescr"), ("ISCSI-MIB", "iscsiInstPortalNumber"), ("ISCSI-MIB", "iscsiInstSessionNumber"), ("ISCSI-MIB", "iscsiInstVersionMax"), ("ISCSI-MIB", "iscsiInstSsnFailures"), ("ISCSI-MIB", "iscsiInstLastSsnRmtNodeName"), ("ISCSI-MIB", "iscsiInstNodeNumber"), ) ) if mibBuilder.loadTexts: iscsiInstanceAttributesGroup.setDescription("A collection of objects providing information about iSCSI\ninstances.") iscsiInstanceSsnErrorStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 2)).setObjects(*(("ISCSI-MIB", "iscsiInstSsnDigestErrors"), ("ISCSI-MIB", "iscsiInstSsnFormatErrors"), ("ISCSI-MIB", "iscsiInstSsnCxnTimeoutErrors"), ) ) if mibBuilder.loadTexts: iscsiInstanceSsnErrorStatsGroup.setDescription("A collection of objects providing information about\nerrors that have caused a session failure for an\niSCSI instance.") iscsiPortalAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 3)).setObjects(*(("ISCSI-MIB", "iscsiPortalRoles"), ("ISCSI-MIB", "iscsiPortalStorageType"), ("ISCSI-MIB", "iscsiPortalMaxRecvDataSegLength"), ("ISCSI-MIB", "iscsiPortalSecondaryHdrDigest"), ("ISCSI-MIB", "iscsiPortalPrimaryDataDigest"), ("ISCSI-MIB", "iscsiPortalPrimaryHdrDigest"), ("ISCSI-MIB", "iscsiPortalAddrType"), ("ISCSI-MIB", "iscsiPortalRecvMarker"), ("ISCSI-MIB", "iscsiPortalSecondaryDataDigest"), ("ISCSI-MIB", "iscsiPortalProtocol"), ("ISCSI-MIB", "iscsiPortalAddr"), ("ISCSI-MIB", "iscsiPortalRowStatus"), ) ) if mibBuilder.loadTexts: iscsiPortalAttributesGroup.setDescription("A collection of objects providing information about\nthe transport protocol endpoints of the local targets.") iscsiTgtPortalAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 4)).setObjects(*(("ISCSI-MIB", "iscsiTgtPortalPort"), ("ISCSI-MIB", "iscsiTgtPortalTag"), ) ) if mibBuilder.loadTexts: iscsiTgtPortalAttributesGroup.setDescription("A collection of objects providing information about\nthe transport protocol endpoints of the local targets.") iscsiIntrPortalAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 5)).setObjects(*(("ISCSI-MIB", "iscsiIntrPortalTag"), ) ) if mibBuilder.loadTexts: iscsiIntrPortalAttributesGroup.setDescription("An object providing information about\nthe portal tags used by the local initiators.") iscsiNodeAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 6)).setObjects(*(("ISCSI-MIB", "iscsiNodeDataPDUInOrder"), ("ISCSI-MIB", "iscsiNodeDiscontinuityTime"), ("ISCSI-MIB", "iscsiNodeAlias"), ("ISCSI-MIB", "iscsiNodeStorageType"), ("ISCSI-MIB", "iscsiNodeErrorRecoveryLevel"), ("ISCSI-MIB", "iscsiNodeDefaultTime2Retain"), ("ISCSI-MIB", "iscsiNodeMaxBurstLength"), ("ISCSI-MIB", "iscsiNodeDefaultTime2Wait"), ("ISCSI-MIB", "iscsiNodeDataSequenceInOrder"), ("ISCSI-MIB", "iscsiNodeTransportType"), ("ISCSI-MIB", "iscsiNodeMaxConnections"), ("ISCSI-MIB", "iscsiNodeRoles"), ("ISCSI-MIB", "iscsiNodeImmediateData"), ("ISCSI-MIB", "iscsiNodeInitialR2T"), ("ISCSI-MIB", "iscsiNodeMaxOutstandingR2T"), ("ISCSI-MIB", "iscsiNodeFirstBurstLength"), ("ISCSI-MIB", "iscsiNodeName"), ) ) if mibBuilder.loadTexts: iscsiNodeAttributesGroup.setDescription("A collection of objects providing information about all\nlocal targets.") iscsiTargetAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 7)).setObjects(*(("ISCSI-MIB", "iscsiTgtLastIntrFailureName"), ("ISCSI-MIB", "iscsiTgtLastIntrFailureAddr"), ("ISCSI-MIB", "iscsiTgtLastFailureTime"), ("ISCSI-MIB", "iscsiTgtLastFailureType"), ("ISCSI-MIB", "iscsiTgtLoginFailures"), ("ISCSI-MIB", "iscsiTgtLastIntrFailureAddrType"), ) ) if mibBuilder.loadTexts: iscsiTargetAttributesGroup.setDescription("A collection of objects providing information about all\nlocal targets.") iscsiTargetLoginStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 8)).setObjects(*(("ISCSI-MIB", "iscsiTgtLoginOtherFails"), ("ISCSI-MIB", "iscsiTgtLoginAuthorizeFails"), ("ISCSI-MIB", "iscsiTgtLoginAuthenticateFails"), ("ISCSI-MIB", "iscsiTgtLoginNegotiateFails"), ("ISCSI-MIB", "iscsiTgtLoginAccepts"), ("ISCSI-MIB", "iscsiTgtLoginRedirects"), ) ) if mibBuilder.loadTexts: iscsiTargetLoginStatsGroup.setDescription("A collection of objects providing information about all\nlogin attempts by remote initiators to local targets.") iscsiTargetLogoutStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 9)).setObjects(*(("ISCSI-MIB", "iscsiTgtLogoutNormals"), ("ISCSI-MIB", "iscsiTgtLogoutOthers"), ) ) if mibBuilder.loadTexts: iscsiTargetLogoutStatsGroup.setDescription("A collection of objects providing information about all\nlogout events between remote initiators and local targets.") iscsiTargetAuthGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 10)).setObjects(*(("ISCSI-MIB", "iscsiTgtAuthIdentity"), ("ISCSI-MIB", "iscsiTgtAuthRowStatus"), ("ISCSI-MIB", "iscsiTgtAuthStorageType"), ) ) if mibBuilder.loadTexts: iscsiTargetAuthGroup.setDescription("A collection of objects providing information about all\nremote initiators that are authorized to connect to local\ntargets.") iscsiInitiatorAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 11)).setObjects(*(("ISCSI-MIB", "iscsiIntrLastTgtFailureName"), ("ISCSI-MIB", "iscsiIntrLoginFailures"), ("ISCSI-MIB", "iscsiIntrLastTgtFailureAddr"), ("ISCSI-MIB", "iscsiIntrLastFailureType"), ("ISCSI-MIB", "iscsiIntrLastTgtFailureAddrType"), ("ISCSI-MIB", "iscsiIntrLastFailureTime"), ) ) if mibBuilder.loadTexts: iscsiInitiatorAttributesGroup.setDescription("A collection of objects providing information about\nall local initiators.") iscsiInitiatorLoginStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 12)).setObjects(*(("ISCSI-MIB", "iscsiIntrLoginRedirectRsps"), ("ISCSI-MIB", "iscsiIntrLoginAuthenticateFails"), ("ISCSI-MIB", "iscsiIntrLoginNegotiateFails"), ("ISCSI-MIB", "iscsiIntrLoginAuthFailRsps"), ("ISCSI-MIB", "iscsiIntrLoginOtherFailRsps"), ("ISCSI-MIB", "iscsiIntrLoginAcceptRsps"), ) ) if mibBuilder.loadTexts: iscsiInitiatorLoginStatsGroup.setDescription("A collection of objects providing information about all\nlogin attempts by local initiators to remote targets.") iscsiInitiatorLogoutStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 13)).setObjects(*(("ISCSI-MIB", "iscsiIntrLogoutNormals"), ("ISCSI-MIB", "iscsiIntrLogoutOthers"), ) ) if mibBuilder.loadTexts: iscsiInitiatorLogoutStatsGroup.setDescription("A collection of objects providing information about all\nlogout events between local initiators and remote targets.") iscsiInitiatorAuthGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 14)).setObjects(*(("ISCSI-MIB", "iscsiIntrAuthStorageType"), ("ISCSI-MIB", "iscsiIntrAuthRowStatus"), ("ISCSI-MIB", "iscsiIntrAuthIdentity"), ) ) if mibBuilder.loadTexts: iscsiInitiatorAuthGroup.setDescription("A collection of objects providing information about all\nremote targets that are initiators of the local system\nthat they are authorized to access.") iscsiSessionAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 15)).setObjects(*(("ISCSI-MIB", "iscsiSsnType"), ("ISCSI-MIB", "iscsiSsnDataPDUInOrder"), ("ISCSI-MIB", "iscsiSsnImmediateData"), ("ISCSI-MIB", "iscsiSsnISID"), ("ISCSI-MIB", "iscsiSsnDirection"), ("ISCSI-MIB", "iscsiSsnConnectionNumber"), ("ISCSI-MIB", "iscsiSsnMaxOutstandingR2T"), ("ISCSI-MIB", "iscsiSsnFirstBurstLength"), ("ISCSI-MIB", "iscsiSsnDiscontinuityTime"), ("ISCSI-MIB", "iscsiSsnInitiatorName"), ("ISCSI-MIB", "iscsiSsnTargetName"), ("ISCSI-MIB", "iscsiSsnErrorRecoveryLevel"), ("ISCSI-MIB", "iscsiSsnInitiatorAlias"), ("ISCSI-MIB", "iscsiSsnTargetAlias"), ("ISCSI-MIB", "iscsiSsnTSIH"), ("ISCSI-MIB", "iscsiSsnDataSequenceInOrder"), ("ISCSI-MIB", "iscsiSsnInitialR2T"), ("ISCSI-MIB", "iscsiSsnAuthIdentity"), ("ISCSI-MIB", "iscsiSsnMaxBurstLength"), ) ) if mibBuilder.loadTexts: iscsiSessionAttributesGroup.setDescription("A collection of objects providing information applicable to\nall sessions.") iscsiSessionPDUStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 16)).setObjects(*(("ISCSI-MIB", "iscsiSsnCmdPDUs"), ("ISCSI-MIB", "iscsiSsnRspPDUs"), ) ) if mibBuilder.loadTexts: iscsiSessionPDUStatsGroup.setDescription("A collection of objects providing information about PDU\ntraffic for each session.") iscsiSessionOctetStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 17)).setObjects(*(("ISCSI-MIB", "iscsiSsnTxDataOctets"), ("ISCSI-MIB", "iscsiSsnRxDataOctets"), ) ) if mibBuilder.loadTexts: iscsiSessionOctetStatsGroup.setDescription("A collection of objects providing information about octet\ntraffic for each session using a Counter64 data type.") iscsiSessionLCOctetStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 18)).setObjects(*(("ISCSI-MIB", "iscsiSsnLCRxDataOctets"), ("ISCSI-MIB", "iscsiSsnLCTxDataOctets"), ) ) if mibBuilder.loadTexts: iscsiSessionLCOctetStatsGroup.setDescription("A collection of objects providing information about octet\ntraffic for each session using a Counter32 data type.") iscsiSessionCxnErrorStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 19)).setObjects(*(("ISCSI-MIB", "iscsiSsnCxnDigestErrors"), ("ISCSI-MIB", "iscsiSsnCxnTimeoutErrors"), ) ) if mibBuilder.loadTexts: iscsiSessionCxnErrorStatsGroup.setDescription("A collection of objects providing information about connection\nerrors for all sessions.") iscsiConnectionAttributesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 20)).setObjects(*(("ISCSI-MIB", "iscsiCxnAddrType"), ("ISCSI-MIB", "iscsiCxnLocalPort"), ("ISCSI-MIB", "iscsiCxnRemotePort"), ("ISCSI-MIB", "iscsiCxnRecvMarker"), ("ISCSI-MIB", "iscsiCxnSendMarker"), ("ISCSI-MIB", "iscsiCxnHeaderIntegrity"), ("ISCSI-MIB", "iscsiCxnDataIntegrity"), ("ISCSI-MIB", "iscsiCxnMaxRecvDataSegLength"), ("ISCSI-MIB", "iscsiCxnState"), ("ISCSI-MIB", "iscsiCxnProtocol"), ("ISCSI-MIB", "iscsiCxnLocalAddr"), ("ISCSI-MIB", "iscsiCxnCid"), ("ISCSI-MIB", "iscsiCxnVersionActive"), ("ISCSI-MIB", "iscsiCxnRemoteAddr"), ("ISCSI-MIB", "iscsiCxnMaxXmitDataSegLength"), ) ) if mibBuilder.loadTexts: iscsiConnectionAttributesGroup.setDescription("A collection of objects providing information about all\nconnections used by all sessions.") iscsiTgtLgnNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 21)).setObjects(*(("ISCSI-MIB", "iscsiTgtLoginFailure"), ) ) if mibBuilder.loadTexts: iscsiTgtLgnNotificationsGroup.setDescription("A collection of notifications that indicate a login\nfailure from a remote initiator to a local target.") iscsiIntrLgnNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 22)).setObjects(*(("ISCSI-MIB", "iscsiIntrLoginFailure"), ) ) if mibBuilder.loadTexts: iscsiIntrLgnNotificationsGroup.setDescription("A collection of notifications that indicate a login\nfailure from a local initiator to a remote target.") iscsiSsnFlrNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 142, 2, 2, 23)).setObjects(*(("ISCSI-MIB", "iscsiInstSessionFailure"), ) ) if mibBuilder.loadTexts: iscsiSsnFlrNotificationsGroup.setDescription("A collection of notifications that indicate session\nfailures occurring after login.") # Compliances iscsiComplianceV1 = ModuleCompliance((1, 3, 6, 1, 2, 1, 142, 2, 1, 1)).setObjects(*(("ISCSI-MIB", "iscsiInstanceAttributesGroup"), ("ISCSI-MIB", "iscsiSessionLCOctetStatsGroup"), ("ISCSI-MIB", "iscsiNodeAttributesGroup"), ("ISCSI-MIB", "iscsiTargetLogoutStatsGroup"), ("ISCSI-MIB", "iscsiSessionPDUStatsGroup"), ("ISCSI-MIB", "iscsiSessionAttributesGroup"), ("ISCSI-MIB", "iscsiInitiatorLogoutStatsGroup"), ("ISCSI-MIB", "iscsiInitiatorAttributesGroup"), ("ISCSI-MIB", "iscsiSsnFlrNotificationsGroup"), ("ISCSI-MIB", "iscsiTgtPortalAttributesGroup"), ("ISCSI-MIB", "iscsiSessionCxnErrorStatsGroup"), ("ISCSI-MIB", "iscsiPortalAttributesGroup"), ("ISCSI-MIB", "iscsiInitiatorLoginStatsGroup"), ("ISCSI-MIB", "iscsiConnectionAttributesGroup"), ("ISCSI-MIB", "iscsiIntrLgnNotificationsGroup"), ("ISCSI-MIB", "iscsiInstanceSsnErrorStatsGroup"), ("ISCSI-MIB", "iscsiTgtLgnNotificationsGroup"), ("ISCSI-MIB", "iscsiSessionOctetStatsGroup"), ("ISCSI-MIB", "iscsiTargetAttributesGroup"), ("ISCSI-MIB", "iscsiTargetLoginStatsGroup"), ("ISCSI-MIB", "iscsiIntrPortalAttributesGroup"), ("ISCSI-MIB", "iscsiInitiatorAuthGroup"), ("ISCSI-MIB", "iscsiTargetAuthGroup"), ) ) if mibBuilder.loadTexts: iscsiComplianceV1.setDescription("Initial version of compliance statement based on\ninitial version of this MIB module.\n\nIf an implementation can be both a target and an\ninitiator, all groups are mandatory.") # Exports # Module identity mibBuilder.exportSymbols("ISCSI-MIB", PYSNMP_MODULE_ID=iscsiMibModule) # Types mibBuilder.exportSymbols("ISCSI-MIB", IscsiDigestMethod=IscsiDigestMethod, IscsiName=IscsiName, IscsiTransportProtocol=IscsiTransportProtocol) # Objects mibBuilder.exportSymbols("ISCSI-MIB", iscsiMibModule=iscsiMibModule, iscsiNotifications=iscsiNotifications, iscsiObjects=iscsiObjects, iscsiInstance=iscsiInstance, iscsiInstanceAttributesTable=iscsiInstanceAttributesTable, iscsiInstanceAttributesEntry=iscsiInstanceAttributesEntry, iscsiInstIndex=iscsiInstIndex, iscsiInstDescr=iscsiInstDescr, iscsiInstVersionMin=iscsiInstVersionMin, iscsiInstVersionMax=iscsiInstVersionMax, iscsiInstVendorID=iscsiInstVendorID, iscsiInstVendorVersion=iscsiInstVendorVersion, iscsiInstPortalNumber=iscsiInstPortalNumber, iscsiInstNodeNumber=iscsiInstNodeNumber, iscsiInstSessionNumber=iscsiInstSessionNumber, iscsiInstSsnFailures=iscsiInstSsnFailures, iscsiInstLastSsnFailureType=iscsiInstLastSsnFailureType, iscsiInstLastSsnRmtNodeName=iscsiInstLastSsnRmtNodeName, iscsiInstDiscontinuityTime=iscsiInstDiscontinuityTime, iscsiInstanceSsnErrorStatsTable=iscsiInstanceSsnErrorStatsTable, iscsiInstanceSsnErrorStatsEntry=iscsiInstanceSsnErrorStatsEntry, iscsiInstSsnDigestErrors=iscsiInstSsnDigestErrors, iscsiInstSsnCxnTimeoutErrors=iscsiInstSsnCxnTimeoutErrors, iscsiInstSsnFormatErrors=iscsiInstSsnFormatErrors, iscsiPortal=iscsiPortal, iscsiPortalAttributesTable=iscsiPortalAttributesTable, iscsiPortalAttributesEntry=iscsiPortalAttributesEntry, iscsiPortalIndex=iscsiPortalIndex, iscsiPortalRowStatus=iscsiPortalRowStatus, iscsiPortalRoles=iscsiPortalRoles, iscsiPortalAddrType=iscsiPortalAddrType, iscsiPortalAddr=iscsiPortalAddr, iscsiPortalProtocol=iscsiPortalProtocol, iscsiPortalMaxRecvDataSegLength=iscsiPortalMaxRecvDataSegLength, iscsiPortalPrimaryHdrDigest=iscsiPortalPrimaryHdrDigest, iscsiPortalPrimaryDataDigest=iscsiPortalPrimaryDataDigest, iscsiPortalSecondaryHdrDigest=iscsiPortalSecondaryHdrDigest, iscsiPortalSecondaryDataDigest=iscsiPortalSecondaryDataDigest, iscsiPortalRecvMarker=iscsiPortalRecvMarker, iscsiPortalStorageType=iscsiPortalStorageType, iscsiTargetPortal=iscsiTargetPortal, iscsiTgtPortalAttributesTable=iscsiTgtPortalAttributesTable, iscsiTgtPortalAttributesEntry=iscsiTgtPortalAttributesEntry, iscsiTgtPortalNodeIndexOrZero=iscsiTgtPortalNodeIndexOrZero, iscsiTgtPortalPort=iscsiTgtPortalPort, iscsiTgtPortalTag=iscsiTgtPortalTag, iscsiInitiatorPortal=iscsiInitiatorPortal, iscsiIntrPortalAttributesTable=iscsiIntrPortalAttributesTable, iscsiIntrPortalAttributesEntry=iscsiIntrPortalAttributesEntry, iscsiIntrPortalNodeIndexOrZero=iscsiIntrPortalNodeIndexOrZero, iscsiIntrPortalTag=iscsiIntrPortalTag, iscsiNode=iscsiNode, iscsiNodeAttributesTable=iscsiNodeAttributesTable, iscsiNodeAttributesEntry=iscsiNodeAttributesEntry, iscsiNodeIndex=iscsiNodeIndex, iscsiNodeName=iscsiNodeName, iscsiNodeAlias=iscsiNodeAlias, iscsiNodeRoles=iscsiNodeRoles, iscsiNodeTransportType=iscsiNodeTransportType, iscsiNodeInitialR2T=iscsiNodeInitialR2T, iscsiNodeImmediateData=iscsiNodeImmediateData, iscsiNodeMaxOutstandingR2T=iscsiNodeMaxOutstandingR2T, iscsiNodeFirstBurstLength=iscsiNodeFirstBurstLength, iscsiNodeMaxBurstLength=iscsiNodeMaxBurstLength, iscsiNodeMaxConnections=iscsiNodeMaxConnections, iscsiNodeDataSequenceInOrder=iscsiNodeDataSequenceInOrder, iscsiNodeDataPDUInOrder=iscsiNodeDataPDUInOrder, iscsiNodeDefaultTime2Wait=iscsiNodeDefaultTime2Wait, iscsiNodeDefaultTime2Retain=iscsiNodeDefaultTime2Retain, iscsiNodeErrorRecoveryLevel=iscsiNodeErrorRecoveryLevel, iscsiNodeDiscontinuityTime=iscsiNodeDiscontinuityTime, iscsiNodeStorageType=iscsiNodeStorageType, iscsiTarget=iscsiTarget, iscsiTargetAttributesTable=iscsiTargetAttributesTable, iscsiTargetAttributesEntry=iscsiTargetAttributesEntry, iscsiTgtLoginFailures=iscsiTgtLoginFailures, iscsiTgtLastFailureTime=iscsiTgtLastFailureTime, iscsiTgtLastFailureType=iscsiTgtLastFailureType, iscsiTgtLastIntrFailureName=iscsiTgtLastIntrFailureName, iscsiTgtLastIntrFailureAddrType=iscsiTgtLastIntrFailureAddrType, iscsiTgtLastIntrFailureAddr=iscsiTgtLastIntrFailureAddr, iscsiTargetLoginStatsTable=iscsiTargetLoginStatsTable, iscsiTargetLoginStatsEntry=iscsiTargetLoginStatsEntry, iscsiTgtLoginAccepts=iscsiTgtLoginAccepts, iscsiTgtLoginOtherFails=iscsiTgtLoginOtherFails, iscsiTgtLoginRedirects=iscsiTgtLoginRedirects, iscsiTgtLoginAuthorizeFails=iscsiTgtLoginAuthorizeFails, iscsiTgtLoginAuthenticateFails=iscsiTgtLoginAuthenticateFails, iscsiTgtLoginNegotiateFails=iscsiTgtLoginNegotiateFails, iscsiTargetLogoutStatsTable=iscsiTargetLogoutStatsTable, iscsiTargetLogoutStatsEntry=iscsiTargetLogoutStatsEntry, iscsiTgtLogoutNormals=iscsiTgtLogoutNormals, iscsiTgtLogoutOthers=iscsiTgtLogoutOthers, iscsiTgtAuthorization=iscsiTgtAuthorization, iscsiTgtAuthAttributesTable=iscsiTgtAuthAttributesTable, iscsiTgtAuthAttributesEntry=iscsiTgtAuthAttributesEntry, iscsiTgtAuthIndex=iscsiTgtAuthIndex, iscsiTgtAuthRowStatus=iscsiTgtAuthRowStatus, iscsiTgtAuthIdentity=iscsiTgtAuthIdentity, iscsiTgtAuthStorageType=iscsiTgtAuthStorageType, iscsiInitiator=iscsiInitiator, iscsiInitiatorAttributesTable=iscsiInitiatorAttributesTable, iscsiInitiatorAttributesEntry=iscsiInitiatorAttributesEntry, iscsiIntrLoginFailures=iscsiIntrLoginFailures, iscsiIntrLastFailureTime=iscsiIntrLastFailureTime, iscsiIntrLastFailureType=iscsiIntrLastFailureType, iscsiIntrLastTgtFailureName=iscsiIntrLastTgtFailureName, iscsiIntrLastTgtFailureAddrType=iscsiIntrLastTgtFailureAddrType, iscsiIntrLastTgtFailureAddr=iscsiIntrLastTgtFailureAddr, iscsiInitiatorLoginStatsTable=iscsiInitiatorLoginStatsTable, iscsiInitiatorLoginStatsEntry=iscsiInitiatorLoginStatsEntry, iscsiIntrLoginAcceptRsps=iscsiIntrLoginAcceptRsps, iscsiIntrLoginOtherFailRsps=iscsiIntrLoginOtherFailRsps, iscsiIntrLoginRedirectRsps=iscsiIntrLoginRedirectRsps, iscsiIntrLoginAuthFailRsps=iscsiIntrLoginAuthFailRsps, iscsiIntrLoginAuthenticateFails=iscsiIntrLoginAuthenticateFails, iscsiIntrLoginNegotiateFails=iscsiIntrLoginNegotiateFails, iscsiInitiatorLogoutStatsTable=iscsiInitiatorLogoutStatsTable, iscsiInitiatorLogoutStatsEntry=iscsiInitiatorLogoutStatsEntry, iscsiIntrLogoutNormals=iscsiIntrLogoutNormals, iscsiIntrLogoutOthers=iscsiIntrLogoutOthers, iscsiIntrAuthorization=iscsiIntrAuthorization, iscsiIntrAuthAttributesTable=iscsiIntrAuthAttributesTable, iscsiIntrAuthAttributesEntry=iscsiIntrAuthAttributesEntry, iscsiIntrAuthIndex=iscsiIntrAuthIndex, iscsiIntrAuthRowStatus=iscsiIntrAuthRowStatus) mibBuilder.exportSymbols("ISCSI-MIB", iscsiIntrAuthIdentity=iscsiIntrAuthIdentity, iscsiIntrAuthStorageType=iscsiIntrAuthStorageType, iscsiSession=iscsiSession, iscsiSessionAttributesTable=iscsiSessionAttributesTable, iscsiSessionAttributesEntry=iscsiSessionAttributesEntry, iscsiSsnNodeIndex=iscsiSsnNodeIndex, iscsiSsnIndex=iscsiSsnIndex, iscsiSsnDirection=iscsiSsnDirection, iscsiSsnInitiatorName=iscsiSsnInitiatorName, iscsiSsnTargetName=iscsiSsnTargetName, iscsiSsnTSIH=iscsiSsnTSIH, iscsiSsnISID=iscsiSsnISID, iscsiSsnInitiatorAlias=iscsiSsnInitiatorAlias, iscsiSsnTargetAlias=iscsiSsnTargetAlias, iscsiSsnInitialR2T=iscsiSsnInitialR2T, iscsiSsnImmediateData=iscsiSsnImmediateData, iscsiSsnType=iscsiSsnType, iscsiSsnMaxOutstandingR2T=iscsiSsnMaxOutstandingR2T, iscsiSsnFirstBurstLength=iscsiSsnFirstBurstLength, iscsiSsnMaxBurstLength=iscsiSsnMaxBurstLength, iscsiSsnConnectionNumber=iscsiSsnConnectionNumber, iscsiSsnAuthIdentity=iscsiSsnAuthIdentity, iscsiSsnDataSequenceInOrder=iscsiSsnDataSequenceInOrder, iscsiSsnDataPDUInOrder=iscsiSsnDataPDUInOrder, iscsiSsnErrorRecoveryLevel=iscsiSsnErrorRecoveryLevel, iscsiSsnDiscontinuityTime=iscsiSsnDiscontinuityTime, iscsiSessionStatsTable=iscsiSessionStatsTable, iscsiSessionStatsEntry=iscsiSessionStatsEntry, iscsiSsnCmdPDUs=iscsiSsnCmdPDUs, iscsiSsnRspPDUs=iscsiSsnRspPDUs, iscsiSsnTxDataOctets=iscsiSsnTxDataOctets, iscsiSsnRxDataOctets=iscsiSsnRxDataOctets, iscsiSsnLCTxDataOctets=iscsiSsnLCTxDataOctets, iscsiSsnLCRxDataOctets=iscsiSsnLCRxDataOctets, iscsiSessionCxnErrorStatsTable=iscsiSessionCxnErrorStatsTable, iscsiSessionCxnErrorStatsEntry=iscsiSessionCxnErrorStatsEntry, iscsiSsnCxnDigestErrors=iscsiSsnCxnDigestErrors, iscsiSsnCxnTimeoutErrors=iscsiSsnCxnTimeoutErrors, iscsiConnection=iscsiConnection, iscsiConnectionAttributesTable=iscsiConnectionAttributesTable, iscsiConnectionAttributesEntry=iscsiConnectionAttributesEntry, iscsiCxnIndex=iscsiCxnIndex, iscsiCxnCid=iscsiCxnCid, iscsiCxnState=iscsiCxnState, iscsiCxnAddrType=iscsiCxnAddrType, iscsiCxnLocalAddr=iscsiCxnLocalAddr, iscsiCxnProtocol=iscsiCxnProtocol, iscsiCxnLocalPort=iscsiCxnLocalPort, iscsiCxnRemoteAddr=iscsiCxnRemoteAddr, iscsiCxnRemotePort=iscsiCxnRemotePort, iscsiCxnMaxRecvDataSegLength=iscsiCxnMaxRecvDataSegLength, iscsiCxnMaxXmitDataSegLength=iscsiCxnMaxXmitDataSegLength, iscsiCxnHeaderIntegrity=iscsiCxnHeaderIntegrity, iscsiCxnDataIntegrity=iscsiCxnDataIntegrity, iscsiCxnRecvMarker=iscsiCxnRecvMarker, iscsiCxnSendMarker=iscsiCxnSendMarker, iscsiCxnVersionActive=iscsiCxnVersionActive, iscsiConformance=iscsiConformance, iscsiCompliances=iscsiCompliances, iscsiGroups=iscsiGroups, iscsiAdmin=iscsiAdmin, iscsiDescriptors=iscsiDescriptors, iscsiHeaderIntegrityTypes=iscsiHeaderIntegrityTypes, iscsiHdrIntegrityNone=iscsiHdrIntegrityNone, iscsiHdrIntegrityCrc32c=iscsiHdrIntegrityCrc32c, iscsiDataIntegrityTypes=iscsiDataIntegrityTypes, iscsiDataIntegrityNone=iscsiDataIntegrityNone, iscsiDataIntegrityCrc32c=iscsiDataIntegrityCrc32c) # Notifications mibBuilder.exportSymbols("ISCSI-MIB", iscsiTgtLoginFailure=iscsiTgtLoginFailure, iscsiIntrLoginFailure=iscsiIntrLoginFailure, iscsiInstSessionFailure=iscsiInstSessionFailure) # Groups mibBuilder.exportSymbols("ISCSI-MIB", iscsiInstanceAttributesGroup=iscsiInstanceAttributesGroup, iscsiInstanceSsnErrorStatsGroup=iscsiInstanceSsnErrorStatsGroup, iscsiPortalAttributesGroup=iscsiPortalAttributesGroup, iscsiTgtPortalAttributesGroup=iscsiTgtPortalAttributesGroup, iscsiIntrPortalAttributesGroup=iscsiIntrPortalAttributesGroup, iscsiNodeAttributesGroup=iscsiNodeAttributesGroup, iscsiTargetAttributesGroup=iscsiTargetAttributesGroup, iscsiTargetLoginStatsGroup=iscsiTargetLoginStatsGroup, iscsiTargetLogoutStatsGroup=iscsiTargetLogoutStatsGroup, iscsiTargetAuthGroup=iscsiTargetAuthGroup, iscsiInitiatorAttributesGroup=iscsiInitiatorAttributesGroup, iscsiInitiatorLoginStatsGroup=iscsiInitiatorLoginStatsGroup, iscsiInitiatorLogoutStatsGroup=iscsiInitiatorLogoutStatsGroup, iscsiInitiatorAuthGroup=iscsiInitiatorAuthGroup, iscsiSessionAttributesGroup=iscsiSessionAttributesGroup, iscsiSessionPDUStatsGroup=iscsiSessionPDUStatsGroup, iscsiSessionOctetStatsGroup=iscsiSessionOctetStatsGroup, iscsiSessionLCOctetStatsGroup=iscsiSessionLCOctetStatsGroup, iscsiSessionCxnErrorStatsGroup=iscsiSessionCxnErrorStatsGroup, iscsiConnectionAttributesGroup=iscsiConnectionAttributesGroup, iscsiTgtLgnNotificationsGroup=iscsiTgtLgnNotificationsGroup, iscsiIntrLgnNotificationsGroup=iscsiIntrLgnNotificationsGroup, iscsiSsnFlrNotificationsGroup=iscsiSsnFlrNotificationsGroup) # Compliances mibBuilder.exportSymbols("ISCSI-MIB", iscsiComplianceV1=iscsiComplianceV1) pysnmp-mibs-0.1.3/pysnmp_mibs/RADIUS-DYNAUTH-SERVER-MIB.py0000644000014400001440000006132511736645137022552 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python RADIUS-DYNAUTH-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:31 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") # Objects radiusDynAuthServerMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 146)).setRevisions(("2006-08-29 00:00",)) if mibBuilder.loadTexts: radiusDynAuthServerMIB.setOrganization("IETF RADEXT Working Group") if mibBuilder.loadTexts: radiusDynAuthServerMIB.setContactInfo(" Stefaan De Cnodder\nAlcatel\nFrancis Wellesplein 1\nB-2018 Antwerp\nBelgium\n\nPhone: +32 3 240 85 15\nEMail: stefaan.de_cnodder@alcatel.be\n\nNagi Reddy Jonnala\nCisco Systems, Inc.\nDivyasree Chambers, B Wing,\nO'Shaugnessy Road,\nBangalore-560027, India.\n\nPhone: +91 94487 60828\nEMail: njonnala@cisco.com\n\nMurtaza Chiba\nCisco Systems, Inc.\n170 West Tasman Dr.\nSan Jose CA, 95134\n\nPhone: +1 408 525 7198\nEMail: mchiba@cisco.com ") if mibBuilder.loadTexts: radiusDynAuthServerMIB.setDescription("The MIB module for entities implementing the server\nside of the Dynamic Authorization Extensions to the\nRemote Authentication Dial-In User Service (RADIUS)\nprotocol. Copyright (C) The Internet Society (2006).\n\n\n\nInitial version as published in RFC 4673; for full\nlegal notices see the RFC itself.") radiusDynAuthServerMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 146, 1)) radiusDynAuthServerScalars = MibIdentifier((1, 3, 6, 1, 2, 1, 146, 1, 1)) radiusDynAuthServerDisconInvalidClientAddresses = MibScalar((1, 3, 6, 1, 2, 1, 146, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerDisconInvalidClientAddresses.setDescription("The number of Disconnect-Request packets received from\nunknown addresses. This counter may experience a\ndiscontinuity when the DAS module (re)starts, as\nindicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServerCoAInvalidClientAddresses = MibScalar((1, 3, 6, 1, 2, 1, 146, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerCoAInvalidClientAddresses.setDescription("The number of CoA-Request packets received from unknown\naddresses. This counter may experience a discontinuity\nwhen the DAS module (re)starts, as indicated by the\nvalue of radiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServerIdentifier = MibScalar((1, 3, 6, 1, 2, 1, 146, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerIdentifier.setDescription("The NAS-Identifier of the RADIUS Dynamic Authorization\nServer. This is not necessarily the same as sysName in\nMIB II.") radiusDynAuthClientTable = MibTable((1, 3, 6, 1, 2, 1, 146, 1, 2)) if mibBuilder.loadTexts: radiusDynAuthClientTable.setDescription("The (conceptual) table listing the RADIUS Dynamic\nAuthorization Clients with which the server shares a\nsecret.") radiusDynAuthClientEntry = MibTableRow((1, 3, 6, 1, 2, 1, 146, 1, 2, 1)).setIndexNames((0, "RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthClientIndex")) if mibBuilder.loadTexts: radiusDynAuthClientEntry.setDescription("An entry (conceptual row) representing one Dynamic\nAuthorization Client with which the server shares a\nsecret.") radiusDynAuthClientIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: radiusDynAuthClientIndex.setDescription("A number uniquely identifying each RADIUS Dynamic\nAuthorization Client with which this Dynamic\nAuthorization Server communicates. This number is\nallocated by the agent implementing this MIB module\nand is unique in this context.") radiusDynAuthClientAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientAddressType.setDescription("The type of IP address of the RADIUS Dynamic\nAuthorization Client referred to in this table entry.") radiusDynAuthClientAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 3), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthClientAddress.setDescription("The IP address value of the RADIUS Dynamic\nAuthorization Client referred to in this table entry,\nusing the version neutral IP address format. The type\nof this address is determined by the value of\nthe radiusDynAuthClientAddressType object.") radiusDynAuthServDisconRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconRequests.setDescription("The number of RADIUS Disconnect-Requests received\nfrom this Dynamic Authorization Client. This also\nincludes the RADIUS Disconnect-Requests that have a\nService-Type attribute with value 'Authorize Only'.\nThis counter may experience a discontinuity when the\n\n\n\nDAS module (re)starts as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconAuthOnlyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconAuthOnlyRequests.setDescription("The number of RADIUS Disconnect-Requests that include\na Service-Type attribute with value 'Authorize Only'\nreceived from this Dynamic Authorization Client. This\ncounter may experience a discontinuity when the DAS\nmodule (re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDupDisconRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDupDisconRequests.setDescription("The number of duplicate RADIUS Disconnect-Request\npackets received from this Dynamic Authorization\nClient. This counter may experience a discontinuity\nwhen the DAS module (re)starts, as indicated by the\nvalue of radiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconAcks.setDescription("The number of RADIUS Disconnect-ACK packets sent to\nthis Dynamic Authorization Client. This counter may\nexperience a discontinuity when the DAS module\n(re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconNaks = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconNaks.setDescription("The number of RADIUS Disconnect-NAK packets\nsent to this Dynamic Authorization Client. This\nincludes the RADIUS Disconnect-NAK packets sent\nwith a Service-Type attribute with value 'Authorize\nOnly' and the RADIUS Disconnect-NAK packets sent\nbecause no session context was found. This counter\nmay experience a discontinuity when the DAS module\n(re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconNakAuthOnlyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconNakAuthOnlyRequests.setDescription("The number of RADIUS Disconnect-NAK packets that\ninclude a Service-Type attribute with value\n'Authorize Only' sent to this Dynamic Authorization\nClient. This counter may experience a discontinuity\nwhen the DAS module (re)starts, as indicated by the\nvalue of radiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconNakSessNoContext = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconNakSessNoContext.setDescription("The number of RADIUS Disconnect-NAK packets\nsent to this Dynamic Authorization Client\nbecause no session context was found. This counter may\n\n\n\nexperience a discontinuity when the DAS module\n(re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconUserSessRemoved = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconUserSessRemoved.setDescription("The number of user sessions removed for the\nDisconnect-Requests received from this\nDynamic Authorization Client. Depending on site-\nspecific policies, a single Disconnect request\ncan remove multiple user sessions. In cases where\nthis Dynamic Authorization Server has no\nknowledge of the number of user sessions that\nare affected by a single request, each such\nDisconnect-Request will count as a single\naffected user session only. This counter may experience\na discontinuity when the DAS module (re)starts, as\nindicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServMalformedDisconRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServMalformedDisconRequests.setDescription("The number of malformed RADIUS Disconnect-Request\npackets received from this Dynamic Authorization\nClient. Bad authenticators and unknown types are not\nincluded as malformed Disconnect-Requests. This counter\nmay experience a discontinuity when the DAS module\n(re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconBadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconBadAuthenticators.setDescription("The number of RADIUS Disconnect-Request packets\nthat contained an invalid Authenticator field\nreceived from this Dynamic Authorization Client. This\ncounter may experience a discontinuity when the DAS\nmodule (re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDisconPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDisconPacketsDropped.setDescription("The number of incoming Disconnect-Requests\nfrom this Dynamic Authorization Client silently\ndiscarded by the server application for some reason\nother than malformed, bad authenticators, or unknown\ntypes. This counter may experience a discontinuity\nwhen the DAS module (re)starts, as indicated by the\nvalue of radiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoARequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoARequests.setDescription("The number of RADIUS CoA-requests received from this\nDynamic Authorization Client. This also includes\nthe CoA requests that have a Service-Type attribute\nwith value 'Authorize Only'. This counter may\nexperience a discontinuity when the DAS module\n(re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoAAuthOnlyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoAAuthOnlyRequests.setDescription("The number of RADIUS CoA-requests that include a\nService-Type attribute with value 'Authorize Only'\nreceived from this Dynamic Authorization Client. This\ncounter may experience a discontinuity when the DAS\nmodule (re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServDupCoARequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServDupCoARequests.setDescription("The number of duplicate RADIUS CoA-Request packets\nreceived from this Dynamic Authorization Client. This\ncounter may experience a discontinuity when the DAS\nmodule (re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoAAcks = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoAAcks.setDescription("The number of RADIUS CoA-ACK packets sent to this\nDynamic Authorization Client. This counter may\nexperience a discontinuity when the DAS module\n\n\n\n(re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoANaks = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoANaks.setDescription("The number of RADIUS CoA-NAK packets sent to\nthis Dynamic Authorization Client. This includes\nthe RADIUS CoA-NAK packets sent with a Service-Type\nattribute with value 'Authorize Only' and the RADIUS\nCoA-NAK packets sent because no session context was\nfound. This counter may experience a discontinuity\nwhen the DAS module (re)starts, as indicated by the\nvalue of radiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoANakAuthOnlyRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoANakAuthOnlyRequests.setDescription("The number of RADIUS CoA-NAK packets that include a\nService-Type attribute with value 'Authorize Only'\nsent to this Dynamic Authorization Client. This counter\nmay experience a discontinuity when the DAS module\n(re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoANakSessNoContext = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoANakSessNoContext.setDescription("The number of RADIUS CoA-NAK packets sent to this\nDynamic Authorization Client because no session context\nwas found. This counter may experience a discontinuity\nwhen the DAS module (re)starts, as indicated by the\nvalue of radiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoAUserSessChanged = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoAUserSessChanged.setDescription("The number of user sessions authorization\nchanged for the CoA-Requests received from this\nDynamic Authorization Client. Depending on site-\nspecific policies, a single CoA request can change\nmultiple user sessions' authorization. In cases where\nthis Dynamic Authorization Server has no knowledge of\nthe number of user sessions that are affected by a\nsingle request, each such CoA-Request will\ncount as a single affected user session only. This\ncounter may experience a discontinuity when the DAS\nmodule (re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServMalformedCoARequests = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServMalformedCoARequests.setDescription("The number of malformed RADIUS CoA-Request packets\nreceived from this Dynamic Authorization Client. Bad\nauthenticators and unknown types are not included as\nmalformed CoA-Requests. This counter may experience a\ndiscontinuity when the DAS module (re)starts, as\nindicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoABadAuthenticators = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoABadAuthenticators.setDescription("The number of RADIUS CoA-Request packets that\ncontained an invalid Authenticator field received\nfrom this Dynamic Authorization Client. This counter\nmay experience a discontinuity when the DAS module\n(re)starts, as indicated by the value of\n radiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServCoAPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServCoAPacketsDropped.setDescription("The number of incoming CoA packets from this\nDynamic Authorization Client silently discarded\nby the server application for some reason other than\nmalformed, bad authenticators, or unknown types. This\ncounter may experience a discontinuity when the DAS\nmodule (re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServUnknownTypes = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServUnknownTypes.setDescription("The number of incoming packets of unknown types that\nwere received on the Dynamic Authorization port. This\ncounter may experience a discontinuity when the DAS\n\n\n\nmodule (re)starts, as indicated by the value of\nradiusDynAuthServerCounterDiscontinuity.") radiusDynAuthServerCounterDiscontinuity = MibTableColumn((1, 3, 6, 1, 2, 1, 146, 1, 2, 1, 27), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusDynAuthServerCounterDiscontinuity.setDescription("The time (in hundredths of a second) since the\nlast counter discontinuity. A discontinuity may\nbe the result of a reinitialization of the DAS\nmodule within the managed entity.") radiusDynAuthServerMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 146, 2)) radiusDynAuthServerMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 146, 2, 1)) radiusDynAuthServerMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 146, 2, 2)) # Augmentions # Groups radiusDynAuthServerMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 146, 2, 2, 1)).setObjects(*(("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconPacketsDropped"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconUserSessRemoved"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServMalformedDisconRequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoABadAuthenticators"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthClientAddressType"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServMalformedCoARequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconBadAuthenticators"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServerCoAInvalidClientAddresses"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconAcks"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServerCounterDiscontinuity"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoAAcks"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoANaks"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDupDisconRequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDupCoARequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServUnknownTypes"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthClientAddress"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServerIdentifier"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoAPacketsDropped"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoARequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoAUserSessChanged"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServerDisconInvalidClientAddresses"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconRequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconNaks"), ) ) if mibBuilder.loadTexts: radiusDynAuthServerMIBGroup.setDescription("The collection of objects providing management of\na RADIUS Dynamic Authorization Server.") radiusDynAuthServerAuthOnlyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 146, 2, 2, 2)).setObjects(*(("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconNakAuthOnlyRequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoAAuthOnlyRequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoANakAuthOnlyRequests"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconAuthOnlyRequests"), ) ) if mibBuilder.loadTexts: radiusDynAuthServerAuthOnlyGroup.setDescription("The collection of objects supporting the RADIUS\nmessages including Service-Type attribute with\nvalue 'Authorize Only'.") radiusDynAuthServerNoSessGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 146, 2, 2, 3)).setObjects(*(("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServDisconNakSessNoContext"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServCoANakSessNoContext"), ) ) if mibBuilder.loadTexts: radiusDynAuthServerNoSessGroup.setDescription("The collection of objects supporting the RADIUS\nmessages that are referring to non-existing sessions.") # Compliances radiusAuthServerMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 146, 2, 1, 1)).setObjects(*(("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServerAuthOnlyGroup"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServerMIBGroup"), ("RADIUS-DYNAUTH-SERVER-MIB", "radiusDynAuthServerNoSessGroup"), ) ) if mibBuilder.loadTexts: radiusAuthServerMIBCompliance.setDescription("The compliance statement for entities implementing\nthe RADIUS Dynamic Authorization Server. Implementation\nof this module is for entities that support IPv4 and/or\nIPv6.") # Exports # Module identity mibBuilder.exportSymbols("RADIUS-DYNAUTH-SERVER-MIB", PYSNMP_MODULE_ID=radiusDynAuthServerMIB) # Objects mibBuilder.exportSymbols("RADIUS-DYNAUTH-SERVER-MIB", radiusDynAuthServerMIB=radiusDynAuthServerMIB, radiusDynAuthServerMIBObjects=radiusDynAuthServerMIBObjects, radiusDynAuthServerScalars=radiusDynAuthServerScalars, radiusDynAuthServerDisconInvalidClientAddresses=radiusDynAuthServerDisconInvalidClientAddresses, radiusDynAuthServerCoAInvalidClientAddresses=radiusDynAuthServerCoAInvalidClientAddresses, radiusDynAuthServerIdentifier=radiusDynAuthServerIdentifier, radiusDynAuthClientTable=radiusDynAuthClientTable, radiusDynAuthClientEntry=radiusDynAuthClientEntry, radiusDynAuthClientIndex=radiusDynAuthClientIndex, radiusDynAuthClientAddressType=radiusDynAuthClientAddressType, radiusDynAuthClientAddress=radiusDynAuthClientAddress, radiusDynAuthServDisconRequests=radiusDynAuthServDisconRequests, radiusDynAuthServDisconAuthOnlyRequests=radiusDynAuthServDisconAuthOnlyRequests, radiusDynAuthServDupDisconRequests=radiusDynAuthServDupDisconRequests, radiusDynAuthServDisconAcks=radiusDynAuthServDisconAcks, radiusDynAuthServDisconNaks=radiusDynAuthServDisconNaks, radiusDynAuthServDisconNakAuthOnlyRequests=radiusDynAuthServDisconNakAuthOnlyRequests, radiusDynAuthServDisconNakSessNoContext=radiusDynAuthServDisconNakSessNoContext, radiusDynAuthServDisconUserSessRemoved=radiusDynAuthServDisconUserSessRemoved, radiusDynAuthServMalformedDisconRequests=radiusDynAuthServMalformedDisconRequests, radiusDynAuthServDisconBadAuthenticators=radiusDynAuthServDisconBadAuthenticators, radiusDynAuthServDisconPacketsDropped=radiusDynAuthServDisconPacketsDropped, radiusDynAuthServCoARequests=radiusDynAuthServCoARequests, radiusDynAuthServCoAAuthOnlyRequests=radiusDynAuthServCoAAuthOnlyRequests, radiusDynAuthServDupCoARequests=radiusDynAuthServDupCoARequests, radiusDynAuthServCoAAcks=radiusDynAuthServCoAAcks, radiusDynAuthServCoANaks=radiusDynAuthServCoANaks, radiusDynAuthServCoANakAuthOnlyRequests=radiusDynAuthServCoANakAuthOnlyRequests, radiusDynAuthServCoANakSessNoContext=radiusDynAuthServCoANakSessNoContext, radiusDynAuthServCoAUserSessChanged=radiusDynAuthServCoAUserSessChanged, radiusDynAuthServMalformedCoARequests=radiusDynAuthServMalformedCoARequests, radiusDynAuthServCoABadAuthenticators=radiusDynAuthServCoABadAuthenticators, radiusDynAuthServCoAPacketsDropped=radiusDynAuthServCoAPacketsDropped, radiusDynAuthServUnknownTypes=radiusDynAuthServUnknownTypes, radiusDynAuthServerCounterDiscontinuity=radiusDynAuthServerCounterDiscontinuity, radiusDynAuthServerMIBConformance=radiusDynAuthServerMIBConformance, radiusDynAuthServerMIBCompliances=radiusDynAuthServerMIBCompliances, radiusDynAuthServerMIBGroups=radiusDynAuthServerMIBGroups) # Groups mibBuilder.exportSymbols("RADIUS-DYNAUTH-SERVER-MIB", radiusDynAuthServerMIBGroup=radiusDynAuthServerMIBGroup, radiusDynAuthServerAuthOnlyGroup=radiusDynAuthServerAuthOnlyGroup, radiusDynAuthServerNoSessGroup=radiusDynAuthServerNoSessGroup) # Compliances mibBuilder.exportSymbols("RADIUS-DYNAUTH-SERVER-MIB", radiusAuthServerMIBCompliance=radiusAuthServerMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/APPN-TRAP-MIB.py0000644000014400001440000004570711736645135020753 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APPN-TRAP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # 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") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( 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=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 appnIsrAccountingDataTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 1)).setObjects(*(("APPN-MIB", "appnIsInSessUpTime"), ("APPN-MIB", "appnIsInS2PNonFmdPius"), ("APPN-MIB", "appnIsInP2SNonFmdPius"), ("APPN-MIB", "appnIsInP2SFmdBytes"), ("APPN-MIB", "appnIsInP2SFmdPius"), ("APPN-MIB", "appnIsInS2PNonFmdBytes"), ("APPN-MIB", "appnIsInS2PFmdBytes"), ("APPN-MIB", "appnIsInS2PFmdPius"), ("APPN-MIB", "appnIsInP2SNonFmdBytes"), ) ) if mibBuilder.loadTexts: appnIsrAccountingDataTrap.setDescription("When it has been enabled, this notification is generated by an\nAPPN node whenever an ISR session passing through the node is\ntaken down, regardless of whether the session went down\nnormally or abnormally. Its purpose is to allow a management\napplication (primarily an accounting application) that is\nmonitoring the ISR counts to receive the final values of these\ncounts, so that the application can properly account for the\namounts the counts were incremented since the last time the\napplication polled them. The appnIsInSessUpTime object\nprovides the total amount of time that the session was active.\n\nThis notification is not a substitute for polling the ISR\ncounts. In particular, the count values reported in this\nnotification cannot be assumed to be the complete totals for\nthe life of the session, since they may have wrapped while the\nsession was up.\n\nThe session to which the objects in this notification apply is\nidentified by the fully qualified CP name and PCID that make up\nthe table index. An instance of this notification will contain\nexactly one instance of each of its objects, and these objects\nwill all belong to the same conceptual row of the\nappnIsInTable.\n\nGeneration of this notification is controlled by the same\nobject in the APPN MIB, appnIsInGlobeCtrAdminStatus, that\ncontrols whether the count objects themselves are being\nincremented.") appnLocalTgOperStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 2)).setObjects(*(("APPN-TRAP-MIB", "appnLocalTgTableChanges"), ("APPN-MIB", "appnLocalTgOperational"), ) ) if mibBuilder.loadTexts: appnLocalTgOperStateChangeTrap.setDescription("When it has been enabled, this notification makes it possible\nfor an APPN topology application to get asynchronous\nnotifications of local TG operational state changes,\nand thus to reduce the frequency with which it polls\nfor these changes.\n\nThis notification is sent whenever there is a change to\nthe appnLocalTgOperational object in a row of the\nappnLocalTgTable. This notification is only sent for row\ncreation if the row is created with a value of 'true' for\nappnLocalTgOperational. This notification is only sent for\nrow deletion if the last value of appnLocalTgOperational was\n'true'. In this case, the value of appnLocalTgOperational\nin the notification shall be 'false', since the deletion of\na row indicates that the TG is no longer operational.\n\nThe notification is more than a simple 'poll me now' indication.\nIt carries both a count of local TG topology changes, and the\ncurrent operational state itself. The count of changes allows an\napplication to detect lost notifications, either when polling\nor upon receiving a subsequent notification, at which point it\nknows it must retrieve the entire appnLocalTgTable again.\nThis is the same count as used in the appnLocalCpCpStateChangeTrap.\nA lost notification could indicate a local TG CP-CP session state\nchange or an operational state change.\n\nGeneration of this notification is controlled by the\nappnTrapControl object.") appnLocalTgCpCpChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 3)).setObjects(*(("APPN-TRAP-MIB", "appnLocalTgTableChanges"), ("APPN-MIB", "appnLocalTgCpCpSession"), ) ) if mibBuilder.loadTexts: appnLocalTgCpCpChangeTrap.setDescription("When it has been enabled, this notification makes it possible\nfor an APPN topology application to get asynchronous\nnotifications of local TG control-point to control-point (CP-CP)\nsession state changes, and thus to reduce the\nfrequency with which it polls for these changes.\n\nThis notification is sent whenever there is a change to\nthe appnLocalTgCpCpSession object but NOT the\nappnLocalTgOperational object in a row of the appnLocalTgTable.\nThis notification is never sent for appnLocalTgTable row\ncreation or deletion.\n\nThe notification is more than a simple 'poll me now' indication.\nIt carries both a count of local TG topology changes, and the\ncurrent CP-CP session state itself. The count of changes allows\nan application to detect lost notifications, either when polling\nor upon receiving a subsequent notification, at which point it\nknows it must retrieve the entire appnLocalTgTable again. This\nis the same count as used in the appnLocalTgOperStateChangeTrap.\nA lost notification could indicate a local TG CP-CP session\nstate change or an operational state change.\n\nGeneration of this notification is controlled by the\nappnTrapControl object.") appnPortOperStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 4)).setObjects(*(("APPN-MIB", "appnPortOperState"), ("APPN-TRAP-MIB", "appnPortTableChanges"), ) ) if mibBuilder.loadTexts: appnPortOperStateChangeTrap.setDescription("When it has been enabled, this notification makes it possible\nfor an APPN topology application to get asynchronous\nnotifications of port operational state changes, and thus to\nreduce the frequency with which it polls for these changes.\nThis notification is only sent when a appnPortOperState has\ntransitioned to a value of 'active' or 'inactive'.\n\nThis notification is sent whenever there is a appnPortOperState\nobject transition to 'inactive' or 'active' state in the\nappnPortTable. This notification is only sent for row creation\nif the row is created with a value of 'active' for\nappnPortOperState. This notification is only sent for\nrow deletion if the last value of appnPortOperState was\n'active'. In this case, the value of appnPortOperState\nin the notification shall be 'inactive', since the deletion of\na row indicates that the port is no longer active.\n\nThe notification is more than a simple 'poll me now' indication.\nIt carries both a count of port table changes, and the\noperational state itself. The count of changes allows an\napplication to detect lost notifications, either when polling\nor upon receiving a subsequent notification, at which point\nit knows it must retrieve the entire appnPortTable again.\n\nGeneration of this notification is controlled by the\nappnTrapControl object.") appnLsOperStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 5)).setObjects(*(("APPN-MIB", "appnLsOperState"), ("APPN-TRAP-MIB", "appnLsTableChanges"), ) ) if mibBuilder.loadTexts: appnLsOperStateChangeTrap.setDescription("When it has been enabled, this notification makes it possible\nfor an APPN topology application to get asynchronous\nnotifications of link station operational state changes, and\nthus to reduce the frequency with which it polls for these\nchanges. This notification is only sent when a appnLsOperState\nhas transitioned to a value of 'active' or 'inactive'.\n\nThis notification is sent whenever there is a appnLsOperState\nobject transition to 'inactive' or 'active' state in the\nappnLsTable. This notification is only sent for row creation\nif the row is created with a value of 'active' for\nappnLsOperState. This notification is only sent for\nrow deletion if the last value of appnLsOperState was\n'active'. In this case, the value of appnLsOperState\nin the notification shall be 'inactive', since the deletion of\na row indicates that the link station is no longer active.\n\nThe notification is more than a simple 'poll me now' indication.\nIt carries both a count of link station table changes, and the\noperational state itself. The count of changes allows an\napplication to detect lost notifications, either when polling\nor upon receiving a subsequent notification, at which point it\nknows it must retrieve the entire appnLsTable again.\n\nGeneration of this notification is controlled by the\nappnTrapControl object.") dlurDlusStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 6)).setObjects(*(("APPN-DLUR-MIB", "dlurDlusSessnStatus"), ("APPN-TRAP-MIB", "dlurDlusTableChanges"), ) ) if mibBuilder.loadTexts: dlurDlusStateChangeTrap.setDescription("When it has been enabled, this notification makes it possible\nfor an APPN topology application to get asynchronous\nnotifications of DLUR-DLUS session changes, and thus to reduce\nthe frequency with which it polls for these changes.\n\nThis notification is sent whenever there is a dlurDlusSessnStatus\nobject transition to 'inactive' or 'active' state in the\ndlurDlusTable. This notification is only sent for row creation\nif the row is created with a value of 'active' for\ndlurDlusSessnStatus. This notification is only sent for\nrow deletion if the last value of dlurDlusSessnStatus was\n'active'. In this case, the value of dlurDlusSessnStatus\nin the notification shall be 'inactive', since the deletion of\na row indicates that the session is no longer active.\n\nThe notification is more than a simple 'poll me now' indication.\nIt carries both a count of DLUR-DLUS table changes, and the\nsession status itself. The count of changes allows an\napplication to detect lost notifications, either when polling\nor upon receiving a subsequent notification, at which point it\nknows it must retrieve the entire dlurDlusTable again.\n\nGeneration of this notification is controlled by the\nappnTrapControl object.") # Groups appnTrapMibIsrNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 21)).setObjects(*(("APPN-TRAP-MIB", "appnIsrAccountingDataTrap"), ) ) if mibBuilder.loadTexts: appnTrapMibIsrNotifGroup.setDescription("A notification for reporting the final values of the\nAPPN MIB's ISR counters.") 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"), ) ) if mibBuilder.loadTexts: appnTrapMibTopoConfGroup.setDescription("A collection of objects for reducing the polling\nassociated with the local topology tables in the\nAPPN MIB. Nodes that implement this group SHALL\nalso implement the appnTrapMibTopoNotifGroup.") 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"), ) ) if mibBuilder.loadTexts: appnTrapMibTopoNotifGroup.setDescription("A collection of notifications for reducing the polling\nassociated with the local topology tables in the\nAPPN MIB. Nodes that implement this group SHALL\nalso implement the appnTrapMibTopoConfGroup.") appnTrapMibDlurConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 24)).setObjects(*(("APPN-TRAP-MIB", "appnTrapControl"), ("APPN-TRAP-MIB", "dlurDlusTableChanges"), ) ) if mibBuilder.loadTexts: appnTrapMibDlurConfGroup.setDescription("A collection of objects for reducing the polling\nassociated with the dlurDlusTable in the DLUR\nMIB. Nodes that implement this group SHALL also\nimplement the appnTrapMibDlurNotifGroup.") appnTrapMibDlurNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 25)).setObjects(*(("APPN-TRAP-MIB", "dlurDlusStateChangeTrap"), ) ) if mibBuilder.loadTexts: appnTrapMibDlurNotifGroup.setDescription("A notification for reducing the polling associated\nwith the dlurDlusTable in the DLUR MIB. Nodes that\nimplement this group SHALL also implement the\nappnTrapMibDlurConfGroup.") # Compliances appnTrapMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 4, 3, 1, 2)).setObjects(*(("APPN-TRAP-MIB", "appnTrapMibDlurConfGroup"), ("APPN-TRAP-MIB", "appnTrapMibIsrNotifGroup"), ("APPN-TRAP-MIB", "appnTrapMibTopoNotifGroup"), ("APPN-TRAP-MIB", "appnTrapMibDlurNotifGroup"), ("APPN-TRAP-MIB", "appnTrapMibTopoConfGroup"), ) ) if mibBuilder.loadTexts: appnTrapMibCompliance.setDescription("The compliance statement for the SNMP entities that\nimplement the APPN-TRAP-MIB.") # 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", appnIsrAccountingDataTrap=appnIsrAccountingDataTrap, appnLocalTgOperStateChangeTrap=appnLocalTgOperStateChangeTrap, appnLocalTgCpCpChangeTrap=appnLocalTgCpCpChangeTrap, appnPortOperStateChangeTrap=appnPortOperStateChangeTrap, appnLsOperStateChangeTrap=appnLsOperStateChangeTrap, dlurDlusStateChangeTrap=dlurDlusStateChangeTrap) # Groups mibBuilder.exportSymbols("APPN-TRAP-MIB", appnTrapMibIsrNotifGroup=appnTrapMibIsrNotifGroup, appnTrapMibTopoConfGroup=appnTrapMibTopoConfGroup, appnTrapMibTopoNotifGroup=appnTrapMibTopoNotifGroup, appnTrapMibDlurConfGroup=appnTrapMibDlurConfGroup, appnTrapMibDlurNotifGroup=appnTrapMibDlurNotifGroup) # Compliances mibBuilder.exportSymbols("APPN-TRAP-MIB", appnTrapMibCompliance=appnTrapMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOT3-OAM-MIB.py0000644000014400001440000022615611736645136020574 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOT3-OAM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:54 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( CounterBasedGauge64, ) = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( MacAddress, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TextualConvention", "TimeStamp", "TruthValue") # Types class EightOTwoOui(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(3,3) fixedLength = 3 # Objects dot3OamMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 158)).setRevisions(("2007-06-14 00:00",)) if mibBuilder.loadTexts: dot3OamMIB.setOrganization("IETF Ethernet Interfaces and Hub MIB Working Group") if mibBuilder.loadTexts: dot3OamMIB.setContactInfo("WG Charter:\nhttp://www.ietf.org/html.charters/hubmib-charter.html\nMailing lists:\nGeneral Discussion: hubmib@ietf.org\nTo Subscribe: hubmib-requests@ietf.org\nIn Body: subscribe your_email_address\nChair: Bert Wijnen\nAlcatel-Lucent\nEmail: bwijnen at alcatel-lucent dot com\nEditor: Matt Squire\nHatteras Networks\nE-mail: msquire at hatterasnetworks dot com") if mibBuilder.loadTexts: dot3OamMIB.setDescription("The MIB module for managing the new Ethernet OAM features\nintroduced by the Ethernet in the First Mile taskforce (IEEE\n802.3ah). The functionality presented here is based on IEEE\n802.3ah [802.3ah], released in October, 2004. [802.3ah] was\nprepared as an addendum to the standing version of IEEE 802.3\n[802.3-2002]. Since then, [802.3ah] has been\nmerged into the base IEEE 802.3 specification in [802.3-2005].\n\nIn particular, this MIB focuses on the new OAM functions\nintroduced in Clause 57 of [802.3ah]. The OAM functionality\nof Clause 57 is controlled by new management attributes\nintroduced in Clause 30 of [802.3ah]. The OAM functions are\nnot specific to any particular Ethernet physical layer, and\ncan be generically applied to any Ethernet interface of\n[802.3-2002].\n\nAn Ethernet OAM protocol data unit is a valid Ethernet frame\nwith a destination MAC address equal to the reserved MAC\naddress for Slow Protocols (See 43B of [802.3ah]), a\nlengthOrType field equal to the reserved type for Slow\nProtocols, and a Slow Protocols subtype equal to that of the\nsubtype reserved for Ethernet OAM. OAMPDU is used throughout\nthis document as an abbreviation for Ethernet OAM protocol\ndata unit.\n\nThe following reference is used throughout this MIB module:\n\n\n\n\n [802.3ah] refers to:\n IEEE Std 802.3ah-2004: 'Draft amendment to -\n Information technology - Telecommunications and\n information exchange between systems - Local and\n metropolitan area networks - Specific requirements - Part\n 3: Carrier sense multiple access with collision detection\n (CSMA/CD) access method and physical layer specifications\n - Media Access Control Parameters, Physical Layers and\n Management Parameters for subscriber access networks',\n October 2004.\n\n [802.3-2002] refers to:\n IEEE Std 802.3-2002:\n 'Information technology - Telecommunications and\n information exchange between systems - Local and\n metropolitan area networks - Specific requirements - Part\n 3: Carrier sense multiple access with collision detection\n (CSMA/CD) access method and physical layer specifications\n - Media Access Control Parameters, Physical Layers and\n Management Parameters for subscriber access networks',\n March 2002.\n\n [802.3-2005] refers to:\n IEEE Std 802.3-2005:\n 'Information technology - Telecommunications and\n information exchange between systems - Local and\n metropolitan area networks - Specific requirements - Part\n 3: Carrier sense multiple access with collision detection\n (CSMA/CD) access method and physical layer specifications\n - Media Access Control Parameters, Physical Layers and\n Management Parameters for subscriber access networks',\n December 2005.\n\n [802-2001] refers to:\n 'IEEE Standard for LAN/MAN (Local Area\n Network/Metropolitan Area Network): Overview and\n Architecture', IEEE 802, June 2001.\n\nCopyright (c) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4878; See the RFC itself for\nfull legal notices. ") dot3OamNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 158, 0)) dot3OamObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 158, 1)) dot3OamTable = MibTable((1, 3, 6, 1, 2, 1, 158, 1, 1)) if mibBuilder.loadTexts: dot3OamTable.setDescription("This table contains the primary controls and status for the\nOAM capabilities of an Ethernet-like interface. There will be\none row in this table for each Ethernet-like interface in the\nsystem that supports the OAM functions defined in [802.3ah].") dot3OamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 158, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3OamEntry.setDescription("An entry in the table that contains information on the\nEthernet OAM function for a single Ethernet like interface.\nEntries in the table are created automatically for each\ninterface supporting Ethernet OAM. The status of the row\nentry can be determined from dot3OamOperStatus.\n\nA dot3OamEntry is indexed in the dot3OamTable by the ifIndex\nobject of the Interfaces MIB.") dot3OamAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamAdminState.setDescription("This object is used to provision the default administrative\nOAM mode for this interface. This object represents the\ndesired state of OAM for this interface.\n\nThe dot3OamAdminState always starts in the disabled(2) state\nuntil an explicit management action or configuration\ninformation retained by the system causes a transition to the\nenabled(1) state. When enabled(1), Ethernet OAM will attempt\nto operate over this interface.") dot3OamOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(10,5,1,7,3,4,8,6,9,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("nonOperHalfDuplex", 10), ("linkFault", 2), ("passiveWait", 3), ("activeSendLocal", 4), ("sendLocalAndRemote", 5), ("sendLocalAndRemoteOk", 6), ("oamPeeringLocallyRejected", 7), ("oamPeeringRemotelyRejected", 8), ("operational", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamOperStatus.setDescription("At initialization and failure conditions, two OAM entities on\n\n\n\nthe same full-duplex Ethernet link begin a discovery phase to\ndetermine what OAM capabilities may be used on that link. The\nprogress of this initialization is controlled by the OA\nsublayer.\n\nThis value is always disabled(1) if OAM is disabled on this\ninterface via the dot3OamAdminState.\n\nIf the link has detected a fault and is transmitting OAMPDUs\nwith a link fault indication, the value is linkFault(2).\nAlso, if the interface is not operational (ifOperStatus is\nnot up(1)), linkFault(2) is returned. Note that the object\nifOperStatus may not be up(1) as a result of link failure or\nadministrative action (ifAdminState being down(2) or\ntesting(3)).\n\nThe passiveWait(3) state is returned only by OAM entities in\npassive mode (dot3OamMode) and reflects the state in which the\nOAM entity is waiting to see if the peer device is OA\ncapable. The activeSendLocal(4) value is used by active mode\ndevices (dot3OamMode) and reflects the OAM entity actively\ntrying to discover whether the peer has OAM capability but has\nnot yet made that determination.\n\nThe state sendLocalAndRemote(5) reflects that the local OA\nentity has discovered the peer but has not yet accepted or\nrejected the configuration of the peer. The local device can,\nfor whatever reason, decide that the peer device is\nunacceptable and decline OAM peering. If the local OAM entity\nrejects the peer OAM entity, the state becomes\noamPeeringLocallyRejected(7). If the OAM peering is allowed\nby the local device, the state moves to\nsendLocalAndRemoteOk(6). Note that both the\nsendLocalAndRemote(5) and oamPeeringLocallyRejected(7) states\nfall within the state SEND_LOCAL_REMOTE of the Discovery state\ndiagram [802.3ah, Figure 57-5], with the difference being\nwhether the local OAM client has actively rejected the peering\nor has just not indicated any decision yet. Whether a peering\ndecision has been made is indicated via the local flags field\nin the OAMPDU (reflected in the aOAMLocalFlagsField of\n30.3.6.1.10).\n\nIf the remote OAM entity rejects the peering, the state\nbecomes oamPeeringRemotelyRejected(8). Note that both the\nsendLocalAndRemoteOk(6) and oamPeeringRemotelyRejected(8)\nstates fall within the state SEND_LOCAL_REMOTE_OK of the\nDiscovery state diagram [802.3ah, Figure 57-5], with the\ndifference being whether the remote OAM client has rejected\n\n\n\nthe peering or has just not yet decided. This is indicated\nvia the remote flags field in the OAMPDU (reflected in the\naOAMRemoteFlagsField of 30.3.6.1.11).\n\nWhen the local OAM entity learns that both it and the remote\nOAM entity have accepted the peering, the state moves to\noperational(9) corresponding to the SEND_ANY state of the\nDiscovery state diagram [802.3ah, Figure 57-5].\n\nSince Ethernet OAM functions are not designed to work\ncompletely over half-duplex interfaces, the value\nnonOperHalfDuplex(10) is returned whenever Ethernet OAM is\nenabled (dot3OamAdminState is enabled(1)), but the interface\nis in half-duplex operation.") dot3OamMode = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("passive", 1), ("active", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamMode.setDescription("This object configures the mode of OAM operation for this\nEthernet-like interface. OAM on Ethernet interfaces may be in\n'active' mode or 'passive' mode. These two modes differ in\nthat active mode provides additional capabilities to initiate\nmonitoring activities with the remote OAM peer entity, while\npassive mode generally waits for the peer to initiate OA\nactions with it. As an example, an active OAM entity can put\nthe remote OAM entity in a loopback state, where a passive OA\nentity cannot.\n\nThe default value of dot3OamMode is dependent on the type of\nsystem on which this Ethernet-like interface resides. The\ndefault value should be 'active(2)' unless it is known that\nthis system should take on a subservient role to the other\ndevice connected over this interface.\n\nChanging this value results in incrementing the configuration\nrevision field of locally generated OAMPDUs (30.3.6.1.12) and\npotentially re-doing the OAM discovery process if the\ndot3OamOperStatus was already operational(9).") dot3OamMaxOamPduSize = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(64, 1518))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamMaxOamPduSize.setDescription("The largest OAMPDU that the OAM entity supports. OA\nentities exchange maximum OAMPDU sizes and negotiate to use\nthe smaller of the two maximum OAMPDU sizes between the peers.\nThis value is determined by the local implementation.") dot3OamConfigRevision = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamConfigRevision.setDescription("The configuration revision of the OAM entity as reflected in\nthe latest OAMPDU sent by the OAM entity. The config revision\nis used by OAM entities to indicate that configuration changes\nhave occurred, which might require the peer OAM entity to\nre-evaluate whether OAM peering is allowed.") dot3OamFunctionsSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 1, 1, 6), Bits().subtype(namedValues=NamedValues(("unidirectionalSupport", 0), ("loopbackSupport", 1), ("eventSupport", 2), ("variableSupport", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamFunctionsSupported.setDescription("The OAM functions supported on this Ethernet-like interface.\nOAM consists of separate functional sets beyond the basic\ndiscovery process that is always required. These functional\ngroups can be supported independently by any implementation.\nThese values are communicated to the peer via the local\nconfiguration field of Information OAMPDUs.\n\nSetting 'unidirectionalSupport(0)' indicates that the OA\n\n\n\nentity supports the transmission of OAMPDUs on links that are\noperating in unidirectional mode (traffic flowing in one\ndirection only). Setting 'loopbackSupport(1)' indicates that\nthe OAM entity can initiate and respond to loopback commands.\nSetting 'eventSupport(2)' indicates that the OAM entity can\nsend and receive Event Notification OAMPDUs. Setting\n'variableSupport(3)' indicates that the OAM entity can send\nand receive Variable Request and Response OAMPDUs.") dot3OamPeerTable = MibTable((1, 3, 6, 1, 2, 1, 158, 1, 2)) if mibBuilder.loadTexts: dot3OamPeerTable.setDescription("This table contains information about the OAM peer for a\nparticular Ethernet-like interface. OAM entities communicate\nwith a single OAM peer entity on Ethernet links on which OA\nis enabled and operating properly. There is one entry in this\ntable for each entry in the dot3OamTable for which information\non the peer OAM entity is available.") dot3OamPeerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 158, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3OamPeerEntry.setDescription("An entry in the table containing information on the peer OA\nentity for a single Ethernet-like interface.\n\nNote that there is at most one OAM peer for each Ethernet-like\ninterface. Entries are automatically created when information\nabout the OAM peer entity becomes available, and automatically\ndeleted when the OAM peer entity is no longer in\ncommunication. Peer information is not available when\ndot3OamOperStatus is disabled(1), linkFault(2),\npassiveWait(3), activeSendLocal(4), or nonOperHalfDuplex(10).") dot3OamPeerMacAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 2, 1, 1), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamPeerMacAddress.setDescription("The MAC address of the peer OAM entity. The MAC address is\nderived from the most recently received OAMPDU.") dot3OamPeerVendorOui = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 2, 1, 2), EightOTwoOui()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamPeerVendorOui.setDescription("The OUI of the OAM peer as reflected in the latest\nInformation OAMPDU received with a Local Information TLV. The\nOUI can be used to identify the vendor of the remote OA\nentity. This value is initialized to three octets of zero\nbefore any Local Information TLV is received.") dot3OamPeerVendorInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamPeerVendorInfo.setDescription("The Vendor Info of the OAM peer as reflected in the latest\nInformation OAMPDU received with a Local Information TLV.\nThe semantics of the Vendor Information field is proprietary\nand specific to the vendor (identified by the\ndot3OamPeerVendorOui). This information could, for example,\n\n\n\nbe used to identify a specific product or product family.\nThis value is initialized to zero before any Local\nInformation TLV is received.") dot3OamPeerMode = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("passive", 1), ("active", 2), ("unknown", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamPeerMode.setDescription("The mode of the OAM peer as reflected in the latest\nInformation OAMPDU received with a Local Information TLV. The\nmode of the peer can be determined from the Configuration\nfield in the Local Information TLV of the last Information\nOAMPDU received from the peer. The value is unknown(3)\nwhenever no Local Information TLV has been received. The\nvalues of active(2) and passive(1) are returned when a Local\nInformation TLV has been received indicating that the peer is\nin active or passive mode, respectively.") dot3OamPeerMaxOamPduSize = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(64,1518),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamPeerMaxOamPduSize.setDescription("The maximum size of OAMPDU supported by the peer as reflected\nin the latest Information OAMPDU received with a Local\nInformation TLV. Ethernet OAM on this interface must not use\nOAMPDUs that exceed this size. The maximum OAMPDU size can be\ndetermined from the PDU Configuration field of the Local\nInformation TLV of the last Information OAMPDU received from\nthe peer. A value of zero is returned if no Local Information\nTLV has been received. Otherwise, the value of the OAM peer's\nmaximum OAMPDU size is returned in this value.") dot3OamPeerConfigRevision = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamPeerConfigRevision.setDescription("The configuration revision of the OAM peer as reflected in\nthe latest OAMPDU. This attribute is changed by the peer\nwhenever it has a local configuration change for Ethernet OA\non this interface. The configuration revision can be\ndetermined from the Revision field of the Local Information\nTLV of the most recently received Information OAMPDU with\na Local Information TLV. A value of zero is returned if\nno Local Information TLV has been received.") dot3OamPeerFunctionsSupported = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 2, 1, 7), Bits().subtype(namedValues=NamedValues(("unidirectionalSupport", 0), ("loopbackSupport", 1), ("eventSupport", 2), ("variableSupport", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamPeerFunctionsSupported.setDescription("The OAM functions supported on this Ethernet-like interface.\nOAM consists of separate functionality sets above the basic\ndiscovery process. This value indicates the capabilities of\nthe peer OAM entity with respect to these functions. This\nvalue is initialized so all bits are clear.\n\nIf unidirectionalSupport(0) is set, then the peer OAM entity\nsupports sending OAM frames on Ethernet interfaces when the\nreceive path is known to be inoperable. If\nloopbackSupport(1) is set, then the peer OAM entity can send\nand receive OAM loopback commands. If eventSupport(2) is set,\nthen the peer OAM entity can send and receive event OAMPDUs to\nsignal various error conditions. If variableSupport(3) is\nset, then the peer OAM entity can send and receive variable\nrequests to monitor the attribute value as described in Clause\n57 of [802.3ah].\n\nThe capabilities of the OAM peer can be determined from the\nconfiguration field of the Local Information TLV of the most\nrecently received Information OAMPDU with a Local Information\nTLV. All zeros are returned if no Local Information TLV has\n\n\n\nyet been received.") dot3OamLoopbackTable = MibTable((1, 3, 6, 1, 2, 1, 158, 1, 3)) if mibBuilder.loadTexts: dot3OamLoopbackTable.setDescription("This table contains controls for the loopback state of the\nlocal link as well as indicates the status of the loopback\nfunction. There is one entry in this table for each entry in\ndot3OamTable that supports loopback functionality (where\ndot3OamFunctionsSupported includes the loopbackSupport bit\nset).\n\nLoopback can be used to place the remote OAM entity in a state\nwhere every received frame (except OAMPDUs) is echoed back\nover the same interface on which they were received. In this\nstate, at the remote entity, 'normal' traffic is disabled as\nonly the looped back frames are transmitted on the interface.\nLoopback is thus an intrusive operation that prohibits normal\ndata flow and should be used accordingly.") dot3OamLoopbackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 158, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3OamLoopbackEntry.setDescription("An entry in the table, containing information on the loopback\nstatus for a single Ethernet-like interface. Entries in the\ntable are automatically created whenever the local OAM entity\nsupports loopback capabilities. The loopback status on the\ninterface can be determined from the dot3OamLoopbackStatus\nobject.") dot3OamLoopbackStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 3, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,4,6,5,)).subtype(namedValues=NamedValues(("noLoopback", 1), ("initiatingLoopback", 2), ("remoteLoopback", 3), ("terminatingLoopback", 4), ("localLoopback", 5), ("unknown", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamLoopbackStatus.setDescription("The loopback status of the OAM entity. This status is\ndetermined by a combination of the local parser and\nmultiplexer states, the remote parser and multiplexer states,\nas well as by the actions of the local OAM client. When\noperating in normal mode with no loopback in progress, the\nstatus reads noLoopback(1).\n\nThe values initiatingLoopback(2) and terminatingLoopback(4)\ncan be read or written. The other values can only be read -\nthey can never be written. Writing initiatingLoopback causes\nthe local OAM entity to start the loopback process with its\npeer. This value can only be written when the status is\nnoLoopback(1). Writing the value initiatingLoopback(2) in any\nother state has no effect. When in remoteLoopback(3), writing\nterminatingLoopback(4) causes the local OAM entity to initiate\nthe termination of the loopback state. Writing\nterminatingLoopack(4) in any other state has no effect.\n\nIf the OAM client initiates a loopback and has sent a\nLoopback OAMPDU and is waiting for a response, where the local\nparser and multiplexer states are DISCARD (see [802.3ah,\n57.2.11.1]), the status is 'initiatingLoopback'. In this\ncase, the local OAM entity has yet to receive any\nacknowledgment that the remote OAM entity has received its\nloopback command request.\n\n\n\n\nIf the local OAM client knows that the remote OAM entity is in\nloopback mode (via the remote state information as described\nin [802.3ah, 57.2.11.1, 30.3.6.1.15]), the status is\nremoteLoopback(3). If the local OAM client is in the process\nof terminating the remote loopback [802.3ah, 57.2.11.3,\n30.3.6.1.14] with its local multiplexer and parser states in\nDISCARD, the status is terminatingLoopback(4). If the remote\nOAM client has put the local OAM entity in loopback mode as\nindicated by its local parser state, the status is\nlocalLoopback(5).\n\nThe unknown(6) status indicates that the parser and\nmultiplexer combination is unexpected. This status may be\nreturned if the OAM loopback is in a transition state but\nshould not persist.\n\nThe values of this attribute correspond to the following\nvalues of the local and remote parser and multiplexer states.\n\n value LclPrsr LclMux RmtPrsr RmtMux\n noLoopback FWD FWD FWD FWD\n initLoopback DISCARD DISCARD FWD FWD\n rmtLoopback DISCARD FWD LPBK DISCARD\n tmtngLoopback DISCARD DISCARD LPBK DISCARD\n lclLoopback LPBK DISCARD DISCARD FWD\n unknown *** any other combination ***") dot3OamLoopbackIgnoreRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ignore", 1), ("process", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamLoopbackIgnoreRx.setDescription("Since OAM loopback is a disruptive operation (user traffic\ndoes not pass), this attribute provides a mechanism to provide\ncontrols over whether received OAM loopback commands are\nprocessed or ignored. When the value is ignore(1), received\nloopback commands are ignored. When the value is process(2),\nOAM loopback commands are processed. The default value is to\nignore loopback commands (ignore(1)).") dot3OamStatsTable = MibTable((1, 3, 6, 1, 2, 1, 158, 1, 4)) if mibBuilder.loadTexts: dot3OamStatsTable.setDescription("This table contains statistics for the OAM function on a\nparticular Ethernet-like interface. There is an entry in the\ntable for every entry in the dot3OamTable.\n\nThe counters in this table are defined as 32-bit entries to\nmatch the counter size as defined in [802.3ah]. Given that\nthe OA protocol is a slow protocol, the counters increment at\na slow rate.") dot3OamStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 158, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3OamStatsEntry.setDescription("An entry in the table containing statistics information on\nthe Ethernet OAM function for a single Ethernet-like\ninterface. Entries are automatically created for every entry\nin the dot3OamTable. Counters are maintained across\ntransitions in dot3OamOperStatus.") dot3OamInformationTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamInformationTx.setDescription("A count of the number of Information OAMPDUs transmitted on\nthis interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime. ") dot3OamInformationRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamInformationRx.setDescription("A count of the number of Information OAMPDUs received on this\ninterface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamUniqueEventNotificationTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamUniqueEventNotificationTx.setDescription("A count of the number of unique Event OAMPDUs transmitted on\nthis interface. Event Notifications may be sent in duplicate\nto increase the probability of successfully being received,\n\n\n\ngiven the possibility that a frame may be lost in transit.\nDuplicate Event Notification transmissions are counted by\ndot3OamDuplicateEventNotificationTx.\n\nA unique Event Notification OAMPDU is indicated as an Event\nNotification OAMPDU with a Sequence Number field that is\ndistinct from the previously transmitted Event Notification\nOAMPDU Sequence Number.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamUniqueEventNotificationRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamUniqueEventNotificationRx.setDescription("A count of the number of unique Event OAMPDUs received on\nthis interface. Event Notification OAMPDUs may be sent in\nduplicate to increase the probability of successfully being\nreceived, given the possibility that a frame may be lost in\ntransit. Duplicate Event Notification receptions are counted\nby dot3OamDuplicateEventNotificationRx.\n\nA unique Event Notification OAMPDU is indicated as an Event\nNotification OAMPDU with a Sequence Number field that is\ndistinct from the previously received Event Notification\nOAMPDU Sequence Number.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamDuplicateEventNotificationTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamDuplicateEventNotificationTx.setDescription("A count of the number of duplicate Event OAMPDUs transmitted\n\n\n\non this interface. Event Notification OAMPDUs may be sent in\nduplicate to increase the probability of successfully being\nreceived, given the possibility that a frame may be lost in\ntransit.\n\nA duplicate Event Notification OAMPDU is indicated as an Event\nNotification OAMPDU with a Sequence Number field that is\nidentical to the previously transmitted Event Notification\nOAMPDU Sequence Number.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamDuplicateEventNotificationRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamDuplicateEventNotificationRx.setDescription("A count of the number of duplicate Event OAMPDUs received on\nthis interface. Event Notification OAMPDUs may be sent in\nduplicate to increase the probability of successfully being\nreceived, given the possibility that a frame may be lost in\ntransit.\n\nA duplicate Event Notification OAMPDU is indicated as an Event\nNotification OAMPDU with a Sequence Number field that is\nidentical to the previously received Event Notification OAMPDU\nSequence Number.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamLoopbackControlTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamLoopbackControlTx.setDescription("A count of the number of Loopback Control OAMPDUs transmitted\n\n\n\non this interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamLoopbackControlRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamLoopbackControlRx.setDescription("A count of the number of Loopback Control OAMPDUs received\non this interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamVariableRequestTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamVariableRequestTx.setDescription("A count of the number of Variable Request OAMPDUs transmitted\non this interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamVariableRequestRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamVariableRequestRx.setDescription("A count of the number of Variable Request OAMPDUs received on\n\n\n\nthis interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamVariableResponseTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamVariableResponseTx.setDescription("A count of the number of Variable Response OAMPDUs\ntransmitted on this interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamVariableResponseRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamVariableResponseRx.setDescription("A count of the number of Variable Response OAMPDUs received\non this interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamOrgSpecificTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamOrgSpecificTx.setDescription("A count of the number of Organization Specific OAMPDUs\n\n\n\ntransmitted on this interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamOrgSpecificRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamOrgSpecificRx.setDescription("A count of the number of Organization Specific OAMPDUs\nreceived on this interface.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamUnsupportedCodesTx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamUnsupportedCodesTx.setDescription("A count of the number of OAMPDUs transmitted on this\ninterface with an unsupported op-code.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamUnsupportedCodesRx = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamUnsupportedCodesRx.setDescription("A count of the number of OAMPDUs received on this interface\n\n\n\nwith an unsupported op-code.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamFramesLostDueToOam = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 4, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamFramesLostDueToOam.setDescription("A count of the number of frames that were dropped by the OA\nmultiplexer. Since the OAM multiplexer has multiple inputs\nand a single output, there may be cases where frames are\ndropped due to transmit resource contention. This counter is\nincremented whenever a frame is dropped by the OAM layer.\nNote that any Ethernet frame, not just OAMPDUs, may be dropped\nby the OAM layer. This can occur when an OAMPDU takes\nprecedence over a 'normal' frame resulting in the 'normal'\nframe being dropped.\n\nWhen this counter is incremented, no other counters in this\nMIB are incremented.\n\nDiscontinuities of this counter can occur at re-initialization\nof the management system, and at other times as indicated by\nthe value of the ifCounterDiscontinuityTime.") dot3OamEventConfigTable = MibTable((1, 3, 6, 1, 2, 1, 158, 1, 5)) if mibBuilder.loadTexts: dot3OamEventConfigTable.setDescription("Ethernet OAM includes the ability to generate and receive\nEvent Notification OAMPDUs to indicate various link problems.\nThis table contains the mechanisms to enable Event\n\n\n\nNotifications and configure the thresholds to generate the\nstandard Ethernet OAM events. There is one entry in the table\nfor every entry in dot3OamTable that supports OAM events\n(where dot3OamFunctionsSupported includes the eventSupport\nbit set). The values in the table are maintained across\nchanges to dot3OamOperStatus.\n\nThe standard threshold crossing events are:\n - Errored Symbol Period Event. Generated when the number of\n symbol errors exceeds a threshold within a given window\n defined by a number of symbols (for example, 1,000 symbols\n out of 1,000,000 had errors).\n - Errored Frame Period Event. Generated when the number of\n frame errors exceeds a threshold within a given window\n defined by a number of frames (for example, 10 frames out\n of 1000 had errors).\n - Errored Frame Event. Generated when the number of frame\n errors exceeds a threshold within a given window defined\n by a period of time (for example, 10 frames in 1 second\n had errors).\n - Errored Frame Seconds Summary Event. Generated when the\n number of errored frame seconds exceeds a threshold within\n a given time period (for example, 10 errored frame seconds\n within the last 100 seconds). An errored frame second is\n defined as a 1 second interval which had >0 frame errors.\nThere are other events (dying gasp, critical events) that are\nnot threshold crossing events but which can be\nenabled/disabled via this table.") dot3OamEventConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 158, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot3OamEventConfigEntry.setDescription("Entries are automatically created and deleted from this\ntable, and exist whenever the OAM entity supports Ethernet OA\nevents (as indicated by the eventSupport bit in\ndot3OamFunctionsSuppported). Values in the table are\nmaintained across changes to the value of dot3OamOperStatus.\n\nEvent configuration controls when the local management entity\nsends Event Notification OAMPDUs to its OAM peer, and when\ncertain event flags are set or cleared in OAMPDUs.") dot3OamErrSymPeriodWindowHi = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 1), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrSymPeriodWindowHi.setDescription("The two objects dot3OamErrSymPeriodWindowHi and\ndot3OamErrSymPeriodLo together form an unsigned 64-bit\ninteger representing the number of symbols over which this\nthreshold event is defined. This is defined as\ndot3OamErrSymPeriodWindow = ((2^32)*dot3OamErrSymPeriodWindowHi)\n + dot3OamErrSymPeriodWindowLo\n\nIf dot3OamErrSymPeriodThreshold symbol errors occur within a\nwindow of dot3OamErrSymPeriodWindow symbols, an Event\nNotification OAMPDU should be generated with an Errored Symbol\nPeriod Event TLV indicating that the threshold has been\ncrossed in this window.\n\nThe default value for dot3OamErrSymPeriodWindow is the number\nof symbols in one second for the underlying physical layer.") dot3OamErrSymPeriodWindowLo = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrSymPeriodWindowLo.setDescription("The two objects dot3OamErrSymPeriodWindowHi and\ndot3OamErrSymPeriodWindowLo together form an unsigned 64-bit\ninteger representing the number of symbols over which this\nthreshold event is defined. This is defined as\n\ndot3OamErrSymPeriodWindow = ((2^32)*dot3OamErrSymPeriodWindowHi)\n + dot3OamErrSymPeriodWindowLo\n\nIf dot3OamErrSymPeriodThreshold symbol errors occur within a\nwindow of dot3OamErrSymPeriodWindow symbols, an Event\nNotification OAMPDU should be generated with an Errored Symbol\nPeriod Event TLV indicating that the threshold has been\ncrossed in this window.\n\nThe default value for dot3OamErrSymPeriodWindow is the number\nof symbols in one second for the underlying physical layer.") dot3OamErrSymPeriodThresholdHi = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrSymPeriodThresholdHi.setDescription("The two objects dot3OamErrSymPeriodThresholdHi and\ndot3OamErrSymPeriodThresholdLo together form an unsigned\n64-bit integer representing the number of symbol errors that\nmust occur within a given window to cause this event.\n\nThis is defined as\n\n dot3OamErrSymPeriodThreshold =\n ((2^32) * dot3OamErrSymPeriodThresholdHi)\n + dot3OamErrSymPeriodThresholdLo\n\nIf dot3OamErrSymPeriodThreshold symbol errors occur within a\nwindow of dot3OamErrSymPeriodWindow symbols, an Event\nNotification OAMPDU should be generated with an Errored Symbol\nPeriod Event TLV indicating that the threshold has been\ncrossed in this window.\n\nThe default value for dot3OamErrSymPeriodThreshold is one\nsymbol errors. If the threshold value is zero, then an Event\n\n\n\nNotification OAMPDU is sent periodically (at the end of every\nwindow). This can be used as an asynchronous notification to\nthe peer OAM entity of the statistics related to this\nthreshold crossing alarm.") dot3OamErrSymPeriodThresholdLo = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 4), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrSymPeriodThresholdLo.setDescription("The two objects dot3OamErrSymPeriodThresholdHi and\ndot3OamErrSymPeriodThresholdLo together form an unsigned\n64-bit integer representing the number of symbol errors that\nmust occur within a given window to cause this event.\n\nThis is defined as\n\n dot3OamErrSymPeriodThreshold =\n ((2^32) * dot3OamErrSymPeriodThresholdHi)\n + dot3OamErrSymPeriodThresholdLo\n\nIf dot3OamErrSymPeriodThreshold symbol errors occur within a\nwindow of dot3OamErrSymPeriodWindow symbols, an Event\nNotification OAMPDU should be generated with an Errored Symbol\nPeriod Event TLV indicating that the threshold has been\ncrossed in this window.\n\nThe default value for dot3OamErrSymPeriodThreshold is one\nsymbol error. If the threshold value is zero, then an Event\nNotification OAMPDU is sent periodically (at the end of every\nwindow). This can be used as an asynchronous notification to\nthe peer OAM entity of the statistics related to this\nthreshold crossing alarm.") dot3OamErrSymPeriodEvNotifEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrSymPeriodEvNotifEnable.setDescription("If true, the OAM entity should send an Event Notification\nOAMPDU when an Errored Symbol Period Event occurs.\n\n\n\n\nBy default, this object should have the value true for\nEthernet-like interfaces that support OAM. If the OAM layer\ndoes not support Event Notifications (as indicated via the\ndot3OamFunctionsSupported attribute), this value is ignored.") dot3OamErrFramePeriodWindow = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 6), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFramePeriodWindow.setDescription("The number of frames over which the threshold is defined.\nThe default value of the window is the number of minimum size\nEthernet frames that can be received over the physical layer\nin one second.\n\nIf dot3OamErrFramePeriodThreshold frame errors occur within a\nwindow of dot3OamErrFramePeriodWindow frames, an Event\nNotification OAMPDU should be generated with an Errored Frame\nPeriod Event TLV indicating that the threshold has been\ncrossed in this window.") dot3OamErrFramePeriodThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFramePeriodThreshold.setDescription("The number of frame errors that must occur for this event to\nbe triggered. The default value is one frame error. If the\nthreshold value is zero, then an Event Notification OAMPDU is\nsent periodically (at the end of every window). This can be\nused as an asynchronous notification to the peer OAM entity of\nthe statistics related to this threshold crossing alarm.\n\nIf dot3OamErrFramePeriodThreshold frame errors occur within a\nwindow of dot3OamErrFramePeriodWindow frames, an Event\nNotification OAMPDU should be generated with an Errored Frame\nPeriod Event TLV indicating that the threshold has been\ncrossed in this window.") dot3OamErrFramePeriodEvNotifEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFramePeriodEvNotifEnable.setDescription("If true, the OAM entity should send an Event Notification\nOAMPDU when an Errored Frame Period Event occurs.\n\nBy default, this object should have the value true for\nEthernet-like interfaces that support OAM. If the OAM layer\ndoes not support Event Notifications (as indicated via the\ndot3OamFunctionsSupported attribute), this value is ignored.") dot3OamErrFrameWindow = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 9), Unsigned32().clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFrameWindow.setDescription("The amount of time (in 100ms increments) over which the\nthreshold is defined. The default value is 10 (1 second).\n\nIf dot3OamErrFrameThreshold frame errors occur within a window\nof dot3OamErrFrameWindow seconds (measured in tenths of\nseconds), an Event Notification OAMPDU should be generated\nwith an Errored Frame Event TLV indicating that the threshold\nhas been crossed in this window.") dot3OamErrFrameThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 10), Unsigned32().clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFrameThreshold.setDescription("The number of frame errors that must occur for this event to\nbe triggered. The default value is one frame error. If the\nthreshold value is zero, then an Event Notification OAMPDU is\nsent periodically (at the end of every window). This can be\nused as an asynchronous notification to the peer OAM entity of\nthe statistics related to this threshold crossing alarm.\n\n\n\n\nIf dot3OamErrFrameThreshold frame errors occur within a window\nof dot3OamErrFrameWindow (in tenths of seconds), an Event\nNotification OAMPDU should be generated with an Errored Frame\nEvent TLV indicating the threshold has been crossed in this\nwindow.") dot3OamErrFrameEvNotifEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 11), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFrameEvNotifEnable.setDescription("If true, the OAM entity should send an Event Notification\nOAMPDU when an Errored Frame Event occurs.\n\nBy default, this object should have the value true for\nEthernet-like interfaces that support OAM. If the OAM layer\ndoes not support Event Notifications (as indicated via the\ndot3OamFunctionsSupported attribute), this value is ignored.") dot3OamErrFrameSecsSummaryWindow = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(100, 9000)).clone(100)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFrameSecsSummaryWindow.setDescription("The amount of time (in 100 ms intervals) over which the\nthreshold is defined. The default value is 100 (10 seconds).\n\nIf dot3OamErrFrameSecsSummaryThreshold frame errors occur\nwithin a window of dot3OamErrFrameSecsSummaryWindow (in tenths\nof seconds), an Event Notification OAMPDU should be generated\nwith an Errored Frame Seconds Summary Event TLV indicating\nthat the threshold has been crossed in this window.") dot3OamErrFrameSecsSummaryThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 900)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFrameSecsSummaryThreshold.setDescription("The number of errored frame seconds that must occur for this\nevent to be triggered. The default value is one errored frame\nsecond. If the threshold value is zero, then an Event\nNotification OAMPDU is sent periodically (at the end of every\nwindow). This can be used as an asynchronous notification to\nthe peer OAM entity of the statistics related to this\nthreshold crossing alarm.\n\nIf dot3OamErrFrameSecsSummaryThreshold frame errors occur\nwithin a window of dot3OamErrFrameSecsSummaryWindow (in tenths\nof seconds), an Event Notification OAMPDU should be generated\nwith an Errored Frame Seconds Summary Event TLV indicating\nthat the threshold has been crossed in this window.") dot3OamErrFrameSecsEvNotifEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 14), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamErrFrameSecsEvNotifEnable.setDescription("If true, the local OAM entity should send an Event\nNotification OAMPDU when an Errored Frame Seconds Event\noccurs.\n\nBy default, this object should have the value true for\nEthernet-like interfaces that support OAM. If the OAM layer\ndoes not support Event Notifications (as indicated via the\ndot3OamFunctionsSupported attribute), this value is ignored.") dot3OamDyingGaspEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 15), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamDyingGaspEnable.setDescription("If true, the local OAM entity should attempt to indicate a\ndying gasp via the OAMPDU flags field to its peer OAM entity\nwhen a dying gasp event occurs. The exact definition of a\ndying gasp event is implementation dependent. If the system\n\n\n\ndoes not support dying gasp capability, setting this object\nhas no effect, and reading the object should always result in\n'false'.\n\nBy default, this object should have the value true for\nEthernet-like interfaces that support OAM. If the OAM layer\ndoes not support Event Notifications (as indicated via the\ndot3OamFunctionsSupported attribute), this value is ignored.") dot3OamCriticalEventEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 5, 1, 16), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot3OamCriticalEventEnable.setDescription("If true, the local OAM entity should attempt to indicate a\ncritical event via the OAMPDU flags to its peer OAM entity\nwhen a critical event occurs. The exact definition of a\ncritical event is implementation dependent. If the system\ndoes not support critical event capability, setting this\nobject has no effect, and reading the object should always\nresult in 'false'.\n\nBy default, this object should have the value true for\nEthernet-like interfaces that support OAM. If the OAM layer\ndoes not support Event Notifications (as indicated via the\ndot3OamFunctionsSupported attribute), this value is ignored.") dot3OamEventLogTable = MibTable((1, 3, 6, 1, 2, 1, 158, 1, 6)) if mibBuilder.loadTexts: dot3OamEventLogTable.setDescription("This table records a history of the events that have occurred\nat the Ethernet OAM level. These events can include locally\ndetected events, which may result in locally generated\nOAMPDUs, and remotely detected events, which are detected by\nthe OAM peer entity and signaled to the local entity via\n\n\n\nEthernet OAM. Ethernet OAM events can be signaled by Event\nNotification OAMPDUs or by the flags field in any OAMPDU.\n\nThis table contains both threshold crossing events and\nnon-threshold crossing events. The parameters for the\nthreshold window, threshold value, and actual value\n(dot3OamEventLogWindowXX, dot3OamEventLogThresholdXX,\ndot3OamEventLogValue) are only applicable to threshold\ncrossing events, and are returned as all F's (2^32 - 1) for\nnon-threshold crossing events.\n\nEntries in the table are automatically created when such\nevents are detected. The size of the table is implementation\ndependent. When the table reaches its maximum size, older\nentries are automatically deleted to make room for newer\nentries.") dot3OamEventLogEntry = MibTableRow((1, 3, 6, 1, 2, 1, 158, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DOT3-OAM-MIB", "dot3OamEventLogIndex")) if mibBuilder.loadTexts: dot3OamEventLogEntry.setDescription("An entry in the dot3OamEventLogTable. Entries are\nautomatically created whenever Ethernet OAM events occur at\nthe local OAM entity, and when Event Notification OAMPDUs are\nreceived at the local OAM entity (indicating that events have\noccurred at the peer OAM entity). The size of the table is\nimplementation dependent, but when the table becomes full,\nolder events are automatically deleted to make room for newer\nevents. The table index dot3OamEventLogIndex increments for\neach new entry, and when the maximum value is reached, the\nvalue restarts at zero.") dot3OamEventLogIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot3OamEventLogIndex.setDescription("An arbitrary integer for identifying individual events\nwithin the event log. ") dot3OamEventLogTimestamp = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogTimestamp.setDescription("The value of sysUpTime at the time of the logged event. For\nlocally generated events, the time of the event can be\naccurately retrieved from sysUpTime. For remotely generated\nevents, the time of the event is indicated by the reception of\nthe Event Notification OAMPDU indicating that the event\noccurred on the peer. A system may attempt to adjust the\ntimestamp value to more accurately reflect the time of the\nevent at the peer OAM entity by using other information, such\nas that found in the timestamp found of the Event Notification\nTLVs, which provides an indication of the relative time\nbetween events at the peer entity. ") dot3OamEventLogOui = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 3), EightOTwoOui()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogOui.setDescription("The OUI of the entity defining the object type. All IEEE\n802.3 defined events (as appearing in [802.3ah] except for the\nOrganizationally Unique Event TLVs) use the IEEE 802.3 OUI of\n0x0180C2. Organizations defining their own Event Notification\nTLVs include their OUI in the Event Notification TLV that\ngets reflected here. ") dot3OamEventLogType = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogType.setDescription("The type of event that generated this entry in the event log.\nWhen the OUI is the IEEE 802.3 OUI of 0x0180C2, the following\nevent types are defined:\n erroredSymbolEvent(1),\n erroredFramePeriodEvent(2),\n erroredFrameEvent(3),\n erroredFrameSecondsEvent(4),\n linkFault(256),\n dyingGaspEvent(257),\n criticalLinkEvent(258)\nThe first four are considered threshold crossing events, as\nthey are generated when a metric exceeds a given value within\na specified window. The other three are not threshold\ncrossing events.\n\nWhen the OUI is not 71874 (0x0180C2 in hex), then some other\norganization has defined the event space. If event subtyping\nis known to the implementation, it may be reflected here.\nOtherwise, this value should return all F's (2^32 - 1).") dot3OamEventLogLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("local", 1), ("remote", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogLocation.setDescription("Whether this event occurred locally (local(1)), or was\nreceived from the OAM peer via Ethernet OAM (remote(2)).") dot3OamEventLogWindowHi = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogWindowHi.setDescription("If the event represents a threshold crossing event, the two\nobjects dot3OamEventWindowHi and dot3OamEventWindowLo, form\nan unsigned 64-bit integer yielding the window over which the\nvalue was measured for the threshold crossing event (for\nexample, 5, when 11 occurrences happened in 5 seconds while\nthe threshold was 10). The two objects are combined as:\n\n\n\n\ndot3OamEventLogWindow = ((2^32) * dot3OamEventLogWindowHi)\n + dot3OamEventLogWindowLo\n\nOtherwise, this value is returned as all F's (2^32 - 1) and\nadds no useful information.") dot3OamEventLogWindowLo = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogWindowLo.setDescription("If the event represents a threshold crossing event, the two\nobjects dot3OamEventWindowHi and dot3OamEventWindowLo form an\nunsigned 64-bit integer yielding the window over which the\nvalue was measured for the threshold crossing event (for\nexample, 5, when 11 occurrences happened in 5 seconds while\nthe threshold was 10). The two objects are combined as:\n\ndot3OamEventLogWindow = ((2^32) * dot3OamEventLogWindowHi)\n + dot3OamEventLogWindowLo\n\nOtherwise, this value is returned as all F's (2^32 - 1) and\nadds no useful information.") dot3OamEventLogThresholdHi = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogThresholdHi.setDescription("If the event represents a threshold crossing event, the two\nobjects dot3OamEventThresholdHi and dot3OamEventThresholdLo\nform an unsigned 64-bit integer yielding the value that was\ncrossed for the threshold crossing event (for example, 10,\nwhen 11 occurrences happened in 5 seconds while the threshold\nwas 10). The two objects are combined as:\n\ndot3OamEventLogThreshold = ((2^32) * dot3OamEventLogThresholdHi)\n + dot3OamEventLogThresholdLo\n\nOtherwise, this value is returned as all F's (2^32 -1) and\nadds no useful information.") dot3OamEventLogThresholdLo = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogThresholdLo.setDescription("If the event represents a threshold crossing event, the two\nobjects dot3OamEventThresholdHi and dot3OamEventThresholdLo\nform an unsigned 64-bit integer yielding the value that was\ncrossed for the threshold crossing event (for example, 10,\nwhen 11 occurrences happened in 5 seconds while the threshold\nwas 10). The two objects are combined as:\n\ndot3OamEventLogThreshold = ((2^32) * dot3OamEventLogThresholdHi)\n + dot3OamEventLogThresholdLo\n\nOtherwise, this value is returned as all F's (2^32 - 1) and\nadds no useful information.") dot3OamEventLogValue = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 10), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogValue.setDescription("If the event represents a threshold crossing event, this\nvalue indicates the value of the parameter within the given\nwindow that generated this event (for example, 11, when 11\noccurrences happened in 5 seconds while the threshold was 10).\n\nOtherwise, this value is returned as all F's\n(2^64 - 1) and adds no useful information.") dot3OamEventLogRunningTotal = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 11), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogRunningTotal.setDescription("Each Event Notification TLV contains a running total of the\nnumber of times an event has occurred, as well as the number\nof times an Event Notification for the event has been\n\n\n\ntransmitted. For non-threshold crossing events, the number of\nevents (dot3OamLogRunningTotal) and the number of resultant\nEvent Notifications (dot3OamLogEventTotal) should be\nidentical.\n\nFor threshold crossing events, since multiple occurrences may\nbe required to cross the threshold, these values are likely\ndifferent. This value represents the total number of times\nthis event has happened since the last reset (for example,\n3253, when 3253 symbol errors have occurred since the last\nreset, which has resulted in 51 symbol error threshold\ncrossing events since the last reset).") dot3OamEventLogEventTotal = MibTableColumn((1, 3, 6, 1, 2, 1, 158, 1, 6, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot3OamEventLogEventTotal.setDescription("Each Event Notification TLV contains a running total of the\nnumber of times an event has occurred, as well as the number\nof times an Event Notification for the event has been\ntransmitted. For non-threshold crossing events, the number of\nevents (dot3OamLogRunningTotal) and the number of resultant\nEvent Notifications (dot3OamLogEventTotal) should be\nidentical.\n\nFor threshold crossing events, since multiple occurrences may\nbe required to cross the threshold, these values are likely\ndifferent. This value represents the total number of times\none or more of these occurrences have resulted in an Event\nNotification (for example, 51 when 3253 symbol errors have\noccurred since the last reset, which has resulted in 51 symbol\nerror threshold crossing events since the last reset).") dot3OamConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 158, 2)) dot3OamGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 158, 2, 1)) dot3OamCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 158, 2, 2)) # Augmentions # Notifications dot3OamThresholdEvent = NotificationType((1, 3, 6, 1, 2, 1, 158, 0, 1)).setObjects(*(("DOT3-OAM-MIB", "dot3OamEventLogValue"), ("DOT3-OAM-MIB", "dot3OamEventLogWindowLo"), ("DOT3-OAM-MIB", "dot3OamEventLogWindowHi"), ("DOT3-OAM-MIB", "dot3OamEventLogOui"), ("DOT3-OAM-MIB", "dot3OamEventLogRunningTotal"), ("DOT3-OAM-MIB", "dot3OamEventLogType"), ("DOT3-OAM-MIB", "dot3OamEventLogLocation"), ("DOT3-OAM-MIB", "dot3OamEventLogThresholdLo"), ("DOT3-OAM-MIB", "dot3OamEventLogThresholdHi"), ("DOT3-OAM-MIB", "dot3OamEventLogEventTotal"), ("DOT3-OAM-MIB", "dot3OamEventLogTimestamp"), ) ) if mibBuilder.loadTexts: dot3OamThresholdEvent.setDescription("A dot3OamThresholdEvent notification is sent when a local or\nremote threshold crossing event is detected. A local\nthreshold crossing event is detected by the local entity,\nwhile a remote threshold crossing event is detected by the\nreception of an Ethernet OAM Event Notification OAMPDU\nthat indicates a threshold event.\n\nThis notification should not be sent more than once per\nsecond.\n\nThe OAM entity can be derived from extracting the ifIndex from\nthe variable bindings. The objects in the notification\ncorrespond to the values in a row instance in the\ndot3OamEventLogTable.\n\nThe management entity should periodically check\ndot3OamEventLogTable to detect any missed events.") dot3OamNonThresholdEvent = NotificationType((1, 3, 6, 1, 2, 1, 158, 0, 2)).setObjects(*(("DOT3-OAM-MIB", "dot3OamEventLogType"), ("DOT3-OAM-MIB", "dot3OamEventLogLocation"), ("DOT3-OAM-MIB", "dot3OamEventLogEventTotal"), ("DOT3-OAM-MIB", "dot3OamEventLogTimestamp"), ("DOT3-OAM-MIB", "dot3OamEventLogOui"), ) ) if mibBuilder.loadTexts: dot3OamNonThresholdEvent.setDescription("A dot3OamNonThresholdEvent notification is sent when a local\nor remote non-threshold crossing event is detected. A local\nevent is detected by the local entity, while a remote event is\ndetected by the reception of an Ethernet OAM Event\nNotification OAMPDU that indicates a non-threshold crossing\nevent.\n\nThis notification should not be sent more than once per\n\n\n\nsecond.\n\nThe OAM entity can be derived from extracting the ifIndex from\nthe variable bindings. The objects in the notification\ncorrespond to the values in a row instance of the\ndot3OamEventLogTable.\n\nThe management entity should periodically check\ndot3OamEventLogTable to detect any missed events.") # Groups dot3OamControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 1)).setObjects(*(("DOT3-OAM-MIB", "dot3OamAdminState"), ("DOT3-OAM-MIB", "dot3OamMode"), ("DOT3-OAM-MIB", "dot3OamConfigRevision"), ("DOT3-OAM-MIB", "dot3OamFunctionsSupported"), ("DOT3-OAM-MIB", "dot3OamOperStatus"), ("DOT3-OAM-MIB", "dot3OamMaxOamPduSize"), ) ) if mibBuilder.loadTexts: dot3OamControlGroup.setDescription("A collection of objects providing the abilities,\nconfiguration, and status of an Ethernet OAM entity. ") dot3OamPeerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 2)).setObjects(*(("DOT3-OAM-MIB", "dot3OamPeerMaxOamPduSize"), ("DOT3-OAM-MIB", "dot3OamPeerMacAddress"), ("DOT3-OAM-MIB", "dot3OamPeerVendorInfo"), ("DOT3-OAM-MIB", "dot3OamPeerFunctionsSupported"), ("DOT3-OAM-MIB", "dot3OamPeerMode"), ("DOT3-OAM-MIB", "dot3OamPeerConfigRevision"), ("DOT3-OAM-MIB", "dot3OamPeerVendorOui"), ) ) if mibBuilder.loadTexts: dot3OamPeerGroup.setDescription("A collection of objects providing the abilities,\nconfiguration, and status of a peer Ethernet OAM entity. ") dot3OamStatsBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 3)).setObjects(*(("DOT3-OAM-MIB", "dot3OamDuplicateEventNotificationTx"), ("DOT3-OAM-MIB", "dot3OamUniqueEventNotificationRx"), ("DOT3-OAM-MIB", "dot3OamDuplicateEventNotificationRx"), ("DOT3-OAM-MIB", "dot3OamOrgSpecificTx"), ("DOT3-OAM-MIB", "dot3OamVariableResponseRx"), ("DOT3-OAM-MIB", "dot3OamVariableRequestTx"), ("DOT3-OAM-MIB", "dot3OamVariableResponseTx"), ("DOT3-OAM-MIB", "dot3OamInformationRx"), ("DOT3-OAM-MIB", "dot3OamFramesLostDueToOam"), ("DOT3-OAM-MIB", "dot3OamOrgSpecificRx"), ("DOT3-OAM-MIB", "dot3OamUniqueEventNotificationTx"), ("DOT3-OAM-MIB", "dot3OamUnsupportedCodesTx"), ("DOT3-OAM-MIB", "dot3OamLoopbackControlTx"), ("DOT3-OAM-MIB", "dot3OamInformationTx"), ("DOT3-OAM-MIB", "dot3OamVariableRequestRx"), ("DOT3-OAM-MIB", "dot3OamUnsupportedCodesRx"), ("DOT3-OAM-MIB", "dot3OamLoopbackControlRx"), ) ) if mibBuilder.loadTexts: dot3OamStatsBaseGroup.setDescription("A collection of objects providing the statistics for the\nnumber of various transmit and receive events for OAM on an\nEthernet-like interface. Note that all of these counters must\nbe supported even if the related function (as described in\ndot3OamFunctionsSupported) is not supported. ") dot3OamLoopbackGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 4)).setObjects(*(("DOT3-OAM-MIB", "dot3OamLoopbackStatus"), ("DOT3-OAM-MIB", "dot3OamLoopbackIgnoreRx"), ) ) if mibBuilder.loadTexts: dot3OamLoopbackGroup.setDescription("A collection of objects for controlling the OAM remote\n\n\n\nloopback function. ") dot3OamErrSymbolPeriodEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 5)).setObjects(*(("DOT3-OAM-MIB", "dot3OamErrSymPeriodThresholdLo"), ("DOT3-OAM-MIB", "dot3OamErrSymPeriodEvNotifEnable"), ("DOT3-OAM-MIB", "dot3OamErrSymPeriodWindowLo"), ("DOT3-OAM-MIB", "dot3OamErrSymPeriodThresholdHi"), ("DOT3-OAM-MIB", "dot3OamErrSymPeriodWindowHi"), ) ) if mibBuilder.loadTexts: dot3OamErrSymbolPeriodEventGroup.setDescription("A collection of objects for configuring the thresholds for an\nErrored Symbol Period Event.\n\nEach [802.3ah] defined Event Notification TLV has its own\nconformance group because each event can be implemented\nindependently of any other. ") dot3OamErrFramePeriodEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 6)).setObjects(*(("DOT3-OAM-MIB", "dot3OamErrFramePeriodWindow"), ("DOT3-OAM-MIB", "dot3OamErrFramePeriodEvNotifEnable"), ("DOT3-OAM-MIB", "dot3OamErrFramePeriodThreshold"), ) ) if mibBuilder.loadTexts: dot3OamErrFramePeriodEventGroup.setDescription("A collection of objects for configuring the thresholds for an\nErrored Frame Period Event.\n\nEach [802.3ah] defined Event Notification TLV has its own\nconformance group because each event can be implemented\nindependently of any other. ") dot3OamErrFrameEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 7)).setObjects(*(("DOT3-OAM-MIB", "dot3OamErrFrameThreshold"), ("DOT3-OAM-MIB", "dot3OamErrFrameEvNotifEnable"), ("DOT3-OAM-MIB", "dot3OamErrFrameWindow"), ) ) if mibBuilder.loadTexts: dot3OamErrFrameEventGroup.setDescription("A collection of objects for configuring the thresholds for an\nErrored Frame Event.\n\nEach [802.3ah] defined Event Notification TLV has its own\nconformance group because each event can be implemented\nindependently of any other. ") dot3OamErrFrameSecsSummaryEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 8)).setObjects(*(("DOT3-OAM-MIB", "dot3OamErrFrameSecsSummaryWindow"), ("DOT3-OAM-MIB", "dot3OamErrFrameSecsEvNotifEnable"), ("DOT3-OAM-MIB", "dot3OamErrFrameSecsSummaryThreshold"), ) ) if mibBuilder.loadTexts: dot3OamErrFrameSecsSummaryEventGroup.setDescription("A collection of objects for configuring the thresholds for an\nErrored Frame Seconds Summary Event.\n\nEach [802.3ah] defined Event Notification TLV has its own\nconformance group because each event can be implemented\nindependently of any other. ") dot3OamFlagEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 9)).setObjects(*(("DOT3-OAM-MIB", "dot3OamCriticalEventEnable"), ("DOT3-OAM-MIB", "dot3OamDyingGaspEnable"), ) ) if mibBuilder.loadTexts: dot3OamFlagEventGroup.setDescription("A collection of objects for configuring the sending OAMPDUs\nwith the critical event flag or dying gasp flag enabled. ") dot3OamEventLogGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 10)).setObjects(*(("DOT3-OAM-MIB", "dot3OamEventLogValue"), ("DOT3-OAM-MIB", "dot3OamEventLogWindowLo"), ("DOT3-OAM-MIB", "dot3OamEventLogWindowHi"), ("DOT3-OAM-MIB", "dot3OamEventLogOui"), ("DOT3-OAM-MIB", "dot3OamEventLogRunningTotal"), ("DOT3-OAM-MIB", "dot3OamEventLogType"), ("DOT3-OAM-MIB", "dot3OamEventLogLocation"), ("DOT3-OAM-MIB", "dot3OamEventLogThresholdLo"), ("DOT3-OAM-MIB", "dot3OamEventLogThresholdHi"), ("DOT3-OAM-MIB", "dot3OamEventLogEventTotal"), ("DOT3-OAM-MIB", "dot3OamEventLogTimestamp"), ) ) if mibBuilder.loadTexts: dot3OamEventLogGroup.setDescription("A collection of objects for configuring the thresholds for an\nErrored Frame Seconds Summary Event and maintaining the event\ninformation. ") dot3OamNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 158, 2, 1, 11)).setObjects(*(("DOT3-OAM-MIB", "dot3OamNonThresholdEvent"), ("DOT3-OAM-MIB", "dot3OamThresholdEvent"), ) ) if mibBuilder.loadTexts: dot3OamNotificationGroup.setDescription("A collection of notifications used by Ethernet OAM to signal\nto a management entity that local or remote events have\noccurred on a specified Ethernet link. ") # Compliances dot3OamCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 158, 2, 2, 1)).setObjects(*(("DOT3-OAM-MIB", "dot3OamErrFrameEventGroup"), ("DOT3-OAM-MIB", "dot3OamControlGroup"), ("DOT3-OAM-MIB", "dot3OamFlagEventGroup"), ("DOT3-OAM-MIB", "dot3OamPeerGroup"), ("DOT3-OAM-MIB", "dot3OamStatsBaseGroup"), ("DOT3-OAM-MIB", "dot3OamErrFramePeriodEventGroup"), ("DOT3-OAM-MIB", "dot3OamEventLogGroup"), ("DOT3-OAM-MIB", "dot3OamErrSymbolPeriodEventGroup"), ("DOT3-OAM-MIB", "dot3OamNotificationGroup"), ("DOT3-OAM-MIB", "dot3OamErrFrameSecsSummaryEventGroup"), ("DOT3-OAM-MIB", "dot3OamLoopbackGroup"), ) ) if mibBuilder.loadTexts: dot3OamCompliance.setDescription("The compliance statement for managed entities\nsupporting OAM on Ethernet-like interfaces.") # Exports # Module identity mibBuilder.exportSymbols("DOT3-OAM-MIB", PYSNMP_MODULE_ID=dot3OamMIB) # Types mibBuilder.exportSymbols("DOT3-OAM-MIB", EightOTwoOui=EightOTwoOui) # Objects mibBuilder.exportSymbols("DOT3-OAM-MIB", dot3OamMIB=dot3OamMIB, dot3OamNotifications=dot3OamNotifications, dot3OamObjects=dot3OamObjects, dot3OamTable=dot3OamTable, dot3OamEntry=dot3OamEntry, dot3OamAdminState=dot3OamAdminState, dot3OamOperStatus=dot3OamOperStatus, dot3OamMode=dot3OamMode, dot3OamMaxOamPduSize=dot3OamMaxOamPduSize, dot3OamConfigRevision=dot3OamConfigRevision, dot3OamFunctionsSupported=dot3OamFunctionsSupported, dot3OamPeerTable=dot3OamPeerTable, dot3OamPeerEntry=dot3OamPeerEntry, dot3OamPeerMacAddress=dot3OamPeerMacAddress, dot3OamPeerVendorOui=dot3OamPeerVendorOui, dot3OamPeerVendorInfo=dot3OamPeerVendorInfo, dot3OamPeerMode=dot3OamPeerMode, dot3OamPeerMaxOamPduSize=dot3OamPeerMaxOamPduSize, dot3OamPeerConfigRevision=dot3OamPeerConfigRevision, dot3OamPeerFunctionsSupported=dot3OamPeerFunctionsSupported, dot3OamLoopbackTable=dot3OamLoopbackTable, dot3OamLoopbackEntry=dot3OamLoopbackEntry, dot3OamLoopbackStatus=dot3OamLoopbackStatus, dot3OamLoopbackIgnoreRx=dot3OamLoopbackIgnoreRx, dot3OamStatsTable=dot3OamStatsTable, dot3OamStatsEntry=dot3OamStatsEntry, dot3OamInformationTx=dot3OamInformationTx, dot3OamInformationRx=dot3OamInformationRx, dot3OamUniqueEventNotificationTx=dot3OamUniqueEventNotificationTx, dot3OamUniqueEventNotificationRx=dot3OamUniqueEventNotificationRx, dot3OamDuplicateEventNotificationTx=dot3OamDuplicateEventNotificationTx, dot3OamDuplicateEventNotificationRx=dot3OamDuplicateEventNotificationRx, dot3OamLoopbackControlTx=dot3OamLoopbackControlTx, dot3OamLoopbackControlRx=dot3OamLoopbackControlRx, dot3OamVariableRequestTx=dot3OamVariableRequestTx, dot3OamVariableRequestRx=dot3OamVariableRequestRx, dot3OamVariableResponseTx=dot3OamVariableResponseTx, dot3OamVariableResponseRx=dot3OamVariableResponseRx, dot3OamOrgSpecificTx=dot3OamOrgSpecificTx, dot3OamOrgSpecificRx=dot3OamOrgSpecificRx, dot3OamUnsupportedCodesTx=dot3OamUnsupportedCodesTx, dot3OamUnsupportedCodesRx=dot3OamUnsupportedCodesRx, dot3OamFramesLostDueToOam=dot3OamFramesLostDueToOam, dot3OamEventConfigTable=dot3OamEventConfigTable, dot3OamEventConfigEntry=dot3OamEventConfigEntry, dot3OamErrSymPeriodWindowHi=dot3OamErrSymPeriodWindowHi, dot3OamErrSymPeriodWindowLo=dot3OamErrSymPeriodWindowLo, dot3OamErrSymPeriodThresholdHi=dot3OamErrSymPeriodThresholdHi, dot3OamErrSymPeriodThresholdLo=dot3OamErrSymPeriodThresholdLo, dot3OamErrSymPeriodEvNotifEnable=dot3OamErrSymPeriodEvNotifEnable, dot3OamErrFramePeriodWindow=dot3OamErrFramePeriodWindow, dot3OamErrFramePeriodThreshold=dot3OamErrFramePeriodThreshold, dot3OamErrFramePeriodEvNotifEnable=dot3OamErrFramePeriodEvNotifEnable, dot3OamErrFrameWindow=dot3OamErrFrameWindow, dot3OamErrFrameThreshold=dot3OamErrFrameThreshold, dot3OamErrFrameEvNotifEnable=dot3OamErrFrameEvNotifEnable, dot3OamErrFrameSecsSummaryWindow=dot3OamErrFrameSecsSummaryWindow, dot3OamErrFrameSecsSummaryThreshold=dot3OamErrFrameSecsSummaryThreshold, dot3OamErrFrameSecsEvNotifEnable=dot3OamErrFrameSecsEvNotifEnable, dot3OamDyingGaspEnable=dot3OamDyingGaspEnable, dot3OamCriticalEventEnable=dot3OamCriticalEventEnable, dot3OamEventLogTable=dot3OamEventLogTable, dot3OamEventLogEntry=dot3OamEventLogEntry, dot3OamEventLogIndex=dot3OamEventLogIndex, dot3OamEventLogTimestamp=dot3OamEventLogTimestamp, dot3OamEventLogOui=dot3OamEventLogOui, dot3OamEventLogType=dot3OamEventLogType, dot3OamEventLogLocation=dot3OamEventLogLocation, dot3OamEventLogWindowHi=dot3OamEventLogWindowHi, dot3OamEventLogWindowLo=dot3OamEventLogWindowLo, dot3OamEventLogThresholdHi=dot3OamEventLogThresholdHi, dot3OamEventLogThresholdLo=dot3OamEventLogThresholdLo, dot3OamEventLogValue=dot3OamEventLogValue, dot3OamEventLogRunningTotal=dot3OamEventLogRunningTotal, dot3OamEventLogEventTotal=dot3OamEventLogEventTotal, dot3OamConformance=dot3OamConformance, dot3OamGroups=dot3OamGroups, dot3OamCompliances=dot3OamCompliances) # Notifications mibBuilder.exportSymbols("DOT3-OAM-MIB", dot3OamThresholdEvent=dot3OamThresholdEvent, dot3OamNonThresholdEvent=dot3OamNonThresholdEvent) # Groups mibBuilder.exportSymbols("DOT3-OAM-MIB", dot3OamControlGroup=dot3OamControlGroup, dot3OamPeerGroup=dot3OamPeerGroup, dot3OamStatsBaseGroup=dot3OamStatsBaseGroup, dot3OamLoopbackGroup=dot3OamLoopbackGroup, dot3OamErrSymbolPeriodEventGroup=dot3OamErrSymbolPeriodEventGroup, dot3OamErrFramePeriodEventGroup=dot3OamErrFramePeriodEventGroup, dot3OamErrFrameEventGroup=dot3OamErrFrameEventGroup, dot3OamErrFrameSecsSummaryEventGroup=dot3OamErrFrameSecsSummaryEventGroup, dot3OamFlagEventGroup=dot3OamFlagEventGroup, dot3OamEventLogGroup=dot3OamEventLogGroup, dot3OamNotificationGroup=dot3OamNotificationGroup) # Compliances mibBuilder.exportSymbols("DOT3-OAM-MIB", dot3OamCompliance=dot3OamCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DOCS-CABLE-DEVICE-MIB.py0000644000014400001440000027123611736645135021740 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DOCS-CABLE-DEVICE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:51 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( diffServActionStorage, diffServAlgDropStatus, diffServAlgDropStorage, diffServAlgDropType, diffServClfrElementStatus, diffServClfrElementStorage, diffServClfrStatus, diffServClfrStorage, diffServCountActStorage, diffServDataPathStatus, diffServDataPathStorage, diffServMIBActionGroup, diffServMIBAlgDropGroup, diffServMIBClfrElementGroup, diffServMIBClfrGroup, diffServMIBCounterGroup, diffServMIBDataPathGroup, diffServMIBDscpMarkActGroup, diffServMIBMultiFieldClfrGroup, diffServMultiFieldClfrAddrType, diffServMultiFieldClfrDstAddr, diffServMultiFieldClfrSrcAddr, diffServMultiFieldClfrStorage, ) = mibBuilder.importSymbols("DIFFSERV-MIB", "diffServActionStorage", "diffServAlgDropStatus", "diffServAlgDropStorage", "diffServAlgDropType", "diffServClfrElementStatus", "diffServClfrElementStorage", "diffServClfrStatus", "diffServClfrStorage", "diffServCountActStorage", "diffServDataPathStatus", "diffServDataPathStorage", "diffServMIBActionGroup", "diffServMIBAlgDropGroup", "diffServMIBClfrElementGroup", "diffServMIBClfrGroup", "diffServMIBCounterGroup", "diffServMIBDataPathGroup", "diffServMIBDscpMarkActGroup", "diffServMIBMultiFieldClfrGroup", "diffServMultiFieldClfrAddrType", "diffServMultiFieldClfrDstAddr", "diffServMultiFieldClfrSrcAddr", "diffServMultiFieldClfrStorage") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ZeroBasedCounter32, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( DateAndTime, RowPointer, RowStatus, StorageType, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowPointer", "RowStatus", "StorageType", "TruthValue") # Objects docsDev = ModuleIdentity((1, 3, 6, 1, 2, 1, 69)).setRevisions(("2006-12-20 00:00","1999-08-19 00:00",)) if mibBuilder.loadTexts: docsDev.setOrganization("IETF IP over Cable Data Network\nWorking Group") if mibBuilder.loadTexts: docsDev.setContactInfo(" Rich Woundy\nPostal: Comcast Cable\n 27 Industrial Avenue\n Chelmsford, MA 01824 U.S.A.\nPhone: +1 978 244 4010\nE-mail: richard_woundy@cable.comcast.com\n\n Kevin Marez\nPostal: Motorola Corporation\n 6450 Sequence Drive\n San Diego, CA 92121 U.S.A.\nPhone: +1 858 404 3785\nE-mail: kevin.marez@motorola.com\n\nIETF IPCDN Working Group\nGeneral Discussion: ipcdn@ietf.org\nSubscribe: http://www.ietf.org/mailman/listinfo/ipcdn\nArchive: ftp://ftp.ietf.org/ietf-mail-archive/ipcdn\nCo-chairs: Richard Woundy,\n richard_woundy@cable.comcast.com\n Jean-Francois Mule,\n jf.mule@cablelabs.com") if mibBuilder.loadTexts: docsDev.setDescription("This is the MIB Module for DOCSIS-compliant cable modems\n\n\n\nand cable-modem termination systems.\n\nCopyright (C) The IETF Trust (2006). This version\nof this MIB module was published in RFC 4639; for full\nlegal notices see the RFC itself.") docsDevNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 0)) docsDevMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 1)) docsDevBase = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 1, 1)) docsDevRole = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("cm", 1), ("cmtsActive", 2), ("cmtsBackup", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevRole.setDescription("Defines the current role of this device. cm(1) is a\nCable Modem, cmtsActive(2) is a Cable Modem Termination\nSystem that is controlling the system of cable modems,\nand cmtsBackup(3) is a CMTS that is currently connected\nbut is not controlling the system (not currently used).\n\nIn general, if this device is a 'cm', its role will not\nchange during operation or between reboots. If the\ndevice is a 'cmts' it may change between cmtsActive and\ncmtsBackup and back again during normal operation. NB:\nAt this time, the DOCSIS standards do not support the\nconcept of a backup CMTS, but cmtsBackup is included for\ncompleteness.") docsDevDateTime = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 1, 2), DateAndTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevDateTime.setDescription("The current date and time, with time zone information\n(if known).\n\nIf the real data and time cannot be determined, this\nshall represent elapsed time from boot relative to\nthe standard epoch '1970-1-1,0:0:0.0'. In other\nwords, if this agent has been up for 3 minutes and\nnot been able to determine what the actual date and\ntime are, this object will return the value\n'1970-1-1,0:03:0.0'.") docsDevResetNow = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 1, 3), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevResetNow.setDescription("Setting this object to true(1) causes the device to\nreset. Reading this object always returns false(2).") docsDevSerialNumber = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevSerialNumber.setDescription("The manufacturer's serial number for this device.") docsDevSTPControl = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("stEnabled", 1), ("noStFilterBpdu", 2), ("noStPassBpdu", 3), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevSTPControl.setDescription("This object controls operation of the spanning tree\nprotocol (as distinguished from transparent bridging).\n\nIf set to stEnabled(1), then the spanning tree protocol\nis enabled, subject to bridging constraints.\n\n\n\nIf noStFilterBpdu(2), then spanning tree is not active,\nand Bridge PDUs received are discarded.\n\nIf noStPassBpdu(3), then spanning tree is not active,\nand Bridge PDUs are transparently forwarded.\n\nNote that a device need not implement all of these\noptions, but that noStFilterBpdu(2) is required.") docsDevIgmpModeControl = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("passive", 1), ("active", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevIgmpModeControl.setDescription("This object controls the IGMP mode of operation for\nthe CM or CMTS. In passive mode, the device forwards\nIGMP between interfaces as based on knowledge of\nMulticast Session activity on the subscriber side\ninterface and the rules defined in the DOCSIS RFI\nspecification. In active mode, the device terminates\nat and initiates IGMP through its interfaces as based\non the knowledge of Multicast Session activity on the\nsubscriber side interface.") docsDevMaxCpe = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly").setUnits("CPEs") if mibBuilder.loadTexts: docsDevMaxCpe.setDescription("The maximum number of CPEs that can be granted access\nthrough a CM during a CM epoch. This value can be\nobtained from the CM configuration file; however,\nit may be adjusted by the CM according to hardware or\nsoftware limitations that have been imposed on the\nimplementation.") docsDevNmAccessTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 2)) if mibBuilder.loadTexts: docsDevNmAccessTable.setDescription("This table controls access to SNMP objects by network\nmanagement stations. If the table is empty, access to\nSNMP objects is unrestricted. The objects in this table\nMUST NOT persist across reboots. The objects in this\ntable are only accessible from cable devices that are\nnot capable of operating in SNMP Coexistence mode\n(RFC 3584) or in SNMPv3 mode (RFC 3410).\nSee the conformance section for\ndetails. Note that some devices are required by other\nspecifications (e.g., the DOCSIS OSSIv1.1 specification)\nto support the legacy SNMPv1/v2c docsDevNmAccess mode\nfor backward compatibility.\n\nThis table is deprecated. Instead, use the SNMP\ncoexistence MIBs from RFC 3584, the TARGET and\nNOTIFICATION MIBs from RFC 3413, and\nthe View-Based Access Control Model (VACM) MIBs for\nall SNMP protocol versions from RFC 3415.") docsDevNmAccessEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 2, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessIndex")) if mibBuilder.loadTexts: docsDevNmAccessEntry.setDescription("An entry describing access to SNMP objects by a\nparticular network management station. An entry in\nthis table is not readable unless the management station\nhas read-write permission (either implicit if the table\nis empty, or explicit through an entry in this table).\nEntries are ordered by docsDevNmAccessIndex. The first\n\n\n\nmatching entry (e.g., matching IP address and community\nstring) is used to derive access.") docsDevNmAccessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevNmAccessIndex.setDescription("Index used to order the application of access\nentries.") docsDevNmAccessIp = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 2), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevNmAccessIp.setDescription("The IP address (or subnet) of the network management\nstation. The address 0.0.0.0 is defined to mean\nany Network Management Station (NMS). If traps are\nenabled for this entry, then the value must be the\naddress of a specific device. Implementations MAY\nrecognize 255.255.255.255 as equivalent to 0.0.0.0.") docsDevNmAccessIpMask = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 3), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevNmAccessIpMask.setDescription("The IP subnet mask of the network management stations.\nIf traps are enabled for this entry, then the value must\nbe 0.0.0.0. Implementations MAY recognize\n255.255.255.255 as equivalent to 0.0.0.0.") docsDevNmAccessCommunity = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 4), OctetString().clone('public')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevNmAccessCommunity.setDescription("The community string to be matched for access by this\nentry. If set to a zero-length string, then any\ncommunity string will match. When read, this object\nSHOULD return a zero-length string.") docsDevNmAccessControl = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,5,6,)).subtype(namedValues=NamedValues(("none", 1), ("read", 2), ("readWrite", 3), ("roWithTraps", 4), ("rwWithTraps", 5), ("trapsOnly", 6), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevNmAccessControl.setDescription("Specifies the type of access allowed to this NMS.\nSetting this object to none(1) causes the table entry\nto be destroyed. Read(2) allows access by 'get' and\n'get-next' PDUs. ReadWrite(3) allows access by 'set' as\nwell. RoWithtraps(4), rwWithTraps(5), and trapsOnly(6)\ncontrol distribution of Trap PDUs transmitted by this\ndevice.") docsDevNmAccessInterfaces = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevNmAccessInterfaces.setDescription("Specifies the set of interfaces from which requests from\nthis NMS will be accepted. Each octet within\nthe value of this object specifies a set of eight\n\n\n\ninterfaces, the first octet specifying ports 1\nthrough 8, the second octet specifying interfaces 9\nthrough 16, etc. Within each octet, the most\nsignificant bit represents the lowest numbered\ninterface, and the least significant bit represents the\nhighest numbered interface. Thus, each interface is\nrepresented by a single bit within the value of this\nobject. If that bit has a value of '1' then that\ninterface is included in the set.\n\nNote that entries in this table apply only to link-layer\ninterfaces (e.g., Ethernet and CATV MAC). Bits\nrepresenting upstream and downstream channel interfaces\nMUST NOT be set to '1'.\n\nNote that if bits corresponding to non-existing\ninterfaces are set, the result is implementation\nspecific.\n\nNote that according to the DOCSIS OSSIv1.1\nspecification, when ifIndex '1' is included in the\nset, then this row applies to all CPE\n(customer-facing) interfaces.\n\nThe size of this object is the minimum required to\nrepresent all configured interfaces for this device.") docsDevNmAccessStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevNmAccessStatus.setDescription("Controls and reflects the status of rows in this\ntable. Rows in this table may be created by either the\ncreate-and-go or create-and-wait paradigm. There is no\nrestriction on changing values in a row of this table\nwhile the row is active.\n\nThe following objects MUST have valid values before this\nobject can be set to active: docsDevNmAccessIp,\ndocsDevNmAccessStatus, docsDevNmAccessIpMask,\ndocsDevNmAccessCommunity, docsDevNmAccessControl, and\ndocsDevNmAccessInterfaces.") docsDevNmAccessTrapVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("disableSNMPv2trap", 1), ("enableSNMPv2trap", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevNmAccessTrapVersion.setDescription("Specifies the TRAP version that is sent to this NMS.\nSetting this object to disableSNMPv2trap (1) causes the\ntrap in SNMPv1 format to be sent to a particular NMS.\nSetting this object to enableSNMPv2trap (2) causes the\ntrap in SNMPv2 format be sent to a particular NMS.") docsDevSoftware = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 1, 3)) docsDevSwServer = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevSwServer.setDescription("The address of the TFTP server used for software\nupgrades. If the TFTP server is unknown or is a\nnon-IPv4 address, return 0.0.0.0.\n\nThis object is deprecated. See docsDevSwServerAddress\nfor its replacement. This object will have its value\nmodified, given a valid SET to docsDevSwServerAddress.") docsDevSwFilename = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevSwFilename.setDescription("The filename of the software image to be downloaded via\nTFTP, or the abs_path (as defined in RFC 2616) of the\nsoftware image to be downloaded via HTTP.\n\nUnless set via SNMP, this is the filename or abs_path\nspecified by the provisioning server during the boot\nprocess that corresponds to the software version that\n\n\n\nis desired for this device.\n\nIf unknown, the value of this object is the zero-length\nstring.") docsDevSwAdminStatus = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("upgradeFromMgt", 1), ("allowProvisioningUpgrade", 2), ("ignoreProvisioningUpgrade", 3), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevSwAdminStatus.setDescription("If set to upgradeFromMgt(1), the device will initiate a\nTFTP or HTTP software image download. After\nsuccessfully receiving an image, the device will set\nits state to ignoreProvisioningUpgrade(3) and reboot.\nIf the download process is interrupted (e.g., by a reset\nor power failure), the device will load the previous\nimage and, after re-initialization, continue to attempt\nloading the image specified in docsDevSwFilename.\n\nIf set to allowProvisioningUpgrade(2), the device will\nuse the software version information supplied by the\nprovisioning server when next rebooting (this does not\ncause a reboot).\n\nWhen set to ignoreProvisioningUpgrade(3), the device\nwill disregard software image upgrade information\nfrom the provisioning server.\n\nNote that reading this object can return\nupgradeFromMgt(1). This indicates that a software\ndownload is currently in progress, and that the device\nwill reboot after successfully receiving an image.") docsDevSwOperStatus = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,5,1,)).subtype(namedValues=NamedValues(("inProgress", 1), ("completeFromProvisioning", 2), ("completeFromMgt", 3), ("failed", 4), ("other", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevSwOperStatus.setDescription("InProgress(1) indicates that a TFTP or HTTP download is\nunderway, either as a result of a version mismatch at\nprovisioning or as a result of a upgradeFromMgt request.\nNo other docsDevSw* objects can be modified in\nthis state.\n\nCompleteFromProvisioning(2) indicates that the last\nsoftware upgrade was a result of version mismatch at\nprovisioning.\n\nCompleteFromMgt(3) indicates that the last software\nupgrade was a result of setting docsDevSwAdminStatus to\nupgradeFromMgt.\n\nFailed(4) indicates that the last attempted download\nfailed, ordinarily due to TFTP or HTTP timeout.") docsDevSwCurrentVers = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevSwCurrentVers.setDescription("The software version currently operating in this device.\nThis string's syntax is that used by the\nindividual vendor to identify software versions.\nFor a CM, this string will describe the current\nsoftware load. For a CMTS, this object SHOULD contain\na human-readable representation either of the vendor\nspecific designation of the software for the chassis,\nor of the software for the control processor. If\nneither of these is applicable, the value MUST be a\nzero-length string.") docsDevSwServerAddressType = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 6), InetAddressType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevSwServerAddressType.setDescription("The type of address of the TFTP or HTTP server used for\n\n\n\nsoftware upgrades.\n\nIf docsDevSwServerTransportProtocol is currently set to\ntftp(1), attempting to set this object to dns(16) MUST\nresult in an error.") docsDevSwServerAddress = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 7), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevSwServerAddress.setDescription("The address of the TFTP or HTTP server used for software\nupgrades.\n\nIf the TFTP/HTTP server is unknown, return the zero-\nlength address string (see the TextualConvention).\n\nIf docsDevSwServer is also implemented in this agent,\nthis object is tied to it. A set of this object to an\nIPv4 address will result in also setting the value of\ndocsDevSwServer to that address. If this object is set\nto an IPv6 address, docsDevSwServer is set to 0.0.0.0.\nIf docsDevSwServer is set, this object is also set to\nthat value. Note that if both are set in the same\naction, the order of which one sets the other is\nundefined.") docsDevSwServerTransportProtocol = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 3, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("tftp", 1), ("http", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevSwServerTransportProtocol.setDescription("This object specifies the transport protocol (TFTP or\nHTTP) to be used for software upgrades.\n\nIf the value of this object is tftp(1), then the cable\ndevice uses TFTP (RFC 1350) read request packets to\ndownload the docsDevSwFilename from the\ndocsDevSwServerAddress in octet mode.\n\nIf the value of this object is http(2), then the cable\ndevice uses HTTP 1.0 (RFC 1945) or HTTP 1.1 (RFC 2616)\nGET requests sent to host docsDevSwServerAddress to\n\n\n\ndownload the software image from path docsDevSwFilename.\n\nIf docsDevSwServerAddressType is currently set to\ndns(16), attempting to set this object to tftp(1) MUST\nresult in an error.") docsDevServer = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 1, 4)) docsDevServerBootState = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,7,5,6,2,8,10,1,9,4,)).subtype(namedValues=NamedValues(("operational", 1), ("unknown", 10), ("disabled", 2), ("waitingForDhcpOffer", 3), ("waitingForDhcpResponse", 4), ("waitingForTimeServer", 5), ("waitingForTftp", 6), ("refusedByCmts", 7), ("forwardingDenied", 8), ("other", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerBootState.setDescription("If operational(1), the device has completed loading and\nprocessing of configuration parameters, and the CMTS has\ncompleted the Registration exchange.\n\nIf disabled(2), then the device was administratively\ndisabled, possibly by being refused network access in\nthe configuration file.\n\nIf waitingForDhcpOffer(3), then a Dynamic Host\nConfiguration Protocol (DHCP) Discover has been\ntransmitted, and no offer has yet been received.\n\nIf waitingForDhcpResponse(4), then a DHCP Request has\nbeen transmitted, and no response has yet been received.\n\nIf waitingForTimeServer(5), then a Time Request has been\ntransmitted, and no response has yet been received.\n\n\n\nIf waitingForTftp(6), then a request to the TFTP\nparameter server has been made, and no response\nreceived.\n\nIf refusedByCmts(7), then the Registration\nRequest/Response exchange with the CMTS failed.\n\nIf forwardingDenied(8), then the registration process\nwas completed, but the network access option in the\nreceived configuration file prohibits forwarding.\n\nIf other(9), then the registration process reached a\npoint that does not fall into one of the above\ncategories.\n\nIf unknown(10), then the device has not yet begun the\nregistration process or is in some other indeterminate\nstate.") docsDevServerDhcp = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerDhcp.setDescription("The IP address of the DHCP server that assigned an IP\naddress to this device. Returns 0.0.0.0 if DHCP is not\nused for IP address assignment, or if this agent is\nnot assigned an IPv4 address.\n\nThis object is deprecated and is replaced by\ndocsDevServerDhcpAddress.") docsDevServerTime = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerTime.setDescription("The IP address of the Time server (RFC 0868). Returns\n0.0.0.0 if the time server IP address is unknown, or if\nthe time server is not an IPv4 server.\n\nThis object is deprecated and is replaced by\n\n\n\ndocsDevServerTimeAddress.") docsDevServerTftp = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerTftp.setDescription("The IP address of the TFTP server responsible for\ndownloading provisioning and configuration parameters\nto this device. Returns 0.0.0.0 if the TFTP server\naddress is unknown or is not an IPv4 address.\n\nThis object is deprecated and is replaced by\ndocsDevServerConfigTftpAddress.") docsDevServerConfigFile = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerConfigFile.setDescription("The name of the device configuration file read from\nthe TFTP server. Returns a zero-length string if\nthe configuration file name is unknown.") docsDevServerDhcpAddressType = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 6), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerDhcpAddressType.setDescription("The type of address of docsDevServerDhcpAddress. If\nDHCP was not used, this value should return\nunknown(0).") docsDevServerDhcpAddress = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 7), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerDhcpAddress.setDescription("The internet address of the DHCP server that assigned\nan IP address to this device. Returns the zero length\noctet string if DHCP was not used for IP address\nassignment.") docsDevServerTimeAddressType = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 8), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerTimeAddressType.setDescription("The type of address of docsDevServerTimeAddress. If\nno time server exists, this value should return\nunknown(0).") docsDevServerTimeAddress = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 9), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerTimeAddress.setDescription("The Internet address of the RFC 868 Time server,\nas provided by DHCP option 4.\n\nNote that if multiple values are provided to the\nCM in DHCP option 4, the value of this MIB object\nMUST be the Time server address from which the Time\nof Day reference was acquired as based on the DOCSIS\nRFI specification. During the period of time where\nthe Time of Day have not been acquired, the Time\nserver address reported by the CM may report the\nfirst address value in the DHCP option value or the\nlast server address the CM attempted to get the Time\nof day value.\n\nReturns the zero-length octet string if the time server\nIP address is not provisioned.") docsDevServerConfigTftpAddressType = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 10), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerConfigTftpAddressType.setDescription("The type of address of docsDevServerConfigTftpAddress.\nIf no TFTP server exists, this value should return\nunknown(0).") docsDevServerConfigTftpAddress = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 4, 11), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevServerConfigTftpAddress.setDescription("The internet address of the TFTP server responsible for\ndownloading provisioning and configuration parameters\nto this device. Returns the zero-length octet string if\nthe config server address is unknown. There are certain\nsecurity risks that are involved with using TFTP.") docsDevEvent = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 1, 5)) docsDevEvControl = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("resetLog", 1), ("useDefaultReporting", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevEvControl.setDescription("Setting this object to resetLog(1) empties the event\nlog. All data is deleted. Setting it to\nuseDefaultReporting(2) returns all event priorities to\ntheir factory-default reporting. Reading this object\nalways returns useDefaultReporting(2).") docsDevEvSyslog = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevEvSyslog.setDescription("The IP address of the Syslog server. If 0.0.0.0, either\nsyslog transmission is inhibited, or the Syslog server\naddress is not an IPv4 address.\n\nThis object is deprecated and is replaced by\ndocsDevEvSyslogAddress.") docsDevEvThrottleAdminStatus = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("unconstrained", 1), ("maintainBelowThreshold", 2), ("stopAtThreshold", 3), ("inhibited", 4), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevEvThrottleAdminStatus.setDescription("Controls the transmission of traps and syslog messages\nwith respect to the trap pacing threshold.\n\nunconstrained(1) causes traps and syslog messages to be\ntransmitted without regard to the threshold settings.\n\nmaintainBelowThreshold(2) causes trap transmission and\nsyslog messages to be suppressed if the number of traps\nwould otherwise exceed the threshold.\n\nstopAtThreshold(3) causes trap transmission to cease at\nthe threshold and not to resume until directed to do so.\n\ninhibited(4) causes all trap transmission and syslog\nmessages to be suppressed.\n\nA single event is always treated as a single event for\nthreshold counting. That is, an event causing both a\ntrap and a syslog message is still treated as a single\nevent.\n\nWriting to this object resets the thresholding state.") docsDevEvThrottleInhibited = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvThrottleInhibited.setDescription("If true(1), trap and syslog transmission is currently\ninhibited due to thresholds and/or the current setting\nof docsDevEvThrottleAdminStatus. In addition, this is\ntrue(1) when transmission is inhibited because no\nsyslog (docsDevEvSyslog) or trap (docsDevNmAccessEntry)\ndestinations have been set.\n\nThis object is deprecated and is replaced by\ndocsDevEvThrottleThresholdExceeded.") docsDevEvThrottleThreshold = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 5), Unsigned32().clone(0)).setMaxAccess("readwrite").setUnits("events") if mibBuilder.loadTexts: docsDevEvThrottleThreshold.setDescription("Number of events per docsDevEvThrottleInterval permitted\nbefore throttling is to occur.\n\nA single event, whether the notification could result in\nmessages transmitted using syslog, SNMP, or both\nprotocols, and regardless of the number of destinations,\n(including zero) is always treated as a single event for\nthreshold counting. For example, an event causing both\na trap and a syslog message is still treated as a single\nevent.\n\nAll system notifications that occur within the device\nshould be taken into consideration when calculating\nand monitoring the threshold.") docsDevEvThrottleInterval = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(1)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: docsDevEvThrottleInterval.setDescription("The interval over which docsDevEvThrottleThreshold\napplies.") docsDevEvControlTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 5, 7)) if mibBuilder.loadTexts: docsDevEvControlTable.setDescription("This table allows control of the reporting of event\nclasses. For each event priority, a combination of\n\n\n\nlogging and reporting mechanisms may be chosen. The\nmapping of event types to priorities is\nvendor dependent. Vendors may also choose to allow\nthe user to control that mapping through proprietary\nmeans. Table entries MUST persist across reboots for\nCMTS devices and MUST NOT persist across reboots for CM\ndevices.") docsDevEvControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 5, 7, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevEvPriority")) if mibBuilder.loadTexts: docsDevEvControlEntry.setDescription("Allows configuration of the reporting mechanisms for a\nparticular event priority.") docsDevEvPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 7, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(7,6,3,1,8,4,5,2,)).subtype(namedValues=NamedValues(("emergency", 1), ("alert", 2), ("critical", 3), ("error", 4), ("warning", 5), ("notice", 6), ("information", 7), ("debug", 8), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevEvPriority.setDescription("The priority level that is controlled by this\nentry. These are ordered from most (emergency) to least\n(debug) critical. Each event with a CM or CMTS has a\nparticular priority level associated with it (as defined\nby the vendor).\n\nemergency(1) events indicate vendor-specific fatal\nhardware or software errors that prevent normal system\noperation.\n\n\n\n\nalert(2) events indicate a serious failure that causes\nthe reporting system to reboot but is not caused by\nhardware or software malfunctioning.\n\ncritical(3) events indicate a serious failure that\nrequires attention and prevents the device from\ntransmitting data but that could be recovered without\nrebooting the system.\n\nerror(4) and warning(5) events indicate that a failure\noccurred that could interrupt the normal data flow but\nthat does not cause the device to re-register.\n\nnotice(6) and information(7) events indicate a\nmilestone or checkpoint in normal operation that could\nbe of particular importance for troubleshooting.\n\ndebug(8) events are reserved for vendor-specific\nevents.\n\nDuring normal operation, no event more\ncritical than notice(6) should be generated. Events\nbetween warning and emergency should be generated at\nappropriate levels of problems (e.g., emergency when the\nbox is about to crash).") docsDevEvReporting = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 7, 1, 2), Bits().subtype(namedValues=NamedValues(("local", 0), ("traps", 1), ("syslog", 2), ("localVolatile", 8), ("stdInterface", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevEvReporting.setDescription("Defines the action to be taken on occurrence of this\nevent class. Implementations may not necessarily\nsupport all options for all event classes but at\nminimum must allow traps and syslogging to be\ndisabled.\n\n\n\n\nIf the local(0) bit is set, then log to the internal\nlog and update non-volatile store, for backward\ncompatibility with the original RFC 2669 definition.\nIf the traps(1) bit is set, then generate\nan SNMP trap; if the syslog(2) bit is set, then\nsend a syslog message (assuming that the syslog address\nis set). If the localVolatile(8) bit is set, then\nlog to the internal log without updating non-volatile\nstore. If the stdInterface(9) bit is set, then the\nagent ignores all other bits except the local(0),\nsyslog(2), and localVolatile(8) bits. Setting the\nstdInterface(9) bit indicates that RFC3413 and\nRFC3014 are being used to control event reporting\nmechanisms.") docsDevEventTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 5, 8)) if mibBuilder.loadTexts: docsDevEventTable.setDescription("Contains a log of network and device events that may be\nof interest in fault isolation and troubleshooting.\nIf the local(0) bit is set in docsDevEvReporting,\nentries in this table MUST persist across reboots.") docsDevEventEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevEvIndex")) if mibBuilder.loadTexts: docsDevEventEntry.setDescription("Describes a network or device event that may be of\ninterest in fault isolation and troubleshooting.\nMultiple sequential identical events are represented by\nincrementing docsDevEvCounts and setting\ndocsDevEvLastTime to the current time rather than\ncreating multiple rows.\n\nEntries are created with the first occurrence of an\nevent. docsDevEvControl can be used to clear the\ntable. Individual events cannot be deleted.") docsDevEvIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevEvIndex.setDescription("Provides relative ordering of the objects in the event\nlog. This object will always increase except when\n(a) the log is reset via docsDevEvControl,\n(b) the device reboots and does not implement\nnon-volatile storage for this log, or (c) it reaches\nthe value 2^31. The next entry for all the above\ncases is 1.") docsDevEvFirstTime = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvFirstTime.setDescription("The value of docsDevDateTime at the time this entry was\ncreated.") docsDevEvLastTime = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1, 3), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvLastTime.setDescription("When an entry reports only one event, this object will\nhave the same value as the corresponding instance of\ndocsDevEvFirstTime. When an entry reports multiple\nevents, this object will record the value that\ndocsDevDateTime had when the most recent event for this\nentry occurred.") docsDevEvCounts = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvCounts.setDescription("The number of consecutive event instances reported by\nthis entry. This starts at 1 with the creation of this\nrow and increments by 1 for each subsequent duplicate\nevent.") docsDevEvLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(7,6,3,1,8,4,5,2,)).subtype(namedValues=NamedValues(("emergency", 1), ("alert", 2), ("critical", 3), ("error", 4), ("warning", 5), ("notice", 6), ("information", 7), ("debug", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvLevel.setDescription("The priority level of this event, as defined by the\nvendor. These are ordered from most serious (emergency)\nto least serious (debug).\n\nemergency(1) events indicate vendor-specific fatal\nhardware or software errors that prevent normal system\noperation.\n\nalert(2) events indicate a serious failure that causes\nthe reporting system to reboot but that is not caused by\nhardware or software malfunctioning.\n\ncritical(3) events indicate a serious failure that\nrequires attention and prevents the device from\ntransmitting data but that could be recovered without\nrebooting the system.\n\nerror(4) and warning(5) events indicate that a failure\noccurred that could interrupt the normal data flow but\nthat does not cause the device to re-register.\n\nnotice(6) and information(7) events indicate a\nmilestone or checkpoint in normal operation that could\nbe of particular importance for troubleshooting.\n\ndebug(8) events are reserved for vendor-specific\n\n\n\nevents.\n\nDuring normal operation, no event more\ncritical than notice(6) should be generated. Events\nbetween warning and emergency should be generated at\nappropriate levels of problems (e.g., emergency when the\nbox is about to crash).") docsDevEvId = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvId.setDescription("For this product, uniquely identifies the type of event\nthat is reported by this entry.") docsDevEvText = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 5, 8, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvText.setDescription("Provides a human-readable description of the event,\nincluding all relevant context (interface numbers,\netc.).") docsDevEvSyslogAddressType = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 9), InetAddressType().clone('unknown')).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevEvSyslogAddressType.setDescription("The type of address of docsDevEvSyslogAddress. If\nno syslog server exists, this value should return\nunknown(0).") docsDevEvSyslogAddress = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 10), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevEvSyslogAddress.setDescription("The Internet address of the Syslog server, as provided\nby DHCP option 7 or set via SNMP management. If the\naddress of the server is set to the zero-length\nstring, the 0.0.0.0 IPv4 address, or the 0: IPv6\naddress, Syslog transmission is inhibited.\n\nNote that if multiple values are provided to the CM in\nDHCP option 7, the value of this MIB object MUST be the\nfirst Syslog server address received.\n\nBy default at agent boot, this object returns the zero\nlength string.") docsDevEvThrottleThresholdExceeded = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 5, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevEvThrottleThresholdExceeded.setDescription("If true(1), trap and syslog transmission is currently\ninhibited due to exceeding the trap/syslog event\nthreshold in the current interval.") docsDevFilter = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 1, 6)) docsDevFilterLLCUnmatchedAction = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 6, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("discard", 1), ("accept", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevFilterLLCUnmatchedAction.setDescription("LLC (Link Level Control) filters can be defined on an\ninclusive or exclusive basis: CMs can be configured to\nforward only packets matching a set of layer three\nprotocols, or to drop packets matching a set of layer\nthree protocols. Typical use of these filters is to\n\n\n\nfilter out possibly harmful (given the context of a\nlarge metropolitan LAN) protocols.\n\nIf set to discard(1), any L2 packet that does not match\nat least one filter in the docsDevFilterLLCTable will be\ndiscarded. If set to accept(2), any L2 packet that\ndoes not match at least one filter in the\ndocsDevFilterLLCTable will be accepted for further\nprocessing (e.g., bridging). In other words, if the\npacket does not match an entry in the table, it takes\nthis action; if it does match an entry in the table, it\ntakes the opposite of this action.") docsDevFilterLLCTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 6, 2)) if mibBuilder.loadTexts: docsDevFilterLLCTable.setDescription("A list of filters to apply to (bridged) LLC\ntraffic. The filters in this table are applied to\nincoming traffic on the appropriate interface(s) prior\nto any further processing (e.g., before the packet\nis handed off for level 3 processing, or for bridging).\nThe specific action taken when no filter is matched is\ncontrolled by docsDevFilterLLCUnmatchedAction. Table\nentries MUST NOT persist across reboots for any device.") docsDevFilterLLCEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 6, 2, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCIndex")) if mibBuilder.loadTexts: docsDevFilterLLCEntry.setDescription("Describes a single filter to apply to (bridged) LLC\ntraffic received on a specified interface. ") docsDevFilterLLCIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevFilterLLCIndex.setDescription("Index used for the identification of filters (note that\nLLC filter order is irrelevant).") docsDevFilterLLCStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 2, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterLLCStatus.setDescription("Controls and reflects the status of rows in this\ntable. There is no restriction on changing any of the\nassociated columns for this row while this object is set\nto active.\n\nSpecifying only this object (with the\nappropriate index) on a CM is sufficient to create a\nfilter row that matches all inbound packets on the\nethernet interface and results in the packets being\ndiscarded. docsDevFilterLLCIfIndex (at least) must be\nspecified on a CMTS to create a row.") docsDevFilterLLCIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 2, 1, 3), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterLLCIfIndex.setDescription("The entry interface to which this filter applies. The\nvalue corresponds to ifIndex for either a CATV MAC or\nanother network interface. If the value is zero, the\nfilter applies to all interfaces. In Cable Modems, the\ndefault value is the customer side interface(s). In\nCMTSs, this object has to be specified to\ncreate a row in this table.\n\nNote that according to the DOCSIS OSSIv1.1\nspecification, ifIndex '1' in the CM means that this\nrow applies to all Cable Modem-to-CPE Interfaces\n(CMCI).") docsDevFilterLLCProtocolType = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("ethertype", 1), ("dsap", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterLLCProtocolType.setDescription("The format of the value in docsDevFilterLLCProtocol:\neither a two-byte Ethernet Ethertype, or a one-byte\n802.2 Service Access Point (SAP) value. ethertype(1)\nalso applies to Standard Network Access Protocol\n(SNAP) encapsulated frames.") docsDevFilterLLCProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterLLCProtocol.setDescription("The layer-three protocol for which this filter applies.\nThe protocol value format depends on\ndocsDevFilterLLCProtocolType. Note that for SNAP\nframes, ethertype filtering is performed rather than\nDestination Service Access Point (DSAP) =0xAA.") docsDevFilterLLCMatches = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevFilterLLCMatches.setDescription("Counts the number of times this filter was matched.") docsDevFilterIpDefault = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 6, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("discard", 1), ("accept", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevFilterIpDefault.setDescription("The default behavior for (bridged) packets that do not\nmatch IP filters (or Internet filters, if implemented)\nis defined by docsDevFilterIpDefault.\n\nIf set to discard(1), all packets not matching an IP\nfilter in docsDevFilterIpTable will be discarded. If\nset to accept(2), all packets not matching an IP filter\nor an Internet filter will be accepted for further\nprocessing (e.g., bridging).") docsDevFilterIpTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 6, 4)) if mibBuilder.loadTexts: docsDevFilterIpTable.setDescription("An ordered list of filters or classifiers to apply to\nIP traffic. Filter application is ordered by the filter\nindex, rather than by a best match algorithm (note that\nthis implies that the filter table may have gaps in the\nindex values). Packets that match no filters will have\npolicy 0 in the docsDevFilterPolicyTable applied to\nthem, if it exists. Otherwise, Packets that match no\nfilters are discarded or forwarded according to the\nsetting of docsDevFilterIpDefault.\n\nAny IP packet can theoretically match multiple rows of\nthis table. When considering a packet, the table is\nscanned in row index order (e.g., filter 10 is checked\nbefore filter 20). If the packet matches that filter\n(which means that it matches ALL criteria for that row),\nactions appropriate to docsDevFilterIpControl and\ndocsDevFilterPolicyId are taken. If the packet was\ndiscarded processing is complete. If\ndocsDevFilterIpContinue is set to true, the filter\ncomparison continues with the next row in the table,\nlooking for additional matches.\n\nIf the packet matches no filter in the table, the packet\nis accepted or dropped for further processing\naccording to the setting of docsDevFilterIpDefault.\nIf the packet is accepted, the actions specified by\npolicy group 0 (e.g., the rows in\ndocsDevFilterPolicyTable that have a value of 0 for\ndocsDevFilterPolicyId) are taken, if that policy\n\n\n\ngroup exists.\n\nLogically, this table is consulted twice during the\nprocessing of any IP packet: once upon its acceptance\nfrom the L2 entity, and once upon its transmission to\nthe L2 entity. In actuality, for cable modems, IP\nfiltering is generally the only IP processing done for\ntransit traffic. This means that inbound and outbound\nfiltering can generally be done at the same time with\none pass through the filter table.\n\nThe objects in this table are only accessible from cable\ndevices that are not operating in DiffServ MIB mode\n(RFC 3289). See the conformance section for details.\n\nNote that some devices are required by other\nspecifications (e.g., the DOCSIS OSSIv1.1 specification)\nto support the legacy SNMPv1/v2c docsDevFilter mode\nfor backward compatibility.\n\nTable entries MUST NOT persist across reboots for any\ndevice.\n\nThis table is deprecated. Instead, use the DiffServ MIB\nfrom RFC 3289.") docsDevFilterIpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpIndex")) if mibBuilder.loadTexts: docsDevFilterIpEntry.setDescription("Describes a filter to apply to IP traffic received on a\nspecified interface. All identity objects in this table\n(e.g., source and destination address/mask, protocol,\nsource/dest port, TOS/mask, interface and direction)\nmust match their respective fields in the packet for\nany given filter to match.\n\nTo create an entry in this table, docsDevFilterIpIfIndex\nmust be specified.") docsDevFilterIpIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevFilterIpIndex.setDescription("Index used to order the application of filters.\nThe filter with the lowest index is always applied\nfirst.") docsDevFilterIpStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpStatus.setDescription("Controls and reflects the status of rows in this\ntable. Specifying only this object (with the\nappropriate index) on a CM is sufficient to create a\nfilter row that matches all inbound packets on the\nethernet interface and results in the packets being\ndiscarded. docsDevFilterIpIfIndex (at least) must be\nspecified on a CMTS to create a row. Creation of the\nrows may be done via either create-and-wait or\ncreate-and-go, but the filter is not applied until this\nobject is set to (or changes to) active. There is no\nrestriction in changing any object in a row while this\nobject is set to active.") docsDevFilterIpControl = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("discard", 1), ("accept", 2), ("policy", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpControl.setDescription("If set to discard(1), all packets matching this filter\nwill be discarded, and scanning of the remainder of the\nfilter list will be aborted. If set to accept(2), all\npackets matching this filter will be accepted for\nfurther processing (e.g., bridging). If\ndocsDevFilterIpContinue is set to true, see if there\nare other matches; otherwise, done. If set to\npolicy (3), execute the policy entries\nmatched by docsDevFilterIpPolicyId in\ndocsDevFilterPolicyTable.\n\nIf docsDevFilterIpContinue is set to true, continue\nscanning the table for other matches; otherwise, done.") docsDevFilterIpIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 4), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpIfIndex.setDescription("The entry interface to which this filter applies. The\nvalue corresponds to ifIndex for either a CATV MAC or\nanother interface. If the value is zero, the\nfilter applies to all interfaces. Default value in CMs\nis the index of the customer-side (e.g., ethernet)\ninterface(s). In CMTSes, this object MUST be\nspecified to create a row in this table.\n\nNote that according to the DOCSIS OSSIv1.1\nspecification, ifIndex '1' in the Cable Modem means\nthat this row applies to all CMCI (customer-facing)\ninterfaces.") docsDevFilterIpDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("inbound", 1), ("outbound", 2), ("both", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpDirection.setDescription("Determines whether the filter is applied to inbound(1)\ntraffic, outbound(2) traffic, or traffic in both(3)\ndirections.") docsDevFilterIpBroadcast = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 6), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpBroadcast.setDescription("If set to true(1), the filter only applies to multicast\nand broadcast traffic. If set to false(2), the filter\napplies to all traffic.") docsDevFilterIpSaddr = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 7), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpSaddr.setDescription("The source IP address, or portion thereof, that is to be\nmatched for this filter. The source address is first\nmasked (ANDed) against docsDevFilterIpSmask before\nbeing compared to this value. A value of 0 for this\nobject and 0 for the mask matches all IP addresses.") docsDevFilterIpSmask = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 8), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpSmask.setDescription("A bit mask that is to be applied to the source address\nprior to matching. This mask is not necessarily the\nsame as a subnet mask, but 1s bits must be leftmost and\ncontiguous.") docsDevFilterIpDaddr = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 9), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpDaddr.setDescription("The destination IP address, or portion thereof, that is\nto be matched for this filter. The destination address\nis first masked (ANDed) against docsDevFilterIpDmask\nbefore being compared to this value. A value of\n00000000 for this object and 00000000 for the mask\nmatches all IP addresses.") docsDevFilterIpDmask = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 10), IpAddress().clone("0.0.0.0")).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpDmask.setDescription("A bit mask that is to be applied to the destination\naddress prior to matching. This mask is not necessarily\nthe same as a subnet mask, but 1s bits MUST be leftmost\nand contiguous.") docsDevFilterIpProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256)).clone(256)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpProtocol.setDescription("The IP protocol value that is to be matched. For\nexample, icmp is 1, tcp is 6, and udp is 17. A value of\n256 matches ANY protocol.") docsDevFilterIpSourcePortLow = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpSourcePortLow.setDescription("This is the inclusive lower bound of the transport-layer\nsource port range that is to be matched. If the IP\nprotocol of the packet is neither UDP nor TCP, this\n\n\n\nobject is ignored during matching.") docsDevFilterIpSourcePortHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(65535)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpSourcePortHigh.setDescription("This is the inclusive upper bound of the transport-layer\nsource port range that is to be matched. If the IP\nprotocol of the packet is neither UDP nor TCP, this\nobject is ignored during matching.") docsDevFilterIpDestPortLow = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpDestPortLow.setDescription("This is the inclusive lower bound of the transport-layer\ndestination port range that is to be matched. If the IP\nprotocol of the packet is neither UDP nor TCP, this\nobject is ignored during matching.") docsDevFilterIpDestPortHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(65535)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpDestPortHigh.setDescription("This is the inclusive upper bound of the transport-layer\ndestination port range that is to be matched. If the IP\nprotocol of the packet is neither UDP nor TCP, this\nobject is ignored during matching.") docsDevFilterIpMatches = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 16), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevFilterIpMatches.setDescription("Counts the number of times this filter was matched.\nThis object is initialized to 0 at boot, or at row\ncreation, and is reset only upon reboot.") docsDevFilterIpTos = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue='00')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpTos.setDescription("This is the value to be matched to the packet's\nTOS (Type of Service) value (after the TOS value\nis ANDed with docsDevFilterIpTosMask). A value for this\nobject of 0 and a mask of 0 matches all TOS values.") docsDevFilterIpTosMask = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 18), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue='00')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpTosMask.setDescription("The mask to be applied to the packet's TOS value before\nmatching.") docsDevFilterIpContinue = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 19), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpContinue.setDescription("If this value is set to true and docsDevFilterIpControl\nis anything but discard (1), continue scanning and\napplying policies. See Section 3.3.3 for more\ndetails.") docsDevFilterIpPolicyId = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 4, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterIpPolicyId.setDescription("This object points to an entry in\ndocsDevFilterPolicyTable. If docsDevFilterIpControl\n\n\n\nis set to policy (3), execute all matching policies\nin docsDevFilterPolicyTable. If no matching policy\nexists, treat as if docsDevFilterIpControl were set\nto accept (1). If this object is set to the value of\n0, there is no matching policy, and\ndocsDevFilterPolicyTable MUST NOT be consulted.") docsDevFilterPolicyTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 6, 5)) if mibBuilder.loadTexts: docsDevFilterPolicyTable.setDescription("A Table that maps between a policy group ID and a set\nof pointers to policies to be applied. All rows with\nthe same docsDevFilterPolicyId are part of the same\ngroup of policy pointers and are applied in the order\nin this table. docsDevFilterPolicyTable exists to\nallow multiple policy actions (referenced by policy\npointers) to be applied to any given classified packet.\nThe policy actions are applied in index order.\nFor example:\n\nIndex ID Type Action\n 1 1 TOS 1\n 9 5 TOS 1\n 12 1 IPSEC 3\n\nThis says that a packet that matches a filter with\npolicy id 1 first has TOS policy 1 applied (which might\nset the TOS bits to enable a higher priority) and next\nhas the IPSEC policy 3 applied (which may result in the\npackets being dumped into a secure VPN to a remote\nencryptor).\n\nPolicy ID 0 is reserved for default actions and is\napplied only to packets that match no filters in\ndocsDevFilterIpTable.\n\nTable entries MUST NOT persist across reboots for any\ndevice.\n\nThis table is deprecated. Instead, use the DiffServ MIB\n\n\n\nfrom RFC 3289.") docsDevFilterPolicyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 6, 5, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevFilterPolicyIndex")) if mibBuilder.loadTexts: docsDevFilterPolicyEntry.setDescription("An entry in the docsDevFilterPolicyTable. Entries are\ncreated by Network Management. To create an entry,\ndocsDevFilterPolicyId MUST be specified.") docsDevFilterPolicyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevFilterPolicyIndex.setDescription("Index value for the table.") docsDevFilterPolicyId = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterPolicyId.setDescription("Policy ID for this entry. If a policy ID can apply to\nmultiple rows of this table, all relevant policies are\nexecuted. Policy 0 (if populated) is applied to all\npackets that do not match any of the filters. N.B. If\ndocsDevFilterIpPolicyId is set to 0, it DOES NOT match\npolicy 0 of this table.") docsDevFilterPolicyStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 5, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterPolicyStatus.setDescription("Object used to create an entry in this table. There is\nno restriction in changing any object in a row while\nthis object is set to active.\nThe following object MUST have a valid value before this\nobject can be set to active: docsDevFilterPolicyPtr.") docsDevFilterPolicyPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 5, 1, 6), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterPolicyPtr.setDescription("This object points to a row in an applicable filter\npolicy table. Currently, the only standard policy\ntable is docsDevFilterTosTable.\n\nPer the textual convention, this object points to the\nfirst accessible object in the row; e.g., to point to a\nrow in docsDevFilterTosTable with an index of 21, the\nvalue of this object would be the object identifier\ndocsDevTosStatus.21.\n\nVendors are recommended to adhere to the same convention\nwhen adding vendor-specific policy table extensions.\n\nIf this pointer references an empty or non-existent\nrow, then no policy action is taken.\n\nThe default upon row creation is a null pointer that\nresults in no policy action being taken.") docsDevFilterTosTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 6, 6)) if mibBuilder.loadTexts: docsDevFilterTosTable.setDescription("Table used to describe Type of Service (TOS) bits\n\n\n\nprocessing.\n\nThis table is an adjunct to the docsDevFilterIpTable\nand the docsDevFilterPolicy table. Entries in the\nlatter table can point to specific rows in this (and\nother) tables and cause specific actions to be taken.\nThis table permits the manipulation of the value of the\nType of Service bits in the IP header of the matched\npacket as follows:\n\nSet the tosBits of the packet to\n (tosBits & docsDevFilterTosAndMask) |\n docsDevFilterTosOrMask\n\nThis construct allows you to do a clear and set of all\nthe TOS bits in a flexible manner.\n\nTable entries MUST NOT persist across reboots for any\ndevice.\n\nThis table is deprecated. Instead, use the DiffServ MIB\nfrom RFC 3289.") docsDevFilterTosEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 6, 6, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevFilterTosIndex")) if mibBuilder.loadTexts: docsDevFilterTosEntry.setDescription("A TOS policy entry.") docsDevFilterTosIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevFilterTosIndex.setDescription("The unique index for this row. There are no ordering\nrequirements for this table, and any valid index may be\nspecified.") docsDevFilterTosStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 6, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterTosStatus.setDescription("The object used to create and delete entries in this\ntable. A row created by specifying just this object\nresults in a row that specifies no change to the TOS\nbits. A row may be created using either the\ncreate-and-go or create-and-wait paradigms. There is\nno restriction on the ability to change values in this\nrow while the row is active.") docsDevFilterTosAndMask = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 6, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue='ff')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterTosAndMask.setDescription("This value is bitwise ANDed with the matched packet's\nTOS bits.") docsDevFilterTosOrMask = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 6, 6, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue='00')).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevFilterTosOrMask.setDescription("This value is bitwise ORed with the result from the\nAND procedure (tosBits & docsDevFilterTosAndMask).\nThe result then replaces the packet's TOS bits.") docsDevCpe = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 1, 7)) docsDevCpeEnroll = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 7, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("none", 1), ("any", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevCpeEnroll.setDescription("This object controls the population of\ndocsDevFilterCpeTable.\nIf set to none, the filters must be set manually\nby a network management action (either configuration\nor SNMP set).\nIf set to any, the CM wiretaps the packets originating\nfrom the ethernet and enrolls up to docsDevCpeIpMax\naddresses as based on the source IPv4 or v6 addresses of\nthose packets.") docsDevCpeIpMax = MibScalar((1, 3, 6, 1, 2, 1, 69, 1, 7, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647)).clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: docsDevCpeIpMax.setDescription("This object controls the maximum number of CPEs allowed\nto be learned behind this device. If set to zero, any\nnumber of CPEs may connect up to the maximum permitted\nfor the device.\nIf set to -1, no filtering is done on CPE source\naddresses, and no entries are made in the\ndocsDevFilterCpeTable via learning. If an attempt is\nmade to set this to a number greater than that\npermitted for the device, it is set to that maximum.") docsDevCpeTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 7, 3)) if mibBuilder.loadTexts: docsDevCpeTable.setDescription("This table lists the IPv4 addresses seen (or permitted)\nas source addresses in packets originating from the\ncustomer interface on this device. In addition, this\ntable can be provisioned with the specific addresses\npermitted for the CPEs via the normal row creation\nmechanisms. Table entries MUST NOT persist across\nreboots for any device.\n\nN.B. Management action can add entries in this table\nand in docsDevCpeIpTable past the value of\n\n\n\ndocsDevCpeIpMax. docsDevCpeIpMax ONLY restricts the\nability of the CM to add learned addresses\nautomatically.\n\nThis table is deprecated and is replaced by\ndocsDevCpeInetTable.") docsDevCpeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 7, 3, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevCpeIp")) if mibBuilder.loadTexts: docsDevCpeEntry.setDescription("An entry in the docsDevFilterCpeTable. There is one\nentry for each IPv4 CPE seen or provisioned. If\ndocsDevCpeIpMax is set to -1, this table is ignored;\notherwise, upon receipt of an IP packet from the\ncustomer interface of the CM, the source IP address is\nchecked against this table. If the address is in the\ntable, packet processing continues. If the address is\nnot in the table but docsDevCpeEnroll is set to any\nand the sum of the table sizes of docsDevCpeTable and\ndocsDevCpeInetTable is less than docsDevCpeIpMax, the\naddress is added to the table, and packet processing\ncontinues. Otherwise, the packet is dropped.\n\nThe filtering actions specified by this table occur\nafter any LLC filtering (docsDevFilterLLCTable), but\nprior to any IP filtering (docsDevFilterIpTable,\ndocsDevNmAccessTable).") docsDevCpeIp = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 7, 3, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevCpeIp.setDescription("The IPv4 address to which this entry applies.\n\nN.B. Attempts to set all zeros or all ones address\nvalues MUST be rejected.") docsDevCpeSource = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 7, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("manual", 2), ("learned", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevCpeSource.setDescription("This object describes how this entry was created. If\nthe value is manual(2), this row was created by a\nnetwork management action (either configuration or\nSNMP set). If set to learned(3), then it was found via\nlooking at the source IPv4 address of a received packet.\nThe value other(1) is used for any entries that do not\nmeet manual(2) or learned(3) criteria.") docsDevCpeStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 7, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevCpeStatus.setDescription("Standard object to manipulate rows. To create a row in\nthis table, one only needs to specify this object.\nManagement stations SHOULD use the create-and-go\nmechanism for creating rows in this table.") docsDevCpeInetTable = MibTable((1, 3, 6, 1, 2, 1, 69, 1, 7, 4)) if mibBuilder.loadTexts: docsDevCpeInetTable.setDescription("This table lists the IP addresses seen (or permitted) as\nsource addresses in packets originating from the\ncustomer interface on this device. In addition, this\ntable can be provisioned with the specific addresses\npermitted for the CPEs via the normal row creation\nmechanisms.\n\n\n\nN.B. Management action can add entries in this table\nand in docsDevCpeIpTable past the value of\ndocsDevCpeIpMax. docsDevCpeIpMax ONLY restricts the\nability of the CM to add learned addresses\nautomatically.\n\nTable entries MUST NOT persist across reboots for any\ndevice.\n\nThis table exactly mirrors docsDevCpeTable and applies\nto IPv4 and IPv6 addresses.") docsDevCpeInetEntry = MibTableRow((1, 3, 6, 1, 2, 1, 69, 1, 7, 4, 1)).setIndexNames((0, "DOCS-CABLE-DEVICE-MIB", "docsDevCpeInetType"), (0, "DOCS-CABLE-DEVICE-MIB", "docsDevCpeInetAddr")) if mibBuilder.loadTexts: docsDevCpeInetEntry.setDescription("An entry in the docsDevFilterCpeInetTable. There is one\nentry for each IP CPE seen or provisioned. If\ndocsDevCpeIpMax is set to -1, this table is ignored;\notherwise, upon receipt of an IP packet from the\ncustomer interface of the CM, the source IP address is\nchecked against this table. If the address is in the\ntable, packet processing continues. If the address is\nnot in the table but docsDevCpeEnroll is set to any and\nthe sum of the table sizes for docsDevCpeTable and\ndocsDevCpeInetTable is less than docsDevCpeIpMax, the\naddress is added to the table, and packet processing\ncontinues. Otherwise, the packet is dropped.\n\nThe filtering actions specified by this table occur\nafter any LLC filtering (docsDevFilterLLCTable), but\nprior to any IP filtering (docsDevFilterIpTable,\ndocsDevNmAccessTable).\n\nWhen an agent (cable modem) restarts, then all\ndynamically created rows are lost.") docsDevCpeInetType = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 7, 4, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevCpeInetType.setDescription("The type of internet address of docsDevCpeInetAddr.") docsDevCpeInetAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 7, 4, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: docsDevCpeInetAddr.setDescription("The Internet address to which this entry applies.\n\nImplementors need to be aware that if the size of\ndocsDevCpeInetAddr exceeds 114 octets OIDs of\ninstances of columns in this row will have more\nthan 128 sub-identifiers and cannot be accessed\nusing SNMPv1, SNMPv2c, or SNMPv3. Only unicast\naddress are allowed for this object.") docsDevCpeInetSource = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 7, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,)).subtype(namedValues=NamedValues(("manual", 2), ("learned", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: docsDevCpeInetSource.setDescription("This object describes how this entry was created. If\nthe value is manual(2), this row was created by a\nnetwork management action (either configuration or\nSNMP set). If set to learned(3), then it was found\nvia looking at the source IP address of a received\npacket.") docsDevCpeInetRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 69, 1, 7, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: docsDevCpeInetRowStatus.setDescription("Standard object to manipulate rows. To create a row in\nthis table, one only needs to specify this object.\nManagement stations SHOULD use the create-and-go\nmechanism for creating rows in this table.") docsDevNotification = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 2)) docsDevConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 3)) docsDevGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 3, 1)) docsDevCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 3, 2)) docsDevGroupsV2 = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 3, 3)) docsDevCompliancesV2 = MibIdentifier((1, 3, 6, 1, 2, 1, 69, 3, 4)) # Augmentions # Groups docsDevBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 1, 1)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevSerialNumber"), ("DOCS-CABLE-DEVICE-MIB", "docsDevRole"), ("DOCS-CABLE-DEVICE-MIB", "docsDevResetNow"), ("DOCS-CABLE-DEVICE-MIB", "docsDevDateTime"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSTPControl"), ) ) if mibBuilder.loadTexts: docsDevBaseGroup.setDescription("A collection of objects providing device status and\ncontrol.") docsDevNmAccessGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 1, 2)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessInterfaces"), ("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessControl"), ("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessIp"), ("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessIpMask"), ("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessCommunity"), ) ) if mibBuilder.loadTexts: docsDevNmAccessGroup.setDescription("A collection of objects for controlling access to SNMP\nobjects on cable devices.\n\nThis group has been deprecated because all the\nobjects have been deprecated in favor of SNMPv3 and\nCoexistence MIBs.") docsDevSoftwareGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 1, 3)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevSwCurrentVers"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwOperStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwFilename"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwServer"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwAdminStatus"), ) ) if mibBuilder.loadTexts: docsDevSoftwareGroup.setDescription("A collection of objects for controlling software\ndownloads.\n\nThis group has been deprecated and replaced by\ndocsDevSoftwareGroupV2. Object docsDevSwServer\nhas been replaced by docsDevSwServerAddressType\nand docsDevSwServerAddress, and\ndocsDevSwServerTransportProtocol has been added to\nsupport TFTP and HTTP firmware downloads.") docsDevServerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 1, 4)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevServerBootState"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerTime"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerDhcp"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerTftp"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerConfigFile"), ) ) if mibBuilder.loadTexts: docsDevServerGroup.setDescription("A collection of objects providing status about server\nprovisioning.\n\nThis group has been deprecated and replaced by\ndocsDevServerGroupV2. The objects docsDevServerDhcp,\ndocsDevServerTime, and docsDevServerTftp have\nbeen replaced by docsDevServerDhcpAddressType,\ndocsDevServerDhcpAddress, docsDevServerTimeAddressType,\ndocsDevServerTimeAddress,\ndocsDevServerConfigTftpAddressType, and\ndocsDevServerConfigTftpAddress.") docsDevEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 1, 5)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevEvFirstTime"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleInhibited"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleThreshold"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLastTime"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvCounts"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvControl"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvReporting"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleAdminStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleInterval"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvSyslog"), ) ) if mibBuilder.loadTexts: docsDevEventGroup.setDescription("A collection of objects used to control and monitor\nevents.\n\nThis group has been deprecated and replaced by\ndocsDevEventGroupV2. The object docsDevEvSyslog has\n\n\n\nbeen replaced by docsDevEvSyslogAddressType and\ndocsDevEvSyslogAddress, and docsDevEvThrottleInhibited\nhas been replaced by\ndocsDevEvThrottleThresholdExceeded.") docsDevFilterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 1, 6)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpTosMask"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpProtocol"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterTosStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpBroadcast"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCMatches"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpDestPortLow"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpContinue"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpDaddr"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpDmask"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpDefault"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpSaddr"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpSourcePortHigh"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpPolicyId"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCProtocolType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpControl"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCProtocol"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterPolicyPtr"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpSourcePortLow"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCUnmatchedAction"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterPolicyStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterPolicyId"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterTosOrMask"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCIfIndex"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpTos"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterTosAndMask"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpSmask"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpMatches"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpDirection"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpIfIndex"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterIpDestPortHigh"), ) ) if mibBuilder.loadTexts: docsDevFilterGroup.setDescription("A collection of objects to specify filters at the link\nlayer and IPv4 layer.\n\nThis group has been deprecated and replaced by various\ngroups from the DiffServ MIB.") docsDevCpeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 1, 7)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevCpeIpMax"), ("DOCS-CABLE-DEVICE-MIB", "docsDevCpeEnroll"), ("DOCS-CABLE-DEVICE-MIB", "docsDevCpeStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevCpeSource"), ) ) if mibBuilder.loadTexts: docsDevCpeGroup.setDescription("A collection of objects used to control the number\nand specific values of IPv4 addresses allowed for\nassociated Customer Premises Equipment (CPE).\n\nThis group has been deprecated and replaced by\ndocsDevInetCpeGroup. The object docsDevCpeSource has\nbeen replaced by docsDevCpeInetSource, and\ndocsDevCpeStatus has been replaced by\ndocsDevCpeInetRowStatus.") docsDevBaseIgmpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 1)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevIgmpModeControl"), ) ) if mibBuilder.loadTexts: docsDevBaseIgmpGroup.setDescription("An object providing cable device IGMP status and\ncontrol.") docsDevBaseMaxCpeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 2)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevMaxCpe"), ) ) if mibBuilder.loadTexts: docsDevBaseMaxCpeGroup.setDescription("An object providing management of the maximum number of\nCPEs permitted access through a cable modem.") docsDevNmAccessExtGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 3)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessTrapVersion"), ) ) if mibBuilder.loadTexts: docsDevNmAccessExtGroup.setDescription("An object, in addition to the objects in\ndocsDevNmAccessGroup, for controlling access to\nSNMP objects on cable devices.\n\nThis group is included in this MIB due to existing\nimplementations of docsDevNmAccessTrapVersion in\nDOCSIS cable modems.\n\nThis group has been deprecated because the object has\nbeen deprecated in favor of SNMPv3 and Coexistence\nMIBs.") docsDevSoftwareGroupV2 = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 4)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevSwServerAddressType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwServerAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwFilename"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwCurrentVers"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwServerTransportProtocol"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwAdminStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSwOperStatus"), ) ) if mibBuilder.loadTexts: docsDevSoftwareGroupV2.setDescription("A collection of objects for controlling software\ndownloads. This group replaces docsDevSoftwareGroup.") docsDevServerGroupV2 = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 5)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevServerTimeAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerConfigFile"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerDhcpAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerDhcpAddressType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerBootState"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerConfigTftpAddressType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerTimeAddressType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerConfigTftpAddress"), ) ) if mibBuilder.loadTexts: docsDevServerGroupV2.setDescription("A collection of objects providing status about server\nprovisioning. This group replaces docsDevServerGroup.") docsDevEventGroupV2 = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 6)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevEvFirstTime"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleThreshold"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleThresholdExceeded"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLastTime"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvLevel"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvCounts"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvControl"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvId"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvReporting"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleAdminStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvText"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvThrottleInterval"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvSyslogAddress"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEvSyslogAddressType"), ) ) if mibBuilder.loadTexts: docsDevEventGroupV2.setDescription("A collection of objects used to control and monitor\nevents. This group replaces docsDevEventGroup.\nThe event reporting mechanism, and more specifically\ndocsDevEvReporting, can be used to take advantage of\nthe event reporting features of RFC3413 and RFC3014.") docsDevFilterLLCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 7)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCUnmatchedAction"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCMatches"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCIfIndex"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCProtocolType"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCProtocol"), ) ) if mibBuilder.loadTexts: docsDevFilterLLCGroup.setDescription("A collection of objects to specify link layer filters.") docsDevInetCpeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 69, 3, 3, 8)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevCpeIpMax"), ("DOCS-CABLE-DEVICE-MIB", "docsDevCpeInetRowStatus"), ("DOCS-CABLE-DEVICE-MIB", "docsDevCpeEnroll"), ("DOCS-CABLE-DEVICE-MIB", "docsDevCpeInetSource"), ) ) if mibBuilder.loadTexts: docsDevInetCpeGroup.setDescription("A collection of objects used to control the number\nand specific values of Internet (e.g., IPv4 and IPv6)\naddresses allowed for associated Customer Premises\nEquipment (CPE).") # Compliances docsDevBasicCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 69, 3, 2, 1)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevCpeGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevBaseGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEventGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevNmAccessGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSoftwareGroup"), ) ) if mibBuilder.loadTexts: docsDevBasicCompliance.setDescription("The RFC 2669 compliance statement for MCNS/DOCSIS\nCable Modems and Cable Modem Termination Systems.") docsDevCmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 69, 3, 4, 1)).setObjects(*(("DIFFSERV-MIB", "diffServMIBMultiFieldClfrGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevBaseMaxCpeGroup"), ("DIFFSERV-MIB", "diffServMIBClfrElementGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevBaseGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEventGroupV2"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerGroupV2"), ("DOCS-CABLE-DEVICE-MIB", "docsDevInetCpeGroup"), ("DIFFSERV-MIB", "diffServMIBAlgDropGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevBaseIgmpGroup"), ("DIFFSERV-MIB", "diffServMIBClfrGroup"), ("DIFFSERV-MIB", "diffServMIBActionGroup"), ("DIFFSERV-MIB", "diffServMIBCounterGroup"), ("DIFFSERV-MIB", "diffServMIBDscpMarkActGroup"), ("DIFFSERV-MIB", "diffServMIBDataPathGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSoftwareGroupV2"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCGroup"), ) ) if mibBuilder.loadTexts: docsDevCmCompliance.setDescription("The compliance statement for DOCSIS Cable Modems.\n\nThis compliance statement applies to implementations\nof DOCSIS versions that are not IPv6 capable.") docsDevCmtsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 69, 3, 4, 2)).setObjects(*(("DOCS-CABLE-DEVICE-MIB", "docsDevBaseMaxCpeGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevBaseGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevEventGroupV2"), ("DOCS-CABLE-DEVICE-MIB", "docsDevServerGroupV2"), ("DOCS-CABLE-DEVICE-MIB", "docsDevInetCpeGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevSoftwareGroupV2"), ("DOCS-CABLE-DEVICE-MIB", "docsDevFilterLLCGroup"), ("DOCS-CABLE-DEVICE-MIB", "docsDevBaseIgmpGroup"), ) ) if mibBuilder.loadTexts: docsDevCmtsCompliance.setDescription("The compliance statement for DOCSIS Cable Modem\nTermination Systems.\n\nThis compliance statement applies to implementations\nof DOCSIS versions that are not IPv6 capable.") # Exports # Module identity mibBuilder.exportSymbols("DOCS-CABLE-DEVICE-MIB", PYSNMP_MODULE_ID=docsDev) # Objects mibBuilder.exportSymbols("DOCS-CABLE-DEVICE-MIB", docsDev=docsDev, docsDevNotifications=docsDevNotifications, docsDevMIBObjects=docsDevMIBObjects, docsDevBase=docsDevBase, docsDevRole=docsDevRole, docsDevDateTime=docsDevDateTime, docsDevResetNow=docsDevResetNow, docsDevSerialNumber=docsDevSerialNumber, docsDevSTPControl=docsDevSTPControl, docsDevIgmpModeControl=docsDevIgmpModeControl, docsDevMaxCpe=docsDevMaxCpe, docsDevNmAccessTable=docsDevNmAccessTable, docsDevNmAccessEntry=docsDevNmAccessEntry, docsDevNmAccessIndex=docsDevNmAccessIndex, docsDevNmAccessIp=docsDevNmAccessIp, docsDevNmAccessIpMask=docsDevNmAccessIpMask, docsDevNmAccessCommunity=docsDevNmAccessCommunity, docsDevNmAccessControl=docsDevNmAccessControl, docsDevNmAccessInterfaces=docsDevNmAccessInterfaces, docsDevNmAccessStatus=docsDevNmAccessStatus, docsDevNmAccessTrapVersion=docsDevNmAccessTrapVersion, docsDevSoftware=docsDevSoftware, docsDevSwServer=docsDevSwServer, docsDevSwFilename=docsDevSwFilename, docsDevSwAdminStatus=docsDevSwAdminStatus, docsDevSwOperStatus=docsDevSwOperStatus, docsDevSwCurrentVers=docsDevSwCurrentVers, docsDevSwServerAddressType=docsDevSwServerAddressType, docsDevSwServerAddress=docsDevSwServerAddress, docsDevSwServerTransportProtocol=docsDevSwServerTransportProtocol, docsDevServer=docsDevServer, docsDevServerBootState=docsDevServerBootState, docsDevServerDhcp=docsDevServerDhcp, docsDevServerTime=docsDevServerTime, docsDevServerTftp=docsDevServerTftp, docsDevServerConfigFile=docsDevServerConfigFile, docsDevServerDhcpAddressType=docsDevServerDhcpAddressType, docsDevServerDhcpAddress=docsDevServerDhcpAddress, docsDevServerTimeAddressType=docsDevServerTimeAddressType, docsDevServerTimeAddress=docsDevServerTimeAddress, docsDevServerConfigTftpAddressType=docsDevServerConfigTftpAddressType, docsDevServerConfigTftpAddress=docsDevServerConfigTftpAddress, docsDevEvent=docsDevEvent, docsDevEvControl=docsDevEvControl, docsDevEvSyslog=docsDevEvSyslog, docsDevEvThrottleAdminStatus=docsDevEvThrottleAdminStatus, docsDevEvThrottleInhibited=docsDevEvThrottleInhibited, docsDevEvThrottleThreshold=docsDevEvThrottleThreshold, docsDevEvThrottleInterval=docsDevEvThrottleInterval, docsDevEvControlTable=docsDevEvControlTable, docsDevEvControlEntry=docsDevEvControlEntry, docsDevEvPriority=docsDevEvPriority, docsDevEvReporting=docsDevEvReporting, docsDevEventTable=docsDevEventTable, docsDevEventEntry=docsDevEventEntry, docsDevEvIndex=docsDevEvIndex, docsDevEvFirstTime=docsDevEvFirstTime, docsDevEvLastTime=docsDevEvLastTime, docsDevEvCounts=docsDevEvCounts, docsDevEvLevel=docsDevEvLevel, docsDevEvId=docsDevEvId, docsDevEvText=docsDevEvText, docsDevEvSyslogAddressType=docsDevEvSyslogAddressType, docsDevEvSyslogAddress=docsDevEvSyslogAddress, docsDevEvThrottleThresholdExceeded=docsDevEvThrottleThresholdExceeded, docsDevFilter=docsDevFilter, docsDevFilterLLCUnmatchedAction=docsDevFilterLLCUnmatchedAction, docsDevFilterLLCTable=docsDevFilterLLCTable, docsDevFilterLLCEntry=docsDevFilterLLCEntry, docsDevFilterLLCIndex=docsDevFilterLLCIndex, docsDevFilterLLCStatus=docsDevFilterLLCStatus, docsDevFilterLLCIfIndex=docsDevFilterLLCIfIndex, docsDevFilterLLCProtocolType=docsDevFilterLLCProtocolType, docsDevFilterLLCProtocol=docsDevFilterLLCProtocol, docsDevFilterLLCMatches=docsDevFilterLLCMatches, docsDevFilterIpDefault=docsDevFilterIpDefault, docsDevFilterIpTable=docsDevFilterIpTable, docsDevFilterIpEntry=docsDevFilterIpEntry, docsDevFilterIpIndex=docsDevFilterIpIndex, docsDevFilterIpStatus=docsDevFilterIpStatus, docsDevFilterIpControl=docsDevFilterIpControl, docsDevFilterIpIfIndex=docsDevFilterIpIfIndex, docsDevFilterIpDirection=docsDevFilterIpDirection, docsDevFilterIpBroadcast=docsDevFilterIpBroadcast, docsDevFilterIpSaddr=docsDevFilterIpSaddr, docsDevFilterIpSmask=docsDevFilterIpSmask, docsDevFilterIpDaddr=docsDevFilterIpDaddr, docsDevFilterIpDmask=docsDevFilterIpDmask, docsDevFilterIpProtocol=docsDevFilterIpProtocol, docsDevFilterIpSourcePortLow=docsDevFilterIpSourcePortLow, docsDevFilterIpSourcePortHigh=docsDevFilterIpSourcePortHigh, docsDevFilterIpDestPortLow=docsDevFilterIpDestPortLow, docsDevFilterIpDestPortHigh=docsDevFilterIpDestPortHigh, docsDevFilterIpMatches=docsDevFilterIpMatches, docsDevFilterIpTos=docsDevFilterIpTos, docsDevFilterIpTosMask=docsDevFilterIpTosMask, docsDevFilterIpContinue=docsDevFilterIpContinue, docsDevFilterIpPolicyId=docsDevFilterIpPolicyId, docsDevFilterPolicyTable=docsDevFilterPolicyTable, docsDevFilterPolicyEntry=docsDevFilterPolicyEntry, docsDevFilterPolicyIndex=docsDevFilterPolicyIndex, docsDevFilterPolicyId=docsDevFilterPolicyId, docsDevFilterPolicyStatus=docsDevFilterPolicyStatus, docsDevFilterPolicyPtr=docsDevFilterPolicyPtr, docsDevFilterTosTable=docsDevFilterTosTable, docsDevFilterTosEntry=docsDevFilterTosEntry, docsDevFilterTosIndex=docsDevFilterTosIndex, docsDevFilterTosStatus=docsDevFilterTosStatus, docsDevFilterTosAndMask=docsDevFilterTosAndMask, docsDevFilterTosOrMask=docsDevFilterTosOrMask, docsDevCpe=docsDevCpe, docsDevCpeEnroll=docsDevCpeEnroll, docsDevCpeIpMax=docsDevCpeIpMax, docsDevCpeTable=docsDevCpeTable, docsDevCpeEntry=docsDevCpeEntry, docsDevCpeIp=docsDevCpeIp, docsDevCpeSource=docsDevCpeSource, docsDevCpeStatus=docsDevCpeStatus, docsDevCpeInetTable=docsDevCpeInetTable, docsDevCpeInetEntry=docsDevCpeInetEntry, docsDevCpeInetType=docsDevCpeInetType, docsDevCpeInetAddr=docsDevCpeInetAddr, docsDevCpeInetSource=docsDevCpeInetSource, docsDevCpeInetRowStatus=docsDevCpeInetRowStatus, docsDevNotification=docsDevNotification, docsDevConformance=docsDevConformance) mibBuilder.exportSymbols("DOCS-CABLE-DEVICE-MIB", docsDevGroups=docsDevGroups, docsDevCompliances=docsDevCompliances, docsDevGroupsV2=docsDevGroupsV2, docsDevCompliancesV2=docsDevCompliancesV2) # Groups mibBuilder.exportSymbols("DOCS-CABLE-DEVICE-MIB", docsDevBaseGroup=docsDevBaseGroup, docsDevNmAccessGroup=docsDevNmAccessGroup, docsDevSoftwareGroup=docsDevSoftwareGroup, docsDevServerGroup=docsDevServerGroup, docsDevEventGroup=docsDevEventGroup, docsDevFilterGroup=docsDevFilterGroup, docsDevCpeGroup=docsDevCpeGroup, docsDevBaseIgmpGroup=docsDevBaseIgmpGroup, docsDevBaseMaxCpeGroup=docsDevBaseMaxCpeGroup, docsDevNmAccessExtGroup=docsDevNmAccessExtGroup, docsDevSoftwareGroupV2=docsDevSoftwareGroupV2, docsDevServerGroupV2=docsDevServerGroupV2, docsDevEventGroupV2=docsDevEventGroupV2, docsDevFilterLLCGroup=docsDevFilterLLCGroup, docsDevInetCpeGroup=docsDevInetCpeGroup) # Compliances mibBuilder.exportSymbols("DOCS-CABLE-DEVICE-MIB", docsDevBasicCompliance=docsDevBasicCompliance, docsDevCmCompliance=docsDevCmCompliance, docsDevCmtsCompliance=docsDevCmtsCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/INTERFACETOPN-MIB.py0000644000014400001440000011310211736645136021434 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python INTERFACETOPN-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:10 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( CounterBasedGauge64, ) = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64") ( OwnerString, rmon, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "rmon") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TimeStamp", "TruthValue") # Objects interfaceTopNMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 27)).setRevisions(("2001-03-27 00:00",)) if mibBuilder.loadTexts: interfaceTopNMIB.setOrganization("IETF RMON MIB Working Group") if mibBuilder.loadTexts: interfaceTopNMIB.setContactInfo("\n\nDan Romascanu\nAvaya Inc.\nTel: +972-3-645-8414\nEmail: dromasca@avaya.com") if mibBuilder.loadTexts: interfaceTopNMIB.setDescription("The MIB module for sorting device interfaces for RMON and\nSMON monitoring in a multiple device implementation.") interfaceTopNObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 27, 1)) interfaceTopNCaps = MibScalar((1, 3, 6, 1, 2, 1, 16, 27, 1, 1), Bits().subtype(namedValues=NamedValues(("ifInOctets", 0), ("ifInUcastPkts", 1), ("ifOutErrors", 10), ("ifInMulticastPkts", 11), ("ifInBroadcastPkts", 12), ("ifOutMulticastPkts", 13), ("ifOutBroadcastPkts", 14), ("ifHCInOctets", 15), ("ifHCInUcastPkts", 16), ("ifHCInMulticastPkts", 17), ("ifHCInBroadcastPkts", 18), ("ifHCOutOctets", 19), ("ifInNUcastPkts", 2), ("ifHCOutUcastPkts", 20), ("ifHCOutMulticastPkts", 21), ("ifHCOutBroadcastPkts", 22), ("dot3StatsAlignmentErrors", 23), ("dot3StatsFCSErrors", 24), ("dot3StatsSingleCollisionFrames", 25), ("dot3StatsMultipleCollisionFrames", 26), ("dot3StatsSQETestErrors", 27), ("dot3StatsDeferredTransmissions", 28), ("dot3StatsLateCollisions", 29), ("ifInDiscards", 3), ("dot3StatsExcessiveCollisions", 30), ("dot3StatsInternalMacTxErrors", 31), ("dot3StatsCarrierSenseErrors", 32), ("dot3StatsFrameTooLongs", 33), ("dot3StatsInternalMacRxErrors", 34), ("dot3StatsSymbolErrors", 35), ("dot3InPauseFrames", 36), ("dot3OutPauseFrames", 37), ("dot5StatsLineErrors", 38), ("dot5StatsBurstErrors", 39), ("ifInErrors", 4), ("dot5StatsACErrors", 40), ("dot5StatsAbortTransErrors", 41), ("dot5StatsInternalErrors", 42), ("dot5StatsLostFrameErrors", 43), ("dot5StatsReceiveCongestions", 44), ("dot5StatsFrameCopiedErrors", 45), ("dot5StatsTokenErrors", 46), ("dot5StatsSoftErrors", 47), ("dot5StatsHardErrors", 48), ("dot5StatsSignalLoss", 49), ("ifInUnknownProtos", 5), ("dot5StatsTransmitBeacons", 50), ("dot5StatsRecoverys", 51), ("dot5StatsLobeWires", 52), ("dot5StatsRemoves", 53), ("dot5StatsSingles", 54), ("dot5StatsFreqErrors", 55), ("etherStatsDropEvents", 56), ("etherStatsOctets", 57), ("etherStatsPkts", 58), ("etherStatsBroadcastPkts", 59), ("ifOutOctets", 6), ("etherStatsMulticastPkts", 60), ("etherStatsCRCAlignErrors", 61), ("etherStatsUndersizePkts", 62), ("etherStatsOversizePkts", 63), ("etherStatsFragments", 64), ("etherStatsJabbers", 65), ("etherStatsCollisions", 66), ("etherStatsPkts64Octets", 67), ("etherStatsPkts65to127Octets", 68), ("etherStatsPkts128to255Octets", 69), ("ifOutUcastPkts", 7), ("etherStatsPkts256to511Octets", 70), ("etherStatsPkts512to1023Octets", 71), ("etherStatsPkts1024to1518Octets", 72), ("dot1dTpPortInFrames", 73), ("dot1dTpPortOutFrames", 74), ("dot1dTpPortInDiscards", 75), ("ifOutNUcastPkts", 8), ("ifOutDiscards", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNCaps.setDescription("The type(s) of sorting capabilities supported by the agent.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInOctets, as defined in [RFC2863],\nthen the 'ifInOctets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInUcastPkts, as defined in [RFC2863],\nthen the 'ifInUcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInNUcastPkts, as defined in [RFC2863],\nthen the 'ifInNUcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInDiscards, as defined in [RFC2863],\nthen the 'ifInDiscards' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInErrors, as defined in [RFC2863],\nthen the 'ifInErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInUnknownProtocols, as defined in [RFC2863],\nthen the 'ifInUnknownProtocols' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifOutOctets, as defined in [RFC2863],\nthen the 'ifOutOctets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifOutUcastPackets, as defined in [RFC2863],\nthen the 'ifOutUcastPackets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifOutNUcastPackets, as defined in [RFC2863],\nthen the 'ifOutNUcastPackets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifOutDiscards, as defined in [RFC2863],\nthen the 'ifOutDiscards' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifOutErrors, as defined in [RFC2863],\nthen the 'ifOutErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInMulticastPkts, as defined in [RFC2863],\n\n\nthen the 'ifInMulticastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifInBroadcastPkts, as defined in [RFC2863],\nthen the 'ifInBroadcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifOutMulticastPkts, as defined in [RFC2863],\nthen the 'ifOutMulticastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifOutBroadcastPkts, as defined in [RFC2863],\nthen the 'ifOutBroadcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifHCInOctets, as defined in [RFC2863],\nthen the 'ifHCInOctets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifHCInMulticastPkts, as defined in [RFC2863],\nthen the 'ifHCInMulticastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifHCInBroadcastPkts, as defined in [RFC2863],\nthen the 'ifHCInBroadcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifHCOutOctets, as defined in [RFC2863],\nthen the 'ifHCOutOctets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifHCOutUcastPkts, as defined in [RFC2863],\nthen the 'ifHCOutUcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifHCOutMulticastPkts, as defined in [RFC2863],\nthen the 'ifHCOutMulticastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of ifHCOutBroadcastPkts, as defined in [RFC2863],\nthen the 'ifHCOutBroadcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsAlignmentErrors, as defined in [RFC2665],\nthen the 'dot3StatsAlignmentErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsFCSErrors, as defined in [RFC2665],\n\n\nthen the 'dot3StatsFCSErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsSingleCollisionFrames, as defined in\n[RFC2665],then the 'dot3StatsSingleCollisionFrames' bit will\nbe set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsSQETestErrors, as defined in [RFC2665],\nthen the 'dot3StatsSQETestErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsDeferredTransmissions, as defined in\n[RFC2665], then the 'dot3StatsDeferredTransmissions' bit\nwill be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsLateCollisions, as defined in [RFC2665],\nthen the 'dot3StatsLateCollisions' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsExcessiveCollisions, as defined in [RFC2665],\nthen the 'dot3StatsExcessiveCollisions' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsInternalMacTxErrors, as defined in\n[RFC2665],then the 'dot3StatsInternalMacTxErrors' bit\nwill be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsCarrierSenseErrors, as defined in [RFC2665],\nthen the 'dot3StatsCarrierSenseErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsFrameTooLongs, as defined in [RFC2665],\nthen the 'dot3StatsFrameTooLongs' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsInternalMacRxErrors, as defined in\n[RFC2665], then the 'dot3StatsInternalMacRxErrors' bit\nwill be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3StatsSymbolErrors, as defined in [RFC2665],\nthen the 'dot3StatsSymbolErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3InPauseFrames, as defined in [RFC2665],\n\n\nthen the 'dot3InPauseFrames' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot3OutPauseFrames, as defined in [RFC2665],\nthen the 'dot3OutPauseFrames' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsLineErrors, as defined in [RFC1748],\nthen the 'dot5StatsLineErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsBurstErrors, as defined in [RFC1748],\nthen the 'dot5StatsBurstErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsACErrors, as defined in [RFC1748],\nthen the 'dot5StatsACErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsAbortTransErrors, as defined in [RFC1748],\nthen the 'dot5StatsAbortTransErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsInternalErrors, as defined in [RFC1748],\nthen the 'dot5StatsInternalErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsLostFrameErrors, as defined in [RFC1748],\nthen the 'dot5StatsLostFrameErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsReceiveCongestionErrors, as defined in\n[RFC1748], then the 'dot5StatsReceiveCongestionErrors' bit will\nbe set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsFrameCopiedErrors, as defined in [RFC1748],\nthen the 'dot5StatsFrameCopiedErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsTokenErrors, as defined in [RFC1748],\nthen the 'dot5StatsTokenErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsSoftErrors, as defined in [RFC1748],\nthen the 'dot5StatsSoftErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\n\n\nvalues of dot5StatsHardErrors, as defined in [RFC1748],\nthen the 'dot5StatsHardErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsSignalLoss, as defined in [RFC1748],\nthen the 'dot5StatsSignalLoss' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsTransmitBeacons, as defined in [RFC1748],\nthen the 'dot5StatsTransmitBeacons' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsRecoverys, as defined in [RFC1748],\nthen the 'dot5StatsRecoverys' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsLobeWires, as defined in [RFC1748],\nthen the 'dot5StatsLobeWires' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsRemoves, as defined in [RFC1748],\nthen the 'dot5StatsRemoves' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsSingles, as defined in [RFC1748],\nthen the 'dot5StatsSingles' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot5StatsFreqErrors, as defined in [RFC1748],\nthen the 'dot5StatsFreqErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsDropEvents, as defined in [RFC2819],\nthen the 'etherStatsDropEvents' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsOctets, as defined in [RFC2819],\nthen the 'etherStatsOctets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsPkts, as defined in [RFC2819],\nthen the 'etherStatsPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsBroadcastPkts, as defined in [RFC2819],\nthen the 'etherStatsBroadcastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\n\n\nvalues of etherStatsMulticastPkts, as defined in [RFC2819],\nthen the 'etherStatsMulticastPkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsCRCAlignErrors, as defined in [RFC2819],\nthen the 'etherStatsCRCAlignErrors' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsUndersizePkts, as defined in [RFC2819],\nthen the 'etherStatsUndersizePkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsOversizePkts, as defined in [RFC2819],\nthen the 'etherStatsOversizePkts' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsFragments, as defined in [RFC2819],\nthen the 'etherStatsFragments' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsJabbers, as defined in [RFC2819],\nthen the 'etherStatsJabbers' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsCollisions, as defined in [RFC2819],\nthen the 'etherStatsCollisions' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsPkts64Octets, as defined in [RFC2819],\nthen the 'etherStatsPkts64Octets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsPkts65to127Octets, as defined in [RFC2819],\nthen the 'etherStatsPkts65to127Octets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsPkts128to255Octets, as defined in [RFC2819],\nthen the 'etherStatsPkts128to255Octets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsPkts256to511Octets, as defined in [RFC2819],\nthen the 'etherStatsPkts256to511Octets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of etherStatsPkts512to1023Octets, as defined in [RFC2819],\nthen the 'etherStatsPkts512to1023Octets' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\n\n\nvalues of etherStatsPkts1024to1518Octets, as defined in\n[RFC2819], then the 'etherStatsPkts1024to1518Octets' bit will\nbe set.\n\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot1dTpPortInFrames, as defined in [RFC1493],\nthen the 'dot1dTpPortInFrames' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot1dTpPortOutFrames, as defined in [RFC1493],\nthen the 'dot1dTpPortOutFrames' bit will be set.\n\nIf the agent can perform sorting of interfaces according to the\nvalues of dot1dTpPortInDiscards, as defined in [RFC1493],\nthen the 'dot1dTpPortInDiscards' bit will be set.") interfaceTopNControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 27, 1, 2)) if mibBuilder.loadTexts: interfaceTopNControlTable.setDescription("A table of control records for reports on the top `N'\ninterfaces for the value or rate of a selected object.\nThe number of entries depends on the configuration of the agent.\nThe maximum number of entries is implementation\ndependent.") interfaceTopNControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1)).setIndexNames((0, "INTERFACETOPN-MIB", "interfaceTopNControlIndex")) if mibBuilder.loadTexts: interfaceTopNControlEntry.setDescription("A set of parameters that control the creation of a\nreport of the top N ports according to several metrics.") interfaceTopNControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: interfaceTopNControlIndex.setDescription("An index that uniquely identifies an entry in the\ninterfaceTopNControl table. Each such entry defines\none top N report prepared for a probe.") interfaceTopNObjectVariable = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(11,32,53,14,72,13,46,24,25,63,49,9,65,44,50,70,34,66,41,23,59,3,37,4,71,75,60,35,39,74,27,31,15,28,36,18,17,40,68,29,64,16,21,48,7,67,0,57,1,8,38,30,58,10,52,45,22,73,19,12,47,42,33,69,51,61,54,6,43,5,62,56,20,55,2,26,)).subtype(namedValues=NamedValues(("ifInOctets", 0), ("ifInUcastPkts", 1), ("ifOutErrors", 10), ("ifInMulticastPkts", 11), ("ifInBroadcastPkts", 12), ("ifOutMulticastPkts", 13), ("ifOutBroadcastPkts", 14), ("ifHCInOctets", 15), ("ifHCInUcastPkts", 16), ("ifHCInMulticastPkts", 17), ("ifHCInBroadcastPkts", 18), ("ifHCOutOctets", 19), ("ifInNUcastPkts", 2), ("ifHCOutUcastPkts", 20), ("ifHCOutMulticastPkts", 21), ("ifHCOutBroadcastPkts", 22), ("dot3StatsAlignmentErrors", 23), ("dot3StatsFCSErrors", 24), ("dot3StatsSingleCollisionFrames", 25), ("dot3StatsMultipleCollisionFrames", 26), ("dot3StatsSQETestErrors", 27), ("dot3StatsDeferredTransmissions", 28), ("dot3StatsLateCollisions", 29), ("ifInDiscards", 3), ("dot3StatsExcessiveCollisions", 30), ("dot3StatsInternalMacTxErrors", 31), ("dot3StatsCarrierSenseErrors", 32), ("dot3StatsFrameTooLongs", 33), ("dot3StatsInternalMacRxErrors", 34), ("dot3StatsSymbolErrors", 35), ("dot3InPauseFrames", 36), ("dot3OutPauseFrames", 37), ("dot5StatsLineErrors", 38), ("dot5StatsBurstErrors", 39), ("ifInErrors", 4), ("dot5StatsACErrors", 40), ("dot5StatsAbortTransErrors", 41), ("dot5StatsInternalErrors", 42), ("dot5StatsLostFrameErrors", 43), ("dot5StatsReceiveCongestions", 44), ("dot5StatsFrameCopiedErrors", 45), ("dot5StatsTokenErrors", 46), ("dot5StatsSoftErrors", 47), ("dot5StatsHardErrors", 48), ("dot5StatsSignalLoss", 49), ("ifInUnknownProtos", 5), ("dot5StatsTransmitBeacons", 50), ("dot5StatsRecoverys", 51), ("dot5StatsLobeWires", 52), ("dot5StatsRemoves", 53), ("dot5StatsSingles", 54), ("dot5StatsFreqErrors", 55), ("etherStatsDropEvents", 56), ("etherStatsOctets", 57), ("etherStatsPkts", 58), ("etherStatsBroadcastPkts", 59), ("ifOutOctets", 6), ("etherStatsMulticastPkts", 60), ("etherStatsCRCAlignErrors", 61), ("etherStatsUndersizePkts", 62), ("etherStatsOversizePkts", 63), ("etherStatsFragments", 64), ("etherStatsJabbers", 65), ("etherStatsCollisions", 66), ("etherStatsPkts64Octets", 67), ("etherStatsPkts65to127Octets", 68), ("etherStatsPkts128to255Octets", 69), ("ifOutUcastPkts", 7), ("etherStatsPkts256to511Octets", 70), ("etherStatsPkts512to1023Octets", 71), ("etherStatsPkts1024to1518Octets", 72), ("dot1dTpPortInFrames", 73), ("dot1dTpPortOutFrames", 74), ("dot1dTpPortInDiscards", 75), ("ifOutNUcastPkts", 8), ("ifOutDiscards", 9), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNObjectVariable.setDescription("The particular variable to be sampled.\n\nValues between 0 and 22, point to MIB objects defined in\nIF-MIB [RFC2863].\n\nValues between 23 and 37, point to MIB objects defined in\nEtherLike-MIB [RFC2665].\n\nValues between 38 and 55, point to MIB objects defined in\nTOKENRING-MIB [RFC1748].\n\nValues between 56 and 72, point to MIB objects defined in\nRMON-MIB [RFC2819].\n\nValues between 73 and 75, point to MIB objects defined in\nBRIDGE-MIB [RFC1493].\n\nBecause SNMP access control is articulated entirely in terms\nof the contents of MIB views, no access control mechanism\nexists that can restrict the value of this object to identify\nonly those objects that exist in a particular MIB view.\nBecause there is thus no acceptable means of restricting the\nread access that could be obtained through the TopN\nmechanism, the probe must only grant write access to this\nobject in those views that have read access to all objects on\nthe probe.\n\n\n\nDuring a set operation, if the supplied variable name is not\navailable in the selected MIB view, or does not conform the\nother conditions mentioned above, a badValue error must be\nreturned.\n\nThis object may not be modified if the associated\ninterfaceTopNControlStatus object is equal to active(1).") interfaceTopNObjectSampleType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("absoluteValue", 1), ("deltaValue", 2), ("bandwidthPercentage", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNObjectSampleType.setDescription("The method of sampling the selected variable for storage in\nthe interfaceTopNTable.\n\nIf the value of this object is absoluteValue(1), the value of\nthe selected variable will be copied directly into the topNValue.\n\nIf the value of this object is deltaValue(2), the value of the\nselected variable at the last sample will be subtracted from\nthe current value, and the difference will be stored in topNValue.\n\nIf the value of this object is bandwidthPercentage(3), the agent\nrecords the total number of octets sent over an interval divided\nby the total number of octets that represent '100% bandwidth'\nfor that interface. This ratio is multiplied by 1000 to\nretain a 3 digit integer (0..1000) in units of\n'tenth of one percent'. This type of computation is accurate for\nthe octet counters. The usage of this option with respect to\npackets or error counters is not recommended.\n\nThis object may not be modified if the associated\ninterfaceTopNControlStatus object is equal to active(1).") interfaceTopNNormalizationReq = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 4), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNNormalizationReq.setDescription("This object indicates whether normalization is required in the\n\n\ncomputation of the selected value.\n\nIf the value of this object is 'true', the value of\nthe selected variable will be multiplied by a factor equal to the\ninterfaceTopNNormalizationFactor divided by the value of\neffective speed of the interface\n\nIf the value of this object is 'false',\nthe value of the selected variable will be taken 'as is' in\nthe TopN computation.\n\nIf the value of the object interfaceTopNSampleType is\nbandwidthPercentage(3), the object\ninterfaceTopNNormalizationReq cannot take the value 'true'.\n\nThe value of this object MUST be false if the effective speed of\nthe interface sub-layer as determined from ifSpeed is zero. This\nconforms to the ifSpeed definition in [RFC2863]for a sub-layer\nthat has no concept of bandwidth.\n\nThis object may not be modified if the associated\ninterfaceTopNControlStatus object is equal to active(1).") interfaceTopNNormalizationFactor = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNNormalizationFactor.setDescription("The value used for normalization if\ninterfaceTopNNormalizationReq has the value 'true'.\n\nExample:\nThe following set of values is applied to a device with multiple\nEthernet interfaces running at 10 Mbps, 100 Mbps, and 1 Gbps.\ninterfaceTopNObjectVariable = 'ifInOctets'\ninterfaceTopNObjectSampleType = 'deltaValue'\ninterfaceTopNNormalizationReq = 'true'\ninterfaceTopNNormalizationFactor = 1000000000\nApplying this set of values will result in the sampled delta values\nto be multiplied by 100 for the 10 Mbps interfaces, and by 10 for\nthe 100 Mbps interfaces, while the sample values for the 1 Gbps\ninterface are left unchanged. The effective speed of the interface is\ntaken from the value of ifSpeed for each interface, if ifSpeed is\nless than 4,294,967,295, or from ifHighSpeed multiplied by\n1,000,000 otherwise.\n\nAt row creation the agent SHOULD set the value of this object to\n\n\nthe effective speed of the interface.") interfaceTopNTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNTimeRemaining.setDescription("The number of seconds left in the report\ncurrently being collected. When this object\nis modified by the management station, a new\ncollection is started, possibly aborting a\ncurrently running report. The new value is\nused as the requested duration of this report,\nwhich is loaded into the associated\ninterfaceTopNDuration object.\n\nWhen this object is set to a non-zero value,\nany associated interfaceTopNEntries shall be\nmade inaccessible by the agent. While the value\nof this object is non-zero, it decrements by one\nper second until it reaches zero. During this\ntime, all associated interfaceTopNEntries shall\nremain inaccessible. At the time that this object\ndecrements to zero, the report is made accessible\nin the interfaceTopNTable. Thus, the interfaceTopN\ntable needs to be created only at the end of the\ncollection interval.\n\nIf the value of this object is set to zero\nwhile the associated report is running, the\nrunning report is aborted and no associated\ninterfaceTopNEntries are created.") interfaceTopNDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNDuration.setDescription("The number of seconds that this report has\ncollected during the last sampling interval,\nor if this report is currently being collected,\nthe number of seconds that this report is being\ncollected during this sampling interval.\n\nWhen the associated interfaceTopNTimeRemaining\n\n\nobject is set, this object shall be set by the\nagent to the same value and shall not be modified\nuntil the next time the interfaceTopNTimeRemaining\nis set.\n\nThis value shall be zero if no reports have been\nrequested for this interfaceTopNControlEntry.") interfaceTopNRequestedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 8), Integer32().clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNRequestedSize.setDescription("The maximum number of interfaces requested\nfor the Top N Table.\n\nWhen this object is created or modified, the\nagent should set interfaceTopNGrantedSize as close\nto this object as is possible for the particular\nimplementation and available resources.") interfaceTopNGrantedSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNGrantedSize.setDescription("The maximum number of interfaces in the\ntop N table.\n\nWhen the associated interfaceTopNRequestedSize object is\ncreated or modified, the agent should set this object as\nclosely to the requested value as is possible for the\nparticular implementation and available resources. The\nagent must not lower this value except as a result of a\nset to the associated interfaceTopNRequestedSize object.") interfaceTopNStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNStartTime.setDescription("The value of sysUpTime when this top N report was\nlast started. In other words, this is the time that\nthe associated interfaceTopNTimeRemaining object was\n\n\nmodified to start the requested report.\n\nIf the report has not yet been started, the value\nof this object is zero.") interfaceTopNOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 11), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNOwner.setDescription("The entity that configured this entry and is\nusing the resources assigned to it.") interfaceTopNLastCompletionTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 12), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNLastCompletionTime.setDescription("The value of sysUpTime when this top N report was\nlast completed. If no report was yet completed, the value\nof this object is zero.") interfaceTopNRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 2, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: interfaceTopNRowStatus.setDescription("The status of this row.\n\nIf the value of this object is not equal to\nactive(1), all associated entries in the\ninterfaceTopNTable shall be deleted by the\nagent.") interfaceTopNTable = MibTable((1, 3, 6, 1, 2, 1, 16, 27, 1, 3)) if mibBuilder.loadTexts: interfaceTopNTable.setDescription("A table of reports for the top `N' ports based on\n\n\nsetting of associated control table entries. The\nmaximum number of entries depends on the number\nof entries in table interfaceTopNControlTable and\nthe value of object interfaceTopNGrantedSize for\neach entry.\n\nFor each entry in the interfaceTopNControlTable,\ninterfaces with the highest value of\ninterfaceTopNValue shall be placed in this table\nin decreasing order of that rate until there is\nno more room or until there are no more ports.") interfaceTopNEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 27, 1, 3, 1)).setIndexNames((0, "INTERFACETOPN-MIB", "interfaceTopNControlIndex"), (0, "INTERFACETOPN-MIB", "interfaceTopNIndex")) if mibBuilder.loadTexts: interfaceTopNEntry.setDescription("A set of statistics for an interface that is\npart of a top N report.") interfaceTopNIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: interfaceTopNIndex.setDescription("An index that uniquely identifies an entry in\nthe interfaceTopN table among those in the same\nreport. This index is between 1 and N, where N\nis the number of entries in this report. Increasing\nvalues of interfaceTopNIndex shall be assigned to\nentries with decreasing values of interfaceTopNValue\nor interfaceTopNValue64, whichever applies,\nuntil index N is assigned to the entry with the\n\n\nlowest value of interfaceTopNValue /\ninterfaceTopNValue64 or there are no\nmore interfaceTopNEntries.\n\nNo ports are included in a report where their\nvalue of interfaceTopNValue would be zero.") interfaceTopNDataSourceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNDataSourceIndex.setDescription("This object identifies the index corresponding\nto the dataSource for this entry.\n\nFor sorted values of variables belonging to the\nIF-MIB, EtherLike-MIB or TOKENRING-MIB, this value\nequals the ifIndex of the interface.\n\nFor sorted values of variables belonging to the\nRMON-MIB, this value equals the interface corresponding\nto the data source, pointed to by the value\nof etherStatsDataSource.\n\nFor sorted values of variables belonging to the\nBRIDGE-MIB, this value equals the interface corresponding\nto the bridge port, pointed to by the value\nof dot1dBasePortIfIndex.") interfaceTopNValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 3, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNValue.setDescription("The value at the end of the sampling interval, or\nthe amount of change in the selected variable\nduring this sampling interval for the identified\ninterface. The selected variable is that interfaces's\ninstance of the object selected by\ninterfaceTopNObjectVariable. This value may be normalized\nif interfaceTopNNormalization required equals 'true'.\nThis value of this object will be computed for all\ncases when interfaceTopNObjectVariable points to a\n32-bit counter or Gauge or when\ninterfaceTopNObjectSampleType equals bandwidthPercentage(3),\nand will be zero for all other cases.") interfaceTopNValue64 = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 27, 1, 3, 1, 4), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTopNValue64.setDescription("The value at the end of the sampling interval, or\nthe amount of change in the selected variable\nduring this sampling interval for the identified\ninterface. The selected variable is that interfaces's\ninstance of the object selected by\ninterfaceTopNObjectVariable. This value may be normalized\nif interfaceTopNNormalization required equals 'true'.\nThis value of this object will be computed for all\ncases when interfaceTopNObjectVariable points to\na 64-bit counter, and will be zero for all other cases.") interfaceTopNNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 27, 2)) interfaceTopNConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 27, 3)) interfaceTopNCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 27, 3, 1)) interfaceTopNGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 27, 3, 2)) # Augmentions # Groups interfaceTopNGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 27, 3, 2, 1)).setObjects(*(("INTERFACETOPN-MIB", "interfaceTopNDataSourceIndex"), ("INTERFACETOPN-MIB", "interfaceTopNNormalizationFactor"), ("INTERFACETOPN-MIB", "interfaceTopNTimeRemaining"), ("INTERFACETOPN-MIB", "interfaceTopNValue"), ("INTERFACETOPN-MIB", "interfaceTopNObjectVariable"), ("INTERFACETOPN-MIB", "interfaceTopNRowStatus"), ("INTERFACETOPN-MIB", "interfaceTopNLastCompletionTime"), ("INTERFACETOPN-MIB", "interfaceTopNRequestedSize"), ("INTERFACETOPN-MIB", "interfaceTopNCaps"), ("INTERFACETOPN-MIB", "interfaceTopNObjectSampleType"), ("INTERFACETOPN-MIB", "interfaceTopNValue64"), ("INTERFACETOPN-MIB", "interfaceTopNDuration"), ("INTERFACETOPN-MIB", "interfaceTopNOwner"), ("INTERFACETOPN-MIB", "interfaceTopNNormalizationReq"), ("INTERFACETOPN-MIB", "interfaceTopNGrantedSize"), ("INTERFACETOPN-MIB", "interfaceTopNStartTime"), ) ) if mibBuilder.loadTexts: interfaceTopNGroup.setDescription("A collection of objects providing interfaceTopN data for\na multiple interfaces device.") # Compliances interfaceTopNCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 27, 3, 1, 1)).setObjects(*(("INTERFACETOPN-MIB", "interfaceTopNGroup"), ) ) if mibBuilder.loadTexts: interfaceTopNCompliance.setDescription("Describes the requirements for conformance to the\nInterfaceTopN MIB.") # Exports # Module identity mibBuilder.exportSymbols("INTERFACETOPN-MIB", PYSNMP_MODULE_ID=interfaceTopNMIB) # Objects mibBuilder.exportSymbols("INTERFACETOPN-MIB", interfaceTopNMIB=interfaceTopNMIB, interfaceTopNObjects=interfaceTopNObjects, interfaceTopNCaps=interfaceTopNCaps, interfaceTopNControlTable=interfaceTopNControlTable, interfaceTopNControlEntry=interfaceTopNControlEntry, interfaceTopNControlIndex=interfaceTopNControlIndex, interfaceTopNObjectVariable=interfaceTopNObjectVariable, interfaceTopNObjectSampleType=interfaceTopNObjectSampleType, interfaceTopNNormalizationReq=interfaceTopNNormalizationReq, interfaceTopNNormalizationFactor=interfaceTopNNormalizationFactor, interfaceTopNTimeRemaining=interfaceTopNTimeRemaining, interfaceTopNDuration=interfaceTopNDuration, interfaceTopNRequestedSize=interfaceTopNRequestedSize, interfaceTopNGrantedSize=interfaceTopNGrantedSize, interfaceTopNStartTime=interfaceTopNStartTime, interfaceTopNOwner=interfaceTopNOwner, interfaceTopNLastCompletionTime=interfaceTopNLastCompletionTime, interfaceTopNRowStatus=interfaceTopNRowStatus, interfaceTopNTable=interfaceTopNTable, interfaceTopNEntry=interfaceTopNEntry, interfaceTopNIndex=interfaceTopNIndex, interfaceTopNDataSourceIndex=interfaceTopNDataSourceIndex, interfaceTopNValue=interfaceTopNValue, interfaceTopNValue64=interfaceTopNValue64, interfaceTopNNotifications=interfaceTopNNotifications, interfaceTopNConformance=interfaceTopNConformance, interfaceTopNCompliances=interfaceTopNCompliances, interfaceTopNGroups=interfaceTopNGroups) # Groups mibBuilder.exportSymbols("INTERFACETOPN-MIB", interfaceTopNGroup=interfaceTopNGroup) # Compliances mibBuilder.exportSymbols("INTERFACETOPN-MIB", interfaceTopNCompliance=interfaceTopNCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DNS-RESOLVER-MIB.py0000644000014400001440000011424311736645135021324 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DNS-RESOLVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:50 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( DnsClass, DnsName, DnsNameAsIndex, DnsOpCode, DnsQClass, DnsQType, DnsRespCode, DnsTime, DnsType, dns, ) = mibBuilder.importSymbols("DNS-SERVER-MIB", "DnsClass", "DnsName", "DnsNameAsIndex", "DnsOpCode", "DnsQClass", "DnsQType", "DnsRespCode", "DnsTime", "DnsType", "dns") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( DisplayString, RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention") # Objects dnsResMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 32, 2)).setRevisions(("1994-01-28 22:50",)) if mibBuilder.loadTexts: dnsResMIB.setOrganization("IETF DNS Working Group") if mibBuilder.loadTexts: dnsResMIB.setContactInfo(" Rob Austein\nPostal: Epilogue Technology Corporation\n 268 Main Street, Suite 283\n North Reading, MA 10864\n US\n Tel: +1 617 245 0804\n Fax: +1 617 245 8122\nE-Mail: sra@epilogue.com\n\n Jon Saperia\nPostal: Digital Equipment Corporation\n 110 Spit Brook Road\n ZKO1-3/H18\n Nashua, NH 03062-2698\n US\n Tel: +1 603 881 0480\n Fax: +1 603 881 0120\nE-mail: saperia@zko.dec.com") if mibBuilder.loadTexts: dnsResMIB.setDescription("The MIB module for entities implementing the client\n(resolver) side of the Domain Name System (DNS)\nprotocol.") dnsResMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 1)) dnsResConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 1, 1)) dnsResConfigImplementIdent = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResConfigImplementIdent.setDescription("The implementation identification string for the\nresolver software in use on the system, for example;\n`RES-2.1'") dnsResConfigService = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("recursiveOnly", 1), ("iterativeOnly", 2), ("recursiveAndIterative", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResConfigService.setDescription("Kind of DNS resolution service provided:\n\nrecursiveOnly(1) indicates a stub resolver.\n\niterativeOnly(2) indicates a normal full service\nresolver.\n\nrecursiveAndIterative(3) indicates a full-service\nresolver which performs a mix of recursive and iterative\nqueries.") dnsResConfigMaxCnames = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResConfigMaxCnames.setDescription("Limit on how many CNAMEs the resolver should allow\nbefore deciding that there's a CNAME loop. Zero means\nthat resolver has no explicit CNAME limit.") dnsResConfigSbeltTable = MibTable((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4)) if mibBuilder.loadTexts: dnsResConfigSbeltTable.setDescription("Table of safety belt information used by the resolver\nwhen it hasn't got any better idea of where to send a\nquery, such as when the resolver is booting or is a stub\nresolver.") dnsResConfigSbeltEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1)).setIndexNames((0, "DNS-RESOLVER-MIB", "dnsResConfigSbeltAddr"), (0, "DNS-RESOLVER-MIB", "dnsResConfigSbeltSubTree"), (0, "DNS-RESOLVER-MIB", "dnsResConfigSbeltClass")) if mibBuilder.loadTexts: dnsResConfigSbeltEntry.setDescription("An entry in the resolver's Sbelt table.\nRows may be created or deleted at any time by the DNS\nresolver and by SNMP SET requests. Whether the values\nchanged via SNMP are saved in stable storage across\n`reset' operations is implementation-specific.") dnsResConfigSbeltAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResConfigSbeltAddr.setDescription("The IP address of the Sbelt name server identified by\nthis row of the table.") dnsResConfigSbeltName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1, 2), DnsName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dnsResConfigSbeltName.setDescription("The DNS name of a Sbelt nameserver identified by this\nrow of the table. A zero-length string indicates that\nthe name is not known by the resolver.") dnsResConfigSbeltRecursion = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("iterative", 1), ("recursive", 2), ("recursiveAndIterative", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dnsResConfigSbeltRecursion.setDescription("Kind of queries resolver will be sending to the name\nserver identified in this row of the table:\n\niterative(1) indicates that resolver will be directing\niterative queries to this name server (RD bit turned\noff).\n\nrecursive(2) indicates that resolver will be directing\nrecursive queries to this name server (RD bit turned\non).\n\nrecursiveAndIterative(3) indicates that the resolver\nwill be directing both recursive and iterative queries\nto the server identified in this row of the table.") dnsResConfigSbeltPref = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dnsResConfigSbeltPref.setDescription("This value identifies the preference for the name server\nidentified in this row of the table. The lower the\nvalue, the more desirable the resolver considers this\nserver.") dnsResConfigSbeltSubTree = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1, 5), DnsNameAsIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResConfigSbeltSubTree.setDescription("Queries sent to the name server identified by this row\nof the table are limited to those for names in the name\nsubtree identified by this variable. If no such\nlimitation applies, the value of this variable is the\nname of the root domain (a DNS name consisting of a\nsingle zero octet).") dnsResConfigSbeltClass = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1, 6), DnsClass()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResConfigSbeltClass.setDescription("The class of DNS queries that will be sent to the server\nidentified by this row of the table.") dnsResConfigSbeltStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 4, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dnsResConfigSbeltStatus.setDescription("Row status column for this row of the Sbelt table.") dnsResConfigUpTime = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 5), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResConfigUpTime.setDescription("If the resolver has a persistent state (e.g., a\nprocess), this value will be the time elapsed since it\nstarted. For software without persistant state, this\nvalue will be 0.") dnsResConfigResetTime = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 6), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResConfigResetTime.setDescription("If the resolver has a persistent state (e.g., a process)\nand supports a `reset' operation (e.g., can be told to\nre-read configuration files), this value will be the\ntime elapsed since the last time the resolver was\n`reset.' For software that does not have persistence or\ndoes not support a `reset' operation, this value will be\nzero.") dnsResConfigReset = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("other", 1), ("reset", 2), ("initializing", 3), ("running", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResConfigReset.setDescription("Status/action object to reinitialize any persistant\nresolver state. When set to reset(2), any persistant\nresolver state (such as a process) is reinitialized as if\nthe resolver had just been started. This value will\nnever be returned by a read operation. When read, one of\nthe following values will be returned:\n other(1) - resolver in some unknown state;\n initializing(3) - resolver (re)initializing;\n running(4) - resolver currently running.") dnsResCounter = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 1, 2)) dnsResCounterByOpcodeTable = MibTable((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 3)) if mibBuilder.loadTexts: dnsResCounterByOpcodeTable.setDescription("Table of the current count of resolver queries and\nanswers.") dnsResCounterByOpcodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 3, 1)).setIndexNames((0, "DNS-RESOLVER-MIB", "dnsResCounterByOpcodeCode")) if mibBuilder.loadTexts: dnsResCounterByOpcodeEntry.setDescription("Entry in the resolver counter table. Entries are\nindexed by DNS OpCode.") dnsResCounterByOpcodeCode = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 3, 1, 1), DnsOpCode()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResCounterByOpcodeCode.setDescription("The index to this table. The OpCodes that have already\nbeen defined are found in RFC-1035.") dnsResCounterByOpcodeQueries = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterByOpcodeQueries.setDescription("Total number of queries that have sent out by the\nresolver since initialization for the OpCode which is\nthe index to this row of the table.") dnsResCounterByOpcodeResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterByOpcodeResponses.setDescription("Total number of responses that have been received by the\nresolver since initialization for the OpCode which is\nthe index to this row of the table.") dnsResCounterByRcodeTable = MibTable((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 4)) if mibBuilder.loadTexts: dnsResCounterByRcodeTable.setDescription("Table of the current count of responses to resolver\nqueries.") dnsResCounterByRcodeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 4, 1)).setIndexNames((0, "DNS-RESOLVER-MIB", "dnsResCounterByRcodeCode")) if mibBuilder.loadTexts: dnsResCounterByRcodeEntry.setDescription("Entry in the resolver response table. Entries are\nindexed by DNS response code.") dnsResCounterByRcodeCode = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 4, 1, 1), DnsRespCode()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResCounterByRcodeCode.setDescription("The index to this table. The Response Codes that have\nalready been defined are found in RFC-1035.") dnsResCounterByRcodeResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterByRcodeResponses.setDescription("Number of responses the resolver has received for the\nresponse code value which identifies this row of the\ntable.") dnsResCounterNonAuthDataResps = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterNonAuthDataResps.setDescription("Number of requests made by the resolver for which a\nnon-authoritative answer (cached data) was received.") dnsResCounterNonAuthNoDataResps = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterNonAuthNoDataResps.setDescription("Number of requests made by the resolver for which a\nnon-authoritative answer - no such data response (empty\nanswer) was received.") dnsResCounterMartians = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterMartians.setDescription("Number of responses received which were received from\nservers that the resolver does not think it asked.") dnsResCounterRecdResponses = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterRecdResponses.setDescription("Number of responses received to all queries.") dnsResCounterUnparseResps = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterUnparseResps.setDescription("Number of responses received which were unparseable.") dnsResCounterFallbacks = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCounterFallbacks.setDescription("Number of times the resolver had to fall back to its\nseat belt information.") dnsResLameDelegation = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 1, 3)) dnsResLameDelegationOverflows = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResLameDelegationOverflows.setDescription("Number of times the resolver attempted to add an entry\nto the Lame Delegation table but was unable to for some\nreason such as space constraints.") dnsResLameDelegationTable = MibTable((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 2)) if mibBuilder.loadTexts: dnsResLameDelegationTable.setDescription("Table of name servers returning lame delegations.\n\nA lame delegation has occured when a parent zone\ndelegates authority for a child zone to a server that\nappears not to think that it is authoritative for the\nchild zone in question.") dnsResLameDelegationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 2, 1)).setIndexNames((0, "DNS-RESOLVER-MIB", "dnsResLameDelegationSource"), (0, "DNS-RESOLVER-MIB", "dnsResLameDelegationName"), (0, "DNS-RESOLVER-MIB", "dnsResLameDelegationClass")) if mibBuilder.loadTexts: dnsResLameDelegationEntry.setDescription("Entry in lame delegation table. Only the resolver may\ncreate rows in this table. SNMP SET requests may be used\nto delete rows.") dnsResLameDelegationSource = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 2, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResLameDelegationSource.setDescription("Source of lame delegation.") dnsResLameDelegationName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 2, 1, 2), DnsNameAsIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResLameDelegationName.setDescription("DNS name for which lame delegation was received.") dnsResLameDelegationClass = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 2, 1, 3), DnsClass()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResLameDelegationClass.setDescription("DNS class of received lame delegation.") dnsResLameDelegationCounts = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResLameDelegationCounts.setDescription("How many times this lame delegation has been received.") dnsResLameDelegationStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 3, 2, 1, 5), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResLameDelegationStatus.setDescription("Status column for the lame delegation table. Since only\nthe agent (DNS resolver) creates rows in this table, the\nonly values that a manager may write to this variable\nare active(1) and destroy(6).") dnsResCache = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 1, 4)) dnsResCacheStatus = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("clear", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResCacheStatus.setDescription("Status/action for the resolver's cache.\n\nenabled(1) means that the use of the cache is allowed.\nQuery operations can return this state.\n\ndisabled(2) means that the cache is not being used.\nQuery operations can return this state.\n\nSetting this variable to clear(3) deletes the entire\ncontents of the resolver's cache, but does not otherwise\nchange the resolver's state. The status will retain its\nprevious value from before the clear operation (i.e.,\nenabled(1) or disabled(2)). The value of clear(3) can\nNOT be returned by a query operation.") dnsResCacheMaxTTL = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 2), DnsTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResCacheMaxTTL.setDescription("Maximum Time-To-Live for RRs in this cache. If the\nresolver does not implement a TTL ceiling, the value of\nthis field should be zero.") dnsResCacheGoodCaches = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCacheGoodCaches.setDescription("Number of RRs the resolver has cached successfully.") dnsResCacheBadCaches = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCacheBadCaches.setDescription("Number of RRs the resolver has refused to cache because\nthey appear to be dangerous or irrelevant. E.g., RRs\nwith suspiciously high TTLs, unsolicited root\ninformation, or that just don't appear to be relevant to\nthe question the resolver asked.") dnsResCacheRRTable = MibTable((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5)) if mibBuilder.loadTexts: dnsResCacheRRTable.setDescription("This table contains information about all the resource\nrecords currently in the resolver's cache.") dnsResCacheRREntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1)).setIndexNames((0, "DNS-RESOLVER-MIB", "dnsResCacheRRName"), (0, "DNS-RESOLVER-MIB", "dnsResCacheRRClass"), (0, "DNS-RESOLVER-MIB", "dnsResCacheRRType"), (0, "DNS-RESOLVER-MIB", "dnsResCacheRRIndex")) if mibBuilder.loadTexts: dnsResCacheRREntry.setDescription("An entry in the resolvers's cache. Rows may be created\nonly by the resolver. SNMP SET requests may be used to\ndelete rows.") dnsResCacheRRName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 1), DnsNameAsIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResCacheRRName.setDescription("Owner name of the Resource Record in the cache which is\nidentified in this row of the table. As described in\nRFC-1034, the owner of the record is the domain name\nwere the RR is found.") dnsResCacheRRClass = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 2), DnsClass()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResCacheRRClass.setDescription("DNS class of the Resource Record in the cache which is\nidentified in this row of the table.") dnsResCacheRRType = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 3), DnsType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResCacheRRType.setDescription("DNS type of the Resource Record in the cache which is\nidentified in this row of the table.") dnsResCacheRRTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 4), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCacheRRTTL.setDescription("Time-To-Live of RR in DNS cache. This is the initial\nTTL value which was received with the RR when it was\noriginally received.") dnsResCacheRRElapsedTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 5), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCacheRRElapsedTTL.setDescription("Elapsed seconds since RR was received.") dnsResCacheRRSource = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 6), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCacheRRSource.setDescription("Host from which RR was received, 0.0.0.0 if unknown.") dnsResCacheRRData = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 7), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCacheRRData.setDescription("RDATA portion of a cached RR. The value is in the\nformat defined for the particular DNS class and type of\nthe resource record.") dnsResCacheRRStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 8), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResCacheRRStatus.setDescription("Status column for the resolver cache table. Since only\nthe agent (DNS resolver) creates rows in this table, the\nonly values that a manager may write to this variable\nare active(1) and destroy(6).") dnsResCacheRRIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 9), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResCacheRRIndex.setDescription("A value which makes entries in the table unique when the\nother index values (dnsResCacheRRName,\ndnsResCacheRRClass, and dnsResCacheRRType) do not\nprovide a unique index.") dnsResCacheRRPrettyName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 4, 5, 1, 10), DnsName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResCacheRRPrettyName.setDescription("Name of the RR at this row in the table. This is\nidentical to the dnsResCacheRRName variable, except that\ncharacter case is preserved in this variable, per DNS\nconventions.") dnsResNCache = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 1, 5)) dnsResNCacheStatus = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("clear", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResNCacheStatus.setDescription("Status/action for the resolver's negative response\ncache.\n\nenabled(1) means that the use of the negative response\ncache is allowed. Query operations can return this\nstate.\ndisabled(2) means that the negative response cache is\nnot being used. Query operations can return this state.\n\nSetting this variable to clear(3) deletes the entire\ncontents of the resolver's negative response cache. The\nstatus will retain its previous value from before the\nclear operation (i.e., enabled(1) or disabled(2)). The\nvalue of clear(3) can NOT be returned by a query\noperation.") dnsResNCacheMaxTTL = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 2), DnsTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResNCacheMaxTTL.setDescription("Maximum Time-To-Live for cached authoritative errors.\nIf the resolver does not implement a TTL ceiling, the\nvalue of this field should be zero.") dnsResNCacheGoodNCaches = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheGoodNCaches.setDescription("Number of authoritative errors the resolver has cached\nsuccessfully.") dnsResNCacheBadNCaches = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheBadNCaches.setDescription("Number of authoritative errors the resolver would have\nliked to cache but was unable to because the appropriate\nSOA RR was not supplied or looked suspicious.") dnsResNCacheErrTable = MibTable((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5)) if mibBuilder.loadTexts: dnsResNCacheErrTable.setDescription("The resolver's negative response cache. This table\ncontains information about authoritative errors that\nhave been cached by the resolver.") dnsResNCacheErrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1)).setIndexNames((0, "DNS-RESOLVER-MIB", "dnsResNCacheErrQName"), (0, "DNS-RESOLVER-MIB", "dnsResNCacheErrQClass"), (0, "DNS-RESOLVER-MIB", "dnsResNCacheErrQType"), (0, "DNS-RESOLVER-MIB", "dnsResNCacheErrIndex")) if mibBuilder.loadTexts: dnsResNCacheErrEntry.setDescription("An entry in the resolver's negative response cache\ntable. Only the resolver can create rows. SNMP SET\nrequests may be used to delete rows.") dnsResNCacheErrQName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 1), DnsNameAsIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResNCacheErrQName.setDescription("QNAME associated with a cached authoritative error.") dnsResNCacheErrQClass = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 2), DnsQClass()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResNCacheErrQClass.setDescription("DNS QCLASS associated with a cached authoritative\nerror.") dnsResNCacheErrQType = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 3), DnsQType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsResNCacheErrQType.setDescription("DNS QTYPE associated with a cached authoritative error.") dnsResNCacheErrTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 4), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheErrTTL.setDescription("Time-To-Live of a cached authoritative error at the time\nof the error, it should not be decremented by the number\nof seconds since it was received. This should be the\nTTL as copied from the MINIMUM field of the SOA that\naccompanied the authoritative error, or a smaller value\nif the resolver implements a ceiling on negative\nresponse cache TTLs.") dnsResNCacheErrElapsedTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 5), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheErrElapsedTTL.setDescription("Elapsed seconds since authoritative error was received.") dnsResNCacheErrSource = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 6), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheErrSource.setDescription("Host which sent the authoritative error, 0.0.0.0 if\nunknown.") dnsResNCacheErrCode = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("nonexistantName", 1), ("noData", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheErrCode.setDescription("The authoritative error that has been cached:\n\nnonexistantName(1) indicates an authoritative name error\n(RCODE = 3).\n\nnoData(2) indicates an authoritative response with no\nerror (RCODE = 0) and no relevant data.\n\nother(3) indicates some other cached authoritative\nerror. At present, no such errors are known to exist.") dnsResNCacheErrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 8), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsResNCacheErrStatus.setDescription("Status column for the resolver negative response cache\ntable. Since only the agent (DNS resolver) creates rows\nin this table, the only values that a manager may write\nto this variable are active(1) and destroy(6).") dnsResNCacheErrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheErrIndex.setDescription("A value which makes entries in the table unique when the\nother index values (dnsResNCacheErrQName,\ndnsResNCacheErrQClass, and dnsResNCacheErrQType) do not\nprovide a unique index.") dnsResNCacheErrPrettyName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 2, 1, 5, 5, 1, 10), DnsName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResNCacheErrPrettyName.setDescription("QNAME associated with this row in the table. This is\nidentical to the dnsResNCacheErrQName variable, except\nthat character case is preserved in this variable, per\nDNS conventions.") dnsResOptCounter = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 1, 6)) dnsResOptCounterReferals = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 6, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResOptCounterReferals.setDescription("Number of responses which were received from servers\nredirecting query to another server.") dnsResOptCounterRetrans = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 6, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResOptCounterRetrans.setDescription("Number requests retransmitted for all reasons.") dnsResOptCounterNoResponses = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 6, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResOptCounterNoResponses.setDescription("Number of queries that were retransmitted because of no\nresponse.") dnsResOptCounterRootRetrans = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 6, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResOptCounterRootRetrans.setDescription("Number of queries that were retransmitted that were to\nroot servers.") dnsResOptCounterInternals = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 6, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResOptCounterInternals.setDescription("Number of requests internally generated by the\nresolver.") dnsResOptCounterInternalTimeOuts = MibScalar((1, 3, 6, 1, 2, 1, 32, 2, 1, 6, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsResOptCounterInternalTimeOuts.setDescription("Number of requests internally generated which timed\nout.") dnsResMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 2)) dnsResMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 2, 3)) # Augmentions # Groups dnsResConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 2, 2, 1)).setObjects(*(("DNS-RESOLVER-MIB", "dnsResConfigSbeltName"), ("DNS-RESOLVER-MIB", "dnsResConfigSbeltRecursion"), ("DNS-RESOLVER-MIB", "dnsResConfigSbeltSubTree"), ("DNS-RESOLVER-MIB", "dnsResConfigResetTime"), ("DNS-RESOLVER-MIB", "dnsResConfigMaxCnames"), ("DNS-RESOLVER-MIB", "dnsResConfigService"), ("DNS-RESOLVER-MIB", "dnsResConfigUpTime"), ("DNS-RESOLVER-MIB", "dnsResConfigSbeltAddr"), ("DNS-RESOLVER-MIB", "dnsResConfigSbeltStatus"), ("DNS-RESOLVER-MIB", "dnsResConfigImplementIdent"), ("DNS-RESOLVER-MIB", "dnsResConfigSbeltPref"), ("DNS-RESOLVER-MIB", "dnsResConfigSbeltClass"), ) ) if mibBuilder.loadTexts: dnsResConfigGroup.setDescription("A collection of objects providing basic configuration\ninformation for a DNS resolver implementation.") dnsResCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 2, 2, 2)).setObjects(*(("DNS-RESOLVER-MIB", "dnsResCounterMartians"), ("DNS-RESOLVER-MIB", "dnsResCounterNonAuthDataResps"), ("DNS-RESOLVER-MIB", "dnsResCounterNonAuthNoDataResps"), ("DNS-RESOLVER-MIB", "dnsResCounterRecdResponses"), ("DNS-RESOLVER-MIB", "dnsResCounterFallbacks"), ("DNS-RESOLVER-MIB", "dnsResCounterByOpcodeQueries"), ("DNS-RESOLVER-MIB", "dnsResCounterByOpcodeResponses"), ("DNS-RESOLVER-MIB", "dnsResCounterByRcodeResponses"), ("DNS-RESOLVER-MIB", "dnsResCounterUnparseResps"), ("DNS-RESOLVER-MIB", "dnsResCounterByRcodeCode"), ("DNS-RESOLVER-MIB", "dnsResCounterByOpcodeCode"), ) ) if mibBuilder.loadTexts: dnsResCounterGroup.setDescription("A collection of objects providing basic instrumentation\nof a DNS resolver implementation.") dnsResLameDelegationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 2, 2, 3)).setObjects(*(("DNS-RESOLVER-MIB", "dnsResLameDelegationOverflows"), ("DNS-RESOLVER-MIB", "dnsResLameDelegationName"), ("DNS-RESOLVER-MIB", "dnsResLameDelegationStatus"), ("DNS-RESOLVER-MIB", "dnsResLameDelegationSource"), ("DNS-RESOLVER-MIB", "dnsResLameDelegationClass"), ("DNS-RESOLVER-MIB", "dnsResLameDelegationCounts"), ) ) if mibBuilder.loadTexts: dnsResLameDelegationGroup.setDescription("A collection of objects providing instrumentation of\n`lame delegation' failures.") dnsResCacheGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 2, 2, 4)).setObjects(*(("DNS-RESOLVER-MIB", "dnsResCacheBadCaches"), ("DNS-RESOLVER-MIB", "dnsResCacheRRClass"), ("DNS-RESOLVER-MIB", "dnsResCacheRRType"), ("DNS-RESOLVER-MIB", "dnsResCacheRRPrettyName"), ("DNS-RESOLVER-MIB", "dnsResCacheRRSource"), ("DNS-RESOLVER-MIB", "dnsResCacheStatus"), ("DNS-RESOLVER-MIB", "dnsResCacheRRData"), ("DNS-RESOLVER-MIB", "dnsResCacheGoodCaches"), ("DNS-RESOLVER-MIB", "dnsResCacheRRIndex"), ("DNS-RESOLVER-MIB", "dnsResCacheRRStatus"), ("DNS-RESOLVER-MIB", "dnsResCacheMaxTTL"), ("DNS-RESOLVER-MIB", "dnsResCacheRRName"), ("DNS-RESOLVER-MIB", "dnsResCacheRRElapsedTTL"), ("DNS-RESOLVER-MIB", "dnsResCacheRRTTL"), ) ) if mibBuilder.loadTexts: dnsResCacheGroup.setDescription("A collection of objects providing access to and control\nof a DNS resolver's cache.") dnsResNCacheGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 2, 2, 5)).setObjects(*(("DNS-RESOLVER-MIB", "dnsResNCacheErrSource"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrIndex"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrTTL"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrStatus"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrQName"), ("DNS-RESOLVER-MIB", "dnsResNCacheGoodNCaches"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrQType"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrElapsedTTL"), ("DNS-RESOLVER-MIB", "dnsResNCacheMaxTTL"), ("DNS-RESOLVER-MIB", "dnsResNCacheBadNCaches"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrPrettyName"), ("DNS-RESOLVER-MIB", "dnsResNCacheStatus"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrQClass"), ("DNS-RESOLVER-MIB", "dnsResNCacheErrCode"), ) ) if mibBuilder.loadTexts: dnsResNCacheGroup.setDescription("A collection of objects providing access to and control\nof a DNS resolver's negative response cache.") dnsResOptCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 2, 2, 6)).setObjects(*(("DNS-RESOLVER-MIB", "dnsResOptCounterReferals"), ("DNS-RESOLVER-MIB", "dnsResOptCounterInternalTimeOuts"), ("DNS-RESOLVER-MIB", "dnsResOptCounterNoResponses"), ("DNS-RESOLVER-MIB", "dnsResOptCounterRetrans"), ("DNS-RESOLVER-MIB", "dnsResOptCounterInternals"), ("DNS-RESOLVER-MIB", "dnsResOptCounterRootRetrans"), ) ) if mibBuilder.loadTexts: dnsResOptCounterGroup.setDescription("A collection of objects providing further\ninstrumentation applicable to many but not all DNS\nresolvers.") # Compliances dnsResMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 32, 2, 3, 1)).setObjects(*(("DNS-RESOLVER-MIB", "dnsResLameDelegationGroup"), ("DNS-RESOLVER-MIB", "dnsResCounterGroup"), ("DNS-RESOLVER-MIB", "dnsResCacheGroup"), ("DNS-RESOLVER-MIB", "dnsResOptCounterGroup"), ("DNS-RESOLVER-MIB", "dnsResNCacheGroup"), ("DNS-RESOLVER-MIB", "dnsResConfigGroup"), ) ) if mibBuilder.loadTexts: dnsResMIBCompliance.setDescription("The compliance statement for agents implementing the DNS\nresolver MIB extensions.") # Exports # Module identity mibBuilder.exportSymbols("DNS-RESOLVER-MIB", PYSNMP_MODULE_ID=dnsResMIB) # Objects mibBuilder.exportSymbols("DNS-RESOLVER-MIB", dnsResMIB=dnsResMIB, dnsResMIBObjects=dnsResMIBObjects, dnsResConfig=dnsResConfig, dnsResConfigImplementIdent=dnsResConfigImplementIdent, dnsResConfigService=dnsResConfigService, dnsResConfigMaxCnames=dnsResConfigMaxCnames, dnsResConfigSbeltTable=dnsResConfigSbeltTable, dnsResConfigSbeltEntry=dnsResConfigSbeltEntry, dnsResConfigSbeltAddr=dnsResConfigSbeltAddr, dnsResConfigSbeltName=dnsResConfigSbeltName, dnsResConfigSbeltRecursion=dnsResConfigSbeltRecursion, dnsResConfigSbeltPref=dnsResConfigSbeltPref, dnsResConfigSbeltSubTree=dnsResConfigSbeltSubTree, dnsResConfigSbeltClass=dnsResConfigSbeltClass, dnsResConfigSbeltStatus=dnsResConfigSbeltStatus, dnsResConfigUpTime=dnsResConfigUpTime, dnsResConfigResetTime=dnsResConfigResetTime, dnsResConfigReset=dnsResConfigReset, dnsResCounter=dnsResCounter, dnsResCounterByOpcodeTable=dnsResCounterByOpcodeTable, dnsResCounterByOpcodeEntry=dnsResCounterByOpcodeEntry, dnsResCounterByOpcodeCode=dnsResCounterByOpcodeCode, dnsResCounterByOpcodeQueries=dnsResCounterByOpcodeQueries, dnsResCounterByOpcodeResponses=dnsResCounterByOpcodeResponses, dnsResCounterByRcodeTable=dnsResCounterByRcodeTable, dnsResCounterByRcodeEntry=dnsResCounterByRcodeEntry, dnsResCounterByRcodeCode=dnsResCounterByRcodeCode, dnsResCounterByRcodeResponses=dnsResCounterByRcodeResponses, dnsResCounterNonAuthDataResps=dnsResCounterNonAuthDataResps, dnsResCounterNonAuthNoDataResps=dnsResCounterNonAuthNoDataResps, dnsResCounterMartians=dnsResCounterMartians, dnsResCounterRecdResponses=dnsResCounterRecdResponses, dnsResCounterUnparseResps=dnsResCounterUnparseResps, dnsResCounterFallbacks=dnsResCounterFallbacks, dnsResLameDelegation=dnsResLameDelegation, dnsResLameDelegationOverflows=dnsResLameDelegationOverflows, dnsResLameDelegationTable=dnsResLameDelegationTable, dnsResLameDelegationEntry=dnsResLameDelegationEntry, dnsResLameDelegationSource=dnsResLameDelegationSource, dnsResLameDelegationName=dnsResLameDelegationName, dnsResLameDelegationClass=dnsResLameDelegationClass, dnsResLameDelegationCounts=dnsResLameDelegationCounts, dnsResLameDelegationStatus=dnsResLameDelegationStatus, dnsResCache=dnsResCache, dnsResCacheStatus=dnsResCacheStatus, dnsResCacheMaxTTL=dnsResCacheMaxTTL, dnsResCacheGoodCaches=dnsResCacheGoodCaches, dnsResCacheBadCaches=dnsResCacheBadCaches, dnsResCacheRRTable=dnsResCacheRRTable, dnsResCacheRREntry=dnsResCacheRREntry, dnsResCacheRRName=dnsResCacheRRName, dnsResCacheRRClass=dnsResCacheRRClass, dnsResCacheRRType=dnsResCacheRRType, dnsResCacheRRTTL=dnsResCacheRRTTL, dnsResCacheRRElapsedTTL=dnsResCacheRRElapsedTTL, dnsResCacheRRSource=dnsResCacheRRSource, dnsResCacheRRData=dnsResCacheRRData, dnsResCacheRRStatus=dnsResCacheRRStatus, dnsResCacheRRIndex=dnsResCacheRRIndex, dnsResCacheRRPrettyName=dnsResCacheRRPrettyName, dnsResNCache=dnsResNCache, dnsResNCacheStatus=dnsResNCacheStatus, dnsResNCacheMaxTTL=dnsResNCacheMaxTTL, dnsResNCacheGoodNCaches=dnsResNCacheGoodNCaches, dnsResNCacheBadNCaches=dnsResNCacheBadNCaches, dnsResNCacheErrTable=dnsResNCacheErrTable, dnsResNCacheErrEntry=dnsResNCacheErrEntry, dnsResNCacheErrQName=dnsResNCacheErrQName, dnsResNCacheErrQClass=dnsResNCacheErrQClass, dnsResNCacheErrQType=dnsResNCacheErrQType, dnsResNCacheErrTTL=dnsResNCacheErrTTL, dnsResNCacheErrElapsedTTL=dnsResNCacheErrElapsedTTL, dnsResNCacheErrSource=dnsResNCacheErrSource, dnsResNCacheErrCode=dnsResNCacheErrCode, dnsResNCacheErrStatus=dnsResNCacheErrStatus, dnsResNCacheErrIndex=dnsResNCacheErrIndex, dnsResNCacheErrPrettyName=dnsResNCacheErrPrettyName, dnsResOptCounter=dnsResOptCounter, dnsResOptCounterReferals=dnsResOptCounterReferals, dnsResOptCounterRetrans=dnsResOptCounterRetrans, dnsResOptCounterNoResponses=dnsResOptCounterNoResponses, dnsResOptCounterRootRetrans=dnsResOptCounterRootRetrans, dnsResOptCounterInternals=dnsResOptCounterInternals, dnsResOptCounterInternalTimeOuts=dnsResOptCounterInternalTimeOuts, dnsResMIBGroups=dnsResMIBGroups, dnsResMIBCompliances=dnsResMIBCompliances) # Groups mibBuilder.exportSymbols("DNS-RESOLVER-MIB", dnsResConfigGroup=dnsResConfigGroup, dnsResCounterGroup=dnsResCounterGroup, dnsResLameDelegationGroup=dnsResLameDelegationGroup, dnsResCacheGroup=dnsResCacheGroup, dnsResNCacheGroup=dnsResNCacheGroup, dnsResOptCounterGroup=dnsResOptCounterGroup) # Compliances mibBuilder.exportSymbols("DNS-RESOLVER-MIB", dnsResMIBCompliance=dnsResMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/NET-SNMP-MIB.py0000644000014400001440000000553111736645137020643 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python NET-SNMP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:23 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, enterprises, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "enterprises") # Objects netSnmp = ModuleIdentity((1, 3, 6, 1, 4, 1, 8072)).setRevisions(("2002-01-30 00:00",)) if mibBuilder.loadTexts: netSnmp.setOrganization("www.net-snmp.org") if mibBuilder.loadTexts: netSnmp.setContactInfo("postal: Wes Hardaker\nP.O. Box 382\nDavis CA 95617\n\nemail: net-snmp-coders@lists.sourceforge.net") if mibBuilder.loadTexts: netSnmp.setDescription("Top-level infrastructure of the Net-SNMP project enterprise MIB tree") netSnmpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 1)) netSnmpEnumerations = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 3)) netSnmpModuleIDs = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 3, 1)) netSnmpAgentOIDs = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 3, 2)) netSnmpDomains = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 3, 3)) netSnmpNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 4)) netSnmpNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 4, 0)) netSnmpNotificationObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 4, 1)) netSnmpConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 5)) netSnmpCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 5, 1)) netSnmpGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 5, 2)) netSnmpExperimental = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 9999)) netSnmpPlaypen = MibIdentifier((1, 3, 6, 1, 4, 1, 8072, 9999, 9999)) # Augmentions # Exports # Module identity mibBuilder.exportSymbols("NET-SNMP-MIB", PYSNMP_MODULE_ID=netSnmp) # Objects mibBuilder.exportSymbols("NET-SNMP-MIB", netSnmp=netSnmp, netSnmpObjects=netSnmpObjects, netSnmpEnumerations=netSnmpEnumerations, netSnmpModuleIDs=netSnmpModuleIDs, netSnmpAgentOIDs=netSnmpAgentOIDs, netSnmpDomains=netSnmpDomains, netSnmpNotificationPrefix=netSnmpNotificationPrefix, netSnmpNotifications=netSnmpNotifications, netSnmpNotificationObjects=netSnmpNotificationObjects, netSnmpConformance=netSnmpConformance, netSnmpCompliances=netSnmpCompliances, netSnmpGroups=netSnmpGroups, netSnmpExperimental=netSnmpExperimental, netSnmpPlaypen=netSnmpPlaypen) pysnmp-mibs-0.1.3/pysnmp_mibs/AGGREGATE-MIB.py0000644000014400001440000003262311736645134020727 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python AGGREGATE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:39 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( OwnerString, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Opaque, TimeTicks, Unsigned32, experimental, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Opaque", "TimeTicks", "Unsigned32", "experimental") ( RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention") # Types class AggrMOCompressedValue(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,1024) class AggrMOErrorStatus(Opaque): subtypeSpec = Opaque.subtypeSpec+ValueSizeConstraint(0,1024) class AggrMOValue(Opaque): subtypeSpec = Opaque.subtypeSpec+ValueSizeConstraint(0,1024) # Objects aggrMIB = ModuleIdentity((1, 3, 6, 1, 3, 123)).setRevisions(("2006-04-27 00:00",)) if mibBuilder.loadTexts: aggrMIB.setOrganization("Cyber Solutions Inc. NetMan Working Group") if mibBuilder.loadTexts: aggrMIB.setContactInfo(" Glenn Mansfield Keeni\nPostal: Cyber Solutions Inc.\n 6-6-3, Minami Yoshinari\n Aoba-ku, Sendai, Japan 989-3204.\n Tel: +81-22-303-4012\n Fax: +81-22-303-4015\nE-mail: glenn@cysols.com\n\nSupport Group E-mail: mibsupport@cysols.com") if mibBuilder.loadTexts: aggrMIB.setDescription("The MIB for servicing aggregate objects.\n\nCopyright (C) The Internet Society (2006). This\nversion of this MIB module is part of RFC 4498;\nsee the RFC itself for full legal notices.") aggrCtlTable = MibTable((1, 3, 6, 1, 3, 123, 1)) if mibBuilder.loadTexts: aggrCtlTable.setDescription("A table that controls the aggregation of the MOs.") aggrCtlEntry = MibTableRow((1, 3, 6, 1, 3, 123, 1, 1)).setIndexNames((0, "AGGREGATE-MIB", "aggrCtlEntryID")) if mibBuilder.loadTexts: aggrCtlEntry.setDescription("A row of the control table that defines one aggregated\nMO.\n\n\n\n\n\nEntries in this table are required to survive a reboot\nof the managed entity depending on the value of the\ncorresponding aggrCtlEntryStorageType instance.") aggrCtlEntryID = MibTableColumn((1, 3, 6, 1, 3, 123, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: aggrCtlEntryID.setDescription("A locally unique, administratively assigned name\nfor this aggregated MO. It is used as an index to\nuniquely identify this row in the table.") aggrCtlMOIndex = MibTableColumn((1, 3, 6, 1, 3, 123, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrCtlMOIndex.setDescription("A pointer to a group of MOs identified by aggrMOEntryID\nin the aggrMOTable. This is the group of MOs that will\nbe aggregated.") aggrCtlMODescr = MibTableColumn((1, 3, 6, 1, 3, 123, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrCtlMODescr.setDescription("A textual description of the object that is\nbeing aggregated.") aggrCtlCompressionAlgorithm = MibTableColumn((1, 3, 6, 1, 3, 123, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("none", 1), ("deflate", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrCtlCompressionAlgorithm.setDescription("The compression algorithm that will be used by\nthe agent to compress the value of the aggregated\nobject.\nThe deflate algorithm and corresponding data format\nspecification is described in RFC 1951. It is\ncompatible with the widely used gzip utility.") aggrCtlEntryOwner = MibTableColumn((1, 3, 6, 1, 3, 123, 1, 1, 5), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrCtlEntryOwner.setDescription("The entity that created this entry.") aggrCtlEntryStorageType = MibTableColumn((1, 3, 6, 1, 3, 123, 1, 1, 6), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrCtlEntryStorageType.setDescription("This object defines whether the parameters defined in\nthis row are kept in volatile storage and lost upon\nreboot or backed up by non-volatile (permanent)\nstorage.\n\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") aggrCtlEntryStatus = MibTableColumn((1, 3, 6, 1, 3, 123, 1, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrCtlEntryStatus.setDescription("The row status variable, used according to row\ninstallation and removal conventions.\nObjects in a row can be modified only when the value of\nthis object in the corresponding conceptual row is not\n'active'.\nThus, to modify one or more of the objects in this\nconceptual row,\n a. change the row status to 'notInService',\n b. change the values of the row, and\n c. change the row status to 'active'.\nThe aggrCtlEntryStatus may be changed to 'active' if\nall the MOs in the conceptual row have been assigned\nvalid values.") aggrMOTable = MibTable((1, 3, 6, 1, 3, 123, 2)) if mibBuilder.loadTexts: aggrMOTable.setDescription("The table of primary(simple) MOs that will be aggregated.\nEach row in this table represents a MO that will be\naggregated. The aggrMOEntryID index is used to identify\nthe group of MOs that will be aggregated. The\naggrMOIndex instance in the corresponding row of the\naggrCtlTable will have a value equal to the value of\naggrMOEntryID. The aggrMOEntryMOID index is used to\nidentify an MO in the group.") aggrMOEntry = MibTableRow((1, 3, 6, 1, 3, 123, 2, 1)).setIndexNames((0, "AGGREGATE-MIB", "aggrMOEntryID"), (0, "AGGREGATE-MIB", "aggrMOEntryMOID")) if mibBuilder.loadTexts: aggrMOEntry.setDescription("A row of the table that specifies one MO.\nEntries in this table are required to survive a reboot\nof the managed entity depending on the value of the\ncorresponding aggrMOEntryStorageType instance.") aggrMOEntryID = MibTableColumn((1, 3, 6, 1, 3, 123, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: aggrMOEntryID.setDescription("An index uniquely identifying a group of MOs\nthat will be aggregated.") aggrMOEntryMOID = MibTableColumn((1, 3, 6, 1, 3, 123, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: aggrMOEntryMOID.setDescription("An index to uniquely identify an MO instance in the\ngroup of MO instances that will be aggregated.") aggrMOInstance = MibTableColumn((1, 3, 6, 1, 3, 123, 2, 1, 3), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrMOInstance.setDescription("The OID of the MO instance, the value of which will\nbe sampled by the agent.") aggrMODescr = MibTableColumn((1, 3, 6, 1, 3, 123, 2, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrMODescr.setDescription("A textual description of the object that will\nbe aggregated.") aggrMOEntryStorageType = MibTableColumn((1, 3, 6, 1, 3, 123, 2, 1, 5), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrMOEntryStorageType.setDescription("This object defines whether the parameters defined in\nthis row are kept in volatile storage and lost upon\nreboot or backed up by non-volatile (permanent)\nstorage.\nConceptual rows having the value 'permanent' need not\nallow write-access to any columnar objects in the row.") aggrMOEntryStatus = MibTableColumn((1, 3, 6, 1, 3, 123, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aggrMOEntryStatus.setDescription("The row status variable, used according to row\ninstallation and removal conventions.\nObjects in a row can be modified only when the value of\nthis object in the corresponding conceptual row is not\n'active'.\nThus, to modify one or more of the objects in this\nconceptual row,\n a. change the row status to 'notInService',\n b. change the values of the row, and\n c. change the row status to 'active'.\nThe aggrMOEntryStatus may be changed to 'active' iff\nall the MOs in the conceptual row have been assigned\nvalid values.") aggrDataTable = MibTable((1, 3, 6, 1, 3, 123, 3)) if mibBuilder.loadTexts: aggrDataTable.setDescription("Each row of this table contains information\nabout an aggregateMO indexed by aggrCtlEntryID.") aggrDataEntry = MibTableRow((1, 3, 6, 1, 3, 123, 3, 1)).setIndexNames((0, "AGGREGATE-MIB", "aggrCtlEntryID")) if mibBuilder.loadTexts: aggrDataEntry.setDescription("Entry containing information pertaining to\nan aggregate MO.") aggrDataRecord = MibTableColumn((1, 3, 6, 1, 3, 123, 3, 1, 1), AggrMOValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: aggrDataRecord.setDescription("The snapshot value of the aggregated MO.\nNote that the access privileges to this object will be\ngoverned by the access privileges of the component\nobjects. Thus, an entity attempting to access an\ninstance of this MO MUST have access rights to all the\ncomponent instance objects and this MO instance.") aggrDataRecordCompressed = MibTableColumn((1, 3, 6, 1, 3, 123, 3, 1, 2), AggrMOCompressedValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: aggrDataRecordCompressed.setDescription("The compressed value of the aggregated MO.\nThe compression algorithm will depend on the\naggrCtlCompressionAlgorithm given in the corresponding\naggrCtlEntry. If the value of the corresponding\naggrCtlCompressionAlgorithm is (1) 'none', then the value\nof all instances of this object will be a string of zero\nlength.\nNote that the access privileges to this object will be\ngoverned by the access privileges of the component\nobjects. Thus, an entity attempting to access an instance\nof this MO MUST have access rights to all the component\ninstance objects and this MO instance.") aggrDataErrorRecord = MibTableColumn((1, 3, 6, 1, 3, 123, 3, 1, 3), AggrMOErrorStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: aggrDataErrorRecord.setDescription("The error status corresponding to the MO instances\naggregated in aggrDataRecord (and\naggrDataRecordCompressed).") aggrConformance = MibIdentifier((1, 3, 6, 1, 3, 123, 4)) aggrGroups = MibIdentifier((1, 3, 6, 1, 3, 123, 4, 1)) aggrCompliances = MibIdentifier((1, 3, 6, 1, 3, 123, 4, 2)) # Augmentions # Groups aggrMibBasicGroup = ObjectGroup((1, 3, 6, 1, 3, 123, 4, 1, 1)).setObjects(*(("AGGREGATE-MIB", "aggrCtlEntryStatus"), ("AGGREGATE-MIB", "aggrDataRecord"), ("AGGREGATE-MIB", "aggrCtlEntryOwner"), ("AGGREGATE-MIB", "aggrCtlMODescr"), ("AGGREGATE-MIB", "aggrMOInstance"), ("AGGREGATE-MIB", "aggrMOEntryStorageType"), ("AGGREGATE-MIB", "aggrCtlCompressionAlgorithm"), ("AGGREGATE-MIB", "aggrCtlEntryStorageType"), ("AGGREGATE-MIB", "aggrMODescr"), ("AGGREGATE-MIB", "aggrCtlMOIndex"), ("AGGREGATE-MIB", "aggrMOEntryStatus"), ("AGGREGATE-MIB", "aggrDataErrorRecord"), ("AGGREGATE-MIB", "aggrDataRecordCompressed"), ) ) if mibBuilder.loadTexts: aggrMibBasicGroup.setDescription("A collection of objects for aggregation of MOs.") # Compliances aggrMibCompliance = ModuleCompliance((1, 3, 6, 1, 3, 123, 4, 2, 1)).setObjects(*(("AGGREGATE-MIB", "aggrMibBasicGroup"), ) ) if mibBuilder.loadTexts: aggrMibCompliance.setDescription("The compliance statement for SNMP entities\nthat implement the AGGREGATE-MIB.") # Exports # Module identity mibBuilder.exportSymbols("AGGREGATE-MIB", PYSNMP_MODULE_ID=aggrMIB) # Types mibBuilder.exportSymbols("AGGREGATE-MIB", AggrMOCompressedValue=AggrMOCompressedValue, AggrMOErrorStatus=AggrMOErrorStatus, AggrMOValue=AggrMOValue) # Objects mibBuilder.exportSymbols("AGGREGATE-MIB", aggrMIB=aggrMIB, aggrCtlTable=aggrCtlTable, aggrCtlEntry=aggrCtlEntry, aggrCtlEntryID=aggrCtlEntryID, aggrCtlMOIndex=aggrCtlMOIndex, aggrCtlMODescr=aggrCtlMODescr, aggrCtlCompressionAlgorithm=aggrCtlCompressionAlgorithm, aggrCtlEntryOwner=aggrCtlEntryOwner, aggrCtlEntryStorageType=aggrCtlEntryStorageType, aggrCtlEntryStatus=aggrCtlEntryStatus, aggrMOTable=aggrMOTable, aggrMOEntry=aggrMOEntry, aggrMOEntryID=aggrMOEntryID, aggrMOEntryMOID=aggrMOEntryMOID, aggrMOInstance=aggrMOInstance, aggrMODescr=aggrMODescr, aggrMOEntryStorageType=aggrMOEntryStorageType, aggrMOEntryStatus=aggrMOEntryStatus, aggrDataTable=aggrDataTable, aggrDataEntry=aggrDataEntry, aggrDataRecord=aggrDataRecord, aggrDataRecordCompressed=aggrDataRecordCompressed, aggrDataErrorRecord=aggrDataErrorRecord, aggrConformance=aggrConformance, aggrGroups=aggrGroups, aggrCompliances=aggrCompliances) # Groups mibBuilder.exportSymbols("AGGREGATE-MIB", aggrMibBasicGroup=aggrMibBasicGroup) # Compliances mibBuilder.exportSymbols("AGGREGATE-MIB", aggrMibCompliance=aggrMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SSPM-MIB.py0000644000014400001440000010263311736645140020217 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SSPM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:40 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( AppLocalIndex, ) = mibBuilder.importSymbols("APM-MIB", "AppLocalIndex") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( OwnerString, rmon, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "rmon") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( RowStatus, StorageType, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TruthValue") ( Utf8String, ) = mibBuilder.importSymbols("SYSAPPL-MIB", "Utf8String") # Types class SspmClockMaxSkew(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,65535) class SspmClockSource(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,255) class SspmMicroSeconds(TextualConvention, Unsigned32): displayHint = "d" # Objects sspmMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 28)).setRevisions(("2005-07-28 00:00",)) if mibBuilder.loadTexts: sspmMIB.setOrganization("IETF RMON MIB working group") if mibBuilder.loadTexts: sspmMIB.setContactInfo(" Carl W. Kalbfleisch\nConsultant\n\nE-mail: ietf@kalbfleisch.us\n\nWorking group mailing list: rmonmib@ietf.org\nTo subscribe send email to rmonmib-request@ietf.org") if mibBuilder.loadTexts: sspmMIB.setDescription("This SSPM MIB module is applicable to probes\nimplementing Synthetic Source for Performance\nMonitoring functions.\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is part of RFC 4149; see the RFC\nitself for full legal notices.") sspmMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 1)) sspmGeneral = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 1, 1)) sspmGeneralClockResolution = MibScalar((1, 3, 6, 1, 2, 1, 16, 28, 1, 1, 1), SspmMicroSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmGeneralClockResolution.setDescription("A read-only variable indicating the resolution\nof the measurements possible by this device.") sspmGeneralClockMaxSkew = MibScalar((1, 3, 6, 1, 2, 1, 16, 28, 1, 1, 2), SspmClockMaxSkew()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmGeneralClockMaxSkew.setDescription("A read-only variable indicating the maximum offset\nerror due to skew of the local clock over the\ntime interval 86400 seconds, in seconds.") sspmGeneralClockSource = MibScalar((1, 3, 6, 1, 2, 1, 16, 28, 1, 1, 3), SspmClockSource()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmGeneralClockSource.setDescription("A read-only variable indicating the source of the clock.\nThis is provided to allow a user to determine how accurate\nthe timing mechanism is compared with other devices. This\nis needed for the coordination of time values\nbetween probes for one-way measurements.") sspmGeneralMinFrequency = MibScalar((1, 3, 6, 1, 2, 1, 16, 28, 1, 1, 4), SspmMicroSeconds()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmGeneralMinFrequency.setDescription("A read-only variable that indicates the devices'\ncapability for the minimum supported\nsspmSourceFrequency. If sspmSourceFrequency is\nset to a value lower than the value reported\nby this attribute, then the set of sspmSourceFrequency\nwill fail with an inconsistent value error.") sspmCapabilitiesTable = MibTable((1, 3, 6, 1, 2, 1, 16, 28, 1, 1, 5)) if mibBuilder.loadTexts: sspmCapabilitiesTable.setDescription("The table of SSPM capabilities.") sspmCapabilitiesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 28, 1, 1, 5, 1)).setIndexNames((0, "SSPM-MIB", "sspmCapabilitiesInstance")) if mibBuilder.loadTexts: sspmCapabilitiesEntry.setDescription("Details about a particular SSPM capability.") sspmCapabilitiesInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 1, 5, 1, 1), AppLocalIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmCapabilitiesInstance.setDescription("Indicates whether SSPM configuration of the corresponding\nAppLocalIndex is supported by this device. Generally,\nentries in this table are only made by the device when the\nconfiguration of the measurement is available.") sspmSource = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 1, 2)) sspmSourceProfileTable = MibTable((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1)) if mibBuilder.loadTexts: sspmSourceProfileTable.setDescription("The table of SSPM Source Profiles configured.") sspmSourceProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1)).setIndexNames((0, "SSPM-MIB", "sspmSourceProfileInstance")) if mibBuilder.loadTexts: sspmSourceProfileEntry.setDescription("Details about a particular SSPM Source Profile\nconfiguration. Entries must exist in this table\nin order to be referenced by rows in the\nsspmSourceControlTable.") sspmSourceProfileInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sspmSourceProfileInstance.setDescription("An arbitrary index.") sspmSourceProfileType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 2), AppLocalIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileType.setDescription("The AppLocalIndex value that uniquely identifies the\nmeasurement per the APM-MIB. In order to create a row\nin this table, there must be a corresponding row in the\nsspmCapabilitiesTable.\n\nWhen attempting to set this object, if no\ncorresponding row exists in the sspmCapabilitiesTable,\nthen the agent should return a 'badValue' error.") sspmSourceProfilePacketSize = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfilePacketSize.setDescription("The size of packet to be transmitted in bytes. The\nsize accounts for all data within the IPv4 or IPv6\npayloads, excluding the IP headers, IP header options\nand link-level protocol headers.\n\nIf the size is set smaller than the minimum allowed\npacket size or greater than the maximum allowed\npacket size, then the set should fail, and the agent\nshould return a 'badValue' error.") sspmSourceProfilePacketFillType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("random", 1), ("pattern", 2), ("url", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfilePacketFillType.setDescription("Indicates how the packet is filled.\n\n'random' indicates that the packet contains random\ndata patterns. This is probe and implementation\ndependent.\n\n\n\n\n'pattern' indicates that the pattern defined in the\nsspmSourceProfilePacketFillValue attribute is used to\nfill the packet.\n\n'url' indicates that the value of\nsspmSourceProfilePacketFillValue should\ncontain a URL. The contents of the document\nat that URL are retrieved when sspmSourceStatus becomes\nactive and utilized in the packet. If the attempt to\naccess that URL fails, then the row status is set to\n'notReady', and the set should fail with\n'inconsistentValue'. This value must contain a\ndereferencable URL of the type 'http:', 'https:', or\n'ftp:' only.") sspmSourceProfilePacketFillValue = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfilePacketFillValue.setDescription("The string value with which to fill the packet. If\nsspmSourceProfilePacketFillType is set to 'pattern',\nthen this pattern is repeated until the packet is\nsspmSourcePacketSize in bytes. Note that if the\nlength of the octet string specified for this\nvalue does not divide evenly into the packet\nsize, then an incomplete last copy of this data\nmay be copied into the packet. If the value of\nsspmSourceProfilePacketFillType is set to 'random', then\nthis attribute is unused. If the value of the\nsspmSourceProfilePacketFillType is set to 'url', then\nthe URL specified in this attribute is retrieved\nand used by the probe. In the case of a URL, this value\nmust contain a dereferencable URL of the type\n'http:', 'https:', or 'ftp:' only.") sspmSourceProfileTOS = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileTOS.setDescription("Represents the TOS field in the IP packet header. The\nvalue of this object defaults to zero if not set.") sspmSourceProfileFlowLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048575)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileFlowLabel.setDescription("This object is used to specify the Flow Label in a IPv6\npacket (RFC 2460) to force special handling by the IPv6\nrouters; e.g., non-default quality-of-service handling.\n\nThis object is meaningful only when the object\nsspmSourceDestAddressType is IPv6(2).\nThe value of this object defaults to zero if not set.") sspmSourceProfileLooseSrcRteFill = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 240))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileLooseSrcRteFill.setDescription("In the event that the test should run over a\nspecific route, the intent is to force the route using the\nLoose Source Route option in IPv4 [RFC791] and\nIPv6 [RFC2460]. This object contains a\nseries of IP addresses along the path that would be\nput into the loose source route option in the IP header.\n\nThe IPv4 addresses are to be listed as 32-bit\naddress values, and the IPv6 addresses are to be\nlisted as a string of 128-bit addresses. The\nmaximum length allowed within the IPv4 source route\noption is 63 addresses. To simply account for\nIPv6 addresses as well, the maximum length of the\noctet string is 240. This allows up to 60\nIPv4 addresses or up to 15 IPv6 addresses in the\nstring.") sspmSourceProfileLooseSrcRteLen = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 240))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileLooseSrcRteLen.setDescription("In the event that the test should run over a\nspecific route, the intent is to force the route.\nThis attribute specifies the length of data to\nbe copied from the sspmSourceProfileLooseSrcRteFill\ninto the route data fields of the loose source route\n\n\n\noptions in the IPv4 or IPv6 headers.") sspmSourceProfileTTL = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileTTL.setDescription("If non-zero, this specifies the value to place into\nthe TTL field on transmission.") sspmSourceProfileNoFrag = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 11), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileNoFrag.setDescription("When true, the 'Don't Fragment Bit' should be set\non the packet header.") sspmSourceProfile8021Tagging = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfile8021Tagging.setDescription("IEEE 802.1Q tagging used in IEEE 802.1D bridged\nenvironments.\n\nA value of -1 indicates that the packets are untagged.\n\nA value of 0 to 65535 is the value of the tag to be\ninserted in the tagged packets.\n\nNote that according to IEEE 802.1Q, VLAN-ID tags with\na value of 4095 shall not be transmitted on the wire.\nAs the VLAN-ID is encoded in the 12 least significant\nbits on the tag, values that translate in a binary\nrepresentation of all 1's in the last 12 bits\nSHALL NOT be configured. In this case, the set should\nfail, and return an error-status of 'inconsistentValue'.") sspmSourceProfileUsername = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 13), Utf8String()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileUsername.setDescription("An optional username used by the application protocol.") sspmSourceProfilePassword = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 14), Utf8String()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfilePassword.setDescription("An optional password used by the application protocol.") sspmSourceProfileParameter = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileParameter.setDescription("An optional parameter used by the application protocol.\nFor DNS, this would be the hostname or IP. For HTTP,\nthis would be the URL. For nntp, this would be the\nnews group. For TCP, this would be the port number.\nFor SMTP, this would be the recipient (and could\nassume the message is predefined).") sspmSourceProfileOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 16), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileOwner.setDescription("Name of the management station/application that\nset up the profile.") sspmSourceProfileStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 17), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileStorageType.setDescription("The storage type of this sspmSourceProfileEntry. If the\nvalue of this object is 'permanent', no objects in this row\nneed to be writable.") sspmSourceProfileStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 1, 1, 18), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceProfileStatus.setDescription("Status of this profile.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nOnce this object is set to active(1), no objects in the\nsspmSourceProfileTable can be changed.") sspmSourceControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2)) if mibBuilder.loadTexts: sspmSourceControlTable.setDescription("The table of SSPM measurements configured.") sspmSourceControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1)).setIndexNames((0, "SSPM-MIB", "sspmSourceControlInstance")) if mibBuilder.loadTexts: sspmSourceControlEntry.setDescription("Details about a particular SSPM configuration.") sspmSourceControlInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sspmSourceControlInstance.setDescription("An arbitrary index.") sspmSourceControlProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlProfile.setDescription("A pointer to the profile (sspmSourceProfileEntry) that\nthis control entry uses to define the test being\nperformed.") sspmSourceControlSrc = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 3), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlSrc.setDescription("The ifIndex where the packet should originate from the\nprobe (if it matters). A value of zero indicates that\nit does not matter and that the device decides.") sspmSourceControlDestAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 4), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlDestAddrType.setDescription("The type of Internet address by which the destination\nis accessed.") sspmSourceControlDestAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 5), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlDestAddr.setDescription("The Internet address for the destination. The formatting\nof this object is controlled by the\nsspmSourceControlDestAddrType object above.\n\n\n\n\nWhen this object contains a DNS name, then the name is\nresolved to an address each time measurement is to be made.\nFurther, the agent should not cache this address,\nbut instead should perform the resolution prior to each\nmeasurement.") sspmSourceControlEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 6), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlEnabled.setDescription("When set to 'true', this test is enabled. When set to\n'false', it is disabled.") sspmSourceControlTimeOut = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 7), SspmMicroSeconds()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlTimeOut.setDescription("Timeout value for the measurement response. If no\nresponse is received in the time specified, then\nthe test fails.") sspmSourceControlSamplingDist = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("deterministic", 1), ("poisson", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlSamplingDist.setDescription("When this attribute is set to 'deterministic', then\npackets are generated at with a fixed inter-packet\ninjection time specified by sspmSourceFrequency.\n\nWhen this attribute is set to 'Poisson', then packets\nare generated with inter-packet injection times sampled\nfrom an exponential distribution with the single\ndistributional parameter determined by the inverse\nfrequency).") sspmSourceControlFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 9), SspmMicroSeconds()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlFrequency.setDescription("The inverse of this value is the rate at which packets\nare generated. Refer to sspmSourceSamplingDistribution.\nIf the value set is less than the value of\nsspmGeneralMinFrequency, then the set will fail with an\nerror-status of 'inconsistentValue'.") sspmSourceControlFirstSeqNum = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 10), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlFirstSeqNum.setDescription("The first sequence number of packets to be transmitted.") sspmSourceControlLastSeqNum = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmSourceControlLastSeqNum.setDescription("The last sequence number transmitted. This value is updated\nby the agent after packet generation.") sspmSourceControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 12), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlOwner.setDescription("Name of the management station/application that set\nup the test.") sspmSourceControlStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 13), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlStorageType.setDescription("The storage type of this sspmSourceControlEntry. If the\nvalue of this object is 'permanent', no objects in this row\nneed to be writable.") sspmSourceControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 2, 2, 1, 14), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSourceControlStatus.setDescription("Status of this source control entry.\n\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nWhen this attribute has the value of\n'active', none of the read-write or read-create attributes\nin this table may be modified, with the exception of\nsspmSourceControlEnabled.") sspmSink = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 1, 5)) sspmSinkTable = MibTable((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1)) if mibBuilder.loadTexts: sspmSinkTable.setDescription("A table configuring the sink for measurements.") sspmSinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1)).setIndexNames((0, "SSPM-MIB", "sspmSinkInstance")) if mibBuilder.loadTexts: sspmSinkEntry.setDescription("The details of a particular sink entry. If the measurement\nis a round-trip type, then the sink entry will be on the\nsame probe as the corresponding sspmSourceEntry. If the\nmeasurement is a one-way, type then the sink entry will be\non a different probe.") sspmSinkInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sspmSinkInstance.setDescription("An index. When the measurement is for a round-trip\nmeasurement, then this table entry is on the same probe as\nthe corresponding sspmSourceEntry, and the value of this\nattribute should correspond to the value of\nsspmSourceInstance. Management applications configuring\nsinks for one-way measurements could define some\nscheme whereby the sspmSinkInstance is unique across\nall probes. Note that the unique key to this entry is\nalso constructed with sspmSinkType,\nsspmSinkSourceAddressType, and sspmSinkSourceAddress.\nTo make the implementation simpler, those other\nattributes are not included in the index but uniqueness\nis still needed to receive all the packets.") sspmSinkType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 2), AppLocalIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkType.setDescription("The AppLocalIndex value that uniquely identifies the\nmeasurement per the APM-MIB. In order to create a row\nin this table, there must be a corresponding row in the\nsspmCapabilitiesTable. If there is no corresponding\nrow in the sspmCapabilitiestable, then the agent will\nreturn an error-status of 'inconsistentValue'.") sspmSinkSourceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 3), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkSourceAddressType.setDescription("The type of Internet address of the source.") sspmSinkSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 4), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkSourceAddress.setDescription("The Internet address of the source. The formatting\nof this object is controlled by the sspmSinkSourceAddressType\nobject above.\n\nThis object should be set only to a valid device address\nthat has been administratively configured into the\ndevice. If a set attempts to set this object to an\naddress that does not belong (i.e., is not administratively\nconfigured into the device), the set should fail, and the\nagent should return a error-status of 'inconsistentValue'.") sspmSinkExpectedRate = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 5), SspmMicroSeconds()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkExpectedRate.setDescription("The expected rate at which packets will arrive.") sspmSinkEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 6), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkEnable.setDescription("Indicates if the sink is enabled or not.") sspmSinkExpectedFirstSequenceNum = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 7), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkExpectedFirstSequenceNum.setDescription("The expected first sequence number of packets.\nThis is used by the sink to determine if packets\nwere lost at the initiation of the test.") sspmSinkLastSequenceNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmSinkLastSequenceNumber.setDescription("The last sequence number received.") sspmSinkLastSequenceInvalid = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sspmSinkLastSequenceInvalid.setDescription("The number of packets that arrived whose\nsequence number was not one plus the value of\nsspmSinkLastSequenceNumber.") sspmSinkStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 10), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkStorageType.setDescription("The storage type of this sspmSinkEntry. If the value\nof this object is 'permanent', no objects in this row\nneed to be writable.") sspmSinkStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 28, 1, 5, 1, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sspmSinkStatus.setDescription("Status of this conceptual row.\nAn entry may not exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nOnce this object is set to active(1), no objects with\nMAX-ACCESS of read-create in the sspmSinkTable can\nbe changed.") sspmMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 2)) sspmMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 3)) sspmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 3, 1)) sspmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 28, 3, 2)) # Augmentions # Groups sspmGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 28, 3, 2, 1)).setObjects(*(("SSPM-MIB", "sspmGeneralClockMaxSkew"), ("SSPM-MIB", "sspmGeneralClockSource"), ("SSPM-MIB", "sspmGeneralMinFrequency"), ("SSPM-MIB", "sspmGeneralClockResolution"), ("SSPM-MIB", "sspmCapabilitiesInstance"), ) ) if mibBuilder.loadTexts: sspmGeneralGroup.setDescription("The objects in the SSPM General Group.") sspmSourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 28, 3, 2, 2)).setObjects(*(("SSPM-MIB", "sspmSourceControlDestAddrType"), ("SSPM-MIB", "sspmSourceControlFrequency"), ("SSPM-MIB", "sspmSourceProfileStatus"), ("SSPM-MIB", "sspmSourceProfileOwner"), ("SSPM-MIB", "sspmSourceProfileLooseSrcRteLen"), ("SSPM-MIB", "sspmSourceControlSamplingDist"), ("SSPM-MIB", "sspmSourceProfilePassword"), ("SSPM-MIB", "sspmSourceProfilePacketFillType"), ("SSPM-MIB", "sspmSourceControlFirstSeqNum"), ("SSPM-MIB", "sspmSourceProfileType"), ("SSPM-MIB", "sspmSourceProfileUsername"), ("SSPM-MIB", "sspmSourceProfileTTL"), ("SSPM-MIB", "sspmSourceControlStatus"), ("SSPM-MIB", "sspmSourceProfilePacketFillValue"), ("SSPM-MIB", "sspmSourceProfileParameter"), ("SSPM-MIB", "sspmSourceProfilePacketSize"), ("SSPM-MIB", "sspmSourceProfileLooseSrcRteFill"), ("SSPM-MIB", "sspmSourceProfileStorageType"), ("SSPM-MIB", "sspmSourceControlLastSeqNum"), ("SSPM-MIB", "sspmSourceProfile8021Tagging"), ("SSPM-MIB", "sspmSourceProfileFlowLabel"), ("SSPM-MIB", "sspmSourceProfileNoFrag"), ("SSPM-MIB", "sspmSourceControlDestAddr"), ("SSPM-MIB", "sspmSourceControlProfile"), ("SSPM-MIB", "sspmSourceControlSrc"), ("SSPM-MIB", "sspmSourceControlOwner"), ("SSPM-MIB", "sspmSourceControlStorageType"), ("SSPM-MIB", "sspmSourceControlTimeOut"), ("SSPM-MIB", "sspmSourceControlEnabled"), ("SSPM-MIB", "sspmSourceProfileTOS"), ) ) if mibBuilder.loadTexts: sspmSourceGroup.setDescription("The objects in the SSPM Source Group.") sspmUserPassGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 28, 3, 2, 3)).setObjects(*(("SSPM-MIB", "sspmSourceProfilePassword"), ("SSPM-MIB", "sspmSourceProfileUsername"), ) ) if mibBuilder.loadTexts: sspmUserPassGroup.setDescription("The objects in the SSPM Username and password group.") sspmSinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 28, 3, 2, 4)).setObjects(*(("SSPM-MIB", "sspmSinkLastSequenceNumber"), ("SSPM-MIB", "sspmSinkEnable"), ("SSPM-MIB", "sspmSinkStorageType"), ("SSPM-MIB", "sspmSinkLastSequenceInvalid"), ("SSPM-MIB", "sspmSinkExpectedRate"), ("SSPM-MIB", "sspmSinkType"), ("SSPM-MIB", "sspmSinkStatus"), ("SSPM-MIB", "sspmSinkSourceAddress"), ("SSPM-MIB", "sspmSinkSourceAddressType"), ("SSPM-MIB", "sspmSinkExpectedFirstSequenceNum"), ) ) if mibBuilder.loadTexts: sspmSinkGroup.setDescription("The objects in the SSPM Sink Group.") # Compliances sspmGeneralCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 28, 3, 1, 1)).setObjects(*(("SSPM-MIB", "sspmSinkGroup"), ("SSPM-MIB", "sspmSourceGroup"), ("SSPM-MIB", "sspmGeneralGroup"), ("SSPM-MIB", "sspmUserPassGroup"), ) ) if mibBuilder.loadTexts: sspmGeneralCompliance.setDescription("A general compliance that allows all things to be optional.") sspmSourceFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 28, 3, 1, 2)).setObjects(*(("SSPM-MIB", "sspmSourceGroup"), ("SSPM-MIB", "sspmGeneralGroup"), ("SSPM-MIB", "sspmUserPassGroup"), ) ) if mibBuilder.loadTexts: sspmSourceFullCompliance.setDescription("A source compliance. Use this compliance when implementing\na traffic-source-only device. This is useful for implementing\ndevices that probe other devices for intrusive application\nmonitoring. It is also useful for implementing the source\nof one-way tests used with a sink-only device.") sspmSinkFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 28, 3, 1, 3)).setObjects(*(("SSPM-MIB", "sspmSinkGroup"), ("SSPM-MIB", "sspmGeneralGroup"), ) ) if mibBuilder.loadTexts: sspmSinkFullCompliance.setDescription("A sink-only compliance. Use this compliance when implementing a\nsink-only device. This is useful for devices to receive one-way\nmeasurements.") # Exports # Module identity mibBuilder.exportSymbols("SSPM-MIB", PYSNMP_MODULE_ID=sspmMIB) # Types mibBuilder.exportSymbols("SSPM-MIB", SspmClockMaxSkew=SspmClockMaxSkew, SspmClockSource=SspmClockSource, SspmMicroSeconds=SspmMicroSeconds) # Objects mibBuilder.exportSymbols("SSPM-MIB", sspmMIB=sspmMIB, sspmMIBObjects=sspmMIBObjects, sspmGeneral=sspmGeneral, sspmGeneralClockResolution=sspmGeneralClockResolution, sspmGeneralClockMaxSkew=sspmGeneralClockMaxSkew, sspmGeneralClockSource=sspmGeneralClockSource, sspmGeneralMinFrequency=sspmGeneralMinFrequency, sspmCapabilitiesTable=sspmCapabilitiesTable, sspmCapabilitiesEntry=sspmCapabilitiesEntry, sspmCapabilitiesInstance=sspmCapabilitiesInstance, sspmSource=sspmSource, sspmSourceProfileTable=sspmSourceProfileTable, sspmSourceProfileEntry=sspmSourceProfileEntry, sspmSourceProfileInstance=sspmSourceProfileInstance, sspmSourceProfileType=sspmSourceProfileType, sspmSourceProfilePacketSize=sspmSourceProfilePacketSize, sspmSourceProfilePacketFillType=sspmSourceProfilePacketFillType, sspmSourceProfilePacketFillValue=sspmSourceProfilePacketFillValue, sspmSourceProfileTOS=sspmSourceProfileTOS, sspmSourceProfileFlowLabel=sspmSourceProfileFlowLabel, sspmSourceProfileLooseSrcRteFill=sspmSourceProfileLooseSrcRteFill, sspmSourceProfileLooseSrcRteLen=sspmSourceProfileLooseSrcRteLen, sspmSourceProfileTTL=sspmSourceProfileTTL, sspmSourceProfileNoFrag=sspmSourceProfileNoFrag, sspmSourceProfile8021Tagging=sspmSourceProfile8021Tagging, sspmSourceProfileUsername=sspmSourceProfileUsername, sspmSourceProfilePassword=sspmSourceProfilePassword, sspmSourceProfileParameter=sspmSourceProfileParameter, sspmSourceProfileOwner=sspmSourceProfileOwner, sspmSourceProfileStorageType=sspmSourceProfileStorageType, sspmSourceProfileStatus=sspmSourceProfileStatus, sspmSourceControlTable=sspmSourceControlTable, sspmSourceControlEntry=sspmSourceControlEntry, sspmSourceControlInstance=sspmSourceControlInstance, sspmSourceControlProfile=sspmSourceControlProfile, sspmSourceControlSrc=sspmSourceControlSrc, sspmSourceControlDestAddrType=sspmSourceControlDestAddrType, sspmSourceControlDestAddr=sspmSourceControlDestAddr, sspmSourceControlEnabled=sspmSourceControlEnabled, sspmSourceControlTimeOut=sspmSourceControlTimeOut, sspmSourceControlSamplingDist=sspmSourceControlSamplingDist, sspmSourceControlFrequency=sspmSourceControlFrequency, sspmSourceControlFirstSeqNum=sspmSourceControlFirstSeqNum, sspmSourceControlLastSeqNum=sspmSourceControlLastSeqNum, sspmSourceControlOwner=sspmSourceControlOwner, sspmSourceControlStorageType=sspmSourceControlStorageType, sspmSourceControlStatus=sspmSourceControlStatus, sspmSink=sspmSink, sspmSinkTable=sspmSinkTable, sspmSinkEntry=sspmSinkEntry, sspmSinkInstance=sspmSinkInstance, sspmSinkType=sspmSinkType, sspmSinkSourceAddressType=sspmSinkSourceAddressType, sspmSinkSourceAddress=sspmSinkSourceAddress, sspmSinkExpectedRate=sspmSinkExpectedRate, sspmSinkEnable=sspmSinkEnable, sspmSinkExpectedFirstSequenceNum=sspmSinkExpectedFirstSequenceNum, sspmSinkLastSequenceNumber=sspmSinkLastSequenceNumber, sspmSinkLastSequenceInvalid=sspmSinkLastSequenceInvalid, sspmSinkStorageType=sspmSinkStorageType, sspmSinkStatus=sspmSinkStatus, sspmMIBNotifications=sspmMIBNotifications, sspmMIBConformance=sspmMIBConformance, sspmCompliances=sspmCompliances, sspmGroups=sspmGroups) # Groups mibBuilder.exportSymbols("SSPM-MIB", sspmGeneralGroup=sspmGeneralGroup, sspmSourceGroup=sspmSourceGroup, sspmUserPassGroup=sspmUserPassGroup, sspmSinkGroup=sspmSinkGroup) # Compliances mibBuilder.exportSymbols("SSPM-MIB", sspmGeneralCompliance=sspmGeneralCompliance, sspmSourceFullCompliance=sspmSourceFullCompliance, sspmSinkFullCompliance=sspmSinkFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/VDSL-LINE-EXT-SCM-MIB.py0000644000014400001440000003520111736645141022005 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python VDSL-LINE-EXT-SCM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TruthValue") ( vdslLineConfProfileName, ) = mibBuilder.importSymbols("VDSL-LINE-MIB", "vdslLineConfProfileName") # Types class VdslSCMBandId(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(7,6,1,4,5,2,3,) namedValues = NamedValues(("optionalBand", 1), ("firstDownstreamBand", 2), ("firstUpstreamBand", 3), ("secondDownstreamBand", 4), ("secondUpstreamBand", 5), ("thirdDownstreamBand", 6), ("thirdUpstreamBand", 7), ) # Objects vdslExtSCMMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 228)).setRevisions(("2005-04-28 00:00",)) if mibBuilder.loadTexts: vdslExtSCMMIB.setOrganization("ADSLMIB Working Group") if mibBuilder.loadTexts: vdslExtSCMMIB.setContactInfo("WG-email: adslmib@ietf.org\nInfo: https://www1.ietf.org/mailman/listinfo/adslmib\n\nChair: Mike Sneed\n Sand Channel Systems\nPostal: P.O. Box 37324\n Raleigh NC 27627-732\nEmail: sneedmike@hotmail.com\nPhone: +1 206 600 7022\n\nCo-Chair/Co-editor:\n Bob Ray\n PESA Switching Systems, Inc.\nPostal: 330-A Wynn Drive\n Huntsville, AL 35805\n USA\nEmail: rray@pesa.com\nPhone: +1 256 726 9200 ext. 142\n\n\n\nCo-editor: Menachem Dodge\n ECI Telecom Ltd.\nPostal: 30 Hasivim St.\n Petach Tikva 49517,\n Israel\nEmail: mbdodge@ieee.org\nPhone: +972 3 926 8421") if mibBuilder.loadTexts: vdslExtSCMMIB.setDescription("The VDSL-LINE-MIB found in RFC 3728 defines objects for the\nmanagement of a pair of VDSL transceivers at each end of the VDSL\nline. The VDSL-LINE-MIB configures and monitors the line code\nindependent parameters (TC layer) of the VDSL line. This MIB\nmodule is an optional extension of the VDSL-LINE-MIB and defines\nobjects for configuration and monitoring of the line code specific\n(LCS) elements (PMD layer) for VDSL lines using SCM coding. The\nobjects in this extension MIB MUST NOT be used for VDSL lines\nusing Multiple Carrier Modulation (MCM) line coding. If an object\nin this extension MIB is referenced by a line which does not use\nSCM, it has no effect on the operation of that line.\n\nNaming Conventions:\n\n Vtuc -- VDSL transceiver at near (Central) end of line\n Vtur -- VDSL transceiver at Remote end of line\n Vtu -- One of either Vtuc or Vtur\n Curr -- Current\n Atn -- Attenuation\n LCS -- Line Code Specific\n Max -- Maximum\n Mgn -- Margin\n PSD -- Power Spectral Density\n Rx -- Receive\n Snr -- Signal to Noise Ratio\n Tx -- Transmit\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is part of RFC 4069: see the RFC\nitself for full legal notices.") vdslLineExtSCMMib = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 228, 1)) vdslLineExtSCMMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 228, 1, 1)) vdslLineSCMConfProfileBandTable = MibTable((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1)) if mibBuilder.loadTexts: vdslLineSCMConfProfileBandTable.setDescription("This table contains transmit band descriptor configuration\ninformation for a VDSL line. Each entry in this table\nreflects the configuration for one of possibly many bands\nof a single carrier modulation (SCM) VDSL line. For each\nprofile which is associated with a VDSL line using SCM\nline coding, five entries in this table will exist, one for\neach of the five bands. Bands which are not in use will be\nmarked as unused. These entries are defined by a manager\nand can be used to configure the VDSL line. If an entry in\n\n\n\n\n\nthis table is referenced by a line which does not use SCM,\nit has no effect on the operation of that line.") vdslLineSCMConfProfileBandEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1)).setIndexNames((0, "VDSL-LINE-MIB", "vdslLineConfProfileName"), (0, "VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMConfProfileBandId")) if mibBuilder.loadTexts: vdslLineSCMConfProfileBandEntry.setDescription("Each entry consists of a list of parameters that\nrepresents the configuration of a single carrier\nmodulation VDSL modem transmit band.\n\nA default profile with an index of 'DEFVAL', will\nalways exist and its parameters will be set to vendor\nspecific values, unless otherwise specified in this\ndocument.\n\nAll read-create objects defined in this MIB module SHOULD be\nstored persistently.") vdslLineSCMConfProfileBandId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1, 1), VdslSCMBandId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineSCMConfProfileBandId.setDescription("The BandId for this entry, which specifies which band\nis being referred to.") vdslLineSCMConfProfileBandInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1, 2), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineSCMConfProfileBandInUse.setDescription("Indicates whether this band is in use.\nIf set to True this band is in use.") vdslLineSCMConfProfileBandCenterFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineSCMConfProfileBandCenterFrequency.setDescription("Specifies the center frequency in Hz") vdslLineSCMConfProfileBandSymbolRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineSCMConfProfileBandSymbolRate.setDescription("The requested symbol rate in baud.") vdslLineSCMConfProfileBandConstellationSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineSCMConfProfileBandConstellationSize.setDescription("Specifies the constellation size.") vdslLineSCMConfProfileBandTransmitPSDLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1, 6), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineSCMConfProfileBandTransmitPSDLevel.setDescription("The requested transmit power spectral density for the VDSL\nmodem. The Actual value in -0.25 dBm/Hz.") vdslLineSCMConfProfileBandRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 1, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: vdslLineSCMConfProfileBandRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile activated by setting this object to `active'.\nWhen `active' is set, the system will validate the profile.\n\nNone of the columns in this row may be modified while the\nrow is in the `active' state.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`notInService') it must be first unreferenced\nfrom all associated lines.") vdslLineSCMPhysBandTable = MibTable((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2)) if mibBuilder.loadTexts: vdslLineSCMPhysBandTable.setDescription("This table provides one row for each SCM Vtu band. This\ntable is read only as it reflects the current physical\nparameters of each band. For each ifIndex which is\nassociated with a VDSL line using SCM line coding, five\nentries in this table will exist, one for each of the\nfive bands. Bands which are not in use will be marked\nas unused.") vdslLineSCMPhysBandEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandId")) if mibBuilder.loadTexts: vdslLineSCMPhysBandEntry.setDescription("An entry in the vdslLineSCMPhysBandTable.") vdslLineSCMPhysBandId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 1), VdslSCMBandId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: vdslLineSCMPhysBandId.setDescription("The BandId for this entry, which specifies which band\nis being referred to.") vdslLineSCMPhysBandInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineSCMPhysBandInUse.setDescription("Indicates whether this band is in use.\nIf set to True this band is in use.") vdslLineSCMPhysBandCurrCenterFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineSCMPhysBandCurrCenterFrequency.setDescription("The current center frequency in Hz for this band.") vdslLineSCMPhysBandCurrSymbolRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineSCMPhysBandCurrSymbolRate.setDescription("The current value of the symbol rate in baud for this\nband.") vdslLineSCMPhysBandCurrConstellationSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineSCMPhysBandCurrConstellationSize.setDescription("The current constellation size on this band.") vdslLineSCMPhysBandCurrPSDLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineSCMPhysBandCurrPSDLevel.setDescription("The transmit power spectral density for the\nVDSL modem.") vdslLineSCMPhysBandCurrSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineSCMPhysBandCurrSnrMgn.setDescription("Noise margin as seen by this Vtu and band with respect\nto its received signal in 0.25 dB.") vdslLineSCMPhysBandCurrAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 228, 1, 1, 2, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vdslLineSCMPhysBandCurrAtn.setDescription("Measured difference in the total power transmitted by\nthe peer Vtu on this band and the total power received\nby this Vtu on this band in 0.25 dB.") vdslLineExtSCMConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 228, 1, 2)) vdslLineExtSCMGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 228, 1, 2, 1)) vdslLineExtSCMCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 228, 1, 2, 2)) # Augmentions # Groups vdslLineExtSCMGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 228, 1, 2, 1, 1)).setObjects(*(("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandCurrConstellationSize"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandCurrSnrMgn"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandInUse"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandCurrCenterFrequency"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandCurrSymbolRate"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandCurrPSDLevel"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMConfProfileBandRowStatus"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMPhysBandCurrAtn"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMConfProfileBandConstellationSize"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMConfProfileBandSymbolRate"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMConfProfileBandCenterFrequency"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMConfProfileBandInUse"), ("VDSL-LINE-EXT-SCM-MIB", "vdslLineSCMConfProfileBandTransmitPSDLevel"), ) ) if mibBuilder.loadTexts: vdslLineExtSCMGroup.setDescription("A collection of objects providing configuration\ninformation for a VDSL line based upon single carrier\nmodulation modem.") # Compliances vdslLineExtSCMMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 228, 1, 2, 2, 1)).setObjects(*(("VDSL-LINE-EXT-SCM-MIB", "vdslLineExtSCMGroup"), ) ) if mibBuilder.loadTexts: vdslLineExtSCMMibCompliance.setDescription("The compliance statement for SNMP entities which\nmanage VDSL interfaces.") # Exports # Module identity mibBuilder.exportSymbols("VDSL-LINE-EXT-SCM-MIB", PYSNMP_MODULE_ID=vdslExtSCMMIB) # Types mibBuilder.exportSymbols("VDSL-LINE-EXT-SCM-MIB", VdslSCMBandId=VdslSCMBandId) # Objects mibBuilder.exportSymbols("VDSL-LINE-EXT-SCM-MIB", vdslExtSCMMIB=vdslExtSCMMIB, vdslLineExtSCMMib=vdslLineExtSCMMib, vdslLineExtSCMMibObjects=vdslLineExtSCMMibObjects, vdslLineSCMConfProfileBandTable=vdslLineSCMConfProfileBandTable, vdslLineSCMConfProfileBandEntry=vdslLineSCMConfProfileBandEntry, vdslLineSCMConfProfileBandId=vdslLineSCMConfProfileBandId, vdslLineSCMConfProfileBandInUse=vdslLineSCMConfProfileBandInUse, vdslLineSCMConfProfileBandCenterFrequency=vdslLineSCMConfProfileBandCenterFrequency, vdslLineSCMConfProfileBandSymbolRate=vdslLineSCMConfProfileBandSymbolRate, vdslLineSCMConfProfileBandConstellationSize=vdslLineSCMConfProfileBandConstellationSize, vdslLineSCMConfProfileBandTransmitPSDLevel=vdslLineSCMConfProfileBandTransmitPSDLevel, vdslLineSCMConfProfileBandRowStatus=vdslLineSCMConfProfileBandRowStatus, vdslLineSCMPhysBandTable=vdslLineSCMPhysBandTable, vdslLineSCMPhysBandEntry=vdslLineSCMPhysBandEntry, vdslLineSCMPhysBandId=vdslLineSCMPhysBandId, vdslLineSCMPhysBandInUse=vdslLineSCMPhysBandInUse, vdslLineSCMPhysBandCurrCenterFrequency=vdslLineSCMPhysBandCurrCenterFrequency, vdslLineSCMPhysBandCurrSymbolRate=vdslLineSCMPhysBandCurrSymbolRate, vdslLineSCMPhysBandCurrConstellationSize=vdslLineSCMPhysBandCurrConstellationSize, vdslLineSCMPhysBandCurrPSDLevel=vdslLineSCMPhysBandCurrPSDLevel, vdslLineSCMPhysBandCurrSnrMgn=vdslLineSCMPhysBandCurrSnrMgn, vdslLineSCMPhysBandCurrAtn=vdslLineSCMPhysBandCurrAtn, vdslLineExtSCMConformance=vdslLineExtSCMConformance, vdslLineExtSCMGroups=vdslLineExtSCMGroups, vdslLineExtSCMCompliances=vdslLineExtSCMCompliances) # Groups mibBuilder.exportSymbols("VDSL-LINE-EXT-SCM-MIB", vdslLineExtSCMGroup=vdslLineExtSCMGroup) # Compliances mibBuilder.exportSymbols("VDSL-LINE-EXT-SCM-MIB", vdslLineExtSCMMibCompliance=vdslLineExtSCMMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/FDDI-SMT73-MIB.py0000644000014400001440000016760311736645136020773 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FDDI-SMT73-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:58 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") # Types class FddiMACLongAddressType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(6,6) fixedLength = 6 class FddiResourceId(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class FddiSMTStationIdType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 class FddiTimeMilli(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class FddiTimeNano(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) # Objects fddi = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15)) fddimib = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 73)) fddimibSMT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 73, 1)) fddimibSMTNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTNumber.setDescription("The number of SMT implementations (regardless of\ntheir current state) on this network management\napplication entity. The value for this variable\nmust remain constant at least from one re-\ninitialization of the entity's network management\nsystem to the next re-initialization.") fddimibSMTTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2)) if mibBuilder.loadTexts: fddimibSMTTable.setDescription("A list of SMT entries. The number of entries\nshall not exceed the value of fddimibSMTNumber.") fddimibSMTEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1)).setIndexNames((0, "FDDI-SMT73-MIB", "fddimibSMTIndex")) if mibBuilder.loadTexts: fddimibSMTEntry.setDescription("An SMT entry containing information common to a\ngiven SMT.") fddimibSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTIndex.setDescription("A unique value for each SMT. The value for each\nSMT must remain constant at least from one re-\ninitialization of the entity's network management\nsystem to the next re-initialization.") fddimibSMTStationId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 2), FddiSMTStationIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTStationId.setDescription("Used to uniquely identify an FDDI station.") fddimibSMTOpVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTOpVersionId.setDescription("The version that this station is using for its\noperation (refer to ANSI 7.1.2.2). The value of\nthis variable is 2 for this SMT revision.") fddimibSMTHiVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTHiVersionId.setDescription("The highest version of SMT that this station\nsupports (refer to ANSI 7.1.2.2).") fddimibSMTLoVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTLoVersionId.setDescription("The lowest version of SMT that this station\nsupports (refer to ANSI 7.1.2.2).") fddimibSMTUserData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibSMTUserData.setDescription("This variable contains 32 octets of user defined\ninformation. The information shall be an ASCII\nstring.") fddimibSMTMIBVersionId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTMIBVersionId.setDescription("The version of the FDDI MIB of this station. The\nvalue of this variable is 1 for this SMT\nrevision.") fddimibSMTMACCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTMACCts.setDescription("The number of MACs in this station or\nconcentrator.") fddimibSMTNonMasterCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTNonMasterCts.setDescription("The value of this variable is the number of A, B,\nand S ports in this station or concentrator.") fddimibSMTMasterCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTMasterCts.setDescription("The number of M Ports in a node. If the node is\nnot a concentrator, the value of the variable is\nzero.") fddimibSMTAvailablePaths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTAvailablePaths.setDescription("A value that indicates the PATH types available\nin the station.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each type of PATH that\nthis node has available, 2 raised to a power is\nadded to the sum. The powers are according to the\nfollowing table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2\n\nFor example, a station having Primary and Local\nPATHs available would have a value of 5 (2**0 +\n2**2).") fddimibSMTConfigCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTConfigCapabilities.setDescription("A value that indicates the configuration\ncapabilities of a node. The 'Hold Available' bit\nindicates the support of the optional Hold\nFunction, which is controlled by\nfddiSMTConfigPolicy. The 'CF-Wrap-AB' bit\nindicates that the station has the capability of\nperforming a wrap_ab (refer to ANSI SMT 9.7.2.2).\n\nThe value is a sum. This value initially takes\nthe value zero, then for each of the configuration\npolicies currently enforced on the node, 2 raised\nto a power is added to the sum. The powers are\naccording to the following table:\n\n Policy Power\n holdAvailable 0\n CF-Wrap-AB 1 ") fddimibSMTConfigPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibSMTConfigPolicy.setDescription("A value that indicates the configuration policies\ncurrently desired in a node. 'Hold' is one of the\nterms used for the Hold Flag, an optional ECM flag\nused to enable the optional Hold policy.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each of the configuration\npolicies currently enforced on the node, 2 raised\nto a power is added to the sum. The powers are\naccording to the following table:\n\n Policy Power\n configurationhold 0 ") fddimibSMTConnectionPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(32768, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibSMTConnectionPolicy.setDescription("A value representing the connection policies in\neffect in a node. A station sets the corresponding\nbit for each of the connection types that it\nrejects. The letter designations, X and Y, in the\n'rejectX-Y' names have the following significance:\nX represents the PC-Type of the local PORT and Y\nrepresents the PC_Type of the adjacent PORT\n(PC_Neighbor). The evaluation of Connection-\nPolicy (PC-Type, PC-Neighbor) is done to determine\nthe setting of T- Val(3) in the PC-Signalling\nsequence (refer to ANSI 9.6.3). Note that Bit 15,\n(rejectM-M), is always set and cannot be cleared.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each of the connection\npolicies currently enforced on the node, 2 raised\nto a power is added to the sum. The powers are\naccording to the following table:\n\n Policy Power\n rejectA-A 0\n rejectA-B 1\n rejectA-S 2\n rejectA-M 3\n rejectB-A 4\n rejectB-B 5\n rejectB-S 6\n rejectB-M 7\n rejectS-A 8\n rejectS-B 9\n rejectS-S 10\n rejectS-M 11\n rejectM-A 12\n rejectM-B 13\n rejectM-S 14\n rejectM-M 15 ") fddimibSMTTNotify = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibSMTTNotify.setDescription("The timer, expressed in seconds, used in the\nNeighbor Notification protocol. It has a range of\n2 seconds to 30 seconds, and its default value is\n30 seconds (refer to ANSI SMT 8.2).") fddimibSMTStatRptPolicy = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibSMTStatRptPolicy.setDescription("If true, indicates that the node will generate\nStatus Reporting Frames for its implemented events\nand conditions. It has an initial value of true.\nThis variable determines the value of the\nSR_Enable Flag (refer to ANSI SMT 8.3.2.1).") fddimibSMTTraceMaxExpiration = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 17), FddiTimeMilli()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibSMTTraceMaxExpiration.setDescription("Reference Trace_Max (refer to ANSI SMT\n9.4.4.2.2).") fddimibSMTBypassPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTBypassPresent.setDescription("A flag indicating if the station has a bypass on\nits AB port pair.") fddimibSMTECMState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(8,7,6,5,4,3,2,1,)).subtype(namedValues=NamedValues(("ec0", 1), ("ec1", 2), ("ec2", 3), ("ec3", 4), ("ec4", 5), ("ec5", 6), ("ec6", 7), ("ec7", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTECMState.setDescription("Indicates the current state of the ECM state\nmachine (refer to ANSI SMT 9.5.2).") fddimibSMTCFState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(9,10,7,8,5,6,3,4,1,2,11,12,13,)).subtype(namedValues=NamedValues(("cf0", 1), ("cf9", 10), ("cf10", 11), ("cf11", 12), ("cf12", 13), ("cf1", 2), ("cf2", 3), ("cf3", 4), ("cf4", 5), ("cf5", 6), ("cf6", 7), ("cf7", 8), ("cf8", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTCFState.setDescription("The attachment configuration for the station or\nconcentrator (refer to ANSI SMT 9.7.2.2).") fddimibSMTRemoteDisconnectFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTRemoteDisconnectFlag.setDescription("A flag indicating that the station was remotely\ndisconnected from the network as a result of\nreceiving an fddiSMTAction, disconnect (refer to\nANSI SMT 6.4.5.3) in a Parameter Management Frame.\nA station requires a Connect Action to rejoin and\nclear the flag (refer to ANSI SMT 6.4.5.2).") fddimibSMTStationStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("concatenated", 1), ("separated", 2), ("thru", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTStationStatus.setDescription("The current status of the primary and secondary\npaths within this station.") fddimibSMTPeerWrapFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTPeerWrapFlag.setDescription("This variable assumes the value of the\nPeerWrapFlag in CFM (refer to ANSI SMT\n9.7.2.4.4).") fddimibSMTTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 24), FddiTimeMilli()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTTimeStamp.setDescription("This variable assumes the value of TimeStamp\n(refer to ANSI SMT 8.3.2.1).") fddimibSMTTransitionTimeStamp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 25), FddiTimeMilli()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibSMTTransitionTimeStamp.setDescription("This variable assumes the value of\nTransitionTimeStamp (refer to ANSI SMT 8.3.2.1).") fddimibSMTStationAction = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 1, 2, 1, 26), Integer().subtype(subtypeSpec=SingleValueConstraint(8,1,3,2,7,6,4,5,)).subtype(namedValues=NamedValues(("other", 1), ("connect", 2), ("disconnect", 3), ("path-Test", 4), ("self-Test", 5), ("disable-a", 6), ("disable-b", 7), ("disable-m", 8), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibSMTStationAction.setDescription("This object, when read, always returns a value of\nother(1). The behavior of setting this variable\nto each of the acceptable values is as follows:\n\n other(1): Results in an appropriate error.\n connect(2): Generates a Connect signal to ECM\n to begin a connection sequence. See ANSI\n Ref 9.4.2.\n disconnect(3): Generates a Disconnect signal\n to ECM. see ANSI Ref 9.4.2.\n path-Test(4): Initiates a station Path_Test.\n The Path_Test variable (see ANSI Ref\n 9.4.1) is set to 'Testing'. The results\n of this action are not specified in this\n standard.\n self-Test(5): Initiates a station Self_Test.\n The results of this action are not\n specified in this standard.\n disable-a(6): Causes a PC_Disable on the A\n port if the A port mode is peer.\n disable-b(7): Causes a PC_Disable on the B\n port if the B port mode is peer.\n disable-m(8): Causes a PC_Disable on all M\n ports.\n\nAttempts to set this object to all other values\nresults in an appropriate error. The result of\nsetting this variable to path-Test(4) or self-\nTest(5) is implementation-specific.") fddimibMAC = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 73, 2)) fddimibMACNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACNumber.setDescription("The total number of MAC implementations (across\nall SMTs) on this network management application\nentity. The value for this variable must remain\nconstant at least from one re-initialization of\nthe entity's network management system to the next\nre-initialization.") fddimibMACTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2)) if mibBuilder.loadTexts: fddimibMACTable.setDescription("A list of MAC entries. The number of entries\nshall not exceed the value of fddimibMACNumber.") fddimibMACEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1)).setIndexNames((0, "FDDI-SMT73-MIB", "fddimibMACSMTIndex"), (0, "FDDI-SMT73-MIB", "fddimibMACIndex")) if mibBuilder.loadTexts: fddimibMACEntry.setDescription("A MAC entry containing information common to a\ngiven MAC.") fddimibMACSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACSMTIndex.setDescription("The value of the SMT index associated with this\nMAC.") fddimibMACIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACIndex.setDescription("Index variable for uniquely identifying the MAC\nobject instances, which is the same as the\ncorresponding resource index in SMT.") fddimibMACIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACIfIndex.setDescription("The value of the MIB-II ifIndex corresponding to\nthis MAC. If none is applicable, 0 is returned.") fddimibMACFrameStatusFunctions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACFrameStatusFunctions.setDescription("Indicates the MAC's optional Frame Status\nprocessing functions.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each function present, 2\nraised to a power is added to the sum. The powers\nare according to the following table:\n\n function Power\n fs-repeating 0\n fs-setting 1\n fs-clearing 2 ") fddimibMACTMaxCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 5), FddiTimeNano()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTMaxCapability.setDescription("Indicates the maximum time value of fddiMACTMax\nthat this MAC can support.") fddimibMACTVXCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 6), FddiTimeNano()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTVXCapability.setDescription("Indicates the maximum time value of\nfddiMACTvxValue that this MAC can support.") fddimibMACAvailablePaths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACAvailablePaths.setDescription("Indicates the paths available for this MAC (refer\nto ANSI SMT 9.7.7).\n\nThe value is a sum. This value initially takes\nthe value zero, then for each type of PATH that\nthis MAC has available, 2 raised to a power is\nadded to the sum. The powers are according to the\nfollowing table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2 ") fddimibMACCurrentPath = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,4,6,2,3,)).subtype(namedValues=NamedValues(("isolated", 1), ("local", 2), ("secondary", 3), ("primary", 4), ("concatenated", 5), ("thru", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACCurrentPath.setDescription("Indicates the Path into which this MAC is\ncurrently inserted (refer to ANSI 9.7.7).") fddimibMACUpstreamNbr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 9), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACUpstreamNbr.setDescription("The MAC's upstream neighbor's long individual MAC\naddress. It has an initial value of the SMT-\nUnknown-MAC Address and is only modified as\nspecified by the Neighbor Information Frame\nprotocol (refer to ANSI SMT 7.2.1 and 8.2).") fddimibMACDownstreamNbr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 10), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACDownstreamNbr.setDescription("The MAC's downstream neighbor's long individual\nMAC address. It has an initial value of the SMT-\nUnknown-MAC Address and is only modified as\nspecified by the Neighbor Information Frame\nprotocol (refer to ANSI SMT 7.2.1 and 8.2).") fddimibMACOldUpstreamNbr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 11), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACOldUpstreamNbr.setDescription("The previous value of the MAC's upstream\nneighbor's long individual MAC address. It has an\ninitial value of the SMT-Unknown- MAC Address and\nis only modified as specified by the Neighbor\nInformation Frame protocol (refer to ANSI SMT\n7.2.1 and 8.2).") fddimibMACOldDownstreamNbr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 12), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACOldDownstreamNbr.setDescription("The previous value of the MAC's downstream\nneighbor's long individual MAC address. It has an\ninitial value of the SMT- Unknown-MAC Address and\nis only modified as specified by the Neighbor\nInformation Frame protocol (refer to ANSI SMT\n7.2.1 and 8.2).") fddimibMACDupAddressTest = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("none", 1), ("pass", 2), ("fail", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACDupAddressTest.setDescription("The Duplicate Address Test flag, Dup_Addr_Test\n(refer to ANSI 8.2).") fddimibMACRequestedPaths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibMACRequestedPaths.setDescription("List of permitted Paths which specifies the\nPath(s) into which the MAC may be inserted (refer\nto ansi SMT 9.7).\n\nThe value is a sum which represents the individual\npaths that are desired. This value initially\ntakes the value zero, then for each type of PATH\nthat this node is, 2 raised to a power is added to\nthe sum. The powers are according to the\nfollowing table:\n\n Path Power\n local 0\n secondary-alternate 1\n primary-alternate 2\n concatenated-alternate 3\n secondary-preferred 4\n primary-preferred 5\n concatenated-preferred 6\n thru 7 ") fddimibMACDownstreamPORTType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,2,4,3,)).subtype(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4), ("none", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACDownstreamPORTType.setDescription("Indicates the PC-Type of the first port that is\ndownstream of this MAC (the exit port).") fddimibMACSMTAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 16), FddiMACLongAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACSMTAddress.setDescription("The 48-bit individual address of the MAC used for\nSMT frames.") fddimibMACTReq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 17), FddiTimeNano()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTReq.setDescription("This variable is the T_Req_value passed to the\nMAC. Without having detected a duplicate, the\ntime value of this variable shall assume the\nmaximum supported time value which is less than or\nequal to the time value of fddiPATHMaxT-Req. When\na MAC has an address detected as a duplicate, it\nmay use a time value for this variable greater\nthan the time value of fddiPATHTMaxLowerBound. A\nstation shall cause claim when the new T_Req may\ncause the value of T_Neg to change in the claim\nprocess, (i.e., time value new T_Req < T_Neg, or\nold T_Req = T_Neg).") fddimibMACTNeg = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 18), FddiTimeNano()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTNeg.setDescription("It is reported as a FddiTimeNano number.") fddimibMACTMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 19), FddiTimeNano()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTMax.setDescription("This variable is the T_Max_value passed to the\nMAC. The time value of this variable shall assume\nthe minimum suported time value which is greater\nthan or equal to the time value of fddiPATHT-\nMaxLowerBound") fddimibMACTvxValue = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 20), FddiTimeNano()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTvxValue.setDescription("This variable is the TVX_value passed to the MAC.\nThe time value of this variable shall assume the\nminimum suported time value which is greater than\nor equal to the time value of\nfddiPATHTVXLowerBound.") fddimibMACFrameCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACFrameCts.setDescription("A count of the number of frames received by this\nMAC (refer to ANSI MAC 7.5.1).") fddimibMACCopiedCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACCopiedCts.setDescription("A count that should as closely as possible match\nthe number of frames addressed to (A bit set) and\nsuccessfully copied into the station's receive\nbuffers (C bit set) by this MAC (refer to ANSI MAC\n7.5). Note that this count does not include MAC\nframes.") fddimibMACTransmitCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTransmitCts.setDescription("A count that should as closely as possible match\nthe number of frames transmitted by this MAC\n(refer to ANSI MAC 7.5). Note that this count\ndoes not include MAC frames.") fddimibMACErrorCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACErrorCts.setDescription("A count of the number of frames that were\ndetected in error by this MAC that had not been\ndetected in error by another MAC (refer to ANSI\nMAC 7.5.2).") fddimibMACLostCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACLostCts.setDescription("A count of the number of instances that this MAC\ndetected a format error during frame reception\nsuch that the frame was stripped (refer to ANSI\nMAC 7.5.3).") fddimibMACFrameErrorThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibMACFrameErrorThreshold.setDescription("A threshold for determining when a MAC Condition\nreport (see ANSI 8.3.1.1) shall be generated.\nStations not supporting variable thresholds shall\nhave a value of 0 and a range of (0..0).") fddimibMACFrameErrorRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACFrameErrorRatio.setDescription("This variable is the value of the ratio,\n\n((delta fddiMACLostCts + delta fddiMACErrorCts) /\n(delta fddiMACFrameCts + delta fddiMACLostCts ))\n* 2**16 ") fddimibMACRMTState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 28), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,7,8,5,6,)).subtype(namedValues=NamedValues(("rm0", 1), ("rm1", 2), ("rm2", 3), ("rm3", 4), ("rm4", 5), ("rm5", 6), ("rm6", 7), ("rm7", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACRMTState.setDescription("Indicates the current state of the RMT State\nMachine (refer to ANSI 10.3.2).") fddimibMACDaFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 29), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACDaFlag.setDescription("The RMT flag Duplicate Address Flag, DA_Flag\n(refer to ANSI 10.2.1.2).") fddimibMACUnaDaFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 30), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACUnaDaFlag.setDescription("A flag, UNDA_Flag (refer to ANSI 8.2.2.1), set\nwhen the upstream neighbor reports a duplicate\naddress condition. Cleared when the condition\nclears.") fddimibMACFrameErrorFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 31), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACFrameErrorFlag.setDescription("Indicates the MAC Frame Error Condition is\npresent when set. Cleared when the condition\nclears and on station initialization.") fddimibMACMAUnitdataAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 32), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACMAUnitdataAvailable.setDescription("This variable shall take on the value of the\nMAC_Avail flag defined in RMT.") fddimibMACHardwarePresent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 33), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACHardwarePresent.setDescription("This variable indicates the presence of\nunderlying hardware support for this MAC object.\nIf the value of this object is false(2), the\nreporting of the objects in this entry may be\nhandled in an implementation-specific manner.") fddimibMACMAUnitdataEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 2, 2, 1, 34), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibMACMAUnitdataEnable.setDescription("This variable determines the value of the\nMA_UNITDATA_Enable flag in RMT. The default and\ninitial value of this flag is true(1).") fddimibMACCounters = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 73, 3)) fddimibMACCountersTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1)) if mibBuilder.loadTexts: fddimibMACCountersTable.setDescription("A list of MAC Counters entries. The number of\nentries shall not exceed the value of\nfddimibMACNumber.") fddimibMACCountersEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1)).setIndexNames((0, "FDDI-SMT73-MIB", "fddimibMACSMTIndex"), (0, "FDDI-SMT73-MIB", "fddimibMACIndex")) if mibBuilder.loadTexts: fddimibMACCountersEntry.setDescription("A MAC Counters entry containing information\ncommon to a given MAC.") fddimibMACTokenCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTokenCts.setDescription("A count that should as closely as possible match\nthe number of times the station has received a\ntoken (total of non-restricted and restricted) on\nthis MAC (see ANSI MAC 7.4). This count is\nvaluable for determination of network load.") fddimibMACTvxExpiredCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACTvxExpiredCts.setDescription("A count that should as closely as possible match\nthe number of times that TVX has expired.") fddimibMACNotCopiedCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACNotCopiedCts.setDescription("A count that should as closely as possible match\nthe number of frames that were addressed to this\nMAC but were not copied into its receive buffers\n(see ANSI MAC 7.5). For example, this might occur\ndue to local buffer congestion. Because of\nimplementation considerations, this count may not\nmatch the actual number of frames not copied. It\nis not a requirement that this count be exact.\nNote that this count does not include MAC frames.") fddimibMACLateCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACLateCts.setDescription("A count that should as closely as possible match\nthe number of TRT expirations since this MAC was\nreset or a token was received (refer to ANSI MAC\n7.4.5).") fddimibMACRingOpCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACRingOpCts.setDescription("The count of the number of times the ring has\nentered the 'Ring_Operational' state from the\n'Ring Not Operational' state. This count is\nupdated when a SM_MA_STATUS.Indication of a change\nin the Ring_Operational status occurs (refer to\nANSI 6.1.4). Because of implementation\nconsiderations, this count may be less than the\nactual RingOp_Ct. It is not a requirement that\nthis count be exact.") fddimibMACNotCopiedRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACNotCopiedRatio.setDescription("This variable is the value of the ratio:\n\n(delta fddiMACNotCopiedCts /\n(delta fddiMACCopiedCts +\n delta fddiMACNotCopiedCts )) * 2**16 ") fddimibMACNotCopiedFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibMACNotCopiedFlag.setDescription("Indicates that the Not Copied condition is\npresent when read as true(1). Set to false(2)\nwhen the condition clears and on station\ninitialization.") fddimibMACNotCopiedThreshold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibMACNotCopiedThreshold.setDescription("A threshold for determining when a MAC condition\nreport shall be generated. Stations not\nsupporting variable thresholds shall have a value\nof 0 and a range of (0..0).") fddimibPATH = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 73, 4)) fddimibPATHNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHNumber.setDescription("The total number of PATHs possible (across all\nSMTs) on this network management application\nentity. The value for this variable must remain\nconstant at least from one re-initialization of\nthe entity's network management system to the next\nre-initialization.") fddimibPATHTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 2)) if mibBuilder.loadTexts: fddimibPATHTable.setDescription("A list of PATH entries. The number of entries\nshall not exceed the value of fddimibPATHNumber.") fddimibPATHEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 2, 1)).setIndexNames((0, "FDDI-SMT73-MIB", "fddimibPATHSMTIndex"), (0, "FDDI-SMT73-MIB", "fddimibPATHIndex")) if mibBuilder.loadTexts: fddimibPATHEntry.setDescription("A PATH entry containing information common to a\ngiven PATH.") fddimibPATHSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHSMTIndex.setDescription("The value of the SMT index associated with this\nPATH.") fddimibPATHIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHIndex.setDescription("Index variable for uniquely identifying the\nprimary, secondary and local PATH object\ninstances. Local PATH object instances are\nrepresented with integer values 3 to 255.") fddimibPATHTVXLowerBound = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 2, 1, 3), FddiTimeNano()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPATHTVXLowerBound.setDescription("Specifies the minimum time value of\nfddiMACTvxValue that shall be used by any MAC that\nis configured in this path. The operational value\nof fddiMACTvxValue is managed by settting this\nvariable. This variable has the time value range\nof:\n\n0 < fddimibPATHTVXLowerBound < fddimibPATHMaxTReq\nChanges to this variable shall either satisfy the\ntime value relationship:\n\nfddimibPATHTVXLowerBound <=\nfddimibMACTVXCapability\n\nof each of the MACs currently on the path, or be\nconsidered out of range. The initial value of\nfddimibPATHTVXLowerBound shall be 2500 nsec (2.5\nms).") fddimibPATHTMaxLowerBound = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 2, 1, 4), FddiTimeNano()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPATHTMaxLowerBound.setDescription("Specifies the minimum time value of fddiMACTMax\nthat shall be used by any MAC that is configured\nin this path. The operational value of\nfddiMACTMax is managed by setting this variable.\nThis variable has the time value range of:\n\nfddimibPATHMaxTReq <= fddimibPATHTMaxLowerBound\n\nand an absolute time value range of:\n\n10000nsec (10 msec) <= fddimibPATHTMaxLowerBound\n\nChanges to this variable shall either satisfy the\ntime value relationship:\n\nfddimibPATHTMaxLowerBound <\nfddimibMACTMaxCapability\n\nof each of the MACs currently on the path, or be\nconsidered out of range. The initial value of\nfddimibPATHTMaxLowerBound shall be 165000 nsec\n(165 msec).") fddimibPATHMaxTReq = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 2, 1, 5), FddiTimeNano()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPATHMaxTReq.setDescription("Specifies the maximum time value of fddiMACT-Req\nthat shall be used by any MAC that is configured\nin this path. The operational value of fddiMACT-\nReq is managed by setting this variable. This\nvariable has the time value range of:\n\nfddimibPATHTVXLowerBound < fddimibPATHMaxTReq <=\n fddimibPATHTMaxLowerBound.\n\nThe default value of fddimibPATHMaxTReq is 165000\nnsec (165 msec).") fddimibPATHConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3)) if mibBuilder.loadTexts: fddimibPATHConfigTable.setDescription("A table of Path configuration entries. This\ntable lists all the resources that may be in this\nPath.") fddimibPATHConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3, 1)).setIndexNames((0, "FDDI-SMT73-MIB", "fddimibPATHConfigSMTIndex"), (0, "FDDI-SMT73-MIB", "fddimibPATHConfigPATHIndex"), (0, "FDDI-SMT73-MIB", "fddimibPATHConfigTokenOrder")) if mibBuilder.loadTexts: fddimibPATHConfigEntry.setDescription("A collection of objects containing information\nfor a given PATH Configuration entry.") fddimibPATHConfigSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHConfigSMTIndex.setDescription("The value of the SMT index associated with this\nconfiguration entry.") fddimibPATHConfigPATHIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHConfigPATHIndex.setDescription("The value of the PATH resource index associated\nwith this configuration entry.") fddimibPATHConfigTokenOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHConfigTokenOrder.setDescription("An object associated with Token order for this\nentry. Thus if the token passes resources a, b, c\nand d, in that order, then the value of this\nobject for these resources would be 1, 2, 3 and 4\nrespectively.") fddimibPATHConfigResourceType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,)).subtype(namedValues=NamedValues(("mac", 2), ("port", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHConfigResourceType.setDescription("The type of resource associated with this\nconfiguration entry.") fddimibPATHConfigResourceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHConfigResourceIndex.setDescription("The value of the SMT resource index used to refer\nto the instance of this MAC or Port resource.") fddimibPATHConfigCurrentPath = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 4, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,4,6,2,3,)).subtype(namedValues=NamedValues(("isolated", 1), ("local", 2), ("secondary", 3), ("primary", 4), ("concatenated", 5), ("thru", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPATHConfigCurrentPath.setDescription("The current insertion status for this resource on\nthis Path.") fddimibPORT = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 73, 5)) fddimibPORTNumber = MibScalar((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTNumber.setDescription("The total number of PORT implementations (across\nall SMTs) on this network management application\nentity. The value for this variable must remain\nconstant at least from one re-initialization of\nthe entity's network management system to the next\nre-initialization.") fddimibPORTTable = MibTable((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2)) if mibBuilder.loadTexts: fddimibPORTTable.setDescription("A list of PORT entries. The number of entries\nshall not exceed the value of fddimibPORTNumber.") fddimibPORTEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1)).setIndexNames((0, "FDDI-SMT73-MIB", "fddimibPORTSMTIndex"), (0, "FDDI-SMT73-MIB", "fddimibPORTIndex")) if mibBuilder.loadTexts: fddimibPORTEntry.setDescription("A PORT entry containing information common to a\ngiven PORT.") fddimibPORTSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTSMTIndex.setDescription("The value of the SMT index associated with this\nPORT.") fddimibPORTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTIndex.setDescription("A unique value for each PORT within a given SMT,\nwhich is the same as the corresponding resource\nindex in SMT. The value for each PORT must remain\nconstant at least from one re-initialization of\nthe entity's network management system to the next\nre-initialization.") fddimibPORTMyType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,2,4,3,)).subtype(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4), ("none", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTMyType.setDescription("The value of the PORT's PC_Type (refer to ANSI\n9.4.1, and 9.6.3.2).") fddimibPORTNeighborType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,2,4,3,)).subtype(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4), ("none", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTNeighborType.setDescription("The type of the remote PORT as determined in PCM.\nThis variable has an initial value of none, and is\nonly modified in PC_RCode(3)_Actions (refer to\nANSI SMT 9.6.3.2).") fddimibPORTConnectionPolicies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPORTConnectionPolicies.setDescription("A value representing the PORT's connection\npolicies desired in the node. The value of pc-\nmac-lct is a term used in the PC_MAC_LCT Flag (see\n9.4.3.2). The value of pc-mac-loop is a term used\nin the PC_MAC_Loop Flag.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each PORT policy, 2\nraised to a power is added to the sum. The powers\nare according to the following table:\n\n Policy Power\n pc-mac-lct 0\n pc-mac-loop 1 ") fddimibPORTMACIndicated = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,1,)).subtype(namedValues=NamedValues(("tVal9FalseRVal9False", 1), ("tVal9FalseRVal9True", 2), ("tVal9TrueRVal9False", 3), ("tVal9TrueRVal9True", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTMACIndicated.setDescription("The indications (T_Val(9), R_Val(9)) in PC-\nSignalling, of the intent to place a MAC in the\noutput token path to a PORT (refer to ANSI SMT\n9.6.3.2.).") fddimibPORTCurrentPath = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(6,5,4,3,2,1,)).subtype(namedValues=NamedValues(("ce0", 1), ("ce1", 2), ("ce2", 3), ("ce3", 4), ("ce4", 5), ("ce5", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTCurrentPath.setDescription("Indicates the Path(s) into which this PORT is\ncurrently inserted.") fddimibPORTRequestedPaths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPORTRequestedPaths.setDescription("This variable is a list of permitted Paths where\neach list element defines the Port's permitted\nPaths. The first octet corresponds to 'none', the\nsecond octet to 'tree', and the third octet to\n'peer'.") fddimibPORTMACPlacement = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 9), FddiResourceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTMACPlacement.setDescription("Indicates the MAC, if any, whose transmit path\nexits the station via this PORT. The value shall\nbe zero if there is no MAC associated with the\nPORT. Otherwise, the MACIndex of the MAC will be\nthe value of the variable.") fddimibPORTAvailablePaths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTAvailablePaths.setDescription("Indicates the Paths which are available to this\nPort. In the absence of faults, the A and B Ports\nwill always have both the Primary and Secondary\nPaths available.\n\nThe value is a sum. This value initially takes\nthe value zero, then for each type of PATH that\nthis port has available, 2 raised to a power is\nadded to the sum. The powers are according to the\nfollowing table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2 ") fddimibPORTPMDClass = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,6,7,5,4,8,1,)).subtype(namedValues=NamedValues(("multimode", 1), ("single-mode1", 2), ("single-mode2", 3), ("sonet", 4), ("low-cost-fiber", 5), ("twisted-pair", 6), ("unknown", 7), ("unspecified", 8), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTPMDClass.setDescription("This variable indicates the type of PMD entity\nassociated with this port.") fddimibPORTConnectionCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTConnectionCapabilities.setDescription("A value that indicates the connection\ncapabilities of the port. The pc-mac-lct bit\nindicates that the station has the capability of\nsetting the PC_MAC_LCT Flag. The pc-mac-loop bit\nindicates that the station has the capability of\nsetting the PC_MAC_Loop Flag (refer to ANSI\n9.4.3.2).\n\nThe value is a sum. This value initially takes\nthe value zero, then for each capability that this\nport has, 2 raised to a power is added to the sum.\nThe powers are according to the following table:\n\n capability Power\n pc-mac-lct 0\n pc-mac-loop 1 ") fddimibPORTBSFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTBSFlag.setDescription("This variable assumes the value of the BS_Flag\n(refer to ANSI SMT 9.4.3.3).") fddimibPORTLCTFailCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTLCTFailCts.setDescription("The count of the consecutive times the link\nconfidence test (LCT) has failed during connection\nmanagement (refer to ANSI 9.4.1).") fddimibPORTLerEstimate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTLerEstimate.setDescription("A long term average link error rate. It ranges\nfrom 10**-4 to 10**-15 and is reported as the\nabsolute value of the base 10 logarithm (refer to\nANSI SMT 9.4.7.5.).") fddimibPORTLemRejectCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTLemRejectCts.setDescription("A link error monitoring count of the times that a\nlink has been rejected.") fddimibPORTLemCts = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTLemCts.setDescription("The aggregate link error monitor error count, set\nto zero only on station initialization.") fddimibPORTLerCutoff = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPORTLerCutoff.setDescription("The link error rate estimate at which a link\nconnection will be broken. It ranges from 10**-4\nto 10**-15 and is reported as the absolute value\nof the base 10 logarithm (default of 7).") fddimibPORTLerAlarm = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPORTLerAlarm.setDescription("The link error rate estimate at which a link\nconnection will generate an alarm. It ranges from\n10**-4 to 10**-15 and is reported as the absolute\nvalue of the base 10 logarithm of the estimate\n(default of 8).") fddimibPORTConnectState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("disabled", 1), ("connecting", 2), ("standby", 3), ("active", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTConnectState.setDescription("An indication of the connect state of this PORT\nand is equal to the value of Connect_State (refer\nto ANSI 9.4.1)") fddimibPORTPCMState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(9,10,3,4,1,2,7,8,5,6,)).subtype(namedValues=NamedValues(("pc0", 1), ("pc9", 10), ("pc1", 2), ("pc2", 3), ("pc3", 4), ("pc4", 5), ("pc5", 6), ("pc6", 7), ("pc7", 8), ("pc8", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTPCMState.setDescription("The state of this Port's PCM state machine refer\nto ANSI SMT 9.6.2).") fddimibPORTPCWithhold = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,4,)).subtype(namedValues=NamedValues(("none", 1), ("m-m", 2), ("otherincompatible", 3), ("pathnotavailable", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTPCWithhold.setDescription("The value of PC_Withhold (refer to ANSI SMT\n9.4.1).") fddimibPORTLerFlag = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTLerFlag.setDescription("The condition becomes active when the value of\nfddiPORTLerEstimate is less than or equal to\nfddiPORTLerAlarm. This will be reported with the\nStatus Report Frames (SRF) (refer to ANSI SMT\n 7.2.7 and 8.3).") fddimibPORTHardwarePresent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("true", 1), ("false", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fddimibPORTHardwarePresent.setDescription("This variable indicates the presence of\nunderlying hardware support for this Port object.\nIf the value of this object is false(2), the\nreporting of the objects in this entry may be\nhandled in an implementation-specific manner.") fddimibPORTAction = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 73, 5, 2, 1, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(5,4,3,1,2,6,)).subtype(namedValues=NamedValues(("other", 1), ("maintPORT", 2), ("enablePORT", 3), ("disablePORT", 4), ("startPORT", 5), ("stopPORT", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fddimibPORTAction.setDescription("Causes a Control signal to be generated with a\ncontrol_action of 'Signal' and the 'variable'\nparameter set with the appropriate value (i.e.,\nPC_Maint, PC_Enable, PC_Disable, PC_Start, or\nPC_Stop) (refer to ANSI 9.4.2).") # Augmentions # Exports # Types mibBuilder.exportSymbols("FDDI-SMT73-MIB", FddiMACLongAddressType=FddiMACLongAddressType, FddiResourceId=FddiResourceId, FddiSMTStationIdType=FddiSMTStationIdType, FddiTimeMilli=FddiTimeMilli, FddiTimeNano=FddiTimeNano) # Objects mibBuilder.exportSymbols("FDDI-SMT73-MIB", fddi=fddi, fddimib=fddimib, fddimibSMT=fddimibSMT, fddimibSMTNumber=fddimibSMTNumber, fddimibSMTTable=fddimibSMTTable, fddimibSMTEntry=fddimibSMTEntry, fddimibSMTIndex=fddimibSMTIndex, fddimibSMTStationId=fddimibSMTStationId, fddimibSMTOpVersionId=fddimibSMTOpVersionId, fddimibSMTHiVersionId=fddimibSMTHiVersionId, fddimibSMTLoVersionId=fddimibSMTLoVersionId, fddimibSMTUserData=fddimibSMTUserData, fddimibSMTMIBVersionId=fddimibSMTMIBVersionId, fddimibSMTMACCts=fddimibSMTMACCts, fddimibSMTNonMasterCts=fddimibSMTNonMasterCts, fddimibSMTMasterCts=fddimibSMTMasterCts, fddimibSMTAvailablePaths=fddimibSMTAvailablePaths, fddimibSMTConfigCapabilities=fddimibSMTConfigCapabilities, fddimibSMTConfigPolicy=fddimibSMTConfigPolicy, fddimibSMTConnectionPolicy=fddimibSMTConnectionPolicy, fddimibSMTTNotify=fddimibSMTTNotify, fddimibSMTStatRptPolicy=fddimibSMTStatRptPolicy, fddimibSMTTraceMaxExpiration=fddimibSMTTraceMaxExpiration, fddimibSMTBypassPresent=fddimibSMTBypassPresent, fddimibSMTECMState=fddimibSMTECMState, fddimibSMTCFState=fddimibSMTCFState, fddimibSMTRemoteDisconnectFlag=fddimibSMTRemoteDisconnectFlag, fddimibSMTStationStatus=fddimibSMTStationStatus, fddimibSMTPeerWrapFlag=fddimibSMTPeerWrapFlag, fddimibSMTTimeStamp=fddimibSMTTimeStamp, fddimibSMTTransitionTimeStamp=fddimibSMTTransitionTimeStamp, fddimibSMTStationAction=fddimibSMTStationAction, fddimibMAC=fddimibMAC, fddimibMACNumber=fddimibMACNumber, fddimibMACTable=fddimibMACTable, fddimibMACEntry=fddimibMACEntry, fddimibMACSMTIndex=fddimibMACSMTIndex, fddimibMACIndex=fddimibMACIndex, fddimibMACIfIndex=fddimibMACIfIndex, fddimibMACFrameStatusFunctions=fddimibMACFrameStatusFunctions, fddimibMACTMaxCapability=fddimibMACTMaxCapability, fddimibMACTVXCapability=fddimibMACTVXCapability, fddimibMACAvailablePaths=fddimibMACAvailablePaths, fddimibMACCurrentPath=fddimibMACCurrentPath, fddimibMACUpstreamNbr=fddimibMACUpstreamNbr, fddimibMACDownstreamNbr=fddimibMACDownstreamNbr, fddimibMACOldUpstreamNbr=fddimibMACOldUpstreamNbr, fddimibMACOldDownstreamNbr=fddimibMACOldDownstreamNbr, fddimibMACDupAddressTest=fddimibMACDupAddressTest, fddimibMACRequestedPaths=fddimibMACRequestedPaths, fddimibMACDownstreamPORTType=fddimibMACDownstreamPORTType, fddimibMACSMTAddress=fddimibMACSMTAddress, fddimibMACTReq=fddimibMACTReq, fddimibMACTNeg=fddimibMACTNeg, fddimibMACTMax=fddimibMACTMax, fddimibMACTvxValue=fddimibMACTvxValue, fddimibMACFrameCts=fddimibMACFrameCts, fddimibMACCopiedCts=fddimibMACCopiedCts, fddimibMACTransmitCts=fddimibMACTransmitCts, fddimibMACErrorCts=fddimibMACErrorCts, fddimibMACLostCts=fddimibMACLostCts, fddimibMACFrameErrorThreshold=fddimibMACFrameErrorThreshold, fddimibMACFrameErrorRatio=fddimibMACFrameErrorRatio, fddimibMACRMTState=fddimibMACRMTState, fddimibMACDaFlag=fddimibMACDaFlag, fddimibMACUnaDaFlag=fddimibMACUnaDaFlag, fddimibMACFrameErrorFlag=fddimibMACFrameErrorFlag, fddimibMACMAUnitdataAvailable=fddimibMACMAUnitdataAvailable, fddimibMACHardwarePresent=fddimibMACHardwarePresent, fddimibMACMAUnitdataEnable=fddimibMACMAUnitdataEnable, fddimibMACCounters=fddimibMACCounters, fddimibMACCountersTable=fddimibMACCountersTable, fddimibMACCountersEntry=fddimibMACCountersEntry, fddimibMACTokenCts=fddimibMACTokenCts, fddimibMACTvxExpiredCts=fddimibMACTvxExpiredCts, fddimibMACNotCopiedCts=fddimibMACNotCopiedCts, fddimibMACLateCts=fddimibMACLateCts, fddimibMACRingOpCts=fddimibMACRingOpCts, fddimibMACNotCopiedRatio=fddimibMACNotCopiedRatio, fddimibMACNotCopiedFlag=fddimibMACNotCopiedFlag, fddimibMACNotCopiedThreshold=fddimibMACNotCopiedThreshold, fddimibPATH=fddimibPATH, fddimibPATHNumber=fddimibPATHNumber, fddimibPATHTable=fddimibPATHTable, fddimibPATHEntry=fddimibPATHEntry, fddimibPATHSMTIndex=fddimibPATHSMTIndex, fddimibPATHIndex=fddimibPATHIndex, fddimibPATHTVXLowerBound=fddimibPATHTVXLowerBound, fddimibPATHTMaxLowerBound=fddimibPATHTMaxLowerBound, fddimibPATHMaxTReq=fddimibPATHMaxTReq, fddimibPATHConfigTable=fddimibPATHConfigTable, fddimibPATHConfigEntry=fddimibPATHConfigEntry, fddimibPATHConfigSMTIndex=fddimibPATHConfigSMTIndex, fddimibPATHConfigPATHIndex=fddimibPATHConfigPATHIndex, fddimibPATHConfigTokenOrder=fddimibPATHConfigTokenOrder, fddimibPATHConfigResourceType=fddimibPATHConfigResourceType, fddimibPATHConfigResourceIndex=fddimibPATHConfigResourceIndex, fddimibPATHConfigCurrentPath=fddimibPATHConfigCurrentPath, fddimibPORT=fddimibPORT, fddimibPORTNumber=fddimibPORTNumber, fddimibPORTTable=fddimibPORTTable, fddimibPORTEntry=fddimibPORTEntry, fddimibPORTSMTIndex=fddimibPORTSMTIndex, fddimibPORTIndex=fddimibPORTIndex, fddimibPORTMyType=fddimibPORTMyType, fddimibPORTNeighborType=fddimibPORTNeighborType, fddimibPORTConnectionPolicies=fddimibPORTConnectionPolicies, fddimibPORTMACIndicated=fddimibPORTMACIndicated, fddimibPORTCurrentPath=fddimibPORTCurrentPath, fddimibPORTRequestedPaths=fddimibPORTRequestedPaths, fddimibPORTMACPlacement=fddimibPORTMACPlacement, fddimibPORTAvailablePaths=fddimibPORTAvailablePaths, fddimibPORTPMDClass=fddimibPORTPMDClass, fddimibPORTConnectionCapabilities=fddimibPORTConnectionCapabilities, fddimibPORTBSFlag=fddimibPORTBSFlag, fddimibPORTLCTFailCts=fddimibPORTLCTFailCts, fddimibPORTLerEstimate=fddimibPORTLerEstimate, fddimibPORTLemRejectCts=fddimibPORTLemRejectCts, fddimibPORTLemCts=fddimibPORTLemCts, fddimibPORTLerCutoff=fddimibPORTLerCutoff, fddimibPORTLerAlarm=fddimibPORTLerAlarm, fddimibPORTConnectState=fddimibPORTConnectState, fddimibPORTPCMState=fddimibPORTPCMState, fddimibPORTPCWithhold=fddimibPORTPCWithhold, fddimibPORTLerFlag=fddimibPORTLerFlag, fddimibPORTHardwarePresent=fddimibPORTHardwarePresent) mibBuilder.exportSymbols("FDDI-SMT73-MIB", fddimibPORTAction=fddimibPORTAction) pysnmp-mibs-0.1.3/pysnmp_mibs/SIP-TC-MIB.py0000644000014400001440000000577411736645137020412 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SIP-TC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:38 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class SipTCEntityRole(Bits): namedValues = NamedValues(("other", 0), ("userAgent", 1), ("proxyServer", 2), ("redirectServer", 3), ("registrarServer", 4), ) class SipTCMethodName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,100) class SipTCOptionTagHeaders(Bits): namedValues = NamedValues(("require", 0), ("proxyRequire", 1), ("supported", 2), ("unsupported", 3), ) class SipTCTransportProtocol(Bits): namedValues = NamedValues(("other", 0), ("udp", 1), ("tcp", 2), ("sctp", 3), ("tlsTcp", 4), ("tlsSctp", 5), ) # Objects sipTC = ModuleIdentity((1, 3, 6, 1, 2, 1, 148)).setRevisions(("2007-04-20 00:00",)) if mibBuilder.loadTexts: sipTC.setOrganization("IETF Session Initiation Protocol Working Group") if mibBuilder.loadTexts: sipTC.setContactInfo("SIP WG email: sip@ietf.org\n\nCo-editor Kevin Lingle\n Cisco Systems, Inc.\npostal: 7025 Kit Creek Road\n P.O. Box 14987\n Research Triangle Park, NC 27709\n USA\nemail: klingle@cisco.com\nphone: +1 919 476 2029\n\nCo-editor Joon Maeng\nemail: jmaeng@austin.rr.com\n\nCo-editor Jean-Francois Mule\n CableLabs\npostal: 858 Coal Creek Circle\n Louisville, CO 80027\n USA\nemail: jf.mule@cablelabs.com\nphone: +1 303 661 9100\n\nCo-editor Dave Walker\nemail: drwalker@rogers.com") if mibBuilder.loadTexts: sipTC.setDescription("Session Initiation Protocol (SIP) MIB TEXTUAL-CONVENTION\nmodule used by other SIP-related MIB Modules.\n\nCopyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4780; see the RFC itself for\n\n\n\nfull legal notices.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("SIP-TC-MIB", PYSNMP_MODULE_ID=sipTC) # Types mibBuilder.exportSymbols("SIP-TC-MIB", SipTCEntityRole=SipTCEntityRole, SipTCMethodName=SipTCMethodName, SipTCOptionTagHeaders=SipTCOptionTagHeaders, SipTCTransportProtocol=SipTCTransportProtocol) # Objects mibBuilder.exportSymbols("SIP-TC-MIB", sipTC=sipTC) pysnmp-mibs-0.1.3/pysnmp_mibs/IPV6-ICMP-MIB.py0000644000014400001440000004152411736645136020715 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPV6-ICMP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:12 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ipv6IfEntry, ) = mibBuilder.importSymbols("IPV6-MIB", "ipv6IfEntry") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") # Objects ipv6IcmpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 56)).setRevisions(("1998-01-08 21:55",)) if mibBuilder.loadTexts: ipv6IcmpMIB.setOrganization("IETF IPv6 Working Group") if mibBuilder.loadTexts: ipv6IcmpMIB.setContactInfo(" Dimitry Haskin\n\nPostal: Bay Networks, Inc.\n 660 Techology Park Drive.\n Billerica, MA 01821\n US\n\n Tel: +1-978-916-8124\nE-mail: dhaskin@baynetworks.com\n\n Steve Onishi\n\nPostal: Bay Networks, Inc.\n 3 Federal Street\n Billerica, MA 01821\n US\n\n Tel: +1-978-916-3816\nE-mail: sonishi@baynetworks.com") if mibBuilder.loadTexts: ipv6IcmpMIB.setDescription("The MIB module for entities implementing\nthe ICMPv6.") ipv6IcmpMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 56, 1)) ipv6IfIcmpTable = MibTable((1, 3, 6, 1, 2, 1, 56, 1, 1)) if mibBuilder.loadTexts: ipv6IfIcmpTable.setDescription("IPv6 ICMP statistics. This table contains statistics\nof ICMPv6 messages that are received and sourced by\nthe entity.") ipv6IfIcmpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 56, 1, 1, 1)) if mibBuilder.loadTexts: ipv6IfIcmpEntry.setDescription("An ICMPv6 statistics entry containing\nobjects at a particular IPv6 interface.\n\nNote that a receiving interface is\nthe interface to which a given ICMPv6 message\nis addressed which may not be necessarily\nthe input interface for the message.\n\nSimilarly, the sending interface is\nthe interface that sources a given\nICMP message which is usually but not\nnecessarily the output interface for the message.") ipv6IfIcmpInMsgs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInMsgs.setDescription("The total number of ICMP messages received\nby the interface which includes all those\ncounted by ipv6IfIcmpInErrors. Note that this\ninterface is the interface to which the\nICMP messages were addressed which may not be\nnecessarily the input interface for the messages.") ipv6IfIcmpInErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInErrors.setDescription("The number of ICMP messages which the interface\nreceived but determined as having ICMP-specific\nerrors (bad ICMP checksums, bad length, etc.).") ipv6IfIcmpInDestUnreachs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInDestUnreachs.setDescription("The number of ICMP Destination Unreachable\nmessages received by the interface.") ipv6IfIcmpInAdminProhibs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInAdminProhibs.setDescription("The number of ICMP destination\nunreachable/communication administratively\nprohibited messages received by the interface.") ipv6IfIcmpInTimeExcds = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInTimeExcds.setDescription("The number of ICMP Time Exceeded messages\nreceived by the interface.") ipv6IfIcmpInParmProblems = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInParmProblems.setDescription("The number of ICMP Parameter Problem messages\nreceived by the interface.") ipv6IfIcmpInPktTooBigs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInPktTooBigs.setDescription("The number of ICMP Packet Too Big messages\nreceived by the interface.") ipv6IfIcmpInEchos = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInEchos.setDescription("The number of ICMP Echo (request) messages\nreceived by the interface.") ipv6IfIcmpInEchoReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInEchoReplies.setDescription("The number of ICMP Echo Reply messages received\nby the interface.") ipv6IfIcmpInRouterSolicits = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInRouterSolicits.setDescription("The number of ICMP Router Solicit messages\nreceived by the interface.") ipv6IfIcmpInRouterAdvertisements = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInRouterAdvertisements.setDescription("The number of ICMP Router Advertisement messages\nreceived by the interface.") ipv6IfIcmpInNeighborSolicits = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInNeighborSolicits.setDescription("The number of ICMP Neighbor Solicit messages\nreceived by the interface.") ipv6IfIcmpInNeighborAdvertisements = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInNeighborAdvertisements.setDescription("The number of ICMP Neighbor Advertisement\nmessages received by the interface.") ipv6IfIcmpInRedirects = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInRedirects.setDescription("The number of Redirect messages received\nby the interface.") ipv6IfIcmpInGroupMembQueries = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInGroupMembQueries.setDescription("The number of ICMPv6 Group Membership Query\nmessages received by the interface.") ipv6IfIcmpInGroupMembResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInGroupMembResponses.setDescription("The number of ICMPv6 Group Membership Response messages\nreceived by the interface.") ipv6IfIcmpInGroupMembReductions = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpInGroupMembReductions.setDescription("The number of ICMPv6 Group Membership Reduction messages\nreceived by the interface.") ipv6IfIcmpOutMsgs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutMsgs.setDescription("The total number of ICMP messages which this\ninterface attempted to send. Note that this counter\nincludes all those counted by icmpOutErrors.") ipv6IfIcmpOutErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutErrors.setDescription("The number of ICMP messages which this interface did\nnot send due to problems discovered within ICMP\nsuch as a lack of buffers. This value should not\ninclude errors discovered outside the ICMP layer\nsuch as the inability of IPv6 to route the resultant\ndatagram. In some implementations there may be no\ntypes of error which contribute to this counter's\nvalue.") ipv6IfIcmpOutDestUnreachs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutDestUnreachs.setDescription("The number of ICMP Destination Unreachable\nmessages sent by the interface.") ipv6IfIcmpOutAdminProhibs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutAdminProhibs.setDescription("Number of ICMP dest unreachable/communication\nadministratively prohibited messages sent.") ipv6IfIcmpOutTimeExcds = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutTimeExcds.setDescription("The number of ICMP Time Exceeded messages sent\nby the interface.") ipv6IfIcmpOutParmProblems = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutParmProblems.setDescription("The number of ICMP Parameter Problem messages\nsent by the interface.") ipv6IfIcmpOutPktTooBigs = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutPktTooBigs.setDescription("The number of ICMP Packet Too Big messages sent\nby the interface.") ipv6IfIcmpOutEchos = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutEchos.setDescription("The number of ICMP Echo (request) messages sent\nby the interface.") ipv6IfIcmpOutEchoReplies = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutEchoReplies.setDescription("The number of ICMP Echo Reply messages sent\nby the interface.") ipv6IfIcmpOutRouterSolicits = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutRouterSolicits.setDescription("The number of ICMP Router Solicitation messages\nsent by the interface.") ipv6IfIcmpOutRouterAdvertisements = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutRouterAdvertisements.setDescription("The number of ICMP Router Advertisement messages\nsent by the interface.") ipv6IfIcmpOutNeighborSolicits = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutNeighborSolicits.setDescription("The number of ICMP Neighbor Solicitation\nmessages sent by the interface.") ipv6IfIcmpOutNeighborAdvertisements = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutNeighborAdvertisements.setDescription("The number of ICMP Neighbor Advertisement\nmessages sent by the interface.") ipv6IfIcmpOutRedirects = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutRedirects.setDescription("The number of Redirect messages sent. For\na host, this object will always be zero,\nsince hosts do not send redirects.") ipv6IfIcmpOutGroupMembQueries = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutGroupMembQueries.setDescription("The number of ICMPv6 Group Membership Query\nmessages sent.") ipv6IfIcmpOutGroupMembResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutGroupMembResponses.setDescription("The number of ICMPv6 Group Membership Response\nmessages sent.") ipv6IfIcmpOutGroupMembReductions = MibTableColumn((1, 3, 6, 1, 2, 1, 56, 1, 1, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6IfIcmpOutGroupMembReductions.setDescription("The number of ICMPv6 Group Membership Reduction\nmessages sent.") ipv6IcmpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 56, 2)) ipv6IcmpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 56, 2, 1)) ipv6IcmpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 56, 2, 2)) # Augmentions ipv6IfEntry, = mibBuilder.importSymbols("IPV6-MIB", "ipv6IfEntry") ipv6IfEntry.registerAugmentions(("IPV6-ICMP-MIB", "ipv6IfIcmpEntry")) ipv6IfIcmpEntry.setIndexNames(*ipv6IfEntry.getIndexNames()) # Groups ipv6IcmpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 56, 2, 2, 1)).setObjects(*(("IPV6-ICMP-MIB", "ipv6IfIcmpInParmProblems"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInEchos"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutEchoReplies"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutAdminProhibs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutGroupMembReductions"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutGroupMembResponses"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutDestUnreachs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInGroupMembQueries"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutMsgs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutErrors"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInMsgs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutGroupMembQueries"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInTimeExcds"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInGroupMembReductions"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutPktTooBigs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutRedirects"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutParmProblems"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInDestUnreachs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInEchoReplies"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutRouterSolicits"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutNeighborAdvertisements"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInAdminProhibs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInGroupMembResponses"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutEchos"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutNeighborSolicits"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutRouterAdvertisements"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInPktTooBigs"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInNeighborAdvertisements"), ("IPV6-ICMP-MIB", "ipv6IfIcmpOutTimeExcds"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInRedirects"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInErrors"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInNeighborSolicits"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInRouterAdvertisements"), ("IPV6-ICMP-MIB", "ipv6IfIcmpInRouterSolicits"), ) ) if mibBuilder.loadTexts: ipv6IcmpGroup.setDescription("The ICMPv6 group of objects providing information\nspecific to ICMPv6.") # Compliances ipv6IcmpCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 56, 2, 1, 1)).setObjects(*(("IPV6-ICMP-MIB", "ipv6IcmpGroup"), ) ) if mibBuilder.loadTexts: ipv6IcmpCompliance.setDescription("The compliance statement for SNMPv2 entities which\nimplement ICMPv6.") # Exports # Module identity mibBuilder.exportSymbols("IPV6-ICMP-MIB", PYSNMP_MODULE_ID=ipv6IcmpMIB) # Objects mibBuilder.exportSymbols("IPV6-ICMP-MIB", ipv6IcmpMIB=ipv6IcmpMIB, ipv6IcmpMIBObjects=ipv6IcmpMIBObjects, ipv6IfIcmpTable=ipv6IfIcmpTable, ipv6IfIcmpEntry=ipv6IfIcmpEntry, ipv6IfIcmpInMsgs=ipv6IfIcmpInMsgs, ipv6IfIcmpInErrors=ipv6IfIcmpInErrors, ipv6IfIcmpInDestUnreachs=ipv6IfIcmpInDestUnreachs, ipv6IfIcmpInAdminProhibs=ipv6IfIcmpInAdminProhibs, ipv6IfIcmpInTimeExcds=ipv6IfIcmpInTimeExcds, ipv6IfIcmpInParmProblems=ipv6IfIcmpInParmProblems, ipv6IfIcmpInPktTooBigs=ipv6IfIcmpInPktTooBigs, ipv6IfIcmpInEchos=ipv6IfIcmpInEchos, ipv6IfIcmpInEchoReplies=ipv6IfIcmpInEchoReplies, ipv6IfIcmpInRouterSolicits=ipv6IfIcmpInRouterSolicits, ipv6IfIcmpInRouterAdvertisements=ipv6IfIcmpInRouterAdvertisements, ipv6IfIcmpInNeighborSolicits=ipv6IfIcmpInNeighborSolicits, ipv6IfIcmpInNeighborAdvertisements=ipv6IfIcmpInNeighborAdvertisements, ipv6IfIcmpInRedirects=ipv6IfIcmpInRedirects, ipv6IfIcmpInGroupMembQueries=ipv6IfIcmpInGroupMembQueries, ipv6IfIcmpInGroupMembResponses=ipv6IfIcmpInGroupMembResponses, ipv6IfIcmpInGroupMembReductions=ipv6IfIcmpInGroupMembReductions, ipv6IfIcmpOutMsgs=ipv6IfIcmpOutMsgs, ipv6IfIcmpOutErrors=ipv6IfIcmpOutErrors, ipv6IfIcmpOutDestUnreachs=ipv6IfIcmpOutDestUnreachs, ipv6IfIcmpOutAdminProhibs=ipv6IfIcmpOutAdminProhibs, ipv6IfIcmpOutTimeExcds=ipv6IfIcmpOutTimeExcds, ipv6IfIcmpOutParmProblems=ipv6IfIcmpOutParmProblems, ipv6IfIcmpOutPktTooBigs=ipv6IfIcmpOutPktTooBigs, ipv6IfIcmpOutEchos=ipv6IfIcmpOutEchos, ipv6IfIcmpOutEchoReplies=ipv6IfIcmpOutEchoReplies, ipv6IfIcmpOutRouterSolicits=ipv6IfIcmpOutRouterSolicits, ipv6IfIcmpOutRouterAdvertisements=ipv6IfIcmpOutRouterAdvertisements, ipv6IfIcmpOutNeighborSolicits=ipv6IfIcmpOutNeighborSolicits, ipv6IfIcmpOutNeighborAdvertisements=ipv6IfIcmpOutNeighborAdvertisements, ipv6IfIcmpOutRedirects=ipv6IfIcmpOutRedirects, ipv6IfIcmpOutGroupMembQueries=ipv6IfIcmpOutGroupMembQueries, ipv6IfIcmpOutGroupMembResponses=ipv6IfIcmpOutGroupMembResponses, ipv6IfIcmpOutGroupMembReductions=ipv6IfIcmpOutGroupMembReductions, ipv6IcmpConformance=ipv6IcmpConformance, ipv6IcmpCompliances=ipv6IcmpCompliances, ipv6IcmpGroups=ipv6IcmpGroups) # Groups mibBuilder.exportSymbols("IPV6-ICMP-MIB", ipv6IcmpGroup=ipv6IcmpGroup) # Compliances mibBuilder.exportSymbols("IPV6-ICMP-MIB", ipv6IcmpCompliance=ipv6IcmpCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MPLS-TE-STD-MIB.py0000644000014400001440000022142511736645137021155 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MPLS-TE-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:21 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IndexIntegerNextFree, ) = mibBuilder.importSymbols("DIFFSERV-MIB", "IndexIntegerNextFree") ( InterfaceIndexOrZero, ifCounterDiscontinuityGroup, ifGeneralInformationGroup, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifCounterDiscontinuityGroup", "ifGeneralInformationGroup") ( InetAddressPrefixLength, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressPrefixLength") ( MplsBitRate, MplsBurstSize, MplsExtendedTunnelId, MplsLSPID, MplsOwner, MplsPathIndex, MplsPathIndexOrZero, MplsTunnelAffinity, MplsTunnelIndex, MplsTunnelInstanceIndex, TeHopAddress, TeHopAddressAS, TeHopAddressType, TeHopAddressUnnum, mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsBitRate", "MplsBurstSize", "MplsExtendedTunnelId", "MplsLSPID", "MplsOwner", "MplsPathIndex", "MplsPathIndexOrZero", "MplsTunnelAffinity", "MplsTunnelIndex", "MplsTunnelInstanceIndex", "TeHopAddress", "TeHopAddressAS", "TeHopAddressType", "TeHopAddressUnnum", "mplsStdMIB") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "zeroDotZero") ( RowPointer, RowStatus, StorageType, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "RowStatus", "StorageType", "TimeStamp", "TruthValue") # Objects mplsTeStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 3)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: mplsTeStdMIB.setOrganization("Multiprotocol Label Switching (MPLS) Working Group") if mibBuilder.loadTexts: mplsTeStdMIB.setContactInfo(" Cheenu Srinivasan\nBloomberg L.P.\nEmail: cheenu@bloomberg.net\n\nArun Viswanathan\nForce10 Networks, Inc.\nEmail: arunv@force10networks.com\n\nThomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\n\nComments about this document should be emailed\ndirectly to the MPLS working group mailing list at\nmpls@uu.net.") if mibBuilder.loadTexts: mplsTeStdMIB.setDescription("Copyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3812. For full legal notices see the RFC\nitself or see: http://www.ietf.org/copyrights/ianamib.html\n\nThis MIB module contains managed object definitions\n for MPLS Traffic Engineering (TE) as defined in:\n1. Extensions to RSVP for LSP Tunnels, Awduche et\n al, RFC 3209, December 2001\n2. Constraint-Based LSP Setup using LDP, Jamoussi\n\n\n\n (Editor), RFC 3212, January 2002\n3. Requirements for Traffic Engineering Over MPLS,\n Awduche, D., Malcolm, J., Agogbua, J., O'Dell, M.,\n and J. McManus, [RFC2702], September 1999") mplsTeNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 3, 0)) mplsTeScalars = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 3, 1)) mplsTunnelConfigured = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelConfigured.setDescription("The number of tunnels configured on this device. A\ntunnel is considered configured if the\nmplsTunnelRowStatus is active(1).") mplsTunnelActive = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelActive.setDescription("The number of tunnels active on this device. A\ntunnel is considered active if the\nmplsTunnelOperStatus is up(1).") mplsTunnelTEDistProto = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 1, 3), Bits().subtype(namedValues=NamedValues(("other", 0), ("ospf", 1), ("isis", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelTEDistProto.setDescription("The traffic engineering distribution protocol(s)\nused by this LSR. Note that an LSR may support more\nthan one distribution protocol simultaneously.") mplsTunnelMaxHops = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelMaxHops.setDescription("The maximum number of hops that can be specified for\na tunnel on this device.") mplsTunnelNotificationMaxRate = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 1, 5), Unsigned32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mplsTunnelNotificationMaxRate.setDescription("This variable indicates the maximum number of\nnotifications issued per second. If events occur\nmore rapidly, the implementation may simply fail to\nemit these notifications during that period, or may\nqueue them until an appropriate time. A value of 0\nmeans no throttling is applied and events may be\nnotified at the rate at which they occur.") mplsTeObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 3, 2)) mplsTunnelIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 1), IndexIntegerNextFree().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelIndexNext.setDescription("This object contains an unused value for\n\n\n\nmplsTunnelIndex, or a zero to indicate\nthat none exist. Negative values are not allowed,\nas they do not correspond to valid values of\nmplsTunnelIndex.\n\nNote that this object offers an unused value\nfor an mplsTunnelIndex value at the ingress\nside of a tunnel. At other LSRs the value\nof mplsTunnelIndex SHOULD be taken from the\nvalue signaled by the MPLS signaling protocol.") mplsTunnelTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2)) if mibBuilder.loadTexts: mplsTunnelTable.setDescription("The mplsTunnelTable allows new MPLS tunnels to be\ncreated between an LSR and a remote endpoint, and\nexisting tunnels to be reconfigured or removed.\nNote that only point-to-point tunnel segments are\nsupported, although multipoint-to-point and point-\nto-multipoint connections are supported by an LSR\nacting as a cross-connect. Each MPLS tunnel can\nthus have one out-segment originating at this LSR\nand/or one in-segment terminating at this LSR.") mplsTunnelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelInstance"), (0, "MPLS-TE-STD-MIB", "mplsTunnelIngressLSRId"), (0, "MPLS-TE-STD-MIB", "mplsTunnelEgressLSRId")) if mibBuilder.loadTexts: mplsTunnelEntry.setDescription("An entry in this table represents an MPLS tunnel.\nAn entry can be created by a network administrator\nor by an SNMP agent as instructed by an MPLS\nsignalling protocol. Whenever a new entry is\ncreated with mplsTunnelIsIf set to true(1), then a\ncorresponding entry is created in ifTable as well\n(see RFC 2863). The ifType of this entry is\nmplsTunnel(150).\n\nA tunnel entry needs to be uniquely identified across\na MPLS network. Indices mplsTunnelIndex and\nmplsTunnelInstance uniquely identify a tunnel on\nthe LSR originating the tunnel. To uniquely\nidentify a tunnel across an MPLS network requires\n\n\n\nindex mplsTunnelIngressLSRId. The last index\nmplsTunnelEgressLSRId is useful in identifying all\ninstances of a tunnel that terminate on the same\negress LSR.") mplsTunnelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 1), MplsTunnelIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelIndex.setDescription("Uniquely identifies a set of tunnel instances\nbetween a pair of ingress and egress LSRs.\nManagers should obtain new values for row\ncreation in this table by reading\nmplsTunnelIndexNext. When\nthe MPLS signalling protocol is rsvp(2) this value\nSHOULD be equal to the value signaled in the\nTunnel Id of the Session object. When the MPLS\nsignalling protocol is crldp(3) this value\nSHOULD be equal to the value signaled in the\nLSP ID.") mplsTunnelInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 2), MplsTunnelInstanceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelInstance.setDescription("Uniquely identifies a particular instance of a\ntunnel between a pair of ingress and egress LSRs.\nIt is useful to identify multiple instances of\ntunnels for the purposes of backup and parallel\ntunnels. When the MPLS signaling protocol is\nrsvp(2) this value SHOULD be equal to the LSP Id\nof the Sender Template object. When the signaling\nprotocol is crldp(3) there is no equivalent\nsignaling object.") mplsTunnelIngressLSRId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 3), MplsExtendedTunnelId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelIngressLSRId.setDescription("Identity of the ingress LSR associated with this\ntunnel instance. When the MPLS signalling protocol\nis rsvp(2) this value SHOULD be equal to the Tunnel\n\n\n\nSender Address in the Sender Template object and MAY\nbe equal to the Extended Tunnel Id field in the\nSESSION object. When the MPLS signalling protocol is\ncrldp(3) this value SHOULD be equal to the Ingress\nLSR Router ID field in the LSPID TLV object.") mplsTunnelEgressLSRId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 4), MplsExtendedTunnelId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelEgressLSRId.setDescription("Identity of the egress LSR associated with this\ntunnel instance.") mplsTunnelName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 5), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelName.setDescription("The canonical name assigned to the tunnel. This name\ncan be used to refer to the tunnel on the LSR's\nconsole port. If mplsTunnelIsIf is set to true\nthen the ifName of the interface corresponding to\nthis tunnel should have a value equal to\nmplsTunnelName. Also see the description of ifName\nin RFC 2863.") mplsTunnelDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 6), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelDescr.setDescription("A textual string containing information about the\ntunnel. If there is no description this object\ncontains a zero length string. This object is may\nnot be signaled by MPLS signaling protocols,\n\n\n\nconsequentally the value of this object at transit\nand egress LSRs MAY be automatically generated or\nabsent.") mplsTunnelIsIf = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 7), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelIsIf.setDescription("Denotes whether or not this tunnel corresponds to an\ninterface represented in the interfaces group\ntable. Note that if this variable is set to true\nthen the ifName of the interface corresponding to\nthis tunnel should have a value equal to\nmplsTunnelName. Also see the description of ifName\nin RFC 2863. This object is meaningful only at the\ningress and egress LSRs.") mplsTunnelIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 8), InterfaceIndexOrZero().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelIfIndex.setDescription("If mplsTunnelIsIf is set to true, then this value\ncontains the LSR-assigned ifIndex which corresponds\nto an entry in the interfaces table. Otherwise\nthis variable should contain the value of zero\nindicating that a valid ifIndex was not assigned to\nthis tunnel interface.") mplsTunnelOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 9), MplsOwner()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelOwner.setDescription("Denotes the entity that created and is responsible\n\n\n\nfor managing this tunnel. This column is\nautomatically filled by the agent on creation of a\nrow.") mplsTunnelRole = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,2,)).subtype(namedValues=NamedValues(("head", 1), ("transit", 2), ("tail", 3), ("headTail", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelRole.setDescription("This value signifies the role that this tunnel\nentry/instance represents. This value MUST be set\nto head(1) at the originating point of the tunnel.\nThis value MUST be set to transit(2) at transit\npoints along the tunnel, if transit points are\nsupported. This value MUST be set to tail(3) at the\nterminating point of the tunnel if tunnel tails are\nsupported.\n\nThe value headTail(4) is provided for tunnels that\nbegin and end on the same LSR.") mplsTunnelXCPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 11), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelXCPointer.setDescription("This variable points to a row in the mplsXCTable.\nThis table identifies the segments that compose\nthis tunnel, their characteristics, and\nrelationships to each other. A value of zeroDotZero\nindicates that no LSP has been associated with this\ntunnel yet.") mplsTunnelSignallingProto = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("none", 1), ("rsvp", 2), ("crldp", 3), ("other", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelSignallingProto.setDescription("The signalling protocol, if any, used to setup this\ntunnel.") mplsTunnelSetupPrio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelSetupPrio.setDescription("Indicates the setup priority of this tunnel.") mplsTunnelHoldingPrio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHoldingPrio.setDescription("Indicates the holding priority for this tunnel.") mplsTunnelSessionAttributes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 15), Bits().subtype(namedValues=NamedValues(("fastReroute", 0), ("mergingPermitted", 1), ("isPersistent", 2), ("isPinned", 3), ("recordRoute", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelSessionAttributes.setDescription("This bit mask indicates optional session values for\nthis tunnel. The following describes these bit\nfields:\n\nfastRerouteThis flag indicates that the any tunnel\nhop may choose to reroute this tunnel without\ntearing it down. This flag permits transit routers\nto use a local repair mechanism which may result in\nviolation of the explicit routing of this tunnel.\nWhen a fault is detected on an adjacent downstream\nlink or node, a transit router can re-route traffic\nfor fast service restoration.\n\nmergingPermitted This flag permits transit routers\nto merge this session with other RSVP sessions for\nthe purpose of reducing resource overhead on\ndownstream transit routers, thereby providing\nbetter network scaling.\n\nisPersistent Indicates whether this tunnel should\nbe restored automatically after a failure occurs.\n\nisPinned This flag indicates whether the loose-\nrouted hops of this tunnel are to be pinned.\n\nrecordRouteThis flag indicates whether or not the\nsignalling protocol should remember the tunnel path\nafter it has been signaled.") mplsTunnelLocalProtectInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 16), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelLocalProtectInUse.setDescription("Indicates that the local repair mechanism is in use\nto maintain this tunnel (usually in the face of an\noutage of the link it was previously routed over).") mplsTunnelResourcePointer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 17), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourcePointer.setDescription("This variable represents a pointer to the traffic\nparameter specification for this tunnel. This\nvalue may point at an entry in the\nmplsTunnelResourceEntry to indicate which\nmplsTunnelResourceEntry is to be assigned to this\nLSP instance. This value may optionally point at\nan externally defined traffic parameter\nspecification table. A value of zeroDotZero\nindicates best-effort treatment. By having the\nsame value of this object, two or more LSPs can\nindicate resource sharing.") mplsTunnelPrimaryInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 18), MplsTunnelInstanceIndex().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPrimaryInstance.setDescription("Specifies the instance index of the primary instance\nof this tunnel. More details of the definition of\ntunnel instances and the primary tunnel instance\ncan be found in the description of the TEXTUAL-CONVENTION\nMplsTunnelInstanceIndex.") mplsTunnelInstancePriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 19), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelInstancePriority.setDescription("This value indicates which priority, in descending\norder, with 0 indicating the lowest priority,\nwithin a group of tunnel instances. A group of\ntunnel instances is defined as a set of LSPs with\nthe same mplsTunnelIndex in this table, but with a\ndifferent mplsTunnelInstance. Tunnel instance\npriorities are used to denote the priority at which\na particular tunnel instance will supercede\nanother. Instances of tunnels containing the same\nmplsTunnelInstancePriority will be used for load\nsharing.") mplsTunnelHopTableIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 20), MplsPathIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopTableIndex.setDescription("Index into the mplsTunnelHopTable entry that\nspecifies the explicit route hops for this tunnel.\nThis object is meaningful only at the head-end of\nthe tunnel.") mplsTunnelPathInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 21), MplsPathIndexOrZero().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelPathInUse.setDescription("This value denotes the configured path that was\nchosen for this tunnel. This value reflects the\nsecondary index into mplsTunnelHopTable. This path\nmay not exactly match the one in\nmplsTunnelARHopTable due to the fact that some CSPF\nmodification may have taken place. See\nmplsTunnelARHopTable for the actual path being\ntaken by the tunnel. A value of zero denotes that\nno path is currently in use or available.") mplsTunnelARHopTableIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 22), MplsPathIndexOrZero().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopTableIndex.setDescription("Index into the mplsTunnelARHopTable entry that\nspecifies the actual hops traversed by the tunnel.\nThis is automatically updated by the agent when the\nactual hops becomes available.") mplsTunnelCHopTableIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 23), MplsPathIndexOrZero().clone('0')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopTableIndex.setDescription("Index into the mplsTunnelCHopTable entry that\nspecifies the computed hops traversed by the\ntunnel. This is automatically updated by the agent\nwhen computed hops become available or when\ncomputed hops get modified.") mplsTunnelIncludeAnyAffinity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 24), MplsTunnelAffinity()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelIncludeAnyAffinity.setDescription("A link satisfies the include-any constraint if and\nonly if the constraint is zero, or the link and the\nconstraint have a resource class in common.") mplsTunnelIncludeAllAffinity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 25), MplsTunnelAffinity()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelIncludeAllAffinity.setDescription("A link satisfies the include-all constraint if and\nonly if the link contains all of the administrative\ngroups specified in the constraint.") mplsTunnelExcludeAnyAffinity = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 26), MplsTunnelAffinity().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelExcludeAnyAffinity.setDescription("A link satisfies the exclude-any constraint if and\nonly if the link contains none of the\nadministrative groups specified in the constraint.") mplsTunnelTotalUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 27), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelTotalUpTime.setDescription("This value represents the aggregate up time for all\ninstances of this tunnel, if available. If this\nvalue is unavailable, it MUST return a value of 0.") mplsTunnelInstanceUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 28), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelInstanceUpTime.setDescription("This value identifies the total time that this\ntunnel instance's operStatus has been Up(1).") mplsTunnelPrimaryUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 29), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPrimaryUpTime.setDescription("Specifies the total time the primary instance of\nthis tunnel has been active. The primary instance\nof this tunnel is defined in\nmplsTunnelPrimaryInstance.") mplsTunnelPathChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPathChanges.setDescription("Specifies the number of times the actual path for\nthis tunnel instance has changed.") mplsTunnelLastPathChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 31), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelLastPathChange.setDescription("Specifies the time since the last change to the\nactual path for this tunnel instance.") mplsTunnelCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 32), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCreationTime.setDescription("Specifies the value of SysUpTime when the first\ninstance of this tunnel came into existence.\nThat is, when the value of mplsTunnelOperStatus\nwas first set to up(1).") mplsTunnelStateTransitions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelStateTransitions.setDescription("Specifies the number of times the state\n(mplsTunnelOperStatus) of this tunnel instance has\nchanged.") mplsTunnelAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 34), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelAdminStatus.setDescription("Indicates the desired operational status of this\ntunnel.") mplsTunnelOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 35), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,7,4,6,3,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3), ("unknown", 4), ("dormant", 5), ("notPresent", 6), ("lowerLayerDown", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelOperStatus.setDescription("Indicates the actual operational status of this\ntunnel, which is typically but not limited to, a\nfunction of the state of individual segments of\nthis tunnel.") mplsTunnelRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 36), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. When a row in this\ntable is in active(1) state, no objects in that row\ncan be modified by the agent except\nmplsTunnelAdminStatus, mplsTunnelRowStatus and\nmplsTunnelStorageType.") mplsTunnelStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 2, 1, 37), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelStorageType.setDescription("The storage type for this tunnel entry.\nConceptual rows having the value 'permanent'\nneed not allow write-access to any columnar\nobjects in the row.") mplsTunnelHopListIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 3), MplsPathIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelHopListIndexNext.setDescription("This object contains an appropriate value to be used\nfor mplsTunnelHopListIndex when creating entries in\nthe mplsTunnelHopTable. If the number of\nunassigned entries is exhausted, a retrieval\n\n\n\noperation will return a value of 0. This object\nmay also return a value of 0 when the LSR is unable\nto accept conceptual row creation, for example, if\nthe mplsTunnelHopTable is implemented as read-only.\nTo obtain the value of mplsTunnelHopListIndex for a\nnew entry in the mplsTunnelHopTable, the manager\nissues a management protocol retrieval operation to\nobtain the current value of mplsTunnelHopIndex.\n\nWhen the SET is performed to create a row in the\nmplsTunnelHopTable, the Command Responder (agent)\nmust determine whether the value is indeed still\nunused; Two Network Management Applications may\nattempt to create a row (configuration entry)\nsimultaneously and use the same value. If it is\ncurrently unused, the SET succeeds and the Command\nResponder (agent) changes the value of this object,\naccording to an implementation-specific algorithm.\nIf the value is in use, however, the SET fails. The\nNetwork Management Application must then re-read\nthis variable to obtain a new usable value.") mplsTunnelHopTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4)) if mibBuilder.loadTexts: mplsTunnelHopTable.setDescription("The mplsTunnelHopTable is used to indicate the hops,\nstrict or loose, for an instance of an MPLS tunnel\ndefined in mplsTunnelTable, when it is established\nvia signalling, for the outgoing direction of the\ntunnel. Thus at a transit LSR, this table contains\nthe desired path of the tunnel from this LSR\nonwards. Each row in this table is indexed by\nmplsTunnelHopListIndex which corresponds to a group\nof hop lists or path options. Each row also has a\nsecondary index mplsTunnelHopIndex, which indicates\na group of hops (also known as a path option).\nFinally, the third index, mplsTunnelHopIndex\nindicates the specific hop information for a path\noption. In case we want to specify a particular\ninterface on the originating LSR of an outgoing\ntunnel by which we want packets to exit the LSR,\nwe specify this as the first hop for this tunnel in\nmplsTunnelHopTable.") mplsTunnelHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelHopListIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelHopPathOptionIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelHopIndex")) if mibBuilder.loadTexts: mplsTunnelHopEntry.setDescription("An entry in this table represents a tunnel hop. An\nentry is created by a network administrator for\nsignaled ERLSP set up by an MPLS signalling\nprotocol.") mplsTunnelHopListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 1), MplsPathIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelHopListIndex.setDescription("Primary index into this table identifying a\nparticular explicit route object.") mplsTunnelHopPathOptionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 2), MplsPathIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelHopPathOptionIndex.setDescription("Secondary index into this table identifying a\nparticular group of hops representing a particular\nconfigured path. This is otherwise known as a path\noption.") mplsTunnelHopIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 3), MplsPathIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelHopIndex.setDescription("Tertiary index into this table identifying a\nparticular hop.") mplsTunnelHopAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 4), TeHopAddressType().clone('ipv4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopAddrType.setDescription("The Hop Address Type of this tunnel hop.\n\nThe value of this object cannot be changed\nif the value of the corresponding\nmplsTunnelHopRowStatus object is 'active'.\n\nNote that lspid(5) is a valid option only\nfor tunnels signaled via CRLDP.") mplsTunnelHopIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 5), TeHopAddress().clone(hexValue='00000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopIpAddr.setDescription("The Tunnel Hop Address for this tunnel hop.\n\nThe type of this address is determined by the\nvalue of the corresponding mplsTunnelHopAddrType.\n\nThe value of this object cannot be changed\nif the value of the corresponding\nmplsTunnelHopRowStatus object is 'active'.") mplsTunnelHopIpPrefixLen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 6), InetAddressPrefixLength().clone('32')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopIpPrefixLen.setDescription("If mplsTunnelHopAddrType is set to ipv4(1) or\nipv6(2), then this value will contain an\nappropriate prefix length for the IP address in\nobject mplsTunnelHopIpAddr. Otherwise this value\nis irrelevant and should be ignored.") mplsTunnelHopAsNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 7), TeHopAddressAS()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopAsNumber.setDescription("If mplsTunnelHopAddrType is set to asnumber(3), then\nthis value will contain the AS number of this hop.\nOtherwise the agent should set this object to zero-\nlength string and the manager should ignore this.") mplsTunnelHopAddrUnnum = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 8), TeHopAddressUnnum()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopAddrUnnum.setDescription("If mplsTunnelHopAddrType is set to unnum(4), then\nthis value will contain the interface identifier of\nthe unnumbered interface for this hop. This object\nshould be used in conjunction with\nmplsTunnelHopIpAddress which would contain the LSR\nRouter ID in this case. Otherwise the agent should\nset this object to zero-length string and the\nmanager should ignore this.") mplsTunnelHopLspId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 9), MplsLSPID()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopLspId.setDescription("If mplsTunnelHopAddrType is set to lspid(5), then\nthis value will contain the LSPID of a tunnel of\nthis hop. The present tunnel being configured is\ntunneled through this hop (using label stacking).\nThis object is otherwise insignificant and should\n\n\n\ncontain a value of 0 to indicate this fact.") mplsTunnelHopType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("strict", 1), ("loose", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopType.setDescription("Denotes whether this tunnel hop is routed in a\nstrict or loose fashion. The value of this object\nhas no meaning if the mplsTunnelHopInclude object\nis set to 'false'.") mplsTunnelHopInclude = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 11), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopInclude.setDescription("If this value is set to true, then this indicates\nthat this hop must be included in the tunnel's\npath. If this value is set to 'false', then this hop\nmust be avoided when calculating the path for this\ntunnel. The default value of this object is 'true',\nso that by default all indicated hops are included\nin the CSPF path computation. If this object is set\nto 'false' the value of mplsTunnelHopType should be\nignored.") mplsTunnelHopPathOptionName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 12), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopPathOptionName.setDescription("The description of this series of hops as they\nrelate to the specified path option. The\nvalue of this object SHOULD be the same for\neach hop in the series that comprises a\npath option.") mplsTunnelHopEntryPathComp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("dynamic", 1), ("explicit", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopEntryPathComp.setDescription("If this value is set to dynamic, then the user\nshould only specify the source and destination of\nthe path and expect that the CSPF will calculate\nthe remainder of the path. If this value is set to\nexplicit, the user should specify the entire path\nfor the tunnel to take. This path may contain\nstrict or loose hops. Each hop along a specific\npath SHOULD have this object set to the same value") mplsTunnelHopRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 14), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. When a row in this\ntable is in active(1) state, no objects in that row\ncan be modified by the agent except\nmplsTunnelHopRowStatus and\nmplsTunnelHopStorageType.") mplsTunnelHopStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 4, 1, 15), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelHopStorageType.setDescription("The storage type for this Hop entry. Conceptual\nrows having the value 'permanent' need not\nallow write-access to any columnar objects\nin the row.") mplsTunnelResourceIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelResourceIndexNext.setDescription("This object contains the next appropriate value to\nbe used for mplsTunnelResourceIndex when creating\nentries in the mplsTunnelResourceTable. If the\nnumber of unassigned entries is exhausted, a\nretrieval operation will return a value of 0. This\nobject may also return a value of 0 when the LSR is\nunable to accept conceptual row creation, for\nexample, if the mplsTunnelTable is implemented as\nread-only. To obtain the mplsTunnelResourceIndex\nvalue for a new entry, the manager must first issue\na management protocol retrieval operation to obtain\nthe current value of this object.\n\nWhen the SET is performed to create a row in the\nmplsTunnelResourceTable, the Command Responder\n(agent) must determine whether the value is indeed\nstill unused; Two Network Management Applications\nmay attempt to create a row (configuration entry)\nsimultaneously and use the same value. If it is\ncurrently unused, the SET succeeds and the Command\nResponder (agent) changes the value of this object,\naccording to an implementation-specific algorithm.\nIf the value is in use, however, the SET fails. The\nNetwork Management Application must then re-read\nthis variable to obtain a new usable value.") mplsTunnelResourceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6)) if mibBuilder.loadTexts: mplsTunnelResourceTable.setDescription("The mplsTunnelResourceTable allows a manager to\nspecify which resources are desired for an MPLS\ntunnel. This table also allows several tunnels to\npoint to a single entry in this table, implying\nthat these tunnels should share resources.") mplsTunnelResourceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelResourceIndex")) if mibBuilder.loadTexts: mplsTunnelResourceEntry.setDescription("An entry in this table represents a set of resources\nfor an MPLS tunnel. An entry can be created by a\n\n\n\nnetwork administrator or by an SNMP agent as\ninstructed by any MPLS signalling protocol.\nAn entry in this table referenced by a tunnel instance\nwith zero mplsTunnelInstance value indicates a\nconfigured set of resource parameter. An entry\nreferenced by a tunnel instance with a non-zero\nmplsTunnelInstance reflects the in-use resource\nparameters for the tunnel instance which may have\nbeen negotiated or modified by the MPLS signaling\nprotocols.") mplsTunnelResourceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelResourceIndex.setDescription("Uniquely identifies this row.") mplsTunnelResourceMaxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 2), MplsBitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMaxRate.setDescription("The maximum rate in bits/second. Note that setting\nmplsTunnelResourceMaxRate,\nmplsTunnelResourceMeanRate, and\nmplsTunnelResourceMaxBurstSize to 0 indicates best-\neffort treatment.") mplsTunnelResourceMeanRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 3), MplsBitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMeanRate.setDescription("This object is copied into an instance of\nmplsTrafficParamMeanRate in the\nmplsTrafficParamTable. The OID of this table entry\nis then copied into the corresponding\nmplsInSegmentTrafficParamPtr.") mplsTunnelResourceMaxBurstSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 4), MplsBurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMaxBurstSize.setDescription("The maximum burst size in bytes.") mplsTunnelResourceMeanBurstSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 5), MplsBurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceMeanBurstSize.setDescription("The mean burst size in bytes. The implementations\nwhich do not implement this variable must return\na noSuchObject exception for this object and must\nnot allow a user to set this object.") mplsTunnelResourceExBurstSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 6), MplsBurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceExBurstSize.setDescription("The Excess burst size in bytes. The implementations\nwhich do not implement this variable must return\nnoSuchObject exception for this object and must\nnot allow a user to set this value.") mplsTunnelResourceFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("unspecified", 1), ("frequent", 2), ("veryFrequent", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceFrequency.setDescription("The granularity of the availability of committed\nrate. The implementations which do not implement\nthis variable must return unspecified(1) for this\nvalue and must not allow a user to set this value.") mplsTunnelResourceWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceWeight.setDescription("The relative weight for using excess bandwidth above\nits committed rate. The value of 0 means that\nweight is not applicable for the CR-LSP.") mplsTunnelResourceRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. When a row in this\ntable is in active(1) state, no objects in that row\ncan be modified by the agent except\nmplsTunnelResourceRowStatus and\nmplsTunnelResourceStorageType.") mplsTunnelResourceStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 6, 1, 10), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelResourceStorageType.setDescription("The storage type for this Hop entry. Conceptual\nrows having the value 'permanent' need not\nallow write-access to any columnar objects\n\n\n\nin the row.") mplsTunnelARHopTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7)) if mibBuilder.loadTexts: mplsTunnelARHopTable.setDescription("The mplsTunnelARHopTable is used to indicate the\nhops for an MPLS tunnel defined in mplsTunnelTable,\nas reported by the MPLS signalling protocol. Thus at\na transit LSR, this table (if the table is supported\nand if the signaling protocol is recording actual\nroute information) contains the actual route of the\nwhole tunnel. If the signaling protocol is not\nrecording the actual route, this table MAY report\nthe information from the mplsTunnelHopTable or the\nmplsTunnelCHopTable.\n\nEach row in this table is indexed by\nmplsTunnelARHopListIndex. Each row also has a\nsecondary index mplsTunnelARHopIndex, corresponding\nto the next hop that this row corresponds to.\n\nPlease note that since the information necessary to\nbuild entries within this table is not provided by\nsome MPLS signalling protocols, implementation of\nthis table is optional. Furthermore, since the\ninformation in this table is actually provided by\nthe MPLS signalling protocol after the path has\nbeen set-up, the entries in this table are provided\nonly for observation, and hence, all variables in\nthis table are accessible exclusively as read-\nonly.\n\nNote also that the contents of this table may change\nwhile it is being read because of re-routing\nactivities. A network administrator may verify that\nthe actual route read is consistent by reference to\nthe mplsTunnelLastPathChange object.") mplsTunnelARHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelARHopListIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelARHopIndex")) if mibBuilder.loadTexts: mplsTunnelARHopEntry.setDescription("An entry in this table represents a tunnel hop. An\nentry is created by the agent for signaled ERLSP\nset up by an MPLS signalling protocol.") mplsTunnelARHopListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7, 1, 1), MplsPathIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelARHopListIndex.setDescription("Primary index into this table identifying a\nparticular recorded hop list.") mplsTunnelARHopIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7, 1, 2), MplsPathIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelARHopIndex.setDescription("Secondary index into this table identifying the\nparticular hop.") mplsTunnelARHopAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7, 1, 3), TeHopAddressType().clone('ipv4')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopAddrType.setDescription("The Hop Address Type of this tunnel hop.\n\nNote that lspid(5) is a valid option only\nfor tunnels signaled via CRLDP.") mplsTunnelARHopIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7, 1, 4), TeHopAddress().clone(hexValue='00000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopIpAddr.setDescription("The Tunnel Hop Address for this tunnel hop.\n\nThe type of this address is determined by the\nvalue of the corresponding mplsTunnelARHopAddrType.\nIf mplsTunnelARHopAddrType is set to unnum(4),\n then this value contains the LSR Router ID of the\n unnumbered interface. Otherwise the agent SHOULD\n set this object to the zero-length string and the\n manager should ignore this object.") mplsTunnelARHopAddrUnnum = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7, 1, 5), TeHopAddressUnnum()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopAddrUnnum.setDescription("If mplsTunnelARHopAddrType is set to unnum(4), then\nthis value will contain the interface identifier of\nthe unnumbered interface for this hop. This object\nshould be used in conjunction with\nmplsTunnelARHopIpAddr which would contain the LSR\nRouter ID in this case. Otherwise the agent should\nset this object to zero-length string and the\nmanager should ignore this.") mplsTunnelARHopLspId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 7, 1, 6), MplsLSPID()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelARHopLspId.setDescription("If mplsTunnelARHopAddrType is set to lspid(5), then\nthis value will contain the LSP ID of this hop.\nThis object is otherwise insignificant and should\ncontain a value of 0 to indicate this fact.") mplsTunnelCHopTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8)) if mibBuilder.loadTexts: mplsTunnelCHopTable.setDescription("The mplsTunnelCHopTable is used to indicate the\nhops, strict or loose, for an MPLS tunnel defined\nin mplsTunnelTable, as computed by a constraint-\nbased routing protocol, based on the\nmplsTunnelHopTable for the outgoing direction of\nthe tunnel. Thus at a transit LSR, this table (if\nthe table is supported) MAY contain the path\ncomputed by the CSPF engine on (or on behalf of)\nthis LSR. Each row in this table is indexed by\nmplsTunnelCHopListIndex. Each row also has a\nsecondary index mplsTunnelCHopIndex, corresponding\nto the next hop that this row corresponds to. In\ncase we want to specify a particular interface on\nthe originating LSR of an outgoing tunnel by which\nwe want packets to exit the LSR, we specify this as\nthe first hop for this tunnel in\nmplsTunnelCHopTable.\n\nPlease note that since the information necessary to\nbuild entries within this table may not be\nsupported by some LSRs, implementation of this\ntable is optional. Furthermore, since the\ninformation in this table describes the path\ncomputed by the CSPF engine the entries in this\ntable are read-only.") mplsTunnelCHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelCHopListIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelCHopIndex")) if mibBuilder.loadTexts: mplsTunnelCHopEntry.setDescription("An entry in this table represents a tunnel hop. An\nentry in this table is created by a path\ncomputation engine using CSPF techniques applied to\nthe information collected by routing protocols and\nthe hops specified in the corresponding\nmplsTunnelHopTable.") mplsTunnelCHopListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 1), MplsPathIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelCHopListIndex.setDescription("Primary index into this table identifying a\nparticular computed hop list.") mplsTunnelCHopIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 2), MplsPathIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: mplsTunnelCHopIndex.setDescription("Secondary index into this table identifying the\nparticular hop.") mplsTunnelCHopAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 3), TeHopAddressType().clone('ipv4')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopAddrType.setDescription("The Hop Address Type of this tunnel hop.\n\nNote that lspid(5) is a valid option only\nfor tunnels signaled via CRLDP.") mplsTunnelCHopIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 4), TeHopAddress().clone(hexValue='00000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopIpAddr.setDescription("The Tunnel Hop Address for this tunnel hop.\n\n\n\n\nThe type of this address is determined by the\n value of the corresponding mplsTunnelCHopAddrType.\n\nIf mplsTunnelCHopAddrType is set to unnum(4), then\n this value will contain the LSR Router ID of the\n unnumbered interface. Otherwise the agent should\n set this object to the zero-length string and the\n manager SHOULD ignore this object.") mplsTunnelCHopIpPrefixLen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 5), InetAddressPrefixLength().clone('32')).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopIpPrefixLen.setDescription("If mplsTunnelCHopAddrType is set to ipv4(1) or\nipv6(2), then this value will contain an\nappropriate prefix length for the IP address in\nobject mplsTunnelCHopIpAddr. Otherwise this value\nis irrelevant and should be ignored.") mplsTunnelCHopAsNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 6), TeHopAddressAS()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopAsNumber.setDescription("If mplsTunnelCHopAddrType is set to asnumber(3),\nthen this value will contain the AS number of this\nhop. Otherwise the agent should set this object to\nzero-length string and the manager should ignore\nthis.") mplsTunnelCHopAddrUnnum = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 7), TeHopAddressUnnum()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopAddrUnnum.setDescription("If mplsTunnelCHopAddrType is set to unnum(4), then\nthis value will contain the unnumbered interface\nidentifier of this hop. This object should be used\nin conjunction with mplsTunnelCHopIpAddr which\nwould contain the LSR Router ID in this case.\n\n\n\nOtherwise the agent should set this object to zero-\nlength string and the manager should ignore this.") mplsTunnelCHopLspId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 8), MplsLSPID()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopLspId.setDescription("If mplsTunnelCHopAddrType is set to lspid(5), then\nthis value will contain the LSP ID of this hop.\nThis object is otherwise insignificant and should\ncontain a value of 0 to indicate this fact.") mplsTunnelCHopType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 8, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("strict", 1), ("loose", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelCHopType.setDescription("Denotes whether this is tunnel hop is routed in a\nstrict or loose fashion.") mplsTunnelPerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 9)) if mibBuilder.loadTexts: mplsTunnelPerfTable.setDescription("This table provides per-tunnel instance MPLS\nperformance information.") mplsTunnelPerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 9, 1)) if mibBuilder.loadTexts: mplsTunnelPerfEntry.setDescription("An entry in this table is created by the LSR for\nevery tunnel. Its is an extension to\nmplsTunnelEntry.") mplsTunnelPerfPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 9, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfPackets.setDescription("Number of packets forwarded by the tunnel.\nThis object should represents the 32-bit\nvalue of the least significant part of the\n64-bit value if both mplsTunnelPerfHCPackets\nis returned.") mplsTunnelPerfHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 9, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfHCPackets.setDescription("High capacity counter for number of packets\nforwarded by the tunnel. ") mplsTunnelPerfErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 9, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfErrors.setDescription("Number of packets dropped because of errors or for\nother reasons.") mplsTunnelPerfBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 9, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfBytes.setDescription("Number of bytes forwarded by the tunnel.\nThis object should represents the 32-bit\n\n\n\nvalue of the least significant part of the\n64-bit value if both mplsTunnelPerfHCBytes\nis returned.") mplsTunnelPerfHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 9, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: mplsTunnelPerfHCBytes.setDescription("High capacity counter for number of bytes forwarded\nby the tunnel.") mplsTunnelCRLDPResTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10)) if mibBuilder.loadTexts: mplsTunnelCRLDPResTable.setDescription("The mplsTunnelCRLDPResTable allows a manager to\nspecify which CR-LDP-specific resources are desired\nfor an MPLS tunnel if that tunnel is signaled using\nCR-LDP. Note that these attributes are in addition\nto those specified in mplsTunnelResourceTable. This\ntable also allows several tunnels to point to a\nsingle entry in this table, implying that these\ntunnels should share resources.") mplsTunnelCRLDPResEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelResourceIndex")) if mibBuilder.loadTexts: mplsTunnelCRLDPResEntry.setDescription("An entry in this table represents a set of resources\nfor an MPLS tunnel established using CRLDP\n(mplsTunnelSignallingProto equal to crldp (3)). An\nentry can be created by a network administrator or\nby an SNMP agent as instructed by any MPLS\nsignalling protocol.") mplsTunnelCRLDPResMeanBurstSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1, 1), MplsBurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResMeanBurstSize.setDescription("The mean burst size in bytes.") mplsTunnelCRLDPResExBurstSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1, 2), MplsBurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResExBurstSize.setDescription("The Excess burst size in bytes.") mplsTunnelCRLDPResFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("unspecified", 1), ("frequent", 2), ("veryFrequent", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResFrequency.setDescription("The granularity of the availability of committed\nrate.") mplsTunnelCRLDPResWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResWeight.setDescription("The relative weight for using excess bandwidth above\nits committed rate. The value of 0 means that\nweight is not applicable for the CR-LSP.") mplsTunnelCRLDPResFlags = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 63)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResFlags.setDescription("The value of the 1 byte Flags conveyed as part of\nthe traffic parameters during the establishment of\nthe CRLSP. The bits in this object are to be\ninterpreted as follows.\n\n+--+--+--+--+--+--+--+--+\n| Res |F6|F5|F4|F3|F2|F1|\n+--+--+--+--+--+--+--+--+\n\nRes - These bits are reserved. Zero on transmission.\nIgnored on receipt.\nF1 - Corresponds to the PDR.\nF2 - Corresponds to the PBS.\nF3 - Corresponds to the CDR.\nF4 - Corresponds to the CBS.\nF5 - Corresponds to the EBS.\nF6 - Corresponds to the Weight.\n\nEach flag if is a Negotiable Flag corresponding to a\nTraffic Parameter. The Negotiable Flag value zero\ndenotes Not Negotiable and value one denotes\nNegotiable.") mplsTunnelCRLDPResRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. When a row in this\ntable is in active(1) state, no objects in that row\ncan be modified by the agent except\nmplsTunnelCRLDPResRowStatus and\nmplsTunnelCRLDPResStorageType.") mplsTunnelCRLDPResStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 10, 1, 7), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mplsTunnelCRLDPResStorageType.setDescription("The storage type for this CR-LDP Resource entry.\nConceptual rows having the value 'permanent'\nneed not allow write-access to any columnar\nobjects in the row.") mplsTunnelNotificationEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 3, 2, 11), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mplsTunnelNotificationEnable.setDescription("If this object is true, then it enables the\ngeneration of mplsTunnelUp and mplsTunnelDown\ntraps, otherwise these traps are not emitted.") mplsTeConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 3, 3)) mplsTeGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1)) mplsTeCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 2)) # Augmentions mplsTunnelEntry.registerAugmentions(("MPLS-TE-STD-MIB", "mplsTunnelPerfEntry")) mplsTunnelPerfEntry.setIndexNames(*mplsTunnelEntry.getIndexNames()) # Notifications mplsTunnelUp = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 3, 0, 1)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelOperStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelAdminStatus"), ) ) if mibBuilder.loadTexts: mplsTunnelUp.setDescription("This notification is generated when a\nmplsTunnelOperStatus object for one of the\nconfigured tunnels is about to leave the down state\nand transition into some other state (but not into\nthe notPresent state). This other state is\nindicated by the included value of\nmplsTunnelOperStatus.") mplsTunnelDown = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 3, 0, 2)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelOperStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelAdminStatus"), ) ) if mibBuilder.loadTexts: mplsTunnelDown.setDescription("This notification is generated when a\nmplsTunnelOperStatus object for one of the\nconfigured tunnels is about to enter the down state\nfrom some other state (but not from the notPresent\nstate). This other state is indicated by the\nincluded value of mplsTunnelOperStatus.") mplsTunnelRerouted = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 3, 0, 3)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelOperStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelAdminStatus"), ) ) if mibBuilder.loadTexts: mplsTunnelRerouted.setDescription("This notification is generated when a tunnel is\nrerouted. If the mplsTunnelARHopTable is used, then\nthis tunnel instance's entry in the\nmplsTunnelARHopTable MAY contain the new path for\nthis tunnel some time after this trap is issued by\nthe agent.") mplsTunnelReoptimized = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 3, 0, 4)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelOperStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelAdminStatus"), ) ) if mibBuilder.loadTexts: mplsTunnelReoptimized.setDescription("This notification is generated when a tunnel is\nreoptimized. If the mplsTunnelARHopTable is used,\nthen this tunnel instance's entry in the\nmplsTunnelARHopTable MAY contain the new path for\nthis tunnel some time after this trap is issued by\nthe agent.") # Groups mplsTunnelGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 1)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelPerfHCBytes"), ("MPLS-TE-STD-MIB", "mplsTunnelInstancePriority"), ("MPLS-TE-STD-MIB", "mplsTunnelARHopTableIndex"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceMaxBurstSize"), ("MPLS-TE-STD-MIB", "mplsTunnelName"), ("MPLS-TE-STD-MIB", "mplsTunnelARHopLspId"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceMeanRate"), ("MPLS-TE-STD-MIB", "mplsTunnelRole"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceExBurstSize"), ("MPLS-TE-STD-MIB", "mplsTunnelPerfPackets"), ("MPLS-TE-STD-MIB", "mplsTunnelActive"), ("MPLS-TE-STD-MIB", "mplsTunnelNotificationEnable"), ("MPLS-TE-STD-MIB", "mplsTunnelStateTransitions"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceFrequency"), ("MPLS-TE-STD-MIB", "mplsTunnelStorageType"), ("MPLS-TE-STD-MIB", "mplsTunnelIncludeAllAffinity"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopIpPrefixLen"), ("MPLS-TE-STD-MIB", "mplsTunnelInstanceUpTime"), ("MPLS-TE-STD-MIB", "mplsTunnelARHopAddrUnnum"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopType"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopTableIndex"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopIpAddr"), ("MPLS-TE-STD-MIB", "mplsTunnelPerfBytes"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceStorageType"), ("MPLS-TE-STD-MIB", "mplsTunnelResourcePointer"), ("MPLS-TE-STD-MIB", "mplsTunnelIfIndex"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopAddrUnnum"), ("MPLS-TE-STD-MIB", "mplsTunnelPrimaryInstance"), ("MPLS-TE-STD-MIB", "mplsTunnelIncludeAnyAffinity"), ("MPLS-TE-STD-MIB", "mplsTunnelPrimaryUpTime"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceIndexNext"), ("MPLS-TE-STD-MIB", "mplsTunnelOwner"), ("MPLS-TE-STD-MIB", "mplsTunnelRowStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceMaxRate"), ("MPLS-TE-STD-MIB", "mplsTunnelHopTableIndex"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopAsNumber"), ("MPLS-TE-STD-MIB", "mplsTunnelOperStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelTotalUpTime"), ("MPLS-TE-STD-MIB", "mplsTunnelLastPathChange"), ("MPLS-TE-STD-MIB", "mplsTunnelCreationTime"), ("MPLS-TE-STD-MIB", "mplsTunnelDescr"), ("MPLS-TE-STD-MIB", "mplsTunnelARHopIpAddr"), ("MPLS-TE-STD-MIB", "mplsTunnelPathInUse"), ("MPLS-TE-STD-MIB", "mplsTunnelPerfErrors"), ("MPLS-TE-STD-MIB", "mplsTunnelPathChanges"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceMeanBurstSize"), ("MPLS-TE-STD-MIB", "mplsTunnelPerfHCPackets"), ("MPLS-TE-STD-MIB", "mplsTunnelConfigured"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopLspId"), ("MPLS-TE-STD-MIB", "mplsTunnelCHopAddrType"), ("MPLS-TE-STD-MIB", "mplsTunnelARHopAddrType"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceRowStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelAdminStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelResourceWeight"), ("MPLS-TE-STD-MIB", "mplsTunnelIndexNext"), ("MPLS-TE-STD-MIB", "mplsTunnelXCPointer"), ("MPLS-TE-STD-MIB", "mplsTunnelExcludeAnyAffinity"), ) ) if mibBuilder.loadTexts: mplsTunnelGroup.setDescription("Necessary, but not sufficient, set of objects to\nimplement tunnels. In addition, depending on the\ntype of the tunnels supported (for example,\nmanually configured or signaled, persistent or non-\npersistent, etc.), the following other groups\ndefined below are mandatory: mplsTunnelManualGroup\nand/or mplsTunnelSignaledGroup,\nmplsTunnelIsNotIntfcGroup and/or\nmplsTunnelIsIntfcGroup.") mplsTunnelManualGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 2)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelSignallingProto"), ) ) if mibBuilder.loadTexts: mplsTunnelManualGroup.setDescription("Object(s) needed to implement manually configured\ntunnels.") mplsTunnelSignaledGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 3)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelLocalProtectInUse"), ("MPLS-TE-STD-MIB", "mplsTunnelHopPathOptionName"), ("MPLS-TE-STD-MIB", "mplsTunnelHoldingPrio"), ("MPLS-TE-STD-MIB", "mplsTunnelHopIpPrefixLen"), ("MPLS-TE-STD-MIB", "mplsTunnelHopType"), ("MPLS-TE-STD-MIB", "mplsTunnelHopAddrUnnum"), ("MPLS-TE-STD-MIB", "mplsTunnelHopListIndexNext"), ("MPLS-TE-STD-MIB", "mplsTunnelSignallingProto"), ("MPLS-TE-STD-MIB", "mplsTunnelHopStorageType"), ("MPLS-TE-STD-MIB", "mplsTunnelHopRowStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelSetupPrio"), ("MPLS-TE-STD-MIB", "mplsTunnelHopAsNumber"), ("MPLS-TE-STD-MIB", "mplsTunnelHopIpAddr"), ("MPLS-TE-STD-MIB", "mplsTunnelHopAddrType"), ("MPLS-TE-STD-MIB", "mplsTunnelSessionAttributes"), ("MPLS-TE-STD-MIB", "mplsTunnelHopLspId"), ("MPLS-TE-STD-MIB", "mplsTunnelHopInclude"), ("MPLS-TE-STD-MIB", "mplsTunnelHopEntryPathComp"), ) ) if mibBuilder.loadTexts: mplsTunnelSignaledGroup.setDescription("Objects needed to implement signaled tunnels.") mplsTunnelScalarGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 4)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelNotificationMaxRate"), ("MPLS-TE-STD-MIB", "mplsTunnelMaxHops"), ("MPLS-TE-STD-MIB", "mplsTunnelConfigured"), ("MPLS-TE-STD-MIB", "mplsTunnelActive"), ("MPLS-TE-STD-MIB", "mplsTunnelTEDistProto"), ) ) if mibBuilder.loadTexts: mplsTunnelScalarGroup.setDescription("Scalar object needed to implement MPLS tunnels.") mplsTunnelIsIntfcGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 5)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelIsIf"), ) ) if mibBuilder.loadTexts: mplsTunnelIsIntfcGroup.setDescription("Objects needed to implement tunnels that are\ninterfaces.") mplsTunnelIsNotIntfcGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 6)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelIsIf"), ) ) if mibBuilder.loadTexts: mplsTunnelIsNotIntfcGroup.setDescription("Objects needed to implement tunnels that are not\ninterfaces.") mplsTunnelCRLDPResOptionalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 7)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResFrequency"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResMeanBurstSize"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResStorageType"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResFlags"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResRowStatus"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResExBurstSize"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResWeight"), ) ) if mibBuilder.loadTexts: mplsTunnelCRLDPResOptionalGroup.setDescription("Set of objects implemented for resources applicable\nfor tunnels signaled using CR-LDP.") mplsTeNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 1, 8)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelDown"), ("MPLS-TE-STD-MIB", "mplsTunnelUp"), ("MPLS-TE-STD-MIB", "mplsTunnelRerouted"), ("MPLS-TE-STD-MIB", "mplsTunnelReoptimized"), ) ) if mibBuilder.loadTexts: mplsTeNotificationGroup.setDescription("Set of notifications implemented in this module.\nNone is mandatory.") # Compliances mplsTeModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 2, 1)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelManualGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelScalarGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelIsNotIntfcGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelIsIntfcGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelSignaledGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResOptionalGroup"), ("MPLS-TE-STD-MIB", "mplsTeNotificationGroup"), ("IF-MIB", "ifCounterDiscontinuityGroup"), ) ) if mibBuilder.loadTexts: mplsTeModuleFullCompliance.setDescription("Compliance statement for agents that provide full\nsupport the MPLS-TE-STD-MIB module.") mplsTeModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 3, 3, 2, 2)).setObjects(*(("MPLS-TE-STD-MIB", "mplsTunnelManualGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelScalarGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelIsNotIntfcGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelIsIntfcGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelSignaledGroup"), ("MPLS-TE-STD-MIB", "mplsTeNotificationGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelCRLDPResOptionalGroup"), ) ) if mibBuilder.loadTexts: mplsTeModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only\nprovide read-only support for MPLS-TE-STD-MIB.\nSuch devices can then be monitored but cannot be\nconfigured using this MIB modules.") # Exports # Module identity mibBuilder.exportSymbols("MPLS-TE-STD-MIB", PYSNMP_MODULE_ID=mplsTeStdMIB) # Objects mibBuilder.exportSymbols("MPLS-TE-STD-MIB", mplsTeStdMIB=mplsTeStdMIB, mplsTeNotifications=mplsTeNotifications, mplsTeScalars=mplsTeScalars, mplsTunnelConfigured=mplsTunnelConfigured, mplsTunnelActive=mplsTunnelActive, mplsTunnelTEDistProto=mplsTunnelTEDistProto, mplsTunnelMaxHops=mplsTunnelMaxHops, mplsTunnelNotificationMaxRate=mplsTunnelNotificationMaxRate, mplsTeObjects=mplsTeObjects, mplsTunnelIndexNext=mplsTunnelIndexNext, mplsTunnelTable=mplsTunnelTable, mplsTunnelEntry=mplsTunnelEntry, mplsTunnelIndex=mplsTunnelIndex, mplsTunnelInstance=mplsTunnelInstance, mplsTunnelIngressLSRId=mplsTunnelIngressLSRId, mplsTunnelEgressLSRId=mplsTunnelEgressLSRId, mplsTunnelName=mplsTunnelName, mplsTunnelDescr=mplsTunnelDescr, mplsTunnelIsIf=mplsTunnelIsIf, mplsTunnelIfIndex=mplsTunnelIfIndex, mplsTunnelOwner=mplsTunnelOwner, mplsTunnelRole=mplsTunnelRole, mplsTunnelXCPointer=mplsTunnelXCPointer, mplsTunnelSignallingProto=mplsTunnelSignallingProto, mplsTunnelSetupPrio=mplsTunnelSetupPrio, mplsTunnelHoldingPrio=mplsTunnelHoldingPrio, mplsTunnelSessionAttributes=mplsTunnelSessionAttributes, mplsTunnelLocalProtectInUse=mplsTunnelLocalProtectInUse, mplsTunnelResourcePointer=mplsTunnelResourcePointer, mplsTunnelPrimaryInstance=mplsTunnelPrimaryInstance, mplsTunnelInstancePriority=mplsTunnelInstancePriority, mplsTunnelHopTableIndex=mplsTunnelHopTableIndex, mplsTunnelPathInUse=mplsTunnelPathInUse, mplsTunnelARHopTableIndex=mplsTunnelARHopTableIndex, mplsTunnelCHopTableIndex=mplsTunnelCHopTableIndex, mplsTunnelIncludeAnyAffinity=mplsTunnelIncludeAnyAffinity, mplsTunnelIncludeAllAffinity=mplsTunnelIncludeAllAffinity, mplsTunnelExcludeAnyAffinity=mplsTunnelExcludeAnyAffinity, mplsTunnelTotalUpTime=mplsTunnelTotalUpTime, mplsTunnelInstanceUpTime=mplsTunnelInstanceUpTime, mplsTunnelPrimaryUpTime=mplsTunnelPrimaryUpTime, mplsTunnelPathChanges=mplsTunnelPathChanges, mplsTunnelLastPathChange=mplsTunnelLastPathChange, mplsTunnelCreationTime=mplsTunnelCreationTime, mplsTunnelStateTransitions=mplsTunnelStateTransitions, mplsTunnelAdminStatus=mplsTunnelAdminStatus, mplsTunnelOperStatus=mplsTunnelOperStatus, mplsTunnelRowStatus=mplsTunnelRowStatus, mplsTunnelStorageType=mplsTunnelStorageType, mplsTunnelHopListIndexNext=mplsTunnelHopListIndexNext, mplsTunnelHopTable=mplsTunnelHopTable, mplsTunnelHopEntry=mplsTunnelHopEntry, mplsTunnelHopListIndex=mplsTunnelHopListIndex, mplsTunnelHopPathOptionIndex=mplsTunnelHopPathOptionIndex, mplsTunnelHopIndex=mplsTunnelHopIndex, mplsTunnelHopAddrType=mplsTunnelHopAddrType, mplsTunnelHopIpAddr=mplsTunnelHopIpAddr, mplsTunnelHopIpPrefixLen=mplsTunnelHopIpPrefixLen, mplsTunnelHopAsNumber=mplsTunnelHopAsNumber, mplsTunnelHopAddrUnnum=mplsTunnelHopAddrUnnum, mplsTunnelHopLspId=mplsTunnelHopLspId, mplsTunnelHopType=mplsTunnelHopType, mplsTunnelHopInclude=mplsTunnelHopInclude, mplsTunnelHopPathOptionName=mplsTunnelHopPathOptionName, mplsTunnelHopEntryPathComp=mplsTunnelHopEntryPathComp, mplsTunnelHopRowStatus=mplsTunnelHopRowStatus, mplsTunnelHopStorageType=mplsTunnelHopStorageType, mplsTunnelResourceIndexNext=mplsTunnelResourceIndexNext, mplsTunnelResourceTable=mplsTunnelResourceTable, mplsTunnelResourceEntry=mplsTunnelResourceEntry, mplsTunnelResourceIndex=mplsTunnelResourceIndex, mplsTunnelResourceMaxRate=mplsTunnelResourceMaxRate, mplsTunnelResourceMeanRate=mplsTunnelResourceMeanRate, mplsTunnelResourceMaxBurstSize=mplsTunnelResourceMaxBurstSize, mplsTunnelResourceMeanBurstSize=mplsTunnelResourceMeanBurstSize, mplsTunnelResourceExBurstSize=mplsTunnelResourceExBurstSize, mplsTunnelResourceFrequency=mplsTunnelResourceFrequency, mplsTunnelResourceWeight=mplsTunnelResourceWeight, mplsTunnelResourceRowStatus=mplsTunnelResourceRowStatus, mplsTunnelResourceStorageType=mplsTunnelResourceStorageType, mplsTunnelARHopTable=mplsTunnelARHopTable, mplsTunnelARHopEntry=mplsTunnelARHopEntry, mplsTunnelARHopListIndex=mplsTunnelARHopListIndex, mplsTunnelARHopIndex=mplsTunnelARHopIndex, mplsTunnelARHopAddrType=mplsTunnelARHopAddrType, mplsTunnelARHopIpAddr=mplsTunnelARHopIpAddr, mplsTunnelARHopAddrUnnum=mplsTunnelARHopAddrUnnum, mplsTunnelARHopLspId=mplsTunnelARHopLspId, mplsTunnelCHopTable=mplsTunnelCHopTable, mplsTunnelCHopEntry=mplsTunnelCHopEntry, mplsTunnelCHopListIndex=mplsTunnelCHopListIndex, mplsTunnelCHopIndex=mplsTunnelCHopIndex, mplsTunnelCHopAddrType=mplsTunnelCHopAddrType, mplsTunnelCHopIpAddr=mplsTunnelCHopIpAddr, mplsTunnelCHopIpPrefixLen=mplsTunnelCHopIpPrefixLen, mplsTunnelCHopAsNumber=mplsTunnelCHopAsNumber, mplsTunnelCHopAddrUnnum=mplsTunnelCHopAddrUnnum, mplsTunnelCHopLspId=mplsTunnelCHopLspId, mplsTunnelCHopType=mplsTunnelCHopType, mplsTunnelPerfTable=mplsTunnelPerfTable, mplsTunnelPerfEntry=mplsTunnelPerfEntry, mplsTunnelPerfPackets=mplsTunnelPerfPackets, mplsTunnelPerfHCPackets=mplsTunnelPerfHCPackets, mplsTunnelPerfErrors=mplsTunnelPerfErrors, mplsTunnelPerfBytes=mplsTunnelPerfBytes, mplsTunnelPerfHCBytes=mplsTunnelPerfHCBytes, mplsTunnelCRLDPResTable=mplsTunnelCRLDPResTable, mplsTunnelCRLDPResEntry=mplsTunnelCRLDPResEntry, mplsTunnelCRLDPResMeanBurstSize=mplsTunnelCRLDPResMeanBurstSize, mplsTunnelCRLDPResExBurstSize=mplsTunnelCRLDPResExBurstSize, mplsTunnelCRLDPResFrequency=mplsTunnelCRLDPResFrequency, mplsTunnelCRLDPResWeight=mplsTunnelCRLDPResWeight, mplsTunnelCRLDPResFlags=mplsTunnelCRLDPResFlags, mplsTunnelCRLDPResRowStatus=mplsTunnelCRLDPResRowStatus, mplsTunnelCRLDPResStorageType=mplsTunnelCRLDPResStorageType, mplsTunnelNotificationEnable=mplsTunnelNotificationEnable, mplsTeConformance=mplsTeConformance, mplsTeGroups=mplsTeGroups, mplsTeCompliances=mplsTeCompliances) # Notifications mibBuilder.exportSymbols("MPLS-TE-STD-MIB", mplsTunnelUp=mplsTunnelUp, mplsTunnelDown=mplsTunnelDown, mplsTunnelRerouted=mplsTunnelRerouted, mplsTunnelReoptimized=mplsTunnelReoptimized) # Groups mibBuilder.exportSymbols("MPLS-TE-STD-MIB", mplsTunnelGroup=mplsTunnelGroup, mplsTunnelManualGroup=mplsTunnelManualGroup, mplsTunnelSignaledGroup=mplsTunnelSignaledGroup, mplsTunnelScalarGroup=mplsTunnelScalarGroup, mplsTunnelIsIntfcGroup=mplsTunnelIsIntfcGroup, mplsTunnelIsNotIntfcGroup=mplsTunnelIsNotIntfcGroup, mplsTunnelCRLDPResOptionalGroup=mplsTunnelCRLDPResOptionalGroup, mplsTeNotificationGroup=mplsTeNotificationGroup) # Compliances mibBuilder.exportSymbols("MPLS-TE-STD-MIB", mplsTeModuleFullCompliance=mplsTeModuleFullCompliance, mplsTeModuleReadOnlyCompliance=mplsTeModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ROHC-MIB.py0000644000014400001440000011132211736645137020171 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ROHC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:34 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, TextualConvention, TimeInterval, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TextualConvention", "TimeInterval", "TruthValue") # Types class RohcChannelIdentifier(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(1,4294967295) class RohcChannelIdentifierOrZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,4294967295) class RohcCompressionRatio(TextualConvention, Unsigned32): displayHint = "d" # Objects rohcMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 112)).setRevisions(("2004-06-03 00:00",)) if mibBuilder.loadTexts: rohcMIB.setOrganization("IETF Robust Header Compression Working Group") if mibBuilder.loadTexts: rohcMIB.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/rohc-charter.html\n\nMailing Lists:\nGeneral Discussion: rohc@ietf.org\nTo Subscribe: rohc-request@ietf.org\nIn Body: subscribe your_email_address\n\nEditor:\nJuergen Quittek\nNEC Europe Ltd.\nNetwork Laboratories\nKurfuersten-Anlage 36\n\n\n\n69221 Heidelberg\nGermany\nTel: +49 6221 90511-15\nEMail: quittek@netlab.nec.de") if mibBuilder.loadTexts: rohcMIB.setDescription("This MIB module defines a set of basic objects for\nmonitoring and configuring robust header compression.\nThe module covers information about running instances\nof ROHC (compressors or decompressors) at IP interfaces.\n\nInformation about compressor contexts and decompressor\ncontexts has different structure for different profiles.\nTherefore it is not provided by this MIB module, but by\nindividual modules for different profiles.\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3816. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html") rohcObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 112, 1)) rohcInstanceObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 112, 1, 1)) rohcChannelTable = MibTable((1, 3, 6, 1, 2, 1, 112, 1, 1, 1)) if mibBuilder.loadTexts: rohcChannelTable.setDescription("This table lists and describes all ROHC channels\nper interface.") rohcChannelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 112, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ROHC-MIB", "rohcChannelID")) if mibBuilder.loadTexts: rohcChannelEntry.setDescription("An entry describing a particular script. Every script that\nis stored in non-volatile memory is required to appear in\n\n\n\nthis script table.\n\nNote, that the rohcChannelID identifies the channel\nuniquely. The ifIndex is part of the index of this table\njust in order to allow addressing channels per interface.") rohcChannelID = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 1, 1, 2), RohcChannelIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: rohcChannelID.setDescription("The locally arbitrary, but unique identifier associated\nwith this channel. The value is REQUIRED to be unique\nper ROHC MIB implementation independent of the associated\ninterface.\n\nThe value is REQUIRED to remain constant at least from one\nre-initialization of the entity's network management system\nto the next re-initialization. It is RECOMMENDED that the\nvalue persist across such re-initializations.") rohcChannelType = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("notInUse", 1), ("rohc", 2), ("dedicatedFeedback", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcChannelType.setDescription("Type of usage of the channel. A channel might be currently\nnot in use for ROHC or feedback, it might be in use as\na ROHC channel carrying packets and optional piggy-backed\nfeedback, or it might be used as a dedicated feedback\nchannel exclusively carrying feedback.") rohcChannelFeedbackFor = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 1, 1, 4), RohcChannelIdentifierOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcChannelFeedbackFor.setDescription("The index of another channel of this interface for which\nthe channel serves as feedback channel.\n\nIf no feedback information is transferred on this channel,\nthen the value of this ID is 0. If the channel type is set\nto notInUse(1), then the value of this object must be 0.\nIf the channel type is rohc(2) and the value of this object\nis a valid channel ID, then feedback information is\npiggy-backed on the ROHC channel. If the channel type is\ndedicatedFeedback(3), then feedback is transferred on this\nchannel and the value of this object MUST be different from\n0 and MUST identify an existing ROHC channel.") rohcChannelDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcChannelDescr.setDescription("A textual description of the channel.") rohcChannelStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcChannelStatus.setDescription("Status of the channel.") rohcInstanceTable = MibTable((1, 3, 6, 1, 2, 1, 112, 1, 1, 2)) if mibBuilder.loadTexts: rohcInstanceTable.setDescription("This table lists properties of running instances\nof robust header compressors and decompressors\nat IP interfaces. It is indexed by interface number,\nthe type of instance (compressor or decompressor),\nand the ID of the channel used by the instance as\nROHC channel.\n\nNote that the rohcChannelID uniquely identifies an\ninstance. The ifIndex and rohcInstanceType are part\nof the index, because it simplifies accessing instances\nper interface and for addressing either compressors or\ndecompressors only.") rohcInstanceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ROHC-MIB", "rohcInstanceType"), (0, "ROHC-MIB", "rohcChannelID")) if mibBuilder.loadTexts: rohcInstanceEntry.setDescription("An entry describing a particular instance\nof a robust header compressor or decompressor.") rohcInstanceType = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("compressor", 1), ("decompressor", 2), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rohcInstanceType.setDescription("Type of the instance of ROHC. It is either a\ncompressor instance or a decompressor instance.") rohcInstanceFBChannelID = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 4), RohcChannelIdentifierOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceFBChannelID.setDescription("Identifier of the channel used for feedback.\nIf no feedback channel is used, the value of\nthis object is 0 .") rohcInstanceVendor = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 5), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceVendor.setDescription("An object identifier that identifies the vendor who\nprovides the implementation of robust header description.\nThis object identifier SHALL point to the object identifier\ndirectly below the enterprise object identifier\n{1 3 6 1 4 1} allocated for the vendor. The value must be\nthe object identifier {0 0} if the vendor is not known.") rohcInstanceVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceVersion.setDescription("The version number of the implementation of robust header\ncompression. The zero-length string shall be used if the\nimplementation does not have a version number.\n\n\n\n\nIt is suggested that the version number consist of one or\nmore decimal numbers separated by dots, where the first\nnumber is called the major version number.") rohcInstanceDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 7), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceDescr.setDescription("A textual description of the implementation.") rohcInstanceClockRes = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceClockRes.setDescription("This object indicates the system clock resolution in\nunits of milliseconds. A zero (0) value means that there\nis no clock available.") rohcInstanceMaxCID = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16383))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceMaxCID.setDescription("The highest context ID number to be used by the\ncompressor. Note that this parameter is not coupled to,\nbut in effect further constrained by,\nrohcChannelLargeCIDs.") rohcInstanceLargeCIDs = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceLargeCIDs.setDescription("When retrieved, this boolean object returns false if\nthe short CID representation (0 bytes or 1 prefix byte,\ncovering CID 0 to 15) is used; it returns true, if the\nembedded CID representation (1 or 2 embedded CID bytes\ncovering CID 0 to 16383) is used.") rohcInstanceMRRU = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceMRRU.setDescription("Maximum reconstructed reception unit. This is the\nsize of the largest reconstructed unit in octets that\nthe decompressor is expected to reassemble from\nsegments (see RFC 3095, Section 5.2.5). Note that this\nsize includes the CRC. If MRRU is negotiated to be 0,\nno segment headers are allowed on the channel.") rohcInstanceContextStorageTime = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 12), TimeInterval().clone('360000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rohcInstanceContextStorageTime.setDescription("This object indicates the default maximum amount of time\ninformation on a context belonging to this instance is kept\nas entry in the rohcContextTable after the context is\nexpired or terminated. The value of this object is used\nto initialize rohcContexStorageTime object when a new\ncontext is created.\nChanging the value of an rohcInstanceContextStorageTime\ninstance does not affect any entry of the rohcContextTable\ncreated previously.\nROHC-MIB implementations SHOULD store the set value of this\nobject persistently.") rohcInstanceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceStatus.setDescription("Status of the instance of ROHC.") rohcInstanceContextsTotal = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceContextsTotal.setDescription("Counter of all contexts created by this instance.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") rohcInstanceContextsCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 15), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceContextsCurrent.setDescription("Number of currently active contexts created by this\ninstance.") rohcInstancePackets = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstancePackets.setDescription("Counter of all packets passing this instance.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") rohcInstanceIRs = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceIRs.setDescription("The number of all IR packets that are either sent\nor received by this instance.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\n\n\n\nvalue of ifCounterDiscontinuityTime.") rohcInstanceIRDYNs = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceIRDYNs.setDescription("The number of all IR-DYN packets that are either sent\nor received by this instance.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") rohcInstanceFeedbacks = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceFeedbacks.setDescription("The number of all feedbacks that are either sent\nor received by this instance.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime.") rohcInstanceCompressionRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 2, 1, 20), RohcCompressionRatio()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcInstanceCompressionRatio.setDescription("This object indicates the compression ratio so far over all\npackets on the channel served by this instance. The\ncompression is computed over all bytes of the IP packets\nincluding the IP header but excluding all lower layer\nheaders.") rohcProfileTable = MibTable((1, 3, 6, 1, 2, 1, 112, 1, 1, 3)) if mibBuilder.loadTexts: rohcProfileTable.setDescription("This table lists a set of profiles supported by the\ninstance.") rohcProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 112, 1, 1, 3, 1)).setIndexNames((0, "ROHC-MIB", "rohcChannelID"), (0, "ROHC-MIB", "rohcProfile")) if mibBuilder.loadTexts: rohcProfileEntry.setDescription("An entry describing a particular profile supported by\nthe instance. It is indexed by the rohcChannelID\nidentifying the instance and by the rohcProfile.") rohcProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rohcProfile.setDescription("Identifier of a profile supported. For a listing of\npossible profile values, see the IANA registry for\n'RObust Header Compression (ROHC) Profile Identifiers'\nat http://www.iana.org/assignments/rohc-pro-ids") rohcProfileVendor = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 3, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcProfileVendor.setDescription("An object identifier that identifies the vendor who\nprovides the implementation of robust header description.\nThis object identifier SHALL point to the object identifier\ndirectly below the enterprise object identifier\n{1 3 6 1 4 1} allocated for the vendor. The value must be\nthe object identifier {0 0} if the vendor is not known.") rohcProfileVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 3, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcProfileVersion.setDescription("The version number of the implementation of robust header\ncompression. The zero-length string shall be used if the\nimplementation does not have a version number.\n\nIt is suggested that the version number consist of one or\nmore decimal numbers separated by dots, where the first\nnumber is called the major version number.") rohcProfileDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 3, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcProfileDescr.setDescription("A textual description of the implementation.") rohcProfileNegotiated = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 1, 3, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcProfileNegotiated.setDescription("When retrieved, this boolean object returns true\nif the profile has been negotiated to be used at\nthe instance, i.e., is supported also be the\ncorresponding compressor/decompressor.") rohcContextTable = MibTable((1, 3, 6, 1, 2, 1, 112, 1, 2)) if mibBuilder.loadTexts: rohcContextTable.setDescription("This table lists and describes all compressor contexts\nper instance.") rohcContextEntry = MibTableRow((1, 3, 6, 1, 2, 1, 112, 1, 2, 1)).setIndexNames((0, "ROHC-MIB", "rohcChannelID"), (0, "ROHC-MIB", "rohcContextCID")) if mibBuilder.loadTexts: rohcContextEntry.setDescription("An entry describing a particular compressor context.") rohcContextCID = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("noaccess") if mibBuilder.loadTexts: rohcContextCID.setDescription("The context identifier (CID) of this context.") rohcContextCIDState = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,4,)).subtype(namedValues=NamedValues(("unused", 1), ("active", 2), ("expired", 3), ("terminated", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextCIDState.setDescription("State of the CID. When a CID is assigned to a context,\nits state changes from `unused' to `active'. The active\ncontext may stop operation due to some explicit\nsignalling or after observing no packet for some specified\ntime. In the first case then the CID state changes to\n`terminated', in the latter case it changes to `expired'.\nIf the CID is re-used again for another context, the\nstate changes back to `active'.") rohcContextProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextProfile.setDescription("Identifier of the profile for this context.\nThe profile is identified by its index in the\nrohcProfileTable for this instance. There MUST exist a\ncorresponding entry in the rohcProfileTable using the\nvalue of rohcContextProfile as second part of the index\n(and using the same rohcChannelID as first part of the\nindex).") rohcContextDecompressorDepth = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextDecompressorDepth.setDescription("This object indicates whether reverse decompression, for\nexample as described in RFC 3095, Section 6.1, is used\non this channel or not, and if used, to what extent.\n\n\n\n\nIts value is only valid for decompressor contexts, i.e.,\nif rohcInstanceType has the value decompressor(2). For\ncompressor contexts where rohcInstanceType has the value\ncompressor(1), the value of this object is irrelevant\nand MUST be set to zero (0).\n\nThe value of the reverse decompression depth indicates\nthe maximum number of packets that are buffered, and thus\npossibly be reverse decompressed by the decompressor.\nA zero (0) value means that reverse decompression is not\nused.") rohcContextStorageTime = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 6), TimeInterval()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rohcContextStorageTime.setDescription("The value of this object specifies how long this row\ncan exist in the rohcContextTable after the\nrohcContextCIDState switched to expired(3) or\nterminated(4). This object returns the remaining time\nthat the row may exist before it is aged out. The object\nis initialized with the value of the associated\nrohcContextStorageTime object. After expiration or\ntermination of the context, the value of this object ticks\nbackwards. The entry in the rohcContextTable is destroyed\nwhen the value reaches 0.\n\nThe value of this object may be set in order to increase or\nreduce the remaining time that the row may exist. Setting\nthe value to 0 will destroy this entry as soon as the\nrochContextCIDState has the value expired(3) or\nterminated(4).\n\nNote that there is no guarantee that the row is stored as\nlong as this object indicates. In case of limited CID\nspace, the instance may re-use a CID before the storage\ntime of the corresponding row in rohcContextTable reaches\nthe value of 0. In this case the information stored in this\nrow is not anymore available.") rohcContextActivationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 7), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextActivationTime.setDescription("The date and time when the context started to be able to\ncompress packets or decompress packets, respectively.\nThe value '0000000000000000'H is returned if the context\nhas not been activated yet.") rohcContextDeactivationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 8), DateAndTime().clone(hexValue='0000000000000000')).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextDeactivationTime.setDescription("The date and time when the context stopped being able to\ncompress packets or decompress packets, respectively,\nbecause it expired or was terminated for other reasons.\nThe value '0000000000000000'H is returned if the context\nhas not been deactivated yet.") rohcContextPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextPackets.setDescription("The number of all packets passing this context.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable.") rohcContextIRs = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextIRs.setDescription("The number of all IR packets sent or received,\nrespectively, by this context.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\n\n\n\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable.") rohcContextIRDYNs = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextIRDYNs.setDescription("The number of all IR-DYN packets sent or received,\nrespectively, by this context.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable.") rohcContextFeedbacks = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextFeedbacks.setDescription("The number of all feedbacks sent or received,\nrespectively, by this context.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable.") rohcContextDecompressorFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextDecompressorFailures.setDescription("The number of all decompressor failures so far in this\ncontext. The number is only valid for decompressor\ncontexts, i.e., if rohcInstanceType has the value\ndecompressor(2).\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable.") rohcContextDecompressorRepairs = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextDecompressorRepairs.setDescription("The number of all context repairs so far in this\ncontext. The number is only valid for decompressor\ncontexts, i.e., if rohcInstanceType has the value\ndecompressor(2).\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management\nsystem, and at other times as indicated by the\nvalue of ifCounterDiscontinuityTime. For checking\nifCounterDiscontinuityTime, the interface index is\nrequired. It can be determined by reading the\nrohcChannelTable.") rohcContextAllPacketsRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 15), RohcCompressionRatio()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextAllPacketsRatio.setDescription("This object indicates the compression ratio so far over all\npackets passing this context. The compression is computed\nover all bytes of the IP packets including the IP header\nbut excluding all lower layer headers.") rohcContextAllHeadersRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 16), RohcCompressionRatio()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextAllHeadersRatio.setDescription("This object indicates the compression ratio so far over all\npacket headers passing this context. The compression is\ncomputed over all bytes of all headers that are subject to\ncompression for the used profile.") rohcContextAllPacketsMeanSize = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextAllPacketsMeanSize.setDescription("This object indicates the mean compressed packet size\nof all packets passing this context. The packet size\nincludes the IP header and payload but excludes all lower\nlayer headers. The mean value is given in byte rounded\nto the next integer value.") rohcContextAllHeadersMeanSize = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 18), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextAllHeadersMeanSize.setDescription("This object indicates the mean compressed packet header size\nof all packets passing this context. The packet header size\nis the sum of the size of all headers of a packet that are\nsubject to compression for the used profile. The mean value\nis given in byte rounded to the next integer value.") rohcContextLastPacketsRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 19), RohcCompressionRatio()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextLastPacketsRatio.setDescription("This object indicates the compression ratio\nconcerning the last 16 packets passing this context\nor concerning all packets passing this context\nif they are less than 16, so far. The compression is\ncomputed over all bytes of the IP packets including the IP\nheader but excluding all lower layer headers.") rohcContextLastHeadersRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 20), RohcCompressionRatio()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextLastHeadersRatio.setDescription("This object indicates the compression ratio concerning the\nheaders of the last 16 packets passing this context or\nconcerning the headers of all packets passing this context\nif they are less than 16, so far. The compression is\ncomputed over all bytes of all headers that are subject to\ncompression for the used profile.") rohcContextLastPacketsMeanSize = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextLastPacketsMeanSize.setDescription("This object indicates the mean compressed packet size\nconcerning the last 16 packets passing this context or\nconcerning all packets passing this context if they are\nless than 16, so far. The packet size includes the IP\nheader and payload but excludes all lower layer headers.\nThe mean value is given in byte rounded to the next\ninteger value.") rohcContextLastHeadersMeanSize = MibTableColumn((1, 3, 6, 1, 2, 1, 112, 1, 2, 1, 22), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rohcContextLastHeadersMeanSize.setDescription("This object indicates the mean compressed packet header size\nconcerning the last 16 packets passing this context or\nconcerning all packets passing this context if they are\nless than 16, so far. The packet header size is the sum of\nthe size of all headers of a packet that are subject to\ncompression for the used profile. The mean value is given\nin byte rounded to the next integer value.") rohcConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 112, 2)) rohcCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 112, 2, 1)) rohcGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 112, 2, 2)) # Augmentions # Groups rohcInstanceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 112, 2, 2, 2)).setObjects(*(("ROHC-MIB", "rohcChannelType"), ("ROHC-MIB", "rohcInstanceDescr"), ("ROHC-MIB", "rohcProfileDescr"), ("ROHC-MIB", "rohcInstanceStatus"), ("ROHC-MIB", "rohcInstanceFBChannelID"), ("ROHC-MIB", "rohcInstanceLargeCIDs"), ("ROHC-MIB", "rohcInstanceMRRU"), ("ROHC-MIB", "rohcProfileNegotiated"), ("ROHC-MIB", "rohcInstanceVersion"), ("ROHC-MIB", "rohcChannelDescr"), ("ROHC-MIB", "rohcInstanceVendor"), ("ROHC-MIB", "rohcChannelStatus"), ("ROHC-MIB", "rohcChannelFeedbackFor"), ("ROHC-MIB", "rohcProfileVendor"), ("ROHC-MIB", "rohcInstanceClockRes"), ("ROHC-MIB", "rohcProfileVersion"), ("ROHC-MIB", "rohcInstanceMaxCID"), ) ) if mibBuilder.loadTexts: rohcInstanceGroup.setDescription("A collection of objects providing information about\nROHC instances, used channels and available profiles.") rohcStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 112, 2, 2, 4)).setObjects(*(("ROHC-MIB", "rohcInstanceFeedbacks"), ("ROHC-MIB", "rohcInstancePackets"), ("ROHC-MIB", "rohcInstanceContextsCurrent"), ("ROHC-MIB", "rohcInstanceContextsTotal"), ("ROHC-MIB", "rohcInstanceCompressionRatio"), ("ROHC-MIB", "rohcInstanceIRDYNs"), ("ROHC-MIB", "rohcInstanceIRs"), ) ) if mibBuilder.loadTexts: rohcStatisticsGroup.setDescription("A collection of objects providing ROHC statistics.") rohcContextGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 112, 2, 2, 5)).setObjects(*(("ROHC-MIB", "rohcContextDecompressorDepth"), ("ROHC-MIB", "rohcContextProfile"), ("ROHC-MIB", "rohcContextCIDState"), ) ) if mibBuilder.loadTexts: rohcContextGroup.setDescription("A collection of objects providing information about\nROHC compressor contexts and decompressor contexts.") rohcTimerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 112, 2, 2, 6)).setObjects(*(("ROHC-MIB", "rohcContextActivationTime"), ("ROHC-MIB", "rohcContextDeactivationTime"), ("ROHC-MIB", "rohcInstanceContextStorageTime"), ("ROHC-MIB", "rohcContextStorageTime"), ) ) if mibBuilder.loadTexts: rohcTimerGroup.setDescription("A collection of objects providing statistical information\nabout ROHC compressor contexts and decompressor contexts.") rohcContextStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 112, 2, 2, 7)).setObjects(*(("ROHC-MIB", "rohcContextIRs"), ("ROHC-MIB", "rohcContextFeedbacks"), ("ROHC-MIB", "rohcContextAllPacketsRatio"), ("ROHC-MIB", "rohcContextPackets"), ("ROHC-MIB", "rohcContextLastPacketsMeanSize"), ("ROHC-MIB", "rohcContextAllHeadersMeanSize"), ("ROHC-MIB", "rohcContextLastPacketsRatio"), ("ROHC-MIB", "rohcContextLastHeadersMeanSize"), ("ROHC-MIB", "rohcContextLastHeadersRatio"), ("ROHC-MIB", "rohcContextIRDYNs"), ("ROHC-MIB", "rohcContextAllPacketsMeanSize"), ("ROHC-MIB", "rohcContextDecompressorRepairs"), ("ROHC-MIB", "rohcContextAllHeadersRatio"), ("ROHC-MIB", "rohcContextDecompressorFailures"), ) ) if mibBuilder.loadTexts: rohcContextStatisticsGroup.setDescription("A collection of objects providing statistical information\nabout ROHC compressor contexts and decompressor contexts.") # Compliances rohcCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 112, 2, 1, 1)).setObjects(*(("ROHC-MIB", "rohcContextGroup"), ("ROHC-MIB", "rohcInstanceGroup"), ("ROHC-MIB", "rohcStatisticsGroup"), ("ROHC-MIB", "rohcTimerGroup"), ("ROHC-MIB", "rohcContextStatisticsGroup"), ) ) if mibBuilder.loadTexts: rohcCompliance.setDescription("The compliance statement for SNMP entities that implement\nthe ROHC-MIB.\n\nNote that compliance with this compliance\nstatement requires compliance with the\nifCompliance3 MODULE-COMPLIANCE statement of the\nIF-MIB (RFC2863).") # Exports # Module identity mibBuilder.exportSymbols("ROHC-MIB", PYSNMP_MODULE_ID=rohcMIB) # Types mibBuilder.exportSymbols("ROHC-MIB", RohcChannelIdentifier=RohcChannelIdentifier, RohcChannelIdentifierOrZero=RohcChannelIdentifierOrZero, RohcCompressionRatio=RohcCompressionRatio) # Objects mibBuilder.exportSymbols("ROHC-MIB", rohcMIB=rohcMIB, rohcObjects=rohcObjects, rohcInstanceObjects=rohcInstanceObjects, rohcChannelTable=rohcChannelTable, rohcChannelEntry=rohcChannelEntry, rohcChannelID=rohcChannelID, rohcChannelType=rohcChannelType, rohcChannelFeedbackFor=rohcChannelFeedbackFor, rohcChannelDescr=rohcChannelDescr, rohcChannelStatus=rohcChannelStatus, rohcInstanceTable=rohcInstanceTable, rohcInstanceEntry=rohcInstanceEntry, rohcInstanceType=rohcInstanceType, rohcInstanceFBChannelID=rohcInstanceFBChannelID, rohcInstanceVendor=rohcInstanceVendor, rohcInstanceVersion=rohcInstanceVersion, rohcInstanceDescr=rohcInstanceDescr, rohcInstanceClockRes=rohcInstanceClockRes, rohcInstanceMaxCID=rohcInstanceMaxCID, rohcInstanceLargeCIDs=rohcInstanceLargeCIDs, rohcInstanceMRRU=rohcInstanceMRRU, rohcInstanceContextStorageTime=rohcInstanceContextStorageTime, rohcInstanceStatus=rohcInstanceStatus, rohcInstanceContextsTotal=rohcInstanceContextsTotal, rohcInstanceContextsCurrent=rohcInstanceContextsCurrent, rohcInstancePackets=rohcInstancePackets, rohcInstanceIRs=rohcInstanceIRs, rohcInstanceIRDYNs=rohcInstanceIRDYNs, rohcInstanceFeedbacks=rohcInstanceFeedbacks, rohcInstanceCompressionRatio=rohcInstanceCompressionRatio, rohcProfileTable=rohcProfileTable, rohcProfileEntry=rohcProfileEntry, rohcProfile=rohcProfile, rohcProfileVendor=rohcProfileVendor, rohcProfileVersion=rohcProfileVersion, rohcProfileDescr=rohcProfileDescr, rohcProfileNegotiated=rohcProfileNegotiated, rohcContextTable=rohcContextTable, rohcContextEntry=rohcContextEntry, rohcContextCID=rohcContextCID, rohcContextCIDState=rohcContextCIDState, rohcContextProfile=rohcContextProfile, rohcContextDecompressorDepth=rohcContextDecompressorDepth, rohcContextStorageTime=rohcContextStorageTime, rohcContextActivationTime=rohcContextActivationTime, rohcContextDeactivationTime=rohcContextDeactivationTime, rohcContextPackets=rohcContextPackets, rohcContextIRs=rohcContextIRs, rohcContextIRDYNs=rohcContextIRDYNs, rohcContextFeedbacks=rohcContextFeedbacks, rohcContextDecompressorFailures=rohcContextDecompressorFailures, rohcContextDecompressorRepairs=rohcContextDecompressorRepairs, rohcContextAllPacketsRatio=rohcContextAllPacketsRatio, rohcContextAllHeadersRatio=rohcContextAllHeadersRatio, rohcContextAllPacketsMeanSize=rohcContextAllPacketsMeanSize, rohcContextAllHeadersMeanSize=rohcContextAllHeadersMeanSize, rohcContextLastPacketsRatio=rohcContextLastPacketsRatio, rohcContextLastHeadersRatio=rohcContextLastHeadersRatio, rohcContextLastPacketsMeanSize=rohcContextLastPacketsMeanSize, rohcContextLastHeadersMeanSize=rohcContextLastHeadersMeanSize, rohcConformance=rohcConformance, rohcCompliances=rohcCompliances, rohcGroups=rohcGroups) # Groups mibBuilder.exportSymbols("ROHC-MIB", rohcInstanceGroup=rohcInstanceGroup, rohcStatisticsGroup=rohcStatisticsGroup, rohcContextGroup=rohcContextGroup, rohcTimerGroup=rohcTimerGroup, rohcContextStatisticsGroup=rohcContextStatisticsGroup) # Compliances mibBuilder.exportSymbols("ROHC-MIB", rohcCompliance=rohcCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/APPN-DLUR-MIB.py0000644000014400001440000005315011736645134020741 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APPN-DLUR-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:41 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( SnaControlPointName, ) = mibBuilder.importSymbols("APPN-MIB", "SnaControlPointName") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( snanauMIB, ) = mibBuilder.importSymbols("SNA-NAU-MIB", "snanauMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( DisplayString, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue") # Objects dlurMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 5)).setRevisions(("1997-05-10 15:00",)) if mibBuilder.loadTexts: dlurMIB.setOrganization("IETF SNA NAU MIB WG / AIW APPN/HPR MIBs SIG") if mibBuilder.loadTexts: dlurMIB.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\n800 Park Offices Drive\nRHJA/664\nP.O. Box 12195\nResearch Triangle Park, NC 27709, USA\nTel: 1 919 254 4436\nE-mail: remoore@ralvm6.vnet.ibm.com") if mibBuilder.loadTexts: dlurMIB.setDescription("This is the MIB module for objects used to manage\nnetwork devices with DLUR capabilities. This MIB\ncontains information that is useful for managing an APPN\nproduct that implements a DLUR (Dependent Logical Unit\nRequester). The DLUR product has a client/server\nrelationship with an APPN product that implements a DLUS\n(Dependent Logical Unit Server).") dlurObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 1)) dlurNodeInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 1, 1)) dlurNodeCapabilities = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1)) dlurNodeCpName = MibScalar((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1, 1), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurNodeCpName.setDescription("Administratively assigned network name for the APPN node where\nthis DLUR implementation resides. If this object has the same\nvalue as the appnNodeCpName object in the APPN MIB, then the\ntwo objects are referring to the same APPN node.") dlurReleaseLevel = MibScalar((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurReleaseLevel.setDescription("The DLUR release level of this implementation. This is the\nvalue that is encoded in the DLUR/DLUS Capabilites (CV 51).\nTo insure consistent display, this one-byte value is encoded\nhere as two displayable characters that are equivalent to a\nhexadecimal display. For example, if the one-byte value as\nencoded in CV51 is X'01', this object will contain the\ndisplayable string '01'.") dlurAnsSupport = MibScalar((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("continueOrStop", 1), ("stopOnly", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurAnsSupport.setDescription("Automatic Network Shutdown (ANS) capability of this node.\n\n- 'continueOrStop' indicates that the DLUR implementation\n supports either ANS value (continue or stop) as\n specified by the DLUS on ACTPU for each PU.\n\n- 'stopOnly' indicates that the DLUR implementation only\n supports the ANS value of stop.\n\nANS = continue means that the DLUR node will keep LU-LU\nsessions active even if SSCP-PU and SSCP-LU control sessions\nare interrupted.\n\nANS = stop means that LU-LU sessions will be interrupted when\nthe SSCP-PU and SSCP-LU sessions are interrupted.") dlurMultiSubnetSupport = MibScalar((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurMultiSubnetSupport.setDescription("Indication of whether this DLUR implementation can support\nCPSVRMGR sessions that cross NetId boundaries.") dlurDefaultDefPrimDlusName = MibScalar((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1, 5), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurDefaultDefPrimDlusName.setDescription("The SNA name of the defined default primary DLUS for all of\nthe PUs served by this DLUR. This can be overridden for a\nparticular PU by a defined primary DLUS for that PU,\nrepresented by the dlurPuDefPrimDlusName object.") dlurNetworkNameForwardingSupport = MibScalar((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurNetworkNameForwardingSupport.setDescription("Indication of whether this DLUR implementation supports\nforwarding of Network Name control vectors on ACTPUs and\nACTLUs to DLUR-served PUs and their associated LUs.\n\nThis object corresponds to byte 9. bit 3 of cv51.") dlurNondisDlusDlurSessDeactSup = MibScalar((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurNondisDlusDlurSessDeactSup.setDescription("Indication of whether this DLUR implementation supports\nnondisruptive deactivation of its DLUR-DLUS sessions.\nUpon receiving from a DLUS an UNBIND for the CPSVRMGR pipe\nwith sense data X'08A0 000B', a DLUR that supports this\noption immediately begins attempting to activate a CPSVRMGR\npipe with a DLUS other than the one that sent the UNBIND.\n\nThis object corresponds to byte 9. bit 4 of cv51.") dlurDefaultDefBackupDlusTable = MibTable((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 2)) if mibBuilder.loadTexts: dlurDefaultDefBackupDlusTable.setDescription("This table contains an ordered list of defined backup DLUSs\nfor all of the PUs served by this DLUR. These can be\noverridden for a particular PU by a list of defined backup\nDLUSs for that PU, represented by the\ndlurPuDefBackupDlusNameTable. Entries in this table are\nordered from most preferred default backup DLUS to least\npreferred.") dlurDefaultDefBackupDlusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 2, 1)).setIndexNames((0, "APPN-DLUR-MIB", "dlurDefaultDefBackupDlusIndex")) if mibBuilder.loadTexts: dlurDefaultDefBackupDlusEntry.setDescription("This table is indexed by an integer-valued index, which\norders the entries from most preferred default backup DLUS\nto least preferred.") dlurDefaultDefBackupDlusIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlurDefaultDefBackupDlusIndex.setDescription("Index for this table. The index values start at 1,\nwhich identifies the most preferred default backup DLUS.") dlurDefaultDefBackupDlusName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 1, 2, 1, 2), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurDefaultDefBackupDlusName.setDescription("Fully qualified name of a default backup DLUS for PUs served\nby this DLUR.") dlurPuInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 1, 2)) dlurPuTable = MibTable((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1)) if mibBuilder.loadTexts: dlurPuTable.setDescription("Information about the PUs supported by this DLUR.") dlurPuEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1)).setIndexNames((0, "APPN-DLUR-MIB", "dlurPuName")) if mibBuilder.loadTexts: dlurPuEntry.setDescription("Entry in a table of PU information, indexed by PU name.") dlurPuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlurPuName.setDescription("Locally administered name of the PU.") dlurPuSscpSuppliedName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuSscpSuppliedName.setDescription("The SNA name of the PU. This value is supplied to a PU by the\nSSCP that activated it. If a value has not been supplied, a\nzero-length string is returned.") dlurPuStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,8,7,9,2,5,4,3,6,)).subtype(namedValues=NamedValues(("reset", 1), ("pendReqActpuRsp", 2), ("pendActpu", 3), ("pendActpuRsp", 4), ("active", 5), ("pendLinkact", 6), ("pendDactpuRsp", 7), ("pendInop", 8), ("pendInopActpu", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuStatus.setDescription("Status of the DLUR-supported PU. The following values are\ndefined:\n\n reset(1) - reset\n pendReqActpuRsp(2) - pending a response from the DLUS\n to a Request ACTPU\n pendActpu(3) - pending an ACTPU from the DLUS\n pendActpuRsp(4) - pending an ACTPU response from the PU\n active(5) - active\n pendLinkact(6) - pending activation of the link to a\n downstream PU\n pendDactpuRsp(7) - pending a DACTPU response from the PU\n pendInop(8) - the CPSVRMGR pipe became inoperative\n while the DLUR was pending an ACTPU\n response from the PU\n pendInopActpu(9) - when the DLUR was in the pendInop\n state, a CPSVRMGR pipe became active\n and a new ACTPU was received over it,\n before a response to the previous\n ACTPU was received from the PU.") dlurPuAnsSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("continue", 1), ("stop", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuAnsSupport.setDescription("The Automatic Network Shutdown (ANS) support configured for\nthis PU. This value (as configured by the network\nadministrator) is sent by DLUS with ACTPU for each PU.\n\n - 'continue' means that the DLUR node will attempt to keep\n LU-LU sessions active even if SSCP-PU and SSCP-LU\n control sessions are interrupted.\n\n - 'stop' means that LU-LU sessions will be interrupted\n when the SSCP-PU and SSCP-LU sessions are interrupted.") dlurPuLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("internal", 1), ("downstream", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuLocation.setDescription("Location of the DLUR-support PU:\ninternal(1) - internal to the APPN node itself (no link)\ndownstream(2) - downstream of the APPN node (connected via\n a link).") dlurPuLsName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuLsName.setDescription("Administratively assigned name of the link station through\nwhich a downstream PU is connected to this DLUR. A zero-length\nstring is returned for internal PUs. If this object has the\nsame value as the appnLsName object in the APPN MIB, then the\ntwo are identifying the same link station.") dlurPuDlusSessnStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("reset", 1), ("pendingActive", 2), ("active", 3), ("pendingInactive", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuDlusSessnStatus.setDescription("Status of the control session to the DLUS identified in\ndlurPuActiveDlusName. This is a combination of the separate\nstates for the contention-winner and contention-loser sessions:\n\nreset(1) - none of the cases below\npendingActive(2) - either contention-winner session or\n contention-loser session is pending active\nactive(3) - contention-winner and contention-loser\n sessions are both active\npendingInactive(4) - either contention-winner session or\n contention-loser session is pending\n inactive - this test is made AFTER the\n 'pendingActive' test.\n\nThe following matrix provides a different representation of\nhow the values of this object are related to the individual\nstates of the contention-winner and contention-loser sessions:\n\n Conwinner\n | pA | pI | A | X = !(pA | pI | A)\nC ++++++++++++++++++++++++++++++++++\no pA | 2 | 2 | 2 | 2\nn ++++++++++++++++++++++++++++++++++\nl pI | 2 | 4 | 4 | 4\no ++++++++++++++++++++++++++++++++++\ns A | 2 | 4 | 3 | 1\ne ++++++++++++++++++++++++++++++++++\nr X | 2 | 4 | 1 | 1\n ++++++++++++++++++++++++++++++++++") dlurPuActiveDlusName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuActiveDlusName.setDescription("The SNA name of the active DLUS for this PU. If its length\nis not zero, this name follows the SnaControlPointName textual\nconvention. A zero-length string indicates that the PU does\nnot currently have an active DLUS.") dlurPuDefPrimDlusName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuDefPrimDlusName.setDescription("The SNA name of the defined primary DLUS for this PU, if one\nhas been defined. If present, this name follows the\nSnaControlPointName textual convention. A zero-length string\nindicates that no primary DLUS has been defined for this PU, in\nwhich case the global default represented by the\ndlurDefaultDefPrimDlusName object is used.") dlurPuDefBackupDlusTable = MibTable((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 2)) if mibBuilder.loadTexts: dlurPuDefBackupDlusTable.setDescription("This table contains an ordered list of defined backup DLUSs\nfor those PUs served by this DLUR that have their own defined\nbackup DLUSs. PUs that have no entries in this table use the\nglobal default backup DLUSs for the DLUR, represented by the\ndlurDefaultDefBackupDlusNameTable. Entries in this table are\nordered from most preferred backup DLUS to least preferred for\neach PU.") dlurPuDefBackupDlusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 2, 1)).setIndexNames((0, "APPN-DLUR-MIB", "dlurPuDefBackupDlusPuName"), (0, "APPN-DLUR-MIB", "dlurPuDefBackupDlusIndex")) if mibBuilder.loadTexts: dlurPuDefBackupDlusEntry.setDescription("This table is indexed by PU name and by an integer-valued\nindex, which orders the entries from most preferred backup DLUS\nfor the PU to least preferred.") dlurPuDefBackupDlusPuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlurPuDefBackupDlusPuName.setDescription("Locally administered name of the PU. If this object has the\nsame value as the dlurPuName object, then the two are\nidentifying the same PU.") dlurPuDefBackupDlusIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlurPuDefBackupDlusIndex.setDescription("Secondary index for this table. The index values start at 1,\nwhich identifies the most preferred backup DLUS for the PU.") dlurPuDefBackupDlusName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 2, 2, 1, 3), SnaControlPointName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurPuDefBackupDlusName.setDescription("Fully qualified name of a backup DLUS for this PU.") dlurDlusInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 1, 3)) dlurDlusTable = MibTable((1, 3, 6, 1, 2, 1, 34, 5, 1, 3, 1)) if mibBuilder.loadTexts: dlurDlusTable.setDescription("Information about DLUS control sessions.") dlurDlusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 5, 1, 3, 1, 1)).setIndexNames((0, "APPN-DLUR-MIB", "dlurDlusName")) if mibBuilder.loadTexts: dlurDlusEntry.setDescription("This entry is indexed by the name of the DLUS.") dlurDlusName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 3, 1, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlurDlusName.setDescription("The SNA name of a DLUS with which this DLUR currently has a\nCPSVRMGR pipe established.") dlurDlusSessnStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 5, 1, 3, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("reset", 1), ("pendingActive", 2), ("active", 3), ("pendingInactive", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlurDlusSessnStatus.setDescription("Status of the CPSVRMGR pipe between the DLUR and this DLUS.\nThis is a combination of the separate states for the\ncontention-winner and contention-loser sessions:\n\nreset(1) - none of the cases below\npendingActive(2) - either contention-winner session or\n contention-loser session is pending active\nactive(3) - contention-winner and contention-loser\n sessions are both active\npendingInactive(4) - either contention-winner session or\n contention-loser session is pending\n inactive - this test is made AFTER the\n 'pendingActive' test.\n\nThe following matrix provides a different representation of\nhow the values of this object are related to the individual\nstates of the contention-winner and contention-loser sessions:\n\n Conwinner\n | pA | pI | A | X = !(pA | pI | A)\nC ++++++++++++++++++++++++++++++++++\no pA | 2 | 2 | 2 | 2\nn ++++++++++++++++++++++++++++++++++\nl pI | 2 | 4 | 4 | 4\no ++++++++++++++++++++++++++++++++++\ns A | 2 | 4 | 3 | 1\ne ++++++++++++++++++++++++++++++++++\nr X | 2 | 4 | 1 | 1\n ++++++++++++++++++++++++++++++++++") dlurConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 2)) dlurCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 2, 1)) dlurGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 5, 2, 2)) # Augmentions # Groups dlurConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 5, 2, 2, 1)).setObjects(*(("APPN-DLUR-MIB", "dlurPuAnsSupport"), ("APPN-DLUR-MIB", "dlurDefaultDefPrimDlusName"), ("APPN-DLUR-MIB", "dlurPuLocation"), ("APPN-DLUR-MIB", "dlurAnsSupport"), ("APPN-DLUR-MIB", "dlurPuActiveDlusName"), ("APPN-DLUR-MIB", "dlurNodeCpName"), ("APPN-DLUR-MIB", "dlurPuSscpSuppliedName"), ("APPN-DLUR-MIB", "dlurPuLsName"), ("APPN-DLUR-MIB", "dlurPuDefPrimDlusName"), ("APPN-DLUR-MIB", "dlurNondisDlusDlurSessDeactSup"), ("APPN-DLUR-MIB", "dlurPuDefBackupDlusName"), ("APPN-DLUR-MIB", "dlurPuDlusSessnStatus"), ("APPN-DLUR-MIB", "dlurNetworkNameForwardingSupport"), ("APPN-DLUR-MIB", "dlurReleaseLevel"), ("APPN-DLUR-MIB", "dlurDlusSessnStatus"), ("APPN-DLUR-MIB", "dlurDefaultDefBackupDlusName"), ("APPN-DLUR-MIB", "dlurPuStatus"), ("APPN-DLUR-MIB", "dlurMultiSubnetSupport"), ) ) if mibBuilder.loadTexts: dlurConfGroup.setDescription("A collection of objects providing information on an\nimplementation of APPN DLUR.") # Compliances dlurCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 5, 2, 1, 1)).setObjects(*(("APPN-DLUR-MIB", "dlurConfGroup"), ) ) if mibBuilder.loadTexts: dlurCompliance.setDescription("The compliance statement for the SNMPv2 entities which\nimplement the DLUR MIB.") # Exports # Module identity mibBuilder.exportSymbols("APPN-DLUR-MIB", PYSNMP_MODULE_ID=dlurMIB) # Objects mibBuilder.exportSymbols("APPN-DLUR-MIB", dlurMIB=dlurMIB, dlurObjects=dlurObjects, dlurNodeInfo=dlurNodeInfo, dlurNodeCapabilities=dlurNodeCapabilities, dlurNodeCpName=dlurNodeCpName, dlurReleaseLevel=dlurReleaseLevel, dlurAnsSupport=dlurAnsSupport, dlurMultiSubnetSupport=dlurMultiSubnetSupport, dlurDefaultDefPrimDlusName=dlurDefaultDefPrimDlusName, dlurNetworkNameForwardingSupport=dlurNetworkNameForwardingSupport, dlurNondisDlusDlurSessDeactSup=dlurNondisDlusDlurSessDeactSup, dlurDefaultDefBackupDlusTable=dlurDefaultDefBackupDlusTable, dlurDefaultDefBackupDlusEntry=dlurDefaultDefBackupDlusEntry, dlurDefaultDefBackupDlusIndex=dlurDefaultDefBackupDlusIndex, dlurDefaultDefBackupDlusName=dlurDefaultDefBackupDlusName, dlurPuInfo=dlurPuInfo, dlurPuTable=dlurPuTable, dlurPuEntry=dlurPuEntry, dlurPuName=dlurPuName, dlurPuSscpSuppliedName=dlurPuSscpSuppliedName, dlurPuStatus=dlurPuStatus, dlurPuAnsSupport=dlurPuAnsSupport, dlurPuLocation=dlurPuLocation, dlurPuLsName=dlurPuLsName, dlurPuDlusSessnStatus=dlurPuDlusSessnStatus, dlurPuActiveDlusName=dlurPuActiveDlusName, dlurPuDefPrimDlusName=dlurPuDefPrimDlusName, dlurPuDefBackupDlusTable=dlurPuDefBackupDlusTable, dlurPuDefBackupDlusEntry=dlurPuDefBackupDlusEntry, dlurPuDefBackupDlusPuName=dlurPuDefBackupDlusPuName, dlurPuDefBackupDlusIndex=dlurPuDefBackupDlusIndex, dlurPuDefBackupDlusName=dlurPuDefBackupDlusName, dlurDlusInfo=dlurDlusInfo, dlurDlusTable=dlurDlusTable, dlurDlusEntry=dlurDlusEntry, dlurDlusName=dlurDlusName, dlurDlusSessnStatus=dlurDlusSessnStatus, dlurConformance=dlurConformance, dlurCompliances=dlurCompliances, dlurGroups=dlurGroups) # Groups mibBuilder.exportSymbols("APPN-DLUR-MIB", dlurConfGroup=dlurConfGroup) # Compliances mibBuilder.exportSymbols("APPN-DLUR-MIB", dlurCompliance=dlurCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/BLDG-HVAC-MIB.py0000644000014400001440000005224611736645135020674 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python BLDG-HVAC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, experimental, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "experimental") ( RowStatus, StorageType, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp") # Types class BldgHvacOperation(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("heat", 1), ("cool", 2), ) # Objects bldgHVACMIB = ModuleIdentity((1, 3, 6, 1, 3, 122)).setRevisions(("2003-03-27 00:00",)) if mibBuilder.loadTexts: bldgHVACMIB.setOrganization("SNMPCONF working group\nE-mail: snmpconf@snmp.com") if mibBuilder.loadTexts: bldgHVACMIB.setContactInfo("Jon Saperia\nPostal: JDS Consulting\n 174 Chapman Street\n Watertown, MA 02472\n U.S.A.\nPhone: +1 617 744 1079\nE-mail: saperia@jdscons.com\n\nWayne Tackabury\nPostal: Gold Wire Technology\n 411 Waverley Oaks Rd.\n Waltham, MA 02452\n U.S.A.\nPhone: +1 781 398 8800\nE-mail: wayne@goldwiretech.com\n\n\n\nMichael MacFaden\nPostal: Riverstone Networks\n 5200 Great America Pkwy.\n Santa Clara, CA 95054\n U.S.A.\nPhone: +1 408 878 6500\nE-mail: mrm@riverstonenet.com\n\nDavid Partain\nPostal: Ericsson AB\n P.O. Box 1248\n SE-581 12 Linkoping\n Sweden\nE-mail: David.Partain@ericsson.com") if mibBuilder.loadTexts: bldgHVACMIB.setDescription("This example MIB module defines a set of management objects\nfor heating ventilation and air conditioning systems. It\nalso includes objects that can be used to create policies\nthat are applied to rooms. This eliminates the need to send\nper-instance configuration commands to the system.\n\nCopyright (C) The Internet Society (2003). This version of\nthis MIB module is part of RFC 3512; see the RFC itself for\nfull legal notices.") bldgHVACObjects = MibIdentifier((1, 3, 6, 1, 3, 122, 1)) bldgHVACTable = MibTable((1, 3, 6, 1, 3, 122, 1, 1)) if mibBuilder.loadTexts: bldgHVACTable.setDescription("This table is the representation and data control\nfor building HVAC by each individual office.\nThe table has rows for, and is indexed by a specific\nfloor and office number. Each such row includes\nHVAC statistical and current status information for\nthe associated office. The row also contains a\nbldgHVACCfgTemplate columnar object that relates the\nbldgHVACTable row to a row in the bldgHVACCfgTemplateTable.\nIf this value is nonzero, then the instance in the row\nthat has a value for how the HVAC has been configured\nin the associated template (bldgHVACCfgTeplateTable row).\nHence, the bldgHVACCfgTeplateTable row contains the\nspecific configuration values for the offices as described\nin this table.") bldgHVACEntry = MibTableRow((1, 3, 6, 1, 3, 122, 1, 1, 1)).setIndexNames((0, "BLDG-HVAC-MIB", "bldgHVACFloor"), (0, "BLDG-HVAC-MIB", "bldgHVACOffice")) if mibBuilder.loadTexts: bldgHVACEntry.setDescription("A row in the bldgHVACTable. Each row represents a particular\noffice in the building, qualified by its floor and office\nnumber. A given row instance can be created or deleted by\nset operations upon its bldgHVACStatus columnar\nobject instance.") bldgHVACFloor = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000))).setMaxAccess("noaccess") if mibBuilder.loadTexts: bldgHVACFloor.setDescription("This portion of the index indicates the floor of the\nbuilding. The ground floor is considered the\nfirst floor. For the purposes of this example,\nfloors under the ground floor cannot be\ncontrolled using this MIB module.") bldgHVACOffice = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: bldgHVACOffice.setDescription("This second component of the index specifies the\noffice number.") bldgHVACCfgTemplate = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplate.setDescription("The index (bldgHVACCfgTemplateIndex instance)\nof an entry in the 'bldgHVACCfgTemplateTable'.\nThe bldgHVACCfgTable row instance referenced\nis a pre-made configuration 'template'\nthat represents the configuration described\nby the bldgHVACCfgTemplateInfoDescr object. Note\nthat not all configurations will be under a\ndefined template. As a result, a row in this\nbldgHVACTable may point to an entry in the\nbldgHVACCfgTemplateTable that does not in turn\nhave a reference (bldgHVACCfgTemplateInfo) to an\nentry in the bldgHVACCfgTemplateInfoTable. The\nbenefit of this approach is that all\nconfiguration information is available in one\ntable whether all elements in the system are\nderived from configured templates or not.\n\nWhere the instance value for this colunmar object\nis zero, this row represents data for an office\nwhose HVAC status can be monitored using the\nread-only columnar object instances of this\nrow, but is not under the configuration control\n\n\n\nof the agent.") bldgHVACFanSpeed = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bldgHVACFanSpeed.setDescription("Shows the revolutions per minute of the fan. Fan speed\nwill vary based on the difference between\nbldgHVACCfgTemplateDesiredTemp and bldgHVACCurrentTemp. The\nspeed is measured in revolutions of the fan blade per minute.") bldgHVACCurrentTemp = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bldgHVACCurrentTemp.setDescription("The current measured temperature in the office. Should\nthe current temperature be measured at a value of less\nthan zero degrees celsius, a read of the instance\nfor this object will return a value of zero.") bldgHVACCoolOrHeatMins = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bldgHVACCoolOrHeatMins.setDescription("The total number of heating or cooling minutes that have\nbeen consumed since the row was activated. Notice that\nwhether the minutes represent heating or cooling is a\nfunction of the configuration of this row. If the system\nis re-initialized from a cooling to heating function or\nvice versa, then the counter would start over again. This\neffect is similar to a reconfiguration of some network\ninterface cards. When parameters that impact\nconfiguration are changed, the subsystem must be\nre-initialized. Discontinuities in the value of this counter\ncan occur at re-initialization of the management system,\nand at other times as indicated by the value of\nbldgHVACDiscontinuityTime.") bldgHVACDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 7), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: bldgHVACDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany heating or cooling operation for the office designated\nby this row instance experienced a discontinuity. If\nno such discontinuities have occurred since the last re-\ninitialization of the this row, then this object contains a\nzero value.") bldgHVACOwner = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 8), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACOwner.setDescription("The identity of the operator/system that\nlast modified this entry. When a new entry\nis created, a valid SnmpAdminString must\nbe supplied. If, on the other hand, this\nentry is populated by the agent 'discovering'\nunconfigured rooms, the empty string is a valid\nvalue for this object.") bldgHVACStorageType = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 9), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACStorageType.setDescription("The persistence of this row of the table in system storage,\nas it pertains to permanence across system resets. A columnar\ninstance of this object with value 'permanent' need not allow\nwrite-access to any of the columnar object instances in the\ncontaining row.") bldgHVACStatus = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 1, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACStatus.setDescription("Controls and reflects the creation and activation status of\na row in this table.\n\nNo attempt to modify a row columnar object instance value in\n\n\n\nthe bldgHVACTable should be issued while the value of\nbldgHVACStatus is active(1). Should an agent receive a SET\nPDU attempting such a modification in this state, an\ninconsistentValue error should be returned as a result of\nthe SET attempt.") bldgHVACCfgTemplateInfoTable = MibTable((1, 3, 6, 1, 3, 122, 1, 2)) if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoTable.setDescription("This table provides unique string identification for\nHVAC templates in a network. If it were necessary to\nconfigure rooms to deliver a particular quality of climate\ncontrol with regard to cooling or heating, the index string\nof a row in this table could be the template name.\nThe bldgHVACCfgCfgTemplateInfoDescription\ncontains a brief description of the template service objective\nsuch as: provides summer cooling settings for executive\noffices. The bldgHVACCfgTemplateInfo in the\nbldgHVACCfgTemplateTable will contain the pointer to the\nrelevant row in this table if it is intended that items\nthat point to a row in the bldgHVACCfgTemplateInfoTable be\nidentifiable as being under template control though this\nmechanism.") bldgHVACCfgTemplateInfoEntry = MibTableRow((1, 3, 6, 1, 3, 122, 1, 2, 1)).setIndexNames((0, "BLDG-HVAC-MIB", "bldgHVACCfgTemplateInfoIndex")) if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoEntry.setDescription("Each row represents a particular template and\ndescription. A given row instance can be created or\ndeleted by set operations upon its\nbldgHVACCfgTemplateInfoStatus columnar object\ninstance.") bldgHVACCfgTemplateInfoIndex = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoIndex.setDescription("The unique index to a row in this table.") bldgHVACCfgTemplateInfoID = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 2, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoID.setDescription("Textual identifier for this table row, and, consequently\nthe template. This should be a unique name within\nan administrative domain for a particular template so that\nall systems in a network that are under the same template\ncan have the same 'handle' (e.g., 'Executive Offices',\n'Lobby Areas').") bldgHVACCfgTemplateInfoDescr = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 2, 1, 3), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoDescr.setDescription("A general description of the template. One example might\nbe - Controls the cooling for offices on higher floors\nduring the summer.") bldgHVACCfgTemplateInfoOwner = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 2, 1, 4), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoOwner.setDescription("The identity of the operator/system that last modified\nthis entry.") bldgHVACCfgTemplateInfoStatus = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 2, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoStatus.setDescription("The activation status of this row.\n\nNo attempt to modify a row columnar object instance value in\nthe bldgHVACCfgTemplateInfo Table should be issued while the\nvalue of bldgHVACCfgTemplateInfoStatus is active(1).\nShould an agent receive a SET PDU attempting such a modification\nin this state, an inconsistentValue error should be returned as\na result of the SET attempt.") bldgHVACCfgTemplateInfoStorType = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 2, 1, 6), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateInfoStorType.setDescription("The persistence of this row of the table in system storage,\nas it pertains to permanence across system resets. A columnar\ninstance of this object with value 'permanent' need not allow\nwrite-access to any of the columnar object instances in the\ncontaining row.") bldgHVACCfgTemplateTable = MibTable((1, 3, 6, 1, 3, 122, 1, 3)) if mibBuilder.loadTexts: bldgHVACCfgTemplateTable.setDescription("This table contains the templates, which\ncan be used to set defaults that will\nbe applied to specific offices. The application\nof those values is accomplished by having a row\ninstance of the bldgHVACTable reference a row of\nthis table (by the value of the former's\nbldgHVACCfgTemplate columnar instance). Identifying\ninformation concerning a row instance of this table\ncan be found in the columnar data of the row instance\nof the bldgHVACCfgTemplateInfoTable entry referenced\nby the bldgHVACCfgTemplateInfo columnar object of\nthis table.") bldgHVACCfgTemplateEntry = MibTableRow((1, 3, 6, 1, 3, 122, 1, 3, 1)).setIndexNames((0, "BLDG-HVAC-MIB", "bldgHVACCfgTemplateIndex")) if mibBuilder.loadTexts: bldgHVACCfgTemplateEntry.setDescription("Each row represents a single set of template parameters\nthat can be applied to selected instances - in this case\noffices. These policies will be turned on and off by the\npolicy module through its scheduling facilities.\n\nA given row instance can be created or\ndeleted by set operations upon its\nbldgHVACCfgTemplateStatus columnar object instance.") bldgHVACCfgTemplateIndex = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: bldgHVACCfgTemplateIndex.setDescription("A unique value for each defined template in this\ntable. This value can be referenced as a row index\nby any MIB module that needs access to this information.\nThe bldgHVACCfgTemplate will point to entries in this\ntable.") bldgHVACCfgTemplateDesiredTemp = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 3, 1, 2), Gauge32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateDesiredTemp.setDescription("This is the desired temperature setting. It might be\nchanged at different times of the day or based on\nseasonal conditions. It is permitted to change this value\nby first moving the row to an inactive state, making the\n\n\n\nchange and then reactivating the row.") bldgHVACCfgTemplateCoolOrHeat = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 3, 1, 3), BldgHvacOperation()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateCoolOrHeat.setDescription("This controls the heating and cooling mechanism and is\nset-able by building maintenance. It is permitted to\nchange this value by first moving the row to an inactive\nstate, making the change and then reactivating the row.") bldgHVACCfgTemplateInfo = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 3, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateInfo.setDescription("This object points to a row in the\nbldgHVACCfgTemplateInfoTable. This controls the\nheating and cooling mechanism and is set-able by\nbuilding maintenance. It is permissible to change\nthis value by first moving the row to an inactive\nstate, making the change and then reactivating\nthe row. A value of zero means that this entry\nis not associated with a named template found\nin the bldgHVACCfgTemplateInfoTable.") bldgHVACCfgTemplateOwner = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 3, 1, 5), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateOwner.setDescription("The identity of the administrative entity\nthat created this row of the table.") bldgHVACCfgTemplateStorage = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 3, 1, 6), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateStorage.setDescription("The persistence of this row of the table across\nsystem resets. A columnar instance of this object with\nvalue 'permanent' need not allow write-access to any\nof the columnar object instances in the containing row.") bldgHVACCfgTemplateStatus = MibTableColumn((1, 3, 6, 1, 3, 122, 1, 3, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: bldgHVACCfgTemplateStatus.setDescription("The activation status of this row of the table.\n\nNo attempt to modify a row columnar object instance value in\nthe bldgHVACCfgTemplateTable should be issued while the\nvalue of bldgHVACCfgTemplateStatus is active(1).\nShould an agent receive a SET PDU attempting such a modification\nin this state, an inconsistentValue error should be returned as\na result of the SET attempt.") bldgConformance = MibIdentifier((1, 3, 6, 1, 3, 122, 2)) bldgCompliances = MibIdentifier((1, 3, 6, 1, 3, 122, 2, 1)) bldgGroups = MibIdentifier((1, 3, 6, 1, 3, 122, 2, 2)) # Augmentions # Groups bldgHVACObjectsGroup = ObjectGroup((1, 3, 6, 1, 3, 122, 2, 2, 1)).setObjects(*(("BLDG-HVAC-MIB", "bldgHVACDiscontinuityTime"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateStatus"), ("BLDG-HVAC-MIB", "bldgHVACCurrentTemp"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateStorage"), ("BLDG-HVAC-MIB", "bldgHVACFanSpeed"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateInfoStorType"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateInfoStatus"), ("BLDG-HVAC-MIB", "bldgHVACStatus"), ("BLDG-HVAC-MIB", "bldgHVACCoolOrHeatMins"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplate"), ("BLDG-HVAC-MIB", "bldgHVACStorageType"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateCoolOrHeat"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateInfoID"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateInfoOwner"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateInfo"), ("BLDG-HVAC-MIB", "bldgHVACOwner"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateInfoDescr"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateDesiredTemp"), ("BLDG-HVAC-MIB", "bldgHVACCfgTemplateOwner"), ) ) if mibBuilder.loadTexts: bldgHVACObjectsGroup.setDescription("The bldgHVACObjects Group.") # Compliances bldgCompliance = ModuleCompliance((1, 3, 6, 1, 3, 122, 2, 1, 1)).setObjects(*(("BLDG-HVAC-MIB", "bldgHVACObjectsGroup"), ) ) if mibBuilder.loadTexts: bldgCompliance.setDescription("The requirements for conformance to the BLDG-HVAC-MIB. The\nbldgHVACObjects group must be implemented to conform to the\nBLDG-HVAC-MIB.") # Exports # Module identity mibBuilder.exportSymbols("BLDG-HVAC-MIB", PYSNMP_MODULE_ID=bldgHVACMIB) # Types mibBuilder.exportSymbols("BLDG-HVAC-MIB", BldgHvacOperation=BldgHvacOperation) # Objects mibBuilder.exportSymbols("BLDG-HVAC-MIB", bldgHVACMIB=bldgHVACMIB, bldgHVACObjects=bldgHVACObjects, bldgHVACTable=bldgHVACTable, bldgHVACEntry=bldgHVACEntry, bldgHVACFloor=bldgHVACFloor, bldgHVACOffice=bldgHVACOffice, bldgHVACCfgTemplate=bldgHVACCfgTemplate, bldgHVACFanSpeed=bldgHVACFanSpeed, bldgHVACCurrentTemp=bldgHVACCurrentTemp, bldgHVACCoolOrHeatMins=bldgHVACCoolOrHeatMins, bldgHVACDiscontinuityTime=bldgHVACDiscontinuityTime, bldgHVACOwner=bldgHVACOwner, bldgHVACStorageType=bldgHVACStorageType, bldgHVACStatus=bldgHVACStatus, bldgHVACCfgTemplateInfoTable=bldgHVACCfgTemplateInfoTable, bldgHVACCfgTemplateInfoEntry=bldgHVACCfgTemplateInfoEntry, bldgHVACCfgTemplateInfoIndex=bldgHVACCfgTemplateInfoIndex, bldgHVACCfgTemplateInfoID=bldgHVACCfgTemplateInfoID, bldgHVACCfgTemplateInfoDescr=bldgHVACCfgTemplateInfoDescr, bldgHVACCfgTemplateInfoOwner=bldgHVACCfgTemplateInfoOwner, bldgHVACCfgTemplateInfoStatus=bldgHVACCfgTemplateInfoStatus, bldgHVACCfgTemplateInfoStorType=bldgHVACCfgTemplateInfoStorType, bldgHVACCfgTemplateTable=bldgHVACCfgTemplateTable, bldgHVACCfgTemplateEntry=bldgHVACCfgTemplateEntry, bldgHVACCfgTemplateIndex=bldgHVACCfgTemplateIndex, bldgHVACCfgTemplateDesiredTemp=bldgHVACCfgTemplateDesiredTemp, bldgHVACCfgTemplateCoolOrHeat=bldgHVACCfgTemplateCoolOrHeat, bldgHVACCfgTemplateInfo=bldgHVACCfgTemplateInfo, bldgHVACCfgTemplateOwner=bldgHVACCfgTemplateOwner, bldgHVACCfgTemplateStorage=bldgHVACCfgTemplateStorage, bldgHVACCfgTemplateStatus=bldgHVACCfgTemplateStatus, bldgConformance=bldgConformance, bldgCompliances=bldgCompliances, bldgGroups=bldgGroups) # Groups mibBuilder.exportSymbols("BLDG-HVAC-MIB", bldgHVACObjectsGroup=bldgHVACObjectsGroup) # Compliances mibBuilder.exportSymbols("BLDG-HVAC-MIB", bldgCompliance=bldgCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/GSMP-MIB.py0000644000014400001440000014177611736645136020223 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python GSMP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:02 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AtmVcIdentifier, AtmVpIdentifier, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmVcIdentifier", "AtmVpIdentifier") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( ZeroBasedCounter32, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") # Types class GsmpLabelType(OctetString): pass class GsmpNameType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(6,6) fixedLength = 6 class GsmpPartitionIdType(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,1) fixedLength = 1 class GsmpPartitionType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,1,) namedValues = NamedValues(("noPartition", 1), ("fixedPartitionRequest", 2), ("fixedPartitionAssigned", 3), ) class GsmpVersion(Unsigned32): pass # Objects gsmpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 98)).setRevisions(("2002-05-31 00:00",)) if mibBuilder.loadTexts: gsmpMIB.setOrganization("General Switch Management Protocol (gsmp)\nWorking Group, IETF") if mibBuilder.loadTexts: gsmpMIB.setContactInfo("WG Charter:\nhttp://www.ietf.org/html.charters/gsmp-charter.html\n\nWG-email: gsmp@ietf.org\nSubscribe: gsmp-request@ietf.org\nEmail Archive:\nftp://ftp.ietf.org/ietf-mail-archive/gsmp/\n\nWG Chair: Avri Doria\nEmail: avri@acm.org\n\nWG Chair: Kenneth Sundell\nEmail: ksundell@nortelnetworks.com\n\nEditor: Hans Sjostrand\nEmail: hans@ipunplugged.com\n\n\n\n\nEditor: Joachim Buerkle\nEmail: joachim.buerkle@nortelnetworks.com\n\nEditor: Balaji Srinivasan\nEmail: balaji@cplane.com") if mibBuilder.loadTexts: gsmpMIB.setDescription("This MIB contains managed object definitions for the\nGeneral Switch Management Protocol, GSMP, version 3") gsmpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 98, 0)) gsmpObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 98, 1)) gsmpControllerTable = MibTable((1, 3, 6, 1, 2, 1, 98, 1, 1)) if mibBuilder.loadTexts: gsmpControllerTable.setDescription("This table represents the Switch Controller\nEntities. An entry in this table needs to be configured\n(created) before a GSMP session might be started.") gsmpControllerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 98, 1, 1, 1)).setIndexNames((0, "GSMP-MIB", "gsmpControllerEntityId")) if mibBuilder.loadTexts: gsmpControllerEntry.setDescription("An entry in the table showing\nthe data for a specific Switch Controller\nEntity. If partitions are used, one entity\ncorresponds to one specific switch partition.\nDepending of the encapsulation used,\na corresponding row in the gsmpAtmEncapTable or the\ngsmpTcpIpEncapTable may have been created.") gsmpControllerEntityId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 1), GsmpNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: gsmpControllerEntityId.setDescription("The Switch Controller Entity Id is unique\nwithin the operational context of the device.") gsmpControllerMaxVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 2), GsmpVersion().clone('3')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerMaxVersion.setDescription("The max version number of the GSMP protocol being used\nin this session. The version is negotiated by the\nadjacency protocol.") gsmpControllerTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerTimer.setDescription("The timer specifies the nominal time between\nperiodic adjacency protocol messages. It is a constant\nfor the duration of a GSMP session. The timer is\nspecified in units of 100ms.") gsmpControllerPort = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerPort.setDescription("The local port number for the Switch Controller\nEntity.") gsmpControllerInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpControllerInstance.setDescription("The instance number for the Switch Controller\nEntity. The Instance number is a 24-bit number\nthat should be guaranteed to be unique within\nthe recent past and to change when the link\nor node comes back up after going down. Zero is\nnot a valid instance number. ") gsmpControllerPartitionType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 6), GsmpPartitionType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerPartitionType.setDescription("A controller can request the specific partition identifier\nto the session by setting the Partition Type to\nfixedPartitionRequest(2). A controller can let the switch\ndecide whether it wants to assign a fixed partition ID or\n\n\n\nnot, by setting the Partition Type to noPartition(1).") gsmpControllerPartitionId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 7), GsmpPartitionIdType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerPartitionId.setDescription("The Id for the specific switch partition that this\nSwitch Controller is concerned with.\nIf partitions are not used or if the controller lets the\nswitch assigns Partition ID, i.e Partition Type =\nnoPartition(1), then this object is undefined.") gsmpControllerDoResync = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 8), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerDoResync.setDescription("This object specifies whether the controller should\nresynchronise or reset in case of loss of synchronisation.\nIf this object is set to true then the Controller should\nresync with PFLAG=2 (recovered adjacency).") gsmpControllerNotificationMap = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 9), Bits().subtype(namedValues=NamedValues(("sessionDown", 0), ("sessionUp", 1), ("sendFailureIndication", 2), ("receivedFailureIndication", 3), ("portUpEvent", 4), ("portDownEvent", 5), ("invalidLabelEvent", 6), ("newPortEvent", 7), ("deadPortEvent", 8), ("adjacencyUpdateEvent", 9), )).clone(("sessionDown","sessionUp","sendFailureIndication","receivedFailureIndication",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerNotificationMap.setDescription("This bitmap defines whether a corresponding SNMP\nnotification should be sent if a GSMP event is received\nby the Switch Controller. If the bit is set to 1 a\nnotification should be sent. The handling and filtering of\nthe SNMP notifications are then further specified in the\n\n\n\nSNMP notification originator application. ") gsmpControllerSessionState = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("null", 1), ("synsent", 2), ("synrcvd", 3), ("estab", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpControllerSessionState.setDescription("The state for the existing or potential session that\nthis entity is concerned with.\nThe NULL state is returned if the proper encapsulation\ndata is not yet configured, if the row is not in active\nstatus or if the session is in NULL state as defined in\nthe GSMP specification.") gsmpControllerStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 11), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerStorageType.setDescription("The storage type for this controller entity.\nConceptual rows having the value 'permanent' need not allow\nwrite-access to any columnar objects in the row.") gsmpControllerRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 1, 1, 12), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpControllerRowStatus.setDescription("An object that allows entries in this table to\nbe created and deleted using the\nRowStatus convention.\nWhile the row is in active state it's not\npossible to modify the value of any object\nfor that row except the gsmpControllerNotificationMap\nand the gsmpControllerRowStatus objects.") gsmpSwitchTable = MibTable((1, 3, 6, 1, 2, 1, 98, 1, 2)) if mibBuilder.loadTexts: gsmpSwitchTable.setDescription("This table represents the Switch\nEntities. An entry in this table needs to be configured\n(created) before a GSMP session might be started.") gsmpSwitchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 98, 1, 2, 1)).setIndexNames((0, "GSMP-MIB", "gsmpSwitchEntityId")) if mibBuilder.loadTexts: gsmpSwitchEntry.setDescription("An entry in the table showing\nthe data for a specific Switch\nEntity. If partitions are used, one entity\ncorresponds to one specific switch partition.\nDepending of the encapsulation used,\na corresponding row in the gsmpAtmEncapTable or the\ngsmpTcpIpEncapTable may have been created.") gsmpSwitchEntityId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 1), GsmpNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: gsmpSwitchEntityId.setDescription("The Switch Entity Id is unique\nwithin the operational context of the device. ") gsmpSwitchMaxVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 2), GsmpVersion().clone('3')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchMaxVersion.setDescription("The max version number of the GSMP protocol being\nsupported by this Switch. The version is negotiated by\nthe adjacency protocol.") gsmpSwitchTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchTimer.setDescription("The timer specifies the nominal time between\nperiodic adjacency protocol messages. It is a constant\nfor the duration of a GSMP session. The timer is\nspecified in units of 100ms.") gsmpSwitchName = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 4), GsmpNameType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchName.setDescription("The name of the Switch. The first three octets must be an\nOrganisationally Unique Identifier (OUI) that identifies\nthe manufacturer of the Switch. This is by default set to\nthe same value as the gsmpSwitchId object if not\nseparately specified. ") gsmpSwitchPort = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchPort.setDescription("The local port number for this Switch Entity.") gsmpSwitchInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSwitchInstance.setDescription("The instance number for the Switch Entity.\nThe Instance number is a 24-bit number\nthat should be guaranteed to be unique within\nthe recent past and to change when the link\nor node comes back up after going down. Zero is\nnot a valid instance number.") gsmpSwitchPartitionType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 7), GsmpPartitionType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchPartitionType.setDescription("A switch can assign the specific partition identifier to\nthe session by setting the Partition Type to\nfixedPartitionAssigned(3). A switch can specify\nthat no partitions are handled in the session by setting\nthe Partition Type to noPartition(1).") gsmpSwitchPartitionId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 8), GsmpPartitionIdType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchPartitionId.setDescription("The Id for this specific switch partition that the switch\nentity represents. If partitions are not used, i.e.\nPartition Type = noPartition(1), then this object is\nundefined.") gsmpSwitchNotificationMap = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 9), Bits().subtype(namedValues=NamedValues(("sessionDown", 0), ("sessionUp", 1), ("sendFailureIndication", 2), ("receivedFailureIndication", 3), ("portUpEvent", 4), ("portDownEvent", 5), ("invalidLabelEvent", 6), ("newPortEvent", 7), ("deadPortEvent", 8), ("adjacencyUpdateEvent", 9), )).clone(("sessionDown","sessionUp","sendFailureIndication","receivedFailureIndication",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchNotificationMap.setDescription("This bitmap defines whether a corresponding SNMP\nnotification should be sent if an GSMP event is sent\nby the Switch Entity. If the bit is set to 1 a\nnotification should be sent. The handling and filtering of\nthe SNMP notifications are then further specified in the\nSNMP notification originator application. ") gsmpSwitchSwitchType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchSwitchType.setDescription("A 16-bit field allocated by the manufacturer\nof the switch. The Switch Type\nidentifies the product. When the Switch Type is combined\nwith the OUI from the Switch Name the product is\nuniquely identified. ") gsmpSwitchWindowSize = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchWindowSize.setDescription("The maximum number of unacknowledged request messages\nthat may be transmitted by the controller without the\npossibility of loss. This field is used to prevent\nrequest messages from being lost in the switch because of\noverflow in the receive buffer. The field is a hint to\nthe controller.") gsmpSwitchSessionState = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("null", 1), ("synsent", 2), ("synrcvd", 3), ("estab", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSwitchSessionState.setDescription("The state for the existing or potential session that\nthis entity is concerned with.\nThe NULL state is returned if the proper encapsulation\ndata is not yet configured, if the row is not in active\nstatus or if the session is in NULL state as defined in\nthe GSMP specification.") gsmpSwitchStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 13), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchStorageType.setDescription("The storage type for this switch entity.\nConceptual rows having the value 'permanent' need not allow\nwrite-access to any columnar objects in the row.") gsmpSwitchRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 2, 1, 14), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpSwitchRowStatus.setDescription("An object that allows entries in this table to\nbe created and deleted using the\nRowStatus convention.\nWhile the row is in active state it's not\npossible to modify the value of any object\nfor that row except the gsmpSwitchNotificationMap\nand the gsmpSwitchRowStatus objects.") gsmpAtmEncapTable = MibTable((1, 3, 6, 1, 2, 1, 98, 1, 3)) if mibBuilder.loadTexts: gsmpAtmEncapTable.setDescription("This table contains the atm encapsulation data\nfor the Controller or Switch that uses atm aal5 as\nencapsulation. ") gsmpAtmEncapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 98, 1, 3, 1)).setIndexNames((0, "GSMP-MIB", "gsmpAtmEncapEntityId")) if mibBuilder.loadTexts: gsmpAtmEncapEntry.setDescription("An entry in the table showing\nthe encapsulation data for a specific\nSwitch Controller entity or Switch entity.") gsmpAtmEncapEntityId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 3, 1, 1), GsmpNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: gsmpAtmEncapEntityId.setDescription("The Controller Id or Switch Id that is unique\nwithin the operational context of the device. ") gsmpAtmEncapIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 3, 1, 2), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpAtmEncapIfIndex.setDescription("The interface index for the virtual channel over which\nthe GSMP session is established, i.e., the GSMP control\nchannel for LLC/SNAP encapsulated GSMP messages on an\nATM data link layer.") gsmpAtmEncapVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 3, 1, 3), AtmVpIdentifier().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpAtmEncapVpi.setDescription(" The VPI value for the virtual channel over which the\nGSMP session is established, i.e., the GSMP control\nchannel for LLC/SNAP encapsulated GSMP messages on an\nATM data link layer.") gsmpAtmEncapVci = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 3, 1, 4), AtmVcIdentifier().clone('15')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpAtmEncapVci.setDescription(" The VCI value for the virtual channel over which the\nGSMP session is established, i.e., the GSMP control\nchannel for LLC/SNAP encapsulated GSMP messages on an\nATM data link layer.") gsmpAtmEncapStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 3, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpAtmEncapStorageType.setDescription("The storage type for this entry. It should have the same\nvalue as the StorageType in the referring Switch\nController entity or Switch entity.") gsmpAtmEncapRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 3, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpAtmEncapRowStatus.setDescription("An object that allows entries in this table to\nbe created and deleted using the\nRowStatus convention.\nWhile the row is in active state it's not\npossible to modify the value of any object\nfor that row except the gsmpAtmEncapRowStatus object.") gsmpTcpIpEncapTable = MibTable((1, 3, 6, 1, 2, 1, 98, 1, 4)) if mibBuilder.loadTexts: gsmpTcpIpEncapTable.setDescription("This table contains the encapsulation data\nfor the Controller or Switch that uses TCP/IP as\nencapsulation.") gsmpTcpIpEncapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 98, 1, 4, 1)).setIndexNames((0, "GSMP-MIB", "gsmpTcpIpEncapEntityId")) if mibBuilder.loadTexts: gsmpTcpIpEncapEntry.setDescription("An entry in the table showing\nthe encapsulation data for a specific\nSwitch Controller entity or Switch entity.") gsmpTcpIpEncapEntityId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 4, 1, 1), GsmpNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: gsmpTcpIpEncapEntityId.setDescription("The Controller or Switch Id is unique\nwithin the operational context of the device. ") gsmpTcpIpEncapAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 4, 1, 2), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpTcpIpEncapAddressType.setDescription("The type of address in gsmpTcpIpEncapAddress.") gsmpTcpIpEncapAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 4, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpTcpIpEncapAddress.setDescription("The IPv4 or IPv6 address used for\nthe GSMP session peer.") gsmpTcpIpEncapPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 4, 1, 4), InetPortNumber().clone('6068')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpTcpIpEncapPortNumber.setDescription("The TCP port number used for the TCP session\nestablishment to the GSMP peer.") gsmpTcpIpEncapStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 4, 1, 5), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpTcpIpEncapStorageType.setDescription("The storage type for this entry. It should have the same\nvalue as the StorageType in the referring Switch\nController entity or Switch entity.") gsmpTcpIpEncapRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 4, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gsmpTcpIpEncapRowStatus.setDescription("An object that allows entries in this table to\nbe created and deleted using the\nRowStatus convention.\nWhile the row is in active state it's not\npossible to modify the value of any object\nfor that row except the gsmpTcpIpEncapRowStatus object.") gsmpSessionTable = MibTable((1, 3, 6, 1, 2, 1, 98, 1, 5)) if mibBuilder.loadTexts: gsmpSessionTable.setDescription("This table represents the sessions between\nController and Switch pairs. ") gsmpSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 98, 1, 5, 1)).setIndexNames((0, "GSMP-MIB", "gsmpSessionThisSideId"), (0, "GSMP-MIB", "gsmpSessionFarSideId")) if mibBuilder.loadTexts: gsmpSessionEntry.setDescription("An entry in the table showing\nthe session data for a specific Controller and\nSwitch pair. Also, statistics for this specific\nsession is shown.") gsmpSessionThisSideId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 1), GsmpNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: gsmpSessionThisSideId.setDescription("This side ID uniquely identifies the entity that this\nsession relates to within the operational\ncontext of the device. ") gsmpSessionFarSideId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 2), GsmpNameType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: gsmpSessionFarSideId.setDescription("The Far side ID uniquely identifies the entity that this\nsession is established against. ") gsmpSessionVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 3), GsmpVersion()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionVersion.setDescription("The version number of the GSMP protocol being used in\nthis session. The version is the result of the\nnegotiation by the adjacency protocol.") gsmpSessionTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionTimer.setDescription("The timer specifies the time remaining until the\nadjacency timer expires. The object could take negative\nvalues since if no valid GSMP messages are\nreceived in any period of time in excess of three times\nthe value of the Timer negotiated by the adjacency\nprotocol loss of synchronisation may be declared. The\ntimer is specified in units of 100ms.") gsmpSessionPartitionId = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 5), GsmpPartitionIdType()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionPartitionId.setDescription("The Partition Id for the specific switch partition that\nthis session is concerned with.") gsmpSessionAdjacencyCount = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionAdjacencyCount.setDescription("This object specifies the current number of adjacencies\nthat are established with controllers and the switch\npartition that is used for this session. The value\nincludes this session.") gsmpSessionFarSideName = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 7), GsmpNameType()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionFarSideName.setDescription("The name of the far side as advertised in the adjacency\nmessage.") gsmpSessionFarSidePort = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionFarSidePort.setDescription("The local port number of the link across which the\nmessage is being sent.") gsmpSessionFarSideInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionFarSideInstance.setDescription("The instance number used for the link during this\nsession. The Instance number is a 24-bit number\nthat should be guaranteed to be unique within\n\n\n\nthe recent past and to change when the link\nor node comes back up after going down. Zero is not\na valid instance number.") gsmpSessionLastFailureCode = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionLastFailureCode.setDescription("This is the last failure code that was received over\nthis session. If no failure code have been received, the\nvalue is zero.") gsmpSessionDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich one or more of this session's counters\nsuffered a discontinuity. If no such discontinuities have\noccurred since then, this object contains the same\ntimestamp as gsmpSessionStartUptime .") gsmpSessionStartUptime = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 12), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStartUptime.setDescription(" The value of sysUpTime when the session came to\nestablished state.") gsmpSessionStatSentMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 13), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatSentMessages.setDescription("The number of messages that have been sent in this\nsession. All GSMP messages pertaining to this session after\nthe session came to established state SHALL\nbe counted, also including adjacency protocol messages\nand failure response messages.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\n\n\n\nhappened.") gsmpSessionStatFailureInds = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 14), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatFailureInds.setDescription("The number of messages that have been sent with a\nfailure indication in this session. Warning messages\nSHALL NOT be counted.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatReceivedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 15), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatReceivedMessages.setDescription("The number of messages that have been received in\nthis session. All legal GSMP messages pertaining to this\nsession after the session came to established state SHALL\nbe counted, also including adjacency protocol messages\nand failure response messages.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatReceivedFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 16), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatReceivedFailures.setDescription("The number of messages that have been received in\nthis session with a failure indication. Warning messages\nSHALL NOT be counted.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatPortUpEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 17), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatPortUpEvents.setDescription("The number of Port Up events that have been sent or\nreceived on this session.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatPortDownEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 18), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatPortDownEvents.setDescription("The number of Port Down events that have been sent or\nreceived on this session.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatInvLabelEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 19), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatInvLabelEvents.setDescription("The number of Invalid label events that have been sent\nor received on this session.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatNewPortEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 20), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatNewPortEvents.setDescription("The number of New Port events that have been sent or\n\n\n\nreceived on this session.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatDeadPortEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 21), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatDeadPortEvents.setDescription("The number of Dead Port events that have been sent or\nreceived on this session.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpSessionStatAdjUpdateEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 98, 1, 5, 1, 22), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gsmpSessionStatAdjUpdateEvents.setDescription("The number of Adjacency Update events that have been sent\nor received on this session.\nWhen the counter suffers any discontinuity, then\nthe gsmpSessionDiscontinuityTime object indicates when it\nhappened.") gsmpNotificationsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 98, 2)) gsmpEventPort = MibScalar((1, 3, 6, 1, 2, 1, 98, 2, 1), Unsigned32()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: gsmpEventPort.setDescription("This object specifies the Port Number that is\ncarried in this event.") gsmpEventPortSessionNumber = MibScalar((1, 3, 6, 1, 2, 1, 98, 2, 2), Unsigned32()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: gsmpEventPortSessionNumber.setDescription("This object specifies the Port Session Number that is\ncarried in this event.") gsmpEventSequenceNumber = MibScalar((1, 3, 6, 1, 2, 1, 98, 2, 3), Unsigned32()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: gsmpEventSequenceNumber.setDescription("This object specifies the Event Sequence Number that is\ncarried in this event.") gsmpEventLabel = MibScalar((1, 3, 6, 1, 2, 1, 98, 2, 4), GsmpLabelType()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: gsmpEventLabel.setDescription("This object specifies the Label that is\ncarried in this event.") gsmpConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 98, 3)) gsmpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 98, 3, 1)) gsmpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 98, 3, 2)) # Augmentions # Notifications gsmpSessionDown = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 1)).setObjects(*(("GSMP-MIB", "gsmpSessionStatPortUpEvents"), ("GSMP-MIB", "gsmpSessionStatReceivedMessages"), ("GSMP-MIB", "gsmpSessionStatNewPortEvents"), ("GSMP-MIB", "gsmpSessionStatFailureInds"), ("GSMP-MIB", "gsmpSessionStatReceivedFailures"), ("GSMP-MIB", "gsmpSessionStatSentMessages"), ("GSMP-MIB", "gsmpSessionStartUptime"), ("GSMP-MIB", "gsmpSessionStatInvLabelEvents"), ("GSMP-MIB", "gsmpSessionStatAdjUpdateEvents"), ("GSMP-MIB", "gsmpSessionStatPortDownEvents"), ("GSMP-MIB", "gsmpSessionStatDeadPortEvents"), ) ) if mibBuilder.loadTexts: gsmpSessionDown.setDescription("When it has been enabled, this notification is\ngenerated whenever a session is taken down, regardless\nof whether the session went down normally or not.\nIts purpose is to allow a management application\n(primarily an accounting application) that is\nmonitoring the session statistics to receive the final\nvalues of these counters, so that the application can\nproperly account for the amounts the counters were\nincremented since the last time the application polled\nthem. The gsmpSessionStartUptime object provides the\ntotal amount of time that the session was active.\n\nThis notification is not a substitute for polling the\nsession statistic counts. In particular, the count\nvalues reported in this notification cannot be assumed\nto be the complete totals for the life of the session,\nsince they may have wrapped while the\nsession was up.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifiers of the objects contained in the\nnotification.\nAn instance of this notification will contain exactly\none instance of each of its objects, and these objects\nwill all belong to the same conceptual row of the\ngsmpSessionTable.") gsmpSessionUp = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 2)).setObjects(*(("GSMP-MIB", "gsmpSessionFarSideInstance"), ) ) if mibBuilder.loadTexts: gsmpSessionUp.setDescription("When it has been enabled, this notification is\ngenerated when new session is established.\n\nThe new session is identified by the gsmpSessionThisSideId\nand gsmpSessionFarSideId which could be inferred from the\nObject Identifier of the gsmpSessionFarSideInstance object\n\n\n\ncontained in the notification.") gsmpSentFailureInd = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 3)).setObjects(*(("GSMP-MIB", "gsmpSessionLastFailureCode"), ("GSMP-MIB", "gsmpSessionStatFailureInds"), ) ) if mibBuilder.loadTexts: gsmpSentFailureInd.setDescription("When it has been enabled, this notification is\ngenerated when a message with a failure indication was\nsent.\n\nThe notification indicates a change in the value of\ngsmpSessionStatFailureInds. The\ngsmpSessionLastFailureCode contains the failure\nreason.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifiers of the objects contained in the\nnotification.") gsmpReceivedFailureInd = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 4)).setObjects(*(("GSMP-MIB", "gsmpSessionLastFailureCode"), ("GSMP-MIB", "gsmpSessionStatReceivedFailures"), ) ) if mibBuilder.loadTexts: gsmpReceivedFailureInd.setDescription("When it has been enabled, this notification is\ngenerate when a message with a failure indication\nis received.\n\nThe notification indicates a change in the value of\ngsmpSessionStatReceivedFailures. The\ngsmpSessionLastFailureCode contains the failure\nreason.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifiers of the objects contained in the\nnotification.") gsmpPortUpEvent = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 5)).setObjects(*(("GSMP-MIB", "gsmpEventPortSessionNumber"), ("GSMP-MIB", "gsmpSessionStatPortUpEvents"), ("GSMP-MIB", "gsmpEventSequenceNumber"), ("GSMP-MIB", "gsmpEventPort"), ) ) if mibBuilder.loadTexts: gsmpPortUpEvent.setDescription("When it has been enabled, this notification is\ngenerated when a Port Up Event occurs.\n\nThe notification indicates a change in the value of\ngsmpSessionStatPortUpEvents.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifier of the gsmpSessionStatPortUpEvents\nobject contained in the notification.") gsmpPortDownEvent = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 6)).setObjects(*(("GSMP-MIB", "gsmpEventPortSessionNumber"), ("GSMP-MIB", "gsmpEventSequenceNumber"), ("GSMP-MIB", "gsmpSessionStatPortDownEvents"), ("GSMP-MIB", "gsmpEventPort"), ) ) if mibBuilder.loadTexts: gsmpPortDownEvent.setDescription("When it has been enabled, this notification is\ngenerated when a Port Down Event occurs.\n\nThe notification indicates a change in the value of\ngsmpSessionStatPortDownEvents.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifier of the gsmpSessionStatPortDownEvents\nobject contained in the notification.") gsmpInvalidLabelEvent = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 7)).setObjects(*(("GSMP-MIB", "gsmpEventLabel"), ("GSMP-MIB", "gsmpEventSequenceNumber"), ("GSMP-MIB", "gsmpSessionStatInvLabelEvents"), ("GSMP-MIB", "gsmpEventPort"), ) ) if mibBuilder.loadTexts: gsmpInvalidLabelEvent.setDescription("When it has been enabled, this notification is\ngenerated when an Invalid Label Event occurs.\n\nThe notification indicates a change in the value of\ngsmpSessionStatInvLabelEvents.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifier of the gsmpSessionStatInvLabelEvents\nobject contained in the notification.") gsmpNewPortEvent = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 8)).setObjects(*(("GSMP-MIB", "gsmpEventPortSessionNumber"), ("GSMP-MIB", "gsmpSessionStatNewPortEvents"), ("GSMP-MIB", "gsmpEventSequenceNumber"), ("GSMP-MIB", "gsmpEventPort"), ) ) if mibBuilder.loadTexts: gsmpNewPortEvent.setDescription("When it has been enabled, this notification is\ngenerated when a New Port Event occurs.\n\nThe notification indicates a change in the value of\ngsmpSessionStatNewPortEvents.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifier of the gsmpSessionStatNewPortEvents\nobject contained in the notification.") gsmpDeadPortEvent = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 9)).setObjects(*(("GSMP-MIB", "gsmpEventSequenceNumber"), ("GSMP-MIB", "gsmpEventPortSessionNumber"), ("GSMP-MIB", "gsmpSessionStatDeadPortEvents"), ("GSMP-MIB", "gsmpEventPort"), ) ) if mibBuilder.loadTexts: gsmpDeadPortEvent.setDescription("When it has been enabled, this notification is\ngenerated when a Dead Port Event occurs.\n\nThe notification indicates a change in the value of\ngsmpSessionStatDeadPortEvents.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifier of the gsmpSessionStatDeadPortEvents\nobject contained in the notification.") gsmpAdjacencyUpdateEvent = NotificationType((1, 3, 6, 1, 2, 1, 98, 0, 10)).setObjects(*(("GSMP-MIB", "gsmpSessionAdjacencyCount"), ("GSMP-MIB", "gsmpSessionStatAdjUpdateEvents"), ("GSMP-MIB", "gsmpEventSequenceNumber"), ) ) if mibBuilder.loadTexts: gsmpAdjacencyUpdateEvent.setDescription("When it has been enabled, this notification is\ngenerated when an Adjacency Update Event occurs.\n\nThe gsmpSessionAdjacencyCount contains the new value of\nthe number of adjacencies\nthat are established with controllers and the switch\npartition that is used for this session.\n\nThe notification indicates a change in the value of\ngsmpSessionStatAdjUpdateEvents.\n\nThe session to which this notification\napplies is identified by the gsmpSessionThisSideId and\ngsmpSessionFarSideId which could be inferred from the\nObject Identifier of the gsmpSessionAdjacencyCount\nor the gsmpSessionStatAdjUpdateEvents object contained\nin the notification.") # Groups gsmpGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 98, 3, 1, 1)).setObjects(*(("GSMP-MIB", "gsmpSessionLastFailureCode"), ("GSMP-MIB", "gsmpSessionStartUptime"), ("GSMP-MIB", "gsmpSessionStatReceivedMessages"), ("GSMP-MIB", "gsmpSessionFarSidePort"), ("GSMP-MIB", "gsmpSessionStatDeadPortEvents"), ("GSMP-MIB", "gsmpSessionTimer"), ("GSMP-MIB", "gsmpSessionStatNewPortEvents"), ("GSMP-MIB", "gsmpSessionStatPortDownEvents"), ("GSMP-MIB", "gsmpSessionPartitionId"), ("GSMP-MIB", "gsmpSessionFarSideName"), ("GSMP-MIB", "gsmpSessionFarSideInstance"), ("GSMP-MIB", "gsmpSessionStatAdjUpdateEvents"), ("GSMP-MIB", "gsmpSessionStatPortUpEvents"), ("GSMP-MIB", "gsmpSessionStatFailureInds"), ("GSMP-MIB", "gsmpSessionStatInvLabelEvents"), ("GSMP-MIB", "gsmpSessionDiscontinuityTime"), ("GSMP-MIB", "gsmpSessionAdjacencyCount"), ("GSMP-MIB", "gsmpSessionStatReceivedFailures"), ("GSMP-MIB", "gsmpSessionVersion"), ("GSMP-MIB", "gsmpSessionStatSentMessages"), ) ) if mibBuilder.loadTexts: gsmpGeneralGroup.setDescription("Objects that apply to all GSMP implementations.") gsmpControllerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 98, 3, 1, 2)).setObjects(*(("GSMP-MIB", "gsmpControllerPort"), ("GSMP-MIB", "gsmpControllerTimer"), ("GSMP-MIB", "gsmpControllerPartitionId"), ("GSMP-MIB", "gsmpControllerRowStatus"), ("GSMP-MIB", "gsmpControllerSessionState"), ("GSMP-MIB", "gsmpControllerStorageType"), ("GSMP-MIB", "gsmpControllerDoResync"), ("GSMP-MIB", "gsmpControllerNotificationMap"), ("GSMP-MIB", "gsmpControllerPartitionType"), ("GSMP-MIB", "gsmpControllerMaxVersion"), ("GSMP-MIB", "gsmpControllerInstance"), ) ) if mibBuilder.loadTexts: gsmpControllerGroup.setDescription("Objects that apply GSMP implementations of\nSwitch Controllers.") gsmpSwitchGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 98, 3, 1, 3)).setObjects(*(("GSMP-MIB", "gsmpSwitchSwitchType"), ("GSMP-MIB", "gsmpSwitchRowStatus"), ("GSMP-MIB", "gsmpSwitchInstance"), ("GSMP-MIB", "gsmpSwitchSessionState"), ("GSMP-MIB", "gsmpSwitchNotificationMap"), ("GSMP-MIB", "gsmpSwitchPort"), ("GSMP-MIB", "gsmpSwitchTimer"), ("GSMP-MIB", "gsmpSwitchMaxVersion"), ("GSMP-MIB", "gsmpSwitchStorageType"), ("GSMP-MIB", "gsmpSwitchPartitionId"), ("GSMP-MIB", "gsmpSwitchName"), ("GSMP-MIB", "gsmpSwitchPartitionType"), ("GSMP-MIB", "gsmpSwitchWindowSize"), ) ) if mibBuilder.loadTexts: gsmpSwitchGroup.setDescription("Objects that apply GSMP implementations of\nSwitches.") gsmpAtmEncapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 98, 3, 1, 4)).setObjects(*(("GSMP-MIB", "gsmpAtmEncapIfIndex"), ("GSMP-MIB", "gsmpAtmEncapVci"), ("GSMP-MIB", "gsmpAtmEncapVpi"), ("GSMP-MIB", "gsmpAtmEncapStorageType"), ("GSMP-MIB", "gsmpAtmEncapRowStatus"), ) ) if mibBuilder.loadTexts: gsmpAtmEncapGroup.setDescription("Objects that apply to GSMP implementations that\nsupports ATM for GSMP encapsulation.") gsmpTcpIpEncapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 98, 3, 1, 5)).setObjects(*(("GSMP-MIB", "gsmpTcpIpEncapAddress"), ("GSMP-MIB", "gsmpTcpIpEncapPortNumber"), ("GSMP-MIB", "gsmpTcpIpEncapAddressType"), ("GSMP-MIB", "gsmpTcpIpEncapStorageType"), ("GSMP-MIB", "gsmpTcpIpEncapRowStatus"), ) ) if mibBuilder.loadTexts: gsmpTcpIpEncapGroup.setDescription("Objects that apply to GSMP implementations that\nsupports TCP/IP for GSMP encapsulation.") gsmpNotificationObjectsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 98, 3, 1, 6)).setObjects(*(("GSMP-MIB", "gsmpEventLabel"), ("GSMP-MIB", "gsmpEventPortSessionNumber"), ("GSMP-MIB", "gsmpEventSequenceNumber"), ("GSMP-MIB", "gsmpEventPort"), ) ) if mibBuilder.loadTexts: gsmpNotificationObjectsGroup.setDescription("Objects that are contained in the notifications.") gsmpNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 98, 3, 1, 7)).setObjects(*(("GSMP-MIB", "gsmpSessionUp"), ("GSMP-MIB", "gsmpPortUpEvent"), ("GSMP-MIB", "gsmpSessionDown"), ("GSMP-MIB", "gsmpReceivedFailureInd"), ("GSMP-MIB", "gsmpSentFailureInd"), ("GSMP-MIB", "gsmpNewPortEvent"), ("GSMP-MIB", "gsmpDeadPortEvent"), ("GSMP-MIB", "gsmpPortDownEvent"), ("GSMP-MIB", "gsmpAdjacencyUpdateEvent"), ("GSMP-MIB", "gsmpInvalidLabelEvent"), ) ) if mibBuilder.loadTexts: gsmpNotificationsGroup.setDescription("The notifications which indicate specific changes\nin the value of objects gsmpSessionTable") # Compliances gsmpModuleCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 98, 3, 2, 1)).setObjects(*(("GSMP-MIB", "gsmpControllerGroup"), ("GSMP-MIB", "gsmpTcpIpEncapGroup"), ("GSMP-MIB", "gsmpNotificationObjectsGroup"), ("GSMP-MIB", "gsmpSwitchGroup"), ("GSMP-MIB", "gsmpAtmEncapGroup"), ("GSMP-MIB", "gsmpGeneralGroup"), ("GSMP-MIB", "gsmpNotificationsGroup"), ) ) if mibBuilder.loadTexts: gsmpModuleCompliance.setDescription("The compliance statement for agents that support\nthe GSMP MIB.") # Exports # Module identity mibBuilder.exportSymbols("GSMP-MIB", PYSNMP_MODULE_ID=gsmpMIB) # Types mibBuilder.exportSymbols("GSMP-MIB", GsmpLabelType=GsmpLabelType, GsmpNameType=GsmpNameType, GsmpPartitionIdType=GsmpPartitionIdType, GsmpPartitionType=GsmpPartitionType, GsmpVersion=GsmpVersion) # Objects mibBuilder.exportSymbols("GSMP-MIB", gsmpMIB=gsmpMIB, gsmpNotifications=gsmpNotifications, gsmpObjects=gsmpObjects, gsmpControllerTable=gsmpControllerTable, gsmpControllerEntry=gsmpControllerEntry, gsmpControllerEntityId=gsmpControllerEntityId, gsmpControllerMaxVersion=gsmpControllerMaxVersion, gsmpControllerTimer=gsmpControllerTimer, gsmpControllerPort=gsmpControllerPort, gsmpControllerInstance=gsmpControllerInstance, gsmpControllerPartitionType=gsmpControllerPartitionType, gsmpControllerPartitionId=gsmpControllerPartitionId, gsmpControllerDoResync=gsmpControllerDoResync, gsmpControllerNotificationMap=gsmpControllerNotificationMap, gsmpControllerSessionState=gsmpControllerSessionState, gsmpControllerStorageType=gsmpControllerStorageType, gsmpControllerRowStatus=gsmpControllerRowStatus, gsmpSwitchTable=gsmpSwitchTable, gsmpSwitchEntry=gsmpSwitchEntry, gsmpSwitchEntityId=gsmpSwitchEntityId, gsmpSwitchMaxVersion=gsmpSwitchMaxVersion, gsmpSwitchTimer=gsmpSwitchTimer, gsmpSwitchName=gsmpSwitchName, gsmpSwitchPort=gsmpSwitchPort, gsmpSwitchInstance=gsmpSwitchInstance, gsmpSwitchPartitionType=gsmpSwitchPartitionType, gsmpSwitchPartitionId=gsmpSwitchPartitionId, gsmpSwitchNotificationMap=gsmpSwitchNotificationMap, gsmpSwitchSwitchType=gsmpSwitchSwitchType, gsmpSwitchWindowSize=gsmpSwitchWindowSize, gsmpSwitchSessionState=gsmpSwitchSessionState, gsmpSwitchStorageType=gsmpSwitchStorageType, gsmpSwitchRowStatus=gsmpSwitchRowStatus, gsmpAtmEncapTable=gsmpAtmEncapTable, gsmpAtmEncapEntry=gsmpAtmEncapEntry, gsmpAtmEncapEntityId=gsmpAtmEncapEntityId, gsmpAtmEncapIfIndex=gsmpAtmEncapIfIndex, gsmpAtmEncapVpi=gsmpAtmEncapVpi, gsmpAtmEncapVci=gsmpAtmEncapVci, gsmpAtmEncapStorageType=gsmpAtmEncapStorageType, gsmpAtmEncapRowStatus=gsmpAtmEncapRowStatus, gsmpTcpIpEncapTable=gsmpTcpIpEncapTable, gsmpTcpIpEncapEntry=gsmpTcpIpEncapEntry, gsmpTcpIpEncapEntityId=gsmpTcpIpEncapEntityId, gsmpTcpIpEncapAddressType=gsmpTcpIpEncapAddressType, gsmpTcpIpEncapAddress=gsmpTcpIpEncapAddress, gsmpTcpIpEncapPortNumber=gsmpTcpIpEncapPortNumber, gsmpTcpIpEncapStorageType=gsmpTcpIpEncapStorageType, gsmpTcpIpEncapRowStatus=gsmpTcpIpEncapRowStatus, gsmpSessionTable=gsmpSessionTable, gsmpSessionEntry=gsmpSessionEntry, gsmpSessionThisSideId=gsmpSessionThisSideId, gsmpSessionFarSideId=gsmpSessionFarSideId, gsmpSessionVersion=gsmpSessionVersion, gsmpSessionTimer=gsmpSessionTimer, gsmpSessionPartitionId=gsmpSessionPartitionId, gsmpSessionAdjacencyCount=gsmpSessionAdjacencyCount, gsmpSessionFarSideName=gsmpSessionFarSideName, gsmpSessionFarSidePort=gsmpSessionFarSidePort, gsmpSessionFarSideInstance=gsmpSessionFarSideInstance, gsmpSessionLastFailureCode=gsmpSessionLastFailureCode, gsmpSessionDiscontinuityTime=gsmpSessionDiscontinuityTime, gsmpSessionStartUptime=gsmpSessionStartUptime, gsmpSessionStatSentMessages=gsmpSessionStatSentMessages, gsmpSessionStatFailureInds=gsmpSessionStatFailureInds, gsmpSessionStatReceivedMessages=gsmpSessionStatReceivedMessages, gsmpSessionStatReceivedFailures=gsmpSessionStatReceivedFailures, gsmpSessionStatPortUpEvents=gsmpSessionStatPortUpEvents, gsmpSessionStatPortDownEvents=gsmpSessionStatPortDownEvents, gsmpSessionStatInvLabelEvents=gsmpSessionStatInvLabelEvents, gsmpSessionStatNewPortEvents=gsmpSessionStatNewPortEvents, gsmpSessionStatDeadPortEvents=gsmpSessionStatDeadPortEvents, gsmpSessionStatAdjUpdateEvents=gsmpSessionStatAdjUpdateEvents, gsmpNotificationsObjects=gsmpNotificationsObjects, gsmpEventPort=gsmpEventPort, gsmpEventPortSessionNumber=gsmpEventPortSessionNumber, gsmpEventSequenceNumber=gsmpEventSequenceNumber, gsmpEventLabel=gsmpEventLabel, gsmpConformance=gsmpConformance, gsmpGroups=gsmpGroups, gsmpCompliances=gsmpCompliances) # Notifications mibBuilder.exportSymbols("GSMP-MIB", gsmpSessionDown=gsmpSessionDown, gsmpSessionUp=gsmpSessionUp, gsmpSentFailureInd=gsmpSentFailureInd, gsmpReceivedFailureInd=gsmpReceivedFailureInd, gsmpPortUpEvent=gsmpPortUpEvent, gsmpPortDownEvent=gsmpPortDownEvent, gsmpInvalidLabelEvent=gsmpInvalidLabelEvent, gsmpNewPortEvent=gsmpNewPortEvent, gsmpDeadPortEvent=gsmpDeadPortEvent, gsmpAdjacencyUpdateEvent=gsmpAdjacencyUpdateEvent) # Groups mibBuilder.exportSymbols("GSMP-MIB", gsmpGeneralGroup=gsmpGeneralGroup, gsmpControllerGroup=gsmpControllerGroup, gsmpSwitchGroup=gsmpSwitchGroup, gsmpAtmEncapGroup=gsmpAtmEncapGroup, gsmpTcpIpEncapGroup=gsmpTcpIpEncapGroup, gsmpNotificationObjectsGroup=gsmpNotificationObjectsGroup, gsmpNotificationsGroup=gsmpNotificationsGroup) # Compliances mibBuilder.exportSymbols("GSMP-MIB", gsmpModuleCompliance=gsmpModuleCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPATM-IPMC-MIB.py0000644000014400001440000026402611736645136021047 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPATM-IPMC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:10 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AtmAddr, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmAddr") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( ipAdEntAddr, ) = mibBuilder.importSymbols("IP-MIB", "ipAdEntAddr") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, snmpModules, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "snmpModules") ( RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue") # Objects marsMIB = ModuleIdentity((1, 3, 6, 1, 6, 3, 17)).setRevisions(("1998-04-15 01:45",)) if mibBuilder.loadTexts: marsMIB.setOrganization("Internetworking Over NBMA (ion) Working Group") if mibBuilder.loadTexts: marsMIB.setContactInfo(" Chris Chung\nPostal: SAIC\n 1710 Goodridge Drive\n Mail Stop 1-4-7\n McLean, VA 22102\nTel: +1 703 448 6485\nFax: +1 703 356 2160\nE-mail: cchung@tieo.saic.com\n\nEditor: Maria Greene\nPostal: Independent Contractor\nE-mail: maria@xedia.com") if mibBuilder.loadTexts: marsMIB.setDescription("This module defines a portion of the managed information\nbase (MIB) for managing classical IP multicast address\nresolution server (MARS) and related entities as\ndescribed in the RFC2022. This MIB is meant to be\nused in conjunction with the ATM-MIB (RFC1695),\nMIB-II (RFC1213), and optionally the IF-MIB (RFC1573).") marsTrapInfo = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 0)) marsClientObjects = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 1)) marsClientTable = MibTable((1, 3, 6, 1, 6, 3, 17, 1, 1)) if mibBuilder.loadTexts: marsClientTable.setDescription("The objects defined in this table are used for\nthe management of MARS clients, ATM attached\nendpoints.") marsClientEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 1, 1, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr"), (0, "IPATM-IPMC-MIB", "marsClientIndex")) if mibBuilder.loadTexts: marsClientEntry.setDescription("Each entry contains a MARS client and its associated\nattributes. An entry in the marsClientTable has\na corresponding entry in the ipAddrTable defined in\nRFC1213. Association between the ipAddrTable and\nthe marsClientTable is made through the index,\nipAdEntAddr.") marsClientIndex = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientIndex.setDescription("The auxiliary variable used to identify instances of\nthe columnar objects in the MARS MarsClientTable.") marsClientAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 2), AtmAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientAddr.setDescription("The ATM address associated with the ATM Client.") marsClientDefaultMarsAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 3), AtmAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientDefaultMarsAddr.setDescription("The default MARS ATM address which is needed to\nsetup the initial signalling path between a MARS\nclient and its associated MARS.") marsClientHsn = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientHsn.setDescription("The cluster membership own 32 bit Host Sequence\nNumber. When a new cluster member starts up, it is\ninitialized to zero. When the cluster member sends\nthe MARS_JOIN to register, the HSN will be correctly\nset to the current cluster sequence number (CSN) when\nthe Client receives the copy of its MARS_JOIN from\nthe MARS. It is is used to track the MARS sequence\nnumber.") marsClientRegistration = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,3,1,5,)).subtype(namedValues=NamedValues(("notRegistered", 1), ("registering", 2), ("registered", 3), ("reRegisteringFault", 4), ("reRegisteringRedirMap", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientRegistration.setDescription("An indication with regards to the registration\nstatus of this client. The registration codes\nof 'notRegistered (1)', 'registered (2)', and\nregistered (3) are self-explanatory. The\n'reRegisteringFault (4)' indicates the client is\nin the process of re-registering with a MARS due\nto some fault conditions. The 'reRegisteringRedMap\n(5)' status code shows that client is re-registering\nbecause it has received a MARS_REDIRECT_MAP message\nand was told to register with a different MARS from\nthe current MARS.") marsClientCmi = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientCmi.setDescription("16 bit Cluster member identifier (CMI) assigned by the\nMARS which uniquely identifies each endpoint attached\nto the cluster. The value becomes valid after the\n'marsClientRegistration' is set to the value\nof 'registered (1)'.") marsClientDefaultMtu = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(9180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientDefaultMtu.setDescription("The default maximum transmission unit (MTU) used for\nthis cluster. Note that the actual size used for a\nVC between two members of the cluster may be negotiated\nduring connection setup and may be different than this\nvalue. Default value = 9180 bytes.") marsClientFailureTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientFailureTimer.setDescription("A timer used to flag the failure of last MARS_MULTI\nto arrive. Default value = 10 seconds (recommended).") marsClientRetranDelayTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientRetranDelayTimer.setDescription("The delay timer for sending out new MARS_REQUEST\nfor the group after the client learned that there\nis no other group in the cluster. The timer must\nbe set between 5 and 10 seconds inclusive.") marsClientRdmMulReqAddRetrTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientRdmMulReqAddRetrTimer.setDescription("The initial random L_MULTI_RQ/ADD retransmit timer\nwhich can be set between 5 and 10 seconds inclusive.") marsClientRdmVcRevalidateTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientRdmVcRevalidateTimer.setDescription("The random time to set VC_revalidate flag. The\ntimer value ranges between 1 and 10 seconds\ninclusive.") marsClientJoinLeaveRetrInterval = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 2147483647)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientJoinLeaveRetrInterval.setDescription("MARS_JOIN/LEAVE retransmit interval. The minimum\nand recommended values are 5 and 10 seconds,\nrespectively.") marsClientJoinLeaveRetrLimit = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientJoinLeaveRetrLimit.setDescription("MARS_JOIN/LEAVE retransmit limit. The maximum\nvalue is 5.") marsClientRegWithMarsRdmTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientRegWithMarsRdmTimer.setDescription("Random time to register with MARS.") marsClientForceWaitTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientForceWaitTimer.setDescription("Force wait if MARS re-registration is looping.\nThe minimum value is 1 minute.") marsClientLmtToMissRedirMapTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientLmtToMissRedirMapTimer.setDescription("Timer limit for client to miss MARS_REDIRECT_MAPS.") marsClientIdleTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientIdleTimer.setDescription("The configurable inactivity timer associated with a\nclient. When a VC is created at this client, it gets\nthe idle timer value from this configurable timer.\nThe minimum suggested value is 1 minute and the\nrecommended default value is 20 minutes.") marsClientRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 1, 1, 18), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nA row cannot be made 'active' until instances of\nall corresponding columns in the row of this table\nare appropriately configured and until the agent\nhas also created a corresponding row in the\nmarsClientStatTable.\n\nWhen this object has a value of 'active', the\nfollowing columnar objects can not be modified:\n\n marsClientDefaultMarsAddr,\n marsClientHsn,\n marsClientRegstration,\n marsClientCmi,\n marsClientDefaultMtu\n\nwhile other objects in this conceptual row can be\nmodified irrespective of the value of this object.\n\nDeletion of this row is allowed regardless of\nwhether or not a row in any associated tables\n(i.e., marsClientVcTable) still exists or is in\nuse. Once this row is deleted, it is recommended\nthat the agent or the SNMP management station\n(if possible) through the set command deletes\nany stale rows that are associated with this\nrow.") marsClientMcGrpTable = MibTable((1, 3, 6, 1, 6, 3, 17, 1, 2)) if mibBuilder.loadTexts: marsClientMcGrpTable.setDescription("This table contains a list of IP multicast group address\nblocks associated with a MARS client. Entries in this\ntable are used by the client that needs to receive or\ntransmit packets from/to the specified range of\nmulticast addresses.\nEach row can be created or deleted via configuration.") marsClientMcGrpEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 1, 2, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr"), (0, "IPATM-IPMC-MIB", "marsClientIndex"), (0, "IPATM-IPMC-MIB", "marsClientMcMinGrpAddr"), (0, "IPATM-IPMC-MIB", "marsClientMcMaxGrpAddr")) if mibBuilder.loadTexts: marsClientMcGrpEntry.setDescription("Each entry represents a consecutive block of multicast\ngroup addresses.") marsClientMcMinGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 2, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientMcMinGrpAddr.setDescription("Minimum multicast group address - the min and max\nmulticast forms multi-group block. If the MinGrpAddr\nand MaxGrpAddr are the same, it indicates that this\nblock contains a single group address.") marsClientMcMaxGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 2, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientMcMaxGrpAddr.setDescription("Maximum multicast group address - the min and max\nmulticast forms a multi-group block. If the MinGrpAddr\nand MaxGrpAddr are the same, it indicates that this\nblock contains a single group address.") marsClientMcGrpRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientMcGrpRowStatus.setDescription("The object is used to create or delete a row in this\ntable.\n\nSince other objects in this row are not-accessible\n'index-objects', the value of this object has no\neffect on whether those objects in this conceptual\nrow can be modified.") marsClientBackupMarsTable = MibTable((1, 3, 6, 1, 6, 3, 17, 1, 3)) if mibBuilder.loadTexts: marsClientBackupMarsTable.setDescription("This table contains a list of backup MARS addresses that\na client can connect to in case of failure for connecting\nto the primary server. The list of addresses is in\ndescending order of preference. It should be noted that\nthe backup list provided by the MARS to the client via\nthe MARS_REDIRECT_MAP message has a higher preference than\naddresses that are manually configured into the client.\nWhen such a list is received from the MARS, this information\nshould be inserted at the top of the list.\nEach row can be created or deleted via configuration.") marsClientBackupMarsEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 1, 3, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr"), (0, "IPATM-IPMC-MIB", "marsClientIndex"), (0, "IPATM-IPMC-MIB", "marsClientBackupMarsPriority"), (0, "IPATM-IPMC-MIB", "marsClientBackupMarsAddr")) if mibBuilder.loadTexts: marsClientBackupMarsEntry.setDescription("Each entry represents an ATM address of a backup MARS.") marsClientBackupMarsPriority = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientBackupMarsPriority.setDescription("The priority associated with a backup MARS. A lower\npriority value inidcates a higher preference.") marsClientBackupMarsAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 3, 1, 2), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientBackupMarsAddr.setDescription("The ATM address associated with a backup MARS.") marsClientBackupMarsRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientBackupMarsRowStatus.setDescription("The object is used to create or delete a row in this\ntable.\n\nSince other objects in this row are not-accessible\n'index-objects', the value of this object has no effect\non whether those objects in this conceptual row can be\nmodified.") marsClientVcTable = MibTable((1, 3, 6, 1, 6, 3, 17, 1, 4)) if mibBuilder.loadTexts: marsClientVcTable.setDescription("This table contains information about open virtual\ncircuits (VCs) that a client has. For point to point\ncircuit, each entry represents a single VC connection\nbetween this client ATM address to another party ATM\naddress. In the case of point to multipoint connection\nwhere a single source address is associated with\nmultiple destinations, several entries are used to\nrepresent the relationship. An example of point to\nmulti-point VC represented in a table is shown below.\n\n Client VPI/VCI Grp Addr1/Addr2 Part Addr\n 1 0,1 g1,g2 p1\n 1 0,1 g1,g2 p2\n 1 0,1 g1,g2 p3\n\nNote: This table assumes the IP multicast address\n groups (min, max) defined in each entry are\n always consecutive. In the case of that a\n client receives a JOIN/LEAVE with\n mars$flag.punched set, each pair of the IP\n groups will first be broken into several\n pairs of consecutive IP groups before each\n entry row corresponding to a pair of IP group\n is created.") marsClientVcEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 1, 4, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr"), (0, "IPATM-IPMC-MIB", "marsClientIndex"), (0, "IPATM-IPMC-MIB", "marsClientVcVpi"), (0, "IPATM-IPMC-MIB", "marsClientVcVci"), (0, "IPATM-IPMC-MIB", "marsClientVcMinGrpAddr"), (0, "IPATM-IPMC-MIB", "marsClientVcMaxGrpAddr"), (0, "IPATM-IPMC-MIB", "marsClientVcPartyAddr")) if mibBuilder.loadTexts: marsClientVcEntry.setDescription("The objects contained in the entry are VC related\nattributes such as VC signalling type, control VC\ntype, idle timer, negotiated MTU size, etc.") marsClientVcVpi = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientVcVpi.setDescription("The value of virtual path identifier (VPI). Since\na VPI can be numbered 0, this sub-index can take\na value of 0.") marsClientVcVci = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientVcVci.setDescription("The value of virtual circuit identifier (VCI). Since\na VCI can be numbered 0, this sub-index can take\na value of 0.") marsClientVcMinGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientVcMinGrpAddr.setDescription("Minimum IP multicast group address - the min and\nmax multicast forms a multi-group consecutive\nblock which is associated with a table entry.\nif the MinGrpAddr and MaxGrpAddr are the same, it\nindicates that the size of multi-group block is 1,\na single IP group.") marsClientVcMaxGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 4), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientVcMaxGrpAddr.setDescription("Maximum IP multicast group address - the min and\nmax multicast forms a multi-group consecutive\nblock which is associated with a table entry.\nif the MinGrpAddr and MaxGrpAddr are the same, it\nindicates that the size of multi-group block is 1,\na single IP group.") marsClientVcPartyAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 5), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsClientVcPartyAddr.setDescription("An ATM party address in which this VC is linked.\nThe party type is identified by the\nmarsClientVcPartyAddrType.") marsClientVcPartyAddrType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("called", 1), ("calling", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcPartyAddrType.setDescription("The party type is associated with the party address.\nThe 'called (1)' indicates that the party address is\na destination address which implies that VC is\noriginated from this client. The 'calling (2)'\nindicates the VC was initiated externally to this\nclient. In this case, the party address is the\nsource address.") marsClientVcType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("pvc", 1), ("svc", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcType.setDescription("Circuit Connection type: permanent virtual circuit or\nswitched virtual circuit.") marsClientVcCtrlType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("pointToPointVC", 1), ("clusterControlVC", 2), ("pointToMultiPointVC", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcCtrlType.setDescription("Control VC type used to specify a particular connection.\npointToPointVC (1):\n used by the ATM Clients for the registration and\n queries. This VC or the initial signalling path\n is set up from the source Client to a MARS. It is\n bi-directional.\nclusterControlVC (2):\n used by a MARS to issue asynchronous updates to an\n ATM Client. This VC is established from the MARS\n to the ATM Client.\npointToMultiPointVC (3):\n used by the client to transfer multicast data\n packets from layer 3. This VC is established\n from the source ATM Client to a destination ATM\n endpoint which can be a multicast group member\n or an MCS. The destination endpoint was obtained\n from the MARS.") marsClientVcIdleTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcIdleTimer.setDescription("The idle timer associated with this VC. The minimum\nsuggested value is 1 minute and the recommended\ndefault value is 20 minutes.") marsClientVcRevalidate = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 10), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcRevalidate.setDescription("A flag associated with an open and active multipoint\nVC. It is checked every time a packet is queued for\ntransmission on that VC. The object has the value of\ntrue (1) if revalidate is required and the value\nfalse (2) otherwise.") marsClientVcEncapsType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("other", 1), ("llcSnap", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcEncapsType.setDescription("The encapsulation type used when communicating over\nthis VC.") marsClientVcNegotiatedMtu = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcNegotiatedMtu.setDescription("The negotiated MTU when communicating over this VC.") marsClientVcRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 4, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsClientVcRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nA row cannot be made 'active' until instances of\nall corresponding columns in the row of this table\nare appropriately configured.\n\nWhile objects: marsClientVcIdleTimer and\nmarsClientVcRevalidate in this conceptual\nrow can be modified irrespective of the value\nof this object, all other objects in the row can\nnot be modified when this object has a value\nof 'active'.\n\nIt is possible for an SNMP management station\nto set the row to 'notInService' and modify\nthe entry and then set it back to 'active'\n\nwith the following exception. That is, rows\nfor which the corresponding instance of\nmarsClientVcType has a value of 'svc' can not\nbe modified or deleted.") marsClientStatTable = MibTable((1, 3, 6, 1, 6, 3, 17, 1, 5)) if mibBuilder.loadTexts: marsClientStatTable.setDescription("The table contains statistics collected at MARS\nclients.") marsClientStatEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 1, 5, 1)).setIndexNames((0, "IP-MIB", "ipAdEntAddr"), (0, "IPATM-IPMC-MIB", "marsClientIndex")) if mibBuilder.loadTexts: marsClientStatEntry.setDescription("Each entry contains statistics collected at one MARS\nclient.") marsClientStatTxReqMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatTxReqMsgs.setDescription("Total number of MARS_REQUEST messages transmitted\nfrom a client.") marsClientStatTxJoinMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatTxJoinMsgs.setDescription("Total number of MARS_JOIN messages transmitted from\na client.") marsClientStatTxLeaveMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatTxLeaveMsgs.setDescription("Total number of MARS_LEAVE messages transmitted from\na client.") marsClientStatTxGrpLstReqMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatTxGrpLstReqMsgs.setDescription("Total number of MARS_GROUPLIST_REQUEST messages\ntransmitted from a client.") marsClientStatRxJoinMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatRxJoinMsgs.setDescription("Total number of MARS_JOIN messages received by\na client.") marsClientStatRxLeaveMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatRxLeaveMsgs.setDescription("Total number of MARS_LEAVE messages received by\na client.") marsClientStatRxMultiMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatRxMultiMsgs.setDescription("Total number of MARS_MULTI messages received by\na client.") marsClientStatRxNakMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatRxNakMsgs.setDescription("Total number of MARS_NAK messages received by\na client.") marsClientStatRxMigrateMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatRxMigrateMsgs.setDescription("Total number of MARS_MIGRATE messages received by\na client.") marsClientStatRxGrpLstRplyMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatRxGrpLstRplyMsgs.setDescription("Total number of MARS_GROUPLIST_REPLY messages\nreceived by a client.") marsClientStatFailMultiMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 1, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsClientStatFailMultiMsgs.setDescription("Total number of timeouts occurred indicating\nfailure of the last MARS_MULTI to arrive.") marsObjects = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 2)) marsTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 1)) if mibBuilder.loadTexts: marsTable.setDescription("The objects defined in this table are used for the\nmanagement of MARS servers.") marsEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 1, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex")) if mibBuilder.loadTexts: marsEntry.setDescription("Each entry contains a MARS and its associated\nattributes.") marsIndex = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsIndex.setDescription("The auxiliary variable used to identify instances of\nthe columnar objects in the MARS table.") marsIfIndex = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsIfIndex.setDescription("The ifIndex of the interface that the MARS is\nassociated with.") marsAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 3), AtmAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsAddr.setDescription("The ATM address associated with the MARS.") marsLocal = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 4), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsLocal.setDescription("A flag associated with a MARS entry. The object has\nthe value of true (1) if the MARS whose interface\nis local to the machine that implements this MIB;\notherwise the object has the value of false (2).") marsServStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ("faulted", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsServStatus.setDescription("The current status of MARS.") marsServType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("primary", 1), ("backup", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsServType.setDescription("Types of MARS servers: primary or backup.") marsServPriority = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsServPriority.setDescription("Priority associated with a backup MARS server.\nA backup MARS server with lower priority value\nindicates a higher preference than other backup\nMARS servers to be used as the MARS server when\nthe primary server fails.") marsRedirMapMsgTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsRedirMapMsgTimer.setDescription("Periodic interval on which a multi-part\nMARS_REDIRECT_MAP is sent from this MARS.") marsCsn = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 9), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsCsn.setDescription("Current cluster sequence number (CSN) which is global\nwithin the context of a given protocol. The CSN is\nincremented by the MARS on every transmission of a\nmessage on ClusterControlVC. A cluster member uses\nthe CSN to track the message loss on ClusterControlVC\nor to monitor a membership change.") marsSsn = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 10), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsSsn.setDescription("Current server sequence number (SSN) which is global\nwithin the context of a given protocol. The SSN is\nincremented by the MARS on every transmission of a\nmessage on ServerControlVC. A MCS uses the SSN to\ntrack the message loss on ServerControlVC or to\nmonitor a membership change.") marsRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 1, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nA row cannot be made 'active' until instances of\nall corresponding columns in the row of this table\nare appropriately configured and until the agent\nhas also created a corresponding row in the\nmarsStatTable.\n\nWhen this object has a value of 'active', the\nfollowing columnar objects can not be modified:\n\n marsAddr,\n marsAddrLocal,\n marsServStatus,\n marsServType,\n marsCsn,\n marsSsn\n\nwhile other objects in this conceptual row can be\nmodified irrespective of the value of this object.\n\nDeletion of this row is allowed regardless of\nwhether or not a row in any associated tables\n(i.e., marsVcTable) still exists or is in use.\nOnce this row is deleted, it is recommended that\nthe agent or the SNMP management station (if\npossible) through the set command deletes any\nstale rows that are associated with this row.") marsMcGrpTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 2)) if mibBuilder.loadTexts: marsMcGrpTable.setDescription("This table contains a list of IP multicast address\nblocks associated with a MARS. Entries in this table\nare used by the MARS host map table and the server map\ntable. They should be created prior to being referenced\nas indices by those tables.\nEach row can be created or deleted via configuration.") marsMcGrpEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 2, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex"), (0, "IPATM-IPMC-MIB", "marsMcMinGrpAddr"), (0, "IPATM-IPMC-MIB", "marsMcMaxGrpAddr")) if mibBuilder.loadTexts: marsMcGrpEntry.setDescription("Each entry represents a consecutive block of multicast\ngroup addresses.") marsMcMinGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 2, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcMinGrpAddr.setDescription("Minimum multicast group address - the min and max\nmulticast forms multi-group block. If the MinGrpAddr\nand MaxGrpAddr are the same, it indicates that this\nblock contains a single group address.") marsMcMaxGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 2, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcMaxGrpAddr.setDescription("Maximum multicast group address - the min and max\nmulticast forms a multi-group block. If The\nMinGrpAddr and MaxGrpAddr are the same, it indicates\nthat this block contains a single group address.") marsMcGrpAddrUsage = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("hostMap", 1), ("serverMap", 2), ("hostServerMap", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcGrpAddrUsage.setDescription("Usage of the multicast address block. The hostMap (1)\nindicates that the address block is only used in the\nMARS host map table. The serverMap (2) indicates\nthat the address block is only used in the MARS\nserver map table. The hostServerMap (3) indicates\nthat the address block is used in both the host map\nand the server map tables.") marsMcGrpRxLayer3GrpSets = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcGrpRxLayer3GrpSets.setDescription("Number of MARS_JOIN messages received with\nmars$flags.layer3grp flag set.") marsMcGrpRxLayer3GrpResets = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcGrpRxLayer3GrpResets.setDescription("Number of MARS_JOIN messages received with\nmars$flags.layer3grp flag reset.") marsMcGrpRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcGrpRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nThe value of this object has no effect on whether\nother objects in this conceptual row can be modified.") marsHostMapTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 3)) if mibBuilder.loadTexts: marsHostMapTable.setDescription("This table caches mappings between IP multicast\naddress to a list of ATM addresses that are\nconfigured or dynamically learned from the MARS.\nThis address resolution is used for the host map.\nIt supports the mapping of a block of multicast\ngroup addresses to a cluster member address. In\nthe case where a group block is associated with\nmultiple cluster members, several entries are\nused to representing the relationship.") marsHostMapEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 3, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex"), (0, "IPATM-IPMC-MIB", "marsMcMinGrpAddr"), (0, "IPATM-IPMC-MIB", "marsMcMaxGrpAddr"), (0, "IPATM-IPMC-MIB", "marsHostMapAtmAddr")) if mibBuilder.loadTexts: marsHostMapEntry.setDescription("Each entry row contains attributes associated with\nthe mapping between a multicast group block and an\nATM address.") marsHostMapAtmAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 3, 1, 1), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsHostMapAtmAddr.setDescription("The mapped cluster member ATM address.") marsHostMapRowType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("static", 1), ("dynamic", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsHostMapRowType.setDescription("Method in which this entry row is created. The\nstatic (1) indicates that this row is created\nthrough configuration. The dynamic (2) indicates\nthat the row is created as the result of group\naddress updates received at this MARS.") marsHostMapRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsHostMapRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nThis object must not be set to 'active' until\ninstances of all corresponding columns in the\nrow of this table are appropriately configured.\n\nIt is possible for an SNMP management station\nto set the row to 'notInService' and modify\nthe entry and then set it back to 'active'\nwith the following exception. That is, rows\nfor which the corresponding instance of\nmarsHostMapRowType has a value of 'dynamic'\ncan not be modified or deleted.") marsServerMapTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 4)) if mibBuilder.loadTexts: marsServerMapTable.setDescription("This table caches mappings between IP multicast\naddress to a list of MCS ATM addresses that are\nconfigured or dynamically learned from the MARS.\nThis address resolution is used for the server map.\nIt supports the mapping of a block of multicast\ngroup addresses to a MCS address. In the case\nwhere a group block is associated with multiple\nMCSs, several entries are used to representing the\nrelationship.") marsServerMapEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 4, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex"), (0, "IPATM-IPMC-MIB", "marsMcMinGrpAddr"), (0, "IPATM-IPMC-MIB", "marsMcMaxGrpAddr"), (0, "IPATM-IPMC-MIB", "marsServerMapAtmAddr")) if mibBuilder.loadTexts: marsServerMapEntry.setDescription("Each entry row contains attributes associated with\nthe mapping between a multicast group block and an\nMCS address.") marsServerMapAtmAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 4, 1, 1), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsServerMapAtmAddr.setDescription("The mapped MCS ATM address.") marsServerMapRowType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("static", 1), ("dynamic", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsServerMapRowType.setDescription("Method in which this entry row is created. The\n'static (1)' indicates that this row is created\nthrough configuration. The 'dynamic (2)' indicates\nthat the row is created as the result of group\naddress updates received at this MARS.") marsServerMapRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 4, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsServerMapRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nThis object must not be set to 'active' until\ninstances of all corresponding columns in the\nrow of this table are appropriately configured.\n\nIt is possible for an SNMP management station\nto set the row to 'notInService' and modify\nthe entry and then set it back to 'active'\nwith the following exception. That is, rows\nfor which the corresponding instance of\nmarsServerMapRowType has a value of 'dynamic'\ncan not be modified or deleted.") marsVcTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 5)) if mibBuilder.loadTexts: marsVcTable.setDescription("This table contains information about open virtual circuits\n(VCs) that a MARS has. For point to point circuit, each\nentry represents a single VC connection between this MARS\nATM address to another party's ATM address. In the case of\npoint to multipoint connection where a ControlVc is attached\nwith multiple leaf nodes, several entries are used to\nrepresent the relationship. An example of point to\nmulti-point VC represented in a table is shown below.\n\n MARS VPI/VCI MARS Addr Party Addr\n 1 0,1 m1 p1\n 1 0,1 m1 p2\n 1 0,1 m1 p3") marsVcEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 5, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex"), (0, "IPATM-IPMC-MIB", "marsVcVpi"), (0, "IPATM-IPMC-MIB", "marsVcVci"), (0, "IPATM-IPMC-MIB", "marsVcPartyAddr")) if mibBuilder.loadTexts: marsVcEntry.setDescription("The objects contained in the entry are VC related attributes\nsuch as VC signalling type, control VC type, idle timer,\nnegotiated MTU size, etc.") marsVcVpi = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsVcVpi.setDescription("The value of virtual path identifier (VPI). Since\na VPI can be numbered 0, this sub-index can take\na value of 0.") marsVcVci = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsVcVci.setDescription("The value of virtual circuit identifier (VCI).\nSince a VCI can be numbered 0, this sub-index\ncan take a value of 0.") marsVcPartyAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 5), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsVcPartyAddr.setDescription("An ATM party address in which this VC is linked. The\nparty type is identified by the marsVcPartyAddrType.") marsVcPartyAddrType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("called", 1), ("calling", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcPartyAddrType.setDescription("The party type is associated with the party address. The\n'called (1)' indicates that the party address is a\ndestination address which implies that VC is originated\nfrom this MARS. The 'calling (2)' indicates the VC was\ninitiated externally to this MARS. The party address is\nthe source address.") marsVcType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("pvc", 1), ("svc", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcType.setDescription("Circuit Connection type: permanent virtual circuit or\nswitched virtual circuit.") marsVcCtrlType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("pointToPointVC", 1), ("clusterControlVC", 2), ("serverControlVC", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcCtrlType.setDescription("Control VC type used to specify a particular connection.\npointToPointVC (1):\n used by the ATM endpoints (clients) or the MCS for\n registration and queries. This VC is set up from\n a MARS client and MCS to this MARS. It is a\n bi-directional VC.\nclusterControlVC (2):\n used by MARS to issue asynchronous updates to ATM\n an ATM client. This VC is established from the\n MARs to the ATM client.\nserverControlVC (3):\n used by MARS to issue asynchronous update to ATM\n multicast servers. This type of VC exists when at\n least a MCS is being used.") marsVcIdleTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcIdleTimer.setDescription("The idle timer associated with this VC. The minimum\nsuggested value is 1 minute and the recommended default\nvalue is 20 minutes.") marsVcCmi = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcCmi.setDescription("Cluster member identifier (CMI) which uniquely identifies\neach endpoint attached to the cluster. This variable\napplies to each 'leaf node' of an outgoing control VC.") marsVcEncapsType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("other", 1), ("llcSnap", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcEncapsType.setDescription("The encapsulation type used when communicating over\nthis VC.") marsVcNegotiatedMtu = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcNegotiatedMtu.setDescription("The negotiated MTU when communicating over this VC.") marsVcRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 5, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsVcRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nA row cannot be made 'active' until instances of\nall corresponding columns in the row of this table\nare appropriately configured.\n\nWhile the marsVcIdleTimer in this conceptual\nrow can be modified irrespective of the value\nof this object, all other objects in the row can\nnot be modified when this object has a value\nof 'active'.\n\nIt is possible for an SNMP management station\nto set the row to 'notInService' and modify\nthe entry and then set it back to 'active'\nwith the following exception. That is, rows\nfor which the corresponding instance of\nmarsVcType has a value of 'svc' can not be\nmodified or deleted.") marsRegClientTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 6)) if mibBuilder.loadTexts: marsRegClientTable.setDescription("This table contains ATM identities of all the currently\nregistered cluster members at a MARS. Each entry represents\none set of ATM identities associated with one cluster member\nor the MARS client.") marsRegClientEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 6, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex"), (0, "IPATM-IPMC-MIB", "marsRegClientCmi")) if mibBuilder.loadTexts: marsRegClientEntry.setDescription("Each entry row contains attributes associated with one\nregister cluster member.") marsRegClientCmi = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsRegClientCmi.setDescription("This cluster member identifier is used as an auxiliary index\nfor the entry in this table.") marsRegClientAtmAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 6, 1, 2), AtmAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsRegClientAtmAddr.setDescription("The registered client's ATM address.") marsRegMcsTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 7)) if mibBuilder.loadTexts: marsRegMcsTable.setDescription("This table contains ATM identities of all the currently\nregistered MCSs at a MARS. Each entry represents one set\nof ATM identities associated with one MCS.") marsRegMcsEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 7, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex"), (0, "IPATM-IPMC-MIB", "marsRegMcsAtmAddr")) if mibBuilder.loadTexts: marsRegMcsEntry.setDescription("Each entry row contains attributes associated with one\nregistered MCS.") marsRegMcsAtmAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 7, 1, 1), AtmAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsRegMcsAtmAddr.setDescription("The registered MCS's ATM address.") marsStatTable = MibTable((1, 3, 6, 1, 6, 3, 17, 2, 8)) if mibBuilder.loadTexts: marsStatTable.setDescription("The table contains statistics collected at MARS.") marsStatEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 2, 8, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsIndex"), (0, "IPATM-IPMC-MIB", "marsIfIndex")) if mibBuilder.loadTexts: marsStatEntry.setDescription("Each entry contains statistics collected at one MARS.") marsStatTxMultiMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxMultiMsgs.setDescription("Total number of MARS_MULTI transmitted by this MARS.") marsStatTxGrpLstRplyMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxGrpLstRplyMsgs.setDescription("Total number of MARS_GROUPLIST_REPLY messages transmitted\nby this MARS.") marsStatTxRedirectMapMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxRedirectMapMsgs.setDescription("Total number of MARS_REDIRECT_MAP messages transmitted by\nthis MARS.") marsStatTxMigrateMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxMigrateMsgs.setDescription("Total number of MARS_MIGRATE messages transmitted by\nthis MARS.") marsStatTxNakMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxNakMsgs.setDescription("Total number of MARS_NAK messages transmitted by this MARS.") marsStatTxJoinMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxJoinMsgs.setDescription("Total number of MARS_JOIN messages transmitted by this\nMARS.") marsStatTxLeaveMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxLeaveMsgs.setDescription("Total number of MARS_LEAVE messages transmitted by this\nMARS.") marsStatTxSjoinMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxSjoinMsgs.setDescription("Total number of MARS_SJOIN messages transmitted by this\nMARS.") marsStatTxSleaveMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxSleaveMsgs.setDescription("Total number of MARS_SLEAVE messages transmitted by this\nMARS.") marsStatTxMservMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxMservMsgs.setDescription("Total number of MARS_MSERV messages transmitted by this\nMARS.") marsStatTxUnservMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatTxUnservMsgs.setDescription("Total number of MARS_UNSERV messages transmitted by this\nMARS.") marsStatRxReqMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRxReqMsgs.setDescription("Total number of MARS_REQUEST messages received by this\nMARS.") marsStatRxGrpLstReqMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRxGrpLstReqMsgs.setDescription("Total number of MARS_GROUPLIST_REQUEST messages received\nby this MARS.") marsStatRxJoinMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRxJoinMsgs.setDescription("Total number of MARS_JOINS messages received by this MARS.") marsStatRxLeaveMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRxLeaveMsgs.setDescription("Total number of MARS_LEAVES messages received by this MARS.") marsStatRxMservMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRxMservMsgs.setDescription("Total number of MARS_MSERV messages received by this MARS.") marsStatRxUnservMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRxUnservMsgs.setDescription("Total number of MARS_UNSERV messages received by this MARS.") marsStatRxBlkJoinMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRxBlkJoinMsgs.setDescription("Total number of block joins messages received by this MARS.") marsStatRegMemGroups = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRegMemGroups.setDescription("Total number of IP multicast groups with 1 or more joined\ncluster members.") marsStatRegMcsGroups = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 2, 8, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsStatRegMcsGroups.setDescription("Total number of IP multicast groups with 1 or more joined\nMCSs.") marsMcsObjects = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 3)) marsMcsTable = MibTable((1, 3, 6, 1, 6, 3, 17, 3, 1)) if mibBuilder.loadTexts: marsMcsTable.setDescription("The objects defined in this table are used for\nthe management of a multicast server (MCS).") marsMcsEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 3, 1, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsMcsIndex"), (0, "IPATM-IPMC-MIB", "marsMcsIfIndex")) if mibBuilder.loadTexts: marsMcsEntry.setDescription("Each entry contains a MCS and its associated\nattributes.") marsMcsIndex = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsIndex.setDescription("The auxiliary variable used to identify instances\nof the columnar objects in the MCS table.") marsMcsIfIndex = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsIfIndex.setDescription("The ifIndex of the interface that the MCS is\nassociated with.") marsMcsAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 3), AtmAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsAddr.setDescription("The ATM address associated with the MCS.") marsMcsDefaultMarsAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 4), AtmAddr()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsDefaultMarsAddr.setDescription("The default MARS ATM address which is needed to\nsetup the initial signalling path between a MCS\nand its associated MARS.") marsMcsRegistration = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,3,1,5,)).subtype(namedValues=NamedValues(("notRegistered", 1), ("registering", 2), ("registered", 3), ("reRegisteringFault", 4), ("reRegisteringRedirMap", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRegistration.setDescription("An indication with regards to the registration\nSTATUS of this MCS. The registration codes of\n'notRegistered (1)', 'registered (2)', and\nregistered (3) are self-explanatory. The\n'reRegisteringFault (4)' indicates the MCS is\nin the process of re-registering with a MARS due\nto some fault conditions. The 'reRegisteringRedMap\n(5)' status code shows that MCS is re-registering\nbecause it has received a MARS_REDIRECT_MAP message\nand was told to register with a shift MARS.") marsMcsSsn = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 6), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsSsn.setDescription("The MCS own 32 bit Server Sequence Number. It\nis used to track the Mars sequence number.") marsMcsDefaultMtu = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(9180)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsDefaultMtu.setDescription("The default maximum transmission unit (MTU) used\nfor this cluster. Note that the actual size used\nfor a VC between two members of the cluster may be\nnegotiated during connection setup and may be\ndifferent than this value.\nDefault value = 9180 bytes.") marsMcsFailureTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsFailureTimer.setDescription("A timer used to flag the failure of last MARS_MULTI\nto arrive. Default value = 10 seconds (recommended).") marsMcsRetranDelayTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRetranDelayTimer.setDescription("The delay timer for sending out new MARS_REQUEST\nfor the group after the MCS learned that there\nis no other group in the cluster. The timer must\nbe set between 5 and 10 seconds inclusive.") marsMcsRdmMulReqAddRetrTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRdmMulReqAddRetrTimer.setDescription("The initial random L_MULTI_RQ/ADD retransmit timer\nwhich can be set between 5 and 10 seconds inclusive.") marsMcsRdmVcRevalidateTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRdmVcRevalidateTimer.setDescription("The random time to set VC_revalidate flag. The\ntimer value ranges between 1 and 10 seconds\n inclusive.") marsMcsRegisterRetrInterval = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 2147483647)).clone(10)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRegisterRetrInterval.setDescription("MARS_MSERV/UNSERV retransmit interval. The minimum\nand recommended values are 5 and 10 seconds,\nrespectively.") marsMcsRegisterRetrLimit = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRegisterRetrLimit.setDescription("MARS_MSERV/UNSERV retransmit limit. The maximum value\nis 5.") marsMcsRegWithMarsRdmTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRegWithMarsRdmTimer.setDescription("Random time for a MCS to register with a MARS.") marsMcsForceWaitTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsForceWaitTimer.setDescription("Force wait if MARS re-registration is looping.\nThe minimum value is 1 minute.") marsMcsLmtToMissRedirMapTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsLmtToMissRedirMapTimer.setDescription("Timer limit for MCS to miss MARS_REDIRECT_MAPS.") marsMcsIdleTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsIdleTimer.setDescription("The configurable inactivity timer associated with a\nMCS. When a VC is created at this MCS, it gets\nthe idle timer value from this configurable timer.\nThe minimum suggested value is 1 minute and the\nrecommended default value is 20 minutes.") marsMcsRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 1, 1, 18), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\n\nA row cannot be made 'active' until instances of\nall corresponding columns in the row of this table\nare appropriately configured and until the agent\nhas also created a corresponding row in the\nmarsMcsStatTable.\n\nWhen this object has a value of 'active', the\nfollowing columnar objects can not be modified:\n\n marsMcsDefaultMarsAddr,\n marsMcsSsn,\n marsMcsRegstration,\n marsMcsDefaultMtu\n\nwhile other objects in this conceptual row can be\nmodified irrespective of the value of this object.\nDeletion of this row is allowed regardless of\nwhether or not a row in any associated tables\n(i.e., marsMcsVcTable) still exists or is in\nuse. Once this row is deleted, it is recommended\nthat the agent or the SNMP management station\n(if possible) through the set command deletes\nany stale rows that are associated with this\nrow.") marsMcsMcGrpTable = MibTable((1, 3, 6, 1, 6, 3, 17, 3, 2)) if mibBuilder.loadTexts: marsMcsMcGrpTable.setDescription("This table contains a list of IP multicast group address\nblocks associated by a MARS MCS. The MCS uses the\ninformation contained in list to advertise its multicast\ngroup service to the MARS.\nEach row can be created or deleted via configuration.") marsMcsMcGrpEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 3, 2, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsMcsIndex"), (0, "IPATM-IPMC-MIB", "marsMcsIfIndex"), (0, "IPATM-IPMC-MIB", "marsMcsMcMinGrpAddr"), (0, "IPATM-IPMC-MIB", "marsMcsMcMaxGrpAddr")) if mibBuilder.loadTexts: marsMcsMcGrpEntry.setDescription("Each entry represents a consecutive block of multicast\ngroup addresses.") marsMcsMcMinGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 2, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsMcMinGrpAddr.setDescription("Minimum multicast group address - the min and max\nmulticast forms multi-group block. If the MinGrpAddr\nand MaxGrpAddr are the same, it indicates that this\nblock contains a single group address. Since the\nblock joins are no allowed by a MCS as implied in\nthe RFC2022, the MinGrpAddr and MaxGrpAddress should\nbe set to the same value at this time when an entry\nrow is created.") marsMcsMcMaxGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 2, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsMcMaxGrpAddr.setDescription("Maximum multicast group address - the min and max\nmulticast forms a multi-group block. If the\nMinGrpAddr and MaxGrpAddr are the same, it indicates\nthat this block contains a single group address.\nSince the block joins are no allowed by a MCS as\nimplied in the RFC2022, the MinGrpAddr and\nMaxGrpAddress should be set to the same value at\nthis time when an entry row is created.") marsMcsMcGrpRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsMcGrpRowStatus.setDescription("The object is used to create or delete a row in this\ntable.\n\nSince other objects in this row are not-accessible\n'index-objects', the value of this object has no\neffect on whether those objects in this conceptual\nrow can be modified.") marsMcsBackupMarsTable = MibTable((1, 3, 6, 1, 6, 3, 17, 3, 3)) if mibBuilder.loadTexts: marsMcsBackupMarsTable.setDescription("This table contains a list of backup MARS addresses that\na MCS can make contact to in case of failure for\nconnecting to the primary server. The list of addresses\nis in descending order of preference. It should be noted\nthat the backup list provided by the MARS to the MCS\nvia the MARS_REDIRECT_MAP message has a higher preference\nthan addresses that are manually configured into the MCS.\nWhen such a list is received from the MARS, this information\nshould be inserted at the top of the list.\nEach row can be created or deleted via configuration.") marsMcsBackupMarsEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 3, 3, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsMcsIndex"), (0, "IPATM-IPMC-MIB", "marsMcsIfIndex"), (0, "IPATM-IPMC-MIB", "marsMcsBackupMarsPriority"), (0, "IPATM-IPMC-MIB", "marsMcsBackupMarsAddr")) if mibBuilder.loadTexts: marsMcsBackupMarsEntry.setDescription("Each entry represents an ATM address of a backup MARS.") marsMcsBackupMarsPriority = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsBackupMarsPriority.setDescription("The priority associated with a backup MARS. A lower\npriority value inidcates a higher preference.") marsMcsBackupMarsAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 3, 1, 2), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsBackupMarsAddr.setDescription("The ATM address associated with a backup MARS.") marsMcsBackupMarsRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsBackupMarsRowStatus.setDescription("The object is used to create or delete a row in this\ntable.\n\nSince other objects in this row are not-accessible\n'index-objects', the value of this object has no\neffect on whether those objects in this conceptual\nrow can be modified.") marsMcsVcTable = MibTable((1, 3, 6, 1, 6, 3, 17, 3, 4)) if mibBuilder.loadTexts: marsMcsVcTable.setDescription("This table contains information about open virtual\ncircuits (VCs) that a MCS has. For point to\npoint circuit, each entry represents a single VC\nconnection between this MCS ATM address to another\nparty ATM address. In the case of point to\nmultipoint connection where a single source address\nis associated with multiple destinations, several\nentries are used to represent the relationship. An\nexample of point to multi-point VC represented in a\ntable is shown below.\n\n MCS VPI/VCI Grp Addr1/Addr2 Part Addr\n 1 0,1 g1,g2 p1\n 1 0,1 g1,g2 p2\n 1 0,1 g1,g2 p3") marsMcsVcEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 3, 4, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsMcsIndex"), (0, "IPATM-IPMC-MIB", "marsMcsIfIndex"), (0, "IPATM-IPMC-MIB", "marsMcsVcVpi"), (0, "IPATM-IPMC-MIB", "marsMcsVcVci"), (0, "IPATM-IPMC-MIB", "marsMcsVcMinGrpAddr"), (0, "IPATM-IPMC-MIB", "marsMcsVcMaxGrpAddr"), (0, "IPATM-IPMC-MIB", "marsMcsVcPartyAddr")) if mibBuilder.loadTexts: marsMcsVcEntry.setDescription("The objects contained in the entry are VC related\nattributes such as VC signalling type, control VC\ntype, idle timer, negotiated MTU size, etc.") marsMcsVcVpi = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsVcVpi.setDescription("The value of virtual path identifier (VPI). Since\na VPI can be numbered 0, this sub-index can take\na value of 0.") marsMcsVcVci = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsVcVci.setDescription("The value of virtual circuit identifier (VCI). Since\na VCI can be numbered 0, this sub-index can take\na value of 0.") marsMcsVcMinGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsVcMinGrpAddr.setDescription("Minimum IP multicast group address - the min and\nmax multicast forms a multi-group block which is\nassociated with a VC. If the MinGrpAddr and\nMaxGrpAddr are the same, it indicates that the\nsize of multi-group block is 1, a single IP group.") marsMcsVcMaxGrpAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 4), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsVcMaxGrpAddr.setDescription("Maximum IP multicast group address - the min\nand max multicast forms a multi-group block\nwhich is associated with a VC. If the MinGrpAddr\nand MaxGrpAddr are the same, it indicates that the\nsize of multi-group block is 1, a single IP group.") marsMcsVcPartyAddr = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 5), AtmAddr()).setMaxAccess("noaccess") if mibBuilder.loadTexts: marsMcsVcPartyAddr.setDescription("An ATM party address in which this VC is linked.\nThe party type is identified by the\nmarsMcsVcPartyAddrType.") marsMcsVcPartyAddrType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("called", 1), ("calling", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcPartyAddrType.setDescription("The party type is associated with the party address.\nThe called (1) indicates that the party address is\na destination address which implies that VC is\noriginated from this MCS. The calling (2) indicates\nthe VC was initiated externally to this MCS. In this\ncase, the party address is the source address.") marsMcsVcType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("pvc", 1), ("svc", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcType.setDescription("Circuit Connection type: permanent virtual circuit or\nswitched virtual circuit.") marsMcsVcCtrlType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("pointToPointVC", 1), ("serverControlVC", 2), ("pointToMultiPointVC", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcCtrlType.setDescription("Control VC type used to specify a particular connection.\npointToPointVC (1):\n used by the ATM Clients for the registration and\n queries. This VC or the initial signalling path is\n set up from the source MCS to a MARS. It is\n bi-directional.\nserverControlVC (2):\n used by a MARS to issue asynchronous updates to an\n ATM Client. This VC is established from the MARS\n to the MCS.\npointToMultiPointVC (3):\n used by the client to transfer multicast data\n packets from layer 3. This VC is established from\n this VC to a cluster member.") marsMcsVcIdleTimer = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(20)).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcIdleTimer.setDescription("The idle timer associated with this VC. The minimum\nsuggested value is 1 minute and the recommended\ndefault value is 20 minutes.") marsMcsVcRevalidate = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 10), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcRevalidate.setDescription("A flag associated with an open and active multipoint\nVC. It is checked every time a packet is queued for\ntransmission on that VC. The object has the value of\ntrue (1) if revalidate is required and the value\nfalse (2) otherwise.") marsMcsVcEncapsType = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("other", 1), ("llcSnap", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcEncapsType.setDescription("The encapsulation type used when communicating over\nthis VC.") marsMcsVcNegotiatedMtu = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcNegotiatedMtu.setDescription("The negotiated MTU when communicating over this VC.") marsMcsVcRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 4, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: marsMcsVcRowStatus.setDescription("The object is used to create, delete or modify a\nrow in this table.\nA row cannot be made 'active' until instances of\nall corresponding columns in the row of this table\nare appropriately configured.\n\nWhile objects: marsMcsVcIdleTimer and\nmarsMcsVcRevalidate in this conceptual row can\nbe modified irrespective of the value of this\nobject, all other objects in the row can not be\nmodified when this object has a value of 'active'.\n\nIt is possible for an SNMP management station\nto set the row to 'notInService' and modify\nthe entry and then set it back to 'active'\nwith the following exception. That is, rows\nfor which the corresponding instance of\nmarsMcsVcType has a value of 'svc' can not\nbe modified or deleted.") marsMcsStatTable = MibTable((1, 3, 6, 1, 6, 3, 17, 3, 5)) if mibBuilder.loadTexts: marsMcsStatTable.setDescription("The table contains statistics collected at MARS MCSs.") marsMcsStatEntry = MibTableRow((1, 3, 6, 1, 6, 3, 17, 3, 5, 1)).setIndexNames((0, "IPATM-IPMC-MIB", "marsMcsIndex"), (0, "IPATM-IPMC-MIB", "marsMcsIfIndex")) if mibBuilder.loadTexts: marsMcsStatEntry.setDescription("Each entry contains statistics collected at one\nMARS MCS.") marsMcsStatTxReqMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatTxReqMsgs.setDescription("Total number of MARS_REQUEST messages transmitted\nfrom this MCS.") marsMcsStatTxMservMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatTxMservMsgs.setDescription("Total number of MARS_MSERV messages transmitted from\nthis MCS.") marsMcsStatTxUnservMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatTxUnservMsgs.setDescription("Total number of MARS_UNSERV messages transmitted from\nthis MCS.") marsMcsStatRxMultiMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatRxMultiMsgs.setDescription("Total number of MARS_MULTI messages received by\nthis MCS.") marsMcsStatRxSjoinMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatRxSjoinMsgs.setDescription("Total number of MARS_SJOIN messages received by\nthis MCS.") marsMcsStatRxSleaveMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatRxSleaveMsgs.setDescription("Total number of MARS_SLEAVE messages received\nby this MCS.") marsMcsStatRxNakMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatRxNakMsgs.setDescription("Total number of MARS_NAK messages received\nby this MCS.") marsMcsStatRxMigrateMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatRxMigrateMsgs.setDescription("Total number of MARS_MIGRATE messages received\nby this MCS.") marsMcsStatFailMultiMsgs = MibTableColumn((1, 3, 6, 1, 6, 3, 17, 3, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: marsMcsStatFailMultiMsgs.setDescription("Total number of timeouts occurred indicating\nfailure of the last MARS_MULTI to arrive.") marsConformance = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4)) marsClientConformance = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 1)) marsClientCompliances = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 1, 1)) marsClientGroups = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 1, 2)) marsServerConformance = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 2)) marsServerCompliances = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 2, 1)) marsServerGroups = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 2, 2)) marsMcsConformance = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 3)) marsMcsCompliances = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 3, 1)) marsMcsGroups = MibIdentifier((1, 3, 6, 1, 6, 3, 17, 4, 3, 2)) # Augmentions # Notifications marsFaultTrap = NotificationType((1, 3, 6, 1, 6, 3, 17, 0, 1)).setObjects(*(("IPATM-IPMC-MIB", "marsAddr"), ("IPATM-IPMC-MIB", "marsServStatus"), ) ) if mibBuilder.loadTexts: marsFaultTrap.setDescription("This trap/inform is sent to the manager whenever\nthere is a fault condition occurred on a MARS.") # Groups marsClientGroup = ObjectGroup((1, 3, 6, 1, 6, 3, 17, 4, 1, 2, 1)).setObjects(*(("IPATM-IPMC-MIB", "marsClientRegWithMarsRdmTimer"), ("IPATM-IPMC-MIB", "marsClientRdmMulReqAddRetrTimer"), ("IPATM-IPMC-MIB", "marsClientIdleTimer"), ("IPATM-IPMC-MIB", "marsClientStatTxLeaveMsgs"), ("IPATM-IPMC-MIB", "marsClientDefaultMtu"), ("IPATM-IPMC-MIB", "marsClientMcGrpRowStatus"), ("IPATM-IPMC-MIB", "marsClientStatTxGrpLstReqMsgs"), ("IPATM-IPMC-MIB", "marsClientStatFailMultiMsgs"), ("IPATM-IPMC-MIB", "marsClientJoinLeaveRetrInterval"), ("IPATM-IPMC-MIB", "marsClientRegistration"), ("IPATM-IPMC-MIB", "marsClientStatRxJoinMsgs"), ("IPATM-IPMC-MIB", "marsClientStatTxReqMsgs"), ("IPATM-IPMC-MIB", "marsClientVcRowStatus"), ("IPATM-IPMC-MIB", "marsClientRowStatus"), ("IPATM-IPMC-MIB", "marsClientAddr"), ("IPATM-IPMC-MIB", "marsClientStatRxLeaveMsgs"), ("IPATM-IPMC-MIB", "marsClientVcCtrlType"), ("IPATM-IPMC-MIB", "marsClientVcPartyAddrType"), ("IPATM-IPMC-MIB", "marsClientLmtToMissRedirMapTimer"), ("IPATM-IPMC-MIB", "marsClientRetranDelayTimer"), ("IPATM-IPMC-MIB", "marsClientRdmVcRevalidateTimer"), ("IPATM-IPMC-MIB", "marsClientVcEncapsType"), ("IPATM-IPMC-MIB", "marsClientDefaultMarsAddr"), ("IPATM-IPMC-MIB", "marsClientHsn"), ("IPATM-IPMC-MIB", "marsClientStatRxNakMsgs"), ("IPATM-IPMC-MIB", "marsClientJoinLeaveRetrLimit"), ("IPATM-IPMC-MIB", "marsClientVcRevalidate"), ("IPATM-IPMC-MIB", "marsClientFailureTimer"), ("IPATM-IPMC-MIB", "marsClientCmi"), ("IPATM-IPMC-MIB", "marsClientForceWaitTimer"), ("IPATM-IPMC-MIB", "marsClientVcNegotiatedMtu"), ("IPATM-IPMC-MIB", "marsClientBackupMarsRowStatus"), ("IPATM-IPMC-MIB", "marsClientVcIdleTimer"), ("IPATM-IPMC-MIB", "marsClientStatTxJoinMsgs"), ("IPATM-IPMC-MIB", "marsClientVcType"), ("IPATM-IPMC-MIB", "marsClientStatRxMigrateMsgs"), ("IPATM-IPMC-MIB", "marsClientStatRxMultiMsgs"), ("IPATM-IPMC-MIB", "marsClientStatRxGrpLstRplyMsgs"), ) ) if mibBuilder.loadTexts: marsClientGroup.setDescription("A collection of objects to be implemented in a MIB\nfor the management of MARS clients.") marsServerGroup = ObjectGroup((1, 3, 6, 1, 6, 3, 17, 4, 2, 2, 1)).setObjects(*(("IPATM-IPMC-MIB", "marsStatTxSleaveMsgs"), ("IPATM-IPMC-MIB", "marsVcNegotiatedMtu"), ("IPATM-IPMC-MIB", "marsCsn"), ("IPATM-IPMC-MIB", "marsMcGrpRxLayer3GrpResets"), ("IPATM-IPMC-MIB", "marsStatTxJoinMsgs"), ("IPATM-IPMC-MIB", "marsStatRegMemGroups"), ("IPATM-IPMC-MIB", "marsVcPartyAddrType"), ("IPATM-IPMC-MIB", "marsStatRxGrpLstReqMsgs"), ("IPATM-IPMC-MIB", "marsServType"), ("IPATM-IPMC-MIB", "marsMcGrpAddrUsage"), ("IPATM-IPMC-MIB", "marsServPriority"), ("IPATM-IPMC-MIB", "marsStatTxSjoinMsgs"), ("IPATM-IPMC-MIB", "marsVcIdleTimer"), ("IPATM-IPMC-MIB", "marsStatRxMservMsgs"), ("IPATM-IPMC-MIB", "marsStatRxUnservMsgs"), ("IPATM-IPMC-MIB", "marsStatTxGrpLstRplyMsgs"), ("IPATM-IPMC-MIB", "marsStatRxBlkJoinMsgs"), ("IPATM-IPMC-MIB", "marsStatTxUnservMsgs"), ("IPATM-IPMC-MIB", "marsSsn"), ("IPATM-IPMC-MIB", "marsServStatus"), ("IPATM-IPMC-MIB", "marsVcCtrlType"), ("IPATM-IPMC-MIB", "marsStatTxMservMsgs"), ("IPATM-IPMC-MIB", "marsVcType"), ("IPATM-IPMC-MIB", "marsStatRxJoinMsgs"), ("IPATM-IPMC-MIB", "marsStatRxReqMsgs"), ("IPATM-IPMC-MIB", "marsStatTxNakMsgs"), ("IPATM-IPMC-MIB", "marsRegClientAtmAddr"), ("IPATM-IPMC-MIB", "marsServerMapRowType"), ("IPATM-IPMC-MIB", "marsVcCmi"), ("IPATM-IPMC-MIB", "marsStatRxLeaveMsgs"), ("IPATM-IPMC-MIB", "marsHostMapRowType"), ("IPATM-IPMC-MIB", "marsVcEncapsType"), ("IPATM-IPMC-MIB", "marsHostMapRowStatus"), ("IPATM-IPMC-MIB", "marsStatTxLeaveMsgs"), ("IPATM-IPMC-MIB", "marsStatTxRedirectMapMsgs"), ("IPATM-IPMC-MIB", "marsStatTxMultiMsgs"), ("IPATM-IPMC-MIB", "marsStatRegMcsGroups"), ("IPATM-IPMC-MIB", "marsRowStatus"), ("IPATM-IPMC-MIB", "marsAddr"), ("IPATM-IPMC-MIB", "marsStatTxMigrateMsgs"), ("IPATM-IPMC-MIB", "marsMcGrpRxLayer3GrpSets"), ("IPATM-IPMC-MIB", "marsVcRowStatus"), ("IPATM-IPMC-MIB", "marsLocal"), ("IPATM-IPMC-MIB", "marsRegMcsAtmAddr"), ("IPATM-IPMC-MIB", "marsRedirMapMsgTimer"), ("IPATM-IPMC-MIB", "marsServerMapRowStatus"), ("IPATM-IPMC-MIB", "marsMcGrpRowStatus"), ) ) if mibBuilder.loadTexts: marsServerGroup.setDescription("A collection of objects to be implemented in a MIB\nfor the management of MARS servers.") marsServerEventGroup = ObjectGroup((1, 3, 6, 1, 6, 3, 17, 4, 2, 2, 2)).setObjects(*(("IPATM-IPMC-MIB", "marsFaultTrap"), ) ) if mibBuilder.loadTexts: marsServerEventGroup.setDescription("A collection of events that can be generated from\na MARS server.") marsMcsGroup = ObjectGroup((1, 3, 6, 1, 6, 3, 17, 4, 3, 2, 1)).setObjects(*(("IPATM-IPMC-MIB", "marsMcsVcRevalidate"), ("IPATM-IPMC-MIB", "marsMcsRegistration"), ("IPATM-IPMC-MIB", "marsMcsVcNegotiatedMtu"), ("IPATM-IPMC-MIB", "marsMcsRdmMulReqAddRetrTimer"), ("IPATM-IPMC-MIB", "marsMcsSsn"), ("IPATM-IPMC-MIB", "marsMcsVcType"), ("IPATM-IPMC-MIB", "marsMcsStatFailMultiMsgs"), ("IPATM-IPMC-MIB", "marsMcsRegisterRetrInterval"), ("IPATM-IPMC-MIB", "marsMcsStatRxMigrateMsgs"), ("IPATM-IPMC-MIB", "marsMcsDefaultMarsAddr"), ("IPATM-IPMC-MIB", "marsMcsStatRxSjoinMsgs"), ("IPATM-IPMC-MIB", "marsMcsRowStatus"), ("IPATM-IPMC-MIB", "marsMcsDefaultMtu"), ("IPATM-IPMC-MIB", "marsMcsStatRxSleaveMsgs"), ("IPATM-IPMC-MIB", "marsMcsStatTxUnservMsgs"), ("IPATM-IPMC-MIB", "marsMcsMcGrpRowStatus"), ("IPATM-IPMC-MIB", "marsMcsVcPartyAddrType"), ("IPATM-IPMC-MIB", "marsMcsFailureTimer"), ("IPATM-IPMC-MIB", "marsMcsStatRxNakMsgs"), ("IPATM-IPMC-MIB", "marsMcsStatTxMservMsgs"), ("IPATM-IPMC-MIB", "marsMcsRegisterRetrLimit"), ("IPATM-IPMC-MIB", "marsMcsLmtToMissRedirMapTimer"), ("IPATM-IPMC-MIB", "marsMcsVcIdleTimer"), ("IPATM-IPMC-MIB", "marsMcsVcRowStatus"), ("IPATM-IPMC-MIB", "marsMcsIdleTimer"), ("IPATM-IPMC-MIB", "marsMcsVcCtrlType"), ("IPATM-IPMC-MIB", "marsMcsVcEncapsType"), ("IPATM-IPMC-MIB", "marsMcsRdmVcRevalidateTimer"), ("IPATM-IPMC-MIB", "marsMcsStatRxMultiMsgs"), ("IPATM-IPMC-MIB", "marsMcsAddr"), ("IPATM-IPMC-MIB", "marsMcsRetranDelayTimer"), ("IPATM-IPMC-MIB", "marsMcsForceWaitTimer"), ("IPATM-IPMC-MIB", "marsMcsBackupMarsRowStatus"), ("IPATM-IPMC-MIB", "marsMcsStatTxReqMsgs"), ("IPATM-IPMC-MIB", "marsMcsRegWithMarsRdmTimer"), ) ) if mibBuilder.loadTexts: marsMcsGroup.setDescription("A collection of objects to be implemented in a MIB\nfor the management of MARS multicast servers (MCS).") # Compliances marsClientCompliance = ModuleCompliance((1, 3, 6, 1, 6, 3, 17, 4, 1, 1, 1)).setObjects(*(("IPATM-IPMC-MIB", "marsClientGroup"), ) ) if mibBuilder.loadTexts: marsClientCompliance.setDescription("The compliance statement for entities that are required\nfor the management of MARS clients.") marsServerCompliance = ModuleCompliance((1, 3, 6, 1, 6, 3, 17, 4, 2, 1, 1)).setObjects(*(("IPATM-IPMC-MIB", "marsServerEventGroup"), ("IPATM-IPMC-MIB", "marsServerGroup"), ) ) if mibBuilder.loadTexts: marsServerCompliance.setDescription("The compliance statement for entities that are required\nfor the management of MARS servers.") marsMcsCompliance = ModuleCompliance((1, 3, 6, 1, 6, 3, 17, 4, 3, 1, 1)).setObjects(*(("IPATM-IPMC-MIB", "marsMcsGroup"), ) ) if mibBuilder.loadTexts: marsMcsCompliance.setDescription("The compliance statement for entities that are required\nfor the management of MARS multicast servers (MCS).") # Exports # Module identity mibBuilder.exportSymbols("IPATM-IPMC-MIB", PYSNMP_MODULE_ID=marsMIB) # Objects mibBuilder.exportSymbols("IPATM-IPMC-MIB", marsMIB=marsMIB, marsTrapInfo=marsTrapInfo, marsClientObjects=marsClientObjects, marsClientTable=marsClientTable, marsClientEntry=marsClientEntry, marsClientIndex=marsClientIndex, marsClientAddr=marsClientAddr, marsClientDefaultMarsAddr=marsClientDefaultMarsAddr, marsClientHsn=marsClientHsn, marsClientRegistration=marsClientRegistration, marsClientCmi=marsClientCmi, marsClientDefaultMtu=marsClientDefaultMtu, marsClientFailureTimer=marsClientFailureTimer, marsClientRetranDelayTimer=marsClientRetranDelayTimer, marsClientRdmMulReqAddRetrTimer=marsClientRdmMulReqAddRetrTimer, marsClientRdmVcRevalidateTimer=marsClientRdmVcRevalidateTimer, marsClientJoinLeaveRetrInterval=marsClientJoinLeaveRetrInterval, marsClientJoinLeaveRetrLimit=marsClientJoinLeaveRetrLimit, marsClientRegWithMarsRdmTimer=marsClientRegWithMarsRdmTimer, marsClientForceWaitTimer=marsClientForceWaitTimer, marsClientLmtToMissRedirMapTimer=marsClientLmtToMissRedirMapTimer, marsClientIdleTimer=marsClientIdleTimer, marsClientRowStatus=marsClientRowStatus, marsClientMcGrpTable=marsClientMcGrpTable, marsClientMcGrpEntry=marsClientMcGrpEntry, marsClientMcMinGrpAddr=marsClientMcMinGrpAddr, marsClientMcMaxGrpAddr=marsClientMcMaxGrpAddr, marsClientMcGrpRowStatus=marsClientMcGrpRowStatus, marsClientBackupMarsTable=marsClientBackupMarsTable, marsClientBackupMarsEntry=marsClientBackupMarsEntry, marsClientBackupMarsPriority=marsClientBackupMarsPriority, marsClientBackupMarsAddr=marsClientBackupMarsAddr, marsClientBackupMarsRowStatus=marsClientBackupMarsRowStatus, marsClientVcTable=marsClientVcTable, marsClientVcEntry=marsClientVcEntry, marsClientVcVpi=marsClientVcVpi, marsClientVcVci=marsClientVcVci, marsClientVcMinGrpAddr=marsClientVcMinGrpAddr, marsClientVcMaxGrpAddr=marsClientVcMaxGrpAddr, marsClientVcPartyAddr=marsClientVcPartyAddr, marsClientVcPartyAddrType=marsClientVcPartyAddrType, marsClientVcType=marsClientVcType, marsClientVcCtrlType=marsClientVcCtrlType, marsClientVcIdleTimer=marsClientVcIdleTimer, marsClientVcRevalidate=marsClientVcRevalidate, marsClientVcEncapsType=marsClientVcEncapsType, marsClientVcNegotiatedMtu=marsClientVcNegotiatedMtu, marsClientVcRowStatus=marsClientVcRowStatus, marsClientStatTable=marsClientStatTable, marsClientStatEntry=marsClientStatEntry, marsClientStatTxReqMsgs=marsClientStatTxReqMsgs, marsClientStatTxJoinMsgs=marsClientStatTxJoinMsgs, marsClientStatTxLeaveMsgs=marsClientStatTxLeaveMsgs, marsClientStatTxGrpLstReqMsgs=marsClientStatTxGrpLstReqMsgs, marsClientStatRxJoinMsgs=marsClientStatRxJoinMsgs, marsClientStatRxLeaveMsgs=marsClientStatRxLeaveMsgs, marsClientStatRxMultiMsgs=marsClientStatRxMultiMsgs, marsClientStatRxNakMsgs=marsClientStatRxNakMsgs, marsClientStatRxMigrateMsgs=marsClientStatRxMigrateMsgs, marsClientStatRxGrpLstRplyMsgs=marsClientStatRxGrpLstRplyMsgs, marsClientStatFailMultiMsgs=marsClientStatFailMultiMsgs, marsObjects=marsObjects, marsTable=marsTable, marsEntry=marsEntry, marsIndex=marsIndex, marsIfIndex=marsIfIndex, marsAddr=marsAddr, marsLocal=marsLocal, marsServStatus=marsServStatus, marsServType=marsServType, marsServPriority=marsServPriority, marsRedirMapMsgTimer=marsRedirMapMsgTimer, marsCsn=marsCsn, marsSsn=marsSsn, marsRowStatus=marsRowStatus, marsMcGrpTable=marsMcGrpTable, marsMcGrpEntry=marsMcGrpEntry, marsMcMinGrpAddr=marsMcMinGrpAddr, marsMcMaxGrpAddr=marsMcMaxGrpAddr, marsMcGrpAddrUsage=marsMcGrpAddrUsage, marsMcGrpRxLayer3GrpSets=marsMcGrpRxLayer3GrpSets, marsMcGrpRxLayer3GrpResets=marsMcGrpRxLayer3GrpResets, marsMcGrpRowStatus=marsMcGrpRowStatus, marsHostMapTable=marsHostMapTable, marsHostMapEntry=marsHostMapEntry, marsHostMapAtmAddr=marsHostMapAtmAddr, marsHostMapRowType=marsHostMapRowType, marsHostMapRowStatus=marsHostMapRowStatus, marsServerMapTable=marsServerMapTable, marsServerMapEntry=marsServerMapEntry, marsServerMapAtmAddr=marsServerMapAtmAddr, marsServerMapRowType=marsServerMapRowType, marsServerMapRowStatus=marsServerMapRowStatus, marsVcTable=marsVcTable, marsVcEntry=marsVcEntry, marsVcVpi=marsVcVpi, marsVcVci=marsVcVci, marsVcPartyAddr=marsVcPartyAddr, marsVcPartyAddrType=marsVcPartyAddrType, marsVcType=marsVcType, marsVcCtrlType=marsVcCtrlType, marsVcIdleTimer=marsVcIdleTimer, marsVcCmi=marsVcCmi, marsVcEncapsType=marsVcEncapsType, marsVcNegotiatedMtu=marsVcNegotiatedMtu, marsVcRowStatus=marsVcRowStatus, marsRegClientTable=marsRegClientTable, marsRegClientEntry=marsRegClientEntry, marsRegClientCmi=marsRegClientCmi, marsRegClientAtmAddr=marsRegClientAtmAddr, marsRegMcsTable=marsRegMcsTable, marsRegMcsEntry=marsRegMcsEntry, marsRegMcsAtmAddr=marsRegMcsAtmAddr, marsStatTable=marsStatTable, marsStatEntry=marsStatEntry, marsStatTxMultiMsgs=marsStatTxMultiMsgs, marsStatTxGrpLstRplyMsgs=marsStatTxGrpLstRplyMsgs, marsStatTxRedirectMapMsgs=marsStatTxRedirectMapMsgs, marsStatTxMigrateMsgs=marsStatTxMigrateMsgs, marsStatTxNakMsgs=marsStatTxNakMsgs, marsStatTxJoinMsgs=marsStatTxJoinMsgs, marsStatTxLeaveMsgs=marsStatTxLeaveMsgs, marsStatTxSjoinMsgs=marsStatTxSjoinMsgs, marsStatTxSleaveMsgs=marsStatTxSleaveMsgs, marsStatTxMservMsgs=marsStatTxMservMsgs, marsStatTxUnservMsgs=marsStatTxUnservMsgs) mibBuilder.exportSymbols("IPATM-IPMC-MIB", marsStatRxReqMsgs=marsStatRxReqMsgs, marsStatRxGrpLstReqMsgs=marsStatRxGrpLstReqMsgs, marsStatRxJoinMsgs=marsStatRxJoinMsgs, marsStatRxLeaveMsgs=marsStatRxLeaveMsgs, marsStatRxMservMsgs=marsStatRxMservMsgs, marsStatRxUnservMsgs=marsStatRxUnservMsgs, marsStatRxBlkJoinMsgs=marsStatRxBlkJoinMsgs, marsStatRegMemGroups=marsStatRegMemGroups, marsStatRegMcsGroups=marsStatRegMcsGroups, marsMcsObjects=marsMcsObjects, marsMcsTable=marsMcsTable, marsMcsEntry=marsMcsEntry, marsMcsIndex=marsMcsIndex, marsMcsIfIndex=marsMcsIfIndex, marsMcsAddr=marsMcsAddr, marsMcsDefaultMarsAddr=marsMcsDefaultMarsAddr, marsMcsRegistration=marsMcsRegistration, marsMcsSsn=marsMcsSsn, marsMcsDefaultMtu=marsMcsDefaultMtu, marsMcsFailureTimer=marsMcsFailureTimer, marsMcsRetranDelayTimer=marsMcsRetranDelayTimer, marsMcsRdmMulReqAddRetrTimer=marsMcsRdmMulReqAddRetrTimer, marsMcsRdmVcRevalidateTimer=marsMcsRdmVcRevalidateTimer, marsMcsRegisterRetrInterval=marsMcsRegisterRetrInterval, marsMcsRegisterRetrLimit=marsMcsRegisterRetrLimit, marsMcsRegWithMarsRdmTimer=marsMcsRegWithMarsRdmTimer, marsMcsForceWaitTimer=marsMcsForceWaitTimer, marsMcsLmtToMissRedirMapTimer=marsMcsLmtToMissRedirMapTimer, marsMcsIdleTimer=marsMcsIdleTimer, marsMcsRowStatus=marsMcsRowStatus, marsMcsMcGrpTable=marsMcsMcGrpTable, marsMcsMcGrpEntry=marsMcsMcGrpEntry, marsMcsMcMinGrpAddr=marsMcsMcMinGrpAddr, marsMcsMcMaxGrpAddr=marsMcsMcMaxGrpAddr, marsMcsMcGrpRowStatus=marsMcsMcGrpRowStatus, marsMcsBackupMarsTable=marsMcsBackupMarsTable, marsMcsBackupMarsEntry=marsMcsBackupMarsEntry, marsMcsBackupMarsPriority=marsMcsBackupMarsPriority, marsMcsBackupMarsAddr=marsMcsBackupMarsAddr, marsMcsBackupMarsRowStatus=marsMcsBackupMarsRowStatus, marsMcsVcTable=marsMcsVcTable, marsMcsVcEntry=marsMcsVcEntry, marsMcsVcVpi=marsMcsVcVpi, marsMcsVcVci=marsMcsVcVci, marsMcsVcMinGrpAddr=marsMcsVcMinGrpAddr, marsMcsVcMaxGrpAddr=marsMcsVcMaxGrpAddr, marsMcsVcPartyAddr=marsMcsVcPartyAddr, marsMcsVcPartyAddrType=marsMcsVcPartyAddrType, marsMcsVcType=marsMcsVcType, marsMcsVcCtrlType=marsMcsVcCtrlType, marsMcsVcIdleTimer=marsMcsVcIdleTimer, marsMcsVcRevalidate=marsMcsVcRevalidate, marsMcsVcEncapsType=marsMcsVcEncapsType, marsMcsVcNegotiatedMtu=marsMcsVcNegotiatedMtu, marsMcsVcRowStatus=marsMcsVcRowStatus, marsMcsStatTable=marsMcsStatTable, marsMcsStatEntry=marsMcsStatEntry, marsMcsStatTxReqMsgs=marsMcsStatTxReqMsgs, marsMcsStatTxMservMsgs=marsMcsStatTxMservMsgs, marsMcsStatTxUnservMsgs=marsMcsStatTxUnservMsgs, marsMcsStatRxMultiMsgs=marsMcsStatRxMultiMsgs, marsMcsStatRxSjoinMsgs=marsMcsStatRxSjoinMsgs, marsMcsStatRxSleaveMsgs=marsMcsStatRxSleaveMsgs, marsMcsStatRxNakMsgs=marsMcsStatRxNakMsgs, marsMcsStatRxMigrateMsgs=marsMcsStatRxMigrateMsgs, marsMcsStatFailMultiMsgs=marsMcsStatFailMultiMsgs, marsConformance=marsConformance, marsClientConformance=marsClientConformance, marsClientCompliances=marsClientCompliances, marsClientGroups=marsClientGroups, marsServerConformance=marsServerConformance, marsServerCompliances=marsServerCompliances, marsServerGroups=marsServerGroups, marsMcsConformance=marsMcsConformance, marsMcsCompliances=marsMcsCompliances, marsMcsGroups=marsMcsGroups) # Notifications mibBuilder.exportSymbols("IPATM-IPMC-MIB", marsFaultTrap=marsFaultTrap) # Groups mibBuilder.exportSymbols("IPATM-IPMC-MIB", marsClientGroup=marsClientGroup, marsServerGroup=marsServerGroup, marsServerEventGroup=marsServerEventGroup, marsMcsGroup=marsMcsGroup) # Compliances mibBuilder.exportSymbols("IPATM-IPMC-MIB", marsClientCompliance=marsClientCompliance, marsServerCompliance=marsServerCompliance, marsMcsCompliance=marsMcsCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/FC-MGMT-MIB.py0000644000014400001440000020474311736645136020501 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FC-MGMT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:58 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TruthValue") # Types class FcAddressIdOrZero(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,3),) class FcBbCredit(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,32767) class FcBbCreditModel(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("regular", 1), ("alternate", 2), ) class FcClasses(Bits): namedValues = NamedValues(("classF", 0), ("class1", 1), ("class2", 2), ("class3", 3), ("class4", 4), ("class5", 5), ("class6", 6), ) class FcDataFieldSize(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(128,2112) class FcDomainIdOrZero(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,239) class FcNameIdOrZero(OctetString): subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),ValueSizeConstraint(16,16),) class FcPortType(Unsigned32): pass class FcUnitFunctions(Bits): namedValues = NamedValues(("other", 0), ("hub", 1), ("storageDevice", 10), ("switch", 2), ("bridge", 3), ("gateway", 4), ("host", 5), ("storageSubsys", 6), ("storageAccessDev", 7), ("nas", 8), ("wdmux", 9), ) # Objects fcMgmtMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 56)).setRevisions(("2005-04-26 00:00",)) if mibBuilder.loadTexts: fcMgmtMIB.setOrganization("IETF IPS (IP-Storage) Working Group") if mibBuilder.loadTexts: fcMgmtMIB.setContactInfo(" Keith McCloghrie\nCisco Systems, Inc.\nTel: +1 408 526-5260\nE-mail: kzm@cisco.com\nPostal: 170 West Tasman Drive\nSan Jose, CA USA 95134") if mibBuilder.loadTexts: fcMgmtMIB.setDescription("This module defines management information specific to\nFibre Channel-attached devices.\n\n\n\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is part of RFC 4044; see the RFC\nitself for full legal notices.") fcmgmtObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 56, 1)) fcmInstanceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 1)) if mibBuilder.loadTexts: fcmInstanceTable.setDescription("Information about the local Fibre Channel management\ninstances.") fcmInstanceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex")) if mibBuilder.loadTexts: fcmInstanceEntry.setDescription("A list of attributes for a particular local Fibre Channel\nmanagement instance.") fcmInstanceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcmInstanceIndex.setDescription("An arbitrary integer value that uniquely identifies this\ninstance amongst all local Fibre Channel management\ninstances.\n\nIt is mandatory to keep this value constant between restarts\nof the agent, and to make every possible effort to keep it\nconstant across restarts (but note, it is unrealistic to\nexpect it to remain constant across all re-configurations of\nthe local system, e.g., across the replacement of all non-\nvolatile storage).") fcmInstanceWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 2), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmInstanceWwn.setDescription("If the instance has one (or more) WWN(s), then this object\ncontains that (or one of those) WWN(s).\n\nIf the instance does not have a WWN associated with it, then\nthis object contains the zero-length string.") fcmInstanceFunctions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 3), FcUnitFunctions()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmInstanceFunctions.setDescription("One (or more) Fibre Channel unit functions being performed\nby this instance.") fcmInstancePhysicalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmInstancePhysicalIndex.setDescription("If this management instance corresponds to a physical\ncomponent (or to a hierarchy of physical components)\nidentified by the Entity-MIB, then this object's value is\nthe value of the entPhysicalIndex of that component (or of\nthe component at the root of that hierarchy). If there is\n\n\n\nno correspondence to a physical component (or no component\nthat has an entPhysicalIndex value), then the value of this\nobject is zero.") fcmInstanceSoftwareIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmInstanceSoftwareIndex.setDescription("If this management instance corresponds to an installed\nsoftware module identified in the Host Resources MIB, then\nthis object's value is the value of the hrSWInstalledIndex\nof that module. If there is no correspondence to an\ninstalled software module (or no module that has a\nhrSWInstalledIndex value), then the value of this object is\nzero.") fcmInstanceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("ok", 2), ("warning", 3), ("failed", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmInstanceStatus.setDescription("Overall status of the Fibre Channel entity/entities managed\nby this management instance. The value should reflect the\nmost serious status of such entities.") fcmInstanceTextName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 7), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 79))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcmInstanceTextName.setDescription("A textual name for this management instance and the Fibre\nChannel entity/entities that it is managing.") fcmInstanceDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 8), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcmInstanceDescr.setDescription("A textual description of this management instance and the\nFibre Channel entity/entities that it is managing.") fcmInstanceFabricId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 1, 1, 9), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmInstanceFabricId.setDescription("The globally unique Fabric Identifier that identifies the\nfabric to which the Fibre Channel entity/entities managed by\nthis management instance are connected, or, of which they\nare a part. This is typically the Node WWN of the principal\nswitch of a Fibre Channel fabric. The zero-length string\nindicates that the fabric identifier is unknown (or not\napplicable).\n\nIn the event that the Fibre Channel entity/entities managed\nby this management instance is/are connected to multiple\nfabrics, then this object records the first (known) one.") fcmSwitchTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 2)) if mibBuilder.loadTexts: fcmSwitchTable.setDescription("A table of information about Fibre Channel switches that\nare managed by Fibre Channel management instances. Each\nFibre Channel management instance can manage one or more\nFibre Channel switches.") fcmSwitchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmSwitchIndex")) if mibBuilder.loadTexts: fcmSwitchEntry.setDescription("Information about a particular Fibre Channel switch that is\n\n\n\nmanaged by the management instance given by\nfcmInstanceIndex.") fcmSwitchIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcmSwitchIndex.setDescription("An arbitrary integer that uniquely identifies a Fibre\nChannel switch amongst those managed by one Fibre Channel\nmanagement instance.\n\nIt is mandatory to keep this value constant between restarts\nof the agent, and to make every possible effort to keep it\nconstant across restarts.") fcmSwitchDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 2, 1, 2), FcDomainIdOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcmSwitchDomainId.setDescription("The Domain Id of this switch. A value of zero indicates\nthat a switch has not (yet) been assigned a Domain Id.") fcmSwitchPrincipal = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 2, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmSwitchPrincipal.setDescription("An indication of whether this switch is the principal\nswitch within its fabric.") fcmSwitchWWN = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 2, 1, 4), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmSwitchWWN.setDescription("The World Wide Name of this switch.") fcmPortTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 3)) if mibBuilder.loadTexts: fcmPortTable.setDescription("Information about Fibre Channel ports. Each Fibre Channel\nport is represented by one entry in the IF-MIB's ifTable.") fcmPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: fcmPortEntry.setDescription("Each entry contains information about a specific port.") fcmPortInstanceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortInstanceIndex.setDescription("The value of fcmInstanceIndex by which the Fibre Channel\nmanagement instance, which manages this port, is identified\nin the fcmInstanceTable.") fcmPortWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 2), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortWwn.setDescription("The World Wide Name of the port, or the zero-length string\nif the port does not have a WWN.") fcmPortNodeWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 3), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortNodeWwn.setDescription("The World Wide Name of the Node that contains this port, or\nthe zero-length string if the port does not have a node\nWWN.") fcmPortAdminType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 4), FcPortType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcmPortAdminType.setDescription("The administratively desired type of this port.") fcmPortOperType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 5), FcPortType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortOperType.setDescription("The current operational type of this port.") fcmPortFcCapClass = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 6), FcClasses()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortFcCapClass.setDescription("The classes of service capability of this port.") fcmPortFcOperClass = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 7), FcClasses()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortFcOperClass.setDescription("The classes of service that are currently operational on\nthis port. For an FL_Port, this is the union of the classes\nbeing supported across all attached NL_Ports.") fcmPortTransmitterType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,2,6,4,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("other", 2), ("shortwave850nm", 3), ("longwave1550nm", 4), ("longwave1310nm", 5), ("electrical", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortTransmitterType.setDescription("The technology of the port transceiver.") fcmPortConnectorType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(3,9,2,5,4,6,1,8,7,)).subtype(namedValues=NamedValues(("unknown", 1), ("other", 2), ("gbic", 3), ("embedded", 4), ("glm", 5), ("gbicSerialId", 6), ("gbicNoSerialId", 7), ("sfpSerialId", 8), ("sfpNoSerialId", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortConnectorType.setDescription("The module type of the port connector. This object refers\nto the hardware implementation of the port. It will be\n'embedded' if the hardware equivalent to Gigabit interface\ncard (GBIC) is part of the line card and is unremovable. It\nwill be 'glm' if it's a gigabit link module (GLM). It will\nbe 'gbicSerialId' if the GBIC serial id can be read, else it\nwill be 'gbicNoSerialId'. It will be 'sfpSerialId' if the\nsmall form factor (SFP) pluggable GBICs serial id can be\nread, else it will be 'sfpNoSerialId'.") fcmPortSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 10), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortSerialNumber.setDescription("The serial number associated with the port (e.g., for a\nGBIC). If not applicable, the object's value is a zero-\nlength string.") fcmPortPhysicalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortPhysicalNumber.setDescription("This is the port's 'Physical Port Number' as defined by\nGS-3.") fcmPortAdminSpeed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(5,3,1,2,8,4,6,7,)).subtype(namedValues=NamedValues(("auto", 1), ("eighthGbs", 2), ("quarterGbs", 3), ("halfGbs", 4), ("oneGbs", 5), ("twoGbs", 6), ("fourGbs", 7), ("tenGbs", 8), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcmPortAdminSpeed.setDescription("The speed of the interface:\n\n'auto' - auto-negotiation\n'tenGbs' - 10Gbs\n'fourGbs' - 4Gbs\n'twoGbs' - 2Gbs\n'oneGbs' - 1Gbs\n'halfGbs' - 500Mbs\n'quarterGbs' - 250Mbs\n'eighthGbs' - 125Mbs") fcmPortCapProtocols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 13), Bits().subtype(namedValues=NamedValues(("unknown", 0), ("loop", 1), ("fabric", 2), ("scsi", 3), ("tcpIp", 4), ("vi", 5), ("ficon", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortCapProtocols.setDescription("A bit mask specifying the higher level protocols that are\ncapable of running over this port. Note that for generic\nFx_Ports, E_Ports, and B_Ports, this object will indicate\nall protocols.") fcmPortOperProtocols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 3, 1, 14), Bits().subtype(namedValues=NamedValues(("unknown", 0), ("loop", 1), ("fabric", 2), ("scsi", 3), ("tcpIp", 4), ("vi", 5), ("ficon", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortOperProtocols.setDescription("A bit mask specifying the higher level protocols that are\ncurrently operational on this port. For Fx_Ports, E_Ports,\nand B_Ports, this object will typically have the value\n'unknown'.") fcmPortStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 4)) if mibBuilder.loadTexts: fcmPortStatsTable.setDescription("A list of statistics for Fibre Channel ports.") fcmPortStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1)) if mibBuilder.loadTexts: fcmPortStatsEntry.setDescription("An entry containing statistics for a Fibre Channel port.\nIf any counter in this table suffers a discontinuity, the\nvalue of ifCounterDiscontinuityTime (defined in the IF-MIB)\nmust be updated.") fcmPortBBCreditZeros = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortBBCreditZeros.setDescription("The number of transitions in/out of the buffer-to-buffer\ncredit zero state. The other side is not providing any\ncredit.") fcmPortFullInputBuffers = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortFullInputBuffers.setDescription("The number of occurrences when all input buffers of a port\nwere full and outbound buffer-to-buffer credit transitioned\nto zero, i.e., there became no credit to provide to other\nside.") fcmPortClass2RxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2RxFrames.setDescription("The number of Class 2 frames received at this port.") fcmPortClass2RxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2RxOctets.setDescription("The number of octets contained in Class 2 frames received\nat this port.") fcmPortClass2TxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2TxFrames.setDescription("The number of Class 2 frames transmitted out of this port.") fcmPortClass2TxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2TxOctets.setDescription("The number of octets contained in Class 2 frames\ntransmitted out of this port.") fcmPortClass2Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2Discards.setDescription("The number of Class 2 frames that were discarded upon\nreception at this port.") fcmPortClass2RxFbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2RxFbsyFrames.setDescription("The number of times that F_BSY was returned to this port as\na result of a Class 2 frame that could not be delivered to\nthe other end of the link. This can occur when either the\nfabric or the destination port is temporarily busy. Note\nthat this counter will never increment for an F_Port.") fcmPortClass2RxPbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2RxPbsyFrames.setDescription("The number of times that P_BSY was returned to this port as\na result of a Class 2 frame that could not be delivered to\nthe other end of the link. This can occur when the\n\n\n\ndestination port is temporarily busy.") fcmPortClass2RxFrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2RxFrjtFrames.setDescription("The number of times that F_RJT was returned to this port as\na result of a Class 2 frame that was rejected by the fabric.\nNote that this counter will never increment for an F_Port.") fcmPortClass2RxPrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2RxPrjtFrames.setDescription("The number of times that P_RJT was returned to this port as\na result of a Class 2 frame that was rejected at the\ndestination N_Port.") fcmPortClass2TxFbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2TxFbsyFrames.setDescription("The number of times that F_BSY was generated by this port\nas a result of a Class 2 frame that could not be delivered\nbecause either the Fabric or the destination port was\ntemporarily busy. Note that this counter will never\nincrement for an N_Port.") fcmPortClass2TxPbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2TxPbsyFrames.setDescription("The number of times that P_BSY was generated by this port\nas a result of a Class 2 frame that could not be delivered\nbecause the destination port was temporarily busy. Note\nthat this counter will never increment for an F_Port.") fcmPortClass2TxFrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2TxFrjtFrames.setDescription("The number of times that F_RJT was generated by this port\nas a result of a Class 2 frame being rejected by the fabric.\nNote that this counter will never increment for an N_Port.") fcmPortClass2TxPrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass2TxPrjtFrames.setDescription("The number of times that P_RJT was generated by this port\nas a result of a Class 2 frame being rejected at the\ndestination N_Port. Note that this counter will never\nincrement for an F_Port.") fcmPortClass3RxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass3RxFrames.setDescription("The number of Class 3 frames received at this port.") fcmPortClass3RxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass3RxOctets.setDescription("The number of octets contained in Class 3 frames received\nat this port.") fcmPortClass3TxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass3TxFrames.setDescription("The number of Class 3 frames transmitted out of this port.") fcmPortClass3TxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass3TxOctets.setDescription("The number of octets contained in Class 3 frames\ntransmitted out of this port.") fcmPortClass3Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClass3Discards.setDescription("The number of Class 3 frames that were discarded upon\nreception at this port.") fcmPortClassFRxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClassFRxFrames.setDescription("The number of Class F frames received at this port.") fcmPortClassFRxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClassFRxOctets.setDescription("The number of octets contained in Class F frames received\nat this port.") fcmPortClassFTxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClassFTxFrames.setDescription("The number of Class F frames transmitted out of this port.") fcmPortClassFTxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClassFTxOctets.setDescription("The number of octets contained in Class F frames\ntransmitted out of this port.") fcmPortClassFDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 4, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortClassFDiscards.setDescription("The number of Class F frames that were discarded upon\nreception at this port.") fcmPortLcStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 5)) if mibBuilder.loadTexts: fcmPortLcStatsTable.setDescription("A list of Counter32-based statistics for systems that do\nnot support Counter64.") fcmPortLcStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1)) if mibBuilder.loadTexts: fcmPortLcStatsEntry.setDescription("An entry containing low-capacity (i.e., based on Counter32)\nstatistics for a Fibre Channel port. If any counter in this\ntable suffers a discontinuity, the value of\nifCounterDiscontinuityTime (defined in the IF-MIB) must be\nupdated.") fcmPortLcBBCreditZeros = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcBBCreditZeros.setDescription("The number of transitions in/out of the buffer-to-buffer\ncredit zero state. The other side is not providing any\ncredit.") fcmPortLcFullInputBuffers = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcFullInputBuffers.setDescription("The number of occurrences when all input buffers of a port\nwere full and outbound buffer-to-buffer credit transitioned\nto zero, i.e., there became no credit to provide to other\nside.") fcmPortLcClass2RxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2RxFrames.setDescription("The number of Class 2 frames received at this port.") fcmPortLcClass2RxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2RxOctets.setDescription("The number of octets contained in Class 2 frames received\nat this port.") fcmPortLcClass2TxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2TxFrames.setDescription("The number of Class 2 frames transmitted out of this port.") fcmPortLcClass2TxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2TxOctets.setDescription("The number of octets contained in Class 2 frames\ntransmitted out of this port.") fcmPortLcClass2Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2Discards.setDescription("The number of Class 2 frames that were discarded upon\nreception at this port.") fcmPortLcClass2RxFbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2RxFbsyFrames.setDescription("The number of times that F_BSY was returned to this port as\na result of a Class 2 frame that could not be delivered to\nthe other end of the link. This can occur when either the\nfabric or the destination port is temporarily busy. Note\nthat this counter will never increment for an F_Port.") fcmPortLcClass2RxPbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2RxPbsyFrames.setDescription("The number of times that P_BSY was returned to this port as\na result of a Class 2 frame that could not be delivered to\nthe other end of the link. This can occur when the\ndestination port is temporarily busy.") fcmPortLcClass2RxFrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2RxFrjtFrames.setDescription("The number of times that F_RJT was returned to this port as\na result of a Class 2 frame that was rejected by the fabric.\nNote that this counter will never increment for an F_Port.") fcmPortLcClass2RxPrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2RxPrjtFrames.setDescription("The number of times that P_RJT was returned to this port as\na result of a Class 2 frame that was rejected at the\ndestination N_Port.") fcmPortLcClass2TxFbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2TxFbsyFrames.setDescription("The number of times that F_BSY was generated by this port\nas a result of a Class 2 frame that could not be delivered\nbecause either the Fabric or the destination port was\ntemporarily busy. Note that this counter will never\nincrement for an N_Port.") fcmPortLcClass2TxPbsyFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2TxPbsyFrames.setDescription("The number of times that P_BSY was generated by this port\nas a result of a Class 2 frame that could not be delivered\nbecause the destination port was temporarily busy. Note\nthat this counter will never increment for an F_Port.") fcmPortLcClass2TxFrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2TxFrjtFrames.setDescription("The number of times that F_RJT was generated by this port\nas a result of a Class 2 frame being rejected by the fabric.\nNote that this counter will never increment for an N_Port.") fcmPortLcClass2TxPrjtFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass2TxPrjtFrames.setDescription("The number of times that P_RJT was generated by this port\nas a result of a Class 2 frame being rejected at the\ndestination N_Port. Note that this counter will never\nincrement for an F_Port.") fcmPortLcClass3RxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass3RxFrames.setDescription("The number of Class 3 frames received at this port.") fcmPortLcClass3RxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass3RxOctets.setDescription("The number of octets contained in Class 3 frames received\nat this port.") fcmPortLcClass3TxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass3TxFrames.setDescription("The number of Class 3 frames transmitted out of this port.") fcmPortLcClass3TxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass3TxOctets.setDescription("The number of octets contained in Class 3 frames\ntransmitted out of this port.") fcmPortLcClass3Discards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 5, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLcClass3Discards.setDescription("The number of Class 3 frames that were discarded upon\nreception at this port.") fcmPortErrorsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 6)) if mibBuilder.loadTexts: fcmPortErrorsTable.setDescription("Error counters for Fibre Channel ports.") fcmPortErrorsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1)) if mibBuilder.loadTexts: fcmPortErrorsEntry.setDescription("Error counters for a Fibre Channel port. If any counter in\nthis table suffers a discontinuity, the value of\nifCounterDiscontinuityTime (defined in the IF-MIB) must be\nupdated.") fcmPortRxLinkResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortRxLinkResets.setDescription("The number of Link Reset (LR) Primitive Sequences\nreceived.") fcmPortTxLinkResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortTxLinkResets.setDescription("The number of Link Reset (LR) Primitive Sequences\ntransmitted.") fcmPortLinkResets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLinkResets.setDescription("The number of times the reset link protocol was initiated\non this port. This includes the number of Loop\nInitialization Primitive (LIP) events on an arbitrated loop\nport.") fcmPortRxOfflineSequences = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortRxOfflineSequences.setDescription("The number of Offline (OLS) Primitive Sequences received at\nthis port.") fcmPortTxOfflineSequences = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortTxOfflineSequences.setDescription("The number of Offline (OLS) Primitive Sequences transmitted\nby this port.") fcmPortLinkFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLinkFailures.setDescription("The number of link failures. This count is part of FC-PH's\nLink Error Status Block (LESB).") fcmPortLossofSynchs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLossofSynchs.setDescription("The number of instances of synchronization loss detected at\nthis port. This count is part of FC-PH's Link Error Status\nBlock (LESB).") fcmPortLossofSignals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortLossofSignals.setDescription("The number of instances of signal loss detected at this\nport. This count is part of FC-PH's Link Error Status Block\n(LESB).") fcmPortPrimSeqProtocolErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortPrimSeqProtocolErrors.setDescription("The number of primitive sequence protocol errors detected\nat this port. This count is part of FC-PH's Link Error\nStatus Block (LESB).") fcmPortInvalidTxWords = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortInvalidTxWords.setDescription("The number of invalid transmission words received at this\nport. This count is part of FC-PH's Link Error Status Block\n(LESB).") fcmPortInvalidCRCs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortInvalidCRCs.setDescription("The number of frames received with an invalid CRC. This\ncount is part of FC-PH's Link Error Status Block (LESB).") fcmPortInvalidOrderedSets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortInvalidOrderedSets.setDescription("The number of invalid ordered sets received at this port.") fcmPortFrameTooLongs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortFrameTooLongs.setDescription("The number of frames received at this port for which the\nframe length was greater than what was agreed to in\nFLOGI/PLOGI. This could be caused by losing the end of\nframe delimiter.") fcmPortTruncatedFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortTruncatedFrames.setDescription("The number of frames received at this port for which the\n\n\n\nframe length was less than the minimum indicated by the\nframe header - normally 24 bytes, but it could be more if\nthe DFCTL field indicates an optional header should have\nbeen present.") fcmPortAddressErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortAddressErrors.setDescription("The number of frames received with unknown addressing; for\nexample, an unknown SID or DID.") fcmPortDelimiterErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortDelimiterErrors.setDescription("The number of invalid frame delimiters received at this\nport. An example is a frame with a class 2 start and a\nclass 3 at the end.") fcmPortEncodingDisparityErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortEncodingDisparityErrors.setDescription("The number of encoding disparity errors received at this\nport.") fcmPortOtherErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 6, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmPortOtherErrors.setDescription("The number of errors that were detected on this port but\nnot counted by any other error counter in this row.") fcmFxPortTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 7)) if mibBuilder.loadTexts: fcmFxPortTable.setDescription("Additional information about Fibre Channel ports that is\nspecific to Fx_Ports. This table will contain one entry for\neach fcmPortTable entry that represents an Fx_Port.") fcmFxPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: fcmFxPortEntry.setDescription("Each entry contains information about a specific Fx_Port.") fcmFxPortRatov = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortRatov.setDescription("The Resource_Allocation_Timeout Value configured for this\nFx_Port. This is used as the timeout value for determining\nwhen to reuse an Nx_Port resource such as a\n\n\n\nRecovery_Qualifier. It represents the Error_Detect_Timeout\nvalue (see fcmFxPortEdtov) plus twice the maximum time that\na frame may be delayed within the Fabric and still be\ndelivered.") fcmFxPortEdtov = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortEdtov.setDescription("The Error_Detect_Timeout value configured for this Fx_Port.\nThis is used as the timeout value for detecting an error\ncondition.") fcmFxPortRttov = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortRttov.setDescription("The Receiver_Transmitter_Timeout value of this Fx_Port.\nThis is used by the receiver logic to detect a Loss of\nSynchronization.") fcmFxPortHoldTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortHoldTime.setDescription("The maximum time that this Fx_Port shall hold a frame\nbefore discarding the frame if it is unable to deliver the\nframe. The value 0 means that this Fx_Port does not support\nthis parameter.") fcmFxPortCapBbCreditMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 5), FcBbCredit()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapBbCreditMax.setDescription("The maximum number of receive buffers that this port is\ncapable of making available for holding frames from attached\n\n\n\nNx_Port(s).") fcmFxPortCapBbCreditMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 6), FcBbCredit()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapBbCreditMin.setDescription("The minimum number of receive buffers that this port is\ncapable of making available for holding frames from attached\nNx_Port(s).") fcmFxPortCapDataFieldSizeMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 7), FcDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapDataFieldSizeMax.setDescription("The maximum size in bytes of the Data Field in a frame that\nthis Fx_Port is capable of receiving from an attached\nNx_Port.") fcmFxPortCapDataFieldSizeMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 8), FcDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapDataFieldSizeMin.setDescription("The minimum size in bytes of the Data Field in a frame that\nthis Fx_Port is capable of receiving from an attached\nNx_Port.") fcmFxPortCapClass2SeqDeliv = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapClass2SeqDeliv.setDescription("An indication of whether this Fx_Port is capable of\nsupporting Class 2 Sequential Delivery.") fcmFxPortCapClass3SeqDeliv = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapClass3SeqDeliv.setDescription("An indication of whether this Fx_Port is capable of\nsupporting Class 3 Sequential Delivery.") fcmFxPortCapHoldTimeMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapHoldTimeMax.setDescription("The maximum holding time that this Fx_Port is capable of\nsupporting.") fcmFxPortCapHoldTimeMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 7, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFxPortCapHoldTimeMin.setDescription("The minimum holding time that this Fx_Port is capable of\nsupporting.") fcmISPortTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 8)) if mibBuilder.loadTexts: fcmISPortTable.setDescription("Additional information about E_Ports, B_Ports, and any\nother type of Fibre Channel port to which inter-switch links\ncan be connected. This table will contain one entry for\neach fcmPortTable entry that represents such a port.") fcmISPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: fcmISPortEntry.setDescription("Each entry contains information about a specific port\nconnected to an inter-switch link.") fcmISPortClassFCredit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 8, 1, 1), FcBbCredit()).setMaxAccess("readwrite") if mibBuilder.loadTexts: fcmISPortClassFCredit.setDescription("The maximum number of Class F data frames that can be\ntransmitted by the inter-switch port without receipt of ACK\nor Link_Response frames.") fcmISPortClassFDataFieldSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 8, 1, 2), FcDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmISPortClassFDataFieldSize.setDescription("The Receive Data Field Size that the inter-switch port has\nagreed to support for Class F frames to/from this port. The\nsize specifies the largest Data Field Size for an FT_1\nframe.") fcmFLoginTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 9)) if mibBuilder.loadTexts: fcmFLoginTable.setDescription("A table that contains one entry for each Nx_Port logged-\nin/attached to a particular Fx_Port in the switch. Each\nentry contains the services parameters established during\nthe most recent Fabric Login, explicit or implicit. Note\nthat an Fx_Port may have one or more Nx_Ports attached to\nit.") fcmFLoginEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FC-MGMT-MIB", "fcmFLoginNxPortIndex")) if mibBuilder.loadTexts: fcmFLoginEntry.setDescription("An entry containing service parameters established from a\nsuccessful Fabric Login.") fcmFLoginNxPortIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcmFLoginNxPortIndex.setDescription("An arbitrary integer that uniquely identifies an Nx_Port\namongst all those attached to the Fx_Port indicated by\nifIndex.\n\nAfter a value of this object is assigned to a particular\nNx_Port, that value can be re-used when and only when it is\nassigned to the same Nx_Port, or, after a reset of the value\nof the relevant instance of ifCounterDiscontinuityTime.") fcmFLoginPortWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 2), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginPortWwn.setDescription("The port name of the attached Nx_Port, or the zero-length\nstring if unknown.") fcmFLoginNodeWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 3), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginNodeWwn.setDescription("The node name of the attached Nx_Port, or the zero-length\nstring if unknown.") fcmFLoginBbCreditModel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 4), FcBbCreditModel()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginBbCreditModel.setDescription("The buffer-to-buffer credit model in use by the Fx_Port.") fcmFLoginBbCredit = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 5), FcBbCredit()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginBbCredit.setDescription("The number of buffers available for holding frames to be\n\n\n\ntransmitted to the attached Nx_Port. These buffers are for\nbuffer-to-buffer flow control in the direction from Fx_Port\nto Nx_Port.") fcmFLoginClassesAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 6), FcClasses()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginClassesAgreed.setDescription("The Classes of Service that the Fx_Port has agreed to\nsupport for this Nx_Port.") fcmFLoginClass2SeqDelivAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginClass2SeqDelivAgreed.setDescription("An indication of whether the Fx_Port has agreed to support\nClass 2 sequential delivery for this Nx_Port. This is only\nmeaningful if Class 2 service has been agreed upon.") fcmFLoginClass2DataFieldSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 8), FcDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginClass2DataFieldSize.setDescription("The Receive Data Field Size that the Fx_Port has agreed to\nsupport for Class 2 frames to/from this Nx_Port. The size\nspecifies the largest Data Field Size for an FT_1 frame.\nThis is only meaningful if Class 2 service has been agreed\nupon.") fcmFLoginClass3SeqDelivAgreed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginClass3SeqDelivAgreed.setDescription("An indication of whether the Fx_Port has agreed to support\nClass 3 sequential delivery for this Nx_Port. This is only\nmeaningful if Class 3 service has been agreed upon.") fcmFLoginClass3DataFieldSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 9, 1, 10), FcDataFieldSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmFLoginClass3DataFieldSize.setDescription("The Receive Data Field Size that the Fx_Port has agreed to\nsupport for Class 3 frames to/from this Nx_Port. The size\nspecifies the largest Data Field Size for an FT_1 frame.\nThis is only meaningful if Class 3 service has been agreed\nupon.") fcmLinkTable = MibTable((1, 3, 6, 1, 2, 1, 10, 56, 1, 10)) if mibBuilder.loadTexts: fcmLinkTable.setDescription("A table containing any Fibre Channel link information that\nis known to local Fibre Channel managed instances. One end\nof such a link is typically at a local port, but the table\ncan also contain information on links for which neither end\nis a local port.\n\nIf one end of a link terminates locally, then that end is\ntermed 'end1'; the other end is termed 'end2'.") fcmLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "FC-MGMT-MIB", "fcmLinkIndex")) if mibBuilder.loadTexts: fcmLinkEntry.setDescription("An entry containing information that a particular Fibre\nChannel managed instance has about a Fibre Channel link.\n\nThe two ends of the link are called 'end1' and 'end2'.") fcmLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: fcmLinkIndex.setDescription("An arbitrary integer that uniquely identifies one link\nwithin the set of links about which a particular managed\ninstance has information.") fcmLinkEnd1NodeWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 2), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd1NodeWwn.setDescription("The node name of end1, or the zero-length string if\nunknown.") fcmLinkEnd1PhysPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd1PhysPortNumber.setDescription("The physical port number of end1, or zero if unknown.") fcmLinkEnd1PortWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 4), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd1PortWwn.setDescription("The port WWN of end1, or the zero-length string if unknown.\n('end1' is local if this value is equal to the value of\nfcmPortWwn in one of the rows of the fcmPortTable.)") fcmLinkEnd2NodeWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 5), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd2NodeWwn.setDescription("The node name of end2, or the zero-length string if\nunknown.") fcmLinkEnd2PhysPortNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd2PhysPortNumber.setDescription("The physical port number of end2, or zero if unknown.") fcmLinkEnd2PortWwn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 7), FcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd2PortWwn.setDescription("The port WWN of end2, or the zero-length string if\nunknown.") fcmLinkEnd2AgentAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd2AgentAddress.setDescription("The address of the management agent for the Fibre Channel\nInterconnect Element or Platform of which end2 is a part.\nThe GS-4 specification provides some information about\nmanagement agents. If the address is unknown, the value of\nthis object is the zero-length string.") fcmLinkEnd2PortType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 9), FcPortType()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd2PortType.setDescription("The port type of end2.") fcmLinkEnd2UnitType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 10), FcUnitFunctions()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd2UnitType.setDescription("The type of/function(s) performed by the Fibre Channel\nInterconnect Element or Platform of which end2 is a part.") fcmLinkEnd2FcAddressId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 56, 1, 10, 1, 11), FcAddressIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: fcmLinkEnd2FcAddressId.setDescription("The Fibre Channel Address ID of end2, or the zero-length\nstring if unknown.") fcmgmtNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 56, 2)) fcmgmtNotifPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 56, 2, 0)) fcmgmtConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 56, 3)) fcmgmtCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 56, 3, 1)) fcmgmtGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 56, 3, 2)) # Augmentions fcmPortEntry.registerAugmentions(("FC-MGMT-MIB", "fcmPortStatsEntry")) fcmPortStatsEntry.setIndexNames(*fcmPortEntry.getIndexNames()) fcmPortEntry.registerAugmentions(("FC-MGMT-MIB", "fcmPortErrorsEntry")) fcmPortErrorsEntry.setIndexNames(*fcmPortEntry.getIndexNames()) fcmPortEntry.registerAugmentions(("FC-MGMT-MIB", "fcmPortLcStatsEntry")) fcmPortLcStatsEntry.setIndexNames(*fcmPortEntry.getIndexNames()) # Groups fcmInstanceBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 1)).setObjects(*(("FC-MGMT-MIB", "fcmInstanceDescr"), ("FC-MGMT-MIB", "fcmInstanceWwn"), ("FC-MGMT-MIB", "fcmInstanceStatus"), ("FC-MGMT-MIB", "fcmInstanceFabricId"), ("FC-MGMT-MIB", "fcmInstanceSoftwareIndex"), ("FC-MGMT-MIB", "fcmInstanceTextName"), ("FC-MGMT-MIB", "fcmInstancePhysicalIndex"), ("FC-MGMT-MIB", "fcmInstanceFunctions"), ) ) if mibBuilder.loadTexts: fcmInstanceBasicGroup.setDescription("Basic information about Fibre Channel managed instances.") fcmSwitchBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 2)).setObjects(*(("FC-MGMT-MIB", "fcmSwitchDomainId"), ("FC-MGMT-MIB", "fcmSwitchWWN"), ("FC-MGMT-MIB", "fcmSwitchPrincipal"), ) ) if mibBuilder.loadTexts: fcmSwitchBasicGroup.setDescription("Basic information about Fibre Channel switches.") fcmPortBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 3)).setObjects(*(("FC-MGMT-MIB", "fcmPortFcOperClass"), ("FC-MGMT-MIB", "fcmPortOperType"), ("FC-MGMT-MIB", "fcmPortConnectorType"), ("FC-MGMT-MIB", "fcmPortSerialNumber"), ("FC-MGMT-MIB", "fcmPortFcCapClass"), ("FC-MGMT-MIB", "fcmPortAdminSpeed"), ("FC-MGMT-MIB", "fcmPortCapProtocols"), ("FC-MGMT-MIB", "fcmPortWwn"), ("FC-MGMT-MIB", "fcmPortTransmitterType"), ("FC-MGMT-MIB", "fcmPortNodeWwn"), ("FC-MGMT-MIB", "fcmPortAdminType"), ("FC-MGMT-MIB", "fcmPortInstanceIndex"), ("FC-MGMT-MIB", "fcmPortOperProtocols"), ("FC-MGMT-MIB", "fcmPortPhysicalNumber"), ) ) if mibBuilder.loadTexts: fcmPortBasicGroup.setDescription("Basic information about Fibre Channel ports.") fcmPortStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 4)).setObjects(*(("FC-MGMT-MIB", "fcmPortBBCreditZeros"), ("FC-MGMT-MIB", "fcmPortFullInputBuffers"), ) ) if mibBuilder.loadTexts: fcmPortStatsGroup.setDescription("Traffic statistics, which are not specific to any one class\nof service, for Fibre Channel ports.") fcmPortClass23StatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 5)).setObjects(*(("FC-MGMT-MIB", "fcmPortClass2RxFrames"), ("FC-MGMT-MIB", "fcmPortClass2RxPrjtFrames"), ("FC-MGMT-MIB", "fcmPortClass3TxFrames"), ("FC-MGMT-MIB", "fcmPortClass2RxFbsyFrames"), ("FC-MGMT-MIB", "fcmPortClass2TxFrjtFrames"), ("FC-MGMT-MIB", "fcmPortClass2RxOctets"), ("FC-MGMT-MIB", "fcmPortClass2TxFbsyFrames"), ("FC-MGMT-MIB", "fcmPortClass2TxPrjtFrames"), ("FC-MGMT-MIB", "fcmPortClass2Discards"), ("FC-MGMT-MIB", "fcmPortClass2RxPbsyFrames"), ("FC-MGMT-MIB", "fcmPortClass2TxOctets"), ("FC-MGMT-MIB", "fcmPortClass2RxFrjtFrames"), ("FC-MGMT-MIB", "fcmPortClass3RxFrames"), ("FC-MGMT-MIB", "fcmPortClass2TxPbsyFrames"), ("FC-MGMT-MIB", "fcmPortClass3Discards"), ("FC-MGMT-MIB", "fcmPortClass3RxOctets"), ("FC-MGMT-MIB", "fcmPortClass2TxFrames"), ("FC-MGMT-MIB", "fcmPortClass3TxOctets"), ) ) if mibBuilder.loadTexts: fcmPortClass23StatsGroup.setDescription("Traffic statistics for Class 2 and Class 3 traffic on Fibre\nChannel ports.") fcmPortClassFStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 6)).setObjects(*(("FC-MGMT-MIB", "fcmPortClassFTxOctets"), ("FC-MGMT-MIB", "fcmPortClassFDiscards"), ("FC-MGMT-MIB", "fcmPortClassFRxOctets"), ("FC-MGMT-MIB", "fcmPortClassFRxFrames"), ("FC-MGMT-MIB", "fcmPortClassFTxFrames"), ) ) if mibBuilder.loadTexts: fcmPortClassFStatsGroup.setDescription("Traffic statistics for Class F traffic on Fibre Channel\nports.") fcmPortLcStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 7)).setObjects(*(("FC-MGMT-MIB", "fcmPortLcFullInputBuffers"), ("FC-MGMT-MIB", "fcmPortLcClass2Discards"), ("FC-MGMT-MIB", "fcmPortLcClass2TxOctets"), ("FC-MGMT-MIB", "fcmPortLcClass2RxPbsyFrames"), ("FC-MGMT-MIB", "fcmPortLcClass3Discards"), ("FC-MGMT-MIB", "fcmPortLcClass2RxOctets"), ("FC-MGMT-MIB", "fcmPortLcClass2RxFrames"), ("FC-MGMT-MIB", "fcmPortLcClass3RxOctets"), ("FC-MGMT-MIB", "fcmPortLcClass2TxFbsyFrames"), ("FC-MGMT-MIB", "fcmPortLcClass2TxPrjtFrames"), ("FC-MGMT-MIB", "fcmPortLcClass2RxFrjtFrames"), ("FC-MGMT-MIB", "fcmPortLcClass3RxFrames"), ("FC-MGMT-MIB", "fcmPortLcClass2RxFbsyFrames"), ("FC-MGMT-MIB", "fcmPortLcClass2TxFrjtFrames"), ("FC-MGMT-MIB", "fcmPortLcClass2RxPrjtFrames"), ("FC-MGMT-MIB", "fcmPortLcBBCreditZeros"), ("FC-MGMT-MIB", "fcmPortLcClass3TxOctets"), ("FC-MGMT-MIB", "fcmPortLcClass3TxFrames"), ("FC-MGMT-MIB", "fcmPortLcClass2TxPbsyFrames"), ("FC-MGMT-MIB", "fcmPortLcClass2TxFrames"), ) ) if mibBuilder.loadTexts: fcmPortLcStatsGroup.setDescription("Low-capacity (32-bit) statistics for Fibre Channel ports.") fcmPortErrorsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 8)).setObjects(*(("FC-MGMT-MIB", "fcmPortOtherErrors"), ("FC-MGMT-MIB", "fcmPortPrimSeqProtocolErrors"), ("FC-MGMT-MIB", "fcmPortInvalidTxWords"), ("FC-MGMT-MIB", "fcmPortInvalidOrderedSets"), ("FC-MGMT-MIB", "fcmPortLinkResets"), ("FC-MGMT-MIB", "fcmPortInvalidCRCs"), ("FC-MGMT-MIB", "fcmPortAddressErrors"), ("FC-MGMT-MIB", "fcmPortTxOfflineSequences"), ("FC-MGMT-MIB", "fcmPortLossofSignals"), ("FC-MGMT-MIB", "fcmPortRxOfflineSequences"), ("FC-MGMT-MIB", "fcmPortLinkFailures"), ("FC-MGMT-MIB", "fcmPortTxLinkResets"), ("FC-MGMT-MIB", "fcmPortDelimiterErrors"), ("FC-MGMT-MIB", "fcmPortEncodingDisparityErrors"), ("FC-MGMT-MIB", "fcmPortRxLinkResets"), ("FC-MGMT-MIB", "fcmPortLossofSynchs"), ("FC-MGMT-MIB", "fcmPortFrameTooLongs"), ("FC-MGMT-MIB", "fcmPortTruncatedFrames"), ) ) if mibBuilder.loadTexts: fcmPortErrorsGroup.setDescription("Error statistics for Fibre Channel ports.") fcmSwitchPortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 9)).setObjects(*(("FC-MGMT-MIB", "fcmFxPortRttov"), ("FC-MGMT-MIB", "fcmFxPortCapHoldTimeMin"), ("FC-MGMT-MIB", "fcmFxPortEdtov"), ("FC-MGMT-MIB", "fcmFxPortRatov"), ("FC-MGMT-MIB", "fcmFxPortHoldTime"), ("FC-MGMT-MIB", "fcmFxPortCapBbCreditMax"), ("FC-MGMT-MIB", "fcmFxPortCapClass3SeqDeliv"), ("FC-MGMT-MIB", "fcmISPortClassFDataFieldSize"), ("FC-MGMT-MIB", "fcmFxPortCapClass2SeqDeliv"), ("FC-MGMT-MIB", "fcmFxPortCapBbCreditMin"), ("FC-MGMT-MIB", "fcmFxPortCapHoldTimeMax"), ("FC-MGMT-MIB", "fcmFxPortCapDataFieldSizeMax"), ("FC-MGMT-MIB", "fcmFxPortCapDataFieldSizeMin"), ("FC-MGMT-MIB", "fcmISPortClassFCredit"), ) ) if mibBuilder.loadTexts: fcmSwitchPortGroup.setDescription("Information about ports on a Fibre Channel switch.") fcmSwitchLoginGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 10)).setObjects(*(("FC-MGMT-MIB", "fcmFLoginClass3SeqDelivAgreed"), ("FC-MGMT-MIB", "fcmFLoginNodeWwn"), ("FC-MGMT-MIB", "fcmFLoginClass3DataFieldSize"), ("FC-MGMT-MIB", "fcmFLoginClass2SeqDelivAgreed"), ("FC-MGMT-MIB", "fcmFLoginBbCredit"), ("FC-MGMT-MIB", "fcmFLoginClass2DataFieldSize"), ("FC-MGMT-MIB", "fcmFLoginBbCreditModel"), ("FC-MGMT-MIB", "fcmFLoginClassesAgreed"), ("FC-MGMT-MIB", "fcmFLoginPortWwn"), ) ) if mibBuilder.loadTexts: fcmSwitchLoginGroup.setDescription("Information known to a Fibre Channel switch about\nattached/logged-in Nx_Ports.") fcmLinkBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 56, 3, 2, 11)).setObjects(*(("FC-MGMT-MIB", "fcmLinkEnd1NodeWwn"), ("FC-MGMT-MIB", "fcmLinkEnd2AgentAddress"), ("FC-MGMT-MIB", "fcmLinkEnd2FcAddressId"), ("FC-MGMT-MIB", "fcmLinkEnd2NodeWwn"), ("FC-MGMT-MIB", "fcmLinkEnd2PortWwn"), ("FC-MGMT-MIB", "fcmLinkEnd2PortType"), ("FC-MGMT-MIB", "fcmLinkEnd2UnitType"), ("FC-MGMT-MIB", "fcmLinkEnd1PhysPortNumber"), ("FC-MGMT-MIB", "fcmLinkEnd2PhysPortNumber"), ("FC-MGMT-MIB", "fcmLinkEnd1PortWwn"), ) ) if mibBuilder.loadTexts: fcmLinkBasicGroup.setDescription("Information about Fibre Channel links.") # Compliances fcmgmtCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 56, 3, 1, 1)).setObjects(*(("FC-MGMT-MIB", "fcmPortStatsGroup"), ("FC-MGMT-MIB", "fcmPortLcStatsGroup"), ("FC-MGMT-MIB", "fcmSwitchBasicGroup"), ("FC-MGMT-MIB", "fcmPortClass23StatsGroup"), ("FC-MGMT-MIB", "fcmPortBasicGroup"), ("FC-MGMT-MIB", "fcmPortErrorsGroup"), ("FC-MGMT-MIB", "fcmLinkBasicGroup"), ("FC-MGMT-MIB", "fcmInstanceBasicGroup"), ("FC-MGMT-MIB", "fcmPortClassFStatsGroup"), ("FC-MGMT-MIB", "fcmSwitchLoginGroup"), ("FC-MGMT-MIB", "fcmSwitchPortGroup"), ) ) if mibBuilder.loadTexts: fcmgmtCompliance.setDescription("Describes the requirements for compliance to this Fibre\nChannel Management MIB.") # Exports # Module identity mibBuilder.exportSymbols("FC-MGMT-MIB", PYSNMP_MODULE_ID=fcMgmtMIB) # Types mibBuilder.exportSymbols("FC-MGMT-MIB", FcAddressIdOrZero=FcAddressIdOrZero, FcBbCredit=FcBbCredit, FcBbCreditModel=FcBbCreditModel, FcClasses=FcClasses, FcDataFieldSize=FcDataFieldSize, FcDomainIdOrZero=FcDomainIdOrZero, FcNameIdOrZero=FcNameIdOrZero, FcPortType=FcPortType, FcUnitFunctions=FcUnitFunctions) # Objects mibBuilder.exportSymbols("FC-MGMT-MIB", fcMgmtMIB=fcMgmtMIB, fcmgmtObjects=fcmgmtObjects, fcmInstanceTable=fcmInstanceTable, fcmInstanceEntry=fcmInstanceEntry, fcmInstanceIndex=fcmInstanceIndex, fcmInstanceWwn=fcmInstanceWwn, fcmInstanceFunctions=fcmInstanceFunctions, fcmInstancePhysicalIndex=fcmInstancePhysicalIndex, fcmInstanceSoftwareIndex=fcmInstanceSoftwareIndex, fcmInstanceStatus=fcmInstanceStatus, fcmInstanceTextName=fcmInstanceTextName, fcmInstanceDescr=fcmInstanceDescr, fcmInstanceFabricId=fcmInstanceFabricId, fcmSwitchTable=fcmSwitchTable, fcmSwitchEntry=fcmSwitchEntry, fcmSwitchIndex=fcmSwitchIndex, fcmSwitchDomainId=fcmSwitchDomainId, fcmSwitchPrincipal=fcmSwitchPrincipal, fcmSwitchWWN=fcmSwitchWWN, fcmPortTable=fcmPortTable, fcmPortEntry=fcmPortEntry, fcmPortInstanceIndex=fcmPortInstanceIndex, fcmPortWwn=fcmPortWwn, fcmPortNodeWwn=fcmPortNodeWwn, fcmPortAdminType=fcmPortAdminType, fcmPortOperType=fcmPortOperType, fcmPortFcCapClass=fcmPortFcCapClass, fcmPortFcOperClass=fcmPortFcOperClass, fcmPortTransmitterType=fcmPortTransmitterType, fcmPortConnectorType=fcmPortConnectorType, fcmPortSerialNumber=fcmPortSerialNumber, fcmPortPhysicalNumber=fcmPortPhysicalNumber, fcmPortAdminSpeed=fcmPortAdminSpeed, fcmPortCapProtocols=fcmPortCapProtocols, fcmPortOperProtocols=fcmPortOperProtocols, fcmPortStatsTable=fcmPortStatsTable, fcmPortStatsEntry=fcmPortStatsEntry, fcmPortBBCreditZeros=fcmPortBBCreditZeros, fcmPortFullInputBuffers=fcmPortFullInputBuffers, fcmPortClass2RxFrames=fcmPortClass2RxFrames, fcmPortClass2RxOctets=fcmPortClass2RxOctets, fcmPortClass2TxFrames=fcmPortClass2TxFrames, fcmPortClass2TxOctets=fcmPortClass2TxOctets, fcmPortClass2Discards=fcmPortClass2Discards, fcmPortClass2RxFbsyFrames=fcmPortClass2RxFbsyFrames, fcmPortClass2RxPbsyFrames=fcmPortClass2RxPbsyFrames, fcmPortClass2RxFrjtFrames=fcmPortClass2RxFrjtFrames, fcmPortClass2RxPrjtFrames=fcmPortClass2RxPrjtFrames, fcmPortClass2TxFbsyFrames=fcmPortClass2TxFbsyFrames, fcmPortClass2TxPbsyFrames=fcmPortClass2TxPbsyFrames, fcmPortClass2TxFrjtFrames=fcmPortClass2TxFrjtFrames, fcmPortClass2TxPrjtFrames=fcmPortClass2TxPrjtFrames, fcmPortClass3RxFrames=fcmPortClass3RxFrames, fcmPortClass3RxOctets=fcmPortClass3RxOctets, fcmPortClass3TxFrames=fcmPortClass3TxFrames, fcmPortClass3TxOctets=fcmPortClass3TxOctets, fcmPortClass3Discards=fcmPortClass3Discards, fcmPortClassFRxFrames=fcmPortClassFRxFrames, fcmPortClassFRxOctets=fcmPortClassFRxOctets, fcmPortClassFTxFrames=fcmPortClassFTxFrames, fcmPortClassFTxOctets=fcmPortClassFTxOctets, fcmPortClassFDiscards=fcmPortClassFDiscards, fcmPortLcStatsTable=fcmPortLcStatsTable, fcmPortLcStatsEntry=fcmPortLcStatsEntry, fcmPortLcBBCreditZeros=fcmPortLcBBCreditZeros, fcmPortLcFullInputBuffers=fcmPortLcFullInputBuffers, fcmPortLcClass2RxFrames=fcmPortLcClass2RxFrames, fcmPortLcClass2RxOctets=fcmPortLcClass2RxOctets, fcmPortLcClass2TxFrames=fcmPortLcClass2TxFrames, fcmPortLcClass2TxOctets=fcmPortLcClass2TxOctets, fcmPortLcClass2Discards=fcmPortLcClass2Discards, fcmPortLcClass2RxFbsyFrames=fcmPortLcClass2RxFbsyFrames, fcmPortLcClass2RxPbsyFrames=fcmPortLcClass2RxPbsyFrames, fcmPortLcClass2RxFrjtFrames=fcmPortLcClass2RxFrjtFrames, fcmPortLcClass2RxPrjtFrames=fcmPortLcClass2RxPrjtFrames, fcmPortLcClass2TxFbsyFrames=fcmPortLcClass2TxFbsyFrames, fcmPortLcClass2TxPbsyFrames=fcmPortLcClass2TxPbsyFrames, fcmPortLcClass2TxFrjtFrames=fcmPortLcClass2TxFrjtFrames, fcmPortLcClass2TxPrjtFrames=fcmPortLcClass2TxPrjtFrames, fcmPortLcClass3RxFrames=fcmPortLcClass3RxFrames, fcmPortLcClass3RxOctets=fcmPortLcClass3RxOctets, fcmPortLcClass3TxFrames=fcmPortLcClass3TxFrames, fcmPortLcClass3TxOctets=fcmPortLcClass3TxOctets, fcmPortLcClass3Discards=fcmPortLcClass3Discards, fcmPortErrorsTable=fcmPortErrorsTable, fcmPortErrorsEntry=fcmPortErrorsEntry, fcmPortRxLinkResets=fcmPortRxLinkResets, fcmPortTxLinkResets=fcmPortTxLinkResets, fcmPortLinkResets=fcmPortLinkResets, fcmPortRxOfflineSequences=fcmPortRxOfflineSequences, fcmPortTxOfflineSequences=fcmPortTxOfflineSequences, fcmPortLinkFailures=fcmPortLinkFailures, fcmPortLossofSynchs=fcmPortLossofSynchs, fcmPortLossofSignals=fcmPortLossofSignals, fcmPortPrimSeqProtocolErrors=fcmPortPrimSeqProtocolErrors, fcmPortInvalidTxWords=fcmPortInvalidTxWords, fcmPortInvalidCRCs=fcmPortInvalidCRCs, fcmPortInvalidOrderedSets=fcmPortInvalidOrderedSets, fcmPortFrameTooLongs=fcmPortFrameTooLongs, fcmPortTruncatedFrames=fcmPortTruncatedFrames, fcmPortAddressErrors=fcmPortAddressErrors, fcmPortDelimiterErrors=fcmPortDelimiterErrors, fcmPortEncodingDisparityErrors=fcmPortEncodingDisparityErrors, fcmPortOtherErrors=fcmPortOtherErrors, fcmFxPortTable=fcmFxPortTable, fcmFxPortEntry=fcmFxPortEntry, fcmFxPortRatov=fcmFxPortRatov, fcmFxPortEdtov=fcmFxPortEdtov, fcmFxPortRttov=fcmFxPortRttov, fcmFxPortHoldTime=fcmFxPortHoldTime, fcmFxPortCapBbCreditMax=fcmFxPortCapBbCreditMax, fcmFxPortCapBbCreditMin=fcmFxPortCapBbCreditMin, fcmFxPortCapDataFieldSizeMax=fcmFxPortCapDataFieldSizeMax, fcmFxPortCapDataFieldSizeMin=fcmFxPortCapDataFieldSizeMin, fcmFxPortCapClass2SeqDeliv=fcmFxPortCapClass2SeqDeliv, fcmFxPortCapClass3SeqDeliv=fcmFxPortCapClass3SeqDeliv, fcmFxPortCapHoldTimeMax=fcmFxPortCapHoldTimeMax, fcmFxPortCapHoldTimeMin=fcmFxPortCapHoldTimeMin, fcmISPortTable=fcmISPortTable, fcmISPortEntry=fcmISPortEntry, fcmISPortClassFCredit=fcmISPortClassFCredit, fcmISPortClassFDataFieldSize=fcmISPortClassFDataFieldSize, fcmFLoginTable=fcmFLoginTable, fcmFLoginEntry=fcmFLoginEntry, fcmFLoginNxPortIndex=fcmFLoginNxPortIndex, fcmFLoginPortWwn=fcmFLoginPortWwn) mibBuilder.exportSymbols("FC-MGMT-MIB", fcmFLoginNodeWwn=fcmFLoginNodeWwn, fcmFLoginBbCreditModel=fcmFLoginBbCreditModel, fcmFLoginBbCredit=fcmFLoginBbCredit, fcmFLoginClassesAgreed=fcmFLoginClassesAgreed, fcmFLoginClass2SeqDelivAgreed=fcmFLoginClass2SeqDelivAgreed, fcmFLoginClass2DataFieldSize=fcmFLoginClass2DataFieldSize, fcmFLoginClass3SeqDelivAgreed=fcmFLoginClass3SeqDelivAgreed, fcmFLoginClass3DataFieldSize=fcmFLoginClass3DataFieldSize, fcmLinkTable=fcmLinkTable, fcmLinkEntry=fcmLinkEntry, fcmLinkIndex=fcmLinkIndex, fcmLinkEnd1NodeWwn=fcmLinkEnd1NodeWwn, fcmLinkEnd1PhysPortNumber=fcmLinkEnd1PhysPortNumber, fcmLinkEnd1PortWwn=fcmLinkEnd1PortWwn, fcmLinkEnd2NodeWwn=fcmLinkEnd2NodeWwn, fcmLinkEnd2PhysPortNumber=fcmLinkEnd2PhysPortNumber, fcmLinkEnd2PortWwn=fcmLinkEnd2PortWwn, fcmLinkEnd2AgentAddress=fcmLinkEnd2AgentAddress, fcmLinkEnd2PortType=fcmLinkEnd2PortType, fcmLinkEnd2UnitType=fcmLinkEnd2UnitType, fcmLinkEnd2FcAddressId=fcmLinkEnd2FcAddressId, fcmgmtNotifications=fcmgmtNotifications, fcmgmtNotifPrefix=fcmgmtNotifPrefix, fcmgmtConformance=fcmgmtConformance, fcmgmtCompliances=fcmgmtCompliances, fcmgmtGroups=fcmgmtGroups) # Groups mibBuilder.exportSymbols("FC-MGMT-MIB", fcmInstanceBasicGroup=fcmInstanceBasicGroup, fcmSwitchBasicGroup=fcmSwitchBasicGroup, fcmPortBasicGroup=fcmPortBasicGroup, fcmPortStatsGroup=fcmPortStatsGroup, fcmPortClass23StatsGroup=fcmPortClass23StatsGroup, fcmPortClassFStatsGroup=fcmPortClassFStatsGroup, fcmPortLcStatsGroup=fcmPortLcStatsGroup, fcmPortErrorsGroup=fcmPortErrorsGroup, fcmSwitchPortGroup=fcmSwitchPortGroup, fcmSwitchLoginGroup=fcmSwitchLoginGroup, fcmLinkBasicGroup=fcmLinkBasicGroup) # Compliances mibBuilder.exportSymbols("FC-MGMT-MIB", fcmgmtCompliance=fcmgmtCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/SMON-MIB.py0000644000014400001440000012176211736645140020215 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SMON-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:38 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") ( OwnerString, rmon, ) = mibBuilder.importSymbols("RMON-MIB", "OwnerString", "rmon") ( DataSource, LastCreateTime, probeConfig, rmonConformance, ) = mibBuilder.importSymbols("RMON2-MIB", "DataSource", "LastCreateTime", "probeConfig", "rmonConformance") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention") # Types class SmonDataSource(ObjectIdentifier): pass # Objects smonCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 16, 19, 15), Bits().subtype(namedValues=NamedValues(("smonVlanStats", 0), ("smonPrioStats", 1), ("dataSource", 2), ("smonUnusedBit", 3), ("portCopy", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: smonCapabilities.setDescription("An indication of the SMON MIB groups supported\nby this agent.") smonMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 3)) smonMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 20, 4)) switchRMON = ModuleIdentity((1, 3, 6, 1, 2, 1, 16, 22)).setRevisions(("1998-12-16 00:00",)) if mibBuilder.loadTexts: switchRMON.setOrganization("IETF RMON MIB Working Group") if mibBuilder.loadTexts: switchRMON.setContactInfo("IETF RMONMIB WG Mailing list: rmonmib@cisco.com\n\nRich Waterman\nAllot Networks Inc.\nTel: +1-408-559-0253\nEmail: rich@allot.com\n\nBill Lahaye\nXylan Corp.\nTel: +1-800-995-2612\nEmail: lahaye@ctron.com\n\nDan Romascanu\nLucent Technologies\nTel: +972-3-645-8414\nEmail: dromasca@lucent.com\n\nSteven Waldbusser\nInternational Network Services (INS)\nTel: +1-650-318-1251\nEmail: waldbusser@ins.com") if mibBuilder.loadTexts: switchRMON.setDescription("The MIB module for managing remote monitoring device\nimplementations for Switched Networks") smonMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 22, 1)) dataSourceCaps = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 22, 1, 1)) dataSourceCapsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 22, 1, 1, 1)) if mibBuilder.loadTexts: dataSourceCapsTable.setDescription("This table describes RMON data sources and port copy\ncapabilities. An NMS MAY use this table to discover the\nidentity and attributes of the data sources on a given agent\nimplementation. Similar to the probeCapabilities object,\nactual row-creation operations will succeed or fail based on\nthe resources available and parameter values used in each\nrow-creation operation.\n\nUpon restart of the RMON agent, the dataSourceTable, ifTable,\nand perhaps entPhysicalTable are initialized for the available\ndataSources.\n\nFor each dataSourceCapsEntry representing a VLAN or\nentPhysicalEntry the agent MUST create an associated ifEntry\nwith a ifType value of 'propVirtual(53)'. This ifEntry will be\nused as the actual value in RMON control table dataSource\nobjects. The assigned ifIndex value is copied into the\nassociated dataSourceCapsIfIndex object.\n\nIt is understood that dataSources representing VLANs may not\nalways be instantiated immediately upon restart, but rather as\nVLAN usage is detected by the agent. The agent SHOULD attempt\nto create dataSource and interface entries for all dataSources\nas soon as possible.") dataSourceCapsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 22, 1, 1, 1, 1)).setIndexNames((1, "SMON-MIB", "dataSourceCapsObject")) if mibBuilder.loadTexts: dataSourceCapsEntry.setDescription("Entries per data source containing descriptions of data\nsource and port copy capabilities. This table is populated by\nthe SMON agent with one entry for each supported data\nsource.") dataSourceCapsObject = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 1, 1, 1, 1), SmonDataSource()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dataSourceCapsObject.setDescription("Defines an object that can be a SMON data source or a\nsource or a destination for a port copy operation.") dataSourceRmonCaps = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 1, 1, 1, 2), Bits().subtype(namedValues=NamedValues(("countErrFrames", 0), ("countAllGoodFrames", 1), ("countAnyRmonTables", 2), ("babyGiantsCountAsGood", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dataSourceRmonCaps.setDescription(" General attributes of the specified dataSource. Note that\nthese are static attributes, which SHOULD NOT be adjusted\nbecause of current resources or configuration.\n\n- countErrFrames(0)\n The agent sets this bit for the dataSource if errored frames\n received on this dataSource can actually be monitored by the\n agent The agent clears this bit if any errored frames are\n not visible to the RMON data collector.\n\n- countAllGoodFrames(1)\n The agent sets this bit for the dataSource if all good\n frames received on this dataSource can actually be monitored\n by the agent. The agent clears this bit if any good frames\n are not visible for RMON collection, e.g., the dataSource is\n a non-promiscuous interface or an internal switch interface\n which may not receive frames which were switched in hardware\n or dropped by the bridge forwarding function.\n\n- countAnyRmonTables(2)\n The agent sets this bit if this dataSource can actually be\n used in any of the implemented RMON tables, resources\n notwithstanding. The agent clears this bit if this\n dataSourceCapsEntry is present simply to identify a\n dataSource that may only be used as portCopySource and/or a\n portCopyDest, but not the source of an actual RMON data\n collection.\n\n- babyGiantsCountAsGood(3)\n The agent sets this bit if it can distinguish, for counting\n purposes, between true giant frames and frames that exceed\n Ethernet maximum frame size 1518 due to VLAN tagging ('baby\n giants'). Specifically, this BIT means that frames up to\n 1522 octets are counted as good.\n\n Agents not capable of detecting 'baby giants' will clear\n this bit and will view all frames less than or equal to 1518\n octets as 'good frames' and all frames larger than 1518\n octets as 'bad frames' for the purpose of counting in the\n smonVlanIdStats and smonPrioStats tables.\n\n Agents capable of detecting 'baby giants' SHALL consider\n them as 'good frames' for the purpose of counting in the\n smonVlanIdStats and smonPrioStats tables.") dataSourceCopyCaps = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 1, 1, 1, 3), Bits().subtype(namedValues=NamedValues(("copySourcePort", 0), ("copyDestPort", 1), ("copySrcTxTraffic", 2), ("copySrcRxTraffic", 3), ("countDestDropEvents", 4), ("copyErrFrames", 5), ("copyUnalteredFrames", 6), ("copyAllGoodFrames", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dataSourceCopyCaps.setDescription("PortCopy function capabilities of the specified dataSource.\nNote that these are static capabilities, which SHOULD NOT be\nadjusted because of current resources or configuration.\n\n - copySourcePort(0)\n The agent sets this bit if this dataSource is capable of\n acting as a source of a portCopy operation. The agent clears\n this bit otherwise.\n\n - copyDestPort(1)\n The agent sets this bit if this dataSource is capable of\n acting as a destination of a portCopy operation. The agent\n clears this bit otherwise.\n\n - copySrcTxTraffic(2)\n If the copySourcePort bit is set:\n The agent sets this bit if this dataSource is capable of\n copying frames transmitted out this portCopy source. The\n agent clears this bit otherwise. This function is needed\n to support full-duplex ports.\n Else:\n this bit SHOULD be cleared.\n\n - copySrcRxTraffic(3)\n If the copySourcePort bit is set:\n The agent sets this bit if this dataSource is capable of\n copying frames received on this portCopy source. The agent\n clears this bit otherwise. This function is needed to\n support full-duplex ports.\n Else:\n this bit SHOULD be cleared.\n\n - countDestDropEvents(4)\n If the copyDestPort bit is set:\n The agent sets this bit if it is capable of incrementing\n portCopyDestDropEvents, when this dataSource is the\n target of a portCopy operation and a frame destined to\n this dataSource is dropped (for RMON counting purposes).\n Else:\n this BIT SHOULD be cleared.\n\n - copyErrFrames(5)\n If the copySourcePort bit is set:\n The agent sets this bit if it is capable of copying all\n errored frames from this portCopy source-port, for\n errored frames received on this dataSource.\n Else:\n this BIT SHOULD be cleared.\n\n - copyUnalteredFrames(6)\n If the copySourcePort bit is set:\n The agent sets the copyUnalteredFrames bit If it is\n capable of copying all frames from this portCopy\n source-port without alteration in any way;\n Else:\n this bit SHOULD be cleared.\n\n - copyAllGoodFrames(7)\n If the copySourcePort bit is set:\n The agent sets this bit for the dataSource if all good\n frames received on this dataSource are normally capable\n of being copied by the agent. The agent clears this bit\n if any good frames are not visible for the RMON portCopy\n operation, e.g., the dataSource is a non-promiscuous\n interface or an internal switch interface which may not\n receive frames which were switched in hardware or\n dropped by the bridge forwarding function.\n Else:\n this bit SHOULD be cleared.") dataSourceCapsIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 1, 1, 1, 4), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dataSourceCapsIfIndex.setDescription("This object contains the ifIndex value of the ifEntry\nassociated with this smonDataSource. The agent MUST create\n'propVirtual' ifEntries for each dataSourceCapsEntry of type\nVLAN or entPhysicalEntry.") smonStats = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 22, 1, 2)) smonVlanStatsControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 1)) if mibBuilder.loadTexts: smonVlanStatsControlTable.setDescription("Controls the setup of VLAN statistics tables.\n\nThe statistics collected represent a distribution based on\nthe IEEE 802.1Q VLAN-ID (VID), for each good frame attributed\nto the data source for the collection.") smonVlanStatsControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 1, 1)).setIndexNames((0, "SMON-MIB", "smonVlanStatsControlIndex")) if mibBuilder.loadTexts: smonVlanStatsControlEntry.setDescription("A conceptual row in the smonVlanStatsControlTable.") smonVlanStatsControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smonVlanStatsControlIndex.setDescription("A unique arbitrary index for this smonVlanStatsControlEntry.") smonVlanStatsControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 1, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smonVlanStatsControlDataSource.setDescription("The source of data for this set of VLAN statistics.\n\nThis object MAY NOT be modified if the associated\nsmonVlanStatsControlStatus object is equal to active(1).") smonVlanStatsControlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 1, 1, 3), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanStatsControlCreateTime.setDescription("The value of sysUpTime when this control entry was last\nactivated. This object allows to a management station to\ndetect deletion and recreation cycles between polls.") smonVlanStatsControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 1, 1, 4), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smonVlanStatsControlOwner.setDescription("Administratively assigned named of the owner of this entry.\nIt usually defines the entity that created this entry and is\ntherefore using the resources assigned to it, though there is\nno enforcement mechanism, nor assurance that rows created are\never used.") smonVlanStatsControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smonVlanStatsControlStatus.setDescription("The status of this row.\nAn entry MAY NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the smonVlanIdStatsTable SHALL be deleted.") smonVlanIdStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2)) if mibBuilder.loadTexts: smonVlanIdStatsTable.setDescription("Contains the VLAN statistics data.\nThe statistics collected represent a distribution based\non the IEEE 802.1Q VLAN-ID (VID), for each good frame\nattributed to the data source for the collection.\n\nThis function applies the same rules for attributing frames\nto VLAN-based collections. RMON VLAN statistics are collected\nafter the Ingress Rules defined in section 3.13 of the VLAN\nSpecification [20] are applied.\n\nIt is possible that entries in this table will be\ngarbage-collected, based on agent resources, and VLAN\nconfiguration. Agents are encouraged to support all 4094\nindex values and not garbage collect this table.") smonVlanIdStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1)).setIndexNames((0, "SMON-MIB", "smonVlanStatsControlIndex"), (0, "SMON-MIB", "smonVlanIdStatsId")) if mibBuilder.loadTexts: smonVlanIdStatsEntry.setDescription("A conceptual row in smonVlanIdStatsTable.") smonVlanIdStatsId = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smonVlanIdStatsId.setDescription("The unique identifier of the VLAN monitored for\nthis specific statistics collection.\n\nTagged packets match the VID for the range between 1 and 4094.\nAn external RMON probe MAY detect VID=0 on an Inter Switch\nLink, in which case the packet belongs to a VLAN determined by\nthe PVID of the ingress port. The VLAN to which such a packet\nbelongs can be determined only by a RMON probe internal to the\nswitch.") smonVlanIdStatsTotalPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsTotalPkts.setDescription("The total number of packets counted on this VLAN.") smonVlanIdStatsTotalOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsTotalOverflowPkts.setDescription("The number of times the associated smonVlanIdStatsTotalPkts\ncounter has overflowed.") smonVlanIdStatsTotalHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsTotalHCPkts.setDescription("The total number of packets counted on this VLAN.") smonVlanIdStatsTotalOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsTotalOctets.setDescription("The total number of octets counted on this VLAN.") smonVlanIdStatsTotalOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsTotalOverflowOctets.setDescription("The number of times the associated smonVlanIdStatsTotalOctets\ncounter has overflowed.") smonVlanIdStatsTotalHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsTotalHCOctets.setDescription("The total number of octets counted on this VLAN.") smonVlanIdStatsNUcastPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsNUcastPkts.setDescription("The total number of non-unicast packets counted on this\nVLAN.") smonVlanIdStatsNUcastOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsNUcastOverflowPkts.setDescription("The number of times the associated smonVlanIdStatsNUcastPkts\ncounter has overflowed.") smonVlanIdStatsNUcastHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsNUcastHCPkts.setDescription("The total number of non-unicast packets counted on\nthis VLAN.") smonVlanIdStatsNUcastOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsNUcastOctets.setDescription("The total number of non-unicast octets counted on\nthis VLAN.") smonVlanIdStatsNUcastOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsNUcastOverflowOctets.setDescription("The number of times the associated\nsmonVlanIdStatsNUcastOctets counter has overflowed.") smonVlanIdStatsNUcastHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsNUcastHCOctets.setDescription("The total number of Non-unicast octets counted on\nthis VLAN.") smonVlanIdStatsCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 2, 1, 14), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonVlanIdStatsCreateTime.setDescription("The value of sysUpTime when this entry was last\nactivated. This object allows to a management station to\ndetect deletion and recreation cycles between polls.") smonPrioStatsControlTable = MibTable((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 3)) if mibBuilder.loadTexts: smonPrioStatsControlTable.setDescription("Controls the setup of priority statistics tables.\n\nThe smonPrioStatsControlTable allows configuration of\ncollections based on the value of the 3-bit user priority\nfield encoded in the Tag Control Information (TCI) field\naccording to [19],[20].\n\nNote that this table merely reports priority as encoded in\nthe VLAN headers, not the priority (if any) given to the\nframe for the actual switching purposes.") smonPrioStatsControlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 3, 1)).setIndexNames((0, "SMON-MIB", "smonPrioStatsControlIndex")) if mibBuilder.loadTexts: smonPrioStatsControlEntry.setDescription("A conceptual row in the smonPrioStatsControlTable.") smonPrioStatsControlIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smonPrioStatsControlIndex.setDescription("A unique arbitrary index for this smonPrioStatsControlEntry.") smonPrioStatsControlDataSource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 3, 1, 2), DataSource()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smonPrioStatsControlDataSource.setDescription("The source of data for this set of VLAN statistics.\n\nThis object MAY NOT be modified if the associated\nsmonPrioStatsControlStatus object is equal to active(1).") smonPrioStatsControlCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 3, 1, 3), LastCreateTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonPrioStatsControlCreateTime.setDescription("The value of sysUpTime when this entry was created.\nThis object allows to a management station to\ndetect deletion and recreation cycles between polls.") smonPrioStatsControlOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 3, 1, 4), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smonPrioStatsControlOwner.setDescription("Administratively assigned named of the owner of this entry.\nIt usually defines the entity that created this entry and is\ntherefore using the resources assigned to it, though there is\nno enforcement mechanism, nor assurance that rows created are\never used.") smonPrioStatsControlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 3, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: smonPrioStatsControlStatus.setDescription("The status of this row.\nAn entry MAY NOT exist in the active state unless all\nobjects in the entry have an appropriate value.\n\nIf this object is not equal to active(1), all associated\nentries in the smonPrioStatsTable SHALL be deleted.") smonPrioStatsTable = MibTable((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4)) if mibBuilder.loadTexts: smonPrioStatsTable.setDescription("Contains the priority statistics. The collections are based\non the value of the 3-bit user priority field encoded in the\nTag Control Information (TCI) field according to [19], [20].\nNote that this table merely reports priority as encoded in\nthe VLAN headers, not the priority (if any) given to the\nframe for the actual switching purposes.\n\nNo garbage collection is designed for this table, as there\nalways are at most eight rows per statistical set, and the\nlow memory requirements do not justify the implementation of\nsuch a mechanism.") smonPrioStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1)).setIndexNames((0, "SMON-MIB", "smonPrioStatsControlIndex"), (0, "SMON-MIB", "smonPrioStatsId")) if mibBuilder.loadTexts: smonPrioStatsEntry.setDescription("A conceptual row in smonPrioStatsTable.") smonPrioStatsId = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("noaccess") if mibBuilder.loadTexts: smonPrioStatsId.setDescription("The unique identifier of the priority level monitored for\nthis specific statistics collection.") smonPrioStatsPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonPrioStatsPkts.setDescription("The total number of packets counted on\nthis priority level.") smonPrioStatsOverflowPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonPrioStatsOverflowPkts.setDescription("The number of times the associated smonPrioStatsPkts\ncounter has overflowed.") smonPrioStatsHCPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonPrioStatsHCPkts.setDescription("The total number of packets counted on\nthis priority level.") smonPrioStatsOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonPrioStatsOctets.setDescription("The total number of octets counted on\nthis priority level.") smonPrioStatsOverflowOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonPrioStatsOverflowOctets.setDescription("The number of times the associated smonPrioStatsOctets\ncounter has overflowed.") smonPrioStatsHCOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 2, 4, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: smonPrioStatsHCOctets.setDescription("The total number of octets counted on\nthis priority level.") portCopyConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 22, 1, 3)) portCopyTable = MibTable((1, 3, 6, 1, 2, 1, 16, 22, 1, 3, 1)) if mibBuilder.loadTexts: portCopyTable.setDescription(" Port Copy provides the ability to copy all frames from a\nspecified source to specified destination within a switch.\nSource and destinations MUST be ifEntries, as defined by [22].\nOne to one, one to many, many to one and many to many source to\ndestination relationships may be configured.\n\nApplicable counters on the destination will increment for all\npackets transiting the port, be it by normal bridging/switching\nor due to packet copy.\nNote that this table manages no RMON data collection by itself,\nand an agent may possibly implement no RMON objects except\nobjects related to the port copy operation defined by the\nportCopyCompliance conformance macro. That allows for a switch\nwith no other embedded RMON capability to perform port copy\noperations to a destination port at which a different external\nRMON probe is connected.\n\nOne to one, many to one and one to many source to destination\nrelationships may be configured.\nEach row that exists in this table defines such a\nrelationship. By disabling a row in this table the port copy\nrelationship no longer exists.\n\nThe number of entries and the types of port copies (1-1,\nmany-1, 1-many) are implementation specific and could\npossibly be dynamic due to changing resource availability.\n\nIn order to configure a source to destination portCopy\nrelationship, both source and destination interfaces MUST be\npresent as an ifEntry in the ifTable and their respective\nifAdminStatus and ifOperStatus values MUST be equal to\n'up(1)'. If the value of any of those two objects changes\nafter the portCopyEntry is activated, portCopyStatus will\ntransition to 'notReady(3)'.\n\nThe capability of an interface to be source or destination of\na port copy operation is described by the 'copySourcePort(0)'\nand 'copyDestPort(1)' bits in dataSourceCopyCaps. Those bits\nSHOULD be appropriately set by the agent, in order to allow\nfor a portCopyEntry to be created.\n\nApplicable counters on the destination will increment for all\npackets transmitted, be it by normal bridging/switching or\ndue to packet copy.") portCopyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 16, 22, 1, 3, 1, 1)).setIndexNames((0, "SMON-MIB", "portCopySource"), (0, "SMON-MIB", "portCopyDest")) if mibBuilder.loadTexts: portCopyEntry.setDescription("Describes a particular port copy entry.") portCopySource = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 3, 1, 1, 1), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: portCopySource.setDescription("The ifIndex of the source which will have all packets\nredirected to the destination as defined by portCopyDest.") portCopyDest = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 3, 1, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: portCopyDest.setDescription("Defines the ifIndex destination for the copy operation.") portCopyDestDropEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: portCopyDestDropEvents.setDescription("The total number of events in which port copy packets were\ndropped by the switch at the destination port due to lack of\nresources.\n\nNote that this number is not necessarily the number of\npackets dropped; it is just the number of times this\ncondition has been detected.\n\nA single dropped event counter is maintained for each\nportCopyDest. Thus all instances associated with a given\nportCopyDest will have the same portCopyDestDropEvents\nvalue.") portCopyDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 3, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("copyRxOnly", 1), ("copyTxOnly", 2), ("copyBoth", 3), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: portCopyDirection.setDescription("This object affects the way traffic is copied from a switch\nsource port, for the indicated port copy operation.\nIf this object has the value 'copyRxOnly(1)', then only\ntraffic received on the indicated source port will be copied\nto the indicated destination port.\n\nIf this object has the value 'copyTxOnly(2)', then only\ntraffic transmitted out the indicated source port will be\ncopied to the indicated destination port.\n\nIf this object has the value 'copyBoth(3)', then all traffic\nreceived or transmitted on the indicated source port will be\ncopied to the indicated destination port.\n\nThe creation and deletion of instances of this object is\ncontrolled by the portCopyRowStatus object. Note that there\nis no guarantee that changes in the value of this object\nperformed while the associated portCopyRowStatus object is\nequal to active will not cause traffic discontinuities in the\npacket stream.") portCopyStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 16, 22, 1, 3, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: portCopyStatus.setDescription("Defines the status of the port copy entry.\n\nIn order to configure a source to destination portCopy\nrelationship, both source and destination interfaces MUST be\npresent as an ifEntry in the ifTable and their respective\nifAdminStatus and ifOperStatus values MUST be equal to\n'up(1)'. If the value of any of those two objects changes\nafter the portCopyEntry is activated, portCopyStatus will\ntransition to 'notReady(3)'.\n\nThe capability of an interface to be source or destination of\na port copy operation is described by the 'copySourcePort(0)'\nand 'copyDestPort(1)' bits in dataSourceCopyCaps. Those bits\nSHOULD be appropriately set by the agent, in order to allow\nfor a portCopyEntry to be created.") smonRegistrationPoints = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 22, 1, 4)) smonVlanDataSource = MibIdentifier((1, 3, 6, 1, 2, 1, 16, 22, 1, 4, 1)) # Augmentions # Groups dataSourceCapsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 1)).setObjects(*(("SMON-MIB", "dataSourceCapsIfIndex"), ("SMON-MIB", "dataSourceCopyCaps"), ("SMON-MIB", "dataSourceRmonCaps"), ) ) if mibBuilder.loadTexts: dataSourceCapsGroup.setDescription("Defines the objects that describe the capabilities of RMON\ndata sources.") smonVlanStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 2)).setObjects(*(("SMON-MIB", "smonVlanStatsControlCreateTime"), ("SMON-MIB", "smonVlanStatsControlStatus"), ("SMON-MIB", "smonVlanIdStatsNUcastPkts"), ("SMON-MIB", "smonVlanIdStatsTotalOctets"), ("SMON-MIB", "smonVlanStatsControlDataSource"), ("SMON-MIB", "smonVlanIdStatsTotalPkts"), ("SMON-MIB", "smonVlanStatsControlOwner"), ("SMON-MIB", "smonVlanIdStatsCreateTime"), ) ) if mibBuilder.loadTexts: smonVlanStatsGroup.setDescription("Defines the switch monitoring specific statistics - per VLAN\nId on interfaces of 10MB or less.") smonPrioStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 3)).setObjects(*(("SMON-MIB", "smonPrioStatsPkts"), ("SMON-MIB", "smonPrioStatsControlOwner"), ("SMON-MIB", "smonPrioStatsControlDataSource"), ("SMON-MIB", "smonPrioStatsControlStatus"), ("SMON-MIB", "smonPrioStatsControlCreateTime"), ("SMON-MIB", "smonPrioStatsOctets"), ) ) if mibBuilder.loadTexts: smonPrioStatsGroup.setDescription("Defines the switch monitoring specific statistics - per VLAN\nId on interface.") smonHcTo100mbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 4)).setObjects(*(("SMON-MIB", "smonPrioStatsHCOctets"), ("SMON-MIB", "smonVlanIdStatsTotalHCOctets"), ("SMON-MIB", "smonVlanIdStatsTotalOverflowOctets"), ("SMON-MIB", "smonPrioStatsOverflowOctets"), ) ) if mibBuilder.loadTexts: smonHcTo100mbGroup.setDescription("Defines the additional high capacity statistics needed to be\nkept on interfaces with ifSpeed greater than 10MB/sec and\nless than or equal to 100MB/sec.") smonHc100mbPlusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 5)).setObjects(*(("SMON-MIB", "smonVlanIdStatsNUcastOverflowPkts"), ("SMON-MIB", "smonPrioStatsOverflowOctets"), ("SMON-MIB", "smonVlanIdStatsNUcastHCPkts"), ("SMON-MIB", "smonPrioStatsHCOctets"), ("SMON-MIB", "smonVlanIdStatsTotalHCOctets"), ("SMON-MIB", "smonVlanIdStatsTotalOverflowOctets"), ("SMON-MIB", "smonVlanIdStatsTotalHCPkts"), ("SMON-MIB", "smonVlanIdStatsTotalOverflowPkts"), ("SMON-MIB", "smonPrioStatsOverflowPkts"), ("SMON-MIB", "smonPrioStatsHCPkts"), ) ) if mibBuilder.loadTexts: smonHc100mbPlusGroup.setDescription("Defines the additional high capacity statistics needed to be\nkept on interfaces with ifSpeed of more than 100MB/sec. These\nstatistics MUST also be kept on smonDataSources of type VLAN\nor entPhysicalEntry.") hcVlanTo100mbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 6)).setObjects(*(("SMON-MIB", "smonVlanIdStatsTotalHCOctets"), ("SMON-MIB", "smonVlanIdStatsTotalOverflowOctets"), ) ) if mibBuilder.loadTexts: hcVlanTo100mbGroup.setDescription("Defines the additional high capacity VLAN statistics\nneeded to be kept on interfaces with ifSpeed greater than\n10MB/sec and less than or equal to 100MB/sec.") hcVlan100mbPlusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 7)).setObjects(*(("SMON-MIB", "smonVlanIdStatsNUcastHCPkts"), ("SMON-MIB", "smonVlanIdStatsTotalOverflowPkts"), ("SMON-MIB", "smonVlanIdStatsNUcastOverflowPkts"), ("SMON-MIB", "smonVlanIdStatsTotalHCOctets"), ("SMON-MIB", "smonVlanIdStatsTotalOverflowOctets"), ("SMON-MIB", "smonVlanIdStatsTotalHCPkts"), ) ) if mibBuilder.loadTexts: hcVlan100mbPlusGroup.setDescription("Defines the additional high capacity VLAN statistics\nneeded to be kept on interfaces with ifSpeed of more than\n100MB/sec. These statistics MUST also be kept on\nsmonDataSources of type VLAN or entPhysicalEntry.") hcPrioTo100mbGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 8)).setObjects(*(("SMON-MIB", "smonPrioStatsHCOctets"), ("SMON-MIB", "smonPrioStatsOverflowOctets"), ) ) if mibBuilder.loadTexts: hcPrioTo100mbGroup.setDescription("Defines the additional high capacity VLAN priority\nstatistics needed to be kept on interfaces with\nifSpeed of greater than 10MB/sec and less than or equal\nto 100MB/sec.") hcPrio100mbPlusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 9)).setObjects(*(("SMON-MIB", "smonPrioStatsHCOctets"), ("SMON-MIB", "smonPrioStatsHCPkts"), ("SMON-MIB", "smonPrioStatsOverflowOctets"), ("SMON-MIB", "smonPrioStatsOverflowPkts"), ) ) if mibBuilder.loadTexts: hcPrio100mbPlusGroup.setDescription("Defines the additional high capacity VLAN priority\nstatistics needed to be kept on interfaces with\nifSpeed of greater than 100MB/sec. These statistics MUST\nalso be kept on smonDataSources of type VLAN or\nentPhysicalEntry.") smonVlanStatsExtGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 10)).setObjects(*(("SMON-MIB", "smonVlanIdStatsNUcastHCOctets"), ("SMON-MIB", "smonVlanIdStatsNUcastOctets"), ("SMON-MIB", "smonVlanIdStatsNUcastOverflowOctets"), ) ) if mibBuilder.loadTexts: smonVlanStatsExtGroup.setDescription("Defines the switch monitoring specific statistics for systems\ncapable of counting non-unicast octets for a given dataSource\n(as described in the dataSourceRmonCaps object).") smonInformationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 11)).setObjects(*(("SMON-MIB", "smonCapabilities"), ) ) if mibBuilder.loadTexts: smonInformationGroup.setDescription("An indication of the SMON capabilities supported by this\nagent.") portCopyConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 16, 20, 4, 12)).setObjects(*(("SMON-MIB", "portCopyDestDropEvents"), ("SMON-MIB", "portCopyStatus"), ("SMON-MIB", "portCopyDirection"), ) ) if mibBuilder.loadTexts: portCopyConfigGroup.setDescription("Defines the control objects for copy port operations.") # Compliances smonMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 3, 1)).setObjects(*(("SMON-MIB", "smonHc100mbPlusGroup"), ("SMON-MIB", "dataSourceCapsGroup"), ("SMON-MIB", "smonInformationGroup"), ("SMON-MIB", "smonPrioStatsGroup"), ("SMON-MIB", "portCopyConfigGroup"), ("SMON-MIB", "smonVlanStatsGroup"), ("SMON-MIB", "smonHcTo100mbGroup"), ) ) if mibBuilder.loadTexts: smonMIBCompliance.setDescription("Describes the requirements for full conformance with the SMON\nMIB") smonMIBVlanStatsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 3, 2)).setObjects(*(("SMON-MIB", "smonVlanStatsGroup"), ("SMON-MIB", "smonInformationGroup"), ("SMON-MIB", "dataSourceCapsGroup"), ("SMON-MIB", "hcVlanTo100mbGroup"), ("SMON-MIB", "hcVlan100mbPlusGroup"), ) ) if mibBuilder.loadTexts: smonMIBVlanStatsCompliance.setDescription("Describes the requirements for conformance with the SMON MIB\nwith support for VLAN Statistics. Mandatory for a SMON probe\nin environment where IEEE 802.1Q bridging is implemented.") smonMIBPrioStatsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 3, 3)).setObjects(*(("SMON-MIB", "smonInformationGroup"), ("SMON-MIB", "hcPrioTo100mbGroup"), ("SMON-MIB", "dataSourceCapsGroup"), ("SMON-MIB", "hcPrio100mbPlusGroup"), ("SMON-MIB", "smonPrioStatsGroup"), ) ) if mibBuilder.loadTexts: smonMIBPrioStatsCompliance.setDescription("Describes the requirements for conformance with the SMON MIB\nwith support for priority level Statistics. Mandatory for a\nSMON probe in a environment where IEEE 802.1p\npriority-switching is implemented.") portCopyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 16, 20, 3, 4)).setObjects(*(("SMON-MIB", "smonInformationGroup"), ("SMON-MIB", "dataSourceCapsGroup"), ("SMON-MIB", "portCopyConfigGroup"), ) ) if mibBuilder.loadTexts: portCopyCompliance.setDescription("Describes the requirements for conformance with the port copy\nfunctionality defined by the SMON MIB") # Exports # Module identity mibBuilder.exportSymbols("SMON-MIB", PYSNMP_MODULE_ID=switchRMON) # Types mibBuilder.exportSymbols("SMON-MIB", SmonDataSource=SmonDataSource) # Objects mibBuilder.exportSymbols("SMON-MIB", smonCapabilities=smonCapabilities, smonMIBCompliances=smonMIBCompliances, smonMIBGroups=smonMIBGroups, switchRMON=switchRMON, smonMIBObjects=smonMIBObjects, dataSourceCaps=dataSourceCaps, dataSourceCapsTable=dataSourceCapsTable, dataSourceCapsEntry=dataSourceCapsEntry, dataSourceCapsObject=dataSourceCapsObject, dataSourceRmonCaps=dataSourceRmonCaps, dataSourceCopyCaps=dataSourceCopyCaps, dataSourceCapsIfIndex=dataSourceCapsIfIndex, smonStats=smonStats, smonVlanStatsControlTable=smonVlanStatsControlTable, smonVlanStatsControlEntry=smonVlanStatsControlEntry, smonVlanStatsControlIndex=smonVlanStatsControlIndex, smonVlanStatsControlDataSource=smonVlanStatsControlDataSource, smonVlanStatsControlCreateTime=smonVlanStatsControlCreateTime, smonVlanStatsControlOwner=smonVlanStatsControlOwner, smonVlanStatsControlStatus=smonVlanStatsControlStatus, smonVlanIdStatsTable=smonVlanIdStatsTable, smonVlanIdStatsEntry=smonVlanIdStatsEntry, smonVlanIdStatsId=smonVlanIdStatsId, smonVlanIdStatsTotalPkts=smonVlanIdStatsTotalPkts, smonVlanIdStatsTotalOverflowPkts=smonVlanIdStatsTotalOverflowPkts, smonVlanIdStatsTotalHCPkts=smonVlanIdStatsTotalHCPkts, smonVlanIdStatsTotalOctets=smonVlanIdStatsTotalOctets, smonVlanIdStatsTotalOverflowOctets=smonVlanIdStatsTotalOverflowOctets, smonVlanIdStatsTotalHCOctets=smonVlanIdStatsTotalHCOctets, smonVlanIdStatsNUcastPkts=smonVlanIdStatsNUcastPkts, smonVlanIdStatsNUcastOverflowPkts=smonVlanIdStatsNUcastOverflowPkts, smonVlanIdStatsNUcastHCPkts=smonVlanIdStatsNUcastHCPkts, smonVlanIdStatsNUcastOctets=smonVlanIdStatsNUcastOctets, smonVlanIdStatsNUcastOverflowOctets=smonVlanIdStatsNUcastOverflowOctets, smonVlanIdStatsNUcastHCOctets=smonVlanIdStatsNUcastHCOctets, smonVlanIdStatsCreateTime=smonVlanIdStatsCreateTime, smonPrioStatsControlTable=smonPrioStatsControlTable, smonPrioStatsControlEntry=smonPrioStatsControlEntry, smonPrioStatsControlIndex=smonPrioStatsControlIndex, smonPrioStatsControlDataSource=smonPrioStatsControlDataSource, smonPrioStatsControlCreateTime=smonPrioStatsControlCreateTime, smonPrioStatsControlOwner=smonPrioStatsControlOwner, smonPrioStatsControlStatus=smonPrioStatsControlStatus, smonPrioStatsTable=smonPrioStatsTable, smonPrioStatsEntry=smonPrioStatsEntry, smonPrioStatsId=smonPrioStatsId, smonPrioStatsPkts=smonPrioStatsPkts, smonPrioStatsOverflowPkts=smonPrioStatsOverflowPkts, smonPrioStatsHCPkts=smonPrioStatsHCPkts, smonPrioStatsOctets=smonPrioStatsOctets, smonPrioStatsOverflowOctets=smonPrioStatsOverflowOctets, smonPrioStatsHCOctets=smonPrioStatsHCOctets, portCopyConfig=portCopyConfig, portCopyTable=portCopyTable, portCopyEntry=portCopyEntry, portCopySource=portCopySource, portCopyDest=portCopyDest, portCopyDestDropEvents=portCopyDestDropEvents, portCopyDirection=portCopyDirection, portCopyStatus=portCopyStatus, smonRegistrationPoints=smonRegistrationPoints, smonVlanDataSource=smonVlanDataSource) # Groups mibBuilder.exportSymbols("SMON-MIB", dataSourceCapsGroup=dataSourceCapsGroup, smonVlanStatsGroup=smonVlanStatsGroup, smonPrioStatsGroup=smonPrioStatsGroup, smonHcTo100mbGroup=smonHcTo100mbGroup, smonHc100mbPlusGroup=smonHc100mbPlusGroup, hcVlanTo100mbGroup=hcVlanTo100mbGroup, hcVlan100mbPlusGroup=hcVlan100mbPlusGroup, hcPrioTo100mbGroup=hcPrioTo100mbGroup, hcPrio100mbPlusGroup=hcPrio100mbPlusGroup, smonVlanStatsExtGroup=smonVlanStatsExtGroup, smonInformationGroup=smonInformationGroup, portCopyConfigGroup=portCopyConfigGroup) # Compliances mibBuilder.exportSymbols("SMON-MIB", smonMIBCompliance=smonMIBCompliance, smonMIBVlanStatsCompliance=smonMIBVlanStatsCompliance, smonMIBPrioStatsCompliance=smonMIBPrioStatsCompliance, portCopyCompliance=portCopyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/EBN-MIB.py0000644000014400001440000005465711736645136020062 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python EBN-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:55 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( SnaControlPointName, ) = mibBuilder.importSymbols("APPN-MIB", "SnaControlPointName") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( snanauMIB, ) = mibBuilder.importSymbols("SNA-NAU-MIB", "snanauMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32") ( DisplayString, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") # Types class SnaNAUWildcardName(DisplayString): subtypeSpec = DisplayString.subtypeSpec+ValueSizeConstraint(1,17) # Objects ebnMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 7)).setRevisions(("1998-04-28 18:00",)) if mibBuilder.loadTexts: ebnMIB.setOrganization("IETF SNA NAU MIB WG / AIW APPN MIBs SIG") if mibBuilder.loadTexts: ebnMIB.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\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: ebnMIB.setDescription(" The MIB Module for Extended Border Node") ebnObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 1)) ebnDir = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 1, 1)) ebnDirTable = MibTable((1, 3, 6, 1, 2, 1, 34, 7, 1, 1, 1)) if mibBuilder.loadTexts: ebnDirTable.setDescription("The EBN Directory Table. This table is an extension\nto the APPN MIB's appnDirTable. Entries in this table\nare in one-to-one correspondence with entries in the\nappnDirTable, with corresponding entries having identical\nvalues for their respective indexes.") ebnDirEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 7, 1, 1, 1, 1)).setIndexNames((0, "EBN-MIB", "ebnDirLuName")) if mibBuilder.loadTexts: ebnDirEntry.setDescription("Entry in the EBN Directory Table.") ebnDirLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 1, 1, 1, 1), SnaNAUWildcardName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnDirLuName.setDescription("Fully qualified network LU name in the domain of a serving\nnetwork node. If this object has the same value as the\nappnDirLuName object in the APPN MIB, then the two objects\nare referring to the same LU.") ebnDirSubnetAffiliation = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("native", 1), ("nonNative", 2), ("subarea", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnDirSubnetAffiliation.setDescription("Specifies the subnetwork affiliation of the LU:\n- native(1) : The LU is in the native APPN subnetwork.\n- nonNative(2) : The LU is in a non-native APPN subnetwork.\n- subarea(3) : The LU is in a subarea network.") ebnIsRscv = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 1, 2)) ebnIsRscvTable = MibTable((1, 3, 6, 1, 2, 1, 34, 7, 1, 2, 1)) if mibBuilder.loadTexts: ebnIsRscvTable.setDescription("The EBN Intermediate Session RSCV table. This table is an\nextension to the appnIsInTable. It contains the RSCV and COS\nused in the direction of the BIND destination. There is an\nentry in this table for each session that traverses an ISTG\nwhen it enters or leaves this EBN, with corresponding entries\nhaving identical values for their respective indexes.") ebnIsRscvEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 7, 1, 2, 1, 1)).setIndexNames((0, "EBN-MIB", "ebnIsRscvCpName"), (0, "EBN-MIB", "ebnIsRscvPcid")) if mibBuilder.loadTexts: ebnIsRscvEntry.setDescription("Entry in ebnIsRscvTable.") ebnIsRscvCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 2, 1, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnIsRscvCpName.setDescription("The network-qualified control point name of the node at\nwhich the session and PCID originated. For APPN and LEN\nnodes, this is either CP name of the APPN node at which\nthe origin LU is located or the CP name of the NN serving\nthe LEN node at which the origin LU is located. For DLUR\nresources it is the name of the owning SSCP.\n\nIf this object has the same value as the appnIsInFqCpName\nobject in the APPN MIB, then the two objects are referring to\nthe same APPN control point.") ebnIsRscvPcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnIsRscvPcid.setDescription("The procedure correlation identifier (PCID) of a session.\nIt is an 8-octet value.\n\nIf this object has the same value as the appnIsInPcid object\nin the APPN MIB, and if the corresponding ebnIsRscvCpName\nobject has the same value as the corresponding\nappnIsInFqCpName object, then the entries indexed by these\nobjects are referring to the same session.") ebnIsRscvDestinationRoute = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 2, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnIsRscvDestinationRoute.setDescription("The route selection control vector (RSCV x'2B') used in the\ndirection towards the SLU.") ebnIsRscvDestinationCos = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 2, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnIsRscvDestinationCos.setDescription("The Class of Service (COS) name used in the direction\ntowards the SLU.\n\nBecause the characters allowed in an SNA COS name come from\na restricted character set, these names are not subject to\ninternationalization.") ebnDirConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 1, 3)) ebnSearchCacheTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 7, 1, 3, 1), Unsigned32()).setMaxAccess("readonly").setUnits("minutes") if mibBuilder.loadTexts: ebnSearchCacheTime.setDescription("The amount of time in minutes an extended border node will\nretain information about a multi-subnetwork search, once\nthat that search terminates. A value 0 indicates that the\nEBN has no defined limit, and the number of entries is\nbounded only by memory.") ebnMaxSearchCache = MibScalar((1, 3, 6, 1, 2, 1, 34, 7, 1, 3, 2), Unsigned32()).setMaxAccess("readonly").setUnits("entries") if mibBuilder.loadTexts: ebnMaxSearchCache.setDescription("The maximum number of multi-subnet entries to be cached.\nThe value 0 indicates that the local node has no defined\nlimit, and the number of entries is bounded only by\nmemory.") ebnDefaultSubnetVisitCount = MibScalar((1, 3, 6, 1, 2, 1, 34, 7, 1, 3, 3), Unsigned32()).setMaxAccess("readonly").setUnits("topology subnetworks") if mibBuilder.loadTexts: ebnDefaultSubnetVisitCount.setDescription("The default maximum number of subnetworks a LOCATE search\nprocedure may traverse.") ebnCOS = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 1, 4)) ebnCosMapTable = MibTable((1, 3, 6, 1, 2, 1, 34, 7, 1, 4, 1)) if mibBuilder.loadTexts: ebnCosMapTable.setDescription("The EBN COS Mapping Table. This table specifies how non-\nnative COS values are mapped to COS values defined in the\nnative subnetwork.\n\nNote: The COS mappings that an EBN performs are determined\nby multiple factors, one of which is a set of user-defined\ninitial mappings. This table returns the COS mappings that\nthe EBN is actually performing at the time it is queried,\nrather than the user-defined initial ones.") ebnCosMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 7, 1, 4, 1, 1)).setIndexNames((0, "EBN-MIB", "ebnCosMapCpName"), (0, "EBN-MIB", "ebnCosMapNonNativeCos")) if mibBuilder.loadTexts: ebnCosMapEntry.setDescription("An entry in the EBN COS Mapping table.") ebnCosMapCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 4, 1, 1, 1), SnaNAUWildcardName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnCosMapCpName.setDescription("Fully qualified network CP name for which the COS mapping\napplies.") ebnCosMapNonNativeCos = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 4, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnCosMapNonNativeCos.setDescription("This object contains one of the following values:\n\n- An 8-character COS name used in a non-native subnetwork.\n- The single character '*', identifying the entry with the\n default native COS for a non-native CP name. This entry\n is used when there is no entry in the table for a\n non-native CP name / non-native COS pair.\n\nBecause the characters allowed in an SNA COS name come from\na restricted character set, these names are not subject to\ninternationalization.") ebnCosMapNativeCos = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 4, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnCosMapNativeCos.setDescription("An 8-byte name for the class-of-service, as known in the\nnative subnetwork.\n\nBecause the characters allowed in an SNA COS name come from\na restricted character set, these names are not subject to\ninternationalization.") ebnSubnetRoutingList = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 1, 5)) ebnSubnetSearchTable = MibTable((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 1)) if mibBuilder.loadTexts: ebnSubnetSearchTable.setDescription("This table contains one entry for each fully qualified LU\nname for which an associated subnet routing list has been\ndefined. An entry in this table contains general\ncharacteristics of the subnet search routing list for an\nLU name. The routing list itself is represented by a set\nof contiguous entries in the ebnSearchTable.") ebnSubnetSearchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 1, 1)).setIndexNames((0, "EBN-MIB", "ebnSubnetSearchLuName")) if mibBuilder.loadTexts: ebnSubnetSearchEntry.setDescription("An entry for the ebnSubnetSearchTable. The entry\nrepresents the configured parameters the EBN uses when it\nis determining how to search for the LU identified by the\nebnSubnetSearchLuName object.") ebnSubnetSearchLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 1, 1, 1), SnaNAUWildcardName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnSubnetSearchLuName.setDescription("Fully qualified network LU name.") ebnSubnetSearchDynamics = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("limited", 2), ("full", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnSubnetSearchDynamics.setDescription("Indicates whether an EBN may add dynamic entries to a\nsubnetwork routing list. none(1) means no entries may be\nadded to the subnetwork routing list. limited(2) means\nonly likely entries may be added to the subnetwork routing\nlist. full(3) means all native extended border nodes and\nadjacent, non-native EBNs and NNs will be added to the\nsubnetwork routing list.") ebnSubnetSearchOrdering = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("priority", 1), ("defined", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnSubnetSearchOrdering.setDescription("Indicates whether an EBN may reorder a subnetwork routing\nlist so that entries which are more likely to be successful\nmove to the top of the subnetwork routing list and entries\nwhich are more likely to be unsuccessful move to the bottom\nof the list.\nThe following values are defined:\n\n - priority(1): Entries may be reordered.\n - defined(2): Entries must not be reordered.") ebnSearchTable = MibTable((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 2)) if mibBuilder.loadTexts: ebnSearchTable.setDescription("This table indicates the CONFIGURED list of control points\nto which the EBN sends Locate searches for a given fully\nqualified LU name. Each entry in the table indicates one\ncontrol point that should be included in a multi-subnet\nsearch for a particular LU name.") ebnSearchEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 2, 1)).setIndexNames((0, "EBN-MIB", "ebnSearchLuName"), (0, "EBN-MIB", "ebnSearchIndex")) if mibBuilder.loadTexts: ebnSearchEntry.setDescription("An entry in the ebnSearchTable. An entry can exist in\nthis table only if an entry exists in the\nebnSubnetSearchTable with an ebnSubnetSearchLuName value\nmatching this entry's ebnSearchLuName.\nFor a given ebnSearchLuName value, the ordering of entries\nprovides by the ebnSearchIndex values corresponds to the\norder in which the control points to be searched appear in\nthe CONFIGURED search list for the ebnSearchLuName.") ebnSearchLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 2, 1, 1), SnaNAUWildcardName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnSearchLuName.setDescription("Fully qualified network LU name. If this object has the\nsame value as the ebnSubnetSearchLuName object, then the\ntwo objects are referring to the same LU.") ebnSearchIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 2, 1, 2), Unsigned32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ebnSearchIndex.setDescription("Secondary index enumerating the CONFIGURED order in which\na search is forwarded to CPs for a particular LU name. The\norder for an actual search is determined dynamically by the\nEBN, based on this configured information and on other\nfactors, including whether search dynamics and search\nordering are enabled. Information on these last two settings\nis available in, respectively, the ebnSubnetSearchDynamics\nand ebnSubnetSearch ordering objects.") ebnSearchCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnSearchCpName.setDescription("This object specifies the CP(s) to which a search should be\nforwarded. It either follows the SnaNAUWildcardName textual\nconvention or takes one of the following special formats:\n\n '*' indicates that all native EBNs and all adjacent non-\n native EBNs and NNs may be added to the routing list\n dynamically,\n\n '*SELF' indicates that the EBN should search itself and\n its native subnetwork at this time during the\n cross-subnet search,\n\n '*EBNS' indicates all native EBNs.\n\nBecause the characters allowed in a CP name come from a\nrestricted character set, and because the three formats\nlisted here use no special characters, this object is not\nsubject to internationalization.") ebnSearchSNVC = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 5, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ebnSearchSNVC.setDescription("The maximum number of subnets a Locate search procedure may\ntraverse. ") hbn = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 1, 6)) hbnIsInTable = MibTable((1, 3, 6, 1, 2, 1, 34, 7, 1, 6, 1)) if mibBuilder.loadTexts: hbnIsInTable.setDescription("The HBN Intermediate Session table.") hbnIsInEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 7, 1, 6, 1, 1)).setIndexNames((0, "EBN-MIB", "hbnIsInFqCpName"), (0, "EBN-MIB", "hbnIsInPcid")) if mibBuilder.loadTexts: hbnIsInEntry.setDescription("Entry of the HBN Intermediate Session Table. An entry\nexists in this table for every intermediate session being\nrouted between back-to-back RTP connections in the HBN.\n\nWhen an entry for a session exists in this table, the\nNceIds and Tcids for the back-to-back RTP connections are\nmade available in the following four objects:\n\n RTP connection in the direction of the PLU:\n - NceId: appnIsInRtpNceId (in the APPN MIB)\n - Tcid: appnIsinRtpTcid (in the APPN MIB).\n\n RTP connection in the direction of the SLU:\n - NceId: hbnIsInRtpNceId (in this table)\n - Tcid: hbnIsInRtpTcid (in this table).") hbnIsInFqCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 6, 1, 1, 1), SnaControlPointName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hbnIsInFqCpName.setDescription("The network-qualified control point name of the node at\nwhich the session and PCID originated. For APPN and LEN\nnodes, this is either the CP name of the APPN node at\nwhich the origin LU is located or the CP name of the NN\nserving the LEN node at which the origin LU is located.\n\nIf this object has the same value as the appnIsInFqCpName\nobject in the APPN MIB, then the two objects are referring\nto the same APPN control point.") hbnIsInPcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 6, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: hbnIsInPcid.setDescription("The procedure correlation identifier (PCID) of a session.\nIt is an 8-octet value.\n\nIf this object has the same value as the appnIsInPcid object\nin the APPN MIB, and if the corresponding hbnIsInFqCpName\nobject has the same value as the corresponding\nappnIsInFqCpName object, then the entries indexed by these\nobjects are referring to the same session.") hbnIsInRtpNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 6, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hbnIsInRtpNceId.setDescription("The HPR local Network Connection Endpoint of the session in\nthe direction of the SLU.") hbnIsInRtpTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 7, 1, 6, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hbnIsInRtpTcid.setDescription("The RTP connection local TCID of the session in the direction\nof the SLU.") ebnConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 2)) ebnCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 2, 1)) ebnGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 7, 2, 2)) # Augmentions # Groups ebnDirectoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 7, 2, 2, 1)).setObjects(*(("EBN-MIB", "ebnDirSubnetAffiliation"), ) ) if mibBuilder.loadTexts: ebnDirectoryGroup.setDescription("The EBN-related directory objects.") ebnIsRscvGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 7, 2, 2, 2)).setObjects(*(("EBN-MIB", "ebnIsRscvDestinationRoute"), ("EBN-MIB", "ebnIsRscvDestinationCos"), ) ) if mibBuilder.loadTexts: ebnIsRscvGroup.setDescription("Two objects representing RSCV and class of service\ninformation saved by an EBN.") ebnDirectoryConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 7, 2, 2, 3)).setObjects(*(("EBN-MIB", "ebnSearchCacheTime"), ("EBN-MIB", "ebnMaxSearchCache"), ("EBN-MIB", "ebnDefaultSubnetVisitCount"), ) ) if mibBuilder.loadTexts: ebnDirectoryConfigGroup.setDescription("The EBN Directory Configuration Group.") ebnCosMappingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 7, 2, 2, 4)).setObjects(*(("EBN-MIB", "ebnCosMapNativeCos"), ) ) if mibBuilder.loadTexts: ebnCosMappingGroup.setDescription("The EBN COS Mapping Group.") ebnSubnetRoutingListGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 7, 2, 2, 5)).setObjects(*(("EBN-MIB", "ebnSearchSNVC"), ("EBN-MIB", "ebnSubnetSearchDynamics"), ("EBN-MIB", "ebnSubnetSearchOrdering"), ("EBN-MIB", "ebnSearchCpName"), ) ) if mibBuilder.loadTexts: ebnSubnetRoutingListGroup.setDescription("The Subnet Routing List Group.") hbnIsInGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 7, 2, 2, 6)).setObjects(*(("EBN-MIB", "hbnIsInRtpTcid"), ("EBN-MIB", "hbnIsInRtpNceId"), ) ) if mibBuilder.loadTexts: hbnIsInGroup.setDescription("The HBN-related Intermediate Session Objects.") # Compliances ebnCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 7, 2, 1, 1)).setObjects(*(("EBN-MIB", "ebnIsRscvGroup"), ("EBN-MIB", "ebnCosMappingGroup"), ("EBN-MIB", "hbnIsInGroup"), ("EBN-MIB", "ebnDirectoryConfigGroup"), ("EBN-MIB", "ebnSubnetRoutingListGroup"), ("EBN-MIB", "ebnDirectoryGroup"), ) ) if mibBuilder.loadTexts: ebnCompliance.setDescription("The compliance statement for the SNMPv2 entities which\nimplement the ebnMIB.") # Exports # Module identity mibBuilder.exportSymbols("EBN-MIB", PYSNMP_MODULE_ID=ebnMIB) # Types mibBuilder.exportSymbols("EBN-MIB", SnaNAUWildcardName=SnaNAUWildcardName) # Objects mibBuilder.exportSymbols("EBN-MIB", ebnMIB=ebnMIB, ebnObjects=ebnObjects, ebnDir=ebnDir, ebnDirTable=ebnDirTable, ebnDirEntry=ebnDirEntry, ebnDirLuName=ebnDirLuName, ebnDirSubnetAffiliation=ebnDirSubnetAffiliation, ebnIsRscv=ebnIsRscv, ebnIsRscvTable=ebnIsRscvTable, ebnIsRscvEntry=ebnIsRscvEntry, ebnIsRscvCpName=ebnIsRscvCpName, ebnIsRscvPcid=ebnIsRscvPcid, ebnIsRscvDestinationRoute=ebnIsRscvDestinationRoute, ebnIsRscvDestinationCos=ebnIsRscvDestinationCos, ebnDirConfig=ebnDirConfig, ebnSearchCacheTime=ebnSearchCacheTime, ebnMaxSearchCache=ebnMaxSearchCache, ebnDefaultSubnetVisitCount=ebnDefaultSubnetVisitCount, ebnCOS=ebnCOS, ebnCosMapTable=ebnCosMapTable, ebnCosMapEntry=ebnCosMapEntry, ebnCosMapCpName=ebnCosMapCpName, ebnCosMapNonNativeCos=ebnCosMapNonNativeCos, ebnCosMapNativeCos=ebnCosMapNativeCos, ebnSubnetRoutingList=ebnSubnetRoutingList, ebnSubnetSearchTable=ebnSubnetSearchTable, ebnSubnetSearchEntry=ebnSubnetSearchEntry, ebnSubnetSearchLuName=ebnSubnetSearchLuName, ebnSubnetSearchDynamics=ebnSubnetSearchDynamics, ebnSubnetSearchOrdering=ebnSubnetSearchOrdering, ebnSearchTable=ebnSearchTable, ebnSearchEntry=ebnSearchEntry, ebnSearchLuName=ebnSearchLuName, ebnSearchIndex=ebnSearchIndex, ebnSearchCpName=ebnSearchCpName, ebnSearchSNVC=ebnSearchSNVC, hbn=hbn, hbnIsInTable=hbnIsInTable, hbnIsInEntry=hbnIsInEntry, hbnIsInFqCpName=hbnIsInFqCpName, hbnIsInPcid=hbnIsInPcid, hbnIsInRtpNceId=hbnIsInRtpNceId, hbnIsInRtpTcid=hbnIsInRtpTcid, ebnConformance=ebnConformance, ebnCompliances=ebnCompliances, ebnGroups=ebnGroups) # Groups mibBuilder.exportSymbols("EBN-MIB", ebnDirectoryGroup=ebnDirectoryGroup, ebnIsRscvGroup=ebnIsRscvGroup, ebnDirectoryConfigGroup=ebnDirectoryConfigGroup, ebnCosMappingGroup=ebnCosMappingGroup, ebnSubnetRoutingListGroup=ebnSubnetRoutingListGroup, hbnIsInGroup=hbnIsInGroup) # Compliances mibBuilder.exportSymbols("EBN-MIB", ebnCompliance=ebnCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/HCNUM-TC.py0000644000014400001440000000455711736645136020221 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HCNUM-TC # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:02 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter64, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter64", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class CounterBasedGauge64(Counter64): pass class ZeroBasedCounter64(Counter64): pass # Objects hcnumTC = ModuleIdentity((1, 3, 6, 1, 2, 1, 78)).setRevisions(("2000-06-08 00:00",)) if mibBuilder.loadTexts: hcnumTC.setOrganization("IETF OPS Area") if mibBuilder.loadTexts: hcnumTC.setContactInfo(" E-mail: mibs@ops.ietf.org\nSubscribe: majordomo@psg.com\n with msg body: subscribe mibs\n\nAndy Bierman\nCisco Systems Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\n+1 408-527-3711\nabierman@cisco.com\n\nKeith McCloghrie\nCisco Systems Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\n+1 408-526-5260\nkzm@cisco.com\n\nRandy Presuhn\nBMC Software, Inc.\nOffice 1-3141\n2141 North First Street\nSan Jose, California 95131 USA\n+1 408 546-1006\nrpresuhn@bmc.com") if mibBuilder.loadTexts: hcnumTC.setDescription("A MIB module containing textual conventions\nfor high capacity data types. This module\naddresses an immediate need for data types not directly\nsupported in the SMIv2. This short-term solution\nis meant to be deprecated as a long-term solution\nis deployed.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("HCNUM-TC", PYSNMP_MODULE_ID=hcnumTC) # Types mibBuilder.exportSymbols("HCNUM-TC", CounterBasedGauge64=CounterBasedGauge64, ZeroBasedCounter64=ZeroBasedCounter64) # Objects mibBuilder.exportSymbols("HCNUM-TC", hcnumTC=hcnumTC) pysnmp-mibs-0.1.3/pysnmp_mibs/ACCOUNTING-CONTROL-MIB.py0000644000014400001440000006601411736645134022212 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ACCOUNTING-CONTROL-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:37 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, RowStatus, TextualConvention, TestAndIncr, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "TestAndIncr", "TruthValue") # Types class DataCollectionList(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,8) class DataCollectionSubtree(ObjectIdentifier): pass class FileIndex(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,65535) # Objects accountingControlMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 60)).setRevisions(("1998-09-28 10:00",)) if mibBuilder.loadTexts: accountingControlMIB.setOrganization("IETF AToM MIB Working Group") if mibBuilder.loadTexts: accountingControlMIB.setContactInfo("Keith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive,\nSan Jose CA 95134-1706.\nPhone: +1 408 526 5260\nEmail: kzm@cisco.com") if mibBuilder.loadTexts: accountingControlMIB.setDescription("The MIB module for managing the collection and storage of\naccounting information for connections in a connection-\noriented network such as ATM.") acctngMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 1)) acctngSelectionControl = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 1, 1)) acctngSelectionTable = MibTable((1, 3, 6, 1, 2, 1, 60, 1, 1, 1)) if mibBuilder.loadTexts: acctngSelectionTable.setDescription("A list of accounting information selection entries.\n\nNote that additions, modifications and deletions of entries\nin this table can occur at any time, but such changes only\ntake effect on the next occasion when collection begins into\na new file. Thus, between modification and the next 'swap',\nthe content of this table does not reflect the current\nselection.") acctngSelectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 60, 1, 1, 1, 1)).setIndexNames((0, "ACCOUNTING-CONTROL-MIB", "acctngSelectionIndex")) if mibBuilder.loadTexts: acctngSelectionEntry.setDescription("An entry identifying an (subtree, list) tuple used to\nselect a set of accounting information which is to be\ncollected.") acctngSelectionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: acctngSelectionIndex.setDescription("An arbitrary integer value which uniquely identifies a\ntuple stored in this table. This value is required to be\nthe permanent 'handle' for an entry in this table for as\nlong as that entry exists, including across restarts and\npower outages.") acctngSelectionSubtree = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 1, 1, 1, 2), DataCollectionSubtree()).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngSelectionSubtree.setDescription("The combination of acctngSelectionSubtree and\nacctngSelectionList specifies one (subtree, list) tuple\nwhich is to be collected.") acctngSelectionList = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 1, 1, 1, 3), DataCollectionList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngSelectionList.setDescription("The combination of acctngSelectionSubtree and\nacctngSelectionList specifies one (subtree, list) tuple\nwhich is to be collected.") acctngSelectionFile = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 1, 1, 1, 4), FileIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngSelectionFile.setDescription("An indication of the file into which the accounting\ninformation identified by this entry is to be stored. If\nthere is no conceptual row in the acctngFileTable for which\nthe value of acctngFileIndex has the same value as this\nobject, then the information selected by this entry is not\ncollected.") acctngSelectionType = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 1, 1, 1, 5), Bits().subtype(namedValues=NamedValues(("svcIncoming", 0), ("svcOutgoing", 1), ("svpIncoming", 2), ("svpOutgoing", 3), ("pvc", 4), ("pvp", 5), ("spvcOriginator", 6), ("spvcTarget", 7), ("spvpOriginator", 8), ("spvpTarget", 9), )).clone(("svcIncoming","svcOutgoing","svpIncoming","svpOutgoing",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngSelectionType.setDescription("Indicates the types of connections for which the\ninformation selected by this entry are to be collected.") acctngSelectionRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 1, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngSelectionRowStatus.setDescription("The status of this conceptual row. An agent may refuse to\ncreate new conceptual rows and/or modify existing conceptual\nrows, if such creation/modification would cause multiple\nrows to have the same values of acctngSelectionSubtree and\nacctngSelectionList.\n\nA conceptual row can not have the status of 'active' until\nvalues have been assigned to the acctngSelectionSubtree,\nacctngSelectionList and acctngSelectionFile columnar objects\nwithin that row.\n\nAn agent must not refuse to change the values of the\nacctngSelectionSubtree, acctngSelectionList and\nacctngSelectionFile columnar objects within a conceptual row\neven while that row's status is 'active'. Similarly, an\nagent must not refuse to destroy an existing conceptual row\nwhile the file referenced by that row's instance of\nacctngSelectionFile is in active use, i.e., while the\ncorresponding instance of acctngFileRowStatus has the value\n'active'. However, such changes only take effect upon the\nnext occasion when collection begins into a new (version of\nthe) file.") acctngFileControl = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 1, 2)) acctngFileTable = MibTable((1, 3, 6, 1, 2, 1, 60, 1, 2, 1)) if mibBuilder.loadTexts: acctngFileTable.setDescription("A list of files into which accounting information is to be\nstored.") acctngFileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1)).setIndexNames((0, "ACCOUNTING-CONTROL-MIB", "acctngFileIndex")) if mibBuilder.loadTexts: acctngFileEntry.setDescription("An entry identifying a file into which accounting\ninformation is to be collected.") acctngFileIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 1), FileIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: acctngFileIndex.setDescription("A unique value identifying a file into which accounting\ndata is to be stored. This value is required to be the\npermanent 'handle' for an entry in this table for as long as\nthat entry exists, including across restarts and power\noutages.") acctngFileName = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileName.setDescription("The name of the file into which accounting data is to be\nstored. If files are named using suffixes, then the name of\nthe current file is the concatenation of acctngFileName and\nacctngFileNameSuffix.\n\nAn agent will respond with an error (e.g., 'wrongValue') to\na management set operation which attempts to modify the\nvalue of this object to the same value as already held by\nanother instance of acctngFileName. An agent will also\nrespond with an error (e.g., 'wrongValue') if the new value\nis invalid for use as a file name on the local file system\n(e.g., many file systems do not support white space embedded\nin file names).\n\nThe value of this object can not be modified while the\ncorresponding instance of acctngFileRowStatus is 'active'.") acctngFileNameSuffix = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctngFileNameSuffix.setDescription("The suffix, if any, of the name of a file into which\naccounting data is currently being stored. If suffixes are\nnot used, then the value of this object is the zero-length\nstring. Note that if a separator, such as a period, is used\nin appending the suffix to the file name, then that\nseparator appears as the first character of this value.") acctngFileDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 4), DisplayString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileDescription.setDescription("The textual description of the accounting data which will\nbe stored (on the next occasion) when header information is\nstored in the file. The value of this object may be\nmodified at any time.") acctngFileCommand = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,4,2,)).subtype(namedValues=NamedValues(("idle", 1), ("cmdInProgress", 2), ("swapToNewFile", 3), ("collectNow", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileCommand.setDescription("A control object for the collection of accounting data.\nWhen read the value is either 'idle' or 'cmdInProgress'.\nWriting a value is only allowed when the current value is\n'idle'. When a value is successfully written, the value\nchanges to 'cmdInProgress' until completion of the action,\nat which time the value reverts to 'idle'. Actions are\ninvoked by writing the following values:\n\n 'swapToNewFile' - the collection of data into the current\n file is terminated, and collection continues into\n a new (version of the) file.\n\n 'collectNow' - the agent creates and stores a connection\n record into the current file for each active\n connection having a type matching\n acctngSelectionType and an age greater than\n acctngFileMinAge.") acctngFileMaximumSize = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(100, 2147483647)).clone(5000000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileMaximumSize.setDescription("The maximum size of the file (including header\ninformation). When the file of collected data reaches this\nsize, either the agent automatically swaps to a new version\n(i.e., a new value acctngFileNameSuffix) of the file, or new\nrecords are discarded. Since a file must contain an\nintegral number of connection records, the actual maximum\nsize of the file may be just less OR Just greater than the\nvalue of this object.\n\nThe value of this object can not be modified while the\ncorresponding instance of acctngFileRowStatus is 'active'.\nThe largest value of the maximum file size in some agents\nwill be less than 2147483647 bytes.") acctngFileCurrentSize = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctngFileCurrentSize.setDescription("The current size of the file into which data is currently\nbeing collected, including header information.") acctngFileFormat = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("other", 1), ("ber", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileFormat.setDescription("An indication of the format in which the accounting data is\nto be stored in the file. If the value is modified, the new\nvalue takes effect after the next 'swap' to a new file. The\nvalue ber(2) indicates the standard format.") acctngFileCollectMode = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 9), Bits().subtype(namedValues=NamedValues(("onRelease", 0), ("periodically", 1), )).clone(("onRelease",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileCollectMode.setDescription("An indication of when accounting data is to be written into\nthis file. Note that in addition to the occasions indicated\nby the value of this object, an agent always writes\ninformation on appropriate connections to the file when the\ncorresponding instance of acctngFileCommand is set to\n'collectNow'.\n\n - 'onRelease' - whenever a connection (or possibly,\n connection attempt) is terminated, either through\n a Release message or through management removal,\n information on that connection is written.\n\n - 'periodically' - information on appropriate connections\n is written on the expiry of a periodic timer,\n\nThis value may be modified at any time.") acctngFileCollectFailedAttempts = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 10), Bits().subtype(namedValues=NamedValues(("soft", 0), ("regular", 1), )).clone(("soft","regular",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileCollectFailedAttempts.setDescription("An indication of whether connection data is to be collected\nfor failed connection attempts when the value of the\ncorresponding instance of acctngFileCollectMode includes\n'onRelease'. The individual values have the following\nmeaning:\n\n 'soft' - indicates that connection data is to be collected\nfor failed Soft PVCs/PVPs which originate or terminate at\nthe relevant interface.\n\n 'regular' - indicates that connection data is to be\ncollected for failed SVCs, including Soft PVCs/PVPs not\noriginating or terminating at the relevant interface.\n\nThis value may be modified at any time.") acctngFileInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 86400)).clone(3600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileInterval.setDescription("The number of seconds between the periodic collections of\naccounting data when the value of the corresponding instance\nof acctngFileCollectMode includes 'periodically'. Some\nagents may impose restrictions on the range of this\ninterval. This value may be modified at any time.") acctngFileMinAge = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 86400)).clone(3600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileMinAge.setDescription("The minimum age of a connection, as used to determine the\nset of connections for which data is to be collected at the\nperiodic intervals and/or when acctngFileCommand is set to\n'collectNow'. The age of a connection is the elapsed time\nsince it was last installed.\n\nWhen the periodic interval expires for a file or when\nacctngFileCommand is set to 'collectNow', accounting data is\ncollected and stored in the file for each connection having\na type matching acctngSelectionType and whose age at that\ntime is greater than the value of acctngFileMinAge\nassociated with the file. This value may be modified at any\ntime.") acctngFileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 2, 1, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: acctngFileRowStatus.setDescription("The status of this conceptual row.\n\nThis object can not be set to 'active' until a value has\nbeen assigned to the corresponding instance of\nacctngFileName. Collection of data into the file does not\nbegin until this object has the value 'active' and one or\nmore (active) instances of acctngSelectionFile refer to it.\nIf this value is modified after a collection has begun,\ncollection into this file terminates and a new (or new\nversion of the) file is immediately made ready for future\ncollection (as if acctngFileCommand had been set to\n'swapToNewFile'), but collection into the new (or new\nversion of the) file does not begin until the value is\nsubsequently set back to active.") acctngInterfaceControl = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 1, 3)) acctngAdminStatus = MibScalar((1, 3, 6, 1, 2, 1, 60, 1, 3, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctngAdminStatus.setDescription("A control object to indicate the administratively desired\nstate of the collection of accounting records across all\ninterfaces.\n\nModifying the value of acctngAdminStatus to 'disabled' does\nnot remove or change the current configuration as\nrepresented by the active rows in the acctngSelectionTable,\nacctngFileTable and acctngInterfaceTable tables.") acctngOperStatus = MibScalar((1, 3, 6, 1, 2, 1, 60, 1, 3, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctngOperStatus.setDescription("A status object to indicate the operational state of the\ncollection of accounting records across all interfaces.\n\nWhen the value of acctngAdminStatus is modified to be\n'enabled', the value of this object will change to 'enabled'\nproviding it is possible to begin collecting accounting\nrecords.\n\nWhen the value of acctngAdminStatus is modified to be\n'disabled', the value of this object will change to\n'disabled' as soon as the collection of accounting records\nhas terminated.") acctngProtection = MibScalar((1, 3, 6, 1, 2, 1, 60, 1, 3, 3), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctngProtection.setDescription("A control object to protect against duplication of control\ncommands. Over some transport/network protocols, it is\npossible for SNMP messages to get duplicated. Such\nduplication, if it occurred at just the wrong time could\ncause serious disruption to the collection and retrieval of\naccounting data, e.g., if a SNMP message setting\nacctngFileCommand to 'swapToNewFile' were to be duplicated,\na whole file of accounting data could be lost.\n\nTo protect against such duplication, a management\napplication should retrieve the value of this object, and\ninclude in the Set operation needing protection, a variable\nbinding which sets this object to the retrieved value.") acctngAgentMode = MibScalar((1, 3, 6, 1, 2, 1, 60, 1, 3, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("swapOnCommand", 1), ("swapOnFull", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: acctngAgentMode.setDescription("An indication of the behaviour mode of the agent when a\nfile becomes full:\n\n 'swapOnCommand' - the agent does not automatically swap\n to a new file; rather, it discards newly collected\n data until a management application subsequently\n instructs it to swap to a new file.\n\n 'swapOnFull' - the agent terminates collection into the\n current file as and when that file becomes full.") acctngInterfaceTable = MibTable((1, 3, 6, 1, 2, 1, 60, 1, 3, 5)) if mibBuilder.loadTexts: acctngInterfaceTable.setDescription("A table controlling the collection of accounting data on\nspecific interfaces of the switch.") acctngInterfaceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 60, 1, 3, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: acctngInterfaceEntry.setDescription("An entry which controls whether accounting data is to be\ncollected on an interface. The types of interfaces which\nare represented in this table is implementation-specific.") acctngInterfaceEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 60, 1, 3, 5, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctngInterfaceEnable.setDescription("Indicates whether the collection of accounting data is\nenabled on this interface.") acctngTrapControl = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 1, 4)) acctngControlTrapThreshold = MibScalar((1, 3, 6, 1, 2, 1, 60, 1, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 99))).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctngControlTrapThreshold.setDescription("A percentage of the maximum file size at which a 'nearly-\nfull' trap is generated. The value of 0 indicates that no\n'nearly-full' trap is to be generated.") acctngControlTrapEnable = MibScalar((1, 3, 6, 1, 2, 1, 60, 1, 4, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: acctngControlTrapEnable.setDescription("An indication of whether the acctngFileNearlyFull and\nacctngFileFull traps are enabled.") acctngNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 2)) acctngNotifyPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 2, 0)) acctngConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 3)) acctngGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 3, 1)) acctngCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 60, 3, 2)) # Augmentions # Notifications acctngFileNearlyFull = NotificationType((1, 3, 6, 1, 2, 1, 60, 2, 0, 1)).setObjects(*(("ACCOUNTING-CONTROL-MIB", "acctngControlTrapThreshold"), ("ACCOUNTING-CONTROL-MIB", "acctngFileMaximumSize"), ("ACCOUNTING-CONTROL-MIB", "acctngFileNameSuffix"), ("ACCOUNTING-CONTROL-MIB", "acctngFileName"), ) ) if mibBuilder.loadTexts: acctngFileNearlyFull.setDescription("An indication that the size of the file into which\naccounting information is currently being collected has\nexceeded the threshold percentage of its maximum file size.\nThis notification is generated only at the time of the\ntransition from not-exceeding to exceeding.") acctngFileFull = NotificationType((1, 3, 6, 1, 2, 1, 60, 2, 0, 2)).setObjects(*(("ACCOUNTING-CONTROL-MIB", "acctngFileMaximumSize"), ("ACCOUNTING-CONTROL-MIB", "acctngFileNameSuffix"), ("ACCOUNTING-CONTROL-MIB", "acctngFileName"), ) ) if mibBuilder.loadTexts: acctngFileFull.setDescription("An indication that the size of the file into which\naccounting information is currently being collected has\ntransistioned to its maximum file size. This notification\nis generated (for all values of acctngAgentMode) at the time\nof the transition from not-full to full. If acctngAgentMode\nhas the value 'swapOnCommand', it is also generated\nperiodically thereafter until such time as collection of\ndata is no longer inhibited by the file full condition.") # Groups acctngBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 60, 3, 1, 1)).setObjects(*(("ACCOUNTING-CONTROL-MIB", "acctngAdminStatus"), ("ACCOUNTING-CONTROL-MIB", "acctngProtection"), ("ACCOUNTING-CONTROL-MIB", "acctngFileName"), ("ACCOUNTING-CONTROL-MIB", "acctngSelectionSubtree"), ("ACCOUNTING-CONTROL-MIB", "acctngFileCollectMode"), ("ACCOUNTING-CONTROL-MIB", "acctngControlTrapThreshold"), ("ACCOUNTING-CONTROL-MIB", "acctngFileRowStatus"), ("ACCOUNTING-CONTROL-MIB", "acctngSelectionRowStatus"), ("ACCOUNTING-CONTROL-MIB", "acctngOperStatus"), ("ACCOUNTING-CONTROL-MIB", "acctngSelectionFile"), ("ACCOUNTING-CONTROL-MIB", "acctngFileFormat"), ("ACCOUNTING-CONTROL-MIB", "acctngSelectionType"), ("ACCOUNTING-CONTROL-MIB", "acctngSelectionList"), ("ACCOUNTING-CONTROL-MIB", "acctngFileCurrentSize"), ("ACCOUNTING-CONTROL-MIB", "acctngFileDescription"), ("ACCOUNTING-CONTROL-MIB", "acctngFileInterval"), ("ACCOUNTING-CONTROL-MIB", "acctngAgentMode"), ("ACCOUNTING-CONTROL-MIB", "acctngControlTrapEnable"), ("ACCOUNTING-CONTROL-MIB", "acctngFileMaximumSize"), ("ACCOUNTING-CONTROL-MIB", "acctngFileCollectFailedAttempts"), ("ACCOUNTING-CONTROL-MIB", "acctngFileCommand"), ("ACCOUNTING-CONTROL-MIB", "acctngFileMinAge"), ("ACCOUNTING-CONTROL-MIB", "acctngInterfaceEnable"), ("ACCOUNTING-CONTROL-MIB", "acctngFileNameSuffix"), ) ) if mibBuilder.loadTexts: acctngBasicGroup.setDescription("A collection of objects providing control of the basic\ncollection of accounting data for connection-oriented\nnetworks.") acctngNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 60, 3, 1, 2)).setObjects(*(("ACCOUNTING-CONTROL-MIB", "acctngFileNearlyFull"), ("ACCOUNTING-CONTROL-MIB", "acctngFileFull"), ) ) if mibBuilder.loadTexts: acctngNotificationsGroup.setDescription("The notifications of events relating to controlling the\ncollection of accounting data.") # Compliances acctngCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 60, 3, 2, 1)).setObjects(*(("ACCOUNTING-CONTROL-MIB", "acctngNotificationsGroup"), ("ACCOUNTING-CONTROL-MIB", "acctngBasicGroup"), ) ) if mibBuilder.loadTexts: acctngCompliance.setDescription("The compliance statement for switches which implement the\nAccounting Control MIB.") # Exports # Module identity mibBuilder.exportSymbols("ACCOUNTING-CONTROL-MIB", PYSNMP_MODULE_ID=accountingControlMIB) # Types mibBuilder.exportSymbols("ACCOUNTING-CONTROL-MIB", DataCollectionList=DataCollectionList, DataCollectionSubtree=DataCollectionSubtree, FileIndex=FileIndex) # Objects mibBuilder.exportSymbols("ACCOUNTING-CONTROL-MIB", accountingControlMIB=accountingControlMIB, acctngMIBObjects=acctngMIBObjects, acctngSelectionControl=acctngSelectionControl, acctngSelectionTable=acctngSelectionTable, acctngSelectionEntry=acctngSelectionEntry, acctngSelectionIndex=acctngSelectionIndex, acctngSelectionSubtree=acctngSelectionSubtree, acctngSelectionList=acctngSelectionList, acctngSelectionFile=acctngSelectionFile, acctngSelectionType=acctngSelectionType, acctngSelectionRowStatus=acctngSelectionRowStatus, acctngFileControl=acctngFileControl, acctngFileTable=acctngFileTable, acctngFileEntry=acctngFileEntry, acctngFileIndex=acctngFileIndex, acctngFileName=acctngFileName, acctngFileNameSuffix=acctngFileNameSuffix, acctngFileDescription=acctngFileDescription, acctngFileCommand=acctngFileCommand, acctngFileMaximumSize=acctngFileMaximumSize, acctngFileCurrentSize=acctngFileCurrentSize, acctngFileFormat=acctngFileFormat, acctngFileCollectMode=acctngFileCollectMode, acctngFileCollectFailedAttempts=acctngFileCollectFailedAttempts, acctngFileInterval=acctngFileInterval, acctngFileMinAge=acctngFileMinAge, acctngFileRowStatus=acctngFileRowStatus, acctngInterfaceControl=acctngInterfaceControl, acctngAdminStatus=acctngAdminStatus, acctngOperStatus=acctngOperStatus, acctngProtection=acctngProtection, acctngAgentMode=acctngAgentMode, acctngInterfaceTable=acctngInterfaceTable, acctngInterfaceEntry=acctngInterfaceEntry, acctngInterfaceEnable=acctngInterfaceEnable, acctngTrapControl=acctngTrapControl, acctngControlTrapThreshold=acctngControlTrapThreshold, acctngControlTrapEnable=acctngControlTrapEnable, acctngNotifications=acctngNotifications, acctngNotifyPrefix=acctngNotifyPrefix, acctngConformance=acctngConformance, acctngGroups=acctngGroups, acctngCompliances=acctngCompliances) # Notifications mibBuilder.exportSymbols("ACCOUNTING-CONTROL-MIB", acctngFileNearlyFull=acctngFileNearlyFull, acctngFileFull=acctngFileFull) # Groups mibBuilder.exportSymbols("ACCOUNTING-CONTROL-MIB", acctngBasicGroup=acctngBasicGroup, acctngNotificationsGroup=acctngNotificationsGroup) # Compliances mibBuilder.exportSymbols("ACCOUNTING-CONTROL-MIB", acctngCompliance=acctngCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DLSW-MIB.py0000644000014400001440000032611211736645135020212 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DLSW-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:50 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( sdlcLSAddress, ) = mibBuilder.importSymbols("SNA-SDLC-MIB", "sdlcLSAddress") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, RowPointer, RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowPointer", "RowStatus", "TextualConvention", "TruthValue") # Types class DlcType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,5,4,3,2,) namedValues = NamedValues(("other", 1), ("na", 2), ("llc", 3), ("sdlc", 4), ("qllc", 5), ) class DlswTCPAddress(TextualConvention, OctetString): displayHint = "1d.1d.1d.1d" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 class EndStationLocation(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,4,2,) namedValues = NamedValues(("other", 1), ("internal", 2), ("remote", 3), ("local", 4), ) class LFSize(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(7663,10997,12992,32655,8539,41600,17749,56559,15370,1979,1112,20730,26693,3812,1615,8130,3225,50575,10587,2052,59551,2345,1231,47583,8949,16163,4105,993,754,2932,3518,1688,516,4865,23711,635,44591,1350,1542,6730,873,6264,1761,65535,13785,12199,14578,29674,11407,1833,16956,1906,10178,9358,1470,53567,4399,9768,38618,7197,5798,5331,2638,) namedValues = NamedValues(("lfs10178", 10178), ("lfs10587", 10587), ("lfs10997", 10997), ("lfs1112", 1112), ("lfs11407", 11407), ("lfs12199", 12199), ("lfs1231", 1231), ("lfs12992", 12992), ("lfs1350", 1350), ("lfs13785", 13785), ("lfs14578", 14578), ("lfs1470", 1470), ("lfs15370", 15370), ("lfs1542", 1542), ("lfs1615", 1615), ("lfs16163", 16163), ("lfs1688", 1688), ("lfs16956", 16956), ("lfs1761", 1761), ("lfs17749", 17749), ("lfs1833", 1833), ("lfs1906", 1906), ("lfs1979", 1979), ("lfs2052", 2052), ("lfs20730", 20730), ("lfs2345", 2345), ("lfs23711", 23711), ("lfs2638", 2638), ("lfs26693", 26693), ("lfs2932", 2932), ("lfs29674", 29674), ("lfs3225", 3225), ("lfs32655", 32655), ("lfs3518", 3518), ("lfs3812", 3812), ("lfs38618", 38618), ("lfs4105", 4105), ("lfs41600", 41600), ("lfs4399", 4399), ("lfs44591", 44591), ("lfs47583", 47583), ("lfs4865", 4865), ("lfs50575", 50575), ("lfs516", 516), ("lfs5331", 5331), ("lfs53567", 53567), ("lfs56559", 56559), ("lfs5798", 5798), ("lfs59551", 59551), ("lfs6264", 6264), ("lfs635", 635), ("lfs65535", 65535), ("lfs6730", 6730), ("lfs7197", 7197), ("lfs754", 754), ("lfs7663", 7663), ("lfs8130", 8130), ("lfs8539", 8539), ("lfs873", 873), ("lfs8949", 8949), ("lfs9358", 9358), ("lfs9768", 9768), ("lfs993", 993), ) class MacAddressNC(TextualConvention, OctetString): displayHint = "1x:" subtypeSpec = OctetString.subtypeSpec+ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(6,6),) class NBName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,16) class TAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) # Objects null = MibIdentifier((0, 0)) dlsw = ModuleIdentity((1, 3, 6, 1, 2, 1, 46)).setRevisions(("1996-06-04 09:00",)) if mibBuilder.loadTexts: dlsw.setOrganization("AIW DLSw MIB RIGLET and IETF DLSw MIB Working Group") if mibBuilder.loadTexts: dlsw.setContactInfo("David D. Chen\nIBM Corporation\n800 Park, Highway 54\nResearch Triangle Park, NC 27709-9990\nTel: 1 919 254 6182\nE-mail: dchen@vnet.ibm.com") if mibBuilder.loadTexts: dlsw.setDescription("This MIB module contains objects to manage Data Link\nSwitches.") dlswMIB = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1)) dlswTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 0)) dlswNode = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 1)) dlswNodeVersion = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswNodeVersion.setDescription("This value identifies the particular version of the DLSw\nstandard supported by this DLSw. The first octet is a\nhexadecimal value representing the DLSw standard Version\nnumber of this DLSw, and the second is a hexadecimal value\nrepresenting the DLSw standard Release number. This\ninformation is reported in DLSw Capabilities Exchange.") dlswNodeVendorID = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswNodeVendorID.setDescription("The value identifies the manufacturer's IEEE-assigned\norganizationally Unique Identifier (OUI) of this DLSw.\nThis information is reported in DLSw Capabilities\nExchange.") dlswNodeVersionString = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswNodeVersionString.setDescription("This string gives product-specific information about\nthis DLSw (e.g., product name, code release and fix level).\nThis flows in Capabilities Exchange messages.") dlswNodeStdPacingSupport = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("none", 1), ("adaptiveRcvWindow", 2), ("fixedRcvWindow", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswNodeStdPacingSupport.setDescription("Circuit pacing, as defined in the DLSw Standard, allows each\nof the two DLSw nodes on a circuit to control the amount\nof data the other is permitted to send to them. This object\nreflects the level of support the DLSw node has for this\nprotocol. (1) means the node has no support for the standard\ncircuit pacing flows; it may use RFC 1434+ methods only, or\na proprietary flow control scheme. (2) means the node supports\nthe standard scheme and can vary the window sizes it grants as\na data receiver. (3) means the node supports the standard\nscheme but never varies its receive window size.") dlswNodeStatus = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswNodeStatus.setDescription("The status of the DLSw part of the system. Changing the\nvalue from active to inactive causes DLSw to take\nthe following actions - (1) it disconnects all circuits\nthrough all DLSw partners, (2) it disconnects all\ntransport connections to all DLSw partners, (3) it\ndisconnects all local DLC connections, and (4) it stops\nprocessing all DLC connection set-up traffic.\nSince these are destructive actions, the user should\nquery the circuit and transport connection tables in\nadvance to understand the effect this action will have.\nChanging the value from inactive to active causes DLSw\nto come up in its initial state, i.e., transport\nconnections established and ready to bring up circuits.") dlswNodeUpTime = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 6), TimeTicks()).setMaxAccess("readonly").setUnits("hundredths of a second") if mibBuilder.loadTexts: dlswNodeUpTime.setDescription("The amount of time (in hundredths of a second) since\nthe DLSw portion of the system was last re-initialized.\nThat is, if dlswState is in the active state,\nthe time the dlswState entered the active state.\nIt will remain zero if dlswState is in the\ninactive state.") dlswNodeVirtualSegmentLFSize = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 7), LFSize().clone('lfs65535')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswNodeVirtualSegmentLFSize.setDescription("The largest frame size (including DLC header and info field\nbut not any MAC-level or framing octets) this DLSw can forward\non any path through itself. This object can represent any box-\nlevel frame size forwarding restriction (e.g., from the use\nof fixed-size buffers). Some DLSw implementations will have\nno such restriction.\n\nThis value will affect the LF size of circuits during circuit\ncreation. The LF size of an existing circuit can be found in\nthe RIF (Routing Information Field).") dlswNodeResourceNBExclusivity = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 8), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswNodeResourceNBExclusivity.setDescription("The value of true indicates that the NetBIOS Names\nconfigured in dlswDirNBTable are the only ones accessible\nvia this DLSw.\n\nIf a node supports sending run-time capabilities exchange\nmessages, changes to this object should cause that action.\nIt is up to the implementation exactly when to start the\nrun-time capabilities exchange.") dlswNodeResourceMacExclusivity = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswNodeResourceMacExclusivity.setDescription("The value of true indicates that the MAC addresses\nconfigured in the dlswDirMacTable are the only ones\naccessible via this DLSw.\n\nIf a node supports sending run-time capabilities exchange\nmessages, changes to this object should cause that action.\nIt is up to the implementation exactly when to start the\nrun-time capabilities exchange.") dlswTrapControl = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 1, 10)) dlswTrapCntlTConnPartnerReject = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 10, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("partial", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswTrapCntlTConnPartnerReject.setDescription("Indicates whether the DLSw is permitted to emit partner\nreject related traps. With the value of `enabled'\nthe DLSw will emit all partner reject related traps.\nWith the value of `disabled' the DLSw will not emit\nany partner reject related traps. With the value\nof `partial' the DLSw will only emits partner reject\ntraps for CapEx reject. The changes take effect\nimmediately.") dlswTrapCntlTConnProtViolation = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 10, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswTrapCntlTConnProtViolation.setDescription("Indicates whether the DLSw is permitted to generate\nprotocol-violation traps on the events such as\nwindow size violation. The changes take effect\nimmediately.") dlswTrapCntlTConn = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 10, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("partial", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswTrapCntlTConn.setDescription("Indicates whether the DLSw is permitted to emit transport\nconnection up and down traps. With the value of `enabled'\nthe DLSw will emit traps when connections enter `connected'\nand `disconnected' states. With the value of `disabled'\nthe DLSw will not emit traps when connections enter of\n`connected' and `disconnected' states. With the value\nof `partial' the DLSw will only emits transport connection\ndown traps when the connection is closed with busy.\nThe changes take effect immediately.") dlswTrapCntlCircuit = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 1, 10, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("partial", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswTrapCntlCircuit.setDescription("Indicates whether the DLSw is permitted to generate\ncircuit up and down traps. With the value of `enabled'\nthe DLSw will emit traps when circuits enter `connected'\nand `disconnected' states. With the value of `disabled'\nthe DLSw will not emit traps when circuits enter of\n`connected' and `disconnected' states. With the value\nof `partial' the DLSw will emit traps only for those\ncircuits that are initiated by this DLSw, e.g.,\noriginating the CUR_CS message. The changes take effect\nimmediately.") dlswTConn = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 2)) dlswTConnStat = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 2, 1)) dlswTConnStatActiveConnections = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 2, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnStatActiveConnections.setDescription("The number of transport connections that are not in\n`disconnected' state.") dlswTConnStatCloseIdles = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnStatCloseIdles.setDescription("The number of times transport connections in this node\nexited the connected state with zero active circuits on\nthe transport connection.") dlswTConnStatCloseBusys = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnStatCloseBusys.setDescription("The number of times transport connections in this node\nexited the connected state with some non-zero number\nof active circuits on the transport connection. Normally\nthis means the transport connection failed unexpectedly.") dlswTConnConfigTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 2, 2)) if mibBuilder.loadTexts: dlswTConnConfigTable.setDescription("This table defines the transport connections\nthat will be initiated or accepted by this\nDLSw. Structure of masks allows wildcard\ndefinition for a collection of transport\nconnections by a conceptual row. For a\nspecific transport connection, there may\nbe multiple of conceptual rows match the\ntransport address. The `best' match will\nthe one to determine the characteristics\nof the transport connection.") dlswTConnConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1)).setIndexNames((0, "DLSW-MIB", "dlswTConnConfigIndex")) if mibBuilder.loadTexts: dlswTConnConfigEntry.setDescription("Each conceptual row defines a collection of\ntransport connections.") dlswTConnConfigIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswTConnConfigIndex.setDescription("The index to the conceptual row of the table.\nNegative numbers are not allowed. There\nare objects defined that point to conceptual\nrows of this table with this index value.\nZero is used to denote that no corresponding\nrow exists.\n\nIndex values are assigned by the agent, and\nshould not be reused but should continue to\nincrease in value.") dlswTConnConfigTDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigTDomain.setDescription("The object identifier which indicates the transport\ndomain of this conceptual row.") dlswTConnConfigLocalTAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 3), TAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigLocalTAddr.setDescription("The local transport address for this conceptual row\nof the transport connection definition.") dlswTConnConfigRemoteTAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 4), TAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigRemoteTAddr.setDescription("The remote transport address. Together with\ndlswTConnConfigEntryType and dlswTConnConfigGroupDefinition,\nthe object instance of this conceptual row identifies a\ncollection of the transport connections that will be\neither initiated by this DLSw or initiated by a partner\nDLSw and accepted by this DLSw.") dlswTConnConfigLastModifyTime = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnConfigLastModifyTime.setDescription("The time (in hundredths of a second) since the value of\nany object in this conceptual row except for\ndlswTConnConfigOpens was last changed. This value\nmay be compared to dlswTConnOperConnectTime to\ndetermine whether values in this row are completely\nvalid for a transport connection created using\nthis row definition.") dlswTConnConfigEntryType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("individual", 1), ("global", 2), ("group", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigEntryType.setDescription("The object instance signifies the type of entry in the\nassociated conceptual row. The value of `individual'\nmeans that the entry applies to a specific partner DLSw\nnode as identified by dlswTConnConfigRemoteTAddr and\ndlswTConnConfigTDomain. The value of `global'\nmeans that the entry applies to all partner DLSw nodes\nof the TDomain. The value of 'group' means that the entry\napplies to a specific set of DLSw nodes in the TDomain.\nAny group definitions are enterprise-specific and are pointed\nto by dlswTConnConfigGroupDefinition. In the cases of\n`global' and `group', the value in dlswTConnConfigRemoteTAddr\nmay not have any significance.") dlswTConnConfigGroupDefinition = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 7), RowPointer()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigGroupDefinition.setDescription("For conceptual rows of `individual' and `global' as\nspecified in dlswTConnConfigEntryType, the instance\nof this object is `0.0'. For conceptual rows of\n`group', the instance points to the specific\ngroup definition.") dlswTConnConfigSetupType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,4,1,5,3,)).subtype(namedValues=NamedValues(("other", 1), ("activePersistent", 2), ("activeOnDemand", 3), ("passive", 4), ("excluded", 5), )).clone(4)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigSetupType.setDescription("This value of the instance of a conceptual row\nidentifies the behavior of the collection of\ntransport connections that this conceptual row\ndefines. The value of activePersistent, activeOnDemand\nand passive means this DLSw will accept any transport\nconnections, initiated by partner DLSw nodes, which\nare defined by this conceptual row. The value of\nactivePersistent means this DLSw will also initiate\nthe transport connections of this conceptual row and\nretry periodically if necessary. The value of\nactiveOnDemand means this DLSw will initiate a\ntransport connection of this conceptual row, if\nthere is a directory cache hits. The value of\nother is implementation specific. The value of exclude\nmeans that the specified node is not allowed to be\na partner to this DLSw node. To take a certain\nconceptual row definition out of service, a value of\nnotInService for dlswTConnConfigRowStatus should be\nused.") dlswTConnConfigSapList = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16).clone(hexValue='ff000000000000000000000000000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigSapList.setDescription("The SAP list indicates which SAPs are advertised to\nthe transport connection defined by this conceptual\nrow. Only SAPs with even numbers are represented,\nin the form of the most significant bit of the first\noctet representing the SAP 0, the next most significant\nbit representing the SAP 2, to the least significant\nbit of the last octet representing the SAP 254. Data\nlink switching is allowed for those SAPs which have\none in its corresponding bit, not allowed otherwise.\nThe whole SAP list has to be changed together. Changing\nthe SAP list affects only new circuit establishments\nand has no effect on established circuits.\n\nThis list can be used to restrict specific partners\nfrom knowing about all the SAPs used by DLSw on all its\ninterfaces (these are represented in dlswIfSapList for\neach interface). For instance, one may want to run NetBIOS\nwith some partners but not others.\n\nIf a node supports sending run-time capabilities exchange\nmessages, changes to this object should cause that action.\nWhen to start the run-time capabilities exchange is\nimplementation-specific.\nThe DEFVAL below indicates support for SAPs 0, 4, 8, and C.") dlswTConnConfigAdvertiseMacNB = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 10), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigAdvertiseMacNB.setDescription("The value of true indicates that any defined local MAC\naddresses and NetBIOS names will be advertised to a\npartner node via initial and (if supported) run-time\ncapabilities exchange messages. The DLSw node should send\nthe appropriate exclusivity control vector to accompany\neach list it sends, or to represent that the node is\nexplicitly configured to have a null list.\n\nThe value of false indicates that the DLSw node should not\nsend a MAC address list or NetBIOS name list, and should\nalso not send their corresponding exclusivity control\nvectors.") dlswTConnConfigInitCirRecvWndw = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigInitCirRecvWndw.setDescription("The initial circuit receive pacing window size, in the unit\nof SSP messages, to be used for future transport connections\nactivated using this table row. The managed node sends this\nvalue as its initial receive pacing window in its initial\ncapabilities exchange message. Changing this value does not\naffect the initial circuit receive pacing window size of\ncurrently active transport connections. If the standard window\npacing scheme is not supported, the value is zero.\n\nA larger receive window value may be appropriate for partners\nthat are reachable only via physical paths that have longer\nnetwork delays.") dlswTConnConfigOpens = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnConfigOpens.setDescription("Number of times transport connections entered\nconnected state according to the definition of\nthis conceptual row.") dlswTConnConfigRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 2, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnConfigRowStatus.setDescription("This object is used by the manager to create\nor delete the row entry in the dlswTConnConfigTable\nfollowing the RowStatus textual convention. The value\nof notInService will be used to take a conceptual\nrow definition out of use.") dlswTConnOperTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 2, 3)) if mibBuilder.loadTexts: dlswTConnOperTable.setDescription("A list of transport connections. It is optional but\ndesirable for the agent to keep an entry for some\nperiod of time after the transport connection is\ndisconnected. This allows the manager to capture\nadditional useful information about the connection, in\nparticular, statistical information and the cause of the\ndisconnection.") dlswTConnOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1)).setIndexNames((0, "DLSW-MIB", "dlswTConnOperTDomain"), (0, "DLSW-MIB", "dlswTConnOperRemoteTAddr")) if mibBuilder.loadTexts: dlswTConnOperEntry.setDescription("") dlswTConnOperTDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 1), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswTConnOperTDomain.setDescription("The object identifier indicates the transport domain\nof this transport connection.") dlswTConnOperLocalTAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 2), TAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperLocalTAddr.setDescription("The local transport address for this transport connection.\nThis value could be different from dlswTConnConfigLocalAddr,\nif the value of the latter were changed after this transport\nconnection was established.") dlswTConnOperRemoteTAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 3), TAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswTConnOperRemoteTAddr.setDescription("The remote transport address of this transport connection.") dlswTConnOperEntryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperEntryTime.setDescription("The amount of time (in hundredths of a second) since this\ntransport connection conceptual row was created.") dlswTConnOperConnectTime = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperConnectTime.setDescription("The amount of time (in hundredths of a second) since this\ntransport connection last entered the 'connected' state.\nA value of zero means this transport connection has never\nbeen established.") dlswTConnOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(6,3,1,4,2,5,)).subtype(namedValues=NamedValues(("connecting", 1), ("initCapExchange", 2), ("connected", 3), ("quiescing", 4), ("disconnecting", 5), ("disconnected", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswTConnOperState.setDescription("The state of this transport connection. The transport\nconnection enters `connecting' state when DLSw makes\na connection request to the transport layer. Once initial\nCapabilities Exchange is sent, the transport connection\nenters enters `initCapExchange' state. When partner\ncapabilities have been determined and the transport\nconnection is ready for sending CanUReach (CUR) messages,\nit moves to the `connected' state. When DLSw is in the\nprocess of bringing down the connection, it is in the\n`disconnecting' state. When the transport layer\nindicates one of its connections is disconnected, the\ntransport connection moves to the `disconnected' state.\n\nWhereas all of the values will be returned in response\nto a management protocol retrieval operation, only two\nvalues may be specified in a management protocol set\noperation: `quiescing' and `disconnecting'. Changing\nthe value to `quiescing' prevents new circuits from being\nestablished, and will cause a transport disconnect when\nthe last circuit on the connection goes away. Changing\nthe value to `disconnecting' will force off all circuits\nimmediately and bring the connection to `disconnected'\nstate.") dlswTConnOperConfigIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperConfigIndex.setDescription("The value of dlswTConnConfigIndex of the dlswTConnConfigEntry\nthat governs the configuration information used by this\ndlswTConnOperEntry. The manager can therefore normally\nexamine both configured and operational information\nfor this transport connection.\n\nThis value is zero if the corresponding dlswTConnConfigEntry\nwas deleted after the creation of this dlswTConnOperEntry.\nIf some fields in the former were changed but the conceptual\nrow was not deleted, some configuration information may not\nbe valid for this operational transport connection. The\nmanager can compare dlswTConnOperConnectTime and\ndlswTConnConfigLastModifyTime to determine if this condition\nexists.") dlswTConnOperFlowCntlMode = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("undetermined", 1), ("pacing", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperFlowCntlMode.setDescription("The flow control mechanism in use on this transport connection.\nThis value is undetermined (1) before the mode of flow control\ncan be established on a new transport connection (i.e., after\nCapEx is sent but before Capex or other SSP control messages\nhave been received). Pacing (2) indicates that the standard\nRFC 1795 pacing mechanism is in use. Other (3) may be either\nthe RFC 1434+ xBusy mechanism operating to a back-level DLSw,\nor a vendor-specific flow control method. Whether it is xBusy\nor not can be inferred from dlswTConnOperPartnerVersion.") dlswTConnOperPartnerVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 9), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(2,2),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerVersion.setDescription("This value identifies which version (first octet) and release\n(second octet) of the DLSw standard is supported by this\npartner DLSw. This information is obtained from a DLSw\ncapabilities exchange message received from the partner DLSw.\nA string of zero length is returned before a Capabilities\nExchange message is received, or if one is never received.\nA conceptual row with a dlswTConnOperState of `connected' but\na zero length partner version indicates that the partner is\na non-standard DLSw partner.\n\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerVendorID = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 10), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,3),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerVendorID.setDescription("This value identifies the IEEE-assigned organizationally\nUnique Identifier (OUI) of the maker of this partner\nDLSw. This information is obtained from a DLSw\ncapabilities exchange message received from the partner DLSw.\nA string of zero length is returned before a Capabilities\nExchange message is received, or if one is never received.\n\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerVersionStr = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 253))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerVersionStr.setDescription("This value identifies the particular product version (e.g.,\nproduct name, code level, fix level) of this partner DLSw.\nThe format of the actual version string is vendor-specific.\nThis information is obtained from a DLSw capabilities exchange\nmessage received from the partner DLSw.\nA string of zero length is returned before a Capabilities\nExchange message is received, if one is never received, or\nif one is received but it does not contain a version string.\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerInitPacingWndw = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerInitPacingWndw.setDescription("The value of the partner initial receive pacing window. This\nis our initial send pacing window for all new circuits on this\ntransport connection, as modified and granted by the first flow\ncontrol indication the partner sends on each circuit.\nThis information is obtained from a DLSw capabilities exchange\nmessage received from the partner DLSw.\nA value of zero is returned before a Capabilities\nExchange message is received, or if one is never received.\n\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerSapList = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 13), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(16,16),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerSapList.setDescription("The Supported SAP List received in the capabilities\nexchange message from the partner DLSw. This list has\nthe same format described for dlswTConnConfigSapList.\nA string of zero length is returned before a Capabilities\nExchange message is received, or if one is never received.\n\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerNBExcl = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerNBExcl.setDescription("The value of true signifies that the NetBIOS names received\nfrom this partner in the NetBIOS name list in its capabilities\nexchange message are the only NetBIOS names reachable by\nthat partner. `False' indicates that other NetBIOS names may\nbe reachable. `False' should be returned before a Capabilities\nExchange message is received, if one is never received, or if\none is received without a NB Name Exclusivity CV.\n\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerMacExcl = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerMacExcl.setDescription("The value of true signifies that the MAC addresses received\nfrom this partner in the MAC address list in its capabilities\nexchange message are the only MAC addresses reachable by\nthat partner. `False' indicates that other MAC addresses may\nbe reachable. `False' should be returned before a Capabilities\nExchange message is received, if one is never received, or if\none is received without a MAC Address Exclusivity CV.\n\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerNBInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("partial", 2), ("complete", 3), ("notApplicable", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerNBInfo.setDescription("It is up to this DSLw whether to keep either none, some,\nor all of the NetBIOS name list that was received in\nthe capabilities exchange message sent by this partner DLSw.\nThis object identifies how much information was kept by\nthis DLSw. These names are stored as userConfigured\nremote entries in dlswDirNBTable.\nA value of (4), notApplicable, should be returned before\na Capabilities Exchange message is received, or if one is\nnever received.\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperPartnerMacInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("partial", 2), ("complete", 3), ("notApplicable", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperPartnerMacInfo.setDescription("It is up to this DLSw whether to keep either none, some,\nor all of the MAC address list that was received in the\ncapabilities exchange message sent by this partner DLSw.\nThis object identifies how much information was kept by\nthis DLSw. These names are stored as userConfigured\nremote entries in dlswDirMACTable.\nA value of (4), notApplicable, should be returned before\na Capabilities Exchange message is received, or if one is\nnever received.\n\nIf an implementation chooses to keep dlswTConnOperEntrys in\nthe `disconnected' state, this value should remain unchanged.") dlswTConnOperDiscTime = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 18), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperDiscTime.setDescription("The amount of time (in hundredths of a second) since the\ndlswTConnOperState last entered `disconnected' state.") dlswTConnOperDiscReason = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(6,5,4,2,1,3,)).subtype(namedValues=NamedValues(("other", 1), ("capExFailed", 2), ("transportLayerDisc", 3), ("operatorCommand", 4), ("lastCircuitDiscd", 5), ("protocolError", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperDiscReason.setDescription("This object signifies the reason that either prevented the\ntransport connection from entering the connected state, or\ncaused the transport connection to enter the disconnected\nstate.") dlswTConnOperDiscActiveCir = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperDiscActiveCir.setDescription("The number of circuits active (not in DISCONNECTED state)\nat the time the transport connection was last disconnected.\nThis value is zero if the transport connection has never\nbeen connected.") dlswTConnOperInDataPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperInDataPkts.setDescription("The number of Switch-to-Switch Protocol (SSP) messages of\ntype DGRMFRAME, DATAFRAME, or INFOFRAME received on this\ntransport connection.") dlswTConnOperOutDataPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperOutDataPkts.setDescription("The number of Switch-to-Switch Protocol (SSP) messages of\ntype DGRMFRAME, DATAFRAME, or INFOFRAME transmitted on this\ntransport connection.") dlswTConnOperInDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperInDataOctets.setDescription("The number octets in Switch-to-Switch Protocol (SSP) messages\nof type DGRMFRAME, DATAFRAME, or INFOFRAME received on this\ntransport connection. Each message is counted starting with\nthe first octet following the SSP message header.") dlswTConnOperOutDataOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperOutDataOctets.setDescription("The number octets in Switch-to-Switch Protocol (SSP) messages\nof type DGRMFRAME, DATAFRAME, or INFOFRAME transmitted on this\ntransport connection. Each message is counted starting with\nthe first octet following the SSP message header.") dlswTConnOperInCntlPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperInCntlPkts.setDescription("The number of Switch-to-Switch Protocol (SSP) messages\nreceived on this transport connection which were not of\ntype DGRMFRAME, DATAFRAME, or INFOFRAME.") dlswTConnOperOutCntlPkts = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperOutCntlPkts.setDescription("The number of Switch-to-Switch Protocol (SSP) messages of\ntransmitted on this transport connection which were not of\ntype DGRMFRAME, DATAFRAME, or INFOFRAME.") dlswTConnOperCURexSents = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperCURexSents.setDescription("The number of CanUReach_ex messages sent on this transport\nconnection.") dlswTConnOperICRexRcvds = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperICRexRcvds.setDescription("The number of ICanReach_ex messages received on this transport\nconnection.") dlswTConnOperCURexRcvds = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperCURexRcvds.setDescription("The number of CanUReach_ex messages received on this transport\nconnection.") dlswTConnOperICRexSents = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperICRexSents.setDescription("The number of ICanReach_ex messages sent on this transport\nconnection.") dlswTConnOperNQexSents = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperNQexSents.setDescription("The number of NetBIOS_NQ_ex (NetBIOS Name Query-explorer)\nmessages sent on this transport connection.") dlswTConnOperNRexRcvds = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperNRexRcvds.setDescription("The number of NETBIOS_NR_ex (NetBIOS Name Recognized-explorer)\nmessages received on this transport connection.") dlswTConnOperNQexRcvds = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperNQexRcvds.setDescription("The number of NETBIOS_NQ_ex messages received on this\ntransport connection.") dlswTConnOperNRexSents = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperNRexSents.setDescription("The number of NETBIOS_NR_ex messages sent on this transport\nconnection.") dlswTConnOperCirCreates = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperCirCreates.setDescription("The number of times that circuits entered `circuit_established'\nstate (not counting transitions from `circuit_restart').") dlswTConnOperCircuits = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 3, 1, 36), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnOperCircuits.setDescription("The number of currently active circuits on this transport\nconnection, where `active' means not in `disconnected' state.") dlswTConnSpecific = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 2, 4)) dlswTConnTcp = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1)) dlswTConnTcpConfigTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 1)) if mibBuilder.loadTexts: dlswTConnTcpConfigTable.setDescription("This table defines the TCP transport connections that\nwill be either initiated by or accepted by this DSLw.\nIt augments the entries in dlswTConnConfigTable whose domain\nis dlswTCPDomain.") dlswTConnTcpConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 1, 1)).setIndexNames((0, "DLSW-MIB", "dlswTConnConfigIndex")) if mibBuilder.loadTexts: dlswTConnTcpConfigEntry.setDescription("Each conceptual row defines parameters that are\nspecific to dlswTCPDomain transport connections.") dlswTConnTcpConfigKeepAliveInt = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1800)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnTcpConfigKeepAliveInt.setDescription("The time in seconds between TCP keepAlive messages when\nno traffic is flowing. Zero signifies no keepAlive protocol.\nChanges take effect only for new TCP connections.") dlswTConnTcpConfigTcpConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnTcpConfigTcpConnections.setDescription("This is our preferred number of TCP connections within a\nTCP transport connection. The actual number used is negotiated\nat capabilities exchange time. Changes take effect only\nfor new transport connections.") dlswTConnTcpConfigMaxSegmentSize = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(4096)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswTConnTcpConfigMaxSegmentSize.setDescription("This is the number of bytes that this node is\nwilling to receive over the read TCP connection(s).\nChanges take effect for new transport connections.") dlswTConnTcpOperTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 2)) if mibBuilder.loadTexts: dlswTConnTcpOperTable.setDescription("A list of TCP transport connections. It is optional\nbut desirable for the agent to keep an entry for some\nperiod of time after the transport connection is\ndisconnected. This allows the manager to capture\nadditional useful information about the connection, in\nparticular, statistical information and the cause of the\ndisconnection.") dlswTConnTcpOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 2, 1)).setIndexNames((0, "DLSW-MIB", "dlswTConnOperTDomain"), (0, "DLSW-MIB", "dlswTConnOperRemoteTAddr")) if mibBuilder.loadTexts: dlswTConnTcpOperEntry.setDescription("") dlswTConnTcpOperKeepAliveInt = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1800))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnTcpOperKeepAliveInt.setDescription("The time in seconds between TCP keepAlive messages when\nno traffic is flowing. Zero signifies no keepAlive protocol is\noperating.") dlswTConnTcpOperPrefTcpConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnTcpOperPrefTcpConnections.setDescription("This is the number of TCP connections preferred by this DLSw\npartner, as received in its capabilities exchange message.") dlswTConnTcpOperTcpConnections = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 2, 4, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswTConnTcpOperTcpConnections.setDescription("This is the actual current number of TCP connections within\nthis transport connection.") dlswInterface = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 3)) dlswIfTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 3, 1)) if mibBuilder.loadTexts: dlswIfTable.setDescription("The list of interfaces on which DLSw is active.") dlswIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dlswIfEntry.setDescription("") dlswIfRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 3, 1, 1, 1), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswIfRowStatus.setDescription("This object is used by the manager to create\nor delete the row entry in the dlswIfTable\nfollowing the RowStatus textual convention.") dlswIfVirtualSegment = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,4095),ValueRangeConstraint(65535,65535),)).clone(65535)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswIfVirtualSegment.setDescription("The segment number that uniquely identifies the virtual\nsegment to which this DLSw interface is connected.\nCurrent source routing protocols limit this value to\nthe range 0 - 4095. (The value 0 is used by some\nmanagement applications for special test cases.)\nA value of 65535 signifies that no virtual segment\nis assigned to this interface. For instance,\nin a non-source routing environment, segment number\nassignment is not required.") dlswIfSapList = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 3, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16).clone(hexValue='ff000000000000000000000000000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswIfSapList.setDescription("The SAP list indicates which SAPs are allowed to be\ndata link switched through this interface. This list\nhas the same format described for dlswTConnConfigSapList.\n\nWhen changes to this object take effect is implementation-\nspecific. Turning off a particular SAP can destroy\nactive circuits that are using that SAP. An agent\nimplementation may reject such changes until there are no\nactive circuits if it so chooses. In this case, it is up\nto the manager to close the circuits first, using\ndlswCircuitState.\n\nThe DEFVAL below indicates support for SAPs 0, 4, 8, and C.") dlswDirectory = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 4)) dlswDirStat = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 4, 1)) dlswDirMacEntries = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirMacEntries.setDescription("The current total number of entries in the dlswDirMacTable.") dlswDirMacCacheHits = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirMacCacheHits.setDescription("The number of times a cache search for a particular MAC address\nresulted in success.") dlswDirMacCacheMisses = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirMacCacheMisses.setDescription("The number of times a cache search for a particular MAC address\nresulted in failure.") dlswDirMacCacheNextIndex = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirMacCacheNextIndex.setDescription("The next value of dlswDirMacIndex to be assigned by\nthe agent. A retrieval of this object atomically reserves\nthe returned value for use by the manager to create a row\nin dlswDirMacTable. This makes it possible for the agent\nto control the index space of the MAC address cache, yet\nallows the manager to administratively create new rows.") dlswDirNBEntries = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirNBEntries.setDescription("The current total number of entries in the dlswDirNBTable.") dlswDirNBCacheHits = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirNBCacheHits.setDescription("The number of times a cache search for a particular NetBIOS\nname resulted in success.") dlswDirNBCacheMisses = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirNBCacheMisses.setDescription("The number of times a cache search for a particular NetBIOS\nname resulted in failure.") dlswDirNBCacheNextIndex = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirNBCacheNextIndex.setDescription("The next value of dlswDirNBIndex to be assigned by the\nagent. A retrieval of this object atomically reserves\nthe returned value for use by the manager to create\na row in dlswDirNBTable. This makes it possible for the\nagent to control the index space for the NetBIOS name\ncache, yet allows the manager to administratively\ncreate new rows.") dlswDirCache = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 4, 2)) dlswDirMacTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1)) if mibBuilder.loadTexts: dlswDirMacTable.setDescription("This table contains locations of MAC addresses.\nThey could be either verified or not verified,\nlocal or remote, and configured locally or learned\nfrom either Capabilities Exchange messages or\ndirectory searches.") dlswDirMacEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1)).setIndexNames((0, "DLSW-MIB", "dlswDirMacIndex")) if mibBuilder.loadTexts: dlswDirMacEntry.setDescription("Indexed by dlswDirMacIndex.") dlswDirMacIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswDirMacIndex.setDescription("Uniquely identifies a conceptual row of this table.") dlswDirMacMac = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 2), MacAddressNC()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacMac.setDescription("The MAC address, together with the dlswDirMacMask,\nspecifies a set of MAC addresses that are defined or\ndiscovered through an interface or partner DLSw nodes.") dlswDirMacMask = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 3), MacAddressNC().clone(hexValue='ffffffffffff')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacMask.setDescription("The MAC address mask, together with the dlswDirMacMac,\nspecifies a set of MAC addresses that are defined or\ndiscovered through an interface or partner DLSw nodes.") dlswDirMacEntryType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,5,1,)).subtype(namedValues=NamedValues(("other", 1), ("userConfiguredPublic", 2), ("userConfiguredPrivate", 3), ("partnerCapExMsg", 4), ("dynamic", 5), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacEntryType.setDescription("The cause of the creation of this conceptual row.\nIt could be one of the three methods: (1) user\nconfigured, including via management protocol\nset operations, configuration file, command line\nor equivalent methods; (2) learned from the\npartner DLSw Capabilities Exchange messages;\nand (3) dynamic, e.g., learned from ICanReach\nmessages, or LAN explorer frames. Since only\nindividual MAC addresses can be dynamically learned,\ndynamic entries will all have a mask of all FFs.\n\nThe public versus private distinction for user-\nconfigured resources applies only to local resources\n(UC remote resources are private), and indicates\nwhether that resource should be advertised in\ncapabilities exchange messages sent by this node.") dlswDirMacLocationType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("local", 2), ("remote", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacLocationType.setDescription("The location of the resource (or a collection of\nresources using a mask) of this conceptual row\nis either (1) local - the resource is reachable\nvia an interface, or (2) remote - the resource\nis reachable via a partner DLSw node (or a set\nof partner DLSw nodes).") dlswDirMacLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 6), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacLocation.setDescription("Points to either the ifEntry, dlswTConnConfigEntry,\ndlswTConnOperEntry, 0.0, or something that is implementation\nspecific. It identifies the location of the MAC address\n(or the collection of MAC addresses.)") dlswDirMacStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("reachable", 2), ("notReachable", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacStatus.setDescription("This object specifies whether DLSw currently believes\nthe MAC address to be accessible at the specified location.\nThe value `notReachable' allows a configured resource\ndefinition to be taken out of service when a search to\nthat resource fails (avoiding a repeat of the search).") dlswDirMacLFSize = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 8), LFSize().clone('lfs65535')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacLFSize.setDescription("The largest size of the MAC INFO field (LLC header and data)\nthat a circuit to the MAC address can carry through this path.") dlswDirMacRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 1, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirMacRowStatus.setDescription("This object is used by the manager to create\nor delete the row entry in the dlswDirMacTable\nfollowing the RowStatus textual convention.") dlswDirNBTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2)) if mibBuilder.loadTexts: dlswDirNBTable.setDescription("This table contains locations of NetBIOS names.\nThey could be either verified or not verified,\nlocal or remote, and configured locally or learned\nfrom either Capabilities Exchange messages or\ndirectory searches.") dlswDirNBEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1)).setIndexNames((0, "DLSW-MIB", "dlswDirNBIndex")) if mibBuilder.loadTexts: dlswDirNBEntry.setDescription("Indexed by dlswDirNBIndex.") dlswDirNBIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswDirNBIndex.setDescription("Uniquely identifies a conceptual row of this table.") dlswDirNBName = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 2), NBName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBName.setDescription("The NetBIOS name (including `any char' and `wildcard'\ncharacters) specifies a set of NetBIOS names that are\ndefined or discovered through an interface or partner\nDLSw nodes.") dlswDirNBNameType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("individual", 2), ("group", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBNameType.setDescription("Whether dlswDirNBName represents an (or a set of) individual\nor group NetBIOS name(s).") dlswDirNBEntryType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,5,1,)).subtype(namedValues=NamedValues(("other", 1), ("userConfiguredPublic", 2), ("userConfiguredPrivate", 3), ("partnerCapExMsg", 4), ("dynamic", 5), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBEntryType.setDescription("The cause of the creation of this conceptual row.\nIt could be one of the three methods: (1) user\nconfigured, including via management protocol\nset operations, configuration file, command line,\nor equivalent methods; (2) learned from the\npartner DLSw Capabilities Exchange messages;\nand (3) dynamic, e.g., learned from ICanReach\nmessages, or test frames. Since only actual\nNetBIOS names can be dynamically learned, dynamic\nentries will not contain any char or wildcard\ncharacters.\n\nThe public versus private distinction for user-\nconfigured resources applies only to local resources\n(UC remote resources are private), and indicates\nwhether that resource should be advertised in\ncapabilities exchange messages sent by this node.") dlswDirNBLocationType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("local", 2), ("remote", 3), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBLocationType.setDescription("The location of the resource (or a collection of resources\nusing any char/wildcard characters) of this conceptual row\nis either (1) local - the resource is reachable via an\ninterface, or (2) remote - the resource is reachable via a\na partner DLSw node (or a set of partner DLSw nodes).") dlswDirNBLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 6), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBLocation.setDescription("Points to either the ifEntry, dlswTConnConfigEntry,\ndlswTConnOperEntry, 0.0, or something that is implementation\nspecific. It identifies the location of the NetBIOS name\nor the set of NetBIOS names.") dlswDirNBStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("reachable", 2), ("notReachable", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBStatus.setDescription("This object specifies whether DLSw currently believes\nthe NetBIOS name to be accessible at the specified location.\nThe value `notReachable' allows a configured resource\ndefinition to be taken out of service when a search to\nthat resource fails (avoiding a repeat of the search).") dlswDirNBLFSize = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 8), LFSize().clone('lfs65535')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBLFSize.setDescription("The largest size of the MAC INFO field (LLC header and data)\nthat a circuit to the NB name can carry through this path.") dlswDirNBRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 2, 2, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswDirNBRowStatus.setDescription("This object is used by manager to create\nor delete the row entry in the dlswDirNBTable\nfollowing the RowStatus textual convention.") dlswDirLocate = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 4, 3)) dlswDirLocateMacTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 1)) if mibBuilder.loadTexts: dlswDirLocateMacTable.setDescription("This table is used to retrieve all entries in the\ndlswDirMacTable that match a given MAC address,\nin the order of the best matched first, the\nsecond best matched second, and so on, till\nno more entries match the given MAC address.") dlswDirLocateMacEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 1, 1)).setIndexNames((0, "DLSW-MIB", "dlswDirLocateMacMac"), (0, "DLSW-MIB", "dlswDirLocateMacMatch")) if mibBuilder.loadTexts: dlswDirLocateMacEntry.setDescription("Indexed by dlswDirLocateMacMac and dlswDirLocateMacMatch.\nThe first object is the MAC address of interest, and\nthe second object is the order in the list of all\nentries that match the MAC address.") dlswDirLocateMacMac = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 1, 1, 1), MacAddressNC()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswDirLocateMacMac.setDescription("The MAC address to be located.") dlswDirLocateMacMatch = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswDirLocateMacMatch.setDescription("The order of the entries of dlswDirMacTable\nthat match dlswDirLocateMacMac. A value of\none represents the entry that best matches the\nMAC address. A value of two represents the second\nbest matched entry, and so on.") dlswDirLocateMacLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 1, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirLocateMacLocation.setDescription("Points to the dlswDirMacEntry.") dlswDirLocateNBTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 2)) if mibBuilder.loadTexts: dlswDirLocateNBTable.setDescription("This table is used to retrieve all entries in the\ndlswDirNBTable that match a given NetBIOS name,\nin the order of the best matched first, the\nsecond best matched second, and so on, till\nno more entries match the given NetBIOS name.") dlswDirLocateNBEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 2, 1)).setIndexNames((0, "DLSW-MIB", "dlswDirLocateNBName"), (0, "DLSW-MIB", "dlswDirLocateNBMatch")) if mibBuilder.loadTexts: dlswDirLocateNBEntry.setDescription("Indexed by dlswDirLocateNBName and dlswDirLocateNBMatch.\nThe first object is the NetBIOS name of interest, and\nthe second object is the order in the list of all\nentries that match the NetBIOS name.") dlswDirLocateNBName = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 2, 1, 1), NBName()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswDirLocateNBName.setDescription("The NetBIOS name to be located (no any char or wildcards).") dlswDirLocateNBMatch = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswDirLocateNBMatch.setDescription("The order of the entries of dlswDirNBTable\nthat match dlswDirLocateNBName. A value of\none represents the entry that best matches the\nNetBIOS name. A value of two represents the second\nbest matched entry, and so on.") dlswDirLocateNBLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 4, 3, 2, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswDirLocateNBLocation.setDescription("Points to the dlswDirNBEntry.") dlswCircuit = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 5)) dlswCircuitStat = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 5, 1)) dlswCircuitStatActives = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 5, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitStatActives.setDescription("The current number of circuits in dlswCircuitTable that are\nnot in the disconnected state.") dlswCircuitStatCreates = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitStatCreates.setDescription("The total number of entries ever added to dlswCircuitTable,\nor reactivated upon exiting `disconnected' state.") dlswCircuitTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 5, 2)) if mibBuilder.loadTexts: dlswCircuitTable.setDescription("This table is the circuit representation in the DLSw\nentity. Virtual data links are used to represent any internal\nend stations. There is a conceptual row associated with\neach data link. Thus, for circuits without an intervening\ntransport connection, there are two conceptual rows\nfor each circuit.\n\nThe table consists of the circuits being established,\nestablished, and as an implementation option, circuits that\nhave been disconnected. For circuits carried over\ntransport connections, an entry is created after\nthe CUR_cs was sent or received. For circuits between\ntwo locally attached devices, or internal virtual MAC\naddresses, an entry is created when the equivalent of\nCUR_cs sent/received status is reached.\n\nEnd station 1 (S1) and End station 2 (S2) are used to\nrepresent the two end stations of the circuit.\nS1 is always an end station which is locally attached.\nS2 may be locally attached or remote. If it is locally\nattached, the circuit will be represented by two rows indexed\nby (A, B) and (B, A) where A & B are the relevant MACs/SAPs.\n\nThe table may be used to store the causes of disconnection of\ncircuits. It is recommended that the oldest disconnected\ncircuit entry be removed from this table when the memory\nspace of disconnected circuits is needed.") dlswCircuitEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1)).setIndexNames((0, "DLSW-MIB", "dlswCircuitS1Mac"), (0, "DLSW-MIB", "dlswCircuitS1Sap"), (0, "DLSW-MIB", "dlswCircuitS2Mac"), (0, "DLSW-MIB", "dlswCircuitS2Sap")) if mibBuilder.loadTexts: dlswCircuitEntry.setDescription("") dlswCircuitS1Mac = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 1), MacAddressNC()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswCircuitS1Mac.setDescription("The MAC Address of End Station 1 (S1) used for this circuit.") dlswCircuitS1Sap = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswCircuitS1Sap.setDescription("The SAP at End Station 1 (S1) used for this circuit.") dlswCircuitS1IfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS1IfIndex.setDescription("The ifEntry index of the local interface through which S1\ncan be reached.") dlswCircuitS1DlcType = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 4), DlcType()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS1DlcType.setDescription("The DLC protocol in use between the DLSw node and S1.") dlswCircuitS1RouteInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS1RouteInfo.setDescription("If source-route bridging is in use between the DLSw\nnode and S1, this is the routing information field\ndescribing the path between the two devices.\nOtherwise the value will be an OCTET STRING of\nzero length.") dlswCircuitS1CircuitId = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 6), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS1CircuitId.setDescription("The Circuit ID assigned by this DLSw node to this circuit.\nThe first four octets are the DLC port Id, and\nthe second four octets are the Data Link Correlator.\nIf the DLSw SSP was not used to establish this circuit,\nthe value will be a string of zero length.") dlswCircuitS1Dlc = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 7), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS1Dlc.setDescription("Points to a conceptual row of the underlying DLC MIB,\nwhich could either be the standard MIBs (e.g., the SDLC),\nor an enterprise-specific DLC MIB.") dlswCircuitS2Mac = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 8), MacAddressNC()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswCircuitS2Mac.setDescription("The MAC Address of End Station 2 (S2) used for this circuit.") dlswCircuitS2Sap = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("noaccess") if mibBuilder.loadTexts: dlswCircuitS2Sap.setDescription("The SAP at End Station 2 (S2) used for this circuit.") dlswCircuitS2Location = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 10), EndStationLocation()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS2Location.setDescription("The location of End Station 2 (S2).\nIf the location of End Station 2 is local, the\ninterface information will be available in the\nconceptual row whose S1 and S2 are the S2 and\nthe S1 of this conceptual row, respectively.") dlswCircuitS2TDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 11), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS2TDomain.setDescription("If the location of End Station 2 is remote,\nthis value is the transport domain of the\ntransport protocol the circuit is running\nover. Otherwise, the value is 0.0.") dlswCircuitS2TAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 12), TAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS2TAddress.setDescription("If the location of End Station 2 is remote,\nthis object contains the address of the partner\nDLSw, else it will be an OCTET STRING of zero length.") dlswCircuitS2CircuitId = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 13), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitS2CircuitId.setDescription("The Circuit ID assigned to this circuit by the partner\nDLSw node. The first four octets are the DLC port Id, and\nthe second four octets are the Data Link Correlator.\nIf the DLSw SSP was not used to establish this circuit,\nthe value will be a string of zero length.") dlswCircuitOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("s1", 1), ("s2", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitOrigin.setDescription("This object specifies which of the two end stations\ninitiated the establishment of this circuit.") dlswCircuitEntryTime = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitEntryTime.setDescription("The amount of time (in hundredths of a second) since this\ncircuit table conceptual row was created.") dlswCircuitStateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 16), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitStateTime.setDescription("The amount of time (in hundredths of a second) since this\ncircuit entered the current state.") dlswCircuitState = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(12,11,5,10,13,3,8,6,7,1,2,4,9,)).subtype(namedValues=NamedValues(("disconnected", 1), ("haltPending", 10), ("haltPendingNoack", 11), ("circuitRestart", 12), ("restartPending", 13), ("circuitStart", 2), ("resolvePending", 3), ("circuitPending", 4), ("circuitEstablished", 5), ("connectPending", 6), ("contactPending", 7), ("connected", 8), ("disconnectPending", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dlswCircuitState.setDescription("The current state of this circuit. The agent, implementation\nspecific, may choose to keep entries for some period of time\nafter circuit disconnect, so the manager can gather the time\nand cause of disconnection.\n\nWhile all of the specified values may be returned from a GET\noperation, the only SETable value is `disconnectPending'.\nWhen this value is set, DLSw should perform the appropriate\naction given its previous state (e.g., send HALT_DL if the\nstate was `connected') to bring the circuit down to the\n`disconnected' state. Both the partner DLSw and local end\nstation(s) should be notified as appropriate.\n\nThis MIB provides no facility to re-establish a disconnected\ncircuit, because in DLSw this should be an end station-driven\nfunction.") dlswCircuitPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,5,)).subtype(namedValues=NamedValues(("unsupported", 1), ("low", 2), ("medium", 3), ("high", 4), ("highest", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitPriority.setDescription("The transmission priority of this circuit as understood by\nthis DLSw node. This value is determined by the two DLSw\nnodes at circuit startup time. If this DLSw node does not\nsupport DLSw circuit priority, the value `unsupported' should\nbe returned.") dlswCircuitFCSendGrantedUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCSendGrantedUnits.setDescription("The number of paced SSP messages that this DLSw is currently\nauthorized to send on this circuit before it must stop and\nwait for an additional flow control indication from the\npartner DLSw.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCSendCurrentWndw = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCSendCurrentWndw.setDescription("The current window size that this DLSw is using in its role\nas a data sender. This is the value by which this DLSw would\nincrease the number of messages it is authorized to send, if\nit were to receive a flow control indication with the bits\nspecifying `repeat window'.\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCRecvGrantedUnits = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCRecvGrantedUnits.setDescription("The current number of paced SSP messages that this DLSw has\nauthorized the partner DLSw to send on this circuit before\nthe partner DLSw must stop and wait for an additional flow\ncontrol indication from this DLSw.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCRecvCurrentWndw = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCRecvCurrentWndw.setDescription("The current window size that this DLSw is using in its role\nas a data receiver. This is the number of additional paced\nSSP messages that this DLSw would be authorizing its DLSw\npartner to send, if this DLSw were to send a flow control\nindication with the bits specifying `repeat window'.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCLargestRecvGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 23), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCLargestRecvGranted.setDescription("The largest receive window size granted by this DLSw during\nthe current activation of this circuit. This is not the\nlargest number of messages granted at any time, but the\nlargest window size as represented by FCIND operator bits.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCLargestSendGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 24), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCLargestSendGranted.setDescription("The largest send (with respect to this DLSw) window size\ngranted by the partner DLSw during the current activation of\nthis circuit.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCHalveWndwSents = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCHalveWndwSents.setDescription("The number of Halve Window operations this DLSw has sent on\nthis circuit, in its role as a data receiver.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCResetOpSents = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCResetOpSents.setDescription("The number of Reset Window operations this DLSw has sent on\nthis circuit, in its role as a data receiver.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCHalveWndwRcvds = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCHalveWndwRcvds.setDescription("The number of Halve Window operations this DLSw has received on\nthis circuit, in its role as a data sender.\n\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitFCResetOpRcvds = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitFCResetOpRcvds.setDescription("The number of Reset Window operations this DLSw has received on\nthis circuit, in its role as a data sender.\nThe value zero should be returned if this circuit is not\nrunning the DLSw pacing protocol.") dlswCircuitDiscReasonLocal = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 29), Integer().subtype(subtypeSpec=SingleValueConstraint(7,3,5,2,6,1,4,)).subtype(namedValues=NamedValues(("endStationDiscRcvd", 1), ("endStationDlcError", 2), ("protocolError", 3), ("operatorCommand", 4), ("haltDlRcvd", 5), ("haltDlNoAckRcvd", 6), ("transportConnClosed", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitDiscReasonLocal.setDescription("The reason why this circuit was last disconnected, as seen\nby this DLSw node.\n\nThis object is present only if the agent keeps circuit\ntable entries around for some period after circuit disconnect.") dlswCircuitDiscReasonRemote = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 30), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,1,5,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("endStationDiscRcvd", 2), ("endStationDlcError", 3), ("protocolError", 4), ("operatorCommand", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitDiscReasonRemote.setDescription("The generic reason code why this circuit was last\ndisconnected, as reported by the DLSw partner in a HALT_DL\nor HALT_DL_NOACK. If the partner does not send a reason\ncode in these messages, or the DLSw implementation does\nnot report receiving one, the value `unknown' is returned.\n\nThis object is present only if the agent keeps circuit table\nentries around for some period after circuit disconnect.") dlswCircuitDiscReasonRemoteData = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 5, 2, 1, 31), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(4,4),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswCircuitDiscReasonRemoteData.setDescription("Implementation-specific data reported by the DLSw partner in\na HALT_DL or HALT_DL_NOACK, to help specify how and why this\ncircuit was last disconnected. If the partner does not send\nthis data in these messages, or the DLSw implementation does\nnot report receiving it, a string of zero length is returned.\n\nThis object is present only if the agent keeps circuit table\nentries around for some period after circuit disconnect.") dlswSdlc = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 1, 6)) dlswSdlcLsEntries = MibScalar((1, 3, 6, 1, 2, 1, 46, 1, 6, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dlswSdlcLsEntries.setDescription("The number of entries in dlswSdlcLsTable.") dlswSdlcLsTable = MibTable((1, 3, 6, 1, 2, 1, 46, 1, 6, 2)) if mibBuilder.loadTexts: dlswSdlcLsTable.setDescription("The table defines the virtual MAC addresses for those\nSDLC link stations that participate in data link switching.") dlswSdlcLsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SNA-SDLC-MIB", "sdlcLSAddress")) if mibBuilder.loadTexts: dlswSdlcLsEntry.setDescription("The index of this table is the ifIndex value for the\nSDLC port which owns this link station and the poll\naddress of the particular SDLC link station.") dlswSdlcLsLocalMac = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1, 1), MacAddressNC()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswSdlcLsLocalMac.setDescription("The virtual MAC address used to represent the SDLC-attached\nlink station to the rest of the DLSw network.") dlswSdlcLsLocalSap = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswSdlcLsLocalSap.setDescription("The SAP used to represent this link station.") dlswSdlcLsLocalIdBlock = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1, 3), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,3),)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswSdlcLsLocalIdBlock.setDescription("The block number is the first three digits of the node_id,\nif available. These 3 hexadecimal digits identify the\nproduct.") dlswSdlcLsLocalIdNum = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1, 4), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(5,5),)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswSdlcLsLocalIdNum.setDescription("The ID number is the last 5 digits of the node_id, if\navailable. These 5 hexadecimal digits are\nadministratively defined and combined with the 3 digit\nblock number form the node_id. This node_id is used to\nidentify the local node and is included in SNA XIDs.") dlswSdlcLsRemoteMac = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1, 5), MacAddressNC().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswSdlcLsRemoteMac.setDescription("The MAC address to which DLSw should attempt to connect\nthis link station. If this information is not available,\na length of zero for this object should be returned.") dlswSdlcLsRemoteSap = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswSdlcLsRemoteSap.setDescription("The SAP of the remote station to which this link\nstation should be connected. If this information\nis not available, a length of zero for this object\nshould be returned.") dlswSdlcLsRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 46, 1, 6, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dlswSdlcLsRowStatus.setDescription("This object is used by the manager to create\nor delete the row entry in the dlswSdlcLsTable\nfollowing the RowStatus textual convention.") dlswDomains = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 2)) dlswTCPDomain = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 2, 1)) dlswConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 3)) dlswCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 3, 1)) dlswGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 46, 3, 2)) # Augmentions # Notifications dlswTrapTConnPartnerReject = NotificationType((1, 3, 6, 1, 2, 1, 46, 1, 0, 1)).setObjects(*(("DLSW-MIB", "dlswTConnOperTDomain"), ("DLSW-MIB", "dlswTConnOperRemoteTAddr"), ) ) if mibBuilder.loadTexts: dlswTrapTConnPartnerReject.setDescription("This trap is sent each time a transport connection\nis rejected by a partner DLSw during Capabilities\nExchanges. The emission of this trap is controlled\nby dlswTrapCntlTConnPartnerReject.") dlswTrapTConnProtViolation = NotificationType((1, 3, 6, 1, 2, 1, 46, 1, 0, 2)).setObjects(*(("DLSW-MIB", "dlswTConnOperTDomain"), ("DLSW-MIB", "dlswTConnOperRemoteTAddr"), ) ) if mibBuilder.loadTexts: dlswTrapTConnProtViolation.setDescription("This trap is sent each time a protocol violation is\ndetected for a transport connection. The emission of this\ntrap is controlled by dlswTrapCntlTConnProtViolation.") dlswTrapTConnUp = NotificationType((1, 3, 6, 1, 2, 1, 46, 1, 0, 3)).setObjects(*(("DLSW-MIB", "dlswTConnOperTDomain"), ("DLSW-MIB", "dlswTConnOperRemoteTAddr"), ) ) if mibBuilder.loadTexts: dlswTrapTConnUp.setDescription("This trap is sent each time a transport connection\nenters `connected' state. The emission of this trap\nis controlled by dlswTrapCntlTConn.") dlswTrapTConnDown = NotificationType((1, 3, 6, 1, 2, 1, 46, 1, 0, 4)).setObjects(*(("DLSW-MIB", "dlswTConnOperTDomain"), ("DLSW-MIB", "dlswTConnOperRemoteTAddr"), ) ) if mibBuilder.loadTexts: dlswTrapTConnDown.setDescription("This trap is sent each time a transport connection\nenters `disconnected' state. The emission of this trap\nis controlled by dlswTrapCntlTConn.") dlswTrapCircuitUp = NotificationType((1, 3, 6, 1, 2, 1, 46, 1, 0, 5)).setObjects(*(("DLSW-MIB", "dlswCircuitS2Sap"), ("DLSW-MIB", "dlswCircuitS2Mac"), ("DLSW-MIB", "dlswCircuitS1Mac"), ("DLSW-MIB", "dlswCircuitS1Sap"), ) ) if mibBuilder.loadTexts: dlswTrapCircuitUp.setDescription("This trap is sent each time a circuit enters `connected'\nstate. The emission of this trap is controlled by\ndlswTrapCntlCircuit.") dlswTrapCircuitDown = NotificationType((1, 3, 6, 1, 2, 1, 46, 1, 0, 6)).setObjects(*(("DLSW-MIB", "dlswCircuitS2Sap"), ("DLSW-MIB", "dlswCircuitS2Mac"), ("DLSW-MIB", "dlswCircuitS1Mac"), ("DLSW-MIB", "dlswCircuitS1Sap"), ) ) if mibBuilder.loadTexts: dlswTrapCircuitDown.setDescription("This trap is sent each time a circuit enters `disconnected'\nstate. The emission of this trap is controlled by\ndlswTrapCntlCircuit.") # Groups dlswNodeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 1)).setObjects(*(("DLSW-MIB", "dlswNodeVersionString"), ("DLSW-MIB", "dlswNodeStatus"), ("DLSW-MIB", "dlswNodeUpTime"), ("DLSW-MIB", "dlswNodeVersion"), ("DLSW-MIB", "dlswNodeVendorID"), ("DLSW-MIB", "dlswTrapCntlTConnProtViolation"), ("DLSW-MIB", "dlswNodeResourceMacExclusivity"), ("DLSW-MIB", "dlswTrapCntlCircuit"), ("DLSW-MIB", "dlswTrapCntlTConnPartnerReject"), ("DLSW-MIB", "dlswTrapCntlTConn"), ("DLSW-MIB", "dlswNodeStdPacingSupport"), ("DLSW-MIB", "dlswNodeVirtualSegmentLFSize"), ) ) if mibBuilder.loadTexts: dlswNodeGroup.setDescription("Conformance group for DLSw node general information.") dlswNodeNBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 2)).setObjects(*(("DLSW-MIB", "dlswNodeResourceNBExclusivity"), ) ) if mibBuilder.loadTexts: dlswNodeNBGroup.setDescription("Conformance group for DLSw node general information\nspecifically for nodes that support NetBIOS.") dlswTConnStatGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 3)).setObjects(*(("DLSW-MIB", "dlswTConnStatActiveConnections"), ("DLSW-MIB", "dlswTConnStatCloseIdles"), ("DLSW-MIB", "dlswTConnStatCloseBusys"), ) ) if mibBuilder.loadTexts: dlswTConnStatGroup.setDescription("Conformance group for statistics for transport\nconnections.") dlswTConnConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 4)).setObjects(*(("DLSW-MIB", "dlswTConnConfigEntryType"), ("DLSW-MIB", "dlswTConnConfigRowStatus"), ("DLSW-MIB", "dlswTConnConfigOpens"), ("DLSW-MIB", "dlswTConnConfigLocalTAddr"), ("DLSW-MIB", "dlswTConnConfigInitCirRecvWndw"), ("DLSW-MIB", "dlswTConnConfigGroupDefinition"), ("DLSW-MIB", "dlswTConnConfigLastModifyTime"), ("DLSW-MIB", "dlswTConnConfigSetupType"), ("DLSW-MIB", "dlswTConnConfigTDomain"), ("DLSW-MIB", "dlswTConnConfigAdvertiseMacNB"), ("DLSW-MIB", "dlswTConnConfigSapList"), ("DLSW-MIB", "dlswTConnConfigRemoteTAddr"), ) ) if mibBuilder.loadTexts: dlswTConnConfigGroup.setDescription("Conformance group for the configuration of\ntransport connections.") dlswTConnOperGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 5)).setObjects(*(("DLSW-MIB", "dlswTConnOperConnectTime"), ("DLSW-MIB", "dlswTConnOperState"), ("DLSW-MIB", "dlswTConnOperLocalTAddr"), ("DLSW-MIB", "dlswTConnOperPartnerSapList"), ("DLSW-MIB", "dlswTConnOperDiscActiveCir"), ("DLSW-MIB", "dlswTConnOperPartnerMacInfo"), ("DLSW-MIB", "dlswTConnOperICRexRcvds"), ("DLSW-MIB", "dlswTConnOperICRexSents"), ("DLSW-MIB", "dlswTConnOperOutDataOctets"), ("DLSW-MIB", "dlswTConnOperOutCntlPkts"), ("DLSW-MIB", "dlswTConnOperPartnerVendorID"), ("DLSW-MIB", "dlswTConnOperInDataOctets"), ("DLSW-MIB", "dlswTConnOperPartnerMacExcl"), ("DLSW-MIB", "dlswTConnOperInDataPkts"), ("DLSW-MIB", "dlswTConnOperInCntlPkts"), ("DLSW-MIB", "dlswTConnOperDiscReason"), ("DLSW-MIB", "dlswTConnOperCircuits"), ("DLSW-MIB", "dlswTConnOperPartnerInitPacingWndw"), ("DLSW-MIB", "dlswTConnOperCirCreates"), ("DLSW-MIB", "dlswTConnOperCURexSents"), ("DLSW-MIB", "dlswTConnOperPartnerVersionStr"), ("DLSW-MIB", "dlswTConnOperConfigIndex"), ("DLSW-MIB", "dlswTConnOperEntryTime"), ("DLSW-MIB", "dlswTConnOperPartnerVersion"), ("DLSW-MIB", "dlswTConnOperFlowCntlMode"), ("DLSW-MIB", "dlswTConnOperOutDataPkts"), ("DLSW-MIB", "dlswTConnOperCURexRcvds"), ("DLSW-MIB", "dlswTConnOperDiscTime"), ) ) if mibBuilder.loadTexts: dlswTConnOperGroup.setDescription("Conformance group for operation information for\ntransport connections.") dlswTConnNBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 6)).setObjects(*(("DLSW-MIB", "dlswTConnOperNRexRcvds"), ("DLSW-MIB", "dlswTConnOperPartnerNBExcl"), ("DLSW-MIB", "dlswTConnOperPartnerNBInfo"), ("DLSW-MIB", "dlswTConnOperNQexRcvds"), ("DLSW-MIB", "dlswTConnOperNRexSents"), ("DLSW-MIB", "dlswTConnOperNQexSents"), ) ) if mibBuilder.loadTexts: dlswTConnNBGroup.setDescription("Conformance group for operation information for\ntransport connections, specifically for nodes\nthat support NetBIOS.") dlswTConnTcpConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 7)).setObjects(*(("DLSW-MIB", "dlswTConnTcpConfigKeepAliveInt"), ("DLSW-MIB", "dlswTConnTcpConfigMaxSegmentSize"), ("DLSW-MIB", "dlswTConnTcpConfigTcpConnections"), ) ) if mibBuilder.loadTexts: dlswTConnTcpConfigGroup.setDescription("Conformance group for configuration information for\ntransport connections using TCP.") dlswTConnTcpOperGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 8)).setObjects(*(("DLSW-MIB", "dlswTConnTcpOperPrefTcpConnections"), ("DLSW-MIB", "dlswTConnTcpOperTcpConnections"), ("DLSW-MIB", "dlswTConnTcpOperKeepAliveInt"), ) ) if mibBuilder.loadTexts: dlswTConnTcpOperGroup.setDescription("Conformance group for operation information for\ntransport connections using TCP.") dlswInterfaceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 9)).setObjects(*(("DLSW-MIB", "dlswIfRowStatus"), ("DLSW-MIB", "dlswIfVirtualSegment"), ("DLSW-MIB", "dlswIfSapList"), ) ) if mibBuilder.loadTexts: dlswInterfaceGroup.setDescription("Conformance group for DLSw interfaces.") dlswDirGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 10)).setObjects(*(("DLSW-MIB", "dlswDirMacLFSize"), ("DLSW-MIB", "dlswDirMacMask"), ("DLSW-MIB", "dlswDirMacLocation"), ("DLSW-MIB", "dlswDirMacEntries"), ("DLSW-MIB", "dlswDirMacStatus"), ("DLSW-MIB", "dlswDirMacCacheNextIndex"), ("DLSW-MIB", "dlswDirMacLocationType"), ("DLSW-MIB", "dlswDirMacMac"), ("DLSW-MIB", "dlswDirMacCacheHits"), ("DLSW-MIB", "dlswDirMacEntryType"), ("DLSW-MIB", "dlswDirMacCacheMisses"), ("DLSW-MIB", "dlswDirMacRowStatus"), ) ) if mibBuilder.loadTexts: dlswDirGroup.setDescription("Conformance group for DLSw directory using MAC\naddresses.") dlswDirNBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 11)).setObjects(*(("DLSW-MIB", "dlswDirNBCacheHits"), ("DLSW-MIB", "dlswDirNBEntryType"), ("DLSW-MIB", "dlswDirNBLocation"), ("DLSW-MIB", "dlswDirNBCacheNextIndex"), ("DLSW-MIB", "dlswDirNBNameType"), ("DLSW-MIB", "dlswDirNBName"), ("DLSW-MIB", "dlswDirNBLFSize"), ("DLSW-MIB", "dlswDirNBStatus"), ("DLSW-MIB", "dlswDirNBRowStatus"), ("DLSW-MIB", "dlswDirNBEntries"), ("DLSW-MIB", "dlswDirNBCacheMisses"), ("DLSW-MIB", "dlswDirNBLocationType"), ) ) if mibBuilder.loadTexts: dlswDirNBGroup.setDescription("Conformance group for DLSw directory using NetBIOS\nnames.") dlswDirLocateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 12)).setObjects(*(("DLSW-MIB", "dlswDirLocateMacLocation"), ) ) if mibBuilder.loadTexts: dlswDirLocateGroup.setDescription("Conformance group for a node that can return directory\nentry order for a given MAC address.") dlswDirLocateNBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 13)).setObjects(*(("DLSW-MIB", "dlswDirLocateNBLocation"), ) ) if mibBuilder.loadTexts: dlswDirLocateNBGroup.setDescription("Conformance group for a node that can return directory\nentry order for a given NetBIOS name.") dlswCircuitStatGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 14)).setObjects(*(("DLSW-MIB", "dlswCircuitStatCreates"), ("DLSW-MIB", "dlswCircuitStatActives"), ) ) if mibBuilder.loadTexts: dlswCircuitStatGroup.setDescription("Conformance group for statistics about circuits.") dlswCircuitGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 15)).setObjects(*(("DLSW-MIB", "dlswCircuitS1Dlc"), ("DLSW-MIB", "dlswCircuitFCSendGrantedUnits"), ("DLSW-MIB", "dlswCircuitS1RouteInfo"), ("DLSW-MIB", "dlswCircuitFCRecvGrantedUnits"), ("DLSW-MIB", "dlswCircuitPriority"), ("DLSW-MIB", "dlswCircuitOrigin"), ("DLSW-MIB", "dlswCircuitS2TAddress"), ("DLSW-MIB", "dlswCircuitEntryTime"), ("DLSW-MIB", "dlswCircuitS1DlcType"), ("DLSW-MIB", "dlswCircuitDiscReasonRemote"), ("DLSW-MIB", "dlswCircuitS2TDomain"), ("DLSW-MIB", "dlswCircuitFCRecvCurrentWndw"), ("DLSW-MIB", "dlswCircuitState"), ("DLSW-MIB", "dlswCircuitFCLargestSendGranted"), ("DLSW-MIB", "dlswCircuitFCLargestRecvGranted"), ("DLSW-MIB", "dlswCircuitS1IfIndex"), ("DLSW-MIB", "dlswCircuitFCSendCurrentWndw"), ("DLSW-MIB", "dlswCircuitFCHalveWndwSents"), ("DLSW-MIB", "dlswCircuitDiscReasonRemoteData"), ("DLSW-MIB", "dlswCircuitFCHalveWndwRcvds"), ("DLSW-MIB", "dlswCircuitDiscReasonLocal"), ("DLSW-MIB", "dlswCircuitS2CircuitId"), ("DLSW-MIB", "dlswCircuitStateTime"), ("DLSW-MIB", "dlswCircuitS2Location"), ("DLSW-MIB", "dlswCircuitS1CircuitId"), ("DLSW-MIB", "dlswCircuitFCResetOpRcvds"), ("DLSW-MIB", "dlswCircuitFCResetOpSents"), ) ) if mibBuilder.loadTexts: dlswCircuitGroup.setDescription("Conformance group for DLSw circuits.") dlswSdlcGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 16)).setObjects(*(("DLSW-MIB", "dlswSdlcLsEntries"), ("DLSW-MIB", "dlswSdlcLsLocalIdBlock"), ("DLSW-MIB", "dlswSdlcLsLocalSap"), ("DLSW-MIB", "dlswSdlcLsLocalIdNum"), ("DLSW-MIB", "dlswSdlcLsRemoteMac"), ("DLSW-MIB", "dlswSdlcLsRemoteSap"), ("DLSW-MIB", "dlswSdlcLsLocalMac"), ("DLSW-MIB", "dlswSdlcLsRowStatus"), ) ) if mibBuilder.loadTexts: dlswSdlcGroup.setDescription("Conformance group for DLSw SDLC support.") dlswNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 46, 3, 2, 17)).setObjects(*(("DLSW-MIB", "dlswTrapCircuitUp"), ("DLSW-MIB", "dlswTrapTConnUp"), ("DLSW-MIB", "dlswTrapCircuitDown"), ("DLSW-MIB", "dlswTrapTConnPartnerReject"), ("DLSW-MIB", "dlswTrapTConnDown"), ("DLSW-MIB", "dlswTrapTConnProtViolation"), ) ) if mibBuilder.loadTexts: dlswNotificationGroup.setDescription("Conformance group for DLSw notifications.") # Compliances dlswCoreCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 46, 3, 1, 1)).setObjects(*(("DLSW-MIB", "dlswTConnNBGroup"), ("DLSW-MIB", "dlswCircuitGroup"), ("DLSW-MIB", "dlswCircuitStatGroup"), ("DLSW-MIB", "dlswTConnConfigGroup"), ("DLSW-MIB", "dlswNodeNBGroup"), ("DLSW-MIB", "dlswInterfaceGroup"), ("DLSW-MIB", "dlswNotificationGroup"), ("DLSW-MIB", "dlswTConnStatGroup"), ("DLSW-MIB", "dlswNodeGroup"), ("DLSW-MIB", "dlswTConnOperGroup"), ) ) if mibBuilder.loadTexts: dlswCoreCompliance.setDescription("The core compliance statement for all DLSw nodes.") dlswTConnTcpCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 46, 3, 1, 2)).setObjects(*(("DLSW-MIB", "dlswTConnTcpConfigGroup"), ("DLSW-MIB", "dlswTConnTcpOperGroup"), ) ) if mibBuilder.loadTexts: dlswTConnTcpCompliance.setDescription("Compliance for DLSw nodes that use TCP as a\ntransport connection protocol.") dlswDirCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 46, 3, 1, 3)).setObjects(*(("DLSW-MIB", "dlswDirNBGroup"), ("DLSW-MIB", "dlswDirGroup"), ) ) if mibBuilder.loadTexts: dlswDirCompliance.setDescription("Compliance for DLSw nodes that provide a directory\nfunction.") dlswDirLocateCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 46, 3, 1, 4)).setObjects(*(("DLSW-MIB", "dlswDirLocateGroup"), ("DLSW-MIB", "dlswDirLocateNBGroup"), ) ) if mibBuilder.loadTexts: dlswDirLocateCompliance.setDescription("Compliance for DLSw nodes that provide an ordered\nlist of directory entries for a given resource.") dlswSdlcCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 46, 3, 1, 5)).setObjects(*(("DLSW-MIB", "dlswSdlcGroup"), ) ) if mibBuilder.loadTexts: dlswSdlcCompliance.setDescription("Compliance for DLSw nodes that support SDLC.") # Exports # Module identity mibBuilder.exportSymbols("DLSW-MIB", PYSNMP_MODULE_ID=dlsw) # Types mibBuilder.exportSymbols("DLSW-MIB", DlcType=DlcType, DlswTCPAddress=DlswTCPAddress, EndStationLocation=EndStationLocation, LFSize=LFSize, MacAddressNC=MacAddressNC, NBName=NBName, TAddress=TAddress) # Objects mibBuilder.exportSymbols("DLSW-MIB", null=null, dlsw=dlsw, dlswMIB=dlswMIB, dlswTraps=dlswTraps, dlswNode=dlswNode, dlswNodeVersion=dlswNodeVersion, dlswNodeVendorID=dlswNodeVendorID, dlswNodeVersionString=dlswNodeVersionString, dlswNodeStdPacingSupport=dlswNodeStdPacingSupport, dlswNodeStatus=dlswNodeStatus, dlswNodeUpTime=dlswNodeUpTime, dlswNodeVirtualSegmentLFSize=dlswNodeVirtualSegmentLFSize, dlswNodeResourceNBExclusivity=dlswNodeResourceNBExclusivity, dlswNodeResourceMacExclusivity=dlswNodeResourceMacExclusivity, dlswTrapControl=dlswTrapControl, dlswTrapCntlTConnPartnerReject=dlswTrapCntlTConnPartnerReject, dlswTrapCntlTConnProtViolation=dlswTrapCntlTConnProtViolation, dlswTrapCntlTConn=dlswTrapCntlTConn, dlswTrapCntlCircuit=dlswTrapCntlCircuit, dlswTConn=dlswTConn, dlswTConnStat=dlswTConnStat, dlswTConnStatActiveConnections=dlswTConnStatActiveConnections, dlswTConnStatCloseIdles=dlswTConnStatCloseIdles, dlswTConnStatCloseBusys=dlswTConnStatCloseBusys, dlswTConnConfigTable=dlswTConnConfigTable, dlswTConnConfigEntry=dlswTConnConfigEntry, dlswTConnConfigIndex=dlswTConnConfigIndex, dlswTConnConfigTDomain=dlswTConnConfigTDomain, dlswTConnConfigLocalTAddr=dlswTConnConfigLocalTAddr, dlswTConnConfigRemoteTAddr=dlswTConnConfigRemoteTAddr, dlswTConnConfigLastModifyTime=dlswTConnConfigLastModifyTime, dlswTConnConfigEntryType=dlswTConnConfigEntryType, dlswTConnConfigGroupDefinition=dlswTConnConfigGroupDefinition, dlswTConnConfigSetupType=dlswTConnConfigSetupType, dlswTConnConfigSapList=dlswTConnConfigSapList, dlswTConnConfigAdvertiseMacNB=dlswTConnConfigAdvertiseMacNB, dlswTConnConfigInitCirRecvWndw=dlswTConnConfigInitCirRecvWndw, dlswTConnConfigOpens=dlswTConnConfigOpens, dlswTConnConfigRowStatus=dlswTConnConfigRowStatus, dlswTConnOperTable=dlswTConnOperTable, dlswTConnOperEntry=dlswTConnOperEntry, dlswTConnOperTDomain=dlswTConnOperTDomain, dlswTConnOperLocalTAddr=dlswTConnOperLocalTAddr, dlswTConnOperRemoteTAddr=dlswTConnOperRemoteTAddr, dlswTConnOperEntryTime=dlswTConnOperEntryTime, dlswTConnOperConnectTime=dlswTConnOperConnectTime, dlswTConnOperState=dlswTConnOperState, dlswTConnOperConfigIndex=dlswTConnOperConfigIndex, dlswTConnOperFlowCntlMode=dlswTConnOperFlowCntlMode, dlswTConnOperPartnerVersion=dlswTConnOperPartnerVersion, dlswTConnOperPartnerVendorID=dlswTConnOperPartnerVendorID, dlswTConnOperPartnerVersionStr=dlswTConnOperPartnerVersionStr, dlswTConnOperPartnerInitPacingWndw=dlswTConnOperPartnerInitPacingWndw, dlswTConnOperPartnerSapList=dlswTConnOperPartnerSapList, dlswTConnOperPartnerNBExcl=dlswTConnOperPartnerNBExcl, dlswTConnOperPartnerMacExcl=dlswTConnOperPartnerMacExcl, dlswTConnOperPartnerNBInfo=dlswTConnOperPartnerNBInfo, dlswTConnOperPartnerMacInfo=dlswTConnOperPartnerMacInfo, dlswTConnOperDiscTime=dlswTConnOperDiscTime, dlswTConnOperDiscReason=dlswTConnOperDiscReason, dlswTConnOperDiscActiveCir=dlswTConnOperDiscActiveCir, dlswTConnOperInDataPkts=dlswTConnOperInDataPkts, dlswTConnOperOutDataPkts=dlswTConnOperOutDataPkts, dlswTConnOperInDataOctets=dlswTConnOperInDataOctets, dlswTConnOperOutDataOctets=dlswTConnOperOutDataOctets, dlswTConnOperInCntlPkts=dlswTConnOperInCntlPkts, dlswTConnOperOutCntlPkts=dlswTConnOperOutCntlPkts, dlswTConnOperCURexSents=dlswTConnOperCURexSents, dlswTConnOperICRexRcvds=dlswTConnOperICRexRcvds, dlswTConnOperCURexRcvds=dlswTConnOperCURexRcvds, dlswTConnOperICRexSents=dlswTConnOperICRexSents, dlswTConnOperNQexSents=dlswTConnOperNQexSents, dlswTConnOperNRexRcvds=dlswTConnOperNRexRcvds, dlswTConnOperNQexRcvds=dlswTConnOperNQexRcvds, dlswTConnOperNRexSents=dlswTConnOperNRexSents, dlswTConnOperCirCreates=dlswTConnOperCirCreates, dlswTConnOperCircuits=dlswTConnOperCircuits, dlswTConnSpecific=dlswTConnSpecific, dlswTConnTcp=dlswTConnTcp, dlswTConnTcpConfigTable=dlswTConnTcpConfigTable, dlswTConnTcpConfigEntry=dlswTConnTcpConfigEntry, dlswTConnTcpConfigKeepAliveInt=dlswTConnTcpConfigKeepAliveInt, dlswTConnTcpConfigTcpConnections=dlswTConnTcpConfigTcpConnections, dlswTConnTcpConfigMaxSegmentSize=dlswTConnTcpConfigMaxSegmentSize, dlswTConnTcpOperTable=dlswTConnTcpOperTable, dlswTConnTcpOperEntry=dlswTConnTcpOperEntry, dlswTConnTcpOperKeepAliveInt=dlswTConnTcpOperKeepAliveInt, dlswTConnTcpOperPrefTcpConnections=dlswTConnTcpOperPrefTcpConnections, dlswTConnTcpOperTcpConnections=dlswTConnTcpOperTcpConnections, dlswInterface=dlswInterface, dlswIfTable=dlswIfTable, dlswIfEntry=dlswIfEntry, dlswIfRowStatus=dlswIfRowStatus, dlswIfVirtualSegment=dlswIfVirtualSegment, dlswIfSapList=dlswIfSapList, dlswDirectory=dlswDirectory, dlswDirStat=dlswDirStat, dlswDirMacEntries=dlswDirMacEntries, dlswDirMacCacheHits=dlswDirMacCacheHits, dlswDirMacCacheMisses=dlswDirMacCacheMisses, dlswDirMacCacheNextIndex=dlswDirMacCacheNextIndex, dlswDirNBEntries=dlswDirNBEntries, dlswDirNBCacheHits=dlswDirNBCacheHits, dlswDirNBCacheMisses=dlswDirNBCacheMisses, dlswDirNBCacheNextIndex=dlswDirNBCacheNextIndex, dlswDirCache=dlswDirCache, dlswDirMacTable=dlswDirMacTable, dlswDirMacEntry=dlswDirMacEntry, dlswDirMacIndex=dlswDirMacIndex, dlswDirMacMac=dlswDirMacMac, dlswDirMacMask=dlswDirMacMask, dlswDirMacEntryType=dlswDirMacEntryType, dlswDirMacLocationType=dlswDirMacLocationType, dlswDirMacLocation=dlswDirMacLocation, dlswDirMacStatus=dlswDirMacStatus, dlswDirMacLFSize=dlswDirMacLFSize, dlswDirMacRowStatus=dlswDirMacRowStatus, dlswDirNBTable=dlswDirNBTable, dlswDirNBEntry=dlswDirNBEntry, dlswDirNBIndex=dlswDirNBIndex, dlswDirNBName=dlswDirNBName, dlswDirNBNameType=dlswDirNBNameType, dlswDirNBEntryType=dlswDirNBEntryType, dlswDirNBLocationType=dlswDirNBLocationType, dlswDirNBLocation=dlswDirNBLocation, dlswDirNBStatus=dlswDirNBStatus) mibBuilder.exportSymbols("DLSW-MIB", dlswDirNBLFSize=dlswDirNBLFSize, dlswDirNBRowStatus=dlswDirNBRowStatus, dlswDirLocate=dlswDirLocate, dlswDirLocateMacTable=dlswDirLocateMacTable, dlswDirLocateMacEntry=dlswDirLocateMacEntry, dlswDirLocateMacMac=dlswDirLocateMacMac, dlswDirLocateMacMatch=dlswDirLocateMacMatch, dlswDirLocateMacLocation=dlswDirLocateMacLocation, dlswDirLocateNBTable=dlswDirLocateNBTable, dlswDirLocateNBEntry=dlswDirLocateNBEntry, dlswDirLocateNBName=dlswDirLocateNBName, dlswDirLocateNBMatch=dlswDirLocateNBMatch, dlswDirLocateNBLocation=dlswDirLocateNBLocation, dlswCircuit=dlswCircuit, dlswCircuitStat=dlswCircuitStat, dlswCircuitStatActives=dlswCircuitStatActives, dlswCircuitStatCreates=dlswCircuitStatCreates, dlswCircuitTable=dlswCircuitTable, dlswCircuitEntry=dlswCircuitEntry, dlswCircuitS1Mac=dlswCircuitS1Mac, dlswCircuitS1Sap=dlswCircuitS1Sap, dlswCircuitS1IfIndex=dlswCircuitS1IfIndex, dlswCircuitS1DlcType=dlswCircuitS1DlcType, dlswCircuitS1RouteInfo=dlswCircuitS1RouteInfo, dlswCircuitS1CircuitId=dlswCircuitS1CircuitId, dlswCircuitS1Dlc=dlswCircuitS1Dlc, dlswCircuitS2Mac=dlswCircuitS2Mac, dlswCircuitS2Sap=dlswCircuitS2Sap, dlswCircuitS2Location=dlswCircuitS2Location, dlswCircuitS2TDomain=dlswCircuitS2TDomain, dlswCircuitS2TAddress=dlswCircuitS2TAddress, dlswCircuitS2CircuitId=dlswCircuitS2CircuitId, dlswCircuitOrigin=dlswCircuitOrigin, dlswCircuitEntryTime=dlswCircuitEntryTime, dlswCircuitStateTime=dlswCircuitStateTime, dlswCircuitState=dlswCircuitState, dlswCircuitPriority=dlswCircuitPriority, dlswCircuitFCSendGrantedUnits=dlswCircuitFCSendGrantedUnits, dlswCircuitFCSendCurrentWndw=dlswCircuitFCSendCurrentWndw, dlswCircuitFCRecvGrantedUnits=dlswCircuitFCRecvGrantedUnits, dlswCircuitFCRecvCurrentWndw=dlswCircuitFCRecvCurrentWndw, dlswCircuitFCLargestRecvGranted=dlswCircuitFCLargestRecvGranted, dlswCircuitFCLargestSendGranted=dlswCircuitFCLargestSendGranted, dlswCircuitFCHalveWndwSents=dlswCircuitFCHalveWndwSents, dlswCircuitFCResetOpSents=dlswCircuitFCResetOpSents, dlswCircuitFCHalveWndwRcvds=dlswCircuitFCHalveWndwRcvds, dlswCircuitFCResetOpRcvds=dlswCircuitFCResetOpRcvds, dlswCircuitDiscReasonLocal=dlswCircuitDiscReasonLocal, dlswCircuitDiscReasonRemote=dlswCircuitDiscReasonRemote, dlswCircuitDiscReasonRemoteData=dlswCircuitDiscReasonRemoteData, dlswSdlc=dlswSdlc, dlswSdlcLsEntries=dlswSdlcLsEntries, dlswSdlcLsTable=dlswSdlcLsTable, dlswSdlcLsEntry=dlswSdlcLsEntry, dlswSdlcLsLocalMac=dlswSdlcLsLocalMac, dlswSdlcLsLocalSap=dlswSdlcLsLocalSap, dlswSdlcLsLocalIdBlock=dlswSdlcLsLocalIdBlock, dlswSdlcLsLocalIdNum=dlswSdlcLsLocalIdNum, dlswSdlcLsRemoteMac=dlswSdlcLsRemoteMac, dlswSdlcLsRemoteSap=dlswSdlcLsRemoteSap, dlswSdlcLsRowStatus=dlswSdlcLsRowStatus, dlswDomains=dlswDomains, dlswTCPDomain=dlswTCPDomain, dlswConformance=dlswConformance, dlswCompliances=dlswCompliances, dlswGroups=dlswGroups) # Notifications mibBuilder.exportSymbols("DLSW-MIB", dlswTrapTConnPartnerReject=dlswTrapTConnPartnerReject, dlswTrapTConnProtViolation=dlswTrapTConnProtViolation, dlswTrapTConnUp=dlswTrapTConnUp, dlswTrapTConnDown=dlswTrapTConnDown, dlswTrapCircuitUp=dlswTrapCircuitUp, dlswTrapCircuitDown=dlswTrapCircuitDown) # Groups mibBuilder.exportSymbols("DLSW-MIB", dlswNodeGroup=dlswNodeGroup, dlswNodeNBGroup=dlswNodeNBGroup, dlswTConnStatGroup=dlswTConnStatGroup, dlswTConnConfigGroup=dlswTConnConfigGroup, dlswTConnOperGroup=dlswTConnOperGroup, dlswTConnNBGroup=dlswTConnNBGroup, dlswTConnTcpConfigGroup=dlswTConnTcpConfigGroup, dlswTConnTcpOperGroup=dlswTConnTcpOperGroup, dlswInterfaceGroup=dlswInterfaceGroup, dlswDirGroup=dlswDirGroup, dlswDirNBGroup=dlswDirNBGroup, dlswDirLocateGroup=dlswDirLocateGroup, dlswDirLocateNBGroup=dlswDirLocateNBGroup, dlswCircuitStatGroup=dlswCircuitStatGroup, dlswCircuitGroup=dlswCircuitGroup, dlswSdlcGroup=dlswSdlcGroup, dlswNotificationGroup=dlswNotificationGroup) # Compliances mibBuilder.exportSymbols("DLSW-MIB", dlswCoreCompliance=dlswCoreCompliance, dlswTConnTcpCompliance=dlswTConnTcpCompliance, dlswDirCompliance=dlswDirCompliance, dlswDirLocateCompliance=dlswDirLocateCompliance, dlswSdlcCompliance=dlswSdlcCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/T11-FC-NAME-SERVER-MIB.py0000644000014400001440000011037411736645140022013 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python T11-FC-NAME-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( FcAddressIdOrZero, FcClasses, FcNameIdOrZero, FcPortType, fcmInstanceIndex, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcAddressIdOrZero", "FcClasses", "FcNameIdOrZero", "FcPortType", "fcmInstanceIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TimeStamp", "TruthValue") ( t11FamLocalSwitchWwn, ) = mibBuilder.importSymbols("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn") ( T11FabricIndex, ) = mibBuilder.importSymbols("T11-TC-MIB", "T11FabricIndex") # Types class T11NsGs4RejectReasonCode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,1,12,5,6,10,4,11,2,8,3,7,) namedValues = NamedValues(("none", 1), ("serverNotAvailable", 10), ("couldNotEstabSession", 11), ("vendorError", 12), ("invalidCmdCode", 2), ("invalidVerLevel", 3), ("logicalError", 4), ("invalidIUSize", 5), ("logicalBusy", 6), ("protocolError", 7), ("unableToPerformCmdReq", 8), ("cmdNotSupported", 9), ) class T11NsRejReasonCodeExpl(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(22,3,16,23,11,19,13,24,4,21,20,12,15,7,8,14,1,26,9,5,6,25,10,18,2,17,) namedValues = NamedValues(("noAdditionalExplanation", 1), ("symbolicNodeNameNotRegistered", 10), ("portTypeNotRegistered", 11), ("portIpAddressNotRegistered", 12), ("fabricPortNameNotRegistered", 13), ("hardAddressNotRegistered", 14), ("fc4DescriptorNotRegistered", 15), ("fc4FeaturesNotRegistered", 16), ("accessDenied", 17), ("unacceptablePortIdentifier", 18), ("databaseEmpty", 19), ("portIdentifierNotRegistered", 2), ("noObjectRegInSpecifiedScope", 20), ("domainIdNotPresent", 21), ("portIdNotPresent", 22), ("noDeviceAttached", 23), ("authorizationException", 24), ("authenticationException", 25), ("databaseFull", 26), ("portNameNotRegistered", 3), ("nodeNameNotRegistered", 4), ("classOfServiceNotRegistered", 5), ("nodeIpAddressNotRegistered", 6), ("ipaNotRegistered", 7), ("fc4TypeNotRegistered", 8), ("symbolicPortNameNotRegistered", 9), ) # Objects t11FcNameServerMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 135)).setRevisions(("2006-03-02 00:00",)) if mibBuilder.loadTexts: t11FcNameServerMIB.setOrganization("T11") if mibBuilder.loadTexts: t11FcNameServerMIB.setContactInfo(" Claudio DeSanti\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134 USA\nPhone: +1 408 853-9172\nEMail: cds@cisco.com\n\nKeith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA USA 95134\nPhone: +1 408-526-5260\nEMail: kzm@cisco.com") if mibBuilder.loadTexts: t11FcNameServerMIB.setDescription("The MIB module for the management of the functionality,\nwhich realizes the FC-GS-4 requirements for Name\nServer (NS).\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4438; see the RFC itself for\nfull legal notices.") t11NsNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 135, 0)) t11NsMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 135, 1)) t11NsStatus = MibIdentifier((1, 3, 6, 1, 2, 1, 135, 1, 1)) t11NsInfoSubsetTable = MibTable((1, 3, 6, 1, 2, 1, 135, 1, 1, 1)) if mibBuilder.loadTexts: t11NsInfoSubsetTable.setDescription("This table contains one entry for each Name Server\nInformation Subset within each Fibre Channel\nmanagement instance.") t11NsInfoSubsetEntry = MibTableRow((1, 3, 6, 1, 2, 1, 135, 1, 1, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetIndex")) if mibBuilder.loadTexts: t11NsInfoSubsetEntry.setDescription("This entry contains information about operations\non a particular Name Server Information Subset\nwithin the Fibre Channel management instance\nidentified by fcmInstanceIndex.") t11NsInfoSubsetIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11NsInfoSubsetIndex.setDescription("An arbitrary integer value that uniquely identifies\nthis Name Server Information Subset amongst all others\nwithin the same Fibre Channel management instance.\n\nIt is mandatory to keep this value constant between\nrestarts of the agent and to make every possible\neffort to keep it constant across such restarts.") t11NsInfoSubsetSwitchIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInfoSubsetSwitchIndex.setDescription("The value of this object is zero when operations\nupon this Name Server Information Subset do not occur\nat a local Fibre Channel switch; otherwise, it is\nnon-zero and identifies the local switch.\n\nThe switch identified by a non-zero value of this\nobject is the same switch as is identified by the\nsame value of fcmSwitchIndex.") t11NsInfoSubsetTableLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 1, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInfoSubsetTableLastChange.setDescription("The value of sysUpTime at the time of the last update\nto any entry in the t11NsRegTable with the same values\nof fcmInstanceIndex and t11NsInfoSubsetIndex. This\nincludes creation of an entry, deletion of an entry, or\nmodification of an existing entry. If no such update\nhas taken place since the last re-initialization of the\nlocal network management subsystem, then this object\ncontains a zero value.") t11NsInfoSubsetNumRows = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInfoSubsetNumRows.setDescription("The number of Nx_Ports currently registered in this\n\n\n\nName Server Information Subset, i.e., the number of\nrows in the t11NsRegTable with the same values of\nfcmInstanceIndex and t11NsInfoSubsetIndex.") t11NsInfoSubsetTotalRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInfoSubsetTotalRejects.setDescription("The total number of (CT_IU) Requests for Name Server\nfunctions that were rejected for inclusion in this\nName Server Information Subset, across all Fabrics\nfor which it contains information.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11NsInfoSubsetRejReqNotfyEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 1, 1, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: t11NsInfoSubsetRejReqNotfyEnable.setDescription("This object indicates whether 't11NsRejectRegNotify'\nnotifications are generated by rejections of requests\nto register information in this Name Server Information\nSubset.\n\nIf value of this object is 'true', then the\nnotification is generated when a request is rejected.\nIf it is 'false', the notification is not generated.\n\nThe persistence of values of this object across an\nagent reboot is implementation-dependent.") t11NsRegTable = MibTable((1, 3, 6, 1, 2, 1, 135, 1, 1, 2)) if mibBuilder.loadTexts: t11NsRegTable.setDescription("This table contains entries for all Nx_Ports registered\n\n\n\nin the identified Name Server Information Subsets across\nall Fabrics for which such subsets contain information.") t11NsRegEntry = MibTableRow((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegFabricIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegPortIdentifier")) if mibBuilder.loadTexts: t11NsRegEntry.setDescription("An entry containing information about an Nx_Port\nrepresented by t11NsRegPortIdentifier that is registered\nwith a Name Server Information Subset (identified by\nt11NsInfoSubsetIndex) within the Fibre Channel management\ninstance (identified by fcmInstanceIndex) on the Fabric\n(identified by t11NsRegFabricIndex).") t11NsRegFabricIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 1), T11FabricIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11NsRegFabricIndex.setDescription("A unique index value that uniquely identifies a\nparticular Fabric.\n\nIn a Fabric conformant to SW-3, only a single Fabric can\noperate within a single physical infrastructure, and thus,\nthe value of this Fabric Index will always be 1.\n\n\n\nHowever, it is possible that future standards will define\nhow multiple Fabrics, each with its own management\ninstrumentation, could operate within one (or more) physical\ninfrastructures. To allow for this future possibility, this\nindex value is used to uniquely identify a particular\nFabric within a physical infrastructure.") t11NsRegPortIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 2), FcAddressIdOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11NsRegPortIdentifier.setDescription("The Fibre Channel Address Identifier of this Nx_Port.\nIf no Port Identifier has been registered, then the\nvalue of this object is the zero-length string.") t11NsRegPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 3), FcNameIdOrZero().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegPortName.setDescription("The Port_Name (WWN) of this Nx_Port.\nIf this object has not been registered, then its value\nis the zero-length string.") t11NsRegNodeName = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 4), FcNameIdOrZero().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegNodeName.setDescription("The Node_Name (WWN) of this Nx_Port.\nIf this object has not been registered, then its value\nis the zero-length string.") t11NsRegClassOfSvc = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 5), FcClasses()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegClassOfSvc.setDescription("The class of service indicator. This object is an\narray of bits that contain a bit map of the classes of\nservice supported by the associated port. If a bit in\n\n\n\nthis object is 1, it indicates that the class of\nservice is supported by the associated port. When a\nbit is set to 0, it indicates that no class of service\nis supported by this Nx_Port.\n\nIf this object has not been not registered for a port,\nthen the instance for that port is not instantiated.") t11NsRegNodeIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 6), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(16,16),)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegNodeIpAddress.setDescription("The IP address of the node of this Nx_Port, in\nnetwork-byte order, either as a 32-bit IPv4 address or\na 128-bit IPv6 address. For the former, the leftmost 96 bits\n(12 bytes) should contain x'00 00 00 00 00 00 00 00 00 00 FF\nFF', and the IPv4 address should be present in the rightmost\n32 bits.\n\nNote that the value of this object is the IP address value\nthat is received in the FC-GS-4 message Register IP address\n(Node) RIP_NN. It is not validated against any IP address\nformat.\n\nIf no 'IP address (Node)' has been registered, then the\nvalue of this object is the zero-length string.") t11NsRegProcAssoc = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 7), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegProcAssoc.setDescription("The Fibre Channel Initial Process Associator (IPA).\n\nIf no 'Initial Process Associator' has been registered,\nthen the value of this object is the zero-length string.") t11NsRegFc4Type = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 8), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(32,32),)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegFc4Type.setDescription("The FC-4 protocol types supported by this Nx_Port.\nThis is an array of 256 bits. Each bit in the array\ncorresponds to a Type value as defined by Fibre Channel\nstandards and contained in the Type field of the frame\nheader. The order of the bits in the 256-bit (32-byte)\nvalue is the same as defined in FC-GS-4, section 5.2.3.8,\nand represented in network-byte order.\n\nIf no 'FC-4 TYPEs' has been registered, then the\nvalue of this object is the zero-length string.") t11NsRegPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 9), FcPortType().clone('1')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegPortType.setDescription("The port type of this port.\n\nIf no 'Port Type' has been registered, then the value\nof this object is unidentified and is represented by\nthe value 'unknown'.") t11NsRegPortIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 10), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(16,16),)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegPortIpAddress.setDescription("The value that Fibre Channel calls an 'IP Address (Port)'\nthat represents the IP address of the associated port.\nThe value is either in 32-bit IPv4 format or 128-bit IPv6\nformat, in network-byte order. When this object contains an\nIPv4 address, the leftmost 96 bits (12 bytes) should contain\nx'00 00 00 00 00 00 00 00 00 00 FF FF'. The IPv4 address\nshould be present in the rightmost 32 bits.\n\nNote that the value of this object is the IP address value\n\n\n\nthat is received in the FC-GS-4 message Register IP address\n(Port) RIPP_ID. It is not validated against any IP address\nformat.\n\nIf no 'IP address (Port)' has been registered, then the\nvalue of this object is the zero-length string.") t11NsRegFabricPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 11), FcNameIdOrZero().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegFabricPortName.setDescription("The Fabric Port Name (WWN) of the Fx_Port to which\nthis Nx_Port is attached.\n\nIf no 'Fabric Port Name' has been registered, then the\nvalue of this object is the zero-length string.") t11NsRegHardAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 12), FcAddressIdOrZero().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegHardAddress.setDescription("The format of this object is identical to the format\nof Hard Address defined in the Discover Address (ADISC)\nExtended Link Service (FC-FS).\n\nHard Address is the 24-bit NL_Port identifier that\nconsists of:\n - the 8-bit Domain_ID in the most significant byte\n - the 8-bit Area_ID in the next most significant\n byte\n - the 8-bit AL-PA (Arbitrated Loop Physical Address)\n which an NL_Port attempts acquire during FC-AL\n initialization in the least significant byte.\n\nIf the port is not an NL_Port, or if it is an NL_Port\nbut does not have a hard address, then all bits are\nreported as zeros.\n\nIf no 'Hard Address' has been registered, then the\n\n\n\nvalue of this object is the zero-length string.") t11NsRegSymbolicPortName = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 13), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegSymbolicPortName.setDescription("The user-defined name of this port.\n\nIf no 'Symbolic Port Name' has been registered, then\nthe value of this object is the zero-length string.") t11NsRegSymbolicNodeName = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 14), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 255)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegSymbolicNodeName.setDescription("The user-defined name of the node of this port.\n\nIf no 'Symbolic Node Name' has been registered, then\nthe value of this object is the zero-length string.") t11NsRegFc4Features = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 2, 1, 15), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(128,128),)).clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegFc4Features.setDescription("The FC-4 Features associated with FC-4 Types on this\nport encoded as a 128-byte value in network-byte order,\nor the zero-length string if no 'FC-4 Features' have been\nregistered.\n\nSection 5.2.3.15 of FC-GS-4 is the authoritative\ndefinition of the format of the 128-byte value,\ni.e., if different, FC-GS-4 takes precedence over the\nfollowing description:\n\nThe 128-byte value is an array of 4-bit values, one for\neach FC-4 Type value, positioned as follows: the 5 most\nsignificant bits of a Type value identify where it appears\nwithin the 128-byte value, specifically, within which word:\n\n\n\n - Word 0 (of the 128-byte value) contains information\n related to Types '00' through '07';\n - Word 1 contains information related to Types\n '08' through 0F';\n - and so forth, up to Word 31, which contains\n information related to Types 'F8' through 'FF'.\n\nThe least significant of the eight 4-bit values in each\nWord represents an FC-4 Type with 000 as its 3 least\nsignificant bits, and most significant 4-bit value in\neach Word represents an FC-4 Type with 111 as its 3 least\nsignificant bits.") t11NsRegFc4DescriptorTable = MibTable((1, 3, 6, 1, 2, 1, 135, 1, 1, 3)) if mibBuilder.loadTexts: t11NsRegFc4DescriptorTable.setDescription("This table contains entries for all FC-4 Descriptors\nregistered in the identified Name Server Information\nSubsets across all Fabrics for which such subsets\ncontain information.") t11NsRegFc4DescriptorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 135, 1, 1, 3, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegFabricIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegPortIdentifier"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegFc4TypeValue")) if mibBuilder.loadTexts: t11NsRegFc4DescriptorEntry.setDescription("An entry in the t11NsRegFc4DescriptorTable,\ncontaining information about an FC-4 Descriptor\nthat is associated with a particular FC-4 Type\nvalue. The particular FC-4 Descriptor was\nregistered by an Nx_Port (identified by\nt11NsRegPortIdentifier) in a Name Server Information\nSubset (identified by t11NsInfoSubsetIndex) within\nthe Fibre Channel management instance (identified by\nfcmInstanceIndex) on the Fabric (identified by\n\n\n\nt11NsRegFabricIndex).\n\nIf no FC-4 Descriptors have been registered\nfor a particular port, then there will be no\nentries in this table for that port.") t11NsRegFc4TypeValue = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("noaccess") if mibBuilder.loadTexts: t11NsRegFc4TypeValue.setDescription("An integer value that identifies an FC-4 Type value\n(representing a particular protocol type, as specified\nin FC-FS) for which an FC-4 Descriptor has been\nregistered.\n\nAn instance of this object contains a 'Type value'\nthat corresponds to a '1' bit in the value of the\nt11NsRegFc4Type registered for the same port;\nthis correspondence is as specified in FC-GS-4.") t11NsRegFc4Descriptor = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRegFc4Descriptor.setDescription("The FC-4 Descriptor value that has been registered\nfor the particular port on the particular Fabric, and\nfor the FC-4 Type represented by the corresponding\nvalue of t11NsRegFc4TypeIndex.\n\nThe format of an FC-4 Descriptor is dependent on the\ncorresponding FC-4 Type value, but is represented in\n\n\n\nnetwork-byte order.") t11NsRejectTable = MibTable((1, 3, 6, 1, 2, 1, 135, 1, 1, 4)) if mibBuilder.loadTexts: t11NsRejectTable.setDescription("This table contains information about the most recent\nName Server Registration Request failures for various\nports on various Fabrics.\n\nIf no information is available about the most recent\nrejection of a Registration Request on a particular port\non a particular Fabric, then there will no entry in this\ntable for that port and Fabric.\n\nWhen a t11NsRejectRegNotify notification is sent for\nsuch a Registration Request failure, the values of the\nobjects in the relevant entry of this table are updated\nimmediately prior to generating the notification.") t11NsRejectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 135, 1, 1, 4, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegFabricIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegPortIdentifier")) if mibBuilder.loadTexts: t11NsRejectEntry.setDescription("An entry containing information about the most recent\nrejection of a request to register information in the Name\nServer Information Subset (identified by\nt11NsInfoSubsetIndex) within the Fibre Channel management\ninstance (identified by fcmInstanceIndex) for a particular\nport (identified by t11NsRegPortIdentifier) on a particular\nFabric (identified by t11NsRegFabricIndex).") t11NsRejectCtCommandString = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 4, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRejectCtCommandString.setDescription("The binary content of the Registration Request,\nformatted as an octet string (in network byte\norder) containing the CT_IU, as described in\nTable 2 of [FC-GS-4] (including the preamble),\nwhich was most recently rejected for the particular\nName Server Information Subset on the particular port\non the particular Fabric.\n\nThis object contains the zero-length string\nif and when the CT-IU's content is unavailable.\n\nWhen the length of this object is 255 octets, it\ncontains the first 255 octets of the CT-IU (in\nnetwork-byte order).") t11NsRejectReasonCode = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 4, 1, 2), T11NsGs4RejectReasonCode()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRejectReasonCode.setDescription("A registration reject reason code. This object\ncontains the reason code of the most recent Name\nServer Registration Request failure for the\nparticular port on the particular Fabric.") t11NsRejReasonCodeExp = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 4, 1, 3), T11NsRejReasonCodeExpl()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRejReasonCodeExp.setDescription("A registration reject reason code explanation. This\nobject contains the reason code explanation of the most\nrecent Name Server Registration Request failure for the\nparticular port on the particular Fabric.") t11NsRejReasonVendorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 1, 4, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRejReasonVendorCode.setDescription("A registration reject vendor-specific code. This\nobject contains the vendor-specific code of the most\nrecent Name Server Registration Request failure for the\nparticular port on the particular Fabric.") t11NsStatistics = MibIdentifier((1, 3, 6, 1, 2, 1, 135, 1, 2)) t11NsStatsTable = MibTable((1, 3, 6, 1, 2, 1, 135, 1, 2, 1)) if mibBuilder.loadTexts: t11NsStatsTable.setDescription("This table contains per-Fabric state and statistics\nfor operations upon the identified Name Server\nInformation Subsets.") t11NsStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1)).setIndexNames((0, "FC-MGMT-MIB", "fcmInstanceIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetIndex"), (0, "T11-FC-NAME-SERVER-MIB", "t11NsRegFabricIndex")) if mibBuilder.loadTexts: t11NsStatsEntry.setDescription("An entry in this table contains state and statistics\nfor operations upon a Name Server Information Subset\n(identified by t11NsInfoSubsetIndex) within the Fibre\nChannel management instance (identified by\nfcmInstanceIndex) on the Fabric (identified by\nt11NsRegFabricIndex).") t11NsInGetReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInGetReqs.setDescription("The total number of (CT_IU) Get Requests\nreceived requesting information from this Name\nServer Information Subset on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11NsOutGetReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsOutGetReqs.setDescription("The total number of (CT_IU) Get Requests sent in\norder to obtain information needed in this Name Server\nInformation Subset on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11NsInRegReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInRegReqs.setDescription("The total number of (CT_IU) Registration Requests\nreceived to register information in the Name Server\nInformation Subset on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11NsInDeRegReqs = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInDeRegReqs.setDescription("The total number of (CT_IU) De-registration Requests\nreceived to de-register information from this Name Server\nInformation Subset on this Fabric.\n\nThis counter has no discontinuities other than those\n\n\n\nthat all Counter32s have when sysUpTime=0.") t11NsInRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsInRscns.setDescription("The total number of received RSCNs, indicating\nName Server-related changes relating to this Name\nServer Information Subset on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11NsOutRscns = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsOutRscns.setDescription("The total number of transmitted RSCNs, indicating\nName Server-related changes relating to this Name\nServer Information Subset on this Fabric.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11NsRejects = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsRejects.setDescription("The total number of CT_IU Requests for Name\nServer functions on this Name Server Information\nSubset on this Fabric that were rejected.\n\nThis counter has no discontinuities other than those\nthat all Counter32s have when sysUpTime=0.") t11NsDatabaseFull = MibTableColumn((1, 3, 6, 1, 2, 1, 135, 1, 2, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: t11NsDatabaseFull.setDescription("An indication of whether the database containing this\n\n\n\nName Server Information Subset is full. This object is\nset to 'true' only if the Name Server is unable to allocate\nspace for a new entry for the corresponding Fabric, and it is\nset to 'false' whenever an existing entry is deleted for the\ncorresponding Fabric.") t11NsMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 135, 2)) t11NsMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 135, 2, 1)) t11NsMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 135, 2, 2)) # Augmentions # Notifications t11NsRejectRegNotify = NotificationType((1, 3, 6, 1, 2, 1, 135, 0, 1)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsRegPortName"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejReasonCodeExp"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejectReasonCode"), ("T11-FC-FABRIC-ADDR-MGR-MIB", "t11FamLocalSwitchWwn"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejectCtCommandString"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejReasonVendorCode"), ) ) if mibBuilder.loadTexts: t11NsRejectRegNotify.setDescription("This notification is generated whenever a request to\nregister information in a Name Server Information\nSubset (for which the corresponding instance of\nt11NsInfoSubsetRejReqNotfyEnable is 'true') is\nrejected on a particular Fabric for a particular Nx_Port.\n\nThe value of t11FamLocalSwitchWwn indicates the\nWWN of the switch that received the request.\n(If the WWN is unavailable, the value is set to\nthe zero-length string.)\n\nThe value of t11NsRejectCtCommandString indicates\nthe rejected request, and the values of\nt11NsRejectReasonCode, t11NsRejReasonCodeExp, and\nt11NsRejReasonVendorCode indicate the reason for\nthe rejection.\n\nThe value of t11NsRegPortName represents the Port Name\nif it is able to be extracted out of the Registration\nRequest, or otherwise the value as currently registered\non the port.") # Groups t11NsDBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 135, 2, 2, 1)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsRegFc4Features"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegProcAssoc"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegPortType"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegSymbolicPortName"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegPortName"), ("T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetSwitchIndex"), ("T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetNumRows"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegHardAddress"), ("T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetTableLastChange"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegClassOfSvc"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegPortIpAddress"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegSymbolicNodeName"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegFc4Descriptor"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegFc4Type"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegNodeIpAddress"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegNodeName"), ("T11-FC-NAME-SERVER-MIB", "t11NsRegFabricPortName"), ) ) if mibBuilder.loadTexts: t11NsDBGroup.setDescription("A collection of objects for monitoring the information\nregistered in a Name Server Information Subset.") t11NsRequestStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 135, 2, 2, 2)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsInRegReqs"), ("T11-FC-NAME-SERVER-MIB", "t11NsOutGetReqs"), ("T11-FC-NAME-SERVER-MIB", "t11NsInDeRegReqs"), ("T11-FC-NAME-SERVER-MIB", "t11NsDatabaseFull"), ("T11-FC-NAME-SERVER-MIB", "t11NsInGetReqs"), ) ) if mibBuilder.loadTexts: t11NsRequestStatsGroup.setDescription("A collection of objects for displaying Name\nServer statistics and state for Name Server requests.") t11NsRscnStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 135, 2, 2, 3)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsInRscns"), ("T11-FC-NAME-SERVER-MIB", "t11NsOutRscns"), ) ) if mibBuilder.loadTexts: t11NsRscnStatsGroup.setDescription("A collection of objects for displaying Name\nServer statistics for Name Server-related RSCNs.") t11NsRejectStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 135, 2, 2, 4)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetTotalRejects"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejects"), ) ) if mibBuilder.loadTexts: t11NsRejectStatsGroup.setDescription("A collection of objects for displaying Name\nServer statistics for rejects.") t11NsNotifyControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 135, 2, 2, 5)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsRejectReasonCode"), ("T11-FC-NAME-SERVER-MIB", "t11NsInfoSubsetRejReqNotfyEnable"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejReasonCodeExp"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejReasonVendorCode"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejectCtCommandString"), ) ) if mibBuilder.loadTexts: t11NsNotifyControlGroup.setDescription("A collection of notification control and\nnotification information objects for monitoring\nrejections of Name Server registrations.") t11NsNotifyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 135, 2, 2, 6)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsRejectRegNotify"), ) ) if mibBuilder.loadTexts: t11NsNotifyGroup.setDescription("A collection of notifications for monitoring\nrejections of Name Server registrations.") # Compliances t11NsMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 135, 2, 1, 1)).setObjects(*(("T11-FC-NAME-SERVER-MIB", "t11NsDBGroup"), ("T11-FC-NAME-SERVER-MIB", "t11NsNotifyGroup"), ("T11-FC-NAME-SERVER-MIB", "t11NsRscnStatsGroup"), ("T11-FC-NAME-SERVER-MIB", "t11NsRequestStatsGroup"), ("T11-FC-NAME-SERVER-MIB", "t11NsNotifyControlGroup"), ("T11-FC-NAME-SERVER-MIB", "t11NsRejectStatsGroup"), ) ) if mibBuilder.loadTexts: t11NsMIBCompliance.setDescription("The compliance statement for entities that\nimplement the Fibre Channel Name Server.") # Exports # Module identity mibBuilder.exportSymbols("T11-FC-NAME-SERVER-MIB", PYSNMP_MODULE_ID=t11FcNameServerMIB) # Types mibBuilder.exportSymbols("T11-FC-NAME-SERVER-MIB", T11NsGs4RejectReasonCode=T11NsGs4RejectReasonCode, T11NsRejReasonCodeExpl=T11NsRejReasonCodeExpl) # Objects mibBuilder.exportSymbols("T11-FC-NAME-SERVER-MIB", t11FcNameServerMIB=t11FcNameServerMIB, t11NsNotifications=t11NsNotifications, t11NsMIBObjects=t11NsMIBObjects, t11NsStatus=t11NsStatus, t11NsInfoSubsetTable=t11NsInfoSubsetTable, t11NsInfoSubsetEntry=t11NsInfoSubsetEntry, t11NsInfoSubsetIndex=t11NsInfoSubsetIndex, t11NsInfoSubsetSwitchIndex=t11NsInfoSubsetSwitchIndex, t11NsInfoSubsetTableLastChange=t11NsInfoSubsetTableLastChange, t11NsInfoSubsetNumRows=t11NsInfoSubsetNumRows, t11NsInfoSubsetTotalRejects=t11NsInfoSubsetTotalRejects, t11NsInfoSubsetRejReqNotfyEnable=t11NsInfoSubsetRejReqNotfyEnable, t11NsRegTable=t11NsRegTable, t11NsRegEntry=t11NsRegEntry, t11NsRegFabricIndex=t11NsRegFabricIndex, t11NsRegPortIdentifier=t11NsRegPortIdentifier, t11NsRegPortName=t11NsRegPortName, t11NsRegNodeName=t11NsRegNodeName, t11NsRegClassOfSvc=t11NsRegClassOfSvc, t11NsRegNodeIpAddress=t11NsRegNodeIpAddress, t11NsRegProcAssoc=t11NsRegProcAssoc, t11NsRegFc4Type=t11NsRegFc4Type, t11NsRegPortType=t11NsRegPortType, t11NsRegPortIpAddress=t11NsRegPortIpAddress, t11NsRegFabricPortName=t11NsRegFabricPortName, t11NsRegHardAddress=t11NsRegHardAddress, t11NsRegSymbolicPortName=t11NsRegSymbolicPortName, t11NsRegSymbolicNodeName=t11NsRegSymbolicNodeName, t11NsRegFc4Features=t11NsRegFc4Features, t11NsRegFc4DescriptorTable=t11NsRegFc4DescriptorTable, t11NsRegFc4DescriptorEntry=t11NsRegFc4DescriptorEntry, t11NsRegFc4TypeValue=t11NsRegFc4TypeValue, t11NsRegFc4Descriptor=t11NsRegFc4Descriptor, t11NsRejectTable=t11NsRejectTable, t11NsRejectEntry=t11NsRejectEntry, t11NsRejectCtCommandString=t11NsRejectCtCommandString, t11NsRejectReasonCode=t11NsRejectReasonCode, t11NsRejReasonCodeExp=t11NsRejReasonCodeExp, t11NsRejReasonVendorCode=t11NsRejReasonVendorCode, t11NsStatistics=t11NsStatistics, t11NsStatsTable=t11NsStatsTable, t11NsStatsEntry=t11NsStatsEntry, t11NsInGetReqs=t11NsInGetReqs, t11NsOutGetReqs=t11NsOutGetReqs, t11NsInRegReqs=t11NsInRegReqs, t11NsInDeRegReqs=t11NsInDeRegReqs, t11NsInRscns=t11NsInRscns, t11NsOutRscns=t11NsOutRscns, t11NsRejects=t11NsRejects, t11NsDatabaseFull=t11NsDatabaseFull, t11NsMIBConformance=t11NsMIBConformance, t11NsMIBCompliances=t11NsMIBCompliances, t11NsMIBGroups=t11NsMIBGroups) # Notifications mibBuilder.exportSymbols("T11-FC-NAME-SERVER-MIB", t11NsRejectRegNotify=t11NsRejectRegNotify) # Groups mibBuilder.exportSymbols("T11-FC-NAME-SERVER-MIB", t11NsDBGroup=t11NsDBGroup, t11NsRequestStatsGroup=t11NsRequestStatsGroup, t11NsRscnStatsGroup=t11NsRscnStatsGroup, t11NsRejectStatsGroup=t11NsRejectStatsGroup, t11NsNotifyControlGroup=t11NsNotifyControlGroup, t11NsNotifyGroup=t11NsNotifyGroup) # Compliances mibBuilder.exportSymbols("T11-FC-NAME-SERVER-MIB", t11NsMIBCompliance=t11NsMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-CHARSET-MIB.py0000644000014400001440000002324711736645136021244 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-CHARSET-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:05 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class IANACharset(Integer): subtypeSpec = Integer.subtypeSpec+ConstraintsUnion(SingleValueConstraint(2022,2096,1013,2036,2087,53,2059,64,75,42,2037,2042,2005,4,5,6,7,12,13,1005,2078,1008,1009,55,1006,57,2019,18,2058,30,2071,97,14,39,71,2062,2024,28,54,47,1015,44,2025,118,2255,2252,2253,2250,2251,2065,63,93,2028,2012,27,1007,43,2014,3,2056,51,2067,2104,2010,92,80,45,2009,37,2041,66,104,15,19,22,2074,2107,2004,69,29,1011,48,2095,58,2097,2098,72,61,2093,81,1012,82,2099,2053,113,1001,2100,2026,98,119,2038,2018,2047,2046,24,2045,1016,2073,116,103,2020,77,2103,2023,2085,2048,34,88,2057,2040,101,8,2039,31,1014,89,2088,), SingleValueConstraint(2084,46,2075,25,2061,23,2258,2027,112,111,110,109,83,2259,2016,99,2106,2105,2,1003,2072,2082,95,16,62,2069,117,90,56,17,2017,100,96,2089,2015,114,79,78,41,2043,2030,2083,105,2033,2032,2031,2256,115,2076,2034,2068,2007,2000,2054,59,70,2050,1019,2049,2086,2011,2051,2052,2064,3000,2094,2257,2102,10,2013,2008,9,94,38,1018,49,2001,2044,36,11,2006,87,32,2077,2254,2101,2081,86,67,68,76,1,2092,2070,102,2055,2021,1010,2091,85,2063,84,1017,50,2060,74,2080,2079,60,1020,1002,106,33,40,20,65,2090,2029,52,2003,2002,91,35,73,1000,26,2035,), SingleValueConstraint(2066,21,)) namedValues = NamedValues(("other", 1), ("csISOLatinGreek", 10), ("csUSDK", 100), ("csUnicode", 1000), ("csUCS4", 1001), ("csUnicodeASCII", 1002), ("csUnicodeLatin1", 1003), ("csUnicodeIBM1261", 1005), ("csUnicodeIBM1268", 1006), ("csUnicodeIBM1276", 1007), ("csUnicodeIBM1264", 1008), ("csUnicodeIBM1265", 1009), ("csDKUS", 101), ("csUnicode11", 1010), ("csSCSU", 1011), ("csUTF7", 1012), ("csUTF16BE", 1013), ("csUTF16LE", 1014), ("csUTF16", 1015), ("csCESU8", 1016), ("csUTF32", 1017), ("csUTF32BE", 1018), ("csUTF32LE", 1019), ("csKSC5636", 102), ("csBOCU1", 1020), ("csUnicode11UTF7", 103), ("csISO2022CN", 104), ("csISO2022CNEXT", 105), ("csUTF8", 106), ("csISO885913", 109), ("csISOLatinHebrew", 11), ("csISO885914", 110), ("csISO885915", 111), ("csISO885916", 112), ("csGBK", 113), ("csGB18030", 114), ("csOSDEBCDICDF0415", 115), ("csOSDEBCDICDF03IRV", 116), ("csOSDEBCDICDF041", 117), ("csISO115481", 118), ("csKZ1048", 119), ("csISOLatin5", 12), ("csISOLatin6", 13), ("csISOTextComm", 14), ("csHalfWidthKatakana", 15), ("csJISEncoding", 16), ("csShiftJIS", 17), ("csEUCPkdFmtJapanese", 18), ("csEUCFixWidJapanese", 19), ("unknown", 2), ("csISO4UnitedKingdom", 20), ("csWindows30Latin1", 2000), ("csWindows31Latin1", 2001), ("csWindows31Latin2", 2002), ("csWindows31Latin5", 2003), ("csHPRoman8", 2004), ("csAdobeStandardEncoding", 2005), ("csVenturaUS", 2006), ("csVenturaInternational", 2007), ("csDECMCS", 2008), ("csPC850Multilingual", 2009), ("csPCp852", 2010), ("csPC8CodePage437", 2011), ("csPC8DanishNorwegian", 2012), ("csPC862LatinHebrew", 2013), ("csPC8Turkish", 2014), ("csIBMSymbols", 2015), ("csIBMThai", 2016), ("csHPLegal", 2017), ("csHPPiFont", 2018), ("csHPMath8", 2019), ("csHPPSMath", 2020), ("csHPDesktop", 2021), ("csVenturaMath", 2022), ("csMicrosoftPublishing", 2023), ("csWindows31J", 2024), ("csGB2312", 2025), ("csBig5", 2026), ("csMacintosh", 2027), ("csIBM037", 2028), ("csIBM038", 2029), ("csIBM273", 2030), ("csIBM274", 2031), ("csIBM275", 2032), ("csIBM277", 2033), ("csIBM278", 2034), ("csIBM280", 2035), ("csIBM281", 2036), ("csIBM284", 2037), ("csIBM285", 2038), ("csIBM290", 2039), ("csIBM297", 2040), ("csIBM420", 2041), ("csIBM423", 2042), ("csIBM424", 2043), ("csIBM500", 2044), ("csIBM851", 2045), ("csIBM855", 2046), ("csIBM857", 2047), ("csIBM860", 2048), ("csIBM861", 2049), ("csIBM863", 2050), ("csIBM864", 2051), ("csIBM865", 2052), ("csIBM868", 2053), ("csIBM869", 2054), ("csIBM870", 2055), ("csIBM871", 2056), ("csIBM880", 2057), ("csIBM891", 2058), ("csIBM903", 2059), ("csIBBM904", 2060), ("csIBM905", 2061), ("csIBM918", 2062), ("csIBM1026", 2063), ("csIBMEBCDICATDE", 2064), ("csEBCDICATDEA", 2065), ("csEBCDICCAFR", 2066), ("csEBCDICDKNO", 2067), ("csEBCDICDKNOA", 2068), ("csEBCDICFISE", 2069), ("csEBCDICFISEA", 2070), ("csEBCDICFR", 2071), ("csEBCDICIT", 2072), ("csEBCDICPT", 2073), ("csEBCDICES", 2074), ("csEBCDICESA", 2075), ) + NamedValues(("csEBCDICESS", 2076), ("csEBCDICUK", 2077), ("csEBCDICUS", 2078), ("csUnknown8BiT", 2079), ("csMnemonic", 2080), ("csMnem", 2081), ("csVISCII", 2082), ("csVIQR", 2083), ("csKOI8R", 2084), ("csHZGB2312", 2085), ("csIBM866", 2086), ("csPC775Baltic", 2087), ("csKOI8U", 2088), ("csIBM00858", 2089), ("csIBM00924", 2090), ("csIBM01140", 2091), ("csIBM01141", 2092), ("csIBM01142", 2093), ("csIBM01143", 2094), ("csIBM01144", 2095), ("csIBM01145", 2096), ("csIBM01146", 2097), ("csIBM01147", 2098), ("csIBM01148", 2099), ("csISO11SwedishForNames", 21), ("csIBM01149", 2100), ("csBig5HKSCS", 2101), ("csIBM1047", 2102), ("csPTCP154", 2103), ("csAmiga1251", 2104), ("csKOI7switched", 2105), ("csBRF", 2106), ("csTSCII", 2107), ("csISO15Italian", 22), ("cswindows1250", 2250), ("cswindows1251", 2251), ("cswindows1252", 2252), ("cswindows1253", 2253), ("cswindows1254", 2254), ("cswindows1255", 2255), ("cswindows1256", 2256), ("cswindows1257", 2257), ("cswindows1258", 2258), ("csTIS620", 2259), ("csISO17Spanish", 23), ("csISO21German", 24), ("csISO60DanishNorwegian", 25), ("csISO69French", 26), ("csISO10646UTF1", 27), ("csISO646basic1983", 28), ("csINVARIANT", 29), ("csASCII", 3), ("csISO2IntlRefVersion", 30), ("reserved", 3000), ("csNATSSEFI", 31), ("csNATSSEFIADD", 32), ("csNATSDANO", 33), ("csNATSDANOADD", 34), ("csISO10Swedish", 35), ("csKSC56011987", 36), ("csISO2022KR", 37), ("csEUCKR", 38), ("csISO2022JP", 39), ("csISOLatin1", 4), ("csISO2022JP2", 40), ("csISO13JISC6220jp", 41), ("csISO14JISC6220ro", 42), ("csISO16Portuguese", 43), ("csISO18Greek7Old", 44), ("csISO19LatinGreek", 45), ("csISO25French", 46), ("csISO27LatinGreek1", 47), ("csISO5427Cyrillic", 48), ("csISO42JISC62261978", 49), ("csISOLatin2", 5), ("csISO47BSViewdata", 50), ("csISO49INIS", 51), ("csISO50INIS8", 52), ("csISO51INISCyrillic", 53), ("csISO54271981", 54), ("csISO5428Greek", 55), ("csISO57GB1988", 56), ("csISO58GB231280", 57), ("csISO61Norwegian2", 58), ("csISO70VideotexSupp1", 59), ("csISOLatin3", 6), ("csISO84Portuguese2", 60), ("csISO85Spanish2", 61), ("csISO86Hungarian", 62), ("csISO87JISX0208", 63), ("csISO88Greek7", 64), ("csISO89ASMO449", 65), ("csISO90", 66), ("csISO91JISC62291984a", 67), ("csISO92JISC62991984b", 68), ("csISO93JIS62291984badd", 69), ("csISOLatin4", 7), ("csISO94JIS62291984hand", 70), ("csISO95JIS62291984handadd", 71), ("csISO96JISC62291984kana", 72), ("csISO2033", 73), ("csISO99NAPLPS", 74), ("csISO102T617bit", 75), ("csISO103T618bit", 76), ("csISO111ECMACyrillic", 77), ("csa71", 78), ("csa72", 79), ("csISOLatinCyrillic", 8), ("csISO123CSAZ24341985gr", 80), ("csISO88596E", 81), ("csISO88596I", 82), ("csISO128T101G2", 83), ("csISO88598E", 84), ("csISO88598I", 85), ("csISO139CSN369103", 86), ("csISO141JUSIB1002", 87), ("csISO143IECP271", 88), ("csISO146Serbian", 89), ("csISOLatinArabic", 9), ("csISO147Macedonian", 90), ("csISO150", 91), ("csISO151Cuba", 92), ("csISO6937Add", 93), ("csISO153GOST1976874", 94), ("csISO8859Supp", 95), ("csISO10367Box", 96), ("csISO158Lap", 97), ) + NamedValues(("csISO159JISX02121990", 98), ("csISO646Danish", 99), ) # Objects ianaCharsetMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 106)).setRevisions(("2007-05-14 00:00","2006-12-07 00:00","2004-06-08 00:00",)) if mibBuilder.loadTexts: ianaCharsetMIB.setOrganization("IANA") if mibBuilder.loadTexts: ianaCharsetMIB.setContactInfo(" Internet Assigned Numbers Authority\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaCharsetMIB.setDescription("This MIB module defines the IANACharset\nTEXTUAL-CONVENTION. The IANACharset TC is used to\nspecify the encoding of string objects defined in\na MIB.\n\nEach version of this MIB will be released based on\nthe IANA Charset Registry file (see RFC 2978) at\nhttp://www.iana.org/assignments/character-sets.\n\nNote: The IANACharset TC, originally defined in\nRFC 1759, was inaccurately named CodedCharSet.\n\nNote: Best practice is to define new MIB string\nobjects with invariant UTF-8 (RFC 3629) syntax\nusing the SnmpAdminString TC (defined in RFC 3411)\nin accordance with IETF Policy on Character Sets and\nLanguages (RFC 2277).\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3808; for full legal notices see the RFC\nitself. Supplementary information may be\navailable on\nhttp://www.ietf.org/copyrights/ianamib.html.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-CHARSET-MIB", PYSNMP_MODULE_ID=ianaCharsetMIB) # Types mibBuilder.exportSymbols("IANA-CHARSET-MIB", IANACharset=IANACharset) # Objects mibBuilder.exportSymbols("IANA-CHARSET-MIB", ianaCharsetMIB=ianaCharsetMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/DISMAN-EXPRESSION-MIB.py0000644000014400001440000012475411736645135022121 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DISMAN-EXPRESSION-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( sysUpTime, ) = mibBuilder.importSymbols("SNMPv2-MIB", "sysUpTime") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( RowStatus, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TimeStamp", "TruthValue") # Objects sysUpTimeInstance = MibIdentifier((1, 3, 6, 1, 2, 1, 1, 3, 0)) dismanExpressionMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 90)).setRevisions(("2000-10-16 00:00",)) if mibBuilder.loadTexts: dismanExpressionMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: dismanExpressionMIB.setContactInfo("Ramanathan Kavasseri\nCisco Systems, Inc.\n170 West Tasman Drive,\nSan Jose CA 95134-1706.\nPhone: +1 408 527 2446\nEmail: ramk@cisco.com") if mibBuilder.loadTexts: dismanExpressionMIB.setDescription("The MIB module for defining expressions of MIB objects for\nmanagement purposes.") dismanExpressionMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 90, 1)) expResource = MibIdentifier((1, 3, 6, 1, 2, 1, 90, 1, 1)) expResourceDeltaMinimum = MibScalar((1, 3, 6, 1, 2, 1, 90, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1,-1),ValueRangeConstraint(1,600),))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: expResourceDeltaMinimum.setDescription("The minimum expExpressionDeltaInterval this system will\naccept. A system may use the larger values of this minimum to\nlessen the impact of constantly computing deltas. For larger\ndelta sampling intervals the system samples less often and\nsuffers less overhead. This object provides a way to enforce\nsuch lower overhead for all expressions created after it is\nset.\n\nThe value -1 indicates that expResourceDeltaMinimum is\nirrelevant as the system will not accept 'deltaValue' as a\nvalue for expObjectSampleType.\n\nUnless explicitly resource limited, a system's value for\nthis object should be 1, allowing as small as a 1 second\ninterval for ongoing delta sampling.\n\nChanging this value will not invalidate an existing setting\nof expObjectSampleType.") expResourceDeltaWildcardInstanceMaximum = MibScalar((1, 3, 6, 1, 2, 1, 90, 1, 1, 2), Unsigned32()).setMaxAccess("readwrite").setUnits("instances") if mibBuilder.loadTexts: expResourceDeltaWildcardInstanceMaximum.setDescription("For every instance of a deltaValue object, one dynamic instance\nentry is needed for holding the instance value from the previous\nsample, i.e. to maintain state.\n\nThis object limits maximum number of dynamic instance entries\nthis system will support for wildcarded delta objects in\nexpressions. For a given delta expression, the number of\ndynamic instances is the number of values that meet all criteria\nto exist times the number of delta values in the expression.\n\nA value of 0 indicates no preset limit, that is, the limit\nis dynamic based on system operation and resources.\n\nUnless explicitly resource limited, a system's value for\nthis object should be 0.\n\n\n\nChanging this value will not eliminate or inhibit existing delta\nwildcard instance objects but will prevent the creation of more\nsuch objects.\n\nAn attempt to allocate beyond the limit results in expErrorCode\nbeing tooManyWildcardValues for that evaluation attempt.") expResourceDeltaWildcardInstances = MibScalar((1, 3, 6, 1, 2, 1, 90, 1, 1, 3), Gauge32()).setMaxAccess("readonly").setUnits("instances") if mibBuilder.loadTexts: expResourceDeltaWildcardInstances.setDescription("The number of currently active instance entries as\ndefined for expResourceDeltaWildcardInstanceMaximum.") expResourceDeltaWildcardInstancesHigh = MibScalar((1, 3, 6, 1, 2, 1, 90, 1, 1, 4), Gauge32()).setMaxAccess("readonly").setUnits("instances") if mibBuilder.loadTexts: expResourceDeltaWildcardInstancesHigh.setDescription("The highest value of expResourceDeltaWildcardInstances\nthat has occurred since initialization of the managed\nsystem.") expResourceDeltaWildcardInstanceResourceLacks = MibScalar((1, 3, 6, 1, 2, 1, 90, 1, 1, 5), Counter32()).setMaxAccess("readonly").setUnits("instances") if mibBuilder.loadTexts: expResourceDeltaWildcardInstanceResourceLacks.setDescription("The number of times this system could not evaluate an\nexpression because that would have created a value instance in\nexcess of expResourceDeltaWildcardInstanceMaximum.") expDefine = MibIdentifier((1, 3, 6, 1, 2, 1, 90, 1, 2)) expExpressionTable = MibTable((1, 3, 6, 1, 2, 1, 90, 1, 2, 1)) if mibBuilder.loadTexts: expExpressionTable.setDescription("A table of expression definitions.") expExpressionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1)).setIndexNames((0, "DISMAN-EXPRESSION-MIB", "expExpressionOwner"), (0, "DISMAN-EXPRESSION-MIB", "expExpressionName")) if mibBuilder.loadTexts: expExpressionEntry.setDescription("Information about a single expression. New expressions\ncan be created using expExpressionRowStatus.\n\nTo create an expression first create the named entry in this\ntable. Then use expExpressionName to populate expObjectTable.\nFor expression evaluation to succeed all related entries in\nexpExpressionTable and expObjectTable must be 'active'. If\nthese conditions are not met the corresponding values in\nexpValue simply are not instantiated.\n\nDeleting an entry deletes all related entries in expObjectTable\nand expErrorTable.\n\nBecause of the relationships among the multiple tables for an\nexpression (expExpressionTable, expObjectTable, and\nexpValueTable) and the SNMP rules for independence in setting\nobject values, it is necessary to do final error checking when\nan expression is evaluated, that is, when one of its instances\nin expValueTable is read or a delta interval expires. Earlier\nchecking need not be done and an implementation may not impose\nany ordering on the creation of objects related to an\nexpression.\n\nTo maintain security of MIB information, when creating a new row in\nthis table, the managed system must record the security credentials\nof the requester. These security credentials are the parameters\nnecessary as inputs to isAccessAllowed from the Architecture for\n\nDescribing SNMP Management Frameworks. When obtaining the objects\nthat make up the expression, the system must (conceptually) use\nisAccessAllowed to ensure that it does not violate security.\n\nThe evaluation of the expression takes place under the\nsecurity credentials of the creator of its expExpressionEntry.\n\nValues of read-write objects in this table may be changed\n\n\nat any time.") expExpressionOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: expExpressionOwner.setDescription("The owner of this entry. The exact semantics of this\nstring are subject to the security policy defined by the\nsecurity administrator.") expExpressionName = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: expExpressionName.setDescription("The name of the expression. This is locally unique, within\nthe scope of an expExpressionOwner.") expExpression = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1024))).setMaxAccess("readcreate") if mibBuilder.loadTexts: expExpression.setDescription("The expression to be evaluated. This object is the same\nas a DisplayString (RFC 1903) except for its maximum length.\n\nExcept for the variable names the expression is in ANSI C\nsyntax. Only the subset of ANSI C operators and functions\nlisted here is allowed.\n\nVariables are expressed as a dollar sign ('$') and an\n\n\ninteger that corresponds to an expObjectIndex. An\nexample of a valid expression is:\n\n ($1-$5)*100\n\nExpressions must not be recursive, that is although an expression\nmay use the results of another expression, it must not contain\nany variable that is directly or indirectly a result of its own\nevaluation. The managed system must check for recursive\nexpressions.\n\nThe only allowed operators are:\n\n ( )\n - (unary)\n + - * / %\n & | ^ << >> ~\n ! && || == != > >= < <=\n\nNote the parentheses are included for parenthesizing the\nexpression, not for casting data types.\n\nThe only constant types defined are:\n\n int (32-bit signed)\n long (64-bit signed)\n unsigned int\n unsigned long\n hexadecimal\n character\n string\n oid\n\nThe default type for a positive integer is int unless it is too\nlarge in which case it is long.\n\nAll but oid are as defined for ANSI C. Note that a\nhexadecimal constant may end up as a scalar or an array of\n8-bit integers. A string constant is enclosed in double\nquotes and may contain back-slashed individual characters\nas in ANSI C.\n\nAn oid constant comprises 32-bit, unsigned integers and at\nleast one period, for example:\n\n 0.\n .0\n 1.3.6.1\n\n\nNo additional leading or trailing subidentifiers are automatically\nadded to an OID constant. The constant is taken as expressed.\n\nInteger-typed objects are treated as 32- or 64-bit, signed\nor unsigned integers, as appropriate. The results of\nmixing them are as for ANSI C, including the type of the\nresult. Note that a 32-bit value is thus promoted to 64 bits\nonly in an operation with a 64-bit value. There is no\nprovision for larger values to handle overflow.\n\nRelative to SNMP data types, a resulting value becomes\nunsigned when calculating it uses any unsigned value,\nincluding a counter. To force the final value to be of\ndata type counter the expression must explicitly use the\ncounter32() or counter64() function (defined below).\n\nOCTET STRINGS and OBJECT IDENTIFIERs are treated as\none-dimensioned arrays of unsigned 8-bit integers and\nunsigned 32-bit integers, respectively.\n\nIpAddresses are treated as 32-bit, unsigned integers in\nnetwork byte order, that is, the hex version of 255.0.0.0 is\n0xff000000.\n\nConditional expressions result in a 32-bit, unsigned integer\nof value 0 for false or 1 for true. When an arbitrary value\nis used as a boolean 0 is false and non-zero is true.\n\nRules for the resulting data type from an operation, based on\nthe operator:\n\nFor << and >> the result is the same as the left hand operand.\n\nFor &&, ||, ==, !=, <, <=, >, and >= the result is always\nUnsigned32.\n\nFor unary - the result is always Integer32.\n\nFor +, -, *, /, %, &, |, and ^ the result is promoted according\nto the following rules, in order from most to least preferred:\n\n If left hand and right hand operands are the same type,\n use that.\n\n If either side is Counter64, use that.\n\n If either side is IpAddress, use that.\n\n\n\n If either side is TimeTicks, use that.\n\n If either side is Counter32, use that.\n\n Otherwise use Unsigned32.\n\nThe following rules say what operators apply with what data\ntypes. Any combination not explicitly defined does not work.\n\nFor all operators any of the following can be the left hand or\nright hand operand: Integer32, Counter32, Unsigned32, Counter64.\n\nThe operators +, -, *, /, %, <, <=, >, and >= work with\nTimeTicks.\n\nThe operators &, |, and ^ work with IpAddress.\n\nThe operators << and >> work with IpAddress but only as the\nleft hand operand.\n\nThe + operator performs a concatenation of two OCTET STRINGs or\ntwo OBJECT IDENTIFIERs.\n\nThe operators &, | perform bitwise operations on OCTET STRINGs.\nIf the OCTET STRING happens to be a DisplayString the results\nmay be meaningless, but the agent system does not check this as\nsome such systems do not have this information.\n\nThe operators << and >> perform bitwise operations on OCTET\nSTRINGs appearing as the left hand operand.\n\nThe only functions defined are:\n\n counter32\n counter64\n arraySection\n stringBegins\n stringEnds\n stringContains\n oidBegins\n oidEnds\n oidContains\n average\n maximum\n minimum\n sum\n exists\n\n\n\nThe following function definitions indicate their parameters by\nnaming the data type of the parameter in the parameter's position\nin the parameter list. The parameter must be of the type indicated\nand generally may be a constant, a MIB object, a function, or an\nexpression.\n\ncounter32(integer) - wrapped around an integer value counter32\nforces Counter32 as a data type.\n\ncounter64(integer) - similar to counter32 except that the\nresulting data type is 'counter64'.\n\narraySection(array, integer, integer) - selects a piece of an\narray (i.e. part of an OCTET STRING or OBJECT IDENTIFIER). The\ninteger arguments are in the range 0 to 4,294,967,295. The\nfirst is an initial array index (one-dimensioned) and the second\nis an ending array index. A value of 0 indicates first or last\nelement, respectively. If the first element is larger than the\narray length the result is 0 length. If the second integer is\nless than or equal to the first, the result is 0 length. If the\nsecond is larger than the array length it indicates last\nelement.\n\nstringBegins/Ends/Contains(octetString, octetString) - looks for\nthe second string (which can be a string constant) in the first\nand returns the one-dimensioned arrayindex where the match began.\nA return value of 0 indicates no match (i.e. boolean false).\n\noidBegins/Ends/Contains(oid, oid) - looks for the second OID\n(which can be an OID constant) in the first and returns the\nthe one-dimensioned index where the match began. A return value\nof 0 indicates no match (i.e. boolean false).\n\naverage/maximum/minimum(integer) - calculates the average,\nminimum, or maximum value of the integer valued object over\nmultiple sample times. If the object disappears for any\nsample period, the accumulation and the resulting value object\ncease to exist until the object reappears at which point the\ncalculation starts over.\n\nsum(integerObject*) - sums all available values of the\nwildcarded integer object, resulting in an integer scalar. Must\nbe used with caution as it wraps on overflow with no\nnotification.\n\nexists(anyTypeObject) - verifies the object instance exists. A\nreturn value of 0 indicates NoSuchInstance (i.e. boolean\nfalse).") expExpressionValueType = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,7,5,3,8,2,1,)).subtype(namedValues=NamedValues(("counter32", 1), ("unsigned32", 2), ("timeTicks", 3), ("integer32", 4), ("ipAddress", 5), ("octetString", 6), ("objectId", 7), ("counter64", 8), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: expExpressionValueType.setDescription("The type of the expression value. One and only one of the\nvalue objects in expValueTable will be instantiated to match\nthis type.\n\nIf the result of the expression can not be made into this type,\nan invalidOperandType error will occur.") expExpressionComment = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 5), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: expExpressionComment.setDescription("A comment to explain the use or meaning of the expression.") expExpressionDeltaInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: expExpressionDeltaInterval.setDescription("Sampling interval for objects in this expression with\nexpObjectSampleType 'deltaValue'.\n\nThis object has no effect if the the expression has no\ndeltaValue objects.\n\nA value of 0 indicates no automated sampling. In this case\nthe delta is the difference from the last time the expression\nwas evaluated. Note that this is subject to unpredictable\ndelta times in the face of retries or multiple managers.\n\nA value greater than zero is the number of seconds between\nautomated samples.\n\nUntil the delta interval has expired once the delta for the\n\n\nobject is effectively not instantiated and evaluating\nthe expression has results as if the object itself were not\ninstantiated.\n\nNote that delta values potentially consume large amounts of\nsystem CPU and memory. Delta state and processing must\ncontinue constantly even if the expression is not being used.\nThat is, the expression is being evaluated every delta interval,\neven if no application is reading those values. For wildcarded\nobjects this can be substantial overhead.\n\nNote that delta intervals, external expression value sampling\nintervals and delta intervals for expressions within other\nexpressions can have unusual interactions as they are impossible\nto synchronize accurately. In general one interval embedded\nbelow another must be enough shorter that the higher sample\nsees relatively smooth, predictable behavior. So, for example,\nto avoid the higher level getting the same sample twice, the\nlower level should sample at least twice as fast as the higher\nlevel does.") expExpressionPrefix = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 7), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: expExpressionPrefix.setDescription("An object prefix to assist an application in determining\nthe instance indexing to use in expValueTable, relieving the\napplication of the need to scan the expObjectTable to\ndetermine such a prefix.\n\nSee expObjectTable for information on wildcarded objects.\n\nIf the expValueInstance portion of the value OID may\nbe treated as a scalar (that is, normally, 0) the value of\nexpExpressionPrefix is zero length, that is, no OID at all.\nNote that zero length implies a null OID, not the OID 0.0.\n\nOtherwise, the value of expExpressionPrefix is the expObjectID\nvalue of any one of the wildcarded objects for the expression.\nThis is sufficient, as the remainder, that is, the instance\nfragment relevant to instancing the values, must be the same for\nall wildcarded objects in the expression.") expExpressionErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: expExpressionErrors.setDescription("The number of errors encountered while evaluating this\nexpression.\n\nNote that an object in the expression not being accessible,\nis not considered an error. An example of an inaccessible\nobject is when the object is excluded from the view of the\nuser whose security credentials are used in the expression\nevaluation. In such cases, it is a legitimate condition\nthat causes the corresponding expression value not to be\ninstantiated.") expExpressionEntryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 1, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: expExpressionEntryStatus.setDescription("The control that allows creation and deletion of entries.") expErrorTable = MibTable((1, 3, 6, 1, 2, 1, 90, 1, 2, 2)) if mibBuilder.loadTexts: expErrorTable.setDescription("A table of expression errors.") expErrorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 90, 1, 2, 2, 1)).setIndexNames((0, "DISMAN-EXPRESSION-MIB", "expExpressionOwner"), (0, "DISMAN-EXPRESSION-MIB", "expExpressionName")) if mibBuilder.loadTexts: expErrorEntry.setDescription("Information about errors in processing an expression.\n\nEntries appear in this table only when there is a matching\nexpExpressionEntry and then only when there has been an\nerror for that expression as reflected by the error codes\ndefined for expErrorCode.") expErrorTime = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 2, 1, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: expErrorTime.setDescription("The value of sysUpTime the last time an error caused a\nfailure to evaluate this expression.") expErrorIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: expErrorIndex.setDescription("The one-dimensioned character array index into\nexpExpression for where the error occurred. The value\nzero indicates irrelevance.") expErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(11,3,6,9,10,1,2,8,7,5,4,)).subtype(namedValues=NamedValues(("invalidSyntax", 1), ("resourceUnavailable", 10), ("divideByZero", 11), ("undefinedObjectIndex", 2), ("unrecognizedOperator", 3), ("unrecognizedFunction", 4), ("invalidOperandType", 5), ("unmatchedParenthesis", 6), ("tooManyWildcardValues", 7), ("recursion", 8), ("deltaTooShort", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: expErrorCode.setDescription("The error that occurred. In the following explanations the\nexpected timing of the error is in parentheses. 'S' means\nthe error occurs on a Set request. 'E' means the error\n\n\noccurs on the attempt to evaluate the expression either due to\nGet from expValueTable or in ongoing delta processing.\n\ninvalidSyntax the value sent for expExpression is not\n valid Expression MIB expression syntax\n (S)\nundefinedObjectIndex an object reference ($n) in\n expExpression does not have a matching\n instance in expObjectTable (E)\nunrecognizedOperator the value sent for expExpression held an\n unrecognized operator (S)\nunrecognizedFunction the value sent for expExpression held an\n unrecognized function name (S)\ninvalidOperandType an operand in expExpression is not the\n right type for the associated operator\n or result (SE)\nunmatchedParenthesis the value sent for expExpression is not\n correctly parenthesized (S)\ntooManyWildcardValues evaluating the expression exceeded the\n limit set by\n expResourceDeltaWildcardInstanceMaximum\n (E)\nrecursion through some chain of embedded\n expressions the expression invokes itself\n (E)\ndeltaTooShort the delta for the next evaluation passed\n before the system could evaluate the\n present sample (E)\nresourceUnavailable some resource, typically dynamic memory,\n was unavailable (SE)\ndivideByZero an attempt to divide by zero occurred\n (E)\n\nFor the errors that occur when the attempt is made to set\nexpExpression Set request fails with the SNMP error code\n'wrongValue'. Such failures refer to the most recent failure to\nSet expExpression, not to the present value of expExpression\nwhich must be either unset or syntactically correct.\n\nErrors that occur during evaluation for a Get* operation return\nthe SNMP error code 'genErr' except for 'tooManyWildcardValues'\nand 'resourceUnavailable' which return the SNMP error code\n'resourceUnavailable'.") expErrorInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 2, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: expErrorInstance.setDescription("The expValueInstance being evaluated when the error\noccurred. A zero-length indicates irrelevance.") expObjectTable = MibTable((1, 3, 6, 1, 2, 1, 90, 1, 2, 3)) if mibBuilder.loadTexts: expObjectTable.setDescription("A table of object definitions for each expExpression.\n\nWildcarding instance IDs:\n\nIt is legal to omit all or part of the instance portion for\nsome or all of the objects in an expression. (See the\nDESCRIPTION of expObjectID for details. However, note that\nif more than one object in the same expression is wildcarded\nin this way, they all must be objects where that portion of\nthe instance is the same. In other words, all objects may be\nin the same SEQUENCE or in different SEQUENCEs but with the\nsame semantic index value (e.g., a value of ifIndex)\nfor the wildcarded portion.") expObjectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1)).setIndexNames((0, "DISMAN-EXPRESSION-MIB", "expExpressionOwner"), (0, "DISMAN-EXPRESSION-MIB", "expExpressionName"), (0, "DISMAN-EXPRESSION-MIB", "expObjectIndex")) if mibBuilder.loadTexts: expObjectEntry.setDescription("Information about an object. An application uses\nexpObjectEntryStatus to create entries in this table while\nin the process of defining an expression.\n\nValues of read-create objects in this table may be\nchanged at any time.") expObjectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: expObjectIndex.setDescription("Within an expression, a unique, numeric identification for an\nobject. Prefixed with a dollar sign ('$') this is used to\nreference the object in the corresponding expExpression.") expObjectID = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectID.setDescription("The OBJECT IDENTIFIER (OID) of this object. The OID may be\nfully qualified, meaning it includes a complete instance\nidentifier part (e.g., ifInOctets.1 or sysUpTime.0), or it\nmay not be fully qualified, meaning it may lack all or part\nof the instance identifier. If the expObjectID is not fully\nqualified, then expObjectWildcard must be set to true(1).\nThe value of the expression will be multiple\nvalues, as if done for a GetNext sweep of the object.\n\nAn object here may itself be the result of an expression but\nrecursion is not allowed.\n\nNOTE: The simplest implementations of this MIB may not allow\nwildcards.") expObjectIDWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 3), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectIDWildcard.setDescription("A true value indicates the expObjecID of this row is a wildcard\nobject. False indicates that expObjectID is fully instanced.\nIf all expObjectWildcard values for a given expression are FALSE,\n\n\nexpExpressionPrefix will reflect a scalar object (i.e. will\nbe 0.0).\n\nNOTE: The simplest implementations of this MIB may not allow\nwildcards.") expObjectSampleType = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("absoluteValue", 1), ("deltaValue", 2), ("changedValue", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectSampleType.setDescription("The method of sampling the selected variable.\n\nAn 'absoluteValue' is simply the present value of the object.\n\nA 'deltaValue' is the present value minus the previous value,\nwhich was sampled expExpressionDeltaInterval seconds ago.\nThis is intended primarily for use with SNMP counters, which are\nmeaningless as an 'absoluteValue', but may be used with any\ninteger-based value.\n\nA 'changedValue' is a boolean for whether the present value is\ndifferent from the previous value. It is applicable to any data\ntype and results in an Unsigned32 with value 1 if the object's\nvalue is changed and 0 if not. In all other respects it is as a\n'deltaValue' and all statements and operation regarding delta\nvalues apply to changed values.\n\nWhen an expression contains both delta and absolute values\nthe absolute values are obtained at the end of the delta\nperiod.") expObjectDeltaDiscontinuityID = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 5), ObjectIdentifier().clone((1, 3, 6, 1, 2, 1, 1, 3, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectDeltaDiscontinuityID.setDescription("The OBJECT IDENTIFIER (OID) of a TimeTicks, TimeStamp, or\nDateAndTime object that indicates a discontinuity in the value\nat expObjectID.\n\n\n\nThis object is instantiated only if expObjectSampleType is\n'deltaValue' or 'changedValue'.\n\nThe OID may be for a leaf object (e.g. sysUpTime.0) or may\nbe wildcarded to match expObjectID.\n\nThis object supports normal checking for a discontinuity in a\ncounter. Note that if this object does not point to sysUpTime\ndiscontinuity checking must still check sysUpTime for an overall\ndiscontinuity.\n\nIf the object identified is not accessible no discontinuity\ncheck will be made.") expObjectDiscontinuityIDWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 6), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectDiscontinuityIDWildcard.setDescription("A true value indicates the expObjectDeltaDiscontinuityID of\nthis row is a wildcard object. False indicates that\nexpObjectDeltaDiscontinuityID is fully instanced.\n\nThis object is instantiated only if expObjectSampleType is\n'deltaValue' or 'changedValue'.\n\nNOTE: The simplest implementations of this MIB may not allow\nwildcards.") expObjectDiscontinuityIDType = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("timeTicks", 1), ("timeStamp", 2), ("dateAndTime", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectDiscontinuityIDType.setDescription("The value 'timeTicks' indicates the expObjectDeltaDiscontinuityID\nof this row is of syntax TimeTicks. The value 'timeStamp' indicates\nsyntax TimeStamp. The value 'dateAndTime indicates syntax\nDateAndTime.\n\nThis object is instantiated only if expObjectSampleType is\n'deltaValue' or 'changedValue'.") expObjectConditional = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 8), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectConditional.setDescription("The OBJECT IDENTIFIER (OID) of an object that overrides\nwhether the instance of expObjectID is to be considered\nusable. If the value of the object at expObjectConditional\nis 0 or not instantiated, the object at expObjectID is\ntreated as if it is not instantiated. In other words,\nexpObjectConditional is a filter that controls whether or\nnot to use the value at expObjectID.\n\nThe OID may be for a leaf object (e.g. sysObjectID.0) or may be\nwildcarded to match expObjectID. If expObject is wildcarded and\nexpObjectID in the same row is not, the wild portion of\nexpObjectConditional must match the wildcarding of the rest of\nthe expression. If no object in the expression is wildcarded\nbut expObjectConditional is, use the lexically first instance\n(if any) of expObjectConditional.\n\nIf the value of expObjectConditional is 0.0 operation is\nas if the value pointed to by expObjectConditional is a\nnon-zero (true) value.\n\nNote that expObjectConditional can not trivially use an object\nof syntax TruthValue, since the underlying value is not 0 or 1.") expObjectConditionalWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 9), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectConditionalWildcard.setDescription("A true value indicates the expObjectConditional of this row is\na wildcard object. False indicates that expObjectConditional is\nfully instanced.\n\nNOTE: The simplest implementations of this MIB may not allow\nwildcards.") expObjectEntryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 2, 3, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: expObjectEntryStatus.setDescription("The control that allows creation/deletion of entries.\n\nObjects in this table may be changed while\nexpObjectEntryStatus is in any state.") expValue = MibIdentifier((1, 3, 6, 1, 2, 1, 90, 1, 3)) expValueTable = MibTable((1, 3, 6, 1, 2, 1, 90, 1, 3, 1)) if mibBuilder.loadTexts: expValueTable.setDescription("A table of values from evaluated expressions.") expValueEntry = MibTableRow((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1)).setIndexNames((0, "DISMAN-EXPRESSION-MIB", "expExpressionOwner"), (0, "DISMAN-EXPRESSION-MIB", "expExpressionName"), (1, "DISMAN-EXPRESSION-MIB", "expValueInstance")) if mibBuilder.loadTexts: expValueEntry.setDescription("A single value from an evaluated expression. For a given\ninstance, only one 'Val' object in the conceptual row will be\ninstantiated, that is, the one with the appropriate type for\nthe value. For values that contain no objects of\nexpObjectSampleType 'deltaValue' or 'changedValue', reading a\nvalue from the table causes the evaluation of the expression\nfor that value. For those that contain a 'deltaValue' or\n'changedValue' the value read is as of the last sampling\ninterval.\n\nIf in the attempt to evaluate the expression one or more\nof the necessary objects is not available, the corresponding\nentry in this table is effectively not instantiated.\n\nTo maintain security of MIB information, when creating a new\nrow in this table, the managed system must record the security\ncredentials of the requester. These security credentials are\nthe parameters necessary as inputs to isAccessAllowed from\n[RFC2571]. When obtaining the objects that make up the\nexpression, the system must (conceptually) use isAccessAllowed to\nensure that it does not violate security.\n\nThe evaluation of that expression takes place under the\n\n\nsecurity credentials of the creator of its expExpressionEntry.\n\nTo maintain security of MIB information, expression evaluation must\ntake place using security credentials for the implied Gets of the\nobjects in the expression as inputs (conceptually) to\nisAccessAllowed from the Architecture for Describing SNMP\nManagement Frameworks. These are the security credentials of the\ncreator of the corresponding expExpressionEntry.") expValueInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 1), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: expValueInstance.setDescription("The final instance portion of a value's OID according to\nthe wildcarding in instances of expObjectID for the\nexpression. The prefix of this OID fragment is 0.0,\nleading to the following behavior.\n\nIf there is no wildcarding, the value is 0.0.0. In other\nwords, there is one value which standing alone would have\nbeen a scalar with a 0 at the end of its OID.\n\nIf there is wildcarding, the value is 0.0 followed by\na value that the wildcard can take, thus defining one value\ninstance for each real, possible value of the wildcard.\nSo, for example, if the wildcard worked out to be an ifIndex,\nthere is an expValueInstance for each applicable ifIndex.") expValueCounter32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueCounter32Val.setDescription("The value when expExpressionValueType is 'counter32'.") expValueUnsigned32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueUnsigned32Val.setDescription("The value when expExpressionValueType is 'unsigned32'.") expValueTimeTicksVal = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueTimeTicksVal.setDescription("The value when expExpressionValueType is 'timeTicks'.") expValueInteger32Val = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueInteger32Val.setDescription("The value when expExpressionValueType is 'integer32'.") expValueIpAddressVal = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 6), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueIpAddressVal.setDescription("The value when expExpressionValueType is 'ipAddress'.") expValueOctetStringVal = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 7), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueOctetStringVal.setDescription("The value when expExpressionValueType is 'octetString'.") expValueOidVal = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 8), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueOidVal.setDescription("The value when expExpressionValueType is 'objectId'.") expValueCounter64Val = MibTableColumn((1, 3, 6, 1, 2, 1, 90, 1, 3, 1, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: expValueCounter64Val.setDescription("The value when expExpressionValueType is 'counter64'.") dismanExpressionMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 90, 3)) dismanExpressionMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 90, 3, 1)) dismanExpressionMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 90, 3, 2)) # Augmentions # Groups dismanExpressionResourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 90, 3, 2, 1)).setObjects(*(("DISMAN-EXPRESSION-MIB", "expResourceDeltaMinimum"), ("DISMAN-EXPRESSION-MIB", "expResourceDeltaWildcardInstancesHigh"), ("DISMAN-EXPRESSION-MIB", "expResourceDeltaWildcardInstances"), ("DISMAN-EXPRESSION-MIB", "expResourceDeltaWildcardInstanceResourceLacks"), ("DISMAN-EXPRESSION-MIB", "expResourceDeltaWildcardInstanceMaximum"), ) ) if mibBuilder.loadTexts: dismanExpressionResourceGroup.setDescription("Expression definition resource management.") dismanExpressionDefinitionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 90, 3, 2, 2)).setObjects(*(("DISMAN-EXPRESSION-MIB", "expObjectID"), ("DISMAN-EXPRESSION-MIB", "expObjectConditional"), ("DISMAN-EXPRESSION-MIB", "expExpressionComment"), ("DISMAN-EXPRESSION-MIB", "expObjectDiscontinuityIDWildcard"), ("DISMAN-EXPRESSION-MIB", "expErrorInstance"), ("DISMAN-EXPRESSION-MIB", "expExpressionErrors"), ("DISMAN-EXPRESSION-MIB", "expExpression"), ("DISMAN-EXPRESSION-MIB", "expErrorTime"), ("DISMAN-EXPRESSION-MIB", "expErrorIndex"), ("DISMAN-EXPRESSION-MIB", "expExpressionEntryStatus"), ("DISMAN-EXPRESSION-MIB", "expExpressionValueType"), ("DISMAN-EXPRESSION-MIB", "expObjectEntryStatus"), ("DISMAN-EXPRESSION-MIB", "expObjectDeltaDiscontinuityID"), ("DISMAN-EXPRESSION-MIB", "expObjectSampleType"), ("DISMAN-EXPRESSION-MIB", "expExpressionDeltaInterval"), ("DISMAN-EXPRESSION-MIB", "expExpressionPrefix"), ("DISMAN-EXPRESSION-MIB", "expObjectDiscontinuityIDType"), ("DISMAN-EXPRESSION-MIB", "expObjectConditionalWildcard"), ("DISMAN-EXPRESSION-MIB", "expObjectIDWildcard"), ("DISMAN-EXPRESSION-MIB", "expErrorCode"), ) ) if mibBuilder.loadTexts: dismanExpressionDefinitionGroup.setDescription("Expression definition.") dismanExpressionValueGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 90, 3, 2, 3)).setObjects(*(("DISMAN-EXPRESSION-MIB", "expValueTimeTicksVal"), ("DISMAN-EXPRESSION-MIB", "expValueIpAddressVal"), ("DISMAN-EXPRESSION-MIB", "expValueInteger32Val"), ("DISMAN-EXPRESSION-MIB", "expValueOidVal"), ("DISMAN-EXPRESSION-MIB", "expValueUnsigned32Val"), ("DISMAN-EXPRESSION-MIB", "expValueCounter64Val"), ("DISMAN-EXPRESSION-MIB", "expValueCounter32Val"), ("DISMAN-EXPRESSION-MIB", "expValueOctetStringVal"), ) ) if mibBuilder.loadTexts: dismanExpressionValueGroup.setDescription("Expression value.") # Compliances dismanExpressionMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 90, 3, 1, 1)).setObjects(*(("DISMAN-EXPRESSION-MIB", "dismanExpressionDefinitionGroup"), ("DISMAN-EXPRESSION-MIB", "dismanExpressionResourceGroup"), ("DISMAN-EXPRESSION-MIB", "dismanExpressionValueGroup"), ) ) if mibBuilder.loadTexts: dismanExpressionMIBCompliance.setDescription("The compliance statement for entities which implement\nthe Expression MIB.") # Exports # Module identity mibBuilder.exportSymbols("DISMAN-EXPRESSION-MIB", PYSNMP_MODULE_ID=dismanExpressionMIB) # Objects mibBuilder.exportSymbols("DISMAN-EXPRESSION-MIB", sysUpTimeInstance=sysUpTimeInstance, dismanExpressionMIB=dismanExpressionMIB, dismanExpressionMIBObjects=dismanExpressionMIBObjects, expResource=expResource, expResourceDeltaMinimum=expResourceDeltaMinimum, expResourceDeltaWildcardInstanceMaximum=expResourceDeltaWildcardInstanceMaximum, expResourceDeltaWildcardInstances=expResourceDeltaWildcardInstances, expResourceDeltaWildcardInstancesHigh=expResourceDeltaWildcardInstancesHigh, expResourceDeltaWildcardInstanceResourceLacks=expResourceDeltaWildcardInstanceResourceLacks, expDefine=expDefine, expExpressionTable=expExpressionTable, expExpressionEntry=expExpressionEntry, expExpressionOwner=expExpressionOwner, expExpressionName=expExpressionName, expExpression=expExpression, expExpressionValueType=expExpressionValueType, expExpressionComment=expExpressionComment, expExpressionDeltaInterval=expExpressionDeltaInterval, expExpressionPrefix=expExpressionPrefix, expExpressionErrors=expExpressionErrors, expExpressionEntryStatus=expExpressionEntryStatus, expErrorTable=expErrorTable, expErrorEntry=expErrorEntry, expErrorTime=expErrorTime, expErrorIndex=expErrorIndex, expErrorCode=expErrorCode, expErrorInstance=expErrorInstance, expObjectTable=expObjectTable, expObjectEntry=expObjectEntry, expObjectIndex=expObjectIndex, expObjectID=expObjectID, expObjectIDWildcard=expObjectIDWildcard, expObjectSampleType=expObjectSampleType, expObjectDeltaDiscontinuityID=expObjectDeltaDiscontinuityID, expObjectDiscontinuityIDWildcard=expObjectDiscontinuityIDWildcard, expObjectDiscontinuityIDType=expObjectDiscontinuityIDType, expObjectConditional=expObjectConditional, expObjectConditionalWildcard=expObjectConditionalWildcard, expObjectEntryStatus=expObjectEntryStatus, expValue=expValue, expValueTable=expValueTable, expValueEntry=expValueEntry, expValueInstance=expValueInstance, expValueCounter32Val=expValueCounter32Val, expValueUnsigned32Val=expValueUnsigned32Val, expValueTimeTicksVal=expValueTimeTicksVal, expValueInteger32Val=expValueInteger32Val, expValueIpAddressVal=expValueIpAddressVal, expValueOctetStringVal=expValueOctetStringVal, expValueOidVal=expValueOidVal, expValueCounter64Val=expValueCounter64Val, dismanExpressionMIBConformance=dismanExpressionMIBConformance, dismanExpressionMIBCompliances=dismanExpressionMIBCompliances, dismanExpressionMIBGroups=dismanExpressionMIBGroups) # Groups mibBuilder.exportSymbols("DISMAN-EXPRESSION-MIB", dismanExpressionResourceGroup=dismanExpressionResourceGroup, dismanExpressionDefinitionGroup=dismanExpressionDefinitionGroup, dismanExpressionValueGroup=dismanExpressionValueGroup) # Compliances mibBuilder.exportSymbols("DISMAN-EXPRESSION-MIB", dismanExpressionMIBCompliance=dismanExpressionMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/FRNETSERV-MIB.py0000644000014400001440000022422411736645136021021 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FRNETSERV-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:00 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( RowStatus, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TimeStamp") # Objects frnetservMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 44)).setRevisions(("2000-09-28 00:00","1993-11-16 12:00",)) if mibBuilder.loadTexts: frnetservMIB.setOrganization("IETF Frame Relay Service MIB Working Group") if mibBuilder.loadTexts: frnetservMIB.setContactInfo("WG Charter:\nhttp://www.ietf.org/html.charters/frnetmib-charter\nWG-email:\nfrnetmib@sunroof.eng.sun.com\n\n\nSubscribe:\nfrnetmib-request@sunroof.eng.sun.com\nEmail Archive:\nftp://ftp.ietf.org/ietf-mail-archive/frnetmib\n\nChair: Andy Malis\n Vivace Networks, Inc.\nEmail: Andy.Malis@vivacenetworks.com\n\nWG editor: Kenneth Rehbehn\n Megisto Systems, Inc.\nEmail: krehbehn@megisto.com\n\nCo-author: David Fowler\n Syndesis Limited,\nEMail: fowler@syndesis.com") if mibBuilder.loadTexts: frnetservMIB.setDescription("The MIB module to describe generic objects for\nFrame Relay Network Service.") frnetservObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 44, 1)) frLportTable = MibTable((1, 3, 6, 1, 2, 1, 10, 44, 1, 1)) if mibBuilder.loadTexts: frLportTable.setDescription("The Frame Relay Logical Port Information table is\nan interface-specific addendum to the generic\nifTable of the Interface MIB.") frLportEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: frLportEntry.setDescription("An entry in the Frame Relay Logical Port\nInformation table.") frLportNumPlan = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,3,)).subtype(namedValues=NamedValues(("other", 1), ("e164", 2), ("x121", 3), ("none", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportNumPlan.setDescription("The value of this object identifies the network\naddress numbering plan for this UNI/NNI logical\nport. The network address is the object\nifPhysAddress. The value none(4) implies that\nthere is no ifPhysAddress. The FRS agent will\nreturn an octet string of zero length for\nifPhysAddress. The value other(1) means that an\naddress has been assigned to this interface, but\nthe numbering plan is not enumerated here.") frLportContact = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportContact.setDescription("The value of this object identifies the network\ncontact for this UNI/NNI logical port.") frLportLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportLocation.setDescription("The value of this object identifies the frame\nrelay network location for this UNI/NNI logical\nport.") frLportType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("uni", 1), ("nni", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportType.setDescription("The value of this object identifies the type of\nnetwork interface for this logical port.") frLportAddrDLCILen = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,5,3,)).subtype(namedValues=NamedValues(("twoOctets10Bits", 1), ("threeOctets10Bits", 2), ("threeOctets16Bits", 3), ("fourOctets17Bits", 4), ("fourOctets23Bits", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportAddrDLCILen.setDescription("The value of this object identifies the Q.922\nAddress field length and DLCI length for this\nUNI/NNI logical port.") frLportVCSigProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,2,4,3,)).subtype(namedValues=NamedValues(("none", 1), ("lmi", 2), ("ansiT1617D", 3), ("ansiT1617B", 4), ("ccittQ933A", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportVCSigProtocol.setDescription("The value of this object identifies the Local\nIn-Channel Signaling Protocol that is used for\nthis frame relay UNI/NNI logical port.\n\nnone(1): Interface does not use a PVC\n signaling protocol\n\nlmi(2): Interface operates the Stratacom/\n Nortel/DEC Local Management\n Interface Specification protocol\n\nansiT1617D(3): Interface operates the ANSI T1.617\n Annex D PVC status protocol\n\n\n ansiT1617B(4): Interface operates the ANSI\nT1.617\n Annex B procedures\n\n ccittQ933A(5): Interface operates the ITU Q.933\n Annex A PVC status protocol") frLportVCSigPointer = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 7), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportVCSigPointer.setDescription("The value of this object is used as a pointer to\nthe table that contains the Local In-Channel\nSignaling Protocol parameters and errors for this\nUNI/NNI logical port.\n\nThis object has been deprecated to reflect the\nfact that the local in-channel signaling\nparameters are accessed from a single table\n(frMgtVCSigTable) that includes parameters for all\npossible signaling protocols. Early design\nanticipated multiple tables, one for each\nsignaling protocol.") frLportDLCIIndexValue = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4194303))).setMaxAccess("readonly") if mibBuilder.loadTexts: frLportDLCIIndexValue.setDescription("This object contains a hint to be used for\nfrPVCEndptDLCIIndex when creating entries in the\nfrPVCEndptTable. The SYNTAX of this object\nmatches the SYNTAX of the frPVCEndptDLCIIndex - an\nobject that is restricted to legal Q.922 DLCI\nvalues for the size of the address field.\n\nThe value 0 indicates that no unassigned entries\nare available.\n\nTo obtain the frPVCEndptDLCIIndex value for a new\nentry, the manager issues a management protocol\nretrieval operation to obtain the current value of\n\n\nthis object. After each retrieval, the agent must\nmodify the value to the next unassigned index to\nprevent assignment of the same value to multiple\nmanagement systems.\n\nA management system should repeat the read to\nobtain a new value should an attempt to create the\nnew row using the previously returned hint fail.") frLportTypeAdmin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("uni", 1), ("nni", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frLportTypeAdmin.setDescription("The value of this object desired identifies the\ntype of network interface for this logical port.") frLportVCSigProtocolAdmin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,2,4,3,)).subtype(namedValues=NamedValues(("none", 1), ("lmi", 2), ("ansiT1617D", 3), ("ansiT1617B", 4), ("ccittQ933A", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frLportVCSigProtocolAdmin.setDescription("The value of this object identifies the desired\nLocal In-Channel Signaling Protocol that is used\nfor this frame relay UNI/NNI logical port. This\nvalue must be made the active protocol as soon as\npossible on the device.\n\nRefer to frLportVCSigProtocol for a description of\neach signaling protocol choices.") frLportFragControl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frLportFragControl.setDescription("This object controls the transmission and\nreception of fragmentation frames for this UNI or\nNNI interface.\n\non(1) Frames are fragmented using the interface\n fragmentation format\n Note: The customer side of the interface\n must also be configured to fragment\n frames.\n\noff(2) Frames are not fragmented using the\n interface fragmentation format.") frLportFragSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096)).clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frLportFragSize.setDescription("The value of this object is the size in octets of\nthe maximum size of each fragment to be sent when\nfragmenting. This object is only used by the\nfragmentation transmitter, and the two sides of\nthe interface may differ. The fragment size\nincludes the octets for the frame relay header,\nthe UI octet, the NLPID, the fragmentation header,\nand the fragment payload. If frLportFragControl is\nset to off, this value should be zero.") frMgtVCSigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 44, 1, 2)) if mibBuilder.loadTexts: frMgtVCSigTable.setDescription("The Frame Relay Management VC Signaling\nParameters and Errors table.") frMgtVCSigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: frMgtVCSigEntry.setDescription("An entry in the Frame Relay Management VC\nSignaling Parameters Errors table.") frMgtVCSigProced = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("u2nnet", 1), ("bidirect", 2), ("u2nuser", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigProced.setDescription("The value of this object identifies the local\nin-channel signaling procedural role that is used\nfor this UNI/NNI logical port. Bidirectional\nprocedures implies that both user-side and\nnetwork-side procedural roles are used.\n\nu2nnet(1) Logical port operates user to network\n procedure in the role of the network\n side\n\nbidirect(2) Logical port operates the\n bidirectional procedure (both user\n and network side roles)\n\nu2nuser(3) Logical port operates user to network\n procedure in the role of the user\n side") frMgtVCSigUserN391 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigUserN391.setDescription("The value of this object identifies the User-side\nN391 full status polling cycle value for this\nUNI/NNI logical port. If the logical port is not\nperforming user-side (bidirectional) procedures,\nthen this object is not instantiated and an\nattempt to read will result in the noSuchInstance\nexception response.") frMgtVCSigUserN392 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigUserN392.setDescription("The value of this object identifies the User-side\nN392 error threshold value for this UNI/NNI\nlogical port. If the logical port is not\nperforming user-side (bidirectional) procedures,\nthen this object is not instantiated.") frMgtVCSigUserN393 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigUserN393.setDescription("The value of this object identifies the User-side\nN393 monitored events count value for this UNI/NNI\nlogical port. If the logical port is not\nperforming user-side (bidirectional) procedures,\nthen this object is not instantiated.") frMgtVCSigUserT391 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 30)).clone(10)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigUserT391.setDescription("The value of this object identifies the User-side\nT391 link integrity verification polling timer\nvalue for this UNI/NNI logical port. If the\nlogical port is not performing user-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetN392 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetN392.setDescription("The value of this object identifies the Network-\nside N392 error threshold value (nN2 for LMI) for\nthis UNI/NNI logical port. If the logical port is\nnot performing network-side procedures, then this\nobject is not instantiated.") frMgtVCSigNetN393 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetN393.setDescription("The value of this object identifies the Network-\nside N393 monitored events count value (nN3 for\nLMI) for this UNI/NNI logical port. If the\nlogical port is not performing network-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetT392 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 30)).clone(15)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetT392.setDescription("The value of this object identifies the Network-\nside T392 polling verification timer value (nT2\nfor LMI) for this UNI/NNI logical port. If the\nlogical port is not performing network-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetnN4 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetnN4.setDescription("The value of this object identifies the Network-\nside nN4 maximum status enquires received value\nfor this UNI/NNI logical port. If the logical\nport is not performing network-side procedures or\nis not performing LMI procedures, then this object\nis not instantiated.\n\nThis object applies only to LMI and always has a\nvalue of 5.") frMgtVCSigNetnT3 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5,5),ValueRangeConstraint(10,10),ValueRangeConstraint(15,15),ValueRangeConstraint(20,20),ValueRangeConstraint(25,25),ValueRangeConstraint(30,30),)).clone(20)).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetnT3.setDescription("The value of this object identifies the Network-\nside nT3 timer (for nN4 status enquires received)\nvalue for this UNI/NNI logical port. If the\nlogical port is not performing network-side\nprocedures or is not performing LMI procedures,\nthen this object is not instantiated.\n\n This object applies only to LMI.") frMgtVCSigUserLinkRelErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigUserLinkRelErrors.setDescription("The number of user-side local in-channel\nsignaling link reliability errors (i.e., non-\nreceipt of Status/Status Enquiry messages or\ninvalid sequence numbers in a Link Integrity\nVerification Information Element) for this UNI/NNI\nlogical port. If the logical port is not\n\n\nperforming user-side procedures, then this object\nis not instantiated.") frMgtVCSigUserProtErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigUserProtErrors.setDescription("The number of user-side local in-channel\nsignaling protocol errors (i.e., protocol\ndiscriminator, unnumbered information, message\ntype, call reference, and mandatory information\nelement errors) for this UNI/NNI logical port. If\nthe logical port is not performing user-side\nprocedures, then this object is not instantiated.") frMgtVCSigUserChanInactive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigUserChanInactive.setDescription("The number of times the user-side channel was\ndeclared inactive (i.e., N392 errors in N393\nevents) for this UNI/NNI logical port. If the\nlogical port is not performing user-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetLinkRelErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetLinkRelErrors.setDescription("The number of network-side local in-channel\nsignaling link reliability errors (i.e., non-\nreceipt of Status/Status Enquiry messages or\ninvalid sequence numbers in a Link Integrity\nVerification Information Element) for this UNI/NNI\nlogical port.") frMgtVCSigNetProtErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetProtErrors.setDescription("The number of network-side local in-channel\nsignaling protocol errors (i.e., protocol\ndiscriminator, message type, call reference, and\nmandatory information element errors) for this\nUNI/NNI logical port.") frMgtVCSigNetChanInactive = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frMgtVCSigNetChanInactive.setDescription("The number of times the network-side channel was\ndeclared inactive (i.e., N392 errors in N393\nevents) for this UNI/NNI logical port.") frMgtVCSigProcedAdmin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("u2nnet", 1), ("bidirect", 2), ("u2nuser", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigProcedAdmin.setDescription("The value of this object identifies the local\nin-channel signaling procedural role that is used\nfor this UNI/NNI logical port. Bidirectional\nprocedures implies that both user-side and\nnetwork-side procedural roles are used.\n\nu2nnet(1) Logical port operates user to network\n procedure in the role of the network\n side\n\nbidirect(2) Logical port operates the\n bidirectional procedure (both user\n and network side roles)\n\nu2nuser(3) Logical port operates user to network\n procedure in the role of the user\n side") frMgtVCSigUserN391Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigUserN391Admin.setDescription("The value of this object identifies the desired\nUser-side N391 full status polling cycle value for\nthis UNI/NNI logical port. If the logical port is\nnot performing user-side (bidirectional)\nprocedures, then this object is not instantiated.") frMgtVCSigUserN392Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigUserN392Admin.setDescription("The value of this object identifies the desired\nUser-side N392 error threshold value for this\nUNI/NNI logical port. If the logical port is not\nperforming user-side (bidirectional) procedures,\nthen this object is not instantiated.") frMgtVCSigUserN393Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigUserN393Admin.setDescription("The value of this object identifies the desired\nUser-side N393 monitored events count value for\nthis UNI/NNI logical port. If the logical port is\nnot performing user-side (bidirectional)\nprocedures, then this object is not instantiated.") frMgtVCSigUserT391Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigUserT391Admin.setDescription("The value of this object identifies the desired\nUser-side T391 link integrity verification polling\ntimer value for this UNI/NNI logical port. If the\nlogical port is not performing user-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetN392Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigNetN392Admin.setDescription("The value of this object identifies the desired\nNetwork-side N392 error threshold value (nN2 for\nLMI) for this UNI/NNI logical port. If the\nlogical port is not performing network-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetN393Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigNetN393Admin.setDescription("The value of this object identifies the desired\nNetwork-side N393 monitored events count value\n(nN3 for LMI) for this UNI/NNI logical port. If\nthe logical port is not performing network-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetT392Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigNetT392Admin.setDescription("The value of this object identifies the desired\nNetwork-side T392 polling verification timer value\n(nT2 for LMI) for this UNI/NNI logical port. If\nthe logical port is not performing network-side\nprocedures, then this object is not instantiated.") frMgtVCSigNetnT3Admin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 2, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(5,5),ValueRangeConstraint(10,10),ValueRangeConstraint(15,15),ValueRangeConstraint(20,20),ValueRangeConstraint(25,25),ValueRangeConstraint(30,30),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frMgtVCSigNetnT3Admin.setDescription("The value of this object identifies the desired\nNetwork-side nT3 timer (for nN4 status enquires\nreceived) value for this UNI/NNI logical port. If\nthe logical port is not performing network-side\nprocedures or is not performing LMI procedures,\nthen this object is not instantiated. This object\napplies only to LMI.") frPVCEndptTable = MibTable((1, 3, 6, 1, 2, 1, 10, 44, 1, 3)) if mibBuilder.loadTexts: frPVCEndptTable.setDescription("The Frame Relay PVC End-Point table. This table\nis used to model a PVC end-point. This table\ncontains the traffic parameters and statistics for\na PVC end-point.\n\nThis table is used to identify the traffic\nparameters for a bi-directional PVC segment end-\n\n\npoint, and it also provides statistics for a PVC\nsegment end-point.\n\nA PVC segment end-point is identified by a UNI/NNI\nlogical port index value and DLCI index value.\n\nIf the frame relay service provider allows the\nframe relay CNM subscriber to create, modify or\ndelete PVCs using SNMP, then this table is used to\nidentify and reserve the requested traffic\nparameters of each PVC segment end-point. The\nConnection table is used to 'connect' the end-\npoints together. Not all implementations will\nsupport the capability of\ncreating/modifying/deleting PVCs using SNMP as a\nfeature of frame relay CNM service.\n\nUni-directional PVCs are modeled with zero valued\ntraffic parameters in one of the directions (In or\n Out direction) in this table.\n\nTo create a PVC, the following procedures shall be\nfollowed:\n\n1) Create the entries for the PVC segment\n endpoints in the frPVCEndptTable by specifying\n the traffic parameters for the bi-directional\n PVC segment endpoints. As shown in figure 2, a\n point-to-point PVC has two endpoints, thus two\n entries in this table. Uni-directional PVCs\n are modeled with zero valued traffic\n parameters in one direction; all the `In'\n direction parameters for one frame relay PVC\n End-point or all the `Out' direction\n parameters for the other frame relay PVC\n Endpoint.\n\n In _____________________________ Out\n >>>>>>| |>>>>>>>>\n ______| Frame Relay Network |________\n Out | | In\n <<<<<<|_____________________________|<<<<<<<<\n Frame Relay Frame Relay\n PVC PVC\n Endpoint Endpoint\n\n Figure 2, PVC Terminology\n\n\n\n2) Go to the Frame Relay Connection Group.") frPVCEndptEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FRNETSERV-MIB", "frPVCEndptDLCIIndex")) if mibBuilder.loadTexts: frPVCEndptEntry.setDescription("An entry in the Frame Relay PVC Endpoint table.") frPVCEndptDLCIIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4194303))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frPVCEndptDLCIIndex.setDescription("The value of this object is equal to the DLCI\nvalue for this PVC end-point.\n\nThe values are restricted to the legal range for\nthe size of address field supported by the logical\nport (frLportAddrDLCILen).") frPVCEndptInMaxFrameSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096)).clone(1600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptInMaxFrameSize.setDescription("The value of this object is the size in octets of\nthe largest frame relay information field for this\nPVC end-point in the ingress direction (into the\nframe relay network). The value of\nfrPVCEndptInMaxFrameSize must be less than or\nequal to the corresponding ifMtu for this frame\nrelay UNI/NNI logical port.") frPVCEndptInBc = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptInBc.setDescription("The value of this object is equal to the\ncommitted burst size (Bc) parameter (measured in\nbits) for this PVC end-point in the ingress\ndirection (into the frame relay network).\n\nNote that the max value of this range is lower\nthan the max value allowed by Q.933 (16383 *\n10**6).\n\n\n\nNote that the value is encoded in bits whilst the\nQ.933 Link layer core parameters information\nelement encodes this information using octet\nunits.") frPVCEndptInBe = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptInBe.setDescription("The value of this object is equal to the excess\nburst size (Be) parameter (measured in bits) for\nthis PVC end-point in the ingress direction (into\nthe frame relay network).\n\nNote that the max value of this range is lower\nthan the max value allowed by Q.933 (16383 *\n10**6).\n\nNote that the value is encoded in bits whilst the\nQ.933 Link layer core parameters information\nelement encodes this information using octet\nunits.") frPVCEndptInCIR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptInCIR.setDescription("The value of this object is equal to the\ncommitted information rate (CIR) parameter\n(measured in bits per second) for this PVC end-\npoint in the ingress direction (into the frame\nrelay network).\n\nNote that the max value of this range is lower\nthan the max value allowed by Q.933 (2047 *\n10**6).") frPVCEndptOutMaxFrameSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096)).clone(1600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptOutMaxFrameSize.setDescription("The value of this object is the size in octets of\nthe largest frame relay information field for this\nPVC end-point in the egress direction (out of the\nframe relay network). The value of\nfrPVCEndptOutMaxFrameSize must be less than or\nequal to the corresponding ifMtu for this frame\nrelay UNI/NNI logical port.") frPVCEndptOutBc = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptOutBc.setDescription("The value of this object is equal to the\ncommitted burst size (Bc) parameter (measured in\nbits) for this PVC end-point in the egress\ndirection (out of the frame relay network).\n\nNote that the max value of this range is lower\nthan the max value allowed by Q.933 (16383 *\n10**6).\n\nNote that the value is encoded in bits whilst the\nQ.933 Link layer core parameters information\nelement encodes this information using octet\nunits.") frPVCEndptOutBe = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptOutBe.setDescription("The value of this object is equal to the excess\nburst size (Be) parameter (measured in bits) for\n\n\nthis PVC end-point in the egress direction (out of\nthe frame relay network).\n\nNote that the max value of this range is lower\nthan the max value allowed by Q.933 (16383 *\n10**6).\n\nNote that the value is encoded in bits whilst the\nQ.933 Link layer core parameters information\nelement encodes this information using octet\nunits.") frPVCEndptOutCIR = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptOutCIR.setDescription("The value of this object is equal to the\ncommitted information rate (CIR) parameter\n(measured in bits per second) for this PVC end-\npoint in the egress direction (out of the frame\nrelay network).\n\nNote that the max value of this range is lower\nthan the max value allowed by Q.933 (2047 *\n10**6).") frPVCEndptConnectIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptConnectIdentifier.setDescription("This object is used to associate PVC end-points\nas being part of one PVC segment connection. This\nvalue of this object is equal to the value of\nfrPVCConnectIndex, which is used as one of the\nindices into the frPVCConnectTable.\n\nA connection that has been cross-connected via the\nFR/ATM PVC Service IWF cross-connect table will\nreturn the value zero when this object is read. In\ncase of these interworked connections, the\nfrPVCEndptAtmIwfConnIndex object must be accessed\n\n\nto select the entry in the FR/ATM PVC Service IWF\ncross-connect table.\n\nThe value of this object is provided by the agent,\nafter the associated entries in the\nfrPVCConnectTable or frAtmIwfConnectionTable have\nbeen created.") frPVCEndptRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCEndptRowStatus.setDescription("This object is used to create new rows in this\ntable, modify existing rows, and to delete\nexisting rows. To create a new PVC, the entries\nfor the PVC segment end-points in the\nfrPVCEndptTable must first be created. Next, the\nfrPVCConnectTable is used to associate the frame\nrelay PVC segment end-points. In order for the\nmanager to have the necessary error diagnostics,\nthe frPVCEndptRowStatus object must initially be\nset to `createAndWait(5)'. While the\nfrPVCEndptRowStatus object is in the\n`createAndWait(5)' state, the manager can set each\ncolumnar object and get the necessary error\ndiagnostics. The frPVCEndptRowStatus object may\nnot be set to `active(1)' unless the following\ncolumnar objects exist in this row:\nfrPVCEndptInMaxFrameSize, frPVCEndptInBc,\nfrPVCEndptInBe, frPVCEndptInCIR,\nfrPVCEndptOutMaxFrameSize, frPVCEndptOutBc,\nfrPVCEndptOutBe, and frPVCEndptOutCIR.") frPVCEndptRcvdSigStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,4,3,)).subtype(namedValues=NamedValues(("deleted", 1), ("active", 2), ("inactive", 3), ("none", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptRcvdSigStatus.setDescription("The value of this object identifies the PVC\nstatus received via the local in-channel signaling\n\n\nprocedures for this PVC end-point. This object is\nonly pertinent for interfaces that perform the\nbidirectional procedures.\n\nEach value has the following meaning:\n deleted(1): This PVC is not listed in the full\n status reports received from the\n user device. The object retains\n this value for as long as the PVC\n is not listed in the full status\n reports\n\nactive(2): This PVC is reported as active, or\n operational, by the user device.\n\n inactive(3): This PVC is reported as inactive,\n or non-operational, by the user\n device.\n\n none(4): This interface is only using the\n network-side in-channel signaling\n procedures, so this object does\n not apply.") frPVCEndptInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInFrames.setDescription("The number of frames received by the network\n(ingress) for this PVC end-point. This includes\nany frames discarded by the network due to\nsubmitting more than Bc + Be data or due to any\nnetwork congestion recovery procedures.") frPVCEndptOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutFrames.setDescription("The number of frames sent by the network (egress)\nregardless of whether they are Bc or Be frames for\nthis PVC end-point.") frPVCEndptInDEFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInDEFrames.setDescription("The number of frames received by the network\n(ingress) with the DE bit set to (1) for this PVC\nend-point.") frPVCEndptInExcessFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInExcessFrames.setDescription("The number of frames received by the network\n(ingress) for this PVC end-point which were\ntreated as excess traffic. Frames which are sent\nto the network with DE set to zero are treated as\nexcess when more than Bc bits are submitted to the\nnetwork during the Committed Information Rate\nMeasurement Interval (Tc). Excess traffic may or\nmay not be discarded at the ingress if more than\nBc + Be bits are submitted to the network during\nTc. Traffic discarded at the ingress is not\nrecorded in frPVCEndptInExcessFrames. Frames\nwhich are sent to the network with DE set to one\nare also treated as excess traffic.") frPVCEndptOutExcessFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutExcessFrames.setDescription("The number of frames sent by the network (egress)\nfor this PVC end-point which were treated as\nexcess traffic. (The DE bit may be set to one.)") frPVCEndptInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInDiscards.setDescription("The number of frames received by the network\n(ingress) that were discarded due to traffic\nenforcement for this PVC end-point. Congestion\ndiscards are not counted in this object.") frPVCEndptInOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInOctets.setDescription("The number of octets received by the network\n(ingress) for this PVC end-point. This counter\nshould only count octets from the beginning of the\nframe relay header field to the end of user data.\nIf the network supporting frame relay can not\ncount octets, then this count should be an\napproximation.") frPVCEndptOutOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutOctets.setDescription("The number of octets sent by the network (egress)\nfor this PVC end-point. This counter should only\ncount octets from the beginning of the frame relay\nheader field to the end of user data. If the\nnetwork supporting frame relay can not count\noctets, then this count should be an\napproximation.") frPVCEndptInDiscardsDESet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInDiscardsDESet.setDescription("The number of frames received by the network\n(ingress) that were discarded with the DE bit set\ndue to traffic enforcement for this PVC end-point.\nCongestion discards are not counted in this\nobject.") frPVCEndptInFramesFECNSet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInFramesFECNSet.setDescription("The number of frames received by the network\n(ingress) that have the FECN bit set for this PVC\nend-point.") frPVCEndptOutFramesFECNSet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutFramesFECNSet.setDescription("The number of frames sent by the network (egress)\nthat have the FECN bit set for this PVC end-\npoint.") frPVCEndptInFramesBECNSet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInFramesBECNSet.setDescription("The number of frames received by the network\n(ingress) that have the BECN bit set for this PVC\nend-point.") frPVCEndptOutFramesBECNSet = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutFramesBECNSet.setDescription("The number of frames sent by the network (egress)\nthat have the BECN bit set for this PVC end-\npoint.") frPVCEndptInCongDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInCongDiscards.setDescription("The number of frames received by the network\n(ingress) that were discarded due to input buffer\ncongestion, rather than traffic enforcement, for\nthis PVC end-point.") frPVCEndptInDECongDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptInDECongDiscards.setDescription("The number of frames counted by\nfrPVCEndptInCongDiscards with the DE bit set to\n(1).") frPVCEndptOutCongDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutCongDiscards.setDescription("The number of frames sent by the network (egress)\nthat were discarded due to output buffer\ncongestion for this PVC end-point.") frPVCEndptOutDECongDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutDECongDiscards.setDescription("The number of frames counted by\nfrPVCEndptOutCongDiscards with the DE bit set to\n(1).") frPVCEndptOutDEFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptOutDEFrames.setDescription("The number of frames sent by the network (egress)\nwith the DE bit set to (1) for this PVC end-\npoint.") frPVCEndptAtmIwfConnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 3, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCEndptAtmIwfConnIndex.setDescription("This object contains the index value of the\nFR/ATM cross-connect table entry used to link the\nframe relay PVC with an ATM PVC.\n\nEach row of the frPVCEndptTable that is not\ncross-connected with an ATM PVC must return the\nvalue zero when this object is read.\n\nThe value of this object is initialized by the\nagent after the associated entries in the\nfrAtmIwfConnectionTable have been created.\n\nThe value of this object is reset to zero\nfollowing destruction of the associated entry in\nthe frAtmIwfConnectionTable") frPVCConnectIndexValue = MibScalar((1, 3, 6, 1, 2, 1, 10, 44, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCConnectIndexValue.setDescription("This object returns a hint to be used for\nfrPVCConnectIndex when creating entries in the\nfrPVCConnectTable.\n\nThe value 0 indicates that no unassigned entries\nare available.\n\nTo obtain the frPVCConnectIndex value for a new\nentry, the manager issues a management protocol\nretrieval operation to obtain the current value of\nthis object. After each retrieval, the agent must\n\n\nmodify the value to the next unassigned index to\nprevent assignment of the same value to multiple\nmanagement systems.\n\nA management system should repeat the read to\nobtain a new value should an attempt to create the\nnew row using the previously returned hint fail.") frPVCConnectTable = MibTable((1, 3, 6, 1, 2, 1, 10, 44, 1, 5)) if mibBuilder.loadTexts: frPVCConnectTable.setDescription("The Frame Relay PVC Connect Table is used to\nmodel the bi-directional PVC segment flows\nincluding: point-to-point PVCs, point-to-\nmultipoint PVCs, and multipoint-to-multipoint\nPVCs.\n\nThis table has read-create access and is used to\nassociate PVC end-points together as belonging to\none connection. The frPVCConnectIndex is used to\nassociate all the bi-directional flows. Not all\nimplementations will support the capability of\ncreating/modifying/deleting PVCs using SNMP as a\nfeature of frame relay CNM service.\n\nOnce the entries in the frPVCEndptTable are\ncreated, the following step are used to associate\nthe PVC end-points as belonging to one PVC\nconnection:\n\n1) Obtain a unique frPVCConnectIndex\n using the frPVCConnectIndexValue object.\n\n2) Connect the PVC segment endpoints together\n with the applicable frPVCConnectIndex value\n obtained via frPVCConnectIndexValue. The\n entries in this table are created by using\n the frPVCConnectRowStatus object.\n\n3) The agent will provide the value of the\n corresponding instances of\n frPVCEndptConnectIdentifier with the\n frPVCConnectIndex value.\n\n4) Set frPVCConnectAdminStatus to `active(1)' in\n\n\n all rows for this PVC segment to turn the\n PVC on.\n\nFor example, the Frame Relay PVC Connection Group\nmodels a bi-directional, point-to-point PVC\nsegment as one entry in this table.\n\nFrame Relay Frame Relay\n Network Network\n Low Port High Port\n __________________________________\n | |\n _____| >> from low to high PVC flow >> |_____\n | << from high to low PVC flow << |\n |__________________________________|\n\nThe terms low and high are chosen to represent\nnumerical ordering of a PVC segment's endpoints\nfor representation in this table. That is, the\nendpoint with the lower value of ifIndex is termed\n'low', while the opposite endpoint of the segment\nis termed 'high'. This terminology is to provide\ndirectional information; for example the\nfrPVCConnectL2hOperStatus and\nfrPVCConnectH2lOperStatus as illustrated above.\n\nIf the Frame Relay Connection table is used to\nmodel a unidirectional PVC, then one direction\n(either from low to high or from high to low) has\n its Operational Status equal to down.\n\n A PVC segment is a portion of a PVC that traverses\none Frame Relay Network, and a PVC segment is\nidentified by its two end-points (UNI/NNI logical\nport index value and DLCI index value) through one\nFrame Relay Network.") frPVCConnectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1)).setIndexNames((0, "FRNETSERV-MIB", "frPVCConnectIndex"), (0, "FRNETSERV-MIB", "frPVCConnectLowIfIndex"), (0, "FRNETSERV-MIB", "frPVCConnectLowDLCIIndex"), (0, "FRNETSERV-MIB", "frPVCConnectHighIfIndex"), (0, "FRNETSERV-MIB", "frPVCConnectHighDLCIIndex")) if mibBuilder.loadTexts: frPVCConnectEntry.setDescription("An entry in the Frame Relay PVC Connect table.\nThis entry is used to model a PVC segment in two\ndirections.") frPVCConnectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frPVCConnectIndex.setDescription("The value of this object is equal to the\nfrPVCConnectIndexValue obtained to uniquely\nidentify this PVC segment connection.") frPVCConnectLowIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frPVCConnectLowIfIndex.setDescription("The value of this object is equal to IF-MIB\nifIndex value of the UNI/NNI logical port for this\nPVC segment. The term low implies that this PVC\nsegment end-point has the numerically lower\nifIndex value than the connected/associated PVC\nsegment end-point.\n\nRFC 1604 permitted a zero value for this object to\nidentify termination at a non-frame relay\ninterface. However, this cross-connect table is\nlimited to frame relay connections. See the frame\n\n\nrelay/ATM IWF MIB [28] for the cross-connect table\nused for those types of connections.") frPVCConnectLowDLCIIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4194303))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frPVCConnectLowDLCIIndex.setDescription("The value of this object is equal to the DLCI\nvalue for this end-point of the PVC segment.") frPVCConnectHighIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 4), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frPVCConnectHighIfIndex.setDescription("The value of this object is equal to IF-MIB\nifIndex value for the UNI/NNI logical port for\nthis PVC segment. The term high implies that this\nPVC segment end-point has the numerically higher\nifIndex value than the connected/associated PVC\nsegment end-point.") frPVCConnectHighDLCIIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4194303))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frPVCConnectHighDLCIIndex.setDescription("The value of this object is equal to the egress\nDLCI value for this end-point of the PVC segment.") frPVCConnectAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ("testing", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCConnectAdminStatus.setDescription("The value of this object identifies the desired\nadministrative status of this bi-directional PVC\n\n\nsegment. The active(1) state means the PVC\nsegment is currently operational; the inactive(2)\nstate means the PVC segment is currently not\noperational; the testing(3) state means the PVC\nsegment is currently undergoing a test. This\nstate is set by an administrative entity. This\nvalue affects the PVC status indicated across the\ningress NNI/UNI of both end-points of the bi-\ndirectional PVC segment. When a PVC segment\nconnection is created using this table, this\nobject is initially set to `inactive(2)'. After\nthe frPVCConnectRowStatus object is set to\n`active(1)' (and the corresponding/associated\nentries in the frPVCEndptTable have their\nfrPVCEndptRowStatus object set to `active(1)'),\nthe frPVCConnectAdminStatus object may be set to\n`active(1)' to turn on the PVC segment\nconnection.") frPVCConnectL2hOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ("testing", 3), ("unknown", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCConnectL2hOperStatus.setDescription("The value of this object identifies the current\noperational status of the PVC segment connection\nin one direction; (i.e., in the low to high\ndirection). This value affects the PVC status\nindicated across the ingress NNI/UNI (low side) of\nthe PVC segment.\n\nThe values mean:\n\nactive(1) - PVC is currently operational\n\ninactive(2) - PVC is currently not operational.\n This may be because of an underlying\n LMI or DS1 failure.\n\ntesting(3) - PVC is currently undergoing a test.\n This may be because of an underlying\n frLport or DS1 undergoing a test.\n\n\nunknown(4) - the status of the PVC currently can\n not be determined.") frPVCConnectH2lOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,)).subtype(namedValues=NamedValues(("active", 1), ("inactive", 2), ("testing", 3), ("unknown", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCConnectH2lOperStatus.setDescription("The value of this object identifies the current\noperational status of the PVC segment connection\nin one direction; (i.e., in the high to low\ndirection).. This value affects the PVC status\nindicated across the ingress NNI/UNI (high side)\nof the PVC segment.\n\nThe values mean:\n\nactive(1) - PVC is currently operational\n\ninactive(2) - PVC is currently not operational.\n This may be because of an underlying\n LMI or DS1 failure.\n\ntesting(3) - PVC is currently undergoing a test.\n This may be because of an underlying\n frLport or DS1 undergoing a test.\n\nunknown(4) - the status of the PVC currently can\n not be determined.") frPVCConnectL2hLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 9), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCConnectL2hLastChange.setDescription("The value of the Interface MIB's sysUpTime object\nat the time this PVC segment entered its current\noperational state in the low to high direction.\nIf the current state was entered prior to the last\nre-initialization of the FRS agent, then this\nobject contains a zero value.") frPVCConnectH2lLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 10), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frPVCConnectH2lLastChange.setDescription("The value of the Interface MIB's sysUpTime object\nat the time this PVC segment entered its current\noperational state in the high to low direction.\nIf the current state was entered prior to the last\nre-initialization of the FRS agent, then this\nobject contains a zero value.") frPVCConnectRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCConnectRowStatus.setDescription("The status of this entry in the\nfrPVCConnectTable. This variable is used to\ncreate new connections for the PVC end-points and\nto change existing connections of the PVC end-\npoints. This object must be initially set to\n`createAndWait(5)'. In this state, the agent\nchecks the parameters in the associated entries in\nthe frPVCEndptTable to verify that the PVC end-\npoints can be connected (i.e., the In parameters\nfor one PVC end-point are equal to the Out\nparameters for the other PVC end-point). This\nobject can not be set to `active(1)' unless the\nfollowing columnar object exists in this row:\nfrPVCConnectAdminStatus. The agent also supplies\nthe associated value of frPVCConnectIndex for the\nfrPVCEndptConnectIdentifier instances. To turn on\na PVC segment connection, the\nfrPVCConnectAdminStatus is set to `active(1)'.") frPVCConnectUserName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 12), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCConnectUserName.setDescription("This is a service user assigned textual\nrepresentation of a PVC.") frPVCConnectProviderName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 5, 1, 13), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frPVCConnectProviderName.setDescription("This is a system supplied textual representation\nof PVC. It is assigned by the service provider.") frAccountPVCTable = MibTable((1, 3, 6, 1, 2, 1, 10, 44, 1, 6)) if mibBuilder.loadTexts: frAccountPVCTable.setDescription("The Frame Relay Accounting PVC table. This table\nis used to perform accounting on a PVC segment\nend-point basis.") frAccountPVCEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 44, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FRNETSERV-MIB", "frAccountPVCDLCIIndex")) if mibBuilder.loadTexts: frAccountPVCEntry.setDescription("An entry in the Frame Relay Accounting PVC\ntable.") frAccountPVCDLCIIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4194303))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frAccountPVCDLCIIndex.setDescription("The value of this object is equal to the DLCI\n\n\nvalue for this PVC segment end-point.") frAccountPVCSegmentSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAccountPVCSegmentSize.setDescription("The value of this object is equal to the Segment\nSize for this PVC segment end-point.") frAccountPVCInSegments = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAccountPVCInSegments.setDescription("The value of this object is equal to the number\nof segments received by this PVC segment end-\npoint.") frAccountPVCOutSegments = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAccountPVCOutSegments.setDescription("The value of this object is equal to the number\nof segments sent by this PVC segment end-point.") frAccountLportTable = MibTable((1, 3, 6, 1, 2, 1, 10, 44, 1, 7)) if mibBuilder.loadTexts: frAccountLportTable.setDescription("The Frame Relay Accounting Logical Port table.\nThis table is used to perform accounting on a\nUNI/NNI Logical Port basis.") frAccountLportEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 44, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: frAccountLportEntry.setDescription("An entry in the Frame Relay Accounting Logical\nPort table.") frAccountLportSegmentSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 7, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAccountLportSegmentSize.setDescription("The value of this object is equal to the Segment\nSize for this UNI/NNI logical port.") frAccountLportInSegments = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAccountLportInSegments.setDescription("The value of this object is equal to the number\nof segments received by this UNI/NNI logical\nport.") frAccountLportOutSegments = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 44, 1, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frAccountLportOutSegments.setDescription("The value of this object is equal to the number\n\n\nof segments sent by this UNI/NNI logical port.") frnetservTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 44, 2)) frnetservTrapsPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 44, 2, 0)) frnetservConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 44, 3)) frnetservGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 44, 3, 1)) frnetservCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 44, 3, 2)) # Augmentions # Notifications frPVCConnectStatusNotif = NotificationType((1, 3, 6, 1, 2, 1, 10, 44, 2, 0, 2)).setObjects(*(("FRNETSERV-MIB", "frPVCConnectH2lOperStatus"), ("FRNETSERV-MIB", "frPVCConnectL2hOperStatus"), ("FRNETSERV-MIB", "frPVCEndptRcvdSigStatus"), ) ) if mibBuilder.loadTexts: frPVCConnectStatusNotif.setDescription("This notification indicates that the indicated\nPVC has changed state.\n\nThis notification is not sent if an FR-UNI changes\nstate; a linkDown or linkUp notification should be\nsent instead. The first instance of\nfrPVCEndptRcvdSigStatus is for the endpoint with\nLowIfIndex, LowDLCIIndex. The second instance of\nfrPVCEndptRcvdSigStatus is for the endpoint with\nHighIfIndex, HighDLCIIndex") frPVCConnectStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 10, 44, 2, 1)).setObjects(*(("FRNETSERV-MIB", "frPVCConnectHighDLCIIndex"), ("FRNETSERV-MIB", "frPVCConnectHighIfIndex"), ("FRNETSERV-MIB", "frPVCConnectL2hOperStatus"), ("FRNETSERV-MIB", "frPVCConnectLowIfIndex"), ("FRNETSERV-MIB", "frPVCConnectLowDLCIIndex"), ("FRNETSERV-MIB", "frPVCConnectH2lOperStatus"), ("FRNETSERV-MIB", "frPVCConnectIndex"), ("FRNETSERV-MIB", "frPVCEndptRcvdSigStatus"), ) ) if mibBuilder.loadTexts: frPVCConnectStatusChange.setDescription("Refer to the description of the\nfrPVCConnectStatusNotif notification that has\nreplaced this notification. The notification is\ndeprecated due to the incorrect inclusion of index\nvalues and to take advantage of the trap prefix\nfor automatic conversion from SMIv2 to SMIv1 by\nmaking the one but last sub-ID a zero (i.e. the\nso-called trap prefix).") # Groups frnetservLportGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 1)).setObjects(*(("FRNETSERV-MIB", "frLportNumPlan"), ("FRNETSERV-MIB", "frLportType"), ("FRNETSERV-MIB", "frLportLocation"), ("FRNETSERV-MIB", "frLportVCSigPointer"), ("FRNETSERV-MIB", "frLportAddrDLCILen"), ("FRNETSERV-MIB", "frLportVCSigProtocol"), ("FRNETSERV-MIB", "frLportContact"), ) ) if mibBuilder.loadTexts: frnetservLportGroup.setDescription("A collection of objects providing information\napplicable to a Frame Relay Logical Port. This\ngroup has been deprecated to eliminate reference\n\n\nto the object frLportVCSigPointer.\n\nUse the new group frnetservLportGroup2 as a\nreplacement for this group.") frnetservMgtVCSigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 2)).setObjects(*(("FRNETSERV-MIB", "frMgtVCSigUserLinkRelErrors"), ("FRNETSERV-MIB", "frMgtVCSigUserN391"), ("FRNETSERV-MIB", "frMgtVCSigUserN393"), ("FRNETSERV-MIB", "frMgtVCSigUserN392"), ("FRNETSERV-MIB", "frMgtVCSigNetProtErrors"), ("FRNETSERV-MIB", "frMgtVCSigNetLinkRelErrors"), ("FRNETSERV-MIB", "frMgtVCSigProced"), ("FRNETSERV-MIB", "frMgtVCSigNetN392"), ("FRNETSERV-MIB", "frMgtVCSigNetN393"), ("FRNETSERV-MIB", "frMgtVCSigUserProtErrors"), ("FRNETSERV-MIB", "frMgtVCSigUserChanInactive"), ("FRNETSERV-MIB", "frMgtVCSigNetT392"), ("FRNETSERV-MIB", "frMgtVCSigUserT391"), ("FRNETSERV-MIB", "frMgtVCSigNetChanInactive"), ("FRNETSERV-MIB", "frMgtVCSigNetnT3"), ("FRNETSERV-MIB", "frMgtVCSigNetnN4"), ) ) if mibBuilder.loadTexts: frnetservMgtVCSigGroup.setDescription("A collection of objects providing information\napplicable to the Local In-Channel Signaling\nProcedures used for a UNI/NNI logical port.") frnetservPVCEndptGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 3)).setObjects(*(("FRNETSERV-MIB", "frPVCConnectIndexValue"), ("FRNETSERV-MIB", "frPVCEndptOutOctets"), ("FRNETSERV-MIB", "frPVCEndptOutCIR"), ("FRNETSERV-MIB", "frPVCEndptInMaxFrameSize"), ("FRNETSERV-MIB", "frPVCEndptInCIR"), ("FRNETSERV-MIB", "frPVCEndptInBe"), ("FRNETSERV-MIB", "frPVCEndptOutExcessFrames"), ("FRNETSERV-MIB", "frPVCEndptOutBc"), ("FRNETSERV-MIB", "frPVCEndptOutBe"), ("FRNETSERV-MIB", "frPVCEndptOutFrames"), ("FRNETSERV-MIB", "frPVCEndptInBc"), ("FRNETSERV-MIB", "frPVCEndptConnectIdentifier"), ("FRNETSERV-MIB", "frPVCEndptInExcessFrames"), ("FRNETSERV-MIB", "frPVCEndptInOctets"), ("FRNETSERV-MIB", "frPVCEndptInDiscards"), ("FRNETSERV-MIB", "frPVCEndptInFrames"), ("FRNETSERV-MIB", "frPVCEndptInDEFrames"), ("FRNETSERV-MIB", "frPVCEndptOutMaxFrameSize"), ("FRNETSERV-MIB", "frPVCEndptRowStatus"), ("FRNETSERV-MIB", "frPVCEndptRcvdSigStatus"), ) ) if mibBuilder.loadTexts: frnetservPVCEndptGroup.setDescription("A collection of objects providing information\napplicable to a Frame Relay PVC end-point.") frnetservPVCConnectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 4)).setObjects(*(("FRNETSERV-MIB", "frPVCConnectRowStatus"), ("FRNETSERV-MIB", "frPVCConnectL2hOperStatus"), ("FRNETSERV-MIB", "frPVCConnectAdminStatus"), ("FRNETSERV-MIB", "frPVCConnectH2lLastChange"), ("FRNETSERV-MIB", "frPVCConnectH2lOperStatus"), ("FRNETSERV-MIB", "frPVCConnectL2hLastChange"), ) ) if mibBuilder.loadTexts: frnetservPVCConnectGroup.setDescription("A collection of objects providing information\napplicable to a Frame Relay PVC connection.") frnetservAccountPVCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 5)).setObjects(*(("FRNETSERV-MIB", "frAccountPVCOutSegments"), ("FRNETSERV-MIB", "frAccountPVCSegmentSize"), ("FRNETSERV-MIB", "frAccountPVCInSegments"), ) ) if mibBuilder.loadTexts: frnetservAccountPVCGroup.setDescription("A collection of objects providing accounting\ninformation application to a Frame Relay PVC end-\npoint.") frnetservAccountLportGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 6)).setObjects(*(("FRNETSERV-MIB", "frAccountLportOutSegments"), ("FRNETSERV-MIB", "frAccountLportInSegments"), ("FRNETSERV-MIB", "frAccountLportSegmentSize"), ) ) if mibBuilder.loadTexts: frnetservAccountLportGroup.setDescription("A collection of objects providing accounting\ninformation application to a Frame Relay logical\nport.") frnetservLportGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 7)).setObjects(*(("FRNETSERV-MIB", "frLportNumPlan"), ("FRNETSERV-MIB", "frLportFragSize"), ("FRNETSERV-MIB", "frLportVCSigProtocol"), ("FRNETSERV-MIB", "frLportFragControl"), ("FRNETSERV-MIB", "frLportType"), ("FRNETSERV-MIB", "frLportLocation"), ("FRNETSERV-MIB", "frLportAddrDLCILen"), ("FRNETSERV-MIB", "frLportContact"), ) ) if mibBuilder.loadTexts: frnetservLportGroup2.setDescription("A collection of objects providing information\napplicable to a Frame Relay Logical Port.\n\nThis new version of the Logical Port Group\neliminates the frLportVCSigPointer and adds\nsupport for fragmentation.") frnetservPVCEndptGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 8)).setObjects(*(("FRNETSERV-MIB", "frPVCEndptOutDECongDiscards"), ("FRNETSERV-MIB", "frPVCEndptInFramesFECNSet"), ("FRNETSERV-MIB", "frPVCEndptInDECongDiscards"), ("FRNETSERV-MIB", "frPVCEndptOutFramesBECNSet"), ("FRNETSERV-MIB", "frPVCEndptInFramesBECNSet"), ("FRNETSERV-MIB", "frPVCEndptInCongDiscards"), ("FRNETSERV-MIB", "frPVCEndptOutFramesFECNSet"), ("FRNETSERV-MIB", "frPVCEndptAtmIwfConnIndex"), ("FRNETSERV-MIB", "frPVCEndptOutDEFrames"), ("FRNETSERV-MIB", "frPVCEndptOutCongDiscards"), ("FRNETSERV-MIB", "frPVCEndptInDiscardsDESet"), ) ) if mibBuilder.loadTexts: frnetservPVCEndptGroup2.setDescription("Additions to the PVC end-point group. These\nadditions provide new frame counters to track\nframe loss. In addition, the new FR/ATM IWF MIB\ncross-connect index is included.") frnetservPVCConnectNamesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 9)).setObjects(*(("FRNETSERV-MIB", "frPVCConnectUserName"), ("FRNETSERV-MIB", "frPVCConnectProviderName"), ) ) if mibBuilder.loadTexts: frnetservPVCConnectNamesGroup.setDescription("Additions to the PVC Connect Group.") frnetservLportAdminGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 10)).setObjects(*(("FRNETSERV-MIB", "frLportTypeAdmin"), ("FRNETSERV-MIB", "frLportDLCIIndexValue"), ("FRNETSERV-MIB", "frLportVCSigProtocolAdmin"), ) ) if mibBuilder.loadTexts: frnetservLportAdminGroup.setDescription("Administrative (R/W) objects for creating a\nswitch logical port.") frnetservMgtVCSigAdminGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 11)).setObjects(*(("FRNETSERV-MIB", "frMgtVCSigUserT391Admin"), ("FRNETSERV-MIB", "frMgtVCSigNetN392Admin"), ("FRNETSERV-MIB", "frMgtVCSigProcedAdmin"), ("FRNETSERV-MIB", "frMgtVCSigUserN393Admin"), ("FRNETSERV-MIB", "frMgtVCSigNetnT3Admin"), ("FRNETSERV-MIB", "frMgtVCSigUserN391Admin"), ("FRNETSERV-MIB", "frMgtVCSigUserN392Admin"), ("FRNETSERV-MIB", "frMgtVCSigNetT392Admin"), ("FRNETSERV-MIB", "frMgtVCSigNetN393Admin"), ) ) if mibBuilder.loadTexts: frnetservMgtVCSigAdminGroup.setDescription("A collection of objects providing information\napplicable to the Local In-Channel Signaling\nProcedures used for a UNI/NNI logical port.") frnetservPVCNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 12)).setObjects(*(("FRNETSERV-MIB", "frPVCConnectStatusChange"), ) ) if mibBuilder.loadTexts: frnetservPVCNotifGroup.setDescription("Deprecated notification group. The\nfrPVCConnectStatusChange notification was flawed\nbecause it included redundant indexes and was not\nproperly encoded for SMIv1 conversion.") frnetservPVCNotifGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 44, 3, 1, 13)).setObjects(*(("FRNETSERV-MIB", "frPVCConnectStatusNotif"), ) ) if mibBuilder.loadTexts: frnetservPVCNotifGroup2.setDescription("A collection of notifications that apply to frame\nrelay PVC Connections ") # Compliances frnetservCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 44, 3, 2, 1)).setObjects(*(("FRNETSERV-MIB", "frnetservMgtVCSigGroup"), ("FRNETSERV-MIB", "frnetservPVCEndptGroup"), ("FRNETSERV-MIB", "frnetservAccountLportGroup"), ("FRNETSERV-MIB", "frnetservPVCConnectGroup"), ("FRNETSERV-MIB", "frnetservLportGroup"), ("FRNETSERV-MIB", "frnetservAccountPVCGroup"), ) ) if mibBuilder.loadTexts: frnetservCompliance.setDescription("The compliance statement for SNMP entities which\nhave Frame Relay Network Service Interfaces.\n\nThis compliance statement has been deprecated in\nfavor of frnetservCompliance2. The new compliance\nmodule expands the mandatory groups to include\nnotification and other new objects.") frnetservCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 44, 3, 2, 2)).setObjects(*(("FRNETSERV-MIB", "frnetservMgtVCSigGroup"), ("FRNETSERV-MIB", "frnetservPVCEndptGroup"), ("FRNETSERV-MIB", "frnetservAccountLportGroup"), ("FRNETSERV-MIB", "frnetservAccountPVCGroup"), ("FRNETSERV-MIB", "frnetservPVCEndptGroup2"), ("FRNETSERV-MIB", "frnetservPVCConnectGroup"), ("FRNETSERV-MIB", "frnetservPVCNotifGroup2"), ("FRNETSERV-MIB", "frnetservPVCConnectNamesGroup"), ("FRNETSERV-MIB", "frnetservLportGroup2"), ) ) if mibBuilder.loadTexts: frnetservCompliance2.setDescription("The compliance statement for SNMP entities which\nhave Frame Relay Network Service Interfaces.\n\nThe distinction between 'service' and 'switch' is\nthat a 'switch' is configured via this MIB.\nHence, the various read/write objects have write\ncapability. A 'service' represents a passive\nmonitor-only customer network management\ninterface. The various read/write objects are\nrestricted to read-only capability.") frnetSwitchCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 44, 3, 2, 3)).setObjects(*(("FRNETSERV-MIB", "frnetservMgtVCSigGroup"), ("FRNETSERV-MIB", "frnetservAccountLportGroup"), ("FRNETSERV-MIB", "frnetservPVCEndptGroup2"), ("FRNETSERV-MIB", "frnetservPVCConnectGroup"), ("FRNETSERV-MIB", "frnetservPVCNotifGroup2"), ("FRNETSERV-MIB", "frnetservLportGroup2"), ("FRNETSERV-MIB", "frnetservAccountPVCGroup"), ("FRNETSERV-MIB", "frnetservPVCEndptGroup"), ("FRNETSERV-MIB", "frnetservLportAdminGroup"), ("FRNETSERV-MIB", "frnetservMgtVCSigAdminGroup"), ("FRNETSERV-MIB", "frnetservPVCConnectNamesGroup"), ) ) if mibBuilder.loadTexts: frnetSwitchCompliance.setDescription("The compliance statement for SNMP entities which\nhave Frame Relay Network Switch objects.\n\nThe distinction between 'service' and 'switch' is\nthat a 'switch' is configured via this MIB.\n\n\nHence, the various read/write objects have write\ncapability. A 'service' represents a passive\nmonitor-only customer network management\ninterface. The various read/write objects are\nrestricted to read-only capability.") # Exports # Module identity mibBuilder.exportSymbols("FRNETSERV-MIB", PYSNMP_MODULE_ID=frnetservMIB) # Objects mibBuilder.exportSymbols("FRNETSERV-MIB", frnetservMIB=frnetservMIB, frnetservObjects=frnetservObjects, frLportTable=frLportTable, frLportEntry=frLportEntry, frLportNumPlan=frLportNumPlan, frLportContact=frLportContact, frLportLocation=frLportLocation, frLportType=frLportType, frLportAddrDLCILen=frLportAddrDLCILen, frLportVCSigProtocol=frLportVCSigProtocol, frLportVCSigPointer=frLportVCSigPointer, frLportDLCIIndexValue=frLportDLCIIndexValue, frLportTypeAdmin=frLportTypeAdmin, frLportVCSigProtocolAdmin=frLportVCSigProtocolAdmin, frLportFragControl=frLportFragControl, frLportFragSize=frLportFragSize, frMgtVCSigTable=frMgtVCSigTable, frMgtVCSigEntry=frMgtVCSigEntry, frMgtVCSigProced=frMgtVCSigProced, frMgtVCSigUserN391=frMgtVCSigUserN391, frMgtVCSigUserN392=frMgtVCSigUserN392, frMgtVCSigUserN393=frMgtVCSigUserN393, frMgtVCSigUserT391=frMgtVCSigUserT391, frMgtVCSigNetN392=frMgtVCSigNetN392, frMgtVCSigNetN393=frMgtVCSigNetN393, frMgtVCSigNetT392=frMgtVCSigNetT392, frMgtVCSigNetnN4=frMgtVCSigNetnN4, frMgtVCSigNetnT3=frMgtVCSigNetnT3, frMgtVCSigUserLinkRelErrors=frMgtVCSigUserLinkRelErrors, frMgtVCSigUserProtErrors=frMgtVCSigUserProtErrors, frMgtVCSigUserChanInactive=frMgtVCSigUserChanInactive, frMgtVCSigNetLinkRelErrors=frMgtVCSigNetLinkRelErrors, frMgtVCSigNetProtErrors=frMgtVCSigNetProtErrors, frMgtVCSigNetChanInactive=frMgtVCSigNetChanInactive, frMgtVCSigProcedAdmin=frMgtVCSigProcedAdmin, frMgtVCSigUserN391Admin=frMgtVCSigUserN391Admin, frMgtVCSigUserN392Admin=frMgtVCSigUserN392Admin, frMgtVCSigUserN393Admin=frMgtVCSigUserN393Admin, frMgtVCSigUserT391Admin=frMgtVCSigUserT391Admin, frMgtVCSigNetN392Admin=frMgtVCSigNetN392Admin, frMgtVCSigNetN393Admin=frMgtVCSigNetN393Admin, frMgtVCSigNetT392Admin=frMgtVCSigNetT392Admin, frMgtVCSigNetnT3Admin=frMgtVCSigNetnT3Admin, frPVCEndptTable=frPVCEndptTable, frPVCEndptEntry=frPVCEndptEntry, frPVCEndptDLCIIndex=frPVCEndptDLCIIndex, frPVCEndptInMaxFrameSize=frPVCEndptInMaxFrameSize, frPVCEndptInBc=frPVCEndptInBc, frPVCEndptInBe=frPVCEndptInBe, frPVCEndptInCIR=frPVCEndptInCIR, frPVCEndptOutMaxFrameSize=frPVCEndptOutMaxFrameSize, frPVCEndptOutBc=frPVCEndptOutBc, frPVCEndptOutBe=frPVCEndptOutBe, frPVCEndptOutCIR=frPVCEndptOutCIR, frPVCEndptConnectIdentifier=frPVCEndptConnectIdentifier, frPVCEndptRowStatus=frPVCEndptRowStatus, frPVCEndptRcvdSigStatus=frPVCEndptRcvdSigStatus, frPVCEndptInFrames=frPVCEndptInFrames, frPVCEndptOutFrames=frPVCEndptOutFrames, frPVCEndptInDEFrames=frPVCEndptInDEFrames, frPVCEndptInExcessFrames=frPVCEndptInExcessFrames, frPVCEndptOutExcessFrames=frPVCEndptOutExcessFrames, frPVCEndptInDiscards=frPVCEndptInDiscards, frPVCEndptInOctets=frPVCEndptInOctets, frPVCEndptOutOctets=frPVCEndptOutOctets, frPVCEndptInDiscardsDESet=frPVCEndptInDiscardsDESet, frPVCEndptInFramesFECNSet=frPVCEndptInFramesFECNSet, frPVCEndptOutFramesFECNSet=frPVCEndptOutFramesFECNSet, frPVCEndptInFramesBECNSet=frPVCEndptInFramesBECNSet, frPVCEndptOutFramesBECNSet=frPVCEndptOutFramesBECNSet, frPVCEndptInCongDiscards=frPVCEndptInCongDiscards, frPVCEndptInDECongDiscards=frPVCEndptInDECongDiscards, frPVCEndptOutCongDiscards=frPVCEndptOutCongDiscards, frPVCEndptOutDECongDiscards=frPVCEndptOutDECongDiscards, frPVCEndptOutDEFrames=frPVCEndptOutDEFrames, frPVCEndptAtmIwfConnIndex=frPVCEndptAtmIwfConnIndex, frPVCConnectIndexValue=frPVCConnectIndexValue, frPVCConnectTable=frPVCConnectTable, frPVCConnectEntry=frPVCConnectEntry, frPVCConnectIndex=frPVCConnectIndex, frPVCConnectLowIfIndex=frPVCConnectLowIfIndex, frPVCConnectLowDLCIIndex=frPVCConnectLowDLCIIndex, frPVCConnectHighIfIndex=frPVCConnectHighIfIndex, frPVCConnectHighDLCIIndex=frPVCConnectHighDLCIIndex, frPVCConnectAdminStatus=frPVCConnectAdminStatus, frPVCConnectL2hOperStatus=frPVCConnectL2hOperStatus, frPVCConnectH2lOperStatus=frPVCConnectH2lOperStatus, frPVCConnectL2hLastChange=frPVCConnectL2hLastChange, frPVCConnectH2lLastChange=frPVCConnectH2lLastChange, frPVCConnectRowStatus=frPVCConnectRowStatus, frPVCConnectUserName=frPVCConnectUserName, frPVCConnectProviderName=frPVCConnectProviderName, frAccountPVCTable=frAccountPVCTable, frAccountPVCEntry=frAccountPVCEntry, frAccountPVCDLCIIndex=frAccountPVCDLCIIndex, frAccountPVCSegmentSize=frAccountPVCSegmentSize, frAccountPVCInSegments=frAccountPVCInSegments, frAccountPVCOutSegments=frAccountPVCOutSegments, frAccountLportTable=frAccountLportTable, frAccountLportEntry=frAccountLportEntry, frAccountLportSegmentSize=frAccountLportSegmentSize, frAccountLportInSegments=frAccountLportInSegments, frAccountLportOutSegments=frAccountLportOutSegments, frnetservTraps=frnetservTraps, frnetservTrapsPrefix=frnetservTrapsPrefix, frnetservConformance=frnetservConformance, frnetservGroups=frnetservGroups, frnetservCompliances=frnetservCompliances) # Notifications mibBuilder.exportSymbols("FRNETSERV-MIB", frPVCConnectStatusNotif=frPVCConnectStatusNotif, frPVCConnectStatusChange=frPVCConnectStatusChange) # Groups mibBuilder.exportSymbols("FRNETSERV-MIB", frnetservLportGroup=frnetservLportGroup, frnetservMgtVCSigGroup=frnetservMgtVCSigGroup, frnetservPVCEndptGroup=frnetservPVCEndptGroup, frnetservPVCConnectGroup=frnetservPVCConnectGroup, frnetservAccountPVCGroup=frnetservAccountPVCGroup, frnetservAccountLportGroup=frnetservAccountLportGroup, frnetservLportGroup2=frnetservLportGroup2, frnetservPVCEndptGroup2=frnetservPVCEndptGroup2, frnetservPVCConnectNamesGroup=frnetservPVCConnectNamesGroup, frnetservLportAdminGroup=frnetservLportAdminGroup, frnetservMgtVCSigAdminGroup=frnetservMgtVCSigAdminGroup, frnetservPVCNotifGroup=frnetservPVCNotifGroup, frnetservPVCNotifGroup2=frnetservPVCNotifGroup2) # Compliances mibBuilder.exportSymbols("FRNETSERV-MIB", frnetservCompliance=frnetservCompliance, frnetservCompliance2=frnetservCompliance2, frnetSwitchCompliance=frnetSwitchCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DSA-MIB.py0000644000014400001440000004172311736645136020053 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DSA-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:55 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( DistinguishedName, applIndex, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "DistinguishedName", "applIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "TimeStamp") # Objects dsaMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 29)).setRevisions(("1993-11-25 00:00",)) if mibBuilder.loadTexts: dsaMIB.setOrganization("IETF Mail and Directory Management Working\nGroup") if mibBuilder.loadTexts: dsaMIB.setContactInfo(" Glenn Mansfield\n\nPostal: AIC Systems Laboratory\n 6-6-3, Minami Yoshinari\n Aoba-ku, Sendai, 989-32\n JP\n\nTel: +81 22 279 3310\nFax: +81 22 279 3640\nE-Mail: glenn@aic.co.jp") if mibBuilder.loadTexts: dsaMIB.setDescription(" The MIB module for monitoring Directory System Agents.") dsaOpsTable = MibTable((1, 3, 6, 1, 2, 1, 29, 1)) if mibBuilder.loadTexts: dsaOpsTable.setDescription(" The table holding information related to the\nDSA operations.") dsaOpsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 29, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: dsaOpsEntry.setDescription(" Entry containing operations related statistics\nfor a DSA.") dsaAnonymousBinds = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaAnonymousBinds.setDescription(" Number of anonymous binds to this DSA from DUAs\nsince application start.") dsaUnauthBinds = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaUnauthBinds.setDescription(" Number of un-authenticated binds to this\nDSA since application start.") dsaSimpleAuthBinds = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaSimpleAuthBinds.setDescription(" Number of binds to this DSA that were authenticated\nusing simple authentication procedures since\napplication start.") dsaStrongAuthBinds = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaStrongAuthBinds.setDescription(" Number of binds to this DSA that were authenticated\nusing the strong authentication procedures since\napplication start. This includes the binds that were\nauthenticated using external authentication procedures.") dsaBindSecurityErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaBindSecurityErrors.setDescription(" Number of bind operations that have been rejected\nby this DSA due to inappropriateAuthentication or\ninvalidCredentials.") dsaInOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaInOps.setDescription(" Number of operations forwarded to this DSA\nfrom DUAs or other DSAs since application\nstart up.") dsaReadOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaReadOps.setDescription(" Number of read operations serviced by\nthis DSA since application startup.") dsaCompareOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaCompareOps.setDescription(" Number of compare operations serviced by\nthis DSA since application startup.") dsaAddEntryOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaAddEntryOps.setDescription(" Number of addEntry operations serviced by\nthis DSA since application startup.") dsaRemoveEntryOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaRemoveEntryOps.setDescription(" Number of removeEntry operations serviced by\nthis DSA since application startup.") dsaModifyEntryOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaModifyEntryOps.setDescription(" Number of modifyEntry operations serviced by\nthis DSA since application startup.") dsaModifyRDNOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaModifyRDNOps.setDescription(" Number of modifyRDN operations serviced by\nthis DSA since application startup.") dsaListOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaListOps.setDescription(" Number of list operations serviced by\nthis DSA since application startup.") dsaSearchOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaSearchOps.setDescription(" Number of search operations- baseObjectSearches,\noneLevelSearches and subTreeSearches, serviced\nby this DSA since application startup.") dsaOneLevelSearchOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaOneLevelSearchOps.setDescription(" Number of oneLevelSearch operations serviced\nby this DSA since application startup.") dsaWholeTreeSearchOps = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaWholeTreeSearchOps.setDescription(" Number of wholeTreeSearch operations serviced\nby this DSA since application startup.") dsaReferrals = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaReferrals.setDescription(" Number of referrals returned by this DSA in response\nto requests for operations since application startup.") dsaChainings = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaChainings.setDescription(" Number of operations forwarded by this DSA\nto other DSAs since application startup.") dsaSecurityErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaSecurityErrors.setDescription(" Number of operations forwarded to this DSA\nwhich did not meet the security requirements. ") dsaErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaErrors.setDescription(" Number of operations that could not be serviced\ndue to errors other than security errors, and\nreferrals.\nA partially serviced operation will not be counted\nas an error.\nThe errors include NameErrors, UpdateErrors, Attribute\nerrors and ServiceErrors.") dsaEntriesTable = MibTable((1, 3, 6, 1, 2, 1, 29, 2)) if mibBuilder.loadTexts: dsaEntriesTable.setDescription(" The table holding information related to the\nentry statistics and cache performance of the DSAs.") dsaEntriesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 29, 2, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: dsaEntriesEntry.setDescription(" Entry containing statistics pertaining to entries\nheld by a DSA.") dsaMasterEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaMasterEntries.setDescription(" Number of entries mastered in the DSA.") dsaCopyEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaCopyEntries.setDescription(" Number of entries for which systematic (slave)\ncopies are maintained in the DSA.") dsaCacheEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaCacheEntries.setDescription(" Number of entries cached (non-systematic copies) in\nthe DSA. This will include the entries that are\ncached partially. The negative cache is not counted.") dsaCacheHits = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaCacheHits.setDescription(" Number of operations that were serviced from\nthe locally held cache since application\nstartup.") dsaSlaveHits = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaSlaveHits.setDescription(" Number of operations that were serviced from\nthe locally held object replications [ shadow\nentries] since application startup.") dsaIntTable = MibTable((1, 3, 6, 1, 2, 1, 29, 3)) if mibBuilder.loadTexts: dsaIntTable.setDescription(" Each row of this table contains some details\nrelated to the history of the interaction\nof the monitored DSAs with their respective\npeer DSAs.") dsaIntEntry = MibTableRow((1, 3, 6, 1, 2, 1, 29, 3, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "DSA-MIB", "dsaIntIndex")) if mibBuilder.loadTexts: dsaIntEntry.setDescription(" Entry containing interaction details of a DSA\nwith a peer DSA.") dsaIntIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dsaIntIndex.setDescription(" Together with applIndex it forms the unique key to\nidentify the conceptual row which contains useful info\non the (attempted) interaction between the DSA (referred\nto by applIndex) and a peer DSA.") dsaName = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 2), DistinguishedName()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaName.setDescription(" Distinguished Name of the peer DSA to which this\nentry pertains.") dsaTimeOfCreation = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaTimeOfCreation.setDescription(" The value of sysUpTime when this row was created.\nIf the entry was created before the network management\nsubsystem was initialized, this object will contain\na value of zero.") dsaTimeOfLastAttempt = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 4), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaTimeOfLastAttempt.setDescription(" The value of sysUpTime when the last attempt was made\nto contact this DSA. If the last attempt was made before\nthe network management subsystem was initialized, this\nobject will contain a value of zero.") dsaTimeOfLastSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaTimeOfLastSuccess.setDescription(" The value of sysUpTime when the last attempt made to\ncontact this DSA was successful. If there have\nbeen no successful attempts this entry will have a value\nof zero. If the last successful attempt was made before\nthe network management subsystem was initialized, this\nobject will contain a value of zero.") dsaFailuresSinceLastSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaFailuresSinceLastSuccess.setDescription(" The number of failures since the last time an\nattempt to contact this DSA was successful. If\nthere has been no successful attempts, this counter\nwill contain the number of failures since this entry\nwas created.") dsaFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaFailures.setDescription(" Cumulative failures since the creation of\nthis entry.") dsaSuccesses = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaSuccesses.setDescription(" Cumulative successes since the creation of\nthis entry.") dsaConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 29, 4)) dsaGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 29, 4, 1)) dsaCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 29, 4, 2)) # Augmentions # Groups dsaOpsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 29, 4, 1, 1)).setObjects(*(("DSA-MIB", "dsaSearchOps"), ("DSA-MIB", "dsaReferrals"), ("DSA-MIB", "dsaModifyRDNOps"), ("DSA-MIB", "dsaSecurityErrors"), ("DSA-MIB", "dsaReadOps"), ("DSA-MIB", "dsaErrors"), ("DSA-MIB", "dsaListOps"), ("DSA-MIB", "dsaAddEntryOps"), ("DSA-MIB", "dsaChainings"), ("DSA-MIB", "dsaCompareOps"), ("DSA-MIB", "dsaOneLevelSearchOps"), ("DSA-MIB", "dsaStrongAuthBinds"), ("DSA-MIB", "dsaAnonymousBinds"), ("DSA-MIB", "dsaSimpleAuthBinds"), ("DSA-MIB", "dsaUnauthBinds"), ("DSA-MIB", "dsaWholeTreeSearchOps"), ("DSA-MIB", "dsaBindSecurityErrors"), ("DSA-MIB", "dsaInOps"), ("DSA-MIB", "dsaRemoveEntryOps"), ("DSA-MIB", "dsaModifyEntryOps"), ) ) if mibBuilder.loadTexts: dsaOpsGroup.setDescription(" A collection of objects for monitoring the DSA\noperations.") dsaEntryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 29, 4, 1, 2)).setObjects(*(("DSA-MIB", "dsaCacheHits"), ("DSA-MIB", "dsaCopyEntries"), ("DSA-MIB", "dsaCacheEntries"), ("DSA-MIB", "dsaMasterEntries"), ("DSA-MIB", "dsaSlaveHits"), ) ) if mibBuilder.loadTexts: dsaEntryGroup.setDescription(" A collection of objects for monitoring the DSA\nentry statistics and cache performance.") dsaIntGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 29, 4, 1, 3)).setObjects(*(("DSA-MIB", "dsaName"), ("DSA-MIB", "dsaTimeOfCreation"), ("DSA-MIB", "dsaFailuresSinceLastSuccess"), ("DSA-MIB", "dsaSuccesses"), ("DSA-MIB", "dsaFailures"), ("DSA-MIB", "dsaTimeOfLastAttempt"), ("DSA-MIB", "dsaTimeOfLastSuccess"), ) ) if mibBuilder.loadTexts: dsaIntGroup.setDescription(" A collection of objects for monitoring the DSA's\ninteraction with peer DSAs.") # Compliances dsaOpsCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 29, 4, 2, 1)).setObjects(*(("DSA-MIB", "dsaOpsGroup"), ) ) if mibBuilder.loadTexts: dsaOpsCompliance.setDescription("The compliance statement for SNMPv2 entities\nwhich implement the DSA-MIB for monitoring\nDSA operations.") dsaEntryCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 29, 4, 2, 2)).setObjects(*(("DSA-MIB", "dsaOpsGroup"), ("DSA-MIB", "dsaEntryGroup"), ) ) if mibBuilder.loadTexts: dsaEntryCompliance.setDescription("The compliance statement for SNMPv2 entities\nwhich implement the DSA-MIB for monitoring\nDSA operations, entry statistics and cache\nperformance.") dsaIntCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 29, 4, 2, 3)).setObjects(*(("DSA-MIB", "dsaOpsGroup"), ("DSA-MIB", "dsaIntGroup"), ) ) if mibBuilder.loadTexts: dsaIntCompliance.setDescription(" The compliance statement for SNMPv2 entities\nwhich implement the DSA-MIB for monitoring DSA\noperations and the interaction of the DSA with\npeer DSAs.") # Exports # Module identity mibBuilder.exportSymbols("DSA-MIB", PYSNMP_MODULE_ID=dsaMIB) # Objects mibBuilder.exportSymbols("DSA-MIB", dsaMIB=dsaMIB, dsaOpsTable=dsaOpsTable, dsaOpsEntry=dsaOpsEntry, dsaAnonymousBinds=dsaAnonymousBinds, dsaUnauthBinds=dsaUnauthBinds, dsaSimpleAuthBinds=dsaSimpleAuthBinds, dsaStrongAuthBinds=dsaStrongAuthBinds, dsaBindSecurityErrors=dsaBindSecurityErrors, dsaInOps=dsaInOps, dsaReadOps=dsaReadOps, dsaCompareOps=dsaCompareOps, dsaAddEntryOps=dsaAddEntryOps, dsaRemoveEntryOps=dsaRemoveEntryOps, dsaModifyEntryOps=dsaModifyEntryOps, dsaModifyRDNOps=dsaModifyRDNOps, dsaListOps=dsaListOps, dsaSearchOps=dsaSearchOps, dsaOneLevelSearchOps=dsaOneLevelSearchOps, dsaWholeTreeSearchOps=dsaWholeTreeSearchOps, dsaReferrals=dsaReferrals, dsaChainings=dsaChainings, dsaSecurityErrors=dsaSecurityErrors, dsaErrors=dsaErrors, dsaEntriesTable=dsaEntriesTable, dsaEntriesEntry=dsaEntriesEntry, dsaMasterEntries=dsaMasterEntries, dsaCopyEntries=dsaCopyEntries, dsaCacheEntries=dsaCacheEntries, dsaCacheHits=dsaCacheHits, dsaSlaveHits=dsaSlaveHits, dsaIntTable=dsaIntTable, dsaIntEntry=dsaIntEntry, dsaIntIndex=dsaIntIndex, dsaName=dsaName, dsaTimeOfCreation=dsaTimeOfCreation, dsaTimeOfLastAttempt=dsaTimeOfLastAttempt, dsaTimeOfLastSuccess=dsaTimeOfLastSuccess, dsaFailuresSinceLastSuccess=dsaFailuresSinceLastSuccess, dsaFailures=dsaFailures, dsaSuccesses=dsaSuccesses, dsaConformance=dsaConformance, dsaGroups=dsaGroups, dsaCompliances=dsaCompliances) # Groups mibBuilder.exportSymbols("DSA-MIB", dsaOpsGroup=dsaOpsGroup, dsaEntryGroup=dsaEntryGroup, dsaIntGroup=dsaIntGroup) # Compliances mibBuilder.exportSymbols("DSA-MIB", dsaOpsCompliance=dsaOpsCompliance, dsaEntryCompliance=dsaEntryCompliance, dsaIntCompliance=dsaIntCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/UPS-MIB.py0000644000014400001440000016350311736645141020110 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python UPS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( AutonomousType, DisplayString, TextualConvention, TestAndIncr, TimeInterval, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "DisplayString", "TextualConvention", "TestAndIncr", "TimeInterval", "TimeStamp") # Types class NonNegativeInteger(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class PositiveInteger(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,2147483647) # Objects upsMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 33)).setRevisions(("1994-02-23 00:00",)) if mibBuilder.loadTexts: upsMIB.setOrganization("IETF UPS MIB Working Group") if mibBuilder.loadTexts: upsMIB.setContactInfo(" Jeffrey D. Case\n\nPostal: SNMP Research, Incorporated\n 3001 Kimberlin Heights Road\n Knoxville, TN 37920\n US\n\n Tel: +1 615 573 1434\n Fax: +1 615 573 9197\n\nE-mail: case@snmp.com") if mibBuilder.loadTexts: upsMIB.setDescription("The MIB module to describe Uninterruptible Power\nSupplies.") upsObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1)) upsIdent = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 1)) upsIdentManufacturer = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsIdentManufacturer.setDescription("The name of the UPS manufacturer.") upsIdentModel = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsIdentModel.setDescription("The UPS Model designation.") upsIdentUPSSoftwareVersion = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsIdentUPSSoftwareVersion.setDescription("The UPS firmware/software version(s). This variable\nmay or may not have the same value as\nupsIdentAgentSoftwareVersion in some implementations.") upsIdentAgentSoftwareVersion = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsIdentAgentSoftwareVersion.setDescription("The UPS agent software version. This variable may or\nmay not have the same value as\nupsIdentUPSSoftwareVersion in some implementations.") upsIdentName = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: upsIdentName.setDescription("A string identifying the UPS. This object should be\nset by the administrator.") upsIdentAttachedDevices = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: upsIdentAttachedDevices.setDescription("A string identifying the devices attached to the\noutput(s) of the UPS. This object should be set by\nthe administrator.") upsBattery = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 2)) upsBatteryStatus = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 2, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("unknown", 1), ("batteryNormal", 2), ("batteryLow", 3), ("batteryDepleted", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsBatteryStatus.setDescription("The indication of the capacity remaining in the UPS\nsystem's batteries. A value of batteryNormal\nindicates that the remaining run-time is greater than\nupsConfigLowBattTime. A value of batteryLow indicates\nthat the remaining battery run-time is less than or\nequal to upsConfigLowBattTime. A value of\nbatteryDepleted indicates that the UPS will be unable\nto sustain the present load when and if the utility\npower is lost (including the possibility that the\nutility power is currently absent and the UPS is\nunable to sustain the output).") upsSecondsOnBattery = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 2, 2), NonNegativeInteger()).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: upsSecondsOnBattery.setDescription("If the unit is on battery power, the elapsed time\nsince the UPS last switched to battery power, or the\ntime since the network management subsystem was last\nrestarted, whichever is less. Zero shall be returned\nif the unit is not on battery power.") upsEstimatedMinutesRemaining = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 2, 3), PositiveInteger()).setMaxAccess("readonly").setUnits("minutes") if mibBuilder.loadTexts: upsEstimatedMinutesRemaining.setDescription("An estimate of the time to battery charge depletion\nunder the present load conditions if the utility power\nis off and remains off, or if it were to be lost and\nremain off.") upsEstimatedChargeRemaining = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly").setUnits("percent") if mibBuilder.loadTexts: upsEstimatedChargeRemaining.setDescription("An estimate of the battery charge remaining expressed\nas a percent of full charge.") upsBatteryVoltage = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 2, 5), NonNegativeInteger()).setMaxAccess("readonly").setUnits("0.1 Volt DC") if mibBuilder.loadTexts: upsBatteryVoltage.setDescription("The magnitude of the present battery voltage.") upsBatteryCurrent = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 2, 6), Integer32()).setMaxAccess("readonly").setUnits("0.1 Amp DC") if mibBuilder.loadTexts: upsBatteryCurrent.setDescription("The present battery current.") upsBatteryTemperature = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 2, 7), Integer32()).setMaxAccess("readonly").setUnits("degrees Centigrade") if mibBuilder.loadTexts: upsBatteryTemperature.setDescription("The ambient temperature at or near the UPS Battery\ncasing.") upsInput = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 3)) upsInputLineBads = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 3, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsInputLineBads.setDescription("A count of the number of times the input entered an\nout-of-tolerance condition as defined by the\nmanufacturer. This count is incremented by one each\ntime the input transitions from zero out-of-tolerance\nlines to one or more input lines out-of-tolerance.") upsInputNumLines = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 3, 2), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsInputNumLines.setDescription("The number of input lines utilized in this device.\nThis variable indicates the number of rows in the\ninput table.") upsInputTable = MibTable((1, 3, 6, 1, 2, 1, 33, 1, 3, 3)) if mibBuilder.loadTexts: upsInputTable.setDescription("A list of input table entries. The number of entries\nis given by the value of upsInputNumLines.") upsInputEntry = MibTableRow((1, 3, 6, 1, 2, 1, 33, 1, 3, 3, 1)).setIndexNames((0, "UPS-MIB", "upsInputLineIndex")) if mibBuilder.loadTexts: upsInputEntry.setDescription("An entry containing information applicable to a\nparticular input line.") upsInputLineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 3, 3, 1, 1), PositiveInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: upsInputLineIndex.setDescription("The input line identifier.") upsInputFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 3, 3, 1, 2), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsInputFrequency.setDescription("The present input frequency.") upsInputVoltage = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 3, 3, 1, 3), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsInputVoltage.setDescription("The magnitude of the present input voltage.") upsInputCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 3, 3, 1, 4), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsInputCurrent.setDescription("The magnitude of the present input current.") upsInputTruePower = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 3, 3, 1, 5), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsInputTruePower.setDescription("The magnitude of the present input true power.") upsOutput = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 4)) upsOutputSource = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 4, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,7,4,5,3,6,)).subtype(namedValues=NamedValues(("other", 1), ("none", 2), ("normal", 3), ("bypass", 4), ("battery", 5), ("booster", 6), ("reducer", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsOutputSource.setDescription("The present source of output power. The enumeration\nnone(2) indicates that there is no source of output\npower (and therefore no output power), for example,\nthe system has opened the output breaker.") upsOutputFrequency = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 4, 2), NonNegativeInteger()).setMaxAccess("readonly").setUnits("0.1 Hertz") if mibBuilder.loadTexts: upsOutputFrequency.setDescription("The present output frequency.") upsOutputNumLines = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 4, 3), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsOutputNumLines.setDescription("The number of output lines utilized in this device.\nThis variable indicates the number of rows in the\noutput table.") upsOutputTable = MibTable((1, 3, 6, 1, 2, 1, 33, 1, 4, 4)) if mibBuilder.loadTexts: upsOutputTable.setDescription("A list of output table entries. The number of\nentries is given by the value of upsOutputNumLines.") upsOutputEntry = MibTableRow((1, 3, 6, 1, 2, 1, 33, 1, 4, 4, 1)).setIndexNames((0, "UPS-MIB", "upsOutputLineIndex")) if mibBuilder.loadTexts: upsOutputEntry.setDescription("An entry containing information applicable to a\nparticular output line.") upsOutputLineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 4, 4, 1, 1), PositiveInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: upsOutputLineIndex.setDescription("The output line identifier.") upsOutputVoltage = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 4, 4, 1, 2), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsOutputVoltage.setDescription("The present output voltage.") upsOutputCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 4, 4, 1, 3), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsOutputCurrent.setDescription("The present output current.") upsOutputPower = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 4, 4, 1, 4), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsOutputPower.setDescription("The present output true power.") upsOutputPercentLoad = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 4, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsOutputPercentLoad.setDescription("The percentage of the UPS power capacity presently\nbeing used on this output line, i.e., the greater of\nthe percent load of true power capacity and the\npercent load of VA.") upsBypass = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 5)) upsBypassFrequency = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 5, 1), NonNegativeInteger()).setMaxAccess("readonly").setUnits("0.1 Hertz") if mibBuilder.loadTexts: upsBypassFrequency.setDescription("The present bypass frequency.") upsBypassNumLines = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 5, 2), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsBypassNumLines.setDescription("The number of bypass lines utilized in this device.\nThis entry indicates the number of rows in the bypass\ntable.") upsBypassTable = MibTable((1, 3, 6, 1, 2, 1, 33, 1, 5, 3)) if mibBuilder.loadTexts: upsBypassTable.setDescription("A list of bypass table entries. The number of\nentries is given by the value of upsBypassNumLines.") upsBypassEntry = MibTableRow((1, 3, 6, 1, 2, 1, 33, 1, 5, 3, 1)).setIndexNames((0, "UPS-MIB", "upsBypassLineIndex")) if mibBuilder.loadTexts: upsBypassEntry.setDescription("An entry containing information applicable to a\nparticular bypass input.") upsBypassLineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 5, 3, 1, 1), PositiveInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: upsBypassLineIndex.setDescription("The bypass line identifier.") upsBypassVoltage = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 5, 3, 1, 2), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsBypassVoltage.setDescription("The present bypass voltage.") upsBypassCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 5, 3, 1, 3), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsBypassCurrent.setDescription("The present bypass current.") upsBypassPower = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 5, 3, 1, 4), NonNegativeInteger()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsBypassPower.setDescription("The present true power conveyed by the bypass.") upsAlarm = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 6)) upsAlarmsPresent = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 6, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsAlarmsPresent.setDescription("The present number of active alarm conditions.") upsAlarmTable = MibTable((1, 3, 6, 1, 2, 1, 33, 1, 6, 2)) if mibBuilder.loadTexts: upsAlarmTable.setDescription("A list of alarm table entries. The table contains\nzero, one, or many rows at any moment, depending upon\nthe number of alarm conditions in effect. The table\nis initially empty at agent startup. The agent\ncreates a row in the table each time a condition is\ndetected and deletes that row when that condition no\nlonger pertains. The agent creates the first row with\nupsAlarmId equal to 1, and increments the value of\nupsAlarmId each time a new row is created, wrapping to\nthe first free value greater than or equal to 1 when\nthe maximum value of upsAlarmId would otherwise be\nexceeded. Consequently, after multiple operations,\nthe table may become sparse, e.g., containing entries\nfor rows 95, 100, 101, and 203 and the entries should\nnot be assumed to be in chronological order because\nupsAlarmId might have wrapped.\n\nAlarms are named by an AutonomousType (OBJECT\nIDENTIFIER), upsAlarmDescr, to allow a single table to\nreflect well known alarms plus alarms defined by a\nparticular implementation, i.e., as documented in the\nprivate enterprise MIB definition for the device. No\ntwo rows will have the same value of upsAlarmDescr,\nsince alarms define conditions. In order to meet this\nrequirement, care should be taken in the definition of\nalarm conditions to insure that a system cannot enter\nthe same condition multiple times simultaneously.\n\nThe number of rows in the table at any given time is\nreflected by the value of upsAlarmsPresent.") upsAlarmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 33, 1, 6, 2, 1)).setIndexNames((0, "UPS-MIB", "upsAlarmId")) if mibBuilder.loadTexts: upsAlarmEntry.setDescription("An entry containing information applicable to a\nparticular alarm.") upsAlarmId = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 6, 2, 1, 1), PositiveInteger()).setMaxAccess("noaccess") if mibBuilder.loadTexts: upsAlarmId.setDescription("A unique identifier for an alarm condition. This\nvalue must remain constant.") upsAlarmDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 6, 2, 1, 2), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsAlarmDescr.setDescription("A reference to an alarm description object. The\nobject referenced should not be accessible, but rather\nbe used to provide a unique description of the alarm\ncondition.") upsAlarmTime = MibTableColumn((1, 3, 6, 1, 2, 1, 33, 1, 6, 2, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsAlarmTime.setDescription("The value of sysUpTime when the alarm condition was\ndetected. If the alarm condition was detected at the\ntime of agent startup and presumably existed before\nagent startup, the value of upsAlarmTime shall equal\n0.") upsWellKnownAlarms = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 6, 3)) upsAlarmBatteryBad = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 1)) if mibBuilder.loadTexts: upsAlarmBatteryBad.setDescription("One or more batteries have been determined to require\nreplacement.") upsAlarmOnBattery = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 2)) if mibBuilder.loadTexts: upsAlarmOnBattery.setDescription("The UPS is drawing power from the batteries.") upsAlarmLowBattery = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 3)) if mibBuilder.loadTexts: upsAlarmLowBattery.setDescription("The remaining battery run-time is less than or equal\nto upsConfigLowBattTime.") upsAlarmDepletedBattery = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 4)) if mibBuilder.loadTexts: upsAlarmDepletedBattery.setDescription("The UPS will be unable to sustain the present load\nwhen and if the utility power is lost.") upsAlarmTempBad = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 5)) if mibBuilder.loadTexts: upsAlarmTempBad.setDescription("A temperature is out of tolerance.") upsAlarmInputBad = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 6)) if mibBuilder.loadTexts: upsAlarmInputBad.setDescription("An input condition is out of tolerance.") upsAlarmOutputBad = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 7)) if mibBuilder.loadTexts: upsAlarmOutputBad.setDescription("An output condition (other than OutputOverload) is\nout of tolerance.") upsAlarmOutputOverload = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 8)) if mibBuilder.loadTexts: upsAlarmOutputOverload.setDescription("The output load exceeds the UPS output capacity.") upsAlarmOnBypass = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 9)) if mibBuilder.loadTexts: upsAlarmOnBypass.setDescription("The Bypass is presently engaged on the UPS.") upsAlarmBypassBad = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 10)) if mibBuilder.loadTexts: upsAlarmBypassBad.setDescription("The Bypass is out of tolerance.") upsAlarmOutputOffAsRequested = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 11)) if mibBuilder.loadTexts: upsAlarmOutputOffAsRequested.setDescription("The UPS has shutdown as requested, i.e., the output\nis off.") upsAlarmUpsOffAsRequested = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 12)) if mibBuilder.loadTexts: upsAlarmUpsOffAsRequested.setDescription("The entire UPS has shutdown as commanded.") upsAlarmChargerFailed = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 13)) if mibBuilder.loadTexts: upsAlarmChargerFailed.setDescription("An uncorrected problem has been detected within the\nUPS charger subsystem.") upsAlarmUpsOutputOff = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 14)) if mibBuilder.loadTexts: upsAlarmUpsOutputOff.setDescription("The output of the UPS is in the off state.") upsAlarmUpsSystemOff = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 15)) if mibBuilder.loadTexts: upsAlarmUpsSystemOff.setDescription("The UPS system is in the off state.") upsAlarmFanFailure = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 16)) if mibBuilder.loadTexts: upsAlarmFanFailure.setDescription("The failure of one or more fans in the UPS has been\ndetected.") upsAlarmFuseFailure = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 17)) if mibBuilder.loadTexts: upsAlarmFuseFailure.setDescription("The failure of one or more fuses has been detected.") upsAlarmGeneralFault = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 18)) if mibBuilder.loadTexts: upsAlarmGeneralFault.setDescription("A general fault in the UPS has been detected.") upsAlarmDiagnosticTestFailed = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 19)) if mibBuilder.loadTexts: upsAlarmDiagnosticTestFailed.setDescription("The result of the last diagnostic test indicates a\nfailure.") upsAlarmCommunicationsLost = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 20)) if mibBuilder.loadTexts: upsAlarmCommunicationsLost.setDescription("A problem has been encountered in the communications\nbetween the agent and the UPS.") upsAlarmAwaitingPower = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 21)) if mibBuilder.loadTexts: upsAlarmAwaitingPower.setDescription("The UPS output is off and the UPS is awaiting the\nreturn of input power.") upsAlarmShutdownPending = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 22)) if mibBuilder.loadTexts: upsAlarmShutdownPending.setDescription("A upsShutdownAfterDelay countdown is underway.") upsAlarmShutdownImminent = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 23)) if mibBuilder.loadTexts: upsAlarmShutdownImminent.setDescription("The UPS will turn off power to the load in less than\n5 seconds; this may be either a timed shutdown or a\nlow battery shutdown.") upsAlarmTestInProgress = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 6, 3, 24)) if mibBuilder.loadTexts: upsAlarmTestInProgress.setDescription("A test is in progress, as initiated and indicated by\nthe Test Group. Tests initiated via other\nimplementation-specific mechanisms can indicate the\npresence of the testing in the alarm table, if\ndesired, via a OBJECT-IDENTITY macro in the MIB\ndocument specific to that implementation and are\noutside the scope of this OBJECT-IDENTITY.") upsTest = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 7)) upsTestId = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 7, 1), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: upsTestId.setDescription("The test is named by an OBJECT IDENTIFIER which\nallows a standard mechanism for the initiation of\ntests, including the well known tests identified in\nthis document as well as those introduced by a\nparticular implementation, i.e., as documented in the\nprivate enterprise MIB definition for the device.\n\nSetting this variable initiates the named test. Sets\nto this variable require the presence of\nupsTestSpinLock in the same SNMP message.\n\nThe set request will be rejected with an appropriate\nerror message if the requested test cannot be\nperformed, including attempts to start a test when\nanother test is already in progress. The status of\nthe current or last test is maintained in\nupsTestResultsSummary. Tests in progress may be\naborted by setting the upsTestId variable to\nupsTestAbortTestInProgress.\n\nRead operations return the value of the name of the\ntest in progress if a test is in progress or the name\nof the last test performed if no test is in progress,\nunless no test has been run, in which case the well\nknown value upsTestNoTestsInitiated is returned.") upsTestSpinLock = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 7, 2), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: upsTestSpinLock.setDescription("A spin lock on the test subsystem. The spinlock is\nused as follows.\n\nBefore starting a test, a manager-station should make\nsure that a test is not in progress as follows:\n\n try_again:\n get (upsTestSpinLock)\n while (upsTestResultsSummary == inProgress) {\n /* loop while a test is running for another\nmanager */\n short delay\n get (upsTestSpinLock)\n }\n lock_value = upsTestSpinLock\n /* no test in progress, start the test */\n set (upsTestSpinLock = lock_value, upsTestId =\nrequested_test)\n if (error_index == 1) { /* (upsTestSpinLock\nfailed) */\n /* if problem is not access control, then\n some other manager slipped in ahead of us\n*/\n goto try_again\n }\n if (error_index == 2) { /* (upsTestId) */\n /* cannot perform the test */\n give up\n }\n /* test started ok */\n /* wait for test completion by polling\nupsTestResultsSummary */\n get (upsTestSpinLock, upsTestResultsSummary,\nupsTestResultsDetail)\n while (upsTestResultsSummary == inProgress) {\n short delay\n get (upsTestSpinLock, upsTestResultsSummary,\nupsTestResultsDetail)\n }\n /* when test completes, retrieve any additional\ntest results */\n /* if upsTestSpinLock == lock_value + 1, then\nthese are our test */\n /* results (as opposed to another manager's */\n The initial value of upsTestSpinLock at agent\ninitialization shall\n be 1.") upsTestResultsSummary = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 7, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,6,)).subtype(namedValues=NamedValues(("donePass", 1), ("doneWarning", 2), ("doneError", 3), ("aborted", 4), ("inProgress", 5), ("noTestsInitiated", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsTestResultsSummary.setDescription("The results of the current or last UPS diagnostics\ntest performed. The values for donePass(1),\ndoneWarning(2), and doneError(3) indicate that the\ntest completed either successfully, with a warning, or\nwith an error, respectively. The value aborted(4) is\nreturned for tests which are aborted by setting the\nvalue of upsTestId to upsTestAbortTestInProgress.\nTests which have not yet concluded are indicated by\ninProgress(5). The value noTestsInitiated(6)\nindicates that no previous test results are available,\nsuch as is the case when no tests have been run since\nthe last reinitialization of the network management\nsubsystem and the system has no provision for non-\nvolatile storage of test results.") upsTestResultsDetail = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 7, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: upsTestResultsDetail.setDescription("Additional information about upsTestResultsSummary.\nIf no additional information available, a zero length\nstring is returned.") upsTestStartTime = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 7, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsTestStartTime.setDescription("The value of sysUpTime at the time the test in\nprogress was initiated, or, if no test is in progress,\nthe time the previous test was initiated. If the\nvalue of upsTestResultsSummary is noTestsInitiated(6),\nupsTestStartTime has the value 0.") upsTestElapsedTime = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 7, 6), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: upsTestElapsedTime.setDescription("The amount of time, in TimeTicks, since the test in\nprogress was initiated, or, if no test is in progress,\nthe previous test took to complete. If the value of\nupsTestResultsSummary is noTestsInitiated(6),\nupsTestElapsedTime has the value 0.") upsWellKnownTests = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 7, 7)) upsTestNoTestsInitiated = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 7, 7, 1)) if mibBuilder.loadTexts: upsTestNoTestsInitiated.setDescription("No tests have been initiated and no test is in\nprogress.") upsTestAbortTestInProgress = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 7, 7, 2)) if mibBuilder.loadTexts: upsTestAbortTestInProgress.setDescription("The test in progress is to be aborted / the test in\nprogress was aborted.") upsTestGeneralSystemsTest = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 7, 7, 3)) if mibBuilder.loadTexts: upsTestGeneralSystemsTest.setDescription("The manufacturer's standard test of UPS device\nsystems.") upsTestQuickBatteryTest = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 7, 7, 4)) if mibBuilder.loadTexts: upsTestQuickBatteryTest.setDescription("A test that is sufficient to determine if the battery\nneeds replacement.") upsTestDeepBatteryCalibration = ObjectIdentity((1, 3, 6, 1, 2, 1, 33, 1, 7, 7, 5)) if mibBuilder.loadTexts: upsTestDeepBatteryCalibration.setDescription("The system is placed on battery to a discharge level,\nset by the manufacturer, sufficient to determine\nbattery replacement and battery run-time with a high\ndegree of confidence. WARNING: this test will leave\nthe battery in a low charge state and will require\ntime for recharging to a level sufficient to provide\nnormal battery duration for the protected load.") upsControl = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 8)) upsShutdownType = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 8, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("output", 1), ("system", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: upsShutdownType.setDescription("This object determines the nature of the action to be\ntaken at the time when the countdown of the\nupsShutdownAfterDelay and upsRebootWithDuration\nobjects reaches zero.\n\nSetting this object to output(1) indicates that\nshutdown requests should cause only the output of the\nUPS to turn off. Setting this object to system(2)\nindicates that shutdown requests will cause the entire\nUPS system to turn off.") upsShutdownAfterDelay = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: upsShutdownAfterDelay.setDescription("Setting this object will shutdown (i.e., turn off)\neither the UPS output or the UPS system (as determined\nby the value of upsShutdownType at the time of\nshutdown) after the indicated number of seconds, or\nless if the UPS batteries become depleted. Setting\nthis object to 0 will cause the shutdown to occur\nimmediately. Setting this object to -1 will abort the\ncountdown. If the system is already in the desired\nstate at the time the countdown reaches 0, then\nnothing will happen. That is, there is no additional\naction at that time if upsShutdownType = system and\nthe system is already off. Similarly, there is no\nadditional action at that time if upsShutdownType =\noutput and the output is already off. When read,\nupsShutdownAfterDelay will return the number of\nseconds remaining until shutdown, or -1 if no shutdown\ncountdown is in effect. On some systems, if the agent\nis restarted while a shutdown countdown is in effect,\nthe countdown may be aborted. Sets to this object\noverride any upsShutdownAfterDelay already in effect.") upsStartupAfterDelay = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 8, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: upsStartupAfterDelay.setDescription("Setting this object will start the output after the\nindicated number of seconds, including starting the\nUPS, if necessary. Setting this object to 0 will\ncause the startup to occur immediately. Setting this\nobject to -1 will abort the countdown. If the output\nis already on at the time the countdown reaches 0,\nthen nothing will happen. Sets to this object\noverride the effect of any upsStartupAfterDelay\ncountdown or upsRebootWithDuration countdown in\nprogress. When read, upsStartupAfterDelay will return\nthe number of seconds until startup, or -1 if no\nstartup countdown is in effect. If the countdown\nexpires during a utility failure, the startup shall\nnot occur until the utility power is restored. On\nsome systems, if the agent is restarted while a\nstartup countdown is in effect, the countdown is\naborted.") upsRebootWithDuration = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 8, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 300))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: upsRebootWithDuration.setDescription("Setting this object will immediately shutdown (i.e.,\nturn off) either the UPS output or the UPS system (as\ndetermined by the value of upsShutdownType at the time\nof shutdown) for a period equal to the indicated\nnumber of seconds, after which time the output will be\nstarted, including starting the UPS, if necessary. If\nthe number of seconds required to perform the request\nis greater than the requested duration, then the\nrequested shutdown and startup cycle shall be\nperformed in the minimum time possible, but in no case\nshall this require more than the requested duration\nplus 60 seconds. When read, upsRebootWithDuration\nshall return the number of seconds remaining in the\ncountdown, or -1 if no countdown is in progress. If\nthe startup should occur during a utility failure, the\nstartup shall not occur until the utility power is\nrestored.") upsAutoRestart = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 8, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("on", 1), ("off", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: upsAutoRestart.setDescription("Setting this object to 'on' will cause the UPS system\nto restart after a shutdown if the shutdown occurred\nduring a power loss as a result of either a\nupsShutdownAfterDelay or an internal battery depleted\ncondition. Setting this object to 'off' will prevent\nthe UPS system from restarting after a shutdown until\nan operator manually or remotely explicitly restarts\nit. If the UPS is in a startup or reboot countdown,\nthen the UPS will not restart until that delay has\nbeen satisfied.") upsConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 1, 9)) upsConfigInputVoltage = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 1), NonNegativeInteger()).setMaxAccess("readwrite").setUnits("RMS Volts") if mibBuilder.loadTexts: upsConfigInputVoltage.setDescription("The magnitude of the nominal input voltage. On those\nsystems which support read-write access to this\nobject, if there is an attempt to set this variable to\na value that is not supported, the request must be\nrejected and the agent shall respond with an\nappropriate error message, i.e., badValue for SNMPv1,\nor inconsistentValue for SNMPv2.") upsConfigInputFreq = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 2), NonNegativeInteger()).setMaxAccess("readwrite").setUnits("0.1 Hertz") if mibBuilder.loadTexts: upsConfigInputFreq.setDescription("The nominal input frequency. On those systems which\nsupport read-write access to this object, if there is\nan attempt to set this variable to a value that is not\nsupported, the request must be rejected and the agent\nshall respond with an appropriate error message, i.e.,\nbadValue for SNMPv1, or inconsistentValue for SNMPv2.") upsConfigOutputVoltage = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 3), NonNegativeInteger()).setMaxAccess("readwrite").setUnits("RMS Volts") if mibBuilder.loadTexts: upsConfigOutputVoltage.setDescription("The magnitude of the nominal output voltage. On\nthose systems which support read-write access to this\nobject, if there is an attempt to set this variable to\na value that is not supported, the request must be\nrejected and the agent shall respond with an\nappropriate error message, i.e., badValue for SNMPv1,\nor inconsistentValue for SNMPv2.") upsConfigOutputFreq = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 4), NonNegativeInteger()).setMaxAccess("readwrite").setUnits("0.1 Hertz") if mibBuilder.loadTexts: upsConfigOutputFreq.setDescription("The nominal output frequency. On those systems which\nsupport read-write access to this object, if there is\nan attempt to set this variable to a value that is not\nsupported, the request must be rejected and the agent\nshall respond with an appropriate error message, i.e.,\nbadValue for SNMPv1, or inconsistentValue for SNMPv2.") upsConfigOutputVA = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 5), NonNegativeInteger()).setMaxAccess("readonly").setUnits("Volt-Amps") if mibBuilder.loadTexts: upsConfigOutputVA.setDescription("The magnitude of the nominal Volt-Amp rating.") upsConfigOutputPower = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 6), NonNegativeInteger()).setMaxAccess("readonly").setUnits("Watts") if mibBuilder.loadTexts: upsConfigOutputPower.setDescription("The magnitude of the nominal true power rating.") upsConfigLowBattTime = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 7), NonNegativeInteger()).setMaxAccess("readwrite").setUnits("minutes") if mibBuilder.loadTexts: upsConfigLowBattTime.setDescription("The value of upsEstimatedMinutesRemaining at which a\nlowBattery condition is declared. For agents which\nsupport only discrete (discontinuous) values, then the\nagent shall round up to the next supported value. If\nthe requested value is larger than the largest\nsupported value, then the largest supported value\nshall be selected.") upsConfigAudibleStatus = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("enabled", 2), ("muted", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: upsConfigAudibleStatus.setDescription("The requested state of the audible alarm. When in\nthe disabled state, the audible alarm should never\nsound. The enabled state is self-describing. Setting\nthis object to muted(3) when the audible alarm is\nsounding shall temporarily silence the alarm. It will\nremain muted until it would normally stop sounding and\nthe value returned for read operations during this\nperiod shall equal muted(3). At the end of this\nperiod, the value shall revert to enabled(2). Writes\nof the value muted(3) when the audible alarm is not\nsounding shall be accepted but otherwise shall have no\neffect.") upsConfigLowVoltageTransferPoint = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 9), NonNegativeInteger()).setMaxAccess("readwrite").setUnits("RMS Volts") if mibBuilder.loadTexts: upsConfigLowVoltageTransferPoint.setDescription("The minimum input line voltage allowed before the UPS\nsystem transfers to battery backup.") upsConfigHighVoltageTransferPoint = MibScalar((1, 3, 6, 1, 2, 1, 33, 1, 9, 10), NonNegativeInteger()).setMaxAccess("readwrite").setUnits("RMS Volts") if mibBuilder.loadTexts: upsConfigHighVoltageTransferPoint.setDescription("The maximum line voltage allowed before the UPS\nsystem transfers to battery backup.") upsTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 2)) upsConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 3)) upsCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 3, 1)) upsGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 3, 2)) upsSubsetGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 3, 2, 1)) upsBasicGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 3, 2, 2)) upsFullGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 33, 3, 2, 3)) # Augmentions # Notifications upsTrapOnBattery = NotificationType((1, 3, 6, 1, 2, 1, 33, 2, 1)).setObjects(*(("UPS-MIB", "upsEstimatedMinutesRemaining"), ("UPS-MIB", "upsSecondsOnBattery"), ("UPS-MIB", "upsConfigLowBattTime"), ) ) if mibBuilder.loadTexts: upsTrapOnBattery.setDescription("The UPS is operating on battery power. This trap is\npersistent and is resent at one minute intervals until\nthe UPS either turns off or is no longer running on\nbattery.") upsTrapTestCompleted = NotificationType((1, 3, 6, 1, 2, 1, 33, 2, 2)).setObjects(*(("UPS-MIB", "upsTestStartTime"), ("UPS-MIB", "upsTestElapsedTime"), ("UPS-MIB", "upsTestId"), ("UPS-MIB", "upsTestSpinLock"), ("UPS-MIB", "upsTestResultsSummary"), ("UPS-MIB", "upsTestResultsDetail"), ) ) if mibBuilder.loadTexts: upsTrapTestCompleted.setDescription("This trap is sent upon completion of a UPS diagnostic\ntest.") upsTrapAlarmEntryAdded = NotificationType((1, 3, 6, 1, 2, 1, 33, 2, 3)).setObjects(*(("UPS-MIB", "upsAlarmId"), ("UPS-MIB", "upsAlarmDescr"), ) ) if mibBuilder.loadTexts: upsTrapAlarmEntryAdded.setDescription("This trap is sent each time an alarm is inserted into\nto the alarm table. It is sent on the insertion of\nall alarms except for upsAlarmOnBattery and\nupsAlarmTestInProgress.") upsTrapAlarmEntryRemoved = NotificationType((1, 3, 6, 1, 2, 1, 33, 2, 4)).setObjects(*(("UPS-MIB", "upsAlarmId"), ("UPS-MIB", "upsAlarmDescr"), ) ) if mibBuilder.loadTexts: upsTrapAlarmEntryRemoved.setDescription("This trap is sent each time an alarm is removed from\nthe alarm table. It is sent on the removal of all\nalarms except for upsAlarmTestInProgress.") # Groups upsSubsetIdentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 1, 1)).setObjects(*(("UPS-MIB", "upsIdentAgentSoftwareVersion"), ("UPS-MIB", "upsIdentName"), ("UPS-MIB", "upsIdentManufacturer"), ("UPS-MIB", "upsIdentAttachedDevices"), ("UPS-MIB", "upsIdentModel"), ) ) if mibBuilder.loadTexts: upsSubsetIdentGroup.setDescription("The upsSubsetIdentGroup defines objects which are\ncommon across all UPSs which meet subset compliance.\nMost devices which conform to the upsSubsetIdentGroup\nwill provide access to these objects via a proxy\nagent. If the proxy agent is compatible with multiple\nUPS types, configuration of the proxy agent will\nrequire specifying some of these values, either\nindividually, or as a group (perhaps through a table\nlookup mechanism based on the UPS model number).") upsSubsetBatteryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 1, 2)).setObjects(*(("UPS-MIB", "upsSecondsOnBattery"), ("UPS-MIB", "upsBatteryStatus"), ) ) if mibBuilder.loadTexts: upsSubsetBatteryGroup.setDescription("The upsSubsetBatteryGroup defines the objects that\nare common to battery groups of two-contact UPSs.") upsSubsetInputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 1, 3)).setObjects(*(("UPS-MIB", "upsInputLineBads"), ) ) if mibBuilder.loadTexts: upsSubsetInputGroup.setDescription("The upsSubsetInputGroup defines the objects that are\ncommon to the Input groups of two-contact UPSs.") upsSubsetOutputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 1, 4)).setObjects(*(("UPS-MIB", "upsOutputSource"), ) ) if mibBuilder.loadTexts: upsSubsetOutputGroup.setDescription("The upsSubsetOutputGroup defines the objects that are\ncommon to the Output groups of two-contact UPSs.") upsSubsetAlarmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 1, 6)).setObjects(*(("UPS-MIB", "upsAlarmsPresent"), ("UPS-MIB", "upsAlarmTime"), ("UPS-MIB", "upsAlarmDescr"), ) ) if mibBuilder.loadTexts: upsSubsetAlarmGroup.setDescription("The upsSubsetAlarmGroup defines the objects that are\ncommon to the Alarm groups of two-contact UPSs.") upsSubsetControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 1, 8)).setObjects(*(("UPS-MIB", "upsAutoRestart"), ("UPS-MIB", "upsShutdownType"), ("UPS-MIB", "upsShutdownAfterDelay"), ) ) if mibBuilder.loadTexts: upsSubsetControlGroup.setDescription("The upsSubsetControlGroup defines the objects that\nare common to the Control groups of two-contact UPSs.") upsSubsetConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 1, 9)).setObjects(*(("UPS-MIB", "upsConfigInputFreq"), ("UPS-MIB", "upsConfigOutputFreq"), ("UPS-MIB", "upsConfigOutputVA"), ("UPS-MIB", "upsConfigOutputVoltage"), ("UPS-MIB", "upsConfigOutputPower"), ("UPS-MIB", "upsConfigInputVoltage"), ) ) if mibBuilder.loadTexts: upsSubsetConfigGroup.setDescription("The upsSubsetConfigGroup defines the objects that are\ncommon to the Config groups of two-contact UPSs.") upsBasicIdentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 1)).setObjects(*(("UPS-MIB", "upsIdentAgentSoftwareVersion"), ("UPS-MIB", "upsIdentUPSSoftwareVersion"), ("UPS-MIB", "upsIdentManufacturer"), ("UPS-MIB", "upsIdentModel"), ("UPS-MIB", "upsIdentName"), ) ) if mibBuilder.loadTexts: upsBasicIdentGroup.setDescription("The upsBasicIdentGroup defines objects which are\ncommon to the Ident group of compliant UPSs which\nsupport basic functions.") upsBasicBatteryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 2)).setObjects(*(("UPS-MIB", "upsSecondsOnBattery"), ("UPS-MIB", "upsBatteryStatus"), ) ) if mibBuilder.loadTexts: upsBasicBatteryGroup.setDescription("The upsBasicBatteryGroup defines the objects that are\ncommon to the battery groups of compliant UPSs which\nsupport basic functions.") upsBasicInputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 3)).setObjects(*(("UPS-MIB", "upsInputFrequency"), ("UPS-MIB", "upsInputVoltage"), ("UPS-MIB", "upsInputLineBads"), ("UPS-MIB", "upsInputNumLines"), ) ) if mibBuilder.loadTexts: upsBasicInputGroup.setDescription("The upsBasicInputGroup defines the objects that are\ncommon to the Input groups of compliant UPSs which\nsupport basic functions.") upsBasicOutputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 4)).setObjects(*(("UPS-MIB", "upsOutputNumLines"), ("UPS-MIB", "upsOutputFrequency"), ("UPS-MIB", "upsOutputSource"), ("UPS-MIB", "upsOutputVoltage"), ) ) if mibBuilder.loadTexts: upsBasicOutputGroup.setDescription("The upsBasicOutputGroup defines the objects that are\ncommon to the Output groups of compliant UPSs which\nsupport basic functions.") upsBasicBypassGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 5)).setObjects(*(("UPS-MIB", "upsBypassFrequency"), ("UPS-MIB", "upsBypassVoltage"), ("UPS-MIB", "upsBypassNumLines"), ) ) if mibBuilder.loadTexts: upsBasicBypassGroup.setDescription("The upsBasicBypassGroup defines the objects that are\ncommon to the Bypass groups of compliant UPSs which\nsupport basic functions.") upsBasicAlarmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 6)).setObjects(*(("UPS-MIB", "upsAlarmsPresent"), ("UPS-MIB", "upsAlarmTime"), ("UPS-MIB", "upsAlarmDescr"), ) ) if mibBuilder.loadTexts: upsBasicAlarmGroup.setDescription("The upsBasicAlarmGroup defines the objects that are\ncommon to the Alarm groups of compliant UPSs which\nsupport basic functions.") upsBasicTestGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 7)).setObjects(*(("UPS-MIB", "upsTestStartTime"), ("UPS-MIB", "upsTestElapsedTime"), ("UPS-MIB", "upsTestId"), ("UPS-MIB", "upsTestSpinLock"), ("UPS-MIB", "upsTestResultsSummary"), ("UPS-MIB", "upsTestResultsDetail"), ) ) if mibBuilder.loadTexts: upsBasicTestGroup.setDescription("The upsBasicTestGroup defines the objects that are\ncommon to the Test groups of compliant UPSs which\nsupport basic functions.") upsBasicControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 8)).setObjects(*(("UPS-MIB", "upsRebootWithDuration"), ("UPS-MIB", "upsAutoRestart"), ("UPS-MIB", "upsShutdownType"), ("UPS-MIB", "upsStartupAfterDelay"), ("UPS-MIB", "upsShutdownAfterDelay"), ) ) if mibBuilder.loadTexts: upsBasicControlGroup.setDescription("The upsBasicControlGroup defines the objects that are\ncommon to the Control groups of compliant UPSs which\nsupport basic functions.") upsBasicConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 2, 9)).setObjects(*(("UPS-MIB", "upsConfigAudibleStatus"), ("UPS-MIB", "upsConfigOutputVA"), ("UPS-MIB", "upsConfigInputFreq"), ("UPS-MIB", "upsConfigLowBattTime"), ("UPS-MIB", "upsConfigOutputPower"), ("UPS-MIB", "upsConfigOutputFreq"), ("UPS-MIB", "upsConfigOutputVoltage"), ("UPS-MIB", "upsConfigInputVoltage"), ) ) if mibBuilder.loadTexts: upsBasicConfigGroup.setDescription("The upsBasicConfigGroup defines the objects that are\ncommon to the Config groups of UPSs which support\nbasic functions.") upsFullIdentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 1)).setObjects(*(("UPS-MIB", "upsIdentAgentSoftwareVersion"), ("UPS-MIB", "upsIdentName"), ("UPS-MIB", "upsIdentUPSSoftwareVersion"), ("UPS-MIB", "upsIdentManufacturer"), ("UPS-MIB", "upsIdentModel"), ("UPS-MIB", "upsIdentAttachedDevices"), ) ) if mibBuilder.loadTexts: upsFullIdentGroup.setDescription("The upsFullIdentGroup defines objects which are\ncommon to the Ident group of fully compliant UPSs.") upsFullBatteryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 2)).setObjects(*(("UPS-MIB", "upsEstimatedMinutesRemaining"), ("UPS-MIB", "upsSecondsOnBattery"), ("UPS-MIB", "upsEstimatedChargeRemaining"), ("UPS-MIB", "upsBatteryStatus"), ) ) if mibBuilder.loadTexts: upsFullBatteryGroup.setDescription("The upsFullBatteryGroup defines the objects that are\ncommon to the battery groups of fully compliant UPSs.") upsFullInputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 3)).setObjects(*(("UPS-MIB", "upsInputFrequency"), ("UPS-MIB", "upsInputVoltage"), ("UPS-MIB", "upsInputLineBads"), ("UPS-MIB", "upsInputNumLines"), ) ) if mibBuilder.loadTexts: upsFullInputGroup.setDescription("The upsFullInputGroup defines the objects that are\ncommon to the Input groups of fully compliant UPSs.") upsFullOutputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 4)).setObjects(*(("UPS-MIB", "upsOutputNumLines"), ("UPS-MIB", "upsOutputFrequency"), ("UPS-MIB", "upsOutputSource"), ("UPS-MIB", "upsOutputPercentLoad"), ("UPS-MIB", "upsOutputPower"), ("UPS-MIB", "upsOutputCurrent"), ("UPS-MIB", "upsOutputVoltage"), ) ) if mibBuilder.loadTexts: upsFullOutputGroup.setDescription("The upsFullOutputGroup defines the objects that are\ncommon to the Output groups of fully compliant UPSs.") upsFullBypassGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 5)).setObjects(*(("UPS-MIB", "upsBypassFrequency"), ("UPS-MIB", "upsBypassVoltage"), ("UPS-MIB", "upsBypassNumLines"), ) ) if mibBuilder.loadTexts: upsFullBypassGroup.setDescription("The upsFullBypassGroup defines the objects that are\ncommon to the Bypass groups of fully compliant UPSs.") upsFullAlarmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 6)).setObjects(*(("UPS-MIB", "upsAlarmsPresent"), ("UPS-MIB", "upsAlarmTime"), ("UPS-MIB", "upsAlarmDescr"), ) ) if mibBuilder.loadTexts: upsFullAlarmGroup.setDescription("The upsFullAlarmGroup defines the objects that are\ncommon to the Alarm groups of fully compliant UPSs.") upsFullTestGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 7)).setObjects(*(("UPS-MIB", "upsTestStartTime"), ("UPS-MIB", "upsTestElapsedTime"), ("UPS-MIB", "upsTestId"), ("UPS-MIB", "upsTestSpinLock"), ("UPS-MIB", "upsTestResultsSummary"), ("UPS-MIB", "upsTestResultsDetail"), ) ) if mibBuilder.loadTexts: upsFullTestGroup.setDescription("The upsFullTestGroup defines the objects that are\ncommon to the Test groups of fully compliant UPSs.") upsFullControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 8)).setObjects(*(("UPS-MIB", "upsRebootWithDuration"), ("UPS-MIB", "upsAutoRestart"), ("UPS-MIB", "upsShutdownType"), ("UPS-MIB", "upsStartupAfterDelay"), ("UPS-MIB", "upsShutdownAfterDelay"), ) ) if mibBuilder.loadTexts: upsFullControlGroup.setDescription("The upsFullControlGroup defines the objects that are\ncommon to the Control groups of fully compliant UPSs.") upsFullConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 33, 3, 2, 3, 9)).setObjects(*(("UPS-MIB", "upsConfigAudibleStatus"), ("UPS-MIB", "upsConfigOutputVA"), ("UPS-MIB", "upsConfigInputFreq"), ("UPS-MIB", "upsConfigLowBattTime"), ("UPS-MIB", "upsConfigOutputPower"), ("UPS-MIB", "upsConfigOutputFreq"), ("UPS-MIB", "upsConfigOutputVoltage"), ("UPS-MIB", "upsConfigInputVoltage"), ) ) if mibBuilder.loadTexts: upsFullConfigGroup.setDescription("The upsFullConfigGroup defines the objects that are\ncommon to the Config groups of fully compliant UPSs.") # Compliances upsSubsetCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 33, 3, 1, 1)).setObjects(*(("UPS-MIB", "upsSubsetInputGroup"), ("UPS-MIB", "upsSubsetAlarmGroup"), ("UPS-MIB", "upsSubsetConfigGroup"), ("UPS-MIB", "upsSubsetIdentGroup"), ("UPS-MIB", "upsSubsetOutputGroup"), ("UPS-MIB", "upsSubsetBatteryGroup"), ("UPS-MIB", "upsSubsetControlGroup"), ) ) if mibBuilder.loadTexts: upsSubsetCompliance.setDescription("The compliance statement for UPSs that only support\nthe two-contact communication protocol.") upsBasicCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 33, 3, 1, 2)).setObjects(*(("UPS-MIB", "upsBasicControlGroup"), ("UPS-MIB", "upsBasicConfigGroup"), ("UPS-MIB", "upsBasicBypassGroup"), ("UPS-MIB", "upsBasicIdentGroup"), ("UPS-MIB", "upsBasicBatteryGroup"), ("UPS-MIB", "upsBasicOutputGroup"), ("UPS-MIB", "upsBasicTestGroup"), ("UPS-MIB", "upsBasicAlarmGroup"), ("UPS-MIB", "upsBasicInputGroup"), ) ) if mibBuilder.loadTexts: upsBasicCompliance.setDescription("The compliance statement for UPSs that support\nfull-featured functions, such as control.") upsFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 33, 3, 1, 3)).setObjects(*(("UPS-MIB", "upsFullAlarmGroup"), ("UPS-MIB", "upsFullBypassGroup"), ("UPS-MIB", "upsFullConfigGroup"), ("UPS-MIB", "upsFullIdentGroup"), ("UPS-MIB", "upsFullInputGroup"), ("UPS-MIB", "upsFullBatteryGroup"), ("UPS-MIB", "upsFullTestGroup"), ("UPS-MIB", "upsFullControlGroup"), ("UPS-MIB", "upsFullOutputGroup"), ) ) if mibBuilder.loadTexts: upsFullCompliance.setDescription("The compliance statement for UPSs that support\nadvanced full-featured functions.") # Exports # Module identity mibBuilder.exportSymbols("UPS-MIB", PYSNMP_MODULE_ID=upsMIB) # Types mibBuilder.exportSymbols("UPS-MIB", NonNegativeInteger=NonNegativeInteger, PositiveInteger=PositiveInteger) # Objects mibBuilder.exportSymbols("UPS-MIB", upsMIB=upsMIB, upsObjects=upsObjects, upsIdent=upsIdent, upsIdentManufacturer=upsIdentManufacturer, upsIdentModel=upsIdentModel, upsIdentUPSSoftwareVersion=upsIdentUPSSoftwareVersion, upsIdentAgentSoftwareVersion=upsIdentAgentSoftwareVersion, upsIdentName=upsIdentName, upsIdentAttachedDevices=upsIdentAttachedDevices, upsBattery=upsBattery, upsBatteryStatus=upsBatteryStatus, upsSecondsOnBattery=upsSecondsOnBattery, upsEstimatedMinutesRemaining=upsEstimatedMinutesRemaining, upsEstimatedChargeRemaining=upsEstimatedChargeRemaining, upsBatteryVoltage=upsBatteryVoltage, upsBatteryCurrent=upsBatteryCurrent, upsBatteryTemperature=upsBatteryTemperature, upsInput=upsInput, upsInputLineBads=upsInputLineBads, upsInputNumLines=upsInputNumLines, upsInputTable=upsInputTable, upsInputEntry=upsInputEntry, upsInputLineIndex=upsInputLineIndex, upsInputFrequency=upsInputFrequency, upsInputVoltage=upsInputVoltage, upsInputCurrent=upsInputCurrent, upsInputTruePower=upsInputTruePower, upsOutput=upsOutput, upsOutputSource=upsOutputSource, upsOutputFrequency=upsOutputFrequency, upsOutputNumLines=upsOutputNumLines, upsOutputTable=upsOutputTable, upsOutputEntry=upsOutputEntry, upsOutputLineIndex=upsOutputLineIndex, upsOutputVoltage=upsOutputVoltage, upsOutputCurrent=upsOutputCurrent, upsOutputPower=upsOutputPower, upsOutputPercentLoad=upsOutputPercentLoad, upsBypass=upsBypass, upsBypassFrequency=upsBypassFrequency, upsBypassNumLines=upsBypassNumLines, upsBypassTable=upsBypassTable, upsBypassEntry=upsBypassEntry, upsBypassLineIndex=upsBypassLineIndex, upsBypassVoltage=upsBypassVoltage, upsBypassCurrent=upsBypassCurrent, upsBypassPower=upsBypassPower, upsAlarm=upsAlarm, upsAlarmsPresent=upsAlarmsPresent, upsAlarmTable=upsAlarmTable, upsAlarmEntry=upsAlarmEntry, upsAlarmId=upsAlarmId, upsAlarmDescr=upsAlarmDescr, upsAlarmTime=upsAlarmTime, upsWellKnownAlarms=upsWellKnownAlarms, upsAlarmBatteryBad=upsAlarmBatteryBad, upsAlarmOnBattery=upsAlarmOnBattery, upsAlarmLowBattery=upsAlarmLowBattery, upsAlarmDepletedBattery=upsAlarmDepletedBattery, upsAlarmTempBad=upsAlarmTempBad, upsAlarmInputBad=upsAlarmInputBad, upsAlarmOutputBad=upsAlarmOutputBad, upsAlarmOutputOverload=upsAlarmOutputOverload, upsAlarmOnBypass=upsAlarmOnBypass, upsAlarmBypassBad=upsAlarmBypassBad, upsAlarmOutputOffAsRequested=upsAlarmOutputOffAsRequested, upsAlarmUpsOffAsRequested=upsAlarmUpsOffAsRequested, upsAlarmChargerFailed=upsAlarmChargerFailed, upsAlarmUpsOutputOff=upsAlarmUpsOutputOff, upsAlarmUpsSystemOff=upsAlarmUpsSystemOff, upsAlarmFanFailure=upsAlarmFanFailure, upsAlarmFuseFailure=upsAlarmFuseFailure, upsAlarmGeneralFault=upsAlarmGeneralFault, upsAlarmDiagnosticTestFailed=upsAlarmDiagnosticTestFailed, upsAlarmCommunicationsLost=upsAlarmCommunicationsLost, upsAlarmAwaitingPower=upsAlarmAwaitingPower, upsAlarmShutdownPending=upsAlarmShutdownPending, upsAlarmShutdownImminent=upsAlarmShutdownImminent, upsAlarmTestInProgress=upsAlarmTestInProgress, upsTest=upsTest, upsTestId=upsTestId, upsTestSpinLock=upsTestSpinLock, upsTestResultsSummary=upsTestResultsSummary, upsTestResultsDetail=upsTestResultsDetail, upsTestStartTime=upsTestStartTime, upsTestElapsedTime=upsTestElapsedTime, upsWellKnownTests=upsWellKnownTests, upsTestNoTestsInitiated=upsTestNoTestsInitiated, upsTestAbortTestInProgress=upsTestAbortTestInProgress, upsTestGeneralSystemsTest=upsTestGeneralSystemsTest, upsTestQuickBatteryTest=upsTestQuickBatteryTest, upsTestDeepBatteryCalibration=upsTestDeepBatteryCalibration, upsControl=upsControl, upsShutdownType=upsShutdownType, upsShutdownAfterDelay=upsShutdownAfterDelay, upsStartupAfterDelay=upsStartupAfterDelay, upsRebootWithDuration=upsRebootWithDuration, upsAutoRestart=upsAutoRestart, upsConfig=upsConfig, upsConfigInputVoltage=upsConfigInputVoltage, upsConfigInputFreq=upsConfigInputFreq, upsConfigOutputVoltage=upsConfigOutputVoltage, upsConfigOutputFreq=upsConfigOutputFreq, upsConfigOutputVA=upsConfigOutputVA, upsConfigOutputPower=upsConfigOutputPower, upsConfigLowBattTime=upsConfigLowBattTime, upsConfigAudibleStatus=upsConfigAudibleStatus, upsConfigLowVoltageTransferPoint=upsConfigLowVoltageTransferPoint, upsConfigHighVoltageTransferPoint=upsConfigHighVoltageTransferPoint, upsTraps=upsTraps, upsConformance=upsConformance, upsCompliances=upsCompliances, upsGroups=upsGroups, upsSubsetGroups=upsSubsetGroups, upsBasicGroups=upsBasicGroups, upsFullGroups=upsFullGroups) # Notifications mibBuilder.exportSymbols("UPS-MIB", upsTrapOnBattery=upsTrapOnBattery, upsTrapTestCompleted=upsTrapTestCompleted, upsTrapAlarmEntryAdded=upsTrapAlarmEntryAdded, upsTrapAlarmEntryRemoved=upsTrapAlarmEntryRemoved) # Groups mibBuilder.exportSymbols("UPS-MIB", upsSubsetIdentGroup=upsSubsetIdentGroup, upsSubsetBatteryGroup=upsSubsetBatteryGroup, upsSubsetInputGroup=upsSubsetInputGroup, upsSubsetOutputGroup=upsSubsetOutputGroup, upsSubsetAlarmGroup=upsSubsetAlarmGroup, upsSubsetControlGroup=upsSubsetControlGroup, upsSubsetConfigGroup=upsSubsetConfigGroup, upsBasicIdentGroup=upsBasicIdentGroup, upsBasicBatteryGroup=upsBasicBatteryGroup, upsBasicInputGroup=upsBasicInputGroup, upsBasicOutputGroup=upsBasicOutputGroup, upsBasicBypassGroup=upsBasicBypassGroup, upsBasicAlarmGroup=upsBasicAlarmGroup, upsBasicTestGroup=upsBasicTestGroup, upsBasicControlGroup=upsBasicControlGroup, upsBasicConfigGroup=upsBasicConfigGroup, upsFullIdentGroup=upsFullIdentGroup, upsFullBatteryGroup=upsFullBatteryGroup, upsFullInputGroup=upsFullInputGroup, upsFullOutputGroup=upsFullOutputGroup, upsFullBypassGroup=upsFullBypassGroup, upsFullAlarmGroup=upsFullAlarmGroup, upsFullTestGroup=upsFullTestGroup, upsFullControlGroup=upsFullControlGroup, upsFullConfigGroup=upsFullConfigGroup) # Compliances mibBuilder.exportSymbols("UPS-MIB", upsSubsetCompliance=upsSubsetCompliance, upsBasicCompliance=upsBasicCompliance, upsFullCompliance=upsFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/GMPLS-TE-STD-MIB.py0000644000014400001440000016317711736645136021274 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python GMPLS-TE-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:02 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAGmplsAdminStatusInformationTC, IANAGmplsGeneralizedPidTC, IANAGmplsLSPEncodingTypeTC, IANAGmplsSwitchingTypeTC, ) = mibBuilder.importSymbols("IANA-GMPLS-TC-MIB", "IANAGmplsAdminStatusInformationTC", "IANAGmplsGeneralizedPidTC", "IANAGmplsLSPEncodingTypeTC", "IANAGmplsSwitchingTypeTC") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( mplsStdMIB, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "mplsStdMIB") ( mplsTunnelARHopIndex, mplsTunnelARHopListIndex, mplsTunnelAdminStatus, mplsTunnelCHopIndex, mplsTunnelCHopListIndex, mplsTunnelEgressLSRId, mplsTunnelEntry, mplsTunnelGroup, mplsTunnelHopIndex, mplsTunnelHopListIndex, mplsTunnelHopPathOptionIndex, mplsTunnelIndex, mplsTunnelIngressLSRId, mplsTunnelInstance, mplsTunnelOperStatus, mplsTunnelScalarGroup, ) = mibBuilder.importSymbols("MPLS-TE-STD-MIB", "mplsTunnelARHopIndex", "mplsTunnelARHopListIndex", "mplsTunnelAdminStatus", "mplsTunnelCHopIndex", "mplsTunnelCHopListIndex", "mplsTunnelEgressLSRId", "mplsTunnelEntry", "mplsTunnelGroup", "mplsTunnelHopIndex", "mplsTunnelHopListIndex", "mplsTunnelHopPathOptionIndex", "mplsTunnelIndex", "mplsTunnelIngressLSRId", "mplsTunnelInstance", "mplsTunnelOperStatus", "mplsTunnelScalarGroup") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "zeroDotZero") ( RowPointer, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "TimeStamp", "TruthValue") # Objects gmplsTeStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 166, 13)).setRevisions(("2007-02-27 00:00",)) if mibBuilder.loadTexts: gmplsTeStdMIB.setOrganization("IETF Common Control and Measurement Plane (CCAMP) Working\nGroup") if mibBuilder.loadTexts: gmplsTeStdMIB.setContactInfo(" Thomas D. Nadeau\nCisco Systems, Inc.\nEmail: tnadeau@cisco.com\nAdrian Farrel\nOld Dog Consulting\nEmail: adrian@olddog.co.uk\n\nComments about this document should be emailed directly\nto the CCAMP working group mailing list at\nccamp@ops.ietf.org.") if mibBuilder.loadTexts: gmplsTeStdMIB.setDescription("Copyright (C) The IETF Trust (2007). This version of\nthis MIB module is part of RFC 4802; see the RFC itself for\nfull legal notices.\n\nThis MIB module contains managed object definitions\nfor GMPLS Traffic Engineering (TE) as defined in:\n1. Generalized Multi-Protocol Label Switching (GMPLS)\n Signaling Functional Description, Berger, L. (Editor),\n RFC 3471, January 2003.\n2. Generalized MPLS Signaling - RSVP-TE Extensions, Berger,\n L. (Editor), RFC 3473, January 2003.") gmplsTeNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 13, 0)) gmplsTeScalars = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 13, 1)) gmplsTunnelsConfigured = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 13, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelsConfigured.setDescription("The number of GMPLS tunnels configured on this device. A GMPLS\n\n\n\ntunnel is considered configured if an entry for the tunnel\nexists in the gmplsTunnelTable and the associated\nmplsTunnelRowStatus is active(1).") gmplsTunnelsActive = MibScalar((1, 3, 6, 1, 2, 1, 10, 166, 13, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelsActive.setDescription("The number of GMPLS tunnels active on this device. A GMPLS\ntunnel is considered active if there is an entry in the\ngmplsTunnelTable and the associated mplsTunnelOperStatus for the\ntunnel is up(1).") gmplsTeObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 13, 2)) gmplsTunnelTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1)) if mibBuilder.loadTexts: gmplsTunnelTable.setDescription("The gmplsTunnelTable sparsely extends the mplsTunnelTable of\nMPLS-TE-STD-MIB. It allows GMPLS tunnels to be created between\nan LSR and a remote endpoint, and existing tunnels to be\nreconfigured or removed.\n\nNote that only point-to-point tunnel segments are supported,\nalthough multipoint-to-point and point-to-multipoint\nconnections are supported by an LSR acting as a cross-connect.\nEach tunnel can thus have one out-segment originating at this\nLSR and/or one in-segment terminating at this LSR.\n\nThe row status of an entry in this table is controlled by the\nmplsTunnelRowStatus in the corresponding entry in the\nmplsTunnelTable. When the corresponding mplsTunnelRowStatus has\nvalue active(1), a row in this table may not be created or\nmodified.\n\nThe exception to this rule is the\ngmplsTunnelAdminStatusInformation object, which can be modified\nwhile the tunnel is active.") gmplsTunnelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelInstance"), (0, "MPLS-TE-STD-MIB", "mplsTunnelIngressLSRId"), (0, "MPLS-TE-STD-MIB", "mplsTunnelEgressLSRId")) if mibBuilder.loadTexts: gmplsTunnelEntry.setDescription("An entry in this table in association with the corresponding\nentry in the mplsTunnelTable represents a GMPLS tunnel.\n\nAn entry can be created by a network administrator via SNMP SET\ncommands, or in response to signaling protocol events.") gmplsTunnelUnnumIf = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 1), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelUnnumIf.setDescription("Denotes whether or not this tunnel corresponds to an unnumbered\ninterface represented by an entry in the interfaces group table\n(the ifTable) with ifType set to mpls(166).\n\n\n\nThis object is only used if mplsTunnelIsIf is set to 'true'.\n\nIf both this object and the mplsTunnelIsIf object are set to\n'true', the originating LSR adds an LSP_TUNNEL_INTERFACE_ID\nobject to the outgoing Path message.\n\nThis object contains information that is only used by the\nterminating LSR.") gmplsTunnelAttributes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 2), Bits().subtype(namedValues=NamedValues(("labelRecordingDesired", 0), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelAttributes.setDescription("This bitmask indicates optional parameters for this tunnel.\nThese bits should be taken in addition to those defined in\nmplsTunnelSessionAttributes in order to determine the full set\nof options to be signaled (for example SESSION_ATTRIBUTES flags\nin RSVP-TE). The following describes these bitfields:\n\nlabelRecordingDesired\n This flag is set to indicate that label information should be\n included when doing a route record. This bit is not valid\n unless the recordRoute bit is set.") gmplsTunnelLSPEncoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 3), IANAGmplsLSPEncodingTypeTC().clone('tunnelLspNotGmpls')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelLSPEncoding.setDescription("This object indicates the encoding of the LSP being requested.\n\nA value of 'tunnelLspNotGmpls' indicates that GMPLS signaling is\nnot in use. Some objects in this MIB module may be of use for\nMPLS signaling extensions that do not use GMPLS signaling. By\nsetting this object to 'tunnelLspNotGmpls', an application may\n\n\n\n\nindicate that only those objects meaningful in MPLS should be\nexamined.\n\nThe values to use are defined in the TEXTUAL-CONVENTION\nIANAGmplsLSPEncodingTypeTC found in the IANA-GMPLS-TC-MIB\nmodule.") gmplsTunnelSwitchingType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 4), IANAGmplsSwitchingTypeTC().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelSwitchingType.setDescription("Indicates the type of switching that should be performed on\na particular link. This field is needed for links that\nadvertise more than one type of switching capability.\n\nThe values to use are defined in the TEXTUAL-CONVENTION\nIANAGmplsSwitchingTypeTC found in the IANA-GMPLS-TC-MIB module.\n\nThis object is only meaningful if gmplsTunnelLSPEncodingType\nis not set to 'tunnelLspNotGmpls'.") gmplsTunnelLinkProtection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 5), Bits().subtype(namedValues=NamedValues(("extraTraffic", 0), ("unprotected", 1), ("shared", 2), ("dedicatedOneToOne", 3), ("dedicatedOnePlusOne", 4), ("enhanced", 5), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelLinkProtection.setDescription("This bitmask indicates the level of link protection required. A\nvalue of zero (no bits set) indicates that any protection may be\nused. The following describes these bitfields:\n\nextraTraffic\n This flag is set to indicate that the LSP should use links\n that are protecting other (primary) traffic. Such LSPs may be\n preempted when the links carrying the (primary) traffic being\n protected fail.\n\n\n\n\nunprotected\n This flag is set to indicate that the LSP should not use any\n link layer protection.\n\nshared\n This flag is set to indicate that a shared link layer\n protection scheme, such as 1:N protection, should be used to\n support the LSP.\n\ndedicatedOneToOne\n This flag is set to indicate that a dedicated link layer\n protection scheme, i.e., 1:1 protection, should be used to\n support the LSP.\n\ndedicatedOnePlusOne\n This flag is set to indicate that a dedicated link layer\n protection scheme, i.e., 1+1 protection, should be used to\n support the LSP.\n\nenhanced\n This flag is set to indicate that a protection scheme that is\n more reliable than Dedicated 1+1 should be used, e.g., 4 fiber\n BLSR/MS-SPRING.\n\nThis object is only meaningful if gmplsTunnelLSPEncoding is\nnot set to 'tunnelLspNotGmpls'.") gmplsTunnelGPid = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 6), IANAGmplsGeneralizedPidTC().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelGPid.setDescription("This object indicates the payload carried by the LSP. It is only\nrequired when GMPLS will be used for this LSP.\n\nThe values to use are defined in the TEXTUAL-CONVENTION\nIANAGmplsGeneralizedPidTC found in the IANA-GMPLS-TC-MIB module.\n\nThis object is only meaningful if gmplsTunnelLSPEncoding is not\nset to 'tunnelLspNotGmpls'.") gmplsTunnelSecondary = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 7), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelSecondary.setDescription("Indicates that the requested LSP is a secondary LSP.\n\nThis object is only meaningful if gmplsTunnelLSPEncoding is not\nset to 'tunnelLspNotGmpls'.") gmplsTunnelDirection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(0,1,)).subtype(namedValues=NamedValues(("forward", 0), ("bidirectional", 1), )).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelDirection.setDescription("Whether this tunnel carries forward data only (is\nunidirectional) or is bidirectional.\n\nValues of this object other than 'forward' are meaningful\nonly if gmplsTunnelLSPEncoding is not set to\n'tunnelLspNotGmpls'.") gmplsTunnelPathComp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("dynamicFull", 1), ("explicit", 2), ("dynamicPartial", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelPathComp.setDescription("This value instructs the source node on how to perform path\ncomputation on the explicit route specified by the associated\nentries in the gmplsTunnelHopTable.\n\ndynamicFull\n The user specifies at least the source and\n destination of the path and expects that the Constrained\n\n\n\n Shortest Path First (CSPF) will calculate the remainder\n of the path.\n\nexplicit\n The user specifies the entire path for the tunnel to\n take. This path may contain strict or loose hops.\n Evaluation of the explicit route will be performed\n hop by hop through the network.\n\ndynamicPartial\n The user specifies at least the source and\n destination of the path and expects that the CSPF\n will calculate the remainder of the path. The path\n computed by CSPF is allowed to be only partially\n computed allowing the remainder of the path to be\n filled in across the network.\n\nWhen an entry is present in the gmplsTunnelTable for a\ntunnel, gmplsTunnelPathComp MUST be used and any\ncorresponding mplsTunnelHopEntryPathComp object in the\nmplsTunnelHopTable MUST be ignored and SHOULD not be set.\n\nmplsTunnelHopTable and mplsTunnelHopEntryPathComp are part of\nMPLS-TE-STD-MIB.\n\nThis object should be ignored if the value of\ngmplsTunnelLSPEncoding is 'tunnelLspNotGmpls'.") gmplsTunnelUpstreamNotifyRecipientType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 10), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelUpstreamNotifyRecipientType.setDescription("This object is used to aid in interpretation of\ngmplsTunnelUpstreamNotifyRecipient.") gmplsTunnelUpstreamNotifyRecipient = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 11), InetAddress().clone(hexValue='00000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelUpstreamNotifyRecipient.setDescription("Indicates the address of the upstream recipient for Notify\nmessages relating to this tunnel and issued by this LSR. This\ninformation is typically received from an upstream LSR in a Path\nmessage.\n\nThis object is only valid when signaling a tunnel using RSVP.\n\nIt is also not valid at the head end of a tunnel since there are\nno upstream LSRs to which to send a Notify message.\n\nThis object is interpreted in the context of the value of\ngmplsTunnelUpstreamNotifyRecipientType. If this object is set to\n0, the value of gmplsTunnelUpstreamNotifyRecipientType MUST be\nset to unknown(0).") gmplsTunnelSendResvNotifyRecipientType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 12), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelSendResvNotifyRecipientType.setDescription("This object is used to aid in interpretation of\ngmplsTunnelSendResvNotifyRecipient.") gmplsTunnelSendResvNotifyRecipient = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 13), InetAddress().clone(hexValue='00000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelSendResvNotifyRecipient.setDescription("Indicates to an upstream LSR the address to which it should send\ndownstream Notify messages relating to this tunnel.\n\nThis object is only valid when signaling a tunnel using RSVP.\n\nIt is also not valid at the head end of the tunnel since no Resv\nmessages are sent from that LSR for this tunnel.\n\nIf set to 0, no Notify Request object will be included in the\noutgoing Resv messages.\n\nThis object is interpreted in the context of the value of\ngmplsTunnelSendResvNotifyRecipientType. If this object is set to\n\n\n\n0, the value of gmplsTunnelSendResvNotifyRecipientType MUST be\nset to unknown(0).") gmplsTunnelDownstreamNotifyRecipientType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 14), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelDownstreamNotifyRecipientType.setDescription("This object is used to aid in interpretation of\ngmplsTunnelDownstreamNotifyRecipient.") gmplsTunnelDownstreamNotifyRecipient = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 15), InetAddress().clone(hexValue='00000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelDownstreamNotifyRecipient.setDescription("Indicates the address of the downstream recipient for Notify\nmessages relating to this tunnel and issued by this LSR. This\ninformation is typically received from an upstream LSR in a Resv\nmessage. This object is only valid when signaling a tunnel using\nRSVP.\n\nIt is also not valid at the tail end of a tunnel since there are\nno downstream LSRs to which to send a Notify message.\n\nThis object is interpreted in the context of the value of\ngmplsTunnelDownstreamNotifyRecipientType. If this object is set\nto 0, the value of gmplsTunnelDownstreamNotifyRecipientType MUST\nbe set to unknown(0).") gmplsTunnelSendPathNotifyRecipientType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 16), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelSendPathNotifyRecipientType.setDescription("This object is used to aid in interpretation of\ngmplsTunnelSendPathNotifyRecipient.") gmplsTunnelSendPathNotifyRecipient = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 17), InetAddress().clone(hexValue='00000000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelSendPathNotifyRecipient.setDescription("Indicates to a downstream LSR the address to which it should\nsend upstream Notify messages relating to this tunnel.\n\nThis object is only valid when signaling a tunnel using RSVP.\n\nIt is also not valid at the tail end of the tunnel since no Path\nmessages are sent from that LSR for this tunnel.\n\nIf set to 0, no Notify Request object will be included in the\noutgoing Path messages.\n\nThis object is interpreted in the context of the value of\ngmplsTunnelSendPathNotifyRecipientType. If this object is set to\n0, the value of gmplsTunnelSendPathNotifyRecipientType MUST be\nset to unknown(0).") gmplsTunnelAdminStatusFlags = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 18), IANAGmplsAdminStatusInformationTC().clone('()')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelAdminStatusFlags.setDescription("Determines the setting of the Admin Status flags in the\nAdmin Status object or TLV, as described in RFC 3471. Setting\nthis field to a non-zero value will result in the inclusion of\nthe Admin Status object on signaling messages.\n\nThe values to use are defined in the TEXTUAL-CONVENTION\nIANAGmplsAdminStatusInformationTC found in the\nIANA-GMPLS-TC-MIB module.\n\nThis value of this object can be modified when the\ncorresponding mplsTunnelRowStatus and mplsTunnelAdminStatus\nis active(1). By doing so, a new signaling message will be\n\n\n\ntriggered including the requested Admin Status object or\nTLV.") gmplsTunnelExtraParamsPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 1, 1, 19), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelExtraParamsPtr.setDescription("Some tunnels will run over transports that can usefully support\ntechnology-specific additional parameters (for example,\nSynchronous Optical Network (SONET) resource usage). Such\nparameters can be supplied in an external table and referenced\nfrom here.\n\nA value of zeroDotzero in this attribute indicates that there\nis no such additional information.") gmplsTunnelHopTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 2)) if mibBuilder.loadTexts: gmplsTunnelHopTable.setDescription("The gmplsTunnelHopTable sparsely extends the mplsTunnelHopTable\nof MPLS-TE-STD-MIB. It is used to indicate the Explicit Labels\nto be used in an explicit path for a GMPLS tunnel defined in the\nmplsTunnelTable and gmplsTunnelTable, when it is established\nusing signaling. It does not insert new hops, but does define\nnew values for hops defined in the mplsTunnelHopTable.\n\nEach row in this table is indexed by the same indexes as in the\nmplsTunnelHopTable. It is acceptable for some rows in the\nmplsTunnelHopTable to have corresponding entries in this table\nand some to have no corresponding entry in this table.\n\nThe storage type for this entry is given by the value\nof mplsTunnelHopStorageType in the corresponding entry in the\nmplsTunnelHopTable.\n\nThe row status of an entry in this table is controlled by\nmplsTunnelHopRowStatus in the corresponding entry in the\nmplsTunnelHopTable. That is, it is not permitted to create a row\n\n\n\nin this table, or to modify an existing row, when the\ncorresponding mplsTunnelHopRowStatus has the value active(1).") gmplsTunnelHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 2, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelHopListIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelHopPathOptionIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelHopIndex")) if mibBuilder.loadTexts: gmplsTunnelHopEntry.setDescription("An entry in this table represents additions to a tunnel hop\ndefined in mplsTunnelHopEntry. At an ingress to a tunnel, an\nentry in this table is created by a network administrator for an\nERLSP to be set up by a signaling protocol. At transit and\negress nodes, an entry in this table may be used to represent the\nexplicit path instructions received using the signaling\nprotocol.") gmplsTunnelHopLabelStatuses = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 2, 1, 1), Bits().subtype(namedValues=NamedValues(("forwardPresent", 0), ("reversePresent", 1), )).clone(())).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelHopLabelStatuses.setDescription("This bitmask indicates the presence of labels indicated by the\ngmplsTunnelHopExplicitForwardLabel or\ngmplsTunnelHopExplicitForwardLabelPtr, and\ngmplsTunnelHopExplicitReverseLabel or\n\n\n\ngmplsTunnelHopExplicitReverseLabelPtr objects.\n\nFor the Present bits, a set bit indicates that a label is\npresent for this hop in the route. This allows zero to be a\nvalid label value.") gmplsTunnelHopExplicitForwardLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 2, 1, 2), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelHopExplicitForwardLabel.setDescription("If gmplsTunnelHopLabelStatuses object indicates that a Forward\nLabel is present and gmplsTunnelHopExplicitForwardLabelPtr\ncontains the value zeroDotZero, then the label to use on this\nhop is represented by the value of this object.") gmplsTunnelHopExplicitForwardLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 2, 1, 3), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelHopExplicitForwardLabelPtr.setDescription("If the gmplsTunnelHopLabelStatuses object indicates that a\nForward Label is present, this object contains a pointer to a\nrow in another MIB table (such as the gmplsLabelTable of\nGMPLS-LABEL-STD-MIB) that contains the label to use on this hop\nin the forward direction.\n\nIf the gmplsTunnelHopLabelStatuses object indicates that a\nForward Label is present and this object contains the value\nzeroDotZero, then the label to use on this hop is found in the\ngmplsTunnelHopExplicitForwardLabel object.") gmplsTunnelHopExplicitReverseLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 2, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelHopExplicitReverseLabel.setDescription("If the gmplsTunnelHopLabelStatuses object indicates that a\nReverse Label is present and\ngmplsTunnelHopExplicitReverseLabelPtr contains the value\nzeroDotZero, then the label to use on this hop is found in\nthis object encoded as a 32-bit integer.") gmplsTunnelHopExplicitReverseLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 2, 1, 5), RowPointer().clone('0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: gmplsTunnelHopExplicitReverseLabelPtr.setDescription("If the gmplsTunnelHopLabelStatuses object indicates that a\nReverse Label is present, this object contains a pointer to a\nrow in another MIB table (such as the gmplsLabelTable of\nGMPLS-LABEL-STD-MIB) that contains the label to use on this hop\nin the reverse direction.\n\nIf the gmplsTunnelHopLabelStatuses object indicates that a\nReverse Label is present and this object contains the value\nzeroDotZero, then the label to use on this hop is found in the\ngmplsTunnelHopExplicitReverseLabel object.") gmplsTunnelARHopTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3)) if mibBuilder.loadTexts: gmplsTunnelARHopTable.setDescription("The gmplsTunnelARHopTable sparsely extends the\nmplsTunnelARHopTable of MPLS-TE-STD-MIB. It is used to\nindicate the labels currently in use for a GMPLS tunnel\ndefined in the mplsTunnelTable and gmplsTunnelTable, as\nreported by the signaling protocol. It does not insert\nnew hops, but does define new values for hops defined in\nthe mplsTunnelARHopTable.\n\nEach row in this table is indexed by the same indexes as in the\nmplsTunnelARHopTable. It is acceptable for some rows in the\nmplsTunnelARHopTable to have corresponding entries in this table\nand some to have no corresponding entry in this table.\n\nNote that since the information necessary to build entries\nwithin this table is not provided by some signaling protocols\nand might not be returned in all cases of other signaling\nprotocols, implementation of this table and the\nmplsTunnelARHopTable is optional. Furthermore, since the\ninformation in this table is actually provided by the\nsignaling protocol after the path has been set up, the entries\nin this table are provided only for observation, and hence,\nall variables in this table are accessible exclusively as\nread-only.") gmplsTunnelARHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelARHopListIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelARHopIndex")) if mibBuilder.loadTexts: gmplsTunnelARHopEntry.setDescription("An entry in this table represents additions to a tunnel hop\nvisible in mplsTunnelARHopEntry. An entry is created by the\nsignaling protocol for a signaled ERLSP set up by the signaling\nprotocol.\n\nAt any node on the LSP (ingress, transit, or egress), this table\nand the mplsTunnelARHopTable (if the tables are supported and if\nthe signaling protocol is recording actual route information)\ncontain the actual route of the whole tunnel. If the signaling\nprotocol is not recording the actual route, this table MAY\nreport the information from the gmplsTunnelHopTable or the\ngmplsTunnelCHopTable.\n\nNote that the recording of actual labels is distinct from the\nrecording of the actual route in some signaling protocols. This\nfeature is enabled using the gmplsTunnelAttributes object.") gmplsTunnelARHopLabelStatuses = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3, 1, 1), Bits().subtype(namedValues=NamedValues(("forwardPresent", 0), ("reversePresent", 1), ("forwardGlobal", 2), ("reverseGlobal", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelARHopLabelStatuses.setDescription("This bitmask indicates the presence and status of labels\nindicated by the gmplsTunnelARHopExplicitForwardLabel or\ngmplsTunnelARHopExplicitForwardLabelPtr, and\ngmplsTunnelARHopExplicitReverseLabel or\ngmplsTunnelARHopExplicitReverseLabelPtr objects.\n\nFor the Present bits, a set bit indicates that a label is\npresent for this hop in the route.\n\nFor the Global bits, a set bit indicates that the label comes\nfrom the Global Label Space; a clear bit indicates that this is\na Per-Interface label. A Global bit only has meaning if the\ncorresponding Present bit is set.") gmplsTunnelARHopExplicitForwardLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelARHopExplicitForwardLabel.setDescription("If the gmplsTunnelARHopLabelStatuses object indicates that a\nForward Label is present and\ngmplsTunnelARHopExplicitForwardLabelPtr contains the value\nzeroDotZero, then the label in use on this hop is found in this\nobject encoded as a 32-bit integer.") gmplsTunnelARHopExplicitForwardLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelARHopExplicitForwardLabelPtr.setDescription("If the gmplsTunnelARHopLabelStatuses object indicates that a\nForward Label is present, this object contains a pointer to a\nrow in another MIB table (such as the gmplsLabelTable of\nGMPLS-LABEL-STD-MIB) that contains the label in use on this hop\nin the forward direction.\n\nIf the gmplsTunnelARHopLabelStatuses object indicates that a\nForward Label is present and this object contains the value\nzeroDotZero, then the label in use on this hop is found in the\ngmplsTunnelARHopExplicitForwardLabel object.") gmplsTunnelARHopExplicitReverseLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelARHopExplicitReverseLabel.setDescription("If the gmplsTunnelARHopLabelStatuses object indicates that a\nReverse Label is present and\ngmplsTunnelARHopExplicitReverseLabelPtr contains the value\nzeroDotZero, then the label in use on this hop is found in this\nobject encoded as a 32-bit integer.") gmplsTunnelARHopExplicitReverseLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3, 1, 5), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelARHopExplicitReverseLabelPtr.setDescription("If the gmplsTunnelARHopLabelStatuses object indicates that a\nReverse Label is present, this object contains a pointer to a\nrow in another MIB table (such as the gmplsLabelTable of\nGMPLS-LABEL-STD-MIB) that contains the label in use on this hop\nin the reverse direction.\n\nIf the gmplsTunnelARHopLabelStatuses object indicates that a\nReverse Label is present and this object contains the value\nzeroDotZero, then the label in use on this hop is found in the\ngmplsTunnelARHopExplicitReverseLabel object.") gmplsTunnelARHopProtection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 3, 1, 6), Bits().subtype(namedValues=NamedValues(("localAvailable", 0), ("localInUse", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelARHopProtection.setDescription("Availability and usage of protection on the reported link.\n\nlocalAvailable\n This flag is set to indicate that the link downstream of this\n node is protected via a local repair mechanism.\n\nlocalInUse\n This flag is set to indicate that a local repair mechanism is\n in use to maintain this tunnel (usually in the face of an\n outage of the link it was previously routed over).") gmplsTunnelCHopTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 4)) if mibBuilder.loadTexts: gmplsTunnelCHopTable.setDescription("The gmplsTunnelCHopTable sparsely extends the\nmplsTunnelCHopTable of MPLS-TE-STD-MIB. It is used to indicate\nadditional information about the hops of a GMPLS tunnel defined\nin the mplsTunnelTable and gmplsTunnelTable, as computed by a\nconstraint-based routing protocol, based on the\nmplsTunnelHopTable and the gmplsTunnelHopTable.\n\nEach row in this table is indexed by the same indexes as in the\nmplsTunnelCHopTable. It is acceptable for some rows in the\nmplsTunnelCHopTable to have corresponding entries in this table\nand some to have no corresponding entry in this table.\n\nPlease note that since the information necessary to build\nentries within this table may not be supported by some LSRs,\nimplementation of this table is optional.\n\nFurthermore, since the information in this table is actually\nprovided by a path computation component after the path has been\ncomputed, the entries in this table are provided only for\nobservation, and hence, all objects in this table are accessible\nexclusively as read-only.") gmplsTunnelCHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 4, 1)).setIndexNames((0, "MPLS-TE-STD-MIB", "mplsTunnelCHopListIndex"), (0, "MPLS-TE-STD-MIB", "mplsTunnelCHopIndex")) if mibBuilder.loadTexts: gmplsTunnelCHopEntry.setDescription("An entry in this table represents additions to a computed tunnel\nhop visible in mplsTunnelCHopEntry. An entry is created by a\npath computation component based on the hops specified in the\ncorresponding mplsTunnelHopTable and gmplsTunnelHopTable.\n\nAt a transit LSR, this table (if the table is supported) MAY\ncontain the path computed by a path computation engine on (or on\n\n\n\nbehalf of) the transit LSR.") gmplsTunnelCHopLabelStatuses = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 4, 1, 1), Bits().subtype(namedValues=NamedValues(("forwardPresent", 0), ("reversePresent", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelCHopLabelStatuses.setDescription("This bitmask indicates the presence of labels indicated by the\ngmplsTunnelCHopExplicitForwardLabel or\ngmplsTunnelCHopExplicitForwardLabelPtr and\ngmplsTunnelCHopExplicitReverseLabel or\ngmplsTunnelCHopExplicitReverseLabelPtr objects.\n\nA set bit indicates that a label is present for this hop in the\nroute, thus allowing zero to be a valid label value.") gmplsTunnelCHopExplicitForwardLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 4, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelCHopExplicitForwardLabel.setDescription("If the gmplsTunnelCHopLabelStatuses object indicates that a\nForward Label is present and\ngmplsTunnelCHopExplicitForwardLabelPtr contains the value\nzeroDotZero, then the label to use on this hop is found in this\nobject encoded as a 32-bit integer.") gmplsTunnelCHopExplicitForwardLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 4, 1, 3), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelCHopExplicitForwardLabelPtr.setDescription("If the gmplsTunnelCHopLabelStatuses object indicates that a\nForward Label is present, this object contains a pointer to a\nrow in another MIB table (such as the gmplsLabelTable of\nGMPLS-LABEL-STD-MIB) that contains the label to use on this hop\nin the forward direction.\n\nIf the gmplsTunnelCHopLabelStatuses object indicates that a\nForward Label is present and this object contains the value\nzeroDotZero, then the label to use on this hop is found in the\ngmplsTunnelCHopExplicitForwardLabel object.") gmplsTunnelCHopExplicitReverseLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 4, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelCHopExplicitReverseLabel.setDescription("If the gmplsTunnelCHopLabelStatuses object indicates that a\nReverse Label is present and\ngmplsTunnelCHopExplicitReverseLabelPtr contains the value\nzeroDotZero, then the label to use on this hop is found in this\nobject encoded as a 32-bit integer.") gmplsTunnelCHopExplicitReverseLabelPtr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 4, 1, 5), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelCHopExplicitReverseLabelPtr.setDescription("If the gmplsTunnelCHopLabelStatuses object indicates that a\nReverse Label is present, this object contains a pointer to a\nrow in another MIB table (such as the gmplsLabelTable of\nGMPLS-LABEL-STD-MIB) that contains the label to use on this hop\nin the reverse direction.\n\nIf the gmplsTunnelCHopLabelStatuses object indicates that a\nReverse Label is present and this object contains the value\nzeroDotZero, then the label to use on this hop is found in the\ngmplsTunnelCHopExplicitReverseLabel object.") gmplsTunnelReversePerfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 5)) if mibBuilder.loadTexts: gmplsTunnelReversePerfTable.setDescription("This table augments the gmplsTunnelTable to provide\nper-tunnel packet performance information for the reverse\ndirection of a bidirectional tunnel. It can be seen as\nsupplementing the mplsTunnelPerfTable, which augments the\nmplsTunnelTable.\n\nFor links that do not transport packets, these packet counters\ncannot be maintained. For such links, attempts to read the\nobjects in this table will return noSuchInstance.\n\nA tunnel can be known to be bidirectional by inspecting the\ngmplsTunnelDirection object.") gmplsTunnelReversePerfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 5, 1)) if mibBuilder.loadTexts: gmplsTunnelReversePerfEntry.setDescription("An entry in this table is created by the LSR for every\nbidirectional GMPLS tunnel where packets are visible to the\nLSR.") gmplsTunnelReversePerfPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelReversePerfPackets.setDescription("Number of packets forwarded on the tunnel in the reverse\ndirection if it is bidirectional.\n\nThis object represents the 32-bit value of the least\nsignificant part of the 64-bit value if both\ngmplsTunnelReversePerfHCPackets and this object are returned.\n\n\n\n\nFor links that do not transport packets, this packet counter\ncannot be maintained. For such links, this value will return\nnoSuchInstance.") gmplsTunnelReversePerfHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 5, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelReversePerfHCPackets.setDescription("High-capacity counter for number of packets forwarded on the\ntunnel in the reverse direction if it is bidirectional.\n\nFor links that do not transport packets, this packet counter\ncannot be maintained. For such links, this value will return\nnoSuchInstance.") gmplsTunnelReversePerfErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelReversePerfErrors.setDescription("Number of errored packets received on the tunnel in the reverse\ndirection if it is bidirectional. For links that do not\ntransport packets, this packet counter cannot be maintained. For\nsuch links, this value will return noSuchInstance.") gmplsTunnelReversePerfBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelReversePerfBytes.setDescription("Number of bytes forwarded on the tunnel in the reverse direction\nif it is bidirectional.\n\nThis object represents the 32-bit value of the least\nsignificant part of the 64-bit value if both\ngmplsTunnelReversePerfHCBytes and this object are returned.\n\nFor links that do not transport packets, this packet counter\ncannot be maintained. For such links, this value will return\nnoSuchInstance.") gmplsTunnelReversePerfHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 5, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelReversePerfHCBytes.setDescription("High-capacity counter for number of bytes forwarded on the\ntunnel in the reverse direction if it is bidirectional.\n\nFor links that do not transport packets, this packet counter\ncannot be maintained. For such links, this value will return\nnoSuchInstance.") gmplsTunnelErrorTable = MibTable((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6)) if mibBuilder.loadTexts: gmplsTunnelErrorTable.setDescription("This table augments the mplsTunnelTable.\n\nThis table provides per-tunnel information about errors. Errors\nmay be detected locally or reported through the signaling\nprotocol. Error reporting is not exclusive to GMPLS, and this\ntable may be applied in MPLS systems.\n\nEntries in this table are not persistent over system resets\nor re-initializations of the management system.") gmplsTunnelErrorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1)) if mibBuilder.loadTexts: gmplsTunnelErrorEntry.setDescription("An entry in this table is created by the LSR for every tunnel\nwhere error information is visible to the LSR.\n\nNote that systems that read the objects in this table one at\na time and do not perform atomic operations to read entire\ninstantiated table rows at once, should, for each conceptual\ncolumn with valid data, read gmplsTunnelErrorLastTime\nprior to the other objects in the row and again subsequent to\nreading the last object of the row. They should verify that\nthe value of gmplsTunnelErrorLastTime did not change and\nthereby ensure that all data read belongs to the same error\nevent.") gmplsTunnelErrorLastErrorType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(0,4,2,3,1,5,6,)).subtype(namedValues=NamedValues(("noError", 0), ("unknown", 1), ("protocol", 2), ("pathComputation", 3), ("localConfiguration", 4), ("localResources", 5), ("localOther", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorLastErrorType.setDescription("The nature of the last error. Provides interpretation context\nfor gmplsTunnelErrorProtocolCode and\ngmplsTunnelErrorProtocolSubcode.\n\nA value of noError(0) shows that there is no error associated\nwith this tunnel and means that the other objects in this table\nentry (conceptual row) have no meaning.\n\nA value of unknown(1) shows that there is an error but that no\nadditional information about the cause is known. The error may\nhave been received in a signaled message or generated locally.\n\nA value of protocol(2) or pathComputation(3) indicates the\ncause of an error and identifies an error that has been received\nthrough signaling or will itself be signaled.\n\nA value of localConfiguration(4), localResources(5) or\nlocalOther(6) identifies an error that has been detected\nby the local node but that will not be reported through\nsignaling.") gmplsTunnelErrorLastTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorLastTime.setDescription("The time at which the last error occurred. This is presented as\nthe value of SysUpTime when the error occurred or was reported\nto this node.\n\nIf gmplsTunnelErrorLastErrorType has the value noError(0), then\nthis object is not valid and should be ignored.\n\nNote that entries in this table are not persistent over system\nresets or re-initializations of the management system.") gmplsTunnelErrorReporterType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorReporterType.setDescription("The address type of the error reported.\n\nThis object is used to aid in interpretation of\ngmplsTunnelErrorReporter.") gmplsTunnelErrorReporter = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorReporter.setDescription("The address of the node reporting the last error, or the address\nof the resource (such as an interface) associated with the\nerror.\n\nIf gmplsTunnelErrorLastErrorType has the value noError(0), then\nthis object is not valid and should be ignored.\n\nIf gmplsTunnelErrorLastErrorType has the value unknown(1),\nlocalConfiguration(4), localResources(5), or localOther(6),\nthis object MAY contain a zero value.\n\nThis object should be interpreted in the context of the value of\nthe object gmplsTunnelErrorReporterType.") gmplsTunnelErrorCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorCode.setDescription("The primary error code associated with the last error.\n\nThe interpretation of this error code depends on the value of\ngmplsTunnelErrorLastErrorType. If the value of\ngmplsTunnelErrorLastErrorType is noError(0), the value of this\nobject should be 0 and should be ignored. If the value of\ngmplsTunnelErrorLastErrorType is protocol(2), the error should\nbe interpreted in the context of the signaling protocol\nidentified by the mplsTunnelSignallingProto object.") gmplsTunnelErrorSubcode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorSubcode.setDescription("The secondary error code associated with the last error and the\nprotocol used to signal this tunnel. This value is interpreted\nin the context of the value of gmplsTunnelErrorCode.\nIf the value of gmplsTunnelErrorLastErrorType is noError(0), the\nvalue of this object should be 0 and should be ignored.") gmplsTunnelErrorTLVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorTLVs.setDescription("The sequence of interface identifier TLVs reported with the\nerror by the protocol code. The interpretation of the TLVs and\nthe encoding within the protocol are described in the\nreferences. A value of zero in the first octet indicates that no\nTLVs are present.") gmplsTunnelErrorHelpString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 166, 13, 2, 6, 1, 8), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: gmplsTunnelErrorHelpString.setDescription("A textual string containing information about the last error,\nrecovery actions, and support advice. If there is no help string,\nthis object contains a zero length string.\nIf the value of gmplsTunnelErrorLastErrorType is noError(0),\nthis object should contain a zero length string, but may contain\na help string indicating that there is no error.") gmplsTeConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 13, 3)) gmplsTeGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 1)) gmplsTeCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 2)) # Augmentions mplsTunnelEntry, = mibBuilder.importSymbols("MPLS-TE-STD-MIB", "mplsTunnelEntry") mplsTunnelEntry.registerAugmentions(("GMPLS-TE-STD-MIB", "gmplsTunnelErrorEntry")) gmplsTunnelErrorEntry.setIndexNames(*mplsTunnelEntry.getIndexNames()) gmplsTunnelEntry.registerAugmentions(("GMPLS-TE-STD-MIB", "gmplsTunnelReversePerfEntry")) gmplsTunnelReversePerfEntry.setIndexNames(*gmplsTunnelEntry.getIndexNames()) # Notifications gmplsTunnelDown = NotificationType((1, 3, 6, 1, 2, 1, 10, 166, 13, 0, 1)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelErrorReporterType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorReporter"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorCode"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorLastErrorType"), ("MPLS-TE-STD-MIB", "mplsTunnelAdminStatus"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorSubcode"), ("MPLS-TE-STD-MIB", "mplsTunnelOperStatus"), ) ) if mibBuilder.loadTexts: gmplsTunnelDown.setDescription("This notification is generated when an mplsTunnelOperStatus\nobject for a tunnel in the gmplsTunnelTable is about to enter\nthe down state from some other state (but not from the\nnotPresent state). This other state is indicated by the\nincluded value of mplsTunnelOperStatus.\n\nThe objects in this notification provide additional error\ninformation that indicates the reason why the tunnel has\n\n\n\ntransitioned to down(2).\n\nNote that an implementation MUST only issue one of\nmplsTunnelDown and gmplsTunnelDown for any single event on a\nsingle tunnel. If the tunnel has an entry in the\ngmplsTunnelTable, an implementation SHOULD use gmplsTunnelDown\nfor all tunnel-down events and SHOULD NOT use mplsTunnelDown.\n\nThis notification is subject to the control of\nmplsTunnelNotificationEnable. When that object is set\nto false(2), then the notification must not be issued.\n\nFurther, this notification is also subject to\nmplsTunnelNotificationMaxRate. That object indicates the\nmaximum number of notifications issued per second. If events\noccur more rapidly, the implementation may simply fail to emit\nsome notifications during that period, or may queue them until\nan appropriate time. The notification rate applies to the sum\nof all notifications in the MPLS-TE-STD-MIB and\nGMPLS-TE-STD-MIB modules applied across the whole of the\nreporting device.\n\nmplsTunnelOperStatus, mplsTunnelAdminStatus, mplsTunnelDown,\nmplsTunnelNotificationEnable, and mplsTunnelNotificationMaxRate\nobjects are found in MPLS-TE-STD-MIB.") # Groups gmplsTunnelGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 1, 1)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelReversePerfPackets"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorReporterType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorCode"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorTLVs"), ("GMPLS-TE-STD-MIB", "gmplsTunnelReversePerfBytes"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorSubcode"), ("GMPLS-TE-STD-MIB", "gmplsTunnelDirection"), ("GMPLS-TE-STD-MIB", "gmplsTunnelUnnumIf"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorHelpString"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorReporter"), ("GMPLS-TE-STD-MIB", "gmplsTunnelReversePerfErrors"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorLastErrorType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelReversePerfHCBytes"), ("GMPLS-TE-STD-MIB", "gmplsTunnelErrorLastTime"), ("GMPLS-TE-STD-MIB", "gmplsTunnelReversePerfHCPackets"), ) ) if mibBuilder.loadTexts: gmplsTunnelGroup.setDescription("Necessary, but not sufficient, set of objects to implement\ntunnels. In addition, depending on the type of the tunnels\nsupported (for example, manually configured or signaled,\npersistent or non-persistent, etc.), the\ngmplsTunnelSignaledGroup group is mandatory.") gmplsTunnelSignaledGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 1, 2)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelUpstreamNotifyRecipientType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelHopExplicitReverseLabelPtr"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSendResvNotifyRecipientType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSendPathNotifyRecipient"), ("GMPLS-TE-STD-MIB", "gmplsTunnelLinkProtection"), ("GMPLS-TE-STD-MIB", "gmplsTunnelPathComp"), ("GMPLS-TE-STD-MIB", "gmplsTunnelHopExplicitForwardLabel"), ("GMPLS-TE-STD-MIB", "gmplsTunnelAdminStatusFlags"), ("GMPLS-TE-STD-MIB", "gmplsTunnelDownstreamNotifyRecipient"), ("GMPLS-TE-STD-MIB", "gmplsTunnelHopExplicitForwardLabelPtr"), ("GMPLS-TE-STD-MIB", "gmplsTunnelHopLabelStatuses"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSendPathNotifyRecipientType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelGPid"), ("GMPLS-TE-STD-MIB", "gmplsTunnelAttributes"), ("GMPLS-TE-STD-MIB", "gmplsTunnelUpstreamNotifyRecipient"), ("GMPLS-TE-STD-MIB", "gmplsTunnelDownstreamNotifyRecipientType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSwitchingType"), ("GMPLS-TE-STD-MIB", "gmplsTunnelHopExplicitReverseLabel"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSendResvNotifyRecipient"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSecondary"), ("GMPLS-TE-STD-MIB", "gmplsTunnelLSPEncoding"), ) ) if mibBuilder.loadTexts: gmplsTunnelSignaledGroup.setDescription("Objects needed to implement signaled tunnels.") gmplsTunnelScalarGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 1, 3)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelsActive"), ("GMPLS-TE-STD-MIB", "gmplsTunnelsConfigured"), ) ) if mibBuilder.loadTexts: gmplsTunnelScalarGroup.setDescription("Scalar objects needed to implement MPLS tunnels.") gmplsTunnelOptionalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 1, 4)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelExtraParamsPtr"), ("GMPLS-TE-STD-MIB", "gmplsTunnelCHopExplicitReverseLabelPtr"), ("GMPLS-TE-STD-MIB", "gmplsTunnelARHopExplicitForwardLabel"), ("GMPLS-TE-STD-MIB", "gmplsTunnelCHopLabelStatuses"), ("GMPLS-TE-STD-MIB", "gmplsTunnelARHopLabelStatuses"), ("GMPLS-TE-STD-MIB", "gmplsTunnelARHopExplicitReverseLabel"), ("GMPLS-TE-STD-MIB", "gmplsTunnelCHopExplicitForwardLabelPtr"), ("GMPLS-TE-STD-MIB", "gmplsTunnelARHopProtection"), ("GMPLS-TE-STD-MIB", "gmplsTunnelARHopExplicitReverseLabelPtr"), ("GMPLS-TE-STD-MIB", "gmplsTunnelARHopExplicitForwardLabelPtr"), ("GMPLS-TE-STD-MIB", "gmplsTunnelCHopExplicitReverseLabel"), ("GMPLS-TE-STD-MIB", "gmplsTunnelCHopExplicitForwardLabel"), ) ) if mibBuilder.loadTexts: gmplsTunnelOptionalGroup.setDescription("The objects in this group are optional.") gmplsTeNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 1, 5)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelDown"), ) ) if mibBuilder.loadTexts: gmplsTeNotificationGroup.setDescription("Set of notifications implemented in this module. None is\nmandatory.") # Compliances gmplsTeModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 2, 1)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelOptionalGroup"), ("GMPLS-TE-STD-MIB", "gmplsTunnelScalarGroup"), ("GMPLS-TE-STD-MIB", "gmplsTunnelGroup"), ("GMPLS-TE-STD-MIB", "gmplsTeNotificationGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelScalarGroup"), ("MPLS-TE-STD-MIB", "mplsTunnelGroup"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSignaledGroup"), ) ) if mibBuilder.loadTexts: gmplsTeModuleFullCompliance.setDescription("Compliance statement for agents that provide full support for\nGMPLS-TE-STD-MIB. Such devices can then be monitored and also\nbe configured using this MIB module.\n\nThe mandatory group has to be implemented by all LSRs that\noriginate, terminate, or act as transit for TE-LSPs/tunnels.\nIn addition, depending on the type of tunnels supported, other\n\n\n\ngroups become mandatory as explained below.") gmplsTeModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 166, 13, 3, 2, 2)).setObjects(*(("GMPLS-TE-STD-MIB", "gmplsTunnelScalarGroup"), ("GMPLS-TE-STD-MIB", "gmplsTeNotificationGroup"), ("GMPLS-TE-STD-MIB", "gmplsTunnelGroup"), ("GMPLS-TE-STD-MIB", "gmplsTunnelSignaledGroup"), ("GMPLS-TE-STD-MIB", "gmplsTunnelOptionalGroup"), ) ) if mibBuilder.loadTexts: gmplsTeModuleReadOnlyCompliance.setDescription("Compliance requirement for implementations that only provide\nread-only support for GMPLS-TE-STD-MIB. Such devices can then be\nmonitored but cannot be configured using this MIB module.") # Exports # Module identity mibBuilder.exportSymbols("GMPLS-TE-STD-MIB", PYSNMP_MODULE_ID=gmplsTeStdMIB) # Objects mibBuilder.exportSymbols("GMPLS-TE-STD-MIB", gmplsTeStdMIB=gmplsTeStdMIB, gmplsTeNotifications=gmplsTeNotifications, gmplsTeScalars=gmplsTeScalars, gmplsTunnelsConfigured=gmplsTunnelsConfigured, gmplsTunnelsActive=gmplsTunnelsActive, gmplsTeObjects=gmplsTeObjects, gmplsTunnelTable=gmplsTunnelTable, gmplsTunnelEntry=gmplsTunnelEntry, gmplsTunnelUnnumIf=gmplsTunnelUnnumIf, gmplsTunnelAttributes=gmplsTunnelAttributes, gmplsTunnelLSPEncoding=gmplsTunnelLSPEncoding, gmplsTunnelSwitchingType=gmplsTunnelSwitchingType, gmplsTunnelLinkProtection=gmplsTunnelLinkProtection, gmplsTunnelGPid=gmplsTunnelGPid, gmplsTunnelSecondary=gmplsTunnelSecondary, gmplsTunnelDirection=gmplsTunnelDirection, gmplsTunnelPathComp=gmplsTunnelPathComp, gmplsTunnelUpstreamNotifyRecipientType=gmplsTunnelUpstreamNotifyRecipientType, gmplsTunnelUpstreamNotifyRecipient=gmplsTunnelUpstreamNotifyRecipient, gmplsTunnelSendResvNotifyRecipientType=gmplsTunnelSendResvNotifyRecipientType, gmplsTunnelSendResvNotifyRecipient=gmplsTunnelSendResvNotifyRecipient, gmplsTunnelDownstreamNotifyRecipientType=gmplsTunnelDownstreamNotifyRecipientType, gmplsTunnelDownstreamNotifyRecipient=gmplsTunnelDownstreamNotifyRecipient, gmplsTunnelSendPathNotifyRecipientType=gmplsTunnelSendPathNotifyRecipientType, gmplsTunnelSendPathNotifyRecipient=gmplsTunnelSendPathNotifyRecipient, gmplsTunnelAdminStatusFlags=gmplsTunnelAdminStatusFlags, gmplsTunnelExtraParamsPtr=gmplsTunnelExtraParamsPtr, gmplsTunnelHopTable=gmplsTunnelHopTable, gmplsTunnelHopEntry=gmplsTunnelHopEntry, gmplsTunnelHopLabelStatuses=gmplsTunnelHopLabelStatuses, gmplsTunnelHopExplicitForwardLabel=gmplsTunnelHopExplicitForwardLabel, gmplsTunnelHopExplicitForwardLabelPtr=gmplsTunnelHopExplicitForwardLabelPtr, gmplsTunnelHopExplicitReverseLabel=gmplsTunnelHopExplicitReverseLabel, gmplsTunnelHopExplicitReverseLabelPtr=gmplsTunnelHopExplicitReverseLabelPtr, gmplsTunnelARHopTable=gmplsTunnelARHopTable, gmplsTunnelARHopEntry=gmplsTunnelARHopEntry, gmplsTunnelARHopLabelStatuses=gmplsTunnelARHopLabelStatuses, gmplsTunnelARHopExplicitForwardLabel=gmplsTunnelARHopExplicitForwardLabel, gmplsTunnelARHopExplicitForwardLabelPtr=gmplsTunnelARHopExplicitForwardLabelPtr, gmplsTunnelARHopExplicitReverseLabel=gmplsTunnelARHopExplicitReverseLabel, gmplsTunnelARHopExplicitReverseLabelPtr=gmplsTunnelARHopExplicitReverseLabelPtr, gmplsTunnelARHopProtection=gmplsTunnelARHopProtection, gmplsTunnelCHopTable=gmplsTunnelCHopTable, gmplsTunnelCHopEntry=gmplsTunnelCHopEntry, gmplsTunnelCHopLabelStatuses=gmplsTunnelCHopLabelStatuses, gmplsTunnelCHopExplicitForwardLabel=gmplsTunnelCHopExplicitForwardLabel, gmplsTunnelCHopExplicitForwardLabelPtr=gmplsTunnelCHopExplicitForwardLabelPtr, gmplsTunnelCHopExplicitReverseLabel=gmplsTunnelCHopExplicitReverseLabel, gmplsTunnelCHopExplicitReverseLabelPtr=gmplsTunnelCHopExplicitReverseLabelPtr, gmplsTunnelReversePerfTable=gmplsTunnelReversePerfTable, gmplsTunnelReversePerfEntry=gmplsTunnelReversePerfEntry, gmplsTunnelReversePerfPackets=gmplsTunnelReversePerfPackets, gmplsTunnelReversePerfHCPackets=gmplsTunnelReversePerfHCPackets, gmplsTunnelReversePerfErrors=gmplsTunnelReversePerfErrors, gmplsTunnelReversePerfBytes=gmplsTunnelReversePerfBytes, gmplsTunnelReversePerfHCBytes=gmplsTunnelReversePerfHCBytes, gmplsTunnelErrorTable=gmplsTunnelErrorTable, gmplsTunnelErrorEntry=gmplsTunnelErrorEntry, gmplsTunnelErrorLastErrorType=gmplsTunnelErrorLastErrorType, gmplsTunnelErrorLastTime=gmplsTunnelErrorLastTime, gmplsTunnelErrorReporterType=gmplsTunnelErrorReporterType, gmplsTunnelErrorReporter=gmplsTunnelErrorReporter, gmplsTunnelErrorCode=gmplsTunnelErrorCode, gmplsTunnelErrorSubcode=gmplsTunnelErrorSubcode, gmplsTunnelErrorTLVs=gmplsTunnelErrorTLVs, gmplsTunnelErrorHelpString=gmplsTunnelErrorHelpString, gmplsTeConformance=gmplsTeConformance, gmplsTeGroups=gmplsTeGroups, gmplsTeCompliances=gmplsTeCompliances) # Notifications mibBuilder.exportSymbols("GMPLS-TE-STD-MIB", gmplsTunnelDown=gmplsTunnelDown) # Groups mibBuilder.exportSymbols("GMPLS-TE-STD-MIB", gmplsTunnelGroup=gmplsTunnelGroup, gmplsTunnelSignaledGroup=gmplsTunnelSignaledGroup, gmplsTunnelScalarGroup=gmplsTunnelScalarGroup, gmplsTunnelOptionalGroup=gmplsTunnelOptionalGroup, gmplsTeNotificationGroup=gmplsTeNotificationGroup) # Compliances mibBuilder.exportSymbols("GMPLS-TE-STD-MIB", gmplsTeModuleFullCompliance=gmplsTeModuleFullCompliance, gmplsTeModuleReadOnlyCompliance=gmplsTeModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/P-BRIDGE-MIB.py0000644000014400001440000007702411736645137020601 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python P-BRIDGE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:25 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( dot1dBasePort, dot1dBasePortEntry, dot1dBridge, dot1dTp, dot1dTpPort, ) = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePort", "dot1dBasePortEntry", "dot1dBridge", "dot1dTp", "dot1dTpPort") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") ( MacAddress, TextualConvention, TimeInterval, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TextualConvention", "TimeInterval", "TruthValue") # Types class EnabledStatus(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("enabled", 1), ("disabled", 2), ) # Objects dot1dTpHCPortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 4, 5)) if mibBuilder.loadTexts: dot1dTpHCPortTable.setDescription("A table that contains information about every high-\ncapacity port that is associated with this transparent\nbridge.") dot1dTpHCPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 4, 5, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dTpPort")) if mibBuilder.loadTexts: dot1dTpHCPortEntry.setDescription("Statistics information for each high-capacity port of a\ntransparent bridge.") dot1dTpHCPortInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpHCPortInFrames.setDescription("The number of frames that have been received by this\nport from its segment. Note that a frame received on\nthe interface corresponding to this port is only counted\nby this object if and only if it is for a protocol being\nprocessed by the local bridging function, including\nbridge management frames.") dot1dTpHCPortOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpHCPortOutFrames.setDescription("The number of frames that have been transmitted by this\nport to its segment. Note that a frame transmitted on\nthe interface corresponding to this port is only counted\nby this object if and only if it is for a protocol being\nprocessed by the local bridging function, including\nbridge management frames.") dot1dTpHCPortInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpHCPortInDiscards.setDescription("Count of valid frames that have been received by this\nport from its segment that were discarded (i.e.,\nfiltered) by the Forwarding Process.") dot1dTpPortOverflowTable = MibTable((1, 3, 6, 1, 2, 1, 17, 4, 6)) if mibBuilder.loadTexts: dot1dTpPortOverflowTable.setDescription("A table that contains the most-significant bits of\nstatistics counters for ports that are associated with this\ntransparent bridge that are on high-capacity interfaces, as\ndefined in the conformance clauses for this table. This table\nis provided as a way to read 64-bit counters for agents that\nsupport only SNMPv1.\n\nNote that the reporting of most-significant and\nleast-significant counter bits separately runs the risk of\nmissing an overflow of the lower bits in the interval between\nsampling. The manager must be aware of this possibility, even\nwithin the same varbindlist, when interpreting the results of\na request or asynchronous notification.") dot1dTpPortOverflowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 4, 6, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dTpPort")) if mibBuilder.loadTexts: dot1dTpPortOverflowEntry.setDescription("The most significant bits of statistics counters for a high-\ncapacity interface of a transparent bridge. Each object is\nassociated with a corresponding object in dot1dTpPortTable\nthat indicates the least significant bits of the counter.") dot1dTpPortInOverflowFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPortInOverflowFrames.setDescription("The number of times the associated dot1dTpPortInFrames\ncounter has overflowed.") dot1dTpPortOutOverflowFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPortOutOverflowFrames.setDescription("The number of times the associated dot1dTpPortOutFrames\ncounter has overflowed.") dot1dTpPortInOverflowDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dTpPortInOverflowDiscards.setDescription("The number of times the associated\ndot1dTpPortInDiscards counter has overflowed.") pBridgeMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 17, 6)).setRevisions(("2006-01-09 00:00","1999-08-25 00:00",)) if mibBuilder.loadTexts: pBridgeMIB.setOrganization("IETF Bridge MIB Working Group") if mibBuilder.loadTexts: pBridgeMIB.setContactInfo("Email: bridge-mib@ietf.org\nietfmibs@ops.ietf.org\n\nDavid Levi\nPostal: Nortel Networks\n4655 Great America Parkway\nSanta Clara, CA 95054\nUSA\nPhone: +1 865 686 0432\nEmail: dlevi@nortel.com\n\nDavid Harrington\nPostal: Effective Software\n50 Harding Rd.\nPortsmouth, NH 03801\nUSA\nPhone: +1 603 436 8634\nEmail: ietfdbh@comcast.net\n\nLes Bell\nPostal: Hemel Hempstead, Herts. HP2 7YU\nUK\nEmail: elbell@ntlworld.com\n\nVivian Ngai\n\n\n\nEmail: vivian_ngai@acm.org\n\nAndrew Smith\nPostal: Beijing Harbour Networks\nJiuling Building\n21 North Xisanhuan Ave.\nBeijing, 100089\nPRC\nFax: +1 415 345 1827\nEmail: ah_smith@acm.org\n\nPaul Langille\nPostal: Newbridge Networks\n5 Corporate Drive\nAndover, MA 01810\nUSA\nPhone: +1 978 691 4665\nEmail: langille@newbridge.com\n\nAnil Rijhsinghani\nPostal: Accton Technology Corporation\n5 Mount Royal Ave\nMarlboro, MA 01752\nUSA\nPhone:\nEmail: anil@accton.com\n\nKeith McCloghrie\nPostal: Cisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134-1706\nUSA\nPhone: +1 408 526 5260\nEmail: kzm@cisco.com") if mibBuilder.loadTexts: pBridgeMIB.setDescription("The Bridge MIB Extension module for managing Priority\nand Multicast Filtering, defined by IEEE 802.1D-1998,\nincluding Restricted Group Registration defined by\nIEEE 802.1t-2001.\n\nCopyright (C) The Internet Society (2006). This version of\nthis MIB module is part of RFC 4363; See the RFC itself for\nfull legal notices.") pBridgeMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1)) dot1dExtBase = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 1)) dot1dDeviceCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("dot1dExtendedFilteringServices", 0), ("dot1dTrafficClasses", 1), ("dot1qStaticEntryIndividualPort", 2), ("dot1qIVLCapable", 3), ("dot1qSVLCapable", 4), ("dot1qHybridCapable", 5), ("dot1qConfigurablePvidTagging", 6), ("dot1dLocalVlanCapable", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dDeviceCapabilities.setDescription("Indicates the optional parts of IEEE 802.1D and 802.1Q\nthat are implemented by this device and are manageable\nthrough this MIB. Capabilities that are allowed on a\nper-port basis are indicated in dot1dPortCapabilities.\n\ndot1dExtendedFilteringServices(0),\n -- can perform filtering of\n -- individual multicast addresses\n -- controlled by GMRP.\ndot1dTrafficClasses(1),\n -- can map user priority to\n -- multiple traffic classes.\ndot1qStaticEntryIndividualPort(2),\n -- dot1qStaticUnicastReceivePort &\n -- dot1qStaticMulticastReceivePort\n -- can represent non-zero entries.\ndot1qIVLCapable(3), -- Independent VLAN Learning (IVL).\ndot1qSVLCapable(4), -- Shared VLAN Learning (SVL).\ndot1qHybridCapable(5),\n -- both IVL & SVL simultaneously.\ndot1qConfigurablePvidTagging(6),\n -- whether the implementation\n -- supports the ability to\n -- override the default PVID\n -- setting and its egress status\n -- (VLAN-Tagged or Untagged) on\n -- each port.\ndot1dLocalVlanCapable(7)\n -- can support multiple local\n -- bridges, outside of the scope\n -- of 802.1Q defined VLANs.") dot1dTrafficClassesEnabled = MibScalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 2), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dTrafficClassesEnabled.setDescription("The value true(1) indicates that Traffic Classes are\nenabled on this bridge. When false(2), the bridge\noperates with a single priority level for all traffic.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dGmrpStatus = MibScalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 3), EnabledStatus().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dGmrpStatus.setDescription("The administrative status requested by management for\nGMRP. The value enabled(1) indicates that GMRP should\nbe enabled on this device, in all VLANs, on all ports\nfor which it has not been specifically disabled. When\ndisabled(2), GMRP is disabled, in all VLANs and on all\nports, and all GMRP packets will be forwarded\ntransparently. This object affects both Applicant and\nRegistrar state machines. A transition from disabled(2)\nto enabled(1) will cause a reset of all GMRP state\nmachines on all ports.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dPortCapabilitiesTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4)) if mibBuilder.loadTexts: dot1dPortCapabilitiesTable.setDescription("A table that contains capabilities information about\nevery port that is associated with this bridge.") dot1dPortCapabilitiesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4, 1)) if mibBuilder.loadTexts: dot1dPortCapabilitiesEntry.setDescription("A set of capabilities information about this port\nindexed by dot1dBasePort.") dot1dPortCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4, 1, 1), Bits().subtype(namedValues=NamedValues(("dot1qDot1qTagging", 0), ("dot1qConfigurableAcceptableFrameTypes", 1), ("dot1qIngressFiltering", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dPortCapabilities.setDescription("Indicates the parts of IEEE 802.1D and 802.1Q that are\noptional on a per-port basis, that are implemented by\nthis device, and that are manageable through this MIB.\n\ndot1qDot1qTagging(0), -- supports 802.1Q VLAN tagging of\n -- frames and GVRP.\ndot1qConfigurableAcceptableFrameTypes(1),\n -- allows modified values of\n -- dot1qPortAcceptableFrameTypes.\ndot1qIngressFiltering(2)\n -- supports the discarding of any\n -- frame received on a Port whose\n -- VLAN classification does not\n -- include that Port in its Member\n -- set.") dot1dPriority = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 2)) dot1dPortPriorityTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1)) if mibBuilder.loadTexts: dot1dPortPriorityTable.setDescription("A table that contains information about every port that\nis associated with this transparent bridge.") dot1dPortPriorityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1)) if mibBuilder.loadTexts: dot1dPortPriorityEntry.setDescription("A list of Default User Priorities for each port of a\ntransparent bridge. This is indexed by dot1dBasePort.") dot1dPortDefaultUserPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortDefaultUserPriority.setDescription("The default ingress User Priority for this port. This\nonly has effect on media, such as Ethernet, that do not\nsupport native User Priority.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dPortNumTrafficClasses = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortNumTrafficClasses.setDescription("The number of egress traffic classes supported on this\nport. This object may optionally be read-only.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dUserPriorityRegenTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2)) if mibBuilder.loadTexts: dot1dUserPriorityRegenTable.setDescription("A list of Regenerated User Priorities for each received\nUser Priority on each port of a bridge. The Regenerated\nUser Priority value may be used to index the Traffic\nClass Table for each input port. This only has effect\non media that support native User Priority. The default\nvalues for Regenerated User Priorities are the same as\nthe User Priorities.") dot1dUserPriorityRegenEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "P-BRIDGE-MIB", "dot1dUserPriority")) if mibBuilder.loadTexts: dot1dUserPriorityRegenEntry.setDescription("A mapping of incoming User Priority to a Regenerated\nUser Priority.") dot1dUserPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1dUserPriority.setDescription("The User Priority for a frame received on this port.") dot1dRegenUserPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dRegenUserPriority.setDescription("The Regenerated User Priority that the incoming User\n\n\n\nPriority is mapped to for this port.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dTrafficClassTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3)) if mibBuilder.loadTexts: dot1dTrafficClassTable.setDescription("A table mapping evaluated User Priority to Traffic\nClass, for forwarding by the bridge. Traffic class is a\nnumber in the range (0..(dot1dPortNumTrafficClasses-1)).") dot1dTrafficClassEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "P-BRIDGE-MIB", "dot1dTrafficClassPriority")) if mibBuilder.loadTexts: dot1dTrafficClassEntry.setDescription("User Priority to Traffic Class mapping.") dot1dTrafficClassPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dot1dTrafficClassPriority.setDescription("The Priority value determined for the received frame.\nThis value is equivalent to the priority indicated in\nthe tagged frame received, or one of the evaluated\npriorities, determined according to the media-type.\n\n\n\nFor untagged frames received from Ethernet media, this\nvalue is equal to the dot1dPortDefaultUserPriority value\nfor the ingress port.\n\nFor untagged frames received from non-Ethernet media,\nthis value is equal to the dot1dRegenUserPriority value\nfor the ingress port and media-specific user priority.") dot1dTrafficClass = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dTrafficClass.setDescription("The Traffic Class the received frame is mapped to.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dPortOutboundAccessPriorityTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4)) if mibBuilder.loadTexts: dot1dPortOutboundAccessPriorityTable.setDescription("A table mapping Regenerated User Priority to Outbound\nAccess Priority. This is a fixed mapping for all port\ntypes, with two options for 802.5 Token Ring.") dot1dPortOutboundAccessPriorityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4, 1)).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "P-BRIDGE-MIB", "dot1dRegenUserPriority")) if mibBuilder.loadTexts: dot1dPortOutboundAccessPriorityEntry.setDescription("Regenerated User Priority to Outbound Access Priority\nmapping.") dot1dPortOutboundAccessPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dPortOutboundAccessPriority.setDescription("The Outbound Access Priority the received frame is\nmapped to.") dot1dGarp = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 3)) dot1dPortGarpTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1)) if mibBuilder.loadTexts: dot1dPortGarpTable.setDescription("A table of GARP control information about every bridge\nport. This is indexed by dot1dBasePort.") dot1dPortGarpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1)) if mibBuilder.loadTexts: dot1dPortGarpEntry.setDescription("GARP control information for a bridge port.") dot1dPortGarpJoinTime = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 1), TimeInterval().clone('20')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortGarpJoinTime.setDescription("The GARP Join time, in centiseconds.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dPortGarpLeaveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 2), TimeInterval().clone('60')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortGarpLeaveTime.setDescription("The GARP Leave time, in centiseconds.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dPortGarpLeaveAllTime = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 3), TimeInterval().clone('1000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortGarpLeaveAllTime.setDescription("The GARP LeaveAll time, in centiseconds.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dGmrp = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 4)) dot1dPortGmrpTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1)) if mibBuilder.loadTexts: dot1dPortGmrpTable.setDescription("A table of GMRP control and status information about\nevery bridge port. Augments the dot1dBasePortTable.") dot1dPortGmrpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1)) if mibBuilder.loadTexts: dot1dPortGmrpEntry.setDescription("GMRP control and status information for a bridge port.") dot1dPortGmrpStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 1), EnabledStatus().clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortGmrpStatus.setDescription("The administrative state of GMRP operation on this port. The\nvalue enabled(1) indicates that GMRP is enabled on this port\nin all VLANs as long as dot1dGmrpStatus is also enabled(1).\nA value of disabled(2) indicates that GMRP is disabled on\nthis port in all VLANs: any GMRP packets received will\nbe silently discarded, and no GMRP registrations will be\npropagated from other ports. Setting this to a value of\nenabled(1) will be stored by the agent but will only take\neffect on the GMRP protocol operation if dot1dGmrpStatus\nalso indicates the value enabled(1). This object affects\nall GMRP Applicant and Registrar state machines on this\nport. A transition from disabled(2) to enabled(1) will\ncause a reset of all GMRP state machines on this port.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") dot1dPortGmrpFailedRegistrations = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dPortGmrpFailedRegistrations.setDescription("The total number of failed GMRP registrations, for any\nreason, in all VLANs, on this port.") dot1dPortGmrpLastPduOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dot1dPortGmrpLastPduOrigin.setDescription("The Source MAC Address of the last GMRP message\nreceived on this port.") dot1dPortRestrictedGroupRegistration = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot1dPortRestrictedGroupRegistration.setDescription("The state of Restricted Group Registration on this port.\nIf the value of this control is true(1), then creation\nof a new dynamic entry is permitted only if there is a\nStatic Filtering Entry for the VLAN concerned, in which\nthe Registrar Administrative Control value is Normal\nRegistration.\n\nThe value of this object MUST be retained across\nreinitializations of the management system.") pBridgeConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 2)) pBridgeGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 2, 1)) pBridgeCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 2, 2)) # Augmentions dot1dBasePortEntry, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePortEntry") dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortCapabilitiesEntry")) dot1dPortCapabilitiesEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) dot1dBasePortEntry, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePortEntry") dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortGmrpEntry")) dot1dPortGmrpEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) dot1dBasePortEntry, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePortEntry") dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortGarpEntry")) dot1dPortGarpEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) dot1dBasePortEntry, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dBasePortEntry") dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortPriorityEntry")) dot1dPortPriorityEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames()) # Groups pBridgeExtCapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 1)).setObjects(*(("P-BRIDGE-MIB", "dot1dPortCapabilities"), ("P-BRIDGE-MIB", "dot1dDeviceCapabilities"), ) ) if mibBuilder.loadTexts: pBridgeExtCapGroup.setDescription("A collection of objects indicating the optional\ncapabilities of the device.") pBridgeDeviceGmrpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 2)).setObjects(*(("P-BRIDGE-MIB", "dot1dGmrpStatus"), ) ) if mibBuilder.loadTexts: pBridgeDeviceGmrpGroup.setDescription("A collection of objects providing device-level control\nfor the Multicast Filtering extended bridge services.") pBridgeDevicePriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 3)).setObjects(*(("P-BRIDGE-MIB", "dot1dTrafficClassesEnabled"), ) ) if mibBuilder.loadTexts: pBridgeDevicePriorityGroup.setDescription("A collection of objects providing device-level control\nfor the Priority services.") pBridgeDefaultPriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 4)).setObjects(*(("P-BRIDGE-MIB", "dot1dPortDefaultUserPriority"), ) ) if mibBuilder.loadTexts: pBridgeDefaultPriorityGroup.setDescription("A collection of objects defining the User Priority\napplicable to each port for media that do not support\nnative User Priority.") pBridgeRegenPriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 5)).setObjects(*(("P-BRIDGE-MIB", "dot1dRegenUserPriority"), ) ) if mibBuilder.loadTexts: pBridgeRegenPriorityGroup.setDescription("A collection of objects defining the User Priorities\napplicable to each port for media that support native\nUser Priority.") pBridgePriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 6)).setObjects(*(("P-BRIDGE-MIB", "dot1dTrafficClass"), ("P-BRIDGE-MIB", "dot1dPortNumTrafficClasses"), ) ) if mibBuilder.loadTexts: pBridgePriorityGroup.setDescription("A collection of objects defining the traffic classes\nwithin a bridge for each evaluated User Priority.") pBridgeAccessPriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 7)).setObjects(*(("P-BRIDGE-MIB", "dot1dPortOutboundAccessPriority"), ) ) if mibBuilder.loadTexts: pBridgeAccessPriorityGroup.setDescription("A collection of objects defining the media-dependent\noutbound access level for each priority.") pBridgePortGarpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 8)).setObjects(*(("P-BRIDGE-MIB", "dot1dPortGarpLeaveAllTime"), ("P-BRIDGE-MIB", "dot1dPortGarpLeaveTime"), ("P-BRIDGE-MIB", "dot1dPortGarpJoinTime"), ) ) if mibBuilder.loadTexts: pBridgePortGarpGroup.setDescription("A collection of objects providing port level control\nand status information for GARP operation.") pBridgePortGmrpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 9)).setObjects(*(("P-BRIDGE-MIB", "dot1dPortGmrpFailedRegistrations"), ("P-BRIDGE-MIB", "dot1dPortGmrpLastPduOrigin"), ("P-BRIDGE-MIB", "dot1dPortGmrpStatus"), ) ) if mibBuilder.loadTexts: pBridgePortGmrpGroup.setDescription("A collection of objects providing port level control\nand status information for GMRP operation.") pBridgeHCPortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 10)).setObjects(*(("P-BRIDGE-MIB", "dot1dTpHCPortOutFrames"), ("P-BRIDGE-MIB", "dot1dTpHCPortInDiscards"), ("P-BRIDGE-MIB", "dot1dTpHCPortInFrames"), ) ) if mibBuilder.loadTexts: pBridgeHCPortGroup.setDescription("A collection of objects providing 64-bit statistics\ncounters for high-capacity bridge ports.") pBridgePortOverflowGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 11)).setObjects(*(("P-BRIDGE-MIB", "dot1dTpPortInOverflowDiscards"), ("P-BRIDGE-MIB", "dot1dTpPortInOverflowFrames"), ("P-BRIDGE-MIB", "dot1dTpPortOutOverflowFrames"), ) ) if mibBuilder.loadTexts: pBridgePortOverflowGroup.setDescription("A collection of objects providing overflow statistics\ncounters for high-capacity bridge ports.") pBridgePortGmrpGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 12)).setObjects(*(("P-BRIDGE-MIB", "dot1dPortGmrpFailedRegistrations"), ("P-BRIDGE-MIB", "dot1dPortGmrpLastPduOrigin"), ("P-BRIDGE-MIB", "dot1dPortGmrpStatus"), ("P-BRIDGE-MIB", "dot1dPortRestrictedGroupRegistration"), ) ) if mibBuilder.loadTexts: pBridgePortGmrpGroup2.setDescription("A collection of objects providing port level control\nand status information for GMRP operation.") # Compliances pBridgeCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 6, 2, 2, 1)).setObjects(*(("P-BRIDGE-MIB", "pBridgeRegenPriorityGroup"), ("P-BRIDGE-MIB", "pBridgeDeviceGmrpGroup"), ("P-BRIDGE-MIB", "pBridgeDevicePriorityGroup"), ("P-BRIDGE-MIB", "pBridgeDefaultPriorityGroup"), ("P-BRIDGE-MIB", "pBridgePriorityGroup"), ("P-BRIDGE-MIB", "pBridgeExtCapGroup"), ("P-BRIDGE-MIB", "pBridgeAccessPriorityGroup"), ("P-BRIDGE-MIB", "pBridgeHCPortGroup"), ("P-BRIDGE-MIB", "pBridgePortOverflowGroup"), ("P-BRIDGE-MIB", "pBridgePortGarpGroup"), ("P-BRIDGE-MIB", "pBridgePortGmrpGroup"), ) ) if mibBuilder.loadTexts: pBridgeCompliance.setDescription("The compliance statement for device support of Priority\nand Multicast Filtering extended bridging services.") pBridgeCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 6, 2, 2, 2)).setObjects(*(("P-BRIDGE-MIB", "pBridgeRegenPriorityGroup"), ("P-BRIDGE-MIB", "pBridgeDeviceGmrpGroup"), ("P-BRIDGE-MIB", "pBridgeDevicePriorityGroup"), ("P-BRIDGE-MIB", "pBridgeDefaultPriorityGroup"), ("P-BRIDGE-MIB", "pBridgePriorityGroup"), ("P-BRIDGE-MIB", "pBridgePortGmrpGroup2"), ("P-BRIDGE-MIB", "pBridgeExtCapGroup"), ("P-BRIDGE-MIB", "pBridgeAccessPriorityGroup"), ("P-BRIDGE-MIB", "pBridgeHCPortGroup"), ("P-BRIDGE-MIB", "pBridgePortOverflowGroup"), ("P-BRIDGE-MIB", "pBridgePortGarpGroup"), ) ) if mibBuilder.loadTexts: pBridgeCompliance2.setDescription("The compliance statement for device support of Priority\nand Multicast Filtering extended bridging services.") # Exports # Module identity mibBuilder.exportSymbols("P-BRIDGE-MIB", PYSNMP_MODULE_ID=pBridgeMIB) # Types mibBuilder.exportSymbols("P-BRIDGE-MIB", EnabledStatus=EnabledStatus) # Objects mibBuilder.exportSymbols("P-BRIDGE-MIB", dot1dTpHCPortTable=dot1dTpHCPortTable, dot1dTpHCPortEntry=dot1dTpHCPortEntry, dot1dTpHCPortInFrames=dot1dTpHCPortInFrames, dot1dTpHCPortOutFrames=dot1dTpHCPortOutFrames, dot1dTpHCPortInDiscards=dot1dTpHCPortInDiscards, dot1dTpPortOverflowTable=dot1dTpPortOverflowTable, dot1dTpPortOverflowEntry=dot1dTpPortOverflowEntry, dot1dTpPortInOverflowFrames=dot1dTpPortInOverflowFrames, dot1dTpPortOutOverflowFrames=dot1dTpPortOutOverflowFrames, dot1dTpPortInOverflowDiscards=dot1dTpPortInOverflowDiscards, pBridgeMIB=pBridgeMIB, pBridgeMIBObjects=pBridgeMIBObjects, dot1dExtBase=dot1dExtBase, dot1dDeviceCapabilities=dot1dDeviceCapabilities, dot1dTrafficClassesEnabled=dot1dTrafficClassesEnabled, dot1dGmrpStatus=dot1dGmrpStatus, dot1dPortCapabilitiesTable=dot1dPortCapabilitiesTable, dot1dPortCapabilitiesEntry=dot1dPortCapabilitiesEntry, dot1dPortCapabilities=dot1dPortCapabilities, dot1dPriority=dot1dPriority, dot1dPortPriorityTable=dot1dPortPriorityTable, dot1dPortPriorityEntry=dot1dPortPriorityEntry, dot1dPortDefaultUserPriority=dot1dPortDefaultUserPriority, dot1dPortNumTrafficClasses=dot1dPortNumTrafficClasses, dot1dUserPriorityRegenTable=dot1dUserPriorityRegenTable, dot1dUserPriorityRegenEntry=dot1dUserPriorityRegenEntry, dot1dUserPriority=dot1dUserPriority, dot1dRegenUserPriority=dot1dRegenUserPriority, dot1dTrafficClassTable=dot1dTrafficClassTable, dot1dTrafficClassEntry=dot1dTrafficClassEntry, dot1dTrafficClassPriority=dot1dTrafficClassPriority, dot1dTrafficClass=dot1dTrafficClass, dot1dPortOutboundAccessPriorityTable=dot1dPortOutboundAccessPriorityTable, dot1dPortOutboundAccessPriorityEntry=dot1dPortOutboundAccessPriorityEntry, dot1dPortOutboundAccessPriority=dot1dPortOutboundAccessPriority, dot1dGarp=dot1dGarp, dot1dPortGarpTable=dot1dPortGarpTable, dot1dPortGarpEntry=dot1dPortGarpEntry, dot1dPortGarpJoinTime=dot1dPortGarpJoinTime, dot1dPortGarpLeaveTime=dot1dPortGarpLeaveTime, dot1dPortGarpLeaveAllTime=dot1dPortGarpLeaveAllTime, dot1dGmrp=dot1dGmrp, dot1dPortGmrpTable=dot1dPortGmrpTable, dot1dPortGmrpEntry=dot1dPortGmrpEntry, dot1dPortGmrpStatus=dot1dPortGmrpStatus, dot1dPortGmrpFailedRegistrations=dot1dPortGmrpFailedRegistrations, dot1dPortGmrpLastPduOrigin=dot1dPortGmrpLastPduOrigin, dot1dPortRestrictedGroupRegistration=dot1dPortRestrictedGroupRegistration, pBridgeConformance=pBridgeConformance, pBridgeGroups=pBridgeGroups, pBridgeCompliances=pBridgeCompliances) # Groups mibBuilder.exportSymbols("P-BRIDGE-MIB", pBridgeExtCapGroup=pBridgeExtCapGroup, pBridgeDeviceGmrpGroup=pBridgeDeviceGmrpGroup, pBridgeDevicePriorityGroup=pBridgeDevicePriorityGroup, pBridgeDefaultPriorityGroup=pBridgeDefaultPriorityGroup, pBridgeRegenPriorityGroup=pBridgeRegenPriorityGroup, pBridgePriorityGroup=pBridgePriorityGroup, pBridgeAccessPriorityGroup=pBridgeAccessPriorityGroup, pBridgePortGarpGroup=pBridgePortGarpGroup, pBridgePortGmrpGroup=pBridgePortGmrpGroup, pBridgeHCPortGroup=pBridgeHCPortGroup, pBridgePortOverflowGroup=pBridgePortOverflowGroup, pBridgePortGmrpGroup2=pBridgePortGmrpGroup2) # Compliances mibBuilder.exportSymbols("P-BRIDGE-MIB", pBridgeCompliance=pBridgeCompliance, pBridgeCompliance2=pBridgeCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/TE-MIB.py0000644000014400001440000012456411736645141017755 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:45 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( MplsBitRate, TeHopAddress, TeHopAddressType, ) = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsBitRate", "TeHopAddress", "TeHopAddressType") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TimeStamp", "TruthValue") # Objects teMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 122)).setRevisions(("2005-01-04 00:00",)) if mibBuilder.loadTexts: teMIB.setOrganization("IETF Traffic Engineering Working Group") if mibBuilder.loadTexts: teMIB.setContactInfo("\nEditor: Kireeti Kompella\n Postal: Juniper Networks, Inc.\n 1194 Mathilda Ave\n\n\n\n Sunnyvale, CA 94089\n Tel: +1 408 745 2000\n E-mail: kireeti@juniper.net\n\nThe IETF Traffic Engineering Working Group is\nchaired by Jim Boyle and Ed Kern.\n\nWG Mailing List information:\n\n General Discussion: te-wg@ops.ietf.org\n To Subscribe: te-wg-request@ops.ietf.org\n In Body: subscribe\n Archive: ftp://ops.ietf.org/pub/lists\n\nComments on the MIB module should be sent to the\nmailing list. The archives for this mailing list\nshould be consulted for previous discussion on\nthis MIB.") if mibBuilder.loadTexts: teMIB.setDescription("The Traffic Engineering MIB module.\n\nCopyright (C) The Internet Society (2005). This\nversion of this MIB module is part of RFC 3970;\nsee the RFC itself for full legal notices.") teMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 122, 0)) teMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 122, 1)) teInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 122, 1, 1)) teDistProtocol = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 1), Bits().subtype(namedValues=NamedValues(("other", 0), ("isis", 1), ("ospf", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: teDistProtocol.setDescription("IGP used to distribute Traffic Engineering\ninformation and topology to each device for the\npurpose of automatic path computation. More than\none IGP may be used to distribute TE information.") teSignalingProto = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 2), Bits().subtype(namedValues=NamedValues(("other", 0), ("rsvpte", 1), ("crldp", 2), ("static", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: teSignalingProto.setDescription("Traffic Engineering signaling protocols supported\nby this device. More than one protocol may be\nsupported.") teNotificationEnable = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: teNotificationEnable.setDescription("If this object is true, then it enables the\ngeneration of notifications from this MIB module.\nOtherwise notifications are not generated.") teNextTunnelIndex = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teNextTunnelIndex.setDescription("An integer that may be used as a new Index in the\n\n\n\nteTunnelTable.\n\nThe special value of 0 indicates that no more new\nentries can be created in that table.\n\nWhen this MIB module is used for configuration, this\nobject always contains a legal value (if non-zero)\nfor an index that is not currently used in that\ntable. The Command Generator (Network Management\nApplication) reads this variable and uses the\n(non-zero) value read when creating a new row with\nan SNMP SET. When the SET is performed, the Command\nResponder (agent) must determine whether the value\nis indeed still unused; Two Network Management\nApplications may attempt to create a row\n(configuration entry) simultaneously and use the\nsame value. If it is currently unused, the SET\nsucceeds, and the Command Responder (agent) changes\nthe value of this object according to an\nimplementation-specific algorithm. If the value is\nin use, however, the SET fails. The Network\nManagement Application must then re-read this\nvariable to obtain a new usable value.") teNextPathHopIndex = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teNextPathHopIndex.setDescription("An integer that may be used as a new Index in the\ntePathHopTable.\n\nThe special value of 0 indicates that no more new\nentries can be created in that table.\n\nWhen this MIB module is used for configuration, this\nobject always contains a legal value (if non-zero)\nfor an index that is not currently used in that\ntable. The Command Generator (Network Management\nApplication) reads this variable and uses the\n(non-zero) value read when creating a new row with\nan SNMP SET. When the SET is performed, the Command\nResponder (agent) must determine whether the value\nis indeed still unused; Two Network Management\nApplications may attempt to create a row\n(configuration entry) simultaneously and use the\nsame value. If it is currently unused, the SET\n\n\n\nsucceeds, and the Command Responder (agent) changes\nthe value of this object according to an\nimplementation-specific algorithm. If the value is\nin use, however, the SET fails. The Network\nManagement Application must then re-read this\nvariable to obtain a new usable value.") teConfiguredTunnels = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teConfiguredTunnels.setDescription("Number of currently configured Tunnels.") teActiveTunnels = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teActiveTunnels.setDescription("Number of currently active Tunnels.") tePrimaryTunnels = MibScalar((1, 3, 6, 1, 2, 1, 122, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tePrimaryTunnels.setDescription("Number of currently active Tunnels running on\ntheir primary paths.") teAdminGroupTable = MibTable((1, 3, 6, 1, 2, 1, 122, 1, 1, 9)) if mibBuilder.loadTexts: teAdminGroupTable.setDescription("A mapping of configured administrative groups. Each\nentry represents an Administrative Group and\nprovides a name and index for the group.\nAdministrative groups are used to label links in the\nTraffic Engineering topology in order to place\nconstraints (include and exclude) on Tunnel paths.\n\nA groupName can only be linked to one group number.\nThe groupNumber is the number assigned to the\nadministrative group used in constraints,\nsuch as tePathIncludeAny or tePathIncludeAll.") teAdminGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 122, 1, 1, 9, 1)).setIndexNames((0, "TE-MIB", "teAdminGroupNumber")) if mibBuilder.loadTexts: teAdminGroupEntry.setDescription("A mapping between a configured group number and\nits human-readable name. The group number should\nbe between 1 and 32, inclusive. Group number n\nrepresents bit number (n-1) in the bit vector for\nInclude/Exclude constraints.\n\nAll entries in this table MUST be kept in stable\nstorage so that they will re-appear in case of a\nrestart/reboot.") teAdminGroupNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 1, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: teAdminGroupNumber.setDescription("Index of the administrative group.") teAdminGroupName = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 1, 9, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: teAdminGroupName.setDescription("Name of the administrative group.") teAdminGroupRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 1, 9, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teAdminGroupRowStatus.setDescription("The status of this conceptual row.\n\nThe value of this object has no effect on whether\nother objects in this conceptual row can be\n\n\n\nmodified.") teTunnelTable = MibTable((1, 3, 6, 1, 2, 1, 122, 1, 2)) if mibBuilder.loadTexts: teTunnelTable.setDescription("Table of Configured Traffic Tunnels.") teTunnelEntry = MibTableRow((1, 3, 6, 1, 2, 1, 122, 1, 2, 1)).setIndexNames((0, "TE-MIB", "teTunnelIndex")) if mibBuilder.loadTexts: teTunnelEntry.setDescription("Entry containing information about a particular\nTraffic Tunnel.") teTunnelIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: teTunnelIndex.setDescription("A unique index that identifies a Tunnel. If the TE\nTunnel is considered an interface, then this index\nmust match the interface index of the corresponding\ninterface. Otherwise, this index must be at least\n2^24, so that it does not overlap with any existing\ninterface index.") teTunnelName = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: teTunnelName.setDescription("Name of the Traffic Tunnel.\n\nNote that the name of a Tunnel MUST be unique.\nWhen a SET request contains a name that is already\nin use for another entry, then the implementation\nmust return an inconsistentValue error.\n\nThe value of this object cannot be changed if the\nif the value of the corresponding teTunnelRowStatus\nobject is 'active'.") teTunnelNextPathIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelNextPathIndex.setDescription("An integer that may be used as a new Index for the\nnext Path in this Tunnel.\n\nThe special value of 0 indicates that no more Paths\ncan be created for this Tunnel, or that no more new\nentries can be created in tePathTable.\n\n\n\n\nWhen this MIB module is used for configuration, this\nobject always contains a legal value (if non-zero)\nfor an index that is not currently used in that\ntable. The Command Generator (Network Management\nApplication) reads this variable and uses the\n(non-zero) value read when creating a new row with\nan SNMP SET. When the SET is performed, the Command\nResponder (agent) must determine whether the value\nis indeed still unused; Two Network Management\nApplications may attempt to create a row\n(configuration entry) simultaneously and use the\nsame value. If it is currently unused, the SET\nsucceeds, and the Command Responder (agent) changes\nthe value of this object according to an\nimplementation-specific algorithm. If the value is\nin use, however, the SET fails. The Network\nManagement Application must then re-read this\nvariable to obtain a new usable value.") teTunnelRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teTunnelRowStatus.setDescription("The status of this conceptual row.\n\nWhen the value of this object is 'active', then\nthe values for the corresponding objects\nteTunnelName, teTunnelSourceAddressType,\nteTunnelSourceAddress,\nteTunnelDestinationAddressType, and\nteTunnelDestinationAddress cannot be changed.") teTunnelStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 5), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teTunnelStorageType.setDescription("The storage type for this conceptual row.\n\nConceptual rows having the value 'permanent' need\nnot allow write-access to any columnar objects\nin the row.") teTunnelSourceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 6), TeHopAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teTunnelSourceAddressType.setDescription("The type of Traffic Engineered Tunnel hop address\nfor the source of this Tunnel. Typically, this\naddress type is IPv4 or IPv6, with a prefix length\nof 32 or 128, respectively. If the TE Tunnel path\nis being computed by a path computation server,\nhowever, it is possible to use more flexible source\naddress types, such as AS numbers or prefix lengths\nless than host address lengths.\n\nThe value of this object cannot be changed\nif the value of the corresponding teTunnelRowStatus\nobject is 'active'.") teTunnelSourceAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 7), TeHopAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teTunnelSourceAddress.setDescription("The Source Traffic Engineered Tunnel hop address of\nthis Tunnel.\n\nThe type of this address is determined by the value\nof the corresponding teTunnelSourceAddressType.\n\nNote that the source and destination addresses of a\nTunnel can be different address types.\n\nThe value of this object cannot be changed\nif the value of the corresponding teTunnelRowStatus\nobject is 'active'.") teTunnelDestinationAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 8), TeHopAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teTunnelDestinationAddressType.setDescription("The type of Traffic Engineered Tunnel hop address\nfor the destination of this Tunnel.\n\nThe value of this object cannot be changed\nif the value of the corresponding teTunnelRowStatus\nobject is 'active'.") teTunnelDestinationAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 9), TeHopAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teTunnelDestinationAddress.setDescription("The Destination Traffic Engineered Tunnel hop\naddress of this Tunnel.\n\nThe type of this address is determined by the value\nof the corresponding teTunnelDestinationAddressType.\n\nNote that source and destination addresses of a\nTunnel can be different address types.\n\nThe value of this object cannot be changed\nif the value of the corresponding teTunnelRowStatus\nobject is 'active'.") teTunnelState = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,4,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("up", 2), ("down", 3), ("testing", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelState.setDescription("The operational state of the Tunnel.") teTunnelDiscontinuityTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelDiscontinuityTimer.setDescription("The value of sysUpTime on the most recent occasion\nat which any one or more of this tunnel's counters\nsuffered a discontinuity. The relevant counters\nare teTunnelOctets, teTunnelPackets,\nteTunnelLPOctets, and teTunnelLPPackets. If no such\ndiscontinuities have occurred since the last\nre-initialization of the local management subsystem\nthen this object contains a zero value.") teTunnelOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelOctets.setDescription("The number of octets that have been forwarded over\nthe Tunnel.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system,\nand at other times, as indicated by the value of\nteTunnelDiscontinuityTimer.") teTunnelPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelPackets.setDescription("The number of packets that have been forwarded over\nthe Tunnel.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times, as indicated by the value of\nteTunnelDiscontinuityTimer.") teTunnelLPOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelLPOctets.setDescription("The number of octets that have been forwarded over\nthe Tunnel.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times, as indicated by the value of\nteTunnelDiscontinuityTimer.") teTunnelLPPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelLPPackets.setDescription("The number of packets that have been forwarded over\nthe Tunnel.\n\n\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times, as indicated by the value of\nteTunnelDiscontinuityTimer.") teTunnelAge = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 16), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelAge.setDescription("The age (i.e., time from creation of this conceptual\nrow till now) of this Tunnel in hundredths of a\nsecond. Note that because TimeTicks wrap in about\n16 months, this value is best used in interval\nmeasurements.") teTunnelTimeUp = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 17), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelTimeUp.setDescription("The total time in hundredths of a second that this\nTunnel has been operational. Note that because\nTimeTicks wrap in about 16 months, this value is\nbest used in interval measurements.\n\nAn example of usage of this object would be to\ncompute the percentage up time over a period of time\nby obtaining values of teTunnelAge and\nteTunnelTimeUp at two points in time and computing\nthe following ratio:\n((teTunnelTimeUp2 - teTunnelTimeUp1)/\n(teTunnelAge2 - teTunnelAge1)) * 100 %. In doing\nso, the management station must account for\nwrapping of the values of teTunnelAge and\nteTunnelTimeUp between the two measurements.") teTunnelPrimaryTimeUp = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 18), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelPrimaryTimeUp.setDescription("The total time in hundredths of a second that this\nTunnel's primary path has been operational. Note\nthat because TimeTicks wrap in about 16 months, this\n\n\n\nvalue is best used in interval measurements.\n\nAn example of usage of this field would be to\ncompute what percentage of time that a TE Tunnel was\non the primary path over a period of time by\ncomputing\n((teTunnelPrimaryTimeUp2 - teTunnelPrimaryTimeUp1)/\n(teTunnelTimeUp2 - teTunnelTimeUp1))*100 %. In\ndoing so, the management station must account for\nwrapping of the values of teTunnelPrimaryTimeUp and\nteTunnelTimeUp between the two measurements.") teTunnelTransitions = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelTransitions.setDescription("The number of operational state transitions\n(up -> down and down -> up) this Tunnel has\nundergone.") teTunnelLastTransition = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 20), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelLastTransition.setDescription("The time in hundredths of a second since the last\noperational state transition occurred on this\nTunnel.\n\nNote that if the last transition was over 16\nmonths ago, this value will be inaccurate.") teTunnelPathChanges = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelPathChanges.setDescription("The number of path changes this Tunnel has had.") teTunnelLastPathChange = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 22), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelLastPathChange.setDescription("The time in hundredths of a second since the last\npath change occurred on this Tunnel.\n\nNote that if the last transition was over 16\nmonths ago, this value will be inaccurate.\n\nPath changes may be caused by network events or by\nreconfiguration that affects the path.") teTunnelConfiguredPaths = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 23), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelConfiguredPaths.setDescription("The number of paths configured for this Tunnel.") teTunnelStandbyPaths = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 24), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelStandbyPaths.setDescription("The number of standby paths configured for this\nTunnel.") teTunnelOperationalPaths = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 2, 1, 25), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: teTunnelOperationalPaths.setDescription("The number of operational paths for this Tunnel.\nThis includes the path currently active, as\nwell as operational standby paths.") tePathTable = MibTable((1, 3, 6, 1, 2, 1, 122, 1, 3)) if mibBuilder.loadTexts: tePathTable.setDescription("Table of Configured Traffic Tunnels.") tePathEntry = MibTableRow((1, 3, 6, 1, 2, 1, 122, 1, 3, 1)).setIndexNames((0, "TE-MIB", "teTunnelIndex"), (0, "TE-MIB", "tePathIndex")) if mibBuilder.loadTexts: tePathEntry.setDescription("Entry containing information about a particular\nTraffic Tunnel. Each Traffic Tunnel can have zero\nor more Traffic Paths.\n\nAs a Traffic Path can only exist over an existing\nTraffic Tunnel, all tePathEntries with\na value of n for teTunnelIndex MUST be removed by\nthe implementation when the corresponding\nteTunnelEntry with a value of n for teTunnelIndex\nis removed.") tePathIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tePathIndex.setDescription("An index that uniquely identifies a path within\na Tunnel.\n\n\n\nThe combination of thus\nuniquely identifies a path among all paths on this\nrouter.") tePathName = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathName.setDescription("The name of this path.\n\nA pathName must be unique within the set of paths\nover a single tunnel. If a SET request is received\nwith a duplicate name, then the implementation MUST\nreturn an inconsistentValue error.\n\nThe value of this object cannot be changed\nif the value of the corresponding teTunnelRowStatus\nobject is 'active'.") tePathRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathRowStatus.setDescription("The status of this conceptual row.\n\nWhen the value of this object is 'active', then\nthe value of tePathName cannot be changed. All\nother writable objects may be changed; however,\nthese changes may affect traffic going over the TE\ntunnel or require the path to be computed and/or\nre-signaled.") tePathStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 4), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathStorageType.setDescription("The storage type for this conceptual row.\n\nConceptual rows having the value 'permanent' need\nnot allow write-access to any columnar objects\nin the row.") tePathType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("primary", 2), ("standby", 3), ("secondary", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathType.setDescription("The type for this PathEntry; i.e., whether this path\nis a primary path, a standby path, or a secondary\npath.") tePathConfiguredRoute = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 6), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathConfiguredRoute.setDescription("The route that this TE path is configured to follow;\ni.e., an ordered list of hops. The value of this\nobject gives the primary index into the Hop Table.\nThe secondary index is the hop count in the path, so\nto get the route, one could get the first hop with\nindex in the Hop Table\nand do a getnext to get subsequent hops.") tePathBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 7), MplsBitRate().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathBandwidth.setDescription("The configured bandwidth for this Tunnel,\nin units of thousands of bits per second (Kbps).") tePathIncludeAny = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 8), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathIncludeAny.setDescription("This is a configured set of administrative groups\nspecified as a bit vector (i.e., bit n is 1 if group\n\n\n\nn is in the set, where n = 0 is the LSB). For each\nlink that this path goes through, the link must have\nat least one of the groups specified in IncludeAny\nto be acceptable. If IncludeAny is zero, all links\nare acceptable.") tePathIncludeAll = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 9), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathIncludeAll.setDescription("This is a configured set of administrative groups\nspecified as a bit vector (i.e., bit n is 1 if group\nn is in the set, where n = 0 is the LSB). For each\nlink that this path goes through, the link must have\nall of the groups specified in IncludeAll to be\nacceptable. If IncludeAll is zero, all links are\nacceptable.") tePathExclude = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 10), Unsigned32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathExclude.setDescription("This is a configured set of administrative groups\nspecified as a bit vector (i.e., bit n is 1 if group\nn is in the set, where n = 0 is the LSB). For each\nlink that this path goes through, the link MUST have\ngroups associated with it, and the intersection of\nthe link's groups and the 'exclude' set MUST be\nnull.") tePathSetupPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathSetupPriority.setDescription("The setup priority configured for this path, with 0\nas the highest priority and 7 as the lowest.") tePathHoldPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathHoldPriority.setDescription("The hold priority configured for this path, with 0\nas the highest priority and 7 as the lowest.") tePathProperties = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 13), Bits().subtype(namedValues=NamedValues(("recordRoute", 0), ("cspf", 1), ("makeBeforeBreak", 2), ("mergeable", 3), ("fastReroute", 4), ("protected", 5), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathProperties.setDescription("The set of configured properties for this path,\nexpressed as a bit map. For example, if the path\nsupports 'make before break', then bit 2 is set.") tePathOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(3,0,2,5,1,4,)).subtype(namedValues=NamedValues(("unknown", 0), ("down", 1), ("testing", 2), ("dormant", 3), ("ready", 4), ("operational", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tePathOperStatus.setDescription("The operational status of the path:\nunknown:\ndown: Signaling failed.\ntesting: Administratively set aside for testing.\ndormant: Not signaled (for a backup tunnel).\nready: Signaled but not yet carrying traffic.\noperational: Signaled and carrying traffic.") tePathAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("normal", 1), ("testing", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathAdminStatus.setDescription("The operational status of the path:\nnormal: Used normally for forwarding.\ntesting: Administratively set aside for testing.") tePathComputedRoute = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 16), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tePathComputedRoute.setDescription("The route computed for this path, perhaps using\nsome form of Constraint-based Routing. The\nalgorithm is implementation dependent.\n\nThis object returns the computed route as an ordered\nlist of hops. The value of this object gives the\nprimary index into the Hop Table. The secondary\nindex is the hop count in the path, so to get the\nroute, one could get the first hop with index\n in the Hop Table and do a\ngetnext to get subsequent hops.\n\nA value of zero (0) means there is no computedRoute.") tePathRecordedRoute = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 3, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tePathRecordedRoute.setDescription("The route actually used for this path, as recorded\nby the signaling protocol. This is again an ordered\nlist of hops; each hop is expected to be strict.\n\nThe value of this object gives the primary index\ninto the Hop Table. The secondary index is the hop\ncount in the path, so to get the route, one can get\nthe first hop with index \nin the Hop Table and do a getnext to get subsequent\n\n\n\nhops.\n\nA value of zero (0) means there is no recordedRoute.") tePathHopTable = MibTable((1, 3, 6, 1, 2, 1, 122, 1, 4)) if mibBuilder.loadTexts: tePathHopTable.setDescription("Table of Tunnel Path Hops.") tePathHopEntry = MibTableRow((1, 3, 6, 1, 2, 1, 122, 1, 4, 1)).setIndexNames((0, "TE-MIB", "teHopListIndex"), (0, "TE-MIB", "tePathHopIndex")) if mibBuilder.loadTexts: tePathHopEntry.setDescription("Entry containing information about a particular\nhop.") teHopListIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: teHopListIndex.setDescription("An index that identifies a list of hops. This is\nthe primary index to access hops.") tePathHopIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: tePathHopIndex.setDescription("An index that identifies a particular hop among the\nlist of hops for a path. An index of i identifies\nthe ith hop. This is the secondary index for a hop\nentry.") tePathHopRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 4, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathHopRowStatus.setDescription("The status of this conceptual row.\n\nAny field in this table can be changed, even if the\nvalue of this object is 'active'. However, such a\nchange may cause traffic to be rerouted or even\ndisrupted.") tePathHopStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 4, 1, 4), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathHopStorageType.setDescription("The storage type for this conceptual row.\n\nConceptual rows having the value 'permanent' need\nnot allow write-access to any columnar objects\nin the row.") tePathHopAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 4, 1, 5), TeHopAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathHopAddrType.setDescription("The type of Traffic Engineered Tunnel hop Address\nof this hop.\n\nThe value of this object cannot be changed\nif the value of the corresponding tePathRowStatus\nobject is 'active'.") tePathHopAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 4, 1, 6), TeHopAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tePathHopAddress.setDescription("The Traffic Engineered Tunnel hop Address of this\nhop.\n\nThe type of this address is determined by the value\nof the corresponding tePathHopAddressType.\n\nThe value of this object cannot be changed\nif the value of the corresponding teTunnelRowStatus\nobject is 'active'.") tePathHopType = MibTableColumn((1, 3, 6, 1, 2, 1, 122, 1, 4, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(0,1,2,)).subtype(namedValues=NamedValues(("unknown", 0), ("loose", 1), ("strict", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tePathHopType.setDescription("The type of hop:\nunknown:\nloose: This hop is a LOOSE hop.\nstrict: This hop is a STRICT hop.") teMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 122, 2)) teGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 122, 2, 1)) teModuleCompliance = MibIdentifier((1, 3, 6, 1, 2, 1, 122, 2, 2)) # Augmentions # Notifications teTunnelUp = NotificationType((1, 3, 6, 1, 2, 1, 122, 0, 1)).setObjects(*(("TE-MIB", "teTunnelName"), ("TE-MIB", "tePathName"), ) ) if mibBuilder.loadTexts: teTunnelUp.setDescription("A teTunnelUp notification is generated when the\nTunnel indexed by teTunnelName transitions to the\n'up' state.\n\nA tunnel is up when at least one of its paths is up.\nThe tePathName is the name of the path whose\ntransition to up made the tunnel go up.\n\n\n\n\nThis notification MUST be limited to at most one\nevery minute, in case the tunnel flaps up and down.") teTunnelDown = NotificationType((1, 3, 6, 1, 2, 1, 122, 0, 2)).setObjects(*(("TE-MIB", "teTunnelName"), ("TE-MIB", "tePathName"), ) ) if mibBuilder.loadTexts: teTunnelDown.setDescription("A teTunnelDown notification is generated when the\nTunnel indexed by teTunnelName transitions to the\n'down' state.\n\nA tunnel is up when at least one of its paths is up.\nThe tePathName is the name of the path whose\ntransition to down made the tunnel go down.\n\nThis notification MUST be limited to at most one\nevery minute, in case the tunnel flaps up and down.") teTunnelChanged = NotificationType((1, 3, 6, 1, 2, 1, 122, 0, 3)).setObjects(*(("TE-MIB", "teTunnelName"), ("TE-MIB", "tePathName"), ) ) if mibBuilder.loadTexts: teTunnelChanged.setDescription("A teTunnelChanged notification is generated when an\nactive path on the Tunnel indexed by teTunnelName\nchanges or a new path becomes active. The value\nof tePathName is the new active path.\n\nThis notification MUST be limited to at most one\nevery minute, in case the tunnel changes quickly.") teTunnelRerouted = NotificationType((1, 3, 6, 1, 2, 1, 122, 0, 4)).setObjects(*(("TE-MIB", "teTunnelName"), ("TE-MIB", "tePathName"), ) ) if mibBuilder.loadTexts: teTunnelRerouted.setDescription("A teTunnelRerouted notification is generated when\nan active path for the Tunnel indexed by\nteTunnelName stays the same, but its route changes.\n\nThis notification MUST be limited to at most one\nevery minute, in case the tunnel reroutes quickly.") # Groups teTrafficEngineeringGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 122, 2, 1, 1)).setObjects(*(("TE-MIB", "teTunnelPrimaryTimeUp"), ("TE-MIB", "teTunnelRowStatus"), ("TE-MIB", "teTunnelLastPathChange"), ("TE-MIB", "tePathIncludeAny"), ("TE-MIB", "teTunnelDestinationAddressType"), ("TE-MIB", "teTunnelStorageType"), ("TE-MIB", "tePathHopType"), ("TE-MIB", "teTunnelSourceAddressType"), ("TE-MIB", "teTunnelAge"), ("TE-MIB", "teTunnelStandbyPaths"), ("TE-MIB", "teActiveTunnels"), ("TE-MIB", "teTunnelTimeUp"), ("TE-MIB", "teTunnelLPOctets"), ("TE-MIB", "tePrimaryTunnels"), ("TE-MIB", "tePathBandwidth"), ("TE-MIB", "teTunnelConfiguredPaths"), ("TE-MIB", "tePathHopRowStatus"), ("TE-MIB", "teTunnelPackets"), ("TE-MIB", "tePathOperStatus"), ("TE-MIB", "tePathType"), ("TE-MIB", "teTunnelLPPackets"), ("TE-MIB", "tePathSetupPriority"), ("TE-MIB", "teDistProtocol"), ("TE-MIB", "teTunnelDestinationAddress"), ("TE-MIB", "teAdminGroupRowStatus"), ("TE-MIB", "teSignalingProto"), ("TE-MIB", "tePathHopStorageType"), ("TE-MIB", "teTunnelSourceAddress"), ("TE-MIB", "teAdminGroupName"), ("TE-MIB", "teNotificationEnable"), ("TE-MIB", "tePathProperties"), ("TE-MIB", "tePathIncludeAll"), ("TE-MIB", "tePathComputedRoute"), ("TE-MIB", "tePathConfiguredRoute"), ("TE-MIB", "teTunnelOperationalPaths"), ("TE-MIB", "teConfiguredTunnels"), ("TE-MIB", "tePathAdminStatus"), ("TE-MIB", "tePathExclude"), ("TE-MIB", "tePathHopAddress"), ("TE-MIB", "teTunnelState"), ("TE-MIB", "teTunnelPathChanges"), ("TE-MIB", "tePathRecordedRoute"), ("TE-MIB", "tePathRowStatus"), ("TE-MIB", "teTunnelOctets"), ("TE-MIB", "tePathName"), ("TE-MIB", "teTunnelDiscontinuityTimer"), ("TE-MIB", "tePathHopAddrType"), ("TE-MIB", "teTunnelName"), ("TE-MIB", "teNextTunnelIndex"), ("TE-MIB", "teTunnelTransitions"), ("TE-MIB", "teNextPathHopIndex"), ("TE-MIB", "teTunnelLastTransition"), ("TE-MIB", "teTunnelNextPathIndex"), ("TE-MIB", "tePathStorageType"), ("TE-MIB", "tePathHoldPriority"), ) ) if mibBuilder.loadTexts: teTrafficEngineeringGroup.setDescription("Objects for Traffic Engineering in this MIB module.") teNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 122, 2, 1, 2)).setObjects(*(("TE-MIB", "teTunnelRerouted"), ("TE-MIB", "teTunnelUp"), ("TE-MIB", "teTunnelDown"), ("TE-MIB", "teTunnelChanged"), ) ) if mibBuilder.loadTexts: teNotificationGroup.setDescription("Notifications specified in this MIB module.") # Compliances teModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 122, 2, 2, 1)).setObjects(*(("TE-MIB", "teNotificationGroup"), ("TE-MIB", "teTrafficEngineeringGroup"), ) ) if mibBuilder.loadTexts: teModuleReadOnlyCompliance.setDescription("When this MIB module is implemented without support\nfor read-create (i.e., in read-only mode), then such\nan implementation can claim read-only compliance.\nSuch a device can be monitored but cannot be\nconfigured with this MIB module.") teModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 122, 2, 2, 2)).setObjects(*(("TE-MIB", "teNotificationGroup"), ("TE-MIB", "teTrafficEngineeringGroup"), ) ) if mibBuilder.loadTexts: teModuleFullCompliance.setDescription("When this MIB module is implemented with support for\nread-create, then the implementation can claim\nfull compliance. Such devices can be both\n\n\n\nmonitored and configured with this MIB module.") teModuleServerReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 122, 2, 2, 3)).setObjects(*(("TE-MIB", "teNotificationGroup"), ("TE-MIB", "teTrafficEngineeringGroup"), ) ) if mibBuilder.loadTexts: teModuleServerReadOnlyCompliance.setDescription("When this MIB module is implemented by a path\ncomputation server without support for read-create\n(i.e., in read-only mode), then the implementation\ncan claim read-only compliance. Such\na device can be monitored but cannot be\nconfigured with this MIB module.") teModuleServerFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 122, 2, 2, 4)).setObjects(*(("TE-MIB", "teNotificationGroup"), ("TE-MIB", "teTrafficEngineeringGroup"), ) ) if mibBuilder.loadTexts: teModuleServerFullCompliance.setDescription("When this MIB module is implemented by a path\ncomputation server with support for read-create,\nthen the implementation can claim full\ncompliance.") # Exports # Module identity mibBuilder.exportSymbols("TE-MIB", PYSNMP_MODULE_ID=teMIB) # Objects mibBuilder.exportSymbols("TE-MIB", teMIB=teMIB, teMIBNotifications=teMIBNotifications, teMIBObjects=teMIBObjects, teInfo=teInfo, teDistProtocol=teDistProtocol, teSignalingProto=teSignalingProto, teNotificationEnable=teNotificationEnable, teNextTunnelIndex=teNextTunnelIndex, teNextPathHopIndex=teNextPathHopIndex, teConfiguredTunnels=teConfiguredTunnels, teActiveTunnels=teActiveTunnels, tePrimaryTunnels=tePrimaryTunnels, teAdminGroupTable=teAdminGroupTable, teAdminGroupEntry=teAdminGroupEntry, teAdminGroupNumber=teAdminGroupNumber, teAdminGroupName=teAdminGroupName, teAdminGroupRowStatus=teAdminGroupRowStatus, teTunnelTable=teTunnelTable, teTunnelEntry=teTunnelEntry, teTunnelIndex=teTunnelIndex, teTunnelName=teTunnelName, teTunnelNextPathIndex=teTunnelNextPathIndex, teTunnelRowStatus=teTunnelRowStatus, teTunnelStorageType=teTunnelStorageType, teTunnelSourceAddressType=teTunnelSourceAddressType, teTunnelSourceAddress=teTunnelSourceAddress, teTunnelDestinationAddressType=teTunnelDestinationAddressType, teTunnelDestinationAddress=teTunnelDestinationAddress, teTunnelState=teTunnelState, teTunnelDiscontinuityTimer=teTunnelDiscontinuityTimer, teTunnelOctets=teTunnelOctets, teTunnelPackets=teTunnelPackets, teTunnelLPOctets=teTunnelLPOctets, teTunnelLPPackets=teTunnelLPPackets, teTunnelAge=teTunnelAge, teTunnelTimeUp=teTunnelTimeUp, teTunnelPrimaryTimeUp=teTunnelPrimaryTimeUp, teTunnelTransitions=teTunnelTransitions, teTunnelLastTransition=teTunnelLastTransition, teTunnelPathChanges=teTunnelPathChanges, teTunnelLastPathChange=teTunnelLastPathChange, teTunnelConfiguredPaths=teTunnelConfiguredPaths, teTunnelStandbyPaths=teTunnelStandbyPaths, teTunnelOperationalPaths=teTunnelOperationalPaths, tePathTable=tePathTable, tePathEntry=tePathEntry, tePathIndex=tePathIndex, tePathName=tePathName, tePathRowStatus=tePathRowStatus, tePathStorageType=tePathStorageType, tePathType=tePathType, tePathConfiguredRoute=tePathConfiguredRoute, tePathBandwidth=tePathBandwidth, tePathIncludeAny=tePathIncludeAny, tePathIncludeAll=tePathIncludeAll, tePathExclude=tePathExclude, tePathSetupPriority=tePathSetupPriority, tePathHoldPriority=tePathHoldPriority, tePathProperties=tePathProperties, tePathOperStatus=tePathOperStatus, tePathAdminStatus=tePathAdminStatus, tePathComputedRoute=tePathComputedRoute, tePathRecordedRoute=tePathRecordedRoute, tePathHopTable=tePathHopTable, tePathHopEntry=tePathHopEntry, teHopListIndex=teHopListIndex, tePathHopIndex=tePathHopIndex, tePathHopRowStatus=tePathHopRowStatus, tePathHopStorageType=tePathHopStorageType, tePathHopAddrType=tePathHopAddrType, tePathHopAddress=tePathHopAddress, tePathHopType=tePathHopType, teMIBConformance=teMIBConformance, teGroups=teGroups, teModuleCompliance=teModuleCompliance) # Notifications mibBuilder.exportSymbols("TE-MIB", teTunnelUp=teTunnelUp, teTunnelDown=teTunnelDown, teTunnelChanged=teTunnelChanged, teTunnelRerouted=teTunnelRerouted) # Groups mibBuilder.exportSymbols("TE-MIB", teTrafficEngineeringGroup=teTrafficEngineeringGroup, teNotificationGroup=teNotificationGroup) # Compliances mibBuilder.exportSymbols("TE-MIB", teModuleReadOnlyCompliance=teModuleReadOnlyCompliance, teModuleFullCompliance=teModuleFullCompliance, teModuleServerReadOnlyCompliance=teModuleServerReadOnlyCompliance, teModuleServerFullCompliance=teModuleServerFullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/__init__.py0000644000014400001440000000000011655331734020551 0ustar ilyausers00000000000000pysnmp-mibs-0.1.3/pysnmp_mibs/PPP-IP-NCP-MIB.py0000644000014400001440000001435211736645137021026 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python PPP-IP-NCP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:28 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ppp, ) = mibBuilder.importSymbols("PPP-LCP-MIB", "ppp") ( Bits, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks") # Objects pppIp = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 23, 3)) pppIpTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 3, 1)) if mibBuilder.loadTexts: pppIpTable.setDescription("Table containing the IP parameters and\nstatistics for the local PPP entity.") pppIpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 3, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppIpEntry.setDescription("IPCP status information for a particular PPP\nlink.") pppIpOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 3, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("opened", 1), ("not-opened", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppIpOperStatus.setDescription("The operational status of the IP network\nprotocol. If the value of this object is up\nthen the finite state machine for the IP\nnetwork protocol has reached the Opened state.") pppIpLocalToRemoteCompressionProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 3, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("none", 1), ("vj-tcp", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppIpLocalToRemoteCompressionProtocol.setDescription("The IP compression protocol that the local\nPPP-IP entity uses when sending packets to the\nremote PPP-IP entity. The value of this object\nis meaningful only when the link has reached\nthe open state (pppIpOperStatus is opened).") pppIpRemoteToLocalCompressionProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 3, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("none", 1), ("vj-tcp", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppIpRemoteToLocalCompressionProtocol.setDescription("The IP compression protocol that the remote\nPPP-IP entity uses when sending packets to the\nlocal PPP-IP entity. The value of this object\nis meaningful only when the link has reached\nthe open state (pppIpOperStatus is opened).") pppIpRemoteMaxSlotId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppIpRemoteMaxSlotId.setDescription("The Max-Slot-Id parameter that the remote node\nhas advertised and that is in use on the link.\nIf vj-tcp header compression is not in use on\nthe link then the value of this object shall be\n0. The value of this object is meaningful only\nwhen the link has reached the open state\n(pppIpOperStatus is opened).") pppIpLocalMaxSlotId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppIpLocalMaxSlotId.setDescription("The Max-Slot-Id parameter that the local node\nhas advertised and that is in use on the link.\nIf vj-tcp header compression is not in use on\nthe link then the value of this object shall be\n0. The value of this object is meaningful only\nwhen the link has reached the open state\n(pppIpOperStatus is opened).") pppIpConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 23, 3, 2)) if mibBuilder.loadTexts: pppIpConfigTable.setDescription("Table containing configuration variables for\nthe IPCP for the local PPP entity.") pppIpConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 23, 3, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: pppIpConfigEntry.setDescription("IPCP information for a particular PPP link.") pppIpConfigAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 3, 2, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("open", 1), ("close", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppIpConfigAdminStatus.setDescription("The immediate desired status of the IP network\nprotocol. Setting this object to open will\ninject an administrative open event into the IP\nnetwork protocol's finite state machine.\nSetting this object to close will inject an\nadministrative close event into the IP network\nprotocol's finite state machine.") pppIpConfigCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 23, 3, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("none", 1), ("vj-tcp", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppIpConfigCompression.setDescription("If none(1) then the local node will not\nattempt to negotiate any IP Compression option.\nOtherwise, the local node will attempt to\nnegotiate compression mode indicated by the\nenumerated value. Changing this object will\nhave effect when the link is next restarted.") # Augmentions # Exports # Objects mibBuilder.exportSymbols("PPP-IP-NCP-MIB", pppIp=pppIp, pppIpTable=pppIpTable, pppIpEntry=pppIpEntry, pppIpOperStatus=pppIpOperStatus, pppIpLocalToRemoteCompressionProtocol=pppIpLocalToRemoteCompressionProtocol, pppIpRemoteToLocalCompressionProtocol=pppIpRemoteToLocalCompressionProtocol, pppIpRemoteMaxSlotId=pppIpRemoteMaxSlotId, pppIpLocalMaxSlotId=pppIpLocalMaxSlotId, pppIpConfigTable=pppIpConfigTable, pppIpConfigEntry=pppIpConfigEntry, pppIpConfigAdminStatus=pppIpConfigAdminStatus, pppIpConfigCompression=pppIpConfigCompression) pysnmp-mibs-0.1.3/pysnmp_mibs/DNS-SERVER-MIB.py0000644000014400001440000010244711736645135021074 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DNS-SERVER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:50 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "TruthValue") # Types class DnsClass(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class DnsName(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) class DnsOpCode(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,15) class DnsQClass(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class DnsQType(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class DnsRespCode(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,15) class DnsType(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,65535) class DnsNameAsIndex(DnsName): pass class DnsTime(TextualConvention, Gauge32): displayHint = "d" # Objects dns = ObjectIdentity((1, 3, 6, 1, 2, 1, 32)) if mibBuilder.loadTexts: dns.setDescription("The OID assigned to DNS MIB work by the IANA.") dnsServMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 32, 1)).setRevisions(("1994-01-28 22:51",)) if mibBuilder.loadTexts: dnsServMIB.setOrganization("IETF DNS Working Group") if mibBuilder.loadTexts: dnsServMIB.setContactInfo(" Rob Austein\nPostal: Epilogue Technology Corporation\n 268 Main Street, Suite 283\n North Reading, MA 10864\n US\n Tel: +1 617 245 0804\n Fax: +1 617 245 8122\nE-Mail: sra@epilogue.com\n\n Jon Saperia\nPostal: Digital Equipment Corporation\n 110 Spit Brook Road\n ZKO1-3/H18\n Nashua, NH 03062-2698\n US\n Tel: +1 603 881 0480\n Fax: +1 603 881 0120\n Email: saperia@zko.dec.com") if mibBuilder.loadTexts: dnsServMIB.setDescription("The MIB module for entities implementing the server side\nof the Domain Name System (DNS) protocol.") dnsServMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 1, 1)) dnsServConfig = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 1, 1, 1)) dnsServConfigImplementIdent = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServConfigImplementIdent.setDescription("The implementation identification string for the DNS\nserver software in use on the system, for example;\n`FNS-2.1'") dnsServConfigRecurs = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("available", 1), ("restricted", 2), ("unavailable", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsServConfigRecurs.setDescription("This represents the recursion services offered by this\nname server. The values that can be read or written\nare:\n\navailable(1) - performs recursion on requests from\nclients.\n\nrestricted(2) - recursion is performed on requests only\nfrom certain clients, for example; clients on an access\ncontrol list.\n\nunavailable(3) - recursion is not available.") dnsServConfigUpTime = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 1, 3), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServConfigUpTime.setDescription("If the server has a persistent state (e.g., a process),\nthis value will be the time elapsed since it started.\nFor software without persistant state, this value will\nbe zero.") dnsServConfigResetTime = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 1, 4), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServConfigResetTime.setDescription("If the server has a persistent state (e.g., a process)\nand supports a `reset' operation (e.g., can be told to\nre-read configuration files), this value will be the\ntime elapsed since the last time the name server was\n`reset.' For software that does not have persistence or\ndoes not support a `reset' operation, this value will be\nzero.") dnsServConfigReset = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("other", 1), ("reset", 2), ("initializing", 3), ("running", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsServConfigReset.setDescription("Status/action object to reinitialize any persistant name\nserver state. When set to reset(2), any persistant\nname server state (such as a process) is reinitialized as\nif the name server had just been started. This value\nwill never be returned by a read operation. When read,\none of the following values will be returned:\n other(1) - server in some unknown state;\n initializing(3) - server (re)initializing;\n running(4) - server currently running.") dnsServCounter = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 1, 1, 2)) dnsServCounterAuthAns = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterAuthAns.setDescription("Number of queries which were authoritatively answered.") dnsServCounterAuthNoNames = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterAuthNoNames.setDescription("Number of queries for which `authoritative no such name'\nresponses were made.") dnsServCounterAuthNoDataResps = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterAuthNoDataResps.setDescription("Number of queries for which `authoritative no such data'\n(empty answer) responses were made.") dnsServCounterNonAuthDatas = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterNonAuthDatas.setDescription("Number of queries which were non-authoritatively\nanswered (cached data).") dnsServCounterNonAuthNoDatas = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterNonAuthNoDatas.setDescription("Number of queries which were non-authoritatively\nanswered with no data (empty answer).") dnsServCounterReferrals = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterReferrals.setDescription("Number of requests that were referred to other servers.") dnsServCounterErrors = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterErrors.setDescription("Number of requests the server has processed that were\nanswered with errors (RCODE values other than 0 and 3).") dnsServCounterRelNames = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterRelNames.setDescription("Number of requests received by the server for names that\nare only 1 label long (text form - no internal dots).") dnsServCounterReqRefusals = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterReqRefusals.setDescription("Number of DNS requests refused by the server.") dnsServCounterReqUnparses = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterReqUnparses.setDescription("Number of requests received which were unparseable.") dnsServCounterOtherErrors = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterOtherErrors.setDescription("Number of requests which were aborted for other (local)\nserver errors.") dnsServCounterTable = MibTable((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13)) if mibBuilder.loadTexts: dnsServCounterTable.setDescription("Counter information broken down by DNS class and type.") dnsServCounterEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13, 1)).setIndexNames((0, "DNS-SERVER-MIB", "dnsServCounterOpCode"), (0, "DNS-SERVER-MIB", "dnsServCounterQClass"), (0, "DNS-SERVER-MIB", "dnsServCounterQType"), (0, "DNS-SERVER-MIB", "dnsServCounterTransport")) if mibBuilder.loadTexts: dnsServCounterEntry.setDescription("This table contains count information for each DNS class\nand type value known to the server. The index allows\nmanagement software to to create indices to the table to\nget the specific information desired, e.g., number of\nqueries over UDP for records with type value `A' which\ncame to this server. In order to prevent an\nuncontrolled expansion of rows in the table; if\ndnsServCounterRequests is 0 and dnsServCounterResponses\nis 0, then the row does not exist and `no such' is\nreturned when the agent is queried for such instances.") dnsServCounterOpCode = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13, 1, 1), DnsOpCode()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServCounterOpCode.setDescription("The DNS OPCODE being counted in this row of the table.") dnsServCounterQClass = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13, 1, 2), DnsClass()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServCounterQClass.setDescription("The class of record being counted in this row of the\ntable.") dnsServCounterQType = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13, 1, 3), DnsType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServCounterQType.setDescription("The type of record which is being counted in this row in\nthe table.") dnsServCounterTransport = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("udp", 1), ("tcp", 2), ("other", 3), ))).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServCounterTransport.setDescription("A value of udp(1) indicates that the queries reported on\nthis row were sent using UDP.\n\nA value of tcp(2) indicates that the queries reported on\nthis row were sent using TCP.\n\nA value of other(3) indicates that the queries reported\non this row were sent using a transport that was neither\nTCP nor UDP.") dnsServCounterRequests = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterRequests.setDescription("Number of requests (queries) that have been recorded in\nthis row of the table.") dnsServCounterResponses = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 2, 13, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServCounterResponses.setDescription("Number of responses made by the server since\ninitialization for the kind of query identified on this\nrow of the table.") dnsServOptCounter = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 1, 1, 3)) dnsServOptCounterSelfAuthAns = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfAuthAns.setDescription("Number of requests the server has processed which\noriginated from a resolver on the same host for which\nthere has been an authoritative answer.") dnsServOptCounterSelfAuthNoNames = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfAuthNoNames.setDescription("Number of requests the server has processed which\noriginated from a resolver on the same host for which\nthere has been an authoritative no such name answer\ngiven.") dnsServOptCounterSelfAuthNoDataResps = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfAuthNoDataResps.setDescription("Number of requests the server has processed which\noriginated from a resolver on the same host for which\nthere has been an authoritative no such data answer\n(empty answer) made.") dnsServOptCounterSelfNonAuthDatas = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfNonAuthDatas.setDescription("Number of requests the server has processed which\noriginated from a resolver on the same host for which a\nnon-authoritative answer (cached data) was made.") dnsServOptCounterSelfNonAuthNoDatas = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfNonAuthNoDatas.setDescription("Number of requests the server has processed which\noriginated from a resolver on the same host for which a\n`non-authoritative, no such data' response was made\n(empty answer).") dnsServOptCounterSelfReferrals = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfReferrals.setDescription("Number of queries the server has processed which\noriginated from a resolver on the same host and were\nreferred to other servers.") dnsServOptCounterSelfErrors = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfErrors.setDescription("Number of requests the server has processed which\noriginated from a resolver on the same host which have\nbeen answered with errors (RCODEs other than 0 and 3).") dnsServOptCounterSelfRelNames = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfRelNames.setDescription("Number of requests received for names that are only 1\nlabel long (text form - no internal dots) the server has\nprocessed which originated from a resolver on the same\nhost.") dnsServOptCounterSelfReqRefusals = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfReqRefusals.setDescription("Number of DNS requests refused by the server which\noriginated from a resolver on the same host.") dnsServOptCounterSelfReqUnparses = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfReqUnparses.setDescription("Number of requests received which were unparseable and\nwhich originated from a resolver on the same host.") dnsServOptCounterSelfOtherErrors = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterSelfOtherErrors.setDescription("Number of requests which were aborted for other (local)\nserver errors and which originated on the same host.") dnsServOptCounterFriendsAuthAns = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsAuthAns.setDescription("Number of queries originating from friends which were\nauthoritatively answered. The definition of friends is\na locally defined matter.") dnsServOptCounterFriendsAuthNoNames = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsAuthNoNames.setDescription("Number of queries originating from friends, for which\nauthoritative `no such name' responses were made. The\ndefinition of friends is a locally defined matter.") dnsServOptCounterFriendsAuthNoDataResps = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsAuthNoDataResps.setDescription("Number of queries originating from friends for which\nauthoritative no such data (empty answer) responses were\nmade. The definition of friends is a locally defined\nmatter.") dnsServOptCounterFriendsNonAuthDatas = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsNonAuthDatas.setDescription("Number of queries originating from friends which were\nnon-authoritatively answered (cached data). The\ndefinition of friends is a locally defined matter.") dnsServOptCounterFriendsNonAuthNoDatas = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsNonAuthNoDatas.setDescription("Number of queries originating from friends which were\nnon-authoritatively answered with no such data (empty\nanswer).") dnsServOptCounterFriendsReferrals = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsReferrals.setDescription("Number of requests which originated from friends that\nwere referred to other servers. The definition of\nfriends is a locally defined matter.") dnsServOptCounterFriendsErrors = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsErrors.setDescription("Number of requests the server has processed which\noriginated from friends and were answered with errors\n(RCODE values other than 0 and 3). The definition of\nfriends is a locally defined matter.") dnsServOptCounterFriendsRelNames = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsRelNames.setDescription("Number of requests received for names from friends that\nare only 1 label long (text form - no internal dots) the\nserver has processed.") dnsServOptCounterFriendsReqRefusals = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsReqRefusals.setDescription("Number of DNS requests refused by the server which were\nreceived from `friends'.") dnsServOptCounterFriendsReqUnparses = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsReqUnparses.setDescription("Number of requests received which were unparseable and\nwhich originated from `friends'.") dnsServOptCounterFriendsOtherErrors = MibScalar((1, 3, 6, 1, 2, 1, 32, 1, 1, 3, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServOptCounterFriendsOtherErrors.setDescription("Number of requests which were aborted for other (local)\nserver errors and which originated from `friends'.") dnsServZone = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 1, 1, 4)) dnsServZoneTable = MibTable((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1)) if mibBuilder.loadTexts: dnsServZoneTable.setDescription("Table of zones for which this name server provides\ninformation. Each of the zones may be loaded from stable\nstorage via an implementation-specific mechanism or may\nbe obtained from another name server via a zone transfer.\n\nIf name server doesn't load any zones, this table is\nempty.") dnsServZoneEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1)).setIndexNames((0, "DNS-SERVER-MIB", "dnsServZoneName"), (0, "DNS-SERVER-MIB", "dnsServZoneClass")) if mibBuilder.loadTexts: dnsServZoneEntry.setDescription("An entry in the name server zone table. New rows may be\nadded either via SNMP or by the name server itself.") dnsServZoneName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 1), DnsNameAsIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServZoneName.setDescription("DNS name of the zone described by this row of the table.\nThis is the owner name of the SOA RR that defines the\ntop of the zone. This is name is in uppercase:\ncharacters 'a' through 'z' are mapped to 'A' through 'Z'\nin order to make the lexical ordering useful.") dnsServZoneClass = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 2), DnsClass()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServZoneClass.setDescription("DNS class of the RRs in this zone.") dnsServZoneLastReloadSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 3), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServZoneLastReloadSuccess.setDescription("Elapsed time in seconds since last successful reload of\nthis zone.") dnsServZoneLastReloadAttempt = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 4), DnsTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServZoneLastReloadAttempt.setDescription("Elapsed time in seconds since last attempted reload of\nthis zone.") dnsServZoneLastSourceAttempt = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServZoneLastSourceAttempt.setDescription("IP address of host from which most recent zone transfer\nof this zone was attempted. This value should match the\nvalue of dnsServZoneSourceSuccess if the attempt was\nsucccessful. If zone transfer has not been attempted\nwithin the memory of this name server, this value should\nbe 0.0.0.0.") dnsServZoneStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dnsServZoneStatus.setDescription("The status of the information represented in this row of\nthe table.") dnsServZoneSerial = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServZoneSerial.setDescription("Zone serial number (from the SOA RR) of the zone\nrepresented by this row of the table. If the zone has\nnot been successfully loaded within the memory of this\nname server, the value of this variable is zero.") dnsServZoneCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServZoneCurrent.setDescription("Whether the server's copy of the zone represented by\nthis row of the table is currently valid. If the zone\nhas never been successfully loaded or has expired since\nit was last succesfully loaded, this variable will have\nthe value false(2), otherwise this variable will have\nthe value true(1).") dnsServZoneLastSourceSuccess = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 1, 1, 9), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dnsServZoneLastSourceSuccess.setDescription("IP address of host which was the source of the most\nrecent successful zone transfer for this zone. If\nunknown (e.g., zone has never been successfully\ntransfered) or irrelevant (e.g., zone was loaded from\nstable storage), this value should be 0.0.0.0.") dnsServZoneSrcTable = MibTable((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 2)) if mibBuilder.loadTexts: dnsServZoneSrcTable.setDescription("This table is a list of IP addresses from which the\nserver will attempt to load zone information using DNS\nzone transfer operations. A reload may occur due to SNMP\noperations that create a row in dnsServZoneTable or a\nSET to object dnsServZoneReload. This table is only\nused when the zone is loaded via zone transfer.") dnsServZoneSrcEntry = MibTableRow((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 2, 1)).setIndexNames((0, "DNS-SERVER-MIB", "dnsServZoneSrcName"), (0, "DNS-SERVER-MIB", "dnsServZoneSrcClass"), (0, "DNS-SERVER-MIB", "dnsServZoneSrcAddr")) if mibBuilder.loadTexts: dnsServZoneSrcEntry.setDescription("An entry in the name server zone source table.") dnsServZoneSrcName = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 2, 1, 1), DnsNameAsIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServZoneSrcName.setDescription("DNS name of the zone to which this entry applies.") dnsServZoneSrcClass = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 2, 1, 2), DnsClass()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServZoneSrcClass.setDescription("DNS class of zone to which this entry applies.") dnsServZoneSrcAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 2, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: dnsServZoneSrcAddr.setDescription("IP address of name server host from which this zone\nmight be obtainable.") dnsServZoneSrcStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 32, 1, 1, 4, 2, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: dnsServZoneSrcStatus.setDescription("The status of the information represented in this row of\nthe table.") dnsServMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 1, 2)) dnsServMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 32, 1, 3)) # Augmentions # Groups dnsServConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 1, 2, 1)).setObjects(*(("DNS-SERVER-MIB", "dnsServConfigUpTime"), ("DNS-SERVER-MIB", "dnsServConfigRecurs"), ("DNS-SERVER-MIB", "dnsServConfigImplementIdent"), ("DNS-SERVER-MIB", "dnsServConfigResetTime"), ("DNS-SERVER-MIB", "dnsServConfigReset"), ) ) if mibBuilder.loadTexts: dnsServConfigGroup.setDescription("A collection of objects providing basic configuration\ncontrol of a DNS name server.") dnsServCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 1, 2, 2)).setObjects(*(("DNS-SERVER-MIB", "dnsServCounterReqRefusals"), ("DNS-SERVER-MIB", "dnsServCounterReqUnparses"), ("DNS-SERVER-MIB", "dnsServCounterAuthNoNames"), ("DNS-SERVER-MIB", "dnsServCounterQType"), ("DNS-SERVER-MIB", "dnsServCounterQClass"), ("DNS-SERVER-MIB", "dnsServCounterTransport"), ("DNS-SERVER-MIB", "dnsServCounterErrors"), ("DNS-SERVER-MIB", "dnsServCounterRequests"), ("DNS-SERVER-MIB", "dnsServCounterOpCode"), ("DNS-SERVER-MIB", "dnsServCounterAuthAns"), ("DNS-SERVER-MIB", "dnsServCounterReferrals"), ("DNS-SERVER-MIB", "dnsServCounterResponses"), ("DNS-SERVER-MIB", "dnsServCounterNonAuthNoDatas"), ("DNS-SERVER-MIB", "dnsServCounterOtherErrors"), ("DNS-SERVER-MIB", "dnsServCounterAuthNoDataResps"), ("DNS-SERVER-MIB", "dnsServCounterRelNames"), ("DNS-SERVER-MIB", "dnsServCounterNonAuthDatas"), ) ) if mibBuilder.loadTexts: dnsServCounterGroup.setDescription("A collection of objects providing basic instrumentation\nof a DNS name server.") dnsServOptCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 1, 2, 3)).setObjects(*(("DNS-SERVER-MIB", "dnsServOptCounterSelfReqRefusals"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsErrors"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsReqRefusals"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsReqUnparses"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsAuthNoDataResps"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfErrors"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsNonAuthNoDatas"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsNonAuthDatas"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsRelNames"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsOtherErrors"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfReferrals"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfAuthAns"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfNonAuthNoDatas"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfReqUnparses"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsAuthAns"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfAuthNoDataResps"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfOtherErrors"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsAuthNoNames"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfRelNames"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfNonAuthDatas"), ("DNS-SERVER-MIB", "dnsServOptCounterSelfAuthNoNames"), ("DNS-SERVER-MIB", "dnsServOptCounterFriendsReferrals"), ) ) if mibBuilder.loadTexts: dnsServOptCounterGroup.setDescription("A collection of objects providing extended\ninstrumentation of a DNS name server.") dnsServZoneGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 32, 1, 2, 4)).setObjects(*(("DNS-SERVER-MIB", "dnsServZoneCurrent"), ("DNS-SERVER-MIB", "dnsServZoneName"), ("DNS-SERVER-MIB", "dnsServZoneSerial"), ("DNS-SERVER-MIB", "dnsServZoneStatus"), ("DNS-SERVER-MIB", "dnsServZoneClass"), ("DNS-SERVER-MIB", "dnsServZoneSrcStatus"), ("DNS-SERVER-MIB", "dnsServZoneLastSourceSuccess"), ("DNS-SERVER-MIB", "dnsServZoneLastReloadAttempt"), ("DNS-SERVER-MIB", "dnsServZoneLastReloadSuccess"), ("DNS-SERVER-MIB", "dnsServZoneSrcClass"), ("DNS-SERVER-MIB", "dnsServZoneSrcName"), ("DNS-SERVER-MIB", "dnsServZoneSrcAddr"), ("DNS-SERVER-MIB", "dnsServZoneLastSourceAttempt"), ) ) if mibBuilder.loadTexts: dnsServZoneGroup.setDescription("A collection of objects providing configuration control\nof a DNS name server which loads authoritative zones.") # Compliances dnsServMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 32, 1, 3, 1)).setObjects(*(("DNS-SERVER-MIB", "dnsServCounterGroup"), ("DNS-SERVER-MIB", "dnsServZoneGroup"), ("DNS-SERVER-MIB", "dnsServConfigGroup"), ("DNS-SERVER-MIB", "dnsServOptCounterGroup"), ) ) if mibBuilder.loadTexts: dnsServMIBCompliance.setDescription("The compliance statement for agents implementing the DNS\nname server MIB extensions.") # Exports # Module identity mibBuilder.exportSymbols("DNS-SERVER-MIB", PYSNMP_MODULE_ID=dnsServMIB) # Types mibBuilder.exportSymbols("DNS-SERVER-MIB", DnsClass=DnsClass, DnsName=DnsName, DnsOpCode=DnsOpCode, DnsQClass=DnsQClass, DnsQType=DnsQType, DnsRespCode=DnsRespCode, DnsType=DnsType, DnsNameAsIndex=DnsNameAsIndex, DnsTime=DnsTime) # Objects mibBuilder.exportSymbols("DNS-SERVER-MIB", dns=dns, dnsServMIB=dnsServMIB, dnsServMIBObjects=dnsServMIBObjects, dnsServConfig=dnsServConfig, dnsServConfigImplementIdent=dnsServConfigImplementIdent, dnsServConfigRecurs=dnsServConfigRecurs, dnsServConfigUpTime=dnsServConfigUpTime, dnsServConfigResetTime=dnsServConfigResetTime, dnsServConfigReset=dnsServConfigReset, dnsServCounter=dnsServCounter, dnsServCounterAuthAns=dnsServCounterAuthAns, dnsServCounterAuthNoNames=dnsServCounterAuthNoNames, dnsServCounterAuthNoDataResps=dnsServCounterAuthNoDataResps, dnsServCounterNonAuthDatas=dnsServCounterNonAuthDatas, dnsServCounterNonAuthNoDatas=dnsServCounterNonAuthNoDatas, dnsServCounterReferrals=dnsServCounterReferrals, dnsServCounterErrors=dnsServCounterErrors, dnsServCounterRelNames=dnsServCounterRelNames, dnsServCounterReqRefusals=dnsServCounterReqRefusals, dnsServCounterReqUnparses=dnsServCounterReqUnparses, dnsServCounterOtherErrors=dnsServCounterOtherErrors, dnsServCounterTable=dnsServCounterTable, dnsServCounterEntry=dnsServCounterEntry, dnsServCounterOpCode=dnsServCounterOpCode, dnsServCounterQClass=dnsServCounterQClass, dnsServCounterQType=dnsServCounterQType, dnsServCounterTransport=dnsServCounterTransport, dnsServCounterRequests=dnsServCounterRequests, dnsServCounterResponses=dnsServCounterResponses, dnsServOptCounter=dnsServOptCounter, dnsServOptCounterSelfAuthAns=dnsServOptCounterSelfAuthAns, dnsServOptCounterSelfAuthNoNames=dnsServOptCounterSelfAuthNoNames, dnsServOptCounterSelfAuthNoDataResps=dnsServOptCounterSelfAuthNoDataResps, dnsServOptCounterSelfNonAuthDatas=dnsServOptCounterSelfNonAuthDatas, dnsServOptCounterSelfNonAuthNoDatas=dnsServOptCounterSelfNonAuthNoDatas, dnsServOptCounterSelfReferrals=dnsServOptCounterSelfReferrals, dnsServOptCounterSelfErrors=dnsServOptCounterSelfErrors, dnsServOptCounterSelfRelNames=dnsServOptCounterSelfRelNames, dnsServOptCounterSelfReqRefusals=dnsServOptCounterSelfReqRefusals, dnsServOptCounterSelfReqUnparses=dnsServOptCounterSelfReqUnparses, dnsServOptCounterSelfOtherErrors=dnsServOptCounterSelfOtherErrors, dnsServOptCounterFriendsAuthAns=dnsServOptCounterFriendsAuthAns, dnsServOptCounterFriendsAuthNoNames=dnsServOptCounterFriendsAuthNoNames, dnsServOptCounterFriendsAuthNoDataResps=dnsServOptCounterFriendsAuthNoDataResps, dnsServOptCounterFriendsNonAuthDatas=dnsServOptCounterFriendsNonAuthDatas, dnsServOptCounterFriendsNonAuthNoDatas=dnsServOptCounterFriendsNonAuthNoDatas, dnsServOptCounterFriendsReferrals=dnsServOptCounterFriendsReferrals, dnsServOptCounterFriendsErrors=dnsServOptCounterFriendsErrors, dnsServOptCounterFriendsRelNames=dnsServOptCounterFriendsRelNames, dnsServOptCounterFriendsReqRefusals=dnsServOptCounterFriendsReqRefusals, dnsServOptCounterFriendsReqUnparses=dnsServOptCounterFriendsReqUnparses, dnsServOptCounterFriendsOtherErrors=dnsServOptCounterFriendsOtherErrors, dnsServZone=dnsServZone, dnsServZoneTable=dnsServZoneTable, dnsServZoneEntry=dnsServZoneEntry, dnsServZoneName=dnsServZoneName, dnsServZoneClass=dnsServZoneClass, dnsServZoneLastReloadSuccess=dnsServZoneLastReloadSuccess, dnsServZoneLastReloadAttempt=dnsServZoneLastReloadAttempt, dnsServZoneLastSourceAttempt=dnsServZoneLastSourceAttempt, dnsServZoneStatus=dnsServZoneStatus, dnsServZoneSerial=dnsServZoneSerial, dnsServZoneCurrent=dnsServZoneCurrent, dnsServZoneLastSourceSuccess=dnsServZoneLastSourceSuccess, dnsServZoneSrcTable=dnsServZoneSrcTable, dnsServZoneSrcEntry=dnsServZoneSrcEntry, dnsServZoneSrcName=dnsServZoneSrcName, dnsServZoneSrcClass=dnsServZoneSrcClass, dnsServZoneSrcAddr=dnsServZoneSrcAddr, dnsServZoneSrcStatus=dnsServZoneSrcStatus, dnsServMIBGroups=dnsServMIBGroups, dnsServMIBCompliances=dnsServMIBCompliances) # Groups mibBuilder.exportSymbols("DNS-SERVER-MIB", dnsServConfigGroup=dnsServConfigGroup, dnsServCounterGroup=dnsServCounterGroup, dnsServOptCounterGroup=dnsServOptCounterGroup, dnsServZoneGroup=dnsServZoneGroup) # Compliances mibBuilder.exportSymbols("DNS-SERVER-MIB", dnsServMIBCompliance=dnsServMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/TE-LINK-STD-MIB.py0000644000014400001440000012514011736645141021127 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TE-LINK-STD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndexOrZero, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifIndex") ( InetAddress, InetAddressType, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention") # Types class TeLinkBandwidth(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(4,4) fixedLength = 4 class TeLinkEncodingType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,3,5,1,11,7,2,8,) namedValues = NamedValues(("packet", 1), ("fiberChannel", 11), ("ethernet", 2), ("ansiEtsiPdh", 3), ("sdhItuSonetAnsi", 5), ("digitalWrapper", 7), ("lambda", 8), ("fiber", 9), ) class TeLinkPriority(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,7) class TeLinkProtection(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("primary", 1), ("secondary", 2), ) class TeLinkSonetSdhIndication(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,) namedValues = NamedValues(("standard", 0), ("arbitrary", 1), ) class TeLinkSwitchingCapability(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(100,200,1,3,2,4,150,51,) namedValues = NamedValues(("packetSwitch1", 1), ("tdm", 100), ("lambdaSwitch", 150), ("packetSwitch2", 2), ("fiberSwitch", 200), ("packetSwitch3", 3), ("packetSwitch4", 4), ("layer2Switch", 51), ) # Objects teLinkStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 200)).setRevisions(("2005-10-11 00:00",)) if mibBuilder.loadTexts: teLinkStdMIB.setOrganization("Multiprotocol Label Switching (MPLS) Working Group") if mibBuilder.loadTexts: teLinkStdMIB.setContactInfo(" Martin Dubuc\nEmail: mdubuc@ncf.ca\n\n Thomas D. Nadeau\nEmail: tnadeau@cisco.com\n\n\n\n\n Jonathan P. Lang\nEmail: jplang@ieee.org\n\nComments about this document should be emailed directly to\nthe MPLS working group mailing list at mpls@uu.net.") if mibBuilder.loadTexts: teLinkStdMIB.setDescription("Copyright (C) 2005 The Internet Society. This version of\nthis MIB module is part of RFC 4220; see the RFC\nitself for full legal notices.\n\nThis MIB module contains managed object definitions for\nMPLS traffic engineering links as defined in\n'Link Bundling in MPLS Traffic Engineering (TE)'.") teLinkNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 200, 0)) teLinkObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 200, 1)) teLinkTable = MibTable((1, 3, 6, 1, 2, 1, 10, 200, 1, 1)) if mibBuilder.loadTexts: teLinkTable.setDescription("This table specifies the grouping of component links into\nTE links and the grouping of TE links into bundled links.") teLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: teLinkEntry.setDescription("An entry in this table exists for each ifEntry with an\nifType of teLink(200), i.e., for every TE link. An ifEntry\nin the ifTable must exist before a teLinkEntry is created\nwith the corresponding ifIndex. If a TE link entry in the\nifTable is destroyed, then so is the corresponding entry\nin the teLinkTable. The administrative and operational\nstatus values are controlled from the ifEntry.") teLinkAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 1), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkAddressType.setDescription("The type of Internet address for the TE link.") teLinkLocalIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 2), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkLocalIpAddr.setDescription("The local Internet address for numbered links. The type of\nthis address is determined by the value of the\nteLinkAddressType object.\n\nFor IPv4 and IPv6 numbered links, this object represents the\nlocal IP address associated with the TE link. For an\nunnumbered link, the local address is of type unknown, this\nobject is set to the zero length string, and the\nteLinkOutgoingIfId object then identifies the unnumbered\naddress.\n\nIf the TE link is a Forwarding Adjacency (FA), the local\nIP address is set to the head-end address of the FA-LSP.\n\nIf ipAddrTable is implemented, this object must have the\nsame value as the ipAdEntAddr object that belongs to the\nrow in ipAddrTable where ipAdEntIfIndex is equal to\n\n\n\nifIndex.") teLinkRemoteIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkRemoteIpAddr.setDescription("The remote Internet address for numbered links. The type of\nthis address is determined by the value of the\nteLinkAddressType object.\n\nThe remote IP address associated with the TE link (IPv4 and\nIPv6 numbered links). For an unnumbered link, the remote\naddress is of type unknown, this object is set to the\nzero length string, and the teLinkIncomingIfId object then\nidentifies the unnumbered address.\n\nIf the TE link is a Forwarding Adjacency, the remote IP\naddress is set to the tail-end address of the FA-LSP.") teLinkMetric = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkMetric.setDescription("The traffic engineering metric for the TE link is\nderived from its component links. All component links\nwithin the TE link must have the same traffic\nengineering metric.") teLinkMaximumReservableBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 5), TeLinkBandwidth()).setMaxAccess("readonly") if mibBuilder.loadTexts: teLinkMaximumReservableBandwidth.setDescription("This attribute specifies the maximum reservable bandwidth on\nthe TE link. This is the union of the maximum reservable\nbandwidth of all the component links within the\nTE link that can be used to carry live traffic.") teLinkProtectionType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,6,3,1,5,)).subtype(namedValues=NamedValues(("extraTraffic", 1), ("unprotected", 2), ("shared", 3), ("dedicated1For1", 4), ("dedicated1Plus1", 5), ("enhanced", 6), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkProtectionType.setDescription("This attribute specifies the link protection type of the\nTE link. Descriptions of the different protection types can\nbe found in the 'Routing Extensions in Support of\nGeneralized Multi-Protocol Label Switching (GMPLS)'\ndocument.") teLinkWorkingPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 7), TeLinkPriority()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkWorkingPriority.setDescription("This object represents a priority value such that a new\nconnection with a higher priority, i.e., numerically lower\nthan this value, is guaranteed to be setup on a primary\nlink and not on a secondary link.") teLinkResourceClass = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkResourceClass.setDescription("This attribute specifies the TE link resource class.\nThe resource class is a 32 bit bitfield. The resource class\nfor a link bundle is derived from the resource class of its\n\n\n\nTE links. All TE links within a link bundle must have the\nsame resource class. Encoding of the resource class is\ndescribed in the 'Traffic Engineering (TE) Extensions to\nOSPF Version 2' document.") teLinkIncomingIfId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkIncomingIfId.setDescription("For unnumbered links, the incoming interface is set to the\noutgoing interface identifier chosen by the neighboring LSR\nfor the reverse link corresponding to this TE link. If the\nlink is numbered, the value of this object is 0 and the\naddress is stored in the teLinkRemoteIpAddr instead.") teLinkOutgoingIfId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 10), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkOutgoingIfId.setDescription("If the link is unnumbered, the outgoing interface identifier\nis set to the outgoing interface identifier chosen for the\nTE link by the advertising LSR. If the link is numbered, the\nvalue of this object is 0 and the address is stored in the\nteLinkLocalIpAddr instead.") teLinkRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 11), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. None of the writable objects in\na row can be changed if status is active(1).") teLinkStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 1, 1, 12), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkStorageType.setDescription("The storage type for this conceptual row in the\nteLinkTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") teLinkDescriptorTable = MibTable((1, 3, 6, 1, 2, 1, 10, 200, 1, 2)) if mibBuilder.loadTexts: teLinkDescriptorTable.setDescription("This table specifies the interface switching capability\ndescriptors associated with the TE links.") teLinkDescriptorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "TE-LINK-STD-MIB", "teLinkDescriptorId")) if mibBuilder.loadTexts: teLinkDescriptorEntry.setDescription("An entry in this table is created for every TE link interface\nswitching capability descriptor. An ifEntry in the ifTable\nmust exist before a teLinkDescriptorEntry using the same\nifIndex is created. ifType of ifEntry must be teLink(200).\nIf a TE link entry in the ifTable is destroyed, then so are\nall of the entries in the teLinkDescriptorTable that use the\nifIndex of this TE link.") teLinkDescriptorId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: teLinkDescriptorId.setDescription("This object specifies the link descriptor identifier.") teLinkDescrSwitchingCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 2), TeLinkSwitchingCapability()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrSwitchingCapability.setDescription("This attribute specifies interface switching capability of\nthe TE link, which is derived from its component links.") teLinkDescrEncodingType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 3), TeLinkEncodingType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrEncodingType.setDescription("This attribute specifies the TE link encoding type.") teLinkDescrMinLspBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 4), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMinLspBandwidth.setDescription("This attribute specifies the minimum LSP bandwidth on\nthe TE link. This is derived from the union of the\nminimum LSP bandwidth of all the component links\nassociated with the TE link that can be used to carry\nlive traffic.") teLinkDescrMaxLspBandwidthPrio0 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 5), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio0.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 0 on the TE link. This is the union of the maximum\nLSP bandwidth at priority 0 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrMaxLspBandwidthPrio1 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 6), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio1.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 1 on the TE link. This is the union of the maximum\nLSP bandwidth at priority 1 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrMaxLspBandwidthPrio2 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 7), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio2.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 2 on the TE link. This is the union of the maximum\n\n\n\nLSP bandwidth at priority 2 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrMaxLspBandwidthPrio3 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 8), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio3.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 3 on the TE link. This is the union of the maximum\nLSP bandwidth at priority 3 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrMaxLspBandwidthPrio4 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 9), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio4.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 4 on the TE link. This is the union of the maximum\nLSP bandwidth at priority 4 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrMaxLspBandwidthPrio5 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 10), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio5.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 5 on the TE link. This is the union of the maximum\nLSP bandwidth at priority 5 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrMaxLspBandwidthPrio6 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 11), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio6.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 6 on the TE link. This is the union of the maximum\nLSP bandwidth at priority 6 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrMaxLspBandwidthPrio7 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 12), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrMaxLspBandwidthPrio7.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 7 on the TE link. This is the union of the maximum\nLSP bandwidth at priority 7 of all the component links within\nthe TE link that can be used to carry live traffic.") teLinkDescrInterfaceMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrInterfaceMtu.setDescription("This attribute specifies the interface MTU for the TE\nlink descriptor.") teLinkDescrIndication = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 14), TeLinkSonetSdhIndication()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrIndication.setDescription("This attribute specifies whether this interface supports\nStandard or Arbitrary SONET/SDH.") teLinkDescrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. No read-create object\ncan be changed if teLinkDescrRowStatus is in the active(1)\nstate.") teLinkDescrStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 2, 1, 16), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkDescrStorageType.setDescription("The storage type for this conceptual row in the\nteLinkDescriptorTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") teLinkSrlgTable = MibTable((1, 3, 6, 1, 2, 1, 10, 200, 1, 3)) if mibBuilder.loadTexts: teLinkSrlgTable.setDescription("This table specifies the SRLGs associated with TE links.") teLinkSrlgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 200, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "TE-LINK-STD-MIB", "teLinkSrlg")) if mibBuilder.loadTexts: teLinkSrlgEntry.setDescription("An entry in this table contains information about an\nSRLG associated with a TE link.\nAn ifEntry in the ifTable must exist before a\nteLinkSrlgEntry using the same ifIndex is created.\nThe ifType of ifEntry must be teLink(200).\nIf a TE link entry in the ifTable is destroyed, then so\nare all of the entries in the teLinkSrlgTable that use the\nifIndex of this TE link.") teLinkSrlg = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: teLinkSrlg.setDescription("This identifies an SRLG supported by the TE link. An SRLG is\nidentified with a 32-bit number that is unique within an IGP\ndomain. Zero is a valid SRLG number.") teLinkSrlgRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 3, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkSrlgRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. No read-create object can\nbe modified if teLinkSrlgRowStatus is active(1).") teLinkSrlgStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 3, 1, 3), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkSrlgStorageType.setDescription("The storage type for this conceptual row in the\n\n\n\nteLinkSrlgTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") teLinkBandwidthTable = MibTable((1, 3, 6, 1, 2, 1, 10, 200, 1, 4)) if mibBuilder.loadTexts: teLinkBandwidthTable.setDescription("This table specifies the priority-based bandwidth table\nfor TE links.") teLinkBandwidthEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 200, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "TE-LINK-STD-MIB", "teLinkBandwidthPriority")) if mibBuilder.loadTexts: teLinkBandwidthEntry.setDescription("An entry in this table contains information about\nthe priority-based bandwidth of TE links. An ifEntry in the\nifTable must exist before a teLinkBandwidthEntry using the\nsame ifIndex is created. The ifType of ifEntry must be\nteLink(200). If a TE link entry in the ifTable is destroyed,\nthen so are all of the entries in the teLinkBandwidthTable\nthat use the ifIndex of this TE link.") teLinkBandwidthPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 4, 1, 1), TeLinkPriority()).setMaxAccess("noaccess") if mibBuilder.loadTexts: teLinkBandwidthPriority.setDescription("This attribute specifies the priority. A value of 0 is valid\nas specified in the 'Traffic Engineering (TE) Extensions to\n\n\n\nOSPF Version 2' document.") teLinkBandwidthUnreserved = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 4, 1, 2), TeLinkBandwidth()).setMaxAccess("readonly") if mibBuilder.loadTexts: teLinkBandwidthUnreserved.setDescription("This attribute specifies the TE link unreserved\nbandwidth at priority p. It is the sum of the unreserved\nbandwidths at priority p of all component links associated\nwith the TE link (excluding all links that are strictly\nused as protecting links).") teLinkBandwidthRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 4, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkBandwidthRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. No read-create object\ncan be modified when teLinkBandwidthRowStatus is active(1).") teLinkBandwidthStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 4, 1, 4), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: teLinkBandwidthStorageType.setDescription("The storage type for this conceptual row in the\nteLinkBandwidthTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") componentLinkTable = MibTable((1, 3, 6, 1, 2, 1, 10, 200, 1, 5)) if mibBuilder.loadTexts: componentLinkTable.setDescription("This table specifies the component link parameters.") componentLinkEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 200, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: componentLinkEntry.setDescription("An entry in this table exists for each ifEntry that\nrepresents a component link. An ifEntry must exist in\nthe ifTable before a componentLinkEntry is created with\nthe corresponding ifIndex. ifEntry's ifType can be\nof any interface type that has been defined for TE Link\ninterworking. Examples include ATM, Frame Relay, Ethernet,\netc. If an entry representing a component link is destroyed\nin the ifTable, then so is the corresponding entry in the\ncomponentLinkTable. The administrative and operational\nstatus values are controlled from the ifEntry.") componentLinkMaxResBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 5, 1, 1), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkMaxResBandwidth.setDescription("This attribute specifies the maximum reservable bandwidth on\nthe component link.") componentLinkPreferredProtection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 5, 1, 2), TeLinkProtection()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkPreferredProtection.setDescription("This attribute specifies whether this component link is\na primary or secondary entity.") componentLinkCurrentProtection = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 5, 1, 3), TeLinkProtection()).setMaxAccess("readonly") if mibBuilder.loadTexts: componentLinkCurrentProtection.setDescription("This attribute specifies whether this component link is\ncurrently used as primary or secondary link.") componentLinkRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 5, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. No read-create object\ncan be modified when componentLinkRowStatus is active(1).") componentLinkStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 5, 1, 5), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkStorageType.setDescription("The storage type for this conceptual row in the\ncomponentLinkTable. Conceptual rows having the value\n'permanent' need not allow write-access to any\ncolumnar object in the row.") componentLinkDescriptorTable = MibTable((1, 3, 6, 1, 2, 1, 10, 200, 1, 6)) if mibBuilder.loadTexts: componentLinkDescriptorTable.setDescription("This table specifies the interface switching capability\ndescriptors associated with the component links.") componentLinkDescriptorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "TE-LINK-STD-MIB", "componentLinkDescrId")) if mibBuilder.loadTexts: componentLinkDescriptorEntry.setDescription("An entry in this table is created for every component link\ndescriptor. An ifEntry in the ifTable must exist before a\ncomponentLinkDescriptorEntry using the same ifIndex is\ncreated. ifEntry's ifType can be of any interface type that\nhas been defined for TE Link interworking. Examples include\nATM, Frame Relay, Ethernet, etc. If a component link entry\nin the ifTable is destroyed, then so are all entries in the\ncomponentLinkDescriptorTable that use the ifIndex of this\ncomponent link.") componentLinkDescrId = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: componentLinkDescrId.setDescription("This object specifies the link descriptor identifier.") componentLinkDescrSwitchingCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 2), TeLinkSwitchingCapability()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrSwitchingCapability.setDescription("This attribute specifies link multiplexing capabilities of\nthe component link.") componentLinkDescrEncodingType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 3), TeLinkEncodingType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrEncodingType.setDescription("This attribute specifies the component link encoding type.") componentLinkDescrMinLspBandwidth = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 4), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMinLspBandwidth.setDescription("This attribute specifies the minimum LSP bandwidth on\nthe component link.") componentLinkDescrMaxLspBandwidthPrio0 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 5), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio0.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 0 on the component link.") componentLinkDescrMaxLspBandwidthPrio1 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 6), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio1.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 1 on the component link.") componentLinkDescrMaxLspBandwidthPrio2 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 7), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio2.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 2 on the component link.") componentLinkDescrMaxLspBandwidthPrio3 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 8), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio3.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 3 on the component link.") componentLinkDescrMaxLspBandwidthPrio4 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 9), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio4.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 4 on the component link.") componentLinkDescrMaxLspBandwidthPrio5 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 10), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio5.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 5 on the component link.") componentLinkDescrMaxLspBandwidthPrio6 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 11), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio6.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 6 on the component link.") componentLinkDescrMaxLspBandwidthPrio7 = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 12), TeLinkBandwidth()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrMaxLspBandwidthPrio7.setDescription("This attribute specifies the maximum LSP bandwidth at\npriority 7 on the component link.") componentLinkDescrInterfaceMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrInterfaceMtu.setDescription("This attribute specifies the interface MTU for the component\nlink descriptor.") componentLinkDescrIndication = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 14), TeLinkSonetSdhIndication()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrIndication.setDescription("This attribute specifies whether this interface supports\nStandard or Arbitrary SONET/SDH.") componentLinkDescrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. No read-create object\ncan be modified when componentLinkDescrRowStatus\nis active(1).") componentLinkDescrStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 6, 1, 16), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkDescrStorageType.setDescription("The storage type for this conceptual row in the\ncomponentLinkDescriptorTable. Conceptual rows\nhaving the value 'permanent' need not allow write-access\nto any columnar object in the row.") componentLinkBandwidthTable = MibTable((1, 3, 6, 1, 2, 1, 10, 200, 1, 7)) if mibBuilder.loadTexts: componentLinkBandwidthTable.setDescription("This table specifies the priority-based bandwidth\nfor component links.") componentLinkBandwidthEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 200, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "TE-LINK-STD-MIB", "componentLinkBandwidthPriority")) if mibBuilder.loadTexts: componentLinkBandwidthEntry.setDescription("An entry in this table contains information about\nthe priority-based bandwidth on component links.\nAn ifEntry in the ifTable must exist before a\ncomponentLinkBandwidthEntry using the same ifIndex is\ncreated. ifEntry's ifType can be of any interface type that\nhas been defined for TE Link interworking. Examples\ninclude ATM, Frame Relay, Ethernet, etc. If a component link\nentry in the ifTable is destroyed, then so are all entries\nin the componentLinkBandwidthTable that use the ifIndex of\nthis component link.") componentLinkBandwidthPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 7, 1, 1), TeLinkPriority()).setMaxAccess("noaccess") if mibBuilder.loadTexts: componentLinkBandwidthPriority.setDescription("This attribute specifies the priority. A value of 0 is valid\nas specified in the 'Traffic Engineering (TE) Extensions to\n OSPF Version 2' document.") componentLinkBandwidthUnreserved = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 7, 1, 2), TeLinkBandwidth()).setMaxAccess("readonly") if mibBuilder.loadTexts: componentLinkBandwidthUnreserved.setDescription("This attribute specifies the component link unreserved\nbandwidth at priority p.") componentLinkBandwidthRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 7, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkBandwidthRowStatus.setDescription("This variable is used to create, modify, and/or\ndelete a row in this table. No read-create object can\nbe modified when componentLinkBandwidthRowStatus is\nactive(1).") componentLinkBandwidthStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 200, 1, 7, 1, 4), StorageType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: componentLinkBandwidthStorageType.setDescription("The storage type for this conceptual row in the\ncomponentLinkBandwidthTable. Conceptual rows\nhaving the value 'permanent' need not allow write-access\nto any columnar object in the row.") teLinkConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 200, 2)) teLinkCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 200, 2, 1)) teLinkGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 200, 2, 2)) # Augmentions # Groups teLinkGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 200, 2, 2, 1)).setObjects(*(("TE-LINK-STD-MIB", "teLinkAddressType"), ("TE-LINK-STD-MIB", "teLinkProtectionType"), ("TE-LINK-STD-MIB", "teLinkIncomingIfId"), ("TE-LINK-STD-MIB", "teLinkStorageType"), ("TE-LINK-STD-MIB", "teLinkWorkingPriority"), ("TE-LINK-STD-MIB", "componentLinkCurrentProtection"), ("TE-LINK-STD-MIB", "teLinkDescrRowStatus"), ("TE-LINK-STD-MIB", "componentLinkDescrEncodingType"), ("TE-LINK-STD-MIB", "componentLinkRowStatus"), ("TE-LINK-STD-MIB", "componentLinkStorageType"), ("TE-LINK-STD-MIB", "teLinkDescrSwitchingCapability"), ("TE-LINK-STD-MIB", "teLinkDescrStorageType"), ("TE-LINK-STD-MIB", "componentLinkPreferredProtection"), ("TE-LINK-STD-MIB", "teLinkRowStatus"), ("TE-LINK-STD-MIB", "teLinkDescrEncodingType"), ("TE-LINK-STD-MIB", "teLinkResourceClass"), ("TE-LINK-STD-MIB", "teLinkRemoteIpAddr"), ("TE-LINK-STD-MIB", "teLinkLocalIpAddr"), ("TE-LINK-STD-MIB", "componentLinkDescrRowStatus"), ("TE-LINK-STD-MIB", "componentLinkDescrSwitchingCapability"), ("TE-LINK-STD-MIB", "componentLinkDescrStorageType"), ("TE-LINK-STD-MIB", "teLinkOutgoingIfId"), ("TE-LINK-STD-MIB", "teLinkMetric"), ) ) if mibBuilder.loadTexts: teLinkGroup.setDescription("Collection of objects needed for the management of\nresources associated with TE links.") teLinkSrlgGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 200, 2, 2, 2)).setObjects(*(("TE-LINK-STD-MIB", "teLinkSrlgStorageType"), ("TE-LINK-STD-MIB", "teLinkSrlgRowStatus"), ) ) if mibBuilder.loadTexts: teLinkSrlgGroup.setDescription("Collection of objects needed for the management of\nSRLG resources associated with TE links.") teLinkBandwidthGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 200, 2, 2, 3)).setObjects(*(("TE-LINK-STD-MIB", "teLinkBandwidthUnreserved"), ("TE-LINK-STD-MIB", "teLinkBandwidthRowStatus"), ("TE-LINK-STD-MIB", "teLinkMaximumReservableBandwidth"), ("TE-LINK-STD-MIB", "teLinkBandwidthStorageType"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio7"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio6"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio5"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio4"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio3"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio2"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio1"), ("TE-LINK-STD-MIB", "teLinkDescrMaxLspBandwidthPrio0"), ) ) if mibBuilder.loadTexts: teLinkBandwidthGroup.setDescription("Collection of objects needed for the management of\nthe bandwidth resources associated with TE links and\ncomponent links.") componentLinkBandwidthGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 200, 2, 2, 4)).setObjects(*(("TE-LINK-STD-MIB", "componentLinkBandwidthStorageType"), ("TE-LINK-STD-MIB", "componentLinkBandwidthUnreserved"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio6"), ("TE-LINK-STD-MIB", "componentLinkBandwidthRowStatus"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio2"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio3"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio0"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio1"), ("TE-LINK-STD-MIB", "componentLinkMaxResBandwidth"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio7"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio4"), ("TE-LINK-STD-MIB", "componentLinkDescrMaxLspBandwidthPrio5"), ) ) if mibBuilder.loadTexts: componentLinkBandwidthGroup.setDescription("Collection of objects needed for the management of the\nbandwidth parameters associated with component links.") teLinkPscGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 200, 2, 2, 5)).setObjects(*(("TE-LINK-STD-MIB", "teLinkDescrInterfaceMtu"), ("TE-LINK-STD-MIB", "teLinkDescrMinLspBandwidth"), ("TE-LINK-STD-MIB", "componentLinkDescrMinLspBandwidth"), ("TE-LINK-STD-MIB", "componentLinkDescrInterfaceMtu"), ) ) if mibBuilder.loadTexts: teLinkPscGroup.setDescription("Collection of objects needed for devices that are\npacket switch capable.") teLinkTdmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 200, 2, 2, 6)).setObjects(*(("TE-LINK-STD-MIB", "teLinkDescrMinLspBandwidth"), ("TE-LINK-STD-MIB", "teLinkDescrIndication"), ("TE-LINK-STD-MIB", "componentLinkDescrMinLspBandwidth"), ("TE-LINK-STD-MIB", "componentLinkDescrIndication"), ) ) if mibBuilder.loadTexts: teLinkTdmGroup.setDescription("Collection of objects needed for devices that are\nTDM switching capable.") # Compliances teLinkModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 200, 2, 1, 1)).setObjects(*(("TE-LINK-STD-MIB", "teLinkBandwidthGroup"), ("TE-LINK-STD-MIB", "teLinkGroup"), ("TE-LINK-STD-MIB", "teLinkTdmGroup"), ("TE-LINK-STD-MIB", "teLinkSrlgGroup"), ("TE-LINK-STD-MIB", "teLinkPscGroup"), ("TE-LINK-STD-MIB", "componentLinkBandwidthGroup"), ) ) if mibBuilder.loadTexts: teLinkModuleFullCompliance.setDescription("Compliance statement for agents that support read-create\nso that both configuration and monitoring of TE links can\nbe accomplished via this MIB module.") teLinkModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 200, 2, 1, 2)).setObjects(*(("TE-LINK-STD-MIB", "teLinkBandwidthGroup"), ("TE-LINK-STD-MIB", "teLinkGroup"), ("TE-LINK-STD-MIB", "teLinkTdmGroup"), ("TE-LINK-STD-MIB", "teLinkSrlgGroup"), ("TE-LINK-STD-MIB", "teLinkPscGroup"), ("TE-LINK-STD-MIB", "componentLinkBandwidthGroup"), ) ) if mibBuilder.loadTexts: teLinkModuleReadOnlyCompliance.setDescription("Compliance statement for agents that support the\nmonitoring of the TE link MIB module.") # Exports # Module identity mibBuilder.exportSymbols("TE-LINK-STD-MIB", PYSNMP_MODULE_ID=teLinkStdMIB) # Types mibBuilder.exportSymbols("TE-LINK-STD-MIB", TeLinkBandwidth=TeLinkBandwidth, TeLinkEncodingType=TeLinkEncodingType, TeLinkPriority=TeLinkPriority, TeLinkProtection=TeLinkProtection, TeLinkSonetSdhIndication=TeLinkSonetSdhIndication, TeLinkSwitchingCapability=TeLinkSwitchingCapability) # Objects mibBuilder.exportSymbols("TE-LINK-STD-MIB", teLinkStdMIB=teLinkStdMIB, teLinkNotifications=teLinkNotifications, teLinkObjects=teLinkObjects, teLinkTable=teLinkTable, teLinkEntry=teLinkEntry, teLinkAddressType=teLinkAddressType, teLinkLocalIpAddr=teLinkLocalIpAddr, teLinkRemoteIpAddr=teLinkRemoteIpAddr, teLinkMetric=teLinkMetric, teLinkMaximumReservableBandwidth=teLinkMaximumReservableBandwidth, teLinkProtectionType=teLinkProtectionType, teLinkWorkingPriority=teLinkWorkingPriority, teLinkResourceClass=teLinkResourceClass, teLinkIncomingIfId=teLinkIncomingIfId, teLinkOutgoingIfId=teLinkOutgoingIfId, teLinkRowStatus=teLinkRowStatus, teLinkStorageType=teLinkStorageType, teLinkDescriptorTable=teLinkDescriptorTable, teLinkDescriptorEntry=teLinkDescriptorEntry, teLinkDescriptorId=teLinkDescriptorId, teLinkDescrSwitchingCapability=teLinkDescrSwitchingCapability, teLinkDescrEncodingType=teLinkDescrEncodingType, teLinkDescrMinLspBandwidth=teLinkDescrMinLspBandwidth, teLinkDescrMaxLspBandwidthPrio0=teLinkDescrMaxLspBandwidthPrio0, teLinkDescrMaxLspBandwidthPrio1=teLinkDescrMaxLspBandwidthPrio1, teLinkDescrMaxLspBandwidthPrio2=teLinkDescrMaxLspBandwidthPrio2, teLinkDescrMaxLspBandwidthPrio3=teLinkDescrMaxLspBandwidthPrio3, teLinkDescrMaxLspBandwidthPrio4=teLinkDescrMaxLspBandwidthPrio4, teLinkDescrMaxLspBandwidthPrio5=teLinkDescrMaxLspBandwidthPrio5, teLinkDescrMaxLspBandwidthPrio6=teLinkDescrMaxLspBandwidthPrio6, teLinkDescrMaxLspBandwidthPrio7=teLinkDescrMaxLspBandwidthPrio7, teLinkDescrInterfaceMtu=teLinkDescrInterfaceMtu, teLinkDescrIndication=teLinkDescrIndication, teLinkDescrRowStatus=teLinkDescrRowStatus, teLinkDescrStorageType=teLinkDescrStorageType, teLinkSrlgTable=teLinkSrlgTable, teLinkSrlgEntry=teLinkSrlgEntry, teLinkSrlg=teLinkSrlg, teLinkSrlgRowStatus=teLinkSrlgRowStatus, teLinkSrlgStorageType=teLinkSrlgStorageType, teLinkBandwidthTable=teLinkBandwidthTable, teLinkBandwidthEntry=teLinkBandwidthEntry, teLinkBandwidthPriority=teLinkBandwidthPriority, teLinkBandwidthUnreserved=teLinkBandwidthUnreserved, teLinkBandwidthRowStatus=teLinkBandwidthRowStatus, teLinkBandwidthStorageType=teLinkBandwidthStorageType, componentLinkTable=componentLinkTable, componentLinkEntry=componentLinkEntry, componentLinkMaxResBandwidth=componentLinkMaxResBandwidth, componentLinkPreferredProtection=componentLinkPreferredProtection, componentLinkCurrentProtection=componentLinkCurrentProtection, componentLinkRowStatus=componentLinkRowStatus, componentLinkStorageType=componentLinkStorageType, componentLinkDescriptorTable=componentLinkDescriptorTable, componentLinkDescriptorEntry=componentLinkDescriptorEntry, componentLinkDescrId=componentLinkDescrId, componentLinkDescrSwitchingCapability=componentLinkDescrSwitchingCapability, componentLinkDescrEncodingType=componentLinkDescrEncodingType, componentLinkDescrMinLspBandwidth=componentLinkDescrMinLspBandwidth, componentLinkDescrMaxLspBandwidthPrio0=componentLinkDescrMaxLspBandwidthPrio0, componentLinkDescrMaxLspBandwidthPrio1=componentLinkDescrMaxLspBandwidthPrio1, componentLinkDescrMaxLspBandwidthPrio2=componentLinkDescrMaxLspBandwidthPrio2, componentLinkDescrMaxLspBandwidthPrio3=componentLinkDescrMaxLspBandwidthPrio3, componentLinkDescrMaxLspBandwidthPrio4=componentLinkDescrMaxLspBandwidthPrio4, componentLinkDescrMaxLspBandwidthPrio5=componentLinkDescrMaxLspBandwidthPrio5, componentLinkDescrMaxLspBandwidthPrio6=componentLinkDescrMaxLspBandwidthPrio6, componentLinkDescrMaxLspBandwidthPrio7=componentLinkDescrMaxLspBandwidthPrio7, componentLinkDescrInterfaceMtu=componentLinkDescrInterfaceMtu, componentLinkDescrIndication=componentLinkDescrIndication, componentLinkDescrRowStatus=componentLinkDescrRowStatus, componentLinkDescrStorageType=componentLinkDescrStorageType, componentLinkBandwidthTable=componentLinkBandwidthTable, componentLinkBandwidthEntry=componentLinkBandwidthEntry, componentLinkBandwidthPriority=componentLinkBandwidthPriority, componentLinkBandwidthUnreserved=componentLinkBandwidthUnreserved, componentLinkBandwidthRowStatus=componentLinkBandwidthRowStatus, componentLinkBandwidthStorageType=componentLinkBandwidthStorageType, teLinkConformance=teLinkConformance, teLinkCompliances=teLinkCompliances, teLinkGroups=teLinkGroups) # Groups mibBuilder.exportSymbols("TE-LINK-STD-MIB", teLinkGroup=teLinkGroup, teLinkSrlgGroup=teLinkSrlgGroup, teLinkBandwidthGroup=teLinkBandwidthGroup, componentLinkBandwidthGroup=componentLinkBandwidthGroup, teLinkPscGroup=teLinkPscGroup, teLinkTdmGroup=teLinkTdmGroup) # Compliances mibBuilder.exportSymbols("TE-LINK-STD-MIB", teLinkModuleFullCompliance=teLinkModuleFullCompliance, teLinkModuleReadOnlyCompliance=teLinkModuleReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/INTEGRATED-SERVICES-MIB.py0000644000014400001440000005043411736645136022312 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python INTEGRATED-SERVICES-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:09 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowStatus, TextualConvention, TestAndIncr, TimeInterval, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TestAndIncr", "TimeInterval", "TruthValue") # Types class BitRate(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class BurstSize(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class MessageSize(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class Port(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(2,4) class Protocol(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,255) class QosService(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,5,) namedValues = NamedValues(("bestEffort", 1), ("guaranteedDelay", 2), ("controlledLoad", 5), ) class SessionNumber(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) class SessionType(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,255) # Objects intSrv = ModuleIdentity((1, 3, 6, 1, 2, 1, 52)).setRevisions(("1995-11-03 05:00",)) if mibBuilder.loadTexts: intSrv.setOrganization("IETF Integrated Services Working Group") if mibBuilder.loadTexts: intSrv.setContactInfo(" Fred Baker\nPostal: Cisco Systems\n 519 Lado Drive\n Santa Barbara, California 93111\nTel: +1 805 681 0115\nE-Mail: fred@cisco.com\n\n John Krawczyk\nPostal: ArrowPoint Communications\n 235 Littleton Road\n Westford, Massachusetts 01886\nTel: +1 508 692 5875\nE-Mail: jjk@tiac.net") if mibBuilder.loadTexts: intSrv.setDescription("The MIB module to describe the Integrated Services\nProtocol") intSrvObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 1)) intSrvIfAttribTable = MibTable((1, 3, 6, 1, 2, 1, 52, 1, 1)) if mibBuilder.loadTexts: intSrvIfAttribTable.setDescription("The reservable attributes of the system's in-\nterfaces.") intSrvIfAttribEntry = MibTableRow((1, 3, 6, 1, 2, 1, 52, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: intSrvIfAttribEntry.setDescription("The reservable attributes of a given inter-\nface.") intSrvIfAttribAllocatedBits = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 1, 1, 1), BitRate()).setMaxAccess("readonly") if mibBuilder.loadTexts: intSrvIfAttribAllocatedBits.setDescription("The number of bits/second currently allocated\nto reserved sessions on the interface.") intSrvIfAttribMaxAllocatedBits = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 1, 1, 2), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvIfAttribMaxAllocatedBits.setDescription("The maximum number of bits/second that may be\nallocated to reserved sessions on the inter-\nface.") intSrvIfAttribAllocatedBuffer = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 1, 1, 3), BurstSize()).setMaxAccess("readonly") if mibBuilder.loadTexts: intSrvIfAttribAllocatedBuffer.setDescription("The amount of buffer space required to hold\nthe simultaneous burst of all reserved flows on\nthe interface.") intSrvIfAttribFlows = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 1, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: intSrvIfAttribFlows.setDescription("The number of reserved flows currently active\non this interface. A flow can be created ei-\nther from a reservation protocol (such as RSVP\nor ST-II) or via configuration information.") intSrvIfAttribPropagationDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 1, 1, 5), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvIfAttribPropagationDelay.setDescription("The amount of propagation delay that this in-\nterface introduces in addition to that intro-\ndiced by bit propagation delays.") intSrvIfAttribStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvIfAttribStatus.setDescription("'active' on interfaces that are configured for\nRSVP.") intSrvFlowTable = MibTable((1, 3, 6, 1, 2, 1, 52, 1, 2)) if mibBuilder.loadTexts: intSrvFlowTable.setDescription("Information describing the reserved flows us-\ning the system's interfaces.") intSrvFlowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 52, 1, 2, 1)).setIndexNames((0, "INTEGRATED-SERVICES-MIB", "intSrvFlowNumber")) if mibBuilder.loadTexts: intSrvFlowEntry.setDescription("Information describing the use of a given in-\nterface by a given flow. The counter\nintSrvFlowPoliced starts counting at the in-\nstallation of the flow.") intSrvFlowNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 1), SessionNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: intSrvFlowNumber.setDescription("The number of this flow. This is for SNMP In-\ndexing purposes only and has no relation to any\nprotocol value.") intSrvFlowType = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 2), SessionType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowType.setDescription("The type of session (IP4, IP6, IP6 with flow\ninformation, etc).") intSrvFlowOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("other", 1), ("rsvp", 2), ("management", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowOwner.setDescription("The process that installed this flow in the\nqueue policy database.") intSrvFlowDestAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowDestAddr.setDescription("The destination address used by all senders in\nthis session. This object may not be changed\nwhen the value of the RowStatus object is 'ac-\ntive'.") intSrvFlowSenderAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowSenderAddr.setDescription("The source address of the sender selected by\nthis reservation. The value of all zeroes in-\ndicates 'all senders'. This object may not be\nchanged when the value of the RowStatus object\nis 'active'.") intSrvFlowDestAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowDestAddrLength.setDescription("The length of the destination address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") intSrvFlowSenderAddrLength = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowSenderAddrLength.setDescription("The length of the sender's address in bits.\nThis is the CIDR Prefix Length, which for IP4\nhosts and multicast addresses is 32 bits. This\nobject may not be changed when the value of the\nRowStatus object is 'active'.") intSrvFlowProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 8), Protocol()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowProtocol.setDescription("The IP Protocol used by a session. This ob-\nject may not be changed when the value of the\nRowStatus object is 'active'.") intSrvFlowDestPort = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 9), Port()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowDestPort.setDescription("The UDP or TCP port number used as a destina-\ntion port for all senders in this session. If\nthe IP protocol in use, specified by\nintSrvResvFwdProtocol, is 50 (ESP) or 51 (AH),\nthis represents a virtual destination port\nnumber. A value of zero indicates that the IP\nprotocol in use does not have ports. This ob-\nject may not be changed when the value of the\nRowStatus object is 'active'.") intSrvFlowPort = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 10), Port()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowPort.setDescription("The UDP or TCP port number used as a source\nport for this sender in this session. If the\nIP protocol in use, specified by\nintSrvResvFwdProtocol is 50 (ESP) or 51 (AH),\nthis represents a generalized port identifier\n(GPI). A value of zero indicates that the IP\nprotocol in use does not have ports. This ob-\nject may not be changed when the value of the\nRowStatus object is 'active'.") intSrvFlowFlowId = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16777215))).setMaxAccess("readonly") if mibBuilder.loadTexts: intSrvFlowFlowId.setDescription("The flow ID that this sender is using, if\nthis is an IPv6 session.") intSrvFlowInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 12), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowInterface.setDescription("The ifIndex value of the interface on which\nthis reservation exists.") intSrvFlowIfAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowIfAddr.setDescription("The IP Address on the ifEntry on which this\nreservation exists. This is present primarily\nto support those interfaces which layer multi-\nple IP Addresses on the interface.") intSrvFlowRate = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 14), BitRate()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowRate.setDescription("The Reserved Rate of the sender's data stream.\nIf this is a Controlled Load service flow, this\nrate is derived from the Tspec rate parameter\n(r). If this is a Guaranteed service flow,\nthis rate is derived from the Rspec clearing\nrate parameter (R).") intSrvFlowBurst = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 15), BurstSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowBurst.setDescription("The size of the largest burst expected from\nthe sender at a time.\n\nIf this is less than the sender's advertised\nburst size, the receiver is asking the network\nto provide flow pacing beyond what would be\nprovided under normal circumstances. Such pac-\ning is at the network's option.") intSrvFlowWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 16), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowWeight.setDescription("The weight used to prioritize the traffic.\nNote that the interpretation of this object is\nimplementation-specific, as implementations\nvary in their use of weighting procedures.") intSrvFlowQueue = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 17), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowQueue.setDescription("The number of the queue used by this traffic.\nNote that the interpretation of this object is\nimplementation-specific, as implementations\nvary in their use of queue identifiers.") intSrvFlowMinTU = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 18), MessageSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowMinTU.setDescription("The minimum message size for this flow. The\npolicing algorithm will treat smaller messages\nas though they are this size.") intSrvFlowMaxTU = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 19), MessageSize()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowMaxTU.setDescription("The maximum datagram size for this flow that\nwill conform to the traffic specification. This\nvalue cannot exceed the MTU of the interface.") intSrvFlowBestEffort = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: intSrvFlowBestEffort.setDescription("The number of packets that were remanded to\nbest effort service.") intSrvFlowPoliced = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: intSrvFlowPoliced.setDescription("The number of packets policed since the incep-\ntion of the flow's service.") intSrvFlowDiscard = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 22), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowDiscard.setDescription("If 'true', the flow is to incur loss when\ntraffic is policed. If 'false', policed traff-\nic is treated as best effort traffic.") intSrvFlowService = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 23), QosService()).setMaxAccess("readonly") if mibBuilder.loadTexts: intSrvFlowService.setDescription("The QoS service being applied to this flow.") intSrvFlowOrder = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowOrder.setDescription("In the event of ambiguity, the order in which\nthe classifier should make its comparisons.\nThe row with intSrvFlowOrder=0 is tried first,\nand comparisons proceed in the order of in-\ncreasing value. Non-serial implementations of\nthe classifier should emulate this behavior.") intSrvFlowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 1, 2, 1, 25), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: intSrvFlowStatus.setDescription("'active' for all active flows. This object\nmay be used to install static classifier infor-\nmation, delete classifier information, or au-\nthorize such.") intSrvGenObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 2)) intSrvFlowNewIndex = MibScalar((1, 3, 6, 1, 2, 1, 52, 2, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: intSrvFlowNewIndex.setDescription("This object is used to assign values to\nintSrvFlowNumber as described in 'Textual Con-\nventions for SNMPv2'. The network manager\nreads the object, and then writes the value\nback in the SET that creates a new instance of\nintSrvFlowEntry. If the SET fails with the\ncode 'inconsistentValue', then the process must\nbe repeated; If the SET succeeds, then the ob-\nject is incremented, and the new instance is\ncreated according to the manager's directions.") intSrvNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 3)) intSrvConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4)) intSrvGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4, 1)) intSrvCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4, 2)) # Augmentions # Groups intSrvIfAttribGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 52, 4, 1, 1)).setObjects(*(("INTEGRATED-SERVICES-MIB", "intSrvIfAttribAllocatedBuffer"), ("INTEGRATED-SERVICES-MIB", "intSrvIfAttribStatus"), ("INTEGRATED-SERVICES-MIB", "intSrvIfAttribPropagationDelay"), ("INTEGRATED-SERVICES-MIB", "intSrvIfAttribAllocatedBits"), ("INTEGRATED-SERVICES-MIB", "intSrvIfAttribMaxAllocatedBits"), ("INTEGRATED-SERVICES-MIB", "intSrvIfAttribFlows"), ) ) if mibBuilder.loadTexts: intSrvIfAttribGroup.setDescription("These objects are required for Systems sup-\nporting the Integrated Services Architecture.") intSrvFlowsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 52, 4, 1, 2)).setObjects(*(("INTEGRATED-SERVICES-MIB", "intSrvFlowSenderAddr"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowPoliced"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowIfAddr"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowWeight"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowOwner"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowService"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowType"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowDestAddr"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowSenderAddrLength"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowOrder"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowProtocol"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowInterface"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowBurst"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowQueue"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowRate"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowPort"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowDestAddrLength"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowMinTU"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowDestPort"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowBestEffort"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowStatus"), ("INTEGRATED-SERVICES-MIB", "intSrvFlowDiscard"), ) ) if mibBuilder.loadTexts: intSrvFlowsGroup.setDescription("These objects are required for Systems sup-\nporting the Integrated Services Architecture.") # Compliances intSrvCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 52, 4, 2, 1)).setObjects(*(("INTEGRATED-SERVICES-MIB", "intSrvFlowsGroup"), ("INTEGRATED-SERVICES-MIB", "intSrvIfAttribGroup"), ) ) if mibBuilder.loadTexts: intSrvCompliance.setDescription("The compliance statement ") # Exports # Module identity mibBuilder.exportSymbols("INTEGRATED-SERVICES-MIB", PYSNMP_MODULE_ID=intSrv) # Types mibBuilder.exportSymbols("INTEGRATED-SERVICES-MIB", BitRate=BitRate, BurstSize=BurstSize, MessageSize=MessageSize, Port=Port, Protocol=Protocol, QosService=QosService, SessionNumber=SessionNumber, SessionType=SessionType) # Objects mibBuilder.exportSymbols("INTEGRATED-SERVICES-MIB", intSrv=intSrv, intSrvObjects=intSrvObjects, intSrvIfAttribTable=intSrvIfAttribTable, intSrvIfAttribEntry=intSrvIfAttribEntry, intSrvIfAttribAllocatedBits=intSrvIfAttribAllocatedBits, intSrvIfAttribMaxAllocatedBits=intSrvIfAttribMaxAllocatedBits, intSrvIfAttribAllocatedBuffer=intSrvIfAttribAllocatedBuffer, intSrvIfAttribFlows=intSrvIfAttribFlows, intSrvIfAttribPropagationDelay=intSrvIfAttribPropagationDelay, intSrvIfAttribStatus=intSrvIfAttribStatus, intSrvFlowTable=intSrvFlowTable, intSrvFlowEntry=intSrvFlowEntry, intSrvFlowNumber=intSrvFlowNumber, intSrvFlowType=intSrvFlowType, intSrvFlowOwner=intSrvFlowOwner, intSrvFlowDestAddr=intSrvFlowDestAddr, intSrvFlowSenderAddr=intSrvFlowSenderAddr, intSrvFlowDestAddrLength=intSrvFlowDestAddrLength, intSrvFlowSenderAddrLength=intSrvFlowSenderAddrLength, intSrvFlowProtocol=intSrvFlowProtocol, intSrvFlowDestPort=intSrvFlowDestPort, intSrvFlowPort=intSrvFlowPort, intSrvFlowFlowId=intSrvFlowFlowId, intSrvFlowInterface=intSrvFlowInterface, intSrvFlowIfAddr=intSrvFlowIfAddr, intSrvFlowRate=intSrvFlowRate, intSrvFlowBurst=intSrvFlowBurst, intSrvFlowWeight=intSrvFlowWeight, intSrvFlowQueue=intSrvFlowQueue, intSrvFlowMinTU=intSrvFlowMinTU, intSrvFlowMaxTU=intSrvFlowMaxTU, intSrvFlowBestEffort=intSrvFlowBestEffort, intSrvFlowPoliced=intSrvFlowPoliced, intSrvFlowDiscard=intSrvFlowDiscard, intSrvFlowService=intSrvFlowService, intSrvFlowOrder=intSrvFlowOrder, intSrvFlowStatus=intSrvFlowStatus, intSrvGenObjects=intSrvGenObjects, intSrvFlowNewIndex=intSrvFlowNewIndex, intSrvNotifications=intSrvNotifications, intSrvConformance=intSrvConformance, intSrvGroups=intSrvGroups, intSrvCompliances=intSrvCompliances) # Groups mibBuilder.exportSymbols("INTEGRATED-SERVICES-MIB", intSrvIfAttribGroup=intSrvIfAttribGroup, intSrvFlowsGroup=intSrvFlowsGroup) # Compliances mibBuilder.exportSymbols("INTEGRATED-SERVICES-MIB", intSrvCompliance=intSrvCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-PRINTER-MIB.py0000644000014400001440000003273011736645136021273 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-PRINTER-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:07 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "TimeTicks", "mib-2") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class PrtAlertCodeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(16,32,14,19,9,30,506,20,1106,902,808,501,901,36,23,1004,1502,6,804,5,13,803,1303,1115,1509,802,1001,1110,35,812,28,24,27,1102,504,26,3,1301,502,811,1113,15,904,807,22,21,11,813,7,29,1105,2,1101,810,1003,8,1304,1801,31,1114,505,1111,1103,1104,1302,1109,503,801,25,1108,4,1107,18,1112,10,1505,507,806,1005,1506,805,1501,1,33,809,38,12,1503,17,903,1507,34,1504,1002,37,) namedValues = NamedValues(("other", 1), ("subunitLifeAlmostOver", 10), ("markerFuserUnderTemperature", 1001), ("markerFuserOverTemperature", 1002), ("markerFuserTimingFailure", 1003), ("markerFuserThermistorFailure", 1004), ("markerAdjustingPrintQuality", 1005), ("subunitLifeOver", 11), ("markerTonerEmpty", 1101), ("markerInkEmpty", 1102), ("markerPrintRibbonEmpty", 1103), ("markerTonerAlmostEmpty", 1104), ("markerInkAlmostEmpty", 1105), ("markerPrintRibbonAlmostEmpty", 1106), ("markerWasteTonerReceptacleAlmostFull", 1107), ("markerWasteInkReceptacleAlmostFull", 1108), ("markerWasteTonerReceptacleFull", 1109), ("markerWasteInkReceptacleFull", 1110), ("markerOpcLifeAlmostOver", 1111), ("markerOpcLifeOver", 1112), ("markerDeveloperAlmostEmpty", 1113), ("markerDeveloperEmpty", 1114), ("markerTonerCartridgeMissing", 1115), ("subunitAlmostEmpty", 12), ("subunitEmpty", 13), ("mediaPathMediaTrayMissing", 1301), ("mediaPathMediaTrayAlmostFull", 1302), ("mediaPathMediaTrayFull", 1303), ("mediaPathCannotDuplexMediaSelected", 1304), ("subunitAlmostFull", 14), ("subunitFull", 15), ("interpreterMemoryIncrease", 1501), ("interpreterMemoryDecrease", 1502), ("interpreterCartridgeAdded", 1503), ("interpreterCartridgeDeleted", 1504), ("interpreterResourceAdded", 1505), ("interpreterResourceDeleted", 1506), ("interpreterResourceUnavailable", 1507), ("interpreterComplexPageEncountered", 1509), ("subunitNearLimit", 16), ("subunitAtLimit", 17), ("subunitOpened", 18), ("alertRemovalOfBinaryChangeEntry", 1801), ("subunitClosed", 19), ("unknown", 2), ("subunitTurnedOn", 20), ("subunitTurnedOff", 21), ("subunitOffline", 22), ("subunitPowerSaver", 23), ("subunitWarmingUp", 24), ("subunitAdded", 25), ("subunitRemoved", 26), ("subunitResourceAdded", 27), ("subunitResourceRemoved", 28), ("subunitRecoverableFailure", 29), ("coverOpen", 3), ("subunitUnrecoverableFailure", 30), ("subunitRecoverableStorageError", 31), ("subunitUnrecoverableStorageError", 32), ("subunitMotorFailure", 33), ("subunitMemoryExhausted", 34), ("subunitUnderTemperature", 35), ("subunitOverTemperature", 36), ("subunitTimingFailure", 37), ("subunitThermistorFailure", 38), ("coverClosed", 4), ("interlockOpen", 5), ("doorOpen", 501), ("doorClosed", 502), ("powerUp", 503), ("powerDown", 504), ("printerNMSReset", 505), ("printerManualReset", 506), ("printerReadyToPrint", 507), ("interlockClosed", 6), ("configurationChange", 7), ("jam", 8), ("inputMediaTrayMissing", 801), ("inputMediaSizeChange", 802), ("inputMediaWeightChange", 803), ("inputMediaTypeChange", 804), ("inputMediaColorChange", 805), ("inputMediaFormPartsChange", 806), ("inputMediaSupplyLow", 807), ("inputMediaSupplyEmpty", 808), ("inputMediaChangeRequest", 809), ("inputManualInputRequest", 810), ("inputTrayPositionFailure", 811), ("inputTrayElevationFailure", 812), ("inputCannotFeedSizeSelected", 813), ("subunitMissing", 9), ("outputMediaTrayMissing", 901), ("outputMediaTrayAlmostFull", 902), ("outputMediaTrayFull", 903), ("outputMailboxSelectFailure", 904), ) class PrtAlertGroupTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(13,16,30,4,5,10,15,2,7,11,1,8,14,31,17,18,12,3,6,32,33,9,) namedValues = NamedValues(("other", 1), ("marker", 10), ("markerSupplies", 11), ("markerColorant", 12), ("mediaPath", 13), ("channel", 14), ("interpreter", 15), ("consoleDisplayBuffer", 16), ("consoleLights", 17), ("alert", 18), ("unknown", 2), ("hostResourcesMIBStorageTable", 3), ("finDevice", 30), ("finSupply", 31), ("finSupplyMediaInput", 32), ("finAttribute", 33), ("hostResourcesMIBDeviceTable", 4), ("generalPrinter", 5), ("cover", 6), ("localization", 7), ("input", 8), ("output", 9), ) class PrtAlertTrainingLevelTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,2,7,6,5,3,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("untrained", 3), ("trained", 4), ("fieldService", 5), ("management", 6), ("noInterventionRequired", 7), ) class PrtChannelTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(21,38,19,12,9,32,35,2,10,11,33,3,17,45,25,13,20,28,26,27,41,4,31,42,8,18,24,23,36,14,39,30,37,1,34,7,44,29,40,15,6,5,22,16,43,) namedValues = NamedValues(("other", 1), ("chNetwarePServer", 10), ("chPort9100", 11), ("chAppSocket", 12), ("chFTP", 13), ("chTFTP", 14), ("chDLCLLCPort", 15), ("chIBM3270", 16), ("chIBM5250", 17), ("chFax", 18), ("chIEEE1394", 19), ("unknown", 2), ("chTransport1", 20), ("chCPAP", 21), ("chDCERemoteProcCall", 22), ("chONCRemoteProcCall", 23), ("chOLE", 24), ("chNamedPipe", 25), ("chPCPrint", 26), ("chServerMessageBlock", 27), ("chDPMF", 28), ("chDLLAPI", 29), ("chSerialPort", 3), ("chVxDAPI", 30), ("chSystemObjectManager", 31), ("chDECLAT", 32), ("chNPAP", 33), ("chUSB", 34), ("chIRDA", 35), ("chPrintXChange", 36), ("chPortTCP", 37), ("chBidirPortTCP", 38), ("chUNPP", 39), ("chParallelPort", 4), ("chAppleTalkADSP", 40), ("chPortSPX", 41), ("chPortHTTP", 42), ("chNDPS", 43), ("chIPP", 44), ("chSMTP", 45), ("chIEEE1284Port", 5), ("chSCSIPort", 6), ("chAppleTalkPAP", 7), ("chLPDServer", 8), ("chNetwareRPrinter", 9), ) class PrtConsoleColorTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(9,7,8,6,2,1,5,10,3,4,) namedValues = NamedValues(("other", 1), ("orange", 10), ("unknown", 2), ("white", 3), ("red", 4), ("green", 5), ("blue", 6), ("cyan", 7), ("magenta", 8), ("yellow", 9), ) class PrtConsoleDisableTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,3,) namedValues = NamedValues(("enabled", 3), ("disabled", 4), ) class PrtCoverStatusTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,3,5,6,2,4,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("coverOpen", 3), ("coverClosed", 4), ("interlockOpen", 5), ("interlockClosed", 6), ) class PrtGeneralResetTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,5,6,3,) namedValues = NamedValues(("notResetting", 3), ("powerCycleReset", 4), ("resetToNVRAM", 5), ("resetToFactoryDefaults", 6), ) class PrtInputTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,1,5,7,2,6,4,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("sheetFeedAutoRemovableTray", 3), ("sheetFeedAutoNonRemovableTray", 4), ("sheetFeedManual", 5), ("continuousRoll", 6), ("continuousFanFold", 7), ) class PrtInterpreterLangFamilyTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(57,13,52,39,15,42,47,60,17,14,28,21,33,4,49,6,45,8,64,61,31,2,58,53,10,3,16,7,48,63,1,9,35,24,11,32,38,65,20,27,43,34,18,54,25,62,29,59,50,46,30,36,40,26,19,23,5,37,22,12,51,44,56,55,41,) namedValues = NamedValues(("other", 1), ("langEpson", 10), ("langDDIF", 11), ("langInterpress", 12), ("langISO6429", 13), ("langLineData", 14), ("langMODCA", 15), ("langREGIS", 16), ("langSCS", 17), ("langSPDL", 18), ("langTEK4014", 19), ("unknown", 2), ("langPDS", 20), ("langIGP", 21), ("langCodeV", 22), ("langDSCDSE", 23), ("langWPS", 24), ("langLN03", 25), ("langCCITT", 26), ("langQUIC", 27), ("langCPAP", 28), ("langDecPPL", 29), ("langPCL", 3), ("langSimpleText", 30), ("langNPAP", 31), ("langDOC", 32), ("langimPress", 33), ("langPinwriter", 34), ("langNPDL", 35), ("langNEC201PL", 36), ("langAutomatic", 37), ("langPages", 38), ("langLIPS", 39), ("langHPGL", 4), ("langTIFF", 40), ("langDiagnostic", 41), ("langPSPrinter", 42), ("langCaPSL", 43), ("langEXCL", 44), ("langLCDS", 45), ("langXES", 46), ("langPCLXL", 47), ("langART", 48), ("langTIPSI", 49), ("langPJL", 5), ("langPrescribe", 50), ("langLinePrinter", 51), ("langIDP", 52), ("langXJCL", 53), ("langPDF", 54), ("langRPDL", 55), ("langIntermecIPL", 56), ("langUBIFingerprint", 57), ("langUBIDirectProtocol", 58), ("langFujitsu", 59), ("langPS", 6), ("langCGM", 60), ("langJPEG", 61), ("langCALS1", 62), ("langCALS2", 63), ("langNIRS", 64), ("langC4", 65), ("langIPDS", 7), ("langPPDS", 8), ("langEscapeP", 9), ) class PrtMarkerMarkTechTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(20,23,21,22,25,2,5,11,15,1,27,26,14,13,16,19,4,24,9,10,18,6,3,8,12,7,17,) namedValues = NamedValues(("other", 1), ("impactBand", 10), ("impactOther", 11), ("inkjetAqueous", 12), ("inkjetSolid", 13), ("inkjetOther", 14), ("pen", 15), ("thermalTransfer", 16), ("thermalSensitive", 17), ("thermalDiffusion", 18), ("thermalOther", 19), ("unknown", 2), ("electroerosion", 20), ("electrostatic", 21), ("photographicMicrofiche", 22), ("photographicImagesetter", 23), ("photographicOther", 24), ("ionDeposition", 25), ("eBeam", 26), ("typesetter", 27), ("electrophotographicLED", 3), ("electrophotographicLaser", 4), ("electrophotographicOther", 5), ("impactMovingHeadDotMatrix9pin", 6), ("impactMovingHeadDotMatrix24pin", 7), ("impactMovingHeadDotMatrixOther", 8), ("impactMovingHeadFullyFormed", 9), ) class PrtMarkerSuppliesTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(33,14,12,28,13,8,4,9,32,23,29,7,5,30,24,26,10,11,22,27,18,34,6,17,2,31,19,15,1,16,3,25,20,21,) namedValues = NamedValues(("other", 1), ("developer", 10), ("fuserOil", 11), ("solidWax", 12), ("ribbonWax", 13), ("wasteWax", 14), ("fuser", 15), ("coronaWire", 16), ("fuserOilWick", 17), ("cleanerUnit", 18), ("fuserCleaningPad", 19), ("unknown", 2), ("transferUnit", 20), ("tonerCartridge", 21), ("fuserOiler", 22), ("water", 23), ("wasteWater", 24), ("glueWaterAdditive", 25), ("wastePaper", 26), ("bindingSupply", 27), ("bandingSupply", 28), ("stitchingWire", 29), ("toner", 3), ("shrinkWrap", 30), ("paperWrap", 31), ("staples", 32), ("inserts", 33), ("covers", 34), ("wasteToner", 4), ("ink", 5), ("inkCartridge", 6), ("inkRibbon", 7), ("wasteInk", 8), ("opc", 9), ) class PrtMediaPathTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,5,2,3,4,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("longEdgeBindingDuplex", 3), ("shortEdgeBindingDuplex", 4), ("simplex", 5), ) class PrtOutputTypeTC(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,4,5,7,2,3,6,) namedValues = NamedValues(("other", 1), ("unknown", 2), ("removableBin", 3), ("unRemovableBin", 4), ("continuousRollDevice", 5), ("mailBox", 6), ("continuousFanFold", 7), ) # Objects ianaPrinterMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 109)).setRevisions(("2005-09-14 00:00","2004-06-02 00:00",)) if mibBuilder.loadTexts: ianaPrinterMIB.setOrganization("IANA") if mibBuilder.loadTexts: ianaPrinterMIB.setContactInfo("Internet Assigned Numbers Authority\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaPrinterMIB.setDescription("This MIB module defines a set of printing-related\nTEXTUAL-CONVENTIONs for use in Printer MIB (RFC 3805),\nFinisher MIB (RFC 3806), and other MIBs which need to\nspecify printing mechanism details.\n\nAny additions or changes to the contents of this MIB\nmodule require either publication of an RFC, or\nDesignated Expert Review as defined in RFC 2434,\nGuidelines for Writing an IANA Considerations Section\nin RFCs. The Designated Expert will be selected by\nthe IESG Area Director(s) of the Applications Area.\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3805. For full legal notices see the RFC\nitself or see:\nhttp://www.ietf.org/copyrights/ianamib.html") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-PRINTER-MIB", PYSNMP_MODULE_ID=ianaPrinterMIB) # Types mibBuilder.exportSymbols("IANA-PRINTER-MIB", PrtAlertCodeTC=PrtAlertCodeTC, PrtAlertGroupTC=PrtAlertGroupTC, PrtAlertTrainingLevelTC=PrtAlertTrainingLevelTC, PrtChannelTypeTC=PrtChannelTypeTC, PrtConsoleColorTC=PrtConsoleColorTC, PrtConsoleDisableTC=PrtConsoleDisableTC, PrtCoverStatusTC=PrtCoverStatusTC, PrtGeneralResetTC=PrtGeneralResetTC, PrtInputTypeTC=PrtInputTypeTC, PrtInterpreterLangFamilyTC=PrtInterpreterLangFamilyTC, PrtMarkerMarkTechTC=PrtMarkerMarkTechTC, PrtMarkerSuppliesTypeTC=PrtMarkerSuppliesTypeTC, PrtMediaPathTypeTC=PrtMediaPathTypeTC, PrtOutputTypeTC=PrtOutputTypeTC) # Objects mibBuilder.exportSymbols("IANA-PRINTER-MIB", ianaPrinterMIB=ianaPrinterMIB) pysnmp-mibs-0.1.3/pysnmp_mibs/ITU-ALARM-MIB.py0000644000014400001440000003653011736645137020740 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ITU-ALARM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:15 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( alarmActiveDateAndTime, alarmActiveIndex, alarmListName, alarmModelIndex, ) = mibBuilder.importSymbols("ALARM-MIB", "alarmActiveDateAndTime", "alarmActiveIndex", "alarmListName", "alarmModelIndex") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( IANAItuEventType, IANAItuProbableCause, ) = mibBuilder.importSymbols("IANA-ITU-ALARM-TC-MIB", "IANAItuEventType", "IANAItuProbableCause") ( ItuPerceivedSeverity, ItuTrendIndication, ) = mibBuilder.importSymbols("ITU-ALARM-TC-MIB", "ItuPerceivedSeverity", "ItuTrendIndication") ( ZeroBasedCounter32, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( AutonomousType, RowPointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "AutonomousType", "RowPointer") # Objects ituAlarmMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 121)).setRevisions(("2004-09-09 00:00",)) if mibBuilder.loadTexts: ituAlarmMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: ituAlarmMIB.setContactInfo("WG EMail: disman@ietf.org\nSubscribe: disman-request@ietf.org\nhttp://www.ietf.org/html.charters/disman-charter.html\n\nChair: Randy Presuhn\n randy_presuhn@mindspring.com\n\nEditors: Sharon Chisholm\n Nortel Networks\n PO Box 3511 Station C\n Ottawa, Ont. K1Y 4H7\n Canada\n schishol@nortelnetworks.com\n\n Dan Romascanu\n Avaya\n Atidim Technology Park, Bldg. #3\n Tel Aviv, 61131\n\n\n Israel\n Tel: +972-3-645-8414\n Email: dromasca@avaya.com") if mibBuilder.loadTexts: ituAlarmMIB.setDescription("The MIB module describes ITU Alarm information\nas defined in ITU Recommendation M.3100 [M.3100],\nX.733 [X.733] and X.736 [X.736].\n\nCopyright (C) The Internet Society (2004). The\ninitial version of this MIB module was published\nin RFC 3877. For full legal notices see the RFC\nitself. Supplementary information may be available on:\nhttp://www.ietf.org/copyrights/ianamib.html") ituAlarmObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 121, 1)) ituAlarmModel = MibIdentifier((1, 3, 6, 1, 2, 1, 121, 1, 1)) ituAlarmTable = MibTable((1, 3, 6, 1, 2, 1, 121, 1, 1, 1)) if mibBuilder.loadTexts: ituAlarmTable.setDescription("A table of ITU Alarm information for possible alarms\non the system.") ituAlarmEntry = MibTableRow((1, 3, 6, 1, 2, 1, 121, 1, 1, 1, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName"), (0, "ALARM-MIB", "alarmModelIndex"), (0, "ITU-ALARM-MIB", "ituAlarmPerceivedSeverity")) if mibBuilder.loadTexts: ituAlarmEntry.setDescription("Entries appear in this table whenever an entry is created\nin the alarmModelTable with a value of alarmModelState in\nthe range from 1 to 6. Entries disappear from this table\nwhenever the corresponding entries are deleted from the\nalarmModelTable, including in cases where those entries\nhave been deleted due to local system action. The value of\nalarmModelSpecificPointer has no effect on the creation\nor deletion of entries in this table. Values of\nalarmModelState map to values of ituAlarmPerceivedSeverity\nas follows:\n\n\n alarmModelState -> ituAlarmPerceivedSeverity\n 1 -> clear (1)\n 2 -> indeterminate (2)\n 3 -> warning (6)\n 4 -> minor (5)\n 5 -> major (4)\n 6 -> critical (3)\n\nAll other values of alarmModelState MUST NOT appear\nin this table.\n\nThis table MUST be persistent across system reboots.") ituAlarmPerceivedSeverity = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 1, 1, 1, 1), ItuPerceivedSeverity()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ituAlarmPerceivedSeverity.setDescription("ITU perceived severity values.") ituAlarmEventType = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 1, 1, 1, 2), IANAItuEventType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ituAlarmEventType.setDescription("Represents the event type values for the alarms") ituAlarmProbableCause = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 1, 1, 1, 3), IANAItuProbableCause()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ituAlarmProbableCause.setDescription("ITU probable cause values.") ituAlarmAdditionalText = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 1, 1, 1, 4), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ituAlarmAdditionalText.setDescription("Represents the additional text field for the alarm.") ituAlarmGenericModel = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 1, 1, 1, 5), RowPointer()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ituAlarmGenericModel.setDescription("This object points to the corresponding\nrow in the alarmModelTable for this alarm severity.\n\nThis corresponding entry to alarmModelTable could also\nbe derived by performing the reverse of the mapping\nfrom alarmModelState to ituAlarmPerceivedSeverity defined\n\n\nin the description of ituAlarmEntry to determine the\nappropriate { alarmListName, alarmModelIndex, alarmModelState }\nfor this { alarmListName, alarmModelIndex,\nituAlarmPerceivedSeverity }.") ituAlarmActive = MibIdentifier((1, 3, 6, 1, 2, 1, 121, 1, 2)) ituAlarmActiveTable = MibTable((1, 3, 6, 1, 2, 1, 121, 1, 2, 1)) if mibBuilder.loadTexts: ituAlarmActiveTable.setDescription("A table of ITU information for active alarms entries.") ituAlarmActiveEntry = MibTableRow((1, 3, 6, 1, 2, 1, 121, 1, 2, 1, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName"), (0, "ALARM-MIB", "alarmActiveDateAndTime"), (0, "ALARM-MIB", "alarmActiveIndex")) if mibBuilder.loadTexts: ituAlarmActiveEntry.setDescription("Entries appear in this table when alarms are active. They\nare removed when the alarm is no longer occurring.") ituAlarmActiveTrendIndication = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 1, 1, 1), ItuTrendIndication()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveTrendIndication.setDescription("Represents the trend indication values for the alarms.") ituAlarmActiveDetector = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 1, 1, 2), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveDetector.setDescription("Represents the SecurityAlarmDetector object.") ituAlarmActiveServiceProvider = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 1, 1, 3), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveServiceProvider.setDescription("Represents the ServiceProvider object.") ituAlarmActiveServiceUser = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 1, 1, 4), AutonomousType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveServiceUser.setDescription("Represents the ServiceUser object.") ituAlarmActiveStatsTable = MibTable((1, 3, 6, 1, 2, 1, 121, 1, 2, 2)) if mibBuilder.loadTexts: ituAlarmActiveStatsTable.setDescription("This table represents the ITU alarm statistics\ninformation.") ituAlarmActiveStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1)).setIndexNames((0, "ALARM-MIB", "alarmListName")) if mibBuilder.loadTexts: ituAlarmActiveStatsEntry.setDescription("Statistics on the current active ITU alarms.") ituAlarmActiveStatsIndeterminateCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsIndeterminateCurrent.setDescription("A count of the current number of active alarms with a\nituAlarmPerceivedSeverity of indeterminate.") ituAlarmActiveStatsCriticalCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsCriticalCurrent.setDescription("A count of the current number of active alarms with a\nituAlarmPerceivedSeverity of critical.") ituAlarmActiveStatsMajorCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsMajorCurrent.setDescription("A count of the current number of active alarms with a\n\n\nituAlarmPerceivedSeverity of major.") ituAlarmActiveStatsMinorCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsMinorCurrent.setDescription("A count of the current number of active alarms with a\nituAlarmPerceivedSeverity of minor.") ituAlarmActiveStatsWarningCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsWarningCurrent.setDescription("A count of the current number of active alarms with a\nituAlarmPerceivedSeverity of warning.") ituAlarmActiveStatsIndeterminates = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 6), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsIndeterminates.setDescription("A count of the total number of active alarms with a\nituAlarmPerceivedSeverity of indeterminate since system\nrestart.") ituAlarmActiveStatsCriticals = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsCriticals.setDescription("A count of the total number of active alarms with a\nituAlarmPerceivedSeverity of critical since system restart.") ituAlarmActiveStatsMajors = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 8), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsMajors.setDescription("A count of the total number of active alarms with a\nituAlarmPerceivedSeverity of major since system restart.") ituAlarmActiveStatsMinors = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 9), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsMinors.setDescription("A count of the total number of active alarms with a\nituAlarmPerceivedSeverity of minor since system restart.") ituAlarmActiveStatsWarnings = MibTableColumn((1, 3, 6, 1, 2, 1, 121, 1, 2, 2, 1, 10), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ituAlarmActiveStatsWarnings.setDescription("A count of the total number of active alarms with a\nituAlarmPerceivedSeverity of warning since system restart.") ituAlarmConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 121, 2)) ituAlarmCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 121, 2, 1)) ituAlarmGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 121, 2, 2)) # Augmentions # Groups ituAlarmGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 121, 2, 2, 1)).setObjects(*(("ITU-ALARM-MIB", "ituAlarmGenericModel"), ("ITU-ALARM-MIB", "ituAlarmEventType"), ("ITU-ALARM-MIB", "ituAlarmProbableCause"), ) ) if mibBuilder.loadTexts: ituAlarmGroup.setDescription("ITU alarm details list group.") ituAlarmServiceUserGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 121, 2, 2, 2)).setObjects(*(("ITU-ALARM-MIB", "ituAlarmActiveTrendIndication"), ("ITU-ALARM-MIB", "ituAlarmAdditionalText"), ) ) if mibBuilder.loadTexts: ituAlarmServiceUserGroup.setDescription("The use of these parameters is a service-user option.") ituAlarmSecurityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 121, 2, 2, 3)).setObjects(*(("ITU-ALARM-MIB", "ituAlarmActiveServiceProvider"), ("ITU-ALARM-MIB", "ituAlarmActiveDetector"), ("ITU-ALARM-MIB", "ituAlarmActiveServiceUser"), ) ) if mibBuilder.loadTexts: ituAlarmSecurityGroup.setDescription("Security Alarm Reporting Function") ituAlarmStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 121, 2, 2, 4)).setObjects(*(("ITU-ALARM-MIB", "ituAlarmActiveStatsCriticals"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsIndeterminateCurrent"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsCriticalCurrent"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsMinorCurrent"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsWarnings"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsMinors"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsMajorCurrent"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsWarningCurrent"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsMajors"), ("ITU-ALARM-MIB", "ituAlarmActiveStatsIndeterminates"), ) ) if mibBuilder.loadTexts: ituAlarmStatisticsGroup.setDescription("ITU Active Alarm Statistics.") # Compliances ituAlarmCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 121, 2, 1, 1)).setObjects(*(("ITU-ALARM-MIB", "ituAlarmStatisticsGroup"), ("ITU-ALARM-MIB", "ituAlarmGroup"), ("ITU-ALARM-MIB", "ituAlarmServiceUserGroup"), ("ITU-ALARM-MIB", "ituAlarmSecurityGroup"), ) ) if mibBuilder.loadTexts: ituAlarmCompliance.setDescription("The compliance statement for systems supporting\nthe ITU Alarm MIB.") # Exports # Module identity mibBuilder.exportSymbols("ITU-ALARM-MIB", PYSNMP_MODULE_ID=ituAlarmMIB) # Objects mibBuilder.exportSymbols("ITU-ALARM-MIB", ituAlarmMIB=ituAlarmMIB, ituAlarmObjects=ituAlarmObjects, ituAlarmModel=ituAlarmModel, ituAlarmTable=ituAlarmTable, ituAlarmEntry=ituAlarmEntry, ituAlarmPerceivedSeverity=ituAlarmPerceivedSeverity, ituAlarmEventType=ituAlarmEventType, ituAlarmProbableCause=ituAlarmProbableCause, ituAlarmAdditionalText=ituAlarmAdditionalText, ituAlarmGenericModel=ituAlarmGenericModel, ituAlarmActive=ituAlarmActive, ituAlarmActiveTable=ituAlarmActiveTable, ituAlarmActiveEntry=ituAlarmActiveEntry, ituAlarmActiveTrendIndication=ituAlarmActiveTrendIndication, ituAlarmActiveDetector=ituAlarmActiveDetector, ituAlarmActiveServiceProvider=ituAlarmActiveServiceProvider, ituAlarmActiveServiceUser=ituAlarmActiveServiceUser, ituAlarmActiveStatsTable=ituAlarmActiveStatsTable, ituAlarmActiveStatsEntry=ituAlarmActiveStatsEntry, ituAlarmActiveStatsIndeterminateCurrent=ituAlarmActiveStatsIndeterminateCurrent, ituAlarmActiveStatsCriticalCurrent=ituAlarmActiveStatsCriticalCurrent, ituAlarmActiveStatsMajorCurrent=ituAlarmActiveStatsMajorCurrent, ituAlarmActiveStatsMinorCurrent=ituAlarmActiveStatsMinorCurrent, ituAlarmActiveStatsWarningCurrent=ituAlarmActiveStatsWarningCurrent, ituAlarmActiveStatsIndeterminates=ituAlarmActiveStatsIndeterminates, ituAlarmActiveStatsCriticals=ituAlarmActiveStatsCriticals, ituAlarmActiveStatsMajors=ituAlarmActiveStatsMajors, ituAlarmActiveStatsMinors=ituAlarmActiveStatsMinors, ituAlarmActiveStatsWarnings=ituAlarmActiveStatsWarnings, ituAlarmConformance=ituAlarmConformance, ituAlarmCompliances=ituAlarmCompliances, ituAlarmGroups=ituAlarmGroups) # Groups mibBuilder.exportSymbols("ITU-ALARM-MIB", ituAlarmGroup=ituAlarmGroup, ituAlarmServiceUserGroup=ituAlarmServiceUserGroup, ituAlarmSecurityGroup=ituAlarmSecurityGroup, ituAlarmStatisticsGroup=ituAlarmStatisticsGroup) # Compliances mibBuilder.exportSymbols("ITU-ALARM-MIB", ituAlarmCompliance=ituAlarmCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IANA-LANGUAGE-MIB.py0000644000014400001440000001064111736645136021330 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IANA-LANGUAGE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:06 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, ModuleIdentity, MibIdentifier, ObjectIdentity, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "TimeTicks", "mib-2") # Objects ianaLanguages = ModuleIdentity((1, 3, 6, 1, 2, 1, 73)).setRevisions(("2000-05-10 00:00","1999-09-09 09:00",)) if mibBuilder.loadTexts: ianaLanguages.setOrganization("IANA") if mibBuilder.loadTexts: ianaLanguages.setContactInfo("Internet Assigned Numbers Authority (IANA)\n\nPostal: ICANN\n 4676 Admiralty Way, Suite 330\n Marina del Rey, CA 90292\n\nTel: +1 310 823 9358 x20\nE-Mail: iana&iana.org") if mibBuilder.loadTexts: ianaLanguages.setDescription("The MIB module registers object identifier values for\nwell-known programming and scripting languages. Every\nlanguage registration MUST describe the format used\nwhen transferring scripts written in this language.\n\nAny additions or changes to the contents of this MIB\nmodule require Designated Expert Review as defined in\nthe Guidelines for Writing IANA Considerations Section\ndocument. The Designated Expert will be selected by\nthe IESG Area Director of the OPS Area.\n\nNote, this module does not have to register all possible\nlanguages since languages are identified by object\nidentifier values. It is therefore possible to registered \nlanguages in private OID trees. The references given below are not\nnormative with regard to the language version. Other\nreferences might be better suited to describe some newer \nversions of this language. The references are only\nprovided as `a pointer into the right direction'.") ianaLangJavaByteCode = ObjectIdentity((1, 3, 6, 1, 2, 1, 73, 1)) if mibBuilder.loadTexts: ianaLangJavaByteCode.setDescription("Java byte code to be processed by a Java virtual machine.\nA script written in Java byte code is transferred by using\nthe Java archive file format (JAR).") ianaLangTcl = ObjectIdentity((1, 3, 6, 1, 2, 1, 73, 2)) if mibBuilder.loadTexts: ianaLangTcl.setDescription("The Tool Command Language (Tcl). A script written in the\nTcl language is transferred in Tcl source code format.") ianaLangPerl = ObjectIdentity((1, 3, 6, 1, 2, 1, 73, 3)) if mibBuilder.loadTexts: ianaLangPerl.setDescription("The Perl language. A script written in the Perl language\nis transferred in Perl source code format.") ianaLangScheme = ObjectIdentity((1, 3, 6, 1, 2, 1, 73, 4)) if mibBuilder.loadTexts: ianaLangScheme.setDescription("The Scheme language. A script written in the Scheme\nlanguage is transferred in Scheme source code format.") ianaLangSRSL = ObjectIdentity((1, 3, 6, 1, 2, 1, 73, 5)) if mibBuilder.loadTexts: ianaLangSRSL.setDescription("The SNMP Script Language defined by SNMP Research. A\nscript written in the SNMP Script Language is transferred\nin the SNMP Script Language source code format.") ianaLangPSL = ObjectIdentity((1, 3, 6, 1, 2, 1, 73, 6)) if mibBuilder.loadTexts: ianaLangPSL.setDescription("The Patrol Script Language defined by BMC Software. A script\nwritten in the Patrol Script Language is transferred in the\nPatrol Script Language source code format.") ianaLangSMSL = ObjectIdentity((1, 3, 6, 1, 2, 1, 73, 7)) if mibBuilder.loadTexts: ianaLangSMSL.setDescription("The Systems Management Scripting Language. A script written\nin the SMSL language is transferred in the SMSL source code\nformat.") # Augmentions # Exports # Module identity mibBuilder.exportSymbols("IANA-LANGUAGE-MIB", PYSNMP_MODULE_ID=ianaLanguages) # Objects mibBuilder.exportSymbols("IANA-LANGUAGE-MIB", ianaLanguages=ianaLanguages, ianaLangJavaByteCode=ianaLangJavaByteCode, ianaLangTcl=ianaLangTcl, ianaLangPerl=ianaLangPerl, ianaLangScheme=ianaLangScheme, ianaLangSRSL=ianaLangSRSL, ianaLangPSL=ianaLangPSL, ianaLangSMSL=ianaLangSMSL) pysnmp-mibs-0.1.3/pysnmp_mibs/SYSAPPL-MIB.py0000644000014400001440000014664011736645140020576 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SYSAPPL-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:41 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "Unsigned32", "mib-2") ( DateAndTime, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TextualConvention") # Types class LongUtf8String(TextualConvention, OctetString): displayHint = "1024a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,1024) class RunState(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(5,1,2,3,4,) namedValues = NamedValues(("running", 1), ("runnable", 2), ("waiting", 3), ("exiting", 4), ("other", 5), ) class Utf8String(TextualConvention, OctetString): displayHint = "255a" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) # Objects sysApplMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 54)).setRevisions(("1997-10-20 00:00",)) if mibBuilder.loadTexts: sysApplMIB.setOrganization("IETF Applications MIB Working Group") if mibBuilder.loadTexts: sysApplMIB.setContactInfo("Cheryl Krupczak (Editor, WG Advisor)\nPostal: Empire Technologies, Inc.\n541 Tenth Street NW\nSuite 169\nAtlanta, GA 30318\nUSA\nPhone: (770) 384-0184\nEmail: cheryl@empiretech.com\n\nJon Saperia (WG Chair)\nPostal: BGS Systems, Inc.\nOne First Avenue\nWaltham, MA 02254-9111\nUSA\nPhone: (617) 891-0000\nEmail: saperia@networks.bgs.com") if mibBuilder.loadTexts: sysApplMIB.setDescription("The MIB module defines management objects that model\napplications as collections of executables and files\ninstalled and executing on a host system. The MIB\npresents a system-level view of applications; i.e.,\nobjects in this MIB are limited to those attributes\nthat can typically be obtained from the system itself\nwithout adding special instrumentation to the applications.") sysApplOBJ = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 1)) sysApplInstalled = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 1, 1)) sysApplInstallPkgTable = MibTable((1, 3, 6, 1, 2, 1, 54, 1, 1, 1)) if mibBuilder.loadTexts: sysApplInstallPkgTable.setDescription("The table listing the software application packages\ninstalled on a host computer. In order to appear in\nthis table, it may be necessary for the application\nto be installed using some type of software\ninstallation mechanism or global registry so that its\nexistence can be detected by the agent implementation.") sysApplInstallPkgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplInstallPkgIndex")) if mibBuilder.loadTexts: sysApplInstallPkgEntry.setDescription("The logical row describing an installed application\npackage.") sysApplInstallPkgIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplInstallPkgIndex.setDescription("An integer used only for indexing purposes.\nGenerally monotonically increasing from 1 as new\napplications are installed.\n\nThe value for each installed application must\nremain constant at least from one re-initialization of\nthe network management entity which implements this\nMIB module to the next re-initialization.\n\nThe specific value is meaningful only within a given SNMP\nentity. A sysApplInstallPkgIndex value must not be re-used\nuntil the next agent entity restart in the event the\ninstalled application entry is deleted.") sysApplInstallPkgManufacturer = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1, 2), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallPkgManufacturer.setDescription("The Manufacturer of the software application package.") sysApplInstallPkgProductName = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1, 3), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallPkgProductName.setDescription("The name assigned to the software application package\nby the Manufacturer.") sysApplInstallPkgVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1, 4), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallPkgVersion.setDescription("The version number assigned to the application package\nby the manufacturer of the software.") sysApplInstallPkgSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1, 5), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallPkgSerialNumber.setDescription("The serial number of the software assigned by the\nmanufacturer.") sysApplInstallPkgDate = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1, 6), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallPkgDate.setDescription("The date and time this software application was installed\non the host.") sysApplInstallPkgLocation = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 1, 1, 7), LongUtf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallPkgLocation.setDescription("The complete path name where the application package\nis installed. For example, the value would be\n'/opt/MyapplDir' if the application package was installed\nin the /opt/MyapplDir directory.") sysApplInstallElmtTable = MibTable((1, 3, 6, 1, 2, 1, 54, 1, 1, 2)) if mibBuilder.loadTexts: sysApplInstallElmtTable.setDescription("This table details the individual application package\nelements (files and executables) which comprise the\napplications defined in the sysApplInstallPkg Table.\nEach entry in this table has an index to the\nsysApplInstallPkg table to identify the application\npackage of which it is a part. As a result, there may\nbe many entries in this table for each instance in the\nsysApplInstallPkg Table.\n\nTable entries are indexed by sysApplInstallPkgIndex,\nsysApplInstallElmtIndex to facilitate retrieval of\nall elements associated with a particular installed\napplication package.") sysApplInstallElmtEntry = MibTableRow((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplInstallPkgIndex"), (0, "SYSAPPL-MIB", "sysApplInstallElmtIndex")) if mibBuilder.loadTexts: sysApplInstallElmtEntry.setDescription("The logical row describing an element of an installed\napplication. The element may be an executable or\nnon-executable file.") sysApplInstallElmtIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplInstallElmtIndex.setDescription("An arbitrary integer used for indexing. The value\nof this index is unique among all rows in this table\nthat exist or have existed since the last agent restart.") sysApplInstallElmtName = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 2), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtName.setDescription("The name of this element which is contained in the\napplication.") sysApplInstallElmtType = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,2,5,3,)).subtype(namedValues=NamedValues(("unknown", 1), ("nonexecutable", 2), ("operatingSystem", 3), ("deviceDriver", 4), ("application", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtType.setDescription("The type of element that is part of the installed\napplication.") sysApplInstallElmtDate = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtDate.setDescription("The date and time that this component was installed on\nthe system.") sysApplInstallElmtPath = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 5), LongUtf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtPath.setDescription("The full directory path where this element is installed.\nFor example, the value would be '/opt/EMPuma/bin' for an\nelement installed in the directory '/opt/EMPuma/bin'.\nMost application packages include information about the\nelements contained in the package. In addition, elements\nare typically installed in sub-directories under the\npackage installation directory. In cases where the\nelement path names are not included in the package\ninformation itself, the path can usually be determined\nby a simple search of the sub-directories. If the\nelement is not installed in that location and there is\nno other information available to the agent implementation,\nthen the path is unknown and null is returned.") sysApplInstallElmtSizeHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtSizeHigh.setDescription("The installed file size in 2^32 byte blocks. This is\nthe size of the file on disk immediately after installation.\n\nFor example, for a file with a total size of 4,294,967,296\nbytes, this variable would have a value of 1; for a file\nwith a total size of 4,294,967,295 bytes this variable\nwould be 0.") sysApplInstallElmtSizeLow = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtSizeLow.setDescription("The installed file size modulo 2^32 bytes. This is\nthe size of the file on disk immediately after installation.\n\nFor example, for a file with a total size of 4,294,967,296\nbytes this variable would have a value of 0; for a file with\na total size of 4,294,967,295 bytes this variable would be\n4,294,967,295.") sysApplInstallElmtRole = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 8), Bits().subtype(namedValues=NamedValues(("executable", 0), ("exclusive", 1), ("primary", 2), ("required", 3), ("dependent", 4), ("unknown", 5), )).clone(("unknown",))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysApplInstallElmtRole.setDescription("An operator assigned value used in the determination of\napplication status. This value is used by the agent to\ndetermine both the mapping of started processes to the\ninitiation of an application, as well as to allow for a\ndetermination of application health. The default value,\nunknown(5), is used when an operator has not yet assigned\none of the other values. If unknown(5) is set, bits\n1 - 4 have no meaning. The possible values are:\n\n executable(0),\n An application may have one or\n more executable elements. The rest of the\n bits have no meaning if the element is not\n executable.\n exclusive(1),\n Only one copy of an exclusive element may be\n running per invocation of the running\n application.\n primary(2),\n The primary executable. An application can\n have one, and only one element that is designated\n as the primary executable. The execution of\n this element constitutes an invocation of\n the application. This is used by the agent\n implementation to determine the initiation of\n an application. The primary executable must\n remain running long enough for the agent\n implementation to detect its presence.\n required(3),\n An application may have zero or more required\n elements. All required elements must be running\n in order for the application to be judged to be\n running and healthy.\n dependent(4),\n An application may have zero or more\n dependent elements. Dependent elements may\n not be running unless required elements are.\n unknown(5)\n Default value for the case when an operator\n has not yet assigned one of the other values.\n When set, bits 1, 2, 3, and 4 have no meaning.\n\n sysApplInstallElmtRole is used by the agent implementation\n in determining the initiation of an application, the\n current state of a running application (see\n sysApplRunCurrentState), when an application invocation is\n no longer running, and the exit status of a terminated\n application invocation (see sysApplPastRunExitState).") sysApplInstallElmtModifyDate = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 9), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtModifyDate.setDescription("The date and time that this element was last modified.\nModification of the sysApplInstallElmtRole columnar\nobject does NOT constitute a modification of the element\nitself and should not affect the value of this object.") sysApplInstallElmtCurSizeHigh = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtCurSizeHigh.setDescription("The current file size in 2^32 byte blocks.\nFor example, for a file with a total size of 4,294,967,296\nbytes, this variable would have a value of 1; for a file\nwith a total size of 4,294,967,295 bytes this variable\nwould be 0.") sysApplInstallElmtCurSizeLow = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 1, 2, 1, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplInstallElmtCurSizeLow.setDescription("The current file size modulo 2^32 bytes.\nFor example, for a file with a total size of 4,294,967,296\nbytes this variable would have a value of 0; for a file with\na total size of 4,294,967,295 bytes this variable would be\n4,294,967,295.") sysApplRun = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 1, 2)) sysApplRunTable = MibTable((1, 3, 6, 1, 2, 1, 54, 1, 2, 1)) if mibBuilder.loadTexts: sysApplRunTable.setDescription("The table describes the applications which are executing\non the host. Each time an application is invoked,\nan entry is created in this table. When an application ends,\nthe entry is removed from this table and a corresponding\n entry is created in the SysApplPastRunTable.\n\nA new entry is created in this table whenever the agent\nimplementation detects a new running process that is an\ninstalled application element whose sysApplInstallElmtRole\ndesignates it as being the application's primary executable\n(sysApplInstallElmtRole = primary(2) ).\n\nThe table is indexed by sysApplInstallPkgIndex,\nsysApplRunIndex to enable managers to easily locate all\ninvocations of a particular application package.") sysApplRunEntry = MibTableRow((1, 3, 6, 1, 2, 1, 54, 1, 2, 1, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplInstallPkgIndex"), (0, "SYSAPPL-MIB", "sysApplRunIndex")) if mibBuilder.loadTexts: sysApplRunEntry.setDescription("The logical row describing an application which is\ncurrently running on this host.") sysApplRunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplRunIndex.setDescription("Part of the index for this table. An arbitrary\ninteger used only for indexing purposes. Generally\nmonotonically increasing from 1 as new applications are\nstarted on the host, it uniquely identifies application\ninvocations.\n\nThe numbering for this index increases by 1 for each\nINVOCATION of an application, regardless of which\ninstalled application package this entry represents a\nrunning instance of.\n\nAn example of the indexing for a couple of entries is\nshown below.\n\n :\n sysApplRunStarted.17.14\n sysApplRunStarted.17.63\n sysApplRunStarted.18.13\n :\n\nIn this example, the agent has observed 12 application\ninvocations when the application represented by entry 18\nin the sysApplInstallPkgTable is invoked. The next\ninvocation detected by the agent is an invocation of\ninstalled application package 17. Some time later,\ninstalled application 17 is invoked a second time.\n\nNOTE: this index is not intended to reflect a real-time\n(wall clock time) ordering of application invocations;\nit is merely intended to uniquely identify running\ninstances of applications. Although the\nsysApplInstallPkgIndex is included in the INDEX clause\nfor this table, it serves only to ease searching of\nthis table by installed application and does not\ncontribute to uniquely identifying table entries.") sysApplRunStarted = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 1, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplRunStarted.setDescription("The date and time that the application was started.") sysApplRunCurrentState = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 1, 1, 3), RunState()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplRunCurrentState.setDescription("The current state of the running application instance.\nThe possible values are running(1), runnable(2) but waiting\nfor a resource such as CPU, waiting(3) for an event,\nexiting(4), or other(5). This value is based on an evaluation\nof the running elements of this application instance (see\nsysApplElmRunState) and their Roles as defined by\nsysApplInstallElmtRole. An agent implementation may\ndetect that an application instance is in the process of\nexiting if one or more of its REQUIRED elements are no\nlonger running. Most agent implementations will wait until\na second internal poll has been completed to give the\nsystem time to start REQUIRED elements before marking the\napplication instance as exiting.") sysApplPastRunTable = MibTable((1, 3, 6, 1, 2, 1, 54, 1, 2, 2)) if mibBuilder.loadTexts: sysApplPastRunTable.setDescription("A history of the applications that have previously run\non the host computer. An entry's information is moved to\nthis table from the sysApplRunTable when the invoked\napplication represented by the entry ceases to be running.\n\nAn agent implementation can determine that an application\ninvocation is no longer running by evaluating the running\nelements of the application instance and their Roles as\ndefined by sysApplInstallElmtRole. Obviously, if there\nare no running elements for the application instance,\nthen the application invocation is no longer running.\nIf any one of the REQUIRED elements is not running,\nthe application instance may be in the process of exiting.\nMost agent implementations will wait until a second internal\npoll has been completed to give the system time to either\nrestart partial failures or to give all elements time to\nexit. If, after the second poll, there are REQUIRED\nelements that are not running, then the application\ninstance may be considered by the agent implementation\nto no longer be running.\n\nEntries remain in the sysApplPastRunTable until they\nare aged out when either the table size reaches a maximum\nas determined by the sysApplPastRunMaxRows, or when an entry\nhas aged to exceed a time limit as set by\nsysApplPastRunTblTimeLimit.\n\nEntries in this table are indexed by sysApplInstallPkgIndex,\nsysApplPastRunIndex to facilitate retrieval of all past\nrun invocations of a particular installed application.") sysApplPastRunEntry = MibTableRow((1, 3, 6, 1, 2, 1, 54, 1, 2, 2, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplInstallPkgIndex"), (0, "SYSAPPL-MIB", "sysApplPastRunIndex")) if mibBuilder.loadTexts: sysApplPastRunEntry.setDescription("The logical row describing an invocation of an application\nwhich was previously run and has terminated. The entry\nis basically copied from the sysApplRunTable when the\napplication instance terminates. Hence, the entry's\nvalue for sysApplPastRunIndex is the same as its value was\nfor sysApplRunIndex.") sysApplPastRunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplPastRunIndex.setDescription("Part of the index for this table. An integer\nmatching the value of the removed sysApplRunIndex\ncorresponding to this row.") sysApplPastRunStarted = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 2, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplPastRunStarted.setDescription("The date and time that the application was started.") sysApplPastRunExitState = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("complete", 1), ("failed", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplPastRunExitState.setDescription("The state of the application instance when it terminated.\nThis value is based on an evaluation of the running elements\nof an application and their Roles as defined by\nsysApplInstallElmtRole. An application instance is said to\nhave exited in a COMPLETE state and its entry is removed\nfrom the sysApplRunTable and added to the sysApplPastRunTable\nwhen the agent detects that ALL elements of an application\ninvocation are no longer running. Most agent implementations\nwill wait until a second internal poll has been completed to\ngive the system time to either restart partial failures or\nto give all elements time to exit. A failed state occurs if,\nafter the second poll, any elements continue to run but\none or more of the REQUIRED elements are no longer running.\nAll other combinations MUST be defined as OTHER.") sysApplPastRunTimeEnded = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplPastRunTimeEnded.setDescription("The DateAndTime the application instance was determined\nto be no longer running.") sysApplElmtRunTable = MibTable((1, 3, 6, 1, 2, 1, 54, 1, 2, 3)) if mibBuilder.loadTexts: sysApplElmtRunTable.setDescription("The table describes the processes which are\ncurrently executing on the host system. Each entry\nrepresents a running process and is associated with\nthe invoked application of which that process is a part, if\npossible. This table contains an entry for every process\ncurrently running on the system, regardless of whether its\n'parent' application can be determined. So, for example,\nprocesses like 'ps' and 'grep' will have entries though they\nare not associated with an installed application package.\n\nBecause a running application may involve\nmore than one executable, it is possible to have\nmultiple entries in this table for each application.\nEntries are removed from this table when the process\nterminates.\nThe table is indexed by sysApplElmtRunInstallPkg,\nsysApplElmtRunInvocID, and sysApplElmtRunIndex to\nfacilitate the retrieval of all running elements of a\nparticular invoked application which has been installed on\nthe system.") sysApplElmtRunEntry = MibTableRow((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplElmtRunInstallPkg"), (0, "SYSAPPL-MIB", "sysApplElmtRunInvocID"), (0, "SYSAPPL-MIB", "sysApplElmtRunIndex")) if mibBuilder.loadTexts: sysApplElmtRunEntry.setDescription("The logical row describing a process currently\nrunning on this host. When possible, the entry is\nassociated with the invoked application of which it\nis a part.") sysApplElmtRunInstallPkg = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplElmtRunInstallPkg.setDescription("Part of the index for this table, this value\nidentifies the installed software package for\nthe application of which this process is a part.\nProvided that the process's 'parent' application can be\ndetermined, the value of this object is the same\nvalue as the sysApplInstallPkgIndex for the\nentry in the sysApplInstallPkgTable that corresponds\nto the installed application of which this process\nis a part.\n\nIf, however, the 'parent' application cannot be\ndetermined, (for example the process is not part\nof a particular installed application), the value\nfor this object is then '0', signifying that this\nprocess cannot be related back to an application,\nand in turn, an installed software package.") sysApplElmtRunInvocID = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplElmtRunInvocID.setDescription("Part of the index for this table, this value\nidentifies the invocation of an application of which\nthis process is a part. Provided that the 'parent'\napplication can be determined, the value of this object\nis the same value as the sysApplRunIndex for the\ncorresponding application invocation in the\nsysApplRunTable.\n\nIf, however, the 'parent' application cannot be\ndetermined, the value for this object is then '0',\nsignifying that this process cannot be related back\nto an invocation of an application in the\nsysApplRunTable.") sysApplElmtRunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplElmtRunIndex.setDescription("Part of the index for this table. A unique value\nfor each process running on the host. Wherever\npossible, this should be the system's native, unique\nidentification number.") sysApplElmtRunInstallID = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunInstallID.setDescription("The index into the sysApplInstallElmtTable. The\nvalue of this object is the same value as the\nsysApplInstallElmtIndex for the application element\nof which this entry represents a running instance.\nIf this process cannot be associated with an installed\nexecutable, the value should be '0'.") sysApplElmtRunTimeStarted = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunTimeStarted.setDescription("The time the process was started.") sysApplElmtRunState = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 6), RunState()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunState.setDescription("The current state of the running process. The\npossible values are running(1), runnable(2) but waiting\nfor a resource such as CPU, waiting(3) for an event,\nexiting(4), or other(5).") sysApplElmtRunName = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 7), LongUtf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunName.setDescription("The full path and filename of the process.\nFor example, '/opt/MYYpkg/bin/myyproc' would\nbe returned for process 'myyproc' whose execution\npath is '/opt/MYYpkg/bin/myyproc'.") sysApplElmtRunParameters = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 8), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunParameters.setDescription("The starting parameters for the process.") sysApplElmtRunCPU = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 9), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunCPU.setDescription("The number of centi-seconds of the total system's\nCPU resources consumed by this process. Note that\non a multi-processor system, this value may\nhave been incremented by more than one centi-second\nin one centi-second of real (wall clock) time.") sysApplElmtRunMemory = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunMemory.setDescription("The total amount of real system memory measured in\nKbytes currently allocated to this process.") sysApplElmtRunNumFiles = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunNumFiles.setDescription("The number of regular files currently open by the\nprocess. Transport connections (sockets)\nshould NOT be included in the calculation of\nthis value, nor should operating system specific\nspecial file types.") sysApplElmtRunUser = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 3, 1, 12), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtRunUser.setDescription("The process owner's login name (e.g. root).") sysApplElmtPastRunTable = MibTable((1, 3, 6, 1, 2, 1, 54, 1, 2, 4)) if mibBuilder.loadTexts: sysApplElmtPastRunTable.setDescription("The table describes the processes which have previously\nexecuted on the host system as part of an application.\nEach entry represents a process which has previously\nexecuted and is associated with the invoked application\nof which it was a part. Because an invoked application\nmay involve more than one executable, it is possible\nto have multiple entries in this table for\neach application invocation. Entries are added\nto this table when the corresponding process in the\nsysApplElmtRun Table terminates.\n\nEntries remain in this table until they are aged out when\neither the number of entries in the table reaches a\nmaximum as determined by sysApplElmtPastRunMaxRows, or\nwhen an entry has aged to exceed a time limit as set by\nsysApplElmtPastRunTblTimeLimit. When aging out entries,\nthe oldest entry, as determined by the value of\nsysApplElmtPastRunTimeEnded, will be removed first.\n\nThe table is indexed by sysApplInstallPkgIndex (from the\nsysApplInstallPkgTable), sysApplElmtPastRunInvocID,\nand sysApplElmtPastRunIndex to make it easy to locate all\npreviously executed processes of a particular invoked\napplication that has been installed on the system.") sysApplElmtPastRunEntry = MibTableRow((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplInstallPkgIndex"), (0, "SYSAPPL-MIB", "sysApplElmtPastRunInvocID"), (0, "SYSAPPL-MIB", "sysApplElmtPastRunIndex")) if mibBuilder.loadTexts: sysApplElmtPastRunEntry.setDescription("The logical row describing a process which was\npreviously executed on this host as part of an\ninstalled application. The entry is basically copied\nfrom the sysApplElmtRunTable when the process\nterminates. Hence, the entry's value for\nsysApplElmtPastRunIndex is the same as its value\nwas for sysApplElmtRunIndex. Note carefully: only those\nprocesses which could be associated with an\nidentified application are included in this table.") sysApplElmtPastRunInvocID = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplElmtPastRunInvocID.setDescription("Part of the index for this table, this value\nidentifies the invocation of an application of which\nthe process represented by this entry was a part.\nThe value of this object is the same value as the\nsysApplRunIndex for the corresponding application\ninvocation in the sysApplRunTable. If the invoked\napplication as a whole has terminated, it will be the\nsame as the sysApplPastRunIndex.") sysApplElmtPastRunIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplElmtPastRunIndex.setDescription("Part of the index for this table. An integer\nassigned by the agent equal to the corresponding\nsysApplElmtRunIndex which was removed from the\nsysApplElmtRunTable and moved to this table\nwhen the element terminated.\n\nNote: entries in this table are indexed by\nsysApplElmtPastRunInvocID, sysApplElmtPastRunIndex.\nThe possibility exists, though unlikely, of a\ncollision occurring by a new entry which was run\nby the same invoked application (InvocID), and\nwas assigned the same process identification number\n(ElmtRunIndex) as an element which was previously\nrun by the same invoked application.\n\nShould this situation occur, the new entry replaces\nthe old entry.\n\nSee Section: 'Implementation Issues -\nsysApplElmtPastRunTable Entry Collisions' for the\nconditions that would have to occur in order for a\ncollision to occur.") sysApplElmtPastRunInstallID = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunInstallID.setDescription("The index into the installed element table. The\nvalue of this object is the same value as the\nsysApplInstallElmtIndex for the application element\nof which this entry represents a previously executed\nprocess.") sysApplElmtPastRunTimeStarted = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunTimeStarted.setDescription("The time the process was started.") sysApplElmtPastRunTimeEnded = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunTimeEnded.setDescription("The time the process ended.") sysApplElmtPastRunName = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 6), LongUtf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunName.setDescription("The full path and filename of the process.\nFor example, '/opt/MYYpkg/bin/myyproc' would\nbe returned for process 'myyproc' whose execution\npath was '/opt/MYYpkg/bin/myyproc'.") sysApplElmtPastRunParameters = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 7), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunParameters.setDescription("The starting parameters for the process.") sysApplElmtPastRunCPU = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunCPU.setDescription("The last known number of centi-seconds of the total\nsystem's CPU resources consumed by this process.\nNote that on a multi-processor system, this value may\nincrement by more than one centi-second in one\ncenti-second of real (wall clock) time.") sysApplElmtPastRunMemory = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunMemory.setDescription("The last known total amount of real system memory\nmeasured in Kbytes allocated to this process before it\nterminated.") sysApplElmtPastRunNumFiles = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunNumFiles.setDescription("The last known number of files open by the\nprocess before it terminated. Transport\nconnections (sockets) should NOT be included in\nthe calculation of this value.") sysApplElmtPastRunUser = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 2, 4, 1, 11), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElmtPastRunUser.setDescription("The process owner's login name (e.g. root).") sysApplPastRunMaxRows = MibScalar((1, 3, 6, 1, 2, 1, 54, 1, 2, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 134979928)).clone(500)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysApplPastRunMaxRows.setDescription("The maximum number of entries allowed in the\nsysApplPastRunTable. Once the number of rows in\nthe sysApplPastRunTable reaches this value, the\nmanagement subsystem will remove the oldest entry\nin the table to make room for the new entry to be added.\nEntries will be removed on the basis of oldest\nsysApplPastRunTimeEnded value first.\n\nThis object may be used to control the amount of\nsystem resources that can used for sysApplPastRunTable\nentries. A conforming implementation should attempt\nto support the default value, however, a lesser value\nmay be necessary due to implementation-dependent issues\nand resource availability.") sysApplPastRunTableRemItems = MibScalar((1, 3, 6, 1, 2, 1, 54, 1, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplPastRunTableRemItems.setDescription("A counter of the number of entries removed from\nthe sysApplPastRunTable because of table size limitations\nas set in sysApplPastRunMaxRows. This counter is the\nnumber of entries the management subsystem has had to\nremove in order to make room for new entries (so as not\nto exceed the limit set by sysApplPastRunMaxRows) since\nthe last initialization of the management subsystem.") sysApplPastRunTblTimeLimit = MibScalar((1, 3, 6, 1, 2, 1, 54, 1, 2, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(7200)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: sysApplPastRunTblTimeLimit.setDescription("The maximum time in seconds which an entry in the\nsysApplPastRunTable may exist before it is removed.\nAny entry that is older than this value will be\nremoved (aged out) from the table.\n\nNote that an entry may be aged out prior to reaching\nthis time limit if it is the oldest entry in the\ntable and must be removed to make space for a new\nentry so as to not exceed sysApplPastRunMaxRows.") sysApplElemPastRunMaxRows = MibScalar((1, 3, 6, 1, 2, 1, 54, 1, 2, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(500)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysApplElemPastRunMaxRows.setDescription("The maximum number of entries allowed in the\nsysApplElmtPastRunTable. Once the number of rows in\nthe sysApplElmtPastRunTable reaches this value,\nthe management subsystem will remove the oldest entry\nto make room for the new entry to be added. Entries\nwill be removed on the basis of oldest\nsysApplElmtPastRunTimeEnded value first.\nThis object may be used to control the amount of\nsystem resources that can used for sysApplElemPastRunTable\nentries. A conforming implementation should attempt\nto support the default value, however, a lesser value\nmay be necessary due to implementation-dependent issues\nand resource availability.") sysApplElemPastRunTableRemItems = MibScalar((1, 3, 6, 1, 2, 1, 54, 1, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplElemPastRunTableRemItems.setDescription("A counter of the number of entries removed from the\nsysApplElemPastRunTable because of table size limitations\nas set in sysApplElemPastRunMaxRows. This counter is the\nnumber of entries the management subsystem has had to\nremove in order to make room for new entries (so as not\nto exceed the limit set by sysApplElemPastRunMaxRows) since\nthe last initialization of the management subsystem.") sysApplElemPastRunTblTimeLimit = MibScalar((1, 3, 6, 1, 2, 1, 54, 1, 2, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(7200)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: sysApplElemPastRunTblTimeLimit.setDescription("The maximum time in seconds which an entry in the\nsysApplElemPastRunTable may exist before it is removed.\nAny entry that is older than this value will be\nremoved (aged out) from the table.\n\nNote that an entry may be aged out prior to reaching\nthis time limit if it is the oldest entry in the\ntable and must be removed to make space for a new\nentry so as to not exceed sysApplElemPastRunMaxRows.") sysApplAgentPollInterval = MibScalar((1, 3, 6, 1, 2, 1, 54, 1, 2, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(60)).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: sysApplAgentPollInterval.setDescription("The minimum interval in seconds that the management\nsubsystem implementing this MIB will poll the status\nof the managed resources. Because of the non-trivial\neffort involved in polling the managed resources,\nand because the method for obtaining the status of\nthe managed resources is implementation-dependent,\na conformant implementation may chose a lower bound\ngreater than 0.\n\nA value of 0 indicates that there is no delay\nin the passing of information from the managed\nresources to the agent.") sysApplMap = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 1, 3)) sysApplMapTable = MibTable((1, 3, 6, 1, 2, 1, 54, 1, 3, 1)) if mibBuilder.loadTexts: sysApplMapTable.setDescription("The sole purpose of this table is to provide a\n'backwards' mapping so that, given a known\nsysApplElmtRunIndex (process identification number),\nthe corresponding invoked application (sysApplRunIndex),\ninstalled element (sysApplInstallElmtIndex), and\ninstalled application package (sysApplInstallPkgIndex)\ncan be quickly determined.\n\nThis table will contain one entry for each process\nthat is currently executing on the system.\n\nIt is expected that management applications will use\nthis mapping table by doing a 'GetNext' operation with\nthe known process ID number (sysApplElmtRunIndex) as the\npartial instance identifier. Assuming that there is an\nentry for the process, the result should return a single\ncolumnar value, the sysApplMapInstallPkgIndex, with the\nsysApplElmtRunIndex, sysApplRunIndex, and\nsysApplInstallElmtIndex contained in the instance identifier\nfor the returned MIB object value.\n\nNOTE: if the process can not be associated back to an\ninvoked application installed on the system, then the\nvalue returned for the columnar value\nsysApplMapInstallPkgIndex will be '0' and the instance\nportion of the object-identifier will be the process ID\nnumber (sysApplElmtRunIndex) followed by 0.0.") sysApplMapEntry = MibTableRow((1, 3, 6, 1, 2, 1, 54, 1, 3, 1, 1)).setIndexNames((0, "SYSAPPL-MIB", "sysApplElmtRunIndex"), (0, "SYSAPPL-MIB", "sysApplElmtRunInvocID"), (0, "SYSAPPL-MIB", "sysApplMapInstallElmtIndex")) if mibBuilder.loadTexts: sysApplMapEntry.setDescription("A logical row representing a process currently running\non the system. This entry provides the index mapping from\nprocess identifier, back to the invoked application,\ninstalled element, and finally, the installed application\npackage. The entry includes only one accessible columnar\nobject, the sysApplMapInstallPkgIndex, but the\ninvoked application and installed element can be\ndetermined from the instance identifier since they form\npart of the index clause.") sysApplMapInstallElmtIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: sysApplMapInstallElmtIndex.setDescription("The index into the sysApplInstallElmtTable. The\nvalue of this object is the same value as the\nsysApplInstallElmtIndex for the application element\nof which this entry represents a running instance.\nIf this process cannot be associated to an installed\nexecutable, the value should be '0'.") sysApplMapInstallPkgIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 54, 1, 3, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysApplMapInstallPkgIndex.setDescription("The value of this object identifies the installed\nsoftware package for the application of which this\nprocess is a part. Provided that the process's 'parent'\napplication can be determined, the value of this object\nis the same value as the sysApplInstallPkgIndex for the\nentry in the sysApplInstallPkgTable that corresponds\nto the installed application of which this process\nis a part.\n\nIf, however, the 'parent' application cannot be\ndetermined, (for example the process is not part\nof a particular installed application), the value\nfor this object is then '0', signifying that this\nprocess cannot be related back to an application,\nand in turn, an installed software package.") sysApplNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 2)) sysApplConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 3)) sysApplMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 3, 1)) sysApplMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 54, 3, 2)) # Augmentions # Groups sysApplInstalledGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 54, 3, 2, 1)).setObjects(*(("SYSAPPL-MIB", "sysApplInstallElmtSizeHigh"), ("SYSAPPL-MIB", "sysApplInstallPkgSerialNumber"), ("SYSAPPL-MIB", "sysApplInstallElmtSizeLow"), ("SYSAPPL-MIB", "sysApplInstallElmtRole"), ("SYSAPPL-MIB", "sysApplInstallElmtCurSizeHigh"), ("SYSAPPL-MIB", "sysApplInstallPkgProductName"), ("SYSAPPL-MIB", "sysApplInstallPkgManufacturer"), ("SYSAPPL-MIB", "sysApplInstallElmtType"), ("SYSAPPL-MIB", "sysApplInstallPkgDate"), ("SYSAPPL-MIB", "sysApplInstallElmtPath"), ("SYSAPPL-MIB", "sysApplInstallElmtDate"), ("SYSAPPL-MIB", "sysApplInstallPkgLocation"), ("SYSAPPL-MIB", "sysApplInstallElmtName"), ("SYSAPPL-MIB", "sysApplInstallPkgVersion"), ("SYSAPPL-MIB", "sysApplInstallElmtCurSizeLow"), ("SYSAPPL-MIB", "sysApplInstallElmtModifyDate"), ) ) if mibBuilder.loadTexts: sysApplInstalledGroup.setDescription("The system application installed group contains\ninformation about applications and their constituent\ncomponents which have been installed on the host system.") sysApplRunGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 54, 3, 2, 2)).setObjects(*(("SYSAPPL-MIB", "sysApplElmtRunInstallID"), ("SYSAPPL-MIB", "sysApplPastRunExitState"), ("SYSAPPL-MIB", "sysApplElmtPastRunUser"), ("SYSAPPL-MIB", "sysApplElmtPastRunMemory"), ("SYSAPPL-MIB", "sysApplElmtRunName"), ("SYSAPPL-MIB", "sysApplAgentPollInterval"), ("SYSAPPL-MIB", "sysApplElmtRunState"), ("SYSAPPL-MIB", "sysApplElmtPastRunName"), ("SYSAPPL-MIB", "sysApplElmtPastRunCPU"), ("SYSAPPL-MIB", "sysApplRunCurrentState"), ("SYSAPPL-MIB", "sysApplElmtPastRunTimeStarted"), ("SYSAPPL-MIB", "sysApplElmtPastRunParameters"), ("SYSAPPL-MIB", "sysApplElemPastRunMaxRows"), ("SYSAPPL-MIB", "sysApplPastRunStarted"), ("SYSAPPL-MIB", "sysApplPastRunMaxRows"), ("SYSAPPL-MIB", "sysApplElmtPastRunInstallID"), ("SYSAPPL-MIB", "sysApplPastRunTblTimeLimit"), ("SYSAPPL-MIB", "sysApplPastRunTableRemItems"), ("SYSAPPL-MIB", "sysApplElmtRunNumFiles"), ("SYSAPPL-MIB", "sysApplRunStarted"), ("SYSAPPL-MIB", "sysApplElmtPastRunTimeEnded"), ("SYSAPPL-MIB", "sysApplPastRunTimeEnded"), ("SYSAPPL-MIB", "sysApplElmtRunUser"), ("SYSAPPL-MIB", "sysApplElmtRunMemory"), ("SYSAPPL-MIB", "sysApplElmtRunParameters"), ("SYSAPPL-MIB", "sysApplElmtPastRunNumFiles"), ("SYSAPPL-MIB", "sysApplElemPastRunTblTimeLimit"), ("SYSAPPL-MIB", "sysApplElmtRunCPU"), ("SYSAPPL-MIB", "sysApplElemPastRunTableRemItems"), ("SYSAPPL-MIB", "sysApplElmtRunTimeStarted"), ) ) if mibBuilder.loadTexts: sysApplRunGroup.setDescription("The system application run group contains information\nabout applications and associated elements which have\nrun or are currently running on the host system.") sysApplMapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 54, 3, 2, 3)).setObjects(*(("SYSAPPL-MIB", "sysApplMapInstallPkgIndex"), ) ) if mibBuilder.loadTexts: sysApplMapGroup.setDescription("The Map Group contains a single table, sysApplMapTable,\nthat provides a backwards mapping for determining the\ninvoked application, installed element, and installed\napplication package given a known process identification\nnumber.") # Compliances sysApplMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 54, 3, 1, 1)).setObjects(*(("SYSAPPL-MIB", "sysApplMapGroup"), ("SYSAPPL-MIB", "sysApplInstalledGroup"), ("SYSAPPL-MIB", "sysApplRunGroup"), ) ) if mibBuilder.loadTexts: sysApplMIBCompliance.setDescription("Describes the requirements for conformance to\nthe System Application MIB") # Exports # Module identity mibBuilder.exportSymbols("SYSAPPL-MIB", PYSNMP_MODULE_ID=sysApplMIB) # Types mibBuilder.exportSymbols("SYSAPPL-MIB", LongUtf8String=LongUtf8String, RunState=RunState, Utf8String=Utf8String) # Objects mibBuilder.exportSymbols("SYSAPPL-MIB", sysApplMIB=sysApplMIB, sysApplOBJ=sysApplOBJ, sysApplInstalled=sysApplInstalled, sysApplInstallPkgTable=sysApplInstallPkgTable, sysApplInstallPkgEntry=sysApplInstallPkgEntry, sysApplInstallPkgIndex=sysApplInstallPkgIndex, sysApplInstallPkgManufacturer=sysApplInstallPkgManufacturer, sysApplInstallPkgProductName=sysApplInstallPkgProductName, sysApplInstallPkgVersion=sysApplInstallPkgVersion, sysApplInstallPkgSerialNumber=sysApplInstallPkgSerialNumber, sysApplInstallPkgDate=sysApplInstallPkgDate, sysApplInstallPkgLocation=sysApplInstallPkgLocation, sysApplInstallElmtTable=sysApplInstallElmtTable, sysApplInstallElmtEntry=sysApplInstallElmtEntry, sysApplInstallElmtIndex=sysApplInstallElmtIndex, sysApplInstallElmtName=sysApplInstallElmtName, sysApplInstallElmtType=sysApplInstallElmtType, sysApplInstallElmtDate=sysApplInstallElmtDate, sysApplInstallElmtPath=sysApplInstallElmtPath, sysApplInstallElmtSizeHigh=sysApplInstallElmtSizeHigh, sysApplInstallElmtSizeLow=sysApplInstallElmtSizeLow, sysApplInstallElmtRole=sysApplInstallElmtRole, sysApplInstallElmtModifyDate=sysApplInstallElmtModifyDate, sysApplInstallElmtCurSizeHigh=sysApplInstallElmtCurSizeHigh, sysApplInstallElmtCurSizeLow=sysApplInstallElmtCurSizeLow, sysApplRun=sysApplRun, sysApplRunTable=sysApplRunTable, sysApplRunEntry=sysApplRunEntry, sysApplRunIndex=sysApplRunIndex, sysApplRunStarted=sysApplRunStarted, sysApplRunCurrentState=sysApplRunCurrentState, sysApplPastRunTable=sysApplPastRunTable, sysApplPastRunEntry=sysApplPastRunEntry, sysApplPastRunIndex=sysApplPastRunIndex, sysApplPastRunStarted=sysApplPastRunStarted, sysApplPastRunExitState=sysApplPastRunExitState, sysApplPastRunTimeEnded=sysApplPastRunTimeEnded, sysApplElmtRunTable=sysApplElmtRunTable, sysApplElmtRunEntry=sysApplElmtRunEntry, sysApplElmtRunInstallPkg=sysApplElmtRunInstallPkg, sysApplElmtRunInvocID=sysApplElmtRunInvocID, sysApplElmtRunIndex=sysApplElmtRunIndex, sysApplElmtRunInstallID=sysApplElmtRunInstallID, sysApplElmtRunTimeStarted=sysApplElmtRunTimeStarted, sysApplElmtRunState=sysApplElmtRunState, sysApplElmtRunName=sysApplElmtRunName, sysApplElmtRunParameters=sysApplElmtRunParameters, sysApplElmtRunCPU=sysApplElmtRunCPU, sysApplElmtRunMemory=sysApplElmtRunMemory, sysApplElmtRunNumFiles=sysApplElmtRunNumFiles, sysApplElmtRunUser=sysApplElmtRunUser, sysApplElmtPastRunTable=sysApplElmtPastRunTable, sysApplElmtPastRunEntry=sysApplElmtPastRunEntry, sysApplElmtPastRunInvocID=sysApplElmtPastRunInvocID, sysApplElmtPastRunIndex=sysApplElmtPastRunIndex, sysApplElmtPastRunInstallID=sysApplElmtPastRunInstallID, sysApplElmtPastRunTimeStarted=sysApplElmtPastRunTimeStarted, sysApplElmtPastRunTimeEnded=sysApplElmtPastRunTimeEnded, sysApplElmtPastRunName=sysApplElmtPastRunName, sysApplElmtPastRunParameters=sysApplElmtPastRunParameters, sysApplElmtPastRunCPU=sysApplElmtPastRunCPU, sysApplElmtPastRunMemory=sysApplElmtPastRunMemory, sysApplElmtPastRunNumFiles=sysApplElmtPastRunNumFiles, sysApplElmtPastRunUser=sysApplElmtPastRunUser, sysApplPastRunMaxRows=sysApplPastRunMaxRows, sysApplPastRunTableRemItems=sysApplPastRunTableRemItems, sysApplPastRunTblTimeLimit=sysApplPastRunTblTimeLimit, sysApplElemPastRunMaxRows=sysApplElemPastRunMaxRows, sysApplElemPastRunTableRemItems=sysApplElemPastRunTableRemItems, sysApplElemPastRunTblTimeLimit=sysApplElemPastRunTblTimeLimit, sysApplAgentPollInterval=sysApplAgentPollInterval, sysApplMap=sysApplMap, sysApplMapTable=sysApplMapTable, sysApplMapEntry=sysApplMapEntry, sysApplMapInstallElmtIndex=sysApplMapInstallElmtIndex, sysApplMapInstallPkgIndex=sysApplMapInstallPkgIndex, sysApplNotifications=sysApplNotifications, sysApplConformance=sysApplConformance, sysApplMIBCompliances=sysApplMIBCompliances, sysApplMIBGroups=sysApplMIBGroups) # Groups mibBuilder.exportSymbols("SYSAPPL-MIB", sysApplInstalledGroup=sysApplInstalledGroup, sysApplRunGroup=sysApplRunGroup, sysApplMapGroup=sysApplMapGroup) # Compliances mibBuilder.exportSymbols("SYSAPPL-MIB", sysApplMIBCompliance=sysApplMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MTA-MIB.py0000644000014400001440000012201711736645137020062 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MTA-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:22 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( URLString, applIndex, ) = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "URLString", "applIndex") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( TimeInterval, ) = mibBuilder.importSymbols("SNMPv2-TC", "TimeInterval") # Objects mta = ModuleIdentity((1, 3, 6, 1, 2, 1, 28)).setRevisions(("2000-03-03 00:00","1999-05-12 00:00","1997-08-17 00:00","1993-11-28 00:00",)) if mibBuilder.loadTexts: mta.setOrganization("IETF Mail and Directory Management Working Group") if mibBuilder.loadTexts: mta.setContactInfo(" Ned Freed\n\nPostal: Innosoft International, Inc.\n 1050 Lakes Drive\n West Covina, CA 91790\n US\n\nTel: +1 626 919 3600\nFax: +1 626 919 3614\n\nE-Mail: ned.freed@innosoft.com") if mibBuilder.loadTexts: mta.setDescription("The MIB module describing Message Transfer Agents (MTAs)") mtaTable = MibTable((1, 3, 6, 1, 2, 1, 28, 1)) if mibBuilder.loadTexts: mtaTable.setDescription("The table holding information specific to an MTA.") mtaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 28, 1, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: mtaEntry.setDescription("The entry associated with each MTA.") mtaReceivedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaReceivedMessages.setDescription("The number of messages received since MTA initialization.\nThis includes messages transmitted to this MTA from other\nMTAs as well as messages that have been submitted to the\nMTA directly by end-users or applications.") mtaStoredMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaStoredMessages.setDescription("The total number of messages currently stored in the MTA.\nThis includes messages that are awaiting transmission to\nsome other MTA or are waiting for delivery to an end-user\nor application.") mtaTransmittedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaTransmittedMessages.setDescription("The number of messages transmitted since MTA initialization.\nThis includes messages that were transmitted to some other\nMTA or are waiting for delivery to an end-user or\napplication.") mtaReceivedVolume = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaReceivedVolume.setDescription("The total volume of messages received since MTA\ninitialization, measured in kilo-octets. This volume should\ninclude all transferred data that is logically above the mail\ntransport protocol level. For example, an SMTP-based MTA\nshould use the number of kilo-octets in the message header\nand body, while an X.400-based MTA should use the number of\nkilo-octets of P2 data. This includes messages transmitted\nto this MTA from other MTAs as well as messages that have\nbeen submitted to the MTA directly by end-users or\napplications.") mtaStoredVolume = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaStoredVolume.setDescription("The total volume of messages currently stored in the MTA,\nmeasured in kilo-octets. This volume should include all\nstored data that is logically above the mail transport\nprotocol level. For example, an SMTP-based MTA should\nuse the number of kilo-octets in the message header and\nbody, while an X.400-based MTA would use the number of\nkilo-octets of P2 data. This includes messages that are\nawaiting transmission to some other MTA or are waiting\nfor delivery to an end-user or application.") mtaTransmittedVolume = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaTransmittedVolume.setDescription("The total volume of messages transmitted since MTA\ninitialization, measured in kilo-octets. This volume should\ninclude all transferred data that is logically above the mail\ntransport protocol level. For example, an SMTP-based MTA\nshould use the number of kilo-octets in the message header\nand body, while an X.400-based MTA should use the number of\nkilo-octets of P2 data. This includes messages that were\ntransmitted to some other MTA or are waiting for delivery\nto an end-user or application.") mtaReceivedRecipients = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaReceivedRecipients.setDescription("The total number of recipients specified in all messages\nreceived since MTA initialization. Recipients this MTA\nhas no responsibility for, i.e. inactive envelope\nrecipients or ones referred to in message headers,\nshould not be counted even if information about such\nrecipients is available. This includes messages\ntransmitted to this MTA from other MTAs as well as\nmessages that have been submitted to the MTA directly\nby end-users or applications.") mtaStoredRecipients = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaStoredRecipients.setDescription("The total number of recipients specified in all messages\ncurrently stored in the MTA. Recipients this MTA has no\nresponsibility for, i.e. inactive envelope recipients or\nones referred to in message headers, should not be\ncounted. This includes messages that are awaiting\ntransmission to some other MTA or are waiting for\ndelivery to an end-user or application.") mtaTransmittedRecipients = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaTransmittedRecipients.setDescription("The total number of recipients specified in all messages\ntransmitted since MTA initialization. Recipients this\nMTA had no responsibility for, i.e. inactive envelope\nrecipients or ones referred to in message headers,\nshould not be counted. This includes messages that were\ntransmitted to some other MTA or are waiting for\ndelivery to an end-user or application.") mtaSuccessfulConvertedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaSuccessfulConvertedMessages.setDescription("The number of messages that have been successfully\nconverted from one form to another since MTA\ninitialization.") mtaFailedConvertedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaFailedConvertedMessages.setDescription("The number of messages for which an unsuccessful\nattempt was made to convert them from one form to\nanother since MTA initialization.") mtaLoopsDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaLoopsDetected.setDescription("A message loop is defined as a situation where the MTA\ndecides that a given message will never be delivered to\none or more recipients and instead will continue to\nloop endlessly through one or more MTAs. This variable\ncounts the number of times the MTA has detected such a\nsituation since MTA initialization. Note that the\nmechanism MTAs use to detect loops (e.g., trace field\ncounting, count of references to this MTA in a trace\nfield, examination of DNS or other directory information,\netc.), the level at which loops are detected (e.g., per\nmessage, per recipient, per directory entry, etc.), and\nthe handling of a loop once it is detected (e.g., looping\nmessages are held, looping messages are bounced or sent\nto the postmaster, messages that the MTA knows will loop\nwon't be accepted, etc.) vary widely from one MTA to the\nnext and cannot be inferred from this variable.") mtaGroupTable = MibTable((1, 3, 6, 1, 2, 1, 28, 2)) if mibBuilder.loadTexts: mtaGroupTable.setDescription("The table holding information specific to each MTA group.") mtaGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 28, 2, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "MTA-MIB", "mtaGroupIndex")) if mibBuilder.loadTexts: mtaGroupEntry.setDescription("The entry associated with each MTA group.") mtaGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mtaGroupIndex.setDescription("The index associated with a group for a given MTA.") mtaGroupReceivedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupReceivedMessages.setDescription("The number of messages received to this group since\ngroup creation.") mtaGroupRejectedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupRejectedMessages.setDescription("The number of messages rejected by this group since\ngroup creation.") mtaGroupStoredMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupStoredMessages.setDescription("The total number of messages currently stored in this\ngroup's queue.") mtaGroupTransmittedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupTransmittedMessages.setDescription("The number of messages transmitted by this group since\ngroup creation.") mtaGroupReceivedVolume = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupReceivedVolume.setDescription("The total volume of messages received to this group since\ngroup creation, measured in kilo-octets. This volume\nshould include all transferred data that is logically above\nthe mail transport protocol level. For example, an\nSMTP-based MTA should use the number of kilo-octets in the\nmessage header and body, while an X.400-based MTA should use\nthe number of kilo-octets of P2 data.") mtaGroupStoredVolume = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupStoredVolume.setDescription("The total volume of messages currently stored in this\ngroup's queue, measured in kilo-octets. This volume should\ninclude all stored data that is logically above the mail\ntransport protocol level. For example, an SMTP-based\nMTA should use the number of kilo-octets in the message\nheader and body, while an X.400-based MTA would use the\nnumber of kilo-octets of P2 data.") mtaGroupTransmittedVolume = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupTransmittedVolume.setDescription("The total volume of messages transmitted by this group\nsince group creation, measured in kilo-octets. This\nvolume should include all transferred data that is logically\nabove the mail transport protocol level. For example, an\nSMTP-based MTA should use the number of kilo-octets in the\nmessage header and body, while an X.400-based MTA should use\nthe number of kilo-octets of P2 data.") mtaGroupReceivedRecipients = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupReceivedRecipients.setDescription("The total number of recipients specified in all messages\nreceived to this group since group creation.\nRecipients this MTA has no responsibility for should not\nbe counted.") mtaGroupStoredRecipients = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupStoredRecipients.setDescription("The total number of recipients specified in all messages\ncurrently stored in this group's queue. Recipients this\nMTA has no responsibility for should not be counted.") mtaGroupTransmittedRecipients = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupTransmittedRecipients.setDescription("The total number of recipients specified in all messages\ntransmitted by this group since group creation.\nRecipients this MTA had no responsibility for should not\nbe counted.") mtaGroupOldestMessageStored = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 12), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupOldestMessageStored.setDescription("Time since the oldest message in this group's queue was\nplaced in the queue.") mtaGroupInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupInboundAssociations.setDescription("The number of current associations to the group, where the\ngroup is the responder.") mtaGroupOutboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 14), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupOutboundAssociations.setDescription("The number of current associations to the group, where the\ngroup is the initiator.") mtaGroupAccumulatedInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupAccumulatedInboundAssociations.setDescription("The total number of associations to the group since\ngroup creation, where the MTA was the responder.") mtaGroupAccumulatedOutboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupAccumulatedOutboundAssociations.setDescription("The total number of associations from the group since\ngroup creation, where the MTA was the initiator.") mtaGroupLastInboundActivity = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 17), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupLastInboundActivity.setDescription("Time since the last time that this group had an active\ninbound association for purposes of message reception.") mtaGroupLastOutboundActivity = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 18), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupLastOutboundActivity.setDescription("Time since the last time that this group had a\nsuccessful outbound association for purposes of\nmessage delivery.") mtaGroupRejectedInboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupRejectedInboundAssociations.setDescription("The total number of inbound associations the group has\nrejected, since group creation. Rejected associations\nare not counted in the accumulated association totals.") mtaGroupFailedOutboundAssociations = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupFailedOutboundAssociations.setDescription("The total number associations where the group was the\ninitiator and association establishment has failed,\nsince group creation. Failed associations are\nnot counted in the accumulated association totals.") mtaGroupInboundRejectionReason = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 21), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupInboundRejectionReason.setDescription("The failure reason, if any, for the last association this\ngroup refused to respond to. If no association attempt\nhas been made since the MTA was initialized the value\nshould be 'never'.") mtaGroupOutboundConnectFailureReason = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 22), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupOutboundConnectFailureReason.setDescription("The failure reason, if any, for the last association attempt\nthis group initiated. If no association attempt has been\nmade since the MTA was initialized the value should be\n'never'.") mtaGroupScheduledRetry = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 23), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupScheduledRetry.setDescription("The amount of time until this group is next scheduled to\nattempt to make an association.") mtaGroupMailProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 24), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupMailProtocol.setDescription("An identification of the protocol being used by this group.\nFor an group employing OSI protocols, this will be the\nApplication Context. For Internet applications, OID\nvalues of the form {applTCPProtoID port} or {applUDPProtoID\nport} are used for TCP-based and UDP-based protocols,\nrespectively. In either case 'port' corresponds to the\nprimary port number being used by the protocol. The\nusual IANA procedures may be used to register ports for\nnew protocols. applTCPProtoID and applUDPProtoID are\ndefined in the NETWORK-SERVICES-MIB, RFC 2788.") mtaGroupName = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 25), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupName.setDescription("A descriptive name for the group. If this group connects to\na single remote MTA this should be the name of that MTA. If\nthis in turn is an Internet MTA this should be the domain\nname. For an OSI MTA it should be the string encoded\ndistinguished name of the managed object using the format\ndefined in RFC 2253. For X.400(1984) MTAs which do not\nhave a Distinguished Name, the RFC 2156 syntax\n'mta in globalid' used in X400-Received: fields can be\nused.") mtaGroupSuccessfulConvertedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupSuccessfulConvertedMessages.setDescription("The number of messages that have been successfully\nconverted from one form to another in this group\nsince group creation.") mtaGroupFailedConvertedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupFailedConvertedMessages.setDescription("The number of messages for which an unsuccessful\nattempt was made to convert them from one form to\nanother in this group since group creation.") mtaGroupDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 28), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupDescription.setDescription("A description of the group's purpose. This information is\nintended to identify the group in a status display.") mtaGroupURL = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 29), URLString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupURL.setDescription("A URL pointing to a description of the group. This\ninformation is intended to identify and briefly describe\nthe group in a status display.") mtaGroupCreationTime = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 30), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupCreationTime.setDescription("Time since this group was first created.") mtaGroupHierarchy = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupHierarchy.setDescription("Describes how this group fits into the hierarchy. A\npositive value is interpreted as an mtaGroupIndex\nvalue for some other group whose variables include\nthose of this group (and usually others). A negative\nvalue is interpreted as a group collection code: Groups\nwith common negative hierarchy values comprise one\nparticular breakdown of MTA activity as a whole. A\nzero value means that this MIB implementation doesn't\nimplement hierarchy indicators and thus the overall\ngroup hierarchy cannot be determined.") mtaGroupOldestMessageId = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 32), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupOldestMessageId.setDescription("Message ID of the oldest message in the group's queue.\nWhenever possible this should be in the form of an\nRFC 822 msg-id; X.400 may convert X.400 message\nidentifiers to this form by following the rules laid\nout in RFC2156.") mtaGroupLoopsDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupLoopsDetected.setDescription("A message loop is defined as a situation where the MTA\ndecides that a given message will never be delivered to\none or more recipients and instead will continue to\nloop endlessly through one or more MTAs. This variable\ncounts the number of times the MTA has detected such a\nsituation in conjunction with something associated with\nthis group since group creation. Note that the\nmechanism MTAs use to detect loops (e.g., trace field\ncounting, count of references to this MTA in a trace\nfield, examination of DNS or other directory information,\netc.), the level at which loops are detected (e.g., per\nmessage, per recipient, per directory entry, etc.), and\nthe handling of a loop once it is detected (e.g., looping\nmessages are held, looping messages are bounced or sent\nto the postmaster, messages that the MTA knows will loop\nwon't be accepted, etc.) vary widely from one MTA to the\nnext and cannot be inferred from this variable.") mtaGroupLastOutboundAssociationAttempt = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 34), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupLastOutboundAssociationAttempt.setDescription("Time since the last time that this group attempted\nto make an outbound association for purposes of\nmessage delivery.") mtaGroupAssociationTable = MibTable((1, 3, 6, 1, 2, 1, 28, 3)) if mibBuilder.loadTexts: mtaGroupAssociationTable.setDescription("The table holding information regarding the associations\nfor each MTA group.") mtaGroupAssociationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 28, 3, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "MTA-MIB", "mtaGroupIndex"), (0, "MTA-MIB", "mtaGroupAssociationIndex")) if mibBuilder.loadTexts: mtaGroupAssociationEntry.setDescription("The entry holding information regarding the associations\nfor each MTA group.") mtaGroupAssociationIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupAssociationIndex.setDescription("Reference into association table to allow correlation of\nthis group's active associations with the association table.") mtaConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 28, 4)) mtaGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 28, 4, 1)) mtaCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 28, 4, 2)) mtaGroupErrorTable = MibTable((1, 3, 6, 1, 2, 1, 28, 5)) if mibBuilder.loadTexts: mtaGroupErrorTable.setDescription("The table holding information regarding accumulated errors\nfor each MTA group.") mtaGroupErrorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 28, 5, 1)).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "MTA-MIB", "mtaGroupIndex"), (0, "MTA-MIB", "mtaStatusCode")) if mibBuilder.loadTexts: mtaGroupErrorEntry.setDescription("The entry holding information regarding accumulated\nerrors for each MTA group.") mtaGroupInboundErrorCount = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 5, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupInboundErrorCount.setDescription("Count of the number of errors of a given type that have\nbeen accumulated in association with a particular group\nwhile processing incoming messages. In the case of SMTP\nthese will typically be errors reporting by an SMTP\nserver to the remote client; in the case of X.400\nthese will typically be errors encountered while\nprocessing an incoming message.") mtaGroupInternalErrorCount = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupInternalErrorCount.setDescription("Count of the number of errors of a given type that have\nbeen accumulated in association with a particular group\nduring internal MTA processing.") mtaGroupOutboundErrorCount = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupOutboundErrorCount.setDescription("Count of the number of errors of a given type that have\nbeen accumulated in association with a particular group's\noutbound connection activities. In the case of an SMTP\nclient these will typically be errors reported while\nattempting to contact or while communicating with the\nremote SMTP server. In the case of X.400 these will\ntypically be errors encountered while constructing\nor attempting to deliver an outgoing message.") mtaStatusCode = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4000000, 5999999))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mtaStatusCode.setDescription("An index capable of representing an Enhanced Mail System\nStatus Code. Enhanced Mail System Status Codes are\ndefined in RFC 1893. These codes have the form\n\n class.subject.detail\n\nHere 'class' is either 2, 4, or 5 and both 'subject' and\n'detail' are integers in the range 0..999. Given a status\ncode the corresponding index value is defined to be\n((class * 1000) + subject) * 1000 + detail. Both SMTP\nerror response codes and X.400 reason and diagnostic codes\ncan be mapped into these codes, resulting in a namespace\ncapable of describing most error conditions a mail system\nencounters in a generic yet detailed way.") # Augmentions # Groups mtaRFC2249Group = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 4)).setObjects(*(("MTA-MIB", "mtaGroupLastOutboundAssociationAttempt"), ("MTA-MIB", "mtaGroupCreationTime"), ("MTA-MIB", "mtaStoredRecipients"), ("MTA-MIB", "mtaGroupOldestMessageStored"), ("MTA-MIB", "mtaStoredMessages"), ("MTA-MIB", "mtaTransmittedRecipients"), ("MTA-MIB", "mtaGroupOldestMessageId"), ("MTA-MIB", "mtaReceivedVolume"), ("MTA-MIB", "mtaGroupURL"), ("MTA-MIB", "mtaGroupDescription"), ("MTA-MIB", "mtaGroupReceivedRecipients"), ("MTA-MIB", "mtaGroupLastInboundActivity"), ("MTA-MIB", "mtaGroupLoopsDetected"), ("MTA-MIB", "mtaGroupFailedOutboundAssociations"), ("MTA-MIB", "mtaGroupAccumulatedInboundAssociations"), ("MTA-MIB", "mtaGroupInboundAssociations"), ("MTA-MIB", "mtaGroupOutboundAssociations"), ("MTA-MIB", "mtaGroupAccumulatedOutboundAssociations"), ("MTA-MIB", "mtaTransmittedVolume"), ("MTA-MIB", "mtaGroupTransmittedVolume"), ("MTA-MIB", "mtaGroupLastOutboundActivity"), ("MTA-MIB", "mtaGroupTransmittedMessages"), ("MTA-MIB", "mtaLoopsDetected"), ("MTA-MIB", "mtaGroupMailProtocol"), ("MTA-MIB", "mtaGroupTransmittedRecipients"), ("MTA-MIB", "mtaStoredVolume"), ("MTA-MIB", "mtaFailedConvertedMessages"), ("MTA-MIB", "mtaGroupStoredVolume"), ("MTA-MIB", "mtaGroupRejectedInboundAssociations"), ("MTA-MIB", "mtaTransmittedMessages"), ("MTA-MIB", "mtaGroupRejectedMessages"), ("MTA-MIB", "mtaGroupStoredRecipients"), ("MTA-MIB", "mtaGroupFailedConvertedMessages"), ("MTA-MIB", "mtaGroupReceivedMessages"), ("MTA-MIB", "mtaGroupHierarchy"), ("MTA-MIB", "mtaGroupSuccessfulConvertedMessages"), ("MTA-MIB", "mtaGroupReceivedVolume"), ("MTA-MIB", "mtaReceivedRecipients"), ("MTA-MIB", "mtaReceivedMessages"), ("MTA-MIB", "mtaGroupOutboundConnectFailureReason"), ("MTA-MIB", "mtaGroupInboundRejectionReason"), ("MTA-MIB", "mtaGroupStoredMessages"), ("MTA-MIB", "mtaSuccessfulConvertedMessages"), ("MTA-MIB", "mtaGroupScheduledRetry"), ("MTA-MIB", "mtaGroupName"), ) ) if mibBuilder.loadTexts: mtaRFC2249Group.setDescription("A collection of objects providing basic monitoring of MTAs.\nThis group was originally defined in RFC 2249.") mtaRFC2249AssocGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 5)).setObjects(*(("MTA-MIB", "mtaGroupAssociationIndex"), ) ) if mibBuilder.loadTexts: mtaRFC2249AssocGroup.setDescription("A collection of objects providing monitoring of MTA\nassociations. This group was originally defined in RFC\n2249.") mtaRFC2249ErrorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 6)).setObjects(*(("MTA-MIB", "mtaGroupInternalErrorCount"), ("MTA-MIB", "mtaGroupOutboundErrorCount"), ("MTA-MIB", "mtaGroupInboundErrorCount"), ) ) if mibBuilder.loadTexts: mtaRFC2249ErrorGroup.setDescription("A collection of objects providing monitoring of\ndetailed MTA errors. This group was originally defined\nin RFC 2249.") mtaRFC2789Group = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 7)).setObjects(*(("MTA-MIB", "mtaGroupLastOutboundAssociationAttempt"), ("MTA-MIB", "mtaGroupCreationTime"), ("MTA-MIB", "mtaStoredRecipients"), ("MTA-MIB", "mtaGroupOldestMessageStored"), ("MTA-MIB", "mtaStoredMessages"), ("MTA-MIB", "mtaTransmittedRecipients"), ("MTA-MIB", "mtaGroupOldestMessageId"), ("MTA-MIB", "mtaReceivedVolume"), ("MTA-MIB", "mtaGroupURL"), ("MTA-MIB", "mtaGroupDescription"), ("MTA-MIB", "mtaGroupReceivedRecipients"), ("MTA-MIB", "mtaGroupLastInboundActivity"), ("MTA-MIB", "mtaGroupLoopsDetected"), ("MTA-MIB", "mtaGroupFailedOutboundAssociations"), ("MTA-MIB", "mtaGroupAccumulatedInboundAssociations"), ("MTA-MIB", "mtaGroupInboundAssociations"), ("MTA-MIB", "mtaGroupOutboundAssociations"), ("MTA-MIB", "mtaGroupAccumulatedOutboundAssociations"), ("MTA-MIB", "mtaTransmittedVolume"), ("MTA-MIB", "mtaGroupTransmittedVolume"), ("MTA-MIB", "mtaGroupLastOutboundActivity"), ("MTA-MIB", "mtaGroupTransmittedMessages"), ("MTA-MIB", "mtaLoopsDetected"), ("MTA-MIB", "mtaGroupMailProtocol"), ("MTA-MIB", "mtaGroupTransmittedRecipients"), ("MTA-MIB", "mtaStoredVolume"), ("MTA-MIB", "mtaFailedConvertedMessages"), ("MTA-MIB", "mtaGroupStoredVolume"), ("MTA-MIB", "mtaGroupRejectedInboundAssociations"), ("MTA-MIB", "mtaTransmittedMessages"), ("MTA-MIB", "mtaGroupRejectedMessages"), ("MTA-MIB", "mtaGroupStoredRecipients"), ("MTA-MIB", "mtaGroupFailedConvertedMessages"), ("MTA-MIB", "mtaGroupReceivedMessages"), ("MTA-MIB", "mtaGroupHierarchy"), ("MTA-MIB", "mtaGroupSuccessfulConvertedMessages"), ("MTA-MIB", "mtaGroupReceivedVolume"), ("MTA-MIB", "mtaReceivedRecipients"), ("MTA-MIB", "mtaReceivedMessages"), ("MTA-MIB", "mtaGroupOutboundConnectFailureReason"), ("MTA-MIB", "mtaGroupInboundRejectionReason"), ("MTA-MIB", "mtaGroupStoredMessages"), ("MTA-MIB", "mtaSuccessfulConvertedMessages"), ("MTA-MIB", "mtaGroupScheduledRetry"), ("MTA-MIB", "mtaGroupName"), ) ) if mibBuilder.loadTexts: mtaRFC2789Group.setDescription("A collection of objects providing basic monitoring of MTAs.\nThis is the appropriate group for RFC 2789.") mtaRFC2789AssocGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 8)).setObjects(*(("MTA-MIB", "mtaGroupAssociationIndex"), ) ) if mibBuilder.loadTexts: mtaRFC2789AssocGroup.setDescription("A collection of objects providing monitoring of MTA\nassociations. This is the appropriate group for RFC\n2789 association monitoring.") mtaRFC2789ErrorGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 9)).setObjects(*(("MTA-MIB", "mtaGroupInternalErrorCount"), ("MTA-MIB", "mtaGroupOutboundErrorCount"), ("MTA-MIB", "mtaGroupInboundErrorCount"), ) ) if mibBuilder.loadTexts: mtaRFC2789ErrorGroup.setDescription("A collection of objects providing monitoring of\ndetailed MTA errors. This is the appropriate group\nfor RFC 2789 error monitoring.") mtaRFC1566Group = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 10)).setObjects(*(("MTA-MIB", "mtaTransmittedVolume"), ("MTA-MIB", "mtaGroupStoredVolume"), ("MTA-MIB", "mtaGroupTransmittedVolume"), ("MTA-MIB", "mtaGroupRejectedInboundAssociations"), ("MTA-MIB", "mtaGroupOldestMessageStored"), ("MTA-MIB", "mtaGroupOutboundConnectFailureReason"), ("MTA-MIB", "mtaTransmittedMessages"), ("MTA-MIB", "mtaGroupReceivedRecipients"), ("MTA-MIB", "mtaGroupRejectedMessages"), ("MTA-MIB", "mtaGroupStoredRecipients"), ("MTA-MIB", "mtaGroupAccumulatedInboundAssociations"), ("MTA-MIB", "mtaGroupReceivedMessages"), ("MTA-MIB", "mtaGroupReceivedVolume"), ("MTA-MIB", "mtaStoredRecipients"), ("MTA-MIB", "mtaGroupMailProtocol"), ("MTA-MIB", "mtaGroupLastInboundActivity"), ("MTA-MIB", "mtaTransmittedRecipients"), ("MTA-MIB", "mtaStoredMessages"), ("MTA-MIB", "mtaGroupLastOutboundActivity"), ("MTA-MIB", "mtaReceivedRecipients"), ("MTA-MIB", "mtaReceivedMessages"), ("MTA-MIB", "mtaGroupFailedOutboundAssociations"), ("MTA-MIB", "mtaGroupTransmittedRecipients"), ("MTA-MIB", "mtaReceivedVolume"), ("MTA-MIB", "mtaGroupInboundRejectionReason"), ("MTA-MIB", "mtaGroupStoredMessages"), ("MTA-MIB", "mtaGroupTransmittedMessages"), ("MTA-MIB", "mtaStoredVolume"), ("MTA-MIB", "mtaGroupScheduledRetry"), ("MTA-MIB", "mtaGroupInboundAssociations"), ("MTA-MIB", "mtaGroupOutboundAssociations"), ("MTA-MIB", "mtaGroupName"), ("MTA-MIB", "mtaGroupAccumulatedOutboundAssociations"), ) ) if mibBuilder.loadTexts: mtaRFC1566Group.setDescription("A collection of objects providing basic monitoring of MTAs.\nThis is the original set of such objects defined in RFC\n1566.") mtaRFC1566AssocGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 28, 4, 1, 11)).setObjects(*(("MTA-MIB", "mtaGroupAssociationIndex"), ) ) if mibBuilder.loadTexts: mtaRFC1566AssocGroup.setDescription("A collection of objects providing monitoring of MTA\nassociations. This is the original set of such objects\ndefined in RFC 1566.") # Compliances mtaCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 1)).setObjects(*(("MTA-MIB", "mtaRFC1566Group"), ) ) if mibBuilder.loadTexts: mtaCompliance.setDescription("The compliance statement for RFC 1566 implementations\nwhich support the Mail Monitoring MIB for basic\nmonitoring of MTAs.") mtaAssocCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 2)).setObjects(*(("MTA-MIB", "mtaRFC1566AssocGroup"), ("MTA-MIB", "mtaRFC1566Group"), ) ) if mibBuilder.loadTexts: mtaAssocCompliance.setDescription("The compliance statement for RFC 1566 implementations\nwhich support the Mail Monitoring MIB for monitoring\nof MTAs and their associations.") mtaRFC2249Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 5)).setObjects(*(("MTA-MIB", "mtaRFC2249Group"), ) ) if mibBuilder.loadTexts: mtaRFC2249Compliance.setDescription("The compliance statement for RFC 2249 implementations\nwhich support the Mail Monitoring MIB for basic\nmonitoring of MTAs.") mtaRFC2249AssocCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 6)).setObjects(*(("MTA-MIB", "mtaRFC2249Group"), ("MTA-MIB", "mtaRFC2249AssocGroup"), ) ) if mibBuilder.loadTexts: mtaRFC2249AssocCompliance.setDescription("The compliance statement for RFC 2249 implementations\nwhich support the Mail Monitoring MIB for monitoring of\nMTAs and their associations.") mtaRFC2249ErrorCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 7)).setObjects(*(("MTA-MIB", "mtaRFC2249Group"), ("MTA-MIB", "mtaRFC2249ErrorGroup"), ) ) if mibBuilder.loadTexts: mtaRFC2249ErrorCompliance.setDescription("The compliance statement for RFC 2249 implementations\nwhich support the Mail Monitoring MIB for monitoring of\nMTAs and detailed errors.") mtaRFC2249FullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 8)).setObjects(*(("MTA-MIB", "mtaRFC2249Group"), ("MTA-MIB", "mtaRFC2249ErrorGroup"), ("MTA-MIB", "mtaRFC2249AssocGroup"), ) ) if mibBuilder.loadTexts: mtaRFC2249FullCompliance.setDescription("The compliance statement for RFC 2249 implementations\nwhich support the full Mail Monitoring MIB for\nmonitoring of MTAs, associations, and detailed errors.") mtaRFC2789Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 9)).setObjects(*(("MTA-MIB", "mtaRFC2789Group"), ) ) if mibBuilder.loadTexts: mtaRFC2789Compliance.setDescription("The compliance statement for RFC 2789 implementations\nwhich support the Mail Monitoring MIB for basic\nmonitoring of MTAs.") mtaRFC2789AssocCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 10)).setObjects(*(("MTA-MIB", "mtaRFC2789AssocGroup"), ("MTA-MIB", "mtaRFC2789Group"), ) ) if mibBuilder.loadTexts: mtaRFC2789AssocCompliance.setDescription("The compliance statement for RFC 2789 implementations\nwhich support the Mail Monitoring MIB for monitoring of\nMTAs and their associations.") mtaRFC2789ErrorCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 11)).setObjects(*(("MTA-MIB", "mtaRFC2789Group"), ("MTA-MIB", "mtaRFC2789ErrorGroup"), ) ) if mibBuilder.loadTexts: mtaRFC2789ErrorCompliance.setDescription("The compliance statement for RFC 2789 implementations\nwhich support the Mail Monitoring MIB for monitoring of\nMTAs and detailed errors.") mtaRFC2789FullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 28, 4, 2, 12)).setObjects(*(("MTA-MIB", "mtaRFC2789AssocGroup"), ("MTA-MIB", "mtaRFC2789Group"), ("MTA-MIB", "mtaRFC2789ErrorGroup"), ) ) if mibBuilder.loadTexts: mtaRFC2789FullCompliance.setDescription("The compliance statement for RFC 2789 implementations\nwhich support the full Mail Monitoring MIB for\nmonitoring of MTAs, associations, and detailed errors.") # Exports # Module identity mibBuilder.exportSymbols("MTA-MIB", PYSNMP_MODULE_ID=mta) # Objects mibBuilder.exportSymbols("MTA-MIB", mta=mta, mtaTable=mtaTable, mtaEntry=mtaEntry, mtaReceivedMessages=mtaReceivedMessages, mtaStoredMessages=mtaStoredMessages, mtaTransmittedMessages=mtaTransmittedMessages, mtaReceivedVolume=mtaReceivedVolume, mtaStoredVolume=mtaStoredVolume, mtaTransmittedVolume=mtaTransmittedVolume, mtaReceivedRecipients=mtaReceivedRecipients, mtaStoredRecipients=mtaStoredRecipients, mtaTransmittedRecipients=mtaTransmittedRecipients, mtaSuccessfulConvertedMessages=mtaSuccessfulConvertedMessages, mtaFailedConvertedMessages=mtaFailedConvertedMessages, mtaLoopsDetected=mtaLoopsDetected, mtaGroupTable=mtaGroupTable, mtaGroupEntry=mtaGroupEntry, mtaGroupIndex=mtaGroupIndex, mtaGroupReceivedMessages=mtaGroupReceivedMessages, mtaGroupRejectedMessages=mtaGroupRejectedMessages, mtaGroupStoredMessages=mtaGroupStoredMessages, mtaGroupTransmittedMessages=mtaGroupTransmittedMessages, mtaGroupReceivedVolume=mtaGroupReceivedVolume, mtaGroupStoredVolume=mtaGroupStoredVolume, mtaGroupTransmittedVolume=mtaGroupTransmittedVolume, mtaGroupReceivedRecipients=mtaGroupReceivedRecipients, mtaGroupStoredRecipients=mtaGroupStoredRecipients, mtaGroupTransmittedRecipients=mtaGroupTransmittedRecipients, mtaGroupOldestMessageStored=mtaGroupOldestMessageStored, mtaGroupInboundAssociations=mtaGroupInboundAssociations, mtaGroupOutboundAssociations=mtaGroupOutboundAssociations, mtaGroupAccumulatedInboundAssociations=mtaGroupAccumulatedInboundAssociations, mtaGroupAccumulatedOutboundAssociations=mtaGroupAccumulatedOutboundAssociations, mtaGroupLastInboundActivity=mtaGroupLastInboundActivity, mtaGroupLastOutboundActivity=mtaGroupLastOutboundActivity, mtaGroupRejectedInboundAssociations=mtaGroupRejectedInboundAssociations, mtaGroupFailedOutboundAssociations=mtaGroupFailedOutboundAssociations, mtaGroupInboundRejectionReason=mtaGroupInboundRejectionReason, mtaGroupOutboundConnectFailureReason=mtaGroupOutboundConnectFailureReason, mtaGroupScheduledRetry=mtaGroupScheduledRetry, mtaGroupMailProtocol=mtaGroupMailProtocol, mtaGroupName=mtaGroupName, mtaGroupSuccessfulConvertedMessages=mtaGroupSuccessfulConvertedMessages, mtaGroupFailedConvertedMessages=mtaGroupFailedConvertedMessages, mtaGroupDescription=mtaGroupDescription, mtaGroupURL=mtaGroupURL, mtaGroupCreationTime=mtaGroupCreationTime, mtaGroupHierarchy=mtaGroupHierarchy, mtaGroupOldestMessageId=mtaGroupOldestMessageId, mtaGroupLoopsDetected=mtaGroupLoopsDetected, mtaGroupLastOutboundAssociationAttempt=mtaGroupLastOutboundAssociationAttempt, mtaGroupAssociationTable=mtaGroupAssociationTable, mtaGroupAssociationEntry=mtaGroupAssociationEntry, mtaGroupAssociationIndex=mtaGroupAssociationIndex, mtaConformance=mtaConformance, mtaGroups=mtaGroups, mtaCompliances=mtaCompliances, mtaGroupErrorTable=mtaGroupErrorTable, mtaGroupErrorEntry=mtaGroupErrorEntry, mtaGroupInboundErrorCount=mtaGroupInboundErrorCount, mtaGroupInternalErrorCount=mtaGroupInternalErrorCount, mtaGroupOutboundErrorCount=mtaGroupOutboundErrorCount, mtaStatusCode=mtaStatusCode) # Groups mibBuilder.exportSymbols("MTA-MIB", mtaRFC2249Group=mtaRFC2249Group, mtaRFC2249AssocGroup=mtaRFC2249AssocGroup, mtaRFC2249ErrorGroup=mtaRFC2249ErrorGroup, mtaRFC2789Group=mtaRFC2789Group, mtaRFC2789AssocGroup=mtaRFC2789AssocGroup, mtaRFC2789ErrorGroup=mtaRFC2789ErrorGroup, mtaRFC1566Group=mtaRFC1566Group, mtaRFC1566AssocGroup=mtaRFC1566AssocGroup) # Compliances mibBuilder.exportSymbols("MTA-MIB", mtaCompliance=mtaCompliance, mtaAssocCompliance=mtaAssocCompliance, mtaRFC2249Compliance=mtaRFC2249Compliance, mtaRFC2249AssocCompliance=mtaRFC2249AssocCompliance, mtaRFC2249ErrorCompliance=mtaRFC2249ErrorCompliance, mtaRFC2249FullCompliance=mtaRFC2249FullCompliance, mtaRFC2789Compliance=mtaRFC2789Compliance, mtaRFC2789AssocCompliance=mtaRFC2789AssocCompliance, mtaRFC2789ErrorCompliance=mtaRFC2789ErrorCompliance, mtaRFC2789FullCompliance=mtaRFC2789FullCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/CLNS-MIB.py0000644000014400001440000011052111736645135020173 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python CLNS-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:45 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Counter32, Integer32, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, experimental, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "experimental") ( PhysAddress, ) = mibBuilder.importSymbols("SNMPv2-TC", "PhysAddress") # Types class ClnpAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(1,21) # Objects clns = MibIdentifier((1, 3, 6, 1, 3, 1)) clnp = MibIdentifier((1, 3, 6, 1, 3, 1, 1)) clnpForwarding = MibScalar((1, 3, 6, 1, 3, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("is", 1), ("es", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpForwarding.setDescription("The indication of whether this entity is active\nas an intermediate or end system. Only\nintermediate systems will forward PDUs onward that\nare not addressed to them.") clnpDefaultLifeTime = MibScalar((1, 3, 6, 1, 3, 1, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpDefaultLifeTime.setDescription("The default value inserted into the Lifetime\nfield of the CLNP PDU header of PDUs sourced by\nthis entity.") clnpInReceives = MibScalar((1, 3, 6, 1, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInReceives.setDescription("The total number of input PDUs received from all\nconnected network interfaces running CLNP,\nincluding errors.") clnpInHdrErrors = MibScalar((1, 3, 6, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInHdrErrors.setDescription("The number of input PDUs discarded due to errors\nin the CLNP header, including bad checksums,\nversion mismatch, lifetime exceeded, errors\ndiscovered in processing options, etc.") clnpInAddrErrors = MibScalar((1, 3, 6, 1, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInAddrErrors.setDescription("The number of input PDUs discarded because the\nNSAP address in the CLNP header's destination\nfield was not a valid NSAP to be received at this\nentity. This count includes addresses not\nunderstood. For end systems, this is a count of\nPDUs which arrived with a destination NSAP which\nwas not local.") clnpForwPDUs = MibScalar((1, 3, 6, 1, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpForwPDUs.setDescription("The number of input PDUs for which this entity\nwas not the final destination and which an attempt\nwas made to forward them onward.") clnpInUnknownNLPs = MibScalar((1, 3, 6, 1, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInUnknownNLPs.setDescription("The number of locally-addressed PDUs successfully\nreceived but discarded because the network layer\nprotocol was unknown or unsupported (e.g., not\nCLNP or ES-IS).") clnpInUnknownULPs = MibScalar((1, 3, 6, 1, 3, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInUnknownULPs.setDescription("The number of locally-addressed PDUs successfully\nreceived but discarded because the upper layer\nprotocol was unknown or unsupported (e.g., not\nTP4).") clnpInDiscards = MibScalar((1, 3, 6, 1, 3, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInDiscards.setDescription("The number of input CLNP PDUs for which no\nproblems were encountered to prevent their\ncontinued processing, but were discarded (e.g.,\nfor lack of buffer space). Note that this counter\ndoes not include any PDUs discarded while awaiting\nre-assembly.") clnpInDelivers = MibScalar((1, 3, 6, 1, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInDelivers.setDescription("The total number of input PDUs successfully\ndelivered to the CLNS transport user.") clnpOutRequests = MibScalar((1, 3, 6, 1, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutRequests.setDescription("The total number of CLNP PDUs which local CLNS\nuser protocols supplied to CLNP for transmission\nrequests. This counter does not include any PDUs\ncounted in clnpForwPDUs.") clnpOutDiscards = MibScalar((1, 3, 6, 1, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutDiscards.setDescription("The number of output CLNP PDUs for which no other\nproblem was encountered to prevent their\ntransmission but were discarded (e.g., for lack of\nbuffer space). Note this counter includes PDUs\ncounted in clnpForwPDUs.") clnpOutNoRoutes = MibScalar((1, 3, 6, 1, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutNoRoutes.setDescription("The number of CLNP PDUs discarded because no\nroute could be found to transmit them to their\ndestination. This counter includes any PDUs\ncounted in clnpForwPDUs.") clnpReasmTimeout = MibScalar((1, 3, 6, 1, 3, 1, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpReasmTimeout.setDescription("The maximum number of seconds which received\nsegments are held while they are awaiting\nreassembly at this entity.") clnpReasmReqds = MibScalar((1, 3, 6, 1, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpReasmReqds.setDescription("The number of CLNP segments received which needed\nto be reassembled at this entity.") clnpReasmOKs = MibScalar((1, 3, 6, 1, 3, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpReasmOKs.setDescription("The number of CLNP PDUs successfully re-assembled\nat this entity.") clnpReasmFails = MibScalar((1, 3, 6, 1, 3, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpReasmFails.setDescription("The number of failures detected by the CLNP\nreassembly algorithm (for any reason: timed out,\nbuffer size, etc).") clnpSegOKs = MibScalar((1, 3, 6, 1, 3, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpSegOKs.setDescription("The number of CLNP PDUs that have been\nsuccessfully segmented at this entity.") clnpSegFails = MibScalar((1, 3, 6, 1, 3, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpSegFails.setDescription("The number of CLNP PDUs that have been discarded\nbecause they needed to be fragmented at this\nentity but could not.") clnpSegCreates = MibScalar((1, 3, 6, 1, 3, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpSegCreates.setDescription("The number of CLNP PDU segments that have been\ngenerated as a result of segmentation at this\nentity.") clnpAddrTable = MibTable((1, 3, 6, 1, 3, 1, 1, 21)) if mibBuilder.loadTexts: clnpAddrTable.setDescription("The table of addressing information relevant to\nthis entity's CLNP addresses. ") clnpAddrEntry = MibTableRow((1, 3, 6, 1, 3, 1, 1, 21, 1)).setIndexNames((0, "CLNS-MIB", "clnpAdEntAddr")) if mibBuilder.loadTexts: clnpAddrEntry.setDescription("The addressing information for one of this\nentity's CLNP addresses.") clnpAdEntAddr = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 21, 1, 1), ClnpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpAdEntAddr.setDescription("The CLNP address to which this entry's addressing\ninformation pertains.") clnpAdEntIfIndex = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 21, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpAdEntIfIndex.setDescription("The index value which uniquely identifies the\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is the same interface as identified by the\nsame value of ifIndex.") clnpAdEntReasmMaxSize = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 21, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpAdEntReasmMaxSize.setDescription("The size of the largest CLNP PDU which this\nentity can re-assemble from incoming CLNP\nsegmented PDUs received on this interface.") clnpRoutingTable = MibTable((1, 3, 6, 1, 3, 1, 1, 22)) if mibBuilder.loadTexts: clnpRoutingTable.setDescription("This entity's CLNP routing table.") clnpRouteEntry = MibTableRow((1, 3, 6, 1, 3, 1, 1, 22, 1)).setIndexNames((0, "CLNS-MIB", "clnpRouteDest")) if mibBuilder.loadTexts: clnpRouteEntry.setDescription("A route to a particular destination.") clnpRouteDest = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 1), ClnpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteDest.setDescription("The destination CLNP address of this route.") clnpRouteIfIndex = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteIfIndex.setDescription("The index value which uniquely identifies the\nlocal interface through which the next hop of this\nroute should be reached. The interface identified\nby a particular value of this index is the same as\nidentified by the same value of ifIndex.") clnpRouteMetric1 = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteMetric1.setDescription("The primary routing metric for this route. The\nsemantics of this metric are determined by the\nrouting-protocol specified in the route's\nclnpRouteProto value. If this metric is not used,\nits value should be set to -1.") clnpRouteMetric2 = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteMetric2.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the\nrouting-protocol specified in the route's\nclnpRouteProto value. If this metric is not used,\nits value should be set to -1.") clnpRouteMetric3 = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteMetric3.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the\nrouting-protocol specified in the route's\nclnpRouteProto value. If this metric is not used,\nits value should be set to -1.") clnpRouteMetric4 = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteMetric4.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the\nrouting-protocol specified in the route's\nclnpRouteProto value. If this metric is not used,\nits value should be set to -1.") clnpRouteNextHop = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 7), ClnpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteNextHop.setDescription("The CLNP address of the next hop of this route.") clnpRouteType = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,3,2,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("direct", 3), ("remote", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteType.setDescription("The type of route.\n\nSetting this object to the value invalid(2) has\nthe effect of invaliding the corresponding entry\nin the clnpRoutingTable. That is, it effectively\ndissasociates the destination identified with said\nentry from the route identified with said entry.\nIt is an implementation-specific matter as to\nwhether the agent removes an invalidated entry\nfrom the table. Accordingly, management stations\nmust be prepared to receive tabular information\nfrom agents that corresponds to entries not\ncurrently in use. Proper interpretation of such\nentries requires examination of the relevant\nclnpRouteType object.") clnpRouteProto = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(14,11,1,9,3,12,13,2,)).subtype(namedValues=NamedValues(("other", 1), ("ciscoIgrp", 11), ("bbnSpfIgp", 12), ("ospf", 13), ("bgp", 14), ("local", 2), ("netmgmt", 3), ("is-is", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpRouteProto.setDescription("The routing mechanism via which this route was\nlearned. Inclusion of values for gateway routing\nprotocols is not intended to imply that hosts\nshould support those protocols.") clnpRouteAge = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteAge.setDescription("The number of seconds since this route was last\nupdated or otherwise determined to be correct.\nNote that no semantics of `too old' can be implied\nexcept through knowledge of the routing protocol\nby which the route was learned.") clnpRouteMetric5 = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpRouteMetric5.setDescription("An alternate routing metric for this route. The\nsemantics of this metric are determined by the\nrouting-protocol specified in the route's\nclnpRouteProto value. If this metric is not used,\nits value should be set to -1.") clnpRouteInfo = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 22, 1, 12), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpRouteInfo.setDescription("A reference to MIB definitions specific to the\nparticular routing protocol which is responsible\nfor this route, as determined by the value\nspecified in the route's clnpRouteProto value. If\nthis information is not present, its value should\nbe set to the OBJECT IDENTIFIER { 0 0 }, which is\na syntatically valid object identifier, and any\nconformant implementation of ASN.1 and BER must be\nable to generate and recognize this value.") clnpNetToMediaTable = MibTable((1, 3, 6, 1, 3, 1, 1, 23)) if mibBuilder.loadTexts: clnpNetToMediaTable.setDescription("The CLNP Address Translation table used for\nmapping from CLNP addresses to physical\naddresses.") clnpNetToMediaEntry = MibTableRow((1, 3, 6, 1, 3, 1, 1, 23, 1)).setIndexNames((0, "CLNS-MIB", "clnpNetToMediaIfIndex"), (0, "CLNS-MIB", "clnpNetToMediaNetAddress")) if mibBuilder.loadTexts: clnpNetToMediaEntry.setDescription("Each entry contains one CLNP address to\n`physical' address equivalence.") clnpNetToMediaIfIndex = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 23, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpNetToMediaIfIndex.setDescription("The interface on which this entry's equivalence\nis effective. The interface identified by a\nparticular value of this index is the same\ninterface as identified by the same value of\nifIndex.") clnpNetToMediaPhysAddress = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 23, 1, 2), PhysAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpNetToMediaPhysAddress.setDescription("The media-dependent `physical' address.") clnpNetToMediaNetAddress = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 23, 1, 3), ClnpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpNetToMediaNetAddress.setDescription("The CLNP address corresponding to the media-\ndependent `physical' address.") clnpNetToMediaType = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 23, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("dynamic", 3), ("static", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpNetToMediaType.setDescription("The type of mapping.\n\nSetting this object to the value invalid(2) has\nthe effect of invalidating the corresponding entry\nin the clnpNetToMediaTable. That is, it\neffectively dissassociates the interface\nidentified with said entry from the mapping\nidentified with said entry. It is an\nimplementation-specific matter as to whether the\nagent removes an invalidated entry from the table.\nAccordingly, management stations must be prepared\nto receive tabular information from agents that\ncorresponds to entries not currently in use.\nProper interpretation of such entries requires\nexamination of the relevant clnpNetToMediaType\nobject.") clnpNetToMediaAge = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 23, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpNetToMediaAge.setDescription("The number of seconds since this entry was last\nupdated or otherwise determined to be correct.\nNote that no semantics of `too old' can be implied\nexcept through knowledge of the type of entry.") clnpNetToMediaHoldTime = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 23, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpNetToMediaHoldTime.setDescription("The time in seconds this entry will be valid.\nStatic entries should always report this field as\n-1.") clnpMediaToNetTable = MibTable((1, 3, 6, 1, 3, 1, 1, 24)) if mibBuilder.loadTexts: clnpMediaToNetTable.setDescription("The CLNP Address Translation table used for\nmapping from physical addresses to CLNP\naddresses.") clnpMediaToNetEntry = MibTableRow((1, 3, 6, 1, 3, 1, 1, 24, 1)).setIndexNames((0, "CLNS-MIB", "clnpMediaToNetIfIndex"), (0, "CLNS-MIB", "clnpMediaToNetPhysAddress")) if mibBuilder.loadTexts: clnpMediaToNetEntry.setDescription("Each entry contains on ClnpAddress to `physical'\naddress equivalence.") clnpMediaToNetIfIndex = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 24, 1, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpMediaToNetIfIndex.setDescription("The interface on which this entry's equivalence\nis effective. The interface identified by a\nparticular value of this index is the same\ninterface as identified by the same value of\nifIndex.") clnpMediaToNetAddress = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 24, 1, 2), ClnpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpMediaToNetAddress.setDescription("The ClnpAddress corresponding to the media-\ndependent `physical' address.") clnpMediaToNetPhysAddress = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 24, 1, 3), PhysAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpMediaToNetPhysAddress.setDescription("The media-dependent `physical' address.") clnpMediaToNetType = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 24, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,3,2,)).subtype(namedValues=NamedValues(("other", 1), ("invalid", 2), ("dynamic", 3), ("static", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpMediaToNetType.setDescription("The type of mapping.\n\nSetting this object to the value invalid(2) has\nthe effect of invalidating the corresponding entry\nin the clnpMediaToNetTable. That is, it\neffectively dissassociates the interface\nidentified with said entry from the mapping\nidentified with said entry. It is an\nimplementation-specific matter as to whether the\nagent removes an invalidated entry from the table.\nAccordingly, management stations must be prepared\nto receive tabular information from agents that\ncorresponds to entries not currently in use.\nProper interpretation of such entries requires\nexamination of the relevant clnpMediaToNetType\nobject.") clnpMediaToNetAge = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 24, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpMediaToNetAge.setDescription("The number of seconds since this entry was last\nupdated or otherwise determined to be correct.\nNote that no semantics of `too old' can be implied\nexcept through knowledge of the type of entry.") clnpMediaToNetHoldTime = MibTableColumn((1, 3, 6, 1, 3, 1, 1, 24, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clnpMediaToNetHoldTime.setDescription("The time in seconds this entry will be valid.\nStatic entries should always report this field as\n-1.") clnpInOpts = MibScalar((1, 3, 6, 1, 3, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInOpts.setDescription("The number of CLNP PDU segments that have been\ninput with options at this entity.") clnpOutOpts = MibScalar((1, 3, 6, 1, 3, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutOpts.setDescription("The number of CLNP PDU segments that have been\ngenerated with options by this entity.") clnpRoutingDiscards = MibScalar((1, 3, 6, 1, 3, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpRoutingDiscards.setDescription("The number of routing entries which were chosen\nto be discarded even though they are valid. One\npossible reason for discarding such an entry could\nbe to free-up buffer space for other routing\nentries.") error = MibIdentifier((1, 3, 6, 1, 3, 1, 2)) clnpInErrors = MibScalar((1, 3, 6, 1, 3, 1, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrors.setDescription("The number of CLNP Error PDUs received by this\nentity.") clnpOutErrors = MibScalar((1, 3, 6, 1, 3, 1, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrors.setDescription("The number of CLNP Error PDUs sent by this\nentity.") clnpInErrUnspecs = MibScalar((1, 3, 6, 1, 3, 1, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnspecs.setDescription("The number of unspecified CLNP Error PDUs\nreceived by this entity.") clnpInErrProcs = MibScalar((1, 3, 6, 1, 3, 1, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrProcs.setDescription("The number of protocol procedure CLNP Error PDUs\nreceived by this entity.") clnpInErrCksums = MibScalar((1, 3, 6, 1, 3, 1, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrCksums.setDescription("The number of checksum CLNP Error PDUs received\nby this entity.") clnpInErrCongests = MibScalar((1, 3, 6, 1, 3, 1, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrCongests.setDescription("The number of congestion drop CLNP Error PDUs\nreceived by this entity.") clnpInErrHdrs = MibScalar((1, 3, 6, 1, 3, 1, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrHdrs.setDescription("The number of header syntax CLNP Error PDUs\nreceived by this entity.") clnpInErrSegs = MibScalar((1, 3, 6, 1, 3, 1, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrSegs.setDescription("The number of segmentation disallowed CLNP Error\nPDUs received by this entity.") clnpInErrIncomps = MibScalar((1, 3, 6, 1, 3, 1, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrIncomps.setDescription("The number of incomplete PDU CLNP Error PDUs\nreceived by this entity.") clnpInErrDups = MibScalar((1, 3, 6, 1, 3, 1, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrDups.setDescription("The number of duplicate option CLNP Error PDUs\nreceived by this entity.") clnpInErrUnreachDsts = MibScalar((1, 3, 6, 1, 3, 1, 2, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnreachDsts.setDescription("The number of unreachable destination CLNP Error\nPDUs received by this entity.") clnpInErrUnknownDsts = MibScalar((1, 3, 6, 1, 3, 1, 2, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnknownDsts.setDescription("The number of unknown destination CLNP Error PDUs\nreceived by this entity.") clnpInErrSRUnspecs = MibScalar((1, 3, 6, 1, 3, 1, 2, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrSRUnspecs.setDescription("The number of unspecified source route CLNP Error\nPDUs received by this entity.") clnpInErrSRSyntaxes = MibScalar((1, 3, 6, 1, 3, 1, 2, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrSRSyntaxes.setDescription("The number of source route syntax CLNP Error PDUs\nreceived by this entity.") clnpInErrSRUnkAddrs = MibScalar((1, 3, 6, 1, 3, 1, 2, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrSRUnkAddrs.setDescription("The number of source route unknown address CLNP\nError PDUs received by this entity.") clnpInErrSRBadPaths = MibScalar((1, 3, 6, 1, 3, 1, 2, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrSRBadPaths.setDescription("The number of source route bad path CLNP Error\nPDUs received by this entity.") clnpInErrHops = MibScalar((1, 3, 6, 1, 3, 1, 2, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrHops.setDescription("The number of hop count exceeded CLNP Error PDUs\nreceived by this entity.") clnpInErrHopReassms = MibScalar((1, 3, 6, 1, 3, 1, 2, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrHopReassms.setDescription("The number of hop count exceeded while\nreassembling CLNP Error PDUs received by this\nentity.") clnpInErrUnsOptions = MibScalar((1, 3, 6, 1, 3, 1, 2, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnsOptions.setDescription("The number of unsupported option CLNP Error PDUs\nreceived by this entity.") clnpInErrUnsVersions = MibScalar((1, 3, 6, 1, 3, 1, 2, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnsVersions.setDescription("The number of version mismatch CLNP Error PDUs\nreceived by this entity.") clnpInErrUnsSecurities = MibScalar((1, 3, 6, 1, 3, 1, 2, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnsSecurities.setDescription("The number of unsupported security option CLNP\nError PDUs received by this entity.") clnpInErrUnsSRs = MibScalar((1, 3, 6, 1, 3, 1, 2, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnsSRs.setDescription("The number of unsupported source route option\nCLNP Error PDUs received by this entity.") clnpInErrUnsRRs = MibScalar((1, 3, 6, 1, 3, 1, 2, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrUnsRRs.setDescription("The number of unsupported record route option\nCLNP Error PDUs received by this entity.") clnpInErrInterferences = MibScalar((1, 3, 6, 1, 3, 1, 2, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpInErrInterferences.setDescription("The number of reassembly interference CLNP Error\nPDUs received by this entity.") clnpOutErrUnspecs = MibScalar((1, 3, 6, 1, 3, 1, 2, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnspecs.setDescription("The number of unspecified CLNP Error PDUs sent by\nthis entity.") clnpOutErrProcs = MibScalar((1, 3, 6, 1, 3, 1, 2, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrProcs.setDescription("The number of protocol procedure CLNP Error PDUs\nsent by this entity.") clnpOutErrCksums = MibScalar((1, 3, 6, 1, 3, 1, 2, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrCksums.setDescription("The number of checksum CLNP Error PDUs sent by\nthis entity.") clnpOutErrCongests = MibScalar((1, 3, 6, 1, 3, 1, 2, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrCongests.setDescription("The number of congestion drop CLNP Error PDUs\nsent by this entity.") clnpOutErrHdrs = MibScalar((1, 3, 6, 1, 3, 1, 2, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrHdrs.setDescription("The number of header syntax CLNP Error PDUs sent\nby this entity.") clnpOutErrSegs = MibScalar((1, 3, 6, 1, 3, 1, 2, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrSegs.setDescription("The number of segmentation disallowed CLNP Error\nPDUs sent by this entity.") clnpOutErrIncomps = MibScalar((1, 3, 6, 1, 3, 1, 2, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrIncomps.setDescription("The number of incomplete PDU CLNP Error PDUs sent\nby this entity.") clnpOutErrDups = MibScalar((1, 3, 6, 1, 3, 1, 2, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrDups.setDescription("The number of duplicate option CLNP Error PDUs\nsent by this entity.") clnpOutErrUnreachDsts = MibScalar((1, 3, 6, 1, 3, 1, 2, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnreachDsts.setDescription("The number of unreachable destination CLNP Error\nPDUs sent by this entity.") clnpOutErrUnknownDsts = MibScalar((1, 3, 6, 1, 3, 1, 2, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnknownDsts.setDescription("The number of unknown destination CLNP Error PDUs\nsent by this entity.") clnpOutErrSRUnspecs = MibScalar((1, 3, 6, 1, 3, 1, 2, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrSRUnspecs.setDescription("The number of unspecified source route CLNP Error\nPDUs sent by this entity.") clnpOutErrSRSyntaxes = MibScalar((1, 3, 6, 1, 3, 1, 2, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrSRSyntaxes.setDescription("The number of source route syntax CLNP Error PDUs\nsent by this entity.") clnpOutErrSRUnkAddrs = MibScalar((1, 3, 6, 1, 3, 1, 2, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrSRUnkAddrs.setDescription("The number of source route unknown address CLNP\nError PDUs sent by this entity.") clnpOutErrSRBadPaths = MibScalar((1, 3, 6, 1, 3, 1, 2, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrSRBadPaths.setDescription("The number of source route bad path CLNP Error\nPDUs sent by this entity.") clnpOutErrHops = MibScalar((1, 3, 6, 1, 3, 1, 2, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrHops.setDescription("The number of hop count exceeded CLNP Error PDUs\nsent by this entity.") clnpOutErrHopReassms = MibScalar((1, 3, 6, 1, 3, 1, 2, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrHopReassms.setDescription("The number of hop count exceeded while\nreassembling CLNP Error PDUs sent by this entity.") clnpOutErrUnsOptions = MibScalar((1, 3, 6, 1, 3, 1, 2, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnsOptions.setDescription("The number of unsupported option CLNP Error PDUs\nsent by this entity.") clnpOutErrUnsVersions = MibScalar((1, 3, 6, 1, 3, 1, 2, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnsVersions.setDescription("The number of version mismatch CLNP Error PDUs\nsent by this entity.") clnpOutErrUnsSecurities = MibScalar((1, 3, 6, 1, 3, 1, 2, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnsSecurities.setDescription("The number of unsupported security option CLNP\nError PDUs sent by this entity.") clnpOutErrUnsSRs = MibScalar((1, 3, 6, 1, 3, 1, 2, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnsSRs.setDescription("The number of unsupported source route option\nCLNP Error PDUs sent by this entity.") clnpOutErrUnsRRs = MibScalar((1, 3, 6, 1, 3, 1, 2, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrUnsRRs.setDescription("The number of unsupported record route option\nCLNP Error PDUs sent by this entity.") clnpOutErrInterferences = MibScalar((1, 3, 6, 1, 3, 1, 2, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: clnpOutErrInterferences.setDescription("The number of reassembly interference CLNP Error\nPDUs sent by this entity.") echo = MibIdentifier((1, 3, 6, 1, 3, 1, 3)) es_is = MibIdentifier((1, 3, 6, 1, 3, 1, 4)).setLabel("es-is") esisESHins = MibScalar((1, 3, 6, 1, 3, 1, 4, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: esisESHins.setDescription("The number of ESH PDUs received by this entity.") esisESHouts = MibScalar((1, 3, 6, 1, 3, 1, 4, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: esisESHouts.setDescription("The number of ESH PDUs sent by this entity.") esisISHins = MibScalar((1, 3, 6, 1, 3, 1, 4, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: esisISHins.setDescription("The number of ISH PDUs received by this entity.") esisISHouts = MibScalar((1, 3, 6, 1, 3, 1, 4, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: esisISHouts.setDescription("The number of ISH PDUs sent by this entity.") esisRDUins = MibScalar((1, 3, 6, 1, 3, 1, 4, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: esisRDUins.setDescription("The number of RDU PDUs received by this entity.") esisRDUouts = MibScalar((1, 3, 6, 1, 3, 1, 4, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: esisRDUouts.setDescription("The number of RDU PDUs sent by this entity.") # Augmentions # Exports # Types mibBuilder.exportSymbols("CLNS-MIB", ClnpAddress=ClnpAddress) # Objects mibBuilder.exportSymbols("CLNS-MIB", clns=clns, clnp=clnp, clnpForwarding=clnpForwarding, clnpDefaultLifeTime=clnpDefaultLifeTime, clnpInReceives=clnpInReceives, clnpInHdrErrors=clnpInHdrErrors, clnpInAddrErrors=clnpInAddrErrors, clnpForwPDUs=clnpForwPDUs, clnpInUnknownNLPs=clnpInUnknownNLPs, clnpInUnknownULPs=clnpInUnknownULPs, clnpInDiscards=clnpInDiscards, clnpInDelivers=clnpInDelivers, clnpOutRequests=clnpOutRequests, clnpOutDiscards=clnpOutDiscards, clnpOutNoRoutes=clnpOutNoRoutes, clnpReasmTimeout=clnpReasmTimeout, clnpReasmReqds=clnpReasmReqds, clnpReasmOKs=clnpReasmOKs, clnpReasmFails=clnpReasmFails, clnpSegOKs=clnpSegOKs, clnpSegFails=clnpSegFails, clnpSegCreates=clnpSegCreates, clnpAddrTable=clnpAddrTable, clnpAddrEntry=clnpAddrEntry, clnpAdEntAddr=clnpAdEntAddr, clnpAdEntIfIndex=clnpAdEntIfIndex, clnpAdEntReasmMaxSize=clnpAdEntReasmMaxSize, clnpRoutingTable=clnpRoutingTable, clnpRouteEntry=clnpRouteEntry, clnpRouteDest=clnpRouteDest, clnpRouteIfIndex=clnpRouteIfIndex, clnpRouteMetric1=clnpRouteMetric1, clnpRouteMetric2=clnpRouteMetric2, clnpRouteMetric3=clnpRouteMetric3, clnpRouteMetric4=clnpRouteMetric4, clnpRouteNextHop=clnpRouteNextHop, clnpRouteType=clnpRouteType, clnpRouteProto=clnpRouteProto, clnpRouteAge=clnpRouteAge, clnpRouteMetric5=clnpRouteMetric5, clnpRouteInfo=clnpRouteInfo, clnpNetToMediaTable=clnpNetToMediaTable, clnpNetToMediaEntry=clnpNetToMediaEntry, clnpNetToMediaIfIndex=clnpNetToMediaIfIndex, clnpNetToMediaPhysAddress=clnpNetToMediaPhysAddress, clnpNetToMediaNetAddress=clnpNetToMediaNetAddress, clnpNetToMediaType=clnpNetToMediaType, clnpNetToMediaAge=clnpNetToMediaAge, clnpNetToMediaHoldTime=clnpNetToMediaHoldTime, clnpMediaToNetTable=clnpMediaToNetTable, clnpMediaToNetEntry=clnpMediaToNetEntry, clnpMediaToNetIfIndex=clnpMediaToNetIfIndex, clnpMediaToNetAddress=clnpMediaToNetAddress, clnpMediaToNetPhysAddress=clnpMediaToNetPhysAddress, clnpMediaToNetType=clnpMediaToNetType, clnpMediaToNetAge=clnpMediaToNetAge, clnpMediaToNetHoldTime=clnpMediaToNetHoldTime, clnpInOpts=clnpInOpts, clnpOutOpts=clnpOutOpts, clnpRoutingDiscards=clnpRoutingDiscards, error=error, clnpInErrors=clnpInErrors, clnpOutErrors=clnpOutErrors, clnpInErrUnspecs=clnpInErrUnspecs, clnpInErrProcs=clnpInErrProcs, clnpInErrCksums=clnpInErrCksums, clnpInErrCongests=clnpInErrCongests, clnpInErrHdrs=clnpInErrHdrs, clnpInErrSegs=clnpInErrSegs, clnpInErrIncomps=clnpInErrIncomps, clnpInErrDups=clnpInErrDups, clnpInErrUnreachDsts=clnpInErrUnreachDsts, clnpInErrUnknownDsts=clnpInErrUnknownDsts, clnpInErrSRUnspecs=clnpInErrSRUnspecs, clnpInErrSRSyntaxes=clnpInErrSRSyntaxes, clnpInErrSRUnkAddrs=clnpInErrSRUnkAddrs, clnpInErrSRBadPaths=clnpInErrSRBadPaths, clnpInErrHops=clnpInErrHops, clnpInErrHopReassms=clnpInErrHopReassms, clnpInErrUnsOptions=clnpInErrUnsOptions, clnpInErrUnsVersions=clnpInErrUnsVersions, clnpInErrUnsSecurities=clnpInErrUnsSecurities, clnpInErrUnsSRs=clnpInErrUnsSRs, clnpInErrUnsRRs=clnpInErrUnsRRs, clnpInErrInterferences=clnpInErrInterferences, clnpOutErrUnspecs=clnpOutErrUnspecs, clnpOutErrProcs=clnpOutErrProcs, clnpOutErrCksums=clnpOutErrCksums, clnpOutErrCongests=clnpOutErrCongests, clnpOutErrHdrs=clnpOutErrHdrs, clnpOutErrSegs=clnpOutErrSegs, clnpOutErrIncomps=clnpOutErrIncomps, clnpOutErrDups=clnpOutErrDups, clnpOutErrUnreachDsts=clnpOutErrUnreachDsts, clnpOutErrUnknownDsts=clnpOutErrUnknownDsts, clnpOutErrSRUnspecs=clnpOutErrSRUnspecs, clnpOutErrSRSyntaxes=clnpOutErrSRSyntaxes, clnpOutErrSRUnkAddrs=clnpOutErrSRUnkAddrs, clnpOutErrSRBadPaths=clnpOutErrSRBadPaths, clnpOutErrHops=clnpOutErrHops, clnpOutErrHopReassms=clnpOutErrHopReassms, clnpOutErrUnsOptions=clnpOutErrUnsOptions, clnpOutErrUnsVersions=clnpOutErrUnsVersions, clnpOutErrUnsSecurities=clnpOutErrUnsSecurities, clnpOutErrUnsSRs=clnpOutErrUnsSRs, clnpOutErrUnsRRs=clnpOutErrUnsRRs, clnpOutErrInterferences=clnpOutErrInterferences, echo=echo, es_is=es_is, esisESHins=esisESHins, esisESHouts=esisESHouts, esisISHins=esisISHins, esisISHouts=esisISHouts, esisRDUins=esisRDUins, esisRDUouts=esisRDUouts) pysnmp-mibs-0.1.3/pysnmp_mibs/ARC-MIB.py0000644000014400001440000003321411736645135020044 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ARC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:42 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( ResourceId, ) = mibBuilder.importSymbols("ALARM-MIB", "ResourceId") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( RowStatus, StorageType, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "StorageType", "TextualConvention") # Types class IANAItuProbableCauseOrZero(Integer32): subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) # Objects arcMibModule = ModuleIdentity((1, 3, 6, 1, 2, 1, 117)).setRevisions(("2004-09-09 00:00",)) if mibBuilder.loadTexts: arcMibModule.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: arcMibModule.setContactInfo("WG EMail: disman@ietf.org\nSubscribe: disman-request@ietf.org\nhttp://www.ietf.org/html.charters/disman-charter.html\n\nChair: Randy Presuhn\n E-mail: randy_presuhn@mindspring.com\n\nEditor: Hing-Kam Lam\n Lucent Technologies, 4C-616\n 101 Crawfords Corner Road\n\n\n\n Holmdel, NJ 07733\n USA\n Tel: +1 732 949 8338\n E-mail: hklam@lucent.com") if mibBuilder.loadTexts: arcMibModule.setDescription("The MIB module describes the objects for controlling a resource\nin reporting alarm conditions that it detects.\n\nCopyright (C) The Internet Society (2004). This version\nof this MIB module is part of RFC 3878; see the RFC\nitself for full legal notices.") arcTimeIntervals = MibIdentifier((1, 3, 6, 1, 2, 1, 117, 1)) arcTITimeInterval = MibScalar((1, 3, 6, 1, 2, 1, 117, 1, 1), Unsigned32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: arcTITimeInterval.setDescription("This variable indicates the time interval used for the nalmTI\nstate, in units of second. It is a pre-defined length of time\nin which the resource will stay in the nalmTI state before\ntransition into the alm state.\n\nInstances of this object SHOULD persist across agent restarts.") arcCDTimeInterval = MibScalar((1, 3, 6, 1, 2, 1, 117, 1, 2), Unsigned32()).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: arcCDTimeInterval.setDescription("This variable indicates the time interval used for the nalmQICD\nstate, in units of second. It is a pre-defined length of time\nin which the resource will stay in the nalmQICD state before\ntransition into the alm state after it is problem-free.\n\nInstances of this object SHOULD persist across agent restarts.") arcObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 117, 2)) arcTable = MibTable((1, 3, 6, 1, 2, 1, 117, 2, 1)) if mibBuilder.loadTexts: arcTable.setDescription("A table of Alarm Reporting Control (ARC) settings on the system.\n\nAlarm Reporting Control is a feature that provides an automatic\nin-service provisioning capability. Alarm reporting is turned\noff on a per-resource basis for a selective set of potential\nalarm conditions to allow sufficient time for customer testing\nand other maintenance activities in an 'alarm free' state.\nOnce a resource is ready for service, alarm reporting is\nautomatically or manually turned on.\n\nFunctional description and requirements of Alarm Reporting\nControl are defined in ITU-T Recommendation M.3100 Amendment 3\n[M.3100 Amd3].") arcEntry = MibTableRow((1, 3, 6, 1, 2, 1, 117, 2, 1, 1)).setIndexNames((0, "ARC-MIB", "arcIndex"), (0, "ARC-MIB", "arcAlarmType"), (0, "ARC-MIB", "arcNotificationId")) if mibBuilder.loadTexts: arcEntry.setDescription("A conceptual row that contains information about an ARC setting\nof a resource in the system.\n\nImplementation need to be aware that if the total size of\narcIndex and arcNotificationId exceeds 114 sub-IDs, then OIDs\nof column instances in this table will have more than 128\nsub-IDs and cannot be access using SNMPv1, SNMPv2c, or snmpv3.") arcIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 117, 2, 1, 1, 1), ResourceId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: arcIndex.setDescription("This object uniquely identifies a resource, which is under the\narcState's control for the associated arcAlarmType.\n\nFor example, if the resource is an interface, this object will\npoint to an instance of interface, e.g., ifIndex.1.") arcAlarmType = MibTableColumn((1, 3, 6, 1, 2, 1, 117, 2, 1, 1, 2), IANAItuProbableCauseOrZero()).setMaxAccess("noaccess") if mibBuilder.loadTexts: arcAlarmType.setDescription("This object identifies the alarm condition type controlled by the\narcState. It specifies the value 0 or a value of\nIANAItuProbableCause that is applicable to the resource.\nIANAItuProbableCause is defined in the IANA-ITU-ALARM-TC\nmodule in the Alarm MIB document.\n\n\n\n\nThe value of zero (0) implies any probable causes that are\napplicable to the resource. Usually, the applicable probable\ncauses of a resource are specified in the resource-specific mib.") arcNotificationId = MibTableColumn((1, 3, 6, 1, 2, 1, 117, 2, 1, 1, 3), ObjectIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: arcNotificationId.setDescription("This object identifies the type of notification to be suppressed.\nThe notification type identified should be the one normally used\nby the resource for reporting its alarms. When the value of 0.0 is\nspecified for this object, it implies all applicable notification\ntypes.") arcState = MibTableColumn((1, 3, 6, 1, 2, 1, 117, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,2,1,)).subtype(namedValues=NamedValues(("nalm", 1), ("nalmQI", 2), ("nalmTI", 3), ("nalmQICD", 4), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: arcState.setDescription("Defined in M.3100 Amendment 3 [M.3100 Amd3], there are five\nARC states: alm, nalm, nalmQI, nalmQICD, and nalmTI.\n\n alm: Alarm reporting is turned on (i.e., is allowed).\n nalm: Alarm reporting is turned off (i.e., not allowed).\n nalmQI: nalm - Qualified Inhibit. Alarm reporting is\n turned off until the managed entity is qualified\n problem-free for an optional persistence interval.\n Problem-free means that the condition corresponding\n to the specified alarm type is cleared.\n nalmQICD: nalmQI - Count down. This is a substate of nalmQI\n and performs the persistence timing countdown\n function after the managed entity is qualified\n problem-free.\n nalmTI: nalm - Timed Inhibit. Alarm reporting is turned\n off for a specified time interval.\n\nalm may transition to nalm, nalmQI or nalmTI by management request.\n\nnalm may transition to alm, nalmQI or nalmTI by management request.\n\n\n\n\nnalmQI may transition to nalm or alm by management request.\n\nnalmQI may transition to alm automatically\n if qualified problem-free (if nalmQICD is not supported) or\n if the CD timer expired (if nalmQICD is supported)\n\nnalmTI may transition to alm or nalm by management request.\n\nnalmTI may transition to alm automatically if the TI timer expired.\n\nFurther details of ARC state transitions are defined in Figure 3\nof M.3100 Amd3 [M.3100 Amd3].\n\nAccording to the requirements in M.3100 Amd3, a resource\nsupporting the ARC feature shall support the alm state and at\nleast one of the nalm, nalmTI, and nalmQI states. The nalmQICD\nstate is an optional substate of nalmQI.\n\nThe arcState object controls the alarm reporting state of a\nresource. Note that the state alm (alarm reporting is allowed) is\nnot listed in the enumeration of the value of this object. However,\nthis state is implicitly supported by the mib.\nOnce a resource enters the normal reporting mode (i.e., in the alm\nstate) for the specified alarm type, the corresponding\nrow will be automatically deleted from the arc table.\nAlso the manual setting of arcState to alm can be achieved through\nsetting the RowStatus object to 'destroy'.\n\nThe nalamQICD state is a transitional state from nalmQI to alm. It\nis optional depending on the resource type and the implementation\nof the resource. If it is supported, before the state\ntransitions from nalmQI to alm, a count down period is activated\nfor a duration set by the object arcNalmCDTimeInterval. When the\ntime is up, the arcState transitions to alm.") arcNalmTimeRemaining = MibTableColumn((1, 3, 6, 1, 2, 1, 117, 2, 1, 1, 5), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: arcNalmTimeRemaining.setDescription("This variable indicates the time remaining in the nalmTI state\nor the nalmQICD state, in units of second.\n\nAt the moment the resource enters the nalmTI state, this variable\nwill have the initial value equal to the value of\n\n\n\narcNalmTITimeInterval and then starts decrementing as time goes by.\n\nSimilarly at the moment the resource enters the nalmQICD state,\nthis variable will have the initial value equal to the value of\narcNalmCDTimeInterval and then starts decrementing as time goes by.\n\nThis variable is read-create and thus will allow the manager to\nwrite (extend or shorten), as needed, the remaining time when the\nresource is in the nalmTI or nalmQICD state.\n\nIf this variable is supported and the resource is currently not in\nthe nalmTI nor nalmQICD state, the value of this variable shall\nequal to zero.") arcRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 117, 2, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: arcRowStatus.setDescription("This columnar object is used for creating and deleting a conceptual\nrow of the arcTable. It is used to create and delete an arc\nsetting.\n\nSetting RowStatus to createAndGo or createAndWait implies creating\na new ARC setting for the specified resource and alarm type.\nSetting RowStatus to destroy implies removing the ARC setting and\nthus has the effect of resuming normal reporting behaviour of the\nresource for the alarm type.\n\nOnly the objects arcState, arcNalmTimeRemaining, and arcRowStatus\ncan be updated when a row is active. All the objects, except\narcNalmTimeRemaining, must be set before the row can be activated.") arcStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 117, 2, 1, 1, 7), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: arcStorageType.setDescription("The storage type for this conceptual row.\nConceptual rows having the value 'permanent' must\nallow write-access at a minimum to arcState.\nNote that arcState must allow change by management request.\nTherefore, no row can be created with 'readOnly'.\nIf a set operation tries to set the value to 'readOnly',\nthen an 'inconsistentValue' error must be returned.") arcConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 117, 3)) arcCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 117, 3, 1)) arcGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 117, 3, 2)) # Augmentions # Groups arcSettingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 117, 3, 2, 1)).setObjects(*(("ARC-MIB", "arcStorageType"), ("ARC-MIB", "arcRowStatus"), ("ARC-MIB", "arcState"), ) ) if mibBuilder.loadTexts: arcSettingGroup.setDescription("A collection of objects applicable to\nbasic ARC setting.") arcTIGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 117, 3, 2, 2)).setObjects(*(("ARC-MIB", "arcTITimeInterval"), ("ARC-MIB", "arcNalmTimeRemaining"), ) ) if mibBuilder.loadTexts: arcTIGroup.setDescription("A collection of objects applicable to\nARC setting that support the Time Inhibit (TI)\nfunction.") arcQICDGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 117, 3, 2, 3)).setObjects(*(("ARC-MIB", "arcCDTimeInterval"), ("ARC-MIB", "arcNalmTimeRemaining"), ) ) if mibBuilder.loadTexts: arcQICDGroup.setDescription("A collection of objects applicable to\nARC setting that support the Quality Inhibit (QI)\nCount Down (CD) function.") # Compliances arcCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 117, 3, 1, 1)).setObjects(*(("ARC-MIB", "arcTIGroup"), ("ARC-MIB", "arcSettingGroup"), ("ARC-MIB", "arcQICDGroup"), ) ) if mibBuilder.loadTexts: arcCompliance.setDescription("The compliance statement for systems supporting\nthe ARC MIB module.") # Exports # Module identity mibBuilder.exportSymbols("ARC-MIB", PYSNMP_MODULE_ID=arcMibModule) # Types mibBuilder.exportSymbols("ARC-MIB", IANAItuProbableCauseOrZero=IANAItuProbableCauseOrZero) # Objects mibBuilder.exportSymbols("ARC-MIB", arcMibModule=arcMibModule, arcTimeIntervals=arcTimeIntervals, arcTITimeInterval=arcTITimeInterval, arcCDTimeInterval=arcCDTimeInterval, arcObjects=arcObjects, arcTable=arcTable, arcEntry=arcEntry, arcIndex=arcIndex, arcAlarmType=arcAlarmType, arcNotificationId=arcNotificationId, arcState=arcState, arcNalmTimeRemaining=arcNalmTimeRemaining, arcRowStatus=arcRowStatus, arcStorageType=arcStorageType, arcConformance=arcConformance, arcCompliances=arcCompliances, arcGroups=arcGroups) # Groups mibBuilder.exportSymbols("ARC-MIB", arcSettingGroup=arcSettingGroup, arcTIGroup=arcTIGroup, arcQICDGroup=arcQICDGroup) # Compliances mibBuilder.exportSymbols("ARC-MIB", arcCompliance=arcCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/APPC-MIB.py0000644000014400001440000055045611736645134020175 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python APPC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:40 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( snanauMIB, ) = mibBuilder.importSymbols("SNA-NAU-MIB", "snanauMIB") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DateAndTime, DisplayString, InstancePointer, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "InstancePointer", "TextualConvention") # Types class SnaSenseData(DisplayString): subtypeSpec = DisplayString.subtypeSpec+ValueSizeConstraint(8,8) fixedLength = 8 # Objects appcMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 3)).setRevisions(("1995-12-15 00:00",)) if mibBuilder.loadTexts: appcMIB.setOrganization("IETF SNA NAU MIB Working Group") if mibBuilder.loadTexts: appcMIB.setContactInfo("\nMichael Allen\nWall Data Inc.\nP.O.Box 1120\nDuval, WA 98019, USA\nTel: 1 206 844 3505\nE-mail: mallen@hq.walldata.com\n\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\nZbigniew Kielczewski\nCisco Systems\n3100 Smoketree Court\nRaleigh, NC 27604, USA\nTel: 1 919 871 6326\nE-mail: zbig@cisco.com\nWilliam Kwan\nJupiter Technology Inc.\n200 Prospect Street\nWaltham, MA 02254, USA\nTel: 1 617 894 9300, x423\nE-mail: billk@jti.com\n\nBob Moore\nIBM Corporation\n800 Park Offices Drive\nCNMA/664\nP.O. Box 12195\nResearch Triangle Park, NC 27709, USA\nTel: 1 919 254 4436\nE-mail: remoore@ralvm6.vnet.ibm.com") if mibBuilder.loadTexts: appcMIB.setDescription("This is the MIB module for objects used to manage network\ndevices with APPC capabilities.") appcObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1)) appcGlobal = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 1)) appcCntrlAdminGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 1)) appcCntrlAdminStat = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCntrlAdminStat.setDescription("Indicates the desired state of statistics collection:\n\nnotActive collection of counters is not active.\nactive collection of counters is active.\nWhen this object is set to notActive, all of the entries are\nremoved from the appcSessStatsTable.") appcCntrlAdminRscv = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCntrlAdminRscv.setDescription("Indicates the desired state of RSCV information collection:\nnotActive collection of route selection control vectors\n is not active.\nactive collection of route selection control vectors\n is active.") appcCntrlAdminTrace = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCntrlAdminTrace.setDescription("Indicates the desired state of tracing:\n\nnotActive collection of tracing information is not active\nactive collection of tracing information is active") appcCntrlAdminTraceParm = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCntrlAdminTraceParm.setDescription("Specifies the parameter to be used in conjunction with\nactivating tracing. The actual content is implementation\ndependent.") appcCntrlOperGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2)) appcCntrlOperStat = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCntrlOperStat.setDescription("Indicates the current collection options in effect:\n\nnotActive collection of counters is not active.\nactive collection of counters is active.\n\nStatistical entries are present in the appcSessStatsTable\nonly when the value of this object is 'active'.") appcCntrlOperStatTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCntrlOperStatTime.setDescription("Time since the appcCntrlOperStat object last changed.\nThis time is in hundreds of a second.") appcCntrlOperRscv = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCntrlOperRscv.setDescription("Indicates the current collection options in effect:\n\nnotActive collection of route selection control vectors\n is not active.\nactive collection of route selection control vectors\n is active.") appcCntrlOperRscvTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCntrlOperRscvTime.setDescription("Time since the appcCntrlOperRscv object last changed.\nThis time is in hundreds of a second.") appcCntrlOperTrace = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("notActive", 1), ("active", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCntrlOperTrace.setDescription("Indicates the current state of tracing:\n\nnotActive collection of tracing information is not active.\nactive collection of tracing information is active.") appcCntrlOperTraceTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCntrlOperTraceTime.setDescription("Time since the appcCntrlOperTrace object last changed.\nThis time is in hundreds of a second.") appcCntrlOperTraceParm = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCntrlOperTraceParm.setDescription("Specifies the parameter used in conjunction with activating\ntracing. The actual content is implementation dependent.") appcGlobalObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3)) appcUpTime = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 1), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcUpTime.setDescription("The time, in hundredths of a second, since the\nAPPC portion of the system was last reinitialized.") appcDefaultModeName = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcDefaultModeName.setDescription("Specifies the mode name to be used under the following\nconditions:\n\n When an incoming BIND request contains a mode name not\n defined at the local node. The parameters defined for\n this mode are used for the inbound implicit mode\n capability.\n\n When an APPC program issues an [MC_]ALLOCATE,\n [MC_]SEND_CONVERSATION, or CNOS verb, or when a CPI-C\n program issues an Allocate (CMALLC) call,\n specifying a mode name not defined at the local node. The\n parameters defined for this mode are used for the outbound\n implicit mode capability.\n\nThis mode name must match a defined entry in the\nappcModeAdminTable.") appcDefaultLuName = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcDefaultLuName.setDescription("Specifies the name of the local LU that is to serve as the\ndefault LU. This is the default LU to which are routed inbound\nBIND requests that exclude the secondary LU name. This field\nis from 1 to 17 characters in length, including a period (.)\nwhich separates the NetId from the NAU name if the NetId is\npresent. This local LU name must match a defined entry in the\nappcLluAdminTable.") appcDefaultImplInbndPlu = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcDefaultImplInbndPlu.setDescription("Specifies whether or not inbound implicit partner LU support\nis enabled. The following values are defined:\n\n no - Specifies that inbound implicit partner LU support\n is disabled, which means that an incoming bind that\n specifies a partner LU that is not defined at the\n local node will be rejected.\n\n yes - Specifies that inbound implicit partner LU support\n is enabled, which provides the capability to accept\n an incoming BIND request that contains a partner LU\n name that is not defined at the local node.") appcDefaultMaxMcLlSndSize = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcDefaultMaxMcLlSndSize.setDescription("Specifies the maximum size of a logical record to be used for\na mapped conversation when sending data to either the inbound\nor outbound implicit partner LU. This size is the maximum\nnumber of bytes in a single logical record, as indicated in the\nLL field of the record. The default value is 32767.\n\nNote that this object does not limit the maximum size that an\napplication program can supply on the Send Data call for a\nmapped conversation.") appcDefaultFileSpec = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcDefaultFileSpec.setDescription("The local file specification that is to be searched by the\nAPPC attach manager when no DEFINE_TP verb has been issued\nfor the TP name received on an incoming attach. In this\ncase, the attach manager will attempt to start a program\nwhose file name is the same as the incoming TP name. If\nfound, the program is loaded. If not found, the attach is\nrejected.\n\nThe value '*' indicates that the normal search path for\nexecutable programs is to be used for locating an undefined\ntransaction program.\n\nA null string indicates that there is no default file\nspecification for undefined transaction programs.") appcDefaultTpOperation = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,5,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("queuedOperatorStarted", 2), ("queuedOperatorPreloaded", 3), ("queuedAmStarted", 4), ("nonqueuedAmStarted", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcDefaultTpOperation.setDescription("Specifies how the program will be started.\n\nother - Specifies that the default TP operation is none of\n the methods specified below. It may be a\n product-specific method.\n\nqueuedOperatorStarted - Specifies that one version of the\n program will be run at a time. If an incoming\n attach arrives and the program has not been started\n yet, APPC will issue a message to the operator to\n start the specified program. Subsequent attaches\n that arrive while the program is active will be\n queued.\n\nqueuedOperatorPreloaded - Specifies that one version\n of the program will be run at a time. If an\n incoming attach arrives and the program has not\n been started yet, the Attach will be rejected. The\n APPC attach manager determines that a TP has\n started upon reception of an APPC RECEIVE_ALLOCATE\n verb, or a CPI-C Accept_Conversation (CMACCP) or\n Specify_Local_TP_Name (CMSLTP) call. No message is\n sent to the operator. Subsequent attaches that\n arrive while the program is active are queued.\n\nqueuedAmStarted - Specifies that one version of the\n program will be run at a time and will be started\n by the APPC attach manager. Subsequent attaches\n that arrive while the program is active will be\n queued.\n\nnonqueuedAmStarted - Specifies that multiple copies of\n the program will be run at a time and will be\n started by the APPC attach manager. ") appcDefaultTpConvSecRqd = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcDefaultTpConvSecRqd.setDescription("Specifies whether or not conversation security will be used\nfor default TPs.\n\n no - Specifies that the incoming attach does not have to\n contain security information.\n yes - Specifies that the incoming attach must contain\n valid authentication information (e.g., user ID and\n password).") appcLocalCpName = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLocalCpName.setDescription("Specifies the name of the local control point. This field is\nfrom 0 to 17 characters in length, including a period (.) which\nseparates the NetId from the NAU name if the NetId is present.\nA null string indicates that the value is unknown.") appcActiveSessions = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveSessions.setDescription("Specifies the total number of active APPC sessions supported\nby this implementation. Sessions for which both LUs are local\nare counted twice.") appcActiveHprSessions = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 3, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveHprSessions.setDescription("Specifies the total number of active HPR APPC sessions.") appcCnosControl = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4)) appcCnosCommand = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("initSesslimit", 1), ("changeSesslimit", 2), ("resetSesslimit", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosCommand.setDescription("Specifies the CNOS command or verb to issue. First set the\nvalues of the particular CNOS parameter objects (from the range\n{ appcCnosControl 2 } through { appcCnosControl 8 }) that apply\nto the CNOS command to be executed, set the three CNOS target\nobjects ({ appcCnosControl 9 } through { appcCnosControl 11 }),\nthen set this object to the command to be executed.\n\nHere is the list of parameter objects that must be set for each\nof the CNOS commands:\n\n INIT_SESSION_LIMIT -\n appcCnosMaxSessLimit\n appcCnosMinCwinLimit\n appcCnosMinClosLimit\n appcCnosTargetLocLuName\n appcCnosTargetParLuName\n appcCnosTargetModeName\n\n CHANGE_SESSION_LIMIT -\n appcCnosMaxSessLimit\n appcCnosMinCwinLimit\n appcCnosMinClosLimit\n appcCnosResponsible\n appcCnosTargetLocLuName\n appcCnosTargetParLuName\n appcCnosTargetModeName\n\n RESET_SESSION_LIMIT -\n appcCnosResponsible\n appcCnosDrainPart\n appcCnosForce\n appcCnosTargetLocLuName\n appcCnosTargetParLuName\n appcCnosTargetModeName") appcCnosMaxSessLimit = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 2), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosMaxSessLimit.setDescription("Specifies the maximum value that the local LU is to use,\nduring CNOS processing, for the session limit. The local LU,\nas a target LU, will negotiate a higher session limit it\nreceives in the CNOS request down to this maximum value. The\nlocal LU, as a source LU, will restrict the session limit it\nsends in a CNOS request to a value less than or equal to this\nmaximum value.\n\n If set (i.e., greater than 0), this overrides the maximum\n session limit defined in the appcModeAdminTable.\n\n This parameter should be set to the desired value before\n setting the command (appcCnosCommand).\n\n This parameter applies to the INITIALIZE_SESSION_LIMIT and\n CHANGE_SESSION_LIMIT verbs.") appcCnosMinCwinLimit = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 3), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosMinCwinLimit.setDescription("Specifies the default minimum contention winner sessions\nlimit.\n\nThis parameter should be set to the desired value before\nsetting the command (appcCnosCommand).\n\nThis parameter applies to the INITIALIZE_SESSION_LIMIT and\nCHANGE_SESSION_LIMIT verbs.") appcCnosMinClosLimit = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 4), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosMinClosLimit.setDescription("Specifies the default minimum contention loser sessions limit.\n\nThis parameter should be set to the desired value before\nsetting the command (appcCnosCommand).\n\nThis parameter applies to the INITIALIZE_SESSION_LIMIT and\nCHANGE_SESSION_LIMIT verbs.") appcCnosDrainSelf = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosDrainSelf.setDescription("Specifies whether the local LU is draining its conversations\nfor this mode. When a mode session limit is reset (via a CNOS\nRESET_SESSION_LIMIT request), the local LU could be set to\nprocess all queued conversations before deactivating all of the\nsessions (using the SNA Bracket Initiation Stopped or BIS\nprotocol).\n\nThis parameter should be set to the desired value before\nsetting the command (appcCnosCommand).\n\nThis parameter applies only to the RESET_SESSION_LIMIT verb.") appcCnosDrainPart = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosDrainPart.setDescription("Specifies whether the partner LU is draining its conversations\nfor this mode. When a mode session limit is reset (via a CNOS\nRESET_SESSION_LIMIT request), the partner LU could be set to\nprocess all queued conversations before deactivating all of the\nsessions (using the SNA Bracket Initiation Stop or BIS\nprotocol).\n\nThis parameter should be set to the desired value before\nsetting the command (appcCnosCommand).\n\nThis parameter applies only to the RESET_SESSION_LIMIT verb.") appcCnosResponsible = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("source", 1), ("target", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosResponsible.setDescription("Specifies which LU is responsible for selecting and\ndeactivating sessions as a result of a change that decreases\nthe session limit or the maximum number of contention winner\nsessions for the source or target LU. If no session need to be\ndeactivated, this parameter is ignored.\n\n source - specifies that the source (local) LU is\n responsible. The target (partner) LU\n cannot negotiate this value.\n target - specifies that the target (partner) LU is\n responsible. The target LU can negotiate\n this value to source.\n\n This parameter should be set to the desired value before\n setting the command (appcCnosCommand).\n\n This parameter applies to the RESET_SESSION_LIMIT and\n CHANGE_SESSION_LIMIT verbs.") appcCnosForce = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosForce.setDescription("Specifies whether the local LU should force the resetting of\nthe session limit when certain error conditions occur that\nprevent the successful exchange of CNOS request and reply.\n\n This parameter should be set to the desired value before\n setting the command (appcCnosCommand).\n\n This parameter applies only to the RESET_SESSION_LIMIT verb.") appcCnosTargetLocLuName = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosTargetLocLuName.setDescription("The SNA name of the local LU to which the CNOS command is\nto be applied. This field is from 1 to 17 characters in\nlength, including a period (.) which separates the\nNetId from the NAU name if the NetId is present.\n\nThis object should be set to the desired value before setting\nthe command (appcCnosCommand).\n\nThis parameter applies to all CNOS verbs.") appcCnosTargetParLuName = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosTargetParLuName.setDescription("The SNA name of the partner LU to which the CNOS command is\nto be applied. This field is from 1 to 17 characters in\nlength, including a period (.) which separates the\nNetId from the NAU name if the NetId is present.\n\nThis object should be set to the desired value before setting\nthe command (appcCnosCommand).\n\nThis parameter applies to all CNOS verbs.") appcCnosTargetModeName = MibScalar((1, 3, 6, 1, 2, 1, 34, 3, 1, 1, 4, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcCnosTargetModeName.setDescription("Specifies the mode name to which the CNOS command is to be\napplied.\n\nThis object should be set to the desired value before setting\nthe command (appcCnosCommand).\n\nThis parameter applies to all CNOS verbs.") appcLu = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 2)) appcLluAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1)) if mibBuilder.loadTexts: appcLluAdminTable.setDescription("APPC Local LU Admin Table.") appcLluAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1)).setIndexNames((0, "APPC-MIB", "appcLluAdminName")) if mibBuilder.loadTexts: appcLluAdminEntry.setDescription("Information about local APPC LUs. ") appcLluAdminName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcLluAdminName.setDescription("Specifies the name of the local LU. This field is from 1 to\n17 characters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.") appcLluAdminDepType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("dependent", 1), ("independent", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminDepType.setDescription("This value identifies whether the LU is dependent or\nindependent.") appcLluAdminLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminLocalAddress.setDescription("The local address for this LU is a byte with a value ranging\nfrom 0 to 254. For dependent LUs, this value ranges from 1 to\n254; for independent LUs this value is always 0.") appcLluAdminSessLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminSessLimit.setDescription("The maximum number of sessions supported by this LU.") appcLluAdminBindRspMayQ = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminBindRspMayQ.setDescription("Indicates whether or not the local LU, as the sender of a BIND\nrequest, allows a partner partner LU to delay sending the BIND\nresponse if the partner LU cannot process the BIND request\nimmediately.") appcLluAdminCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("prohibited", 1), ("required", 2), ("negotiable", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminCompression.setDescription("Specifies whether compression is supported. The local LU uses\nthis value for negotiation during session activation\n(SNA BIND).\n\n prohibited - specifies that no compression is to be used.\n required - specifies that compression is required.\n negotiable - specifies that the usage of compression\n is to be negotiated between the LUs. The\n level of compression is also negotiated.") appcLluAdminInBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminInBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\ninbound data. The local LU uses this value in conjunction with\nappcLluAdminCompression for negotiation during session\nactivation (SNA BIND).\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger number bits used for the code, the more\n storage space is required for the dictionary, but\n the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcLluAdminOutBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminOutBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\noutbound data. The local LU uses this value in conjunction\nwith appcLluAdminCompression for negotiation during session\nactivation (SNA BIND).\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger of number bits used for the code, the\n more storage space is required for the dictionary,\n but the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcLluAdminCompRleBeforeLZ = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminCompRleBeforeLZ.setDescription("Specifies whether run-length encoding is to be applied to the\ndata before applying Lempel-Ziv-like compression. The local LU\nuses this value for negotiation during session activation (SNA\nBIND). This parameter is only supported if LZ compression is\nused.") appcLluAdminAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 1, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluAdminAlias.setDescription("A local alias for the local LU. If not known or\nnot applicable, this object contains a zero-length\nstring.") appcLluOperTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2)) if mibBuilder.loadTexts: appcLluOperTable.setDescription("APPC Local LU Operational Table.") appcLluOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1)).setIndexNames((0, "APPC-MIB", "appcLluOperName")) if mibBuilder.loadTexts: appcLluOperEntry.setDescription("Information about local APPC LUs.") appcLluOperName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcLluOperName.setDescription("Specifies the name of the local LU. This field is from 1 to\n17 characters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.") appcLluOperDepType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("dependent", 1), ("independent", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperDepType.setDescription("This value identifies whether the LU is dependent or\nindependent.") appcLluOperLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperLocalAddress.setDescription("The local address for this LU is a byte with a value ranging\nfrom 0 to 254. For dependent LUs, this value ranges from 1 to\n254; for independent LUs this value is always 0.") appcLluOperSessLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperSessLimit.setDescription("The maximum number of sessions supported by this LU.") appcLluOperBindRspMayQ = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperBindRspMayQ.setDescription("Indicates whether or not the local LU, as the sender of a BIND\nrequest, allows a partner LU to delay sending the BIND\nresponse if the partner LU cannot process the BIND request\nimmediately.") appcLluOperCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("prohibited", 1), ("required", 2), ("negotiable", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperCompression.setDescription("Specifies whether compression is supported. The local LU uses\nthis value for negotiation during session activation (SNA\nBIND).\n\n prohibited - specifies that no compression is to be used.\n required - specifies that compression is required.\n negotiable - specifies that the usage of compression\n is to be negotiated between the LUs. The\n level of compression is also negotiated.") appcLluOperInBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperInBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\ninbound data. The local LU uses this value in conjunction with\nappcLluOperCompression for negotiation during session\nactivation (SNA BIND).\n\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger of number bits used for the code, the\n more storage space is required for the dictionary,\n but the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcLluOperOutBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperOutBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\noutbound data. The local LU uses this value in conjunction\nwith appcLluAdminCompression for negotiation during session\nactivation (SNA BIND).\n\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger of number bits used for the code, the\n more storage space is required for the dictionary,\n but the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcLluOperCompRleBeforeLZ = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperCompRleBeforeLZ.setDescription("Specifies whether run-length encoding is to be applied to the\ndata before applying Lempel-Ziv-like compression. The local LU\nuses this value for negotiation during session activation (SNA\nBIND). This parameter is only supported if LZ compression is\nused.") appcLluOperAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperAlias.setDescription("A local alias for the local LU. If not known or\nnot applicable, this object contains a zero-length\nstring.") appcLluOperActiveSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 2, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLluOperActiveSessions.setDescription("Specifies the total number of active APPC sessions for this\nLU.") appcLuPairAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3)) if mibBuilder.loadTexts: appcLuPairAdminTable.setDescription("APPC Partner LU administrative Table") appcLuPairAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1)).setIndexNames((0, "APPC-MIB", "appcLuPairAdminLocLuName"), (0, "APPC-MIB", "appcLuPairAdminParLuName")) if mibBuilder.loadTexts: appcLuPairAdminEntry.setDescription("Entry of APPC Partner LU Information Table.\nIt is indexed by the local and partner LU Names.") appcLuPairAdminLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcLuPairAdminLocLuName.setDescription("The SNA name of the local LU to which this partner LU\ndefinition applies. This field is from 1 to 17 characters in\nlength, including a period (.) which separates the\nNetId from the NAU name if the NetId is present.\n\nThe reserved value '*ALL' indicates that the partner LU\ndefinition applies to all local LUs, and not just to a single\nlocal LU.") appcLuPairAdminParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcLuPairAdminParLuName.setDescription("The SNA name of the partner LU.\nThis field is from 1 to 17 characters in\nlength, including a period (.) which separates the\nNetId from the NAU name if the NetId is present.") appcLuPairAdminParLuAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairAdminParLuAlias.setDescription("A local alias for the partner LU. If not known or\nnot applicable, this object contains a zero-length\nstring.") appcLuPairAdminSessLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairAdminSessLimit.setDescription("The maximum number of sessions supported by this partner LU.") appcLuPairAdminSessSec = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("required", 1), ("accepted", 2), ("notAllowed", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairAdminSessSec.setDescription("Specifies the type of session-level security information that\na local LU will accept on BIND requests it receives from the\npartner LU.\n\nrequired - Specifies that the BIND request must carry\n session level verification information that\n will be verified upon receipt.\naccepted - Specifies that the BIND request may carry\n session level verification information that\n will be verified upon receipt.\nnotAllowed - Specifies that the BIND request must not carry\n session level verification information.") appcLuPairAdminSecAccept = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,5,4,)).subtype(namedValues=NamedValues(("none", 1), ("conversation", 2), ("alreadyVerified", 3), ("persistentVerification", 4), ("aVandpV", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairAdminSecAccept.setDescription("Specifies support for different levels of access security\ninformation in ATTACH requests received from this partner LU.\n\nPossible values are:\n\n none - No access security information will be\n accepted on allocation requests (ATTACH) from\n this LU.\n conversation\n - Allocation requests will not be accepted that\n include already verified or persistent\n verification indicators. Accept\n conversation-level access security\n information, which must include both a user\n Id and password, and may also include a\n profile.\n alreadyVerified\n - Allocation requests will be accepted that\n include already verified indicators.\n Persistent verification indicators will not\n be accepted.\n persistentVerification\n - Allocation requests will be accepted that\n include persistent verification indicators.\n Already verified indicators will not be\n accepted.\n aVandpV - Allocation requests will be accepted that\n include already verified or persistent\n verification indicators.") appcLuPairAdminLinkObjId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 7), InstancePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairAdminLinkObjId.setDescription("Specifies the link associated with this partner LU. This\nvalue points to the row in the table containing information on\nthe link instance. (e.g., the sdlcLSAdminTable of the SNA DLC\nMIB module). This object may be NULL if the link is not\nspecified or if a link is not applicable (as for APPN-level\nnodes).") appcLuPairAdminParaSessSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 3, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairAdminParaSessSup.setDescription("Defined Parallel Sessions Supported.\n\nIndicates whether or not multiple sessions between the partner\nLU and its associated local LU are permitted. Parallel session\nsupport also indicates that Change Number of Sessions (CNOS)\nwill be used to negotiate session limits between the LUs.") appcLuPairOperTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4)) if mibBuilder.loadTexts: appcLuPairOperTable.setDescription("Table of active partner/local LU pairs. Two entries are\npresent in the table when both LUs in a pair are local.") appcLuPairOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1)).setIndexNames((0, "APPC-MIB", "appcLuPairOperLocLuName"), (0, "APPC-MIB", "appcLuPairOperParLuName")) if mibBuilder.loadTexts: appcLuPairOperEntry.setDescription("Entry representing one partner/local LU pair.") appcLuPairOperLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcLuPairOperLocLuName.setDescription("The SNA name of the local LU. This field is from 1 to 17\ncharacters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.\n\nIf this object has the same value as appcLluOperName,\nthen the two entries being indexed apply to the same\nresource (specifically, to the same local LU).") appcLuPairOperParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcLuPairOperParLuName.setDescription("The SNA name of the partner LU.\nThis field is from 1 to 17 characters in\nlength, including a period (.) which separates the\nNetId from the NAU name if the NetId is present.") appcLuPairOperParLuAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperParLuAlias.setDescription("A local alias for the partner LU. If not known or\nnot applicable, this object contains a zero-length\nstring.") appcLuPairOperSessLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperSessLimit.setDescription("The maximum number of sessions supported by this partner LU.") appcLuPairOperSessSec = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("required", 1), ("accepted", 2), ("notAllowed", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperSessSec.setDescription("Specifies the type of security information that a local LU\nwill accept on BIND requests it receives from the partner LU.\n\nrequired - Specifies that the BIND request must carry\n session level verification information that\n will be verified upon receipt.\naccepted - Specifies that the BIND request may carry\n session level verification information that\n will be verified upon receipt.\nnotAllowed - Specifies that the BIND request must not carry\n session level verification information.") appcLuPairOperSecAccept = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,5,4,)).subtype(namedValues=NamedValues(("none", 1), ("conversation", 2), ("alreadyVerified", 3), ("persistentVerification", 4), ("aVandpV", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperSecAccept.setDescription("Specifies support for different levels of security acceptance\ninformation in ATTACH requests received from this partner LU.\n\nPossible values are:\n\n none - No access security information will be\n accepted on allocation requests (ATTACH) from\n this LU.\n conversation\n - Allocation requests will not be accepted that\n include already verified or persistent\n verification indicators. Accept\n conversation-level access security\n information, which must include both a user\n Id and password, and may also include a\n profile.\n alreadyVerified\n - Allocation requests will be accepted that\n include already verified indicators.\n Persistent verification indicators will not\n be accepted.\n persistentVerification\n - Allocation requests will be accepted that\n include persistent verification indicators.\n Already verified indicators will not be\n accepted.\n aVandpV - Allocation requests will be accepted that\n include already verified or persistent\n verification indicators.") appcLuPairOperLinkObjId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 7), InstancePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperLinkObjId.setDescription("Specifies the link associated with this partner LU. This\nvalue points to the row in the table containing information on\nthe link instance. (e.g., the sdlcLSAdminTable of the SNA DLC\nMIB module). This object may be NULL if the link is not\nspecified or if a link is not applicable (as for APPN-level\nnodes).") appcLuPairOperParaSessSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperParaSessSup.setDescription("Active Parallel Sessions Supported.\n\nIndicates whether or not multiple session between the partner\nLU and its associated local LU are permitted. Parallel\nsession support also indicates that Change Number of Sessions\n(CNOS) will be used to negotiate session limits between the\nLUs.") appcLuPairOperParaSessSupLS = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperParaSessSupLS.setDescription("Active Parallel Sessions Supported - last starting value.\n\nThis object represents the initial value proposed by the local\nLU the last time this capability was negotiated, i.e., when\nthe first session was bound between the local LU and its\npartner.") appcLuPairOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 4, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcLuPairOperState.setDescription("The value identifies the current operational state of this LU\npair:\n\n inactive (1) - no active or pending session exists\n between the LUs.\n active (2) - an active or pending session exists\n between the LUs.") appcModeAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5)) if mibBuilder.loadTexts: appcModeAdminTable.setDescription("APPC Mode Table") appcModeAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1)).setIndexNames((0, "APPC-MIB", "appcModeAdminLocLuName"), (0, "APPC-MIB", "appcModeAdminParLuName"), (0, "APPC-MIB", "appcModeAdminModeName")) if mibBuilder.loadTexts: appcModeAdminEntry.setDescription("Entry of APPC Mode Information Table.") appcModeAdminLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcModeAdminLocLuName.setDescription("The SNA name of the local LU to which this mode definition\napplies. This field is from 1 to 17 characters in length,\nincluding a period (.) which separates the NetId from the\nNAU name if the NetId is present.\n\nThe reserved value '*ALL' indicates that the mode definition\napplies to all local LUs for the SNA node identified by\nappcLocalCpName, and not just to a single local LU.") appcModeAdminParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcModeAdminParLuName.setDescription("The SNA name of the partner LU to which this mode definition\napplies. This field is from 1 to 17 characters in length,\nincluding a period (.) which separates the NetId from the\nNAU name if the NetId is present.\n\nThe reserved value '*ALL' indicates that the mode definition\napplies to all partner LUs for the SNA node identified by\nappcModeAdminLocLuName, and not just to a single partner LU.") appcModeAdminModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcModeAdminModeName.setDescription("Specifies the mode name. A mode defines the characteristics\nfor a group of sessions. The mode name can be blank (8\nspace characters). ") appcModeAdminCosName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminCosName.setDescription("Specifies the class of service (COS) name associated with\nthis mode. If the implementation does not support COS names,\na null string is returned.") appcModeAdminSessEndTpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminSessEndTpName.setDescription("Specifies the name of the transaction program (TP) to be\ninvoked when a session using this mode is deactivated or ended.\nIf no such TP is defined, this object is a null string. When\nthe TP name consists entirely of displayable EBCDIC code\npoints, it is mapped directly to the equivalent ASCII display\nstring. However, registered TP names always have a non-\ndisplayable EBCDIC code point (value less than or equal to\nx'3F') as the first character, so they cannot be directly\nmapped to an ASCII display string. These TP names are\nconverted to a display string that is equivalent to a\nhexadecimal display of the EBCDIC code points. For example,\nthe 2-byte TP name x'06F1' (CNOS) is converted to the 6-byte\nASCII display string '06F1' (including the two single quotes).") appcModeAdminMaxSessLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminMaxSessLimit.setDescription("Specifies the maximum value that the local LU is to use,\nduring CNOS processing, for the session limit. The local LU,\nas a target LU, will negotiate a higher session limit it\nreceives in the CNOS request down to this maximum value. The\nlocal LU, as a source LU, will restrict the session limit it\nsends in a CNOS request to a value less than or equal to this\nmaximum value.") appcModeAdminMinCwinLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminMinCwinLimit.setDescription("Specifies the default minimum contention winner sessions\nlimit. Some implementations internally issue a\nINITIALIZE_SESSION_LIMIT verb when a Mode is created. This\nvalue is the parameter used for the CNOS processing of that\nverb. This parameter is not used when issuing an explicit\nINITIALIZE_SESSION_LIMIT verb. The equivalent object in\nappcCnosCommandTable is used.") appcModeAdminMinClosLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminMinClosLimit.setDescription("Specifies the default minimum contention loser sessions limit.\nSome implementations internally issue a\nINITIALIZE_SESSION_LIMIT verb when a Mode is created. This\nvalue is the parameter used for the CNOS processing of that\nverb. This is the same as target minimum contention winner\nsessions. This parameter is not used when issuing an explicit\nINITIALIZE_SESSION_LIMIT verb. The equivalent object in\nappcCnosCommandTable is used.") appcModeAdminConWinAutoActLmt = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminConWinAutoActLmt.setDescription("Specifies the limit on the number of contention winner\nsessions to be automatically activated when the minimum number\nof contention winner sessions increases (as a result of CNOS\nprocessing). The actual number of sessions activated is the\nlesser of this value and the new minimum number of contention\nwinner sessions. ") appcModeAdminRecvPacWinSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminRecvPacWinSz.setDescription("Specifies the size of the receive pacing window. This value is\nused for negotiation during session activations (SNA BIND).\n\nThe meaning of this value when set to 0 depends on whether\nadaptive pacing is supported:\n adaptive pacing No limit on window size\n fixed pacing No pacing is supported") appcModeAdminSendPacWinSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminSendPacWinSz.setDescription("Specifies the size of the send pacing window. This value is\nused for negotiation during session activations (SNA BIND).\n\nThe meaning of this value when set to 0 depends on whether\nadaptive pacing is supported:\n adaptive pacing No limit on window size\n fixed pacing No pacing is supported") appcModeAdminPrefRecvRuSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminPrefRecvRuSz.setDescription("Specifies the preferred receive RU (Request Unit) size of\nnormal-flow requests on the sessions. This value must be less\nthan or equal to the value specified in\nappcModeAdminRecvRuSzUpBnd and greater than or equal to the\nvalue specified in appcModeAdminRecvRuSzLoBnd.\n\n The local LU specifies this value for the receive maximum RU\n size in session activation (SNA BIND) requests and responses.\n It will allow negotiation up to the appcModeAdminRecvRuSzUpBnd\n value or down to the appcModeAdminRecvRuSzLoBnd value.") appcModeAdminPrefSendRuSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminPrefSendRuSz.setDescription("Specifies the preferred send RU (Request Unit) size of normal-\nflow requests on the sessions. This value must be less than or\nequal to the value specified in appcModeAdminSendRuSzUpBnd and\ngreater than or equal to the value specified in\nappcModeAdminSendRuSzLoBnd.\n\n The local LU specifies this value for the send maximum RU\n size in session activation (SNA BIND) requests and responses.\n It will allow negotiation up to the appcModeAdminSendRuSzUpBnd\n value or down to the appcModeAdminSendRuSzLoBnd value.") appcModeAdminRecvRuSzUpBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminRecvRuSzUpBnd.setDescription("Specifies the upper bound for the maximum receive RU\n(Request Unit) size of normal-flow requests. This is used\nfor negotiation during session activations (SNA BIND). ") appcModeAdminSendRuSzUpBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminSendRuSzUpBnd.setDescription("Specifies the upper bound for the maximum send RU (Request\nUnit) size of normal-flow requests. This is used for\nnegotiation during session activations (SNA BIND). ") appcModeAdminRecvRuSzLoBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminRecvRuSzLoBnd.setDescription("Specifies the lower bound for the maximum receive RU (Request\nUnit) size of normal-flow requests. This is used for\nnegotiation during session activations (SNA BIND). ") appcModeAdminSendRuSzLoBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminSendRuSzLoBnd.setDescription("Specifies the lower bound for the maximum send RU (Request\nUnit) size of normal-flow requests. This is used for\nnegotiation during session activations (SNA BIND). ") appcModeAdminSingSessReinit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,5,1,)).subtype(namedValues=NamedValues(("notApplicable", 1), ("operatorControlled", 2), ("primaryOnly", 3), ("secondaryOnly", 4), ("primaryOrSecondary", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminSingSessReinit.setDescription("Specifies the responsibility for session reinitiation of a\nsingle session with the partner LU (when the session goes\ndown). The local LU uses this parameter to specify the session\nreinitiation responsibility in session activation (SNA BIND)\nrequests and responses.\n\n notApplicable - specifies that this parameter has\n no meaning since the value of\n appcLuPairAdminParaSessSup is yes.\n The field in the SNA BIND is\n reserved (set to zero).\n operatorControlled - specifies that neither LU will\n automatically attempt to reinitiate\n the session. The operator on either\n side will manually reactivate the\n session. A contention race (both\n side reinitiating at the same time)\n is won by the LU with the\n lexicographically greater fully-\n qualified LU name.\n primaryOnly - specifies that the primary LU will\n automatically attempt to reinitiate\n the session.\n secondaryOnly - specifies that the secondary LU will\n automatically attempt to reinitiate\n the session.\n primaryOrSecondary - specifies that either the primary or\n the secondary may automatically\n attempt to reinitiate the session.\n A contention race is handled the\n same way as with operatorControlled.") appcModeAdminCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("prohibited", 1), ("required", 2), ("negotiable", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminCompression.setDescription("Specifies whether compression is supported. The local LU uses\nthis value for negotiation during session activation (SNA\nBIND).\n\n prohibited - specifies that no compression is to be used.\n required - specifies that compression is required.\n negotiable - specifies that the usage of compression\n is to be negotiated between the LUs. The\n level of compression is also negotiated.") appcModeAdminInBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminInBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\ninbound data. The local LU uses this value in conjunction with\nappcModeAdminCompression for negotiation during session\nactivation (SNA BIND).\n\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger of number bits used for the code, the\n more storage space is required for the dictionary,\n but the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcModeAdminOutBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminOutBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\noutbound data. The local LU uses this value in conjunction\nwith appcModeAdminCompression for negotiation during session\nactivation (SNA BIND).\n\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger of number bits used for the code, the\n more storage space is required for the dictionary,\n but the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcModeAdminCompRleBeforeLZ = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminCompRleBeforeLZ.setDescription("Specifies whether run-length encoding is to be applied to the\ndata before applying Lempel-Ziv-like compression. The local LU\nuses this value for negotiation during session activation (SNA\nBIND). This parameter is only supported if LZ compression is\nused.") appcModeAdminSyncLvl = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("none", 1), ("noneConfirm", 2), ("noneConfirmSyncPoint", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminSyncLvl.setDescription("Specifies the sync level support. This value is used for\nnegotiation during session activations (SNA BIND).\n\n none - No sync level is supported.\n noneConfirm - None and Confirm levels supported.\n noneConfirmSyncPoint - None, Confirm, and Sync Point is\n supported.") appcModeAdminCrypto = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 5, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("notSupported", 1), ("mandatory", 2), ("selective", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeAdminCrypto.setDescription("Specifies whether session-level cryptography is supported.\nThis value is used for negotiation during session activations\n(SNA BIND).\n notSupported - Specifies session-level cryptography\n is not to be used.\n mandatory - Specifies session-level cryptography\n must be used.\n selective - Specifies session-level cryptography\n is required just on selected requests\n flowing on the sessions.") appcModeOperTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6)) if mibBuilder.loadTexts: appcModeOperTable.setDescription("Operational APPC Mode Information. Two entries are present in\nthe table when both LUs in a pair are local.") appcModeOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1)).setIndexNames((0, "APPC-MIB", "appcModeOperLocLuName"), (0, "APPC-MIB", "appcModeOperParLuName"), (0, "APPC-MIB", "appcModeOperModeName")) if mibBuilder.loadTexts: appcModeOperEntry.setDescription("Entry of APPC mode operational information table. This entry\ndoes not augment the appcModeAdminEntry, but reflects an actual\noperational mode for a given local LU - partner LU pair.") appcModeOperLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcModeOperLocLuName.setDescription("The SNA name of the local LU. This field is from 1 to 17\ncharacters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.\nIf this object has the same value as appcLluOperName,\nthen the two entries being indexed apply to the same\nresource (specifically, to the same local LU).") appcModeOperParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcModeOperParLuName.setDescription("The SNA name of the partner LU. This field is from 1 to 17\ncharacters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.\n\nIf this object has the same value as appcLuPairOperParLuName,\nthen the two entries being indexed apply to the same\nresource (specifically, to the same partner LU).") appcModeOperModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcModeOperModeName.setDescription("Specifies the mode name. A mode defines the characteristics\nfor a group of sessions. The mode name can be blank (8\nspace characters). ") appcModeOperCosName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperCosName.setDescription("Specifies the class of service (COS) name associated with\nthis mode. If the implementation does not support COS names,\na zero-length string is returned.") appcModeOperSessEndTpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSessEndTpName.setDescription("Specifies the name of the transaction program (TP) to be\ninvoked when a session using this mode is deactivated or ended.\nIf the name is NULL, no transaction program is invoked. When\nthe TP name consists entirely of displayable EBCDIC code\npoints, it is mapped directly to the equivalent ASCII display\nstring. However, registered TP names always have a non-\ndisplayable EBCDIC code point (value less than or equal to\nx'3F') as the first character, so they cannot be directly\nmapped to an ASCII display string. These TP names are\nconverted to a display string that is equivalent to a\nhexadecimal display of the EBCDIC code points. For example,\nthe 2-byte TP name x'06F1' (CNOS) is converted to the 6-byte\nASCII display string '06F1' (including the two single quotes).") appcModeOperSessLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSessLimit.setDescription("Specifies the current session limit of this mode as negotiated\nthrough APPC CNOS (Change Number of Sessions) processing.\nIdentifies the total number of sessions that can be established\nbetween the local and partner LU using this mode.") appcModeOperMaxSessLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperMaxSessLimit.setDescription("Specifies the maximum value that the local LU is to use,\nduring CNOS processing, for the session limit. The local LU,\nas a target LU, will negotiate a higher session limit it\nreceives in the CNOS request down to this maximum value. The\nlocal LU, as a source LU, will restrict the session limit it\nsends in a CNOS request to a value less than or equal to this\nmaximum value.") appcModeOperMinCwinLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperMinCwinLimit.setDescription("Specifies the minimum contention winner sessions limit that\nwas negotiated via CNOS processing.") appcModeOperMinClosLimit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperMinClosLimit.setDescription("Specifies the minimum contention loser sessions limit that\nwas negotiated via CNOS processing. This is the same as\ntarget minimum contention winner sessions.") appcModeOperConWinAutoActLmt = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperConWinAutoActLmt.setDescription("Specifies the limit on the number of contention winner sessions\nto be automatically activated when the minimum number of\ncontention winner sessions increases (as a result of CNOS\nprocessing). The actual number of sessions activated is the\nlesser of this value and the new minimum number of contention\nwinner sessions. ") appcModeOperRecvPacWinSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperRecvPacWinSz.setDescription("Specifies the size of the receive pacing window. This value is\nused for negotiation during session activations (SNA BIND).\n\nThe meaning of this value when set to 0 depends on whether\nadaptive pacing is supported:\n adaptive pacing - No limit on window size\n fixed pacing - No pacing is supported") appcModeOperSendPacWinSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSendPacWinSz.setDescription("Specifies the size of the send pacing window. This value is\nused for negotiation during session activations (SNA BIND).\n\nThe meaning of this value when set to 0 depends on whether\nadaptive pacing is supported:\n adaptive pacing No limit on window size\n fixed pacing No pacing is supported") appcModeOperPrefRecvRuSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperPrefRecvRuSz.setDescription("Specifies the preferred receive RU (Request Unit) size of\nnormal-flow requests on the sessions. This value must be less\nthan or equal to the value specified in\nappcModeOperRecvRuSzUpBnd and greater than or equal to the\nvalue specified in appcModeOperRecvRuSzLoBnd.\n\n The local LU specifies this value for the receive maximum RU\n size in session activation (SNA BIND) requests and responses.\n It will allow negotiation up to the appcModeOperRecvRuSzUpBnd\n value or down to the appcModeOperRecvRuSzLoBnd value.") appcModeOperPrefSendRuSz = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperPrefSendRuSz.setDescription("Specifies the preferred send RU (Request Unit) size of normal-\nflow requests on the sessions. This value must be less than or\nequal to the value specified in appcModeOperSendRuSzUpBnd and\ngreater than or equal to the value specified in\nappcModeOperSendRuSzLoBnd.\n\n The local LU specifies this value for the send maximum RU\n size in session activation (SNA BIND) requests and responses.\n It will allow negotiation up to the appcModeOperSendRuSzUpBnd\n value or down to the appcModeOperSendRuSzLoBnd value.") appcModeOperRecvRuSzUpBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperRecvRuSzUpBnd.setDescription("Specifies the upper bound for the maximum receive RU\n(Request Unit) size of normal-flow requests. This is used\nfor negotiation during session activations (SNA BIND). ") appcModeOperSendRuSzUpBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSendRuSzUpBnd.setDescription("Specifies the upper bound for the maximum send RU (Request\nUnit) size of normal-flow requests. This is used for\nnegotiation during session activations (SNA BIND). ") appcModeOperRecvRuSzLoBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperRecvRuSzLoBnd.setDescription("Specifies the lower bound for the maximum receive RU\n(Request Unit) size of normal-flow requests. This is used\nfor negotiation during session activations (SNA BIND). ") appcModeOperSendRuSzLoBnd = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSendRuSzLoBnd.setDescription("Specifies the lower bound for the maximum send RU\n(Request Unit) size of normal-flow requests. This is used\nfor negotiation during session activations (SNA BIND). ") appcModeOperSingSessReinit = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 19), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,5,1,)).subtype(namedValues=NamedValues(("notApplicable", 1), ("operatorControlled", 2), ("primaryOnly", 3), ("secondaryOnly", 4), ("primaryOrSecondary", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSingSessReinit.setDescription("Specifies the responsibility for session reinitiation of a\nsingle session with the partner LU (when the session goes\ndown). The local LU uses this parameter to specify the session\nreinitiation responsibility in session activation (SNA BIND)\nrequests and responses.\n\n notApplicable - specifies that this parameter has\n no meaning since the value of\n appcLuPairOperParaSessSup is yes.\n The field in the SNA BIND is\n reserved (set to zero).\n operatorControlled - specifies that neither LU will\n automatically attempt to reinitiate\n the session. The operator on either\n side will manually reactivate the\n session. A contention race (both\n side reinitiating at the same time)\n is won by the LU with the\n lexicographically greater fully-\n qualified LU name.\n primaryOnly - specifies that the primary LU will\n automatically attempt to reinitiate\n the session.\n secondaryOnly - specifies that the secondary LU will\n automatically attempt to reinitiate\n the session.\n primaryOrSecondary - specifies that either the primary or\n the secondary may automatically\n attempt to reinitiate the session.\n A contention race is handled the\n same way as with operatorControlled.") appcModeOperCompression = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("prohibited", 1), ("required", 2), ("negotiable", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperCompression.setDescription("Specifies whether compression is supported. The local LU uses\nthis value for negotiation during session activation (SNA\nBIND).\n\n prohibited - specifies that no compression is to be used.\n required - specifies that compression is required.\n negotiable - specifies that the usage of compression\n is to be negotiated between the LUs. The\n level of compression is also negotiated.") appcModeOperInBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperInBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\ninbound data. The local LU uses this value in conjunction with\nappcModeOperCompression for negotiation during session\nactivation (SNA BIND).\n\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger of number bits used for the code, the\n more storage space is required for the dictionary,\n but the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcModeOperOutBoundCompLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,5,)).subtype(namedValues=NamedValues(("none", 1), ("rle", 2), ("lz9", 3), ("lz10", 4), ("lz12", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperOutBoundCompLevel.setDescription("Specifies the maximum level of compression supported for\noutbound data. The local LU uses this value in conjunction\nwith appcModeOperCompression for negotiation during session\nactivation (SNA BIND).\n\n none - specifies that no compression is to be used.\n rle - specifies run-length encoding compression\n in which a 1 or 2 byte sequence substitution is\n used for each repeated run of the same character.\n lz9 - specifies Lempel-Ziv-like compression in which\n 9 bit codes are used to substitute repeated\n substrings in the data stream. These codes are\n indices that refer to entries in a common\n dictionary generated adaptively at both sender and\n receiver as the data flows and compression occurs.\n The larger of number bits used for the code, the\n more storage space is required for the dictionary,\n but the larger the compression ratio.\n lz10 - specifies a 10 bit code Lempel-Ziv-like compression.\n lz12 - specifies a 12 bit code Lempel-Ziv-like compression.") appcModeOperCompRleBeforeLZ = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperCompRleBeforeLZ.setDescription("Specifies whether run-length encoding is to be applied to the\ndata before applying Lempel-Ziv-like compression. The local LU\nuses this value for negotiation during session activation (SNA\nBIND). This parameter is only supported if LZ compression is\nused.") appcModeOperSyncLvl = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("none", 1), ("noneConfirm", 2), ("noneConfirmSyncPoint", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSyncLvl.setDescription("Specifies the sync level support for sessions involving this\nLU pair and mode name.\n\n none - No sync level is supported.\n noneConfirm - None and Confirm level supported.\n noneConfirmSyncPoint - None, Confirm and Sync Point is\n supported.") appcModeOperCrypto = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 25), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("notSupported", 1), ("mandatory", 2), ("selective", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperCrypto.setDescription("Specifies whether session-level cryptography is supported for\nsessions involving this LU pair and mode name.\n\n notSupported - Specifies session-level cryptography\n is not being used.\n mandatory - Specifies session-level cryptography\n in being used on all requests\n flowing on the sessions.\n selective - Specifies session-level cryptography\n is required just on selected\n requests flowing on the sessions.") appcModeOperSyncLvlLastStart = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 26), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("none", 1), ("noneConfirm", 2), ("noneConfirmSyncPoint", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperSyncLvlLastStart.setDescription("Specifies the sync level support. This value represents the\ninitial value proposed by the local LU the last time this\ncapability was negotiated, i.e., when the first session was\nbound between the local LU and its partner.\n\n none - No sync level is supported.\n noneConfirm - None and Confirm level supported.\n noneConfirmSyncPoint - None, Confirm and Sync Point is\n supported.") appcModeOperCryptoLastStart = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 27), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("notSupported", 1), ("mandatory", 2), ("selective", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperCryptoLastStart.setDescription("Specifies whether session-level cryptography is supported.\nThis value represents the initial value proposed by the local\nLU the last time this capability was negotiated, i.e., when\nthe first session was bound between the local LU and its\npartner.\n notSupported - Specifies session-level cryptography\n is not to be used.\n mandatory - Specifies session-level cryptography\n must be used.\n selective - Specifies session-level cryptography\n is required just on selected\n requests flowing on the sessions.") appcModeOperCNOSNeg = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 28), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperCNOSNeg.setDescription("Specifies whether CNOS negotiation is in process. CNOS\nnegotiation is used to set or change the various session limits\nfor a mode.") appcModeOperActCwin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 29), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperActCwin.setDescription("Specifies the number of active contention winner sessions.") appcModeOperActClos = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 30), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperActClos.setDescription("Specifies the number of active contention loser sessions.") appcModeOperPndCwin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 31), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperPndCwin.setDescription("Specifies the number of contention winner sessions that are\npending activation.") appcModeOperPndClos = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 32), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperPndClos.setDescription("Specifies the number of contention loser sessions that are\npending activation.") appcModeOperPtmCwin = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 33), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperPtmCwin.setDescription("Specifies the number of contention winner sessions that are\npending termination.") appcModeOperPtmClos = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 34), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperPtmClos.setDescription("Specifies the number of contention loser sessions that are\npending termination.") appcModeOperDrainSelf = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 35), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperDrainSelf.setDescription("Specifies whether the local LU is draining its conversations\nfor this mode. When a mode session limit is reset (via a CNOS\nRESET_SESSION_LIMIT request), the local LU could be set to\nprocess all queued conversations before deactivating all of the\nsessions (using the SNA Bracket Initiation Stopped or BIS\nprotocol). ") appcModeOperDrainPart = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 2, 6, 1, 36), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcModeOperDrainPart.setDescription("Specifies whether the partner LU is draining its conversations\nfor this mode. When a mode session limit is reset (via a CNOS\nRESET_SESSION_LIMIT request), the partner LU could be set to\nprocess all queued conversations before deactivating all of the\nsessions (using the SNA Bracket Initiation Stop or BIS\nprotocol). ") appcTp = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 3)) appcTpAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1)) if mibBuilder.loadTexts: appcTpAdminTable.setDescription("APPC Local TP Table") appcTpAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1)).setIndexNames((0, "APPC-MIB", "appcTpAdminLocLuName"), (0, "APPC-MIB", "appcTpAdminTpName")) if mibBuilder.loadTexts: appcTpAdminEntry.setDescription("Entry of APPC Local TP Information Table.") appcTpAdminLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcTpAdminLocLuName.setDescription("The SNA name of the local LU to which this TP definition\napplies. This field is from 1 to 17 characters in length,\nincluding a period (.) which separates the NetId from the NAU\nname if the NetId is present.\n\nThe reserved value '*ALL' indicates that the TP definition\napplies to all local LUs, and not just to a single local LU.") appcTpAdminTpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcTpAdminTpName.setDescription("The local transaction program name. This name is sent on an\nATTACH remote allocation request.\n\nWhen the TP name consists entirely of displayable EBCDIC\ncode points, it is mapped directly to the equivalent ASCII\ndisplay string. However, registered TP names always have a\nnon-displayable EBCDIC code point (value less than or equal to\nx'3F') as the first character, so they cannot be directly\nmapped to an ASCII display string. These TP names are\nconverted to a display string that is equivalent to a\nhexadecimal display of the EBCDIC code points. For example,\nthe 2-byte TP name x'06F1' (CNOS) is converted to the 6-byte\nASCII display string '06F1' (including the two single quotes).") appcTpAdminFileSpec = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminFileSpec.setDescription("The local file specification of the transaction program.\nMay be a zero-length string if not applicable.") appcTpAdminStartParm = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminStartParm.setDescription("A parameter string passed to the transaction program when it\nis started. May be a zero-length string if not supported. ") appcTpAdminTpOperation = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(4,3,5,1,2,)).subtype(namedValues=NamedValues(("other", 1), ("queuedOperatorStarted", 2), ("queuedOperatorPreloaded", 3), ("queuedAmStarted", 4), ("nonqueuedAmStarted", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminTpOperation.setDescription("Specifies how the program will be started.\nother - Specifies that the program operation is none of\n the methods specified. It may be a\n product-specific method.\n\nqueuedOperatorStarted - Specifies that one version of the\n program will be run at a time. If an incoming\n attach arrives and the program has not been started\n yet, APPC will issue a message to the operator to\n start the specified program. Subsequent attaches\n that arrive while the program is active will be\n queued.\n\nqueuedOperatorPreloaded - Specifies that one version of the\n program will be run at a time. If an incoming\n attach arrives and the program has not been started\n yet, the Attach will be rejected. The APPC attach\n manager determines that a TP has started upon\n reception of an APPC RECEIVE_ALLOCATE verb, or a\n CPI-C Accept_Conversation (CMACCP) or\n Specify_Local_TP_Name (CMSLTP) call. No message is\n sent to the operator. Subsequent attaches that\n arrive while the program is active are queued.\n\nqueuedAmStarted - Specifies that one version of the\n program will be run at a time and will be started\n by the APPC attach manager. Subsequent attaches\n that arrive while the program is active will be\n queued.\n\nnonqueuedAmStarted - Specifies that multiple copies of the\n program will be run at a time and will be started\n by the APPC attach manager.") appcTpAdminInAttachTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminInAttachTimeout.setDescription("This object specifies the number of seconds incoming attaches\nwill be queued waiting for an APPC program to issue a\nRECEIVE_ALLOCATE verb or for a CPI-C program to issue an\nAccept_Conversation (CMACCP) call. This parameter is\nmeaningful only when appcTpAdminTpOperation has one of the\nfollowing values:\n queuedOperatorStarted\n queuedOperatorPreloaded\n queuedAmStarted\n\nA value of zero indicates that there is no timeout.") appcTpAdminRcvAllocTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminRcvAllocTimeout.setDescription("This object specifies the number of seconds an APPC program's\nRECEIVE_ALLOCATE verb or a CPI-C program's Accept_Conversation\n(CMACCP) call will wait for an incoming attach to arrive.\n\nA value of zero indicates that there is no timeout.") appcTpAdminSyncLvl = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,6,4,3,2,7,5,)).subtype(namedValues=NamedValues(("none", 1), ("confirm", 2), ("noneAndConfirm", 3), ("syncpoint", 4), ("noneAndSyncpoint", 5), ("confirmAndSyncpoint", 6), ("all", 7), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminSyncLvl.setDescription("Indicates the synchronization level or levels that the\ntransaction program supports. The levels are defined as\nfollows:\n\n none - allocation requests indicating a\n synchronization level of none are allowed to\n start the program.\n confirm - allocation requests indicating a\n synchronization level of confirm are allowed\n to start the program.\n syncpoint - allocation requests indicating a\n synchronization level of sync point are\n allowed to start the program.") appcTpAdminInstLmt = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminInstLmt.setDescription("The maximum number of concurrent instances of this transaction\nprogram that will be supported for a local LU. A value of\nzero indicates that there is no limit.") appcTpAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("enabled", 1), ("tempDisabled", 2), ("permDisabled", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminStatus.setDescription("Indicates the status of the TP relative to starting execution\nwhen the local LU receives an allocation (ATTACH) request\nnaming this program.\n\n enabled - the local LU can start the program.\n tempDisabled - the local LU cannot start the\n program. The local LU rejects the\n request with an indication that the\n TP is not available but retry is\n possible.\n permDisabled - the local LU cannot start the\n program. The local LU rejects the\n request with an indication that the\n TP is not available and retry is\n not possible.") appcTpAdminLongRun = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminLongRun.setDescription("Indicates whether this is a long-running transaction program\n(i.e., one that stays around even after the conversation goes\naway).") appcTpAdminConvType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("basic", 1), ("mapped", 2), ("basicOrMapped", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminConvType.setDescription("Specifies the conversation type (basic or mapped) that will be\nused by the TP. This value is verified upon receipt of an\nincoming attach. The acceptable values are:\n\n basic - Indicates that this transaction program\n supports basic conversations.\n\n mapped - Indicates that this transaction program\n supports mapped conversations.\n\n basicOrMapped - Indicates that this transaction program\n supports both basic and mapped\n conversations.") appcTpAdminConvDuplex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("half", 1), ("full", 2), ("halfOrFull", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminConvDuplex.setDescription("Specifies the conversation duplex type (half or full) that\nwill be used by the TP. This value is verified upon receipt of\nan incoming attach. The acceptable values are:\n\n half - Indicates that this transaction program\n supports half duplex conversations.\n\n full - Indicates that this transaction program\n supports full duplex conversations.\n\n halfOrFull - Indicates that this transaction program\n supports either half or full duplex\n conversations.") appcTpAdminConvSecReq = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminConvSecReq.setDescription("Indicates whether conversation-level security information is\nrequired on incoming attaches designating this TP name.\nConversation-level security verification is always performed on\nthose requests that include security information.\n\n yes - Indicates that conversation-level security\n information is required. ATTACHs designating the\n transaction program must carry a user_id and\n either a password or an already verified\n indicator.\n\n no - Indicates that no security information is\n required. ATTACHs designating the transaction\n program can omit or include security information.") appcTpAdminVerPip = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminVerPip.setDescription("Specifies whether the number of PIP (Program Initialization\nParameters) subfields should be verified against the number\nexpected (appcTpAdminPipSubNum).") appcTpAdminPipSubNum = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 3, 1, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcTpAdminPipSubNum.setDescription("Specifies the number of PIP subfields expected by the TP.") appcSession = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 4)) appcActSessTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1)) if mibBuilder.loadTexts: appcActSessTable.setDescription("Table of active APPC sessions. Two entries are present in the\ntable when both session partners are local.") appcActSessEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1)).setIndexNames((0, "APPC-MIB", "appcActSessLocLuName"), (0, "APPC-MIB", "appcActSessParLuName"), (0, "APPC-MIB", "appcActSessIndex")) if mibBuilder.loadTexts: appcActSessEntry.setDescription("Entry of APPC Session Information Table. Indexed by LU pair\nand integer-valued session index.") appcActSessLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcActSessLocLuName.setDescription("Specifies the name of the local LU for the session. This\nfield is from 1 to 17 characters in length, including a period\n(.) which separates the NetId from the NAU name if the NetId is\npresent.\n\nIf this object has the same value as appcLluOperName, then the\ntwo entries being indexed apply to the same resource\n(specifically, to the same local LU).") appcActSessParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcActSessParLuName.setDescription("Specifies the name of the partner LU for the session. This\nfield is from 1 to 17 characters in length, including a period\n(.) which separates the NetId from the NAU name if the NetId is\npresent.\n\nIf this object has the same value as appcLuPairOperParLuName,\nthen the two entries being indexed apply to the same resource\n(specifically, to the same partner LU).") appcActSessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 3), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcActSessIndex.setDescription("This value identifies the index of the session, which is\nunique for this LU pair. It is recommended that an Agent not\nreuse the index of a deactivated session for a significant\nperiod of time (e.g., one week).") appcActSessPcidCpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 4), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessPcidCpName.setDescription("The network-qualified CP name of the node at which the session\nand PCID originated. For APPN and LEN nodes, this is either CP\nname of the APPN node at which the origin LU is located or the\nCP name of the NN serving the LEN node at which the origin LU\nis located. This field is from 3 to 17 characters in length,\nincluding a period (.) which separates the NetId from the NAU\nname. A null string indicates that the value is unknown.") appcActSessPcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 5), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessPcid.setDescription("The procedure correlation identifier (PCID) of a session. It\nis an 8-octet value assigned by the control point providing\nsession services for the primary LU. A null string indicates\nthat the value is unknown.") appcActSessPluIndicator = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("localLuIsPlu", 1), ("partnerLuIsPlu", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessPluIndicator.setDescription("Indicates which LU is the PLU for this session. For\nindependent LUs, the PLU (primary LU) is the one that initiated\nthe session (sent BIND), while the SLU (secondary LU) is the\none that accepted the session initiation (received BIND).\n\nThe 'local' LU is the one identified by appcLluOperName.\n\nThe 'partner' LU is the one identified by\nappcLuPairOperParLuName.") appcActSessModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessModeName.setDescription("The mode name used for this session.") appcActSessCosName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessCosName.setDescription("The Class of Service (COS) name used for this session.\nA null string indicates that the value is unknown.") appcActSessTransPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(3,5,1,4,2,)).subtype(namedValues=NamedValues(("unknown", 1), ("low", 2), ("medium", 3), ("high", 4), ("network", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessTransPriority.setDescription("The transmission priority of this session.\n1 = unknown priority\n2 = low priority\n3 = medium priority\n4 = high priority\n5 = network priority") appcActSessEnhanceSecSup = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("none", 1), ("level1", 2), ("level2", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessEnhanceSecSup.setDescription("Enhanced security supported. Indicates the level of enhanced\nsecurity support:\n\n 1 = none\n 2 = level 1\n 3 = level 2") appcActSessSendPacingType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("fixed", 2), ("adaptive", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessSendPacingType.setDescription("The type of pacing being used for sending data.") appcActSessSendRpc = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessSendRpc.setDescription("The send residual pace count. This represents the number of\nMUs that can still be sent in the current session window.") appcActSessSendNxWndwSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessSendNxWndwSize.setDescription("The size of the next window which will be used to send data.") appcActSessRecvPacingType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 14), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("fixed", 2), ("adaptive", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessRecvPacingType.setDescription("The type of pacing being used for receiving data.") appcActSessRecvRpc = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessRecvRpc.setDescription("The receive residual pace count. This represents the number\nof MUs that can still be received in the current session\nwindow.") appcActSessRecvNxWndwSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessRecvNxWndwSize.setDescription("The size of the next window which will be used to receive\ndata.") appcActSessRscv = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessRscv.setDescription("The route selection control vector (RSCV CV2B) used for this\nsession. It is present for APPN-level implementations.\nLEN-level implementations will return a null string. The\ninternal format of this vector is described in SNA Formats.\nThis object contains an uninterpreted copy of the control\nvector (including the length and key fields).") appcActSessInUse = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessInUse.setDescription("Specifies whether the session is currently in use (i.e., in\nbracket with a conversation).") appcActSessMaxSndRuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessMaxSndRuSize.setDescription("The maximum RU size used on this session for sending RUs.") appcActSessMaxRcvRuSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessMaxRcvRuSize.setDescription("The maximum RU size used on this session for receiving RUs.") appcActSessSndPacingSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessSndPacingSize.setDescription("The size of the send pacing window on this session.") appcActSessRcvPacingSize = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessRcvPacingSize.setDescription("The size of the receive pacing window on this session.") appcActSessOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("unbound", 1), ("pendingBind", 2), ("bound", 3), ("pendingUnbind", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: appcActSessOperState.setDescription("The value indicates the current operational state of the\nsession.\n\n 'unbound (1)' - session has been unbound;\n in this state it will be removed from the\n session table by the Agent.\n\n 'pendingBind (2)' - this state has different\n meanings for dependent and independent LUs;\n for dependent LU - waiting for BIND from\n the host, for independent LU - waiting for\n BIND response. When a session enters this\n state, the corresponding entry in the\n session table is created by the Agent.\n\n 'bound (3)' - session has been successfully bound.\n\n 'pendingUnbind (4)' - session enters this state\n when an UNBIND is sent and before the\n rsp(UNBIND) is received.\n\nSession deactivation:\n\n If a session is in the operational state\n 'bound (3)' then setting the value of this\n object to 'unbound (1)' will initiate the\n session shutdown.\n\n If a session is in the operational state\n 'pendingBind (2)' then setting the value of this\n object to 'unbound (1)' will initiate the session\n shutdown.\n\n If a session is in the operational state\n 'pendingUnbind (4)' for an abnormally long period\n of time (e.g., three minutes) then setting the value\n of this object to 'unbound (1)' will change the\n session operational state to 'unbound (1)'. ") appcActSessUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 24), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessUpTime.setDescription("The length of time the session has been active, measured in\nhundredths of a second.") appcActSessRtpNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 25), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessRtpNceId.setDescription("The local HPR Network Connection Endpoint of the session.") appcActSessRtpTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 26), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessRtpTcid.setDescription("The local RTP connection TCID of the session.") appcActSessLinkIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 1, 1, 27), InstancePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActSessLinkIndex.setDescription("This value identifies the link over which the session passes.\nThis value points to the row in the table containing\ninformation on the link instance. (e.g., the sdlcLSAdminTable\nof the SNA DLC MIB module). This object may be NULL if the\nlink is not specified or if a link is not applicable (as for\nAPPN-level nodes).") appcSessStatsTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2)) if mibBuilder.loadTexts: appcSessStatsTable.setDescription("This table contains dynamic statistical information relating\nto active APPC sessions. The entries in this table cannot be\ncreated by a Management Station. Two entries are present in\nthe table when both session partners are local. This table is\npopulated only when the value of appcCntrlOperStat is\n'active'.") appcSessStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1)).setIndexNames((0, "APPC-MIB", "appcSessStatsLocLuName"), (0, "APPC-MIB", "appcSessStatsParLuName"), (0, "APPC-MIB", "appcSessStatsSessIndex")) if mibBuilder.loadTexts: appcSessStatsEntry.setDescription("Contains statistics information for an APPC session. Each\nentry is created by the Agent. Objects in this table have\nread-only access. Each session from appcActSessTable has one\nentry in this table.") appcSessStatsLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcSessStatsLocLuName.setDescription("Specifies the name of the local LU for the session. This\nfield is from 1 to 17 characters in length, including a period\n(.) which separates the NetId from the NAU name if the NetId is\npresent.\n\nIf this object has the same value as appcLluOperName, then the\ntwo entries being indexed apply to the same resource\n(specifically, to the same local LU).") appcSessStatsParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcSessStatsParLuName.setDescription("Specifies the name of the partner LU for the session. This\nfield is from 1 to 17 characters in length, including a period\n(.) which separates the NetId from the NAU name if the NetId is\npresent.\n\nIf this object has the same value as appcLuPairOperParLuName,\nthen the two entries being indexed apply to the same resource\n(specifically, to the same partner LU).") appcSessStatsSessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 3), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcSessStatsSessIndex.setDescription("This value identifies the index of the session, which is\nunique for this LU pair. It is recommended that an Agent not\nreuse the index of a deactivated session for a significant\nperiod of time (e.g., one week).\n\nIf this object has the same value as appcActSessIndex for the\nsame LU pair, then the two entries being indexed apply to the\nsame resource (specifically, to the same session).") appcSessStatsSentFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsSentFmdBytes.setDescription("The number of function management data (FMD) bytes sent by the\nlocal LU.") appcSessStatsSentNonFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsSentNonFmdBytes.setDescription("The number of non-function management data (non-FMD) bytes\nsent by the local LU.") appcSessStatsRcvdFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsRcvdFmdBytes.setDescription("The number of function management data (FMD) bytes received by\nthe local LU.") appcSessStatsRcvdNonFmdBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsRcvdNonFmdBytes.setDescription("The number of non-function management data (non-FMD) bytes\nreceived by the local LU.") appcSessStatsSentFmdRus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsSentFmdRus.setDescription("The number of function management data (FMD) RUs sent by the\nlocal LU.") appcSessStatsSentNonFmdRus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsSentNonFmdRus.setDescription("The number of non-function management data (non-FMD) RUs sent\nby the local LU.") appcSessStatsRcvdFmdRus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsRcvdFmdRus.setDescription("The number of function management data (FMD) RUs received by\nthe local LU.") appcSessStatsRcvdNonFmdRus = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsRcvdNonFmdRus.setDescription("The number of non-function management data (non-FMD) RUs\nreceived by the local LU.") appcSessStatsCtrUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 2, 1, 12), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessStatsCtrUpTime.setDescription("The length of time the counters for this session have been\nactive, measured in hundredths of a second.") appcHistSessTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3)) if mibBuilder.loadTexts: appcHistSessTable.setDescription("Table of historical information about APPC sessions that\nterminated abnormally. Two entries may be present in the table\nwhen both session partners are local. It is an implementation\nchoice how long to retain information about a given session.") appcHistSessEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1)).setIndexNames((0, "APPC-MIB", "appcHistSessIndex")) if mibBuilder.loadTexts: appcHistSessEntry.setDescription("Entry of APPC Session History Table. This table is indexed by\nan integer which is continuously incremented until it\neventually wraps.") appcHistSessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcHistSessIndex.setDescription("Table index. The value of the index begins at zero\nand is incremented up to a maximum value of 2**31-1\n(2,147,483,647) before wrapping.") appcHistSessTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessTime.setDescription("The time at which the session was either terminated or\nfailed to be established.") appcHistSessType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,2,3,5,)).subtype(namedValues=NamedValues(("recvNegBindRsp", 1), ("sendNegBindRsp", 2), ("sessActRejected", 3), ("unbindSent", 4), ("unbindReceived", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessType.setDescription("Indicates the type of event that caused the entry to be made:\n\nrecvNegBindRsp - Received a negative bind response from\n the partner LU.\nsendNegBindRsp - Sent a negative bind response to the\n partner LU.\nsessActRejected - Session activation rejected by the\n partner LU.\nunbindSent - Unbind sent to the partner LU.\nunbindReceived - Unbind received from the partner LU.\n\nThese event types correspond to the five SNA/MS Alerts\nLU62001 through LU62005, documented in the SNA Management\nServices Reference.") appcHistSessLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessLocLuName.setDescription("The network-qualified local LU name. This field is from 3 to\n17 characters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.") appcHistSessParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessParLuName.setDescription("The network-qualified partner LU name. This field is from 3\nto 17 characters in length, including a period (.) which\nseparates the NetId from the NAU name if the NetId is present.") appcHistSessModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessModeName.setDescription("The mode name of the session.") appcHistSessUnbindType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessUnbindType.setDescription("The type of unbind which terminated the session. This\nvalue is consists of one (1) octet; and its meaning\nis defined in SNA Formats.") appcHistSessSenseData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 8), SnaSenseData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessSenseData.setDescription("The sense data associated with the termination of the\nsession, taken from the negative BIND response or UNBIND\nrequest.") appcHistSessComponentId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessComponentId.setDescription("The implementation-specific name of the component which\ndetected the problem.") appcHistSessDetectModule = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 3, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistSessDetectModule.setDescription("The implementation-specific name of the module which\ndetected the problem.") appcSessRtpTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 4)) if mibBuilder.loadTexts: appcSessRtpTable.setDescription("A table indicating how many APPC sessions terminating in this\nnode are transported by each RTP connection.") appcSessRtpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 4, 1)).setIndexNames((0, "APPC-MIB", "appcSessRtpNceId"), (0, "APPC-MIB", "appcSessRtpTcid")) if mibBuilder.loadTexts: appcSessRtpEntry.setDescription("Entry of APPC session RTP table.") appcSessRtpNceId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 4, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcSessRtpNceId.setDescription("The local Network Connection Endpoint of the RTP connection.") appcSessRtpTcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 4, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcSessRtpTcid.setDescription("The local TCID of the RTP connection.") appcSessRtpSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 4, 4, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcSessRtpSessions.setDescription("The number of APPC sessions terminating in this node\nthat are using this RTP connection.") appcConversation = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 5)) appcActiveConvTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1)) if mibBuilder.loadTexts: appcActiveConvTable.setDescription("Table of information about active APPC Conversations. In this\ncontext 'active' means that a conversation is currently\nassociated with a particular session. Two entries are present\nin the table when both LUs for the session are local.") appcActiveConvEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1)).setIndexNames((0, "APPC-MIB", "appcActiveConvLocLuName"), (0, "APPC-MIB", "appcActiveConvParLuName"), (0, "APPC-MIB", "appcActiveConvSessIndex")) if mibBuilder.loadTexts: appcActiveConvEntry.setDescription("Entry representing one active APPC Conversation.") appcActiveConvLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcActiveConvLocLuName.setDescription("The SNA name of the local LU for the conversation. This field\nis from 1 to 17 characters in length, including a period (.)\nwhich separates the NetId from the NAU name if the NetId is\npresent.\n\nIf this object has the same value as appcLluOperName,\nthen the two entries being indexed apply to the same\nresource (specifically, to the same local LU).") appcActiveConvParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcActiveConvParLuName.setDescription("The SNA name of the partner LU for the conversation. This\nfield is from 1 to 17 characters in length, including a period\n(.) which separates the NetId from the NAU name if the NetId is\npresent.\n\nIf this object has the same value as appcLuPairOperParLuName,\nthen the two entries being indexed apply to the same\nresource (specifically, to the same partner LU).") appcActiveConvSessIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 3), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcActiveConvSessIndex.setDescription("Index of entry in appcActSessTable that is associated with\nthis conversation. If this object has the same value as\nappcActSessIndex for the same LU pair, then the two entries\nbeing indexed apply to the same resource (specifically, to the\nsame session).") appcActiveConvId = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvId.setDescription("The 4-byte ID of the conversation.") appcActiveConvState = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,5,9,13,7,10,3,4,2,14,17,11,12,16,8,15,6,)).subtype(namedValues=NamedValues(("reset", 1), ("sendOnly", 10), ("receiveOnly", 11), ("deferReceive", 12), ("deferDeallocate", 13), ("syncpoint", 14), ("syncpointSend", 15), ("syncpointDeallocate", 16), ("backoutRequired", 17), ("send", 2), ("receive", 3), ("confirm", 4), ("confirmSend", 5), ("confirmDealloc", 6), ("pendingDeallocate", 7), ("pendingPost", 8), ("sendReceive", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvState.setDescription("Indicates the state of the conversation at the instant when\nthe information was retrieved. The values are:\n reset\n The conversation is reset (i.e., deallocated).\n send\n The conversation can send data. This value also\n is returned if the conversation is in\n Send-Pending state.\n receive\n The conversation can receive data.\n confirm\n The conversation has received a confirm\n indicator. It can issue an [MC_]CONFIRMED or\n [MC_]SEND_ERROR verb to change state. It will\n continue in Receive state if an [MC_]CONFIRMED\n verb is issued.\n confirmSend\n The conversation is in Confirm state and changes\n to Send state when an [MC_]CONFIRMED verb is\n issued.\n confirmDealloc\n The conversation is in Confirm state and becomes\n inactive when an [MC_]CONFIRMED verb is issued.\n pendingDeallocate\n The conversation is in Pending-Deallocate state\n while it waits for (MC_)DEALLOCATE TYPE\n (sync_level) to complete.\n pendingPost\n The conversation is in Pending-Post state while\n it waits for the [MC_]RECEIVE_AND_POST verb to\n complete its receive function.\n sendReceive\n The full-duplex conversation can send or receive\n data.\n sendOnly\n The full-duplex conversation can send data, but\n it does not have permission to receive data,\n because the partner TP has already deallocated\n its side of the conversation.\n receiveOnly\n The full-duplex conversation can receive data,\n but it does not have permission to send data,\n because it has already deallocated its side of\n the conversation.\n deferReceive\n Waiting for a successful SYNCPT verb operation to\n go into the receive state.\n deferDeallocate\n Waiting for a successful SYNCPT verb operation to\n go into the reset state.\n syncpoint\n Need to response to a SYNCPT verb issued. After\n successful operation, the next state will be\n receive.\n syncpointSend\n Need to response to a SYNCPT verb issued. After\n successful operation, the next state will be\n send.\n syncpointDeallocate\n Need to response to a SYNCPT verb issued. After\n successful operation, the next state will be\n reset.\n backoutRequired\n TP must execute a BACKOUT verb to backout the\n transaction.") appcActiveConvType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("basic", 1), ("mapped", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvType.setDescription("Indicates the type of conversation. The values are:\n\nbasic\n Indicates that this conversation supports\n basic verbs.\n\nmapped\n Indicates that this conversation supports\n mapped verbs.") appcActiveConvCorrelator = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvCorrelator.setDescription("This is an 8-byte identifier that the source LU assigns to the\nconversation; the source LU is the one that sent the allocation\nrequest. The conversation correlator is included on the\nallocation request. The conversation correlator uniquely\nidentifies a conversation, from among all conversations,\nbetween the local and partner LUs. It may be used, for\nexample, during problem determination associated with a\nconversation. A length of 0 indicates that no conversation\ncorrelator is defined.") appcActiveConvSyncLvl = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("confirm", 2), ("syncpt", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvSyncLvl.setDescription("Indicates the highest sync level support for the conversation.\nThe values are:\n\n none\n Indicates that no sync-level processing can be\n performed on this conversation. The\n transaction program does not issue verbs or\n recognize any returned parameters\n relating to any sync-level function.\n\n confirm\n Indicates that confirmation processing can be\n performed on this conversation. The\n transaction program can issue verbs and\n recognize returned parameters relating to\n confirmation.\n\n syncpt\n Indicates that syncpt and confirmation processing\n can be performed on this conversation. The\n transaction program can issue verbs and recognize\n returned parameters relating to syncpt and\n confirmation.") appcActiveConvSource = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("localLu", 1), ("partnerLu", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvSource.setDescription("Indicates whether the local or partner LU is the source of the\nconversation, that is, which LU started the conversation by\nsending the allocation request.\n\n localLu\n The local LU is the source of the conversation,\n and the partner LU is the target of the\n conversation.\n\n partnerLu\n The partner LU is the source of the\n conversation, and the local LU is the target of\n the conversation.") appcActiveConvDuplex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("half", 1), ("full", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvDuplex.setDescription("Indicates the conversation duplex style in effect for the\nconversation.\n\n half Indicates that information can be transferred in\n both directions, but only in one direction at a\n time.\n\n full Indicates that information can be transferred in\n both directions at the same time.") appcActiveConvUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvUpTime.setDescription("The length of time since the conversation started, measured in\nhundredths of a second.") appcActiveConvSendBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvSendBytes.setDescription("Indicates the number of bytes that was sent on the\nconversation. The count includes all SNA RU bytes sent,\nincluding those in the FMH-5 (Attach), FMH-7 (Error\nDescription), SIGNAL, LUSTAT, and SNA responses; it does not\ninclude SNA TH and RH bytes.") appcActiveConvRcvBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvRcvBytes.setDescription("Indicates the number of bytes that was received on the\nconversation. The count includes all SNA RU bytes sent,\nincluding those in the FMH-5 (Attach), FMH-7 (Error\nDescription), SIGNAL, LUSTAT, and SNA responses; it does not\ninclude SNA TH and RH bytes.") appcActiveConvUserid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvUserid.setDescription("The user ID that the initiating program provided in the\nincoming attach.") appcActiveConvPcidNauName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 15), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvPcidNauName.setDescription("The network-qualified NAU name of the\nnode at which the session and PCID originated. For APPN\nand LEN nodes, this is either CP name of the APPN node at\nwhich the origin LU is located or the CP name of the\nNN serving the LEN node at which the origin LU is\nlocated. This field is from 3 to 17 characters in\nlength, including a period (.) which separates the\nNetId from the NAU name. A null string indicates\nthat the value is unknown.") appcActiveConvPcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 16), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvPcid.setDescription("The procedure correlation identifier (PCID) of the session.\nIt is an 8-octet value assigned by the control point providing\nsession services for the primary LU. A null string indicates\nthat the value is unknown.") appcActiveConvModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvModeName.setDescription("The Mode Name used for this conversation.\nThis is a 1-8 character name.") appcActiveConvLuwIdName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvLuwIdName.setDescription("The SNA name of the LU that initiated the logical unit of work\nthat is associated with this active TP. This field is from\n1 to 17 characters in length, including a period (.) which\nseparates the NetId from the LU name if the NetId is present.") appcActiveConvLuwIdInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 19), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvLuwIdInstance.setDescription("The instance identifier for the logical unit of work.") appcActiveConvLuwIdSequence = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 20), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvLuwIdSequence.setDescription("The sequence identifier for the logical unit of work.") appcActiveConvTpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 1, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcActiveConvTpName.setDescription("The transaction program name which started this conversation.\nThis name could either be from a FMH5 ATTACH for a remotely\nstarted conversation, otherwise it could the name of the local\nTP if available.\n\nWhen the TP name consists entirely of displayable EBCDIC code\npoints, it is mapped directly to the equivalent ASCII display\nstring. However, registered TP names always have a non-\ndisplayable EBCDIC code point (value less than or equal to\nx'3F') as the first character, so they cannot be directly\nmapped to an ASCII display string. These TP names are\nconverted to a display string that is equivalent to a\nhexadecimal display of the EBCDIC code points. For example,\nthe 2-byte TP name x'06F1' (CNOS) is converted to the 6-byte\nASCII display string '06F1' (including the two single quotes).\n\nThis name is NULL if the conversation is started locally\n(i.e., not with a FMH5 ATTACH).") appcHistConvTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2)) if mibBuilder.loadTexts: appcHistConvTable.setDescription("Table of historical information about APPC Conversations that\nended in error. Possible categories of error conditions that\ncould be saved in this table are:\n\n - allocation errors,\n - deallocate abend,\n - program errors, and\n - service errors.") appcHistConvEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1)).setIndexNames((0, "APPC-MIB", "appcHistConvIndex")) if mibBuilder.loadTexts: appcHistConvEntry.setDescription("Entry representing one APPC Conversation.") appcHistConvIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 1), Integer32()).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcHistConvIndex.setDescription("Index for entry in Conversation table. This value identifies\nthe unique index of the conversation. It is recommended that\nan Agent not reuse the index of a deactivated conversation for\na significant period of time (e.g. one week).") appcHistConvEndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 2), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvEndTime.setDescription("The time at which the conversation ended.") appcHistConvLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvLocLuName.setDescription("The name of the local LU for this conversation. This field is\nfrom 1 to 17 characters in length, including a period (.) which\nseparates the NetId from the NAU name if the NetId is present.") appcHistConvParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvParLuName.setDescription("The SNA name of the partner LU for the conversation. This\nfield is from 1 to 17 characters in length, including a period\n(.) which separates the NetId from the NAU name if the NetId is\npresent.") appcHistConvTpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvTpName.setDescription("The transaction program name which started this conversation.\nThis name could either be from a FMH5 ATTACH for a remotely\nstarted conversation, otherwise it could the name of the local\nTP if available.\n\nWhen the TP name consists entirely of displayable EBCDIC code\npoints, it is mapped directly to the equivalent ASCII display\nstring. However, registered TP names always have a non-\ndisplayable EBCDIC code point (value less than or equal to\nx'3F') as the first character, so they cannot be directly\nmapped to an ASCII display string. These TP names are\nconverted to a display string that is equivalent to a\nhexadecimal display of the EBCDIC code points. For example,\nthe 2-byte TP name x'06F1' (CNOS) is converted to the 6-byte\nASCII display string '06F1' (including the two single quotes).\n\nThis name is NULL if the conversation is started locally\n(i.e., not with a FMH5 ATTACH).") appcHistConvPcidNauName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 6), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(3,17),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvPcidNauName.setDescription("The network-qualified NAU name of the\nnode at which the session and PCID originated. For APPN\nand LEN nodes, this is either CP name of the APPN node at\nwhich the origin LU is located or the CP name of the\nNN serving the LEN node at which the origin LU is\nlocated. This field is from 3 to 17 characters in\nlength, including a period (.) which separates the\nNetId from the NAU name. A null string indicates that the\nvalue is unknown.") appcHistConvPcid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 7), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0,0),ValueSizeConstraint(8,8),))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvPcid.setDescription("The procedure correlation identifier (PCID) of the session.\nIt is an 8-octet value assigned by the control point providing\nsession services for the primary LU. A null string indicates\nthat the value is unknown.") appcHistConvSenseData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 8), SnaSenseData()).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvSenseData.setDescription("The sense data associated with the action that ended this\nconversation, e.g., FMH-7 or UNBIND.") appcHistConvLogData = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvLogData.setDescription("The first 32 bytes of the data portion of the Log Data GDS\nVariable that is associated with the last FMH-7 that occurred\non this conversation. If there was no Log Data GDS Variable\nassociated with the FMH-7, this object is null.\n\nThis object reflects only the data portion of the Log Data\nGDS Variable (i.e. not the LL or GDS Id).") appcHistConvEndedBy = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 5, 2, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("localLu", 1), ("partnerLu", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcHistConvEndedBy.setDescription("Indicates which LU ended the conversation.") appcCPIC = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 1, 6)) appcCpicAdminTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1)) if mibBuilder.loadTexts: appcCpicAdminTable.setDescription("APPC CPI-C side information table.") appcCpicAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1)).setIndexNames((0, "APPC-MIB", "appcCpicAdminLocLuName"), (0, "APPC-MIB", "appcCpicAdminSymbDestName")) if mibBuilder.loadTexts: appcCpicAdminEntry.setDescription("Entry of APPC CPI-C side information Table.") appcCpicAdminLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcCpicAdminLocLuName.setDescription("The SNA name of the local LU to which this CPI-C side\ninformation definition applies. This field is from 1 to 17\ncharacters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.\n\nThe reserved value '*ALL' indicates that the definition applies\nto all local LUs, and not just to a single local LU.") appcCpicAdminSymbDestName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcCpicAdminSymbDestName.setDescription("Specifies the symbolic destination name used by CPI-C\napplications to identify this definition.") appcCpicAdminParLuAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicAdminParLuAlias.setDescription("A local alias for the partner LU. If not known or\nnot applicable, this object contains a zero-length\nstring.") appcCpicAdminParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicAdminParLuName.setDescription("The SNA name of the partner LU. This field is from 1 to 17\ncharacters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.") appcCpicAdminModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicAdminModeName.setDescription("Specifies the mode name. A mode defines the characteristics\nfor a group of sessions. The mode name can be blank (8 space\ncharacters).") appcCpicAdminTpNameType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("normal", 1), ("snaServiceTp", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicAdminTpNameType.setDescription("Specifies whether the TP name in appcCpicAdminTpName\nidentifies a normal TP or an SNA service TP. In this context,\na normal TP is one with a name consisting only of displayable\ncharacters, while an SNA service TP has a name containing\noctets that do not map to displayable characters.") appcCpicAdminTpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicAdminTpName.setDescription("Specifies the name of the partner TP to be used when a CPI-C\napplication initiates a conversation specifying this side\ninformation entry.\n\nDisplay convention\n\n When the TP name consists entirely of displayable EBCDIC\n code points, it is mapped directly to the equivalent ASCII\n display string. However, registered TP names always have a\n non-displayable EBCDIC code point (value less than or equal\n to x'3F') as the first character, so they cannot be\n directly mapped to an ASCII display string. These TP names\n are converted to a display string that is equivalent to a\n hexadecimal display of the EBCDIC code points. For\n example, the 2-byte TP name x'06F1' (CNOS) is converted to\n the 6-byte ASCII display string '06F1' (including the two\n single quotes).") appcCpicAdminUserid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicAdminUserid.setDescription("The security userid, if any, associated with the side\ninformation definition.") appcCpicAdminSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 1, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,3,5,6,2,)).subtype(namedValues=NamedValues(("none", 1), ("same", 2), ("pgm", 3), ("pgmStrong", 4), ("distributed", 5), ("mutual", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicAdminSecurity.setDescription("Specifies the security information to be used for allocating\nthe conversation.\n none - No security information.\n same - Use the security environment currently\n associated with this TP.\n pgm - Use the program-supplied user_id and password.\n pgmStrong - Use the program-supplied user_id and password.\n The local LU will insure that the password is\n not exposed in clear-text form on the physical\n network.\n distributed - Use the security environment and a distributed\n security system to generate the authentication\n information for this request. If distributed\n security tokens cannot be generated, then fail\n the conversation.\n mutual - Authenticate both the user to the destination\n system and the destination system to the user.") appcCpicOperTable = MibTable((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2)) if mibBuilder.loadTexts: appcCpicOperTable.setDescription("APPC CPI-C side information operational table.") appcCpicOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1)).setIndexNames((0, "APPC-MIB", "appcCpicOperLocLuName"), (0, "APPC-MIB", "appcCpicOperSymbDestName")) if mibBuilder.loadTexts: appcCpicOperEntry.setDescription("Entry of APPC CPI-C side information Table.") appcCpicOperLocLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcCpicOperLocLuName.setDescription("The SNA name of the local LU to which this CPI-C side\ninformation definition applies. This field is from 1 to 17\ncharacters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.\n\nThe reserved value '*ALL' indicates that the definition applies\nto all local LUs, and not just to a single local LU.") appcCpicOperSymbDestName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("noaccess") if mibBuilder.loadTexts: appcCpicOperSymbDestName.setDescription("Specifies the symbolic destination name used by CPI-C\napplications to identify this definition.") appcCpicOperParLuAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicOperParLuAlias.setDescription("A local alias for the partner LU. If not known or not\napplicable, this object contains a zero-length string.") appcCpicOperParLuName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicOperParLuName.setDescription("The SNA name of the partner LU. This field is from 1 to 17\ncharacters in length, including a period (.) which separates\nthe NetId from the NAU name if the NetId is present.") appcCpicOperModeName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicOperModeName.setDescription("Specifies the mode name. A mode defines the characteristics\nfor a group of sessions. The mode name can be blank (8 space\ncharacters).") appcCpicOperTpNameType = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("normal", 1), ("snaServiceTp", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicOperTpNameType.setDescription("Specifies whether the TP name in appcCpicOperTpName identifies\na normal TP or an SNA service TP. In this context, a normal TP\nis one with a name consisting only of displayable characters,\nwhile an SNA service TP has a name containing octets that do\nnot map to displayable characters.") appcCpicOperTpName = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicOperTpName.setDescription("Specifies the name of the partner TP to be used when a CPI-C\napplication initiates a conversation specifying this side\ninformation entry.\nDisplay convention\n\n When the TP name consists entirely of displayable EBCDIC\n code points, it is mapped directly to the equivalent ASCII\n display string. However, registered TP names always have\n a non-displayable EBCDIC code point (value less than or\n equal to x'3F') as the first character, so they cannot be\n directly mapped to an ASCII display string. These TP\n names are converted to a display string that is equivalent\n to a hexadecimal display of the EBCDIC code points. For\n example, the 2-byte TP name x'06F1' (CNOS) is converted to\n the 6-byte ASCII display string '06F1' (including the two\n single quotes).") appcCpicOperUserid = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicOperUserid.setDescription("The security userid, if any, associated with the active side\ninformation definition.") appcCpicOperSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 34, 3, 1, 6, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,3,5,6,2,)).subtype(namedValues=NamedValues(("none", 1), ("same", 2), ("pgm", 3), ("pgmStrong", 4), ("distributed", 5), ("mutual", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: appcCpicOperSecurity.setDescription("Specifies the security information to be used for allocating\nthe conversation.\n\n none - No security information.\n same - Use the security environment currently\n associated with this TP.\n pgm - Use the program-supplied user_id and password.\n pgmStrong - Use the program-supplied user_id and password.\n The local LU will insure that the password is\n not exposed in clear-text form on the physical\n network.\n distributed - Use the security environment and a distributed\n security system to generate the authentication\n information for this request. If distributed\n security tokens cannot be generated, then fail\n the conversation.\n mutual - Authenticate both the user to the destination\n system and the destination system to the user.") appcConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 2)) appcCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 2, 1)) appcGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 3, 2, 2)) # Augmentions # Groups appcGlobalConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 1)).setObjects(*(("APPC-MIB", "appcActiveSessions"), ("APPC-MIB", "appcDefaultTpOperation"), ("APPC-MIB", "appcLocalCpName"), ("APPC-MIB", "appcDefaultModeName"), ("APPC-MIB", "appcUpTime"), ("APPC-MIB", "appcDefaultTpConvSecRqd"), ("APPC-MIB", "appcDefaultImplInbndPlu"), ("APPC-MIB", "appcDefaultFileSpec"), ("APPC-MIB", "appcActiveHprSessions"), ("APPC-MIB", "appcDefaultLuName"), ("APPC-MIB", "appcDefaultMaxMcLlSndSize"), ) ) if mibBuilder.loadTexts: appcGlobalConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nglobal information and defaults.") appcLluConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 2)).setObjects(*(("APPC-MIB", "appcLluOperOutBoundCompLevel"), ("APPC-MIB", "appcLluOperAlias"), ("APPC-MIB", "appcLluAdminBindRspMayQ"), ("APPC-MIB", "appcLluOperCompRleBeforeLZ"), ("APPC-MIB", "appcLluAdminDepType"), ("APPC-MIB", "appcLluOperCompression"), ("APPC-MIB", "appcLluOperLocalAddress"), ("APPC-MIB", "appcLluAdminCompression"), ("APPC-MIB", "appcLluOperActiveSessions"), ("APPC-MIB", "appcLluAdminCompRleBeforeLZ"), ("APPC-MIB", "appcLluOperSessLimit"), ("APPC-MIB", "appcLluOperDepType"), ("APPC-MIB", "appcLluOperBindRspMayQ"), ("APPC-MIB", "appcLluAdminSessLimit"), ("APPC-MIB", "appcLluAdminLocalAddress"), ("APPC-MIB", "appcLluAdminInBoundCompLevel"), ("APPC-MIB", "appcLluAdminAlias"), ("APPC-MIB", "appcLluOperInBoundCompLevel"), ("APPC-MIB", "appcLluAdminOutBoundCompLevel"), ) ) if mibBuilder.loadTexts: appcLluConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nlocal LU6.2s.") appcParLuConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 3)).setObjects(*(("APPC-MIB", "appcLuPairAdminSessLimit"), ("APPC-MIB", "appcLuPairAdminParLuAlias"), ("APPC-MIB", "appcLuPairOperParLuAlias"), ("APPC-MIB", "appcLuPairAdminSessSec"), ("APPC-MIB", "appcLuPairAdminLinkObjId"), ("APPC-MIB", "appcLuPairOperSessSec"), ("APPC-MIB", "appcLuPairOperLinkObjId"), ("APPC-MIB", "appcLuPairOperParaSessSupLS"), ("APPC-MIB", "appcLuPairOperSessLimit"), ("APPC-MIB", "appcLuPairAdminParaSessSup"), ("APPC-MIB", "appcLuPairAdminSecAccept"), ("APPC-MIB", "appcLuPairOperState"), ("APPC-MIB", "appcLuPairOperSecAccept"), ("APPC-MIB", "appcLuPairOperParaSessSup"), ) ) if mibBuilder.loadTexts: appcParLuConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\npartner LUs.") appcModeConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 4)).setObjects(*(("APPC-MIB", "appcModeAdminPrefSendRuSz"), ("APPC-MIB", "appcModeOperRecvRuSzUpBnd"), ("APPC-MIB", "appcModeOperMinClosLimit"), ("APPC-MIB", "appcModeAdminRecvRuSzUpBnd"), ("APPC-MIB", "appcModeAdminMinClosLimit"), ("APPC-MIB", "appcModeOperPrefSendRuSz"), ("APPC-MIB", "appcModeAdminCompRleBeforeLZ"), ("APPC-MIB", "appcModeOperActCwin"), ("APPC-MIB", "appcModeOperInBoundCompLevel"), ("APPC-MIB", "appcModeOperSendPacWinSz"), ("APPC-MIB", "appcModeOperConWinAutoActLmt"), ("APPC-MIB", "appcModeOperCrypto"), ("APPC-MIB", "appcModeAdminCrypto"), ("APPC-MIB", "appcModeOperSingSessReinit"), ("APPC-MIB", "appcModeOperSessLimit"), ("APPC-MIB", "appcModeAdminCosName"), ("APPC-MIB", "appcModeAdminSendRuSzLoBnd"), ("APPC-MIB", "appcModeAdminCompression"), ("APPC-MIB", "appcModeOperSendRuSzLoBnd"), ("APPC-MIB", "appcModeOperOutBoundCompLevel"), ("APPC-MIB", "appcModeAdminInBoundCompLevel"), ("APPC-MIB", "appcModeAdminMaxSessLimit"), ("APPC-MIB", "appcModeOperPndClos"), ("APPC-MIB", "appcModeOperPtmCwin"), ("APPC-MIB", "appcModeAdminRecvPacWinSz"), ("APPC-MIB", "appcModeAdminSyncLvl"), ("APPC-MIB", "appcModeOperRecvPacWinSz"), ("APPC-MIB", "appcModeOperSessEndTpName"), ("APPC-MIB", "appcModeAdminPrefRecvRuSz"), ("APPC-MIB", "appcModeOperPtmClos"), ("APPC-MIB", "appcModeOperMaxSessLimit"), ("APPC-MIB", "appcModeOperCompression"), ("APPC-MIB", "appcModeOperCompRleBeforeLZ"), ("APPC-MIB", "appcModeOperPrefRecvRuSz"), ("APPC-MIB", "appcModeOperRecvRuSzLoBnd"), ("APPC-MIB", "appcModeOperPndCwin"), ("APPC-MIB", "appcModeAdminSendPacWinSz"), ("APPC-MIB", "appcModeAdminRecvRuSzLoBnd"), ("APPC-MIB", "appcModeOperCryptoLastStart"), ("APPC-MIB", "appcModeAdminSendRuSzUpBnd"), ("APPC-MIB", "appcModeOperCosName"), ("APPC-MIB", "appcModeOperDrainSelf"), ("APPC-MIB", "appcModeOperDrainPart"), ("APPC-MIB", "appcModeAdminOutBoundCompLevel"), ("APPC-MIB", "appcModeAdminSessEndTpName"), ("APPC-MIB", "appcModeOperSyncLvlLastStart"), ("APPC-MIB", "appcModeAdminConWinAutoActLmt"), ("APPC-MIB", "appcModeOperCNOSNeg"), ("APPC-MIB", "appcModeOperSendRuSzUpBnd"), ("APPC-MIB", "appcModeOperMinCwinLimit"), ("APPC-MIB", "appcModeOperActClos"), ("APPC-MIB", "appcModeOperSyncLvl"), ("APPC-MIB", "appcModeAdminMinCwinLimit"), ("APPC-MIB", "appcModeAdminSingSessReinit"), ) ) if mibBuilder.loadTexts: appcModeConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nmodes.") appcTpConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 5)).setObjects(*(("APPC-MIB", "appcTpAdminInAttachTimeout"), ("APPC-MIB", "appcTpAdminSyncLvl"), ("APPC-MIB", "appcTpAdminStatus"), ("APPC-MIB", "appcTpAdminVerPip"), ("APPC-MIB", "appcTpAdminRcvAllocTimeout"), ("APPC-MIB", "appcTpAdminTpOperation"), ("APPC-MIB", "appcTpAdminLongRun"), ("APPC-MIB", "appcTpAdminStartParm"), ("APPC-MIB", "appcTpAdminConvSecReq"), ("APPC-MIB", "appcTpAdminFileSpec"), ("APPC-MIB", "appcTpAdminInstLmt"), ("APPC-MIB", "appcTpAdminConvType"), ("APPC-MIB", "appcTpAdminPipSubNum"), ("APPC-MIB", "appcTpAdminConvDuplex"), ) ) if mibBuilder.loadTexts: appcTpConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nTransaction Programs.") appcSessionConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 6)).setObjects(*(("APPC-MIB", "appcActSessMaxRcvRuSize"), ("APPC-MIB", "appcActSessRcvPacingSize"), ("APPC-MIB", "appcActSessCosName"), ("APPC-MIB", "appcActSessPcid"), ("APPC-MIB", "appcActSessRecvPacingType"), ("APPC-MIB", "appcActSessRscv"), ("APPC-MIB", "appcActSessSendPacingType"), ("APPC-MIB", "appcSessStatsSentNonFmdBytes"), ("APPC-MIB", "appcSessStatsRcvdFmdBytes"), ("APPC-MIB", "appcSessStatsRcvdNonFmdBytes"), ("APPC-MIB", "appcActSessInUse"), ("APPC-MIB", "appcActSessSndPacingSize"), ("APPC-MIB", "appcActSessUpTime"), ("APPC-MIB", "appcActSessRtpNceId"), ("APPC-MIB", "appcActSessRecvRpc"), ("APPC-MIB", "appcHistSessDetectModule"), ("APPC-MIB", "appcActSessSendRpc"), ("APPC-MIB", "appcSessStatsSentFmdBytes"), ("APPC-MIB", "appcActSessOperState"), ("APPC-MIB", "appcActSessPcidCpName"), ("APPC-MIB", "appcActSessRecvNxWndwSize"), ("APPC-MIB", "appcActSessEnhanceSecSup"), ("APPC-MIB", "appcActSessPluIndicator"), ("APPC-MIB", "appcHistSessLocLuName"), ("APPC-MIB", "appcActSessRtpTcid"), ("APPC-MIB", "appcHistSessType"), ("APPC-MIB", "appcActSessTransPriority"), ("APPC-MIB", "appcSessStatsSentFmdRus"), ("APPC-MIB", "appcSessRtpSessions"), ("APPC-MIB", "appcActSessLinkIndex"), ("APPC-MIB", "appcSessStatsCtrUpTime"), ("APPC-MIB", "appcHistSessTime"), ("APPC-MIB", "appcActSessMaxSndRuSize"), ("APPC-MIB", "appcHistSessComponentId"), ("APPC-MIB", "appcActSessModeName"), ("APPC-MIB", "appcHistSessUnbindType"), ("APPC-MIB", "appcHistSessSenseData"), ("APPC-MIB", "appcSessStatsRcvdFmdRus"), ("APPC-MIB", "appcActSessSendNxWndwSize"), ("APPC-MIB", "appcHistSessModeName"), ("APPC-MIB", "appcSessStatsSentNonFmdRus"), ("APPC-MIB", "appcSessStatsRcvdNonFmdRus"), ("APPC-MIB", "appcHistSessParLuName"), ) ) if mibBuilder.loadTexts: appcSessionConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nLU6.2 sessions.") appcControlConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 7)).setObjects(*(("APPC-MIB", "appcCntrlOperTrace"), ("APPC-MIB", "appcCntrlOperStat"), ("APPC-MIB", "appcCntrlOperStatTime"), ("APPC-MIB", "appcCntrlOperTraceTime"), ("APPC-MIB", "appcCntrlAdminTrace"), ("APPC-MIB", "appcCntrlAdminStat"), ("APPC-MIB", "appcCntrlAdminTraceParm"), ("APPC-MIB", "appcCntrlAdminRscv"), ("APPC-MIB", "appcCntrlOperRscvTime"), ("APPC-MIB", "appcCntrlOperTraceParm"), ("APPC-MIB", "appcCntrlOperRscv"), ) ) if mibBuilder.loadTexts: appcControlConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\ncontrol.") appcCnosConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 8)).setObjects(*(("APPC-MIB", "appcCnosTargetModeName"), ("APPC-MIB", "appcCnosTargetParLuName"), ("APPC-MIB", "appcCnosMaxSessLimit"), ("APPC-MIB", "appcCnosCommand"), ("APPC-MIB", "appcCnosForce"), ("APPC-MIB", "appcCnosTargetLocLuName"), ("APPC-MIB", "appcCnosMinClosLimit"), ("APPC-MIB", "appcCnosDrainPart"), ("APPC-MIB", "appcCnosResponsible"), ("APPC-MIB", "appcCnosDrainSelf"), ("APPC-MIB", "appcCnosMinCwinLimit"), ) ) if mibBuilder.loadTexts: appcCnosConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nCNOS processing.") appcCpicConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 9)).setObjects(*(("APPC-MIB", "appcCpicAdminParLuName"), ("APPC-MIB", "appcCpicOperSecurity"), ("APPC-MIB", "appcCpicAdminTpNameType"), ("APPC-MIB", "appcCpicOperModeName"), ("APPC-MIB", "appcCpicOperParLuName"), ("APPC-MIB", "appcCpicAdminUserid"), ("APPC-MIB", "appcCpicOperUserid"), ("APPC-MIB", "appcCpicAdminSecurity"), ("APPC-MIB", "appcCpicAdminTpName"), ("APPC-MIB", "appcCpicOperTpName"), ("APPC-MIB", "appcCpicAdminModeName"), ("APPC-MIB", "appcCpicAdminParLuAlias"), ("APPC-MIB", "appcCpicOperParLuAlias"), ("APPC-MIB", "appcCpicOperTpNameType"), ) ) if mibBuilder.loadTexts: appcCpicConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nCPI-C side information.") appcConversationConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 3, 2, 2, 10)).setObjects(*(("APPC-MIB", "appcActiveConvUserid"), ("APPC-MIB", "appcActiveConvLuwIdSequence"), ("APPC-MIB", "appcActiveConvTpName"), ("APPC-MIB", "appcHistConvEndedBy"), ("APPC-MIB", "appcActiveConvState"), ("APPC-MIB", "appcHistConvSenseData"), ("APPC-MIB", "appcHistConvParLuName"), ("APPC-MIB", "appcActiveConvLuwIdName"), ("APPC-MIB", "appcActiveConvDuplex"), ("APPC-MIB", "appcHistConvPcid"), ("APPC-MIB", "appcHistConvEndTime"), ("APPC-MIB", "appcActiveConvPcidNauName"), ("APPC-MIB", "appcActiveConvSyncLvl"), ("APPC-MIB", "appcActiveConvLuwIdInstance"), ("APPC-MIB", "appcActiveConvSource"), ("APPC-MIB", "appcActiveConvPcid"), ("APPC-MIB", "appcActiveConvType"), ("APPC-MIB", "appcHistConvLogData"), ("APPC-MIB", "appcActiveConvSendBytes"), ("APPC-MIB", "appcActiveConvUpTime"), ("APPC-MIB", "appcHistConvPcidNauName"), ("APPC-MIB", "appcActiveConvRcvBytes"), ("APPC-MIB", "appcHistConvTpName"), ("APPC-MIB", "appcActiveConvModeName"), ("APPC-MIB", "appcActiveConvId"), ("APPC-MIB", "appcHistConvLocLuName"), ("APPC-MIB", "appcActiveConvCorrelator"), ) ) if mibBuilder.loadTexts: appcConversationConfGroup.setDescription("A collection of objects providing the instrumentation of APPC\nconversations.") # Compliances appcCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 34, 3, 2, 1, 1)).setObjects(*(("APPC-MIB", "appcTpConfGroup"), ("APPC-MIB", "appcParLuConfGroup"), ("APPC-MIB", "appcSessionConfGroup"), ("APPC-MIB", "appcModeConfGroup"), ("APPC-MIB", "appcControlConfGroup"), ("APPC-MIB", "appcCpicConfGroup"), ("APPC-MIB", "appcLluConfGroup"), ("APPC-MIB", "appcCnosConfGroup"), ("APPC-MIB", "appcGlobalConfGroup"), ("APPC-MIB", "appcConversationConfGroup"), ) ) if mibBuilder.loadTexts: appcCompliance.setDescription("The compliance statement for the SNMPv2 entities which\nimplement the APPC MIB.") # Exports # Module identity mibBuilder.exportSymbols("APPC-MIB", PYSNMP_MODULE_ID=appcMIB) # Types mibBuilder.exportSymbols("APPC-MIB", SnaSenseData=SnaSenseData) # Objects mibBuilder.exportSymbols("APPC-MIB", appcMIB=appcMIB, appcObjects=appcObjects, appcGlobal=appcGlobal, appcCntrlAdminGroup=appcCntrlAdminGroup, appcCntrlAdminStat=appcCntrlAdminStat, appcCntrlAdminRscv=appcCntrlAdminRscv, appcCntrlAdminTrace=appcCntrlAdminTrace, appcCntrlAdminTraceParm=appcCntrlAdminTraceParm, appcCntrlOperGroup=appcCntrlOperGroup, appcCntrlOperStat=appcCntrlOperStat, appcCntrlOperStatTime=appcCntrlOperStatTime, appcCntrlOperRscv=appcCntrlOperRscv, appcCntrlOperRscvTime=appcCntrlOperRscvTime, appcCntrlOperTrace=appcCntrlOperTrace, appcCntrlOperTraceTime=appcCntrlOperTraceTime, appcCntrlOperTraceParm=appcCntrlOperTraceParm, appcGlobalObjects=appcGlobalObjects, appcUpTime=appcUpTime, appcDefaultModeName=appcDefaultModeName, appcDefaultLuName=appcDefaultLuName, appcDefaultImplInbndPlu=appcDefaultImplInbndPlu, appcDefaultMaxMcLlSndSize=appcDefaultMaxMcLlSndSize, appcDefaultFileSpec=appcDefaultFileSpec, appcDefaultTpOperation=appcDefaultTpOperation, appcDefaultTpConvSecRqd=appcDefaultTpConvSecRqd, appcLocalCpName=appcLocalCpName, appcActiveSessions=appcActiveSessions, appcActiveHprSessions=appcActiveHprSessions, appcCnosControl=appcCnosControl, appcCnosCommand=appcCnosCommand, appcCnosMaxSessLimit=appcCnosMaxSessLimit, appcCnosMinCwinLimit=appcCnosMinCwinLimit, appcCnosMinClosLimit=appcCnosMinClosLimit, appcCnosDrainSelf=appcCnosDrainSelf, appcCnosDrainPart=appcCnosDrainPart, appcCnosResponsible=appcCnosResponsible, appcCnosForce=appcCnosForce, appcCnosTargetLocLuName=appcCnosTargetLocLuName, appcCnosTargetParLuName=appcCnosTargetParLuName, appcCnosTargetModeName=appcCnosTargetModeName, appcLu=appcLu, appcLluAdminTable=appcLluAdminTable, appcLluAdminEntry=appcLluAdminEntry, appcLluAdminName=appcLluAdminName, appcLluAdminDepType=appcLluAdminDepType, appcLluAdminLocalAddress=appcLluAdminLocalAddress, appcLluAdminSessLimit=appcLluAdminSessLimit, appcLluAdminBindRspMayQ=appcLluAdminBindRspMayQ, appcLluAdminCompression=appcLluAdminCompression, appcLluAdminInBoundCompLevel=appcLluAdminInBoundCompLevel, appcLluAdminOutBoundCompLevel=appcLluAdminOutBoundCompLevel, appcLluAdminCompRleBeforeLZ=appcLluAdminCompRleBeforeLZ, appcLluAdminAlias=appcLluAdminAlias, appcLluOperTable=appcLluOperTable, appcLluOperEntry=appcLluOperEntry, appcLluOperName=appcLluOperName, appcLluOperDepType=appcLluOperDepType, appcLluOperLocalAddress=appcLluOperLocalAddress, appcLluOperSessLimit=appcLluOperSessLimit, appcLluOperBindRspMayQ=appcLluOperBindRspMayQ, appcLluOperCompression=appcLluOperCompression, appcLluOperInBoundCompLevel=appcLluOperInBoundCompLevel, appcLluOperOutBoundCompLevel=appcLluOperOutBoundCompLevel, appcLluOperCompRleBeforeLZ=appcLluOperCompRleBeforeLZ, appcLluOperAlias=appcLluOperAlias, appcLluOperActiveSessions=appcLluOperActiveSessions, appcLuPairAdminTable=appcLuPairAdminTable, appcLuPairAdminEntry=appcLuPairAdminEntry, appcLuPairAdminLocLuName=appcLuPairAdminLocLuName, appcLuPairAdminParLuName=appcLuPairAdminParLuName, appcLuPairAdminParLuAlias=appcLuPairAdminParLuAlias, appcLuPairAdminSessLimit=appcLuPairAdminSessLimit, appcLuPairAdminSessSec=appcLuPairAdminSessSec, appcLuPairAdminSecAccept=appcLuPairAdminSecAccept, appcLuPairAdminLinkObjId=appcLuPairAdminLinkObjId, appcLuPairAdminParaSessSup=appcLuPairAdminParaSessSup, appcLuPairOperTable=appcLuPairOperTable, appcLuPairOperEntry=appcLuPairOperEntry, appcLuPairOperLocLuName=appcLuPairOperLocLuName, appcLuPairOperParLuName=appcLuPairOperParLuName, appcLuPairOperParLuAlias=appcLuPairOperParLuAlias, appcLuPairOperSessLimit=appcLuPairOperSessLimit, appcLuPairOperSessSec=appcLuPairOperSessSec, appcLuPairOperSecAccept=appcLuPairOperSecAccept, appcLuPairOperLinkObjId=appcLuPairOperLinkObjId, appcLuPairOperParaSessSup=appcLuPairOperParaSessSup, appcLuPairOperParaSessSupLS=appcLuPairOperParaSessSupLS, appcLuPairOperState=appcLuPairOperState, appcModeAdminTable=appcModeAdminTable, appcModeAdminEntry=appcModeAdminEntry, appcModeAdminLocLuName=appcModeAdminLocLuName, appcModeAdminParLuName=appcModeAdminParLuName, appcModeAdminModeName=appcModeAdminModeName, appcModeAdminCosName=appcModeAdminCosName, appcModeAdminSessEndTpName=appcModeAdminSessEndTpName, appcModeAdminMaxSessLimit=appcModeAdminMaxSessLimit, appcModeAdminMinCwinLimit=appcModeAdminMinCwinLimit, appcModeAdminMinClosLimit=appcModeAdminMinClosLimit, appcModeAdminConWinAutoActLmt=appcModeAdminConWinAutoActLmt, appcModeAdminRecvPacWinSz=appcModeAdminRecvPacWinSz, appcModeAdminSendPacWinSz=appcModeAdminSendPacWinSz, appcModeAdminPrefRecvRuSz=appcModeAdminPrefRecvRuSz, appcModeAdminPrefSendRuSz=appcModeAdminPrefSendRuSz, appcModeAdminRecvRuSzUpBnd=appcModeAdminRecvRuSzUpBnd, appcModeAdminSendRuSzUpBnd=appcModeAdminSendRuSzUpBnd, appcModeAdminRecvRuSzLoBnd=appcModeAdminRecvRuSzLoBnd, appcModeAdminSendRuSzLoBnd=appcModeAdminSendRuSzLoBnd, appcModeAdminSingSessReinit=appcModeAdminSingSessReinit, appcModeAdminCompression=appcModeAdminCompression, appcModeAdminInBoundCompLevel=appcModeAdminInBoundCompLevel, appcModeAdminOutBoundCompLevel=appcModeAdminOutBoundCompLevel, appcModeAdminCompRleBeforeLZ=appcModeAdminCompRleBeforeLZ, appcModeAdminSyncLvl=appcModeAdminSyncLvl, appcModeAdminCrypto=appcModeAdminCrypto, appcModeOperTable=appcModeOperTable, appcModeOperEntry=appcModeOperEntry, appcModeOperLocLuName=appcModeOperLocLuName, appcModeOperParLuName=appcModeOperParLuName, appcModeOperModeName=appcModeOperModeName, appcModeOperCosName=appcModeOperCosName, appcModeOperSessEndTpName=appcModeOperSessEndTpName, appcModeOperSessLimit=appcModeOperSessLimit, appcModeOperMaxSessLimit=appcModeOperMaxSessLimit, appcModeOperMinCwinLimit=appcModeOperMinCwinLimit, appcModeOperMinClosLimit=appcModeOperMinClosLimit, appcModeOperConWinAutoActLmt=appcModeOperConWinAutoActLmt) mibBuilder.exportSymbols("APPC-MIB", appcModeOperRecvPacWinSz=appcModeOperRecvPacWinSz, appcModeOperSendPacWinSz=appcModeOperSendPacWinSz, appcModeOperPrefRecvRuSz=appcModeOperPrefRecvRuSz, appcModeOperPrefSendRuSz=appcModeOperPrefSendRuSz, appcModeOperRecvRuSzUpBnd=appcModeOperRecvRuSzUpBnd, appcModeOperSendRuSzUpBnd=appcModeOperSendRuSzUpBnd, appcModeOperRecvRuSzLoBnd=appcModeOperRecvRuSzLoBnd, appcModeOperSendRuSzLoBnd=appcModeOperSendRuSzLoBnd, appcModeOperSingSessReinit=appcModeOperSingSessReinit, appcModeOperCompression=appcModeOperCompression, appcModeOperInBoundCompLevel=appcModeOperInBoundCompLevel, appcModeOperOutBoundCompLevel=appcModeOperOutBoundCompLevel, appcModeOperCompRleBeforeLZ=appcModeOperCompRleBeforeLZ, appcModeOperSyncLvl=appcModeOperSyncLvl, appcModeOperCrypto=appcModeOperCrypto, appcModeOperSyncLvlLastStart=appcModeOperSyncLvlLastStart, appcModeOperCryptoLastStart=appcModeOperCryptoLastStart, appcModeOperCNOSNeg=appcModeOperCNOSNeg, appcModeOperActCwin=appcModeOperActCwin, appcModeOperActClos=appcModeOperActClos, appcModeOperPndCwin=appcModeOperPndCwin, appcModeOperPndClos=appcModeOperPndClos, appcModeOperPtmCwin=appcModeOperPtmCwin, appcModeOperPtmClos=appcModeOperPtmClos, appcModeOperDrainSelf=appcModeOperDrainSelf, appcModeOperDrainPart=appcModeOperDrainPart, appcTp=appcTp, appcTpAdminTable=appcTpAdminTable, appcTpAdminEntry=appcTpAdminEntry, appcTpAdminLocLuName=appcTpAdminLocLuName, appcTpAdminTpName=appcTpAdminTpName, appcTpAdminFileSpec=appcTpAdminFileSpec, appcTpAdminStartParm=appcTpAdminStartParm, appcTpAdminTpOperation=appcTpAdminTpOperation, appcTpAdminInAttachTimeout=appcTpAdminInAttachTimeout, appcTpAdminRcvAllocTimeout=appcTpAdminRcvAllocTimeout, appcTpAdminSyncLvl=appcTpAdminSyncLvl, appcTpAdminInstLmt=appcTpAdminInstLmt, appcTpAdminStatus=appcTpAdminStatus, appcTpAdminLongRun=appcTpAdminLongRun, appcTpAdminConvType=appcTpAdminConvType, appcTpAdminConvDuplex=appcTpAdminConvDuplex, appcTpAdminConvSecReq=appcTpAdminConvSecReq, appcTpAdminVerPip=appcTpAdminVerPip, appcTpAdminPipSubNum=appcTpAdminPipSubNum, appcSession=appcSession, appcActSessTable=appcActSessTable, appcActSessEntry=appcActSessEntry, appcActSessLocLuName=appcActSessLocLuName, appcActSessParLuName=appcActSessParLuName, appcActSessIndex=appcActSessIndex, appcActSessPcidCpName=appcActSessPcidCpName, appcActSessPcid=appcActSessPcid, appcActSessPluIndicator=appcActSessPluIndicator, appcActSessModeName=appcActSessModeName, appcActSessCosName=appcActSessCosName, appcActSessTransPriority=appcActSessTransPriority, appcActSessEnhanceSecSup=appcActSessEnhanceSecSup, appcActSessSendPacingType=appcActSessSendPacingType, appcActSessSendRpc=appcActSessSendRpc, appcActSessSendNxWndwSize=appcActSessSendNxWndwSize, appcActSessRecvPacingType=appcActSessRecvPacingType, appcActSessRecvRpc=appcActSessRecvRpc, appcActSessRecvNxWndwSize=appcActSessRecvNxWndwSize, appcActSessRscv=appcActSessRscv, appcActSessInUse=appcActSessInUse, appcActSessMaxSndRuSize=appcActSessMaxSndRuSize, appcActSessMaxRcvRuSize=appcActSessMaxRcvRuSize, appcActSessSndPacingSize=appcActSessSndPacingSize, appcActSessRcvPacingSize=appcActSessRcvPacingSize, appcActSessOperState=appcActSessOperState, appcActSessUpTime=appcActSessUpTime, appcActSessRtpNceId=appcActSessRtpNceId, appcActSessRtpTcid=appcActSessRtpTcid, appcActSessLinkIndex=appcActSessLinkIndex, appcSessStatsTable=appcSessStatsTable, appcSessStatsEntry=appcSessStatsEntry, appcSessStatsLocLuName=appcSessStatsLocLuName, appcSessStatsParLuName=appcSessStatsParLuName, appcSessStatsSessIndex=appcSessStatsSessIndex, appcSessStatsSentFmdBytes=appcSessStatsSentFmdBytes, appcSessStatsSentNonFmdBytes=appcSessStatsSentNonFmdBytes, appcSessStatsRcvdFmdBytes=appcSessStatsRcvdFmdBytes, appcSessStatsRcvdNonFmdBytes=appcSessStatsRcvdNonFmdBytes, appcSessStatsSentFmdRus=appcSessStatsSentFmdRus, appcSessStatsSentNonFmdRus=appcSessStatsSentNonFmdRus, appcSessStatsRcvdFmdRus=appcSessStatsRcvdFmdRus, appcSessStatsRcvdNonFmdRus=appcSessStatsRcvdNonFmdRus, appcSessStatsCtrUpTime=appcSessStatsCtrUpTime, appcHistSessTable=appcHistSessTable, appcHistSessEntry=appcHistSessEntry, appcHistSessIndex=appcHistSessIndex, appcHistSessTime=appcHistSessTime, appcHistSessType=appcHistSessType, appcHistSessLocLuName=appcHistSessLocLuName, appcHistSessParLuName=appcHistSessParLuName, appcHistSessModeName=appcHistSessModeName, appcHistSessUnbindType=appcHistSessUnbindType, appcHistSessSenseData=appcHistSessSenseData, appcHistSessComponentId=appcHistSessComponentId, appcHistSessDetectModule=appcHistSessDetectModule, appcSessRtpTable=appcSessRtpTable, appcSessRtpEntry=appcSessRtpEntry, appcSessRtpNceId=appcSessRtpNceId, appcSessRtpTcid=appcSessRtpTcid, appcSessRtpSessions=appcSessRtpSessions, appcConversation=appcConversation, appcActiveConvTable=appcActiveConvTable, appcActiveConvEntry=appcActiveConvEntry, appcActiveConvLocLuName=appcActiveConvLocLuName, appcActiveConvParLuName=appcActiveConvParLuName, appcActiveConvSessIndex=appcActiveConvSessIndex, appcActiveConvId=appcActiveConvId, appcActiveConvState=appcActiveConvState, appcActiveConvType=appcActiveConvType, appcActiveConvCorrelator=appcActiveConvCorrelator, appcActiveConvSyncLvl=appcActiveConvSyncLvl, appcActiveConvSource=appcActiveConvSource, appcActiveConvDuplex=appcActiveConvDuplex, appcActiveConvUpTime=appcActiveConvUpTime, appcActiveConvSendBytes=appcActiveConvSendBytes, appcActiveConvRcvBytes=appcActiveConvRcvBytes, appcActiveConvUserid=appcActiveConvUserid, appcActiveConvPcidNauName=appcActiveConvPcidNauName, appcActiveConvPcid=appcActiveConvPcid, appcActiveConvModeName=appcActiveConvModeName, appcActiveConvLuwIdName=appcActiveConvLuwIdName) mibBuilder.exportSymbols("APPC-MIB", appcActiveConvLuwIdInstance=appcActiveConvLuwIdInstance, appcActiveConvLuwIdSequence=appcActiveConvLuwIdSequence, appcActiveConvTpName=appcActiveConvTpName, appcHistConvTable=appcHistConvTable, appcHistConvEntry=appcHistConvEntry, appcHistConvIndex=appcHistConvIndex, appcHistConvEndTime=appcHistConvEndTime, appcHistConvLocLuName=appcHistConvLocLuName, appcHistConvParLuName=appcHistConvParLuName, appcHistConvTpName=appcHistConvTpName, appcHistConvPcidNauName=appcHistConvPcidNauName, appcHistConvPcid=appcHistConvPcid, appcHistConvSenseData=appcHistConvSenseData, appcHistConvLogData=appcHistConvLogData, appcHistConvEndedBy=appcHistConvEndedBy, appcCPIC=appcCPIC, appcCpicAdminTable=appcCpicAdminTable, appcCpicAdminEntry=appcCpicAdminEntry, appcCpicAdminLocLuName=appcCpicAdminLocLuName, appcCpicAdminSymbDestName=appcCpicAdminSymbDestName, appcCpicAdminParLuAlias=appcCpicAdminParLuAlias, appcCpicAdminParLuName=appcCpicAdminParLuName, appcCpicAdminModeName=appcCpicAdminModeName, appcCpicAdminTpNameType=appcCpicAdminTpNameType, appcCpicAdminTpName=appcCpicAdminTpName, appcCpicAdminUserid=appcCpicAdminUserid, appcCpicAdminSecurity=appcCpicAdminSecurity, appcCpicOperTable=appcCpicOperTable, appcCpicOperEntry=appcCpicOperEntry, appcCpicOperLocLuName=appcCpicOperLocLuName, appcCpicOperSymbDestName=appcCpicOperSymbDestName, appcCpicOperParLuAlias=appcCpicOperParLuAlias, appcCpicOperParLuName=appcCpicOperParLuName, appcCpicOperModeName=appcCpicOperModeName, appcCpicOperTpNameType=appcCpicOperTpNameType, appcCpicOperTpName=appcCpicOperTpName, appcCpicOperUserid=appcCpicOperUserid, appcCpicOperSecurity=appcCpicOperSecurity, appcConformance=appcConformance, appcCompliances=appcCompliances, appcGroups=appcGroups) # Groups mibBuilder.exportSymbols("APPC-MIB", appcGlobalConfGroup=appcGlobalConfGroup, appcLluConfGroup=appcLluConfGroup, appcParLuConfGroup=appcParLuConfGroup, appcModeConfGroup=appcModeConfGroup, appcTpConfGroup=appcTpConfGroup, appcSessionConfGroup=appcSessionConfGroup, appcControlConfGroup=appcControlConfGroup, appcCnosConfGroup=appcCnosConfGroup, appcCpicConfGroup=appcCpicConfGroup, appcConversationConfGroup=appcConversationConfGroup) # Compliances mibBuilder.exportSymbols("APPC-MIB", appcCompliance=appcCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IFCP-MGMT-MIB.py0000644000014400001440000010663411736645136020732 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IFCP-MGMT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:08 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( PhysicalIndexOrZero, ) = mibBuilder.importSymbols("ENTITY-MIB", "PhysicalIndexOrZero") ( FcAddressIdOrZero, FcNameIdOrZero, ) = mibBuilder.importSymbols("FC-MGMT-MIB", "FcAddressIdOrZero", "FcNameIdOrZero") ( ZeroBasedCounter64, ) = mibBuilder.importSymbols("HCNUM-TC", "ZeroBasedCounter64") ( InterfaceIndexOrZero, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( ZeroBasedCounter32, ) = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( StorageType, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "StorageType", "TextualConvention", "TimeStamp", "TruthValue") # Types class IfcpAddressMode(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(2,1,) namedValues = NamedValues(("addressTransparent", 1), ("addressTranslation", 2), ) class IfcpIpTOVorZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,3600) class IfcpLTIorZero(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,65535) class IfcpSessionStates(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,) namedValues = NamedValues(("down", 1), ("openPending", 2), ("open", 3), ) # Objects ifcpMgmtMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 230)).setRevisions(("2006-01-17 00:00",)) if mibBuilder.loadTexts: ifcpMgmtMIB.setOrganization("IETF IPS Working Group") if mibBuilder.loadTexts: ifcpMgmtMIB.setContactInfo("\nAttn: Kevin Gibbons\n McDATA Corporation\n 4555 Great America Pkwy\n Santa Clara, CA 95054-1208 USA\n Phone: (408) 567-5765\n EMail: kevin.gibbons@mcdata.com\n\n Charles Monia\n Consultant\n 7553 Morevern Circle\n San Jose, CA 95135 USA\n EMail: charles_monia@yahoo.com\n\n Josh Tseng\n Riverbed Technology\n 501 2nd Street, Suite 410\n San Francisco, CA 94107 USA\n Phone: (650) 274-2109\n EMail: joshtseng@yahoo.com\n\n Franco Travostino\n Nortel\n 600 Technology Park Drive\n Billerica, MA 01821 USA\n Phone: (978) 288-7708\n EMail: travos@nortel.com") if mibBuilder.loadTexts: ifcpMgmtMIB.setDescription("This module defines management information specific\nto internet Fibre Channel Protocol (iFCP) gateway\nmanagement.\n\nCopyright (C) The Internet Society 2006. This\nversion of this MIB module is part of RFC 4369; see\nthe RFC itself for full legal notices.") ifcpGatewayObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 230, 1)) ifcpLclGatewayInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 230, 1, 1)) ifcpLclGtwyInstTable = MibTable((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1)) if mibBuilder.loadTexts: ifcpLclGtwyInstTable.setDescription("Information about all local iFCP Gateway instances that can\nbe monitored and controlled. This table contains an entry\nfor each local iFCP Gateway instance that is being managed.") ifcpLclGtwyInstEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1)).setIndexNames((0, "IFCP-MGMT-MIB", "ifcpLclGtwyInstIndex")) if mibBuilder.loadTexts: ifcpLclGtwyInstEntry.setDescription("An entry in the local iFCP Gateway Instance table.\nParameters and settings for the gateway are found here.") ifcpLclGtwyInstIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ifcpLclGtwyInstIndex.setDescription("An arbitrary integer value to uniquely identify this iFCP\nGateway from other local Gateway instances.") ifcpLclGtwyInstPhyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 2), PhysicalIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpLclGtwyInstPhyIndex.setDescription("An index indicating the location of this local gateway within\na larger entity, if one exists. If supported, this is the\nentPhysicalIndex from the Entity MIB (Version 3), for this\niFCP Gateway. If not supported, or if not related to a\nphysical entity, then the value of this object is 0.") ifcpLclGtwyInstVersionMin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpLclGtwyInstVersionMin.setDescription("The minimum iFCP protocol version supported by the local iFCP\ngateway instance.") ifcpLclGtwyInstVersionMax = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpLclGtwyInstVersionMax.setDescription("The maximum iFCP protocol version supported by the local iFCP\ngateway instance.") ifcpLclGtwyInstAddrTransMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 5), IfcpAddressMode().clone('addressTranslation')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifcpLclGtwyInstAddrTransMode.setDescription("The local iFCP gateway operating mode. Changing this value\nmay cause existing sessions to be disrupted.") ifcpLclGtwyInstFcBrdcstSupport = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifcpLclGtwyInstFcBrdcstSupport.setDescription("Whether the local iFCP gateway supports FC Broadcast.\nChanging this value may cause existing sessions to be\ndisrupted.") ifcpLclGtwyInstDefaultIpTOV = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 7), IfcpIpTOVorZero().clone('6')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifcpLclGtwyInstDefaultIpTOV.setDescription("The default IP_TOV used for iFCP sessions at this gateway.\nThis is the default maximum propagation delay that will be\nused for an iFCP session. The value can be changed on a\nper-session basis. The valid range is 0 - 3600 seconds.\nA value of 0 implies that fibre channel frame lifetime limits\nwill not be enforced.") ifcpLclGtwyInstDefaultLTInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 8), IfcpLTIorZero().clone('10')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifcpLclGtwyInstDefaultLTInterval.setDescription("The default Liveness Test Interval (LTI), in seconds, used\nfor iFCP sessions at this gateway. This is the default\nvalue for an iFCP session and can be changed on a\nper-session basis. The valid range is 0 - 65535 seconds.\nA value of 0 implies no Liveness Test Interval will be\nperformed on a session.") ifcpLclGtwyInstDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 9), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifcpLclGtwyInstDescr.setDescription("A user-entered description for this iFCP Gateway.") ifcpLclGtwyInstNumActiveSessions = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 10), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpLclGtwyInstNumActiveSessions.setDescription("The current total number of iFCP sessions in the open or\nopen-pending state.") ifcpLclGtwyInstStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 1, 1, 1, 11), StorageType().clone('nonVolatile')).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpLclGtwyInstStorageType.setDescription("The storage type for this row. Parameter values defined\nfor a gateway are usually non-volatile, but may be volatile\nor permanent in some configurations. If permanent, then\nthe following parameters must have read-write access:\nifcpLclGtwyInstAddrTransMode, ifcpLclGtwyInstDefaultIpTOV,\nand ifcpLclGtwyInstDefaultLTInterval.") ifcpNportSessionInfo = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 230, 1, 2)) ifcpSessionAttributesTable = MibTable((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1)) if mibBuilder.loadTexts: ifcpSessionAttributesTable.setDescription("An iFCP session consists of the pair of N_PORTs comprising\nthe session endpoints joined by a single TCP/IP connection.\nThis table provides information on each iFCP session\ncurrently using a local iFCP Gateway instance. iFCP sessions\nare created and removed by the iFCP Gateway instances, which\nare reflected in this table.") ifcpSessionAttributesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1)).setIndexNames((0, "IFCP-MGMT-MIB", "ifcpLclGtwyInstIndex"), (0, "IFCP-MGMT-MIB", "ifcpSessionIndex")) if mibBuilder.loadTexts: ifcpSessionAttributesEntry.setDescription("Each entry contains information about one iFCP session consisting\nof a pair of N_PORTs joined by a single TCP/IP connection. This\ntable's INDEX includes ifcpLclGtwyInstIndex, which identifies the\nlocal iFCP Gateway instance that created the session for the\nentry.\n\nSoon after an entry is created in this table for an iFCP session, it\nwill correspond to an entry in the tcpConnectionTable of the TCP-MIB\n(RFC 4022). The corresponding entry might represent a preexisting\nTCP connection, or it might be a newly-created entry. (Note that if\nIPv4 is being used, an entry in RFC 2012's tcpConnTable may also\ncorrespond.) The values of ifcpSessionLclPrtlAddrType and\nifcpSessionRmtPrtlIfAddrType in this table and the values of\ntcpConnectionLocalAddressType and tcpConnectionRemAddressType used\nas INDEX values for the corresponding entry in the\ntcpConnectionTable should be the same; this makes it simpler to\nlocate a session's TCP connection in the TCP-MIB. (Of course, all\nfour values need to be 'ipv4' if there's a corresponding entry in\nthe tcpConnTable.)\n\nIf an entry is created in this table for a session, prior to\nknowing which local and/or remote port numbers will be used for\nthe TCP connection, then ifcpSessionLclPrtlTcpPort and/or\nifcpSessionRmtPrtlTcpPort have the value zero until such time as\nthey can be updated to the port numbers (to be) used for the\nconnection. (Thus, a port value of zero should not be used to\nlocate a session's TCP connection in the TCP-MIB.)\n\nWhen the TCP connection terminates, the entry in the\ntcpConnectionTable and the entry in this table both get deleted\n(and, if applicable, so does the entry in the tcpConnTable).") ifcpSessionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ifcpSessionIndex.setDescription("The iFCP session index is a unique value used as an index\nto the table, along with a specific local iFCP Gateway\ninstance. This index is used because the local N Port and\nremote N Port information would create an complex index that\nwould be difficult to implement.") ifcpSessionLclPrtlIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLclPrtlIfIndex.setDescription("This is the interface index in the IF-MIB ifTable being used\nas the local portal in this session, as described in the\nIF-MIB. If the local portal is not associated with an entry\nin the ifTable, then the value is 0. The ifType of the\ninterface will generally be a type that supports IP, but an\nimplementation may support iFCP using other protocols. This\nobject can be used to obtain additional information about the\ninterface.") ifcpSessionLclPrtlAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLclPrtlAddrType.setDescription("The type of address in ifcpSessionLclIfAddr.") ifcpSessionLclPrtlAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLclPrtlAddr.setDescription("This is the external IP address of the interface being used\nfor the iFCP local portal in this session. The address type\nis defined in ifcpSessionLclPrtlAddrType. If the value is a\nDNS name, then the name is resolved once, during the initial\nsession instantiation.") ifcpSessionLclPrtlTcpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 5), InetPortNumber()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLclPrtlTcpPort.setDescription("This is the TCP port number that is being used for the iFCP\nlocal portal in this session. This is normally an ephemeral\nport number selected by the gateway. The value may be 0\nduring an initial setup period.") ifcpSessionLclNpWwun = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 6), FcNameIdOrZero().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLclNpWwun.setDescription("World Wide Unique Name of the local N Port. For an unbound\nsession, this variable will be a zero-length string.") ifcpSessionLclNpFcid = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 7), FcAddressIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLclNpFcid.setDescription("Fibre Channel Identifier of the local N Port. For an unbound\nsession, this variable will be a zero-length string.") ifcpSessionRmtNpWwun = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 8), FcNameIdOrZero().clone('')).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRmtNpWwun.setDescription("World Wide Unique Name of the remote N Port. For an unbound\nsession, this variable will be a zero-length string.") ifcpSessionRmtPrtlIfAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 9), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRmtPrtlIfAddrType.setDescription("The type of address in ifcpSessionRmtPrtlIfAddr.") ifcpSessionRmtPrtlIfAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 10), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRmtPrtlIfAddr.setDescription("This is the remote gateway IP address being used for the\nportal on the remote iFCP gateway. The address type is\ndefined in ifcpSessionRmtPrtlIfAddrType. If the value is a\nDNS name, then the name is resolved once, during the initial\nsession instantiation.") ifcpSessionRmtPrtlTcpPort = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 11), InetPortNumber().clone('3420')).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRmtPrtlTcpPort.setDescription("This is the TCP port number being used for the portal on the\nremote iFCP gateway. Generally, this will be the iFCP\ncanonical port. The value may be 0 during an initial setup\nperiod.") ifcpSessionRmtNpFcid = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 12), FcAddressIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRmtNpFcid.setDescription("Fibre Channel Identifier of the remote N Port. For an\nunbound session, this variable will be a zero-length string.") ifcpSessionRmtNpFcidAlias = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 13), FcAddressIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRmtNpFcidAlias.setDescription("Fibre Channel Identifier Alias assigned by the local gateway\nfor the remote N Port. For an unbound session, this variable\nwill be a zero-length string.") ifcpSessionIpTOV = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 14), IfcpIpTOVorZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ifcpSessionIpTOV.setDescription("The IP_TOV being used for this iFCP session. This is the\nmaximum propagation delay that will be used for the iFCP\nsession. The value can be changed on a per-session basis\nand initially defaults to ifcpLclGtwyInstDefaultIpTOV for\nthe local gateway instance. The valid range is 0 - 3600\nseconds. A value of 0 implies fibre channel frame lifetime\nlimits will not be enforced.") ifcpSessionLclLTIntvl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 15), IfcpLTIorZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLclLTIntvl.setDescription("The Liveness Test Interval (LTI) used for this iFCP session.\nThe value can be changed on a per-session basis and initially\ndefaults to ifcpLclGtwyInstDefaultLTInterval for the local\ngateway instance. The valid range is 0 - 65535 seconds.\nA value of 0 implies that the gateway will not originate\nLiveness Test messages for the session.") ifcpSessionRmtLTIntvl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 16), IfcpLTIorZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRmtLTIntvl.setDescription("The Liveness Test Interval (LTI) as requested by the remote\ngateway instance to use for this iFCP session. This value may\nchange over the life of the session. The valid range is 0 -\n65535 seconds. A value of 0 implies that the remote gateway\nhas not been requested to originate Liveness Test messages for\n\n\n\nthe session.") ifcpSessionBound = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 17), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionBound.setDescription("This value indicates whether this session is bound to a\nspecific local and remote N Port. Sessions by default are\nunbound and ready for future assignment to a local and remote\nN Port.") ifcpSessionStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 1, 1, 18), StorageType().clone('nonVolatile')).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionStorageType.setDescription("The storage type for this row. Parameter values defined\nfor a session are usually non-volatile, but may be volatile\nor permanent in some configurations. If permanent, then\nifcpSessionIpTOV must have read-write access.") ifcpSessionStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2)) if mibBuilder.loadTexts: ifcpSessionStatsTable.setDescription("This table provides statistics on an iFCP session.") ifcpSessionStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1)) if mibBuilder.loadTexts: ifcpSessionStatsEntry.setDescription("Provides iFCP-specific statistics per session.") ifcpSessionState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 1), IfcpSessionStates()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionState.setDescription("The current session operating state.") ifcpSessionDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionDuration.setDescription("This indicates, in seconds, how long the iFCP session has\nbeen in an open or open-pending state. When a session is\ndown, the value is reset to 0.") ifcpSessionTxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 3), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionTxOctets.setDescription("The total number of octets transmitted by the iFCP gateway\nfor this session. Discontinuities in the value of this\ncounter can occur at reinitialization of the management\nsystem, and at other times as indicated by the value of\nifcpSessionDiscontinuityTime.") ifcpSessionRxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 4), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRxOctets.setDescription("The total number of octets received by the iFCP gateway for\nthis session. Discontinuities in the value of this\ncounter can occur at reinitialization of the management\nsystem, and at other times as indicated by the value of\nifcpSessionDiscontinuityTime.") ifcpSessionTxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 5), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionTxFrames.setDescription("The total number of iFCP frames transmitted by the gateway\nfor this session. Discontinuities in the value of this\ncounter can occur at reinitialization of the management\nsystem, and at other times as indicated by the value of\nifcpSessionDiscontinuityTime.") ifcpSessionRxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 6), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionRxFrames.setDescription("The total number of iFCP frames received by the gateway\nfor this session. Discontinuities in the value of this\ncounter can occur at reinitialization of the management\nsystem, and at other times as indicated by the value of\nifcpSessionDiscontinuityTime.") ifcpSessionStaleFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 7), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionStaleFrames.setDescription("The total number of received iFCP frames that were stale and\ndiscarded by the gateway for this session. Discontinuities\nin the value of this counter can occur at reinitialization\nof the management system, and at other times as indicated by\nthe value of ifcpSessionDiscontinuityTime.") ifcpSessionHeaderCRCErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 8), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionHeaderCRCErrors.setDescription("The total number of CRC errors that occurred in the frame\nheader, detected by the gateway for this session. Usually,\na single Header CRC error is sufficient to terminate an\niFCP session. Discontinuities in the value of this\ncounter can occur at reinitialization of the management\nsystem, and at other times as indicated by the value of\nifcpSessionDiscontinuityTime.") ifcpSessionFcPayloadCRCErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 9), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionFcPayloadCRCErrors.setDescription("The total number of CRC errors that occurred in the Fibre\nChannel frame payload, detected by the gateway for this\nsession. Discontinuities in the value of this counter can\noccur at reinitialization of the management system, and\nat other times as indicated by the value of\nifcpSessionDiscontinuityTime.") ifcpSessionOtherErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 10), ZeroBasedCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionOtherErrors.setDescription("The total number of errors, other than errors explicitly\nmeasured, detected by the gateway for this session.\nDiscontinuities in the value of this counter can occur at\nreinitialization of the management system, and at other\ntimes as indicated by the value of\nifcpSessionDiscontinuityTime.") ifcpSessionDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 2, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which\nany one (or more) of the ifcpSessionStatsTable counters\nsuffered a discontinuity. The relevant counters are the\nspecific Counter64-based instances associated with the\nifcpSessionStatsTable: ifcpSessionTxOctets,\n\n\n\nifcpSessionRxOctets, ifcpSessionTxFrames,\nifcpSessionRxFrames, ifcpSessionStaleFrames,\nifcpSessionHeaderCRCErrors, ifcpSessionFcPayloadCRCErrors,\nand ifcpSessionOtherErrors. If no such discontinuities have\noccurred since the last reinitialization of the local\nmanagement subsystem, then this object contains a zero value.") ifcpSessionLcStatsTable = MibTable((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3)) if mibBuilder.loadTexts: ifcpSessionLcStatsTable.setDescription("This table provides low capacity statistics for an iFCP\nsession. These are provided for backward compatibility with\nsystems that do not support Counter64-based objects. At\n1-Gbps rates, a Counter32-based object can wrap as often as\nevery 34 seconds. Counter32-based objects can be sufficient\nfor many situations. However, when possible, it is\nrecommended to use the high capacity statistics in\nifcpSessionStatsTable based on Counter64 objects.") ifcpSessionLcStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1)) if mibBuilder.loadTexts: ifcpSessionLcStatsEntry.setDescription("Provides iFCP-specific statistics per session.") ifcpSessionLcTxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 1), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcTxOctets.setDescription("The total number of octets transmitted by the iFCP gateway\nfor this session.") ifcpSessionLcRxOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 2), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcRxOctets.setDescription("The total number of octets received by the iFCP gateway for\nthis session.") ifcpSessionLcTxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcTxFrames.setDescription("The total number of iFCP frames transmitted by the gateway\nfor this session.") ifcpSessionLcRxFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 4), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcRxFrames.setDescription("The total number of iFCP frames received by the gateway\nfor this session.") ifcpSessionLcStaleFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 5), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcStaleFrames.setDescription("The total number of received iFCP frames that were stale and\ndiscarded by the gateway for this session.") ifcpSessionLcHeaderCRCErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 6), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcHeaderCRCErrors.setDescription("The total number of CRC errors that occurred in the frame\nheader, detected by the gateway for this session. Usually,\na single Header CRC error is sufficient to terminate an\niFCP session.") ifcpSessionLcFcPayloadCRCErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 7), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcFcPayloadCRCErrors.setDescription("The total number of CRC errors that occurred in the Fibre\nChannel frame payload, detected by the gateway for this\nsession.") ifcpSessionLcOtherErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 230, 1, 2, 3, 1, 8), ZeroBasedCounter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifcpSessionLcOtherErrors.setDescription("The total number of errors, other than errors explicitly\nmeasured, detected by the gateway for this session.") ifcpGatewayConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 230, 2)) ifcpCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 230, 2, 1)) ifcpGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 230, 2, 2)) # Augmentions ifcpSessionAttributesEntry.registerAugmentions(("IFCP-MGMT-MIB", "ifcpSessionStatsEntry")) ifcpSessionStatsEntry.setIndexNames(*ifcpSessionAttributesEntry.getIndexNames()) ifcpSessionAttributesEntry.registerAugmentions(("IFCP-MGMT-MIB", "ifcpSessionLcStatsEntry")) ifcpSessionLcStatsEntry.setIndexNames(*ifcpSessionAttributesEntry.getIndexNames()) # Groups ifcpLclGatewayGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 230, 2, 2, 1)).setObjects(*(("IFCP-MGMT-MIB", "ifcpLclGtwyInstDefaultLTInterval"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstVersionMin"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstNumActiveSessions"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstStorageType"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstDefaultIpTOV"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstAddrTransMode"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstDescr"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstPhyIndex"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstFcBrdcstSupport"), ("IFCP-MGMT-MIB", "ifcpLclGtwyInstVersionMax"), ) ) if mibBuilder.loadTexts: ifcpLclGatewayGroup.setDescription("iFCP local device info group. This group provides\ninformation about each gateway.") ifcpLclGatewaySessionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 230, 2, 2, 4)).setObjects(*(("IFCP-MGMT-MIB", "ifcpSessionLclNpWwun"), ("IFCP-MGMT-MIB", "ifcpSessionRmtPrtlTcpPort"), ("IFCP-MGMT-MIB", "ifcpSessionRmtNpFcidAlias"), ("IFCP-MGMT-MIB", "ifcpSessionRmtLTIntvl"), ("IFCP-MGMT-MIB", "ifcpSessionLclPrtlTcpPort"), ("IFCP-MGMT-MIB", "ifcpSessionStorageType"), ("IFCP-MGMT-MIB", "ifcpSessionIpTOV"), ("IFCP-MGMT-MIB", "ifcpSessionLclLTIntvl"), ("IFCP-MGMT-MIB", "ifcpSessionBound"), ("IFCP-MGMT-MIB", "ifcpSessionRmtNpWwun"), ("IFCP-MGMT-MIB", "ifcpSessionRmtPrtlIfAddr"), ("IFCP-MGMT-MIB", "ifcpSessionLclPrtlAddrType"), ("IFCP-MGMT-MIB", "ifcpSessionLclPrtlIfIndex"), ("IFCP-MGMT-MIB", "ifcpSessionRmtNpFcid"), ("IFCP-MGMT-MIB", "ifcpSessionRmtPrtlIfAddrType"), ("IFCP-MGMT-MIB", "ifcpSessionLclPrtlAddr"), ("IFCP-MGMT-MIB", "ifcpSessionLclNpFcid"), ) ) if mibBuilder.loadTexts: ifcpLclGatewaySessionGroup.setDescription("iFCP Session group. This group provides information\nabout each iFCP session currently active between iFCP\ngateways.") ifcpLclGatewaySessionStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 230, 2, 2, 5)).setObjects(*(("IFCP-MGMT-MIB", "ifcpSessionFcPayloadCRCErrors"), ("IFCP-MGMT-MIB", "ifcpSessionRxFrames"), ("IFCP-MGMT-MIB", "ifcpSessionDuration"), ("IFCP-MGMT-MIB", "ifcpSessionHeaderCRCErrors"), ("IFCP-MGMT-MIB", "ifcpSessionState"), ("IFCP-MGMT-MIB", "ifcpSessionTxFrames"), ("IFCP-MGMT-MIB", "ifcpSessionTxOctets"), ("IFCP-MGMT-MIB", "ifcpSessionOtherErrors"), ("IFCP-MGMT-MIB", "ifcpSessionRxOctets"), ("IFCP-MGMT-MIB", "ifcpSessionStaleFrames"), ("IFCP-MGMT-MIB", "ifcpSessionDiscontinuityTime"), ) ) if mibBuilder.loadTexts: ifcpLclGatewaySessionStatsGroup.setDescription("iFCP Session Statistics group. This group provides\nstatistics with 64-bit counters for each iFCP session\ncurrently active between iFCP gateways. This group\nis only required for agents that can support Counter64-\nbased data types.") ifcpLclGatewaySessionLcStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 230, 2, 2, 6)).setObjects(*(("IFCP-MGMT-MIB", "ifcpSessionLcFcPayloadCRCErrors"), ("IFCP-MGMT-MIB", "ifcpSessionLcTxOctets"), ("IFCP-MGMT-MIB", "ifcpSessionLcTxFrames"), ("IFCP-MGMT-MIB", "ifcpSessionLcRxOctets"), ("IFCP-MGMT-MIB", "ifcpSessionLcStaleFrames"), ("IFCP-MGMT-MIB", "ifcpSessionLcRxFrames"), ("IFCP-MGMT-MIB", "ifcpSessionLcOtherErrors"), ("IFCP-MGMT-MIB", "ifcpSessionLcHeaderCRCErrors"), ) ) if mibBuilder.loadTexts: ifcpLclGatewaySessionLcStatsGroup.setDescription("iFCP Session Low Capacity Statistics group. This group\nprovides statistics with low-capacity 32-bit counters\n\n\n\nfor each iFCP session currently active between iFCP\ngateways. This group is only required for agents that\ndo not support Counter64-based data types, or that need\nto support SNMPv1 applications.") # Compliances ifcpGatewayCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 230, 2, 1, 1)).setObjects(*(("IFCP-MGMT-MIB", "ifcpLclGatewayGroup"), ("IFCP-MGMT-MIB", "ifcpLclGatewaySessionGroup"), ("IFCP-MGMT-MIB", "ifcpLclGatewaySessionLcStatsGroup"), ("IFCP-MGMT-MIB", "ifcpLclGatewaySessionStatsGroup"), ) ) if mibBuilder.loadTexts: ifcpGatewayCompliance.setDescription("Implementation requirements for iFCP MIB compliance.") # Exports # Module identity mibBuilder.exportSymbols("IFCP-MGMT-MIB", PYSNMP_MODULE_ID=ifcpMgmtMIB) # Types mibBuilder.exportSymbols("IFCP-MGMT-MIB", IfcpAddressMode=IfcpAddressMode, IfcpIpTOVorZero=IfcpIpTOVorZero, IfcpLTIorZero=IfcpLTIorZero, IfcpSessionStates=IfcpSessionStates) # Objects mibBuilder.exportSymbols("IFCP-MGMT-MIB", ifcpMgmtMIB=ifcpMgmtMIB, ifcpGatewayObjects=ifcpGatewayObjects, ifcpLclGatewayInfo=ifcpLclGatewayInfo, ifcpLclGtwyInstTable=ifcpLclGtwyInstTable, ifcpLclGtwyInstEntry=ifcpLclGtwyInstEntry, ifcpLclGtwyInstIndex=ifcpLclGtwyInstIndex, ifcpLclGtwyInstPhyIndex=ifcpLclGtwyInstPhyIndex, ifcpLclGtwyInstVersionMin=ifcpLclGtwyInstVersionMin, ifcpLclGtwyInstVersionMax=ifcpLclGtwyInstVersionMax, ifcpLclGtwyInstAddrTransMode=ifcpLclGtwyInstAddrTransMode, ifcpLclGtwyInstFcBrdcstSupport=ifcpLclGtwyInstFcBrdcstSupport, ifcpLclGtwyInstDefaultIpTOV=ifcpLclGtwyInstDefaultIpTOV, ifcpLclGtwyInstDefaultLTInterval=ifcpLclGtwyInstDefaultLTInterval, ifcpLclGtwyInstDescr=ifcpLclGtwyInstDescr, ifcpLclGtwyInstNumActiveSessions=ifcpLclGtwyInstNumActiveSessions, ifcpLclGtwyInstStorageType=ifcpLclGtwyInstStorageType, ifcpNportSessionInfo=ifcpNportSessionInfo, ifcpSessionAttributesTable=ifcpSessionAttributesTable, ifcpSessionAttributesEntry=ifcpSessionAttributesEntry, ifcpSessionIndex=ifcpSessionIndex, ifcpSessionLclPrtlIfIndex=ifcpSessionLclPrtlIfIndex, ifcpSessionLclPrtlAddrType=ifcpSessionLclPrtlAddrType, ifcpSessionLclPrtlAddr=ifcpSessionLclPrtlAddr, ifcpSessionLclPrtlTcpPort=ifcpSessionLclPrtlTcpPort, ifcpSessionLclNpWwun=ifcpSessionLclNpWwun, ifcpSessionLclNpFcid=ifcpSessionLclNpFcid, ifcpSessionRmtNpWwun=ifcpSessionRmtNpWwun, ifcpSessionRmtPrtlIfAddrType=ifcpSessionRmtPrtlIfAddrType, ifcpSessionRmtPrtlIfAddr=ifcpSessionRmtPrtlIfAddr, ifcpSessionRmtPrtlTcpPort=ifcpSessionRmtPrtlTcpPort, ifcpSessionRmtNpFcid=ifcpSessionRmtNpFcid, ifcpSessionRmtNpFcidAlias=ifcpSessionRmtNpFcidAlias, ifcpSessionIpTOV=ifcpSessionIpTOV, ifcpSessionLclLTIntvl=ifcpSessionLclLTIntvl, ifcpSessionRmtLTIntvl=ifcpSessionRmtLTIntvl, ifcpSessionBound=ifcpSessionBound, ifcpSessionStorageType=ifcpSessionStorageType, ifcpSessionStatsTable=ifcpSessionStatsTable, ifcpSessionStatsEntry=ifcpSessionStatsEntry, ifcpSessionState=ifcpSessionState, ifcpSessionDuration=ifcpSessionDuration, ifcpSessionTxOctets=ifcpSessionTxOctets, ifcpSessionRxOctets=ifcpSessionRxOctets, ifcpSessionTxFrames=ifcpSessionTxFrames, ifcpSessionRxFrames=ifcpSessionRxFrames, ifcpSessionStaleFrames=ifcpSessionStaleFrames, ifcpSessionHeaderCRCErrors=ifcpSessionHeaderCRCErrors, ifcpSessionFcPayloadCRCErrors=ifcpSessionFcPayloadCRCErrors, ifcpSessionOtherErrors=ifcpSessionOtherErrors, ifcpSessionDiscontinuityTime=ifcpSessionDiscontinuityTime, ifcpSessionLcStatsTable=ifcpSessionLcStatsTable, ifcpSessionLcStatsEntry=ifcpSessionLcStatsEntry, ifcpSessionLcTxOctets=ifcpSessionLcTxOctets, ifcpSessionLcRxOctets=ifcpSessionLcRxOctets, ifcpSessionLcTxFrames=ifcpSessionLcTxFrames, ifcpSessionLcRxFrames=ifcpSessionLcRxFrames, ifcpSessionLcStaleFrames=ifcpSessionLcStaleFrames, ifcpSessionLcHeaderCRCErrors=ifcpSessionLcHeaderCRCErrors, ifcpSessionLcFcPayloadCRCErrors=ifcpSessionLcFcPayloadCRCErrors, ifcpSessionLcOtherErrors=ifcpSessionLcOtherErrors, ifcpGatewayConformance=ifcpGatewayConformance, ifcpCompliances=ifcpCompliances, ifcpGroups=ifcpGroups) # Groups mibBuilder.exportSymbols("IFCP-MGMT-MIB", ifcpLclGatewayGroup=ifcpLclGatewayGroup, ifcpLclGatewaySessionGroup=ifcpLclGatewaySessionGroup, ifcpLclGatewaySessionStatsGroup=ifcpLclGatewaySessionStatsGroup, ifcpLclGatewaySessionLcStatsGroup=ifcpLclGatewaySessionLcStatsGroup) # Compliances mibBuilder.exportSymbols("IFCP-MGMT-MIB", ifcpGatewayCompliance=ifcpGatewayCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/MSDP-MIB.py0000644000014400001440000011207211736645137020204 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python MSDP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:21 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, experimental, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "experimental") ( DisplayString, RowStatus, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TimeStamp", "TruthValue") # Objects msdpMIB = ModuleIdentity((1, 3, 6, 1, 3, 92)).setRevisions(("2006-08-01 00:00",)) if mibBuilder.loadTexts: msdpMIB.setOrganization("IETF MBONED Working Group") if mibBuilder.loadTexts: msdpMIB.setContactInfo("Bill Fenner\n75 Willow Road\nMenlo Park, CA 94025\nPhone: +1 650 867 6073\nE-mail: fenner@research.att.com\n\nDave Thaler\nOne Microsoft Way\nRedmond, WA 98052\nPhone: +1 425 703 8835\nEmail: dthaler@microsoft.com\n\nMBONED Working Group: mboned@lists.uoregon.edu") if mibBuilder.loadTexts: msdpMIB.setDescription("An experimental MIB module for MSDP Management and\nMonitoring.\n\n\n\n\nCopyright (C) The Internet Society 2006. This version of\nthis MIB module is part of RFC 4624; see the RFC itself\nfor full legal notices.") msdpMIBobjects = MibIdentifier((1, 3, 6, 1, 3, 92, 1)) msdp = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1)) msdpTraps = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 0)) msdpEnabled = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: msdpEnabled.setDescription("The state of MSDP on this MSDP speaker - globally enabled\nor disabled.\n\nChanges to this object should be stored to non-volatile\nmemory.") msdpCacheLifetime = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 2), TimeTicks()).setMaxAccess("readwrite") if mibBuilder.loadTexts: msdpCacheLifetime.setDescription("The lifetime given to SA cache entries when created or\nrefreshed. This is the [SG-State-Period] in the MSDP\nspec. A value of 0 means no SA caching is done by this\nMSDP speaker.\n\nChanges to this object should be stored to non-volatile\nmemory.\n\nThis object does not measure time per se; instead, it\nis the delta from the time at which an SA message is\nreceived at which it should be expired if not refreshed.\n(i.e., it is the value of msdpSACacheExpiryTime\nimmediately after receiving an SA message applying to\nthat row.) As such, TimeInterval would be a more\nappropriate SYNTAX; it remains TimeTicks for backwards\ncompatibility.") msdpNumSACacheEntries = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpNumSACacheEntries.setDescription("The total number of entries in the SA Cache table.") msdpRequestsTable = MibTable((1, 3, 6, 1, 3, 92, 1, 1, 4)) if mibBuilder.loadTexts: msdpRequestsTable.setDescription("The (conceptual) table listing group ranges and MSDP peers\nused when deciding where to send an SA Request message, when\nrequired. If SA Requests are not enabled, this table may be\nempty.\n\nIn order to choose a peer to whom to send an SA Request for\na given group, G, the subset of entries in this table whose\n(msdpRequestsPeerType, msdpRequestsPeer) tuple represents a\n\n\n\npeer whose msdpPeerState is established are examined. The\nset is further reduced by examining only those entries for\nwhich msdpPeerRequestsGroupAddressType equals the address\ntype of G. The entries with the highest value of\nmsdpRequestsGroupPrefix are considered, where the group G\nfalls within the range described by the combination of\nmsdpRequestsGroup and msdpRequestsGroupPrefix. (This\nsequence is commonly known as a 'longest-match' lookup.)\n\nFinally, if multiple entries remain, the entry with the\nlowest value of msdpRequestsPriority is chosen. The SA\nRequest message is sent to the peer described by this row.") msdpRequestsEntry = MibTableRow((1, 3, 6, 1, 3, 92, 1, 1, 4, 1)).setIndexNames((0, "MSDP-MIB", "msdpRequestsGroupAddress"), (0, "MSDP-MIB", "msdpRequestsGroupMask")) if mibBuilder.loadTexts: msdpRequestsEntry.setDescription("An entry (conceptual row) representing a group range\nused when deciding where to send an SA Request\nmessage.") msdpRequestsGroupAddress = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpRequestsGroupAddress.setDescription("The group address that, when combined with the mask\nin this entry, represents the group range to which\nthis row applies.") msdpRequestsGroupMask = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpRequestsGroupMask.setDescription("The mask that, when combined with the group address\n\n\n\nin this entry, represents the group range to which\nthis row applies.") msdpRequestsPeer = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 3), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpRequestsPeer.setDescription("The peer to which MSDP SA Requests for groups matching\nthis entry's group range will be sent. This object,\ncombined with msdpRequestsPeerType, must match the INDEX\nof a row in the msdpPeerTable, and to be considered,\nthis peer's msdpPeerState must be established.") msdpRequestsStatus = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpRequestsStatus.setDescription("The status of this row, by which new rows may be added\nto the table or old rows may be deleted.") msdpPeerTable = MibTable((1, 3, 6, 1, 3, 92, 1, 1, 5)) if mibBuilder.loadTexts: msdpPeerTable.setDescription("The (conceptual) table listing the MSDP speaker's peers.") msdpPeerEntry = MibTableRow((1, 3, 6, 1, 3, 92, 1, 1, 5, 1)).setIndexNames((0, "MSDP-MIB", "msdpPeerRemoteAddress")) if mibBuilder.loadTexts: msdpPeerEntry.setDescription("An entry (conceptual row) representing an MSDP peer.\n\nIf row creation is supported, dynamically added rows are\nadded to the system's stable configuration (corresponding\nto a StorageType value of nonVolatile). ") msdpPeerRemoteAddress = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpPeerRemoteAddress.setDescription("The address of the remote MSDP peer.") msdpPeerState = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,5,1,3,2,)).subtype(namedValues=NamedValues(("inactive", 1), ("listen", 2), ("connecting", 3), ("established", 4), ("disabled", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerState.setDescription("The state of the MSDP TCP connection with this peer.") msdpPeerRPFFailures = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerRPFFailures.setDescription("The number of SA messages received from this peer that\nfailed the Peer-RPF check.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerInSAs = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInSAs.setDescription("The number of MSDP SA messages received on this\nconnection.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerOutSAs = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutSAs.setDescription("The number of MSDP SA messages transmitted on this\nconnection.\n\n\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerInSARequests = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInSARequests.setDescription("The number of MSDP SA-Request messages received on this\nconnection.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerOutSARequests = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutSARequests.setDescription("The number of MSDP SA-Request messages transmitted on\nthis connection.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerInSAResponses = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInSAResponses.setDescription("The number of MSDP SA-Response messages received on this\nconnection.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerOutSAResponses = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutSAResponses.setDescription("The number of MSDP SA Response messages transmitted on\nthis TCP connection.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerInControlMessages = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInControlMessages.setDescription("The total number of MSDP messages, excluding encapsulated\ndata packets, received on this TCP connection.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerOutControlMessages = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutControlMessages.setDescription("The total number of MSDP messages, excluding encapsulated\ndata packets, transmitted on this TCP connection.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerInDataPackets = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInDataPackets.setDescription("The total number of encapsulated data packets received\n\n\n\nfrom this peer.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerOutDataPackets = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutDataPackets.setDescription("The total number of encapsulated data packets sent to\nthis peer.\n\nDiscontinuities in the value of this counter can occur at\nre-initialization of the management system, and at other\ntimes as indicated by the value of\nmsdpPeerDiscontinuityTime.") msdpPeerFsmEstablishedTransitions = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerFsmEstablishedTransitions.setDescription("The total number of times the MSDP FSM transitioned into\nthe ESTABLISHED state.") msdpPeerFsmEstablishedTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 16), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerFsmEstablishedTime.setDescription("This timestamp is set to the value of sysUpTime when a\npeer transitions into or out of the ESTABLISHED state.\nIt is set to zero when the MSDP speaker is booted.") msdpPeerInMessageTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 17), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInMessageTime.setDescription("The sysUpTime value when the last MSDP message was\nreceived from the peer. It is set to zero when the MSDP\nspeaker is booted.") msdpPeerLocalAddress = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 18), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerLocalAddress.setDescription("The local IP address used for this entry's MSDP TCP\nconnection.") msdpPeerConnectRetryInterval = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(30)).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerConnectRetryInterval.setDescription("Time interval, in seconds, for the [ConnectRetry-period]\nfor this peer.") msdpPeerHoldTimeConfigured = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0,0),ValueRangeConstraint(3,65535),)).clone(75)).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerHoldTimeConfigured.setDescription("Time interval, in seconds, for the [HoldTime-Period]\nconfigured for this MSDP speaker with this peer. If the\nvalue of this object is zero (0), the MSDP connection is\nnever torn down due to the absence of messages from the\npeer.") msdpPeerKeepAliveConfigured = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 21845)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerKeepAliveConfigured.setDescription("Time interval, in seconds, for the [KeepAlive-Period]\nconfigured for this MSDP speaker with this peer. If the\nvalue of this object is zero (0), no periodic KEEPALIVE\nmessages are sent to the peer after the MSDP connection\nhas been established.") msdpPeerDataTtl = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerDataTtl.setDescription("The minimum TTL a packet is required to have before it\nmay be forwarded using SA encapsulation to this peer.") msdpPeerProcessRequestsFrom = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 24), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerProcessRequestsFrom.setDescription("This object indicates whether to process MSDP SA\nRequest messages from this peer. If True(1), MSDP SA\nRequest messages from this peer are processed and replied\nto (if appropriate) with SA Response messages. If\nFalse(2), MSDP SA Request messages from this peer are\nsilently ignored. It defaults to False when\nmsdpCacheLifetime is 0 and to True when msdpCacheLifetime\nis non-0.\n\nThis object is deprecated because MSDP SA Requests were\nremoved from the MSDP specification.") msdpPeerStatus = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 25), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerStatus.setDescription("The RowStatus object by which peers can be added and\ndeleted. A transition to 'active' will cause the MSDP\n\n\n\n'Enable MSDP peering with P' Event to be generated. A\ntransition out of the 'active' state will cause the MSDP\n'Disable MSDP peering with P' Event to be generated.\nCare should be used in providing write access to this\nobject without adequate authentication.\n\nmsdpPeerRemoteAddress is the only variable that must be\nset to a valid value before the row can be activated.\nSince this is the table's INDEX, a row can be activated\nby simply setting the msdpPeerStatus variable.\n\nIt is possible to modify other columns in the same\nconceptual row when the status value is active(1).") msdpPeerRemotePort = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(639)).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerRemotePort.setDescription("The remote port for the TCP connection between the MSDP\npeers.") msdpPeerLocalPort = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(639)).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerLocalPort.setDescription("The local port for the TCP connection between the MSDP\npeers.") msdpPeerEncapsulationType = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 29), Integer().subtype(subtypeSpec=SingleValueConstraint(0,1,)).subtype(namedValues=NamedValues(("none", 0), ("tcp", 1), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerEncapsulationType.setDescription("The encapsulation in use when encapsulating data in SA\nmessages to this peer.") msdpPeerConnectionAttempts = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerConnectionAttempts.setDescription("The number of times the state machine has transitioned\nfrom INACTIVE to CONNECTING.") msdpPeerInNotifications = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInNotifications.setDescription("The number of MSDP Notification messages received from\nthis peer.\nThis object is deprecated because MSDP Notifications have\nbeen removed from the spec.") msdpPeerOutNotifications = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutNotifications.setDescription("The number of MSDP Notification messages transmitted to\nthis peer.\n\nThis object is deprecated because MSDP Notifications have\nbeen removed from the spec.") msdpPeerLastError = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 33), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2).clone(hexValue='0000')).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerLastError.setDescription("The last error code and subcode received via Notification\nfrom this peer. If no error has occurred, this field is\nzero. Otherwise, the first byte of this two-byte OCTET\nSTRING contains the O-bit and error code, and the second\nbyte contains the subcode.\n\n\n\n\nThis object is deprecated because MSDP Notifications have\nbeen removed from the spec.") msdpPeerDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 34), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at\nwhich one or more of this entry's counters suffered a\ndiscontinuity. See the DESCRIPTION of each object to see\nif it is expected to have discontinuities. These\ndiscontinuities may occur at peer connection\nestablishment.\n\nIf no such discontinuities have occurred since the last\nreinitialization of the local management subsystem, then\nthis object contains a zero value.") msdpSACacheTable = MibTable((1, 3, 6, 1, 3, 92, 1, 1, 6)) if mibBuilder.loadTexts: msdpSACacheTable.setDescription("The (conceptual) table listing the MSDP SA advertisements\ncurrently in the MSDP speaker's cache.") msdpSACacheEntry = MibTableRow((1, 3, 6, 1, 3, 92, 1, 1, 6, 1)).setIndexNames((0, "MSDP-MIB", "msdpSACacheGroupAddr"), (0, "MSDP-MIB", "msdpSACacheSourceAddr"), (0, "MSDP-MIB", "msdpSACacheOriginRP")) if mibBuilder.loadTexts: msdpSACacheEntry.setDescription("An entry (conceptual row) representing an MSDP SA\nadvertisement. The INDEX to this table includes\nmsdpSACacheOriginRP for diagnosing incorrect MSDP\nadvertisements; normally, a Group and Source pair would\nbe unique.\n\nRow creation is not permitted; msdpSACacheStatus may only\nbe used to delete rows from this table.") msdpSACacheGroupAddr = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 1), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpSACacheGroupAddr.setDescription("The group address of the SA Cache entry.") msdpSACacheSourceAddr = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpSACacheSourceAddr.setDescription("The source address of the SA Cache entry.") msdpSACacheOriginRP = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 3), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpSACacheOriginRP.setDescription("The RP of the SA Cache entry. This field is in the INDEX\nin order to catch multiple RP's advertising the same\nsource and group.") msdpSACachePeerLearnedFrom = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACachePeerLearnedFrom.setDescription("The peer from which this SA Cache entry was last\naccepted. This address must correspond to the\nmsdpPeerRemoteAddress value for a row in the MSDP Peer\nTable. This should be 0.0.0.0 on the router that\noriginated the entry.") msdpSACacheRPFPeer = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheRPFPeer.setDescription("The peer from which an SA message corresponding to this\ncache entry would be accepted (i.e., the RPF peer for\nmsdpSACacheOriginRP). This may be different than\nmsdpSACachePeerLearnedFrom if this entry was created by\nan MSDP SA-Response. This address must correspond to\nthe msdpPeerRemoteAddress value for a row in the MSDP\nPeer Table, or it may be 0.0.0.0 if no RPF peer exists.") msdpSACacheInSAs = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheInSAs.setDescription("The number of MSDP SA messages received relevant to this\ncache entry. This object must be initialized to zero\nwhen creating a cache entry.") msdpSACacheInDataPackets = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheInDataPackets.setDescription("The number of MSDP-encapsulated data packets received\nrelevant to this cache entry. This object must be\ninitialized to zero when creating a cache entry.") msdpSACacheUpTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheUpTime.setDescription("The time since this entry was first placed in the SA\ncache.\n\n\n\nThe first epoch is the time that the entry was first\nplaced in the SA cache, and the second epoch is the\ncurrent time.") msdpSACacheExpiryTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 9), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheExpiryTime.setDescription("The time remaining before this entry will expire from\nthe SA cache.\n\nThe first epoch is now, and the second epoch is the time\nthat the entry will expire.") msdpSACacheStatus = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,6,)).subtype(namedValues=NamedValues(("active", 1), ("destroy", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: msdpSACacheStatus.setDescription("The status of this row in the table. The only allowable\nactions are to retrieve the status, which will be\n'active', or to set the status to 'destroy' in order to\nremove this entry from the cache.\n\nRow creation is not permitted.\n\nNo columnar objects are writable, so there are none that\nmay be changed while the status value is active(1).") msdpMIBConformance = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 8)) msdpMIBCompliances = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 8, 1)) msdpMIBGroups = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 8, 2)) msdpRPAddress = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: msdpRPAddress.setDescription("The Rendezvous Point (RP) address used when sourcing\nMSDP SA messages. May be 0.0.0.0 on non-RPs.\n\nChanges to this object should be stored to non-volatile\nmemory.") msdpMeshGroupTable = MibTable((1, 3, 6, 1, 3, 92, 1, 1, 12)) if mibBuilder.loadTexts: msdpMeshGroupTable.setDescription("The (conceptual) table listing MSDP Mesh Group\nconfiguration.") msdpMeshGroupEntry = MibTableRow((1, 3, 6, 1, 3, 92, 1, 1, 12, 1)).setIndexNames((0, "MSDP-MIB", "msdpMeshGroupName"), (0, "MSDP-MIB", "msdpMeshGroupPeerAddress")) if mibBuilder.loadTexts: msdpMeshGroupEntry.setDescription("An entry (conceptual row) representing a peer in an MSDP\nMesh Group.\n\nIf row creation is supported, dynamically added rows are\nadded to the system's stable configuration\n(corresponding to a StorageType value of nonVolatile).") msdpMeshGroupName = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 12, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpMeshGroupName.setDescription("The name of the mesh group.") msdpMeshGroupPeerAddress = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 12, 1, 2), IpAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: msdpMeshGroupPeerAddress.setDescription("A peer address that is a member of the mesh group with\nname msdpMeshGroupName. The msdpMeshGroupPeerAddress\nmust match a row in the msdpPeerTable.") msdpMeshGroupStatus = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 12, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpMeshGroupStatus.setDescription("This entry's status, by which new entries may be added\nto the table and old entries deleted.\n\nmsdpMeshGroupName and msdpMeshGroupPeerAddress must be\nset to valid values before the row can be activated.\nSince these are the table's INDEX, a row can be activated\n\n\n\nby simply setting the msdpMeshGroupStatus variable.\n\nIt is not possible to modify other columns in the same\nconceptual row when the status value is active(1),\nbecause the only other objects in the row are part of the\nINDEX. Changing one of these changes the row, so an old\nrow must be deleted and a new one created.") # Augmentions # Notifications msdpEstablished = NotificationType((1, 3, 6, 1, 3, 92, 1, 1, 0, 1)).setObjects(*(("MSDP-MIB", "msdpPeerFsmEstablishedTransitions"), ) ) if mibBuilder.loadTexts: msdpEstablished.setDescription("The MSDP Established event is generated when the MSDP FSM\nenters the ESTABLISHED state.") msdpBackwardTransition = NotificationType((1, 3, 6, 1, 3, 92, 1, 1, 0, 2)).setObjects(*(("MSDP-MIB", "msdpPeerState"), ) ) if mibBuilder.loadTexts: msdpBackwardTransition.setDescription("The MSDPBackwardTransition Event is generated when the\nMSDP FSM moves from a higher-numbered state to a\nlower-numbered state.") # Groups msdpMIBGlobalsGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 1)).setObjects(*(("MSDP-MIB", "msdpEnabled"), ) ) if mibBuilder.loadTexts: msdpMIBGlobalsGroup.setDescription("A collection of objects providing information on global MSDP\nstate.") msdpMIBPeerGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 2)).setObjects(*(("MSDP-MIB", "msdpPeerFsmEstablishedTime"), ("MSDP-MIB", "msdpPeerRPFFailures"), ("MSDP-MIB", "msdpPeerConnectionAttempts"), ("MSDP-MIB", "msdpPeerOutSARequests"), ("MSDP-MIB", "msdpPeerFsmEstablishedTransitions"), ("MSDP-MIB", "msdpPeerInControlMessages"), ("MSDP-MIB", "msdpPeerProcessRequestsFrom"), ("MSDP-MIB", "msdpPeerLastError"), ("MSDP-MIB", "msdpPeerLocalAddress"), ("MSDP-MIB", "msdpPeerLocalPort"), ("MSDP-MIB", "msdpPeerOutSAResponses"), ("MSDP-MIB", "msdpPeerConnectRetryInterval"), ("MSDP-MIB", "msdpPeerOutNotifications"), ("MSDP-MIB", "msdpPeerInNotifications"), ("MSDP-MIB", "msdpPeerDiscontinuityTime"), ("MSDP-MIB", "msdpPeerState"), ("MSDP-MIB", "msdpPeerStatus"), ("MSDP-MIB", "msdpPeerOutSAs"), ("MSDP-MIB", "msdpPeerInSARequests"), ("MSDP-MIB", "msdpPeerInMessageTime"), ("MSDP-MIB", "msdpPeerInSAs"), ("MSDP-MIB", "msdpPeerKeepAliveConfigured"), ("MSDP-MIB", "msdpPeerHoldTimeConfigured"), ("MSDP-MIB", "msdpPeerInSAResponses"), ("MSDP-MIB", "msdpPeerOutControlMessages"), ("MSDP-MIB", "msdpPeerRemotePort"), ) ) if mibBuilder.loadTexts: msdpMIBPeerGroup.setDescription("A collection of objects for managing MSDP peers. This group\n\n\n\nis deprecated in favor of msdpMIBPeerGroup2 because it\ncontains objects for managing aspects of MSDP that were\nremoved before it was published as an RFC.") msdpMIBEncapsulationGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 3)).setObjects(*(("MSDP-MIB", "msdpPeerInDataPackets"), ("MSDP-MIB", "msdpPeerEncapsulationType"), ("MSDP-MIB", "msdpPeerOutDataPackets"), ("MSDP-MIB", "msdpPeerDataTtl"), ) ) if mibBuilder.loadTexts: msdpMIBEncapsulationGroup.setDescription("A collection of objects for managing encapsulations if the\nMSDP encapsulation interfaces are not given interface\nindices.") msdpMIBSACacheGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 4)).setObjects(*(("MSDP-MIB", "msdpSACacheInDataPackets"), ("MSDP-MIB", "msdpNumSACacheEntries"), ("MSDP-MIB", "msdpSACachePeerLearnedFrom"), ("MSDP-MIB", "msdpSACacheStatus"), ("MSDP-MIB", "msdpCacheLifetime"), ("MSDP-MIB", "msdpSACacheUpTime"), ("MSDP-MIB", "msdpSACacheRPFPeer"), ("MSDP-MIB", "msdpSACacheInSAs"), ("MSDP-MIB", "msdpSACacheExpiryTime"), ) ) if mibBuilder.loadTexts: msdpMIBSACacheGroup.setDescription("A collection of objects for managing MSDP SA cache entries.") msdpMIBNotificationGroup = NotificationGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 5)).setObjects(*(("MSDP-MIB", "msdpBackwardTransition"), ("MSDP-MIB", "msdpEstablished"), ) ) if mibBuilder.loadTexts: msdpMIBNotificationGroup.setDescription("A collection of notifications for signaling changes in MSDP\npeer relationships.") msdpMIBRequestsGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 6)).setObjects(*(("MSDP-MIB", "msdpRequestsPeer"), ("MSDP-MIB", "msdpRequestsStatus"), ) ) if mibBuilder.loadTexts: msdpMIBRequestsGroup.setDescription("A collection of objects for managing MSDP Request\ntransmission. This group is deprecated because Requests\nwere removed from MSDP before its publication as an RFC.") msdpMIBRPGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 7)).setObjects(*(("MSDP-MIB", "msdpRPAddress"), ) ) if mibBuilder.loadTexts: msdpMIBRPGroup.setDescription("A collection of objects for MSDP speakers that source MSDP\nmessages.") msdpMIBMeshGroupGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 8)).setObjects(*(("MSDP-MIB", "msdpMeshGroupStatus"), ) ) if mibBuilder.loadTexts: msdpMIBMeshGroupGroup.setDescription("A collection of objects for MSDP speakers that can\nparticipate in MSDP mesh groups.") msdpMIBPeerGroup2 = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 9)).setObjects(*(("MSDP-MIB", "msdpPeerLocalAddress"), ("MSDP-MIB", "msdpPeerOutSAs"), ("MSDP-MIB", "msdpPeerKeepAliveConfigured"), ("MSDP-MIB", "msdpPeerConnectionAttempts"), ("MSDP-MIB", "msdpPeerRPFFailures"), ("MSDP-MIB", "msdpPeerInSARequests"), ("MSDP-MIB", "msdpPeerInMessageTime"), ("MSDP-MIB", "msdpPeerOutSARequests"), ("MSDP-MIB", "msdpPeerLocalPort"), ("MSDP-MIB", "msdpPeerHoldTimeConfigured"), ("MSDP-MIB", "msdpPeerDiscontinuityTime"), ("MSDP-MIB", "msdpPeerFsmEstablishedTransitions"), ("MSDP-MIB", "msdpPeerState"), ("MSDP-MIB", "msdpPeerStatus"), ("MSDP-MIB", "msdpPeerInControlMessages"), ("MSDP-MIB", "msdpPeerConnectRetryInterval"), ("MSDP-MIB", "msdpPeerOutControlMessages"), ("MSDP-MIB", "msdpPeerRemotePort"), ("MSDP-MIB", "msdpPeerInSAs"), ("MSDP-MIB", "msdpPeerFsmEstablishedTime"), ) ) if mibBuilder.loadTexts: msdpMIBPeerGroup2.setDescription("A collection of objects for managing MSDP peers.") # Compliances msdpMIBCompliance = ModuleCompliance((1, 3, 6, 1, 3, 92, 1, 1, 8, 1, 1)).setObjects(*(("MSDP-MIB", "msdpMIBMeshGroupGroup"), ("MSDP-MIB", "msdpMIBSACacheGroup"), ("MSDP-MIB", "msdpMIBGlobalsGroup"), ("MSDP-MIB", "msdpMIBRequestsGroup"), ("MSDP-MIB", "msdpMIBRPGroup"), ("MSDP-MIB", "msdpMIBNotificationGroup"), ("MSDP-MIB", "msdpMIBEncapsulationGroup"), ("MSDP-MIB", "msdpMIBPeerGroup"), ) ) if mibBuilder.loadTexts: msdpMIBCompliance.setDescription("The compliance statement for entities that implement a pre-\nRFC version of MSDP. This statement is deprecated because\nit includes objects used for managing/monitoring aspects of\nMSDP that were removed before it was published as an RFC.") msdpMIBFullCompliance = ModuleCompliance((1, 3, 6, 1, 3, 92, 1, 1, 8, 1, 2)).setObjects(*(("MSDP-MIB", "msdpMIBMeshGroupGroup"), ("MSDP-MIB", "msdpMIBGlobalsGroup"), ("MSDP-MIB", "msdpMIBRPGroup"), ("MSDP-MIB", "msdpMIBEncapsulationGroup"), ("MSDP-MIB", "msdpMIBSACacheGroup"), ("MSDP-MIB", "msdpMIBPeerGroup2"), ) ) if mibBuilder.loadTexts: msdpMIBFullCompliance.setDescription("The compliance statement for entities that implement MSDP\n(RFC3618).") msdpMIBReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 3, 92, 1, 1, 8, 1, 3)).setObjects(*(("MSDP-MIB", "msdpMIBMeshGroupGroup"), ("MSDP-MIB", "msdpMIBGlobalsGroup"), ("MSDP-MIB", "msdpMIBRPGroup"), ("MSDP-MIB", "msdpMIBEncapsulationGroup"), ("MSDP-MIB", "msdpMIBSACacheGroup"), ("MSDP-MIB", "msdpMIBPeerGroup2"), ) ) if mibBuilder.loadTexts: msdpMIBReadOnlyCompliance.setDescription("The compliance statement for entities that implement MSDP\n(RFC3618), but do not permit configuration (or only permit\n\n\n\npartial configuration) via SNMP.") # Exports # Module identity mibBuilder.exportSymbols("MSDP-MIB", PYSNMP_MODULE_ID=msdpMIB) # Objects mibBuilder.exportSymbols("MSDP-MIB", msdpMIB=msdpMIB, msdpMIBobjects=msdpMIBobjects, msdp=msdp, msdpTraps=msdpTraps, msdpEnabled=msdpEnabled, msdpCacheLifetime=msdpCacheLifetime, msdpNumSACacheEntries=msdpNumSACacheEntries, msdpRequestsTable=msdpRequestsTable, msdpRequestsEntry=msdpRequestsEntry, msdpRequestsGroupAddress=msdpRequestsGroupAddress, msdpRequestsGroupMask=msdpRequestsGroupMask, msdpRequestsPeer=msdpRequestsPeer, msdpRequestsStatus=msdpRequestsStatus, msdpPeerTable=msdpPeerTable, msdpPeerEntry=msdpPeerEntry, msdpPeerRemoteAddress=msdpPeerRemoteAddress, msdpPeerState=msdpPeerState, msdpPeerRPFFailures=msdpPeerRPFFailures, msdpPeerInSAs=msdpPeerInSAs, msdpPeerOutSAs=msdpPeerOutSAs, msdpPeerInSARequests=msdpPeerInSARequests, msdpPeerOutSARequests=msdpPeerOutSARequests, msdpPeerInSAResponses=msdpPeerInSAResponses, msdpPeerOutSAResponses=msdpPeerOutSAResponses, msdpPeerInControlMessages=msdpPeerInControlMessages, msdpPeerOutControlMessages=msdpPeerOutControlMessages, msdpPeerInDataPackets=msdpPeerInDataPackets, msdpPeerOutDataPackets=msdpPeerOutDataPackets, msdpPeerFsmEstablishedTransitions=msdpPeerFsmEstablishedTransitions, msdpPeerFsmEstablishedTime=msdpPeerFsmEstablishedTime, msdpPeerInMessageTime=msdpPeerInMessageTime, msdpPeerLocalAddress=msdpPeerLocalAddress, msdpPeerConnectRetryInterval=msdpPeerConnectRetryInterval, msdpPeerHoldTimeConfigured=msdpPeerHoldTimeConfigured, msdpPeerKeepAliveConfigured=msdpPeerKeepAliveConfigured, msdpPeerDataTtl=msdpPeerDataTtl, msdpPeerProcessRequestsFrom=msdpPeerProcessRequestsFrom, msdpPeerStatus=msdpPeerStatus, msdpPeerRemotePort=msdpPeerRemotePort, msdpPeerLocalPort=msdpPeerLocalPort, msdpPeerEncapsulationType=msdpPeerEncapsulationType, msdpPeerConnectionAttempts=msdpPeerConnectionAttempts, msdpPeerInNotifications=msdpPeerInNotifications, msdpPeerOutNotifications=msdpPeerOutNotifications, msdpPeerLastError=msdpPeerLastError, msdpPeerDiscontinuityTime=msdpPeerDiscontinuityTime, msdpSACacheTable=msdpSACacheTable, msdpSACacheEntry=msdpSACacheEntry, msdpSACacheGroupAddr=msdpSACacheGroupAddr, msdpSACacheSourceAddr=msdpSACacheSourceAddr, msdpSACacheOriginRP=msdpSACacheOriginRP, msdpSACachePeerLearnedFrom=msdpSACachePeerLearnedFrom, msdpSACacheRPFPeer=msdpSACacheRPFPeer, msdpSACacheInSAs=msdpSACacheInSAs, msdpSACacheInDataPackets=msdpSACacheInDataPackets, msdpSACacheUpTime=msdpSACacheUpTime, msdpSACacheExpiryTime=msdpSACacheExpiryTime, msdpSACacheStatus=msdpSACacheStatus, msdpMIBConformance=msdpMIBConformance, msdpMIBCompliances=msdpMIBCompliances, msdpMIBGroups=msdpMIBGroups, msdpRPAddress=msdpRPAddress, msdpMeshGroupTable=msdpMeshGroupTable, msdpMeshGroupEntry=msdpMeshGroupEntry, msdpMeshGroupName=msdpMeshGroupName, msdpMeshGroupPeerAddress=msdpMeshGroupPeerAddress, msdpMeshGroupStatus=msdpMeshGroupStatus) # Notifications mibBuilder.exportSymbols("MSDP-MIB", msdpEstablished=msdpEstablished, msdpBackwardTransition=msdpBackwardTransition) # Groups mibBuilder.exportSymbols("MSDP-MIB", msdpMIBGlobalsGroup=msdpMIBGlobalsGroup, msdpMIBPeerGroup=msdpMIBPeerGroup, msdpMIBEncapsulationGroup=msdpMIBEncapsulationGroup, msdpMIBSACacheGroup=msdpMIBSACacheGroup, msdpMIBNotificationGroup=msdpMIBNotificationGroup, msdpMIBRequestsGroup=msdpMIBRequestsGroup, msdpMIBRPGroup=msdpMIBRPGroup, msdpMIBMeshGroupGroup=msdpMIBMeshGroupGroup, msdpMIBPeerGroup2=msdpMIBPeerGroup2) # Compliances mibBuilder.exportSymbols("MSDP-MIB", msdpMIBCompliance=msdpMIBCompliance, msdpMIBFullCompliance=msdpMIBFullCompliance, msdpMIBReadOnlyCompliance=msdpMIBReadOnlyCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DISMAN-EVENT-MIB.py0000644000014400001440000020077611736645135021302 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DISMAN-EVENT-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:48 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( SnmpTagValue, ) = mibBuilder.importSymbols("SNMP-TARGET-MIB", "SnmpTagValue") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( sysUpTime, ) = mibBuilder.importSymbols("SNMPv2-MIB", "sysUpTime") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, zeroDotZero, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2", "zeroDotZero") ( RowStatus, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TruthValue") # Types class FailureReason(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(18,8,13,7,6,15,11,0,17,3,5,-1,9,4,14,10,-6,-2,-4,2,-3,12,16,1,-5,) namedValues = NamedValues(("localResourceLack", -1), ("badDestination", -2), ("destinationUnreachable", -3), ("noResponse", -4), ("badType", -5), ("sampleOverrun", -6), ("noError", 0), ("tooBig", 1), ("wrongValue", 10), ("noCreation", 11), ("inconsistentValue", 12), ("resourceUnavailable", 13), ("commitFailed", 14), ("undoFailed", 15), ("authorizationError", 16), ("notWritable", 17), ("inconsistentName", 18), ("noSuchName", 2), ("badValue", 3), ("readOnly", 4), ("genErr", 5), ("noAccess", 6), ("wrongType", 7), ("wrongLength", 8), ("wrongEncoding", 9), ) # Objects sysUpTimeInstance = MibIdentifier((1, 3, 6, 1, 2, 1, 1, 3, 0)) dismanEventMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 88)).setRevisions(("2000-10-16 00:00",)) if mibBuilder.loadTexts: dismanEventMIB.setOrganization("IETF Distributed Management Working Group") if mibBuilder.loadTexts: dismanEventMIB.setContactInfo("Ramanathan Kavasseri\nCisco Systems, Inc.\n170 West Tasman Drive,\nSan Jose CA 95134-1706.\nPhone: +1 408 526 4527\nEmail: ramk@cisco.com") if mibBuilder.loadTexts: dismanEventMIB.setDescription("The MIB module for defining event triggers and actions\nfor network management purposes.") dismanEventMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 1)) mteResource = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 1, 1)) mteResourceSampleMinimum = MibScalar((1, 3, 6, 1, 2, 1, 88, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readwrite").setUnits("seconds") if mibBuilder.loadTexts: mteResourceSampleMinimum.setDescription("The minimum mteTriggerFrequency this system will\naccept. A system may use the larger values of this minimum to\nlessen the impact of constant sampling. For larger\nsampling intervals the system samples less often and\nsuffers less overhead. This object provides a way to enforce\nsuch lower overhead for all triggers created after it is\nset.\n\nUnless explicitly resource limited, a system's value for\nthis object SHOULD be 1, allowing as small as a 1 second\ninterval for ongoing trigger sampling.\n\nChanging this value will not invalidate an existing setting\nof mteTriggerFrequency.") mteResourceSampleInstanceMaximum = MibScalar((1, 3, 6, 1, 2, 1, 88, 1, 1, 2), Unsigned32()).setMaxAccess("readwrite").setUnits("instances") if mibBuilder.loadTexts: mteResourceSampleInstanceMaximum.setDescription("The maximum number of instance entries this system will\nsupport for sampling.\n\nThese are the entries that maintain state, one for each\ninstance of each sampled object as selected by\nmteTriggerValueID. Note that wildcarded objects result\nin multiple instances of this state.\n\nA value of 0 indicates no preset limit, that is, the limit\nis dynamic based on system operation and resources.\n\nUnless explicitly resource limited, a system's value for\nthis object SHOULD be 0.\n\nChanging this value will not eliminate or inhibit existing\nsample state but could prevent allocation of additional state\ninformation.") mteResourceSampleInstances = MibScalar((1, 3, 6, 1, 2, 1, 88, 1, 1, 3), Gauge32()).setMaxAccess("readonly").setUnits("instances") if mibBuilder.loadTexts: mteResourceSampleInstances.setDescription("The number of currently active instance entries as\ndefined for mteResourceSampleInstanceMaximum.") mteResourceSampleInstancesHigh = MibScalar((1, 3, 6, 1, 2, 1, 88, 1, 1, 4), Gauge32()).setMaxAccess("readonly").setUnits("instances") if mibBuilder.loadTexts: mteResourceSampleInstancesHigh.setDescription("The highest value of mteResourceSampleInstances that has\noccurred since initialization of the management system.") mteResourceSampleInstanceLacks = MibScalar((1, 3, 6, 1, 2, 1, 88, 1, 1, 5), Counter32()).setMaxAccess("readonly").setUnits("instances") if mibBuilder.loadTexts: mteResourceSampleInstanceLacks.setDescription("The number of times this system could not take a new sample\nbecause that allocation would have exceeded the limit set by\nmteResourceSampleInstanceMaximum.") mteTrigger = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 1, 2)) mteTriggerFailures = MibScalar((1, 3, 6, 1, 2, 1, 88, 1, 2, 1), Counter32()).setMaxAccess("readonly").setUnits("failures") if mibBuilder.loadTexts: mteTriggerFailures.setDescription("The number of times an attempt to check for a trigger\ncondition has failed. This counts individually for each\nattempt in a group of targets or each attempt for a\n\n\nwildcarded object.") mteTriggerTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 2, 2)) if mibBuilder.loadTexts: mteTriggerTable.setDescription("A table of management event trigger information.") mteTriggerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteTriggerName")) if mibBuilder.loadTexts: mteTriggerEntry.setDescription("Information about a single trigger. Applications create and\ndelete entries using mteTriggerEntryStatus.") mteOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mteOwner.setDescription("The owner of this entry. The exact semantics of this\nstring are subject to the security policy defined by the\nsecurity administrator.") mteTriggerName = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mteTriggerName.setDescription("A locally-unique, administratively assigned name for the\ntrigger within the scope of mteOwner.") mteTriggerComment = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 3), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerComment.setDescription("A description of the trigger's function and use.") mteTriggerTest = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 4), Bits().subtype(namedValues=NamedValues(("existence", 0), ("boolean", 1), ("threshold", 2), )).clone(("boolean",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerTest.setDescription("The type of trigger test to perform. For 'boolean' and\n'threshold' tests, the object at mteTriggerValueID MUST\nevaluate to an integer, that is, anything that ends up encoded\nfor transmission (that is, in BER, not ASN.1) as an integer.\n\nFor 'existence', the specific test is as selected by\nmteTriggerExistenceTest. When an object appears, vanishes\nor changes value, the trigger fires. If the object's\nappearance caused the trigger firing, the object MUST\nvanish before the trigger can be fired again for it, and\nvice versa. If the trigger fired due to a change in the\nobject's value, it will be fired again on every successive\nvalue change for that object.\n\nFor 'boolean', the specific test is as selected by\nmteTriggerBooleanTest. If the test result is true the trigger\nfires. The trigger will not fire again until the value has\nbecome false and come back to true.\n\nFor 'threshold' the test works as described below for\n\n\nmteTriggerThresholdStartup, mteTriggerThresholdRising, and\nmteTriggerThresholdFalling.\n\nNote that combining 'boolean' and 'threshold' tests on the\nsame object may be somewhat redundant.") mteTriggerSampleType = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("absoluteValue", 1), ("deltaValue", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerSampleType.setDescription("The type of sampling to perform.\n\nAn 'absoluteValue' sample requires only a single sample to be\nmeaningful, and is exactly the value of the object at\nmteTriggerValueID at the sample time.\n\nA 'deltaValue' requires two samples to be meaningful and is\nthus not available for testing until the second and subsequent\nsamples after the object at mteTriggerValueID is first found\nto exist. It is the difference between the two samples. For\nunsigned values it is always positive, based on unsigned\narithmetic. For signed values it can be positive or negative.\n\nFor SNMP counters to be meaningful they should be sampled as a\n'deltaValue'.\n\nFor 'deltaValue' mteTriggerDeltaTable contains further\nparameters.\n\nIf only 'existence' is set in mteTriggerTest this object has\nno meaning.") mteTriggerValueID = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 6), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerValueID.setDescription("The object identifier of the MIB object to sample to see\nif the trigger should fire.\n\nThis may be wildcarded by truncating all or part of the\ninstance portion, in which case the value is obtained\nas if with a GetNext function, checking multiple values\n\n\nif they exist. If such wildcarding is applied,\nmteTriggerValueIDWildcard must be 'true' and if not it must\nbe 'false'.\n\nBad object identifiers or a mismatch between truncating the\nidentifier and the value of mteTriggerValueIDWildcard result\nin operation as one would expect when providing the wrong\nidentifier to a Get or GetNext operation. The Get will fail\nor get the wrong object. The GetNext will indeed get whatever\nis next, proceeding until it runs past the initial part of the\nidentifier and perhaps many unintended objects for confusing\nresults. If the value syntax of those objects is not usable,\nthat results in a 'badType' error that terminates the scan.\n\nEach instance that fills the wildcard is independent of any\nadditional instances, that is, wildcarded objects operate\nas if there were a separate table entry for each instance\nthat fills the wildcard without having to actually predict\nall possible instances ahead of time.") mteTriggerValueIDWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 7), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerValueIDWildcard.setDescription("Control for whether mteTriggerValueID is to be treated as\nfully-specified or wildcarded, with 'true' indicating wildcard.") mteTriggerTargetTag = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 8), SnmpTagValue().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerTargetTag.setDescription("The tag for the target(s) from which to obtain the condition\nfor a trigger check.\n\nA length of 0 indicates the local system. In this case,\naccess to the objects indicated by mteTriggerValueID is under\nthe security credentials of the requester that set\nmteTriggerEntryStatus to 'active'. Those credentials are the\ninput parameters for isAccessAllowed from the Architecture for\nDescribing SNMP Management Frameworks.\n\nOtherwise access rights are checked according to the security\n\n\nparameters resulting from the tag.") mteTriggerContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 9), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerContextName.setDescription("The management context from which to obtain mteTriggerValueID.\n\nThis may be wildcarded by leaving characters off the end. For\nexample use 'Repeater' to wildcard to 'Repeater1',\n'Repeater2', 'Repeater-999.87b', and so on. To indicate such\nwildcarding is intended, mteTriggerContextNameWildcard must\nbe 'true'.\n\nEach instance that fills the wildcard is independent of any\nadditional instances, that is, wildcarded objects operate\nas if there were a separate table entry for each instance\nthat fills the wildcard without having to actually predict\nall possible instances ahead of time.\n\nOperation of this feature assumes that the local system has a\nlist of available contexts against which to apply the\nwildcard. If the objects are being read from the local\nsystem, this is clearly the system's own list of contexts.\nFor a remote system a local version of such a list is not\ndefined by any current standard and may not be available, so\nthis function MAY not be supported.") mteTriggerContextNameWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 10), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerContextNameWildcard.setDescription("Control for whether mteTriggerContextName is to be treated as\nfully-specified or wildcarded, with 'true' indicating wildcard.") mteTriggerFrequency = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 11), Unsigned32().clone(600)).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerFrequency.setDescription("The number of seconds to wait between trigger samples. To\nencourage consistency in sampling, the interval is measured\nfrom the beginning of one check to the beginning of the next\nand the timer is restarted immediately when it expires, not\nwhen the check completes.\n\nIf the next sample begins before the previous one completed the\nsystem may either attempt to make the check or treat this as an\nerror condition with the error 'sampleOverrun'.\n\nA frequency of 0 indicates instantaneous recognition of the\ncondition. This is not possible in many cases, but may\nbe supported in cases where it makes sense and the system is\nable to do so. This feature allows the MIB to be used in\nimplementations where such interrupt-driven behavior is\npossible and is not likely to be supported for all MIB objects\neven then since such sampling generally has to be tightly\nintegrated into low-level code.\n\nSystems that can support this SHOULD document those cases\nwhere it can be used. In cases where it can not, setting this\nobject to 0 should be disallowed.") mteTriggerObjectsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 12), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerObjectsOwner.setDescription("To go with mteTriggerObjects, the mteOwner of a group of\nobjects from mteObjectsTable.") mteTriggerObjects = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 13), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerObjects.setDescription("The mteObjectsName of a group of objects from\nmteObjectsTable. These objects are to be added to any\nNotification resulting from the firing of this trigger.\n\nA list of objects may also be added based on the event or on\nthe value of mteTriggerTest.\n\n\n\nA length of 0 indicates no additional objects.") mteTriggerEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 14), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerEnabled.setDescription("A control to allow a trigger to be configured but not used.\nWhen the value is 'false' the trigger is not sampled.") mteTriggerEntryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 2, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteTriggerEntryStatus.setDescription("The control that allows creation and deletion of entries.\nOnce made active an entry may not be modified except to\ndelete it.") mteTriggerDeltaTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 2, 3)) if mibBuilder.loadTexts: mteTriggerDeltaTable.setDescription("A table of management event trigger information for delta\nsampling.") mteTriggerDeltaEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 2, 3, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteTriggerName")) if mibBuilder.loadTexts: mteTriggerDeltaEntry.setDescription("Information about a single trigger's delta sampling. Entries\nautomatically exist in this this table for each mteTriggerEntry\nthat has mteTriggerSampleType set to 'deltaValue'.") mteTriggerDeltaDiscontinuityID = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 3, 1, 1), ObjectIdentifier().clone((1, 3, 6, 1, 2, 1, 1, 3, 0))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerDeltaDiscontinuityID.setDescription("The OBJECT IDENTIFIER (OID) of a TimeTicks, TimeStamp, or\nDateAndTime object that indicates a discontinuity in the value\nat mteTriggerValueID.\n\nThe OID may be for a leaf object (e.g. sysUpTime.0) or may\nbe wildcarded to match mteTriggerValueID.\n\nThis object supports normal checking for a discontinuity in a\ncounter. Note that if this object does not point to sysUpTime\ndiscontinuity checking MUST still check sysUpTime for an overall\ndiscontinuity.\n\nIf the object identified is not accessible the sample attempt\nis in error, with the error code as from an SNMP request.\n\nBad object identifiers or a mismatch between truncating the\nidentifier and the value of mteDeltaDiscontinuityIDWildcard\nresult in operation as one would expect when providing the\nwrong identifier to a Get operation. The Get will fail or get\nthe wrong object. If the value syntax of those objects is not\nusable, that results in an error that terminates the sample\nwith a 'badType' error code.") mteTriggerDeltaDiscontinuityIDWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 3, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerDeltaDiscontinuityIDWildcard.setDescription("Control for whether mteTriggerDeltaDiscontinuityID is to be\ntreated as fully-specified or wildcarded, with 'true'\nindicating wildcard. Note that the value of this object will\nbe the same as that of the corresponding instance of\nmteTriggerValueIDWildcard when the corresponding\n\n\nmteTriggerSampleType is 'deltaValue'.") mteTriggerDeltaDiscontinuityIDType = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 3, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("timeTicks", 1), ("timeStamp", 2), ("dateAndTime", 3), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerDeltaDiscontinuityIDType.setDescription("The value 'timeTicks' indicates the\nmteTriggerDeltaDiscontinuityID of this row is of syntax\nTimeTicks. The value 'timeStamp' indicates syntax TimeStamp.\nThe value 'dateAndTime' indicates syntax DateAndTime.") mteTriggerExistenceTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 2, 4)) if mibBuilder.loadTexts: mteTriggerExistenceTable.setDescription("A table of management event trigger information for existence\ntriggers.") mteTriggerExistenceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 2, 4, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteTriggerName")) if mibBuilder.loadTexts: mteTriggerExistenceEntry.setDescription("Information about a single existence trigger. Entries\nautomatically exist in this this table for each mteTriggerEntry\nthat has 'existence' set in mteTriggerTest.") mteTriggerExistenceTest = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 4, 1, 1), Bits().subtype(namedValues=NamedValues(("present", 0), ("absent", 1), ("changed", 2), )).clone(("present","absent",))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerExistenceTest.setDescription("The type of existence test to perform. The trigger fires\nwhen the object at mteTriggerValueID is seen to go from\npresent to absent, from absent to present, or to have it's\nvalue changed, depending on which tests are selected:\n\npresent(0) - when this test is selected, the trigger fires\nwhen the mteTriggerValueID object goes from absent to present.\n\nabsent(1) - when this test is selected, the trigger fires\nwhen the mteTriggerValueID object goes from present to absent.\nchanged(2) - when this test is selected, the trigger fires\nthe mteTriggerValueID object value changes.\n\nOnce the trigger has fired for either presence or absence it\nwill not fire again for that state until the object has been\nto the other state. ") mteTriggerExistenceStartup = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 4, 1, 2), Bits().subtype(namedValues=NamedValues(("present", 0), ("absent", 1), )).clone(("present","absent",))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerExistenceStartup.setDescription("Control for whether an event may be triggered when this entry\nis first set to 'active' and the test specified by\nmteTriggerExistenceTest is true. Setting an option causes\nthat trigger to fire when its test is true.") mteTriggerExistenceObjectsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 4, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerExistenceObjectsOwner.setDescription("To go with mteTriggerExistenceObjects, the mteOwner of a\ngroup of objects from mteObjectsTable.") mteTriggerExistenceObjects = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 4, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerExistenceObjects.setDescription("The mteObjectsName of a group of objects from\nmteObjectsTable. These objects are to be added to any\nNotification resulting from the firing of this trigger for\nthis test.\n\nA list of objects may also be added based on the overall\ntrigger, the event or other settings in mteTriggerTest.\n\nA length of 0 indicates no additional objects.") mteTriggerExistenceEventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 4, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerExistenceEventOwner.setDescription("To go with mteTriggerExistenceEvent, the mteOwner of an event\nentry from the mteEventTable.") mteTriggerExistenceEvent = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 4, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerExistenceEvent.setDescription("The mteEventName of the event to invoke when mteTriggerType is\n'existence' and this trigger fires. A length of 0 indicates no\nevent.") mteTriggerBooleanTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 2, 5)) if mibBuilder.loadTexts: mteTriggerBooleanTable.setDescription("A table of management event trigger information for boolean\ntriggers.") mteTriggerBooleanEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteTriggerName")) if mibBuilder.loadTexts: mteTriggerBooleanEntry.setDescription("Information about a single boolean trigger. Entries\nautomatically exist in this this table for each mteTriggerEntry\nthat has 'boolean' set in mteTriggerTest.") mteTriggerBooleanComparison = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(4,1,5,3,2,6,)).subtype(namedValues=NamedValues(("unequal", 1), ("equal", 2), ("less", 3), ("lessOrEqual", 4), ("greater", 5), ("greaterOrEqual", 6), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerBooleanComparison.setDescription("The type of boolean comparison to perform.\n\nThe value at mteTriggerValueID is compared to\nmteTriggerBooleanValue, so for example if\nmteTriggerBooleanComparison is 'less' the result would be true\nif the value at mteTriggerValueID is less than the value of\nmteTriggerBooleanValue.") mteTriggerBooleanValue = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1, 2), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerBooleanValue.setDescription("The value to use for the test specified by\nmteTriggerBooleanTest.") mteTriggerBooleanStartup = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerBooleanStartup.setDescription("Control for whether an event may be triggered when this entry\nis first set to 'active' or a new instance of the object at\nmteTriggerValueID is found and the test specified by\nmteTriggerBooleanComparison is true. In that case an event is\ntriggered if mteTriggerBooleanStartup is 'true'.") mteTriggerBooleanObjectsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerBooleanObjectsOwner.setDescription("To go with mteTriggerBooleanObjects, the mteOwner of a group\nof objects from mteObjectsTable.") mteTriggerBooleanObjects = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerBooleanObjects.setDescription("The mteObjectsName of a group of objects from\nmteObjectsTable. These objects are to be added to any\nNotification resulting from the firing of this trigger for\nthis test.\n\nA list of objects may also be added based on the overall\ntrigger, the event or other settings in mteTriggerTest.\n\nA length of 0 indicates no additional objects.") mteTriggerBooleanEventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerBooleanEventOwner.setDescription("To go with mteTriggerBooleanEvent, the mteOwner of an event\nentry from mteEventTable.") mteTriggerBooleanEvent = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 5, 1, 7), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerBooleanEvent.setDescription("The mteEventName of the event to invoke when mteTriggerType is\n'boolean' and this trigger fires. A length of 0 indicates no\nevent.") mteTriggerThresholdTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 2, 6)) if mibBuilder.loadTexts: mteTriggerThresholdTable.setDescription("A table of management event trigger information for threshold\ntriggers.") mteTriggerThresholdEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteTriggerName")) if mibBuilder.loadTexts: mteTriggerThresholdEntry.setDescription("Information about a single threshold trigger. Entries\nautomatically exist in this table for each mteTriggerEntry\nthat has 'threshold' set in mteTriggerTest.") mteTriggerThresholdStartup = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("rising", 1), ("falling", 2), ("risingOrFalling", 3), )).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdStartup.setDescription("The event that may be triggered when this entry is first\nset to 'active' and a new instance of the object at\nmteTriggerValueID is found. If the first sample after this\ninstance becomes active is greater than or equal to\nmteTriggerThresholdRising and mteTriggerThresholdStartup is\nequal to 'rising' or 'risingOrFalling', then one\nmteTriggerThresholdRisingEvent is triggered for that instance.\nIf the first sample after this entry becomes active is less\nthan or equal to mteTriggerThresholdFalling and\nmteTriggerThresholdStartup is equal to 'falling' or\n'risingOrFalling', then one mteTriggerThresholdRisingEvent is\ntriggered for that instance.") mteTriggerThresholdRising = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 2), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdRising.setDescription("A threshold value to check against if mteTriggerType is\n'threshold'.\n\nWhen the current sampled value is greater than or equal to\nthis threshold, and the value at the last sampling interval\nwas less than this threshold, one\nmteTriggerThresholdRisingEvent is triggered. That event is\nalso triggered if the first sample after this entry becomes\nactive is greater than or equal to this threshold and\nmteTriggerThresholdStartup is equal to 'rising' or\n'risingOrFalling'.\n\nAfter a rising event is generated, another such event is not\ntriggered until the sampled value falls below this threshold\nand reaches mteTriggerThresholdFalling.") mteTriggerThresholdFalling = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 3), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdFalling.setDescription("A threshold value to check against if mteTriggerType is\n'threshold'.\n\nWhen the current sampled value is less than or equal to this\nthreshold, and the value at the last sampling interval was\ngreater than this threshold, one\nmteTriggerThresholdFallingEvent is triggered. That event is\nalso triggered if the first sample after this entry becomes\nactive is less than or equal to this threshold and\nmteTriggerThresholdStartup is equal to 'falling' or\n'risingOrFalling'.\n\nAfter a falling event is generated, another such event is not\ntriggered until the sampled value rises above this threshold\nand reaches mteTriggerThresholdRising.") mteTriggerThresholdDeltaRising = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 4), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdDeltaRising.setDescription("A threshold value to check against if mteTriggerType is\n'threshold'.\n\nWhen the delta value (difference) between the current sampled\nvalue (value(n)) and the previous sampled value (value(n-1))\nis greater than or equal to this threshold,\nand the delta value calculated at the last sampling interval\n(i.e. value(n-1) - value(n-2)) was less than this threshold,\none mteTriggerThresholdDeltaRisingEvent is triggered. That event\nis also triggered if the first delta value calculated after this\nentry becomes active, i.e. value(2) - value(1), where value(1)\nis the first sample taken of that instance, is greater than or\nequal to this threshold.\n\nAfter a rising event is generated, another such event is not\ntriggered until the delta value falls below this threshold and\nreaches mteTriggerThresholdDeltaFalling.") mteTriggerThresholdDeltaFalling = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 5), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdDeltaFalling.setDescription("A threshold value to check against if mteTriggerType is\n'threshold'.\n\nWhen the delta value (difference) between the current sampled\nvalue (value(n)) and the previous sampled value (value(n-1))\nis less than or equal to this threshold,\nand the delta value calculated at the last sampling interval\n(i.e. value(n-1) - value(n-2)) was greater than this threshold,\none mteTriggerThresholdDeltaFallingEvent is triggered. That event\nis also triggered if the first delta value calculated after this\nentry becomes active, i.e. value(2) - value(1), where value(1)\nis the first sample taken of that instance, is less than or\nequal to this threshold.\n\nAfter a falling event is generated, another such event is not\ntriggered until the delta value falls below this threshold and\nreaches mteTriggerThresholdDeltaRising.") mteTriggerThresholdObjectsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 6), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdObjectsOwner.setDescription("To go with mteTriggerThresholdObjects, the mteOwner of a group\nof objects from mteObjectsTable.") mteTriggerThresholdObjects = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 7), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdObjects.setDescription("The mteObjectsName of a group of objects from\nmteObjectsTable. These objects are to be added to any\nNotification resulting from the firing of this trigger for\nthis test.\n\nA list of objects may also be added based on the overall\n\n\ntrigger, the event or other settings in mteTriggerTest.\n\nA length of 0 indicates no additional objects.") mteTriggerThresholdRisingEventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 8), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdRisingEventOwner.setDescription("To go with mteTriggerThresholdRisingEvent, the mteOwner of an\nevent entry from mteEventTable.") mteTriggerThresholdRisingEvent = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 9), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdRisingEvent.setDescription("The mteEventName of the event to invoke when mteTriggerType is\n'threshold' and this trigger fires based on\nmteTriggerThresholdRising. A length of 0 indicates no event.") mteTriggerThresholdFallingEventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 10), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdFallingEventOwner.setDescription("To go with mteTriggerThresholdFallingEvent, the mteOwner of an\nevent entry from mteEventTable.") mteTriggerThresholdFallingEvent = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 11), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdFallingEvent.setDescription("The mteEventName of the event to invoke when mteTriggerType is\n'threshold' and this trigger fires based on\nmteTriggerThresholdFalling. A length of 0 indicates no event.") mteTriggerThresholdDeltaRisingEventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 12), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdDeltaRisingEventOwner.setDescription("To go with mteTriggerThresholdDeltaRisingEvent, the mteOwner\nof an event entry from mteEventTable.") mteTriggerThresholdDeltaRisingEvent = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 13), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdDeltaRisingEvent.setDescription("The mteEventName of the event to invoke when mteTriggerType is\n'threshold' and this trigger fires based on\nmteTriggerThresholdDeltaRising. A length of 0 indicates\nno event.") mteTriggerThresholdDeltaFallingEventOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 14), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdDeltaFallingEventOwner.setDescription("To go with mteTriggerThresholdDeltaFallingEvent, the mteOwner\nof an event entry from mteEventTable.") mteTriggerThresholdDeltaFallingEvent = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 2, 6, 1, 15), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteTriggerThresholdDeltaFallingEvent.setDescription("The mteEventName of the event to invoke when mteTriggerType is\n'threshold' and this trigger fires based on\nmteTriggerThresholdDeltaFalling. A length of 0 indicates\nno event.") mteObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 1, 3)) mteObjectsTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 3, 1)) if mibBuilder.loadTexts: mteObjectsTable.setDescription("A table of objects that can be added to notifications based\non the trigger, trigger test, or event, as pointed to by\nentries in those tables.") mteObjectsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 3, 1, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (0, "DISMAN-EVENT-MIB", "mteObjectsName"), (0, "DISMAN-EVENT-MIB", "mteObjectsIndex")) if mibBuilder.loadTexts: mteObjectsEntry.setDescription("A group of objects. Applications create and delete entries\nusing mteObjectsEntryStatus.\n\nWhen adding objects to a notification they are added in the\nlexical order of their index in this table. Those associated\nwith a trigger come first, then trigger test, then event.") mteObjectsName = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 3, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mteObjectsName.setDescription("A locally-unique, administratively assigned name for a group\nof objects.") mteObjectsIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 3, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mteObjectsIndex.setDescription("An arbitrary integer for the purpose of identifying\nindividual objects within a mteObjectsName group.\n\n\nObjects within a group are placed in the notification in the\nnumerical order of this index.\n\nGroups are placed in the notification in the order of the\nselections for overall trigger, trigger test, and event.\nWithin trigger test they are in the same order as the\nnumerical values of the bits defined for mteTriggerTest.\n\nBad object identifiers or a mismatch between truncating the\nidentifier and the value of mteDeltaDiscontinuityIDWildcard\nresult in operation as one would expect when providing the\nwrong identifier to a Get operation. The Get will fail or get\nthe wrong object. If the object is not available it is omitted\nfrom the notification.") mteObjectsID = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 3, 1, 1, 3), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteObjectsID.setDescription("The object identifier of a MIB object to add to a\nNotification that results from the firing of a trigger.\n\nThis may be wildcarded by truncating all or part of the\ninstance portion, in which case the instance portion of the\nOID for obtaining this object will be the same as that used\nin obtaining the mteTriggerValueID that fired. If such\nwildcarding is applied, mteObjectsIDWildcard must be\n'true' and if not it must be 'false'.\n\nEach instance that fills the wildcard is independent of any\nadditional instances, that is, wildcarded objects operate\nas if there were a separate table entry for each instance\nthat fills the wildcard without having to actually predict\nall possible instances ahead of time.") mteObjectsIDWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 3, 1, 1, 4), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteObjectsIDWildcard.setDescription("Control for whether mteObjectsID is to be treated as\nfully-specified or wildcarded, with 'true' indicating wildcard.") mteObjectsEntryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 3, 1, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteObjectsEntryStatus.setDescription("The control that allows creation and deletion of entries.\nOnce made active an entry MAY not be modified except to\ndelete it.") mteEvent = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 1, 4)) mteEventFailures = MibScalar((1, 3, 6, 1, 2, 1, 88, 1, 4, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mteEventFailures.setDescription("The number of times an attempt to invoke an event\nhas failed. This counts individually for each\nattempt in a group of targets or each attempt for a\nwildcarded trigger object.") mteEventTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 4, 2)) if mibBuilder.loadTexts: mteEventTable.setDescription("A table of management event action information.") mteEventEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 4, 2, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteEventName")) if mibBuilder.loadTexts: mteEventEntry.setDescription("Information about a single event. Applications create and\ndelete entries using mteEventEntryStatus.") mteEventName = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: mteEventName.setDescription("A locally-unique, administratively assigned name for the\nevent.") mteEventComment = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 2, 1, 2), SnmpAdminString().clone('')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteEventComment.setDescription("A description of the event's function and use.") mteEventActions = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 2, 1, 3), Bits().subtype(namedValues=NamedValues(("notification", 0), ("set", 1), )).clone(())).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteEventActions.setDescription("The actions to perform when this event occurs.\n\nFor 'notification', Traps and/or Informs are sent according\nto the configuration in the SNMP Notification MIB.\n\nFor 'set', an SNMP Set operation is performed according to\ncontrol values in this entry.") mteEventEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 2, 1, 4), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteEventEnabled.setDescription("A control to allow an event to be configured but not used.\nWhen the value is 'false' the event does not execute even if\n\n\ntriggered.") mteEventEntryStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 2, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: mteEventEntryStatus.setDescription("The control that allows creation and deletion of entries.\nOnce made active an entry MAY not be modified except to\ndelete it.") mteEventNotificationTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 4, 3)) if mibBuilder.loadTexts: mteEventNotificationTable.setDescription("A table of information about notifications to be sent as a\nconsequence of management events.") mteEventNotificationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 4, 3, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteEventName")) if mibBuilder.loadTexts: mteEventNotificationEntry.setDescription("Information about a single event's notification. Entries\nautomatically exist in this this table for each mteEventEntry\nthat has 'notification' set in mteEventActions.") mteEventNotification = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 3, 1, 1), ObjectIdentifier().clone((0, 0))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventNotification.setDescription("The object identifier from the NOTIFICATION-TYPE for the\nnotification to use if metEventActions has 'notification' set.") mteEventNotificationObjectsOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 3, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventNotificationObjectsOwner.setDescription("To go with mteEventNotificationObjects, the mteOwner of a\ngroup of objects from mteObjectsTable.") mteEventNotificationObjects = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 3, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventNotificationObjects.setDescription("The mteObjectsName of a group of objects from\nmteObjectsTable if mteEventActions has 'notification' set.\nThese objects are to be added to any Notification generated by\nthis event.\n\nObjects may also be added based on the trigger that stimulated\nthe event.\n\nA length of 0 indicates no additional objects.") mteEventSetTable = MibTable((1, 3, 6, 1, 2, 1, 88, 1, 4, 4)) if mibBuilder.loadTexts: mteEventSetTable.setDescription("A table of management event action information.") mteEventSetEntry = MibTableRow((1, 3, 6, 1, 2, 1, 88, 1, 4, 4, 1)).setIndexNames((0, "DISMAN-EVENT-MIB", "mteOwner"), (1, "DISMAN-EVENT-MIB", "mteEventName")) if mibBuilder.loadTexts: mteEventSetEntry.setDescription("Information about a single event's set option. Entries\nautomatically exist in this this table for each mteEventEntry\nthat has 'set' set in mteEventActions.") mteEventSetObject = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 4, 1, 1), ObjectIdentifier().clone((0, 0))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventSetObject.setDescription("The object identifier from the MIB object to set if\nmteEventActions has 'set' set.\n\nThis object identifier may be wildcarded by leaving\nsub-identifiers off the end, in which case\nnteEventSetObjectWildCard must be 'true'.\n\nIf mteEventSetObject is wildcarded the instance used to set the\nobject to which it points is the same as the instance from the\nvalue of mteTriggerValueID that triggered the event.\n\nEach instance that fills the wildcard is independent of any\nadditional instances, that is, wildcarded objects operate\nas if there were a separate table entry for each instance\nthat fills the wildcard without having to actually predict\nall possible instances ahead of time.\n\nBad object identifiers or a mismatch between truncating the\nidentifier and the value of mteSetObjectWildcard\nresult in operation as one would expect when providing the\nwrong identifier to a Set operation. The Set will fail or set\nthe wrong object. If the value syntax of the destination\nobject is not correct, the Set fails with the normal SNMP\nerror code.") mteEventSetObjectWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventSetObjectWildcard.setDescription("Control over whether mteEventSetObject is to be treated as\nfully-specified or wildcarded, with 'true' indicating wildcard\nif mteEventActions has 'set' set.") mteEventSetValue = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 4, 1, 3), Integer32().clone(0)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventSetValue.setDescription("The value to which to set the object at mteEventSetObject\nif mteEventActions has 'set' set.") mteEventSetTargetTag = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 4, 1, 4), SnmpTagValue().clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventSetTargetTag.setDescription("The tag for the target(s) at which to set the object at\nmteEventSetObject to mteEventSetValue if mteEventActions\nhas 'set' set.\n\nSystems limited to self management MAY reject a non-zero\nlength for the value of this object.\n\nA length of 0 indicates the local system. In this case,\naccess to the objects indicated by mteEventSetObject is under\nthe security credentials of the requester that set\nmteTriggerEntryStatus to 'active'. Those credentials are the\ninput parameters for isAccessAllowed from the Architecture for\nDescribing SNMP Management Frameworks.\n\nOtherwise access rights are checked according to the security\nparameters resulting from the tag.") mteEventSetContextName = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 4, 1, 5), SnmpAdminString().clone('')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventSetContextName.setDescription("The management context in which to set mteEventObjectID.\nif mteEventActions has 'set' set.\n\nThis may be wildcarded by leaving characters off the end. To\nindicate such wildcarding mteEventSetContextNameWildcard must\nbe 'true'.\n\nIf this context name is wildcarded the value used to complete\nthe wildcarding of mteTriggerContextName will be appended.") mteEventSetContextNameWildcard = MibTableColumn((1, 3, 6, 1, 2, 1, 88, 1, 4, 4, 1, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mteEventSetContextNameWildcard.setDescription("Control for whether mteEventSetContextName is to be treated as\nfully-specified or wildcarded, with 'true' indicating wildcard\nif mteEventActions has 'set' set.") dismanEventMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 2)) dismanEventMIBNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 2, 0)) dismanEventMIBNotificationObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 2, 1)) mteHotTrigger = MibScalar((1, 3, 6, 1, 2, 1, 88, 2, 1, 1), SnmpAdminString()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: mteHotTrigger.setDescription("The name of the trigger causing the notification.") mteHotTargetName = MibScalar((1, 3, 6, 1, 2, 1, 88, 2, 1, 2), SnmpAdminString()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: mteHotTargetName.setDescription("The SNMP Target MIB's snmpTargetAddrName related to the\nnotification.") mteHotContextName = MibScalar((1, 3, 6, 1, 2, 1, 88, 2, 1, 3), SnmpAdminString()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: mteHotContextName.setDescription("The context name related to the notification. This MUST be as\nfully-qualified as possible, including filling in wildcard\ninformation determined in processing.") mteHotOID = MibScalar((1, 3, 6, 1, 2, 1, 88, 2, 1, 4), ObjectIdentifier()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: mteHotOID.setDescription("The object identifier of the destination object related to the\nnotification. This MUST be as fully-qualified as possible,\nincluding filling in wildcard information determined in\nprocessing.\n\nFor a trigger-related notification this is from\nmteTriggerValueID.\n\nFor a set failure this is from mteEventSetObject.") mteHotValue = MibScalar((1, 3, 6, 1, 2, 1, 88, 2, 1, 5), Integer32()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: mteHotValue.setDescription("The value of the object at mteTriggerValueID when a\ntrigger fired.") mteFailedReason = MibScalar((1, 3, 6, 1, 2, 1, 88, 2, 1, 6), FailureReason()).setMaxAccess("notifyonly") if mibBuilder.loadTexts: mteFailedReason.setDescription("The reason for the failure of an attempt to check for a\ntrigger condition or set an object in response to an event.") dismanEventMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 3)) dismanEventMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 3, 1)) dismanEventMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 88, 3, 2)) # Augmentions # Notifications mteTriggerFired = NotificationType((1, 3, 6, 1, 2, 1, 88, 2, 0, 1)).setObjects(*(("DISMAN-EVENT-MIB", "mteHotTargetName"), ("DISMAN-EVENT-MIB", "mteHotValue"), ("DISMAN-EVENT-MIB", "mteHotContextName"), ("DISMAN-EVENT-MIB", "mteHotTrigger"), ("DISMAN-EVENT-MIB", "mteHotOID"), ) ) if mibBuilder.loadTexts: mteTriggerFired.setDescription("Notification that the trigger indicated by the object\ninstances has fired, for triggers with mteTriggerType\n'boolean' or 'existence'.") mteTriggerRising = NotificationType((1, 3, 6, 1, 2, 1, 88, 2, 0, 2)).setObjects(*(("DISMAN-EVENT-MIB", "mteHotTargetName"), ("DISMAN-EVENT-MIB", "mteHotValue"), ("DISMAN-EVENT-MIB", "mteHotContextName"), ("DISMAN-EVENT-MIB", "mteHotTrigger"), ("DISMAN-EVENT-MIB", "mteHotOID"), ) ) if mibBuilder.loadTexts: mteTriggerRising.setDescription("Notification that the rising threshold was met for triggers\nwith mteTriggerType 'threshold'.") mteTriggerFalling = NotificationType((1, 3, 6, 1, 2, 1, 88, 2, 0, 3)).setObjects(*(("DISMAN-EVENT-MIB", "mteHotTargetName"), ("DISMAN-EVENT-MIB", "mteHotValue"), ("DISMAN-EVENT-MIB", "mteHotContextName"), ("DISMAN-EVENT-MIB", "mteHotTrigger"), ("DISMAN-EVENT-MIB", "mteHotOID"), ) ) if mibBuilder.loadTexts: mteTriggerFalling.setDescription("Notification that the falling threshold was met for triggers\nwith mteTriggerType 'threshold'.") mteTriggerFailure = NotificationType((1, 3, 6, 1, 2, 1, 88, 2, 0, 4)).setObjects(*(("DISMAN-EVENT-MIB", "mteFailedReason"), ("DISMAN-EVENT-MIB", "mteHotTargetName"), ("DISMAN-EVENT-MIB", "mteHotContextName"), ("DISMAN-EVENT-MIB", "mteHotTrigger"), ("DISMAN-EVENT-MIB", "mteHotOID"), ) ) if mibBuilder.loadTexts: mteTriggerFailure.setDescription("Notification that an attempt to check a trigger has failed.\n\nThe network manager must enable this notification only with\na certain fear and trembling, as it can easily crowd out more\nimportant information. It should be used only to help diagnose\na problem that has appeared in the error counters and can not\nbe found otherwise.") mteEventSetFailure = NotificationType((1, 3, 6, 1, 2, 1, 88, 2, 0, 5)).setObjects(*(("DISMAN-EVENT-MIB", "mteFailedReason"), ("DISMAN-EVENT-MIB", "mteHotTargetName"), ("DISMAN-EVENT-MIB", "mteHotContextName"), ("DISMAN-EVENT-MIB", "mteHotTrigger"), ("DISMAN-EVENT-MIB", "mteHotOID"), ) ) if mibBuilder.loadTexts: mteEventSetFailure.setDescription("Notification that an attempt to do a set in response to an\nevent has failed.\n\nThe network manager must enable this notification only with\na certain fear and trembling, as it can easily crowd out more\nimportant information. It should be used only to help diagnose\na problem that has appeared in the error counters and can not\nbe found otherwise.") # Groups dismanEventResourceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 88, 3, 2, 1)).setObjects(*(("DISMAN-EVENT-MIB", "mteResourceSampleInstancesHigh"), ("DISMAN-EVENT-MIB", "mteResourceSampleInstanceLacks"), ("DISMAN-EVENT-MIB", "mteResourceSampleMinimum"), ("DISMAN-EVENT-MIB", "mteResourceSampleInstanceMaximum"), ("DISMAN-EVENT-MIB", "mteResourceSampleInstances"), ) ) if mibBuilder.loadTexts: dismanEventResourceGroup.setDescription("Event resource status and control objects.") dismanEventTriggerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 88, 3, 2, 2)).setObjects(*(("DISMAN-EVENT-MIB", "mteTriggerValueID"), ("DISMAN-EVENT-MIB", "mteTriggerBooleanObjects"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdObjects"), ("DISMAN-EVENT-MIB", "mteTriggerTargetTag"), ("DISMAN-EVENT-MIB", "mteTriggerDeltaDiscontinuityID"), ("DISMAN-EVENT-MIB", "mteTriggerDeltaDiscontinuityIDType"), ("DISMAN-EVENT-MIB", "mteTriggerContextName"), ("DISMAN-EVENT-MIB", "mteTriggerExistenceObjects"), ("DISMAN-EVENT-MIB", "mteTriggerExistenceEvent"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdRisingEventOwner"), ("DISMAN-EVENT-MIB", "mteTriggerEnabled"), ("DISMAN-EVENT-MIB", "mteTriggerDeltaDiscontinuityIDWildcard"), ("DISMAN-EVENT-MIB", "mteTriggerExistenceTest"), ("DISMAN-EVENT-MIB", "mteTriggerSampleType"), ("DISMAN-EVENT-MIB", "mteTriggerValueIDWildcard"), ("DISMAN-EVENT-MIB", "mteTriggerBooleanEventOwner"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdDeltaFallingEventOwner"), ("DISMAN-EVENT-MIB", "mteTriggerExistenceObjectsOwner"), ("DISMAN-EVENT-MIB", "mteTriggerBooleanEvent"), ("DISMAN-EVENT-MIB", "mteTriggerExistenceStartup"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdObjectsOwner"), ("DISMAN-EVENT-MIB", "mteTriggerBooleanObjectsOwner"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdRising"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdDeltaFalling"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdFallingEventOwner"), ("DISMAN-EVENT-MIB", "mteTriggerContextNameWildcard"), ("DISMAN-EVENT-MIB", "mteTriggerObjectsOwner"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdDeltaRising"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdDeltaFallingEvent"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdRisingEvent"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdFalling"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdFallingEvent"), ("DISMAN-EVENT-MIB", "mteTriggerFailures"), ("DISMAN-EVENT-MIB", "mteTriggerComment"), ("DISMAN-EVENT-MIB", "mteTriggerExistenceEventOwner"), ("DISMAN-EVENT-MIB", "mteTriggerBooleanValue"), ("DISMAN-EVENT-MIB", "mteTriggerObjects"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdStartup"), ("DISMAN-EVENT-MIB", "mteTriggerBooleanStartup"), ("DISMAN-EVENT-MIB", "mteTriggerFrequency"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdDeltaRisingEvent"), ("DISMAN-EVENT-MIB", "mteTriggerTest"), ("DISMAN-EVENT-MIB", "mteTriggerEntryStatus"), ("DISMAN-EVENT-MIB", "mteTriggerBooleanComparison"), ("DISMAN-EVENT-MIB", "mteTriggerThresholdDeltaRisingEventOwner"), ) ) if mibBuilder.loadTexts: dismanEventTriggerGroup.setDescription("Event triggers.") dismanEventObjectsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 88, 3, 2, 3)).setObjects(*(("DISMAN-EVENT-MIB", "mteObjectsIDWildcard"), ("DISMAN-EVENT-MIB", "mteObjectsID"), ("DISMAN-EVENT-MIB", "mteObjectsEntryStatus"), ) ) if mibBuilder.loadTexts: dismanEventObjectsGroup.setDescription("Supplemental objects.") dismanEventEventGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 88, 3, 2, 4)).setObjects(*(("DISMAN-EVENT-MIB", "mteEventNotificationObjects"), ("DISMAN-EVENT-MIB", "mteEventSetObject"), ("DISMAN-EVENT-MIB", "mteEventSetContextNameWildcard"), ("DISMAN-EVENT-MIB", "mteEventNotificationObjectsOwner"), ("DISMAN-EVENT-MIB", "mteEventSetContextName"), ("DISMAN-EVENT-MIB", "mteEventSetObjectWildcard"), ("DISMAN-EVENT-MIB", "mteEventEnabled"), ("DISMAN-EVENT-MIB", "mteEventNotification"), ("DISMAN-EVENT-MIB", "mteEventSetTargetTag"), ("DISMAN-EVENT-MIB", "mteEventActions"), ("DISMAN-EVENT-MIB", "mteEventSetValue"), ("DISMAN-EVENT-MIB", "mteEventFailures"), ("DISMAN-EVENT-MIB", "mteEventComment"), ("DISMAN-EVENT-MIB", "mteEventEntryStatus"), ) ) if mibBuilder.loadTexts: dismanEventEventGroup.setDescription("Events.") dismanEventNotificationObjectGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 88, 3, 2, 5)).setObjects(*(("DISMAN-EVENT-MIB", "mteHotTargetName"), ("DISMAN-EVENT-MIB", "mteHotTrigger"), ("DISMAN-EVENT-MIB", "mteHotContextName"), ("DISMAN-EVENT-MIB", "mteHotValue"), ("DISMAN-EVENT-MIB", "mteHotOID"), ("DISMAN-EVENT-MIB", "mteFailedReason"), ) ) if mibBuilder.loadTexts: dismanEventNotificationObjectGroup.setDescription("Notification objects.") dismanEventNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 88, 3, 2, 6)).setObjects(*(("DISMAN-EVENT-MIB", "mteEventSetFailure"), ("DISMAN-EVENT-MIB", "mteTriggerRising"), ("DISMAN-EVENT-MIB", "mteTriggerFailure"), ("DISMAN-EVENT-MIB", "mteTriggerFalling"), ("DISMAN-EVENT-MIB", "mteTriggerFired"), ) ) if mibBuilder.loadTexts: dismanEventNotificationGroup.setDescription("Notifications.") # Compliances dismanEventMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 88, 3, 1, 1)).setObjects(*(("DISMAN-EVENT-MIB", "dismanEventNotificationGroup"), ("DISMAN-EVENT-MIB", "dismanEventObjectsGroup"), ("DISMAN-EVENT-MIB", "dismanEventResourceGroup"), ("DISMAN-EVENT-MIB", "dismanEventEventGroup"), ("DISMAN-EVENT-MIB", "dismanEventTriggerGroup"), ("DISMAN-EVENT-MIB", "dismanEventNotificationObjectGroup"), ) ) if mibBuilder.loadTexts: dismanEventMIBCompliance.setDescription("The compliance statement for entities which implement\nthe Event MIB.") # Exports # Module identity mibBuilder.exportSymbols("DISMAN-EVENT-MIB", PYSNMP_MODULE_ID=dismanEventMIB) # Types mibBuilder.exportSymbols("DISMAN-EVENT-MIB", FailureReason=FailureReason) # Objects mibBuilder.exportSymbols("DISMAN-EVENT-MIB", sysUpTimeInstance=sysUpTimeInstance, dismanEventMIB=dismanEventMIB, dismanEventMIBObjects=dismanEventMIBObjects, mteResource=mteResource, mteResourceSampleMinimum=mteResourceSampleMinimum, mteResourceSampleInstanceMaximum=mteResourceSampleInstanceMaximum, mteResourceSampleInstances=mteResourceSampleInstances, mteResourceSampleInstancesHigh=mteResourceSampleInstancesHigh, mteResourceSampleInstanceLacks=mteResourceSampleInstanceLacks, mteTrigger=mteTrigger, mteTriggerFailures=mteTriggerFailures, mteTriggerTable=mteTriggerTable, mteTriggerEntry=mteTriggerEntry, mteOwner=mteOwner, mteTriggerName=mteTriggerName, mteTriggerComment=mteTriggerComment, mteTriggerTest=mteTriggerTest, mteTriggerSampleType=mteTriggerSampleType, mteTriggerValueID=mteTriggerValueID, mteTriggerValueIDWildcard=mteTriggerValueIDWildcard, mteTriggerTargetTag=mteTriggerTargetTag, mteTriggerContextName=mteTriggerContextName, mteTriggerContextNameWildcard=mteTriggerContextNameWildcard, mteTriggerFrequency=mteTriggerFrequency, mteTriggerObjectsOwner=mteTriggerObjectsOwner, mteTriggerObjects=mteTriggerObjects, mteTriggerEnabled=mteTriggerEnabled, mteTriggerEntryStatus=mteTriggerEntryStatus, mteTriggerDeltaTable=mteTriggerDeltaTable, mteTriggerDeltaEntry=mteTriggerDeltaEntry, mteTriggerDeltaDiscontinuityID=mteTriggerDeltaDiscontinuityID, mteTriggerDeltaDiscontinuityIDWildcard=mteTriggerDeltaDiscontinuityIDWildcard, mteTriggerDeltaDiscontinuityIDType=mteTriggerDeltaDiscontinuityIDType, mteTriggerExistenceTable=mteTriggerExistenceTable, mteTriggerExistenceEntry=mteTriggerExistenceEntry, mteTriggerExistenceTest=mteTriggerExistenceTest, mteTriggerExistenceStartup=mteTriggerExistenceStartup, mteTriggerExistenceObjectsOwner=mteTriggerExistenceObjectsOwner, mteTriggerExistenceObjects=mteTriggerExistenceObjects, mteTriggerExistenceEventOwner=mteTriggerExistenceEventOwner, mteTriggerExistenceEvent=mteTriggerExistenceEvent, mteTriggerBooleanTable=mteTriggerBooleanTable, mteTriggerBooleanEntry=mteTriggerBooleanEntry, mteTriggerBooleanComparison=mteTriggerBooleanComparison, mteTriggerBooleanValue=mteTriggerBooleanValue, mteTriggerBooleanStartup=mteTriggerBooleanStartup, mteTriggerBooleanObjectsOwner=mteTriggerBooleanObjectsOwner, mteTriggerBooleanObjects=mteTriggerBooleanObjects, mteTriggerBooleanEventOwner=mteTriggerBooleanEventOwner, mteTriggerBooleanEvent=mteTriggerBooleanEvent, mteTriggerThresholdTable=mteTriggerThresholdTable, mteTriggerThresholdEntry=mteTriggerThresholdEntry, mteTriggerThresholdStartup=mteTriggerThresholdStartup, mteTriggerThresholdRising=mteTriggerThresholdRising, mteTriggerThresholdFalling=mteTriggerThresholdFalling, mteTriggerThresholdDeltaRising=mteTriggerThresholdDeltaRising, mteTriggerThresholdDeltaFalling=mteTriggerThresholdDeltaFalling, mteTriggerThresholdObjectsOwner=mteTriggerThresholdObjectsOwner, mteTriggerThresholdObjects=mteTriggerThresholdObjects, mteTriggerThresholdRisingEventOwner=mteTriggerThresholdRisingEventOwner, mteTriggerThresholdRisingEvent=mteTriggerThresholdRisingEvent, mteTriggerThresholdFallingEventOwner=mteTriggerThresholdFallingEventOwner, mteTriggerThresholdFallingEvent=mteTriggerThresholdFallingEvent, mteTriggerThresholdDeltaRisingEventOwner=mteTriggerThresholdDeltaRisingEventOwner, mteTriggerThresholdDeltaRisingEvent=mteTriggerThresholdDeltaRisingEvent, mteTriggerThresholdDeltaFallingEventOwner=mteTriggerThresholdDeltaFallingEventOwner, mteTriggerThresholdDeltaFallingEvent=mteTriggerThresholdDeltaFallingEvent, mteObjects=mteObjects, mteObjectsTable=mteObjectsTable, mteObjectsEntry=mteObjectsEntry, mteObjectsName=mteObjectsName, mteObjectsIndex=mteObjectsIndex, mteObjectsID=mteObjectsID, mteObjectsIDWildcard=mteObjectsIDWildcard, mteObjectsEntryStatus=mteObjectsEntryStatus, mteEvent=mteEvent, mteEventFailures=mteEventFailures, mteEventTable=mteEventTable, mteEventEntry=mteEventEntry, mteEventName=mteEventName, mteEventComment=mteEventComment, mteEventActions=mteEventActions, mteEventEnabled=mteEventEnabled, mteEventEntryStatus=mteEventEntryStatus, mteEventNotificationTable=mteEventNotificationTable, mteEventNotificationEntry=mteEventNotificationEntry, mteEventNotification=mteEventNotification, mteEventNotificationObjectsOwner=mteEventNotificationObjectsOwner, mteEventNotificationObjects=mteEventNotificationObjects, mteEventSetTable=mteEventSetTable, mteEventSetEntry=mteEventSetEntry, mteEventSetObject=mteEventSetObject, mteEventSetObjectWildcard=mteEventSetObjectWildcard, mteEventSetValue=mteEventSetValue, mteEventSetTargetTag=mteEventSetTargetTag, mteEventSetContextName=mteEventSetContextName, mteEventSetContextNameWildcard=mteEventSetContextNameWildcard, dismanEventMIBNotificationPrefix=dismanEventMIBNotificationPrefix, dismanEventMIBNotifications=dismanEventMIBNotifications, dismanEventMIBNotificationObjects=dismanEventMIBNotificationObjects, mteHotTrigger=mteHotTrigger, mteHotTargetName=mteHotTargetName, mteHotContextName=mteHotContextName, mteHotOID=mteHotOID, mteHotValue=mteHotValue, mteFailedReason=mteFailedReason, dismanEventMIBConformance=dismanEventMIBConformance, dismanEventMIBCompliances=dismanEventMIBCompliances, dismanEventMIBGroups=dismanEventMIBGroups) # Notifications mibBuilder.exportSymbols("DISMAN-EVENT-MIB", mteTriggerFired=mteTriggerFired, mteTriggerRising=mteTriggerRising, mteTriggerFalling=mteTriggerFalling, mteTriggerFailure=mteTriggerFailure, mteEventSetFailure=mteEventSetFailure) # Groups mibBuilder.exportSymbols("DISMAN-EVENT-MIB", dismanEventResourceGroup=dismanEventResourceGroup, dismanEventTriggerGroup=dismanEventTriggerGroup, dismanEventObjectsGroup=dismanEventObjectsGroup, dismanEventEventGroup=dismanEventEventGroup, dismanEventNotificationObjectGroup=dismanEventNotificationObjectGroup, dismanEventNotificationGroup=dismanEventNotificationGroup) # Compliances mibBuilder.exportSymbols("DISMAN-EVENT-MIB", dismanEventMIBCompliance=dismanEventMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ADSL-LINE-MIB.py0000644000014400001440000042247711736645134020723 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ADSL-LINE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:38 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( AdslLineCodingType, AdslPerfCurrDayCount, AdslPerfPrevDayCount, AdslPerfTimeElapsed, ) = mibBuilder.importSymbols("ADSL-TC-MIB", "AdslLineCodingType", "AdslPerfCurrDayCount", "AdslPerfPrevDayCount", "AdslPerfTimeElapsed") ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( PerfCurrentCount, PerfIntervalCount, ) = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfCurrentCount", "PerfIntervalCount") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, TruthValue, VariablePointer, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "VariablePointer") # Objects adslMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 94)).setRevisions(("1999-08-19 00:00",)) if mibBuilder.loadTexts: adslMIB.setOrganization("IETF ADSL MIB Working Group") if mibBuilder.loadTexts: adslMIB.setContactInfo("\nGregory Bathrick\nAG Communication Systems\nA Subsidiary of Lucent Technologies\n2500 W Utopia Rd.\nPhoenix, AZ 85027 USA\nTel: +1 602-582-7679\nFax: +1 602-582-7697\nE-mail: bathricg@agcs.com\n\nFaye Ly\nCopper Mountain Networks\nNorcal Office\n2470 Embarcadero Way\nPalo Alto, CA 94303\nTel: +1 650-858-8500\nFax: +1 650-858-8085\nE-Mail: faye@coppermountain.com\n\n(ADSL Forum input only)\nJohn Burgess\nPredictive Systems, Inc.\n25A Vreeland Rd.\nFlorham Park, NJ 07932 USA\nTel: +1 973-301-5610\nFax: +1 973-301-5699\nE-mail: jtburgess@predictive.com\n\nIETF ADSL MIB Working Group (adsl@xlist.agcs.com)") if mibBuilder.loadTexts: adslMIB.setDescription("The MIB module defining objects for the management of a pair of\nADSL modems at each end of the ADSL line. Each such line has\nan entry in an ifTable which may include multiple modem lines.\nAn agent may reside at either end of the ADSL line however the\nMIB is designed to require no management communication between\nthem beyond that inherent in the low-level ADSL line protocol.\nThe agent may monitor and control this protocol for its needs.\n\nADSL lines may support optional Fast or Interleaved channels.\nIf these are supported, additional entries corresponding to the\nsupported channels must be created in the ifTable. Thus an ADSL\nline that supports both channels will have three entries in the\nifTable, one for each physical, fast, and interleaved, whose\nifType values are equal to adsl(94), fast(125), and\ninterleaved(124), respectively. The ifStackTable is used to\nrepresent the relationship between the entries.\n\nNaming Conventions:\n Atuc -- (ATUC) modem at near (Central) end of line\n Atur -- (ATUR) modem at Remote end of line\n Curr -- Current\n Prev -- Previous\n Atn -- Attenuation\n ES -- Errored Second.\n LCS -- Line Code Specific\n Lof -- Loss of Frame\n Lol -- Loss of Link\n Los -- Loss of Signal\n Lpr -- Loss of Power\n xxxs-- interval of Seconds in which xxx occurs\n (e.g., xxx=Lof, Los, Lpr)\n Max -- Maximum\n Mgn -- Margin\n Min -- Minimum\n Psd -- Power Spectral Density\n Snr -- Signal to Noise Ratio\n Tx -- Transmit\n Blks-- Blocks, a data unit, see\n adslAtuXChanCrcBlockLength\n ") adslLineMib = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1)) adslMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 1)) adslLineTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 1)) if mibBuilder.loadTexts: adslLineTable.setDescription("This table includes common attributes describing\nboth ends of the line. It is required for all ADSL\nphysical interfaces. ADSL physical interfaces are\nthose ifEntries where ifType is equal to adsl(94).") adslLineEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslLineEntry.setDescription("An entry in adslLineTable.") adslLineCoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 1, 1, 1), AdslLineCodingType()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslLineCoding.setDescription("Specifies the ADSL coding type used on this\nline.") adslLineType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,4,5,)).subtype(namedValues=NamedValues(("noChannel", 1), ("fastOnly", 2), ("interleavedOnly", 3), ("fastOrInterleaved", 4), ("fastAndInterleaved", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslLineType.setDescription("Defines the type of ADSL physical line\nentity that exists, by defining whether and how\nthe line is channelized. If the line is channelized,\nthe value will be other than noChannel(1). This\nobject defines which channel type(s) are supported.\n\nIn the case that the line is channelized, the manager\ncan use the ifStackTable to determine the ifIndex for\nthe associated channel(s).") adslLineSpecific = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 1, 1, 3), VariablePointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslLineSpecific.setDescription("OID instance in vendor-specific MIB. The Instance may\nbe used to determine shelf/slot/port of the ATUC\ninterface in a DSLAM.") adslLineConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 1, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: adslLineConfProfile.setDescription("The value of this object identifies the row\nin the ADSL Line Configuration Profile Table,\n(adslLineConfProfileTable), which applies for this\nADSL line, and channels if applicable.\n\nFor `dynamic' mode, in the case which the\nconfiguration profile has not been set, the\nvalue will be set to `DEFVAL'.\n\nIf the implementator of this MIB has chosen not\nto implement `dynamic assignment' of profiles, this\nobject's MIN-ACCESS is read-only.") adslLineAlarmConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 1, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: adslLineAlarmConfProfile.setDescription("The value of this object identifies the row\nin the ADSL Line Alarm Configuration Profile Table,\n(adslLineAlarmConfProfileTable), which applies to this\nADSL line, and channels if applicable.\n\nFor `dynamic' mode, in the case which the\nalarm profile has not been set, the\nvalue will be set to `DEFVAL'.\n\nIf the implementator of this MIB has chosen not\nto implement `dynamic assignment' of profiles, this\nobject's MIN-ACCESS is read-only.") adslAtucPhysTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2)) if mibBuilder.loadTexts: adslAtucPhysTable.setDescription("This table provides one row for each ATUC.\nEach row contains the Physical Layer Parameters\ntable for that ATUC. ADSL physical interfaces are\nthose ifEntries where ifType is equal to adsl(94).") adslAtucPhysEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAtucPhysEntry.setDescription("An entry in the adslAtucPhysTable.") adslAtucInvSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucInvSerialNumber.setDescription("The vendor specific string that identifies the\nvendor equipment.") adslAtucInvVendorID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucInvVendorID.setDescription("The vendor ID code is a copy of the binary\nvendor identification field defined by the\nPHY[10] and expressed as readable characters.") adslAtucInvVersionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucInvVersionNumber.setDescription("The vendor specific version number sent by this ATU\nas part of the initialization messages. It is a copy\nof the binary version number field defined by the\nPHY[10] and expressed as readable characters.") adslAtucCurrSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-640, 640))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucCurrSnrMgn.setDescription("Noise Margin as seen by this ATU with respect to its\nreceived signal in tenth dB.") adslAtucCurrAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 5), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 630))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucCurrAtn.setDescription("Measured difference in the total power transmitted by\nthe peer ATU and the total power received by this ATU.") adslAtucCurrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 6), Bits().subtype(namedValues=NamedValues(("noDefect", 0), ("lossOfFraming", 1), ("lossOfSignal", 2), ("lossOfPower", 3), ("lossOfSignalQuality", 4), ("lossOfLink", 5), ("dataInitFailure", 6), ("configInitFailure", 7), ("protocolInitFailure", 8), ("noPeerAtuPresent", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucCurrStatus.setDescription("Indicates current state of the ATUC line. This is a\nbit-map of possible conditions. The various bit\npositions are:\n\n0 noDefect There no defects on the line\n\n1 lossOfFraming ATUC failure due to not\n receiving valid frame.\n\n2 lossOfSignal ATUC failure due to not\n receiving signal.\n\n3 lossOfPower ATUC failure due to loss of\n power.\n Note: the Agent may still\n function.\n\n4 lossOfSignalQuality Loss of Signal Quality is\n declared when the Noise Margin\n falls below the Minimum Noise\n Margin, or the bit-error-rate\n exceeds 10^-7.\n\n5 lossOfLink ATUC failure due to inability\n to link with ATUR.\n\n6 dataInitFailure ATUC failure during\n initialization due to bit\n errors corrupting startup\n exchange data.\n\n7 configInitFailure ATUC failure during\n initialization due to peer\n ATU not able to support\n requested configuration\n\n8 protocolInitFailure ATUC failure during\n initialization due to\n incompatible protocol used by\n the peer ATU.\n\n9 noPeerAtuPresent ATUC failure during\n initialization due to no\n activation sequence detected\n from peer ATU.\n\nThis is intended to supplement ifOperStatus.") adslAtucCurrOutputPwr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-310, 310))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucCurrOutputPwr.setDescription("Measured total output power transmitted by this ATU.\nThis is the measurement that was reported during\nthe last activation sequence.") adslAtucCurrAttainableRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 2, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucCurrAttainableRate.setDescription("Indicates the maximum currently attainable data rate\nby the ATU. This value will be equal or greater than\nthe current line rate.") adslAturPhysTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3)) if mibBuilder.loadTexts: adslAturPhysTable.setDescription("This table provides one row for each ATUR\nEach row contains the Physical Layer Parameters\ntable for that ATUR. ADSL physical interfaces are\nthose ifEntries where ifType is equal to adsl(94).") adslAturPhysEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAturPhysEntry.setDescription("An entry in the adslAturPhysTable.") adslAturInvSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturInvSerialNumber.setDescription("The vendor specific string that identifies the\nvendor equipment.") adslAturInvVendorID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturInvVendorID.setDescription("The vendor ID code is a copy of the binary\nvendor identification field defined by the\nPHY[10] and expressed as readable characters.") adslAturInvVersionNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturInvVersionNumber.setDescription("The vendor specific version number sent by this ATU\nas part of the initialization messages. It is a copy\nof the binary version number field defined by the\nPHY[10] and expressed as readable characters.") adslAturCurrSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-640, 640))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturCurrSnrMgn.setDescription("Noise Margin as seen by this ATU with respect to its\nreceived signal in tenth dB.") adslAturCurrAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 5), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 630))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturCurrAtn.setDescription("Measured difference in the total power transmitted by\nthe peer ATU and the total power received by this ATU.") adslAturCurrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 6), Bits().subtype(namedValues=NamedValues(("noDefect", 0), ("lossOfFraming", 1), ("lossOfSignal", 2), ("lossOfPower", 3), ("lossOfSignalQuality", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturCurrStatus.setDescription("Indicates current state of the ATUR line. This is a\nbit-map of possible conditions. Due to the isolation\nof the ATUR when line problems occur, many state\nconditions like loss of power, loss of quality signal,\nand initialization errors, can not be determined.\nWhile trouble shooting ATUR, also use object,\nadslAtucCurrStatus. The various bit positions are:\n\n0 noDefect There no defects on the line\n\n1 lossOfFraming ATUR failure due to not\n receiving valid frame\n\n2 lossOfSignal ATUR failure due to not\n receiving signal\n\n3 lossOfPower ATUR failure due to loss of\n power\n\n4 lossOfSignalQuality Loss of Signal Quality is\n declared when the Noise Margin\n falls below the Minimum Noise\n Margin, or the\n bit-error-rate exceeds 10^-7.\n\nThis is intended to supplement ifOperStatus.") adslAturCurrOutputPwr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-310, 310))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturCurrOutputPwr.setDescription("Measured total output power transmitted by this ATU.\nThis is the measurement that was reported during\nthe last activation sequence.") adslAturCurrAttainableRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 3, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturCurrAttainableRate.setDescription("Indicates the maximum currently attainable data rate\nby the ATU. This value will be equal or greater than\nthe current line rate.") adslAtucChanTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 4)) if mibBuilder.loadTexts: adslAtucChanTable.setDescription("This table provides one row for each ATUC channel.\nADSL channel interfaces are those ifEntries\nwhere ifType is equal to adslInterleave(124)\nor adslFast(125).") adslAtucChanEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAtucChanEntry.setDescription("An entry in the adslAtucChanTable.") adslAtucChanInterleaveDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 4, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanInterleaveDelay.setDescription("Interleave Delay for this channel.\n\nInterleave delay applies only to the\ninterleave channel and defines the mapping\n(relative spacing) between subsequent input\nbytes at the interleaver input and their placement\nin the bit stream at the interleaver output.\nLarger numbers provide greater separation between\nconsecutive input bytes in the output bit stream\nallowing for improved impulse noise immunity at\nthe expense of payload latency.\n\nIn the case where the ifType is Fast(125), use\nnoSuchObject.") adslAtucChanCurrTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 4, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanCurrTxRate.setDescription("Actual transmit rate on this channel.") adslAtucChanPrevTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 4, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPrevTxRate.setDescription("The rate at the time of the last\nadslAtucRateChangeTrap event. It is also set at\ninitialization to prevent a trap being sent.\n\nRate changes less than adslAtucThresh(*)RateDown\nor less than adslAtucThresh(*)RateUp will not\ncause a trap or cause this object to change.\n(*) == Fast or Interleave.\nSee AdslLineAlarmConfProfileEntry.") adslAtucChanCrcBlockLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 4, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanCrcBlockLength.setDescription("Indicates the length of the channel data-block\non which the CRC operates. Refer to Line Code\nSpecific MIBs, [11] and [12] for more\ninformation.") adslAturChanTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 5)) if mibBuilder.loadTexts: adslAturChanTable.setDescription("This table provides one row for each ATUR channel.\nADSL channel interfaces are those ifEntries\nwhere ifType is equal to adslInterleave(124)\nor adslFast(125).") adslAturChanEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAturChanEntry.setDescription("An entry in the adslAturChanTable.") adslAturChanInterleaveDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 5, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanInterleaveDelay.setDescription("Interleave Delay for this channel.\n\nInterleave delay applies only to the\ninterleave channel and defines the mapping\n(relative spacing) between subsequent input\nbytes at the interleaver input and their placement\nin the bit stream at the interleaver output.\nLarger numbers provide greater separation between\nconsecutive input bytes in the output bit stream\nallowing for improved impulse noise immunity at\nthe expense of payload latency.\n\nIn the case where the ifType is Fast(125), use\nnoSuchObject.") adslAturChanCurrTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 5, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanCurrTxRate.setDescription("Actual transmit rate on this channel.") adslAturChanPrevTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 5, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPrevTxRate.setDescription("The rate at the time of the last\nadslAturRateChangeTrap event. It is also set at\ninitialization to prevent a trap being sent.\nRate changes less than adslAturThresh(*)RateDown\nor less than adslAturThresh(*)RateUp will not\ncause a trap or cause this object to change.\n(*) == Fast or Interleave.\nSee AdslLineAlarmConfProfileEntry.") adslAturChanCrcBlockLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 5, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanCrcBlockLength.setDescription("Indicates the length of the channel data-block\non which the CRC operates. Refer to Line Code\nSpecific MIBs, [11] and [12] for more\ninformation.") adslAtucPerfDataTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6)) if mibBuilder.loadTexts: adslAtucPerfDataTable.setDescription("This table provides one row for each ATUC.\nADSL physical interfaces are\nthose ifEntries where ifType is equal to adsl(94).") adslAtucPerfDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAtucPerfDataEntry.setDescription("An entry in adslAtucPerfDataTable.") adslAtucPerfLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfLofs.setDescription("Count of the number of Loss of Framing failures since\nagent reset.") adslAtucPerfLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfLoss.setDescription("Count of the number of Loss of Signal failures since\nagent reset.") adslAtucPerfLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfLols.setDescription("Count of the number of Loss of Link failures since\nagent reset.") adslAtucPerfLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfLprs.setDescription("Count of the number of Loss of Power failures since\nagent reset.") adslAtucPerfESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfESs.setDescription("Count of the number of Errored Seconds since agent\nreset. The errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAtucPerfInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfInits.setDescription("Count of the line initialization attempts since\nagent reset. Includes both successful and failed\nattempts.") adslAtucPerfValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfValidIntervals.setDescription("The number of previous 15-minute intervals in the\ninterval table for which data was collected. Given\nthat is the maximum # of intervals supported.\nThe value will be unless the measurement was\n(re-)started within the last (*15) minutes, in which\ncase the value will be the number of complete 15\nminute intervals for which the agent has at least\nsome data. In certain cases (e.g., in the case\nwhere the agent is a proxy) it is possible that some\nintervals are unavailable. In this case, this\ninterval is the maximum interval number for\nwhich data is available.") adslAtucPerfInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfInvalidIntervals.setDescription("The number of intervals in the range from\n0 to the value of adslAtucPerfValidIntervals\nfor which no data is available. This object\nwill typically be zero except in cases where\nthe data for some intervals are not available\n(e.g., in proxy situations).") adslAtucPerfCurr15MinTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 9), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinTimeElapsed.setDescription("Total elapsed seconds in this interval.") adslAtucPerfCurr15MinLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinLofs.setDescription("Count of seconds in the current 15 minute interval\nwhen there was Loss of Framing.") adslAtucPerfCurr15MinLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinLoss.setDescription("Count of seconds in the current 15 minute interval\nwhen there was Loss of Signal.") adslAtucPerfCurr15MinLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 12), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinLols.setDescription("Count of seconds in the current 15 minute interval\nwhen there was Loss of Link.") adslAtucPerfCurr15MinLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 13), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinLprs.setDescription("Count of seconds in the current 15 minute interval\nwhen there was Loss of Power.") adslAtucPerfCurr15MinESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 14), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinESs.setDescription("Count of Errored Seconds in the current 15 minute\ninterval. The errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAtucPerfCurr15MinInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 15), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr15MinInits.setDescription("Count of the line initialization attempts in the\ncurrent 15 minute interval. Includes both successful\nand failed attempts.") adslAtucPerfCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 16), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 86399))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayTimeElapsed.setDescription("Number of seconds that have elapsed since the\nbeginning of the current 1-day interval.") adslAtucPerfCurr1DayLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 17), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayLofs.setDescription("Count of the number of seconds when there was Loss of\nFraming during the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed.") adslAtucPerfCurr1DayLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 18), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayLoss.setDescription("Count of the number of seconds when there was Loss of\nSignal during the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed.") adslAtucPerfCurr1DayLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 19), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayLols.setDescription("Count of the number of seconds when there was Loss of\nLink during the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed.") adslAtucPerfCurr1DayLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 20), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayLprs.setDescription("Count of the number of seconds when there was Loss of\nPower during the current day as measured by\nadslAtucPerfCurr1DayTimeElapsed.") adslAtucPerfCurr1DayESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 21), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayESs.setDescription("Count of Errored Seconds during the current day as\nmeasured by adslAtucPerfCurr1DayTimeElapsed.\nThe errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAtucPerfCurr1DayInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 22), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfCurr1DayInits.setDescription("Count of the line initialization attempts in the\nday as measured by adslAtucPerfCurr1DayTimeElapsed.\nIncludes both successful and failed attempts.") adslAtucPerfPrev1DayMoniSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayMoniSecs.setDescription("The amount of time in the previous 1-day interval\nover which the performance monitoring information\nis actually counted. This value will be the same as\nthe interval duration except in a situation where\nperformance monitoring data could not be collected\nfor any reason.") adslAtucPerfPrev1DayLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 24), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayLofs.setDescription("Count of seconds in the interval when there was\nLoss of Framing within the most recent previous\n1-day period.") adslAtucPerfPrev1DayLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 25), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayLoss.setDescription("Count of seconds in the interval when there was\nLoss of Signal within the most recent previous\n1-day period.") adslAtucPerfPrev1DayLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 26), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayLols.setDescription("Count of seconds in the interval when there was\nLoss of Link within the most recent previous\n1-day period.") adslAtucPerfPrev1DayLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 27), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayLprs.setDescription("Count of seconds in the interval when there was\nLoss of Power within the most recent previous\n1-day period.") adslAtucPerfPrev1DayESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 28), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayESs.setDescription("Count of Errored Seconds within the most recent\nprevious 1-day period. The errored second parameter is\na count of one-second intervals containing one or more\ncrc anomalies, or one or more los or sef defects.") adslAtucPerfPrev1DayInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 6, 1, 29), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucPerfPrev1DayInits.setDescription("Count of the line initialization attempts in the most\nrecent previous 1-day period. Includes both successful\nand failed attempts.") adslAturPerfDataTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7)) if mibBuilder.loadTexts: adslAturPerfDataTable.setDescription("This table provides one row for each ATUR.\nADSL physical interfaces are\nthose ifEntries where ifType is equal to adsl(94).") adslAturPerfDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAturPerfDataEntry.setDescription("An entry in adslAturPerfDataTable.") adslAturPerfLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfLofs.setDescription("Count of the number of Loss of Framing failures since\nagent reset.") adslAturPerfLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfLoss.setDescription("Count of the number of Loss of Signal failures since\nagent reset.") adslAturPerfLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfLprs.setDescription("Count of the number of Loss of Power failures since\nagent reset.") adslAturPerfESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfESs.setDescription("Count of the number of Errored Seconds since agent\nreset. The errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAturPerfValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfValidIntervals.setDescription("The number of previous 15-minute intervals in the\ninterval table for which data was collected. Given\nthat is the maximum # of intervals supported.\nThe value will be unless the measurement was\n(re-)started within the last (*15) minutes, in which\ncase the value will be the number of complete 15\nminute intervals for which the agent has at least\nsome data. In certain cases (e.g., in the case\nwhere the agent is a proxy) it is possible that some\nintervals are unavailable. In this case, this\ninterval is the maximum interval number for\nwhich data is available.") adslAturPerfInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfInvalidIntervals.setDescription("The number of intervals in the range from\n0 to the value of adslAturPerfValidIntervals\nfor which no data is available. This object\nwill typically be zero except in cases where\nthe data for some intervals are not available\n(e.g., in proxy situations).") adslAturPerfCurr15MinTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 7), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr15MinTimeElapsed.setDescription("Total elapsed seconds in this interval.") adslAturPerfCurr15MinLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr15MinLofs.setDescription("Count of seconds in the current 15 minute interval\nwhen there was Loss of Framing.") adslAturPerfCurr15MinLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr15MinLoss.setDescription("Count of seconds in the current 15 minute interval\nwhen there was Loss of Signal.") adslAturPerfCurr15MinLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr15MinLprs.setDescription("Count of seconds in the current 15 minute interval\nwhen there was Loss of Power.") adslAturPerfCurr15MinESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr15MinESs.setDescription("Count of Errored Seconds in the current 15 minute\ninterval. The errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAturPerfCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 12), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 86399))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr1DayTimeElapsed.setDescription("Number of seconds that have elapsed since the\nbeginning of the current 1-day interval.") adslAturPerfCurr1DayLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 13), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr1DayLofs.setDescription("Count of the number of seconds when there was Loss\nof Framing during the current day as measured by\nadslAturPerfCurr1DayTimeElapsed.") adslAturPerfCurr1DayLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 14), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr1DayLoss.setDescription("Count of the number of seconds when there was Loss\nof Signal during the current day as measured by\nadslAturPerfCurr1DayTimeElapsed.") adslAturPerfCurr1DayLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 15), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr1DayLprs.setDescription("Count of the number of seconds when there was Loss\nof Power during the current day as measured by\nadslAturPerfCurr1DayTimeElapsed.") adslAturPerfCurr1DayESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 16), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfCurr1DayESs.setDescription("Count of Errored Seconds during the current day as\nmeasured by adslAturPerfCurr1DayTimeElapsed.\nThe errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAturPerfPrev1DayMoniSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfPrev1DayMoniSecs.setDescription("The amount of time in the previous 1-day interval\nover which the performance monitoring information\nis actually counted. This value will be the same as\nthe interval duration except in a situation where\nperformance monitoring data could not be collected\nfor any reason.") adslAturPerfPrev1DayLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 18), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfPrev1DayLofs.setDescription("Count of seconds in the interval when there was\nLoss of Framing within the most recent previous\n1-day period.") adslAturPerfPrev1DayLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 19), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfPrev1DayLoss.setDescription("Count of seconds in the interval when there was\nLoss of Signal within the most recent previous\n1-day period.") adslAturPerfPrev1DayLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 20), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfPrev1DayLprs.setDescription("Count of seconds in the interval when there was\nLoss of Power within the most recent previous\n1-day period.") adslAturPerfPrev1DayESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 7, 1, 21), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturPerfPrev1DayESs.setDescription("Count of Errored Seconds within the most recent\nprevious 1-day period. The errored second parameter is\na count of one-second intervals containing one or more\ncrc anomalies, or one or more los or sef defects.") adslAtucIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8)) if mibBuilder.loadTexts: adslAtucIntervalTable.setDescription("This table provides one row for each ATUC\nperformance data collection interval.\nADSL physical interfaces are\nthose ifEntries where ifType is equal to adsl(94).") adslAtucIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL-LINE-MIB", "adslAtucIntervalNumber")) if mibBuilder.loadTexts: adslAtucIntervalEntry.setDescription("An entry in the adslAtucIntervalTable.") adslAtucIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adslAtucIntervalNumber.setDescription("Performance Data Interval number 1 is the\nthe most recent previous interval; interval\n96 is 24 hours ago. Intervals 2..96 are\noptional.") adslAtucIntervalLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalLofs.setDescription("Count of seconds in the interval when there was Loss\nof Framing.") adslAtucIntervalLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalLoss.setDescription("Count of seconds in the interval when there was Loss\nof Signal.") adslAtucIntervalLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalLols.setDescription("Count of seconds in the interval when there was Loss\nof Link.") adslAtucIntervalLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalLprs.setDescription("Count of seconds in the interval when there was Loss\nof Power.") adslAtucIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalESs.setDescription("Count of Errored Seconds in the interval.\nThe errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAtucIntervalInits = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalInits.setDescription("Count of the line initialization attempts\nduring the interval. Includes both successful\nand failed attempts.") adslAtucIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 8, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") adslAturIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9)) if mibBuilder.loadTexts: adslAturIntervalTable.setDescription("This table provides one row for each ATUR\nperformance data collection interval.\nADSL physical interfaces are those\nifEntries where ifType is equal to adsl(94).") adslAturIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL-LINE-MIB", "adslAturIntervalNumber")) if mibBuilder.loadTexts: adslAturIntervalEntry.setDescription("An entry in the adslAturIntervalTable.") adslAturIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adslAturIntervalNumber.setDescription("Performance Data Interval number 1 is the\nthe most recent previous interval; interval\n96 is 24 hours ago. Intervals 2..96 are\noptional.") adslAturIntervalLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturIntervalLofs.setDescription("Count of seconds in the interval when there was\nLoss of Framing.") adslAturIntervalLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturIntervalLoss.setDescription("Count of seconds in the interval when there was\nLoss of Signal.") adslAturIntervalLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturIntervalLprs.setDescription("Count of seconds in the interval when there was\nLoss of Power.") adslAturIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturIntervalESs.setDescription("Count of Errored Seconds in the interval.\nThe errored second parameter is a count of\none-second intervals containing one or more crc\nanomalies, or one or more los or sef defects.") adslAturIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 9, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") adslAtucChanPerfDataTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10)) if mibBuilder.loadTexts: adslAtucChanPerfDataTable.setDescription("This table provides one row for each ATUC channel.\nADSL channel interfaces are those ifEntries\nwhere ifType is equal to adslInterleave(124)\nor adslFast(125).") adslAtucChanPerfDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAtucChanPerfDataEntry.setDescription("An entry in adslAtucChanPerfDataTable.") adslAtucChanReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanReceivedBlks.setDescription("Count of all encoded blocks received on this channel\nsince agent reset.") adslAtucChanTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel since agent reset.") adslAtucChanCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected since agent reset. These blocks are passed\non as good data.") adslAtucChanUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors since agent reset.") adslAtucChanPerfValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfValidIntervals.setDescription("The number of previous 15-minute intervals in the\ninterval table for which data was collected. Given\nthat is the maximum # of intervals supported.\nThe value will be unless the measurement was\n(re-)started within the last (*15) minutes, in which\ncase the value will be the number of complete 15\nminute intervals for which the agent has at least\nsome data. In certain cases (e.g., in the case\nwhere the agent is a proxy) it is possible that some\nintervals are unavailable. In this case, this\ninterval is the maximum interval number for\nwhich data is available.") adslAtucChanPerfInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfInvalidIntervals.setDescription("The number of intervals in the range from\n0 to the value of adslAtucChanPerfValidIntervals\nfor which no data is available. This object\nwill typically be zero except in cases where\nthe data for some intervals are not available\n(e.g., in proxy situations).") adslAtucChanPerfCurr15MinTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 7), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr15MinTimeElapsed.setDescription("Total elapsed seconds in this interval.") adslAtucChanPerfCurr15MinReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr15MinReceivedBlks.setDescription("Count of all encoded blocks received on this channel\nwithin the current 15 minute interval.") adslAtucChanPerfCurr15MinTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr15MinTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel within the current 15 minute interval.") adslAtucChanPerfCurr15MinCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr15MinCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel within the current 15 minute\ninterval.") adslAtucChanPerfCurr15MinUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr15MinUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel within the current 15 minute\ninterval.") adslAtucChanPerfCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 12), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 86399))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr1DayTimeElapsed.setDescription("Number of seconds that have elapsed since the\nbeginning of the current 1-day interval.") adslAtucChanPerfCurr1DayReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 13), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr1DayReceivedBlks.setDescription("Count of all encoded blocks received on this\nchannel during the current day as measured by\nadslAtucChanPerfCurr1DayTimeElapsed.") adslAtucChanPerfCurr1DayTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 14), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr1DayTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel during the current day as measured by\nadslAtucChanPerfCurr1DayTimeElapsed.") adslAtucChanPerfCurr1DayCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 15), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr1DayCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel during the current day as\nmeasured by adslAtucChanPerfCurr1DayTimeElapsed.") adslAtucChanPerfCurr1DayUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 16), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfCurr1DayUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel during the current day as\nmeasured by adslAtucChanPerfCurr1DayTimeElapsed.") adslAtucChanPerfPrev1DayMoniSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfPrev1DayMoniSecs.setDescription("The amount of time in the previous 1-day interval\nover which the performance monitoring information\nis actually counted. This value will be the same as\nthe interval duration except in a situation where\nperformance monitoring data could not be collected\nfor any reason.") adslAtucChanPerfPrev1DayReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 18), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfPrev1DayReceivedBlks.setDescription("Count of all encoded blocks received on this\nchannel within the most recent previous 1-day\nperiod.") adslAtucChanPerfPrev1DayTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 19), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfPrev1DayTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel within the most recent previous 1-day\nperiod.") adslAtucChanPerfPrev1DayCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 20), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfPrev1DayCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel within the most recent\nprevious 1-day period.") adslAtucChanPerfPrev1DayUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 10, 1, 21), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanPerfPrev1DayUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel within the most recent previous\n1-day period.") adslAturChanPerfDataTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11)) if mibBuilder.loadTexts: adslAturChanPerfDataTable.setDescription("This table provides one row for each ATUR channel.\nADSL channel interfaces are those ifEntries\nwhere ifType is equal to adslInterleave(124)\nor adslFast(125).") adslAturChanPerfDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: adslAturChanPerfDataEntry.setDescription("An entry in adslAturChanPerfDataTable.") adslAturChanReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanReceivedBlks.setDescription("Count of all encoded blocks received on this channel\nsince agent reset.") adslAturChanTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel since agent reset.") adslAturChanCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected since agent reset. These blocks are passed\non as good data.") adslAturChanUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors since agent reset.") adslAturChanPerfValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfValidIntervals.setDescription("The number of previous 15-minute intervals in the\ninterval table for which data was collected. Given\nthat is the maximum # of intervals supported.\nThe value will be unless the measurement was\n(re-)started within the last (*15) minutes, in which\ncase the value will be the number of complete 15\nminute intervals for which the agent has at least\nsome data. In certain cases (e.g., in the case\nwhere the agent is a proxy) it is possible that some\nintervals are unavailable. In this case, this\ninterval is the maximum interval number for\nwhich data is available.") adslAturChanPerfInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfInvalidIntervals.setDescription("The number of intervals in the range from\n0 to the value of adslAturChanPerfValidIntervals\nfor which no data is available. This object\nwill typically be zero except in cases where\nthe data for some intervals are not available\n(e.g., in proxy situations).") adslAturChanPerfCurr15MinTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 7), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr15MinTimeElapsed.setDescription("Total elapsed seconds in this interval.\nA full interval is 900 seconds.") adslAturChanPerfCurr15MinReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr15MinReceivedBlks.setDescription("Count of all encoded blocks received on this\nchannel within the current 15 minute interval.") adslAturChanPerfCurr15MinTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr15MinTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel within the current 15 minute interval.") adslAturChanPerfCurr15MinCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr15MinCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel within the current 15 minute\ninterval.") adslAturChanPerfCurr15MinUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr15MinUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel within the current 15 minute\ninterval.") adslAturChanPerfCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 12), AdslPerfTimeElapsed().subtype(subtypeSpec=ValueRangeConstraint(0, 86399))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr1DayTimeElapsed.setDescription("Number of seconds that have elapsed since the\nbeginning of the current 1-day interval.") adslAturChanPerfCurr1DayReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 13), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr1DayReceivedBlks.setDescription("Count of all encoded blocks received on this\nchannel during the current day as measured by\nadslAturChanPerfCurr1DayTimeElapsed.") adslAturChanPerfCurr1DayTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 14), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr1DayTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel during the current day as measured by\nadslAturChanPerfCurr1DayTimeElapsed.") adslAturChanPerfCurr1DayCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 15), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr1DayCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel during the current day as\nmeasured by adslAturChanPerfCurr1DayTimeElapsed.") adslAturChanPerfCurr1DayUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 16), AdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfCurr1DayUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel during the current day as\nmeasured by adslAturChanPerfCurr1DayTimeElapsed.") adslAturChanPerfPrev1DayMoniSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfPrev1DayMoniSecs.setDescription("The amount of time in the previous 1-day interval\nover which the performance monitoring information\nis actually counted. This value will be the same as\nthe interval duration except in a situation where\nperformance monitoring data could not be collected\nfor any reason.") adslAturChanPerfPrev1DayReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 18), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfPrev1DayReceivedBlks.setDescription("Count of all encoded blocks received on this\nchannel within the most recent previous 1-day\nperiod.") adslAturChanPerfPrev1DayTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 19), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfPrev1DayTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel within the most recent previous 1-day\nperiod.") adslAturChanPerfPrev1DayCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 20), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfPrev1DayCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel within the most recent\nprevious 1-day period.") adslAturChanPerfPrev1DayUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 11, 1, 21), AdslPerfPrevDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanPerfPrev1DayUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel within the most recent previous\n1-day period.") adslAtucChanIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12)) if mibBuilder.loadTexts: adslAtucChanIntervalTable.setDescription("This table provides one row for each ATUC channel's\nperformance data collection interval.\nADSL channel interfaces are those ifEntries\nwhere ifType is equal to adslInterleave(124)\nor adslFast(125).") adslAtucChanIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL-LINE-MIB", "adslAtucChanIntervalNumber")) if mibBuilder.loadTexts: adslAtucChanIntervalEntry.setDescription("An entry in the adslAtucIntervalTable.") adslAtucChanIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adslAtucChanIntervalNumber.setDescription("Performance Data Interval number 1 is the\nthe most recent previous interval; interval\n96 is 24 hours ago. Intervals 2..96 are\noptional.") adslAtucChanIntervalReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanIntervalReceivedBlks.setDescription("Count of all encoded blocks received on this channel\nduring this interval.") adslAtucChanIntervalTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanIntervalTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel during this interval.") adslAtucChanIntervalCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanIntervalCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel during this interval.") adslAtucChanIntervalUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanIntervalUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel during this interval.") adslAtucChanIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 12, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAtucChanIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") adslAturChanIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13)) if mibBuilder.loadTexts: adslAturChanIntervalTable.setDescription("This table provides one row for each ATUR channel's\nperformance data collection interval.\nADSL channel interfaces are those ifEntries\nwhere ifType is equal to adslInterleave(124)\nor adslFast(125).") adslAturChanIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ADSL-LINE-MIB", "adslAturChanIntervalNumber")) if mibBuilder.loadTexts: adslAturChanIntervalEntry.setDescription("An entry in the adslAturIntervalTable.") adslAturChanIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adslAturChanIntervalNumber.setDescription("Performance Data Interval number 1 is the\nthe most recent previous interval; interval\n96 is 24 hours ago. Intervals 2..96 are\noptional.") adslAturChanIntervalReceivedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanIntervalReceivedBlks.setDescription("Count of all encoded blocks received on this channel\nduring this interval.") adslAturChanIntervalTransmittedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanIntervalTransmittedBlks.setDescription("Count of all encoded blocks transmitted on this\nchannel during this interval.") adslAturChanIntervalCorrectedBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanIntervalCorrectedBlks.setDescription("Count of all blocks received with errors that were\ncorrected on this channel during this interval.") adslAturChanIntervalUncorrectBlks = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanIntervalUncorrectBlks.setDescription("Count of all blocks received with uncorrectable\nerrors on this channel during this interval.") adslAturChanIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 13, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: adslAturChanIntervalValidData.setDescription("This variable indicates if the data for this\ninterval is valid.") adslLineConfProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14)) if mibBuilder.loadTexts: adslLineConfProfileTable.setDescription("This table contains information on the ADSL line\nconfiguration. One entry in this table reflects a\nprofile defined by a manager which can be used to\nconfigure the ADSL line.") adslLineConfProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1)).setIndexNames((1, "ADSL-LINE-MIB", "adslLineConfProfileName")) if mibBuilder.loadTexts: adslLineConfProfileEntry.setDescription("Each entry consists of a list of parameters that\nrepresents the configuration of an ADSL modem.\n\nWhen `dynamic' profiles are implemented, a default\nprofile will always exist. This profile's name will\nbe set to `DEFVAL' and its parameters will be set\nto vendor specific values, unless otherwise specified\nin this document.\n\nWhen `static' profiles are implemented, profiles\nare automaticly created or destroyed as ADSL\nphysical lines are discovered and removed by\nthe system. The name of the profile will be\nequivalent to the decimal value of the line's\ninterface index.") adslLineConfProfileName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adslLineConfProfileName.setDescription("This object is used by the line configuration table\nin order to identify a row of this table.\n\nWhen `dynamic' profiles are implemented, the profile\nname is user specified. Also, the system will always\nprovide a default profile whose name is `DEFVAL'.\n\nWhen `static' profiles are implemented, there is an\none-to-one relationship between each line and its\nprofile. In which case, the profile name will\nneed to algorithmicly represent the Line's ifIndex.\nTherefore, the profile's name is a decimalized string\nof the ifIndex that is fixed-length (i.e., 10) with\nleading zero(s). For example, the profile name for\nifIndex which equals '15' will be '0000000015'.") adslAtucConfRateMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("fixed", 1), ("adaptAtStartup", 2), ("adaptAtRuntime", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfRateMode.setDescription("Defines what form of transmit rate adaptation is\nconfigured on this modem. See ADSL Forum TR-005 [3]\nfor more information.") adslAtucConfRateChanRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfRateChanRatio.setDescription("Configured allocation ratio of excess transmit\nbandwidth between fast and interleaved channels. Only\napplies when two channel mode and RADSL are supported.\nDistribute bandwidth on each channel in excess of the\ncorresponding ChanConfMinTxRate so that:\nadslAtucConfRateChanRatio =\n\n [Fast / (Fast + Interleaved)] * 100\n\nIn other words this value is the fast channel\npercentage.") adslAtucConfTargetSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfTargetSnrMgn.setDescription("Configured Target Signal/Noise Margin.\nThis is the Noise Margin the modem must achieve\nwith a BER of 10-7 or better to successfully complete\ninitialization.") adslAtucConfMaxSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfMaxSnrMgn.setDescription("Configured Maximum acceptable Signal/Noise Margin.\nIf the Noise Margin is above this the modem should\nattempt to reduce its power output to optimize its\noperation.") adslAtucConfMinSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfMinSnrMgn.setDescription("Configured Minimum acceptable Signal/Noise Margin.\nIf the noise margin falls below this level, the modem\nshould attempt to increase its power output. If that\nis not possible the modem will attempt to\nre-initialize or shut down.") adslAtucConfDownshiftSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfDownshiftSnrMgn.setDescription("Configured Signal/Noise Margin for rate downshift.\nIf the noise margin falls below this level, the modem\nshould attempt to decrease its transmit rate. In\nthe case that RADSL mode is not present,\nthe value will be `0'.") adslAtucConfUpshiftSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfUpshiftSnrMgn.setDescription("Configured Signal/Noise Margin for rate upshift.\nIf the noise margin rises above this level, the modem\nshould attempt to increase its transmit rate. In\nthe case that RADSL is not present, the value will\nbe `0'.") adslAtucConfMinUpshiftTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfMinUpshiftTime.setDescription("Minimum time that the current margin is above\nUpshiftSnrMgn before an upshift occurs.\nIn the case that RADSL is not present, the value will\nbe `0'.") adslAtucConfMinDownshiftTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucConfMinDownshiftTime.setDescription("Minimum time that the current margin is below\nDownshiftSnrMgn before a downshift occurs.\nIn the case that RADSL mode is not present,\nthe value will be `0'.") adslAtucChanConfFastMinTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 11), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucChanConfFastMinTxRate.setDescription("Configured Minimum Transmit rate for `Fast' channels,\nin bps. See adslAtucConfRateChanRatio for information\nregarding RADSL mode and ATUR transmit rate for\nATUC receive rates.") adslAtucChanConfInterleaveMinTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 12), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucChanConfInterleaveMinTxRate.setDescription("Configured Minimum Transmit rate for `Interleave'\nchannels, in bps. See adslAtucConfRateChanRatio for\ninformation regarding RADSL mode and see\nATUR transmit rate for receive rates.") adslAtucChanConfFastMaxTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 13), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucChanConfFastMaxTxRate.setDescription("Configured Maximum Transmit rate for `Fast' channels,\nin bps. See adslAtucConfRateChanRatio for information\nregarding RADSL mode and see ATUR transmit rate for\nATUC receive rates.") adslAtucChanConfInterleaveMaxTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 14), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucChanConfInterleaveMaxTxRate.setDescription("Configured Maximum Transmit rate for `Interleave'\nchannels, in bps. See adslAtucConfRateChanRatio for\ninformation regarding RADSL mode and ATUR transmit\nrate for ATUC receive rates.") adslAtucChanConfMaxInterleaveDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucChanConfMaxInterleaveDelay.setDescription("Configured maximum Interleave Delay for this channel.\n\nInterleave delay applies only to the interleave channel\nand defines the mapping (relative spacing) between\nsubsequent input bytes at the interleaver input and\ntheir placement in the bit stream at the interleaver\noutput. Larger numbers provide greater separation\nbetween consecutive input bytes in the output bit\nstream allowing for improved impulse noise immunity\nat the expense of payload latency.") adslAturConfRateMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("fixed", 1), ("adaptAtStartup", 2), ("adaptAtRuntime", 3), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfRateMode.setDescription("Defines what form of transmit rate adaptation is\nconfigured on this modem. See ADSL Forum TR-005 [3]\nfor more information.") adslAturConfRateChanRatio = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfRateChanRatio.setDescription("Configured allocation ratio of excess transmit\nbandwidth between fast and interleaved channels. Only\napplies when two channel mode and RADSL are supported.\nDistribute bandwidth on each channel in excess of the\ncorresponding ChanConfMinTxRate so that:\nadslAturConfRateChanRatio =\n\n [Fast / (Fast + Interleaved)] * 100\n\nIn other words this value is the fast channel\npercentage.") adslAturConfTargetSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfTargetSnrMgn.setDescription("Configured Target Signal/Noise Margin.\nThis is the Noise Margin the modem must achieve\nwith a BER of 10-7 or better to successfully complete\ninitialization.") adslAturConfMaxSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfMaxSnrMgn.setDescription("Configured Maximum acceptable Signal/Noise Margin.\nIf the Noise Margin is above this the modem should\nattempt to reduce its power output to optimize its\noperation.") adslAturConfMinSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfMinSnrMgn.setDescription("Configured Minimum acceptable Signal/Noise Margin.\nIf the noise margin falls below this level, the modem\nshould attempt to increase its power output. If that\nis not possible the modem will attempt to\nre-initialize or shut down.") adslAturConfDownshiftSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfDownshiftSnrMgn.setDescription("Configured Signal/Noise Margin for rate downshift.\nIf the noise margin falls below this level, the modem\nshould attempt to decrease its transmit rate.\nIn the case that RADSL mode is not present,\nthe value will be `0'.") adslAturConfUpshiftSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 310))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfUpshiftSnrMgn.setDescription("Configured Signal/Noise Margin for rate upshift.\nIf the noise margin rises above this level, the modem\nshould attempt to increase its transmit rate.\nIn the case that RADSL is not present,\nthe value will be `0'.") adslAturConfMinUpshiftTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfMinUpshiftTime.setDescription("Minimum time that the current margin is above\nUpshiftSnrMgn before an upshift occurs.\nIn the case that RADSL is not present, the value will\nbe `0'.") adslAturConfMinDownshiftTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16383))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturConfMinDownshiftTime.setDescription("Minimum time that the current margin is below\nDownshiftSnrMgn before a downshift occurs.\nIn the case that RADSL mode is not present,\nthe value will be `0'.") adslAturChanConfFastMinTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 25), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturChanConfFastMinTxRate.setDescription("Configured Minimum Transmit rate for `Fast' channels,\nin bps. See adslAturConfRateChanRatio for information\nregarding RADSL mode and ATUC transmit rate\nfor ATUR receive rates.") adslAturChanConfInterleaveMinTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 26), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturChanConfInterleaveMinTxRate.setDescription("Configured Minimum Transmit rate for `Interleave'\nchannels, in bps. See adslAturConfRateChanRatio for\ninformation regarding RADSL mode and ATUC transmit rate\nfor ATUR receive rates.") adslAturChanConfFastMaxTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 27), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturChanConfFastMaxTxRate.setDescription("Configured Maximum Transmit rate for `Fast' channels,\nin bps. See adslAturConfRateChanRatio for information\nregarding RADSL mode and ATUC transmit rate\nfor ATUR receive rates.") adslAturChanConfInterleaveMaxTxRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 28), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturChanConfInterleaveMaxTxRate.setDescription("Configured Maximum Transmit rate for `Interleave'\nchannels, in bps. See adslAturConfRateChanRatio for\ninformation regarding RADSL mode and see\nATUC transmit rate for ATUR receive rates.") adslAturChanConfMaxInterleaveDelay = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturChanConfMaxInterleaveDelay.setDescription("Configured maximum Interleave Delay for this channel.\n\nInterleave delay applies only to the interleave channel\nand defines the mapping (relative spacing) between\nsubsequent input bytes at the interleaver input and\ntheir placement in the bit stream at the interleaver\noutput. Larger numbers provide greater separation\nbetween consecutive input bytes in the output bit\nstream allowing for improved impulse noise immunity\nat the expense of payload latency.") adslLineConfProfileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 14, 1, 30), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslLineConfProfileRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\nA profile activated by setting this object to\n`active'. When `active' is set, the system\nwill validate the profile.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`outOfService') it must be first unreferenced\nfrom all associated lines.\n\nIf the implementator of this MIB has chosen not\nto implement `dynamic assignment' of profiles, this\nobject's MIN-ACCESS is read-only and its value\nis always to be `active'.") adslLineAlarmConfProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15)) if mibBuilder.loadTexts: adslLineAlarmConfProfileTable.setDescription("This table contains information on the ADSL line\nconfiguration. One entry in this table reflects a\nprofile defined by a manager which can be used to\nconfigure the modem for a physical line") adslLineAlarmConfProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1)).setIndexNames((1, "ADSL-LINE-MIB", "adslLineAlarmConfProfileName")) if mibBuilder.loadTexts: adslLineAlarmConfProfileEntry.setDescription("Each entry consists of a list of parameters that\nrepresents the configuration of an ADSL modem.\n\nWhen `dynamic' profiles are implemented, a default\nprofile will always exist. This profile's name will\nbe set to `DEFVAL' and its parameters will be set to\nvendor specific values, unless otherwise specified\nin this document.\n\nWhen `static' profiles are implemented, profiles\nare automaticly created or destroyed as ADSL\nphysical lines are discovered and removed by\nthe system. The name of the profile will be\nequivalent to the decimal value of the line's\ninterface index.") adslLineAlarmConfProfileName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: adslLineAlarmConfProfileName.setDescription("This object is used by the line alarm configuration\ntable in order to identify a row of this table.\n\nWhen `dynamic' profiles are implemented, the profile\nname is user specified. Also, the system will always\nprovide a default profile whose name is `DEFVAL'.\n\nWhen `static' profiles are implemented, there is an\none-to-one relationship between each line and its\nprofile. In which case, the profile name will\nneed to algorithmicly represent the Line's ifIndex.\nTherefore, the profile's name is a decimalized string\nof the ifIndex that is fixed-length (i.e., 10) with\nleading zero(s). For example, the profile name for\nifIndex which equals '15' will be '0000000015'.") adslAtucThresh15MinLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThresh15MinLofs.setDescription("The number of Loss of Frame Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAtucPerfLofsThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAtucThresh15MinLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThresh15MinLoss.setDescription("The number of Loss of Signal Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAtucPerfLossThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAtucThresh15MinLols = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThresh15MinLols.setDescription("The number of Loss of Link Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAtucPerfLolsThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAtucThresh15MinLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThresh15MinLprs.setDescription("The number of Loss of Power Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAtucPerfLprsThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAtucThresh15MinESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThresh15MinESs.setDescription("The number of Errored Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAtucPerfESsThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAtucThreshFastRateUp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 7), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThreshFastRateUp.setDescription("Applies to `Fast' channels only.\nConfigured change in rate causing an\nadslAtucRateChangeTrap. A trap is produced when:\nChanCurrTxRate >= ChanPrevTxRate plus the value of\nthis object. A value of `0' will disable the trap.") adslAtucThreshInterleaveRateUp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 8), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThreshInterleaveRateUp.setDescription("Applies to `Interleave' channels only.\nConfigured change in rate causing an\nadslAtucRateChangeTrap. A trap is produced when:\nChanCurrTxRate >= ChanPrevTxRate plus the value of\nthis object. A value of `0' will disable the trap.") adslAtucThreshFastRateDown = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 9), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThreshFastRateDown.setDescription("Applies to `Fast' channels only.\nConfigured change in rate causing an\nadslAtucRateChangeTrap. A trap is produced when:\nChanCurrTxRate <= ChanPrevTxRate minus the value of\nthis object. A value of `0' will disable the trap.") adslAtucThreshInterleaveRateDown = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 10), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucThreshInterleaveRateDown.setDescription("Applies to `Interleave' channels only.\nConfigured change in rate causing an\nadslAtucRateChangeTrap. A trap is produced when:\nChanCurrTxRate <= ChanPrevTxRate minus the value of\nthis object. A value of `0' will disable the trap.") adslAtucInitFailureTrapEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("enable", 1), ("disable", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAtucInitFailureTrapEnable.setDescription("Enables and disables the InitFailureTrap. This\nobject is defaulted disable(2).") adslAturThresh15MinLofs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThresh15MinLofs.setDescription("The number of Loss of Frame Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAturPerfLofsThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAturThresh15MinLoss = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThresh15MinLoss.setDescription("The number of Loss of Signal Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAturPerfLossThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAturThresh15MinLprs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThresh15MinLprs.setDescription("The number of Loss of Power Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAturPerfLprsThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAturThresh15MinESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 900))).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThresh15MinESs.setDescription("The number of Errored Seconds\nencountered by an ADSL interface within any given 15\nminutes performance data collection period, which\ncauses the SNMP agent to send an\nadslAturPerfESsThreshTrap.\nOne trap will be sent per interval per interface.\nA value of `0' will disable the trap.") adslAturThreshFastRateUp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 16), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThreshFastRateUp.setDescription("Applies to `Fast' channels only.\nConfigured change in rate causing an\nadslAturRateChangeTrap. A trap is produced when:\nChanCurrTxRate >= ChanPrevTxRate plus the value of\nthis object. A value of `0' will disable the trap.") adslAturThreshInterleaveRateUp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 17), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThreshInterleaveRateUp.setDescription("Applies to `Interleave' channels only.\nconfigured change in rate causing an\nadslAturRateChangeTrap. A trap is produced when:\nChanCurrTxRate >= ChanPrevTxRate plus the value of\nthis object. A value of `0' will disable the trap.") adslAturThreshFastRateDown = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 18), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThreshFastRateDown.setDescription("Applies to `Fast' channels only.\nConfigured change in rate causing an\nadslAturRateChangeTrap. A trap is produced when:\nChanCurrTxRate <= ChanPrevTxRate minus the value of\nthis object. A value of `0' will disable the trap.") adslAturThreshInterleaveRateDown = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 19), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslAturThreshInterleaveRateDown.setDescription("Applies to `Interleave' channels only.\nConfigured change in rate causing an\nadslAturRateChangeTrap. A trap is produced when:\nChanCurrTxRate <= ChanPrevTxRate minus the value of\nthis object. A value of `0' will disable the trap.") adslLineAlarmConfProfileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 15, 1, 20), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: adslLineAlarmConfProfileRowStatus.setDescription("This object is used to create a new row or modify or\ndelete an existing row in this table.\n\nA profile activated by setting this object to\n`active'. When `active' is set, the system\nwill validate the profile.\n\nBefore a profile can be deleted or taken out of\nservice, (by setting this object to `destroy' or\n`outOfService') it must be first unreferenced\nfrom all associated lines.\n\nIf the implementator of this MIB has chosen not\nto implement `dynamic assignment' of profiles, this\nobject's MIN-ACCESS is read-only and its value\nis always to be `active'.") adslLCSMib = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 1, 16)) adslTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 2)) adslAtucTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1)) adslAturTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 2)) adslConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 3)) adslGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1)) adslCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 2)) # Augmentions # Notifications adslAtucPerfLofsThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1, 0, 1)).setObjects(*(("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLofs"), ("ADSL-LINE-MIB", "adslAtucThresh15MinLofs"), ) ) if mibBuilder.loadTexts: adslAtucPerfLofsThreshTrap.setDescription("Loss of Framing 15-minute interval threshold reached.") adslAtucPerfLossThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1, 0, 2)).setObjects(*(("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLoss"), ("ADSL-LINE-MIB", "adslAtucThresh15MinLoss"), ) ) if mibBuilder.loadTexts: adslAtucPerfLossThreshTrap.setDescription("Loss of Signal 15-minute interval threshold reached.") adslAtucPerfLprsThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1, 0, 3)).setObjects(*(("ADSL-LINE-MIB", "adslAtucThresh15MinLprs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLprs"), ) ) if mibBuilder.loadTexts: adslAtucPerfLprsThreshTrap.setDescription("Loss of Power 15-minute interval threshold reached.") adslAtucPerfESsThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1, 0, 4)).setObjects(*(("ADSL-LINE-MIB", "adslAtucThresh15MinESs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinESs"), ) ) if mibBuilder.loadTexts: adslAtucPerfESsThreshTrap.setDescription("Errored Second 15-minute interval threshold reached.") adslAtucRateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1, 0, 5)).setObjects(*(("ADSL-LINE-MIB", "adslAtucChanCurrTxRate"), ("ADSL-LINE-MIB", "adslAtucChanPrevTxRate"), ) ) if mibBuilder.loadTexts: adslAtucRateChangeTrap.setDescription("The ATUCs transmit rate has changed (RADSL mode only)") adslAtucPerfLolsThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1, 0, 6)).setObjects(*(("ADSL-LINE-MIB", "adslAtucThresh15MinLols"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLols"), ) ) if mibBuilder.loadTexts: adslAtucPerfLolsThreshTrap.setDescription("Loss of Link 15-minute interval threshold reached.") adslAtucInitFailureTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 1, 0, 7)).setObjects(*(("ADSL-LINE-MIB", "adslAtucCurrStatus"), ) ) if mibBuilder.loadTexts: adslAtucInitFailureTrap.setDescription("ATUC initialization failed. See adslAtucCurrStatus\nfor potential reasons.") adslAturPerfLofsThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 2, 0, 1)).setObjects(*(("ADSL-LINE-MIB", "adslAturThresh15MinLofs"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLofs"), ) ) if mibBuilder.loadTexts: adslAturPerfLofsThreshTrap.setDescription("Loss of Framing 15-minute interval threshold reached.") adslAturPerfLossThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 2, 0, 2)).setObjects(*(("ADSL-LINE-MIB", "adslAturThresh15MinLoss"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLoss"), ) ) if mibBuilder.loadTexts: adslAturPerfLossThreshTrap.setDescription("Loss of Signal 15-minute interval threshold reached.") adslAturPerfLprsThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 2, 0, 3)).setObjects(*(("ADSL-LINE-MIB", "adslAturPerfCurr15MinLprs"), ("ADSL-LINE-MIB", "adslAturThresh15MinLprs"), ) ) if mibBuilder.loadTexts: adslAturPerfLprsThreshTrap.setDescription("Loss of Power 15-minute interval threshold reached.") adslAturPerfESsThreshTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 2, 0, 4)).setObjects(*(("ADSL-LINE-MIB", "adslAturPerfCurr15MinESs"), ("ADSL-LINE-MIB", "adslAturThresh15MinESs"), ) ) if mibBuilder.loadTexts: adslAturPerfESsThreshTrap.setDescription("Errored Second 15-minute interval threshold reached.") adslAturRateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 10, 94, 1, 2, 2, 0, 5)).setObjects(*(("ADSL-LINE-MIB", "adslAturChanCurrTxRate"), ("ADSL-LINE-MIB", "adslAturChanPrevTxRate"), ) ) if mibBuilder.loadTexts: adslAturRateChangeTrap.setDescription("The ATURs transmit rate has changed (RADSL mode only)") # Groups adslLineGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 1)).setObjects(*(("ADSL-LINE-MIB", "adslLineSpecific"), ("ADSL-LINE-MIB", "adslLineType"), ("ADSL-LINE-MIB", "adslLineCoding"), ) ) if mibBuilder.loadTexts: adslLineGroup.setDescription("A collection of objects providing configuration\ninformation about an ADSL Line.") adslPhysicalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 2)).setObjects(*(("ADSL-LINE-MIB", "adslAturCurrStatus"), ("ADSL-LINE-MIB", "adslAtucCurrAttainableRate"), ("ADSL-LINE-MIB", "adslAturInvVersionNumber"), ("ADSL-LINE-MIB", "adslAturCurrSnrMgn"), ("ADSL-LINE-MIB", "adslAturCurrAtn"), ("ADSL-LINE-MIB", "adslAturCurrOutputPwr"), ("ADSL-LINE-MIB", "adslAtucInvVersionNumber"), ("ADSL-LINE-MIB", "adslAturCurrAttainableRate"), ("ADSL-LINE-MIB", "adslAtucCurrOutputPwr"), ("ADSL-LINE-MIB", "adslAtucInvSerialNumber"), ("ADSL-LINE-MIB", "adslAtucInvVendorID"), ("ADSL-LINE-MIB", "adslAturInvSerialNumber"), ("ADSL-LINE-MIB", "adslAturInvVendorID"), ("ADSL-LINE-MIB", "adslAtucCurrSnrMgn"), ("ADSL-LINE-MIB", "adslAtucCurrStatus"), ("ADSL-LINE-MIB", "adslAtucCurrAtn"), ) ) if mibBuilder.loadTexts: adslPhysicalGroup.setDescription("A collection of objects providing physical\nconfiguration information of the ADSL Line.") adslChannelGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 3)).setObjects(*(("ADSL-LINE-MIB", "adslAturChanCurrTxRate"), ("ADSL-LINE-MIB", "adslAturChanPrevTxRate"), ("ADSL-LINE-MIB", "adslAtucChanCurrTxRate"), ("ADSL-LINE-MIB", "adslAtucChanCrcBlockLength"), ("ADSL-LINE-MIB", "adslAturChanCrcBlockLength"), ("ADSL-LINE-MIB", "adslAtucChanInterleaveDelay"), ("ADSL-LINE-MIB", "adslAturChanInterleaveDelay"), ("ADSL-LINE-MIB", "adslAtucChanPrevTxRate"), ) ) if mibBuilder.loadTexts: adslChannelGroup.setDescription("A collection of objects providing configuration\ninformation about an ADSL channel.") adslAtucPhysPerfRawCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 4)).setObjects(*(("ADSL-LINE-MIB", "adslAtucPerfLoss"), ("ADSL-LINE-MIB", "adslAtucPerfLofs"), ("ADSL-LINE-MIB", "adslAtucPerfInits"), ("ADSL-LINE-MIB", "adslAtucPerfLols"), ("ADSL-LINE-MIB", "adslAtucPerfESs"), ("ADSL-LINE-MIB", "adslAtucPerfLprs"), ) ) if mibBuilder.loadTexts: adslAtucPhysPerfRawCounterGroup.setDescription("A collection of objects providing raw performance\ncounts on an ADSL Line (ATU-C end).") adslAtucPhysPerfIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 5)).setObjects(*(("ADSL-LINE-MIB", "adslAtucPerfPrev1DayLoss"), ("ADSL-LINE-MIB", "adslAtucIntervalLoss"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayLoss"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAtucPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAtucIntervalLprs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayLols"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAtucIntervalLols"), ("ADSL-LINE-MIB", "adslAtucIntervalInits"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayLols"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinESs"), ("ADSL-LINE-MIB", "adslAtucIntervalValidData"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayLofs"), ("ADSL-LINE-MIB", "adslAtucIntervalLofs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayLprs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLprs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLoss"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayLprs"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayInits"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayInits"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinInits"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLols"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayESs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayESs"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayLofs"), ("ADSL-LINE-MIB", "adslAtucIntervalESs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLofs"), ("ADSL-LINE-MIB", "adslAtucPerfInvalidIntervals"), ) ) if mibBuilder.loadTexts: adslAtucPhysPerfIntervalGroup.setDescription("A collection of objects providing current 15-minute,\n1-day; and previous 1-day performance counts on\nADSL Line (ATU-C end) .") adslAturPhysPerfRawCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 6)).setObjects(*(("ADSL-LINE-MIB", "adslAturPerfLoss"), ("ADSL-LINE-MIB", "adslAturPerfLprs"), ("ADSL-LINE-MIB", "adslAturPerfESs"), ("ADSL-LINE-MIB", "adslAturPerfLofs"), ) ) if mibBuilder.loadTexts: adslAturPhysPerfRawCounterGroup.setDescription("A collection of objects providing raw performance\ncounts on an ADSL Line (ATU-R end).") adslAturPhysPerfIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 7)).setObjects(*(("ADSL-LINE-MIB", "adslAturPerfCurr1DayLoss"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayLoss"), ("ADSL-LINE-MIB", "adslAturIntervalValidData"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayESs"), ("ADSL-LINE-MIB", "adslAturIntervalESs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayLprs"), ("ADSL-LINE-MIB", "adslAturIntervalLoss"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLoss"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayLofs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayLofs"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLofs"), ("ADSL-LINE-MIB", "adslAturPerfInvalidIntervals"), ("ADSL-LINE-MIB", "adslAturIntervalLofs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayESs"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLprs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayTimeElapsed"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinESs"), ("ADSL-LINE-MIB", "adslAturPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayLprs"), ("ADSL-LINE-MIB", "adslAturIntervalLprs"), ) ) if mibBuilder.loadTexts: adslAturPhysPerfIntervalGroup.setDescription("A collection of objects providing current 15-minute,\n1-day; and previous 1-day performance counts on\nADSL Line (ATU-R end).") adslAtucChanPerformanceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 8)).setObjects(*(("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayTimeElapsed"), ("ADSL-LINE-MIB", "adslAtucChanIntervalReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalValidData"), ("ADSL-LINE-MIB", "adslAtucChanUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfInvalidIntervals"), ) ) if mibBuilder.loadTexts: adslAtucChanPerformanceGroup.setDescription("A collection of objects providing channel block\nperformance information on an ADSL channel\n(ATU-C end).") adslAturChanPerformanceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 9)).setObjects(*(("ADSL-LINE-MIB", "adslAturChanTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalValidData"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAturChanPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayTimeElapsed"), ("ADSL-LINE-MIB", "adslAturChanIntervalUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfInvalidIntervals"), ) ) if mibBuilder.loadTexts: adslAturChanPerformanceGroup.setDescription("A collection of objects providing channel block\nperformance information on an ADSL channel\n(ATU-C end).") adslLineConfProfileGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 10)).setObjects(*(("ADSL-LINE-MIB", "adslAtucConfMinSnrMgn"), ("ADSL-LINE-MIB", "adslAtucChanConfFastMinTxRate"), ("ADSL-LINE-MIB", "adslAtucConfRateChanRatio"), ("ADSL-LINE-MIB", "adslAturConfMinSnrMgn"), ("ADSL-LINE-MIB", "adslAtucConfDownshiftSnrMgn"), ("ADSL-LINE-MIB", "adslAturConfTargetSnrMgn"), ("ADSL-LINE-MIB", "adslAtucConfMinUpshiftTime"), ("ADSL-LINE-MIB", "adslAturChanConfFastMinTxRate"), ("ADSL-LINE-MIB", "adslAturConfMinUpshiftTime"), ("ADSL-LINE-MIB", "adslAtucConfMinDownshiftTime"), ("ADSL-LINE-MIB", "adslAturChanConfMaxInterleaveDelay"), ("ADSL-LINE-MIB", "adslAturConfRateMode"), ("ADSL-LINE-MIB", "adslAtucConfTargetSnrMgn"), ("ADSL-LINE-MIB", "adslAtucChanConfMaxInterleaveDelay"), ("ADSL-LINE-MIB", "adslAturConfMinDownshiftTime"), ("ADSL-LINE-MIB", "adslAturConfDownshiftSnrMgn"), ("ADSL-LINE-MIB", "adslAturConfRateChanRatio"), ("ADSL-LINE-MIB", "adslAturChanConfFastMaxTxRate"), ("ADSL-LINE-MIB", "adslAtucChanConfInterleaveMinTxRate"), ("ADSL-LINE-MIB", "adslAturConfMaxSnrMgn"), ("ADSL-LINE-MIB", "adslAturChanConfInterleaveMinTxRate"), ("ADSL-LINE-MIB", "adslAtucConfRateMode"), ("ADSL-LINE-MIB", "adslAturConfUpshiftSnrMgn"), ("ADSL-LINE-MIB", "adslAtucConfMaxSnrMgn"), ("ADSL-LINE-MIB", "adslAtucChanConfFastMaxTxRate"), ("ADSL-LINE-MIB", "adslAturChanConfInterleaveMaxTxRate"), ("ADSL-LINE-MIB", "adslAtucConfUpshiftSnrMgn"), ("ADSL-LINE-MIB", "adslAtucChanConfInterleaveMaxTxRate"), ) ) if mibBuilder.loadTexts: adslLineConfProfileGroup.setDescription("A collection of objects providing provisioning\ninformation about an ADSL Line.") adslLineAlarmConfProfileGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 11)).setObjects(*(("ADSL-LINE-MIB", "adslAtucThresh15MinLols"), ("ADSL-LINE-MIB", "adslAtucThresh15MinESs"), ("ADSL-LINE-MIB", "adslAturThresh15MinLoss"), ("ADSL-LINE-MIB", "adslAtucThreshFastRateUp"), ("ADSL-LINE-MIB", "adslAtucInitFailureTrapEnable"), ("ADSL-LINE-MIB", "adslAtucThreshFastRateDown"), ("ADSL-LINE-MIB", "adslAtucThresh15MinLprs"), ("ADSL-LINE-MIB", "adslAtucThreshInterleaveRateUp"), ("ADSL-LINE-MIB", "adslAturThreshFastRateUp"), ("ADSL-LINE-MIB", "adslAtucThreshInterleaveRateDown"), ("ADSL-LINE-MIB", "adslAturThresh15MinLofs"), ("ADSL-LINE-MIB", "adslAturThreshFastRateDown"), ("ADSL-LINE-MIB", "adslAturThreshInterleaveRateUp"), ("ADSL-LINE-MIB", "adslAtucThresh15MinLofs"), ("ADSL-LINE-MIB", "adslAturThreshInterleaveRateDown"), ("ADSL-LINE-MIB", "adslAtucThresh15MinLoss"), ("ADSL-LINE-MIB", "adslAturThresh15MinLprs"), ("ADSL-LINE-MIB", "adslAturThresh15MinESs"), ) ) if mibBuilder.loadTexts: adslLineAlarmConfProfileGroup.setDescription("A collection of objects providing alarm provisioning\ninformation about an ADSL Line.") adslLineConfProfileControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 12)).setObjects(*(("ADSL-LINE-MIB", "adslLineAlarmConfProfile"), ("ADSL-LINE-MIB", "adslLineConfProfile"), ("ADSL-LINE-MIB", "adslLineAlarmConfProfileRowStatus"), ("ADSL-LINE-MIB", "adslLineConfProfileRowStatus"), ) ) if mibBuilder.loadTexts: adslLineConfProfileControlGroup.setDescription("A collection of objects providing profile\ncontrol for the ADSL system.") adslNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 13)).setObjects(*(("ADSL-LINE-MIB", "adslAtucInitFailureTrap"), ("ADSL-LINE-MIB", "adslAturPerfLossThreshTrap"), ("ADSL-LINE-MIB", "adslAtucPerfLolsThreshTrap"), ("ADSL-LINE-MIB", "adslAturPerfLofsThreshTrap"), ("ADSL-LINE-MIB", "adslAtucPerfLprsThreshTrap"), ("ADSL-LINE-MIB", "adslAturPerfLprsThreshTrap"), ("ADSL-LINE-MIB", "adslAtucRateChangeTrap"), ("ADSL-LINE-MIB", "adslAturPerfESsThreshTrap"), ("ADSL-LINE-MIB", "adslAtucPerfESsThreshTrap"), ("ADSL-LINE-MIB", "adslAtucPerfLossThreshTrap"), ("ADSL-LINE-MIB", "adslAtucPerfLofsThreshTrap"), ("ADSL-LINE-MIB", "adslAturRateChangeTrap"), ) ) if mibBuilder.loadTexts: adslNotificationsGroup.setDescription("The collection of adsl notifications.") adslAturLineGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 14)).setObjects(*(("ADSL-LINE-MIB", "adslLineCoding"), ) ) if mibBuilder.loadTexts: adslAturLineGroup.setDescription("A collection of objects providing configuration\ninformation about an ADSL Line on the ATU-R side.") adslAturPhysicalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 15)).setObjects(*(("ADSL-LINE-MIB", "adslAturCurrSnrMgn"), ("ADSL-LINE-MIB", "adslAturCurrAtn"), ("ADSL-LINE-MIB", "adslAturCurrAttainableRate"), ("ADSL-LINE-MIB", "adslAtucInvVendorID"), ("ADSL-LINE-MIB", "adslAturInvVendorID"), ("ADSL-LINE-MIB", "adslAturCurrStatus"), ("ADSL-LINE-MIB", "adslAturInvVersionNumber"), ("ADSL-LINE-MIB", "adslAturCurrOutputPwr"), ("ADSL-LINE-MIB", "adslAtucInvVersionNumber"), ("ADSL-LINE-MIB", "adslAtucCurrAttainableRate"), ("ADSL-LINE-MIB", "adslAtucCurrOutputPwr"), ("ADSL-LINE-MIB", "adslAturInvSerialNumber"), ("ADSL-LINE-MIB", "adslAtucCurrStatus"), ) ) if mibBuilder.loadTexts: adslAturPhysicalGroup.setDescription("A collection of objects providing physical\nconfiguration information of the ADSL Line on the\nATU-R side.") adslAturChannelGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 16)).setObjects(*(("ADSL-LINE-MIB", "adslAturChanCurrTxRate"), ("ADSL-LINE-MIB", "adslAturChanPrevTxRate"), ("ADSL-LINE-MIB", "adslAtucChanCurrTxRate"), ("ADSL-LINE-MIB", "adslAturChanCrcBlockLength"), ("ADSL-LINE-MIB", "adslAturChanInterleaveDelay"), ("ADSL-LINE-MIB", "adslAtucChanInterleaveDelay"), ("ADSL-LINE-MIB", "adslAtucChanPrevTxRate"), ) ) if mibBuilder.loadTexts: adslAturChannelGroup.setDescription("A collection of objects providing configuration\ninformation about an ADSL channel on the ATU-R\nside.") adslAturAtucPhysPerfRawCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 17)).setObjects(*(("ADSL-LINE-MIB", "adslAtucPerfESs"), ("ADSL-LINE-MIB", "adslAtucPerfInits"), ("ADSL-LINE-MIB", "adslAtucPerfLoss"), ("ADSL-LINE-MIB", "adslAtucPerfLofs"), ) ) if mibBuilder.loadTexts: adslAturAtucPhysPerfRawCounterGroup.setDescription("A collection of objects providing raw performance\ncounts on an ADSL Line (ATU-C end) provided by the\nATU-R agent.") adslAturAtucPhysPerfIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 18)).setObjects(*(("ADSL-LINE-MIB", "adslAtucPerfPrev1DayLoss"), ("ADSL-LINE-MIB", "adslAtucIntervalLoss"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayLoss"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAtucPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAtucIntervalInits"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinESs"), ("ADSL-LINE-MIB", "adslAtucIntervalValidData"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayLofs"), ("ADSL-LINE-MIB", "adslAtucIntervalLofs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLoss"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayInits"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayInits"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinInits"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayESs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayESs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr1DayTimeElapsed"), ("ADSL-LINE-MIB", "adslAtucPerfPrev1DayLofs"), ("ADSL-LINE-MIB", "adslAtucIntervalESs"), ("ADSL-LINE-MIB", "adslAtucPerfCurr15MinLofs"), ("ADSL-LINE-MIB", "adslAtucPerfInvalidIntervals"), ) ) if mibBuilder.loadTexts: adslAturAtucPhysPerfIntervalGroup.setDescription("A collection of objects providing current\n15-minute, 1-day; and previous 1-day performance\ncounts on ADSL Line (ATU-C end) provided by the\nATU-R agent.") adslAturAturPhysPerfRawCounterGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 19)).setObjects(*(("ADSL-LINE-MIB", "adslAturPerfLoss"), ("ADSL-LINE-MIB", "adslAturPerfLprs"), ("ADSL-LINE-MIB", "adslAturPerfESs"), ("ADSL-LINE-MIB", "adslAturPerfLofs"), ) ) if mibBuilder.loadTexts: adslAturAturPhysPerfRawCounterGroup.setDescription("A collection of objects providing raw performance\ncounts on an ADSL Line (ATU-R end) provided by the\nATU-R agent.") adslAturAturPhysPerfIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 20)).setObjects(*(("ADSL-LINE-MIB", "adslAturPerfCurr1DayLoss"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayLoss"), ("ADSL-LINE-MIB", "adslAturIntervalValidData"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayESs"), ("ADSL-LINE-MIB", "adslAturIntervalESs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayLprs"), ("ADSL-LINE-MIB", "adslAturIntervalLoss"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLoss"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayLofs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayLofs"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLofs"), ("ADSL-LINE-MIB", "adslAturPerfInvalidIntervals"), ("ADSL-LINE-MIB", "adslAturIntervalLofs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayESs"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinLprs"), ("ADSL-LINE-MIB", "adslAturPerfCurr1DayTimeElapsed"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinESs"), ("ADSL-LINE-MIB", "adslAturPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAturPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAturPerfPrev1DayLprs"), ("ADSL-LINE-MIB", "adslAturIntervalLprs"), ) ) if mibBuilder.loadTexts: adslAturAturPhysPerfIntervalGroup.setDescription("A collection of objects providing current\n15-minute, 1-day; and previous 1-day performance\ncounts on ADSL Line (ATU-R end) provided by the\nATU-R agent.") adslAturAtucChanPerformanceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 21)).setObjects(*(("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAtucChanPerfInvalidIntervals"), ("ADSL-LINE-MIB", "adslAtucChanIntervalReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalValidData"), ("ADSL-LINE-MIB", "adslAtucChanUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAtucChanPerfPrev1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanIntervalTransmittedBlks"), ("ADSL-LINE-MIB", "adslAtucChanPerfCurr1DayTimeElapsed"), ) ) if mibBuilder.loadTexts: adslAturAtucChanPerformanceGroup.setDescription("A collection of objects providing channel block\nperformance information on an ADSL channel\n(ATU-C end) provided by the ATU-R agent.") adslAturAturChanPerformanceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 22)).setObjects(*(("ADSL-LINE-MIB", "adslAturChanTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalValidData"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayMoniSecs"), ("ADSL-LINE-MIB", "adslAturChanPerfValidIntervals"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinTimeElapsed"), ("ADSL-LINE-MIB", "adslAturChanPerfPrev1DayCorrectedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayReceivedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr15MinTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanIntervalTransmittedBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfCurr1DayTimeElapsed"), ("ADSL-LINE-MIB", "adslAturChanIntervalUncorrectBlks"), ("ADSL-LINE-MIB", "adslAturChanPerfInvalidIntervals"), ) ) if mibBuilder.loadTexts: adslAturAturChanPerformanceGroup.setDescription("A collection of objects providing channel block\nperformance information on an ADSL channel\n(ATU-R end) provided by the ATU-R agent.") adslAturLineAlarmConfProfileGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 23)).setObjects(*(("ADSL-LINE-MIB", "adslAtucThresh15MinESs"), ("ADSL-LINE-MIB", "adslAtucThreshFastRateDown"), ("ADSL-LINE-MIB", "adslAturThresh15MinLoss"), ("ADSL-LINE-MIB", "adslAtucThreshFastRateUp"), ("ADSL-LINE-MIB", "adslAtucInitFailureTrapEnable"), ("ADSL-LINE-MIB", "adslAturThresh15MinLofs"), ("ADSL-LINE-MIB", "adslAtucThreshInterleaveRateUp"), ("ADSL-LINE-MIB", "adslAturThreshFastRateUp"), ("ADSL-LINE-MIB", "adslAtucThreshInterleaveRateDown"), ("ADSL-LINE-MIB", "adslAturThreshFastRateDown"), ("ADSL-LINE-MIB", "adslAturThreshInterleaveRateUp"), ("ADSL-LINE-MIB", "adslAtucThresh15MinLofs"), ("ADSL-LINE-MIB", "adslAturThreshInterleaveRateDown"), ("ADSL-LINE-MIB", "adslAtucThresh15MinLoss"), ("ADSL-LINE-MIB", "adslAturThresh15MinLprs"), ("ADSL-LINE-MIB", "adslAturThresh15MinESs"), ) ) if mibBuilder.loadTexts: adslAturLineAlarmConfProfileGroup.setDescription("A collection of objects providing alarm\nprovisioning\ninformation about an ADSL Line provided by the\nATU-R agent.") adslAturLineConfProfileControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 24)).setObjects(*(("ADSL-LINE-MIB", "adslLineAlarmConfProfile"), ("ADSL-LINE-MIB", "adslLineAlarmConfProfileRowStatus"), ) ) if mibBuilder.loadTexts: adslAturLineConfProfileControlGroup.setDescription("A collection of objects providing profile\ncontrol for the ADSL system by the ATU-R agent.") adslAturNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 1, 25)).setObjects(*(("ADSL-LINE-MIB", "adslAtucPerfLossThreshTrap"), ("ADSL-LINE-MIB", "adslAtucRateChangeTrap"), ("ADSL-LINE-MIB", "adslAturPerfESsThreshTrap"), ("ADSL-LINE-MIB", "adslAtucPerfLofsThreshTrap"), ("ADSL-LINE-MIB", "adslAturPerfLossThreshTrap"), ("ADSL-LINE-MIB", "adslAtucPerfESsThreshTrap"), ("ADSL-LINE-MIB", "adslAturPerfLofsThreshTrap"), ("ADSL-LINE-MIB", "adslAturPerfLprsThreshTrap"), ("ADSL-LINE-MIB", "adslAturRateChangeTrap"), ) ) if mibBuilder.loadTexts: adslAturNotificationsGroup.setDescription("The collection of ADSL notifications implemented by\nthe ATU-R agent.") # Compliances adslLineMibAtucCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 2, 1)).setObjects(*(("ADSL-LINE-MIB", "adslLineAlarmConfProfileGroup"), ("ADSL-LINE-MIB", "adslAtucPhysPerfIntervalGroup"), ("ADSL-LINE-MIB", "adslAturChanPerformanceGroup"), ("ADSL-LINE-MIB", "adslAturPhysPerfIntervalGroup"), ("ADSL-LINE-MIB", "adslAtucPhysPerfRawCounterGroup"), ("ADSL-LINE-MIB", "adslAtucChanPerformanceGroup"), ("ADSL-LINE-MIB", "adslPhysicalGroup"), ("ADSL-LINE-MIB", "adslAturPhysPerfRawCounterGroup"), ("ADSL-LINE-MIB", "adslLineConfProfileControlGroup"), ("ADSL-LINE-MIB", "adslLineGroup"), ("ADSL-LINE-MIB", "adslLineConfProfileGroup"), ("ADSL-LINE-MIB", "adslChannelGroup"), ) ) if mibBuilder.loadTexts: adslLineMibAtucCompliance.setDescription("The compliance statement for SNMP entities\nwhich manage ADSL ATU-C interfaces.") adslLineMibAturCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 94, 1, 3, 2, 2)).setObjects(*(("ADSL-LINE-MIB", "adslAturLineGroup"), ("ADSL-LINE-MIB", "adslAturAturPhysPerfIntervalGroup"), ("ADSL-LINE-MIB", "adslAturPhysicalGroup"), ("ADSL-LINE-MIB", "adslAturAturPhysPerfRawCounterGroup"), ("ADSL-LINE-MIB", "adslAturAtucChanPerformanceGroup"), ("ADSL-LINE-MIB", "adslAturLineConfProfileControlGroup"), ("ADSL-LINE-MIB", "adslAturAturChanPerformanceGroup"), ("ADSL-LINE-MIB", "adslAturAtucPhysPerfRawCounterGroup"), ("ADSL-LINE-MIB", "adslAturAtucPhysPerfIntervalGroup"), ("ADSL-LINE-MIB", "adslAturLineAlarmConfProfileGroup"), ("ADSL-LINE-MIB", "adslAturChannelGroup"), ) ) if mibBuilder.loadTexts: adslLineMibAturCompliance.setDescription("The compliance statement for SNMP entities\nwhich manage ADSL ATU-R interfaces.") # Exports # Module identity mibBuilder.exportSymbols("ADSL-LINE-MIB", PYSNMP_MODULE_ID=adslMIB) # Objects mibBuilder.exportSymbols("ADSL-LINE-MIB", adslMIB=adslMIB, adslLineMib=adslLineMib, adslMibObjects=adslMibObjects, adslLineTable=adslLineTable, adslLineEntry=adslLineEntry, adslLineCoding=adslLineCoding, adslLineType=adslLineType, adslLineSpecific=adslLineSpecific, adslLineConfProfile=adslLineConfProfile, adslLineAlarmConfProfile=adslLineAlarmConfProfile, adslAtucPhysTable=adslAtucPhysTable, adslAtucPhysEntry=adslAtucPhysEntry, adslAtucInvSerialNumber=adslAtucInvSerialNumber, adslAtucInvVendorID=adslAtucInvVendorID, adslAtucInvVersionNumber=adslAtucInvVersionNumber, adslAtucCurrSnrMgn=adslAtucCurrSnrMgn, adslAtucCurrAtn=adslAtucCurrAtn, adslAtucCurrStatus=adslAtucCurrStatus, adslAtucCurrOutputPwr=adslAtucCurrOutputPwr, adslAtucCurrAttainableRate=adslAtucCurrAttainableRate, adslAturPhysTable=adslAturPhysTable, adslAturPhysEntry=adslAturPhysEntry, adslAturInvSerialNumber=adslAturInvSerialNumber, adslAturInvVendorID=adslAturInvVendorID, adslAturInvVersionNumber=adslAturInvVersionNumber, adslAturCurrSnrMgn=adslAturCurrSnrMgn, adslAturCurrAtn=adslAturCurrAtn, adslAturCurrStatus=adslAturCurrStatus, adslAturCurrOutputPwr=adslAturCurrOutputPwr, adslAturCurrAttainableRate=adslAturCurrAttainableRate, adslAtucChanTable=adslAtucChanTable, adslAtucChanEntry=adslAtucChanEntry, adslAtucChanInterleaveDelay=adslAtucChanInterleaveDelay, adslAtucChanCurrTxRate=adslAtucChanCurrTxRate, adslAtucChanPrevTxRate=adslAtucChanPrevTxRate, adslAtucChanCrcBlockLength=adslAtucChanCrcBlockLength, adslAturChanTable=adslAturChanTable, adslAturChanEntry=adslAturChanEntry, adslAturChanInterleaveDelay=adslAturChanInterleaveDelay, adslAturChanCurrTxRate=adslAturChanCurrTxRate, adslAturChanPrevTxRate=adslAturChanPrevTxRate, adslAturChanCrcBlockLength=adslAturChanCrcBlockLength, adslAtucPerfDataTable=adslAtucPerfDataTable, adslAtucPerfDataEntry=adslAtucPerfDataEntry, adslAtucPerfLofs=adslAtucPerfLofs, adslAtucPerfLoss=adslAtucPerfLoss, adslAtucPerfLols=adslAtucPerfLols, adslAtucPerfLprs=adslAtucPerfLprs, adslAtucPerfESs=adslAtucPerfESs, adslAtucPerfInits=adslAtucPerfInits, adslAtucPerfValidIntervals=adslAtucPerfValidIntervals, adslAtucPerfInvalidIntervals=adslAtucPerfInvalidIntervals, adslAtucPerfCurr15MinTimeElapsed=adslAtucPerfCurr15MinTimeElapsed, adslAtucPerfCurr15MinLofs=adslAtucPerfCurr15MinLofs, adslAtucPerfCurr15MinLoss=adslAtucPerfCurr15MinLoss, adslAtucPerfCurr15MinLols=adslAtucPerfCurr15MinLols, adslAtucPerfCurr15MinLprs=adslAtucPerfCurr15MinLprs, adslAtucPerfCurr15MinESs=adslAtucPerfCurr15MinESs, adslAtucPerfCurr15MinInits=adslAtucPerfCurr15MinInits, adslAtucPerfCurr1DayTimeElapsed=adslAtucPerfCurr1DayTimeElapsed, adslAtucPerfCurr1DayLofs=adslAtucPerfCurr1DayLofs, adslAtucPerfCurr1DayLoss=adslAtucPerfCurr1DayLoss, adslAtucPerfCurr1DayLols=adslAtucPerfCurr1DayLols, adslAtucPerfCurr1DayLprs=adslAtucPerfCurr1DayLprs, adslAtucPerfCurr1DayESs=adslAtucPerfCurr1DayESs, adslAtucPerfCurr1DayInits=adslAtucPerfCurr1DayInits, adslAtucPerfPrev1DayMoniSecs=adslAtucPerfPrev1DayMoniSecs, adslAtucPerfPrev1DayLofs=adslAtucPerfPrev1DayLofs, adslAtucPerfPrev1DayLoss=adslAtucPerfPrev1DayLoss, adslAtucPerfPrev1DayLols=adslAtucPerfPrev1DayLols, adslAtucPerfPrev1DayLprs=adslAtucPerfPrev1DayLprs, adslAtucPerfPrev1DayESs=adslAtucPerfPrev1DayESs, adslAtucPerfPrev1DayInits=adslAtucPerfPrev1DayInits, adslAturPerfDataTable=adslAturPerfDataTable, adslAturPerfDataEntry=adslAturPerfDataEntry, adslAturPerfLofs=adslAturPerfLofs, adslAturPerfLoss=adslAturPerfLoss, adslAturPerfLprs=adslAturPerfLprs, adslAturPerfESs=adslAturPerfESs, adslAturPerfValidIntervals=adslAturPerfValidIntervals, adslAturPerfInvalidIntervals=adslAturPerfInvalidIntervals, adslAturPerfCurr15MinTimeElapsed=adslAturPerfCurr15MinTimeElapsed, adslAturPerfCurr15MinLofs=adslAturPerfCurr15MinLofs, adslAturPerfCurr15MinLoss=adslAturPerfCurr15MinLoss, adslAturPerfCurr15MinLprs=adslAturPerfCurr15MinLprs, adslAturPerfCurr15MinESs=adslAturPerfCurr15MinESs, adslAturPerfCurr1DayTimeElapsed=adslAturPerfCurr1DayTimeElapsed, adslAturPerfCurr1DayLofs=adslAturPerfCurr1DayLofs, adslAturPerfCurr1DayLoss=adslAturPerfCurr1DayLoss, adslAturPerfCurr1DayLprs=adslAturPerfCurr1DayLprs, adslAturPerfCurr1DayESs=adslAturPerfCurr1DayESs, adslAturPerfPrev1DayMoniSecs=adslAturPerfPrev1DayMoniSecs, adslAturPerfPrev1DayLofs=adslAturPerfPrev1DayLofs, adslAturPerfPrev1DayLoss=adslAturPerfPrev1DayLoss, adslAturPerfPrev1DayLprs=adslAturPerfPrev1DayLprs, adslAturPerfPrev1DayESs=adslAturPerfPrev1DayESs, adslAtucIntervalTable=adslAtucIntervalTable, adslAtucIntervalEntry=adslAtucIntervalEntry, adslAtucIntervalNumber=adslAtucIntervalNumber, adslAtucIntervalLofs=adslAtucIntervalLofs, adslAtucIntervalLoss=adslAtucIntervalLoss, adslAtucIntervalLols=adslAtucIntervalLols, adslAtucIntervalLprs=adslAtucIntervalLprs, adslAtucIntervalESs=adslAtucIntervalESs, adslAtucIntervalInits=adslAtucIntervalInits, adslAtucIntervalValidData=adslAtucIntervalValidData, adslAturIntervalTable=adslAturIntervalTable, adslAturIntervalEntry=adslAturIntervalEntry, adslAturIntervalNumber=adslAturIntervalNumber, adslAturIntervalLofs=adslAturIntervalLofs, adslAturIntervalLoss=adslAturIntervalLoss, adslAturIntervalLprs=adslAturIntervalLprs, adslAturIntervalESs=adslAturIntervalESs, adslAturIntervalValidData=adslAturIntervalValidData, adslAtucChanPerfDataTable=adslAtucChanPerfDataTable, adslAtucChanPerfDataEntry=adslAtucChanPerfDataEntry, adslAtucChanReceivedBlks=adslAtucChanReceivedBlks, adslAtucChanTransmittedBlks=adslAtucChanTransmittedBlks, adslAtucChanCorrectedBlks=adslAtucChanCorrectedBlks, adslAtucChanUncorrectBlks=adslAtucChanUncorrectBlks, adslAtucChanPerfValidIntervals=adslAtucChanPerfValidIntervals, adslAtucChanPerfInvalidIntervals=adslAtucChanPerfInvalidIntervals, adslAtucChanPerfCurr15MinTimeElapsed=adslAtucChanPerfCurr15MinTimeElapsed, adslAtucChanPerfCurr15MinReceivedBlks=adslAtucChanPerfCurr15MinReceivedBlks, adslAtucChanPerfCurr15MinTransmittedBlks=adslAtucChanPerfCurr15MinTransmittedBlks, adslAtucChanPerfCurr15MinCorrectedBlks=adslAtucChanPerfCurr15MinCorrectedBlks) mibBuilder.exportSymbols("ADSL-LINE-MIB", adslAtucChanPerfCurr15MinUncorrectBlks=adslAtucChanPerfCurr15MinUncorrectBlks, adslAtucChanPerfCurr1DayTimeElapsed=adslAtucChanPerfCurr1DayTimeElapsed, adslAtucChanPerfCurr1DayReceivedBlks=adslAtucChanPerfCurr1DayReceivedBlks, adslAtucChanPerfCurr1DayTransmittedBlks=adslAtucChanPerfCurr1DayTransmittedBlks, adslAtucChanPerfCurr1DayCorrectedBlks=adslAtucChanPerfCurr1DayCorrectedBlks, adslAtucChanPerfCurr1DayUncorrectBlks=adslAtucChanPerfCurr1DayUncorrectBlks, adslAtucChanPerfPrev1DayMoniSecs=adslAtucChanPerfPrev1DayMoniSecs, adslAtucChanPerfPrev1DayReceivedBlks=adslAtucChanPerfPrev1DayReceivedBlks, adslAtucChanPerfPrev1DayTransmittedBlks=adslAtucChanPerfPrev1DayTransmittedBlks, adslAtucChanPerfPrev1DayCorrectedBlks=adslAtucChanPerfPrev1DayCorrectedBlks, adslAtucChanPerfPrev1DayUncorrectBlks=adslAtucChanPerfPrev1DayUncorrectBlks, adslAturChanPerfDataTable=adslAturChanPerfDataTable, adslAturChanPerfDataEntry=adslAturChanPerfDataEntry, adslAturChanReceivedBlks=adslAturChanReceivedBlks, adslAturChanTransmittedBlks=adslAturChanTransmittedBlks, adslAturChanCorrectedBlks=adslAturChanCorrectedBlks, adslAturChanUncorrectBlks=adslAturChanUncorrectBlks, adslAturChanPerfValidIntervals=adslAturChanPerfValidIntervals, adslAturChanPerfInvalidIntervals=adslAturChanPerfInvalidIntervals, adslAturChanPerfCurr15MinTimeElapsed=adslAturChanPerfCurr15MinTimeElapsed, adslAturChanPerfCurr15MinReceivedBlks=adslAturChanPerfCurr15MinReceivedBlks, adslAturChanPerfCurr15MinTransmittedBlks=adslAturChanPerfCurr15MinTransmittedBlks, adslAturChanPerfCurr15MinCorrectedBlks=adslAturChanPerfCurr15MinCorrectedBlks, adslAturChanPerfCurr15MinUncorrectBlks=adslAturChanPerfCurr15MinUncorrectBlks, adslAturChanPerfCurr1DayTimeElapsed=adslAturChanPerfCurr1DayTimeElapsed, adslAturChanPerfCurr1DayReceivedBlks=adslAturChanPerfCurr1DayReceivedBlks, adslAturChanPerfCurr1DayTransmittedBlks=adslAturChanPerfCurr1DayTransmittedBlks, adslAturChanPerfCurr1DayCorrectedBlks=adslAturChanPerfCurr1DayCorrectedBlks, adslAturChanPerfCurr1DayUncorrectBlks=adslAturChanPerfCurr1DayUncorrectBlks, adslAturChanPerfPrev1DayMoniSecs=adslAturChanPerfPrev1DayMoniSecs, adslAturChanPerfPrev1DayReceivedBlks=adslAturChanPerfPrev1DayReceivedBlks, adslAturChanPerfPrev1DayTransmittedBlks=adslAturChanPerfPrev1DayTransmittedBlks, adslAturChanPerfPrev1DayCorrectedBlks=adslAturChanPerfPrev1DayCorrectedBlks, adslAturChanPerfPrev1DayUncorrectBlks=adslAturChanPerfPrev1DayUncorrectBlks, adslAtucChanIntervalTable=adslAtucChanIntervalTable, adslAtucChanIntervalEntry=adslAtucChanIntervalEntry, adslAtucChanIntervalNumber=adslAtucChanIntervalNumber, adslAtucChanIntervalReceivedBlks=adslAtucChanIntervalReceivedBlks, adslAtucChanIntervalTransmittedBlks=adslAtucChanIntervalTransmittedBlks, adslAtucChanIntervalCorrectedBlks=adslAtucChanIntervalCorrectedBlks, adslAtucChanIntervalUncorrectBlks=adslAtucChanIntervalUncorrectBlks, adslAtucChanIntervalValidData=adslAtucChanIntervalValidData, adslAturChanIntervalTable=adslAturChanIntervalTable, adslAturChanIntervalEntry=adslAturChanIntervalEntry, adslAturChanIntervalNumber=adslAturChanIntervalNumber, adslAturChanIntervalReceivedBlks=adslAturChanIntervalReceivedBlks, adslAturChanIntervalTransmittedBlks=adslAturChanIntervalTransmittedBlks, adslAturChanIntervalCorrectedBlks=adslAturChanIntervalCorrectedBlks, adslAturChanIntervalUncorrectBlks=adslAturChanIntervalUncorrectBlks, adslAturChanIntervalValidData=adslAturChanIntervalValidData, adslLineConfProfileTable=adslLineConfProfileTable, adslLineConfProfileEntry=adslLineConfProfileEntry, adslLineConfProfileName=adslLineConfProfileName, adslAtucConfRateMode=adslAtucConfRateMode, adslAtucConfRateChanRatio=adslAtucConfRateChanRatio, adslAtucConfTargetSnrMgn=adslAtucConfTargetSnrMgn, adslAtucConfMaxSnrMgn=adslAtucConfMaxSnrMgn, adslAtucConfMinSnrMgn=adslAtucConfMinSnrMgn, adslAtucConfDownshiftSnrMgn=adslAtucConfDownshiftSnrMgn, adslAtucConfUpshiftSnrMgn=adslAtucConfUpshiftSnrMgn, adslAtucConfMinUpshiftTime=adslAtucConfMinUpshiftTime, adslAtucConfMinDownshiftTime=adslAtucConfMinDownshiftTime, adslAtucChanConfFastMinTxRate=adslAtucChanConfFastMinTxRate, adslAtucChanConfInterleaveMinTxRate=adslAtucChanConfInterleaveMinTxRate, adslAtucChanConfFastMaxTxRate=adslAtucChanConfFastMaxTxRate, adslAtucChanConfInterleaveMaxTxRate=adslAtucChanConfInterleaveMaxTxRate, adslAtucChanConfMaxInterleaveDelay=adslAtucChanConfMaxInterleaveDelay, adslAturConfRateMode=adslAturConfRateMode, adslAturConfRateChanRatio=adslAturConfRateChanRatio, adslAturConfTargetSnrMgn=adslAturConfTargetSnrMgn, adslAturConfMaxSnrMgn=adslAturConfMaxSnrMgn, adslAturConfMinSnrMgn=adslAturConfMinSnrMgn, adslAturConfDownshiftSnrMgn=adslAturConfDownshiftSnrMgn, adslAturConfUpshiftSnrMgn=adslAturConfUpshiftSnrMgn, adslAturConfMinUpshiftTime=adslAturConfMinUpshiftTime, adslAturConfMinDownshiftTime=adslAturConfMinDownshiftTime, adslAturChanConfFastMinTxRate=adslAturChanConfFastMinTxRate, adslAturChanConfInterleaveMinTxRate=adslAturChanConfInterleaveMinTxRate, adslAturChanConfFastMaxTxRate=adslAturChanConfFastMaxTxRate, adslAturChanConfInterleaveMaxTxRate=adslAturChanConfInterleaveMaxTxRate, adslAturChanConfMaxInterleaveDelay=adslAturChanConfMaxInterleaveDelay, adslLineConfProfileRowStatus=adslLineConfProfileRowStatus, adslLineAlarmConfProfileTable=adslLineAlarmConfProfileTable, adslLineAlarmConfProfileEntry=adslLineAlarmConfProfileEntry, adslLineAlarmConfProfileName=adslLineAlarmConfProfileName, adslAtucThresh15MinLofs=adslAtucThresh15MinLofs, adslAtucThresh15MinLoss=adslAtucThresh15MinLoss, adslAtucThresh15MinLols=adslAtucThresh15MinLols, adslAtucThresh15MinLprs=adslAtucThresh15MinLprs, adslAtucThresh15MinESs=adslAtucThresh15MinESs, adslAtucThreshFastRateUp=adslAtucThreshFastRateUp, adslAtucThreshInterleaveRateUp=adslAtucThreshInterleaveRateUp, adslAtucThreshFastRateDown=adslAtucThreshFastRateDown, adslAtucThreshInterleaveRateDown=adslAtucThreshInterleaveRateDown, adslAtucInitFailureTrapEnable=adslAtucInitFailureTrapEnable, adslAturThresh15MinLofs=adslAturThresh15MinLofs, adslAturThresh15MinLoss=adslAturThresh15MinLoss, adslAturThresh15MinLprs=adslAturThresh15MinLprs, adslAturThresh15MinESs=adslAturThresh15MinESs, adslAturThreshFastRateUp=adslAturThreshFastRateUp, adslAturThreshInterleaveRateUp=adslAturThreshInterleaveRateUp, adslAturThreshFastRateDown=adslAturThreshFastRateDown, adslAturThreshInterleaveRateDown=adslAturThreshInterleaveRateDown, adslLineAlarmConfProfileRowStatus=adslLineAlarmConfProfileRowStatus, adslLCSMib=adslLCSMib, adslTraps=adslTraps, adslAtucTraps=adslAtucTraps, adslAturTraps=adslAturTraps, adslConformance=adslConformance, adslGroups=adslGroups, adslCompliances=adslCompliances) # Notifications mibBuilder.exportSymbols("ADSL-LINE-MIB", adslAtucPerfLofsThreshTrap=adslAtucPerfLofsThreshTrap, adslAtucPerfLossThreshTrap=adslAtucPerfLossThreshTrap, adslAtucPerfLprsThreshTrap=adslAtucPerfLprsThreshTrap, adslAtucPerfESsThreshTrap=adslAtucPerfESsThreshTrap, adslAtucRateChangeTrap=adslAtucRateChangeTrap, adslAtucPerfLolsThreshTrap=adslAtucPerfLolsThreshTrap, adslAtucInitFailureTrap=adslAtucInitFailureTrap, adslAturPerfLofsThreshTrap=adslAturPerfLofsThreshTrap, adslAturPerfLossThreshTrap=adslAturPerfLossThreshTrap, adslAturPerfLprsThreshTrap=adslAturPerfLprsThreshTrap, adslAturPerfESsThreshTrap=adslAturPerfESsThreshTrap, adslAturRateChangeTrap=adslAturRateChangeTrap) # Groups mibBuilder.exportSymbols("ADSL-LINE-MIB", adslLineGroup=adslLineGroup, adslPhysicalGroup=adslPhysicalGroup, adslChannelGroup=adslChannelGroup, adslAtucPhysPerfRawCounterGroup=adslAtucPhysPerfRawCounterGroup, adslAtucPhysPerfIntervalGroup=adslAtucPhysPerfIntervalGroup, adslAturPhysPerfRawCounterGroup=adslAturPhysPerfRawCounterGroup, adslAturPhysPerfIntervalGroup=adslAturPhysPerfIntervalGroup, adslAtucChanPerformanceGroup=adslAtucChanPerformanceGroup, adslAturChanPerformanceGroup=adslAturChanPerformanceGroup, adslLineConfProfileGroup=adslLineConfProfileGroup, adslLineAlarmConfProfileGroup=adslLineAlarmConfProfileGroup, adslLineConfProfileControlGroup=adslLineConfProfileControlGroup, adslNotificationsGroup=adslNotificationsGroup, adslAturLineGroup=adslAturLineGroup, adslAturPhysicalGroup=adslAturPhysicalGroup, adslAturChannelGroup=adslAturChannelGroup, adslAturAtucPhysPerfRawCounterGroup=adslAturAtucPhysPerfRawCounterGroup, adslAturAtucPhysPerfIntervalGroup=adslAturAtucPhysPerfIntervalGroup, adslAturAturPhysPerfRawCounterGroup=adslAturAturPhysPerfRawCounterGroup, adslAturAturPhysPerfIntervalGroup=adslAturAturPhysPerfIntervalGroup, adslAturAtucChanPerformanceGroup=adslAturAtucChanPerformanceGroup, adslAturAturChanPerformanceGroup=adslAturAturChanPerformanceGroup, adslAturLineAlarmConfProfileGroup=adslAturLineAlarmConfProfileGroup, adslAturLineConfProfileControlGroup=adslAturLineConfProfileControlGroup, adslAturNotificationsGroup=adslAturNotificationsGroup) # Compliances mibBuilder.exportSymbols("ADSL-LINE-MIB", adslLineMibAtucCompliance=adslLineMibAtucCompliance, adslLineMibAturCompliance=adslLineMibAturCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPV6-TC.py0000644000014400001440000000370111736645136020061 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPV6-TC # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:13 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Bits, Integer32, Integer32, MibIdentifier, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Integer32", "MibIdentifier", "TimeTicks") ( TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention") # Types class Ipv6Address(TextualConvention, OctetString): displayHint = "2x:" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(16,16) fixedLength = 16 class Ipv6AddressIfIdentifier(TextualConvention, OctetString): displayHint = "2x:" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,8) class Ipv6AddressPrefix(TextualConvention, OctetString): displayHint = "2x:" subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,16) class Ipv6IfIndex(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(1,2147483647) class Ipv6IfIndexOrZero(TextualConvention, Integer32): displayHint = "d" subtypeSpec = Integer32.subtypeSpec+ValueRangeConstraint(0,2147483647) # Exports # Types mibBuilder.exportSymbols("IPV6-TC", Ipv6Address=Ipv6Address, Ipv6AddressIfIdentifier=Ipv6AddressIfIdentifier, Ipv6AddressPrefix=Ipv6AddressPrefix, Ipv6IfIndex=Ipv6IfIndex, Ipv6IfIndexOrZero=Ipv6IfIndexOrZero) pysnmp-mibs-0.1.3/pysnmp_mibs/TCP-MIB.py0000644000014400001440000006426011736645141020067 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python TCP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:44 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InetAddress, InetAddressType, InetPortNumber, ) = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") # Objects tcp = MibIdentifier((1, 3, 6, 1, 2, 1, 6)) tcpRtoAlgorithm = MibScalar((1, 3, 6, 1, 2, 1, 6, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,5,1,3,4,)).subtype(namedValues=NamedValues(("other", 1), ("constant", 2), ("rsre", 3), ("vanj", 4), ("rfc2988", 5), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpRtoAlgorithm.setDescription("The algorithm used to determine the timeout value used for\nretransmitting unacknowledged octets.") tcpRtoMin = MibScalar((1, 3, 6, 1, 2, 1, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly").setUnits("milliseconds") if mibBuilder.loadTexts: tcpRtoMin.setDescription("The minimum value permitted by a TCP implementation for\nthe retransmission timeout, measured in milliseconds.\nMore refined semantics for objects of this type depend\non the algorithm used to determine the retransmission\ntimeout; in particular, the IETF standard algorithm\nrfc2988(5) provides a minimum value.") tcpRtoMax = MibScalar((1, 3, 6, 1, 2, 1, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly").setUnits("milliseconds") if mibBuilder.loadTexts: tcpRtoMax.setDescription("The maximum value permitted by a TCP implementation for\nthe retransmission timeout, measured in milliseconds.\nMore refined semantics for objects of this type depend\non the algorithm used to determine the retransmission\ntimeout; in particular, the IETF standard algorithm\nrfc2988(5) provides an upper bound (as part of an\nadaptive backoff algorithm).") tcpMaxConn = MibScalar((1, 3, 6, 1, 2, 1, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpMaxConn.setDescription("The limit on the total number of TCP connections the entity\ncan support. In entities where the maximum number of\nconnections is dynamic, this object should contain the\nvalue -1.") tcpActiveOpens = MibScalar((1, 3, 6, 1, 2, 1, 6, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpActiveOpens.setDescription("The number of times that TCP connections have made a direct\ntransition to the SYN-SENT state from the CLOSED state.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpPassiveOpens = MibScalar((1, 3, 6, 1, 2, 1, 6, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpPassiveOpens.setDescription("The number of times TCP connections have made a direct\ntransition to the SYN-RCVD state from the LISTEN state.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpAttemptFails = MibScalar((1, 3, 6, 1, 2, 1, 6, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpAttemptFails.setDescription("The number of times that TCP connections have made a direct\ntransition to the CLOSED state from either the SYN-SENT\nstate or the SYN-RCVD state, plus the number of times that\nTCP connections have made a direct transition to the\nLISTEN state from the SYN-RCVD state.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpEstabResets = MibScalar((1, 3, 6, 1, 2, 1, 6, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpEstabResets.setDescription("The number of times that TCP connections have made a direct\ntransition to the CLOSED state from either the ESTABLISHED\nstate or the CLOSE-WAIT state.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpCurrEstab = MibScalar((1, 3, 6, 1, 2, 1, 6, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpCurrEstab.setDescription("The number of TCP connections for which the current state\nis either ESTABLISHED or CLOSE-WAIT.") tcpInSegs = MibScalar((1, 3, 6, 1, 2, 1, 6, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpInSegs.setDescription("The total number of segments received, including those\nreceived in error. This count includes segments received\non currently established connections.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpOutSegs = MibScalar((1, 3, 6, 1, 2, 1, 6, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpOutSegs.setDescription("The total number of segments sent, including those on\ncurrent connections but excluding those containing only\nretransmitted octets.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpRetransSegs = MibScalar((1, 3, 6, 1, 2, 1, 6, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpRetransSegs.setDescription("The total number of segments retransmitted; that is, the\nnumber of TCP segments transmitted containing one or more\npreviously transmitted octets.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpConnTable = MibTable((1, 3, 6, 1, 2, 1, 6, 13)) if mibBuilder.loadTexts: tcpConnTable.setDescription("A table containing information about existing IPv4-specific\nTCP connections or listeners. This table has been\ndeprecated in favor of the version neutral\ntcpConnectionTable.") tcpConnEntry = MibTableRow((1, 3, 6, 1, 2, 1, 6, 13, 1)).setIndexNames((0, "TCP-MIB", "tcpConnLocalAddress"), (0, "TCP-MIB", "tcpConnLocalPort"), (0, "TCP-MIB", "tcpConnRemAddress"), (0, "TCP-MIB", "tcpConnRemPort")) if mibBuilder.loadTexts: tcpConnEntry.setDescription("A conceptual row of the tcpConnTable containing information\nabout a particular current IPv4 TCP connection. Each row\nof this table is transient in that it ceases to exist when\n(or soon after) the connection makes the transition to the\nCLOSED state.") tcpConnState = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 13, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,7,8,5,11,9,12,1,10,2,3,)).subtype(namedValues=NamedValues(("closed", 1), ("closing", 10), ("timeWait", 11), ("deleteTCB", 12), ("listen", 2), ("synSent", 3), ("synReceived", 4), ("established", 5), ("finWait1", 6), ("finWait2", 7), ("closeWait", 8), ("lastAck", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpConnState.setDescription("The state of this TCP connection.\n\nThe only value that may be set by a management station is\ndeleteTCB(12). Accordingly, it is appropriate for an agent\nto return a `badValue' response if a management station\nattempts to set this object to any other value.\n\nIf a management station sets this object to the value\ndeleteTCB(12), then the TCB (as defined in [RFC793]) of\nthe corresponding connection on the managed node is\ndeleted, resulting in immediate termination of the\nconnection.\n\nAs an implementation-specific option, a RST segment may be\nsent from the managed node to the other TCP endpoint (note,\nhowever, that RST segments are not sent reliably).") tcpConnLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 13, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpConnLocalAddress.setDescription("The local IP address for this TCP connection. In the case\nof a connection in the listen state willing to\naccept connections for any IP interface associated with the\nnode, the value 0.0.0.0 is used.") tcpConnLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 13, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpConnLocalPort.setDescription("The local port number for this TCP connection.") tcpConnRemAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 13, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpConnRemAddress.setDescription("The remote IP address for this TCP connection.") tcpConnRemPort = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 13, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpConnRemPort.setDescription("The remote port number for this TCP connection.") tcpInErrs = MibScalar((1, 3, 6, 1, 2, 1, 6, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpInErrs.setDescription("The total number of segments received in error (e.g., bad\nTCP checksums).\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpOutRsts = MibScalar((1, 3, 6, 1, 2, 1, 6, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpOutRsts.setDescription("The number of TCP segments sent containing the RST flag.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpHCInSegs = MibScalar((1, 3, 6, 1, 2, 1, 6, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpHCInSegs.setDescription("The total number of segments received, including those\nreceived in error. This count includes segments received\n\n\n\non currently established connections. This object is\nthe 64-bit equivalent of tcpInSegs.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpHCOutSegs = MibScalar((1, 3, 6, 1, 2, 1, 6, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpHCOutSegs.setDescription("The total number of segments sent, including those on\ncurrent connections but excluding those containing only\nretransmitted octets. This object is the 64-bit\nequivalent of tcpOutSegs.\n\nDiscontinuities in the value of this counter are\nindicated via discontinuities in the value of sysUpTime.") tcpConnectionTable = MibTable((1, 3, 6, 1, 2, 1, 6, 19)) if mibBuilder.loadTexts: tcpConnectionTable.setDescription("A table containing information about existing TCP\nconnections. Note that unlike earlier TCP MIBs, there\nis a separate table for connections in the LISTEN state.") tcpConnectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 6, 19, 1)).setIndexNames((0, "TCP-MIB", "tcpConnectionLocalAddressType"), (0, "TCP-MIB", "tcpConnectionLocalAddress"), (0, "TCP-MIB", "tcpConnectionLocalPort"), (0, "TCP-MIB", "tcpConnectionRemAddressType"), (0, "TCP-MIB", "tcpConnectionRemAddress"), (0, "TCP-MIB", "tcpConnectionRemPort")) if mibBuilder.loadTexts: tcpConnectionEntry.setDescription("A conceptual row of the tcpConnectionTable containing\ninformation about a particular current TCP connection.\nEach row of this table is transient in that it ceases to\nexist when (or soon after) the connection makes the\ntransition to the CLOSED state.") tcpConnectionLocalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpConnectionLocalAddressType.setDescription("The address type of tcpConnectionLocalAddress.") tcpConnectionLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpConnectionLocalAddress.setDescription("The local IP address for this TCP connection. The type\nof this address is determined by the value of\ntcpConnectionLocalAddressType.\n\nAs this object is used in the index for the\ntcpConnectionTable, implementors should be\ncareful not to create entries that would result in OIDs\nwith more than 128 subidentifiers; otherwise the information\ncannot be accessed by using SNMPv1, SNMPv2c, or SNMPv3.") tcpConnectionLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 3), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpConnectionLocalPort.setDescription("The local port number for this TCP connection.") tcpConnectionRemAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 4), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpConnectionRemAddressType.setDescription("The address type of tcpConnectionRemAddress.") tcpConnectionRemAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 5), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpConnectionRemAddress.setDescription("The remote IP address for this TCP connection. The type\nof this address is determined by the value of\ntcpConnectionRemAddressType.\n\nAs this object is used in the index for the\ntcpConnectionTable, implementors should be\ncareful not to create entries that would result in OIDs\nwith more than 128 subidentifiers; otherwise the information\ncannot be accessed by using SNMPv1, SNMPv2c, or SNMPv3.") tcpConnectionRemPort = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 6), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpConnectionRemPort.setDescription("The remote port number for this TCP connection.") tcpConnectionState = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,7,8,5,11,9,12,1,10,2,3,)).subtype(namedValues=NamedValues(("closed", 1), ("closing", 10), ("timeWait", 11), ("deleteTCB", 12), ("listen", 2), ("synSent", 3), ("synReceived", 4), ("established", 5), ("finWait1", 6), ("finWait2", 7), ("closeWait", 8), ("lastAck", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpConnectionState.setDescription("The state of this TCP connection.\n\nThe value listen(2) is included only for parallelism to the\nold tcpConnTable and should not be used. A connection in\nLISTEN state should be present in the tcpListenerTable.\n\nThe only value that may be set by a management station is\ndeleteTCB(12). Accordingly, it is appropriate for an agent\nto return a `badValue' response if a management station\nattempts to set this object to any other value.\n\nIf a management station sets this object to the value\ndeleteTCB(12), then the TCB (as defined in [RFC793]) of\nthe corresponding connection on the managed node is\ndeleted, resulting in immediate termination of the\nconnection.\n\nAs an implementation-specific option, a RST segment may be\nsent from the managed node to the other TCP endpoint (note,\nhowever, that RST segments are not sent reliably).") tcpConnectionProcess = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 19, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpConnectionProcess.setDescription("The system's process ID for the process associated with\nthis connection, or zero if there is no such process. This\nvalue is expected to be the same as HOST-RESOURCES-MIB::\nhrSWRunIndex or SYSAPPL-MIB::sysApplElmtRunIndex for some\nrow in the appropriate tables.") tcpListenerTable = MibTable((1, 3, 6, 1, 2, 1, 6, 20)) if mibBuilder.loadTexts: tcpListenerTable.setDescription("A table containing information about TCP listeners. A\nlistening application can be represented in three\npossible ways:\n\n1. An application that is willing to accept both IPv4 and\n IPv6 datagrams is represented by\n\n\n\n a tcpListenerLocalAddressType of unknown (0) and\n a tcpListenerLocalAddress of ''h (a zero-length\n octet-string).\n\n2. An application that is willing to accept only IPv4 or\n IPv6 datagrams is represented by a\n tcpListenerLocalAddressType of the appropriate address\n type and a tcpListenerLocalAddress of '0.0.0.0' or '::'\n respectively.\n\n3. An application that is listening for data destined\n only to a specific IP address, but from any remote\n system, is represented by a tcpListenerLocalAddressType\n of an appropriate address type, with\n tcpListenerLocalAddress as the specific local address.\n\nNOTE: The address type in this table represents the\naddress type used for the communication, irrespective\nof the higher-layer abstraction. For example, an\napplication using IPv6 'sockets' to communicate via\nIPv4 between ::ffff:10.0.0.1 and ::ffff:10.0.0.2 would\nuse InetAddressType ipv4(1)).") tcpListenerEntry = MibTableRow((1, 3, 6, 1, 2, 1, 6, 20, 1)).setIndexNames((0, "TCP-MIB", "tcpListenerLocalAddressType"), (0, "TCP-MIB", "tcpListenerLocalAddress"), (0, "TCP-MIB", "tcpListenerLocalPort")) if mibBuilder.loadTexts: tcpListenerEntry.setDescription("A conceptual row of the tcpListenerTable containing\ninformation about a particular TCP listener.") tcpListenerLocalAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 20, 1, 1), InetAddressType()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpListenerLocalAddressType.setDescription("The address type of tcpListenerLocalAddress. The value\nshould be unknown (0) if connection initiations to all\nlocal IP addresses are accepted.") tcpListenerLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 20, 1, 2), InetAddress()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpListenerLocalAddress.setDescription("The local IP address for this TCP connection.\n\nThe value of this object can be represented in three\npossible ways, depending on the characteristics of the\nlistening application:\n\n1. For an application willing to accept both IPv4 and\n IPv6 datagrams, the value of this object must be\n ''h (a zero-length octet-string), with the value\n of the corresponding tcpListenerLocalAddressType\n object being unknown (0).\n\n2. For an application willing to accept only IPv4 or\n IPv6 datagrams, the value of this object must be\n '0.0.0.0' or '::' respectively, with\n tcpListenerLocalAddressType representing the\n appropriate address type.\n\n3. For an application which is listening for data\n destined only to a specific IP address, the value\n of this object is the specific local address, with\n tcpListenerLocalAddressType representing the\n appropriate address type.\n\nAs this object is used in the index for the\ntcpListenerTable, implementors should be\ncareful not to create entries that would result in OIDs\nwith more than 128 subidentifiers; otherwise the information\ncannot be accessed, using SNMPv1, SNMPv2c, or SNMPv3.") tcpListenerLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 20, 1, 3), InetPortNumber()).setMaxAccess("noaccess") if mibBuilder.loadTexts: tcpListenerLocalPort.setDescription("The local port number for this TCP connection.") tcpListenerProcess = MibTableColumn((1, 3, 6, 1, 2, 1, 6, 20, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpListenerProcess.setDescription("The system's process ID for the process associated with\nthis listener, or zero if there is no such process. This\nvalue is expected to be the same as HOST-RESOURCES-MIB::\nhrSWRunIndex or SYSAPPL-MIB::sysApplElmtRunIndex for some\nrow in the appropriate tables.") tcpMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 49)).setRevisions(("2005-02-18 00:00","1994-11-01 00:00","1991-03-31 00:00",)) if mibBuilder.loadTexts: tcpMIB.setOrganization("IETF IPv6 MIB Revision Team\nhttp://www.ietf.org/html.charters/ipv6-charter.html") if mibBuilder.loadTexts: tcpMIB.setContactInfo("Rajiv Raghunarayan (editor)\n\nCisco Systems Inc.\n170 West Tasman Drive\nSan Jose, CA 95134\n\nPhone: +1 408 853 9612\nEmail: \n\nSend comments to ") if mibBuilder.loadTexts: tcpMIB.setDescription("The MIB module for managing TCP implementations.\n\nCopyright (C) The Internet Society (2005). This version\nof this MIB module is a part of RFC 4022; see the RFC\nitself for full legal notices.") tcpMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 49, 2)) tcpMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 49, 2, 1)) tcpMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 49, 2, 2)) # Augmentions # Groups tcpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 49, 2, 2, 1)).setObjects(*(("TCP-MIB", "tcpInErrs"), ("TCP-MIB", "tcpConnRemAddress"), ("TCP-MIB", "tcpEstabResets"), ("TCP-MIB", "tcpConnLocalPort"), ("TCP-MIB", "tcpActiveOpens"), ("TCP-MIB", "tcpMaxConn"), ("TCP-MIB", "tcpPassiveOpens"), ("TCP-MIB", "tcpRtoMax"), ("TCP-MIB", "tcpConnLocalAddress"), ("TCP-MIB", "tcpRtoAlgorithm"), ("TCP-MIB", "tcpRtoMin"), ("TCP-MIB", "tcpAttemptFails"), ("TCP-MIB", "tcpInSegs"), ("TCP-MIB", "tcpRetransSegs"), ("TCP-MIB", "tcpCurrEstab"), ("TCP-MIB", "tcpOutSegs"), ("TCP-MIB", "tcpConnState"), ("TCP-MIB", "tcpOutRsts"), ("TCP-MIB", "tcpConnRemPort"), ) ) if mibBuilder.loadTexts: tcpGroup.setDescription("The tcp group of objects providing for management of TCP\nentities.") tcpBaseGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 49, 2, 2, 2)).setObjects(*(("TCP-MIB", "tcpInErrs"), ("TCP-MIB", "tcpRtoMin"), ("TCP-MIB", "tcpAttemptFails"), ("TCP-MIB", "tcpRetransSegs"), ("TCP-MIB", "tcpOutSegs"), ("TCP-MIB", "tcpOutRsts"), ("TCP-MIB", "tcpEstabResets"), ("TCP-MIB", "tcpActiveOpens"), ("TCP-MIB", "tcpMaxConn"), ("TCP-MIB", "tcpPassiveOpens"), ("TCP-MIB", "tcpRtoMax"), ("TCP-MIB", "tcpRtoAlgorithm"), ("TCP-MIB", "tcpInSegs"), ("TCP-MIB", "tcpCurrEstab"), ) ) if mibBuilder.loadTexts: tcpBaseGroup.setDescription("The group of counters common to TCP entities.") tcpConnectionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 49, 2, 2, 3)).setObjects(*(("TCP-MIB", "tcpConnectionProcess"), ("TCP-MIB", "tcpConnectionState"), ) ) if mibBuilder.loadTexts: tcpConnectionGroup.setDescription("The group provides general information about TCP\nconnections.") tcpListenerGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 49, 2, 2, 4)).setObjects(*(("TCP-MIB", "tcpListenerProcess"), ) ) if mibBuilder.loadTexts: tcpListenerGroup.setDescription("This group has objects providing general information about\nTCP listeners.") tcpHCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 49, 2, 2, 5)).setObjects(*(("TCP-MIB", "tcpHCOutSegs"), ("TCP-MIB", "tcpHCInSegs"), ) ) if mibBuilder.loadTexts: tcpHCGroup.setDescription("The group of objects providing for counters of high speed\nTCP implementations.") # Compliances tcpMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 49, 2, 1, 1)).setObjects(*(("TCP-MIB", "tcpGroup"), ) ) if mibBuilder.loadTexts: tcpMIBCompliance.setDescription("The compliance statement for IPv4-only systems that\nimplement TCP. In order to be IP version independent, this\ncompliance statement is deprecated in favor of\ntcpMIBCompliance2. However, agents are still encouraged\nto implement these objects in order to interoperate with\nthe deployed base of managers.") tcpMIBCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 49, 2, 1, 2)).setObjects(*(("TCP-MIB", "tcpConnectionGroup"), ("TCP-MIB", "tcpListenerGroup"), ("TCP-MIB", "tcpBaseGroup"), ("TCP-MIB", "tcpHCGroup"), ) ) if mibBuilder.loadTexts: tcpMIBCompliance2.setDescription("The compliance statement for systems that implement TCP.\n\nA number of INDEX objects cannot be\nrepresented in the form of OBJECT clauses in SMIv2 but\nhave the following compliance requirements,\nexpressed in OBJECT clause form in this description\nclause:\n\n-- OBJECT tcpConnectionLocalAddressType\n-- SYNTAX InetAddressType { ipv4(1), ipv6(2) }\n-- DESCRIPTION\n-- This MIB requires support for only global IPv4\n\n\n\n-- and IPv6 address types.\n--\n-- OBJECT tcpConnectionRemAddressType\n-- SYNTAX InetAddressType { ipv4(1), ipv6(2) }\n-- DESCRIPTION\n-- This MIB requires support for only global IPv4\n-- and IPv6 address types.\n--\n-- OBJECT tcpListenerLocalAddressType\n-- SYNTAX InetAddressType { unknown(0), ipv4(1),\n-- ipv6(2) }\n-- DESCRIPTION\n-- This MIB requires support for only global IPv4\n-- and IPv6 address types. The type unknown also\n-- needs to be supported to identify a special\n-- case in the listener table: a listen using\n-- both IPv4 and IPv6 addresses on the device.\n--") # Exports # Module identity mibBuilder.exportSymbols("TCP-MIB", PYSNMP_MODULE_ID=tcpMIB) # Objects mibBuilder.exportSymbols("TCP-MIB", tcp=tcp, tcpRtoAlgorithm=tcpRtoAlgorithm, tcpRtoMin=tcpRtoMin, tcpRtoMax=tcpRtoMax, tcpMaxConn=tcpMaxConn, tcpActiveOpens=tcpActiveOpens, tcpPassiveOpens=tcpPassiveOpens, tcpAttemptFails=tcpAttemptFails, tcpEstabResets=tcpEstabResets, tcpCurrEstab=tcpCurrEstab, tcpInSegs=tcpInSegs, tcpOutSegs=tcpOutSegs, tcpRetransSegs=tcpRetransSegs, tcpConnTable=tcpConnTable, tcpConnEntry=tcpConnEntry, tcpConnState=tcpConnState, tcpConnLocalAddress=tcpConnLocalAddress, tcpConnLocalPort=tcpConnLocalPort, tcpConnRemAddress=tcpConnRemAddress, tcpConnRemPort=tcpConnRemPort, tcpInErrs=tcpInErrs, tcpOutRsts=tcpOutRsts, tcpHCInSegs=tcpHCInSegs, tcpHCOutSegs=tcpHCOutSegs, tcpConnectionTable=tcpConnectionTable, tcpConnectionEntry=tcpConnectionEntry, tcpConnectionLocalAddressType=tcpConnectionLocalAddressType, tcpConnectionLocalAddress=tcpConnectionLocalAddress, tcpConnectionLocalPort=tcpConnectionLocalPort, tcpConnectionRemAddressType=tcpConnectionRemAddressType, tcpConnectionRemAddress=tcpConnectionRemAddress, tcpConnectionRemPort=tcpConnectionRemPort, tcpConnectionState=tcpConnectionState, tcpConnectionProcess=tcpConnectionProcess, tcpListenerTable=tcpListenerTable, tcpListenerEntry=tcpListenerEntry, tcpListenerLocalAddressType=tcpListenerLocalAddressType, tcpListenerLocalAddress=tcpListenerLocalAddress, tcpListenerLocalPort=tcpListenerLocalPort, tcpListenerProcess=tcpListenerProcess, tcpMIB=tcpMIB, tcpMIBConformance=tcpMIBConformance, tcpMIBCompliances=tcpMIBCompliances, tcpMIBGroups=tcpMIBGroups) # Groups mibBuilder.exportSymbols("TCP-MIB", tcpGroup=tcpGroup, tcpBaseGroup=tcpBaseGroup, tcpConnectionGroup=tcpConnectionGroup, tcpListenerGroup=tcpListenerGroup, tcpHCGroup=tcpHCGroup) # Compliances mibBuilder.exportSymbols("TCP-MIB", tcpMIBCompliance=tcpMIBCompliance, tcpMIBCompliance2=tcpMIBCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/FRSLD-MIB.py0000644000014400001440000014262711736645136020323 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python FRSLD-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:01 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( DLCI, ) = mibBuilder.importSymbols("FRAME-RELAY-DTE-MIB", "DLCI") ( CounterBasedGauge64, ) = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Counter64, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Counter64", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( RowStatus, TextualConvention, TimeStamp, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "TimeStamp") # Types class FrsldRxRP(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(4,11,9,1,5,2,6,8,10,12,3,7,) namedValues = NamedValues(("desLocalRP", 1), ("eqiRxRemoteRP", 10), ("eqoRxRemoteRP", 11), ("otherRxRemoteRP", 12), ("ingRxLocalRP", 2), ("tpRxLocalRP", 3), ("eqiRxLocalRP", 4), ("eqoRxLocalRP", 5), ("otherRxLocalRP", 6), ("desRemoteRP", 7), ("ingRxRemoteRP", 8), ("tpRxRemoteRP", 9), ) class FrsldTxRP(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(6,5,12,10,3,4,11,1,9,7,2,8,) namedValues = NamedValues(("srcLocalRP", 1), ("eqiTxRemoteRP", 10), ("eqoTxRemoteRP", 11), ("otherTxRemoteRP", 12), ("ingTxLocalRP", 2), ("tpTxLocalRP", 3), ("eqiTxLocalRP", 4), ("eqoTxLocalRP", 5), ("otherTxLocalRP", 6), ("srcRemoteRP", 7), ("ingTxRemoteRP", 8), ("tpTxRemoteRP", 9), ) # Objects frsldMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 95)).setRevisions(("2002-01-03 00:00",)) if mibBuilder.loadTexts: frsldMIB.setOrganization("IETF Frame Relay Service MIB Working Group") if mibBuilder.loadTexts: frsldMIB.setContactInfo("IETF Frame Relay Service MIB (frnetmib) Working Group\n\nWG Charter: http://www.ietf.org/html.charters/\n frnetmib-charter.html\nWG-email: frnetmib@sunroof.eng.sun.com\nSubscribe: frnetmib-request@sunroof.eng.sun.com\nEmail Archive: ftp://ftp.ietf.org/ietf-mail-archive/frnetmib\n\n\nChair: Andy Malis\n Vivace Networks\nEmail: Andy.Malis@vivacenetworks.com\n\nWG editor: Robert Steinberger\n Paradyne Networks and\n Fujitsu Network Communications\nEmail: robert.steinberger@fnc.fujitsu.com\n\nCo-author: Orly Nicklass\n RAD Data Communications Ltd.\nEMail: Orly_n@rad.co.il") if mibBuilder.loadTexts: frsldMIB.setDescription("The MIB module to describe generic objects for\nFRF.13 Frame Relay Service Level Definitions.") frsldObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 95, 1)) frsldPvcCtrlTable = MibTable((1, 3, 6, 1, 2, 1, 95, 1, 1)) if mibBuilder.loadTexts: frsldPvcCtrlTable.setDescription("The Frame Relay Service Level Definitions\nPVC control table.") frsldPvcCtrlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 95, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FRSLD-MIB", "frsldPvcCtrlDlci"), (0, "FRSLD-MIB", "frsldPvcCtrlTransmitRP"), (0, "FRSLD-MIB", "frsldPvcCtrlReceiveRP")) if mibBuilder.loadTexts: frsldPvcCtrlEntry.setDescription("An entry in the Frame Relay Service Level\nDefinitions PVC control table.") frsldPvcCtrlDlci = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 1), DLCI()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frsldPvcCtrlDlci.setDescription("The value of this object is equal to the DLCI\nvalue for this PVC.") frsldPvcCtrlTransmitRP = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 2), FrsldTxRP()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frsldPvcCtrlTransmitRP.setDescription("The reference point this PVC uses for calculation\nof transmitter related statistics. This object\ntogether with frsldPvcCtrlReceiveRP define the\nmeasurement domain.") frsldPvcCtrlReceiveRP = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 3), FrsldRxRP()).setMaxAccess("noaccess") if mibBuilder.loadTexts: frsldPvcCtrlReceiveRP.setDescription("The reference point this PVC uses for calculation\nof receiver related statistics. This object\ntogether with frsldPvcCtrlTransmitRP define the\nmeasurement domain.") frsldPvcCtrlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldPvcCtrlStatus.setDescription("The status of the current row. This object is\nused to add, delete, and disable rows in this\ntable. When the status changes to active(1) for the\nfirst time, a row will also be added to the data\ntable below. This row SHOULD not be removed until\nthe status is changed to deleted.\n\nWhen this object is set to destroy(6), all associated\nsample and data table rows will also be deleted.\nWhen this object is changed from active(1) to any\nother valid value, the defined purge behavior will\naffect the data and sample tables.\n\nThe rows added to this table MUST have a valid\nifIndex and an ifType related to frame relay. Further,\nthe reference points referred to by frsldPvcCtrlTransmitRP\nand frsldPvcCtrlReceiveRP MUST be supported (see the\nfrsldRPCaps object).\n\nIf at any point the row is not in the active(1) state\nand the DLCI no longer exists, the state SHOULD\nreport notReady(3).\n\nThe data in this table SHOULD persist through power\ncycles. The symantics of readiness for the rows still\napplies. This means that it is possible for a row to be\nreprovisioned as notReady(3) if the underlying DLCI does\nnot persist.") frsldPvcCtrlPacketFreq = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldPvcCtrlPacketFreq.setDescription("The frequency in seconds between initiation of\nspecialized packets used to collect delay and / or\ndelivery information as supported by the device.\nA value of zero indicates that no packets will\nbe sent.") frsldPvcCtrlDelayFrSize = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8188)).clone(128)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldPvcCtrlDelayFrSize.setDescription("The size of the payload in the frame used for\ncalculation of network delay.") frsldPvcCtrlDelayType = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("oneWay", 1), ("roundTrip", 2), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldPvcCtrlDelayType.setDescription("The type of delay measurement performed.") frsldPvcCtrlDelayTimeOut = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldPvcCtrlDelayTimeOut.setDescription("A delay frame will count as a missed poll if\nit is not updated in the time specified by\nfrsldPvcCtrlDelayTimeOut.") frsldPvcCtrlPurge = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 172800)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldPvcCtrlPurge.setDescription("This object defines the amount of time the device\nwill wait, after discovering that a DLCI does not exist,\nthe DLCI was deleted or the value of frsldPvcCtrlStatus\nchanges from active(1) to either notInService(2) or\nnotReady(3), prior to automatically purging the history\nin the sample tables and resetting the data in the data\ntables to all zeroes. If frsldPvcCtrlStatus is manually\nset to destroy(6), this object does not apply.") frsldPvcCtrlDeleteOnPurge = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,3,)).subtype(namedValues=NamedValues(("none", 1), ("sampleContols", 2), ("all", 3), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldPvcCtrlDeleteOnPurge.setDescription("This object defines whether rows will\nautomatically be deleted from the tables\nwhen the information is purged.\n\n- A value of none(1) indicates that no rows\n will deleted. The last known values will\n be preserved.\n- A value of sampleControls(2) indicates\n that all associated sample control rows\n will be deleted.\n- A value of all(3) indicates that all\n associated rows SHOULD be deleted.") frsldPvcCtrlLastPurgeTime = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 1, 1, 11), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcCtrlLastPurgeTime.setDescription("This object returns the value of sysUpTime\nat the time the information was last purged.\nThis value SHOULD be set to the sysUpTime\nupon setting frsldPvcCtrlStatus to active(1)\nfor the first time. Each time a\ndiscontinuity in the counters occurs, this\nvalue MUST be set to the sysUpTime.\n\nIf frsldPvcCtrlStatus has never been active(1),\nthis object SHOULD return 0.\n\nThis object SHOULD be used as the discontinuity\ntimer for the counters in frsldPvcDataTable.") frsldSmplCtrlTable = MibTable((1, 3, 6, 1, 2, 1, 95, 1, 2)) if mibBuilder.loadTexts: frsldSmplCtrlTable.setDescription("The Frame Relay Service Level Definitions\nsampling control table.") frsldSmplCtrlEntry = MibTableRow((1, 3, 6, 1, 2, 1, 95, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FRSLD-MIB", "frsldPvcCtrlDlci"), (0, "FRSLD-MIB", "frsldPvcCtrlTransmitRP"), (0, "FRSLD-MIB", "frsldPvcCtrlReceiveRP"), (0, "FRSLD-MIB", "frsldSmplCtrlIdx")) if mibBuilder.loadTexts: frsldSmplCtrlEntry.setDescription("An entry in the Frame Relay Service Level\nDefinitions sample control table.") frsldSmplCtrlIdx = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frsldSmplCtrlIdx.setDescription("The unique index for this row in the\nsample control table.") frsldSmplCtrlStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 2, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldSmplCtrlStatus.setDescription("The status of the current row. This object is\nused to add, delete, and disable rows in this\ntable. This row SHOULD NOT be removed until the\nstatus is changed to destroy(6). When the status\nchanges to active(1), the collection in the sample\ntables below will be activated.\n\nThe rows added to this table MUST have a valid\nifIndex, an ifType related to frame relay,\nfrsldPvcCtrlDlci MUST exist for the specified\nifIndex and frsldPvcCtrlStatus MUST have a\nvalue of active(1).\n\nThe value of frsldPvcCtrlStatus MUST be active(1)\nto transition this object to active(1). If\nthe value of frsldPvcCtrlStatus becomes anything\nother than active(1) when the state of this object\nis not active(1), this object SHOULD be set to\nnotReady(3).\n\nThe data in this table SHOULD persist through power\ncycles. The symantics of readiness for the rows still\napplies. This means that it is possible for a row to be\nreprovisioned as notReady(3) if the underlying DLCI does\nnot persist.") frsldSmplCtrlColPeriod = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldSmplCtrlColPeriod.setDescription("The amount of time in seconds that defines a\nperiod of collection for the statistics.\nAt the end of each period, the statistics will be\nsampled and a row is added to the sample table.") frsldSmplCtrlBuckets = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(60)).setMaxAccess("readcreate") if mibBuilder.loadTexts: frsldSmplCtrlBuckets.setDescription("The number of discrete buckets over which the\ndata statistics are sampled.\n\nWhen this object is created or modified, the device\nSHOULD attempt to set the frsldSmplCtrlBuckets-\nGranted to a value as close as is possible\ndepending upon the implementation and the available\nresources.") frsldSmplCtrlBucketsGranted = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldSmplCtrlBucketsGranted.setDescription("The number of discrete buckets granted. This\nobject will return 0 until frsldSmplCtrlStatus is\nset to active(1). At that time the buckets will be\nallocated depending upon implementation and\navailable resources.") frsldPvcDataTable = MibTable((1, 3, 6, 1, 2, 1, 95, 1, 3)) if mibBuilder.loadTexts: frsldPvcDataTable.setDescription("The Frame Relay Service Level Definitions\ndata table.\n\nThis table contains accumulated values of the\ncollected data. It is the table that should be\nreferenced by external polling mechanisms if\ntime based polling be desired.") frsldPvcDataEntry = MibTableRow((1, 3, 6, 1, 2, 1, 95, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FRSLD-MIB", "frsldPvcCtrlDlci"), (0, "FRSLD-MIB", "frsldPvcCtrlTransmitRP"), (0, "FRSLD-MIB", "frsldPvcCtrlReceiveRP")) if mibBuilder.loadTexts: frsldPvcDataEntry.setDescription("An entry in the Frame Relay Service Level\nDefinitions data table.") frsldPvcDataMissedPolls = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataMissedPolls.setDescription("The total number of polls that have been determined\nto be missed. These polls are typically associated\nwith the calculation of delay but may also be\nused for the calculation of other statistics. If an\nanticipated poll is not received in a reasonable\namount of time, it should be counted as missed.\nThe value used to determine the reasonable amount\nof time is contained in frsldPvcCtrlDelayTimeOut.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\n\n\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataFrDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataFrDeliveredC.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataFrDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataFrDeliveredE.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent in excess of the CIR.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataFrOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataFrOfferedC.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP within CIR.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\n\n\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataFrOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataFrOfferedE.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataDataDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataDataDeliveredC.setDescription("The number of octets that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataDataDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataDataDeliveredE.setDescription("The number of octets that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent in excess of the CIR.\n\nDiscontinuities in the value of this counter can\n\n\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataDataOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataDataOfferedC.setDescription("The number of octets that were offered through\nfrsldPvcCtrlTransmitRP within CIR.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataDataOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataDataOfferedE.setDescription("The number of octets that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCFrDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCFrDeliveredC.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR. This object is a 64-bit version\nof frsldPvcDataFrDeliveredC.\n\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCFrDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCFrDeliveredE.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent in excess of the CIR. This object is a 64-bit\nversion of frsldPvcDataFrDeliveredE.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCFrOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCFrOfferedC.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP within CIR. This object is\na 64-bit version of frsldPvcDataFrOfferedC.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCFrOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCFrOfferedE.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR. This\nobject is a 64-bit version of frsldPvcDataFrOfferedE.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCDataDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCDataDeliveredC.setDescription("The number of octets that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR. This object is a 64-bit version of\nfrsldPvcDataDataDeliveredC.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCDataDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCDataDeliveredE.setDescription("The number of octets that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent in excess of the CIR. This object is a 64-bit\nversion of frsldPvcDataDataDeliveredE.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCDataOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCDataOfferedC.setDescription("The number of octets that were offered through\nfrsldPvcCtrlTransmitRP within CIR. This object is\na 64-bit version of frsldPvcDataDataOfferedC.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataHCDataOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataHCDataOfferedE.setDescription("The number of octets that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR.\nThis object is a 64-bit version of\nfrsldPvcDataDataOfferedE.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcDataUnavailableTime = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 18), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataUnavailableTime.setDescription("The amount of time this PVC was declared unavailable\nfor any reason since this row was created.") frsldPvcDataUnavailables = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcDataUnavailables.setDescription("The number of times this PVC was declared unavailable\nfor any reason since this row was created.\n\nDiscontinuities in the value of this counter can\noccur at re-initialization of the management system\nand at other times as indicated by\nfrsldPvcCtrlLastPurgeTime.") frsldPvcSampleTable = MibTable((1, 3, 6, 1, 2, 1, 95, 1, 4)) if mibBuilder.loadTexts: frsldPvcSampleTable.setDescription("The Frame Relay Service Level Definitions\nsample table.") frsldPvcSampleEntry = MibTableRow((1, 3, 6, 1, 2, 1, 95, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FRSLD-MIB", "frsldPvcCtrlDlci"), (0, "FRSLD-MIB", "frsldPvcCtrlTransmitRP"), (0, "FRSLD-MIB", "frsldPvcCtrlReceiveRP"), (0, "FRSLD-MIB", "frsldSmplCtrlIdx"), (0, "FRSLD-MIB", "frsldPvcSmplIdx")) if mibBuilder.loadTexts: frsldPvcSampleEntry.setDescription("An entry in the Frame Relay Service Level\nDefinitions data sample table.") frsldPvcSmplIdx = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: frsldPvcSmplIdx.setDescription("The bucket index of the current sample. This\nincrements once for each new bucket in the\ntable.") frsldPvcSmplDelayMin = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplDelayMin.setDescription("The minimum delay reported in microseconds measured\nfor any information packet that arrived during this\ninterval.\n\nA value of zero means that no data is available.") frsldPvcSmplDelayMax = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplDelayMax.setDescription("The largest delay reported in microseconds measured\nfor any information packet that arrived during this\ninterval.\n\nA value of zero means that no data is available.") frsldPvcSmplDelayAvg = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplDelayAvg.setDescription("The average delay reported in microseconds measured\nfor all delay packets that arrived during this\ninterval.\n\nA value of zero means that no data is available.") frsldPvcSmplMissedPolls = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplMissedPolls.setDescription("The total number of polls that were missed during\nthis interval.") frsldPvcSmplFrDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplFrDeliveredC.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR during this interval.\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\n\n\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCFrDeliveredC.") frsldPvcSmplFrDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplFrDeliveredE.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent in excess of the CIR during this interval.\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCFrDeliveredE.") frsldPvcSmplFrOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplFrOfferedC.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP within CIR during this\ninterval.\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCFrOfferedC.") frsldPvcSmplFrOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplFrOfferedE.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR\nduring this interval.\n\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCFrOfferedE.") frsldPvcSmplDataDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplDataDeliveredC.setDescription("The number of octets that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR during this interval.\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCDataDeliveredC.") frsldPvcSmplDataDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplDataDeliveredE.setDescription("The number of octets that were received at\nfrsldPvcCtrlDeliveredRP and determined to have been\nsent in excess of the CIR during this interval.\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCDataDeliveredE.") frsldPvcSmplDataOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplDataOfferedC.setDescription("The number of octets that were offered through\n\n\nfrsldPvcCtrlTransmitRP within CIR during this\ninterval.\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCDataOfferredC.") frsldPvcSmplDataOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 13), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplDataOfferedE.setDescription("The number of octets that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR\nduring this interval.\n\nIf it is the case that the high capacity counters\nare also used, this MUST report the value of the\nlower 32 bits of the CounterBasedGauge64 value of\nfrsldPvcSmplHCDataOfferedE.") frsldPvcSmplHCFrDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 14), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCFrDeliveredC.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR during this interval. This object\nis a 64-bit version of frsldPvcSmplFrDeliveredC.") frsldPvcSmplHCFrDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 15), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCFrDeliveredE.setDescription("The number of frames that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\n\n\nsent in excess of the CIR during this interval.\nThis object is a 64-bit version of frsldPvcSmpl-\nFrDeliveredE.") frsldPvcSmplHCFrOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 16), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCFrOfferedC.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP within CIR during this\ninterval. This object is a 64-bit version of\nfrsldPvcSmplFrOfferedC.") frsldPvcSmplHCFrOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 17), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCFrOfferedE.setDescription("The number of frames that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR\nduring this interval. This object is a 64-bit\nversion of frsldPvcSmplFrOfferedE.") frsldPvcSmplHCDataDeliveredC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 18), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCDataDeliveredC.setDescription("The number of octets that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent within CIR during this interval. This value\nis a 64-bit version of frsldPvcSmplDataDeliveredC.") frsldPvcSmplHCDataDeliveredE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 19), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCDataDeliveredE.setDescription("The number of octets that were received at\nfrsldPvcCtrlReceiveRP and determined to have been\nsent in excess of the CIR during this interval. This\nvalue is a 64-bit version of frsldPvcSmplData-\nDeliveredE.") frsldPvcSmplHCDataOfferedC = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 20), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCDataOfferedC.setDescription("The number of octets that were offered through\nfrsldPvcCtrlTransmitRP within CIR during this\ninterval. This value is a 64-bit version of\nfrsldPvcSmplDataOfferedC.") frsldPvcSmplHCDataOfferedE = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 21), CounterBasedGauge64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplHCDataOfferedE.setDescription("The number of octets that were offered through\nfrsldPvcCtrlTransmitRP in excess of the CIR\nduring this interval. This object is a 64-bit\nversion of frsldPvcSmplDataOfferedE.") frsldPvcSmplUnavailableTime = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 22), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplUnavailableTime.setDescription("The amount of time this PVC was declared\nunavailable for any reason during this interval.") frsldPvcSmplUnavailables = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 23), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplUnavailables.setDescription("The number of times this PVC was declared\nunavailable for any reason during this interval.") frsldPvcSmplStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 24), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplStartTime.setDescription("The value of sysUpTime when this sample interval\nstarted.") frsldPvcSmplEndTime = MibTableColumn((1, 3, 6, 1, 2, 1, 95, 1, 4, 1, 25), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcSmplEndTime.setDescription("The value of sysUpTime when this sample interval\nended. No data will be reported and the row will\nnot appear in the table until the sample has\nbeen collected.") frsldCapabilities = MibIdentifier((1, 3, 6, 1, 2, 1, 95, 2)) frsldPvcCtrlWriteCaps = MibScalar((1, 3, 6, 1, 2, 1, 95, 2, 1), Bits().subtype(namedValues=NamedValues(("frsldPvcCtrlStatus", 0), ("frsldPvcCtrlPacketFreq", 1), ("frsldPvcCtrlDelayFrSize", 2), ("frsldPvcCtrlDelayType", 3), ("frsldPvcCtrlDelayTimeOut", 4), ("frsldPvcCtrlPurge", 5), ("frsldPvcCtrlDeleteOnPurge", 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldPvcCtrlWriteCaps.setDescription("This object specifies the write capabilities\nfor the read-create objects of the PVC Control\ntable. If the corresponding bit is enabled (1),\nthe agent supports writes to that object.") frsldSmplCtrlWriteCaps = MibScalar((1, 3, 6, 1, 2, 1, 95, 2, 2), Bits().subtype(namedValues=NamedValues(("frsldSmplCtrlStatus", 0), ("frsldSmplCtrlBuckets", 1), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldSmplCtrlWriteCaps.setDescription("This object specifies the write capabilities\nfor the read-create objects of the Sample Control\ntable. If the corresponding bit is enabled (1),\nthe agent supports writes to that object.") frsldRPCaps = MibScalar((1, 3, 6, 1, 2, 1, 95, 2, 3), Bits().subtype(namedValues=NamedValues(("srcLocalRP", 0), ("ingTxLocalRP", 1), ("eqoTxRemoteRP", 10), ("otherTxRemoteRP", 11), ("desLocalRP", 12), ("ingRxLocalRP", 13), ("tpRxLocalRP", 14), ("eqiRxLocalRP", 15), ("eqoRxLocalRP", 16), ("otherRxLocalRP", 17), ("desRemoteRP", 18), ("ingRxRemoteRP", 19), ("tpTxLocalRP", 2), ("tpRxRemoteRP", 20), ("eqiRxRemoteRP", 21), ("eqoRxRemoteRP", 22), ("otherRxRemoteRP", 23), ("eqiTxLocalRP", 3), ("eqoTxLocalRP", 4), ("otherTxLocalRP", 5), ("srcRemoteRP", 6), ("ingTxRemoteRP", 7), ("tpTxRemoteRP", 8), ("eqiTxRemoteRP", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldRPCaps.setDescription("This object specifies the reference points that\nthe agent supports. This object allows the management\napplication to discover which rows can be created on\na specific device.") frsldMaxPvcCtrls = MibScalar((1, 3, 6, 1, 2, 1, 95, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frsldMaxPvcCtrls.setDescription("The maximum number of control rows that can be created\nin frsldPvcCtrlTable. Sets to this object lower than\nthe current value of frsldNumPvcCtrls should result in\ninconsistentValue.") frsldNumPvcCtrls = MibScalar((1, 3, 6, 1, 2, 1, 95, 2, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldNumPvcCtrls.setDescription("The current number of rows in frsldPvcCtrlTable.") frsldMaxSmplCtrls = MibScalar((1, 3, 6, 1, 2, 1, 95, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frsldMaxSmplCtrls.setDescription("The maximum number of control rows that can be created\nin frsldSmplCtrlTable. Sets to this object lower than\nthe current value of frsldNumSmplCtrls should result in\ninconsistentValue.") frsldNumSmplCtrls = MibScalar((1, 3, 6, 1, 2, 1, 95, 2, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frsldNumSmplCtrls.setDescription("The current number of rows in frsldSmplCtrlTable.") frsldConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 95, 3)) frsldMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 95, 3, 1)) frsldMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 95, 3, 2)) # Augmentions # Groups frsldPvcReqCtrlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 1)).setObjects(*(("FRSLD-MIB", "frsldPvcCtrlLastPurgeTime"), ("FRSLD-MIB", "frsldPvcCtrlDeleteOnPurge"), ("FRSLD-MIB", "frsldPvcCtrlPurge"), ("FRSLD-MIB", "frsldPvcCtrlStatus"), ) ) if mibBuilder.loadTexts: frsldPvcReqCtrlGroup.setDescription("A collection of required objects providing\ncontrol information applicable to a PVC which\nimplements Service Level Definitions.") frsldPvcPacketGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 2)).setObjects(*(("FRSLD-MIB", "frsldPvcCtrlPacketFreq"), ) ) if mibBuilder.loadTexts: frsldPvcPacketGroup.setDescription("A collection of optional objects providing packet\nlevel control information applicable to a PVC which\nimplements Service Level Definitions.") frsldPvcDelayCtrlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 3)).setObjects(*(("FRSLD-MIB", "frsldPvcCtrlDelayTimeOut"), ("FRSLD-MIB", "frsldPvcCtrlDelayFrSize"), ("FRSLD-MIB", "frsldPvcCtrlDelayType"), ) ) if mibBuilder.loadTexts: frsldPvcDelayCtrlGroup.setDescription("A collection of optional objects providing delay\ncontrol information applicable to a PVC which\nimplements Service Level Definitions.\n\nIf this group is implemented, frsldPvcPacketGroup\nand frsldPvcDelayDataGroup MUST also be implemented.") frsldPvcSampleCtrlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 4)).setObjects(*(("FRSLD-MIB", "frsldSmplCtrlStatus"), ("FRSLD-MIB", "frsldSmplCtrlColPeriod"), ("FRSLD-MIB", "frsldSmplCtrlBuckets"), ("FRSLD-MIB", "frsldSmplCtrlBucketsGranted"), ) ) if mibBuilder.loadTexts: frsldPvcSampleCtrlGroup.setDescription("A collection of optional objects providing sample\ncontrol information applicable to a PVC which\nimplements Service Level Definitions.\n\nIf this group is implemented, frsldPvcReqDataGroup\nand frsldPvcSampleGeneralGroup MUST also be\nimplemented.") frsldPvcReqDataGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 5)).setObjects(*(("FRSLD-MIB", "frsldPvcDataFrOfferedE"), ("FRSLD-MIB", "frsldPvcDataFrDeliveredE"), ("FRSLD-MIB", "frsldPvcDataDataDeliveredE"), ("FRSLD-MIB", "frsldPvcDataDataDeliveredC"), ("FRSLD-MIB", "frsldPvcDataFrOfferedC"), ("FRSLD-MIB", "frsldPvcDataFrDeliveredC"), ("FRSLD-MIB", "frsldPvcDataDataOfferedC"), ("FRSLD-MIB", "frsldPvcDataUnavailables"), ("FRSLD-MIB", "frsldPvcDataDataOfferedE"), ("FRSLD-MIB", "frsldPvcDataUnavailableTime"), ) ) if mibBuilder.loadTexts: frsldPvcReqDataGroup.setDescription("A collection of required objects providing data\ncollected on a PVC which implements Service\nLevel Definitions.") frsldPvcDelayDataGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 6)).setObjects(*(("FRSLD-MIB", "frsldPvcDataMissedPolls"), ) ) if mibBuilder.loadTexts: frsldPvcDelayDataGroup.setDescription("A collection of optional objects providing delay\ndata collected on a PVC which implements Service\nLevel Definitions.\n\nIf this group is implemented, frsldPvcDelayCtrlGroup\nMUST also be implemented.") frsldPvcHCFrameDataGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 7)).setObjects(*(("FRSLD-MIB", "frsldPvcDataHCFrDeliveredC"), ("FRSLD-MIB", "frsldPvcDataHCFrOfferedC"), ("FRSLD-MIB", "frsldPvcDataHCFrDeliveredE"), ("FRSLD-MIB", "frsldPvcDataHCFrOfferedE"), ) ) if mibBuilder.loadTexts: frsldPvcHCFrameDataGroup.setDescription("A collection of optional objects providing high\ncapacity frame data collected on a PVC which\nimplements Service Level Definitions.") frsldPvcHCOctetDataGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 8)).setObjects(*(("FRSLD-MIB", "frsldPvcDataHCDataDeliveredC"), ("FRSLD-MIB", "frsldPvcDataHCDataOfferedE"), ("FRSLD-MIB", "frsldPvcDataHCDataOfferedC"), ("FRSLD-MIB", "frsldPvcDataHCDataDeliveredE"), ) ) if mibBuilder.loadTexts: frsldPvcHCOctetDataGroup.setDescription("A collection of optional objects providing high\ncapacity octet data collected on a PVC which\nimplements Service Level Definitions.") frsldPvcSampleDelayGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 9)).setObjects(*(("FRSLD-MIB", "frsldPvcSmplDelayMin"), ("FRSLD-MIB", "frsldPvcSmplMissedPolls"), ("FRSLD-MIB", "frsldPvcSmplDelayMax"), ("FRSLD-MIB", "frsldPvcSmplDelayAvg"), ) ) if mibBuilder.loadTexts: frsldPvcSampleDelayGroup.setDescription("A collection of optional objects providing delay\nsample data collected on a PVC which implements\nService Level Definitions.\n\nIf this group is implemented, frsldPvcDelayCtrlGroup\nMUST also be implemented.") frsldPvcSampleDataGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 10)).setObjects(*(("FRSLD-MIB", "frsldPvcSmplFrOfferedE"), ("FRSLD-MIB", "frsldPvcSmplFrDeliveredE"), ("FRSLD-MIB", "frsldPvcSmplDataDeliveredE"), ("FRSLD-MIB", "frsldPvcSmplDataDeliveredC"), ("FRSLD-MIB", "frsldPvcSmplFrOfferedC"), ("FRSLD-MIB", "frsldPvcSmplFrDeliveredC"), ("FRSLD-MIB", "frsldPvcSmplDataOfferedC"), ("FRSLD-MIB", "frsldPvcSmplDataOfferedE"), ) ) if mibBuilder.loadTexts: frsldPvcSampleDataGroup.setDescription("A collection of optional objects providing data\nand frame delivery sample data collected on a PVC\nwhich implements Service Level Definitions.\n\nIf this group is implemented, frsldPvcReqDataGroup\nMUST also be implemented.") frsldPvcSampleHCFrameGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 11)).setObjects(*(("FRSLD-MIB", "frsldPvcSmplHCFrDeliveredC"), ("FRSLD-MIB", "frsldPvcSmplHCFrOfferedC"), ("FRSLD-MIB", "frsldPvcSmplHCFrDeliveredE"), ("FRSLD-MIB", "frsldPvcSmplHCFrOfferedE"), ) ) if mibBuilder.loadTexts: frsldPvcSampleHCFrameGroup.setDescription("A collection of optional objects providing high\ncapacity frame delivery sample data collected on a PVC\nwhich implements Service Level Definitions.\n\nIf this group is implemented, frsldPvcHCFrameDataGroup\nMUST also be implemented.") frsldPvcSampleHCDataGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 12)).setObjects(*(("FRSLD-MIB", "frsldPvcSmplHCDataDeliveredC"), ("FRSLD-MIB", "frsldPvcSmplHCDataOfferedE"), ("FRSLD-MIB", "frsldPvcSmplHCDataOfferedC"), ("FRSLD-MIB", "frsldPvcSmplHCDataDeliveredE"), ) ) if mibBuilder.loadTexts: frsldPvcSampleHCDataGroup.setDescription("A collection of optional objects providing high\ncapacity data delivery sample data collected on a PVC\nwhich implements Service Level Definitions.\n\nIf this group is implemented, frsldPvcHCOctetDataGroup\n\n\nMUST also be implemented.") frsldPvcSampleAvailGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 13)).setObjects(*(("FRSLD-MIB", "frsldPvcSmplUnavailables"), ("FRSLD-MIB", "frsldPvcSmplUnavailableTime"), ) ) if mibBuilder.loadTexts: frsldPvcSampleAvailGroup.setDescription("A collection of optional objects providing\navailability sample data collected on a PVC which\nimplements Service Level Definitions.\n\nIf this group is implemented, frsldPvcReqDataGroup\nMUST also be implemented.") frsldPvcSampleGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 14)).setObjects(*(("FRSLD-MIB", "frsldPvcSmplEndTime"), ("FRSLD-MIB", "frsldPvcSmplStartTime"), ) ) if mibBuilder.loadTexts: frsldPvcSampleGeneralGroup.setDescription("A collection of optional objects providing\ngeneral sample data collected on a PVC which\nimplements Service Level Definitions.") frsldCapabilitiesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 95, 3, 1, 15)).setObjects(*(("FRSLD-MIB", "frsldPvcCtrlWriteCaps"), ("FRSLD-MIB", "frsldNumSmplCtrls"), ("FRSLD-MIB", "frsldRPCaps"), ("FRSLD-MIB", "frsldMaxSmplCtrls"), ("FRSLD-MIB", "frsldMaxPvcCtrls"), ("FRSLD-MIB", "frsldSmplCtrlWriteCaps"), ("FRSLD-MIB", "frsldNumPvcCtrls"), ) ) if mibBuilder.loadTexts: frsldCapabilitiesGroup.setDescription("A collection of required objects providing\ncapability information and control for this\nMIB module.") # Compliances frsldCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 95, 3, 2, 1)).setObjects(*(("FRSLD-MIB", "frsldPvcSampleDelayGroup"), ("FRSLD-MIB", "frsldPvcSampleAvailGroup"), ("FRSLD-MIB", "frsldPvcSampleCtrlGroup"), ("FRSLD-MIB", "frsldPvcHCOctetDataGroup"), ("FRSLD-MIB", "frsldPvcSampleHCFrameGroup"), ("FRSLD-MIB", "frsldCapabilitiesGroup"), ("FRSLD-MIB", "frsldPvcSampleHCDataGroup"), ("FRSLD-MIB", "frsldPvcReqCtrlGroup"), ("FRSLD-MIB", "frsldPvcDelayDataGroup"), ("FRSLD-MIB", "frsldPvcPacketGroup"), ("FRSLD-MIB", "frsldPvcDelayCtrlGroup"), ("FRSLD-MIB", "frsldPvcReqDataGroup"), ("FRSLD-MIB", "frsldPvcSampleDataGroup"), ("FRSLD-MIB", "frsldPvcSampleGeneralGroup"), ("FRSLD-MIB", "frsldPvcHCFrameDataGroup"), ) ) if mibBuilder.loadTexts: frsldCompliance.setDescription("The compliance statement for SNMP entities\nwhich support with Frame Relay Service Level\nDefinitions. This group defines the minimum\nlevel of support required for compliance.") # Exports # Module identity mibBuilder.exportSymbols("FRSLD-MIB", PYSNMP_MODULE_ID=frsldMIB) # Types mibBuilder.exportSymbols("FRSLD-MIB", FrsldRxRP=FrsldRxRP, FrsldTxRP=FrsldTxRP) # Objects mibBuilder.exportSymbols("FRSLD-MIB", frsldMIB=frsldMIB, frsldObjects=frsldObjects, frsldPvcCtrlTable=frsldPvcCtrlTable, frsldPvcCtrlEntry=frsldPvcCtrlEntry, frsldPvcCtrlDlci=frsldPvcCtrlDlci, frsldPvcCtrlTransmitRP=frsldPvcCtrlTransmitRP, frsldPvcCtrlReceiveRP=frsldPvcCtrlReceiveRP, frsldPvcCtrlStatus=frsldPvcCtrlStatus, frsldPvcCtrlPacketFreq=frsldPvcCtrlPacketFreq, frsldPvcCtrlDelayFrSize=frsldPvcCtrlDelayFrSize, frsldPvcCtrlDelayType=frsldPvcCtrlDelayType, frsldPvcCtrlDelayTimeOut=frsldPvcCtrlDelayTimeOut, frsldPvcCtrlPurge=frsldPvcCtrlPurge, frsldPvcCtrlDeleteOnPurge=frsldPvcCtrlDeleteOnPurge, frsldPvcCtrlLastPurgeTime=frsldPvcCtrlLastPurgeTime, frsldSmplCtrlTable=frsldSmplCtrlTable, frsldSmplCtrlEntry=frsldSmplCtrlEntry, frsldSmplCtrlIdx=frsldSmplCtrlIdx, frsldSmplCtrlStatus=frsldSmplCtrlStatus, frsldSmplCtrlColPeriod=frsldSmplCtrlColPeriod, frsldSmplCtrlBuckets=frsldSmplCtrlBuckets, frsldSmplCtrlBucketsGranted=frsldSmplCtrlBucketsGranted, frsldPvcDataTable=frsldPvcDataTable, frsldPvcDataEntry=frsldPvcDataEntry, frsldPvcDataMissedPolls=frsldPvcDataMissedPolls, frsldPvcDataFrDeliveredC=frsldPvcDataFrDeliveredC, frsldPvcDataFrDeliveredE=frsldPvcDataFrDeliveredE, frsldPvcDataFrOfferedC=frsldPvcDataFrOfferedC, frsldPvcDataFrOfferedE=frsldPvcDataFrOfferedE, frsldPvcDataDataDeliveredC=frsldPvcDataDataDeliveredC, frsldPvcDataDataDeliveredE=frsldPvcDataDataDeliveredE, frsldPvcDataDataOfferedC=frsldPvcDataDataOfferedC, frsldPvcDataDataOfferedE=frsldPvcDataDataOfferedE, frsldPvcDataHCFrDeliveredC=frsldPvcDataHCFrDeliveredC, frsldPvcDataHCFrDeliveredE=frsldPvcDataHCFrDeliveredE, frsldPvcDataHCFrOfferedC=frsldPvcDataHCFrOfferedC, frsldPvcDataHCFrOfferedE=frsldPvcDataHCFrOfferedE, frsldPvcDataHCDataDeliveredC=frsldPvcDataHCDataDeliveredC, frsldPvcDataHCDataDeliveredE=frsldPvcDataHCDataDeliveredE, frsldPvcDataHCDataOfferedC=frsldPvcDataHCDataOfferedC, frsldPvcDataHCDataOfferedE=frsldPvcDataHCDataOfferedE, frsldPvcDataUnavailableTime=frsldPvcDataUnavailableTime, frsldPvcDataUnavailables=frsldPvcDataUnavailables, frsldPvcSampleTable=frsldPvcSampleTable, frsldPvcSampleEntry=frsldPvcSampleEntry, frsldPvcSmplIdx=frsldPvcSmplIdx, frsldPvcSmplDelayMin=frsldPvcSmplDelayMin, frsldPvcSmplDelayMax=frsldPvcSmplDelayMax, frsldPvcSmplDelayAvg=frsldPvcSmplDelayAvg, frsldPvcSmplMissedPolls=frsldPvcSmplMissedPolls, frsldPvcSmplFrDeliveredC=frsldPvcSmplFrDeliveredC, frsldPvcSmplFrDeliveredE=frsldPvcSmplFrDeliveredE, frsldPvcSmplFrOfferedC=frsldPvcSmplFrOfferedC, frsldPvcSmplFrOfferedE=frsldPvcSmplFrOfferedE, frsldPvcSmplDataDeliveredC=frsldPvcSmplDataDeliveredC, frsldPvcSmplDataDeliveredE=frsldPvcSmplDataDeliveredE, frsldPvcSmplDataOfferedC=frsldPvcSmplDataOfferedC, frsldPvcSmplDataOfferedE=frsldPvcSmplDataOfferedE, frsldPvcSmplHCFrDeliveredC=frsldPvcSmplHCFrDeliveredC, frsldPvcSmplHCFrDeliveredE=frsldPvcSmplHCFrDeliveredE, frsldPvcSmplHCFrOfferedC=frsldPvcSmplHCFrOfferedC, frsldPvcSmplHCFrOfferedE=frsldPvcSmplHCFrOfferedE, frsldPvcSmplHCDataDeliveredC=frsldPvcSmplHCDataDeliveredC, frsldPvcSmplHCDataDeliveredE=frsldPvcSmplHCDataDeliveredE, frsldPvcSmplHCDataOfferedC=frsldPvcSmplHCDataOfferedC, frsldPvcSmplHCDataOfferedE=frsldPvcSmplHCDataOfferedE, frsldPvcSmplUnavailableTime=frsldPvcSmplUnavailableTime, frsldPvcSmplUnavailables=frsldPvcSmplUnavailables, frsldPvcSmplStartTime=frsldPvcSmplStartTime, frsldPvcSmplEndTime=frsldPvcSmplEndTime, frsldCapabilities=frsldCapabilities, frsldPvcCtrlWriteCaps=frsldPvcCtrlWriteCaps, frsldSmplCtrlWriteCaps=frsldSmplCtrlWriteCaps, frsldRPCaps=frsldRPCaps, frsldMaxPvcCtrls=frsldMaxPvcCtrls, frsldNumPvcCtrls=frsldNumPvcCtrls, frsldMaxSmplCtrls=frsldMaxSmplCtrls, frsldNumSmplCtrls=frsldNumSmplCtrls, frsldConformance=frsldConformance, frsldMIBGroups=frsldMIBGroups, frsldMIBCompliances=frsldMIBCompliances) # Groups mibBuilder.exportSymbols("FRSLD-MIB", frsldPvcReqCtrlGroup=frsldPvcReqCtrlGroup, frsldPvcPacketGroup=frsldPvcPacketGroup, frsldPvcDelayCtrlGroup=frsldPvcDelayCtrlGroup, frsldPvcSampleCtrlGroup=frsldPvcSampleCtrlGroup, frsldPvcReqDataGroup=frsldPvcReqDataGroup, frsldPvcDelayDataGroup=frsldPvcDelayDataGroup, frsldPvcHCFrameDataGroup=frsldPvcHCFrameDataGroup, frsldPvcHCOctetDataGroup=frsldPvcHCOctetDataGroup, frsldPvcSampleDelayGroup=frsldPvcSampleDelayGroup, frsldPvcSampleDataGroup=frsldPvcSampleDataGroup, frsldPvcSampleHCFrameGroup=frsldPvcSampleHCFrameGroup, frsldPvcSampleHCDataGroup=frsldPvcSampleHCDataGroup, frsldPvcSampleAvailGroup=frsldPvcSampleAvailGroup, frsldPvcSampleGeneralGroup=frsldPvcSampleGeneralGroup, frsldCapabilitiesGroup=frsldCapabilitiesGroup) # Compliances mibBuilder.exportSymbols("FRSLD-MIB", frsldCompliance=frsldCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/AGENTX-MIB.py0000644000014400001440000004512611736645134020431 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python AGENTX-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:39 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "mib-2") ( TDomain, TextualConvention, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "TDomain", "TextualConvention", "TimeStamp", "TruthValue") # Types class AgentxTAddress(OctetString): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) # Objects agentxMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 74)).setRevisions(("2000-01-10 00:00",)) if mibBuilder.loadTexts: agentxMIB.setOrganization("AgentX Working Group") if mibBuilder.loadTexts: agentxMIB.setContactInfo("WG-email: agentx@dorothy.bmc.com\nSubscribe: agentx-request@dorothy.bmc.com\nWG-email Archive: ftp://ftp.peer.com/pub/agentx/archives\nFTP repository: ftp://ftp.peer.com/pub/agentx\nhttp://www.ietf.org/html.charters/agentx-charter.html\n\nChair: Bob Natale\n ACE*COMM Corporation\nEmail: bnatale@acecomm.com\n\nWG editor: Mark Ellison\n Ellison Software Consulting, Inc.\nEmail: ellison@world.std.com\n\nCo-author: Lauren Heintz\n Cisco Systems,\nEMail: lheintz@cisco.com\n\nCo-author: Smitha Gudur\n Independent Consultant\nEmail: sgudur@hotmail.com") if mibBuilder.loadTexts: agentxMIB.setDescription("This is the MIB module for the SNMP Agent Extensibility\nProtocol (AgentX). This MIB module will be implemented by\nthe master agent.") agentxObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 1)) agentxGeneral = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 1, 1)) agentxDefaultTimeout = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(5)).setMaxAccess("readonly").setUnits("seconds") if mibBuilder.loadTexts: agentxDefaultTimeout.setDescription("The default length of time, in seconds, that the master\nagent should allow to elapse after dispatching a message\nto a session before it regards the subagent as not\nresponding. This is a system-wide value that may\noverride the timeout value associated with a particular\nsession (agentxSessionTimeout) or a particular registered\nMIB region (agentxRegTimeout). If the associated value of\nagentxSessionTimeout and agentxRegTimeout are zero, or\nimpractical in accordance with implementation-specific\nprocedure of the master agent, the value represented by\nthis object will be the effective timeout value for the\n\n\nmaster agent to await a response to a dispatch from a\ngiven subagent.") agentxMasterAgentXVer = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxMasterAgentXVer.setDescription("The AgentX protocol version supported by this master agent.\nThe current protocol version is 1. Note that the master agent\nmust also allow interaction with earlier version subagents.") agentxConnection = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 1, 2)) agentxConnTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 2, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxConnTableLastChange.setDescription("The value of sysUpTime when the last row creation or deletion\noccurred in the agentxConnectionTable.") agentxConnectionTable = MibTable((1, 3, 6, 1, 2, 1, 74, 1, 2, 2)) if mibBuilder.loadTexts: agentxConnectionTable.setDescription("The agentxConnectionTable tracks all current AgentX transport\nconnections. There may be zero, one, or more AgentX sessions\ncarried on a given AgentX connection.") agentxConnectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1)).setIndexNames((0, "AGENTX-MIB", "agentxConnIndex")) if mibBuilder.loadTexts: agentxConnectionEntry.setDescription("An agentxConnectionEntry contains information describing a\nsingle AgentX transport connection. A connection may be\n\n\nused to support zero or more AgentX sessions. An entry is\ncreated when a new transport connection is established,\nand is destroyed when the transport connection is terminated.") agentxConnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: agentxConnIndex.setDescription("agentxConnIndex contains the value that uniquely identifies\nan open transport connection used by this master agent\nto provide AgentX service. Values of this index should\nnot be re-used. The value assigned to a given transport\nconnection is constant for the lifetime of that connection.") agentxConnOpenTime = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxConnOpenTime.setDescription("The value of sysUpTime when this connection was established\nand, therefore, its value when this entry was added to the table.") agentxConnTransportDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 3), TDomain()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxConnTransportDomain.setDescription("The transport protocol in use for this connection to the\nsubagent.") agentxConnTransportAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 4), AgentxTAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxConnTransportAddress.setDescription("The transport address of the remote (subagent) end of this\nconnection to the master agent. This object may be zero-length\nfor unix-domain sockets (and possibly other types of transport\naddresses) since the subagent need not bind a filename to its\nlocal socket.") agentxSession = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 1, 3)) agentxSessionTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 3, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionTableLastChange.setDescription("The value of sysUpTime when the last row creation or deletion\noccurred in the agentxSessionTable.") agentxSessionTable = MibTable((1, 3, 6, 1, 2, 1, 74, 1, 3, 2)) if mibBuilder.loadTexts: agentxSessionTable.setDescription("A table of AgentX subagent sessions currently in effect.") agentxSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1)).setIndexNames((0, "AGENTX-MIB", "agentxConnIndex"), (0, "AGENTX-MIB", "agentxSessionIndex")) if mibBuilder.loadTexts: agentxSessionEntry.setDescription("Information about a single open session between the AgentX\nmaster agent and a subagent is contained in this entry. An\nentry is created when a new session is successfully established\nand is destroyed either when the subagent transport connection\nhas terminated or when the subagent session is closed.") agentxSessionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: agentxSessionIndex.setDescription("A unique index for the subagent session. It is the same as\nh.sessionID defined in the agentx header. Note that if\na subagent's session with the master agent is closed for\nany reason its index should not be re-used.\nA value of zero(0) is specifically allowed in order\nto be compatible with the definition of h.sessionId.") agentxSessionObjectID = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionObjectID.setDescription("This is taken from the o.id field of the agentx-Open-PDU.\nThis attribute will report a value of '0.0' for subagents\nnot supporting the notion of an AgentX session object\nidentifier.") agentxSessionDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionDescr.setDescription("A textual description of the session. This is analogous to\nsysDescr defined in the SNMPv2-MIB in RFC 1907 [19] and is\ntaken from the o.descr field of the agentx-Open-PDU.\nThis attribute will report a zero-length string value for\nsubagents not supporting the notion of a session description.") agentxSessionAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("up", 1), ("down", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentxSessionAdminStatus.setDescription("The administrative (desired) status of the session. Setting\nthe value to 'down(2)' closes the subagent session (with c.reason\nset to 'reasonByManager').") agentxSessionOpenTime = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionOpenTime.setDescription("The value of sysUpTime when this session was opened and,\ntherefore, its value when this entry was added to the table.") agentxSessionAgentXVer = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionAgentXVer.setDescription("The version of the AgentX protocol supported by the\nsession. This must be less than or equal to the value of\nagentxMasterAgentXVer.") agentxSessionTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionTimeout.setDescription("The length of time, in seconds, that a master agent should\nallow to elapse after dispatching a message to this session\nbefore it regards the subagent as not responding. This value\nis taken from the o.timeout field of the agentx-Open-PDU.\nThis is a session-specific value that may be overridden by\nvalues associated with the specific registered MIB regions\n(see agentxRegTimeout). A value of zero(0) indicates that\nthe master agent's default timeout value should be used\n\n\n(see agentxDefaultTimeout).") agentxRegistration = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 1, 4)) agentxRegistrationTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 4, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegistrationTableLastChange.setDescription("The value of sysUpTime when the last row creation or deletion\noccurred in the agentxRegistrationTable.") agentxRegistrationTable = MibTable((1, 3, 6, 1, 2, 1, 74, 1, 4, 2)) if mibBuilder.loadTexts: agentxRegistrationTable.setDescription("A table of registered regions.") agentxRegistrationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1)).setIndexNames((0, "AGENTX-MIB", "agentxConnIndex"), (0, "AGENTX-MIB", "agentxSessionIndex"), (0, "AGENTX-MIB", "agentxRegIndex")) if mibBuilder.loadTexts: agentxRegistrationEntry.setDescription("Contains information for a single registered region. An\nentry is created when a session successfully registers a\nregion and is destroyed for any of three reasons: this region\nis unregistered by the session, the session is closed,\nor the subagent connection is closed.") agentxRegIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("noaccess") if mibBuilder.loadTexts: agentxRegIndex.setDescription("agentxRegIndex uniquely identifies a registration entry.\nThis value is constant for the lifetime of an entry.") agentxRegContext = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegContext.setDescription("The context in which the session supports the objects in this\nregion. A zero-length context indicates the default context.") agentxRegStart = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegStart.setDescription("The starting OBJECT IDENTIFIER of this registration entry. The\nsession identified by agentxSessionIndex implements objects\nstarting at this value (inclusive). Note that this value could\nidentify an object type, an object instance, or a partial object\ninstance.") agentxRegRangeSubId = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegRangeSubId.setDescription("agentxRegRangeSubId is used to specify the range. This is\ntaken from r.region_subid in the registration PDU. If the value\nof this object is zero, no range is specified. If it is non-zero,\nit identifies the `nth' sub-identifier in r.region for which\nthis entry's agentxRegUpperBound value is substituted in the\nOID for purposes of defining the region's upper bound.") agentxRegUpperBound = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegUpperBound.setDescription("agentxRegUpperBound represents the upper-bound sub-identifier in\na registration. This is taken from the r.upper_bound in the\nregistration PDU. If agentxRegRangeSubid (r.region_subid) is\nzero, this value is also zero and is not used to define an upper\nbound for this registration.") agentxRegPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegPriority.setDescription("The registration priority. Lower values have higher priority.\nThis value is taken from r.priority in the register PDU.\nSessions should use the value of 127 for r.priority if a\ndefault value is desired.") agentxRegTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegTimeout.setDescription("The timeout value, in seconds, for responses to\nrequests associated with this registered MIB region.\nA value of zero(0) indicates the default value (indicated\nby by agentxSessionTimeout or agentxDefaultTimeout) is to\nbe used. This value is taken from the r.timeout field of\nthe agentx-Register-PDU.") agentxRegInstance = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 4, 2, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegInstance.setDescription("The value of agentxRegInstance is `true' for\nregistrations for which the INSTANCE_REGISTRATION\nwas set, and is `false' for all other registrations.") agentxConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 2)) agentxMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 2, 1)) agentxMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 2, 2)) # Augmentions # Groups agentxMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 74, 2, 1, 1)).setObjects(*(("AGENTX-MIB", "agentxSessionDescr"), ("AGENTX-MIB", "agentxSessionAdminStatus"), ("AGENTX-MIB", "agentxConnTransportDomain"), ("AGENTX-MIB", "agentxRegPriority"), ("AGENTX-MIB", "agentxSessionTableLastChange"), ("AGENTX-MIB", "agentxSessionAgentXVer"), ("AGENTX-MIB", "agentxConnTableLastChange"), ("AGENTX-MIB", "agentxDefaultTimeout"), ("AGENTX-MIB", "agentxConnOpenTime"), ("AGENTX-MIB", "agentxSessionTimeout"), ("AGENTX-MIB", "agentxMasterAgentXVer"), ("AGENTX-MIB", "agentxSessionObjectID"), ("AGENTX-MIB", "agentxRegRangeSubId"), ("AGENTX-MIB", "agentxRegStart"), ("AGENTX-MIB", "agentxRegUpperBound"), ("AGENTX-MIB", "agentxRegContext"), ("AGENTX-MIB", "agentxRegistrationTableLastChange"), ("AGENTX-MIB", "agentxConnTransportAddress"), ("AGENTX-MIB", "agentxRegInstance"), ("AGENTX-MIB", "agentxRegTimeout"), ("AGENTX-MIB", "agentxSessionOpenTime"), ) ) if mibBuilder.loadTexts: agentxMIBGroup.setDescription("All accessible objects in the AgentX MIB.") # Compliances agentxMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 74, 2, 2, 1)).setObjects(*(("AGENTX-MIB", "agentxMIBGroup"), ) ) if mibBuilder.loadTexts: agentxMIBCompliance.setDescription("The compliance statement for SNMP entities that implement the\nAgentX protocol. Note that a compliant agent can implement all\nobjects in this MIB module as read-only.") # Exports # Module identity mibBuilder.exportSymbols("AGENTX-MIB", PYSNMP_MODULE_ID=agentxMIB) # Types mibBuilder.exportSymbols("AGENTX-MIB", AgentxTAddress=AgentxTAddress) # Objects mibBuilder.exportSymbols("AGENTX-MIB", agentxMIB=agentxMIB, agentxObjects=agentxObjects, agentxGeneral=agentxGeneral, agentxDefaultTimeout=agentxDefaultTimeout, agentxMasterAgentXVer=agentxMasterAgentXVer, agentxConnection=agentxConnection, agentxConnTableLastChange=agentxConnTableLastChange, agentxConnectionTable=agentxConnectionTable, agentxConnectionEntry=agentxConnectionEntry, agentxConnIndex=agentxConnIndex, agentxConnOpenTime=agentxConnOpenTime, agentxConnTransportDomain=agentxConnTransportDomain, agentxConnTransportAddress=agentxConnTransportAddress, agentxSession=agentxSession, agentxSessionTableLastChange=agentxSessionTableLastChange, agentxSessionTable=agentxSessionTable, agentxSessionEntry=agentxSessionEntry, agentxSessionIndex=agentxSessionIndex, agentxSessionObjectID=agentxSessionObjectID, agentxSessionDescr=agentxSessionDescr, agentxSessionAdminStatus=agentxSessionAdminStatus, agentxSessionOpenTime=agentxSessionOpenTime, agentxSessionAgentXVer=agentxSessionAgentXVer, agentxSessionTimeout=agentxSessionTimeout, agentxRegistration=agentxRegistration, agentxRegistrationTableLastChange=agentxRegistrationTableLastChange, agentxRegistrationTable=agentxRegistrationTable, agentxRegistrationEntry=agentxRegistrationEntry, agentxRegIndex=agentxRegIndex, agentxRegContext=agentxRegContext, agentxRegStart=agentxRegStart, agentxRegRangeSubId=agentxRegRangeSubId, agentxRegUpperBound=agentxRegUpperBound, agentxRegPriority=agentxRegPriority, agentxRegTimeout=agentxRegTimeout, agentxRegInstance=agentxRegInstance, agentxConformance=agentxConformance, agentxMIBGroups=agentxMIBGroups, agentxMIBCompliances=agentxMIBCompliances) # Groups mibBuilder.exportSymbols("AGENTX-MIB", agentxMIBGroup=agentxMIBGroup) # Compliances mibBuilder.exportSymbols("AGENTX-MIB", agentxMIBCompliance=agentxMIBCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/ATM-MIB.py0000644000014400001440000022731311736645135020065 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python ATM-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:43 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( AtmAddr, AtmConnCastType, AtmConnKind, AtmServiceCategory, AtmTrafficDescrParamIndex, AtmVcIdentifier, AtmVorXAdminStatus, AtmVorXLastChange, AtmVorXOperStatus, AtmVpIdentifier, atmNoClpNoScr, ) = mibBuilder.importSymbols("ATM-TC-MIB", "AtmAddr", "AtmConnCastType", "AtmConnKind", "AtmServiceCategory", "AtmTrafficDescrParamIndex", "AtmVcIdentifier", "AtmVorXAdminStatus", "AtmVorXLastChange", "AtmVorXOperStatus", "AtmVpIdentifier", "atmNoClpNoScr") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, IpAddress, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "IpAddress", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( DisplayString, RowStatus, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TruthValue") # Objects atmMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 37)).setRevisions(("1998-10-19 12:00","1994-06-07 22:45",)) if mibBuilder.loadTexts: atmMIB.setOrganization("IETF AToM MIB Working Group") if mibBuilder.loadTexts: atmMIB.setContactInfo(" Kaj Tesink\nPostal: Bellcore\n 331 Newman Springs Road\n Red Bank, NJ 07701\nTel: 732-758-5254\nFax: 732-758-2269\nE-mail: kaj@bellcore.com") if mibBuilder.loadTexts: atmMIB.setDescription("This is the MIB Module for ATM and AAL5-related\nobjects for managing ATM interfaces, ATM virtual\nlinks, ATM cross-connects, AAL5 entities, and\nand AAL5 connections.") atmMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 1)) atmInterfaceConfTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 2)) if mibBuilder.loadTexts: atmInterfaceConfTable.setDescription("This table contains ATM local interface\nconfiguration parameters, one entry per ATM\ninterface port.") atmInterfaceConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: atmInterfaceConfEntry.setDescription("This list contains ATM interface configuration\nparameters and state variables and is indexed\nby ifIndex values of ATM interfaces.") atmInterfaceMaxVpcs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceMaxVpcs.setDescription("The maximum number of VPCs (PVPCs and SVPCs)\nsupported at this ATM interface. At the ATM UNI,\nthe maximum number of VPCs (PVPCs and SVPCs)\nranges from 0 to 256 only.") atmInterfaceMaxVccs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceMaxVccs.setDescription("The maximum number of VCCs (PVCCs and SVCCs)\nsupported at this ATM interface.") atmInterfaceConfVpcs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4096))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceConfVpcs.setDescription("The number of VPCs (PVPC, Soft PVPC and SVPC)\ncurrently in use at this ATM interface. It includes\nthe number of PVPCs and Soft PVPCs that are configured\nat the interface, plus the number of SVPCs\nthat are currently established at the\ninterface.\n\nAt the ATM UNI, the configured number of\nVPCs (PVPCs and SVPCs) can range from\n0 to 256 only.") atmInterfaceConfVccs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceConfVccs.setDescription("The number of VCCs (PVCC, Soft PVCC and SVCC)\ncurrently in use at this ATM interface. It includes\nthe number of PVCCs and Soft PVCCs that are configured\nat the interface, plus the number of SVCCs\nthat are currently established at the\ninterface.") atmInterfaceMaxActiveVpiBits = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 12))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceMaxActiveVpiBits.setDescription("The maximum number of active VPI bits\nconfigured for use at the ATM interface.\nAt the ATM UNI, the maximum number of active\nVPI bits configured for use ranges from\n0 to 8 only.") atmInterfaceMaxActiveVciBits = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceMaxActiveVciBits.setDescription("The maximum number of active VCI bits\nconfigured for use at this ATM interface.") atmInterfaceIlmiVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 7), AtmVpIdentifier().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceIlmiVpi.setDescription("The VPI value of the VCC supporting\nthe ILMI at this ATM interface. If the values of\natmInterfaceIlmiVpi and atmInterfaceIlmiVci are\nboth equal to zero then the ILMI is not\nsupported at this ATM interface.") atmInterfaceIlmiVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 8), AtmVcIdentifier().clone('16')).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceIlmiVci.setDescription("The VCI value of the VCC supporting\nthe ILMI at this ATM interface. If the values of\natmInterfaceIlmiVpi and atmInterfaceIlmiVci are\nboth equal to zero then the ILMI is not\nsupported at this ATM interface.") atmInterfaceAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,4,1,)).subtype(namedValues=NamedValues(("private", 1), ("nsapE164", 2), ("nativeE164", 3), ("other", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceAddressType.setDescription("The type of primary ATM address configured\nfor use at this ATM interface.") atmInterfaceAdminAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 10), AtmAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceAdminAddress.setDescription("The primary address assigned for administrative purposes,\nfor example, an address associated with the\nservice provider side of a public network UNI\n(thus, the value of this address corresponds\nwith the value of ifPhysAddress at the host side).\nIf this interface has no assigned administrative\naddress, or when the address used for\nadministrative purposes is the same as that used\nfor ifPhysAddress, then this is an octet string of\nzero length.") atmInterfaceMyNeighborIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceMyNeighborIpAddress.setDescription("The IP address of the neighbor system connected to\nthe far end of this interface, to which a Network\nManagement Station can send SNMP messages, as IP\ndatagrams sent to UDP port 161, in order to access\nnetwork management information concerning the\noperation of that system. Note that the value\nof this object may be obtained in different ways,\ne.g., by manual configuration, or through ILMI\ninteraction with the neighbor system.") atmInterfaceMyNeighborIfName = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 12), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceMyNeighborIfName.setDescription("The textual name of the interface on the neighbor\nsystem on the far end of this interface, and to\nwhich this interface connects. If the neighbor\nsystem is manageable through SNMP and supports\nthe object ifName, the value of this object must\nbe identical with that of ifName for the ifEntry\nof the lowest level physical interface\nfor this port. If this interface does not have a\ntextual name, the value of this object is a zero\nlength string. Note that the value of this object\nmay be obtained in different ways, e.g., by manual\nconfiguration, or through ILMI interaction with\nthe neighbor system.") atmInterfaceCurrentMaxVpiBits = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 12))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceCurrentMaxVpiBits.setDescription("The maximum number of VPI Bits that may\ncurrently be used at this ATM interface.\nThe value is the minimum of\natmInterfaceMaxActiveVpiBits, and the\natmInterfaceMaxActiveVpiBits of the interface's\nUNI/NNI peer.\n\nIf the interface does not negotiate with\nits peer to determine the number of VPI Bits\nthat can be used on the interface, then the\nvalue of this object must equal\natmInterfaceMaxActiveVpiBits.") atmInterfaceCurrentMaxVciBits = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceCurrentMaxVciBits.setDescription("The maximum number of VCI Bits that may\ncurrently be used at this ATM interface.\nThe value is the minimum of\natmInterfaceMaxActiveVciBits, and the\natmInterfaceMaxActiveVciBits of the interface's\nUNI/NNI peer.\n\nIf the interface does not negotiate with\nits peer to determine the number of VCI Bits\nthat can be used on the interface, then the\nvalue of this object must equal\natmInterfaceMaxActiveVciBits.") atmInterfaceSubscrAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 2, 1, 15), AtmAddr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atmInterfaceSubscrAddress.setDescription("The identifier assigned by a service provider\nto the network side of a public network UNI.\nIf this interface has no assigned service provider\naddress, or for other interfaces this is an octet string\nof zero length.") atmInterfaceDs3PlcpTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 3)) if mibBuilder.loadTexts: atmInterfaceDs3PlcpTable.setDescription("This table contains ATM interface DS3 PLCP\nparameters and state variables, one entry per\nATM interface port.") atmInterfaceDs3PlcpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: atmInterfaceDs3PlcpEntry.setDescription("This list contains DS3 PLCP parameters and\nstate variables at the ATM interface and is\nindexed by the ifIndex value of the ATM interface.") atmInterfaceDs3PlcpSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceDs3PlcpSEFSs.setDescription("The number of DS3 PLCP Severely Errored Framing\nSeconds (SEFS). Each SEFS represents a\none-second interval which contains\none or more SEF events.") atmInterfaceDs3PlcpAlarmState = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 3, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,)).subtype(namedValues=NamedValues(("noAlarm", 1), ("receivedFarEndAlarm", 2), ("incomingLOF", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceDs3PlcpAlarmState.setDescription("This variable indicates if there is an\nalarm present for the DS3 PLCP. The value\nreceivedFarEndAlarm means that the DS3 PLCP\nhas received an incoming Yellow\nSignal, the value incomingLOF means that\nthe DS3 PLCP has declared a loss of frame (LOF)\nfailure condition, and the value noAlarm\nmeans that there are no alarms present.\nTransition from the failure to the no alarm state\noccurs when no defects (e.g., LOF) are received\nfor more than 10 seconds.") atmInterfaceDs3PlcpUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceDs3PlcpUASs.setDescription("The counter associated with the number of\nUnavailable Seconds encountered by the PLCP.") atmInterfaceTCTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 4)) if mibBuilder.loadTexts: atmInterfaceTCTable.setDescription("This table contains ATM interface TC\nSublayer parameters and state variables,\none entry per ATM interface port.") atmInterfaceTCEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: atmInterfaceTCEntry.setDescription("This list contains TC Sublayer parameters\nand state variables at the ATM interface and is\nindexed by the ifIndex value of the ATM interface.") atmInterfaceOCDEvents = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 4, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceOCDEvents.setDescription("The number of times the Out of Cell\nDelineation (OCD) events occur. If seven\nconsecutive ATM cells have Header Error\nControl (HEC) violations, an OCD event occurs.\nA high number of OCD events may indicate a\nproblem with the TC Sublayer.") atmInterfaceTCAlarmState = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 4, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("noAlarm", 1), ("lcdFailure", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmInterfaceTCAlarmState.setDescription("This variable indicates if there is an\nalarm present for the TC Sublayer. The value\nlcdFailure(2) indicates that the TC Sublayer\nis currently in the Loss of Cell Delineation\n(LCD) defect maintenance state. The value\nnoAlarm(1) indicates that the TC Sublayer\nis currently not in the LCD defect\nmaintenance state.") atmTrafficDescrParamTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 5)) if mibBuilder.loadTexts: atmTrafficDescrParamTable.setDescription("This table contains information on ATM traffic\ndescriptor type and the associated parameters.") atmTrafficDescrParamEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 5, 1)).setIndexNames((0, "ATM-MIB", "atmTrafficDescrParamIndex")) if mibBuilder.loadTexts: atmTrafficDescrParamEntry.setDescription("This list contains ATM traffic descriptor\ntype and the associated parameters.") atmTrafficDescrParamIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 1), AtmTrafficDescrParamIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmTrafficDescrParamIndex.setDescription("This object is used by the virtual link\ntable (i.e., VPL or VCL table)\nto identify the row of this table.\nWhen creating a new row in the table\nthe value of this index may be obtained\nby retrieving the value of\natmTrafficDescrParamIndexNext.") atmTrafficDescrType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 2), ObjectIdentifier().clone((1, 3, 6, 1, 2, 1, 37, 1, 1, 2))).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficDescrType.setDescription("The value of this object identifies the type\nof ATM traffic descriptor.\nThe type may indicate no traffic descriptor or\ntraffic descriptor with one or more parameters.\nThese parameters are specified as a parameter\nvector, in the corresponding instances of the\nobjects:\n atmTrafficDescrParam1\n atmTrafficDescrParam2\n atmTrafficDescrParam3\n atmTrafficDescrParam4\n atmTrafficDescrParam5.") atmTrafficDescrParam1 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 3), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficDescrParam1.setDescription("The first parameter of the ATM traffic descriptor\nused according to the value of\natmTrafficDescrType.") atmTrafficDescrParam2 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 4), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficDescrParam2.setDescription("The second parameter of the ATM traffic descriptor\nused according to the value of\natmTrafficDescrType.") atmTrafficDescrParam3 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 5), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficDescrParam3.setDescription("The third parameter of the ATM traffic descriptor\nused according to the value of\natmTrafficDescrType.") atmTrafficDescrParam4 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 6), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficDescrParam4.setDescription("The fourth parameter of the ATM traffic descriptor\nused according to the value of\natmTrafficDescrType.") atmTrafficDescrParam5 = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 7), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficDescrParam5.setDescription("The fifth parameter of the ATM traffic descriptor\nused according to the value of\natmTrafficDescrType.") atmTrafficQoSClass = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficQoSClass.setDescription("The value of this object identifies the QoS Class.\nFour Service classes have been\nspecified in the ATM Forum UNI Specification:\nService Class A: Constant bit rate video and\n Circuit emulation\nService Class B: Variable bit rate video/audio\nService Class C: Connection-oriented data\nService Class D: Connectionless data\nFour QoS classes numbered 1, 2, 3, and 4 have\nbeen specified with the aim to support service\nclasses A, B, C, and D respectively.\nAn unspecified QoS Class numbered `0' is used\nfor best effort traffic.") atmTrafficDescrRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 9), RowStatus().clone('active')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficDescrRowStatus.setDescription("This object is used to create\na new row or modify or delete an\nexisting row in this table.") atmServiceCategory = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 10), AtmServiceCategory().clone('ubr')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmServiceCategory.setDescription("The ATM service category.") atmTrafficFrameDiscard = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 5, 1, 11), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmTrafficFrameDiscard.setDescription("If set to 'true', this object indicates that the network\nis requested to treat data for this connection, in the\ngiven direction, as frames (e.g. AAL5 CPCS_PDU's) rather\nthan as individual cells. While the precise\nimplementation is network-specific, this treatment may\nfor example involve discarding entire frames during\ncongestion, rather than a few cells from many frames.") atmVplTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 6)) if mibBuilder.loadTexts: atmVplTable.setDescription("The Virtual Path Link (VPL) table. A\nbi-directional VPL is modeled as one entry\nin this table. This table can be used for\nPVCs, SVCs and Soft PVCs.\nEntries are not present in this table for\nthe VPIs used by entries in the atmVclTable.") atmVplEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVplVpi")) if mibBuilder.loadTexts: atmVplEntry.setDescription("An entry in the VPL table. This entry is\nused to model a bi-directional VPL.\nTo create a VPL at an ATM interface,\neither of the following procedures are used:\n\nNegotiated VPL establishment\n\n(1) The management application creates\n a VPL entry in the atmVplTable\n by setting atmVplRowStatus to createAndWait(5).\n This may fail for the following reasons:\n - The selected VPI value is unavailable,\n - The selected VPI value is in use.\n Otherwise, the agent creates a row and\n reserves the VPI value on that port.\n\n(2) The manager selects an existing row(s) in the\n atmTrafficDescrParamTable,\n thereby, selecting a set of self-consistent\n ATM traffic parameters and the service category\n for receive and transmit directions of the VPL.\n\n(2a) If no suitable row(s) in the\n atmTrafficDescrParamTable exists,\n the manager must create a new row(s)\n in that table.\n\n(2b) The manager characterizes the VPL's traffic\n parameters through setting the\n atmVplReceiveTrafficDescrIndex and the\n atmVplTransmitTrafficDescrIndex values\n in the VPL table, which point to the rows\n containing desired ATM traffic parameter values\n in the atmTrafficDescrParamTable. The agent\n will check the availability of resources and\n may refuse the request.\n If the transmit and receive service categories\n are inconsistent, the agent should refuse the\n request.\n\n(3) The manager activates the VPL by setting the\n the atmVplRowStatus to active(1).\n If this set is successful, the agent has\n reserved the resources to satisfy the requested\n traffic parameter values and the service category\n for that VPL.\n\n(4) If the VPL terminates a VPC in the ATM host\n or switch, the manager turns on the\n atmVplAdminStatus to up(1) to turn the VPL\n traffic flow on. Otherwise, the\n atmVpCrossConnectTable must be used\n to cross-connect the VPL to another VPL(s)\n in an ATM switch or network.\n\nOne-Shot VPL Establishment\n\nA VPL may also be established in one step by a\nset-request with all necessary VPL parameter\nvalues and atmVplRowStatus set to createAndGo(4).\n\nIn contrast to the negotiated VPL establishment\nwhich allows for detailed error checking\n(i.e., set errors are explicitly linked to\nparticular resource acquisition failures),\nthe one-shot VPL establishment\nperforms the setup on one operation but\ndoes not have the advantage of step-wise\nerror checking.\n\nVPL Retirement\n\nA VPL is released by setting atmVplRowStatus to\ndestroy(6), and the agent may release all\nassociated resources.") atmVplVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 1), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVplVpi.setDescription("The VPI value of the VPL.") atmVplAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 2), AtmVorXAdminStatus().clone('down')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVplAdminStatus.setDescription("This object is instanciated only for a VPL\nwhich terminates a VPC (i.e., one which is\nNOT cross-connected to other VPLs).\nIts value specifies the desired\nadministrative state of the VPL.") atmVplOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 3), AtmVorXOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplOperStatus.setDescription("The current operational status of the VPL.") atmVplLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 4), AtmVorXLastChange()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplLastChange.setDescription("The value of sysUpTime at the time this\nVPL entered its current operational state.") atmVplReceiveTrafficDescrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 5), AtmTrafficDescrParamIndex().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVplReceiveTrafficDescrIndex.setDescription("The value of this object identifies the row\nin the atmTrafficDescrParamTable which\napplies to the receive direction of the VPL.") atmVplTransmitTrafficDescrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 6), AtmTrafficDescrParamIndex().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVplTransmitTrafficDescrIndex.setDescription("The value of this object identifies the row\nin the atmTrafficDescrParamTable which\napplies to the transmit direction of the VPL.") atmVplCrossConnectIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVplCrossConnectIdentifier.setDescription("This object is instantiated only for a VPL\nwhich is cross-connected to other VPLs\nthat belong to the same VPC. All such\nassociated VPLs have the same value of this\nobject, and all their cross-connections are\nidentified either by entries that are indexed\nby the same value of atmVpCrossConnectIndex in\nthe atmVpCrossConnectTable of this MIB module or by\nthe same value of the cross-connect index in\nthe cross-connect table for SVCs and Soft PVCs\n(defined in a separate MIB module).\nAt no time should entries in these respective\ncross-connect tables exist simultaneously\nwith the same cross-connect index value.\nThe value of this object is initialized by the\nagent after the associated entries in the\natmVpCrossConnectTable have been created.") atmVplRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 8), RowStatus().clone('createAndWait')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVplRowStatus.setDescription("This object is used to create, delete\nor modify a row in this table.\nTo create a new VCL, this object is\ninitially set to 'createAndWait' or\n'createAndGo'. This object should not be\nset to 'active' unless the following columnar\nobjects have been set to their desired value\nin this row:\natmVplReceiveTrafficDescrIndex and\natmVplTransmitTrafficDescrIndex.\nThe DESCRIPTION of atmVplEntry provides\nfurther guidance to row treatment in this table.") atmVplCastType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 9), AtmConnCastType().clone('p2p')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVplCastType.setDescription("The connection topology type.") atmVplConnKind = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 6, 1, 10), AtmConnKind().clone('pvc')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVplConnKind.setDescription("The use of call control.") atmVclTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 7)) if mibBuilder.loadTexts: atmVclTable.setDescription("The Virtual Channel Link (VCL) table. A\nbi-directional VCL is modeled as one entry\nin this table. This table can be used for\nPVCs, SVCs and Soft PVCs.") atmVclEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci")) if mibBuilder.loadTexts: atmVclEntry.setDescription("An entry in the VCL table. This entry is\nused to model a bi-directional VCL.\nTo create a VCL at an ATM interface,\neither of the following procedures are used:\n\nNegotiated VCL establishment\n\n(1) The management application creates\n a VCL entry in the atmVclTable\n by setting atmVclRowStatus to createAndWait(5).\n This may fail for the following reasons:\n - The selected VPI/VCI values are unavailable,\n - The selected VPI/VCI values are in use.\n Otherwise, the agent creates a row and\n reserves the VPI/VCI values on that port.\n\n(2) The manager selects an existing row(s) in the\n atmTrafficDescrParamTable,\n thereby, selecting a set of self-consistent\n ATM traffic parameters and the service category\n for receive and transmit directions of the VCL.\n(2a) If no suitable row(s) in the\n atmTrafficDescrParamTable exists,\n the manager must create a new row(s)\n in that table.\n\n(2b) The manager characterizes the VCL's traffic\n parameters through setting the\n atmVclReceiveTrafficDescrIndex and the\n atmVclTransmitTrafficDescrIndex values\n in the VCL table, which point to the rows\n containing desired ATM traffic parameter values\n in the atmTrafficDescrParamTable. The agent\n will check the availability of resources and\n may refuse the request.\n If the transmit and receive service categories\n are inconsistent, the agent should refuse the\n request.\n\n(3) The manager activates the VCL by setting the\n the atmVclRowStatus to active(1) (for\n requirements on this activation see the\n description of atmVclRowStatus).\n If this set is successful, the agent has\n reserved the resources to satisfy the requested\n traffic parameter values and the service category\n for that VCL.\n(4) If the VCL terminates a VCC in the ATM host\n or switch, the manager turns on the\n atmVclAdminStatus to up(1) to turn the VCL\n traffic flow on. Otherwise, the\n atmVcCrossConnectTable must be used\n to cross-connect the VCL to another VCL(s)\n in an ATM switch or network.\n\nOne-Shot VCL Establishment\n\nA VCL may also be established in one step by a\nset-request with all necessary VCL parameter\nvalues and atmVclRowStatus set to createAndGo(4).\n\nIn contrast to the negotiated VCL establishment\nwhich allows for detailed error checking\n(i.e., set errors are explicitly linked to\nparticular resource acquisition failures),\nthe one-shot VCL establishment\nperforms the setup on one operation but\ndoes not have the advantage of step-wise\nerror checking.\nVCL Retirement\n\nA VCL is released by setting atmVclRowStatus to\ndestroy(6), and the agent may release all\nassociated resources.") atmVclVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 1), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVclVpi.setDescription("The VPI value of the VCL.") atmVclVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 2), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVclVci.setDescription("The VCI value of the VCL.") atmVclAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 3), AtmVorXAdminStatus().clone('down')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclAdminStatus.setDescription("This object is instanciated only for a VCL which\nterminates a VCC (i.e., one which is NOT\ncross-connected to other VCLs). Its value\nspecifies the desired administrative state of\nthe VCL.") atmVclOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 4), AtmVorXOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclOperStatus.setDescription("The current operational status of the VCL.") atmVclLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 5), AtmVorXLastChange()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclLastChange.setDescription("The value of sysUpTime at the time this VCL\nentered its current operational state.") atmVclReceiveTrafficDescrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 6), AtmTrafficDescrParamIndex().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclReceiveTrafficDescrIndex.setDescription("The value of this object identifies the row\nin the ATM Traffic Descriptor Table which\napplies to the receive direction of this VCL.") atmVclTransmitTrafficDescrIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 7), AtmTrafficDescrParamIndex().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclTransmitTrafficDescrIndex.setDescription("The value of this object identifies the row\nof the ATM Traffic Descriptor Table which applies\nto the transmit direction of this VCL.") atmVccAalType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(6,5,1,3,4,2,)).subtype(namedValues=NamedValues(("aal1", 1), ("aal34", 2), ("aal5", 3), ("other", 4), ("unknown", 5), ("aal2", 6), )).clone(3)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVccAalType.setDescription("An instance of this object only exists when the\nlocal VCL end-point is also the VCC end-point,\nand AAL is in use.\nThe type of AAL used on this VCC.\nThe AAL type includes AAL1, AAL2, AAL3/4,\nand AAL5. The other(4) may be user-defined\nAAL type. The unknown type indicates that\nthe AAL type cannot be determined.") atmVccAal5CpcsTransmitSduSize = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(9188)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVccAal5CpcsTransmitSduSize.setDescription("An instance of this object only exists when the\nlocal VCL end-point is also the VCC end-point,\nand AAL5 is in use.\nThe maximum AAL5 CPCS SDU size in octets that is\nsupported on the transmit direction of this VCC.") atmVccAal5CpcsReceiveSduSize = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(9188)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVccAal5CpcsReceiveSduSize.setDescription("An instance of this object only exists when the\nlocal VCL end-point is also the VCC end-point,\nand AAL5 is in use.\nThe maximum AAL5 CPCS SDU size in octets that is\nsupported on the receive direction of this VCC.") atmVccAal5EncapsType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(7,8,1,5,6,10,9,2,3,4,)).subtype(namedValues=NamedValues(("vcMultiplexRoutedProtocol", 1), ("unknown", 10), ("vcMultiplexBridgedProtocol8023", 2), ("vcMultiplexBridgedProtocol8025", 3), ("vcMultiplexBridgedProtocol8026", 4), ("vcMultiplexLANemulation8023", 5), ("vcMultiplexLANemulation8025", 6), ("llcEncapsulation", 7), ("multiprotocolFrameRelaySscs", 8), ("other", 9), )).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVccAal5EncapsType.setDescription("An instance of this object only exists when the\nlocal VCL end-point is also the VCC end-point,\nand AAL5 is in use.\nThe type of data encapsulation used over\nthe AAL5 SSCS layer. The definitions reference\nRFC 1483 Multiprotocol Encapsulation\nover ATM AAL5 and to the ATM Forum\nLAN Emulation specification.") atmVclCrossConnectIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVclCrossConnectIdentifier.setDescription("This object is instantiated only for a VCL\nwhich is cross-connected to other VCLs\nthat belong to the same VCC. All such\nassociated VCLs have the same value of this\nobject, and all their cross-connections are\nidentified either by entries that are indexed\nby the same value of atmVcCrossConnectIndex in\nthe atmVcCrossConnectTable of this MIB module or by\nthe same value of the cross-connect index in\nthe cross-connect table for SVCs and Soft PVCs\n(defined in a separate MIB module).\n\nAt no time should entries in these respective\ncross-connect tables exist simultaneously\nwith the same cross-connect index value.\nThe value of this object is initialized by the\nagent after the associated entries in the\natmVcCrossConnectTable have been created.") atmVclRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 13), RowStatus().clone('createAndWait')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclRowStatus.setDescription("This object is used to create, delete or\nmodify a row in this table. To create\na new VCL, this object is initially set\nto 'createAndWait' or 'createAndGo'.\nThis object should not be\nset to 'active' unless the following columnar\nobjects have been set to their desired value\nin this row:\natmVclReceiveTrafficDescrIndex,\natmVclTransmitTrafficDescrIndex.\nIn addition, if the local VCL end-point\nis also the VCC end-point:\natmVccAalType.\nIn addition, for AAL5 connections only:\natmVccAal5CpcsTransmitSduSize,\natmVccAal5CpcsReceiveSduSize, and\natmVccAal5EncapsType. (The existence\nof these objects imply the AAL connection type.).\nThe DESCRIPTION of atmVclEntry provides\nfurther guidance to row treatment in this table.") atmVclCastType = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 14), AtmConnCastType().clone('p2p')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclCastType.setDescription("The connection topology type.") atmVclConnKind = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 7, 1, 15), AtmConnKind().clone('pvc')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVclConnKind.setDescription("The use of call control.") atmVpCrossConnectIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 37, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVpCrossConnectIndexNext.setDescription("This object contains an appropriate value to\nbe used for atmVpCrossConnectIndex when creating\nentries in the atmVpCrossConnectTable. The value\n0 indicates that no unassigned entries are\navailable. To obtain the atmVpCrossConnectIndex\nvalue for a new entry, the manager issues a\nmanagement protocol retrieval operation to obtain\nthe current value of this object. After each\nretrieval, the agent should modify the value to\nthe next unassigned index.\nAfter a manager retrieves a value the agent will\ndetermine through its local policy when this index\nvalue will be made available for reuse.") atmVpCrossConnectTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 9)) if mibBuilder.loadTexts: atmVpCrossConnectTable.setDescription("The ATM VP Cross Connect table for PVCs.\nAn entry in this table models two\ncross-connected VPLs.\nEach VPL must have its atmConnKind set\nto pvc(1).") atmVpCrossConnectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 9, 1)).setIndexNames((0, "ATM-MIB", "atmVpCrossConnectIndex"), (0, "ATM-MIB", "atmVpCrossConnectLowIfIndex"), (0, "ATM-MIB", "atmVpCrossConnectLowVpi"), (0, "ATM-MIB", "atmVpCrossConnectHighIfIndex"), (0, "ATM-MIB", "atmVpCrossConnectHighVpi")) if mibBuilder.loadTexts: atmVpCrossConnectEntry.setDescription("An entry in the ATM VP Cross Connect table.\nThis entry is used to model a bi-directional\nATM VP cross-connect which cross-connects\ntwo VPLs.\n\nStep-wise Procedures to set up a VP Cross-connect\n\nOnce the entries in the atmVplTable are created,\nthe following procedures are used\nto cross-connect the VPLs together.\n\n(1) The manager obtains a unique\n atmVpCrossConnectIndex by reading the\n atmVpCrossConnectIndexNext object.\n\n(2) Next, the manager creates a set of one\n or more rows in the ATM VP Cross Connect\n Table, one for each cross-connection between\n two VPLs. Each row is indexed by the ATM\n interface port numbers and VPI values of the\n two ends of that cross-connection.\n This set of rows specifies the topology of the\n VPC cross-connect and is identified by a single\n value of atmVpCrossConnectIndex.\n\nNegotiated VP Cross-Connect Establishment\n\n(2a) The manager creates a row in this table by\n setting atmVpCrossConnectRowStatus to\n createAndWait(5). The agent checks the\n requested topology and the mutual sanity of\n the ATM traffic parameters and\n service categories, i.e., the row creation\n fails if:\n - the requested topology is incompatible with\n associated values of atmVplCastType,\n - the requested topology is not supported\n by the agent,\n - the traffic/service category parameter values\n associated with the requested row are\n incompatible with those of already existing\n rows for this VP cross-connect.\n [For example, for setting up\n a point-to-point VP cross-connect, the\n ATM traffic parameters in the receive direction\n of a VPL at the low end of the cross-connect\n must equal to the traffic parameters in the\n transmit direction of the other VPL at the\n high end of the cross-connect,\n otherwise, the row creation fails.]\n The agent also checks for internal errors\n in building the cross-connect.\n\n The atmVpCrossConnectIndex values in the\n corresponding atmVplTable rows are filled\n in by the agent at this point.\n\n(2b) The manager promotes the row in the\n atmVpCrossConnectTable by setting\n atmVpCrossConnectRowStatus to active(1). If\n this set is successful, the agent has reserved\n the resources specified by the ATM traffic\n parameter and Service category values\n for each direction of the VP cross-connect\n in an ATM switch or network.\n\n(3) The manager sets the\n atmVpCrossConnectAdminStatus to up(1) in all\n rows of this VP cross-connect to turn the\n traffic flow on.\n\n\nOne-Shot VP Cross-Connect Establishment\n\nA VP cross-connect may also be established in\none step by a set-request with all necessary\nparameter values and atmVpCrossConnectRowStatus\nset to createAndGo(4).\n\nIn contrast to the negotiated VP cross-connect\nestablishment which allows for detailed error\nchecking (i.e., set errors are explicitly linked\nto particular resource acquisition failures),\nthe one-shot VP cross-connect establishment\nperforms the setup on one operation but does not\nhave the advantage of step-wise error checking.\n\nVP Cross-Connect Retirement\n\nA VP cross-connect identified by a particular\nvalue of atmVpCrossConnectIndex is released by:\n\n(1) Setting atmVpCrossConnectRowStatus of all\n rows identified by this value of\n atmVpCrossConnectIndex to destroy(6).\n The agent may release all\n associated resources, and the\n atmVpCrossConnectIndex values in the\n corresponding atmVplTable row are removed.\n Note that a situation when only a subset of\n the associated rows are deleted corresponds\n to a VP topology change.\n\n(2) After deletion of the appropriate\n atmVpCrossConnectEntries, the manager may\n set atmVplRowStatus to destroy(6) the\n associated VPLs. The agent releases\n the resources and removes the associated\n rows in the atmVplTable.\n\nVP Cross-connect Reconfiguration\n\nAt the discretion of the agent, a VP\ncross-connect may be reconfigured by\nadding and/or deleting leafs to/from\nthe VP topology as per the VP cross-connect\nestablishment/retirement procedures.\nReconfiguration of traffic/service category parameter\nvalues requires release of the VP cross-connect\nbefore those parameter values may by changed\nfor individual VPLs.") atmVpCrossConnectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVpCrossConnectIndex.setDescription("A unique value to identify this VP cross-connect.\nFor each VPL associated with this cross-connect,\nthe agent reports this cross-connect index value\nin the atmVplCrossConnectIdentifier attribute of\nthe corresponding atmVplTable entries.") atmVpCrossConnectLowIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVpCrossConnectLowIfIndex.setDescription("The ifIndex value of the ATM interface for\nthis VP cross-connect. The term low implies\nthat this ATM interface has the numerically lower\nifIndex value than the other ATM interface\nidentified in the same atmVpCrossConnectEntry.") atmVpCrossConnectLowVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 3), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVpCrossConnectLowVpi.setDescription("The VPI value at the ATM interface\nassociated with the VP cross-connect that is\nidentified by atmVpCrossConnectLowIfIndex.") atmVpCrossConnectHighIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 4), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVpCrossConnectHighIfIndex.setDescription("The ifIndex value of the ATM interface for\nthis VP cross-connect. The term high implies that\nthis ATM interface has the numerically higher\nifIndex value than the other ATM interface\nidentified in the same atmVpCrossConnectEntry.") atmVpCrossConnectHighVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 5), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVpCrossConnectHighVpi.setDescription("The VPI value at the ATM interface\nassociated with the VP cross-connect that is\nidentified by atmVpCrossConnectHighIfIndex.") atmVpCrossConnectAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 6), AtmVorXAdminStatus().clone('down')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVpCrossConnectAdminStatus.setDescription("The desired administrative status of this\nbi-directional VP cross-connect.") atmVpCrossConnectL2HOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 7), AtmVorXOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVpCrossConnectL2HOperStatus.setDescription("The operational status of the VP cross-connect\nin one direction; (i.e., from the low to\nhigh direction).") atmVpCrossConnectH2LOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 8), AtmVorXOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVpCrossConnectH2LOperStatus.setDescription("The operational status of the VP cross-connect\nin one direction; (i.e., from the high to\nlow direction).") atmVpCrossConnectL2HLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 9), AtmVorXLastChange()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVpCrossConnectL2HLastChange.setDescription("The value of sysUpTime at the time this\nVP cross-connect entered its current operational\nstate in the low to high direction.") atmVpCrossConnectH2LLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 10), AtmVorXLastChange()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVpCrossConnectH2LLastChange.setDescription("The value of sysUpTime at the time this\nVP cross-connect entered its current operational\nin the high to low direction.") atmVpCrossConnectRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 9, 1, 11), RowStatus().clone('createAndWait')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVpCrossConnectRowStatus.setDescription("The status of this entry in the\natmVpCrossConnectTable. This object is used to\ncreate a cross-connect for cross-connecting\nVPLs which are created using the atmVplTable\nor to change or delete an existing cross-connect.\nThis object must be initially set\nto `createAndWait' or 'createAndGo'.\nTo turn on a VP cross-connect,\nthe atmVpCrossConnectAdminStatus\nis set to `up'.") atmVcCrossConnectIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 37, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVcCrossConnectIndexNext.setDescription("This object contains an appropriate value to\nbe used for atmVcCrossConnectIndex when creating\nentries in the atmVcCrossConnectTable. The value\n0 indicates that no unassigned entries are\navailable. To obtain the atmVcCrossConnectIndex\nvalue for a new entry, the manager issues a\nmanagement protocol retrieval operation to obtain\nthe current value of this object. After each\nretrieval, the agent should modify the value to\nthe next unassigned index.\nAfter a manager retrieves a value the agent will\ndetermine through its local policy when this index\nvalue will be made available for reuse.") atmVcCrossConnectTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 11)) if mibBuilder.loadTexts: atmVcCrossConnectTable.setDescription("The ATM VC Cross Connect table for PVCs.\nAn entry in this table models two\ncross-connected VCLs.\nEach VCL must have its atmConnKind set\nto pvc(1).") atmVcCrossConnectEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 11, 1)).setIndexNames((0, "ATM-MIB", "atmVcCrossConnectIndex"), (0, "ATM-MIB", "atmVcCrossConnectLowIfIndex"), (0, "ATM-MIB", "atmVcCrossConnectLowVpi"), (0, "ATM-MIB", "atmVcCrossConnectLowVci"), (0, "ATM-MIB", "atmVcCrossConnectHighIfIndex"), (0, "ATM-MIB", "atmVcCrossConnectHighVpi"), (0, "ATM-MIB", "atmVcCrossConnectHighVci")) if mibBuilder.loadTexts: atmVcCrossConnectEntry.setDescription("An entry in the ATM VC Cross Connect table.\nThis entry is used to model a bi-directional ATM\nVC cross-connect cross-connecting two end points.\n\nStep-wise Procedures to set up a VC Cross-connect\nOnce the entries in the atmVclTable are created,\nthe following procedures are used\nto cross-connect the VCLs together to\nform a VCC segment.\n\n(1) The manager obtains a unique\n atmVcCrossConnectIndex by reading the\n atmVcCrossConnectIndexNext object.\n\n(2) Next, the manager creates a set of one\n or more rows in the ATM VC Cross Connect\n Table, one for each cross-connection between\n two VCLs. Each row is indexed by the ATM\n interface port numbers and VPI/VCI values of\n the two ends of that cross-connection.\n This set of rows specifies the topology of the\n VCC cross-connect and is identified by a single\n value of atmVcCrossConnectIndex.\n\nNegotiated VC Cross-Connect Establishment\n\n(2a) The manager creates a row in this table by\n setting atmVcCrossConnectRowStatus to\n createAndWait(5). The agent checks the\n requested topology and the mutual sanity of\n the ATM traffic parameters and\n service categories, i.e., the row creation\n fails if:\n - the requested topology is incompatible with\n associated values of atmVclCastType,\n - the requested topology is not supported\n by the agent,\n - the traffic/service category parameter values\n associated with the requested row are\n incompatible with those of already existing\n rows for this VC cross-connect.\n [For example, for setting up\n a point-to-point VC cross-connect, the\n ATM traffic parameters in the receive direction\n of a VCL at the low end of the cross-connect\n must equal to the traffic parameters in the\n transmit direction of the other VCL at the\n high end of the cross-connect,\n otherwise, the row creation fails.]\n The agent also checks for internal errors\n in building the cross-connect.\n\n The atmVcCrossConnectIndex values in the\n corresponding atmVclTable rows are filled\n in by the agent at this point.\n\n(2b) The manager promotes the row in the\n atmVcCrossConnectTable by setting\n atmVcCrossConnectRowStatus to active(1). If\n this set is successful, the agent has reserved\n the resources specified by the ATM traffic\n parameter and Service category values\n for each direction of the VC cross-connect\n in an ATM switch or network.\n\n(3) The manager sets the\n atmVcCrossConnectAdminStatus to up(1)\n in all rows of this VC cross-connect to\n turn the traffic flow on.\n\n\nOne-Shot VC Cross-Connect Establishment\n\nA VC cross-connect may also be established in\none step by a set-request with all necessary\nparameter values and atmVcCrossConnectRowStatus\nset to createAndGo(4).\n\nIn contrast to the negotiated VC cross-connect\nestablishment which allows for detailed error\nchecking i.e., set errors are explicitly linked to\nparticular resource acquisition failures), the\none-shot VC cross-connect establishment\nperforms the setup on one operation but does\nnot have the advantage of step-wise error\nchecking.\n\nVC Cross-Connect Retirement\n\nA VC cross-connect identified by a particular\nvalue of atmVcCrossConnectIndex is released by:\n\n(1) Setting atmVcCrossConnectRowStatus of all rows\n identified by this value of\n atmVcCrossConnectIndex to destroy(6).\n The agent may release all\n associated resources, and the\n atmVcCrossConnectIndex values in the\n corresponding atmVclTable row are removed.\n Note that a situation when only a subset of\n the associated rows are deleted corresponds\n to a VC topology change.\n\n(2) After deletion of the appropriate\n atmVcCrossConnectEntries, the manager may\n set atmVclRowStatus to destroy(6) the\n associated VCLs. The agent releases\n the resources and removes the associated\n rows in the atmVclTable.\n\nVC Cross-Connect Reconfiguration\n\nAt the discretion of the agent, a VC\ncross-connect may be reconfigured by\nadding and/or deleting leafs to/from\nthe VC topology as per the VC cross-connect\nestablishment/retirement procedures.\nReconfiguration of traffic/service category parameter\nvalues requires release of the VC cross-connect\nbefore those parameter values may by changed\nfor individual VCLs.") atmVcCrossConnectIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVcCrossConnectIndex.setDescription("A unique value to identify this VC cross-connect.\nFor each VCL associated with this cross-connect,\nthe agent reports this cross-connect index value\nin the atmVclCrossConnectIdentifier attribute of\nthe corresponding atmVclTable entries.") atmVcCrossConnectLowIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 2), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVcCrossConnectLowIfIndex.setDescription("The ifIndex value of the ATM interface for this\nVC cross-connect. The term low implies\nthat this ATM interface has the numerically lower\nifIndex value than the other ATM interface\nidentified in the same atmVcCrossConnectEntry.") atmVcCrossConnectLowVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 3), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVcCrossConnectLowVpi.setDescription("The VPI value at the ATM interface\nassociated with the VC cross-connect that is\nidentified by atmVcCrossConnectLowIfIndex.") atmVcCrossConnectLowVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 4), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVcCrossConnectLowVci.setDescription("The VCI value at the ATM interface\nassociated with this VC cross-connect that is\nidentified by atmVcCrossConnectLowIfIndex.") atmVcCrossConnectHighIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 5), InterfaceIndex()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVcCrossConnectHighIfIndex.setDescription("The ifIndex value for the ATM interface for\nthis VC cross-connect. The term high implies\nthat this ATM interface has the numerically higher\nifIndex value than the other ATM interface\nidentified in the same atmVcCrossConnectEntry.") atmVcCrossConnectHighVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 6), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVcCrossConnectHighVpi.setDescription("The VPI value at the ATM interface\nassociated with the VC cross-connect that is\nidentified by atmVcCrossConnectHighIfIndex.") atmVcCrossConnectHighVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 7), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: atmVcCrossConnectHighVci.setDescription("The VCI value at the ATM interface\nassociated with the VC cross-connect that is\nidentified by atmVcCrossConnectHighIfIndex.") atmVcCrossConnectAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 8), AtmVorXAdminStatus().clone('down')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVcCrossConnectAdminStatus.setDescription("The desired administrative status of this\nbi-directional VC cross-connect.") atmVcCrossConnectL2HOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 9), AtmVorXOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVcCrossConnectL2HOperStatus.setDescription("The current operational status of the\nVC cross-connect in one direction; (i.e.,\nfrom the low to high direction).") atmVcCrossConnectH2LOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 10), AtmVorXOperStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVcCrossConnectH2LOperStatus.setDescription("The current operational status of the\nVC cross-connect in one direction; (i.e.,\nfrom the high to low direction).") atmVcCrossConnectL2HLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 11), AtmVorXLastChange()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVcCrossConnectL2HLastChange.setDescription("The value of sysUpTime at the time this\nVC cross-connect entered its current\noperational state in low to high direction.") atmVcCrossConnectH2LLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 12), AtmVorXLastChange()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmVcCrossConnectH2LLastChange.setDescription("The value of sysUpTime at the time this\nVC cross-connect entered its current\noperational state in high to low direction.") atmVcCrossConnectRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 11, 1, 13), RowStatus().clone('createAndWait')).setMaxAccess("readcreate") if mibBuilder.loadTexts: atmVcCrossConnectRowStatus.setDescription("The status of this entry in the\natmVcCrossConnectTable. This object is used to\ncreate a new cross-connect for cross-connecting\nVCLs which are created using the atmVclTable\nor to change or delete existing cross-connect.\nThis object must be initially set to\n`createAndWait' or 'createAndGo'.\nTo turn on a VC cross-connect,\nthe atmVcCrossConnectAdminStatus\nis set to `up'.") aal5VccTable = MibTable((1, 3, 6, 1, 2, 1, 37, 1, 12)) if mibBuilder.loadTexts: aal5VccTable.setDescription("This table contains AAL5 VCC performance\nparameters.") aal5VccEntry = MibTableRow((1, 3, 6, 1, 2, 1, 37, 1, 12, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "aal5VccVpi"), (0, "ATM-MIB", "aal5VccVci")) if mibBuilder.loadTexts: aal5VccEntry.setDescription("This list contains the AAL5 VCC\nperformance parameters and is indexed\nby ifIndex values of AAL5 interfaces\nand the associated VPI/VCI values.") aal5VccVpi = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 12, 1, 1), AtmVpIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: aal5VccVpi.setDescription("The VPI value of the AAL5 VCC at the\ninterface identified by the ifIndex.") aal5VccVci = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 12, 1, 2), AtmVcIdentifier()).setMaxAccess("noaccess") if mibBuilder.loadTexts: aal5VccVci.setDescription("The VCI value of the AAL5 VCC at the\ninterface identified by the ifIndex.") aal5VccCrcErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 12, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aal5VccCrcErrors.setDescription("The number of AAL5 CPCS PDUs received with\nCRC-32 errors on this AAL5 VCC at the\ninterface associated with an AAL5 entity.") aal5VccSarTimeOuts = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 12, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aal5VccSarTimeOuts.setDescription("The number of partially re-assembled AAL5\nCPCS PDUs which were discarded\non this AAL5 VCC at the interface associated\nwith an AAL5 entity because they\nwere not fully re-assembled within the\nrequired time period. If the re-assembly\ntimer is not supported, then this object\ncontains a zero value.") aal5VccOverSizedSDUs = MibTableColumn((1, 3, 6, 1, 2, 1, 37, 1, 12, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aal5VccOverSizedSDUs.setDescription("The number of AAL5 CPCS PDUs discarded\non this AAL5 VCC at the interface\nassociated with an AAL5 entity because the\nAAL5 SDUs were too large.") atmTrafficDescrParamIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 37, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: atmTrafficDescrParamIndexNext.setDescription("This object contains an appropriate value to\nbe used for atmTrafficDescrParamIndex when\ncreating entries in the\natmTrafficDescrParamTable.\nThe value 0 indicates that no unassigned\nentries are available. To obtain the\natmTrafficDescrParamIndex value for a new\nentry, the manager issues a management\nprotocol retrieval operation to obtain the\ncurrent value of this object. After each\nretrieval, the agent should modify the value\nto the next unassigned index.\nAfter a manager retrieves a value the agent will\ndetermine through its local policy when this index\nvalue will be made available for reuse.") atmMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 2)) atmMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 2, 1)) atmMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 37, 2, 2)) # Augmentions # Groups atmInterfaceConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 1)).setObjects(*(("ATM-MIB", "atmInterfaceConfVccs"), ("ATM-MIB", "atmInterfaceMaxActiveVpiBits"), ("ATM-MIB", "atmInterfaceAddressType"), ("ATM-MIB", "atmInterfaceAdminAddress"), ("ATM-MIB", "atmInterfaceMyNeighborIfName"), ("ATM-MIB", "atmInterfaceMaxActiveVciBits"), ("ATM-MIB", "atmInterfaceIlmiVci"), ("ATM-MIB", "atmInterfaceMaxVpcs"), ("ATM-MIB", "atmInterfaceIlmiVpi"), ("ATM-MIB", "atmInterfaceConfVpcs"), ("ATM-MIB", "atmInterfaceMaxVccs"), ("ATM-MIB", "atmInterfaceMyNeighborIpAddress"), ) ) if mibBuilder.loadTexts: atmInterfaceConfGroup.setDescription("A collection of objects providing configuration\ninformation about an ATM interface.") atmTrafficDescrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 2)).setObjects(*(("ATM-MIB", "atmTrafficDescrRowStatus"), ("ATM-MIB", "atmTrafficDescrParam3"), ("ATM-MIB", "atmTrafficQoSClass"), ("ATM-MIB", "atmTrafficDescrParam4"), ("ATM-MIB", "atmTrafficDescrParam5"), ("ATM-MIB", "atmTrafficDescrParam2"), ("ATM-MIB", "atmTrafficDescrType"), ("ATM-MIB", "atmTrafficDescrParam1"), ) ) if mibBuilder.loadTexts: atmTrafficDescrGroup.setDescription("A collection of objects providing information\nabout ATM traffic descriptor type and\nthe associated parameters.") atmInterfaceDs3PlcpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 3)).setObjects(*(("ATM-MIB", "atmInterfaceDs3PlcpSEFSs"), ("ATM-MIB", "atmInterfaceDs3PlcpAlarmState"), ("ATM-MIB", "atmInterfaceDs3PlcpUASs"), ) ) if mibBuilder.loadTexts: atmInterfaceDs3PlcpGroup.setDescription("A collection of objects providing information\nabout DS3 PLCP layer at an ATM interface.") atmInterfaceTCGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 4)).setObjects(*(("ATM-MIB", "atmInterfaceTCAlarmState"), ("ATM-MIB", "atmInterfaceOCDEvents"), ) ) if mibBuilder.loadTexts: atmInterfaceTCGroup.setDescription("A collection of objects providing information\nabout TC sublayer at an ATM interface.") atmVpcTerminationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 5)).setObjects(*(("ATM-MIB", "atmVplRowStatus"), ("ATM-MIB", "atmVplAdminStatus"), ("ATM-MIB", "atmVplReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVplOperStatus"), ("ATM-MIB", "atmVplTransmitTrafficDescrIndex"), ("ATM-MIB", "atmVplLastChange"), ) ) if mibBuilder.loadTexts: atmVpcTerminationGroup.setDescription("A collection of objects providing\ninformation about a VPL at an ATM interface\nwhich terminates a VPC\n(i.e., one which is NOT cross-connected\nto other VPLs).") atmVccTerminationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 6)).setObjects(*(("ATM-MIB", "atmVclLastChange"), ("ATM-MIB", "atmVclTransmitTrafficDescrIndex"), ("ATM-MIB", "atmVclOperStatus"), ("ATM-MIB", "atmVclRowStatus"), ("ATM-MIB", "atmVclReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVclAdminStatus"), ("ATM-MIB", "atmVccAalType"), ) ) if mibBuilder.loadTexts: atmVccTerminationGroup.setDescription("A collection of objects providing information\nabout a VCL at an ATM interface\nwhich terminates a VCC (i.e., one which is\nNOT cross-connected to other VCLs).") atmVpCrossConnectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 7)).setObjects(*(("ATM-MIB", "atmVplOperStatus"), ("ATM-MIB", "atmVplCrossConnectIdentifier"), ("ATM-MIB", "atmVplTransmitTrafficDescrIndex"), ("ATM-MIB", "atmVpCrossConnectH2LOperStatus"), ("ATM-MIB", "atmVpCrossConnectH2LLastChange"), ("ATM-MIB", "atmVpCrossConnectIndexNext"), ("ATM-MIB", "atmVpCrossConnectL2HOperStatus"), ("ATM-MIB", "atmVpCrossConnectL2HLastChange"), ("ATM-MIB", "atmVplRowStatus"), ("ATM-MIB", "atmVpCrossConnectRowStatus"), ("ATM-MIB", "atmVplReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVpCrossConnectAdminStatus"), ) ) if mibBuilder.loadTexts: atmVpCrossConnectGroup.setDescription("A collection of objects providing\ninformation about a VP cross-connect\nand the associated VPLs that are\ncross-connected together.") atmVcCrossConnectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 8)).setObjects(*(("ATM-MIB", "atmVcCrossConnectH2LLastChange"), ("ATM-MIB", "atmVclTransmitTrafficDescrIndex"), ("ATM-MIB", "atmVcCrossConnectRowStatus"), ("ATM-MIB", "atmVclRowStatus"), ("ATM-MIB", "atmVcCrossConnectL2HOperStatus"), ("ATM-MIB", "atmVcCrossConnectL2HLastChange"), ("ATM-MIB", "atmVcCrossConnectIndexNext"), ("ATM-MIB", "atmVclOperStatus"), ("ATM-MIB", "atmVclReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVcCrossConnectH2LOperStatus"), ("ATM-MIB", "atmVclCrossConnectIdentifier"), ("ATM-MIB", "atmVcCrossConnectAdminStatus"), ) ) if mibBuilder.loadTexts: atmVcCrossConnectGroup.setDescription("A collection of objects providing\ninformation about a VC cross-connect\nand the associated VCLs that are\ncross-connected together.") aal5VccGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 9)).setObjects(*(("ATM-MIB", "atmVccAal5CpcsTransmitSduSize"), ("ATM-MIB", "aal5VccSarTimeOuts"), ("ATM-MIB", "atmVccAal5CpcsReceiveSduSize"), ("ATM-MIB", "atmVccAal5EncapsType"), ("ATM-MIB", "aal5VccCrcErrors"), ("ATM-MIB", "aal5VccOverSizedSDUs"), ) ) if mibBuilder.loadTexts: aal5VccGroup.setDescription("A collection of objects providing\nAAL5 configuration and performance statistics\nof a VCC.") atmInterfaceConfGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 10)).setObjects(*(("ATM-MIB", "atmInterfaceConfVccs"), ("ATM-MIB", "atmInterfaceMaxActiveVpiBits"), ("ATM-MIB", "atmInterfaceSubscrAddress"), ("ATM-MIB", "atmInterfaceIlmiVpi"), ("ATM-MIB", "atmInterfaceMyNeighborIfName"), ("ATM-MIB", "atmInterfaceCurrentMaxVciBits"), ("ATM-MIB", "atmInterfaceMaxActiveVciBits"), ("ATM-MIB", "atmInterfaceIlmiVci"), ("ATM-MIB", "atmInterfaceMaxVpcs"), ("ATM-MIB", "atmInterfaceCurrentMaxVpiBits"), ("ATM-MIB", "atmInterfaceConfVpcs"), ("ATM-MIB", "atmInterfaceMaxVccs"), ("ATM-MIB", "atmInterfaceMyNeighborIpAddress"), ) ) if mibBuilder.loadTexts: atmInterfaceConfGroup2.setDescription("A collection of objects providing configuration\ninformation about an ATM interface.") atmTrafficDescrGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 11)).setObjects(*(("ATM-MIB", "atmTrafficDescrRowStatus"), ("ATM-MIB", "atmTrafficFrameDiscard"), ("ATM-MIB", "atmServiceCategory"), ("ATM-MIB", "atmTrafficDescrParam3"), ("ATM-MIB", "atmTrafficDescrParamIndexNext"), ("ATM-MIB", "atmTrafficDescrParam4"), ("ATM-MIB", "atmTrafficDescrParam5"), ("ATM-MIB", "atmTrafficDescrParam2"), ("ATM-MIB", "atmTrafficDescrType"), ("ATM-MIB", "atmTrafficDescrParam1"), ) ) if mibBuilder.loadTexts: atmTrafficDescrGroup2.setDescription("A collection of objects providing information\nabout ATM traffic descriptor type and\nthe associated parameters.") atmVpcTerminationGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 12)).setObjects(*(("ATM-MIB", "atmVplTransmitTrafficDescrIndex"), ("ATM-MIB", "atmVplAdminStatus"), ("ATM-MIB", "atmVplConnKind"), ("ATM-MIB", "atmVplCastType"), ("ATM-MIB", "atmVplLastChange"), ("ATM-MIB", "atmVplReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVplOperStatus"), ("ATM-MIB", "atmVplRowStatus"), ) ) if mibBuilder.loadTexts: atmVpcTerminationGroup2.setDescription("A collection of objects providing information\nabout a VPL at an ATM interface which\nterminates a VPC (i.e., one which is NOT\ncross-connected to other VPLs).") atmVccTerminationGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 13)).setObjects(*(("ATM-MIB", "atmVclRowStatus"), ("ATM-MIB", "atmVclReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVclLastChange"), ("ATM-MIB", "atmVclTransmitTrafficDescrIndex"), ("ATM-MIB", "atmVclConnKind"), ("ATM-MIB", "atmVclCastType"), ("ATM-MIB", "atmVclAdminStatus"), ("ATM-MIB", "atmVclOperStatus"), ("ATM-MIB", "atmVccAalType"), ) ) if mibBuilder.loadTexts: atmVccTerminationGroup2.setDescription("A collection of objects providing information\nabout a VCL at an ATM interface\nwhich terminates a VCC (i.e., one which is\nNOT cross-connected to other VCLs).") atmVplCrossConnectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 14)).setObjects(*(("ATM-MIB", "atmVplRowStatus"), ("ATM-MIB", "atmVplConnKind"), ("ATM-MIB", "atmVplCastType"), ("ATM-MIB", "atmVplReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVplOperStatus"), ("ATM-MIB", "atmVplTransmitTrafficDescrIndex"), ("ATM-MIB", "atmVplLastChange"), ) ) if mibBuilder.loadTexts: atmVplCrossConnectGroup.setDescription("A collection of objects providing\ninformation about the VPLs that\nare cross-connected together.") atmVpPvcCrossConnectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 15)).setObjects(*(("ATM-MIB", "atmVpCrossConnectL2HLastChange"), ("ATM-MIB", "atmVplCrossConnectIdentifier"), ("ATM-MIB", "atmVpCrossConnectRowStatus"), ("ATM-MIB", "atmVpCrossConnectH2LOperStatus"), ("ATM-MIB", "atmVpCrossConnectH2LLastChange"), ("ATM-MIB", "atmVpCrossConnectIndexNext"), ("ATM-MIB", "atmVpCrossConnectAdminStatus"), ("ATM-MIB", "atmVpCrossConnectL2HOperStatus"), ) ) if mibBuilder.loadTexts: atmVpPvcCrossConnectGroup.setDescription("A collection of objects providing\ninformation about a VP cross-connect\nfor PVCs. These objects are not used\nfor Soft PVCs or SVCs.") atmVclCrossConnectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 16)).setObjects(*(("ATM-MIB", "atmVclLastChange"), ("ATM-MIB", "atmVclCastType"), ("ATM-MIB", "atmVclConnKind"), ("ATM-MIB", "atmVclOperStatus"), ("ATM-MIB", "atmVclRowStatus"), ("ATM-MIB", "atmVclReceiveTrafficDescrIndex"), ("ATM-MIB", "atmVclTransmitTrafficDescrIndex"), ) ) if mibBuilder.loadTexts: atmVclCrossConnectGroup.setDescription("A collection of objects providing\ninformation about the VCLs that\nare cross-connected together.") atmVcPvcCrossConnectGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 37, 2, 1, 17)).setObjects(*(("ATM-MIB", "atmVclCrossConnectIdentifier"), ("ATM-MIB", "atmVcCrossConnectL2HLastChange"), ("ATM-MIB", "atmVcCrossConnectH2LLastChange"), ("ATM-MIB", "atmVcCrossConnectL2HOperStatus"), ("ATM-MIB", "atmVcCrossConnectIndexNext"), ("ATM-MIB", "atmVcCrossConnectH2LOperStatus"), ("ATM-MIB", "atmVcCrossConnectRowStatus"), ("ATM-MIB", "atmVcCrossConnectAdminStatus"), ) ) if mibBuilder.loadTexts: atmVcPvcCrossConnectGroup.setDescription("A collection of objects providing\ninformation about a VC cross-connect\nfor PVCs. These objects are not used\nfor Soft PVCs or SVCs.") # Compliances atmMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 37, 2, 2, 1)).setObjects(*(("ATM-MIB", "atmInterfaceConfGroup"), ("ATM-MIB", "aal5VccGroup"), ("ATM-MIB", "atmVpCrossConnectGroup"), ("ATM-MIB", "atmInterfaceDs3PlcpGroup"), ("ATM-MIB", "atmVpcTerminationGroup"), ("ATM-MIB", "atmVcCrossConnectGroup"), ("ATM-MIB", "atmTrafficDescrGroup"), ("ATM-MIB", "atmInterfaceTCGroup"), ("ATM-MIB", "atmVccTerminationGroup"), ) ) if mibBuilder.loadTexts: atmMIBCompliance.setDescription("The compliance statement for SNMP entities\nincluding networks which have ATM and\nAAL5 interfaces.") atmMIBCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 37, 2, 2, 2)).setObjects(*(("ATM-MIB", "aal5VccGroup"), ("ATM-MIB", "atmInterfaceConfGroup2"), ("ATM-MIB", "atmVplCrossConnectGroup"), ("ATM-MIB", "atmVpcTerminationGroup2"), ("ATM-MIB", "atmVclCrossConnectGroup"), ("ATM-MIB", "atmVccTerminationGroup2"), ("ATM-MIB", "atmInterfaceDs3PlcpGroup"), ("ATM-MIB", "atmInterfaceTCGroup"), ("ATM-MIB", "atmVcPvcCrossConnectGroup"), ("ATM-MIB", "atmTrafficDescrGroup2"), ("ATM-MIB", "atmVpPvcCrossConnectGroup"), ) ) if mibBuilder.loadTexts: atmMIBCompliance2.setDescription("The compliance statement for SNMP entities\nincluding networks which have ATM and\nAAL5 interfaces.") # Exports # Module identity mibBuilder.exportSymbols("ATM-MIB", PYSNMP_MODULE_ID=atmMIB) # Objects mibBuilder.exportSymbols("ATM-MIB", atmMIB=atmMIB, atmMIBObjects=atmMIBObjects, atmInterfaceConfTable=atmInterfaceConfTable, atmInterfaceConfEntry=atmInterfaceConfEntry, atmInterfaceMaxVpcs=atmInterfaceMaxVpcs, atmInterfaceMaxVccs=atmInterfaceMaxVccs, atmInterfaceConfVpcs=atmInterfaceConfVpcs, atmInterfaceConfVccs=atmInterfaceConfVccs, atmInterfaceMaxActiveVpiBits=atmInterfaceMaxActiveVpiBits, atmInterfaceMaxActiveVciBits=atmInterfaceMaxActiveVciBits, atmInterfaceIlmiVpi=atmInterfaceIlmiVpi, atmInterfaceIlmiVci=atmInterfaceIlmiVci, atmInterfaceAddressType=atmInterfaceAddressType, atmInterfaceAdminAddress=atmInterfaceAdminAddress, atmInterfaceMyNeighborIpAddress=atmInterfaceMyNeighborIpAddress, atmInterfaceMyNeighborIfName=atmInterfaceMyNeighborIfName, atmInterfaceCurrentMaxVpiBits=atmInterfaceCurrentMaxVpiBits, atmInterfaceCurrentMaxVciBits=atmInterfaceCurrentMaxVciBits, atmInterfaceSubscrAddress=atmInterfaceSubscrAddress, atmInterfaceDs3PlcpTable=atmInterfaceDs3PlcpTable, atmInterfaceDs3PlcpEntry=atmInterfaceDs3PlcpEntry, atmInterfaceDs3PlcpSEFSs=atmInterfaceDs3PlcpSEFSs, atmInterfaceDs3PlcpAlarmState=atmInterfaceDs3PlcpAlarmState, atmInterfaceDs3PlcpUASs=atmInterfaceDs3PlcpUASs, atmInterfaceTCTable=atmInterfaceTCTable, atmInterfaceTCEntry=atmInterfaceTCEntry, atmInterfaceOCDEvents=atmInterfaceOCDEvents, atmInterfaceTCAlarmState=atmInterfaceTCAlarmState, atmTrafficDescrParamTable=atmTrafficDescrParamTable, atmTrafficDescrParamEntry=atmTrafficDescrParamEntry, atmTrafficDescrParamIndex=atmTrafficDescrParamIndex, atmTrafficDescrType=atmTrafficDescrType, atmTrafficDescrParam1=atmTrafficDescrParam1, atmTrafficDescrParam2=atmTrafficDescrParam2, atmTrafficDescrParam3=atmTrafficDescrParam3, atmTrafficDescrParam4=atmTrafficDescrParam4, atmTrafficDescrParam5=atmTrafficDescrParam5, atmTrafficQoSClass=atmTrafficQoSClass, atmTrafficDescrRowStatus=atmTrafficDescrRowStatus, atmServiceCategory=atmServiceCategory, atmTrafficFrameDiscard=atmTrafficFrameDiscard, atmVplTable=atmVplTable, atmVplEntry=atmVplEntry, atmVplVpi=atmVplVpi, atmVplAdminStatus=atmVplAdminStatus, atmVplOperStatus=atmVplOperStatus, atmVplLastChange=atmVplLastChange, atmVplReceiveTrafficDescrIndex=atmVplReceiveTrafficDescrIndex, atmVplTransmitTrafficDescrIndex=atmVplTransmitTrafficDescrIndex, atmVplCrossConnectIdentifier=atmVplCrossConnectIdentifier, atmVplRowStatus=atmVplRowStatus, atmVplCastType=atmVplCastType, atmVplConnKind=atmVplConnKind, atmVclTable=atmVclTable, atmVclEntry=atmVclEntry, atmVclVpi=atmVclVpi, atmVclVci=atmVclVci, atmVclAdminStatus=atmVclAdminStatus, atmVclOperStatus=atmVclOperStatus, atmVclLastChange=atmVclLastChange, atmVclReceiveTrafficDescrIndex=atmVclReceiveTrafficDescrIndex, atmVclTransmitTrafficDescrIndex=atmVclTransmitTrafficDescrIndex, atmVccAalType=atmVccAalType, atmVccAal5CpcsTransmitSduSize=atmVccAal5CpcsTransmitSduSize, atmVccAal5CpcsReceiveSduSize=atmVccAal5CpcsReceiveSduSize, atmVccAal5EncapsType=atmVccAal5EncapsType, atmVclCrossConnectIdentifier=atmVclCrossConnectIdentifier, atmVclRowStatus=atmVclRowStatus, atmVclCastType=atmVclCastType, atmVclConnKind=atmVclConnKind, atmVpCrossConnectIndexNext=atmVpCrossConnectIndexNext, atmVpCrossConnectTable=atmVpCrossConnectTable, atmVpCrossConnectEntry=atmVpCrossConnectEntry, atmVpCrossConnectIndex=atmVpCrossConnectIndex, atmVpCrossConnectLowIfIndex=atmVpCrossConnectLowIfIndex, atmVpCrossConnectLowVpi=atmVpCrossConnectLowVpi, atmVpCrossConnectHighIfIndex=atmVpCrossConnectHighIfIndex, atmVpCrossConnectHighVpi=atmVpCrossConnectHighVpi, atmVpCrossConnectAdminStatus=atmVpCrossConnectAdminStatus, atmVpCrossConnectL2HOperStatus=atmVpCrossConnectL2HOperStatus, atmVpCrossConnectH2LOperStatus=atmVpCrossConnectH2LOperStatus, atmVpCrossConnectL2HLastChange=atmVpCrossConnectL2HLastChange, atmVpCrossConnectH2LLastChange=atmVpCrossConnectH2LLastChange, atmVpCrossConnectRowStatus=atmVpCrossConnectRowStatus, atmVcCrossConnectIndexNext=atmVcCrossConnectIndexNext, atmVcCrossConnectTable=atmVcCrossConnectTable, atmVcCrossConnectEntry=atmVcCrossConnectEntry, atmVcCrossConnectIndex=atmVcCrossConnectIndex, atmVcCrossConnectLowIfIndex=atmVcCrossConnectLowIfIndex, atmVcCrossConnectLowVpi=atmVcCrossConnectLowVpi, atmVcCrossConnectLowVci=atmVcCrossConnectLowVci, atmVcCrossConnectHighIfIndex=atmVcCrossConnectHighIfIndex, atmVcCrossConnectHighVpi=atmVcCrossConnectHighVpi, atmVcCrossConnectHighVci=atmVcCrossConnectHighVci, atmVcCrossConnectAdminStatus=atmVcCrossConnectAdminStatus, atmVcCrossConnectL2HOperStatus=atmVcCrossConnectL2HOperStatus, atmVcCrossConnectH2LOperStatus=atmVcCrossConnectH2LOperStatus, atmVcCrossConnectL2HLastChange=atmVcCrossConnectL2HLastChange, atmVcCrossConnectH2LLastChange=atmVcCrossConnectH2LLastChange, atmVcCrossConnectRowStatus=atmVcCrossConnectRowStatus, aal5VccTable=aal5VccTable, aal5VccEntry=aal5VccEntry, aal5VccVpi=aal5VccVpi, aal5VccVci=aal5VccVci, aal5VccCrcErrors=aal5VccCrcErrors, aal5VccSarTimeOuts=aal5VccSarTimeOuts, aal5VccOverSizedSDUs=aal5VccOverSizedSDUs, atmTrafficDescrParamIndexNext=atmTrafficDescrParamIndexNext, atmMIBConformance=atmMIBConformance, atmMIBGroups=atmMIBGroups, atmMIBCompliances=atmMIBCompliances) # Groups mibBuilder.exportSymbols("ATM-MIB", atmInterfaceConfGroup=atmInterfaceConfGroup, atmTrafficDescrGroup=atmTrafficDescrGroup, atmInterfaceDs3PlcpGroup=atmInterfaceDs3PlcpGroup, atmInterfaceTCGroup=atmInterfaceTCGroup, atmVpcTerminationGroup=atmVpcTerminationGroup, atmVccTerminationGroup=atmVccTerminationGroup, atmVpCrossConnectGroup=atmVpCrossConnectGroup, atmVcCrossConnectGroup=atmVcCrossConnectGroup, aal5VccGroup=aal5VccGroup, atmInterfaceConfGroup2=atmInterfaceConfGroup2, atmTrafficDescrGroup2=atmTrafficDescrGroup2, atmVpcTerminationGroup2=atmVpcTerminationGroup2, atmVccTerminationGroup2=atmVccTerminationGroup2, atmVplCrossConnectGroup=atmVplCrossConnectGroup, atmVpPvcCrossConnectGroup=atmVpPvcCrossConnectGroup, atmVclCrossConnectGroup=atmVclCrossConnectGroup, atmVcPvcCrossConnectGroup=atmVcPvcCrossConnectGroup) # Compliances mibBuilder.exportSymbols("ATM-MIB", atmMIBCompliance=atmMIBCompliance, atmMIBCompliance2=atmMIBCompliance2) pysnmp-mibs-0.1.3/pysnmp_mibs/SNA-SDLC-MIB.py0000644000014400001440000024075611736645140020612 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python SNA-SDLC-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:39 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifAdminStatus, ifIndex, ifOperStatus, ) = mibBuilder.importSymbols("IF-MIB", "ifAdminStatus", "ifIndex", "ifOperStatus") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "TimeTicks", "mib-2") ( DisplayString, RowStatus, TimeInterval, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TimeInterval") # Objects snaDLC = ModuleIdentity((1, 3, 6, 1, 2, 1, 41)).setRevisions(("1994-11-15 00:00",)) if mibBuilder.loadTexts: snaDLC.setOrganization("IETF SNA DLC MIB Working Group") if mibBuilder.loadTexts: snaDLC.setContactInfo(" Wayne Clark\n\nPostal: cisco Systems, Inc.\n 3100 Smoketree Ct.\n Suite 1000\n Raleigh, NC 27604\n US\n\n Tel: +1 919 878 6958\n\nE-Mail: wclark@cisco.com") if mibBuilder.loadTexts: snaDLC.setDescription("This is the MIB module for objects used to\nmanage SDLC devices.") sdlc = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1)) sdlcPortGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 1)) sdlcPortAdminTable = MibTable((1, 3, 6, 1, 2, 1, 41, 1, 1, 1)) if mibBuilder.loadTexts: sdlcPortAdminTable.setDescription("This table contains objects that can be\nchanged to manage an SDLC port. Changing one\nof these parameters may take effect in the\noperating port immediately or may wait until\nthe interface is restarted depending on the\ndetails of the implementation.\n\nMost of the objects in this read-write table\nhave corresponding read-only objects in the\nsdlcPortOperTable that return the current\noperating value.\n\nThe operating values may be different from\nthese configured values if a configured\nparameter was changed after the interface was\nstarted.") sdlcPortAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sdlcPortAdminEntry.setDescription("A list of configured values for an SDLC port.") sdlcPortAdminName = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminName.setDescription("An octet string that defines the physical port\nto which this interface is assigned. It has\nimplementation-specific significance. Its value\nshall be unique within the administered\nsystem. It must contain only ASCII printable\ncharacters. Should an implementation choose to\naccept a write operation for this object, it\ncauses the logical port definition associated\nwith the table instance to be moved to a\ndifferent physical port. A write operation\nshall not take effect until the port is cycled\ninactive.") sdlcPortAdminRole = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("negotiable", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminRole.setDescription("This object describes the role that the link\nstation shall assume the next time a connection\nis established.\n\nEven though this is defined as a port object,\nit is a link station attribute in the sense\nthat a role is per link station. However, it\nis not possible to vary link station roles on a\nparticular port. For example, if an SDLC port\nis configured to primary, all link stations on\nthat port must be primary.") sdlcPortAdminType = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("leased", 1), ("switched", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminType.setDescription("This parameter defines whether the SDLC port\nis to connect to a leased or switched line. A\nwrite operation to this administrative value\nshall not take effect until the SDLC port has\nbeen cycled inactive.") sdlcPortAdminTopology = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("pointToPoint", 1), ("multipoint", 2), )).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminTopology.setDescription("This parameter defines whether the SDLC port is\ncapable of operating in either a point-to-point\nor multipoint topology.\n\nsdlcPortAdminTopology == multipoint implies the\nport can also operate in a point-to-point\ntopology. sdlcPortAdminTopology ==\npointToPoint does not imply the port can\noperate in a multipoint topology.\n\nA write operation to this administrative value\nshall not take effect until the SDLC port has\nbeen cycled inactive.") sdlcPortAdminISTATUS = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminISTATUS.setDescription("This parameter controls the initial value of\nthe administrative status, ifAdminStatus, of\nthis SDLC port at port start-up. Depending\non the implementation, a write operation to\nthis administrative object may not take effect\nuntil the SDLC port has been cycled inactive.") sdlcPortAdminACTIVTO = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 6), TimeInterval().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminACTIVTO.setDescription("This parameter defines the period of time (in\n1/100ths of a second) that the port will allow a\nswitched line to remain inactive before\ndisconnecting. A switched line is considered\nto be inactive if there are no I-Frames being\ntransferred. A value of zero indicates no\ntimeout. Depending on the implementation, a\nwrite operation to this administered value may\nnot take effect until the port is cycled\ninactive.\n\nThis object only has meaning for SDLC ports\nwhere sdlcPortAdminType == switched\n\nThe object descriptor contains the name of an\nNCP configuration parameter, ACTIVTO. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP ACTIVTO is\nrepresented in seconds.") sdlcPortAdminPAUSE = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 7), TimeInterval().clone('200')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminPAUSE.setDescription("This object defines the minimum elapsed time\n(in 1/100ths of a second) between any two\ntraversals of the poll list for a primary SDLC\nport. Depending on the implementation, a write\noperation to this administered value may not\ntake effect until the port is cycled inactive.\nThe object descriptor contains the name of an\nNCP configuration parameter, PAUSE. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP PAUSE is\nrepresented in 1/10ths of a second.\n\nThis object only has meaning for SDLC ports\nwhere sdlcPortAdminRole == primary ") sdlcPortAdminSERVLIM = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 8), Integer32().clone(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminSERVLIM.setDescription("This object defines the number of times the\nactive poll list will be traversed before\npolling a station on the slow poll list for a\nprimary, multipoint SDLC port. Depending on\nthe implementation, a write operation to this\nadministered value may not take effect until\nthe port is cycled inactive.\n\nThis object only has meaning for SDLC ports\nwhere\n sdlcPortAdminRole == primary\nand\n sdlcPortAdminTopology == multipoint ") sdlcPortAdminSlowPollTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 1, 1, 9), TimeInterval().clone('2000')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sdlcPortAdminSlowPollTimer.setDescription("This object describes the elapsed time (in\n1/100ths of a second) between polls for failed\nsecondary link station addresses. Depending\non the implementation, a write operation to\nthis administered value may not take effect\nuntil the port is cycled inactive.\n\nThis object only has meaning for SDLC ports\nwhere\n sdlcPortAdminRole == primary\nand\n sdlcPortAdminTopology == multipoint ") sdlcPortOperTable = MibTable((1, 3, 6, 1, 2, 1, 41, 1, 1, 2)) if mibBuilder.loadTexts: sdlcPortOperTable.setDescription("This table contains current SDLC port\nparameters. Many of these objects have\ncorresponding objects inthe sdlcPortAdminTable.") sdlcPortOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sdlcPortOperEntry.setDescription("Currently set parameters for a specific SDLC\nport.") sdlcPortOperName = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperName.setDescription("An octet string that describes the physical\nport to which this interface is currently\nattached. It has implementation-specific\nsignificance.") sdlcPortOperRole = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("undefined", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperRole.setDescription("This object describes the role that the link\nstation has assumed on this connection.\n\nEven though this is defined as a port object,\nit is a link station attribute in the sense\nthat a role is per link station. However, it\nis not possible to vary link station roles on a\nparticular port. For example, if an SDLC port\nis configured to primary, all link stations on\nthat port must be primary.\n\nThe value of sdlcPortOperRole is undefined(3)\nwhenever the link station role has not yet been\nestablished by the mode setting command.") sdlcPortOperType = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("leased", 1), ("switched", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperType.setDescription("This parameter defines whether the SDLC port\nis currently operating as though connected to a\nleased or switched line.") sdlcPortOperTopology = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("pointToPoint", 1), ("multipoint", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperTopology.setDescription("This parameter defines whether the SDLC port is\ncurrently operating in a point-to-point or\nmultipoint topology.") sdlcPortOperISTATUS = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperISTATUS.setDescription("This parameter describes the initial value of\nthe administrative status, ifAdminStatus, of\nthis SDLC port at last port start-up.") sdlcPortOperACTIVTO = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 6), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperACTIVTO.setDescription("This parameter defines the period of time (in\n100ths of a second) that the port will allow a\nswitched line to remain inactive before\ndisconnecting. A switched line is considered\nto be inactive if there are no I-Frames being\ntransferred.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, ACTIVTO. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP ACTIVTO is\nrepresented in seconds.\nA value of zero indicates no timeout.") sdlcPortOperPAUSE = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 7), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperPAUSE.setDescription("This object describes the current minimum\nelapsed time (in 1/100ths of a second) between\nany two traversals of the poll list for a\nprimary SDLC port.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, PAUSE. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP PAUSE is\nrepresented in 1/10ths of a second.\n\nThis object only has meaning for SDLC ports\nwhere\n sdlcPortAdminRole == primary ") sdlcPortOperSlowPollMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("servlim", 1), ("pollpause", 2), ("other", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperSlowPollMethod.setDescription("This object defines the exact method that is in\neffect for periodically polling failed secondary\nlink station addresses.\n\nIf sdlcPortOperSlowPollMethod == servlim, then\nsdlcPortOperSERVLIM defines the actual polling\ncharacteristics.\n\nIf sdlcPortOperSlowPollMethod == pollpause,\nthen sdlcPortOperSlowPollTimer defines the\nactual polling characteristics.\n\nIf sdlcPortOperSlowPollMethod == other, then\nthe polling characteristics are modeled in\nvendor-specific objects.\n\nThis object only has meaning for SDLC ports\nwhere\n sdlcPortOperRole == primary\nand\n sdlcPortOperTopology == multipoint ") sdlcPortOperSERVLIM = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperSERVLIM.setDescription("This object describes the number of times the\nactive poll list is currently being traversed\nbefore polling a station on the slow poll list\nfor a primary, multipoint SDLC port.\n\nThis object only has meaning for SDLC ports\nwhere\n sdlcPortOperRole == primary\nand\n sdlcPortOperTopology == multipoint ") sdlcPortOperSlowPollTimer = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 10), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperSlowPollTimer.setDescription("This object describes the elapsed time (in\n1/100ths of a second) between polls for failed\nsecondary link station addresses.\n\nThis object only has meaning for SDLC ports\nwhere\n sdlcPortOperRole == primary\nand\n sdlcPortOperTopology == multipoint ") sdlcPortOperLastModifyTime = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 11), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperLastModifyTime.setDescription("This object describes the value of sysUpTime\nwhen this port definition was last modified.\nIf the port has not been modified, then this\nvalue shall be zero.") sdlcPortOperLastFailTime = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 12), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperLastFailTime.setDescription("This object describes the value of sysUpTime\nwhen this SDLC port last failed. If the port\nhas not failed, then this value shall be zero.") sdlcPortOperLastFailCause = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 2, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("undefined", 1), ("physical", 2), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortOperLastFailCause.setDescription("This enumerated object describes the cause of\nthe last failure of this SDLC port. If the\nport has not failed, then this object has a\nvalue of undefined(1).") sdlcPortStatsTable = MibTable((1, 3, 6, 1, 2, 1, 41, 1, 1, 3)) if mibBuilder.loadTexts: sdlcPortStatsTable.setDescription("Each entry in this table contains statistics\nfor a specific SDLC port.") sdlcPortStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: sdlcPortStatsEntry.setDescription("A list of statistics for an SDLC port.") sdlcPortStatsPhysicalFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsPhysicalFailures.setDescription("This object reflects the total number of times\nthis port has failed due to its physical media\nsince port startup. At port startup time,\nthis object must be initialized to zero.") sdlcPortStatsInvalidAddresses = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsInvalidAddresses.setDescription("This object reflects the total number of\nframes received by this port with invalid link\nstation addresses.") sdlcPortStatsDwarfFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsDwarfFrames.setDescription("This object reflects the total number of\nframes received by this port which were\ndelivered intact by the physical layer but were\ntoo short to be legal.\n\nIgnoring the frame check sequence (FCS), a\nframe is considered to be too short if it\nis less than 2 bytes for sdlcLSOperMODULO of\neight, or if it is less than 3 bytes for\nsdlcLSOperMODULO of onetwentyeight.") sdlcPortStatsPollsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsPollsIn.setDescription("This object reflects the total number of polls\nreceived by this port since the port was\ncreated.") sdlcPortStatsPollsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsPollsOut.setDescription("This object reflects the total number of polls\nsent by this port since the port was created.") sdlcPortStatsPollRspsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsPollRspsIn.setDescription("This object reflects the total number of poll\nresponses received by this port since the port\nwas created.") sdlcPortStatsPollRspsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsPollRspsOut.setDescription("This object reflects the total number of poll\nresponses sent by this port since the port was\ncreated.") sdlcPortStatsLocalBusies = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsLocalBusies.setDescription("This object reflects the total number of\ntimes that the local SDLC link stations on\nthis port have entered a busy state (RNR).\nThis object is initialized to zero when the\nport is created.") sdlcPortStatsRemoteBusies = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsRemoteBusies.setDescription("This object reflects the total number of\ntimes that the adjacent (i.e., remote) SDLC\nlink stations on this port have entered a busy\nstate (RNR). This object is initialized to\nzero when the port is created.") sdlcPortStatsIFramesIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsIFramesIn.setDescription("This object reflects the total number of\nI-Frames that have been received by SDLC link\nstations on this port. This object is\ninitialized to zero when the port is created.") sdlcPortStatsIFramesOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsIFramesOut.setDescription("This object reflects the total number of\nI-Frames that have been transmitted by SDLC\nlink stations on this port. This object is\ninitialized to zero when the port is created.") sdlcPortStatsOctetsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsOctetsIn.setDescription("This object reflects the total octets\nreceived from adjacent SDLC link stations on\nthis port. This object covers the address,\ncontrol, and information field of I-Frames\nonly. This object is initialized to zero when\nthe port is created.") sdlcPortStatsOctetsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsOctetsOut.setDescription("This object reflects the total octets\ntransmitted to adjacent SDLC link stations on\nthis port. This object covers the address,\ncontrol, and information field of I-Frames\nonly. This object is initialized to zero when\nthe port is created.") sdlcPortStatsProtocolErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsProtocolErrs.setDescription("This object reflects the total number of\ntimes that the SDLC link stations on this port\nhave deactivated the link as a result of\nhaving received a protocol violation from the\nadjacent link station. This object is\ninitialized to zero when the port is created.") sdlcPortStatsActivityTOs = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsActivityTOs.setDescription("This object reflects the total number of\ntimes that the SDLC link stations on this port\nhave deactivated the link as a result of no\nactivity on the link. This object is\ninitialized to zero when the port is created.") sdlcPortStatsRNRLIMITs = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsRNRLIMITs.setDescription("This object reflects the total number of\ntimes that the SDLC link stations on this port\nhave deactivated the link as a result of its\nRNRLIMIT timer expiring. This object is\ninitialized to zero when the port is created.") sdlcPortStatsRetriesExps = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsRetriesExps.setDescription("This object reflects the total number of\ntimes that the SDLC link stations on this port\nhave deactivated the link as a result of a\nretry sequence being exhausted. This object\nis initialized to zero when the port is\ncreated.") sdlcPortStatsRetransmitsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsRetransmitsIn.setDescription("This object reflects the total number of\nI-Frames retransmitted by remote link stations\nfor all SDLC link stations on this port. This\nobject is initialized to zero when the port is\ncreated.") sdlcPortStatsRetransmitsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 1, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcPortStatsRetransmitsOut.setDescription("This object reflects the total number of\nI-Frames retransmitted by all local SDLC link\nstations on this port. This object is\ninitialized to zero when the port is created.") sdlcLSGroup = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 2)) sdlcLSAdminTable = MibTable((1, 3, 6, 1, 2, 1, 41, 1, 2, 1)) if mibBuilder.loadTexts: sdlcLSAdminTable.setDescription("This table contains objects that can be\nchanged to manage an SDLC link station.\nChanging one of these parameters may take\neffect in the operating link immediately or may\nwait until the link is restarted depending on\nthe details of the implementation.\n\nThe entries in sdlcLSAdminTable can be created\neither by an agent or a management station. The\nmanagement station can create an entry in\nsdlcLSAdminTable by setting the appropriate\nvalue in sdlcLSAdminRowStatus.\n\nMost of the objects in this read-create table\nhave corresponding read-only objects in the\nsdlcLSOperTable that reflect the current\noperating value.\n\nThe operating values may be different from\nthese configured values if changed by XID\nnegotiation or if a configured parameter was\nchanged after the link was started.") sdlcLSAdminEntry = MibTableRow((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SNA-SDLC-MIB", "sdlcLSAddress")) if mibBuilder.loadTexts: sdlcLSAdminEntry.setDescription("A list of configured values for an SDLC link\nstation.") sdlcLSAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAddress.setDescription("This value is the poll address of the\nsecondary link station for this SDLC link. It\nuniquely identifies the SDLC link station\nwithin a single SDLC port.") sdlcLSAdminName = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminName.setDescription("An octet string that defines the local name of\nthe SDLC link station. This field may be sent\nin the XID3 control vector 0x0E, type 0xF7.") sdlcLSAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminState.setDescription("This object controls the desired state of the\nSDLC station. The managed system shall attempt\nto keep the operational state, sdlcLSOperState,\nconsistent with this value.") sdlcLSAdminISTATUS = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("inactive", 1), ("active", 2), )).clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminISTATUS.setDescription("This parameter controls the desired state,\nsdlcLSAdminState, of the SDLC link station at\nlink station start-up.") sdlcLSAdminMAXDATASend = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 5), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminMAXDATASend.setDescription("This object contains the maximum PDU size that\nthe local link station thinks it can send to\nthe adjacent link station before having\nreceived any XID from the ALS. After the\nmaximum PDU size that the ALS can receive is\nknown (via XID exchange) that value is\nreflected in sdlcLSOperMAXDATASend and takes\nprecedence over this object.\n\nThis value includes the Transmission Header\n(TH) and the Request Header (RH).") sdlcLSAdminMAXDATARcv = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 6), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminMAXDATARcv.setDescription("This object contains the maximum PDU size that\nthe local link station can receive from the\nadjacent link station. This value is sent in\nthe XID to the ALS.\n\nThis value includes the Transmission Header\n(TH) and the Request Header (RH).") sdlcLSAdminREPLYTO = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 7), TimeInterval().clone('100')).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminREPLYTO.setDescription("This object controls the reply timeout (in\n1/100ths of a second) for an SDLC link\nstation. If the link station does not receive\na response to a poll or message before the\nspecified time expires then the appropriate\nerror recovery shall be initiated.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, REPLYTO. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP REPLYTO is\nrepresented in 1/10ths of a second.\n\nDepending on the implementation, a write\noperation to this administered value may not\nchange the operational value, sdlcLSOperREPLYTO,\nuntil the link station is cycled inactive.\n\nThis object only has meaning for SDLC ports\nwhere sdlcPortAdminRole == primary ") sdlcLSAdminMAXIN = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127)).clone(7)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminMAXIN.setDescription("This object controls the maximum number of\nunacknowledged I-frames which an SDLC link\nstation may receive. This should range from 1\nto (sdlcLSAdminMODULO - 1). This value is sent\nin the XID to the ALS.\n\nA write operation to this administered value\nwill not change the operational value,\nsdlcLSOperMAXIN, until the link station is\ncycled inactive.") sdlcLSAdminMAXOUT = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminMAXOUT.setDescription("This object controls the maximum number of\nconsecutive unacknowledged I-frames which an\nSDLC link station shall send without an\nacknowledgement. This shall range from 1 to\n(sdlcLSAdminMODULO - 1).\n\nFor link stations on switched SDLC lines,\ncertain implementions may choose to override\nthis administered value with the value\nreceived in the XID exchange.\n\nDepending on the implementation, a write\noperation to this administered value may not\nchange the operational value,\nsdlcLSOperMAXOUT, until the link station is\ncycled inactive.\n\nAn implementation can support only modulo 8,\nonly modulo 128, or both.") sdlcLSAdminMODULO = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 10), Integer().subtype(subtypeSpec=SingleValueConstraint(128,8,)).subtype(namedValues=NamedValues(("onetwentyeight", 128), ("eight", 8), )).clone(8)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminMODULO.setDescription("This object controls the modulus for an SDLC\nlink station. This modulus determines the size\nof the rotating acknowledgement window used the\nSDLC link station pair.\n\nA write operation to this administered value\nwill not change the operational value,\nsdlcLSOperMODULO, until the link station is\ncycled inactive.\n\nAn implementation can support only modulo 8,\nonly modulo 128, or both.") sdlcLSAdminRETRIESm = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128)).clone(15)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminRETRIESm.setDescription("This object controls number of retries in a\nretry sequence for the local SDLC link\nstation. A retry sequence is a series of\nretransmitted frames ( data or control) for\nwhich no positive acknowledgement is received.\n\nThe number of times that the retry sequence is\nto be repeated is controlled by the object:\nsdlcLSAdminRETRIESn. The interval between retry\nsequences is controlled by the object:\nsdlcLSAdminRETRIESt.\n\nA value of zero indicates no retries. If the\nvalue of sdlcLSAdminRETRIESm is zero, then the\nvalues of sdlcLSAdminRETRIESt and\nsdlcLSAdminRETRIESn should also be zero.\n\nDepending on the implementation, a write\noperation to this administered value may not\nchange the operational value,\nsdlcLSOperRETRIESm, until the link station is\ncycled inactive.") sdlcLSAdminRETRIESt = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 12), TimeInterval().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminRETRIESt.setDescription("This object controls the interval (in 1/100ths\nof a second) between retry sequences for the\nlocal SDLC link station if multiple retry\nsequences are specified . A retry sequence is\na series of retransmitted frames ( data or\ncontrol) for which no positive acknowledgement\nis received.\n\nThe number of repeated retries sequences is\ncontrolled by the object: sdlcLSAdminRETRIESn.\nThe retries per sequence is controlled by the\nobject: sdlcLSAdminRETRIESm.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, RETRIESt. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP RETRIESt is\nrepresented in seconds.\n\nDepending on the implementation, a write\noperation to this administered value may not\nchange the operational value,\nsdlcLSOperRETRIESt, until the link station is\ncycled inactive.") sdlcLSAdminRETRIESn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 13), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminRETRIESn.setDescription("This object controls the number of times that\na retry sequence is repeated for the local SDLC\nlink station. A retry sequence is a series of\nretransmitted frames ( data or control) for\nwhich no positive acknowledgement is received.\n\nThe interval between retry sequences is\ncontrolled by the object: sdlcLSAdminRETRIESn.\nThe retries per sequence is controlled by the\nobject: sdlcLSAdminRETRIESm.\n\nDepending on the implementation, a write\noperation to this administered value may not\nchange the operational value,\nsdlcLSOperRETRIESn, until the link station is\ncycled inactive.") sdlcLSAdminRNRLIMIT = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 14), TimeInterval().clone('18000')).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminRNRLIMIT.setDescription("This object controls the length of time (in\n1/100ths of a second) that an SDLC link station\nwill allow its adjacent link station to remain\nin a busy (RNR) state before declaring it\ninoperative.\n\nA value of sdlcLSAdminRNRLIMIT == 0 means there\nis no limit.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, RNRLIMIT. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP RNRLIMIT is\nrepresented in minutes.\n\nDepending on the implementation, a write\noperation to this administered value may not\nchange the operational value,\nsdlcLSOperRNRLIMIT, until the link station is\ncycled inactive.") sdlcLSAdminDATMODE = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("half", 1), ("full", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminDATMODE.setDescription("This object controls whether communications\nmode with the adjacent link station is\ntwo-way-alternate (half) or two-way-simultaneous\n(full).\n\nA write operation to this administered value\nwill not change the operational value,\nsdlcLSOperDATMODE, until the link station is\ncycled inactive.") sdlcLSAdminGPoll = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminGPoll.setDescription("This object describes the group poll address\nfor this link station instance. If group poll\nis not in effect for this link station\ninstance, the value for sdlcLSAdminGPoll should\nbe zero.\n\nDepending on the implementation, a write\noperation to this administered value may not\nchange the operational value, sdlcLSOperGPoll,\nuntil the link station is cycled inactive.") sdlcLSAdminSimRim = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminSimRim.setDescription("This object controls the support for\ntransmission and receipt of SIM and RIM control\nframes for this link station. The value of\nthis object controls the setting of the\ntransmit-receive capability sent in the XID\nfield.") sdlcLSAdminXmitRcvCap = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 18), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("twa", 1), ("tws", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminXmitRcvCap.setDescription("This object controls the transmit-receive\ncapabilities for this SDLC link station. The\nvalue of this object establishes the value of\nthe transmit-receive capability indicator sent\nin the XID image to the adjacent link station.") sdlcLSAdminRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 1, 1, 19), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: sdlcLSAdminRowStatus.setDescription("This object is used by a management station to\ncreate or delete the row entry in\nsdlcLSAdminTable following the RowStatus\ntextual convention.\n\nUpon successful creation of the row, an agent\nautomatically creates a corresponding entry in\nthe sdlcLSOperTable with sdlcLSOperState equal\nto 'discontacted (1)'.") sdlcLSOperTable = MibTable((1, 3, 6, 1, 2, 1, 41, 1, 2, 2)) if mibBuilder.loadTexts: sdlcLSOperTable.setDescription("This table contains current SDLC link\nparameters. Many of these objects have\ncorresponding objects in the\nsdlcLSAdminTable.") sdlcLSOperEntry = MibTableRow((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SNA-SDLC-MIB", "sdlcLSAddress")) if mibBuilder.loadTexts: sdlcLSOperEntry.setDescription("A list of status and control values for an\nSDLC link station.") sdlcLSOperName = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperName.setDescription("An octet string that defines the name of the\nremote SDLC link station. This field is\nreceived in the XID3 control vector 0x0E, type\n0xF7.") sdlcLSOperRole = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("undefined", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperRole.setDescription("This object reflects the current role that the\nlink station is assuming.\n\nThe value of sdlcLSOperRole is undefined(3)\nwhenever the link station role has not yet been\nestablished by the mode setting command.") sdlcLSOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(4,2,1,3,)).subtype(namedValues=NamedValues(("discontacted", 1), ("contactPending", 2), ("contacted", 3), ("discontactPending", 4), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperState.setDescription("This object describes the operational state of\nthe SDLC link station. The managed system\nshall attempt to keep this value consistent\nwith the administered state, sdlcLSAdminState") sdlcLSOperMAXDATASend = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperMAXDATASend.setDescription("This object contains the actual maximum PDU\nsize that the local link station can send to\nthe adjacent link station. This object is\nestablished from the value received in the XID\nfrom the adjacent link station. If no XID\nis received, then this value is implementation\ndependent (for instance, it could be the value\nof sdlcLSAdminMAXDATASend).\nThis value includes the Transmission Header\n(TH) and the Request Header (RH).") sdlcLSOperREPLYTO = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 5), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperREPLYTO.setDescription("This object reflects the current reply timeout\n(in 1/100ths of a second) for an SDLC link\nstation. If the link station does not receive\na response to a poll or message before the\nspecified time expires then the appropriate\nerror recovery shall be initiated.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, REPLYTO. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP REPLYTO is\nrepresented in 1/10ths of a second.\n\nThis object only has meaning for SDLC ports\nwhere sdlcPortOperRole == primary ") sdlcLSOperMAXIN = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperMAXIN.setDescription("This object reflects the current maximum\nnumber of unacknowledged I-frames which an SDLC\nlink station may receive. This shall range\nfrom 1 to (sdlcLSOperMODULO - 1).") sdlcLSOperMAXOUT = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperMAXOUT.setDescription("This object controls the maximum number of\nconsecutive unacknowledged I-frames which an\nSDLC link station shall send without an\nacknowledgement. This shall range from 1 to\n(sdlcLSAdminMODULO - 1).\nThis value may controlled by the administered\nMAXOUT, sdlcLSAdminMAXOUT, or by the MAXIN value\nreceived during the XID exchange.") sdlcLSOperMODULO = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(128,8,)).subtype(namedValues=NamedValues(("onetwentyeight", 128), ("eight", 8), )).clone(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperMODULO.setDescription("This object reflects the current modulus for\nan SDLC link station. This modulus determines\nthe size of rotating acknowledgement window\nused by the SDLC link station pair.") sdlcLSOperRETRIESm = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperRETRIESm.setDescription("This object controls number of retries in a\nretry sequence for an SDLC link station. A\nretry sequence is a series of retransmitted\nframes ( data or control) for which no positive\nacknowledgement is received.\n\nThe current number of times that the retry\nsequence is to be repeated is reflected by the\nobject: sdlcLSOperRETRIESn. The current\ninterval between retry sequences is reflected\nby the object: sdlcLSOperRETRIESt.") sdlcLSOperRETRIESt = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 10), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperRETRIESt.setDescription("This object reflects the current interval (in\n1/100ths of a second) between retry sequences\nfor an SDLC link station if multiple retry\nsequences are specified. A retry sequence is a\nseries of retransmitted frames ( data or\ncontrol) for which no positive acknowledgement\nis received.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, RETRIESt. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP RETRIESt is\nrepresented in seconds.\n\nThe current number of repeated retries\nsequences is reflected by the object:\nsdlcLSOperRETRIESn. The current retries per\nsequence is reflected by the object:\nsdlcLSOperRETRIESm.") sdlcLSOperRETRIESn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperRETRIESn.setDescription("This object reflects the current number of\ntimes that a retry sequence is repeated for an\nSDLC link station. A retry sequence is a\nseries of retransmitted frames ( data or\ncontrol) for which no positive acknowledgement\nis received.\n\nThe current interval between retry sequences is\nreflected by the object: sdlcLSOperRETRIESn.\nThe current retries per sequence is reflected\nby the object: sdlcLSOperRETRIESm.") sdlcLSOperRNRLIMIT = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 12), TimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperRNRLIMIT.setDescription("This object reflects the current length of\ntime (in 1/100ths of a second) that an SDLC\nlink station will allow its adjacent link\nstation to remain in a busy (RNR) state before\ndeclaring it inoperative.\n\nThe object descriptor contains the name of an\nNCP configuration parameter, RNRLIMIT. Please\nnote that the value of this object represents\n1/100ths of a second while the NCP RNRLIMIT is\nrepresented in minutes.\n\nA value of sdlcLSOperRNRLIMIT == 0 means there\nis no limit.") sdlcLSOperDATMODE = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 13), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("half", 1), ("full", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperDATMODE.setDescription("This object reflects whether the current\ncommunications mode with the adjacent link\nstation is two-way-alternate (half) or\ntwo-way-simultaneous (full).") sdlcLSOperLastModifyTime = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 14), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperLastModifyTime.setDescription("This object describes the value of sysUpTime\nwhen this link station definition was last\nmodified. If the link station has not been\nmodified, then this value shall be zero.") sdlcLSOperLastFailTime = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperLastFailTime.setDescription("This object describes the value of sysUpTime\nwhen this SDLC link station last failed. If\nthe link station has not failed, then this\nvalue shall be zero.") sdlcLSOperLastFailCause = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 16), Integer().subtype(subtypeSpec=SingleValueConstraint(6,1,2,5,7,8,4,3,)).subtype(namedValues=NamedValues(("undefined", 1), ("rxFRMR", 2), ("txFRMR", 3), ("noResponse", 4), ("protocolErr", 5), ("noActivity", 6), ("rnrLimit", 7), ("retriesExpired", 8), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperLastFailCause.setDescription("This enumerated object reflects the cause of\nthe last failure of this SDLC link station. If\nthe link station has not failed, then this\nobject will have a value of undefined(1).") sdlcLSOperLastFailCtrlIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperLastFailCtrlIn.setDescription("This object reflects the last control octet or\noctets (depending on modulus) received by this\nSDLC link station at the time of the last\nfailure. If the link station has not failed,\nthen this value has no meaning.") sdlcLSOperLastFailCtrlOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 18), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperLastFailCtrlOut.setDescription("This object reflects the last control octet or\noctets (depending on modulus) sent by this SDLC\nlink station at the time of the last failure.\nIf the link station has not failed, then this\nvalue has no meaning.") sdlcLSOperLastFailFRMRInfo = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 19), OctetString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperLastFailFRMRInfo.setDescription("This object reflects the information field of\nthe FRMR frame if the last failure for this\nSDLC link station was as a result of an invalid\nframe. Otherwise, this field has no meaning.") sdlcLSOperLastFailREPLYTOs = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperLastFailREPLYTOs.setDescription("This object reflects the number of times that\nthe REPLYTO timer had expired for an SDLC link\nstation at the time of the last failure. If the\nlink station has not failed, then this value\nhas no meaning.") sdlcLSOperEcho = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperEcho.setDescription("This object identifies whether the echo bit is\nin effect for this particular link station.") sdlcLSOperGPoll = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254)).clone(0)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperGPoll.setDescription("This object describes the group poll address\nin effect for this link station instance.") sdlcLSOperSimRim = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("no", 1), ("yes", 2), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperSimRim.setDescription("This object reflects the support for\ntransmission and receipt of SIM and RIM control\nframes for the adjacent link station. The\nvalue of this object is set from the XID field\nreceived from the adjacent link station.") sdlcLSOperXmitRcvCap = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 2, 1, 24), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("twa", 1), ("tws", 2), )).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSOperXmitRcvCap.setDescription("This object reflects the transmit-receive\ncapabilities for the adjacent SDLC link\nstation. The value of this object is the value\nof the transmit-receive capability indicator\nreceived in the XID image from the adjacent\nlink station.") sdlcLSStatsTable = MibTable((1, 3, 6, 1, 2, 1, 41, 1, 2, 3)) if mibBuilder.loadTexts: sdlcLSStatsTable.setDescription("Each entry in this table contains statistics\nfor a specific SDLC link station.") sdlcLSStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SNA-SDLC-MIB", "sdlcLSAddress")) if mibBuilder.loadTexts: sdlcLSStatsEntry.setDescription("A list of statistics for an SDLC link station.") sdlcLSStatsBLUsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsBLUsIn.setDescription("This object reflects the total basic link\nunits (BLUs; frames) received from an adjacent\nSDLC link station since link station startup.\nAt link station startup time, this object must\nbe initialized to zero.") sdlcLSStatsBLUsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsBLUsOut.setDescription("This object reflects the total basic link\nunits (BLUs; frames), transmitted to an\nadjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsOctetsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsOctetsIn.setDescription("This object reflects the total octets received\nfrom an adjacent SDLC link station since link\nstation startup. This object covers the\naddress, control, and information field of\nI-Frames only. At link station startup time,\nthis object must be initialized to zero.") sdlcLSStatsOctetsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsOctetsOut.setDescription("This object reflects the total octets\ntransmitted to an adjacent SDLC link station\nsince link station startup. This object covers\nthe address, control, and information field of\nI-Frames only. At link station startup time,\nthis object must be initialized to zero.") sdlcLSStatsPollsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsPollsIn.setDescription("This object reflects the total polls received\nfrom an adjacent SDLC link station since link\nstation startup. At link station startup time,\nthis object must be initialized to zero.") sdlcLSStatsPollsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsPollsOut.setDescription("This object reflects the total polls sent to\nan adjacent SDLC link station since link\nstation startup. At link station startup time,\nthis object must be initialized to zero.") sdlcLSStatsPollRspsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsPollRspsOut.setDescription("This object reflects the total number of poll\nresponses sent to the adjacent SDLC link\nstation since link station startup. This value\nincludes I-frames that are sent in response to\na poll.\n\nAt link station startup time, this object must\nbe initialized to zero.") sdlcLSStatsPollRspsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsPollRspsIn.setDescription("This object reflects the total number of poll\nresponses received from the adjacent SDLC link\nstation since station startup. This value\nincludes I-frames that are received in response\nto a poll.\n\nAt link station startup time, this object must\nbe initialized to zero.") sdlcLSStatsLocalBusies = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsLocalBusies.setDescription("This object reflects the total number of times\nthat the local SDLC link station has entered a\nbusy state (RNR) since link station startup.\nAt link station startup time, this object must\nbe initialized to zero.") sdlcLSStatsRemoteBusies = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsRemoteBusies.setDescription("This object reflects the total number of times\nthat an adjacent ( remote) SDLC link station\nhas entered a busy state (RNR) since link\nstation startup. At link station startup time,\nthis object must be initialized to zero.") sdlcLSStatsIFramesIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsIFramesIn.setDescription("This object reflects the total I-frames\nreceived from an adjacent SDLC link station\nsince link station startup. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsIFramesOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsIFramesOut.setDescription("This object reflects the total I-frames\ntransmitted to an adjacent SDLC link station\nsince link station startup. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsUIFramesIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsUIFramesIn.setDescription("This object reflects the total UI-frames\nreceived from an adjacent SDLC link station\nsince link station startup.") sdlcLSStatsUIFramesOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsUIFramesOut.setDescription("This object reflects the total UI-frames\ntransmitted to an adjacent SDLC link station\nsince link station startup.") sdlcLSStatsXIDsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsXIDsIn.setDescription("This object reflects the total XID frames\nreceived from an adjacent SDLC link station\nsince link station startup.") sdlcLSStatsXIDsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsXIDsOut.setDescription("This object reflects the total XID frames\ntransmitted to an adjacent SDLC link station\nsince link station startup.") sdlcLSStatsTESTsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsTESTsIn.setDescription("This object reflects the total TEST frames,\ncommands or responses, received from an\nadjacent SDLC link station since link station\nstartup.") sdlcLSStatsTESTsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsTESTsOut.setDescription("This object reflects the total TEST frames,\ncommands or responses, transmitted to an\nadjacent SDLC link station since link station\nstartup.") sdlcLSStatsREJsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsREJsIn.setDescription("This object reflects the total REJ frames\nreceived from an adjacent SDLC link station\nsince link station startup.") sdlcLSStatsREJsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsREJsOut.setDescription("This object reflects the total REJ frames\ntransmitted to an adjacent SDLC link station\nsince link station startup.") sdlcLSStatsFRMRsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsFRMRsIn.setDescription("This object reflects the total frame reject\n(FRMR) frames received from an adjacent SDLC\nlink station since link station startup.") sdlcLSStatsFRMRsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsFRMRsOut.setDescription("This object reflects the total frame reject\n(FRMR) frames transmitted to an adjacent SDLC\nlink station since link station startup.") sdlcLSStatsSIMsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsSIMsIn.setDescription("This object reflects the total set\ninitialization mode (SIM) frames received from\nan adjacent SDLC link station since link station\nstartup.") sdlcLSStatsSIMsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsSIMsOut.setDescription("This object reflects the total set\ninitialization mode (SIM) frames transmitted to\nan adjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsRIMsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsRIMsIn.setDescription("This object reflects the total request\ninitialization mode (RIM) frames received from\nan adjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsRIMsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsRIMsOut.setDescription("This object reflects the total request\ninitialization mode (RIM) frames transmitted to\nan adjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsDISCIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsDISCIn.setDescription("This object reflects the total number of\ndisconnect (DISC) requests received from an\nadjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsDISCOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsDISCOut.setDescription("This object reflects the total number of\ndisconnect (DISC) requests transmited to an\nadjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsUAIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsUAIn.setDescription("This object reflects the total number of\nunnumbered acknowledgements (UA) requests\nreceived from an adjacent SDLC link station\nsince link station startup. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsUAOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsUAOut.setDescription("This object reflects the total number of\nunnumbered acknowledgements (UA) requests\ntransmited to an adjacent SDLC link station\nsince link station startup. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsDMIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsDMIn.setDescription("This object reflects the total number of\ndisconnect mode (DM) requests received from an\nadjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsDMOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsDMOut.setDescription("This object reflects the total number of\ndisconnect mode (DM) requests transmited to an\nadjacent SDLC link station since link station\nstartup. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsSNRMIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsSNRMIn.setDescription("This object reflects the total number of\nset normal response mode (SNRM/SNRME) requests\nreceived from an adjacent SDLC link station\nsince link station startup. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsSNRMOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsSNRMOut.setDescription("This object reflects the total number of\nset normal response mode (SNRM/SNRME) requests\ntransmited to an adjacent SDLC link station\nsince link station startup. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsProtocolErrs = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsProtocolErrs.setDescription("This object reflects the total occurrences,\nsince link station startup, where this SDLC\nlink station has inactivated the link as a\nresult of receiving a frame from its adjacent\nlink station which was in violation of the\nprotocol. At link station startup time, this\nobject must be initialized to zero.") sdlcLSStatsActivityTOs = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsActivityTOs.setDescription("This object reflects the total occurrences,\nsince startup, where this SDLC link station has\ninactivated the link as a result of no activity\non the link. At link station startup time,\nthis object must be initialized to zero.") sdlcLSStatsRNRLIMITs = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsRNRLIMITs.setDescription("This object reflects the total occurrences,\nsince startup, where this SDLC link station has\ninactivated the link as a result of its\nRNRLIMIT timer expiring. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsRetriesExps = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsRetriesExps.setDescription("This object reflects the total occurrences,\nsince startup, where this SDLC link station has\ninactivated the link as a result of a retry\nsequence being exhausted. At link station\nstartup time, this object must be initialized\nto zero.") sdlcLSStatsRetransmitsIn = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsRetransmitsIn.setDescription("This object reflects the total number of\ninformation frames retransmitted by the remote\nlink station because the N(s) received from\nthat link station indicated that one or more\ninformation frames sent by that station were\nlost. This event causes the first missing\ninformation frame of a window and all\nsubsequent information frames to be\nretransmitted. At link station startup time,\nthis object must be initialized to zero.\n\nManagement: If the value of\nsdlcLSStatsRetransmitsIn grows over time, then\nthe quality of the serial line is in\nquestion. You might want to look at\ndecreasing the value for\nsdlcLSAdminMAXDATASend to compensate for the\nlower quality line.") sdlcLSStatsRetransmitsOut = MibTableColumn((1, 3, 6, 1, 2, 1, 41, 1, 2, 3, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sdlcLSStatsRetransmitsOut.setDescription("This object reflects the total number of\ninformation frames retransmitted to a remote\nlink station because the N(r) received from\nthat link station indicated that one or more\ninformation frames sent to that station were\nlost. This event causes the first missing\ninformation frame of a window and all\nsubsequent information frames to be\nretransmitted. At link station startup time,\nthis object must be initialized to zero.\n\nManagement: If the value of\nsdlcLSStatsRetransmitsOut grows over time,\nthen the quality of the serial line is in\nquestion. You might want to look at\ndecreasing the value for sdlcLSAdminMAXDATASend\nto compensate for the lower quality line.") sdlcTraps = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 3)) sdlcConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 4)) sdlcCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 4, 1)) sdlcGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 4, 2)) sdlcCoreGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 1)) sdlcPrimaryGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 2)) # Augmentions # Notifications sdlcPortStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 41, 1, 3, 1)).setObjects(*(("IF-MIB", "ifIndex"), ("SNA-SDLC-MIB", "sdlcPortOperLastFailCause"), ("SNA-SDLC-MIB", "sdlcPortOperLastFailTime"), ("IF-MIB", "ifAdminStatus"), ("IF-MIB", "ifOperStatus"), ) ) if mibBuilder.loadTexts: sdlcPortStatusChange.setDescription("This trap indicates that the state of an SDLC\nport has transitioned to active or inactive.") sdlcLSStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 41, 1, 3, 2)).setObjects(*(("SNA-SDLC-MIB", "sdlcLSOperLastFailTime"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailCtrlOut"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailREPLYTOs"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailCause"), ("IF-MIB", "ifIndex"), ("SNA-SDLC-MIB", "sdlcLSAdminState"), ("SNA-SDLC-MIB", "sdlcLSAddress"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailCtrlIn"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailFRMRInfo"), ("SNA-SDLC-MIB", "sdlcLSOperState"), ) ) if mibBuilder.loadTexts: sdlcLSStatusChange.setDescription("This trap indicates that the state of an SDLC\nlink station has transitioned to contacted or\ndiscontacted.") # Groups sdlcCorePortAdminGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 1, 1)).setObjects(*(("SNA-SDLC-MIB", "sdlcPortAdminName"), ("SNA-SDLC-MIB", "sdlcPortAdminRole"), ("SNA-SDLC-MIB", "sdlcPortAdminTopology"), ("SNA-SDLC-MIB", "sdlcPortAdminISTATUS"), ("SNA-SDLC-MIB", "sdlcPortAdminType"), ) ) if mibBuilder.loadTexts: sdlcCorePortAdminGroup.setDescription("The sdlcCorePortAdminGroup defines objects\nwhich are common to the PortAdmin group of all\ncompliant link stations.") sdlcCorePortOperGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 1, 2)).setObjects(*(("SNA-SDLC-MIB", "sdlcPortOperLastFailCause"), ("SNA-SDLC-MIB", "sdlcPortOperACTIVTO"), ("SNA-SDLC-MIB", "sdlcPortOperISTATUS"), ("SNA-SDLC-MIB", "sdlcPortOperName"), ("SNA-SDLC-MIB", "sdlcPortOperRole"), ("SNA-SDLC-MIB", "sdlcPortOperLastFailTime"), ("SNA-SDLC-MIB", "sdlcPortOperType"), ("SNA-SDLC-MIB", "sdlcPortOperTopology"), ) ) if mibBuilder.loadTexts: sdlcCorePortOperGroup.setDescription("The sdlcCorePortOperGroup defines objects\nwhich are common to the PortOper group of all\ncompliant link stations.") sdlcCorePortStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 1, 3)).setObjects(*(("SNA-SDLC-MIB", "sdlcPortStatsInvalidAddresses"), ("SNA-SDLC-MIB", "sdlcPortStatsDwarfFrames"), ("SNA-SDLC-MIB", "sdlcPortStatsPhysicalFailures"), ) ) if mibBuilder.loadTexts: sdlcCorePortStatsGroup.setDescription("The sdlcCorePortStatsGroup defines objects\nwhich are common to the PortStats group of all\ncompliant link stations.") sdlcCoreLSAdminGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 1, 4)).setObjects(*(("SNA-SDLC-MIB", "sdlcLSAdminGPoll"), ("SNA-SDLC-MIB", "sdlcLSAdminRNRLIMIT"), ("SNA-SDLC-MIB", "sdlcLSAdminDATMODE"), ("SNA-SDLC-MIB", "sdlcLSAdminName"), ("SNA-SDLC-MIB", "sdlcLSAdminMAXDATARcv"), ("SNA-SDLC-MIB", "sdlcLSAdminMAXIN"), ("SNA-SDLC-MIB", "sdlcLSAdminISTATUS"), ("SNA-SDLC-MIB", "sdlcLSAdminSimRim"), ("SNA-SDLC-MIB", "sdlcLSAdminRowStatus"), ("SNA-SDLC-MIB", "sdlcLSAdminMAXOUT"), ("SNA-SDLC-MIB", "sdlcLSAdminRETRIESm"), ("SNA-SDLC-MIB", "sdlcLSAdminState"), ("SNA-SDLC-MIB", "sdlcLSAddress"), ("SNA-SDLC-MIB", "sdlcLSAdminRETRIESt"), ("SNA-SDLC-MIB", "sdlcLSAdminMAXDATASend"), ("SNA-SDLC-MIB", "sdlcLSAdminMODULO"), ("SNA-SDLC-MIB", "sdlcLSAdminRETRIESn"), ) ) if mibBuilder.loadTexts: sdlcCoreLSAdminGroup.setDescription("The sdlcCorePortAdminGroup defines objects\nwhich are common to the PortAdmin group of all\ncompliant link stations.") sdlcCoreLSOperGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 1, 5)).setObjects(*(("SNA-SDLC-MIB", "sdlcLSOperLastFailTime"), ("SNA-SDLC-MIB", "sdlcLSOperRETRIESt"), ("SNA-SDLC-MIB", "sdlcLSOperRETRIESn"), ("SNA-SDLC-MIB", "sdlcLSOperGPoll"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailCause"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailCtrlIn"), ("SNA-SDLC-MIB", "sdlcLSOperEcho"), ("SNA-SDLC-MIB", "sdlcLSOperRNRLIMIT"), ("SNA-SDLC-MIB", "sdlcLSOperMODULO"), ("SNA-SDLC-MIB", "sdlcLSOperMAXOUT"), ("SNA-SDLC-MIB", "sdlcLSOperDATMODE"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailCtrlOut"), ("SNA-SDLC-MIB", "sdlcLSOperMAXDATASend"), ("SNA-SDLC-MIB", "sdlcLSOperRole"), ("SNA-SDLC-MIB", "sdlcLSOperRETRIESm"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailREPLYTOs"), ("SNA-SDLC-MIB", "sdlcLSOperLastFailFRMRInfo"), ("SNA-SDLC-MIB", "sdlcLSOperMAXIN"), ("SNA-SDLC-MIB", "sdlcLSOperState"), ) ) if mibBuilder.loadTexts: sdlcCoreLSOperGroup.setDescription("The sdlcCorePortOperGroup defines objects\nwhich are common to the PortOper group of all\ncompliant link stations.") sdlcCoreLSStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 1, 6)).setObjects(*(("SNA-SDLC-MIB", "sdlcLSStatsUIFramesOut"), ("SNA-SDLC-MIB", "sdlcLSStatsRemoteBusies"), ("SNA-SDLC-MIB", "sdlcLSStatsBLUsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsTESTsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsSIMsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsXIDsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsTESTsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsRIMsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsRNRLIMITs"), ("SNA-SDLC-MIB", "sdlcLSStatsPollRspsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsIFramesIn"), ("SNA-SDLC-MIB", "sdlcLSStatsREJsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsRetransmitsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsSIMsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsBLUsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsRetriesExps"), ("SNA-SDLC-MIB", "sdlcLSStatsPollsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsOctetsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsPollsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsREJsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsLocalBusies"), ("SNA-SDLC-MIB", "sdlcLSStatsFRMRsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsIFramesOut"), ("SNA-SDLC-MIB", "sdlcLSStatsFRMRsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsPollRspsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsRIMsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsXIDsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsUIFramesIn"), ("SNA-SDLC-MIB", "sdlcLSStatsOctetsIn"), ("SNA-SDLC-MIB", "sdlcLSStatsRetransmitsOut"), ("SNA-SDLC-MIB", "sdlcLSStatsProtocolErrs"), ) ) if mibBuilder.loadTexts: sdlcCoreLSStatsGroup.setDescription("The sdlcCorePortStatsGroup defines objects\nwhich are common to the PortStats group of all\ncompliant link stations.") sdlcPrimaryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 2, 1)).setObjects(*(("SNA-SDLC-MIB", "sdlcLSOperREPLYTO"), ("SNA-SDLC-MIB", "sdlcPortOperPAUSE"), ("SNA-SDLC-MIB", "sdlcPortAdminPAUSE"), ("SNA-SDLC-MIB", "sdlcLSAdminREPLYTO"), ) ) if mibBuilder.loadTexts: sdlcPrimaryGroup.setDescription("The sdlcPrimaryGroup defines objects which\nare common to all compliant primary link\nstations.") sdlcPrimaryMultipointGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 41, 1, 4, 2, 2, 2)).setObjects(*(("SNA-SDLC-MIB", "sdlcPortOperSERVLIM"), ("SNA-SDLC-MIB", "sdlcPortAdminSlowPollTimer"), ("SNA-SDLC-MIB", "sdlcPortAdminSERVLIM"), ("SNA-SDLC-MIB", "sdlcPortOperSlowPollTimer"), ("SNA-SDLC-MIB", "sdlcPortOperSlowPollMethod"), ) ) if mibBuilder.loadTexts: sdlcPrimaryMultipointGroup.setDescription("The sdlcPrimaryMultipointGroup defines objects\nwhich are common to all compliant primary link\nstations that are in a multipoint topology.") # Compliances sdlcCoreCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 41, 1, 4, 1, 1)).setObjects(*(("SNA-SDLC-MIB", "sdlcCoreLSStatsGroup"), ("SNA-SDLC-MIB", "sdlcCorePortAdminGroup"), ("SNA-SDLC-MIB", "sdlcCoreLSAdminGroup"), ("SNA-SDLC-MIB", "sdlcCoreLSOperGroup"), ("SNA-SDLC-MIB", "sdlcCorePortStatsGroup"), ("SNA-SDLC-MIB", "sdlcCorePortOperGroup"), ) ) if mibBuilder.loadTexts: sdlcCoreCompliance.setDescription("The core compliance statement for all SDLC\nnodes.") sdlcPrimaryCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 41, 1, 4, 1, 2)).setObjects(*(("SNA-SDLC-MIB", "sdlcPrimaryGroup"), ) ) if mibBuilder.loadTexts: sdlcPrimaryCompliance.setDescription("The compliance statement for all nodes that\nare performing the role of a Primary link\nstation.") sdlcPrimaryMultipointCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 41, 1, 4, 1, 3)).setObjects(*(("SNA-SDLC-MIB", "sdlcPrimaryMultipointGroup"), ) ) if mibBuilder.loadTexts: sdlcPrimaryMultipointCompliance.setDescription("The compliance statement for all nodes that\nare performing the role of a primary link\nstation on a multipoint line.") # Exports # Module identity mibBuilder.exportSymbols("SNA-SDLC-MIB", PYSNMP_MODULE_ID=snaDLC) # Objects mibBuilder.exportSymbols("SNA-SDLC-MIB", snaDLC=snaDLC, sdlc=sdlc, sdlcPortGroup=sdlcPortGroup, sdlcPortAdminTable=sdlcPortAdminTable, sdlcPortAdminEntry=sdlcPortAdminEntry, sdlcPortAdminName=sdlcPortAdminName, sdlcPortAdminRole=sdlcPortAdminRole, sdlcPortAdminType=sdlcPortAdminType, sdlcPortAdminTopology=sdlcPortAdminTopology, sdlcPortAdminISTATUS=sdlcPortAdminISTATUS, sdlcPortAdminACTIVTO=sdlcPortAdminACTIVTO, sdlcPortAdminPAUSE=sdlcPortAdminPAUSE, sdlcPortAdminSERVLIM=sdlcPortAdminSERVLIM, sdlcPortAdminSlowPollTimer=sdlcPortAdminSlowPollTimer, sdlcPortOperTable=sdlcPortOperTable, sdlcPortOperEntry=sdlcPortOperEntry, sdlcPortOperName=sdlcPortOperName, sdlcPortOperRole=sdlcPortOperRole, sdlcPortOperType=sdlcPortOperType, sdlcPortOperTopology=sdlcPortOperTopology, sdlcPortOperISTATUS=sdlcPortOperISTATUS, sdlcPortOperACTIVTO=sdlcPortOperACTIVTO, sdlcPortOperPAUSE=sdlcPortOperPAUSE, sdlcPortOperSlowPollMethod=sdlcPortOperSlowPollMethod, sdlcPortOperSERVLIM=sdlcPortOperSERVLIM, sdlcPortOperSlowPollTimer=sdlcPortOperSlowPollTimer, sdlcPortOperLastModifyTime=sdlcPortOperLastModifyTime, sdlcPortOperLastFailTime=sdlcPortOperLastFailTime, sdlcPortOperLastFailCause=sdlcPortOperLastFailCause, sdlcPortStatsTable=sdlcPortStatsTable, sdlcPortStatsEntry=sdlcPortStatsEntry, sdlcPortStatsPhysicalFailures=sdlcPortStatsPhysicalFailures, sdlcPortStatsInvalidAddresses=sdlcPortStatsInvalidAddresses, sdlcPortStatsDwarfFrames=sdlcPortStatsDwarfFrames, sdlcPortStatsPollsIn=sdlcPortStatsPollsIn, sdlcPortStatsPollsOut=sdlcPortStatsPollsOut, sdlcPortStatsPollRspsIn=sdlcPortStatsPollRspsIn, sdlcPortStatsPollRspsOut=sdlcPortStatsPollRspsOut, sdlcPortStatsLocalBusies=sdlcPortStatsLocalBusies, sdlcPortStatsRemoteBusies=sdlcPortStatsRemoteBusies, sdlcPortStatsIFramesIn=sdlcPortStatsIFramesIn, sdlcPortStatsIFramesOut=sdlcPortStatsIFramesOut, sdlcPortStatsOctetsIn=sdlcPortStatsOctetsIn, sdlcPortStatsOctetsOut=sdlcPortStatsOctetsOut, sdlcPortStatsProtocolErrs=sdlcPortStatsProtocolErrs, sdlcPortStatsActivityTOs=sdlcPortStatsActivityTOs, sdlcPortStatsRNRLIMITs=sdlcPortStatsRNRLIMITs, sdlcPortStatsRetriesExps=sdlcPortStatsRetriesExps, sdlcPortStatsRetransmitsIn=sdlcPortStatsRetransmitsIn, sdlcPortStatsRetransmitsOut=sdlcPortStatsRetransmitsOut, sdlcLSGroup=sdlcLSGroup, sdlcLSAdminTable=sdlcLSAdminTable, sdlcLSAdminEntry=sdlcLSAdminEntry, sdlcLSAddress=sdlcLSAddress, sdlcLSAdminName=sdlcLSAdminName, sdlcLSAdminState=sdlcLSAdminState, sdlcLSAdminISTATUS=sdlcLSAdminISTATUS, sdlcLSAdminMAXDATASend=sdlcLSAdminMAXDATASend, sdlcLSAdminMAXDATARcv=sdlcLSAdminMAXDATARcv, sdlcLSAdminREPLYTO=sdlcLSAdminREPLYTO, sdlcLSAdminMAXIN=sdlcLSAdminMAXIN, sdlcLSAdminMAXOUT=sdlcLSAdminMAXOUT, sdlcLSAdminMODULO=sdlcLSAdminMODULO, sdlcLSAdminRETRIESm=sdlcLSAdminRETRIESm, sdlcLSAdminRETRIESt=sdlcLSAdminRETRIESt, sdlcLSAdminRETRIESn=sdlcLSAdminRETRIESn, sdlcLSAdminRNRLIMIT=sdlcLSAdminRNRLIMIT, sdlcLSAdminDATMODE=sdlcLSAdminDATMODE, sdlcLSAdminGPoll=sdlcLSAdminGPoll, sdlcLSAdminSimRim=sdlcLSAdminSimRim, sdlcLSAdminXmitRcvCap=sdlcLSAdminXmitRcvCap, sdlcLSAdminRowStatus=sdlcLSAdminRowStatus, sdlcLSOperTable=sdlcLSOperTable, sdlcLSOperEntry=sdlcLSOperEntry, sdlcLSOperName=sdlcLSOperName, sdlcLSOperRole=sdlcLSOperRole, sdlcLSOperState=sdlcLSOperState, sdlcLSOperMAXDATASend=sdlcLSOperMAXDATASend, sdlcLSOperREPLYTO=sdlcLSOperREPLYTO, sdlcLSOperMAXIN=sdlcLSOperMAXIN, sdlcLSOperMAXOUT=sdlcLSOperMAXOUT, sdlcLSOperMODULO=sdlcLSOperMODULO, sdlcLSOperRETRIESm=sdlcLSOperRETRIESm, sdlcLSOperRETRIESt=sdlcLSOperRETRIESt, sdlcLSOperRETRIESn=sdlcLSOperRETRIESn, sdlcLSOperRNRLIMIT=sdlcLSOperRNRLIMIT, sdlcLSOperDATMODE=sdlcLSOperDATMODE, sdlcLSOperLastModifyTime=sdlcLSOperLastModifyTime, sdlcLSOperLastFailTime=sdlcLSOperLastFailTime, sdlcLSOperLastFailCause=sdlcLSOperLastFailCause, sdlcLSOperLastFailCtrlIn=sdlcLSOperLastFailCtrlIn, sdlcLSOperLastFailCtrlOut=sdlcLSOperLastFailCtrlOut, sdlcLSOperLastFailFRMRInfo=sdlcLSOperLastFailFRMRInfo, sdlcLSOperLastFailREPLYTOs=sdlcLSOperLastFailREPLYTOs, sdlcLSOperEcho=sdlcLSOperEcho, sdlcLSOperGPoll=sdlcLSOperGPoll, sdlcLSOperSimRim=sdlcLSOperSimRim, sdlcLSOperXmitRcvCap=sdlcLSOperXmitRcvCap, sdlcLSStatsTable=sdlcLSStatsTable, sdlcLSStatsEntry=sdlcLSStatsEntry, sdlcLSStatsBLUsIn=sdlcLSStatsBLUsIn, sdlcLSStatsBLUsOut=sdlcLSStatsBLUsOut, sdlcLSStatsOctetsIn=sdlcLSStatsOctetsIn, sdlcLSStatsOctetsOut=sdlcLSStatsOctetsOut, sdlcLSStatsPollsIn=sdlcLSStatsPollsIn, sdlcLSStatsPollsOut=sdlcLSStatsPollsOut, sdlcLSStatsPollRspsOut=sdlcLSStatsPollRspsOut, sdlcLSStatsPollRspsIn=sdlcLSStatsPollRspsIn, sdlcLSStatsLocalBusies=sdlcLSStatsLocalBusies, sdlcLSStatsRemoteBusies=sdlcLSStatsRemoteBusies, sdlcLSStatsIFramesIn=sdlcLSStatsIFramesIn, sdlcLSStatsIFramesOut=sdlcLSStatsIFramesOut, sdlcLSStatsUIFramesIn=sdlcLSStatsUIFramesIn, sdlcLSStatsUIFramesOut=sdlcLSStatsUIFramesOut, sdlcLSStatsXIDsIn=sdlcLSStatsXIDsIn, sdlcLSStatsXIDsOut=sdlcLSStatsXIDsOut, sdlcLSStatsTESTsIn=sdlcLSStatsTESTsIn, sdlcLSStatsTESTsOut=sdlcLSStatsTESTsOut, sdlcLSStatsREJsIn=sdlcLSStatsREJsIn, sdlcLSStatsREJsOut=sdlcLSStatsREJsOut, sdlcLSStatsFRMRsIn=sdlcLSStatsFRMRsIn, sdlcLSStatsFRMRsOut=sdlcLSStatsFRMRsOut, sdlcLSStatsSIMsIn=sdlcLSStatsSIMsIn, sdlcLSStatsSIMsOut=sdlcLSStatsSIMsOut, sdlcLSStatsRIMsIn=sdlcLSStatsRIMsIn, sdlcLSStatsRIMsOut=sdlcLSStatsRIMsOut) mibBuilder.exportSymbols("SNA-SDLC-MIB", sdlcLSStatsDISCIn=sdlcLSStatsDISCIn, sdlcLSStatsDISCOut=sdlcLSStatsDISCOut, sdlcLSStatsUAIn=sdlcLSStatsUAIn, sdlcLSStatsUAOut=sdlcLSStatsUAOut, sdlcLSStatsDMIn=sdlcLSStatsDMIn, sdlcLSStatsDMOut=sdlcLSStatsDMOut, sdlcLSStatsSNRMIn=sdlcLSStatsSNRMIn, sdlcLSStatsSNRMOut=sdlcLSStatsSNRMOut, sdlcLSStatsProtocolErrs=sdlcLSStatsProtocolErrs, sdlcLSStatsActivityTOs=sdlcLSStatsActivityTOs, sdlcLSStatsRNRLIMITs=sdlcLSStatsRNRLIMITs, sdlcLSStatsRetriesExps=sdlcLSStatsRetriesExps, sdlcLSStatsRetransmitsIn=sdlcLSStatsRetransmitsIn, sdlcLSStatsRetransmitsOut=sdlcLSStatsRetransmitsOut, sdlcTraps=sdlcTraps, sdlcConformance=sdlcConformance, sdlcCompliances=sdlcCompliances, sdlcGroups=sdlcGroups, sdlcCoreGroups=sdlcCoreGroups, sdlcPrimaryGroups=sdlcPrimaryGroups) # Notifications mibBuilder.exportSymbols("SNA-SDLC-MIB", sdlcPortStatusChange=sdlcPortStatusChange, sdlcLSStatusChange=sdlcLSStatusChange) # Groups mibBuilder.exportSymbols("SNA-SDLC-MIB", sdlcCorePortAdminGroup=sdlcCorePortAdminGroup, sdlcCorePortOperGroup=sdlcCorePortOperGroup, sdlcCorePortStatsGroup=sdlcCorePortStatsGroup, sdlcCoreLSAdminGroup=sdlcCoreLSAdminGroup, sdlcCoreLSOperGroup=sdlcCoreLSOperGroup, sdlcCoreLSStatsGroup=sdlcCoreLSStatsGroup, sdlcPrimaryGroup=sdlcPrimaryGroup, sdlcPrimaryMultipointGroup=sdlcPrimaryMultipointGroup) # Compliances mibBuilder.exportSymbols("SNA-SDLC-MIB", sdlcCoreCompliance=sdlcCoreCompliance, sdlcPrimaryCompliance=sdlcPrimaryCompliance, sdlcPrimaryMultipointCompliance=sdlcPrimaryMultipointCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/DS1-MIB.py0000644000014400001440000021417211736645136020033 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python DS1-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:38:54 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( InterfaceIndex, ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex") ( PerfCurrentCount, PerfIntervalCount, PerfTotalCount, ) = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfCurrentCount", "PerfIntervalCount", "PerfTotalCount") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "transmission") ( DisplayString, TimeStamp, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TimeStamp", "TruthValue") # Objects ds1 = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 18)).setRevisions(("2007-03-05 00:00","2004-09-09 00:00","1998-08-01 18:30","1993-01-25 20:28",)) if mibBuilder.loadTexts: ds1.setOrganization("IETF AToM MIB Working Group") if mibBuilder.loadTexts: ds1.setContactInfo("WG charter:\nhttp://www.ietf.org/html.charters/atommib-charter.html\n\nMailing Lists:\n General Discussion: atommib@research.telcordia.com\n To Subscribe: atommib-request@research.telcordia.com\n\nEditor: Orly Nicklass\n\nPostal: RAD Data Communications, Ltd.\n Ziv Tower, 24 Roul Walenberg\n Tel Aviv, Israel, 69719\n\n Tel: +9723 765 9969\nE-mail: orly_n@rad.com") if mibBuilder.loadTexts: ds1.setDescription("The MIB module to describe DS1, J1, E1, DS2, and\nE2 interfaces objects.\n\nCopyright (c) The IETF Trust (2007). This\nversion of this MIB module is part of RFC 4805;\nsee the RFC itself for full legal notices.") dsx1ConfigTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 6)) if mibBuilder.loadTexts: dsx1ConfigTable.setDescription("The DS1 Configuration table.") dsx1ConfigEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 6, 1)).setIndexNames((0, "DS1-MIB", "dsx1LineIndex")) if mibBuilder.loadTexts: dsx1ConfigEntry.setDescription("An entry in the DS1 Configuration table.") dsx1LineIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1LineIndex.setDescription("This object should be made equal to ifIndex. The\nnext paragraph describes its previous usage.\nMaking the object equal to ifIndex allows proper\nuse of the ifStackTable and ds0/ds0bundle MIBs.\n\nPreviously, this object was the identifier of a DS1\ninterface on a managed device. If there is an\nifEntry that is directly associated with this and\nonly this DS1 interface, it should have the same\nvalue as ifIndex. Otherwise, number the\ndsx1LineIndices with a unique identifier\nfollowing the rules of choosing a number that is\ngreater than ifNumber and numbering the inside\ninterfaces (e.g., equipment side) with even\nnumbers and outside interfaces (e.g., network\nside) with odd numbers.") dsx1IfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IfIndex.setDescription("This value for this object is equal to the value\n\n\n\nof ifIndex from the Interfaces table (RFC 2863).") dsx1TimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TimeElapsed.setDescription("The number of seconds that have elapsed since the\nbeginning of the near-end current error-\nmeasurement period. If, for some reason, such as\nan adjustment in the system's time-of-day clock,\nthe current interval exceeds the maximum value,\nthe agent will return the maximum value.") dsx1ValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1ValidIntervals.setDescription("The number of previous near-end intervals for\nwhich data was collected. The value will be 96\nunless the interface was brought online within the\nlast 24 hours, in which case the value will be the\nnumber of complete 15-minute near-end intervals\nsince the interface has been online. In the case\nwhere the agent is a proxy, it is possible that\nsome intervals are unavailable. In this case,\nthis interval is the maximum interval number for\nwhich data is available.") dsx1LineType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(7,10,8,16,9,3,11,4,2,14,1,13,6,12,5,)).subtype(namedValues=NamedValues(("other", 1), ("dsx1DS2M12", 10), ("dsx1E2", 11), ("dsx1E1Q50", 12), ("dsx1E1Q50CRC", 13), ("dsx1J1ESF", 14), ("dsx1J1Unframed", 16), ("dsx1ESF", 2), ("dsx1D4", 3), ("dsx1E1", 4), ("dsx1E1CRC", 5), ("dsx1E1MF", 6), ("dsx1E1CRCMF", 7), ("dsx1Unframed", 8), ("dsx1E1Unframed", 9), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LineType.setDescription("This variable indicates the variety of DS1\nLine implementing this circuit. The type of\ncircuit affects the number of bits per second\nthat the circuit can reasonably carry, as well\nas the interpretation of the usage and error\nstatistics. The values, in sequence, describe:\n\n TITLE: SPECIFICATION:\n dsx1ESF Extended SuperFrame DS1\n (T1.107)\n dsx1D4 AT&T D4 format DS1 (T1.107)\n dsx1E1 ITU-T G.704, (Table 5A)\n dsx1E1-CRC ITU-T G.704, (Table 5B)\n dsxE1-MF G.704 (Table 5A) with TS16\n multiframing enabled\n dsx1E1-CRC-MF G.704 (Table 5B) with TS16\n multiframing enabled\n dsx1Unframed DS1 with No Framing\n dsx1E1Unframed E1 with No Framing (G.703)\n dsx1DS2M12 DS2 frame format (T1.107)\n dsx1E2 E2 frame format (G.704)\n dsx1E1Q50 TS16 bits 5,7,8 set to 101,\n [in all other cases it is set\n to 111.] (G.704, table 14)\n dsx1E1Q50CRC E1Q50 with CRC\n dsx1J1ESF J1 according to (JT-G704,\n JT-G706, and JT-I431)\n dsx1J1Unframed J1 with No Framing\n\nFor clarification, the capacity for each E1 type\nis as listed below:\ndsx1E1Unframed - E1, no framing = 32 x 64k = 2048k\ndsx1E1 or dsx1E1CRC - E1, with framing,\nno signalling = 31 x 64k = 1984k\ndsx1E1MF or dsx1E1CRCMF - E1, with framing,\nsignalling = 30 x 64k = 1920k") dsx1LineCoding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 6), Integer().subtype(subtypeSpec=SingleValueConstraint(4,6,2,7,5,3,1,)).subtype(namedValues=NamedValues(("dsx1JBZS", 1), ("dsx1B8ZS", 2), ("dsx1HDB3", 3), ("dsx1ZBTSI", 4), ("dsx1AMI", 5), ("other", 6), ("dsx1B6ZS", 7), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LineCoding.setDescription("This variable describes the variety of Zero Code\nSuppression used on this interface, which in turn\naffects a number of its characteristics.\n\ndsx1JBZS refers the Jammed Bit Zero Suppression,\nin which the AT&T specification of at least one\npulse every 8-bit period is literally implemented\nby forcing a pulse in bit 8 of each channel.\nThus, only 7 bits per channel, or 1.344 Mbps,\nare available for data.\n\ndsx1B8ZS refers to the use of a specified pattern\nof normal bits and bipolar violations that are\nused to replace a sequence of 8 zero bits.\nANSI Clear Channels may use dsx1ZBTSI, or Zero\nByte Time Slot Interchange.\n\nE1 links, with or without CRC, use dsx1HDB3 or\ndsx1AMI.\n\ndsx1AMI refers to a mode wherein no Zero Code\nSuppression is present and the line encoding does\n\n\n\nnot solve the problem directly. In this\napplication, the higher layer must provide data\nthat meets or exceeds the pulse density\nrequirements, such as inverting HDLC data.\n\ndsx1B6ZS refers to the user of a specified pattern\nof normal bits and bipolar violations that are\nused to replace a sequence of 6 zero bits. Used\nfor DS2.\nFor more information about line coding see\n[ANSI-T1.102]") dsx1SendCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(4,5,2,8,3,1,7,6,)).subtype(namedValues=NamedValues(("dsx1SendNoCode", 1), ("dsx1SendLineCode", 2), ("dsx1SendPayloadCode", 3), ("dsx1SendResetCode", 4), ("dsx1SendQRS", 5), ("dsx1Send511Pattern", 6), ("dsx1Send3in24Pattern", 7), ("dsx1SendOtherTestPattern", 8), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1SendCode.setDescription("This variable indicates what type of code is\nbeing sent across the DS1 interface by the device.\nSetting this variable causes the interface to send\nthe code requested. The values mean the following:\n\ndsx1SendNoCode\nsending looped or normal data\n\ndsx1SendLineCode\nsending a request for a line loopback\n\ndsx1SendPayloadCode\nsending a request for a payload loopback\n\ndsx1SendResetCode\nsending a loopback termination request\n\ndsx1SendQRS\nsending a Quasi-Random Signal (QRS) test\npattern\n\n\n\n\ndsx1Send511Pattern\nsending a 511-bit fixed test pattern\n\ndsx1Send3in24Pattern\nsending a fixed test pattern of 3 bits set\nin 24\n\ndsx1SendOtherTestPattern\nsending a test pattern other than those\ndescribed by this object") dsx1CircuitIdentifier = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1CircuitIdentifier.setDescription("This variable contains the transmission vendor's\ncircuit identifier, for the purpose of\nfacilitating troubleshooting.") dsx1LoopbackConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 9), Integer().subtype(subtypeSpec=SingleValueConstraint(5,1,6,2,3,4,)).subtype(namedValues=NamedValues(("dsx1NoLoop", 1), ("dsx1PayloadLoop", 2), ("dsx1LineLoop", 3), ("dsx1OtherLoop", 4), ("dsx1InwardLoop", 5), ("dsx1DualLoop", 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LoopbackConfig.setDescription("This variable represents the desired loopback\nconfiguration of the DS1 interface. Agents\nsupporting read/write access should return\ninconsistentValue in response to a requested\nloopback state that the interface does not\nsupport. The values mean:\n\ndsx1NoLoop\nnot in the loopback state. A device that is not\ncapable of performing a loopback on the interface\nshall always return this as its value.\n\ndsx1PayloadLoop\n\n\n\nthe received signal at this interface is looped\nthrough the device. Typically, the received signal\nis looped back for retransmission after it has\npassed through the device's framing function.\n\ndsx1LineLoop\nthe received signal at this interface does not go\nthrough the device (minimum penetration) but is\nlooped back out.\n\ndsx1OtherLoop\nloopbacks that are not defined here.\n\ndsx1InwardLoop\nthe transmitted signal at this interface is\nlooped back and received by the same interface.\nWhat is transmitted onto the line is product\ndependent.\n\ndsx1DualLoop\nboth dsx1LineLoop and dsx1InwardLoop will be\nactive simultaneously.") dsx1LineStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 131071))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1LineStatus.setDescription("This variable indicates the line status of the\ninterface. It contains loopback, failure,\nreceived alarm and transmitted alarms\ninformation.\n\nThe dsx1LineStatus is a bitmap represented as a\nsum; therefore, it can represent multiple failures\n(alarms) and a LoopbackState simultaneously.\n\ndsx1NoAlarm must be set if and only if no other\nflag is set.\n\nIf the dsx1loopbackState bit is set, the loopback\nin effect can be determined from the\ndsx1loopbackConfig object. The various bit\npositions are as follows:\n\n1 dsx1NoAlarm No alarm present\n2 dsx1RcvFarEndLOF Far end LOF (a.k.a.\n\n\n\n Yellow Alarm)\n4 dsx1XmtFarEndLOF Near end sending LOF\n indication\n8 dsx1RcvAIS Far end sending AIS\n16 dsx1XmtAIS Near end sending AIS\n32 dsx1LossOfFrame Near end LOF (a.k.a.\n Red Alarm)\n64 dsx1LossOfSignal Near end Loss of Signal\n128 dsx1LoopbackState Near end is looped\n256 dsx1T16AIS E1 TS16 AIS\n512 dsx1RcvFarEndLOMF Far end sending TS16 LOMF\n1024 dsx1XmtFarEndLOMF Near end sending TS16 LOMF\n2048 dsx1RcvTestCode Near end detects a test code\n4096 dsx1OtherFailure Any line status not defined\n here\n8192 dsx1UnavailSigState Near end in unavailable\n signal state\n16384 dsx1NetEquipOOS Carrier equipment out of\n service\n32768 dsx1RcvPayloadAIS DS2 payload AIS\n65536 dsx1Ds2PerfThreshold DS2 performance threshold\n exceeded") dsx1SignalMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 11), Integer().subtype(subtypeSpec=SingleValueConstraint(1,4,3,5,2,)).subtype(namedValues=NamedValues(("none", 1), ("robbedBit", 2), ("bitOriented", 3), ("messageOriented", 4), ("other", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1SignalMode.setDescription("'none' indicates that no bits are reserved for\nsignaling on this channel.\n\n'robbedBit' indicates that DS1 Robbed Bit Signaling\nis in use.\n\n'bitOriented' indicates that E1 Channel Associated\nSignaling is in use.\n\n'messageOriented' indicates that Common Channel\nSignaling is in use on either channel 16 of\nan E1 link or channel 24 of a DS1.") dsx1TransmitClockSource = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 12), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("loopTiming", 1), ("localTiming", 2), ("throughTiming", 3), ("adaptive", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1TransmitClockSource.setDescription("The source of transmit clock.\n\n'loopTiming' indicates that the recovered\nreceive clock is used as the transmit clock.\n\n'localTiming' indicates that a local clock\nsource is used or when an external clock is\nattached to the box containing the interface.\n\n'throughTiming' indicates that recovered\nreceive clock from another interface is used as\nthe transmit clock.\n\n'adaptive' indicates that the clock is recovered\nbased on the data flow and not based on the\nphysical layer") dsx1Fdl = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1Fdl.setDescription("This bitmap describes the use of the\nfacilities data link and is the sum of the\ncapabilities. Set any bits that are appropriate:\n\nother(1),\ndsx1AnsiT1403(2),\ndsx1Att54016(4),\ndsx1FdlNone(8)\n\n 'other' indicates that a protocol other than\none of the following is used.\n\n 'dsx1AnsiT1403' refers to the FDL exchange\nrecommended by ANSI.\n\n\n\n\n 'dsx1Att54016' refers to ESF FDL exchanges.\n\n 'dsx1FdlNone' indicates that the device does\nnot use the FDL.") dsx1InvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1InvalidIntervals.setDescription("The number of intervals in the range from 0 to\ndsx1ValidIntervals for which no data is available.\nThis object will typically be zero except in cases\nwhere the data for some intervals is not\navailable (e.g., in proxy situations).") dsx1LineLength = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LineLength.setDescription("The length of the DS1 line in meters. This\nobject provides information for line build-out\ncircuitry. This object is only useful if the\ninterface has configurable line build-out\ncircuitry.") dsx1LineStatusLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 16), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1LineStatusLastChange.setDescription("The value of MIB II's sysUpTime object at the\ntime this DS1 entered its current line status\nstate. If the current state was entered prior to\nthe last re-initialization of the proxy-agent,\nthen this object contains a zero value.") dsx1LineStatusChangeTrapEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 17), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LineStatusChangeTrapEnable.setDescription("Indicates whether dsx1LineStatusChange traps\nshould be generated for this interface.") dsx1LoopbackStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1LoopbackStatus.setDescription("This variable represents the current state of the\nloopback on the DS1 interface. It contains\ninformation about loopbacks established by a\nmanager and remotely from the far end.\n\nThe dsx1LoopbackStatus is a bitmap represented as\na sum; therefore, it can represent multiple\nloopbacks simultaneously.\n\nThe various bit positions are as follows:\n 1 dsx1NoLoopback\n 2 dsx1NearEndPayloadLoopback\n 4 dsx1NearEndLineLoopback\n 8 dsx1NearEndOtherLoopback\n16 dsx1NearEndInwardLoopback\n32 dsx1FarEndPayloadLoopback\n64 dsx1FarEndLineLoopback") dsx1Ds1ChannelNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 28))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1Ds1ChannelNumber.setDescription("This variable represents the channel number of\nthe DS1/E1 on its parent DS2/E2 or DS3/E3. A\nvalue of 0 indicates that this DS1/E1 does not\nhave a parent DS3/E3.") dsx1Channelization = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 20), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,)).subtype(namedValues=NamedValues(("disabled", 1), ("enabledDs0", 2), ("enabledDs1", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1Channelization.setDescription("Indicates whether this DS1/E1 or DS2 is\nchannelized or unchannelized.\n\nThe value of enabledDs0(2) indicates that this is a\nDS1 channelized into DS0s. Setting this value will\ncause the creation, and resetting it to disabled(1)\nwill cause the deletion of entries in the ifTable\nfor the DS0s that are within the DS1.\n\nThe value of enabledDs1(3) indicates that this is a\nDS2 channelized into DS1s. Setting this value will\ncause the creation, and resetting it to disabled(1)\nwill cause the deletion of entries in the ifTable\nfor the DS1s that are within the DS2.") dsx1LineMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("csu", 1), ("dsu", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LineMode.setDescription("This setting puts the T1 framer into either\nlong-haul (CSU) mode or short-haul (DSU) mode.") dsx1LineBuildOut = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(3,4,2,1,5,)).subtype(namedValues=NamedValues(("notApplicable", 1), ("neg75dB", 2), ("neg15dB", 3), ("neg225dB", 4), ("zerodB", 5), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LineBuildOut.setDescription("Attenuation setting for T1 framer in long haul\n(CSU) mode. The optional values are -7.5dB,\n-15dB, -22.5dB, and 0dB.") dsx1LineImpedance = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 6, 1, 23), Integer().subtype(subtypeSpec=SingleValueConstraint(1,3,2,4,)).subtype(namedValues=NamedValues(("notApplicable", 1), ("unbalanced75ohms", 2), ("balanced100ohms", 3), ("balanced120ohms", 4), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1LineImpedance.setDescription("Nominal line impedance. For T1 and J1 lines, the\nvalue is typically balanced100ohms(3). For E1\nlines, the value is typically unbalanced75ohms(2)\nand balanced120ohms(4). When this object does not\napply, or when the appropriate value is not known,\nthe value should be set to notApplicable(1).") dsx1CurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 7)) if mibBuilder.loadTexts: dsx1CurrentTable.setDescription("The DS1 Current table contains various statistics\nbeing collected for the current 15-minute\ninterval.") dsx1CurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 7, 1)).setIndexNames((0, "DS1-MIB", "dsx1CurrentIndex")) if mibBuilder.loadTexts: dsx1CurrentEntry.setDescription("An entry in the DS1 Current table.") dsx1CurrentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentIndex.setDescription("The index value that uniquely identifies the DS1\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is the same interface as identified by the\nsame value as a dsx1LineIndex object instance.") dsx1CurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 2), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentESs.setDescription("The number of Errored Seconds.") dsx1CurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 3), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentSESs.setDescription("The number of Severely Errored Seconds.") dsx1CurrentSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentSEFSs.setDescription("The number of Severely Errored Framing Seconds.") dsx1CurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentUASs.setDescription("The number of Unavailable Seconds.") dsx1CurrentCSSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentCSSs.setDescription("The number of Controlled Slip Seconds.") dsx1CurrentPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentPCVs.setDescription("The number of Path Coding Violations.") dsx1CurrentLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentLESs.setDescription("The number of Line Errored Seconds.") dsx1CurrentBESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentBESs.setDescription("The number of Bursty Errored Seconds.") dsx1CurrentDMs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentDMs.setDescription("The number of Degraded Minutes.") dsx1CurrentLCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 7, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1CurrentLCVs.setDescription("The number of Line Coding Violations (LCVs).") dsx1IntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 8)) if mibBuilder.loadTexts: dsx1IntervalTable.setDescription("The DS1 Interval table contains various\nstatistics collected by each DS1 interface over\nthe previous 24 hours of operation. The past 24\nhours are broken into 96 completed 15-minute\nintervals. Each row in this table represents one\nsuch interval (identified by dsx1IntervalNumber)\nfor one specific instance (identified by\ndsx1IntervalIndex).") dsx1IntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 8, 1)).setIndexNames((0, "DS1-MIB", "dsx1IntervalIndex"), (0, "DS1-MIB", "dsx1IntervalNumber")) if mibBuilder.loadTexts: dsx1IntervalEntry.setDescription("An entry in the DS1 Interval table.") dsx1IntervalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalIndex.setDescription("The index value that uniquely identifies the DS1\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is the same interface as identified by the\nsame value as a dsx1LineIndex object instance.") dsx1IntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalNumber.setDescription("A number between 1 and 96, where 1 is the most\nrecently completed 15-minute interval and 96 is\nthe 15-minute interval completed 23 hours and 45\nminutes prior to interval 1.") dsx1IntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalESs.setDescription("The number of Errored Seconds.") dsx1IntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalSESs.setDescription("The number of Severely Errored Seconds.") dsx1IntervalSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalSEFSs.setDescription("The number of Severely Errored Framing Seconds.") dsx1IntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalUASs.setDescription("The number of Unavailable Seconds. This object\nmay decrease if the occurrence of unavailable\nseconds occurs across an interval boundary.") dsx1IntervalCSSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalCSSs.setDescription("The number of Controlled Slip Seconds.") dsx1IntervalPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalPCVs.setDescription("The number of Path Coding Violations.") dsx1IntervalLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalLESs.setDescription("The number of Line Errored Seconds.") dsx1IntervalBESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalBESs.setDescription("The number of Bursty Errored Seconds.") dsx1IntervalDMs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalDMs.setDescription("The number of Degraded Minutes.") dsx1IntervalLCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 12), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalLCVs.setDescription("The number of Line Coding Violations.") dsx1IntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 8, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1IntervalValidData.setDescription("This variable indicates whether the data for this\ninterval is valid.") dsx1TotalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 9)) if mibBuilder.loadTexts: dsx1TotalTable.setDescription("The DS1 Total table contains the cumulative sum\nof the various statistics for the 24-hour period\npreceding the current interval.") dsx1TotalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 9, 1)).setIndexNames((0, "DS1-MIB", "dsx1TotalIndex")) if mibBuilder.loadTexts: dsx1TotalEntry.setDescription("An entry in the DS1 Total table.") dsx1TotalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalIndex.setDescription("The index value that uniquely identifies the DS1\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is the same interface as identified by the\nsame value as a dsx1LineIndex object instance.") dsx1TotalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 2), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalESs.setDescription("The number of Errored Seconds encountered by a DS1\ninterface in the previous 24-hour interval.\nInvalid 15-minute intervals count as 0.") dsx1TotalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 3), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalSESs.setDescription("The number of Severely Errored Seconds\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15-minute intervals\ncount as 0.") dsx1TotalSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 4), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalSEFSs.setDescription("The number of Severely Errored Framing Seconds\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15-minute intervals\ncount as 0.") dsx1TotalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 5), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalUASs.setDescription("The number of Unavailable Seconds encountered by\na DS1 interface in the previous 24-hour interval.\nInvalid 15-minute intervals count as 0.") dsx1TotalCSSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 6), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalCSSs.setDescription("The number of Controlled Slip Seconds encountered\nby a DS1 interface in the previous 24-hour\ninterval. Invalid 15-minute intervals count as\n0.") dsx1TotalPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 7), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalPCVs.setDescription("The number of Path Coding Violations encountered\nby a DS1 interface in the previous 24-hour\ninterval. Invalid 15-minute intervals count as\n0.") dsx1TotalLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 8), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalLESs.setDescription("The number of Line Errored Seconds encountered by\na DS1 interface in the previous 24-hour interval.\nInvalid 15-minute intervals count as 0.") dsx1TotalBESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 9), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalBESs.setDescription("The number of Bursty Errored Seconds (BESs)\n\n\n\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15-minute intervals count\nas 0.") dsx1TotalDMs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 10), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalDMs.setDescription("The number of Degraded Minutes (DMs) encountered\nby a DS1 interface in the previous 24-hour\ninterval. Invalid 15-minute intervals count as\n0.") dsx1TotalLCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 9, 1, 11), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1TotalLCVs.setDescription("The number of Line Coding Violations (LCVs)\nencountered by a DS1 interface in the current\n15-minute interval. Invalid 15-minute intervals\ncount as 0.") dsx1FarEndCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 10)) if mibBuilder.loadTexts: dsx1FarEndCurrentTable.setDescription("The DS1 Far End Current table contains various\nstatistics being collected for the current\n15-minute interval. The statistics are collected\n\n\n\nfrom the far-end messages on the Facilities Data\nLink. The definitions are the same as described\nfor the near-end information.") dsx1FarEndCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 10, 1)).setIndexNames((0, "DS1-MIB", "dsx1FarEndCurrentIndex")) if mibBuilder.loadTexts: dsx1FarEndCurrentEntry.setDescription("An entry in the DS1 Far End Current table.") dsx1FarEndCurrentIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentIndex.setDescription("The index value that uniquely identifies the DS1\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is identical to the interface identified by\nthe same value of dsx1LineIndex.") dsx1FarEndTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 899))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTimeElapsed.setDescription("The number of seconds that have elapsed since the\nbeginning of the far-end current error-measurement\nperiod. If, for some reason, such as an adjustment\nin the system's time-of-day clock, the current\ninterval exceeds the maximum value, the agent will\nreturn the maximum value.") dsx1FarEndValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndValidIntervals.setDescription("The number of previous far-end intervals for\nwhich data was collected. The value will be 96\nunless the interface was brought online within the\nlast 24 hours, in which case the value will be the\nnumber of complete 15-minute far-end intervals\nsince the interface has been online. In the case\nwhere the agent is a proxy, it is possible that\nsome intervals are unavailable. In this case,\nthis interval is the maximum interval number for\nwhich data is available.") dsx1FarEndCurrentESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 4), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentESs.setDescription("The number of Far End Errored Seconds.") dsx1FarEndCurrentSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentSESs.setDescription("The number of Far End Severely Errored Seconds.") dsx1FarEndCurrentSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentSEFSs.setDescription("The number of Far End Severely Errored Framing\n\n\n\nSeconds.") dsx1FarEndCurrentUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentUASs.setDescription("The number of Unavailable Seconds.") dsx1FarEndCurrentCSSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentCSSs.setDescription("The number of Far End Controlled Slip Seconds.") dsx1FarEndCurrentLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 9), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentLESs.setDescription("The number of Far End Line Errored Seconds.") dsx1FarEndCurrentPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentPCVs.setDescription("The number of Far End Path Coding Violations.") dsx1FarEndCurrentBESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentBESs.setDescription("The number of Far End Bursty Errored Seconds.") dsx1FarEndCurrentDMs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 12), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndCurrentDMs.setDescription("The number of Far End Degraded Minutes.") dsx1FarEndInvalidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 10, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndInvalidIntervals.setDescription("The number of intervals in the range from 0 to\ndsx1FarEndValidIntervals for which no data is\navailable. This object will typically be zero\nexcept in cases where the data for some intervals\nis not available (e.g., in proxy situations).") dsx1FarEndIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 11)) if mibBuilder.loadTexts: dsx1FarEndIntervalTable.setDescription("The DS1 Far End Interval table contains various\nstatistics collected by each DS1 interface over\nthe previous 24 hours of operation. The past 24\nhours are broken into 96 completed 15-minute\nintervals. Each row in this table represents one\nsuch interval (identified by\ndsx1FarEndIntervalNumber) for one specific\ninstance (identified by dsx1FarEndIntervalIndex).") dsx1FarEndIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 11, 1)).setIndexNames((0, "DS1-MIB", "dsx1FarEndIntervalIndex"), (0, "DS1-MIB", "dsx1FarEndIntervalNumber")) if mibBuilder.loadTexts: dsx1FarEndIntervalEntry.setDescription("An entry in the DS1 Far End Interval table.") dsx1FarEndIntervalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalIndex.setDescription("The index value that uniquely identifies the DS1\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is identical to the interface identified by\nthe same value of dsx1LineIndex.") dsx1FarEndIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalNumber.setDescription("A number between 1 and 96, where 1 is the most\nrecently completed 15-minute interval and 96 is\nthe 15 minutes interval completed 23 hours and 45\nminutes prior to interval 1.") dsx1FarEndIntervalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalESs.setDescription("The number of Far End Errored Seconds.") dsx1FarEndIntervalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalSESs.setDescription("The number of Far End Severely Errored Seconds.") dsx1FarEndIntervalSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalSEFSs.setDescription("The number of Far End Severely Errored Framing\nSeconds.") dsx1FarEndIntervalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalUASs.setDescription("The number of Unavailable Seconds.") dsx1FarEndIntervalCSSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 7), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalCSSs.setDescription("The number of Far End Controlled Slip Seconds.") dsx1FarEndIntervalLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalLESs.setDescription("The number of Far End Line Errored Seconds.") dsx1FarEndIntervalPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalPCVs.setDescription("The number of Far End Path Coding Violations.") dsx1FarEndIntervalBESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalBESs.setDescription("The number of Far End Bursty Errored Seconds.") dsx1FarEndIntervalDMs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalDMs.setDescription("The number of Far End Degraded Minutes.") dsx1FarEndIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 11, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndIntervalValidData.setDescription(" This variable indicates if the data for this\ninterval is valid.") dsx1FarEndTotalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 12)) if mibBuilder.loadTexts: dsx1FarEndTotalTable.setDescription("The DS1 Far End Total table contains the\ncumulative sum of the various statistics for the\n24-hour period preceding the current interval.") dsx1FarEndTotalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 12, 1)).setIndexNames((0, "DS1-MIB", "dsx1FarEndTotalIndex")) if mibBuilder.loadTexts: dsx1FarEndTotalEntry.setDescription("An entry in the DS1 Far End Total table.") dsx1FarEndTotalIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalIndex.setDescription("The index value that uniquely identifies the DS1\ninterface to which this entry is applicable. The\ninterface identified by a particular value of this\nindex is identical to the interface identified by\nthe same value of dsx1LineIndex.") dsx1FarEndTotalESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 2), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalESs.setDescription("The number of Far End Errored Seconds encountered\nby a DS1 interface in the previous 24-hour\ninterval. Invalid 15-minute intervals count as\n0.") dsx1FarEndTotalSESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 3), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalSESs.setDescription("The number of Far End Severely Errored Seconds\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15-minute intervals\ncount as 0.") dsx1FarEndTotalSEFSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 4), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalSEFSs.setDescription("The number of Far End Severely Errored Framing\nSeconds encountered by a DS1 interface in the\nprevious 24-hour interval. Invalid 15-minute\nintervals count as 0.") dsx1FarEndTotalUASs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 5), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalUASs.setDescription("The number of Unavailable Seconds encountered by\na DS1 interface in the previous 24-hour interval.\nInvalid 15-minute intervals count as 0.") dsx1FarEndTotalCSSs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 6), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalCSSs.setDescription("The number of Far End Controlled Slip Seconds\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15 minute intervals\ncount as 0.") dsx1FarEndTotalLESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 7), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalLESs.setDescription("The number of Far End Line Errored Seconds\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15-minute intervals\ncount as 0.") dsx1FarEndTotalPCVs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 8), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalPCVs.setDescription("The number of Far End Path Coding Violations\nreported via the far end block error count\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15-minute intervals\ncount as 0.") dsx1FarEndTotalBESs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 9), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalBESs.setDescription("The number of Bursty Errored Seconds (BESs)\nencountered by a DS1 interface in the previous\n24-hour interval. Invalid 15-minute intervals\ncount as 0.") dsx1FarEndTotalDMs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 12, 1, 10), PerfTotalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FarEndTotalDMs.setDescription("The number of Degraded Minutes (DMs) encountered\nby a DS1 interface in the previous 24-hour\ninterval. Invalid 15-minute intervals count as\n0.") dsx1FracTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 13)) if mibBuilder.loadTexts: dsx1FracTable.setDescription("This table is deprecated in favor of using\nifStackTable.\n\nThe table was mandatory for systems dividing a DS1\ninto channels containing different data streams\nthat are of local interest. Systems that are\nindifferent to data content, such as CSUs, need\nnot implement it.\n\nThe DS1 Fractional table identifies which DS1\nchannels associated with a CSU are being used to\nsupport a logical interface, i.e., an entry in the\ninterfaces table from the Internet-standard MIB.\n\nFor example, consider an application managing a\nNorth American ISDN Primary Rate link whose\ndivision is a 384-kbit/s H1 _B_ Channel for video,\n\n\n\na second H1 for data to a primary routing peer,\nand 12 64-kbit/s H0 _B_ Channels. Consider that\nsome subset of the H0 channels is used for voice\nand the remainder are available for dynamic data\ncalls.\n\nWe count a total of 14 interfaces multiplexed onto\nthe DS1 interface. Six DS1 channels (for the sake\nof the example, channels 1..6) are used for video,\nsix more (7..11 and 13) are used for data, and the\nremaining 12 are in channels 12 and 14..24.\n\nLet us further imagine that ifIndex 2 is of type\nDS1 and refers to the DS1 interface and that the\ninterfaces layered onto it are numbered 3..16.\n\nWe might describe the allocation of channels, in\nthe dsx1FracTable, as follows:\ndsx1FracIfIndex.2. 1 = 3 dsx1FracIfIndex.2.13 = 4\ndsx1FracIfIndex.2. 2 = 3 dsx1FracIfIndex.2.14 = 6\ndsx1FracIfIndex.2. 3 = 3 dsx1FracIfIndex.2.15 = 7\ndsx1FracIfIndex.2. 4 = 3 dsx1FracIfIndex.2.16 = 8\ndsx1FracIfIndex.2. 5 = 3 dsx1FracIfIndex.2.17 = 9\ndsx1FracIfIndex.2. 6 = 3 dsx1FracIfIndex.2.18 = 10\ndsx1FracIfIndex.2. 7 = 4 dsx1FracIfIndex.2.19 = 11\ndsx1FracIfIndex.2. 8 = 4 dsx1FracIfIndex.2.20 = 12\ndsx1FracIfIndex.2. 9 = 4 dsx1FracIfIndex.2.21 = 13\ndsx1FracIfIndex.2.10 = 4 dsx1FracIfIndex.2.22 = 14\ndsx1FracIfIndex.2.11 = 4 dsx1FracIfIndex.2.23 = 15\ndsx1FracIfIndex.2.12 = 5 dsx1FracIfIndex.2.24 = 16\n\nFor North American (DS1) interfaces, there are 24\nlegal channels, numbered 1 through 24.\n\nFor G.704 interfaces, there are 31 legal channels,\nnumbered 1 through 31. The channels (1..31)\ncorrespond directly to the equivalently numbered\ntime-slots.") dsx1FracEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 13, 1)).setIndexNames((0, "DS1-MIB", "dsx1FracIndex"), (0, "DS1-MIB", "dsx1FracNumber")) if mibBuilder.loadTexts: dsx1FracEntry.setDescription("An entry in the DS1 Fractional table.") dsx1FracIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FracIndex.setDescription("The index value that uniquely identifies the\nDS1 interface to which this entry is applicable.\nThe interface identified by a particular\nvalue of this index is the same interface as\nidentified by the same value as a dsx1LineIndex\nobject instance.") dsx1FracNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 13, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1FracNumber.setDescription("The channel number for this entry.") dsx1FracIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 13, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dsx1FracIfIndex.setDescription("An index value that uniquely identifies an\ninterface. The interface identified by a particular\nvalue of this index is the same interface\nas identified by the same value as an ifIndex\nobject instance. If no interface is currently using\na channel, the value should be zero. If a\nsingle interface occupies more than one time-slot,\nthat ifIndex value will be found in multiple\ntime-slots.") ds1Conformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 18, 14)) ds1Groups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 18, 14, 1)) ds1Compliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 18, 14, 2)) ds1Traps = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 18, 15)) dsx1ChanMappingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 18, 16)) if mibBuilder.loadTexts: dsx1ChanMappingTable.setDescription("The DS1 Channel Mapping table. This table maps a\nDS1 channel number on a particular DS3 into an\nifIndex. In the presence of DS2s, this table can\nbe used to map a DS2 channel number on a DS3 into\nan ifIndex, or used to map a DS1 channel number on\na DS2 into an ifIndex.") dsx1ChanMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 18, 16, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "DS1-MIB", "dsx1Ds1ChannelNumber")) if mibBuilder.loadTexts: dsx1ChanMappingEntry.setDescription("An entry in the DS1 Channel Mapping table. There\n\n\n\nis an entry in this table corresponding to each\nDS1 ifEntry within any interface that is\nchannelized to the individual DS1 ifEntry level.\n\nThis table is intended to facilitate mapping from\nchannelized interface / channel number to DS1\nifEntry (e.g., mapping (DS3 ifIndex, DS1 channel\nnumber) -> ifIndex).\n\nWhile this table provides information that can\nalso be found in the ifStackTable and\ndsx1ConfigTable, it provides this same information\nwith a single table lookup, rather than by walking\nthe ifStackTable to find the various constituent\nDS1 ifTable entries, and testing various\ndsx1ConfigTable entries to check for the entry\nwith the applicable DS1 channel number.") dsx1ChanMappedIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 18, 16, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsx1ChanMappedIfIndex.setDescription("This object indicates the ifIndex value assigned\nby the agent for the individual DS1 ifEntry that\ncorresponds to the given DS1 channel number\n(specified by the INDEX element\ndsx1Ds1ChannelNumber) of the given channelized\ninterface (specified by INDEX element ifIndex).") # Augmentions # Notifications dsx1LineStatusChange = NotificationType((1, 3, 6, 1, 2, 1, 10, 18, 15, 0, 1)).setObjects(*(("DS1-MIB", "dsx1LineStatus"), ("DS1-MIB", "dsx1LineStatusLastChange"), ) ) if mibBuilder.loadTexts: dsx1LineStatusChange.setDescription("A dsx1LineStatusChange trap is sent when the\nvalue of an instance dsx1LineStatus changes. It\ncan be utilized by an Network Management Station\n(NMS) to trigger polls. When the line status\nchange results from a higher-level line status\nchange (i.e., DS3), then no traps for the DS1\nare sent.") # Groups ds1NearEndConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 1)).setObjects(*(("DS1-MIB", "dsx1LineStatus"), ("DS1-MIB", "dsx1LineIndex"), ("DS1-MIB", "dsx1LineLength"), ("DS1-MIB", "dsx1SendCode"), ("DS1-MIB", "dsx1LoopbackStatus"), ("DS1-MIB", "dsx1TransmitClockSource"), ("DS1-MIB", "dsx1ValidIntervals"), ("DS1-MIB", "dsx1TimeElapsed"), ("DS1-MIB", "dsx1InvalidIntervals"), ("DS1-MIB", "dsx1CircuitIdentifier"), ("DS1-MIB", "dsx1Channelization"), ("DS1-MIB", "dsx1LineCoding"), ("DS1-MIB", "dsx1SignalMode"), ("DS1-MIB", "dsx1Ds1ChannelNumber"), ("DS1-MIB", "dsx1LoopbackConfig"), ("DS1-MIB", "dsx1Fdl"), ("DS1-MIB", "dsx1LineType"), ) ) if mibBuilder.loadTexts: ds1NearEndConfigGroup.setDescription("A collection of objects providing configuration\ninformation applicable to all DS1 interfaces.") ds1NearEndStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 2)).setObjects(*(("DS1-MIB", "dsx1TotalLCVs"), ("DS1-MIB", "dsx1TotalUASs"), ("DS1-MIB", "dsx1CurrentSEFSs"), ("DS1-MIB", "dsx1CurrentLESs"), ("DS1-MIB", "dsx1IntervalNumber"), ("DS1-MIB", "dsx1IntervalUASs"), ("DS1-MIB", "dsx1CurrentUASs"), ("DS1-MIB", "dsx1CurrentIndex"), ("DS1-MIB", "dsx1IntervalBESs"), ("DS1-MIB", "dsx1CurrentDMs"), ("DS1-MIB", "dsx1TotalCSSs"), ("DS1-MIB", "dsx1IntervalValidData"), ("DS1-MIB", "dsx1TotalSEFSs"), ("DS1-MIB", "dsx1IntervalSEFSs"), ("DS1-MIB", "dsx1CurrentBESs"), ("DS1-MIB", "dsx1IntervalLCVs"), ("DS1-MIB", "dsx1IntervalLESs"), ("DS1-MIB", "dsx1TotalPCVs"), ("DS1-MIB", "dsx1TotalESs"), ("DS1-MIB", "dsx1CurrentLCVs"), ("DS1-MIB", "dsx1TotalLESs"), ("DS1-MIB", "dsx1TotalDMs"), ("DS1-MIB", "dsx1TotalSESs"), ("DS1-MIB", "dsx1IntervalIndex"), ("DS1-MIB", "dsx1CurrentESs"), ("DS1-MIB", "dsx1IntervalDMs"), ("DS1-MIB", "dsx1TotalBESs"), ("DS1-MIB", "dsx1IntervalESs"), ("DS1-MIB", "dsx1CurrentPCVs"), ("DS1-MIB", "dsx1TotalIndex"), ("DS1-MIB", "dsx1CurrentSESs"), ("DS1-MIB", "dsx1IntervalCSSs"), ("DS1-MIB", "dsx1IntervalSESs"), ("DS1-MIB", "dsx1IntervalPCVs"), ("DS1-MIB", "dsx1CurrentCSSs"), ) ) if mibBuilder.loadTexts: ds1NearEndStatisticsGroup.setDescription("A collection of objects providing statistics\ninformation applicable to all DS1 interfaces.") ds1FarEndGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 3)).setObjects(*(("DS1-MIB", "dsx1FarEndTotalESs"), ("DS1-MIB", "dsx1FarEndIntervalUASs"), ("DS1-MIB", "dsx1FarEndTotalSESs"), ("DS1-MIB", "dsx1FarEndIntervalNumber"), ("DS1-MIB", "dsx1FarEndCurrentLESs"), ("DS1-MIB", "dsx1FarEndTimeElapsed"), ("DS1-MIB", "dsx1FarEndTotalUASs"), ("DS1-MIB", "dsx1FarEndTotalPCVs"), ("DS1-MIB", "dsx1FarEndTotalDMs"), ("DS1-MIB", "dsx1FarEndCurrentCSSs"), ("DS1-MIB", "dsx1FarEndCurrentBESs"), ("DS1-MIB", "dsx1FarEndIntervalSESs"), ("DS1-MIB", "dsx1FarEndTotalIndex"), ("DS1-MIB", "dsx1FarEndCurrentIndex"), ("DS1-MIB", "dsx1FarEndIntervalSEFSs"), ("DS1-MIB", "dsx1FarEndIntervalLESs"), ("DS1-MIB", "dsx1FarEndCurrentSEFSs"), ("DS1-MIB", "dsx1FarEndIntervalValidData"), ("DS1-MIB", "dsx1FarEndIntervalPCVs"), ("DS1-MIB", "dsx1FarEndCurrentPCVs"), ("DS1-MIB", "dsx1FarEndTotalCSSs"), ("DS1-MIB", "dsx1FarEndCurrentDMs"), ("DS1-MIB", "dsx1FarEndValidIntervals"), ("DS1-MIB", "dsx1FarEndCurrentESs"), ("DS1-MIB", "dsx1FarEndIntervalBESs"), ("DS1-MIB", "dsx1FarEndIntervalIndex"), ("DS1-MIB", "dsx1FarEndInvalidIntervals"), ("DS1-MIB", "dsx1FarEndCurrentSESs"), ("DS1-MIB", "dsx1FarEndIntervalCSSs"), ("DS1-MIB", "dsx1FarEndTotalSEFSs"), ("DS1-MIB", "dsx1FarEndCurrentUASs"), ("DS1-MIB", "dsx1FarEndIntervalDMs"), ("DS1-MIB", "dsx1FarEndTotalBESs"), ("DS1-MIB", "dsx1FarEndTotalLESs"), ("DS1-MIB", "dsx1FarEndIntervalESs"), ) ) if mibBuilder.loadTexts: ds1FarEndGroup.setDescription("A collection of objects providing remote\nconfiguration and statistics information.") ds1DeprecatedGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 4)).setObjects(*(("DS1-MIB", "dsx1IfIndex"), ("DS1-MIB", "dsx1FracIndex"), ("DS1-MIB", "dsx1FracIfIndex"), ("DS1-MIB", "dsx1FracNumber"), ) ) if mibBuilder.loadTexts: ds1DeprecatedGroup.setDescription("A collection of obsolete objects that may be\nimplemented for backwards compatibility.") ds1NearEndOptionalConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 5)).setObjects(*(("DS1-MIB", "dsx1LineStatusChangeTrapEnable"), ("DS1-MIB", "dsx1LineStatusLastChange"), ) ) if mibBuilder.loadTexts: ds1NearEndOptionalConfigGroup.setDescription("A collection of objects that may be implemented\non DS1 and DS2 interfaces.") ds1DS2Group = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 6)).setObjects(*(("DS1-MIB", "dsx1LineStatus"), ("DS1-MIB", "dsx1LineIndex"), ("DS1-MIB", "dsx1SendCode"), ("DS1-MIB", "dsx1SignalMode"), ("DS1-MIB", "dsx1Channelization"), ("DS1-MIB", "dsx1TransmitClockSource"), ("DS1-MIB", "dsx1LineCoding"), ("DS1-MIB", "dsx1LineType"), ) ) if mibBuilder.loadTexts: ds1DS2Group.setDescription("A collection of objects providing information\nabout DS2 (6,312 kbps) and E2 (8,448 kbps)\nsystems.") ds1TransStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 7)).setObjects(*(("DS1-MIB", "dsx1CurrentSESs"), ("DS1-MIB", "dsx1TotalUASs"), ("DS1-MIB", "dsx1IntervalSESs"), ("DS1-MIB", "dsx1CurrentESs"), ("DS1-MIB", "dsx1TotalSESs"), ("DS1-MIB", "dsx1IntervalUASs"), ("DS1-MIB", "dsx1CurrentUASs"), ("DS1-MIB", "dsx1IntervalESs"), ("DS1-MIB", "dsx1TotalESs"), ) ) if mibBuilder.loadTexts: ds1TransStatsGroup.setDescription("A collection of objects that are the\nstatistics that can be collected from a DS1\ninterface that is running transparent or unframed\nlineType. Statistics not in this list should\nreturn noSuchInstance.") ds1NearEndOptionalTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 8)).setObjects(*(("DS1-MIB", "dsx1LineStatusChange"), ) ) if mibBuilder.loadTexts: ds1NearEndOptionalTrapGroup.setDescription("A collection of notifications that may be\nimplemented on DS1 and DS2 interfaces.") ds1ChanMappingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 9)).setObjects(*(("DS1-MIB", "dsx1ChanMappedIfIndex"), ) ) if mibBuilder.loadTexts: ds1ChanMappingGroup.setDescription("A collection of objects that give a mapping of\nDS3 Channel (dsx1Ds1ChannelNumber) to ifIndex.") ds1NearEndConfigurationGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 10)).setObjects(*(("DS1-MIB", "dsx1LineStatus"), ("DS1-MIB", "dsx1LineIndex"), ("DS1-MIB", "dsx1LineLength"), ("DS1-MIB", "dsx1SendCode"), ("DS1-MIB", "dsx1LoopbackStatus"), ("DS1-MIB", "dsx1TransmitClockSource"), ("DS1-MIB", "dsx1ValidIntervals"), ("DS1-MIB", "dsx1TimeElapsed"), ("DS1-MIB", "dsx1InvalidIntervals"), ("DS1-MIB", "dsx1CircuitIdentifier"), ("DS1-MIB", "dsx1Channelization"), ("DS1-MIB", "dsx1LineCoding"), ("DS1-MIB", "dsx1LineBuildOut"), ("DS1-MIB", "dsx1SignalMode"), ("DS1-MIB", "dsx1Ds1ChannelNumber"), ("DS1-MIB", "dsx1LoopbackConfig"), ("DS1-MIB", "dsx1Fdl"), ("DS1-MIB", "dsx1LineType"), ("DS1-MIB", "dsx1LineMode"), ) ) if mibBuilder.loadTexts: ds1NearEndConfigurationGroup.setDescription("A collection of objects providing configuration\ninformation applicable to all DS1 interfaces.") ds1NearEndCfgGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 11)).setObjects(*(("DS1-MIB", "dsx1LineStatus"), ("DS1-MIB", "dsx1LineIndex"), ("DS1-MIB", "dsx1LineLength"), ("DS1-MIB", "dsx1SendCode"), ("DS1-MIB", "dsx1LoopbackStatus"), ("DS1-MIB", "dsx1TransmitClockSource"), ("DS1-MIB", "dsx1ValidIntervals"), ("DS1-MIB", "dsx1TimeElapsed"), ("DS1-MIB", "dsx1InvalidIntervals"), ("DS1-MIB", "dsx1CircuitIdentifier"), ("DS1-MIB", "dsx1Channelization"), ("DS1-MIB", "dsx1LineCoding"), ("DS1-MIB", "dsx1LineBuildOut"), ("DS1-MIB", "dsx1SignalMode"), ("DS1-MIB", "dsx1LineImpedance"), ("DS1-MIB", "dsx1Ds1ChannelNumber"), ("DS1-MIB", "dsx1LoopbackConfig"), ("DS1-MIB", "dsx1Fdl"), ("DS1-MIB", "dsx1LineType"), ("DS1-MIB", "dsx1LineMode"), ) ) if mibBuilder.loadTexts: ds1NearEndCfgGroup.setDescription("A collection of objects providing configuration\ninformation applicable to all DS1 interfaces.") ds1NearEndStatGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 12)).setObjects(*(("DS1-MIB", "dsx1TotalUASs"), ("DS1-MIB", "dsx1CurrentSEFSs"), ("DS1-MIB", "dsx1CurrentLESs"), ("DS1-MIB", "dsx1IntervalNumber"), ("DS1-MIB", "dsx1IntervalUASs"), ("DS1-MIB", "dsx1CurrentUASs"), ("DS1-MIB", "dsx1CurrentIndex"), ("DS1-MIB", "dsx1IntervalBESs"), ("DS1-MIB", "dsx1TotalCSSs"), ("DS1-MIB", "dsx1TotalPCVs"), ("DS1-MIB", "dsx1IntervalValidData"), ("DS1-MIB", "dsx1TotalSEFSs"), ("DS1-MIB", "dsx1IntervalSEFSs"), ("DS1-MIB", "dsx1CurrentBESs"), ("DS1-MIB", "dsx1IntervalLCVs"), ("DS1-MIB", "dsx1IntervalLESs"), ("DS1-MIB", "dsx1TotalLCVs"), ("DS1-MIB", "dsx1TotalESs"), ("DS1-MIB", "dsx1CurrentLCVs"), ("DS1-MIB", "dsx1TotalLESs"), ("DS1-MIB", "dsx1TotalSESs"), ("DS1-MIB", "dsx1IntervalIndex"), ("DS1-MIB", "dsx1CurrentESs"), ("DS1-MIB", "dsx1TotalBESs"), ("DS1-MIB", "dsx1IntervalESs"), ("DS1-MIB", "dsx1CurrentPCVs"), ("DS1-MIB", "dsx1TotalIndex"), ("DS1-MIB", "dsx1CurrentSESs"), ("DS1-MIB", "dsx1IntervalCSSs"), ("DS1-MIB", "dsx1IntervalSESs"), ("DS1-MIB", "dsx1IntervalPCVs"), ("DS1-MIB", "dsx1CurrentCSSs"), ) ) if mibBuilder.loadTexts: ds1NearEndStatGroup.setDescription("A collection of objects providing statistics\ninformation applicable to all DS1 interfaces.") ds1FarEndNGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 18, 14, 1, 13)).setObjects(*(("DS1-MIB", "dsx1FarEndTotalUASs"), ("DS1-MIB", "dsx1FarEndIntervalUASs"), ("DS1-MIB", "dsx1FarEndTotalSESs"), ("DS1-MIB", "dsx1FarEndIntervalNumber"), ("DS1-MIB", "dsx1FarEndCurrentLESs"), ("DS1-MIB", "dsx1FarEndTimeElapsed"), ("DS1-MIB", "dsx1FarEndTotalPCVs"), ("DS1-MIB", "dsx1FarEndCurrentCSSs"), ("DS1-MIB", "dsx1FarEndCurrentBESs"), ("DS1-MIB", "dsx1FarEndIntervalSESs"), ("DS1-MIB", "dsx1FarEndTotalIndex"), ("DS1-MIB", "dsx1FarEndCurrentIndex"), ("DS1-MIB", "dsx1FarEndIntervalSEFSs"), ("DS1-MIB", "dsx1FarEndIntervalLESs"), ("DS1-MIB", "dsx1FarEndCurrentSEFSs"), ("DS1-MIB", "dsx1FarEndIntervalValidData"), ("DS1-MIB", "dsx1FarEndIntervalPCVs"), ("DS1-MIB", "dsx1FarEndCurrentPCVs"), ("DS1-MIB", "dsx1FarEndTotalCSSs"), ("DS1-MIB", "dsx1FarEndTotalBESs"), ("DS1-MIB", "dsx1FarEndValidIntervals"), ("DS1-MIB", "dsx1FarEndCurrentESs"), ("DS1-MIB", "dsx1FarEndIntervalBESs"), ("DS1-MIB", "dsx1FarEndIntervalIndex"), ("DS1-MIB", "dsx1FarEndInvalidIntervals"), ("DS1-MIB", "dsx1FarEndCurrentSESs"), ("DS1-MIB", "dsx1FarEndIntervalCSSs"), ("DS1-MIB", "dsx1FarEndTotalSEFSs"), ("DS1-MIB", "dsx1FarEndCurrentUASs"), ("DS1-MIB", "dsx1FarEndTotalESs"), ("DS1-MIB", "dsx1FarEndTotalLESs"), ("DS1-MIB", "dsx1FarEndIntervalESs"), ) ) if mibBuilder.loadTexts: ds1FarEndNGroup.setDescription("A collection of objects providing remote\nconfiguration and statistics information.") # Compliances ds1Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 1)).setObjects(*(("DS1-MIB", "ds1FarEndGroup"), ("DS1-MIB", "ds1ChanMappingGroup"), ("DS1-MIB", "ds1NearEndStatisticsGroup"), ("DS1-MIB", "ds1DS2Group"), ("DS1-MIB", "ds1NearEndOptionalConfigGroup"), ("DS1-MIB", "ds1NearEndConfigGroup"), ("DS1-MIB", "ds1TransStatsGroup"), ) ) if mibBuilder.loadTexts: ds1Compliance.setDescription("The compliance statement for T1 and E1\ninterfaces.") ds1MibT1PriCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 2)).setObjects(*(("DS1-MIB", "ds1NearEndStatisticsGroup"), ("DS1-MIB", "ds1NearEndConfigGroup"), ) ) if mibBuilder.loadTexts: ds1MibT1PriCompliance.setDescription("Compliance statement for using this MIB for ISDN\nPrimary Rate interfaces on T1 lines.") ds1MibE1PriCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 3)).setObjects(*(("DS1-MIB", "ds1NearEndStatisticsGroup"), ("DS1-MIB", "ds1NearEndConfigGroup"), ) ) if mibBuilder.loadTexts: ds1MibE1PriCompliance.setDescription("Compliance statement for using this MIB for ISDN\nPrimary Rate interfaces on E1 lines.") ds1Ds2Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 4)).setObjects(*(("DS1-MIB", "ds1DS2Group"), ) ) if mibBuilder.loadTexts: ds1Ds2Compliance.setDescription("Compliance statement for using this MIB for DS2\ninterfaces.") ds1NCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 5)).setObjects(*(("DS1-MIB", "ds1NearEndStatisticsGroup"), ("DS1-MIB", "ds1FarEndGroup"), ("DS1-MIB", "ds1DS2Group"), ("DS1-MIB", "ds1ChanMappingGroup"), ("DS1-MIB", "ds1NearEndOptionalConfigGroup"), ("DS1-MIB", "ds1NearEndOptionalTrapGroup"), ("DS1-MIB", "ds1NearEndConfigurationGroup"), ("DS1-MIB", "ds1TransStatsGroup"), ) ) if mibBuilder.loadTexts: ds1NCompliance.setDescription("The compliance statement for T1 and E1\ninterfaces.") ds1MibT1PriNCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 6)).setObjects(*(("DS1-MIB", "ds1NearEndStatisticsGroup"), ("DS1-MIB", "ds1NearEndConfigurationGroup"), ) ) if mibBuilder.loadTexts: ds1MibT1PriNCompliance.setDescription("Compliance statement for using this MIB for ISDN\nPrimary Rate interfaces on T1 lines.") ds1MibE1PriNCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 7)).setObjects(*(("DS1-MIB", "ds1NearEndStatisticsGroup"), ("DS1-MIB", "ds1NearEndConfigurationGroup"), ) ) if mibBuilder.loadTexts: ds1MibE1PriNCompliance.setDescription("Compliance statement for using this MIB for ISDN\nPrimary Rate interfaces on E1 lines.") ds1J1Compliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 8)).setObjects(*(("DS1-MIB", "ds1NearEndCfgGroup"), ("DS1-MIB", "ds1NearEndStatGroup"), ("DS1-MIB", "ds1DS2Group"), ("DS1-MIB", "ds1NearEndOptionalConfigGroup"), ("DS1-MIB", "ds1NearEndOptionalTrapGroup"), ("DS1-MIB", "ds1ChanMappingGroup"), ("DS1-MIB", "ds1FarEndNGroup"), ("DS1-MIB", "ds1TransStatsGroup"), ) ) if mibBuilder.loadTexts: ds1J1Compliance.setDescription("The compliance statement for T1, J1, and E1\ninterfaces.") ds1NMibT1PriNCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 9)).setObjects(*(("DS1-MIB", "ds1NearEndCfgGroup"), ("DS1-MIB", "ds1NearEndStatGroup"), ) ) if mibBuilder.loadTexts: ds1NMibT1PriNCompliance.setDescription("Compliance statement for using this MIB for ISDN\nPrimary Rate interfaces on T1 lines.") ds1NMibE1PriNCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 18, 14, 2, 10)).setObjects(*(("DS1-MIB", "ds1NearEndCfgGroup"), ("DS1-MIB", "ds1NearEndStatGroup"), ) ) if mibBuilder.loadTexts: ds1NMibE1PriNCompliance.setDescription("Compliance statement for using this MIB for ISDN\nPrimary Rate interfaces on E1 lines.") # Exports # Module identity mibBuilder.exportSymbols("DS1-MIB", PYSNMP_MODULE_ID=ds1) # Objects mibBuilder.exportSymbols("DS1-MIB", ds1=ds1, dsx1ConfigTable=dsx1ConfigTable, dsx1ConfigEntry=dsx1ConfigEntry, dsx1LineIndex=dsx1LineIndex, dsx1IfIndex=dsx1IfIndex, dsx1TimeElapsed=dsx1TimeElapsed, dsx1ValidIntervals=dsx1ValidIntervals, dsx1LineType=dsx1LineType, dsx1LineCoding=dsx1LineCoding, dsx1SendCode=dsx1SendCode, dsx1CircuitIdentifier=dsx1CircuitIdentifier, dsx1LoopbackConfig=dsx1LoopbackConfig, dsx1LineStatus=dsx1LineStatus, dsx1SignalMode=dsx1SignalMode, dsx1TransmitClockSource=dsx1TransmitClockSource, dsx1Fdl=dsx1Fdl, dsx1InvalidIntervals=dsx1InvalidIntervals, dsx1LineLength=dsx1LineLength, dsx1LineStatusLastChange=dsx1LineStatusLastChange, dsx1LineStatusChangeTrapEnable=dsx1LineStatusChangeTrapEnable, dsx1LoopbackStatus=dsx1LoopbackStatus, dsx1Ds1ChannelNumber=dsx1Ds1ChannelNumber, dsx1Channelization=dsx1Channelization, dsx1LineMode=dsx1LineMode, dsx1LineBuildOut=dsx1LineBuildOut, dsx1LineImpedance=dsx1LineImpedance, dsx1CurrentTable=dsx1CurrentTable, dsx1CurrentEntry=dsx1CurrentEntry, dsx1CurrentIndex=dsx1CurrentIndex, dsx1CurrentESs=dsx1CurrentESs, dsx1CurrentSESs=dsx1CurrentSESs, dsx1CurrentSEFSs=dsx1CurrentSEFSs, dsx1CurrentUASs=dsx1CurrentUASs, dsx1CurrentCSSs=dsx1CurrentCSSs, dsx1CurrentPCVs=dsx1CurrentPCVs, dsx1CurrentLESs=dsx1CurrentLESs, dsx1CurrentBESs=dsx1CurrentBESs, dsx1CurrentDMs=dsx1CurrentDMs, dsx1CurrentLCVs=dsx1CurrentLCVs, dsx1IntervalTable=dsx1IntervalTable, dsx1IntervalEntry=dsx1IntervalEntry, dsx1IntervalIndex=dsx1IntervalIndex, dsx1IntervalNumber=dsx1IntervalNumber, dsx1IntervalESs=dsx1IntervalESs, dsx1IntervalSESs=dsx1IntervalSESs, dsx1IntervalSEFSs=dsx1IntervalSEFSs, dsx1IntervalUASs=dsx1IntervalUASs, dsx1IntervalCSSs=dsx1IntervalCSSs, dsx1IntervalPCVs=dsx1IntervalPCVs, dsx1IntervalLESs=dsx1IntervalLESs, dsx1IntervalBESs=dsx1IntervalBESs, dsx1IntervalDMs=dsx1IntervalDMs, dsx1IntervalLCVs=dsx1IntervalLCVs, dsx1IntervalValidData=dsx1IntervalValidData, dsx1TotalTable=dsx1TotalTable, dsx1TotalEntry=dsx1TotalEntry, dsx1TotalIndex=dsx1TotalIndex, dsx1TotalESs=dsx1TotalESs, dsx1TotalSESs=dsx1TotalSESs, dsx1TotalSEFSs=dsx1TotalSEFSs, dsx1TotalUASs=dsx1TotalUASs, dsx1TotalCSSs=dsx1TotalCSSs, dsx1TotalPCVs=dsx1TotalPCVs, dsx1TotalLESs=dsx1TotalLESs, dsx1TotalBESs=dsx1TotalBESs, dsx1TotalDMs=dsx1TotalDMs, dsx1TotalLCVs=dsx1TotalLCVs, dsx1FarEndCurrentTable=dsx1FarEndCurrentTable, dsx1FarEndCurrentEntry=dsx1FarEndCurrentEntry, dsx1FarEndCurrentIndex=dsx1FarEndCurrentIndex, dsx1FarEndTimeElapsed=dsx1FarEndTimeElapsed, dsx1FarEndValidIntervals=dsx1FarEndValidIntervals, dsx1FarEndCurrentESs=dsx1FarEndCurrentESs, dsx1FarEndCurrentSESs=dsx1FarEndCurrentSESs, dsx1FarEndCurrentSEFSs=dsx1FarEndCurrentSEFSs, dsx1FarEndCurrentUASs=dsx1FarEndCurrentUASs, dsx1FarEndCurrentCSSs=dsx1FarEndCurrentCSSs, dsx1FarEndCurrentLESs=dsx1FarEndCurrentLESs, dsx1FarEndCurrentPCVs=dsx1FarEndCurrentPCVs, dsx1FarEndCurrentBESs=dsx1FarEndCurrentBESs, dsx1FarEndCurrentDMs=dsx1FarEndCurrentDMs, dsx1FarEndInvalidIntervals=dsx1FarEndInvalidIntervals, dsx1FarEndIntervalTable=dsx1FarEndIntervalTable, dsx1FarEndIntervalEntry=dsx1FarEndIntervalEntry, dsx1FarEndIntervalIndex=dsx1FarEndIntervalIndex, dsx1FarEndIntervalNumber=dsx1FarEndIntervalNumber, dsx1FarEndIntervalESs=dsx1FarEndIntervalESs, dsx1FarEndIntervalSESs=dsx1FarEndIntervalSESs, dsx1FarEndIntervalSEFSs=dsx1FarEndIntervalSEFSs, dsx1FarEndIntervalUASs=dsx1FarEndIntervalUASs, dsx1FarEndIntervalCSSs=dsx1FarEndIntervalCSSs, dsx1FarEndIntervalLESs=dsx1FarEndIntervalLESs, dsx1FarEndIntervalPCVs=dsx1FarEndIntervalPCVs, dsx1FarEndIntervalBESs=dsx1FarEndIntervalBESs, dsx1FarEndIntervalDMs=dsx1FarEndIntervalDMs, dsx1FarEndIntervalValidData=dsx1FarEndIntervalValidData, dsx1FarEndTotalTable=dsx1FarEndTotalTable, dsx1FarEndTotalEntry=dsx1FarEndTotalEntry, dsx1FarEndTotalIndex=dsx1FarEndTotalIndex, dsx1FarEndTotalESs=dsx1FarEndTotalESs, dsx1FarEndTotalSESs=dsx1FarEndTotalSESs, dsx1FarEndTotalSEFSs=dsx1FarEndTotalSEFSs, dsx1FarEndTotalUASs=dsx1FarEndTotalUASs, dsx1FarEndTotalCSSs=dsx1FarEndTotalCSSs, dsx1FarEndTotalLESs=dsx1FarEndTotalLESs, dsx1FarEndTotalPCVs=dsx1FarEndTotalPCVs, dsx1FarEndTotalBESs=dsx1FarEndTotalBESs, dsx1FarEndTotalDMs=dsx1FarEndTotalDMs, dsx1FracTable=dsx1FracTable, dsx1FracEntry=dsx1FracEntry, dsx1FracIndex=dsx1FracIndex, dsx1FracNumber=dsx1FracNumber, dsx1FracIfIndex=dsx1FracIfIndex, ds1Conformance=ds1Conformance, ds1Groups=ds1Groups, ds1Compliances=ds1Compliances, ds1Traps=ds1Traps, dsx1ChanMappingTable=dsx1ChanMappingTable, dsx1ChanMappingEntry=dsx1ChanMappingEntry, dsx1ChanMappedIfIndex=dsx1ChanMappedIfIndex) # Notifications mibBuilder.exportSymbols("DS1-MIB", dsx1LineStatusChange=dsx1LineStatusChange) # Groups mibBuilder.exportSymbols("DS1-MIB", ds1NearEndConfigGroup=ds1NearEndConfigGroup, ds1NearEndStatisticsGroup=ds1NearEndStatisticsGroup, ds1FarEndGroup=ds1FarEndGroup, ds1DeprecatedGroup=ds1DeprecatedGroup, ds1NearEndOptionalConfigGroup=ds1NearEndOptionalConfigGroup, ds1DS2Group=ds1DS2Group, ds1TransStatsGroup=ds1TransStatsGroup, ds1NearEndOptionalTrapGroup=ds1NearEndOptionalTrapGroup, ds1ChanMappingGroup=ds1ChanMappingGroup, ds1NearEndConfigurationGroup=ds1NearEndConfigurationGroup, ds1NearEndCfgGroup=ds1NearEndCfgGroup, ds1NearEndStatGroup=ds1NearEndStatGroup, ds1FarEndNGroup=ds1FarEndNGroup) # Compliances mibBuilder.exportSymbols("DS1-MIB", ds1Compliance=ds1Compliance, ds1MibT1PriCompliance=ds1MibT1PriCompliance, ds1MibE1PriCompliance=ds1MibE1PriCompliance, ds1Ds2Compliance=ds1Ds2Compliance, ds1NCompliance=ds1NCompliance, ds1MibT1PriNCompliance=ds1MibT1PriNCompliance, ds1MibE1PriNCompliance=ds1MibE1PriNCompliance, ds1J1Compliance=ds1J1Compliance, ds1NMibT1PriNCompliance=ds1NMibT1PriNCompliance, ds1NMibE1PriNCompliance=ds1NMibE1PriNCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IPV6-UDP-MIB.py0000644000014400001440000001222711736645136020613 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IPV6-UDP-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:14 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( Ipv6Address, Ipv6IfIndexOrZero, ) = mibBuilder.importSymbols("IPV6-TC", "Ipv6Address", "Ipv6IfIndexOrZero") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, experimental, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "experimental", "mib-2") # Objects udp = MibIdentifier((1, 3, 6, 1, 2, 1, 7)) ipv6UdpTable = MibTable((1, 3, 6, 1, 2, 1, 7, 6)) if mibBuilder.loadTexts: ipv6UdpTable.setDescription("A table containing UDP listener information for\nUDP/IPv6 endpoints.") ipv6UdpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 7, 6, 1)).setIndexNames((0, "IPV6-UDP-MIB", "ipv6UdpLocalAddress"), (0, "IPV6-UDP-MIB", "ipv6UdpLocalPort"), (0, "IPV6-UDP-MIB", "ipv6UdpIfIndex")) if mibBuilder.loadTexts: ipv6UdpEntry.setDescription("Information about a particular current UDP listener.\n\nNote that conceptual rows in this table require an\nadditional index object compared to udpTable, since\nIPv6 addresses are not guaranteed to be unique on the\nmanaged node.") ipv6UdpLocalAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 6, 1, 1), Ipv6Address()).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6UdpLocalAddress.setDescription("The local IPv6 address for this UDP listener.\nIn the case of a UDP listener which is willing\nto accept datagrams for any IPv6 address\nassociated with the managed node, the value ::0\nis used.") ipv6UdpLocalPort = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("noaccess") if mibBuilder.loadTexts: ipv6UdpLocalPort.setDescription("The local port number for this UDP listener.") ipv6UdpIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 7, 6, 1, 3), Ipv6IfIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipv6UdpIfIndex.setDescription("An index object used to disambiguate conceptual rows in\nthe table, since the ipv6UdpLocalAddress/ipv6UdpLocalPort\npair may not be unique.\n\nThis object identifies the local interface that is\nassociated with ipv6UdpLocalAddress for this UDP listener.\nIf such a local interface cannot be determined, this object\nshould take on the value 0. (A possible example of this\nwould be if the value of ipv6UdpLocalAddress is ::0.)\n\nThe interface identified by a particular non-0 value of\nthis index is the same interface as identified by the same\nvalue of ipv6IfIndex.\n\nThe value of this object must remain constant during\nthe life of this UDP endpoint.") ipv6UdpMIB = ModuleIdentity((1, 3, 6, 1, 3, 87)).setRevisions(("1998-01-29 00:00",)) if mibBuilder.loadTexts: ipv6UdpMIB.setOrganization("IETF IPv6 MIB Working Group") if mibBuilder.loadTexts: ipv6UdpMIB.setContactInfo(" Mike Daniele\n\nPostal: Compaq Computer Corporation\n 110 Spitbrook Rd\n Nashua, NH 03062.\n US\n\nPhone: +1 603 884 1423\nEmail: daniele@zk3.dec.com") if mibBuilder.loadTexts: ipv6UdpMIB.setDescription("The MIB module for entities implementing UDP over IPv6.") ipv6UdpConformance = MibIdentifier((1, 3, 6, 1, 3, 87, 2)) ipv6UdpCompliances = MibIdentifier((1, 3, 6, 1, 3, 87, 2, 1)) ipv6UdpGroups = MibIdentifier((1, 3, 6, 1, 3, 87, 2, 2)) # Augmentions # Groups ipv6UdpGroup = ObjectGroup((1, 3, 6, 1, 3, 87, 2, 2, 1)).setObjects(*(("IPV6-UDP-MIB", "ipv6UdpIfIndex"), ) ) if mibBuilder.loadTexts: ipv6UdpGroup.setDescription("The group of objects providing management of\nUDP over IPv6.") # Compliances ipv6UdpCompliance = ModuleCompliance((1, 3, 6, 1, 3, 87, 2, 1, 1)).setObjects(*(("IPV6-UDP-MIB", "ipv6UdpGroup"), ) ) if mibBuilder.loadTexts: ipv6UdpCompliance.setDescription("The compliance statement for SNMPv2 entities which\nimplement UDP over IPv6.") # Exports # Module identity mibBuilder.exportSymbols("IPV6-UDP-MIB", PYSNMP_MODULE_ID=ipv6UdpMIB) # Objects mibBuilder.exportSymbols("IPV6-UDP-MIB", udp=udp, ipv6UdpTable=ipv6UdpTable, ipv6UdpEntry=ipv6UdpEntry, ipv6UdpLocalAddress=ipv6UdpLocalAddress, ipv6UdpLocalPort=ipv6UdpLocalPort, ipv6UdpIfIndex=ipv6UdpIfIndex, ipv6UdpMIB=ipv6UdpMIB, ipv6UdpConformance=ipv6UdpConformance, ipv6UdpCompliances=ipv6UdpCompliances, ipv6UdpGroups=ipv6UdpGroups) # Groups mibBuilder.exportSymbols("IPV6-UDP-MIB", ipv6UdpGroup=ipv6UdpGroup) # Compliances mibBuilder.exportSymbols("IPV6-UDP-MIB", ipv6UdpCompliance=ipv6UdpCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/IF-INVERTED-STACK-MIB.py0000644000014400001440000001350711736645136022022 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python IF-INVERTED-STACK-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:08 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifStackGroup2, ifStackHigherLayer, ifStackLowerLayer, ) = mibBuilder.importSymbols("IF-MIB", "ifStackGroup2", "ifStackHigherLayer", "ifStackLowerLayer") ( ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup") ( Bits, Integer32, ModuleIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, mib_2, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "ModuleIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "mib-2") ( RowStatus, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus") # Objects ifInvertedStackMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 77)).setRevisions(("2000-06-14 00:00",)) if mibBuilder.loadTexts: ifInvertedStackMIB.setOrganization("IETF Interfaces MIB Working Group") if mibBuilder.loadTexts: ifInvertedStackMIB.setContactInfo(" Keith McCloghrie\nCisco Systems, Inc.\n170 West Tasman Drive\nSan Jose, CA 95134-1706\nUS\n\n408-526-5260\nkzm@cisco.com") if mibBuilder.loadTexts: ifInvertedStackMIB.setDescription("The MIB module which provides the Inverted Stack Table for\ninterface sub-layers.") ifInvMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 77, 1)) ifInvStackTable = MibTable((1, 3, 6, 1, 2, 1, 77, 1, 1)) if mibBuilder.loadTexts: ifInvStackTable.setDescription("A table containing information on the relationships between\n\n\nthe multiple sub-layers of network interfaces. In\nparticular, it contains information on which sub-layers run\n'underneath' which other sub-layers, where each sub-layer\ncorresponds to a conceptual row in the ifTable. For\nexample, when the sub-layer with ifIndex value x runs\nunderneath the sub-layer with ifIndex value y, then this\ntable contains:\n\n ifInvStackStatus.x.y=active\n\nFor each ifIndex value, z, which identifies an active\ninterface, there are always at least two instantiated rows\nin this table associated with z. For one of these rows, z\nis the value of ifStackHigherLayer; for the other, z is the\nvalue of ifStackLowerLayer. (If z is not involved in\nmultiplexing, then these are the only two rows associated\nwith z.)\n\nFor example, two rows exist even for an interface which has\nno others stacked on top or below it:\n\n ifInvStackStatus.z.0=active\n ifInvStackStatus.0.z=active\n\nThis table contains exactly the same number of rows as the\nifStackTable, but the rows appear in a different order.") ifInvStackEntry = MibTableRow((1, 3, 6, 1, 2, 1, 77, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifStackLowerLayer"), (0, "IF-MIB", "ifStackHigherLayer")) if mibBuilder.loadTexts: ifInvStackEntry.setDescription("Information on a particular relationship between two sub-\nlayers, specifying that one sub-layer runs underneath the\nother sub-layer. Each sub-layer corresponds to a conceptual\nrow in the ifTable.") ifInvStackStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 77, 1, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: ifInvStackStatus.setDescription("The status of the relationship between two sub-layers.\n\nAn instance of this object exists for each instance of the\nifStackStatus object, and vice versa. For example, if the\nvariable ifStackStatus.H.L exists, then the variable\nifInvStackStatus.L.H must also exist, and vice versa. In\naddition, the two variables always have the same value.\n\nHowever, unlike ifStackStatus, the ifInvStackStatus object\nis NOT write-able. A network management application wishing\nto change a relationship between sub-layers H and L cannot\ndo so by modifying the value of ifInvStackStatus.L.H, but\nmust instead modify the value of ifStackStatus.H.L. After\nthe ifStackTable is modified, the change will be reflected\nin this table.") ifInvConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 77, 1, 2)) ifInvGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 77, 1, 2, 1)) ifInvCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 77, 1, 2, 2)) # Augmentions # Groups ifInvStackGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 77, 1, 2, 1, 1)).setObjects(*(("IF-INVERTED-STACK-MIB", "ifInvStackStatus"), ) ) if mibBuilder.loadTexts: ifInvStackGroup.setDescription("A collection of objects providing inverted information on\nthe layering of MIB-II interfaces.") # Compliances ifInvCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 77, 1, 2, 2, 1)).setObjects(*(("IF-INVERTED-STACK-MIB", "ifInvStackGroup"), ("IF-MIB", "ifStackGroup2"), ) ) if mibBuilder.loadTexts: ifInvCompliance.setDescription("The compliance statement for SNMP entities which provide\ninverted information on the layering of network interfaces.") # Exports # Module identity mibBuilder.exportSymbols("IF-INVERTED-STACK-MIB", PYSNMP_MODULE_ID=ifInvertedStackMIB) # Objects mibBuilder.exportSymbols("IF-INVERTED-STACK-MIB", ifInvertedStackMIB=ifInvertedStackMIB, ifInvMIBObjects=ifInvMIBObjects, ifInvStackTable=ifInvStackTable, ifInvStackEntry=ifInvStackEntry, ifInvStackStatus=ifInvStackStatus, ifInvConformance=ifInvConformance, ifInvGroups=ifInvGroups, ifInvCompliances=ifInvCompliances) # Groups mibBuilder.exportSymbols("IF-INVERTED-STACK-MIB", ifInvStackGroup=ifInvStackGroup) # Compliances mibBuilder.exportSymbols("IF-INVERTED-STACK-MIB", ifInvCompliance=ifInvCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs/HDSL2-SHDSL-LINE-MIB.py0000644000014400001440000024345311736645136021664 0ustar ilyausers00000000000000# PySNMP SMI module. Autogenerated from smidump -f python HDSL2-SHDSL-LINE-MIB # by libsmi2pysnmp-0.1.3 at Mon Apr 2 20:39:03 2012, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") ( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ( ifIndex, ) = mibBuilder.importSymbols("IF-MIB", "ifIndex") ( PerfCurrentCount, PerfIntervalCount, ) = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfCurrentCount", "PerfIntervalCount") ( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") ( Bits, Counter32, Gauge32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, transmission, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Gauge32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "transmission") ( RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention") # Types class Hdsl2ShdslClockReferenceType(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(3,2,4,1,) namedValues = NamedValues(("localClk", 1), ("networkClk", 2), ("dataOrNetworkClk", 3), ("dataClk", 4), ) class Hdsl2ShdslPerfIntervalThreshold(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,900) class Hdsl2ShdslPerfTimeElapsed(TextualConvention, Unsigned32): displayHint = "d" subtypeSpec = Unsigned32.subtypeSpec+ValueRangeConstraint(0,86399) class Hdsl2ShdslTransmissionModeType(Bits): namedValues = NamedValues(("region1", 0), ("region2", 1), ) class Hdsl2ShdslUnitId(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(6,9,8,3,5,10,7,1,4,2,) namedValues = NamedValues(("xtuC", 1), ("xru8", 10), ("xtuR", 2), ("xru1", 3), ("xru2", 4), ("xru3", 5), ("xru4", 6), ("xru5", 7), ("xru6", 8), ("xru7", 9), ) class Hdsl2ShdslUnitSide(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,) namedValues = NamedValues(("networkSide", 1), ("customerSide", 2), ) class Hdsl2ShdslWirePair(Integer): subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(1,2,3,4,) namedValues = NamedValues(("wirePair1", 1), ("wirePair2", 2), ("wirePair3", 3), ("wirePair4", 4), ) class Hdsl2Shdsl1DayIntervalCount(TextualConvention, Gauge32): displayHint = "d" class Hdsl2ShdslPerfCurrDayCount(TextualConvention, Gauge32): displayHint = "d" # Objects hdsl2ShdslMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 48)).setRevisions(("2005-12-07 00:00","2002-05-09 00:00",)) if mibBuilder.loadTexts: hdsl2ShdslMIB.setOrganization("ADSLMIB Working Group") if mibBuilder.loadTexts: hdsl2ShdslMIB.setContactInfo("WG-email: adslmib@ietf.org\nWG-URL:\n http://www.ietf.org/html.charters/adslmib-charter.html\nInfo: https://www1.ietf.org/mailman/listinfo/adslmib\nChair: Mike Sneed\n Sand Channel Systems\nPostal: 1210-203 Westview Ln\n Raleigh NC 27605 USA\nEmail: sneedmike@hotmail.com\nPhone: +1 206 600 7022\n\nCo-Chair Bob Ray\n PESA Switching Systems, Inc.\n\n\n\nPostal 330-A Wynn Drive\n Huntsville, AL 35805 USA\nPhone +1 256 726 9200 ext. 142\n\nCo-editor: Clay Sikes\n Zhone Technologies, Inc.\nPostal: 8545 126th Ave. N.\n Largo, FL 33772 USA\nEmail: csikes@zhone.com\nPhone: +1 727 530 8257\n\nCo-editor: Bob Ray\n PESA Switching Systems, Inc.\nPostal: 330-A Wynn Drive\n Huntsville, AL 35805 USA\nEmail: rray@pesa.com\nPhone: +1 256 726 9200 ext. 142\n\nCo-editor: Rajesh Abbi\n Alcatel USA\nPostal: 2301 Sugar Bush Road\n Raleigh, NC 27612-3339 USA\n\nEmail: Rajesh.Abbi@alcatel.com\nPhone: +1 919 850 6194") if mibBuilder.loadTexts: hdsl2ShdslMIB.setDescription("This MIB module defines a collection of objects for managing\nHDSL2/SHDSL lines. An agent may reside at either end of the\nline; however, the MIB module is designed to require no\nmanagement communication between the modems beyond that\ninherent in the low-level EOC line protocol as defined in\nANSI T1E1.4/2000-006 (for HDSL2 lines) or in ITU G.991.2\n(for SHDSL lines).\n\nCopyright (C) The Internet Society (2005). This version of\nthis MIB module is part of RFC 4319; see the RFC itself for\nfull legal notices.") hdsl2ShdslNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 48, 0)) hdsl2ShdslMibObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 48, 1)) hdsl2ShdslSpanConfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 1)) if mibBuilder.loadTexts: hdsl2ShdslSpanConfTable.setDescription("This table supports overall configuration of HDSL2/SHDSL\nspans. Entries in this table MUST be maintained in a\npersistent manner.") hdsl2ShdslSpanConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 1, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hdsl2ShdslSpanConfEntry.setDescription("An entry in the hdsl2ShdslSpanConfTable. Each entry\nrepresents the complete span in a single HDSL2/SHDSL line.\nIt is indexed by the ifIndex of the associated HDSL2/SHDSL\nline.") hdsl2ShdslSpanConfNumRepeaters = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslSpanConfNumRepeaters.setDescription("This object provisions the number of repeaters/regenerators\nin this HDSL2/SHDSL span.") hdsl2ShdslSpanConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslSpanConfProfile.setDescription("This object is a pointer to a span configuration profile in\nthe hdsl2ShdslSpanConfProfileTable, which applies to this\nspan. The value of this object is the index of the referenced\nprofile in the hdsl2ShdslSpanConfProfileTable. Note that span\nconfiguration profiles are only applicable to SHDSL lines.\n\nHDSL2 lines MUST reference the default profile, 'DEFVAL'.\nBy default, this object will have the value 'DEFVAL'\n(the index of the default profile).\n\nAny attempt to set this object to a value that is not the value\nof the index for an active entry in the profile table,\nhdsl2ShdslSpanConfProfileTable, MUST be rejected.") hdsl2ShdslSpanConfAlarmProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslSpanConfAlarmProfile.setDescription("This object is a pointer to an alarm configuration profile in\nthe hdsl2ShdslEndpointAlarmConfProfileTable. The value of\nthis object is the index of the referenced profile in the\nhdsl2ShdslEndpointAlarmConfProfileTable. The alarm\nthreshold configuration in the referenced profile will be\n\n\n\nused by default for all segment endpoints in this span.\nIndividual endpoints may override this profile by explicitly\nspecifying some other profile in the\nhdsl2ShdslEndpointConfTable. By default, this object will\nhave the value 'DEFVAL' (the index of the default\nprofile).\n\nAny attempt to set this object to a value that is not the value\nof the index for an active entry in the profile table,\nhdsl2ShdslEndpointAlarmConfProfileTable, MUST be rejected.") hdsl2ShdslSpanStatusTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 2)) if mibBuilder.loadTexts: hdsl2ShdslSpanStatusTable.setDescription("This table provides overall status information of\nHDSL2/SHDSL spans. This table contains live data from\nequipment. As such, it is NOT persistent.") hdsl2ShdslSpanStatusEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 2, 1)).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hdsl2ShdslSpanStatusEntry.setDescription("An entry in the hdsl2ShdslSpanStatusTable. Each entry\nrepresents the complete span in a single HDSL2/SHDSL line.\nIt is indexed by the ifIndex of the associated HDSL2/SHDSL\nline.") hdsl2ShdslStatusNumAvailRepeaters = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslStatusNumAvailRepeaters.setDescription("Contains the actual number of repeaters/regenerators\ndiscovered in this HDSL2/SHDSL span.") hdsl2ShdslStatusMaxAttainableLineRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslStatusMaxAttainableLineRate.setDescription("Contains the maximum attainable line rate in this HDSL2/SHDSL\nspan. This object provides the maximum rate the line is\ncapable of achieving. This is based upon measurements made\nduring line probing. This rate includes payload (user data)\nand any applicable framing overhead.") hdsl2ShdslStatusActualLineRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslStatusActualLineRate.setDescription("Contains the actual line rate in this HDSL2/SHDSL span. This\nSHOULD equal ifSpeed. This rate includes payload (user data)\nand any applicable framing overhead") hdsl2ShdslStatusTransmissionModeCurrent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 2, 1, 4), Hdsl2ShdslTransmissionModeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslStatusTransmissionModeCurrent.setDescription("Contains the current Power Spectral Density (PSD) regional\nsetting of the HDSL2/SHDSL span.") hdsl2ShdslStatusMaxAttainablePayloadRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslStatusMaxAttainablePayloadRate.setDescription("Contains the maximum attainable payload (user data)\nline rate in this HDSL2/SHDSL span. This object provides\nthe maximum rate the line is capable of achieving. This\nis based upon measurements made during line probing. Any\nframing overhead is not included.") hdsl2ShdslStatusActualPayloadRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslStatusActualPayloadRate.setDescription("Contains the actual line rate in this HDSL2/SHDSL span. Any\nframing overhead is not included.") hdsl2ShdslInventoryTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 3)) if mibBuilder.loadTexts: hdsl2ShdslInventoryTable.setDescription("This table supports retrieval of unit inventory information\navailable via the EOC from units in an HDSL2/SHDSL line.\n\nEntries in this table are dynamically created during the\nline discovery process. The life cycle for these entries\nis as follows:\n\n - xtu discovers a device, either a far-end xtu or an xru\n - an inventory table entry is created for the device\n - the line goes down for whatever reason\n - inventory table entries for unreachable devices are\n destroyed\n\nAs these entries are created/destroyed dynamically, they\nare NOT persistent.") hdsl2ShdslInventoryEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvIndex")) if mibBuilder.loadTexts: hdsl2ShdslInventoryEntry.setDescription("An entry in the hdsl2ShdslInventoryTable. Each entry\n\n\n\nrepresents inventory information for a single unit in an\nHDSL2/SHDSL line. It is indexed by the ifIndex of the\nHDSL2/SHDSL line and the Hdsl2ShdslUnitId of the\nassociated unit.") hdsl2ShdslInvIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 1), Hdsl2ShdslUnitId()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hdsl2ShdslInvIndex.setDescription("Each entry in this table corresponds to a physical element\nin an HDSL2/SHDSL span. It is based on the EOC unit addressing\nscheme with reference to the xtuC.") hdsl2ShdslInvVendorID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorID.setDescription("Vendor ID as reported in an Inventory Response message.") hdsl2ShdslInvVendorModelNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorModelNumber.setDescription("Vendor model number as reported in an Inventory Response\nmessage.") hdsl2ShdslInvVendorSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorSerialNumber.setDescription("Vendor serial number as reported in an Inventory Response\nmessage.") hdsl2ShdslInvVendorEOCSoftwareVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorEOCSoftwareVersion.setDescription("Vendor EOC version as reported in a Discovery Response\nmessage.") hdsl2ShdslInvStandardVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvStandardVersion.setDescription("Version of the HDSL2/SHDSL standard implemented, as reported\nin an Inventory Response message.") hdsl2ShdslInvVendorListNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorListNumber.setDescription("Vendor list number as reported in an Inventory Response\nmessage.") hdsl2ShdslInvVendorIssueNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorIssueNumber.setDescription("Vendor issue number as reported in an Inventory Response\nmessage.") hdsl2ShdslInvVendorSoftwareVersion = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorSoftwareVersion.setDescription("Vendor software version as reported in an Inventory Response\nmessage.") hdsl2ShdslInvEquipmentCode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(10, 10)).setFixedLength(10)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvEquipmentCode.setDescription("Equipment code conforming to ANSI T1.213, Coded Identification\nof Equipment Entities.") hdsl2ShdslInvVendorOther = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(12, 12)).setFixedLength(12)).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvVendorOther.setDescription("Other vendor information as reported in an Inventory Response\nmessage.") hdsl2ShdslInvTransmissionModeCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 3, 1, 12), Hdsl2ShdslTransmissionModeType()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslInvTransmissionModeCapability.setDescription("Contains the transmission mode capability of the SHDSL unit.") hdsl2ShdslEndpointConfTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 4)) if mibBuilder.loadTexts: hdsl2ShdslEndpointConfTable.setDescription("This table supports configuration parameters for segment\nendpoints in an HDSL2/SHDSL line. As this table is indexed\nby ifIndex, it MUST be maintained in a persistent manner.") hdsl2ShdslEndpointConfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 4, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointSide"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointWirePair")) if mibBuilder.loadTexts: hdsl2ShdslEndpointConfEntry.setDescription("An entry in the hdsl2ShdslEndpointConfTable. Each entry\nrepresents a single segment endpoint in an HDSL2/SHDSL line.\nIt is indexed by the ifIndex of the HDSL2/SHDSL line, the\nUnitId of the associated unit, the side of the unit, and the\nwire pair of the associated modem.") hdsl2ShdslEndpointSide = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 4, 1, 1), Hdsl2ShdslUnitSide()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hdsl2ShdslEndpointSide.setDescription("The side of the unit associated with this segment endpoint --\nNetwork/Customer side -- as per the Hdsl2ShdslUnitSide textual\nconvention.") hdsl2ShdslEndpointWirePair = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 4, 1, 2), Hdsl2ShdslWirePair()).setMaxAccess("noaccess") if mibBuilder.loadTexts: hdsl2ShdslEndpointWirePair.setDescription("The wire pair of the modem associated with this segment\nendpoint as per the Hdsl2ShdslWirePair textual convention.") hdsl2ShdslEndpointAlarmConfProfile = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 4, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslEndpointAlarmConfProfile.setDescription("This object configures the alarm threshold values to be used\nfor this segment endpoint. The values are obtained from the\nalarm configuration profile referenced by this object. The\nvalue of this object is the index of the referenced profile in\nthe hdsl2ShdslEndpointAlarmConfProfileTable, or NULL (a\nzero-length SnmpAdminString). If the value is a zero-length\nSnmpAdminString, the endpoint uses the default Alarm\nConfiguration Profile for the associated span as per the\nhdsl2ShdslSpanConfAlarmProfile object in the\nhdsl2ShdslSpanConfTable. The default value of this object is\na zero-length SnmpAdminString.\n\nAny attempt to set this object to a value that is not the value\nof the index for an active entry in the profile table,\nhdsl2ShdslEndpointAlarmConfProfileTable, MUST be rejected.") hdsl2ShdslEndpointCurrTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 5)) if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrTable.setDescription("This table contains current status and performance information\nfor segment endpoints in HDSL2/SHDSL lines. As with other\ntables in this MIB module indexed by ifIndex, entries in this\ntable MUST be maintained in a persistent manner.") hdsl2ShdslEndpointCurrEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointSide"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointWirePair")) if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrEntry.setDescription("An entry in the hdsl2ShdslEndpointCurrTable. Each entry\ncontains status and performance information relating to a\nsingle segment endpoint. It is indexed by the ifIndex of the\nHDSL2/SHDSL line, the UnitId of the associated unit, the side\nof the unit, and the wire pair of the associated modem.") hdsl2ShdslEndpointCurrAtn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrAtn.setDescription("The current loop attenuation for this endpoint as reported in\na Network or Customer Side Performance Status message.") hdsl2ShdslEndpointCurrSnrMgn = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrSnrMgn.setDescription("The current SNR margin for this endpoint as reported in a\nStatus Response/SNR message.") hdsl2ShdslEndpointCurrStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 3), Bits().subtype(namedValues=NamedValues(("noDefect", 0), ("powerBackoff", 1), ("loopbackActive", 10), ("deviceFault", 2), ("dcContinuityFault", 3), ("snrMarginAlarm", 4), ("loopAttenuationAlarm", 5), ("loswFailureAlarm", 6), ("configInitFailure", 7), ("protocolInitFailure", 8), ("noNeighborPresent", 9), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrStatus.setDescription("Contains the current state of the endpoint. This is a\nbit-map of possible conditions. The various bit positions\nare as follows:\n\nnoDefect There are no defects on the line.\n\npowerBackoff Indicates enhanced Power Backoff.\n\ndeviceFault Indicates that a vendor-dependent\n diagnostic or self-test fault\n has been detected.\n\ndcContinuityFault Indicates vendor-dependent\n conditions that interfere with\n span powering such as short and\n open circuits.\n\nsnrMarginAlarm Indicates that the SNR margin\n has dropped below the alarm threshold.\n\nloopAttenuationAlarm Indicates that the loop attenuation\n exceeds the alarm threshold.\n\nloswFailureAlarm Indicates a forward LOSW alarm.\n\nconfigInitFailure Endpoint failure during initialization\n due to paired endpoint not able to\n support requested configuration.\n\nprotocolInitFailure Endpoint failure during initialization\n due to incompatible protocol used by\n the paired endpoint.\n\nnoNeighborPresent Endpoint failure during initialization\n due to no activation sequence detected\n from paired endpoint.\n\nloopbackActive A loopback is currently active at this\n segment endpoint.\n\nThis is intended to supplement ifOperStatus. Note that there\nis a 1:1 relationship between the status bits defined in this\nobject and the notification thresholds defined elsewhere in\nthis MIB module.") hdsl2ShdslEndpointES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointES.setDescription("Count of Errored Seconds (ES) on this endpoint since the xU\nwas last restarted.") hdsl2ShdslEndpointSES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointSES.setDescription("Count of Severely Errored Seconds (SES) on this endpoint\nsince the xU was last restarted.") hdsl2ShdslEndpointCRCanomalies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCRCanomalies.setDescription("Count of CRC anomalies on this endpoint since the xU was\nlast restarted.") hdsl2ShdslEndpointLOSWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointLOSWS.setDescription("Count of Loss of Sync Word (LOSW) Seconds on this endpoint\nsince the xU was last restarted.") hdsl2ShdslEndpointUAS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointUAS.setDescription("Count of Unavailable Seconds (UAS) on this endpoint since\nthe xU was last restarted.") hdsl2ShdslEndpointCurr15MinTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 9), Hdsl2ShdslPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr15MinTimeElapsed.setDescription("Total elapsed seconds in the current 15-minute interval.") hdsl2ShdslEndpointCurr15MinES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 10), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr15MinES.setDescription("Count of Errored Seconds (ES) in the current 15-minute\ninterval.") hdsl2ShdslEndpointCurr15MinSES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 11), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr15MinSES.setDescription("Count of Severely Errored Seconds (SES) in the current\n15-minute interval.") hdsl2ShdslEndpointCurr15MinCRCanomalies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 12), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr15MinCRCanomalies.setDescription("Count of CRC anomalies in the current 15-minute interval.") hdsl2ShdslEndpointCurr15MinLOSWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 13), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr15MinLOSWS.setDescription("Count of Loss of Sync Word (LOSW) Seconds in the current\n15-minute interval.") hdsl2ShdslEndpointCurr15MinUAS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 14), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr15MinUAS.setDescription("Count of Unavailable Seconds (UAS) in the current 15-minute\ninterval.") hdsl2ShdslEndpointCurr1DayTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 15), Hdsl2ShdslPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr1DayTimeElapsed.setDescription("Number of seconds that have elapsed since the beginning of\nthe current 1-day interval.") hdsl2ShdslEndpointCurr1DayES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 16), Hdsl2ShdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr1DayES.setDescription("Count of Errored Seconds (ES) during the current day as\nmeasured by hdsl2ShdslEndpointCurr1DayTimeElapsed.") hdsl2ShdslEndpointCurr1DaySES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 17), Hdsl2ShdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr1DaySES.setDescription("Count of Severely Errored Seconds (SES) during the current\nday as measured by hdsl2ShdslEndpointCurr1DayTimeElapsed.") hdsl2ShdslEndpointCurr1DayCRCanomalies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 18), Hdsl2ShdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr1DayCRCanomalies.setDescription("Count of CRC anomalies during the current day as measured\nby hdsl2ShdslEndpointCurr1DayTimeElapsed.") hdsl2ShdslEndpointCurr1DayLOSWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 19), Hdsl2ShdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr1DayLOSWS.setDescription("Count of Loss of Sync Word (LOSW) Seconds during the current\nday as measured by hdsl2ShdslEndpointCurr1DayTimeElapsed.") hdsl2ShdslEndpointCurr1DayUAS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 20), Hdsl2ShdslPerfCurrDayCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurr1DayUAS.setDescription("Count of Unavailable Seconds (UAS) during the current day as\nmeasured by hdsl2ShdslEndpointCurr1DayTimeElapsed.") hdsl2ShdslEndpointCurrTipRingReversal = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 21), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("normal", 1), ("reversed", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrTipRingReversal.setDescription("This object indicates the state of the tip/ring for the\nwire pair.") hdsl2ShdslEndpointCurrActivationState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 5, 1, 22), Integer().subtype(subtypeSpec=SingleValueConstraint(2,3,1,)).subtype(namedValues=NamedValues(("preActivation", 1), ("activation", 2), ("data", 3), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrActivationState.setDescription("This object indicates the activation or training state of\nthe wire pair.") hdsl2Shdsl15MinIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 6)) if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalTable.setDescription("This table provides one row for each HDSL2/SHDSL endpoint\nperformance data collection interval. This table contains\nlive data from equipment. As such, it is NOT persistent.") hdsl2Shdsl15MinIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 6, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointSide"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointWirePair"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalNumber")) if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalEntry.setDescription("An entry in the hdsl2Shdsl15MinIntervalTable.") hdsl2Shdsl15MinIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalNumber.setDescription("Performance Data Interval number. Interval 1 is the most\nrecent previous interval; interval 96 is 24 hours ago.\nIntervals 2..96 are optional.") hdsl2Shdsl15MinIntervalES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 6, 1, 2), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalES.setDescription("Count of Errored Seconds (ES) during the interval.") hdsl2Shdsl15MinIntervalSES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 6, 1, 3), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalSES.setDescription("Count of Severely Errored Seconds (SES) during the interval.") hdsl2Shdsl15MinIntervalCRCanomalies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 6, 1, 4), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalCRCanomalies.setDescription("Count of CRC anomalies during the interval.") hdsl2Shdsl15MinIntervalLOSWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 6, 1, 5), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalLOSWS.setDescription("Count of Loss of Sync Word (LOSW) Seconds during the\ninterval.") hdsl2Shdsl15MinIntervalUAS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 6, 1, 6), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalUAS.setDescription("Count of Unavailable Seconds (UAS) during the interval.") hdsl2Shdsl1DayIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 7)) if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalTable.setDescription("This table provides one row for each HDSL2/SHDSL endpoint\nperformance data collection interval. This table contains\nlive data from equipment. As such, it is NOT persistent.") hdsl2Shdsl1DayIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointSide"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointWirePair"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalNumber")) if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalEntry.setDescription("An entry in the hdsl2Shdsl1DayIntervalTable.") hdsl2Shdsl1DayIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 30))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalNumber.setDescription("History Data Interval number. Interval 1 is the most\nrecent previous day; interval 30 is 30 days ago. Intervals\n2..30 are optional.") hdsl2Shdsl1DayIntervalMoniSecs = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1, 2), Hdsl2ShdslPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalMoniSecs.setDescription("The amount of time in the 1-day interval over which the\nperformance monitoring information is actually counted.\nThis value will be the same as the interval duration except\nin a situation where performance monitoring data could not\nbe collected for any reason.") hdsl2Shdsl1DayIntervalES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1, 3), Hdsl2Shdsl1DayIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalES.setDescription("Count of Errored Seconds (ES) during the 1-day interval as\nmeasured by hdsl2Shdsl1DayIntervalMoniSecs.") hdsl2Shdsl1DayIntervalSES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1, 4), Hdsl2Shdsl1DayIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalSES.setDescription("Count of Severely Errored Seconds (SES) during the 1-day\n\n\n\ninterval as measured by hdsl2Shdsl1DayIntervalMoniSecs.") hdsl2Shdsl1DayIntervalCRCanomalies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1, 5), Hdsl2Shdsl1DayIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalCRCanomalies.setDescription("Count of CRC anomalies during the 1-day interval as\nmeasured by hdsl2Shdsl1DayIntervalMoniSecs.") hdsl2Shdsl1DayIntervalLOSWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1, 6), Hdsl2Shdsl1DayIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalLOSWS.setDescription("Count of Loss of Sync Word (LOSW) Seconds during the 1-day\ninterval as measured by hdsl2Shdsl1DayIntervalMoniSecs.") hdsl2Shdsl1DayIntervalUAS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 7, 1, 7), Hdsl2Shdsl1DayIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalUAS.setDescription("Count of Unavailable Seconds (UAS) during the 1-day interval\nas measured by hdsl2Shdsl1DayIntervalMoniSecs.") hdsl2ShdslEndpointMaintTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 8)) if mibBuilder.loadTexts: hdsl2ShdslEndpointMaintTable.setDescription("This table supports maintenance operations (e.g., loopbacks)\nto be performed on HDSL2/SHDSL segment endpoints. This table\ncontains live data from equipment. As such, it is NOT\n\n\n\npersistent.") hdsl2ShdslEndpointMaintEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 8, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointSide")) if mibBuilder.loadTexts: hdsl2ShdslEndpointMaintEntry.setDescription("An entry in the hdsl2ShdslEndpointMaintTable. Each entry\ncorresponds to a single segment endpoint and is indexed by the\nifIndex of the HDSL2/SHDSL line, the UnitId of the associated\nunit, and the side of the unit.") hdsl2ShdslMaintLoopbackConfig = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 8, 1, 1), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,3,)).subtype(namedValues=NamedValues(("noLoopback", 1), ("normalLoopback", 2), ("specialLoopback", 3), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslMaintLoopbackConfig.setDescription("This object controls configuration of loopbacks for the\nassociated segment endpoint. The status of the loopback\nis obtained via the hdsl2ShdslEndpointCurrStatus object.") hdsl2ShdslMaintTipRingReversal = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 8, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("normal", 1), ("reversed", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslMaintTipRingReversal.setDescription("This object indicates the state of the tip/ring pair at the\nassociated segment endpoint.") hdsl2ShdslMaintPowerBackOff = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 8, 1, 3), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("default", 1), ("enhanced", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslMaintPowerBackOff.setDescription("This object configures the receiver at the associated\nsegment endpoint to operate in default or enhanced power\nbackoff mode.") hdsl2ShdslMaintSoftRestart = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 8, 1, 4), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("ready", 1), ("restart", 2), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslMaintSoftRestart.setDescription("This object enables the manager to trigger a soft restart\nof the modem at the associated segment endpoint. The\nmanager may only set this object to the 'restart(2)'\nvalue, which initiates a restart. The agent will perform a\nrestart after approximately 5 seconds. Following the 5 second\nperiod, the agent will restore the object to the 'ready(1)'\nstate.") hdsl2ShdslUnitMaintTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 9)) if mibBuilder.loadTexts: hdsl2ShdslUnitMaintTable.setDescription("This table supports maintenance operations for units in a\nHDSL2/SHDSL line. Entries in this table MUST be maintained\nin a persistent manner.") hdsl2ShdslUnitMaintEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 9, 1)).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvIndex")) if mibBuilder.loadTexts: hdsl2ShdslUnitMaintEntry.setDescription("An entry in the hdsl2ShdslUnitMaintTable. Each entry\ncorresponds to a single unit and is indexed by the\nifIndex of the HDSL2/SHDSL line and the UnitId of the\nassociated unit.") hdsl2ShdslMaintLoopbackTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hdsl2ShdslMaintLoopbackTimeout.setDescription("This object configures the timeout value for loopbacks\ninitiated at segments endpoints contained in the associated\nunit. A value of 0 disables the timeout.") hdsl2ShdslMaintUnitPowerSource = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 9, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("local", 1), ("span", 2), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: hdsl2ShdslMaintUnitPowerSource.setDescription("This object indicates the DC power source being used by the\nassociated unit.") hdsl2ShdslSpanConfProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 10)) if mibBuilder.loadTexts: hdsl2ShdslSpanConfProfileTable.setDescription("This table supports definitions of span configuration\nprofiles for SHDSL lines. HDSL2 does not support these\nconfiguration options. This table MUST be maintained\nin a persistent manner.") hdsl2ShdslSpanConfProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1)).setIndexNames((1, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfProfileName")) if mibBuilder.loadTexts: hdsl2ShdslSpanConfProfileEntry.setDescription("Each entry corresponds to a single span configuration\nprofile. Each profile contains a set of span configuration\nparameters. The configuration parameters in a profile are\napplied to those lines referencing that profile (see the\nhdsl2ShdslSpanConfProfile object). Profiles may be\ncreated/deleted using the row creation/deletion mechanism\nvia hdsl2ShdslSpanConfProfileRowStatus. If an active\nentry is referenced in hdsl2ShdslSpanConfProfile, the\nentry MUST remain active until all references are removed.") hdsl2ShdslSpanConfProfileName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hdsl2ShdslSpanConfProfileName.setDescription("This object is the unique index associated with this profile.\nEntries in this table are referenced via the object\nhdsl2ShdslSpanConfProfile in Hdsl2ShdslSpanConfEntry.") hdsl2ShdslSpanConfWireInterface = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 2), Integer().subtype(subtypeSpec=SingleValueConstraint(3,1,2,4,)).subtype(namedValues=NamedValues(("twoWire", 1), ("fourWire", 2), ("sixWire", 3), ("eightWire", 4), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfWireInterface.setDescription("This object configures the two-wire or optional four-wire,\nsix-wire, or eight-wire operation for SHDSL lines.") hdsl2ShdslSpanConfMinLineRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(1552000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfMinLineRate.setDescription("This object configures the minimum transmission rate for\nthe associated SHDSL Line in bits-per-second (bps) and includes\nboth payload (user data) and any applicable framing overhead.\nIf the minimum line rate equals the maximum line rate\n(hdsl2ShdslSpanMaxLineRate), the line rate is considered\n'fixed'. If the minimum line rate is less than the\nmaximum line rate, the line rate is considered\n'rate-adaptive'.") hdsl2ShdslSpanConfMaxLineRate = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(1552000)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfMaxLineRate.setDescription("This object configures the maximum transmission rate for\nthe associated SHDSL Line in bits-per-second (bps) and includes\nboth payload (user data) and any applicable framing overhead.\nIf the minimum line rate equals the maximum line rate\n(hdsl2ShdslSpanMaxLineRate), the line rate is considered\n'fixed'. If the minimum line rate is less than the\nmaximum line rate, the line rate is considered\n'rate-adaptive'.") hdsl2ShdslSpanConfPSD = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 5), Integer().subtype(subtypeSpec=SingleValueConstraint(1,2,)).subtype(namedValues=NamedValues(("symmetric", 1), ("asymmetric", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfPSD.setDescription("This object configures use of symmetric/asymmetric PSD (Power\nSpectral Density) Mask for the associated SHDSL Line. Support\nfor symmetric PSD is mandatory for all supported data rates.\nSupport for asymmetric PSD is optional.") hdsl2ShdslSpanConfTransmissionMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 6), Hdsl2ShdslTransmissionModeType().clone('(region1)')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfTransmissionMode.setDescription("This object specifies the regional setting for the SHDSL\nline.") hdsl2ShdslSpanConfRemoteEnabled = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 7), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("enabled", 1), ("disabled", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfRemoteEnabled.setDescription("This object enables/disables support for remote management\nof the units in an SHDSL line from the STU-R via the EOC.") hdsl2ShdslSpanConfPowerFeeding = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 8), Integer().subtype(subtypeSpec=SingleValueConstraint(3,2,1,)).subtype(namedValues=NamedValues(("noPower", 1), ("powerFeed", 2), ("wettingCurrent", 3), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfPowerFeeding.setDescription("This object enables/disables support for optional power\nfeeding in an SHDSL line.") hdsl2ShdslSpanConfCurrCondTargetMarginDown = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 21)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfCurrCondTargetMarginDown.setDescription("This object specifies the downstream current condition target\nSNR margin for an SHDSL line. The SNR margin is the difference\nbetween the desired SNR and the actual SNR. Target SNR margin\nis the desired SNR margin for a unit.") hdsl2ShdslSpanConfWorstCaseTargetMarginDown = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 21)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfWorstCaseTargetMarginDown.setDescription("This object specifies the downstream worst-case target SNR\nmargin for an SHDSL line. The SNR margin is the difference\nbetween the desired SNR and the actual SNR. Target SNR\nmargin is the desired SNR margin for a unit.") hdsl2ShdslSpanConfCurrCondTargetMarginUp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 21)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfCurrCondTargetMarginUp.setDescription("This object specifies the upstream current-condition target\nSNR margin for an SHDSL line. The SNR margin is the difference\nbetween the desired SNR and the actual SNR. Target SNR margin\nis the desired SNR margin for a unit.") hdsl2ShdslSpanConfWorstCaseTargetMarginUp = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 21)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfWorstCaseTargetMarginUp.setDescription("This object specifies the upstream worst-case target SNR\nmargin for an SHDSL line. The SNR margin is the difference\nbetween the desired SNR and the actual SNR. Target SNR margin\nis the desired SNR margin for a unit.") hdsl2ShdslSpanConfUsedTargetMargins = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 13), Bits().subtype(namedValues=NamedValues(("currCondDown", 0), ("worstCaseDown", 1), ("currCondUp", 2), ("worstCaseUp", 3), )).clone(("currCondDown",))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfUsedTargetMargins.setDescription("Indicates whether a target SNR margin is enabled or\ndisabled. This is a bit-map of possible settings. The\nvarious bit positions are as follows:\n\ncurrCondDown - current-condition downstream target SNR\n margin enabled\n\nworstCaseDown - worst-case downstream target SNR margin\n enabled\n\ncurrCondUp - current-condition upstream target SNR\n margin enabled\n\nworstCaseUp - worst-case upstream target SNR margin\n enabled.") hdsl2ShdslSpanConfReferenceClock = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 14), Hdsl2ShdslClockReferenceType().clone('localClk')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfReferenceClock.setDescription("This object configures the clock reference for the STU-C\nin an SHDSL Line.") hdsl2ShdslSpanConfLineProbeEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 15), Integer().subtype(subtypeSpec=SingleValueConstraint(2,1,)).subtype(namedValues=NamedValues(("disable", 1), ("enable", 2), )).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfLineProbeEnable.setDescription("This object enables/disables support for Line Probe of\nthe units in an SHDSL line. When Line Probe is enabled, the\nsystem performs Line Probing to find the best possible\nrate. If Line Probe is disabled, the rate adaptation phase\nis skipped to shorten set up time.") hdsl2ShdslSpanConfProfileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 10, 1, 16), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslSpanConfProfileRowStatus.setDescription("This object controls creation/deletion of the associated\nentry in this table per the semantics of RowStatus. If an\nactive entry is referenced in hdsl2ShdslSpanConfProfile, the\nentry MUST remain active until all references are removed.") hdsl2ShdslEndpointAlarmConfProfileTable = MibTable((1, 3, 6, 1, 2, 1, 10, 48, 1, 11)) if mibBuilder.loadTexts: hdsl2ShdslEndpointAlarmConfProfileTable.setDescription("This table supports definitions of alarm configuration\nprofiles for HDSL2/SHDSL segment endpoints. This table\nMUST be maintained in a persistent manner.") hdsl2ShdslEndpointAlarmConfProfileEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1)).setIndexNames((1, "HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointAlarmConfProfileName")) if mibBuilder.loadTexts: hdsl2ShdslEndpointAlarmConfProfileEntry.setDescription("Each entry corresponds to a single alarm configuration profile.\nEach profile contains a set of parameters for setting alarm\nthresholds for various performance attributes monitored at\nHDSL2/SHDSL segment endpoints. Profiles may be created/deleted\nusing the row creation/deletion mechanism via\nhdsl2ShdslEndpointAlarmConfProfileRowStatus. If an active\nentry is referenced in either hdsl2ShdslSpanConfAlarmProfile\nor hdsl2ShdslEndpointAlarmConfProfile, the entry MUST remain\nactive until all references are removed.") hdsl2ShdslEndpointAlarmConfProfileName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("noaccess") if mibBuilder.loadTexts: hdsl2ShdslEndpointAlarmConfProfileName.setDescription("This object is the unique index associated with this profile.") hdsl2ShdslEndpointThreshLoopAttenuation = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 128)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointThreshLoopAttenuation.setDescription("This object configures the loop attenuation alarm threshold.\nWhen the current value of hdsl2ShdslEndpointCurrAtn reaches\nor exceeds this threshold, an hdsl2ShdslLoopAttenCrossing\nMAY be generated.") hdsl2ShdslEndpointThreshSNRMargin = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 128)).clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointThreshSNRMargin.setDescription("This object configures the SNR margin alarm threshold.\nWhen the current value of hdsl2ShdslEndpointCurrSnrMgn\nreaches or drops below this threshold, a\nhdsl2ShdslSNRMarginCrossing MAY be generated.") hdsl2ShdslEndpointThreshES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 4), Hdsl2ShdslPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointThreshES.setDescription("This object configures the threshold for the number of\nErrored Seconds (ES) within any given 15-minute performance\ndata collection interval. If the value of Errored Seconds\nin a particular 15-minute collection interval reaches/\nexceeds this value, an hdsl2ShdslPerfESThresh MAY be\ngenerated. At most, one notification will be sent per\ninterval per endpoint.") hdsl2ShdslEndpointThreshSES = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 5), Hdsl2ShdslPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointThreshSES.setDescription("This object configures the threshold for the number of\nSeverely Errored Seconds (SES) within any given 15-minute\nperformance data collection interval. If the value of\nSeverely Errored Seconds in a particular 15-minute collection\ninterval reaches/exceeds this value, an hdsl2ShdslPerfSESThresh\nMAY be generated. At most, one notification will be sent per\ninterval per endpoint.") hdsl2ShdslEndpointThreshCRCanomalies = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 6), Integer32().clone(0)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointThreshCRCanomalies.setDescription("This object configures the threshold for the number of\nCRC anomalies within any given 15-minute performance data\ncollection interval. If the value of CRC anomalies in a\nparticular 15-minute collection interval reaches/exceeds\nthis value, an hdsl2ShdslPerfCRCanomaliesThresh MAY be\ngenerated. At most, one notification will be sent per\ninterval per endpoint.") hdsl2ShdslEndpointThreshLOSWS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 7), Hdsl2ShdslPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointThreshLOSWS.setDescription("This object configures the threshold for the number of\nLoss of Sync Word (LOSW) Seconds within any given 15-minute\nperformance data collection interval. If the value of LOSW\nin a particular 15-minute collection interval reaches/exceeds\nthis value, an hdsl2ShdslPerfLOSWSThresh MAY be generated.\nAt most, one notification will be sent per interval per\nendpoint.") hdsl2ShdslEndpointThreshUAS = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 8), Hdsl2ShdslPerfIntervalThreshold().clone('0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointThreshUAS.setDescription("This object configures the threshold for the number of\nUnavailable Seconds (UAS) within any given 15-minute\nperformance data collection interval. If the value of UAS\nin a particular 15-minute collection interval reaches/exceeds\nthis value, an hdsl2ShdslPerfUASThresh MAY be generated.\nAt most, one notification will be sent per interval per\nendpoint.") hdsl2ShdslEndpointAlarmConfProfileRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 48, 1, 11, 1, 9), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hdsl2ShdslEndpointAlarmConfProfileRowStatus.setDescription("This object controls creation/deletion of the associated\nentry in this table as per the semantics of RowStatus.\nIf an active entry is referenced in either\nhdsl2ShdslSpanConfAlarmProfile or\nhdsl2ShdslEndpointAlarmConfProfile, the entry MUST remain\nactive until all references are removed.") hdsl2ShdslConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 48, 3)) hdsl2ShdslGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 48, 3, 1)) hdsl2ShdslCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 48, 3, 2)) # Augmentions # Notifications hdsl2ShdslLoopAttenCrossing = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 1)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrAtn"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshLoopAttenuation"), ) ) if mibBuilder.loadTexts: hdsl2ShdslLoopAttenCrossing.setDescription("This notification indicates that the loop attenuation\nthreshold (as per the hdsl2ShdslEndpointThreshLoopAttenuation\nvalue) has been reached/exceeded for the HDSL2/SHDSL segment\nendpoint.") hdsl2ShdslSNRMarginCrossing = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 2)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrSnrMgn"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshSNRMargin"), ) ) if mibBuilder.loadTexts: hdsl2ShdslSNRMarginCrossing.setDescription("This notification indicates that the SNR margin threshold (as\nper the hdsl2ShdslEndpointThreshSNRMargin value) has been\nreached/exceeded for the HDSL2/SHDSL segment endpoint.") hdsl2ShdslPerfESThresh = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 3)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshES"), ) ) if mibBuilder.loadTexts: hdsl2ShdslPerfESThresh.setDescription("This notification indicates that the errored seconds\nthreshold (as per the hdsl2ShdslEndpointThreshES value)\nhas been reached/exceeded for the HDSL2/SHDSL segment\nendpoint.") hdsl2ShdslPerfSESThresh = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 4)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshSES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinSES"), ) ) if mibBuilder.loadTexts: hdsl2ShdslPerfSESThresh.setDescription("This notification indicates that the severely errored seconds\nthreshold (as per the hdsl2ShdslEndpointThreshSES value) has\nbeen reached/exceeded for the HDSL2/SHDSL segment endpoint.") hdsl2ShdslPerfCRCanomaliesThresh = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 5)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshCRCanomalies"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinCRCanomalies"), ) ) if mibBuilder.loadTexts: hdsl2ShdslPerfCRCanomaliesThresh.setDescription("This notification indicates that the CRC anomalies threshold\n(as per the hdsl2ShdslEndpointThreshCRCanomalies value) has\nbeen reached/exceeded for the HDSL2/SHDSL segment endpoint.") hdsl2ShdslPerfLOSWSThresh = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 6)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinLOSWS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshLOSWS"), ) ) if mibBuilder.loadTexts: hdsl2ShdslPerfLOSWSThresh.setDescription("This notification indicates that the LOSW Seconds threshold\n(as per the hdsl2ShdslEndpointThreshLOSWS value) has been\nreached/exceeded for the HDSL2/SHDSL segment endpoint.") hdsl2ShdslPerfUASThresh = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 7)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshUAS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinUAS"), ) ) if mibBuilder.loadTexts: hdsl2ShdslPerfUASThresh.setDescription("This notification indicates that the unavailable seconds\nthreshold (as per the hdsl2ShdslEndpointThreshUAS value) has\nbeen reached/exceeded for the HDSL2/SHDSL segment endpoint.") hdsl2ShdslSpanInvalidNumRepeaters = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 8)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfNumRepeaters"), ) ) if mibBuilder.loadTexts: hdsl2ShdslSpanInvalidNumRepeaters.setDescription("This notification indicates that a mismatch has been detected\nbetween the number of repeater/regenerator units configured\nfor an HDSL2/SHDSL line via the hdsl2ShdslSpanConfNumRepeaters\nobject and the actual number of repeater/regenerator units\ndiscovered via the EOC.") hdsl2ShdslLoopbackFailure = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 9)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintLoopbackConfig"), ) ) if mibBuilder.loadTexts: hdsl2ShdslLoopbackFailure.setDescription("This notification indicates that an endpoint maintenance\nloopback command failed for an HDSL2/SHDSL segment.") hdsl2ShdslpowerBackoff = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 10)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrStatus"), ) ) if mibBuilder.loadTexts: hdsl2ShdslpowerBackoff.setDescription("This notification indicates that the bit setting for\npowerBackoff in the hdsl2ShdslEndpointCurrStatus object for\nthis endpoint has changed.") hdsl2ShdsldeviceFault = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 11)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrStatus"), ) ) if mibBuilder.loadTexts: hdsl2ShdsldeviceFault.setDescription("This notification indicates that the bit setting for\ndeviceFault in the hdsl2ShdslEndpointCurrStatus object for\nthis endpoint has changed.") hdsl2ShdsldcContinuityFault = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 12)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrStatus"), ) ) if mibBuilder.loadTexts: hdsl2ShdsldcContinuityFault.setDescription("This notification indicates that the bit setting for\ndcContinuityFault in the hdsl2ShdslEndpointCurrStatus object\nfor this endpoint has changed.") hdsl2ShdslconfigInitFailure = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 13)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrStatus"), ) ) if mibBuilder.loadTexts: hdsl2ShdslconfigInitFailure.setDescription("This notification indicates that the bit setting for\nconfigInitFailure in the hdsl2ShdslEndpointCurrStatus object\nfor this endpoint has changed.") hdsl2ShdslprotocolInitFailure = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 14)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrStatus"), ) ) if mibBuilder.loadTexts: hdsl2ShdslprotocolInitFailure.setDescription("This notification indicates that the bit setting for\nprotocolInitFailure in the hdsl2ShdslEndpointCurrStatus\nobject for this endpoint has changed.") hdsl2ShdslnoNeighborPresent = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 15)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrStatus"), ) ) if mibBuilder.loadTexts: hdsl2ShdslnoNeighborPresent.setDescription("This notification indicates that the bit setting for\nnoNeighborPresent in the hdsl2ShdslEndpointCurrStatus object\nfor this endpoint has changed.") hdsl2ShdslLocalPowerLoss = NotificationType((1, 3, 6, 1, 2, 1, 10, 48, 0, 16)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorID"), ) ) if mibBuilder.loadTexts: hdsl2ShdslLocalPowerLoss.setDescription("This notification indicates impending unit failure due to\nloss of local power (last gasp).") # Groups hdsl2ShdslSpanConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 1)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfNumRepeaters"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfAlarmProfile"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfProfile"), ) ) if mibBuilder.loadTexts: hdsl2ShdslSpanConfGroup.setDescription("This group supports objects for configuring span-related\nparameters for HDSL2/SHDSL lines.") hdsl2ShdslSpanStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 2)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslStatusNumAvailRepeaters"), ) ) if mibBuilder.loadTexts: hdsl2ShdslSpanStatusGroup.setDescription("This group supports objects for retrieving span-related\nstatus for HDSL2/SHDSL lines.") hdsl2ShdslInventoryShdslGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 3)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvTransmissionModeCapability"), ) ) if mibBuilder.loadTexts: hdsl2ShdslInventoryShdslGroup.setDescription("This group supports objects for retrieving SHDSL-specific\ninventory information.") hdsl2ShdslSpanShdslStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 4)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslStatusActualLineRate"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslStatusMaxAttainableLineRate"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslStatusTransmissionModeCurrent"), ) ) if mibBuilder.loadTexts: hdsl2ShdslSpanShdslStatusGroup.setDescription("This group supports objects for retrieving SHDSL-specific\nspan-related status.") hdsl2ShdslInventoryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 5)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorSerialNumber"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorID"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvStandardVersion"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorOther"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorListNumber"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorSoftwareVersion"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorIssueNumber"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorEOCSoftwareVersion"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvVendorModelNumber"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInvEquipmentCode"), ) ) if mibBuilder.loadTexts: hdsl2ShdslInventoryGroup.setDescription("This group supports objects that provide unit inventory\ninformation about the units in HDSL2/SHDSL lines.") hdsl2ShdslEndpointConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 6)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrAtn"), ) ) if mibBuilder.loadTexts: hdsl2ShdslEndpointConfGroup.setDescription("This group supports objects for configuring parameters for\nsegment endpoints in HDSL2/SHDSL lines.") hdsl2ShdslEndpointCurrGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 7)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrSnrMgn"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinTimeElapsed"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr1DayUAS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointLOSWS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointSES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr1DaySES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr1DayLOSWS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCRCanomalies"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrAtn"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinLOSWS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr1DayES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointUAS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinCRCanomalies"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr1DayTimeElapsed"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrStatus"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinSES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr1DayCRCanomalies"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurr15MinUAS"), ) ) if mibBuilder.loadTexts: hdsl2ShdslEndpointCurrGroup.setDescription("This group supports objects that provide current status and\nperformance measurements relating to segment endpoints in\nHDSL2/SHDSL lines.") hdsl2Shdsl15MinIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 8)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalSES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalCRCanomalies"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalUAS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalLOSWS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalES"), ) ) if mibBuilder.loadTexts: hdsl2Shdsl15MinIntervalGroup.setDescription("This group supports objects that maintain historic\nperformance measurements relating to segment endpoints in\nHDSL2/SHDSL lines in 15-minute intervals.") hdsl2Shdsl1DayIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 9)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalCRCanomalies"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalUAS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalSES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalMoniSecs"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalLOSWS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalES"), ) ) if mibBuilder.loadTexts: hdsl2Shdsl1DayIntervalGroup.setDescription("This group supports objects that maintain historic\nperformance measurements relating to segment endpoints in\nHDSL2/SHDSL lines in 1-day intervals.") hdsl2ShdslMaintenanceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 10)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintPowerBackOff"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintLoopbackTimeout"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintUnitPowerSource"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintSoftRestart"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintTipRingReversal"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintLoopbackConfig"), ) ) if mibBuilder.loadTexts: hdsl2ShdslMaintenanceGroup.setDescription("This group supports objects that provide support for\nmaintenance actions for HDSL2/SHDSL lines.") hdsl2ShdslEndpointAlarmConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 11)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshSES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshCRCanomalies"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshES"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshSNRMargin"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshUAS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshLOSWS"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointAlarmConfProfile"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointThreshLoopAttenuation"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointAlarmConfProfileRowStatus"), ) ) if mibBuilder.loadTexts: hdsl2ShdslEndpointAlarmConfGroup.setDescription("This group supports objects that allow configuration of alarm\nthresholds for various performance parameters for HDSL2/SHDSL\nlines.") hdsl2ShdslNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 12)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslpowerBackoff"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslPerfCRCanomaliesThresh"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslnoNeighborPresent"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslPerfSESThresh"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslconfigInitFailure"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdsldeviceFault"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslprotocolInitFailure"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslPerfESThresh"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslLoopbackFailure"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdsldcContinuityFault"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanInvalidNumRepeaters"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslLocalPowerLoss"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSNRMarginCrossing"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslLoopAttenCrossing"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslPerfUASThresh"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslPerfLOSWSThresh"), ) ) if mibBuilder.loadTexts: hdsl2ShdslNotificationGroup.setDescription("This group supports notifications of significant conditions\nassociated with HDSL2/SHDSL lines.") hdsl2ShdslSpanConfProfileGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 13)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfUsedTargetMargins"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfReferenceClock"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfRemoteEnabled"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfMinLineRate"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfCurrCondTargetMarginUp"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfTransmissionMode"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfPSD"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfMaxLineRate"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfCurrCondTargetMarginDown"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfProfileRowStatus"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfLineProbeEnable"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfWireInterface"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfWorstCaseTargetMarginUp"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfPowerFeeding"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfWorstCaseTargetMarginDown"), ) ) if mibBuilder.loadTexts: hdsl2ShdslSpanConfProfileGroup.setDescription("This group supports objects that constitute configuration\nprofiles for configuring span-related parameters in SHDSL\nlines.") hdsl2ShdslWirePairGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 14)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrTipRingReversal"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrActivationState"), ) ) if mibBuilder.loadTexts: hdsl2ShdslWirePairGroup.setDescription("This group supports objects that provide the status\nof SHDSL-specific wire pairs.") hdsl2ShdslPayloadRateGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 48, 3, 1, 15)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslStatusMaxAttainablePayloadRate"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslStatusActualPayloadRate"), ) ) if mibBuilder.loadTexts: hdsl2ShdslPayloadRateGroup.setDescription("This group supports objects for retrieving payload rates\nthat exclude any framing overhead.") # Compliances hdsl2ShdslLineMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 48, 3, 2, 1)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanStatusGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslNotificationGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanShdslStatusGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointConfGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInventoryShdslGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfProfileGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInventoryGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintenanceGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointAlarmConfGroup"), ) ) if mibBuilder.loadTexts: hdsl2ShdslLineMibCompliance.setDescription("The compliance statement for SNMP entities that implement\nHDSL2 and SHDSL. The version of SHDSL supported in this\ncompliance statement is g.shdsl.\n\n**** This compliance statement is deprecated. ****") hdsl2GshdslbisLineMibCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 48, 3, 2, 2)).setObjects(*(("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl15MinIntervalGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslWirePairGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanStatusGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslPayloadRateGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslNotificationGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2Shdsl1DayIntervalGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanShdslStatusGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointConfGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointCurrGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInventoryShdslGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslSpanConfProfileGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslInventoryGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslMaintenanceGroup"), ("HDSL2-SHDSL-LINE-MIB", "hdsl2ShdslEndpointAlarmConfGroup"), ) ) if mibBuilder.loadTexts: hdsl2GshdslbisLineMibCompliance.setDescription("The compliance statement for SNMP entities that implement\nHDSL2 and SHDSL. The version of SHDSL supported in this\ncompliance statement is g.shdsl.bis.") # Exports # Module identity mibBuilder.exportSymbols("HDSL2-SHDSL-LINE-MIB", PYSNMP_MODULE_ID=hdsl2ShdslMIB) # Types mibBuilder.exportSymbols("HDSL2-SHDSL-LINE-MIB", Hdsl2ShdslClockReferenceType=Hdsl2ShdslClockReferenceType, Hdsl2ShdslPerfIntervalThreshold=Hdsl2ShdslPerfIntervalThreshold, Hdsl2ShdslPerfTimeElapsed=Hdsl2ShdslPerfTimeElapsed, Hdsl2ShdslTransmissionModeType=Hdsl2ShdslTransmissionModeType, Hdsl2ShdslUnitId=Hdsl2ShdslUnitId, Hdsl2ShdslUnitSide=Hdsl2ShdslUnitSide, Hdsl2ShdslWirePair=Hdsl2ShdslWirePair, Hdsl2Shdsl1DayIntervalCount=Hdsl2Shdsl1DayIntervalCount, Hdsl2ShdslPerfCurrDayCount=Hdsl2ShdslPerfCurrDayCount) # Objects mibBuilder.exportSymbols("HDSL2-SHDSL-LINE-MIB", hdsl2ShdslMIB=hdsl2ShdslMIB, hdsl2ShdslNotifications=hdsl2ShdslNotifications, hdsl2ShdslMibObjects=hdsl2ShdslMibObjects, hdsl2ShdslSpanConfTable=hdsl2ShdslSpanConfTable, hdsl2ShdslSpanConfEntry=hdsl2ShdslSpanConfEntry, hdsl2ShdslSpanConfNumRepeaters=hdsl2ShdslSpanConfNumRepeaters, hdsl2ShdslSpanConfProfile=hdsl2ShdslSpanConfProfile, hdsl2ShdslSpanConfAlarmProfile=hdsl2ShdslSpanConfAlarmProfile, hdsl2ShdslSpanStatusTable=hdsl2ShdslSpanStatusTable, hdsl2ShdslSpanStatusEntry=hdsl2ShdslSpanStatusEntry, hdsl2ShdslStatusNumAvailRepeaters=hdsl2ShdslStatusNumAvailRepeaters, hdsl2ShdslStatusMaxAttainableLineRate=hdsl2ShdslStatusMaxAttainableLineRate, hdsl2ShdslStatusActualLineRate=hdsl2ShdslStatusActualLineRate, hdsl2ShdslStatusTransmissionModeCurrent=hdsl2ShdslStatusTransmissionModeCurrent, hdsl2ShdslStatusMaxAttainablePayloadRate=hdsl2ShdslStatusMaxAttainablePayloadRate, hdsl2ShdslStatusActualPayloadRate=hdsl2ShdslStatusActualPayloadRate, hdsl2ShdslInventoryTable=hdsl2ShdslInventoryTable, hdsl2ShdslInventoryEntry=hdsl2ShdslInventoryEntry, hdsl2ShdslInvIndex=hdsl2ShdslInvIndex, hdsl2ShdslInvVendorID=hdsl2ShdslInvVendorID, hdsl2ShdslInvVendorModelNumber=hdsl2ShdslInvVendorModelNumber, hdsl2ShdslInvVendorSerialNumber=hdsl2ShdslInvVendorSerialNumber, hdsl2ShdslInvVendorEOCSoftwareVersion=hdsl2ShdslInvVendorEOCSoftwareVersion, hdsl2ShdslInvStandardVersion=hdsl2ShdslInvStandardVersion, hdsl2ShdslInvVendorListNumber=hdsl2ShdslInvVendorListNumber, hdsl2ShdslInvVendorIssueNumber=hdsl2ShdslInvVendorIssueNumber, hdsl2ShdslInvVendorSoftwareVersion=hdsl2ShdslInvVendorSoftwareVersion, hdsl2ShdslInvEquipmentCode=hdsl2ShdslInvEquipmentCode, hdsl2ShdslInvVendorOther=hdsl2ShdslInvVendorOther, hdsl2ShdslInvTransmissionModeCapability=hdsl2ShdslInvTransmissionModeCapability, hdsl2ShdslEndpointConfTable=hdsl2ShdslEndpointConfTable, hdsl2ShdslEndpointConfEntry=hdsl2ShdslEndpointConfEntry, hdsl2ShdslEndpointSide=hdsl2ShdslEndpointSide, hdsl2ShdslEndpointWirePair=hdsl2ShdslEndpointWirePair, hdsl2ShdslEndpointAlarmConfProfile=hdsl2ShdslEndpointAlarmConfProfile, hdsl2ShdslEndpointCurrTable=hdsl2ShdslEndpointCurrTable, hdsl2ShdslEndpointCurrEntry=hdsl2ShdslEndpointCurrEntry, hdsl2ShdslEndpointCurrAtn=hdsl2ShdslEndpointCurrAtn, hdsl2ShdslEndpointCurrSnrMgn=hdsl2ShdslEndpointCurrSnrMgn, hdsl2ShdslEndpointCurrStatus=hdsl2ShdslEndpointCurrStatus, hdsl2ShdslEndpointES=hdsl2ShdslEndpointES, hdsl2ShdslEndpointSES=hdsl2ShdslEndpointSES, hdsl2ShdslEndpointCRCanomalies=hdsl2ShdslEndpointCRCanomalies, hdsl2ShdslEndpointLOSWS=hdsl2ShdslEndpointLOSWS, hdsl2ShdslEndpointUAS=hdsl2ShdslEndpointUAS, hdsl2ShdslEndpointCurr15MinTimeElapsed=hdsl2ShdslEndpointCurr15MinTimeElapsed, hdsl2ShdslEndpointCurr15MinES=hdsl2ShdslEndpointCurr15MinES, hdsl2ShdslEndpointCurr15MinSES=hdsl2ShdslEndpointCurr15MinSES, hdsl2ShdslEndpointCurr15MinCRCanomalies=hdsl2ShdslEndpointCurr15MinCRCanomalies, hdsl2ShdslEndpointCurr15MinLOSWS=hdsl2ShdslEndpointCurr15MinLOSWS, hdsl2ShdslEndpointCurr15MinUAS=hdsl2ShdslEndpointCurr15MinUAS, hdsl2ShdslEndpointCurr1DayTimeElapsed=hdsl2ShdslEndpointCurr1DayTimeElapsed, hdsl2ShdslEndpointCurr1DayES=hdsl2ShdslEndpointCurr1DayES, hdsl2ShdslEndpointCurr1DaySES=hdsl2ShdslEndpointCurr1DaySES, hdsl2ShdslEndpointCurr1DayCRCanomalies=hdsl2ShdslEndpointCurr1DayCRCanomalies, hdsl2ShdslEndpointCurr1DayLOSWS=hdsl2ShdslEndpointCurr1DayLOSWS, hdsl2ShdslEndpointCurr1DayUAS=hdsl2ShdslEndpointCurr1DayUAS, hdsl2ShdslEndpointCurrTipRingReversal=hdsl2ShdslEndpointCurrTipRingReversal, hdsl2ShdslEndpointCurrActivationState=hdsl2ShdslEndpointCurrActivationState, hdsl2Shdsl15MinIntervalTable=hdsl2Shdsl15MinIntervalTable, hdsl2Shdsl15MinIntervalEntry=hdsl2Shdsl15MinIntervalEntry, hdsl2Shdsl15MinIntervalNumber=hdsl2Shdsl15MinIntervalNumber, hdsl2Shdsl15MinIntervalES=hdsl2Shdsl15MinIntervalES, hdsl2Shdsl15MinIntervalSES=hdsl2Shdsl15MinIntervalSES, hdsl2Shdsl15MinIntervalCRCanomalies=hdsl2Shdsl15MinIntervalCRCanomalies, hdsl2Shdsl15MinIntervalLOSWS=hdsl2Shdsl15MinIntervalLOSWS, hdsl2Shdsl15MinIntervalUAS=hdsl2Shdsl15MinIntervalUAS, hdsl2Shdsl1DayIntervalTable=hdsl2Shdsl1DayIntervalTable, hdsl2Shdsl1DayIntervalEntry=hdsl2Shdsl1DayIntervalEntry, hdsl2Shdsl1DayIntervalNumber=hdsl2Shdsl1DayIntervalNumber, hdsl2Shdsl1DayIntervalMoniSecs=hdsl2Shdsl1DayIntervalMoniSecs, hdsl2Shdsl1DayIntervalES=hdsl2Shdsl1DayIntervalES, hdsl2Shdsl1DayIntervalSES=hdsl2Shdsl1DayIntervalSES, hdsl2Shdsl1DayIntervalCRCanomalies=hdsl2Shdsl1DayIntervalCRCanomalies, hdsl2Shdsl1DayIntervalLOSWS=hdsl2Shdsl1DayIntervalLOSWS, hdsl2Shdsl1DayIntervalUAS=hdsl2Shdsl1DayIntervalUAS, hdsl2ShdslEndpointMaintTable=hdsl2ShdslEndpointMaintTable, hdsl2ShdslEndpointMaintEntry=hdsl2ShdslEndpointMaintEntry, hdsl2ShdslMaintLoopbackConfig=hdsl2ShdslMaintLoopbackConfig, hdsl2ShdslMaintTipRingReversal=hdsl2ShdslMaintTipRingReversal, hdsl2ShdslMaintPowerBackOff=hdsl2ShdslMaintPowerBackOff, hdsl2ShdslMaintSoftRestart=hdsl2ShdslMaintSoftRestart, hdsl2ShdslUnitMaintTable=hdsl2ShdslUnitMaintTable, hdsl2ShdslUnitMaintEntry=hdsl2ShdslUnitMaintEntry, hdsl2ShdslMaintLoopbackTimeout=hdsl2ShdslMaintLoopbackTimeout, hdsl2ShdslMaintUnitPowerSource=hdsl2ShdslMaintUnitPowerSource, hdsl2ShdslSpanConfProfileTable=hdsl2ShdslSpanConfProfileTable, hdsl2ShdslSpanConfProfileEntry=hdsl2ShdslSpanConfProfileEntry, hdsl2ShdslSpanConfProfileName=hdsl2ShdslSpanConfProfileName, hdsl2ShdslSpanConfWireInterface=hdsl2ShdslSpanConfWireInterface, hdsl2ShdslSpanConfMinLineRate=hdsl2ShdslSpanConfMinLineRate, hdsl2ShdslSpanConfMaxLineRate=hdsl2ShdslSpanConfMaxLineRate, hdsl2ShdslSpanConfPSD=hdsl2ShdslSpanConfPSD, hdsl2ShdslSpanConfTransmissionMode=hdsl2ShdslSpanConfTransmissionMode, hdsl2ShdslSpanConfRemoteEnabled=hdsl2ShdslSpanConfRemoteEnabled, hdsl2ShdslSpanConfPowerFeeding=hdsl2ShdslSpanConfPowerFeeding, hdsl2ShdslSpanConfCurrCondTargetMarginDown=hdsl2ShdslSpanConfCurrCondTargetMarginDown, hdsl2ShdslSpanConfWorstCaseTargetMarginDown=hdsl2ShdslSpanConfWorstCaseTargetMarginDown, hdsl2ShdslSpanConfCurrCondTargetMarginUp=hdsl2ShdslSpanConfCurrCondTargetMarginUp, hdsl2ShdslSpanConfWorstCaseTargetMarginUp=hdsl2ShdslSpanConfWorstCaseTargetMarginUp, hdsl2ShdslSpanConfUsedTargetMargins=hdsl2ShdslSpanConfUsedTargetMargins, hdsl2ShdslSpanConfReferenceClock=hdsl2ShdslSpanConfReferenceClock, hdsl2ShdslSpanConfLineProbeEnable=hdsl2ShdslSpanConfLineProbeEnable, hdsl2ShdslSpanConfProfileRowStatus=hdsl2ShdslSpanConfProfileRowStatus, hdsl2ShdslEndpointAlarmConfProfileTable=hdsl2ShdslEndpointAlarmConfProfileTable, hdsl2ShdslEndpointAlarmConfProfileEntry=hdsl2ShdslEndpointAlarmConfProfileEntry, hdsl2ShdslEndpointAlarmConfProfileName=hdsl2ShdslEndpointAlarmConfProfileName, hdsl2ShdslEndpointThreshLoopAttenuation=hdsl2ShdslEndpointThreshLoopAttenuation, hdsl2ShdslEndpointThreshSNRMargin=hdsl2ShdslEndpointThreshSNRMargin, hdsl2ShdslEndpointThreshES=hdsl2ShdslEndpointThreshES, hdsl2ShdslEndpointThreshSES=hdsl2ShdslEndpointThreshSES, hdsl2ShdslEndpointThreshCRCanomalies=hdsl2ShdslEndpointThreshCRCanomalies, hdsl2ShdslEndpointThreshLOSWS=hdsl2ShdslEndpointThreshLOSWS, hdsl2ShdslEndpointThreshUAS=hdsl2ShdslEndpointThreshUAS, hdsl2ShdslEndpointAlarmConfProfileRowStatus=hdsl2ShdslEndpointAlarmConfProfileRowStatus, hdsl2ShdslConformance=hdsl2ShdslConformance, hdsl2ShdslGroups=hdsl2ShdslGroups, hdsl2ShdslCompliances=hdsl2ShdslCompliances) # Notifications mibBuilder.exportSymbols("HDSL2-SHDSL-LINE-MIB", hdsl2ShdslLoopAttenCrossing=hdsl2ShdslLoopAttenCrossing, hdsl2ShdslSNRMarginCrossing=hdsl2ShdslSNRMarginCrossing, hdsl2ShdslPerfESThresh=hdsl2ShdslPerfESThresh, hdsl2ShdslPerfSESThresh=hdsl2ShdslPerfSESThresh, hdsl2ShdslPerfCRCanomaliesThresh=hdsl2ShdslPerfCRCanomaliesThresh, hdsl2ShdslPerfLOSWSThresh=hdsl2ShdslPerfLOSWSThresh, hdsl2ShdslPerfUASThresh=hdsl2ShdslPerfUASThresh, hdsl2ShdslSpanInvalidNumRepeaters=hdsl2ShdslSpanInvalidNumRepeaters, hdsl2ShdslLoopbackFailure=hdsl2ShdslLoopbackFailure, hdsl2ShdslpowerBackoff=hdsl2ShdslpowerBackoff, hdsl2ShdsldeviceFault=hdsl2ShdsldeviceFault, hdsl2ShdsldcContinuityFault=hdsl2ShdsldcContinuityFault, hdsl2ShdslconfigInitFailure=hdsl2ShdslconfigInitFailure, hdsl2ShdslprotocolInitFailure=hdsl2ShdslprotocolInitFailure, hdsl2ShdslnoNeighborPresent=hdsl2ShdslnoNeighborPresent, hdsl2ShdslLocalPowerLoss=hdsl2ShdslLocalPowerLoss) # Groups mibBuilder.exportSymbols("HDSL2-SHDSL-LINE-MIB", hdsl2ShdslSpanConfGroup=hdsl2ShdslSpanConfGroup, hdsl2ShdslSpanStatusGroup=hdsl2ShdslSpanStatusGroup, hdsl2ShdslInventoryShdslGroup=hdsl2ShdslInventoryShdslGroup, hdsl2ShdslSpanShdslStatusGroup=hdsl2ShdslSpanShdslStatusGroup, hdsl2ShdslInventoryGroup=hdsl2ShdslInventoryGroup, hdsl2ShdslEndpointConfGroup=hdsl2ShdslEndpointConfGroup, hdsl2ShdslEndpointCurrGroup=hdsl2ShdslEndpointCurrGroup, hdsl2Shdsl15MinIntervalGroup=hdsl2Shdsl15MinIntervalGroup, hdsl2Shdsl1DayIntervalGroup=hdsl2Shdsl1DayIntervalGroup, hdsl2ShdslMaintenanceGroup=hdsl2ShdslMaintenanceGroup, hdsl2ShdslEndpointAlarmConfGroup=hdsl2ShdslEndpointAlarmConfGroup, hdsl2ShdslNotificationGroup=hdsl2ShdslNotificationGroup, hdsl2ShdslSpanConfProfileGroup=hdsl2ShdslSpanConfProfileGroup, hdsl2ShdslWirePairGroup=hdsl2ShdslWirePairGroup, hdsl2ShdslPayloadRateGroup=hdsl2ShdslPayloadRateGroup) # Compliances mibBuilder.exportSymbols("HDSL2-SHDSL-LINE-MIB", hdsl2ShdslLineMibCompliance=hdsl2ShdslLineMibCompliance, hdsl2GshdslbisLineMibCompliance=hdsl2GshdslbisLineMibCompliance) pysnmp-mibs-0.1.3/pysnmp_mibs.egg-info/0000755000014400001440000000000011745076351020145 5ustar ilyausers00000000000000pysnmp-mibs-0.1.3/pysnmp_mibs.egg-info/SOURCES.txt0000644000014400001440000002004511745076351022032 0ustar ilyausers00000000000000CHANGES LICENSE MANIFEST.in README setup.py pysnmp_mibs/ACCOUNTING-CONTROL-MIB.py pysnmp_mibs/ADSL-LINE-EXT-MIB.py pysnmp_mibs/ADSL-LINE-MIB.py pysnmp_mibs/ADSL-TC-MIB.py pysnmp_mibs/ADSL2-LINE-MIB.py pysnmp_mibs/ADSL2-LINE-TC-MIB.py pysnmp_mibs/AGENTX-MIB.py pysnmp_mibs/AGGREGATE-MIB.py pysnmp_mibs/ALARM-MIB.py pysnmp_mibs/APM-MIB.py pysnmp_mibs/APPC-MIB.py pysnmp_mibs/APPLETALK-MIB.py pysnmp_mibs/APPLICATION-MIB.py pysnmp_mibs/APPN-DLUR-MIB.py pysnmp_mibs/APPN-MIB.py pysnmp_mibs/APPN-TRAP-MIB.py pysnmp_mibs/APS-MIB.py pysnmp_mibs/ARC-MIB.py pysnmp_mibs/ATM-ACCOUNTING-INFORMATION-MIB.py pysnmp_mibs/ATM-MIB.py pysnmp_mibs/ATM-TC-MIB.py pysnmp_mibs/ATM2-MIB.py pysnmp_mibs/BGP4-MIB.py pysnmp_mibs/BLDG-HVAC-MIB.py pysnmp_mibs/BRIDGE-MIB.py pysnmp_mibs/CHARACTER-MIB.py pysnmp_mibs/CIRCUIT-IF-MIB.py pysnmp_mibs/CLNS-MIB.py pysnmp_mibs/COFFEE-POT-MIB.py pysnmp_mibs/COPS-CLIENT-MIB.py pysnmp_mibs/DECNET-PHIV-MIB.py pysnmp_mibs/DIAL-CONTROL-MIB.py pysnmp_mibs/DIFFSERV-CONFIG-MIB.py pysnmp_mibs/DIFFSERV-DSCP-TC.py pysnmp_mibs/DIFFSERV-MIB.py pysnmp_mibs/DIRECTORY-SERVER-MIB.py pysnmp_mibs/DISMAN-EVENT-MIB.py pysnmp_mibs/DISMAN-EXPRESSION-MIB.py pysnmp_mibs/DISMAN-NSLOOKUP-MIB.py pysnmp_mibs/DISMAN-PING-MIB.py pysnmp_mibs/DISMAN-SCHEDULE-MIB.py pysnmp_mibs/DISMAN-SCRIPT-MIB.py pysnmp_mibs/DISMAN-TRACEROUTE-MIB.py pysnmp_mibs/DLSW-MIB.py pysnmp_mibs/DNS-RESOLVER-MIB.py pysnmp_mibs/DNS-SERVER-MIB.py pysnmp_mibs/DOCS-BPI-MIB.py pysnmp_mibs/DOCS-CABLE-DEVICE-MIB.py pysnmp_mibs/DOCS-IETF-BPI2-MIB.py pysnmp_mibs/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB.py pysnmp_mibs/DOCS-IETF-QOS-MIB.py pysnmp_mibs/DOCS-IETF-SUBMGT-MIB.py pysnmp_mibs/DOCS-IF-MIB.py pysnmp_mibs/DOT12-IF-MIB.py pysnmp_mibs/DOT12-RPTR-MIB.py pysnmp_mibs/DOT3-EPON-MIB.py pysnmp_mibs/DOT3-OAM-MIB.py pysnmp_mibs/DS0-MIB.py pysnmp_mibs/DS0BUNDLE-MIB.py pysnmp_mibs/DS1-MIB.py pysnmp_mibs/DS3-MIB.py pysnmp_mibs/DSA-MIB.py pysnmp_mibs/DSMON-MIB.py pysnmp_mibs/EBN-MIB.py pysnmp_mibs/EFM-CU-MIB.py pysnmp_mibs/ENTITY-MIB.py pysnmp_mibs/ENTITY-SENSOR-MIB.py pysnmp_mibs/ENTITY-STATE-MIB.py pysnmp_mibs/ENTITY-STATE-TC-MIB.py pysnmp_mibs/ETHER-CHIPSET-MIB.py pysnmp_mibs/ETHER-WIS.py pysnmp_mibs/EtherLike-MIB.py pysnmp_mibs/FC-MGMT-MIB.py pysnmp_mibs/FCIP-MGMT-MIB.py pysnmp_mibs/FDDI-SMT73-MIB.py pysnmp_mibs/FIBRE-CHANNEL-FE-MIB.py pysnmp_mibs/FLOW-METER-MIB.py pysnmp_mibs/FR-ATM-PVC-SERVICE-IWF-MIB.py pysnmp_mibs/FR-MFR-MIB.py pysnmp_mibs/FRAME-RELAY-DTE-MIB.py pysnmp_mibs/FRNETSERV-MIB.py pysnmp_mibs/FRSLD-MIB.py pysnmp_mibs/Finisher-MIB.py pysnmp_mibs/GMPLS-LABEL-STD-MIB.py pysnmp_mibs/GMPLS-LSR-STD-MIB.py pysnmp_mibs/GMPLS-TC-STD-MIB.py pysnmp_mibs/GMPLS-TE-STD-MIB.py pysnmp_mibs/GSMP-MIB.py pysnmp_mibs/HC-ALARM-MIB.py pysnmp_mibs/HC-PerfHist-TC-MIB.py pysnmp_mibs/HC-RMON-MIB.py pysnmp_mibs/HCNUM-TC.py pysnmp_mibs/HDSL2-SHDSL-LINE-MIB.py pysnmp_mibs/HOST-RESOURCES-MIB.py pysnmp_mibs/HOST-RESOURCES-TYPES.py pysnmp_mibs/HPR-IP-MIB.py pysnmp_mibs/HPR-MIB.py pysnmp_mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.py pysnmp_mibs/IANA-CHARSET-MIB.py pysnmp_mibs/IANA-FINISHER-MIB.py pysnmp_mibs/IANA-GMPLS-TC-MIB.py pysnmp_mibs/IANA-IPPM-METRICS-REGISTRY-MIB.py pysnmp_mibs/IANA-ITU-ALARM-TC-MIB.py pysnmp_mibs/IANA-LANGUAGE-MIB.py pysnmp_mibs/IANA-MALLOC-MIB.py pysnmp_mibs/IANA-MAU-MIB.py pysnmp_mibs/IANA-PRINTER-MIB.py pysnmp_mibs/IANA-RTPROTO-MIB.py pysnmp_mibs/IANATn3270eTC-MIB.py pysnmp_mibs/IANAifType-MIB.py pysnmp_mibs/IF-CAP-STACK-MIB.py pysnmp_mibs/IF-INVERTED-STACK-MIB.py pysnmp_mibs/IF-MIB.py pysnmp_mibs/IFCP-MGMT-MIB.py pysnmp_mibs/IGMP-STD-MIB.py pysnmp_mibs/INET-ADDRESS-MIB.py pysnmp_mibs/INTEGRATED-SERVICES-GUARANTEED-MIB.py pysnmp_mibs/INTEGRATED-SERVICES-MIB.py pysnmp_mibs/INTERFACETOPN-MIB.py pysnmp_mibs/IP-FORWARD-MIB.py pysnmp_mibs/IP-MIB.py pysnmp_mibs/IPATM-IPMC-MIB.py pysnmp_mibs/IPMCAST-MIB.py pysnmp_mibs/IPMROUTE-STD-MIB.py pysnmp_mibs/IPOA-MIB.py pysnmp_mibs/IPS-AUTH-MIB.py pysnmp_mibs/IPSEC-SPD-MIB.py pysnmp_mibs/IPV6-FLOW-LABEL-MIB.py pysnmp_mibs/IPV6-ICMP-MIB.py pysnmp_mibs/IPV6-MIB.py pysnmp_mibs/IPV6-MLD-MIB.py pysnmp_mibs/IPV6-TC.py pysnmp_mibs/IPV6-TCP-MIB.py pysnmp_mibs/IPV6-UDP-MIB.py pysnmp_mibs/ISCSI-MIB.py pysnmp_mibs/ISDN-MIB.py pysnmp_mibs/ISNS-MIB.py pysnmp_mibs/ITU-ALARM-MIB.py pysnmp_mibs/ITU-ALARM-TC-MIB.py pysnmp_mibs/Job-Monitoring-MIB.py pysnmp_mibs/L2TP-MIB.py pysnmp_mibs/LANGTAG-TC-MIB.py pysnmp_mibs/LMP-MIB.py pysnmp_mibs/MALLOC-MIB.py pysnmp_mibs/MAU-MIB.py pysnmp_mibs/MIDCOM-MIB.py pysnmp_mibs/MIOX25-MIB.py pysnmp_mibs/MIP-MIB.py pysnmp_mibs/MOBILEIPV6-MIB.py pysnmp_mibs/MPLS-FTN-STD-MIB.py pysnmp_mibs/MPLS-L3VPN-STD-MIB.py pysnmp_mibs/MPLS-LC-ATM-STD-MIB.py pysnmp_mibs/MPLS-LC-FR-STD-MIB.py pysnmp_mibs/MPLS-LDP-ATM-STD-MIB.py pysnmp_mibs/MPLS-LDP-FRAME-RELAY-STD-MIB.py pysnmp_mibs/MPLS-LDP-GENERIC-STD-MIB.py pysnmp_mibs/MPLS-LDP-STD-MIB.py pysnmp_mibs/MPLS-LSR-STD-MIB.py pysnmp_mibs/MPLS-TC-STD-MIB.py pysnmp_mibs/MPLS-TE-STD-MIB.py pysnmp_mibs/MSDP-MIB.py pysnmp_mibs/MTA-MIB.py pysnmp_mibs/Modem-MIB.py pysnmp_mibs/NAT-MIB.py pysnmp_mibs/NET-SNMP-AGENT-MIB.py pysnmp_mibs/NET-SNMP-EXTEND-MIB.py pysnmp_mibs/NET-SNMP-MIB.py pysnmp_mibs/NET-SNMP-MONITOR-MIB.py pysnmp_mibs/NETWORK-SERVICES-MIB.py pysnmp_mibs/NHRP-MIB.py pysnmp_mibs/NOTIFICATION-LOG-MIB.py pysnmp_mibs/OPT-IF-MIB.py pysnmp_mibs/OSPF-MIB.py pysnmp_mibs/OSPF-TRAP-MIB.py pysnmp_mibs/P-BRIDGE-MIB.py pysnmp_mibs/PARALLEL-MIB.py pysnmp_mibs/PIM-MIB.py pysnmp_mibs/PIM-STD-MIB.py pysnmp_mibs/PINT-MIB.py pysnmp_mibs/PKTC-IETF-MTA-MIB.py pysnmp_mibs/PKTC-IETF-SIG-MIB.py pysnmp_mibs/POLICY-BASED-MANAGEMENT-MIB.py pysnmp_mibs/POWER-ETHERNET-MIB.py pysnmp_mibs/PPP-BRIDGE-NCP-MIB.py pysnmp_mibs/PPP-IP-NCP-MIB.py pysnmp_mibs/PPP-LCP-MIB.py pysnmp_mibs/PPP-SEC-MIB.py pysnmp_mibs/PTOPO-MIB.py pysnmp_mibs/PerfHist-TC-MIB.py pysnmp_mibs/Printer-MIB.py pysnmp_mibs/Q-BRIDGE-MIB.py pysnmp_mibs/RADIUS-ACC-CLIENT-MIB.py pysnmp_mibs/RADIUS-ACC-SERVER-MIB.py pysnmp_mibs/RADIUS-AUTH-CLIENT-MIB.py pysnmp_mibs/RADIUS-AUTH-SERVER-MIB.py pysnmp_mibs/RADIUS-DYNAUTH-CLIENT-MIB.py pysnmp_mibs/RADIUS-DYNAUTH-SERVER-MIB.py pysnmp_mibs/RAQMON-MIB.py pysnmp_mibs/RDBMS-MIB.py pysnmp_mibs/RFC1271-MIB.py pysnmp_mibs/RFC1285-MIB.py pysnmp_mibs/RFC1316-MIB.py pysnmp_mibs/RFC1381-MIB.py pysnmp_mibs/RFC1382-MIB.py pysnmp_mibs/RIPv2-MIB.py pysnmp_mibs/RMON-MIB.py pysnmp_mibs/RMON2-MIB.py pysnmp_mibs/ROHC-MIB.py pysnmp_mibs/ROHC-RTP-MIB.py pysnmp_mibs/ROHC-UNCOMPRESSED-MIB.py pysnmp_mibs/RS-232-MIB.py pysnmp_mibs/RSTP-MIB.py pysnmp_mibs/RSVP-MIB.py pysnmp_mibs/RTP-MIB.py pysnmp_mibs/SCSI-MIB.py pysnmp_mibs/SCTP-MIB.py pysnmp_mibs/SFLOW-MIB.py pysnmp_mibs/SIP-COMMON-MIB.py pysnmp_mibs/SIP-MIB.py pysnmp_mibs/SIP-SERVER-MIB.py pysnmp_mibs/SIP-TC-MIB.py pysnmp_mibs/SIP-UA-MIB.py pysnmp_mibs/SLAPM-MIB.py pysnmp_mibs/SMON-MIB.py pysnmp_mibs/SNA-NAU-MIB.py pysnmp_mibs/SNA-SDLC-MIB.py pysnmp_mibs/SNMP-REPEATER-MIB.py pysnmp_mibs/SONET-MIB.py pysnmp_mibs/SOURCE-ROUTING-MIB.py pysnmp_mibs/SSPM-MIB.py pysnmp_mibs/SYSAPPL-MIB.py pysnmp_mibs/T11-FC-FABRIC-ADDR-MGR-MIB.py pysnmp_mibs/T11-FC-FABRIC-CONFIG-SERVER-MIB.py pysnmp_mibs/T11-FC-FABRIC-LOCK-MIB.py pysnmp_mibs/T11-FC-FSPF-MIB.py pysnmp_mibs/T11-FC-NAME-SERVER-MIB.py pysnmp_mibs/T11-FC-ROUTE-MIB.py pysnmp_mibs/T11-FC-RSCN-MIB.py pysnmp_mibs/T11-FC-VIRTUAL-FABRIC-MIB.py pysnmp_mibs/T11-FC-ZONE-SERVER-MIB.py pysnmp_mibs/T11-TC-MIB.py pysnmp_mibs/TCP-ESTATS-MIB.py pysnmp_mibs/TCP-MIB.py pysnmp_mibs/TCPIPX-MIB.py pysnmp_mibs/TE-LINK-STD-MIB.py pysnmp_mibs/TE-MIB.py pysnmp_mibs/TIME-AGGREGATE-MIB.py pysnmp_mibs/TN3270E-MIB.py pysnmp_mibs/TN3270E-RT-MIB.py pysnmp_mibs/TOKEN-RING-RMON-MIB.py pysnmp_mibs/TOKENRING-MIB.py pysnmp_mibs/TOKENRING-STATION-SR-MIB.py pysnmp_mibs/TRIP-MIB.py pysnmp_mibs/TRIP-TC-MIB.py pysnmp_mibs/TUNNEL-MIB.py pysnmp_mibs/UDP-MIB.py pysnmp_mibs/UDPLITE-MIB.py pysnmp_mibs/UPS-MIB.py pysnmp_mibs/URI-TC-MIB.py pysnmp_mibs/VDSL-LINE-EXT-MCM-MIB.py pysnmp_mibs/VDSL-LINE-EXT-SCM-MIB.py pysnmp_mibs/VDSL-LINE-MIB.py pysnmp_mibs/VPN-TC-STD-MIB.py pysnmp_mibs/VRRP-MIB.py pysnmp_mibs/WWW-MIB.py pysnmp_mibs/__init__.py pysnmp_mibs.egg-info/PKG-INFO pysnmp_mibs.egg-info/SOURCES.txt pysnmp_mibs.egg-info/dependency_links.txt pysnmp_mibs.egg-info/requires.txt pysnmp_mibs.egg-info/top_level.txt pysnmp_mibs.egg-info/zip-safe tools/rebuild-pysnmp-mibspysnmp-mibs-0.1.3/pysnmp_mibs.egg-info/top_level.txt0000644000014400001440000000001411745076351022672 0ustar ilyausers00000000000000pysnmp_mibs pysnmp-mibs-0.1.3/pysnmp_mibs.egg-info/requires.txt0000644000014400001440000000001511745076351022541 0ustar ilyausers00000000000000pysnmp>=4.2.2pysnmp-mibs-0.1.3/pysnmp_mibs.egg-info/PKG-INFO0000644000014400001440000000157311745076351021250 0ustar ilyausers00000000000000Metadata-Version: 1.0 Name: pysnmp-mibs Version: 0.1.3 Summary: A collection of IETF & IANA MIBs pre-compiled for PySNMP Home-page: http://sourceforge.net/projects/pysnmp/ Author: Ilya Etingof Author-email: ilya@glas.net License: BSD Description: UNKNOWN Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Information Technology Classifier: Intended Audience :: Telecommunications Industry Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Communications Classifier: Topic :: System :: Monitoring Classifier: Topic :: System :: Networking :: Monitoring Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: License :: OSI Approved :: BSD License pysnmp-mibs-0.1.3/pysnmp_mibs.egg-info/dependency_links.txt0000644000014400001440000000000111745076351024213 0ustar ilyausers00000000000000 pysnmp-mibs-0.1.3/pysnmp_mibs.egg-info/zip-safe0000644000014400001440000000000111655513145021572 0ustar ilyausers00000000000000 pysnmp-mibs-0.1.3/setup.cfg0000644000014400001440000000007311745076351015734 0ustar ilyausers00000000000000[egg_info] tag_build = tag_date = 0 tag_svn_revision = 0 pysnmp-mibs-0.1.3/LICENSE0000644000014400001440000000306311736645134015123 0ustar ilyausers00000000000000Copyright (c) 1999-2012, Ilya Etingof , all rights reserved. THIS SOFTWARE IS NOT FAULT TOLERANT AND SHOULD NOT BE USED IN ANY SITUATION ENDANGERING HUMAN LIFE OR PROPERTY. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. pysnmp-mibs-0.1.3/README0000644000014400001440000000072711655336465015006 0ustar ilyausers00000000000000 A collection of IETF & IANA MIBs -------------------------------- This is a set of IETF & IANA MIBs pre-compiled and packaged to simplify their use with the PySNMP library. All these files were autogenerated from ASN.1 MIB files using ether build-pysnmp-mib or rebuild-pysnmp-mibs tools. The former is distributed with pysnmp package while the latter with this pysnmp-mibs one. For more information, please, refer to PySNMP project homepage at http://pysnmp.sf.net